@schematichq/schematic-typescript-node 1.2.5 → 1.2.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/LICENSE +21 -0
- package/dist/api/resources/accesstokens/client/Client.d.ts +2 -1
- package/dist/api/resources/accesstokens/client/requests/IssueTemporaryAccessTokenRequestBody.d.ts +1 -2
- package/dist/api/resources/accounts/client/requests/CreateEnvironmentRequestBody.d.ts +1 -1
- package/dist/api/resources/accounts/client/requests/UpdateEnvironmentRequestBody.d.ts +1 -1
- package/dist/api/resources/accounts/types/index.d.ts +0 -2
- package/dist/api/resources/billing/client/Client.d.ts +21 -18
- package/dist/api/resources/billing/client/requests/CountBillingProductsRequest.d.ts +1 -1
- package/dist/api/resources/billing/client/requests/CreateBillingPriceRequestBody.d.ts +3 -3
- package/dist/api/resources/billing/client/requests/CreateBillingSubscriptionRequestBody.d.ts +2 -1
- package/dist/api/resources/billing/client/requests/{SearchBillingPricesRequest.d.ts → ListBillingPricesRequest.d.ts} +15 -9
- package/dist/api/resources/billing/client/requests/ListBillingProductPricesRequest.d.ts +55 -0
- package/dist/api/resources/billing/client/requests/ListBillingProductsRequest.d.ts +1 -1
- package/dist/api/resources/billing/client/requests/index.d.ts +2 -2
- package/dist/api/resources/billing/types/CountBillingProductsParams.d.ts +1 -1
- package/dist/api/resources/billing/types/{SearchBillingPricesParams.d.ts → ListBillingPricesParams.d.ts} +8 -5
- package/dist/api/resources/billing/types/{SearchBillingPricesResponse.d.ts → ListBillingPricesResponse.d.ts} +2 -2
- package/dist/api/resources/billing/types/ListBillingProductPricesParams.d.ts +29 -0
- package/dist/api/resources/billing/types/ListBillingProductPricesResponse.d.ts +9 -0
- package/dist/api/resources/billing/types/ListBillingProductsParams.d.ts +1 -1
- package/dist/api/resources/billing/types/index.d.ts +4 -18
- package/dist/api/resources/checkout/client/Client.d.ts +17 -0
- package/dist/api/resources/checkout/client/requests/CancelSubscriptionRequest.d.ts +16 -0
- package/dist/api/resources/checkout/client/requests/index.d.ts +1 -0
- package/dist/api/resources/{billing/types/ListProductPricesResponse.d.ts → checkout/types/CancelSubscriptionResponse.d.ts} +3 -3
- package/dist/api/resources/checkout/types/index.d.ts +1 -0
- package/dist/api/resources/companies/client/Client.d.ts +7 -2
- package/dist/api/resources/companies/client/requests/CountCompaniesForAdvancedFilterRequest.d.ts +3 -3
- package/dist/api/resources/companies/client/requests/CountEntityKeyDefinitionsRequest.d.ts +1 -1
- package/dist/api/resources/companies/client/requests/CountEntityTraitDefinitionsRequest.d.ts +3 -2
- package/dist/api/resources/companies/client/requests/CreateEntityTraitDefinitionRequestBody.d.ts +2 -2
- package/dist/api/resources/companies/client/requests/DeleteCompanyRequest.d.ts +14 -0
- package/dist/api/resources/companies/client/requests/ListCompaniesForAdvancedFilterRequest.d.ts +3 -3
- package/dist/api/resources/companies/client/requests/ListEntityKeyDefinitionsRequest.d.ts +1 -1
- package/dist/api/resources/companies/client/requests/ListEntityTraitDefinitionsRequest.d.ts +3 -2
- package/dist/api/resources/companies/client/requests/UpdateEntityTraitDefinitionRequestBody.d.ts +1 -1
- package/dist/api/resources/companies/client/requests/UpdatePlanTraitBulkRequestBody.d.ts +2 -0
- package/dist/api/resources/companies/client/requests/index.d.ts +1 -0
- package/dist/api/resources/companies/types/CountCompaniesForAdvancedFilterParams.d.ts +3 -4
- package/dist/api/resources/companies/types/CountEntityKeyDefinitionsParams.d.ts +1 -1
- package/dist/api/resources/companies/types/CountEntityTraitDefinitionsParams.d.ts +3 -2
- package/dist/api/resources/companies/types/DeleteCompanyParams.d.ts +10 -0
- package/dist/api/resources/companies/types/DeleteCompanyResponse.d.ts +1 -1
- package/dist/api/resources/companies/types/ListCompaniesForAdvancedFilterParams.d.ts +3 -4
- package/dist/api/resources/companies/types/ListEntityKeyDefinitionsParams.d.ts +1 -1
- package/dist/api/resources/companies/types/ListEntityTraitDefinitionsParams.d.ts +3 -2
- package/dist/api/resources/companies/types/index.d.ts +1 -19
- package/dist/api/resources/components/client/Client.d.ts +1 -1
- package/dist/api/resources/components/client/requests/CreateComponentRequestBody.d.ts +2 -2
- package/dist/api/resources/components/client/requests/UpdateComponentRequestBody.d.ts +2 -2
- package/dist/api/resources/components/types/index.d.ts +0 -3
- package/dist/api/resources/credits/client/Client.d.ts +26 -4
- package/dist/api/resources/credits/client/requests/CountCreditBundlesRequest.d.ts +2 -2
- package/dist/api/resources/credits/client/requests/CountCreditLedgerRequest.d.ts +1 -1
- package/dist/api/resources/credits/client/requests/CreateBillingCreditRequestBody.d.ts +3 -3
- package/dist/api/resources/credits/client/requests/CreateBillingPlanCreditGrantRequestBody.d.ts +14 -6
- package/dist/api/resources/credits/client/requests/CreateCompanyCreditGrant.d.ts +6 -4
- package/dist/api/resources/credits/client/requests/CreateCreditBundleRequestBody.d.ts +4 -4
- package/dist/api/resources/credits/client/requests/DeleteBillingPlanCreditGrantRequest.d.ts +12 -0
- package/dist/api/resources/credits/client/requests/GetEnrichedCreditLedgerRequest.d.ts +1 -1
- package/dist/api/resources/credits/client/requests/ListCompanyGrantsRequest.d.ts +2 -2
- package/dist/api/resources/credits/client/requests/ListCreditBundlesRequest.d.ts +2 -2
- package/dist/api/resources/credits/client/requests/UpdateBillingCreditRequestBody.d.ts +3 -3
- package/dist/api/resources/credits/client/requests/UpdateBillingPlanCreditGrantRequestBody.d.ts +28 -0
- package/dist/api/resources/credits/client/requests/UpdateCreditBundleDetailsRequestBody.d.ts +3 -3
- package/dist/api/resources/credits/client/requests/ZeroOutGrantRequestBody.d.ts +1 -1
- package/dist/api/resources/credits/client/requests/index.d.ts +2 -0
- package/dist/api/resources/credits/types/CountCreditBundlesParams.d.ts +2 -2
- package/dist/api/resources/credits/types/CountCreditLedgerParams.d.ts +1 -1
- package/dist/api/resources/credits/types/DeleteBillingPlanCreditGrantParams.d.ts +9 -0
- package/dist/api/resources/credits/types/DeleteBillingPlanCreditGrantResponse.d.ts +1 -1
- package/dist/api/resources/credits/types/GetEnrichedCreditLedgerParams.d.ts +1 -1
- package/dist/api/resources/credits/types/ListCompanyGrantsParams.d.ts +2 -2
- package/dist/api/resources/credits/types/ListCreditBundlesParams.d.ts +2 -2
- package/dist/api/resources/credits/types/UpdateBillingPlanCreditGrantResponse.d.ts +9 -0
- package/dist/api/resources/credits/types/index.d.ts +2 -30
- package/dist/api/resources/dataexports/client/Client.d.ts +3 -1
- package/dist/api/resources/dataexports/client/requests/CreateDataExportRequestBody.d.ts +3 -1
- package/dist/api/resources/entitlements/client/Client.d.ts +18 -0
- package/dist/api/resources/entitlements/client/requests/CreateCompanyOverrideRequestBody.d.ts +1 -1
- package/dist/api/resources/entitlements/client/requests/CreatePlanEntitlementRequestBody.d.ts +3 -3
- package/dist/api/resources/entitlements/client/requests/DuplicatePlanEntitlementsRequestBody.d.ts +14 -0
- package/dist/api/resources/entitlements/client/requests/UpdateCompanyOverrideRequestBody.d.ts +1 -1
- package/dist/api/resources/entitlements/client/requests/UpdatePlanEntitlementRequestBody.d.ts +3 -3
- package/dist/api/resources/entitlements/client/requests/index.d.ts +1 -0
- package/dist/api/resources/entitlements/types/DuplicatePlanEntitlementsResponse.d.ts +9 -0
- package/dist/api/resources/entitlements/types/index.d.ts +1 -6
- package/dist/api/resources/events/client/Client.d.ts +2 -2
- package/dist/api/resources/events/client/requests/CreateEventBatchRequestBody.d.ts +1 -1
- package/dist/api/resources/events/client/requests/ListEventsRequest.d.ts +1 -1
- package/dist/api/resources/events/types/ListEventsParams.d.ts +1 -1
- package/dist/api/resources/events/types/index.d.ts +0 -2
- package/dist/api/resources/features/client/Client.d.ts +17 -0
- package/dist/api/resources/features/client/requests/CheckFlagsBulkRequestBody.d.ts +13 -0
- package/dist/api/resources/features/client/requests/CountFeaturesRequest.d.ts +2 -1
- package/dist/api/resources/features/client/requests/CreateFeatureRequestBody.d.ts +2 -2
- package/dist/api/resources/features/client/requests/ListFeaturesRequest.d.ts +2 -1
- package/dist/api/resources/features/client/requests/UpdateFeatureRequestBody.d.ts +2 -2
- package/dist/api/resources/features/client/requests/index.d.ts +1 -0
- package/dist/api/resources/features/types/CheckFlagsBulkResponse.d.ts +9 -0
- package/dist/api/resources/features/types/CountFeaturesParams.d.ts +2 -1
- package/dist/api/resources/features/types/ListFeaturesParams.d.ts +2 -1
- package/dist/api/resources/features/types/index.d.ts +1 -4
- package/dist/api/resources/plangroups/client/Client.d.ts +8 -2
- package/dist/api/resources/plangroups/client/requests/CreatePlanGroupRequestBody.d.ts +10 -2
- package/dist/api/resources/plangroups/client/requests/UpdatePlanGroupRequestBody.d.ts +10 -2
- package/dist/api/resources/plans/client/Client.d.ts +1 -5
- package/dist/api/resources/plans/client/requests/CountPlansRequest.d.ts +1 -11
- package/dist/api/resources/plans/client/requests/CreatePlanRequestBody.d.ts +1 -1
- package/dist/api/resources/plans/client/requests/ListPlansRequest.d.ts +1 -11
- package/dist/api/resources/plans/client/requests/UpsertBillingProductRequestBody.d.ts +2 -2
- package/dist/api/resources/plans/types/CountPlansParams.d.ts +1 -6
- package/dist/api/resources/plans/types/ListPlansParams.d.ts +1 -6
- package/dist/api/resources/plans/types/index.d.ts +0 -6
- package/dist/api/resources/webhooks/client/Client.d.ts +1 -1
- package/dist/api/resources/webhooks/client/requests/CreateWebhookRequestBody.d.ts +2 -2
- package/dist/api/resources/webhooks/client/requests/UpdateWebhookRequestBody.d.ts +2 -2
- package/dist/api/resources/webhooks/types/index.d.ts +0 -3
- package/dist/api/types/ApiKeyCreateResponseData.d.ts +2 -1
- package/dist/api/types/ApiKeyResponseData.d.ts +2 -1
- package/dist/api/types/ApiKeyScope.d.ts +10 -0
- package/dist/api/types/BillingCreditBundleResponseData.d.ts +4 -4
- package/dist/api/{resources/credits/types/ListCreditBundlesRequestStatus.d.ts → types/BillingCreditBundleStatus.d.ts} +2 -2
- package/dist/api/types/BillingCreditBundleType.d.ts +4 -0
- package/dist/api/types/BillingCreditBundleView.d.ts +4 -4
- package/dist/api/{resources/credits/types/CreateBillingCreditRequestBodyBurnStrategy.d.ts → types/BillingCreditBurnStrategy.d.ts} +4 -4
- package/dist/api/{resources/credits/types/CreateCompanyCreditGrantExpiryType.d.ts → types/BillingCreditExpiryType.d.ts} +4 -4
- package/dist/api/{resources/credits/types/CreateCompanyCreditGrantExpiryUnit.d.ts → types/BillingCreditExpiryUnit.d.ts} +3 -3
- package/dist/api/types/BillingCreditGrantReason.d.ts +10 -0
- package/dist/api/types/BillingCreditGrantResponseData.d.ts +2 -2
- package/dist/api/{resources/credits/types/ZeroOutGrantRequestBodyReason.d.ts → types/BillingCreditGrantZeroedOutReason.d.ts} +4 -4
- package/dist/api/types/BillingCreditResponseData.d.ts +3 -3
- package/dist/api/types/BillingCreditRolloverPolicy.d.ts +9 -0
- package/dist/api/{resources/credits/types/CreateBillingPlanCreditGrantRequestBodyResetCadence.d.ts → types/BillingPlanCreditGrantResetCadence.d.ts} +4 -4
- package/dist/api/types/BillingPlanCreditGrantResetStart.d.ts +8 -0
- package/dist/api/types/BillingPlanCreditGrantResetType.d.ts +8 -0
- package/dist/api/types/BillingPlanCreditGrantResponseData.d.ts +13 -5
- package/dist/api/types/BillingPriceResponseData.d.ts +3 -2
- package/dist/api/types/BillingPriceScheme.d.ts +8 -0
- package/dist/api/types/{BillingProductPricingUsageType.d.ts → BillingPriceUsageType.d.ts} +2 -2
- package/dist/api/types/BillingPriceView.d.ts +4 -4
- package/dist/api/types/BillingProductForSubscriptionResponseData.d.ts +2 -2
- package/dist/api/types/BillingProductPlanResponseData.d.ts +3 -2
- package/dist/api/types/BillingProductPriceInterval.d.ts +10 -0
- package/dist/api/types/BillingProductPriceResponseData.d.ts +5 -4
- package/dist/api/types/BillingProductPricing.d.ts +1 -1
- package/dist/api/types/BillingSubscriptionResponseData.d.ts +3 -1
- package/dist/api/types/BillingSubscriptionTrialEndSetting.d.ts +8 -0
- package/dist/api/types/BillingSubscriptionView.d.ts +2 -1
- package/dist/api/{resources/billing/types/SearchBillingPricesRequestTiersMode.d.ts → types/BillingTiersMode.d.ts} +3 -3
- package/dist/api/{resources/plans/types/UpsertBillingProductRequestBodyChargeType.d.ts → types/ChargeType.d.ts} +3 -3
- package/dist/api/types/CheckFlagsBulkResponseData.d.ts +7 -0
- package/dist/api/types/CheckoutSubscription.d.ts +3 -1
- package/dist/api/types/CompanyOverrideResponseData.d.ts +1 -1
- package/dist/api/types/CompanyPlanDetailResponseData.d.ts +4 -3
- package/dist/api/types/CompanyPlanInvalidReason.d.ts +8 -0
- package/dist/api/types/CompanyPlanWithBillingSubView.d.ts +2 -0
- package/dist/api/types/ComponentDisplaySettings.d.ts +9 -0
- package/dist/api/{resources/components/types/UpdateComponentRequestBodyEntityType.d.ts → types/ComponentEntityType.d.ts} +3 -3
- package/dist/api/types/ComponentHydrateResponseData.d.ts +5 -0
- package/dist/api/types/ComponentPreviewResponseData.d.ts +5 -0
- package/dist/api/types/ComponentResponseData.d.ts +3 -2
- package/dist/api/types/ComponentSettingsResponseData.d.ts +9 -0
- package/dist/api/{resources/components/types/UpdateComponentRequestBodyState.d.ts → types/ComponentState.d.ts} +2 -2
- package/dist/api/types/Condition.d.ts +4 -4
- package/dist/api/types/ConditionConditionType.d.ts +15 -0
- package/dist/api/types/ConditionMetricPeriod.d.ts +10 -0
- package/dist/api/types/ConditionMetricPeriodMonthReset.d.ts +8 -0
- package/dist/api/types/ConditionOperator.d.ts +14 -0
- package/dist/api/types/CreateEntitlementReqCommon.d.ts +1 -1
- package/dist/api/types/CreateEventRequestBody.d.ts +1 -2
- package/dist/api/types/CreateFlagRequestBody.d.ts +2 -1
- package/dist/api/types/CreateOrUpdateFlagRequestBody.d.ts +2 -1
- package/dist/api/types/CreditAutoTopupAmountType.d.ts +4 -0
- package/dist/api/types/CreditCompanyGrantView.d.ts +4 -4
- package/dist/api/types/CreditGrantDetail.d.ts +1 -1
- package/dist/api/types/CreditGrantExpiryRequestBody.d.ts +12 -0
- package/dist/api/{resources/credits/types/ListCompanyGrantsRequestOrder.d.ts → types/CreditGrantSortOrder.d.ts} +2 -2
- package/dist/api/types/CreditLedgerEnrichedEntryResponseData.d.ts +1 -0
- package/dist/api/{resources/credits/types/CountCreditLedgerRequestPeriod.d.ts → types/CreditLedgerPeriod.d.ts} +3 -3
- package/dist/api/types/DataExportOutputFileType.d.ts +4 -0
- package/dist/api/types/DataExportResponseData.d.ts +4 -3
- package/dist/api/types/DataExportStatus.d.ts +9 -0
- package/dist/api/types/DataExportType.d.ts +4 -0
- package/dist/api/types/DuplicatePlanEntitlementsResponseResponseData.d.ts +8 -0
- package/dist/api/{resources/entitlements/types/CreatePlanEntitlementRequestBodyPriceBehavior.d.ts → types/EntitlementPriceBehavior.d.ts} +4 -4
- package/dist/api/types/EntitlementType.d.ts +9 -0
- package/dist/api/{resources/entitlements/types/UpdateCompanyOverrideRequestBodyValueType.d.ts → types/EntitlementValueType.d.ts} +3 -2
- package/dist/api/types/EntityKeyDefinitionResponseData.d.ts +2 -1
- package/dist/api/types/EntityKeyDetailResponseData.d.ts +1 -1
- package/dist/api/types/EntityKeyResponseData.d.ts +2 -1
- package/dist/api/types/EntityTraitDefinitionResponseData.d.ts +3 -2
- package/dist/api/types/EntityType.d.ts +8 -0
- package/dist/api/types/EnvironmentDetailResponseData.d.ts +1 -1
- package/dist/api/types/EnvironmentResponseData.d.ts +2 -1
- package/dist/api/{resources/accounts/types/CreateEnvironmentRequestBodyEnvironmentType.d.ts → types/EnvironmentType.d.ts} +3 -3
- package/dist/api/types/EventDetailResponseData.d.ts +2 -2
- package/dist/api/types/EventResponseData.d.ts +3 -2
- package/dist/api/types/EventStatus.d.ts +11 -0
- package/dist/api/{resources/events/types/ListEventsRequestEventTypesItem.d.ts → types/EventType.d.ts} +3 -3
- package/dist/api/types/FeatureCompanyResponseData.d.ts +4 -6
- package/dist/api/types/FeatureCompanyUserResponseData.d.ts +2 -3
- package/dist/api/types/FeatureDetailResponseData.d.ts +2 -2
- package/dist/api/{resources/features/types/CreateFeatureRequestBodyLifecyclePhase.d.ts → types/FeatureLifecyclePhase.d.ts} +3 -3
- package/dist/api/types/FeatureResponseData.d.ts +3 -2
- package/dist/api/{resources/features/types/CreateFeatureRequestBodyFeatureType.d.ts → types/FeatureType.d.ts} +2 -2
- package/dist/api/types/FeatureUsageDataResponseData.d.ts +1 -1
- package/dist/api/types/FeatureUsageResponseData.d.ts +4 -6
- package/dist/api/types/FlagDetailResponseData.d.ts +1 -1
- package/dist/api/types/FlagResponseData.d.ts +2 -1
- package/dist/api/types/FlagType.d.ts +4 -0
- package/dist/api/types/IssueTemporaryAccessTokenResponseData.d.ts +2 -1
- package/dist/api/types/ManagePlanRequest.d.ts +5 -0
- package/dist/api/types/{PlanChangeResponseDataAction.d.ts → PlanChangeAction.d.ts} +4 -2
- package/dist/api/types/{PlanChangeResponseDataActorType.d.ts → PlanChangeActorType.d.ts} +3 -3
- package/dist/api/types/PlanChangeBasePlanAction.d.ts +10 -0
- package/dist/api/types/PlanChangeResponseData.d.ts +4 -6
- package/dist/api/types/PlanChangeSubscriptionAction.d.ts +12 -0
- package/dist/api/types/PlanControlledByType.d.ts +8 -0
- package/dist/api/types/PlanCreditGrantView.d.ts +13 -5
- package/dist/api/types/PlanDetailResponseData.d.ts +3 -3
- package/dist/api/types/PlanEntitlementResponseData.d.ts +2 -2
- package/dist/api/types/PlanGroupDetailResponseData.d.ts +9 -3
- package/dist/api/types/PlanGroupPlanDetailResponseData.d.ts +3 -3
- package/dist/api/types/PlanGroupResponseData.d.ts +7 -1
- package/dist/api/types/PlanResponseData.d.ts +2 -1
- package/dist/api/{resources/plans/types/CreatePlanRequestBodyPlanType.d.ts → types/PlanType.d.ts} +2 -2
- package/dist/api/types/PreviewSubscriptionFinanceResponseData.d.ts +1 -0
- package/dist/api/types/ProrationBehavior.d.ts +8 -0
- package/dist/api/types/Rule.d.ts +1 -1
- package/dist/api/types/RuleConditionDetailResponseData.d.ts +1 -1
- package/dist/api/types/RuleConditionResponseData.d.ts +2 -1
- package/dist/api/types/RuleRuleType.d.ts +13 -0
- package/dist/api/types/RulesEngineSchemaVersion.d.ts +11 -0
- package/dist/api/types/RulesengineCheckFlagResult.d.ts +20 -0
- package/dist/api/types/RulesengineCheckFlagResultFeatureUsagePeriod.d.ts +10 -0
- package/dist/api/types/RulesengineCheckFlagResultRuleType.d.ts +13 -0
- package/dist/api/types/RulesengineCompany.d.ts +19 -0
- package/dist/api/types/RulesengineCompanyMetric.d.ts +15 -0
- package/dist/api/types/RulesengineCompanyMetricMonthReset.d.ts +8 -0
- package/dist/api/types/RulesengineCompanyMetricPeriod.d.ts +10 -0
- package/dist/api/types/RulesengineCondition.d.ts +21 -0
- package/dist/api/types/RulesengineConditionConditionType.d.ts +15 -0
- package/dist/api/types/RulesengineConditionGroup.d.ts +7 -0
- package/dist/api/types/RulesengineConditionMetricPeriod.d.ts +10 -0
- package/dist/api/types/RulesengineConditionMetricPeriodMonthReset.d.ts +8 -0
- package/dist/api/types/RulesengineConditionOperator.d.ts +14 -0
- package/dist/api/types/RulesengineEntityType.d.ts +8 -0
- package/dist/api/types/RulesengineFlag.d.ts +12 -0
- package/dist/api/types/RulesengineRule.d.ts +16 -0
- package/dist/api/types/RulesengineRuleRuleType.d.ts +13 -0
- package/dist/api/types/RulesengineSubscription.d.ts +8 -0
- package/dist/api/types/RulesengineTrait.d.ts +8 -0
- package/dist/api/types/RulesengineTraitDefinition.d.ts +9 -0
- package/dist/api/types/RulesengineTraitDefinitionComparableType.d.ts +10 -0
- package/dist/api/types/RulesengineUser.d.ts +12 -0
- package/dist/api/types/SkippedEntitlementErrorResponseData.d.ts +6 -0
- package/dist/api/types/SkippedEntitlementResponseData.d.ts +10 -0
- package/dist/api/{resources/credits/types/ListCompanyGrantsRequestDir.d.ts → types/SortDirection.d.ts} +2 -2
- package/dist/api/types/SubscriptionStatus.d.ts +15 -0
- package/dist/api/types/SubscriptionTraitUpdate.d.ts +2 -1
- package/dist/api/types/SubscriptionType.d.ts +10 -0
- package/dist/api/types/TemporaryAccessTokenResourceType.d.ts +4 -0
- package/dist/api/types/TemporaryAccessTokenResponseData.d.ts +2 -1
- package/dist/api/types/TraitDefinition.d.ts +3 -2
- package/dist/api/types/TraitDefinitionComparableType.d.ts +10 -0
- package/dist/api/{resources/companies/types/ListEntityTraitDefinitionsRequestTraitType.d.ts → types/TraitType.d.ts} +2 -2
- package/dist/api/types/UpdateEntitlementReqCommon.d.ts +1 -1
- package/dist/api/types/UsageBasedEntitlementRequestBody.d.ts +2 -2
- package/dist/api/types/UsageBasedEntitlementResponseData.d.ts +2 -2
- package/dist/api/types/WebhookEventDetailResponseData.d.ts +2 -2
- package/dist/api/types/WebhookEventResponseData.d.ts +3 -2
- package/dist/api/types/WebhookEventStatus.d.ts +9 -0
- package/dist/api/{resources/webhooks/types/CreateWebhookRequestBodyRequestTypesItem.d.ts → types/WebhookRequestType.d.ts} +30 -28
- package/dist/api/types/WebhookResponseData.d.ts +2 -2
- package/dist/api/{resources/webhooks/types/UpdateWebhookRequestBodyStatus.d.ts → types/WebhookStatus.d.ts} +2 -2
- package/dist/api/types/index.d.ts +88 -15
- package/dist/index.js +3 -3
- package/dist/serialization/resources/accounts/client/requests/CreateEnvironmentRequestBody.d.ts +2 -2
- package/dist/serialization/resources/accounts/client/requests/UpdateEnvironmentRequestBody.d.ts +2 -2
- package/dist/serialization/resources/accounts/types/index.d.ts +0 -2
- package/dist/serialization/resources/billing/client/requests/CreateBillingPriceRequestBody.d.ts +6 -6
- package/dist/serialization/resources/billing/client/requests/CreateBillingSubscriptionRequestBody.d.ts +3 -2
- package/dist/serialization/resources/billing/types/CountBillingProductsParams.d.ts +2 -2
- package/dist/serialization/resources/billing/types/ListBillingPricesParams.d.ts +27 -0
- package/dist/serialization/resources/billing/types/{SearchBillingPricesResponse.d.ts → ListBillingPricesResponse.d.ts} +4 -4
- package/dist/serialization/resources/billing/types/ListBillingProductPricesParams.d.ts +27 -0
- package/dist/serialization/resources/billing/types/ListBillingProductPricesResponse.d.ts +15 -0
- package/dist/serialization/resources/billing/types/ListBillingProductsParams.d.ts +2 -2
- package/dist/serialization/resources/billing/types/index.d.ts +4 -18
- package/dist/serialization/resources/checkout/client/requests/CancelSubscriptionRequest.d.ts +14 -0
- package/dist/serialization/resources/checkout/client/requests/index.d.ts +1 -0
- package/dist/serialization/resources/checkout/types/CancelSubscriptionResponse.d.ts +14 -0
- package/dist/serialization/resources/checkout/types/index.d.ts +1 -0
- package/dist/serialization/resources/companies/client/requests/CreateEntityTraitDefinitionRequestBody.d.ts +4 -4
- package/dist/serialization/resources/companies/client/requests/UpdateEntityTraitDefinitionRequestBody.d.ts +2 -2
- package/dist/serialization/resources/companies/client/requests/UpdatePlanTraitBulkRequestBody.d.ts +1 -0
- package/dist/serialization/resources/companies/types/CountCompaniesForAdvancedFilterParams.d.ts +6 -4
- package/dist/serialization/resources/companies/types/CountEntityKeyDefinitionsParams.d.ts +2 -2
- package/dist/serialization/resources/companies/types/CountEntityTraitDefinitionsParams.d.ts +5 -4
- package/dist/serialization/resources/companies/types/DeleteCompanyParams.d.ts +13 -0
- package/dist/serialization/resources/companies/types/DeleteCompanyResponse.d.ts +2 -1
- package/dist/serialization/resources/companies/types/ListCompaniesForAdvancedFilterParams.d.ts +6 -4
- package/dist/serialization/resources/companies/types/ListEntityKeyDefinitionsParams.d.ts +2 -2
- package/dist/serialization/resources/companies/types/ListEntityTraitDefinitionsParams.d.ts +5 -4
- package/dist/serialization/resources/companies/types/index.d.ts +1 -19
- package/dist/serialization/resources/components/client/requests/CreateComponentRequestBody.d.ts +2 -2
- package/dist/serialization/resources/components/client/requests/UpdateComponentRequestBody.d.ts +4 -4
- package/dist/serialization/resources/components/types/index.d.ts +0 -3
- package/dist/serialization/resources/credits/client/requests/CreateBillingCreditRequestBody.d.ts +6 -5
- package/dist/serialization/resources/credits/client/requests/CreateBillingPlanCreditGrantRequestBody.d.ts +19 -10
- package/dist/serialization/resources/credits/client/requests/CreateCompanyCreditGrant.d.ts +9 -5
- package/dist/serialization/resources/credits/client/requests/CreateCreditBundleRequestBody.d.ts +8 -7
- package/dist/serialization/resources/credits/client/requests/UpdateBillingCreditRequestBody.d.ts +6 -5
- package/dist/serialization/resources/credits/client/requests/UpdateBillingPlanCreditGrantRequestBody.d.ts +32 -0
- package/dist/serialization/resources/credits/client/requests/UpdateCreditBundleDetailsRequestBody.d.ts +6 -6
- package/dist/serialization/resources/credits/client/requests/ZeroOutGrantRequestBody.d.ts +2 -2
- package/dist/serialization/resources/credits/client/requests/index.d.ts +1 -0
- package/dist/serialization/resources/credits/types/CountCreditBundlesParams.d.ts +4 -3
- package/dist/serialization/resources/credits/types/CountCreditLedgerParams.d.ts +2 -2
- package/dist/serialization/resources/credits/types/DeleteBillingPlanCreditGrantParams.d.ts +12 -0
- package/dist/serialization/resources/credits/types/DeleteBillingPlanCreditGrantResponse.d.ts +2 -1
- package/dist/serialization/resources/credits/types/GetEnrichedCreditLedgerParams.d.ts +2 -2
- package/dist/serialization/resources/credits/types/ListCompanyGrantsParams.d.ts +4 -4
- package/dist/serialization/resources/credits/types/ListCreditBundlesParams.d.ts +4 -3
- package/dist/serialization/resources/credits/types/UpdateBillingPlanCreditGrantResponse.d.ts +14 -0
- package/dist/serialization/resources/credits/types/index.d.ts +2 -30
- package/dist/serialization/resources/entitlements/client/requests/CreateCompanyOverrideRequestBody.d.ts +2 -2
- package/dist/serialization/resources/entitlements/client/requests/CreatePlanEntitlementRequestBody.d.ts +6 -5
- package/dist/serialization/resources/entitlements/client/requests/DuplicatePlanEntitlementsRequestBody.d.ts +13 -0
- package/dist/serialization/resources/entitlements/client/requests/UpdateCompanyOverrideRequestBody.d.ts +2 -2
- package/dist/serialization/resources/entitlements/client/requests/UpdatePlanEntitlementRequestBody.d.ts +6 -5
- package/dist/serialization/resources/entitlements/client/requests/index.d.ts +1 -0
- package/dist/serialization/resources/entitlements/types/DuplicatePlanEntitlementsResponse.d.ts +14 -0
- package/dist/serialization/resources/entitlements/types/index.d.ts +1 -6
- package/dist/serialization/resources/events/types/ListEventsParams.d.ts +2 -2
- package/dist/serialization/resources/events/types/index.d.ts +0 -2
- package/dist/serialization/resources/features/client/requests/CheckFlagsBulkRequestBody.d.ts +13 -0
- package/dist/serialization/resources/features/client/requests/CreateFeatureRequestBody.d.ts +4 -4
- package/dist/serialization/resources/features/client/requests/UpdateFeatureRequestBody.d.ts +4 -4
- package/dist/serialization/resources/features/client/requests/index.d.ts +1 -0
- package/dist/serialization/resources/features/types/CheckFlagsBulkResponse.d.ts +14 -0
- package/dist/serialization/resources/features/types/CountFeaturesParams.d.ts +2 -1
- package/dist/serialization/resources/features/types/ListFeaturesParams.d.ts +2 -1
- package/dist/serialization/resources/features/types/index.d.ts +1 -4
- package/dist/serialization/resources/plangroups/client/requests/CreatePlanGroupRequestBody.d.ts +7 -1
- package/dist/serialization/resources/plangroups/client/requests/UpdatePlanGroupRequestBody.d.ts +7 -1
- package/dist/serialization/resources/plans/client/requests/CreatePlanRequestBody.d.ts +2 -2
- package/dist/serialization/resources/plans/client/requests/UpsertBillingProductRequestBody.d.ts +2 -2
- package/dist/serialization/resources/plans/types/CountPlansParams.d.ts +2 -4
- package/dist/serialization/resources/plans/types/ListPlansParams.d.ts +2 -4
- package/dist/serialization/resources/plans/types/index.d.ts +0 -6
- package/dist/serialization/resources/webhooks/client/requests/CreateWebhookRequestBody.d.ts +2 -2
- package/dist/serialization/resources/webhooks/client/requests/UpdateWebhookRequestBody.d.ts +4 -4
- package/dist/serialization/resources/webhooks/types/index.d.ts +0 -3
- package/dist/serialization/types/ApiKeyCreateResponseData.d.ts +2 -1
- package/dist/serialization/types/ApiKeyResponseData.d.ts +2 -1
- package/dist/serialization/types/ApiKeyScope.d.ts +10 -0
- package/dist/serialization/types/BillingCreditBundleResponseData.d.ts +8 -4
- package/dist/serialization/types/BillingCreditBundleStatus.d.ts +10 -0
- package/dist/serialization/types/BillingCreditBundleType.d.ts +10 -0
- package/dist/serialization/types/BillingCreditBundleView.d.ts +8 -4
- package/dist/serialization/types/BillingCreditBurnStrategy.d.ts +10 -0
- package/dist/serialization/types/BillingCreditExpiryType.d.ts +10 -0
- package/dist/serialization/types/BillingCreditExpiryUnit.d.ts +10 -0
- package/dist/serialization/types/BillingCreditGrantReason.d.ts +10 -0
- package/dist/serialization/types/BillingCreditGrantResponseData.d.ts +4 -2
- package/dist/serialization/types/BillingCreditGrantZeroedOutReason.d.ts +10 -0
- package/dist/serialization/types/BillingCreditResponseData.d.ts +6 -3
- package/dist/serialization/types/BillingCreditRolloverPolicy.d.ts +10 -0
- package/dist/serialization/types/BillingPlanCreditGrantResetCadence.d.ts +10 -0
- package/dist/serialization/types/BillingPlanCreditGrantResetStart.d.ts +10 -0
- package/dist/serialization/types/BillingPlanCreditGrantResetType.d.ts +10 -0
- package/dist/serialization/types/BillingPlanCreditGrantResponseData.d.ts +17 -5
- package/dist/serialization/types/BillingPriceResponseData.d.ts +4 -2
- package/dist/serialization/types/BillingPriceScheme.d.ts +10 -0
- package/dist/serialization/types/{BillingProductPricingUsageType.d.ts → BillingPriceUsageType.d.ts} +2 -2
- package/dist/serialization/types/BillingPriceView.d.ts +8 -4
- package/dist/serialization/types/BillingProductForSubscriptionResponseData.d.ts +4 -2
- package/dist/serialization/types/BillingProductPlanResponseData.d.ts +4 -2
- package/dist/serialization/types/BillingProductPriceInterval.d.ts +10 -0
- package/dist/serialization/types/BillingProductPriceResponseData.d.ts +8 -4
- package/dist/serialization/types/BillingProductPricing.d.ts +2 -2
- package/dist/serialization/types/BillingSubscriptionResponseData.d.ts +3 -1
- package/dist/serialization/types/BillingSubscriptionTrialEndSetting.d.ts +10 -0
- package/dist/serialization/types/BillingSubscriptionView.d.ts +3 -1
- package/dist/serialization/types/BillingTiersMode.d.ts +10 -0
- package/dist/serialization/types/ChargeType.d.ts +10 -0
- package/dist/serialization/types/CheckFlagsBulkResponseData.d.ts +13 -0
- package/dist/serialization/types/CheckoutSubscription.d.ts +3 -1
- package/dist/serialization/types/CompanyOverrideResponseData.d.ts +2 -1
- package/dist/serialization/types/CompanyPlanDetailResponseData.d.ts +8 -3
- package/dist/serialization/types/CompanyPlanInvalidReason.d.ts +10 -0
- package/dist/serialization/types/CompanyPlanWithBillingSubView.d.ts +2 -0
- package/dist/serialization/types/ComponentDisplaySettings.d.ts +15 -0
- package/dist/serialization/types/ComponentEntityType.d.ts +10 -0
- package/dist/serialization/types/ComponentHydrateResponseData.d.ts +6 -0
- package/dist/serialization/types/ComponentPreviewResponseData.d.ts +6 -0
- package/dist/serialization/types/ComponentResponseData.d.ts +4 -2
- package/dist/serialization/types/ComponentSettingsResponseData.d.ts +15 -0
- package/dist/serialization/types/ComponentState.d.ts +10 -0
- package/dist/serialization/types/Condition.d.ts +8 -4
- package/dist/serialization/types/ConditionConditionType.d.ts +10 -0
- package/dist/serialization/types/ConditionMetricPeriod.d.ts +10 -0
- package/dist/serialization/types/ConditionMetricPeriodMonthReset.d.ts +10 -0
- package/dist/serialization/types/ConditionOperator.d.ts +10 -0
- package/dist/serialization/types/CreateEntitlementReqCommon.d.ts +2 -2
- package/dist/serialization/types/CreateEventRequestBody.d.ts +2 -2
- package/dist/serialization/types/CreateFlagRequestBody.d.ts +2 -1
- package/dist/serialization/types/CreateOrUpdateFlagRequestBody.d.ts +2 -1
- package/dist/serialization/types/CreditAutoTopupAmountType.d.ts +10 -0
- package/dist/serialization/types/CreditCompanyGrantView.d.ts +8 -4
- package/dist/serialization/types/CreditGrantDetail.d.ts +2 -2
- package/dist/serialization/types/CreditGrantExpiryRequestBody.d.ts +22 -0
- package/dist/serialization/types/CreditGrantSortOrder.d.ts +10 -0
- package/dist/serialization/types/CreditLedgerEnrichedEntryResponseData.d.ts +1 -0
- package/dist/serialization/types/CreditLedgerPeriod.d.ts +10 -0
- package/dist/serialization/types/DataExportOutputFileType.d.ts +10 -0
- package/dist/serialization/types/DataExportResponseData.d.ts +6 -3
- package/dist/serialization/types/DataExportStatus.d.ts +10 -0
- package/dist/serialization/types/DataExportType.d.ts +10 -0
- package/dist/serialization/types/DuplicatePlanEntitlementsResponseResponseData.d.ts +15 -0
- package/dist/serialization/types/EntitlementPriceBehavior.d.ts +10 -0
- package/dist/serialization/types/EntitlementType.d.ts +10 -0
- package/dist/serialization/types/EntitlementValueType.d.ts +10 -0
- package/dist/serialization/types/EntityKeyDefinitionResponseData.d.ts +2 -1
- package/dist/serialization/types/EntityKeyDetailResponseData.d.ts +2 -1
- package/dist/serialization/types/EntityKeyResponseData.d.ts +2 -1
- package/dist/serialization/types/EntityTraitDefinitionResponseData.d.ts +4 -2
- package/dist/serialization/types/EntityType.d.ts +10 -0
- package/dist/serialization/types/EnvironmentDetailResponseData.d.ts +2 -1
- package/dist/serialization/types/EnvironmentResponseData.d.ts +2 -1
- package/dist/serialization/types/EnvironmentType.d.ts +10 -0
- package/dist/serialization/types/EventDetailResponseData.d.ts +4 -2
- package/dist/serialization/types/EventResponseData.d.ts +4 -2
- package/dist/serialization/types/EventStatus.d.ts +10 -0
- package/dist/serialization/types/EventType.d.ts +10 -0
- package/dist/serialization/types/FeatureCompanyResponseData.d.ts +8 -6
- package/dist/serialization/types/FeatureCompanyUserResponseData.d.ts +4 -3
- package/dist/serialization/types/FeatureDetailResponseData.d.ts +4 -2
- package/dist/serialization/types/FeatureLifecyclePhase.d.ts +10 -0
- package/dist/serialization/types/FeatureResponseData.d.ts +4 -2
- package/dist/serialization/types/FeatureType.d.ts +10 -0
- package/dist/serialization/types/FeatureUsageDataResponseData.d.ts +2 -1
- package/dist/serialization/types/FeatureUsageResponseData.d.ts +8 -6
- package/dist/serialization/types/FlagDetailResponseData.d.ts +2 -1
- package/dist/serialization/types/FlagResponseData.d.ts +2 -1
- package/dist/serialization/types/FlagType.d.ts +10 -0
- package/dist/serialization/types/IssueTemporaryAccessTokenResponseData.d.ts +2 -1
- package/dist/serialization/types/ManagePlanRequest.d.ts +3 -0
- package/dist/serialization/types/PlanChangeAction.d.ts +10 -0
- package/dist/serialization/types/PlanChangeActorType.d.ts +10 -0
- package/dist/serialization/types/{PlanChangeResponseDataBasePlanAction.d.ts → PlanChangeBasePlanAction.d.ts} +2 -2
- package/dist/serialization/types/PlanChangeResponseData.d.ts +8 -8
- package/dist/serialization/types/{PlanChangeResponseDataSubscriptionChangeAction.d.ts → PlanChangeSubscriptionAction.d.ts} +2 -2
- package/dist/serialization/types/PlanControlledByType.d.ts +10 -0
- package/dist/serialization/types/PlanCreditGrantView.d.ts +17 -5
- package/dist/serialization/types/PlanDetailResponseData.d.ts +6 -3
- package/dist/serialization/types/PlanEntitlementResponseData.d.ts +4 -2
- package/dist/serialization/types/PlanGroupDetailResponseData.d.ts +11 -4
- package/dist/serialization/types/PlanGroupPlanDetailResponseData.d.ts +6 -3
- package/dist/serialization/types/PlanGroupResponseData.d.ts +8 -1
- package/dist/serialization/types/PlanResponseData.d.ts +2 -1
- package/dist/serialization/types/PlanType.d.ts +10 -0
- package/dist/serialization/types/PreviewSubscriptionFinanceResponseData.d.ts +1 -0
- package/dist/serialization/types/ProrationBehavior.d.ts +10 -0
- package/dist/serialization/types/Rule.d.ts +2 -1
- package/dist/serialization/types/RuleConditionDetailResponseData.d.ts +2 -1
- package/dist/serialization/types/RuleConditionResponseData.d.ts +2 -1
- package/dist/serialization/types/RuleRuleType.d.ts +10 -0
- package/dist/serialization/types/RulesEngineSchemaVersion.d.ts +10 -0
- package/dist/serialization/types/RulesengineCheckFlagResult.d.ts +27 -0
- package/dist/serialization/types/RulesengineCheckFlagResultFeatureUsagePeriod.d.ts +10 -0
- package/dist/serialization/types/RulesengineCheckFlagResultRuleType.d.ts +10 -0
- package/dist/serialization/types/RulesengineCompany.d.ts +28 -0
- package/dist/serialization/types/RulesengineCompanyMetric.d.ts +22 -0
- package/dist/serialization/types/RulesengineCompanyMetricMonthReset.d.ts +10 -0
- package/dist/serialization/types/RulesengineCompanyMetricPeriod.d.ts +10 -0
- package/dist/serialization/types/RulesengineCondition.d.ts +31 -0
- package/dist/serialization/types/RulesengineConditionConditionType.d.ts +10 -0
- package/dist/serialization/types/RulesengineConditionGroup.d.ts +13 -0
- package/dist/serialization/types/RulesengineConditionMetricPeriod.d.ts +10 -0
- package/dist/serialization/types/RulesengineConditionMetricPeriodMonthReset.d.ts +10 -0
- package/dist/serialization/types/RulesengineConditionOperator.d.ts +10 -0
- package/dist/serialization/types/RulesengineEntityType.d.ts +10 -0
- package/dist/serialization/types/RulesengineFlag.d.ts +18 -0
- package/dist/serialization/types/RulesengineRule.d.ts +24 -0
- package/dist/serialization/types/RulesengineRuleRuleType.d.ts +10 -0
- package/dist/serialization/types/RulesengineSubscription.d.ts +14 -0
- package/dist/serialization/types/RulesengineTrait.d.ts +14 -0
- package/dist/serialization/types/RulesengineTraitDefinition.d.ts +16 -0
- package/dist/serialization/types/RulesengineTraitDefinitionComparableType.d.ts +10 -0
- package/dist/serialization/types/RulesengineUser.d.ts +19 -0
- package/dist/serialization/types/SkippedEntitlementErrorResponseData.d.ts +12 -0
- package/dist/serialization/types/SkippedEntitlementResponseData.d.ts +16 -0
- package/dist/serialization/types/SortDirection.d.ts +10 -0
- package/dist/serialization/types/SubscriptionStatus.d.ts +10 -0
- package/dist/serialization/types/SubscriptionTraitUpdate.d.ts +2 -1
- package/dist/serialization/types/SubscriptionType.d.ts +10 -0
- package/dist/serialization/types/TemporaryAccessTokenResourceType.d.ts +10 -0
- package/dist/serialization/types/TemporaryAccessTokenResponseData.d.ts +2 -1
- package/dist/serialization/types/TraitDefinition.d.ts +4 -2
- package/dist/serialization/types/TraitDefinitionComparableType.d.ts +10 -0
- package/dist/serialization/types/TraitType.d.ts +10 -0
- package/dist/serialization/types/UpdateEntitlementReqCommon.d.ts +2 -2
- package/dist/serialization/types/UsageBasedEntitlementRequestBody.d.ts +4 -3
- package/dist/serialization/types/UsageBasedEntitlementResponseData.d.ts +4 -2
- package/dist/serialization/types/WebhookEventDetailResponseData.d.ts +4 -2
- package/dist/serialization/types/WebhookEventResponseData.d.ts +4 -2
- package/dist/serialization/types/WebhookEventStatus.d.ts +10 -0
- package/dist/serialization/types/WebhookRequestType.d.ts +10 -0
- package/dist/serialization/types/WebhookResponseData.d.ts +4 -2
- package/dist/serialization/types/WebhookStatus.d.ts +10 -0
- package/dist/serialization/types/index.d.ts +88 -15
- package/package.json +2 -1
- package/dist/api/resources/accounts/types/UpdateEnvironmentRequestBodyEnvironmentType.d.ts +0 -9
- package/dist/api/resources/billing/client/requests/ListProductPricesRequest.d.ts +0 -53
- package/dist/api/resources/billing/types/CountBillingProductsRequestPriceUsageType.d.ts +0 -8
- package/dist/api/resources/billing/types/CountBillingProductsResponseParamsPriceUsageType.d.ts +0 -8
- package/dist/api/resources/billing/types/CreateBillingPriceRequestBodyBillingScheme.d.ts +0 -8
- package/dist/api/resources/billing/types/CreateBillingPriceRequestBodyTiersMode.d.ts +0 -8
- package/dist/api/resources/billing/types/CreateBillingPriceRequestBodyUsageType.d.ts +0 -8
- package/dist/api/resources/billing/types/CreateBillingSubscriptionRequestBodyTrialEndSetting.d.ts +0 -8
- package/dist/api/resources/billing/types/ListBillingProductsRequestPriceUsageType.d.ts +0 -8
- package/dist/api/resources/billing/types/ListBillingProductsResponseParamsPriceUsageType.d.ts +0 -8
- package/dist/api/resources/billing/types/ListProductPricesParams.d.ts +0 -27
- package/dist/api/resources/billing/types/ListProductPricesRequestPriceUsageType.d.ts +0 -8
- package/dist/api/resources/billing/types/ListProductPricesResponseParamsPriceUsageType.d.ts +0 -8
- package/dist/api/resources/billing/types/SearchBillingPricesRequestUsageType.d.ts +0 -8
- package/dist/api/resources/billing/types/SearchBillingPricesResponseParamsTiersMode.d.ts +0 -8
- package/dist/api/resources/billing/types/SearchBillingPricesResponseParamsUsageType.d.ts +0 -8
- package/dist/api/resources/companies/types/CountCompaniesForAdvancedFilterRequestSortOrderDirection.d.ts +0 -11
- package/dist/api/resources/companies/types/CountCompaniesForAdvancedFilterResponseParamsSortOrderDirection.d.ts +0 -11
- package/dist/api/resources/companies/types/CountEntityKeyDefinitionsRequestEntityType.d.ts +0 -8
- package/dist/api/resources/companies/types/CountEntityKeyDefinitionsResponseParamsEntityType.d.ts +0 -8
- package/dist/api/resources/companies/types/CountEntityTraitDefinitionsRequestEntityType.d.ts +0 -8
- package/dist/api/resources/companies/types/CountEntityTraitDefinitionsRequestTraitType.d.ts +0 -12
- package/dist/api/resources/companies/types/CountEntityTraitDefinitionsResponseParamsEntityType.d.ts +0 -8
- package/dist/api/resources/companies/types/CountEntityTraitDefinitionsResponseParamsTraitType.d.ts +0 -12
- package/dist/api/resources/companies/types/CreateEntityTraitDefinitionRequestBodyEntityType.d.ts +0 -8
- package/dist/api/resources/companies/types/CreateEntityTraitDefinitionRequestBodyTraitType.d.ts +0 -12
- package/dist/api/resources/companies/types/ListCompaniesForAdvancedFilterRequestSortOrderDirection.d.ts +0 -11
- package/dist/api/resources/companies/types/ListCompaniesForAdvancedFilterResponseParamsSortOrderDirection.d.ts +0 -11
- package/dist/api/resources/companies/types/ListEntityKeyDefinitionsRequestEntityType.d.ts +0 -8
- package/dist/api/resources/companies/types/ListEntityKeyDefinitionsResponseParamsEntityType.d.ts +0 -8
- package/dist/api/resources/companies/types/ListEntityTraitDefinitionsRequestEntityType.d.ts +0 -8
- package/dist/api/resources/companies/types/ListEntityTraitDefinitionsResponseParamsEntityType.d.ts +0 -8
- package/dist/api/resources/companies/types/ListEntityTraitDefinitionsResponseParamsTraitType.d.ts +0 -12
- package/dist/api/resources/companies/types/UpdateEntityTraitDefinitionRequestBodyTraitType.d.ts +0 -12
- package/dist/api/resources/components/types/CreateComponentRequestBodyEntityType.d.ts +0 -8
- package/dist/api/resources/credits/types/CountCreditBundlesRequestStatus.d.ts +0 -8
- package/dist/api/resources/credits/types/CountCreditBundlesResponseParamsStatus.d.ts +0 -8
- package/dist/api/resources/credits/types/CountCreditLedgerResponseParamsPeriod.d.ts +0 -10
- package/dist/api/resources/credits/types/CreateBillingCreditRequestBodyDefaultRolloverPolicy.d.ts +0 -9
- package/dist/api/resources/credits/types/CreateBillingPlanCreditGrantRequestBodyExpiryType.d.ts +0 -11
- package/dist/api/resources/credits/types/CreateBillingPlanCreditGrantRequestBodyExpiryUnit.d.ts +0 -8
- package/dist/api/resources/credits/types/CreateBillingPlanCreditGrantRequestBodyResetStart.d.ts +0 -8
- package/dist/api/resources/credits/types/CreateBillingPlanCreditGrantRequestBodyResetType.d.ts +0 -8
- package/dist/api/resources/credits/types/CreateCreditBundleRequestBodyExpiryType.d.ts +0 -11
- package/dist/api/resources/credits/types/CreateCreditBundleRequestBodyExpiryUnit.d.ts +0 -8
- package/dist/api/resources/credits/types/CreateCreditBundleRequestBodyStatus.d.ts +0 -8
- package/dist/api/resources/credits/types/GetEnrichedCreditLedgerRequestPeriod.d.ts +0 -10
- package/dist/api/resources/credits/types/GetEnrichedCreditLedgerResponseParamsPeriod.d.ts +0 -10
- package/dist/api/resources/credits/types/ListCompanyGrantsResponseParamsDir.d.ts +0 -8
- package/dist/api/resources/credits/types/ListCompanyGrantsResponseParamsOrder.d.ts +0 -10
- package/dist/api/resources/credits/types/ListCreditBundlesResponseParamsStatus.d.ts +0 -8
- package/dist/api/resources/credits/types/UpdateBillingCreditRequestBodyBurnStrategy.d.ts +0 -10
- package/dist/api/resources/credits/types/UpdateBillingCreditRequestBodyDefaultRolloverPolicy.d.ts +0 -9
- package/dist/api/resources/credits/types/UpdateCreditBundleDetailsRequestBodyExpiryType.d.ts +0 -11
- package/dist/api/resources/credits/types/UpdateCreditBundleDetailsRequestBodyExpiryUnit.d.ts +0 -8
- package/dist/api/resources/credits/types/UpdateCreditBundleDetailsRequestBodyStatus.d.ts +0 -8
- package/dist/api/resources/entitlements/types/CreateCompanyOverrideRequestBodyValueType.d.ts +0 -11
- package/dist/api/resources/entitlements/types/CreatePlanEntitlementRequestBodyValueType.d.ts +0 -11
- package/dist/api/resources/entitlements/types/UpdatePlanEntitlementRequestBodyPriceBehavior.d.ts +0 -11
- package/dist/api/resources/entitlements/types/UpdatePlanEntitlementRequestBodyValueType.d.ts +0 -11
- package/dist/api/resources/events/types/ListEventsResponseParamsEventTypesItem.d.ts +0 -9
- package/dist/api/resources/features/types/UpdateFeatureRequestBodyFeatureType.d.ts +0 -9
- package/dist/api/resources/features/types/UpdateFeatureRequestBodyLifecyclePhase.d.ts +0 -15
- package/dist/api/resources/plans/types/CountPlansRequestPlanType.d.ts +0 -11
- package/dist/api/resources/plans/types/CountPlansResponseParamsPlanType.d.ts +0 -11
- package/dist/api/resources/plans/types/ListPlansRequestPlanType.d.ts +0 -11
- package/dist/api/resources/plans/types/ListPlansResponseParamsPlanType.d.ts +0 -11
- package/dist/api/resources/webhooks/types/UpdateWebhookRequestBodyRequestTypesItem.d.ts +0 -39
- package/dist/api/types/CreateEntitlementReqCommonValueType.d.ts +0 -11
- package/dist/api/types/CreateEventRequestBodyEventType.d.ts +0 -12
- package/dist/api/types/CreditGrantDetailGrantReason.d.ts +0 -9
- package/dist/api/types/FeatureCompanyResponseDataAllocationType.d.ts +0 -13
- package/dist/api/types/FeatureCompanyResponseDataCreditGrantReason.d.ts +0 -12
- package/dist/api/types/FeatureCompanyUserResponseDataAllocationType.d.ts +0 -14
- package/dist/api/types/FeatureUsageResponseDataAllocationType.d.ts +0 -13
- package/dist/api/types/FeatureUsageResponseDataCreditGrantReason.d.ts +0 -12
- package/dist/api/types/PlanChangeResponseDataBasePlanAction.d.ts +0 -13
- package/dist/api/types/PlanChangeResponseDataSubscriptionChangeAction.d.ts +0 -15
- package/dist/api/types/UpdateEntitlementReqCommonValueType.d.ts +0 -11
- package/dist/api/types/UsageBasedEntitlementRequestBodyPriceBehavior.d.ts +0 -11
- package/dist/serialization/resources/accounts/types/CreateEnvironmentRequestBodyEnvironmentType.d.ts +0 -10
- package/dist/serialization/resources/accounts/types/UpdateEnvironmentRequestBodyEnvironmentType.d.ts +0 -10
- package/dist/serialization/resources/billing/types/CountBillingProductsRequestPriceUsageType.d.ts +0 -10
- package/dist/serialization/resources/billing/types/CountBillingProductsResponseParamsPriceUsageType.d.ts +0 -10
- package/dist/serialization/resources/billing/types/CreateBillingPriceRequestBodyBillingScheme.d.ts +0 -10
- package/dist/serialization/resources/billing/types/CreateBillingPriceRequestBodyTiersMode.d.ts +0 -10
- package/dist/serialization/resources/billing/types/CreateBillingPriceRequestBodyUsageType.d.ts +0 -10
- package/dist/serialization/resources/billing/types/CreateBillingSubscriptionRequestBodyTrialEndSetting.d.ts +0 -10
- package/dist/serialization/resources/billing/types/ListBillingProductsRequestPriceUsageType.d.ts +0 -10
- package/dist/serialization/resources/billing/types/ListBillingProductsResponseParamsPriceUsageType.d.ts +0 -10
- package/dist/serialization/resources/billing/types/ListProductPricesParams.d.ts +0 -23
- package/dist/serialization/resources/billing/types/ListProductPricesRequestPriceUsageType.d.ts +0 -10
- package/dist/serialization/resources/billing/types/ListProductPricesResponse.d.ts +0 -15
- package/dist/serialization/resources/billing/types/ListProductPricesResponseParamsPriceUsageType.d.ts +0 -10
- package/dist/serialization/resources/billing/types/SearchBillingPricesParams.d.ts +0 -25
- package/dist/serialization/resources/billing/types/SearchBillingPricesRequestTiersMode.d.ts +0 -10
- package/dist/serialization/resources/billing/types/SearchBillingPricesRequestUsageType.d.ts +0 -10
- package/dist/serialization/resources/billing/types/SearchBillingPricesResponseParamsTiersMode.d.ts +0 -10
- package/dist/serialization/resources/billing/types/SearchBillingPricesResponseParamsUsageType.d.ts +0 -10
- package/dist/serialization/resources/companies/types/CountCompaniesForAdvancedFilterRequestSortOrderDirection.d.ts +0 -10
- package/dist/serialization/resources/companies/types/CountCompaniesForAdvancedFilterResponseParamsSortOrderDirection.d.ts +0 -10
- package/dist/serialization/resources/companies/types/CountEntityKeyDefinitionsRequestEntityType.d.ts +0 -10
- package/dist/serialization/resources/companies/types/CountEntityKeyDefinitionsResponseParamsEntityType.d.ts +0 -10
- package/dist/serialization/resources/companies/types/CountEntityTraitDefinitionsRequestEntityType.d.ts +0 -10
- package/dist/serialization/resources/companies/types/CountEntityTraitDefinitionsRequestTraitType.d.ts +0 -10
- package/dist/serialization/resources/companies/types/CountEntityTraitDefinitionsResponseParamsEntityType.d.ts +0 -10
- package/dist/serialization/resources/companies/types/CountEntityTraitDefinitionsResponseParamsTraitType.d.ts +0 -10
- package/dist/serialization/resources/companies/types/CreateEntityTraitDefinitionRequestBodyEntityType.d.ts +0 -10
- package/dist/serialization/resources/companies/types/CreateEntityTraitDefinitionRequestBodyTraitType.d.ts +0 -10
- package/dist/serialization/resources/companies/types/ListCompaniesForAdvancedFilterRequestSortOrderDirection.d.ts +0 -10
- package/dist/serialization/resources/companies/types/ListCompaniesForAdvancedFilterResponseParamsSortOrderDirection.d.ts +0 -10
- package/dist/serialization/resources/companies/types/ListEntityKeyDefinitionsRequestEntityType.d.ts +0 -10
- package/dist/serialization/resources/companies/types/ListEntityKeyDefinitionsResponseParamsEntityType.d.ts +0 -10
- package/dist/serialization/resources/companies/types/ListEntityTraitDefinitionsRequestEntityType.d.ts +0 -10
- package/dist/serialization/resources/companies/types/ListEntityTraitDefinitionsRequestTraitType.d.ts +0 -10
- package/dist/serialization/resources/companies/types/ListEntityTraitDefinitionsResponseParamsEntityType.d.ts +0 -10
- package/dist/serialization/resources/companies/types/ListEntityTraitDefinitionsResponseParamsTraitType.d.ts +0 -10
- package/dist/serialization/resources/companies/types/UpdateEntityTraitDefinitionRequestBodyTraitType.d.ts +0 -10
- package/dist/serialization/resources/components/types/CreateComponentRequestBodyEntityType.d.ts +0 -10
- package/dist/serialization/resources/components/types/UpdateComponentRequestBodyEntityType.d.ts +0 -10
- package/dist/serialization/resources/components/types/UpdateComponentRequestBodyState.d.ts +0 -10
- package/dist/serialization/resources/credits/types/CountCreditBundlesRequestStatus.d.ts +0 -10
- package/dist/serialization/resources/credits/types/CountCreditBundlesResponseParamsStatus.d.ts +0 -10
- package/dist/serialization/resources/credits/types/CountCreditLedgerRequestPeriod.d.ts +0 -10
- package/dist/serialization/resources/credits/types/CountCreditLedgerResponseParamsPeriod.d.ts +0 -10
- package/dist/serialization/resources/credits/types/CreateBillingCreditRequestBodyBurnStrategy.d.ts +0 -10
- package/dist/serialization/resources/credits/types/CreateBillingCreditRequestBodyDefaultRolloverPolicy.d.ts +0 -10
- package/dist/serialization/resources/credits/types/CreateBillingPlanCreditGrantRequestBodyExpiryType.d.ts +0 -10
- package/dist/serialization/resources/credits/types/CreateBillingPlanCreditGrantRequestBodyExpiryUnit.d.ts +0 -10
- package/dist/serialization/resources/credits/types/CreateBillingPlanCreditGrantRequestBodyResetCadence.d.ts +0 -10
- package/dist/serialization/resources/credits/types/CreateBillingPlanCreditGrantRequestBodyResetStart.d.ts +0 -10
- package/dist/serialization/resources/credits/types/CreateBillingPlanCreditGrantRequestBodyResetType.d.ts +0 -10
- package/dist/serialization/resources/credits/types/CreateCompanyCreditGrantExpiryType.d.ts +0 -10
- package/dist/serialization/resources/credits/types/CreateCompanyCreditGrantExpiryUnit.d.ts +0 -10
- package/dist/serialization/resources/credits/types/CreateCreditBundleRequestBodyExpiryType.d.ts +0 -10
- package/dist/serialization/resources/credits/types/CreateCreditBundleRequestBodyExpiryUnit.d.ts +0 -10
- package/dist/serialization/resources/credits/types/CreateCreditBundleRequestBodyStatus.d.ts +0 -10
- package/dist/serialization/resources/credits/types/GetEnrichedCreditLedgerRequestPeriod.d.ts +0 -10
- package/dist/serialization/resources/credits/types/GetEnrichedCreditLedgerResponseParamsPeriod.d.ts +0 -10
- package/dist/serialization/resources/credits/types/ListCompanyGrantsRequestDir.d.ts +0 -10
- package/dist/serialization/resources/credits/types/ListCompanyGrantsRequestOrder.d.ts +0 -10
- package/dist/serialization/resources/credits/types/ListCompanyGrantsResponseParamsDir.d.ts +0 -10
- package/dist/serialization/resources/credits/types/ListCompanyGrantsResponseParamsOrder.d.ts +0 -10
- package/dist/serialization/resources/credits/types/ListCreditBundlesRequestStatus.d.ts +0 -10
- package/dist/serialization/resources/credits/types/ListCreditBundlesResponseParamsStatus.d.ts +0 -10
- package/dist/serialization/resources/credits/types/UpdateBillingCreditRequestBodyBurnStrategy.d.ts +0 -10
- package/dist/serialization/resources/credits/types/UpdateBillingCreditRequestBodyDefaultRolloverPolicy.d.ts +0 -10
- package/dist/serialization/resources/credits/types/UpdateCreditBundleDetailsRequestBodyExpiryType.d.ts +0 -10
- package/dist/serialization/resources/credits/types/UpdateCreditBundleDetailsRequestBodyExpiryUnit.d.ts +0 -10
- package/dist/serialization/resources/credits/types/UpdateCreditBundleDetailsRequestBodyStatus.d.ts +0 -10
- package/dist/serialization/resources/credits/types/ZeroOutGrantRequestBodyReason.d.ts +0 -10
- package/dist/serialization/resources/entitlements/types/CreateCompanyOverrideRequestBodyValueType.d.ts +0 -10
- package/dist/serialization/resources/entitlements/types/CreatePlanEntitlementRequestBodyPriceBehavior.d.ts +0 -10
- package/dist/serialization/resources/entitlements/types/CreatePlanEntitlementRequestBodyValueType.d.ts +0 -10
- package/dist/serialization/resources/entitlements/types/UpdateCompanyOverrideRequestBodyValueType.d.ts +0 -10
- package/dist/serialization/resources/entitlements/types/UpdatePlanEntitlementRequestBodyPriceBehavior.d.ts +0 -10
- package/dist/serialization/resources/entitlements/types/UpdatePlanEntitlementRequestBodyValueType.d.ts +0 -10
- package/dist/serialization/resources/events/types/ListEventsRequestEventTypesItem.d.ts +0 -10
- package/dist/serialization/resources/events/types/ListEventsResponseParamsEventTypesItem.d.ts +0 -10
- package/dist/serialization/resources/features/types/CreateFeatureRequestBodyFeatureType.d.ts +0 -10
- package/dist/serialization/resources/features/types/CreateFeatureRequestBodyLifecyclePhase.d.ts +0 -10
- package/dist/serialization/resources/features/types/UpdateFeatureRequestBodyFeatureType.d.ts +0 -10
- package/dist/serialization/resources/features/types/UpdateFeatureRequestBodyLifecyclePhase.d.ts +0 -10
- package/dist/serialization/resources/plans/types/CountPlansRequestPlanType.d.ts +0 -10
- package/dist/serialization/resources/plans/types/CountPlansResponseParamsPlanType.d.ts +0 -10
- package/dist/serialization/resources/plans/types/CreatePlanRequestBodyPlanType.d.ts +0 -10
- package/dist/serialization/resources/plans/types/ListPlansRequestPlanType.d.ts +0 -10
- package/dist/serialization/resources/plans/types/ListPlansResponseParamsPlanType.d.ts +0 -10
- package/dist/serialization/resources/plans/types/UpsertBillingProductRequestBodyChargeType.d.ts +0 -10
- package/dist/serialization/resources/webhooks/types/CreateWebhookRequestBodyRequestTypesItem.d.ts +0 -10
- package/dist/serialization/resources/webhooks/types/UpdateWebhookRequestBodyRequestTypesItem.d.ts +0 -10
- package/dist/serialization/resources/webhooks/types/UpdateWebhookRequestBodyStatus.d.ts +0 -10
- package/dist/serialization/types/CreateEntitlementReqCommonValueType.d.ts +0 -10
- package/dist/serialization/types/CreateEventRequestBodyEventType.d.ts +0 -10
- package/dist/serialization/types/CreditGrantDetailGrantReason.d.ts +0 -10
- package/dist/serialization/types/FeatureCompanyResponseDataAllocationType.d.ts +0 -10
- package/dist/serialization/types/FeatureCompanyResponseDataCreditGrantReason.d.ts +0 -10
- package/dist/serialization/types/FeatureCompanyUserResponseDataAllocationType.d.ts +0 -10
- package/dist/serialization/types/FeatureUsageResponseDataAllocationType.d.ts +0 -10
- package/dist/serialization/types/FeatureUsageResponseDataCreditGrantReason.d.ts +0 -10
- package/dist/serialization/types/PlanChangeResponseDataAction.d.ts +0 -10
- package/dist/serialization/types/PlanChangeResponseDataActorType.d.ts +0 -10
- package/dist/serialization/types/UpdateEntitlementReqCommonValueType.d.ts +0 -10
- package/dist/serialization/types/UsageBasedEntitlementRequestBodyPriceBehavior.d.ts +0 -10
|
@@ -5,7 +5,8 @@ import * as serializers from "../index";
|
|
|
5
5
|
import * as Schematic from "../../api/index";
|
|
6
6
|
import * as core from "../../core";
|
|
7
7
|
import { CreatePriceTierRequestBody } from "./CreatePriceTierRequestBody";
|
|
8
|
-
import {
|
|
8
|
+
import { EntitlementPriceBehavior } from "./EntitlementPriceBehavior";
|
|
9
|
+
import { BillingTiersMode } from "./BillingTiersMode";
|
|
9
10
|
export declare const UsageBasedEntitlementRequestBody: core.serialization.ObjectSchema<serializers.UsageBasedEntitlementRequestBody.Raw, Schematic.UsageBasedEntitlementRequestBody>;
|
|
10
11
|
export declare namespace UsageBasedEntitlementRequestBody {
|
|
11
12
|
interface Raw {
|
|
@@ -17,10 +18,10 @@ export declare namespace UsageBasedEntitlementRequestBody {
|
|
|
17
18
|
monthly_unit_price?: number | null;
|
|
18
19
|
monthly_unit_price_decimal?: string | null;
|
|
19
20
|
overage_billing_product_id?: string | null;
|
|
20
|
-
price_behavior?:
|
|
21
|
+
price_behavior?: EntitlementPriceBehavior.Raw | null;
|
|
21
22
|
price_tiers?: CreatePriceTierRequestBody.Raw[] | null;
|
|
22
23
|
soft_limit?: number | null;
|
|
23
|
-
tier_mode?:
|
|
24
|
+
tier_mode?: BillingTiersMode.Raw | null;
|
|
24
25
|
yearly_metered_price_id?: string | null;
|
|
25
26
|
yearly_price_tiers?: CreatePriceTierRequestBody.Raw[] | null;
|
|
26
27
|
yearly_unit_price?: number | null;
|
|
@@ -5,6 +5,8 @@ import * as serializers from "../index";
|
|
|
5
5
|
import * as Schematic from "../../api/index";
|
|
6
6
|
import * as core from "../../core";
|
|
7
7
|
import { BillingPriceView } from "./BillingPriceView";
|
|
8
|
+
import { EntitlementPriceBehavior } from "./EntitlementPriceBehavior";
|
|
9
|
+
import { EntitlementValueType } from "./EntitlementValueType";
|
|
8
10
|
export declare const UsageBasedEntitlementResponseData: core.serialization.ObjectSchema<serializers.UsageBasedEntitlementResponseData.Raw, Schematic.UsageBasedEntitlementResponseData>;
|
|
9
11
|
export declare namespace UsageBasedEntitlementResponseData {
|
|
10
12
|
interface Raw {
|
|
@@ -15,10 +17,10 @@ export declare namespace UsageBasedEntitlementResponseData {
|
|
|
15
17
|
metric_period?: string | null;
|
|
16
18
|
metric_period_month_reset?: string | null;
|
|
17
19
|
monthly_usage_based_price?: BillingPriceView.Raw | null;
|
|
18
|
-
price_behavior?:
|
|
20
|
+
price_behavior?: EntitlementPriceBehavior.Raw | null;
|
|
19
21
|
value_bool?: boolean | null;
|
|
20
22
|
value_numeric?: number | null;
|
|
21
|
-
value_type:
|
|
23
|
+
value_type: EntitlementValueType.Raw;
|
|
22
24
|
yearly_usage_based_price?: BillingPriceView.Raw | null;
|
|
23
25
|
}
|
|
24
26
|
}
|
|
@@ -4,6 +4,8 @@
|
|
|
4
4
|
import * as serializers from "../index";
|
|
5
5
|
import * as Schematic from "../../api/index";
|
|
6
6
|
import * as core from "../../core";
|
|
7
|
+
import { WebhookRequestType } from "./WebhookRequestType";
|
|
8
|
+
import { WebhookEventStatus } from "./WebhookEventStatus";
|
|
7
9
|
import { WebhookResponseData } from "./WebhookResponseData";
|
|
8
10
|
export declare const WebhookEventDetailResponseData: core.serialization.ObjectSchema<serializers.WebhookEventDetailResponseData.Raw, Schematic.WebhookEventDetailResponseData>;
|
|
9
11
|
export declare namespace WebhookEventDetailResponseData {
|
|
@@ -11,10 +13,10 @@ export declare namespace WebhookEventDetailResponseData {
|
|
|
11
13
|
created_at: string;
|
|
12
14
|
id: string;
|
|
13
15
|
payload?: string | null;
|
|
14
|
-
request_type:
|
|
16
|
+
request_type: WebhookRequestType.Raw;
|
|
15
17
|
response_code?: number | null;
|
|
16
18
|
sent_at?: string | null;
|
|
17
|
-
status:
|
|
19
|
+
status: WebhookEventStatus.Raw;
|
|
18
20
|
updated_at: string;
|
|
19
21
|
webhook?: WebhookResponseData.Raw | null;
|
|
20
22
|
webhook_id: string;
|
|
@@ -4,16 +4,18 @@
|
|
|
4
4
|
import * as serializers from "../index";
|
|
5
5
|
import * as Schematic from "../../api/index";
|
|
6
6
|
import * as core from "../../core";
|
|
7
|
+
import { WebhookRequestType } from "./WebhookRequestType";
|
|
8
|
+
import { WebhookEventStatus } from "./WebhookEventStatus";
|
|
7
9
|
export declare const WebhookEventResponseData: core.serialization.ObjectSchema<serializers.WebhookEventResponseData.Raw, Schematic.WebhookEventResponseData>;
|
|
8
10
|
export declare namespace WebhookEventResponseData {
|
|
9
11
|
interface Raw {
|
|
10
12
|
created_at: string;
|
|
11
13
|
id: string;
|
|
12
14
|
payload?: string | null;
|
|
13
|
-
request_type:
|
|
15
|
+
request_type: WebhookRequestType.Raw;
|
|
14
16
|
response_code?: number | null;
|
|
15
17
|
sent_at?: string | null;
|
|
16
|
-
status:
|
|
18
|
+
status: WebhookEventStatus.Raw;
|
|
17
19
|
updated_at: string;
|
|
18
20
|
webhook_id: string;
|
|
19
21
|
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../index";
|
|
5
|
+
import * as Schematic from "../../api/index";
|
|
6
|
+
import * as core from "../../core";
|
|
7
|
+
export declare const WebhookEventStatus: core.serialization.Schema<serializers.WebhookEventStatus.Raw, Schematic.WebhookEventStatus>;
|
|
8
|
+
export declare namespace WebhookEventStatus {
|
|
9
|
+
type Raw = "failure" | "pending" | "success";
|
|
10
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../index";
|
|
5
|
+
import * as Schematic from "../../api/index";
|
|
6
|
+
import * as core from "../../core";
|
|
7
|
+
export declare const WebhookRequestType: core.serialization.Schema<serializers.WebhookRequestType.Raw, Schematic.WebhookRequestType>;
|
|
8
|
+
export declare namespace WebhookRequestType {
|
|
9
|
+
type Raw = "subscription.trial.ended" | "company.created" | "company.deleted" | "company.override.created" | "company.override.deleted" | "company.override.expired" | "company.override.updated" | "company.plan_changed" | "company.updated" | "credit.limit.reached" | "credit.limit.warning" | "entitlement.limit.reached" | "entitlement.limit.warning" | "entitlement.soft_limit.reached" | "entitlement.soft_limit.warning" | "entitlement.tier_limit.reached" | "entitlement.tier_limit.warning" | "feature.created" | "feature.deleted" | "feature.updated" | "flag.created" | "flag.deleted" | "flag_rules.updated" | "flag.updated" | "plan.created" | "plan.deleted" | "plan.entitlement.created" | "plan.entitlement.deleted" | "plan.entitlement.updated" | "plan.updated" | "rule.deleted" | "test.send" | "user.created" | "user.deleted" | "user.updated";
|
|
10
|
+
}
|
|
@@ -6,6 +6,8 @@ import * as Schematic from "../../api/index";
|
|
|
6
6
|
import * as core from "../../core";
|
|
7
7
|
import { CreditTriggerConfig } from "./CreditTriggerConfig";
|
|
8
8
|
import { EntitlementTriggerConfig } from "./EntitlementTriggerConfig";
|
|
9
|
+
import { WebhookRequestType } from "./WebhookRequestType";
|
|
10
|
+
import { WebhookStatus } from "./WebhookStatus";
|
|
9
11
|
export declare const WebhookResponseData: core.serialization.ObjectSchema<serializers.WebhookResponseData.Raw, Schematic.WebhookResponseData>;
|
|
10
12
|
export declare namespace WebhookResponseData {
|
|
11
13
|
interface Raw {
|
|
@@ -14,9 +16,9 @@ export declare namespace WebhookResponseData {
|
|
|
14
16
|
entitlement_trigger_configs?: EntitlementTriggerConfig.Raw[] | null;
|
|
15
17
|
id: string;
|
|
16
18
|
name: string;
|
|
17
|
-
request_types:
|
|
19
|
+
request_types: WebhookRequestType.Raw[];
|
|
18
20
|
secret: string;
|
|
19
|
-
status:
|
|
21
|
+
status: WebhookStatus.Raw;
|
|
20
22
|
updated_at: string;
|
|
21
23
|
url: string;
|
|
22
24
|
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../index";
|
|
5
|
+
import * as Schematic from "../../api/index";
|
|
6
|
+
import * as core from "../../core";
|
|
7
|
+
export declare const WebhookStatus: core.serialization.Schema<serializers.WebhookStatus.Raw, Schematic.WebhookStatus>;
|
|
8
|
+
export declare namespace WebhookStatus {
|
|
9
|
+
type Raw = "active" | "inactive";
|
|
10
|
+
}
|
|
@@ -3,35 +3,53 @@ export * from "./ApiKeyCreateResponseData";
|
|
|
3
3
|
export * from "./ApiKeyRequestListResponseData";
|
|
4
4
|
export * from "./ApiKeyRequestResponseData";
|
|
5
5
|
export * from "./ApiKeyResponseData";
|
|
6
|
+
export * from "./ApiKeyScope";
|
|
6
7
|
export * from "./BillingCouponResponseData";
|
|
7
8
|
export * from "./BillingCreditBundleResponseData";
|
|
9
|
+
export * from "./BillingCreditBundleStatus";
|
|
10
|
+
export * from "./BillingCreditBundleType";
|
|
8
11
|
export * from "./BillingCreditBundleView";
|
|
12
|
+
export * from "./BillingCreditBurnStrategy";
|
|
13
|
+
export * from "./BillingCreditExpiryType";
|
|
14
|
+
export * from "./BillingCreditExpiryUnit";
|
|
15
|
+
export * from "./BillingCreditGrantReason";
|
|
9
16
|
export * from "./BillingCreditGrantResponseData";
|
|
17
|
+
export * from "./BillingCreditGrantZeroedOutReason";
|
|
10
18
|
export * from "./BillingCreditLedgerResponseData";
|
|
11
19
|
export * from "./BillingCreditResponseData";
|
|
20
|
+
export * from "./BillingCreditRolloverPolicy";
|
|
12
21
|
export * from "./BillingCustomerResponseData";
|
|
13
22
|
export * from "./BillingCustomerSubscription";
|
|
14
23
|
export * from "./BillingCustomerWithSubscriptionsResponseData";
|
|
15
24
|
export * from "./BillingMeterResponseData";
|
|
25
|
+
export * from "./BillingPlanCreditGrantResetCadence";
|
|
26
|
+
export * from "./BillingPlanCreditGrantResetStart";
|
|
27
|
+
export * from "./BillingPlanCreditGrantResetType";
|
|
16
28
|
export * from "./BillingPlanCreditGrantResponseData";
|
|
17
29
|
export * from "./BillingPriceResponseData";
|
|
30
|
+
export * from "./BillingPriceScheme";
|
|
31
|
+
export * from "./BillingPriceUsageType";
|
|
18
32
|
export * from "./BillingPriceView";
|
|
19
33
|
export * from "./BillingProductDetailResponseData";
|
|
20
34
|
export * from "./BillingProductForSubscriptionResponseData";
|
|
21
35
|
export * from "./BillingProductPlanResponseData";
|
|
36
|
+
export * from "./BillingProductPriceInterval";
|
|
22
37
|
export * from "./BillingProductPriceResponseData";
|
|
23
38
|
export * from "./BillingProductPriceTierResponseData";
|
|
24
|
-
export * from "./BillingProductPricingUsageType";
|
|
25
39
|
export * from "./BillingProductPricing";
|
|
26
40
|
export * from "./BillingProductResponseData";
|
|
27
41
|
export * from "./BillingSubscriptionDiscount";
|
|
28
42
|
export * from "./BillingSubscriptionDiscountView";
|
|
29
43
|
export * from "./BillingSubscriptionResponseData";
|
|
44
|
+
export * from "./BillingSubscriptionTrialEndSetting";
|
|
30
45
|
export * from "./BillingSubscriptionView";
|
|
46
|
+
export * from "./BillingTiersMode";
|
|
31
47
|
export * from "./ChangeSubscriptionInternalRequestBody";
|
|
32
48
|
export * from "./ChangeSubscriptionRequestBody";
|
|
49
|
+
export * from "./ChargeType";
|
|
33
50
|
export * from "./CheckFlagRequestBody";
|
|
34
51
|
export * from "./CheckFlagResponseData";
|
|
52
|
+
export * from "./CheckFlagsBulkResponseData";
|
|
35
53
|
export * from "./CheckFlagsResponseData";
|
|
36
54
|
export * from "./CheckoutDataResponseData";
|
|
37
55
|
export * from "./CheckoutSettingsResponseData";
|
|
@@ -45,6 +63,7 @@ export * from "./CompanyMembershipResponseData";
|
|
|
45
63
|
export * from "./CompanyOverrideNoteResponseData";
|
|
46
64
|
export * from "./CompanyOverrideResponseData";
|
|
47
65
|
export * from "./CompanyPlanDetailResponseData";
|
|
66
|
+
export * from "./CompanyPlanInvalidReason";
|
|
48
67
|
export * from "./CompanyPlanWithBillingSubView";
|
|
49
68
|
export * from "./CompanyResponseData";
|
|
50
69
|
export * from "./CompanySubscriptionResponseData";
|
|
@@ -53,9 +72,17 @@ export * from "./CompatiblePlans";
|
|
|
53
72
|
export * from "./CompatiblePlansResponseData";
|
|
54
73
|
export * from "./ComponentCapabilities";
|
|
55
74
|
export * from "./ComponentCheckoutSettings";
|
|
75
|
+
export * from "./ComponentDisplaySettings";
|
|
76
|
+
export * from "./ComponentEntityType";
|
|
56
77
|
export * from "./ComponentHydrateResponseData";
|
|
57
78
|
export * from "./ComponentPreviewResponseData";
|
|
58
79
|
export * from "./ComponentResponseData";
|
|
80
|
+
export * from "./ComponentSettingsResponseData";
|
|
81
|
+
export * from "./ComponentState";
|
|
82
|
+
export * from "./ConditionConditionType";
|
|
83
|
+
export * from "./ConditionMetricPeriod";
|
|
84
|
+
export * from "./ConditionMetricPeriodMonthReset";
|
|
85
|
+
export * from "./ConditionOperator";
|
|
59
86
|
export * from "./Condition";
|
|
60
87
|
export * from "./ConditionGroup";
|
|
61
88
|
export * from "./CountResponse";
|
|
@@ -63,14 +90,12 @@ export * from "./CouponRequestBody";
|
|
|
63
90
|
export * from "./CreateBillingPriceTierRequestBody";
|
|
64
91
|
export * from "./CreateEntitlementReqCommonMetricPeriod";
|
|
65
92
|
export * from "./CreateEntitlementReqCommonMetricPeriodMonthReset";
|
|
66
|
-
export * from "./CreateEntitlementReqCommonValueType";
|
|
67
93
|
export * from "./CreateEntitlementReqCommon";
|
|
68
94
|
export * from "./EventBodyTrack";
|
|
69
95
|
export * from "./EventBodyFlagCheck";
|
|
70
96
|
export * from "./EventBodyIdentifyCompany";
|
|
71
97
|
export * from "./EventBodyIdentify";
|
|
72
98
|
export * from "./EventBody";
|
|
73
|
-
export * from "./CreateEventRequestBodyEventType";
|
|
74
99
|
export * from "./CreateEventRequestBody";
|
|
75
100
|
export * from "./CreateFlagRequestBody";
|
|
76
101
|
export * from "./CreateOrUpdateConditionGroupRequestBody";
|
|
@@ -83,11 +108,14 @@ export * from "./CreateOrUpdateFlagRequestBody";
|
|
|
83
108
|
export * from "./CreateOrUpdateRuleRequestBodyRuleType";
|
|
84
109
|
export * from "./CreateOrUpdateRuleRequestBody";
|
|
85
110
|
export * from "./CreatePriceTierRequestBody";
|
|
111
|
+
export * from "./CreditAutoTopupAmountType";
|
|
86
112
|
export * from "./CreditBundlePurchaseResponseData";
|
|
87
113
|
export * from "./CreditCompanyGrantView";
|
|
88
|
-
export * from "./CreditGrantDetailGrantReason";
|
|
89
114
|
export * from "./CreditGrantDetail";
|
|
115
|
+
export * from "./CreditGrantExpiryRequestBody";
|
|
116
|
+
export * from "./CreditGrantSortOrder";
|
|
90
117
|
export * from "./CreditLedgerEnrichedEntryResponseData";
|
|
118
|
+
export * from "./CreditLedgerPeriod";
|
|
91
119
|
export * from "./CreditTriggerConfig";
|
|
92
120
|
export * from "./CreditUsage";
|
|
93
121
|
export * from "./CreditUsageResponseData";
|
|
@@ -97,10 +125,17 @@ export * from "./CrmLineItemResponseData";
|
|
|
97
125
|
export * from "./CrmProductResponseData";
|
|
98
126
|
export * from "./CustomPlanConfig";
|
|
99
127
|
export * from "./CustomPlanViewConfigResponseData";
|
|
128
|
+
export * from "./DataExportOutputFileType";
|
|
100
129
|
export * from "./DataExportResponseData";
|
|
130
|
+
export * from "./DataExportStatus";
|
|
131
|
+
export * from "./DataExportType";
|
|
101
132
|
export * from "./Decimal";
|
|
102
133
|
export * from "./DeleteResponse";
|
|
134
|
+
export * from "./DuplicatePlanEntitlementsResponseResponseData";
|
|
135
|
+
export * from "./EntitlementPriceBehavior";
|
|
103
136
|
export * from "./EntitlementTriggerConfig";
|
|
137
|
+
export * from "./EntitlementType";
|
|
138
|
+
export * from "./EntitlementValueType";
|
|
104
139
|
export * from "./EntitlementsInPlan";
|
|
105
140
|
export * from "./EntityKeyDefinitionResponseData";
|
|
106
141
|
export * from "./EntityKeyDetailResponseData";
|
|
@@ -109,26 +144,28 @@ export * from "./EntityTraitDefinitionResponseData";
|
|
|
109
144
|
export * from "./EntityTraitDetailResponseData";
|
|
110
145
|
export * from "./EntityTraitResponseData";
|
|
111
146
|
export * from "./EntityTraitValue";
|
|
147
|
+
export * from "./EntityType";
|
|
112
148
|
export * from "./EnvironmentDetailResponseData";
|
|
113
149
|
export * from "./EnvironmentResponseData";
|
|
150
|
+
export * from "./EnvironmentType";
|
|
114
151
|
export * from "./EventDetailResponseData";
|
|
115
152
|
export * from "./EventResponseData";
|
|
153
|
+
export * from "./EventStatus";
|
|
116
154
|
export * from "./EventSummaryResponseData";
|
|
117
|
-
export * from "./
|
|
118
|
-
export * from "./FeatureCompanyResponseDataCreditGrantReason";
|
|
155
|
+
export * from "./EventType";
|
|
119
156
|
export * from "./FeatureCompanyResponseData";
|
|
120
|
-
export * from "./FeatureCompanyUserResponseDataAllocationType";
|
|
121
157
|
export * from "./FeatureCompanyUserResponseData";
|
|
122
158
|
export * from "./FeatureDetailResponseData";
|
|
123
159
|
export * from "./FeatureLedgerResponseData";
|
|
160
|
+
export * from "./FeatureLifecyclePhase";
|
|
124
161
|
export * from "./FeatureResponseData";
|
|
162
|
+
export * from "./FeatureType";
|
|
125
163
|
export * from "./FeatureUsageDataResponseData";
|
|
126
164
|
export * from "./FeatureUsageDetailResponseData";
|
|
127
|
-
export * from "./FeatureUsageResponseDataAllocationType";
|
|
128
|
-
export * from "./FeatureUsageResponseDataCreditGrantReason";
|
|
129
165
|
export * from "./FeatureUsageResponseData";
|
|
130
166
|
export * from "./FlagDetailResponseData";
|
|
131
167
|
export * from "./FlagResponseData";
|
|
168
|
+
export * from "./FlagType";
|
|
132
169
|
export * from "./GenericPreviewObject";
|
|
133
170
|
export * from "./InvoiceRequestBody";
|
|
134
171
|
export * from "./InvoiceResponseData";
|
|
@@ -141,11 +178,12 @@ export * from "./MeterRequestBody";
|
|
|
141
178
|
export * from "./OrderedPlansInGroup";
|
|
142
179
|
export * from "./PaymentMethodRequestBody";
|
|
143
180
|
export * from "./PaymentMethodResponseData";
|
|
144
|
-
export * from "./
|
|
145
|
-
export * from "./
|
|
146
|
-
export * from "./
|
|
147
|
-
export * from "./PlanChangeResponseDataSubscriptionChangeAction";
|
|
181
|
+
export * from "./PlanChangeAction";
|
|
182
|
+
export * from "./PlanChangeActorType";
|
|
183
|
+
export * from "./PlanChangeBasePlanAction";
|
|
148
184
|
export * from "./PlanChangeResponseData";
|
|
185
|
+
export * from "./PlanChangeSubscriptionAction";
|
|
186
|
+
export * from "./PlanControlledByType";
|
|
149
187
|
export * from "./PlanCreditGrantView";
|
|
150
188
|
export * from "./PlanDetailResponseData";
|
|
151
189
|
export * from "./PlanEntitlementResponseData";
|
|
@@ -160,14 +198,17 @@ export * from "./PlanResponseData";
|
|
|
160
198
|
export * from "./PlanSelection";
|
|
161
199
|
export * from "./PlanSnapshotView";
|
|
162
200
|
export * from "./PlanTraitResponseData";
|
|
201
|
+
export * from "./PlanType";
|
|
163
202
|
export * from "./PreviewObject";
|
|
164
203
|
export * from "./PreviewObjectResponseData";
|
|
165
204
|
export * from "./PreviewSubscriptionChangeResponseData";
|
|
166
205
|
export * from "./PreviewSubscriptionFinanceResponseData";
|
|
167
206
|
export * from "./PreviewSubscriptionUpcomingInvoiceLineItems";
|
|
207
|
+
export * from "./ProrationBehavior";
|
|
168
208
|
export * from "./QuickstartResp";
|
|
169
209
|
export * from "./RawEventBatchResponseData";
|
|
170
210
|
export * from "./RawEventResponseData";
|
|
211
|
+
export * from "./RuleRuleType";
|
|
171
212
|
export * from "./Rule";
|
|
172
213
|
export * from "./RuleConditionDetailResponseData";
|
|
173
214
|
export * from "./RuleConditionGroupDetailResponseData";
|
|
@@ -176,16 +217,46 @@ export * from "./RuleConditionResponseData";
|
|
|
176
217
|
export * from "./RuleDetailResponseData";
|
|
177
218
|
export * from "./RuleResponseData";
|
|
178
219
|
export * from "./RulesDetailResponseData";
|
|
220
|
+
export * from "./RulesEngineSchemaVersion";
|
|
221
|
+
export * from "./RulesengineCheckFlagResultFeatureUsagePeriod";
|
|
222
|
+
export * from "./RulesengineCheckFlagResultRuleType";
|
|
223
|
+
export * from "./RulesengineCheckFlagResult";
|
|
224
|
+
export * from "./RulesengineCompany";
|
|
225
|
+
export * from "./RulesengineCompanyMetricMonthReset";
|
|
226
|
+
export * from "./RulesengineCompanyMetricPeriod";
|
|
227
|
+
export * from "./RulesengineCompanyMetric";
|
|
228
|
+
export * from "./RulesengineConditionConditionType";
|
|
229
|
+
export * from "./RulesengineConditionMetricPeriod";
|
|
230
|
+
export * from "./RulesengineConditionMetricPeriodMonthReset";
|
|
231
|
+
export * from "./RulesengineConditionOperator";
|
|
232
|
+
export * from "./RulesengineCondition";
|
|
233
|
+
export * from "./RulesengineConditionGroup";
|
|
234
|
+
export * from "./RulesengineEntityType";
|
|
235
|
+
export * from "./RulesengineFlag";
|
|
236
|
+
export * from "./RulesengineRuleRuleType";
|
|
237
|
+
export * from "./RulesengineRule";
|
|
238
|
+
export * from "./RulesengineSubscription";
|
|
239
|
+
export * from "./RulesengineTrait";
|
|
240
|
+
export * from "./RulesengineTraitDefinitionComparableType";
|
|
241
|
+
export * from "./RulesengineTraitDefinition";
|
|
242
|
+
export * from "./RulesengineUser";
|
|
179
243
|
export * from "./SegmentStatusResp";
|
|
244
|
+
export * from "./SkippedEntitlementErrorResponseData";
|
|
245
|
+
export * from "./SkippedEntitlementResponseData";
|
|
246
|
+
export * from "./SortDirection";
|
|
180
247
|
export * from "./StripeEmbedInfo";
|
|
248
|
+
export * from "./SubscriptionStatus";
|
|
181
249
|
export * from "./SubscriptionTraitUpdate";
|
|
250
|
+
export * from "./SubscriptionType";
|
|
251
|
+
export * from "./TemporaryAccessTokenResourceType";
|
|
182
252
|
export * from "./TemporaryAccessTokenResponseData";
|
|
253
|
+
export * from "./TraitDefinitionComparableType";
|
|
183
254
|
export * from "./TraitDefinition";
|
|
255
|
+
export * from "./TraitType";
|
|
184
256
|
export * from "./UpdateAddOnRequestBody";
|
|
185
257
|
export * from "./UpdateCreditBundleRequestBody";
|
|
186
258
|
export * from "./UpdateEntitlementReqCommonMetricPeriod";
|
|
187
259
|
export * from "./UpdateEntitlementReqCommonMetricPeriodMonthReset";
|
|
188
|
-
export * from "./UpdateEntitlementReqCommonValueType";
|
|
189
260
|
export * from "./UpdateEntitlementReqCommon";
|
|
190
261
|
export * from "./UpdatePayInAdvanceRequestBody";
|
|
191
262
|
export * from "./UpdatePlanTraitTraitRequestBody";
|
|
@@ -194,11 +265,13 @@ export * from "./UpsertCompanyRequestBody";
|
|
|
194
265
|
export * from "./UpsertTraitRequestBody";
|
|
195
266
|
export * from "./UpsertUserRequestBody";
|
|
196
267
|
export * from "./UpsertUserSubRequestBody";
|
|
197
|
-
export * from "./UsageBasedEntitlementRequestBodyPriceBehavior";
|
|
198
268
|
export * from "./UsageBasedEntitlementRequestBody";
|
|
199
269
|
export * from "./UsageBasedEntitlementResponseData";
|
|
200
270
|
export * from "./UserDetailResponseData";
|
|
201
271
|
export * from "./UserResponseData";
|
|
202
272
|
export * from "./WebhookEventDetailResponseData";
|
|
203
273
|
export * from "./WebhookEventResponseData";
|
|
274
|
+
export * from "./WebhookEventStatus";
|
|
275
|
+
export * from "./WebhookRequestType";
|
|
204
276
|
export * from "./WebhookResponseData";
|
|
277
|
+
export * from "./WebhookStatus";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@schematichq/schematic-typescript-node",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.7",
|
|
4
4
|
"private": false,
|
|
5
5
|
"repository": "https://github.com/schematichq/schematic-node",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -44,6 +44,7 @@
|
|
|
44
44
|
"timers": false
|
|
45
45
|
},
|
|
46
46
|
"packageManager": "yarn@1.22.22",
|
|
47
|
+
"license": "MIT",
|
|
47
48
|
"files": [
|
|
48
49
|
"dist/**/*.js",
|
|
49
50
|
"dist/**/*.d.ts",
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
-
*/
|
|
4
|
-
export type UpdateEnvironmentRequestBodyEnvironmentType = "development" | "staging" | "production";
|
|
5
|
-
export declare const UpdateEnvironmentRequestBodyEnvironmentType: {
|
|
6
|
-
readonly Development: "development";
|
|
7
|
-
readonly Staging: "staging";
|
|
8
|
-
readonly Production: "production";
|
|
9
|
-
};
|
|
@@ -1,53 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
-
*/
|
|
4
|
-
import * as Schematic from "../../../../index";
|
|
5
|
-
/**
|
|
6
|
-
* @example
|
|
7
|
-
* {
|
|
8
|
-
* name: "name",
|
|
9
|
-
* q: "q",
|
|
10
|
-
* priceUsageType: "licensed",
|
|
11
|
-
* withoutLinkedToPlan: true,
|
|
12
|
-
* withOneTimeCharges: true,
|
|
13
|
-
* withZeroPrice: true,
|
|
14
|
-
* withPricesOnly: true,
|
|
15
|
-
* isActive: true,
|
|
16
|
-
* limit: 1,
|
|
17
|
-
* offset: 1
|
|
18
|
-
* }
|
|
19
|
-
*/
|
|
20
|
-
export interface ListProductPricesRequest {
|
|
21
|
-
ids?: string | string[];
|
|
22
|
-
name?: string;
|
|
23
|
-
q?: string;
|
|
24
|
-
priceUsageType?: Schematic.ListProductPricesRequestPriceUsageType;
|
|
25
|
-
/**
|
|
26
|
-
* Filter products that are not linked to any plan
|
|
27
|
-
*/
|
|
28
|
-
withoutLinkedToPlan?: boolean;
|
|
29
|
-
/**
|
|
30
|
-
* Filter products that are one time charges
|
|
31
|
-
*/
|
|
32
|
-
withOneTimeCharges?: boolean;
|
|
33
|
-
/**
|
|
34
|
-
* Filter products that have zero price for free subscription type
|
|
35
|
-
*/
|
|
36
|
-
withZeroPrice?: boolean;
|
|
37
|
-
/**
|
|
38
|
-
* Filter products that have prices
|
|
39
|
-
*/
|
|
40
|
-
withPricesOnly?: boolean;
|
|
41
|
-
/**
|
|
42
|
-
* Filter products that are active
|
|
43
|
-
*/
|
|
44
|
-
isActive?: boolean;
|
|
45
|
-
/**
|
|
46
|
-
* Page limit (default 100)
|
|
47
|
-
*/
|
|
48
|
-
limit?: number;
|
|
49
|
-
/**
|
|
50
|
-
* Page offset (default 0)
|
|
51
|
-
*/
|
|
52
|
-
offset?: number;
|
|
53
|
-
}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
-
*/
|
|
4
|
-
export type CountBillingProductsRequestPriceUsageType = "licensed" | "metered";
|
|
5
|
-
export declare const CountBillingProductsRequestPriceUsageType: {
|
|
6
|
-
readonly Licensed: "licensed";
|
|
7
|
-
readonly Metered: "metered";
|
|
8
|
-
};
|
package/dist/api/resources/billing/types/CountBillingProductsResponseParamsPriceUsageType.d.ts
DELETED
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
-
*/
|
|
4
|
-
export type CountBillingProductsResponseParamsPriceUsageType = "licensed" | "metered";
|
|
5
|
-
export declare const CountBillingProductsResponseParamsPriceUsageType: {
|
|
6
|
-
readonly Licensed: "licensed";
|
|
7
|
-
readonly Metered: "metered";
|
|
8
|
-
};
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
-
*/
|
|
4
|
-
export type CreateBillingPriceRequestBodyBillingScheme = "per_unit" | "tiered";
|
|
5
|
-
export declare const CreateBillingPriceRequestBodyBillingScheme: {
|
|
6
|
-
readonly PerUnit: "per_unit";
|
|
7
|
-
readonly Tiered: "tiered";
|
|
8
|
-
};
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
-
*/
|
|
4
|
-
export type CreateBillingPriceRequestBodyTiersMode = "volume" | "graduated";
|
|
5
|
-
export declare const CreateBillingPriceRequestBodyTiersMode: {
|
|
6
|
-
readonly Volume: "volume";
|
|
7
|
-
readonly Graduated: "graduated";
|
|
8
|
-
};
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
-
*/
|
|
4
|
-
export type CreateBillingPriceRequestBodyUsageType = "licensed" | "metered";
|
|
5
|
-
export declare const CreateBillingPriceRequestBodyUsageType: {
|
|
6
|
-
readonly Licensed: "licensed";
|
|
7
|
-
readonly Metered: "metered";
|
|
8
|
-
};
|
package/dist/api/resources/billing/types/CreateBillingSubscriptionRequestBodyTrialEndSetting.d.ts
DELETED
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
-
*/
|
|
4
|
-
export type CreateBillingSubscriptionRequestBodyTrialEndSetting = "subscribe" | "cancel";
|
|
5
|
-
export declare const CreateBillingSubscriptionRequestBodyTrialEndSetting: {
|
|
6
|
-
readonly Subscribe: "subscribe";
|
|
7
|
-
readonly Cancel: "cancel";
|
|
8
|
-
};
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
-
*/
|
|
4
|
-
export type ListBillingProductsRequestPriceUsageType = "licensed" | "metered";
|
|
5
|
-
export declare const ListBillingProductsRequestPriceUsageType: {
|
|
6
|
-
readonly Licensed: "licensed";
|
|
7
|
-
readonly Metered: "metered";
|
|
8
|
-
};
|
package/dist/api/resources/billing/types/ListBillingProductsResponseParamsPriceUsageType.d.ts
DELETED
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
-
*/
|
|
4
|
-
export type ListBillingProductsResponseParamsPriceUsageType = "licensed" | "metered";
|
|
5
|
-
export declare const ListBillingProductsResponseParamsPriceUsageType: {
|
|
6
|
-
readonly Licensed: "licensed";
|
|
7
|
-
readonly Metered: "metered";
|
|
8
|
-
};
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
-
*/
|
|
4
|
-
import * as Schematic from "../../../index";
|
|
5
|
-
/**
|
|
6
|
-
* Input parameters
|
|
7
|
-
*/
|
|
8
|
-
export interface ListProductPricesParams {
|
|
9
|
-
ids?: string[];
|
|
10
|
-
/** Filter products that are active */
|
|
11
|
-
isActive?: boolean;
|
|
12
|
-
/** Page limit (default 100) */
|
|
13
|
-
limit?: number;
|
|
14
|
-
name?: string;
|
|
15
|
-
/** Page offset (default 0) */
|
|
16
|
-
offset?: number;
|
|
17
|
-
priceUsageType?: Schematic.ListProductPricesResponseParamsPriceUsageType;
|
|
18
|
-
q?: string;
|
|
19
|
-
/** Filter products that are one time charges */
|
|
20
|
-
withOneTimeCharges?: boolean;
|
|
21
|
-
/** Filter products that have prices */
|
|
22
|
-
withPricesOnly?: boolean;
|
|
23
|
-
/** Filter products that have zero price for free subscription type */
|
|
24
|
-
withZeroPrice?: boolean;
|
|
25
|
-
/** Filter products that are not linked to any plan */
|
|
26
|
-
withoutLinkedToPlan?: boolean;
|
|
27
|
-
}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
-
*/
|
|
4
|
-
export type ListProductPricesRequestPriceUsageType = "licensed" | "metered";
|
|
5
|
-
export declare const ListProductPricesRequestPriceUsageType: {
|
|
6
|
-
readonly Licensed: "licensed";
|
|
7
|
-
readonly Metered: "metered";
|
|
8
|
-
};
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
-
*/
|
|
4
|
-
export type ListProductPricesResponseParamsPriceUsageType = "licensed" | "metered";
|
|
5
|
-
export declare const ListProductPricesResponseParamsPriceUsageType: {
|
|
6
|
-
readonly Licensed: "licensed";
|
|
7
|
-
readonly Metered: "metered";
|
|
8
|
-
};
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
-
*/
|
|
4
|
-
export type SearchBillingPricesRequestUsageType = "licensed" | "metered";
|
|
5
|
-
export declare const SearchBillingPricesRequestUsageType: {
|
|
6
|
-
readonly Licensed: "licensed";
|
|
7
|
-
readonly Metered: "metered";
|
|
8
|
-
};
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
-
*/
|
|
4
|
-
export type SearchBillingPricesResponseParamsTiersMode = "volume" | "graduated";
|
|
5
|
-
export declare const SearchBillingPricesResponseParamsTiersMode: {
|
|
6
|
-
readonly Volume: "volume";
|
|
7
|
-
readonly Graduated: "graduated";
|
|
8
|
-
};
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
-
*/
|
|
4
|
-
export type SearchBillingPricesResponseParamsUsageType = "licensed" | "metered";
|
|
5
|
-
export declare const SearchBillingPricesResponseParamsUsageType: {
|
|
6
|
-
readonly Licensed: "licensed";
|
|
7
|
-
readonly Metered: "metered";
|
|
8
|
-
};
|