@schematichq/schematic-typescript-node 1.4.4 → 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 (158) 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/ConditionGroupResponseData.d.ts +0 -1
  118. package/dist/api/types/ConditionGroupView.d.ts +0 -1
  119. package/dist/api/types/ConditionResponseData.d.ts +0 -1
  120. package/dist/api/types/ConditionView.d.ts +0 -1
  121. package/dist/api/types/ManagePlanRequest.d.ts +1 -0
  122. package/dist/api/types/PlanSelection.d.ts +1 -0
  123. package/dist/api/types/RuleView.d.ts +0 -1
  124. package/dist/api/types/RulesEngineSchemaVersion.d.ts +1 -1
  125. package/dist/api/types/WebScheduledDowngradeWebhookOutput.d.ts +10 -0
  126. package/dist/api/types/WebhookRequestType.d.ts +1 -0
  127. package/dist/api/types/index.d.ts +1 -0
  128. package/dist/auth/HeaderAuthProvider.d.ts +14 -10
  129. package/dist/core/fetcher/BinaryResponse.d.ts +1 -1
  130. package/dist/core/fetcher/EndpointSupplier.d.ts +2 -2
  131. package/dist/core/fetcher/Fetcher.d.ts +1 -2
  132. package/dist/core/fetcher/index.d.ts +2 -0
  133. package/dist/core/fetcher/makePassthroughRequest.d.ts +49 -0
  134. package/dist/core/fetcher/makeRequest.d.ts +6 -1
  135. package/dist/core/headers.d.ts +2 -2
  136. package/dist/core/schemas/builders/record/index.d.ts +2 -2
  137. package/dist/core/schemas/builders/record/record.d.ts +2 -1
  138. package/dist/core/schemas/builders/record/types.d.ts +2 -0
  139. package/dist/datastream/merge.d.ts +30 -0
  140. package/dist/index.js +3 -3
  141. package/dist/serialization/resources/plans/types/CountPlansParams.d.ts +1 -0
  142. package/dist/serialization/resources/plans/types/ListPlansParams.d.ts +1 -0
  143. package/dist/serialization/types/ConditionGroupResponseData.d.ts +0 -1
  144. package/dist/serialization/types/ConditionGroupView.d.ts +0 -1
  145. package/dist/serialization/types/ConditionResponseData.d.ts +0 -1
  146. package/dist/serialization/types/ConditionView.d.ts +0 -1
  147. package/dist/serialization/types/ManagePlanRequest.d.ts +1 -0
  148. package/dist/serialization/types/PlanSelection.d.ts +1 -0
  149. package/dist/serialization/types/RuleView.d.ts +0 -1
  150. package/dist/serialization/types/RulesEngineSchemaVersion.d.ts +1 -1
  151. package/dist/serialization/types/WebScheduledDowngradeWebhookOutput.d.ts +17 -0
  152. package/dist/serialization/types/WebhookRequestType.d.ts +1 -1
  153. package/dist/serialization/types/index.d.ts +1 -0
  154. package/dist/wasm/rulesengine.d.ts +10 -0
  155. package/dist/wasm/rulesengine.js +193 -0
  156. package/dist/wasm/rulesengine_bg.wasm +0 -0
  157. package/dist/wasm/rulesengine_bg.wasm.d.ts +25 -0
  158. package/package.json +4 -4
@@ -33,8 +33,8 @@ export declare class CompaniesClient {
33
33
  * withoutPlan: true,
34
34
  * withoutSubscription: true,
35
35
  * withSubscription: true,
36
- * limit: 1,
37
- * offset: 1
36
+ * limit: 1000000,
37
+ * offset: 1000000
38
38
  * })
39
39
  */
40
40
  listCompanies(request?: Schematic.ListCompaniesRequest, requestOptions?: CompaniesClient.RequestOptions): core.HttpResponsePromise<Schematic.ListCompaniesResponse>;
@@ -114,8 +114,8 @@ export declare class CompaniesClient {
114
114
  * withoutPlan: true,
115
115
  * withoutSubscription: true,
116
116
  * withSubscription: true,
117
- * limit: 1,
118
- * offset: 1
117
+ * limit: 1000000,
118
+ * offset: 1000000
119
119
  * })
120
120
  */
121
121
  countCompanies(request?: Schematic.CountCompaniesRequest, requestOptions?: CompaniesClient.RequestOptions): core.HttpResponsePromise<Schematic.CountCompaniesResponse>;
@@ -159,6 +159,12 @@ export declare class CompaniesClient {
159
159
  deleteCompanyByKeys(request: Schematic.KeysRequestBody, requestOptions?: CompaniesClient.RequestOptions): core.HttpResponsePromise<Schematic.DeleteCompanyByKeysResponse>;
160
160
  private __deleteCompanyByKeys;
161
161
  /**
162
+ * Company lookup is determined to resolve a company from its keys, similar to how many of our other apis work.
163
+ * The following approaches will all work to resolve a company and any of them are appropriate:
164
+ * 1. `/companies/lookup?keys={"foo": "bar", "fizz": "buzz"}`
165
+ * 2. `/companies/lookup?keys[foo]=bar&keys[fizz]=buzz`
166
+ * 2. `/companies/lookup?foo=bar&fizz=buzz`
167
+ *
162
168
  * @param {Schematic.LookupCompanyRequest} request
163
169
  * @param {CompaniesClient.RequestOptions} requestOptions - Request-specific configuration.
164
170
  *
@@ -190,8 +196,8 @@ export declare class CompaniesClient {
190
196
  * await client.companies.listCompanyMemberships({
191
197
  * companyId: "company_id",
192
198
  * userId: "user_id",
193
- * limit: 1,
194
- * offset: 1
199
+ * limit: 1000000,
200
+ * offset: 1000000
195
201
  * })
196
202
  */
197
203
  listCompanyMemberships(request?: Schematic.ListCompanyMembershipsRequest, requestOptions?: CompaniesClient.RequestOptions): core.HttpResponsePromise<Schematic.ListCompanyMembershipsResponse>;
@@ -242,8 +248,8 @@ export declare class CompaniesClient {
242
248
  * @example
243
249
  * await client.companies.getActiveCompanySubscription({
244
250
  * companyId: "company_id",
245
- * limit: 1,
246
- * offset: 1
251
+ * limit: 1000000,
252
+ * offset: 1000000
247
253
  * })
248
254
  */
249
255
  getActiveCompanySubscription(request?: Schematic.GetActiveCompanySubscriptionRequest, requestOptions?: CompaniesClient.RequestOptions): core.HttpResponsePromise<Schematic.GetActiveCompanySubscriptionResponse>;
@@ -282,8 +288,8 @@ export declare class CompaniesClient {
282
288
  * await client.companies.listEntityKeyDefinitions({
283
289
  * entityType: "company",
284
290
  * q: "q",
285
- * limit: 1,
286
- * offset: 1
291
+ * limit: 1000000,
292
+ * offset: 1000000
287
293
  * })
288
294
  */
289
295
  listEntityKeyDefinitions(request?: Schematic.ListEntityKeyDefinitionsRequest, requestOptions?: CompaniesClient.RequestOptions): core.HttpResponsePromise<Schematic.ListEntityKeyDefinitionsResponse>;
@@ -302,8 +308,8 @@ export declare class CompaniesClient {
302
308
  * await client.companies.countEntityKeyDefinitions({
303
309
  * entityType: "company",
304
310
  * q: "q",
305
- * limit: 1,
306
- * offset: 1
311
+ * limit: 1000000,
312
+ * offset: 1000000
307
313
  * })
308
314
  */
309
315
  countEntityKeyDefinitions(request?: Schematic.CountEntityKeyDefinitionsRequest, requestOptions?: CompaniesClient.RequestOptions): core.HttpResponsePromise<Schematic.CountEntityKeyDefinitionsResponse>;
@@ -323,8 +329,8 @@ export declare class CompaniesClient {
323
329
  * entityType: "company",
324
330
  * q: "q",
325
331
  * traitType: "boolean",
326
- * limit: 1,
327
- * offset: 1
332
+ * limit: 1000000,
333
+ * offset: 1000000
328
334
  * })
329
335
  */
330
336
  listEntityTraitDefinitions(request?: Schematic.ListEntityTraitDefinitionsRequest, requestOptions?: CompaniesClient.RequestOptions): core.HttpResponsePromise<Schematic.ListEntityTraitDefinitionsResponse>;
@@ -395,8 +401,8 @@ export declare class CompaniesClient {
395
401
  * entityType: "company",
396
402
  * q: "q",
397
403
  * traitType: "boolean",
398
- * limit: 1,
399
- * offset: 1
404
+ * limit: 1000000,
405
+ * offset: 1000000
400
406
  * })
401
407
  */
402
408
  countEntityTraitDefinitions(request?: Schematic.CountEntityTraitDefinitionsRequest, requestOptions?: CompaniesClient.RequestOptions): core.HttpResponsePromise<Schematic.CountEntityTraitDefinitionsResponse>;
@@ -415,8 +421,8 @@ export declare class CompaniesClient {
415
421
  * await client.companies.getEntityTraitValues({
416
422
  * definitionId: "definition_id",
417
423
  * q: "q",
418
- * limit: 1,
419
- * offset: 1
424
+ * limit: 1000000,
425
+ * offset: 1000000
420
426
  * })
421
427
  */
422
428
  getEntityTraitValues(request: Schematic.GetEntityTraitValuesRequest, requestOptions?: CompaniesClient.RequestOptions): core.HttpResponsePromise<Schematic.GetEntityTraitValuesResponse>;
@@ -436,8 +442,8 @@ export declare class CompaniesClient {
436
442
  * action: "action",
437
443
  * basePlanAction: "base_plan_action",
438
444
  * companyId: "company_id",
439
- * limit: 1,
440
- * offset: 1
445
+ * limit: 1000000,
446
+ * offset: 1000000
441
447
  * })
442
448
  */
443
449
  listPlanChanges(request?: Schematic.ListPlanChangesRequest, requestOptions?: CompaniesClient.RequestOptions): core.HttpResponsePromise<Schematic.ListPlanChangesResponse>;
@@ -470,8 +476,8 @@ export declare class CompaniesClient {
470
476
  * await client.companies.listPlanTraits({
471
477
  * planId: "plan_id",
472
478
  * traitId: "trait_id",
473
- * limit: 1,
474
- * offset: 1
479
+ * limit: 1000000,
480
+ * offset: 1000000
475
481
  * })
476
482
  */
477
483
  listPlanTraits(request?: Schematic.ListPlanTraitsRequest, requestOptions?: CompaniesClient.RequestOptions): core.HttpResponsePromise<Schematic.ListPlanTraitsResponse>;
@@ -579,8 +585,8 @@ export declare class CompaniesClient {
579
585
  * await client.companies.countPlanTraits({
580
586
  * planId: "plan_id",
581
587
  * traitId: "trait_id",
582
- * limit: 1,
583
- * offset: 1
588
+ * limit: 1000000,
589
+ * offset: 1000000
584
590
  * })
585
591
  */
586
592
  countPlanTraits(request?: Schematic.CountPlanTraitsRequest, requestOptions?: CompaniesClient.RequestOptions): core.HttpResponsePromise<Schematic.CountPlanTraitsResponse>;
@@ -620,8 +626,8 @@ export declare class CompaniesClient {
620
626
  * companyId: "company_id",
621
627
  * planId: "plan_id",
622
628
  * q: "q",
623
- * limit: 1,
624
- * offset: 1
629
+ * limit: 1000000,
630
+ * offset: 1000000
625
631
  * })
626
632
  */
627
633
  listUsers(request?: Schematic.ListUsersRequest, requestOptions?: CompaniesClient.RequestOptions): core.HttpResponsePromise<Schematic.ListUsersResponse>;
@@ -689,8 +695,8 @@ export declare class CompaniesClient {
689
695
  * companyId: "company_id",
690
696
  * planId: "plan_id",
691
697
  * q: "q",
692
- * limit: 1,
693
- * offset: 1
698
+ * limit: 1000000,
699
+ * offset: 1000000
694
700
  * })
695
701
  */
696
702
  countUsers(request?: Schematic.CountUsersRequest, requestOptions?: CompaniesClient.RequestOptions): core.HttpResponsePromise<Schematic.CountUsersResponse>;
@@ -13,8 +13,8 @@ import type * as Schematic from "../../../../index";
13
13
  * withoutPlan: true,
14
14
  * withoutSubscription: true,
15
15
  * withSubscription: true,
16
- * limit: 1,
17
- * offset: 1
16
+ * limit: 1000000,
17
+ * offset: 1000000
18
18
  * }
19
19
  */
20
20
  export interface CountCompaniesRequest {
@@ -4,8 +4,8 @@ import type * as Schematic from "../../../../index";
4
4
  * {
5
5
  * entityType: "company",
6
6
  * q: "q",
7
- * limit: 1,
8
- * offset: 1
7
+ * limit: 1000000,
8
+ * offset: 1000000
9
9
  * }
10
10
  */
11
11
  export interface CountEntityKeyDefinitionsRequest {
@@ -5,8 +5,8 @@ import type * as Schematic from "../../../../index";
5
5
  * entityType: "company",
6
6
  * q: "q",
7
7
  * traitType: "boolean",
8
- * limit: 1,
9
- * offset: 1
8
+ * limit: 1000000,
9
+ * offset: 1000000
10
10
  * }
11
11
  */
12
12
  export interface CountEntityTraitDefinitionsRequest {
@@ -3,8 +3,8 @@
3
3
  * {
4
4
  * planId: "plan_id",
5
5
  * traitId: "trait_id",
6
- * limit: 1,
7
- * offset: 1
6
+ * limit: 1000000,
7
+ * offset: 1000000
8
8
  * }
9
9
  */
10
10
  export interface CountPlanTraitsRequest {
@@ -4,8 +4,8 @@
4
4
  * companyId: "company_id",
5
5
  * planId: "plan_id",
6
6
  * q: "q",
7
- * limit: 1,
8
- * offset: 1
7
+ * limit: 1000000,
8
+ * offset: 1000000
9
9
  * }
10
10
  */
11
11
  export interface CountUsersRequest {
@@ -2,8 +2,8 @@
2
2
  * @example
3
3
  * {
4
4
  * companyId: "company_id",
5
- * limit: 1,
6
- * offset: 1
5
+ * limit: 1000000,
6
+ * offset: 1000000
7
7
  * }
8
8
  */
9
9
  export interface GetActiveCompanySubscriptionRequest {
@@ -3,8 +3,8 @@
3
3
  * {
4
4
  * definitionId: "definition_id",
5
5
  * q: "q",
6
- * limit: 1,
7
- * offset: 1
6
+ * limit: 1000000,
7
+ * offset: 1000000
8
8
  * }
9
9
  */
10
10
  export interface GetEntityTraitValuesRequest {
@@ -13,8 +13,8 @@ import type * as Schematic from "../../../../index";
13
13
  * withoutPlan: true,
14
14
  * withoutSubscription: true,
15
15
  * withSubscription: true,
16
- * limit: 1,
17
- * offset: 1
16
+ * limit: 1000000,
17
+ * offset: 1000000
18
18
  * }
19
19
  */
20
20
  export interface ListCompaniesRequest {
@@ -3,8 +3,8 @@
3
3
  * {
4
4
  * companyId: "company_id",
5
5
  * userId: "user_id",
6
- * limit: 1,
7
- * offset: 1
6
+ * limit: 1000000,
7
+ * offset: 1000000
8
8
  * }
9
9
  */
10
10
  export interface ListCompanyMembershipsRequest {
@@ -4,8 +4,8 @@ import type * as Schematic from "../../../../index";
4
4
  * {
5
5
  * entityType: "company",
6
6
  * q: "q",
7
- * limit: 1,
8
- * offset: 1
7
+ * limit: 1000000,
8
+ * offset: 1000000
9
9
  * }
10
10
  */
11
11
  export interface ListEntityKeyDefinitionsRequest {
@@ -5,8 +5,8 @@ import type * as Schematic from "../../../../index";
5
5
  * entityType: "company",
6
6
  * q: "q",
7
7
  * traitType: "boolean",
8
- * limit: 1,
9
- * offset: 1
8
+ * limit: 1000000,
9
+ * offset: 1000000
10
10
  * }
11
11
  */
12
12
  export interface ListEntityTraitDefinitionsRequest {
@@ -4,8 +4,8 @@
4
4
  * action: "action",
5
5
  * basePlanAction: "base_plan_action",
6
6
  * companyId: "company_id",
7
- * limit: 1,
8
- * offset: 1
7
+ * limit: 1000000,
8
+ * offset: 1000000
9
9
  * }
10
10
  */
11
11
  export interface ListPlanChangesRequest {
@@ -3,8 +3,8 @@
3
3
  * {
4
4
  * planId: "plan_id",
5
5
  * traitId: "trait_id",
6
- * limit: 1,
7
- * offset: 1
6
+ * limit: 1000000,
7
+ * offset: 1000000
8
8
  * }
9
9
  */
10
10
  export interface ListPlanTraitsRequest {
@@ -4,8 +4,8 @@
4
4
  * companyId: "company_id",
5
5
  * planId: "plan_id",
6
6
  * q: "q",
7
- * limit: 1,
8
- * offset: 1
7
+ * limit: 1000000,
8
+ * offset: 1000000
9
9
  * }
10
10
  */
11
11
  export interface ListUsersRequest {
@@ -0,0 +1,2 @@
1
+ export { CompaniesClient } from "./client/Client";
2
+ export * from "./client/index";
@@ -23,8 +23,8 @@ export declare class ComponentsClient {
23
23
  * @example
24
24
  * await client.components.listComponents({
25
25
  * q: "q",
26
- * limit: 1,
27
- * offset: 1
26
+ * limit: 1000000,
27
+ * offset: 1000000
28
28
  * })
29
29
  */
30
30
  listComponents(request?: Schematic.ListComponentsRequest, requestOptions?: ComponentsClient.RequestOptions): core.HttpResponsePromise<Schematic.ListComponentsResponse>;
@@ -105,8 +105,8 @@ export declare class ComponentsClient {
105
105
  * @example
106
106
  * await client.components.countComponents({
107
107
  * q: "q",
108
- * limit: 1,
109
- * offset: 1
108
+ * limit: 1000000,
109
+ * offset: 1000000
110
110
  * })
111
111
  */
112
112
  countComponents(request?: Schematic.CountComponentsRequest, requestOptions?: ComponentsClient.RequestOptions): core.HttpResponsePromise<Schematic.CountComponentsResponse>;
@@ -2,8 +2,8 @@
2
2
  * @example
3
3
  * {
4
4
  * q: "q",
5
- * limit: 1,
6
- * offset: 1
5
+ * limit: 1000000,
6
+ * offset: 1000000
7
7
  * }
8
8
  */
9
9
  export interface CountComponentsRequest {
@@ -2,8 +2,8 @@
2
2
  * @example
3
3
  * {
4
4
  * q: "q",
5
- * limit: 1,
6
- * offset: 1
5
+ * limit: 1000000,
6
+ * offset: 1000000
7
7
  * }
8
8
  */
9
9
  export interface ListComponentsRequest {
@@ -0,0 +1,2 @@
1
+ export { ComponentsClient } from "./client/Client";
2
+ export * from "./client/index";
@@ -0,0 +1,2 @@
1
+ export { ComponentspublicClient } from "./client/Client";
2
+ export * from "./client/index";
@@ -23,8 +23,8 @@ export declare class CreditsClient {
23
23
  * @example
24
24
  * await client.credits.listBillingCredits({
25
25
  * name: "name",
26
- * limit: 1,
27
- * offset: 1
26
+ * limit: 1000000,
27
+ * offset: 1000000
28
28
  * })
29
29
  */
30
30
  listBillingCredits(request?: Schematic.ListBillingCreditsRequest, requestOptions?: CreditsClient.RequestOptions): core.HttpResponsePromise<Schematic.ListBillingCreditsResponse>;
@@ -111,8 +111,8 @@ export declare class CreditsClient {
111
111
  * creditId: "credit_id",
112
112
  * status: "active",
113
113
  * bundleType: "fixed",
114
- * limit: 1,
115
- * offset: 1
114
+ * limit: 1000000,
115
+ * offset: 1000000
116
116
  * })
117
117
  */
118
118
  listCreditBundles(request?: Schematic.ListCreditBundlesRequest, requestOptions?: CreditsClient.RequestOptions): core.HttpResponsePromise<Schematic.ListCreditBundlesResponse>;
@@ -132,7 +132,7 @@ export declare class CreditsClient {
132
132
  * bundleName: "bundle_name",
133
133
  * creditId: "credit_id",
134
134
  * currency: "currency",
135
- * pricePerUnit: 1
135
+ * pricePerUnit: 1000000
136
136
  * })
137
137
  */
138
138
  createCreditBundle(request: Schematic.CreateCreditBundleRequestBody, requestOptions?: CreditsClient.RequestOptions): core.HttpResponsePromise<Schematic.CreateCreditBundleResponse>;
@@ -165,7 +165,7 @@ export declare class CreditsClient {
165
165
  * @example
166
166
  * await client.credits.updateCreditBundleDetails("bundle_id", {
167
167
  * bundleName: "bundle_name",
168
- * pricePerUnit: 1
168
+ * pricePerUnit: 1000000
169
169
  * })
170
170
  */
171
171
  updateCreditBundleDetails(bundle_id: string, request: Schematic.UpdateCreditBundleDetailsRequestBody, requestOptions?: CreditsClient.RequestOptions): core.HttpResponsePromise<Schematic.UpdateCreditBundleDetailsResponse>;
@@ -200,8 +200,8 @@ export declare class CreditsClient {
200
200
  * creditId: "credit_id",
201
201
  * status: "active",
202
202
  * bundleType: "fixed",
203
- * limit: 1,
204
- * offset: 1
203
+ * limit: 1000000,
204
+ * offset: 1000000
205
205
  * })
206
206
  */
207
207
  countCreditBundles(request?: Schematic.CountCreditBundlesRequest, requestOptions?: CreditsClient.RequestOptions): core.HttpResponsePromise<Schematic.CountCreditBundlesResponse>;
@@ -219,8 +219,8 @@ export declare class CreditsClient {
219
219
  * @example
220
220
  * await client.credits.countBillingCredits({
221
221
  * name: "name",
222
- * limit: 1,
223
- * offset: 1
222
+ * limit: 1000000,
223
+ * offset: 1000000
224
224
  * })
225
225
  */
226
226
  countBillingCredits(request?: Schematic.CountBillingCreditsRequest, requestOptions?: CreditsClient.RequestOptions): core.HttpResponsePromise<Schematic.CountBillingCreditsResponse>;
@@ -255,7 +255,7 @@ export declare class CreditsClient {
255
255
  * await client.credits.grantBillingCreditsToCompany({
256
256
  * companyId: "company_id",
257
257
  * creditId: "credit_id",
258
- * quantity: 1,
258
+ * quantity: 1000000,
259
259
  * reason: "billing_credit_auto_topup"
260
260
  * })
261
261
  */
@@ -276,8 +276,8 @@ export declare class CreditsClient {
276
276
  * companyId: "company_id",
277
277
  * order: "created_at",
278
278
  * dir: "asc",
279
- * limit: 1,
280
- * offset: 1
279
+ * limit: 1000000,
280
+ * offset: 1000000
281
281
  * })
282
282
  */
283
283
  countCompanyGrants(request?: Schematic.CountCompanyGrantsRequest, requestOptions?: CreditsClient.RequestOptions): core.HttpResponsePromise<Schematic.CountCompanyGrantsResponse>;
@@ -297,8 +297,8 @@ export declare class CreditsClient {
297
297
  * companyId: "company_id",
298
298
  * order: "created_at",
299
299
  * dir: "asc",
300
- * limit: 1,
301
- * offset: 1
300
+ * limit: 1000000,
301
+ * offset: 1000000
302
302
  * })
303
303
  */
304
304
  listCompanyGrants(request?: Schematic.ListCompanyGrantsRequest, requestOptions?: CreditsClient.RequestOptions): core.HttpResponsePromise<Schematic.ListCompanyGrantsResponse>;
@@ -316,8 +316,8 @@ export declare class CreditsClient {
316
316
  * @example
317
317
  * await client.credits.countBillingCreditsGrants({
318
318
  * creditId: "credit_id",
319
- * limit: 1,
320
- * offset: 1
319
+ * limit: 1000000,
320
+ * offset: 1000000
321
321
  * })
322
322
  */
323
323
  countBillingCreditsGrants(request?: Schematic.CountBillingCreditsGrantsRequest, requestOptions?: CreditsClient.RequestOptions): core.HttpResponsePromise<Schematic.CountBillingCreditsGrantsResponse>;
@@ -335,8 +335,8 @@ export declare class CreditsClient {
335
335
  * @example
336
336
  * await client.credits.listGrantsForCredit({
337
337
  * creditId: "credit_id",
338
- * limit: 1,
339
- * offset: 1
338
+ * limit: 1000000,
339
+ * offset: 1000000
340
340
  * })
341
341
  */
342
342
  listGrantsForCredit(request?: Schematic.ListGrantsForCreditRequest, requestOptions?: CreditsClient.RequestOptions): core.HttpResponsePromise<Schematic.ListGrantsForCreditResponse>;
@@ -359,8 +359,8 @@ export declare class CreditsClient {
359
359
  * period: "daily",
360
360
  * startTime: "start_time",
361
361
  * endTime: "end_time",
362
- * limit: 1,
363
- * offset: 1
362
+ * limit: 1000000,
363
+ * offset: 1000000
364
364
  * })
365
365
  */
366
366
  getEnrichedCreditLedger(request: Schematic.GetEnrichedCreditLedgerRequest, requestOptions?: CreditsClient.RequestOptions): core.HttpResponsePromise<Schematic.GetEnrichedCreditLedgerResponse>;
@@ -383,8 +383,8 @@ export declare class CreditsClient {
383
383
  * period: "daily",
384
384
  * startTime: "start_time",
385
385
  * endTime: "end_time",
386
- * limit: 1,
387
- * offset: 1
386
+ * limit: 1000000,
387
+ * offset: 1000000
388
388
  * })
389
389
  */
390
390
  countCreditLedger(request: Schematic.CountCreditLedgerRequest, requestOptions?: CreditsClient.RequestOptions): core.HttpResponsePromise<Schematic.CountCreditLedgerResponse>;
@@ -404,8 +404,8 @@ export declare class CreditsClient {
404
404
  * creditId: "credit_id",
405
405
  * planId: "plan_id",
406
406
  * planVersionId: "plan_version_id",
407
- * limit: 1,
408
- * offset: 1
407
+ * limit: 1000000,
408
+ * offset: 1000000
409
409
  * })
410
410
  */
411
411
  listBillingPlanCreditGrants(request?: Schematic.ListBillingPlanCreditGrantsRequest, requestOptions?: CreditsClient.RequestOptions): core.HttpResponsePromise<Schematic.ListBillingPlanCreditGrantsResponse>;
@@ -422,7 +422,7 @@ export declare class CreditsClient {
422
422
  *
423
423
  * @example
424
424
  * await client.credits.createBillingPlanCreditGrant({
425
- * creditAmount: 1,
425
+ * creditAmount: 1000000,
426
426
  * creditId: "credit_id",
427
427
  * planId: "plan_id",
428
428
  * resetCadence: "daily",
@@ -483,8 +483,8 @@ export declare class CreditsClient {
483
483
  * creditId: "credit_id",
484
484
  * planId: "plan_id",
485
485
  * planVersionId: "plan_version_id",
486
- * limit: 1,
487
- * offset: 1
486
+ * limit: 1000000,
487
+ * offset: 1000000
488
488
  * })
489
489
  */
490
490
  countBillingPlanCreditGrants(request?: Schematic.CountBillingPlanCreditGrantsRequest, requestOptions?: CreditsClient.RequestOptions): core.HttpResponsePromise<Schematic.CountBillingPlanCreditGrantsResponse>;
@@ -507,8 +507,8 @@ export declare class CreditsClient {
507
507
  * eventType: "grant",
508
508
  * featureId: "feature_id",
509
509
  * startTime: "start_time",
510
- * limit: 1,
511
- * offset: 1
510
+ * limit: 1000000,
511
+ * offset: 1000000
512
512
  * })
513
513
  */
514
514
  listCreditEventLedger(request: Schematic.ListCreditEventLedgerRequest, requestOptions?: CreditsClient.RequestOptions): core.HttpResponsePromise<Schematic.ListCreditEventLedgerResponse>;
@@ -531,8 +531,8 @@ export declare class CreditsClient {
531
531
  * eventType: "grant",
532
532
  * featureId: "feature_id",
533
533
  * startTime: "start_time",
534
- * limit: 1,
535
- * offset: 1
534
+ * limit: 1000000,
535
+ * offset: 1000000
536
536
  * })
537
537
  */
538
538
  countCreditEventLedger(request: Schematic.CountCreditEventLedgerRequest, requestOptions?: CreditsClient.RequestOptions): core.HttpResponsePromise<Schematic.CountCreditEventLedgerResponse>;
@@ -2,8 +2,8 @@
2
2
  * @example
3
3
  * {
4
4
  * creditId: "credit_id",
5
- * limit: 1,
6
- * offset: 1
5
+ * limit: 1000000,
6
+ * offset: 1000000
7
7
  * }
8
8
  */
9
9
  export interface CountBillingCreditsGrantsRequest {
@@ -2,8 +2,8 @@
2
2
  * @example
3
3
  * {
4
4
  * name: "name",
5
- * limit: 1,
6
- * offset: 1
5
+ * limit: 1000000,
6
+ * offset: 1000000
7
7
  * }
8
8
  */
9
9
  export interface CountBillingCreditsRequest {
@@ -4,8 +4,8 @@
4
4
  * creditId: "credit_id",
5
5
  * planId: "plan_id",
6
6
  * planVersionId: "plan_version_id",
7
- * limit: 1,
8
- * offset: 1
7
+ * limit: 1000000,
8
+ * offset: 1000000
9
9
  * }
10
10
  */
11
11
  export interface CountBillingPlanCreditGrantsRequest {
@@ -5,8 +5,8 @@ import type * as Schematic from "../../../../index";
5
5
  * companyId: "company_id",
6
6
  * order: "created_at",
7
7
  * dir: "asc",
8
- * limit: 1,
9
- * offset: 1
8
+ * limit: 1000000,
9
+ * offset: 1000000
10
10
  * }
11
11
  */
12
12
  export interface CountCompanyGrantsRequest {
@@ -5,8 +5,8 @@ import type * as Schematic from "../../../../index";
5
5
  * creditId: "credit_id",
6
6
  * status: "active",
7
7
  * bundleType: "fixed",
8
- * limit: 1,
9
- * offset: 1
8
+ * limit: 1000000,
9
+ * offset: 1000000
10
10
  * }
11
11
  */
12
12
  export interface CountCreditBundlesRequest {
@@ -8,8 +8,8 @@ import type * as Schematic from "../../../../index";
8
8
  * eventType: "grant",
9
9
  * featureId: "feature_id",
10
10
  * startTime: "start_time",
11
- * limit: 1,
12
- * offset: 1
11
+ * limit: 1000000,
12
+ * offset: 1000000
13
13
  * }
14
14
  */
15
15
  export interface CountCreditEventLedgerRequest {