@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.
- package/LICENSE +1 -1
- package/dist/BaseClient.d.ts +1 -1
- package/dist/Client.d.ts +11 -0
- package/dist/api/resources/accesstokens/exports.d.ts +2 -0
- package/dist/api/resources/accounts/client/Client.d.ts +10 -10
- package/dist/api/resources/accounts/client/requests/CountApiKeysRequest.d.ts +2 -2
- package/dist/api/resources/accounts/client/requests/CountAuditLogsRequest.d.ts +2 -2
- package/dist/api/resources/accounts/client/requests/ListApiKeysRequest.d.ts +2 -2
- package/dist/api/resources/accounts/client/requests/ListAuditLogsRequest.d.ts +2 -2
- package/dist/api/resources/accounts/client/requests/ListEnvironmentsRequest.d.ts +2 -2
- package/dist/api/resources/accounts/exports.d.ts +2 -0
- package/dist/api/resources/billing/client/Client.d.ts +34 -34
- package/dist/api/resources/billing/client/requests/CountBillingProductsRequest.d.ts +2 -2
- package/dist/api/resources/billing/client/requests/CountCustomersRequest.d.ts +2 -2
- package/dist/api/resources/billing/client/requests/CreateBillingPriceRequestBody.d.ts +1 -1
- package/dist/api/resources/billing/client/requests/CreateBillingSubscriptionRequestBody.d.ts +3 -3
- package/dist/api/resources/billing/client/requests/CreateCouponRequestBody.d.ts +4 -4
- package/dist/api/resources/billing/client/requests/CreateInvoiceRequestBody.d.ts +4 -4
- package/dist/api/resources/billing/client/requests/ListBillingPricesRequest.d.ts +3 -3
- package/dist/api/resources/billing/client/requests/ListBillingProductPricesRequest.d.ts +3 -3
- package/dist/api/resources/billing/client/requests/ListBillingProductsRequest.d.ts +2 -2
- package/dist/api/resources/billing/client/requests/ListCouponsRequest.d.ts +2 -2
- package/dist/api/resources/billing/client/requests/ListCustomersWithSubscriptionsRequest.d.ts +2 -2
- package/dist/api/resources/billing/client/requests/ListInvoicesRequest.d.ts +2 -2
- package/dist/api/resources/billing/client/requests/ListMetersRequest.d.ts +2 -2
- package/dist/api/resources/billing/client/requests/ListPaymentMethodsRequest.d.ts +2 -2
- package/dist/api/resources/billing/exports.d.ts +2 -0
- package/dist/api/resources/checkout/client/Client.d.ts +8 -8
- package/dist/api/resources/checkout/exports.d.ts +2 -0
- package/dist/api/resources/companies/client/Client.d.ts +34 -28
- package/dist/api/resources/companies/client/requests/CountCompaniesRequest.d.ts +2 -2
- package/dist/api/resources/companies/client/requests/CountEntityKeyDefinitionsRequest.d.ts +2 -2
- package/dist/api/resources/companies/client/requests/CountEntityTraitDefinitionsRequest.d.ts +2 -2
- package/dist/api/resources/companies/client/requests/CountPlanTraitsRequest.d.ts +2 -2
- package/dist/api/resources/companies/client/requests/CountUsersRequest.d.ts +2 -2
- package/dist/api/resources/companies/client/requests/GetActiveCompanySubscriptionRequest.d.ts +2 -2
- package/dist/api/resources/companies/client/requests/GetEntityTraitValuesRequest.d.ts +2 -2
- package/dist/api/resources/companies/client/requests/ListCompaniesRequest.d.ts +2 -2
- package/dist/api/resources/companies/client/requests/ListCompanyMembershipsRequest.d.ts +2 -2
- package/dist/api/resources/companies/client/requests/ListEntityKeyDefinitionsRequest.d.ts +2 -2
- package/dist/api/resources/companies/client/requests/ListEntityTraitDefinitionsRequest.d.ts +2 -2
- package/dist/api/resources/companies/client/requests/ListPlanChangesRequest.d.ts +2 -2
- package/dist/api/resources/companies/client/requests/ListPlanTraitsRequest.d.ts +2 -2
- package/dist/api/resources/companies/client/requests/ListUsersRequest.d.ts +2 -2
- package/dist/api/resources/companies/exports.d.ts +2 -0
- package/dist/api/resources/components/client/Client.d.ts +4 -4
- package/dist/api/resources/components/client/requests/CountComponentsRequest.d.ts +2 -2
- package/dist/api/resources/components/client/requests/ListComponentsRequest.d.ts +2 -2
- package/dist/api/resources/components/exports.d.ts +2 -0
- package/dist/api/resources/componentspublic/exports.d.ts +2 -0
- package/dist/api/resources/credits/client/Client.d.ts +32 -32
- package/dist/api/resources/credits/client/requests/CountBillingCreditsGrantsRequest.d.ts +2 -2
- package/dist/api/resources/credits/client/requests/CountBillingCreditsRequest.d.ts +2 -2
- package/dist/api/resources/credits/client/requests/CountBillingPlanCreditGrantsRequest.d.ts +2 -2
- package/dist/api/resources/credits/client/requests/CountCompanyGrantsRequest.d.ts +2 -2
- package/dist/api/resources/credits/client/requests/CountCreditBundlesRequest.d.ts +2 -2
- package/dist/api/resources/credits/client/requests/CountCreditEventLedgerRequest.d.ts +2 -2
- package/dist/api/resources/credits/client/requests/CountCreditLedgerRequest.d.ts +2 -2
- package/dist/api/resources/credits/client/requests/CreateCompanyCreditGrant.d.ts +1 -1
- package/dist/api/resources/credits/client/requests/CreateCreditBundleRequestBody.d.ts +1 -1
- package/dist/api/resources/credits/client/requests/GetEnrichedCreditLedgerRequest.d.ts +2 -2
- package/dist/api/resources/credits/client/requests/ListBillingCreditsRequest.d.ts +2 -2
- package/dist/api/resources/credits/client/requests/ListBillingPlanCreditGrantsRequest.d.ts +2 -2
- package/dist/api/resources/credits/client/requests/ListCompanyGrantsRequest.d.ts +2 -2
- package/dist/api/resources/credits/client/requests/ListCreditBundlesRequest.d.ts +2 -2
- package/dist/api/resources/credits/client/requests/ListCreditEventLedgerRequest.d.ts +2 -2
- package/dist/api/resources/credits/client/requests/ListGrantsForCreditRequest.d.ts +2 -2
- package/dist/api/resources/credits/client/requests/UpdateCreditBundleDetailsRequestBody.d.ts +1 -1
- package/dist/api/resources/credits/exports.d.ts +2 -0
- package/dist/api/resources/dataexports/exports.d.ts +2 -0
- package/dist/api/resources/entitlements/client/Client.d.ts +20 -20
- package/dist/api/resources/entitlements/client/requests/CountCompanyOverridesRequest.d.ts +2 -2
- package/dist/api/resources/entitlements/client/requests/CountFeatureCompaniesRequest.d.ts +2 -2
- package/dist/api/resources/entitlements/client/requests/CountFeatureUsageRequest.d.ts +2 -2
- package/dist/api/resources/entitlements/client/requests/CountFeatureUsersRequest.d.ts +2 -2
- package/dist/api/resources/entitlements/client/requests/CountPlanEntitlementsRequest.d.ts +2 -2
- package/dist/api/resources/entitlements/client/requests/ListCompanyOverridesRequest.d.ts +2 -2
- package/dist/api/resources/entitlements/client/requests/ListFeatureCompaniesRequest.d.ts +2 -2
- package/dist/api/resources/entitlements/client/requests/ListFeatureUsageRequest.d.ts +2 -2
- package/dist/api/resources/entitlements/client/requests/ListFeatureUsersRequest.d.ts +2 -2
- package/dist/api/resources/entitlements/client/requests/ListPlanEntitlementsRequest.d.ts +2 -2
- package/dist/api/resources/entitlements/exports.d.ts +2 -0
- package/dist/api/resources/events/client/Client.d.ts +4 -4
- package/dist/api/resources/events/client/requests/GetEventSummariesRequest.d.ts +2 -2
- package/dist/api/resources/events/client/requests/ListEventsRequest.d.ts +2 -2
- package/dist/api/resources/events/exports.d.ts +2 -0
- package/dist/api/resources/features/client/Client.d.ts +9 -9
- package/dist/api/resources/features/client/requests/CountFeaturesRequest.d.ts +2 -2
- package/dist/api/resources/features/client/requests/CountFlagsRequest.d.ts +2 -2
- package/dist/api/resources/features/client/requests/ListFeaturesRequest.d.ts +2 -2
- package/dist/api/resources/features/client/requests/ListFlagsRequest.d.ts +2 -2
- package/dist/api/resources/features/client/requests/UpdateFlagRulesRequestBody.d.ts +1 -1
- package/dist/api/resources/features/exports.d.ts +2 -0
- package/dist/api/resources/planbundle/exports.d.ts +2 -0
- package/dist/api/resources/plangroups/exports.d.ts +2 -0
- package/dist/api/resources/planmigrations/client/Client.d.ts +8 -8
- package/dist/api/resources/planmigrations/client/requests/CountCompanyMigrationsRequest.d.ts +2 -2
- package/dist/api/resources/planmigrations/client/requests/CountMigrationsRequest.d.ts +2 -2
- package/dist/api/resources/planmigrations/client/requests/ListCompanyMigrationsRequest.d.ts +2 -2
- package/dist/api/resources/planmigrations/client/requests/ListMigrationsRequest.d.ts +2 -2
- package/dist/api/resources/planmigrations/exports.d.ts +2 -0
- package/dist/api/resources/plans/client/Client.d.ts +6 -4
- package/dist/api/resources/plans/client/requests/CountPlansRequest.d.ts +5 -2
- package/dist/api/resources/plans/client/requests/ListPlansRequest.d.ts +5 -2
- package/dist/api/resources/plans/exports.d.ts +2 -0
- package/dist/api/resources/plans/types/CountPlansParams.d.ts +2 -0
- package/dist/api/resources/plans/types/ListPlansParams.d.ts +2 -0
- package/dist/api/resources/scheduledcheckout/client/Client.d.ts +2 -2
- package/dist/api/resources/scheduledcheckout/client/requests/ListScheduledCheckoutsRequest.d.ts +2 -2
- package/dist/api/resources/scheduledcheckout/exports.d.ts +2 -0
- package/dist/api/resources/webhooks/client/Client.d.ts +8 -8
- package/dist/api/resources/webhooks/client/requests/CountWebhookEventsRequest.d.ts +2 -2
- package/dist/api/resources/webhooks/client/requests/CountWebhooksRequest.d.ts +2 -2
- package/dist/api/resources/webhooks/client/requests/ListWebhookEventsRequest.d.ts +2 -2
- package/dist/api/resources/webhooks/client/requests/ListWebhooksRequest.d.ts +2 -2
- package/dist/api/resources/webhooks/exports.d.ts +2 -0
- package/dist/api/types/CaptureRawEvent.d.ts +1 -1
- package/dist/api/types/ConditionGroupResponseData.d.ts +0 -1
- package/dist/api/types/ConditionGroupView.d.ts +0 -1
- package/dist/api/types/ConditionResponseData.d.ts +0 -1
- package/dist/api/types/ConditionView.d.ts +0 -1
- package/dist/api/types/DataEventPayload.d.ts +7 -0
- package/dist/api/types/ManagePlanRequest.d.ts +1 -0
- package/dist/api/types/PlanSelection.d.ts +1 -0
- package/dist/api/types/RuleView.d.ts +0 -1
- package/dist/api/types/RulesEngineSchemaVersion.d.ts +1 -1
- package/dist/api/types/WebScheduledDowngradeWebhookOutput.d.ts +10 -0
- package/dist/api/types/WebhookRequestType.d.ts +1 -0
- package/dist/api/types/index.d.ts +2 -0
- package/dist/auth/HeaderAuthProvider.d.ts +14 -10
- package/dist/core/fetcher/BinaryResponse.d.ts +1 -1
- package/dist/core/fetcher/EndpointSupplier.d.ts +2 -2
- package/dist/core/fetcher/Fetcher.d.ts +1 -2
- package/dist/core/fetcher/index.d.ts +2 -0
- package/dist/core/fetcher/makePassthroughRequest.d.ts +49 -0
- package/dist/core/fetcher/makeRequest.d.ts +6 -1
- package/dist/core/headers.d.ts +2 -2
- package/dist/core/schemas/builders/record/index.d.ts +2 -2
- package/dist/core/schemas/builders/record/record.d.ts +2 -1
- package/dist/core/schemas/builders/record/types.d.ts +2 -0
- package/dist/datastream/merge.d.ts +30 -0
- package/dist/index.js +3 -3
- package/dist/serialization/resources/plans/types/CountPlansParams.d.ts +1 -0
- package/dist/serialization/resources/plans/types/ListPlansParams.d.ts +1 -0
- package/dist/serialization/types/CaptureRawEvent.d.ts +1 -1
- package/dist/serialization/types/ConditionGroupResponseData.d.ts +0 -1
- package/dist/serialization/types/ConditionGroupView.d.ts +0 -1
- package/dist/serialization/types/ConditionResponseData.d.ts +0 -1
- package/dist/serialization/types/ConditionView.d.ts +0 -1
- package/dist/serialization/types/DataEventPayload.d.ts +13 -0
- package/dist/serialization/types/ManagePlanRequest.d.ts +1 -0
- package/dist/serialization/types/PlanSelection.d.ts +1 -0
- package/dist/serialization/types/RuleView.d.ts +0 -1
- package/dist/serialization/types/RulesEngineSchemaVersion.d.ts +1 -1
- package/dist/serialization/types/WebScheduledDowngradeWebhookOutput.d.ts +17 -0
- package/dist/serialization/types/WebhookRequestType.d.ts +1 -1
- package/dist/serialization/types/index.d.ts +2 -0
- package/dist/wasm/rulesengine.d.ts +10 -0
- package/dist/wasm/rulesengine.js +193 -0
- package/dist/wasm/rulesengine_bg.wasm +0 -0
- package/dist/wasm/rulesengine_bg.wasm.d.ts +25 -0
- 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:
|
|
37
|
-
* offset:
|
|
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:
|
|
118
|
-
* offset:
|
|
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:
|
|
194
|
-
* offset:
|
|
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:
|
|
246
|
-
* offset:
|
|
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:
|
|
286
|
-
* offset:
|
|
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:
|
|
306
|
-
* offset:
|
|
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:
|
|
327
|
-
* offset:
|
|
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:
|
|
399
|
-
* offset:
|
|
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:
|
|
419
|
-
* offset:
|
|
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:
|
|
440
|
-
* offset:
|
|
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:
|
|
474
|
-
* offset:
|
|
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:
|
|
583
|
-
* offset:
|
|
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:
|
|
624
|
-
* offset:
|
|
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:
|
|
693
|
-
* offset:
|
|
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:
|
|
17
|
-
* offset:
|
|
16
|
+
* limit: 1000000,
|
|
17
|
+
* offset: 1000000
|
|
18
18
|
* }
|
|
19
19
|
*/
|
|
20
20
|
export interface CountCompaniesRequest {
|
|
@@ -13,8 +13,8 @@ import type * as Schematic from "../../../../index";
|
|
|
13
13
|
* withoutPlan: true,
|
|
14
14
|
* withoutSubscription: true,
|
|
15
15
|
* withSubscription: true,
|
|
16
|
-
* limit:
|
|
17
|
-
* offset:
|
|
16
|
+
* limit: 1000000,
|
|
17
|
+
* offset: 1000000
|
|
18
18
|
* }
|
|
19
19
|
*/
|
|
20
20
|
export interface ListCompaniesRequest {
|
|
@@ -23,8 +23,8 @@ export declare class ComponentsClient {
|
|
|
23
23
|
* @example
|
|
24
24
|
* await client.components.listComponents({
|
|
25
25
|
* q: "q",
|
|
26
|
-
* limit:
|
|
27
|
-
* offset:
|
|
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:
|
|
109
|
-
* offset:
|
|
108
|
+
* limit: 1000000,
|
|
109
|
+
* offset: 1000000
|
|
110
110
|
* })
|
|
111
111
|
*/
|
|
112
112
|
countComponents(request?: Schematic.CountComponentsRequest, requestOptions?: ComponentsClient.RequestOptions): core.HttpResponsePromise<Schematic.CountComponentsResponse>;
|
|
@@ -23,8 +23,8 @@ export declare class CreditsClient {
|
|
|
23
23
|
* @example
|
|
24
24
|
* await client.credits.listBillingCredits({
|
|
25
25
|
* name: "name",
|
|
26
|
-
* limit:
|
|
27
|
-
* offset:
|
|
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:
|
|
115
|
-
* offset:
|
|
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:
|
|
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:
|
|
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:
|
|
204
|
-
* offset:
|
|
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:
|
|
223
|
-
* offset:
|
|
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:
|
|
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:
|
|
280
|
-
* offset:
|
|
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:
|
|
301
|
-
* offset:
|
|
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:
|
|
320
|
-
* offset:
|
|
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:
|
|
339
|
-
* offset:
|
|
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:
|
|
363
|
-
* offset:
|
|
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:
|
|
387
|
-
* offset:
|
|
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:
|
|
408
|
-
* offset:
|
|
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:
|
|
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:
|
|
487
|
-
* offset:
|
|
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:
|
|
511
|
-
* offset:
|
|
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:
|
|
535
|
-
* offset:
|
|
534
|
+
* limit: 1000000,
|
|
535
|
+
* offset: 1000000
|
|
536
536
|
* })
|
|
537
537
|
*/
|
|
538
538
|
countCreditEventLedger(request: Schematic.CountCreditEventLedgerRequest, requestOptions?: CreditsClient.RequestOptions): core.HttpResponsePromise<Schematic.CountCreditEventLedgerResponse>;
|
|
@@ -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:
|
|
12
|
-
* offset:
|
|
11
|
+
* limit: 1000000,
|
|
12
|
+
* offset: 1000000
|
|
13
13
|
* }
|
|
14
14
|
*/
|
|
15
15
|
export interface CountCreditEventLedgerRequest {
|