@schematichq/schematic-typescript-node 1.4.6 → 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 +5 -20
- package/dist/api/resources/accounts/client/Client.d.ts +2 -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/billing/client/Client.d.ts +25 -0
- package/dist/api/resources/billing/client/requests/CountBillingProductsRequest.d.ts +4 -0
- package/dist/api/resources/billing/client/requests/CountCustomersRequest.d.ts +1 -0
- package/dist/api/resources/billing/client/requests/CreateBillingPriceRequestBody.d.ts +2 -0
- package/dist/api/resources/billing/client/requests/ListBillingPricesRequest.d.ts +2 -0
- package/dist/api/resources/billing/client/requests/ListBillingProductPricesRequest.d.ts +2 -0
- package/dist/api/resources/billing/client/requests/ListBillingProductsRequest.d.ts +4 -0
- package/dist/api/resources/billing/client/requests/ListCustomersWithSubscriptionsRequest.d.ts +1 -0
- 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 +6 -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 +18 -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 +8 -2
- 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 +10 -2
- 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 +1 -1
- 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 +82 -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/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 +6 -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 +70 -0
- package/dist/api/resources/plans/client/requests/CountPlansRequest.d.ts +10 -0
- package/dist/api/resources/plans/client/requests/CreateBillingLinkedPlanRequestBody.d.ts +1 -0
- 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/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/BillingCreditView.d.ts +1 -0
- package/dist/api/types/BillingPlanCreditGrantResponseData.d.ts +1 -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/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 +1 -0
- package/dist/api/types/ClerkIntegrationConfig.d.ts +6 -0
- package/dist/api/types/CompanyCreditBalanceResponseData.d.ts +7 -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 +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/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 +1 -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/CreditCurrencyPrice.d.ts +5 -0
- package/dist/api/types/CreditLeaseResponseData.d.ts +10 -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 +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 +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/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 +1 -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 +1 -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/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 +1 -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 +46 -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 +10 -1
- 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/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/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 +6 -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 +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/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/BillingCreditView.d.ts +2 -0
- package/dist/serialization/types/BillingPlanCreditGrantResponseData.d.ts +1 -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/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 +1 -0
- package/dist/serialization/types/ClerkIntegrationConfig.d.ts +10 -0
- package/dist/serialization/types/CompanyCreditBalanceResponseData.d.ts +13 -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 +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/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 +1 -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/CreditCurrencyPrice.d.ts +11 -0
- package/dist/serialization/types/CreditLeaseResponseData.d.ts +16 -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 +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 +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/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 +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/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 +1 -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/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 +1 -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 +46 -29
- 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 +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
|
@@ -1,8 +1,8 @@
|
|
|
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 {
|
|
4
|
+
import { RulesengineMetricPeriod } from "./RulesengineMetricPeriod";
|
|
5
|
+
import { RulesengineMetricPeriodMonthReset } from "./RulesengineMetricPeriodMonthReset";
|
|
6
6
|
export declare const RulesengineCompanyMetric: core.serialization.ObjectSchema<serializers.RulesengineCompanyMetric.Raw, Schematic.RulesengineCompanyMetric>;
|
|
7
7
|
export declare namespace RulesengineCompanyMetric {
|
|
8
8
|
interface Raw {
|
|
@@ -11,8 +11,8 @@ export declare namespace RulesengineCompanyMetric {
|
|
|
11
11
|
created_at: string;
|
|
12
12
|
environment_id: string;
|
|
13
13
|
event_subtype: string;
|
|
14
|
-
month_reset:
|
|
15
|
-
period:
|
|
14
|
+
month_reset: RulesengineMetricPeriodMonthReset.Raw;
|
|
15
|
+
period: RulesengineMetricPeriod.Raw;
|
|
16
16
|
valid_until?: string | null;
|
|
17
17
|
value: number;
|
|
18
18
|
}
|
|
@@ -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 { RulesengineConditionType } from "./RulesengineConditionType";
|
|
6
|
+
import { RulesengineMetricPeriod } from "./RulesengineMetricPeriod";
|
|
7
|
+
import { RulesengineMetricPeriodMonthReset } from "./RulesengineMetricPeriodMonthReset";
|
|
8
8
|
import { RulesengineTraitDefinition } from "./RulesengineTraitDefinition";
|
|
9
9
|
export declare const RulesengineCondition: core.serialization.ObjectSchema<serializers.RulesengineCondition.Raw, Schematic.RulesengineCondition>;
|
|
10
10
|
export declare namespace RulesengineCondition {
|
|
11
11
|
interface Raw {
|
|
12
12
|
account_id: string;
|
|
13
13
|
comparison_trait_definition?: RulesengineTraitDefinition.Raw | null;
|
|
14
|
-
condition_type:
|
|
14
|
+
condition_type: RulesengineConditionType.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?: RulesengineMetricPeriod.Raw | null;
|
|
21
|
+
metric_period_month_reset?: RulesengineMetricPeriodMonthReset.Raw | null;
|
|
22
22
|
metric_value?: number | null;
|
|
23
|
-
operator:
|
|
23
|
+
operator: ComparableOperator.Raw;
|
|
24
24
|
resource_ids: string[];
|
|
25
25
|
trait_definition?: RulesengineTraitDefinition.Raw | null;
|
|
26
26
|
trait_value: string;
|
|
@@ -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 RulesengineConditionType: core.serialization.Schema<serializers.RulesengineConditionType.Raw, Schematic.RulesengineConditionType>;
|
|
5
|
+
export declare namespace RulesengineConditionType {
|
|
6
6
|
type Raw = "base_plan" | "billing_product" | "company" | "credit" | "metric" | "plan" | "plan_version" | "trait" | "user";
|
|
7
7
|
}
|
|
@@ -2,8 +2,8 @@ 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 { RulesengineEntitlementValueType } from "./RulesengineEntitlementValueType";
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
5
|
+
import { RulesengineMetricPeriod } from "./RulesengineMetricPeriod";
|
|
6
|
+
import { RulesengineMetricPeriodMonthReset } from "./RulesengineMetricPeriodMonthReset";
|
|
7
7
|
export declare const RulesengineFeatureEntitlement: core.serialization.ObjectSchema<serializers.RulesengineFeatureEntitlement.Raw, Schematic.RulesengineFeatureEntitlement>;
|
|
8
8
|
export declare namespace RulesengineFeatureEntitlement {
|
|
9
9
|
interface Raw {
|
|
@@ -15,9 +15,9 @@ export declare namespace RulesengineFeatureEntitlement {
|
|
|
15
15
|
event_name?: string | null;
|
|
16
16
|
feature_id: string;
|
|
17
17
|
feature_key: string;
|
|
18
|
-
metric_period?:
|
|
18
|
+
metric_period?: RulesengineMetricPeriod.Raw | null;
|
|
19
19
|
metric_reset_at?: string | null;
|
|
20
|
-
month_reset?:
|
|
20
|
+
month_reset?: RulesengineMetricPeriodMonthReset.Raw | null;
|
|
21
21
|
soft_limit?: number | null;
|
|
22
22
|
usage?: number | null;
|
|
23
23
|
value_type: RulesengineEntitlementValueType.Raw;
|
|
@@ -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 RulesengineMetricPeriod: core.serialization.Schema<serializers.RulesengineMetricPeriod.Raw, Schematic.RulesengineMetricPeriod>;
|
|
5
|
+
export declare namespace RulesengineMetricPeriod {
|
|
6
|
+
type Raw = "all_time" | "current_day" | "current_month" | "current_week";
|
|
7
|
+
}
|
|
@@ -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 RulesengineMetricPeriodMonthReset: core.serialization.Schema<serializers.RulesengineMetricPeriodMonthReset.Raw, Schematic.RulesengineMetricPeriodMonthReset>;
|
|
5
|
+
export declare namespace RulesengineMetricPeriodMonthReset {
|
|
6
|
+
type Raw = "billing_cycle" | "first_of_month";
|
|
7
|
+
}
|
|
@@ -3,7 +3,7 @@ import * as core from "../../core";
|
|
|
3
3
|
import type * as serializers from "../index";
|
|
4
4
|
import { RulesengineCondition } from "./RulesengineCondition";
|
|
5
5
|
import { RulesengineConditionGroup } from "./RulesengineConditionGroup";
|
|
6
|
-
import {
|
|
6
|
+
import { RulesengineRuleType } from "./RulesengineRuleType";
|
|
7
7
|
export declare const RulesengineRule: core.serialization.ObjectSchema<serializers.RulesengineRule.Raw, Schematic.RulesengineRule>;
|
|
8
8
|
export declare namespace RulesengineRule {
|
|
9
9
|
interface Raw {
|
|
@@ -15,7 +15,7 @@ export declare namespace RulesengineRule {
|
|
|
15
15
|
id: string;
|
|
16
16
|
name: string;
|
|
17
17
|
priority: number;
|
|
18
|
-
rule_type:
|
|
18
|
+
rule_type: RulesengineRuleType.Raw;
|
|
19
19
|
value: boolean;
|
|
20
20
|
}
|
|
21
21
|
}
|
|
@@ -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 RulesengineRuleType: core.serialization.Schema<serializers.RulesengineRuleType.Raw, Schematic.RulesengineRuleType>;
|
|
5
|
+
export declare namespace RulesengineRuleType {
|
|
6
|
+
type Raw = "company_override" | "company_override_usage_exceeded" | "default" | "global_override" | "plan_entitlement" | "plan_entitlement_usage_exceeded" | "standard";
|
|
7
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
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 StripeIntegrationConfig: core.serialization.ObjectSchema<serializers.StripeIntegrationConfig.Raw, Schematic.StripeIntegrationConfig>;
|
|
5
|
+
export declare namespace StripeIntegrationConfig {
|
|
6
|
+
interface Raw {
|
|
7
|
+
account_id?: string | null;
|
|
8
|
+
account_name?: string | null;
|
|
9
|
+
company_update_only?: boolean | null;
|
|
10
|
+
is_sandbox: boolean;
|
|
11
|
+
live_mode: boolean;
|
|
12
|
+
onboard_url?: string | null;
|
|
13
|
+
}
|
|
14
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
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 TopFeatureByUsageResponseData: core.serialization.ObjectSchema<serializers.TopFeatureByUsageResponseData.Raw, Schematic.TopFeatureByUsageResponseData>;
|
|
5
|
+
export declare namespace TopFeatureByUsageResponseData {
|
|
6
|
+
interface Raw {
|
|
7
|
+
change_pct?: number | null;
|
|
8
|
+
feature_id: string;
|
|
9
|
+
feature_name: string;
|
|
10
|
+
plural_name?: string | null;
|
|
11
|
+
prior_usage: number;
|
|
12
|
+
usage: number;
|
|
13
|
+
}
|
|
14
|
+
}
|
|
@@ -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
|
+
import { TopFeatureByUsageResponseData } from "./TopFeatureByUsageResponseData";
|
|
5
|
+
export declare const TopFeaturesByUsageResponseData: core.serialization.ObjectSchema<serializers.TopFeaturesByUsageResponseData.Raw, Schematic.TopFeaturesByUsageResponseData>;
|
|
6
|
+
export declare namespace TopFeaturesByUsageResponseData {
|
|
7
|
+
interface Raw {
|
|
8
|
+
features: TopFeatureByUsageResponseData.Raw[];
|
|
9
|
+
}
|
|
10
|
+
}
|
|
@@ -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
|
+
export declare const UpdateAutoTopupOverrideRequestBody: core.serialization.ObjectSchema<serializers.UpdateAutoTopupOverrideRequestBody.Raw, Schematic.UpdateAutoTopupOverrideRequestBody>;
|
|
5
|
+
export declare namespace UpdateAutoTopupOverrideRequestBody {
|
|
6
|
+
interface Raw {
|
|
7
|
+
auto_topup_amount?: number | null;
|
|
8
|
+
auto_topup_enabled?: boolean | null;
|
|
9
|
+
auto_topup_threshold_credits?: number | null;
|
|
10
|
+
plan_credit_grant_id: string;
|
|
11
|
+
}
|
|
12
|
+
}
|
|
@@ -17,6 +17,7 @@ export declare namespace UpdateBillingPlanCreditGrantRequestBody {
|
|
|
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 | null;
|
|
@@ -2,14 +2,14 @@ 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 { EntitlementValueType } from "./EntitlementValueType";
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
5
|
+
import { MetricPeriod } from "./MetricPeriod";
|
|
6
|
+
import { MetricPeriodMonthReset } from "./MetricPeriodMonthReset";
|
|
7
7
|
export declare const UpdateEntitlementReqCommon: core.serialization.ObjectSchema<serializers.UpdateEntitlementReqCommon.Raw, Schematic.UpdateEntitlementReqCommon>;
|
|
8
8
|
export declare namespace UpdateEntitlementReqCommon {
|
|
9
9
|
interface Raw {
|
|
10
10
|
credit_consumption_rate?: number | null;
|
|
11
|
-
metric_period?:
|
|
12
|
-
metric_period_month_reset?:
|
|
11
|
+
metric_period?: MetricPeriod.Raw | null;
|
|
12
|
+
metric_period_month_reset?: MetricPeriodMonthReset.Raw | null;
|
|
13
13
|
value_bool?: boolean | null;
|
|
14
14
|
value_credit_id?: string | null;
|
|
15
15
|
value_numeric?: number | null;
|
|
@@ -1,12 +1,14 @@
|
|
|
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 { BillingStrategy } from "./BillingStrategy";
|
|
4
5
|
import { ChargeType } from "./ChargeType";
|
|
5
6
|
import { PlanCurrencyPriceRequestBody } from "./PlanCurrencyPriceRequestBody";
|
|
6
7
|
export declare const UpsertBillingProductRequestBody: core.serialization.ObjectSchema<serializers.UpsertBillingProductRequestBody.Raw, Schematic.UpsertBillingProductRequestBody>;
|
|
7
8
|
export declare namespace UpsertBillingProductRequestBody {
|
|
8
9
|
interface Raw {
|
|
9
10
|
billing_product_id?: string | null;
|
|
11
|
+
billing_strategy?: BillingStrategy.Raw | null;
|
|
10
12
|
charge_type: ChargeType.Raw;
|
|
11
13
|
currency?: string | null;
|
|
12
14
|
currency_prices?: PlanCurrencyPriceRequestBody.Raw[] | null;
|
|
@@ -15,6 +17,8 @@ export declare namespace UpsertBillingProductRequestBody {
|
|
|
15
17
|
monthly_price_id?: string | null;
|
|
16
18
|
one_time_price?: number | null;
|
|
17
19
|
one_time_price_id?: string | null;
|
|
20
|
+
quarterly_price?: number | null;
|
|
21
|
+
quarterly_price_id?: string | null;
|
|
18
22
|
trial_days?: number | null;
|
|
19
23
|
yearly_price?: number | null;
|
|
20
24
|
yearly_price_id?: string | null;
|
|
@@ -19,8 +19,13 @@ export declare namespace UsageBasedEntitlementRequestBody {
|
|
|
19
19
|
overage_billing_product_id?: string | null;
|
|
20
20
|
price_behavior?: EntitlementPriceBehavior.Raw | null;
|
|
21
21
|
price_tiers?: CreatePriceTierRequestBody.Raw[] | null;
|
|
22
|
+
quarterly_metered_price_id?: string | null;
|
|
23
|
+
quarterly_price_tiers?: CreatePriceTierRequestBody.Raw[] | null;
|
|
24
|
+
quarterly_unit_price?: number | null;
|
|
25
|
+
quarterly_unit_price_decimal?: string | null;
|
|
22
26
|
soft_limit?: number | null;
|
|
23
27
|
tier_mode?: BillingTiersMode.Raw | null;
|
|
28
|
+
usage_quantity?: number | null;
|
|
24
29
|
yearly_metered_price_id?: string | null;
|
|
25
30
|
yearly_price_tiers?: CreatePriceTierRequestBody.Raw[] | null;
|
|
26
31
|
yearly_unit_price?: number | null;
|
|
@@ -4,6 +4,8 @@ import type * as serializers from "../index";
|
|
|
4
4
|
import { BillingPriceView } from "./BillingPriceView";
|
|
5
5
|
import { EntitlementPriceBehavior } from "./EntitlementPriceBehavior";
|
|
6
6
|
import { EntitlementValueType } from "./EntitlementValueType";
|
|
7
|
+
import { MetricPeriod } from "./MetricPeriod";
|
|
8
|
+
import { MetricPeriodMonthReset } from "./MetricPeriodMonthReset";
|
|
7
9
|
export declare const UsageBasedEntitlementResponseData: core.serialization.ObjectSchema<serializers.UsageBasedEntitlementResponseData.Raw, Schematic.UsageBasedEntitlementResponseData>;
|
|
8
10
|
export declare namespace UsageBasedEntitlementResponseData {
|
|
9
11
|
interface Raw {
|
|
@@ -11,10 +13,12 @@ export declare namespace UsageBasedEntitlementResponseData {
|
|
|
11
13
|
consumption_rate?: number | null;
|
|
12
14
|
feature_id: string;
|
|
13
15
|
metered_price?: BillingPriceView.Raw | null;
|
|
14
|
-
metric_period?:
|
|
15
|
-
metric_period_month_reset?:
|
|
16
|
+
metric_period?: MetricPeriod.Raw | null;
|
|
17
|
+
metric_period_month_reset?: MetricPeriodMonthReset.Raw | null;
|
|
16
18
|
monthly_usage_based_price?: BillingPriceView.Raw | null;
|
|
17
19
|
price_behavior?: EntitlementPriceBehavior.Raw | null;
|
|
20
|
+
quarterly_usage_based_price?: BillingPriceView.Raw | null;
|
|
21
|
+
usage_quantity?: number | null;
|
|
18
22
|
value_bool?: boolean | null;
|
|
19
23
|
value_numeric?: number | null;
|
|
20
24
|
value_type: EntitlementValueType.Raw;
|
|
@@ -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 WorkOsIntegrationConfig: core.serialization.ObjectSchema<serializers.WorkOsIntegrationConfig.Raw, Schematic.WorkOsIntegrationConfig>;
|
|
5
|
+
export declare namespace WorkOsIntegrationConfig {
|
|
6
|
+
interface Raw {
|
|
7
|
+
first_events_received?: boolean | null;
|
|
8
|
+
webhook_url?: string | null;
|
|
9
|
+
}
|
|
10
|
+
}
|
|
@@ -1,9 +1,12 @@
|
|
|
1
1
|
export * from "./AccountMemberPermission";
|
|
2
2
|
export * from "./AccountMemberResponseData";
|
|
3
3
|
export * from "./AccountMemberRole";
|
|
4
|
+
export * from "./ActivityEntryResponseData";
|
|
5
|
+
export * from "./ActivityResponseResponseData";
|
|
4
6
|
export * from "./ActorType";
|
|
5
7
|
export * from "./ApiError";
|
|
6
8
|
export * from "./ApiKeyCreateResponseData";
|
|
9
|
+
export * from "./ApiKeyIntegrationResponseData";
|
|
7
10
|
export * from "./ApiKeyResponseData";
|
|
8
11
|
export * from "./ApiKeyScope";
|
|
9
12
|
export * from "./AuditLogListResponseData";
|
|
@@ -45,6 +48,7 @@ export * from "./BillingProductPriceTierResponseData";
|
|
|
45
48
|
export * from "./BillingProductPricing";
|
|
46
49
|
export * from "./BillingProductResponseData";
|
|
47
50
|
export * from "./BillingProviderType";
|
|
51
|
+
export * from "./BillingStrategy";
|
|
48
52
|
export * from "./BillingSubscriptionDiscount";
|
|
49
53
|
export * from "./BillingSubscriptionDiscountView";
|
|
50
54
|
export * from "./BillingSubscriptionResponseData";
|
|
@@ -63,18 +67,23 @@ export * from "./CheckFlagsResponseData";
|
|
|
63
67
|
export * from "./CheckoutDataResponseData";
|
|
64
68
|
export * from "./CheckoutSettingsResponseData";
|
|
65
69
|
export * from "./CheckoutSubscription";
|
|
70
|
+
export * from "./ClerkIntegrationConfig";
|
|
71
|
+
export * from "./CompanyCreditBalanceResponseData";
|
|
66
72
|
export * from "./CompanyDetailResponseData";
|
|
67
73
|
export * from "./CompanyEventPeriodMetricsResponseData";
|
|
68
74
|
export * from "./CompanyLedgerResponseData";
|
|
75
|
+
export * from "./CompanyMatchingCriteria";
|
|
69
76
|
export * from "./CompanyMembershipDetailResponseData";
|
|
70
77
|
export * from "./CompanyMembershipResponseData";
|
|
71
78
|
export * from "./CompanyOverrideNoteResponseData";
|
|
72
79
|
export * from "./CompanyOverrideResponseData";
|
|
80
|
+
export * from "./CompanyPlanCreditGrantView";
|
|
73
81
|
export * from "./CompanyPlanDetailResponseData";
|
|
74
82
|
export * from "./CompanyPlanInvalidReason";
|
|
75
83
|
export * from "./CompanyPlanWithBillingSubView";
|
|
76
84
|
export * from "./CompanyResponseData";
|
|
77
85
|
export * from "./CompanySubscriptionResponseData";
|
|
86
|
+
export * from "./ComparableOperator";
|
|
78
87
|
export * from "./CompatiblePlans";
|
|
79
88
|
export * from "./CompatiblePlansResponseData";
|
|
80
89
|
export * from "./ComponentCapabilities";
|
|
@@ -87,36 +96,25 @@ export * from "./ComponentResponseData";
|
|
|
87
96
|
export * from "./ComponentSettingsResponseData";
|
|
88
97
|
export * from "./ComponentState";
|
|
89
98
|
export * from "./Condition";
|
|
90
|
-
export * from "./ConditionConditionType";
|
|
91
99
|
export * from "./ConditionGroup";
|
|
92
100
|
export * from "./ConditionGroupResponseData";
|
|
93
101
|
export * from "./ConditionGroupView";
|
|
94
|
-
export * from "./ConditionMetricPeriod";
|
|
95
|
-
export * from "./ConditionMetricPeriodMonthReset";
|
|
96
|
-
export * from "./ConditionOperator";
|
|
97
102
|
export * from "./ConditionResponseData";
|
|
103
|
+
export * from "./ConditionType";
|
|
98
104
|
export * from "./ConditionView";
|
|
99
105
|
export * from "./CountResponse";
|
|
100
106
|
export * from "./CouponRequestBody";
|
|
101
107
|
export * from "./CreateBillingPlanCreditGrantRequestBody";
|
|
102
108
|
export * from "./CreateBillingPriceTierRequestBody";
|
|
109
|
+
export * from "./CreateCustomPlanBundlePlanRequestBody";
|
|
103
110
|
export * from "./CreateEntitlementInBundleRequestBody";
|
|
104
|
-
export * from "./CreateEntitlementInBundleRequestBodyMetricPeriod";
|
|
105
|
-
export * from "./CreateEntitlementInBundleRequestBodyMetricPeriodMonthReset";
|
|
106
111
|
export * from "./CreateEntitlementReqCommon";
|
|
107
|
-
export * from "./CreateEntitlementReqCommonMetricPeriod";
|
|
108
|
-
export * from "./CreateEntitlementReqCommonMetricPeriodMonthReset";
|
|
109
112
|
export * from "./CreateEventRequestBody";
|
|
110
113
|
export * from "./CreateFlagRequestBody";
|
|
111
114
|
export * from "./CreateOrUpdateConditionGroupRequestBody";
|
|
112
115
|
export * from "./CreateOrUpdateConditionRequestBody";
|
|
113
|
-
export * from "./CreateOrUpdateConditionRequestBodyConditionType";
|
|
114
|
-
export * from "./CreateOrUpdateConditionRequestBodyMetricPeriod";
|
|
115
|
-
export * from "./CreateOrUpdateConditionRequestBodyMetricPeriodMonthReset";
|
|
116
|
-
export * from "./CreateOrUpdateConditionRequestBodyOperator";
|
|
117
116
|
export * from "./CreateOrUpdateFlagRequestBody";
|
|
118
117
|
export * from "./CreateOrUpdateRuleRequestBody";
|
|
119
|
-
export * from "./CreateOrUpdateRuleRequestBodyRuleType";
|
|
120
118
|
export * from "./CreatePlanRequestBody";
|
|
121
119
|
export * from "./CreatePriceTierRequestBody";
|
|
122
120
|
export * from "./CreditAutoTopupAmountType";
|
|
@@ -125,6 +123,7 @@ export * from "./CreditBundleCurrencyPriceRequestBody";
|
|
|
125
123
|
export * from "./CreditBundleCurrencyPriceResponseData";
|
|
126
124
|
export * from "./CreditBundlePurchaseResponseData";
|
|
127
125
|
export * from "./CreditCompanyGrantView";
|
|
126
|
+
export * from "./CreditCurrencyPrice";
|
|
128
127
|
export * from "./CreditCurrencyPriceRequestBody";
|
|
129
128
|
export * from "./CreditCurrencyPriceResponseData";
|
|
130
129
|
export * from "./CreditEventLedgerResponseData";
|
|
@@ -132,6 +131,7 @@ export * from "./CreditEventType";
|
|
|
132
131
|
export * from "./CreditGrantDetail";
|
|
133
132
|
export * from "./CreditGrantExpiryRequestBody";
|
|
134
133
|
export * from "./CreditGrantSortOrder";
|
|
134
|
+
export * from "./CreditLeaseResponseData";
|
|
135
135
|
export * from "./CreditLedgerEnrichedEntryResponseData";
|
|
136
136
|
export * from "./CreditLedgerPeriod";
|
|
137
137
|
export * from "./CreditsAutoTopupCompanySummary";
|
|
@@ -173,8 +173,11 @@ export * from "./EntityTraitResponseData";
|
|
|
173
173
|
export * from "./EntityTraitValue";
|
|
174
174
|
export * from "./EntityType";
|
|
175
175
|
export * from "./EnvironmentDetailResponseData";
|
|
176
|
+
export * from "./EnvironmentFeatureUsageTimeSeriesResponseData";
|
|
176
177
|
export * from "./EnvironmentResponseData";
|
|
178
|
+
export * from "./EnvironmentTraitUsageTimeSeriesResponseData";
|
|
177
179
|
export * from "./EnvironmentType";
|
|
180
|
+
export * from "./EnvironmentUsagePointResponseData";
|
|
178
181
|
export * from "./EventBody";
|
|
179
182
|
export * from "./EventBodyFlagCheck";
|
|
180
183
|
export * from "./EventBodyIdentify";
|
|
@@ -189,8 +192,7 @@ export * from "./FeatureCompanyResponseData";
|
|
|
189
192
|
export * from "./FeatureCompanyUserResponseData";
|
|
190
193
|
export * from "./FeatureDetailResponseData";
|
|
191
194
|
export * from "./FeatureEntitlement";
|
|
192
|
-
export * from "./
|
|
193
|
-
export * from "./FeatureEntitlementMonthReset";
|
|
195
|
+
export * from "./FeatureInPlanResponseData";
|
|
194
196
|
export * from "./FeatureLedgerResponseData";
|
|
195
197
|
export * from "./FeatureLifecyclePhase";
|
|
196
198
|
export * from "./FeatureResponseData";
|
|
@@ -201,10 +203,19 @@ export * from "./FeatureUsageResponseData";
|
|
|
201
203
|
export * from "./FeatureUsageTimeSeriesResponseData";
|
|
202
204
|
export * from "./FeatureView";
|
|
203
205
|
export * from "./FlagDetailResponseData";
|
|
206
|
+
export * from "./FlagInPlanResponseData";
|
|
204
207
|
export * from "./FlagResponseData";
|
|
205
208
|
export * from "./FlagType";
|
|
206
209
|
export * from "./FlagView";
|
|
207
210
|
export * from "./GenericPreviewObject";
|
|
211
|
+
export * from "./InsightsSummaryResponseData";
|
|
212
|
+
export * from "./IntegrationCapabilities";
|
|
213
|
+
export * from "./IntegrationConfig";
|
|
214
|
+
export * from "./IntegrationResponseData";
|
|
215
|
+
export * from "./IntegrationState";
|
|
216
|
+
export * from "./IntegrationsDataSetResponseData";
|
|
217
|
+
export * from "./IntegrationsListResponseData";
|
|
218
|
+
export * from "./IntegrationsResponseData";
|
|
208
219
|
export * from "./IntegrationType";
|
|
209
220
|
export * from "./IntegrationWebhookUrlResponseData";
|
|
210
221
|
export * from "./InvoiceRequestBody";
|
|
@@ -216,7 +227,13 @@ export * from "./LimitTimeSeriesPointResponseData";
|
|
|
216
227
|
export * from "./ManagePlanPreviewResponseResponseData";
|
|
217
228
|
export * from "./ManagePlanRequest";
|
|
218
229
|
export * from "./ManagePlanResponseResponseData";
|
|
230
|
+
export * from "./MarkCustomPlanBillingPaidRequestBody";
|
|
219
231
|
export * from "./MeterRequestBody";
|
|
232
|
+
export * from "./MetricPeriod";
|
|
233
|
+
export * from "./MetricPeriodMonthReset";
|
|
234
|
+
export * from "./MigrationErrorCode";
|
|
235
|
+
export * from "./MrrResponseData";
|
|
236
|
+
export * from "./OrbIntegrationConfig";
|
|
220
237
|
export * from "./OrderedPlansInGroup";
|
|
221
238
|
export * from "./PaymentMethodRequestBody";
|
|
222
239
|
export * from "./PaymentMethodResponseData";
|
|
@@ -239,8 +256,11 @@ export * from "./PlanGroupDetailResponseData";
|
|
|
239
256
|
export * from "./PlanGroupPlanDetailResponseData";
|
|
240
257
|
export * from "./PlanGroupPlanEntitlementsOrder";
|
|
241
258
|
export * from "./PlanGroupResponseData";
|
|
259
|
+
export * from "./PlanGrowthPointResponseData";
|
|
260
|
+
export * from "./PlanGrowthResponseData";
|
|
242
261
|
export * from "./PlanIcon";
|
|
243
262
|
export * from "./PlanIssueResponseData";
|
|
263
|
+
export * from "./PlanPriceCadence";
|
|
244
264
|
export * from "./PlanResponseData";
|
|
245
265
|
export * from "./PlanSelection";
|
|
246
266
|
export * from "./PlanSnapshotView";
|
|
@@ -265,6 +285,7 @@ export * from "./PublicPlansResponseData";
|
|
|
265
285
|
export * from "./QuickstartResp";
|
|
266
286
|
export * from "./RawEventBatchResponseData";
|
|
267
287
|
export * from "./RawEventResponseData";
|
|
288
|
+
export * from "./ReleaseCreditLeaseRequestBody";
|
|
268
289
|
export * from "./Rule";
|
|
269
290
|
export * from "./RuleConditionDetailResponseData";
|
|
270
291
|
export * from "./RuleConditionGroupDetailResponseData";
|
|
@@ -272,35 +293,28 @@ export * from "./RuleConditionGroupResponseData";
|
|
|
272
293
|
export * from "./RuleConditionResponseData";
|
|
273
294
|
export * from "./RuleDetailResponseData";
|
|
274
295
|
export * from "./RuleResponseData";
|
|
275
|
-
export * from "./RuleRuleType";
|
|
276
296
|
export * from "./RulesDetailResponseData";
|
|
277
297
|
export * from "./RulesEngineSchemaVersion";
|
|
278
298
|
export * from "./RulesengineCheckFlagResult";
|
|
279
|
-
export * from "./RulesengineCheckFlagResultFeatureUsagePeriod";
|
|
280
|
-
export * from "./RulesengineCheckFlagResultRuleType";
|
|
281
299
|
export * from "./RulesengineCompany";
|
|
282
300
|
export * from "./RulesengineCompanyMetric";
|
|
283
|
-
export * from "./RulesengineCompanyMetricMonthReset";
|
|
284
|
-
export * from "./RulesengineCompanyMetricPeriod";
|
|
285
301
|
export * from "./RulesengineCondition";
|
|
286
|
-
export * from "./RulesengineConditionConditionType";
|
|
287
302
|
export * from "./RulesengineConditionGroup";
|
|
288
|
-
export * from "./
|
|
289
|
-
export * from "./RulesengineConditionMetricPeriodMonthReset";
|
|
290
|
-
export * from "./RulesengineConditionOperator";
|
|
303
|
+
export * from "./RulesengineConditionType";
|
|
291
304
|
export * from "./RulesengineEntitlementValueType";
|
|
292
305
|
export * from "./RulesengineEntityType";
|
|
293
306
|
export * from "./RulesengineFeatureEntitlement";
|
|
294
|
-
export * from "./RulesengineFeatureEntitlementMetricPeriod";
|
|
295
|
-
export * from "./RulesengineFeatureEntitlementMonthReset";
|
|
296
307
|
export * from "./RulesengineFlag";
|
|
308
|
+
export * from "./RulesengineMetricPeriod";
|
|
309
|
+
export * from "./RulesengineMetricPeriodMonthReset";
|
|
297
310
|
export * from "./RulesengineRule";
|
|
298
|
-
export * from "./
|
|
311
|
+
export * from "./RulesengineRuleType";
|
|
299
312
|
export * from "./RulesengineSubscription";
|
|
300
313
|
export * from "./RulesengineTrait";
|
|
301
314
|
export * from "./RulesengineTraitDefinition";
|
|
302
315
|
export * from "./RulesengineTraitDefinitionComparableType";
|
|
303
316
|
export * from "./RulesengineUser";
|
|
317
|
+
export * from "./RuleType";
|
|
304
318
|
export * from "./RuleView";
|
|
305
319
|
export * from "./ScheduledCheckoutResponseData";
|
|
306
320
|
export * from "./ScheduledCheckoutStatus";
|
|
@@ -311,22 +325,24 @@ export * from "./SkippedEntitlementErrorResponseData";
|
|
|
311
325
|
export * from "./SkippedEntitlementResponseData";
|
|
312
326
|
export * from "./SortDirection";
|
|
313
327
|
export * from "./StripeEmbedInfo";
|
|
328
|
+
export * from "./StripeIntegrationConfig";
|
|
314
329
|
export * from "./SubscriptionStatus";
|
|
315
330
|
export * from "./SubscriptionTraitUpdate";
|
|
316
331
|
export * from "./SubscriptionType";
|
|
317
332
|
export * from "./TemporaryAccessTokenResourceType";
|
|
318
333
|
export * from "./TemporaryAccessTokenResponseData";
|
|
319
334
|
export * from "./TimeSeriesGranularity";
|
|
335
|
+
export * from "./TopFeatureByUsageResponseData";
|
|
336
|
+
export * from "./TopFeaturesByUsageResponseData";
|
|
320
337
|
export * from "./TraitDefinition";
|
|
321
338
|
export * from "./TraitDefinitionComparableType";
|
|
322
339
|
export * from "./TraitType";
|
|
323
340
|
export * from "./TrialStatus";
|
|
324
341
|
export * from "./UpdateAddOnRequestBody";
|
|
342
|
+
export * from "./UpdateAutoTopupOverrideRequestBody";
|
|
325
343
|
export * from "./UpdateBillingPlanCreditGrantRequestBody";
|
|
326
344
|
export * from "./UpdateCreditBundleRequestBody";
|
|
327
345
|
export * from "./UpdateEntitlementReqCommon";
|
|
328
|
-
export * from "./UpdateEntitlementReqCommonMetricPeriod";
|
|
329
|
-
export * from "./UpdateEntitlementReqCommonMetricPeriodMonthReset";
|
|
330
346
|
export * from "./UpdatePayInAdvanceRequestBody";
|
|
331
347
|
export * from "./UpdatePlanRequestBody";
|
|
332
348
|
export * from "./UpdatePlanTraitTraitRequestBody";
|
|
@@ -351,3 +367,4 @@ export * from "./WebhookStatus";
|
|
|
351
367
|
export * from "./WebhookUrl";
|
|
352
368
|
export * from "./WebScheduledDowngradeWebhookOutput";
|
|
353
369
|
export * from "./WhoAmIResponseData";
|
|
370
|
+
export * from "./WorkOsIntegrationConfig";
|
|
@@ -5,6 +5,7 @@ export class RulesEngineJS {
|
|
|
5
5
|
free(): void;
|
|
6
6
|
[Symbol.dispose](): void;
|
|
7
7
|
checkFlag(flag_json: string, company_json?: string | null, user_json?: string | null): string;
|
|
8
|
+
checkFlagWithOptions(flag_json: string, company_json?: string | null, user_json?: string | null, options_json?: string | null): string;
|
|
8
9
|
getVersionKey(): string;
|
|
9
10
|
constructor();
|
|
10
11
|
}
|