@schematichq/schematic-typescript-node 1.5.8 → 1.5.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/dist/BaseClient.d.ts +12 -0
- package/dist/Client.d.ts +3 -0
- package/dist/api/errors/BadRequestError.d.ts +1 -0
- package/dist/api/errors/ForbiddenError.d.ts +1 -0
- package/dist/api/errors/InternalServerError.d.ts +1 -0
- package/dist/api/errors/NotFoundError.d.ts +1 -0
- package/dist/api/errors/UnauthorizedError.d.ts +1 -0
- package/dist/api/resources/accesstokens/client/Client.d.ts +2 -0
- package/dist/api/resources/accounts/client/Client.d.ts +70 -0
- package/dist/api/resources/accounts/client/requests/UpdateOnboardingStateRequestBody.d.ts +11 -0
- package/dist/api/resources/accounts/client/requests/index.d.ts +1 -0
- package/dist/api/resources/accounts/types/GetOnboardingStateResponse.d.ts +6 -0
- package/dist/api/resources/accounts/types/UpdateOnboardingStateResponse.d.ts +6 -0
- package/dist/api/resources/accounts/types/index.d.ts +2 -0
- package/dist/api/resources/billing/client/Client.d.ts +48 -0
- package/dist/api/resources/catalogs/client/Client.d.ts +28 -0
- package/dist/api/resources/checkout/client/Client.d.ts +18 -0
- package/dist/api/resources/companies/client/Client.d.ts +139 -3
- package/dist/api/resources/companies/client/requests/CountCompaniesRequest.d.ts +3 -0
- package/dist/api/resources/companies/client/requests/CountEntityTraitsRequest.d.ts +18 -0
- package/dist/api/resources/companies/client/requests/GetBillingEntityChildSubscriptionsRequest.d.ts +1 -1
- package/dist/api/resources/companies/client/requests/GetCompanyBillingEntityRequest.d.ts +1 -1
- package/dist/api/resources/companies/client/requests/ListCompaniesRequest.d.ts +3 -0
- package/dist/api/resources/companies/client/requests/ListPlanChangesRequest.d.ts +0 -2
- package/dist/api/resources/companies/client/requests/index.d.ts +1 -0
- package/dist/api/resources/companies/types/CountCompaniesParams.d.ts +2 -0
- package/dist/api/resources/companies/types/CountEntityTraitsParams.d.ts +12 -0
- package/dist/api/resources/companies/types/CountEntityTraitsResponse.d.ts +6 -0
- package/dist/api/resources/companies/types/DeleteEntityTraitDefinitionResponse.d.ts +6 -0
- package/dist/api/resources/companies/types/GetEntityTraitDefinitionUsageResponse.d.ts +6 -0
- package/dist/api/resources/companies/types/ListCompaniesParams.d.ts +2 -0
- package/dist/api/resources/companies/types/ListPlanChangesParams.d.ts +0 -1
- package/dist/api/resources/companies/types/index.d.ts +4 -0
- package/dist/api/resources/components/client/Client.d.ts +16 -0
- package/dist/api/resources/componentspublic/client/Client.d.ts +2 -0
- package/dist/api/resources/credits/client/Client.d.ts +62 -2
- package/dist/api/resources/credits/client/requests/CountCompanyGrantsRequest.d.ts +1 -1
- package/dist/api/resources/credits/client/requests/CreateCreditBundleRequestBody.d.ts +2 -0
- package/dist/api/resources/credits/client/requests/ListCompanyGrantsRequest.d.ts +1 -1
- package/dist/api/resources/credits/client/requests/UpdateCreditBundleDetailsRequestBody.d.ts +2 -0
- package/dist/api/resources/dataexports/client/Client.d.ts +8 -0
- package/dist/api/resources/entitlements/client/Client.d.ts +73 -0
- package/dist/api/resources/entitlements/client/requests/ListFeatureUsageHistoryRequest.d.ts +29 -0
- package/dist/api/resources/entitlements/client/requests/index.d.ts +1 -0
- package/dist/api/resources/entitlements/types/ListFeatureUsageHistoryParams.d.ts +20 -0
- package/dist/api/resources/entitlements/types/ListFeatureUsageHistoryResponse.d.ts +6 -0
- package/dist/api/resources/entitlements/types/index.d.ts +2 -0
- package/dist/api/resources/events/client/Client.d.ts +12 -0
- package/dist/api/resources/features/client/Client.d.ts +34 -0
- package/dist/api/resources/insights/client/Client.d.ts +12 -0
- package/dist/api/resources/integrationsapi/client/Client.d.ts +18 -0
- package/dist/api/resources/licenses/client/Client.d.ts +6 -0
- package/dist/api/resources/planbundle/client/Client.d.ts +27 -6
- package/dist/api/resources/planbundle/client/requests/CreateCustomPlanBundleRequestBody.d.ts +11 -3
- package/dist/api/resources/planbundle/client/requests/CreatePlanBundleRequestBody.d.ts +6 -2
- package/dist/api/resources/planbundle/client/requests/UpdatePlanBundleRequestBody.d.ts +5 -2
- package/dist/api/resources/plangroups/client/Client.d.ts +8 -0
- package/dist/api/resources/plangroups/client/requests/CreatePlanGroupRequestBody.d.ts +3 -0
- package/dist/api/resources/plangroups/client/requests/UpdatePlanGroupRequestBody.d.ts +3 -0
- package/dist/api/resources/planmigrations/client/Client.d.ts +22 -8
- package/dist/api/resources/planmigrations/client/requests/CountCompanyMigrationsRequest.d.ts +1 -1
- package/dist/api/resources/planmigrations/client/requests/CountMigrationsRequest.d.ts +1 -1
- package/dist/api/resources/planmigrations/client/requests/CreateMigrationInput.d.ts +4 -6
- package/dist/api/resources/planmigrations/client/requests/ListCompanyMigrationsRequest.d.ts +1 -1
- package/dist/api/resources/planmigrations/client/requests/ListMigrationsRequest.d.ts +1 -1
- package/dist/api/resources/planmigrations/client/requests/PreviewMigrationRequestBody.d.ts +2 -2
- package/dist/api/resources/plans/client/Client.d.ts +46 -12
- package/dist/api/resources/plans/client/requests/CreateBillingLinkedPlanRequestBody.d.ts +1 -2
- package/dist/api/resources/plans/client/requests/CreateCustomPlanRequestBody.d.ts +2 -2
- package/dist/api/resources/plans/client/requests/ListCustomPlanBillingsRequest.d.ts +3 -0
- package/dist/api/resources/plans/client/requests/PublishPlanVersionRequestBody.d.ts +3 -0
- package/dist/api/resources/plans/types/ListCustomPlanBillingsParams.d.ts +2 -0
- package/dist/api/resources/scheduledcheckout/client/Client.d.ts +8 -0
- package/dist/api/resources/webhooks/client/Client.d.ts +20 -0
- package/dist/api/types/AuditLogResponseData.d.ts +1 -0
- package/dist/api/types/BillingCollectionMethod.d.ts +5 -0
- package/dist/api/types/BillingCreditBundleResponseData.d.ts +2 -0
- package/dist/api/types/BillingCreditBundleView.d.ts +1 -0
- package/dist/api/types/BillingCreditGrantResponseData.d.ts +4 -0
- package/dist/api/types/BillingPlanCreditGrantResponseData.d.ts +3 -1
- package/dist/api/types/CheckFlagRequestBody.d.ts +3 -0
- package/dist/api/types/CheckoutBundlePurchaseBehavior.d.ts +5 -0
- package/dist/api/types/CheckoutSettingsResponseData.d.ts +3 -0
- package/dist/api/types/CompanyBillingCheckoutSettings.d.ts +1 -0
- package/dist/api/types/CompanyFeatureUsageExportMetadata.d.ts +6 -0
- package/dist/api/types/CompanyPlanCreditGrantView.d.ts +1 -0
- package/dist/api/types/ComponentCheckoutSettings.d.ts +2 -0
- package/dist/api/types/ComponentHydrateResponseData.d.ts +1 -1
- package/dist/api/types/ComponentPreviewResponseData.d.ts +1 -1
- package/dist/api/types/CreateBillingPlanCreditGrantRequestBody.d.ts +3 -0
- package/dist/api/types/CreateCustomPlanBundlePlanRequestBody.d.ts +1 -1
- package/dist/api/types/CreatePlanRequestBody.d.ts +1 -1
- package/dist/api/types/CreditCompanyGrantView.d.ts +2 -0
- package/dist/api/types/CustomPlanBillingResponseData.d.ts +4 -0
- package/dist/api/types/EntityTraitDefinitionUsage.d.ts +8 -0
- package/dist/api/types/EventBodyFlagCheck.d.ts +2 -0
- package/dist/api/types/FeatureUsageHistoryResponseData.d.ts +12 -0
- package/dist/api/types/GetOnboardingStateResp.d.ts +9 -0
- package/dist/api/types/ManagePlanRequest.d.ts +14 -0
- package/dist/api/types/MigrationProrationBehavior.d.ts +6 -0
- package/dist/api/types/OnboardingMilestone.d.ts +5 -0
- package/dist/api/types/OnboardingMilestoneView.d.ts +7 -0
- package/dist/api/types/OnboardingPath.d.ts +5 -0
- package/dist/api/types/OnboardingRequirement.d.ts +9 -0
- package/dist/api/types/OnboardingRequirementStatus.d.ts +6 -0
- package/dist/api/types/OnboardingRequirementView.d.ts +8 -0
- package/dist/api/types/OnboardingTrack.d.ts +5 -0
- package/dist/api/types/PlanBillingSource.d.ts +5 -0
- package/dist/api/types/PlanBundleResponseData.d.ts +1 -0
- package/dist/api/types/PlanChangeResponseData.d.ts +6 -0
- package/dist/api/types/PlanCreditGrantView.d.ts +1 -0
- package/dist/api/types/PlanVersionMigrationPreviewCompanyResponseData.d.ts +1 -0
- package/dist/api/types/PlanVersionMigrationPreviewResponseData.d.ts +1 -0
- package/dist/api/types/PlanVersionMigrationResponseData.d.ts +1 -0
- package/dist/api/types/PreflightEventUsageRequestBody.d.ts +6 -0
- package/dist/api/types/PreflightRequestBody.d.ts +9 -0
- package/dist/api/types/PreviewSubscriptionFinanceResponseData.d.ts +2 -0
- package/dist/api/types/RulesEngineSchemaVersion.d.ts +1 -1
- package/dist/api/types/StripeIntegrationConfig.d.ts +2 -0
- package/dist/api/types/UpcomingInvoiceResponseData.d.ts +23 -0
- package/dist/api/types/UpdateBillingPlanCreditGrantRequestBody.d.ts +5 -2
- package/dist/api/types/UpsertCompanyRequestBody.d.ts +2 -0
- package/dist/api/types/UpsertUserRequestBody.d.ts +2 -0
- package/dist/api/types/UpsertUserSubRequestBody.d.ts +2 -0
- package/dist/api/types/WhoAmIResponseData.d.ts +1 -0
- package/dist/api/types/index.d.ts +17 -0
- package/dist/core/fetcher/redactUrl.d.ts +2 -0
- package/dist/core/requestBody.d.ts +12 -0
- package/dist/core/runtime/index.d.ts +1 -1
- package/dist/core/runtime/runtime.d.ts +19 -0
- package/dist/errors/SchematicError.d.ts +1 -0
- package/dist/errors/SchematicTimeoutError.d.ts +2 -2
- package/dist/events.d.ts +6 -0
- package/dist/index.js +9 -9
- package/dist/serialization/resources/accounts/client/requests/UpdateOnboardingStateRequestBody.d.ts +14 -0
- package/dist/serialization/resources/accounts/client/requests/index.d.ts +1 -0
- package/dist/serialization/resources/accounts/types/GetOnboardingStateResponse.d.ts +11 -0
- package/dist/serialization/resources/accounts/types/UpdateOnboardingStateResponse.d.ts +11 -0
- package/dist/serialization/resources/accounts/types/index.d.ts +2 -0
- package/dist/serialization/resources/companies/types/CountCompaniesParams.d.ts +1 -0
- package/dist/serialization/resources/companies/types/CountEntityTraitsParams.d.ts +13 -0
- package/dist/serialization/resources/companies/types/CountEntityTraitsResponse.d.ts +12 -0
- package/dist/serialization/resources/companies/types/DeleteEntityTraitDefinitionResponse.d.ts +11 -0
- package/dist/serialization/resources/companies/types/GetEntityTraitDefinitionUsageResponse.d.ts +11 -0
- package/dist/serialization/resources/companies/types/ListCompaniesParams.d.ts +1 -0
- package/dist/serialization/resources/companies/types/ListPlanChangesParams.d.ts +0 -1
- package/dist/serialization/resources/companies/types/index.d.ts +4 -0
- package/dist/serialization/resources/credits/client/requests/CreateCreditBundleRequestBody.d.ts +1 -0
- package/dist/serialization/resources/credits/client/requests/UpdateCreditBundleDetailsRequestBody.d.ts +1 -0
- package/dist/serialization/resources/entitlements/types/ListFeatureUsageHistoryParams.d.ts +16 -0
- package/dist/serialization/resources/entitlements/types/ListFeatureUsageHistoryResponse.d.ts +12 -0
- package/dist/serialization/resources/entitlements/types/index.d.ts +2 -0
- package/dist/serialization/resources/planbundle/client/requests/CreateCustomPlanBundleRequestBody.d.ts +2 -2
- package/dist/serialization/resources/planbundle/client/requests/CreatePlanBundleRequestBody.d.ts +1 -1
- package/dist/serialization/resources/planbundle/client/requests/UpdatePlanBundleRequestBody.d.ts +1 -1
- package/dist/serialization/resources/plangroups/client/requests/CreatePlanGroupRequestBody.d.ts +3 -0
- package/dist/serialization/resources/plangroups/client/requests/UpdatePlanGroupRequestBody.d.ts +3 -0
- package/dist/serialization/resources/planmigrations/client/requests/CreateMigrationInput.d.ts +5 -3
- package/dist/serialization/resources/planmigrations/client/requests/PreviewMigrationRequestBody.d.ts +2 -1
- package/dist/serialization/resources/plans/client/requests/CreateBillingLinkedPlanRequestBody.d.ts +1 -1
- package/dist/serialization/resources/plans/client/requests/CreateCustomPlanRequestBody.d.ts +2 -1
- package/dist/serialization/resources/plans/client/requests/PublishPlanVersionRequestBody.d.ts +3 -0
- package/dist/serialization/resources/plans/types/ListCustomPlanBillingsParams.d.ts +2 -0
- package/dist/serialization/types/AuditLogResponseData.d.ts +1 -0
- package/dist/serialization/types/BillingCollectionMethod.d.ts +7 -0
- package/dist/serialization/types/BillingCreditBundleResponseData.d.ts +1 -0
- package/dist/serialization/types/BillingCreditBundleView.d.ts +1 -0
- package/dist/serialization/types/BillingCreditGrantResponseData.d.ts +2 -0
- package/dist/serialization/types/BillingPlanCreditGrantResponseData.d.ts +1 -0
- package/dist/serialization/types/CheckFlagRequestBody.d.ts +2 -0
- package/dist/serialization/types/CheckoutBundlePurchaseBehavior.d.ts +7 -0
- package/dist/serialization/types/CheckoutSettingsResponseData.d.ts +3 -0
- package/dist/serialization/types/CompanyBillingCheckoutSettings.d.ts +1 -0
- package/dist/serialization/types/CompanyFeatureUsageExportMetadata.d.ts +3 -0
- package/dist/serialization/types/CompanyPlanCreditGrantView.d.ts +1 -0
- package/dist/serialization/types/ComponentCheckoutSettings.d.ts +3 -0
- package/dist/serialization/types/ComponentHydrateResponseData.d.ts +2 -2
- package/dist/serialization/types/ComponentPreviewResponseData.d.ts +2 -1
- package/dist/serialization/types/CreateBillingPlanCreditGrantRequestBody.d.ts +1 -0
- package/dist/serialization/types/CreateCustomPlanBundlePlanRequestBody.d.ts +1 -1
- package/dist/serialization/types/CreatePlanRequestBody.d.ts +1 -1
- package/dist/serialization/types/CreditCompanyGrantView.d.ts +2 -0
- package/dist/serialization/types/CustomPlanBillingResponseData.d.ts +3 -0
- package/dist/serialization/types/EntityTraitDefinitionUsage.d.ts +14 -0
- package/dist/serialization/types/EventBodyFlagCheck.d.ts +1 -0
- package/dist/serialization/types/FeatureUsageHistoryResponseData.d.ts +14 -0
- package/dist/serialization/types/GetOnboardingStateResp.d.ts +19 -0
- package/dist/serialization/types/ManagePlanRequest.d.ts +8 -0
- package/dist/serialization/types/MigrationProrationBehavior.d.ts +7 -0
- package/dist/serialization/types/OnboardingMilestone.d.ts +7 -0
- package/dist/serialization/types/OnboardingMilestoneView.d.ts +14 -0
- package/dist/serialization/types/OnboardingPath.d.ts +7 -0
- package/dist/serialization/types/OnboardingRequirement.d.ts +7 -0
- package/dist/serialization/types/OnboardingRequirementStatus.d.ts +7 -0
- package/dist/serialization/types/OnboardingRequirementView.d.ts +15 -0
- package/dist/serialization/types/OnboardingTrack.d.ts +7 -0
- package/dist/serialization/types/PlanBillingSource.d.ts +7 -0
- package/dist/serialization/types/PlanBundleResponseData.d.ts +2 -0
- package/dist/serialization/types/PlanChangeResponseData.d.ts +4 -0
- package/dist/serialization/types/PlanCreditGrantView.d.ts +1 -0
- package/dist/serialization/types/PlanVersionMigrationPreviewCompanyResponseData.d.ts +1 -0
- package/dist/serialization/types/PlanVersionMigrationPreviewResponseData.d.ts +1 -0
- package/dist/serialization/types/PlanVersionMigrationResponseData.d.ts +2 -0
- package/dist/serialization/types/PreflightEventUsageRequestBody.d.ts +10 -0
- package/dist/serialization/types/PreflightRequestBody.d.ts +12 -0
- package/dist/serialization/types/PreviewSubscriptionFinanceResponseData.d.ts +2 -0
- package/dist/serialization/types/RulesEngineSchemaVersion.d.ts +1 -1
- package/dist/serialization/types/StripeIntegrationConfig.d.ts +1 -0
- package/dist/serialization/types/UpcomingInvoiceResponseData.d.ts +30 -0
- package/dist/serialization/types/UpdateBillingPlanCreditGrantRequestBody.d.ts +1 -0
- package/dist/serialization/types/UpsertCompanyRequestBody.d.ts +1 -0
- package/dist/serialization/types/UpsertUserRequestBody.d.ts +1 -0
- package/dist/serialization/types/UpsertUserSubRequestBody.d.ts +1 -0
- package/dist/serialization/types/WhoAmIResponseData.d.ts +1 -0
- package/dist/serialization/types/index.d.ts +17 -0
- package/dist/wasm/rulesengine.js +4 -4
- package/package.json +4 -1
|
@@ -10,6 +10,7 @@ import type * as Schematic from "../../../../index";
|
|
|
10
10
|
* planIds: ["plan_ids"],
|
|
11
11
|
* planVersionId: "plan_version_id",
|
|
12
12
|
* planVersionIds: ["plan_version_ids"],
|
|
13
|
+
* planVersionUnpublished: true,
|
|
13
14
|
* q: "q",
|
|
14
15
|
* sortOrderColumn: "sort_order_column",
|
|
15
16
|
* sortOrderDirection: "asc",
|
|
@@ -41,6 +42,8 @@ export interface ListCompaniesRequest {
|
|
|
41
42
|
planVersionId?: string;
|
|
42
43
|
/** Filter companies by one or more plan version IDs (each ID starts with plvr_). Takes precedence over plan_version_id when set. */
|
|
43
44
|
planVersionIds?: string | string[];
|
|
45
|
+
/** Filter companies assigned to a plan version that is no longer published, meaning the plan has since moved on to a newer version */
|
|
46
|
+
planVersionUnpublished?: boolean;
|
|
44
47
|
/** Search for companies by name, keys or string traits */
|
|
45
48
|
q?: string;
|
|
46
49
|
/** Column to sort by (e.g. name, created_at, last_seen_at) */
|
|
@@ -6,7 +6,6 @@ import type * as Schematic from "../../../../index";
|
|
|
6
6
|
* basePlanAction: "fallback",
|
|
7
7
|
* companyId: "company_id",
|
|
8
8
|
* companyIds: ["company_ids"],
|
|
9
|
-
* planIds: ["plan_ids"],
|
|
10
9
|
* limit: 1000000,
|
|
11
10
|
* offset: 1000000
|
|
12
11
|
* }
|
|
@@ -16,7 +15,6 @@ export interface ListPlanChangesRequest {
|
|
|
16
15
|
basePlanAction?: Schematic.PlanChangeBasePlanAction;
|
|
17
16
|
companyId?: string;
|
|
18
17
|
companyIds?: string | string[];
|
|
19
|
-
planIds?: string | string[];
|
|
20
18
|
/** Page limit (default 100) */
|
|
21
19
|
limit?: number;
|
|
22
20
|
/** Page offset (default 0) */
|
|
@@ -2,6 +2,7 @@ export type { CountCompaniesRequest } from "./CountCompaniesRequest";
|
|
|
2
2
|
export type { CountEntityKeyDefinitionsRequest } from "./CountEntityKeyDefinitionsRequest";
|
|
3
3
|
export type { CountEntityKeysRequest } from "./CountEntityKeysRequest";
|
|
4
4
|
export type { CountEntityTraitDefinitionsRequest } from "./CountEntityTraitDefinitionsRequest";
|
|
5
|
+
export type { CountEntityTraitsRequest } from "./CountEntityTraitsRequest";
|
|
5
6
|
export type { CountPlanTraitsRequest } from "./CountPlanTraitsRequest";
|
|
6
7
|
export type { CountUsersRequest } from "./CountUsersRequest";
|
|
7
8
|
export type { CreateEntityTraitDefinitionRequestBody } from "./CreateEntityTraitDefinitionRequestBody";
|
|
@@ -23,6 +23,8 @@ export interface CountCompaniesParams {
|
|
|
23
23
|
planVersionId?: string;
|
|
24
24
|
/** Filter companies by one or more plan version IDs (each ID starts with plvr_). Takes precedence over plan_version_id when set. */
|
|
25
25
|
planVersionIds?: string[];
|
|
26
|
+
/** Filter companies assigned to a plan version that is no longer published, meaning the plan has since moved on to a newer version */
|
|
27
|
+
planVersionUnpublished?: boolean;
|
|
26
28
|
/** Search for companies by name, keys or string traits */
|
|
27
29
|
q?: string;
|
|
28
30
|
/** Column to sort by (e.g. name, created_at, last_seen_at) */
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type * as Schematic from "../../../index";
|
|
2
|
+
/**
|
|
3
|
+
* Input parameters
|
|
4
|
+
*/
|
|
5
|
+
export interface CountEntityTraitsParams {
|
|
6
|
+
definitionId?: string;
|
|
7
|
+
entityType?: Schematic.EntityType;
|
|
8
|
+
/** Page limit (default 100) */
|
|
9
|
+
limit?: number;
|
|
10
|
+
/** Page offset (default 0) */
|
|
11
|
+
offset?: number;
|
|
12
|
+
}
|
|
@@ -23,6 +23,8 @@ export interface ListCompaniesParams {
|
|
|
23
23
|
planVersionId?: string;
|
|
24
24
|
/** Filter companies by one or more plan version IDs (each ID starts with plvr_). Takes precedence over plan_version_id when set. */
|
|
25
25
|
planVersionIds?: string[];
|
|
26
|
+
/** Filter companies assigned to a plan version that is no longer published, meaning the plan has since moved on to a newer version */
|
|
27
|
+
planVersionUnpublished?: boolean;
|
|
26
28
|
/** Search for companies by name, keys or string traits */
|
|
27
29
|
q?: string;
|
|
28
30
|
/** Column to sort by (e.g. name, created_at, last_seen_at) */
|
|
@@ -6,6 +6,8 @@ export * from "./CountEntityKeysParams";
|
|
|
6
6
|
export * from "./CountEntityKeysResponse";
|
|
7
7
|
export * from "./CountEntityTraitDefinitionsParams";
|
|
8
8
|
export * from "./CountEntityTraitDefinitionsResponse";
|
|
9
|
+
export * from "./CountEntityTraitsParams";
|
|
10
|
+
export * from "./CountEntityTraitsResponse";
|
|
9
11
|
export * from "./CountPlanTraitsParams";
|
|
10
12
|
export * from "./CountPlanTraitsResponse";
|
|
11
13
|
export * from "./CountUsersParams";
|
|
@@ -17,6 +19,7 @@ export * from "./DeleteCompanyMembershipResponse";
|
|
|
17
19
|
export * from "./DeleteCompanyParams";
|
|
18
20
|
export * from "./DeleteCompanyResponse";
|
|
19
21
|
export * from "./DeleteEntityKeyDefinitionResponse";
|
|
22
|
+
export * from "./DeleteEntityTraitDefinitionResponse";
|
|
20
23
|
export * from "./DeleteUserByKeysResponse";
|
|
21
24
|
export * from "./DeleteUserResponse";
|
|
22
25
|
export * from "./GetActiveCompanySubscriptionParams";
|
|
@@ -27,6 +30,7 @@ export * from "./GetCompanyBillingEntityParams";
|
|
|
27
30
|
export * from "./GetCompanyBillingEntityResponse";
|
|
28
31
|
export * from "./GetCompanyResponse";
|
|
29
32
|
export * from "./GetEntityTraitDefinitionResponse";
|
|
33
|
+
export * from "./GetEntityTraitDefinitionUsageResponse";
|
|
30
34
|
export * from "./GetEntityTraitValuesParams";
|
|
31
35
|
export * from "./GetEntityTraitValuesResponse";
|
|
32
36
|
export * from "./GetOrCreateCompanyMembershipResponse";
|
|
@@ -19,6 +19,8 @@ export declare class ComponentsClient {
|
|
|
19
19
|
* @throws {@link Schematic.ForbiddenError}
|
|
20
20
|
* @throws {@link Schematic.NotFoundError}
|
|
21
21
|
* @throws {@link Schematic.InternalServerError}
|
|
22
|
+
* @throws {@link errors.SchematicError}
|
|
23
|
+
* @throws {@link errors.SchematicTimeoutError}
|
|
22
24
|
*
|
|
23
25
|
* @example
|
|
24
26
|
* await client.components.listComponents({
|
|
@@ -38,6 +40,8 @@ export declare class ComponentsClient {
|
|
|
38
40
|
* @throws {@link Schematic.ForbiddenError}
|
|
39
41
|
* @throws {@link Schematic.NotFoundError}
|
|
40
42
|
* @throws {@link Schematic.InternalServerError}
|
|
43
|
+
* @throws {@link errors.SchematicError}
|
|
44
|
+
* @throws {@link errors.SchematicTimeoutError}
|
|
41
45
|
*
|
|
42
46
|
* @example
|
|
43
47
|
* await client.components.createComponent({
|
|
@@ -55,6 +59,8 @@ export declare class ComponentsClient {
|
|
|
55
59
|
* @throws {@link Schematic.ForbiddenError}
|
|
56
60
|
* @throws {@link Schematic.NotFoundError}
|
|
57
61
|
* @throws {@link Schematic.InternalServerError}
|
|
62
|
+
* @throws {@link errors.SchematicError}
|
|
63
|
+
* @throws {@link errors.SchematicTimeoutError}
|
|
58
64
|
*
|
|
59
65
|
* @example
|
|
60
66
|
* await client.components.getComponent("component_id")
|
|
@@ -71,6 +77,8 @@ export declare class ComponentsClient {
|
|
|
71
77
|
* @throws {@link Schematic.ForbiddenError}
|
|
72
78
|
* @throws {@link Schematic.NotFoundError}
|
|
73
79
|
* @throws {@link Schematic.InternalServerError}
|
|
80
|
+
* @throws {@link errors.SchematicError}
|
|
81
|
+
* @throws {@link errors.SchematicTimeoutError}
|
|
74
82
|
*
|
|
75
83
|
* @example
|
|
76
84
|
* await client.components.updateComponent("component_id")
|
|
@@ -86,6 +94,8 @@ export declare class ComponentsClient {
|
|
|
86
94
|
* @throws {@link Schematic.ForbiddenError}
|
|
87
95
|
* @throws {@link Schematic.NotFoundError}
|
|
88
96
|
* @throws {@link Schematic.InternalServerError}
|
|
97
|
+
* @throws {@link errors.SchematicError}
|
|
98
|
+
* @throws {@link errors.SchematicTimeoutError}
|
|
89
99
|
*
|
|
90
100
|
* @example
|
|
91
101
|
* await client.components.deleteComponent("component_id")
|
|
@@ -102,6 +112,8 @@ export declare class ComponentsClient {
|
|
|
102
112
|
* @throws {@link Schematic.ForbiddenError}
|
|
103
113
|
* @throws {@link Schematic.NotFoundError}
|
|
104
114
|
* @throws {@link Schematic.InternalServerError}
|
|
115
|
+
* @throws {@link errors.SchematicError}
|
|
116
|
+
* @throws {@link errors.SchematicTimeoutError}
|
|
105
117
|
*
|
|
106
118
|
* @example
|
|
107
119
|
* await client.components.bindCatalog("component_id")
|
|
@@ -117,6 +129,8 @@ export declare class ComponentsClient {
|
|
|
117
129
|
* @throws {@link Schematic.ForbiddenError}
|
|
118
130
|
* @throws {@link Schematic.NotFoundError}
|
|
119
131
|
* @throws {@link Schematic.InternalServerError}
|
|
132
|
+
* @throws {@link errors.SchematicError}
|
|
133
|
+
* @throws {@link errors.SchematicTimeoutError}
|
|
120
134
|
*
|
|
121
135
|
* @example
|
|
122
136
|
* await client.components.countComponents({
|
|
@@ -135,6 +149,8 @@ export declare class ComponentsClient {
|
|
|
135
149
|
* @throws {@link Schematic.ForbiddenError}
|
|
136
150
|
* @throws {@link Schematic.NotFoundError}
|
|
137
151
|
* @throws {@link Schematic.InternalServerError}
|
|
152
|
+
* @throws {@link errors.SchematicError}
|
|
153
|
+
* @throws {@link errors.SchematicTimeoutError}
|
|
138
154
|
*
|
|
139
155
|
* @example
|
|
140
156
|
* await client.components.previewComponentData({
|
|
@@ -17,6 +17,8 @@ export declare class ComponentspublicClient {
|
|
|
17
17
|
* @throws {@link Schematic.ForbiddenError}
|
|
18
18
|
* @throws {@link Schematic.NotFoundError}
|
|
19
19
|
* @throws {@link Schematic.InternalServerError}
|
|
20
|
+
* @throws {@link errors.SchematicError}
|
|
21
|
+
* @throws {@link errors.SchematicTimeoutError}
|
|
20
22
|
*
|
|
21
23
|
* @example
|
|
22
24
|
* await client.componentspublic.getPublicPlans()
|
|
@@ -19,6 +19,8 @@ export declare class CreditsClient {
|
|
|
19
19
|
* @throws {@link Schematic.ForbiddenError}
|
|
20
20
|
* @throws {@link Schematic.NotFoundError}
|
|
21
21
|
* @throws {@link Schematic.InternalServerError}
|
|
22
|
+
* @throws {@link errors.SchematicError}
|
|
23
|
+
* @throws {@link errors.SchematicTimeoutError}
|
|
22
24
|
*
|
|
23
25
|
* @example
|
|
24
26
|
* await client.credits.listBillingCredits({
|
|
@@ -39,6 +41,8 @@ export declare class CreditsClient {
|
|
|
39
41
|
* @throws {@link Schematic.ForbiddenError}
|
|
40
42
|
* @throws {@link Schematic.NotFoundError}
|
|
41
43
|
* @throws {@link Schematic.InternalServerError}
|
|
44
|
+
* @throws {@link errors.SchematicError}
|
|
45
|
+
* @throws {@link errors.SchematicTimeoutError}
|
|
42
46
|
*
|
|
43
47
|
* @example
|
|
44
48
|
* await client.credits.createBillingCredit({
|
|
@@ -57,6 +61,8 @@ export declare class CreditsClient {
|
|
|
57
61
|
* @throws {@link Schematic.ForbiddenError}
|
|
58
62
|
* @throws {@link Schematic.NotFoundError}
|
|
59
63
|
* @throws {@link Schematic.InternalServerError}
|
|
64
|
+
* @throws {@link errors.SchematicError}
|
|
65
|
+
* @throws {@link errors.SchematicTimeoutError}
|
|
60
66
|
*
|
|
61
67
|
* @example
|
|
62
68
|
* await client.credits.getSingleBillingCredit("credit_id")
|
|
@@ -73,6 +79,8 @@ export declare class CreditsClient {
|
|
|
73
79
|
* @throws {@link Schematic.ForbiddenError}
|
|
74
80
|
* @throws {@link Schematic.NotFoundError}
|
|
75
81
|
* @throws {@link Schematic.InternalServerError}
|
|
82
|
+
* @throws {@link errors.SchematicError}
|
|
83
|
+
* @throws {@link errors.SchematicTimeoutError}
|
|
76
84
|
*
|
|
77
85
|
* @example
|
|
78
86
|
* await client.credits.updateBillingCredit("credit_id", {
|
|
@@ -91,6 +99,8 @@ export declare class CreditsClient {
|
|
|
91
99
|
* @throws {@link Schematic.ForbiddenError}
|
|
92
100
|
* @throws {@link Schematic.NotFoundError}
|
|
93
101
|
* @throws {@link Schematic.InternalServerError}
|
|
102
|
+
* @throws {@link errors.SchematicError}
|
|
103
|
+
* @throws {@link errors.SchematicTimeoutError}
|
|
94
104
|
*
|
|
95
105
|
* @example
|
|
96
106
|
* await client.credits.softDeleteBillingCredit("credit_id")
|
|
@@ -106,6 +116,8 @@ export declare class CreditsClient {
|
|
|
106
116
|
* @throws {@link Schematic.ForbiddenError}
|
|
107
117
|
* @throws {@link Schematic.NotFoundError}
|
|
108
118
|
* @throws {@link Schematic.InternalServerError}
|
|
119
|
+
* @throws {@link errors.SchematicError}
|
|
120
|
+
* @throws {@link errors.SchematicTimeoutError}
|
|
109
121
|
*
|
|
110
122
|
* @example
|
|
111
123
|
* await client.credits.listCompanyCreditBalances({
|
|
@@ -123,6 +135,8 @@ export declare class CreditsClient {
|
|
|
123
135
|
* @throws {@link Schematic.ForbiddenError}
|
|
124
136
|
* @throws {@link Schematic.NotFoundError}
|
|
125
137
|
* @throws {@link Schematic.InternalServerError}
|
|
138
|
+
* @throws {@link errors.SchematicError}
|
|
139
|
+
* @throws {@link errors.SchematicTimeoutError}
|
|
126
140
|
*
|
|
127
141
|
* @example
|
|
128
142
|
* await client.credits.listCreditBundles({
|
|
@@ -145,6 +159,8 @@ export declare class CreditsClient {
|
|
|
145
159
|
* @throws {@link Schematic.ForbiddenError}
|
|
146
160
|
* @throws {@link Schematic.NotFoundError}
|
|
147
161
|
* @throws {@link Schematic.InternalServerError}
|
|
162
|
+
* @throws {@link errors.SchematicError}
|
|
163
|
+
* @throws {@link errors.SchematicTimeoutError}
|
|
148
164
|
*
|
|
149
165
|
* @example
|
|
150
166
|
* await client.credits.createCreditBundle({
|
|
@@ -164,6 +180,8 @@ export declare class CreditsClient {
|
|
|
164
180
|
* @throws {@link Schematic.ForbiddenError}
|
|
165
181
|
* @throws {@link Schematic.NotFoundError}
|
|
166
182
|
* @throws {@link Schematic.InternalServerError}
|
|
183
|
+
* @throws {@link errors.SchematicError}
|
|
184
|
+
* @throws {@link errors.SchematicTimeoutError}
|
|
167
185
|
*
|
|
168
186
|
* @example
|
|
169
187
|
* await client.credits.getCreditBundle("bundle_id")
|
|
@@ -180,6 +198,8 @@ export declare class CreditsClient {
|
|
|
180
198
|
* @throws {@link Schematic.ForbiddenError}
|
|
181
199
|
* @throws {@link Schematic.NotFoundError}
|
|
182
200
|
* @throws {@link Schematic.InternalServerError}
|
|
201
|
+
* @throws {@link errors.SchematicError}
|
|
202
|
+
* @throws {@link errors.SchematicTimeoutError}
|
|
183
203
|
*
|
|
184
204
|
* @example
|
|
185
205
|
* await client.credits.updateCreditBundleDetails("bundle_id", {
|
|
@@ -198,6 +218,8 @@ export declare class CreditsClient {
|
|
|
198
218
|
* @throws {@link Schematic.ForbiddenError}
|
|
199
219
|
* @throws {@link Schematic.NotFoundError}
|
|
200
220
|
* @throws {@link Schematic.InternalServerError}
|
|
221
|
+
* @throws {@link errors.SchematicError}
|
|
222
|
+
* @throws {@link errors.SchematicTimeoutError}
|
|
201
223
|
*
|
|
202
224
|
* @example
|
|
203
225
|
* await client.credits.deleteCreditBundle("bundle_id")
|
|
@@ -213,6 +235,8 @@ export declare class CreditsClient {
|
|
|
213
235
|
* @throws {@link Schematic.ForbiddenError}
|
|
214
236
|
* @throws {@link Schematic.NotFoundError}
|
|
215
237
|
* @throws {@link Schematic.InternalServerError}
|
|
238
|
+
* @throws {@link errors.SchematicError}
|
|
239
|
+
* @throws {@link errors.SchematicTimeoutError}
|
|
216
240
|
*
|
|
217
241
|
* @example
|
|
218
242
|
* await client.credits.countCreditBundles({
|
|
@@ -235,6 +259,8 @@ export declare class CreditsClient {
|
|
|
235
259
|
* @throws {@link Schematic.ForbiddenError}
|
|
236
260
|
* @throws {@link Schematic.NotFoundError}
|
|
237
261
|
* @throws {@link Schematic.InternalServerError}
|
|
262
|
+
* @throws {@link errors.SchematicError}
|
|
263
|
+
* @throws {@link errors.SchematicTimeoutError}
|
|
238
264
|
*
|
|
239
265
|
* @example
|
|
240
266
|
* await client.credits.countBillingCredits({
|
|
@@ -256,6 +282,8 @@ export declare class CreditsClient {
|
|
|
256
282
|
* @throws {@link Schematic.ForbiddenError}
|
|
257
283
|
* @throws {@link Schematic.NotFoundError}
|
|
258
284
|
* @throws {@link Schematic.InternalServerError}
|
|
285
|
+
* @throws {@link errors.SchematicError}
|
|
286
|
+
* @throws {@link errors.SchematicTimeoutError}
|
|
259
287
|
*
|
|
260
288
|
* @example
|
|
261
289
|
* await client.credits.zeroOutGrant("grant_id")
|
|
@@ -271,6 +299,8 @@ export declare class CreditsClient {
|
|
|
271
299
|
* @throws {@link Schematic.ForbiddenError}
|
|
272
300
|
* @throws {@link Schematic.NotFoundError}
|
|
273
301
|
* @throws {@link Schematic.InternalServerError}
|
|
302
|
+
* @throws {@link errors.SchematicError}
|
|
303
|
+
* @throws {@link errors.SchematicTimeoutError}
|
|
274
304
|
*
|
|
275
305
|
* @example
|
|
276
306
|
* await client.credits.grantBillingCreditsToCompany({
|
|
@@ -291,6 +321,8 @@ export declare class CreditsClient {
|
|
|
291
321
|
* @throws {@link Schematic.ForbiddenError}
|
|
292
322
|
* @throws {@link Schematic.NotFoundError}
|
|
293
323
|
* @throws {@link Schematic.InternalServerError}
|
|
324
|
+
* @throws {@link errors.SchematicError}
|
|
325
|
+
* @throws {@link errors.SchematicTimeoutError}
|
|
294
326
|
*
|
|
295
327
|
* @example
|
|
296
328
|
* await client.credits.countCompanyGrants({
|
|
@@ -301,7 +333,7 @@ export declare class CreditsClient {
|
|
|
301
333
|
* offset: 1000000
|
|
302
334
|
* })
|
|
303
335
|
*/
|
|
304
|
-
countCompanyGrants(request
|
|
336
|
+
countCompanyGrants(request: Schematic.CountCompanyGrantsRequest, requestOptions?: CreditsClient.RequestOptions): core.HttpResponsePromise<Schematic.CountCompanyGrantsResponse>;
|
|
305
337
|
private __countCompanyGrants;
|
|
306
338
|
/**
|
|
307
339
|
* @param {Schematic.ListCompanyGrantsRequest} request
|
|
@@ -312,6 +344,8 @@ export declare class CreditsClient {
|
|
|
312
344
|
* @throws {@link Schematic.ForbiddenError}
|
|
313
345
|
* @throws {@link Schematic.NotFoundError}
|
|
314
346
|
* @throws {@link Schematic.InternalServerError}
|
|
347
|
+
* @throws {@link errors.SchematicError}
|
|
348
|
+
* @throws {@link errors.SchematicTimeoutError}
|
|
315
349
|
*
|
|
316
350
|
* @example
|
|
317
351
|
* await client.credits.listCompanyGrants({
|
|
@@ -322,7 +356,7 @@ export declare class CreditsClient {
|
|
|
322
356
|
* offset: 1000000
|
|
323
357
|
* })
|
|
324
358
|
*/
|
|
325
|
-
listCompanyGrants(request
|
|
359
|
+
listCompanyGrants(request: Schematic.ListCompanyGrantsRequest, requestOptions?: CreditsClient.RequestOptions): core.HttpResponsePromise<Schematic.ListCompanyGrantsResponse>;
|
|
326
360
|
private __listCompanyGrants;
|
|
327
361
|
/**
|
|
328
362
|
* @param {Schematic.CountBillingCreditsGrantsRequest} request
|
|
@@ -333,6 +367,8 @@ export declare class CreditsClient {
|
|
|
333
367
|
* @throws {@link Schematic.ForbiddenError}
|
|
334
368
|
* @throws {@link Schematic.NotFoundError}
|
|
335
369
|
* @throws {@link Schematic.InternalServerError}
|
|
370
|
+
* @throws {@link errors.SchematicError}
|
|
371
|
+
* @throws {@link errors.SchematicTimeoutError}
|
|
336
372
|
*
|
|
337
373
|
* @example
|
|
338
374
|
* await client.credits.countBillingCreditsGrants({
|
|
@@ -353,6 +389,8 @@ export declare class CreditsClient {
|
|
|
353
389
|
* @throws {@link Schematic.ForbiddenError}
|
|
354
390
|
* @throws {@link Schematic.NotFoundError}
|
|
355
391
|
* @throws {@link Schematic.InternalServerError}
|
|
392
|
+
* @throws {@link errors.SchematicError}
|
|
393
|
+
* @throws {@link errors.SchematicTimeoutError}
|
|
356
394
|
*
|
|
357
395
|
* @example
|
|
358
396
|
* await client.credits.listGrantsForCredit({
|
|
@@ -373,6 +411,8 @@ export declare class CreditsClient {
|
|
|
373
411
|
* @throws {@link Schematic.ForbiddenError}
|
|
374
412
|
* @throws {@link Schematic.NotFoundError}
|
|
375
413
|
* @throws {@link Schematic.InternalServerError}
|
|
414
|
+
* @throws {@link errors.SchematicError}
|
|
415
|
+
* @throws {@link errors.SchematicTimeoutError}
|
|
376
416
|
*
|
|
377
417
|
* @example
|
|
378
418
|
* await client.credits.acquireCreditLease({
|
|
@@ -393,6 +433,8 @@ export declare class CreditsClient {
|
|
|
393
433
|
* @throws {@link Schematic.ForbiddenError}
|
|
394
434
|
* @throws {@link Schematic.NotFoundError}
|
|
395
435
|
* @throws {@link Schematic.InternalServerError}
|
|
436
|
+
* @throws {@link errors.SchematicError}
|
|
437
|
+
* @throws {@link errors.SchematicTimeoutError}
|
|
396
438
|
*
|
|
397
439
|
* @example
|
|
398
440
|
* await client.credits.extendCreditLease("lease_id", {
|
|
@@ -411,6 +453,8 @@ export declare class CreditsClient {
|
|
|
411
453
|
* @throws {@link Schematic.ForbiddenError}
|
|
412
454
|
* @throws {@link Schematic.NotFoundError}
|
|
413
455
|
* @throws {@link Schematic.InternalServerError}
|
|
456
|
+
* @throws {@link errors.SchematicError}
|
|
457
|
+
* @throws {@link errors.SchematicTimeoutError}
|
|
414
458
|
*
|
|
415
459
|
* @example
|
|
416
460
|
* await client.credits.releaseCreditLease("lease_id", {
|
|
@@ -428,6 +472,8 @@ export declare class CreditsClient {
|
|
|
428
472
|
* @throws {@link Schematic.ForbiddenError}
|
|
429
473
|
* @throws {@link Schematic.NotFoundError}
|
|
430
474
|
* @throws {@link Schematic.InternalServerError}
|
|
475
|
+
* @throws {@link errors.SchematicError}
|
|
476
|
+
* @throws {@link errors.SchematicTimeoutError}
|
|
431
477
|
*
|
|
432
478
|
* @example
|
|
433
479
|
* await client.credits.listBillingPlanCreditGrants({
|
|
@@ -452,6 +498,8 @@ export declare class CreditsClient {
|
|
|
452
498
|
* @throws {@link Schematic.ForbiddenError}
|
|
453
499
|
* @throws {@link Schematic.NotFoundError}
|
|
454
500
|
* @throws {@link Schematic.InternalServerError}
|
|
501
|
+
* @throws {@link errors.SchematicError}
|
|
502
|
+
* @throws {@link errors.SchematicTimeoutError}
|
|
455
503
|
*
|
|
456
504
|
* @example
|
|
457
505
|
* await client.credits.createBillingPlanCreditGrant({
|
|
@@ -472,6 +520,8 @@ export declare class CreditsClient {
|
|
|
472
520
|
* @throws {@link Schematic.ForbiddenError}
|
|
473
521
|
* @throws {@link Schematic.NotFoundError}
|
|
474
522
|
* @throws {@link Schematic.InternalServerError}
|
|
523
|
+
* @throws {@link errors.SchematicError}
|
|
524
|
+
* @throws {@link errors.SchematicTimeoutError}
|
|
475
525
|
*
|
|
476
526
|
* @example
|
|
477
527
|
* await client.credits.getSingleBillingPlanCreditGrant("plan_grant_id")
|
|
@@ -488,6 +538,8 @@ export declare class CreditsClient {
|
|
|
488
538
|
* @throws {@link Schematic.ForbiddenError}
|
|
489
539
|
* @throws {@link Schematic.NotFoundError}
|
|
490
540
|
* @throws {@link Schematic.InternalServerError}
|
|
541
|
+
* @throws {@link errors.SchematicError}
|
|
542
|
+
* @throws {@link errors.SchematicTimeoutError}
|
|
491
543
|
*
|
|
492
544
|
* @example
|
|
493
545
|
* await client.credits.updateBillingPlanCreditGrant("plan_grant_id", {
|
|
@@ -507,6 +559,8 @@ export declare class CreditsClient {
|
|
|
507
559
|
* @throws {@link Schematic.ForbiddenError}
|
|
508
560
|
* @throws {@link Schematic.NotFoundError}
|
|
509
561
|
* @throws {@link Schematic.InternalServerError}
|
|
562
|
+
* @throws {@link errors.SchematicError}
|
|
563
|
+
* @throws {@link errors.SchematicTimeoutError}
|
|
510
564
|
*
|
|
511
565
|
* @example
|
|
512
566
|
* await client.credits.deleteBillingPlanCreditGrant("plan_grant_id", {
|
|
@@ -524,6 +578,8 @@ export declare class CreditsClient {
|
|
|
524
578
|
* @throws {@link Schematic.ForbiddenError}
|
|
525
579
|
* @throws {@link Schematic.NotFoundError}
|
|
526
580
|
* @throws {@link Schematic.InternalServerError}
|
|
581
|
+
* @throws {@link errors.SchematicError}
|
|
582
|
+
* @throws {@link errors.SchematicTimeoutError}
|
|
527
583
|
*
|
|
528
584
|
* @example
|
|
529
585
|
* await client.credits.countBillingPlanCreditGrants({
|
|
@@ -548,6 +604,8 @@ export declare class CreditsClient {
|
|
|
548
604
|
* @throws {@link Schematic.ForbiddenError}
|
|
549
605
|
* @throws {@link Schematic.NotFoundError}
|
|
550
606
|
* @throws {@link Schematic.InternalServerError}
|
|
607
|
+
* @throws {@link errors.SchematicError}
|
|
608
|
+
* @throws {@link errors.SchematicTimeoutError}
|
|
551
609
|
*
|
|
552
610
|
* @example
|
|
553
611
|
* await client.credits.listCreditEventLedger({
|
|
@@ -572,6 +630,8 @@ export declare class CreditsClient {
|
|
|
572
630
|
* @throws {@link Schematic.ForbiddenError}
|
|
573
631
|
* @throws {@link Schematic.NotFoundError}
|
|
574
632
|
* @throws {@link Schematic.InternalServerError}
|
|
633
|
+
* @throws {@link errors.SchematicError}
|
|
634
|
+
* @throws {@link errors.SchematicTimeoutError}
|
|
575
635
|
*
|
|
576
636
|
* @example
|
|
577
637
|
* await client.credits.countCreditEventLedger({
|
|
@@ -10,7 +10,7 @@ import type * as Schematic from "../../../../index";
|
|
|
10
10
|
* }
|
|
11
11
|
*/
|
|
12
12
|
export interface CountCompanyGrantsRequest {
|
|
13
|
-
companyId
|
|
13
|
+
companyId: string;
|
|
14
14
|
order?: Schematic.CreditGrantSortOrder;
|
|
15
15
|
dir?: Schematic.SortDirection;
|
|
16
16
|
/** Page limit (default 100) */
|
|
@@ -11,6 +11,8 @@ import type * as Schematic from "../../../../index";
|
|
|
11
11
|
export interface CreateCreditBundleRequestBody {
|
|
12
12
|
bundleName: string;
|
|
13
13
|
bundleType?: Schematic.BillingCreditBundleType;
|
|
14
|
+
/** Plans whose companies may purchase this bundle. Omitted or empty means the bundle is purchasable on every plan. */
|
|
15
|
+
compatiblePlanIds?: string[];
|
|
14
16
|
creditId: string;
|
|
15
17
|
currency: string;
|
|
16
18
|
currencyPrices?: Schematic.CreditBundleCurrencyPriceRequestBody[];
|
|
@@ -10,7 +10,7 @@ import type * as Schematic from "../../../../index";
|
|
|
10
10
|
* }
|
|
11
11
|
*/
|
|
12
12
|
export interface ListCompanyGrantsRequest {
|
|
13
|
-
companyId
|
|
13
|
+
companyId: string;
|
|
14
14
|
order?: Schematic.CreditGrantSortOrder;
|
|
15
15
|
dir?: Schematic.SortDirection;
|
|
16
16
|
/** Page limit (default 100) */
|
package/dist/api/resources/credits/client/requests/UpdateCreditBundleDetailsRequestBody.d.ts
CHANGED
|
@@ -8,6 +8,8 @@ import type * as Schematic from "../../../../index";
|
|
|
8
8
|
*/
|
|
9
9
|
export interface UpdateCreditBundleDetailsRequestBody {
|
|
10
10
|
bundleName: string;
|
|
11
|
+
/** Plans whose companies may purchase this bundle. Omitted leaves compatibility unchanged; empty resets the bundle to purchasable on every plan. */
|
|
12
|
+
compatiblePlanIds?: string[];
|
|
11
13
|
currencyPrices?: Schematic.CreditBundleCurrencyPriceRequestBody[];
|
|
12
14
|
expiryType?: Schematic.BillingCreditExpiryType;
|
|
13
15
|
expiryUnit?: Schematic.BillingCreditExpiryUnit;
|
|
@@ -20,6 +20,8 @@ export declare class DataexportsClient {
|
|
|
20
20
|
* @throws {@link Schematic.ForbiddenError}
|
|
21
21
|
* @throws {@link Schematic.NotFoundError}
|
|
22
22
|
* @throws {@link Schematic.InternalServerError}
|
|
23
|
+
* @throws {@link errors.SchematicError}
|
|
24
|
+
* @throws {@link errors.SchematicTimeoutError}
|
|
23
25
|
*
|
|
24
26
|
* @example
|
|
25
27
|
* await client.dataexports.listDataExports({
|
|
@@ -40,6 +42,8 @@ export declare class DataexportsClient {
|
|
|
40
42
|
* @throws {@link Schematic.ForbiddenError}
|
|
41
43
|
* @throws {@link Schematic.NotFoundError}
|
|
42
44
|
* @throws {@link Schematic.InternalServerError}
|
|
45
|
+
* @throws {@link errors.SchematicError}
|
|
46
|
+
* @throws {@link errors.SchematicTimeoutError}
|
|
43
47
|
*
|
|
44
48
|
* @example
|
|
45
49
|
* await client.dataexports.createDataExport({
|
|
@@ -57,6 +61,8 @@ export declare class DataexportsClient {
|
|
|
57
61
|
* @throws {@link Schematic.ForbiddenError}
|
|
58
62
|
* @throws {@link Schematic.NotFoundError}
|
|
59
63
|
* @throws {@link Schematic.InternalServerError}
|
|
64
|
+
* @throws {@link errors.SchematicError}
|
|
65
|
+
* @throws {@link errors.SchematicTimeoutError}
|
|
60
66
|
*
|
|
61
67
|
* @example
|
|
62
68
|
* await client.dataexports.getDataExport("data_export_id")
|
|
@@ -68,6 +74,8 @@ export declare class DataexportsClient {
|
|
|
68
74
|
* @throws {@link Schematic.ForbiddenError}
|
|
69
75
|
* @throws {@link Schematic.NotFoundError}
|
|
70
76
|
* @throws {@link Schematic.InternalServerError}
|
|
77
|
+
* @throws {@link errors.SchematicError}
|
|
78
|
+
* @throws {@link errors.SchematicTimeoutError}
|
|
71
79
|
*/
|
|
72
80
|
getDataExportArtifact(data_export_id: string, requestOptions?: DataexportsClient.RequestOptions): core.HttpResponsePromise<stream.Readable>;
|
|
73
81
|
private __getDataExportArtifact;
|