@schematichq/schematic-typescript-node 1.1.7 → 1.1.9
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 +6 -13
- package/Client.js +26 -109
- package/README.md +5 -3
- package/api/resources/accesstokens/client/Client.js +1 -1
- package/api/resources/accounts/client/Client.js +14 -14
- package/api/resources/billing/client/Client.d.ts +29 -0
- package/api/resources/billing/client/Client.js +124 -17
- package/api/resources/billing/client/requests/CreateBillingPriceRequestBody.d.ts +2 -0
- package/api/resources/billing/client/requests/CreateBillingSubscriptionsRequestBody.d.ts +8 -0
- package/api/resources/billing/client/requests/CreateCouponRequestBody.d.ts +27 -0
- package/api/resources/billing/client/requests/index.d.ts +1 -0
- package/api/resources/{events/types/GetEventSummaryBySubtypeResponse.d.ts → billing/types/UpsertBillingCouponResponse.d.ts} +2 -2
- package/api/resources/billing/types/index.d.ts +1 -0
- package/api/resources/billing/types/index.js +1 -0
- package/api/resources/checkout/client/Client.d.ts +106 -0
- package/api/resources/checkout/client/Client.js +460 -0
- package/api/resources/checkout/client/index.d.ts +1 -0
- package/api/resources/checkout/client/index.js +17 -0
- package/api/resources/checkout/client/requests/UpdateTrialEndRequestBody.d.ts +10 -0
- package/api/resources/checkout/client/requests/index.d.ts +1 -0
- package/api/resources/checkout/client/requests/index.js +2 -0
- package/api/resources/checkout/index.d.ts +2 -0
- package/api/resources/checkout/index.js +18 -0
- package/{dist/api/resources/events/types/GetEventSummaryBySubtypeResponse.d.ts → api/resources/checkout/types/CheckoutInternalResponse.d.ts} +2 -2
- package/api/resources/checkout/types/GetCheckoutDataResponse.d.ts +9 -0
- package/api/resources/checkout/types/GetCheckoutDataResponse.js +5 -0
- package/api/resources/checkout/types/PreviewCheckoutInternalResponse.d.ts +9 -0
- package/api/resources/checkout/types/PreviewCheckoutInternalResponse.js +5 -0
- package/api/resources/checkout/types/UpdateCustomerSubscriptionTrialEndResponse.d.ts +9 -0
- package/api/resources/checkout/types/UpdateCustomerSubscriptionTrialEndResponse.js +5 -0
- package/api/resources/checkout/types/index.d.ts +4 -0
- package/api/resources/checkout/types/index.js +20 -0
- package/api/resources/companies/client/Client.js +31 -31
- package/api/resources/companies/client/requests/CountCompaniesRequest.d.ts +2 -2
- package/api/resources/companies/client/requests/CountUsersRequest.d.ts +3 -3
- package/api/resources/companies/client/requests/ListCompaniesRequest.d.ts +2 -2
- package/api/resources/companies/client/requests/ListUsersRequest.d.ts +3 -3
- package/api/resources/companies/types/CountCompaniesParams.d.ts +2 -2
- package/api/resources/companies/types/CountUsersParams.d.ts +3 -3
- package/api/resources/companies/types/ListCompaniesParams.d.ts +2 -2
- package/api/resources/companies/types/ListUsersParams.d.ts +3 -3
- package/api/resources/components/client/Client.js +7 -7
- package/api/resources/crm/client/Client.js +5 -5
- package/api/resources/entitlements/client/Client.js +27 -21
- package/api/resources/entitlements/client/requests/CountCompanyOverridesRequest.d.ts +9 -5
- package/api/resources/entitlements/client/requests/CountPlanEntitlementsRequest.d.ts +5 -5
- package/api/resources/entitlements/client/requests/CreateCompanyOverrideRequestBody.d.ts +0 -2
- package/api/resources/entitlements/client/requests/CreatePlanEntitlementRequestBody.d.ts +0 -2
- package/api/resources/entitlements/client/requests/ListCompanyOverridesRequest.d.ts +9 -5
- package/api/resources/entitlements/client/requests/ListPlanEntitlementsRequest.d.ts +5 -5
- package/api/resources/entitlements/client/requests/UpdateCompanyOverrideRequestBody.d.ts +0 -2
- package/api/resources/entitlements/client/requests/UpdatePlanEntitlementRequestBody.d.ts +3 -2
- package/api/resources/entitlements/types/CountCompanyOverridesParams.d.ts +7 -5
- package/api/resources/entitlements/types/CountPlanEntitlementsParams.d.ts +5 -5
- package/api/resources/entitlements/types/CreateCompanyOverrideRequestBodyMetricPeriod.d.ts +1 -2
- package/api/resources/entitlements/types/CreateCompanyOverrideRequestBodyMetricPeriod.js +0 -1
- package/api/resources/entitlements/types/CreatePlanEntitlementRequestBodyMetricPeriod.d.ts +1 -2
- package/api/resources/entitlements/types/CreatePlanEntitlementRequestBodyMetricPeriod.js +0 -1
- package/api/resources/entitlements/types/ListCompanyOverridesParams.d.ts +7 -5
- package/api/resources/entitlements/types/ListPlanEntitlementsParams.d.ts +5 -5
- package/api/resources/entitlements/types/UpdateCompanyOverrideRequestBodyMetricPeriod.d.ts +1 -2
- package/api/resources/entitlements/types/UpdateCompanyOverrideRequestBodyMetricPeriod.js +0 -1
- package/api/resources/entitlements/types/UpdatePlanEntitlementRequestBodyMetricPeriod.d.ts +1 -2
- package/api/resources/entitlements/types/UpdatePlanEntitlementRequestBodyMetricPeriod.js +0 -1
- package/api/resources/events/client/Client.d.ts +0 -13
- package/api/resources/events/client/Client.js +6 -96
- package/api/resources/events/types/index.d.ts +0 -1
- package/api/resources/events/types/index.js +0 -1
- package/api/resources/features/client/Client.js +19 -19
- package/api/resources/index.d.ts +6 -3
- package/api/resources/index.js +7 -4
- package/api/resources/plangroups/client/Client.js +3 -3
- package/api/resources/plans/client/Client.d.ts +17 -0
- package/api/resources/plans/client/Client.js +122 -13
- package/api/resources/plans/client/requests/CountPlansRequest.d.ts +4 -0
- package/api/resources/plans/client/requests/ListPlansRequest.d.ts +4 -0
- package/api/resources/plans/client/requests/UpdateCompanyPlansRequestBody.d.ts +13 -0
- package/api/resources/plans/client/requests/UpdateCompanyPlansRequestBody.js +5 -0
- package/api/resources/plans/client/requests/index.d.ts +1 -0
- package/api/resources/plans/types/CountPlansParams.d.ts +2 -0
- package/api/resources/plans/types/ListPlansParams.d.ts +2 -0
- package/api/resources/plans/types/UpdateCompanyPlansResponse.d.ts +9 -0
- package/api/resources/plans/types/UpdateCompanyPlansResponse.js +5 -0
- package/api/resources/plans/types/index.d.ts +1 -0
- package/api/resources/plans/types/index.js +1 -0
- package/api/resources/webhooks/client/Client.js +9 -9
- package/api/resources/webhooks/types/CreateWebhookRequestBodyRequestTypesItem.d.ts +2 -1
- package/api/resources/webhooks/types/CreateWebhookRequestBodyRequestTypesItem.js +1 -0
- package/api/resources/webhooks/types/UpdateWebhookRequestBodyRequestTypesItem.d.ts +2 -1
- package/api/resources/webhooks/types/UpdateWebhookRequestBodyRequestTypesItem.js +1 -0
- package/api/types/BillingCouponResponseData.d.ts +24 -0
- package/api/types/BillingCouponResponseData.js +5 -0
- package/api/types/BillingPriceView.d.ts +1 -0
- package/api/types/BillingProductForSubscriptionResponseData.d.ts +1 -0
- package/api/types/BillingProductPriceResponseData.d.ts +1 -0
- package/api/types/BillingSubscriptionDiscount.d.ts +12 -0
- package/api/types/BillingSubscriptionDiscount.js +5 -0
- package/api/types/BillingSubscriptionDiscountView.d.ts +19 -0
- package/api/types/BillingSubscriptionDiscountView.js +5 -0
- package/api/types/BillingSubscriptionResponseData.d.ts +1 -0
- package/api/types/BillingSubscriptionView.d.ts +5 -0
- package/api/types/ChangeSubscriptionInternalRequestBody.d.ts +13 -0
- package/api/types/ChangeSubscriptionInternalRequestBody.js +5 -0
- package/api/types/ChangeSubscriptionRequestBody.d.ts +12 -0
- package/api/types/ChangeSubscriptionRequestBody.js +5 -0
- package/api/types/CheckFlagResponseData.d.ts +19 -0
- package/api/types/CheckFlagsResponseData.d.ts +1 -1
- package/api/types/CheckoutDataResponseData.d.ts +15 -0
- package/api/types/CheckoutDataResponseData.js +5 -0
- package/api/types/CompanyDetailResponseData.d.ts +1 -0
- package/api/types/CompanyEventPeriodMetricsResponseData.d.ts +16 -0
- package/api/types/CompanyEventPeriodMetricsResponseData.js +5 -0
- package/api/types/CompanyOverrideResponseData.d.ts +1 -0
- package/api/types/CompanySubscriptionResponseData.d.ts +2 -0
- package/api/types/ComponentHydrateResponseData.d.ts +2 -0
- package/api/types/ComponentPreviewResponseData.d.ts +2 -0
- package/api/types/CouponRequestBody.d.ts +13 -0
- package/api/types/CouponRequestBody.js +5 -0
- package/api/types/CreateEntitlementReqCommon.d.ts +0 -2
- package/api/types/CreateEntitlementReqCommonMetricPeriod.d.ts +1 -2
- package/api/types/CreateEntitlementReqCommonMetricPeriod.js +0 -1
- package/api/types/CreateOrUpdateConditionRequestBodyMetricPeriod.d.ts +1 -2
- package/api/types/CreateOrUpdateConditionRequestBodyMetricPeriod.js +0 -1
- package/api/types/EventBodyFlagCheck.d.ts +4 -4
- package/api/types/EventBodyTrack.d.ts +2 -0
- package/api/types/EventDetailResponseData.d.ts +1 -0
- package/api/types/EventResponseData.d.ts +1 -0
- package/api/types/FeatureCompanyResponseData.d.ts +1 -0
- package/api/types/FeatureUsageResponseData.d.ts +5 -1
- package/api/types/PlanEntitlementResponseData.d.ts +1 -0
- package/api/types/PreviewSubscriptionChangeResponseData.d.ts +16 -0
- package/api/types/PreviewSubscriptionChangeResponseData.js +5 -0
- package/api/types/UpdateAddOnRequestBody.d.ts +7 -0
- package/api/types/UpdateAddOnRequestBody.js +5 -0
- package/api/types/UpdateEntitlementReqCommon.d.ts +0 -2
- package/api/types/UpdateEntitlementReqCommonMetricPeriod.d.ts +1 -2
- package/api/types/UpdateEntitlementReqCommonMetricPeriod.js +0 -1
- package/api/types/UpdatePayInAdvanceRequestBody.d.ts +7 -0
- package/api/types/UpdatePayInAdvanceRequestBody.js +5 -0
- package/api/types/UsageBasedEntitlementRequestBody.d.ts +8 -0
- package/api/types/UsageBasedEntitlementRequestBody.js +5 -0
- package/api/types/UsageBasedEntitlementResponseData.d.ts +2 -0
- package/api/types/index.d.ts +12 -1
- package/api/types/index.js +12 -1
- package/dist/Client.d.ts +6 -13
- package/dist/Client.js +26 -109
- package/dist/api/resources/accesstokens/client/Client.js +1 -1
- package/dist/api/resources/accounts/client/Client.js +14 -14
- package/dist/api/resources/billing/client/Client.d.ts +29 -0
- package/dist/api/resources/billing/client/Client.js +124 -17
- package/dist/api/resources/billing/client/requests/CreateBillingPriceRequestBody.d.ts +2 -0
- package/dist/api/resources/billing/client/requests/CreateBillingSubscriptionsRequestBody.d.ts +8 -0
- package/dist/api/resources/billing/client/requests/CreateCouponRequestBody.d.ts +27 -0
- package/dist/api/resources/billing/client/requests/CreateCouponRequestBody.js +5 -0
- package/dist/api/resources/billing/client/requests/index.d.ts +1 -0
- package/dist/api/resources/billing/types/UpsertBillingCouponResponse.d.ts +9 -0
- package/dist/api/resources/billing/types/UpsertBillingCouponResponse.js +5 -0
- package/dist/api/resources/billing/types/index.d.ts +1 -0
- package/dist/api/resources/billing/types/index.js +1 -0
- package/dist/api/resources/checkout/client/Client.d.ts +106 -0
- package/dist/api/resources/checkout/client/Client.js +460 -0
- package/dist/api/resources/checkout/client/index.d.ts +1 -0
- package/dist/api/resources/checkout/client/index.js +17 -0
- package/dist/api/resources/checkout/client/requests/UpdateTrialEndRequestBody.d.ts +10 -0
- package/dist/api/resources/checkout/client/requests/UpdateTrialEndRequestBody.js +5 -0
- package/dist/api/resources/checkout/client/requests/index.d.ts +1 -0
- package/dist/api/resources/checkout/client/requests/index.js +2 -0
- package/dist/api/resources/checkout/index.d.ts +2 -0
- package/dist/api/resources/checkout/index.js +18 -0
- package/dist/api/resources/checkout/types/CheckoutInternalResponse.d.ts +9 -0
- package/dist/api/resources/checkout/types/CheckoutInternalResponse.js +5 -0
- package/dist/api/resources/checkout/types/GetCheckoutDataResponse.d.ts +9 -0
- package/dist/api/resources/checkout/types/GetCheckoutDataResponse.js +5 -0
- package/dist/api/resources/checkout/types/PreviewCheckoutInternalResponse.d.ts +9 -0
- package/dist/api/resources/checkout/types/PreviewCheckoutInternalResponse.js +5 -0
- package/dist/api/resources/checkout/types/UpdateCustomerSubscriptionTrialEndResponse.d.ts +9 -0
- package/dist/api/resources/checkout/types/UpdateCustomerSubscriptionTrialEndResponse.js +5 -0
- package/dist/api/resources/checkout/types/index.d.ts +4 -0
- package/dist/api/resources/checkout/types/index.js +20 -0
- package/dist/api/resources/companies/client/Client.js +31 -31
- package/dist/api/resources/companies/client/requests/CountCompaniesRequest.d.ts +2 -2
- package/dist/api/resources/companies/client/requests/CountUsersRequest.d.ts +3 -3
- package/dist/api/resources/companies/client/requests/ListCompaniesRequest.d.ts +2 -2
- package/dist/api/resources/companies/client/requests/ListUsersRequest.d.ts +3 -3
- package/dist/api/resources/companies/types/CountCompaniesParams.d.ts +2 -2
- package/dist/api/resources/companies/types/CountUsersParams.d.ts +3 -3
- package/dist/api/resources/companies/types/ListCompaniesParams.d.ts +2 -2
- package/dist/api/resources/companies/types/ListUsersParams.d.ts +3 -3
- package/dist/api/resources/components/client/Client.js +7 -7
- package/dist/api/resources/crm/client/Client.js +5 -5
- package/dist/api/resources/entitlements/client/Client.js +27 -21
- package/dist/api/resources/entitlements/client/requests/CountCompanyOverridesRequest.d.ts +9 -5
- package/dist/api/resources/entitlements/client/requests/CountPlanEntitlementsRequest.d.ts +5 -5
- package/dist/api/resources/entitlements/client/requests/CreateCompanyOverrideRequestBody.d.ts +0 -2
- package/dist/api/resources/entitlements/client/requests/CreatePlanEntitlementRequestBody.d.ts +0 -2
- package/dist/api/resources/entitlements/client/requests/ListCompanyOverridesRequest.d.ts +9 -5
- package/dist/api/resources/entitlements/client/requests/ListPlanEntitlementsRequest.d.ts +5 -5
- package/dist/api/resources/entitlements/client/requests/UpdateCompanyOverrideRequestBody.d.ts +0 -2
- package/dist/api/resources/entitlements/client/requests/UpdatePlanEntitlementRequestBody.d.ts +3 -2
- package/dist/api/resources/entitlements/types/CountCompanyOverridesParams.d.ts +7 -5
- package/dist/api/resources/entitlements/types/CountPlanEntitlementsParams.d.ts +5 -5
- package/dist/api/resources/entitlements/types/CreateCompanyOverrideRequestBodyMetricPeriod.d.ts +1 -2
- package/dist/api/resources/entitlements/types/CreateCompanyOverrideRequestBodyMetricPeriod.js +0 -1
- package/dist/api/resources/entitlements/types/CreatePlanEntitlementRequestBodyMetricPeriod.d.ts +1 -2
- package/dist/api/resources/entitlements/types/CreatePlanEntitlementRequestBodyMetricPeriod.js +0 -1
- package/dist/api/resources/entitlements/types/ListCompanyOverridesParams.d.ts +7 -5
- package/dist/api/resources/entitlements/types/ListPlanEntitlementsParams.d.ts +5 -5
- package/dist/api/resources/entitlements/types/UpdateCompanyOverrideRequestBodyMetricPeriod.d.ts +1 -2
- package/dist/api/resources/entitlements/types/UpdateCompanyOverrideRequestBodyMetricPeriod.js +0 -1
- package/dist/api/resources/entitlements/types/UpdatePlanEntitlementRequestBodyMetricPeriod.d.ts +1 -2
- package/dist/api/resources/entitlements/types/UpdatePlanEntitlementRequestBodyMetricPeriod.js +0 -1
- package/dist/api/resources/events/client/Client.d.ts +0 -13
- package/dist/api/resources/events/client/Client.js +6 -96
- package/dist/api/resources/events/types/index.d.ts +0 -1
- package/dist/api/resources/events/types/index.js +0 -1
- package/dist/api/resources/features/client/Client.js +19 -19
- package/dist/api/resources/index.d.ts +6 -3
- package/dist/api/resources/index.js +7 -4
- package/dist/api/resources/plangroups/client/Client.js +3 -3
- package/dist/api/resources/plans/client/Client.d.ts +17 -0
- package/dist/api/resources/plans/client/Client.js +122 -13
- package/dist/api/resources/plans/client/requests/CountPlansRequest.d.ts +4 -0
- package/dist/api/resources/plans/client/requests/ListPlansRequest.d.ts +4 -0
- package/dist/api/resources/plans/client/requests/UpdateCompanyPlansRequestBody.d.ts +13 -0
- package/dist/api/resources/plans/client/requests/UpdateCompanyPlansRequestBody.js +5 -0
- package/dist/api/resources/plans/client/requests/index.d.ts +1 -0
- package/dist/api/resources/plans/types/CountPlansParams.d.ts +2 -0
- package/dist/api/resources/plans/types/ListPlansParams.d.ts +2 -0
- package/dist/api/resources/plans/types/UpdateCompanyPlansResponse.d.ts +9 -0
- package/dist/api/resources/plans/types/UpdateCompanyPlansResponse.js +5 -0
- package/dist/api/resources/plans/types/index.d.ts +1 -0
- package/dist/api/resources/plans/types/index.js +1 -0
- package/dist/api/resources/webhooks/client/Client.js +9 -9
- package/dist/api/resources/webhooks/types/CreateWebhookRequestBodyRequestTypesItem.d.ts +2 -1
- package/dist/api/resources/webhooks/types/CreateWebhookRequestBodyRequestTypesItem.js +1 -0
- package/dist/api/resources/webhooks/types/UpdateWebhookRequestBodyRequestTypesItem.d.ts +2 -1
- package/dist/api/resources/webhooks/types/UpdateWebhookRequestBodyRequestTypesItem.js +1 -0
- package/dist/api/types/BillingCouponResponseData.d.ts +24 -0
- package/dist/api/types/BillingCouponResponseData.js +5 -0
- package/dist/api/types/BillingPriceView.d.ts +1 -0
- package/dist/api/types/BillingProductForSubscriptionResponseData.d.ts +1 -0
- package/dist/api/types/BillingProductPriceResponseData.d.ts +1 -0
- package/dist/api/types/BillingSubscriptionDiscount.d.ts +12 -0
- package/dist/api/types/BillingSubscriptionDiscount.js +5 -0
- package/dist/api/types/BillingSubscriptionDiscountView.d.ts +19 -0
- package/dist/api/types/BillingSubscriptionDiscountView.js +5 -0
- package/dist/api/types/BillingSubscriptionResponseData.d.ts +1 -0
- package/dist/api/types/BillingSubscriptionView.d.ts +5 -0
- package/dist/api/types/ChangeSubscriptionInternalRequestBody.d.ts +13 -0
- package/dist/api/types/ChangeSubscriptionInternalRequestBody.js +5 -0
- package/dist/api/types/ChangeSubscriptionRequestBody.d.ts +12 -0
- package/dist/api/types/ChangeSubscriptionRequestBody.js +5 -0
- package/dist/api/types/CheckFlagResponseData.d.ts +19 -0
- package/dist/api/types/CheckFlagsResponseData.d.ts +1 -1
- package/dist/api/types/CheckoutDataResponseData.d.ts +15 -0
- package/dist/api/types/CheckoutDataResponseData.js +5 -0
- package/dist/api/types/CompanyDetailResponseData.d.ts +1 -0
- package/dist/api/types/CompanyEventPeriodMetricsResponseData.d.ts +16 -0
- package/dist/api/types/CompanyEventPeriodMetricsResponseData.js +5 -0
- package/dist/api/types/CompanyOverrideResponseData.d.ts +1 -0
- package/dist/api/types/CompanySubscriptionResponseData.d.ts +2 -0
- package/dist/api/types/ComponentHydrateResponseData.d.ts +2 -0
- package/dist/api/types/ComponentPreviewResponseData.d.ts +2 -0
- package/dist/api/types/CouponRequestBody.d.ts +13 -0
- package/dist/api/types/CouponRequestBody.js +5 -0
- package/dist/api/types/CreateEntitlementReqCommon.d.ts +0 -2
- package/dist/api/types/CreateEntitlementReqCommonMetricPeriod.d.ts +1 -2
- package/dist/api/types/CreateEntitlementReqCommonMetricPeriod.js +0 -1
- package/dist/api/types/CreateOrUpdateConditionRequestBodyMetricPeriod.d.ts +1 -2
- package/dist/api/types/CreateOrUpdateConditionRequestBodyMetricPeriod.js +0 -1
- package/dist/api/types/EventBodyFlagCheck.d.ts +4 -4
- package/dist/api/types/EventBodyTrack.d.ts +2 -0
- package/dist/api/types/EventDetailResponseData.d.ts +1 -0
- package/dist/api/types/EventResponseData.d.ts +1 -0
- package/dist/api/types/FeatureCompanyResponseData.d.ts +1 -0
- package/dist/api/types/FeatureUsageResponseData.d.ts +5 -1
- package/dist/api/types/PlanEntitlementResponseData.d.ts +1 -0
- package/dist/api/types/PreviewSubscriptionChangeResponseData.d.ts +16 -0
- package/dist/api/types/PreviewSubscriptionChangeResponseData.js +5 -0
- package/dist/api/types/UpdateAddOnRequestBody.d.ts +7 -0
- package/dist/api/types/UpdateAddOnRequestBody.js +5 -0
- package/dist/api/types/UpdateEntitlementReqCommon.d.ts +0 -2
- package/dist/api/types/UpdateEntitlementReqCommonMetricPeriod.d.ts +1 -2
- package/dist/api/types/UpdateEntitlementReqCommonMetricPeriod.js +0 -1
- package/dist/api/types/UpdatePayInAdvanceRequestBody.d.ts +7 -0
- package/dist/api/types/UpdatePayInAdvanceRequestBody.js +5 -0
- package/dist/api/types/UsageBasedEntitlementRequestBody.d.ts +8 -0
- package/dist/api/types/UsageBasedEntitlementRequestBody.js +5 -0
- package/dist/api/types/UsageBasedEntitlementResponseData.d.ts +2 -0
- package/dist/api/types/index.d.ts +12 -1
- package/dist/api/types/index.js +12 -1
- package/dist/serialization/resources/billing/client/requests/CreateBillingPriceRequestBody.d.ts +1 -0
- package/dist/serialization/resources/billing/client/requests/CreateBillingPriceRequestBody.js +1 -0
- package/dist/serialization/resources/billing/client/requests/CreateBillingSubscriptionsRequestBody.d.ts +3 -0
- package/dist/serialization/resources/billing/client/requests/CreateBillingSubscriptionsRequestBody.js +3 -0
- package/dist/serialization/resources/billing/client/requests/CreateCouponRequestBody.d.ts +20 -0
- package/dist/serialization/resources/billing/client/requests/CreateCouponRequestBody.js +41 -0
- package/dist/serialization/resources/billing/client/requests/index.d.ts +1 -0
- package/dist/serialization/resources/billing/client/requests/index.js +3 -1
- package/dist/serialization/resources/billing/types/UpsertBillingCouponResponse.d.ts +14 -0
- package/dist/serialization/resources/{events/types/GetEventSummaryBySubtypeResponse.js → billing/types/UpsertBillingCouponResponse.js} +4 -4
- package/dist/serialization/resources/billing/types/index.d.ts +1 -0
- package/dist/serialization/resources/billing/types/index.js +1 -0
- package/dist/serialization/resources/checkout/client/index.d.ts +1 -0
- package/dist/serialization/resources/checkout/client/index.js +17 -0
- package/dist/serialization/resources/checkout/client/requests/UpdateTrialEndRequestBody.d.ts +12 -0
- package/dist/serialization/resources/checkout/client/requests/UpdateTrialEndRequestBody.js +33 -0
- package/dist/serialization/resources/checkout/client/requests/index.d.ts +1 -0
- package/dist/serialization/resources/checkout/client/requests/index.js +5 -0
- package/dist/serialization/resources/checkout/index.d.ts +2 -0
- package/dist/serialization/resources/checkout/index.js +18 -0
- package/dist/serialization/resources/checkout/types/CheckoutInternalResponse.d.ts +14 -0
- package/dist/serialization/resources/checkout/types/CheckoutInternalResponse.js +35 -0
- package/dist/serialization/resources/checkout/types/GetCheckoutDataResponse.d.ts +14 -0
- package/{serialization/resources/events/types/GetEventSummaryBySubtypeResponse.js → dist/serialization/resources/checkout/types/GetCheckoutDataResponse.js} +4 -4
- package/dist/serialization/resources/checkout/types/PreviewCheckoutInternalResponse.d.ts +14 -0
- package/dist/serialization/resources/checkout/types/PreviewCheckoutInternalResponse.js +35 -0
- package/dist/serialization/resources/checkout/types/UpdateCustomerSubscriptionTrialEndResponse.d.ts +14 -0
- package/dist/serialization/resources/checkout/types/UpdateCustomerSubscriptionTrialEndResponse.js +35 -0
- package/dist/serialization/resources/checkout/types/index.d.ts +4 -0
- package/dist/serialization/resources/checkout/types/index.js +20 -0
- package/dist/serialization/resources/entitlements/client/requests/CreateCompanyOverrideRequestBody.d.ts +0 -2
- package/dist/serialization/resources/entitlements/client/requests/CreateCompanyOverrideRequestBody.js +0 -2
- package/dist/serialization/resources/entitlements/client/requests/CreatePlanEntitlementRequestBody.d.ts +0 -2
- package/dist/serialization/resources/entitlements/client/requests/CreatePlanEntitlementRequestBody.js +0 -2
- package/dist/serialization/resources/entitlements/client/requests/UpdateCompanyOverrideRequestBody.d.ts +0 -2
- package/dist/serialization/resources/entitlements/client/requests/UpdateCompanyOverrideRequestBody.js +0 -2
- package/dist/serialization/resources/entitlements/client/requests/UpdatePlanEntitlementRequestBody.d.ts +3 -2
- package/dist/serialization/resources/entitlements/client/requests/UpdatePlanEntitlementRequestBody.js +3 -2
- package/dist/serialization/resources/entitlements/types/CountCompanyOverridesParams.d.ts +1 -0
- package/dist/serialization/resources/entitlements/types/CountCompanyOverridesParams.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/CreatePlanEntitlementRequestBodyMetricPeriod.d.ts +1 -1
- package/dist/serialization/resources/entitlements/types/CreatePlanEntitlementRequestBodyMetricPeriod.js +1 -1
- package/dist/serialization/resources/entitlements/types/ListCompanyOverridesParams.d.ts +1 -0
- package/dist/serialization/resources/entitlements/types/ListCompanyOverridesParams.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/UpdatePlanEntitlementRequestBodyMetricPeriod.d.ts +1 -1
- package/dist/serialization/resources/entitlements/types/UpdatePlanEntitlementRequestBodyMetricPeriod.js +1 -1
- package/dist/serialization/resources/events/types/index.d.ts +0 -1
- package/dist/serialization/resources/events/types/index.js +0 -1
- package/dist/serialization/resources/index.d.ts +6 -3
- package/dist/serialization/resources/index.js +7 -4
- package/dist/serialization/resources/plans/client/requests/UpdateCompanyPlansRequestBody.d.ts +13 -0
- package/dist/serialization/resources/plans/client/requests/UpdateCompanyPlansRequestBody.js +34 -0
- package/dist/serialization/resources/plans/client/requests/index.d.ts +1 -0
- package/dist/serialization/resources/plans/client/requests/index.js +3 -1
- package/dist/serialization/resources/plans/types/CountPlansParams.d.ts +1 -0
- package/dist/serialization/resources/plans/types/CountPlansParams.js +1 -0
- package/dist/serialization/resources/plans/types/ListPlansParams.d.ts +1 -0
- package/dist/serialization/resources/plans/types/ListPlansParams.js +1 -0
- package/dist/serialization/resources/plans/types/UpdateCompanyPlansResponse.d.ts +14 -0
- package/dist/serialization/resources/plans/types/UpdateCompanyPlansResponse.js +35 -0
- package/dist/serialization/resources/plans/types/index.d.ts +1 -0
- package/dist/serialization/resources/plans/types/index.js +1 -0
- package/dist/serialization/resources/webhooks/types/CreateWebhookRequestBodyRequestTypesItem.d.ts +1 -1
- package/dist/serialization/resources/webhooks/types/CreateWebhookRequestBodyRequestTypesItem.js +1 -0
- package/dist/serialization/resources/webhooks/types/UpdateWebhookRequestBodyRequestTypesItem.d.ts +1 -1
- package/dist/serialization/resources/webhooks/types/UpdateWebhookRequestBodyRequestTypesItem.js +1 -0
- package/dist/serialization/types/BillingCouponResponseData.d.ts +27 -0
- package/dist/serialization/types/BillingCouponResponseData.js +48 -0
- package/dist/serialization/types/BillingPriceView.d.ts +1 -0
- package/dist/serialization/types/BillingPriceView.js +1 -0
- package/dist/serialization/types/BillingProductForSubscriptionResponseData.d.ts +1 -0
- package/dist/serialization/types/BillingProductForSubscriptionResponseData.js +1 -0
- package/dist/serialization/types/BillingProductPriceResponseData.d.ts +1 -0
- package/dist/serialization/types/BillingProductPriceResponseData.js +1 -0
- package/dist/serialization/types/BillingSubscriptionDiscount.d.ts +18 -0
- package/dist/serialization/types/BillingSubscriptionDiscount.js +39 -0
- package/dist/serialization/types/BillingSubscriptionDiscountView.d.ts +25 -0
- package/dist/serialization/types/BillingSubscriptionDiscountView.js +46 -0
- package/dist/serialization/types/BillingSubscriptionResponseData.d.ts +1 -0
- package/dist/serialization/types/BillingSubscriptionResponseData.js +1 -0
- package/dist/serialization/types/BillingSubscriptionView.d.ts +3 -0
- package/dist/serialization/types/BillingSubscriptionView.js +3 -0
- package/dist/serialization/types/ChangeSubscriptionInternalRequestBody.d.ts +20 -0
- package/dist/serialization/types/ChangeSubscriptionInternalRequestBody.js +41 -0
- package/dist/serialization/types/ChangeSubscriptionRequestBody.d.ts +19 -0
- package/dist/serialization/types/ChangeSubscriptionRequestBody.js +40 -0
- package/dist/serialization/types/CheckFlagResponseData.d.ts +6 -0
- package/dist/serialization/types/CheckFlagResponseData.js +6 -0
- package/dist/serialization/types/CheckFlagsResponseData.d.ts +2 -2
- package/dist/serialization/types/CheckFlagsResponseData.js +2 -2
- package/dist/serialization/types/CheckoutDataResponseData.d.ts +22 -0
- package/dist/serialization/types/CheckoutDataResponseData.js +43 -0
- package/dist/serialization/types/CompanyDetailResponseData.d.ts +2 -0
- package/dist/serialization/types/CompanyDetailResponseData.js +2 -0
- package/dist/serialization/types/CompanyEventPeriodMetricsResponseData.d.ts +22 -0
- package/dist/serialization/types/CompanyEventPeriodMetricsResponseData.js +43 -0
- package/dist/serialization/types/CompanyOverrideResponseData.d.ts +1 -0
- package/dist/serialization/types/CompanyOverrideResponseData.js +1 -0
- package/dist/serialization/types/CompanySubscriptionResponseData.d.ts +3 -0
- package/dist/serialization/types/CompanySubscriptionResponseData.js +3 -0
- package/dist/serialization/types/ComponentHydrateResponseData.d.ts +3 -0
- package/dist/serialization/types/ComponentHydrateResponseData.js +3 -0
- package/dist/serialization/types/ComponentPreviewResponseData.d.ts +3 -0
- package/dist/serialization/types/ComponentPreviewResponseData.js +3 -0
- package/dist/serialization/types/CouponRequestBody.d.ts +19 -0
- package/dist/serialization/types/CouponRequestBody.js +40 -0
- package/dist/serialization/types/CreateEntitlementReqCommon.d.ts +0 -2
- package/dist/serialization/types/CreateEntitlementReqCommon.js +0 -2
- package/dist/serialization/types/CreateEntitlementReqCommonMetricPeriod.d.ts +1 -1
- package/dist/serialization/types/CreateEntitlementReqCommonMetricPeriod.js +1 -1
- package/dist/serialization/types/CreateOrUpdateConditionRequestBodyMetricPeriod.d.ts +1 -1
- package/dist/serialization/types/CreateOrUpdateConditionRequestBodyMetricPeriod.js +1 -1
- package/dist/serialization/types/EventBodyTrack.d.ts +1 -0
- package/dist/serialization/types/EventBodyTrack.js +1 -0
- package/dist/serialization/types/EventDetailResponseData.d.ts +1 -0
- package/dist/serialization/types/EventDetailResponseData.js +1 -0
- package/dist/serialization/types/EventResponseData.d.ts +1 -0
- package/dist/serialization/types/EventResponseData.js +1 -0
- package/dist/serialization/types/FeatureCompanyResponseData.d.ts +1 -0
- package/dist/serialization/types/FeatureCompanyResponseData.js +1 -0
- package/dist/serialization/types/FeatureUsageResponseData.d.ts +5 -0
- package/dist/serialization/types/FeatureUsageResponseData.js +5 -0
- package/dist/serialization/types/PlanEntitlementResponseData.d.ts +1 -0
- package/dist/serialization/types/PlanEntitlementResponseData.js +1 -0
- package/dist/serialization/types/PreviewSubscriptionChangeResponseData.d.ts +19 -0
- package/dist/serialization/types/PreviewSubscriptionChangeResponseData.js +40 -0
- package/dist/serialization/types/UpdateAddOnRequestBody.d.ts +13 -0
- package/dist/serialization/types/{CheckFlagOutputWithFlagKey.js → UpdateAddOnRequestBody.js} +4 -10
- package/dist/serialization/types/UpdateEntitlementReqCommon.d.ts +0 -2
- package/dist/serialization/types/UpdateEntitlementReqCommon.js +0 -2
- package/dist/serialization/types/UpdateEntitlementReqCommonMetricPeriod.d.ts +1 -1
- package/dist/serialization/types/UpdateEntitlementReqCommonMetricPeriod.js +1 -1
- package/dist/serialization/types/UpdatePayInAdvanceRequestBody.d.ts +13 -0
- package/{serialization/types/CheckFlagOutputWithFlagKey.js → dist/serialization/types/UpdatePayInAdvanceRequestBody.js} +4 -10
- package/dist/serialization/types/UsageBasedEntitlementRequestBody.d.ts +14 -0
- package/dist/serialization/types/UsageBasedEntitlementRequestBody.js +35 -0
- package/dist/serialization/types/UsageBasedEntitlementResponseData.d.ts +2 -0
- package/dist/serialization/types/UsageBasedEntitlementResponseData.js +2 -0
- package/dist/serialization/types/index.d.ts +12 -1
- package/dist/serialization/types/index.js +12 -1
- package/dist/wrapper.d.ts +49 -0
- package/dist/wrapper.js +36 -0
- package/package.json +1 -1
- package/reference.md +612 -344
- package/serialization/resources/billing/client/requests/CreateBillingPriceRequestBody.d.ts +1 -0
- package/serialization/resources/billing/client/requests/CreateBillingPriceRequestBody.js +1 -0
- package/serialization/resources/billing/client/requests/CreateBillingSubscriptionsRequestBody.d.ts +3 -0
- package/serialization/resources/billing/client/requests/CreateBillingSubscriptionsRequestBody.js +3 -0
- package/serialization/resources/billing/client/requests/CreateCouponRequestBody.d.ts +20 -0
- package/serialization/resources/billing/client/requests/CreateCouponRequestBody.js +41 -0
- package/serialization/resources/billing/client/requests/index.d.ts +1 -0
- package/serialization/resources/billing/client/requests/index.js +3 -1
- package/serialization/resources/billing/types/UpsertBillingCouponResponse.d.ts +14 -0
- package/serialization/resources/billing/types/UpsertBillingCouponResponse.js +35 -0
- package/serialization/resources/billing/types/index.d.ts +1 -0
- package/serialization/resources/billing/types/index.js +1 -0
- package/serialization/resources/checkout/client/index.d.ts +1 -0
- package/serialization/resources/checkout/client/index.js +17 -0
- package/serialization/resources/checkout/client/requests/UpdateTrialEndRequestBody.d.ts +12 -0
- package/serialization/resources/checkout/client/requests/UpdateTrialEndRequestBody.js +33 -0
- package/serialization/resources/checkout/client/requests/index.d.ts +1 -0
- package/serialization/resources/checkout/client/requests/index.js +5 -0
- package/serialization/resources/checkout/index.d.ts +2 -0
- package/serialization/resources/checkout/index.js +18 -0
- package/serialization/resources/checkout/types/CheckoutInternalResponse.d.ts +14 -0
- package/serialization/resources/checkout/types/CheckoutInternalResponse.js +35 -0
- package/serialization/resources/checkout/types/GetCheckoutDataResponse.d.ts +14 -0
- package/serialization/resources/checkout/types/GetCheckoutDataResponse.js +35 -0
- package/serialization/resources/checkout/types/PreviewCheckoutInternalResponse.d.ts +14 -0
- package/serialization/resources/checkout/types/PreviewCheckoutInternalResponse.js +35 -0
- package/serialization/resources/checkout/types/UpdateCustomerSubscriptionTrialEndResponse.d.ts +14 -0
- package/serialization/resources/checkout/types/UpdateCustomerSubscriptionTrialEndResponse.js +35 -0
- package/serialization/resources/checkout/types/index.d.ts +4 -0
- package/serialization/resources/checkout/types/index.js +20 -0
- package/serialization/resources/entitlements/client/requests/CreateCompanyOverrideRequestBody.d.ts +0 -2
- package/serialization/resources/entitlements/client/requests/CreateCompanyOverrideRequestBody.js +0 -2
- package/serialization/resources/entitlements/client/requests/CreatePlanEntitlementRequestBody.d.ts +0 -2
- package/serialization/resources/entitlements/client/requests/CreatePlanEntitlementRequestBody.js +0 -2
- package/serialization/resources/entitlements/client/requests/UpdateCompanyOverrideRequestBody.d.ts +0 -2
- package/serialization/resources/entitlements/client/requests/UpdateCompanyOverrideRequestBody.js +0 -2
- package/serialization/resources/entitlements/client/requests/UpdatePlanEntitlementRequestBody.d.ts +3 -2
- package/serialization/resources/entitlements/client/requests/UpdatePlanEntitlementRequestBody.js +3 -2
- package/serialization/resources/entitlements/types/CountCompanyOverridesParams.d.ts +1 -0
- package/serialization/resources/entitlements/types/CountCompanyOverridesParams.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/CreatePlanEntitlementRequestBodyMetricPeriod.d.ts +1 -1
- package/serialization/resources/entitlements/types/CreatePlanEntitlementRequestBodyMetricPeriod.js +1 -1
- package/serialization/resources/entitlements/types/ListCompanyOverridesParams.d.ts +1 -0
- package/serialization/resources/entitlements/types/ListCompanyOverridesParams.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/UpdatePlanEntitlementRequestBodyMetricPeriod.d.ts +1 -1
- package/serialization/resources/entitlements/types/UpdatePlanEntitlementRequestBodyMetricPeriod.js +1 -1
- package/serialization/resources/events/types/index.d.ts +0 -1
- package/serialization/resources/events/types/index.js +0 -1
- package/serialization/resources/index.d.ts +6 -3
- package/serialization/resources/index.js +7 -4
- package/serialization/resources/plans/client/requests/UpdateCompanyPlansRequestBody.d.ts +13 -0
- package/serialization/resources/plans/client/requests/UpdateCompanyPlansRequestBody.js +34 -0
- package/serialization/resources/plans/client/requests/index.d.ts +1 -0
- package/serialization/resources/plans/client/requests/index.js +3 -1
- package/serialization/resources/plans/types/CountPlansParams.d.ts +1 -0
- package/serialization/resources/plans/types/CountPlansParams.js +1 -0
- package/serialization/resources/plans/types/ListPlansParams.d.ts +1 -0
- package/serialization/resources/plans/types/ListPlansParams.js +1 -0
- package/serialization/resources/plans/types/UpdateCompanyPlansResponse.d.ts +14 -0
- package/serialization/resources/plans/types/UpdateCompanyPlansResponse.js +35 -0
- package/serialization/resources/plans/types/index.d.ts +1 -0
- package/serialization/resources/plans/types/index.js +1 -0
- package/serialization/resources/webhooks/types/CreateWebhookRequestBodyRequestTypesItem.d.ts +1 -1
- package/serialization/resources/webhooks/types/CreateWebhookRequestBodyRequestTypesItem.js +1 -0
- package/serialization/resources/webhooks/types/UpdateWebhookRequestBodyRequestTypesItem.d.ts +1 -1
- package/serialization/resources/webhooks/types/UpdateWebhookRequestBodyRequestTypesItem.js +1 -0
- package/serialization/types/BillingCouponResponseData.d.ts +27 -0
- package/serialization/types/BillingCouponResponseData.js +48 -0
- package/serialization/types/BillingPriceView.d.ts +1 -0
- package/serialization/types/BillingPriceView.js +1 -0
- package/serialization/types/BillingProductForSubscriptionResponseData.d.ts +1 -0
- package/serialization/types/BillingProductForSubscriptionResponseData.js +1 -0
- package/serialization/types/BillingProductPriceResponseData.d.ts +1 -0
- package/serialization/types/BillingProductPriceResponseData.js +1 -0
- package/serialization/types/BillingSubscriptionDiscount.d.ts +18 -0
- package/serialization/types/BillingSubscriptionDiscount.js +39 -0
- package/serialization/types/BillingSubscriptionDiscountView.d.ts +25 -0
- package/serialization/types/BillingSubscriptionDiscountView.js +46 -0
- package/serialization/types/BillingSubscriptionResponseData.d.ts +1 -0
- package/serialization/types/BillingSubscriptionResponseData.js +1 -0
- package/serialization/types/BillingSubscriptionView.d.ts +3 -0
- package/serialization/types/BillingSubscriptionView.js +3 -0
- package/serialization/types/ChangeSubscriptionInternalRequestBody.d.ts +20 -0
- package/serialization/types/ChangeSubscriptionInternalRequestBody.js +41 -0
- package/serialization/types/ChangeSubscriptionRequestBody.d.ts +19 -0
- package/serialization/types/ChangeSubscriptionRequestBody.js +40 -0
- package/serialization/types/CheckFlagResponseData.d.ts +6 -0
- package/serialization/types/CheckFlagResponseData.js +6 -0
- package/serialization/types/CheckFlagsResponseData.d.ts +2 -2
- package/serialization/types/CheckFlagsResponseData.js +2 -2
- package/serialization/types/CheckoutDataResponseData.d.ts +22 -0
- package/serialization/types/CheckoutDataResponseData.js +43 -0
- package/serialization/types/CompanyDetailResponseData.d.ts +2 -0
- package/serialization/types/CompanyDetailResponseData.js +2 -0
- package/serialization/types/CompanyEventPeriodMetricsResponseData.d.ts +22 -0
- package/serialization/types/CompanyEventPeriodMetricsResponseData.js +43 -0
- package/serialization/types/CompanyOverrideResponseData.d.ts +1 -0
- package/serialization/types/CompanyOverrideResponseData.js +1 -0
- package/serialization/types/CompanySubscriptionResponseData.d.ts +3 -0
- package/serialization/types/CompanySubscriptionResponseData.js +3 -0
- package/serialization/types/ComponentHydrateResponseData.d.ts +3 -0
- package/serialization/types/ComponentHydrateResponseData.js +3 -0
- package/serialization/types/ComponentPreviewResponseData.d.ts +3 -0
- package/serialization/types/ComponentPreviewResponseData.js +3 -0
- package/serialization/types/CouponRequestBody.d.ts +19 -0
- package/serialization/types/CouponRequestBody.js +40 -0
- package/serialization/types/CreateEntitlementReqCommon.d.ts +0 -2
- package/serialization/types/CreateEntitlementReqCommon.js +0 -2
- package/serialization/types/CreateEntitlementReqCommonMetricPeriod.d.ts +1 -1
- package/serialization/types/CreateEntitlementReqCommonMetricPeriod.js +1 -1
- package/serialization/types/CreateOrUpdateConditionRequestBodyMetricPeriod.d.ts +1 -1
- package/serialization/types/CreateOrUpdateConditionRequestBodyMetricPeriod.js +1 -1
- package/serialization/types/EventBodyTrack.d.ts +1 -0
- package/serialization/types/EventBodyTrack.js +1 -0
- package/serialization/types/EventDetailResponseData.d.ts +1 -0
- package/serialization/types/EventDetailResponseData.js +1 -0
- package/serialization/types/EventResponseData.d.ts +1 -0
- package/serialization/types/EventResponseData.js +1 -0
- package/serialization/types/FeatureCompanyResponseData.d.ts +1 -0
- package/serialization/types/FeatureCompanyResponseData.js +1 -0
- package/serialization/types/FeatureUsageResponseData.d.ts +5 -0
- package/serialization/types/FeatureUsageResponseData.js +5 -0
- package/serialization/types/PlanEntitlementResponseData.d.ts +1 -0
- package/serialization/types/PlanEntitlementResponseData.js +1 -0
- package/serialization/types/PreviewSubscriptionChangeResponseData.d.ts +19 -0
- package/serialization/types/PreviewSubscriptionChangeResponseData.js +40 -0
- package/serialization/types/UpdateAddOnRequestBody.d.ts +13 -0
- package/serialization/types/UpdateAddOnRequestBody.js +34 -0
- package/serialization/types/UpdateEntitlementReqCommon.d.ts +0 -2
- package/serialization/types/UpdateEntitlementReqCommon.js +0 -2
- package/serialization/types/UpdateEntitlementReqCommonMetricPeriod.d.ts +1 -1
- package/serialization/types/UpdateEntitlementReqCommonMetricPeriod.js +1 -1
- package/serialization/types/UpdatePayInAdvanceRequestBody.d.ts +13 -0
- package/serialization/types/UpdatePayInAdvanceRequestBody.js +34 -0
- package/serialization/types/UsageBasedEntitlementRequestBody.d.ts +14 -0
- package/serialization/types/UsageBasedEntitlementRequestBody.js +35 -0
- package/serialization/types/UsageBasedEntitlementResponseData.d.ts +2 -0
- package/serialization/types/UsageBasedEntitlementResponseData.js +2 -0
- package/serialization/types/index.d.ts +12 -1
- package/serialization/types/index.js +12 -1
- package/wrapper.d.ts +49 -0
- package/wrapper.js +36 -0
- package/api/types/CheckFlagOutputWithFlagKey.d.ts +0 -13
- package/dist/api/types/CheckFlagOutputWithFlagKey.d.ts +0 -13
- package/dist/serialization/resources/events/types/GetEventSummaryBySubtypeResponse.d.ts +0 -14
- package/dist/serialization/types/CheckFlagOutputWithFlagKey.d.ts +0 -19
- package/serialization/resources/events/types/GetEventSummaryBySubtypeResponse.d.ts +0 -14
- package/serialization/types/CheckFlagOutputWithFlagKey.d.ts +0 -19
- /package/api/resources/{events/types/GetEventSummaryBySubtypeResponse.js → billing/client/requests/CreateCouponRequestBody.js} +0 -0
- /package/api/{types/CheckFlagOutputWithFlagKey.js → resources/billing/types/UpsertBillingCouponResponse.js} +0 -0
- /package/{dist/api/resources/events/types/GetEventSummaryBySubtypeResponse.js → api/resources/checkout/client/requests/UpdateTrialEndRequestBody.js} +0 -0
- /package/{dist/api/types/CheckFlagOutputWithFlagKey.js → api/resources/checkout/types/CheckoutInternalResponse.js} +0 -0
|
@@ -2,11 +2,15 @@
|
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
4
|
import * as Schematic from "../index";
|
|
5
|
+
/**
|
|
6
|
+
* The updated resource
|
|
7
|
+
*/
|
|
5
8
|
export interface BillingSubscriptionView {
|
|
6
9
|
companyId?: string;
|
|
7
10
|
createdAt: Date;
|
|
8
11
|
currency: string;
|
|
9
12
|
customerExternalId: string;
|
|
13
|
+
discounts: Schematic.BillingSubscriptionDiscountView[];
|
|
10
14
|
expiredAt?: Date;
|
|
11
15
|
id: string;
|
|
12
16
|
interval: string;
|
|
@@ -20,4 +24,5 @@ export interface BillingSubscriptionView {
|
|
|
20
24
|
subscriptionExternalId: string;
|
|
21
25
|
totalPrice: number;
|
|
22
26
|
trialEnd?: number;
|
|
27
|
+
trialEndSetting?: string;
|
|
23
28
|
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as Schematic from "../index";
|
|
5
|
+
export interface ChangeSubscriptionInternalRequestBody {
|
|
6
|
+
addOnIds: Schematic.UpdateAddOnRequestBody[];
|
|
7
|
+
companyId: string;
|
|
8
|
+
newPlanId: string;
|
|
9
|
+
newPriceId: string;
|
|
10
|
+
payInAdvance: Schematic.UpdatePayInAdvanceRequestBody[];
|
|
11
|
+
paymentMethodId?: string;
|
|
12
|
+
promoCode?: string;
|
|
13
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as Schematic from "../index";
|
|
5
|
+
export interface ChangeSubscriptionRequestBody {
|
|
6
|
+
addOnIds: Schematic.UpdateAddOnRequestBody[];
|
|
7
|
+
newPlanId: string;
|
|
8
|
+
newPriceId: string;
|
|
9
|
+
payInAdvance: Schematic.UpdatePayInAdvanceRequestBody[];
|
|
10
|
+
paymentMethodId?: string;
|
|
11
|
+
promoCode?: string;
|
|
12
|
+
}
|
|
@@ -5,11 +5,30 @@
|
|
|
5
5
|
* The returned resource
|
|
6
6
|
*/
|
|
7
7
|
export interface CheckFlagResponseData {
|
|
8
|
+
/** If company keys were provided and matched a company, its ID */
|
|
8
9
|
companyId?: string;
|
|
10
|
+
/** If an error occurred while checking the flag, the error message */
|
|
9
11
|
error?: string;
|
|
12
|
+
/** If a numeric feature entitlement rule was matched, its allocation */
|
|
13
|
+
featureAllocation?: number;
|
|
14
|
+
/** If a numeric feature entitlement rule was matched, the company's usage */
|
|
15
|
+
featureUsage?: number;
|
|
16
|
+
/** For event-based feature entitlement rules, the period over which usage is tracked (current_month, current_day, current_week, all_time) */
|
|
17
|
+
featureUsagePeriod?: string;
|
|
18
|
+
/** For event-based feature entitlement rules, when the usage period will reset */
|
|
19
|
+
featureUsageResetAt?: Date;
|
|
20
|
+
/** The key used to check the flag */
|
|
21
|
+
flag: string;
|
|
22
|
+
/** If a flag was found, its ID */
|
|
10
23
|
flagId?: string;
|
|
24
|
+
/** A human-readable explanation of the result */
|
|
11
25
|
reason: string;
|
|
26
|
+
/** If a rule was found, its ID */
|
|
12
27
|
ruleId?: string;
|
|
28
|
+
/** If a rule was found, its type */
|
|
29
|
+
ruleType?: string;
|
|
30
|
+
/** If user keys were provided and matched a user, its ID */
|
|
13
31
|
userId?: string;
|
|
32
|
+
/** A boolean flag check result; for feature entitlements, this represents whether further consumption of the feature is permitted */
|
|
14
33
|
value: boolean;
|
|
15
34
|
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as Schematic from "../index";
|
|
5
|
+
/**
|
|
6
|
+
* The returned resource
|
|
7
|
+
*/
|
|
8
|
+
export interface CheckoutDataResponseData {
|
|
9
|
+
activeAddOns: Schematic.PlanDetailResponseData[];
|
|
10
|
+
activePlan?: Schematic.PlanDetailResponseData;
|
|
11
|
+
activeUsageBasedEntitlements: Schematic.UsageBasedEntitlementResponseData[];
|
|
12
|
+
company?: Schematic.CompanyDetailResponseData;
|
|
13
|
+
featureUsage?: Schematic.FeatureUsageDetailResponseData;
|
|
14
|
+
subscription?: Schematic.CompanySubscriptionResponseData;
|
|
15
|
+
}
|
|
@@ -13,6 +13,7 @@ export interface CompanyDetailResponseData {
|
|
|
13
13
|
keys: Schematic.EntityKeyDetailResponseData[];
|
|
14
14
|
lastSeenAt?: Date;
|
|
15
15
|
logoUrl?: string;
|
|
16
|
+
metrics: Schematic.CompanyEventPeriodMetricsResponseData[];
|
|
16
17
|
name: string;
|
|
17
18
|
plan?: Schematic.CompanyPlanWithBillingSubView;
|
|
18
19
|
plans: Schematic.GenericPreviewObject[];
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
export interface CompanyEventPeriodMetricsResponseData {
|
|
5
|
+
accountId: string;
|
|
6
|
+
capturedAtMax: Date;
|
|
7
|
+
capturedAtMin: Date;
|
|
8
|
+
companyId: string;
|
|
9
|
+
createdAt: Date;
|
|
10
|
+
environmentId: string;
|
|
11
|
+
eventSubtype: string;
|
|
12
|
+
monthReset: string;
|
|
13
|
+
period: string;
|
|
14
|
+
validUntil?: Date;
|
|
15
|
+
value: number;
|
|
16
|
+
}
|
|
@@ -5,6 +5,7 @@ import * as Schematic from "../index";
|
|
|
5
5
|
export interface CompanySubscriptionResponseData {
|
|
6
6
|
currency: string;
|
|
7
7
|
customerExternalId: string;
|
|
8
|
+
discounts: Schematic.BillingSubscriptionDiscountView[];
|
|
8
9
|
expiredAt?: Date;
|
|
9
10
|
interval: string;
|
|
10
11
|
latestInvoice?: Schematic.InvoiceResponseData;
|
|
@@ -13,4 +14,5 @@ export interface CompanySubscriptionResponseData {
|
|
|
13
14
|
status: string;
|
|
14
15
|
subscriptionExternalId: string;
|
|
15
16
|
totalPrice: number;
|
|
17
|
+
trialEnd?: Date;
|
|
16
18
|
}
|
|
@@ -9,8 +9,10 @@ export interface ComponentHydrateResponseData {
|
|
|
9
9
|
capabilities?: Schematic.ComponentCapabilities;
|
|
10
10
|
company?: Schematic.CompanyDetailResponseData;
|
|
11
11
|
component?: Schematic.ComponentResponseData;
|
|
12
|
+
defaultPlan?: Schematic.PlanDetailResponseData;
|
|
12
13
|
featureUsage?: Schematic.FeatureUsageDetailResponseData;
|
|
13
14
|
stripeEmbed?: Schematic.StripeEmbedInfo;
|
|
14
15
|
subscription?: Schematic.CompanySubscriptionResponseData;
|
|
16
|
+
trialPaymentMethodRequired?: boolean;
|
|
15
17
|
upcomingInvoice?: Schematic.InvoiceResponseData;
|
|
16
18
|
}
|
|
@@ -12,9 +12,11 @@ export interface ComponentPreviewResponseData {
|
|
|
12
12
|
capabilities?: Schematic.ComponentCapabilities;
|
|
13
13
|
company?: Schematic.CompanyDetailResponseData;
|
|
14
14
|
component?: Schematic.ComponentResponseData;
|
|
15
|
+
defaultPlan?: Schematic.PlanDetailResponseData;
|
|
15
16
|
featureUsage?: Schematic.FeatureUsageDetailResponseData;
|
|
16
17
|
invoices: Schematic.InvoiceResponseData[];
|
|
17
18
|
stripeEmbed?: Schematic.StripeEmbedInfo;
|
|
18
19
|
subscription?: Schematic.CompanySubscriptionResponseData;
|
|
20
|
+
trialPaymentMethodRequired?: boolean;
|
|
19
21
|
upcomingInvoice?: Schematic.InvoiceResponseData;
|
|
20
22
|
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
export interface CouponRequestBody {
|
|
5
|
+
amountOff: number;
|
|
6
|
+
currency?: string;
|
|
7
|
+
duration: string;
|
|
8
|
+
durationInMonths: number;
|
|
9
|
+
maxRedemptions: number;
|
|
10
|
+
name: string;
|
|
11
|
+
percentOff: number;
|
|
12
|
+
timesRedeemed: number;
|
|
13
|
+
}
|
|
@@ -4,8 +4,6 @@
|
|
|
4
4
|
import * as Schematic from "../index";
|
|
5
5
|
export interface CreateEntitlementReqCommon {
|
|
6
6
|
featureId: string;
|
|
7
|
-
meteredMonthlyPriceId?: string;
|
|
8
|
-
meteredYearlyPriceId?: string;
|
|
9
7
|
metricPeriod?: Schematic.CreateEntitlementReqCommonMetricPeriod;
|
|
10
8
|
metricPeriodMonthReset?: Schematic.CreateEntitlementReqCommonMetricPeriodMonthReset;
|
|
11
9
|
valueBool?: boolean;
|
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
|
-
export declare type CreateEntitlementReqCommonMetricPeriod = "all_time" | "
|
|
4
|
+
export declare type CreateEntitlementReqCommonMetricPeriod = "all_time" | "current_month" | "current_week" | "current_day";
|
|
5
5
|
export declare const CreateEntitlementReqCommonMetricPeriod: {
|
|
6
6
|
readonly AllTime: "all_time";
|
|
7
|
-
readonly Billing: "billing";
|
|
8
7
|
readonly CurrentMonth: "current_month";
|
|
9
8
|
readonly CurrentWeek: "current_week";
|
|
10
9
|
readonly CurrentDay: "current_day";
|
|
@@ -6,7 +6,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
6
6
|
exports.CreateEntitlementReqCommonMetricPeriod = void 0;
|
|
7
7
|
exports.CreateEntitlementReqCommonMetricPeriod = {
|
|
8
8
|
AllTime: "all_time",
|
|
9
|
-
Billing: "billing",
|
|
10
9
|
CurrentMonth: "current_month",
|
|
11
10
|
CurrentWeek: "current_week",
|
|
12
11
|
CurrentDay: "current_day",
|
|
@@ -4,10 +4,9 @@
|
|
|
4
4
|
/**
|
|
5
5
|
* Period of time over which to measure the track event metric
|
|
6
6
|
*/
|
|
7
|
-
export declare type CreateOrUpdateConditionRequestBodyMetricPeriod = "all_time" | "
|
|
7
|
+
export declare type CreateOrUpdateConditionRequestBodyMetricPeriod = "all_time" | "current_month" | "current_week" | "current_day";
|
|
8
8
|
export declare const CreateOrUpdateConditionRequestBodyMetricPeriod: {
|
|
9
9
|
readonly AllTime: "all_time";
|
|
10
|
-
readonly Billing: "billing";
|
|
11
10
|
readonly CurrentMonth: "current_month";
|
|
12
11
|
readonly CurrentWeek: "current_week";
|
|
13
12
|
readonly CurrentDay: "current_day";
|
|
@@ -6,7 +6,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
6
6
|
exports.CreateOrUpdateConditionRequestBodyMetricPeriod = void 0;
|
|
7
7
|
exports.CreateOrUpdateConditionRequestBodyMetricPeriod = {
|
|
8
8
|
AllTime: "all_time",
|
|
9
|
-
Billing: "billing",
|
|
10
9
|
CurrentMonth: "current_month",
|
|
11
10
|
CurrentWeek: "current_week",
|
|
12
11
|
CurrentDay: "current_day",
|
|
@@ -2,11 +2,11 @@
|
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
4
|
export interface EventBodyFlagCheck {
|
|
5
|
-
/** Schematic company ID (starting with '
|
|
5
|
+
/** Schematic company ID (starting with 'comp_') of the company evaluated, if any */
|
|
6
6
|
companyId?: string;
|
|
7
7
|
/** Report an error that occurred during the flag check */
|
|
8
8
|
error?: string;
|
|
9
|
-
/** Schematic flag ID (starting with '
|
|
9
|
+
/** Schematic flag ID (starting with 'flag_') for the flag matching the key, if any */
|
|
10
10
|
flagId?: string;
|
|
11
11
|
/** The key of the flag being checked */
|
|
12
12
|
flagKey: string;
|
|
@@ -16,9 +16,9 @@ export interface EventBodyFlagCheck {
|
|
|
16
16
|
reqCompany?: Record<string, string>;
|
|
17
17
|
/** Key-value pairs used to to identify user for which the flag was checked */
|
|
18
18
|
reqUser?: Record<string, string>;
|
|
19
|
-
/** Schematic rule ID (starting with '
|
|
19
|
+
/** Schematic rule ID (starting with 'rule_') of the rule that matched for the flag, if any */
|
|
20
20
|
ruleId?: string;
|
|
21
|
-
/** Schematic user ID (starting with '
|
|
21
|
+
/** Schematic user ID (starting with 'user_') of the user evaluated, if any */
|
|
22
22
|
userId?: string;
|
|
23
23
|
/** The value of the flag for the given company and/or user */
|
|
24
24
|
value: boolean;
|
|
@@ -6,6 +6,8 @@ export interface EventBodyTrack {
|
|
|
6
6
|
company?: Record<string, string>;
|
|
7
7
|
/** The name of the type of track event */
|
|
8
8
|
event: string;
|
|
9
|
+
/** Optionally specify the quantity of the event */
|
|
10
|
+
quantity?: number;
|
|
9
11
|
/** A map of trait names to trait values */
|
|
10
12
|
traits?: Record<string, unknown>;
|
|
11
13
|
/** Key-value pairs to identify user associated with track event */
|
|
@@ -10,6 +10,7 @@ export interface FeatureCompanyResponseData {
|
|
|
10
10
|
/** The type of allocation that is being used. */
|
|
11
11
|
allocationType: Schematic.FeatureCompanyResponseDataAllocationType;
|
|
12
12
|
company?: Schematic.CompanyDetailResponseData;
|
|
13
|
+
entitlementExpirationDate?: Date;
|
|
13
14
|
entitlementId: string;
|
|
14
15
|
entitlementType: string;
|
|
15
16
|
feature?: Schematic.FeatureDetailResponseData;
|
|
@@ -9,16 +9,20 @@ export interface FeatureUsageResponseData {
|
|
|
9
9
|
allocation?: number;
|
|
10
10
|
/** The type of allocation that is being used. */
|
|
11
11
|
allocationType: Schematic.FeatureUsageResponseDataAllocationType;
|
|
12
|
+
entitlementExpirationDate?: Date;
|
|
12
13
|
entitlementId: string;
|
|
13
14
|
entitlementType: string;
|
|
14
15
|
feature?: Schematic.FeatureDetailResponseData;
|
|
15
|
-
/** The time at which the metric will
|
|
16
|
+
/** The time at which the metric will reset. */
|
|
16
17
|
metricResetAt?: Date;
|
|
17
18
|
/** If the period is current_month, when the month resets. */
|
|
18
19
|
monthReset?: string;
|
|
20
|
+
monthlyUsageBasedPrice?: Schematic.BillingPriceView;
|
|
19
21
|
/** The period over which usage is measured. */
|
|
20
22
|
period?: string;
|
|
21
23
|
plan?: Schematic.PlanResponseData;
|
|
24
|
+
priceBehavior?: string;
|
|
22
25
|
/** The amount of usage that has been consumed; a null value indicates that usage is not being measured. */
|
|
23
26
|
usage?: number;
|
|
27
|
+
yearlyUsageBasedPrice?: Schematic.BillingPriceView;
|
|
24
28
|
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
/**
|
|
5
|
+
* The requested resource
|
|
6
|
+
*/
|
|
7
|
+
export interface PreviewSubscriptionChangeResponseData {
|
|
8
|
+
amountOff: number;
|
|
9
|
+
dueNow: number;
|
|
10
|
+
newCharges: number;
|
|
11
|
+
percentOff: number;
|
|
12
|
+
periodStart: Date;
|
|
13
|
+
promoCodeApplied: boolean;
|
|
14
|
+
proration: number;
|
|
15
|
+
trialEnd?: Date;
|
|
16
|
+
}
|
|
@@ -3,8 +3,6 @@
|
|
|
3
3
|
*/
|
|
4
4
|
import * as Schematic from "../index";
|
|
5
5
|
export interface UpdateEntitlementReqCommon {
|
|
6
|
-
meteredMonthlyPriceId?: string;
|
|
7
|
-
meteredYearlyPriceId?: string;
|
|
8
6
|
metricPeriod?: Schematic.UpdateEntitlementReqCommonMetricPeriod;
|
|
9
7
|
metricPeriodMonthReset?: Schematic.UpdateEntitlementReqCommonMetricPeriodMonthReset;
|
|
10
8
|
valueBool?: boolean;
|
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
|
-
export declare type UpdateEntitlementReqCommonMetricPeriod = "all_time" | "
|
|
4
|
+
export declare type UpdateEntitlementReqCommonMetricPeriod = "all_time" | "current_month" | "current_week" | "current_day";
|
|
5
5
|
export declare const UpdateEntitlementReqCommonMetricPeriod: {
|
|
6
6
|
readonly AllTime: "all_time";
|
|
7
|
-
readonly Billing: "billing";
|
|
8
7
|
readonly CurrentMonth: "current_month";
|
|
9
8
|
readonly CurrentWeek: "current_week";
|
|
10
9
|
readonly CurrentDay: "current_day";
|
|
@@ -6,7 +6,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
6
6
|
exports.UpdateEntitlementReqCommonMetricPeriod = void 0;
|
|
7
7
|
exports.UpdateEntitlementReqCommonMetricPeriod = {
|
|
8
8
|
AllTime: "all_time",
|
|
9
|
-
Billing: "billing",
|
|
10
9
|
CurrentMonth: "current_month",
|
|
11
10
|
CurrentWeek: "current_week",
|
|
12
11
|
CurrentDay: "current_day",
|
|
@@ -7,8 +7,10 @@ export interface UsageBasedEntitlementResponseData {
|
|
|
7
7
|
meteredPrice?: Schematic.BillingPriceView;
|
|
8
8
|
metricPeriod?: string;
|
|
9
9
|
metricPeriodMonthReset?: string;
|
|
10
|
+
monthlyUsageBasedPrice?: Schematic.BillingPriceView;
|
|
10
11
|
priceBehavior?: string;
|
|
11
12
|
valueBool?: boolean;
|
|
12
13
|
valueNumeric?: number;
|
|
13
14
|
valueType: string;
|
|
15
|
+
yearlyUsageBasedPrice?: Schematic.BillingPriceView;
|
|
14
16
|
}
|
package/api/types/index.d.ts
CHANGED
|
@@ -4,6 +4,7 @@ export * from "./ApiKeyRequestListResponseData";
|
|
|
4
4
|
export * from "./ApiKeyRequestResponseData";
|
|
5
5
|
export * from "./ApiKeyResponseData";
|
|
6
6
|
export * from "./AudienceRequestBody";
|
|
7
|
+
export * from "./BillingCouponResponseData";
|
|
7
8
|
export * from "./BillingCustomerResponseData";
|
|
8
9
|
export * from "./BillingCustomerSubscription";
|
|
9
10
|
export * from "./BillingCustomerWithSubscriptionsResponseData";
|
|
@@ -16,14 +17,19 @@ export * from "./BillingProductPlanResponseData";
|
|
|
16
17
|
export * from "./BillingProductPriceResponseData";
|
|
17
18
|
export * from "./BillingProductPricing";
|
|
18
19
|
export * from "./BillingProductResponseData";
|
|
20
|
+
export * from "./BillingSubscriptionDiscount";
|
|
21
|
+
export * from "./BillingSubscriptionDiscountView";
|
|
19
22
|
export * from "./BillingSubscriptionResponseData";
|
|
20
23
|
export * from "./BillingSubscriptionView";
|
|
21
|
-
export * from "./
|
|
24
|
+
export * from "./ChangeSubscriptionInternalRequestBody";
|
|
25
|
+
export * from "./ChangeSubscriptionRequestBody";
|
|
22
26
|
export * from "./CheckFlagRequestBody";
|
|
23
27
|
export * from "./CheckFlagResponseData";
|
|
24
28
|
export * from "./CheckFlagsResponseData";
|
|
29
|
+
export * from "./CheckoutDataResponseData";
|
|
25
30
|
export * from "./CompanyCrmDealsResponseData";
|
|
26
31
|
export * from "./CompanyDetailResponseData";
|
|
32
|
+
export * from "./CompanyEventPeriodMetricsResponseData";
|
|
27
33
|
export * from "./CompanyMembershipDetailResponseData";
|
|
28
34
|
export * from "./CompanyMembershipResponseData";
|
|
29
35
|
export * from "./CompanyOverrideResponseData";
|
|
@@ -36,6 +42,7 @@ export * from "./ComponentHydrateResponseData";
|
|
|
36
42
|
export * from "./ComponentPreviewResponseData";
|
|
37
43
|
export * from "./ComponentResponseData";
|
|
38
44
|
export * from "./CountResponse";
|
|
45
|
+
export * from "./CouponRequestBody";
|
|
39
46
|
export * from "./CreateEntitlementReqCommonMetricPeriod";
|
|
40
47
|
export * from "./CreateEntitlementReqCommonMetricPeriodMonthReset";
|
|
41
48
|
export * from "./CreateEntitlementReqCommonValueType";
|
|
@@ -105,6 +112,7 @@ export * from "./PlanGroupResponseData";
|
|
|
105
112
|
export * from "./PlanResponseData";
|
|
106
113
|
export * from "./PreviewObject";
|
|
107
114
|
export * from "./PreviewObjectResponseData";
|
|
115
|
+
export * from "./PreviewSubscriptionChangeResponseData";
|
|
108
116
|
export * from "./RawEventBatchResponseData";
|
|
109
117
|
export * from "./RawEventResponseData";
|
|
110
118
|
export * from "./RuleConditionDetailResponseData";
|
|
@@ -117,15 +125,18 @@ export * from "./RulesDetailResponseData";
|
|
|
117
125
|
export * from "./SegmentStatusResp";
|
|
118
126
|
export * from "./StripeEmbedInfo";
|
|
119
127
|
export * from "./TemporaryAccessTokenResponseData";
|
|
128
|
+
export * from "./UpdateAddOnRequestBody";
|
|
120
129
|
export * from "./UpdateEntitlementReqCommonMetricPeriod";
|
|
121
130
|
export * from "./UpdateEntitlementReqCommonMetricPeriodMonthReset";
|
|
122
131
|
export * from "./UpdateEntitlementReqCommonValueType";
|
|
123
132
|
export * from "./UpdateEntitlementReqCommon";
|
|
133
|
+
export * from "./UpdatePayInAdvanceRequestBody";
|
|
124
134
|
export * from "./UpdateRuleRequestBody";
|
|
125
135
|
export * from "./UpsertCompanyRequestBody";
|
|
126
136
|
export * from "./UpsertTraitRequestBody";
|
|
127
137
|
export * from "./UpsertUserRequestBody";
|
|
128
138
|
export * from "./UpsertUserSubRequestBody";
|
|
139
|
+
export * from "./UsageBasedEntitlementRequestBody";
|
|
129
140
|
export * from "./UsageBasedEntitlementResponseData";
|
|
130
141
|
export * from "./UserDetailResponseData";
|
|
131
142
|
export * from "./UserResponseData";
|
package/api/types/index.js
CHANGED
|
@@ -20,6 +20,7 @@ __exportStar(require("./ApiKeyRequestListResponseData"), exports);
|
|
|
20
20
|
__exportStar(require("./ApiKeyRequestResponseData"), exports);
|
|
21
21
|
__exportStar(require("./ApiKeyResponseData"), exports);
|
|
22
22
|
__exportStar(require("./AudienceRequestBody"), exports);
|
|
23
|
+
__exportStar(require("./BillingCouponResponseData"), exports);
|
|
23
24
|
__exportStar(require("./BillingCustomerResponseData"), exports);
|
|
24
25
|
__exportStar(require("./BillingCustomerSubscription"), exports);
|
|
25
26
|
__exportStar(require("./BillingCustomerWithSubscriptionsResponseData"), exports);
|
|
@@ -32,14 +33,19 @@ __exportStar(require("./BillingProductPlanResponseData"), exports);
|
|
|
32
33
|
__exportStar(require("./BillingProductPriceResponseData"), exports);
|
|
33
34
|
__exportStar(require("./BillingProductPricing"), exports);
|
|
34
35
|
__exportStar(require("./BillingProductResponseData"), exports);
|
|
36
|
+
__exportStar(require("./BillingSubscriptionDiscount"), exports);
|
|
37
|
+
__exportStar(require("./BillingSubscriptionDiscountView"), exports);
|
|
35
38
|
__exportStar(require("./BillingSubscriptionResponseData"), exports);
|
|
36
39
|
__exportStar(require("./BillingSubscriptionView"), exports);
|
|
37
|
-
__exportStar(require("./
|
|
40
|
+
__exportStar(require("./ChangeSubscriptionInternalRequestBody"), exports);
|
|
41
|
+
__exportStar(require("./ChangeSubscriptionRequestBody"), exports);
|
|
38
42
|
__exportStar(require("./CheckFlagRequestBody"), exports);
|
|
39
43
|
__exportStar(require("./CheckFlagResponseData"), exports);
|
|
40
44
|
__exportStar(require("./CheckFlagsResponseData"), exports);
|
|
45
|
+
__exportStar(require("./CheckoutDataResponseData"), exports);
|
|
41
46
|
__exportStar(require("./CompanyCrmDealsResponseData"), exports);
|
|
42
47
|
__exportStar(require("./CompanyDetailResponseData"), exports);
|
|
48
|
+
__exportStar(require("./CompanyEventPeriodMetricsResponseData"), exports);
|
|
43
49
|
__exportStar(require("./CompanyMembershipDetailResponseData"), exports);
|
|
44
50
|
__exportStar(require("./CompanyMembershipResponseData"), exports);
|
|
45
51
|
__exportStar(require("./CompanyOverrideResponseData"), exports);
|
|
@@ -52,6 +58,7 @@ __exportStar(require("./ComponentHydrateResponseData"), exports);
|
|
|
52
58
|
__exportStar(require("./ComponentPreviewResponseData"), exports);
|
|
53
59
|
__exportStar(require("./ComponentResponseData"), exports);
|
|
54
60
|
__exportStar(require("./CountResponse"), exports);
|
|
61
|
+
__exportStar(require("./CouponRequestBody"), exports);
|
|
55
62
|
__exportStar(require("./CreateEntitlementReqCommonMetricPeriod"), exports);
|
|
56
63
|
__exportStar(require("./CreateEntitlementReqCommonMetricPeriodMonthReset"), exports);
|
|
57
64
|
__exportStar(require("./CreateEntitlementReqCommonValueType"), exports);
|
|
@@ -121,6 +128,7 @@ __exportStar(require("./PlanGroupResponseData"), exports);
|
|
|
121
128
|
__exportStar(require("./PlanResponseData"), exports);
|
|
122
129
|
__exportStar(require("./PreviewObject"), exports);
|
|
123
130
|
__exportStar(require("./PreviewObjectResponseData"), exports);
|
|
131
|
+
__exportStar(require("./PreviewSubscriptionChangeResponseData"), exports);
|
|
124
132
|
__exportStar(require("./RawEventBatchResponseData"), exports);
|
|
125
133
|
__exportStar(require("./RawEventResponseData"), exports);
|
|
126
134
|
__exportStar(require("./RuleConditionDetailResponseData"), exports);
|
|
@@ -133,15 +141,18 @@ __exportStar(require("./RulesDetailResponseData"), exports);
|
|
|
133
141
|
__exportStar(require("./SegmentStatusResp"), exports);
|
|
134
142
|
__exportStar(require("./StripeEmbedInfo"), exports);
|
|
135
143
|
__exportStar(require("./TemporaryAccessTokenResponseData"), exports);
|
|
144
|
+
__exportStar(require("./UpdateAddOnRequestBody"), exports);
|
|
136
145
|
__exportStar(require("./UpdateEntitlementReqCommonMetricPeriod"), exports);
|
|
137
146
|
__exportStar(require("./UpdateEntitlementReqCommonMetricPeriodMonthReset"), exports);
|
|
138
147
|
__exportStar(require("./UpdateEntitlementReqCommonValueType"), exports);
|
|
139
148
|
__exportStar(require("./UpdateEntitlementReqCommon"), exports);
|
|
149
|
+
__exportStar(require("./UpdatePayInAdvanceRequestBody"), exports);
|
|
140
150
|
__exportStar(require("./UpdateRuleRequestBody"), exports);
|
|
141
151
|
__exportStar(require("./UpsertCompanyRequestBody"), exports);
|
|
142
152
|
__exportStar(require("./UpsertTraitRequestBody"), exports);
|
|
143
153
|
__exportStar(require("./UpsertUserRequestBody"), exports);
|
|
144
154
|
__exportStar(require("./UpsertUserSubRequestBody"), exports);
|
|
155
|
+
__exportStar(require("./UsageBasedEntitlementRequestBody"), exports);
|
|
145
156
|
__exportStar(require("./UsageBasedEntitlementResponseData"), exports);
|
|
146
157
|
__exportStar(require("./UserDetailResponseData"), exports);
|
|
147
158
|
__exportStar(require("./UserResponseData"), exports);
|