@schematichq/schematic-typescript-node 1.5.10 → 1.5.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/api/errors/PaymentRequiredError.d.ts +7 -0
- package/dist/api/errors/index.d.ts +1 -0
- package/dist/api/resources/accounts/client/requests/UpdateOnboardingStateRequestBody.d.ts +2 -0
- package/dist/api/resources/billing/client/Client.d.ts +43 -0
- package/dist/api/resources/billing/client/requests/CreateBillingSubscriptionRequestBody.d.ts +1 -0
- package/dist/api/resources/billing/client/requests/ListCompanyBillingProfilesRequest.d.ts +20 -0
- package/dist/api/resources/billing/client/requests/UpdateCompanyBillingProfileRequestBody.d.ts +15 -0
- package/dist/api/resources/billing/client/requests/index.d.ts +2 -0
- package/dist/api/resources/billing/types/ListCompanyBillingProfilesParams.d.ts +13 -0
- package/dist/api/resources/billing/types/ListCompanyBillingProfilesResponse.d.ts +6 -0
- package/dist/api/resources/billing/types/UpdateCompanyBillingProfileResponse.d.ts +6 -0
- package/dist/api/resources/billing/types/index.d.ts +3 -0
- package/dist/api/resources/credits/client/Client.d.ts +123 -0
- package/dist/api/resources/credits/client/requests/CountCreditSpendPoliciesRequest.d.ts +24 -0
- package/dist/api/resources/credits/client/requests/CreateCompanyCreditGrant.d.ts +1 -0
- package/dist/api/resources/credits/client/requests/CreateCreditSpendPolicyRequestBody.d.ts +17 -0
- package/dist/api/resources/credits/client/requests/ListCreditSpendPoliciesRequest.d.ts +24 -0
- package/dist/api/resources/credits/client/requests/UpdateCreditSpendPolicyRequestBody.d.ts +8 -0
- package/dist/api/resources/credits/client/requests/index.d.ts +4 -0
- package/dist/api/resources/credits/types/CountCreditSpendPoliciesParams.d.ts +15 -0
- package/dist/api/resources/credits/types/CountCreditSpendPoliciesResponse.d.ts +6 -0
- package/dist/api/resources/credits/types/CreateCreditSpendPolicyResponse.d.ts +6 -0
- package/dist/api/resources/credits/types/DeleteCreditSpendPolicyResponse.d.ts +6 -0
- package/dist/api/resources/credits/types/GetCreditSpendPolicyResponse.d.ts +6 -0
- package/dist/api/resources/credits/types/ListCreditSpendPoliciesParams.d.ts +15 -0
- package/dist/api/resources/credits/types/ListCreditSpendPoliciesResponse.d.ts +6 -0
- package/dist/api/resources/credits/types/UpdateCreditSpendPolicyResponse.d.ts +6 -0
- package/dist/api/resources/credits/types/index.d.ts +8 -0
- package/dist/api/resources/events/client/Client.d.ts +50 -0
- package/dist/api/resources/events/client/requests/UpsertOtlpEnvironmentSettingsRequestBody.d.ts +13 -0
- package/dist/api/resources/events/client/requests/index.d.ts +1 -0
- package/dist/api/resources/events/types/DeleteOtlpEnvironmentSettingsResponse.d.ts +6 -0
- package/dist/api/resources/events/types/GetOtlpEnvironmentSettingsResponse.d.ts +6 -0
- package/dist/api/resources/events/types/UpsertOtlpEnvironmentSettingsResponse.d.ts +6 -0
- package/dist/api/resources/events/types/index.d.ts +3 -0
- package/dist/api/resources/integrationsapi/client/Client.d.ts +83 -0
- package/dist/api/resources/integrationsapi/client/requests/ClaimStripeSandboxKeysRequestBody.d.ts +9 -0
- package/dist/api/resources/integrationsapi/client/requests/InstallStripeSandboxRequestBody.d.ts +12 -0
- package/dist/api/resources/integrationsapi/client/requests/index.d.ts +2 -0
- package/dist/api/resources/integrationsapi/types/ClaimStripeSandboxKeysResponse.d.ts +6 -0
- package/dist/api/resources/integrationsapi/types/GetStripeSandboxClaimLinkResponse.d.ts +6 -0
- package/dist/api/resources/integrationsapi/types/GetStripeSandboxKeysResponse.d.ts +6 -0
- package/dist/api/resources/integrationsapi/types/InstallStripeClaimableSandboxResponse.d.ts +6 -0
- package/dist/api/resources/integrationsapi/types/ListStripeSandboxCountriesResponse.d.ts +6 -0
- package/dist/api/resources/integrationsapi/types/index.d.ts +5 -0
- package/dist/api/resources/plangroups/client/requests/CreatePlanGroupRequestBody.d.ts +1 -0
- package/dist/api/resources/plangroups/client/requests/UpdatePlanGroupRequestBody.d.ts +1 -0
- package/dist/api/resources/planmigrations/client/Client.d.ts +40 -5
- package/dist/api/resources/planmigrations/client/requests/CompleteMigrationNowRequestBody.d.ts +8 -0
- 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 +1 -1
- 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/index.d.ts +1 -0
- package/dist/api/resources/planmigrations/types/CancelMigrationResponse.d.ts +6 -0
- package/dist/api/resources/planmigrations/types/CompleteMigrationNowResponse.d.ts +6 -0
- package/dist/api/resources/planmigrations/types/index.d.ts +2 -0
- package/dist/api/resources/plans/client/Client.d.ts +3 -1
- package/dist/api/resources/plans/client/requests/CountPlansRequest.d.ts +3 -0
- package/dist/api/resources/plans/client/requests/ListPlansRequest.d.ts +3 -0
- package/dist/api/resources/plans/client/requests/PublishPlanVersionRequestBody.d.ts +5 -1
- package/dist/api/resources/plans/client/requests/RetryCustomPlanBillingRequestBody.d.ts +4 -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/types/BillingArrearsAnchor.d.ts +5 -0
- package/dist/api/types/BillingArrearsCadence.d.ts +5 -0
- package/dist/api/types/BillingCreditGrantResponseData.d.ts +7 -0
- package/dist/api/types/BillingPlanCreditGrantResponseData.d.ts +12 -0
- package/dist/api/types/CheckoutDataResponseData.d.ts +2 -0
- package/dist/api/types/ClaimedStripeSandboxKeysResponseData.d.ts +5 -0
- package/dist/api/types/CompanyBillingProfileResponseData.d.ts +17 -0
- package/dist/api/types/CompanyDetailResponseData.d.ts +3 -0
- package/dist/api/types/CompanyOverrideResponseData.d.ts +2 -0
- package/dist/api/types/CompanyPlanCreditGrantView.d.ts +6 -0
- package/dist/api/types/CreateBillingPlanCreditGrantRequestBody.d.ts +12 -0
- package/dist/api/types/CreditCompanyGrantView.d.ts +7 -0
- package/dist/api/types/CreditLeaseResponseData.d.ts +1 -0
- package/dist/api/types/CreditSpendPolicyResponseData.d.ts +12 -0
- package/dist/api/types/CreditSpendPolicyScope.d.ts +6 -0
- package/dist/api/types/CustomPlanBillingResponseData.d.ts +2 -0
- package/dist/api/types/EventBodyInference.d.ts +4 -2
- package/dist/api/types/GetOnboardingStateResp.d.ts +8 -0
- package/dist/api/types/IssueTemporaryAccessTokenResponseData.d.ts +2 -1
- package/dist/api/types/OnboardingRequirement.d.ts +2 -0
- package/dist/api/types/OnboardingRoadmapView.d.ts +4 -0
- package/dist/api/types/OnboardingStripeImport.d.ts +6 -0
- package/dist/api/types/OtlpEnvironmentSettingsResponseData.d.ts +10 -0
- package/dist/api/types/PendingMigrationResponseData.d.ts +8 -0
- package/dist/api/types/PlanCreditGrantView.d.ts +6 -0
- package/dist/api/types/PlanGroupDetailResponseData.d.ts +1 -0
- package/dist/api/types/PlanGroupResponseData.d.ts +1 -0
- package/dist/api/types/PlanVersionCompanyMigrationResponseData.d.ts +2 -0
- package/dist/api/types/PlanVersionCompanyMigrationStatus.d.ts +1 -0
- package/dist/api/types/PlanVersionMigrationResponseData.d.ts +1 -0
- package/dist/api/types/PlanVersionMigrationStatus.d.ts +1 -0
- package/dist/api/types/PlanVersionMigrationStrategy.d.ts +1 -0
- package/dist/api/types/RuleConditionDetailResponseData.d.ts +1 -0
- package/dist/api/types/RuleConditionPlanVersionResponseData.d.ts +7 -0
- package/dist/api/types/RulesEngineSchemaVersion.d.ts +1 -1
- package/dist/api/types/RulesengineCompany.d.ts +1 -0
- package/dist/api/types/RulesengineCreditPostpaidConfig.d.ts +3 -0
- package/dist/api/types/SlackConnectInviteStatus.d.ts +8 -0
- package/dist/api/types/SlackConnectInviteView.d.ts +7 -0
- package/dist/api/types/StripeIntegrationConfig.d.ts +6 -0
- package/dist/api/types/StripeSandboxClaimLink.d.ts +6 -0
- package/dist/api/types/StripeSandboxCountriesResponseData.d.ts +3 -0
- package/dist/api/types/StripeSandboxInstallResponseData.d.ts +10 -0
- package/dist/api/types/StripeSandboxKeysResponseData.d.ts +5 -0
- package/dist/api/types/TemporaryAccessTokenIssuerType.d.ts +5 -0
- package/dist/api/types/TemporaryAccessTokenResponseData.d.ts +2 -1
- package/dist/api/types/UpdateBillingPlanCreditGrantRequestBody.d.ts +12 -0
- package/dist/api/types/WebhookEventDetailResponseData.d.ts +1 -0
- package/dist/api/types/WebhookEventResponseData.d.ts +1 -0
- package/dist/api/types/index.d.ts +19 -0
- package/dist/credits/lease-store.d.ts +17 -8
- package/dist/index.js +25 -9
- package/dist/serialization/resources/accounts/client/requests/UpdateOnboardingStateRequestBody.d.ts +2 -0
- package/dist/serialization/resources/billing/client/requests/CreateBillingSubscriptionRequestBody.d.ts +1 -0
- package/dist/serialization/resources/billing/client/requests/UpdateCompanyBillingProfileRequestBody.d.ts +16 -0
- package/dist/serialization/resources/billing/client/requests/index.d.ts +1 -0
- package/dist/serialization/resources/billing/types/ListCompanyBillingProfilesParams.d.ts +14 -0
- package/dist/serialization/resources/billing/types/ListCompanyBillingProfilesResponse.d.ts +12 -0
- package/dist/serialization/resources/billing/types/UpdateCompanyBillingProfileResponse.d.ts +11 -0
- package/dist/serialization/resources/billing/types/index.d.ts +3 -0
- package/dist/serialization/resources/credits/client/requests/CreateCompanyCreditGrant.d.ts +1 -0
- package/dist/serialization/resources/credits/client/requests/CreateCreditSpendPolicyRequestBody.d.ts +13 -0
- package/dist/serialization/resources/credits/client/requests/UpdateCreditSpendPolicyRequestBody.d.ts +10 -0
- package/dist/serialization/resources/credits/client/requests/index.d.ts +2 -0
- package/dist/serialization/resources/credits/types/CountCreditSpendPoliciesParams.d.ts +16 -0
- package/dist/serialization/resources/credits/types/CountCreditSpendPoliciesResponse.d.ts +12 -0
- package/dist/serialization/resources/credits/types/CreateCreditSpendPolicyResponse.d.ts +11 -0
- package/dist/serialization/resources/credits/types/DeleteCreditSpendPolicyResponse.d.ts +11 -0
- package/dist/serialization/resources/credits/types/GetCreditSpendPolicyResponse.d.ts +11 -0
- package/dist/serialization/resources/credits/types/ListCreditSpendPoliciesParams.d.ts +16 -0
- package/dist/serialization/resources/credits/types/ListCreditSpendPoliciesResponse.d.ts +12 -0
- package/dist/serialization/resources/credits/types/UpdateCreditSpendPolicyResponse.d.ts +11 -0
- package/dist/serialization/resources/credits/types/index.d.ts +8 -0
- package/dist/serialization/resources/events/client/requests/UpsertOtlpEnvironmentSettingsRequestBody.d.ts +13 -0
- package/dist/serialization/resources/events/client/requests/index.d.ts +1 -0
- package/dist/serialization/resources/events/types/DeleteOtlpEnvironmentSettingsResponse.d.ts +11 -0
- package/dist/serialization/resources/events/types/GetOtlpEnvironmentSettingsResponse.d.ts +11 -0
- package/dist/serialization/resources/events/types/UpsertOtlpEnvironmentSettingsResponse.d.ts +11 -0
- package/dist/serialization/resources/events/types/index.d.ts +3 -0
- package/dist/serialization/resources/integrationsapi/client/requests/ClaimStripeSandboxKeysRequestBody.d.ts +9 -0
- package/dist/serialization/resources/integrationsapi/client/requests/InstallStripeSandboxRequestBody.d.ts +12 -0
- package/dist/serialization/resources/integrationsapi/client/requests/index.d.ts +2 -0
- package/dist/serialization/resources/integrationsapi/types/ClaimStripeSandboxKeysResponse.d.ts +11 -0
- package/dist/serialization/resources/integrationsapi/types/GetStripeSandboxClaimLinkResponse.d.ts +11 -0
- package/dist/serialization/resources/integrationsapi/types/GetStripeSandboxKeysResponse.d.ts +11 -0
- package/dist/serialization/resources/integrationsapi/types/InstallStripeClaimableSandboxResponse.d.ts +11 -0
- package/dist/serialization/resources/integrationsapi/types/ListStripeSandboxCountriesResponse.d.ts +11 -0
- package/dist/serialization/resources/integrationsapi/types/index.d.ts +5 -0
- package/dist/serialization/resources/plangroups/client/requests/CreatePlanGroupRequestBody.d.ts +1 -0
- package/dist/serialization/resources/plangroups/client/requests/UpdatePlanGroupRequestBody.d.ts +1 -0
- package/dist/serialization/resources/planmigrations/client/requests/CompleteMigrationNowRequestBody.d.ts +10 -0
- package/dist/serialization/resources/planmigrations/client/requests/index.d.ts +1 -0
- package/dist/serialization/resources/planmigrations/types/CancelMigrationResponse.d.ts +11 -0
- package/dist/serialization/resources/planmigrations/types/CompleteMigrationNowResponse.d.ts +11 -0
- package/dist/serialization/resources/planmigrations/types/index.d.ts +2 -0
- package/dist/serialization/resources/plans/client/requests/PublishPlanVersionRequestBody.d.ts +2 -0
- package/dist/serialization/resources/plans/client/requests/RetryCustomPlanBillingRequestBody.d.ts +2 -0
- 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/BillingArrearsAnchor.d.ts +7 -0
- package/dist/serialization/types/BillingArrearsCadence.d.ts +7 -0
- package/dist/serialization/types/BillingCreditGrantResponseData.d.ts +4 -0
- package/dist/serialization/types/BillingPlanCreditGrantResponseData.d.ts +8 -0
- package/dist/serialization/types/CheckoutDataResponseData.d.ts +2 -0
- package/dist/serialization/types/ClaimedStripeSandboxKeysResponseData.d.ts +11 -0
- package/dist/serialization/types/CompanyBillingProfileResponseData.d.ts +25 -0
- package/dist/serialization/types/CompanyDetailResponseData.d.ts +5 -0
- package/dist/serialization/types/CompanyOverrideResponseData.d.ts +3 -0
- package/dist/serialization/types/CompanyPlanCreditGrantView.d.ts +8 -0
- package/dist/serialization/types/CreateBillingPlanCreditGrantRequestBody.d.ts +8 -0
- package/dist/serialization/types/CreditCompanyGrantView.d.ts +8 -0
- package/dist/serialization/types/CreditLeaseResponseData.d.ts +1 -0
- package/dist/serialization/types/CreditSpendPolicyResponseData.d.ts +18 -0
- package/dist/serialization/types/CreditSpendPolicyScope.d.ts +7 -0
- package/dist/serialization/types/CustomPlanBillingResponseData.d.ts +1 -0
- package/dist/serialization/types/EventBodyInference.d.ts +1 -0
- package/dist/serialization/types/GetOnboardingStateResp.d.ts +11 -0
- package/dist/serialization/types/IssueTemporaryAccessTokenResponseData.d.ts +3 -1
- package/dist/serialization/types/OnboardingRequirement.d.ts +1 -1
- package/dist/serialization/types/OnboardingRoadmapView.d.ts +10 -0
- package/dist/serialization/types/OnboardingStripeImport.d.ts +7 -0
- package/dist/serialization/types/OtlpEnvironmentSettingsResponseData.d.ts +16 -0
- package/dist/serialization/types/PendingMigrationResponseData.d.ts +14 -0
- package/dist/serialization/types/PlanCreditGrantView.d.ts +8 -0
- package/dist/serialization/types/PlanGroupDetailResponseData.d.ts +1 -0
- package/dist/serialization/types/PlanGroupResponseData.d.ts +1 -0
- package/dist/serialization/types/PlanVersionCompanyMigrationResponseData.d.ts +1 -0
- package/dist/serialization/types/PlanVersionCompanyMigrationStatus.d.ts +1 -1
- package/dist/serialization/types/PlanVersionMigrationResponseData.d.ts +1 -0
- package/dist/serialization/types/PlanVersionMigrationStatus.d.ts +1 -1
- package/dist/serialization/types/PlanVersionMigrationStrategy.d.ts +1 -1
- package/dist/serialization/types/RuleConditionDetailResponseData.d.ts +2 -0
- package/dist/serialization/types/RuleConditionPlanVersionResponseData.d.ts +13 -0
- package/dist/serialization/types/RulesEngineSchemaVersion.d.ts +1 -1
- package/dist/serialization/types/RulesengineCompany.d.ts +2 -0
- package/dist/serialization/types/RulesengineCreditPostpaidConfig.d.ts +9 -0
- package/dist/serialization/types/SlackConnectInviteStatus.d.ts +7 -0
- package/dist/serialization/types/SlackConnectInviteView.d.ts +13 -0
- package/dist/serialization/types/StripeIntegrationConfig.d.ts +3 -0
- package/dist/serialization/types/StripeSandboxClaimLink.d.ts +12 -0
- package/dist/serialization/types/StripeSandboxCountriesResponseData.d.ts +9 -0
- package/dist/serialization/types/StripeSandboxInstallResponseData.d.ts +17 -0
- package/dist/serialization/types/StripeSandboxKeysResponseData.d.ts +11 -0
- package/dist/serialization/types/TemporaryAccessTokenIssuerType.d.ts +7 -0
- package/dist/serialization/types/TemporaryAccessTokenResponseData.d.ts +3 -1
- package/dist/serialization/types/UpdateBillingPlanCreditGrantRequestBody.d.ts +8 -0
- package/dist/serialization/types/WebhookEventDetailResponseData.d.ts +1 -0
- package/dist/serialization/types/WebhookEventResponseData.d.ts +1 -0
- package/dist/serialization/types/index.d.ts +19 -0
- package/dist/wasm/rulesengine.d.ts +1 -1
- package/dist/wasm/rulesengine.js +30 -30
- package/package.json +1 -4
|
@@ -1,8 +1,11 @@
|
|
|
1
1
|
export * from "./CreateEventBatchResponse";
|
|
2
2
|
export * from "./CreateEventResponse";
|
|
3
|
+
export * from "./DeleteOtlpEnvironmentSettingsResponse";
|
|
3
4
|
export * from "./GetEventResponse";
|
|
4
5
|
export * from "./GetEventSummariesParams";
|
|
5
6
|
export * from "./GetEventSummariesResponse";
|
|
7
|
+
export * from "./GetOtlpEnvironmentSettingsResponse";
|
|
6
8
|
export * from "./GetSegmentIntegrationStatusResponse";
|
|
7
9
|
export * from "./ListEventsParams";
|
|
8
10
|
export * from "./ListEventsResponse";
|
|
11
|
+
export * from "./UpsertOtlpEnvironmentSettingsResponse";
|
|
@@ -120,6 +120,55 @@ export declare class IntegrationsapiClient {
|
|
|
120
120
|
*/
|
|
121
121
|
loadSampleDataSet(requestOptions?: IntegrationsapiClient.RequestOptions): core.HttpResponsePromise<Schematic.LoadSampleDataSetResponse>;
|
|
122
122
|
private __loadSampleDataSet;
|
|
123
|
+
/**
|
|
124
|
+
* @param {IntegrationsapiClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
125
|
+
*
|
|
126
|
+
* @throws {@link Schematic.UnauthorizedError}
|
|
127
|
+
* @throws {@link Schematic.ForbiddenError}
|
|
128
|
+
* @throws {@link Schematic.NotFoundError}
|
|
129
|
+
* @throws {@link Schematic.InternalServerError}
|
|
130
|
+
* @throws {@link errors.SchematicError}
|
|
131
|
+
* @throws {@link errors.SchematicTimeoutError}
|
|
132
|
+
*
|
|
133
|
+
* @example
|
|
134
|
+
* await client.integrationsapi.getStripeSandboxClaimLink()
|
|
135
|
+
*/
|
|
136
|
+
getStripeSandboxClaimLink(requestOptions?: IntegrationsapiClient.RequestOptions): core.HttpResponsePromise<Schematic.GetStripeSandboxClaimLinkResponse>;
|
|
137
|
+
private __getStripeSandboxClaimLink;
|
|
138
|
+
/**
|
|
139
|
+
* @param {IntegrationsapiClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
140
|
+
*
|
|
141
|
+
* @throws {@link Schematic.UnauthorizedError}
|
|
142
|
+
* @throws {@link Schematic.ForbiddenError}
|
|
143
|
+
* @throws {@link Schematic.NotFoundError}
|
|
144
|
+
* @throws {@link Schematic.InternalServerError}
|
|
145
|
+
* @throws {@link errors.SchematicError}
|
|
146
|
+
* @throws {@link errors.SchematicTimeoutError}
|
|
147
|
+
*
|
|
148
|
+
* @example
|
|
149
|
+
* await client.integrationsapi.getStripeSandboxKeys()
|
|
150
|
+
*/
|
|
151
|
+
getStripeSandboxKeys(requestOptions?: IntegrationsapiClient.RequestOptions): core.HttpResponsePromise<Schematic.GetStripeSandboxKeysResponse>;
|
|
152
|
+
private __getStripeSandboxKeys;
|
|
153
|
+
/**
|
|
154
|
+
* @param {Schematic.ClaimStripeSandboxKeysRequestBody} request
|
|
155
|
+
* @param {IntegrationsapiClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
156
|
+
*
|
|
157
|
+
* @throws {@link Schematic.BadRequestError}
|
|
158
|
+
* @throws {@link Schematic.UnauthorizedError}
|
|
159
|
+
* @throws {@link Schematic.ForbiddenError}
|
|
160
|
+
* @throws {@link Schematic.NotFoundError}
|
|
161
|
+
* @throws {@link Schematic.InternalServerError}
|
|
162
|
+
* @throws {@link errors.SchematicError}
|
|
163
|
+
* @throws {@link errors.SchematicTimeoutError}
|
|
164
|
+
*
|
|
165
|
+
* @example
|
|
166
|
+
* await client.integrationsapi.claimStripeSandboxKeys({
|
|
167
|
+
* token: "token"
|
|
168
|
+
* })
|
|
169
|
+
*/
|
|
170
|
+
claimStripeSandboxKeys(request: Schematic.ClaimStripeSandboxKeysRequestBody, requestOptions?: IntegrationsapiClient.RequestOptions): core.HttpResponsePromise<Schematic.ClaimStripeSandboxKeysResponse>;
|
|
171
|
+
private __claimStripeSandboxKeys;
|
|
123
172
|
/**
|
|
124
173
|
* @param {Schematic.InstallIntegrationRequestBody} request
|
|
125
174
|
* @param {IntegrationsapiClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -158,6 +207,40 @@ export declare class IntegrationsapiClient {
|
|
|
158
207
|
*/
|
|
159
208
|
installStripe(request: Schematic.InstallIntegrationRequestBody, requestOptions?: IntegrationsapiClient.RequestOptions): core.HttpResponsePromise<Schematic.InstallStripeResponse>;
|
|
160
209
|
private __installStripe;
|
|
210
|
+
/**
|
|
211
|
+
* @param {Schematic.InstallStripeSandboxRequestBody} request
|
|
212
|
+
* @param {IntegrationsapiClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
213
|
+
*
|
|
214
|
+
* @throws {@link Schematic.BadRequestError}
|
|
215
|
+
* @throws {@link Schematic.UnauthorizedError}
|
|
216
|
+
* @throws {@link Schematic.ForbiddenError}
|
|
217
|
+
* @throws {@link Schematic.NotFoundError}
|
|
218
|
+
* @throws {@link Schematic.InternalServerError}
|
|
219
|
+
* @throws {@link errors.SchematicError}
|
|
220
|
+
* @throws {@link errors.SchematicTimeoutError}
|
|
221
|
+
*
|
|
222
|
+
* @example
|
|
223
|
+
* await client.integrationsapi.installStripeClaimableSandbox({
|
|
224
|
+
* email: "email"
|
|
225
|
+
* })
|
|
226
|
+
*/
|
|
227
|
+
installStripeClaimableSandbox(request: Schematic.InstallStripeSandboxRequestBody, requestOptions?: IntegrationsapiClient.RequestOptions): core.HttpResponsePromise<Schematic.InstallStripeClaimableSandboxResponse>;
|
|
228
|
+
private __installStripeClaimableSandbox;
|
|
229
|
+
/**
|
|
230
|
+
* @param {IntegrationsapiClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
231
|
+
*
|
|
232
|
+
* @throws {@link Schematic.UnauthorizedError}
|
|
233
|
+
* @throws {@link Schematic.ForbiddenError}
|
|
234
|
+
* @throws {@link Schematic.NotFoundError}
|
|
235
|
+
* @throws {@link Schematic.InternalServerError}
|
|
236
|
+
* @throws {@link errors.SchematicError}
|
|
237
|
+
* @throws {@link errors.SchematicTimeoutError}
|
|
238
|
+
*
|
|
239
|
+
* @example
|
|
240
|
+
* await client.integrationsapi.listStripeSandboxCountries()
|
|
241
|
+
*/
|
|
242
|
+
listStripeSandboxCountries(requestOptions?: IntegrationsapiClient.RequestOptions): core.HttpResponsePromise<Schematic.ListStripeSandboxCountriesResponse>;
|
|
243
|
+
private __listStripeSandboxCountries;
|
|
161
244
|
/**
|
|
162
245
|
* @param {string} integration_id - integration_id
|
|
163
246
|
* @param {IntegrationsapiClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -1,2 +1,4 @@
|
|
|
1
|
+
export type { ClaimStripeSandboxKeysRequestBody } from "./ClaimStripeSandboxKeysRequestBody";
|
|
2
|
+
export type { InstallStripeSandboxRequestBody } from "./InstallStripeSandboxRequestBody";
|
|
1
3
|
export type { ListIntegrationsRequest } from "./ListIntegrationsRequest";
|
|
2
4
|
export type { StartDataImportRequestBody } from "./StartDataImportRequestBody";
|
|
@@ -1,9 +1,14 @@
|
|
|
1
1
|
export * from "./AssumeStripeInstalledResponse";
|
|
2
|
+
export * from "./ClaimStripeSandboxKeysResponse";
|
|
2
3
|
export * from "./GetIntegrationWebhookUrlResponse";
|
|
4
|
+
export * from "./GetStripeSandboxClaimLinkResponse";
|
|
5
|
+
export * from "./GetStripeSandboxKeysResponse";
|
|
3
6
|
export * from "./InstallIntegrationResponse";
|
|
7
|
+
export * from "./InstallStripeClaimableSandboxResponse";
|
|
4
8
|
export * from "./InstallStripeResponse";
|
|
5
9
|
export * from "./ListIntegrationsParams";
|
|
6
10
|
export * from "./ListIntegrationsResponse";
|
|
11
|
+
export * from "./ListStripeSandboxCountriesResponse";
|
|
7
12
|
export * from "./LoadSampleDataSetResponse";
|
|
8
13
|
export * from "./RunIntegrationResponse";
|
|
9
14
|
export * from "./StartDataImportResponse";
|
|
@@ -67,6 +67,7 @@ export interface CreatePlanGroupRequestBody {
|
|
|
67
67
|
showZeroPriceAsFree: boolean;
|
|
68
68
|
syncCustomerBillingDetails: boolean;
|
|
69
69
|
trialDays?: number;
|
|
70
|
+
trialEligibilityPerPlan?: boolean;
|
|
70
71
|
trialExpiryPlanId?: string;
|
|
71
72
|
trialExpiryPlanPriceId?: string;
|
|
72
73
|
trialPaymentMethodRequired?: boolean;
|
|
@@ -67,6 +67,7 @@ export interface UpdatePlanGroupRequestBody {
|
|
|
67
67
|
showZeroPriceAsFree: boolean;
|
|
68
68
|
syncCustomerBillingDetails: boolean;
|
|
69
69
|
trialDays?: number;
|
|
70
|
+
trialEligibilityPerPlan?: boolean;
|
|
70
71
|
trialExpiryPlanId?: string;
|
|
71
72
|
trialExpiryPlanPriceId?: string;
|
|
72
73
|
trialPaymentMethodRequired?: boolean;
|
|
@@ -26,7 +26,7 @@ export declare class PlanmigrationsClient {
|
|
|
26
26
|
* await client.planmigrations.listCompanyMigrations({
|
|
27
27
|
* migrationId: "migration_id",
|
|
28
28
|
* q: "q",
|
|
29
|
-
* status: "
|
|
29
|
+
* status: "cancelled",
|
|
30
30
|
* limit: 1000000,
|
|
31
31
|
* offset: 1000000
|
|
32
32
|
* })
|
|
@@ -66,7 +66,7 @@ export declare class PlanmigrationsClient {
|
|
|
66
66
|
* await client.planmigrations.countCompanyMigrations({
|
|
67
67
|
* migrationId: "migration_id",
|
|
68
68
|
* q: "q",
|
|
69
|
-
* status: "
|
|
69
|
+
* status: "cancelled",
|
|
70
70
|
* limit: 1000000,
|
|
71
71
|
* offset: 1000000
|
|
72
72
|
* })
|
|
@@ -88,7 +88,7 @@ export declare class PlanmigrationsClient {
|
|
|
88
88
|
* @example
|
|
89
89
|
* await client.planmigrations.listMigrations({
|
|
90
90
|
* planVersionId: "plan_version_id",
|
|
91
|
-
* status: "
|
|
91
|
+
* status: "cancelled",
|
|
92
92
|
* limit: 1000000,
|
|
93
93
|
* offset: 1000000
|
|
94
94
|
* })
|
|
@@ -111,7 +111,7 @@ export declare class PlanmigrationsClient {
|
|
|
111
111
|
* await client.planmigrations.createMigration({
|
|
112
112
|
* planId: "plan_id",
|
|
113
113
|
* planVersionIdTo: "plan_version_id_to",
|
|
114
|
-
* strategy: "
|
|
114
|
+
* strategy: "end_of_billing_period",
|
|
115
115
|
* targetPlanType: "plan"
|
|
116
116
|
* })
|
|
117
117
|
*/
|
|
@@ -133,6 +133,41 @@ export declare class PlanmigrationsClient {
|
|
|
133
133
|
*/
|
|
134
134
|
getMigration(plan_version_migration_id: string, requestOptions?: PlanmigrationsClient.RequestOptions): core.HttpResponsePromise<Schematic.GetMigrationResponse>;
|
|
135
135
|
private __getMigration;
|
|
136
|
+
/**
|
|
137
|
+
* @param {string} plan_version_migration_id - plan_version_migration_id
|
|
138
|
+
* @param {PlanmigrationsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
139
|
+
*
|
|
140
|
+
* @throws {@link Schematic.BadRequestError}
|
|
141
|
+
* @throws {@link Schematic.UnauthorizedError}
|
|
142
|
+
* @throws {@link Schematic.ForbiddenError}
|
|
143
|
+
* @throws {@link Schematic.NotFoundError}
|
|
144
|
+
* @throws {@link Schematic.InternalServerError}
|
|
145
|
+
* @throws {@link errors.SchematicError}
|
|
146
|
+
* @throws {@link errors.SchematicTimeoutError}
|
|
147
|
+
*
|
|
148
|
+
* @example
|
|
149
|
+
* await client.planmigrations.cancelMigration("plan_version_migration_id")
|
|
150
|
+
*/
|
|
151
|
+
cancelMigration(plan_version_migration_id: string, requestOptions?: PlanmigrationsClient.RequestOptions): core.HttpResponsePromise<Schematic.CancelMigrationResponse>;
|
|
152
|
+
private __cancelMigration;
|
|
153
|
+
/**
|
|
154
|
+
* @param {string} plan_version_migration_id - plan_version_migration_id
|
|
155
|
+
* @param {Schematic.CompleteMigrationNowRequestBody} request
|
|
156
|
+
* @param {PlanmigrationsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
157
|
+
*
|
|
158
|
+
* @throws {@link Schematic.BadRequestError}
|
|
159
|
+
* @throws {@link Schematic.UnauthorizedError}
|
|
160
|
+
* @throws {@link Schematic.ForbiddenError}
|
|
161
|
+
* @throws {@link Schematic.NotFoundError}
|
|
162
|
+
* @throws {@link Schematic.InternalServerError}
|
|
163
|
+
* @throws {@link errors.SchematicError}
|
|
164
|
+
* @throws {@link errors.SchematicTimeoutError}
|
|
165
|
+
*
|
|
166
|
+
* @example
|
|
167
|
+
* await client.planmigrations.completeMigrationNow("plan_version_migration_id")
|
|
168
|
+
*/
|
|
169
|
+
completeMigrationNow(plan_version_migration_id: string, request?: Schematic.CompleteMigrationNowRequestBody, requestOptions?: PlanmigrationsClient.RequestOptions): core.HttpResponsePromise<Schematic.CompleteMigrationNowResponse>;
|
|
170
|
+
private __completeMigrationNow;
|
|
136
171
|
/**
|
|
137
172
|
* @param {string} plan_version_migration_id - plan_version_migration_id
|
|
138
173
|
* @param {Schematic.RetryMigrationRequestBody} request
|
|
@@ -168,7 +203,7 @@ export declare class PlanmigrationsClient {
|
|
|
168
203
|
* @example
|
|
169
204
|
* await client.planmigrations.countMigrations({
|
|
170
205
|
* planVersionId: "plan_version_id",
|
|
171
|
-
* status: "
|
|
206
|
+
* status: "cancelled",
|
|
172
207
|
* limit: 1000000,
|
|
173
208
|
* offset: 1000000
|
|
174
209
|
* })
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
export type { CompleteMigrationNowRequestBody } from "./CompleteMigrationNowRequestBody";
|
|
1
2
|
export type { CountCompanyMigrationsRequest } from "./CountCompanyMigrationsRequest";
|
|
2
3
|
export type { CountMigrationsRequest } from "./CountMigrationsRequest";
|
|
3
4
|
export type { CreateMigrationInput } from "./CreateMigrationInput";
|
|
@@ -132,6 +132,7 @@ export declare class PlansClient {
|
|
|
132
132
|
* companyId: "company_id",
|
|
133
133
|
* companyScopedOnly: true,
|
|
134
134
|
* excludeCompanyScoped: true,
|
|
135
|
+
* excludeUnused: true,
|
|
135
136
|
* forFallbackPlan: true,
|
|
136
137
|
* forInitialPlan: true,
|
|
137
138
|
* forTrialExpiryPlan: true,
|
|
@@ -330,6 +331,7 @@ export declare class PlansClient {
|
|
|
330
331
|
* companyId: "company_id",
|
|
331
332
|
* companyScopedOnly: true,
|
|
332
333
|
* excludeCompanyScoped: true,
|
|
334
|
+
* excludeUnused: true,
|
|
333
335
|
* forFallbackPlan: true,
|
|
334
336
|
* forInitialPlan: true,
|
|
335
337
|
* forTrialExpiryPlan: true,
|
|
@@ -404,7 +406,7 @@ export declare class PlansClient {
|
|
|
404
406
|
* @example
|
|
405
407
|
* await client.plans.publishPlanVersion("plan_version_id", {
|
|
406
408
|
* excludedCompanyIds: ["excluded_company_ids"],
|
|
407
|
-
* migrationStrategy: "
|
|
409
|
+
* migrationStrategy: "end_of_billing_period"
|
|
408
410
|
* })
|
|
409
411
|
*/
|
|
410
412
|
publishPlanVersion(plan_version_id: string, request: Schematic.PublishPlanVersionRequestBody, requestOptions?: PlansClient.RequestOptions): core.HttpResponsePromise<Schematic.PublishPlanVersionResponse>;
|
|
@@ -5,6 +5,7 @@ import type * as Schematic from "../../../../index";
|
|
|
5
5
|
* companyId: "company_id",
|
|
6
6
|
* companyScopedOnly: true,
|
|
7
7
|
* excludeCompanyScoped: true,
|
|
8
|
+
* excludeUnused: true,
|
|
8
9
|
* forFallbackPlan: true,
|
|
9
10
|
* forInitialPlan: true,
|
|
10
11
|
* forTrialExpiryPlan: true,
|
|
@@ -27,6 +28,8 @@ export interface CountPlansRequest {
|
|
|
27
28
|
companyScopedOnly?: boolean;
|
|
28
29
|
/** Exclude plans that are scoped to a company (custom plans assigned to a company) */
|
|
29
30
|
excludeCompanyScoped?: boolean;
|
|
31
|
+
/** Exclude plans that nothing is using: no company is on the plan and it has no draft version */
|
|
32
|
+
excludeUnused?: boolean;
|
|
30
33
|
/** Filter for plans valid as fallback plans (not linked to billing) */
|
|
31
34
|
forFallbackPlan?: boolean;
|
|
32
35
|
/** Filter for plans valid as initial plans (not linked to billing, free, or auto-cancelling trial) */
|
|
@@ -5,6 +5,7 @@ import type * as Schematic from "../../../../index";
|
|
|
5
5
|
* companyId: "company_id",
|
|
6
6
|
* companyScopedOnly: true,
|
|
7
7
|
* excludeCompanyScoped: true,
|
|
8
|
+
* excludeUnused: true,
|
|
8
9
|
* forFallbackPlan: true,
|
|
9
10
|
* forInitialPlan: true,
|
|
10
11
|
* forTrialExpiryPlan: true,
|
|
@@ -27,6 +28,8 @@ export interface ListPlansRequest {
|
|
|
27
28
|
companyScopedOnly?: boolean;
|
|
28
29
|
/** Exclude plans that are scoped to a company (custom plans assigned to a company) */
|
|
29
30
|
excludeCompanyScoped?: boolean;
|
|
31
|
+
/** Exclude plans that nothing is using: no company is on the plan and it has no draft version */
|
|
32
|
+
excludeUnused?: boolean;
|
|
30
33
|
/** Filter for plans valid as fallback plans (not linked to billing) */
|
|
31
34
|
forFallbackPlan?: boolean;
|
|
32
35
|
/** Filter for plans valid as initial plans (not linked to billing, free, or auto-cancelling trial) */
|
|
@@ -3,12 +3,14 @@ import type * as Schematic from "../../../../index";
|
|
|
3
3
|
* @example
|
|
4
4
|
* {
|
|
5
5
|
* excludedCompanyIds: ["excluded_company_ids"],
|
|
6
|
-
* migrationStrategy: "
|
|
6
|
+
* migrationStrategy: "end_of_billing_period"
|
|
7
7
|
* }
|
|
8
8
|
*/
|
|
9
9
|
export interface PublishPlanVersionRequestBody {
|
|
10
10
|
activationStrategy?: Schematic.CustomPlanActivationStrategy;
|
|
11
11
|
address?: Schematic.CustomerBillingAddress;
|
|
12
|
+
/** The date the subscription's billing period renews on. Only honored on a first publish that starts a subscription. */
|
|
13
|
+
billingCycleAnchor?: Date;
|
|
12
14
|
couponExternalId?: string;
|
|
13
15
|
customFieldValues?: Schematic.CheckoutFieldValue[];
|
|
14
16
|
customerEmail?: string;
|
|
@@ -16,6 +18,8 @@ export interface PublishPlanVersionRequestBody {
|
|
|
16
18
|
excludedCompanyIds: string[];
|
|
17
19
|
migrationStrategy: Schematic.PlanVersionMigrationStrategy;
|
|
18
20
|
phone?: string;
|
|
21
|
+
/** When true, the partial period between the subscription starting and its renewal date is billed pro rata straight away. When false that period is free and no invoice is raised until the renewal date. Only applies alongside billing_cycle_anchor. Defaults to true. */
|
|
22
|
+
prorateFirstPeriod?: boolean;
|
|
19
23
|
prorationBehavior?: Schematic.MigrationProrationBehavior;
|
|
20
24
|
/** Refuse the publish if any company would be migrated onto the new version */
|
|
21
25
|
requireNoMigration?: boolean;
|
|
@@ -7,8 +7,12 @@ import type * as Schematic from "../../../../index";
|
|
|
7
7
|
*/
|
|
8
8
|
export interface RetryCustomPlanBillingRequestBody {
|
|
9
9
|
activationStrategy?: Schematic.CustomPlanActivationStrategy;
|
|
10
|
+
/** The date the subscription's billing period renews on. Only honored when the retry creates a subscription. */
|
|
11
|
+
billingCycleAnchor?: Date;
|
|
10
12
|
customerEmail: string;
|
|
11
13
|
daysUntilDue?: number;
|
|
14
|
+
/** When true, the partial period between the subscription starting and its renewal date is billed pro rata straight away. When false that period is free and no invoice is raised until the renewal date. Only applies alongside billing_cycle_anchor. Defaults to true. */
|
|
15
|
+
prorateFirstPeriod?: boolean;
|
|
12
16
|
/** Whether Stripe emails the invoice when it is finalized. Defaults to true. */
|
|
13
17
|
sendInvoice?: boolean;
|
|
14
18
|
}
|
|
@@ -8,6 +8,8 @@ export interface CountPlansParams {
|
|
|
8
8
|
companyScopedOnly?: boolean;
|
|
9
9
|
/** Exclude plans that are scoped to a company (custom plans assigned to a company) */
|
|
10
10
|
excludeCompanyScoped?: boolean;
|
|
11
|
+
/** Exclude plans that nothing is using: no company is on the plan and it has no draft version */
|
|
12
|
+
excludeUnused?: boolean;
|
|
11
13
|
/** Filter for plans valid as fallback plans (not linked to billing) */
|
|
12
14
|
forFallbackPlan?: boolean;
|
|
13
15
|
/** Filter for plans valid as initial plans (not linked to billing, free, or auto-cancelling trial) */
|
|
@@ -8,6 +8,8 @@ export interface ListPlansParams {
|
|
|
8
8
|
companyScopedOnly?: boolean;
|
|
9
9
|
/** Exclude plans that are scoped to a company (custom plans assigned to a company) */
|
|
10
10
|
excludeCompanyScoped?: boolean;
|
|
11
|
+
/** Exclude plans that nothing is using: no company is on the plan and it has no draft version */
|
|
12
|
+
excludeUnused?: boolean;
|
|
11
13
|
/** Filter for plans valid as fallback plans (not linked to billing) */
|
|
12
14
|
forFallbackPlan?: boolean;
|
|
13
15
|
/** Filter for plans valid as initial plans (not linked to billing, free, or auto-cancelling trial) */
|
|
@@ -5,6 +5,8 @@ export interface BillingCreditGrantResponseData {
|
|
|
5
5
|
companyLicenseId?: string;
|
|
6
6
|
companyName: string;
|
|
7
7
|
createdAt: Date;
|
|
8
|
+
/** The catalog bundle this grant was issued from, when the company bought one. */
|
|
9
|
+
creditBundleId?: string;
|
|
8
10
|
creditIcon?: string;
|
|
9
11
|
creditId: string;
|
|
10
12
|
creditName: string;
|
|
@@ -16,6 +18,11 @@ export interface BillingCreditGrantResponseData {
|
|
|
16
18
|
licenseName?: string;
|
|
17
19
|
planId?: string;
|
|
18
20
|
planName?: string;
|
|
21
|
+
/** What the postpaid charges costs, in the currency's minor unit. */
|
|
22
|
+
postpaidChargeAmount?: number;
|
|
23
|
+
postpaidChargeCurrency?: string;
|
|
24
|
+
/** Credits consumed past a zero balance in the window still open. */
|
|
25
|
+
postpaidChargedCredits?: number;
|
|
19
26
|
price?: Schematic.BillingPriceResponseData;
|
|
20
27
|
quantity: number;
|
|
21
28
|
quantityRemaining: number;
|
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
import type * as Schematic from "../index";
|
|
2
2
|
export interface BillingPlanCreditGrantResponseData {
|
|
3
|
+
/** Which boundary closes a monthly arrears window. Only meaningful when arrears_cadence is monthly. */
|
|
4
|
+
arrearsAnchor?: Schematic.BillingArrearsAnchor;
|
|
5
|
+
/** How often postpaid charges are closed and invoiced. Defaults to end_of_billing_period. */
|
|
6
|
+
arrearsCadence?: Schematic.BillingArrearsCadence;
|
|
3
7
|
autoTopupAmount?: number;
|
|
4
8
|
autoTopupAmountType?: string;
|
|
5
9
|
autoTopupAvailability: Schematic.BillingCreditAutoTopupAvailability;
|
|
@@ -32,11 +36,19 @@ export interface BillingPlanCreditGrantResponseData {
|
|
|
32
36
|
id: string;
|
|
33
37
|
/** The license whose quantity scales this grant. Set only when scaling is per_license. */
|
|
34
38
|
licenseId?: string;
|
|
39
|
+
/** Optional limit on how far the balance may go below zero, in credits. A floor on the balance, not an allowance per invoice window: consumption is denied once the balance would fall below minus this figure, and stays denied until a new grant lands or the negative balance is settled. Absent means no limit. */
|
|
40
|
+
overdraftLimit?: number;
|
|
35
41
|
plan?: Schematic.PreviewObjectResponseData;
|
|
36
42
|
planId: string;
|
|
37
43
|
/** Use plan.name from the nested plan object instead */
|
|
38
44
|
planName: string;
|
|
39
45
|
planVersionId?: string;
|
|
46
|
+
/** Whether consumption may continue past a zero balance, accruing at postpaid_rate_per_unit rather than being denied. */
|
|
47
|
+
postpaidEnabled: boolean;
|
|
48
|
+
/** Amount charged per credit consumed past zero, in the currency's minor unit. Defaults to the credit's own cost basis when postpaid is enabled without one. */
|
|
49
|
+
postpaidRatePerUnit?: number;
|
|
50
|
+
/** Decimal form of postpaid_rate_per_unit, for rates finer than one minor unit. */
|
|
51
|
+
postpaidRatePerUnitDecimal?: string;
|
|
40
52
|
resetCadence?: Schematic.BillingPlanCreditGrantResetCadence;
|
|
41
53
|
resetStart?: Schematic.BillingPlanCreditGrantResetStart;
|
|
42
54
|
resetType?: Schematic.BillingPlanCreditGrantResetType;
|
|
@@ -5,10 +5,12 @@ export interface CheckoutDataResponseData {
|
|
|
5
5
|
activeUsageBasedEntitlements: Schematic.UsageBasedEntitlementResponseData[];
|
|
6
6
|
availableCreditBundles: Schematic.BillingCreditBundleResponseData[];
|
|
7
7
|
company?: Schematic.CompanyDetailResponseData;
|
|
8
|
+
companyCanTrialSelectedPlan: boolean;
|
|
8
9
|
customCheckoutFields: Schematic.CheckoutFieldWithValue[];
|
|
9
10
|
featureUsage?: Schematic.FeatureUsageDetailResponseData;
|
|
10
11
|
selectedCreditBundles: Schematic.CreditBundlePurchaseResponseData[];
|
|
11
12
|
selectedPlan?: Schematic.PlanDetailResponseData;
|
|
13
|
+
selectedPlanAlreadyTrialed: boolean;
|
|
12
14
|
selectedUsageBasedEntitlements: Schematic.UsageBasedEntitlementResponseData[];
|
|
13
15
|
subscription?: Schematic.CompanySubscriptionResponseData;
|
|
14
16
|
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import type * as Schematic from "../index";
|
|
2
|
+
export interface CompanyBillingProfileResponseData {
|
|
3
|
+
accountId: string;
|
|
4
|
+
billingCustomerId?: string;
|
|
5
|
+
collectionMethod: Schematic.BillingCollectionMethod;
|
|
6
|
+
companyId: string;
|
|
7
|
+
createdAt: Date;
|
|
8
|
+
daysUntilDue?: number;
|
|
9
|
+
environmentId: string;
|
|
10
|
+
id: string;
|
|
11
|
+
isDefault: boolean;
|
|
12
|
+
name?: string;
|
|
13
|
+
paymentMethodId?: string;
|
|
14
|
+
prorationBehavior?: Schematic.ProrationBehavior;
|
|
15
|
+
providerType: Schematic.BillingProviderType;
|
|
16
|
+
updatedAt: Date;
|
|
17
|
+
}
|