@schematichq/schematic-typescript-node 1.4.3 → 1.4.5

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 (162) hide show
  1. package/LICENSE +1 -1
  2. package/dist/BaseClient.d.ts +1 -1
  3. package/dist/Client.d.ts +11 -0
  4. package/dist/api/resources/accesstokens/exports.d.ts +2 -0
  5. package/dist/api/resources/accounts/client/Client.d.ts +10 -10
  6. package/dist/api/resources/accounts/client/requests/CountApiKeysRequest.d.ts +2 -2
  7. package/dist/api/resources/accounts/client/requests/CountAuditLogsRequest.d.ts +2 -2
  8. package/dist/api/resources/accounts/client/requests/ListApiKeysRequest.d.ts +2 -2
  9. package/dist/api/resources/accounts/client/requests/ListAuditLogsRequest.d.ts +2 -2
  10. package/dist/api/resources/accounts/client/requests/ListEnvironmentsRequest.d.ts +2 -2
  11. package/dist/api/resources/accounts/exports.d.ts +2 -0
  12. package/dist/api/resources/billing/client/Client.d.ts +34 -34
  13. package/dist/api/resources/billing/client/requests/CountBillingProductsRequest.d.ts +2 -2
  14. package/dist/api/resources/billing/client/requests/CountCustomersRequest.d.ts +2 -2
  15. package/dist/api/resources/billing/client/requests/CreateBillingPriceRequestBody.d.ts +1 -1
  16. package/dist/api/resources/billing/client/requests/CreateBillingSubscriptionRequestBody.d.ts +3 -3
  17. package/dist/api/resources/billing/client/requests/CreateCouponRequestBody.d.ts +4 -4
  18. package/dist/api/resources/billing/client/requests/CreateInvoiceRequestBody.d.ts +4 -4
  19. package/dist/api/resources/billing/client/requests/ListBillingPricesRequest.d.ts +3 -3
  20. package/dist/api/resources/billing/client/requests/ListBillingProductPricesRequest.d.ts +3 -3
  21. package/dist/api/resources/billing/client/requests/ListBillingProductsRequest.d.ts +2 -2
  22. package/dist/api/resources/billing/client/requests/ListCouponsRequest.d.ts +2 -2
  23. package/dist/api/resources/billing/client/requests/ListCustomersWithSubscriptionsRequest.d.ts +2 -2
  24. package/dist/api/resources/billing/client/requests/ListInvoicesRequest.d.ts +2 -2
  25. package/dist/api/resources/billing/client/requests/ListMetersRequest.d.ts +2 -2
  26. package/dist/api/resources/billing/client/requests/ListPaymentMethodsRequest.d.ts +2 -2
  27. package/dist/api/resources/billing/exports.d.ts +2 -0
  28. package/dist/api/resources/checkout/client/Client.d.ts +8 -8
  29. package/dist/api/resources/checkout/exports.d.ts +2 -0
  30. package/dist/api/resources/companies/client/Client.d.ts +34 -28
  31. package/dist/api/resources/companies/client/requests/CountCompaniesRequest.d.ts +2 -2
  32. package/dist/api/resources/companies/client/requests/CountEntityKeyDefinitionsRequest.d.ts +2 -2
  33. package/dist/api/resources/companies/client/requests/CountEntityTraitDefinitionsRequest.d.ts +2 -2
  34. package/dist/api/resources/companies/client/requests/CountPlanTraitsRequest.d.ts +2 -2
  35. package/dist/api/resources/companies/client/requests/CountUsersRequest.d.ts +2 -2
  36. package/dist/api/resources/companies/client/requests/GetActiveCompanySubscriptionRequest.d.ts +2 -2
  37. package/dist/api/resources/companies/client/requests/GetEntityTraitValuesRequest.d.ts +2 -2
  38. package/dist/api/resources/companies/client/requests/ListCompaniesRequest.d.ts +2 -2
  39. package/dist/api/resources/companies/client/requests/ListCompanyMembershipsRequest.d.ts +2 -2
  40. package/dist/api/resources/companies/client/requests/ListEntityKeyDefinitionsRequest.d.ts +2 -2
  41. package/dist/api/resources/companies/client/requests/ListEntityTraitDefinitionsRequest.d.ts +2 -2
  42. package/dist/api/resources/companies/client/requests/ListPlanChangesRequest.d.ts +2 -2
  43. package/dist/api/resources/companies/client/requests/ListPlanTraitsRequest.d.ts +2 -2
  44. package/dist/api/resources/companies/client/requests/ListUsersRequest.d.ts +2 -2
  45. package/dist/api/resources/companies/exports.d.ts +2 -0
  46. package/dist/api/resources/components/client/Client.d.ts +4 -4
  47. package/dist/api/resources/components/client/requests/CountComponentsRequest.d.ts +2 -2
  48. package/dist/api/resources/components/client/requests/ListComponentsRequest.d.ts +2 -2
  49. package/dist/api/resources/components/exports.d.ts +2 -0
  50. package/dist/api/resources/componentspublic/exports.d.ts +2 -0
  51. package/dist/api/resources/credits/client/Client.d.ts +32 -32
  52. package/dist/api/resources/credits/client/requests/CountBillingCreditsGrantsRequest.d.ts +2 -2
  53. package/dist/api/resources/credits/client/requests/CountBillingCreditsRequest.d.ts +2 -2
  54. package/dist/api/resources/credits/client/requests/CountBillingPlanCreditGrantsRequest.d.ts +2 -2
  55. package/dist/api/resources/credits/client/requests/CountCompanyGrantsRequest.d.ts +2 -2
  56. package/dist/api/resources/credits/client/requests/CountCreditBundlesRequest.d.ts +2 -2
  57. package/dist/api/resources/credits/client/requests/CountCreditEventLedgerRequest.d.ts +2 -2
  58. package/dist/api/resources/credits/client/requests/CountCreditLedgerRequest.d.ts +2 -2
  59. package/dist/api/resources/credits/client/requests/CreateCompanyCreditGrant.d.ts +1 -1
  60. package/dist/api/resources/credits/client/requests/CreateCreditBundleRequestBody.d.ts +1 -1
  61. package/dist/api/resources/credits/client/requests/GetEnrichedCreditLedgerRequest.d.ts +2 -2
  62. package/dist/api/resources/credits/client/requests/ListBillingCreditsRequest.d.ts +2 -2
  63. package/dist/api/resources/credits/client/requests/ListBillingPlanCreditGrantsRequest.d.ts +2 -2
  64. package/dist/api/resources/credits/client/requests/ListCompanyGrantsRequest.d.ts +2 -2
  65. package/dist/api/resources/credits/client/requests/ListCreditBundlesRequest.d.ts +2 -2
  66. package/dist/api/resources/credits/client/requests/ListCreditEventLedgerRequest.d.ts +2 -2
  67. package/dist/api/resources/credits/client/requests/ListGrantsForCreditRequest.d.ts +2 -2
  68. package/dist/api/resources/credits/client/requests/UpdateCreditBundleDetailsRequestBody.d.ts +1 -1
  69. package/dist/api/resources/credits/exports.d.ts +2 -0
  70. package/dist/api/resources/dataexports/exports.d.ts +2 -0
  71. package/dist/api/resources/entitlements/client/Client.d.ts +20 -20
  72. package/dist/api/resources/entitlements/client/requests/CountCompanyOverridesRequest.d.ts +2 -2
  73. package/dist/api/resources/entitlements/client/requests/CountFeatureCompaniesRequest.d.ts +2 -2
  74. package/dist/api/resources/entitlements/client/requests/CountFeatureUsageRequest.d.ts +2 -2
  75. package/dist/api/resources/entitlements/client/requests/CountFeatureUsersRequest.d.ts +2 -2
  76. package/dist/api/resources/entitlements/client/requests/CountPlanEntitlementsRequest.d.ts +2 -2
  77. package/dist/api/resources/entitlements/client/requests/ListCompanyOverridesRequest.d.ts +2 -2
  78. package/dist/api/resources/entitlements/client/requests/ListFeatureCompaniesRequest.d.ts +2 -2
  79. package/dist/api/resources/entitlements/client/requests/ListFeatureUsageRequest.d.ts +2 -2
  80. package/dist/api/resources/entitlements/client/requests/ListFeatureUsersRequest.d.ts +2 -2
  81. package/dist/api/resources/entitlements/client/requests/ListPlanEntitlementsRequest.d.ts +2 -2
  82. package/dist/api/resources/entitlements/exports.d.ts +2 -0
  83. package/dist/api/resources/events/client/Client.d.ts +4 -4
  84. package/dist/api/resources/events/client/requests/GetEventSummariesRequest.d.ts +2 -2
  85. package/dist/api/resources/events/client/requests/ListEventsRequest.d.ts +2 -2
  86. package/dist/api/resources/events/exports.d.ts +2 -0
  87. package/dist/api/resources/features/client/Client.d.ts +9 -9
  88. package/dist/api/resources/features/client/requests/CountFeaturesRequest.d.ts +2 -2
  89. package/dist/api/resources/features/client/requests/CountFlagsRequest.d.ts +2 -2
  90. package/dist/api/resources/features/client/requests/ListFeaturesRequest.d.ts +2 -2
  91. package/dist/api/resources/features/client/requests/ListFlagsRequest.d.ts +2 -2
  92. package/dist/api/resources/features/client/requests/UpdateFlagRulesRequestBody.d.ts +1 -1
  93. package/dist/api/resources/features/exports.d.ts +2 -0
  94. package/dist/api/resources/planbundle/exports.d.ts +2 -0
  95. package/dist/api/resources/plangroups/exports.d.ts +2 -0
  96. package/dist/api/resources/planmigrations/client/Client.d.ts +8 -8
  97. package/dist/api/resources/planmigrations/client/requests/CountCompanyMigrationsRequest.d.ts +2 -2
  98. package/dist/api/resources/planmigrations/client/requests/CountMigrationsRequest.d.ts +2 -2
  99. package/dist/api/resources/planmigrations/client/requests/ListCompanyMigrationsRequest.d.ts +2 -2
  100. package/dist/api/resources/planmigrations/client/requests/ListMigrationsRequest.d.ts +2 -2
  101. package/dist/api/resources/planmigrations/exports.d.ts +2 -0
  102. package/dist/api/resources/plans/client/Client.d.ts +6 -4
  103. package/dist/api/resources/plans/client/requests/CountPlansRequest.d.ts +5 -2
  104. package/dist/api/resources/plans/client/requests/ListPlansRequest.d.ts +5 -2
  105. package/dist/api/resources/plans/exports.d.ts +2 -0
  106. package/dist/api/resources/plans/types/CountPlansParams.d.ts +2 -0
  107. package/dist/api/resources/plans/types/ListPlansParams.d.ts +2 -0
  108. package/dist/api/resources/scheduledcheckout/client/Client.d.ts +2 -2
  109. package/dist/api/resources/scheduledcheckout/client/requests/ListScheduledCheckoutsRequest.d.ts +2 -2
  110. package/dist/api/resources/scheduledcheckout/exports.d.ts +2 -0
  111. package/dist/api/resources/webhooks/client/Client.d.ts +8 -8
  112. package/dist/api/resources/webhooks/client/requests/CountWebhookEventsRequest.d.ts +2 -2
  113. package/dist/api/resources/webhooks/client/requests/CountWebhooksRequest.d.ts +2 -2
  114. package/dist/api/resources/webhooks/client/requests/ListWebhookEventsRequest.d.ts +2 -2
  115. package/dist/api/resources/webhooks/client/requests/ListWebhooksRequest.d.ts +2 -2
  116. package/dist/api/resources/webhooks/exports.d.ts +2 -0
  117. package/dist/api/types/CaptureRawEvent.d.ts +1 -1
  118. package/dist/api/types/ConditionGroupResponseData.d.ts +0 -1
  119. package/dist/api/types/ConditionGroupView.d.ts +0 -1
  120. package/dist/api/types/ConditionResponseData.d.ts +0 -1
  121. package/dist/api/types/ConditionView.d.ts +0 -1
  122. package/dist/api/types/DataEventPayload.d.ts +7 -0
  123. package/dist/api/types/ManagePlanRequest.d.ts +1 -0
  124. package/dist/api/types/PlanSelection.d.ts +1 -0
  125. package/dist/api/types/RuleView.d.ts +0 -1
  126. package/dist/api/types/RulesEngineSchemaVersion.d.ts +1 -1
  127. package/dist/api/types/WebScheduledDowngradeWebhookOutput.d.ts +10 -0
  128. package/dist/api/types/WebhookRequestType.d.ts +1 -0
  129. package/dist/api/types/index.d.ts +2 -0
  130. package/dist/auth/HeaderAuthProvider.d.ts +14 -10
  131. package/dist/core/fetcher/BinaryResponse.d.ts +1 -1
  132. package/dist/core/fetcher/EndpointSupplier.d.ts +2 -2
  133. package/dist/core/fetcher/Fetcher.d.ts +1 -2
  134. package/dist/core/fetcher/index.d.ts +2 -0
  135. package/dist/core/fetcher/makePassthroughRequest.d.ts +49 -0
  136. package/dist/core/fetcher/makeRequest.d.ts +6 -1
  137. package/dist/core/headers.d.ts +2 -2
  138. package/dist/core/schemas/builders/record/index.d.ts +2 -2
  139. package/dist/core/schemas/builders/record/record.d.ts +2 -1
  140. package/dist/core/schemas/builders/record/types.d.ts +2 -0
  141. package/dist/datastream/merge.d.ts +30 -0
  142. package/dist/index.js +3 -3
  143. package/dist/serialization/resources/plans/types/CountPlansParams.d.ts +1 -0
  144. package/dist/serialization/resources/plans/types/ListPlansParams.d.ts +1 -0
  145. package/dist/serialization/types/CaptureRawEvent.d.ts +1 -1
  146. package/dist/serialization/types/ConditionGroupResponseData.d.ts +0 -1
  147. package/dist/serialization/types/ConditionGroupView.d.ts +0 -1
  148. package/dist/serialization/types/ConditionResponseData.d.ts +0 -1
  149. package/dist/serialization/types/ConditionView.d.ts +0 -1
  150. package/dist/serialization/types/DataEventPayload.d.ts +13 -0
  151. package/dist/serialization/types/ManagePlanRequest.d.ts +1 -0
  152. package/dist/serialization/types/PlanSelection.d.ts +1 -0
  153. package/dist/serialization/types/RuleView.d.ts +0 -1
  154. package/dist/serialization/types/RulesEngineSchemaVersion.d.ts +1 -1
  155. package/dist/serialization/types/WebScheduledDowngradeWebhookOutput.d.ts +17 -0
  156. package/dist/serialization/types/WebhookRequestType.d.ts +1 -1
  157. package/dist/serialization/types/index.d.ts +2 -0
  158. package/dist/wasm/rulesengine.d.ts +10 -0
  159. package/dist/wasm/rulesengine.js +193 -0
  160. package/dist/wasm/rulesengine_bg.wasm +0 -0
  161. package/dist/wasm/rulesengine_bg.wasm.d.ts +25 -0
  162. package/package.json +4 -4
package/LICENSE CHANGED
@@ -1,6 +1,6 @@
1
1
  MIT License
2
2
 
3
- Copyright (c) 2023-2025 Schematic, Inc.
3
+ Copyright (c) 2023-2026 Schematic, Inc.
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the "Software"), to deal
@@ -1,4 +1,4 @@
1
- import { HeaderAuthProvider } from "./auth/HeaderAuthProvider.js";
1
+ import { HeaderAuthProvider } from "./auth/HeaderAuthProvider";
2
2
  import * as core from "./core";
3
3
  import type * as environments from "./environments";
4
4
  export type BaseClientOptions = {
package/dist/Client.d.ts CHANGED
@@ -81,4 +81,15 @@ export declare class SchematicClient {
81
81
  */
82
82
  deletePlanAudiencesPlanAudienceId(plan_audience_id: string, requestOptions?: SchematicClient.RequestOptions): core.HttpResponsePromise<void>;
83
83
  private __deletePlanAudiencesPlanAudienceId;
84
+ /**
85
+ * Make a passthrough request using the SDK's configured auth, retry, logging, etc.
86
+ * This is useful for making requests to endpoints not yet supported in the SDK.
87
+ * The input can be a URL string, URL object, or Request object. Relative paths are resolved against the configured base URL.
88
+ *
89
+ * @param {Request | string | URL} input - The URL, path, or Request object.
90
+ * @param {RequestInit} init - Standard fetch RequestInit options.
91
+ * @param {core.PassthroughRequest.RequestOptions} requestOptions - Per-request overrides (timeout, retries, headers, abort signal).
92
+ * @returns {Promise<Response>} A standard Response object.
93
+ */
94
+ fetch(input: Request | string | URL, init?: RequestInit, requestOptions?: core.PassthroughRequest.RequestOptions): Promise<Response>;
84
95
  }
@@ -0,0 +1,2 @@
1
+ export { AccesstokensClient } from "./client/Client";
2
+ export * from "./client/index";
@@ -24,8 +24,8 @@ export declare class AccountsClient {
24
24
  * await client.accounts.listApiKeys({
25
25
  * environmentId: "environment_id",
26
26
  * requireEnvironment: true,
27
- * limit: 1,
28
- * offset: 1
27
+ * limit: 1000000,
28
+ * offset: 1000000
29
29
  * })
30
30
  */
31
31
  listApiKeys(request: Schematic.ListApiKeysRequest, requestOptions?: AccountsClient.RequestOptions): core.HttpResponsePromise<Schematic.ListApiKeysResponse>;
@@ -106,8 +106,8 @@ export declare class AccountsClient {
106
106
  * await client.accounts.countApiKeys({
107
107
  * environmentId: "environment_id",
108
108
  * requireEnvironment: true,
109
- * limit: 1,
110
- * offset: 1
109
+ * limit: 1000000,
110
+ * offset: 1000000
111
111
  * })
112
112
  */
113
113
  countApiKeys(request: Schematic.CountApiKeysRequest, requestOptions?: AccountsClient.RequestOptions): core.HttpResponsePromise<Schematic.CountApiKeysResponse>;
@@ -129,8 +129,8 @@ export declare class AccountsClient {
129
129
  * environmentId: "environment_id",
130
130
  * q: "q",
131
131
  * startTime: new Date("2024-01-15T09:30:00.000Z"),
132
- * limit: 1,
133
- * offset: 1
132
+ * limit: 1000000,
133
+ * offset: 1000000
134
134
  * })
135
135
  */
136
136
  listAuditLogs(request?: Schematic.ListAuditLogsRequest, requestOptions?: AccountsClient.RequestOptions): core.HttpResponsePromise<Schematic.ListAuditLogsResponse>;
@@ -166,8 +166,8 @@ export declare class AccountsClient {
166
166
  * environmentId: "environment_id",
167
167
  * q: "q",
168
168
  * startTime: new Date("2024-01-15T09:30:00.000Z"),
169
- * limit: 1,
170
- * offset: 1
169
+ * limit: 1000000,
170
+ * offset: 1000000
171
171
  * })
172
172
  */
173
173
  countAuditLogs(request?: Schematic.CountAuditLogsRequest, requestOptions?: AccountsClient.RequestOptions): core.HttpResponsePromise<Schematic.CountAuditLogsResponse>;
@@ -184,8 +184,8 @@ export declare class AccountsClient {
184
184
  *
185
185
  * @example
186
186
  * await client.accounts.listEnvironments({
187
- * limit: 1,
188
- * offset: 1
187
+ * limit: 1000000,
188
+ * offset: 1000000
189
189
  * })
190
190
  */
191
191
  listEnvironments(request?: Schematic.ListEnvironmentsRequest, requestOptions?: AccountsClient.RequestOptions): core.HttpResponsePromise<Schematic.ListEnvironmentsResponse>;
@@ -3,8 +3,8 @@
3
3
  * {
4
4
  * environmentId: "environment_id",
5
5
  * requireEnvironment: true,
6
- * limit: 1,
7
- * offset: 1
6
+ * limit: 1000000,
7
+ * offset: 1000000
8
8
  * }
9
9
  */
10
10
  export interface CountApiKeysRequest {
@@ -7,8 +7,8 @@ import type * as Schematic from "../../../../index";
7
7
  * environmentId: "environment_id",
8
8
  * q: "q",
9
9
  * startTime: new Date("2024-01-15T09:30:00.000Z"),
10
- * limit: 1,
11
- * offset: 1
10
+ * limit: 1000000,
11
+ * offset: 1000000
12
12
  * }
13
13
  */
14
14
  export interface CountAuditLogsRequest {
@@ -3,8 +3,8 @@
3
3
  * {
4
4
  * environmentId: "environment_id",
5
5
  * requireEnvironment: true,
6
- * limit: 1,
7
- * offset: 1
6
+ * limit: 1000000,
7
+ * offset: 1000000
8
8
  * }
9
9
  */
10
10
  export interface ListApiKeysRequest {
@@ -7,8 +7,8 @@ import type * as Schematic from "../../../../index";
7
7
  * environmentId: "environment_id",
8
8
  * q: "q",
9
9
  * startTime: new Date("2024-01-15T09:30:00.000Z"),
10
- * limit: 1,
11
- * offset: 1
10
+ * limit: 1000000,
11
+ * offset: 1000000
12
12
  * }
13
13
  */
14
14
  export interface ListAuditLogsRequest {
@@ -1,8 +1,8 @@
1
1
  /**
2
2
  * @example
3
3
  * {
4
- * limit: 1,
5
- * offset: 1
4
+ * limit: 1000000,
5
+ * offset: 1000000
6
6
  * }
7
7
  */
8
8
  export interface ListEnvironmentsRequest {
@@ -0,0 +1,2 @@
1
+ export { AccountsClient } from "./client/Client";
2
+ export * from "./client/index";
@@ -24,8 +24,8 @@ export declare class BillingClient {
24
24
  * await client.billing.listCoupons({
25
25
  * isActive: true,
26
26
  * q: "q",
27
- * limit: 1,
28
- * offset: 1
27
+ * limit: 1000000,
28
+ * offset: 1000000
29
29
  * })
30
30
  */
31
31
  listCoupons(request?: Schematic.ListCouponsRequest, requestOptions?: BillingClient.RequestOptions): core.HttpResponsePromise<Schematic.ListCouponsResponse>;
@@ -42,14 +42,14 @@ export declare class BillingClient {
42
42
  *
43
43
  * @example
44
44
  * await client.billing.upsertBillingCoupon({
45
- * amountOff: 1,
45
+ * amountOff: 1000000,
46
46
  * duration: "duration",
47
- * durationInMonths: 1,
47
+ * durationInMonths: 1000000,
48
48
  * externalId: "external_id",
49
- * maxRedemptions: 1,
49
+ * maxRedemptions: 1000000,
50
50
  * name: "name",
51
51
  * percentOff: 1.1,
52
- * timesRedeemed: 1
52
+ * timesRedeemed: 1000000
53
53
  * })
54
54
  */
55
55
  upsertBillingCoupon(request: Schematic.CreateCouponRequestBody, requestOptions?: BillingClient.RequestOptions): core.HttpResponsePromise<Schematic.UpsertBillingCouponResponse>;
@@ -91,8 +91,8 @@ export declare class BillingClient {
91
91
  * name: "name",
92
92
  * providerType: "schematic",
93
93
  * q: "q",
94
- * limit: 1,
95
- * offset: 1
94
+ * limit: 1000000,
95
+ * offset: 1000000
96
96
  * })
97
97
  */
98
98
  listCustomersWithSubscriptions(request?: Schematic.ListCustomersWithSubscriptionsRequest, requestOptions?: BillingClient.RequestOptions): core.HttpResponsePromise<Schematic.ListCustomersWithSubscriptionsResponse>;
@@ -112,8 +112,8 @@ export declare class BillingClient {
112
112
  * name: "name",
113
113
  * providerType: "schematic",
114
114
  * q: "q",
115
- * limit: 1,
116
- * offset: 1
115
+ * limit: 1000000,
116
+ * offset: 1000000
117
117
  * })
118
118
  */
119
119
  countCustomers(request?: Schematic.CountCustomersRequest, requestOptions?: BillingClient.RequestOptions): core.HttpResponsePromise<Schematic.CountCustomersResponse>;
@@ -133,8 +133,8 @@ export declare class BillingClient {
133
133
  * companyId: "company_id",
134
134
  * customerExternalId: "customer_external_id",
135
135
  * subscriptionExternalId: "subscription_external_id",
136
- * limit: 1,
137
- * offset: 1
136
+ * limit: 1000000,
137
+ * offset: 1000000
138
138
  * })
139
139
  */
140
140
  listInvoices(request: Schematic.ListInvoicesRequest, requestOptions?: BillingClient.RequestOptions): core.HttpResponsePromise<Schematic.ListInvoicesResponse>;
@@ -151,13 +151,13 @@ export declare class BillingClient {
151
151
  *
152
152
  * @example
153
153
  * await client.billing.upsertInvoice({
154
- * amountDue: 1,
155
- * amountPaid: 1,
156
- * amountRemaining: 1,
154
+ * amountDue: 1000000,
155
+ * amountPaid: 1000000,
156
+ * amountRemaining: 1000000,
157
157
  * collectionMethod: "collection_method",
158
158
  * currency: "currency",
159
159
  * customerExternalId: "customer_external_id",
160
- * subtotal: 1
160
+ * subtotal: 1000000
161
161
  * })
162
162
  */
163
163
  upsertInvoice(request: Schematic.CreateInvoiceRequestBody, requestOptions?: BillingClient.RequestOptions): core.HttpResponsePromise<Schematic.UpsertInvoiceResponse>;
@@ -175,8 +175,8 @@ export declare class BillingClient {
175
175
  * @example
176
176
  * await client.billing.listMeters({
177
177
  * displayName: "display_name",
178
- * limit: 1,
179
- * offset: 1
178
+ * limit: 1000000,
179
+ * offset: 1000000
180
180
  * })
181
181
  */
182
182
  listMeters(request?: Schematic.ListMetersRequest, requestOptions?: BillingClient.RequestOptions): core.HttpResponsePromise<Schematic.ListMetersResponse>;
@@ -215,8 +215,8 @@ export declare class BillingClient {
215
215
  * await client.billing.listPaymentMethods({
216
216
  * companyId: "company_id",
217
217
  * customerExternalId: "customer_external_id",
218
- * limit: 1,
219
- * offset: 1
218
+ * limit: 1000000,
219
+ * offset: 1000000
220
220
  * })
221
221
  */
222
222
  listPaymentMethods(request: Schematic.ListPaymentMethodsRequest, requestOptions?: BillingClient.RequestOptions): core.HttpResponsePromise<Schematic.ListPaymentMethodsResponse>;
@@ -256,15 +256,15 @@ export declare class BillingClient {
256
256
  * forTrialExpiryPlan: true,
257
257
  * interval: "interval",
258
258
  * isActive: true,
259
- * price: 1,
259
+ * price: 1000000,
260
260
  * productId: "product_id",
261
261
  * providerType: "schematic",
262
262
  * q: "q",
263
263
  * tiersMode: "graduated",
264
264
  * usageType: "licensed",
265
265
  * withMeter: true,
266
- * limit: 1,
267
- * offset: 1
266
+ * limit: 1000000,
267
+ * offset: 1000000
268
268
  * })
269
269
  */
270
270
  listBillingPrices(request?: Schematic.ListBillingPricesRequest, requestOptions?: BillingClient.RequestOptions): core.HttpResponsePromise<Schematic.ListBillingPricesResponse>;
@@ -286,7 +286,7 @@ export declare class BillingClient {
286
286
  * externalAccountId: "external_account_id",
287
287
  * interval: "interval",
288
288
  * isActive: true,
289
- * price: 1,
289
+ * price: 1000000,
290
290
  * priceExternalId: "price_external_id",
291
291
  * priceTiers: [{
292
292
  * priceExternalId: "price_external_id"
@@ -328,15 +328,15 @@ export declare class BillingClient {
328
328
  * forTrialExpiryPlan: true,
329
329
  * interval: "interval",
330
330
  * isActive: true,
331
- * price: 1,
331
+ * price: 1000000,
332
332
  * productId: "product_id",
333
333
  * providerType: "schematic",
334
334
  * q: "q",
335
335
  * tiersMode: "graduated",
336
336
  * usageType: "licensed",
337
337
  * withMeter: true,
338
- * limit: 1,
339
- * offset: 1
338
+ * limit: 1000000,
339
+ * offset: 1000000
340
340
  * })
341
341
  */
342
342
  listBillingProductPrices(request?: Schematic.ListBillingProductPricesRequest, requestOptions?: BillingClient.RequestOptions): core.HttpResponsePromise<Schematic.ListBillingProductPricesResponse>;
@@ -395,8 +395,8 @@ export declare class BillingClient {
395
395
  * withPricesOnly: true,
396
396
  * withZeroPrice: true,
397
397
  * withoutLinkedToPlan: true,
398
- * limit: 1,
399
- * offset: 1
398
+ * limit: 1000000,
399
+ * offset: 1000000
400
400
  * })
401
401
  */
402
402
  listBillingProducts(request?: Schematic.ListBillingProductsRequest, requestOptions?: BillingClient.RequestOptions): core.HttpResponsePromise<Schematic.ListBillingProductsResponse>;
@@ -422,8 +422,8 @@ export declare class BillingClient {
422
422
  * withPricesOnly: true,
423
423
  * withZeroPrice: true,
424
424
  * withoutLinkedToPlan: true,
425
- * limit: 1,
426
- * offset: 1
425
+ * limit: 1000000,
426
+ * offset: 1000000
427
427
  * })
428
428
  */
429
429
  countBillingProducts(request?: Schematic.CountBillingProductsRequest, requestOptions?: BillingClient.RequestOptions): core.HttpResponsePromise<Schematic.CountBillingProductsResponse>;
@@ -453,14 +453,14 @@ export declare class BillingClient {
453
453
  * productExternalIds: [{
454
454
  * currency: "currency",
455
455
  * interval: "interval",
456
- * price: 1,
456
+ * price: 1000000,
457
457
  * priceExternalId: "price_external_id",
458
458
  * productExternalId: "product_external_id",
459
- * quantity: 1,
459
+ * quantity: 1000000,
460
460
  * usageType: "licensed"
461
461
  * }],
462
462
  * subscriptionExternalId: "subscription_external_id",
463
- * totalPrice: 1
463
+ * totalPrice: 1000000
464
464
  * })
465
465
  */
466
466
  upsertBillingSubscription(request: Schematic.CreateBillingSubscriptionRequestBody, requestOptions?: BillingClient.RequestOptions): core.HttpResponsePromise<Schematic.UpsertBillingSubscriptionResponse>;
@@ -11,8 +11,8 @@ import type * as Schematic from "../../../../index";
11
11
  * withPricesOnly: true,
12
12
  * withZeroPrice: true,
13
13
  * withoutLinkedToPlan: true,
14
- * limit: 1,
15
- * offset: 1
14
+ * limit: 1000000,
15
+ * offset: 1000000
16
16
  * }
17
17
  */
18
18
  export interface CountBillingProductsRequest {
@@ -5,8 +5,8 @@ import type * as Schematic from "../../../../index";
5
5
  * name: "name",
6
6
  * providerType: "schematic",
7
7
  * q: "q",
8
- * limit: 1,
9
- * offset: 1
8
+ * limit: 1000000,
9
+ * offset: 1000000
10
10
  * }
11
11
  */
12
12
  export interface CountCustomersRequest {
@@ -7,7 +7,7 @@ import type * as Schematic from "../../../../index";
7
7
  * externalAccountId: "external_account_id",
8
8
  * interval: "interval",
9
9
  * isActive: true,
10
- * price: 1,
10
+ * price: 1000000,
11
11
  * priceExternalId: "price_external_id",
12
12
  * priceTiers: [{
13
13
  * priceExternalId: "price_external_id"
@@ -15,14 +15,14 @@ import type * as Schematic from "../../../../index";
15
15
  * productExternalIds: [{
16
16
  * currency: "currency",
17
17
  * interval: "interval",
18
- * price: 1,
18
+ * price: 1000000,
19
19
  * priceExternalId: "price_external_id",
20
20
  * productExternalId: "product_external_id",
21
- * quantity: 1,
21
+ * quantity: 1000000,
22
22
  * usageType: "licensed"
23
23
  * }],
24
24
  * subscriptionExternalId: "subscription_external_id",
25
- * totalPrice: 1
25
+ * totalPrice: 1000000
26
26
  * }
27
27
  */
28
28
  export interface CreateBillingSubscriptionRequestBody {
@@ -1,14 +1,14 @@
1
1
  /**
2
2
  * @example
3
3
  * {
4
- * amountOff: 1,
4
+ * amountOff: 1000000,
5
5
  * duration: "duration",
6
- * durationInMonths: 1,
6
+ * durationInMonths: 1000000,
7
7
  * externalId: "external_id",
8
- * maxRedemptions: 1,
8
+ * maxRedemptions: 1000000,
9
9
  * name: "name",
10
10
  * percentOff: 1.1,
11
- * timesRedeemed: 1
11
+ * timesRedeemed: 1000000
12
12
  * }
13
13
  */
14
14
  export interface CreateCouponRequestBody {
@@ -2,13 +2,13 @@ import type * as Schematic from "../../../../index";
2
2
  /**
3
3
  * @example
4
4
  * {
5
- * amountDue: 1,
6
- * amountPaid: 1,
7
- * amountRemaining: 1,
5
+ * amountDue: 1000000,
6
+ * amountPaid: 1000000,
7
+ * amountRemaining: 1000000,
8
8
  * collectionMethod: "collection_method",
9
9
  * currency: "currency",
10
10
  * customerExternalId: "customer_external_id",
11
- * subtotal: 1
11
+ * subtotal: 1000000
12
12
  * }
13
13
  */
14
14
  export interface CreateInvoiceRequestBody {
@@ -6,15 +6,15 @@ import type * as Schematic from "../../../../index";
6
6
  * forTrialExpiryPlan: true,
7
7
  * interval: "interval",
8
8
  * isActive: true,
9
- * price: 1,
9
+ * price: 1000000,
10
10
  * productId: "product_id",
11
11
  * providerType: "schematic",
12
12
  * q: "q",
13
13
  * tiersMode: "graduated",
14
14
  * usageType: "licensed",
15
15
  * withMeter: true,
16
- * limit: 1,
17
- * offset: 1
16
+ * limit: 1000000,
17
+ * offset: 1000000
18
18
  * }
19
19
  */
20
20
  export interface ListBillingPricesRequest {
@@ -6,15 +6,15 @@ import type * as Schematic from "../../../../index";
6
6
  * forTrialExpiryPlan: true,
7
7
  * interval: "interval",
8
8
  * isActive: true,
9
- * price: 1,
9
+ * price: 1000000,
10
10
  * productId: "product_id",
11
11
  * providerType: "schematic",
12
12
  * q: "q",
13
13
  * tiersMode: "graduated",
14
14
  * usageType: "licensed",
15
15
  * withMeter: true,
16
- * limit: 1,
17
- * offset: 1
16
+ * limit: 1000000,
17
+ * offset: 1000000
18
18
  * }
19
19
  */
20
20
  export interface ListBillingProductPricesRequest {
@@ -11,8 +11,8 @@ import type * as Schematic from "../../../../index";
11
11
  * withPricesOnly: true,
12
12
  * withZeroPrice: true,
13
13
  * withoutLinkedToPlan: true,
14
- * limit: 1,
15
- * offset: 1
14
+ * limit: 1000000,
15
+ * offset: 1000000
16
16
  * }
17
17
  */
18
18
  export interface ListBillingProductsRequest {
@@ -3,8 +3,8 @@
3
3
  * {
4
4
  * isActive: true,
5
5
  * q: "q",
6
- * limit: 1,
7
- * offset: 1
6
+ * limit: 1000000,
7
+ * offset: 1000000
8
8
  * }
9
9
  */
10
10
  export interface ListCouponsRequest {
@@ -5,8 +5,8 @@ import type * as Schematic from "../../../../index";
5
5
  * name: "name",
6
6
  * providerType: "schematic",
7
7
  * q: "q",
8
- * limit: 1,
9
- * offset: 1
8
+ * limit: 1000000,
9
+ * offset: 1000000
10
10
  * }
11
11
  */
12
12
  export interface ListCustomersWithSubscriptionsRequest {
@@ -4,8 +4,8 @@
4
4
  * companyId: "company_id",
5
5
  * customerExternalId: "customer_external_id",
6
6
  * subscriptionExternalId: "subscription_external_id",
7
- * limit: 1,
8
- * offset: 1
7
+ * limit: 1000000,
8
+ * offset: 1000000
9
9
  * }
10
10
  */
11
11
  export interface ListInvoicesRequest {
@@ -2,8 +2,8 @@
2
2
  * @example
3
3
  * {
4
4
  * displayName: "display_name",
5
- * limit: 1,
6
- * offset: 1
5
+ * limit: 1000000,
6
+ * offset: 1000000
7
7
  * }
8
8
  */
9
9
  export interface ListMetersRequest {
@@ -3,8 +3,8 @@
3
3
  * {
4
4
  * companyId: "company_id",
5
5
  * customerExternalId: "customer_external_id",
6
- * limit: 1,
7
- * offset: 1
6
+ * limit: 1000000,
7
+ * offset: 1000000
8
8
  * }
9
9
  */
10
10
  export interface ListPaymentMethodsRequest {
@@ -0,0 +1,2 @@
1
+ export { BillingClient } from "./client/Client";
2
+ export * from "./client/index";
@@ -29,13 +29,13 @@ export declare class CheckoutClient {
29
29
  * companyId: "company_id",
30
30
  * creditBundles: [{
31
31
  * bundleId: "bundle_id",
32
- * quantity: 1
32
+ * quantity: 1000000
33
33
  * }],
34
34
  * newPlanId: "new_plan_id",
35
35
  * newPriceId: "new_price_id",
36
36
  * payInAdvance: [{
37
37
  * priceId: "price_id",
38
- * quantity: 1
38
+ * quantity: 1000000
39
39
  * }],
40
40
  * skipTrial: true
41
41
  * })
@@ -78,13 +78,13 @@ export declare class CheckoutClient {
78
78
  * companyId: "company_id",
79
79
  * creditBundles: [{
80
80
  * bundleId: "bundle_id",
81
- * quantity: 1
81
+ * quantity: 1000000
82
82
  * }],
83
83
  * newPlanId: "new_plan_id",
84
84
  * newPriceId: "new_price_id",
85
85
  * payInAdvance: [{
86
86
  * priceId: "price_id",
87
- * quantity: 1
87
+ * quantity: 1000000
88
88
  * }],
89
89
  * skipTrial: true
90
90
  * })
@@ -109,11 +109,11 @@ export declare class CheckoutClient {
109
109
  * companyId: "company_id",
110
110
  * creditBundles: [{
111
111
  * bundleId: "bundle_id",
112
- * quantity: 1
112
+ * quantity: 1000000
113
113
  * }],
114
114
  * payInAdvanceEntitlements: [{
115
115
  * priceId: "price_id",
116
- * quantity: 1
116
+ * quantity: 1000000
117
117
  * }]
118
118
  * })
119
119
  */
@@ -137,11 +137,11 @@ export declare class CheckoutClient {
137
137
  * companyId: "company_id",
138
138
  * creditBundles: [{
139
139
  * bundleId: "bundle_id",
140
- * quantity: 1
140
+ * quantity: 1000000
141
141
  * }],
142
142
  * payInAdvanceEntitlements: [{
143
143
  * priceId: "price_id",
144
- * quantity: 1
144
+ * quantity: 1000000
145
145
  * }]
146
146
  * })
147
147
  */
@@ -0,0 +1,2 @@
1
+ export { CheckoutClient } from "./client/Client";
2
+ export * from "./client/index";