@commercelayer/sdk 6.40.0 → 6.41.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.mts CHANGED
@@ -9204,7 +9204,7 @@ type CustomerGroupRel$2 = ResourceRel & {
9204
9204
  type TagRel$4 = ResourceRel & {
9205
9205
  type: TagType;
9206
9206
  };
9207
- type CustomerSort = Pick<Customer, 'id' | 'email' | 'status' | 'total_orders_count'> & ResourceSort;
9207
+ type CustomerSort = Pick<Customer, 'id' | 'email' | 'status' | 'total_orders_count' | 'anonymization_status'> & ResourceSort;
9208
9208
  interface Customer extends Resource {
9209
9209
  readonly type: CustomerType;
9210
9210
  /**
@@ -9251,6 +9251,11 @@ interface Customer extends Resource {
9251
9251
  * @example ```{"status":"requested","requested_at":"2025-03-15 11:39:21 UTC","requester":{"id":"fdgt56hh","first_name":"Travis","last_name":"Muller","email":"test@labadie.test"}}```
9252
9252
  */
9253
9253
  anonymization_info?: Record<string, any> | null;
9254
+ /**
9255
+ * Status of the current anonymization request (if any).
9256
+ * @example ```"requested"```
9257
+ */
9258
+ anonymization_status?: string | null;
9254
9259
  customer_group?: CustomerGroup | null;
9255
9260
  customer_addresses?: CustomerAddress[] | null;
9256
9261
  customer_payment_sources?: CustomerPaymentSource[] | null;
@@ -17161,7 +17166,7 @@ type CommerceLayerInitConfig = SdkConfig & ResourcesInitConfig;
17161
17166
  type CommerceLayerConfig = Partial<CommerceLayerInitConfig>;
17162
17167
  declare class CommerceLayerClient {
17163
17168
  #private;
17164
- readonly openApiSchemaVersion = "7.8.6";
17169
+ readonly openApiSchemaVersion = "7.8.7";
17165
17170
  constructor(config: CommerceLayerInitConfig);
17166
17171
  get addresses(): Addresses;
17167
17172
  get adjustments(): Adjustments;
package/lib/index.d.ts CHANGED
@@ -9204,7 +9204,7 @@ type CustomerGroupRel$2 = ResourceRel & {
9204
9204
  type TagRel$4 = ResourceRel & {
9205
9205
  type: TagType;
9206
9206
  };
9207
- type CustomerSort = Pick<Customer, 'id' | 'email' | 'status' | 'total_orders_count'> & ResourceSort;
9207
+ type CustomerSort = Pick<Customer, 'id' | 'email' | 'status' | 'total_orders_count' | 'anonymization_status'> & ResourceSort;
9208
9208
  interface Customer extends Resource {
9209
9209
  readonly type: CustomerType;
9210
9210
  /**
@@ -9251,6 +9251,11 @@ interface Customer extends Resource {
9251
9251
  * @example ```{"status":"requested","requested_at":"2025-03-15 11:39:21 UTC","requester":{"id":"fdgt56hh","first_name":"Travis","last_name":"Muller","email":"test@labadie.test"}}```
9252
9252
  */
9253
9253
  anonymization_info?: Record<string, any> | null;
9254
+ /**
9255
+ * Status of the current anonymization request (if any).
9256
+ * @example ```"requested"```
9257
+ */
9258
+ anonymization_status?: string | null;
9254
9259
  customer_group?: CustomerGroup | null;
9255
9260
  customer_addresses?: CustomerAddress[] | null;
9256
9261
  customer_payment_sources?: CustomerPaymentSource[] | null;
@@ -17161,7 +17166,7 @@ type CommerceLayerInitConfig = SdkConfig & ResourcesInitConfig;
17161
17166
  type CommerceLayerConfig = Partial<CommerceLayerInitConfig>;
17162
17167
  declare class CommerceLayerClient {
17163
17168
  #private;
17164
- readonly openApiSchemaVersion = "7.8.6";
17169
+ readonly openApiSchemaVersion = "7.8.7";
17165
17170
  constructor(config: CommerceLayerInitConfig);
17166
17171
  get addresses(): Addresses;
17167
17172
  get adjustments(): Adjustments;