@schematichq/schematic-typescript-node 1.3.1 → 1.4.0
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 +36 -2
- package/dist/Client.d.ts +9 -0
- package/dist/api/resources/accounts/client/Client.d.ts +33 -16
- package/dist/api/resources/accounts/client/requests/CountAuditLogsRequest.d.ts +24 -0
- package/dist/api/resources/accounts/client/requests/CreateApiKeyRequestBody.d.ts +1 -0
- package/dist/api/resources/accounts/client/requests/ListAuditLogsRequest.d.ts +24 -0
- package/dist/api/resources/accounts/client/requests/index.d.ts +2 -2
- package/dist/api/resources/accounts/types/{ListApiRequestsParams.d.ts → CountAuditLogsParams.d.ts} +5 -2
- package/dist/api/resources/accounts/types/{CountApiRequestsResponse.d.ts → CountAuditLogsResponse.d.ts} +2 -2
- package/dist/api/resources/accounts/types/{GetApiRequestResponse.d.ts → GetAuditLogResponse.d.ts} +2 -2
- package/dist/api/resources/accounts/types/GetWhoAmIResponse.d.ts +6 -0
- package/dist/api/resources/accounts/types/{CountApiRequestsParams.d.ts → ListAuditLogsParams.d.ts} +5 -2
- package/dist/api/resources/accounts/types/ListAuditLogsResponse.d.ts +6 -0
- package/dist/api/resources/accounts/types/index.d.ts +6 -5
- package/dist/api/resources/billing/client/requests/CreateInvoiceRequestBody.d.ts +2 -0
- package/dist/api/resources/companies/client/Client.d.ts +12 -48
- package/dist/api/resources/companies/client/requests/CountCompaniesRequest.d.ts +27 -0
- package/dist/api/resources/companies/client/requests/ListCompaniesRequest.d.ts +27 -0
- package/dist/api/resources/companies/client/requests/index.d.ts +0 -2
- package/dist/api/resources/companies/types/CountCompaniesParams.d.ts +21 -0
- package/dist/api/resources/companies/types/ListCompaniesParams.d.ts +21 -0
- package/dist/api/resources/companies/types/index.d.ts +0 -4
- package/dist/api/resources/componentspublic/client/Client.d.ts +26 -0
- package/dist/api/resources/componentspublic/client/index.d.ts +1 -0
- package/dist/api/resources/componentspublic/index.d.ts +2 -0
- package/dist/api/resources/componentspublic/types/GetPublicPlansResponse.d.ts +6 -0
- package/dist/api/resources/componentspublic/types/index.d.ts +1 -0
- package/dist/api/resources/credits/client/Client.d.ts +50 -0
- package/dist/api/resources/credits/client/requests/CountBillingPlanCreditGrantsRequest.d.ts +3 -1
- package/dist/api/resources/credits/client/requests/CountCreditEventLedgerRequest.d.ts +26 -0
- package/dist/api/resources/credits/client/requests/ListBillingPlanCreditGrantsRequest.d.ts +3 -1
- package/dist/api/resources/credits/client/requests/ListCreditEventLedgerRequest.d.ts +26 -0
- package/dist/api/resources/credits/client/requests/index.d.ts +2 -0
- package/dist/api/resources/credits/types/CountBillingPlanCreditGrantsParams.d.ts +1 -0
- package/dist/api/resources/credits/types/CountCreditEventLedgerParams.d.ts +16 -0
- package/dist/api/resources/credits/types/CountCreditEventLedgerResponse.d.ts +6 -0
- package/dist/api/resources/credits/types/ListBillingPlanCreditGrantsParams.d.ts +1 -0
- package/dist/api/resources/credits/types/ListCreditEventLedgerParams.d.ts +16 -0
- package/dist/api/resources/credits/types/ListCreditEventLedgerResponse.d.ts +6 -0
- package/dist/api/resources/credits/types/index.d.ts +4 -0
- package/dist/api/resources/entitlements/client/Client.d.ts +22 -0
- package/dist/api/resources/entitlements/client/requests/CountPlanEntitlementsRequest.d.ts +5 -0
- package/dist/api/resources/entitlements/client/requests/CreatePlanEntitlementRequestBody.d.ts +1 -0
- package/dist/api/resources/entitlements/client/requests/GetFeatureUsageTimeSeriesRequest.d.ts +18 -0
- package/dist/api/resources/entitlements/client/requests/ListPlanEntitlementsRequest.d.ts +5 -0
- package/dist/api/resources/entitlements/client/requests/index.d.ts +1 -0
- package/dist/api/resources/entitlements/types/CountPlanEntitlementsParams.d.ts +4 -0
- package/dist/api/resources/entitlements/types/GetFeatureUsageTimeSeriesParams.d.ts +11 -0
- package/dist/api/resources/entitlements/types/GetFeatureUsageTimeSeriesResponse.d.ts +6 -0
- package/dist/api/resources/entitlements/types/ListPlanEntitlementsParams.d.ts +4 -0
- package/dist/api/resources/entitlements/types/index.d.ts +2 -0
- package/dist/api/resources/features/client/Client.d.ts +2 -0
- package/dist/api/resources/features/client/requests/CountFeaturesRequest.d.ts +3 -0
- package/dist/api/resources/features/client/requests/ListFeaturesRequest.d.ts +3 -0
- package/dist/api/resources/features/types/CountFeaturesParams.d.ts +2 -0
- package/dist/api/resources/features/types/ListFeaturesParams.d.ts +2 -0
- package/dist/api/resources/index.d.ts +8 -0
- package/dist/api/resources/planbundle/client/requests/UpdatePlanBundleRequestBody.d.ts +1 -0
- package/dist/api/resources/plangroups/client/Client.d.ts +4 -0
- package/dist/api/resources/plangroups/client/requests/CreatePlanGroupRequestBody.d.ts +6 -0
- package/dist/api/resources/plangroups/client/requests/UpdatePlanGroupRequestBody.d.ts +6 -0
- package/dist/api/resources/planmigrations/client/Client.d.ts +109 -0
- package/dist/api/resources/planmigrations/client/index.d.ts +1 -0
- package/dist/api/resources/planmigrations/client/requests/CountCompanyMigrationsRequest.d.ts +20 -0
- package/dist/api/resources/planmigrations/client/requests/CountMigrationsRequest.d.ts +18 -0
- package/dist/api/resources/planmigrations/client/requests/ListCompanyMigrationsRequest.d.ts +20 -0
- package/dist/api/resources/planmigrations/client/requests/ListMigrationsRequest.d.ts +18 -0
- package/dist/api/resources/planmigrations/client/requests/index.d.ts +4 -0
- package/dist/api/resources/planmigrations/index.d.ts +2 -0
- package/dist/api/resources/planmigrations/types/CountCompanyMigrationsParams.d.ts +13 -0
- package/dist/api/resources/planmigrations/types/CountCompanyMigrationsResponse.d.ts +6 -0
- package/dist/api/resources/planmigrations/types/CountMigrationsParams.d.ts +12 -0
- package/dist/api/resources/planmigrations/types/CountMigrationsResponse.d.ts +6 -0
- package/dist/api/resources/planmigrations/types/GetMigrationResponse.d.ts +6 -0
- package/dist/api/resources/planmigrations/types/ListCompanyMigrationsParams.d.ts +13 -0
- package/dist/api/resources/planmigrations/types/ListCompanyMigrationsResponse.d.ts +6 -0
- package/dist/api/resources/planmigrations/types/ListMigrationsParams.d.ts +12 -0
- package/dist/api/resources/planmigrations/types/ListMigrationsResponse.d.ts +6 -0
- package/dist/api/resources/planmigrations/types/index.d.ts +9 -0
- package/dist/api/resources/plans/client/Client.d.ts +41 -3
- package/dist/api/resources/plans/client/requests/GetPlanRequest.d.ts +10 -0
- package/dist/api/resources/plans/client/requests/ListPlanIssuesRequest.d.ts +3 -1
- package/dist/api/resources/plans/client/requests/PublishPlanVersionRequestBody.d.ts +12 -0
- package/dist/api/resources/plans/client/requests/index.d.ts +2 -0
- package/dist/api/resources/plans/types/CountPlansParams.d.ts +1 -0
- package/dist/api/resources/plans/types/DeletePlanVersionResponse.d.ts +6 -0
- package/dist/api/resources/plans/types/GetPlanParams.d.ts +7 -0
- package/dist/api/resources/plans/types/GetPlanResponse.d.ts +1 -1
- package/dist/api/resources/plans/types/ListPlanIssuesParams.d.ts +1 -0
- package/dist/api/resources/plans/types/ListPlansParams.d.ts +1 -0
- package/dist/api/resources/plans/types/PublishPlanVersionResponse.d.ts +6 -0
- package/dist/api/resources/plans/types/index.d.ts +3 -0
- package/dist/api/resources/scheduledcheckout/client/Client.d.ts +83 -0
- package/dist/api/resources/scheduledcheckout/client/index.d.ts +1 -0
- package/dist/api/resources/scheduledcheckout/client/requests/CreateScheduledCheckoutRequest.d.ts +15 -0
- package/dist/api/resources/scheduledcheckout/client/requests/ListScheduledCheckoutsRequest.d.ts +18 -0
- package/dist/api/resources/scheduledcheckout/client/requests/UpdateScheduledCheckoutRequest.d.ts +9 -0
- package/dist/api/resources/scheduledcheckout/client/requests/index.d.ts +3 -0
- package/dist/api/resources/scheduledcheckout/index.d.ts +2 -0
- package/dist/api/resources/scheduledcheckout/types/CreateScheduledCheckoutResponse.d.ts +6 -0
- package/dist/api/resources/scheduledcheckout/types/GetScheduledCheckoutResponse.d.ts +6 -0
- package/dist/api/resources/scheduledcheckout/types/ListScheduledCheckoutsParams.d.ts +12 -0
- package/dist/api/resources/scheduledcheckout/types/ListScheduledCheckoutsResponse.d.ts +6 -0
- package/dist/api/resources/scheduledcheckout/types/UpdateScheduledCheckoutResponse.d.ts +6 -0
- package/dist/api/resources/scheduledcheckout/types/index.d.ts +5 -0
- package/dist/api/types/{PlanChangeActorType.d.ts → ActorType.d.ts} +3 -2
- package/dist/api/types/ApiKeyCreateResponseData.d.ts +1 -0
- package/dist/api/types/ApiKeyResponseData.d.ts +1 -0
- package/dist/api/types/{ApiKeyRequestListResponseData.d.ts → AuditLogListResponseData.d.ts} +4 -4
- package/dist/api/types/{ApiKeyRequestResponseData.d.ts → AuditLogResponseData.d.ts} +3 -5
- package/dist/api/types/BillingCreditResponseData.d.ts +1 -0
- package/dist/api/types/BillingCreditView.d.ts +22 -0
- package/dist/api/types/BillingPlanCreditGrantResponseData.d.ts +9 -2
- package/dist/api/types/CheckFlagResponseData.d.ts +8 -5
- package/dist/api/types/CompanyDetailResponseData.d.ts +2 -0
- package/dist/api/types/CompanyPlanDetailResponseData.d.ts +2 -0
- package/dist/api/types/ComponentDisplaySettings.d.ts +2 -0
- package/dist/api/types/ComponentHydrateResponseData.d.ts +1 -0
- package/dist/api/types/ComponentPreviewResponseData.d.ts +1 -0
- package/dist/api/types/ComponentSettingsResponseData.d.ts +2 -0
- package/dist/api/types/ConditionConditionType.d.ts +1 -1
- package/dist/api/types/ConditionGroupResponseData.d.ts +10 -0
- package/dist/api/types/ConditionGroupView.d.ts +12 -0
- package/dist/api/types/ConditionResponseData.d.ts +28 -0
- package/dist/api/types/ConditionView.d.ts +35 -0
- package/dist/api/types/CreateBillingPlanCreditGrantRequestBody.d.ts +1 -0
- package/dist/api/types/CreateEntitlementInBundleRequestBody.d.ts +2 -0
- package/dist/api/types/CreateEventRequestBody.d.ts +1 -0
- package/dist/api/types/CreditEventLedgerResponseData.d.ts +34 -0
- package/dist/api/types/CreditEventType.d.ts +7 -0
- package/dist/api/types/CreditsAutoTopupCompanySummary.d.ts +4 -0
- package/dist/api/types/CreditsAutoTopupCreditSummary.d.ts +4 -0
- package/dist/api/types/CreditsAutoTopupHardFailure.d.ts +7 -0
- package/dist/api/types/CreditsAutoTopupRetryFailure.d.ts +8 -0
- package/dist/api/types/FeatureCompanyResponseData.d.ts +3 -0
- package/dist/api/types/FeatureCompanyUserResponseData.d.ts +1 -0
- package/dist/api/types/FeatureEntitlement.d.ts +31 -0
- package/dist/api/types/FeatureEntitlementMetricPeriod.d.ts +8 -0
- package/dist/api/types/FeatureEntitlementMonthReset.d.ts +6 -0
- package/dist/api/types/FeatureUsageLegacyResponseData.d.ts +9 -0
- package/dist/api/types/FeatureUsageResponseData.d.ts +3 -0
- package/dist/api/types/FeatureUsageTimeSeriesResponseData.d.ts +8 -0
- package/dist/api/types/FeatureView.d.ts +21 -0
- package/dist/api/types/FlagView.d.ts +17 -0
- package/dist/api/types/InvoiceRequestBody.d.ts +2 -0
- package/dist/api/types/InvoiceResponseData.d.ts +1 -0
- package/dist/api/types/InvoiceStatus.d.ts +8 -0
- package/dist/api/types/LimitTimeSeriesPointResponseData.d.ts +9 -0
- package/dist/api/types/PlanChangeAction.d.ts +1 -0
- package/dist/api/types/PlanChangeResponseData.d.ts +4 -2
- package/dist/api/types/PlanCreditGrantView.d.ts +10 -3
- package/dist/api/types/PlanDetailResponseData.d.ts +2 -0
- package/dist/api/types/PlanGroupDetailResponseData.d.ts +2 -0
- package/dist/api/types/PlanGroupPlanDetailResponseData.d.ts +2 -0
- package/dist/api/types/PlanGroupResponseData.d.ts +2 -0
- package/dist/api/types/PlanVersionCompanyMigrationResponseData.d.ts +14 -0
- package/dist/api/types/PlanVersionCompanyMigrationStatus.d.ts +8 -0
- package/dist/api/types/PlanVersionMigrationResponseData.d.ts +18 -0
- package/dist/api/types/PlanVersionMigrationStatus.d.ts +7 -0
- package/dist/api/types/PlanVersionMigrationStrategy.d.ts +5 -0
- package/dist/api/types/PlanViewPublicResponseData.d.ts +32 -0
- package/dist/api/types/PreviewSubscriptionChangeResponseData.d.ts +2 -0
- package/dist/api/types/PublicPlansResponseData.d.ts +12 -0
- package/dist/api/types/RuleView.d.ts +16 -0
- package/dist/api/types/RulesEngineSchemaVersion.d.ts +1 -1
- package/dist/api/types/RulesengineCheckFlagResult.d.ts +1 -0
- package/dist/api/types/RulesengineCompany.d.ts +2 -1
- package/dist/api/types/RulesengineConditionConditionType.d.ts +1 -1
- package/dist/api/types/RulesengineEntitlementValueType.d.ts +9 -0
- package/dist/api/types/RulesengineFeatureEntitlement.d.ts +31 -0
- package/dist/api/types/RulesengineFeatureEntitlementMetricPeriod.d.ts +8 -0
- package/dist/api/types/RulesengineFeatureEntitlementMonthReset.d.ts +6 -0
- package/dist/api/types/ScheduledCheckoutResponseData.d.ts +17 -0
- package/dist/api/types/ScheduledCheckoutStatus.d.ts +8 -0
- package/dist/api/types/ScheduledDowngradeConfigBehavior.d.ts +5 -0
- package/dist/api/types/ScheduledDowngradeResponseData.d.ts +13 -0
- package/dist/api/types/TimeSeriesGranularity.d.ts +7 -0
- package/dist/api/types/UpsertCompanyRequestBody.d.ts +1 -0
- package/dist/api/types/UsageTimeSeriesPointResponseData.d.ts +6 -0
- package/dist/api/types/WebFeatureUsageWebhookOutput.d.ts +10 -0
- package/dist/api/types/WebhookRequestType.d.ts +1 -0
- package/dist/api/types/WhoAmIResponseData.d.ts +12 -0
- package/dist/api/types/index.d.ts +43 -6
- package/dist/cache/index.d.ts +3 -0
- package/dist/{cache.d.ts → cache/local.d.ts} +9 -10
- package/dist/cache/redis.d.ts +38 -0
- package/dist/cache/types.d.ts +19 -0
- package/dist/datastream/datastream-client.d.ts +239 -0
- package/dist/datastream/index.d.ts +2 -0
- package/dist/datastream/types.d.ts +48 -0
- package/dist/datastream/websocket-client.d.ts +127 -0
- package/dist/index.d.ts +4 -2
- package/dist/index.js +3 -3
- package/dist/rules-engine.d.ts +54 -0
- package/dist/serialization/resources/accounts/client/requests/CreateApiKeyRequestBody.d.ts +1 -0
- package/dist/serialization/resources/accounts/types/CountAuditLogsParams.d.ts +16 -0
- package/dist/serialization/resources/accounts/types/CountAuditLogsResponse.d.ts +12 -0
- package/dist/serialization/resources/accounts/types/GetAuditLogResponse.d.ts +11 -0
- package/dist/serialization/resources/accounts/types/GetWhoAmIResponse.d.ts +11 -0
- package/dist/serialization/resources/accounts/types/ListAuditLogsParams.d.ts +16 -0
- package/dist/serialization/resources/accounts/types/ListAuditLogsResponse.d.ts +12 -0
- package/dist/serialization/resources/accounts/types/index.d.ts +6 -5
- package/dist/serialization/resources/billing/client/requests/CreateInvoiceRequestBody.d.ts +2 -0
- package/dist/serialization/resources/companies/types/CountCompaniesParams.d.ts +13 -0
- package/dist/serialization/resources/companies/types/ListCompaniesParams.d.ts +13 -0
- package/dist/serialization/resources/companies/types/index.d.ts +0 -4
- package/dist/serialization/resources/componentspublic/index.d.ts +1 -0
- package/dist/serialization/resources/componentspublic/types/GetPublicPlansResponse.d.ts +11 -0
- package/dist/serialization/resources/componentspublic/types/index.d.ts +1 -0
- package/dist/serialization/resources/credits/types/CountBillingPlanCreditGrantsParams.d.ts +1 -0
- package/dist/serialization/resources/credits/types/CountCreditEventLedgerParams.d.ts +17 -0
- package/dist/serialization/resources/credits/types/CountCreditEventLedgerResponse.d.ts +12 -0
- package/dist/serialization/resources/credits/types/ListBillingPlanCreditGrantsParams.d.ts +1 -0
- package/dist/serialization/resources/credits/types/ListCreditEventLedgerParams.d.ts +17 -0
- package/dist/serialization/resources/credits/types/ListCreditEventLedgerResponse.d.ts +12 -0
- package/dist/serialization/resources/credits/types/index.d.ts +4 -0
- package/dist/serialization/resources/entitlements/client/requests/CreatePlanEntitlementRequestBody.d.ts +1 -0
- package/dist/serialization/resources/entitlements/types/CountPlanEntitlementsParams.d.ts +2 -0
- package/dist/serialization/resources/entitlements/types/GetFeatureUsageTimeSeriesParams.d.ts +14 -0
- package/dist/serialization/resources/entitlements/types/GetFeatureUsageTimeSeriesResponse.d.ts +12 -0
- package/dist/serialization/resources/entitlements/types/ListPlanEntitlementsParams.d.ts +2 -0
- package/dist/serialization/resources/entitlements/types/index.d.ts +2 -0
- package/dist/serialization/resources/features/types/CountFeaturesParams.d.ts +1 -0
- package/dist/serialization/resources/features/types/ListFeaturesParams.d.ts +1 -0
- package/dist/serialization/resources/index.d.ts +7 -0
- package/dist/serialization/resources/planbundle/client/requests/UpdatePlanBundleRequestBody.d.ts +1 -0
- package/dist/serialization/resources/plangroups/client/requests/CreatePlanGroupRequestBody.d.ts +5 -0
- package/dist/serialization/resources/plangroups/client/requests/UpdatePlanGroupRequestBody.d.ts +5 -0
- package/dist/serialization/resources/planmigrations/index.d.ts +1 -0
- package/dist/serialization/resources/planmigrations/types/CountCompanyMigrationsParams.d.ts +14 -0
- package/dist/serialization/resources/planmigrations/types/CountCompanyMigrationsResponse.d.ts +12 -0
- package/dist/serialization/resources/planmigrations/types/CountMigrationsParams.d.ts +13 -0
- package/dist/serialization/resources/planmigrations/types/CountMigrationsResponse.d.ts +12 -0
- package/dist/serialization/resources/planmigrations/types/GetMigrationResponse.d.ts +11 -0
- package/dist/serialization/resources/planmigrations/types/ListCompanyMigrationsParams.d.ts +14 -0
- package/dist/serialization/resources/planmigrations/types/ListCompanyMigrationsResponse.d.ts +12 -0
- package/dist/serialization/resources/planmigrations/types/ListMigrationsParams.d.ts +13 -0
- package/dist/serialization/resources/planmigrations/types/ListMigrationsResponse.d.ts +12 -0
- package/dist/serialization/resources/planmigrations/types/index.d.ts +9 -0
- package/dist/serialization/resources/plans/client/requests/PublishPlanVersionRequestBody.d.ts +11 -0
- package/dist/serialization/resources/plans/client/requests/index.d.ts +1 -0
- package/dist/serialization/resources/plans/types/DeletePlanVersionResponse.d.ts +11 -0
- package/dist/serialization/resources/plans/types/GetPlanParams.d.ts +9 -0
- package/dist/serialization/resources/plans/types/GetPlanResponse.d.ts +2 -1
- package/dist/serialization/resources/plans/types/ListPlanIssuesParams.d.ts +1 -0
- package/dist/serialization/resources/plans/types/PublishPlanVersionResponse.d.ts +11 -0
- package/dist/serialization/resources/plans/types/index.d.ts +3 -0
- package/dist/serialization/resources/scheduledcheckout/client/index.d.ts +1 -0
- package/dist/serialization/resources/scheduledcheckout/client/requests/CreateScheduledCheckoutRequest.d.ts +12 -0
- package/dist/serialization/resources/scheduledcheckout/client/requests/UpdateScheduledCheckoutRequest.d.ts +11 -0
- package/dist/serialization/resources/scheduledcheckout/client/requests/index.d.ts +2 -0
- package/dist/serialization/resources/scheduledcheckout/index.d.ts +2 -0
- package/dist/serialization/resources/scheduledcheckout/types/CreateScheduledCheckoutResponse.d.ts +11 -0
- package/dist/serialization/resources/scheduledcheckout/types/GetScheduledCheckoutResponse.d.ts +11 -0
- package/dist/serialization/resources/scheduledcheckout/types/ListScheduledCheckoutsParams.d.ts +13 -0
- package/dist/serialization/resources/scheduledcheckout/types/ListScheduledCheckoutsResponse.d.ts +12 -0
- package/dist/serialization/resources/scheduledcheckout/types/UpdateScheduledCheckoutResponse.d.ts +11 -0
- package/dist/serialization/resources/scheduledcheckout/types/index.d.ts +5 -0
- package/dist/serialization/types/ActorType.d.ts +7 -0
- package/dist/serialization/types/ApiKeyCreateResponseData.d.ts +1 -0
- package/dist/serialization/types/ApiKeyResponseData.d.ts +1 -0
- package/dist/serialization/types/{ApiKeyRequestListResponseData.d.ts → AuditLogListResponseData.d.ts} +5 -5
- package/dist/serialization/types/{ApiKeyRequestResponseData.d.ts → AuditLogResponseData.d.ts} +5 -7
- package/dist/serialization/types/BillingCreditResponseData.d.ts +1 -0
- package/dist/serialization/types/BillingCreditView.d.ts +32 -0
- package/dist/serialization/types/BillingPlanCreditGrantResponseData.d.ts +7 -2
- package/dist/serialization/types/CheckFlagResponseData.d.ts +2 -0
- package/dist/serialization/types/CompanyDetailResponseData.d.ts +4 -0
- package/dist/serialization/types/CompanyPlanDetailResponseData.d.ts +2 -0
- package/dist/serialization/types/ComponentDisplaySettings.d.ts +2 -0
- package/dist/serialization/types/ComponentHydrateResponseData.d.ts +2 -0
- package/dist/serialization/types/ComponentPreviewResponseData.d.ts +2 -0
- package/dist/serialization/types/ComponentSettingsResponseData.d.ts +2 -0
- package/dist/serialization/types/ConditionConditionType.d.ts +1 -1
- package/dist/serialization/types/ConditionGroupResponseData.d.ts +16 -0
- package/dist/serialization/types/ConditionGroupView.d.ts +18 -0
- package/dist/serialization/types/ConditionResponseData.d.ts +34 -0
- package/dist/serialization/types/ConditionView.d.ts +43 -0
- package/dist/serialization/types/CreateBillingPlanCreditGrantRequestBody.d.ts +1 -0
- package/dist/serialization/types/CreateEntitlementInBundleRequestBody.d.ts +2 -0
- package/dist/serialization/types/CreditEventLedgerResponseData.d.ts +47 -0
- package/dist/serialization/types/CreditEventType.d.ts +7 -0
- package/dist/serialization/types/CreditsAutoTopupCompanySummary.d.ts +10 -0
- package/dist/serialization/types/CreditsAutoTopupCreditSummary.d.ts +10 -0
- package/dist/serialization/types/CreditsAutoTopupHardFailure.d.ts +14 -0
- package/dist/serialization/types/CreditsAutoTopupRetryFailure.d.ts +15 -0
- package/dist/serialization/types/FeatureEntitlement.d.ts +25 -0
- package/dist/serialization/types/FeatureEntitlementMetricPeriod.d.ts +7 -0
- package/dist/serialization/types/FeatureEntitlementMonthReset.d.ts +7 -0
- package/dist/serialization/types/FeatureUsageLegacyResponseData.d.ts +16 -0
- package/dist/serialization/types/FeatureUsageTimeSeriesResponseData.d.ts +16 -0
- package/dist/serialization/types/FeatureView.d.ts +32 -0
- package/dist/serialization/types/FlagView.d.ts +25 -0
- package/dist/serialization/types/InvoiceRequestBody.d.ts +2 -0
- package/dist/serialization/types/InvoiceResponseData.d.ts +2 -0
- package/dist/serialization/types/InvoiceStatus.d.ts +7 -0
- package/dist/serialization/types/LimitTimeSeriesPointResponseData.d.ts +16 -0
- package/dist/serialization/types/PlanChangeAction.d.ts +1 -1
- package/dist/serialization/types/PlanChangeResponseData.d.ts +4 -4
- package/dist/serialization/types/PlanCreditGrantView.d.ts +7 -3
- package/dist/serialization/types/PlanDetailResponseData.d.ts +2 -0
- package/dist/serialization/types/PlanGroupDetailResponseData.d.ts +2 -0
- package/dist/serialization/types/PlanGroupPlanDetailResponseData.d.ts +2 -0
- package/dist/serialization/types/PlanGroupResponseData.d.ts +2 -0
- package/dist/serialization/types/PlanVersionCompanyMigrationResponseData.d.ts +20 -0
- package/dist/serialization/types/PlanVersionCompanyMigrationStatus.d.ts +7 -0
- package/dist/serialization/types/PlanVersionMigrationResponseData.d.ts +25 -0
- package/dist/serialization/types/PlanVersionMigrationStatus.d.ts +7 -0
- package/dist/serialization/types/PlanVersionMigrationStrategy.d.ts +7 -0
- package/dist/serialization/types/PlanViewPublicResponseData.d.ts +47 -0
- package/dist/serialization/types/PreviewSubscriptionChangeResponseData.d.ts +2 -0
- package/dist/serialization/types/PublicPlansResponseData.d.ts +21 -0
- package/dist/serialization/types/RuleView.d.ts +23 -0
- package/dist/serialization/types/RulesEngineSchemaVersion.d.ts +1 -1
- package/dist/serialization/types/RulesengineCheckFlagResult.d.ts +2 -0
- package/dist/serialization/types/RulesengineCompany.d.ts +3 -1
- package/dist/serialization/types/RulesengineConditionConditionType.d.ts +1 -1
- package/dist/serialization/types/RulesengineEntitlementValueType.d.ts +7 -0
- package/dist/serialization/types/RulesengineFeatureEntitlement.d.ts +25 -0
- package/dist/serialization/types/RulesengineFeatureEntitlementMetricPeriod.d.ts +7 -0
- package/dist/serialization/types/RulesengineFeatureEntitlementMonthReset.d.ts +7 -0
- package/dist/serialization/types/ScheduledCheckoutResponseData.d.ts +23 -0
- package/dist/serialization/types/ScheduledCheckoutStatus.d.ts +7 -0
- package/dist/serialization/types/ScheduledDowngradeConfigBehavior.d.ts +7 -0
- package/dist/serialization/types/ScheduledDowngradeResponseData.d.ts +19 -0
- package/dist/serialization/types/TimeSeriesGranularity.d.ts +7 -0
- package/dist/serialization/types/UpsertCompanyRequestBody.d.ts +1 -0
- package/dist/serialization/types/UsageTimeSeriesPointResponseData.d.ts +12 -0
- package/dist/serialization/types/WebFeatureUsageWebhookOutput.d.ts +18 -0
- package/dist/serialization/types/WebhookRequestType.d.ts +1 -1
- package/dist/serialization/types/WhoAmIResponseData.d.ts +18 -0
- package/dist/serialization/types/index.d.ts +43 -6
- package/dist/wrapper.d.ts +48 -4
- package/package.json +4 -2
- package/dist/api/resources/accounts/client/requests/CountApiRequestsRequest.d.ts +0 -19
- package/dist/api/resources/accounts/client/requests/ListApiRequestsRequest.d.ts +0 -19
- package/dist/api/resources/accounts/types/ListApiRequestsResponse.d.ts +0 -6
- package/dist/api/resources/companies/client/requests/CountCompaniesForAdvancedFilterRequest.d.ts +0 -46
- package/dist/api/resources/companies/client/requests/ListCompaniesForAdvancedFilterRequest.d.ts +0 -46
- package/dist/api/resources/companies/types/CountCompaniesForAdvancedFilterParams.d.ts +0 -35
- package/dist/api/resources/companies/types/CountCompaniesForAdvancedFilterResponse.d.ts +0 -6
- package/dist/api/resources/companies/types/ListCompaniesForAdvancedFilterParams.d.ts +0 -35
- package/dist/api/resources/companies/types/ListCompaniesForAdvancedFilterResponse.d.ts +0 -6
- package/dist/api/types/CompanyViewWithFeatureUsageResponseData.d.ts +0 -26
- package/dist/api/types/CreditUsageResponseData.d.ts +0 -12
- package/dist/api/types/FeatureUsageDataResponseData.d.ts +0 -19
- package/dist/serialization/resources/accounts/types/CountApiRequestsParams.d.ts +0 -13
- package/dist/serialization/resources/accounts/types/CountApiRequestsResponse.d.ts +0 -12
- package/dist/serialization/resources/accounts/types/GetApiRequestResponse.d.ts +0 -11
- package/dist/serialization/resources/accounts/types/ListApiRequestsParams.d.ts +0 -13
- package/dist/serialization/resources/accounts/types/ListApiRequestsResponse.d.ts +0 -12
- package/dist/serialization/resources/companies/types/CountCompaniesForAdvancedFilterParams.d.ts +0 -26
- package/dist/serialization/resources/companies/types/CountCompaniesForAdvancedFilterResponse.d.ts +0 -12
- package/dist/serialization/resources/companies/types/ListCompaniesForAdvancedFilterParams.d.ts +0 -26
- package/dist/serialization/resources/companies/types/ListCompaniesForAdvancedFilterResponse.d.ts +0 -12
- package/dist/serialization/types/CompanyViewWithFeatureUsageResponseData.d.ts +0 -39
- package/dist/serialization/types/CreditUsageResponseData.d.ts +0 -17
- package/dist/serialization/types/FeatureUsageDataResponseData.d.ts +0 -27
- package/dist/serialization/types/PlanChangeActorType.d.ts +0 -7
|
@@ -12,5 +12,6 @@ export interface UpdatePlanBundleRequestBody {
|
|
|
12
12
|
creditGrants?: Schematic.PlanBundleCreditGrantRequestBody[];
|
|
13
13
|
entitlements: Schematic.PlanBundleEntitlementRequestBody[];
|
|
14
14
|
plan?: Schematic.UpdatePlanRequestBody;
|
|
15
|
+
planVersionId?: string;
|
|
15
16
|
traits?: Schematic.UpdatePlanTraitTraitRequestBody[];
|
|
16
17
|
}
|
|
@@ -54,6 +54,8 @@ export declare class PlangroupsClient {
|
|
|
54
54
|
* prorationBehavior: "create_prorations",
|
|
55
55
|
* showAsMonthlyPrices: true,
|
|
56
56
|
* showCredits: true,
|
|
57
|
+
* showFeatureDescription: true,
|
|
58
|
+
* showHardLimit: true,
|
|
57
59
|
* showPeriodToggle: true,
|
|
58
60
|
* showZeroPriceAsFree: true,
|
|
59
61
|
* syncCustomerBillingDetails: true
|
|
@@ -93,6 +95,8 @@ export declare class PlangroupsClient {
|
|
|
93
95
|
* prorationBehavior: "create_prorations",
|
|
94
96
|
* showAsMonthlyPrices: true,
|
|
95
97
|
* showCredits: true,
|
|
98
|
+
* showFeatureDescription: true,
|
|
99
|
+
* showHardLimit: true,
|
|
96
100
|
* showPeriodToggle: true,
|
|
97
101
|
* showZeroPriceAsFree: true,
|
|
98
102
|
* syncCustomerBillingDetails: true
|
|
@@ -21,6 +21,8 @@ import type * as Schematic from "../../../../index";
|
|
|
21
21
|
* prorationBehavior: "create_prorations",
|
|
22
22
|
* showAsMonthlyPrices: true,
|
|
23
23
|
* showCredits: true,
|
|
24
|
+
* showFeatureDescription: true,
|
|
25
|
+
* showHardLimit: true,
|
|
24
26
|
* showPeriodToggle: true,
|
|
25
27
|
* showZeroPriceAsFree: true,
|
|
26
28
|
* syncCustomerBillingDetails: true
|
|
@@ -47,8 +49,12 @@ export interface CreatePlanGroupRequestBody {
|
|
|
47
49
|
preventSelfServiceDowngradeButtonText?: string;
|
|
48
50
|
preventSelfServiceDowngradeUrl?: string;
|
|
49
51
|
prorationBehavior: Schematic.ProrationBehavior;
|
|
52
|
+
scheduledDowngradeBehavior?: Schematic.ScheduledDowngradeConfigBehavior;
|
|
53
|
+
scheduledDowngradePreventWhenOverLimit?: boolean;
|
|
50
54
|
showAsMonthlyPrices: boolean;
|
|
51
55
|
showCredits: boolean;
|
|
56
|
+
showFeatureDescription: boolean;
|
|
57
|
+
showHardLimit: boolean;
|
|
52
58
|
showPeriodToggle: boolean;
|
|
53
59
|
showZeroPriceAsFree: boolean;
|
|
54
60
|
syncCustomerBillingDetails: boolean;
|
|
@@ -21,6 +21,8 @@ import type * as Schematic from "../../../../index";
|
|
|
21
21
|
* prorationBehavior: "create_prorations",
|
|
22
22
|
* showAsMonthlyPrices: true,
|
|
23
23
|
* showCredits: true,
|
|
24
|
+
* showFeatureDescription: true,
|
|
25
|
+
* showHardLimit: true,
|
|
24
26
|
* showPeriodToggle: true,
|
|
25
27
|
* showZeroPriceAsFree: true,
|
|
26
28
|
* syncCustomerBillingDetails: true
|
|
@@ -47,8 +49,12 @@ export interface UpdatePlanGroupRequestBody {
|
|
|
47
49
|
preventSelfServiceDowngradeButtonText?: string;
|
|
48
50
|
preventSelfServiceDowngradeUrl?: string;
|
|
49
51
|
prorationBehavior: Schematic.ProrationBehavior;
|
|
52
|
+
scheduledDowngradeBehavior?: Schematic.ScheduledDowngradeConfigBehavior;
|
|
53
|
+
scheduledDowngradePreventWhenOverLimit?: boolean;
|
|
50
54
|
showAsMonthlyPrices: boolean;
|
|
51
55
|
showCredits: boolean;
|
|
56
|
+
showFeatureDescription: boolean;
|
|
57
|
+
showHardLimit: boolean;
|
|
52
58
|
showPeriodToggle: boolean;
|
|
53
59
|
showZeroPriceAsFree: boolean;
|
|
54
60
|
syncCustomerBillingDetails: boolean;
|
|
@@ -0,0 +1,109 @@
|
|
|
1
|
+
import type { BaseClientOptions, BaseRequestOptions } from "../../../../BaseClient";
|
|
2
|
+
import { type NormalizedClientOptionsWithAuth } from "../../../../BaseClient";
|
|
3
|
+
import * as core from "../../../../core";
|
|
4
|
+
import * as Schematic from "../../../index";
|
|
5
|
+
export declare namespace PlanmigrationsClient {
|
|
6
|
+
type Options = BaseClientOptions;
|
|
7
|
+
interface RequestOptions extends BaseRequestOptions {
|
|
8
|
+
}
|
|
9
|
+
}
|
|
10
|
+
export declare class PlanmigrationsClient {
|
|
11
|
+
protected readonly _options: NormalizedClientOptionsWithAuth<PlanmigrationsClient.Options>;
|
|
12
|
+
constructor(options: PlanmigrationsClient.Options);
|
|
13
|
+
/**
|
|
14
|
+
* @param {Schematic.ListCompanyMigrationsRequest} request
|
|
15
|
+
* @param {PlanmigrationsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
16
|
+
*
|
|
17
|
+
* @throws {@link Schematic.BadRequestError}
|
|
18
|
+
* @throws {@link Schematic.UnauthorizedError}
|
|
19
|
+
* @throws {@link Schematic.ForbiddenError}
|
|
20
|
+
* @throws {@link Schematic.NotFoundError}
|
|
21
|
+
* @throws {@link Schematic.InternalServerError}
|
|
22
|
+
*
|
|
23
|
+
* @example
|
|
24
|
+
* await client.planmigrations.listCompanyMigrations({
|
|
25
|
+
* migrationId: "migration_id",
|
|
26
|
+
* q: "q",
|
|
27
|
+
* status: "completed",
|
|
28
|
+
* limit: 1,
|
|
29
|
+
* offset: 1
|
|
30
|
+
* })
|
|
31
|
+
*/
|
|
32
|
+
listCompanyMigrations(request?: Schematic.ListCompanyMigrationsRequest, requestOptions?: PlanmigrationsClient.RequestOptions): core.HttpResponsePromise<Schematic.ListCompanyMigrationsResponse>;
|
|
33
|
+
private __listCompanyMigrations;
|
|
34
|
+
/**
|
|
35
|
+
* @param {Schematic.CountCompanyMigrationsRequest} request
|
|
36
|
+
* @param {PlanmigrationsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
37
|
+
*
|
|
38
|
+
* @throws {@link Schematic.BadRequestError}
|
|
39
|
+
* @throws {@link Schematic.UnauthorizedError}
|
|
40
|
+
* @throws {@link Schematic.ForbiddenError}
|
|
41
|
+
* @throws {@link Schematic.NotFoundError}
|
|
42
|
+
* @throws {@link Schematic.InternalServerError}
|
|
43
|
+
*
|
|
44
|
+
* @example
|
|
45
|
+
* await client.planmigrations.countCompanyMigrations({
|
|
46
|
+
* migrationId: "migration_id",
|
|
47
|
+
* q: "q",
|
|
48
|
+
* status: "completed",
|
|
49
|
+
* limit: 1,
|
|
50
|
+
* offset: 1
|
|
51
|
+
* })
|
|
52
|
+
*/
|
|
53
|
+
countCompanyMigrations(request?: Schematic.CountCompanyMigrationsRequest, requestOptions?: PlanmigrationsClient.RequestOptions): core.HttpResponsePromise<Schematic.CountCompanyMigrationsResponse>;
|
|
54
|
+
private __countCompanyMigrations;
|
|
55
|
+
/**
|
|
56
|
+
* @param {Schematic.ListMigrationsRequest} request
|
|
57
|
+
* @param {PlanmigrationsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
58
|
+
*
|
|
59
|
+
* @throws {@link Schematic.BadRequestError}
|
|
60
|
+
* @throws {@link Schematic.UnauthorizedError}
|
|
61
|
+
* @throws {@link Schematic.ForbiddenError}
|
|
62
|
+
* @throws {@link Schematic.NotFoundError}
|
|
63
|
+
* @throws {@link Schematic.InternalServerError}
|
|
64
|
+
*
|
|
65
|
+
* @example
|
|
66
|
+
* await client.planmigrations.listMigrations({
|
|
67
|
+
* planVersionId: "plan_version_id",
|
|
68
|
+
* status: "completed",
|
|
69
|
+
* limit: 1,
|
|
70
|
+
* offset: 1
|
|
71
|
+
* })
|
|
72
|
+
*/
|
|
73
|
+
listMigrations(request?: Schematic.ListMigrationsRequest, requestOptions?: PlanmigrationsClient.RequestOptions): core.HttpResponsePromise<Schematic.ListMigrationsResponse>;
|
|
74
|
+
private __listMigrations;
|
|
75
|
+
/**
|
|
76
|
+
* @param {string} plan_version_migration_id - plan_version_migration_id
|
|
77
|
+
* @param {PlanmigrationsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
78
|
+
*
|
|
79
|
+
* @throws {@link Schematic.UnauthorizedError}
|
|
80
|
+
* @throws {@link Schematic.ForbiddenError}
|
|
81
|
+
* @throws {@link Schematic.NotFoundError}
|
|
82
|
+
* @throws {@link Schematic.InternalServerError}
|
|
83
|
+
*
|
|
84
|
+
* @example
|
|
85
|
+
* await client.planmigrations.getMigration("plan_version_migration_id")
|
|
86
|
+
*/
|
|
87
|
+
getMigration(plan_version_migration_id: string, requestOptions?: PlanmigrationsClient.RequestOptions): core.HttpResponsePromise<Schematic.GetMigrationResponse>;
|
|
88
|
+
private __getMigration;
|
|
89
|
+
/**
|
|
90
|
+
* @param {Schematic.CountMigrationsRequest} request
|
|
91
|
+
* @param {PlanmigrationsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
92
|
+
*
|
|
93
|
+
* @throws {@link Schematic.BadRequestError}
|
|
94
|
+
* @throws {@link Schematic.UnauthorizedError}
|
|
95
|
+
* @throws {@link Schematic.ForbiddenError}
|
|
96
|
+
* @throws {@link Schematic.NotFoundError}
|
|
97
|
+
* @throws {@link Schematic.InternalServerError}
|
|
98
|
+
*
|
|
99
|
+
* @example
|
|
100
|
+
* await client.planmigrations.countMigrations({
|
|
101
|
+
* planVersionId: "plan_version_id",
|
|
102
|
+
* status: "completed",
|
|
103
|
+
* limit: 1,
|
|
104
|
+
* offset: 1
|
|
105
|
+
* })
|
|
106
|
+
*/
|
|
107
|
+
countMigrations(request?: Schematic.CountMigrationsRequest, requestOptions?: PlanmigrationsClient.RequestOptions): core.HttpResponsePromise<Schematic.CountMigrationsResponse>;
|
|
108
|
+
private __countMigrations;
|
|
109
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./requests";
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import type * as Schematic from "../../../../index";
|
|
2
|
+
/**
|
|
3
|
+
* @example
|
|
4
|
+
* {
|
|
5
|
+
* migrationId: "migration_id",
|
|
6
|
+
* q: "q",
|
|
7
|
+
* status: "completed",
|
|
8
|
+
* limit: 1,
|
|
9
|
+
* offset: 1
|
|
10
|
+
* }
|
|
11
|
+
*/
|
|
12
|
+
export interface CountCompanyMigrationsRequest {
|
|
13
|
+
migrationId?: string;
|
|
14
|
+
q?: string;
|
|
15
|
+
status?: Schematic.PlanVersionCompanyMigrationStatus;
|
|
16
|
+
/** Page limit (default 100) */
|
|
17
|
+
limit?: number;
|
|
18
|
+
/** Page offset (default 0) */
|
|
19
|
+
offset?: number;
|
|
20
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import type * as Schematic from "../../../../index";
|
|
2
|
+
/**
|
|
3
|
+
* @example
|
|
4
|
+
* {
|
|
5
|
+
* planVersionId: "plan_version_id",
|
|
6
|
+
* status: "completed",
|
|
7
|
+
* limit: 1,
|
|
8
|
+
* offset: 1
|
|
9
|
+
* }
|
|
10
|
+
*/
|
|
11
|
+
export interface CountMigrationsRequest {
|
|
12
|
+
planVersionId?: string;
|
|
13
|
+
status?: Schematic.PlanVersionMigrationStatus;
|
|
14
|
+
/** Page limit (default 100) */
|
|
15
|
+
limit?: number;
|
|
16
|
+
/** Page offset (default 0) */
|
|
17
|
+
offset?: number;
|
|
18
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import type * as Schematic from "../../../../index";
|
|
2
|
+
/**
|
|
3
|
+
* @example
|
|
4
|
+
* {
|
|
5
|
+
* migrationId: "migration_id",
|
|
6
|
+
* q: "q",
|
|
7
|
+
* status: "completed",
|
|
8
|
+
* limit: 1,
|
|
9
|
+
* offset: 1
|
|
10
|
+
* }
|
|
11
|
+
*/
|
|
12
|
+
export interface ListCompanyMigrationsRequest {
|
|
13
|
+
migrationId?: string;
|
|
14
|
+
q?: string;
|
|
15
|
+
status?: Schematic.PlanVersionCompanyMigrationStatus;
|
|
16
|
+
/** Page limit (default 100) */
|
|
17
|
+
limit?: number;
|
|
18
|
+
/** Page offset (default 0) */
|
|
19
|
+
offset?: number;
|
|
20
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import type * as Schematic from "../../../../index";
|
|
2
|
+
/**
|
|
3
|
+
* @example
|
|
4
|
+
* {
|
|
5
|
+
* planVersionId: "plan_version_id",
|
|
6
|
+
* status: "completed",
|
|
7
|
+
* limit: 1,
|
|
8
|
+
* offset: 1
|
|
9
|
+
* }
|
|
10
|
+
*/
|
|
11
|
+
export interface ListMigrationsRequest {
|
|
12
|
+
planVersionId?: string;
|
|
13
|
+
status?: Schematic.PlanVersionMigrationStatus;
|
|
14
|
+
/** Page limit (default 100) */
|
|
15
|
+
limit?: number;
|
|
16
|
+
/** Page offset (default 0) */
|
|
17
|
+
offset?: number;
|
|
18
|
+
}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
export type { CountCompanyMigrationsRequest } from "./CountCompanyMigrationsRequest";
|
|
2
|
+
export type { CountMigrationsRequest } from "./CountMigrationsRequest";
|
|
3
|
+
export type { ListCompanyMigrationsRequest } from "./ListCompanyMigrationsRequest";
|
|
4
|
+
export type { ListMigrationsRequest } from "./ListMigrationsRequest";
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import type * as Schematic from "../../../index";
|
|
2
|
+
/**
|
|
3
|
+
* Input parameters
|
|
4
|
+
*/
|
|
5
|
+
export interface CountCompanyMigrationsParams {
|
|
6
|
+
/** Page limit (default 100) */
|
|
7
|
+
limit?: number;
|
|
8
|
+
migrationId?: string;
|
|
9
|
+
/** Page offset (default 0) */
|
|
10
|
+
offset?: number;
|
|
11
|
+
q?: string;
|
|
12
|
+
status?: Schematic.PlanVersionCompanyMigrationStatus;
|
|
13
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type * as Schematic from "../../../index";
|
|
2
|
+
/**
|
|
3
|
+
* Input parameters
|
|
4
|
+
*/
|
|
5
|
+
export interface CountMigrationsParams {
|
|
6
|
+
/** Page limit (default 100) */
|
|
7
|
+
limit?: number;
|
|
8
|
+
/** Page offset (default 0) */
|
|
9
|
+
offset?: number;
|
|
10
|
+
planVersionId?: string;
|
|
11
|
+
status?: Schematic.PlanVersionMigrationStatus;
|
|
12
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import type * as Schematic from "../../../index";
|
|
2
|
+
/**
|
|
3
|
+
* Input parameters
|
|
4
|
+
*/
|
|
5
|
+
export interface ListCompanyMigrationsParams {
|
|
6
|
+
/** Page limit (default 100) */
|
|
7
|
+
limit?: number;
|
|
8
|
+
migrationId?: string;
|
|
9
|
+
/** Page offset (default 0) */
|
|
10
|
+
offset?: number;
|
|
11
|
+
q?: string;
|
|
12
|
+
status?: Schematic.PlanVersionCompanyMigrationStatus;
|
|
13
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type * as Schematic from "../../../index";
|
|
2
|
+
/**
|
|
3
|
+
* Input parameters
|
|
4
|
+
*/
|
|
5
|
+
export interface ListMigrationsParams {
|
|
6
|
+
/** Page limit (default 100) */
|
|
7
|
+
limit?: number;
|
|
8
|
+
/** Page offset (default 0) */
|
|
9
|
+
offset?: number;
|
|
10
|
+
planVersionId?: string;
|
|
11
|
+
status?: Schematic.PlanVersionMigrationStatus;
|
|
12
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export * from "./CountCompanyMigrationsParams";
|
|
2
|
+
export * from "./CountCompanyMigrationsResponse";
|
|
3
|
+
export * from "./CountMigrationsParams";
|
|
4
|
+
export * from "./CountMigrationsResponse";
|
|
5
|
+
export * from "./GetMigrationResponse";
|
|
6
|
+
export * from "./ListCompanyMigrationsParams";
|
|
7
|
+
export * from "./ListCompanyMigrationsResponse";
|
|
8
|
+
export * from "./ListMigrationsParams";
|
|
9
|
+
export * from "./ListMigrationsResponse";
|
|
@@ -76,6 +76,7 @@ export declare class PlansClient {
|
|
|
76
76
|
private __createPlan;
|
|
77
77
|
/**
|
|
78
78
|
* @param {string} plan_id - plan_id
|
|
79
|
+
* @param {Schematic.GetPlanRequest} request
|
|
79
80
|
* @param {PlansClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
80
81
|
*
|
|
81
82
|
* @throws {@link Schematic.UnauthorizedError}
|
|
@@ -84,9 +85,11 @@ export declare class PlansClient {
|
|
|
84
85
|
* @throws {@link Schematic.InternalServerError}
|
|
85
86
|
*
|
|
86
87
|
* @example
|
|
87
|
-
* await client.plans.getPlan("plan_id"
|
|
88
|
+
* await client.plans.getPlan("plan_id", {
|
|
89
|
+
* planVersionId: "plan_version_id"
|
|
90
|
+
* })
|
|
88
91
|
*/
|
|
89
|
-
getPlan(plan_id: string, requestOptions?: PlansClient.RequestOptions): core.HttpResponsePromise<Schematic.GetPlanResponse>;
|
|
92
|
+
getPlan(plan_id: string, request?: Schematic.GetPlanRequest, requestOptions?: PlansClient.RequestOptions): core.HttpResponsePromise<Schematic.GetPlanResponse>;
|
|
90
93
|
private __getPlan;
|
|
91
94
|
/**
|
|
92
95
|
* @param {string} plan_id - plan_id
|
|
@@ -179,9 +182,44 @@ export declare class PlansClient {
|
|
|
179
182
|
*
|
|
180
183
|
* @example
|
|
181
184
|
* await client.plans.listPlanIssues({
|
|
182
|
-
* planId: "plan_id"
|
|
185
|
+
* planId: "plan_id",
|
|
186
|
+
* planVersionId: "plan_version_id"
|
|
183
187
|
* })
|
|
184
188
|
*/
|
|
185
189
|
listPlanIssues(request: Schematic.ListPlanIssuesRequest, requestOptions?: PlansClient.RequestOptions): core.HttpResponsePromise<Schematic.ListPlanIssuesResponse>;
|
|
186
190
|
private __listPlanIssues;
|
|
191
|
+
/**
|
|
192
|
+
* @param {string} plan_id - plan_id
|
|
193
|
+
* @param {PlansClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
194
|
+
*
|
|
195
|
+
* @throws {@link Schematic.BadRequestError}
|
|
196
|
+
* @throws {@link Schematic.UnauthorizedError}
|
|
197
|
+
* @throws {@link Schematic.ForbiddenError}
|
|
198
|
+
* @throws {@link Schematic.NotFoundError}
|
|
199
|
+
* @throws {@link Schematic.InternalServerError}
|
|
200
|
+
*
|
|
201
|
+
* @example
|
|
202
|
+
* await client.plans.deletePlanVersion("plan_id")
|
|
203
|
+
*/
|
|
204
|
+
deletePlanVersion(plan_id: string, requestOptions?: PlansClient.RequestOptions): core.HttpResponsePromise<Schematic.DeletePlanVersionResponse>;
|
|
205
|
+
private __deletePlanVersion;
|
|
206
|
+
/**
|
|
207
|
+
* @param {string} plan_id - plan_id
|
|
208
|
+
* @param {Schematic.PublishPlanVersionRequestBody} request
|
|
209
|
+
* @param {PlansClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
210
|
+
*
|
|
211
|
+
* @throws {@link Schematic.BadRequestError}
|
|
212
|
+
* @throws {@link Schematic.UnauthorizedError}
|
|
213
|
+
* @throws {@link Schematic.ForbiddenError}
|
|
214
|
+
* @throws {@link Schematic.NotFoundError}
|
|
215
|
+
* @throws {@link Schematic.InternalServerError}
|
|
216
|
+
*
|
|
217
|
+
* @example
|
|
218
|
+
* await client.plans.publishPlanVersion("plan_id", {
|
|
219
|
+
* excludedCompanyIds: ["excluded_company_ids"],
|
|
220
|
+
* migrationStrategy: "immediate"
|
|
221
|
+
* })
|
|
222
|
+
*/
|
|
223
|
+
publishPlanVersion(plan_id: string, request: Schematic.PublishPlanVersionRequestBody, requestOptions?: PlansClient.RequestOptions): core.HttpResponsePromise<Schematic.PublishPlanVersionResponse>;
|
|
224
|
+
private __publishPlanVersion;
|
|
187
225
|
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type * as Schematic from "../../../../index";
|
|
2
|
+
/**
|
|
3
|
+
* @example
|
|
4
|
+
* {
|
|
5
|
+
* excludedCompanyIds: ["excluded_company_ids"],
|
|
6
|
+
* migrationStrategy: "immediate"
|
|
7
|
+
* }
|
|
8
|
+
*/
|
|
9
|
+
export interface PublishPlanVersionRequestBody {
|
|
10
|
+
excludedCompanyIds: string[];
|
|
11
|
+
migrationStrategy: Schematic.PlanVersionMigrationStrategy;
|
|
12
|
+
}
|
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
export type { CountPlansRequest } from "./CountPlansRequest";
|
|
2
|
+
export type { GetPlanRequest } from "./GetPlanRequest";
|
|
2
3
|
export type { ListPlanIssuesRequest } from "./ListPlanIssuesRequest";
|
|
3
4
|
export type { ListPlansRequest } from "./ListPlansRequest";
|
|
5
|
+
export type { PublishPlanVersionRequestBody } from "./PublishPlanVersionRequestBody";
|
|
4
6
|
export type { UpdateCompanyPlansRequestBody } from "./UpdateCompanyPlansRequestBody";
|
|
@@ -17,6 +17,7 @@ export interface CountPlansParams {
|
|
|
17
17
|
limit?: number;
|
|
18
18
|
/** Page offset (default 0) */
|
|
19
19
|
offset?: number;
|
|
20
|
+
/** Filter by plan type */
|
|
20
21
|
planType?: Schematic.PlanType;
|
|
21
22
|
q?: string;
|
|
22
23
|
/** Filter out plans that already have a plan entitlement for the specified feature ID */
|
|
@@ -17,6 +17,7 @@ export interface ListPlansParams {
|
|
|
17
17
|
limit?: number;
|
|
18
18
|
/** Page offset (default 0) */
|
|
19
19
|
offset?: number;
|
|
20
|
+
/** Filter by plan type */
|
|
20
21
|
planType?: Schematic.PlanType;
|
|
21
22
|
q?: string;
|
|
22
23
|
/** Filter out plans that already have a plan entitlement for the specified feature ID */
|
|
@@ -2,11 +2,14 @@ export * from "./CountPlansParams";
|
|
|
2
2
|
export * from "./CountPlansResponse";
|
|
3
3
|
export * from "./CreatePlanResponse";
|
|
4
4
|
export * from "./DeletePlanResponse";
|
|
5
|
+
export * from "./DeletePlanVersionResponse";
|
|
6
|
+
export * from "./GetPlanParams";
|
|
5
7
|
export * from "./GetPlanResponse";
|
|
6
8
|
export * from "./ListPlanIssuesParams";
|
|
7
9
|
export * from "./ListPlanIssuesResponse";
|
|
8
10
|
export * from "./ListPlansParams";
|
|
9
11
|
export * from "./ListPlansResponse";
|
|
12
|
+
export * from "./PublishPlanVersionResponse";
|
|
10
13
|
export * from "./UpdateCompanyPlansResponse";
|
|
11
14
|
export * from "./UpdatePlanResponse";
|
|
12
15
|
export * from "./UpsertBillingProductPlanResponse";
|