Skip to content

Commit

Permalink
build(codegen): updating SDK
Browse files Browse the repository at this point in the history
  • Loading branch information
Auto Mation committed Oct 18, 2023
1 parent dd2a320 commit 2462811
Show file tree
Hide file tree
Showing 337 changed files with 6,024 additions and 9 deletions.
164 changes: 164 additions & 0 deletions changes.md
Original file line number Diff line number Diff line change
Expand Up @@ -132,15 +132,179 @@
<details>
<summary>Added Method(s)</summary>

- added method `apiRoot.withProjectKey().head()`
- added method `apiRoot.withProjectKey().associateRoles().head()`
- added method `apiRoot.withProjectKey().businessUnits().head()`
- added method `apiRoot.withProjectKey().categories().head()`
- added method `apiRoot.withProjectKey().carts().head()`
- added method `apiRoot.withProjectKey().cartDiscounts().head()`
- added method `apiRoot.withProjectKey().channels().head()`
- added method `apiRoot.withProjectKey().customers().head()`
- added method `apiRoot.withProjectKey().customerGroups().head()`
- added method `apiRoot.withProjectKey().customObjects().head()`
- added method `apiRoot.withProjectKey().discountCodes().head()`
- added method `apiRoot.withProjectKey().inventory().head()`
- added method `apiRoot.withProjectKey().messages().head()`
- added method `apiRoot.withProjectKey().orders().head()`
- added method `apiRoot.withProjectKey().payments().head()`
- added method `apiRoot.withProjectKey().productDiscounts().head()`
- added method `apiRoot.withProjectKey().productProjections().head()`
- added method `apiRoot.withProjectKey().productSelections().head()`
- added method `apiRoot.withProjectKey().quotes().head()`
- added method `apiRoot.withProjectKey().quoteRequests().head()`
- added method `apiRoot.withProjectKey().stagedQuotes().head()`
- added method `apiRoot.withProjectKey().reviews().head()`
- added method `apiRoot.withProjectKey().shippingMethods().head()`
- added method `apiRoot.withProjectKey().shoppingLists().head()`
- added method `apiRoot.withProjectKey().states().head()`
- added method `apiRoot.withProjectKey().subscriptions().head()`
- added method `apiRoot.withProjectKey().taxCategories().head()`
- added method `apiRoot.withProjectKey().types().head()`
- added method `apiRoot.withProjectKey().zones().head()`
- added method `apiRoot.withProjectKey().extensions().head()`
- added method `apiRoot.withProjectKey().apiClients().head()`
- added method `apiRoot.withProjectKey().stores().head()`
- added method `apiRoot.withProjectKey().standalonePrices().head()`
- added method `apiRoot.withProjectKey().attributeGroups().head()`
- added method `apiRoot.withProjectKey().asAssociate().withAssociateIdValue().businessUnits().head()`
- added method `apiRoot.withProjectKey().asAssociate().withAssociateIdValue().businessUnits().withKey().head()`
- added method `apiRoot.withProjectKey().asAssociate().withAssociateIdValue().businessUnits().withId().head()`
- added method `apiRoot.withProjectKey().asAssociate().withAssociateIdValue().inBusinessUnitKeyWithBusinessUnitKeyValue().approvalRules().get()`
- added method `apiRoot.withProjectKey().asAssociate().withAssociateIdValue().inBusinessUnitKeyWithBusinessUnitKeyValue().approvalRules().post()`
- added method `apiRoot.withProjectKey().asAssociate().withAssociateIdValue().inBusinessUnitKeyWithBusinessUnitKeyValue().approvalFlows().get()`
- added method `apiRoot.withProjectKey().asAssociate().withAssociateIdValue().inBusinessUnitKeyWithBusinessUnitKeyValue().carts().head()`
- added method `apiRoot.withProjectKey().asAssociate().withAssociateIdValue().inBusinessUnitKeyWithBusinessUnitKeyValue().orders().head()`
- added method `apiRoot.withProjectKey().asAssociate().withAssociateIdValue().inBusinessUnitKeyWithBusinessUnitKeyValue().quotes().head()`
- added method `apiRoot.withProjectKey().asAssociate().withAssociateIdValue().inBusinessUnitKeyWithBusinessUnitKeyValue().quoteRequests().head()`
- added method `apiRoot.withProjectKey().asAssociate().withAssociateIdValue().inBusinessUnitKeyWithBusinessUnitKeyValue().approvalRules().withId().get()`
- added method `apiRoot.withProjectKey().asAssociate().withAssociateIdValue().inBusinessUnitKeyWithBusinessUnitKeyValue().approvalRules().withId().post()`
- added method `apiRoot.withProjectKey().asAssociate().withAssociateIdValue().inBusinessUnitKeyWithBusinessUnitKeyValue().approvalRules().withKey().get()`
- added method `apiRoot.withProjectKey().asAssociate().withAssociateIdValue().inBusinessUnitKeyWithBusinessUnitKeyValue().approvalRules().withKey().post()`
- added method `apiRoot.withProjectKey().asAssociate().withAssociateIdValue().inBusinessUnitKeyWithBusinessUnitKeyValue().approvalFlows().withId().get()`
- added method `apiRoot.withProjectKey().asAssociate().withAssociateIdValue().inBusinessUnitKeyWithBusinessUnitKeyValue().approvalFlows().withId().post()`
- added method `apiRoot.withProjectKey().asAssociate().withAssociateIdValue().inBusinessUnitKeyWithBusinessUnitKeyValue().carts().withKey().head()`
- added method `apiRoot.withProjectKey().asAssociate().withAssociateIdValue().inBusinessUnitKeyWithBusinessUnitKeyValue().carts().withId().head()`
- added method `apiRoot.withProjectKey().asAssociate().withAssociateIdValue().inBusinessUnitKeyWithBusinessUnitKeyValue().orders().withOrderNumber().head()`
- added method `apiRoot.withProjectKey().asAssociate().withAssociateIdValue().inBusinessUnitKeyWithBusinessUnitKeyValue().orders().withId().head()`
- added method `apiRoot.withProjectKey().asAssociate().withAssociateIdValue().inBusinessUnitKeyWithBusinessUnitKeyValue().quotes().withKey().head()`
- added method `apiRoot.withProjectKey().asAssociate().withAssociateIdValue().inBusinessUnitKeyWithBusinessUnitKeyValue().quotes().withId().head()`
- added method `apiRoot.withProjectKey().asAssociate().withAssociateIdValue().inBusinessUnitKeyWithBusinessUnitKeyValue().quoteRequests().withKey().head()`
- added method `apiRoot.withProjectKey().asAssociate().withAssociateIdValue().inBusinessUnitKeyWithBusinessUnitKeyValue().quoteRequests().withId().head()`
- added method `apiRoot.withProjectKey().associateRoles().withKey().head()`
- added method `apiRoot.withProjectKey().associateRoles().withId().head()`
- added method `apiRoot.withProjectKey().businessUnits().withKey().head()`
- added method `apiRoot.withProjectKey().businessUnits().withId().head()`
- added method `apiRoot.withProjectKey().categories().withKey().head()`
- added method `apiRoot.withProjectKey().categories().withId().head()`
- added method `apiRoot.withProjectKey().carts().withCustomerId().head()`
- added method `apiRoot.withProjectKey().carts().withKey().head()`
- added method `apiRoot.withProjectKey().carts().withId().head()`
- added method `apiRoot.withProjectKey().cartDiscounts().withKey().head()`
- added method `apiRoot.withProjectKey().cartDiscounts().withId().head()`
- added method `apiRoot.withProjectKey().channels().withId().head()`
- added method `apiRoot.withProjectKey().customers().withKey().head()`
- added method `apiRoot.withProjectKey().customers().withId().head()`
- added method `apiRoot.withProjectKey().customerGroups().withKey().head()`
- added method `apiRoot.withProjectKey().customerGroups().withId().head()`
- added method `apiRoot.withProjectKey().discountCodes().withId().head()`
- added method `apiRoot.withProjectKey().inventory().withId().head()`
- added method `apiRoot.withProjectKey().inventory().withKey().head()`
- added method `apiRoot.withProjectKey().messages().withId().head()`
- added method `apiRoot.withProjectKey().orders().withOrderNumber().head()`
- added method `apiRoot.withProjectKey().orders().edits().head()`
- added method `apiRoot.withProjectKey().orders().withId().head()`
- added method `apiRoot.withProjectKey().orders().edits().withKey().head()`
- added method `apiRoot.withProjectKey().orders().edits().withId().head()`
- added method `apiRoot.withProjectKey().payments().withKey().head()`
- added method `apiRoot.withProjectKey().payments().withId().head()`
- added method `apiRoot.withProjectKey().productDiscounts().withKey().head()`
- added method `apiRoot.withProjectKey().productDiscounts().withId().head()`
- added method `apiRoot.withProjectKey().productProjections().withKey().head()`
- added method `apiRoot.withProjectKey().productProjections().withId().head()`
- added method `apiRoot.withProjectKey().productSelections().withKey().head()`
- added method `apiRoot.withProjectKey().productSelections().withId().head()`
- added method `apiRoot.withProjectKey().quotes().withKey().head()`
- added method `apiRoot.withProjectKey().quotes().withId().head()`
- added method `apiRoot.withProjectKey().quoteRequests().withKey().head()`
- added method `apiRoot.withProjectKey().quoteRequests().withId().head()`
- added method `apiRoot.withProjectKey().stagedQuotes().withKey().head()`
- added method `apiRoot.withProjectKey().stagedQuotes().withId().head()`
- added method `apiRoot.withProjectKey().reviews().withKey().head()`
- added method `apiRoot.withProjectKey().reviews().withId().head()`
- added method `apiRoot.withProjectKey().shippingMethods().withKey().head()`
- added method `apiRoot.withProjectKey().shippingMethods().matchingCart().head()`
- added method `apiRoot.withProjectKey().shippingMethods().matchingCartLocation().head()`
- added method `apiRoot.withProjectKey().shippingMethods().matchingOrderedit().head()`
- added method `apiRoot.withProjectKey().shippingMethods().matchingLocation().head()`
- added method `apiRoot.withProjectKey().shippingMethods().withId().head()`
- added method `apiRoot.withProjectKey().shoppingLists().withKey().head()`
- added method `apiRoot.withProjectKey().shoppingLists().withId().head()`
- added method `apiRoot.withProjectKey().states().withKey().head()`
- added method `apiRoot.withProjectKey().states().withId().head()`
- added method `apiRoot.withProjectKey().subscriptions().withKey().head()`
- added method `apiRoot.withProjectKey().subscriptions().withId().head()`
- added method `apiRoot.withProjectKey().taxCategories().withKey().head()`
- added method `apiRoot.withProjectKey().taxCategories().withId().head()`
- added method `apiRoot.withProjectKey().types().withKey().head()`
- added method `apiRoot.withProjectKey().types().withId().head()`
- added method `apiRoot.withProjectKey().zones().withKey().head()`
- added method `apiRoot.withProjectKey().zones().withId().head()`
- added method `apiRoot.withProjectKey().me().activeCart().head()`
- added method `apiRoot.withProjectKey().me().businessUnits().head()`
- added method `apiRoot.withProjectKey().me().carts().head()`
- added method `apiRoot.withProjectKey().me().orders().head()`
- added method `apiRoot.withProjectKey().me().payments().head()`
- added method `apiRoot.withProjectKey().me().quoteRequests().head()`
- added method `apiRoot.withProjectKey().me().quotes().head()`
- added method `apiRoot.withProjectKey().me().shoppingLists().head()`
- added method `apiRoot.withProjectKey().me().businessUnits().withId().head()`
- added method `apiRoot.withProjectKey().me().businessUnits().withKey().head()`
- added method `apiRoot.withProjectKey().me().carts().withKey().head()`
- added method `apiRoot.withProjectKey().me().carts().withId().head()`
- added method `apiRoot.withProjectKey().me().orders().withId().head()`
- added method `apiRoot.withProjectKey().me().payments().withId().head()`
- added method `apiRoot.withProjectKey().me().quoteRequests().withId().head()`
- added method `apiRoot.withProjectKey().me().quoteRequests().withKey().head()`
- added method `apiRoot.withProjectKey().me().quotes().withId().head()`
- added method `apiRoot.withProjectKey().me().quotes().withKey().head()`
- added method `apiRoot.withProjectKey().me().shoppingLists().withId().head()`
- added method `apiRoot.withProjectKey().me().shoppingLists().withKey().head()`
- added method `apiRoot.withProjectKey().extensions().withKey().head()`
- added method `apiRoot.withProjectKey().extensions().withId().head()`
- added method `apiRoot.withProjectKey().apiClients().withId().head()`
- added method `apiRoot.withProjectKey().stores().withKey().head()`
- added method `apiRoot.withProjectKey().stores().withId().head()`
- added method `apiRoot.withProjectKey().inStoreKeyWithStoreKeyValue().carts().head()`
- added method `apiRoot.withProjectKey().inStoreKeyWithStoreKeyValue().orders().head()`
- added method `apiRoot.withProjectKey().inStoreKeyWithStoreKeyValue().customers().head()`
- added method `apiRoot.withProjectKey().inStoreKeyWithStoreKeyValue().shoppingLists().head()`
- added method `apiRoot.withProjectKey().inStoreKeyWithStoreKeyValue().cartDiscounts().head()`
- added method `apiRoot.withProjectKey().inStoreKeyWithStoreKeyValue().carts().withCustomerId().head()`
- added method `apiRoot.withProjectKey().inStoreKeyWithStoreKeyValue().carts().withKey().head()`
- added method `apiRoot.withProjectKey().inStoreKeyWithStoreKeyValue().carts().withId().head()`
- added method `apiRoot.withProjectKey().inStoreKeyWithStoreKeyValue().orders().withOrderNumber().head()`
- added method `apiRoot.withProjectKey().inStoreKeyWithStoreKeyValue().orders().withId().head()`
- added method `apiRoot.withProjectKey().inStoreKeyWithStoreKeyValue().me().carts().head()`
- added method `apiRoot.withProjectKey().inStoreKeyWithStoreKeyValue().me().orders().head()`
- added method `apiRoot.withProjectKey().inStoreKeyWithStoreKeyValue().me().activeCart().head()`
- added method `apiRoot.withProjectKey().inStoreKeyWithStoreKeyValue().me().shoppingLists().head()`
- added method `apiRoot.withProjectKey().inStoreKeyWithStoreKeyValue().me().carts().withId().head()`
- added method `apiRoot.withProjectKey().inStoreKeyWithStoreKeyValue().me().orders().withId().head()`
- added method `apiRoot.withProjectKey().inStoreKeyWithStoreKeyValue().me().shoppingLists().withKey().head()`
- added method `apiRoot.withProjectKey().inStoreKeyWithStoreKeyValue().me().shoppingLists().withId().head()`
- added method `apiRoot.withProjectKey().inStoreKeyWithStoreKeyValue().customers().withKey().head()`
- added method `apiRoot.withProjectKey().inStoreKeyWithStoreKeyValue().customers().withId().head()`
- added method `apiRoot.withProjectKey().inStoreKeyWithStoreKeyValue().shippingMethods().matchingCart().head()`
- added method `apiRoot.withProjectKey().inStoreKeyWithStoreKeyValue().shoppingLists().withKey().head()`
- added method `apiRoot.withProjectKey().inStoreKeyWithStoreKeyValue().shoppingLists().withId().head()`
- added method `apiRoot.withProjectKey().inStoreKeyWithStoreKeyValue().productProjections().withKey().head()`
- added method `apiRoot.withProjectKey().inStoreKeyWithStoreKeyValue().productProjections().withId().head()`
- added method `apiRoot.withProjectKey().inStoreKeyWithStoreKeyValue().cartDiscounts().withKey().head()`
- added method `apiRoot.withProjectKey().inStoreKeyWithStoreKeyValue().cartDiscounts().withId().head()`
- added method `apiRoot.withProjectKey().standalonePrices().withKey().head()`
- added method `apiRoot.withProjectKey().standalonePrices().withId().head()`
- added method `apiRoot.withProjectKey().attributeGroups().withKey().head()`
- added method `apiRoot.withProjectKey().attributeGroups().withId().head()`
</details>

<details>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,4 +50,25 @@ export class ByProjectKeyInStoreKeyByStoreKeyMeActiveCartRequestBuilder {
this.args.executeRequest
)
}
/**
* Checks if an active Cart exists. Returns a `200 OK` status if an active Cart exists or a `404 Not Found` otherwise.
*/
public head(methodArgs?: {
headers?: {
[key: string]: string | string[]
}
}): ApiRequest<void> {
return new ApiRequest<void>(
{
baseUri: this.args.baseUri,
method: 'HEAD',
uriTemplate: '/{projectKey}/in-store/key={storeKey}/me/active-cart',
pathVariables: this.args.pathArgs,
headers: {
...methodArgs?.headers,
},
},
this.args.executeRequest
)
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -48,4 +48,25 @@ export class ByProjectKeyMeActiveCartRequestBuilder {
this.args.executeRequest
)
}
/**
* Checks if an active Cart exists. Returns a `200 OK` status if an active Cart exists or a `404 Not Found` otherwise.
*/
public head(methodArgs?: {
headers?: {
[key: string]: string | string[]
}
}): ApiRequest<void> {
return new ApiRequest<void>(
{
baseUri: this.args.baseUri,
method: 'HEAD',
uriTemplate: '/{projectKey}/me/active-cart',
pathVariables: this.args.pathArgs,
headers: {
...methodArgs?.headers,
},
},
this.args.executeRequest
)
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,27 @@ export class ByProjectKeyApiClientsByIDRequestBuilder {
this.args.executeRequest
)
}
/**
* Checks if an API Client exists for a given `id`. Returns a `200 OK` status if the API Client exists or a `404 Not Found` otherwise.
*/
public head(methodArgs?: {
headers?: {
[key: string]: string | string[]
}
}): ApiRequest<void> {
return new ApiRequest<void>(
{
baseUri: this.args.baseUri,
method: 'HEAD',
uriTemplate: '/{projectKey}/api-clients/{ID}',
pathVariables: this.args.pathArgs,
headers: {
...methodArgs?.headers,
},
},
this.args.executeRequest
)
}
public delete(methodArgs?: {
headers?: {
[key: string]: string | string[]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,32 @@ export class ByProjectKeyApiClientsRequestBuilder {
this.args.executeRequest
)
}
/**
* Checks if an API Client exists for a given Query Predicate. Returns a `200 OK` status if any API Clients match the Query Predicate or a `404 Not Found` otherwise.
*/
public head(methodArgs?: {
queryArgs?: {
where?: string | string[]
[key: string]: QueryParam
}
headers?: {
[key: string]: string | string[]
}
}): ApiRequest<void> {
return new ApiRequest<void>(
{
baseUri: this.args.baseUri,
method: 'HEAD',
uriTemplate: '/{projectKey}/api-clients',
pathVariables: this.args.pathArgs,
headers: {
...methodArgs?.headers,
},
queryParams: methodArgs?.queryArgs,
},
this.args.executeRequest
)
}
public post(methodArgs: {
queryArgs?: {
expand?: string | string[]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,27 @@ export class ByProjectKeyAssociateRolesByIDRequestBuilder {
this.args.executeRequest
)
}
/**
* Checks if an AssociateRole exists for a given `id`. Returns a `200 OK` status if the AssociateRole exists or a `404 Not Found` otherwise.
*/
public head(methodArgs?: {
headers?: {
[key: string]: string | string[]
}
}): ApiRequest<void> {
return new ApiRequest<void>(
{
baseUri: this.args.baseUri,
method: 'HEAD',
uriTemplate: '/{projectKey}/associate-roles/{ID}',
pathVariables: this.args.pathArgs,
headers: {
...methodArgs?.headers,
},
},
this.args.executeRequest
)
}
public post(methodArgs: {
queryArgs?: {
expand?: string | string[]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,27 @@ export class ByProjectKeyAssociateRolesKeyByKeyRequestBuilder {
this.args.executeRequest
)
}
/**
* Checks if an AssociateRole exists for a given `key`. Returns a `200 OK` status if the AssociateRole exists or a `404 Not Found` otherwise.
*/
public head(methodArgs?: {
headers?: {
[key: string]: string | string[]
}
}): ApiRequest<void> {
return new ApiRequest<void>(
{
baseUri: this.args.baseUri,
method: 'HEAD',
uriTemplate: '/{projectKey}/associate-roles/key={key}',
pathVariables: this.args.pathArgs,
headers: {
...methodArgs?.headers,
},
},
this.args.executeRequest
)
}
public post(methodArgs: {
queryArgs?: {
expand?: string | string[]
Expand Down
Loading

0 comments on commit 2462811

Please sign in to comment.