@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
package/reference.md
CHANGED
|
@@ -552,7 +552,7 @@ await client.accounts.listEnvironments();
|
|
|
552
552
|
|
|
553
553
|
```typescript
|
|
554
554
|
await client.accounts.createEnvironment({
|
|
555
|
-
environmentType:
|
|
555
|
+
environmentType: "development",
|
|
556
556
|
name: "name",
|
|
557
557
|
});
|
|
558
558
|
```
|
|
@@ -761,8 +761,8 @@ await client.features.countAudienceCompanies({
|
|
|
761
761
|
{
|
|
762
762
|
conditions: [
|
|
763
763
|
{
|
|
764
|
-
conditionType:
|
|
765
|
-
operator:
|
|
764
|
+
conditionType: "company",
|
|
765
|
+
operator: "eq",
|
|
766
766
|
resourceIds: ["resource_ids"],
|
|
767
767
|
},
|
|
768
768
|
],
|
|
@@ -770,8 +770,8 @@ await client.features.countAudienceCompanies({
|
|
|
770
770
|
],
|
|
771
771
|
conditions: [
|
|
772
772
|
{
|
|
773
|
-
conditionType:
|
|
774
|
-
operator:
|
|
773
|
+
conditionType: "company",
|
|
774
|
+
operator: "eq",
|
|
775
775
|
resourceIds: ["resource_ids"],
|
|
776
776
|
},
|
|
777
777
|
],
|
|
@@ -828,8 +828,8 @@ await client.features.countAudienceUsers({
|
|
|
828
828
|
{
|
|
829
829
|
conditions: [
|
|
830
830
|
{
|
|
831
|
-
conditionType:
|
|
832
|
-
operator:
|
|
831
|
+
conditionType: "company",
|
|
832
|
+
operator: "eq",
|
|
833
833
|
resourceIds: ["resource_ids"],
|
|
834
834
|
},
|
|
835
835
|
],
|
|
@@ -837,8 +837,8 @@ await client.features.countAudienceUsers({
|
|
|
837
837
|
],
|
|
838
838
|
conditions: [
|
|
839
839
|
{
|
|
840
|
-
conditionType:
|
|
841
|
-
operator:
|
|
840
|
+
conditionType: "company",
|
|
841
|
+
operator: "eq",
|
|
842
842
|
resourceIds: ["resource_ids"],
|
|
843
843
|
},
|
|
844
844
|
],
|
|
@@ -895,8 +895,8 @@ await client.features.listAudienceCompanies({
|
|
|
895
895
|
{
|
|
896
896
|
conditions: [
|
|
897
897
|
{
|
|
898
|
-
conditionType:
|
|
899
|
-
operator:
|
|
898
|
+
conditionType: "company",
|
|
899
|
+
operator: "eq",
|
|
900
900
|
resourceIds: ["resource_ids"],
|
|
901
901
|
},
|
|
902
902
|
],
|
|
@@ -904,8 +904,8 @@ await client.features.listAudienceCompanies({
|
|
|
904
904
|
],
|
|
905
905
|
conditions: [
|
|
906
906
|
{
|
|
907
|
-
conditionType:
|
|
908
|
-
operator:
|
|
907
|
+
conditionType: "company",
|
|
908
|
+
operator: "eq",
|
|
909
909
|
resourceIds: ["resource_ids"],
|
|
910
910
|
},
|
|
911
911
|
],
|
|
@@ -962,8 +962,8 @@ await client.features.listAudienceUsers({
|
|
|
962
962
|
{
|
|
963
963
|
conditions: [
|
|
964
964
|
{
|
|
965
|
-
conditionType:
|
|
966
|
-
operator:
|
|
965
|
+
conditionType: "company",
|
|
966
|
+
operator: "eq",
|
|
967
967
|
resourceIds: ["resource_ids"],
|
|
968
968
|
},
|
|
969
969
|
],
|
|
@@ -971,8 +971,8 @@ await client.features.listAudienceUsers({
|
|
|
971
971
|
],
|
|
972
972
|
conditions: [
|
|
973
973
|
{
|
|
974
|
-
conditionType:
|
|
975
|
-
operator:
|
|
974
|
+
conditionType: "company",
|
|
975
|
+
operator: "eq",
|
|
976
976
|
resourceIds: ["resource_ids"],
|
|
977
977
|
},
|
|
978
978
|
],
|
|
@@ -1074,7 +1074,7 @@ await client.features.listFeatures();
|
|
|
1074
1074
|
```typescript
|
|
1075
1075
|
await client.features.createFeature({
|
|
1076
1076
|
description: "description",
|
|
1077
|
-
featureType:
|
|
1077
|
+
featureType: "boolean",
|
|
1078
1078
|
name: "name",
|
|
1079
1079
|
});
|
|
1080
1080
|
```
|
|
@@ -1591,8 +1591,8 @@ await client.features.updateFlagRules("flag_id", {
|
|
|
1591
1591
|
{
|
|
1592
1592
|
conditions: [
|
|
1593
1593
|
{
|
|
1594
|
-
conditionType:
|
|
1595
|
-
operator:
|
|
1594
|
+
conditionType: "company",
|
|
1595
|
+
operator: "eq",
|
|
1596
1596
|
resourceIds: ["resource_ids"],
|
|
1597
1597
|
},
|
|
1598
1598
|
],
|
|
@@ -1600,8 +1600,8 @@ await client.features.updateFlagRules("flag_id", {
|
|
|
1600
1600
|
],
|
|
1601
1601
|
conditions: [
|
|
1602
1602
|
{
|
|
1603
|
-
conditionType:
|
|
1604
|
-
operator:
|
|
1603
|
+
conditionType: "company",
|
|
1604
|
+
operator: "eq",
|
|
1605
1605
|
resourceIds: ["resource_ids"],
|
|
1606
1606
|
},
|
|
1607
1607
|
],
|
|
@@ -1959,7 +1959,7 @@ await client.billing.countCustomers();
|
|
|
1959
1959
|
</dl>
|
|
1960
1960
|
</details>
|
|
1961
1961
|
|
|
1962
|
-
<details><summary><code>client.billing.<a href="/src/api/resources/billing/client/Client.ts">
|
|
1962
|
+
<details><summary><code>client.billing.<a href="/src/api/resources/billing/client/Client.ts">listInvoices</a>({ ...params }) -> Schematic.ListInvoicesResponse</code></summary>
|
|
1963
1963
|
<dl>
|
|
1964
1964
|
<dd>
|
|
1965
1965
|
|
|
@@ -1972,7 +1972,9 @@ await client.billing.countCustomers();
|
|
|
1972
1972
|
<dd>
|
|
1973
1973
|
|
|
1974
1974
|
```typescript
|
|
1975
|
-
await client.billing.
|
|
1975
|
+
await client.billing.listInvoices({
|
|
1976
|
+
customerExternalId: "customer_external_id",
|
|
1977
|
+
});
|
|
1976
1978
|
```
|
|
1977
1979
|
|
|
1978
1980
|
</dd>
|
|
@@ -1988,6 +1990,14 @@ await client.billing.getBillingPlanGroupByAccountId();
|
|
|
1988
1990
|
<dl>
|
|
1989
1991
|
<dd>
|
|
1990
1992
|
|
|
1993
|
+
**request:** `Schematic.ListInvoicesRequest`
|
|
1994
|
+
|
|
1995
|
+
</dd>
|
|
1996
|
+
</dl>
|
|
1997
|
+
|
|
1998
|
+
<dl>
|
|
1999
|
+
<dd>
|
|
2000
|
+
|
|
1991
2001
|
**requestOptions:** `Billing.RequestOptions`
|
|
1992
2002
|
|
|
1993
2003
|
</dd>
|
|
@@ -1999,7 +2009,7 @@ await client.billing.getBillingPlanGroupByAccountId();
|
|
|
1999
2009
|
</dl>
|
|
2000
2010
|
</details>
|
|
2001
2011
|
|
|
2002
|
-
<details><summary><code>client.billing.<a href="/src/api/resources/billing/client/Client.ts">
|
|
2012
|
+
<details><summary><code>client.billing.<a href="/src/api/resources/billing/client/Client.ts">upsertInvoice</a>({ ...params }) -> Schematic.UpsertInvoiceResponse</code></summary>
|
|
2003
2013
|
<dl>
|
|
2004
2014
|
<dd>
|
|
2005
2015
|
|
|
@@ -2012,8 +2022,14 @@ await client.billing.getBillingPlanGroupByAccountId();
|
|
|
2012
2022
|
<dd>
|
|
2013
2023
|
|
|
2014
2024
|
```typescript
|
|
2015
|
-
await client.billing.
|
|
2016
|
-
|
|
2025
|
+
await client.billing.upsertInvoice({
|
|
2026
|
+
amountDue: 1,
|
|
2027
|
+
amountPaid: 1,
|
|
2028
|
+
amountRemaining: 1,
|
|
2029
|
+
collectionMethod: "collection_method",
|
|
2030
|
+
currency: "currency",
|
|
2031
|
+
customerExternalId: "customer_external_id",
|
|
2032
|
+
subtotal: 1,
|
|
2017
2033
|
});
|
|
2018
2034
|
```
|
|
2019
2035
|
|
|
@@ -2030,7 +2046,7 @@ await client.billing.createBillingPlanGroup({
|
|
|
2030
2046
|
<dl>
|
|
2031
2047
|
<dd>
|
|
2032
2048
|
|
|
2033
|
-
**request:** `Schematic.
|
|
2049
|
+
**request:** `Schematic.CreateInvoiceRequestBody`
|
|
2034
2050
|
|
|
2035
2051
|
</dd>
|
|
2036
2052
|
</dl>
|
|
@@ -2049,7 +2065,7 @@ await client.billing.createBillingPlanGroup({
|
|
|
2049
2065
|
</dl>
|
|
2050
2066
|
</details>
|
|
2051
2067
|
|
|
2052
|
-
<details><summary><code>client.billing.<a href="/src/api/resources/billing/client/Client.ts">
|
|
2068
|
+
<details><summary><code>client.billing.<a href="/src/api/resources/billing/client/Client.ts">listMeters</a>({ ...params }) -> Schematic.ListMetersResponse</code></summary>
|
|
2053
2069
|
<dl>
|
|
2054
2070
|
<dd>
|
|
2055
2071
|
|
|
@@ -2062,8 +2078,59 @@ await client.billing.createBillingPlanGroup({
|
|
|
2062
2078
|
<dd>
|
|
2063
2079
|
|
|
2064
2080
|
```typescript
|
|
2065
|
-
await client.billing.
|
|
2066
|
-
|
|
2081
|
+
await client.billing.listMeters();
|
|
2082
|
+
```
|
|
2083
|
+
|
|
2084
|
+
</dd>
|
|
2085
|
+
</dl>
|
|
2086
|
+
</dd>
|
|
2087
|
+
</dl>
|
|
2088
|
+
|
|
2089
|
+
#### ⚙️ Parameters
|
|
2090
|
+
|
|
2091
|
+
<dl>
|
|
2092
|
+
<dd>
|
|
2093
|
+
|
|
2094
|
+
<dl>
|
|
2095
|
+
<dd>
|
|
2096
|
+
|
|
2097
|
+
**request:** `Schematic.ListMetersRequest`
|
|
2098
|
+
|
|
2099
|
+
</dd>
|
|
2100
|
+
</dl>
|
|
2101
|
+
|
|
2102
|
+
<dl>
|
|
2103
|
+
<dd>
|
|
2104
|
+
|
|
2105
|
+
**requestOptions:** `Billing.RequestOptions`
|
|
2106
|
+
|
|
2107
|
+
</dd>
|
|
2108
|
+
</dl>
|
|
2109
|
+
</dd>
|
|
2110
|
+
</dl>
|
|
2111
|
+
|
|
2112
|
+
</dd>
|
|
2113
|
+
</dl>
|
|
2114
|
+
</details>
|
|
2115
|
+
|
|
2116
|
+
<details><summary><code>client.billing.<a href="/src/api/resources/billing/client/Client.ts">upsertBillingMeter</a>({ ...params }) -> Schematic.UpsertBillingMeterResponse</code></summary>
|
|
2117
|
+
<dl>
|
|
2118
|
+
<dd>
|
|
2119
|
+
|
|
2120
|
+
#### 🔌 Usage
|
|
2121
|
+
|
|
2122
|
+
<dl>
|
|
2123
|
+
<dd>
|
|
2124
|
+
|
|
2125
|
+
<dl>
|
|
2126
|
+
<dd>
|
|
2127
|
+
|
|
2128
|
+
```typescript
|
|
2129
|
+
await client.billing.upsertBillingMeter({
|
|
2130
|
+
displayName: "display_name",
|
|
2131
|
+
eventName: "event_name",
|
|
2132
|
+
eventPayloadKey: "event_payload_key",
|
|
2133
|
+
externalId: "external_id",
|
|
2067
2134
|
});
|
|
2068
2135
|
```
|
|
2069
2136
|
|
|
@@ -2080,7 +2147,57 @@ await client.billing.updateBillingPlanGroup("billing_id", {
|
|
|
2080
2147
|
<dl>
|
|
2081
2148
|
<dd>
|
|
2082
2149
|
|
|
2083
|
-
**
|
|
2150
|
+
**request:** `Schematic.CreateMeterRequestBody`
|
|
2151
|
+
|
|
2152
|
+
</dd>
|
|
2153
|
+
</dl>
|
|
2154
|
+
|
|
2155
|
+
<dl>
|
|
2156
|
+
<dd>
|
|
2157
|
+
|
|
2158
|
+
**requestOptions:** `Billing.RequestOptions`
|
|
2159
|
+
|
|
2160
|
+
</dd>
|
|
2161
|
+
</dl>
|
|
2162
|
+
</dd>
|
|
2163
|
+
</dl>
|
|
2164
|
+
|
|
2165
|
+
</dd>
|
|
2166
|
+
</dl>
|
|
2167
|
+
</details>
|
|
2168
|
+
|
|
2169
|
+
<details><summary><code>client.billing.<a href="/src/api/resources/billing/client/Client.ts">listPaymentMethods</a>({ ...params }) -> Schematic.ListPaymentMethodsResponse</code></summary>
|
|
2170
|
+
<dl>
|
|
2171
|
+
<dd>
|
|
2172
|
+
|
|
2173
|
+
#### 🔌 Usage
|
|
2174
|
+
|
|
2175
|
+
<dl>
|
|
2176
|
+
<dd>
|
|
2177
|
+
|
|
2178
|
+
<dl>
|
|
2179
|
+
<dd>
|
|
2180
|
+
|
|
2181
|
+
```typescript
|
|
2182
|
+
await client.billing.listPaymentMethods({
|
|
2183
|
+
customerExternalId: "customer_external_id",
|
|
2184
|
+
});
|
|
2185
|
+
```
|
|
2186
|
+
|
|
2187
|
+
</dd>
|
|
2188
|
+
</dl>
|
|
2189
|
+
</dd>
|
|
2190
|
+
</dl>
|
|
2191
|
+
|
|
2192
|
+
#### ⚙️ Parameters
|
|
2193
|
+
|
|
2194
|
+
<dl>
|
|
2195
|
+
<dd>
|
|
2196
|
+
|
|
2197
|
+
<dl>
|
|
2198
|
+
<dd>
|
|
2199
|
+
|
|
2200
|
+
**request:** `Schematic.ListPaymentMethodsRequest`
|
|
2084
2201
|
|
|
2085
2202
|
</dd>
|
|
2086
2203
|
</dl>
|
|
@@ -2088,7 +2205,99 @@ await client.billing.updateBillingPlanGroup("billing_id", {
|
|
|
2088
2205
|
<dl>
|
|
2089
2206
|
<dd>
|
|
2090
2207
|
|
|
2091
|
-
**
|
|
2208
|
+
**requestOptions:** `Billing.RequestOptions`
|
|
2209
|
+
|
|
2210
|
+
</dd>
|
|
2211
|
+
</dl>
|
|
2212
|
+
</dd>
|
|
2213
|
+
</dl>
|
|
2214
|
+
|
|
2215
|
+
</dd>
|
|
2216
|
+
</dl>
|
|
2217
|
+
</details>
|
|
2218
|
+
|
|
2219
|
+
<details><summary><code>client.billing.<a href="/src/api/resources/billing/client/Client.ts">upsertPaymentMethod</a>({ ...params }) -> Schematic.UpsertPaymentMethodResponse</code></summary>
|
|
2220
|
+
<dl>
|
|
2221
|
+
<dd>
|
|
2222
|
+
|
|
2223
|
+
#### 🔌 Usage
|
|
2224
|
+
|
|
2225
|
+
<dl>
|
|
2226
|
+
<dd>
|
|
2227
|
+
|
|
2228
|
+
<dl>
|
|
2229
|
+
<dd>
|
|
2230
|
+
|
|
2231
|
+
```typescript
|
|
2232
|
+
await client.billing.upsertPaymentMethod({
|
|
2233
|
+
customerExternalId: "customer_external_id",
|
|
2234
|
+
externalId: "external_id",
|
|
2235
|
+
paymentMethodType: "payment_method_type",
|
|
2236
|
+
});
|
|
2237
|
+
```
|
|
2238
|
+
|
|
2239
|
+
</dd>
|
|
2240
|
+
</dl>
|
|
2241
|
+
</dd>
|
|
2242
|
+
</dl>
|
|
2243
|
+
|
|
2244
|
+
#### ⚙️ Parameters
|
|
2245
|
+
|
|
2246
|
+
<dl>
|
|
2247
|
+
<dd>
|
|
2248
|
+
|
|
2249
|
+
<dl>
|
|
2250
|
+
<dd>
|
|
2251
|
+
|
|
2252
|
+
**request:** `Schematic.CreatePaymentMethodRequestBody`
|
|
2253
|
+
|
|
2254
|
+
</dd>
|
|
2255
|
+
</dl>
|
|
2256
|
+
|
|
2257
|
+
<dl>
|
|
2258
|
+
<dd>
|
|
2259
|
+
|
|
2260
|
+
**requestOptions:** `Billing.RequestOptions`
|
|
2261
|
+
|
|
2262
|
+
</dd>
|
|
2263
|
+
</dl>
|
|
2264
|
+
</dd>
|
|
2265
|
+
</dl>
|
|
2266
|
+
|
|
2267
|
+
</dd>
|
|
2268
|
+
</dl>
|
|
2269
|
+
</details>
|
|
2270
|
+
|
|
2271
|
+
<details><summary><code>client.billing.<a href="/src/api/resources/billing/client/Client.ts">searchBillingPrices</a>({ ...params }) -> Schematic.SearchBillingPricesResponse</code></summary>
|
|
2272
|
+
<dl>
|
|
2273
|
+
<dd>
|
|
2274
|
+
|
|
2275
|
+
#### 🔌 Usage
|
|
2276
|
+
|
|
2277
|
+
<dl>
|
|
2278
|
+
<dd>
|
|
2279
|
+
|
|
2280
|
+
<dl>
|
|
2281
|
+
<dd>
|
|
2282
|
+
|
|
2283
|
+
```typescript
|
|
2284
|
+
await client.billing.searchBillingPrices();
|
|
2285
|
+
```
|
|
2286
|
+
|
|
2287
|
+
</dd>
|
|
2288
|
+
</dl>
|
|
2289
|
+
</dd>
|
|
2290
|
+
</dl>
|
|
2291
|
+
|
|
2292
|
+
#### ⚙️ Parameters
|
|
2293
|
+
|
|
2294
|
+
<dl>
|
|
2295
|
+
<dd>
|
|
2296
|
+
|
|
2297
|
+
<dl>
|
|
2298
|
+
<dd>
|
|
2299
|
+
|
|
2300
|
+
**request:** `Schematic.SearchBillingPricesRequest`
|
|
2092
2301
|
|
|
2093
2302
|
</dd>
|
|
2094
2303
|
</dl>
|
|
@@ -2121,10 +2330,12 @@ await client.billing.updateBillingPlanGroup("billing_id", {
|
|
|
2121
2330
|
|
|
2122
2331
|
```typescript
|
|
2123
2332
|
await client.billing.upsertBillingPrice({
|
|
2333
|
+
currency: "currency",
|
|
2124
2334
|
interval: "interval",
|
|
2125
2335
|
price: 1,
|
|
2126
2336
|
priceExternalId: "price_external_id",
|
|
2127
2337
|
productExternalId: "product_external_id",
|
|
2338
|
+
usageType: "usage_type",
|
|
2128
2339
|
});
|
|
2129
2340
|
```
|
|
2130
2341
|
|
|
@@ -2208,6 +2419,54 @@ await client.billing.listProductPrices();
|
|
|
2208
2419
|
</dl>
|
|
2209
2420
|
</details>
|
|
2210
2421
|
|
|
2422
|
+
<details><summary><code>client.billing.<a href="/src/api/resources/billing/client/Client.ts">deleteProductPrice</a>(billingId) -> Schematic.DeleteProductPriceResponse</code></summary>
|
|
2423
|
+
<dl>
|
|
2424
|
+
<dd>
|
|
2425
|
+
|
|
2426
|
+
#### 🔌 Usage
|
|
2427
|
+
|
|
2428
|
+
<dl>
|
|
2429
|
+
<dd>
|
|
2430
|
+
|
|
2431
|
+
<dl>
|
|
2432
|
+
<dd>
|
|
2433
|
+
|
|
2434
|
+
```typescript
|
|
2435
|
+
await client.billing.deleteProductPrice("billing_id");
|
|
2436
|
+
```
|
|
2437
|
+
|
|
2438
|
+
</dd>
|
|
2439
|
+
</dl>
|
|
2440
|
+
</dd>
|
|
2441
|
+
</dl>
|
|
2442
|
+
|
|
2443
|
+
#### ⚙️ Parameters
|
|
2444
|
+
|
|
2445
|
+
<dl>
|
|
2446
|
+
<dd>
|
|
2447
|
+
|
|
2448
|
+
<dl>
|
|
2449
|
+
<dd>
|
|
2450
|
+
|
|
2451
|
+
**billingId:** `string` — billing_id
|
|
2452
|
+
|
|
2453
|
+
</dd>
|
|
2454
|
+
</dl>
|
|
2455
|
+
|
|
2456
|
+
<dl>
|
|
2457
|
+
<dd>
|
|
2458
|
+
|
|
2459
|
+
**requestOptions:** `Billing.RequestOptions`
|
|
2460
|
+
|
|
2461
|
+
</dd>
|
|
2462
|
+
</dl>
|
|
2463
|
+
</dd>
|
|
2464
|
+
</dl>
|
|
2465
|
+
|
|
2466
|
+
</dd>
|
|
2467
|
+
</dl>
|
|
2468
|
+
</details>
|
|
2469
|
+
|
|
2211
2470
|
<details><summary><code>client.billing.<a href="/src/api/resources/billing/client/Client.ts">upsertBillingProduct</a>({ ...params }) -> Schematic.UpsertBillingProductResponse</code></summary>
|
|
2212
2471
|
<dl>
|
|
2213
2472
|
<dd>
|
|
@@ -2310,7 +2569,7 @@ await client.billing.listBillingProducts();
|
|
|
2310
2569
|
</dl>
|
|
2311
2570
|
</details>
|
|
2312
2571
|
|
|
2313
|
-
<details><summary><code>client.billing.<a href="/src/api/resources/billing/client/Client.ts">
|
|
2572
|
+
<details><summary><code>client.billing.<a href="/src/api/resources/billing/client/Client.ts">countBillingProducts</a>({ ...params }) -> Schematic.CountBillingProductsResponse</code></summary>
|
|
2314
2573
|
<dl>
|
|
2315
2574
|
<dd>
|
|
2316
2575
|
|
|
@@ -2323,18 +2582,7 @@ await client.billing.listBillingProducts();
|
|
|
2323
2582
|
<dd>
|
|
2324
2583
|
|
|
2325
2584
|
```typescript
|
|
2326
|
-
await client.billing.
|
|
2327
|
-
customerExternalId: "customer_external_id",
|
|
2328
|
-
expiredAt: new Date("2024-01-15T09:30:00.000Z"),
|
|
2329
|
-
productExternalIds: [
|
|
2330
|
-
{
|
|
2331
|
-
price: 1,
|
|
2332
|
-
productExternalId: "product_external_id",
|
|
2333
|
-
},
|
|
2334
|
-
],
|
|
2335
|
-
subscriptionExternalId: "subscription_external_id",
|
|
2336
|
-
totalPrice: 1,
|
|
2337
|
-
});
|
|
2585
|
+
await client.billing.countBillingProducts();
|
|
2338
2586
|
```
|
|
2339
2587
|
|
|
2340
2588
|
</dd>
|
|
@@ -2350,7 +2598,7 @@ await client.billing.upsertBillingSubscription({
|
|
|
2350
2598
|
<dl>
|
|
2351
2599
|
<dd>
|
|
2352
2600
|
|
|
2353
|
-
**request:** `Schematic.
|
|
2601
|
+
**request:** `Schematic.CountBillingProductsRequest`
|
|
2354
2602
|
|
|
2355
2603
|
</dd>
|
|
2356
2604
|
</dl>
|
|
@@ -2369,7 +2617,7 @@ await client.billing.upsertBillingSubscription({
|
|
|
2369
2617
|
</dl>
|
|
2370
2618
|
</details>
|
|
2371
2619
|
|
|
2372
|
-
<details><summary><code>client.billing.<a href="/src/api/resources/billing/client/Client.ts">
|
|
2620
|
+
<details><summary><code>client.billing.<a href="/src/api/resources/billing/client/Client.ts">upsertBillingSubscription</a>({ ...params }) -> Schematic.UpsertBillingSubscriptionResponse</code></summary>
|
|
2373
2621
|
<dl>
|
|
2374
2622
|
<dd>
|
|
2375
2623
|
|
|
@@ -2382,10 +2630,23 @@ await client.billing.upsertBillingSubscription({
|
|
|
2382
2630
|
<dd>
|
|
2383
2631
|
|
|
2384
2632
|
```typescript
|
|
2385
|
-
await client.billing.
|
|
2386
|
-
|
|
2387
|
-
|
|
2388
|
-
|
|
2633
|
+
await client.billing.upsertBillingSubscription({
|
|
2634
|
+
currency: "currency",
|
|
2635
|
+
customerExternalId: "customer_external_id",
|
|
2636
|
+
expiredAt: "2024-01-15T09:30:00Z",
|
|
2637
|
+
productExternalIds: [
|
|
2638
|
+
{
|
|
2639
|
+
currency: "currency",
|
|
2640
|
+
interval: "interval",
|
|
2641
|
+
price: 1,
|
|
2642
|
+
priceExternalId: "price_external_id",
|
|
2643
|
+
productExternalId: "product_external_id",
|
|
2644
|
+
quantity: 1,
|
|
2645
|
+
usageType: "usage_type",
|
|
2646
|
+
},
|
|
2647
|
+
],
|
|
2648
|
+
subscriptionExternalId: "subscription_external_id",
|
|
2649
|
+
totalPrice: 1,
|
|
2389
2650
|
});
|
|
2390
2651
|
```
|
|
2391
2652
|
|
|
@@ -2402,7 +2663,7 @@ await client.billing.changeSubscriptionWeb({
|
|
|
2402
2663
|
<dl>
|
|
2403
2664
|
<dd>
|
|
2404
2665
|
|
|
2405
|
-
**request:** `Schematic.
|
|
2666
|
+
**request:** `Schematic.CreateBillingSubscriptionsRequestBody`
|
|
2406
2667
|
|
|
2407
2668
|
</dd>
|
|
2408
2669
|
</dl>
|
|
@@ -3036,9 +3297,7 @@ await client.companies.deleteCompanyMembership("company_membership_id");
|
|
|
3036
3297
|
<dd>
|
|
3037
3298
|
|
|
3038
3299
|
```typescript
|
|
3039
|
-
await client.companies.getActiveCompanySubscription(
|
|
3040
|
-
companyId: "company_id",
|
|
3041
|
-
});
|
|
3300
|
+
await client.companies.getActiveCompanySubscription();
|
|
3042
3301
|
```
|
|
3043
3302
|
|
|
3044
3303
|
</dd>
|
|
@@ -3284,9 +3543,9 @@ await client.companies.listEntityTraitDefinitions();
|
|
|
3284
3543
|
|
|
3285
3544
|
```typescript
|
|
3286
3545
|
await client.companies.getOrCreateEntityTraitDefinition({
|
|
3287
|
-
entityType:
|
|
3546
|
+
entityType: "company",
|
|
3288
3547
|
hierarchy: ["hierarchy"],
|
|
3289
|
-
traitType:
|
|
3548
|
+
traitType: "boolean",
|
|
3290
3549
|
});
|
|
3291
3550
|
```
|
|
3292
3551
|
|
|
@@ -3384,7 +3643,7 @@ await client.companies.getEntityTraitDefinition("entity_trait_definition_id");
|
|
|
3384
3643
|
|
|
3385
3644
|
```typescript
|
|
3386
3645
|
await client.companies.updateEntityTraitDefinition("entity_trait_definition_id", {
|
|
3387
|
-
traitType:
|
|
3646
|
+
traitType: "boolean",
|
|
3388
3647
|
});
|
|
3389
3648
|
```
|
|
3390
3649
|
|
|
@@ -4053,7 +4312,7 @@ await client.entitlements.listCompanyOverrides();
|
|
|
4053
4312
|
await client.entitlements.createCompanyOverride({
|
|
4054
4313
|
companyId: "company_id",
|
|
4055
4314
|
featureId: "feature_id",
|
|
4056
|
-
valueType:
|
|
4315
|
+
valueType: "boolean",
|
|
4057
4316
|
});
|
|
4058
4317
|
```
|
|
4059
4318
|
|
|
@@ -4151,7 +4410,7 @@ await client.entitlements.getCompanyOverride("company_override_id");
|
|
|
4151
4410
|
|
|
4152
4411
|
```typescript
|
|
4153
4412
|
await client.entitlements.updateCompanyOverride("company_override_id", {
|
|
4154
|
-
valueType:
|
|
4413
|
+
valueType: "boolean",
|
|
4155
4414
|
});
|
|
4156
4415
|
```
|
|
4157
4416
|
|
|
@@ -4651,7 +4910,7 @@ await client.entitlements.listPlanEntitlements();
|
|
|
4651
4910
|
await client.entitlements.createPlanEntitlement({
|
|
4652
4911
|
featureId: "feature_id",
|
|
4653
4912
|
planId: "plan_id",
|
|
4654
|
-
valueType:
|
|
4913
|
+
valueType: "boolean",
|
|
4655
4914
|
});
|
|
4656
4915
|
```
|
|
4657
4916
|
|
|
@@ -4749,7 +5008,7 @@ await client.entitlements.getPlanEntitlement("plan_entitlement_id");
|
|
|
4749
5008
|
|
|
4750
5009
|
```typescript
|
|
4751
5010
|
await client.entitlements.updatePlanEntitlement("plan_entitlement_id", {
|
|
4752
|
-
valueType:
|
|
5011
|
+
valueType: "boolean",
|
|
4753
5012
|
});
|
|
4754
5013
|
```
|
|
4755
5014
|
|
|
@@ -5007,7 +5266,7 @@ await client.components.listComponents();
|
|
|
5007
5266
|
|
|
5008
5267
|
```typescript
|
|
5009
5268
|
await client.components.createComponent({
|
|
5010
|
-
entityType:
|
|
5269
|
+
entityType: "entitlement",
|
|
5011
5270
|
name: "name",
|
|
5012
5271
|
});
|
|
5013
5272
|
```
|
|
@@ -5196,7 +5455,7 @@ await client.components.deleteComponent("component_id");
|
|
|
5196
5455
|
</dl>
|
|
5197
5456
|
</details>
|
|
5198
5457
|
|
|
5199
|
-
<details><summary><code>client.components.<a href="/src/api/resources/components/client/Client.ts">
|
|
5458
|
+
<details><summary><code>client.components.<a href="/src/api/resources/components/client/Client.ts">countComponents</a>({ ...params }) -> Schematic.CountComponentsResponse</code></summary>
|
|
5200
5459
|
<dl>
|
|
5201
5460
|
<dd>
|
|
5202
5461
|
|
|
@@ -5209,7 +5468,7 @@ await client.components.deleteComponent("component_id");
|
|
|
5209
5468
|
<dd>
|
|
5210
5469
|
|
|
5211
5470
|
```typescript
|
|
5212
|
-
await client.components.
|
|
5471
|
+
await client.components.countComponents();
|
|
5213
5472
|
```
|
|
5214
5473
|
|
|
5215
5474
|
</dd>
|
|
@@ -5225,7 +5484,7 @@ await client.components.hydrateComponent("component_id");
|
|
|
5225
5484
|
<dl>
|
|
5226
5485
|
<dd>
|
|
5227
5486
|
|
|
5228
|
-
**
|
|
5487
|
+
**request:** `Schematic.CountComponentsRequest`
|
|
5229
5488
|
|
|
5230
5489
|
</dd>
|
|
5231
5490
|
</dl>
|
|
@@ -5244,7 +5503,7 @@ await client.components.hydrateComponent("component_id");
|
|
|
5244
5503
|
</dl>
|
|
5245
5504
|
</details>
|
|
5246
5505
|
|
|
5247
|
-
<details><summary><code>client.components.<a href="/src/api/resources/components/client/Client.ts">
|
|
5506
|
+
<details><summary><code>client.components.<a href="/src/api/resources/components/client/Client.ts">previewComponentData</a>({ ...params }) -> Schematic.PreviewComponentDataResponse</code></summary>
|
|
5248
5507
|
<dl>
|
|
5249
5508
|
<dd>
|
|
5250
5509
|
|
|
@@ -5257,7 +5516,7 @@ await client.components.hydrateComponent("component_id");
|
|
|
5257
5516
|
<dd>
|
|
5258
5517
|
|
|
5259
5518
|
```typescript
|
|
5260
|
-
await client.components.
|
|
5519
|
+
await client.components.previewComponentData();
|
|
5261
5520
|
```
|
|
5262
5521
|
|
|
5263
5522
|
</dd>
|
|
@@ -5273,7 +5532,7 @@ await client.components.countComponents();
|
|
|
5273
5532
|
<dl>
|
|
5274
5533
|
<dd>
|
|
5275
5534
|
|
|
5276
|
-
**request:** `Schematic.
|
|
5535
|
+
**request:** `Schematic.PreviewComponentDataRequest`
|
|
5277
5536
|
|
|
5278
5537
|
</dd>
|
|
5279
5538
|
</dl>
|
|
@@ -5574,7 +5833,7 @@ await client.crm.upsertCrmProduct({
|
|
|
5574
5833
|
await client.events.createEventBatch({
|
|
5575
5834
|
events: [
|
|
5576
5835
|
{
|
|
5577
|
-
eventType:
|
|
5836
|
+
eventType: "identify",
|
|
5578
5837
|
},
|
|
5579
5838
|
],
|
|
5580
5839
|
});
|
|
@@ -5770,7 +6029,7 @@ await client.events.listEvents();
|
|
|
5770
6029
|
|
|
5771
6030
|
```typescript
|
|
5772
6031
|
await client.events.createEvent({
|
|
5773
|
-
eventType:
|
|
6032
|
+
eventType: "identify",
|
|
5774
6033
|
});
|
|
5775
6034
|
```
|
|
5776
6035
|
|
|
@@ -5854,54 +6113,6 @@ await client.events.getEvent("event_id");
|
|
|
5854
6113
|
</dl>
|
|
5855
6114
|
</details>
|
|
5856
6115
|
|
|
5857
|
-
<details><summary><code>client.events.<a href="/src/api/resources/events/client/Client.ts">listMetricCounts</a>({ ...params }) -> Schematic.ListMetricCountsResponse</code></summary>
|
|
5858
|
-
<dl>
|
|
5859
|
-
<dd>
|
|
5860
|
-
|
|
5861
|
-
#### 🔌 Usage
|
|
5862
|
-
|
|
5863
|
-
<dl>
|
|
5864
|
-
<dd>
|
|
5865
|
-
|
|
5866
|
-
<dl>
|
|
5867
|
-
<dd>
|
|
5868
|
-
|
|
5869
|
-
```typescript
|
|
5870
|
-
await client.events.listMetricCounts();
|
|
5871
|
-
```
|
|
5872
|
-
|
|
5873
|
-
</dd>
|
|
5874
|
-
</dl>
|
|
5875
|
-
</dd>
|
|
5876
|
-
</dl>
|
|
5877
|
-
|
|
5878
|
-
#### ⚙️ Parameters
|
|
5879
|
-
|
|
5880
|
-
<dl>
|
|
5881
|
-
<dd>
|
|
5882
|
-
|
|
5883
|
-
<dl>
|
|
5884
|
-
<dd>
|
|
5885
|
-
|
|
5886
|
-
**request:** `Schematic.ListMetricCountsRequest`
|
|
5887
|
-
|
|
5888
|
-
</dd>
|
|
5889
|
-
</dl>
|
|
5890
|
-
|
|
5891
|
-
<dl>
|
|
5892
|
-
<dd>
|
|
5893
|
-
|
|
5894
|
-
**requestOptions:** `Events.RequestOptions`
|
|
5895
|
-
|
|
5896
|
-
</dd>
|
|
5897
|
-
</dl>
|
|
5898
|
-
</dd>
|
|
5899
|
-
</dl>
|
|
5900
|
-
|
|
5901
|
-
</dd>
|
|
5902
|
-
</dl>
|
|
5903
|
-
</details>
|
|
5904
|
-
|
|
5905
6116
|
<details><summary><code>client.events.<a href="/src/api/resources/events/client/Client.ts">getSegmentIntegrationStatus</a>() -> Schematic.GetSegmentIntegrationStatusResponse</code></summary>
|
|
5906
6117
|
<dl>
|
|
5907
6118
|
<dd>
|
|
@@ -6010,8 +6221,8 @@ await client.plans.updateAudience("plan_audience_id", {
|
|
|
6010
6221
|
{
|
|
6011
6222
|
conditions: [
|
|
6012
6223
|
{
|
|
6013
|
-
conditionType:
|
|
6014
|
-
operator:
|
|
6224
|
+
conditionType: "company",
|
|
6225
|
+
operator: "eq",
|
|
6015
6226
|
resourceIds: ["resource_ids"],
|
|
6016
6227
|
},
|
|
6017
6228
|
],
|
|
@@ -6019,8 +6230,8 @@ await client.plans.updateAudience("plan_audience_id", {
|
|
|
6019
6230
|
],
|
|
6020
6231
|
conditions: [
|
|
6021
6232
|
{
|
|
6022
|
-
conditionType:
|
|
6023
|
-
operator:
|
|
6233
|
+
conditionType: "company",
|
|
6234
|
+
operator: "eq",
|
|
6024
6235
|
resourceIds: ["resource_ids"],
|
|
6025
6236
|
},
|
|
6026
6237
|
],
|
|
@@ -6179,7 +6390,7 @@ await client.plans.listPlans();
|
|
|
6179
6390
|
await client.plans.createPlan({
|
|
6180
6391
|
description: "description",
|
|
6181
6392
|
name: "name",
|
|
6182
|
-
planType:
|
|
6393
|
+
planType: "plan",
|
|
6183
6394
|
});
|
|
6184
6395
|
```
|
|
6185
6396
|
|
|
@@ -6383,7 +6594,8 @@ await client.plans.deletePlan("plan_id");
|
|
|
6383
6594
|
|
|
6384
6595
|
```typescript
|
|
6385
6596
|
await client.plans.upsertBillingProductPlan("plan_id", {
|
|
6386
|
-
|
|
6597
|
+
isFreePlan: true,
|
|
6598
|
+
isTrialable: true,
|
|
6387
6599
|
});
|
|
6388
6600
|
```
|
|
6389
6601
|
|
|
@@ -6427,7 +6639,7 @@ await client.plans.upsertBillingProductPlan("plan_id", {
|
|
|
6427
6639
|
</dl>
|
|
6428
6640
|
</details>
|
|
6429
6641
|
|
|
6430
|
-
<details><summary><code>client.plans.<a href="/src/api/resources/plans/client/Client.ts">
|
|
6642
|
+
<details><summary><code>client.plans.<a href="/src/api/resources/plans/client/Client.ts">countPlans</a>({ ...params }) -> Schematic.CountPlansResponse</code></summary>
|
|
6431
6643
|
<dl>
|
|
6432
6644
|
<dd>
|
|
6433
6645
|
|
|
@@ -6440,7 +6652,7 @@ await client.plans.upsertBillingProductPlan("plan_id", {
|
|
|
6440
6652
|
<dd>
|
|
6441
6653
|
|
|
6442
6654
|
```typescript
|
|
6443
|
-
await client.plans.
|
|
6655
|
+
await client.plans.countPlans();
|
|
6444
6656
|
```
|
|
6445
6657
|
|
|
6446
6658
|
</dd>
|
|
@@ -6456,6 +6668,14 @@ await client.plans.listActivePlans();
|
|
|
6456
6668
|
<dl>
|
|
6457
6669
|
<dd>
|
|
6458
6670
|
|
|
6671
|
+
**request:** `Schematic.CountPlansRequest`
|
|
6672
|
+
|
|
6673
|
+
</dd>
|
|
6674
|
+
</dl>
|
|
6675
|
+
|
|
6676
|
+
<dl>
|
|
6677
|
+
<dd>
|
|
6678
|
+
|
|
6459
6679
|
**requestOptions:** `Plans.RequestOptions`
|
|
6460
6680
|
|
|
6461
6681
|
</dd>
|
|
@@ -6467,7 +6687,9 @@ await client.plans.listActivePlans();
|
|
|
6467
6687
|
</dl>
|
|
6468
6688
|
</details>
|
|
6469
6689
|
|
|
6470
|
-
|
|
6690
|
+
## plangroups
|
|
6691
|
+
|
|
6692
|
+
<details><summary><code>client.plangroups.<a href="/src/api/resources/plangroups/client/Client.ts">getPlanGroup</a>() -> Schematic.GetPlanGroupResponse</code></summary>
|
|
6471
6693
|
<dl>
|
|
6472
6694
|
<dd>
|
|
6473
6695
|
|
|
@@ -6480,7 +6702,7 @@ await client.plans.listActivePlans();
|
|
|
6480
6702
|
<dd>
|
|
6481
6703
|
|
|
6482
6704
|
```typescript
|
|
6483
|
-
await client.
|
|
6705
|
+
await client.plangroups.getPlanGroup();
|
|
6484
6706
|
```
|
|
6485
6707
|
|
|
6486
6708
|
</dd>
|
|
@@ -6496,15 +6718,117 @@ await client.plans.countPlans();
|
|
|
6496
6718
|
<dl>
|
|
6497
6719
|
<dd>
|
|
6498
6720
|
|
|
6499
|
-
**
|
|
6721
|
+
**requestOptions:** `Plangroups.RequestOptions`
|
|
6500
6722
|
|
|
6723
|
+
</dd>
|
|
6724
|
+
</dl>
|
|
6501
6725
|
</dd>
|
|
6502
6726
|
</dl>
|
|
6503
6727
|
|
|
6728
|
+
</dd>
|
|
6729
|
+
</dl>
|
|
6730
|
+
</details>
|
|
6731
|
+
|
|
6732
|
+
<details><summary><code>client.plangroups.<a href="/src/api/resources/plangroups/client/Client.ts">createPlanGroup</a>({ ...params }) -> Schematic.CreatePlanGroupResponse</code></summary>
|
|
6504
6733
|
<dl>
|
|
6505
6734
|
<dd>
|
|
6506
6735
|
|
|
6507
|
-
|
|
6736
|
+
#### 🔌 Usage
|
|
6737
|
+
|
|
6738
|
+
<dl>
|
|
6739
|
+
<dd>
|
|
6740
|
+
|
|
6741
|
+
<dl>
|
|
6742
|
+
<dd>
|
|
6743
|
+
|
|
6744
|
+
```typescript
|
|
6745
|
+
await client.plangroups.createPlanGroup({
|
|
6746
|
+
addOnIds: ["add_on_ids"],
|
|
6747
|
+
planIds: ["plan_ids"],
|
|
6748
|
+
});
|
|
6749
|
+
```
|
|
6750
|
+
|
|
6751
|
+
</dd>
|
|
6752
|
+
</dl>
|
|
6753
|
+
</dd>
|
|
6754
|
+
</dl>
|
|
6755
|
+
|
|
6756
|
+
#### ⚙️ Parameters
|
|
6757
|
+
|
|
6758
|
+
<dl>
|
|
6759
|
+
<dd>
|
|
6760
|
+
|
|
6761
|
+
<dl>
|
|
6762
|
+
<dd>
|
|
6763
|
+
|
|
6764
|
+
**request:** `Schematic.CreatePlanGroupRequestBody`
|
|
6765
|
+
|
|
6766
|
+
</dd>
|
|
6767
|
+
</dl>
|
|
6768
|
+
|
|
6769
|
+
<dl>
|
|
6770
|
+
<dd>
|
|
6771
|
+
|
|
6772
|
+
**requestOptions:** `Plangroups.RequestOptions`
|
|
6773
|
+
|
|
6774
|
+
</dd>
|
|
6775
|
+
</dl>
|
|
6776
|
+
</dd>
|
|
6777
|
+
</dl>
|
|
6778
|
+
|
|
6779
|
+
</dd>
|
|
6780
|
+
</dl>
|
|
6781
|
+
</details>
|
|
6782
|
+
|
|
6783
|
+
<details><summary><code>client.plangroups.<a href="/src/api/resources/plangroups/client/Client.ts">updatePlanGroup</a>(planGroupId, { ...params }) -> Schematic.UpdatePlanGroupResponse</code></summary>
|
|
6784
|
+
<dl>
|
|
6785
|
+
<dd>
|
|
6786
|
+
|
|
6787
|
+
#### 🔌 Usage
|
|
6788
|
+
|
|
6789
|
+
<dl>
|
|
6790
|
+
<dd>
|
|
6791
|
+
|
|
6792
|
+
<dl>
|
|
6793
|
+
<dd>
|
|
6794
|
+
|
|
6795
|
+
```typescript
|
|
6796
|
+
await client.plangroups.updatePlanGroup("plan_group_id", {
|
|
6797
|
+
addOnIds: ["add_on_ids"],
|
|
6798
|
+
planIds: ["plan_ids"],
|
|
6799
|
+
});
|
|
6800
|
+
```
|
|
6801
|
+
|
|
6802
|
+
</dd>
|
|
6803
|
+
</dl>
|
|
6804
|
+
</dd>
|
|
6805
|
+
</dl>
|
|
6806
|
+
|
|
6807
|
+
#### ⚙️ Parameters
|
|
6808
|
+
|
|
6809
|
+
<dl>
|
|
6810
|
+
<dd>
|
|
6811
|
+
|
|
6812
|
+
<dl>
|
|
6813
|
+
<dd>
|
|
6814
|
+
|
|
6815
|
+
**planGroupId:** `string` — plan_group_id
|
|
6816
|
+
|
|
6817
|
+
</dd>
|
|
6818
|
+
</dl>
|
|
6819
|
+
|
|
6820
|
+
<dl>
|
|
6821
|
+
<dd>
|
|
6822
|
+
|
|
6823
|
+
**request:** `Schematic.UpdatePlanGroupRequestBody`
|
|
6824
|
+
|
|
6825
|
+
</dd>
|
|
6826
|
+
</dl>
|
|
6827
|
+
|
|
6828
|
+
<dl>
|
|
6829
|
+
<dd>
|
|
6830
|
+
|
|
6831
|
+
**requestOptions:** `Plangroups.RequestOptions`
|
|
6508
6832
|
|
|
6509
6833
|
</dd>
|
|
6510
6834
|
</dl>
|
|
@@ -6779,7 +7103,7 @@ await client.webhooks.listWebhooks();
|
|
|
6779
7103
|
```typescript
|
|
6780
7104
|
await client.webhooks.createWebhook({
|
|
6781
7105
|
name: "name",
|
|
6782
|
-
requestTypes: [
|
|
7106
|
+
requestTypes: ["company.updated"],
|
|
6783
7107
|
url: "url",
|
|
6784
7108
|
});
|
|
6785
7109
|
```
|