@schematichq/schematic-typescript-node 1.4.5 → 1.4.7
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 +118 -2
- package/dist/BaseClient.d.ts +3 -0
- package/dist/Client.d.ts +8 -20
- package/dist/api/resources/accounts/client/Client.d.ts +35 -0
- package/dist/api/resources/accounts/client/requests/ListAccountMembersRequest.d.ts +18 -0
- package/dist/api/resources/accounts/client/requests/ListEnvironmentsRequest.d.ts +1 -0
- package/dist/api/resources/accounts/client/requests/index.d.ts +1 -0
- package/dist/api/resources/accounts/types/GetAccountMemberResponse.d.ts +6 -0
- package/dist/api/resources/accounts/types/ListAccountMembersParams.d.ts +12 -0
- package/dist/api/resources/accounts/types/ListAccountMembersResponse.d.ts +6 -0
- package/dist/api/resources/accounts/types/index.d.ts +3 -0
- package/dist/api/resources/billing/client/Client.d.ts +33 -6
- package/dist/api/resources/billing/client/requests/CountBillingProductsRequest.d.ts +5 -1
- package/dist/api/resources/billing/client/requests/CountCustomersRequest.d.ts +2 -1
- package/dist/api/resources/billing/client/requests/CreateBillingPriceRequestBody.d.ts +2 -0
- package/dist/api/resources/billing/client/requests/CreateBillingSubscriptionRequestBody.d.ts +1 -0
- package/dist/api/resources/billing/client/requests/CreateMeterRequestBody.d.ts +2 -0
- package/dist/api/resources/billing/client/requests/ListBillingPricesRequest.d.ts +6 -1
- package/dist/api/resources/billing/client/requests/ListBillingProductPricesRequest.d.ts +6 -1
- package/dist/api/resources/billing/client/requests/ListBillingProductsRequest.d.ts +5 -1
- package/dist/api/resources/billing/client/requests/ListCustomersWithSubscriptionsRequest.d.ts +2 -1
- package/dist/api/resources/billing/types/CountBillingProductsParams.d.ts +2 -0
- package/dist/api/resources/billing/types/DeletePaymentMethodByExternalIdResponse.d.ts +6 -0
- package/dist/api/resources/billing/types/ListBillingPricesParams.d.ts +2 -0
- package/dist/api/resources/billing/types/ListBillingProductPricesParams.d.ts +2 -0
- package/dist/api/resources/billing/types/ListBillingProductsParams.d.ts +2 -0
- package/dist/api/resources/billing/types/index.d.ts +1 -0
- package/dist/api/resources/checkout/client/Client.d.ts +6 -0
- package/dist/api/resources/companies/client/Client.d.ts +31 -55
- package/dist/api/resources/companies/client/requests/CountCompaniesRequest.d.ts +11 -0
- package/dist/api/resources/companies/client/requests/CountEntityKeyDefinitionsRequest.d.ts +1 -0
- package/dist/api/resources/companies/client/requests/CountEntityTraitDefinitionsRequest.d.ts +2 -0
- package/dist/api/resources/companies/client/requests/CountPlanTraitsRequest.d.ts +2 -0
- package/dist/api/resources/companies/client/requests/CountUsersRequest.d.ts +1 -0
- package/dist/api/resources/companies/client/requests/GetActiveCompanySubscriptionRequest.d.ts +1 -0
- package/dist/api/resources/companies/client/requests/ListCompaniesRequest.d.ts +11 -0
- package/dist/api/resources/companies/client/requests/ListEntityKeyDefinitionsRequest.d.ts +1 -0
- package/dist/api/resources/companies/client/requests/ListEntityTraitDefinitionsRequest.d.ts +2 -0
- package/dist/api/resources/companies/client/requests/ListPlanChangesRequest.d.ts +7 -4
- package/dist/api/resources/companies/client/requests/ListPlanTraitsRequest.d.ts +2 -0
- package/dist/api/resources/companies/client/requests/ListUsersRequest.d.ts +1 -0
- package/dist/api/resources/companies/client/requests/index.d.ts +0 -2
- package/dist/api/resources/companies/types/CountCompaniesParams.d.ts +4 -0
- package/dist/api/resources/companies/types/ListCompaniesParams.d.ts +4 -0
- package/dist/api/resources/companies/types/ListPlanChangesParams.d.ts +3 -2
- package/dist/api/resources/companies/types/index.d.ts +0 -3
- package/dist/api/resources/credits/client/Client.d.ts +99 -1
- package/dist/api/resources/credits/client/requests/AcquireCreditLeaseRequestBody.d.ts +14 -0
- package/dist/api/resources/credits/client/requests/CountBillingCreditsGrantsRequest.d.ts +1 -0
- package/dist/api/resources/credits/client/requests/CountBillingCreditsRequest.d.ts +1 -0
- package/dist/api/resources/credits/client/requests/CountBillingPlanCreditGrantsRequest.d.ts +4 -0
- package/dist/api/resources/credits/client/requests/CountCreditBundlesRequest.d.ts +1 -0
- package/dist/api/resources/credits/client/requests/CreateBillingCreditRequestBody.d.ts +1 -0
- package/dist/api/resources/credits/client/requests/CreateCompanyCreditGrant.d.ts +2 -1
- package/dist/api/resources/credits/client/requests/CreateCreditBundleRequestBody.d.ts +1 -0
- package/dist/api/resources/credits/client/requests/ExtendCreditLeaseRequestBody.d.ts +10 -0
- package/dist/api/resources/credits/client/requests/ListBillingCreditsRequest.d.ts +1 -0
- package/dist/api/resources/credits/client/requests/ListBillingPlanCreditGrantsRequest.d.ts +4 -0
- package/dist/api/resources/credits/client/requests/ListCompanyCreditBalancesRequest.d.ts +9 -0
- package/dist/api/resources/credits/client/requests/ListCreditBundlesRequest.d.ts +1 -0
- package/dist/api/resources/credits/client/requests/ListGrantsForCreditRequest.d.ts +1 -0
- package/dist/api/resources/credits/client/requests/UpdateBillingCreditRequestBody.d.ts +1 -0
- package/dist/api/resources/credits/client/requests/UpdateCreditBundleDetailsRequestBody.d.ts +1 -0
- package/dist/api/resources/credits/client/requests/index.d.ts +3 -0
- package/dist/api/resources/credits/types/AcquireCreditLeaseResponse.d.ts +6 -0
- package/dist/api/resources/credits/types/CountBillingPlanCreditGrantsParams.d.ts +1 -0
- package/dist/api/resources/credits/types/ExtendCreditLeaseResponse.d.ts +6 -0
- package/dist/api/resources/credits/types/GetSingleBillingPlanCreditGrantResponse.d.ts +6 -0
- package/dist/api/resources/credits/types/ListBillingPlanCreditGrantsParams.d.ts +1 -0
- package/dist/api/resources/credits/types/ListCompanyCreditBalancesParams.d.ts +6 -0
- package/dist/api/resources/credits/types/ListCompanyCreditBalancesResponse.d.ts +6 -0
- package/dist/api/resources/credits/types/ReleaseCreditLeaseResponse.d.ts +6 -0
- package/dist/api/resources/credits/types/index.d.ts +6 -0
- package/dist/api/resources/entitlements/client/Client.d.ts +39 -0
- package/dist/api/resources/entitlements/client/requests/CountCompanyOverridesRequest.d.ts +3 -0
- package/dist/api/resources/entitlements/client/requests/CountFeatureUsageRequest.d.ts +5 -0
- package/dist/api/resources/entitlements/client/requests/CountPlanEntitlementsRequest.d.ts +4 -0
- package/dist/api/resources/entitlements/client/requests/CreateBillingLinkedPlanEntitlementRequestBody.d.ts +50 -0
- package/dist/api/resources/entitlements/client/requests/CreateCompanyOverrideRequestBody.d.ts +2 -2
- package/dist/api/resources/entitlements/client/requests/CreatePlanEntitlementRequestBody.d.ts +9 -2
- package/dist/api/resources/entitlements/client/requests/ListCompanyOverridesRequest.d.ts +3 -0
- package/dist/api/resources/entitlements/client/requests/ListFeatureUsageRequest.d.ts +5 -0
- package/dist/api/resources/entitlements/client/requests/ListPlanEntitlementsRequest.d.ts +4 -0
- package/dist/api/resources/entitlements/client/requests/UpdateCompanyOverrideRequestBody.d.ts +2 -2
- package/dist/api/resources/entitlements/client/requests/UpdatePlanEntitlementRequestBody.d.ts +9 -2
- package/dist/api/resources/entitlements/client/requests/index.d.ts +1 -0
- package/dist/api/resources/entitlements/types/CountFeatureUsageParams.d.ts +3 -0
- package/dist/api/resources/entitlements/types/ListFeatureUsageParams.d.ts +3 -0
- package/dist/api/resources/entitlements/types/UpsertPlanEntitlementForBillingProductResponse.d.ts +6 -0
- package/dist/api/resources/entitlements/types/index.d.ts +1 -8
- package/dist/api/resources/events/client/Client.d.ts +3 -0
- package/dist/api/resources/events/client/requests/GetEventSummariesRequest.d.ts +1 -0
- package/dist/api/resources/events/client/requests/ListEventsRequest.d.ts +3 -0
- package/dist/api/resources/events/types/ListEventsParams.d.ts +1 -0
- package/dist/api/resources/features/client/Client.d.ts +35 -6
- package/dist/api/resources/features/client/requests/CountFeaturesRequest.d.ts +13 -8
- package/dist/api/resources/features/client/requests/CountFlagsRequest.d.ts +1 -0
- package/dist/api/resources/features/client/requests/CreateBillingLinkedFeatureRequestBody.d.ts +26 -0
- package/dist/api/resources/features/client/requests/CreateFeatureRequestBody.d.ts +1 -1
- package/dist/api/resources/features/client/requests/ListFeaturesRequest.d.ts +13 -8
- package/dist/api/resources/features/client/requests/ListFlagsRequest.d.ts +1 -0
- package/dist/api/resources/features/client/requests/UpdateFeatureRequestBody.d.ts +1 -1
- package/dist/api/resources/features/client/requests/UpdateFlagRulesRequestBody.d.ts +2 -2
- package/dist/api/resources/features/client/requests/index.d.ts +1 -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/features/types/UpsertFeatureForBillingProductResponse.d.ts +6 -0
- package/dist/api/resources/features/types/index.d.ts +1 -0
- package/dist/api/resources/index.d.ts +6 -0
- package/dist/api/resources/insights/client/Client.d.ts +114 -0
- package/dist/api/resources/insights/client/index.d.ts +1 -0
- package/dist/api/resources/insights/client/requests/GetActivityRequest.d.ts +9 -0
- package/dist/api/resources/insights/client/requests/GetEnvironmentFeatureUsageTimeSeriesRequest.d.ts +16 -0
- package/dist/api/resources/insights/client/requests/GetEnvironmentTraitUsageTimeSeriesRequest.d.ts +16 -0
- package/dist/api/resources/insights/client/requests/GetPlanGrowthRequest.d.ts +9 -0
- package/dist/api/resources/insights/client/requests/GetTopFeaturesByUsageRequest.d.ts +13 -0
- package/dist/api/resources/insights/client/requests/index.d.ts +5 -0
- package/dist/api/resources/insights/exports.d.ts +2 -0
- package/dist/api/resources/insights/index.d.ts +2 -0
- package/dist/api/resources/insights/types/GetActivityParams.d.ts +6 -0
- package/dist/api/resources/insights/types/GetActivityResponse.d.ts +6 -0
- package/dist/api/resources/insights/types/GetEnvironmentFeatureUsageTimeSeriesParams.d.ts +10 -0
- package/dist/api/resources/insights/types/GetEnvironmentFeatureUsageTimeSeriesResponse.d.ts +6 -0
- package/dist/api/resources/insights/types/GetEnvironmentTraitUsageTimeSeriesParams.d.ts +10 -0
- package/dist/api/resources/insights/types/GetEnvironmentTraitUsageTimeSeriesResponse.d.ts +6 -0
- package/dist/api/resources/insights/types/GetPlanGrowthParams.d.ts +6 -0
- package/dist/api/resources/insights/types/GetPlanGrowthResponse.d.ts +6 -0
- package/dist/api/resources/{companies/types/UpdatePlanTraitResponse.d.ts → insights/types/GetSummaryResponse.d.ts} +2 -2
- package/dist/api/resources/insights/types/GetTopFeaturesByUsageParams.d.ts +8 -0
- package/dist/api/resources/insights/types/GetTopFeaturesByUsageResponse.d.ts +6 -0
- package/dist/api/resources/insights/types/index.d.ts +11 -0
- package/dist/api/resources/integrationsapi/client/Client.d.ts +109 -0
- package/dist/api/resources/integrationsapi/client/index.d.ts +1 -0
- package/dist/api/resources/integrationsapi/client/requests/ListIntegrationsRequest.d.ts +24 -0
- package/dist/api/resources/integrationsapi/client/requests/StartDataImportRequestBody.d.ts +12 -0
- package/dist/api/resources/integrationsapi/client/requests/index.d.ts +2 -0
- package/dist/api/resources/integrationsapi/exports.d.ts +2 -0
- package/dist/api/resources/integrationsapi/index.d.ts +2 -0
- package/dist/api/resources/integrationsapi/types/GetIntegrationWebhookUrlResponse.d.ts +6 -0
- package/dist/api/resources/integrationsapi/types/ListIntegrationsParams.d.ts +15 -0
- package/dist/api/resources/integrationsapi/types/ListIntegrationsResponse.d.ts +6 -0
- package/dist/api/resources/integrationsapi/types/LoadSampleDataSetV2Response.d.ts +6 -0
- package/dist/api/resources/{companies/types/CreatePlanTraitResponse.d.ts → integrationsapi/types/RunIntegrationResponse.d.ts} +2 -2
- package/dist/api/resources/integrationsapi/types/StartDataImportResponse.d.ts +6 -0
- package/dist/api/resources/{companies/types/DeletePlanTraitResponse.d.ts → integrationsapi/types/UninstallIntegrationResponse.d.ts} +1 -1
- package/dist/api/resources/integrationsapi/types/index.d.ts +7 -0
- package/dist/api/resources/planbundle/client/Client.d.ts +19 -0
- package/dist/api/resources/planbundle/client/requests/CreateCustomPlanBundleRequestBody.d.ts +14 -0
- package/dist/api/resources/planbundle/client/requests/index.d.ts +1 -0
- package/dist/api/resources/planbundle/types/CreateCustomPlanBundleResponse.d.ts +6 -0
- package/dist/api/resources/planbundle/types/index.d.ts +1 -0
- package/dist/api/resources/planmigrations/client/Client.d.ts +56 -0
- package/dist/api/resources/planmigrations/client/requests/CreateMigrationInput.d.ts +22 -0
- package/dist/api/resources/planmigrations/client/requests/RetryMigrationRequestBody.d.ts +10 -0
- package/dist/api/resources/planmigrations/client/requests/index.d.ts +2 -0
- package/dist/api/resources/planmigrations/types/CreateMigrationResponse.d.ts +6 -0
- package/dist/api/resources/planmigrations/types/RetryCompanyMigrationResponse.d.ts +6 -0
- package/dist/api/resources/planmigrations/types/RetryMigrationResponse.d.ts +6 -0
- package/dist/api/resources/planmigrations/types/index.d.ts +3 -0
- package/dist/api/resources/plans/client/Client.d.ts +162 -3
- package/dist/api/resources/plans/client/requests/CountBillingProductMatchCompaniesRequest.d.ts +19 -0
- package/dist/api/resources/plans/client/requests/CountPlansRequest.d.ts +13 -0
- package/dist/api/resources/plans/client/requests/CreateBillingLinkedPlanRequestBody.d.ts +20 -0
- package/dist/api/resources/plans/client/requests/CreateCustomPlanRequestBody.d.ts +16 -0
- package/dist/api/resources/plans/client/requests/DeletePlanVersionRequest.d.ts +9 -0
- package/dist/api/resources/plans/client/requests/ListBillingProductMatchCompaniesRequest.d.ts +19 -0
- package/dist/api/resources/plans/client/requests/ListCustomPlanBillingsRequest.d.ts +26 -0
- package/dist/api/resources/plans/client/requests/ListPlansRequest.d.ts +13 -0
- package/dist/api/resources/plans/client/requests/PublishPlanVersionRequestBody.d.ts +9 -1
- package/dist/api/resources/plans/client/requests/RetryCustomPlanBillingRequestBody.d.ts +17 -0
- package/dist/api/resources/plans/client/requests/index.d.ts +7 -0
- package/dist/api/resources/plans/types/CountBillingProductMatchCompaniesParams.d.ts +13 -0
- package/dist/api/resources/plans/types/CountBillingProductMatchCompaniesResponse.d.ts +6 -0
- package/dist/api/resources/plans/types/CountPlansParams.d.ts +8 -0
- package/dist/api/resources/plans/types/CreateCustomPlanResponse.d.ts +6 -0
- package/dist/api/resources/plans/types/DeletePlanVersionParams.d.ts +6 -0
- package/dist/api/resources/plans/types/DeletePlanVersionResponse.d.ts +1 -1
- package/dist/api/resources/plans/types/ListBillingProductMatchCompaniesParams.d.ts +13 -0
- package/dist/api/resources/plans/types/ListBillingProductMatchCompaniesResponse.d.ts +6 -0
- package/dist/api/resources/plans/types/ListCustomPlanBillingsParams.d.ts +18 -0
- package/dist/api/resources/plans/types/ListCustomPlanBillingsResponse.d.ts +6 -0
- package/dist/api/resources/plans/types/ListPlansParams.d.ts +8 -0
- package/dist/api/resources/plans/types/MarkCustomPlanBillingPaidResponse.d.ts +6 -0
- package/dist/api/resources/plans/types/RetryCustomPlanBillingResponse.d.ts +6 -0
- package/dist/api/resources/plans/types/UpsertPlanForBillingProductResponse.d.ts +6 -0
- package/dist/api/resources/plans/types/index.d.ts +11 -0
- package/dist/api/resources/webhooks/client/Client.d.ts +2 -0
- package/dist/api/resources/webhooks/client/requests/CountWebhookEventsRequest.d.ts +1 -0
- package/dist/api/resources/webhooks/client/requests/ListWebhookEventsRequest.d.ts +1 -0
- package/dist/api/types/AccountMemberPermission.d.ts +18 -0
- package/dist/api/types/AccountMemberResponseData.d.ts +11 -0
- package/dist/api/types/AccountMemberRole.d.ts +5 -0
- package/dist/api/types/ActivityEntryResponseData.d.ts +8 -0
- package/dist/api/types/ActivityResponseResponseData.d.ts +4 -0
- package/dist/api/types/ApiKeyCreateResponseData.d.ts +2 -0
- package/dist/api/types/ApiKeyIntegrationResponseData.d.ts +6 -0
- package/dist/api/types/ApiKeyResponseData.d.ts +2 -0
- package/dist/api/types/AuditLogListResponseData.d.ts +2 -0
- package/dist/api/types/AuditLogResponseData.d.ts +2 -0
- package/dist/api/types/BillingCreditBundleResponseData.d.ts +2 -0
- package/dist/api/types/BillingCreditBundleView.d.ts +1 -0
- package/dist/api/types/BillingCreditGrantReason.d.ts +1 -0
- package/dist/api/types/BillingCreditGrantResponseData.d.ts +1 -0
- package/dist/api/types/BillingCreditResponseData.d.ts +1 -0
- package/dist/api/types/BillingCreditView.d.ts +1 -0
- package/dist/api/types/BillingLinkedResourceResponseData.d.ts +6 -0
- package/dist/api/types/BillingPlanCreditGrantResponseData.d.ts +2 -0
- package/dist/api/types/BillingPriceResponseData.d.ts +2 -0
- package/dist/api/types/BillingPriceView.d.ts +2 -0
- package/dist/api/types/BillingProductForSubscriptionResponseData.d.ts +1 -0
- package/dist/api/types/BillingProductPlanResponseData.d.ts +2 -1
- package/dist/api/types/BillingProductPriceResponseData.d.ts +2 -0
- package/dist/api/types/BillingProviderType.d.ts +1 -0
- package/dist/api/types/BillingStrategy.d.ts +6 -0
- package/dist/api/types/ChangeSubscriptionInternalRequestBody.d.ts +1 -0
- package/dist/api/types/ChangeSubscriptionRequestBody.d.ts +1 -0
- package/dist/api/types/ChargeType.d.ts +1 -0
- package/dist/api/types/CheckFlagResponseData.d.ts +2 -2
- package/dist/api/types/CheckoutSubscription.d.ts +2 -0
- package/dist/api/types/ClerkIntegrationConfig.d.ts +6 -0
- package/dist/api/types/CompanyCreditBalanceResponseData.d.ts +7 -0
- package/dist/api/types/CompanyDetailResponseData.d.ts +1 -0
- package/dist/api/types/CompanyEventPeriodMetricsResponseData.d.ts +3 -2
- package/dist/api/types/CompanyMatchingCriteria.d.ts +5 -0
- package/dist/api/types/CompanyOverrideResponseData.d.ts +2 -2
- package/dist/api/types/CompanyPlanCreditGrantView.d.ts +40 -0
- package/dist/api/types/CompanyPlanDetailResponseData.d.ts +13 -4
- package/dist/api/types/CompanyPlanWithBillingSubView.d.ts +1 -1
- package/dist/api/types/CompanySubscriptionResponseData.d.ts +1 -0
- package/dist/api/types/{ConditionOperator.d.ts → ComparableOperator.d.ts} +5 -5
- package/dist/api/types/Condition.d.ts +4 -4
- package/dist/api/types/ConditionResponseData.d.ts +4 -4
- package/dist/api/types/{ConditionConditionType.d.ts → ConditionType.d.ts} +2 -2
- package/dist/api/types/ConditionView.d.ts +4 -4
- package/dist/api/types/CreateBillingPlanCreditGrantRequestBody.d.ts +2 -0
- package/dist/api/types/CreateCustomPlanBundlePlanRequestBody.d.ts +7 -0
- package/dist/api/types/CreateEntitlementInBundleRequestBody.d.ts +9 -2
- package/dist/api/types/CreateEntitlementReqCommon.d.ts +2 -2
- package/dist/api/types/CreateEventRequestBody.d.ts +6 -0
- package/dist/api/types/CreateFlagRequestBody.d.ts +1 -1
- package/dist/api/types/CreateOrUpdateConditionRequestBody.d.ts +4 -4
- package/dist/api/types/CreateOrUpdateFlagRequestBody.d.ts +1 -1
- package/dist/api/types/CreateOrUpdateRuleRequestBody.d.ts +1 -1
- package/dist/api/types/CreatePlanRequestBody.d.ts +1 -1
- package/dist/api/types/CreditBundleCurrencyPrice.d.ts +5 -0
- package/dist/api/types/CreditBundleCurrencyPriceRequestBody.d.ts +5 -0
- package/dist/api/types/CreditBundleCurrencyPriceResponseData.d.ts +5 -0
- package/dist/api/types/CreditCompanyGrantView.d.ts +1 -0
- package/dist/api/types/CreditCurrencyPrice.d.ts +5 -0
- package/dist/api/types/CreditCurrencyPriceRequestBody.d.ts +5 -0
- package/dist/api/types/CreditCurrencyPriceResponseData.d.ts +5 -0
- package/dist/api/types/CreditLeaseResponseData.d.ts +10 -0
- package/dist/api/types/CurrencyPriceRequestBody.d.ts +13 -0
- package/dist/api/types/CustomPlanActivationStrategy.d.ts +5 -0
- package/dist/api/types/CustomPlanBillingResponseData.d.ts +15 -0
- package/dist/api/types/CustomPlanBillingStatus.d.ts +7 -0
- package/dist/api/types/DataEventPayload.d.ts +3 -0
- package/dist/api/types/DatastreamCompanyPlan.d.ts +2 -0
- package/dist/api/types/DuplicatePlanEntitlementsResponseResponseData.d.ts +1 -0
- package/dist/api/types/EntitlementCurrencyPricesResponseData.d.ts +7 -0
- package/dist/api/types/EnvironmentFeatureUsageTimeSeriesResponseData.d.ts +6 -0
- package/dist/api/types/EnvironmentTraitUsageTimeSeriesResponseData.d.ts +6 -0
- package/dist/api/types/EnvironmentUsagePointResponseData.d.ts +4 -0
- package/dist/api/types/EventBodyTrack.d.ts +2 -0
- package/dist/api/types/EventDetailResponseData.d.ts +2 -0
- package/dist/api/types/EventResponseData.d.ts +1 -0
- package/dist/api/types/FeatureCompanyResponseData.d.ts +4 -3
- package/dist/api/types/FeatureCompanyUserResponseData.d.ts +2 -2
- package/dist/api/types/FeatureDetailResponseData.d.ts +3 -1
- package/dist/api/types/FeatureEntitlement.d.ts +2 -2
- package/dist/api/types/FeatureInPlanResponseData.d.ts +21 -0
- package/dist/api/types/FeatureResponseData.d.ts +1 -1
- package/dist/api/types/FeatureUsageResponseData.d.ts +4 -3
- package/dist/api/types/FeatureView.d.ts +2 -1
- package/dist/api/types/FlagDetailResponseData.d.ts +2 -1
- package/dist/api/types/FlagInPlanResponseData.d.ts +16 -0
- package/dist/api/types/FlagResponseData.d.ts +1 -1
- package/dist/api/types/FlagView.d.ts +0 -1
- package/dist/api/types/InsightsSummaryResponseData.d.ts +9 -0
- package/dist/api/types/IntegrationCapabilities.d.ts +5 -0
- package/dist/api/types/IntegrationConfig.d.ts +16 -0
- package/dist/api/types/IntegrationResponseData.d.ts +8 -0
- package/dist/api/types/IntegrationState.d.ts +6 -0
- package/dist/api/types/IntegrationType.d.ts +8 -0
- package/dist/api/types/IntegrationWebhookUrlResponseData.d.ts +5 -0
- package/dist/api/types/IntegrationsDataSetResponseData.d.ts +3 -0
- package/dist/api/types/IntegrationsListResponseData.d.ts +10 -0
- package/dist/api/types/IntegrationsResponseData.d.ts +8 -0
- package/dist/api/types/MarkCustomPlanBillingPaidRequestBody.d.ts +1 -0
- package/dist/api/types/{ConditionMetricPeriod.d.ts → MetricPeriod.d.ts} +2 -2
- package/dist/api/types/MetricPeriodMonthReset.d.ts +5 -0
- package/dist/api/types/MigrationErrorCode.d.ts +14 -0
- package/dist/api/types/MrrResponseData.d.ts +4 -0
- package/dist/api/types/OrbIntegrationConfig.d.ts +4 -0
- package/dist/api/types/PlanCreditGrantView.d.ts +2 -0
- package/dist/api/types/PlanCurrencyPriceRequestBody.d.ts +7 -0
- package/dist/api/types/PlanCurrencyPricesResponseData.d.ts +8 -0
- package/dist/api/types/PlanDetailResponseData.d.ts +12 -3
- package/dist/api/types/PlanEntitlementResponseData.d.ts +7 -2
- package/dist/api/types/PlanGroupPlanDetailResponseData.d.ts +13 -4
- package/dist/api/types/PlanGrowthPointResponseData.d.ts +6 -0
- package/dist/api/types/PlanGrowthResponseData.d.ts +4 -0
- package/dist/api/types/PlanIcon.d.ts +28 -0
- package/dist/api/types/PlanPriceCadence.d.ts +6 -0
- package/dist/api/types/PlanResponseData.d.ts +3 -1
- package/dist/api/types/PlanVersionCompanyMigrationResponseData.d.ts +1 -0
- package/dist/api/types/PlanVersionMigrationResponseData.d.ts +1 -0
- package/dist/api/types/PlanVersionResponseData.d.ts +1 -1
- package/dist/api/types/PlanViewPublicResponseData.d.ts +13 -4
- package/dist/api/types/ReleaseCreditLeaseRequestBody.d.ts +1 -0
- package/dist/api/types/Rule.d.ts +1 -1
- package/dist/api/types/RuleConditionDetailResponseData.d.ts +4 -4
- package/dist/api/types/RuleConditionResponseData.d.ts +4 -4
- package/dist/api/types/RuleDetailResponseData.d.ts +1 -1
- package/dist/api/types/RuleResponseData.d.ts +2 -1
- package/dist/api/types/{RuleRuleType.d.ts → RuleType.d.ts} +4 -4
- package/dist/api/types/RuleView.d.ts +1 -1
- package/dist/api/types/RulesEngineSchemaVersion.d.ts +1 -1
- package/dist/api/types/RulesengineCheckFlagResult.d.ts +2 -2
- package/dist/api/types/RulesengineCompanyMetric.d.ts +2 -2
- package/dist/api/types/RulesengineCondition.d.ts +4 -4
- package/dist/api/types/{RulesengineConditionConditionType.d.ts → RulesengineConditionType.d.ts} +2 -2
- package/dist/api/types/RulesengineFeatureEntitlement.d.ts +2 -2
- package/dist/api/types/RulesengineMetricPeriod.d.ts +7 -0
- package/dist/api/types/RulesengineMetricPeriodMonthReset.d.ts +5 -0
- package/dist/api/types/RulesengineRule.d.ts +1 -1
- package/dist/api/types/{RulesengineRuleRuleType.d.ts → RulesengineRuleType.d.ts} +4 -4
- package/dist/api/types/StripeIntegrationConfig.d.ts +14 -0
- package/dist/api/types/TopFeatureByUsageResponseData.d.ts +8 -0
- package/dist/api/types/TopFeaturesByUsageResponseData.d.ts +4 -0
- package/dist/api/types/TrialStatus.d.ts +6 -0
- package/dist/api/types/UpdateAutoTopupOverrideRequestBody.d.ts +6 -0
- package/dist/api/types/UpdateBillingPlanCreditGrantRequestBody.d.ts +2 -0
- package/dist/api/types/UpdateEntitlementReqCommon.d.ts +2 -2
- package/dist/api/types/UpdatePlanRequestBody.d.ts +2 -1
- package/dist/api/types/UpsertBillingProductRequestBody.d.ts +4 -0
- package/dist/api/types/UsageBasedEntitlementRequestBody.d.ts +7 -0
- package/dist/api/types/UsageBasedEntitlementResponseData.d.ts +5 -2
- package/dist/api/types/WebhookUrl.d.ts +5 -0
- package/dist/api/types/WorkOsIntegrationConfig.d.ts +6 -0
- package/dist/api/types/index.d.ts +67 -30
- package/dist/core/auth/AuthProvider.d.ts +1 -0
- package/dist/core/auth/BasicAuth.d.ts +2 -2
- package/dist/core/auth/index.d.ts +1 -1
- package/dist/core/fetcher/Fetcher.d.ts +8 -0
- package/dist/core/schemas/builders/enum/enum.d.ts +1 -0
- package/dist/core/schemas/builders/enum/index.d.ts +1 -1
- package/dist/core/url/QueryStringBuilder.d.ts +47 -0
- package/dist/core/url/index.d.ts +1 -0
- package/dist/core/url/qs.d.ts +2 -1
- package/dist/datastream/merge.d.ts +11 -7
- package/dist/datastream/types.d.ts +1 -0
- package/dist/datastream/websocket-client.d.ts +1 -1
- package/dist/errors/SchematicError.d.ts +3 -1
- package/dist/errors/SchematicTimeoutError.d.ts +4 -1
- package/dist/event-capture.d.ts +28 -0
- package/dist/events.d.ts +3 -3
- package/dist/index.d.ts +2 -1
- package/dist/index.js +3 -3
- package/dist/logger.d.ts +20 -0
- package/dist/rules-engine.d.ts +3 -3
- package/dist/serialization/resources/accounts/types/GetAccountMemberResponse.d.ts +11 -0
- package/dist/serialization/resources/accounts/types/ListAccountMembersParams.d.ts +12 -0
- package/dist/serialization/resources/accounts/types/ListAccountMembersResponse.d.ts +12 -0
- package/dist/serialization/resources/accounts/types/index.d.ts +3 -0
- package/dist/serialization/resources/billing/client/requests/CreateBillingPriceRequestBody.d.ts +2 -0
- package/dist/serialization/resources/billing/client/requests/CreateBillingSubscriptionRequestBody.d.ts +2 -0
- package/dist/serialization/resources/billing/client/requests/CreateMeterRequestBody.d.ts +2 -0
- package/dist/serialization/resources/billing/types/CountBillingProductsParams.d.ts +1 -0
- package/dist/serialization/resources/billing/types/DeletePaymentMethodByExternalIdResponse.d.ts +11 -0
- package/dist/serialization/resources/billing/types/ListBillingPricesParams.d.ts +1 -0
- package/dist/serialization/resources/billing/types/ListBillingProductPricesParams.d.ts +1 -0
- package/dist/serialization/resources/billing/types/ListBillingProductsParams.d.ts +1 -0
- package/dist/serialization/resources/billing/types/index.d.ts +1 -0
- package/dist/serialization/resources/companies/client/requests/index.d.ts +0 -2
- package/dist/serialization/resources/companies/types/CountCompaniesParams.d.ts +2 -0
- package/dist/serialization/resources/companies/types/ListCompaniesParams.d.ts +2 -0
- package/dist/serialization/resources/companies/types/ListPlanChangesParams.d.ts +4 -2
- package/dist/serialization/resources/companies/types/index.d.ts +0 -3
- package/dist/serialization/resources/credits/client/requests/AcquireCreditLeaseRequestBody.d.ts +12 -0
- package/dist/serialization/resources/credits/client/requests/CreateBillingCreditRequestBody.d.ts +2 -0
- package/dist/serialization/resources/credits/client/requests/CreateCompanyCreditGrant.d.ts +1 -0
- package/dist/serialization/resources/credits/client/requests/CreateCreditBundleRequestBody.d.ts +2 -0
- package/dist/serialization/resources/credits/client/requests/ExtendCreditLeaseRequestBody.d.ts +10 -0
- package/dist/serialization/resources/credits/client/requests/UpdateBillingCreditRequestBody.d.ts +2 -0
- package/dist/serialization/resources/credits/client/requests/UpdateCreditBundleDetailsRequestBody.d.ts +2 -0
- package/dist/serialization/resources/credits/client/requests/index.d.ts +2 -0
- package/dist/serialization/resources/credits/types/AcquireCreditLeaseResponse.d.ts +11 -0
- package/dist/serialization/resources/credits/types/CountBillingPlanCreditGrantsParams.d.ts +1 -0
- package/dist/serialization/resources/credits/types/ExtendCreditLeaseResponse.d.ts +11 -0
- package/dist/serialization/resources/credits/types/GetSingleBillingPlanCreditGrantResponse.d.ts +11 -0
- package/dist/serialization/resources/credits/types/ListBillingPlanCreditGrantsParams.d.ts +1 -0
- package/dist/serialization/resources/credits/types/ListCompanyCreditBalancesParams.d.ts +9 -0
- package/dist/serialization/resources/credits/types/ListCompanyCreditBalancesResponse.d.ts +12 -0
- package/dist/serialization/resources/credits/types/ReleaseCreditLeaseResponse.d.ts +11 -0
- package/dist/serialization/resources/credits/types/index.d.ts +6 -0
- package/dist/serialization/resources/entitlements/client/requests/CreateBillingLinkedPlanEntitlementRequestBody.d.ts +51 -0
- package/dist/serialization/resources/entitlements/client/requests/CreateCompanyOverrideRequestBody.d.ts +4 -4
- package/dist/serialization/resources/entitlements/client/requests/CreatePlanEntitlementRequestBody.d.ts +11 -4
- package/dist/serialization/resources/entitlements/client/requests/UpdateCompanyOverrideRequestBody.d.ts +4 -4
- package/dist/serialization/resources/entitlements/client/requests/UpdatePlanEntitlementRequestBody.d.ts +11 -4
- package/dist/serialization/resources/entitlements/client/requests/index.d.ts +1 -0
- package/dist/serialization/resources/entitlements/types/CountFeatureUsageParams.d.ts +2 -0
- package/dist/serialization/resources/entitlements/types/ListFeatureUsageParams.d.ts +2 -0
- package/dist/serialization/resources/entitlements/types/UpsertPlanEntitlementForBillingProductResponse.d.ts +11 -0
- package/dist/serialization/resources/entitlements/types/index.d.ts +1 -8
- package/dist/serialization/resources/events/types/ListEventsParams.d.ts +1 -0
- package/dist/serialization/resources/features/client/requests/CreateBillingLinkedFeatureRequestBody.d.ts +25 -0
- package/dist/serialization/resources/features/client/requests/CreateFeatureRequestBody.d.ts +1 -1
- package/dist/serialization/resources/features/client/requests/UpdateFeatureRequestBody.d.ts +1 -1
- package/dist/serialization/resources/features/client/requests/index.d.ts +1 -0
- package/dist/serialization/resources/features/types/CountFeaturesParams.d.ts +2 -0
- package/dist/serialization/resources/features/types/ListFeaturesParams.d.ts +2 -0
- package/dist/serialization/resources/features/types/UpsertFeatureForBillingProductResponse.d.ts +11 -0
- package/dist/serialization/resources/features/types/index.d.ts +1 -0
- package/dist/serialization/resources/index.d.ts +6 -0
- package/dist/serialization/resources/insights/index.d.ts +1 -0
- package/dist/serialization/resources/insights/types/GetActivityParams.d.ts +9 -0
- package/dist/serialization/resources/insights/types/GetActivityResponse.d.ts +12 -0
- package/dist/serialization/resources/insights/types/GetEnvironmentFeatureUsageTimeSeriesParams.d.ts +13 -0
- package/dist/serialization/resources/insights/types/GetEnvironmentFeatureUsageTimeSeriesResponse.d.ts +12 -0
- package/dist/serialization/resources/insights/types/GetEnvironmentTraitUsageTimeSeriesParams.d.ts +13 -0
- package/dist/serialization/resources/insights/types/GetEnvironmentTraitUsageTimeSeriesResponse.d.ts +12 -0
- package/dist/serialization/resources/insights/types/GetPlanGrowthParams.d.ts +9 -0
- package/dist/serialization/resources/insights/types/GetPlanGrowthResponse.d.ts +12 -0
- package/dist/serialization/resources/insights/types/GetSummaryResponse.d.ts +11 -0
- package/dist/serialization/resources/insights/types/GetTopFeaturesByUsageParams.d.ts +11 -0
- package/dist/serialization/resources/insights/types/GetTopFeaturesByUsageResponse.d.ts +12 -0
- package/dist/serialization/resources/insights/types/index.d.ts +11 -0
- package/dist/serialization/resources/integrationsapi/client/index.d.ts +1 -0
- package/dist/serialization/resources/integrationsapi/client/requests/StartDataImportRequestBody.d.ts +12 -0
- package/dist/serialization/resources/integrationsapi/client/requests/index.d.ts +1 -0
- package/dist/serialization/resources/integrationsapi/index.d.ts +2 -0
- package/dist/serialization/resources/integrationsapi/types/GetIntegrationWebhookUrlResponse.d.ts +11 -0
- package/dist/serialization/resources/integrationsapi/types/ListIntegrationsParams.d.ts +17 -0
- package/dist/serialization/resources/integrationsapi/types/ListIntegrationsResponse.d.ts +12 -0
- package/dist/serialization/resources/integrationsapi/types/LoadSampleDataSetV2Response.d.ts +11 -0
- package/dist/serialization/resources/integrationsapi/types/RunIntegrationResponse.d.ts +11 -0
- package/dist/serialization/resources/integrationsapi/types/StartDataImportResponse.d.ts +11 -0
- package/dist/serialization/resources/{companies/types/DeletePlanTraitResponse.d.ts → integrationsapi/types/UninstallIntegrationResponse.d.ts} +2 -2
- package/dist/serialization/resources/integrationsapi/types/index.d.ts +7 -0
- package/dist/serialization/resources/planbundle/client/requests/CreateCustomPlanBundleRequestBody.d.ts +14 -0
- package/dist/serialization/resources/planbundle/client/requests/index.d.ts +1 -0
- package/dist/serialization/resources/planbundle/types/CreateCustomPlanBundleResponse.d.ts +11 -0
- package/dist/serialization/resources/planbundle/types/index.d.ts +1 -0
- package/dist/serialization/resources/planmigrations/client/index.d.ts +1 -0
- package/dist/serialization/resources/planmigrations/client/requests/CreateMigrationInput.d.ts +17 -0
- package/dist/serialization/resources/planmigrations/client/requests/RetryMigrationRequestBody.d.ts +10 -0
- package/dist/serialization/resources/planmigrations/client/requests/index.d.ts +2 -0
- package/dist/serialization/resources/planmigrations/index.d.ts +1 -0
- package/dist/serialization/resources/planmigrations/types/CreateMigrationResponse.d.ts +11 -0
- package/dist/serialization/resources/planmigrations/types/RetryCompanyMigrationResponse.d.ts +11 -0
- package/dist/serialization/resources/planmigrations/types/RetryMigrationResponse.d.ts +11 -0
- package/dist/serialization/resources/planmigrations/types/index.d.ts +3 -0
- package/dist/serialization/resources/plans/client/requests/CreateBillingLinkedPlanRequestBody.d.ts +18 -0
- package/dist/serialization/resources/plans/client/requests/CreateCustomPlanRequestBody.d.ts +14 -0
- package/dist/serialization/resources/plans/client/requests/PublishPlanVersionRequestBody.d.ts +6 -0
- package/dist/serialization/resources/plans/client/requests/RetryCustomPlanBillingRequestBody.d.ts +14 -0
- package/dist/serialization/resources/plans/client/requests/index.d.ts +3 -0
- package/dist/serialization/resources/plans/types/CountBillingProductMatchCompaniesParams.d.ts +12 -0
- package/dist/serialization/resources/plans/types/CountBillingProductMatchCompaniesResponse.d.ts +12 -0
- package/dist/serialization/resources/plans/types/CountPlansParams.d.ts +4 -0
- package/dist/serialization/resources/plans/types/CreateCustomPlanResponse.d.ts +11 -0
- package/dist/serialization/resources/plans/types/DeletePlanVersionParams.d.ts +9 -0
- package/dist/serialization/resources/plans/types/DeletePlanVersionResponse.d.ts +2 -1
- package/dist/serialization/resources/plans/types/ListBillingProductMatchCompaniesParams.d.ts +12 -0
- package/dist/serialization/resources/plans/types/ListBillingProductMatchCompaniesResponse.d.ts +12 -0
- package/dist/serialization/resources/plans/types/ListCustomPlanBillingsParams.d.ts +15 -0
- package/dist/serialization/resources/plans/types/ListCustomPlanBillingsResponse.d.ts +12 -0
- package/dist/serialization/resources/plans/types/ListPlansParams.d.ts +4 -0
- package/dist/serialization/resources/plans/types/MarkCustomPlanBillingPaidResponse.d.ts +11 -0
- package/dist/serialization/resources/plans/types/RetryCustomPlanBillingResponse.d.ts +11 -0
- package/dist/serialization/resources/plans/types/UpsertPlanForBillingProductResponse.d.ts +11 -0
- package/dist/serialization/resources/plans/types/index.d.ts +11 -0
- package/dist/serialization/types/AccountMemberPermission.d.ts +7 -0
- package/dist/serialization/types/AccountMemberResponseData.d.ts +18 -0
- package/dist/serialization/types/AccountMemberRole.d.ts +7 -0
- package/dist/serialization/types/ActivityEntryResponseData.d.ts +14 -0
- package/dist/serialization/types/ActivityResponseResponseData.d.ts +10 -0
- package/dist/serialization/types/ApiKeyCreateResponseData.d.ts +4 -0
- package/dist/serialization/types/ApiKeyIntegrationResponseData.d.ts +13 -0
- package/dist/serialization/types/ApiKeyResponseData.d.ts +4 -0
- package/dist/serialization/types/AuditLogListResponseData.d.ts +4 -0
- package/dist/serialization/types/AuditLogResponseData.d.ts +4 -0
- package/dist/serialization/types/BillingCreditBundleResponseData.d.ts +3 -0
- package/dist/serialization/types/BillingCreditBundleView.d.ts +2 -0
- package/dist/serialization/types/BillingCreditGrantReason.d.ts +1 -1
- package/dist/serialization/types/BillingCreditGrantResponseData.d.ts +1 -0
- package/dist/serialization/types/BillingCreditResponseData.d.ts +2 -0
- package/dist/serialization/types/BillingCreditView.d.ts +2 -0
- package/dist/serialization/types/BillingLinkedResourceResponseData.d.ts +12 -0
- package/dist/serialization/types/BillingPlanCreditGrantResponseData.d.ts +2 -0
- package/dist/serialization/types/BillingPriceResponseData.d.ts +2 -0
- package/dist/serialization/types/BillingPriceView.d.ts +2 -0
- package/dist/serialization/types/BillingProductForSubscriptionResponseData.d.ts +1 -0
- package/dist/serialization/types/BillingProductPlanResponseData.d.ts +4 -2
- package/dist/serialization/types/BillingProductPriceResponseData.d.ts +2 -0
- package/dist/serialization/types/BillingProviderType.d.ts +1 -1
- package/dist/serialization/types/BillingStrategy.d.ts +7 -0
- package/dist/serialization/types/ChangeSubscriptionInternalRequestBody.d.ts +2 -0
- package/dist/serialization/types/ChangeSubscriptionRequestBody.d.ts +2 -0
- package/dist/serialization/types/ChargeType.d.ts +1 -1
- package/dist/serialization/types/CheckFlagResponseData.d.ts +4 -2
- package/dist/serialization/types/CheckoutSubscription.d.ts +2 -0
- package/dist/serialization/types/ClerkIntegrationConfig.d.ts +10 -0
- package/dist/serialization/types/CompanyCreditBalanceResponseData.d.ts +13 -0
- package/dist/serialization/types/CompanyDetailResponseData.d.ts +2 -0
- package/dist/serialization/types/CompanyEventPeriodMetricsResponseData.d.ts +4 -2
- package/dist/serialization/types/CompanyMatchingCriteria.d.ts +7 -0
- package/dist/serialization/types/CompanyOverrideResponseData.d.ts +4 -2
- package/dist/serialization/types/CompanyPlanCreditGrantView.d.ts +47 -0
- package/dist/serialization/types/CompanyPlanDetailResponseData.d.ts +19 -6
- package/dist/serialization/types/CompanyPlanWithBillingSubView.d.ts +2 -2
- package/dist/serialization/types/CompanySubscriptionResponseData.d.ts +2 -0
- package/dist/serialization/types/ComparableOperator.d.ts +7 -0
- package/dist/serialization/types/Condition.d.ts +8 -8
- package/dist/serialization/types/ConditionResponseData.d.ts +8 -4
- package/dist/serialization/types/{ConditionConditionType.d.ts → ConditionType.d.ts} +2 -2
- package/dist/serialization/types/ConditionView.d.ts +8 -4
- package/dist/serialization/types/CreateBillingPlanCreditGrantRequestBody.d.ts +2 -0
- package/dist/serialization/types/CreateCustomPlanBundlePlanRequestBody.d.ts +13 -0
- package/dist/serialization/types/CreateEntitlementInBundleRequestBody.d.ts +11 -4
- package/dist/serialization/types/CreateEntitlementReqCommon.d.ts +4 -4
- package/dist/serialization/types/CreateEventRequestBody.d.ts +3 -0
- package/dist/serialization/types/CreateFlagRequestBody.d.ts +1 -1
- package/dist/serialization/types/CreateOrUpdateConditionRequestBody.d.ts +8 -8
- package/dist/serialization/types/CreateOrUpdateFlagRequestBody.d.ts +1 -1
- package/dist/serialization/types/CreateOrUpdateRuleRequestBody.d.ts +2 -2
- package/dist/serialization/types/CreatePlanRequestBody.d.ts +2 -1
- package/dist/serialization/types/CreditBundleCurrencyPrice.d.ts +11 -0
- package/dist/serialization/types/CreditBundleCurrencyPriceRequestBody.d.ts +11 -0
- package/dist/serialization/types/CreditBundleCurrencyPriceResponseData.d.ts +11 -0
- package/dist/serialization/types/CreditCompanyGrantView.d.ts +1 -0
- package/dist/serialization/types/CreditCurrencyPrice.d.ts +11 -0
- package/dist/serialization/types/CreditCurrencyPriceRequestBody.d.ts +11 -0
- package/dist/serialization/types/CreditCurrencyPriceResponseData.d.ts +11 -0
- package/dist/serialization/types/CreditLeaseResponseData.d.ts +16 -0
- package/dist/serialization/types/CurrencyPriceRequestBody.d.ts +19 -0
- package/dist/serialization/types/CustomPlanActivationStrategy.d.ts +7 -0
- package/dist/serialization/types/CustomPlanBillingResponseData.d.ts +22 -0
- package/dist/serialization/types/CustomPlanBillingStatus.d.ts +7 -0
- package/dist/serialization/types/DataEventPayload.d.ts +3 -0
- package/dist/serialization/types/DatastreamCompanyPlan.d.ts +2 -0
- package/dist/serialization/types/DuplicatePlanEntitlementsResponseResponseData.d.ts +2 -0
- package/dist/serialization/types/EntitlementCurrencyPricesResponseData.d.ts +13 -0
- package/dist/serialization/types/EnvironmentFeatureUsageTimeSeriesResponseData.d.ts +12 -0
- package/dist/serialization/types/EnvironmentTraitUsageTimeSeriesResponseData.d.ts +12 -0
- package/dist/serialization/types/EnvironmentUsagePointResponseData.d.ts +10 -0
- package/dist/serialization/types/EventBodyTrack.d.ts +1 -0
- package/dist/serialization/types/EventDetailResponseData.d.ts +3 -0
- package/dist/serialization/types/EventResponseData.d.ts +1 -0
- package/dist/serialization/types/FeatureCompanyResponseData.d.ts +7 -4
- package/dist/serialization/types/FeatureCompanyUserResponseData.d.ts +4 -2
- package/dist/serialization/types/FeatureDetailResponseData.d.ts +5 -1
- package/dist/serialization/types/FeatureEntitlement.d.ts +4 -4
- package/dist/serialization/types/FeatureInPlanResponseData.d.ts +33 -0
- package/dist/serialization/types/FeatureResponseData.d.ts +1 -1
- package/dist/serialization/types/FeatureUsageResponseData.d.ts +7 -4
- package/dist/serialization/types/FeatureView.d.ts +3 -1
- package/dist/serialization/types/FlagDetailResponseData.d.ts +3 -1
- package/dist/serialization/types/FlagInPlanResponseData.d.ts +24 -0
- package/dist/serialization/types/FlagResponseData.d.ts +1 -1
- package/dist/serialization/types/FlagView.d.ts +0 -1
- package/dist/serialization/types/InsightsSummaryResponseData.d.ts +15 -0
- package/dist/serialization/types/IntegrationCapabilities.d.ts +11 -0
- package/dist/serialization/types/IntegrationConfig.d.ts +23 -0
- package/dist/serialization/types/IntegrationResponseData.d.ts +15 -0
- package/dist/serialization/types/IntegrationState.d.ts +7 -0
- package/dist/serialization/types/IntegrationType.d.ts +7 -0
- package/dist/serialization/types/IntegrationWebhookUrlResponseData.d.ts +11 -0
- package/dist/serialization/types/IntegrationsDataSetResponseData.d.ts +9 -0
- package/dist/serialization/types/IntegrationsListResponseData.d.ts +19 -0
- package/dist/serialization/types/IntegrationsResponseData.d.ts +15 -0
- package/dist/serialization/types/MarkCustomPlanBillingPaidRequestBody.d.ts +7 -0
- package/dist/serialization/types/{ConditionMetricPeriod.d.ts → MetricPeriod.d.ts} +2 -2
- package/dist/serialization/types/MetricPeriodMonthReset.d.ts +7 -0
- package/dist/serialization/types/MigrationErrorCode.d.ts +7 -0
- package/dist/serialization/types/MrrResponseData.d.ts +10 -0
- package/dist/serialization/types/OrbIntegrationConfig.d.ts +9 -0
- package/dist/serialization/types/PlanCreditGrantView.d.ts +2 -0
- package/dist/serialization/types/PlanCurrencyPriceRequestBody.d.ts +13 -0
- package/dist/serialization/types/PlanCurrencyPricesResponseData.d.ts +14 -0
- package/dist/serialization/types/PlanDetailResponseData.d.ts +18 -5
- package/dist/serialization/types/PlanEntitlementResponseData.d.ts +10 -2
- package/dist/serialization/types/PlanGroupPlanDetailResponseData.d.ts +19 -6
- package/dist/serialization/types/PlanGrowthPointResponseData.d.ts +12 -0
- package/dist/serialization/types/PlanGrowthResponseData.d.ts +10 -0
- package/dist/serialization/types/PlanIcon.d.ts +7 -0
- package/dist/serialization/types/PlanPriceCadence.d.ts +7 -0
- package/dist/serialization/types/PlanResponseData.d.ts +4 -1
- package/dist/serialization/types/PlanVersionCompanyMigrationResponseData.d.ts +2 -0
- package/dist/serialization/types/PlanVersionMigrationResponseData.d.ts +1 -0
- package/dist/serialization/types/PlanVersionResponseData.d.ts +2 -1
- package/dist/serialization/types/PlanViewPublicResponseData.d.ts +19 -6
- package/dist/serialization/types/ReleaseCreditLeaseRequestBody.d.ts +7 -0
- package/dist/serialization/types/Rule.d.ts +2 -2
- package/dist/serialization/types/RuleConditionDetailResponseData.d.ts +8 -4
- package/dist/serialization/types/RuleConditionResponseData.d.ts +8 -4
- package/dist/serialization/types/RuleDetailResponseData.d.ts +2 -1
- package/dist/serialization/types/RuleResponseData.d.ts +2 -1
- package/dist/serialization/types/RuleType.d.ts +7 -0
- package/dist/serialization/types/RuleView.d.ts +2 -1
- package/dist/serialization/types/RulesEngineSchemaVersion.d.ts +1 -1
- package/dist/serialization/types/RulesengineCheckFlagResult.d.ts +4 -4
- package/dist/serialization/types/RulesengineCompanyMetric.d.ts +4 -4
- package/dist/serialization/types/RulesengineCondition.d.ts +8 -8
- package/dist/serialization/types/{RulesengineConditionConditionType.d.ts → RulesengineConditionType.d.ts} +2 -2
- package/dist/serialization/types/RulesengineFeatureEntitlement.d.ts +4 -4
- package/dist/serialization/types/RulesengineMetricPeriod.d.ts +7 -0
- package/dist/serialization/types/RulesengineMetricPeriodMonthReset.d.ts +7 -0
- package/dist/serialization/types/RulesengineRule.d.ts +2 -2
- package/dist/serialization/types/RulesengineRuleType.d.ts +7 -0
- package/dist/serialization/types/StripeIntegrationConfig.d.ts +14 -0
- package/dist/serialization/types/TopFeatureByUsageResponseData.d.ts +14 -0
- package/dist/serialization/types/TopFeaturesByUsageResponseData.d.ts +10 -0
- package/dist/serialization/types/TrialStatus.d.ts +7 -0
- package/dist/serialization/types/UpdateAutoTopupOverrideRequestBody.d.ts +12 -0
- package/dist/serialization/types/UpdateBillingPlanCreditGrantRequestBody.d.ts +2 -0
- package/dist/serialization/types/UpdateEntitlementReqCommon.d.ts +4 -4
- package/dist/serialization/types/UpdatePlanRequestBody.d.ts +2 -1
- package/dist/serialization/types/UpsertBillingProductRequestBody.d.ts +6 -0
- package/dist/serialization/types/UsageBasedEntitlementRequestBody.d.ts +7 -0
- package/dist/serialization/types/UsageBasedEntitlementResponseData.d.ts +6 -2
- package/dist/serialization/types/WebhookUrl.d.ts +11 -0
- package/dist/serialization/types/WorkOsIntegrationConfig.d.ts +10 -0
- package/dist/serialization/types/index.d.ts +67 -30
- package/dist/version.d.ts +2 -0
- package/dist/wasm/rulesengine.d.ts +1 -0
- package/dist/wasm/rulesengine.js +41 -9
- package/dist/wasm/rulesengine_bg.wasm +0 -0
- package/dist/wasm/rulesengine_bg.wasm.d.ts +1 -0
- package/dist/wrapper.d.ts +40 -5
- package/package.json +9 -9
- package/dist/api/resources/companies/client/requests/CreatePlanTraitRequestBody.d.ts +0 -13
- package/dist/api/resources/companies/client/requests/UpdatePlanTraitRequestBody.d.ts +0 -11
- package/dist/api/resources/entitlements/types/CreateCompanyOverrideRequestBodyMetricPeriod.d.ts +0 -7
- package/dist/api/resources/entitlements/types/CreateCompanyOverrideRequestBodyMetricPeriodMonthReset.d.ts +0 -5
- package/dist/api/resources/entitlements/types/CreatePlanEntitlementRequestBodyMetricPeriod.d.ts +0 -7
- package/dist/api/resources/entitlements/types/CreatePlanEntitlementRequestBodyMetricPeriodMonthReset.d.ts +0 -5
- package/dist/api/resources/entitlements/types/UpdateCompanyOverrideRequestBodyMetricPeriod.d.ts +0 -7
- package/dist/api/resources/entitlements/types/UpdateCompanyOverrideRequestBodyMetricPeriodMonthReset.d.ts +0 -5
- package/dist/api/resources/entitlements/types/UpdatePlanEntitlementRequestBodyMetricPeriod.d.ts +0 -7
- package/dist/api/resources/entitlements/types/UpdatePlanEntitlementRequestBodyMetricPeriodMonthReset.d.ts +0 -5
- package/dist/api/types/ConditionMetricPeriodMonthReset.d.ts +0 -5
- package/dist/api/types/CreateEntitlementInBundleRequestBodyMetricPeriod.d.ts +0 -7
- package/dist/api/types/CreateEntitlementInBundleRequestBodyMetricPeriodMonthReset.d.ts +0 -5
- package/dist/api/types/CreateEntitlementReqCommonMetricPeriod.d.ts +0 -7
- package/dist/api/types/CreateEntitlementReqCommonMetricPeriodMonthReset.d.ts +0 -5
- package/dist/api/types/CreateOrUpdateConditionRequestBodyConditionType.d.ts +0 -10
- package/dist/api/types/CreateOrUpdateConditionRequestBodyMetricPeriod.d.ts +0 -8
- package/dist/api/types/CreateOrUpdateConditionRequestBodyMetricPeriodMonthReset.d.ts +0 -6
- package/dist/api/types/CreateOrUpdateConditionRequestBodyOperator.d.ts +0 -11
- package/dist/api/types/CreateOrUpdateRuleRequestBodyRuleType.d.ts +0 -8
- package/dist/api/types/FeatureEntitlementMetricPeriod.d.ts +0 -8
- package/dist/api/types/FeatureEntitlementMonthReset.d.ts +0 -6
- package/dist/api/types/PlanControlledByType.d.ts +0 -5
- package/dist/api/types/RulesengineCheckFlagResultFeatureUsagePeriod.d.ts +0 -7
- package/dist/api/types/RulesengineCheckFlagResultRuleType.d.ts +0 -10
- package/dist/api/types/RulesengineCompanyMetricMonthReset.d.ts +0 -5
- package/dist/api/types/RulesengineCompanyMetricPeriod.d.ts +0 -7
- package/dist/api/types/RulesengineConditionMetricPeriod.d.ts +0 -7
- package/dist/api/types/RulesengineConditionMetricPeriodMonthReset.d.ts +0 -5
- package/dist/api/types/RulesengineConditionOperator.d.ts +0 -11
- package/dist/api/types/RulesengineFeatureEntitlementMetricPeriod.d.ts +0 -8
- package/dist/api/types/RulesengineFeatureEntitlementMonthReset.d.ts +0 -6
- package/dist/api/types/UpdateEntitlementReqCommonMetricPeriod.d.ts +0 -7
- package/dist/api/types/UpdateEntitlementReqCommonMetricPeriodMonthReset.d.ts +0 -5
- package/dist/serialization/resources/companies/client/requests/CreatePlanTraitRequestBody.d.ts +0 -11
- package/dist/serialization/resources/companies/client/requests/UpdatePlanTraitRequestBody.d.ts +0 -10
- package/dist/serialization/resources/companies/types/CreatePlanTraitResponse.d.ts +0 -11
- package/dist/serialization/resources/companies/types/UpdatePlanTraitResponse.d.ts +0 -11
- package/dist/serialization/resources/entitlements/types/CreateCompanyOverrideRequestBodyMetricPeriod.d.ts +0 -7
- package/dist/serialization/resources/entitlements/types/CreateCompanyOverrideRequestBodyMetricPeriodMonthReset.d.ts +0 -7
- package/dist/serialization/resources/entitlements/types/CreatePlanEntitlementRequestBodyMetricPeriod.d.ts +0 -7
- package/dist/serialization/resources/entitlements/types/CreatePlanEntitlementRequestBodyMetricPeriodMonthReset.d.ts +0 -7
- package/dist/serialization/resources/entitlements/types/UpdateCompanyOverrideRequestBodyMetricPeriod.d.ts +0 -7
- package/dist/serialization/resources/entitlements/types/UpdateCompanyOverrideRequestBodyMetricPeriodMonthReset.d.ts +0 -7
- package/dist/serialization/resources/entitlements/types/UpdatePlanEntitlementRequestBodyMetricPeriod.d.ts +0 -7
- package/dist/serialization/resources/entitlements/types/UpdatePlanEntitlementRequestBodyMetricPeriodMonthReset.d.ts +0 -7
- package/dist/serialization/types/ConditionMetricPeriodMonthReset.d.ts +0 -7
- package/dist/serialization/types/ConditionOperator.d.ts +0 -7
- package/dist/serialization/types/CreateEntitlementInBundleRequestBodyMetricPeriod.d.ts +0 -7
- package/dist/serialization/types/CreateEntitlementInBundleRequestBodyMetricPeriodMonthReset.d.ts +0 -7
- package/dist/serialization/types/CreateEntitlementReqCommonMetricPeriod.d.ts +0 -7
- package/dist/serialization/types/CreateEntitlementReqCommonMetricPeriodMonthReset.d.ts +0 -7
- package/dist/serialization/types/CreateOrUpdateConditionRequestBodyConditionType.d.ts +0 -7
- package/dist/serialization/types/CreateOrUpdateConditionRequestBodyMetricPeriod.d.ts +0 -7
- package/dist/serialization/types/CreateOrUpdateConditionRequestBodyMetricPeriodMonthReset.d.ts +0 -7
- package/dist/serialization/types/CreateOrUpdateConditionRequestBodyOperator.d.ts +0 -7
- package/dist/serialization/types/CreateOrUpdateRuleRequestBodyRuleType.d.ts +0 -7
- package/dist/serialization/types/FeatureEntitlementMetricPeriod.d.ts +0 -7
- package/dist/serialization/types/FeatureEntitlementMonthReset.d.ts +0 -7
- package/dist/serialization/types/PlanControlledByType.d.ts +0 -7
- package/dist/serialization/types/RuleRuleType.d.ts +0 -7
- package/dist/serialization/types/RulesengineCheckFlagResultFeatureUsagePeriod.d.ts +0 -7
- package/dist/serialization/types/RulesengineCheckFlagResultRuleType.d.ts +0 -7
- package/dist/serialization/types/RulesengineCompanyMetricMonthReset.d.ts +0 -7
- package/dist/serialization/types/RulesengineCompanyMetricPeriod.d.ts +0 -7
- package/dist/serialization/types/RulesengineConditionMetricPeriod.d.ts +0 -7
- package/dist/serialization/types/RulesengineConditionMetricPeriodMonthReset.d.ts +0 -7
- package/dist/serialization/types/RulesengineConditionOperator.d.ts +0 -7
- package/dist/serialization/types/RulesengineFeatureEntitlementMetricPeriod.d.ts +0 -7
- package/dist/serialization/types/RulesengineFeatureEntitlementMonthReset.d.ts +0 -7
- package/dist/serialization/types/RulesengineRuleRuleType.d.ts +0 -7
- package/dist/serialization/types/UpdateEntitlementReqCommonMetricPeriod.d.ts +0 -7
- package/dist/serialization/types/UpdateEntitlementReqCommonMetricPeriodMonthReset.d.ts +0 -7
|
@@ -31,6 +31,21 @@ export declare class PlanmigrationsClient {
|
|
|
31
31
|
*/
|
|
32
32
|
listCompanyMigrations(request?: Schematic.ListCompanyMigrationsRequest, requestOptions?: PlanmigrationsClient.RequestOptions): core.HttpResponsePromise<Schematic.ListCompanyMigrationsResponse>;
|
|
33
33
|
private __listCompanyMigrations;
|
|
34
|
+
/**
|
|
35
|
+
* @param {string} plan_version_company_migration_id - plan_version_company_migration_id
|
|
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.retryCompanyMigration("plan_version_company_migration_id")
|
|
46
|
+
*/
|
|
47
|
+
retryCompanyMigration(plan_version_company_migration_id: string, requestOptions?: PlanmigrationsClient.RequestOptions): core.HttpResponsePromise<Schematic.RetryCompanyMigrationResponse>;
|
|
48
|
+
private __retryCompanyMigration;
|
|
34
49
|
/**
|
|
35
50
|
* @param {Schematic.CountCompanyMigrationsRequest} request
|
|
36
51
|
* @param {PlanmigrationsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -72,6 +87,29 @@ export declare class PlanmigrationsClient {
|
|
|
72
87
|
*/
|
|
73
88
|
listMigrations(request?: Schematic.ListMigrationsRequest, requestOptions?: PlanmigrationsClient.RequestOptions): core.HttpResponsePromise<Schematic.ListMigrationsResponse>;
|
|
74
89
|
private __listMigrations;
|
|
90
|
+
/**
|
|
91
|
+
* @param {Schematic.CreateMigrationInput} request
|
|
92
|
+
* @param {PlanmigrationsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
93
|
+
*
|
|
94
|
+
* @throws {@link Schematic.BadRequestError}
|
|
95
|
+
* @throws {@link Schematic.UnauthorizedError}
|
|
96
|
+
* @throws {@link Schematic.ForbiddenError}
|
|
97
|
+
* @throws {@link Schematic.NotFoundError}
|
|
98
|
+
* @throws {@link Schematic.InternalServerError}
|
|
99
|
+
*
|
|
100
|
+
* @example
|
|
101
|
+
* await client.planmigrations.createMigration({
|
|
102
|
+
* companyIds: ["company_ids"],
|
|
103
|
+
* excludedCompanyIds: ["excluded_company_ids"],
|
|
104
|
+
* planId: "plan_id",
|
|
105
|
+
* planVersionIdTo: "plan_version_id_to",
|
|
106
|
+
* planVersionIdsFrom: ["plan_version_ids_from"],
|
|
107
|
+
* strategy: "immediate",
|
|
108
|
+
* targetPlanType: "plan"
|
|
109
|
+
* })
|
|
110
|
+
*/
|
|
111
|
+
createMigration(request: Schematic.CreateMigrationInput, requestOptions?: PlanmigrationsClient.RequestOptions): core.HttpResponsePromise<Schematic.CreateMigrationResponse>;
|
|
112
|
+
private __createMigration;
|
|
75
113
|
/**
|
|
76
114
|
* @param {string} plan_version_migration_id - plan_version_migration_id
|
|
77
115
|
* @param {PlanmigrationsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -86,6 +124,24 @@ export declare class PlanmigrationsClient {
|
|
|
86
124
|
*/
|
|
87
125
|
getMigration(plan_version_migration_id: string, requestOptions?: PlanmigrationsClient.RequestOptions): core.HttpResponsePromise<Schematic.GetMigrationResponse>;
|
|
88
126
|
private __getMigration;
|
|
127
|
+
/**
|
|
128
|
+
* @param {string} plan_version_migration_id - plan_version_migration_id
|
|
129
|
+
* @param {Schematic.RetryMigrationRequestBody} request
|
|
130
|
+
* @param {PlanmigrationsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
131
|
+
*
|
|
132
|
+
* @throws {@link Schematic.BadRequestError}
|
|
133
|
+
* @throws {@link Schematic.UnauthorizedError}
|
|
134
|
+
* @throws {@link Schematic.ForbiddenError}
|
|
135
|
+
* @throws {@link Schematic.NotFoundError}
|
|
136
|
+
* @throws {@link Schematic.InternalServerError}
|
|
137
|
+
*
|
|
138
|
+
* @example
|
|
139
|
+
* await client.planmigrations.retryMigration("plan_version_migration_id", {
|
|
140
|
+
* errorCodes: ["ambiguous_subscription_item"]
|
|
141
|
+
* })
|
|
142
|
+
*/
|
|
143
|
+
retryMigration(plan_version_migration_id: string, request: Schematic.RetryMigrationRequestBody, requestOptions?: PlanmigrationsClient.RequestOptions): core.HttpResponsePromise<Schematic.RetryMigrationResponse>;
|
|
144
|
+
private __retryMigration;
|
|
89
145
|
/**
|
|
90
146
|
* @param {Schematic.CountMigrationsRequest} request
|
|
91
147
|
* @param {PlanmigrationsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import type * as Schematic from "../../../../index";
|
|
2
|
+
/**
|
|
3
|
+
* @example
|
|
4
|
+
* {
|
|
5
|
+
* companyIds: ["company_ids"],
|
|
6
|
+
* excludedCompanyIds: ["excluded_company_ids"],
|
|
7
|
+
* planId: "plan_id",
|
|
8
|
+
* planVersionIdTo: "plan_version_id_to",
|
|
9
|
+
* planVersionIdsFrom: ["plan_version_ids_from"],
|
|
10
|
+
* strategy: "immediate",
|
|
11
|
+
* targetPlanType: "plan"
|
|
12
|
+
* }
|
|
13
|
+
*/
|
|
14
|
+
export interface CreateMigrationInput {
|
|
15
|
+
companyIds: string[];
|
|
16
|
+
excludedCompanyIds: string[];
|
|
17
|
+
planId: string;
|
|
18
|
+
planVersionIdTo: string;
|
|
19
|
+
planVersionIdsFrom: string[];
|
|
20
|
+
strategy: Schematic.PlanVersionMigrationStrategy;
|
|
21
|
+
targetPlanType: Schematic.PlanType;
|
|
22
|
+
}
|
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
export type { CountCompanyMigrationsRequest } from "./CountCompanyMigrationsRequest";
|
|
2
2
|
export type { CountMigrationsRequest } from "./CountMigrationsRequest";
|
|
3
|
+
export type { CreateMigrationInput } from "./CreateMigrationInput";
|
|
3
4
|
export type { ListCompanyMigrationsRequest } from "./ListCompanyMigrationsRequest";
|
|
4
5
|
export type { ListMigrationsRequest } from "./ListMigrationsRequest";
|
|
6
|
+
export type { RetryMigrationRequestBody } from "./RetryMigrationRequestBody";
|
|
@@ -2,8 +2,11 @@ export * from "./CountCompanyMigrationsParams";
|
|
|
2
2
|
export * from "./CountCompanyMigrationsResponse";
|
|
3
3
|
export * from "./CountMigrationsParams";
|
|
4
4
|
export * from "./CountMigrationsResponse";
|
|
5
|
+
export * from "./CreateMigrationResponse";
|
|
5
6
|
export * from "./GetMigrationResponse";
|
|
6
7
|
export * from "./ListCompanyMigrationsParams";
|
|
7
8
|
export * from "./ListCompanyMigrationsResponse";
|
|
8
9
|
export * from "./ListMigrationsParams";
|
|
9
10
|
export * from "./ListMigrationsResponse";
|
|
11
|
+
export * from "./RetryCompanyMigrationResponse";
|
|
12
|
+
export * from "./RetryMigrationResponse";
|
|
@@ -28,6 +28,87 @@ export declare class PlansClient {
|
|
|
28
28
|
*/
|
|
29
29
|
updateCompanyPlans(company_plan_id: string, request: Schematic.UpdateCompanyPlansRequestBody, requestOptions?: PlansClient.RequestOptions): core.HttpResponsePromise<Schematic.UpdateCompanyPlansResponse>;
|
|
30
30
|
private __updateCompanyPlans;
|
|
31
|
+
/**
|
|
32
|
+
* @param {Schematic.ListCustomPlanBillingsRequest} request
|
|
33
|
+
* @param {PlansClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
34
|
+
*
|
|
35
|
+
* @throws {@link Schematic.BadRequestError}
|
|
36
|
+
* @throws {@link Schematic.UnauthorizedError}
|
|
37
|
+
* @throws {@link Schematic.ForbiddenError}
|
|
38
|
+
* @throws {@link Schematic.NotFoundError}
|
|
39
|
+
* @throws {@link Schematic.InternalServerError}
|
|
40
|
+
*
|
|
41
|
+
* @example
|
|
42
|
+
* await client.plans.listCustomPlanBillings({
|
|
43
|
+
* companyId: "company_id",
|
|
44
|
+
* planId: "plan_id",
|
|
45
|
+
* status: "active",
|
|
46
|
+
* statuses: ["active"],
|
|
47
|
+
* limit: 1000000,
|
|
48
|
+
* offset: 1000000
|
|
49
|
+
* })
|
|
50
|
+
*/
|
|
51
|
+
listCustomPlanBillings(request?: Schematic.ListCustomPlanBillingsRequest, requestOptions?: PlansClient.RequestOptions): core.HttpResponsePromise<Schematic.ListCustomPlanBillingsResponse>;
|
|
52
|
+
private __listCustomPlanBillings;
|
|
53
|
+
/**
|
|
54
|
+
* @param {string} custom_plan_billing_id - custom_plan_billing_id
|
|
55
|
+
* @param {Schematic.MarkCustomPlanBillingPaidRequestBody} request
|
|
56
|
+
* @param {PlansClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
57
|
+
*
|
|
58
|
+
* @throws {@link Schematic.BadRequestError}
|
|
59
|
+
* @throws {@link Schematic.UnauthorizedError}
|
|
60
|
+
* @throws {@link Schematic.ForbiddenError}
|
|
61
|
+
* @throws {@link Schematic.NotFoundError}
|
|
62
|
+
* @throws {@link Schematic.InternalServerError}
|
|
63
|
+
*
|
|
64
|
+
* @example
|
|
65
|
+
* await client.plans.markCustomPlanBillingPaid("custom_plan_billing_id", {
|
|
66
|
+
* "key": "value"
|
|
67
|
+
* })
|
|
68
|
+
*/
|
|
69
|
+
markCustomPlanBillingPaid(custom_plan_billing_id: string, request: Schematic.MarkCustomPlanBillingPaidRequestBody, requestOptions?: PlansClient.RequestOptions): core.HttpResponsePromise<Schematic.MarkCustomPlanBillingPaidResponse>;
|
|
70
|
+
private __markCustomPlanBillingPaid;
|
|
71
|
+
/**
|
|
72
|
+
* @param {string} custom_plan_billing_id - custom_plan_billing_id
|
|
73
|
+
* @param {Schematic.RetryCustomPlanBillingRequestBody} request
|
|
74
|
+
* @param {PlansClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
75
|
+
*
|
|
76
|
+
* @throws {@link Schematic.BadRequestError}
|
|
77
|
+
* @throws {@link Schematic.UnauthorizedError}
|
|
78
|
+
* @throws {@link Schematic.ForbiddenError}
|
|
79
|
+
* @throws {@link Schematic.NotFoundError}
|
|
80
|
+
* @throws {@link Schematic.InternalServerError}
|
|
81
|
+
*
|
|
82
|
+
* @example
|
|
83
|
+
* await client.plans.retryCustomPlanBilling("custom_plan_billing_id", {
|
|
84
|
+
* customerEmail: "customer_email",
|
|
85
|
+
* payInAdvance: [{
|
|
86
|
+
* priceId: "price_id",
|
|
87
|
+
* quantity: 1000000
|
|
88
|
+
* }]
|
|
89
|
+
* })
|
|
90
|
+
*/
|
|
91
|
+
retryCustomPlanBilling(custom_plan_billing_id: string, request: Schematic.RetryCustomPlanBillingRequestBody, requestOptions?: PlansClient.RequestOptions): core.HttpResponsePromise<Schematic.RetryCustomPlanBillingResponse>;
|
|
92
|
+
private __retryCustomPlanBilling;
|
|
93
|
+
/**
|
|
94
|
+
* @param {Schematic.CreateCustomPlanRequestBody} request
|
|
95
|
+
* @param {PlansClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
96
|
+
*
|
|
97
|
+
* @throws {@link Schematic.BadRequestError}
|
|
98
|
+
* @throws {@link Schematic.UnauthorizedError}
|
|
99
|
+
* @throws {@link Schematic.ForbiddenError}
|
|
100
|
+
* @throws {@link Schematic.NotFoundError}
|
|
101
|
+
* @throws {@link Schematic.InternalServerError}
|
|
102
|
+
*
|
|
103
|
+
* @example
|
|
104
|
+
* await client.plans.createCustomPlan({
|
|
105
|
+
* companyId: "company_id",
|
|
106
|
+
* description: "description",
|
|
107
|
+
* name: "name"
|
|
108
|
+
* })
|
|
109
|
+
*/
|
|
110
|
+
createCustomPlan(request: Schematic.CreateCustomPlanRequestBody, requestOptions?: PlansClient.RequestOptions): core.HttpResponsePromise<Schematic.CreateCustomPlanResponse>;
|
|
111
|
+
private __createCustomPlan;
|
|
31
112
|
/**
|
|
32
113
|
* @param {Schematic.ListPlansRequest} request
|
|
33
114
|
* @param {PlansClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -41,13 +122,18 @@ export declare class PlansClient {
|
|
|
41
122
|
* @example
|
|
42
123
|
* await client.plans.listPlans({
|
|
43
124
|
* companyId: "company_id",
|
|
125
|
+
* companyScopedOnly: true,
|
|
126
|
+
* excludeCompanyScoped: true,
|
|
44
127
|
* forFallbackPlan: true,
|
|
45
128
|
* forInitialPlan: true,
|
|
46
129
|
* forTrialExpiryPlan: true,
|
|
47
130
|
* hasProductId: true,
|
|
131
|
+
* ids: ["ids"],
|
|
48
132
|
* includeDraftVersions: true,
|
|
49
133
|
* planType: "plan",
|
|
50
134
|
* q: "q",
|
|
135
|
+
* scopedToCompanyId: "scoped_to_company_id",
|
|
136
|
+
* withEntitlements: true,
|
|
51
137
|
* withoutEntitlementFor: "without_entitlement_for",
|
|
52
138
|
* withoutPaidProductId: true,
|
|
53
139
|
* limit: 1000000,
|
|
@@ -144,6 +230,67 @@ export declare class PlansClient {
|
|
|
144
230
|
*/
|
|
145
231
|
upsertBillingProductPlan(plan_id: string, request: Schematic.UpsertBillingProductRequestBody, requestOptions?: PlansClient.RequestOptions): core.HttpResponsePromise<Schematic.UpsertBillingProductPlanResponse>;
|
|
146
232
|
private __upsertBillingProductPlan;
|
|
233
|
+
/**
|
|
234
|
+
* @param {Schematic.CreateBillingLinkedPlanRequestBody} request
|
|
235
|
+
* @param {PlansClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
236
|
+
*
|
|
237
|
+
* @throws {@link Schematic.BadRequestError}
|
|
238
|
+
* @throws {@link Schematic.UnauthorizedError}
|
|
239
|
+
* @throws {@link Schematic.ForbiddenError}
|
|
240
|
+
* @throws {@link Schematic.NotFoundError}
|
|
241
|
+
* @throws {@link Schematic.InternalServerError}
|
|
242
|
+
*
|
|
243
|
+
* @example
|
|
244
|
+
* await client.plans.upsertPlanForBillingProduct({
|
|
245
|
+
* billingProvider: "orb",
|
|
246
|
+
* description: "description",
|
|
247
|
+
* externalResourceId: "external_resource_id",
|
|
248
|
+
* name: "name",
|
|
249
|
+
* planType: "plan"
|
|
250
|
+
* })
|
|
251
|
+
*/
|
|
252
|
+
upsertPlanForBillingProduct(request: Schematic.CreateBillingLinkedPlanRequestBody, requestOptions?: PlansClient.RequestOptions): core.HttpResponsePromise<Schematic.UpsertPlanForBillingProductResponse>;
|
|
253
|
+
private __upsertPlanForBillingProduct;
|
|
254
|
+
/**
|
|
255
|
+
* @param {Schematic.ListBillingProductMatchCompaniesRequest} request
|
|
256
|
+
* @param {PlansClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
257
|
+
*
|
|
258
|
+
* @throws {@link Schematic.BadRequestError}
|
|
259
|
+
* @throws {@link Schematic.UnauthorizedError}
|
|
260
|
+
* @throws {@link Schematic.ForbiddenError}
|
|
261
|
+
* @throws {@link Schematic.NotFoundError}
|
|
262
|
+
* @throws {@link Schematic.InternalServerError}
|
|
263
|
+
*
|
|
264
|
+
* @example
|
|
265
|
+
* await client.plans.listBillingProductMatchCompanies({
|
|
266
|
+
* planId: "plan_id",
|
|
267
|
+
* q: "q",
|
|
268
|
+
* limit: 1000000,
|
|
269
|
+
* offset: 1000000
|
|
270
|
+
* })
|
|
271
|
+
*/
|
|
272
|
+
listBillingProductMatchCompanies(request: Schematic.ListBillingProductMatchCompaniesRequest, requestOptions?: PlansClient.RequestOptions): core.HttpResponsePromise<Schematic.ListBillingProductMatchCompaniesResponse>;
|
|
273
|
+
private __listBillingProductMatchCompanies;
|
|
274
|
+
/**
|
|
275
|
+
* @param {Schematic.CountBillingProductMatchCompaniesRequest} request
|
|
276
|
+
* @param {PlansClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
277
|
+
*
|
|
278
|
+
* @throws {@link Schematic.BadRequestError}
|
|
279
|
+
* @throws {@link Schematic.UnauthorizedError}
|
|
280
|
+
* @throws {@link Schematic.ForbiddenError}
|
|
281
|
+
* @throws {@link Schematic.NotFoundError}
|
|
282
|
+
* @throws {@link Schematic.InternalServerError}
|
|
283
|
+
*
|
|
284
|
+
* @example
|
|
285
|
+
* await client.plans.countBillingProductMatchCompanies({
|
|
286
|
+
* planId: "plan_id",
|
|
287
|
+
* q: "q",
|
|
288
|
+
* limit: 1000000,
|
|
289
|
+
* offset: 1000000
|
|
290
|
+
* })
|
|
291
|
+
*/
|
|
292
|
+
countBillingProductMatchCompanies(request: Schematic.CountBillingProductMatchCompaniesRequest, requestOptions?: PlansClient.RequestOptions): core.HttpResponsePromise<Schematic.CountBillingProductMatchCompaniesResponse>;
|
|
293
|
+
private __countBillingProductMatchCompanies;
|
|
147
294
|
/**
|
|
148
295
|
* @param {Schematic.CountPlansRequest} request
|
|
149
296
|
* @param {PlansClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -157,13 +304,18 @@ export declare class PlansClient {
|
|
|
157
304
|
* @example
|
|
158
305
|
* await client.plans.countPlans({
|
|
159
306
|
* companyId: "company_id",
|
|
307
|
+
* companyScopedOnly: true,
|
|
308
|
+
* excludeCompanyScoped: true,
|
|
160
309
|
* forFallbackPlan: true,
|
|
161
310
|
* forInitialPlan: true,
|
|
162
311
|
* forTrialExpiryPlan: true,
|
|
163
312
|
* hasProductId: true,
|
|
313
|
+
* ids: ["ids"],
|
|
164
314
|
* includeDraftVersions: true,
|
|
165
315
|
* planType: "plan",
|
|
166
316
|
* q: "q",
|
|
317
|
+
* scopedToCompanyId: "scoped_to_company_id",
|
|
318
|
+
* withEntitlements: true,
|
|
167
319
|
* withoutEntitlementFor: "without_entitlement_for",
|
|
168
320
|
* withoutPaidProductId: true,
|
|
169
321
|
* limit: 1000000,
|
|
@@ -192,6 +344,7 @@ export declare class PlansClient {
|
|
|
192
344
|
private __listPlanIssues;
|
|
193
345
|
/**
|
|
194
346
|
* @param {string} plan_id - plan_id
|
|
347
|
+
* @param {Schematic.DeletePlanVersionRequest} request
|
|
195
348
|
* @param {PlansClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
196
349
|
*
|
|
197
350
|
* @throws {@link Schematic.BadRequestError}
|
|
@@ -201,9 +354,11 @@ export declare class PlansClient {
|
|
|
201
354
|
* @throws {@link Schematic.InternalServerError}
|
|
202
355
|
*
|
|
203
356
|
* @example
|
|
204
|
-
* await client.plans.deletePlanVersion("plan_id"
|
|
357
|
+
* await client.plans.deletePlanVersion("plan_id", {
|
|
358
|
+
* promoteArchivedVersion: true
|
|
359
|
+
* })
|
|
205
360
|
*/
|
|
206
|
-
deletePlanVersion(plan_id: string, requestOptions?: PlansClient.RequestOptions): core.HttpResponsePromise<Schematic.DeletePlanVersionResponse>;
|
|
361
|
+
deletePlanVersion(plan_id: string, request?: Schematic.DeletePlanVersionRequest, requestOptions?: PlansClient.RequestOptions): core.HttpResponsePromise<Schematic.DeletePlanVersionResponse>;
|
|
207
362
|
private __deletePlanVersion;
|
|
208
363
|
/**
|
|
209
364
|
* @param {string} plan_id - plan_id
|
|
@@ -219,7 +374,11 @@ export declare class PlansClient {
|
|
|
219
374
|
* @example
|
|
220
375
|
* await client.plans.publishPlanVersion("plan_id", {
|
|
221
376
|
* excludedCompanyIds: ["excluded_company_ids"],
|
|
222
|
-
* migrationStrategy: "immediate"
|
|
377
|
+
* migrationStrategy: "immediate",
|
|
378
|
+
* payInAdvance: [{
|
|
379
|
+
* priceId: "price_id",
|
|
380
|
+
* quantity: 1000000
|
|
381
|
+
* }]
|
|
223
382
|
* })
|
|
224
383
|
*/
|
|
225
384
|
publishPlanVersion(plan_id: string, request: Schematic.PublishPlanVersionRequestBody, requestOptions?: PlansClient.RequestOptions): core.HttpResponsePromise<Schematic.PublishPlanVersionResponse>;
|
package/dist/api/resources/plans/client/requests/CountBillingProductMatchCompaniesRequest.d.ts
ADDED
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @example
|
|
3
|
+
* {
|
|
4
|
+
* planId: "plan_id",
|
|
5
|
+
* q: "q",
|
|
6
|
+
* limit: 1000000,
|
|
7
|
+
* offset: 1000000
|
|
8
|
+
* }
|
|
9
|
+
*/
|
|
10
|
+
export interface CountBillingProductMatchCompaniesRequest {
|
|
11
|
+
/** The plan ID to find billing product match companies for */
|
|
12
|
+
planId: string;
|
|
13
|
+
/** Search for companies by name, keys or string traits */
|
|
14
|
+
q?: string;
|
|
15
|
+
/** Page limit (default 100) */
|
|
16
|
+
limit?: number;
|
|
17
|
+
/** Page offset (default 0) */
|
|
18
|
+
offset?: number;
|
|
19
|
+
}
|
|
@@ -3,13 +3,18 @@ import type * as Schematic from "../../../../index";
|
|
|
3
3
|
* @example
|
|
4
4
|
* {
|
|
5
5
|
* companyId: "company_id",
|
|
6
|
+
* companyScopedOnly: true,
|
|
7
|
+
* excludeCompanyScoped: true,
|
|
6
8
|
* forFallbackPlan: true,
|
|
7
9
|
* forInitialPlan: true,
|
|
8
10
|
* forTrialExpiryPlan: true,
|
|
9
11
|
* hasProductId: true,
|
|
12
|
+
* ids: ["ids"],
|
|
10
13
|
* includeDraftVersions: true,
|
|
11
14
|
* planType: "plan",
|
|
12
15
|
* q: "q",
|
|
16
|
+
* scopedToCompanyId: "scoped_to_company_id",
|
|
17
|
+
* withEntitlements: true,
|
|
13
18
|
* withoutEntitlementFor: "without_entitlement_for",
|
|
14
19
|
* withoutPaidProductId: true,
|
|
15
20
|
* limit: 1000000,
|
|
@@ -18,6 +23,10 @@ import type * as Schematic from "../../../../index";
|
|
|
18
23
|
*/
|
|
19
24
|
export interface CountPlansRequest {
|
|
20
25
|
companyId?: string;
|
|
26
|
+
/** Only return plans that are scoped to a company (custom plans assigned to a company) */
|
|
27
|
+
companyScopedOnly?: boolean;
|
|
28
|
+
/** Exclude plans that are scoped to a company (custom plans assigned to a company) */
|
|
29
|
+
excludeCompanyScoped?: boolean;
|
|
21
30
|
/** Filter for plans valid as fallback plans (not linked to billing) */
|
|
22
31
|
forFallbackPlan?: boolean;
|
|
23
32
|
/** Filter for plans valid as initial plans (not linked to billing, free, or auto-cancelling trial) */
|
|
@@ -32,6 +41,10 @@ export interface CountPlansRequest {
|
|
|
32
41
|
/** Filter by plan type */
|
|
33
42
|
planType?: Schematic.PlanType;
|
|
34
43
|
q?: string;
|
|
44
|
+
/** Filter plans scoped to a specific company (custom plans) */
|
|
45
|
+
scopedToCompanyId?: string;
|
|
46
|
+
/** Include each plan's entitlements in the response */
|
|
47
|
+
withEntitlements?: boolean;
|
|
35
48
|
/** Filter out plans that already have a plan entitlement for the specified feature ID */
|
|
36
49
|
withoutEntitlementFor?: string;
|
|
37
50
|
/** Filter out plans that have a paid billing product ID */
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import type * as Schematic from "../../../../index";
|
|
2
|
+
/**
|
|
3
|
+
* @example
|
|
4
|
+
* {
|
|
5
|
+
* billingProvider: "orb",
|
|
6
|
+
* description: "description",
|
|
7
|
+
* externalResourceId: "external_resource_id",
|
|
8
|
+
* name: "name",
|
|
9
|
+
* planType: "plan"
|
|
10
|
+
* }
|
|
11
|
+
*/
|
|
12
|
+
export interface CreateBillingLinkedPlanRequestBody {
|
|
13
|
+
billingProvider: Schematic.BillingProviderType;
|
|
14
|
+
description: string;
|
|
15
|
+
externalResourceId: string;
|
|
16
|
+
externalResourceVersion?: string;
|
|
17
|
+
icon?: Schematic.PlanIcon;
|
|
18
|
+
name: string;
|
|
19
|
+
planType: Schematic.PlanType;
|
|
20
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import type * as Schematic from "../../../../index";
|
|
2
|
+
/**
|
|
3
|
+
* @example
|
|
4
|
+
* {
|
|
5
|
+
* companyId: "company_id",
|
|
6
|
+
* description: "description",
|
|
7
|
+
* name: "name"
|
|
8
|
+
* }
|
|
9
|
+
*/
|
|
10
|
+
export interface CreateCustomPlanRequestBody {
|
|
11
|
+
companyId: string;
|
|
12
|
+
copiedFromPlanId?: string;
|
|
13
|
+
description: string;
|
|
14
|
+
icon?: Schematic.PlanIcon;
|
|
15
|
+
name: string;
|
|
16
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @example
|
|
3
|
+
* {
|
|
4
|
+
* planId: "plan_id",
|
|
5
|
+
* q: "q",
|
|
6
|
+
* limit: 1000000,
|
|
7
|
+
* offset: 1000000
|
|
8
|
+
* }
|
|
9
|
+
*/
|
|
10
|
+
export interface ListBillingProductMatchCompaniesRequest {
|
|
11
|
+
/** The plan ID to find billing product match companies for */
|
|
12
|
+
planId: string;
|
|
13
|
+
/** Search for companies by name, keys or string traits */
|
|
14
|
+
q?: string;
|
|
15
|
+
/** Page limit (default 100) */
|
|
16
|
+
limit?: number;
|
|
17
|
+
/** Page offset (default 0) */
|
|
18
|
+
offset?: number;
|
|
19
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import type * as Schematic from "../../../../index";
|
|
2
|
+
/**
|
|
3
|
+
* @example
|
|
4
|
+
* {
|
|
5
|
+
* companyId: "company_id",
|
|
6
|
+
* planId: "plan_id",
|
|
7
|
+
* status: "active",
|
|
8
|
+
* statuses: ["active"],
|
|
9
|
+
* limit: 1000000,
|
|
10
|
+
* offset: 1000000
|
|
11
|
+
* }
|
|
12
|
+
*/
|
|
13
|
+
export interface ListCustomPlanBillingsRequest {
|
|
14
|
+
/** Filter by company ID */
|
|
15
|
+
companyId?: string;
|
|
16
|
+
/** Filter by plan ID */
|
|
17
|
+
planId?: string;
|
|
18
|
+
/** Filter by billing status */
|
|
19
|
+
status?: Schematic.CustomPlanBillingStatus;
|
|
20
|
+
/** Filter by multiple billing statuses */
|
|
21
|
+
statuses?: Schematic.CustomPlanBillingStatus | Schematic.CustomPlanBillingStatus[];
|
|
22
|
+
/** Page limit (default 100) */
|
|
23
|
+
limit?: number;
|
|
24
|
+
/** Page offset (default 0) */
|
|
25
|
+
offset?: number;
|
|
26
|
+
}
|
|
@@ -3,13 +3,18 @@ import type * as Schematic from "../../../../index";
|
|
|
3
3
|
* @example
|
|
4
4
|
* {
|
|
5
5
|
* companyId: "company_id",
|
|
6
|
+
* companyScopedOnly: true,
|
|
7
|
+
* excludeCompanyScoped: true,
|
|
6
8
|
* forFallbackPlan: true,
|
|
7
9
|
* forInitialPlan: true,
|
|
8
10
|
* forTrialExpiryPlan: true,
|
|
9
11
|
* hasProductId: true,
|
|
12
|
+
* ids: ["ids"],
|
|
10
13
|
* includeDraftVersions: true,
|
|
11
14
|
* planType: "plan",
|
|
12
15
|
* q: "q",
|
|
16
|
+
* scopedToCompanyId: "scoped_to_company_id",
|
|
17
|
+
* withEntitlements: true,
|
|
13
18
|
* withoutEntitlementFor: "without_entitlement_for",
|
|
14
19
|
* withoutPaidProductId: true,
|
|
15
20
|
* limit: 1000000,
|
|
@@ -18,6 +23,10 @@ import type * as Schematic from "../../../../index";
|
|
|
18
23
|
*/
|
|
19
24
|
export interface ListPlansRequest {
|
|
20
25
|
companyId?: string;
|
|
26
|
+
/** Only return plans that are scoped to a company (custom plans assigned to a company) */
|
|
27
|
+
companyScopedOnly?: boolean;
|
|
28
|
+
/** Exclude plans that are scoped to a company (custom plans assigned to a company) */
|
|
29
|
+
excludeCompanyScoped?: boolean;
|
|
21
30
|
/** Filter for plans valid as fallback plans (not linked to billing) */
|
|
22
31
|
forFallbackPlan?: boolean;
|
|
23
32
|
/** Filter for plans valid as initial plans (not linked to billing, free, or auto-cancelling trial) */
|
|
@@ -32,6 +41,10 @@ export interface ListPlansRequest {
|
|
|
32
41
|
/** Filter by plan type */
|
|
33
42
|
planType?: Schematic.PlanType;
|
|
34
43
|
q?: string;
|
|
44
|
+
/** Filter plans scoped to a specific company (custom plans) */
|
|
45
|
+
scopedToCompanyId?: string;
|
|
46
|
+
/** Include each plan's entitlements in the response */
|
|
47
|
+
withEntitlements?: boolean;
|
|
35
48
|
/** Filter out plans that already have a plan entitlement for the specified feature ID */
|
|
36
49
|
withoutEntitlementFor?: string;
|
|
37
50
|
/** Filter out plans that have a paid billing product ID */
|
|
@@ -3,10 +3,18 @@ import type * as Schematic from "../../../../index";
|
|
|
3
3
|
* @example
|
|
4
4
|
* {
|
|
5
5
|
* excludedCompanyIds: ["excluded_company_ids"],
|
|
6
|
-
* migrationStrategy: "immediate"
|
|
6
|
+
* migrationStrategy: "immediate",
|
|
7
|
+
* payInAdvance: [{
|
|
8
|
+
* priceId: "price_id",
|
|
9
|
+
* quantity: 1000000
|
|
10
|
+
* }]
|
|
7
11
|
* }
|
|
8
12
|
*/
|
|
9
13
|
export interface PublishPlanVersionRequestBody {
|
|
14
|
+
activationStrategy?: Schematic.CustomPlanActivationStrategy;
|
|
15
|
+
customerEmail?: string;
|
|
16
|
+
daysUntilDue?: number;
|
|
10
17
|
excludedCompanyIds: string[];
|
|
11
18
|
migrationStrategy: Schematic.PlanVersionMigrationStrategy;
|
|
19
|
+
payInAdvance: Schematic.UpdatePayInAdvanceRequestBody[];
|
|
12
20
|
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import type * as Schematic from "../../../../index";
|
|
2
|
+
/**
|
|
3
|
+
* @example
|
|
4
|
+
* {
|
|
5
|
+
* customerEmail: "customer_email",
|
|
6
|
+
* payInAdvance: [{
|
|
7
|
+
* priceId: "price_id",
|
|
8
|
+
* quantity: 1000000
|
|
9
|
+
* }]
|
|
10
|
+
* }
|
|
11
|
+
*/
|
|
12
|
+
export interface RetryCustomPlanBillingRequestBody {
|
|
13
|
+
activationStrategy?: Schematic.CustomPlanActivationStrategy;
|
|
14
|
+
customerEmail: string;
|
|
15
|
+
daysUntilDue?: number;
|
|
16
|
+
payInAdvance: Schematic.UpdatePayInAdvanceRequestBody[];
|
|
17
|
+
}
|
|
@@ -1,6 +1,13 @@
|
|
|
1
|
+
export type { CountBillingProductMatchCompaniesRequest } from "./CountBillingProductMatchCompaniesRequest";
|
|
1
2
|
export type { CountPlansRequest } from "./CountPlansRequest";
|
|
3
|
+
export type { CreateBillingLinkedPlanRequestBody } from "./CreateBillingLinkedPlanRequestBody";
|
|
4
|
+
export type { CreateCustomPlanRequestBody } from "./CreateCustomPlanRequestBody";
|
|
5
|
+
export type { DeletePlanVersionRequest } from "./DeletePlanVersionRequest";
|
|
2
6
|
export type { GetPlanRequest } from "./GetPlanRequest";
|
|
7
|
+
export type { ListBillingProductMatchCompaniesRequest } from "./ListBillingProductMatchCompaniesRequest";
|
|
8
|
+
export type { ListCustomPlanBillingsRequest } from "./ListCustomPlanBillingsRequest";
|
|
3
9
|
export type { ListPlanIssuesRequest } from "./ListPlanIssuesRequest";
|
|
4
10
|
export type { ListPlansRequest } from "./ListPlansRequest";
|
|
5
11
|
export type { PublishPlanVersionRequestBody } from "./PublishPlanVersionRequestBody";
|
|
12
|
+
export type { RetryCustomPlanBillingRequestBody } from "./RetryCustomPlanBillingRequestBody";
|
|
6
13
|
export type { UpdateCompanyPlansRequestBody } from "./UpdateCompanyPlansRequestBody";
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Input parameters
|
|
3
|
+
*/
|
|
4
|
+
export interface CountBillingProductMatchCompaniesParams {
|
|
5
|
+
/** Page limit (default 100) */
|
|
6
|
+
limit?: number;
|
|
7
|
+
/** Page offset (default 0) */
|
|
8
|
+
offset?: number;
|
|
9
|
+
/** The plan ID to find billing product match companies for */
|
|
10
|
+
planId?: string;
|
|
11
|
+
/** Search for companies by name, keys or string traits */
|
|
12
|
+
q?: string;
|
|
13
|
+
}
|