@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
|
@@ -1,6 +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 { ApiKeyResponseData } from "./ApiKeyResponseData";
|
|
4
5
|
import { EventStatus } from "./EventStatus";
|
|
5
6
|
import { EventType } from "./EventType";
|
|
6
7
|
import { PreviewObject } from "./PreviewObject";
|
|
@@ -8,6 +9,7 @@ export declare const EventDetailResponseData: core.serialization.ObjectSchema<se
|
|
|
8
9
|
export declare namespace EventDetailResponseData {
|
|
9
10
|
interface Raw {
|
|
10
11
|
api_key?: string | null;
|
|
12
|
+
api_key_view?: ApiKeyResponseData.Raw | null;
|
|
11
13
|
body: Record<string, unknown>;
|
|
12
14
|
body_preview: string;
|
|
13
15
|
captured_at: string;
|
|
@@ -19,6 +21,8 @@ export declare namespace EventDetailResponseData {
|
|
|
19
21
|
feature_ids: string[];
|
|
20
22
|
features: PreviewObject.Raw[];
|
|
21
23
|
id: string;
|
|
24
|
+
idempotency_key?: string | null;
|
|
25
|
+
lease_id?: string | null;
|
|
22
26
|
loaded_at?: string | null;
|
|
23
27
|
processed_at?: string | null;
|
|
24
28
|
quantity: number;
|
|
@@ -16,6 +16,8 @@ export declare namespace EventResponseData {
|
|
|
16
16
|
error_message?: string | null;
|
|
17
17
|
feature_ids: string[];
|
|
18
18
|
id: string;
|
|
19
|
+
idempotency_key?: string | null;
|
|
20
|
+
lease_id?: string | null;
|
|
19
21
|
loaded_at?: string | null;
|
|
20
22
|
processed_at?: string | null;
|
|
21
23
|
quantity: number;
|
|
@@ -11,7 +11,9 @@ import { CreditUsageAggregation } from "./CreditUsageAggregation";
|
|
|
11
11
|
import { EntitlementPriceBehavior } from "./EntitlementPriceBehavior";
|
|
12
12
|
import { EntitlementType } from "./EntitlementType";
|
|
13
13
|
import { EntitlementValueType } from "./EntitlementValueType";
|
|
14
|
-
import {
|
|
14
|
+
import { FeatureInPlanResponseData } from "./FeatureInPlanResponseData";
|
|
15
|
+
import { MetricPeriod } from "./MetricPeriod";
|
|
16
|
+
import { MetricPeriodMonthReset } from "./MetricPeriodMonthReset";
|
|
15
17
|
import { PlanEntitlementResponseData } from "./PlanEntitlementResponseData";
|
|
16
18
|
import { PlanResponseData } from "./PlanResponseData";
|
|
17
19
|
export declare const FeatureCompanyResponseData: core.serialization.ObjectSchema<serializers.FeatureCompanyResponseData.Raw, Schematic.FeatureCompanyResponseData>;
|
|
@@ -38,18 +40,19 @@ export declare namespace FeatureCompanyResponseData {
|
|
|
38
40
|
entitlement_id: string;
|
|
39
41
|
entitlement_source?: string | null;
|
|
40
42
|
entitlement_type: EntitlementType.Raw;
|
|
41
|
-
feature?:
|
|
43
|
+
feature?: FeatureInPlanResponseData.Raw | null;
|
|
42
44
|
has_valid_allocation?: boolean | null;
|
|
43
45
|
is_unlimited?: boolean | null;
|
|
44
46
|
metric_reset_at?: string | null;
|
|
45
|
-
month_reset?:
|
|
47
|
+
month_reset?: MetricPeriodMonthReset.Raw | null;
|
|
46
48
|
monthly_usage_based_price?: BillingPriceView.Raw | null;
|
|
47
49
|
overuse?: number | null;
|
|
48
50
|
percent_used?: number | null;
|
|
49
|
-
period?:
|
|
51
|
+
period?: MetricPeriod.Raw | null;
|
|
50
52
|
plan?: PlanResponseData.Raw | null;
|
|
51
53
|
plan_entitlement?: PlanEntitlementResponseData.Raw | null;
|
|
52
54
|
price_behavior?: EntitlementPriceBehavior.Raw | null;
|
|
55
|
+
quarterly_usage_based_price?: BillingPriceView.Raw | null;
|
|
53
56
|
soft_limit?: number | null;
|
|
54
57
|
usage?: number | null;
|
|
55
58
|
yearly_usage_based_price?: BillingPriceView.Raw | null;
|
|
@@ -5,6 +5,8 @@ import { CompanyDetailResponseData } from "./CompanyDetailResponseData";
|
|
|
5
5
|
import { EntitlementType } from "./EntitlementType";
|
|
6
6
|
import { EntitlementValueType } from "./EntitlementValueType";
|
|
7
7
|
import { FeatureDetailResponseData } from "./FeatureDetailResponseData";
|
|
8
|
+
import { MetricPeriod } from "./MetricPeriod";
|
|
9
|
+
import { MetricPeriodMonthReset } from "./MetricPeriodMonthReset";
|
|
8
10
|
import { PlanResponseData } from "./PlanResponseData";
|
|
9
11
|
import { UserResponseData } from "./UserResponseData";
|
|
10
12
|
export declare const FeatureCompanyUserResponseData: core.serialization.ObjectSchema<serializers.FeatureCompanyUserResponseData.Raw, Schematic.FeatureCompanyUserResponseData>;
|
|
@@ -18,8 +20,8 @@ export declare namespace FeatureCompanyUserResponseData {
|
|
|
18
20
|
entitlement_type: EntitlementType.Raw;
|
|
19
21
|
feature?: FeatureDetailResponseData.Raw | null;
|
|
20
22
|
metric_reset_at?: string | null;
|
|
21
|
-
month_reset?:
|
|
22
|
-
period?:
|
|
23
|
+
month_reset?: MetricPeriodMonthReset.Raw | null;
|
|
24
|
+
period?: MetricPeriod.Raw | null;
|
|
23
25
|
plan?: PlanResponseData.Raw | null;
|
|
24
26
|
usage?: number | null;
|
|
25
27
|
user?: UserResponseData.Raw | null;
|
|
@@ -1,6 +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 { AccountMemberResponseData } from "./AccountMemberResponseData";
|
|
4
5
|
import { BillingLinkedResourceResponseData } from "./BillingLinkedResourceResponseData";
|
|
5
6
|
import { EntityTraitDefinitionResponseData } from "./EntityTraitDefinitionResponseData";
|
|
6
7
|
import { EventSummaryResponseData } from "./EventSummaryResponseData";
|
|
@@ -21,7 +22,8 @@ export declare namespace FeatureDetailResponseData {
|
|
|
21
22
|
icon: string;
|
|
22
23
|
id: string;
|
|
23
24
|
lifecycle_phase?: FeatureLifecyclePhase.Raw | null;
|
|
24
|
-
|
|
25
|
+
maintainer?: AccountMemberResponseData.Raw | null;
|
|
26
|
+
maintainer_account_member_id?: string | null;
|
|
25
27
|
name: string;
|
|
26
28
|
plans: PreviewObject.Raw[];
|
|
27
29
|
plural_name?: string | null;
|
|
@@ -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 { EntitlementValueType } from "./EntitlementValueType";
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
5
|
+
import { MetricPeriod } from "./MetricPeriod";
|
|
6
|
+
import { MetricPeriodMonthReset } from "./MetricPeriodMonthReset";
|
|
7
7
|
export declare const FeatureEntitlement: core.serialization.ObjectSchema<serializers.FeatureEntitlement.Raw, Schematic.FeatureEntitlement>;
|
|
8
8
|
export declare namespace FeatureEntitlement {
|
|
9
9
|
interface Raw {
|
|
@@ -15,9 +15,9 @@ export declare namespace FeatureEntitlement {
|
|
|
15
15
|
event_name?: string | null;
|
|
16
16
|
feature_id: string;
|
|
17
17
|
feature_key: string;
|
|
18
|
-
metric_period?:
|
|
18
|
+
metric_period?: MetricPeriod.Raw | null;
|
|
19
19
|
metric_reset_at?: string | null;
|
|
20
|
-
month_reset?:
|
|
20
|
+
month_reset?: MetricPeriodMonthReset.Raw | null;
|
|
21
21
|
soft_limit?: number | null;
|
|
22
22
|
usage?: number | null;
|
|
23
23
|
value_type: EntitlementValueType.Raw;
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import type * as Schematic from "../../api/index";
|
|
2
|
+
import * as core from "../../core";
|
|
3
|
+
import type * as serializers from "../index";
|
|
4
|
+
import { BillingLinkedResourceResponseData } from "./BillingLinkedResourceResponseData";
|
|
5
|
+
import { EntityTraitDefinitionResponseData } from "./EntityTraitDefinitionResponseData";
|
|
6
|
+
import { EventSummaryResponseData } from "./EventSummaryResponseData";
|
|
7
|
+
import { FeatureLifecyclePhase } from "./FeatureLifecyclePhase";
|
|
8
|
+
import { FeatureType } from "./FeatureType";
|
|
9
|
+
import { FlagInPlanResponseData } from "./FlagInPlanResponseData";
|
|
10
|
+
import { PreviewObject } from "./PreviewObject";
|
|
11
|
+
export declare const FeatureInPlanResponseData: core.serialization.ObjectSchema<serializers.FeatureInPlanResponseData.Raw, Schematic.FeatureInPlanResponseData>;
|
|
12
|
+
export declare namespace FeatureInPlanResponseData {
|
|
13
|
+
interface Raw {
|
|
14
|
+
billing_linked_resource?: BillingLinkedResourceResponseData.Raw | null;
|
|
15
|
+
created_at: string;
|
|
16
|
+
description: string;
|
|
17
|
+
event_subtype?: string | null;
|
|
18
|
+
event_summary?: EventSummaryResponseData.Raw | null;
|
|
19
|
+
feature_type: FeatureType.Raw;
|
|
20
|
+
flags: FlagInPlanResponseData.Raw[];
|
|
21
|
+
icon: string;
|
|
22
|
+
id: string;
|
|
23
|
+
lifecycle_phase?: FeatureLifecyclePhase.Raw | null;
|
|
24
|
+
maintainer_account_member_id?: string | null;
|
|
25
|
+
name: string;
|
|
26
|
+
plans: PreviewObject.Raw[];
|
|
27
|
+
plural_name?: string | null;
|
|
28
|
+
singular_name?: string | null;
|
|
29
|
+
trait?: EntityTraitDefinitionResponseData.Raw | null;
|
|
30
|
+
trait_id?: string | null;
|
|
31
|
+
updated_at: string;
|
|
32
|
+
}
|
|
33
|
+
}
|
|
@@ -13,7 +13,7 @@ export declare namespace FeatureResponseData {
|
|
|
13
13
|
icon: string;
|
|
14
14
|
id: string;
|
|
15
15
|
lifecycle_phase?: FeatureLifecyclePhase.Raw | null;
|
|
16
|
-
|
|
16
|
+
maintainer_account_member_id?: string | null;
|
|
17
17
|
name: string;
|
|
18
18
|
plural_name?: string | null;
|
|
19
19
|
singular_name?: string | null;
|
|
@@ -9,7 +9,9 @@ import { CreditUsageAggregation } from "./CreditUsageAggregation";
|
|
|
9
9
|
import { EntitlementPriceBehavior } from "./EntitlementPriceBehavior";
|
|
10
10
|
import { EntitlementType } from "./EntitlementType";
|
|
11
11
|
import { EntitlementValueType } from "./EntitlementValueType";
|
|
12
|
-
import {
|
|
12
|
+
import { FeatureInPlanResponseData } from "./FeatureInPlanResponseData";
|
|
13
|
+
import { MetricPeriod } from "./MetricPeriod";
|
|
14
|
+
import { MetricPeriodMonthReset } from "./MetricPeriodMonthReset";
|
|
13
15
|
import { PlanEntitlementResponseData } from "./PlanEntitlementResponseData";
|
|
14
16
|
import { PlanResponseData } from "./PlanResponseData";
|
|
15
17
|
export declare const FeatureUsageResponseData: core.serialization.ObjectSchema<serializers.FeatureUsageResponseData.Raw, Schematic.FeatureUsageResponseData>;
|
|
@@ -34,18 +36,19 @@ export declare namespace FeatureUsageResponseData {
|
|
|
34
36
|
entitlement_id: string;
|
|
35
37
|
entitlement_source?: string | null;
|
|
36
38
|
entitlement_type: EntitlementType.Raw;
|
|
37
|
-
feature?:
|
|
39
|
+
feature?: FeatureInPlanResponseData.Raw | null;
|
|
38
40
|
has_valid_allocation?: boolean | null;
|
|
39
41
|
is_unlimited?: boolean | null;
|
|
40
42
|
metric_reset_at?: string | null;
|
|
41
|
-
month_reset?:
|
|
43
|
+
month_reset?: MetricPeriodMonthReset.Raw | null;
|
|
42
44
|
monthly_usage_based_price?: BillingPriceView.Raw | null;
|
|
43
45
|
overuse?: number | null;
|
|
44
46
|
percent_used?: number | null;
|
|
45
|
-
period?:
|
|
47
|
+
period?: MetricPeriod.Raw | null;
|
|
46
48
|
plan?: PlanResponseData.Raw | null;
|
|
47
49
|
plan_entitlement?: PlanEntitlementResponseData.Raw | null;
|
|
48
50
|
price_behavior?: EntitlementPriceBehavior.Raw | null;
|
|
51
|
+
quarterly_usage_based_price?: BillingPriceView.Raw | null;
|
|
49
52
|
soft_limit?: number | null;
|
|
50
53
|
usage?: number | null;
|
|
51
54
|
yearly_usage_based_price?: BillingPriceView.Raw | null;
|
|
@@ -22,7 +22,6 @@ export declare namespace FeatureView {
|
|
|
22
22
|
icon: string;
|
|
23
23
|
id: string;
|
|
24
24
|
lifecycle_phase?: FeatureLifecyclePhase.Raw | null;
|
|
25
|
-
maintainer_id?: string | null;
|
|
26
25
|
name: string;
|
|
27
26
|
plans: PreviewObject.Raw[];
|
|
28
27
|
plural_name?: string | null;
|
|
@@ -30,5 +29,6 @@ export declare namespace FeatureView {
|
|
|
30
29
|
trait?: EntityTraitDefinitionResponseData.Raw | null;
|
|
31
30
|
trait_id?: string | null;
|
|
32
31
|
updated_at: string;
|
|
32
|
+
usage_limit_trait_id?: string | null;
|
|
33
33
|
}
|
|
34
34
|
}
|
|
@@ -1,6 +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 { AccountMemberResponseData } from "./AccountMemberResponseData";
|
|
4
5
|
import { FeatureResponseData } from "./FeatureResponseData";
|
|
5
6
|
import { FlagType } from "./FlagType";
|
|
6
7
|
import { RuleDetailResponseData } from "./RuleDetailResponseData";
|
|
@@ -16,7 +17,8 @@ export declare namespace FlagDetailResponseData {
|
|
|
16
17
|
id: string;
|
|
17
18
|
key: string;
|
|
18
19
|
last_checked_at?: string | null;
|
|
19
|
-
|
|
20
|
+
maintainer?: AccountMemberResponseData.Raw | null;
|
|
21
|
+
maintainer_account_member_id?: string | null;
|
|
20
22
|
name: string;
|
|
21
23
|
rules: RuleDetailResponseData.Raw[];
|
|
22
24
|
updated_at: string;
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import type * as Schematic from "../../api/index";
|
|
2
|
+
import * as core from "../../core";
|
|
3
|
+
import type * as serializers from "../index";
|
|
4
|
+
import { FeatureResponseData } from "./FeatureResponseData";
|
|
5
|
+
import { FlagType } from "./FlagType";
|
|
6
|
+
import { RuleDetailResponseData } from "./RuleDetailResponseData";
|
|
7
|
+
export declare const FlagInPlanResponseData: core.serialization.ObjectSchema<serializers.FlagInPlanResponseData.Raw, Schematic.FlagInPlanResponseData>;
|
|
8
|
+
export declare namespace FlagInPlanResponseData {
|
|
9
|
+
interface Raw {
|
|
10
|
+
created_at: string;
|
|
11
|
+
default_value: boolean;
|
|
12
|
+
description: string;
|
|
13
|
+
feature?: FeatureResponseData.Raw | null;
|
|
14
|
+
feature_id?: string | null;
|
|
15
|
+
flag_type: FlagType.Raw;
|
|
16
|
+
id: string;
|
|
17
|
+
key: string;
|
|
18
|
+
last_checked_at?: string | null;
|
|
19
|
+
maintainer_account_member_id?: string | null;
|
|
20
|
+
name: string;
|
|
21
|
+
rules: RuleDetailResponseData.Raw[];
|
|
22
|
+
updated_at: string;
|
|
23
|
+
}
|
|
24
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import type * as Schematic from "../../api/index";
|
|
2
|
+
import * as core from "../../core";
|
|
3
|
+
import type * as serializers from "../index";
|
|
4
|
+
import { MrrResponseData } from "./MrrResponseData";
|
|
5
|
+
export declare const InsightsSummaryResponseData: core.serialization.ObjectSchema<serializers.InsightsSummaryResponseData.Raw, Schematic.InsightsSummaryResponseData>;
|
|
6
|
+
export declare namespace InsightsSummaryResponseData {
|
|
7
|
+
interface Raw {
|
|
8
|
+
active_credits: number;
|
|
9
|
+
mrr: MrrResponseData.Raw[];
|
|
10
|
+
paid_companies: number;
|
|
11
|
+
total_companies: number;
|
|
12
|
+
total_features: number;
|
|
13
|
+
total_plans: number;
|
|
14
|
+
}
|
|
15
|
+
}
|
|
@@ -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
|
+
import { CompanyMatchingCriteria } from "./CompanyMatchingCriteria";
|
|
5
|
+
import { IntegrationType } from "./IntegrationType";
|
|
6
|
+
export declare const InstallIntegrationRequestBody: core.serialization.ObjectSchema<serializers.InstallIntegrationRequestBody.Raw, Schematic.InstallIntegrationRequestBody>;
|
|
7
|
+
export declare namespace InstallIntegrationRequestBody {
|
|
8
|
+
interface Raw {
|
|
9
|
+
company_matching_criteria?: CompanyMatchingCriteria.Raw | null;
|
|
10
|
+
company_matching_field?: string | null;
|
|
11
|
+
config?: Record<string, unknown> | null;
|
|
12
|
+
is_sandbox?: boolean | null;
|
|
13
|
+
live_mode?: boolean | null;
|
|
14
|
+
type: IntegrationType.Raw;
|
|
15
|
+
}
|
|
16
|
+
}
|
|
@@ -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
|
+
export declare const IntegrationCapabilities: core.serialization.ObjectSchema<serializers.IntegrationCapabilities.Raw, Schematic.IntegrationCapabilities>;
|
|
5
|
+
export declare namespace IntegrationCapabilities {
|
|
6
|
+
interface Raw {
|
|
7
|
+
author_plans: boolean;
|
|
8
|
+
checkout: boolean;
|
|
9
|
+
edit_billing: boolean;
|
|
10
|
+
}
|
|
11
|
+
}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import type * as Schematic from "../../api/index";
|
|
2
|
+
import * as core from "../../core";
|
|
3
|
+
import type * as serializers from "../index";
|
|
4
|
+
import { ClerkIntegrationConfig } from "./ClerkIntegrationConfig";
|
|
5
|
+
import { MetronomeIntegrationConfig } from "./MetronomeIntegrationConfig";
|
|
6
|
+
import { OrbIntegrationConfig } from "./OrbIntegrationConfig";
|
|
7
|
+
import { StripeIntegrationConfig } from "./StripeIntegrationConfig";
|
|
8
|
+
import { WorkOsIntegrationConfig } from "./WorkOsIntegrationConfig";
|
|
9
|
+
export declare const IntegrationConfig: core.serialization.Schema<serializers.IntegrationConfig.Raw, Schematic.IntegrationConfig>;
|
|
10
|
+
export declare namespace IntegrationConfig {
|
|
11
|
+
type Raw = IntegrationConfig.Clerk | IntegrationConfig.Metronome | IntegrationConfig.Orb | IntegrationConfig.Stripe | IntegrationConfig.Workos;
|
|
12
|
+
interface Clerk extends ClerkIntegrationConfig.Raw {
|
|
13
|
+
type: "clerk";
|
|
14
|
+
}
|
|
15
|
+
interface Metronome extends MetronomeIntegrationConfig.Raw {
|
|
16
|
+
type: "metronome";
|
|
17
|
+
}
|
|
18
|
+
interface Orb extends OrbIntegrationConfig.Raw {
|
|
19
|
+
type: "orb";
|
|
20
|
+
}
|
|
21
|
+
interface Stripe extends StripeIntegrationConfig.Raw {
|
|
22
|
+
type: "stripe";
|
|
23
|
+
}
|
|
24
|
+
interface Workos extends WorkOsIntegrationConfig.Raw {
|
|
25
|
+
type: "workos";
|
|
26
|
+
}
|
|
27
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import type * as Schematic from "../../api/index";
|
|
2
|
+
import * as core from "../../core";
|
|
3
|
+
import type * as serializers from "../index";
|
|
4
|
+
import { CompanyMatchingCriteria } from "./CompanyMatchingCriteria";
|
|
5
|
+
import { IntegrationConfig } from "./IntegrationConfig";
|
|
6
|
+
export declare const IntegrationInstallConfig: core.serialization.ObjectSchema<serializers.IntegrationInstallConfig.Raw, Schematic.IntegrationInstallConfig>;
|
|
7
|
+
export declare namespace IntegrationInstallConfig {
|
|
8
|
+
interface Raw {
|
|
9
|
+
company_matching_criteria?: CompanyMatchingCriteria.Raw | null;
|
|
10
|
+
company_matching_field?: string | null;
|
|
11
|
+
config?: IntegrationConfig.Raw | null;
|
|
12
|
+
created_at: string;
|
|
13
|
+
id: string;
|
|
14
|
+
integration_id: string;
|
|
15
|
+
is_app_install: boolean;
|
|
16
|
+
is_connect_install: boolean;
|
|
17
|
+
live_mode: boolean;
|
|
18
|
+
updated_at: string;
|
|
19
|
+
}
|
|
20
|
+
}
|
|
@@ -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
|
+
import { IntegrationCapabilities } from "./IntegrationCapabilities";
|
|
5
|
+
import { IntegrationInstallConfig } from "./IntegrationInstallConfig";
|
|
6
|
+
import { IntegrationResponseData } from "./IntegrationResponseData";
|
|
7
|
+
export declare const IntegrationInstallResponseData: core.serialization.ObjectSchema<serializers.IntegrationInstallResponseData.Raw, Schematic.IntegrationInstallResponseData>;
|
|
8
|
+
export declare namespace IntegrationInstallResponseData {
|
|
9
|
+
interface Raw {
|
|
10
|
+
capabilities: IntegrationCapabilities.Raw;
|
|
11
|
+
config: IntegrationInstallConfig.Raw;
|
|
12
|
+
integration: IntegrationResponseData.Raw;
|
|
13
|
+
}
|
|
14
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import type * as Schematic from "../../api/index";
|
|
2
|
+
import * as core from "../../core";
|
|
3
|
+
import type * as serializers from "../index";
|
|
4
|
+
import { IntegrationState } from "./IntegrationState";
|
|
5
|
+
import { IntegrationType } from "./IntegrationType";
|
|
6
|
+
export declare const IntegrationResponseData: core.serialization.ObjectSchema<serializers.IntegrationResponseData.Raw, Schematic.IntegrationResponseData>;
|
|
7
|
+
export declare namespace IntegrationResponseData {
|
|
8
|
+
interface Raw {
|
|
9
|
+
created_at: string;
|
|
10
|
+
id: string;
|
|
11
|
+
state: IntegrationState.Raw;
|
|
12
|
+
type: IntegrationType.Raw;
|
|
13
|
+
updated_at: string;
|
|
14
|
+
}
|
|
15
|
+
}
|
|
@@ -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 IntegrationState: core.serialization.Schema<serializers.IntegrationState.Raw, Schematic.IntegrationState>;
|
|
5
|
+
export declare namespace IntegrationState {
|
|
6
|
+
type Raw = "active" | "created" | "pending";
|
|
7
|
+
}
|
|
@@ -3,5 +3,5 @@ import * as core from "../../core";
|
|
|
3
3
|
import type * as serializers from "../index";
|
|
4
4
|
export declare const IntegrationType: core.serialization.Schema<serializers.IntegrationType.Raw, Schematic.IntegrationType>;
|
|
5
5
|
export declare namespace IntegrationType {
|
|
6
|
-
type Raw = "clerk" | "orb" | "stripe" | "unknown";
|
|
6
|
+
type Raw = "clerk" | "metronome" | "orb" | "stripe" | "unknown" | "workos";
|
|
7
7
|
}
|
|
@@ -0,0 +1,9 @@
|
|
|
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 IntegrationsDataSetResponseData: core.serialization.ObjectSchema<serializers.IntegrationsDataSetResponseData.Raw, Schematic.IntegrationsDataSetResponseData>;
|
|
5
|
+
export declare namespace IntegrationsDataSetResponseData {
|
|
6
|
+
interface Raw {
|
|
7
|
+
keys: string[];
|
|
8
|
+
}
|
|
9
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import type * as Schematic from "../../api/index";
|
|
2
|
+
import * as core from "../../core";
|
|
3
|
+
import type * as serializers from "../index";
|
|
4
|
+
import { IntegrationCapabilities } from "./IntegrationCapabilities";
|
|
5
|
+
import { IntegrationConfig } from "./IntegrationConfig";
|
|
6
|
+
import { IntegrationState } from "./IntegrationState";
|
|
7
|
+
import { IntegrationType } from "./IntegrationType";
|
|
8
|
+
export declare const IntegrationsListResponseData: core.serialization.ObjectSchema<serializers.IntegrationsListResponseData.Raw, Schematic.IntegrationsListResponseData>;
|
|
9
|
+
export declare namespace IntegrationsListResponseData {
|
|
10
|
+
interface Raw {
|
|
11
|
+
capabilities: IntegrationCapabilities.Raw;
|
|
12
|
+
config?: IntegrationConfig.Raw | null;
|
|
13
|
+
id: string;
|
|
14
|
+
is_app_install: boolean;
|
|
15
|
+
is_connect_install: boolean;
|
|
16
|
+
state: IntegrationState.Raw;
|
|
17
|
+
type: IntegrationType.Raw;
|
|
18
|
+
}
|
|
19
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import type * as Schematic from "../../api/index";
|
|
2
|
+
import * as core from "../../core";
|
|
3
|
+
import type * as serializers from "../index";
|
|
4
|
+
import { IntegrationState } from "./IntegrationState";
|
|
5
|
+
import { IntegrationType } from "./IntegrationType";
|
|
6
|
+
export declare const IntegrationsResponseData: core.serialization.ObjectSchema<serializers.IntegrationsResponseData.Raw, Schematic.IntegrationsResponseData>;
|
|
7
|
+
export declare namespace IntegrationsResponseData {
|
|
8
|
+
interface Raw {
|
|
9
|
+
created_at: string;
|
|
10
|
+
id: string;
|
|
11
|
+
state: IntegrationState.Raw;
|
|
12
|
+
type: IntegrationType.Raw;
|
|
13
|
+
updated_at: string;
|
|
14
|
+
}
|
|
15
|
+
}
|
|
@@ -1,6 +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 { CheckoutFieldValue } from "./CheckoutFieldValue";
|
|
4
5
|
import { PlanSelection } from "./PlanSelection";
|
|
5
6
|
import { UpdateCreditBundleRequestBody } from "./UpdateCreditBundleRequestBody";
|
|
6
7
|
import { UpdatePayInAdvanceRequestBody } from "./UpdatePayInAdvanceRequestBody";
|
|
@@ -15,6 +16,7 @@ export declare namespace ManagePlanRequest {
|
|
|
15
16
|
company_id: string;
|
|
16
17
|
coupon_external_id?: string | null;
|
|
17
18
|
credit_bundles: UpdateCreditBundleRequestBody.Raw[];
|
|
19
|
+
custom_field_values: CheckoutFieldValue.Raw[];
|
|
18
20
|
pay_in_advance_entitlements: UpdatePayInAdvanceRequestBody.Raw[];
|
|
19
21
|
payment_method_external_id?: string | null;
|
|
20
22
|
promo_code?: string | null;
|
|
@@ -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 MarkCustomPlanBillingPaidRequestBody: core.serialization.Schema<serializers.MarkCustomPlanBillingPaidRequestBody.Raw, Schematic.MarkCustomPlanBillingPaidRequestBody>;
|
|
5
|
+
export declare namespace MarkCustomPlanBillingPaidRequestBody {
|
|
6
|
+
type Raw = Record<string, unknown>;
|
|
7
|
+
}
|
|
@@ -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 MetricPeriod: core.serialization.Schema<serializers.MetricPeriod.Raw, Schematic.MetricPeriod>;
|
|
5
|
+
export declare namespace MetricPeriod {
|
|
6
6
|
type Raw = "all_time" | "current_day" | "current_month" | "current_week";
|
|
7
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 MetricPeriodMonthReset: core.serialization.Schema<serializers.MetricPeriodMonthReset.Raw, Schematic.MetricPeriodMonthReset>;
|
|
5
|
+
export declare namespace MetricPeriodMonthReset {
|
|
6
|
+
type Raw = "billing_cycle" | "first_of_month";
|
|
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 MetronomeIntegrationConfig: core.serialization.ObjectSchema<serializers.MetronomeIntegrationConfig.Raw, Schematic.MetronomeIntegrationConfig>;
|
|
5
|
+
export declare namespace MetronomeIntegrationConfig {
|
|
6
|
+
type Raw = {};
|
|
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 MigrationErrorCode: core.serialization.Schema<serializers.MigrationErrorCode.Raw, Schematic.MigrationErrorCode>;
|
|
5
|
+
export declare namespace MigrationErrorCode {
|
|
6
|
+
type Raw = "ambiguous_subscription_item" | "multiple_subscriptions" | "no_price_for_interval" | "not_on_origin_version" | "operation_item_not_found" | "permanent_config" | "permanent_decline" | "transient_decline" | "transient_infra" | "transient_stripe" | "unknown" | "would_leave_empty_subscription";
|
|
7
|
+
}
|
|
@@ -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 MrrResponseData: core.serialization.ObjectSchema<serializers.MrrResponseData.Raw, Schematic.MrrResponseData>;
|
|
5
|
+
export declare namespace MrrResponseData {
|
|
6
|
+
interface Raw {
|
|
7
|
+
amount: number;
|
|
8
|
+
currency: string;
|
|
9
|
+
}
|
|
10
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
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 OrbIntegrationConfig: core.serialization.ObjectSchema<serializers.OrbIntegrationConfig.Raw, Schematic.OrbIntegrationConfig>;
|
|
5
|
+
export declare namespace OrbIntegrationConfig {
|
|
6
|
+
interface Raw {
|
|
7
|
+
external_customer_id_key?: string | null;
|
|
8
|
+
}
|
|
9
|
+
}
|
|
@@ -17,6 +17,7 @@ export declare namespace PlanCreditGrantView {
|
|
|
17
17
|
billing_credit_auto_topup_expiry_type?: BillingCreditExpiryType.Raw | null;
|
|
18
18
|
billing_credit_auto_topup_expiry_unit?: BillingCreditExpiryUnit.Raw | null;
|
|
19
19
|
billing_credit_auto_topup_expiry_unit_count?: number | null;
|
|
20
|
+
billing_credit_auto_topup_self_service: boolean;
|
|
20
21
|
billing_credit_auto_topup_threshold_credits?: number | null;
|
|
21
22
|
billing_credit_auto_topup_threshold_percent?: number | null;
|
|
22
23
|
created_at: string;
|
|
@@ -37,6 +38,7 @@ export declare namespace PlanCreditGrantView {
|
|
|
37
38
|
reset_cadence?: BillingPlanCreditGrantResetCadence.Raw | null;
|
|
38
39
|
reset_start?: BillingPlanCreditGrantResetStart.Raw | null;
|
|
39
40
|
reset_type: BillingPlanCreditGrantResetType.Raw;
|
|
41
|
+
rollover_percentage: number;
|
|
40
42
|
singular_name?: string | null;
|
|
41
43
|
updated_at: string;
|
|
42
44
|
}
|
|
@@ -8,6 +8,7 @@ export declare namespace PlanCurrencyPricesResponseData {
|
|
|
8
8
|
currency: string;
|
|
9
9
|
monthly_price?: BillingPriceResponseData.Raw | null;
|
|
10
10
|
one_time_price?: BillingPriceResponseData.Raw | null;
|
|
11
|
+
quarterly_price?: BillingPriceResponseData.Raw | null;
|
|
11
12
|
yearly_price?: BillingPriceResponseData.Raw | null;
|
|
12
13
|
}
|
|
13
14
|
}
|