@compassdigital/sdk.typescript 4.191.0 → 4.192.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/index.d.ts CHANGED
@@ -4582,7 +4582,7 @@ export declare class ServiceClient extends BaseServiceClient {
4582
4582
  /**
4583
4583
  * PATCH /consumer/order/{id}/cancel - Cancel an existing order
4584
4584
  *
4585
- * @param id - TODO: add parameter to swagger.json
4585
+ * @param id - a valid CDL user id
4586
4586
  * @param body
4587
4587
  * @param options - additional request options
4588
4588
  */
package/lib/index.js CHANGED
@@ -5102,7 +5102,7 @@ class ServiceClient extends base_1.BaseServiceClient {
5102
5102
  /**
5103
5103
  * PATCH /consumer/order/{id}/cancel - Cancel an existing order
5104
5104
  *
5105
- * @param id - TODO: add parameter to swagger.json
5105
+ * @param id - a valid CDL user id
5106
5106
  * @param body
5107
5107
  * @param options - additional request options
5108
5108
  */
@@ -209,7 +209,7 @@ export interface PatchCatalogItemsBulkPath {
209
209
  export type PatchCatalogItemsBulkBody = {
210
210
  id?: number;
211
211
  catalog_id?: number;
212
- item_id?: number | null;
212
+ item_id?: string | null;
213
213
  name?: string | null;
214
214
  label?: string | null;
215
215
  description?: string | null;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@compassdigital/sdk.typescript",
3
- "version": "4.191.0",
3
+ "version": "4.192.0",
4
4
  "description": "Compass Digital Labs TypeScript SDK",
5
5
  "type": "commonjs",
6
6
  "main": "./lib/index.js",
package/src/index.ts CHANGED
@@ -12341,7 +12341,7 @@ export class ServiceClient extends BaseServiceClient {
12341
12341
  /**
12342
12342
  * PATCH /consumer/order/{id}/cancel - Cancel an existing order
12343
12343
  *
12344
- * @param id - TODO: add parameter to swagger.json
12344
+ * @param id - a valid CDL user id
12345
12345
  * @param body
12346
12346
  * @param options - additional request options
12347
12347
  */
@@ -299,7 +299,7 @@ export interface PatchCatalogItemsBulkPath {
299
299
  export type PatchCatalogItemsBulkBody = {
300
300
  id?: number;
301
301
  catalog_id?: number;
302
- item_id?: number | null;
302
+ item_id?: string | null;
303
303
  name?: string | null;
304
304
  label?: string | null;
305
305
  description?: string | null;
@@ -899,9 +899,9 @@ export interface PlacedOrderMeta {
899
899
  export interface PostOrderResponseDTO {
900
900
  // Order ID
901
901
  id?: string;
902
- // Brand/location ID
902
+ // Brand/Station ID
903
903
  location_brand?: string;
904
- // Location ID
904
+ // Location/Site ID - only present for marketplace
905
905
  location?: string;
906
906
  // Shopping cart ID
907
907
  shoppingcart?: string;
@@ -967,9 +967,9 @@ export interface PatchOrderCancelBodyDTO {
967
967
  export interface PatchOrderCancelResponseDTO {
968
968
  // Order ID
969
969
  id?: string;
970
- // Brand/location ID
970
+ // Brand/Station ID
971
971
  location_brand?: string;
972
- // Location ID
972
+ // Location/Site ID - only present for marketplace
973
973
  location?: string;
974
974
  // Shopping cart ID
975
975
  shoppingcart?: string;
@@ -2266,9 +2266,9 @@ export interface GetConsumerAppConfigResponse {
2266
2266
  export interface PatchCheckinOrderResponseDTO {
2267
2267
  // Order ID
2268
2268
  id?: string;
2269
- // Brand/location ID
2269
+ // Brand/Station ID
2270
2270
  location_brand?: string;
2271
- // Location ID
2271
+ // Location/Site ID - only present for marketplace
2272
2272
  location?: string;
2273
2273
  // Shopping cart ID
2274
2274
  shoppingcart?: string;
@@ -2392,7 +2392,7 @@ export type PostConsumerOrderResponse = PostOrderResponseDTO;
2392
2392
  // PATCH /consumer/order/{id}/cancel - Cancel an existing order
2393
2393
 
2394
2394
  export interface PatchConsumerOrderCancelPath {
2395
- // TODO: add parameter to swagger.json
2395
+ // a valid CDL user id
2396
2396
  id: string;
2397
2397
  }
2398
2398