@salable/sdk 1.0.21 → 1.0.23

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.
Files changed (69) hide show
  1. package/dist/index.es.js +148 -64
  2. package/dist/index.es.js.map +1 -1
  3. package/dist/index.js +148 -64
  4. package/dist/index.js.map +1 -1
  5. package/dist/sdk/api/apiKeys/index.d.ts +4 -0
  6. package/dist/sdk/api/apiKeys/item/index.d.ts +2 -16
  7. package/dist/sdk/api/cartItems/index.d.ts +2 -0
  8. package/dist/sdk/api/cartItems/item/index.d.ts +1 -0
  9. package/dist/sdk/api/carts/index.d.ts +3 -2
  10. package/dist/sdk/api/carts/item/checkout/index.d.ts +1 -0
  11. package/dist/sdk/api/carts/item/index.d.ts +3 -0
  12. package/dist/sdk/api/checkout/index.d.ts +1 -0
  13. package/dist/sdk/api/currencyOptions/index.d.ts +2 -1
  14. package/dist/sdk/api/currencyOptions/item/index.d.ts +2 -0
  15. package/dist/sdk/api/destinations/index.d.ts +2 -2
  16. package/dist/sdk/api/destinations/item/index.d.ts +4 -0
  17. package/dist/sdk/api/entitlements/index.d.ts +3 -0
  18. package/dist/sdk/api/entitlements/item/index.d.ts +5 -0
  19. package/dist/sdk/api/eventAttempts/index.d.ts +2 -18
  20. package/dist/sdk/api/events/index.d.ts +2 -0
  21. package/dist/sdk/api/events/item/index.d.ts +2 -0
  22. package/dist/sdk/api/grantees/index.d.ts +3 -0
  23. package/dist/sdk/api/grantees/item/index.d.ts +5 -0
  24. package/dist/sdk/api/groups/index.d.ts +3 -0
  25. package/dist/sdk/api/groups/item/grantees/index.d.ts +1 -0
  26. package/dist/sdk/api/groups/item/index.d.ts +5 -0
  27. package/dist/sdk/api/lineItems/index.d.ts +2 -0
  28. package/dist/sdk/api/lineItems/item/index.d.ts +3 -0
  29. package/dist/sdk/api/memberships/index.d.ts +2 -1
  30. package/dist/sdk/api/memberships/item/index.d.ts +2 -0
  31. package/dist/sdk/api/meters/index.d.ts +2 -0
  32. package/dist/sdk/api/owners/index.d.ts +2 -0
  33. package/dist/sdk/api/owners/item/index.d.ts +5 -0
  34. package/dist/sdk/api/paymentIntegrations/index.d.ts +5 -0
  35. package/dist/sdk/api/paymentIntegrations/item/index.d.ts +1 -22
  36. package/dist/sdk/api/paymentIntegrations/item/onboarding/index.d.ts +1 -0
  37. package/dist/sdk/api/plans/index.d.ts +4 -0
  38. package/dist/sdk/api/plans/item/index.d.ts +5 -0
  39. package/dist/sdk/api/plans/save/index.d.ts +1 -0
  40. package/dist/sdk/api/prices/index.d.ts +2 -0
  41. package/dist/sdk/api/prices/item/index.d.ts +4 -0
  42. package/dist/sdk/api/products/copyToLiveMode/index.d.ts +1 -0
  43. package/dist/sdk/api/products/exportEscaped/item/index.d.ts +1 -0
  44. package/dist/sdk/api/products/importEscaped/index.d.ts +1 -1
  45. package/dist/sdk/api/products/index.d.ts +3 -2
  46. package/dist/sdk/api/products/item/index.d.ts +3 -0
  47. package/dist/sdk/api/receipts/index.d.ts +2 -0
  48. package/dist/sdk/api/receipts/item/index.d.ts +2 -0
  49. package/dist/sdk/api/stripe/accountSession/index.d.ts +1 -0
  50. package/dist/sdk/api/subscriptionPlanLineItems/item/index.d.ts +2 -0
  51. package/dist/sdk/api/subscriptionPlanLineItems/item/sync/index.d.ts +1 -0
  52. package/dist/sdk/api/subscriptionPlans/index.d.ts +1 -2
  53. package/dist/sdk/api/subscriptionPlans/item/index.d.ts +1 -0
  54. package/dist/sdk/api/subscriptionPlans/item/seats/index.d.ts +1 -0
  55. package/dist/sdk/api/subscriptions/batch/index.d.ts +1 -0
  56. package/dist/sdk/api/subscriptions/index.d.ts +2 -0
  57. package/dist/sdk/api/subscriptions/item/autoRenew/index.d.ts +1 -0
  58. package/dist/sdk/api/subscriptions/item/index.d.ts +2 -0
  59. package/dist/sdk/api/subscriptions/item/invoices/index.d.ts +1 -0
  60. package/dist/sdk/api/subscriptions/item/items/index.d.ts +1 -0
  61. package/dist/sdk/api/subscriptions/item/portal/index.d.ts +2 -0
  62. package/dist/sdk/api/tierTags/index.d.ts +3 -1
  63. package/dist/sdk/api/tiers/index.d.ts +2 -1
  64. package/dist/sdk/api/tiers/item/index.d.ts +3 -0
  65. package/dist/sdk/api/usage/record/index.d.ts +3 -0
  66. package/dist/sdk/api/usageRecords/index.d.ts +1 -0
  67. package/dist/sdk/api/webhooks/index.d.ts +2 -2
  68. package/dist/sdk/api/webhooks/item/index.d.ts +6 -0
  69. package/package.json +1 -1
@@ -1,5 +1,5 @@
1
1
  import { type OnboardingRequestBuilder } from './onboarding/index.js';
2
- import { type BaseRequestBuilder, type KeysToExcludeForNavigationMetadata, type NavigationMetadata, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
2
+ import { type BaseRequestBuilder, type KeysToExcludeForNavigationMetadata, type NavigationMetadata } from '@microsoft/kiota-abstractions';
3
3
  /**
4
4
  * Builds and executes requests for operations under /api/payment-integrations/{id}
5
5
  */
@@ -8,23 +8,6 @@ export interface PaymentIntegrationsItemRequestBuilder extends BaseRequestBuilde
8
8
  * The onboarding property
9
9
  */
10
10
  get onboarding(): OnboardingRequestBuilder;
11
- /**
12
- * Delete Payment Integration
13
- * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
14
- * @throws {ErrorResponseBody} error when the service returns a 400 status code
15
- * @throws {ErrorResponseBody} error when the service returns a 401 status code
16
- * @throws {ErrorResponseBody} error when the service returns a 403 status code
17
- * @throws {ErrorResponseBody} error when the service returns a 404 status code
18
- * @throws {ErrorResponseBody} error when the service returns a 405 status code
19
- * @throws {ErrorResponseBody} error when the service returns a 500 status code
20
- */
21
- delete(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<void>;
22
- /**
23
- * Delete Payment Integration
24
- * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
25
- * @returns {RequestInformation}
26
- */
27
- toDeleteRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
28
11
  }
29
12
  /**
30
13
  * Uri template for the request builder.
@@ -34,7 +17,3 @@ export declare const PaymentIntegrationsItemRequestBuilderUriTemplate = "{+baseu
34
17
  * Metadata for all the navigation properties in the request builder.
35
18
  */
36
19
  export declare const PaymentIntegrationsItemRequestBuilderNavigationMetadata: Record<Exclude<keyof PaymentIntegrationsItemRequestBuilder, KeysToExcludeForNavigationMetadata>, NavigationMetadata>;
37
- /**
38
- * Metadata for all the requests in the request builder.
39
- */
40
- export declare const PaymentIntegrationsItemRequestBuilderRequestsMetadata: RequestsMetadata;
@@ -12,6 +12,7 @@ export interface OnboardingRequestBuilder extends BaseRequestBuilder<OnboardingR
12
12
  * @throws {ErrorResponseBody} error when the service returns a 403 status code
13
13
  * @throws {ErrorResponseBody} error when the service returns a 404 status code
14
14
  * @throws {ErrorResponseBody} error when the service returns a 405 status code
15
+ * @throws {ErrorResponseBody} error when the service returns a 429 status code
15
16
  * @throws {ErrorResponseBody} error when the service returns a 500 status code
16
17
  */
17
18
  post(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<ArrayBuffer | undefined>;
@@ -25,8 +25,10 @@ export interface PlansRequestBuilder extends BaseRequestBuilder<PlansRequestBuil
25
25
  * List Plans
26
26
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
27
27
  * @returns {Promise<GetPlanListSchema>}
28
+ * @throws {ErrorResponseBody} error when the service returns a 400 status code
28
29
  * @throws {ErrorResponseBody} error when the service returns a 401 status code
29
30
  * @throws {ErrorResponseBody} error when the service returns a 405 status code
31
+ * @throws {ErrorResponseBody} error when the service returns a 429 status code
30
32
  * @throws {ErrorResponseBody} error when the service returns a 500 status code
31
33
  */
32
34
  get(requestConfiguration?: RequestConfiguration<PlansRequestBuilderGetQueryParameters> | undefined): Promise<GetPlanListSchema | undefined>;
@@ -37,7 +39,9 @@ export interface PlansRequestBuilder extends BaseRequestBuilder<PlansRequestBuil
37
39
  * @returns {Promise<CreatePlanResponseSchema>}
38
40
  * @throws {ErrorResponseBody} error when the service returns a 400 status code
39
41
  * @throws {ErrorResponseBody} error when the service returns a 401 status code
42
+ * @throws {ErrorResponseBody} error when the service returns a 403 status code
40
43
  * @throws {ErrorResponseBody} error when the service returns a 405 status code
44
+ * @throws {ErrorResponseBody} error when the service returns a 429 status code
41
45
  * @throws {ErrorResponseBody} error when the service returns a 500 status code
42
46
  */
43
47
  post(body: PlanRequestSchema, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<CreatePlanResponseSchema | undefined>;
@@ -14,10 +14,12 @@ export interface PlansItemRequestBuilder extends BaseRequestBuilder<PlansItemReq
14
14
  /**
15
15
  * Delete Plan
16
16
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
17
+ * @throws {ErrorResponseBody} error when the service returns a 400 status code
17
18
  * @throws {ErrorResponseBody} error when the service returns a 401 status code
18
19
  * @throws {ErrorResponseBody} error when the service returns a 403 status code
19
20
  * @throws {ErrorResponseBody} error when the service returns a 404 status code
20
21
  * @throws {ErrorResponseBody} error when the service returns a 405 status code
22
+ * @throws {ErrorResponseBody} error when the service returns a 429 status code
21
23
  * @throws {ErrorResponseBody} error when the service returns a 500 status code
22
24
  */
23
25
  delete(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<void>;
@@ -25,10 +27,12 @@ export interface PlansItemRequestBuilder extends BaseRequestBuilder<PlansItemReq
25
27
  * Retrieve Plan
26
28
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
27
29
  * @returns {Promise<GetPlanDetailSchema>}
30
+ * @throws {ErrorResponseBody} error when the service returns a 400 status code
28
31
  * @throws {ErrorResponseBody} error when the service returns a 401 status code
29
32
  * @throws {ErrorResponseBody} error when the service returns a 403 status code
30
33
  * @throws {ErrorResponseBody} error when the service returns a 404 status code
31
34
  * @throws {ErrorResponseBody} error when the service returns a 405 status code
35
+ * @throws {ErrorResponseBody} error when the service returns a 429 status code
32
36
  * @throws {ErrorResponseBody} error when the service returns a 500 status code
33
37
  */
34
38
  get(requestConfiguration?: RequestConfiguration<PlansItemRequestBuilderGetQueryParameters> | undefined): Promise<GetPlanDetailSchema | undefined>;
@@ -42,6 +46,7 @@ export interface PlansItemRequestBuilder extends BaseRequestBuilder<PlansItemReq
42
46
  * @throws {ErrorResponseBody} error when the service returns a 403 status code
43
47
  * @throws {ErrorResponseBody} error when the service returns a 404 status code
44
48
  * @throws {ErrorResponseBody} error when the service returns a 405 status code
49
+ * @throws {ErrorResponseBody} error when the service returns a 429 status code
45
50
  * @throws {ErrorResponseBody} error when the service returns a 500 status code
46
51
  */
47
52
  put(body: PlanRequestSchema, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<UpdatePlanResponseSchema | undefined>;
@@ -12,6 +12,7 @@ export interface SaveRequestBuilder extends BaseRequestBuilder<SaveRequestBuilde
12
12
  * @throws {ErrorResponseBody} error when the service returns a 400 status code
13
13
  * @throws {ErrorResponseBody} error when the service returns a 401 status code
14
14
  * @throws {ErrorResponseBody} error when the service returns a 405 status code
15
+ * @throws {ErrorResponseBody} error when the service returns a 429 status code
15
16
  * @throws {ErrorResponseBody} error when the service returns a 500 status code
16
17
  */
17
18
  post(body: SavePlanRequestSchema, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<SavePlanResponseSchema | undefined>;
@@ -15,8 +15,10 @@ export interface PricesRequestBuilder extends BaseRequestBuilder<PricesRequestBu
15
15
  * List Prices
16
16
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
17
17
  * @returns {Promise<GetPriceListSchema>}
18
+ * @throws {ErrorResponseBody} error when the service returns a 400 status code
18
19
  * @throws {ErrorResponseBody} error when the service returns a 401 status code
19
20
  * @throws {ErrorResponseBody} error when the service returns a 405 status code
21
+ * @throws {ErrorResponseBody} error when the service returns a 429 status code
20
22
  * @throws {ErrorResponseBody} error when the service returns a 500 status code
21
23
  */
22
24
  get(requestConfiguration?: RequestConfiguration<PricesRequestBuilderGetQueryParameters> | undefined): Promise<GetPriceListSchema | undefined>;
@@ -12,10 +12,12 @@ export interface PricesItemRequestBuilder extends BaseRequestBuilder<PricesItemR
12
12
  /**
13
13
  * Delete Price
14
14
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
15
+ * @throws {ErrorResponseBody} error when the service returns a 400 status code
15
16
  * @throws {ErrorResponseBody} error when the service returns a 401 status code
16
17
  * @throws {ErrorResponseBody} error when the service returns a 403 status code
17
18
  * @throws {ErrorResponseBody} error when the service returns a 404 status code
18
19
  * @throws {ErrorResponseBody} error when the service returns a 405 status code
20
+ * @throws {ErrorResponseBody} error when the service returns a 429 status code
19
21
  * @throws {ErrorResponseBody} error when the service returns a 500 status code
20
22
  */
21
23
  delete(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<void>;
@@ -23,10 +25,12 @@ export interface PricesItemRequestBuilder extends BaseRequestBuilder<PricesItemR
23
25
  * Retrieve Price
24
26
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
25
27
  * @returns {Promise<GetPriceDetailSchema>}
28
+ * @throws {ErrorResponseBody} error when the service returns a 400 status code
26
29
  * @throws {ErrorResponseBody} error when the service returns a 401 status code
27
30
  * @throws {ErrorResponseBody} error when the service returns a 403 status code
28
31
  * @throws {ErrorResponseBody} error when the service returns a 404 status code
29
32
  * @throws {ErrorResponseBody} error when the service returns a 405 status code
33
+ * @throws {ErrorResponseBody} error when the service returns a 429 status code
30
34
  * @throws {ErrorResponseBody} error when the service returns a 500 status code
31
35
  */
32
36
  get(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<GetPriceDetailSchema | undefined>;
@@ -14,6 +14,7 @@ export interface CopyToLiveModeRequestBuilder extends BaseRequestBuilder<CopyToL
14
14
  * @throws {ErrorResponseBody} error when the service returns a 403 status code
15
15
  * @throws {ErrorResponseBody} error when the service returns a 404 status code
16
16
  * @throws {ErrorResponseBody} error when the service returns a 405 status code
17
+ * @throws {ErrorResponseBody} error when the service returns a 429 status code
17
18
  * @throws {ErrorResponseBody} error when the service returns a 500 status code
18
19
  */
19
20
  post(body: CopyProductToLiveModeRequestSchema, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<CopyToLiveModeSchema | undefined>;
@@ -12,6 +12,7 @@ export interface ExportItemRequestBuilder extends BaseRequestBuilder<ExportItemR
12
12
  * @throws {ErrorResponseBody} error when the service returns a 403 status code
13
13
  * @throws {ErrorResponseBody} error when the service returns a 404 status code
14
14
  * @throws {ErrorResponseBody} error when the service returns a 405 status code
15
+ * @throws {ErrorResponseBody} error when the service returns a 429 status code
15
16
  * @throws {ErrorResponseBody} error when the service returns a 500 status code
16
17
  */
17
18
  get(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<ArrayBuffer | undefined>;
@@ -9,8 +9,8 @@ export interface ImportRequestBuilder extends BaseRequestBuilder<ImportRequestBu
9
9
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
10
10
  * @throws {ErrorResponseBody} error when the service returns a 400 status code
11
11
  * @throws {ErrorResponseBody} error when the service returns a 401 status code
12
- * @throws {ErrorResponseBody} error when the service returns a 403 status code
13
12
  * @throws {ErrorResponseBody} error when the service returns a 405 status code
13
+ * @throws {ErrorResponseBody} error when the service returns a 429 status code
14
14
  * @throws {ErrorResponseBody} error when the service returns a 500 status code
15
15
  */
16
16
  post(body: MultipartBody, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<void>;
@@ -32,9 +32,10 @@ export interface ProductsRequestBuilder extends BaseRequestBuilder<ProductsReque
32
32
  * Returns a list of your products. The products are returned sorted by `createdAt`, with the most recently created products appearing first.
33
33
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
34
34
  * @returns {Promise<GetProductListSchema>}
35
+ * @throws {ErrorResponseBody} error when the service returns a 400 status code
35
36
  * @throws {ErrorResponseBody} error when the service returns a 401 status code
36
- * @throws {ErrorResponseBody} error when the service returns a 403 status code
37
37
  * @throws {ErrorResponseBody} error when the service returns a 405 status code
38
+ * @throws {ErrorResponseBody} error when the service returns a 429 status code
38
39
  * @throws {ErrorResponseBody} error when the service returns a 500 status code
39
40
  */
40
41
  get(requestConfiguration?: RequestConfiguration<ProductsRequestBuilderGetQueryParameters> | undefined): Promise<GetProductListSchema | undefined>;
@@ -45,8 +46,8 @@ export interface ProductsRequestBuilder extends BaseRequestBuilder<ProductsReque
45
46
  * @returns {Promise<CreateProductResponseSchema>}
46
47
  * @throws {ErrorResponseBody} error when the service returns a 400 status code
47
48
  * @throws {ErrorResponseBody} error when the service returns a 401 status code
48
- * @throws {ErrorResponseBody} error when the service returns a 403 status code
49
49
  * @throws {ErrorResponseBody} error when the service returns a 405 status code
50
+ * @throws {ErrorResponseBody} error when the service returns a 429 status code
50
51
  * @throws {ErrorResponseBody} error when the service returns a 500 status code
51
52
  */
52
53
  post(body: CreateProductRequestSchema, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<CreateProductResponseSchema | undefined>;
@@ -18,6 +18,7 @@ export interface ProductsItemRequestBuilder extends BaseRequestBuilder<ProductsI
18
18
  * @throws {ErrorResponseBody} error when the service returns a 403 status code
19
19
  * @throws {ErrorResponseBody} error when the service returns a 404 status code
20
20
  * @throws {ErrorResponseBody} error when the service returns a 405 status code
21
+ * @throws {ErrorResponseBody} error when the service returns a 429 status code
21
22
  * @throws {ErrorResponseBody} error when the service returns a 500 status code
22
23
  */
23
24
  delete(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<void>;
@@ -30,6 +31,7 @@ export interface ProductsItemRequestBuilder extends BaseRequestBuilder<ProductsI
30
31
  * @throws {ErrorResponseBody} error when the service returns a 403 status code
31
32
  * @throws {ErrorResponseBody} error when the service returns a 404 status code
32
33
  * @throws {ErrorResponseBody} error when the service returns a 405 status code
34
+ * @throws {ErrorResponseBody} error when the service returns a 429 status code
33
35
  * @throws {ErrorResponseBody} error when the service returns a 500 status code
34
36
  */
35
37
  get(requestConfiguration?: RequestConfiguration<ProductsItemRequestBuilderGetQueryParameters> | undefined): Promise<GetProductDetailSchema | undefined>;
@@ -43,6 +45,7 @@ export interface ProductsItemRequestBuilder extends BaseRequestBuilder<ProductsI
43
45
  * @throws {ErrorResponseBody} error when the service returns a 403 status code
44
46
  * @throws {ErrorResponseBody} error when the service returns a 404 status code
45
47
  * @throws {ErrorResponseBody} error when the service returns a 405 status code
48
+ * @throws {ErrorResponseBody} error when the service returns a 429 status code
46
49
  * @throws {ErrorResponseBody} error when the service returns a 500 status code
47
50
  */
48
51
  put(body: UpdateProductRequestSchema, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<UpdateProductResponseSchema | undefined>;
@@ -21,8 +21,10 @@ export interface ReceiptsRequestBuilder extends BaseRequestBuilder<ReceiptsReque
21
21
  * List Receipts
22
22
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
23
23
  * @returns {Promise<GetReceiptListSchema>}
24
+ * @throws {ErrorResponseBody} error when the service returns a 400 status code
24
25
  * @throws {ErrorResponseBody} error when the service returns a 401 status code
25
26
  * @throws {ErrorResponseBody} error when the service returns a 405 status code
27
+ * @throws {ErrorResponseBody} error when the service returns a 429 status code
26
28
  * @throws {ErrorResponseBody} error when the service returns a 500 status code
27
29
  */
28
30
  get(requestConfiguration?: RequestConfiguration<ReceiptsRequestBuilderGetQueryParameters> | undefined): Promise<GetReceiptListSchema | undefined>;
@@ -21,10 +21,12 @@ export interface ReceiptsItemRequestBuilder extends BaseRequestBuilder<ReceiptsI
21
21
  * Retrieve Receipt
22
22
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
23
23
  * @returns {Promise<GetReceiptDetailSchema>}
24
+ * @throws {ErrorResponseBody} error when the service returns a 400 status code
24
25
  * @throws {ErrorResponseBody} error when the service returns a 401 status code
25
26
  * @throws {ErrorResponseBody} error when the service returns a 403 status code
26
27
  * @throws {ErrorResponseBody} error when the service returns a 404 status code
27
28
  * @throws {ErrorResponseBody} error when the service returns a 405 status code
29
+ * @throws {ErrorResponseBody} error when the service returns a 429 status code
28
30
  * @throws {ErrorResponseBody} error when the service returns a 500 status code
29
31
  */
30
32
  get(requestConfiguration?: RequestConfiguration<ReceiptsItemRequestBuilderGetQueryParameters> | undefined): Promise<GetReceiptDetailSchema | undefined>;
@@ -11,6 +11,7 @@ export interface AccountSessionRequestBuilder extends BaseRequestBuilder<Account
11
11
  * @throws {ErrorResponseBody} error when the service returns a 400 status code
12
12
  * @throws {ErrorResponseBody} error when the service returns a 401 status code
13
13
  * @throws {ErrorResponseBody} error when the service returns a 405 status code
14
+ * @throws {ErrorResponseBody} error when the service returns a 429 status code
14
15
  * @throws {ErrorResponseBody} error when the service returns a 500 status code
15
16
  */
16
17
  post(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<CreateAccountSessionResponseSchema | undefined>;
@@ -19,6 +19,7 @@ export interface SubscriptionPlanLineItemsItemRequestBuilder extends BaseRequest
19
19
  * @throws {ErrorResponseBody} error when the service returns a 403 status code
20
20
  * @throws {ErrorResponseBody} error when the service returns a 404 status code
21
21
  * @throws {ErrorResponseBody} error when the service returns a 405 status code
22
+ * @throws {ErrorResponseBody} error when the service returns a 429 status code
22
23
  * @throws {ErrorResponseBody} error when the service returns a 500 status code
23
24
  */
24
25
  get(requestConfiguration?: RequestConfiguration<SubscriptionPlanLineItemsItemRequestBuilderGetQueryParameters> | undefined): Promise<GetSubscriptionPlanLineItemSchema | undefined>;
@@ -31,6 +32,7 @@ export interface SubscriptionPlanLineItemsItemRequestBuilder extends BaseRequest
31
32
  * @throws {ErrorResponseBody} error when the service returns a 403 status code
32
33
  * @throws {ErrorResponseBody} error when the service returns a 404 status code
33
34
  * @throws {ErrorResponseBody} error when the service returns a 405 status code
35
+ * @throws {ErrorResponseBody} error when the service returns a 429 status code
34
36
  * @throws {ErrorResponseBody} error when the service returns a 500 status code
35
37
  */
36
38
  put(body: UpdateSubscriptionPlanLineItemSchema, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<void>;
@@ -11,6 +11,7 @@ export interface SyncRequestBuilder extends BaseRequestBuilder<SyncRequestBuilde
11
11
  * @throws {ErrorResponseBody} error when the service returns a 403 status code
12
12
  * @throws {ErrorResponseBody} error when the service returns a 404 status code
13
13
  * @throws {ErrorResponseBody} error when the service returns a 405 status code
14
+ * @throws {ErrorResponseBody} error when the service returns a 429 status code
14
15
  * @throws {ErrorResponseBody} error when the service returns a 500 status code
15
16
  */
16
17
  put(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<void>;
@@ -404,9 +404,8 @@ export interface SubscriptionPlansRequestBuilder extends BaseRequestBuilder<Subs
404
404
  * @returns {Promise<SubscriptionPlansGetResponse>}
405
405
  * @throws {ErrorResponseBody} error when the service returns a 400 status code
406
406
  * @throws {ErrorResponseBody} error when the service returns a 401 status code
407
- * @throws {ErrorResponseBody} error when the service returns a 403 status code
408
- * @throws {ErrorResponseBody} error when the service returns a 404 status code
409
407
  * @throws {ErrorResponseBody} error when the service returns a 405 status code
408
+ * @throws {ErrorResponseBody} error when the service returns a 429 status code
410
409
  * @throws {ErrorResponseBody} error when the service returns a 500 status code
411
410
  */
412
411
  get(requestConfiguration?: RequestConfiguration<SubscriptionPlansRequestBuilderGetQueryParameters> | undefined): Promise<SubscriptionPlansGetResponse | undefined>;
@@ -1119,6 +1119,7 @@ export interface SubscriptionPlansItemRequestBuilder extends BaseRequestBuilder<
1119
1119
  * @throws {ErrorResponseBody} error when the service returns a 403 status code
1120
1120
  * @throws {ErrorResponseBody} error when the service returns a 404 status code
1121
1121
  * @throws {ErrorResponseBody} error when the service returns a 405 status code
1122
+ * @throws {ErrorResponseBody} error when the service returns a 429 status code
1122
1123
  * @throws {ErrorResponseBody} error when the service returns a 500 status code
1123
1124
  */
1124
1125
  get(requestConfiguration?: RequestConfiguration<SubscriptionPlansItemRequestBuilderGetQueryParameters> | undefined): Promise<SubscriptionPlansGetResponse | undefined>;
@@ -35,6 +35,7 @@ export interface SeatsRequestBuilder extends BaseRequestBuilder<SeatsRequestBuil
35
35
  * @throws {ErrorResponseBody} error when the service returns a 403 status code
36
36
  * @throws {ErrorResponseBody} error when the service returns a 404 status code
37
37
  * @throws {ErrorResponseBody} error when the service returns a 405 status code
38
+ * @throws {ErrorResponseBody} error when the service returns a 429 status code
38
39
  * @throws {ErrorResponseBody} error when the service returns a 500 status code
39
40
  */
40
41
  put(body: SeatsPutRequestBody, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<void>;
@@ -12,6 +12,7 @@ export interface BatchRequestBuilder extends BaseRequestBuilder<BatchRequestBuil
12
12
  * @throws {ErrorResponseBody} error when the service returns a 400 status code
13
13
  * @throws {ErrorResponseBody} error when the service returns a 401 status code
14
14
  * @throws {ErrorResponseBody} error when the service returns a 403 status code
15
+ * @throws {ErrorResponseBody} error when the service returns a 404 status code
15
16
  * @throws {ErrorResponseBody} error when the service returns a 405 status code
16
17
  * @throws {ErrorResponseBody} error when the service returns a 429 status code
17
18
  * @throws {ErrorResponseBody} error when the service returns a 500 status code
@@ -242,8 +242,10 @@ export interface SubscriptionsRequestBuilder extends BaseRequestBuilder<Subscrip
242
242
  * Returns a list of your subscriptions. The subscriptions are returned sorted by creation date, with the most recently created subscriptions appearing first.
243
243
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
244
244
  * @returns {Promise<GetSubscriptionListSchema>}
245
+ * @throws {ErrorResponseBody} error when the service returns a 400 status code
245
246
  * @throws {ErrorResponseBody} error when the service returns a 401 status code
246
247
  * @throws {ErrorResponseBody} error when the service returns a 405 status code
248
+ * @throws {ErrorResponseBody} error when the service returns a 429 status code
247
249
  * @throws {ErrorResponseBody} error when the service returns a 500 status code
248
250
  */
249
251
  get(requestConfiguration?: RequestConfiguration<SubscriptionsRequestBuilderGetQueryParameters> | undefined): Promise<GetSubscriptionListSchema | undefined>;
@@ -11,6 +11,7 @@ export interface AutoRenewRequestBuilder extends BaseRequestBuilder<AutoRenewReq
11
11
  * @throws {ErrorResponseBody} error when the service returns a 403 status code
12
12
  * @throws {ErrorResponseBody} error when the service returns a 404 status code
13
13
  * @throws {ErrorResponseBody} error when the service returns a 405 status code
14
+ * @throws {ErrorResponseBody} error when the service returns a 429 status code
14
15
  * @throws {ErrorResponseBody} error when the service returns a 500 status code
15
16
  */
16
17
  put(requestConfiguration?: RequestConfiguration<AutoRenewRequestBuilderPutQueryParameters> | undefined): Promise<void>;
@@ -51,6 +51,8 @@ export interface SubscriptionsItemRequestBuilder extends BaseRequestBuilder<Subs
51
51
  * @throws {ErrorResponseBody} error when the service returns a 403 status code
52
52
  * @throws {ErrorResponseBody} error when the service returns a 404 status code
53
53
  * @throws {ErrorResponseBody} error when the service returns a 405 status code
54
+ * @throws {ErrorResponseBody} error when the service returns a 429 status code
55
+ * @throws {ErrorResponseBody} error when the service returns a 500 status code
54
56
  */
55
57
  get(requestConfiguration?: RequestConfiguration<SubscriptionsItemRequestBuilderGetQueryParameters> | undefined): Promise<GetSubscriptionDetailSchema | undefined>;
56
58
  /**
@@ -14,6 +14,7 @@ export interface InvoicesRequestBuilder extends BaseRequestBuilder<InvoicesReque
14
14
  * @throws {ErrorResponseBody} error when the service returns a 403 status code
15
15
  * @throws {ErrorResponseBody} error when the service returns a 404 status code
16
16
  * @throws {ErrorResponseBody} error when the service returns a 405 status code
17
+ * @throws {ErrorResponseBody} error when the service returns a 429 status code
17
18
  * @throws {ErrorResponseBody} error when the service returns a 500 status code
18
19
  */
19
20
  get(requestConfiguration?: RequestConfiguration<InvoicesRequestBuilderGetQueryParameters> | undefined): Promise<GetSubscriptionInvoicesSchema | undefined>;
@@ -13,6 +13,7 @@ export interface ItemsRequestBuilder extends BaseRequestBuilder<ItemsRequestBuil
13
13
  * @throws {ErrorResponseBody} error when the service returns a 403 status code
14
14
  * @throws {ErrorResponseBody} error when the service returns a 404 status code
15
15
  * @throws {ErrorResponseBody} error when the service returns a 405 status code
16
+ * @throws {ErrorResponseBody} error when the service returns a 429 status code
16
17
  * @throws {ErrorResponseBody} error when the service returns a 500 status code
17
18
  */
18
19
  put(body: UpdateSubscriptionItemsRequestSchema, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<void>;
@@ -14,6 +14,8 @@ export interface PortalRequestBuilder extends BaseRequestBuilder<PortalRequestBu
14
14
  * @throws {ErrorResponseBody} error when the service returns a 403 status code
15
15
  * @throws {ErrorResponseBody} error when the service returns a 404 status code
16
16
  * @throws {ErrorResponseBody} error when the service returns a 405 status code
17
+ * @throws {ErrorResponseBody} error when the service returns a 429 status code
18
+ * @throws {ErrorResponseBody} error when the service returns a 500 status code
17
19
  */
18
20
  post(body: CreatePortalRequestSchema, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<CreatePortalResponseSchema | undefined>;
19
21
  /**
@@ -8,9 +8,10 @@ export interface TierTagsRequestBuilder extends BaseRequestBuilder<TierTagsReque
8
8
  * List Tier Tags
9
9
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
10
10
  * @returns {Promise<GetTierTagsListSchema>}
11
+ * @throws {ErrorResponseBody} error when the service returns a 400 status code
11
12
  * @throws {ErrorResponseBody} error when the service returns a 401 status code
12
- * @throws {ErrorResponseBody} error when the service returns a 403 status code
13
13
  * @throws {ErrorResponseBody} error when the service returns a 405 status code
14
+ * @throws {ErrorResponseBody} error when the service returns a 429 status code
14
15
  * @throws {ErrorResponseBody} error when the service returns a 500 status code
15
16
  */
16
17
  get(requestConfiguration?: RequestConfiguration<TierTagsRequestBuilderGetQueryParameters> | undefined): Promise<GetTierTagsListSchema | undefined>;
@@ -22,6 +23,7 @@ export interface TierTagsRequestBuilder extends BaseRequestBuilder<TierTagsReque
22
23
  * @throws {ErrorResponseBody} error when the service returns a 400 status code
23
24
  * @throws {ErrorResponseBody} error when the service returns a 401 status code
24
25
  * @throws {ErrorResponseBody} error when the service returns a 405 status code
26
+ * @throws {ErrorResponseBody} error when the service returns a 429 status code
25
27
  * @throws {ErrorResponseBody} error when the service returns a 500 status code
26
28
  */
27
29
  post(body: CreateTierTagRequestSchema, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<CreateTierTagSchema | undefined>;
@@ -15,9 +15,10 @@ export interface TiersRequestBuilder extends BaseRequestBuilder<TiersRequestBuil
15
15
  * List Tiers
16
16
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
17
17
  * @returns {Promise<GetTierListSchema>}
18
+ * @throws {ErrorResponseBody} error when the service returns a 400 status code
18
19
  * @throws {ErrorResponseBody} error when the service returns a 401 status code
19
- * @throws {ErrorResponseBody} error when the service returns a 403 status code
20
20
  * @throws {ErrorResponseBody} error when the service returns a 405 status code
21
+ * @throws {ErrorResponseBody} error when the service returns a 429 status code
21
22
  * @throws {ErrorResponseBody} error when the service returns a 500 status code
22
23
  */
23
24
  get(requestConfiguration?: RequestConfiguration<TiersRequestBuilderGetQueryParameters> | undefined): Promise<GetTierListSchema | undefined>;
@@ -8,9 +8,12 @@ export interface TiersItemRequestBuilder extends BaseRequestBuilder<TiersItemReq
8
8
  * Retrieve Tier
9
9
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
10
10
  * @returns {Promise<GetTierDetailSchema>}
11
+ * @throws {ErrorResponseBody} error when the service returns a 400 status code
11
12
  * @throws {ErrorResponseBody} error when the service returns a 401 status code
12
13
  * @throws {ErrorResponseBody} error when the service returns a 403 status code
14
+ * @throws {ErrorResponseBody} error when the service returns a 404 status code
13
15
  * @throws {ErrorResponseBody} error when the service returns a 405 status code
16
+ * @throws {ErrorResponseBody} error when the service returns a 429 status code
14
17
  * @throws {ErrorResponseBody} error when the service returns a 500 status code
15
18
  */
16
19
  get(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<GetTierDetailSchema | undefined>;
@@ -11,7 +11,10 @@ export interface RecordRequestBuilder extends BaseRequestBuilder<RecordRequestBu
11
11
  * @throws {ErrorResponseBody} error when the service returns a 400 status code
12
12
  * @throws {ErrorResponseBody} error when the service returns a 401 status code
13
13
  * @throws {ErrorResponseBody} error when the service returns a 403 status code
14
+ * @throws {ErrorResponseBody} error when the service returns a 404 status code
14
15
  * @throws {ErrorResponseBody} error when the service returns a 405 status code
16
+ * @throws {ErrorResponseBody} error when the service returns a 409 status code
17
+ * @throws {ErrorResponseBody} error when the service returns a 429 status code
15
18
  * @throws {ErrorResponseBody} error when the service returns a 500 status code
16
19
  */
17
20
  post(body: RecordUsageRequestSchema, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<void>;
@@ -14,6 +14,7 @@ export interface UsageRecordsRequestBuilder extends BaseRequestBuilder<UsageReco
14
14
  * @throws {ErrorResponseBody} error when the service returns a 401 status code
15
15
  * @throws {ErrorResponseBody} error when the service returns a 403 status code
16
16
  * @throws {ErrorResponseBody} error when the service returns a 405 status code
17
+ * @throws {ErrorResponseBody} error when the service returns a 429 status code
17
18
  * @throws {ErrorResponseBody} error when the service returns a 500 status code
18
19
  */
19
20
  get(requestConfiguration?: RequestConfiguration<UsageRecordsRequestBuilderGetQueryParameters> | undefined): Promise<GetUsageListSchema | undefined>;
@@ -18,8 +18,8 @@ export interface WebhooksRequestBuilder extends BaseRequestBuilder<WebhooksReque
18
18
  * @returns {Promise<GetWebhookListSchema>}
19
19
  * @throws {ErrorResponseBody} error when the service returns a 400 status code
20
20
  * @throws {ErrorResponseBody} error when the service returns a 401 status code
21
- * @throws {ErrorResponseBody} error when the service returns a 403 status code
22
21
  * @throws {ErrorResponseBody} error when the service returns a 405 status code
22
+ * @throws {ErrorResponseBody} error when the service returns a 429 status code
23
23
  * @throws {ErrorResponseBody} error when the service returns a 500 status code
24
24
  */
25
25
  get(requestConfiguration?: RequestConfiguration<WebhooksRequestBuilderGetQueryParameters> | undefined): Promise<GetWebhookListSchema | undefined>;
@@ -30,8 +30,8 @@ export interface WebhooksRequestBuilder extends BaseRequestBuilder<WebhooksReque
30
30
  * @returns {Promise<CreateWebhookRequestResponseSchema>}
31
31
  * @throws {ErrorResponseBody} error when the service returns a 400 status code
32
32
  * @throws {ErrorResponseBody} error when the service returns a 401 status code
33
- * @throws {ErrorResponseBody} error when the service returns a 403 status code
34
33
  * @throws {ErrorResponseBody} error when the service returns a 405 status code
34
+ * @throws {ErrorResponseBody} error when the service returns a 429 status code
35
35
  * @throws {ErrorResponseBody} error when the service returns a 500 status code
36
36
  */
37
37
  post(body: CreateWebhookRequestSchema, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<CreateWebhookRequestResponseSchema | undefined>;
@@ -11,7 +11,9 @@ export interface WebhooksItemRequestBuilder extends BaseRequestBuilder<WebhooksI
11
11
  * @throws {ErrorResponseBody} error when the service returns a 400 status code
12
12
  * @throws {ErrorResponseBody} error when the service returns a 401 status code
13
13
  * @throws {ErrorResponseBody} error when the service returns a 403 status code
14
+ * @throws {ErrorResponseBody} error when the service returns a 404 status code
14
15
  * @throws {ErrorResponseBody} error when the service returns a 405 status code
16
+ * @throws {ErrorResponseBody} error when the service returns a 429 status code
15
17
  * @throws {ErrorResponseBody} error when the service returns a 500 status code
16
18
  */
17
19
  delete(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<void>;
@@ -22,7 +24,9 @@ export interface WebhooksItemRequestBuilder extends BaseRequestBuilder<WebhooksI
22
24
  * @throws {ErrorResponseBody} error when the service returns a 400 status code
23
25
  * @throws {ErrorResponseBody} error when the service returns a 401 status code
24
26
  * @throws {ErrorResponseBody} error when the service returns a 403 status code
27
+ * @throws {ErrorResponseBody} error when the service returns a 404 status code
25
28
  * @throws {ErrorResponseBody} error when the service returns a 405 status code
29
+ * @throws {ErrorResponseBody} error when the service returns a 429 status code
26
30
  * @throws {ErrorResponseBody} error when the service returns a 500 status code
27
31
  */
28
32
  get(requestConfiguration?: RequestConfiguration<WebhooksItemRequestBuilderGetQueryParameters> | undefined): Promise<GetWebhookDetailSchema | undefined>;
@@ -33,7 +37,9 @@ export interface WebhooksItemRequestBuilder extends BaseRequestBuilder<WebhooksI
33
37
  * @throws {ErrorResponseBody} error when the service returns a 400 status code
34
38
  * @throws {ErrorResponseBody} error when the service returns a 401 status code
35
39
  * @throws {ErrorResponseBody} error when the service returns a 403 status code
40
+ * @throws {ErrorResponseBody} error when the service returns a 404 status code
36
41
  * @throws {ErrorResponseBody} error when the service returns a 405 status code
42
+ * @throws {ErrorResponseBody} error when the service returns a 429 status code
37
43
  * @throws {ErrorResponseBody} error when the service returns a 500 status code
38
44
  */
39
45
  patch(body: UpdateWebhookRequestSchema, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<void>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salable/sdk",
3
- "version": "1.0.21",
3
+ "version": "1.0.23",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.es.js",