@schematichq/schematic-typescript-node 1.1.11 → 1.1.13
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 +27 -22
- package/api/resources/accesstokens/client/Client.d.ts +1 -2
- package/api/resources/accesstokens/client/Client.js +4 -5
- package/api/resources/accounts/client/Client.js +15 -15
- package/api/resources/billing/client/Client.js +26 -21
- package/api/resources/billing/client/requests/CreateBillingPriceRequestBody.d.ts +1 -1
- package/api/resources/billing/client/requests/SearchBillingPricesRequest.d.ts +1 -0
- package/api/resources/billing/types/CreateBillingPriceRequestBodyTiersMode.d.ts +8 -0
- package/api/resources/billing/types/CreateBillingPriceRequestBodyTiersMode.js +10 -0
- package/api/resources/billing/types/SearchBillingPricesParams.d.ts +1 -0
- package/api/resources/billing/types/{CreateBillingPriceRequestBodyTierMode.d.ts → SearchBillingPricesRequestTiersMode.d.ts} +2 -2
- package/api/resources/billing/types/{CreateBillingPriceRequestBodyTierMode.js → SearchBillingPricesRequestTiersMode.js} +2 -2
- package/api/resources/billing/types/SearchBillingPricesResponseParamsTiersMode.d.ts +8 -0
- package/api/resources/billing/types/SearchBillingPricesResponseParamsTiersMode.js +10 -0
- package/api/resources/billing/types/index.d.ts +3 -1
- package/api/resources/billing/types/index.js +3 -1
- package/api/resources/checkout/client/Client.d.ts +12 -2
- package/api/resources/checkout/client/Client.js +16 -6
- package/api/resources/companies/client/Client.d.ts +30 -12
- package/api/resources/companies/client/Client.js +403 -43
- package/api/resources/companies/client/requests/CountCompaniesForAdvancedFilterRequest.d.ts +66 -0
- package/api/resources/companies/client/requests/CountCompaniesForAdvancedFilterRequest.js +5 -0
- package/api/resources/companies/client/requests/ListCompaniesForAdvancedFilterRequest.d.ts +66 -0
- package/api/resources/companies/client/requests/ListCompaniesForAdvancedFilterRequest.js +5 -0
- package/api/resources/companies/client/requests/index.d.ts +2 -0
- package/api/resources/companies/types/CountCompaniesForAdvancedFilterParams.d.ts +37 -0
- package/api/resources/companies/types/CountCompaniesForAdvancedFilterParams.js +5 -0
- package/api/resources/companies/types/CountCompaniesForAdvancedFilterRequestSortOrderDirection.d.ts +11 -0
- package/api/resources/companies/types/CountCompaniesForAdvancedFilterRequestSortOrderDirection.js +10 -0
- package/api/resources/companies/types/CountCompaniesForAdvancedFilterResponse.d.ts +9 -0
- package/api/resources/companies/types/CountCompaniesForAdvancedFilterResponse.js +5 -0
- package/api/resources/companies/types/CountCompaniesForAdvancedFilterResponseParamsSortOrderDirection.d.ts +11 -0
- package/api/resources/companies/types/CountCompaniesForAdvancedFilterResponseParamsSortOrderDirection.js +10 -0
- package/api/resources/companies/types/ListCompaniesForAdvancedFilterParams.d.ts +37 -0
- package/api/resources/companies/types/ListCompaniesForAdvancedFilterParams.js +5 -0
- package/api/resources/companies/types/ListCompaniesForAdvancedFilterRequestSortOrderDirection.d.ts +11 -0
- package/api/resources/companies/types/ListCompaniesForAdvancedFilterRequestSortOrderDirection.js +10 -0
- package/api/resources/companies/types/ListCompaniesForAdvancedFilterResponse.d.ts +10 -0
- package/api/resources/companies/types/ListCompaniesForAdvancedFilterResponse.js +5 -0
- package/api/resources/companies/types/ListCompaniesForAdvancedFilterResponseParamsSortOrderDirection.d.ts +11 -0
- package/api/resources/companies/types/ListCompaniesForAdvancedFilterResponseParamsSortOrderDirection.js +10 -0
- package/api/resources/companies/types/index.d.ts +8 -0
- package/api/resources/companies/types/index.js +8 -0
- package/api/resources/components/client/Client.js +7 -7
- package/api/resources/credits/client/Client.d.ts +338 -0
- package/api/resources/credits/client/Client.js +2338 -0
- package/api/resources/credits/client/index.d.ts +1 -0
- package/api/resources/credits/client/index.js +17 -0
- package/api/resources/credits/client/requests/CountBillingCreditsGrantsRequest.d.ts +19 -0
- package/api/resources/credits/client/requests/CountBillingCreditsGrantsRequest.js +5 -0
- package/api/resources/credits/client/requests/CountBillingCreditsRequest.d.ts +19 -0
- package/api/resources/credits/client/requests/CountBillingCreditsRequest.js +5 -0
- package/api/resources/credits/client/requests/CountBillingPlanCreditGrantsRequest.d.ts +20 -0
- package/api/resources/credits/client/requests/CountBillingPlanCreditGrantsRequest.js +5 -0
- package/api/resources/credits/client/requests/CountCreditBundlesRequest.d.ts +22 -0
- package/api/resources/credits/client/requests/CountCreditBundlesRequest.js +5 -0
- package/api/resources/credits/client/requests/CreateBillingCreditRequestBody.d.ts +26 -0
- package/api/resources/credits/client/requests/CreateBillingCreditRequestBody.js +5 -0
- package/api/resources/credits/client/requests/CreateBillingPlanCreditGrantRequestBody.d.ts +21 -0
- package/api/resources/credits/client/requests/CreateBillingPlanCreditGrantRequestBody.js +5 -0
- package/api/resources/credits/client/requests/CreateCreditBundleRequestBody.d.ts +24 -0
- package/api/resources/credits/client/requests/CreateCreditBundleRequestBody.js +5 -0
- package/api/resources/credits/client/requests/ListBillingCreditsRequest.d.ts +19 -0
- package/api/resources/credits/client/requests/ListBillingCreditsRequest.js +5 -0
- package/api/resources/credits/client/requests/ListBillingPlanCreditGrantsRequest.d.ts +20 -0
- package/api/resources/credits/client/requests/ListBillingPlanCreditGrantsRequest.js +5 -0
- package/api/resources/credits/client/requests/ListCompanyGrantsRequest.d.ts +21 -0
- package/api/resources/credits/client/requests/ListCompanyGrantsRequest.js +5 -0
- package/api/resources/credits/client/requests/ListCreditBundlesRequest.d.ts +22 -0
- package/api/resources/credits/client/requests/ListCreditBundlesRequest.js +5 -0
- package/api/resources/credits/client/requests/ListGrantsForCreditRequest.d.ts +19 -0
- package/api/resources/credits/client/requests/ListGrantsForCreditRequest.js +5 -0
- package/api/resources/credits/client/requests/UpdateBillingCreditRequestBody.d.ts +24 -0
- package/api/resources/credits/client/requests/UpdateBillingCreditRequestBody.js +5 -0
- package/api/resources/credits/client/requests/ZeroOutGrantRequestBody.d.ts +11 -0
- package/api/resources/credits/client/requests/ZeroOutGrantRequestBody.js +5 -0
- package/api/resources/credits/client/requests/index.d.ts +14 -0
- package/api/resources/credits/client/requests/index.js +2 -0
- package/api/resources/credits/index.d.ts +2 -0
- package/api/resources/credits/index.js +18 -0
- package/api/resources/credits/types/CountBillingCreditsGrantsParams.d.ts +14 -0
- package/api/resources/credits/types/CountBillingCreditsGrantsParams.js +5 -0
- package/api/resources/credits/types/CountBillingCreditsGrantsResponse.d.ts +9 -0
- package/api/resources/credits/types/CountBillingCreditsGrantsResponse.js +5 -0
- package/api/resources/credits/types/CountBillingCreditsParams.d.ts +14 -0
- package/api/resources/credits/types/CountBillingCreditsParams.js +5 -0
- package/api/resources/credits/types/CountBillingCreditsResponse.d.ts +9 -0
- package/api/resources/credits/types/CountBillingCreditsResponse.js +5 -0
- package/api/resources/credits/types/CountBillingPlanCreditGrantsParams.d.ts +15 -0
- package/api/resources/credits/types/CountBillingPlanCreditGrantsParams.js +5 -0
- package/api/resources/credits/types/CountBillingPlanCreditGrantsResponse.d.ts +9 -0
- package/api/resources/credits/types/CountBillingPlanCreditGrantsResponse.js +5 -0
- package/api/resources/credits/types/CountCreditBundlesParams.d.ts +17 -0
- package/api/resources/credits/types/CountCreditBundlesParams.js +5 -0
- package/api/resources/credits/types/CountCreditBundlesRequestStatus.d.ts +8 -0
- package/api/resources/credits/types/CountCreditBundlesRequestStatus.js +10 -0
- package/api/resources/credits/types/CountCreditBundlesResponse.d.ts +9 -0
- package/api/resources/credits/types/CountCreditBundlesResponse.js +5 -0
- package/api/resources/credits/types/CountCreditBundlesResponseParamsStatus.d.ts +8 -0
- package/api/resources/credits/types/CountCreditBundlesResponseParamsStatus.js +10 -0
- package/api/resources/credits/types/CreateBillingCreditRequestBodyBurnStrategy.d.ts +10 -0
- package/api/resources/credits/types/CreateBillingCreditRequestBodyBurnStrategy.js +12 -0
- package/api/resources/credits/types/CreateBillingCreditRequestBodyDefaultRolloverPolicy.d.ts +9 -0
- package/api/resources/credits/types/CreateBillingCreditRequestBodyDefaultRolloverPolicy.js +11 -0
- package/api/resources/credits/types/CreateBillingCreditResponse.d.ts +9 -0
- package/api/resources/credits/types/CreateBillingCreditResponse.js +5 -0
- package/api/resources/credits/types/CreateBillingPlanCreditGrantRequestBodyResetCadence.d.ts +10 -0
- package/api/resources/credits/types/CreateBillingPlanCreditGrantRequestBodyResetCadence.js +12 -0
- package/api/resources/credits/types/CreateBillingPlanCreditGrantRequestBodyResetStart.d.ts +8 -0
- package/api/resources/credits/types/CreateBillingPlanCreditGrantRequestBodyResetStart.js +10 -0
- package/api/resources/credits/types/CreateBillingPlanCreditGrantResponse.d.ts +9 -0
- package/api/resources/credits/types/CreateBillingPlanCreditGrantResponse.js +5 -0
- package/api/resources/credits/types/CreateCreditBundleRequestBodyExpiryType.d.ts +8 -0
- package/api/resources/credits/types/CreateCreditBundleRequestBodyExpiryType.js +10 -0
- package/api/resources/credits/types/CreateCreditBundleRequestBodyStatus.d.ts +8 -0
- package/api/resources/credits/types/CreateCreditBundleRequestBodyStatus.js +10 -0
- package/api/resources/credits/types/CreateCreditBundleResponse.d.ts +9 -0
- package/api/resources/credits/types/CreateCreditBundleResponse.js +5 -0
- package/api/resources/credits/types/DeleteBillingPlanCreditGrantResponse.d.ts +9 -0
- package/api/resources/credits/types/DeleteBillingPlanCreditGrantResponse.js +5 -0
- package/api/resources/credits/types/DeleteCreditBundleResponse.d.ts +9 -0
- package/api/resources/credits/types/DeleteCreditBundleResponse.js +5 -0
- package/api/resources/credits/types/GetCreditBundleResponse.d.ts +9 -0
- package/api/resources/credits/types/GetCreditBundleResponse.js +5 -0
- package/api/resources/credits/types/GetSingleBillingCreditResponse.d.ts +9 -0
- package/api/resources/credits/types/GetSingleBillingCreditResponse.js +5 -0
- package/api/resources/credits/types/ListBillingCreditsParams.d.ts +14 -0
- package/api/resources/credits/types/ListBillingCreditsParams.js +5 -0
- package/api/resources/credits/types/ListBillingCreditsResponse.d.ts +10 -0
- package/api/resources/credits/types/ListBillingCreditsResponse.js +5 -0
- package/api/resources/credits/types/ListBillingPlanCreditGrantsParams.d.ts +15 -0
- package/api/resources/credits/types/ListBillingPlanCreditGrantsParams.js +5 -0
- package/api/resources/credits/types/ListBillingPlanCreditGrantsResponse.d.ts +10 -0
- package/api/resources/credits/types/ListBillingPlanCreditGrantsResponse.js +5 -0
- package/api/resources/credits/types/ListCompanyGrantsParams.d.ts +16 -0
- package/api/resources/credits/types/ListCompanyGrantsParams.js +5 -0
- package/api/resources/credits/types/ListCompanyGrantsRequestDir.d.ts +8 -0
- package/api/resources/credits/types/ListCompanyGrantsRequestDir.js +10 -0
- package/api/resources/credits/types/ListCompanyGrantsRequestOrder.d.ts +10 -0
- package/api/resources/credits/types/ListCompanyGrantsRequestOrder.js +12 -0
- package/api/resources/credits/types/ListCompanyGrantsResponse.d.ts +10 -0
- package/api/resources/credits/types/ListCompanyGrantsResponse.js +5 -0
- package/api/resources/credits/types/ListCompanyGrantsResponseParamsDir.d.ts +8 -0
- package/api/resources/credits/types/ListCompanyGrantsResponseParamsDir.js +10 -0
- package/api/resources/credits/types/ListCompanyGrantsResponseParamsOrder.d.ts +10 -0
- package/api/resources/credits/types/ListCompanyGrantsResponseParamsOrder.js +12 -0
- package/api/resources/credits/types/ListCreditBundlesParams.d.ts +17 -0
- package/api/resources/credits/types/ListCreditBundlesParams.js +5 -0
- package/api/resources/credits/types/ListCreditBundlesRequestStatus.d.ts +8 -0
- package/api/resources/credits/types/ListCreditBundlesRequestStatus.js +10 -0
- package/api/resources/credits/types/ListCreditBundlesResponse.d.ts +10 -0
- package/api/resources/credits/types/ListCreditBundlesResponse.js +5 -0
- package/api/resources/credits/types/ListCreditBundlesResponseParamsStatus.d.ts +8 -0
- package/api/resources/credits/types/ListCreditBundlesResponseParamsStatus.js +10 -0
- package/api/resources/credits/types/ListGrantsForCreditParams.d.ts +14 -0
- package/api/resources/credits/types/ListGrantsForCreditParams.js +5 -0
- package/api/resources/credits/types/ListGrantsForCreditResponse.d.ts +10 -0
- package/api/resources/credits/types/ListGrantsForCreditResponse.js +5 -0
- package/api/resources/credits/types/UpdateBillingCreditRequestBodyBurnStrategy.d.ts +10 -0
- package/api/resources/credits/types/UpdateBillingCreditRequestBodyBurnStrategy.js +12 -0
- package/api/resources/credits/types/UpdateBillingCreditRequestBodyDefaultRolloverPolicy.d.ts +9 -0
- package/api/resources/credits/types/UpdateBillingCreditRequestBodyDefaultRolloverPolicy.js +11 -0
- package/api/resources/credits/types/UpdateBillingCreditResponse.d.ts +9 -0
- package/api/resources/credits/types/UpdateBillingCreditResponse.js +5 -0
- package/api/resources/credits/types/UpdateCreditBundleResponse.d.ts +9 -0
- package/api/resources/credits/types/UpdateCreditBundleResponse.js +5 -0
- package/api/resources/credits/types/ZeroOutGrantRequestBodyReason.d.ts +8 -0
- package/api/resources/credits/types/ZeroOutGrantRequestBodyReason.js +10 -0
- package/api/resources/credits/types/ZeroOutGrantResponse.d.ts +9 -0
- package/api/resources/credits/types/ZeroOutGrantResponse.js +5 -0
- package/api/resources/credits/types/index.d.ts +45 -0
- package/api/resources/credits/types/index.js +61 -0
- package/api/resources/crm/client/Client.js +5 -5
- package/api/resources/dataexports/client/Client.js +2 -2
- package/api/resources/entitlements/client/Client.d.ts +4 -0
- package/api/resources/entitlements/client/Client.js +23 -19
- package/api/resources/entitlements/client/requests/CreateCompanyOverrideRequestBody.d.ts +1 -0
- package/api/resources/entitlements/client/requests/CreatePlanEntitlementRequestBody.d.ts +7 -1
- package/api/resources/entitlements/client/requests/UpdateCompanyOverrideRequestBody.d.ts +1 -0
- package/api/resources/entitlements/client/requests/UpdatePlanEntitlementRequestBody.d.ts +7 -1
- package/api/resources/entitlements/types/CreateCompanyOverrideRequestBodyValueType.d.ts +2 -1
- package/api/resources/entitlements/types/CreateCompanyOverrideRequestBodyValueType.js +1 -0
- package/api/resources/entitlements/types/CreatePlanEntitlementRequestBodyPriceBehavior.d.ts +11 -0
- package/api/resources/entitlements/types/CreatePlanEntitlementRequestBodyPriceBehavior.js +13 -0
- package/api/resources/entitlements/types/CreatePlanEntitlementRequestBodyValueType.d.ts +2 -1
- package/api/resources/entitlements/types/CreatePlanEntitlementRequestBodyValueType.js +1 -0
- package/api/resources/entitlements/types/UpdateCompanyOverrideRequestBodyValueType.d.ts +2 -1
- package/api/resources/entitlements/types/UpdateCompanyOverrideRequestBodyValueType.js +1 -0
- package/api/resources/entitlements/types/UpdatePlanEntitlementRequestBodyPriceBehavior.d.ts +11 -0
- package/api/resources/entitlements/types/UpdatePlanEntitlementRequestBodyPriceBehavior.js +13 -0
- package/api/resources/entitlements/types/UpdatePlanEntitlementRequestBodyValueType.d.ts +2 -1
- package/api/resources/entitlements/types/UpdatePlanEntitlementRequestBodyValueType.js +1 -0
- package/api/resources/entitlements/types/index.d.ts +2 -0
- package/api/resources/entitlements/types/index.js +2 -0
- package/api/resources/events/client/Client.js +10 -8
- package/api/resources/events/client/requests/ListEventsRequest.d.ts +2 -1
- package/api/resources/events/types/ListEventsParams.d.ts +2 -1
- package/api/resources/events/types/ListEventsRequestEventTypesItem.d.ts +9 -0
- package/api/resources/events/types/ListEventsRequestEventTypesItem.js +11 -0
- package/api/resources/events/types/ListEventsResponseParamsEventTypesItem.d.ts +9 -0
- package/api/resources/events/types/ListEventsResponseParamsEventTypesItem.js +11 -0
- package/api/resources/events/types/index.d.ts +2 -0
- package/api/resources/events/types/index.js +2 -0
- package/api/resources/features/client/Client.d.ts +2 -2
- package/api/resources/features/client/Client.js +45 -23
- package/api/resources/features/client/requests/CountFeaturesRequest.d.ts +8 -0
- package/api/resources/features/client/requests/CreateFeatureRequestBody.d.ts +1 -1
- package/api/resources/features/client/requests/ListFeaturesRequest.d.ts +8 -0
- package/api/resources/features/client/requests/UpdateFeatureRequestBody.d.ts +1 -1
- package/api/resources/features/types/CountFeaturesParams.d.ts +4 -0
- package/api/resources/features/types/CreateFeatureRequestBodyLifecyclePhase.d.ts +15 -0
- package/api/resources/features/types/CreateFeatureRequestBodyLifecyclePhase.js +17 -0
- package/api/resources/features/types/ListFeaturesParams.d.ts +4 -0
- package/api/resources/features/types/UpdateFeatureRequestBodyLifecyclePhase.d.ts +15 -0
- package/api/resources/features/types/UpdateFeatureRequestBodyLifecyclePhase.js +17 -0
- package/api/resources/features/types/index.d.ts +2 -0
- package/api/resources/features/types/index.js +2 -0
- package/api/resources/index.d.ts +3 -0
- package/api/resources/index.js +4 -1
- package/api/resources/plangroups/client/Client.js +3 -3
- package/api/resources/plangroups/client/requests/CreatePlanGroupRequestBody.d.ts +1 -0
- package/api/resources/plangroups/client/requests/UpdatePlanGroupRequestBody.d.ts +1 -0
- package/api/resources/plans/client/Client.d.ts +1 -1
- package/api/resources/plans/client/Client.js +18 -18
- package/api/resources/plans/client/requests/UpsertBillingProductRequestBody.d.ts +7 -3
- package/api/resources/plans/types/UpsertBillingProductRequestBodyChargeType.d.ts +9 -0
- package/api/resources/plans/types/UpsertBillingProductRequestBodyChargeType.js +11 -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/types/BillingCreditBundleResponseData.d.ts +18 -0
- package/api/types/BillingCreditBundleResponseData.js +5 -0
- package/api/types/BillingCreditGrantResponseData.d.ts +23 -0
- package/api/types/BillingCreditGrantResponseData.js +5 -0
- package/api/types/BillingCreditResponseData.d.ts +21 -0
- package/api/types/BillingCreditResponseData.js +5 -0
- package/api/types/BillingPlanCreditGrantResponseData.d.ts +14 -0
- package/api/types/BillingPlanCreditGrantResponseData.js +5 -0
- package/api/types/BillingPriceView.d.ts +1 -0
- package/api/types/BillingProductPlanResponseData.d.ts +1 -0
- package/api/types/BillingProductPriceResponseData.d.ts +1 -0
- package/api/types/ChangeSubscriptionInternalRequestBody.d.ts +2 -0
- package/api/types/ChangeSubscriptionRequestBody.d.ts +2 -0
- package/api/types/CheckoutDataResponseData.d.ts +2 -0
- package/api/types/CompanyOverrideResponseData.d.ts +1 -0
- package/api/types/CompanyPlanDetailResponseData.d.ts +2 -0
- package/api/types/CompanyViewWithFeatureUsageResponseData.d.ts +27 -0
- package/api/types/CompanyViewWithFeatureUsageResponseData.js +5 -0
- package/api/types/CompatiblePlans.d.ts +7 -0
- package/api/types/CompatiblePlans.js +5 -0
- package/api/types/CompatiblePlansResponseData.d.ts +7 -0
- package/api/types/CompatiblePlansResponseData.js +5 -0
- package/api/types/ComponentHydrateResponseData.d.ts +1 -0
- package/api/types/ComponentPreviewResponseData.d.ts +1 -0
- package/api/types/CreateEntitlementReqCommon.d.ts +1 -0
- package/api/types/CreateEntitlementReqCommonValueType.d.ts +2 -1
- package/api/types/CreateEntitlementReqCommonValueType.js +1 -0
- package/api/types/CreateFlagRequestBody.d.ts +1 -1
- package/api/types/CreateOrUpdateFlagRequestBody.d.ts +1 -1
- package/api/types/CreatePriceTierRequestBody.d.ts +9 -0
- package/api/types/CreatePriceTierRequestBody.js +5 -0
- package/api/types/CreditBundlePurchaseResponseData.d.ts +9 -0
- package/api/types/CreditBundlePurchaseResponseData.js +5 -0
- package/api/types/FeatureUsageDataResponseData.d.ts +14 -0
- package/api/types/FeatureUsageDataResponseData.js +5 -0
- package/api/types/PlanDetailResponseData.d.ts +1 -0
- package/api/types/PlanEntitlementResponseData.d.ts +2 -0
- package/api/types/PlanGroupPlanDetailResponseData.d.ts +2 -0
- package/api/types/PlanGroupResponseData.d.ts +1 -0
- package/api/types/PreviewSubscriptionChangeResponseData.d.ts +1 -0
- package/api/types/UpdateCreditBundleRequestBody.d.ts +7 -0
- package/api/types/UpdateCreditBundleRequestBody.js +5 -0
- package/api/types/UpdateEntitlementReqCommon.d.ts +1 -0
- package/api/types/UpdateEntitlementReqCommonValueType.d.ts +2 -1
- package/api/types/UpdateEntitlementReqCommonValueType.js +1 -0
- package/api/types/UpsertUserRequestBody.d.ts +2 -2
- package/api/types/UsageBasedEntitlementRequestBody.d.ts +5 -1
- package/api/types/UsageBasedEntitlementRequestBodyPriceBehavior.d.ts +11 -0
- package/api/types/UsageBasedEntitlementRequestBodyPriceBehavior.js +13 -0
- package/api/types/UsageBasedEntitlementResponseData.d.ts +1 -0
- package/api/types/index.d.ts +12 -0
- package/api/types/index.js +12 -0
- package/dist/Client.d.ts +3 -0
- package/dist/Client.js +27 -22
- package/dist/api/resources/accesstokens/client/Client.d.ts +1 -2
- package/dist/api/resources/accesstokens/client/Client.js +4 -5
- package/dist/api/resources/accounts/client/Client.js +15 -15
- package/dist/api/resources/billing/client/Client.js +26 -21
- package/dist/api/resources/billing/client/requests/CreateBillingPriceRequestBody.d.ts +1 -1
- package/dist/api/resources/billing/client/requests/SearchBillingPricesRequest.d.ts +1 -0
- package/dist/api/resources/billing/types/CreateBillingPriceRequestBodyTiersMode.d.ts +8 -0
- package/dist/api/resources/billing/types/CreateBillingPriceRequestBodyTiersMode.js +10 -0
- package/dist/api/resources/billing/types/SearchBillingPricesParams.d.ts +1 -0
- package/dist/api/resources/billing/types/{CreateBillingPriceRequestBodyTierMode.d.ts → SearchBillingPricesRequestTiersMode.d.ts} +2 -2
- package/dist/api/resources/billing/types/{CreateBillingPriceRequestBodyTierMode.js → SearchBillingPricesRequestTiersMode.js} +2 -2
- package/dist/api/resources/billing/types/SearchBillingPricesResponseParamsTiersMode.d.ts +8 -0
- package/dist/api/resources/billing/types/SearchBillingPricesResponseParamsTiersMode.js +10 -0
- package/dist/api/resources/billing/types/index.d.ts +3 -1
- package/dist/api/resources/billing/types/index.js +3 -1
- package/dist/api/resources/checkout/client/Client.d.ts +12 -2
- package/dist/api/resources/checkout/client/Client.js +16 -6
- package/dist/api/resources/companies/client/Client.d.ts +30 -12
- package/dist/api/resources/companies/client/Client.js +403 -43
- package/dist/api/resources/companies/client/requests/CountCompaniesForAdvancedFilterRequest.d.ts +66 -0
- package/dist/api/resources/companies/client/requests/CountCompaniesForAdvancedFilterRequest.js +5 -0
- package/dist/api/resources/companies/client/requests/ListCompaniesForAdvancedFilterRequest.d.ts +66 -0
- package/dist/api/resources/companies/client/requests/ListCompaniesForAdvancedFilterRequest.js +5 -0
- package/dist/api/resources/companies/client/requests/index.d.ts +2 -0
- package/dist/api/resources/companies/types/CountCompaniesForAdvancedFilterParams.d.ts +37 -0
- package/dist/api/resources/companies/types/CountCompaniesForAdvancedFilterParams.js +5 -0
- package/dist/api/resources/companies/types/CountCompaniesForAdvancedFilterRequestSortOrderDirection.d.ts +11 -0
- package/dist/api/resources/companies/types/CountCompaniesForAdvancedFilterRequestSortOrderDirection.js +10 -0
- package/dist/api/resources/companies/types/CountCompaniesForAdvancedFilterResponse.d.ts +9 -0
- package/dist/api/resources/companies/types/CountCompaniesForAdvancedFilterResponse.js +5 -0
- package/dist/api/resources/companies/types/CountCompaniesForAdvancedFilterResponseParamsSortOrderDirection.d.ts +11 -0
- package/dist/api/resources/companies/types/CountCompaniesForAdvancedFilterResponseParamsSortOrderDirection.js +10 -0
- package/dist/api/resources/companies/types/ListCompaniesForAdvancedFilterParams.d.ts +37 -0
- package/dist/api/resources/companies/types/ListCompaniesForAdvancedFilterParams.js +5 -0
- package/dist/api/resources/companies/types/ListCompaniesForAdvancedFilterRequestSortOrderDirection.d.ts +11 -0
- package/dist/api/resources/companies/types/ListCompaniesForAdvancedFilterRequestSortOrderDirection.js +10 -0
- package/dist/api/resources/companies/types/ListCompaniesForAdvancedFilterResponse.d.ts +10 -0
- package/dist/api/resources/companies/types/ListCompaniesForAdvancedFilterResponse.js +5 -0
- package/dist/api/resources/companies/types/ListCompaniesForAdvancedFilterResponseParamsSortOrderDirection.d.ts +11 -0
- package/dist/api/resources/companies/types/ListCompaniesForAdvancedFilterResponseParamsSortOrderDirection.js +10 -0
- package/dist/api/resources/companies/types/index.d.ts +8 -0
- package/dist/api/resources/companies/types/index.js +8 -0
- package/dist/api/resources/components/client/Client.js +7 -7
- package/dist/api/resources/credits/client/Client.d.ts +338 -0
- package/dist/api/resources/credits/client/Client.js +2338 -0
- package/dist/api/resources/credits/client/index.d.ts +1 -0
- package/dist/api/resources/credits/client/index.js +17 -0
- package/dist/api/resources/credits/client/requests/CountBillingCreditsGrantsRequest.d.ts +19 -0
- package/dist/api/resources/credits/client/requests/CountBillingCreditsGrantsRequest.js +5 -0
- package/dist/api/resources/credits/client/requests/CountBillingCreditsRequest.d.ts +19 -0
- package/dist/api/resources/credits/client/requests/CountBillingCreditsRequest.js +5 -0
- package/dist/api/resources/credits/client/requests/CountBillingPlanCreditGrantsRequest.d.ts +20 -0
- package/dist/api/resources/credits/client/requests/CountBillingPlanCreditGrantsRequest.js +5 -0
- package/dist/api/resources/credits/client/requests/CountCreditBundlesRequest.d.ts +22 -0
- package/dist/api/resources/credits/client/requests/CountCreditBundlesRequest.js +5 -0
- package/dist/api/resources/credits/client/requests/CreateBillingCreditRequestBody.d.ts +26 -0
- package/dist/api/resources/credits/client/requests/CreateBillingCreditRequestBody.js +5 -0
- package/dist/api/resources/credits/client/requests/CreateBillingPlanCreditGrantRequestBody.d.ts +21 -0
- package/dist/api/resources/credits/client/requests/CreateBillingPlanCreditGrantRequestBody.js +5 -0
- package/dist/api/resources/credits/client/requests/CreateCreditBundleRequestBody.d.ts +24 -0
- package/dist/api/resources/credits/client/requests/CreateCreditBundleRequestBody.js +5 -0
- package/dist/api/resources/credits/client/requests/ListBillingCreditsRequest.d.ts +19 -0
- package/dist/api/resources/credits/client/requests/ListBillingCreditsRequest.js +5 -0
- package/dist/api/resources/credits/client/requests/ListBillingPlanCreditGrantsRequest.d.ts +20 -0
- package/dist/api/resources/credits/client/requests/ListBillingPlanCreditGrantsRequest.js +5 -0
- package/dist/api/resources/credits/client/requests/ListCompanyGrantsRequest.d.ts +21 -0
- package/dist/api/resources/credits/client/requests/ListCompanyGrantsRequest.js +5 -0
- package/dist/api/resources/credits/client/requests/ListCreditBundlesRequest.d.ts +22 -0
- package/dist/api/resources/credits/client/requests/ListCreditBundlesRequest.js +5 -0
- package/dist/api/resources/credits/client/requests/ListGrantsForCreditRequest.d.ts +19 -0
- package/dist/api/resources/credits/client/requests/ListGrantsForCreditRequest.js +5 -0
- package/dist/api/resources/credits/client/requests/UpdateBillingCreditRequestBody.d.ts +24 -0
- package/dist/api/resources/credits/client/requests/UpdateBillingCreditRequestBody.js +5 -0
- package/dist/api/resources/credits/client/requests/ZeroOutGrantRequestBody.d.ts +11 -0
- package/dist/api/resources/credits/client/requests/ZeroOutGrantRequestBody.js +5 -0
- package/dist/api/resources/credits/client/requests/index.d.ts +14 -0
- package/dist/api/resources/credits/client/requests/index.js +2 -0
- package/dist/api/resources/credits/index.d.ts +2 -0
- package/dist/api/resources/credits/index.js +18 -0
- package/dist/api/resources/credits/types/CountBillingCreditsGrantsParams.d.ts +14 -0
- package/dist/api/resources/credits/types/CountBillingCreditsGrantsParams.js +5 -0
- package/dist/api/resources/credits/types/CountBillingCreditsGrantsResponse.d.ts +9 -0
- package/dist/api/resources/credits/types/CountBillingCreditsGrantsResponse.js +5 -0
- package/dist/api/resources/credits/types/CountBillingCreditsParams.d.ts +14 -0
- package/dist/api/resources/credits/types/CountBillingCreditsParams.js +5 -0
- package/dist/api/resources/credits/types/CountBillingCreditsResponse.d.ts +9 -0
- package/dist/api/resources/credits/types/CountBillingCreditsResponse.js +5 -0
- package/dist/api/resources/credits/types/CountBillingPlanCreditGrantsParams.d.ts +15 -0
- package/dist/api/resources/credits/types/CountBillingPlanCreditGrantsParams.js +5 -0
- package/dist/api/resources/credits/types/CountBillingPlanCreditGrantsResponse.d.ts +9 -0
- package/dist/api/resources/credits/types/CountBillingPlanCreditGrantsResponse.js +5 -0
- package/dist/api/resources/credits/types/CountCreditBundlesParams.d.ts +17 -0
- package/dist/api/resources/credits/types/CountCreditBundlesParams.js +5 -0
- package/dist/api/resources/credits/types/CountCreditBundlesRequestStatus.d.ts +8 -0
- package/dist/api/resources/credits/types/CountCreditBundlesRequestStatus.js +10 -0
- package/dist/api/resources/credits/types/CountCreditBundlesResponse.d.ts +9 -0
- package/dist/api/resources/credits/types/CountCreditBundlesResponse.js +5 -0
- package/dist/api/resources/credits/types/CountCreditBundlesResponseParamsStatus.d.ts +8 -0
- package/dist/api/resources/credits/types/CountCreditBundlesResponseParamsStatus.js +10 -0
- package/dist/api/resources/credits/types/CreateBillingCreditRequestBodyBurnStrategy.d.ts +10 -0
- package/dist/api/resources/credits/types/CreateBillingCreditRequestBodyBurnStrategy.js +12 -0
- package/dist/api/resources/credits/types/CreateBillingCreditRequestBodyDefaultRolloverPolicy.d.ts +9 -0
- package/dist/api/resources/credits/types/CreateBillingCreditRequestBodyDefaultRolloverPolicy.js +11 -0
- package/dist/api/resources/credits/types/CreateBillingCreditResponse.d.ts +9 -0
- package/dist/api/resources/credits/types/CreateBillingCreditResponse.js +5 -0
- package/dist/api/resources/credits/types/CreateBillingPlanCreditGrantRequestBodyResetCadence.d.ts +10 -0
- package/dist/api/resources/credits/types/CreateBillingPlanCreditGrantRequestBodyResetCadence.js +12 -0
- package/dist/api/resources/credits/types/CreateBillingPlanCreditGrantRequestBodyResetStart.d.ts +8 -0
- package/dist/api/resources/credits/types/CreateBillingPlanCreditGrantRequestBodyResetStart.js +10 -0
- package/dist/api/resources/credits/types/CreateBillingPlanCreditGrantResponse.d.ts +9 -0
- package/dist/api/resources/credits/types/CreateBillingPlanCreditGrantResponse.js +5 -0
- package/dist/api/resources/credits/types/CreateCreditBundleRequestBodyExpiryType.d.ts +8 -0
- package/dist/api/resources/credits/types/CreateCreditBundleRequestBodyExpiryType.js +10 -0
- package/dist/api/resources/credits/types/CreateCreditBundleRequestBodyStatus.d.ts +8 -0
- package/dist/api/resources/credits/types/CreateCreditBundleRequestBodyStatus.js +10 -0
- package/dist/api/resources/credits/types/CreateCreditBundleResponse.d.ts +9 -0
- package/dist/api/resources/credits/types/CreateCreditBundleResponse.js +5 -0
- package/dist/api/resources/credits/types/DeleteBillingPlanCreditGrantResponse.d.ts +9 -0
- package/dist/api/resources/credits/types/DeleteBillingPlanCreditGrantResponse.js +5 -0
- package/dist/api/resources/credits/types/DeleteCreditBundleResponse.d.ts +9 -0
- package/dist/api/resources/credits/types/DeleteCreditBundleResponse.js +5 -0
- package/dist/api/resources/credits/types/GetCreditBundleResponse.d.ts +9 -0
- package/dist/api/resources/credits/types/GetCreditBundleResponse.js +5 -0
- package/dist/api/resources/credits/types/GetSingleBillingCreditResponse.d.ts +9 -0
- package/dist/api/resources/credits/types/GetSingleBillingCreditResponse.js +5 -0
- package/dist/api/resources/credits/types/ListBillingCreditsParams.d.ts +14 -0
- package/dist/api/resources/credits/types/ListBillingCreditsParams.js +5 -0
- package/dist/api/resources/credits/types/ListBillingCreditsResponse.d.ts +10 -0
- package/dist/api/resources/credits/types/ListBillingCreditsResponse.js +5 -0
- package/dist/api/resources/credits/types/ListBillingPlanCreditGrantsParams.d.ts +15 -0
- package/dist/api/resources/credits/types/ListBillingPlanCreditGrantsParams.js +5 -0
- package/dist/api/resources/credits/types/ListBillingPlanCreditGrantsResponse.d.ts +10 -0
- package/dist/api/resources/credits/types/ListBillingPlanCreditGrantsResponse.js +5 -0
- package/dist/api/resources/credits/types/ListCompanyGrantsParams.d.ts +16 -0
- package/dist/api/resources/credits/types/ListCompanyGrantsParams.js +5 -0
- package/dist/api/resources/credits/types/ListCompanyGrantsRequestDir.d.ts +8 -0
- package/dist/api/resources/credits/types/ListCompanyGrantsRequestDir.js +10 -0
- package/dist/api/resources/credits/types/ListCompanyGrantsRequestOrder.d.ts +10 -0
- package/dist/api/resources/credits/types/ListCompanyGrantsRequestOrder.js +12 -0
- package/dist/api/resources/credits/types/ListCompanyGrantsResponse.d.ts +10 -0
- package/dist/api/resources/credits/types/ListCompanyGrantsResponse.js +5 -0
- package/dist/api/resources/credits/types/ListCompanyGrantsResponseParamsDir.d.ts +8 -0
- package/dist/api/resources/credits/types/ListCompanyGrantsResponseParamsDir.js +10 -0
- package/dist/api/resources/credits/types/ListCompanyGrantsResponseParamsOrder.d.ts +10 -0
- package/dist/api/resources/credits/types/ListCompanyGrantsResponseParamsOrder.js +12 -0
- package/dist/api/resources/credits/types/ListCreditBundlesParams.d.ts +17 -0
- package/dist/api/resources/credits/types/ListCreditBundlesParams.js +5 -0
- package/dist/api/resources/credits/types/ListCreditBundlesRequestStatus.d.ts +8 -0
- package/dist/api/resources/credits/types/ListCreditBundlesRequestStatus.js +10 -0
- package/dist/api/resources/credits/types/ListCreditBundlesResponse.d.ts +10 -0
- package/dist/api/resources/credits/types/ListCreditBundlesResponse.js +5 -0
- package/dist/api/resources/credits/types/ListCreditBundlesResponseParamsStatus.d.ts +8 -0
- package/dist/api/resources/credits/types/ListCreditBundlesResponseParamsStatus.js +10 -0
- package/dist/api/resources/credits/types/ListGrantsForCreditParams.d.ts +14 -0
- package/dist/api/resources/credits/types/ListGrantsForCreditParams.js +5 -0
- package/dist/api/resources/credits/types/ListGrantsForCreditResponse.d.ts +10 -0
- package/dist/api/resources/credits/types/ListGrantsForCreditResponse.js +5 -0
- package/dist/api/resources/credits/types/UpdateBillingCreditRequestBodyBurnStrategy.d.ts +10 -0
- package/dist/api/resources/credits/types/UpdateBillingCreditRequestBodyBurnStrategy.js +12 -0
- package/dist/api/resources/credits/types/UpdateBillingCreditRequestBodyDefaultRolloverPolicy.d.ts +9 -0
- package/dist/api/resources/credits/types/UpdateBillingCreditRequestBodyDefaultRolloverPolicy.js +11 -0
- package/dist/api/resources/credits/types/UpdateBillingCreditResponse.d.ts +9 -0
- package/dist/api/resources/credits/types/UpdateBillingCreditResponse.js +5 -0
- package/dist/api/resources/credits/types/UpdateCreditBundleResponse.d.ts +9 -0
- package/dist/api/resources/credits/types/UpdateCreditBundleResponse.js +5 -0
- package/dist/api/resources/credits/types/ZeroOutGrantRequestBodyReason.d.ts +8 -0
- package/dist/api/resources/credits/types/ZeroOutGrantRequestBodyReason.js +10 -0
- package/dist/api/resources/credits/types/ZeroOutGrantResponse.d.ts +9 -0
- package/dist/api/resources/credits/types/ZeroOutGrantResponse.js +5 -0
- package/dist/api/resources/credits/types/index.d.ts +45 -0
- package/dist/api/resources/credits/types/index.js +61 -0
- package/dist/api/resources/crm/client/Client.js +5 -5
- package/dist/api/resources/dataexports/client/Client.js +2 -2
- package/dist/api/resources/entitlements/client/Client.d.ts +4 -0
- package/dist/api/resources/entitlements/client/Client.js +23 -19
- package/dist/api/resources/entitlements/client/requests/CreateCompanyOverrideRequestBody.d.ts +1 -0
- package/dist/api/resources/entitlements/client/requests/CreatePlanEntitlementRequestBody.d.ts +7 -1
- package/dist/api/resources/entitlements/client/requests/UpdateCompanyOverrideRequestBody.d.ts +1 -0
- package/dist/api/resources/entitlements/client/requests/UpdatePlanEntitlementRequestBody.d.ts +7 -1
- package/dist/api/resources/entitlements/types/CreateCompanyOverrideRequestBodyValueType.d.ts +2 -1
- package/dist/api/resources/entitlements/types/CreateCompanyOverrideRequestBodyValueType.js +1 -0
- package/dist/api/resources/entitlements/types/CreatePlanEntitlementRequestBodyPriceBehavior.d.ts +11 -0
- package/dist/api/resources/entitlements/types/CreatePlanEntitlementRequestBodyPriceBehavior.js +13 -0
- package/dist/api/resources/entitlements/types/CreatePlanEntitlementRequestBodyValueType.d.ts +2 -1
- package/dist/api/resources/entitlements/types/CreatePlanEntitlementRequestBodyValueType.js +1 -0
- package/dist/api/resources/entitlements/types/UpdateCompanyOverrideRequestBodyValueType.d.ts +2 -1
- package/dist/api/resources/entitlements/types/UpdateCompanyOverrideRequestBodyValueType.js +1 -0
- package/dist/api/resources/entitlements/types/UpdatePlanEntitlementRequestBodyPriceBehavior.d.ts +11 -0
- package/dist/api/resources/entitlements/types/UpdatePlanEntitlementRequestBodyPriceBehavior.js +13 -0
- package/dist/api/resources/entitlements/types/UpdatePlanEntitlementRequestBodyValueType.d.ts +2 -1
- package/dist/api/resources/entitlements/types/UpdatePlanEntitlementRequestBodyValueType.js +1 -0
- package/dist/api/resources/entitlements/types/index.d.ts +2 -0
- package/dist/api/resources/entitlements/types/index.js +2 -0
- package/dist/api/resources/events/client/Client.js +10 -8
- package/dist/api/resources/events/client/requests/ListEventsRequest.d.ts +2 -1
- package/dist/api/resources/events/types/ListEventsParams.d.ts +2 -1
- package/dist/api/resources/events/types/ListEventsRequestEventTypesItem.d.ts +9 -0
- package/dist/api/resources/events/types/ListEventsRequestEventTypesItem.js +11 -0
- package/dist/api/resources/events/types/ListEventsResponseParamsEventTypesItem.d.ts +9 -0
- package/dist/api/resources/events/types/ListEventsResponseParamsEventTypesItem.js +11 -0
- package/dist/api/resources/events/types/index.d.ts +2 -0
- package/dist/api/resources/events/types/index.js +2 -0
- package/dist/api/resources/features/client/Client.d.ts +2 -2
- package/dist/api/resources/features/client/Client.js +45 -23
- package/dist/api/resources/features/client/requests/CountFeaturesRequest.d.ts +8 -0
- package/dist/api/resources/features/client/requests/CreateFeatureRequestBody.d.ts +1 -1
- package/dist/api/resources/features/client/requests/ListFeaturesRequest.d.ts +8 -0
- package/dist/api/resources/features/client/requests/UpdateFeatureRequestBody.d.ts +1 -1
- package/dist/api/resources/features/types/CountFeaturesParams.d.ts +4 -0
- package/dist/api/resources/features/types/CreateFeatureRequestBodyLifecyclePhase.d.ts +15 -0
- package/dist/api/resources/features/types/CreateFeatureRequestBodyLifecyclePhase.js +17 -0
- package/dist/api/resources/features/types/ListFeaturesParams.d.ts +4 -0
- package/dist/api/resources/features/types/UpdateFeatureRequestBodyLifecyclePhase.d.ts +15 -0
- package/dist/api/resources/features/types/UpdateFeatureRequestBodyLifecyclePhase.js +17 -0
- package/dist/api/resources/features/types/index.d.ts +2 -0
- package/dist/api/resources/features/types/index.js +2 -0
- package/dist/api/resources/index.d.ts +3 -0
- package/dist/api/resources/index.js +4 -1
- package/dist/api/resources/plangroups/client/Client.js +3 -3
- package/dist/api/resources/plangroups/client/requests/CreatePlanGroupRequestBody.d.ts +1 -0
- package/dist/api/resources/plangroups/client/requests/UpdatePlanGroupRequestBody.d.ts +1 -0
- package/dist/api/resources/plans/client/Client.d.ts +1 -1
- package/dist/api/resources/plans/client/Client.js +18 -18
- package/dist/api/resources/plans/client/requests/UpsertBillingProductRequestBody.d.ts +7 -3
- package/dist/api/resources/plans/types/UpsertBillingProductRequestBodyChargeType.d.ts +9 -0
- package/dist/api/resources/plans/types/UpsertBillingProductRequestBodyChargeType.js +11 -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/types/BillingCreditBundleResponseData.d.ts +18 -0
- package/dist/api/types/BillingCreditBundleResponseData.js +5 -0
- package/dist/api/types/BillingCreditGrantResponseData.d.ts +23 -0
- package/dist/api/types/BillingCreditGrantResponseData.js +5 -0
- package/dist/api/types/BillingCreditResponseData.d.ts +21 -0
- package/dist/api/types/BillingCreditResponseData.js +5 -0
- package/dist/api/types/BillingPlanCreditGrantResponseData.d.ts +14 -0
- package/dist/api/types/BillingPlanCreditGrantResponseData.js +5 -0
- package/dist/api/types/BillingPriceView.d.ts +1 -0
- package/dist/api/types/BillingProductPlanResponseData.d.ts +1 -0
- package/dist/api/types/BillingProductPriceResponseData.d.ts +1 -0
- package/dist/api/types/ChangeSubscriptionInternalRequestBody.d.ts +2 -0
- package/dist/api/types/ChangeSubscriptionRequestBody.d.ts +2 -0
- package/dist/api/types/CheckoutDataResponseData.d.ts +2 -0
- package/dist/api/types/CompanyOverrideResponseData.d.ts +1 -0
- package/dist/api/types/CompanyPlanDetailResponseData.d.ts +2 -0
- package/dist/api/types/CompanyViewWithFeatureUsageResponseData.d.ts +27 -0
- package/dist/api/types/CompanyViewWithFeatureUsageResponseData.js +5 -0
- package/dist/api/types/CompatiblePlans.d.ts +7 -0
- package/dist/api/types/CompatiblePlans.js +5 -0
- package/dist/api/types/CompatiblePlansResponseData.d.ts +7 -0
- package/dist/api/types/CompatiblePlansResponseData.js +5 -0
- package/dist/api/types/ComponentHydrateResponseData.d.ts +1 -0
- package/dist/api/types/ComponentPreviewResponseData.d.ts +1 -0
- package/dist/api/types/CreateEntitlementReqCommon.d.ts +1 -0
- package/dist/api/types/CreateEntitlementReqCommonValueType.d.ts +2 -1
- package/dist/api/types/CreateEntitlementReqCommonValueType.js +1 -0
- package/dist/api/types/CreateFlagRequestBody.d.ts +1 -1
- package/dist/api/types/CreateOrUpdateFlagRequestBody.d.ts +1 -1
- package/dist/api/types/CreatePriceTierRequestBody.d.ts +9 -0
- package/dist/api/types/CreatePriceTierRequestBody.js +5 -0
- package/dist/api/types/CreditBundlePurchaseResponseData.d.ts +9 -0
- package/dist/api/types/CreditBundlePurchaseResponseData.js +5 -0
- package/dist/api/types/FeatureUsageDataResponseData.d.ts +14 -0
- package/dist/api/types/FeatureUsageDataResponseData.js +5 -0
- package/dist/api/types/PlanDetailResponseData.d.ts +1 -0
- package/dist/api/types/PlanEntitlementResponseData.d.ts +2 -0
- package/dist/api/types/PlanGroupPlanDetailResponseData.d.ts +2 -0
- package/dist/api/types/PlanGroupResponseData.d.ts +1 -0
- package/dist/api/types/PreviewSubscriptionChangeResponseData.d.ts +1 -0
- package/dist/api/types/UpdateCreditBundleRequestBody.d.ts +7 -0
- package/dist/api/types/UpdateCreditBundleRequestBody.js +5 -0
- package/dist/api/types/UpdateEntitlementReqCommon.d.ts +1 -0
- package/dist/api/types/UpdateEntitlementReqCommonValueType.d.ts +2 -1
- package/dist/api/types/UpdateEntitlementReqCommonValueType.js +1 -0
- package/dist/api/types/UpsertUserRequestBody.d.ts +2 -2
- package/dist/api/types/UsageBasedEntitlementRequestBody.d.ts +5 -1
- package/dist/api/types/UsageBasedEntitlementRequestBodyPriceBehavior.d.ts +11 -0
- package/dist/api/types/UsageBasedEntitlementRequestBodyPriceBehavior.js +13 -0
- package/dist/api/types/UsageBasedEntitlementResponseData.d.ts +1 -0
- package/dist/api/types/index.d.ts +12 -0
- package/dist/api/types/index.js +12 -0
- package/dist/serialization/resources/billing/client/requests/CreateBillingPriceRequestBody.d.ts +2 -2
- package/dist/serialization/resources/billing/client/requests/CreateBillingPriceRequestBody.js +2 -2
- package/dist/serialization/resources/billing/types/CreateBillingPriceRequestBodyTiersMode.d.ts +10 -0
- package/dist/serialization/resources/billing/types/CreateBillingPriceRequestBodyTiersMode.js +41 -0
- package/dist/serialization/resources/billing/types/SearchBillingPricesParams.d.ts +2 -0
- package/dist/serialization/resources/billing/types/SearchBillingPricesParams.js +2 -0
- package/dist/serialization/resources/billing/types/SearchBillingPricesRequestTiersMode.d.ts +10 -0
- package/dist/serialization/resources/billing/types/{CreateBillingPriceRequestBodyTierMode.js → SearchBillingPricesRequestTiersMode.js} +2 -2
- package/dist/serialization/resources/billing/types/SearchBillingPricesResponseParamsTiersMode.d.ts +10 -0
- package/dist/serialization/resources/billing/types/SearchBillingPricesResponseParamsTiersMode.js +41 -0
- package/dist/serialization/resources/billing/types/index.d.ts +3 -1
- package/dist/serialization/resources/billing/types/index.js +3 -1
- package/dist/serialization/resources/companies/types/CountCompaniesForAdvancedFilterParams.d.ts +26 -0
- package/dist/serialization/resources/companies/types/CountCompaniesForAdvancedFilterParams.js +57 -0
- package/dist/serialization/resources/companies/types/CountCompaniesForAdvancedFilterRequestSortOrderDirection.d.ts +10 -0
- package/dist/serialization/resources/companies/types/CountCompaniesForAdvancedFilterRequestSortOrderDirection.js +41 -0
- package/dist/serialization/resources/companies/types/CountCompaniesForAdvancedFilterResponse.d.ts +15 -0
- package/dist/serialization/resources/companies/types/CountCompaniesForAdvancedFilterResponse.js +46 -0
- package/dist/serialization/resources/companies/types/CountCompaniesForAdvancedFilterResponseParamsSortOrderDirection.d.ts +10 -0
- package/dist/serialization/resources/companies/types/CountCompaniesForAdvancedFilterResponseParamsSortOrderDirection.js +41 -0
- package/dist/serialization/resources/companies/types/ListCompaniesForAdvancedFilterParams.d.ts +26 -0
- package/dist/serialization/resources/companies/types/ListCompaniesForAdvancedFilterParams.js +57 -0
- package/dist/serialization/resources/companies/types/ListCompaniesForAdvancedFilterRequestSortOrderDirection.d.ts +10 -0
- package/dist/serialization/resources/companies/types/ListCompaniesForAdvancedFilterRequestSortOrderDirection.js +41 -0
- package/dist/serialization/resources/companies/types/ListCompaniesForAdvancedFilterResponse.d.ts +15 -0
- package/dist/serialization/resources/companies/types/ListCompaniesForAdvancedFilterResponse.js +46 -0
- package/dist/serialization/resources/companies/types/ListCompaniesForAdvancedFilterResponseParamsSortOrderDirection.d.ts +10 -0
- package/dist/serialization/resources/companies/types/ListCompaniesForAdvancedFilterResponseParamsSortOrderDirection.js +41 -0
- package/dist/serialization/resources/companies/types/index.d.ts +8 -0
- package/dist/serialization/resources/companies/types/index.js +8 -0
- package/dist/serialization/resources/credits/client/index.d.ts +1 -0
- package/dist/serialization/resources/credits/client/index.js +17 -0
- package/dist/serialization/resources/credits/client/requests/CreateBillingCreditRequestBody.d.ts +25 -0
- package/dist/serialization/resources/credits/client/requests/CreateBillingCreditRequestBody.js +56 -0
- package/dist/serialization/resources/credits/client/requests/CreateBillingPlanCreditGrantRequestBody.d.ts +18 -0
- package/dist/serialization/resources/credits/client/requests/CreateBillingPlanCreditGrantRequestBody.js +49 -0
- package/dist/serialization/resources/credits/client/requests/CreateCreditBundleRequestBody.d.ts +23 -0
- package/dist/serialization/resources/credits/client/requests/CreateCreditBundleRequestBody.js +54 -0
- package/dist/serialization/resources/credits/client/requests/UpdateBillingCreditRequestBody.d.ts +24 -0
- package/dist/serialization/resources/credits/client/requests/UpdateBillingCreditRequestBody.js +55 -0
- package/dist/serialization/resources/credits/client/requests/ZeroOutGrantRequestBody.d.ts +13 -0
- package/dist/serialization/resources/credits/client/requests/ZeroOutGrantRequestBody.js +44 -0
- package/dist/serialization/resources/credits/client/requests/index.d.ts +5 -0
- package/dist/serialization/resources/credits/client/requests/index.js +13 -0
- package/dist/serialization/resources/credits/index.d.ts +2 -0
- package/dist/serialization/resources/credits/index.js +18 -0
- package/dist/serialization/resources/credits/types/CountBillingCreditsGrantsParams.d.ts +15 -0
- package/dist/serialization/resources/credits/types/CountBillingCreditsGrantsParams.js +46 -0
- package/dist/serialization/resources/credits/types/CountBillingCreditsGrantsResponse.d.ts +15 -0
- package/dist/serialization/resources/credits/types/CountBillingCreditsGrantsResponse.js +46 -0
- package/dist/serialization/resources/credits/types/CountBillingCreditsParams.d.ts +15 -0
- package/dist/serialization/resources/credits/types/CountBillingCreditsParams.js +46 -0
- package/dist/serialization/resources/credits/types/CountBillingCreditsResponse.d.ts +15 -0
- package/dist/serialization/resources/credits/types/CountBillingCreditsResponse.js +46 -0
- package/dist/serialization/resources/credits/types/CountBillingPlanCreditGrantsParams.d.ts +16 -0
- package/dist/serialization/resources/credits/types/CountBillingPlanCreditGrantsParams.js +47 -0
- package/dist/serialization/resources/credits/types/CountBillingPlanCreditGrantsResponse.d.ts +15 -0
- package/dist/serialization/resources/credits/types/CountBillingPlanCreditGrantsResponse.js +46 -0
- package/dist/serialization/resources/credits/types/CountCreditBundlesParams.d.ts +18 -0
- package/dist/serialization/resources/credits/types/CountCreditBundlesParams.js +49 -0
- package/dist/serialization/resources/credits/types/CountCreditBundlesRequestStatus.d.ts +10 -0
- package/{serialization/resources/billing/types/CreateBillingPriceRequestBodyTierMode.js → dist/serialization/resources/credits/types/CountCreditBundlesRequestStatus.js} +2 -2
- package/dist/serialization/resources/credits/types/CountCreditBundlesResponse.d.ts +15 -0
- package/dist/serialization/resources/credits/types/CountCreditBundlesResponse.js +46 -0
- package/dist/serialization/resources/credits/types/CountCreditBundlesResponseParamsStatus.d.ts +10 -0
- package/dist/serialization/resources/credits/types/CountCreditBundlesResponseParamsStatus.js +41 -0
- package/dist/serialization/resources/credits/types/CreateBillingCreditRequestBodyBurnStrategy.d.ts +10 -0
- package/dist/serialization/resources/credits/types/CreateBillingCreditRequestBodyBurnStrategy.js +46 -0
- package/dist/serialization/resources/credits/types/CreateBillingCreditRequestBodyDefaultRolloverPolicy.d.ts +10 -0
- package/dist/serialization/resources/credits/types/CreateBillingCreditRequestBodyDefaultRolloverPolicy.js +41 -0
- package/dist/serialization/resources/credits/types/CreateBillingCreditResponse.d.ts +14 -0
- package/dist/serialization/resources/credits/types/CreateBillingCreditResponse.js +45 -0
- package/dist/serialization/resources/credits/types/CreateBillingPlanCreditGrantRequestBodyResetCadence.d.ts +10 -0
- package/dist/serialization/resources/credits/types/CreateBillingPlanCreditGrantRequestBodyResetCadence.js +41 -0
- package/dist/serialization/resources/credits/types/CreateBillingPlanCreditGrantRequestBodyResetStart.d.ts +10 -0
- package/dist/serialization/resources/credits/types/CreateBillingPlanCreditGrantRequestBodyResetStart.js +41 -0
- package/dist/serialization/resources/credits/types/CreateBillingPlanCreditGrantResponse.d.ts +14 -0
- package/dist/serialization/resources/credits/types/CreateBillingPlanCreditGrantResponse.js +45 -0
- package/dist/serialization/resources/credits/types/CreateCreditBundleRequestBodyExpiryType.d.ts +10 -0
- package/dist/serialization/resources/credits/types/CreateCreditBundleRequestBodyExpiryType.js +41 -0
- package/dist/serialization/resources/credits/types/CreateCreditBundleRequestBodyStatus.d.ts +10 -0
- package/dist/serialization/resources/credits/types/CreateCreditBundleRequestBodyStatus.js +41 -0
- package/dist/serialization/resources/credits/types/CreateCreditBundleResponse.d.ts +14 -0
- package/dist/serialization/resources/credits/types/CreateCreditBundleResponse.js +45 -0
- package/dist/serialization/resources/credits/types/DeleteBillingPlanCreditGrantResponse.d.ts +14 -0
- package/dist/serialization/resources/credits/types/DeleteBillingPlanCreditGrantResponse.js +45 -0
- package/dist/serialization/resources/credits/types/DeleteCreditBundleResponse.d.ts +14 -0
- package/dist/serialization/resources/credits/types/DeleteCreditBundleResponse.js +45 -0
- package/dist/serialization/resources/credits/types/GetCreditBundleResponse.d.ts +14 -0
- package/dist/serialization/resources/credits/types/GetCreditBundleResponse.js +45 -0
- package/dist/serialization/resources/credits/types/GetSingleBillingCreditResponse.d.ts +14 -0
- package/dist/serialization/resources/credits/types/GetSingleBillingCreditResponse.js +45 -0
- package/dist/serialization/resources/credits/types/ListBillingCreditsParams.d.ts +15 -0
- package/dist/serialization/resources/credits/types/ListBillingCreditsParams.js +46 -0
- package/dist/serialization/resources/credits/types/ListBillingCreditsResponse.d.ts +15 -0
- package/dist/serialization/resources/credits/types/ListBillingCreditsResponse.js +46 -0
- package/dist/serialization/resources/credits/types/ListBillingPlanCreditGrantsParams.d.ts +16 -0
- package/dist/serialization/resources/credits/types/ListBillingPlanCreditGrantsParams.js +47 -0
- package/dist/serialization/resources/credits/types/ListBillingPlanCreditGrantsResponse.d.ts +15 -0
- package/dist/serialization/resources/credits/types/ListBillingPlanCreditGrantsResponse.js +46 -0
- package/dist/serialization/resources/credits/types/ListCompanyGrantsParams.d.ts +18 -0
- package/dist/serialization/resources/credits/types/ListCompanyGrantsParams.js +49 -0
- package/dist/serialization/resources/credits/types/ListCompanyGrantsRequestDir.d.ts +10 -0
- package/dist/serialization/resources/credits/types/ListCompanyGrantsRequestDir.js +41 -0
- package/dist/serialization/resources/credits/types/ListCompanyGrantsRequestOrder.d.ts +10 -0
- package/dist/serialization/resources/credits/types/ListCompanyGrantsRequestOrder.js +41 -0
- package/dist/serialization/resources/credits/types/ListCompanyGrantsResponse.d.ts +15 -0
- package/dist/serialization/resources/credits/types/ListCompanyGrantsResponse.js +46 -0
- package/dist/serialization/resources/credits/types/ListCompanyGrantsResponseParamsDir.d.ts +10 -0
- package/dist/serialization/resources/credits/types/ListCompanyGrantsResponseParamsDir.js +41 -0
- package/dist/serialization/resources/credits/types/ListCompanyGrantsResponseParamsOrder.d.ts +10 -0
- package/dist/serialization/resources/credits/types/ListCompanyGrantsResponseParamsOrder.js +41 -0
- package/dist/serialization/resources/credits/types/ListCreditBundlesParams.d.ts +18 -0
- package/dist/serialization/resources/credits/types/ListCreditBundlesParams.js +49 -0
- package/dist/serialization/resources/credits/types/ListCreditBundlesRequestStatus.d.ts +10 -0
- package/dist/serialization/resources/credits/types/ListCreditBundlesRequestStatus.js +41 -0
- package/dist/serialization/resources/credits/types/ListCreditBundlesResponse.d.ts +15 -0
- package/dist/serialization/resources/credits/types/ListCreditBundlesResponse.js +46 -0
- package/dist/serialization/resources/credits/types/ListCreditBundlesResponseParamsStatus.d.ts +10 -0
- package/dist/serialization/resources/credits/types/ListCreditBundlesResponseParamsStatus.js +41 -0
- package/dist/serialization/resources/credits/types/ListGrantsForCreditParams.d.ts +15 -0
- package/dist/serialization/resources/credits/types/ListGrantsForCreditParams.js +46 -0
- package/dist/serialization/resources/credits/types/ListGrantsForCreditResponse.d.ts +15 -0
- package/dist/serialization/resources/credits/types/ListGrantsForCreditResponse.js +46 -0
- package/dist/serialization/resources/credits/types/UpdateBillingCreditRequestBodyBurnStrategy.d.ts +10 -0
- package/dist/serialization/resources/credits/types/UpdateBillingCreditRequestBodyBurnStrategy.js +46 -0
- package/dist/serialization/resources/credits/types/UpdateBillingCreditRequestBodyDefaultRolloverPolicy.d.ts +10 -0
- package/dist/serialization/resources/credits/types/UpdateBillingCreditRequestBodyDefaultRolloverPolicy.js +41 -0
- package/dist/serialization/resources/credits/types/UpdateBillingCreditResponse.d.ts +14 -0
- package/dist/serialization/resources/credits/types/UpdateBillingCreditResponse.js +45 -0
- package/dist/serialization/resources/credits/types/UpdateCreditBundleResponse.d.ts +14 -0
- package/dist/serialization/resources/credits/types/UpdateCreditBundleResponse.js +45 -0
- package/dist/serialization/resources/credits/types/ZeroOutGrantRequestBodyReason.d.ts +10 -0
- package/dist/serialization/resources/credits/types/ZeroOutGrantRequestBodyReason.js +41 -0
- package/dist/serialization/resources/credits/types/ZeroOutGrantResponse.d.ts +14 -0
- package/dist/serialization/resources/credits/types/ZeroOutGrantResponse.js +45 -0
- package/dist/serialization/resources/credits/types/index.d.ts +45 -0
- package/dist/serialization/resources/credits/types/index.js +61 -0
- package/dist/serialization/resources/entitlements/client/requests/CreateCompanyOverrideRequestBody.d.ts +1 -0
- package/dist/serialization/resources/entitlements/client/requests/CreateCompanyOverrideRequestBody.js +1 -0
- package/dist/serialization/resources/entitlements/client/requests/CreatePlanEntitlementRequestBody.d.ts +7 -1
- package/dist/serialization/resources/entitlements/client/requests/CreatePlanEntitlementRequestBody.js +7 -1
- package/dist/serialization/resources/entitlements/client/requests/UpdateCompanyOverrideRequestBody.d.ts +1 -0
- package/dist/serialization/resources/entitlements/client/requests/UpdateCompanyOverrideRequestBody.js +1 -0
- package/dist/serialization/resources/entitlements/client/requests/UpdatePlanEntitlementRequestBody.d.ts +7 -1
- package/dist/serialization/resources/entitlements/client/requests/UpdatePlanEntitlementRequestBody.js +7 -1
- package/dist/serialization/resources/entitlements/types/CreateCompanyOverrideRequestBodyValueType.d.ts +1 -1
- package/dist/serialization/resources/entitlements/types/CreateCompanyOverrideRequestBodyValueType.js +1 -1
- package/dist/serialization/resources/entitlements/types/CreatePlanEntitlementRequestBodyPriceBehavior.d.ts +10 -0
- package/dist/serialization/resources/entitlements/types/CreatePlanEntitlementRequestBodyPriceBehavior.js +41 -0
- package/dist/serialization/resources/entitlements/types/CreatePlanEntitlementRequestBodyValueType.d.ts +1 -1
- package/dist/serialization/resources/entitlements/types/CreatePlanEntitlementRequestBodyValueType.js +1 -1
- package/dist/serialization/resources/entitlements/types/UpdateCompanyOverrideRequestBodyValueType.d.ts +1 -1
- package/dist/serialization/resources/entitlements/types/UpdateCompanyOverrideRequestBodyValueType.js +1 -1
- package/dist/serialization/resources/entitlements/types/UpdatePlanEntitlementRequestBodyPriceBehavior.d.ts +10 -0
- package/dist/serialization/resources/entitlements/types/UpdatePlanEntitlementRequestBodyPriceBehavior.js +41 -0
- package/dist/serialization/resources/entitlements/types/UpdatePlanEntitlementRequestBodyValueType.d.ts +1 -1
- package/dist/serialization/resources/entitlements/types/UpdatePlanEntitlementRequestBodyValueType.js +1 -1
- package/dist/serialization/resources/entitlements/types/index.d.ts +2 -0
- package/dist/serialization/resources/entitlements/types/index.js +2 -0
- package/dist/serialization/resources/events/types/ListEventsParams.d.ts +2 -1
- package/dist/serialization/resources/events/types/ListEventsParams.js +2 -1
- package/dist/serialization/resources/events/types/ListEventsRequestEventTypesItem.d.ts +10 -0
- package/dist/serialization/resources/events/types/ListEventsRequestEventTypesItem.js +41 -0
- package/dist/serialization/resources/events/types/ListEventsResponseParamsEventTypesItem.d.ts +10 -0
- package/dist/serialization/resources/events/types/ListEventsResponseParamsEventTypesItem.js +41 -0
- package/dist/serialization/resources/events/types/index.d.ts +2 -0
- package/dist/serialization/resources/events/types/index.js +2 -0
- package/dist/serialization/resources/features/client/requests/CreateFeatureRequestBody.d.ts +2 -1
- package/dist/serialization/resources/features/client/requests/CreateFeatureRequestBody.js +2 -1
- package/dist/serialization/resources/features/client/requests/UpdateFeatureRequestBody.d.ts +2 -1
- package/dist/serialization/resources/features/client/requests/UpdateFeatureRequestBody.js +2 -1
- package/dist/serialization/resources/features/types/CountFeaturesParams.d.ts +2 -0
- package/dist/serialization/resources/features/types/CountFeaturesParams.js +2 -0
- package/dist/serialization/resources/features/types/CreateFeatureRequestBodyLifecyclePhase.d.ts +10 -0
- package/dist/serialization/resources/features/types/CreateFeatureRequestBodyLifecyclePhase.js +51 -0
- package/dist/serialization/resources/features/types/ListFeaturesParams.d.ts +2 -0
- package/dist/serialization/resources/features/types/ListFeaturesParams.js +2 -0
- package/dist/serialization/resources/features/types/UpdateFeatureRequestBodyLifecyclePhase.d.ts +10 -0
- package/dist/serialization/resources/features/types/UpdateFeatureRequestBodyLifecyclePhase.js +51 -0
- package/dist/serialization/resources/features/types/index.d.ts +2 -0
- package/dist/serialization/resources/features/types/index.js +2 -0
- package/dist/serialization/resources/index.d.ts +3 -0
- package/dist/serialization/resources/index.js +4 -1
- package/dist/serialization/resources/plangroups/client/requests/CreatePlanGroupRequestBody.d.ts +2 -0
- package/dist/serialization/resources/plangroups/client/requests/CreatePlanGroupRequestBody.js +2 -0
- package/dist/serialization/resources/plangroups/client/requests/UpdatePlanGroupRequestBody.d.ts +2 -0
- package/dist/serialization/resources/plangroups/client/requests/UpdatePlanGroupRequestBody.js +2 -0
- package/dist/serialization/resources/plans/client/requests/UpsertBillingProductRequestBody.d.ts +6 -2
- package/dist/serialization/resources/plans/client/requests/UpsertBillingProductRequestBody.js +6 -2
- package/dist/serialization/resources/plans/types/UpsertBillingProductRequestBodyChargeType.d.ts +10 -0
- package/dist/serialization/resources/plans/types/UpsertBillingProductRequestBodyChargeType.js +41 -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/types/BillingCreditBundleResponseData.d.ts +24 -0
- package/dist/serialization/types/BillingCreditBundleResponseData.js +55 -0
- package/dist/serialization/types/BillingCreditGrantResponseData.d.ts +29 -0
- package/dist/serialization/types/BillingCreditGrantResponseData.js +60 -0
- package/dist/serialization/types/BillingCreditResponseData.d.ts +28 -0
- package/dist/serialization/types/BillingCreditResponseData.js +59 -0
- package/dist/serialization/types/BillingPlanCreditGrantResponseData.d.ts +20 -0
- package/dist/serialization/types/BillingPlanCreditGrantResponseData.js +51 -0
- package/dist/serialization/types/BillingPriceView.d.ts +1 -0
- package/dist/serialization/types/BillingPriceView.js +1 -0
- package/dist/serialization/types/BillingProductPlanResponseData.d.ts +1 -0
- package/dist/serialization/types/BillingProductPlanResponseData.js +1 -0
- package/dist/serialization/types/BillingProductPriceResponseData.d.ts +1 -0
- package/dist/serialization/types/BillingProductPriceResponseData.js +1 -0
- package/dist/serialization/types/ChangeSubscriptionInternalRequestBody.d.ts +3 -0
- package/dist/serialization/types/ChangeSubscriptionInternalRequestBody.js +3 -0
- package/dist/serialization/types/ChangeSubscriptionRequestBody.d.ts +3 -0
- package/dist/serialization/types/ChangeSubscriptionRequestBody.js +3 -0
- package/dist/serialization/types/CheckoutDataResponseData.d.ts +4 -0
- package/dist/serialization/types/CheckoutDataResponseData.js +4 -0
- package/dist/serialization/types/CompanyOverrideResponseData.d.ts +1 -0
- package/dist/serialization/types/CompanyOverrideResponseData.js +1 -0
- package/dist/serialization/types/CompanyPlanDetailResponseData.d.ts +2 -0
- package/dist/serialization/types/CompanyPlanDetailResponseData.js +2 -0
- package/dist/serialization/types/CompanyViewWithFeatureUsageResponseData.d.ts +39 -0
- package/dist/serialization/types/CompanyViewWithFeatureUsageResponseData.js +70 -0
- package/dist/serialization/types/CompatiblePlans.d.ts +13 -0
- package/dist/serialization/types/CompatiblePlans.js +44 -0
- package/dist/serialization/types/CompatiblePlansResponseData.d.ts +13 -0
- package/dist/serialization/types/CompatiblePlansResponseData.js +44 -0
- package/dist/serialization/types/ComponentHydrateResponseData.d.ts +2 -0
- package/dist/serialization/types/ComponentHydrateResponseData.js +2 -0
- package/dist/serialization/types/ComponentPreviewResponseData.d.ts +2 -0
- package/dist/serialization/types/ComponentPreviewResponseData.js +2 -0
- package/dist/serialization/types/CreateEntitlementReqCommon.d.ts +1 -0
- package/dist/serialization/types/CreateEntitlementReqCommon.js +1 -0
- package/dist/serialization/types/CreateEntitlementReqCommonValueType.d.ts +1 -1
- package/dist/serialization/types/CreateEntitlementReqCommonValueType.js +1 -1
- package/dist/serialization/types/CreateFlagRequestBody.d.ts +1 -1
- package/dist/serialization/types/CreateFlagRequestBody.js +1 -1
- package/dist/serialization/types/CreateOrUpdateFlagRequestBody.d.ts +1 -1
- package/dist/serialization/types/CreateOrUpdateFlagRequestBody.js +1 -1
- package/dist/serialization/types/CreatePriceTierRequestBody.d.ts +15 -0
- package/dist/serialization/types/CreatePriceTierRequestBody.js +46 -0
- package/dist/serialization/types/CreditBundlePurchaseResponseData.d.ts +15 -0
- package/dist/serialization/types/CreditBundlePurchaseResponseData.js +46 -0
- package/dist/serialization/types/FeatureUsageDataResponseData.d.ts +20 -0
- package/dist/serialization/types/FeatureUsageDataResponseData.js +51 -0
- package/dist/serialization/types/PlanDetailResponseData.d.ts +1 -0
- package/dist/serialization/types/PlanDetailResponseData.js +1 -0
- package/dist/serialization/types/PlanEntitlementResponseData.d.ts +3 -0
- package/dist/serialization/types/PlanEntitlementResponseData.js +3 -0
- package/dist/serialization/types/PlanGroupPlanDetailResponseData.d.ts +2 -0
- package/dist/serialization/types/PlanGroupPlanDetailResponseData.js +2 -0
- package/dist/serialization/types/PlanGroupResponseData.d.ts +2 -0
- package/dist/serialization/types/PlanGroupResponseData.js +2 -0
- package/dist/serialization/types/PreviewSubscriptionChangeResponseData.d.ts +1 -0
- package/dist/serialization/types/PreviewSubscriptionChangeResponseData.js +1 -0
- package/dist/serialization/types/UpdateCreditBundleRequestBody.d.ts +13 -0
- package/dist/serialization/types/UpdateCreditBundleRequestBody.js +44 -0
- package/dist/serialization/types/UpdateEntitlementReqCommon.d.ts +1 -0
- package/dist/serialization/types/UpdateEntitlementReqCommon.js +1 -0
- package/dist/serialization/types/UpdateEntitlementReqCommonValueType.d.ts +1 -1
- package/dist/serialization/types/UpdateEntitlementReqCommonValueType.js +1 -1
- package/dist/serialization/types/UpsertUserRequestBody.d.ts +2 -2
- package/dist/serialization/types/UpsertUserRequestBody.js +4 -2
- package/dist/serialization/types/UsageBasedEntitlementRequestBody.d.ts +6 -1
- package/dist/serialization/types/UsageBasedEntitlementRequestBody.js +6 -1
- package/dist/serialization/types/UsageBasedEntitlementRequestBodyPriceBehavior.d.ts +10 -0
- package/dist/serialization/types/UsageBasedEntitlementRequestBodyPriceBehavior.js +41 -0
- package/dist/serialization/types/UsageBasedEntitlementResponseData.d.ts +1 -0
- package/dist/serialization/types/UsageBasedEntitlementResponseData.js +1 -0
- package/dist/serialization/types/index.d.ts +12 -0
- package/dist/serialization/types/index.js +12 -0
- package/package.json +2 -2
- package/reference.md +1075 -20
- package/serialization/resources/billing/client/requests/CreateBillingPriceRequestBody.d.ts +2 -2
- package/serialization/resources/billing/client/requests/CreateBillingPriceRequestBody.js +2 -2
- package/serialization/resources/billing/types/CreateBillingPriceRequestBodyTiersMode.d.ts +10 -0
- package/serialization/resources/billing/types/CreateBillingPriceRequestBodyTiersMode.js +41 -0
- package/serialization/resources/billing/types/SearchBillingPricesParams.d.ts +2 -0
- package/serialization/resources/billing/types/SearchBillingPricesParams.js +2 -0
- package/serialization/resources/billing/types/SearchBillingPricesRequestTiersMode.d.ts +10 -0
- package/serialization/resources/billing/types/SearchBillingPricesRequestTiersMode.js +41 -0
- package/serialization/resources/billing/types/SearchBillingPricesResponseParamsTiersMode.d.ts +10 -0
- package/serialization/resources/billing/types/SearchBillingPricesResponseParamsTiersMode.js +41 -0
- package/serialization/resources/billing/types/index.d.ts +3 -1
- package/serialization/resources/billing/types/index.js +3 -1
- package/serialization/resources/companies/types/CountCompaniesForAdvancedFilterParams.d.ts +26 -0
- package/serialization/resources/companies/types/CountCompaniesForAdvancedFilterParams.js +57 -0
- package/serialization/resources/companies/types/CountCompaniesForAdvancedFilterRequestSortOrderDirection.d.ts +10 -0
- package/serialization/resources/companies/types/CountCompaniesForAdvancedFilterRequestSortOrderDirection.js +41 -0
- package/serialization/resources/companies/types/CountCompaniesForAdvancedFilterResponse.d.ts +15 -0
- package/serialization/resources/companies/types/CountCompaniesForAdvancedFilterResponse.js +46 -0
- package/serialization/resources/companies/types/CountCompaniesForAdvancedFilterResponseParamsSortOrderDirection.d.ts +10 -0
- package/serialization/resources/companies/types/CountCompaniesForAdvancedFilterResponseParamsSortOrderDirection.js +41 -0
- package/serialization/resources/companies/types/ListCompaniesForAdvancedFilterParams.d.ts +26 -0
- package/serialization/resources/companies/types/ListCompaniesForAdvancedFilterParams.js +57 -0
- package/serialization/resources/companies/types/ListCompaniesForAdvancedFilterRequestSortOrderDirection.d.ts +10 -0
- package/serialization/resources/companies/types/ListCompaniesForAdvancedFilterRequestSortOrderDirection.js +41 -0
- package/serialization/resources/companies/types/ListCompaniesForAdvancedFilterResponse.d.ts +15 -0
- package/serialization/resources/companies/types/ListCompaniesForAdvancedFilterResponse.js +46 -0
- package/serialization/resources/companies/types/ListCompaniesForAdvancedFilterResponseParamsSortOrderDirection.d.ts +10 -0
- package/serialization/resources/companies/types/ListCompaniesForAdvancedFilterResponseParamsSortOrderDirection.js +41 -0
- package/serialization/resources/companies/types/index.d.ts +8 -0
- package/serialization/resources/companies/types/index.js +8 -0
- package/serialization/resources/credits/client/index.d.ts +1 -0
- package/serialization/resources/credits/client/index.js +17 -0
- package/serialization/resources/credits/client/requests/CreateBillingCreditRequestBody.d.ts +25 -0
- package/serialization/resources/credits/client/requests/CreateBillingCreditRequestBody.js +56 -0
- package/serialization/resources/credits/client/requests/CreateBillingPlanCreditGrantRequestBody.d.ts +18 -0
- package/serialization/resources/credits/client/requests/CreateBillingPlanCreditGrantRequestBody.js +49 -0
- package/serialization/resources/credits/client/requests/CreateCreditBundleRequestBody.d.ts +23 -0
- package/serialization/resources/credits/client/requests/CreateCreditBundleRequestBody.js +54 -0
- package/serialization/resources/credits/client/requests/UpdateBillingCreditRequestBody.d.ts +24 -0
- package/serialization/resources/credits/client/requests/UpdateBillingCreditRequestBody.js +55 -0
- package/serialization/resources/credits/client/requests/ZeroOutGrantRequestBody.d.ts +13 -0
- package/serialization/resources/credits/client/requests/ZeroOutGrantRequestBody.js +44 -0
- package/serialization/resources/credits/client/requests/index.d.ts +5 -0
- package/serialization/resources/credits/client/requests/index.js +13 -0
- package/serialization/resources/credits/index.d.ts +2 -0
- package/serialization/resources/credits/index.js +18 -0
- package/serialization/resources/credits/types/CountBillingCreditsGrantsParams.d.ts +15 -0
- package/serialization/resources/credits/types/CountBillingCreditsGrantsParams.js +46 -0
- package/serialization/resources/credits/types/CountBillingCreditsGrantsResponse.d.ts +15 -0
- package/serialization/resources/credits/types/CountBillingCreditsGrantsResponse.js +46 -0
- package/serialization/resources/credits/types/CountBillingCreditsParams.d.ts +15 -0
- package/serialization/resources/credits/types/CountBillingCreditsParams.js +46 -0
- package/serialization/resources/credits/types/CountBillingCreditsResponse.d.ts +15 -0
- package/serialization/resources/credits/types/CountBillingCreditsResponse.js +46 -0
- package/serialization/resources/credits/types/CountBillingPlanCreditGrantsParams.d.ts +16 -0
- package/serialization/resources/credits/types/CountBillingPlanCreditGrantsParams.js +47 -0
- package/serialization/resources/credits/types/CountBillingPlanCreditGrantsResponse.d.ts +15 -0
- package/serialization/resources/credits/types/CountBillingPlanCreditGrantsResponse.js +46 -0
- package/serialization/resources/credits/types/CountCreditBundlesParams.d.ts +18 -0
- package/serialization/resources/credits/types/CountCreditBundlesParams.js +49 -0
- package/serialization/resources/credits/types/CountCreditBundlesRequestStatus.d.ts +10 -0
- package/serialization/resources/credits/types/CountCreditBundlesRequestStatus.js +41 -0
- package/serialization/resources/credits/types/CountCreditBundlesResponse.d.ts +15 -0
- package/serialization/resources/credits/types/CountCreditBundlesResponse.js +46 -0
- package/serialization/resources/credits/types/CountCreditBundlesResponseParamsStatus.d.ts +10 -0
- package/serialization/resources/credits/types/CountCreditBundlesResponseParamsStatus.js +41 -0
- package/serialization/resources/credits/types/CreateBillingCreditRequestBodyBurnStrategy.d.ts +10 -0
- package/serialization/resources/credits/types/CreateBillingCreditRequestBodyBurnStrategy.js +46 -0
- package/serialization/resources/credits/types/CreateBillingCreditRequestBodyDefaultRolloverPolicy.d.ts +10 -0
- package/serialization/resources/credits/types/CreateBillingCreditRequestBodyDefaultRolloverPolicy.js +41 -0
- package/serialization/resources/credits/types/CreateBillingCreditResponse.d.ts +14 -0
- package/serialization/resources/credits/types/CreateBillingCreditResponse.js +45 -0
- package/serialization/resources/credits/types/CreateBillingPlanCreditGrantRequestBodyResetCadence.d.ts +10 -0
- package/serialization/resources/credits/types/CreateBillingPlanCreditGrantRequestBodyResetCadence.js +41 -0
- package/serialization/resources/credits/types/CreateBillingPlanCreditGrantRequestBodyResetStart.d.ts +10 -0
- package/serialization/resources/credits/types/CreateBillingPlanCreditGrantRequestBodyResetStart.js +41 -0
- package/serialization/resources/credits/types/CreateBillingPlanCreditGrantResponse.d.ts +14 -0
- package/serialization/resources/credits/types/CreateBillingPlanCreditGrantResponse.js +45 -0
- package/serialization/resources/credits/types/CreateCreditBundleRequestBodyExpiryType.d.ts +10 -0
- package/serialization/resources/credits/types/CreateCreditBundleRequestBodyExpiryType.js +41 -0
- package/serialization/resources/credits/types/CreateCreditBundleRequestBodyStatus.d.ts +10 -0
- package/serialization/resources/credits/types/CreateCreditBundleRequestBodyStatus.js +41 -0
- package/serialization/resources/credits/types/CreateCreditBundleResponse.d.ts +14 -0
- package/serialization/resources/credits/types/CreateCreditBundleResponse.js +45 -0
- package/serialization/resources/credits/types/DeleteBillingPlanCreditGrantResponse.d.ts +14 -0
- package/serialization/resources/credits/types/DeleteBillingPlanCreditGrantResponse.js +45 -0
- package/serialization/resources/credits/types/DeleteCreditBundleResponse.d.ts +14 -0
- package/serialization/resources/credits/types/DeleteCreditBundleResponse.js +45 -0
- package/serialization/resources/credits/types/GetCreditBundleResponse.d.ts +14 -0
- package/serialization/resources/credits/types/GetCreditBundleResponse.js +45 -0
- package/serialization/resources/credits/types/GetSingleBillingCreditResponse.d.ts +14 -0
- package/serialization/resources/credits/types/GetSingleBillingCreditResponse.js +45 -0
- package/serialization/resources/credits/types/ListBillingCreditsParams.d.ts +15 -0
- package/serialization/resources/credits/types/ListBillingCreditsParams.js +46 -0
- package/serialization/resources/credits/types/ListBillingCreditsResponse.d.ts +15 -0
- package/serialization/resources/credits/types/ListBillingCreditsResponse.js +46 -0
- package/serialization/resources/credits/types/ListBillingPlanCreditGrantsParams.d.ts +16 -0
- package/serialization/resources/credits/types/ListBillingPlanCreditGrantsParams.js +47 -0
- package/serialization/resources/credits/types/ListBillingPlanCreditGrantsResponse.d.ts +15 -0
- package/serialization/resources/credits/types/ListBillingPlanCreditGrantsResponse.js +46 -0
- package/serialization/resources/credits/types/ListCompanyGrantsParams.d.ts +18 -0
- package/serialization/resources/credits/types/ListCompanyGrantsParams.js +49 -0
- package/serialization/resources/credits/types/ListCompanyGrantsRequestDir.d.ts +10 -0
- package/serialization/resources/credits/types/ListCompanyGrantsRequestDir.js +41 -0
- package/serialization/resources/credits/types/ListCompanyGrantsRequestOrder.d.ts +10 -0
- package/serialization/resources/credits/types/ListCompanyGrantsRequestOrder.js +41 -0
- package/serialization/resources/credits/types/ListCompanyGrantsResponse.d.ts +15 -0
- package/serialization/resources/credits/types/ListCompanyGrantsResponse.js +46 -0
- package/serialization/resources/credits/types/ListCompanyGrantsResponseParamsDir.d.ts +10 -0
- package/serialization/resources/credits/types/ListCompanyGrantsResponseParamsDir.js +41 -0
- package/serialization/resources/credits/types/ListCompanyGrantsResponseParamsOrder.d.ts +10 -0
- package/serialization/resources/credits/types/ListCompanyGrantsResponseParamsOrder.js +41 -0
- package/serialization/resources/credits/types/ListCreditBundlesParams.d.ts +18 -0
- package/serialization/resources/credits/types/ListCreditBundlesParams.js +49 -0
- package/serialization/resources/credits/types/ListCreditBundlesRequestStatus.d.ts +10 -0
- package/serialization/resources/credits/types/ListCreditBundlesRequestStatus.js +41 -0
- package/serialization/resources/credits/types/ListCreditBundlesResponse.d.ts +15 -0
- package/serialization/resources/credits/types/ListCreditBundlesResponse.js +46 -0
- package/serialization/resources/credits/types/ListCreditBundlesResponseParamsStatus.d.ts +10 -0
- package/serialization/resources/credits/types/ListCreditBundlesResponseParamsStatus.js +41 -0
- package/serialization/resources/credits/types/ListGrantsForCreditParams.d.ts +15 -0
- package/serialization/resources/credits/types/ListGrantsForCreditParams.js +46 -0
- package/serialization/resources/credits/types/ListGrantsForCreditResponse.d.ts +15 -0
- package/serialization/resources/credits/types/ListGrantsForCreditResponse.js +46 -0
- package/serialization/resources/credits/types/UpdateBillingCreditRequestBodyBurnStrategy.d.ts +10 -0
- package/serialization/resources/credits/types/UpdateBillingCreditRequestBodyBurnStrategy.js +46 -0
- package/serialization/resources/credits/types/UpdateBillingCreditRequestBodyDefaultRolloverPolicy.d.ts +10 -0
- package/serialization/resources/credits/types/UpdateBillingCreditRequestBodyDefaultRolloverPolicy.js +41 -0
- package/serialization/resources/credits/types/UpdateBillingCreditResponse.d.ts +14 -0
- package/serialization/resources/credits/types/UpdateBillingCreditResponse.js +45 -0
- package/serialization/resources/credits/types/UpdateCreditBundleResponse.d.ts +14 -0
- package/serialization/resources/credits/types/UpdateCreditBundleResponse.js +45 -0
- package/serialization/resources/credits/types/ZeroOutGrantRequestBodyReason.d.ts +10 -0
- package/serialization/resources/credits/types/ZeroOutGrantRequestBodyReason.js +41 -0
- package/serialization/resources/credits/types/ZeroOutGrantResponse.d.ts +14 -0
- package/serialization/resources/credits/types/ZeroOutGrantResponse.js +45 -0
- package/serialization/resources/credits/types/index.d.ts +45 -0
- package/serialization/resources/credits/types/index.js +61 -0
- package/serialization/resources/entitlements/client/requests/CreateCompanyOverrideRequestBody.d.ts +1 -0
- package/serialization/resources/entitlements/client/requests/CreateCompanyOverrideRequestBody.js +1 -0
- package/serialization/resources/entitlements/client/requests/CreatePlanEntitlementRequestBody.d.ts +7 -1
- package/serialization/resources/entitlements/client/requests/CreatePlanEntitlementRequestBody.js +7 -1
- package/serialization/resources/entitlements/client/requests/UpdateCompanyOverrideRequestBody.d.ts +1 -0
- package/serialization/resources/entitlements/client/requests/UpdateCompanyOverrideRequestBody.js +1 -0
- package/serialization/resources/entitlements/client/requests/UpdatePlanEntitlementRequestBody.d.ts +7 -1
- package/serialization/resources/entitlements/client/requests/UpdatePlanEntitlementRequestBody.js +7 -1
- package/serialization/resources/entitlements/types/CreateCompanyOverrideRequestBodyValueType.d.ts +1 -1
- package/serialization/resources/entitlements/types/CreateCompanyOverrideRequestBodyValueType.js +1 -1
- package/serialization/resources/entitlements/types/CreatePlanEntitlementRequestBodyPriceBehavior.d.ts +10 -0
- package/serialization/resources/entitlements/types/CreatePlanEntitlementRequestBodyPriceBehavior.js +41 -0
- package/serialization/resources/entitlements/types/CreatePlanEntitlementRequestBodyValueType.d.ts +1 -1
- package/serialization/resources/entitlements/types/CreatePlanEntitlementRequestBodyValueType.js +1 -1
- package/serialization/resources/entitlements/types/UpdateCompanyOverrideRequestBodyValueType.d.ts +1 -1
- package/serialization/resources/entitlements/types/UpdateCompanyOverrideRequestBodyValueType.js +1 -1
- package/serialization/resources/entitlements/types/UpdatePlanEntitlementRequestBodyPriceBehavior.d.ts +10 -0
- package/serialization/resources/entitlements/types/UpdatePlanEntitlementRequestBodyPriceBehavior.js +41 -0
- package/serialization/resources/entitlements/types/UpdatePlanEntitlementRequestBodyValueType.d.ts +1 -1
- package/serialization/resources/entitlements/types/UpdatePlanEntitlementRequestBodyValueType.js +1 -1
- package/serialization/resources/entitlements/types/index.d.ts +2 -0
- package/serialization/resources/entitlements/types/index.js +2 -0
- package/serialization/resources/events/types/ListEventsParams.d.ts +2 -1
- package/serialization/resources/events/types/ListEventsParams.js +2 -1
- package/serialization/resources/events/types/ListEventsRequestEventTypesItem.d.ts +10 -0
- package/serialization/resources/events/types/ListEventsRequestEventTypesItem.js +41 -0
- package/serialization/resources/events/types/ListEventsResponseParamsEventTypesItem.d.ts +10 -0
- package/serialization/resources/events/types/ListEventsResponseParamsEventTypesItem.js +41 -0
- package/serialization/resources/events/types/index.d.ts +2 -0
- package/serialization/resources/events/types/index.js +2 -0
- package/serialization/resources/features/client/requests/CreateFeatureRequestBody.d.ts +2 -1
- package/serialization/resources/features/client/requests/CreateFeatureRequestBody.js +2 -1
- package/serialization/resources/features/client/requests/UpdateFeatureRequestBody.d.ts +2 -1
- package/serialization/resources/features/client/requests/UpdateFeatureRequestBody.js +2 -1
- package/serialization/resources/features/types/CountFeaturesParams.d.ts +2 -0
- package/serialization/resources/features/types/CountFeaturesParams.js +2 -0
- package/serialization/resources/features/types/CreateFeatureRequestBodyLifecyclePhase.d.ts +10 -0
- package/serialization/resources/features/types/CreateFeatureRequestBodyLifecyclePhase.js +51 -0
- package/serialization/resources/features/types/ListFeaturesParams.d.ts +2 -0
- package/serialization/resources/features/types/ListFeaturesParams.js +2 -0
- package/serialization/resources/features/types/UpdateFeatureRequestBodyLifecyclePhase.d.ts +10 -0
- package/serialization/resources/features/types/UpdateFeatureRequestBodyLifecyclePhase.js +51 -0
- package/serialization/resources/features/types/index.d.ts +2 -0
- package/serialization/resources/features/types/index.js +2 -0
- package/serialization/resources/index.d.ts +3 -0
- package/serialization/resources/index.js +4 -1
- package/serialization/resources/plangroups/client/requests/CreatePlanGroupRequestBody.d.ts +2 -0
- package/serialization/resources/plangroups/client/requests/CreatePlanGroupRequestBody.js +2 -0
- package/serialization/resources/plangroups/client/requests/UpdatePlanGroupRequestBody.d.ts +2 -0
- package/serialization/resources/plangroups/client/requests/UpdatePlanGroupRequestBody.js +2 -0
- package/serialization/resources/plans/client/requests/UpsertBillingProductRequestBody.d.ts +6 -2
- package/serialization/resources/plans/client/requests/UpsertBillingProductRequestBody.js +6 -2
- package/serialization/resources/plans/types/UpsertBillingProductRequestBodyChargeType.d.ts +10 -0
- package/serialization/resources/plans/types/UpsertBillingProductRequestBodyChargeType.js +41 -0
- package/serialization/resources/plans/types/index.d.ts +1 -0
- package/serialization/resources/plans/types/index.js +1 -0
- package/serialization/types/BillingCreditBundleResponseData.d.ts +24 -0
- package/serialization/types/BillingCreditBundleResponseData.js +55 -0
- package/serialization/types/BillingCreditGrantResponseData.d.ts +29 -0
- package/serialization/types/BillingCreditGrantResponseData.js +60 -0
- package/serialization/types/BillingCreditResponseData.d.ts +28 -0
- package/serialization/types/BillingCreditResponseData.js +59 -0
- package/serialization/types/BillingPlanCreditGrantResponseData.d.ts +20 -0
- package/serialization/types/BillingPlanCreditGrantResponseData.js +51 -0
- package/serialization/types/BillingPriceView.d.ts +1 -0
- package/serialization/types/BillingPriceView.js +1 -0
- package/serialization/types/BillingProductPlanResponseData.d.ts +1 -0
- package/serialization/types/BillingProductPlanResponseData.js +1 -0
- package/serialization/types/BillingProductPriceResponseData.d.ts +1 -0
- package/serialization/types/BillingProductPriceResponseData.js +1 -0
- package/serialization/types/ChangeSubscriptionInternalRequestBody.d.ts +3 -0
- package/serialization/types/ChangeSubscriptionInternalRequestBody.js +3 -0
- package/serialization/types/ChangeSubscriptionRequestBody.d.ts +3 -0
- package/serialization/types/ChangeSubscriptionRequestBody.js +3 -0
- package/serialization/types/CheckoutDataResponseData.d.ts +4 -0
- package/serialization/types/CheckoutDataResponseData.js +4 -0
- package/serialization/types/CompanyOverrideResponseData.d.ts +1 -0
- package/serialization/types/CompanyOverrideResponseData.js +1 -0
- package/serialization/types/CompanyPlanDetailResponseData.d.ts +2 -0
- package/serialization/types/CompanyPlanDetailResponseData.js +2 -0
- package/serialization/types/CompanyViewWithFeatureUsageResponseData.d.ts +39 -0
- package/serialization/types/CompanyViewWithFeatureUsageResponseData.js +70 -0
- package/serialization/types/CompatiblePlans.d.ts +13 -0
- package/serialization/types/CompatiblePlans.js +44 -0
- package/serialization/types/CompatiblePlansResponseData.d.ts +13 -0
- package/serialization/types/CompatiblePlansResponseData.js +44 -0
- package/serialization/types/ComponentHydrateResponseData.d.ts +2 -0
- package/serialization/types/ComponentHydrateResponseData.js +2 -0
- package/serialization/types/ComponentPreviewResponseData.d.ts +2 -0
- package/serialization/types/ComponentPreviewResponseData.js +2 -0
- package/serialization/types/CreateEntitlementReqCommon.d.ts +1 -0
- package/serialization/types/CreateEntitlementReqCommon.js +1 -0
- package/serialization/types/CreateEntitlementReqCommonValueType.d.ts +1 -1
- package/serialization/types/CreateEntitlementReqCommonValueType.js +1 -1
- package/serialization/types/CreateFlagRequestBody.d.ts +1 -1
- package/serialization/types/CreateFlagRequestBody.js +1 -1
- package/serialization/types/CreateOrUpdateFlagRequestBody.d.ts +1 -1
- package/serialization/types/CreateOrUpdateFlagRequestBody.js +1 -1
- package/serialization/types/CreatePriceTierRequestBody.d.ts +15 -0
- package/serialization/types/CreatePriceTierRequestBody.js +46 -0
- package/serialization/types/CreditBundlePurchaseResponseData.d.ts +15 -0
- package/serialization/types/CreditBundlePurchaseResponseData.js +46 -0
- package/serialization/types/FeatureUsageDataResponseData.d.ts +20 -0
- package/serialization/types/FeatureUsageDataResponseData.js +51 -0
- package/serialization/types/PlanDetailResponseData.d.ts +1 -0
- package/serialization/types/PlanDetailResponseData.js +1 -0
- package/serialization/types/PlanEntitlementResponseData.d.ts +3 -0
- package/serialization/types/PlanEntitlementResponseData.js +3 -0
- package/serialization/types/PlanGroupPlanDetailResponseData.d.ts +2 -0
- package/serialization/types/PlanGroupPlanDetailResponseData.js +2 -0
- package/serialization/types/PlanGroupResponseData.d.ts +2 -0
- package/serialization/types/PlanGroupResponseData.js +2 -0
- package/serialization/types/PreviewSubscriptionChangeResponseData.d.ts +1 -0
- package/serialization/types/PreviewSubscriptionChangeResponseData.js +1 -0
- package/serialization/types/UpdateCreditBundleRequestBody.d.ts +13 -0
- package/serialization/types/UpdateCreditBundleRequestBody.js +44 -0
- package/serialization/types/UpdateEntitlementReqCommon.d.ts +1 -0
- package/serialization/types/UpdateEntitlementReqCommon.js +1 -0
- package/serialization/types/UpdateEntitlementReqCommonValueType.d.ts +1 -1
- package/serialization/types/UpdateEntitlementReqCommonValueType.js +1 -1
- package/serialization/types/UpsertUserRequestBody.d.ts +2 -2
- package/serialization/types/UpsertUserRequestBody.js +4 -2
- package/serialization/types/UsageBasedEntitlementRequestBody.d.ts +6 -1
- package/serialization/types/UsageBasedEntitlementRequestBody.js +6 -1
- package/serialization/types/UsageBasedEntitlementRequestBodyPriceBehavior.d.ts +10 -0
- package/serialization/types/UsageBasedEntitlementRequestBodyPriceBehavior.js +41 -0
- package/serialization/types/UsageBasedEntitlementResponseData.d.ts +1 -0
- package/serialization/types/UsageBasedEntitlementResponseData.js +1 -0
- package/serialization/types/index.d.ts +12 -0
- package/serialization/types/index.js +12 -0
- package/dist/serialization/resources/billing/types/CreateBillingPriceRequestBodyTierMode.d.ts +0 -10
- package/serialization/resources/billing/types/CreateBillingPriceRequestBodyTierMode.d.ts +0 -10
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../../../index";
|
|
5
|
+
import * as Schematic from "../../../../api/index";
|
|
6
|
+
import * as core from "../../../../core";
|
|
7
|
+
export declare const ZeroOutGrantRequestBodyReason: core.serialization.Schema<serializers.ZeroOutGrantRequestBodyReason.Raw, Schematic.ZeroOutGrantRequestBodyReason>;
|
|
8
|
+
export declare namespace ZeroOutGrantRequestBodyReason {
|
|
9
|
+
type Raw = "plan_change" | "manual";
|
|
10
|
+
}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
22
|
+
var ownKeys = function(o) {
|
|
23
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
24
|
+
var ar = [];
|
|
25
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
26
|
+
return ar;
|
|
27
|
+
};
|
|
28
|
+
return ownKeys(o);
|
|
29
|
+
};
|
|
30
|
+
return function (mod) {
|
|
31
|
+
if (mod && mod.__esModule) return mod;
|
|
32
|
+
var result = {};
|
|
33
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
34
|
+
__setModuleDefault(result, mod);
|
|
35
|
+
return result;
|
|
36
|
+
};
|
|
37
|
+
})();
|
|
38
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
exports.ZeroOutGrantRequestBodyReason = void 0;
|
|
40
|
+
const core = __importStar(require("../../../../core"));
|
|
41
|
+
exports.ZeroOutGrantRequestBodyReason = core.serialization.enum_(["plan_change", "manual"]);
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../../../index";
|
|
5
|
+
import * as Schematic from "../../../../api/index";
|
|
6
|
+
import * as core from "../../../../core";
|
|
7
|
+
import { BillingCreditGrantResponseData } from "../../../types/BillingCreditGrantResponseData";
|
|
8
|
+
export declare const ZeroOutGrantResponse: core.serialization.ObjectSchema<serializers.ZeroOutGrantResponse.Raw, Schematic.ZeroOutGrantResponse>;
|
|
9
|
+
export declare namespace ZeroOutGrantResponse {
|
|
10
|
+
interface Raw {
|
|
11
|
+
data: BillingCreditGrantResponseData.Raw;
|
|
12
|
+
params: Record<string, unknown>;
|
|
13
|
+
}
|
|
14
|
+
}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
22
|
+
var ownKeys = function(o) {
|
|
23
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
24
|
+
var ar = [];
|
|
25
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
26
|
+
return ar;
|
|
27
|
+
};
|
|
28
|
+
return ownKeys(o);
|
|
29
|
+
};
|
|
30
|
+
return function (mod) {
|
|
31
|
+
if (mod && mod.__esModule) return mod;
|
|
32
|
+
var result = {};
|
|
33
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
34
|
+
__setModuleDefault(result, mod);
|
|
35
|
+
return result;
|
|
36
|
+
};
|
|
37
|
+
})();
|
|
38
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
exports.ZeroOutGrantResponse = void 0;
|
|
40
|
+
const core = __importStar(require("../../../../core"));
|
|
41
|
+
const BillingCreditGrantResponseData_1 = require("../../../types/BillingCreditGrantResponseData");
|
|
42
|
+
exports.ZeroOutGrantResponse = core.serialization.object({
|
|
43
|
+
data: BillingCreditGrantResponseData_1.BillingCreditGrantResponseData,
|
|
44
|
+
params: core.serialization.record(core.serialization.string(), core.serialization.unknown()),
|
|
45
|
+
});
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
export * from "./ListBillingCreditsParams";
|
|
2
|
+
export * from "./ListBillingCreditsResponse";
|
|
3
|
+
export * from "./CreateBillingCreditRequestBodyBurnStrategy";
|
|
4
|
+
export * from "./CreateBillingCreditRequestBodyDefaultRolloverPolicy";
|
|
5
|
+
export * from "./CreateBillingCreditResponse";
|
|
6
|
+
export * from "./GetSingleBillingCreditResponse";
|
|
7
|
+
export * from "./UpdateBillingCreditRequestBodyBurnStrategy";
|
|
8
|
+
export * from "./UpdateBillingCreditRequestBodyDefaultRolloverPolicy";
|
|
9
|
+
export * from "./UpdateBillingCreditResponse";
|
|
10
|
+
export * from "./ListCreditBundlesRequestStatus";
|
|
11
|
+
export * from "./ListCreditBundlesResponseParamsStatus";
|
|
12
|
+
export * from "./ListCreditBundlesParams";
|
|
13
|
+
export * from "./ListCreditBundlesResponse";
|
|
14
|
+
export * from "./CreateCreditBundleRequestBodyExpiryType";
|
|
15
|
+
export * from "./CreateCreditBundleRequestBodyStatus";
|
|
16
|
+
export * from "./CreateCreditBundleResponse";
|
|
17
|
+
export * from "./GetCreditBundleResponse";
|
|
18
|
+
export * from "./UpdateCreditBundleResponse";
|
|
19
|
+
export * from "./DeleteCreditBundleResponse";
|
|
20
|
+
export * from "./CountCreditBundlesRequestStatus";
|
|
21
|
+
export * from "./CountCreditBundlesResponseParamsStatus";
|
|
22
|
+
export * from "./CountCreditBundlesParams";
|
|
23
|
+
export * from "./CountCreditBundlesResponse";
|
|
24
|
+
export * from "./CountBillingCreditsParams";
|
|
25
|
+
export * from "./CountBillingCreditsResponse";
|
|
26
|
+
export * from "./ZeroOutGrantRequestBodyReason";
|
|
27
|
+
export * from "./ZeroOutGrantResponse";
|
|
28
|
+
export * from "./ListCompanyGrantsRequestOrder";
|
|
29
|
+
export * from "./ListCompanyGrantsRequestDir";
|
|
30
|
+
export * from "./ListCompanyGrantsResponseParamsDir";
|
|
31
|
+
export * from "./ListCompanyGrantsResponseParamsOrder";
|
|
32
|
+
export * from "./ListCompanyGrantsParams";
|
|
33
|
+
export * from "./ListCompanyGrantsResponse";
|
|
34
|
+
export * from "./CountBillingCreditsGrantsParams";
|
|
35
|
+
export * from "./CountBillingCreditsGrantsResponse";
|
|
36
|
+
export * from "./ListGrantsForCreditParams";
|
|
37
|
+
export * from "./ListGrantsForCreditResponse";
|
|
38
|
+
export * from "./ListBillingPlanCreditGrantsParams";
|
|
39
|
+
export * from "./ListBillingPlanCreditGrantsResponse";
|
|
40
|
+
export * from "./CreateBillingPlanCreditGrantRequestBodyResetCadence";
|
|
41
|
+
export * from "./CreateBillingPlanCreditGrantRequestBodyResetStart";
|
|
42
|
+
export * from "./CreateBillingPlanCreditGrantResponse";
|
|
43
|
+
export * from "./DeleteBillingPlanCreditGrantResponse";
|
|
44
|
+
export * from "./CountBillingPlanCreditGrantsParams";
|
|
45
|
+
export * from "./CountBillingPlanCreditGrantsResponse";
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./ListBillingCreditsParams"), exports);
|
|
18
|
+
__exportStar(require("./ListBillingCreditsResponse"), exports);
|
|
19
|
+
__exportStar(require("./CreateBillingCreditRequestBodyBurnStrategy"), exports);
|
|
20
|
+
__exportStar(require("./CreateBillingCreditRequestBodyDefaultRolloverPolicy"), exports);
|
|
21
|
+
__exportStar(require("./CreateBillingCreditResponse"), exports);
|
|
22
|
+
__exportStar(require("./GetSingleBillingCreditResponse"), exports);
|
|
23
|
+
__exportStar(require("./UpdateBillingCreditRequestBodyBurnStrategy"), exports);
|
|
24
|
+
__exportStar(require("./UpdateBillingCreditRequestBodyDefaultRolloverPolicy"), exports);
|
|
25
|
+
__exportStar(require("./UpdateBillingCreditResponse"), exports);
|
|
26
|
+
__exportStar(require("./ListCreditBundlesRequestStatus"), exports);
|
|
27
|
+
__exportStar(require("./ListCreditBundlesResponseParamsStatus"), exports);
|
|
28
|
+
__exportStar(require("./ListCreditBundlesParams"), exports);
|
|
29
|
+
__exportStar(require("./ListCreditBundlesResponse"), exports);
|
|
30
|
+
__exportStar(require("./CreateCreditBundleRequestBodyExpiryType"), exports);
|
|
31
|
+
__exportStar(require("./CreateCreditBundleRequestBodyStatus"), exports);
|
|
32
|
+
__exportStar(require("./CreateCreditBundleResponse"), exports);
|
|
33
|
+
__exportStar(require("./GetCreditBundleResponse"), exports);
|
|
34
|
+
__exportStar(require("./UpdateCreditBundleResponse"), exports);
|
|
35
|
+
__exportStar(require("./DeleteCreditBundleResponse"), exports);
|
|
36
|
+
__exportStar(require("./CountCreditBundlesRequestStatus"), exports);
|
|
37
|
+
__exportStar(require("./CountCreditBundlesResponseParamsStatus"), exports);
|
|
38
|
+
__exportStar(require("./CountCreditBundlesParams"), exports);
|
|
39
|
+
__exportStar(require("./CountCreditBundlesResponse"), exports);
|
|
40
|
+
__exportStar(require("./CountBillingCreditsParams"), exports);
|
|
41
|
+
__exportStar(require("./CountBillingCreditsResponse"), exports);
|
|
42
|
+
__exportStar(require("./ZeroOutGrantRequestBodyReason"), exports);
|
|
43
|
+
__exportStar(require("./ZeroOutGrantResponse"), exports);
|
|
44
|
+
__exportStar(require("./ListCompanyGrantsRequestOrder"), exports);
|
|
45
|
+
__exportStar(require("./ListCompanyGrantsRequestDir"), exports);
|
|
46
|
+
__exportStar(require("./ListCompanyGrantsResponseParamsDir"), exports);
|
|
47
|
+
__exportStar(require("./ListCompanyGrantsResponseParamsOrder"), exports);
|
|
48
|
+
__exportStar(require("./ListCompanyGrantsParams"), exports);
|
|
49
|
+
__exportStar(require("./ListCompanyGrantsResponse"), exports);
|
|
50
|
+
__exportStar(require("./CountBillingCreditsGrantsParams"), exports);
|
|
51
|
+
__exportStar(require("./CountBillingCreditsGrantsResponse"), exports);
|
|
52
|
+
__exportStar(require("./ListGrantsForCreditParams"), exports);
|
|
53
|
+
__exportStar(require("./ListGrantsForCreditResponse"), exports);
|
|
54
|
+
__exportStar(require("./ListBillingPlanCreditGrantsParams"), exports);
|
|
55
|
+
__exportStar(require("./ListBillingPlanCreditGrantsResponse"), exports);
|
|
56
|
+
__exportStar(require("./CreateBillingPlanCreditGrantRequestBodyResetCadence"), exports);
|
|
57
|
+
__exportStar(require("./CreateBillingPlanCreditGrantRequestBodyResetStart"), exports);
|
|
58
|
+
__exportStar(require("./CreateBillingPlanCreditGrantResponse"), exports);
|
|
59
|
+
__exportStar(require("./DeleteBillingPlanCreditGrantResponse"), exports);
|
|
60
|
+
__exportStar(require("./CountBillingPlanCreditGrantsParams"), exports);
|
|
61
|
+
__exportStar(require("./CountBillingPlanCreditGrantsResponse"), exports);
|
package/serialization/resources/entitlements/client/requests/CreateCompanyOverrideRequestBody.d.ts
CHANGED
|
@@ -16,6 +16,7 @@ export declare namespace CreateCompanyOverrideRequestBody {
|
|
|
16
16
|
metric_period?: CreateCompanyOverrideRequestBodyMetricPeriod.Raw | null;
|
|
17
17
|
metric_period_month_reset?: CreateCompanyOverrideRequestBodyMetricPeriodMonthReset.Raw | null;
|
|
18
18
|
value_bool?: boolean | null;
|
|
19
|
+
value_credit_id?: string | null;
|
|
19
20
|
value_numeric?: number | null;
|
|
20
21
|
value_trait_id?: string | null;
|
|
21
22
|
value_type: CreateCompanyOverrideRequestBodyValueType.Raw;
|
package/serialization/resources/entitlements/client/requests/CreateCompanyOverrideRequestBody.js
CHANGED
|
@@ -48,6 +48,7 @@ exports.CreateCompanyOverrideRequestBody = core.serialization.object({
|
|
|
48
48
|
metricPeriod: core.serialization.property("metric_period", CreateCompanyOverrideRequestBodyMetricPeriod_1.CreateCompanyOverrideRequestBodyMetricPeriod.optional()),
|
|
49
49
|
metricPeriodMonthReset: core.serialization.property("metric_period_month_reset", CreateCompanyOverrideRequestBodyMetricPeriodMonthReset_1.CreateCompanyOverrideRequestBodyMetricPeriodMonthReset.optional()),
|
|
50
50
|
valueBool: core.serialization.property("value_bool", core.serialization.boolean().optional()),
|
|
51
|
+
valueCreditId: core.serialization.property("value_credit_id", core.serialization.string().optional()),
|
|
51
52
|
valueNumeric: core.serialization.property("value_numeric", core.serialization.number().optional()),
|
|
52
53
|
valueTraitId: core.serialization.property("value_trait_id", core.serialization.string().optional()),
|
|
53
54
|
valueType: core.serialization.property("value_type", CreateCompanyOverrideRequestBodyValueType_1.CreateCompanyOverrideRequestBodyValueType),
|
package/serialization/resources/entitlements/client/requests/CreatePlanEntitlementRequestBody.d.ts
CHANGED
|
@@ -6,10 +6,13 @@ import * as Schematic from "../../../../../api/index";
|
|
|
6
6
|
import * as core from "../../../../../core";
|
|
7
7
|
import { CreatePlanEntitlementRequestBodyMetricPeriod } from "../../types/CreatePlanEntitlementRequestBodyMetricPeriod";
|
|
8
8
|
import { CreatePlanEntitlementRequestBodyMetricPeriodMonthReset } from "../../types/CreatePlanEntitlementRequestBodyMetricPeriodMonthReset";
|
|
9
|
+
import { CreatePlanEntitlementRequestBodyPriceBehavior } from "../../types/CreatePlanEntitlementRequestBodyPriceBehavior";
|
|
10
|
+
import { CreatePriceTierRequestBody } from "../../../../types/CreatePriceTierRequestBody";
|
|
9
11
|
import { CreatePlanEntitlementRequestBodyValueType } from "../../types/CreatePlanEntitlementRequestBodyValueType";
|
|
10
12
|
export declare const CreatePlanEntitlementRequestBody: core.serialization.Schema<serializers.CreatePlanEntitlementRequestBody.Raw, Schematic.CreatePlanEntitlementRequestBody>;
|
|
11
13
|
export declare namespace CreatePlanEntitlementRequestBody {
|
|
12
14
|
interface Raw {
|
|
15
|
+
credit_consumption_rate?: number | null;
|
|
13
16
|
currency?: string | null;
|
|
14
17
|
feature_id: string;
|
|
15
18
|
metric_period?: CreatePlanEntitlementRequestBodyMetricPeriod.Raw | null;
|
|
@@ -19,9 +22,12 @@ export declare namespace CreatePlanEntitlementRequestBody {
|
|
|
19
22
|
monthly_unit_price_decimal?: string | null;
|
|
20
23
|
overage_billing_product_id?: string | null;
|
|
21
24
|
plan_id: string;
|
|
22
|
-
price_behavior?:
|
|
25
|
+
price_behavior?: CreatePlanEntitlementRequestBodyPriceBehavior.Raw | null;
|
|
26
|
+
price_tiers: CreatePriceTierRequestBody.Raw[];
|
|
23
27
|
soft_limit?: number | null;
|
|
28
|
+
tier_mode: string;
|
|
24
29
|
value_bool?: boolean | null;
|
|
30
|
+
value_credit_id?: string | null;
|
|
25
31
|
value_numeric?: number | null;
|
|
26
32
|
value_trait_id?: string | null;
|
|
27
33
|
value_type: CreatePlanEntitlementRequestBodyValueType.Raw;
|
package/serialization/resources/entitlements/client/requests/CreatePlanEntitlementRequestBody.js
CHANGED
|
@@ -40,8 +40,11 @@ exports.CreatePlanEntitlementRequestBody = void 0;
|
|
|
40
40
|
const core = __importStar(require("../../../../../core"));
|
|
41
41
|
const CreatePlanEntitlementRequestBodyMetricPeriod_1 = require("../../types/CreatePlanEntitlementRequestBodyMetricPeriod");
|
|
42
42
|
const CreatePlanEntitlementRequestBodyMetricPeriodMonthReset_1 = require("../../types/CreatePlanEntitlementRequestBodyMetricPeriodMonthReset");
|
|
43
|
+
const CreatePlanEntitlementRequestBodyPriceBehavior_1 = require("../../types/CreatePlanEntitlementRequestBodyPriceBehavior");
|
|
44
|
+
const CreatePriceTierRequestBody_1 = require("../../../../types/CreatePriceTierRequestBody");
|
|
43
45
|
const CreatePlanEntitlementRequestBodyValueType_1 = require("../../types/CreatePlanEntitlementRequestBodyValueType");
|
|
44
46
|
exports.CreatePlanEntitlementRequestBody = core.serialization.object({
|
|
47
|
+
creditConsumptionRate: core.serialization.property("credit_consumption_rate", core.serialization.number().optional()),
|
|
45
48
|
currency: core.serialization.string().optional(),
|
|
46
49
|
featureId: core.serialization.property("feature_id", core.serialization.string()),
|
|
47
50
|
metricPeriod: core.serialization.property("metric_period", CreatePlanEntitlementRequestBodyMetricPeriod_1.CreatePlanEntitlementRequestBodyMetricPeriod.optional()),
|
|
@@ -51,9 +54,12 @@ exports.CreatePlanEntitlementRequestBody = core.serialization.object({
|
|
|
51
54
|
monthlyUnitPriceDecimal: core.serialization.property("monthly_unit_price_decimal", core.serialization.string().optional()),
|
|
52
55
|
overageBillingProductId: core.serialization.property("overage_billing_product_id", core.serialization.string().optional()),
|
|
53
56
|
planId: core.serialization.property("plan_id", core.serialization.string()),
|
|
54
|
-
priceBehavior: core.serialization.property("price_behavior",
|
|
57
|
+
priceBehavior: core.serialization.property("price_behavior", CreatePlanEntitlementRequestBodyPriceBehavior_1.CreatePlanEntitlementRequestBodyPriceBehavior.optional()),
|
|
58
|
+
priceTiers: core.serialization.property("price_tiers", core.serialization.list(CreatePriceTierRequestBody_1.CreatePriceTierRequestBody)),
|
|
55
59
|
softLimit: core.serialization.property("soft_limit", core.serialization.number().optional()),
|
|
60
|
+
tierMode: core.serialization.property("tier_mode", core.serialization.string()),
|
|
56
61
|
valueBool: core.serialization.property("value_bool", core.serialization.boolean().optional()),
|
|
62
|
+
valueCreditId: core.serialization.property("value_credit_id", core.serialization.string().optional()),
|
|
57
63
|
valueNumeric: core.serialization.property("value_numeric", core.serialization.number().optional()),
|
|
58
64
|
valueTraitId: core.serialization.property("value_trait_id", core.serialization.string().optional()),
|
|
59
65
|
valueType: core.serialization.property("value_type", CreatePlanEntitlementRequestBodyValueType_1.CreatePlanEntitlementRequestBodyValueType),
|
package/serialization/resources/entitlements/client/requests/UpdateCompanyOverrideRequestBody.d.ts
CHANGED
|
@@ -14,6 +14,7 @@ export declare namespace UpdateCompanyOverrideRequestBody {
|
|
|
14
14
|
metric_period?: UpdateCompanyOverrideRequestBodyMetricPeriod.Raw | null;
|
|
15
15
|
metric_period_month_reset?: UpdateCompanyOverrideRequestBodyMetricPeriodMonthReset.Raw | null;
|
|
16
16
|
value_bool?: boolean | null;
|
|
17
|
+
value_credit_id?: string | null;
|
|
17
18
|
value_numeric?: number | null;
|
|
18
19
|
value_trait_id?: string | null;
|
|
19
20
|
value_type: UpdateCompanyOverrideRequestBodyValueType.Raw;
|
package/serialization/resources/entitlements/client/requests/UpdateCompanyOverrideRequestBody.js
CHANGED
|
@@ -46,6 +46,7 @@ exports.UpdateCompanyOverrideRequestBody = core.serialization.object({
|
|
|
46
46
|
metricPeriod: core.serialization.property("metric_period", UpdateCompanyOverrideRequestBodyMetricPeriod_1.UpdateCompanyOverrideRequestBodyMetricPeriod.optional()),
|
|
47
47
|
metricPeriodMonthReset: core.serialization.property("metric_period_month_reset", UpdateCompanyOverrideRequestBodyMetricPeriodMonthReset_1.UpdateCompanyOverrideRequestBodyMetricPeriodMonthReset.optional()),
|
|
48
48
|
valueBool: core.serialization.property("value_bool", core.serialization.boolean().optional()),
|
|
49
|
+
valueCreditId: core.serialization.property("value_credit_id", core.serialization.string().optional()),
|
|
49
50
|
valueNumeric: core.serialization.property("value_numeric", core.serialization.number().optional()),
|
|
50
51
|
valueTraitId: core.serialization.property("value_trait_id", core.serialization.string().optional()),
|
|
51
52
|
valueType: core.serialization.property("value_type", UpdateCompanyOverrideRequestBodyValueType_1.UpdateCompanyOverrideRequestBodyValueType),
|
package/serialization/resources/entitlements/client/requests/UpdatePlanEntitlementRequestBody.d.ts
CHANGED
|
@@ -6,10 +6,13 @@ import * as Schematic from "../../../../../api/index";
|
|
|
6
6
|
import * as core from "../../../../../core";
|
|
7
7
|
import { UpdatePlanEntitlementRequestBodyMetricPeriod } from "../../types/UpdatePlanEntitlementRequestBodyMetricPeriod";
|
|
8
8
|
import { UpdatePlanEntitlementRequestBodyMetricPeriodMonthReset } from "../../types/UpdatePlanEntitlementRequestBodyMetricPeriodMonthReset";
|
|
9
|
+
import { UpdatePlanEntitlementRequestBodyPriceBehavior } from "../../types/UpdatePlanEntitlementRequestBodyPriceBehavior";
|
|
10
|
+
import { CreatePriceTierRequestBody } from "../../../../types/CreatePriceTierRequestBody";
|
|
9
11
|
import { UpdatePlanEntitlementRequestBodyValueType } from "../../types/UpdatePlanEntitlementRequestBodyValueType";
|
|
10
12
|
export declare const UpdatePlanEntitlementRequestBody: core.serialization.Schema<serializers.UpdatePlanEntitlementRequestBody.Raw, Schematic.UpdatePlanEntitlementRequestBody>;
|
|
11
13
|
export declare namespace UpdatePlanEntitlementRequestBody {
|
|
12
14
|
interface Raw {
|
|
15
|
+
credit_consumption_rate?: number | null;
|
|
13
16
|
currency?: string | null;
|
|
14
17
|
metric_period?: UpdatePlanEntitlementRequestBodyMetricPeriod.Raw | null;
|
|
15
18
|
metric_period_month_reset?: UpdatePlanEntitlementRequestBodyMetricPeriodMonthReset.Raw | null;
|
|
@@ -17,9 +20,12 @@ export declare namespace UpdatePlanEntitlementRequestBody {
|
|
|
17
20
|
monthly_unit_price?: number | null;
|
|
18
21
|
monthly_unit_price_decimal?: string | null;
|
|
19
22
|
overage_billing_product_id?: string | null;
|
|
20
|
-
price_behavior?:
|
|
23
|
+
price_behavior?: UpdatePlanEntitlementRequestBodyPriceBehavior.Raw | null;
|
|
24
|
+
price_tiers: CreatePriceTierRequestBody.Raw[];
|
|
21
25
|
soft_limit?: number | null;
|
|
26
|
+
tier_mode: string;
|
|
22
27
|
value_bool?: boolean | null;
|
|
28
|
+
value_credit_id?: string | null;
|
|
23
29
|
value_numeric?: number | null;
|
|
24
30
|
value_trait_id?: string | null;
|
|
25
31
|
value_type: UpdatePlanEntitlementRequestBodyValueType.Raw;
|
package/serialization/resources/entitlements/client/requests/UpdatePlanEntitlementRequestBody.js
CHANGED
|
@@ -40,8 +40,11 @@ exports.UpdatePlanEntitlementRequestBody = void 0;
|
|
|
40
40
|
const core = __importStar(require("../../../../../core"));
|
|
41
41
|
const UpdatePlanEntitlementRequestBodyMetricPeriod_1 = require("../../types/UpdatePlanEntitlementRequestBodyMetricPeriod");
|
|
42
42
|
const UpdatePlanEntitlementRequestBodyMetricPeriodMonthReset_1 = require("../../types/UpdatePlanEntitlementRequestBodyMetricPeriodMonthReset");
|
|
43
|
+
const UpdatePlanEntitlementRequestBodyPriceBehavior_1 = require("../../types/UpdatePlanEntitlementRequestBodyPriceBehavior");
|
|
44
|
+
const CreatePriceTierRequestBody_1 = require("../../../../types/CreatePriceTierRequestBody");
|
|
43
45
|
const UpdatePlanEntitlementRequestBodyValueType_1 = require("../../types/UpdatePlanEntitlementRequestBodyValueType");
|
|
44
46
|
exports.UpdatePlanEntitlementRequestBody = core.serialization.object({
|
|
47
|
+
creditConsumptionRate: core.serialization.property("credit_consumption_rate", core.serialization.number().optional()),
|
|
45
48
|
currency: core.serialization.string().optional(),
|
|
46
49
|
metricPeriod: core.serialization.property("metric_period", UpdatePlanEntitlementRequestBodyMetricPeriod_1.UpdatePlanEntitlementRequestBodyMetricPeriod.optional()),
|
|
47
50
|
metricPeriodMonthReset: core.serialization.property("metric_period_month_reset", UpdatePlanEntitlementRequestBodyMetricPeriodMonthReset_1.UpdatePlanEntitlementRequestBodyMetricPeriodMonthReset.optional()),
|
|
@@ -49,9 +52,12 @@ exports.UpdatePlanEntitlementRequestBody = core.serialization.object({
|
|
|
49
52
|
monthlyUnitPrice: core.serialization.property("monthly_unit_price", core.serialization.number().optional()),
|
|
50
53
|
monthlyUnitPriceDecimal: core.serialization.property("monthly_unit_price_decimal", core.serialization.string().optional()),
|
|
51
54
|
overageBillingProductId: core.serialization.property("overage_billing_product_id", core.serialization.string().optional()),
|
|
52
|
-
priceBehavior: core.serialization.property("price_behavior",
|
|
55
|
+
priceBehavior: core.serialization.property("price_behavior", UpdatePlanEntitlementRequestBodyPriceBehavior_1.UpdatePlanEntitlementRequestBodyPriceBehavior.optional()),
|
|
56
|
+
priceTiers: core.serialization.property("price_tiers", core.serialization.list(CreatePriceTierRequestBody_1.CreatePriceTierRequestBody)),
|
|
53
57
|
softLimit: core.serialization.property("soft_limit", core.serialization.number().optional()),
|
|
58
|
+
tierMode: core.serialization.property("tier_mode", core.serialization.string()),
|
|
54
59
|
valueBool: core.serialization.property("value_bool", core.serialization.boolean().optional()),
|
|
60
|
+
valueCreditId: core.serialization.property("value_credit_id", core.serialization.string().optional()),
|
|
55
61
|
valueNumeric: core.serialization.property("value_numeric", core.serialization.number().optional()),
|
|
56
62
|
valueTraitId: core.serialization.property("value_trait_id", core.serialization.string().optional()),
|
|
57
63
|
valueType: core.serialization.property("value_type", UpdatePlanEntitlementRequestBodyValueType_1.UpdatePlanEntitlementRequestBodyValueType),
|
package/serialization/resources/entitlements/types/CreateCompanyOverrideRequestBodyValueType.d.ts
CHANGED
|
@@ -6,5 +6,5 @@ import * as Schematic from "../../../../api/index";
|
|
|
6
6
|
import * as core from "../../../../core";
|
|
7
7
|
export declare const CreateCompanyOverrideRequestBodyValueType: core.serialization.Schema<serializers.CreateCompanyOverrideRequestBodyValueType.Raw, Schematic.CreateCompanyOverrideRequestBodyValueType>;
|
|
8
8
|
export declare namespace CreateCompanyOverrideRequestBodyValueType {
|
|
9
|
-
type Raw = "boolean" | "numeric" | "trait" | "unlimited";
|
|
9
|
+
type Raw = "boolean" | "credit" | "numeric" | "trait" | "unlimited";
|
|
10
10
|
}
|
package/serialization/resources/entitlements/types/CreateCompanyOverrideRequestBodyValueType.js
CHANGED
|
@@ -38,4 +38,4 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
38
38
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
39
|
exports.CreateCompanyOverrideRequestBodyValueType = void 0;
|
|
40
40
|
const core = __importStar(require("../../../../core"));
|
|
41
|
-
exports.CreateCompanyOverrideRequestBodyValueType = core.serialization.enum_(["boolean", "numeric", "trait", "unlimited"]);
|
|
41
|
+
exports.CreateCompanyOverrideRequestBodyValueType = core.serialization.enum_(["boolean", "credit", "numeric", "trait", "unlimited"]);
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../../../index";
|
|
5
|
+
import * as Schematic from "../../../../api/index";
|
|
6
|
+
import * as core from "../../../../core";
|
|
7
|
+
export declare const CreatePlanEntitlementRequestBodyPriceBehavior: core.serialization.Schema<serializers.CreatePlanEntitlementRequestBodyPriceBehavior.Raw, Schematic.CreatePlanEntitlementRequestBodyPriceBehavior>;
|
|
8
|
+
export declare namespace CreatePlanEntitlementRequestBodyPriceBehavior {
|
|
9
|
+
type Raw = "pay_as_you_go" | "pay_in_advance" | "overage" | "credit_burndown" | "tier";
|
|
10
|
+
}
|
package/serialization/resources/entitlements/types/CreatePlanEntitlementRequestBodyPriceBehavior.js
ADDED
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
22
|
+
var ownKeys = function(o) {
|
|
23
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
24
|
+
var ar = [];
|
|
25
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
26
|
+
return ar;
|
|
27
|
+
};
|
|
28
|
+
return ownKeys(o);
|
|
29
|
+
};
|
|
30
|
+
return function (mod) {
|
|
31
|
+
if (mod && mod.__esModule) return mod;
|
|
32
|
+
var result = {};
|
|
33
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
34
|
+
__setModuleDefault(result, mod);
|
|
35
|
+
return result;
|
|
36
|
+
};
|
|
37
|
+
})();
|
|
38
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
exports.CreatePlanEntitlementRequestBodyPriceBehavior = void 0;
|
|
40
|
+
const core = __importStar(require("../../../../core"));
|
|
41
|
+
exports.CreatePlanEntitlementRequestBodyPriceBehavior = core.serialization.enum_(["pay_as_you_go", "pay_in_advance", "overage", "credit_burndown", "tier"]);
|
package/serialization/resources/entitlements/types/CreatePlanEntitlementRequestBodyValueType.d.ts
CHANGED
|
@@ -6,5 +6,5 @@ import * as Schematic from "../../../../api/index";
|
|
|
6
6
|
import * as core from "../../../../core";
|
|
7
7
|
export declare const CreatePlanEntitlementRequestBodyValueType: core.serialization.Schema<serializers.CreatePlanEntitlementRequestBodyValueType.Raw, Schematic.CreatePlanEntitlementRequestBodyValueType>;
|
|
8
8
|
export declare namespace CreatePlanEntitlementRequestBodyValueType {
|
|
9
|
-
type Raw = "boolean" | "numeric" | "trait" | "unlimited";
|
|
9
|
+
type Raw = "boolean" | "credit" | "numeric" | "trait" | "unlimited";
|
|
10
10
|
}
|
package/serialization/resources/entitlements/types/CreatePlanEntitlementRequestBodyValueType.js
CHANGED
|
@@ -38,4 +38,4 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
38
38
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
39
|
exports.CreatePlanEntitlementRequestBodyValueType = void 0;
|
|
40
40
|
const core = __importStar(require("../../../../core"));
|
|
41
|
-
exports.CreatePlanEntitlementRequestBodyValueType = core.serialization.enum_(["boolean", "numeric", "trait", "unlimited"]);
|
|
41
|
+
exports.CreatePlanEntitlementRequestBodyValueType = core.serialization.enum_(["boolean", "credit", "numeric", "trait", "unlimited"]);
|
package/serialization/resources/entitlements/types/UpdateCompanyOverrideRequestBodyValueType.d.ts
CHANGED
|
@@ -6,5 +6,5 @@ import * as Schematic from "../../../../api/index";
|
|
|
6
6
|
import * as core from "../../../../core";
|
|
7
7
|
export declare const UpdateCompanyOverrideRequestBodyValueType: core.serialization.Schema<serializers.UpdateCompanyOverrideRequestBodyValueType.Raw, Schematic.UpdateCompanyOverrideRequestBodyValueType>;
|
|
8
8
|
export declare namespace UpdateCompanyOverrideRequestBodyValueType {
|
|
9
|
-
type Raw = "boolean" | "numeric" | "trait" | "unlimited";
|
|
9
|
+
type Raw = "boolean" | "credit" | "numeric" | "trait" | "unlimited";
|
|
10
10
|
}
|
package/serialization/resources/entitlements/types/UpdateCompanyOverrideRequestBodyValueType.js
CHANGED
|
@@ -38,4 +38,4 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
38
38
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
39
|
exports.UpdateCompanyOverrideRequestBodyValueType = void 0;
|
|
40
40
|
const core = __importStar(require("../../../../core"));
|
|
41
|
-
exports.UpdateCompanyOverrideRequestBodyValueType = core.serialization.enum_(["boolean", "numeric", "trait", "unlimited"]);
|
|
41
|
+
exports.UpdateCompanyOverrideRequestBodyValueType = core.serialization.enum_(["boolean", "credit", "numeric", "trait", "unlimited"]);
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../../../index";
|
|
5
|
+
import * as Schematic from "../../../../api/index";
|
|
6
|
+
import * as core from "../../../../core";
|
|
7
|
+
export declare const UpdatePlanEntitlementRequestBodyPriceBehavior: core.serialization.Schema<serializers.UpdatePlanEntitlementRequestBodyPriceBehavior.Raw, Schematic.UpdatePlanEntitlementRequestBodyPriceBehavior>;
|
|
8
|
+
export declare namespace UpdatePlanEntitlementRequestBodyPriceBehavior {
|
|
9
|
+
type Raw = "pay_as_you_go" | "pay_in_advance" | "overage" | "credit_burndown" | "tier";
|
|
10
|
+
}
|
package/serialization/resources/entitlements/types/UpdatePlanEntitlementRequestBodyPriceBehavior.js
ADDED
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
22
|
+
var ownKeys = function(o) {
|
|
23
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
24
|
+
var ar = [];
|
|
25
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
26
|
+
return ar;
|
|
27
|
+
};
|
|
28
|
+
return ownKeys(o);
|
|
29
|
+
};
|
|
30
|
+
return function (mod) {
|
|
31
|
+
if (mod && mod.__esModule) return mod;
|
|
32
|
+
var result = {};
|
|
33
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
34
|
+
__setModuleDefault(result, mod);
|
|
35
|
+
return result;
|
|
36
|
+
};
|
|
37
|
+
})();
|
|
38
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
exports.UpdatePlanEntitlementRequestBodyPriceBehavior = void 0;
|
|
40
|
+
const core = __importStar(require("../../../../core"));
|
|
41
|
+
exports.UpdatePlanEntitlementRequestBodyPriceBehavior = core.serialization.enum_(["pay_as_you_go", "pay_in_advance", "overage", "credit_burndown", "tier"]);
|
package/serialization/resources/entitlements/types/UpdatePlanEntitlementRequestBodyValueType.d.ts
CHANGED
|
@@ -6,5 +6,5 @@ import * as Schematic from "../../../../api/index";
|
|
|
6
6
|
import * as core from "../../../../core";
|
|
7
7
|
export declare const UpdatePlanEntitlementRequestBodyValueType: core.serialization.Schema<serializers.UpdatePlanEntitlementRequestBodyValueType.Raw, Schematic.UpdatePlanEntitlementRequestBodyValueType>;
|
|
8
8
|
export declare namespace UpdatePlanEntitlementRequestBodyValueType {
|
|
9
|
-
type Raw = "boolean" | "numeric" | "trait" | "unlimited";
|
|
9
|
+
type Raw = "boolean" | "credit" | "numeric" | "trait" | "unlimited";
|
|
10
10
|
}
|
package/serialization/resources/entitlements/types/UpdatePlanEntitlementRequestBodyValueType.js
CHANGED
|
@@ -38,4 +38,4 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
38
38
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
39
|
exports.UpdatePlanEntitlementRequestBodyValueType = void 0;
|
|
40
40
|
const core = __importStar(require("../../../../core"));
|
|
41
|
-
exports.UpdatePlanEntitlementRequestBodyValueType = core.serialization.enum_(["boolean", "numeric", "trait", "unlimited"]);
|
|
41
|
+
exports.UpdatePlanEntitlementRequestBodyValueType = core.serialization.enum_(["boolean", "credit", "numeric", "trait", "unlimited"]);
|
|
@@ -28,11 +28,13 @@ export * from "./ListPlanEntitlementsParams";
|
|
|
28
28
|
export * from "./ListPlanEntitlementsResponse";
|
|
29
29
|
export * from "./CreatePlanEntitlementRequestBodyMetricPeriod";
|
|
30
30
|
export * from "./CreatePlanEntitlementRequestBodyMetricPeriodMonthReset";
|
|
31
|
+
export * from "./CreatePlanEntitlementRequestBodyPriceBehavior";
|
|
31
32
|
export * from "./CreatePlanEntitlementRequestBodyValueType";
|
|
32
33
|
export * from "./CreatePlanEntitlementResponse";
|
|
33
34
|
export * from "./GetPlanEntitlementResponse";
|
|
34
35
|
export * from "./UpdatePlanEntitlementRequestBodyMetricPeriod";
|
|
35
36
|
export * from "./UpdatePlanEntitlementRequestBodyMetricPeriodMonthReset";
|
|
37
|
+
export * from "./UpdatePlanEntitlementRequestBodyPriceBehavior";
|
|
36
38
|
export * from "./UpdatePlanEntitlementRequestBodyValueType";
|
|
37
39
|
export * from "./UpdatePlanEntitlementResponse";
|
|
38
40
|
export * from "./DeletePlanEntitlementResponse";
|
|
@@ -44,11 +44,13 @@ __exportStar(require("./ListPlanEntitlementsParams"), exports);
|
|
|
44
44
|
__exportStar(require("./ListPlanEntitlementsResponse"), exports);
|
|
45
45
|
__exportStar(require("./CreatePlanEntitlementRequestBodyMetricPeriod"), exports);
|
|
46
46
|
__exportStar(require("./CreatePlanEntitlementRequestBodyMetricPeriodMonthReset"), exports);
|
|
47
|
+
__exportStar(require("./CreatePlanEntitlementRequestBodyPriceBehavior"), exports);
|
|
47
48
|
__exportStar(require("./CreatePlanEntitlementRequestBodyValueType"), exports);
|
|
48
49
|
__exportStar(require("./CreatePlanEntitlementResponse"), exports);
|
|
49
50
|
__exportStar(require("./GetPlanEntitlementResponse"), exports);
|
|
50
51
|
__exportStar(require("./UpdatePlanEntitlementRequestBodyMetricPeriod"), exports);
|
|
51
52
|
__exportStar(require("./UpdatePlanEntitlementRequestBodyMetricPeriodMonthReset"), exports);
|
|
53
|
+
__exportStar(require("./UpdatePlanEntitlementRequestBodyPriceBehavior"), exports);
|
|
52
54
|
__exportStar(require("./UpdatePlanEntitlementRequestBodyValueType"), exports);
|
|
53
55
|
__exportStar(require("./UpdatePlanEntitlementResponse"), exports);
|
|
54
56
|
__exportStar(require("./DeletePlanEntitlementResponse"), exports);
|
|
@@ -4,12 +4,13 @@
|
|
|
4
4
|
import * as serializers from "../../../index";
|
|
5
5
|
import * as Schematic from "../../../../api/index";
|
|
6
6
|
import * as core from "../../../../core";
|
|
7
|
+
import { ListEventsResponseParamsEventTypesItem } from "./ListEventsResponseParamsEventTypesItem";
|
|
7
8
|
export declare const ListEventsParams: core.serialization.ObjectSchema<serializers.ListEventsParams.Raw, Schematic.ListEventsParams>;
|
|
8
9
|
export declare namespace ListEventsParams {
|
|
9
10
|
interface Raw {
|
|
10
11
|
company_id?: string | null;
|
|
11
12
|
event_subtype?: string | null;
|
|
12
|
-
event_types?:
|
|
13
|
+
event_types?: ListEventsResponseParamsEventTypesItem.Raw[] | null;
|
|
13
14
|
flag_id?: string | null;
|
|
14
15
|
limit?: number | null;
|
|
15
16
|
offset?: number | null;
|
|
@@ -38,10 +38,11 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
38
38
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
39
|
exports.ListEventsParams = void 0;
|
|
40
40
|
const core = __importStar(require("../../../../core"));
|
|
41
|
+
const ListEventsResponseParamsEventTypesItem_1 = require("./ListEventsResponseParamsEventTypesItem");
|
|
41
42
|
exports.ListEventsParams = core.serialization.object({
|
|
42
43
|
companyId: core.serialization.property("company_id", core.serialization.string().optional()),
|
|
43
44
|
eventSubtype: core.serialization.property("event_subtype", core.serialization.string().optional()),
|
|
44
|
-
eventTypes: core.serialization.property("event_types", core.serialization.list(
|
|
45
|
+
eventTypes: core.serialization.property("event_types", core.serialization.list(ListEventsResponseParamsEventTypesItem_1.ListEventsResponseParamsEventTypesItem).optional()),
|
|
45
46
|
flagId: core.serialization.property("flag_id", core.serialization.string().optional()),
|
|
46
47
|
limit: core.serialization.number().optional(),
|
|
47
48
|
offset: core.serialization.number().optional(),
|