@schematichq/schematic-typescript-node 1.1.4 → 1.1.6
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/Client.d.ts +3 -0
- package/Client.js +10 -5
- package/api/resources/accesstokens/client/Client.js +1 -1
- package/api/resources/accounts/client/Client.d.ts +1 -1
- package/api/resources/accounts/client/Client.js +15 -15
- package/api/resources/accounts/client/requests/CreateEnvironmentRequestBody.d.ts +1 -1
- package/api/resources/billing/client/Client.d.ts +117 -32
- package/api/resources/billing/client/Client.js +667 -83
- package/api/resources/billing/client/requests/CountBillingProductsRequest.d.ts +33 -0
- package/api/resources/billing/client/requests/CreateBillingPriceRequestBody.d.ts +6 -1
- package/api/resources/billing/client/requests/CreateBillingSubscriptionsRequestBody.d.ts +12 -2
- package/api/resources/billing/client/requests/CreateInvoiceRequestBody.d.ts +29 -0
- package/api/resources/billing/client/requests/CreateMeterRequestBody.d.ts +18 -0
- package/api/resources/billing/client/requests/CreatePaymentMethodRequestBody.d.ts +26 -0
- package/api/resources/billing/client/requests/ListBillingProductsRequest.d.ts +13 -0
- package/{dist/api/resources/events/client/requests/ListMetricCountsRequest.d.ts → api/resources/billing/client/requests/ListInvoicesRequest.d.ts} +6 -9
- package/api/resources/billing/client/requests/ListMetersRequest.d.ts +18 -0
- package/api/resources/{events/client/requests/ListMetricCountsRequest.d.ts → billing/client/requests/ListPaymentMethodsRequest.d.ts} +6 -9
- package/api/resources/billing/client/requests/ListProductPricesRequest.d.ts +13 -0
- package/api/resources/billing/client/requests/SearchBillingPricesRequest.d.ts +20 -0
- package/api/resources/billing/client/requests/index.d.ts +8 -3
- package/api/resources/billing/types/CountBillingProductsParams.d.ts +22 -0
- package/api/resources/billing/types/CountBillingProductsResponse.d.ts +9 -0
- package/api/resources/{components/types/HydrateComponentResponse.d.ts → billing/types/DeleteProductPriceResponse.d.ts} +2 -2
- package/api/resources/billing/types/ListBillingProductsParams.d.ts +7 -0
- package/api/resources/{events/types/ListMetricCountsParams.d.ts → billing/types/ListInvoicesParams.d.ts} +3 -8
- package/api/resources/{plans/types/ListActivePlansResponse.d.ts → billing/types/ListInvoicesResponse.d.ts} +3 -3
- package/api/resources/billing/types/ListMetersParams.d.ts +13 -0
- package/{dist/api/resources/plans/types/ListActivePlansResponse.d.ts → api/resources/billing/types/ListMetersResponse.d.ts} +3 -3
- package/{dist/api/resources/events/types/ListMetricCountsParams.d.ts → api/resources/billing/types/ListPaymentMethodsParams.d.ts} +3 -8
- package/api/resources/{events/types/ListMetricCountsResponse.d.ts → billing/types/ListPaymentMethodsResponse.d.ts} +3 -3
- package/api/resources/billing/types/ListProductPricesParams.d.ts +7 -0
- package/api/resources/billing/types/SearchBillingPricesParams.d.ts +15 -0
- package/{dist/api/resources/events/types/ListMetricCountsResponse.d.ts → api/resources/billing/types/SearchBillingPricesResponse.d.ts} +3 -3
- package/{dist/api/resources/components/types/HydrateComponentResponse.d.ts → api/resources/billing/types/UpsertBillingMeterResponse.d.ts} +2 -2
- package/api/resources/billing/types/{UpdateBillingPlanGroupResponse.d.ts → UpsertInvoiceResponse.d.ts} +2 -2
- package/api/resources/billing/types/{CreateBillingPlanGroupResponse.d.ts → UpsertPaymentMethodResponse.d.ts} +2 -2
- package/api/resources/billing/types/index.d.ts +14 -4
- package/api/resources/billing/types/index.js +14 -4
- package/api/resources/companies/client/Client.d.ts +5 -7
- package/api/resources/companies/client/Client.js +64 -50
- package/api/resources/companies/client/requests/CountCompaniesRequest.d.ts +11 -1
- package/api/resources/companies/client/requests/CountEntityTraitDefinitionsRequest.d.ts +1 -1
- package/api/resources/companies/client/requests/CountUsersRequest.d.ts +10 -1
- package/api/resources/companies/client/requests/CreateEntityTraitDefinitionRequestBody.d.ts +2 -2
- package/api/resources/companies/client/requests/GetActiveCompanySubscriptionRequest.d.ts +3 -4
- package/api/resources/companies/client/requests/ListCompaniesRequest.d.ts +11 -1
- package/api/resources/companies/client/requests/ListEntityTraitDefinitionsRequest.d.ts +1 -1
- package/api/resources/companies/client/requests/ListUsersRequest.d.ts +10 -1
- package/api/resources/companies/client/requests/UpdateEntityTraitDefinitionRequestBody.d.ts +1 -1
- package/api/resources/companies/types/CountCompaniesParams.d.ts +5 -1
- package/api/resources/companies/types/CountUsersParams.d.ts +4 -1
- package/api/resources/companies/types/GetActiveCompanySubscriptionParams.d.ts +1 -0
- package/api/resources/companies/types/ListCompaniesParams.d.ts +5 -1
- package/api/resources/companies/types/ListUsersParams.d.ts +4 -1
- package/api/resources/components/client/Client.d.ts +9 -9
- package/api/resources/components/client/Client.js +49 -40
- package/api/resources/components/client/requests/CreateComponentRequestBody.d.ts +1 -1
- package/api/resources/components/client/requests/PreviewComponentDataRequest.d.ts +11 -0
- package/api/resources/components/client/requests/index.d.ts +1 -0
- package/api/resources/components/types/PreviewComponentDataParams.d.ts +10 -0
- package/api/resources/{billing/types/GetBillingPlanGroupByAccountIdResponse.d.ts → components/types/PreviewComponentDataResponse.d.ts} +3 -3
- package/api/resources/components/types/index.d.ts +2 -1
- package/api/resources/components/types/index.js +2 -1
- package/api/resources/crm/client/Client.js +5 -5
- package/api/resources/crm/client/requests/CreateCrmLineItemRequestBody.d.ts +1 -1
- package/api/resources/entitlements/client/Client.d.ts +4 -4
- package/api/resources/entitlements/client/Client.js +39 -27
- package/api/resources/entitlements/client/requests/CountCompanyOverridesRequest.d.ts +18 -0
- package/api/resources/entitlements/client/requests/CountFeatureUsageRequest.d.ts +2 -1
- package/api/resources/entitlements/client/requests/CountPlanEntitlementsRequest.d.ts +22 -0
- package/api/resources/entitlements/client/requests/CreateCompanyOverrideRequestBody.d.ts +4 -1
- package/api/resources/entitlements/client/requests/CreatePlanEntitlementRequestBody.d.ts +5 -1
- package/api/resources/entitlements/client/requests/ListCompanyOverridesRequest.d.ts +18 -0
- package/api/resources/entitlements/client/requests/ListFeatureUsageRequest.d.ts +2 -1
- package/api/resources/entitlements/client/requests/ListPlanEntitlementsRequest.d.ts +22 -0
- package/api/resources/entitlements/client/requests/UpdateCompanyOverrideRequestBody.d.ts +4 -1
- package/api/resources/entitlements/client/requests/UpdatePlanEntitlementRequestBody.d.ts +3 -1
- package/api/resources/entitlements/types/CountCompanyOverridesParams.d.ts +6 -0
- package/api/resources/entitlements/types/CountFeatureUsageParams.d.ts +1 -0
- package/api/resources/entitlements/types/CountPlanEntitlementsParams.d.ts +8 -0
- package/api/resources/entitlements/types/CreateCompanyOverrideRequestBodyMetricPeriod.d.ts +3 -1
- package/api/resources/entitlements/types/CreateCompanyOverrideRequestBodyMetricPeriod.js +2 -0
- package/api/resources/entitlements/types/CreateCompanyOverrideRequestBodyMetricPeriodMonthReset.d.ts +8 -0
- package/api/resources/entitlements/types/CreateCompanyOverrideRequestBodyMetricPeriodMonthReset.js +10 -0
- package/api/resources/entitlements/types/CreatePlanEntitlementRequestBodyMetricPeriod.d.ts +3 -1
- package/api/resources/entitlements/types/CreatePlanEntitlementRequestBodyMetricPeriod.js +2 -0
- package/api/resources/entitlements/types/CreatePlanEntitlementRequestBodyMetricPeriodMonthReset.d.ts +8 -0
- package/api/resources/entitlements/types/CreatePlanEntitlementRequestBodyMetricPeriodMonthReset.js +10 -0
- package/api/resources/entitlements/types/ListCompanyOverridesParams.d.ts +6 -0
- package/api/resources/entitlements/types/ListFeatureUsageParams.d.ts +1 -0
- package/api/resources/entitlements/types/ListPlanEntitlementsParams.d.ts +8 -0
- package/api/resources/entitlements/types/UpdateCompanyOverrideRequestBodyMetricPeriod.d.ts +3 -1
- package/api/resources/entitlements/types/UpdateCompanyOverrideRequestBodyMetricPeriod.js +2 -0
- package/api/resources/entitlements/types/UpdateCompanyOverrideRequestBodyMetricPeriodMonthReset.d.ts +8 -0
- package/api/resources/entitlements/types/UpdateCompanyOverrideRequestBodyMetricPeriodMonthReset.js +10 -0
- package/api/resources/entitlements/types/UpdatePlanEntitlementRequestBodyMetricPeriod.d.ts +3 -1
- package/api/resources/entitlements/types/UpdatePlanEntitlementRequestBodyMetricPeriod.js +2 -0
- package/api/resources/entitlements/types/UpdatePlanEntitlementRequestBodyMetricPeriodMonthReset.d.ts +8 -0
- package/api/resources/entitlements/types/UpdatePlanEntitlementRequestBodyMetricPeriodMonthReset.js +10 -0
- package/api/resources/entitlements/types/index.d.ts +4 -0
- package/api/resources/entitlements/types/index.js +4 -0
- package/api/resources/events/client/Client.d.ts +2 -15
- package/api/resources/events/client/Client.js +9 -142
- package/api/resources/events/client/requests/CreateEventBatchRequestBody.d.ts +1 -1
- package/api/resources/events/client/requests/index.d.ts +0 -1
- package/api/resources/events/types/index.d.ts +0 -2
- package/api/resources/events/types/index.js +0 -2
- package/api/resources/features/client/Client.d.ts +21 -21
- package/api/resources/features/client/Client.js +40 -40
- package/api/resources/features/client/requests/CreateFeatureRequestBody.d.ts +1 -1
- package/api/resources/features/client/requests/UpdateFlagRulesRequestBody.d.ts +4 -4
- package/api/resources/index.d.ts +3 -0
- package/api/resources/index.js +4 -1
- package/api/resources/plangroups/client/Client.d.ts +74 -0
- package/api/resources/plangroups/client/Client.js +346 -0
- package/api/resources/plangroups/client/index.d.ts +1 -0
- package/api/resources/plangroups/client/index.js +17 -0
- package/{dist/api/resources/billing/client/requests/CreateBillingPlanGroupRequestBody.d.ts → api/resources/plangroups/client/requests/CreatePlanGroupRequestBody.d.ts} +5 -1
- package/api/resources/{billing/client/requests/UpdateBillingPlanGroupRequestBody.d.ts → plangroups/client/requests/UpdatePlanGroupRequestBody.d.ts} +5 -1
- package/api/resources/plangroups/client/requests/index.d.ts +2 -0
- package/api/resources/plangroups/client/requests/index.js +2 -0
- package/api/resources/plangroups/index.d.ts +2 -0
- package/api/resources/plangroups/index.js +18 -0
- package/api/resources/plangroups/types/CreatePlanGroupResponse.d.ts +9 -0
- package/api/resources/plangroups/types/GetPlanGroupResponse.d.ts +9 -0
- package/api/resources/plangroups/types/UpdatePlanGroupResponse.d.ts +9 -0
- package/api/resources/plangroups/types/index.d.ts +3 -0
- package/api/resources/plangroups/types/index.js +19 -0
- package/api/resources/plans/client/Client.d.ts +7 -18
- package/api/resources/plans/client/Client.js +37 -113
- package/api/resources/plans/client/requests/CountPlansRequest.d.ts +9 -1
- package/api/resources/plans/client/requests/CreatePlanRequestBody.d.ts +1 -1
- package/api/resources/plans/client/requests/ListPlansRequest.d.ts +9 -1
- package/api/resources/plans/client/requests/UpdateAudienceRequestBody.d.ts +4 -4
- package/api/resources/plans/client/requests/UpsertBillingProductRequestBody.d.ts +6 -2
- package/api/resources/plans/types/CountPlansParams.d.ts +4 -0
- package/api/resources/plans/types/ListPlansParams.d.ts +4 -0
- package/api/resources/plans/types/index.d.ts +0 -1
- package/api/resources/plans/types/index.js +0 -1
- package/api/resources/webhooks/client/Client.d.ts +1 -1
- package/api/resources/webhooks/client/Client.js +18 -18
- package/api/resources/webhooks/client/requests/CountWebhookEventsRequest.d.ts +1 -1
- package/api/resources/webhooks/client/requests/CreateWebhookRequestBody.d.ts +1 -1
- package/api/resources/webhooks/client/requests/ListWebhookEventsRequest.d.ts +1 -1
- package/api/types/BillingCustomerSubscription.d.ts +4 -0
- package/api/types/BillingMeterResponseData.d.ts +10 -0
- package/api/types/BillingPriceResponseData.d.ts +1 -0
- package/api/types/BillingPriceView.d.ts +18 -0
- package/api/types/BillingProductDetailResponseData.d.ts +1 -1
- package/api/types/BillingProductForSubscriptionResponseData.d.ts +5 -2
- package/api/types/BillingProductPlanResponseData.d.ts +2 -0
- package/api/types/BillingProductPriceResponseData.d.ts +15 -0
- package/api/types/BillingProductPricing.d.ts +6 -2
- package/api/types/BillingSubscriptionResponseData.d.ts +13 -6
- package/api/types/BillingSubscriptionView.d.ts +23 -0
- package/api/types/CheckFlagRequestBody.d.ts +2 -2
- package/api/types/CompanyDetailResponseData.d.ts +5 -3
- package/api/types/CompanyOverrideResponseData.d.ts +3 -1
- package/api/types/CompanyPlanDetailResponseData.d.ts +26 -0
- package/api/types/{BillingPlan.d.ts → CompanyPlanWithBillingSubView.d.ts} +2 -1
- package/api/types/CompanySubscriptionResponseData.d.ts +5 -0
- package/api/types/ComponentCapabilities.d.ts +6 -0
- package/api/types/ComponentCapabilities.js +5 -0
- package/api/types/ComponentHydrateResponseData.d.ts +6 -3
- package/api/types/ComponentPreviewResponseData.d.ts +19 -0
- package/api/types/ComponentPreviewResponseData.js +5 -0
- package/api/types/ComponentResponseData.d.ts +3 -0
- package/api/types/CreateEntitlementReqCommon.d.ts +14 -0
- package/api/types/CreateEntitlementReqCommon.js +5 -0
- package/api/types/CreateEntitlementReqCommonMetricPeriod.d.ts +11 -0
- package/api/types/{UpdateReqCommonMetricPeriod.js → CreateEntitlementReqCommonMetricPeriod.js} +4 -2
- package/api/types/CreateEntitlementReqCommonMetricPeriodMonthReset.d.ts +8 -0
- package/api/types/CreateEntitlementReqCommonMetricPeriodMonthReset.js +10 -0
- package/api/types/{UpdateReqCommonValueType.d.ts → CreateEntitlementReqCommonValueType.d.ts} +2 -2
- package/{dist/api/types/CreateReqCommonValueType.js → api/types/CreateEntitlementReqCommonValueType.js} +2 -2
- package/api/types/CreateOrUpdateConditionRequestBody.d.ts +2 -0
- package/api/types/CreateOrUpdateConditionRequestBodyConditionType.d.ts +2 -1
- package/api/types/CreateOrUpdateConditionRequestBodyConditionType.js +1 -0
- package/api/types/CreateOrUpdateConditionRequestBodyMetricPeriod.d.ts +3 -1
- package/api/types/CreateOrUpdateConditionRequestBodyMetricPeriod.js +2 -0
- package/api/types/CreateOrUpdateConditionRequestBodyMetricPeriodMonthReset.d.ts +11 -0
- package/api/types/CreateOrUpdateConditionRequestBodyMetricPeriodMonthReset.js +10 -0
- package/api/types/CreateOrUpdateConditionRequestBodyOperator.d.ts +3 -1
- package/api/types/CreateOrUpdateConditionRequestBodyOperator.js +2 -0
- package/api/types/EventBodyFlagCheck.d.ts +2 -2
- package/api/types/FeatureCompanyResponseData.d.ts +2 -0
- package/api/types/FeatureCompanyUserResponseData.d.ts +2 -0
- package/api/types/FeatureUsageResponseData.d.ts +2 -0
- package/{dist/api/types/RuleConditionResourceResponseData.d.ts → api/types/GenericPreviewObject.d.ts} +3 -1
- package/api/types/GenericPreviewObject.js +5 -0
- package/api/types/InvoiceRequestBody.d.ts +16 -0
- package/api/types/InvoiceRequestBody.js +5 -0
- package/api/types/InvoiceResponseData.d.ts +22 -0
- package/api/types/InvoiceResponseData.js +5 -0
- package/api/types/MeterRequestBody.d.ts +8 -0
- package/api/types/MeterRequestBody.js +5 -0
- package/api/types/PaymentMethodRequestBody.d.ts +17 -0
- package/api/types/PaymentMethodRequestBody.js +5 -0
- package/api/types/PaymentMethodResponseData.d.ts +23 -0
- package/api/types/PaymentMethodResponseData.js +5 -0
- package/api/types/PlanDetailResponseData.d.ts +7 -3
- package/api/types/PlanEntitlementResponseData.d.ts +3 -3
- package/api/types/PlanGroupDetailResponseData.d.ts +16 -0
- package/api/types/PlanGroupDetailResponseData.js +5 -0
- package/api/types/PlanGroupPlanDetailResponseData.d.ts +24 -0
- package/api/types/PlanGroupPlanDetailResponseData.js +5 -0
- package/api/types/{BillingPlanGroupResponseData.d.ts → PlanGroupResponseData.d.ts} +4 -1
- package/api/types/PlanGroupResponseData.js +5 -0
- package/api/types/PlanResponseData.d.ts +1 -0
- package/api/types/PreviewObjectResponseData.d.ts +9 -0
- package/api/types/PreviewObjectResponseData.js +5 -0
- package/api/types/RuleConditionDetailResponseData.d.ts +2 -1
- package/api/types/RuleConditionResponseData.d.ts +1 -0
- package/api/types/StripeEmbedInfo.d.ts +7 -0
- package/api/types/StripeEmbedInfo.js +5 -0
- package/api/types/UpdateEntitlementReqCommon.d.ts +13 -0
- package/api/types/UpdateEntitlementReqCommon.js +5 -0
- package/api/types/UpdateEntitlementReqCommonMetricPeriod.d.ts +11 -0
- package/api/types/{CreateReqCommonMetricPeriod.js → UpdateEntitlementReqCommonMetricPeriod.js} +4 -2
- package/api/types/UpdateEntitlementReqCommonMetricPeriodMonthReset.d.ts +8 -0
- package/api/types/UpdateEntitlementReqCommonMetricPeriodMonthReset.js +10 -0
- package/{dist/api/types/CreateReqCommonValueType.d.ts → api/types/UpdateEntitlementReqCommonValueType.d.ts} +2 -2
- package/{dist/api/types/UpdateReqCommonValueType.js → api/types/UpdateEntitlementReqCommonValueType.js} +2 -2
- package/api/types/index.d.ts +28 -10
- package/api/types/index.js +28 -10
- package/core/fetcher/Fetcher.d.ts +1 -1
- package/core/fetcher/getResponseBody.js +3 -0
- package/core/fetcher/requestWithRetries.js +13 -4
- package/core/fetcher/stream-wrappers/Node18UniversalStreamWrapper.d.ts +8 -8
- package/core/fetcher/stream-wrappers/Node18UniversalStreamWrapper.js +23 -2
- package/core/fetcher/stream-wrappers/NodePre18StreamWrapper.d.ts +2 -1
- package/core/fetcher/stream-wrappers/NodePre18StreamWrapper.js +16 -0
- package/core/fetcher/stream-wrappers/UndiciStreamWrapper.d.ts +2 -1
- package/core/fetcher/stream-wrappers/UndiciStreamWrapper.js +23 -2
- package/core/fetcher/stream-wrappers/chooseStreamWrapper.d.ts +1 -0
- package/core/fetcher/stream-wrappers/chooseStreamWrapper.js +1 -1
- package/core/schemas/Schema.d.ts +1 -0
- package/core/schemas/Schema.js +1 -0
- package/core/schemas/builders/bigint/bigint.d.ts +2 -0
- package/core/schemas/builders/bigint/bigint.js +50 -0
- package/core/schemas/builders/bigint/index.d.ts +1 -0
- package/core/schemas/builders/bigint/index.js +5 -0
- package/core/schemas/builders/index.d.ts +1 -0
- package/core/schemas/builders/index.js +1 -0
- package/core/schemas/utils/getErrorMessageForIncorrectType.js +4 -0
- package/dist/Client.d.ts +3 -0
- package/dist/Client.js +10 -5
- package/dist/api/resources/accesstokens/client/Client.js +1 -1
- package/dist/api/resources/accounts/client/Client.d.ts +1 -1
- package/dist/api/resources/accounts/client/Client.js +15 -15
- package/dist/api/resources/accounts/client/requests/CreateEnvironmentRequestBody.d.ts +1 -1
- package/dist/api/resources/billing/client/Client.d.ts +117 -32
- package/dist/api/resources/billing/client/Client.js +667 -83
- package/dist/api/resources/billing/client/requests/CountBillingProductsRequest.d.ts +33 -0
- package/dist/api/resources/billing/client/requests/CountBillingProductsRequest.js +5 -0
- package/dist/api/resources/billing/client/requests/CreateBillingPriceRequestBody.d.ts +6 -1
- package/dist/api/resources/billing/client/requests/CreateBillingSubscriptionsRequestBody.d.ts +12 -2
- package/dist/api/resources/billing/client/requests/CreateInvoiceRequestBody.d.ts +29 -0
- package/dist/api/resources/billing/client/requests/CreateInvoiceRequestBody.js +5 -0
- package/dist/api/resources/billing/client/requests/CreateMeterRequestBody.d.ts +18 -0
- package/dist/api/resources/billing/client/requests/CreateMeterRequestBody.js +5 -0
- package/dist/api/resources/billing/client/requests/CreatePaymentMethodRequestBody.d.ts +26 -0
- package/dist/api/resources/billing/client/requests/CreatePaymentMethodRequestBody.js +5 -0
- package/dist/api/resources/billing/client/requests/ListBillingProductsRequest.d.ts +13 -0
- package/dist/api/resources/billing/client/requests/ListInvoicesRequest.d.ts +22 -0
- package/dist/api/resources/billing/client/requests/ListInvoicesRequest.js +5 -0
- package/dist/api/resources/billing/client/requests/ListMetersRequest.d.ts +18 -0
- package/dist/api/resources/billing/client/requests/ListMetersRequest.js +5 -0
- package/dist/api/resources/billing/client/requests/ListPaymentMethodsRequest.d.ts +22 -0
- package/dist/api/resources/billing/client/requests/ListPaymentMethodsRequest.js +5 -0
- package/dist/api/resources/billing/client/requests/ListProductPricesRequest.d.ts +13 -0
- package/dist/api/resources/billing/client/requests/SearchBillingPricesRequest.d.ts +20 -0
- package/dist/api/resources/billing/client/requests/SearchBillingPricesRequest.js +5 -0
- package/dist/api/resources/billing/client/requests/index.d.ts +8 -3
- package/dist/api/resources/billing/types/CountBillingProductsParams.d.ts +22 -0
- package/dist/api/resources/billing/types/CountBillingProductsParams.js +5 -0
- package/dist/api/resources/billing/types/CountBillingProductsResponse.d.ts +9 -0
- package/dist/api/resources/billing/types/CountBillingProductsResponse.js +5 -0
- package/dist/api/resources/billing/types/DeleteProductPriceResponse.d.ts +9 -0
- package/dist/api/resources/billing/types/DeleteProductPriceResponse.js +5 -0
- package/dist/api/resources/billing/types/ListBillingProductsParams.d.ts +7 -0
- package/dist/api/resources/billing/types/ListInvoicesParams.d.ts +15 -0
- package/dist/api/resources/billing/types/ListInvoicesParams.js +5 -0
- package/dist/api/resources/billing/types/ListInvoicesResponse.d.ts +10 -0
- package/dist/api/resources/billing/types/ListInvoicesResponse.js +5 -0
- package/dist/api/resources/billing/types/ListMetersParams.d.ts +13 -0
- package/dist/api/resources/billing/types/ListMetersParams.js +5 -0
- package/dist/api/resources/billing/types/ListMetersResponse.d.ts +10 -0
- package/dist/api/resources/billing/types/ListMetersResponse.js +5 -0
- package/dist/api/resources/billing/types/ListPaymentMethodsParams.d.ts +15 -0
- package/dist/api/resources/billing/types/ListPaymentMethodsParams.js +5 -0
- package/dist/api/resources/billing/types/ListPaymentMethodsResponse.d.ts +10 -0
- package/dist/api/resources/billing/types/ListPaymentMethodsResponse.js +5 -0
- package/dist/api/resources/billing/types/ListProductPricesParams.d.ts +7 -0
- package/dist/api/resources/billing/types/SearchBillingPricesParams.d.ts +15 -0
- package/dist/api/resources/billing/types/SearchBillingPricesParams.js +5 -0
- package/dist/api/resources/billing/types/SearchBillingPricesResponse.d.ts +10 -0
- package/dist/api/resources/billing/types/SearchBillingPricesResponse.js +5 -0
- package/dist/api/resources/billing/types/UpsertBillingMeterResponse.d.ts +9 -0
- package/dist/api/resources/billing/types/UpsertBillingMeterResponse.js +5 -0
- package/dist/api/resources/billing/types/UpsertInvoiceResponse.d.ts +9 -0
- package/dist/api/resources/billing/types/UpsertInvoiceResponse.js +5 -0
- package/dist/api/resources/billing/types/UpsertPaymentMethodResponse.d.ts +9 -0
- package/dist/api/resources/billing/types/UpsertPaymentMethodResponse.js +5 -0
- package/dist/api/resources/billing/types/index.d.ts +14 -4
- package/dist/api/resources/billing/types/index.js +14 -4
- package/dist/api/resources/companies/client/Client.d.ts +5 -7
- package/dist/api/resources/companies/client/Client.js +64 -50
- package/dist/api/resources/companies/client/requests/CountCompaniesRequest.d.ts +11 -1
- package/dist/api/resources/companies/client/requests/CountEntityTraitDefinitionsRequest.d.ts +1 -1
- package/dist/api/resources/companies/client/requests/CountUsersRequest.d.ts +10 -1
- package/dist/api/resources/companies/client/requests/CreateEntityTraitDefinitionRequestBody.d.ts +2 -2
- package/dist/api/resources/companies/client/requests/GetActiveCompanySubscriptionRequest.d.ts +3 -4
- package/dist/api/resources/companies/client/requests/ListCompaniesRequest.d.ts +11 -1
- package/dist/api/resources/companies/client/requests/ListEntityTraitDefinitionsRequest.d.ts +1 -1
- package/dist/api/resources/companies/client/requests/ListUsersRequest.d.ts +10 -1
- package/dist/api/resources/companies/client/requests/UpdateEntityTraitDefinitionRequestBody.d.ts +1 -1
- package/dist/api/resources/companies/types/CountCompaniesParams.d.ts +5 -1
- package/dist/api/resources/companies/types/CountUsersParams.d.ts +4 -1
- package/dist/api/resources/companies/types/GetActiveCompanySubscriptionParams.d.ts +1 -0
- package/dist/api/resources/companies/types/ListCompaniesParams.d.ts +5 -1
- package/dist/api/resources/companies/types/ListUsersParams.d.ts +4 -1
- package/dist/api/resources/components/client/Client.d.ts +9 -9
- package/dist/api/resources/components/client/Client.js +49 -40
- package/dist/api/resources/components/client/requests/CreateComponentRequestBody.d.ts +1 -1
- package/dist/api/resources/components/client/requests/PreviewComponentDataRequest.d.ts +11 -0
- package/dist/api/resources/components/client/requests/PreviewComponentDataRequest.js +5 -0
- package/dist/api/resources/components/client/requests/index.d.ts +1 -0
- package/dist/api/resources/components/types/PreviewComponentDataParams.d.ts +10 -0
- package/dist/api/resources/components/types/PreviewComponentDataParams.js +5 -0
- package/{api/resources/billing/types/ChangeSubscriptionWebResponse.d.ts → dist/api/resources/components/types/PreviewComponentDataResponse.d.ts} +3 -3
- package/dist/api/resources/components/types/PreviewComponentDataResponse.js +5 -0
- package/dist/api/resources/components/types/index.d.ts +2 -1
- package/dist/api/resources/components/types/index.js +2 -1
- package/dist/api/resources/crm/client/Client.js +5 -5
- package/dist/api/resources/crm/client/requests/CreateCrmLineItemRequestBody.d.ts +1 -1
- package/dist/api/resources/entitlements/client/Client.d.ts +4 -4
- package/dist/api/resources/entitlements/client/Client.js +39 -27
- package/dist/api/resources/entitlements/client/requests/CountCompanyOverridesRequest.d.ts +18 -0
- package/dist/api/resources/entitlements/client/requests/CountFeatureUsageRequest.d.ts +2 -1
- package/dist/api/resources/entitlements/client/requests/CountPlanEntitlementsRequest.d.ts +22 -0
- package/dist/api/resources/entitlements/client/requests/CreateCompanyOverrideRequestBody.d.ts +4 -1
- package/dist/api/resources/entitlements/client/requests/CreatePlanEntitlementRequestBody.d.ts +5 -1
- package/dist/api/resources/entitlements/client/requests/ListCompanyOverridesRequest.d.ts +18 -0
- package/dist/api/resources/entitlements/client/requests/ListFeatureUsageRequest.d.ts +2 -1
- package/dist/api/resources/entitlements/client/requests/ListPlanEntitlementsRequest.d.ts +22 -0
- package/dist/api/resources/entitlements/client/requests/UpdateCompanyOverrideRequestBody.d.ts +4 -1
- package/dist/api/resources/entitlements/client/requests/UpdatePlanEntitlementRequestBody.d.ts +3 -1
- package/dist/api/resources/entitlements/types/CountCompanyOverridesParams.d.ts +6 -0
- package/dist/api/resources/entitlements/types/CountFeatureUsageParams.d.ts +1 -0
- package/dist/api/resources/entitlements/types/CountPlanEntitlementsParams.d.ts +8 -0
- package/dist/api/resources/entitlements/types/CreateCompanyOverrideRequestBodyMetricPeriod.d.ts +3 -1
- package/dist/api/resources/entitlements/types/CreateCompanyOverrideRequestBodyMetricPeriod.js +2 -0
- package/dist/api/resources/entitlements/types/CreateCompanyOverrideRequestBodyMetricPeriodMonthReset.d.ts +8 -0
- package/dist/api/resources/entitlements/types/CreateCompanyOverrideRequestBodyMetricPeriodMonthReset.js +10 -0
- package/dist/api/resources/entitlements/types/CreatePlanEntitlementRequestBodyMetricPeriod.d.ts +3 -1
- package/dist/api/resources/entitlements/types/CreatePlanEntitlementRequestBodyMetricPeriod.js +2 -0
- package/dist/api/resources/entitlements/types/CreatePlanEntitlementRequestBodyMetricPeriodMonthReset.d.ts +8 -0
- package/dist/api/resources/entitlements/types/CreatePlanEntitlementRequestBodyMetricPeriodMonthReset.js +10 -0
- package/dist/api/resources/entitlements/types/ListCompanyOverridesParams.d.ts +6 -0
- package/dist/api/resources/entitlements/types/ListFeatureUsageParams.d.ts +1 -0
- package/dist/api/resources/entitlements/types/ListPlanEntitlementsParams.d.ts +8 -0
- package/dist/api/resources/entitlements/types/UpdateCompanyOverrideRequestBodyMetricPeriod.d.ts +3 -1
- package/dist/api/resources/entitlements/types/UpdateCompanyOverrideRequestBodyMetricPeriod.js +2 -0
- package/dist/api/resources/entitlements/types/UpdateCompanyOverrideRequestBodyMetricPeriodMonthReset.d.ts +8 -0
- package/dist/api/resources/entitlements/types/UpdateCompanyOverrideRequestBodyMetricPeriodMonthReset.js +10 -0
- package/dist/api/resources/entitlements/types/UpdatePlanEntitlementRequestBodyMetricPeriod.d.ts +3 -1
- package/dist/api/resources/entitlements/types/UpdatePlanEntitlementRequestBodyMetricPeriod.js +2 -0
- package/dist/api/resources/entitlements/types/UpdatePlanEntitlementRequestBodyMetricPeriodMonthReset.d.ts +8 -0
- package/dist/api/resources/entitlements/types/UpdatePlanEntitlementRequestBodyMetricPeriodMonthReset.js +10 -0
- package/dist/api/resources/entitlements/types/index.d.ts +4 -0
- package/dist/api/resources/entitlements/types/index.js +4 -0
- package/dist/api/resources/events/client/Client.d.ts +2 -15
- package/dist/api/resources/events/client/Client.js +9 -142
- package/dist/api/resources/events/client/requests/CreateEventBatchRequestBody.d.ts +1 -1
- package/dist/api/resources/events/client/requests/index.d.ts +0 -1
- package/dist/api/resources/events/types/index.d.ts +0 -2
- package/dist/api/resources/events/types/index.js +0 -2
- package/dist/api/resources/features/client/Client.d.ts +21 -21
- package/dist/api/resources/features/client/Client.js +40 -40
- package/dist/api/resources/features/client/requests/CreateFeatureRequestBody.d.ts +1 -1
- package/dist/api/resources/features/client/requests/UpdateFlagRulesRequestBody.d.ts +4 -4
- package/dist/api/resources/index.d.ts +3 -0
- package/dist/api/resources/index.js +4 -1
- package/dist/api/resources/plangroups/client/Client.d.ts +74 -0
- package/dist/api/resources/plangroups/client/Client.js +346 -0
- package/dist/api/resources/plangroups/client/index.d.ts +1 -0
- package/dist/api/resources/plangroups/client/index.js +17 -0
- package/{api/resources/billing/client/requests/CreateBillingPlanGroupRequestBody.d.ts → dist/api/resources/plangroups/client/requests/CreatePlanGroupRequestBody.d.ts} +5 -1
- package/dist/api/resources/plangroups/client/requests/CreatePlanGroupRequestBody.js +5 -0
- package/dist/api/resources/{billing/client/requests/UpdateBillingPlanGroupRequestBody.d.ts → plangroups/client/requests/UpdatePlanGroupRequestBody.d.ts} +5 -1
- package/dist/api/resources/plangroups/client/requests/UpdatePlanGroupRequestBody.js +5 -0
- package/dist/api/resources/plangroups/client/requests/index.d.ts +2 -0
- package/dist/api/resources/plangroups/client/requests/index.js +2 -0
- package/dist/api/resources/plangroups/index.d.ts +2 -0
- package/dist/api/resources/plangroups/index.js +18 -0
- package/dist/api/resources/plangroups/types/CreatePlanGroupResponse.d.ts +9 -0
- package/dist/api/resources/plangroups/types/CreatePlanGroupResponse.js +5 -0
- package/dist/api/resources/plangroups/types/GetPlanGroupResponse.d.ts +9 -0
- package/dist/api/resources/plangroups/types/GetPlanGroupResponse.js +5 -0
- package/dist/api/resources/plangroups/types/UpdatePlanGroupResponse.d.ts +9 -0
- package/dist/api/resources/plangroups/types/UpdatePlanGroupResponse.js +5 -0
- package/dist/api/resources/plangroups/types/index.d.ts +3 -0
- package/dist/api/resources/plangroups/types/index.js +19 -0
- package/dist/api/resources/plans/client/Client.d.ts +7 -18
- package/dist/api/resources/plans/client/Client.js +37 -113
- package/dist/api/resources/plans/client/requests/CountPlansRequest.d.ts +9 -1
- package/dist/api/resources/plans/client/requests/CreatePlanRequestBody.d.ts +1 -1
- package/dist/api/resources/plans/client/requests/ListPlansRequest.d.ts +9 -1
- package/dist/api/resources/plans/client/requests/UpdateAudienceRequestBody.d.ts +4 -4
- package/dist/api/resources/plans/client/requests/UpsertBillingProductRequestBody.d.ts +6 -2
- package/dist/api/resources/plans/types/CountPlansParams.d.ts +4 -0
- package/dist/api/resources/plans/types/ListPlansParams.d.ts +4 -0
- package/dist/api/resources/plans/types/index.d.ts +0 -1
- package/dist/api/resources/plans/types/index.js +0 -1
- package/dist/api/resources/webhooks/client/Client.d.ts +1 -1
- package/dist/api/resources/webhooks/client/Client.js +18 -18
- package/dist/api/resources/webhooks/client/requests/CountWebhookEventsRequest.d.ts +1 -1
- package/dist/api/resources/webhooks/client/requests/CreateWebhookRequestBody.d.ts +1 -1
- package/dist/api/resources/webhooks/client/requests/ListWebhookEventsRequest.d.ts +1 -1
- package/dist/api/types/BillingCustomerSubscription.d.ts +4 -0
- package/dist/api/types/BillingMeterResponseData.d.ts +10 -0
- package/dist/api/types/BillingMeterResponseData.js +5 -0
- package/dist/api/types/BillingPriceResponseData.d.ts +1 -0
- package/dist/api/types/BillingPriceView.d.ts +18 -0
- package/dist/api/types/BillingPriceView.js +5 -0
- package/dist/api/types/BillingProductDetailResponseData.d.ts +1 -1
- package/dist/api/types/BillingProductForSubscriptionResponseData.d.ts +5 -2
- package/dist/api/types/BillingProductPlanResponseData.d.ts +2 -0
- package/dist/api/types/BillingProductPriceResponseData.d.ts +15 -0
- package/dist/api/types/BillingProductPriceResponseData.js +5 -0
- package/dist/api/types/BillingProductPricing.d.ts +6 -2
- package/dist/api/types/BillingSubscriptionResponseData.d.ts +13 -6
- package/dist/api/types/BillingSubscriptionView.d.ts +23 -0
- package/dist/api/types/BillingSubscriptionView.js +5 -0
- package/dist/api/types/CheckFlagRequestBody.d.ts +2 -2
- package/dist/api/types/CompanyDetailResponseData.d.ts +5 -3
- package/dist/api/types/CompanyOverrideResponseData.d.ts +3 -1
- package/dist/api/types/CompanyPlanDetailResponseData.d.ts +26 -0
- package/dist/api/types/CompanyPlanDetailResponseData.js +5 -0
- package/dist/api/types/{BillingPlan.d.ts → CompanyPlanWithBillingSubView.d.ts} +2 -1
- package/dist/api/types/CompanyPlanWithBillingSubView.js +5 -0
- package/dist/api/types/CompanySubscriptionResponseData.d.ts +5 -0
- package/dist/api/types/ComponentCapabilities.d.ts +6 -0
- package/dist/api/types/ComponentCapabilities.js +5 -0
- package/dist/api/types/ComponentHydrateResponseData.d.ts +6 -3
- package/dist/api/types/ComponentPreviewResponseData.d.ts +19 -0
- package/dist/api/types/ComponentPreviewResponseData.js +5 -0
- package/dist/api/types/ComponentResponseData.d.ts +3 -0
- package/dist/api/types/CreateEntitlementReqCommon.d.ts +14 -0
- package/dist/api/types/CreateEntitlementReqCommon.js +5 -0
- package/dist/api/types/CreateEntitlementReqCommonMetricPeriod.d.ts +11 -0
- package/dist/api/types/{CreateReqCommonMetricPeriod.js → CreateEntitlementReqCommonMetricPeriod.js} +4 -2
- package/dist/api/types/CreateEntitlementReqCommonMetricPeriodMonthReset.d.ts +8 -0
- package/dist/api/types/CreateEntitlementReqCommonMetricPeriodMonthReset.js +10 -0
- package/{api/types/CreateReqCommonValueType.d.ts → dist/api/types/CreateEntitlementReqCommonValueType.d.ts} +2 -2
- package/{api/types/UpdateReqCommonValueType.js → dist/api/types/CreateEntitlementReqCommonValueType.js} +2 -2
- package/dist/api/types/CreateOrUpdateConditionRequestBody.d.ts +2 -0
- package/dist/api/types/CreateOrUpdateConditionRequestBodyConditionType.d.ts +2 -1
- package/dist/api/types/CreateOrUpdateConditionRequestBodyConditionType.js +1 -0
- package/dist/api/types/CreateOrUpdateConditionRequestBodyMetricPeriod.d.ts +3 -1
- package/dist/api/types/CreateOrUpdateConditionRequestBodyMetricPeriod.js +2 -0
- package/dist/api/types/CreateOrUpdateConditionRequestBodyMetricPeriodMonthReset.d.ts +11 -0
- package/dist/api/types/CreateOrUpdateConditionRequestBodyMetricPeriodMonthReset.js +10 -0
- package/dist/api/types/CreateOrUpdateConditionRequestBodyOperator.d.ts +3 -1
- package/dist/api/types/CreateOrUpdateConditionRequestBodyOperator.js +2 -0
- package/dist/api/types/EventBodyFlagCheck.d.ts +2 -2
- package/dist/api/types/FeatureCompanyResponseData.d.ts +2 -0
- package/dist/api/types/FeatureCompanyUserResponseData.d.ts +2 -0
- package/dist/api/types/FeatureUsageResponseData.d.ts +2 -0
- package/{api/types/RuleConditionResourceResponseData.d.ts → dist/api/types/GenericPreviewObject.d.ts} +3 -1
- package/dist/api/types/GenericPreviewObject.js +5 -0
- package/dist/api/types/InvoiceRequestBody.d.ts +16 -0
- package/dist/api/types/InvoiceRequestBody.js +5 -0
- package/dist/api/types/InvoiceResponseData.d.ts +22 -0
- package/dist/api/types/InvoiceResponseData.js +5 -0
- package/dist/api/types/MeterRequestBody.d.ts +8 -0
- package/dist/api/types/MeterRequestBody.js +5 -0
- package/dist/api/types/PaymentMethodRequestBody.d.ts +17 -0
- package/dist/api/types/PaymentMethodRequestBody.js +5 -0
- package/dist/api/types/PaymentMethodResponseData.d.ts +23 -0
- package/dist/api/types/PaymentMethodResponseData.js +5 -0
- package/dist/api/types/PlanDetailResponseData.d.ts +7 -3
- package/dist/api/types/PlanEntitlementResponseData.d.ts +3 -3
- package/dist/api/types/PlanGroupDetailResponseData.d.ts +16 -0
- package/dist/api/types/PlanGroupDetailResponseData.js +5 -0
- package/dist/api/types/PlanGroupPlanDetailResponseData.d.ts +24 -0
- package/dist/api/types/PlanGroupPlanDetailResponseData.js +5 -0
- package/dist/api/types/{BillingPlanGroupResponseData.d.ts → PlanGroupResponseData.d.ts} +4 -1
- package/dist/api/types/PlanGroupResponseData.js +5 -0
- package/dist/api/types/PlanResponseData.d.ts +1 -0
- package/dist/api/types/PreviewObjectResponseData.d.ts +9 -0
- package/dist/api/types/PreviewObjectResponseData.js +5 -0
- package/dist/api/types/RuleConditionDetailResponseData.d.ts +2 -1
- package/dist/api/types/RuleConditionResponseData.d.ts +1 -0
- package/dist/api/types/StripeEmbedInfo.d.ts +7 -0
- package/dist/api/types/StripeEmbedInfo.js +5 -0
- package/dist/api/types/UpdateEntitlementReqCommon.d.ts +13 -0
- package/dist/api/types/UpdateEntitlementReqCommon.js +5 -0
- package/dist/api/types/UpdateEntitlementReqCommonMetricPeriod.d.ts +11 -0
- package/dist/api/types/{UpdateReqCommonMetricPeriod.js → UpdateEntitlementReqCommonMetricPeriod.js} +4 -2
- package/dist/api/types/UpdateEntitlementReqCommonMetricPeriodMonthReset.d.ts +8 -0
- package/dist/api/types/UpdateEntitlementReqCommonMetricPeriodMonthReset.js +10 -0
- package/dist/api/types/{UpdateReqCommonValueType.d.ts → UpdateEntitlementReqCommonValueType.d.ts} +2 -2
- package/{api/types/CreateReqCommonValueType.js → dist/api/types/UpdateEntitlementReqCommonValueType.js} +2 -2
- package/dist/api/types/index.d.ts +28 -10
- package/dist/api/types/index.js +28 -10
- package/dist/core/fetcher/Fetcher.d.ts +1 -1
- package/dist/core/fetcher/getResponseBody.js +3 -0
- package/dist/core/fetcher/requestWithRetries.js +13 -4
- package/dist/core/fetcher/stream-wrappers/Node18UniversalStreamWrapper.d.ts +8 -8
- package/dist/core/fetcher/stream-wrappers/Node18UniversalStreamWrapper.js +23 -2
- package/dist/core/fetcher/stream-wrappers/NodePre18StreamWrapper.d.ts +2 -1
- package/dist/core/fetcher/stream-wrappers/NodePre18StreamWrapper.js +16 -0
- package/dist/core/fetcher/stream-wrappers/UndiciStreamWrapper.d.ts +2 -1
- package/dist/core/fetcher/stream-wrappers/UndiciStreamWrapper.js +23 -2
- package/dist/core/fetcher/stream-wrappers/chooseStreamWrapper.d.ts +1 -0
- package/dist/core/fetcher/stream-wrappers/chooseStreamWrapper.js +1 -1
- package/dist/core/schemas/Schema.d.ts +1 -0
- package/dist/core/schemas/Schema.js +1 -0
- package/dist/core/schemas/builders/bigint/bigint.d.ts +2 -0
- package/dist/core/schemas/builders/bigint/bigint.js +50 -0
- package/dist/core/schemas/builders/bigint/index.d.ts +1 -0
- package/dist/core/schemas/builders/bigint/index.js +5 -0
- package/dist/core/schemas/builders/index.d.ts +1 -0
- package/dist/core/schemas/builders/index.js +1 -0
- package/dist/core/schemas/utils/getErrorMessageForIncorrectType.js +4 -0
- package/dist/serialization/resources/billing/client/requests/CreateBillingPriceRequestBody.d.ts +3 -0
- package/dist/serialization/resources/billing/client/requests/CreateBillingPriceRequestBody.js +3 -0
- package/dist/serialization/resources/billing/client/requests/CreateBillingSubscriptionsRequestBody.d.ts +4 -0
- package/dist/serialization/resources/billing/client/requests/CreateBillingSubscriptionsRequestBody.js +4 -0
- package/dist/serialization/resources/billing/client/requests/CreateInvoiceRequestBody.d.ts +23 -0
- package/dist/serialization/resources/billing/client/requests/CreateInvoiceRequestBody.js +44 -0
- package/dist/serialization/resources/billing/client/requests/CreateMeterRequestBody.d.ts +15 -0
- package/dist/serialization/resources/billing/client/requests/{ChangeSubscriptionRequestBody.js → CreateMeterRequestBody.js} +6 -5
- package/dist/serialization/resources/billing/client/requests/CreatePaymentMethodRequestBody.d.ts +24 -0
- package/dist/serialization/resources/billing/client/requests/CreatePaymentMethodRequestBody.js +45 -0
- package/dist/serialization/resources/billing/client/requests/index.d.ts +3 -3
- package/dist/serialization/resources/billing/client/requests/index.js +7 -7
- package/dist/serialization/resources/billing/types/CountBillingProductsParams.d.ts +20 -0
- package/dist/serialization/resources/{events/types/ListMetricCountsParams.js → billing/types/CountBillingProductsParams.js} +9 -10
- package/dist/serialization/resources/billing/types/CountBillingProductsResponse.d.ts +15 -0
- package/dist/serialization/resources/billing/types/CountBillingProductsResponse.js +36 -0
- package/dist/serialization/resources/billing/types/DeleteProductPriceResponse.d.ts +14 -0
- package/{serialization/resources/plans/types/ListActivePlansResponse.js → dist/serialization/resources/billing/types/DeleteProductPriceResponse.js} +4 -4
- package/dist/serialization/resources/billing/types/ListBillingProductsParams.d.ts +4 -0
- package/dist/serialization/resources/billing/types/ListBillingProductsParams.js +4 -0
- package/dist/serialization/resources/billing/types/ListInvoicesParams.d.ts +16 -0
- package/dist/serialization/resources/billing/types/ListInvoicesParams.js +37 -0
- package/dist/serialization/resources/billing/types/ListInvoicesResponse.d.ts +15 -0
- package/dist/serialization/resources/billing/types/ListInvoicesResponse.js +36 -0
- package/dist/serialization/resources/billing/types/ListMetersParams.d.ts +14 -0
- package/dist/serialization/resources/billing/types/ListMetersParams.js +35 -0
- package/dist/serialization/resources/billing/types/ListMetersResponse.d.ts +15 -0
- package/dist/serialization/resources/billing/types/ListMetersResponse.js +36 -0
- package/dist/serialization/resources/billing/types/ListPaymentMethodsParams.d.ts +16 -0
- package/dist/serialization/resources/billing/types/ListPaymentMethodsParams.js +37 -0
- package/dist/serialization/resources/billing/types/ListPaymentMethodsResponse.d.ts +15 -0
- package/dist/serialization/resources/billing/types/{ChangeSubscriptionWebResponse.js → ListPaymentMethodsResponse.js} +6 -5
- package/dist/serialization/resources/billing/types/ListProductPricesParams.d.ts +4 -0
- package/dist/serialization/resources/billing/types/ListProductPricesParams.js +4 -0
- package/dist/serialization/resources/billing/types/SearchBillingPricesParams.d.ts +16 -0
- package/dist/serialization/resources/billing/types/SearchBillingPricesParams.js +37 -0
- package/dist/serialization/resources/billing/types/SearchBillingPricesResponse.d.ts +15 -0
- package/dist/serialization/resources/billing/types/{CreateBillingPlanGroupResponse.js → SearchBillingPricesResponse.js} +6 -5
- package/dist/serialization/resources/billing/types/UpsertBillingMeterResponse.d.ts +14 -0
- package/dist/serialization/resources/{plans/types/ListActivePlansResponse.js → billing/types/UpsertBillingMeterResponse.js} +4 -4
- package/dist/serialization/resources/billing/types/UpsertInvoiceResponse.d.ts +14 -0
- package/{serialization/resources/components/types/HydrateComponentResponse.js → dist/serialization/resources/billing/types/UpsertInvoiceResponse.js} +4 -4
- package/dist/serialization/resources/billing/types/UpsertPaymentMethodResponse.d.ts +14 -0
- package/dist/serialization/resources/{components/types/HydrateComponentResponse.js → billing/types/UpsertPaymentMethodResponse.js} +4 -4
- package/dist/serialization/resources/billing/types/index.d.ts +14 -4
- package/dist/serialization/resources/billing/types/index.js +14 -4
- package/dist/serialization/resources/companies/types/CountCompaniesParams.d.ts +1 -0
- package/dist/serialization/resources/companies/types/CountCompaniesParams.js +1 -0
- package/dist/serialization/resources/companies/types/GetActiveCompanySubscriptionParams.d.ts +1 -0
- package/dist/serialization/resources/companies/types/GetActiveCompanySubscriptionParams.js +1 -0
- package/dist/serialization/resources/companies/types/ListCompaniesParams.d.ts +1 -0
- package/dist/serialization/resources/companies/types/ListCompaniesParams.js +1 -0
- package/dist/serialization/resources/components/types/PreviewComponentDataParams.d.ts +13 -0
- package/dist/serialization/resources/components/types/PreviewComponentDataParams.js +34 -0
- package/dist/serialization/resources/components/types/PreviewComponentDataResponse.d.ts +15 -0
- package/dist/serialization/resources/{billing/types/UpdateBillingPlanGroupResponse.js → components/types/PreviewComponentDataResponse.js} +6 -5
- package/dist/serialization/resources/components/types/index.d.ts +2 -1
- package/dist/serialization/resources/components/types/index.js +2 -1
- package/dist/serialization/resources/crm/client/requests/CreateCrmLineItemRequestBody.d.ts +1 -1
- package/dist/serialization/resources/crm/client/requests/CreateCrmLineItemRequestBody.js +1 -1
- package/dist/serialization/resources/entitlements/client/requests/CreateCompanyOverrideRequestBody.d.ts +4 -0
- package/dist/serialization/resources/entitlements/client/requests/CreateCompanyOverrideRequestBody.js +4 -0
- package/dist/serialization/resources/entitlements/client/requests/CreatePlanEntitlementRequestBody.d.ts +5 -0
- package/dist/serialization/resources/entitlements/client/requests/CreatePlanEntitlementRequestBody.js +5 -0
- package/dist/serialization/resources/entitlements/client/requests/UpdateCompanyOverrideRequestBody.d.ts +4 -0
- package/dist/serialization/resources/entitlements/client/requests/UpdateCompanyOverrideRequestBody.js +4 -0
- package/dist/serialization/resources/entitlements/client/requests/UpdatePlanEntitlementRequestBody.d.ts +3 -0
- package/dist/serialization/resources/entitlements/client/requests/UpdatePlanEntitlementRequestBody.js +3 -0
- package/dist/serialization/resources/entitlements/types/CountFeatureUsageParams.d.ts +1 -0
- package/dist/serialization/resources/entitlements/types/CountFeatureUsageParams.js +1 -0
- package/dist/serialization/resources/entitlements/types/CountPlanEntitlementsParams.d.ts +1 -0
- package/dist/serialization/resources/entitlements/types/CountPlanEntitlementsParams.js +1 -0
- package/dist/serialization/resources/entitlements/types/CreateCompanyOverrideRequestBodyMetricPeriod.d.ts +1 -1
- package/dist/serialization/resources/entitlements/types/CreateCompanyOverrideRequestBodyMetricPeriod.js +1 -1
- package/dist/serialization/resources/entitlements/types/CreateCompanyOverrideRequestBodyMetricPeriodMonthReset.d.ts +10 -0
- package/dist/serialization/resources/entitlements/types/CreateCompanyOverrideRequestBodyMetricPeriodMonthReset.js +31 -0
- package/dist/serialization/resources/entitlements/types/CreatePlanEntitlementRequestBodyMetricPeriod.d.ts +1 -1
- package/dist/serialization/resources/entitlements/types/CreatePlanEntitlementRequestBodyMetricPeriod.js +1 -1
- package/dist/serialization/resources/entitlements/types/CreatePlanEntitlementRequestBodyMetricPeriodMonthReset.d.ts +10 -0
- package/dist/serialization/resources/entitlements/types/CreatePlanEntitlementRequestBodyMetricPeriodMonthReset.js +31 -0
- package/dist/serialization/resources/entitlements/types/ListFeatureUsageParams.d.ts +1 -0
- package/dist/serialization/resources/entitlements/types/ListFeatureUsageParams.js +1 -0
- package/dist/serialization/resources/entitlements/types/ListPlanEntitlementsParams.d.ts +1 -0
- package/dist/serialization/resources/entitlements/types/ListPlanEntitlementsParams.js +1 -0
- package/dist/serialization/resources/entitlements/types/UpdateCompanyOverrideRequestBodyMetricPeriod.d.ts +1 -1
- package/dist/serialization/resources/entitlements/types/UpdateCompanyOverrideRequestBodyMetricPeriod.js +1 -1
- package/dist/serialization/resources/entitlements/types/UpdateCompanyOverrideRequestBodyMetricPeriodMonthReset.d.ts +10 -0
- package/dist/serialization/resources/entitlements/types/UpdateCompanyOverrideRequestBodyMetricPeriodMonthReset.js +31 -0
- package/dist/serialization/resources/entitlements/types/UpdatePlanEntitlementRequestBodyMetricPeriod.d.ts +1 -1
- package/dist/serialization/resources/entitlements/types/UpdatePlanEntitlementRequestBodyMetricPeriod.js +1 -1
- package/dist/serialization/resources/entitlements/types/UpdatePlanEntitlementRequestBodyMetricPeriodMonthReset.d.ts +10 -0
- package/dist/serialization/resources/entitlements/types/UpdatePlanEntitlementRequestBodyMetricPeriodMonthReset.js +31 -0
- package/dist/serialization/resources/entitlements/types/index.d.ts +4 -0
- package/dist/serialization/resources/entitlements/types/index.js +4 -0
- package/dist/serialization/resources/events/types/index.d.ts +0 -2
- package/dist/serialization/resources/events/types/index.js +0 -2
- package/dist/serialization/resources/index.d.ts +3 -0
- package/dist/serialization/resources/index.js +4 -1
- package/dist/serialization/resources/plangroups/client/index.d.ts +1 -0
- package/dist/serialization/resources/plangroups/client/index.js +17 -0
- package/dist/serialization/resources/plangroups/client/requests/CreatePlanGroupRequestBody.d.ts +16 -0
- package/{serialization/resources/billing/client/requests/CreateBillingPlanGroupRequestBody.js → dist/serialization/resources/plangroups/client/requests/CreatePlanGroupRequestBody.js} +5 -2
- package/dist/serialization/resources/plangroups/client/requests/UpdatePlanGroupRequestBody.d.ts +16 -0
- package/dist/serialization/resources/{billing/client/requests/CreateBillingPlanGroupRequestBody.js → plangroups/client/requests/UpdatePlanGroupRequestBody.js} +5 -2
- package/dist/serialization/resources/plangroups/client/requests/index.d.ts +2 -0
- package/dist/serialization/resources/plangroups/client/requests/index.js +7 -0
- package/dist/serialization/resources/plangroups/index.d.ts +2 -0
- package/dist/serialization/resources/plangroups/index.js +18 -0
- package/dist/serialization/resources/plangroups/types/CreatePlanGroupResponse.d.ts +14 -0
- package/dist/serialization/resources/plangroups/types/CreatePlanGroupResponse.js +35 -0
- package/dist/serialization/resources/plangroups/types/GetPlanGroupResponse.d.ts +14 -0
- package/dist/serialization/resources/plangroups/types/GetPlanGroupResponse.js +35 -0
- package/dist/serialization/resources/plangroups/types/UpdatePlanGroupResponse.d.ts +14 -0
- package/dist/serialization/resources/plangroups/types/UpdatePlanGroupResponse.js +35 -0
- package/dist/serialization/resources/plangroups/types/index.d.ts +3 -0
- package/dist/serialization/resources/plangroups/types/index.js +19 -0
- package/dist/serialization/resources/plans/client/requests/UpsertBillingProductRequestBody.d.ts +4 -1
- package/dist/serialization/resources/plans/client/requests/UpsertBillingProductRequestBody.js +4 -1
- package/dist/serialization/resources/plans/types/CountPlansParams.d.ts +2 -0
- package/dist/serialization/resources/plans/types/CountPlansParams.js +2 -0
- package/dist/serialization/resources/plans/types/ListPlansParams.d.ts +2 -0
- package/dist/serialization/resources/plans/types/ListPlansParams.js +2 -0
- package/dist/serialization/resources/plans/types/index.d.ts +0 -1
- package/dist/serialization/resources/plans/types/index.js +0 -1
- package/dist/serialization/types/BillingCustomerSubscription.d.ts +4 -0
- package/dist/serialization/types/BillingCustomerSubscription.js +4 -0
- package/dist/serialization/types/BillingMeterResponseData.d.ts +16 -0
- package/dist/serialization/types/BillingMeterResponseData.js +37 -0
- package/dist/serialization/types/BillingPriceResponseData.d.ts +1 -0
- package/dist/serialization/types/BillingPriceResponseData.js +1 -0
- package/dist/serialization/types/BillingPriceView.d.ts +24 -0
- package/dist/serialization/types/BillingPriceView.js +45 -0
- package/dist/serialization/types/BillingProductDetailResponseData.d.ts +1 -1
- package/dist/serialization/types/BillingProductDetailResponseData.js +1 -1
- package/dist/serialization/types/BillingProductForSubscriptionResponseData.d.ts +5 -2
- package/dist/serialization/types/BillingProductForSubscriptionResponseData.js +5 -2
- package/dist/serialization/types/BillingProductPlanResponseData.d.ts +2 -0
- package/dist/serialization/types/BillingProductPlanResponseData.js +2 -0
- package/dist/serialization/types/BillingProductPriceResponseData.d.ts +21 -0
- package/{serialization/types/MetricCountsHourlyResponseData.js → dist/serialization/types/BillingProductPriceResponseData.js} +11 -8
- package/dist/serialization/types/BillingProductPricing.d.ts +6 -2
- package/dist/serialization/types/BillingProductPricing.js +6 -2
- package/dist/serialization/types/BillingSubscriptionResponseData.d.ts +13 -3
- package/dist/serialization/types/BillingSubscriptionResponseData.js +13 -3
- package/dist/serialization/types/BillingSubscriptionView.d.ts +31 -0
- package/dist/serialization/types/BillingSubscriptionView.js +52 -0
- package/dist/serialization/types/CheckFlagRequestBody.d.ts +2 -2
- package/dist/serialization/types/CheckFlagRequestBody.js +2 -2
- package/dist/serialization/types/CompanyDetailResponseData.d.ts +8 -5
- package/dist/serialization/types/CompanyDetailResponseData.js +8 -5
- package/dist/serialization/types/CompanyOverrideResponseData.d.ts +3 -1
- package/dist/serialization/types/CompanyOverrideResponseData.js +3 -1
- package/dist/serialization/types/CompanyPlanDetailResponseData.d.ts +35 -0
- package/dist/serialization/types/CompanyPlanDetailResponseData.js +56 -0
- package/dist/serialization/types/{BillingPlan.d.ts → CompanyPlanWithBillingSubView.d.ts} +3 -2
- package/dist/serialization/types/{BillingPlan.js → CompanyPlanWithBillingSubView.js} +3 -2
- package/dist/serialization/types/CompanySubscriptionResponseData.d.ts +7 -0
- package/dist/serialization/types/CompanySubscriptionResponseData.js +7 -0
- package/dist/serialization/types/ComponentCapabilities.d.ts +12 -0
- package/dist/serialization/types/{UpdateReqCommonValueType.js → ComponentCapabilities.js} +4 -2
- package/dist/serialization/types/ComponentHydrateResponseData.d.ts +11 -0
- package/dist/serialization/types/ComponentHydrateResponseData.js +11 -0
- package/dist/serialization/types/ComponentPreviewResponseData.d.ts +29 -0
- package/dist/serialization/types/ComponentPreviewResponseData.js +50 -0
- package/dist/serialization/types/CreateEntitlementReqCommon.d.ts +22 -0
- package/{serialization/types/CreateReqCommon.js → dist/serialization/types/CreateEntitlementReqCommon.js} +9 -6
- package/dist/serialization/types/CreateEntitlementReqCommonMetricPeriod.d.ts +10 -0
- package/dist/serialization/types/{RuleConditionResourceResponseData.js → CreateEntitlementReqCommonMetricPeriod.js} +2 -5
- package/dist/serialization/types/CreateEntitlementReqCommonMetricPeriodMonthReset.d.ts +10 -0
- package/dist/serialization/types/CreateEntitlementReqCommonMetricPeriodMonthReset.js +31 -0
- package/dist/serialization/types/{UpdateReqCommonValueType.d.ts → CreateEntitlementReqCommonValueType.d.ts} +2 -2
- package/dist/serialization/types/{CreateReqCommonMetricPeriod.js → CreateEntitlementReqCommonValueType.js} +2 -2
- package/dist/serialization/types/CreateOrUpdateConditionRequestBody.d.ts +2 -0
- package/dist/serialization/types/CreateOrUpdateConditionRequestBody.js +2 -0
- package/dist/serialization/types/CreateOrUpdateConditionRequestBodyConditionType.d.ts +1 -1
- package/dist/serialization/types/CreateOrUpdateConditionRequestBodyConditionType.js +10 -1
- package/dist/serialization/types/CreateOrUpdateConditionRequestBodyMetricPeriod.d.ts +1 -1
- package/dist/serialization/types/CreateOrUpdateConditionRequestBodyMetricPeriod.js +1 -1
- package/dist/serialization/types/CreateOrUpdateConditionRequestBodyMetricPeriodMonthReset.d.ts +10 -0
- package/dist/serialization/types/CreateOrUpdateConditionRequestBodyMetricPeriodMonthReset.js +31 -0
- package/dist/serialization/types/CreateOrUpdateConditionRequestBodyOperator.d.ts +1 -1
- package/dist/serialization/types/CreateOrUpdateConditionRequestBodyOperator.js +1 -1
- package/dist/serialization/types/EventBodyFlagCheck.d.ts +2 -2
- package/dist/serialization/types/EventBodyFlagCheck.js +2 -2
- package/dist/serialization/types/FeatureCompanyResponseData.d.ts +1 -0
- package/dist/serialization/types/FeatureCompanyResponseData.js +1 -0
- package/dist/serialization/types/FeatureCompanyUserResponseData.d.ts +1 -0
- package/dist/serialization/types/FeatureCompanyUserResponseData.js +1 -0
- package/dist/serialization/types/FeatureUsageResponseData.d.ts +1 -0
- package/dist/serialization/types/FeatureUsageResponseData.js +1 -0
- package/dist/serialization/types/{RuleConditionResourceResponseData.d.ts → GenericPreviewObject.d.ts} +4 -2
- package/{serialization/types/RuleConditionResourceResponseData.js → dist/serialization/types/GenericPreviewObject.js} +4 -2
- package/dist/serialization/types/InvoiceRequestBody.d.ts +22 -0
- package/dist/serialization/types/InvoiceRequestBody.js +43 -0
- package/dist/serialization/types/InvoiceResponseData.d.ts +28 -0
- package/dist/serialization/types/InvoiceResponseData.js +49 -0
- package/dist/serialization/types/MeterRequestBody.d.ts +14 -0
- package/{serialization/types/BillingPlanGroupResponseData.js → dist/serialization/types/MeterRequestBody.js} +5 -5
- package/dist/serialization/types/PaymentMethodRequestBody.d.ts +23 -0
- package/dist/serialization/types/PaymentMethodRequestBody.js +44 -0
- package/dist/serialization/types/PaymentMethodResponseData.d.ts +29 -0
- package/dist/serialization/types/PaymentMethodResponseData.js +50 -0
- package/dist/serialization/types/PlanDetailResponseData.d.ts +8 -0
- package/dist/serialization/types/PlanDetailResponseData.js +8 -0
- package/dist/serialization/types/PlanEntitlementResponseData.d.ts +4 -0
- package/dist/serialization/types/PlanEntitlementResponseData.js +4 -0
- package/dist/serialization/types/PlanGroupDetailResponseData.d.ts +19 -0
- package/dist/serialization/types/PlanGroupDetailResponseData.js +40 -0
- package/dist/serialization/types/PlanGroupPlanDetailResponseData.d.ts +33 -0
- package/dist/serialization/types/PlanGroupPlanDetailResponseData.js +54 -0
- package/dist/serialization/types/PlanGroupResponseData.d.ts +17 -0
- package/dist/serialization/types/PlanGroupResponseData.js +38 -0
- package/dist/serialization/types/PlanResponseData.d.ts +1 -0
- package/dist/serialization/types/PlanResponseData.js +1 -0
- package/dist/serialization/types/PreviewObjectResponseData.d.ts +15 -0
- package/dist/serialization/types/PreviewObjectResponseData.js +36 -0
- package/dist/serialization/types/RuleConditionDetailResponseData.d.ts +3 -2
- package/dist/serialization/types/RuleConditionDetailResponseData.js +3 -2
- package/dist/serialization/types/RuleConditionResponseData.d.ts +1 -0
- package/dist/serialization/types/RuleConditionResponseData.js +1 -0
- package/dist/serialization/types/RulesDetailResponseData.d.ts +1 -1
- package/dist/serialization/types/RulesDetailResponseData.js +1 -1
- package/dist/serialization/types/StripeEmbedInfo.d.ts +13 -0
- package/dist/serialization/types/StripeEmbedInfo.js +34 -0
- package/dist/serialization/types/UpdateEntitlementReqCommon.d.ts +21 -0
- package/dist/serialization/types/{UpdateReqCommon.js → UpdateEntitlementReqCommon.js} +9 -6
- package/dist/serialization/types/UpdateEntitlementReqCommonMetricPeriod.d.ts +10 -0
- package/dist/serialization/types/UpdateEntitlementReqCommonMetricPeriod.js +31 -0
- package/dist/serialization/types/UpdateEntitlementReqCommonMetricPeriodMonthReset.d.ts +10 -0
- package/dist/serialization/types/UpdateEntitlementReqCommonMetricPeriodMonthReset.js +31 -0
- package/{serialization/types/CreateReqCommonValueType.d.ts → dist/serialization/types/UpdateEntitlementReqCommonValueType.d.ts} +2 -2
- package/dist/serialization/types/{CreateReqCommonValueType.js → UpdateEntitlementReqCommonValueType.js} +2 -2
- package/dist/serialization/types/index.d.ts +28 -10
- package/dist/serialization/types/index.js +28 -10
- package/package.json +8 -3
- package/reference.md +457 -133
- package/serialization/resources/billing/client/requests/CreateBillingPriceRequestBody.d.ts +3 -0
- package/serialization/resources/billing/client/requests/CreateBillingPriceRequestBody.js +3 -0
- package/serialization/resources/billing/client/requests/CreateBillingSubscriptionsRequestBody.d.ts +4 -0
- package/serialization/resources/billing/client/requests/CreateBillingSubscriptionsRequestBody.js +4 -0
- package/serialization/resources/billing/client/requests/CreateInvoiceRequestBody.d.ts +23 -0
- package/serialization/resources/billing/client/requests/CreateInvoiceRequestBody.js +44 -0
- package/serialization/resources/billing/client/requests/CreateMeterRequestBody.d.ts +15 -0
- package/serialization/resources/billing/client/requests/{ChangeSubscriptionRequestBody.js → CreateMeterRequestBody.js} +6 -5
- package/serialization/resources/billing/client/requests/CreatePaymentMethodRequestBody.d.ts +24 -0
- package/serialization/resources/billing/client/requests/CreatePaymentMethodRequestBody.js +45 -0
- package/serialization/resources/billing/client/requests/index.d.ts +3 -3
- package/serialization/resources/billing/client/requests/index.js +7 -7
- package/serialization/resources/billing/types/CountBillingProductsParams.d.ts +20 -0
- package/serialization/resources/{events/types/ListMetricCountsParams.js → billing/types/CountBillingProductsParams.js} +9 -10
- package/serialization/resources/billing/types/CountBillingProductsResponse.d.ts +15 -0
- package/serialization/resources/billing/types/CountBillingProductsResponse.js +36 -0
- package/serialization/resources/billing/types/DeleteProductPriceResponse.d.ts +14 -0
- package/serialization/resources/billing/types/DeleteProductPriceResponse.js +35 -0
- package/serialization/resources/billing/types/ListBillingProductsParams.d.ts +4 -0
- package/serialization/resources/billing/types/ListBillingProductsParams.js +4 -0
- package/serialization/resources/billing/types/ListInvoicesParams.d.ts +16 -0
- package/serialization/resources/billing/types/ListInvoicesParams.js +37 -0
- package/serialization/resources/billing/types/ListInvoicesResponse.d.ts +15 -0
- package/serialization/resources/billing/types/ListInvoicesResponse.js +36 -0
- package/serialization/resources/billing/types/ListMetersParams.d.ts +14 -0
- package/serialization/resources/billing/types/ListMetersParams.js +35 -0
- package/serialization/resources/billing/types/ListMetersResponse.d.ts +15 -0
- package/serialization/resources/billing/types/ListMetersResponse.js +36 -0
- package/serialization/resources/billing/types/ListPaymentMethodsParams.d.ts +16 -0
- package/serialization/resources/billing/types/ListPaymentMethodsParams.js +37 -0
- package/serialization/resources/billing/types/ListPaymentMethodsResponse.d.ts +15 -0
- package/serialization/resources/billing/types/ListPaymentMethodsResponse.js +36 -0
- package/serialization/resources/billing/types/ListProductPricesParams.d.ts +4 -0
- package/serialization/resources/billing/types/ListProductPricesParams.js +4 -0
- package/serialization/resources/billing/types/SearchBillingPricesParams.d.ts +16 -0
- package/serialization/resources/billing/types/SearchBillingPricesParams.js +37 -0
- package/serialization/resources/billing/types/SearchBillingPricesResponse.d.ts +15 -0
- package/{dist/serialization/resources/billing/types/GetBillingPlanGroupByAccountIdResponse.js → serialization/resources/billing/types/SearchBillingPricesResponse.js} +6 -5
- package/serialization/resources/billing/types/UpsertBillingMeterResponse.d.ts +14 -0
- package/serialization/resources/billing/types/UpsertBillingMeterResponse.js +35 -0
- package/serialization/resources/billing/types/UpsertInvoiceResponse.d.ts +14 -0
- package/serialization/resources/billing/types/UpsertInvoiceResponse.js +35 -0
- package/serialization/resources/billing/types/UpsertPaymentMethodResponse.d.ts +14 -0
- package/serialization/resources/billing/types/UpsertPaymentMethodResponse.js +35 -0
- package/serialization/resources/billing/types/index.d.ts +14 -4
- package/serialization/resources/billing/types/index.js +14 -4
- package/serialization/resources/companies/types/CountCompaniesParams.d.ts +1 -0
- package/serialization/resources/companies/types/CountCompaniesParams.js +1 -0
- package/serialization/resources/companies/types/GetActiveCompanySubscriptionParams.d.ts +1 -0
- package/serialization/resources/companies/types/GetActiveCompanySubscriptionParams.js +1 -0
- package/serialization/resources/companies/types/ListCompaniesParams.d.ts +1 -0
- package/serialization/resources/companies/types/ListCompaniesParams.js +1 -0
- package/serialization/resources/components/types/PreviewComponentDataParams.d.ts +13 -0
- package/serialization/resources/components/types/PreviewComponentDataParams.js +34 -0
- package/serialization/resources/components/types/PreviewComponentDataResponse.d.ts +15 -0
- package/serialization/resources/components/types/PreviewComponentDataResponse.js +36 -0
- package/serialization/resources/components/types/index.d.ts +2 -1
- package/serialization/resources/components/types/index.js +2 -1
- package/serialization/resources/crm/client/requests/CreateCrmLineItemRequestBody.d.ts +1 -1
- package/serialization/resources/crm/client/requests/CreateCrmLineItemRequestBody.js +1 -1
- package/serialization/resources/entitlements/client/requests/CreateCompanyOverrideRequestBody.d.ts +4 -0
- package/serialization/resources/entitlements/client/requests/CreateCompanyOverrideRequestBody.js +4 -0
- package/serialization/resources/entitlements/client/requests/CreatePlanEntitlementRequestBody.d.ts +5 -0
- package/serialization/resources/entitlements/client/requests/CreatePlanEntitlementRequestBody.js +5 -0
- package/serialization/resources/entitlements/client/requests/UpdateCompanyOverrideRequestBody.d.ts +4 -0
- package/serialization/resources/entitlements/client/requests/UpdateCompanyOverrideRequestBody.js +4 -0
- package/serialization/resources/entitlements/client/requests/UpdatePlanEntitlementRequestBody.d.ts +3 -0
- package/serialization/resources/entitlements/client/requests/UpdatePlanEntitlementRequestBody.js +3 -0
- package/serialization/resources/entitlements/types/CountFeatureUsageParams.d.ts +1 -0
- package/serialization/resources/entitlements/types/CountFeatureUsageParams.js +1 -0
- package/serialization/resources/entitlements/types/CountPlanEntitlementsParams.d.ts +1 -0
- package/serialization/resources/entitlements/types/CountPlanEntitlementsParams.js +1 -0
- package/serialization/resources/entitlements/types/CreateCompanyOverrideRequestBodyMetricPeriod.d.ts +1 -1
- package/serialization/resources/entitlements/types/CreateCompanyOverrideRequestBodyMetricPeriod.js +1 -1
- package/serialization/resources/entitlements/types/CreateCompanyOverrideRequestBodyMetricPeriodMonthReset.d.ts +10 -0
- package/serialization/resources/entitlements/types/CreateCompanyOverrideRequestBodyMetricPeriodMonthReset.js +31 -0
- package/serialization/resources/entitlements/types/CreatePlanEntitlementRequestBodyMetricPeriod.d.ts +1 -1
- package/serialization/resources/entitlements/types/CreatePlanEntitlementRequestBodyMetricPeriod.js +1 -1
- package/serialization/resources/entitlements/types/CreatePlanEntitlementRequestBodyMetricPeriodMonthReset.d.ts +10 -0
- package/serialization/resources/entitlements/types/CreatePlanEntitlementRequestBodyMetricPeriodMonthReset.js +31 -0
- package/serialization/resources/entitlements/types/ListFeatureUsageParams.d.ts +1 -0
- package/serialization/resources/entitlements/types/ListFeatureUsageParams.js +1 -0
- package/serialization/resources/entitlements/types/ListPlanEntitlementsParams.d.ts +1 -0
- package/serialization/resources/entitlements/types/ListPlanEntitlementsParams.js +1 -0
- package/serialization/resources/entitlements/types/UpdateCompanyOverrideRequestBodyMetricPeriod.d.ts +1 -1
- package/serialization/resources/entitlements/types/UpdateCompanyOverrideRequestBodyMetricPeriod.js +1 -1
- package/serialization/resources/entitlements/types/UpdateCompanyOverrideRequestBodyMetricPeriodMonthReset.d.ts +10 -0
- package/serialization/resources/entitlements/types/UpdateCompanyOverrideRequestBodyMetricPeriodMonthReset.js +31 -0
- package/serialization/resources/entitlements/types/UpdatePlanEntitlementRequestBodyMetricPeriod.d.ts +1 -1
- package/serialization/resources/entitlements/types/UpdatePlanEntitlementRequestBodyMetricPeriod.js +1 -1
- package/serialization/resources/entitlements/types/UpdatePlanEntitlementRequestBodyMetricPeriodMonthReset.d.ts +10 -0
- package/serialization/resources/entitlements/types/UpdatePlanEntitlementRequestBodyMetricPeriodMonthReset.js +31 -0
- package/serialization/resources/entitlements/types/index.d.ts +4 -0
- package/serialization/resources/entitlements/types/index.js +4 -0
- package/serialization/resources/events/types/index.d.ts +0 -2
- package/serialization/resources/events/types/index.js +0 -2
- package/serialization/resources/index.d.ts +3 -0
- package/serialization/resources/index.js +4 -1
- package/serialization/resources/plangroups/client/index.d.ts +1 -0
- package/serialization/resources/plangroups/client/index.js +17 -0
- package/serialization/resources/plangroups/client/requests/CreatePlanGroupRequestBody.d.ts +16 -0
- package/{dist/serialization/resources/billing/client/requests/UpdateBillingPlanGroupRequestBody.js → serialization/resources/plangroups/client/requests/CreatePlanGroupRequestBody.js} +5 -2
- package/serialization/resources/plangroups/client/requests/UpdatePlanGroupRequestBody.d.ts +16 -0
- package/serialization/resources/{billing/client/requests/UpdateBillingPlanGroupRequestBody.js → plangroups/client/requests/UpdatePlanGroupRequestBody.js} +5 -2
- package/serialization/resources/plangroups/client/requests/index.d.ts +2 -0
- package/serialization/resources/plangroups/client/requests/index.js +7 -0
- package/serialization/resources/plangroups/index.d.ts +2 -0
- package/serialization/resources/plangroups/index.js +18 -0
- package/serialization/resources/plangroups/types/CreatePlanGroupResponse.d.ts +14 -0
- package/serialization/resources/plangroups/types/CreatePlanGroupResponse.js +35 -0
- package/serialization/resources/plangroups/types/GetPlanGroupResponse.d.ts +14 -0
- package/serialization/resources/plangroups/types/GetPlanGroupResponse.js +35 -0
- package/serialization/resources/plangroups/types/UpdatePlanGroupResponse.d.ts +14 -0
- package/serialization/resources/plangroups/types/UpdatePlanGroupResponse.js +35 -0
- package/serialization/resources/plangroups/types/index.d.ts +3 -0
- package/serialization/resources/plangroups/types/index.js +19 -0
- package/serialization/resources/plans/client/requests/UpsertBillingProductRequestBody.d.ts +4 -1
- package/serialization/resources/plans/client/requests/UpsertBillingProductRequestBody.js +4 -1
- package/serialization/resources/plans/types/CountPlansParams.d.ts +2 -0
- package/serialization/resources/plans/types/CountPlansParams.js +2 -0
- package/serialization/resources/plans/types/ListPlansParams.d.ts +2 -0
- package/serialization/resources/plans/types/ListPlansParams.js +2 -0
- package/serialization/resources/plans/types/index.d.ts +0 -1
- package/serialization/resources/plans/types/index.js +0 -1
- package/serialization/types/BillingCustomerSubscription.d.ts +4 -0
- package/serialization/types/BillingCustomerSubscription.js +4 -0
- package/serialization/types/BillingMeterResponseData.d.ts +16 -0
- package/serialization/types/BillingMeterResponseData.js +37 -0
- package/serialization/types/BillingPriceResponseData.d.ts +1 -0
- package/serialization/types/BillingPriceResponseData.js +1 -0
- package/serialization/types/BillingPriceView.d.ts +24 -0
- package/serialization/types/BillingPriceView.js +45 -0
- package/serialization/types/BillingProductDetailResponseData.d.ts +1 -1
- package/serialization/types/BillingProductDetailResponseData.js +1 -1
- package/serialization/types/BillingProductForSubscriptionResponseData.d.ts +5 -2
- package/serialization/types/BillingProductForSubscriptionResponseData.js +5 -2
- package/serialization/types/BillingProductPlanResponseData.d.ts +2 -0
- package/serialization/types/BillingProductPlanResponseData.js +2 -0
- package/serialization/types/BillingProductPriceResponseData.d.ts +21 -0
- package/{dist/serialization/types/MetricCountsHourlyResponseData.js → serialization/types/BillingProductPriceResponseData.js} +11 -8
- package/serialization/types/BillingProductPricing.d.ts +6 -2
- package/serialization/types/BillingProductPricing.js +6 -2
- package/serialization/types/BillingSubscriptionResponseData.d.ts +13 -3
- package/serialization/types/BillingSubscriptionResponseData.js +13 -3
- package/serialization/types/BillingSubscriptionView.d.ts +31 -0
- package/serialization/types/BillingSubscriptionView.js +52 -0
- package/serialization/types/CheckFlagRequestBody.d.ts +2 -2
- package/serialization/types/CheckFlagRequestBody.js +2 -2
- package/serialization/types/CompanyDetailResponseData.d.ts +8 -5
- package/serialization/types/CompanyDetailResponseData.js +8 -5
- package/serialization/types/CompanyOverrideResponseData.d.ts +3 -1
- package/serialization/types/CompanyOverrideResponseData.js +3 -1
- package/serialization/types/CompanyPlanDetailResponseData.d.ts +35 -0
- package/serialization/types/CompanyPlanDetailResponseData.js +56 -0
- package/serialization/types/{BillingPlan.d.ts → CompanyPlanWithBillingSubView.d.ts} +3 -2
- package/serialization/types/{BillingPlan.js → CompanyPlanWithBillingSubView.js} +3 -2
- package/serialization/types/CompanySubscriptionResponseData.d.ts +7 -0
- package/serialization/types/CompanySubscriptionResponseData.js +7 -0
- package/serialization/types/ComponentCapabilities.d.ts +12 -0
- package/serialization/types/{CreateReqCommonValueType.js → ComponentCapabilities.js} +4 -2
- package/serialization/types/ComponentHydrateResponseData.d.ts +11 -0
- package/serialization/types/ComponentHydrateResponseData.js +11 -0
- package/serialization/types/ComponentPreviewResponseData.d.ts +29 -0
- package/serialization/types/ComponentPreviewResponseData.js +50 -0
- package/serialization/types/CreateEntitlementReqCommon.d.ts +22 -0
- package/{dist/serialization/types/CreateReqCommon.js → serialization/types/CreateEntitlementReqCommon.js} +9 -6
- package/serialization/types/CreateEntitlementReqCommonMetricPeriod.d.ts +10 -0
- package/serialization/types/CreateEntitlementReqCommonMetricPeriod.js +31 -0
- package/serialization/types/CreateEntitlementReqCommonMetricPeriodMonthReset.d.ts +10 -0
- package/serialization/types/CreateEntitlementReqCommonMetricPeriodMonthReset.js +31 -0
- package/{dist/serialization/types/CreateReqCommonValueType.d.ts → serialization/types/CreateEntitlementReqCommonValueType.d.ts} +2 -2
- package/{dist/serialization/types/UpdateReqCommonMetricPeriod.js → serialization/types/CreateEntitlementReqCommonValueType.js} +2 -2
- package/serialization/types/CreateOrUpdateConditionRequestBody.d.ts +2 -0
- package/serialization/types/CreateOrUpdateConditionRequestBody.js +2 -0
- package/serialization/types/CreateOrUpdateConditionRequestBodyConditionType.d.ts +1 -1
- package/serialization/types/CreateOrUpdateConditionRequestBodyConditionType.js +10 -1
- package/serialization/types/CreateOrUpdateConditionRequestBodyMetricPeriod.d.ts +1 -1
- package/serialization/types/CreateOrUpdateConditionRequestBodyMetricPeriod.js +1 -1
- package/serialization/types/CreateOrUpdateConditionRequestBodyMetricPeriodMonthReset.d.ts +10 -0
- package/serialization/types/CreateOrUpdateConditionRequestBodyMetricPeriodMonthReset.js +31 -0
- package/serialization/types/CreateOrUpdateConditionRequestBodyOperator.d.ts +1 -1
- package/serialization/types/CreateOrUpdateConditionRequestBodyOperator.js +1 -1
- package/serialization/types/EventBodyFlagCheck.d.ts +2 -2
- package/serialization/types/EventBodyFlagCheck.js +2 -2
- package/serialization/types/FeatureCompanyResponseData.d.ts +1 -0
- package/serialization/types/FeatureCompanyResponseData.js +1 -0
- package/serialization/types/FeatureCompanyUserResponseData.d.ts +1 -0
- package/serialization/types/FeatureCompanyUserResponseData.js +1 -0
- package/serialization/types/FeatureUsageResponseData.d.ts +1 -0
- package/serialization/types/FeatureUsageResponseData.js +1 -0
- package/serialization/types/{RuleConditionResourceResponseData.d.ts → GenericPreviewObject.d.ts} +4 -2
- package/serialization/types/GenericPreviewObject.js +36 -0
- package/serialization/types/InvoiceRequestBody.d.ts +22 -0
- package/serialization/types/InvoiceRequestBody.js +43 -0
- package/serialization/types/InvoiceResponseData.d.ts +28 -0
- package/serialization/types/InvoiceResponseData.js +49 -0
- package/serialization/types/MeterRequestBody.d.ts +14 -0
- package/{dist/serialization/types/BillingPlanGroupResponseData.js → serialization/types/MeterRequestBody.js} +5 -5
- package/serialization/types/PaymentMethodRequestBody.d.ts +23 -0
- package/serialization/types/PaymentMethodRequestBody.js +44 -0
- package/serialization/types/PaymentMethodResponseData.d.ts +29 -0
- package/serialization/types/PaymentMethodResponseData.js +50 -0
- package/serialization/types/PlanDetailResponseData.d.ts +8 -0
- package/serialization/types/PlanDetailResponseData.js +8 -0
- package/serialization/types/PlanEntitlementResponseData.d.ts +4 -0
- package/serialization/types/PlanEntitlementResponseData.js +4 -0
- package/serialization/types/PlanGroupDetailResponseData.d.ts +19 -0
- package/serialization/types/PlanGroupDetailResponseData.js +40 -0
- package/serialization/types/PlanGroupPlanDetailResponseData.d.ts +33 -0
- package/serialization/types/PlanGroupPlanDetailResponseData.js +54 -0
- package/serialization/types/PlanGroupResponseData.d.ts +17 -0
- package/serialization/types/PlanGroupResponseData.js +38 -0
- package/serialization/types/PlanResponseData.d.ts +1 -0
- package/serialization/types/PlanResponseData.js +1 -0
- package/serialization/types/PreviewObjectResponseData.d.ts +15 -0
- package/serialization/types/PreviewObjectResponseData.js +36 -0
- package/serialization/types/RuleConditionDetailResponseData.d.ts +3 -2
- package/serialization/types/RuleConditionDetailResponseData.js +3 -2
- package/serialization/types/RuleConditionResponseData.d.ts +1 -0
- package/serialization/types/RuleConditionResponseData.js +1 -0
- package/serialization/types/RulesDetailResponseData.d.ts +1 -1
- package/serialization/types/RulesDetailResponseData.js +1 -1
- package/serialization/types/StripeEmbedInfo.d.ts +13 -0
- package/serialization/types/StripeEmbedInfo.js +34 -0
- package/serialization/types/UpdateEntitlementReqCommon.d.ts +21 -0
- package/serialization/types/{UpdateReqCommon.js → UpdateEntitlementReqCommon.js} +9 -6
- package/serialization/types/UpdateEntitlementReqCommonMetricPeriod.d.ts +10 -0
- package/serialization/types/UpdateEntitlementReqCommonMetricPeriod.js +31 -0
- package/serialization/types/UpdateEntitlementReqCommonMetricPeriodMonthReset.d.ts +10 -0
- package/serialization/types/UpdateEntitlementReqCommonMetricPeriodMonthReset.js +31 -0
- package/serialization/types/{UpdateReqCommonValueType.d.ts → UpdateEntitlementReqCommonValueType.d.ts} +2 -2
- package/serialization/types/UpdateEntitlementReqCommonValueType.js +31 -0
- package/serialization/types/index.d.ts +28 -10
- package/serialization/types/index.js +28 -10
- package/api/resources/billing/client/requests/ChangeSubscriptionRequestBody.d.ts +0 -16
- package/api/types/CreateReqCommon.d.ts +0 -12
- package/api/types/CreateReqCommonMetricPeriod.d.ts +0 -9
- package/api/types/MetricCountsHourlyResponseData.d.ts +0 -12
- package/api/types/UpdateReqCommon.d.ts +0 -11
- package/api/types/UpdateReqCommonMetricPeriod.d.ts +0 -9
- package/dist/api/resources/billing/client/requests/ChangeSubscriptionRequestBody.d.ts +0 -16
- package/dist/api/resources/billing/types/ChangeSubscriptionWebResponse.d.ts +0 -9
- package/dist/api/resources/billing/types/CreateBillingPlanGroupResponse.d.ts +0 -9
- package/dist/api/resources/billing/types/GetBillingPlanGroupByAccountIdResponse.d.ts +0 -9
- package/dist/api/resources/billing/types/UpdateBillingPlanGroupResponse.d.ts +0 -9
- package/dist/api/types/CreateReqCommon.d.ts +0 -12
- package/dist/api/types/CreateReqCommonMetricPeriod.d.ts +0 -9
- package/dist/api/types/MetricCountsHourlyResponseData.d.ts +0 -12
- package/dist/api/types/UpdateReqCommon.d.ts +0 -11
- package/dist/api/types/UpdateReqCommonMetricPeriod.d.ts +0 -9
- package/dist/serialization/resources/billing/client/requests/ChangeSubscriptionRequestBody.d.ts +0 -14
- package/dist/serialization/resources/billing/client/requests/CreateBillingPlanGroupRequestBody.d.ts +0 -13
- package/dist/serialization/resources/billing/client/requests/UpdateBillingPlanGroupRequestBody.d.ts +0 -13
- package/dist/serialization/resources/billing/types/ChangeSubscriptionWebResponse.d.ts +0 -14
- package/dist/serialization/resources/billing/types/CreateBillingPlanGroupResponse.d.ts +0 -14
- package/dist/serialization/resources/billing/types/GetBillingPlanGroupByAccountIdResponse.d.ts +0 -14
- package/dist/serialization/resources/billing/types/UpdateBillingPlanGroupResponse.d.ts +0 -14
- package/dist/serialization/resources/components/types/HydrateComponentResponse.d.ts +0 -14
- package/dist/serialization/resources/events/types/ListMetricCountsParams.d.ts +0 -21
- package/dist/serialization/resources/events/types/ListMetricCountsResponse.d.ts +0 -15
- package/dist/serialization/resources/events/types/ListMetricCountsResponse.js +0 -36
- package/dist/serialization/resources/plans/types/ListActivePlansResponse.d.ts +0 -14
- package/dist/serialization/types/BillingPlanGroupResponseData.d.ts +0 -14
- package/dist/serialization/types/CreateReqCommon.d.ts +0 -19
- package/dist/serialization/types/CreateReqCommonMetricPeriod.d.ts +0 -10
- package/dist/serialization/types/MetricCountsHourlyResponseData.d.ts +0 -18
- package/dist/serialization/types/UpdateReqCommon.d.ts +0 -18
- package/dist/serialization/types/UpdateReqCommonMetricPeriod.d.ts +0 -10
- package/serialization/resources/billing/client/requests/ChangeSubscriptionRequestBody.d.ts +0 -14
- package/serialization/resources/billing/client/requests/CreateBillingPlanGroupRequestBody.d.ts +0 -13
- package/serialization/resources/billing/client/requests/UpdateBillingPlanGroupRequestBody.d.ts +0 -13
- package/serialization/resources/billing/types/ChangeSubscriptionWebResponse.d.ts +0 -14
- package/serialization/resources/billing/types/ChangeSubscriptionWebResponse.js +0 -35
- package/serialization/resources/billing/types/CreateBillingPlanGroupResponse.d.ts +0 -14
- package/serialization/resources/billing/types/CreateBillingPlanGroupResponse.js +0 -35
- package/serialization/resources/billing/types/GetBillingPlanGroupByAccountIdResponse.d.ts +0 -14
- package/serialization/resources/billing/types/GetBillingPlanGroupByAccountIdResponse.js +0 -35
- package/serialization/resources/billing/types/UpdateBillingPlanGroupResponse.d.ts +0 -14
- package/serialization/resources/billing/types/UpdateBillingPlanGroupResponse.js +0 -35
- package/serialization/resources/components/types/HydrateComponentResponse.d.ts +0 -14
- package/serialization/resources/events/types/ListMetricCountsParams.d.ts +0 -21
- package/serialization/resources/events/types/ListMetricCountsResponse.d.ts +0 -15
- package/serialization/resources/events/types/ListMetricCountsResponse.js +0 -36
- package/serialization/resources/plans/types/ListActivePlansResponse.d.ts +0 -14
- package/serialization/types/BillingPlanGroupResponseData.d.ts +0 -14
- package/serialization/types/CreateReqCommon.d.ts +0 -19
- package/serialization/types/CreateReqCommonMetricPeriod.d.ts +0 -10
- package/serialization/types/CreateReqCommonMetricPeriod.js +0 -31
- package/serialization/types/MetricCountsHourlyResponseData.d.ts +0 -18
- package/serialization/types/UpdateReqCommon.d.ts +0 -18
- package/serialization/types/UpdateReqCommonMetricPeriod.d.ts +0 -10
- package/serialization/types/UpdateReqCommonMetricPeriod.js +0 -31
- package/serialization/types/UpdateReqCommonValueType.js +0 -31
- /package/api/resources/billing/client/requests/{ChangeSubscriptionRequestBody.js → CountBillingProductsRequest.js} +0 -0
- /package/api/resources/billing/client/requests/{CreateBillingPlanGroupRequestBody.js → CreateInvoiceRequestBody.js} +0 -0
- /package/api/resources/billing/client/requests/{UpdateBillingPlanGroupRequestBody.js → CreateMeterRequestBody.js} +0 -0
- /package/api/resources/billing/{types/ChangeSubscriptionWebResponse.js → client/requests/CreatePaymentMethodRequestBody.js} +0 -0
- /package/api/resources/billing/{types/CreateBillingPlanGroupResponse.js → client/requests/ListInvoicesRequest.js} +0 -0
- /package/api/resources/billing/{types/GetBillingPlanGroupByAccountIdResponse.js → client/requests/ListMetersRequest.js} +0 -0
- /package/api/resources/billing/{types/UpdateBillingPlanGroupResponse.js → client/requests/ListPaymentMethodsRequest.js} +0 -0
- /package/api/resources/{components/types/HydrateComponentResponse.js → billing/client/requests/SearchBillingPricesRequest.js} +0 -0
- /package/api/resources/{events/client/requests/ListMetricCountsRequest.js → billing/types/CountBillingProductsParams.js} +0 -0
- /package/api/resources/{events/types/ListMetricCountsParams.js → billing/types/CountBillingProductsResponse.js} +0 -0
- /package/api/resources/{events/types/ListMetricCountsResponse.js → billing/types/DeleteProductPriceResponse.js} +0 -0
- /package/api/resources/{plans/types/ListActivePlansResponse.js → billing/types/ListInvoicesParams.js} +0 -0
- /package/api/{types/BillingPlan.js → resources/billing/types/ListInvoicesResponse.js} +0 -0
- /package/api/{types/BillingPlanGroupResponseData.js → resources/billing/types/ListMetersParams.js} +0 -0
- /package/api/{types/CreateReqCommon.js → resources/billing/types/ListMetersResponse.js} +0 -0
- /package/api/{types/MetricCountsHourlyResponseData.js → resources/billing/types/ListPaymentMethodsParams.js} +0 -0
- /package/api/{types/RuleConditionResourceResponseData.js → resources/billing/types/ListPaymentMethodsResponse.js} +0 -0
- /package/api/{types/UpdateReqCommon.js → resources/billing/types/SearchBillingPricesParams.js} +0 -0
- /package/{dist/api/resources/billing/client/requests/ChangeSubscriptionRequestBody.js → api/resources/billing/types/SearchBillingPricesResponse.js} +0 -0
- /package/{dist/api/resources/billing/client/requests/CreateBillingPlanGroupRequestBody.js → api/resources/billing/types/UpsertBillingMeterResponse.js} +0 -0
- /package/{dist/api/resources/billing/client/requests/UpdateBillingPlanGroupRequestBody.js → api/resources/billing/types/UpsertInvoiceResponse.js} +0 -0
- /package/{dist/api/resources/billing/types/ChangeSubscriptionWebResponse.js → api/resources/billing/types/UpsertPaymentMethodResponse.js} +0 -0
- /package/{dist/api/resources/billing/types/CreateBillingPlanGroupResponse.js → api/resources/components/client/requests/PreviewComponentDataRequest.js} +0 -0
- /package/{dist/api/resources/billing/types/GetBillingPlanGroupByAccountIdResponse.js → api/resources/components/types/PreviewComponentDataParams.js} +0 -0
- /package/{dist/api/resources/billing/types/UpdateBillingPlanGroupResponse.js → api/resources/components/types/PreviewComponentDataResponse.js} +0 -0
- /package/{dist/api/resources/components/types/HydrateComponentResponse.js → api/resources/plangroups/client/requests/CreatePlanGroupRequestBody.js} +0 -0
- /package/{dist/api/resources/events/client/requests/ListMetricCountsRequest.js → api/resources/plangroups/client/requests/UpdatePlanGroupRequestBody.js} +0 -0
- /package/{dist/api/resources/events/types/ListMetricCountsParams.js → api/resources/plangroups/types/CreatePlanGroupResponse.js} +0 -0
- /package/{dist/api/resources/events/types/ListMetricCountsResponse.js → api/resources/plangroups/types/GetPlanGroupResponse.js} +0 -0
- /package/{dist/api/resources/plans/types/ListActivePlansResponse.js → api/resources/plangroups/types/UpdatePlanGroupResponse.js} +0 -0
- /package/{dist/api/types/BillingPlan.js → api/types/BillingMeterResponseData.js} +0 -0
- /package/{dist/api/types/BillingPlanGroupResponseData.js → api/types/BillingPriceView.js} +0 -0
- /package/{dist/api/types/CreateReqCommon.js → api/types/BillingProductPriceResponseData.js} +0 -0
- /package/{dist/api/types/MetricCountsHourlyResponseData.js → api/types/BillingSubscriptionView.js} +0 -0
- /package/{dist/api/types/RuleConditionResourceResponseData.js → api/types/CompanyPlanDetailResponseData.js} +0 -0
- /package/{dist/api/types/UpdateReqCommon.js → api/types/CompanyPlanWithBillingSubView.js} +0 -0
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
export interface BillingPriceView {
|
|
5
|
+
createdAt: Date;
|
|
6
|
+
currency: string;
|
|
7
|
+
id: string;
|
|
8
|
+
interval: string;
|
|
9
|
+
meterId?: string;
|
|
10
|
+
price: number;
|
|
11
|
+
priceExternalId: string;
|
|
12
|
+
priceId: string;
|
|
13
|
+
productExternalId: string;
|
|
14
|
+
productId: string;
|
|
15
|
+
productName: string;
|
|
16
|
+
updatedAt: Date;
|
|
17
|
+
usageType: string;
|
|
18
|
+
}
|
|
@@ -3,7 +3,6 @@
|
|
|
3
3
|
*/
|
|
4
4
|
import * as Schematic from "../index";
|
|
5
5
|
export interface BillingProductDetailResponseData {
|
|
6
|
-
prices: Schematic.BillingPriceResponseData[];
|
|
7
6
|
accountId: string;
|
|
8
7
|
createdAt: Date;
|
|
9
8
|
currency: string;
|
|
@@ -11,6 +10,7 @@ export interface BillingProductDetailResponseData {
|
|
|
11
10
|
externalId: string;
|
|
12
11
|
name: string;
|
|
13
12
|
price: number;
|
|
13
|
+
prices: Schematic.BillingPriceResponseData[];
|
|
14
14
|
productId: string;
|
|
15
15
|
quantity: number;
|
|
16
16
|
updatedAt: Date;
|
|
@@ -2,15 +2,18 @@
|
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
4
|
export interface BillingProductForSubscriptionResponseData {
|
|
5
|
-
accountId: string;
|
|
6
5
|
createdAt: Date;
|
|
7
6
|
currency: string;
|
|
8
7
|
environmentId: string;
|
|
9
8
|
externalId: string;
|
|
10
9
|
id: string;
|
|
11
|
-
interval
|
|
10
|
+
interval: string;
|
|
11
|
+
meterId?: string;
|
|
12
12
|
name: string;
|
|
13
13
|
price: number;
|
|
14
|
+
priceExternalId: string;
|
|
14
15
|
quantity: number;
|
|
16
|
+
subscriptionId: string;
|
|
15
17
|
updatedAt: Date;
|
|
18
|
+
usageType: string;
|
|
16
19
|
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
export interface BillingProductPriceResponseData {
|
|
5
|
+
createdAt: Date;
|
|
6
|
+
currency: string;
|
|
7
|
+
id: string;
|
|
8
|
+
interval: string;
|
|
9
|
+
meterId?: string;
|
|
10
|
+
price: number;
|
|
11
|
+
priceExternalId: string;
|
|
12
|
+
productExternalId: string;
|
|
13
|
+
updatedAt: Date;
|
|
14
|
+
usageType: string;
|
|
15
|
+
}
|
|
@@ -2,8 +2,12 @@
|
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
4
|
export interface BillingProductPricing {
|
|
5
|
-
|
|
5
|
+
currency: string;
|
|
6
|
+
interval: string;
|
|
7
|
+
meterId?: string;
|
|
6
8
|
price: number;
|
|
7
|
-
priceExternalId
|
|
9
|
+
priceExternalId: string;
|
|
8
10
|
productExternalId: string;
|
|
11
|
+
quantity: number;
|
|
12
|
+
usageType: string;
|
|
9
13
|
}
|
|
@@ -1,12 +1,19 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
|
-
/**
|
|
5
|
-
* The created resource
|
|
6
|
-
*/
|
|
7
4
|
export interface BillingSubscriptionResponseData {
|
|
5
|
+
companyId?: string;
|
|
6
|
+
createdAt: Date;
|
|
7
|
+
currency: string;
|
|
8
|
+
customerExternalId: string;
|
|
8
9
|
expiredAt?: Date;
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
10
|
+
id: string;
|
|
11
|
+
interval: string;
|
|
12
|
+
metadata?: Record<string, unknown>;
|
|
13
|
+
periodEnd: number;
|
|
14
|
+
periodStart: number;
|
|
15
|
+
status: string;
|
|
16
|
+
subscriptionExternalId: string;
|
|
17
|
+
totalPrice: number;
|
|
18
|
+
trialEnd?: number;
|
|
12
19
|
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as Schematic from "../index";
|
|
5
|
+
export interface BillingSubscriptionView {
|
|
6
|
+
companyId?: string;
|
|
7
|
+
createdAt: Date;
|
|
8
|
+
currency: string;
|
|
9
|
+
customerExternalId: string;
|
|
10
|
+
expiredAt?: Date;
|
|
11
|
+
id: string;
|
|
12
|
+
interval: string;
|
|
13
|
+
latestInvoice?: Schematic.InvoiceResponseData;
|
|
14
|
+
metadata?: Record<string, unknown>;
|
|
15
|
+
paymentMethod?: Schematic.PaymentMethodResponseData;
|
|
16
|
+
periodEnd: number;
|
|
17
|
+
periodStart: number;
|
|
18
|
+
products: Schematic.BillingProductForSubscriptionResponseData[];
|
|
19
|
+
status: string;
|
|
20
|
+
subscriptionExternalId: string;
|
|
21
|
+
totalPrice: number;
|
|
22
|
+
trialEnd?: number;
|
|
23
|
+
}
|
|
@@ -2,6 +2,6 @@
|
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
4
|
export interface CheckFlagRequestBody {
|
|
5
|
-
company?: Record<string, string
|
|
6
|
-
user?: Record<string, string
|
|
5
|
+
company?: Record<string, string>;
|
|
6
|
+
user?: Record<string, string>;
|
|
7
7
|
}
|
|
@@ -3,7 +3,9 @@
|
|
|
3
3
|
*/
|
|
4
4
|
import * as Schematic from "../index";
|
|
5
5
|
export interface CompanyDetailResponseData {
|
|
6
|
-
addOns: Schematic.
|
|
6
|
+
addOns: Schematic.CompanyPlanWithBillingSubView[];
|
|
7
|
+
billingSubscription?: Schematic.BillingSubscriptionView;
|
|
8
|
+
billingSubscriptions: Schematic.BillingSubscriptionView[];
|
|
7
9
|
createdAt: Date;
|
|
8
10
|
entityTraits: Schematic.EntityTraitDetailResponseData[];
|
|
9
11
|
environmentId: string;
|
|
@@ -12,8 +14,8 @@ export interface CompanyDetailResponseData {
|
|
|
12
14
|
lastSeenAt?: Date;
|
|
13
15
|
logoUrl?: string;
|
|
14
16
|
name: string;
|
|
15
|
-
plan?: Schematic.
|
|
16
|
-
plans: Schematic.
|
|
17
|
+
plan?: Schematic.CompanyPlanWithBillingSubView;
|
|
18
|
+
plans: Schematic.GenericPreviewObject[];
|
|
17
19
|
/** A map of trait names to trait values */
|
|
18
20
|
traits?: Record<string, unknown>;
|
|
19
21
|
updatedAt: Date;
|
|
@@ -10,11 +10,13 @@ export interface CompanyOverrideResponseData {
|
|
|
10
10
|
companyId: string;
|
|
11
11
|
createdAt: Date;
|
|
12
12
|
environmentId: string;
|
|
13
|
+
expirationDate?: Date;
|
|
13
14
|
feature?: Schematic.FeatureResponseData;
|
|
14
15
|
featureId: string;
|
|
15
16
|
id: string;
|
|
16
17
|
metricPeriod?: string;
|
|
17
|
-
|
|
18
|
+
metricPeriodMonthReset?: string;
|
|
19
|
+
ruleId?: string;
|
|
18
20
|
updatedAt: Date;
|
|
19
21
|
valueBool?: boolean;
|
|
20
22
|
valueNumeric?: number;
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as Schematic from "../index";
|
|
5
|
+
export interface CompanyPlanDetailResponseData {
|
|
6
|
+
audienceType?: string;
|
|
7
|
+
billingProduct?: Schematic.BillingProductDetailResponseData;
|
|
8
|
+
companyCount: number;
|
|
9
|
+
createdAt: Date;
|
|
10
|
+
current: boolean;
|
|
11
|
+
description: string;
|
|
12
|
+
entitlements: Schematic.PlanEntitlementResponseData[];
|
|
13
|
+
features: Schematic.FeatureDetailResponseData[];
|
|
14
|
+
icon: string;
|
|
15
|
+
id: string;
|
|
16
|
+
isDefault: boolean;
|
|
17
|
+
isFree: boolean;
|
|
18
|
+
isTrialable: boolean;
|
|
19
|
+
monthlyPrice?: Schematic.BillingPriceResponseData;
|
|
20
|
+
name: string;
|
|
21
|
+
planType: string;
|
|
22
|
+
trialDays?: number;
|
|
23
|
+
updatedAt: Date;
|
|
24
|
+
valid: boolean;
|
|
25
|
+
yearlyPrice?: Schematic.BillingPriceResponseData;
|
|
26
|
+
}
|
|
@@ -3,9 +3,14 @@
|
|
|
3
3
|
*/
|
|
4
4
|
import * as Schematic from "../index";
|
|
5
5
|
export interface CompanySubscriptionResponseData {
|
|
6
|
+
currency: string;
|
|
6
7
|
customerExternalId: string;
|
|
7
8
|
expiredAt?: Date;
|
|
8
9
|
interval: string;
|
|
10
|
+
latestInvoice?: Schematic.InvoiceResponseData;
|
|
11
|
+
paymentMethod?: Schematic.PaymentMethodResponseData;
|
|
9
12
|
products: Schematic.BillingProductForSubscriptionResponseData[];
|
|
13
|
+
status: string;
|
|
10
14
|
subscriptionExternalId: string;
|
|
15
|
+
totalPrice: number;
|
|
11
16
|
}
|
|
@@ -2,11 +2,14 @@
|
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
4
|
import * as Schematic from "../index";
|
|
5
|
-
/**
|
|
6
|
-
* The returned resource
|
|
7
|
-
*/
|
|
8
5
|
export interface ComponentHydrateResponseData {
|
|
6
|
+
activeAddOns: Schematic.CompanyPlanDetailResponseData[];
|
|
7
|
+
activePlans: Schematic.CompanyPlanDetailResponseData[];
|
|
8
|
+
capabilities?: Schematic.ComponentCapabilities;
|
|
9
9
|
company?: Schematic.CompanyDetailResponseData;
|
|
10
10
|
component?: Schematic.ComponentResponseData;
|
|
11
11
|
featureUsage?: Schematic.FeatureUsageDetailResponseData;
|
|
12
|
+
stripeEmbed?: Schematic.StripeEmbedInfo;
|
|
13
|
+
subscription?: Schematic.CompanySubscriptionResponseData;
|
|
14
|
+
upcomingInvoice?: Schematic.InvoiceResponseData;
|
|
12
15
|
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as Schematic from "../index";
|
|
5
|
+
/**
|
|
6
|
+
* The returned resource
|
|
7
|
+
*/
|
|
8
|
+
export interface ComponentPreviewResponseData {
|
|
9
|
+
activeAddOns: Schematic.CompanyPlanDetailResponseData[];
|
|
10
|
+
activePlans: Schematic.CompanyPlanDetailResponseData[];
|
|
11
|
+
capabilities?: Schematic.ComponentCapabilities;
|
|
12
|
+
company?: Schematic.CompanyDetailResponseData;
|
|
13
|
+
component?: Schematic.ComponentResponseData;
|
|
14
|
+
featureUsage?: Schematic.FeatureUsageDetailResponseData;
|
|
15
|
+
invoices: Schematic.InvoiceResponseData[];
|
|
16
|
+
stripeEmbed?: Schematic.StripeEmbedInfo;
|
|
17
|
+
subscription?: Schematic.CompanySubscriptionResponseData;
|
|
18
|
+
upcomingInvoice?: Schematic.InvoiceResponseData;
|
|
19
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as Schematic from "../index";
|
|
5
|
+
export interface CreateEntitlementReqCommon {
|
|
6
|
+
featureId: string;
|
|
7
|
+
meteredPriceId?: string;
|
|
8
|
+
metricPeriod?: Schematic.CreateEntitlementReqCommonMetricPeriod;
|
|
9
|
+
metricPeriodMonthReset?: Schematic.CreateEntitlementReqCommonMetricPeriodMonthReset;
|
|
10
|
+
valueBool?: boolean;
|
|
11
|
+
valueNumeric?: number;
|
|
12
|
+
valueTraitId?: string;
|
|
13
|
+
valueType: Schematic.CreateEntitlementReqCommonValueType;
|
|
14
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
export declare type CreateEntitlementReqCommonMetricPeriod = "all_time" | "billing" | "current_month" | "current_week" | "current_day";
|
|
5
|
+
export declare const CreateEntitlementReqCommonMetricPeriod: {
|
|
6
|
+
readonly AllTime: "all_time";
|
|
7
|
+
readonly Billing: "billing";
|
|
8
|
+
readonly CurrentMonth: "current_month";
|
|
9
|
+
readonly CurrentWeek: "current_week";
|
|
10
|
+
readonly CurrentDay: "current_day";
|
|
11
|
+
};
|
package/api/types/{UpdateReqCommonMetricPeriod.js → CreateEntitlementReqCommonMetricPeriod.js}
RENAMED
|
@@ -3,8 +3,10 @@
|
|
|
3
3
|
* This file was auto-generated by Fern from our API Definition.
|
|
4
4
|
*/
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.
|
|
7
|
-
exports.
|
|
6
|
+
exports.CreateEntitlementReqCommonMetricPeriod = void 0;
|
|
7
|
+
exports.CreateEntitlementReqCommonMetricPeriod = {
|
|
8
|
+
AllTime: "all_time",
|
|
9
|
+
Billing: "billing",
|
|
8
10
|
CurrentMonth: "current_month",
|
|
9
11
|
CurrentWeek: "current_week",
|
|
10
12
|
CurrentDay: "current_day",
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
export declare type CreateEntitlementReqCommonMetricPeriodMonthReset = "first_of_month" | "billing_cycle";
|
|
5
|
+
export declare const CreateEntitlementReqCommonMetricPeriodMonthReset: {
|
|
6
|
+
readonly FirstOfMonth: "first_of_month";
|
|
7
|
+
readonly BillingCycle: "billing_cycle";
|
|
8
|
+
};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.CreateEntitlementReqCommonMetricPeriodMonthReset = void 0;
|
|
7
|
+
exports.CreateEntitlementReqCommonMetricPeriodMonthReset = {
|
|
8
|
+
FirstOfMonth: "first_of_month",
|
|
9
|
+
BillingCycle: "billing_cycle",
|
|
10
|
+
};
|
package/api/types/{UpdateReqCommonValueType.d.ts → CreateEntitlementReqCommonValueType.d.ts}
RENAMED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
|
-
export declare type
|
|
5
|
-
export declare const
|
|
4
|
+
export declare type CreateEntitlementReqCommonValueType = "boolean" | "numeric" | "trait" | "unlimited";
|
|
5
|
+
export declare const CreateEntitlementReqCommonValueType: {
|
|
6
6
|
readonly Boolean: "boolean";
|
|
7
7
|
readonly Numeric: "numeric";
|
|
8
8
|
readonly Trait: "trait";
|
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
* This file was auto-generated by Fern from our API Definition.
|
|
4
4
|
*/
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.
|
|
7
|
-
exports.
|
|
6
|
+
exports.CreateEntitlementReqCommonValueType = void 0;
|
|
7
|
+
exports.CreateEntitlementReqCommonValueType = {
|
|
8
8
|
Boolean: "boolean",
|
|
9
9
|
Numeric: "numeric",
|
|
10
10
|
Trait: "trait",
|
|
@@ -11,6 +11,8 @@ export interface CreateOrUpdateConditionRequestBody {
|
|
|
11
11
|
id?: string;
|
|
12
12
|
/** Period of time over which to measure the track event metric */
|
|
13
13
|
metricPeriod?: Schematic.CreateOrUpdateConditionRequestBodyMetricPeriod;
|
|
14
|
+
/** When metric_period=current_month, specify whether the month restarts based on the calendar month or the billing period */
|
|
15
|
+
metricPeriodMonthReset?: Schematic.CreateOrUpdateConditionRequestBodyMetricPeriodMonthReset;
|
|
14
16
|
/** Value to compare the track event metric against */
|
|
15
17
|
metricValue?: number;
|
|
16
18
|
operator: Schematic.CreateOrUpdateConditionRequestBodyOperator;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
|
-
export declare type CreateOrUpdateConditionRequestBodyConditionType = "company" | "metric" | "trait" | "user" | "plan" | "billing_product" | "crm_product";
|
|
4
|
+
export declare type CreateOrUpdateConditionRequestBodyConditionType = "company" | "metric" | "trait" | "user" | "plan" | "billing_product" | "crm_product" | "base_plan";
|
|
5
5
|
export declare const CreateOrUpdateConditionRequestBodyConditionType: {
|
|
6
6
|
readonly Company: "company";
|
|
7
7
|
readonly Metric: "metric";
|
|
@@ -10,4 +10,5 @@ export declare const CreateOrUpdateConditionRequestBodyConditionType: {
|
|
|
10
10
|
readonly Plan: "plan";
|
|
11
11
|
readonly BillingProduct: "billing_product";
|
|
12
12
|
readonly CrmProduct: "crm_product";
|
|
13
|
+
readonly BasePlan: "base_plan";
|
|
13
14
|
};
|
|
@@ -4,8 +4,10 @@
|
|
|
4
4
|
/**
|
|
5
5
|
* Period of time over which to measure the track event metric
|
|
6
6
|
*/
|
|
7
|
-
export declare type CreateOrUpdateConditionRequestBodyMetricPeriod = "current_month" | "current_week" | "current_day";
|
|
7
|
+
export declare type CreateOrUpdateConditionRequestBodyMetricPeriod = "all_time" | "billing" | "current_month" | "current_week" | "current_day";
|
|
8
8
|
export declare const CreateOrUpdateConditionRequestBodyMetricPeriod: {
|
|
9
|
+
readonly AllTime: "all_time";
|
|
10
|
+
readonly Billing: "billing";
|
|
9
11
|
readonly CurrentMonth: "current_month";
|
|
10
12
|
readonly CurrentWeek: "current_week";
|
|
11
13
|
readonly CurrentDay: "current_day";
|
|
@@ -5,6 +5,8 @@
|
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
6
|
exports.CreateOrUpdateConditionRequestBodyMetricPeriod = void 0;
|
|
7
7
|
exports.CreateOrUpdateConditionRequestBodyMetricPeriod = {
|
|
8
|
+
AllTime: "all_time",
|
|
9
|
+
Billing: "billing",
|
|
8
10
|
CurrentMonth: "current_month",
|
|
9
11
|
CurrentWeek: "current_week",
|
|
10
12
|
CurrentDay: "current_day",
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
/**
|
|
5
|
+
* When metric_period=current_month, specify whether the month restarts based on the calendar month or the billing period
|
|
6
|
+
*/
|
|
7
|
+
export declare type CreateOrUpdateConditionRequestBodyMetricPeriodMonthReset = "first_of_month" | "billing_cycle";
|
|
8
|
+
export declare const CreateOrUpdateConditionRequestBodyMetricPeriodMonthReset: {
|
|
9
|
+
readonly FirstOfMonth: "first_of_month";
|
|
10
|
+
readonly BillingCycle: "billing_cycle";
|
|
11
|
+
};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.CreateOrUpdateConditionRequestBodyMetricPeriodMonthReset = void 0;
|
|
7
|
+
exports.CreateOrUpdateConditionRequestBodyMetricPeriodMonthReset = {
|
|
8
|
+
FirstOfMonth: "first_of_month",
|
|
9
|
+
BillingCycle: "billing_cycle",
|
|
10
|
+
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
|
-
export declare type CreateOrUpdateConditionRequestBodyOperator = "eq" | "ne" | "gt" | "gte" | "lt" | "lte";
|
|
4
|
+
export declare type CreateOrUpdateConditionRequestBodyOperator = "eq" | "ne" | "gt" | "gte" | "lt" | "lte" | "is_empty" | "not_empty";
|
|
5
5
|
export declare const CreateOrUpdateConditionRequestBodyOperator: {
|
|
6
6
|
readonly Eq: "eq";
|
|
7
7
|
readonly Ne: "ne";
|
|
@@ -9,4 +9,6 @@ export declare const CreateOrUpdateConditionRequestBodyOperator: {
|
|
|
9
9
|
readonly Gte: "gte";
|
|
10
10
|
readonly Lt: "lt";
|
|
11
11
|
readonly Lte: "lte";
|
|
12
|
+
readonly IsEmpty: "is_empty";
|
|
13
|
+
readonly NotEmpty: "not_empty";
|
|
12
14
|
};
|
|
@@ -13,9 +13,9 @@ export interface EventBodyFlagCheck {
|
|
|
13
13
|
/** The reason why the value was returned */
|
|
14
14
|
reason: string;
|
|
15
15
|
/** Key-value pairs used to to identify company for which the flag was checked */
|
|
16
|
-
reqCompany?: Record<string, string
|
|
16
|
+
reqCompany?: Record<string, string>;
|
|
17
17
|
/** Key-value pairs used to to identify user for which the flag was checked */
|
|
18
|
-
reqUser?: Record<string, string
|
|
18
|
+
reqUser?: Record<string, string>;
|
|
19
19
|
/** Schematic rule ID (starting with 'rule\_') of the rule that matched for the flag, if any */
|
|
20
20
|
ruleId?: string;
|
|
21
21
|
/** Schematic user ID (starting with 'user\_') of the user evaluated, if any */
|
|
@@ -13,6 +13,8 @@ export interface FeatureCompanyResponseData {
|
|
|
13
13
|
entitlementId: string;
|
|
14
14
|
entitlementType: string;
|
|
15
15
|
feature?: Schematic.FeatureDetailResponseData;
|
|
16
|
+
/** If the period is current_month, when the month resets. */
|
|
17
|
+
monthReset?: string;
|
|
16
18
|
/** The period over which usage is measured. */
|
|
17
19
|
period?: string;
|
|
18
20
|
plan?: Schematic.PlanResponseData;
|
|
@@ -13,6 +13,8 @@ export interface FeatureCompanyUserResponseData {
|
|
|
13
13
|
entitlementId: string;
|
|
14
14
|
entitlementType: string;
|
|
15
15
|
feature?: Schematic.FeatureDetailResponseData;
|
|
16
|
+
/** If the period is current_month, when the month resets. */
|
|
17
|
+
monthReset?: string;
|
|
16
18
|
/** The period over which usage is measured. */
|
|
17
19
|
period?: string;
|
|
18
20
|
plan?: Schematic.PlanResponseData;
|
|
@@ -12,6 +12,8 @@ export interface FeatureUsageResponseData {
|
|
|
12
12
|
entitlementId: string;
|
|
13
13
|
entitlementType: string;
|
|
14
14
|
feature?: Schematic.FeatureDetailResponseData;
|
|
15
|
+
/** If the period is current_month, when the month resets. */
|
|
16
|
+
monthReset?: string;
|
|
15
17
|
/** The period over which usage is measured. */
|
|
16
18
|
period?: string;
|
|
17
19
|
plan?: Schematic.PlanResponseData;
|