Skip to content

Commit

Permalink
build(codegen): updating SDK
Browse files Browse the repository at this point in the history
  • Loading branch information
ct-sdks[bot] committed Aug 20, 2024
1 parent f431518 commit 626456a
Show file tree
Hide file tree
Showing 28 changed files with 70 additions and 69 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ export class ByProjectKeyInStoreKeyByStoreKeyMeActiveCartRequestBuilder {
*
* - If no active Cart exists.
* - If an active Cart exists but does not have a `store` specified, or the `store` field references a different Store.
* - If an active Cart exists but does not have a `customerId` that matches the [customer:{id}](/scopes#customer_idid) scope, or `anonymousId` that matches the [anonymous_id:{id}](/scopes#anonymous_idid) scope.
* - If an active Cart exists but does not have a `customerId` that matches the [customer:{id}](/scopes#composable-commerce-oauth) scope, or `anonymousId` that matches the [anonymous_id:{id}](/scopes#composable-commerce-oauth) scope.
*
*/
public get(methodArgs?: {
Expand Down Expand Up @@ -61,7 +61,7 @@ export class ByProjectKeyInStoreKeyByStoreKeyMeActiveCartRequestBuilder {
*
* - If no active Cart exists in a Store.
* - If an active Cart exists but does not have a `store` specified, or the `store` field references a different Store.
* - If an active Cart exists but does not contain a `customerId` that matches the [customer:{id}](/scopes#customer_idid) scope, or `anonymousId` that matches the [anonymous_id:{id}](/scopes#anonymous_idid) scope.
* - If an active Cart exists but does not contain a `customerId` that matches the [customer:{id}](/scopes#composable-commerce-oauth) scope, or `anonymousId` that matches the [anonymous_id:{id}](/scopes#composable-commerce-oauth) scope.
*
*/
public head(methodArgs?: {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ export class ByProjectKeyMeActiveCartRequestBuilder {
* A [ResourceNotFound](ctp:api:type:ResourceNotFoundError) error is returned in the following scenarios:
*
* - If no active Cart exists.
* - If an active Cart exists but does not have a `customerId` that matches the [customer:{id}](/scopes#customer_idid) scope, or `anonymousId` that matches the [anonymous_id:{id}](/scopes#anonymous_idid) scope.
* - If an active Cart exists but does not have a `customerId` that matches the [customer:{id}](/scopes#composable-commerce-oauth) scope, or `anonymousId` that matches the [anonymous_id:{id}](/scopes#composable-commerce-oauth) scope.
*
*/
public get(methodArgs?: {
Expand Down Expand Up @@ -58,7 +58,7 @@ export class ByProjectKeyMeActiveCartRequestBuilder {
* A [ResourceNotFound](ctp:api:type:ResourceNotFoundError) error is returned in the following scenarios:
*
* - If no active Cart exists.
* - If an active Cart exists but does not have a `customerId` that matches the [customer:{id}](/scopes#customer_idid) scope, or an `anonymousId` that matches the [anonymous_id:{id}](/scopes#anonymous_idid) scope.
* - If an active Cart exists but does not have a `customerId` that matches the [customer:{id}](/scopes#composable-commerce-oauth) scope, or an `anonymousId` that matches the [anonymous_id:{id}](/scopes#composable-commerce-oauth) scope.
*
*/
public head(methodArgs?: {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ export class ByProjectKeyInStoreKeyByStoreKeyMeCartsByIDRequestBuilder {
*
* - If no Cart exists in the Store for the given `id`.
* - If the Cart exists but does not belong to a Store, or the Cart's `store` field references a different Store.
* - If the Cart exists but does not have either a `customerId` that matches the [customer:{id}](/scopes#customer_idid) scope, or an `anonymousId` that matches the [anonymous_id:{id}](/scopes#anonymous_idid) scope.
* - If the Cart exists but does not have either a `customerId` that matches the [customer:{id}](/scopes#composable-commerce-oauth) scope, or an `anonymousId` that matches the [anonymous_id:{id}](/scopes#composable-commerce-oauth) scope.
*
*/
public get(methodArgs?: {
Expand Down Expand Up @@ -79,7 +79,7 @@ export class ByProjectKeyInStoreKeyByStoreKeyMeCartsByIDRequestBuilder {
*
* - If no Cart exists in the Store for the given `id`.
* - If the Cart exists but does not belong to a Store, or the Cart's `store` field references a different Store.
* - If the Cart exists but does not have either a `customerId` that matches the [customer:{id}](/scopes#customer_idid) scope, or an `anonymousId` that matches the [anonymous_id:{id}](/scopes#anonymous_idid) scope.
* - If the Cart exists but does not have either a `customerId` that matches the [customer:{id}](/scopes#composable-commerce-oauth) scope, or an `anonymousId` that matches the [anonymous_id:{id}](/scopes#composable-commerce-oauth) scope.
*
*/
public post(methodArgs: {
Expand Down Expand Up @@ -115,7 +115,7 @@ export class ByProjectKeyInStoreKeyByStoreKeyMeCartsByIDRequestBuilder {
*
* - If no Cart exists in the Store for the given `id`.
* - If the Cart exists in the Project but does not belong to a Store, or the Cart's `store` field references a different Store.
* - If the Cart exists in the Project but does not have either a `customerId` that matches the [customer:{id}](/scopes#customer_idid) scope, or an `anonymousId` that matches the [anonymous_id:{id}](/scopes#anonymous_idid) scope.
* - If the Cart exists in the Project but does not have either a `customerId` that matches the [customer:{id}](/scopes#composable-commerce-oauth) scope, or an `anonymousId` that matches the [anonymous_id:{id}](/scopes#composable-commerce-oauth) scope.
*
*/
public delete(methodArgs: {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ export class ByProjectKeyInStoreKeyByStoreKeyMeCartsRequestBuilder {
}
/**
*
* Creates a Cart in a Store for the Customer or anonymous user. The `customerId` or `anonymousId` field on the Cart is automatically set based on the [customer:{id}](/scopes#customer_idid) or [anonymous_id:{id}](/scopes#anonymous_idid) scope.
* Creates a Cart in a Store for the Customer or anonymous user. The `customerId` or `anonymousId` field on the Cart is automatically set based on the [customer:{id}](/scopes#composable-commerce-oauth) or [anonymous_id:{id}](/scopes#composable-commerce-oauth) scope.
*
* The `store` field in the created [Cart](ctp:api:type:Cart) is set to the Store specified by the `storeKey` path parameter.
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ export class ByProjectKeyMeCartsByIDRequestBuilder {
* A [ResourceNotFound](ctp:api:type:ResourceNotFoundError) error is returned in the following scenarios:
*
* - If no Cart exists for a given `id`.
* - If the Cart exists but does not have a `customerId` that matches the [customer:{id}](/scopes#customer_idid) scope, or `anonymousId` that matches the [anonymous_id:{id}](/scopes#anonymous_idid) scope.
* - If the Cart exists but does not have a `customerId` that matches the [customer:{id}](/scopes#composable-commerce-oauth) scope, or `anonymousId` that matches the [anonymous_id:{id}](/scopes#composable-commerce-oauth) scope.
*
*/
public get(methodArgs?: {
Expand Down Expand Up @@ -58,7 +58,7 @@ export class ByProjectKeyMeCartsByIDRequestBuilder {
* A [ResourceNotFound](ctp:api:type:ResourceNotFoundError) error is returned in the following scenarios:
*
* - If no Cart exists for a given `id`.
* - If the Cart exists but does not have a `customerId` that matches the [customer:{id}](/scopes#customer_idid) scope, or `anonymousId` that matches the [anonymous_id:{id}](/scopes#anonymous_idid) scope.
* - If the Cart exists but does not have a `customerId` that matches the [customer:{id}](/scopes#composable-commerce-oauth) scope, or `anonymousId` that matches the [anonymous_id:{id}](/scopes#composable-commerce-oauth) scope.
*
*/
public head(methodArgs?: {
Expand All @@ -85,7 +85,7 @@ export class ByProjectKeyMeCartsByIDRequestBuilder {
* A [ResourceNotFound](ctp:api:type:ResourceNotFoundError) error is returned in the following scenarios:
*
* - If no Cart exists for a given `id`.
* - If the Cart exists but does not have a `customerId` that matches the [customer:{id}](/scopes#customer_idid) scope, or `anonymousId` that matches the [anonymous_id:{id}](/scopes#anonymous_idid) scope.
* - If the Cart exists but does not have a `customerId` that matches the [customer:{id}](/scopes#composable-commerce-oauth) scope, or `anonymousId` that matches the [anonymous_id:{id}](/scopes#composable-commerce-oauth) scope.
*
*/
public post(methodArgs: {
Expand Down Expand Up @@ -120,7 +120,7 @@ export class ByProjectKeyMeCartsByIDRequestBuilder {
* A [ResourceNotFound](ctp:api:type:ResourceNotFoundError) error is returned in the following scenarios:
*
* - If no Cart exists for a given `id`.
* - If the Cart exists but does not have a `customerId` that matches the [customer:{id}](/scopes#customer_idid) scope, or `anonymousId` that matches the [anonymous_id:{id}](/scopes#anonymous_idid) scope.
* - If the Cart exists but does not have a `customerId` that matches the [customer:{id}](/scopes#composable-commerce-oauth) scope, or `anonymousId` that matches the [anonymous_id:{id}](/scopes#composable-commerce-oauth) scope.
*
*/
public delete(methodArgs: {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ export class ByProjectKeyMeCartsRequestBuilder {
}
/**
*
* Creates a Cart for the Customer or anonymous user. The `customerId` or `anonymousId` field on the Cart is automatically set based on the [customer:{id}](/scopes#customer_idid) or [anonymous_id:{id}](/scopes#anonymous_idid) scope.
* Creates a Cart for the Customer or anonymous user. The `customerId` or `anonymousId` field on the Cart is automatically set based on the [customer:{id}](/scopes#composable-commerce-oauth) or [anonymous_id:{id}](/scopes#composable-commerce-oauth) scope.
*
* Specific Error Codes:
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ export class ByProjectKeyInStoreKeyByStoreKeyMeEmailConfirmRequestBuilder {
*
* A [ResourceNotFound](ctp:api:type:ResourceNotFoundError) error is returned in the following scenarios:
*
* - If no Customer exists with the `id` specified in the [customer:{id}](/scopes#customer_idid) scope.
* - If no Customer exists with the `id` specified in the [customer:{id}](/scopes#composable-commerce-oauth) scope.
* - If the Customer exists but is associated with a different Store than what is specified in the `manage_my_profile:{projectKey}:{storeKey}` scope.
*
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ export class ByProjectKeyDiscountCodesByIDRequestBuilder {
}
) {}
/**
* Deprecated scope: `view_orders:{projectKey}`
* Deprecated OAuth 2.0 Scope: `view_orders:{projectKey}`
*/
public get(methodArgs?: {
queryArgs?: {
Expand Down Expand Up @@ -67,7 +67,7 @@ export class ByProjectKeyDiscountCodesByIDRequestBuilder {
)
}
/**
* Deprecated scope: `manage_orders:{projectKey}`
* Deprecated OAuth 2.0 Scope: `manage_orders:{projectKey}`
*/
public post(methodArgs: {
queryArgs?: {
Expand Down Expand Up @@ -98,7 +98,7 @@ export class ByProjectKeyDiscountCodesByIDRequestBuilder {
/**
* Deleting a Discount Code produces the [DiscountCodeDeleted](ctp:api:type:DiscountCodeDeletedMessage) Message.
*
* Deprecated scope: `manage_orders:{projectKey}`
* Deprecated OAuth 2.0 Scope: `manage_orders:{projectKey}`
*
*/
public delete(methodArgs: {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ export class ByProjectKeyDiscountCodesKeyByKeyRequestBuilder {
}
) {}
/**
* Deprecated scope: `view_orders:{projectKey}`
* Deprecated OAuth 2.0 Scope: `view_orders:{projectKey}`
*/
public get(methodArgs?: {
queryArgs?: {
Expand Down Expand Up @@ -67,7 +67,7 @@ export class ByProjectKeyDiscountCodesKeyByKeyRequestBuilder {
)
}
/**
* Deprecated scope: `manage_orders:{projectKey}`
* Deprecated OAuth 2.0 Scope: `manage_orders:{projectKey}`
*/
public post(methodArgs: {
queryArgs?: {
Expand Down Expand Up @@ -98,7 +98,7 @@ export class ByProjectKeyDiscountCodesKeyByKeyRequestBuilder {
/**
* Deleting a Discount Code produces the [DiscountCodeDeleted](ctp:api:type:DiscountCodeDeletedMessage) Message.
*
* Deprecated scope: `manage_orders:{projectKey}`
* Deprecated OAuth 2.0 Scope: `manage_orders:{projectKey}`
*
*/
public delete(methodArgs: {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ export class ByProjectKeyDiscountCodesRequestBuilder {
}

/**
* Deprecated scope: `view_orders:{projectKey}`
* Deprecated OAuth 2.0 Scope: `view_orders:{projectKey}`
*/
public get(methodArgs?: {
queryArgs?: {
Expand Down Expand Up @@ -109,7 +109,7 @@ export class ByProjectKeyDiscountCodesRequestBuilder {
/**
* Creating a Discount Code produces the [DiscountCodeCreated](ctp:api:type:DiscountCodeCreatedMessage) Message.
*
* Deprecated scope: `manage_orders:{projectKey}`
* Deprecated OAuth 2.0 Scope: `manage_orders:{projectKey}`
*
*/
public post(methodArgs: {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ export class ByProjectKeyInStoreKeyByStoreKeyMeRequestBuilder {
* A [ResourceNotFound](ctp:api:type:ResourceNotFoundError) error is returned in the following scenarios:
*
* - If no Customer exists in the Store for the given Query Predicate.
* - If a Customer exists in the Store for the given Query Predicate, but does not have an `id` value that matches the [customer:{id}](/scopes#customer_idid) scope.
* - If a Customer exists in the Store for the given Query Predicate, but does not have an `id` value that matches the [customer:{id}](/scopes#composable-commerce-oauth) scope.
* - If a Customer exists for the given Query Predicate but is associated with a different Store than what is specified in the `manage_my_profile:{projectKey}:{storeKey}` scope.
*
*/
Expand Down Expand Up @@ -154,7 +154,7 @@ export class ByProjectKeyInStoreKeyByStoreKeyMeRequestBuilder {
*
* A [ResourceNotFound](ctp:api:type:ResourceNotFoundError) error is returned in the following scenarios:
*
* - If no Customer exists with the `id` specified in the [customer:{id}](/scopes#customer_idid) scope.
* - If no Customer exists with the `id` specified in the [customer:{id}](/scopes#composable-commerce-oauth) scope.
* - If the Customer exists but is associated with a different Store than what is specified in the `manage_my_profile:{projectKey}:{storeKey}` scope.
*
*/
Expand Down Expand Up @@ -184,7 +184,7 @@ export class ByProjectKeyInStoreKeyByStoreKeyMeRequestBuilder {
*
* A [ResourceNotFound](ctp:api:type:ResourceNotFoundError) error is returned in the following scenarios:
*
* - If no Customer exists with the `id` specified in the [customer:{id}](/scopes#customer_idid) scope.
* - If no Customer exists with the `id` specified in the [customer:{id}](/scopes#composable-commerce-oauth) scope.
* - If the Customer exists but is associated with a different Store than what is specified in the `manage_my_profile:{projectKey}:{storeKey}` scope.
*
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ export class ByProjectKeyMeRequestBuilder {
* A [ResourceNotFound](ctp:api:type:ResourceNotFoundError) error is returned in the following scenarios:
*
* - If no Customer exists for the given Query Predicate.
* - If a Customer exists for the given Query Predicate, but does not have an `id` value that matches the [customer:{id}](/scopes#customer_idid) scope.
* - If a Customer exists for the given Query Predicate, but does not have an `id` value that matches the [customer:{id}](/scopes#composable-commerce-oauth) scope.
*
*/
public get(methodArgs?: {
Expand Down Expand Up @@ -199,7 +199,7 @@ export class ByProjectKeyMeRequestBuilder {
)
}
/**
* Updates the Customer specified in the [customer:{id}](/scopes#customer_idid) scope. Returns a `200 OK` status if successful.
* Updates the Customer specified in the [customer:{id}](/scopes#composable-commerce-oauth) scope. Returns a `200 OK` status if successful.
*
*/
public post(methodArgs: {
Expand All @@ -224,7 +224,7 @@ export class ByProjectKeyMeRequestBuilder {
)
}
/**
* Deletes the Customer specified in the [customer:{id}](/scopes#customer_idid) scope. Returns a `200 OK` status if successful.
* Deletes the Customer specified in the [customer:{id}](/scopes#composable-commerce-oauth) scope. Returns a `200 OK` status if successful.
*/
public delete(methodArgs: {
queryArgs: {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ export class ByProjectKeyMessagesByIDRequestBuilder {
}
) {}
/**
* Deprecated scope: `view_orders:{projectKey}`
* Deprecated OAuth 2.0 Scope: `view_orders:{projectKey}`
*/
public get(methodArgs?: {
queryArgs?: {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ export class ByProjectKeyMessagesRequestBuilder {
}

/**
* Deprecated scope: `view_orders:{projectKey}`
* Deprecated OAuth 2.0 Scope: `view_orders:{projectKey}`
*/
public get(methodArgs?: {
queryArgs?: {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ export class ByProjectKeyInStoreKeyByStoreKeyMeOrdersByIDRequestBuilder {
*
* - If no Order exists in the Store for the given `id`.
* - If the Order exists but does not have a `store` specified, or the `store` field references a different Store.
* - If the Order exists but does not have a `customerId` that matches the [customer:{id}](/scopes#customer_idid) scope, or `anonymousId` that matches the [anonymous_id:{id}](/scopes#anonymous_idid) scope.
* - If the Order exists but does not have a `customerId` that matches the [customer:{id}](/scopes#composable-commerce-oauth) scope, or `anonymousId` that matches the [anonymous_id:{id}](/scopes#composable-commerce-oauth) scope.
*
*/
public get(methodArgs?: {
Expand Down Expand Up @@ -60,7 +60,7 @@ export class ByProjectKeyInStoreKeyByStoreKeyMeOrdersByIDRequestBuilder {
*
* - If no Order exists in the Store for the given `id`.
* - If the Order exists but does not have a `store` specified, or the `store` field references a different Store.
* - If the Order exists but does not have a `customerId` that matches the [customer:{id}](/scopes#customer_idid) scope, or `anonymousId` that matches the [anonymous_id:{id}](/scopes#anonymous_idid) scope.
* - If the Order exists but does not have a `customerId` that matches the [customer:{id}](/scopes#composable-commerce-oauth) scope, or `anonymousId` that matches the [anonymous_id:{id}](/scopes#composable-commerce-oauth) scope.
*
*/
public head(methodArgs?: {
Expand Down
Loading

0 comments on commit 626456a

Please sign in to comment.