@schematichq/schematic-typescript-node 1.5.9 → 1.5.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/BaseClient.d.ts +12 -0
- package/dist/Client.d.ts +3 -0
- package/dist/api/errors/BadRequestError.d.ts +1 -0
- package/dist/api/errors/ForbiddenError.d.ts +1 -0
- package/dist/api/errors/InternalServerError.d.ts +1 -0
- package/dist/api/errors/NotFoundError.d.ts +1 -0
- package/dist/api/errors/UnauthorizedError.d.ts +1 -0
- package/dist/api/resources/accesstokens/client/Client.d.ts +2 -0
- package/dist/api/resources/accounts/client/Client.d.ts +42 -0
- package/dist/api/resources/billing/client/Client.d.ts +48 -0
- package/dist/api/resources/catalogs/client/Client.d.ts +28 -0
- package/dist/api/resources/checkout/client/Client.d.ts +18 -0
- package/dist/api/resources/companies/client/Client.d.ts +86 -0
- package/dist/api/resources/components/client/Client.d.ts +16 -0
- package/dist/api/resources/componentspublic/client/Client.d.ts +2 -0
- package/dist/api/resources/credits/client/Client.d.ts +60 -0
- package/dist/api/resources/dataexports/client/Client.d.ts +8 -0
- package/dist/api/resources/entitlements/client/Client.d.ts +50 -0
- package/dist/api/resources/events/client/Client.d.ts +12 -0
- package/dist/api/resources/features/client/Client.d.ts +34 -0
- package/dist/api/resources/insights/client/Client.d.ts +12 -0
- package/dist/api/resources/integrationsapi/client/Client.d.ts +18 -0
- package/dist/api/resources/licenses/client/Client.d.ts +6 -0
- package/dist/api/resources/planbundle/client/Client.d.ts +6 -2
- package/dist/api/resources/planbundle/client/requests/CreateCustomPlanBundleRequestBody.d.ts +0 -1
- package/dist/api/resources/planbundle/client/requests/CreatePlanBundleRequestBody.d.ts +0 -1
- package/dist/api/resources/plangroups/client/Client.d.ts +6 -0
- package/dist/api/resources/planmigrations/client/Client.d.ts +18 -0
- package/dist/api/resources/plans/client/Client.d.ts +36 -3
- package/dist/api/resources/plans/client/requests/CreateBillingLinkedPlanRequestBody.d.ts +1 -2
- package/dist/api/resources/plans/client/requests/CreateCustomPlanRequestBody.d.ts +1 -2
- package/dist/api/resources/scheduledcheckout/client/Client.d.ts +8 -0
- package/dist/api/resources/webhooks/client/Client.d.ts +20 -0
- package/dist/api/types/AuditLogResponseData.d.ts +1 -0
- package/dist/api/types/BillingPlanCreditGrantResponseData.d.ts +1 -1
- package/dist/api/types/ComponentHydrateResponseData.d.ts +1 -1
- package/dist/api/types/ComponentPreviewResponseData.d.ts +1 -1
- package/dist/api/types/CreateBillingPlanCreditGrantRequestBody.d.ts +1 -0
- package/dist/api/types/CreateCustomPlanBundlePlanRequestBody.d.ts +1 -1
- package/dist/api/types/CreatePlanRequestBody.d.ts +1 -1
- package/dist/api/types/OnboardingRequirementView.d.ts +1 -0
- package/dist/api/types/PlanChangeResponseData.d.ts +6 -0
- package/dist/api/types/PreviewSubscriptionFinanceResponseData.d.ts +1 -0
- package/dist/api/types/StripeIntegrationConfig.d.ts +2 -0
- package/dist/api/types/UpcomingInvoiceResponseData.d.ts +23 -0
- package/dist/api/types/UpdateBillingPlanCreditGrantRequestBody.d.ts +1 -0
- package/dist/api/types/index.d.ts +1 -0
- package/dist/core/fetcher/redactUrl.d.ts +2 -0
- package/dist/core/requestBody.d.ts +12 -0
- package/dist/core/runtime/index.d.ts +1 -1
- package/dist/core/runtime/runtime.d.ts +19 -0
- package/dist/errors/SchematicError.d.ts +1 -0
- package/dist/errors/SchematicTimeoutError.d.ts +2 -2
- package/dist/events.d.ts +6 -0
- package/dist/index.js +9 -9
- package/dist/serialization/resources/plans/client/requests/CreateBillingLinkedPlanRequestBody.d.ts +1 -1
- package/dist/serialization/resources/plans/client/requests/CreateCustomPlanRequestBody.d.ts +1 -1
- package/dist/serialization/types/AuditLogResponseData.d.ts +1 -0
- package/dist/serialization/types/ComponentHydrateResponseData.d.ts +2 -2
- package/dist/serialization/types/ComponentPreviewResponseData.d.ts +2 -1
- package/dist/serialization/types/CreateCustomPlanBundlePlanRequestBody.d.ts +1 -1
- package/dist/serialization/types/CreatePlanRequestBody.d.ts +1 -1
- package/dist/serialization/types/OnboardingRequirementView.d.ts +1 -0
- package/dist/serialization/types/PlanChangeResponseData.d.ts +4 -0
- package/dist/serialization/types/PreviewSubscriptionFinanceResponseData.d.ts +1 -0
- package/dist/serialization/types/StripeIntegrationConfig.d.ts +1 -0
- package/dist/serialization/types/UpcomingInvoiceResponseData.d.ts +30 -0
- package/dist/serialization/types/index.d.ts +1 -0
- package/package.json +1 -1
package/dist/BaseClient.d.ts
CHANGED
|
@@ -17,6 +17,11 @@ export type BaseClientOptions = {
|
|
|
17
17
|
fetcher?: core.FetchFunction;
|
|
18
18
|
/** Configure logging for the client. */
|
|
19
19
|
logging?: core.logging.LogConfig | core.logging.Logger;
|
|
20
|
+
/** Default options for SSE stream reconnection behavior. Has no effect on non-resumable endpoints. */
|
|
21
|
+
stream?: {
|
|
22
|
+
reconnectionEnabled?: boolean;
|
|
23
|
+
maxReconnectionAttempts?: number;
|
|
24
|
+
};
|
|
20
25
|
/** Override auth. Pass false to disable, a function returning auth headers, an AuthProvider, or auth options. */
|
|
21
26
|
auth?: AuthOption;
|
|
22
27
|
} & HeaderAuthProvider.AuthOptions;
|
|
@@ -29,8 +34,15 @@ export interface BaseRequestOptions {
|
|
|
29
34
|
abortSignal?: AbortSignal;
|
|
30
35
|
/** Additional query string parameters to include in the request. */
|
|
31
36
|
queryParams?: Record<string, unknown>;
|
|
37
|
+
/** A dictionary containing additional parameters to spread into the request's body. */
|
|
38
|
+
additionalBodyParameters?: Record<string, unknown>;
|
|
32
39
|
/** Additional headers to include in the request. */
|
|
33
40
|
headers?: Record<string, string | core.Supplier<string | null | undefined> | null | undefined>;
|
|
41
|
+
/** Options for SSE stream reconnection behavior. Has no effect on non-resumable endpoints. */
|
|
42
|
+
stream?: {
|
|
43
|
+
reconnectionEnabled?: boolean;
|
|
44
|
+
maxReconnectionAttempts?: number;
|
|
45
|
+
};
|
|
34
46
|
}
|
|
35
47
|
export type NormalizedClientOptions<T extends BaseClientOptions = BaseClientOptions> = T & {
|
|
36
48
|
logging: core.logging.Logger;
|
package/dist/Client.d.ts
CHANGED
|
@@ -78,6 +78,9 @@ export declare class SchematicClient {
|
|
|
78
78
|
/**
|
|
79
79
|
* @param {SchematicClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
80
80
|
*
|
|
81
|
+
* @throws {@link errors.SchematicError}
|
|
82
|
+
* @throws {@link errors.SchematicTimeoutError}
|
|
83
|
+
*
|
|
81
84
|
* @example
|
|
82
85
|
* await client.getCreditLedger()
|
|
83
86
|
*/
|
|
@@ -2,5 +2,6 @@ import type * as core from "../../core";
|
|
|
2
2
|
import * as errors from "../../errors/index";
|
|
3
3
|
import type * as Schematic from "../index";
|
|
4
4
|
export declare class BadRequestError extends errors.SchematicError {
|
|
5
|
+
readonly body: Schematic.ApiError;
|
|
5
6
|
constructor(body: Schematic.ApiError, rawResponse?: core.RawResponse);
|
|
6
7
|
}
|
|
@@ -2,5 +2,6 @@ import type * as core from "../../core";
|
|
|
2
2
|
import * as errors from "../../errors/index";
|
|
3
3
|
import type * as Schematic from "../index";
|
|
4
4
|
export declare class ForbiddenError extends errors.SchematicError {
|
|
5
|
+
readonly body: Schematic.ApiError;
|
|
5
6
|
constructor(body: Schematic.ApiError, rawResponse?: core.RawResponse);
|
|
6
7
|
}
|
|
@@ -2,5 +2,6 @@ import type * as core from "../../core";
|
|
|
2
2
|
import * as errors from "../../errors/index";
|
|
3
3
|
import type * as Schematic from "../index";
|
|
4
4
|
export declare class InternalServerError extends errors.SchematicError {
|
|
5
|
+
readonly body: Schematic.ApiError;
|
|
5
6
|
constructor(body: Schematic.ApiError, rawResponse?: core.RawResponse);
|
|
6
7
|
}
|
|
@@ -2,5 +2,6 @@ import type * as core from "../../core";
|
|
|
2
2
|
import * as errors from "../../errors/index";
|
|
3
3
|
import type * as Schematic from "../index";
|
|
4
4
|
export declare class NotFoundError extends errors.SchematicError {
|
|
5
|
+
readonly body: Schematic.ApiError;
|
|
5
6
|
constructor(body: Schematic.ApiError, rawResponse?: core.RawResponse);
|
|
6
7
|
}
|
|
@@ -2,5 +2,6 @@ import type * as core from "../../core";
|
|
|
2
2
|
import * as errors from "../../errors/index";
|
|
3
3
|
import type * as Schematic from "../index";
|
|
4
4
|
export declare class UnauthorizedError extends errors.SchematicError {
|
|
5
|
+
readonly body: Schematic.ApiError;
|
|
5
6
|
constructor(body: Schematic.ApiError, rawResponse?: core.RawResponse);
|
|
6
7
|
}
|
|
@@ -19,6 +19,8 @@ export declare class AccesstokensClient {
|
|
|
19
19
|
* @throws {@link Schematic.ForbiddenError}
|
|
20
20
|
* @throws {@link Schematic.NotFoundError}
|
|
21
21
|
* @throws {@link Schematic.InternalServerError}
|
|
22
|
+
* @throws {@link errors.SchematicError}
|
|
23
|
+
* @throws {@link errors.SchematicTimeoutError}
|
|
22
24
|
*
|
|
23
25
|
* @example
|
|
24
26
|
* await client.accesstokens.issueTemporaryAccessToken({
|
|
@@ -19,6 +19,8 @@ export declare class AccountsClient {
|
|
|
19
19
|
* @throws {@link Schematic.ForbiddenError}
|
|
20
20
|
* @throws {@link Schematic.NotFoundError}
|
|
21
21
|
* @throws {@link Schematic.InternalServerError}
|
|
22
|
+
* @throws {@link errors.SchematicError}
|
|
23
|
+
* @throws {@link errors.SchematicTimeoutError}
|
|
22
24
|
*
|
|
23
25
|
* @example
|
|
24
26
|
* await client.accounts.listAccountMembers({
|
|
@@ -39,6 +41,8 @@ export declare class AccountsClient {
|
|
|
39
41
|
* @throws {@link Schematic.ForbiddenError}
|
|
40
42
|
* @throws {@link Schematic.NotFoundError}
|
|
41
43
|
* @throws {@link Schematic.InternalServerError}
|
|
44
|
+
* @throws {@link errors.SchematicError}
|
|
45
|
+
* @throws {@link errors.SchematicTimeoutError}
|
|
42
46
|
*
|
|
43
47
|
* @example
|
|
44
48
|
* await client.accounts.getAccountMember("account_member_id")
|
|
@@ -54,6 +58,8 @@ export declare class AccountsClient {
|
|
|
54
58
|
* @throws {@link Schematic.ForbiddenError}
|
|
55
59
|
* @throws {@link Schematic.NotFoundError}
|
|
56
60
|
* @throws {@link Schematic.InternalServerError}
|
|
61
|
+
* @throws {@link errors.SchematicError}
|
|
62
|
+
* @throws {@link errors.SchematicTimeoutError}
|
|
57
63
|
*
|
|
58
64
|
* @example
|
|
59
65
|
* await client.accounts.countAccountMembers({
|
|
@@ -75,6 +81,8 @@ export declare class AccountsClient {
|
|
|
75
81
|
* @throws {@link Schematic.ForbiddenError}
|
|
76
82
|
* @throws {@link Schematic.NotFoundError}
|
|
77
83
|
* @throws {@link Schematic.InternalServerError}
|
|
84
|
+
* @throws {@link errors.SchematicError}
|
|
85
|
+
* @throws {@link errors.SchematicTimeoutError}
|
|
78
86
|
*
|
|
79
87
|
* @example
|
|
80
88
|
* await client.accounts.listApiKeys({
|
|
@@ -95,6 +103,8 @@ export declare class AccountsClient {
|
|
|
95
103
|
* @throws {@link Schematic.ForbiddenError}
|
|
96
104
|
* @throws {@link Schematic.NotFoundError}
|
|
97
105
|
* @throws {@link Schematic.InternalServerError}
|
|
106
|
+
* @throws {@link errors.SchematicError}
|
|
107
|
+
* @throws {@link errors.SchematicTimeoutError}
|
|
98
108
|
*
|
|
99
109
|
* @example
|
|
100
110
|
* await client.accounts.createApiKey({
|
|
@@ -111,6 +121,8 @@ export declare class AccountsClient {
|
|
|
111
121
|
* @throws {@link Schematic.ForbiddenError}
|
|
112
122
|
* @throws {@link Schematic.NotFoundError}
|
|
113
123
|
* @throws {@link Schematic.InternalServerError}
|
|
124
|
+
* @throws {@link errors.SchematicError}
|
|
125
|
+
* @throws {@link errors.SchematicTimeoutError}
|
|
114
126
|
*
|
|
115
127
|
* @example
|
|
116
128
|
* await client.accounts.getApiKey("api_key_id")
|
|
@@ -127,6 +139,8 @@ export declare class AccountsClient {
|
|
|
127
139
|
* @throws {@link Schematic.ForbiddenError}
|
|
128
140
|
* @throws {@link Schematic.NotFoundError}
|
|
129
141
|
* @throws {@link Schematic.InternalServerError}
|
|
142
|
+
* @throws {@link errors.SchematicError}
|
|
143
|
+
* @throws {@link errors.SchematicTimeoutError}
|
|
130
144
|
*
|
|
131
145
|
* @example
|
|
132
146
|
* await client.accounts.updateApiKey("api_key_id")
|
|
@@ -142,6 +156,8 @@ export declare class AccountsClient {
|
|
|
142
156
|
* @throws {@link Schematic.ForbiddenError}
|
|
143
157
|
* @throws {@link Schematic.NotFoundError}
|
|
144
158
|
* @throws {@link Schematic.InternalServerError}
|
|
159
|
+
* @throws {@link errors.SchematicError}
|
|
160
|
+
* @throws {@link errors.SchematicTimeoutError}
|
|
145
161
|
*
|
|
146
162
|
* @example
|
|
147
163
|
* await client.accounts.deleteApiKey("api_key_id")
|
|
@@ -157,6 +173,8 @@ export declare class AccountsClient {
|
|
|
157
173
|
* @throws {@link Schematic.ForbiddenError}
|
|
158
174
|
* @throws {@link Schematic.NotFoundError}
|
|
159
175
|
* @throws {@link Schematic.InternalServerError}
|
|
176
|
+
* @throws {@link errors.SchematicError}
|
|
177
|
+
* @throws {@link errors.SchematicTimeoutError}
|
|
160
178
|
*
|
|
161
179
|
* @example
|
|
162
180
|
* await client.accounts.countApiKeys({
|
|
@@ -177,6 +195,8 @@ export declare class AccountsClient {
|
|
|
177
195
|
* @throws {@link Schematic.ForbiddenError}
|
|
178
196
|
* @throws {@link Schematic.NotFoundError}
|
|
179
197
|
* @throws {@link Schematic.InternalServerError}
|
|
198
|
+
* @throws {@link errors.SchematicError}
|
|
199
|
+
* @throws {@link errors.SchematicTimeoutError}
|
|
180
200
|
*
|
|
181
201
|
* @example
|
|
182
202
|
* await client.accounts.listAuditLogs({
|
|
@@ -199,6 +219,8 @@ export declare class AccountsClient {
|
|
|
199
219
|
* @throws {@link Schematic.ForbiddenError}
|
|
200
220
|
* @throws {@link Schematic.NotFoundError}
|
|
201
221
|
* @throws {@link Schematic.InternalServerError}
|
|
222
|
+
* @throws {@link errors.SchematicError}
|
|
223
|
+
* @throws {@link errors.SchematicTimeoutError}
|
|
202
224
|
*
|
|
203
225
|
* @example
|
|
204
226
|
* await client.accounts.getAuditLog("audit_log_id")
|
|
@@ -214,6 +236,8 @@ export declare class AccountsClient {
|
|
|
214
236
|
* @throws {@link Schematic.ForbiddenError}
|
|
215
237
|
* @throws {@link Schematic.NotFoundError}
|
|
216
238
|
* @throws {@link Schematic.InternalServerError}
|
|
239
|
+
* @throws {@link errors.SchematicError}
|
|
240
|
+
* @throws {@link errors.SchematicTimeoutError}
|
|
217
241
|
*
|
|
218
242
|
* @example
|
|
219
243
|
* await client.accounts.countAuditLogs({
|
|
@@ -237,6 +261,8 @@ export declare class AccountsClient {
|
|
|
237
261
|
* @throws {@link Schematic.ForbiddenError}
|
|
238
262
|
* @throws {@link Schematic.NotFoundError}
|
|
239
263
|
* @throws {@link Schematic.InternalServerError}
|
|
264
|
+
* @throws {@link errors.SchematicError}
|
|
265
|
+
* @throws {@link errors.SchematicTimeoutError}
|
|
240
266
|
*
|
|
241
267
|
* @example
|
|
242
268
|
* await client.accounts.listEnvironments({
|
|
@@ -256,6 +282,8 @@ export declare class AccountsClient {
|
|
|
256
282
|
* @throws {@link Schematic.ForbiddenError}
|
|
257
283
|
* @throws {@link Schematic.NotFoundError}
|
|
258
284
|
* @throws {@link Schematic.InternalServerError}
|
|
285
|
+
* @throws {@link errors.SchematicError}
|
|
286
|
+
* @throws {@link errors.SchematicTimeoutError}
|
|
259
287
|
*
|
|
260
288
|
* @example
|
|
261
289
|
* await client.accounts.createEnvironment({
|
|
@@ -273,6 +301,8 @@ export declare class AccountsClient {
|
|
|
273
301
|
* @throws {@link Schematic.ForbiddenError}
|
|
274
302
|
* @throws {@link Schematic.NotFoundError}
|
|
275
303
|
* @throws {@link Schematic.InternalServerError}
|
|
304
|
+
* @throws {@link errors.SchematicError}
|
|
305
|
+
* @throws {@link errors.SchematicTimeoutError}
|
|
276
306
|
*
|
|
277
307
|
* @example
|
|
278
308
|
* await client.accounts.getEnvironment("environment_id")
|
|
@@ -289,6 +319,8 @@ export declare class AccountsClient {
|
|
|
289
319
|
* @throws {@link Schematic.ForbiddenError}
|
|
290
320
|
* @throws {@link Schematic.NotFoundError}
|
|
291
321
|
* @throws {@link Schematic.InternalServerError}
|
|
322
|
+
* @throws {@link errors.SchematicError}
|
|
323
|
+
* @throws {@link errors.SchematicTimeoutError}
|
|
292
324
|
*
|
|
293
325
|
* @example
|
|
294
326
|
* await client.accounts.updateEnvironment("environment_id")
|
|
@@ -304,6 +336,8 @@ export declare class AccountsClient {
|
|
|
304
336
|
* @throws {@link Schematic.ForbiddenError}
|
|
305
337
|
* @throws {@link Schematic.NotFoundError}
|
|
306
338
|
* @throws {@link Schematic.InternalServerError}
|
|
339
|
+
* @throws {@link errors.SchematicError}
|
|
340
|
+
* @throws {@link errors.SchematicTimeoutError}
|
|
307
341
|
*
|
|
308
342
|
* @example
|
|
309
343
|
* await client.accounts.deleteEnvironment("environment_id")
|
|
@@ -317,6 +351,8 @@ export declare class AccountsClient {
|
|
|
317
351
|
* @throws {@link Schematic.ForbiddenError}
|
|
318
352
|
* @throws {@link Schematic.NotFoundError}
|
|
319
353
|
* @throws {@link Schematic.InternalServerError}
|
|
354
|
+
* @throws {@link errors.SchematicError}
|
|
355
|
+
* @throws {@link errors.SchematicTimeoutError}
|
|
320
356
|
*
|
|
321
357
|
* @example
|
|
322
358
|
* await client.accounts.getOnboardingState()
|
|
@@ -332,6 +368,8 @@ export declare class AccountsClient {
|
|
|
332
368
|
* @throws {@link Schematic.ForbiddenError}
|
|
333
369
|
* @throws {@link Schematic.NotFoundError}
|
|
334
370
|
* @throws {@link Schematic.InternalServerError}
|
|
371
|
+
* @throws {@link errors.SchematicError}
|
|
372
|
+
* @throws {@link errors.SchematicTimeoutError}
|
|
335
373
|
*
|
|
336
374
|
* @example
|
|
337
375
|
* await client.accounts.updateOnboardingState()
|
|
@@ -346,6 +384,8 @@ export declare class AccountsClient {
|
|
|
346
384
|
* @throws {@link Schematic.ForbiddenError}
|
|
347
385
|
* @throws {@link Schematic.NotFoundError}
|
|
348
386
|
* @throws {@link Schematic.InternalServerError}
|
|
387
|
+
* @throws {@link errors.SchematicError}
|
|
388
|
+
* @throws {@link errors.SchematicTimeoutError}
|
|
349
389
|
*
|
|
350
390
|
* @example
|
|
351
391
|
* await client.accounts.quickstart()
|
|
@@ -359,6 +399,8 @@ export declare class AccountsClient {
|
|
|
359
399
|
* @throws {@link Schematic.ForbiddenError}
|
|
360
400
|
* @throws {@link Schematic.NotFoundError}
|
|
361
401
|
* @throws {@link Schematic.InternalServerError}
|
|
402
|
+
* @throws {@link errors.SchematicError}
|
|
403
|
+
* @throws {@link errors.SchematicTimeoutError}
|
|
362
404
|
*
|
|
363
405
|
* @example
|
|
364
406
|
* await client.accounts.getWhoAmI()
|
|
@@ -19,6 +19,8 @@ export declare class BillingClient {
|
|
|
19
19
|
* @throws {@link Schematic.ForbiddenError}
|
|
20
20
|
* @throws {@link Schematic.NotFoundError}
|
|
21
21
|
* @throws {@link Schematic.InternalServerError}
|
|
22
|
+
* @throws {@link errors.SchematicError}
|
|
23
|
+
* @throws {@link errors.SchematicTimeoutError}
|
|
22
24
|
*
|
|
23
25
|
* @example
|
|
24
26
|
* await client.billing.listCoupons({
|
|
@@ -39,6 +41,8 @@ export declare class BillingClient {
|
|
|
39
41
|
* @throws {@link Schematic.ForbiddenError}
|
|
40
42
|
* @throws {@link Schematic.NotFoundError}
|
|
41
43
|
* @throws {@link Schematic.InternalServerError}
|
|
44
|
+
* @throws {@link errors.SchematicError}
|
|
45
|
+
* @throws {@link errors.SchematicTimeoutError}
|
|
42
46
|
*
|
|
43
47
|
* @example
|
|
44
48
|
* await client.billing.upsertBillingCoupon({
|
|
@@ -63,6 +67,8 @@ export declare class BillingClient {
|
|
|
63
67
|
* @throws {@link Schematic.ForbiddenError}
|
|
64
68
|
* @throws {@link Schematic.NotFoundError}
|
|
65
69
|
* @throws {@link Schematic.InternalServerError}
|
|
70
|
+
* @throws {@link errors.SchematicError}
|
|
71
|
+
* @throws {@link errors.SchematicTimeoutError}
|
|
66
72
|
*
|
|
67
73
|
* @example
|
|
68
74
|
* await client.billing.deleteBillingCoupon("billing_id")
|
|
@@ -78,6 +84,8 @@ export declare class BillingClient {
|
|
|
78
84
|
* @throws {@link Schematic.ForbiddenError}
|
|
79
85
|
* @throws {@link Schematic.NotFoundError}
|
|
80
86
|
* @throws {@link Schematic.InternalServerError}
|
|
87
|
+
* @throws {@link errors.SchematicError}
|
|
88
|
+
* @throws {@link errors.SchematicTimeoutError}
|
|
81
89
|
*
|
|
82
90
|
* @example
|
|
83
91
|
* await client.billing.deleteBillingCustomer("billing_id")
|
|
@@ -93,6 +101,8 @@ export declare class BillingClient {
|
|
|
93
101
|
* @throws {@link Schematic.ForbiddenError}
|
|
94
102
|
* @throws {@link Schematic.NotFoundError}
|
|
95
103
|
* @throws {@link Schematic.InternalServerError}
|
|
104
|
+
* @throws {@link errors.SchematicError}
|
|
105
|
+
* @throws {@link errors.SchematicTimeoutError}
|
|
96
106
|
*
|
|
97
107
|
* @example
|
|
98
108
|
* await client.billing.upsertBillingCustomer({
|
|
@@ -115,6 +125,8 @@ export declare class BillingClient {
|
|
|
115
125
|
* @throws {@link Schematic.ForbiddenError}
|
|
116
126
|
* @throws {@link Schematic.NotFoundError}
|
|
117
127
|
* @throws {@link Schematic.InternalServerError}
|
|
128
|
+
* @throws {@link errors.SchematicError}
|
|
129
|
+
* @throws {@link errors.SchematicTimeoutError}
|
|
118
130
|
*
|
|
119
131
|
* @example
|
|
120
132
|
* await client.billing.listCustomersWithSubscriptions({
|
|
@@ -137,6 +149,8 @@ export declare class BillingClient {
|
|
|
137
149
|
* @throws {@link Schematic.ForbiddenError}
|
|
138
150
|
* @throws {@link Schematic.NotFoundError}
|
|
139
151
|
* @throws {@link Schematic.InternalServerError}
|
|
152
|
+
* @throws {@link errors.SchematicError}
|
|
153
|
+
* @throws {@link errors.SchematicTimeoutError}
|
|
140
154
|
*
|
|
141
155
|
* @example
|
|
142
156
|
* await client.billing.countCustomers({
|
|
@@ -159,6 +173,8 @@ export declare class BillingClient {
|
|
|
159
173
|
* @throws {@link Schematic.ForbiddenError}
|
|
160
174
|
* @throws {@link Schematic.NotFoundError}
|
|
161
175
|
* @throws {@link Schematic.InternalServerError}
|
|
176
|
+
* @throws {@link errors.SchematicError}
|
|
177
|
+
* @throws {@link errors.SchematicTimeoutError}
|
|
162
178
|
*
|
|
163
179
|
* @example
|
|
164
180
|
* await client.billing.listInvoices({
|
|
@@ -180,6 +196,8 @@ export declare class BillingClient {
|
|
|
180
196
|
* @throws {@link Schematic.ForbiddenError}
|
|
181
197
|
* @throws {@link Schematic.NotFoundError}
|
|
182
198
|
* @throws {@link Schematic.InternalServerError}
|
|
199
|
+
* @throws {@link errors.SchematicError}
|
|
200
|
+
* @throws {@link errors.SchematicTimeoutError}
|
|
183
201
|
*
|
|
184
202
|
* @example
|
|
185
203
|
* await client.billing.upsertInvoice({
|
|
@@ -203,6 +221,8 @@ export declare class BillingClient {
|
|
|
203
221
|
* @throws {@link Schematic.ForbiddenError}
|
|
204
222
|
* @throws {@link Schematic.NotFoundError}
|
|
205
223
|
* @throws {@link Schematic.InternalServerError}
|
|
224
|
+
* @throws {@link errors.SchematicError}
|
|
225
|
+
* @throws {@link errors.SchematicTimeoutError}
|
|
206
226
|
*
|
|
207
227
|
* @example
|
|
208
228
|
* await client.billing.deleteBillingInvoice("billing_id")
|
|
@@ -218,6 +238,8 @@ export declare class BillingClient {
|
|
|
218
238
|
* @throws {@link Schematic.ForbiddenError}
|
|
219
239
|
* @throws {@link Schematic.NotFoundError}
|
|
220
240
|
* @throws {@link Schematic.InternalServerError}
|
|
241
|
+
* @throws {@link errors.SchematicError}
|
|
242
|
+
* @throws {@link errors.SchematicTimeoutError}
|
|
221
243
|
*
|
|
222
244
|
* @example
|
|
223
245
|
* await client.billing.listMeters({
|
|
@@ -237,6 +259,8 @@ export declare class BillingClient {
|
|
|
237
259
|
* @throws {@link Schematic.ForbiddenError}
|
|
238
260
|
* @throws {@link Schematic.NotFoundError}
|
|
239
261
|
* @throws {@link Schematic.InternalServerError}
|
|
262
|
+
* @throws {@link errors.SchematicError}
|
|
263
|
+
* @throws {@link errors.SchematicTimeoutError}
|
|
240
264
|
*
|
|
241
265
|
* @example
|
|
242
266
|
* await client.billing.upsertBillingMeter({
|
|
@@ -257,6 +281,8 @@ export declare class BillingClient {
|
|
|
257
281
|
* @throws {@link Schematic.ForbiddenError}
|
|
258
282
|
* @throws {@link Schematic.NotFoundError}
|
|
259
283
|
* @throws {@link Schematic.InternalServerError}
|
|
284
|
+
* @throws {@link errors.SchematicError}
|
|
285
|
+
* @throws {@link errors.SchematicTimeoutError}
|
|
260
286
|
*
|
|
261
287
|
* @example
|
|
262
288
|
* await client.billing.listPaymentMethods({
|
|
@@ -277,6 +303,8 @@ export declare class BillingClient {
|
|
|
277
303
|
* @throws {@link Schematic.ForbiddenError}
|
|
278
304
|
* @throws {@link Schematic.NotFoundError}
|
|
279
305
|
* @throws {@link Schematic.InternalServerError}
|
|
306
|
+
* @throws {@link errors.SchematicError}
|
|
307
|
+
* @throws {@link errors.SchematicTimeoutError}
|
|
280
308
|
*
|
|
281
309
|
* @example
|
|
282
310
|
* await client.billing.upsertPaymentMethod({
|
|
@@ -296,6 +324,8 @@ export declare class BillingClient {
|
|
|
296
324
|
* @throws {@link Schematic.ForbiddenError}
|
|
297
325
|
* @throws {@link Schematic.NotFoundError}
|
|
298
326
|
* @throws {@link Schematic.InternalServerError}
|
|
327
|
+
* @throws {@link errors.SchematicError}
|
|
328
|
+
* @throws {@link errors.SchematicTimeoutError}
|
|
299
329
|
*
|
|
300
330
|
* @example
|
|
301
331
|
* await client.billing.deletePaymentMethodByExternalId("billing_id")
|
|
@@ -311,6 +341,8 @@ export declare class BillingClient {
|
|
|
311
341
|
* @throws {@link Schematic.ForbiddenError}
|
|
312
342
|
* @throws {@link Schematic.NotFoundError}
|
|
313
343
|
* @throws {@link Schematic.InternalServerError}
|
|
344
|
+
* @throws {@link errors.SchematicError}
|
|
345
|
+
* @throws {@link errors.SchematicTimeoutError}
|
|
314
346
|
*
|
|
315
347
|
* @example
|
|
316
348
|
* await client.billing.listBillingPrices({
|
|
@@ -345,6 +377,8 @@ export declare class BillingClient {
|
|
|
345
377
|
* @throws {@link Schematic.ForbiddenError}
|
|
346
378
|
* @throws {@link Schematic.NotFoundError}
|
|
347
379
|
* @throws {@link Schematic.InternalServerError}
|
|
380
|
+
* @throws {@link errors.SchematicError}
|
|
381
|
+
* @throws {@link errors.SchematicTimeoutError}
|
|
348
382
|
*
|
|
349
383
|
* @example
|
|
350
384
|
* await client.billing.upsertBillingPrice({
|
|
@@ -373,6 +407,8 @@ export declare class BillingClient {
|
|
|
373
407
|
* @throws {@link Schematic.ForbiddenError}
|
|
374
408
|
* @throws {@link Schematic.NotFoundError}
|
|
375
409
|
* @throws {@link Schematic.InternalServerError}
|
|
410
|
+
* @throws {@link errors.SchematicError}
|
|
411
|
+
* @throws {@link errors.SchematicTimeoutError}
|
|
376
412
|
*
|
|
377
413
|
* @example
|
|
378
414
|
* await client.billing.deleteBillingProduct("billing_id")
|
|
@@ -388,6 +424,8 @@ export declare class BillingClient {
|
|
|
388
424
|
* @throws {@link Schematic.ForbiddenError}
|
|
389
425
|
* @throws {@link Schematic.NotFoundError}
|
|
390
426
|
* @throws {@link Schematic.InternalServerError}
|
|
427
|
+
* @throws {@link errors.SchematicError}
|
|
428
|
+
* @throws {@link errors.SchematicTimeoutError}
|
|
391
429
|
*
|
|
392
430
|
* @example
|
|
393
431
|
* await client.billing.listBillingProductPrices({
|
|
@@ -422,6 +460,8 @@ export declare class BillingClient {
|
|
|
422
460
|
* @throws {@link Schematic.ForbiddenError}
|
|
423
461
|
* @throws {@link Schematic.NotFoundError}
|
|
424
462
|
* @throws {@link Schematic.InternalServerError}
|
|
463
|
+
* @throws {@link errors.SchematicError}
|
|
464
|
+
* @throws {@link errors.SchematicTimeoutError}
|
|
425
465
|
*
|
|
426
466
|
* @example
|
|
427
467
|
* await client.billing.deleteProductPrice("billing_id")
|
|
@@ -437,6 +477,8 @@ export declare class BillingClient {
|
|
|
437
477
|
* @throws {@link Schematic.ForbiddenError}
|
|
438
478
|
* @throws {@link Schematic.NotFoundError}
|
|
439
479
|
* @throws {@link Schematic.InternalServerError}
|
|
480
|
+
* @throws {@link errors.SchematicError}
|
|
481
|
+
* @throws {@link errors.SchematicTimeoutError}
|
|
440
482
|
*
|
|
441
483
|
* @example
|
|
442
484
|
* await client.billing.upsertBillingProduct({
|
|
@@ -455,6 +497,8 @@ export declare class BillingClient {
|
|
|
455
497
|
* @throws {@link Schematic.ForbiddenError}
|
|
456
498
|
* @throws {@link Schematic.NotFoundError}
|
|
457
499
|
* @throws {@link Schematic.InternalServerError}
|
|
500
|
+
* @throws {@link errors.SchematicError}
|
|
501
|
+
* @throws {@link errors.SchematicTimeoutError}
|
|
458
502
|
*
|
|
459
503
|
* @example
|
|
460
504
|
* await client.billing.listBillingProducts({
|
|
@@ -484,6 +528,8 @@ export declare class BillingClient {
|
|
|
484
528
|
* @throws {@link Schematic.ForbiddenError}
|
|
485
529
|
* @throws {@link Schematic.NotFoundError}
|
|
486
530
|
* @throws {@link Schematic.InternalServerError}
|
|
531
|
+
* @throws {@link errors.SchematicError}
|
|
532
|
+
* @throws {@link errors.SchematicTimeoutError}
|
|
487
533
|
*
|
|
488
534
|
* @example
|
|
489
535
|
* await client.billing.countBillingProducts({
|
|
@@ -513,6 +559,8 @@ export declare class BillingClient {
|
|
|
513
559
|
* @throws {@link Schematic.ForbiddenError}
|
|
514
560
|
* @throws {@link Schematic.NotFoundError}
|
|
515
561
|
* @throws {@link Schematic.InternalServerError}
|
|
562
|
+
* @throws {@link errors.SchematicError}
|
|
563
|
+
* @throws {@link errors.SchematicTimeoutError}
|
|
516
564
|
*
|
|
517
565
|
* @example
|
|
518
566
|
* await client.billing.upsertBillingSubscription({
|
|
@@ -19,6 +19,8 @@ export declare class CatalogsClient {
|
|
|
19
19
|
* @throws {@link Schematic.ForbiddenError}
|
|
20
20
|
* @throws {@link Schematic.NotFoundError}
|
|
21
21
|
* @throws {@link Schematic.InternalServerError}
|
|
22
|
+
* @throws {@link errors.SchematicError}
|
|
23
|
+
* @throws {@link errors.SchematicTimeoutError}
|
|
22
24
|
*
|
|
23
25
|
* @example
|
|
24
26
|
* await client.catalogs.listCatalogs({
|
|
@@ -39,6 +41,8 @@ export declare class CatalogsClient {
|
|
|
39
41
|
* @throws {@link Schematic.ForbiddenError}
|
|
40
42
|
* @throws {@link Schematic.NotFoundError}
|
|
41
43
|
* @throws {@link Schematic.InternalServerError}
|
|
44
|
+
* @throws {@link errors.SchematicError}
|
|
45
|
+
* @throws {@link errors.SchematicTimeoutError}
|
|
42
46
|
*
|
|
43
47
|
* @example
|
|
44
48
|
* await client.catalogs.createCatalog({
|
|
@@ -55,6 +59,8 @@ export declare class CatalogsClient {
|
|
|
55
59
|
* @throws {@link Schematic.ForbiddenError}
|
|
56
60
|
* @throws {@link Schematic.NotFoundError}
|
|
57
61
|
* @throws {@link Schematic.InternalServerError}
|
|
62
|
+
* @throws {@link errors.SchematicError}
|
|
63
|
+
* @throws {@link errors.SchematicTimeoutError}
|
|
58
64
|
*
|
|
59
65
|
* @example
|
|
60
66
|
* await client.catalogs.getCatalog("catalog_id")
|
|
@@ -71,6 +77,8 @@ export declare class CatalogsClient {
|
|
|
71
77
|
* @throws {@link Schematic.ForbiddenError}
|
|
72
78
|
* @throws {@link Schematic.NotFoundError}
|
|
73
79
|
* @throws {@link Schematic.InternalServerError}
|
|
80
|
+
* @throws {@link errors.SchematicError}
|
|
81
|
+
* @throws {@link errors.SchematicTimeoutError}
|
|
74
82
|
*
|
|
75
83
|
* @example
|
|
76
84
|
* await client.catalogs.updateCatalog("catalog_id")
|
|
@@ -86,6 +94,8 @@ export declare class CatalogsClient {
|
|
|
86
94
|
* @throws {@link Schematic.ForbiddenError}
|
|
87
95
|
* @throws {@link Schematic.NotFoundError}
|
|
88
96
|
* @throws {@link Schematic.InternalServerError}
|
|
97
|
+
* @throws {@link errors.SchematicError}
|
|
98
|
+
* @throws {@link errors.SchematicTimeoutError}
|
|
89
99
|
*
|
|
90
100
|
* @example
|
|
91
101
|
* await client.catalogs.deleteCatalog("catalog_id")
|
|
@@ -100,6 +110,8 @@ export declare class CatalogsClient {
|
|
|
100
110
|
* @throws {@link Schematic.ForbiddenError}
|
|
101
111
|
* @throws {@link Schematic.NotFoundError}
|
|
102
112
|
* @throws {@link Schematic.InternalServerError}
|
|
113
|
+
* @throws {@link errors.SchematicError}
|
|
114
|
+
* @throws {@link errors.SchematicTimeoutError}
|
|
103
115
|
*
|
|
104
116
|
* @example
|
|
105
117
|
* await client.catalogs.getConfiguration("catalog_id")
|
|
@@ -116,6 +128,8 @@ export declare class CatalogsClient {
|
|
|
116
128
|
* @throws {@link Schematic.ForbiddenError}
|
|
117
129
|
* @throws {@link Schematic.NotFoundError}
|
|
118
130
|
* @throws {@link Schematic.InternalServerError}
|
|
131
|
+
* @throws {@link errors.SchematicError}
|
|
132
|
+
* @throws {@link errors.SchematicTimeoutError}
|
|
119
133
|
*
|
|
120
134
|
* @example
|
|
121
135
|
* await client.catalogs.updateConfiguration("catalog_id")
|
|
@@ -130,6 +144,8 @@ export declare class CatalogsClient {
|
|
|
130
144
|
* @throws {@link Schematic.ForbiddenError}
|
|
131
145
|
* @throws {@link Schematic.NotFoundError}
|
|
132
146
|
* @throws {@link Schematic.InternalServerError}
|
|
147
|
+
* @throws {@link errors.SchematicError}
|
|
148
|
+
* @throws {@link errors.SchematicTimeoutError}
|
|
133
149
|
*
|
|
134
150
|
* @example
|
|
135
151
|
* await client.catalogs.getCreditBundlesInCatalog("catalog_id")
|
|
@@ -146,6 +162,8 @@ export declare class CatalogsClient {
|
|
|
146
162
|
* @throws {@link Schematic.ForbiddenError}
|
|
147
163
|
* @throws {@link Schematic.NotFoundError}
|
|
148
164
|
* @throws {@link Schematic.InternalServerError}
|
|
165
|
+
* @throws {@link errors.SchematicError}
|
|
166
|
+
* @throws {@link errors.SchematicTimeoutError}
|
|
149
167
|
*
|
|
150
168
|
* @example
|
|
151
169
|
* await client.catalogs.addCreditBundle("catalog_id", "credit_bundle_id")
|
|
@@ -162,6 +180,8 @@ export declare class CatalogsClient {
|
|
|
162
180
|
* @throws {@link Schematic.ForbiddenError}
|
|
163
181
|
* @throws {@link Schematic.NotFoundError}
|
|
164
182
|
* @throws {@link Schematic.InternalServerError}
|
|
183
|
+
* @throws {@link errors.SchematicError}
|
|
184
|
+
* @throws {@link errors.SchematicTimeoutError}
|
|
165
185
|
*
|
|
166
186
|
* @example
|
|
167
187
|
* await client.catalogs.removeCreditBundle("catalog_id", "credit_bundle_id")
|
|
@@ -176,6 +196,8 @@ export declare class CatalogsClient {
|
|
|
176
196
|
* @throws {@link Schematic.ForbiddenError}
|
|
177
197
|
* @throws {@link Schematic.NotFoundError}
|
|
178
198
|
* @throws {@link Schematic.InternalServerError}
|
|
199
|
+
* @throws {@link errors.SchematicError}
|
|
200
|
+
* @throws {@link errors.SchematicTimeoutError}
|
|
179
201
|
*
|
|
180
202
|
* @example
|
|
181
203
|
* await client.catalogs.getDerivedFeatures("catalog_id")
|
|
@@ -190,6 +212,8 @@ export declare class CatalogsClient {
|
|
|
190
212
|
* @throws {@link Schematic.ForbiddenError}
|
|
191
213
|
* @throws {@link Schematic.NotFoundError}
|
|
192
214
|
* @throws {@link Schematic.InternalServerError}
|
|
215
|
+
* @throws {@link errors.SchematicError}
|
|
216
|
+
* @throws {@link errors.SchematicTimeoutError}
|
|
193
217
|
*
|
|
194
218
|
* @example
|
|
195
219
|
* await client.catalogs.getPlansInCatalog("catalog_id")
|
|
@@ -206,6 +230,8 @@ export declare class CatalogsClient {
|
|
|
206
230
|
* @throws {@link Schematic.ForbiddenError}
|
|
207
231
|
* @throws {@link Schematic.NotFoundError}
|
|
208
232
|
* @throws {@link Schematic.InternalServerError}
|
|
233
|
+
* @throws {@link errors.SchematicError}
|
|
234
|
+
* @throws {@link errors.SchematicTimeoutError}
|
|
209
235
|
*
|
|
210
236
|
* @example
|
|
211
237
|
* await client.catalogs.addPlan("catalog_id", "plan_id")
|
|
@@ -222,6 +248,8 @@ export declare class CatalogsClient {
|
|
|
222
248
|
* @throws {@link Schematic.ForbiddenError}
|
|
223
249
|
* @throws {@link Schematic.NotFoundError}
|
|
224
250
|
* @throws {@link Schematic.InternalServerError}
|
|
251
|
+
* @throws {@link errors.SchematicError}
|
|
252
|
+
* @throws {@link errors.SchematicTimeoutError}
|
|
225
253
|
*
|
|
226
254
|
* @example
|
|
227
255
|
* await client.catalogs.removePlan("catalog_id", "plan_id")
|
|
@@ -19,6 +19,8 @@ export declare class CheckoutClient {
|
|
|
19
19
|
* @throws {@link Schematic.ForbiddenError}
|
|
20
20
|
* @throws {@link Schematic.NotFoundError}
|
|
21
21
|
* @throws {@link Schematic.InternalServerError}
|
|
22
|
+
* @throws {@link errors.SchematicError}
|
|
23
|
+
* @throws {@link errors.SchematicTimeoutError}
|
|
22
24
|
*
|
|
23
25
|
* @example
|
|
24
26
|
* await client.checkout.internal({
|
|
@@ -58,6 +60,8 @@ export declare class CheckoutClient {
|
|
|
58
60
|
* @throws {@link Schematic.ForbiddenError}
|
|
59
61
|
* @throws {@link Schematic.NotFoundError}
|
|
60
62
|
* @throws {@link Schematic.InternalServerError}
|
|
63
|
+
* @throws {@link errors.SchematicError}
|
|
64
|
+
* @throws {@link errors.SchematicTimeoutError}
|
|
61
65
|
*
|
|
62
66
|
* @example
|
|
63
67
|
* await client.checkout.getCheckoutData({
|
|
@@ -75,6 +79,8 @@ export declare class CheckoutClient {
|
|
|
75
79
|
* @throws {@link Schematic.ForbiddenError}
|
|
76
80
|
* @throws {@link Schematic.NotFoundError}
|
|
77
81
|
* @throws {@link Schematic.InternalServerError}
|
|
82
|
+
* @throws {@link errors.SchematicError}
|
|
83
|
+
* @throws {@link errors.SchematicTimeoutError}
|
|
78
84
|
*
|
|
79
85
|
* @example
|
|
80
86
|
* await client.checkout.previewCheckoutInternal({
|
|
@@ -113,6 +119,8 @@ export declare class CheckoutClient {
|
|
|
113
119
|
* @throws {@link Schematic.ForbiddenError}
|
|
114
120
|
* @throws {@link Schematic.NotFoundError}
|
|
115
121
|
* @throws {@link Schematic.InternalServerError}
|
|
122
|
+
* @throws {@link errors.SchematicError}
|
|
123
|
+
* @throws {@link errors.SchematicTimeoutError}
|
|
116
124
|
*
|
|
117
125
|
* @example
|
|
118
126
|
* await client.checkout.getCompanyBillingDetails("company_id")
|
|
@@ -129,6 +137,8 @@ export declare class CheckoutClient {
|
|
|
129
137
|
* @throws {@link Schematic.ForbiddenError}
|
|
130
138
|
* @throws {@link Schematic.NotFoundError}
|
|
131
139
|
* @throws {@link Schematic.InternalServerError}
|
|
140
|
+
* @throws {@link errors.SchematicError}
|
|
141
|
+
* @throws {@link errors.SchematicTimeoutError}
|
|
132
142
|
*
|
|
133
143
|
* @example
|
|
134
144
|
* await client.checkout.updateCompanyBillingDetails("company_id", {
|
|
@@ -149,6 +159,8 @@ export declare class CheckoutClient {
|
|
|
149
159
|
* @throws {@link Schematic.ForbiddenError}
|
|
150
160
|
* @throws {@link Schematic.NotFoundError}
|
|
151
161
|
* @throws {@link Schematic.InternalServerError}
|
|
162
|
+
* @throws {@link errors.SchematicError}
|
|
163
|
+
* @throws {@link errors.SchematicTimeoutError}
|
|
152
164
|
*
|
|
153
165
|
* @example
|
|
154
166
|
* await client.checkout.managePlan({
|
|
@@ -181,6 +193,8 @@ export declare class CheckoutClient {
|
|
|
181
193
|
* @throws {@link Schematic.ForbiddenError}
|
|
182
194
|
* @throws {@link Schematic.NotFoundError}
|
|
183
195
|
* @throws {@link Schematic.InternalServerError}
|
|
196
|
+
* @throws {@link errors.SchematicError}
|
|
197
|
+
* @throws {@link errors.SchematicTimeoutError}
|
|
184
198
|
*
|
|
185
199
|
* @example
|
|
186
200
|
* await client.checkout.previewManagePlan({
|
|
@@ -213,6 +227,8 @@ export declare class CheckoutClient {
|
|
|
213
227
|
* @throws {@link Schematic.ForbiddenError}
|
|
214
228
|
* @throws {@link Schematic.NotFoundError}
|
|
215
229
|
* @throws {@link Schematic.InternalServerError}
|
|
230
|
+
* @throws {@link errors.SchematicError}
|
|
231
|
+
* @throws {@link errors.SchematicTimeoutError}
|
|
216
232
|
*
|
|
217
233
|
* @example
|
|
218
234
|
* await client.checkout.cancelSubscription({
|
|
@@ -231,6 +247,8 @@ export declare class CheckoutClient {
|
|
|
231
247
|
* @throws {@link Schematic.ForbiddenError}
|
|
232
248
|
* @throws {@link Schematic.NotFoundError}
|
|
233
249
|
* @throws {@link Schematic.InternalServerError}
|
|
250
|
+
* @throws {@link errors.SchematicError}
|
|
251
|
+
* @throws {@link errors.SchematicTimeoutError}
|
|
234
252
|
*
|
|
235
253
|
* @example
|
|
236
254
|
* await client.checkout.updateCustomerSubscriptionTrialEnd("subscription_id")
|