@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
@@ -15,9 +15,11 @@ export interface ApiKeysRequestBuilder extends BaseRequestBuilder<ApiKeysRequest
15
15
  * List Api Keys
16
16
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
17
17
  * @returns {Promise<GetApiKeyListSchema>}
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 403 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
  get(requestConfiguration?: RequestConfiguration<ApiKeysRequestBuilderGetQueryParameters> | undefined): Promise<GetApiKeyListSchema | undefined>;
@@ -25,9 +27,11 @@ export interface ApiKeysRequestBuilder extends BaseRequestBuilder<ApiKeysRequest
25
27
  * Create API key
26
28
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
27
29
  * @returns {Promise<CreateApiKeyResponseSchema>}
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 405 status code
34
+ * @throws {ErrorResponseBody} error when the service returns a 429 status code
31
35
  * @throws {ErrorResponseBody} error when the service returns a 500 status code
32
36
  */
33
37
  post(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<CreateApiKeyResponseSchema | undefined>;
@@ -4,33 +4,19 @@ import { type BaseRequestBuilder, type RequestConfiguration, type RequestInforma
4
4
  * Builds and executes requests for operations under /api/api-keys/{id}
5
5
  */
6
6
  export interface ApiKeysItemRequestBuilder extends BaseRequestBuilder<ApiKeysItemRequestBuilder> {
7
- /**
8
- * Delete API Key
9
- * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
10
- * @throws {ErrorResponseBody} error when the service returns a 401 status code
11
- * @throws {ErrorResponseBody} error when the service returns a 403 status code
12
- * @throws {ErrorResponseBody} error when the service returns a 404 status code
13
- * @throws {ErrorResponseBody} error when the service returns a 405 status code
14
- * @throws {ErrorResponseBody} error when the service returns a 500 status code
15
- */
16
- delete(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<void>;
17
7
  /**
18
8
  * Retrieve API Key
19
9
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
20
10
  * @returns {Promise<GetApiKeyDetailSchema>}
11
+ * @throws {ErrorResponseBody} error when the service returns a 400 status code
21
12
  * @throws {ErrorResponseBody} error when the service returns a 401 status code
22
13
  * @throws {ErrorResponseBody} error when the service returns a 403 status code
23
14
  * @throws {ErrorResponseBody} error when the service returns a 404 status code
24
15
  * @throws {ErrorResponseBody} error when the service returns a 405 status code
16
+ * @throws {ErrorResponseBody} error when the service returns a 429 status code
25
17
  * @throws {ErrorResponseBody} error when the service returns a 500 status code
26
18
  */
27
19
  get(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<GetApiKeyDetailSchema | undefined>;
28
- /**
29
- * Delete API Key
30
- * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
31
- * @returns {RequestInformation}
32
- */
33
- toDeleteRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
34
20
  /**
35
21
  * Retrieve API Key
36
22
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
@@ -67,7 +67,9 @@ export interface CartItemsRequestBuilder extends BaseRequestBuilder<CartItemsReq
67
67
  * @throws {ErrorResponseBody} error when the service returns a 400 status code
68
68
  * @throws {ErrorResponseBody} error when the service returns a 401 status code
69
69
  * @throws {ErrorResponseBody} error when the service returns a 403 status code
70
+ * @throws {ErrorResponseBody} error when the service returns a 404 status code
70
71
  * @throws {ErrorResponseBody} error when the service returns a 405 status code
72
+ * @throws {ErrorResponseBody} error when the service returns a 429 status code
71
73
  * @throws {ErrorResponseBody} error when the service returns a 500 status code
72
74
  */
73
75
  post(body: CreateCartItemRequestSchema, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<CartItemsPostResponse | undefined>;
@@ -11,6 +11,7 @@ export interface CartItemsItemRequestBuilder extends BaseRequestBuilder<CartItem
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
  delete(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<void>;
@@ -20,9 +20,10 @@ export interface CartsRequestBuilder extends BaseRequestBuilder<CartsRequestBuil
20
20
  * Returns a list of active carts in reverse chronological order by creation date.
21
21
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
22
22
  * @returns {Promise<GetCartListSchema>}
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
- * @throws {ErrorResponseBody} error when the service returns a 403 status code
25
25
  * @throws {ErrorResponseBody} error when the service returns a 405 status code
26
+ * @throws {ErrorResponseBody} error when the service returns a 429 status code
26
27
  * @throws {ErrorResponseBody} error when the service returns a 500 status code
27
28
  */
28
29
  get(requestConfiguration?: RequestConfiguration<CartsRequestBuilderGetQueryParameters> | undefined): Promise<GetCartListSchema | undefined>;
@@ -33,8 +34,8 @@ export interface CartsRequestBuilder extends BaseRequestBuilder<CartsRequestBuil
33
34
  * @returns {Promise<CreateCartResponseSchema>}
34
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
  post(body: CreateCartRequestSchema, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<CreateCartResponseSchema | undefined>;
@@ -14,6 +14,7 @@ export interface CheckoutRequestBuilder extends BaseRequestBuilder<CheckoutReque
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: GenerateCheckoutLinkRequestSchema, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<GenerateCheckoutLinkSchema | undefined>;
@@ -17,6 +17,7 @@ export interface CartsItemRequestBuilder extends BaseRequestBuilder<CartsItemReq
17
17
  * @throws {ErrorResponseBody} error when the service returns a 403 status code
18
18
  * @throws {ErrorResponseBody} error when the service returns a 404 status code
19
19
  * @throws {ErrorResponseBody} error when the service returns a 405 status code
20
+ * @throws {ErrorResponseBody} error when the service returns a 429 status code
20
21
  * @throws {ErrorResponseBody} error when the service returns a 500 status code
21
22
  */
22
23
  delete(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<void>;
@@ -29,6 +30,7 @@ export interface CartsItemRequestBuilder extends BaseRequestBuilder<CartsItemReq
29
30
  * @throws {ErrorResponseBody} error when the service returns a 403 status code
30
31
  * @throws {ErrorResponseBody} error when the service returns a 404 status code
31
32
  * @throws {ErrorResponseBody} error when the service returns a 405 status code
33
+ * @throws {ErrorResponseBody} error when the service returns a 429 status code
32
34
  * @throws {ErrorResponseBody} error when the service returns a 500 status code
33
35
  */
34
36
  get(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<GetCartDetailSchema | undefined>;
@@ -41,6 +43,7 @@ export interface CartsItemRequestBuilder extends BaseRequestBuilder<CartsItemReq
41
43
  * @throws {ErrorResponseBody} error when the service returns a 403 status code
42
44
  * @throws {ErrorResponseBody} error when the service returns a 404 status code
43
45
  * @throws {ErrorResponseBody} error when the service returns a 405 status code
46
+ * @throws {ErrorResponseBody} error when the service returns a 429 status code
44
47
  * @throws {ErrorResponseBody} error when the service returns a 500 status code
45
48
  */
46
49
  put(body: UpdateCartRequestSchema, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<void>;
@@ -25,7 +25,7 @@ export interface CheckoutPostRequestBody extends Parsable {
25
25
  */
26
26
  collectShippingAddress?: boolean | null;
27
27
  /**
28
- * The three-letter ISO currency code (e.g., USD, GBP, EUR). If not provided the checkout will use geolocation. For geolocation to work all line item prices on the plan must have the same default currency.
28
+ * The case-insensitive three-letter ISO 4217 currency code (e.g., USD, GBP, EUR). Input is normalized to canonical uppercase. If not provided the checkout will use geolocation. For geolocation to work all line item prices on the plan must have the same default currency.
29
29
  */
30
30
  currency?: CheckoutPostRequestBody_currency | null;
31
31
  /**
@@ -103,6 +103,7 @@ export interface CheckoutRequestBuilder extends BaseRequestBuilder<CheckoutReque
103
103
  * @throws {ErrorResponseBody} error when the service returns a 403 status code
104
104
  * @throws {ErrorResponseBody} error when the service returns a 404 status code
105
105
  * @throws {ErrorResponseBody} error when the service returns a 405 status code
106
+ * @throws {ErrorResponseBody} error when the service returns a 429 status code
106
107
  * @throws {ErrorResponseBody} error when the service returns a 500 status code
107
108
  */
108
109
  post(body: CheckoutPostRequestBody, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<CheckoutPostResponse | undefined>;
@@ -203,7 +204,7 @@ export declare const CheckoutPostRequestBody_cardPrefillPreferenceObject: {
203
204
  readonly Choice: "choice";
204
205
  };
205
206
  /**
206
- * The three-letter ISO currency code (e.g., USD, GBP, EUR). If not provided the checkout will use geolocation. For geolocation to work all line item prices on the plan must have the same default currency.
207
+ * The case-insensitive three-letter ISO 4217 currency code (e.g., USD, GBP, EUR). Input is normalized to canonical uppercase. If not provided the checkout will use geolocation. For geolocation to work all line item prices on the plan must have the same default currency.
207
208
  */
208
209
  export declare const CheckoutPostRequestBody_currencyObject: {
209
210
  readonly USD: "USD";
@@ -15,9 +15,10 @@ export interface CurrencyOptionsRequestBuilder extends BaseRequestBuilder<Curren
15
15
  * List Currency Options
16
16
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
17
17
  * @returns {Promise<GetCurrencyOptionsListSchema>}
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<CurrencyOptionsRequestBuilderGetQueryParameters> | undefined): Promise<GetCurrencyOptionsListSchema | undefined>;
@@ -8,10 +8,12 @@ export interface CurrencyOptionsItemRequestBuilder extends BaseRequestBuilder<Cu
8
8
  * Retrieve Currency Option
9
9
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
10
10
  * @returns {Promise<GetCurrencyOptionDetailSchema>}
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
13
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
  get(requestConfiguration?: RequestConfiguration<CurrencyOptionsItemRequestBuilderGetQueryParameters> | undefined): Promise<GetCurrencyOptionDetailSchema | undefined>;
@@ -15,10 +15,10 @@ export interface DestinationsRequestBuilder extends BaseRequestBuilder<Destinati
15
15
  * A paginated endpoint that returns a list of event destinations.
16
16
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
17
17
  * @returns {Promise<GetDestinationListSchema>}
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
- * @throws {ErrorResponseBody} error when the service returns a 404 status code
21
20
  * @throws {ErrorResponseBody} error when the service returns a 405 status code
21
+ * @throws {ErrorResponseBody} error when the service returns a 429 status code
22
22
  * @throws {ErrorResponseBody} error when the service returns a 500 status code
23
23
  */
24
24
  get(requestConfiguration?: RequestConfiguration<DestinationsRequestBuilderGetQueryParameters> | undefined): Promise<GetDestinationListSchema | undefined>;
@@ -8,20 +8,24 @@ export interface DestinationsItemRequestBuilder extends BaseRequestBuilder<Desti
8
8
  * Retrieve Destination
9
9
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
10
10
  * @returns {Promise<GetDestinationDetailSchema>}
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
13
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
  get(requestConfiguration?: RequestConfiguration<DestinationsItemRequestBuilderGetQueryParameters> | undefined): Promise<GetDestinationDetailSchema | undefined>;
18
20
  /**
19
21
  * Creates a new attempt or updates an existing pending attempt for a webhook event
20
22
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
23
+ * @throws {ErrorResponseBody} error when the service returns a 400 status code
21
24
  * @throws {ErrorResponseBody} error when the service returns a 401 status code
22
25
  * @throws {ErrorResponseBody} error when the service returns a 403 status code
23
26
  * @throws {ErrorResponseBody} error when the service returns a 404 status code
24
27
  * @throws {ErrorResponseBody} error when the service returns a 405 status code
28
+ * @throws {ErrorResponseBody} error when the service returns a 429 status code
25
29
  * @throws {ErrorResponseBody} error when the service returns a 500 status code
26
30
  */
27
31
  post(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<void>;
@@ -20,8 +20,10 @@ export interface EntitlementsRequestBuilder extends BaseRequestBuilder<Entitleme
20
20
  * List Entitlements
21
21
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
22
22
  * @returns {Promise<GetEntitlementsListSchema>}
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
  get(requestConfiguration?: RequestConfiguration<EntitlementsRequestBuilderGetQueryParameters> | undefined): Promise<GetEntitlementsListSchema | undefined>;
@@ -33,6 +35,7 @@ export interface EntitlementsRequestBuilder extends BaseRequestBuilder<Entitleme
33
35
  * @throws {ErrorResponseBody} error when the service returns a 400 status code
34
36
  * @throws {ErrorResponseBody} error when the service returns a 401 status code
35
37
  * @throws {ErrorResponseBody} error when the service returns a 405 status code
38
+ * @throws {ErrorResponseBody} error when the service returns a 429 status code
36
39
  * @throws {ErrorResponseBody} error when the service returns a 500 status code
37
40
  */
38
41
  post(body: CreateEntitlementRequestSchema, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<CreateEntitlementResponseSchema | undefined>;
@@ -9,8 +9,10 @@ export interface EntitlementsItemRequestBuilder extends BaseRequestBuilder<Entit
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
12
13
  * @throws {ErrorResponseBody} error when the service returns a 404 status code
13
14
  * @throws {ErrorResponseBody} error when the service returns a 405 status code
15
+ * @throws {ErrorResponseBody} error when the service returns a 429 status code
14
16
  * @throws {ErrorResponseBody} error when the service returns a 500 status code
15
17
  */
16
18
  delete(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<void>;
@@ -23,6 +25,7 @@ export interface EntitlementsItemRequestBuilder extends BaseRequestBuilder<Entit
23
25
  * @throws {ErrorResponseBody} error when the service returns a 403 status code
24
26
  * @throws {ErrorResponseBody} error when the service returns a 404 status code
25
27
  * @throws {ErrorResponseBody} error when the service returns a 405 status code
28
+ * @throws {ErrorResponseBody} error when the service returns a 429 status code
26
29
  * @throws {ErrorResponseBody} error when the service returns a 500 status code
27
30
  */
28
31
  get(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<GetEntitlementDetailSchema | undefined>;
@@ -32,8 +35,10 @@ export interface EntitlementsItemRequestBuilder extends BaseRequestBuilder<Entit
32
35
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
33
36
  * @throws {ErrorResponseBody} error when the service returns a 400 status code
34
37
  * @throws {ErrorResponseBody} error when the service returns a 401 status code
38
+ * @throws {ErrorResponseBody} error when the service returns a 403 status code
35
39
  * @throws {ErrorResponseBody} error when the service returns a 404 status code
36
40
  * @throws {ErrorResponseBody} error when the service returns a 405 status code
41
+ * @throws {ErrorResponseBody} error when the service returns a 429 status code
37
42
  * @throws {ErrorResponseBody} error when the service returns a 500 status code
38
43
  */
39
44
  put(body: UpdateEntitlementRequestSchema, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<void>;
@@ -8,35 +8,19 @@ export interface EventAttemptsRequestBuilder extends BaseRequestBuilder<EventAtt
8
8
  * List Event Attempts
9
9
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
10
10
  * @returns {Promise<GetEventAttemptsListSchema>}
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
- * @throws {ErrorResponseBody} error when the service returns a 404 status code
14
13
  * @throws {ErrorResponseBody} error when the service returns a 405 status code
14
+ * @throws {ErrorResponseBody} error when the service returns a 429 status code
15
15
  * @throws {ErrorResponseBody} error when the service returns a 500 status code
16
16
  */
17
17
  get(requestConfiguration?: RequestConfiguration<EventAttemptsRequestBuilderGetQueryParameters> | undefined): Promise<GetEventAttemptsListSchema | undefined>;
18
- /**
19
- * Creates a new attempt or updates an existing pending attempt for a webhook event
20
- * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
21
- * @throws {ErrorResponseBody} error when the service returns a 401 status code
22
- * @throws {ErrorResponseBody} error when the service returns a 403 status code
23
- * @throws {ErrorResponseBody} error when the service returns a 404 status code
24
- * @throws {ErrorResponseBody} error when the service returns a 405 status code
25
- * @throws {ErrorResponseBody} error when the service returns a 500 status code
26
- */
27
- post(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<void>;
28
18
  /**
29
19
  * List Event Attempts
30
20
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
31
21
  * @returns {RequestInformation}
32
22
  */
33
23
  toGetRequestInformation(requestConfiguration?: RequestConfiguration<EventAttemptsRequestBuilderGetQueryParameters> | undefined): RequestInformation;
34
- /**
35
- * Creates a new attempt or updates an existing pending attempt for a webhook event
36
- * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
37
- * @returns {RequestInformation}
38
- */
39
- toPostRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
40
24
  }
41
25
  /**
42
26
  * List Event Attempts
@@ -15,8 +15,10 @@ export interface EventsRequestBuilder extends BaseRequestBuilder<EventsRequestBu
15
15
  * Response is sorted by createdAt in descending order.
16
16
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
17
17
  * @returns {Promise<GetEventListSchema>}
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<EventsRequestBuilderGetQueryParameters> | undefined): Promise<GetEventListSchema | undefined>;
@@ -8,10 +8,12 @@ export interface EventsItemRequestBuilder extends BaseRequestBuilder<EventsItemR
8
8
  * Retrieve Event
9
9
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
10
10
  * @returns {Promise<GetEventDetailSchema>}
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
13
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
  get(requestConfiguration?: RequestConfiguration<EventsItemRequestBuilderGetQueryParameters> | undefined): Promise<GetEventDetailSchema | undefined>;
@@ -15,8 +15,10 @@ export interface GranteesRequestBuilder extends BaseRequestBuilder<GranteesReque
15
15
  * List Grantees
16
16
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
17
17
  * @returns {Promise<GetGranteeListSchema>}
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<GranteesRequestBuilderGetQueryParameters> | undefined): Promise<GetGranteeListSchema | undefined>;
@@ -28,6 +30,7 @@ export interface GranteesRequestBuilder extends BaseRequestBuilder<GranteesReque
28
30
  * @throws {ErrorResponseBody} error when the service returns a 400 status code
29
31
  * @throws {ErrorResponseBody} error when the service returns a 401 status code
30
32
  * @throws {ErrorResponseBody} error when the service returns a 405 status code
33
+ * @throws {ErrorResponseBody} error when the service returns a 429 status code
31
34
  * @throws {ErrorResponseBody} error when the service returns a 500 status code
32
35
  */
33
36
  post(body: CreateGranteeRequestSchema, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<CreateGranteeResponseSchema | undefined>;
@@ -8,10 +8,12 @@ export interface GranteesItemRequestBuilder extends BaseRequestBuilder<GranteesI
8
8
  /**
9
9
  * Delete Grantee
10
10
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
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
13
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>;
@@ -19,10 +21,12 @@ export interface GranteesItemRequestBuilder extends BaseRequestBuilder<GranteesI
19
21
  * Retrieve Grantee
20
22
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
21
23
  * @returns {Promise<GetGranteeDetailSchema>}
24
+ * @throws {ErrorResponseBody} error when the service returns a 400 status code
22
25
  * @throws {ErrorResponseBody} error when the service returns a 401 status code
23
26
  * @throws {ErrorResponseBody} error when the service returns a 403 status code
24
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<GranteesItemRequestBuilderGetQueryParameters> | undefined): Promise<GetGranteeDetailSchema | undefined>;
@@ -35,6 +39,7 @@ export interface GranteesItemRequestBuilder extends BaseRequestBuilder<GranteesI
35
39
  * @throws {ErrorResponseBody} error when the service returns a 403 status code
36
40
  * @throws {ErrorResponseBody} error when the service returns a 404 status code
37
41
  * @throws {ErrorResponseBody} error when the service returns a 405 status code
42
+ * @throws {ErrorResponseBody} error when the service returns a 429 status code
38
43
  * @throws {ErrorResponseBody} error when the service returns a 500 status code
39
44
  */
40
45
  put(body: UpdateGranteeRequestSchema, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<void>;
@@ -16,8 +16,10 @@ export interface GroupsRequestBuilder extends BaseRequestBuilder<GroupsRequestBu
16
16
  * List Groups
17
17
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
18
18
  * @returns {Promise<GetGroupsListSchema>}
19
+ * @throws {ErrorResponseBody} error when the service returns a 400 status code
19
20
  * @throws {ErrorResponseBody} error when the service returns a 401 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
  get(requestConfiguration?: RequestConfiguration<GroupsRequestBuilderGetQueryParameters> | undefined): Promise<GetGroupsListSchema | undefined>;
@@ -29,6 +31,7 @@ export interface GroupsRequestBuilder extends BaseRequestBuilder<GroupsRequestBu
29
31
  * @throws {ErrorResponseBody} error when the service returns a 400 status code
30
32
  * @throws {ErrorResponseBody} error when the service returns a 401 status code
31
33
  * @throws {ErrorResponseBody} error when the service returns a 405 status code
34
+ * @throws {ErrorResponseBody} error when the service returns a 429 status code
32
35
  * @throws {ErrorResponseBody} error when the service returns a 500 status code
33
36
  */
34
37
  post(body: CreateGroupRequestSchema, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<CreateGroupResponseSchema | undefined>;
@@ -25,6 +25,7 @@ export interface GranteesRequestBuilder extends BaseRequestBuilder<GranteesReque
25
25
  * @throws {ErrorResponseBody} error when the service returns a 403 status code
26
26
  * @throws {ErrorResponseBody} error when the service returns a 404 status code
27
27
  * @throws {ErrorResponseBody} error when the service returns a 405 status code
28
+ * @throws {ErrorResponseBody} error when the service returns a 429 status code
28
29
  * @throws {ErrorResponseBody} error when the service returns a 500 status code
29
30
  */
30
31
  post(body: (ManageGranteesRequestSchemaMember1 | ManageGranteesRequestSchemaMember2 | ManageGranteesRequestSchemaMember3)[], requestConfiguration?: RequestConfiguration<object> | undefined): Promise<void>;
@@ -13,10 +13,12 @@ export interface GroupsItemRequestBuilder extends BaseRequestBuilder<GroupsItemR
13
13
  /**
14
14
  * Delete Group
15
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
16
17
  * @throws {ErrorResponseBody} error when the service returns a 401 status code
17
18
  * @throws {ErrorResponseBody} error when the service returns a 403 status code
18
19
  * @throws {ErrorResponseBody} error when the service returns a 404 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
  delete(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<void>;
@@ -24,10 +26,12 @@ export interface GroupsItemRequestBuilder extends BaseRequestBuilder<GroupsItemR
24
26
  * Retrieve Group
25
27
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
26
28
  * @returns {Promise<GetGroupDetailSchema>}
29
+ * @throws {ErrorResponseBody} error when the service returns a 400 status code
27
30
  * @throws {ErrorResponseBody} error when the service returns a 401 status code
28
31
  * @throws {ErrorResponseBody} error when the service returns a 403 status code
29
32
  * @throws {ErrorResponseBody} error when the service returns a 404 status code
30
33
  * @throws {ErrorResponseBody} error when the service returns a 405 status code
34
+ * @throws {ErrorResponseBody} error when the service returns a 429 status code
31
35
  * @throws {ErrorResponseBody} error when the service returns a 500 status code
32
36
  */
33
37
  get(requestConfiguration?: RequestConfiguration<GroupsItemRequestBuilderGetQueryParameters> | undefined): Promise<GetGroupDetailSchema | undefined>;
@@ -40,6 +44,7 @@ export interface GroupsItemRequestBuilder extends BaseRequestBuilder<GroupsItemR
40
44
  * @throws {ErrorResponseBody} error when the service returns a 403 status code
41
45
  * @throws {ErrorResponseBody} error when the service returns a 404 status code
42
46
  * @throws {ErrorResponseBody} error when the service returns a 405 status code
47
+ * @throws {ErrorResponseBody} error when the service returns a 429 status code
43
48
  * @throws {ErrorResponseBody} error when the service returns a 500 status code
44
49
  */
45
50
  put(body: UpdateGroupRequestSchema, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<void>;
@@ -15,8 +15,10 @@ export interface LineItemsRequestBuilder extends BaseRequestBuilder<LineItemsReq
15
15
  * List Line Items
16
16
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
17
17
  * @returns {Promise<GetLineItemListSchema>}
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<LineItemsRequestBuilderGetQueryParameters> | undefined): Promise<GetLineItemListSchema | undefined>;
@@ -30,6 +30,7 @@ export interface LineItemsItemRequestBuilder extends BaseRequestBuilder<LineItem
30
30
  * @throws {ErrorResponseBody} error when the service returns a 403 status code
31
31
  * @throws {ErrorResponseBody} error when the service returns a 404 status code
32
32
  * @throws {ErrorResponseBody} error when the service returns a 405 status code
33
+ * @throws {ErrorResponseBody} error when the service returns a 429 status code
33
34
  * @throws {ErrorResponseBody} error when the service returns a 500 status code
34
35
  */
35
36
  delete(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<void>;
@@ -42,6 +43,7 @@ export interface LineItemsItemRequestBuilder extends BaseRequestBuilder<LineItem
42
43
  * @throws {ErrorResponseBody} error when the service returns a 403 status code
43
44
  * @throws {ErrorResponseBody} error when the service returns a 404 status code
44
45
  * @throws {ErrorResponseBody} error when the service returns a 405 status code
46
+ * @throws {ErrorResponseBody} error when the service returns a 429 status code
45
47
  * @throws {ErrorResponseBody} error when the service returns a 500 status code
46
48
  */
47
49
  get(requestConfiguration?: RequestConfiguration<LineItemsItemRequestBuilderGetQueryParameters> | undefined): Promise<GetLineItemDetailSchema | undefined>;
@@ -55,6 +57,7 @@ export interface LineItemsItemRequestBuilder extends BaseRequestBuilder<LineItem
55
57
  * @throws {ErrorResponseBody} error when the service returns a 403 status code
56
58
  * @throws {ErrorResponseBody} error when the service returns a 404 status code
57
59
  * @throws {ErrorResponseBody} error when the service returns a 405 status code
60
+ * @throws {ErrorResponseBody} error when the service returns a 429 status code
58
61
  * @throws {ErrorResponseBody} error when the service returns a 500 status code
59
62
  */
60
63
  put(body: UpdateLineItemRequestSchemaMember1 | UpdateLineItemRequestSchemaMember2 | UpdateLineItemRequestSchemaMember3, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<UpdateLineItemResponseSchema | undefined>;
@@ -16,9 +16,10 @@ export interface MembershipsRequestBuilder extends BaseRequestBuilder<Membership
16
16
  * List Memberships
17
17
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
18
18
  * @returns {Promise<GetMembershipListSchema>}
19
+ * @throws {ErrorResponseBody} error when the service returns a 400 status code
19
20
  * @throws {ErrorResponseBody} error when the service returns a 401 status code
20
- * @throws {ErrorResponseBody} error when the service returns a 403 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<MembershipsRequestBuilderGetQueryParameters> | undefined): Promise<GetMembershipListSchema | undefined>;
@@ -9,10 +9,12 @@ export interface MembershipsItemRequestBuilder extends BaseRequestBuilder<Member
9
9
  * Retrieve Memberships
10
10
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
11
11
  * @returns {Promise<GetMembershipDetailSchema>}
12
+ * @throws {ErrorResponseBody} error when the service returns a 400 status code
12
13
  * @throws {ErrorResponseBody} error when the service returns a 401 status code
13
14
  * @throws {ErrorResponseBody} error when the service returns a 403 status code
14
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
17
+ * @throws {ErrorResponseBody} error when the service returns a 429 status code
16
18
  * @throws {ErrorResponseBody} error when the service returns a 500 status code
17
19
  */
18
20
  get(requestConfiguration?: RequestConfiguration<MembershipsItemRequestBuilderGetQueryParameters> | undefined): Promise<GetMembershipDetailSchema | undefined>;
@@ -8,8 +8,10 @@ export interface MetersRequestBuilder extends BaseRequestBuilder<MetersRequestBu
8
8
  * List Meters
9
9
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
10
10
  * @returns {Promise<GetMetersListSchema>}
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 405 status code
14
+ * @throws {ErrorResponseBody} error when the service returns a 429 status code
13
15
  * @throws {ErrorResponseBody} error when the service returns a 500 status code
14
16
  */
15
17
  get(requestConfiguration?: RequestConfiguration<MetersRequestBuilderGetQueryParameters> | undefined): Promise<GetMetersListSchema | undefined>;
@@ -16,8 +16,10 @@ export interface OwnersRequestBuilder extends BaseRequestBuilder<OwnersRequestBu
16
16
  * List Owners
17
17
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
18
18
  * @returns {Promise<GetOwnerListSchema>}
19
+ * @throws {ErrorResponseBody} error when the service returns a 400 status code
19
20
  * @throws {ErrorResponseBody} error when the service returns a 401 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
  get(requestConfiguration?: RequestConfiguration<OwnersRequestBuilderGetQueryParameters> | undefined): Promise<GetOwnerListSchema | undefined>;