@salable/sdk 1.0.22 → 1.0.24

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 (70) hide show
  1. package/dist/index.es.js +397 -151
  2. package/dist/index.es.js.map +1 -1
  3. package/dist/index.js +397 -151
  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 +3 -2
  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 +15 -1
  34. package/dist/sdk/api/owners/item/portal/index.d.ts +36 -0
  35. package/dist/sdk/api/paymentIntegrations/index.d.ts +5 -0
  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 +17 -3
  53. package/dist/sdk/api/subscriptionPlans/item/index.d.ts +17 -1
  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 -20
  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 +10 -6
  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 +5 -2
  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/dist/sdk/models/index.d.ts +600 -190
  70. package/package.json +1 -1
@@ -1,18 +1,25 @@
1
1
  import { type GetOwnerDetailSchema, type UpdateOwnerRequestSchema } from '../../../models/index.js';
2
- import { type BaseRequestBuilder, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
2
+ import { type PortalRequestBuilder } from './portal/index.js';
3
+ import { type BaseRequestBuilder, type KeysToExcludeForNavigationMetadata, type NavigationMetadata, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
3
4
  export type GetExpandQueryParameterType = (typeof GetExpandQueryParameterTypeObject)[keyof typeof GetExpandQueryParameterTypeObject];
4
5
  /**
5
6
  * Builds and executes requests for operations under /api/owners/{id}
6
7
  */
7
8
  export interface OwnersItemRequestBuilder extends BaseRequestBuilder<OwnersItemRequestBuilder> {
9
+ /**
10
+ * The portal property
11
+ */
12
+ get portal(): PortalRequestBuilder;
8
13
  /**
9
14
  * Delete Owner
10
15
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
16
+ * @throws {ErrorResponseBody} error when the service returns a 400 status code
11
17
  * @throws {ErrorResponseBody} error when the service returns a 401 status code
12
18
  * @throws {ErrorResponseBody} error when the service returns a 403 status code
13
19
  * @throws {ErrorResponseBody} error when the service returns a 404 status code
14
20
  * @throws {ErrorResponseBody} error when the service returns a 405 status code
15
21
  * @throws {ErrorResponseBody} error when the service returns a 409 status code
22
+ * @throws {ErrorResponseBody} error when the service returns a 429 status code
16
23
  * @throws {ErrorResponseBody} error when the service returns a 500 status code
17
24
  */
18
25
  delete(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<void>;
@@ -20,10 +27,12 @@ export interface OwnersItemRequestBuilder extends BaseRequestBuilder<OwnersItemR
20
27
  * Retrieve Owner
21
28
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
22
29
  * @returns {Promise<GetOwnerDetailSchema>}
30
+ * @throws {ErrorResponseBody} error when the service returns a 400 status code
23
31
  * @throws {ErrorResponseBody} error when the service returns a 401 status code
24
32
  * @throws {ErrorResponseBody} error when the service returns a 403 status code
25
33
  * @throws {ErrorResponseBody} error when the service returns a 404 status code
26
34
  * @throws {ErrorResponseBody} error when the service returns a 405 status code
35
+ * @throws {ErrorResponseBody} error when the service returns a 429 status code
27
36
  * @throws {ErrorResponseBody} error when the service returns a 500 status code
28
37
  */
29
38
  get(requestConfiguration?: RequestConfiguration<OwnersItemRequestBuilderGetQueryParameters> | undefined): Promise<GetOwnerDetailSchema | undefined>;
@@ -36,6 +45,7 @@ export interface OwnersItemRequestBuilder extends BaseRequestBuilder<OwnersItemR
36
45
  * @throws {ErrorResponseBody} error when the service returns a 403 status code
37
46
  * @throws {ErrorResponseBody} error when the service returns a 404 status code
38
47
  * @throws {ErrorResponseBody} error when the service returns a 405 status code
48
+ * @throws {ErrorResponseBody} error when the service returns a 429 status code
39
49
  * @throws {ErrorResponseBody} error when the service returns a 500 status code
40
50
  */
41
51
  put(body: UpdateOwnerRequestSchema, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<void>;
@@ -74,6 +84,10 @@ export declare const GetExpandQueryParameterTypeObject: {
74
84
  readonly Subscriptions: "subscriptions";
75
85
  readonly Groups: "groups";
76
86
  };
87
+ /**
88
+ * Metadata for all the navigation properties in the request builder.
89
+ */
90
+ export declare const OwnersItemRequestBuilderNavigationMetadata: Record<Exclude<keyof OwnersItemRequestBuilder, KeysToExcludeForNavigationMetadata>, NavigationMetadata>;
77
91
  /**
78
92
  * Metadata for all the requests in the request builder.
79
93
  */
@@ -0,0 +1,36 @@
1
+ import { type CreateOwnerPortalRequestSchema, type CreateOwnerPortalResponseSchema } from '../../../../models/index.js';
2
+ import { type BaseRequestBuilder, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
3
+ /**
4
+ * Builds and executes requests for operations under /api/owners/{id}/portal
5
+ */
6
+ export interface PortalRequestBuilder extends BaseRequestBuilder<PortalRequestBuilder> {
7
+ /**
8
+ * Creates a Stripe billing portal session for the specified owner, returning a URL to redirect the customer to. The portal is scoped to the owner and shows all subscriptions belonging to that customer. The portal features available are configured per request.
9
+ * @param body The request body
10
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
11
+ * @returns {Promise<CreateOwnerPortalResponseSchema>}
12
+ * @throws {ErrorResponseBody} error when the service returns a 400 status code
13
+ * @throws {ErrorResponseBody} error when the service returns a 401 status code
14
+ * @throws {ErrorResponseBody} error when the service returns a 403 status code
15
+ * @throws {ErrorResponseBody} error when the service returns a 404 status code
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
19
+ */
20
+ post(body: CreateOwnerPortalRequestSchema, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<CreateOwnerPortalResponseSchema | undefined>;
21
+ /**
22
+ * Creates a Stripe billing portal session for the specified owner, returning a URL to redirect the customer to. The portal is scoped to the owner and shows all subscriptions belonging to that customer. The portal features available are configured per request.
23
+ * @param body The request body
24
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
25
+ * @returns {RequestInformation}
26
+ */
27
+ toPostRequestInformation(body: CreateOwnerPortalRequestSchema, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
28
+ }
29
+ /**
30
+ * Uri template for the request builder.
31
+ */
32
+ export declare const PortalRequestBuilderUriTemplate = "{+baseurl}/api/owners/{id}/portal";
33
+ /**
34
+ * Metadata for all the requests in the request builder.
35
+ */
36
+ export declare const PortalRequestBuilderRequestsMetadata: RequestsMetadata;
@@ -33,8 +33,11 @@ export interface PaymentIntegrationsRequestBuilder extends BaseRequestBuilder<Pa
33
33
  * List Payment Integrations
34
34
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
35
35
  * @returns {Promise<GetPaymentIntegrationListSchema>}
36
+ * @throws {ErrorResponseBody} error when the service returns a 400 status code
36
37
  * @throws {ErrorResponseBody} error when the service returns a 401 status code
38
+ * @throws {ErrorResponseBody} error when the service returns a 403 status code
37
39
  * @throws {ErrorResponseBody} error when the service returns a 405 status code
40
+ * @throws {ErrorResponseBody} error when the service returns a 429 status code
38
41
  * @throws {ErrorResponseBody} error when the service returns a 500 status code
39
42
  */
40
43
  get(requestConfiguration?: RequestConfiguration<PaymentIntegrationsRequestBuilderGetQueryParameters> | undefined): Promise<GetPaymentIntegrationListSchema | undefined>;
@@ -44,7 +47,9 @@ export interface PaymentIntegrationsRequestBuilder extends BaseRequestBuilder<Pa
44
47
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
45
48
  * @throws {ErrorResponseBody} error when the service returns a 400 status code
46
49
  * @throws {ErrorResponseBody} error when the service returns a 401 status code
50
+ * @throws {ErrorResponseBody} error when the service returns a 403 status code
47
51
  * @throws {ErrorResponseBody} error when the service returns a 405 status code
52
+ * @throws {ErrorResponseBody} error when the service returns a 429 status code
48
53
  * @throws {ErrorResponseBody} error when the service returns a 500 status code
49
54
  */
50
55
  post(body: PaymentIntegrationsPostRequestBody, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<void>;
@@ -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>;
@@ -6,6 +6,12 @@ import { type AdditionalDataHolder, type BaseRequestBuilder, type KeysToExcludeF
6
6
  * @returns {SubscriptionPlansGetResponse_data_plan}
7
7
  */
8
8
  export declare function createSubscriptionPlansGetResponse_data_planFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
9
+ /**
10
+ * Creates a new instance of the appropriate class based on discriminator value
11
+ * @param parseNode The parse node to use to read the discriminator value and create the object
12
+ * @returns {string}
13
+ */
14
+ export declare function createSubscriptionPlansGetResponse_data_subscriptionPlanLineItems_data_lineItem_priceTypeFromDiscriminatorValue(parseNode: ParseNode | undefined): string | undefined;
9
15
  /**
10
16
  * Creates a new instance of the appropriate class based on discriminator value
11
17
  * @param parseNode The parse node to use to read the discriminator value and create the object
@@ -116,6 +122,14 @@ export declare function serializeSubscriptionPlansGetResponse_data_subscriptionP
116
122
  * @param writer Serialization writer to use to serialize this model
117
123
  */
118
124
  export declare function serializeSubscriptionPlansGetResponse_data_subscriptionPlanLineItems_data_lineItem(writer: SerializationWriter, subscriptionPlansGetResponse_data_subscriptionPlanLineItems_data_lineItem?: Partial<SubscriptionPlansGetResponse_data_subscriptionPlanLineItems_data_lineItem> | undefined | null, isSerializingDerivedType?: boolean): void;
125
+ /**
126
+ * Serializes information the current object
127
+ * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
128
+ * @param key The name of the property to write in the serialization.
129
+ * @param SubscriptionPlansGetResponse_data_subscriptionPlanLineItems_data_lineItem_priceType The instance to serialize from.
130
+ * @param writer Serialization writer to use to serialize this model
131
+ */
132
+ export declare function serializeSubscriptionPlansGetResponse_data_subscriptionPlanLineItems_data_lineItem_priceType(writer: SerializationWriter, key: string, subscriptionPlansGetResponse_data_subscriptionPlanLineItems_data_lineItem_priceType: Parsable | SubscriptionPlansGetResponse_data_subscriptionPlanLineItems_data_lineItem_priceType | undefined, isSerializingDerivedType?: boolean): void;
119
133
  export interface SubscriptionPlansGetResponse extends Parsable {
120
134
  /**
121
135
  * The data property
@@ -366,7 +380,7 @@ export interface SubscriptionPlansGetResponse_data_subscriptionPlanLineItems_dat
366
380
  /**
367
381
  * The priceType property
368
382
  */
369
- priceType?: UntypedNode | null;
383
+ priceType?: string | null;
370
384
  /**
371
385
  * The slug property
372
386
  */
@@ -388,6 +402,7 @@ export interface SubscriptionPlansGetResponse_data_subscriptionPlanLineItems_dat
388
402
  */
389
403
  updatedAt?: string | null;
390
404
  }
405
+ export type SubscriptionPlansGetResponse_data_subscriptionPlanLineItems_data_lineItem_priceType = string;
391
406
  /**
392
407
  * Builds and executes requests for operations under /api/subscription-plans
393
408
  */
@@ -404,9 +419,8 @@ export interface SubscriptionPlansRequestBuilder extends BaseRequestBuilder<Subs
404
419
  * @returns {Promise<SubscriptionPlansGetResponse>}
405
420
  * @throws {ErrorResponseBody} error when the service returns a 400 status code
406
421
  * @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
422
  * @throws {ErrorResponseBody} error when the service returns a 405 status code
423
+ * @throws {ErrorResponseBody} error when the service returns a 429 status code
410
424
  * @throws {ErrorResponseBody} error when the service returns a 500 status code
411
425
  */
412
426
  get(requestConfiguration?: RequestConfiguration<SubscriptionPlansRequestBuilderGetQueryParameters> | undefined): Promise<SubscriptionPlansGetResponse | undefined>;
@@ -78,6 +78,12 @@ export declare function createSubscriptionPlansGetResponse_data_subscriptionFrom
78
78
  * @returns {SubscriptionPlansGetResponse_data_subscriptionPlanLineItems_data_lineItem_meter}
79
79
  */
80
80
  export declare function createSubscriptionPlansGetResponse_data_subscriptionPlanLineItems_data_lineItem_meterFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
81
+ /**
82
+ * Creates a new instance of the appropriate class based on discriminator value
83
+ * @param parseNode The parse node to use to read the discriminator value and create the object
84
+ * @returns {string}
85
+ */
86
+ export declare function createSubscriptionPlansGetResponse_data_subscriptionPlanLineItems_data_lineItem_priceTypeFromDiscriminatorValue(parseNode: ParseNode | undefined): string | undefined;
81
87
  /**
82
88
  * Creates a new instance of the appropriate class based on discriminator value
83
89
  * @param parseNode The parse node to use to read the discriminator value and create the object
@@ -451,6 +457,14 @@ export declare function serializeSubscriptionPlansGetResponse_data_subscriptionP
451
457
  * @param writer Serialization writer to use to serialize this model
452
458
  */
453
459
  export declare function serializeSubscriptionPlansGetResponse_data_subscriptionPlanLineItems_data_lineItem_meter(writer: SerializationWriter, subscriptionPlansGetResponse_data_subscriptionPlanLineItems_data_lineItem_meter?: Partial<SubscriptionPlansGetResponse_data_subscriptionPlanLineItems_data_lineItem_meter> | undefined | null, isSerializingDerivedType?: boolean): void;
460
+ /**
461
+ * Serializes information the current object
462
+ * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
463
+ * @param key The name of the property to write in the serialization.
464
+ * @param SubscriptionPlansGetResponse_data_subscriptionPlanLineItems_data_lineItem_priceType The instance to serialize from.
465
+ * @param writer Serialization writer to use to serialize this model
466
+ */
467
+ export declare function serializeSubscriptionPlansGetResponse_data_subscriptionPlanLineItems_data_lineItem_priceType(writer: SerializationWriter, key: string, subscriptionPlansGetResponse_data_subscriptionPlanLineItems_data_lineItem_priceType: Parsable | SubscriptionPlansGetResponse_data_subscriptionPlanLineItems_data_lineItem_priceType | undefined, isSerializingDerivedType?: boolean): void;
454
468
  /**
455
469
  * Serializes information the current object
456
470
  * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
@@ -947,7 +961,7 @@ export interface SubscriptionPlansGetResponse_data_subscriptionPlanLineItems_dat
947
961
  /**
948
962
  * The priceType property
949
963
  */
950
- priceType?: UntypedNode | null;
964
+ priceType?: string | null;
951
965
  /**
952
966
  * The slug property
953
967
  */
@@ -999,6 +1013,7 @@ export interface SubscriptionPlansGetResponse_data_subscriptionPlanLineItems_dat
999
1013
  */
1000
1014
  updatedAt?: string | null;
1001
1015
  }
1016
+ export type SubscriptionPlansGetResponse_data_subscriptionPlanLineItems_data_lineItem_priceType = string;
1002
1017
  export interface SubscriptionPlansGetResponse_data_subscriptionPlanLineItems_data_usage extends AdditionalDataHolder, Parsable {
1003
1018
  /**
1004
1019
  * The createdAt property
@@ -1119,6 +1134,7 @@ export interface SubscriptionPlansItemRequestBuilder extends BaseRequestBuilder<
1119
1134
  * @throws {ErrorResponseBody} error when the service returns a 403 status code
1120
1135
  * @throws {ErrorResponseBody} error when the service returns a 404 status code
1121
1136
  * @throws {ErrorResponseBody} error when the service returns a 405 status code
1137
+ * @throws {ErrorResponseBody} error when the service returns a 429 status code
1122
1138
  * @throws {ErrorResponseBody} error when the service returns a 500 status code
1123
1139
  */
1124
1140
  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>;
@@ -1,4 +1,4 @@
1
- import { type GetSubscriptionDetailSchema, type UpdateSalableOnlySubscriptionRequestSchema } from '../../../models/index.js';
1
+ import { type GetSubscriptionDetailSchema } from '../../../models/index.js';
2
2
  import { type AutoRenewRequestBuilder } from './autoRenew/index.js';
3
3
  import { type CancelRequestBuilder } from './cancel/index.js';
4
4
  import { type InvoicesRequestBuilder } from './invoices/index.js';
@@ -51,21 +51,10 @@ 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
- */
55
- get(requestConfiguration?: RequestConfiguration<SubscriptionsItemRequestBuilderGetQueryParameters> | undefined): Promise<GetSubscriptionDetailSchema | undefined>;
56
- /**
57
- * Updates the interval and intervalCount on a Salable Only subscription. Both fields must be set together or both set to null. Setting both to null removes the interval from the subscription, which is only permitted if the subscription has no metered line items.
58
- * @param body The request body
59
- * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
60
- * @throws {ErrorResponseBody} error when the service returns a 400 status code
61
- * @throws {ErrorResponseBody} error when the service returns a 401 status code
62
- * @throws {ErrorResponseBody} error when the service returns a 403 status code
63
- * @throws {ErrorResponseBody} error when the service returns a 404 status code
64
- * @throws {ErrorResponseBody} error when the service returns a 405 status code
65
54
  * @throws {ErrorResponseBody} error when the service returns a 429 status code
66
55
  * @throws {ErrorResponseBody} error when the service returns a 500 status code
67
56
  */
68
- put(body: UpdateSalableOnlySubscriptionRequestSchema, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<void>;
57
+ get(requestConfiguration?: RequestConfiguration<SubscriptionsItemRequestBuilderGetQueryParameters> | undefined): Promise<GetSubscriptionDetailSchema | undefined>;
69
58
  /**
70
59
  * Permanently deletes a subscription. This endpoint is only available in test mode. For recurring subscriptions that are not already canceled, this will first cancel the subscription on Stripe before deleting it.
71
60
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
@@ -78,13 +67,6 @@ export interface SubscriptionsItemRequestBuilder extends BaseRequestBuilder<Subs
78
67
  * @returns {RequestInformation}
79
68
  */
80
69
  toGetRequestInformation(requestConfiguration?: RequestConfiguration<SubscriptionsItemRequestBuilderGetQueryParameters> | undefined): RequestInformation;
81
- /**
82
- * Updates the interval and intervalCount on a Salable Only subscription. Both fields must be set together or both set to null. Setting both to null removes the interval from the subscription, which is only permitted if the subscription has no metered line items.
83
- * @param body The request body
84
- * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
85
- * @returns {RequestInformation}
86
- */
87
- toPutRequestInformation(body: UpdateSalableOnlySubscriptionRequestSchema, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
88
70
  }
89
71
  /**
90
72
  * Retrieves the details of a subscription.
@@ -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>;