@salable/sdk 1.0.39 → 1.0.40

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.
@@ -5,7 +5,7 @@ import { type BaseRequestBuilder, type RequestConfiguration, type RequestInforma
5
5
  */
6
6
  export interface ItemsRequestBuilder extends BaseRequestBuilder<ItemsRequestBuilder> {
7
7
  /**
8
- * Add, remove or replace items on a subscription.
8
+ * Add, remove or replace items on a subscription. Key quantity metadata by line item slug.
9
9
  * @param body The request body
10
10
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
11
11
  * @throws {ErrorResponseBody} error when the service returns a 400 status code
@@ -18,7 +18,7 @@ export interface ItemsRequestBuilder extends BaseRequestBuilder<ItemsRequestBuil
18
18
  */
19
19
  put(body: UpdateSubscriptionItemsRequestSchema, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<void>;
20
20
  /**
21
- * Add, remove or replace items on a subscription.
21
+ * Add, remove or replace items on a subscription. Key quantity metadata by line item slug.
22
22
  * @param body The request body
23
23
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
24
24
  * @returns {RequestInformation}
@@ -17787,7 +17787,7 @@ export interface UpdateSubscriptionItemsRequestSchema_itemsMember2 extends Parsa
17787
17787
  */
17788
17788
  grantee?: string | null;
17789
17789
  /**
17790
- * Per-line-item quantity overrides, keyed by line item ID.
17790
+ * Per-line-item quantity overrides, keyed by line item slug. (Deprecated: line item IDs are also accepted for existing integrations; new integrations should use slugs.)
17791
17791
  */
17792
17792
  metadata?: UpdateSubscriptionItemsRequestSchema_itemsMember2_metadata | null;
17793
17793
  /**
@@ -17796,7 +17796,7 @@ export interface UpdateSubscriptionItemsRequestSchema_itemsMember2 extends Parsa
17796
17796
  planId?: string | null;
17797
17797
  }
17798
17798
  /**
17799
- * Per-line-item quantity overrides, keyed by line item ID.
17799
+ * Per-line-item quantity overrides, keyed by line item slug. (Deprecated: line item IDs are also accepted for existing integrations; new integrations should use slugs.)
17800
17800
  */
17801
17801
  export interface UpdateSubscriptionItemsRequestSchema_itemsMember2_metadata extends AdditionalDataHolder, Parsable {
17802
17802
  }
@@ -17806,7 +17806,7 @@ export interface UpdateSubscriptionItemsRequestSchema_itemsMember3 extends Parsa
17806
17806
  */
17807
17807
  action?: string | null;
17808
17808
  /**
17809
- * Per-line-item quantity overrides, keyed by line item ID.
17809
+ * Per-line-item quantity overrides, keyed by line item slug. (Deprecated: line item IDs are also accepted for existing integrations; new integrations should use slugs.)
17810
17810
  */
17811
17811
  metadata?: UpdateSubscriptionItemsRequestSchema_itemsMember3_metadata | null;
17812
17812
  /**
@@ -17819,7 +17819,7 @@ export interface UpdateSubscriptionItemsRequestSchema_itemsMember3 extends Parsa
17819
17819
  planId?: string | null;
17820
17820
  }
17821
17821
  /**
17822
- * Per-line-item quantity overrides, keyed by line item ID.
17822
+ * Per-line-item quantity overrides, keyed by line item slug. (Deprecated: line item IDs are also accepted for existing integrations; new integrations should use slugs.)
17823
17823
  */
17824
17824
  export interface UpdateSubscriptionItemsRequestSchema_itemsMember3_metadata extends AdditionalDataHolder, Parsable {
17825
17825
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salable/sdk",
3
- "version": "1.0.39",
3
+ "version": "1.0.40",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.es.js",