@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
package/dist/logger.d.ts
CHANGED
|
@@ -1,10 +1,30 @@
|
|
|
1
|
+
export declare const LogLevel: {
|
|
2
|
+
readonly Debug: "debug";
|
|
3
|
+
readonly Info: "info";
|
|
4
|
+
readonly Warn: "warn";
|
|
5
|
+
readonly Error: "error";
|
|
6
|
+
};
|
|
7
|
+
export type LogLevel = (typeof LogLevel)[keyof typeof LogLevel];
|
|
8
|
+
/**
|
|
9
|
+
* Default level for the built-in ConsoleLogger. Messages below this level
|
|
10
|
+
* (i.e. debug and info) are suppressed unless the consumer opts in via the
|
|
11
|
+
* `logLevel` option, keeping production output quiet by default.
|
|
12
|
+
*/
|
|
13
|
+
export declare const DEFAULT_LOG_LEVEL: LogLevel;
|
|
1
14
|
export interface Logger {
|
|
2
15
|
error(message: string, ...args: any[]): void;
|
|
3
16
|
warn(message: string, ...args: any[]): void;
|
|
4
17
|
info(message: string, ...args: any[]): void;
|
|
5
18
|
debug(message: string, ...args: any[]): void;
|
|
6
19
|
}
|
|
20
|
+
/**
|
|
21
|
+
* Console-based Logger that filters messages by configured level. Defaults to
|
|
22
|
+
* `warn`, so debug/info are dropped unless a lower level is requested.
|
|
23
|
+
*/
|
|
7
24
|
declare class ConsoleLogger implements Logger {
|
|
25
|
+
private readonly level;
|
|
26
|
+
constructor(level?: LogLevel);
|
|
27
|
+
private shouldLog;
|
|
8
28
|
error(message: string, ...args: any[]): void;
|
|
9
29
|
warn(message: string, ...args: any[]): void;
|
|
10
30
|
info(message: string, ...args: any[]): void;
|
package/dist/rules-engine.d.ts
CHANGED
|
@@ -8,8 +8,8 @@ export interface WasmFeatureEntitlement {
|
|
|
8
8
|
softLimit?: number;
|
|
9
9
|
usage?: number;
|
|
10
10
|
eventName?: string;
|
|
11
|
-
metricPeriod?: Schematic.
|
|
12
|
-
monthReset?: Schematic.
|
|
11
|
+
metricPeriod?: Schematic.RulesengineMetricPeriod;
|
|
12
|
+
monthReset?: Schematic.RulesengineMetricPeriodMonthReset;
|
|
13
13
|
metricResetAt?: string;
|
|
14
14
|
creditId?: string;
|
|
15
15
|
creditTotal?: number;
|
|
@@ -25,7 +25,7 @@ export interface WasmCheckFlagResult {
|
|
|
25
25
|
flagKey?: string;
|
|
26
26
|
companyId?: string;
|
|
27
27
|
userId?: string;
|
|
28
|
-
ruleType?: Schematic.
|
|
28
|
+
ruleType?: Schematic.RulesengineRuleType;
|
|
29
29
|
err?: string;
|
|
30
30
|
entitlement?: WasmFeatureEntitlement;
|
|
31
31
|
featureAllocation?: number;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type * as Schematic from "../../../../api/index";
|
|
2
|
+
import * as core from "../../../../core";
|
|
3
|
+
import type * as serializers from "../../../index";
|
|
4
|
+
import { AccountMemberResponseData } from "../../../types/AccountMemberResponseData";
|
|
5
|
+
export declare const GetAccountMemberResponse: core.serialization.ObjectSchema<serializers.GetAccountMemberResponse.Raw, Schematic.GetAccountMemberResponse>;
|
|
6
|
+
export declare namespace GetAccountMemberResponse {
|
|
7
|
+
interface Raw {
|
|
8
|
+
data: AccountMemberResponseData.Raw;
|
|
9
|
+
params: Record<string, unknown>;
|
|
10
|
+
}
|
|
11
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type * as Schematic from "../../../../api/index";
|
|
2
|
+
import * as core from "../../../../core";
|
|
3
|
+
import type * as serializers from "../../../index";
|
|
4
|
+
export declare const ListAccountMembersParams: core.serialization.ObjectSchema<serializers.ListAccountMembersParams.Raw, Schematic.ListAccountMembersParams>;
|
|
5
|
+
export declare namespace ListAccountMembersParams {
|
|
6
|
+
interface Raw {
|
|
7
|
+
ids?: string[] | null;
|
|
8
|
+
limit?: number | null;
|
|
9
|
+
offset?: number | null;
|
|
10
|
+
q?: string | null;
|
|
11
|
+
}
|
|
12
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type * as Schematic from "../../../../api/index";
|
|
2
|
+
import * as core from "../../../../core";
|
|
3
|
+
import type * as serializers from "../../../index";
|
|
4
|
+
import { AccountMemberResponseData } from "../../../types/AccountMemberResponseData";
|
|
5
|
+
import { ListAccountMembersParams } from "./ListAccountMembersParams";
|
|
6
|
+
export declare const ListAccountMembersResponse: core.serialization.ObjectSchema<serializers.ListAccountMembersResponse.Raw, Schematic.ListAccountMembersResponse>;
|
|
7
|
+
export declare namespace ListAccountMembersResponse {
|
|
8
|
+
interface Raw {
|
|
9
|
+
data: AccountMemberResponseData.Raw[];
|
|
10
|
+
params: ListAccountMembersParams.Raw;
|
|
11
|
+
}
|
|
12
|
+
}
|
|
@@ -6,10 +6,13 @@ export * from "./CreateApiKeyResponse";
|
|
|
6
6
|
export * from "./CreateEnvironmentResponse";
|
|
7
7
|
export * from "./DeleteApiKeyResponse";
|
|
8
8
|
export * from "./DeleteEnvironmentResponse";
|
|
9
|
+
export * from "./GetAccountMemberResponse";
|
|
9
10
|
export * from "./GetApiKeyResponse";
|
|
10
11
|
export * from "./GetAuditLogResponse";
|
|
11
12
|
export * from "./GetEnvironmentResponse";
|
|
12
13
|
export * from "./GetWhoAmIResponse";
|
|
14
|
+
export * from "./ListAccountMembersParams";
|
|
15
|
+
export * from "./ListAccountMembersResponse";
|
|
13
16
|
export * from "./ListApiKeysParams";
|
|
14
17
|
export * from "./ListApiKeysResponse";
|
|
15
18
|
export * from "./ListAuditLogsParams";
|
package/dist/serialization/resources/billing/client/requests/CreateBillingPriceRequestBody.d.ts
CHANGED
|
@@ -13,8 +13,10 @@ export declare namespace CreateBillingPriceRequestBody {
|
|
|
13
13
|
currency: string;
|
|
14
14
|
external_account_id: string;
|
|
15
15
|
interval: string;
|
|
16
|
+
interval_count?: number | null;
|
|
16
17
|
is_active: boolean;
|
|
17
18
|
meter_id?: string | null;
|
|
19
|
+
nickname?: string | null;
|
|
18
20
|
package_size?: number | null;
|
|
19
21
|
price: number;
|
|
20
22
|
price_decimal?: string | null;
|
|
@@ -2,6 +2,7 @@ import type * as Schematic from "../../../../../api/index";
|
|
|
2
2
|
import * as core from "../../../../../core";
|
|
3
3
|
import type * as serializers from "../../../../index";
|
|
4
4
|
import { BillingProductPricing } from "../../../../types/BillingProductPricing";
|
|
5
|
+
import { BillingProviderType } from "../../../../types/BillingProviderType";
|
|
5
6
|
import { BillingSubscriptionDiscount } from "../../../../types/BillingSubscriptionDiscount";
|
|
6
7
|
import { BillingSubscriptionTrialEndSetting } from "../../../../types/BillingSubscriptionTrialEndSetting";
|
|
7
8
|
export declare const CreateBillingSubscriptionRequestBody: core.serialization.Schema<serializers.CreateBillingSubscriptionRequestBody.Raw, Schematic.CreateBillingSubscriptionRequestBody>;
|
|
@@ -21,6 +22,7 @@ export declare namespace CreateBillingSubscriptionRequestBody {
|
|
|
21
22
|
period_end?: number | null;
|
|
22
23
|
period_start?: number | null;
|
|
23
24
|
product_external_ids: BillingProductPricing.Raw[];
|
|
25
|
+
provider_type?: BillingProviderType.Raw | null;
|
|
24
26
|
status?: string | null;
|
|
25
27
|
subscription_external_id: string;
|
|
26
28
|
total_price: number;
|
|
@@ -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 { BillingProviderType } from "../../../../types/BillingProviderType";
|
|
4
5
|
export declare const CreateMeterRequestBody: core.serialization.Schema<serializers.CreateMeterRequestBody.Raw, Schematic.CreateMeterRequestBody>;
|
|
5
6
|
export declare namespace CreateMeterRequestBody {
|
|
6
7
|
interface Raw {
|
|
@@ -8,5 +9,6 @@ export declare namespace CreateMeterRequestBody {
|
|
|
8
9
|
event_name: string;
|
|
9
10
|
event_payload_key: string;
|
|
10
11
|
external_id: string;
|
|
12
|
+
provider_type?: BillingProviderType.Raw | null;
|
|
11
13
|
}
|
|
12
14
|
}
|
|
@@ -14,6 +14,7 @@ export declare namespace CountBillingProductsParams {
|
|
|
14
14
|
price_usage_type?: BillingPriceUsageType.Raw | null;
|
|
15
15
|
provider_type?: BillingProviderType.Raw | null;
|
|
16
16
|
q?: string | null;
|
|
17
|
+
recurring_charges_only?: boolean | null;
|
|
17
18
|
with_one_time_charges?: boolean | null;
|
|
18
19
|
with_prices_only?: boolean | null;
|
|
19
20
|
with_zero_price?: boolean | null;
|
package/dist/serialization/resources/billing/types/DeletePaymentMethodByExternalIdResponse.d.ts
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type * as Schematic from "../../../../api/index";
|
|
2
|
+
import * as core from "../../../../core";
|
|
3
|
+
import type * as serializers from "../../../index";
|
|
4
|
+
import { DeleteResponse } from "../../../types/DeleteResponse";
|
|
5
|
+
export declare const DeletePaymentMethodByExternalIdResponse: core.serialization.ObjectSchema<serializers.DeletePaymentMethodByExternalIdResponse.Raw, Schematic.DeletePaymentMethodByExternalIdResponse>;
|
|
6
|
+
export declare namespace DeletePaymentMethodByExternalIdResponse {
|
|
7
|
+
interface Raw {
|
|
8
|
+
data: DeleteResponse.Raw;
|
|
9
|
+
params: Record<string, unknown>;
|
|
10
|
+
}
|
|
11
|
+
}
|
|
@@ -7,6 +7,7 @@ import { BillingTiersMode } from "../../../types/BillingTiersMode";
|
|
|
7
7
|
export declare const ListBillingPricesParams: core.serialization.ObjectSchema<serializers.ListBillingPricesParams.Raw, Schematic.ListBillingPricesParams>;
|
|
8
8
|
export declare namespace ListBillingPricesParams {
|
|
9
9
|
interface Raw {
|
|
10
|
+
currency?: string | null;
|
|
10
11
|
for_initial_plan?: boolean | null;
|
|
11
12
|
for_trial_expiry_plan?: boolean | null;
|
|
12
13
|
ids?: string[] | null;
|
|
@@ -7,6 +7,7 @@ import { BillingTiersMode } from "../../../types/BillingTiersMode";
|
|
|
7
7
|
export declare const ListBillingProductPricesParams: core.serialization.ObjectSchema<serializers.ListBillingProductPricesParams.Raw, Schematic.ListBillingProductPricesParams>;
|
|
8
8
|
export declare namespace ListBillingProductPricesParams {
|
|
9
9
|
interface Raw {
|
|
10
|
+
currency?: string | null;
|
|
10
11
|
for_initial_plan?: boolean | null;
|
|
11
12
|
for_trial_expiry_plan?: boolean | null;
|
|
12
13
|
ids?: string[] | null;
|
|
@@ -14,6 +14,7 @@ export declare namespace ListBillingProductsParams {
|
|
|
14
14
|
price_usage_type?: BillingPriceUsageType.Raw | null;
|
|
15
15
|
provider_type?: BillingProviderType.Raw | null;
|
|
16
16
|
q?: string | null;
|
|
17
|
+
recurring_charges_only?: boolean | null;
|
|
17
18
|
with_one_time_charges?: boolean | null;
|
|
18
19
|
with_prices_only?: boolean | null;
|
|
19
20
|
with_zero_price?: boolean | null;
|
|
@@ -3,6 +3,7 @@ export * from "./CountBillingProductsResponse";
|
|
|
3
3
|
export * from "./CountCustomersParams";
|
|
4
4
|
export * from "./CountCustomersResponse";
|
|
5
5
|
export * from "./DeleteBillingProductResponse";
|
|
6
|
+
export * from "./DeletePaymentMethodByExternalIdResponse";
|
|
6
7
|
export * from "./DeleteProductPriceResponse";
|
|
7
8
|
export * from "./ListBillingPricesParams";
|
|
8
9
|
export * from "./ListBillingPricesResponse";
|
|
@@ -1,6 +1,4 @@
|
|
|
1
1
|
export { CreateEntityTraitDefinitionRequestBody } from "./CreateEntityTraitDefinitionRequestBody";
|
|
2
|
-
export { CreatePlanTraitRequestBody } from "./CreatePlanTraitRequestBody";
|
|
3
2
|
export { GetOrCreateCompanyMembershipRequestBody } from "./GetOrCreateCompanyMembershipRequestBody";
|
|
4
3
|
export { UpdateEntityTraitDefinitionRequestBody } from "./UpdateEntityTraitDefinitionRequestBody";
|
|
5
4
|
export { UpdatePlanTraitBulkRequestBody } from "./UpdatePlanTraitBulkRequestBody";
|
|
6
|
-
export { UpdatePlanTraitRequestBody } from "./UpdatePlanTraitRequestBody";
|
|
@@ -8,6 +8,7 @@ export declare const CountCompaniesParams: core.serialization.ObjectSchema<seria
|
|
|
8
8
|
export declare namespace CountCompaniesParams {
|
|
9
9
|
interface Raw {
|
|
10
10
|
credit_type_ids?: string[] | null;
|
|
11
|
+
has_scheduled_downgrade?: boolean | null;
|
|
11
12
|
ids?: string[] | null;
|
|
12
13
|
limit?: number | null;
|
|
13
14
|
monetized_subscriptions?: boolean | null;
|
|
@@ -15,6 +16,7 @@ export declare namespace CountCompaniesParams {
|
|
|
15
16
|
plan_id?: string | null;
|
|
16
17
|
plan_ids?: string[] | null;
|
|
17
18
|
plan_version_id?: string | null;
|
|
19
|
+
plan_version_ids?: string[] | null;
|
|
18
20
|
q?: string | null;
|
|
19
21
|
sort_order_column?: string | null;
|
|
20
22
|
sort_order_direction?: SortDirection.Raw | null;
|
|
@@ -8,6 +8,7 @@ export declare const ListCompaniesParams: core.serialization.ObjectSchema<serial
|
|
|
8
8
|
export declare namespace ListCompaniesParams {
|
|
9
9
|
interface Raw {
|
|
10
10
|
credit_type_ids?: string[] | null;
|
|
11
|
+
has_scheduled_downgrade?: boolean | null;
|
|
11
12
|
ids?: string[] | null;
|
|
12
13
|
limit?: number | null;
|
|
13
14
|
monetized_subscriptions?: boolean | null;
|
|
@@ -15,6 +16,7 @@ export declare namespace ListCompaniesParams {
|
|
|
15
16
|
plan_id?: string | null;
|
|
16
17
|
plan_ids?: string[] | null;
|
|
17
18
|
plan_version_id?: string | null;
|
|
19
|
+
plan_version_ids?: string[] | null;
|
|
18
20
|
q?: string | null;
|
|
19
21
|
sort_order_column?: string | null;
|
|
20
22
|
sort_order_direction?: SortDirection.Raw | null;
|
|
@@ -1,11 +1,13 @@
|
|
|
1
1
|
import type * as Schematic from "../../../../api/index";
|
|
2
2
|
import * as core from "../../../../core";
|
|
3
3
|
import type * as serializers from "../../../index";
|
|
4
|
+
import { PlanChangeAction } from "../../../types/PlanChangeAction";
|
|
5
|
+
import { PlanChangeBasePlanAction } from "../../../types/PlanChangeBasePlanAction";
|
|
4
6
|
export declare const ListPlanChangesParams: core.serialization.ObjectSchema<serializers.ListPlanChangesParams.Raw, Schematic.ListPlanChangesParams>;
|
|
5
7
|
export declare namespace ListPlanChangesParams {
|
|
6
8
|
interface Raw {
|
|
7
|
-
action?:
|
|
8
|
-
base_plan_action?:
|
|
9
|
+
action?: PlanChangeAction.Raw | null;
|
|
10
|
+
base_plan_action?: PlanChangeBasePlanAction.Raw | null;
|
|
9
11
|
company_id?: string | null;
|
|
10
12
|
company_ids?: string[] | null;
|
|
11
13
|
limit?: number | null;
|
|
@@ -9,13 +9,11 @@ export * from "./CountPlanTraitsResponse";
|
|
|
9
9
|
export * from "./CountUsersParams";
|
|
10
10
|
export * from "./CountUsersResponse";
|
|
11
11
|
export * from "./CreateCompanyResponse";
|
|
12
|
-
export * from "./CreatePlanTraitResponse";
|
|
13
12
|
export * from "./CreateUserResponse";
|
|
14
13
|
export * from "./DeleteCompanyByKeysResponse";
|
|
15
14
|
export * from "./DeleteCompanyMembershipResponse";
|
|
16
15
|
export * from "./DeleteCompanyParams";
|
|
17
16
|
export * from "./DeleteCompanyResponse";
|
|
18
|
-
export * from "./DeletePlanTraitResponse";
|
|
19
17
|
export * from "./DeleteUserByKeysResponse";
|
|
20
18
|
export * from "./DeleteUserResponse";
|
|
21
19
|
export * from "./GetActiveCompanySubscriptionParams";
|
|
@@ -48,7 +46,6 @@ export * from "./LookupCompanyResponse";
|
|
|
48
46
|
export * from "./LookupUserParams";
|
|
49
47
|
export * from "./LookupUserResponse";
|
|
50
48
|
export * from "./UpdateEntityTraitDefinitionResponse";
|
|
51
|
-
export * from "./UpdatePlanTraitResponse";
|
|
52
49
|
export * from "./UpdatePlanTraitsBulkResponse";
|
|
53
50
|
export * from "./UpsertCompanyResponse";
|
|
54
51
|
export * from "./UpsertCompanyTraitResponse";
|
package/dist/serialization/resources/credits/client/requests/AcquireCreditLeaseRequestBody.d.ts
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type * as Schematic from "../../../../../api/index";
|
|
2
|
+
import * as core from "../../../../../core";
|
|
3
|
+
import type * as serializers from "../../../../index";
|
|
4
|
+
export declare const AcquireCreditLeaseRequestBody: core.serialization.Schema<serializers.AcquireCreditLeaseRequestBody.Raw, Schematic.AcquireCreditLeaseRequestBody>;
|
|
5
|
+
export declare namespace AcquireCreditLeaseRequestBody {
|
|
6
|
+
interface Raw {
|
|
7
|
+
company_id: string;
|
|
8
|
+
credit_type_id: string;
|
|
9
|
+
expires_at?: string | null;
|
|
10
|
+
requested_amount: number;
|
|
11
|
+
}
|
|
12
|
+
}
|
package/dist/serialization/resources/credits/client/requests/CreateBillingCreditRequestBody.d.ts
CHANGED
|
@@ -4,11 +4,13 @@ import type * as serializers from "../../../../index";
|
|
|
4
4
|
import { BillingCreditBurnStrategy } from "../../../../types/BillingCreditBurnStrategy";
|
|
5
5
|
import { BillingCreditExpiryUnit } from "../../../../types/BillingCreditExpiryUnit";
|
|
6
6
|
import { BillingCreditRolloverPolicy } from "../../../../types/BillingCreditRolloverPolicy";
|
|
7
|
+
import { CreditCurrencyPriceRequestBody } from "../../../../types/CreditCurrencyPriceRequestBody";
|
|
7
8
|
export declare const CreateBillingCreditRequestBody: core.serialization.Schema<serializers.CreateBillingCreditRequestBody.Raw, Schematic.CreateBillingCreditRequestBody>;
|
|
8
9
|
export declare namespace CreateBillingCreditRequestBody {
|
|
9
10
|
interface Raw {
|
|
10
11
|
burn_strategy?: BillingCreditBurnStrategy.Raw | null;
|
|
11
12
|
currency: string;
|
|
13
|
+
currency_prices?: CreditCurrencyPriceRequestBody.Raw[] | null;
|
|
12
14
|
default_expiry_unit?: BillingCreditExpiryUnit.Raw | null;
|
|
13
15
|
default_expiry_unit_count?: number | null;
|
|
14
16
|
default_rollover_policy?: BillingCreditRolloverPolicy.Raw | null;
|
|
@@ -11,6 +11,7 @@ export declare namespace CreateCompanyCreditGrant {
|
|
|
11
11
|
billing_periods_count?: number | null;
|
|
12
12
|
company_id: string;
|
|
13
13
|
credit_id: string;
|
|
14
|
+
currency?: string | null;
|
|
14
15
|
expires_at?: string | null;
|
|
15
16
|
expiry_type?: BillingCreditExpiryType.Raw | null;
|
|
16
17
|
expiry_unit?: BillingCreditExpiryUnit.Raw | null;
|
package/dist/serialization/resources/credits/client/requests/CreateCreditBundleRequestBody.d.ts
CHANGED
|
@@ -5,6 +5,7 @@ import { BillingCreditBundleStatus } from "../../../../types/BillingCreditBundle
|
|
|
5
5
|
import { BillingCreditBundleType } from "../../../../types/BillingCreditBundleType";
|
|
6
6
|
import { BillingCreditExpiryType } from "../../../../types/BillingCreditExpiryType";
|
|
7
7
|
import { BillingCreditExpiryUnit } from "../../../../types/BillingCreditExpiryUnit";
|
|
8
|
+
import { CreditBundleCurrencyPriceRequestBody } from "../../../../types/CreditBundleCurrencyPriceRequestBody";
|
|
8
9
|
export declare const CreateCreditBundleRequestBody: core.serialization.Schema<serializers.CreateCreditBundleRequestBody.Raw, Schematic.CreateCreditBundleRequestBody>;
|
|
9
10
|
export declare namespace CreateCreditBundleRequestBody {
|
|
10
11
|
interface Raw {
|
|
@@ -12,6 +13,7 @@ export declare namespace CreateCreditBundleRequestBody {
|
|
|
12
13
|
bundle_type?: BillingCreditBundleType.Raw | null;
|
|
13
14
|
credit_id: string;
|
|
14
15
|
currency: string;
|
|
16
|
+
currency_prices?: CreditBundleCurrencyPriceRequestBody.Raw[] | null;
|
|
15
17
|
expiry_type?: BillingCreditExpiryType.Raw | null;
|
|
16
18
|
expiry_unit?: BillingCreditExpiryUnit.Raw | null;
|
|
17
19
|
expiry_unit_count?: number | null;
|
package/dist/serialization/resources/credits/client/requests/ExtendCreditLeaseRequestBody.d.ts
ADDED
|
@@ -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 ExtendCreditLeaseRequestBody: core.serialization.Schema<serializers.ExtendCreditLeaseRequestBody.Raw, Schematic.ExtendCreditLeaseRequestBody>;
|
|
5
|
+
export declare namespace ExtendCreditLeaseRequestBody {
|
|
6
|
+
interface Raw {
|
|
7
|
+
additional_amount: number;
|
|
8
|
+
expires_at?: string | null;
|
|
9
|
+
}
|
|
10
|
+
}
|
package/dist/serialization/resources/credits/client/requests/UpdateBillingCreditRequestBody.d.ts
CHANGED
|
@@ -4,10 +4,12 @@ import type * as serializers from "../../../../index";
|
|
|
4
4
|
import { BillingCreditBurnStrategy } from "../../../../types/BillingCreditBurnStrategy";
|
|
5
5
|
import { BillingCreditExpiryUnit } from "../../../../types/BillingCreditExpiryUnit";
|
|
6
6
|
import { BillingCreditRolloverPolicy } from "../../../../types/BillingCreditRolloverPolicy";
|
|
7
|
+
import { CreditCurrencyPriceRequestBody } from "../../../../types/CreditCurrencyPriceRequestBody";
|
|
7
8
|
export declare const UpdateBillingCreditRequestBody: core.serialization.Schema<serializers.UpdateBillingCreditRequestBody.Raw, Schematic.UpdateBillingCreditRequestBody>;
|
|
8
9
|
export declare namespace UpdateBillingCreditRequestBody {
|
|
9
10
|
interface Raw {
|
|
10
11
|
burn_strategy?: BillingCreditBurnStrategy.Raw | null;
|
|
12
|
+
currency_prices?: CreditCurrencyPriceRequestBody.Raw[] | null;
|
|
11
13
|
default_expiry_unit?: BillingCreditExpiryUnit.Raw | null;
|
|
12
14
|
default_expiry_unit_count?: number | null;
|
|
13
15
|
default_rollover_policy?: BillingCreditRolloverPolicy.Raw | null;
|
|
@@ -4,10 +4,12 @@ import type * as serializers from "../../../../index";
|
|
|
4
4
|
import { BillingCreditBundleStatus } from "../../../../types/BillingCreditBundleStatus";
|
|
5
5
|
import { BillingCreditExpiryType } from "../../../../types/BillingCreditExpiryType";
|
|
6
6
|
import { BillingCreditExpiryUnit } from "../../../../types/BillingCreditExpiryUnit";
|
|
7
|
+
import { CreditBundleCurrencyPriceRequestBody } from "../../../../types/CreditBundleCurrencyPriceRequestBody";
|
|
7
8
|
export declare const UpdateCreditBundleDetailsRequestBody: core.serialization.Schema<serializers.UpdateCreditBundleDetailsRequestBody.Raw, Schematic.UpdateCreditBundleDetailsRequestBody>;
|
|
8
9
|
export declare namespace UpdateCreditBundleDetailsRequestBody {
|
|
9
10
|
interface Raw {
|
|
10
11
|
bundle_name: string;
|
|
12
|
+
currency_prices?: CreditBundleCurrencyPriceRequestBody.Raw[] | null;
|
|
11
13
|
expiry_type?: BillingCreditExpiryType.Raw | null;
|
|
12
14
|
expiry_unit?: BillingCreditExpiryUnit.Raw | null;
|
|
13
15
|
expiry_unit_count?: number | null;
|
|
@@ -1,6 +1,8 @@
|
|
|
1
|
+
export { AcquireCreditLeaseRequestBody } from "./AcquireCreditLeaseRequestBody";
|
|
1
2
|
export { CreateBillingCreditRequestBody } from "./CreateBillingCreditRequestBody";
|
|
2
3
|
export { CreateCompanyCreditGrant } from "./CreateCompanyCreditGrant";
|
|
3
4
|
export { CreateCreditBundleRequestBody } from "./CreateCreditBundleRequestBody";
|
|
5
|
+
export { ExtendCreditLeaseRequestBody } from "./ExtendCreditLeaseRequestBody";
|
|
4
6
|
export { UpdateBillingCreditRequestBody } from "./UpdateBillingCreditRequestBody";
|
|
5
7
|
export { UpdateCreditBundleDetailsRequestBody } from "./UpdateCreditBundleDetailsRequestBody";
|
|
6
8
|
export { ZeroOutGrantRequestBody } from "./ZeroOutGrantRequestBody";
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type * as Schematic from "../../../../api/index";
|
|
2
|
+
import * as core from "../../../../core";
|
|
3
|
+
import type * as serializers from "../../../index";
|
|
4
|
+
import { CreditLeaseResponseData } from "../../../types/CreditLeaseResponseData";
|
|
5
|
+
export declare const AcquireCreditLeaseResponse: core.serialization.ObjectSchema<serializers.AcquireCreditLeaseResponse.Raw, Schematic.AcquireCreditLeaseResponse>;
|
|
6
|
+
export declare namespace AcquireCreditLeaseResponse {
|
|
7
|
+
interface Raw {
|
|
8
|
+
data: CreditLeaseResponseData.Raw;
|
|
9
|
+
params: Record<string, unknown>;
|
|
10
|
+
}
|
|
11
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type * as Schematic from "../../../../api/index";
|
|
2
|
+
import * as core from "../../../../core";
|
|
3
|
+
import type * as serializers from "../../../index";
|
|
4
|
+
import { CreditLeaseResponseData } from "../../../types/CreditLeaseResponseData";
|
|
5
|
+
export declare const ExtendCreditLeaseResponse: core.serialization.ObjectSchema<serializers.ExtendCreditLeaseResponse.Raw, Schematic.ExtendCreditLeaseResponse>;
|
|
6
|
+
export declare namespace ExtendCreditLeaseResponse {
|
|
7
|
+
interface Raw {
|
|
8
|
+
data: CreditLeaseResponseData.Raw;
|
|
9
|
+
params: Record<string, unknown>;
|
|
10
|
+
}
|
|
11
|
+
}
|
package/dist/serialization/resources/credits/types/GetSingleBillingPlanCreditGrantResponse.d.ts
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type * as Schematic from "../../../../api/index";
|
|
2
|
+
import * as core from "../../../../core";
|
|
3
|
+
import type * as serializers from "../../../index";
|
|
4
|
+
import { BillingPlanCreditGrantResponseData } from "../../../types/BillingPlanCreditGrantResponseData";
|
|
5
|
+
export declare const GetSingleBillingPlanCreditGrantResponse: core.serialization.ObjectSchema<serializers.GetSingleBillingPlanCreditGrantResponse.Raw, Schematic.GetSingleBillingPlanCreditGrantResponse>;
|
|
6
|
+
export declare namespace GetSingleBillingPlanCreditGrantResponse {
|
|
7
|
+
interface Raw {
|
|
8
|
+
data: BillingPlanCreditGrantResponseData.Raw;
|
|
9
|
+
params: Record<string, unknown>;
|
|
10
|
+
}
|
|
11
|
+
}
|
|
@@ -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 ListCompanyCreditBalancesParams: core.serialization.ObjectSchema<serializers.ListCompanyCreditBalancesParams.Raw, Schematic.ListCompanyCreditBalancesParams>;
|
|
5
|
+
export declare namespace ListCompanyCreditBalancesParams {
|
|
6
|
+
interface Raw {
|
|
7
|
+
company_id?: string | null;
|
|
8
|
+
}
|
|
9
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type * as Schematic from "../../../../api/index";
|
|
2
|
+
import * as core from "../../../../core";
|
|
3
|
+
import type * as serializers from "../../../index";
|
|
4
|
+
import { CompanyCreditBalanceResponseData } from "../../../types/CompanyCreditBalanceResponseData";
|
|
5
|
+
import { ListCompanyCreditBalancesParams } from "./ListCompanyCreditBalancesParams";
|
|
6
|
+
export declare const ListCompanyCreditBalancesResponse: core.serialization.ObjectSchema<serializers.ListCompanyCreditBalancesResponse.Raw, Schematic.ListCompanyCreditBalancesResponse>;
|
|
7
|
+
export declare namespace ListCompanyCreditBalancesResponse {
|
|
8
|
+
interface Raw {
|
|
9
|
+
data: CompanyCreditBalanceResponseData.Raw[];
|
|
10
|
+
params: ListCompanyCreditBalancesParams.Raw;
|
|
11
|
+
}
|
|
12
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type * as Schematic from "../../../../api/index";
|
|
2
|
+
import * as core from "../../../../core";
|
|
3
|
+
import type * as serializers from "../../../index";
|
|
4
|
+
import { CreditLeaseResponseData } from "../../../types/CreditLeaseResponseData";
|
|
5
|
+
export declare const ReleaseCreditLeaseResponse: core.serialization.ObjectSchema<serializers.ReleaseCreditLeaseResponse.Raw, Schematic.ReleaseCreditLeaseResponse>;
|
|
6
|
+
export declare namespace ReleaseCreditLeaseResponse {
|
|
7
|
+
interface Raw {
|
|
8
|
+
data: CreditLeaseResponseData.Raw;
|
|
9
|
+
params: Record<string, unknown>;
|
|
10
|
+
}
|
|
11
|
+
}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
export * from "./AcquireCreditLeaseResponse";
|
|
1
2
|
export * from "./CountBillingCreditsGrantsParams";
|
|
2
3
|
export * from "./CountBillingCreditsGrantsResponse";
|
|
3
4
|
export * from "./CountBillingCreditsParams";
|
|
@@ -18,15 +19,19 @@ export * from "./CreateCreditBundleResponse";
|
|
|
18
19
|
export * from "./DeleteBillingPlanCreditGrantParams";
|
|
19
20
|
export * from "./DeleteBillingPlanCreditGrantResponse";
|
|
20
21
|
export * from "./DeleteCreditBundleResponse";
|
|
22
|
+
export * from "./ExtendCreditLeaseResponse";
|
|
21
23
|
export * from "./GetCreditBundleResponse";
|
|
22
24
|
export * from "./GetEnrichedCreditLedgerParams";
|
|
23
25
|
export * from "./GetEnrichedCreditLedgerResponse";
|
|
24
26
|
export * from "./GetSingleBillingCreditResponse";
|
|
27
|
+
export * from "./GetSingleBillingPlanCreditGrantResponse";
|
|
25
28
|
export * from "./GrantBillingCreditsToCompanyResponse";
|
|
26
29
|
export * from "./ListBillingCreditsParams";
|
|
27
30
|
export * from "./ListBillingCreditsResponse";
|
|
28
31
|
export * from "./ListBillingPlanCreditGrantsParams";
|
|
29
32
|
export * from "./ListBillingPlanCreditGrantsResponse";
|
|
33
|
+
export * from "./ListCompanyCreditBalancesParams";
|
|
34
|
+
export * from "./ListCompanyCreditBalancesResponse";
|
|
30
35
|
export * from "./ListCompanyGrantsParams";
|
|
31
36
|
export * from "./ListCompanyGrantsResponse";
|
|
32
37
|
export * from "./ListCreditBundlesParams";
|
|
@@ -35,6 +40,7 @@ export * from "./ListCreditEventLedgerParams";
|
|
|
35
40
|
export * from "./ListCreditEventLedgerResponse";
|
|
36
41
|
export * from "./ListGrantsForCreditParams";
|
|
37
42
|
export * from "./ListGrantsForCreditResponse";
|
|
43
|
+
export * from "./ReleaseCreditLeaseResponse";
|
|
38
44
|
export * from "./SoftDeleteBillingCreditResponse";
|
|
39
45
|
export * from "./UpdateBillingCreditResponse";
|
|
40
46
|
export * from "./UpdateBillingPlanCreditGrantResponse";
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import type * as Schematic from "../../../../../api/index";
|
|
2
|
+
import * as core from "../../../../../core";
|
|
3
|
+
import type * as serializers from "../../../../index";
|
|
4
|
+
import { BillingProviderType } from "../../../../types/BillingProviderType";
|
|
5
|
+
import { BillingTiersMode } from "../../../../types/BillingTiersMode";
|
|
6
|
+
import { CreatePriceTierRequestBody } from "../../../../types/CreatePriceTierRequestBody";
|
|
7
|
+
import { CurrencyPriceRequestBody } from "../../../../types/CurrencyPriceRequestBody";
|
|
8
|
+
import { EntitlementPriceBehavior } from "../../../../types/EntitlementPriceBehavior";
|
|
9
|
+
import { EntitlementValueType } from "../../../../types/EntitlementValueType";
|
|
10
|
+
import { MetricPeriod } from "../../../../types/MetricPeriod";
|
|
11
|
+
import { MetricPeriodMonthReset } from "../../../../types/MetricPeriodMonthReset";
|
|
12
|
+
export declare const CreateBillingLinkedPlanEntitlementRequestBody: core.serialization.Schema<serializers.CreateBillingLinkedPlanEntitlementRequestBody.Raw, Schematic.CreateBillingLinkedPlanEntitlementRequestBody>;
|
|
13
|
+
export declare namespace CreateBillingLinkedPlanEntitlementRequestBody {
|
|
14
|
+
interface Raw {
|
|
15
|
+
billing_product_id?: string | null;
|
|
16
|
+
billing_provider: BillingProviderType.Raw;
|
|
17
|
+
billing_threshold?: number | null;
|
|
18
|
+
credit_consumption_rate?: number | null;
|
|
19
|
+
currency?: string | null;
|
|
20
|
+
currency_prices?: CurrencyPriceRequestBody.Raw[] | null;
|
|
21
|
+
external_resource_id: string;
|
|
22
|
+
feature_id: string;
|
|
23
|
+
metric_period?: MetricPeriod.Raw | null;
|
|
24
|
+
metric_period_month_reset?: MetricPeriodMonthReset.Raw | null;
|
|
25
|
+
monthly_metered_price_id?: string | null;
|
|
26
|
+
monthly_price_tiers?: CreatePriceTierRequestBody.Raw[] | null;
|
|
27
|
+
monthly_unit_price?: number | null;
|
|
28
|
+
monthly_unit_price_decimal?: string | null;
|
|
29
|
+
overage_billing_product_id?: string | null;
|
|
30
|
+
plan_id: string;
|
|
31
|
+
plan_version_id?: string | null;
|
|
32
|
+
price_behavior?: EntitlementPriceBehavior.Raw | null;
|
|
33
|
+
price_tiers?: CreatePriceTierRequestBody.Raw[] | null;
|
|
34
|
+
quarterly_metered_price_id?: string | null;
|
|
35
|
+
quarterly_price_tiers?: CreatePriceTierRequestBody.Raw[] | null;
|
|
36
|
+
quarterly_unit_price?: number | null;
|
|
37
|
+
quarterly_unit_price_decimal?: string | null;
|
|
38
|
+
soft_limit?: number | null;
|
|
39
|
+
tier_mode?: BillingTiersMode.Raw | null;
|
|
40
|
+
usage_quantity?: number | null;
|
|
41
|
+
value_bool?: boolean | null;
|
|
42
|
+
value_credit_id?: string | null;
|
|
43
|
+
value_numeric?: number | null;
|
|
44
|
+
value_trait_id?: string | null;
|
|
45
|
+
value_type: EntitlementValueType.Raw;
|
|
46
|
+
yearly_metered_price_id?: string | null;
|
|
47
|
+
yearly_price_tiers?: CreatePriceTierRequestBody.Raw[] | null;
|
|
48
|
+
yearly_unit_price?: number | null;
|
|
49
|
+
yearly_unit_price_decimal?: string | null;
|
|
50
|
+
}
|
|
51
|
+
}
|
|
@@ -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 "../../../../types/EntitlementValueType";
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
5
|
+
import { MetricPeriod } from "../../../../types/MetricPeriod";
|
|
6
|
+
import { MetricPeriodMonthReset } from "../../../../types/MetricPeriodMonthReset";
|
|
7
7
|
export declare const CreateCompanyOverrideRequestBody: core.serialization.Schema<serializers.CreateCompanyOverrideRequestBody.Raw, Schematic.CreateCompanyOverrideRequestBody>;
|
|
8
8
|
export declare namespace CreateCompanyOverrideRequestBody {
|
|
9
9
|
interface Raw {
|
|
@@ -11,8 +11,8 @@ export declare namespace CreateCompanyOverrideRequestBody {
|
|
|
11
11
|
credit_consumption_rate?: number | null;
|
|
12
12
|
expiration_date?: string | null;
|
|
13
13
|
feature_id: string;
|
|
14
|
-
metric_period?:
|
|
15
|
-
metric_period_month_reset?:
|
|
14
|
+
metric_period?: MetricPeriod.Raw | null;
|
|
15
|
+
metric_period_month_reset?: MetricPeriodMonthReset.Raw | null;
|
|
16
16
|
note?: string | null;
|
|
17
17
|
value_bool?: boolean | null;
|
|
18
18
|
value_credit_id?: string | null;
|