@schematichq/schematic-typescript-node 1.4.6 → 1.4.8
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 +5 -20
- package/dist/api/resources/accounts/client/Client.d.ts +22 -0
- package/dist/api/resources/accounts/client/requests/CountAccountMembersRequest.d.ts +18 -0
- package/dist/api/resources/accounts/client/requests/ListAccountMembersRequest.d.ts +1 -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/CountAccountMembersParams.d.ts +12 -0
- package/dist/api/resources/accounts/types/CountAccountMembersResponse.d.ts +6 -0
- package/dist/api/resources/accounts/types/index.d.ts +2 -0
- package/dist/api/resources/billing/client/Client.d.ts +31 -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/ListBillingPricesRequest.d.ts +3 -1
- package/dist/api/resources/billing/client/requests/ListBillingProductPricesRequest.d.ts +3 -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/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 +22 -0
- package/dist/api/resources/companies/client/Client.d.ts +27 -53
- package/dist/api/resources/companies/client/requests/CountCompaniesRequest.d.ts +8 -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 +8 -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 +2 -0
- 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 +2 -0
- package/dist/api/resources/companies/types/ListCompaniesParams.d.ts +2 -0
- package/dist/api/resources/companies/types/index.d.ts +0 -3
- package/dist/api/resources/credits/client/Client.d.ts +84 -0
- 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/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/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/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 +5 -0
- package/dist/api/resources/entitlements/client/Client.d.ts +19 -1
- 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 +9 -3
- package/dist/api/resources/entitlements/client/requests/CreateCompanyOverrideRequestBody.d.ts +2 -2
- package/dist/api/resources/entitlements/client/requests/CreatePlanEntitlementRequestBody.d.ts +8 -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 +8 -2
- 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/index.d.ts +0 -10
- 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 +11 -3
- package/dist/api/resources/features/client/requests/CountFeaturesRequest.d.ts +5 -0
- package/dist/api/resources/features/client/requests/CountFlagsRequest.d.ts +1 -0
- package/dist/api/resources/features/client/requests/CreateBillingLinkedFeatureRequestBody.d.ts +2 -2
- package/dist/api/resources/features/client/requests/CreateFeatureRequestBody.d.ts +1 -1
- package/dist/api/resources/features/client/requests/ListFeaturesRequest.d.ts +5 -0
- 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/types/CountFeaturesParams.d.ts +2 -0
- package/dist/api/resources/features/types/ListFeaturesParams.d.ts +2 -0
- package/dist/api/resources/index.d.ts +4 -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 +133 -0
- package/dist/api/resources/integrationsapi/client/index.d.ts +1 -1
- 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/types/AssumeStripeInstalledResponse.d.ts +6 -0
- package/dist/api/resources/integrationsapi/types/InstallIntegrationResponse.d.ts +6 -0
- package/dist/api/resources/integrationsapi/types/InstallStripeResponse.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/LoadSampleDataSetResponse.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 +9 -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/plangroups/client/requests/CreatePlanGroupRequestBody.d.ts +1 -0
- package/dist/api/resources/plangroups/client/requests/UpdatePlanGroupRequestBody.d.ts +1 -0
- package/dist/api/resources/planmigrations/client/Client.d.ts +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 +71 -1
- package/dist/api/resources/plans/client/requests/CountPlansRequest.d.ts +10 -0
- package/dist/api/resources/plans/client/requests/CreateBillingLinkedPlanRequestBody.d.ts +2 -1
- package/dist/api/resources/plans/client/requests/ListCustomPlanBillingsRequest.d.ts +26 -0
- package/dist/api/resources/plans/client/requests/ListPlansRequest.d.ts +10 -0
- package/dist/api/resources/plans/client/requests/RetryCustomPlanBillingRequestBody.d.ts +17 -0
- package/dist/api/resources/plans/client/requests/index.d.ts +2 -0
- package/dist/api/resources/plans/types/CountPlansParams.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 +6 -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/index.d.ts +4 -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/AccountMemberResponseData.d.ts +2 -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/BillingCreditBundleView.d.ts +1 -1
- package/dist/api/types/BillingCreditGrantReason.d.ts +1 -0
- package/dist/api/types/BillingCreditGrantResponseData.d.ts +4 -0
- package/dist/api/types/BillingCreditLedgerAuthority.d.ts +6 -0
- package/dist/api/types/BillingCreditView.d.ts +2 -0
- package/dist/api/types/BillingPlanCreditGrantResponseData.d.ts +3 -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 +1 -0
- 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 +2 -0
- package/dist/api/types/ChangeSubscriptionRequestBody.d.ts +2 -0
- package/dist/api/types/ChargeType.d.ts +1 -0
- package/dist/api/types/CheckFlagResponseData.d.ts +2 -2
- package/dist/api/types/CheckoutDataResponseData.d.ts +1 -0
- package/dist/api/types/CheckoutFieldInput.d.ts +8 -0
- package/dist/api/types/CheckoutFieldResponseData.d.ts +12 -0
- package/dist/api/types/CheckoutFieldValue.d.ts +4 -0
- package/dist/api/types/CheckoutFieldWithValue.d.ts +9 -0
- package/dist/api/types/CheckoutSubscription.d.ts +1 -0
- package/dist/api/types/ClerkIntegrationConfig.d.ts +6 -0
- package/dist/api/types/CompanyCreditBalanceResponseData.d.ts +9 -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 +41 -0
- package/dist/api/types/CompanyPlanDetailResponseData.d.ts +7 -3
- 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/ComponentHydrateResponseData.d.ts +1 -0
- package/dist/api/types/ComponentPreviewResponseData.d.ts +1 -0
- 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 +3 -0
- package/dist/api/types/CreateCustomPlanBundlePlanRequestBody.d.ts +7 -0
- package/dist/api/types/CreateEntitlementInBundleRequestBody.d.ts +8 -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/CreditCompanyGrantView.d.ts +3 -0
- package/dist/api/types/CreditCurrencyPrice.d.ts +5 -0
- package/dist/api/types/CreditEventLedgerResponseData.d.ts +1 -0
- package/dist/api/types/CreditLeaseResponseData.d.ts +10 -0
- package/dist/api/types/CreditUsageReason.d.ts +8 -0
- package/dist/api/types/CurrencyPriceRequestBody.d.ts +3 -0
- package/dist/api/types/CustomPlanBillingResponseData.d.ts +1 -0
- package/dist/api/types/CustomPlanBillingStatus.d.ts +1 -0
- package/dist/api/types/DataEventPayload.d.ts +3 -0
- package/dist/api/types/DuplicatePlanEntitlementsResponseResponseData.d.ts +1 -0
- package/dist/api/types/EntitlementCurrencyPricesResponseData.d.ts +1 -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 +3 -0
- package/dist/api/types/EventResponseData.d.ts +2 -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 +2 -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 +1 -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/InstallIntegrationRequestBody.d.ts +9 -0
- package/dist/api/types/IntegrationCapabilities.d.ts +5 -0
- package/dist/api/types/IntegrationConfig.d.ts +19 -0
- package/dist/api/types/IntegrationInstallConfig.d.ts +13 -0
- package/dist/api/types/IntegrationInstallResponseData.d.ts +6 -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 +2 -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/ManagePlanRequest.d.ts +1 -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/MetronomeIntegrationConfig.d.ts +1 -0
- package/dist/api/types/MigrationErrorCode.d.ts +15 -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 +1 -0
- package/dist/api/types/PlanCurrencyPricesResponseData.d.ts +1 -0
- package/dist/api/types/PlanDetailResponseData.d.ts +6 -2
- package/dist/api/types/PlanEntitlementResponseData.d.ts +5 -2
- package/dist/api/types/PlanGroupDetailResponseData.d.ts +1 -0
- package/dist/api/types/PlanGroupPlanDetailResponseData.d.ts +7 -3
- package/dist/api/types/PlanGrowthPointResponseData.d.ts +6 -0
- package/dist/api/types/PlanGrowthResponseData.d.ts +4 -0
- package/dist/api/types/PlanPriceCadence.d.ts +6 -0
- package/dist/api/types/PlanVersionCompanyMigrationResponseData.d.ts +1 -0
- package/dist/api/types/PlanVersionMigrationResponseData.d.ts +1 -0
- package/dist/api/types/PlanViewPublicResponseData.d.ts +7 -3
- 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/UpdateAutoTopupOverrideRequestBody.d.ts +6 -0
- package/dist/api/types/UpdateBillingPlanCreditGrantRequestBody.d.ts +3 -0
- package/dist/api/types/UpdateEntitlementReqCommon.d.ts +2 -2
- package/dist/api/types/UpsertBillingProductRequestBody.d.ts +3 -0
- package/dist/api/types/UsageBasedEntitlementRequestBody.d.ts +6 -0
- package/dist/api/types/UsageBasedEntitlementResponseData.d.ts +5 -2
- package/dist/api/types/WorkOsIntegrationConfig.d.ts +6 -0
- package/dist/api/types/index.d.ts +56 -29
- 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 +13 -10
- 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/CountAccountMembersParams.d.ts +12 -0
- package/dist/serialization/resources/accounts/types/CountAccountMembersResponse.d.ts +12 -0
- package/dist/serialization/resources/accounts/types/index.d.ts +2 -0
- package/dist/serialization/resources/billing/client/requests/CreateBillingPriceRequestBody.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/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 +1 -0
- package/dist/serialization/resources/companies/types/ListCompaniesParams.d.ts +1 -0
- 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/ExtendCreditLeaseRequestBody.d.ts +10 -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/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 +5 -0
- package/dist/serialization/resources/entitlements/client/requests/CreateBillingLinkedPlanEntitlementRequestBody.d.ts +9 -4
- package/dist/serialization/resources/entitlements/client/requests/CreateCompanyOverrideRequestBody.d.ts +4 -4
- package/dist/serialization/resources/entitlements/client/requests/CreatePlanEntitlementRequestBody.d.ts +9 -4
- package/dist/serialization/resources/entitlements/client/requests/UpdateCompanyOverrideRequestBody.d.ts +4 -4
- package/dist/serialization/resources/entitlements/client/requests/UpdatePlanEntitlementRequestBody.d.ts +9 -4
- 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/index.d.ts +0 -10
- package/dist/serialization/resources/events/types/ListEventsParams.d.ts +1 -0
- package/dist/serialization/resources/features/client/requests/CreateBillingLinkedFeatureRequestBody.d.ts +1 -1
- 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/types/CountFeaturesParams.d.ts +2 -0
- package/dist/serialization/resources/features/types/ListFeaturesParams.d.ts +2 -0
- package/dist/serialization/resources/index.d.ts +4 -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 +1 -0
- package/dist/serialization/resources/integrationsapi/types/AssumeStripeInstalledResponse.d.ts +11 -0
- package/dist/serialization/resources/integrationsapi/types/InstallIntegrationResponse.d.ts +11 -0
- package/dist/serialization/resources/integrationsapi/types/InstallStripeResponse.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/LoadSampleDataSetResponse.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 +9 -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/plangroups/client/requests/CreatePlanGroupRequestBody.d.ts +2 -0
- package/dist/serialization/resources/plangroups/client/requests/UpdatePlanGroupRequestBody.d.ts +2 -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 +1 -0
- package/dist/serialization/resources/plans/client/requests/RetryCustomPlanBillingRequestBody.d.ts +14 -0
- package/dist/serialization/resources/plans/client/requests/index.d.ts +1 -0
- package/dist/serialization/resources/plans/types/CountPlansParams.d.ts +3 -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 +3 -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/index.d.ts +4 -0
- package/dist/serialization/types/AccountMemberResponseData.d.ts +2 -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/BillingCreditBundleView.d.ts +1 -1
- package/dist/serialization/types/BillingCreditGrantReason.d.ts +1 -1
- package/dist/serialization/types/BillingCreditGrantResponseData.d.ts +3 -0
- package/dist/serialization/types/BillingCreditLedgerAuthority.d.ts +7 -0
- package/dist/serialization/types/BillingCreditView.d.ts +4 -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 +2 -0
- 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 +4 -0
- package/dist/serialization/types/ChangeSubscriptionRequestBody.d.ts +4 -0
- package/dist/serialization/types/ChargeType.d.ts +1 -1
- package/dist/serialization/types/CheckFlagResponseData.d.ts +4 -2
- package/dist/serialization/types/CheckoutDataResponseData.d.ts +2 -0
- package/dist/serialization/types/CheckoutFieldInput.d.ts +14 -0
- package/dist/serialization/types/CheckoutFieldResponseData.d.ts +18 -0
- package/dist/serialization/types/CheckoutFieldValue.d.ts +10 -0
- package/dist/serialization/types/CheckoutFieldWithValue.d.ts +15 -0
- package/dist/serialization/types/CheckoutSubscription.d.ts +1 -0
- package/dist/serialization/types/ClerkIntegrationConfig.d.ts +10 -0
- package/dist/serialization/types/CompanyCreditBalanceResponseData.d.ts +15 -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 +48 -0
- package/dist/serialization/types/CompanyPlanDetailResponseData.d.ts +10 -4
- 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/ComponentHydrateResponseData.d.ts +2 -0
- package/dist/serialization/types/ComponentPreviewResponseData.d.ts +2 -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 +9 -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/CreditCompanyGrantView.d.ts +3 -0
- package/dist/serialization/types/CreditCurrencyPrice.d.ts +11 -0
- package/dist/serialization/types/CreditEventLedgerResponseData.d.ts +2 -0
- package/dist/serialization/types/CreditLeaseResponseData.d.ts +16 -0
- package/dist/serialization/types/CreditUsageReason.d.ts +7 -0
- package/dist/serialization/types/CurrencyPriceRequestBody.d.ts +3 -0
- package/dist/serialization/types/CustomPlanBillingResponseData.d.ts +1 -0
- package/dist/serialization/types/CustomPlanBillingStatus.d.ts +1 -1
- package/dist/serialization/types/DataEventPayload.d.ts +3 -0
- package/dist/serialization/types/DuplicatePlanEntitlementsResponseResponseData.d.ts +2 -0
- package/dist/serialization/types/EntitlementCurrencyPricesResponseData.d.ts +1 -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 +4 -0
- package/dist/serialization/types/EventResponseData.d.ts +2 -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 +3 -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 +1 -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/InstallIntegrationRequestBody.d.ts +16 -0
- package/dist/serialization/types/IntegrationCapabilities.d.ts +11 -0
- package/dist/serialization/types/IntegrationConfig.d.ts +27 -0
- package/dist/serialization/types/IntegrationInstallConfig.d.ts +20 -0
- package/dist/serialization/types/IntegrationInstallResponseData.d.ts +14 -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 +1 -1
- 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/ManagePlanRequest.d.ts +2 -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/MetronomeIntegrationConfig.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 +1 -0
- package/dist/serialization/types/PlanCurrencyPricesResponseData.d.ts +1 -0
- package/dist/serialization/types/PlanDetailResponseData.d.ts +9 -3
- package/dist/serialization/types/PlanEntitlementResponseData.d.ts +6 -2
- package/dist/serialization/types/PlanGroupDetailResponseData.d.ts +2 -0
- package/dist/serialization/types/PlanGroupPlanDetailResponseData.d.ts +10 -4
- package/dist/serialization/types/PlanGrowthPointResponseData.d.ts +12 -0
- package/dist/serialization/types/PlanGrowthResponseData.d.ts +10 -0
- package/dist/serialization/types/PlanPriceCadence.d.ts +7 -0
- package/dist/serialization/types/PlanVersionCompanyMigrationResponseData.d.ts +2 -0
- package/dist/serialization/types/PlanVersionMigrationResponseData.d.ts +1 -0
- package/dist/serialization/types/PlanViewPublicResponseData.d.ts +10 -4
- 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/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/UpsertBillingProductRequestBody.d.ts +4 -0
- package/dist/serialization/types/UsageBasedEntitlementRequestBody.d.ts +5 -0
- package/dist/serialization/types/UsageBasedEntitlementResponseData.d.ts +6 -2
- package/dist/serialization/types/WorkOsIntegrationConfig.d.ts +10 -0
- package/dist/serialization/types/index.d.ts +56 -29
- package/dist/version.d.ts +2 -0
- package/dist/wasm/rulesengine.d.ts +1 -0
- package/dist/wasm/rulesengine.js +43 -11
- package/dist/wasm/rulesengine_bg.wasm.d.ts +1 -0
- package/dist/wrapper.d.ts +40 -5
- package/package.json +3 -3
- 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/CreateBillingLinkedPlanEntitlementRequestBodyMetricPeriod.d.ts +0 -7
- package/dist/api/resources/entitlements/types/CreateBillingLinkedPlanEntitlementRequestBodyMetricPeriodMonthReset.d.ts +0 -5
- 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/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/CreateBillingLinkedPlanEntitlementRequestBodyMetricPeriod.d.ts +0 -7
- package/dist/serialization/resources/entitlements/types/CreateBillingLinkedPlanEntitlementRequestBodyMetricPeriodMonthReset.d.ts +0 -7
- 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/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
- package/dist/wasm/rulesengine_bg.wasm +0 -0
|
@@ -4,15 +4,18 @@ import type * as serializers from "../index";
|
|
|
4
4
|
import { BillingLinkedResourceResponseData } from "./BillingLinkedResourceResponseData";
|
|
5
5
|
import { BillingPriceResponseData } from "./BillingPriceResponseData";
|
|
6
6
|
import { BillingProductDetailResponseData } from "./BillingProductDetailResponseData";
|
|
7
|
+
import { BillingProviderType } from "./BillingProviderType";
|
|
8
|
+
import { BillingStrategy } from "./BillingStrategy";
|
|
7
9
|
import { ChargeType } from "./ChargeType";
|
|
8
10
|
import { CompanyPlanInvalidReason } from "./CompanyPlanInvalidReason";
|
|
9
11
|
import { CustomPlanConfig } from "./CustomPlanConfig";
|
|
10
|
-
import {
|
|
12
|
+
import { FeatureInPlanResponseData } from "./FeatureInPlanResponseData";
|
|
11
13
|
import { FeatureUsageResponseData } from "./FeatureUsageResponseData";
|
|
12
14
|
import { PlanCreditGrantView } from "./PlanCreditGrantView";
|
|
13
15
|
import { PlanCurrencyPricesResponseData } from "./PlanCurrencyPricesResponseData";
|
|
14
16
|
import { PlanEntitlementResponseData } from "./PlanEntitlementResponseData";
|
|
15
17
|
import { PlanIcon } from "./PlanIcon";
|
|
18
|
+
import { PlanPriceCadence } from "./PlanPriceCadence";
|
|
16
19
|
import { PlanType } from "./PlanType";
|
|
17
20
|
import { PlanVersionResponseData } from "./PlanVersionResponseData";
|
|
18
21
|
export declare const CompanyPlanDetailResponseData: core.serialization.ObjectSchema<serializers.CompanyPlanDetailResponseData.Raw, Schematic.CompanyPlanDetailResponseData>;
|
|
@@ -20,15 +23,17 @@ export declare namespace CompanyPlanDetailResponseData {
|
|
|
20
23
|
interface Raw {
|
|
21
24
|
active_version?: PlanVersionResponseData.Raw | null;
|
|
22
25
|
audience_type?: string | null;
|
|
26
|
+
available_periods: PlanPriceCadence.Raw[];
|
|
23
27
|
billing_linked_resource?: BillingLinkedResourceResponseData.Raw | null;
|
|
24
28
|
billing_product?: BillingProductDetailResponseData.Raw | null;
|
|
29
|
+
billing_strategy: BillingStrategy.Raw;
|
|
25
30
|
charge_type: ChargeType.Raw;
|
|
26
31
|
company_can_trial: boolean;
|
|
27
32
|
company_count: number;
|
|
28
33
|
company_id?: string | null;
|
|
29
34
|
company_name?: string | null;
|
|
30
35
|
compatible_plan_ids: string[];
|
|
31
|
-
controlled_by:
|
|
36
|
+
controlled_by: BillingProviderType.Raw;
|
|
32
37
|
copied_from_plan_id?: string | null;
|
|
33
38
|
created_at: string;
|
|
34
39
|
currency_prices: PlanCurrencyPricesResponseData.Raw[];
|
|
@@ -37,8 +42,8 @@ export declare namespace CompanyPlanDetailResponseData {
|
|
|
37
42
|
custom_plan_config?: CustomPlanConfig.Raw | null;
|
|
38
43
|
description: string;
|
|
39
44
|
draft_version?: PlanVersionResponseData.Raw | null;
|
|
40
|
-
entitlements
|
|
41
|
-
features:
|
|
45
|
+
entitlements?: PlanEntitlementResponseData.Raw[] | null;
|
|
46
|
+
features: FeatureInPlanResponseData.Raw[];
|
|
42
47
|
icon: PlanIcon.Raw;
|
|
43
48
|
id: string;
|
|
44
49
|
included_credit_grants: PlanCreditGrantView.Raw[];
|
|
@@ -51,6 +56,7 @@ export declare namespace CompanyPlanDetailResponseData {
|
|
|
51
56
|
name: string;
|
|
52
57
|
one_time_price?: BillingPriceResponseData.Raw | null;
|
|
53
58
|
plan_type: PlanType.Raw;
|
|
59
|
+
quarterly_price?: BillingPriceResponseData.Raw | null;
|
|
54
60
|
trial_days?: number | null;
|
|
55
61
|
updated_at: string;
|
|
56
62
|
usage_violations: FeatureUsageResponseData.Raw[];
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type * as Schematic from "../../api/index";
|
|
2
2
|
import * as core from "../../core";
|
|
3
3
|
import type * as serializers from "../index";
|
|
4
|
-
import {
|
|
4
|
+
import { CompanyPlanCreditGrantView } from "./CompanyPlanCreditGrantView";
|
|
5
5
|
export declare const CompanyPlanWithBillingSubView: core.serialization.ObjectSchema<serializers.CompanyPlanWithBillingSubView.Raw, Schematic.CompanyPlanWithBillingSubView>;
|
|
6
6
|
export declare namespace CompanyPlanWithBillingSubView {
|
|
7
7
|
interface Raw {
|
|
@@ -11,7 +11,7 @@ export declare namespace CompanyPlanWithBillingSubView {
|
|
|
11
11
|
description?: string | null;
|
|
12
12
|
id: string;
|
|
13
13
|
image_url?: string | null;
|
|
14
|
-
included_credit_grants:
|
|
14
|
+
included_credit_grants: CompanyPlanCreditGrantView.Raw[];
|
|
15
15
|
name: string;
|
|
16
16
|
plan_period?: string | null;
|
|
17
17
|
plan_price?: number | null;
|
|
@@ -2,6 +2,7 @@ import type * as Schematic from "../../api/index";
|
|
|
2
2
|
import * as core from "../../core";
|
|
3
3
|
import type * as serializers from "../index";
|
|
4
4
|
import { BillingProductForSubscriptionResponseData } from "./BillingProductForSubscriptionResponseData";
|
|
5
|
+
import { BillingProviderType } from "./BillingProviderType";
|
|
5
6
|
import { BillingSubscriptionDiscountView } from "./BillingSubscriptionDiscountView";
|
|
6
7
|
import { InvoiceResponseData } from "./InvoiceResponseData";
|
|
7
8
|
import { PaymentMethodResponseData } from "./PaymentMethodResponseData";
|
|
@@ -18,6 +19,7 @@ export declare namespace CompanySubscriptionResponseData {
|
|
|
18
19
|
latest_invoice?: InvoiceResponseData.Raw | null;
|
|
19
20
|
payment_method?: PaymentMethodResponseData.Raw | null;
|
|
20
21
|
products: BillingProductForSubscriptionResponseData.Raw[];
|
|
22
|
+
provider_type: BillingProviderType.Raw;
|
|
21
23
|
status: string;
|
|
22
24
|
subscription_external_id: string;
|
|
23
25
|
total_price: number;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type * as Schematic from "../../api/index";
|
|
2
|
+
import * as core from "../../core";
|
|
3
|
+
import type * as serializers from "../index";
|
|
4
|
+
export declare const ComparableOperator: core.serialization.Schema<serializers.ComparableOperator.Raw, Schematic.ComparableOperator>;
|
|
5
|
+
export declare namespace ComparableOperator {
|
|
6
|
+
type Raw = "eq" | "gt" | "gte" | "is_empty" | "lt" | "lte" | "not_empty" | "ne";
|
|
7
|
+
}
|
|
@@ -2,6 +2,7 @@ import type * as Schematic from "../../api/index";
|
|
|
2
2
|
import * as core from "../../core";
|
|
3
3
|
import type * as serializers from "../index";
|
|
4
4
|
import { BillingCreditBundleView } from "./BillingCreditBundleView";
|
|
5
|
+
import { CheckoutFieldWithValue } from "./CheckoutFieldWithValue";
|
|
5
6
|
import { CompanyDetailResponseData } from "./CompanyDetailResponseData";
|
|
6
7
|
import { CompanyPlanDetailResponseData } from "./CompanyPlanDetailResponseData";
|
|
7
8
|
import { CompanySubscriptionResponseData } from "./CompanySubscriptionResponseData";
|
|
@@ -30,6 +31,7 @@ export declare namespace ComponentHydrateResponseData {
|
|
|
30
31
|
component?: ComponentResponseData.Raw | null;
|
|
31
32
|
credit_bundles: BillingCreditBundleView.Raw[];
|
|
32
33
|
credit_grants: CreditCompanyGrantView.Raw[];
|
|
34
|
+
custom_checkout_fields: CheckoutFieldWithValue.Raw[];
|
|
33
35
|
default_plan?: PlanDetailResponseData.Raw | null;
|
|
34
36
|
display_settings: ComponentDisplaySettings.Raw;
|
|
35
37
|
feature_usage?: FeatureUsageDetailResponseData.Raw | null;
|
|
@@ -2,6 +2,7 @@ import type * as Schematic from "../../api/index";
|
|
|
2
2
|
import * as core from "../../core";
|
|
3
3
|
import type * as serializers from "../index";
|
|
4
4
|
import { BillingCreditBundleView } from "./BillingCreditBundleView";
|
|
5
|
+
import { CheckoutFieldWithValue } from "./CheckoutFieldWithValue";
|
|
5
6
|
import { CompanyDetailResponseData } from "./CompanyDetailResponseData";
|
|
6
7
|
import { CompanyPlanDetailResponseData } from "./CompanyPlanDetailResponseData";
|
|
7
8
|
import { CompanySubscriptionResponseData } from "./CompanySubscriptionResponseData";
|
|
@@ -30,6 +31,7 @@ export declare namespace ComponentPreviewResponseData {
|
|
|
30
31
|
component?: ComponentResponseData.Raw | null;
|
|
31
32
|
credit_bundles: BillingCreditBundleView.Raw[];
|
|
32
33
|
credit_grants: CreditCompanyGrantView.Raw[];
|
|
34
|
+
custom_checkout_fields: CheckoutFieldWithValue.Raw[];
|
|
33
35
|
default_plan?: PlanDetailResponseData.Raw | null;
|
|
34
36
|
display_settings: ComponentDisplaySettings.Raw;
|
|
35
37
|
feature_usage?: FeatureUsageDetailResponseData.Raw | null;
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import type * as Schematic from "../../api/index";
|
|
2
2
|
import * as core from "../../core";
|
|
3
3
|
import type * as serializers from "../index";
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
4
|
+
import { ComparableOperator } from "./ComparableOperator";
|
|
5
|
+
import { ConditionType } from "./ConditionType";
|
|
6
|
+
import { MetricPeriod } from "./MetricPeriod";
|
|
7
|
+
import { MetricPeriodMonthReset } from "./MetricPeriodMonthReset";
|
|
8
8
|
import { TraitDefinition } from "./TraitDefinition";
|
|
9
9
|
export declare const Condition: core.serialization.ObjectSchema<serializers.Condition.Raw, Schematic.Condition>;
|
|
10
10
|
export declare namespace Condition {
|
|
11
11
|
interface Raw {
|
|
12
12
|
account_id: string;
|
|
13
13
|
comparison_trait_definition?: TraitDefinition.Raw | null;
|
|
14
|
-
condition_type:
|
|
14
|
+
condition_type: ConditionType.Raw;
|
|
15
15
|
consumption_rate?: number | null;
|
|
16
16
|
credit_id?: string | null;
|
|
17
17
|
environment_id: string;
|
|
18
18
|
event_subtype?: string | null;
|
|
19
19
|
id: string;
|
|
20
|
-
metric_period?:
|
|
21
|
-
metric_period_month_reset?:
|
|
20
|
+
metric_period?: MetricPeriod.Raw | null;
|
|
21
|
+
metric_period_month_reset?: MetricPeriodMonthReset.Raw | null;
|
|
22
22
|
metric_value?: number | null;
|
|
23
|
-
operator:
|
|
23
|
+
operator: ComparableOperator.Raw;
|
|
24
24
|
resource_ids: string[];
|
|
25
25
|
trait_definition?: TraitDefinition.Raw | null;
|
|
26
26
|
trait_value: string;
|
|
@@ -1,14 +1,18 @@
|
|
|
1
1
|
import type * as Schematic from "../../api/index";
|
|
2
2
|
import * as core from "../../core";
|
|
3
3
|
import type * as serializers from "../index";
|
|
4
|
+
import { ComparableOperator } from "./ComparableOperator";
|
|
5
|
+
import { ConditionType } from "./ConditionType";
|
|
4
6
|
import { EntityType } from "./EntityType";
|
|
7
|
+
import { MetricPeriod } from "./MetricPeriod";
|
|
8
|
+
import { MetricPeriodMonthReset } from "./MetricPeriodMonthReset";
|
|
5
9
|
export declare const ConditionResponseData: core.serialization.ObjectSchema<serializers.ConditionResponseData.Raw, Schematic.ConditionResponseData>;
|
|
6
10
|
export declare namespace ConditionResponseData {
|
|
7
11
|
interface Raw {
|
|
8
12
|
account_id: string;
|
|
9
13
|
comparison_trait_id?: string | null;
|
|
10
14
|
condition_group_id?: string | null;
|
|
11
|
-
condition_type:
|
|
15
|
+
condition_type: ConditionType.Raw;
|
|
12
16
|
consumption_rate?: number | null;
|
|
13
17
|
created_at: string;
|
|
14
18
|
credit_id?: string | null;
|
|
@@ -16,10 +20,10 @@ export declare namespace ConditionResponseData {
|
|
|
16
20
|
event_subtype?: string | null;
|
|
17
21
|
flag_id?: string | null;
|
|
18
22
|
id: string;
|
|
19
|
-
metric_period?:
|
|
20
|
-
metric_period_month_reset?:
|
|
23
|
+
metric_period?: MetricPeriod.Raw | null;
|
|
24
|
+
metric_period_month_reset?: MetricPeriodMonthReset.Raw | null;
|
|
21
25
|
metric_value?: number | null;
|
|
22
|
-
operator:
|
|
26
|
+
operator: ComparableOperator.Raw;
|
|
23
27
|
resource_unspecified_ids: string[];
|
|
24
28
|
rule_id: string;
|
|
25
29
|
trait_entity_type?: EntityType.Raw | null;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type * as Schematic from "../../api/index";
|
|
2
2
|
import * as core from "../../core";
|
|
3
3
|
import type * as serializers from "../index";
|
|
4
|
-
export declare const
|
|
5
|
-
export declare namespace
|
|
4
|
+
export declare const ConditionType: core.serialization.Schema<serializers.ConditionType.Raw, Schematic.ConditionType>;
|
|
5
|
+
export declare namespace ConditionType {
|
|
6
6
|
type Raw = "base_plan" | "billing_product" | "company" | "credit" | "metric" | "plan" | "plan_version" | "trait" | "user";
|
|
7
7
|
}
|
|
@@ -1,9 +1,13 @@
|
|
|
1
1
|
import type * as Schematic from "../../api/index";
|
|
2
2
|
import * as core from "../../core";
|
|
3
3
|
import type * as serializers from "../index";
|
|
4
|
+
import { ComparableOperator } from "./ComparableOperator";
|
|
5
|
+
import { ConditionType } from "./ConditionType";
|
|
4
6
|
import { EntityTraitDefinitionResponseData } from "./EntityTraitDefinitionResponseData";
|
|
5
7
|
import { EntityType } from "./EntityType";
|
|
6
8
|
import { GenericPreviewObject } from "./GenericPreviewObject";
|
|
9
|
+
import { MetricPeriod } from "./MetricPeriod";
|
|
10
|
+
import { MetricPeriodMonthReset } from "./MetricPeriodMonthReset";
|
|
7
11
|
export declare const ConditionView: core.serialization.ObjectSchema<serializers.ConditionView.Raw, Schematic.ConditionView>;
|
|
8
12
|
export declare namespace ConditionView {
|
|
9
13
|
interface Raw {
|
|
@@ -13,7 +17,7 @@ export declare namespace ConditionView {
|
|
|
13
17
|
comparison_trait?: EntityTraitDefinitionResponseData.Raw | null;
|
|
14
18
|
comparison_trait_id?: string | null;
|
|
15
19
|
condition_group_id?: string | null;
|
|
16
|
-
condition_type:
|
|
20
|
+
condition_type: ConditionType.Raw;
|
|
17
21
|
consumption_rate?: number | null;
|
|
18
22
|
created_at: string;
|
|
19
23
|
credit_id?: string | null;
|
|
@@ -21,10 +25,10 @@ export declare namespace ConditionView {
|
|
|
21
25
|
event_subtype?: string | null;
|
|
22
26
|
flag_id?: string | null;
|
|
23
27
|
id: string;
|
|
24
|
-
metric_period?:
|
|
25
|
-
metric_period_month_reset?:
|
|
28
|
+
metric_period?: MetricPeriod.Raw | null;
|
|
29
|
+
metric_period_month_reset?: MetricPeriodMonthReset.Raw | null;
|
|
26
30
|
metric_value?: number | null;
|
|
27
|
-
operator:
|
|
31
|
+
operator: ComparableOperator.Raw;
|
|
28
32
|
plan_versions: GenericPreviewObject.Raw[];
|
|
29
33
|
plans: GenericPreviewObject.Raw[];
|
|
30
34
|
resource_unspecified_ids: string[];
|
|
@@ -17,6 +17,7 @@ export declare namespace CreateBillingPlanCreditGrantRequestBody {
|
|
|
17
17
|
auto_topup_expiry_type?: BillingCreditExpiryType.Raw | null;
|
|
18
18
|
auto_topup_expiry_unit?: BillingCreditExpiryUnit.Raw | null;
|
|
19
19
|
auto_topup_expiry_unit_count?: number | null;
|
|
20
|
+
auto_topup_self_service?: boolean | null;
|
|
20
21
|
auto_topup_threshold_credits?: number | null;
|
|
21
22
|
auto_topup_threshold_percent?: number | null;
|
|
22
23
|
credit_amount: number;
|
|
@@ -29,5 +30,6 @@ export declare namespace CreateBillingPlanCreditGrantRequestBody {
|
|
|
29
30
|
reset_cadence: BillingPlanCreditGrantResetCadence.Raw;
|
|
30
31
|
reset_start: BillingPlanCreditGrantResetStart.Raw;
|
|
31
32
|
reset_type?: BillingPlanCreditGrantResetType.Raw | null;
|
|
33
|
+
rollover_percentage?: number | null;
|
|
32
34
|
}
|
|
33
35
|
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import type * as Schematic from "../../api/index";
|
|
2
|
+
import * as core from "../../core";
|
|
3
|
+
import type * as serializers from "../index";
|
|
4
|
+
import { PlanIcon } from "./PlanIcon";
|
|
5
|
+
export declare const CreateCustomPlanBundlePlanRequestBody: core.serialization.ObjectSchema<serializers.CreateCustomPlanBundlePlanRequestBody.Raw, Schematic.CreateCustomPlanBundlePlanRequestBody>;
|
|
6
|
+
export declare namespace CreateCustomPlanBundlePlanRequestBody {
|
|
7
|
+
interface Raw {
|
|
8
|
+
company_id: string;
|
|
9
|
+
description: string;
|
|
10
|
+
icon?: PlanIcon.Raw | null;
|
|
11
|
+
name: string;
|
|
12
|
+
}
|
|
13
|
+
}
|
|
@@ -2,12 +2,12 @@ import type * as Schematic from "../../api/index";
|
|
|
2
2
|
import * as core from "../../core";
|
|
3
3
|
import type * as serializers from "../index";
|
|
4
4
|
import { BillingTiersMode } from "./BillingTiersMode";
|
|
5
|
-
import { CreateEntitlementInBundleRequestBodyMetricPeriod } from "./CreateEntitlementInBundleRequestBodyMetricPeriod";
|
|
6
|
-
import { CreateEntitlementInBundleRequestBodyMetricPeriodMonthReset } from "./CreateEntitlementInBundleRequestBodyMetricPeriodMonthReset";
|
|
7
5
|
import { CreatePriceTierRequestBody } from "./CreatePriceTierRequestBody";
|
|
8
6
|
import { CurrencyPriceRequestBody } from "./CurrencyPriceRequestBody";
|
|
9
7
|
import { EntitlementPriceBehavior } from "./EntitlementPriceBehavior";
|
|
10
8
|
import { EntitlementValueType } from "./EntitlementValueType";
|
|
9
|
+
import { MetricPeriod } from "./MetricPeriod";
|
|
10
|
+
import { MetricPeriodMonthReset } from "./MetricPeriodMonthReset";
|
|
11
11
|
export declare const CreateEntitlementInBundleRequestBody: core.serialization.ObjectSchema<serializers.CreateEntitlementInBundleRequestBody.Raw, Schematic.CreateEntitlementInBundleRequestBody>;
|
|
12
12
|
export declare namespace CreateEntitlementInBundleRequestBody {
|
|
13
13
|
interface Raw {
|
|
@@ -17,8 +17,8 @@ export declare namespace CreateEntitlementInBundleRequestBody {
|
|
|
17
17
|
currency?: string | null;
|
|
18
18
|
currency_prices?: CurrencyPriceRequestBody.Raw[] | null;
|
|
19
19
|
feature_id: string;
|
|
20
|
-
metric_period?:
|
|
21
|
-
metric_period_month_reset?:
|
|
20
|
+
metric_period?: MetricPeriod.Raw | null;
|
|
21
|
+
metric_period_month_reset?: MetricPeriodMonthReset.Raw | null;
|
|
22
22
|
monthly_metered_price_id?: string | null;
|
|
23
23
|
monthly_price_tiers?: CreatePriceTierRequestBody.Raw[] | null;
|
|
24
24
|
monthly_unit_price?: number | null;
|
|
@@ -28,8 +28,13 @@ export declare namespace CreateEntitlementInBundleRequestBody {
|
|
|
28
28
|
plan_version_id?: string | null;
|
|
29
29
|
price_behavior?: EntitlementPriceBehavior.Raw | null;
|
|
30
30
|
price_tiers?: CreatePriceTierRequestBody.Raw[] | null;
|
|
31
|
+
quarterly_metered_price_id?: string | null;
|
|
32
|
+
quarterly_price_tiers?: CreatePriceTierRequestBody.Raw[] | null;
|
|
33
|
+
quarterly_unit_price?: number | null;
|
|
34
|
+
quarterly_unit_price_decimal?: string | null;
|
|
31
35
|
soft_limit?: number | null;
|
|
32
36
|
tier_mode?: BillingTiersMode.Raw | null;
|
|
37
|
+
usage_quantity?: number | null;
|
|
33
38
|
value_bool?: boolean | null;
|
|
34
39
|
value_credit_id?: string | null;
|
|
35
40
|
value_numeric?: number | null;
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import type * as Schematic from "../../api/index";
|
|
2
2
|
import * as core from "../../core";
|
|
3
3
|
import type * as serializers from "../index";
|
|
4
|
-
import { CreateEntitlementReqCommonMetricPeriod } from "./CreateEntitlementReqCommonMetricPeriod";
|
|
5
|
-
import { CreateEntitlementReqCommonMetricPeriodMonthReset } from "./CreateEntitlementReqCommonMetricPeriodMonthReset";
|
|
6
4
|
import { EntitlementValueType } from "./EntitlementValueType";
|
|
5
|
+
import { MetricPeriod } from "./MetricPeriod";
|
|
6
|
+
import { MetricPeriodMonthReset } from "./MetricPeriodMonthReset";
|
|
7
7
|
export declare const CreateEntitlementReqCommon: core.serialization.ObjectSchema<serializers.CreateEntitlementReqCommon.Raw, Schematic.CreateEntitlementReqCommon>;
|
|
8
8
|
export declare namespace CreateEntitlementReqCommon {
|
|
9
9
|
interface Raw {
|
|
10
10
|
credit_consumption_rate?: number | null;
|
|
11
11
|
feature_id: string;
|
|
12
|
-
metric_period?:
|
|
13
|
-
metric_period_month_reset?:
|
|
12
|
+
metric_period?: MetricPeriod.Raw | null;
|
|
13
|
+
metric_period_month_reset?: MetricPeriodMonthReset.Raw | null;
|
|
14
14
|
value_bool?: boolean | null;
|
|
15
15
|
value_credit_id?: string | null;
|
|
16
16
|
value_numeric?: number | null;
|
|
@@ -6,8 +6,11 @@ import { EventType } from "./EventType";
|
|
|
6
6
|
export declare const CreateEventRequestBody: core.serialization.ObjectSchema<serializers.CreateEventRequestBody.Raw, Schematic.CreateEventRequestBody>;
|
|
7
7
|
export declare namespace CreateEventRequestBody {
|
|
8
8
|
interface Raw {
|
|
9
|
+
backfill?: boolean | null;
|
|
9
10
|
body?: EventBody.Raw | null;
|
|
10
11
|
event_type: EventType.Raw;
|
|
12
|
+
idempotency_key?: string | null;
|
|
11
13
|
sent_at?: string | null;
|
|
14
|
+
trusted_client_clock?: boolean | null;
|
|
12
15
|
}
|
|
13
16
|
}
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import type * as Schematic from "../../api/index";
|
|
2
2
|
import * as core from "../../core";
|
|
3
3
|
import type * as serializers from "../index";
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
4
|
+
import { ComparableOperator } from "./ComparableOperator";
|
|
5
|
+
import { ConditionType } from "./ConditionType";
|
|
6
|
+
import { MetricPeriod } from "./MetricPeriod";
|
|
7
|
+
import { MetricPeriodMonthReset } from "./MetricPeriodMonthReset";
|
|
8
8
|
export declare const CreateOrUpdateConditionRequestBody: core.serialization.ObjectSchema<serializers.CreateOrUpdateConditionRequestBody.Raw, Schematic.CreateOrUpdateConditionRequestBody>;
|
|
9
9
|
export declare namespace CreateOrUpdateConditionRequestBody {
|
|
10
10
|
interface Raw {
|
|
11
11
|
comparison_trait_id?: string | null;
|
|
12
|
-
condition_type:
|
|
12
|
+
condition_type: ConditionType.Raw;
|
|
13
13
|
credit_cost?: number | null;
|
|
14
14
|
credit_id?: string | null;
|
|
15
15
|
event_subtype?: string | null;
|
|
16
16
|
id?: string | null;
|
|
17
|
-
metric_period?:
|
|
18
|
-
metric_period_month_reset?:
|
|
17
|
+
metric_period?: MetricPeriod.Raw | null;
|
|
18
|
+
metric_period_month_reset?: MetricPeriodMonthReset.Raw | null;
|
|
19
19
|
metric_value?: number | null;
|
|
20
|
-
operator:
|
|
20
|
+
operator: ComparableOperator.Raw;
|
|
21
21
|
resource_ids: string[];
|
|
22
22
|
trait_id?: string | null;
|
|
23
23
|
trait_value?: string | null;
|
|
@@ -3,7 +3,7 @@ import * as core from "../../core";
|
|
|
3
3
|
import type * as serializers from "../index";
|
|
4
4
|
import { CreateOrUpdateConditionGroupRequestBody } from "./CreateOrUpdateConditionGroupRequestBody";
|
|
5
5
|
import { CreateOrUpdateConditionRequestBody } from "./CreateOrUpdateConditionRequestBody";
|
|
6
|
-
import {
|
|
6
|
+
import { RuleType } from "./RuleType";
|
|
7
7
|
export declare const CreateOrUpdateRuleRequestBody: core.serialization.ObjectSchema<serializers.CreateOrUpdateRuleRequestBody.Raw, Schematic.CreateOrUpdateRuleRequestBody>;
|
|
8
8
|
export declare namespace CreateOrUpdateRuleRequestBody {
|
|
9
9
|
interface Raw {
|
|
@@ -12,7 +12,7 @@ export declare namespace CreateOrUpdateRuleRequestBody {
|
|
|
12
12
|
id?: string | null;
|
|
13
13
|
name: string;
|
|
14
14
|
priority: number;
|
|
15
|
-
rule_type?:
|
|
15
|
+
rule_type?: RuleType.Raw | null;
|
|
16
16
|
value: boolean;
|
|
17
17
|
}
|
|
18
18
|
}
|
|
@@ -36,7 +36,10 @@ export declare namespace CreditCompanyGrantView {
|
|
|
36
36
|
quantity_used: number;
|
|
37
37
|
renewal_enabled: boolean;
|
|
38
38
|
renewal_period?: BillingPlanCreditGrantResetCadence.Raw | null;
|
|
39
|
+
reserved?: number | null;
|
|
40
|
+
settled?: number | null;
|
|
39
41
|
singular_name?: string | null;
|
|
42
|
+
source_grant_id?: string | null;
|
|
40
43
|
source_label: string;
|
|
41
44
|
transfers?: CreditTransferView.Raw[] | null;
|
|
42
45
|
updated_at: string;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type * as Schematic from "../../api/index";
|
|
2
|
+
import * as core from "../../core";
|
|
3
|
+
import type * as serializers from "../index";
|
|
4
|
+
import { BillingPriceView } from "./BillingPriceView";
|
|
5
|
+
export declare const CreditCurrencyPrice: core.serialization.ObjectSchema<serializers.CreditCurrencyPrice.Raw, Schematic.CreditCurrencyPrice>;
|
|
6
|
+
export declare namespace CreditCurrencyPrice {
|
|
7
|
+
interface Raw {
|
|
8
|
+
currency: string;
|
|
9
|
+
price?: BillingPriceView.Raw | null;
|
|
10
|
+
}
|
|
11
|
+
}
|
|
@@ -8,6 +8,7 @@ import { BillingCreditGrantZeroedOutReason } from "./BillingCreditGrantZeroedOut
|
|
|
8
8
|
import { BillingCreditLedgerResponseData } from "./BillingCreditLedgerResponseData";
|
|
9
9
|
import { CompanyLedgerResponseData } from "./CompanyLedgerResponseData";
|
|
10
10
|
import { CreditEventType } from "./CreditEventType";
|
|
11
|
+
import { CreditUsageReason } from "./CreditUsageReason";
|
|
11
12
|
import { FeatureLedgerResponseData } from "./FeatureLedgerResponseData";
|
|
12
13
|
export declare const CreditEventLedgerResponseData: core.serialization.ObjectSchema<serializers.CreditEventLedgerResponseData.Raw, Schematic.CreditEventLedgerResponseData>;
|
|
13
14
|
export declare namespace CreditEventLedgerResponseData {
|
|
@@ -42,6 +43,7 @@ export declare namespace CreditEventLedgerResponseData {
|
|
|
42
43
|
source_id: number;
|
|
43
44
|
to_grant_id?: string | null;
|
|
44
45
|
usage_event_id?: string | null;
|
|
46
|
+
usage_reason?: CreditUsageReason.Raw | null;
|
|
45
47
|
zeroed_out_reason?: BillingCreditGrantZeroedOutReason.Raw | null;
|
|
46
48
|
}
|
|
47
49
|
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import type * as Schematic from "../../api/index";
|
|
2
|
+
import * as core from "../../core";
|
|
3
|
+
import type * as serializers from "../index";
|
|
4
|
+
export declare const CreditLeaseResponseData: core.serialization.ObjectSchema<serializers.CreditLeaseResponseData.Raw, Schematic.CreditLeaseResponseData>;
|
|
5
|
+
export declare namespace CreditLeaseResponseData {
|
|
6
|
+
interface Raw {
|
|
7
|
+
company_id: string;
|
|
8
|
+
created_at: string;
|
|
9
|
+
credit_type_id: string;
|
|
10
|
+
expires_at: string;
|
|
11
|
+
granted_amount: number;
|
|
12
|
+
id: string;
|
|
13
|
+
released_at?: string | null;
|
|
14
|
+
updated_at: string;
|
|
15
|
+
}
|
|
16
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type * as Schematic from "../../api/index";
|
|
2
|
+
import * as core from "../../core";
|
|
3
|
+
import type * as serializers from "../index";
|
|
4
|
+
export declare const CreditUsageReason: core.serialization.Schema<serializers.CreditUsageReason.Raw, Schematic.CreditUsageReason>;
|
|
5
|
+
export declare namespace CreditUsageReason {
|
|
6
|
+
type Raw = "lease_hold" | "lease_release" | "manual_adjustment" | "reconciliation" | "track";
|
|
7
|
+
}
|
|
@@ -9,6 +9,9 @@ export declare namespace CurrencyPriceRequestBody {
|
|
|
9
9
|
monthly_price_tiers?: CreatePriceTierRequestBody.Raw[] | null;
|
|
10
10
|
monthly_unit_price?: number | null;
|
|
11
11
|
monthly_unit_price_decimal?: string | null;
|
|
12
|
+
quarterly_price_tiers?: CreatePriceTierRequestBody.Raw[] | null;
|
|
13
|
+
quarterly_unit_price?: number | null;
|
|
14
|
+
quarterly_unit_price_decimal?: string | null;
|
|
12
15
|
yearly_price_tiers?: CreatePriceTierRequestBody.Raw[] | null;
|
|
13
16
|
yearly_unit_price?: number | null;
|
|
14
17
|
yearly_unit_price_decimal?: string | null;
|
|
@@ -3,5 +3,5 @@ import * as core from "../../core";
|
|
|
3
3
|
import type * as serializers from "../index";
|
|
4
4
|
export declare const CustomPlanBillingStatus: core.serialization.Schema<serializers.CustomPlanBillingStatus.Raw, Schematic.CustomPlanBillingStatus>;
|
|
5
5
|
export declare namespace CustomPlanBillingStatus {
|
|
6
|
-
type Raw = "active" | "paid" | "pending";
|
|
6
|
+
type Raw = "active" | "expired" | "paid" | "pending";
|
|
7
7
|
}
|
|
@@ -6,8 +6,11 @@ export declare const DataEventPayload: core.serialization.ObjectSchema<serialize
|
|
|
6
6
|
export declare namespace DataEventPayload {
|
|
7
7
|
interface Raw {
|
|
8
8
|
api_key: string;
|
|
9
|
+
backfill?: boolean | null;
|
|
9
10
|
body?: Record<string, unknown> | null;
|
|
11
|
+
idempotency_key?: string | null;
|
|
10
12
|
sent_at?: string | null;
|
|
13
|
+
trusted_client_clock?: boolean | null;
|
|
11
14
|
type: EventType.Raw;
|
|
12
15
|
}
|
|
13
16
|
}
|
|
@@ -2,11 +2,13 @@ import type * as Schematic from "../../api/index";
|
|
|
2
2
|
import * as core from "../../core";
|
|
3
3
|
import type * as serializers from "../index";
|
|
4
4
|
import { PlanEntitlementResponseData } from "./PlanEntitlementResponseData";
|
|
5
|
+
import { PlanIssueResponseData } from "./PlanIssueResponseData";
|
|
5
6
|
import { SkippedEntitlementResponseData } from "./SkippedEntitlementResponseData";
|
|
6
7
|
export declare const DuplicatePlanEntitlementsResponseResponseData: core.serialization.ObjectSchema<serializers.DuplicatePlanEntitlementsResponseResponseData.Raw, Schematic.DuplicatePlanEntitlementsResponseResponseData>;
|
|
7
8
|
export declare namespace DuplicatePlanEntitlementsResponseResponseData {
|
|
8
9
|
interface Raw {
|
|
9
10
|
data: PlanEntitlementResponseData.Raw[];
|
|
11
|
+
issues: PlanIssueResponseData.Raw[];
|
|
10
12
|
skipped: SkippedEntitlementResponseData.Raw[];
|
|
11
13
|
}
|
|
12
14
|
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type * as Schematic from "../../api/index";
|
|
2
|
+
import * as core from "../../core";
|
|
3
|
+
import type * as serializers from "../index";
|
|
4
|
+
import { EnvironmentUsagePointResponseData } from "./EnvironmentUsagePointResponseData";
|
|
5
|
+
export declare const EnvironmentFeatureUsageTimeSeriesResponseData: core.serialization.ObjectSchema<serializers.EnvironmentFeatureUsageTimeSeriesResponseData.Raw, Schematic.EnvironmentFeatureUsageTimeSeriesResponseData>;
|
|
6
|
+
export declare namespace EnvironmentFeatureUsageTimeSeriesResponseData {
|
|
7
|
+
interface Raw {
|
|
8
|
+
event_subtype: string;
|
|
9
|
+
feature_id: string;
|
|
10
|
+
points: EnvironmentUsagePointResponseData.Raw[];
|
|
11
|
+
}
|
|
12
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type * as Schematic from "../../api/index";
|
|
2
|
+
import * as core from "../../core";
|
|
3
|
+
import type * as serializers from "../index";
|
|
4
|
+
import { EnvironmentUsagePointResponseData } from "./EnvironmentUsagePointResponseData";
|
|
5
|
+
export declare const EnvironmentTraitUsageTimeSeriesResponseData: core.serialization.ObjectSchema<serializers.EnvironmentTraitUsageTimeSeriesResponseData.Raw, Schematic.EnvironmentTraitUsageTimeSeriesResponseData>;
|
|
6
|
+
export declare namespace EnvironmentTraitUsageTimeSeriesResponseData {
|
|
7
|
+
interface Raw {
|
|
8
|
+
feature_id: string;
|
|
9
|
+
points: EnvironmentUsagePointResponseData.Raw[];
|
|
10
|
+
trait_definition_id: string;
|
|
11
|
+
}
|
|
12
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type * as Schematic from "../../api/index";
|
|
2
|
+
import * as core from "../../core";
|
|
3
|
+
import type * as serializers from "../index";
|
|
4
|
+
export declare const EnvironmentUsagePointResponseData: core.serialization.ObjectSchema<serializers.EnvironmentUsagePointResponseData.Raw, Schematic.EnvironmentUsagePointResponseData>;
|
|
5
|
+
export declare namespace EnvironmentUsagePointResponseData {
|
|
6
|
+
interface Raw {
|
|
7
|
+
timestamp: string;
|
|
8
|
+
usage: number;
|
|
9
|
+
}
|
|
10
|
+
}
|