@schematichq/schematic-typescript-node 1.4.5 → 1.4.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +118 -2
- package/dist/BaseClient.d.ts +3 -0
- package/dist/Client.d.ts +8 -20
- package/dist/api/resources/accounts/client/Client.d.ts +35 -0
- package/dist/api/resources/accounts/client/requests/ListAccountMembersRequest.d.ts +18 -0
- package/dist/api/resources/accounts/client/requests/ListEnvironmentsRequest.d.ts +1 -0
- package/dist/api/resources/accounts/client/requests/index.d.ts +1 -0
- package/dist/api/resources/accounts/types/GetAccountMemberResponse.d.ts +6 -0
- package/dist/api/resources/accounts/types/ListAccountMembersParams.d.ts +12 -0
- package/dist/api/resources/accounts/types/ListAccountMembersResponse.d.ts +6 -0
- package/dist/api/resources/accounts/types/index.d.ts +3 -0
- package/dist/api/resources/billing/client/Client.d.ts +33 -6
- package/dist/api/resources/billing/client/requests/CountBillingProductsRequest.d.ts +5 -1
- package/dist/api/resources/billing/client/requests/CountCustomersRequest.d.ts +2 -1
- package/dist/api/resources/billing/client/requests/CreateBillingPriceRequestBody.d.ts +2 -0
- package/dist/api/resources/billing/client/requests/CreateBillingSubscriptionRequestBody.d.ts +1 -0
- package/dist/api/resources/billing/client/requests/CreateMeterRequestBody.d.ts +2 -0
- package/dist/api/resources/billing/client/requests/ListBillingPricesRequest.d.ts +6 -1
- package/dist/api/resources/billing/client/requests/ListBillingProductPricesRequest.d.ts +6 -1
- package/dist/api/resources/billing/client/requests/ListBillingProductsRequest.d.ts +5 -1
- package/dist/api/resources/billing/client/requests/ListCustomersWithSubscriptionsRequest.d.ts +2 -1
- package/dist/api/resources/billing/types/CountBillingProductsParams.d.ts +2 -0
- package/dist/api/resources/billing/types/DeletePaymentMethodByExternalIdResponse.d.ts +6 -0
- package/dist/api/resources/billing/types/ListBillingPricesParams.d.ts +2 -0
- package/dist/api/resources/billing/types/ListBillingProductPricesParams.d.ts +2 -0
- package/dist/api/resources/billing/types/ListBillingProductsParams.d.ts +2 -0
- package/dist/api/resources/billing/types/index.d.ts +1 -0
- package/dist/api/resources/checkout/client/Client.d.ts +6 -0
- package/dist/api/resources/companies/client/Client.d.ts +31 -55
- package/dist/api/resources/companies/client/requests/CountCompaniesRequest.d.ts +11 -0
- package/dist/api/resources/companies/client/requests/CountEntityKeyDefinitionsRequest.d.ts +1 -0
- package/dist/api/resources/companies/client/requests/CountEntityTraitDefinitionsRequest.d.ts +2 -0
- package/dist/api/resources/companies/client/requests/CountPlanTraitsRequest.d.ts +2 -0
- package/dist/api/resources/companies/client/requests/CountUsersRequest.d.ts +1 -0
- package/dist/api/resources/companies/client/requests/GetActiveCompanySubscriptionRequest.d.ts +1 -0
- package/dist/api/resources/companies/client/requests/ListCompaniesRequest.d.ts +11 -0
- package/dist/api/resources/companies/client/requests/ListEntityKeyDefinitionsRequest.d.ts +1 -0
- package/dist/api/resources/companies/client/requests/ListEntityTraitDefinitionsRequest.d.ts +2 -0
- package/dist/api/resources/companies/client/requests/ListPlanChangesRequest.d.ts +7 -4
- package/dist/api/resources/companies/client/requests/ListPlanTraitsRequest.d.ts +2 -0
- package/dist/api/resources/companies/client/requests/ListUsersRequest.d.ts +1 -0
- package/dist/api/resources/companies/client/requests/index.d.ts +0 -2
- package/dist/api/resources/companies/types/CountCompaniesParams.d.ts +4 -0
- package/dist/api/resources/companies/types/ListCompaniesParams.d.ts +4 -0
- package/dist/api/resources/companies/types/ListPlanChangesParams.d.ts +3 -2
- package/dist/api/resources/companies/types/index.d.ts +0 -3
- package/dist/api/resources/credits/client/Client.d.ts +99 -1
- package/dist/api/resources/credits/client/requests/AcquireCreditLeaseRequestBody.d.ts +14 -0
- package/dist/api/resources/credits/client/requests/CountBillingCreditsGrantsRequest.d.ts +1 -0
- package/dist/api/resources/credits/client/requests/CountBillingCreditsRequest.d.ts +1 -0
- package/dist/api/resources/credits/client/requests/CountBillingPlanCreditGrantsRequest.d.ts +4 -0
- package/dist/api/resources/credits/client/requests/CountCreditBundlesRequest.d.ts +1 -0
- package/dist/api/resources/credits/client/requests/CreateBillingCreditRequestBody.d.ts +1 -0
- package/dist/api/resources/credits/client/requests/CreateCompanyCreditGrant.d.ts +2 -1
- package/dist/api/resources/credits/client/requests/CreateCreditBundleRequestBody.d.ts +1 -0
- package/dist/api/resources/credits/client/requests/ExtendCreditLeaseRequestBody.d.ts +10 -0
- package/dist/api/resources/credits/client/requests/ListBillingCreditsRequest.d.ts +1 -0
- package/dist/api/resources/credits/client/requests/ListBillingPlanCreditGrantsRequest.d.ts +4 -0
- package/dist/api/resources/credits/client/requests/ListCompanyCreditBalancesRequest.d.ts +9 -0
- package/dist/api/resources/credits/client/requests/ListCreditBundlesRequest.d.ts +1 -0
- package/dist/api/resources/credits/client/requests/ListGrantsForCreditRequest.d.ts +1 -0
- package/dist/api/resources/credits/client/requests/UpdateBillingCreditRequestBody.d.ts +1 -0
- package/dist/api/resources/credits/client/requests/UpdateCreditBundleDetailsRequestBody.d.ts +1 -0
- package/dist/api/resources/credits/client/requests/index.d.ts +3 -0
- package/dist/api/resources/credits/types/AcquireCreditLeaseResponse.d.ts +6 -0
- package/dist/api/resources/credits/types/CountBillingPlanCreditGrantsParams.d.ts +1 -0
- package/dist/api/resources/credits/types/ExtendCreditLeaseResponse.d.ts +6 -0
- package/dist/api/resources/credits/types/GetSingleBillingPlanCreditGrantResponse.d.ts +6 -0
- package/dist/api/resources/credits/types/ListBillingPlanCreditGrantsParams.d.ts +1 -0
- package/dist/api/resources/credits/types/ListCompanyCreditBalancesParams.d.ts +6 -0
- package/dist/api/resources/credits/types/ListCompanyCreditBalancesResponse.d.ts +6 -0
- package/dist/api/resources/credits/types/ReleaseCreditLeaseResponse.d.ts +6 -0
- package/dist/api/resources/credits/types/index.d.ts +6 -0
- package/dist/api/resources/entitlements/client/Client.d.ts +39 -0
- package/dist/api/resources/entitlements/client/requests/CountCompanyOverridesRequest.d.ts +3 -0
- package/dist/api/resources/entitlements/client/requests/CountFeatureUsageRequest.d.ts +5 -0
- package/dist/api/resources/entitlements/client/requests/CountPlanEntitlementsRequest.d.ts +4 -0
- package/dist/api/resources/entitlements/client/requests/CreateBillingLinkedPlanEntitlementRequestBody.d.ts +50 -0
- package/dist/api/resources/entitlements/client/requests/CreateCompanyOverrideRequestBody.d.ts +2 -2
- package/dist/api/resources/entitlements/client/requests/CreatePlanEntitlementRequestBody.d.ts +9 -2
- package/dist/api/resources/entitlements/client/requests/ListCompanyOverridesRequest.d.ts +3 -0
- package/dist/api/resources/entitlements/client/requests/ListFeatureUsageRequest.d.ts +5 -0
- package/dist/api/resources/entitlements/client/requests/ListPlanEntitlementsRequest.d.ts +4 -0
- package/dist/api/resources/entitlements/client/requests/UpdateCompanyOverrideRequestBody.d.ts +2 -2
- package/dist/api/resources/entitlements/client/requests/UpdatePlanEntitlementRequestBody.d.ts +9 -2
- package/dist/api/resources/entitlements/client/requests/index.d.ts +1 -0
- package/dist/api/resources/entitlements/types/CountFeatureUsageParams.d.ts +3 -0
- package/dist/api/resources/entitlements/types/ListFeatureUsageParams.d.ts +3 -0
- package/dist/api/resources/entitlements/types/UpsertPlanEntitlementForBillingProductResponse.d.ts +6 -0
- package/dist/api/resources/entitlements/types/index.d.ts +1 -8
- package/dist/api/resources/events/client/Client.d.ts +3 -0
- package/dist/api/resources/events/client/requests/GetEventSummariesRequest.d.ts +1 -0
- package/dist/api/resources/events/client/requests/ListEventsRequest.d.ts +3 -0
- package/dist/api/resources/events/types/ListEventsParams.d.ts +1 -0
- package/dist/api/resources/features/client/Client.d.ts +35 -6
- package/dist/api/resources/features/client/requests/CountFeaturesRequest.d.ts +13 -8
- package/dist/api/resources/features/client/requests/CountFlagsRequest.d.ts +1 -0
- package/dist/api/resources/features/client/requests/CreateBillingLinkedFeatureRequestBody.d.ts +26 -0
- package/dist/api/resources/features/client/requests/CreateFeatureRequestBody.d.ts +1 -1
- package/dist/api/resources/features/client/requests/ListFeaturesRequest.d.ts +13 -8
- package/dist/api/resources/features/client/requests/ListFlagsRequest.d.ts +1 -0
- package/dist/api/resources/features/client/requests/UpdateFeatureRequestBody.d.ts +1 -1
- package/dist/api/resources/features/client/requests/UpdateFlagRulesRequestBody.d.ts +2 -2
- package/dist/api/resources/features/client/requests/index.d.ts +1 -0
- package/dist/api/resources/features/types/CountFeaturesParams.d.ts +2 -0
- package/dist/api/resources/features/types/ListFeaturesParams.d.ts +2 -0
- package/dist/api/resources/features/types/UpsertFeatureForBillingProductResponse.d.ts +6 -0
- package/dist/api/resources/features/types/index.d.ts +1 -0
- package/dist/api/resources/index.d.ts +6 -0
- package/dist/api/resources/insights/client/Client.d.ts +114 -0
- package/dist/api/resources/insights/client/index.d.ts +1 -0
- package/dist/api/resources/insights/client/requests/GetActivityRequest.d.ts +9 -0
- package/dist/api/resources/insights/client/requests/GetEnvironmentFeatureUsageTimeSeriesRequest.d.ts +16 -0
- package/dist/api/resources/insights/client/requests/GetEnvironmentTraitUsageTimeSeriesRequest.d.ts +16 -0
- package/dist/api/resources/insights/client/requests/GetPlanGrowthRequest.d.ts +9 -0
- package/dist/api/resources/insights/client/requests/GetTopFeaturesByUsageRequest.d.ts +13 -0
- package/dist/api/resources/insights/client/requests/index.d.ts +5 -0
- package/dist/api/resources/insights/exports.d.ts +2 -0
- package/dist/api/resources/insights/index.d.ts +2 -0
- package/dist/api/resources/insights/types/GetActivityParams.d.ts +6 -0
- package/dist/api/resources/insights/types/GetActivityResponse.d.ts +6 -0
- package/dist/api/resources/insights/types/GetEnvironmentFeatureUsageTimeSeriesParams.d.ts +10 -0
- package/dist/api/resources/insights/types/GetEnvironmentFeatureUsageTimeSeriesResponse.d.ts +6 -0
- package/dist/api/resources/insights/types/GetEnvironmentTraitUsageTimeSeriesParams.d.ts +10 -0
- package/dist/api/resources/insights/types/GetEnvironmentTraitUsageTimeSeriesResponse.d.ts +6 -0
- package/dist/api/resources/insights/types/GetPlanGrowthParams.d.ts +6 -0
- package/dist/api/resources/insights/types/GetPlanGrowthResponse.d.ts +6 -0
- package/dist/api/resources/{companies/types/UpdatePlanTraitResponse.d.ts → insights/types/GetSummaryResponse.d.ts} +2 -2
- package/dist/api/resources/insights/types/GetTopFeaturesByUsageParams.d.ts +8 -0
- package/dist/api/resources/insights/types/GetTopFeaturesByUsageResponse.d.ts +6 -0
- package/dist/api/resources/insights/types/index.d.ts +11 -0
- package/dist/api/resources/integrationsapi/client/Client.d.ts +109 -0
- package/dist/api/resources/integrationsapi/client/index.d.ts +1 -0
- package/dist/api/resources/integrationsapi/client/requests/ListIntegrationsRequest.d.ts +24 -0
- package/dist/api/resources/integrationsapi/client/requests/StartDataImportRequestBody.d.ts +12 -0
- package/dist/api/resources/integrationsapi/client/requests/index.d.ts +2 -0
- package/dist/api/resources/integrationsapi/exports.d.ts +2 -0
- package/dist/api/resources/integrationsapi/index.d.ts +2 -0
- package/dist/api/resources/integrationsapi/types/GetIntegrationWebhookUrlResponse.d.ts +6 -0
- package/dist/api/resources/integrationsapi/types/ListIntegrationsParams.d.ts +15 -0
- package/dist/api/resources/integrationsapi/types/ListIntegrationsResponse.d.ts +6 -0
- package/dist/api/resources/integrationsapi/types/LoadSampleDataSetV2Response.d.ts +6 -0
- package/dist/api/resources/{companies/types/CreatePlanTraitResponse.d.ts → integrationsapi/types/RunIntegrationResponse.d.ts} +2 -2
- package/dist/api/resources/integrationsapi/types/StartDataImportResponse.d.ts +6 -0
- package/dist/api/resources/{companies/types/DeletePlanTraitResponse.d.ts → integrationsapi/types/UninstallIntegrationResponse.d.ts} +1 -1
- package/dist/api/resources/integrationsapi/types/index.d.ts +7 -0
- package/dist/api/resources/planbundle/client/Client.d.ts +19 -0
- package/dist/api/resources/planbundle/client/requests/CreateCustomPlanBundleRequestBody.d.ts +14 -0
- package/dist/api/resources/planbundle/client/requests/index.d.ts +1 -0
- package/dist/api/resources/planbundle/types/CreateCustomPlanBundleResponse.d.ts +6 -0
- package/dist/api/resources/planbundle/types/index.d.ts +1 -0
- package/dist/api/resources/planmigrations/client/Client.d.ts +56 -0
- package/dist/api/resources/planmigrations/client/requests/CreateMigrationInput.d.ts +22 -0
- package/dist/api/resources/planmigrations/client/requests/RetryMigrationRequestBody.d.ts +10 -0
- package/dist/api/resources/planmigrations/client/requests/index.d.ts +2 -0
- package/dist/api/resources/planmigrations/types/CreateMigrationResponse.d.ts +6 -0
- package/dist/api/resources/planmigrations/types/RetryCompanyMigrationResponse.d.ts +6 -0
- package/dist/api/resources/planmigrations/types/RetryMigrationResponse.d.ts +6 -0
- package/dist/api/resources/planmigrations/types/index.d.ts +3 -0
- package/dist/api/resources/plans/client/Client.d.ts +162 -3
- package/dist/api/resources/plans/client/requests/CountBillingProductMatchCompaniesRequest.d.ts +19 -0
- package/dist/api/resources/plans/client/requests/CountPlansRequest.d.ts +13 -0
- package/dist/api/resources/plans/client/requests/CreateBillingLinkedPlanRequestBody.d.ts +20 -0
- package/dist/api/resources/plans/client/requests/CreateCustomPlanRequestBody.d.ts +16 -0
- package/dist/api/resources/plans/client/requests/DeletePlanVersionRequest.d.ts +9 -0
- package/dist/api/resources/plans/client/requests/ListBillingProductMatchCompaniesRequest.d.ts +19 -0
- package/dist/api/resources/plans/client/requests/ListCustomPlanBillingsRequest.d.ts +26 -0
- package/dist/api/resources/plans/client/requests/ListPlansRequest.d.ts +13 -0
- package/dist/api/resources/plans/client/requests/PublishPlanVersionRequestBody.d.ts +9 -1
- package/dist/api/resources/plans/client/requests/RetryCustomPlanBillingRequestBody.d.ts +17 -0
- package/dist/api/resources/plans/client/requests/index.d.ts +7 -0
- package/dist/api/resources/plans/types/CountBillingProductMatchCompaniesParams.d.ts +13 -0
- package/dist/api/resources/plans/types/CountBillingProductMatchCompaniesResponse.d.ts +6 -0
- package/dist/api/resources/plans/types/CountPlansParams.d.ts +8 -0
- package/dist/api/resources/plans/types/CreateCustomPlanResponse.d.ts +6 -0
- package/dist/api/resources/plans/types/DeletePlanVersionParams.d.ts +6 -0
- package/dist/api/resources/plans/types/DeletePlanVersionResponse.d.ts +1 -1
- package/dist/api/resources/plans/types/ListBillingProductMatchCompaniesParams.d.ts +13 -0
- package/dist/api/resources/plans/types/ListBillingProductMatchCompaniesResponse.d.ts +6 -0
- package/dist/api/resources/plans/types/ListCustomPlanBillingsParams.d.ts +18 -0
- package/dist/api/resources/plans/types/ListCustomPlanBillingsResponse.d.ts +6 -0
- package/dist/api/resources/plans/types/ListPlansParams.d.ts +8 -0
- package/dist/api/resources/plans/types/MarkCustomPlanBillingPaidResponse.d.ts +6 -0
- package/dist/api/resources/plans/types/RetryCustomPlanBillingResponse.d.ts +6 -0
- package/dist/api/resources/plans/types/UpsertPlanForBillingProductResponse.d.ts +6 -0
- package/dist/api/resources/plans/types/index.d.ts +11 -0
- package/dist/api/resources/webhooks/client/Client.d.ts +2 -0
- package/dist/api/resources/webhooks/client/requests/CountWebhookEventsRequest.d.ts +1 -0
- package/dist/api/resources/webhooks/client/requests/ListWebhookEventsRequest.d.ts +1 -0
- package/dist/api/types/AccountMemberPermission.d.ts +18 -0
- package/dist/api/types/AccountMemberResponseData.d.ts +11 -0
- package/dist/api/types/AccountMemberRole.d.ts +5 -0
- package/dist/api/types/ActivityEntryResponseData.d.ts +8 -0
- package/dist/api/types/ActivityResponseResponseData.d.ts +4 -0
- package/dist/api/types/ApiKeyCreateResponseData.d.ts +2 -0
- package/dist/api/types/ApiKeyIntegrationResponseData.d.ts +6 -0
- package/dist/api/types/ApiKeyResponseData.d.ts +2 -0
- package/dist/api/types/AuditLogListResponseData.d.ts +2 -0
- package/dist/api/types/AuditLogResponseData.d.ts +2 -0
- package/dist/api/types/BillingCreditBundleResponseData.d.ts +2 -0
- package/dist/api/types/BillingCreditBundleView.d.ts +1 -0
- package/dist/api/types/BillingCreditGrantReason.d.ts +1 -0
- package/dist/api/types/BillingCreditGrantResponseData.d.ts +1 -0
- package/dist/api/types/BillingCreditResponseData.d.ts +1 -0
- package/dist/api/types/BillingCreditView.d.ts +1 -0
- package/dist/api/types/BillingLinkedResourceResponseData.d.ts +6 -0
- package/dist/api/types/BillingPlanCreditGrantResponseData.d.ts +2 -0
- package/dist/api/types/BillingPriceResponseData.d.ts +2 -0
- package/dist/api/types/BillingPriceView.d.ts +2 -0
- package/dist/api/types/BillingProductForSubscriptionResponseData.d.ts +1 -0
- package/dist/api/types/BillingProductPlanResponseData.d.ts +2 -1
- package/dist/api/types/BillingProductPriceResponseData.d.ts +2 -0
- package/dist/api/types/BillingProviderType.d.ts +1 -0
- package/dist/api/types/BillingStrategy.d.ts +6 -0
- package/dist/api/types/ChangeSubscriptionInternalRequestBody.d.ts +1 -0
- package/dist/api/types/ChangeSubscriptionRequestBody.d.ts +1 -0
- package/dist/api/types/ChargeType.d.ts +1 -0
- package/dist/api/types/CheckFlagResponseData.d.ts +2 -2
- package/dist/api/types/CheckoutSubscription.d.ts +2 -0
- package/dist/api/types/ClerkIntegrationConfig.d.ts +6 -0
- package/dist/api/types/CompanyCreditBalanceResponseData.d.ts +7 -0
- package/dist/api/types/CompanyDetailResponseData.d.ts +1 -0
- package/dist/api/types/CompanyEventPeriodMetricsResponseData.d.ts +3 -2
- package/dist/api/types/CompanyMatchingCriteria.d.ts +5 -0
- package/dist/api/types/CompanyOverrideResponseData.d.ts +2 -2
- package/dist/api/types/CompanyPlanCreditGrantView.d.ts +40 -0
- package/dist/api/types/CompanyPlanDetailResponseData.d.ts +13 -4
- package/dist/api/types/CompanyPlanWithBillingSubView.d.ts +1 -1
- package/dist/api/types/CompanySubscriptionResponseData.d.ts +1 -0
- package/dist/api/types/{ConditionOperator.d.ts → ComparableOperator.d.ts} +5 -5
- package/dist/api/types/Condition.d.ts +4 -4
- package/dist/api/types/ConditionResponseData.d.ts +4 -4
- package/dist/api/types/{ConditionConditionType.d.ts → ConditionType.d.ts} +2 -2
- package/dist/api/types/ConditionView.d.ts +4 -4
- package/dist/api/types/CreateBillingPlanCreditGrantRequestBody.d.ts +2 -0
- package/dist/api/types/CreateCustomPlanBundlePlanRequestBody.d.ts +7 -0
- package/dist/api/types/CreateEntitlementInBundleRequestBody.d.ts +9 -2
- package/dist/api/types/CreateEntitlementReqCommon.d.ts +2 -2
- package/dist/api/types/CreateEventRequestBody.d.ts +6 -0
- package/dist/api/types/CreateFlagRequestBody.d.ts +1 -1
- package/dist/api/types/CreateOrUpdateConditionRequestBody.d.ts +4 -4
- package/dist/api/types/CreateOrUpdateFlagRequestBody.d.ts +1 -1
- package/dist/api/types/CreateOrUpdateRuleRequestBody.d.ts +1 -1
- package/dist/api/types/CreatePlanRequestBody.d.ts +1 -1
- package/dist/api/types/CreditBundleCurrencyPrice.d.ts +5 -0
- package/dist/api/types/CreditBundleCurrencyPriceRequestBody.d.ts +5 -0
- package/dist/api/types/CreditBundleCurrencyPriceResponseData.d.ts +5 -0
- package/dist/api/types/CreditCompanyGrantView.d.ts +1 -0
- package/dist/api/types/CreditCurrencyPrice.d.ts +5 -0
- package/dist/api/types/CreditCurrencyPriceRequestBody.d.ts +5 -0
- package/dist/api/types/CreditCurrencyPriceResponseData.d.ts +5 -0
- package/dist/api/types/CreditLeaseResponseData.d.ts +10 -0
- package/dist/api/types/CurrencyPriceRequestBody.d.ts +13 -0
- package/dist/api/types/CustomPlanActivationStrategy.d.ts +5 -0
- package/dist/api/types/CustomPlanBillingResponseData.d.ts +15 -0
- package/dist/api/types/CustomPlanBillingStatus.d.ts +7 -0
- package/dist/api/types/DataEventPayload.d.ts +3 -0
- package/dist/api/types/DatastreamCompanyPlan.d.ts +2 -0
- package/dist/api/types/DuplicatePlanEntitlementsResponseResponseData.d.ts +1 -0
- package/dist/api/types/EntitlementCurrencyPricesResponseData.d.ts +7 -0
- package/dist/api/types/EnvironmentFeatureUsageTimeSeriesResponseData.d.ts +6 -0
- package/dist/api/types/EnvironmentTraitUsageTimeSeriesResponseData.d.ts +6 -0
- package/dist/api/types/EnvironmentUsagePointResponseData.d.ts +4 -0
- package/dist/api/types/EventBodyTrack.d.ts +2 -0
- package/dist/api/types/EventDetailResponseData.d.ts +2 -0
- package/dist/api/types/EventResponseData.d.ts +1 -0
- package/dist/api/types/FeatureCompanyResponseData.d.ts +4 -3
- package/dist/api/types/FeatureCompanyUserResponseData.d.ts +2 -2
- package/dist/api/types/FeatureDetailResponseData.d.ts +3 -1
- package/dist/api/types/FeatureEntitlement.d.ts +2 -2
- package/dist/api/types/FeatureInPlanResponseData.d.ts +21 -0
- package/dist/api/types/FeatureResponseData.d.ts +1 -1
- package/dist/api/types/FeatureUsageResponseData.d.ts +4 -3
- package/dist/api/types/FeatureView.d.ts +2 -1
- package/dist/api/types/FlagDetailResponseData.d.ts +2 -1
- package/dist/api/types/FlagInPlanResponseData.d.ts +16 -0
- package/dist/api/types/FlagResponseData.d.ts +1 -1
- package/dist/api/types/FlagView.d.ts +0 -1
- package/dist/api/types/InsightsSummaryResponseData.d.ts +9 -0
- package/dist/api/types/IntegrationCapabilities.d.ts +5 -0
- package/dist/api/types/IntegrationConfig.d.ts +16 -0
- package/dist/api/types/IntegrationResponseData.d.ts +8 -0
- package/dist/api/types/IntegrationState.d.ts +6 -0
- package/dist/api/types/IntegrationType.d.ts +8 -0
- package/dist/api/types/IntegrationWebhookUrlResponseData.d.ts +5 -0
- package/dist/api/types/IntegrationsDataSetResponseData.d.ts +3 -0
- package/dist/api/types/IntegrationsListResponseData.d.ts +10 -0
- package/dist/api/types/IntegrationsResponseData.d.ts +8 -0
- package/dist/api/types/MarkCustomPlanBillingPaidRequestBody.d.ts +1 -0
- package/dist/api/types/{ConditionMetricPeriod.d.ts → MetricPeriod.d.ts} +2 -2
- package/dist/api/types/MetricPeriodMonthReset.d.ts +5 -0
- package/dist/api/types/MigrationErrorCode.d.ts +14 -0
- package/dist/api/types/MrrResponseData.d.ts +4 -0
- package/dist/api/types/OrbIntegrationConfig.d.ts +4 -0
- package/dist/api/types/PlanCreditGrantView.d.ts +2 -0
- package/dist/api/types/PlanCurrencyPriceRequestBody.d.ts +7 -0
- package/dist/api/types/PlanCurrencyPricesResponseData.d.ts +8 -0
- package/dist/api/types/PlanDetailResponseData.d.ts +12 -3
- package/dist/api/types/PlanEntitlementResponseData.d.ts +7 -2
- package/dist/api/types/PlanGroupPlanDetailResponseData.d.ts +13 -4
- package/dist/api/types/PlanGrowthPointResponseData.d.ts +6 -0
- package/dist/api/types/PlanGrowthResponseData.d.ts +4 -0
- package/dist/api/types/PlanIcon.d.ts +28 -0
- package/dist/api/types/PlanPriceCadence.d.ts +6 -0
- package/dist/api/types/PlanResponseData.d.ts +3 -1
- package/dist/api/types/PlanVersionCompanyMigrationResponseData.d.ts +1 -0
- package/dist/api/types/PlanVersionMigrationResponseData.d.ts +1 -0
- package/dist/api/types/PlanVersionResponseData.d.ts +1 -1
- package/dist/api/types/PlanViewPublicResponseData.d.ts +13 -4
- package/dist/api/types/ReleaseCreditLeaseRequestBody.d.ts +1 -0
- package/dist/api/types/Rule.d.ts +1 -1
- package/dist/api/types/RuleConditionDetailResponseData.d.ts +4 -4
- package/dist/api/types/RuleConditionResponseData.d.ts +4 -4
- package/dist/api/types/RuleDetailResponseData.d.ts +1 -1
- package/dist/api/types/RuleResponseData.d.ts +2 -1
- package/dist/api/types/{RuleRuleType.d.ts → RuleType.d.ts} +4 -4
- package/dist/api/types/RuleView.d.ts +1 -1
- package/dist/api/types/RulesEngineSchemaVersion.d.ts +1 -1
- package/dist/api/types/RulesengineCheckFlagResult.d.ts +2 -2
- package/dist/api/types/RulesengineCompanyMetric.d.ts +2 -2
- package/dist/api/types/RulesengineCondition.d.ts +4 -4
- package/dist/api/types/{RulesengineConditionConditionType.d.ts → RulesengineConditionType.d.ts} +2 -2
- package/dist/api/types/RulesengineFeatureEntitlement.d.ts +2 -2
- package/dist/api/types/RulesengineMetricPeriod.d.ts +7 -0
- package/dist/api/types/RulesengineMetricPeriodMonthReset.d.ts +5 -0
- package/dist/api/types/RulesengineRule.d.ts +1 -1
- package/dist/api/types/{RulesengineRuleRuleType.d.ts → RulesengineRuleType.d.ts} +4 -4
- package/dist/api/types/StripeIntegrationConfig.d.ts +14 -0
- package/dist/api/types/TopFeatureByUsageResponseData.d.ts +8 -0
- package/dist/api/types/TopFeaturesByUsageResponseData.d.ts +4 -0
- package/dist/api/types/TrialStatus.d.ts +6 -0
- package/dist/api/types/UpdateAutoTopupOverrideRequestBody.d.ts +6 -0
- package/dist/api/types/UpdateBillingPlanCreditGrantRequestBody.d.ts +2 -0
- package/dist/api/types/UpdateEntitlementReqCommon.d.ts +2 -2
- package/dist/api/types/UpdatePlanRequestBody.d.ts +2 -1
- package/dist/api/types/UpsertBillingProductRequestBody.d.ts +4 -0
- package/dist/api/types/UsageBasedEntitlementRequestBody.d.ts +7 -0
- package/dist/api/types/UsageBasedEntitlementResponseData.d.ts +5 -2
- package/dist/api/types/WebhookUrl.d.ts +5 -0
- package/dist/api/types/WorkOsIntegrationConfig.d.ts +6 -0
- package/dist/api/types/index.d.ts +67 -30
- package/dist/core/auth/AuthProvider.d.ts +1 -0
- package/dist/core/auth/BasicAuth.d.ts +2 -2
- package/dist/core/auth/index.d.ts +1 -1
- package/dist/core/fetcher/Fetcher.d.ts +8 -0
- package/dist/core/schemas/builders/enum/enum.d.ts +1 -0
- package/dist/core/schemas/builders/enum/index.d.ts +1 -1
- package/dist/core/url/QueryStringBuilder.d.ts +47 -0
- package/dist/core/url/index.d.ts +1 -0
- package/dist/core/url/qs.d.ts +2 -1
- package/dist/datastream/merge.d.ts +11 -7
- package/dist/datastream/types.d.ts +1 -0
- package/dist/datastream/websocket-client.d.ts +1 -1
- package/dist/errors/SchematicError.d.ts +3 -1
- package/dist/errors/SchematicTimeoutError.d.ts +4 -1
- package/dist/event-capture.d.ts +28 -0
- package/dist/events.d.ts +3 -3
- package/dist/index.d.ts +2 -1
- package/dist/index.js +3 -3
- package/dist/logger.d.ts +20 -0
- package/dist/rules-engine.d.ts +3 -3
- package/dist/serialization/resources/accounts/types/GetAccountMemberResponse.d.ts +11 -0
- package/dist/serialization/resources/accounts/types/ListAccountMembersParams.d.ts +12 -0
- package/dist/serialization/resources/accounts/types/ListAccountMembersResponse.d.ts +12 -0
- package/dist/serialization/resources/accounts/types/index.d.ts +3 -0
- package/dist/serialization/resources/billing/client/requests/CreateBillingPriceRequestBody.d.ts +2 -0
- package/dist/serialization/resources/billing/client/requests/CreateBillingSubscriptionRequestBody.d.ts +2 -0
- package/dist/serialization/resources/billing/client/requests/CreateMeterRequestBody.d.ts +2 -0
- package/dist/serialization/resources/billing/types/CountBillingProductsParams.d.ts +1 -0
- package/dist/serialization/resources/billing/types/DeletePaymentMethodByExternalIdResponse.d.ts +11 -0
- package/dist/serialization/resources/billing/types/ListBillingPricesParams.d.ts +1 -0
- package/dist/serialization/resources/billing/types/ListBillingProductPricesParams.d.ts +1 -0
- package/dist/serialization/resources/billing/types/ListBillingProductsParams.d.ts +1 -0
- package/dist/serialization/resources/billing/types/index.d.ts +1 -0
- package/dist/serialization/resources/companies/client/requests/index.d.ts +0 -2
- package/dist/serialization/resources/companies/types/CountCompaniesParams.d.ts +2 -0
- package/dist/serialization/resources/companies/types/ListCompaniesParams.d.ts +2 -0
- package/dist/serialization/resources/companies/types/ListPlanChangesParams.d.ts +4 -2
- package/dist/serialization/resources/companies/types/index.d.ts +0 -3
- package/dist/serialization/resources/credits/client/requests/AcquireCreditLeaseRequestBody.d.ts +12 -0
- package/dist/serialization/resources/credits/client/requests/CreateBillingCreditRequestBody.d.ts +2 -0
- package/dist/serialization/resources/credits/client/requests/CreateCompanyCreditGrant.d.ts +1 -0
- package/dist/serialization/resources/credits/client/requests/CreateCreditBundleRequestBody.d.ts +2 -0
- package/dist/serialization/resources/credits/client/requests/ExtendCreditLeaseRequestBody.d.ts +10 -0
- package/dist/serialization/resources/credits/client/requests/UpdateBillingCreditRequestBody.d.ts +2 -0
- package/dist/serialization/resources/credits/client/requests/UpdateCreditBundleDetailsRequestBody.d.ts +2 -0
- package/dist/serialization/resources/credits/client/requests/index.d.ts +2 -0
- package/dist/serialization/resources/credits/types/AcquireCreditLeaseResponse.d.ts +11 -0
- package/dist/serialization/resources/credits/types/CountBillingPlanCreditGrantsParams.d.ts +1 -0
- package/dist/serialization/resources/credits/types/ExtendCreditLeaseResponse.d.ts +11 -0
- package/dist/serialization/resources/credits/types/GetSingleBillingPlanCreditGrantResponse.d.ts +11 -0
- package/dist/serialization/resources/credits/types/ListBillingPlanCreditGrantsParams.d.ts +1 -0
- package/dist/serialization/resources/credits/types/ListCompanyCreditBalancesParams.d.ts +9 -0
- package/dist/serialization/resources/credits/types/ListCompanyCreditBalancesResponse.d.ts +12 -0
- package/dist/serialization/resources/credits/types/ReleaseCreditLeaseResponse.d.ts +11 -0
- package/dist/serialization/resources/credits/types/index.d.ts +6 -0
- package/dist/serialization/resources/entitlements/client/requests/CreateBillingLinkedPlanEntitlementRequestBody.d.ts +51 -0
- package/dist/serialization/resources/entitlements/client/requests/CreateCompanyOverrideRequestBody.d.ts +4 -4
- package/dist/serialization/resources/entitlements/client/requests/CreatePlanEntitlementRequestBody.d.ts +11 -4
- package/dist/serialization/resources/entitlements/client/requests/UpdateCompanyOverrideRequestBody.d.ts +4 -4
- package/dist/serialization/resources/entitlements/client/requests/UpdatePlanEntitlementRequestBody.d.ts +11 -4
- package/dist/serialization/resources/entitlements/client/requests/index.d.ts +1 -0
- package/dist/serialization/resources/entitlements/types/CountFeatureUsageParams.d.ts +2 -0
- package/dist/serialization/resources/entitlements/types/ListFeatureUsageParams.d.ts +2 -0
- package/dist/serialization/resources/entitlements/types/UpsertPlanEntitlementForBillingProductResponse.d.ts +11 -0
- package/dist/serialization/resources/entitlements/types/index.d.ts +1 -8
- package/dist/serialization/resources/events/types/ListEventsParams.d.ts +1 -0
- package/dist/serialization/resources/features/client/requests/CreateBillingLinkedFeatureRequestBody.d.ts +25 -0
- package/dist/serialization/resources/features/client/requests/CreateFeatureRequestBody.d.ts +1 -1
- package/dist/serialization/resources/features/client/requests/UpdateFeatureRequestBody.d.ts +1 -1
- package/dist/serialization/resources/features/client/requests/index.d.ts +1 -0
- package/dist/serialization/resources/features/types/CountFeaturesParams.d.ts +2 -0
- package/dist/serialization/resources/features/types/ListFeaturesParams.d.ts +2 -0
- package/dist/serialization/resources/features/types/UpsertFeatureForBillingProductResponse.d.ts +11 -0
- package/dist/serialization/resources/features/types/index.d.ts +1 -0
- package/dist/serialization/resources/index.d.ts +6 -0
- package/dist/serialization/resources/insights/index.d.ts +1 -0
- package/dist/serialization/resources/insights/types/GetActivityParams.d.ts +9 -0
- package/dist/serialization/resources/insights/types/GetActivityResponse.d.ts +12 -0
- package/dist/serialization/resources/insights/types/GetEnvironmentFeatureUsageTimeSeriesParams.d.ts +13 -0
- package/dist/serialization/resources/insights/types/GetEnvironmentFeatureUsageTimeSeriesResponse.d.ts +12 -0
- package/dist/serialization/resources/insights/types/GetEnvironmentTraitUsageTimeSeriesParams.d.ts +13 -0
- package/dist/serialization/resources/insights/types/GetEnvironmentTraitUsageTimeSeriesResponse.d.ts +12 -0
- package/dist/serialization/resources/insights/types/GetPlanGrowthParams.d.ts +9 -0
- package/dist/serialization/resources/insights/types/GetPlanGrowthResponse.d.ts +12 -0
- package/dist/serialization/resources/insights/types/GetSummaryResponse.d.ts +11 -0
- package/dist/serialization/resources/insights/types/GetTopFeaturesByUsageParams.d.ts +11 -0
- package/dist/serialization/resources/insights/types/GetTopFeaturesByUsageResponse.d.ts +12 -0
- package/dist/serialization/resources/insights/types/index.d.ts +11 -0
- package/dist/serialization/resources/integrationsapi/client/index.d.ts +1 -0
- package/dist/serialization/resources/integrationsapi/client/requests/StartDataImportRequestBody.d.ts +12 -0
- package/dist/serialization/resources/integrationsapi/client/requests/index.d.ts +1 -0
- package/dist/serialization/resources/integrationsapi/index.d.ts +2 -0
- package/dist/serialization/resources/integrationsapi/types/GetIntegrationWebhookUrlResponse.d.ts +11 -0
- package/dist/serialization/resources/integrationsapi/types/ListIntegrationsParams.d.ts +17 -0
- package/dist/serialization/resources/integrationsapi/types/ListIntegrationsResponse.d.ts +12 -0
- package/dist/serialization/resources/integrationsapi/types/LoadSampleDataSetV2Response.d.ts +11 -0
- package/dist/serialization/resources/integrationsapi/types/RunIntegrationResponse.d.ts +11 -0
- package/dist/serialization/resources/integrationsapi/types/StartDataImportResponse.d.ts +11 -0
- package/dist/serialization/resources/{companies/types/DeletePlanTraitResponse.d.ts → integrationsapi/types/UninstallIntegrationResponse.d.ts} +2 -2
- package/dist/serialization/resources/integrationsapi/types/index.d.ts +7 -0
- package/dist/serialization/resources/planbundle/client/requests/CreateCustomPlanBundleRequestBody.d.ts +14 -0
- package/dist/serialization/resources/planbundle/client/requests/index.d.ts +1 -0
- package/dist/serialization/resources/planbundle/types/CreateCustomPlanBundleResponse.d.ts +11 -0
- package/dist/serialization/resources/planbundle/types/index.d.ts +1 -0
- package/dist/serialization/resources/planmigrations/client/index.d.ts +1 -0
- package/dist/serialization/resources/planmigrations/client/requests/CreateMigrationInput.d.ts +17 -0
- package/dist/serialization/resources/planmigrations/client/requests/RetryMigrationRequestBody.d.ts +10 -0
- package/dist/serialization/resources/planmigrations/client/requests/index.d.ts +2 -0
- package/dist/serialization/resources/planmigrations/index.d.ts +1 -0
- package/dist/serialization/resources/planmigrations/types/CreateMigrationResponse.d.ts +11 -0
- package/dist/serialization/resources/planmigrations/types/RetryCompanyMigrationResponse.d.ts +11 -0
- package/dist/serialization/resources/planmigrations/types/RetryMigrationResponse.d.ts +11 -0
- package/dist/serialization/resources/planmigrations/types/index.d.ts +3 -0
- package/dist/serialization/resources/plans/client/requests/CreateBillingLinkedPlanRequestBody.d.ts +18 -0
- package/dist/serialization/resources/plans/client/requests/CreateCustomPlanRequestBody.d.ts +14 -0
- package/dist/serialization/resources/plans/client/requests/PublishPlanVersionRequestBody.d.ts +6 -0
- package/dist/serialization/resources/plans/client/requests/RetryCustomPlanBillingRequestBody.d.ts +14 -0
- package/dist/serialization/resources/plans/client/requests/index.d.ts +3 -0
- package/dist/serialization/resources/plans/types/CountBillingProductMatchCompaniesParams.d.ts +12 -0
- package/dist/serialization/resources/plans/types/CountBillingProductMatchCompaniesResponse.d.ts +12 -0
- package/dist/serialization/resources/plans/types/CountPlansParams.d.ts +4 -0
- package/dist/serialization/resources/plans/types/CreateCustomPlanResponse.d.ts +11 -0
- package/dist/serialization/resources/plans/types/DeletePlanVersionParams.d.ts +9 -0
- package/dist/serialization/resources/plans/types/DeletePlanVersionResponse.d.ts +2 -1
- package/dist/serialization/resources/plans/types/ListBillingProductMatchCompaniesParams.d.ts +12 -0
- package/dist/serialization/resources/plans/types/ListBillingProductMatchCompaniesResponse.d.ts +12 -0
- package/dist/serialization/resources/plans/types/ListCustomPlanBillingsParams.d.ts +15 -0
- package/dist/serialization/resources/plans/types/ListCustomPlanBillingsResponse.d.ts +12 -0
- package/dist/serialization/resources/plans/types/ListPlansParams.d.ts +4 -0
- package/dist/serialization/resources/plans/types/MarkCustomPlanBillingPaidResponse.d.ts +11 -0
- package/dist/serialization/resources/plans/types/RetryCustomPlanBillingResponse.d.ts +11 -0
- package/dist/serialization/resources/plans/types/UpsertPlanForBillingProductResponse.d.ts +11 -0
- package/dist/serialization/resources/plans/types/index.d.ts +11 -0
- package/dist/serialization/types/AccountMemberPermission.d.ts +7 -0
- package/dist/serialization/types/AccountMemberResponseData.d.ts +18 -0
- package/dist/serialization/types/AccountMemberRole.d.ts +7 -0
- package/dist/serialization/types/ActivityEntryResponseData.d.ts +14 -0
- package/dist/serialization/types/ActivityResponseResponseData.d.ts +10 -0
- package/dist/serialization/types/ApiKeyCreateResponseData.d.ts +4 -0
- package/dist/serialization/types/ApiKeyIntegrationResponseData.d.ts +13 -0
- package/dist/serialization/types/ApiKeyResponseData.d.ts +4 -0
- package/dist/serialization/types/AuditLogListResponseData.d.ts +4 -0
- package/dist/serialization/types/AuditLogResponseData.d.ts +4 -0
- package/dist/serialization/types/BillingCreditBundleResponseData.d.ts +3 -0
- package/dist/serialization/types/BillingCreditBundleView.d.ts +2 -0
- package/dist/serialization/types/BillingCreditGrantReason.d.ts +1 -1
- package/dist/serialization/types/BillingCreditGrantResponseData.d.ts +1 -0
- package/dist/serialization/types/BillingCreditResponseData.d.ts +2 -0
- package/dist/serialization/types/BillingCreditView.d.ts +2 -0
- package/dist/serialization/types/BillingLinkedResourceResponseData.d.ts +12 -0
- package/dist/serialization/types/BillingPlanCreditGrantResponseData.d.ts +2 -0
- package/dist/serialization/types/BillingPriceResponseData.d.ts +2 -0
- package/dist/serialization/types/BillingPriceView.d.ts +2 -0
- package/dist/serialization/types/BillingProductForSubscriptionResponseData.d.ts +1 -0
- package/dist/serialization/types/BillingProductPlanResponseData.d.ts +4 -2
- package/dist/serialization/types/BillingProductPriceResponseData.d.ts +2 -0
- package/dist/serialization/types/BillingProviderType.d.ts +1 -1
- package/dist/serialization/types/BillingStrategy.d.ts +7 -0
- package/dist/serialization/types/ChangeSubscriptionInternalRequestBody.d.ts +2 -0
- package/dist/serialization/types/ChangeSubscriptionRequestBody.d.ts +2 -0
- package/dist/serialization/types/ChargeType.d.ts +1 -1
- package/dist/serialization/types/CheckFlagResponseData.d.ts +4 -2
- package/dist/serialization/types/CheckoutSubscription.d.ts +2 -0
- package/dist/serialization/types/ClerkIntegrationConfig.d.ts +10 -0
- package/dist/serialization/types/CompanyCreditBalanceResponseData.d.ts +13 -0
- package/dist/serialization/types/CompanyDetailResponseData.d.ts +2 -0
- package/dist/serialization/types/CompanyEventPeriodMetricsResponseData.d.ts +4 -2
- package/dist/serialization/types/CompanyMatchingCriteria.d.ts +7 -0
- package/dist/serialization/types/CompanyOverrideResponseData.d.ts +4 -2
- package/dist/serialization/types/CompanyPlanCreditGrantView.d.ts +47 -0
- package/dist/serialization/types/CompanyPlanDetailResponseData.d.ts +19 -6
- package/dist/serialization/types/CompanyPlanWithBillingSubView.d.ts +2 -2
- package/dist/serialization/types/CompanySubscriptionResponseData.d.ts +2 -0
- package/dist/serialization/types/ComparableOperator.d.ts +7 -0
- package/dist/serialization/types/Condition.d.ts +8 -8
- package/dist/serialization/types/ConditionResponseData.d.ts +8 -4
- package/dist/serialization/types/{ConditionConditionType.d.ts → ConditionType.d.ts} +2 -2
- package/dist/serialization/types/ConditionView.d.ts +8 -4
- package/dist/serialization/types/CreateBillingPlanCreditGrantRequestBody.d.ts +2 -0
- package/dist/serialization/types/CreateCustomPlanBundlePlanRequestBody.d.ts +13 -0
- package/dist/serialization/types/CreateEntitlementInBundleRequestBody.d.ts +11 -4
- package/dist/serialization/types/CreateEntitlementReqCommon.d.ts +4 -4
- package/dist/serialization/types/CreateEventRequestBody.d.ts +3 -0
- package/dist/serialization/types/CreateFlagRequestBody.d.ts +1 -1
- package/dist/serialization/types/CreateOrUpdateConditionRequestBody.d.ts +8 -8
- package/dist/serialization/types/CreateOrUpdateFlagRequestBody.d.ts +1 -1
- package/dist/serialization/types/CreateOrUpdateRuleRequestBody.d.ts +2 -2
- package/dist/serialization/types/CreatePlanRequestBody.d.ts +2 -1
- package/dist/serialization/types/CreditBundleCurrencyPrice.d.ts +11 -0
- package/dist/serialization/types/CreditBundleCurrencyPriceRequestBody.d.ts +11 -0
- package/dist/serialization/types/CreditBundleCurrencyPriceResponseData.d.ts +11 -0
- package/dist/serialization/types/CreditCompanyGrantView.d.ts +1 -0
- package/dist/serialization/types/CreditCurrencyPrice.d.ts +11 -0
- package/dist/serialization/types/CreditCurrencyPriceRequestBody.d.ts +11 -0
- package/dist/serialization/types/CreditCurrencyPriceResponseData.d.ts +11 -0
- package/dist/serialization/types/CreditLeaseResponseData.d.ts +16 -0
- package/dist/serialization/types/CurrencyPriceRequestBody.d.ts +19 -0
- package/dist/serialization/types/CustomPlanActivationStrategy.d.ts +7 -0
- package/dist/serialization/types/CustomPlanBillingResponseData.d.ts +22 -0
- package/dist/serialization/types/CustomPlanBillingStatus.d.ts +7 -0
- package/dist/serialization/types/DataEventPayload.d.ts +3 -0
- package/dist/serialization/types/DatastreamCompanyPlan.d.ts +2 -0
- package/dist/serialization/types/DuplicatePlanEntitlementsResponseResponseData.d.ts +2 -0
- package/dist/serialization/types/EntitlementCurrencyPricesResponseData.d.ts +13 -0
- package/dist/serialization/types/EnvironmentFeatureUsageTimeSeriesResponseData.d.ts +12 -0
- package/dist/serialization/types/EnvironmentTraitUsageTimeSeriesResponseData.d.ts +12 -0
- package/dist/serialization/types/EnvironmentUsagePointResponseData.d.ts +10 -0
- package/dist/serialization/types/EventBodyTrack.d.ts +1 -0
- package/dist/serialization/types/EventDetailResponseData.d.ts +3 -0
- package/dist/serialization/types/EventResponseData.d.ts +1 -0
- package/dist/serialization/types/FeatureCompanyResponseData.d.ts +7 -4
- package/dist/serialization/types/FeatureCompanyUserResponseData.d.ts +4 -2
- package/dist/serialization/types/FeatureDetailResponseData.d.ts +5 -1
- package/dist/serialization/types/FeatureEntitlement.d.ts +4 -4
- package/dist/serialization/types/FeatureInPlanResponseData.d.ts +33 -0
- package/dist/serialization/types/FeatureResponseData.d.ts +1 -1
- package/dist/serialization/types/FeatureUsageResponseData.d.ts +7 -4
- package/dist/serialization/types/FeatureView.d.ts +3 -1
- package/dist/serialization/types/FlagDetailResponseData.d.ts +3 -1
- package/dist/serialization/types/FlagInPlanResponseData.d.ts +24 -0
- package/dist/serialization/types/FlagResponseData.d.ts +1 -1
- package/dist/serialization/types/FlagView.d.ts +0 -1
- package/dist/serialization/types/InsightsSummaryResponseData.d.ts +15 -0
- package/dist/serialization/types/IntegrationCapabilities.d.ts +11 -0
- package/dist/serialization/types/IntegrationConfig.d.ts +23 -0
- package/dist/serialization/types/IntegrationResponseData.d.ts +15 -0
- package/dist/serialization/types/IntegrationState.d.ts +7 -0
- package/dist/serialization/types/IntegrationType.d.ts +7 -0
- package/dist/serialization/types/IntegrationWebhookUrlResponseData.d.ts +11 -0
- package/dist/serialization/types/IntegrationsDataSetResponseData.d.ts +9 -0
- package/dist/serialization/types/IntegrationsListResponseData.d.ts +19 -0
- package/dist/serialization/types/IntegrationsResponseData.d.ts +15 -0
- package/dist/serialization/types/MarkCustomPlanBillingPaidRequestBody.d.ts +7 -0
- package/dist/serialization/types/{ConditionMetricPeriod.d.ts → MetricPeriod.d.ts} +2 -2
- package/dist/serialization/types/MetricPeriodMonthReset.d.ts +7 -0
- package/dist/serialization/types/MigrationErrorCode.d.ts +7 -0
- package/dist/serialization/types/MrrResponseData.d.ts +10 -0
- package/dist/serialization/types/OrbIntegrationConfig.d.ts +9 -0
- package/dist/serialization/types/PlanCreditGrantView.d.ts +2 -0
- package/dist/serialization/types/PlanCurrencyPriceRequestBody.d.ts +13 -0
- package/dist/serialization/types/PlanCurrencyPricesResponseData.d.ts +14 -0
- package/dist/serialization/types/PlanDetailResponseData.d.ts +18 -5
- package/dist/serialization/types/PlanEntitlementResponseData.d.ts +10 -2
- package/dist/serialization/types/PlanGroupPlanDetailResponseData.d.ts +19 -6
- package/dist/serialization/types/PlanGrowthPointResponseData.d.ts +12 -0
- package/dist/serialization/types/PlanGrowthResponseData.d.ts +10 -0
- package/dist/serialization/types/PlanIcon.d.ts +7 -0
- package/dist/serialization/types/PlanPriceCadence.d.ts +7 -0
- package/dist/serialization/types/PlanResponseData.d.ts +4 -1
- package/dist/serialization/types/PlanVersionCompanyMigrationResponseData.d.ts +2 -0
- package/dist/serialization/types/PlanVersionMigrationResponseData.d.ts +1 -0
- package/dist/serialization/types/PlanVersionResponseData.d.ts +2 -1
- package/dist/serialization/types/PlanViewPublicResponseData.d.ts +19 -6
- package/dist/serialization/types/ReleaseCreditLeaseRequestBody.d.ts +7 -0
- package/dist/serialization/types/Rule.d.ts +2 -2
- package/dist/serialization/types/RuleConditionDetailResponseData.d.ts +8 -4
- package/dist/serialization/types/RuleConditionResponseData.d.ts +8 -4
- package/dist/serialization/types/RuleDetailResponseData.d.ts +2 -1
- package/dist/serialization/types/RuleResponseData.d.ts +2 -1
- package/dist/serialization/types/RuleType.d.ts +7 -0
- package/dist/serialization/types/RuleView.d.ts +2 -1
- package/dist/serialization/types/RulesEngineSchemaVersion.d.ts +1 -1
- package/dist/serialization/types/RulesengineCheckFlagResult.d.ts +4 -4
- package/dist/serialization/types/RulesengineCompanyMetric.d.ts +4 -4
- package/dist/serialization/types/RulesengineCondition.d.ts +8 -8
- package/dist/serialization/types/{RulesengineConditionConditionType.d.ts → RulesengineConditionType.d.ts} +2 -2
- package/dist/serialization/types/RulesengineFeatureEntitlement.d.ts +4 -4
- package/dist/serialization/types/RulesengineMetricPeriod.d.ts +7 -0
- package/dist/serialization/types/RulesengineMetricPeriodMonthReset.d.ts +7 -0
- package/dist/serialization/types/RulesengineRule.d.ts +2 -2
- package/dist/serialization/types/RulesengineRuleType.d.ts +7 -0
- package/dist/serialization/types/StripeIntegrationConfig.d.ts +14 -0
- package/dist/serialization/types/TopFeatureByUsageResponseData.d.ts +14 -0
- package/dist/serialization/types/TopFeaturesByUsageResponseData.d.ts +10 -0
- package/dist/serialization/types/TrialStatus.d.ts +7 -0
- package/dist/serialization/types/UpdateAutoTopupOverrideRequestBody.d.ts +12 -0
- package/dist/serialization/types/UpdateBillingPlanCreditGrantRequestBody.d.ts +2 -0
- package/dist/serialization/types/UpdateEntitlementReqCommon.d.ts +4 -4
- package/dist/serialization/types/UpdatePlanRequestBody.d.ts +2 -1
- package/dist/serialization/types/UpsertBillingProductRequestBody.d.ts +6 -0
- package/dist/serialization/types/UsageBasedEntitlementRequestBody.d.ts +7 -0
- package/dist/serialization/types/UsageBasedEntitlementResponseData.d.ts +6 -2
- package/dist/serialization/types/WebhookUrl.d.ts +11 -0
- package/dist/serialization/types/WorkOsIntegrationConfig.d.ts +10 -0
- package/dist/serialization/types/index.d.ts +67 -30
- package/dist/version.d.ts +2 -0
- package/dist/wasm/rulesengine.d.ts +1 -0
- package/dist/wasm/rulesengine.js +41 -9
- package/dist/wasm/rulesengine_bg.wasm +0 -0
- package/dist/wasm/rulesengine_bg.wasm.d.ts +1 -0
- package/dist/wrapper.d.ts +40 -5
- package/package.json +9 -9
- package/dist/api/resources/companies/client/requests/CreatePlanTraitRequestBody.d.ts +0 -13
- package/dist/api/resources/companies/client/requests/UpdatePlanTraitRequestBody.d.ts +0 -11
- package/dist/api/resources/entitlements/types/CreateCompanyOverrideRequestBodyMetricPeriod.d.ts +0 -7
- package/dist/api/resources/entitlements/types/CreateCompanyOverrideRequestBodyMetricPeriodMonthReset.d.ts +0 -5
- package/dist/api/resources/entitlements/types/CreatePlanEntitlementRequestBodyMetricPeriod.d.ts +0 -7
- package/dist/api/resources/entitlements/types/CreatePlanEntitlementRequestBodyMetricPeriodMonthReset.d.ts +0 -5
- package/dist/api/resources/entitlements/types/UpdateCompanyOverrideRequestBodyMetricPeriod.d.ts +0 -7
- package/dist/api/resources/entitlements/types/UpdateCompanyOverrideRequestBodyMetricPeriodMonthReset.d.ts +0 -5
- package/dist/api/resources/entitlements/types/UpdatePlanEntitlementRequestBodyMetricPeriod.d.ts +0 -7
- package/dist/api/resources/entitlements/types/UpdatePlanEntitlementRequestBodyMetricPeriodMonthReset.d.ts +0 -5
- package/dist/api/types/ConditionMetricPeriodMonthReset.d.ts +0 -5
- package/dist/api/types/CreateEntitlementInBundleRequestBodyMetricPeriod.d.ts +0 -7
- package/dist/api/types/CreateEntitlementInBundleRequestBodyMetricPeriodMonthReset.d.ts +0 -5
- package/dist/api/types/CreateEntitlementReqCommonMetricPeriod.d.ts +0 -7
- package/dist/api/types/CreateEntitlementReqCommonMetricPeriodMonthReset.d.ts +0 -5
- package/dist/api/types/CreateOrUpdateConditionRequestBodyConditionType.d.ts +0 -10
- package/dist/api/types/CreateOrUpdateConditionRequestBodyMetricPeriod.d.ts +0 -8
- package/dist/api/types/CreateOrUpdateConditionRequestBodyMetricPeriodMonthReset.d.ts +0 -6
- package/dist/api/types/CreateOrUpdateConditionRequestBodyOperator.d.ts +0 -11
- package/dist/api/types/CreateOrUpdateRuleRequestBodyRuleType.d.ts +0 -8
- package/dist/api/types/FeatureEntitlementMetricPeriod.d.ts +0 -8
- package/dist/api/types/FeatureEntitlementMonthReset.d.ts +0 -6
- package/dist/api/types/PlanControlledByType.d.ts +0 -5
- package/dist/api/types/RulesengineCheckFlagResultFeatureUsagePeriod.d.ts +0 -7
- package/dist/api/types/RulesengineCheckFlagResultRuleType.d.ts +0 -10
- package/dist/api/types/RulesengineCompanyMetricMonthReset.d.ts +0 -5
- package/dist/api/types/RulesengineCompanyMetricPeriod.d.ts +0 -7
- package/dist/api/types/RulesengineConditionMetricPeriod.d.ts +0 -7
- package/dist/api/types/RulesengineConditionMetricPeriodMonthReset.d.ts +0 -5
- package/dist/api/types/RulesengineConditionOperator.d.ts +0 -11
- package/dist/api/types/RulesengineFeatureEntitlementMetricPeriod.d.ts +0 -8
- package/dist/api/types/RulesengineFeatureEntitlementMonthReset.d.ts +0 -6
- package/dist/api/types/UpdateEntitlementReqCommonMetricPeriod.d.ts +0 -7
- package/dist/api/types/UpdateEntitlementReqCommonMetricPeriodMonthReset.d.ts +0 -5
- package/dist/serialization/resources/companies/client/requests/CreatePlanTraitRequestBody.d.ts +0 -11
- package/dist/serialization/resources/companies/client/requests/UpdatePlanTraitRequestBody.d.ts +0 -10
- package/dist/serialization/resources/companies/types/CreatePlanTraitResponse.d.ts +0 -11
- package/dist/serialization/resources/companies/types/UpdatePlanTraitResponse.d.ts +0 -11
- package/dist/serialization/resources/entitlements/types/CreateCompanyOverrideRequestBodyMetricPeriod.d.ts +0 -7
- package/dist/serialization/resources/entitlements/types/CreateCompanyOverrideRequestBodyMetricPeriodMonthReset.d.ts +0 -7
- package/dist/serialization/resources/entitlements/types/CreatePlanEntitlementRequestBodyMetricPeriod.d.ts +0 -7
- package/dist/serialization/resources/entitlements/types/CreatePlanEntitlementRequestBodyMetricPeriodMonthReset.d.ts +0 -7
- package/dist/serialization/resources/entitlements/types/UpdateCompanyOverrideRequestBodyMetricPeriod.d.ts +0 -7
- package/dist/serialization/resources/entitlements/types/UpdateCompanyOverrideRequestBodyMetricPeriodMonthReset.d.ts +0 -7
- package/dist/serialization/resources/entitlements/types/UpdatePlanEntitlementRequestBodyMetricPeriod.d.ts +0 -7
- package/dist/serialization/resources/entitlements/types/UpdatePlanEntitlementRequestBodyMetricPeriodMonthReset.d.ts +0 -7
- package/dist/serialization/types/ConditionMetricPeriodMonthReset.d.ts +0 -7
- package/dist/serialization/types/ConditionOperator.d.ts +0 -7
- package/dist/serialization/types/CreateEntitlementInBundleRequestBodyMetricPeriod.d.ts +0 -7
- package/dist/serialization/types/CreateEntitlementInBundleRequestBodyMetricPeriodMonthReset.d.ts +0 -7
- package/dist/serialization/types/CreateEntitlementReqCommonMetricPeriod.d.ts +0 -7
- package/dist/serialization/types/CreateEntitlementReqCommonMetricPeriodMonthReset.d.ts +0 -7
- package/dist/serialization/types/CreateOrUpdateConditionRequestBodyConditionType.d.ts +0 -7
- package/dist/serialization/types/CreateOrUpdateConditionRequestBodyMetricPeriod.d.ts +0 -7
- package/dist/serialization/types/CreateOrUpdateConditionRequestBodyMetricPeriodMonthReset.d.ts +0 -7
- package/dist/serialization/types/CreateOrUpdateConditionRequestBodyOperator.d.ts +0 -7
- package/dist/serialization/types/CreateOrUpdateRuleRequestBodyRuleType.d.ts +0 -7
- package/dist/serialization/types/FeatureEntitlementMetricPeriod.d.ts +0 -7
- package/dist/serialization/types/FeatureEntitlementMonthReset.d.ts +0 -7
- package/dist/serialization/types/PlanControlledByType.d.ts +0 -7
- package/dist/serialization/types/RuleRuleType.d.ts +0 -7
- package/dist/serialization/types/RulesengineCheckFlagResultFeatureUsagePeriod.d.ts +0 -7
- package/dist/serialization/types/RulesengineCheckFlagResultRuleType.d.ts +0 -7
- package/dist/serialization/types/RulesengineCompanyMetricMonthReset.d.ts +0 -7
- package/dist/serialization/types/RulesengineCompanyMetricPeriod.d.ts +0 -7
- package/dist/serialization/types/RulesengineConditionMetricPeriod.d.ts +0 -7
- package/dist/serialization/types/RulesengineConditionMetricPeriodMonthReset.d.ts +0 -7
- package/dist/serialization/types/RulesengineConditionOperator.d.ts +0 -7
- package/dist/serialization/types/RulesengineFeatureEntitlementMetricPeriod.d.ts +0 -7
- package/dist/serialization/types/RulesengineFeatureEntitlementMonthReset.d.ts +0 -7
- package/dist/serialization/types/RulesengineRuleRuleType.d.ts +0 -7
- package/dist/serialization/types/UpdateEntitlementReqCommonMetricPeriod.d.ts +0 -7
- package/dist/serialization/types/UpdateEntitlementReqCommonMetricPeriodMonthReset.d.ts +0 -7
|
@@ -6,13 +6,13 @@ export interface RulesengineCheckFlagResult {
|
|
|
6
6
|
featureAllocation?: number;
|
|
7
7
|
featureUsage?: number;
|
|
8
8
|
featureUsageEvent?: string;
|
|
9
|
-
featureUsagePeriod?: Schematic.
|
|
9
|
+
featureUsagePeriod?: Schematic.RulesengineMetricPeriod;
|
|
10
10
|
featureUsageResetAt?: Date;
|
|
11
11
|
flagId?: string;
|
|
12
12
|
flagKey: string;
|
|
13
13
|
reason: string;
|
|
14
14
|
ruleId?: string;
|
|
15
|
-
ruleType?: Schematic.
|
|
15
|
+
ruleType?: Schematic.RulesengineRuleType;
|
|
16
16
|
userId?: string;
|
|
17
17
|
value: boolean;
|
|
18
18
|
}
|
|
@@ -5,8 +5,8 @@ export interface RulesengineCompanyMetric {
|
|
|
5
5
|
createdAt: Date;
|
|
6
6
|
environmentId: string;
|
|
7
7
|
eventSubtype: string;
|
|
8
|
-
monthReset: Schematic.
|
|
9
|
-
period: Schematic.
|
|
8
|
+
monthReset: Schematic.RulesengineMetricPeriodMonthReset;
|
|
9
|
+
period: Schematic.RulesengineMetricPeriod;
|
|
10
10
|
validUntil?: Date;
|
|
11
11
|
value: number;
|
|
12
12
|
}
|
|
@@ -2,16 +2,16 @@ import type * as Schematic from "../index";
|
|
|
2
2
|
export interface RulesengineCondition {
|
|
3
3
|
accountId: string;
|
|
4
4
|
comparisonTraitDefinition?: Schematic.RulesengineTraitDefinition;
|
|
5
|
-
conditionType: Schematic.
|
|
5
|
+
conditionType: Schematic.RulesengineConditionType;
|
|
6
6
|
consumptionRate?: number;
|
|
7
7
|
creditId?: string;
|
|
8
8
|
environmentId: string;
|
|
9
9
|
eventSubtype?: string;
|
|
10
10
|
id: string;
|
|
11
|
-
metricPeriod?: Schematic.
|
|
12
|
-
metricPeriodMonthReset?: Schematic.
|
|
11
|
+
metricPeriod?: Schematic.RulesengineMetricPeriod;
|
|
12
|
+
metricPeriodMonthReset?: Schematic.RulesengineMetricPeriodMonthReset;
|
|
13
13
|
metricValue?: number;
|
|
14
|
-
operator: Schematic.
|
|
14
|
+
operator: Schematic.ComparableOperator;
|
|
15
15
|
resourceIds: string[];
|
|
16
16
|
traitDefinition?: Schematic.RulesengineTraitDefinition;
|
|
17
17
|
traitValue: string;
|
package/dist/api/types/{RulesengineConditionConditionType.d.ts → RulesengineConditionType.d.ts}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export declare const
|
|
1
|
+
export declare const RulesengineConditionType: {
|
|
2
2
|
readonly BasePlan: "base_plan";
|
|
3
3
|
readonly BillingProduct: "billing_product";
|
|
4
4
|
readonly Company: "company";
|
|
@@ -9,4 +9,4 @@ export declare const RulesengineConditionConditionType: {
|
|
|
9
9
|
readonly Trait: "trait";
|
|
10
10
|
readonly User: "user";
|
|
11
11
|
};
|
|
12
|
-
export type
|
|
12
|
+
export type RulesengineConditionType = (typeof RulesengineConditionType)[keyof typeof RulesengineConditionType];
|
|
@@ -17,11 +17,11 @@ export interface RulesengineFeatureEntitlement {
|
|
|
17
17
|
/** The key of the flag associated with the feature */
|
|
18
18
|
featureKey: string;
|
|
19
19
|
/** For event-based feature entitlements, the period over which usage is tracked */
|
|
20
|
-
metricPeriod?: Schematic.
|
|
20
|
+
metricPeriod?: Schematic.RulesengineMetricPeriod;
|
|
21
21
|
/** For event-based feature entitlements, when the usage period will reset */
|
|
22
22
|
metricResetAt?: Date;
|
|
23
23
|
/** For event-based feature entitlements that have a monthly period, whether that monthly reset is based on the calendar month or a billing cycle */
|
|
24
|
-
monthReset?: Schematic.
|
|
24
|
+
monthReset?: Schematic.RulesengineMetricPeriodMonthReset;
|
|
25
25
|
/** For usage-based pricing, the soft limit for overage charges or the next tier boundary */
|
|
26
26
|
softLimit?: number;
|
|
27
27
|
/** If the company has a numeric entitlement for this feature, the current usage amount */
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
export declare const RulesengineMetricPeriod: {
|
|
2
|
+
readonly AllTime: "all_time";
|
|
3
|
+
readonly CurrentDay: "current_day";
|
|
4
|
+
readonly CurrentMonth: "current_month";
|
|
5
|
+
readonly CurrentWeek: "current_week";
|
|
6
|
+
};
|
|
7
|
+
export type RulesengineMetricPeriod = (typeof RulesengineMetricPeriod)[keyof typeof RulesengineMetricPeriod];
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export declare const RulesengineMetricPeriodMonthReset: {
|
|
2
|
+
readonly BillingCycle: "billing_cycle";
|
|
3
|
+
readonly FirstOfMonth: "first_of_month";
|
|
4
|
+
};
|
|
5
|
+
export type RulesengineMetricPeriodMonthReset = (typeof RulesengineMetricPeriodMonthReset)[keyof typeof RulesengineMetricPeriodMonthReset];
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
export declare const
|
|
2
|
-
readonly Default: "default";
|
|
3
|
-
readonly GlobalOverride: "global_override";
|
|
1
|
+
export declare const RulesengineRuleType: {
|
|
4
2
|
readonly CompanyOverride: "company_override";
|
|
5
3
|
readonly CompanyOverrideUsageExceeded: "company_override_usage_exceeded";
|
|
4
|
+
readonly Default: "default";
|
|
5
|
+
readonly GlobalOverride: "global_override";
|
|
6
6
|
readonly PlanEntitlement: "plan_entitlement";
|
|
7
7
|
readonly PlanEntitlementUsageExceeded: "plan_entitlement_usage_exceeded";
|
|
8
8
|
readonly Standard: "standard";
|
|
9
9
|
};
|
|
10
|
-
export type
|
|
10
|
+
export type RulesengineRuleType = (typeof RulesengineRuleType)[keyof typeof RulesengineRuleType];
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
export interface StripeIntegrationConfig {
|
|
2
|
+
/** Connected Stripe account ID (acct_*) */
|
|
3
|
+
accountId?: string;
|
|
4
|
+
/** Display name of the connected Stripe account */
|
|
5
|
+
accountName?: string;
|
|
6
|
+
/** When importing Stripe customers, only update existing companies, do not create new companies */
|
|
7
|
+
companyUpdateOnly?: boolean;
|
|
8
|
+
/** Whether the integration is connected to a Stripe sandbox account */
|
|
9
|
+
isSandbox: boolean;
|
|
10
|
+
/** Whether the integration is connected to a live Stripe account */
|
|
11
|
+
liveMode: boolean;
|
|
12
|
+
/** Onboarding URL returned during the v2 (Connect) install flow before activation */
|
|
13
|
+
onboardUrl?: string;
|
|
14
|
+
}
|
|
@@ -7,6 +7,8 @@ export interface UpdateBillingPlanCreditGrantRequestBody {
|
|
|
7
7
|
autoTopupExpiryType?: Schematic.BillingCreditExpiryType;
|
|
8
8
|
autoTopupExpiryUnit?: Schematic.BillingCreditExpiryUnit;
|
|
9
9
|
autoTopupExpiryUnitCount?: number;
|
|
10
|
+
autoTopupSelfService?: boolean;
|
|
11
|
+
autoTopupThresholdCredits?: number;
|
|
10
12
|
autoTopupThresholdPercent?: number;
|
|
11
13
|
creditAmount?: number;
|
|
12
14
|
expiryType?: Schematic.BillingCreditExpiryType;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import type * as Schematic from "../index";
|
|
2
2
|
export interface UpdateEntitlementReqCommon {
|
|
3
3
|
creditConsumptionRate?: number;
|
|
4
|
-
metricPeriod?: Schematic.
|
|
5
|
-
metricPeriodMonthReset?: Schematic.
|
|
4
|
+
metricPeriod?: Schematic.MetricPeriod;
|
|
5
|
+
metricPeriodMonthReset?: Schematic.MetricPeriodMonthReset;
|
|
6
6
|
valueBool?: boolean;
|
|
7
7
|
valueCreditId?: string;
|
|
8
8
|
valueNumeric?: number;
|
|
@@ -1,13 +1,17 @@
|
|
|
1
1
|
import type * as Schematic from "../index";
|
|
2
2
|
export interface UpsertBillingProductRequestBody {
|
|
3
3
|
billingProductId?: string;
|
|
4
|
+
billingStrategy?: Schematic.BillingStrategy;
|
|
4
5
|
chargeType: Schematic.ChargeType;
|
|
5
6
|
currency?: string;
|
|
7
|
+
currencyPrices?: Schematic.PlanCurrencyPriceRequestBody[];
|
|
6
8
|
isTrialable: boolean;
|
|
7
9
|
monthlyPrice?: number;
|
|
8
10
|
monthlyPriceId?: string;
|
|
9
11
|
oneTimePrice?: number;
|
|
10
12
|
oneTimePriceId?: string;
|
|
13
|
+
quarterlyPrice?: number;
|
|
14
|
+
quarterlyPriceId?: string;
|
|
11
15
|
trialDays?: number;
|
|
12
16
|
yearlyPrice?: number;
|
|
13
17
|
yearlyPriceId?: string;
|
|
@@ -3,6 +3,7 @@ export interface UsageBasedEntitlementRequestBody {
|
|
|
3
3
|
billingProductId?: string;
|
|
4
4
|
billingThreshold?: number;
|
|
5
5
|
currency?: string;
|
|
6
|
+
currencyPrices?: Schematic.CurrencyPriceRequestBody[];
|
|
6
7
|
monthlyMeteredPriceId?: string;
|
|
7
8
|
monthlyPriceTiers?: Schematic.CreatePriceTierRequestBody[];
|
|
8
9
|
monthlyUnitPrice?: number;
|
|
@@ -11,8 +12,14 @@ export interface UsageBasedEntitlementRequestBody {
|
|
|
11
12
|
priceBehavior?: Schematic.EntitlementPriceBehavior;
|
|
12
13
|
/** Use MonthlyPriceTiers or YearlyPriceTiers instead */
|
|
13
14
|
priceTiers?: Schematic.CreatePriceTierRequestBody[];
|
|
15
|
+
quarterlyMeteredPriceId?: string;
|
|
16
|
+
quarterlyPriceTiers?: Schematic.CreatePriceTierRequestBody[];
|
|
17
|
+
quarterlyUnitPrice?: number;
|
|
18
|
+
quarterlyUnitPriceDecimal?: string;
|
|
14
19
|
softLimit?: number;
|
|
15
20
|
tierMode?: Schematic.BillingTiersMode;
|
|
21
|
+
/** The committed unit quantity for this entitlement. For custom plans this is the quantity the company is contractually committed to; for standard plans it is the quantity pre-filled when subscribing. Only applies to pay-in-advance entitlements. Note: this is not yet enforced/auto-provisioned as a true default — it is currently stored for downstream billing use. */
|
|
22
|
+
usageQuantity?: number;
|
|
16
23
|
yearlyMeteredPriceId?: string;
|
|
17
24
|
yearlyPriceTiers?: Schematic.CreatePriceTierRequestBody[];
|
|
18
25
|
yearlyUnitPrice?: number;
|
|
@@ -4,10 +4,13 @@ export interface UsageBasedEntitlementResponseData {
|
|
|
4
4
|
consumptionRate?: number;
|
|
5
5
|
featureId: string;
|
|
6
6
|
meteredPrice?: Schematic.BillingPriceView;
|
|
7
|
-
metricPeriod?:
|
|
8
|
-
metricPeriodMonthReset?:
|
|
7
|
+
metricPeriod?: Schematic.MetricPeriod;
|
|
8
|
+
metricPeriodMonthReset?: Schematic.MetricPeriodMonthReset;
|
|
9
9
|
monthlyUsageBasedPrice?: Schematic.BillingPriceView;
|
|
10
10
|
priceBehavior?: Schematic.EntitlementPriceBehavior;
|
|
11
|
+
quarterlyUsageBasedPrice?: Schematic.BillingPriceView;
|
|
12
|
+
/** The committed unit quantity for this entitlement. For custom plans this is the quantity the company is contractually committed to; for standard plans it is the quantity pre-filled when subscribing. Only applies to pay-in-advance entitlements. Note: this is not yet enforced/auto-provisioned as a true default — it is currently stored for downstream billing use. */
|
|
13
|
+
usageQuantity?: number;
|
|
11
14
|
valueBool?: boolean;
|
|
12
15
|
valueNumeric?: number;
|
|
13
16
|
valueType: Schematic.EntitlementValueType;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export interface WorkOsIntegrationConfig {
|
|
2
|
+
/** Whether Schematic has received the first webhook event from WorkOS after install */
|
|
3
|
+
firstEventsReceived?: boolean;
|
|
4
|
+
/** URL configured on the WorkOS webhook endpoint that delivers events to Schematic */
|
|
5
|
+
webhookUrl?: string;
|
|
6
|
+
}
|
|
@@ -1,6 +1,12 @@
|
|
|
1
|
+
export * from "./AccountMemberPermission";
|
|
2
|
+
export * from "./AccountMemberResponseData";
|
|
3
|
+
export * from "./AccountMemberRole";
|
|
4
|
+
export * from "./ActivityEntryResponseData";
|
|
5
|
+
export * from "./ActivityResponseResponseData";
|
|
1
6
|
export * from "./ActorType";
|
|
2
7
|
export * from "./ApiError";
|
|
3
8
|
export * from "./ApiKeyCreateResponseData";
|
|
9
|
+
export * from "./ApiKeyIntegrationResponseData";
|
|
4
10
|
export * from "./ApiKeyResponseData";
|
|
5
11
|
export * from "./ApiKeyScope";
|
|
6
12
|
export * from "./AuditLogListResponseData";
|
|
@@ -23,6 +29,7 @@ export * from "./BillingCreditView";
|
|
|
23
29
|
export * from "./BillingCustomerResponseData";
|
|
24
30
|
export * from "./BillingCustomerSubscription";
|
|
25
31
|
export * from "./BillingCustomerWithSubscriptionsResponseData";
|
|
32
|
+
export * from "./BillingLinkedResourceResponseData";
|
|
26
33
|
export * from "./BillingMeterResponseData";
|
|
27
34
|
export * from "./BillingPlanCreditGrantResetCadence";
|
|
28
35
|
export * from "./BillingPlanCreditGrantResetStart";
|
|
@@ -41,6 +48,7 @@ export * from "./BillingProductPriceTierResponseData";
|
|
|
41
48
|
export * from "./BillingProductPricing";
|
|
42
49
|
export * from "./BillingProductResponseData";
|
|
43
50
|
export * from "./BillingProviderType";
|
|
51
|
+
export * from "./BillingStrategy";
|
|
44
52
|
export * from "./BillingSubscriptionDiscount";
|
|
45
53
|
export * from "./BillingSubscriptionDiscountView";
|
|
46
54
|
export * from "./BillingSubscriptionResponseData";
|
|
@@ -59,18 +67,23 @@ export * from "./CheckFlagsResponseData";
|
|
|
59
67
|
export * from "./CheckoutDataResponseData";
|
|
60
68
|
export * from "./CheckoutSettingsResponseData";
|
|
61
69
|
export * from "./CheckoutSubscription";
|
|
70
|
+
export * from "./ClerkIntegrationConfig";
|
|
71
|
+
export * from "./CompanyCreditBalanceResponseData";
|
|
62
72
|
export * from "./CompanyDetailResponseData";
|
|
63
73
|
export * from "./CompanyEventPeriodMetricsResponseData";
|
|
64
74
|
export * from "./CompanyLedgerResponseData";
|
|
75
|
+
export * from "./CompanyMatchingCriteria";
|
|
65
76
|
export * from "./CompanyMembershipDetailResponseData";
|
|
66
77
|
export * from "./CompanyMembershipResponseData";
|
|
67
78
|
export * from "./CompanyOverrideNoteResponseData";
|
|
68
79
|
export * from "./CompanyOverrideResponseData";
|
|
80
|
+
export * from "./CompanyPlanCreditGrantView";
|
|
69
81
|
export * from "./CompanyPlanDetailResponseData";
|
|
70
82
|
export * from "./CompanyPlanInvalidReason";
|
|
71
83
|
export * from "./CompanyPlanWithBillingSubView";
|
|
72
84
|
export * from "./CompanyResponseData";
|
|
73
85
|
export * from "./CompanySubscriptionResponseData";
|
|
86
|
+
export * from "./ComparableOperator";
|
|
74
87
|
export * from "./CompatiblePlans";
|
|
75
88
|
export * from "./CompatiblePlansResponseData";
|
|
76
89
|
export * from "./ComponentCapabilities";
|
|
@@ -83,46 +96,42 @@ export * from "./ComponentResponseData";
|
|
|
83
96
|
export * from "./ComponentSettingsResponseData";
|
|
84
97
|
export * from "./ComponentState";
|
|
85
98
|
export * from "./Condition";
|
|
86
|
-
export * from "./ConditionConditionType";
|
|
87
99
|
export * from "./ConditionGroup";
|
|
88
100
|
export * from "./ConditionGroupResponseData";
|
|
89
101
|
export * from "./ConditionGroupView";
|
|
90
|
-
export * from "./ConditionMetricPeriod";
|
|
91
|
-
export * from "./ConditionMetricPeriodMonthReset";
|
|
92
|
-
export * from "./ConditionOperator";
|
|
93
102
|
export * from "./ConditionResponseData";
|
|
103
|
+
export * from "./ConditionType";
|
|
94
104
|
export * from "./ConditionView";
|
|
95
105
|
export * from "./CountResponse";
|
|
96
106
|
export * from "./CouponRequestBody";
|
|
97
107
|
export * from "./CreateBillingPlanCreditGrantRequestBody";
|
|
98
108
|
export * from "./CreateBillingPriceTierRequestBody";
|
|
109
|
+
export * from "./CreateCustomPlanBundlePlanRequestBody";
|
|
99
110
|
export * from "./CreateEntitlementInBundleRequestBody";
|
|
100
|
-
export * from "./CreateEntitlementInBundleRequestBodyMetricPeriod";
|
|
101
|
-
export * from "./CreateEntitlementInBundleRequestBodyMetricPeriodMonthReset";
|
|
102
111
|
export * from "./CreateEntitlementReqCommon";
|
|
103
|
-
export * from "./CreateEntitlementReqCommonMetricPeriod";
|
|
104
|
-
export * from "./CreateEntitlementReqCommonMetricPeriodMonthReset";
|
|
105
112
|
export * from "./CreateEventRequestBody";
|
|
106
113
|
export * from "./CreateFlagRequestBody";
|
|
107
114
|
export * from "./CreateOrUpdateConditionGroupRequestBody";
|
|
108
115
|
export * from "./CreateOrUpdateConditionRequestBody";
|
|
109
|
-
export * from "./CreateOrUpdateConditionRequestBodyConditionType";
|
|
110
|
-
export * from "./CreateOrUpdateConditionRequestBodyMetricPeriod";
|
|
111
|
-
export * from "./CreateOrUpdateConditionRequestBodyMetricPeriodMonthReset";
|
|
112
|
-
export * from "./CreateOrUpdateConditionRequestBodyOperator";
|
|
113
116
|
export * from "./CreateOrUpdateFlagRequestBody";
|
|
114
117
|
export * from "./CreateOrUpdateRuleRequestBody";
|
|
115
|
-
export * from "./CreateOrUpdateRuleRequestBodyRuleType";
|
|
116
118
|
export * from "./CreatePlanRequestBody";
|
|
117
119
|
export * from "./CreatePriceTierRequestBody";
|
|
118
120
|
export * from "./CreditAutoTopupAmountType";
|
|
121
|
+
export * from "./CreditBundleCurrencyPrice";
|
|
122
|
+
export * from "./CreditBundleCurrencyPriceRequestBody";
|
|
123
|
+
export * from "./CreditBundleCurrencyPriceResponseData";
|
|
119
124
|
export * from "./CreditBundlePurchaseResponseData";
|
|
120
125
|
export * from "./CreditCompanyGrantView";
|
|
126
|
+
export * from "./CreditCurrencyPrice";
|
|
127
|
+
export * from "./CreditCurrencyPriceRequestBody";
|
|
128
|
+
export * from "./CreditCurrencyPriceResponseData";
|
|
121
129
|
export * from "./CreditEventLedgerResponseData";
|
|
122
130
|
export * from "./CreditEventType";
|
|
123
131
|
export * from "./CreditGrantDetail";
|
|
124
132
|
export * from "./CreditGrantExpiryRequestBody";
|
|
125
133
|
export * from "./CreditGrantSortOrder";
|
|
134
|
+
export * from "./CreditLeaseResponseData";
|
|
126
135
|
export * from "./CreditLedgerEnrichedEntryResponseData";
|
|
127
136
|
export * from "./CreditLedgerPeriod";
|
|
128
137
|
export * from "./CreditsAutoTopupCompanySummary";
|
|
@@ -134,6 +143,10 @@ export * from "./CreditTransferView";
|
|
|
134
143
|
export * from "./CreditTriggerConfig";
|
|
135
144
|
export * from "./CreditUsage";
|
|
136
145
|
export * from "./CreditUsageAggregation";
|
|
146
|
+
export * from "./CurrencyPriceRequestBody";
|
|
147
|
+
export * from "./CustomPlanActivationStrategy";
|
|
148
|
+
export * from "./CustomPlanBillingResponseData";
|
|
149
|
+
export * from "./CustomPlanBillingStatus";
|
|
137
150
|
export * from "./CustomPlanConfig";
|
|
138
151
|
export * from "./CustomPlanViewConfigResponseData";
|
|
139
152
|
export * from "./DataEventPayload";
|
|
@@ -145,6 +158,7 @@ export * from "./DatastreamCompanyPlan";
|
|
|
145
158
|
export * from "./DeleteBillingPlanCreditGrantRequestBody";
|
|
146
159
|
export * from "./DeleteResponse";
|
|
147
160
|
export * from "./DuplicatePlanEntitlementsResponseResponseData";
|
|
161
|
+
export * from "./EntitlementCurrencyPricesResponseData";
|
|
148
162
|
export * from "./EntitlementPriceBehavior";
|
|
149
163
|
export * from "./EntitlementsInPlan";
|
|
150
164
|
export * from "./EntitlementTriggerConfig";
|
|
@@ -159,8 +173,11 @@ export * from "./EntityTraitResponseData";
|
|
|
159
173
|
export * from "./EntityTraitValue";
|
|
160
174
|
export * from "./EntityType";
|
|
161
175
|
export * from "./EnvironmentDetailResponseData";
|
|
176
|
+
export * from "./EnvironmentFeatureUsageTimeSeriesResponseData";
|
|
162
177
|
export * from "./EnvironmentResponseData";
|
|
178
|
+
export * from "./EnvironmentTraitUsageTimeSeriesResponseData";
|
|
163
179
|
export * from "./EnvironmentType";
|
|
180
|
+
export * from "./EnvironmentUsagePointResponseData";
|
|
164
181
|
export * from "./EventBody";
|
|
165
182
|
export * from "./EventBodyFlagCheck";
|
|
166
183
|
export * from "./EventBodyIdentify";
|
|
@@ -175,8 +192,7 @@ export * from "./FeatureCompanyResponseData";
|
|
|
175
192
|
export * from "./FeatureCompanyUserResponseData";
|
|
176
193
|
export * from "./FeatureDetailResponseData";
|
|
177
194
|
export * from "./FeatureEntitlement";
|
|
178
|
-
export * from "./
|
|
179
|
-
export * from "./FeatureEntitlementMonthReset";
|
|
195
|
+
export * from "./FeatureInPlanResponseData";
|
|
180
196
|
export * from "./FeatureLedgerResponseData";
|
|
181
197
|
export * from "./FeatureLifecyclePhase";
|
|
182
198
|
export * from "./FeatureResponseData";
|
|
@@ -187,10 +203,21 @@ export * from "./FeatureUsageResponseData";
|
|
|
187
203
|
export * from "./FeatureUsageTimeSeriesResponseData";
|
|
188
204
|
export * from "./FeatureView";
|
|
189
205
|
export * from "./FlagDetailResponseData";
|
|
206
|
+
export * from "./FlagInPlanResponseData";
|
|
190
207
|
export * from "./FlagResponseData";
|
|
191
208
|
export * from "./FlagType";
|
|
192
209
|
export * from "./FlagView";
|
|
193
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";
|
|
219
|
+
export * from "./IntegrationType";
|
|
220
|
+
export * from "./IntegrationWebhookUrlResponseData";
|
|
194
221
|
export * from "./InvoiceRequestBody";
|
|
195
222
|
export * from "./InvoiceResponseData";
|
|
196
223
|
export * from "./InvoiceStatus";
|
|
@@ -200,7 +227,13 @@ export * from "./LimitTimeSeriesPointResponseData";
|
|
|
200
227
|
export * from "./ManagePlanPreviewResponseResponseData";
|
|
201
228
|
export * from "./ManagePlanRequest";
|
|
202
229
|
export * from "./ManagePlanResponseResponseData";
|
|
230
|
+
export * from "./MarkCustomPlanBillingPaidRequestBody";
|
|
203
231
|
export * from "./MeterRequestBody";
|
|
232
|
+
export * from "./MetricPeriod";
|
|
233
|
+
export * from "./MetricPeriodMonthReset";
|
|
234
|
+
export * from "./MigrationErrorCode";
|
|
235
|
+
export * from "./MrrResponseData";
|
|
236
|
+
export * from "./OrbIntegrationConfig";
|
|
204
237
|
export * from "./OrderedPlansInGroup";
|
|
205
238
|
export * from "./PaymentMethodRequestBody";
|
|
206
239
|
export * from "./PaymentMethodResponseData";
|
|
@@ -212,8 +245,9 @@ export * from "./PlanChangeAction";
|
|
|
212
245
|
export * from "./PlanChangeBasePlanAction";
|
|
213
246
|
export * from "./PlanChangeResponseData";
|
|
214
247
|
export * from "./PlanChangeSubscriptionAction";
|
|
215
|
-
export * from "./PlanControlledByType";
|
|
216
248
|
export * from "./PlanCreditGrantView";
|
|
249
|
+
export * from "./PlanCurrencyPriceRequestBody";
|
|
250
|
+
export * from "./PlanCurrencyPricesResponseData";
|
|
217
251
|
export * from "./PlanDetailResponseData";
|
|
218
252
|
export * from "./PlanEntitlementResponseData";
|
|
219
253
|
export * from "./PlanEntitlementsOrder";
|
|
@@ -222,7 +256,11 @@ export * from "./PlanGroupDetailResponseData";
|
|
|
222
256
|
export * from "./PlanGroupPlanDetailResponseData";
|
|
223
257
|
export * from "./PlanGroupPlanEntitlementsOrder";
|
|
224
258
|
export * from "./PlanGroupResponseData";
|
|
259
|
+
export * from "./PlanGrowthPointResponseData";
|
|
260
|
+
export * from "./PlanGrowthResponseData";
|
|
261
|
+
export * from "./PlanIcon";
|
|
225
262
|
export * from "./PlanIssueResponseData";
|
|
263
|
+
export * from "./PlanPriceCadence";
|
|
226
264
|
export * from "./PlanResponseData";
|
|
227
265
|
export * from "./PlanSelection";
|
|
228
266
|
export * from "./PlanSnapshotView";
|
|
@@ -247,6 +285,7 @@ export * from "./PublicPlansResponseData";
|
|
|
247
285
|
export * from "./QuickstartResp";
|
|
248
286
|
export * from "./RawEventBatchResponseData";
|
|
249
287
|
export * from "./RawEventResponseData";
|
|
288
|
+
export * from "./ReleaseCreditLeaseRequestBody";
|
|
250
289
|
export * from "./Rule";
|
|
251
290
|
export * from "./RuleConditionDetailResponseData";
|
|
252
291
|
export * from "./RuleConditionGroupDetailResponseData";
|
|
@@ -254,35 +293,28 @@ export * from "./RuleConditionGroupResponseData";
|
|
|
254
293
|
export * from "./RuleConditionResponseData";
|
|
255
294
|
export * from "./RuleDetailResponseData";
|
|
256
295
|
export * from "./RuleResponseData";
|
|
257
|
-
export * from "./RuleRuleType";
|
|
258
296
|
export * from "./RulesDetailResponseData";
|
|
259
297
|
export * from "./RulesEngineSchemaVersion";
|
|
260
298
|
export * from "./RulesengineCheckFlagResult";
|
|
261
|
-
export * from "./RulesengineCheckFlagResultFeatureUsagePeriod";
|
|
262
|
-
export * from "./RulesengineCheckFlagResultRuleType";
|
|
263
299
|
export * from "./RulesengineCompany";
|
|
264
300
|
export * from "./RulesengineCompanyMetric";
|
|
265
|
-
export * from "./RulesengineCompanyMetricMonthReset";
|
|
266
|
-
export * from "./RulesengineCompanyMetricPeriod";
|
|
267
301
|
export * from "./RulesengineCondition";
|
|
268
|
-
export * from "./RulesengineConditionConditionType";
|
|
269
302
|
export * from "./RulesengineConditionGroup";
|
|
270
|
-
export * from "./
|
|
271
|
-
export * from "./RulesengineConditionMetricPeriodMonthReset";
|
|
272
|
-
export * from "./RulesengineConditionOperator";
|
|
303
|
+
export * from "./RulesengineConditionType";
|
|
273
304
|
export * from "./RulesengineEntitlementValueType";
|
|
274
305
|
export * from "./RulesengineEntityType";
|
|
275
306
|
export * from "./RulesengineFeatureEntitlement";
|
|
276
|
-
export * from "./RulesengineFeatureEntitlementMetricPeriod";
|
|
277
|
-
export * from "./RulesengineFeatureEntitlementMonthReset";
|
|
278
307
|
export * from "./RulesengineFlag";
|
|
308
|
+
export * from "./RulesengineMetricPeriod";
|
|
309
|
+
export * from "./RulesengineMetricPeriodMonthReset";
|
|
279
310
|
export * from "./RulesengineRule";
|
|
280
|
-
export * from "./
|
|
311
|
+
export * from "./RulesengineRuleType";
|
|
281
312
|
export * from "./RulesengineSubscription";
|
|
282
313
|
export * from "./RulesengineTrait";
|
|
283
314
|
export * from "./RulesengineTraitDefinition";
|
|
284
315
|
export * from "./RulesengineTraitDefinitionComparableType";
|
|
285
316
|
export * from "./RulesengineUser";
|
|
317
|
+
export * from "./RuleType";
|
|
286
318
|
export * from "./RuleView";
|
|
287
319
|
export * from "./ScheduledCheckoutResponseData";
|
|
288
320
|
export * from "./ScheduledCheckoutStatus";
|
|
@@ -293,21 +325,24 @@ export * from "./SkippedEntitlementErrorResponseData";
|
|
|
293
325
|
export * from "./SkippedEntitlementResponseData";
|
|
294
326
|
export * from "./SortDirection";
|
|
295
327
|
export * from "./StripeEmbedInfo";
|
|
328
|
+
export * from "./StripeIntegrationConfig";
|
|
296
329
|
export * from "./SubscriptionStatus";
|
|
297
330
|
export * from "./SubscriptionTraitUpdate";
|
|
298
331
|
export * from "./SubscriptionType";
|
|
299
332
|
export * from "./TemporaryAccessTokenResourceType";
|
|
300
333
|
export * from "./TemporaryAccessTokenResponseData";
|
|
301
334
|
export * from "./TimeSeriesGranularity";
|
|
335
|
+
export * from "./TopFeatureByUsageResponseData";
|
|
336
|
+
export * from "./TopFeaturesByUsageResponseData";
|
|
302
337
|
export * from "./TraitDefinition";
|
|
303
338
|
export * from "./TraitDefinitionComparableType";
|
|
304
339
|
export * from "./TraitType";
|
|
340
|
+
export * from "./TrialStatus";
|
|
305
341
|
export * from "./UpdateAddOnRequestBody";
|
|
342
|
+
export * from "./UpdateAutoTopupOverrideRequestBody";
|
|
306
343
|
export * from "./UpdateBillingPlanCreditGrantRequestBody";
|
|
307
344
|
export * from "./UpdateCreditBundleRequestBody";
|
|
308
345
|
export * from "./UpdateEntitlementReqCommon";
|
|
309
|
-
export * from "./UpdateEntitlementReqCommonMetricPeriod";
|
|
310
|
-
export * from "./UpdateEntitlementReqCommonMetricPeriodMonthReset";
|
|
311
346
|
export * from "./UpdatePayInAdvanceRequestBody";
|
|
312
347
|
export * from "./UpdatePlanRequestBody";
|
|
313
348
|
export * from "./UpdatePlanTraitTraitRequestBody";
|
|
@@ -329,5 +364,7 @@ export * from "./WebhookEventStatus";
|
|
|
329
364
|
export * from "./WebhookRequestType";
|
|
330
365
|
export * from "./WebhookResponseData";
|
|
331
366
|
export * from "./WebhookStatus";
|
|
367
|
+
export * from "./WebhookUrl";
|
|
332
368
|
export * from "./WebScheduledDowngradeWebhookOutput";
|
|
333
369
|
export * from "./WhoAmIResponseData";
|
|
370
|
+
export * from "./WorkOsIntegrationConfig";
|
|
@@ -8,7 +8,13 @@ export declare namespace Fetcher {
|
|
|
8
8
|
method: string;
|
|
9
9
|
contentType?: string;
|
|
10
10
|
headers?: Record<string, unknown>;
|
|
11
|
+
/**
|
|
12
|
+
* @deprecated Prefer `queryString` (produced by `core.url.queryBuilder()`).
|
|
13
|
+
* Retained for backwards compatibility with custom fetchers and callers that
|
|
14
|
+
* still construct request args with a query-parameter object.
|
|
15
|
+
*/
|
|
11
16
|
queryParameters?: Record<string, unknown>;
|
|
17
|
+
queryString?: string;
|
|
12
18
|
body?: unknown;
|
|
13
19
|
timeoutMs?: number;
|
|
14
20
|
maxRetries?: number;
|
|
@@ -38,10 +44,12 @@ export declare namespace Fetcher {
|
|
|
38
44
|
}
|
|
39
45
|
interface TimeoutError {
|
|
40
46
|
reason: "timeout";
|
|
47
|
+
cause?: unknown;
|
|
41
48
|
}
|
|
42
49
|
interface UnknownError {
|
|
43
50
|
reason: "unknown";
|
|
44
51
|
errorMessage: string;
|
|
52
|
+
cause?: unknown;
|
|
45
53
|
}
|
|
46
54
|
}
|
|
47
55
|
export declare function fetcherImpl<R = unknown>(args: Fetcher.Args): Promise<APIResponse<R, Fetcher.Error>>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { enum_ } from "./enum";
|
|
1
|
+
export { enum_, forwardCompatibleEnum_ } from "./enum";
|