@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
package/dist/api/resources/companies/client/requests/ListCompaniesForAdvancedFilterRequest.d.ts
CHANGED
|
@@ -35,11 +35,11 @@ export interface ListCompaniesForAdvancedFilterRequest {
|
|
|
35
35
|
/**
|
|
36
36
|
* Filter companies by one or more subscription statuses (active, canceled, expired, incomplete, incomplete_expired, past_due, paused, trialing, unpaid)
|
|
37
37
|
*/
|
|
38
|
-
subscriptionStatuses?:
|
|
38
|
+
subscriptionStatuses?: Schematic.SubscriptionStatus | Schematic.SubscriptionStatus[];
|
|
39
39
|
/**
|
|
40
40
|
* Filter companies by one or more subscription types (paid, free, trial)
|
|
41
41
|
*/
|
|
42
|
-
subscriptionTypes?:
|
|
42
|
+
subscriptionTypes?: Schematic.SubscriptionType | Schematic.SubscriptionType[];
|
|
43
43
|
/**
|
|
44
44
|
* Filter companies that have monetized subscriptions
|
|
45
45
|
*/
|
|
@@ -63,7 +63,7 @@ export interface ListCompaniesForAdvancedFilterRequest {
|
|
|
63
63
|
/**
|
|
64
64
|
* Direction to sort by (asc or desc)
|
|
65
65
|
*/
|
|
66
|
-
sortOrderDirection?: Schematic.
|
|
66
|
+
sortOrderDirection?: Schematic.SortDirection;
|
|
67
67
|
/**
|
|
68
68
|
* Select the display columns to return (e.g. plan, subscription, users, last_seen_at)
|
|
69
69
|
*/
|
|
@@ -12,7 +12,7 @@ import * as Schematic from "../../../../index";
|
|
|
12
12
|
* }
|
|
13
13
|
*/
|
|
14
14
|
export interface ListEntityKeyDefinitionsRequest {
|
|
15
|
-
entityType?: Schematic.
|
|
15
|
+
entityType?: Schematic.EntityType;
|
|
16
16
|
ids?: string | string[];
|
|
17
17
|
q?: string;
|
|
18
18
|
/**
|
|
@@ -13,10 +13,11 @@ import * as Schematic from "../../../../index";
|
|
|
13
13
|
* }
|
|
14
14
|
*/
|
|
15
15
|
export interface ListEntityTraitDefinitionsRequest {
|
|
16
|
-
entityType?: Schematic.
|
|
16
|
+
entityType?: Schematic.EntityType;
|
|
17
17
|
ids?: string | string[];
|
|
18
18
|
q?: string;
|
|
19
|
-
traitType?: Schematic.
|
|
19
|
+
traitType?: Schematic.TraitType;
|
|
20
|
+
traitTypes?: Schematic.TraitType | Schematic.TraitType[];
|
|
20
21
|
/**
|
|
21
22
|
* Page limit (default 100)
|
|
22
23
|
*/
|
|
@@ -5,6 +5,7 @@ import * as Schematic from "../../../../index";
|
|
|
5
5
|
/**
|
|
6
6
|
* @example
|
|
7
7
|
* {
|
|
8
|
+
* applyToExistingCompanies: true,
|
|
8
9
|
* planId: "plan_id",
|
|
9
10
|
* traits: [{
|
|
10
11
|
* traitId: "trait_id",
|
|
@@ -13,6 +14,7 @@ import * as Schematic from "../../../../index";
|
|
|
13
14
|
* }
|
|
14
15
|
*/
|
|
15
16
|
export interface UpdatePlanTraitBulkRequestBody {
|
|
17
|
+
applyToExistingCompanies: boolean;
|
|
16
18
|
planId: string;
|
|
17
19
|
traits: Schematic.UpdatePlanTraitTraitRequestBody[];
|
|
18
20
|
}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
export { type ListCompaniesRequest } from "./ListCompaniesRequest";
|
|
2
|
+
export { type DeleteCompanyRequest } from "./DeleteCompanyRequest";
|
|
2
3
|
export { type CountCompaniesRequest } from "./CountCompaniesRequest";
|
|
3
4
|
export { type CountCompaniesForAdvancedFilterRequest } from "./CountCompaniesForAdvancedFilterRequest";
|
|
4
5
|
export { type ListCompaniesForAdvancedFilterRequest } from "./ListCompaniesForAdvancedFilterRequest";
|
|
@@ -26,12 +26,11 @@ export interface CountCompaniesForAdvancedFilterParams {
|
|
|
26
26
|
q?: string;
|
|
27
27
|
/** Column to sort by (e.g. name, created_at, last_seen_at) */
|
|
28
28
|
sortOrderColumn?: string;
|
|
29
|
-
|
|
30
|
-
sortOrderDirection?: Schematic.CountCompaniesForAdvancedFilterResponseParamsSortOrderDirection;
|
|
29
|
+
sortOrderDirection?: Schematic.SortDirection;
|
|
31
30
|
/** Filter companies by one or more subscription statuses (active, canceled, expired, incomplete, incomplete_expired, past_due, paused, trialing, unpaid) */
|
|
32
|
-
subscriptionStatuses?:
|
|
31
|
+
subscriptionStatuses?: Schematic.SubscriptionStatus[];
|
|
33
32
|
/** Filter companies by one or more subscription types (paid, free, trial) */
|
|
34
|
-
subscriptionTypes?:
|
|
33
|
+
subscriptionTypes?: Schematic.SubscriptionType[];
|
|
35
34
|
/** Filter out companies that have a plan */
|
|
36
35
|
withoutPlan?: boolean;
|
|
37
36
|
/** Filter out companies that have a subscription */
|
|
@@ -6,7 +6,7 @@ import * as Schematic from "../../../index";
|
|
|
6
6
|
* Input parameters
|
|
7
7
|
*/
|
|
8
8
|
export interface CountEntityKeyDefinitionsParams {
|
|
9
|
-
entityType?: Schematic.
|
|
9
|
+
entityType?: Schematic.EntityType;
|
|
10
10
|
ids?: string[];
|
|
11
11
|
/** Page limit (default 100) */
|
|
12
12
|
limit?: number;
|
|
@@ -6,12 +6,13 @@ import * as Schematic from "../../../index";
|
|
|
6
6
|
* Input parameters
|
|
7
7
|
*/
|
|
8
8
|
export interface CountEntityTraitDefinitionsParams {
|
|
9
|
-
entityType?: Schematic.
|
|
9
|
+
entityType?: Schematic.EntityType;
|
|
10
10
|
ids?: string[];
|
|
11
11
|
/** Page limit (default 100) */
|
|
12
12
|
limit?: number;
|
|
13
13
|
/** Page offset (default 0) */
|
|
14
14
|
offset?: number;
|
|
15
15
|
q?: string;
|
|
16
|
-
traitType?: Schematic.
|
|
16
|
+
traitType?: Schematic.TraitType;
|
|
17
|
+
traitTypes?: Schematic.TraitType[];
|
|
17
18
|
}
|
|
@@ -26,12 +26,11 @@ export interface ListCompaniesForAdvancedFilterParams {
|
|
|
26
26
|
q?: string;
|
|
27
27
|
/** Column to sort by (e.g. name, created_at, last_seen_at) */
|
|
28
28
|
sortOrderColumn?: string;
|
|
29
|
-
|
|
30
|
-
sortOrderDirection?: Schematic.ListCompaniesForAdvancedFilterResponseParamsSortOrderDirection;
|
|
29
|
+
sortOrderDirection?: Schematic.SortDirection;
|
|
31
30
|
/** Filter companies by one or more subscription statuses (active, canceled, expired, incomplete, incomplete_expired, past_due, paused, trialing, unpaid) */
|
|
32
|
-
subscriptionStatuses?:
|
|
31
|
+
subscriptionStatuses?: Schematic.SubscriptionStatus[];
|
|
33
32
|
/** Filter companies by one or more subscription types (paid, free, trial) */
|
|
34
|
-
subscriptionTypes?:
|
|
33
|
+
subscriptionTypes?: Schematic.SubscriptionType[];
|
|
35
34
|
/** Filter out companies that have a plan */
|
|
36
35
|
withoutPlan?: boolean;
|
|
37
36
|
/** Filter out companies that have a subscription */
|
|
@@ -6,7 +6,7 @@ import * as Schematic from "../../../index";
|
|
|
6
6
|
* Input parameters
|
|
7
7
|
*/
|
|
8
8
|
export interface ListEntityKeyDefinitionsParams {
|
|
9
|
-
entityType?: Schematic.
|
|
9
|
+
entityType?: Schematic.EntityType;
|
|
10
10
|
ids?: string[];
|
|
11
11
|
/** Page limit (default 100) */
|
|
12
12
|
limit?: number;
|
|
@@ -6,12 +6,13 @@ import * as Schematic from "../../../index";
|
|
|
6
6
|
* Input parameters
|
|
7
7
|
*/
|
|
8
8
|
export interface ListEntityTraitDefinitionsParams {
|
|
9
|
-
entityType?: Schematic.
|
|
9
|
+
entityType?: Schematic.EntityType;
|
|
10
10
|
ids?: string[];
|
|
11
11
|
/** Page limit (default 100) */
|
|
12
12
|
limit?: number;
|
|
13
13
|
/** Page offset (default 0) */
|
|
14
14
|
offset?: number;
|
|
15
15
|
q?: string;
|
|
16
|
-
traitType?: Schematic.
|
|
16
|
+
traitType?: Schematic.TraitType;
|
|
17
|
+
traitTypes?: Schematic.TraitType[];
|
|
17
18
|
}
|
|
@@ -2,17 +2,14 @@ export * from "./ListCompaniesParams";
|
|
|
2
2
|
export * from "./ListCompaniesResponse";
|
|
3
3
|
export * from "./UpsertCompanyResponse";
|
|
4
4
|
export * from "./GetCompanyResponse";
|
|
5
|
+
export * from "./DeleteCompanyParams";
|
|
5
6
|
export * from "./DeleteCompanyResponse";
|
|
6
7
|
export * from "./CountCompaniesParams";
|
|
7
8
|
export * from "./CountCompaniesResponse";
|
|
8
|
-
export * from "./CountCompaniesForAdvancedFilterRequestSortOrderDirection";
|
|
9
|
-
export * from "./CountCompaniesForAdvancedFilterResponseParamsSortOrderDirection";
|
|
10
9
|
export * from "./CountCompaniesForAdvancedFilterParams";
|
|
11
10
|
export * from "./CountCompaniesForAdvancedFilterResponse";
|
|
12
11
|
export * from "./CreateCompanyResponse";
|
|
13
12
|
export * from "./DeleteCompanyByKeysResponse";
|
|
14
|
-
export * from "./ListCompaniesForAdvancedFilterRequestSortOrderDirection";
|
|
15
|
-
export * from "./ListCompaniesForAdvancedFilterResponseParamsSortOrderDirection";
|
|
16
13
|
export * from "./ListCompaniesForAdvancedFilterParams";
|
|
17
14
|
export * from "./ListCompaniesForAdvancedFilterResponse";
|
|
18
15
|
export * from "./LookupCompanyParams";
|
|
@@ -26,30 +23,15 @@ export * from "./DeleteCompanyMembershipResponse";
|
|
|
26
23
|
export * from "./GetActiveCompanySubscriptionParams";
|
|
27
24
|
export * from "./GetActiveCompanySubscriptionResponse";
|
|
28
25
|
export * from "./UpsertCompanyTraitResponse";
|
|
29
|
-
export * from "./ListEntityKeyDefinitionsRequestEntityType";
|
|
30
|
-
export * from "./ListEntityKeyDefinitionsResponseParamsEntityType";
|
|
31
26
|
export * from "./ListEntityKeyDefinitionsParams";
|
|
32
27
|
export * from "./ListEntityKeyDefinitionsResponse";
|
|
33
|
-
export * from "./CountEntityKeyDefinitionsRequestEntityType";
|
|
34
|
-
export * from "./CountEntityKeyDefinitionsResponseParamsEntityType";
|
|
35
28
|
export * from "./CountEntityKeyDefinitionsParams";
|
|
36
29
|
export * from "./CountEntityKeyDefinitionsResponse";
|
|
37
|
-
export * from "./ListEntityTraitDefinitionsRequestEntityType";
|
|
38
|
-
export * from "./ListEntityTraitDefinitionsRequestTraitType";
|
|
39
|
-
export * from "./ListEntityTraitDefinitionsResponseParamsEntityType";
|
|
40
|
-
export * from "./ListEntityTraitDefinitionsResponseParamsTraitType";
|
|
41
30
|
export * from "./ListEntityTraitDefinitionsParams";
|
|
42
31
|
export * from "./ListEntityTraitDefinitionsResponse";
|
|
43
|
-
export * from "./CreateEntityTraitDefinitionRequestBodyEntityType";
|
|
44
|
-
export * from "./CreateEntityTraitDefinitionRequestBodyTraitType";
|
|
45
32
|
export * from "./GetOrCreateEntityTraitDefinitionResponse";
|
|
46
33
|
export * from "./GetEntityTraitDefinitionResponse";
|
|
47
|
-
export * from "./UpdateEntityTraitDefinitionRequestBodyTraitType";
|
|
48
34
|
export * from "./UpdateEntityTraitDefinitionResponse";
|
|
49
|
-
export * from "./CountEntityTraitDefinitionsRequestEntityType";
|
|
50
|
-
export * from "./CountEntityTraitDefinitionsRequestTraitType";
|
|
51
|
-
export * from "./CountEntityTraitDefinitionsResponseParamsEntityType";
|
|
52
|
-
export * from "./CountEntityTraitDefinitionsResponseParamsTraitType";
|
|
53
35
|
export * from "./CountEntityTraitDefinitionsParams";
|
|
54
36
|
export * from "./CountEntityTraitDefinitionsResponse";
|
|
55
37
|
export * from "./GetEntityTraitValuesParams";
|
|
@@ -5,12 +5,12 @@ import * as Schematic from "../../../../index";
|
|
|
5
5
|
/**
|
|
6
6
|
* @example
|
|
7
7
|
* {
|
|
8
|
-
* entityType: "
|
|
8
|
+
* entityType: "billing",
|
|
9
9
|
* name: "name"
|
|
10
10
|
* }
|
|
11
11
|
*/
|
|
12
12
|
export interface CreateComponentRequestBody {
|
|
13
13
|
ast?: Record<string, number>;
|
|
14
|
-
entityType: Schematic.
|
|
14
|
+
entityType: Schematic.ComponentEntityType;
|
|
15
15
|
name: string;
|
|
16
16
|
}
|
|
@@ -8,7 +8,7 @@ import * as Schematic from "../../../../index";
|
|
|
8
8
|
*/
|
|
9
9
|
export interface UpdateComponentRequestBody {
|
|
10
10
|
ast?: Record<string, number>;
|
|
11
|
-
entityType?: Schematic.
|
|
11
|
+
entityType?: Schematic.ComponentEntityType;
|
|
12
12
|
name?: string;
|
|
13
|
-
state?: Schematic.
|
|
13
|
+
state?: Schematic.ComponentState;
|
|
14
14
|
}
|
|
@@ -1,10 +1,7 @@
|
|
|
1
1
|
export * from "./ListComponentsParams";
|
|
2
2
|
export * from "./ListComponentsResponse";
|
|
3
|
-
export * from "./CreateComponentRequestBodyEntityType";
|
|
4
3
|
export * from "./CreateComponentResponse";
|
|
5
4
|
export * from "./GetComponentResponse";
|
|
6
|
-
export * from "./UpdateComponentRequestBodyEntityType";
|
|
7
|
-
export * from "./UpdateComponentRequestBodyState";
|
|
8
5
|
export * from "./UpdateComponentResponse";
|
|
9
6
|
export * from "./DeleteComponentResponse";
|
|
10
7
|
export * from "./CountComponentsParams";
|
|
@@ -272,7 +272,7 @@ export declare class Credits {
|
|
|
272
272
|
* companyId: "company_id",
|
|
273
273
|
* creditId: "credit_id",
|
|
274
274
|
* quantity: 1,
|
|
275
|
-
* reason: "
|
|
275
|
+
* reason: "billing_credit_auto_topup"
|
|
276
276
|
* })
|
|
277
277
|
*/
|
|
278
278
|
grantBillingCreditsToCompany(request: Schematic.CreateCompanyCreditGrant, requestOptions?: Credits.RequestOptions): core.HttpResponsePromise<Schematic.GrantBillingCreditsToCompanyResponse>;
|
|
@@ -419,7 +419,7 @@ export declare class Credits {
|
|
|
419
419
|
* creditAmount: 1,
|
|
420
420
|
* creditId: "credit_id",
|
|
421
421
|
* planId: "plan_id",
|
|
422
|
-
* resetCadence: "
|
|
422
|
+
* resetCadence: "daily",
|
|
423
423
|
* resetStart: "billing_period"
|
|
424
424
|
* })
|
|
425
425
|
*/
|
|
@@ -427,6 +427,7 @@ export declare class Credits {
|
|
|
427
427
|
private __createBillingPlanCreditGrant;
|
|
428
428
|
/**
|
|
429
429
|
* @param {string} planGrantId - plan_grant_id
|
|
430
|
+
* @param {Schematic.UpdateBillingPlanCreditGrantRequestBody} request
|
|
430
431
|
* @param {Credits.RequestOptions} requestOptions - Request-specific configuration.
|
|
431
432
|
*
|
|
432
433
|
* @throws {@link Schematic.BadRequestError}
|
|
@@ -436,9 +437,30 @@ export declare class Credits {
|
|
|
436
437
|
* @throws {@link Schematic.InternalServerError}
|
|
437
438
|
*
|
|
438
439
|
* @example
|
|
439
|
-
* await client.credits.
|
|
440
|
+
* await client.credits.updateBillingPlanCreditGrant("plan_grant_id", {
|
|
441
|
+
* resetCadence: "daily",
|
|
442
|
+
* resetStart: "billing_period"
|
|
443
|
+
* })
|
|
444
|
+
*/
|
|
445
|
+
updateBillingPlanCreditGrant(planGrantId: string, request: Schematic.UpdateBillingPlanCreditGrantRequestBody, requestOptions?: Credits.RequestOptions): core.HttpResponsePromise<Schematic.UpdateBillingPlanCreditGrantResponse>;
|
|
446
|
+
private __updateBillingPlanCreditGrant;
|
|
447
|
+
/**
|
|
448
|
+
* @param {string} planGrantId - plan_grant_id
|
|
449
|
+
* @param {Schematic.DeleteBillingPlanCreditGrantRequest} request
|
|
450
|
+
* @param {Credits.RequestOptions} requestOptions - Request-specific configuration.
|
|
451
|
+
*
|
|
452
|
+
* @throws {@link Schematic.BadRequestError}
|
|
453
|
+
* @throws {@link Schematic.UnauthorizedError}
|
|
454
|
+
* @throws {@link Schematic.ForbiddenError}
|
|
455
|
+
* @throws {@link Schematic.NotFoundError}
|
|
456
|
+
* @throws {@link Schematic.InternalServerError}
|
|
457
|
+
*
|
|
458
|
+
* @example
|
|
459
|
+
* await client.credits.deleteBillingPlanCreditGrant("plan_grant_id", {
|
|
460
|
+
* applyToExisting: true
|
|
461
|
+
* })
|
|
440
462
|
*/
|
|
441
|
-
deleteBillingPlanCreditGrant(planGrantId: string, requestOptions?: Credits.RequestOptions): core.HttpResponsePromise<Schematic.DeleteBillingPlanCreditGrantResponse>;
|
|
463
|
+
deleteBillingPlanCreditGrant(planGrantId: string, request?: Schematic.DeleteBillingPlanCreditGrantRequest, requestOptions?: Credits.RequestOptions): core.HttpResponsePromise<Schematic.DeleteBillingPlanCreditGrantResponse>;
|
|
442
464
|
private __deleteBillingPlanCreditGrant;
|
|
443
465
|
/**
|
|
444
466
|
* @param {Schematic.CountBillingPlanCreditGrantsRequest} request
|
|
@@ -15,8 +15,8 @@ import * as Schematic from "../../../../index";
|
|
|
15
15
|
export interface CountCreditBundlesRequest {
|
|
16
16
|
ids?: string | string[];
|
|
17
17
|
creditId?: string;
|
|
18
|
-
status?: Schematic.
|
|
19
|
-
bundleType?:
|
|
18
|
+
status?: Schematic.BillingCreditBundleStatus;
|
|
19
|
+
bundleType?: Schematic.BillingCreditBundleType;
|
|
20
20
|
/**
|
|
21
21
|
* Page limit (default 100)
|
|
22
22
|
*/
|
|
@@ -19,7 +19,7 @@ export interface CountCreditLedgerRequest {
|
|
|
19
19
|
companyId: string;
|
|
20
20
|
billingCreditId?: string;
|
|
21
21
|
featureId?: string;
|
|
22
|
-
period: Schematic.
|
|
22
|
+
period: Schematic.CreditLedgerPeriod;
|
|
23
23
|
startTime?: string;
|
|
24
24
|
endTime?: string;
|
|
25
25
|
/**
|
|
@@ -11,11 +11,11 @@ import * as Schematic from "../../../../index";
|
|
|
11
11
|
* }
|
|
12
12
|
*/
|
|
13
13
|
export interface CreateBillingCreditRequestBody {
|
|
14
|
-
burnStrategy?: Schematic.
|
|
14
|
+
burnStrategy?: Schematic.BillingCreditBurnStrategy;
|
|
15
15
|
currency: string;
|
|
16
|
-
defaultExpiryUnit?:
|
|
16
|
+
defaultExpiryUnit?: Schematic.BillingCreditExpiryUnit;
|
|
17
17
|
defaultExpiryUnitCount?: number;
|
|
18
|
-
defaultRolloverPolicy?: Schematic.
|
|
18
|
+
defaultRolloverPolicy?: Schematic.BillingCreditRolloverPolicy;
|
|
19
19
|
description: string;
|
|
20
20
|
icon?: string;
|
|
21
21
|
name: string;
|
package/dist/api/resources/credits/client/requests/CreateBillingPlanCreditGrantRequestBody.d.ts
CHANGED
|
@@ -8,18 +8,26 @@ import * as Schematic from "../../../../index";
|
|
|
8
8
|
* creditAmount: 1,
|
|
9
9
|
* creditId: "credit_id",
|
|
10
10
|
* planId: "plan_id",
|
|
11
|
-
* resetCadence: "
|
|
11
|
+
* resetCadence: "daily",
|
|
12
12
|
* resetStart: "billing_period"
|
|
13
13
|
* }
|
|
14
14
|
*/
|
|
15
15
|
export interface CreateBillingPlanCreditGrantRequestBody {
|
|
16
|
+
applyToExisting?: boolean;
|
|
17
|
+
autoTopupAmount?: number;
|
|
18
|
+
autoTopupAmountType?: Schematic.CreditAutoTopupAmountType;
|
|
19
|
+
autoTopupEnabled?: boolean;
|
|
20
|
+
autoTopupExpiryType?: Schematic.BillingCreditExpiryType;
|
|
21
|
+
autoTopupExpiryUnit?: Schematic.BillingCreditExpiryUnit;
|
|
22
|
+
autoTopupExpiryUnitCount?: number;
|
|
23
|
+
autoTopupThresholdPercent?: number;
|
|
16
24
|
creditAmount: number;
|
|
17
25
|
creditId: string;
|
|
18
|
-
expiryType?: Schematic.
|
|
19
|
-
expiryUnit?: Schematic.
|
|
26
|
+
expiryType?: Schematic.BillingCreditExpiryType;
|
|
27
|
+
expiryUnit?: Schematic.BillingCreditExpiryUnit;
|
|
20
28
|
expiryUnitCount?: number;
|
|
21
29
|
planId: string;
|
|
22
|
-
resetCadence: Schematic.
|
|
23
|
-
resetStart: Schematic.
|
|
24
|
-
resetType?: Schematic.
|
|
30
|
+
resetCadence: Schematic.BillingPlanCreditGrantResetCadence;
|
|
31
|
+
resetStart: Schematic.BillingPlanCreditGrantResetStart;
|
|
32
|
+
resetType?: Schematic.BillingPlanCreditGrantResetType;
|
|
25
33
|
}
|
|
@@ -8,7 +8,7 @@ import * as Schematic from "../../../../index";
|
|
|
8
8
|
* companyId: "company_id",
|
|
9
9
|
* creditId: "credit_id",
|
|
10
10
|
* quantity: 1,
|
|
11
|
-
* reason: "
|
|
11
|
+
* reason: "billing_credit_auto_topup"
|
|
12
12
|
* }
|
|
13
13
|
*/
|
|
14
14
|
export interface CreateCompanyCreditGrant {
|
|
@@ -16,9 +16,11 @@ export interface CreateCompanyCreditGrant {
|
|
|
16
16
|
companyId: string;
|
|
17
17
|
creditId: string;
|
|
18
18
|
expiresAt?: Date;
|
|
19
|
-
expiryType?: Schematic.
|
|
20
|
-
expiryUnit?: Schematic.
|
|
19
|
+
expiryType?: Schematic.BillingCreditExpiryType;
|
|
20
|
+
expiryUnit?: Schematic.BillingCreditExpiryUnit;
|
|
21
21
|
expiryUnitCount?: number;
|
|
22
22
|
quantity: number;
|
|
23
|
-
reason:
|
|
23
|
+
reason: Schematic.BillingCreditGrantReason;
|
|
24
|
+
renewalEnabled?: boolean;
|
|
25
|
+
renewalPeriod?: Schematic.BillingPlanCreditGrantResetStart;
|
|
24
26
|
}
|
|
@@ -13,14 +13,14 @@ import * as Schematic from "../../../../index";
|
|
|
13
13
|
*/
|
|
14
14
|
export interface CreateCreditBundleRequestBody {
|
|
15
15
|
bundleName: string;
|
|
16
|
-
bundleType?:
|
|
16
|
+
bundleType?: Schematic.BillingCreditBundleType;
|
|
17
17
|
creditId: string;
|
|
18
18
|
currency: string;
|
|
19
|
-
expiryType?: Schematic.
|
|
20
|
-
expiryUnit?: Schematic.
|
|
19
|
+
expiryType?: Schematic.BillingCreditExpiryType;
|
|
20
|
+
expiryUnit?: Schematic.BillingCreditExpiryUnit;
|
|
21
21
|
expiryUnitCount?: number;
|
|
22
22
|
pricePerUnit: number;
|
|
23
23
|
pricePerUnitDecimal?: string;
|
|
24
24
|
quantity?: number;
|
|
25
|
-
status?: Schematic.
|
|
25
|
+
status?: Schematic.BillingCreditBundleStatus;
|
|
26
26
|
}
|
|
@@ -19,7 +19,7 @@ export interface GetEnrichedCreditLedgerRequest {
|
|
|
19
19
|
companyId: string;
|
|
20
20
|
billingCreditId?: string;
|
|
21
21
|
featureId?: string;
|
|
22
|
-
period: Schematic.
|
|
22
|
+
period: Schematic.CreditLedgerPeriod;
|
|
23
23
|
startTime?: string;
|
|
24
24
|
endTime?: string;
|
|
25
25
|
/**
|
|
@@ -14,8 +14,8 @@ import * as Schematic from "../../../../index";
|
|
|
14
14
|
*/
|
|
15
15
|
export interface ListCompanyGrantsRequest {
|
|
16
16
|
companyId?: string;
|
|
17
|
-
order?: Schematic.
|
|
18
|
-
dir?: Schematic.
|
|
17
|
+
order?: Schematic.CreditGrantSortOrder;
|
|
18
|
+
dir?: Schematic.SortDirection;
|
|
19
19
|
/**
|
|
20
20
|
* Page limit (default 100)
|
|
21
21
|
*/
|
|
@@ -15,8 +15,8 @@ import * as Schematic from "../../../../index";
|
|
|
15
15
|
export interface ListCreditBundlesRequest {
|
|
16
16
|
ids?: string | string[];
|
|
17
17
|
creditId?: string;
|
|
18
|
-
status?: Schematic.
|
|
19
|
-
bundleType?:
|
|
18
|
+
status?: Schematic.BillingCreditBundleStatus;
|
|
19
|
+
bundleType?: Schematic.BillingCreditBundleType;
|
|
20
20
|
/**
|
|
21
21
|
* Page limit (default 100)
|
|
22
22
|
*/
|
|
@@ -10,10 +10,10 @@ import * as Schematic from "../../../../index";
|
|
|
10
10
|
* }
|
|
11
11
|
*/
|
|
12
12
|
export interface UpdateBillingCreditRequestBody {
|
|
13
|
-
burnStrategy?: Schematic.
|
|
14
|
-
defaultExpiryUnit?:
|
|
13
|
+
burnStrategy?: Schematic.BillingCreditBurnStrategy;
|
|
14
|
+
defaultExpiryUnit?: Schematic.BillingCreditExpiryUnit;
|
|
15
15
|
defaultExpiryUnitCount?: number;
|
|
16
|
-
defaultRolloverPolicy?: Schematic.
|
|
16
|
+
defaultRolloverPolicy?: Schematic.BillingCreditRolloverPolicy;
|
|
17
17
|
description: string;
|
|
18
18
|
icon?: string;
|
|
19
19
|
name: string;
|
package/dist/api/resources/credits/client/requests/UpdateBillingPlanCreditGrantRequestBody.d.ts
ADDED
|
@@ -0,0 +1,28 @@
|
|
|
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
|
+
* resetCadence: "daily",
|
|
9
|
+
* resetStart: "billing_period"
|
|
10
|
+
* }
|
|
11
|
+
*/
|
|
12
|
+
export interface UpdateBillingPlanCreditGrantRequestBody {
|
|
13
|
+
applyToExisting?: boolean;
|
|
14
|
+
autoTopupAmount?: number;
|
|
15
|
+
autoTopupAmountType?: Schematic.CreditAutoTopupAmountType;
|
|
16
|
+
autoTopupEnabled?: boolean;
|
|
17
|
+
autoTopupExpiryType?: Schematic.BillingCreditExpiryType;
|
|
18
|
+
autoTopupExpiryUnit?: Schematic.BillingCreditExpiryUnit;
|
|
19
|
+
autoTopupExpiryUnitCount?: number;
|
|
20
|
+
autoTopupThresholdPercent?: number;
|
|
21
|
+
creditAmount?: number;
|
|
22
|
+
expiryType?: Schematic.BillingCreditExpiryType;
|
|
23
|
+
expiryUnit?: Schematic.BillingCreditExpiryUnit;
|
|
24
|
+
expiryUnitCount?: number;
|
|
25
|
+
resetCadence: Schematic.BillingPlanCreditGrantResetCadence;
|
|
26
|
+
resetStart: Schematic.BillingPlanCreditGrantResetStart;
|
|
27
|
+
resetType?: Schematic.BillingPlanCreditGrantResetType;
|
|
28
|
+
}
|
package/dist/api/resources/credits/client/requests/UpdateCreditBundleDetailsRequestBody.d.ts
CHANGED
|
@@ -11,11 +11,11 @@ import * as Schematic from "../../../../index";
|
|
|
11
11
|
*/
|
|
12
12
|
export interface UpdateCreditBundleDetailsRequestBody {
|
|
13
13
|
bundleName: string;
|
|
14
|
-
expiryType?: Schematic.
|
|
15
|
-
expiryUnit?: Schematic.
|
|
14
|
+
expiryType?: Schematic.BillingCreditExpiryType;
|
|
15
|
+
expiryUnit?: Schematic.BillingCreditExpiryUnit;
|
|
16
16
|
expiryUnitCount?: number;
|
|
17
17
|
pricePerUnit: number;
|
|
18
18
|
pricePerUnitDecimal?: string;
|
|
19
19
|
quantity?: number;
|
|
20
|
-
status?: Schematic.
|
|
20
|
+
status?: Schematic.BillingCreditBundleStatus;
|
|
21
21
|
}
|
|
@@ -15,4 +15,6 @@ export { type GetEnrichedCreditLedgerRequest } from "./GetEnrichedCreditLedgerRe
|
|
|
15
15
|
export { type CountCreditLedgerRequest } from "./CountCreditLedgerRequest";
|
|
16
16
|
export { type ListBillingPlanCreditGrantsRequest } from "./ListBillingPlanCreditGrantsRequest";
|
|
17
17
|
export { type CreateBillingPlanCreditGrantRequestBody } from "./CreateBillingPlanCreditGrantRequestBody";
|
|
18
|
+
export { type UpdateBillingPlanCreditGrantRequestBody } from "./UpdateBillingPlanCreditGrantRequestBody";
|
|
19
|
+
export { type DeleteBillingPlanCreditGrantRequest } from "./DeleteBillingPlanCreditGrantRequest";
|
|
18
20
|
export { type CountBillingPlanCreditGrantsRequest } from "./CountBillingPlanCreditGrantsRequest";
|
|
@@ -6,12 +6,12 @@ import * as Schematic from "../../../index";
|
|
|
6
6
|
* Input parameters
|
|
7
7
|
*/
|
|
8
8
|
export interface CountCreditBundlesParams {
|
|
9
|
-
bundleType?:
|
|
9
|
+
bundleType?: Schematic.BillingCreditBundleType;
|
|
10
10
|
creditId?: string;
|
|
11
11
|
ids?: string[];
|
|
12
12
|
/** Page limit (default 100) */
|
|
13
13
|
limit?: number;
|
|
14
14
|
/** Page offset (default 0) */
|
|
15
15
|
offset?: number;
|
|
16
|
-
status?: Schematic.
|
|
16
|
+
status?: Schematic.BillingCreditBundleStatus;
|
|
17
17
|
}
|