@schematichq/schematic-typescript-node 1.1.10 → 1.1.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Client.d.ts +6 -0
- package/Client.js +30 -20
- package/README.md +2 -0
- package/api/errors/BadRequestError.d.ts +2 -1
- package/api/errors/BadRequestError.js +2 -1
- package/api/errors/ForbiddenError.d.ts +2 -1
- package/api/errors/ForbiddenError.js +2 -1
- package/api/errors/InternalServerError.d.ts +2 -1
- package/api/errors/InternalServerError.js +2 -1
- package/api/errors/NotFoundError.d.ts +2 -1
- package/api/errors/NotFoundError.js +2 -1
- package/api/errors/UnauthorizedError.d.ts +2 -1
- package/api/errors/UnauthorizedError.js +2 -1
- package/api/errors/index.d.ts +1 -1
- package/api/errors/index.js +1 -1
- package/api/resources/accesstokens/client/Client.d.ts +4 -3
- package/api/resources/accesstokens/client/Client.js +33 -16
- package/api/resources/accesstokens/client/requests/IssueTemporaryAccessTokenRequestBody.d.ts +1 -3
- package/api/resources/accounts/client/Client.d.ts +51 -14
- package/api/resources/accounts/client/Client.js +489 -175
- package/api/resources/accounts/types/QuickstartResponse.d.ts +9 -0
- package/api/resources/accounts/types/index.d.ts +1 -0
- package/api/resources/accounts/types/index.js +1 -0
- package/api/resources/billing/client/Client.d.ts +64 -26
- package/api/resources/billing/client/Client.js +657 -260
- package/api/resources/billing/client/requests/CountBillingProductsRequest.d.ts +8 -0
- package/api/resources/billing/client/requests/CountCustomersRequest.d.ts +1 -0
- package/api/resources/billing/client/requests/CreateBillingPriceRequestBody.d.ts +5 -1
- package/api/resources/billing/client/requests/CreateBillingProductRequestBody.d.ts +2 -7
- package/api/resources/billing/client/requests/ListBillingProductsRequest.d.ts +8 -0
- package/api/resources/billing/client/requests/{ListCustomersRequest.d.ts → ListCustomersWithSubscriptionsRequest.d.ts} +2 -1
- package/api/resources/billing/client/requests/ListProductPricesRequest.d.ts +8 -0
- package/api/resources/billing/client/requests/SearchBillingPricesRequest.d.ts +1 -0
- package/api/resources/billing/client/requests/index.d.ts +1 -1
- package/api/resources/billing/types/CountBillingProductsParams.d.ts +4 -0
- package/api/resources/billing/types/CountCustomersParams.d.ts +1 -0
- package/api/resources/billing/types/CreateBillingPriceRequestBodyBillingScheme.d.ts +8 -0
- package/api/resources/billing/types/CreateBillingPriceRequestBodyBillingScheme.js +10 -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/ListBillingProductsParams.d.ts +4 -0
- package/api/resources/billing/types/{ListCustomersParams.d.ts → ListCustomersWithSubscriptionsParams.d.ts} +2 -1
- package/{dist/api/resources/billing/types/ListCustomersResponse.d.ts → api/resources/billing/types/ListCustomersWithSubscriptionsResponse.d.ts} +2 -2
- package/api/resources/billing/types/ListProductPricesParams.d.ts +4 -0
- package/api/resources/billing/types/SearchBillingPricesParams.d.ts +1 -0
- package/{dist/api/resources/billing/types/CreateBillingPriceRequestBodyTierMode.d.ts → api/resources/billing/types/SearchBillingPricesRequestTiersMode.d.ts} +2 -2
- package/{dist/api/resources/billing/types/CreateBillingPriceRequestBodyTierMode.js → api/resources/billing/types/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 +6 -3
- package/api/resources/billing/types/index.js +6 -3
- package/api/resources/checkout/client/Client.d.ts +23 -6
- package/api/resources/checkout/client/Client.js +125 -52
- package/api/resources/companies/client/Client.d.ts +119 -43
- package/api/resources/companies/client/Client.js +1306 -434
- package/api/resources/companies/client/requests/CountCompaniesForAdvancedFilterRequest.d.ts +66 -0
- package/api/resources/companies/client/requests/CountCompaniesRequest.d.ts +4 -0
- package/api/resources/companies/client/requests/ListCompaniesForAdvancedFilterRequest.d.ts +66 -0
- package/api/resources/companies/client/requests/ListCompaniesRequest.d.ts +4 -0
- package/api/resources/companies/client/requests/LookupCompanyRequest.d.ts +2 -4
- package/api/resources/companies/client/requests/LookupUserRequest.d.ts +2 -4
- 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/CountCompaniesParams.d.ts +2 -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/ListCompaniesParams.d.ts +2 -0
- package/api/resources/companies/types/LookupCompanyParams.d.ts +1 -1
- package/api/resources/companies/types/LookupUserParams.d.ts +1 -1
- 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.d.ts +18 -7
- package/api/resources/components/client/Client.js +188 -89
- 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.d.ts +15 -5
- package/api/resources/crm/client/Client.js +151 -61
- package/api/resources/dataexports/client/Client.d.ts +58 -0
- package/api/resources/dataexports/client/Client.js +265 -0
- package/api/resources/dataexports/client/index.d.ts +1 -0
- package/api/resources/dataexports/client/index.js +17 -0
- package/api/resources/dataexports/client/requests/CreateDataExportRequestBody.d.ts +12 -0
- package/api/resources/dataexports/client/requests/CreateDataExportRequestBody.js +5 -0
- package/api/resources/dataexports/client/requests/index.d.ts +1 -0
- package/api/resources/dataexports/client/requests/index.js +2 -0
- package/api/resources/dataexports/index.d.ts +2 -0
- package/api/resources/dataexports/index.js +18 -0
- package/api/resources/dataexports/types/CreateDataExportResponse.d.ts +9 -0
- package/api/resources/dataexports/types/CreateDataExportResponse.js +5 -0
- package/api/resources/dataexports/types/index.d.ts +1 -0
- package/api/resources/dataexports/types/index.js +17 -0
- package/api/resources/entitlements/client/Client.d.ts +57 -22
- package/api/resources/entitlements/client/Client.js +538 -239
- package/api/resources/entitlements/client/requests/CreateCompanyOverrideRequestBody.d.ts +1 -0
- package/api/resources/entitlements/client/requests/CreatePlanEntitlementRequestBody.d.ts +13 -1
- package/api/resources/entitlements/client/requests/GetFeatureUsageByCompanyRequest.d.ts +2 -4
- package/api/resources/entitlements/client/requests/UpdateCompanyOverrideRequestBody.d.ts +1 -0
- package/api/resources/entitlements/client/requests/UpdatePlanEntitlementRequestBody.d.ts +13 -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/GetFeatureUsageByCompanyParams.d.ts +1 -1
- 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.d.ts +16 -6
- package/api/resources/events/client/Client.js +168 -76
- 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 +54 -21
- package/api/resources/features/client/Client.js +559 -240
- 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 +6 -0
- package/api/resources/index.js +7 -1
- package/api/resources/plangroups/client/Client.d.ts +7 -3
- package/api/resources/plangroups/client/Client.js +73 -37
- 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 +125 -12
- package/api/resources/plans/client/Client.js +1011 -172
- package/api/resources/plans/client/requests/CountPlanTraitsRequest.d.ts +20 -0
- package/api/resources/plans/client/requests/CountPlanTraitsRequest.js +5 -0
- package/api/resources/plans/client/requests/CreatePlanTraitRequestBody.d.ts +16 -0
- package/api/resources/plans/client/requests/CreatePlanTraitRequestBody.js +5 -0
- package/api/resources/plans/client/requests/ListPlanTraitsRequest.d.ts +20 -0
- package/api/resources/plans/client/requests/ListPlanTraitsRequest.js +5 -0
- package/api/resources/plans/client/requests/UpdatePlanTraitRequestBody.d.ts +14 -0
- package/api/resources/plans/client/requests/UpdatePlanTraitRequestBody.js +5 -0
- package/api/resources/plans/client/requests/UpsertBillingProductRequestBody.d.ts +8 -2
- package/api/resources/plans/client/requests/index.d.ts +4 -0
- package/api/resources/plans/types/CountPlanTraitsParams.d.ts +15 -0
- package/api/resources/plans/types/CountPlanTraitsParams.js +5 -0
- package/api/resources/plans/types/CountPlanTraitsResponse.d.ts +9 -0
- package/api/resources/plans/types/CountPlanTraitsResponse.js +5 -0
- package/api/resources/plans/types/CreatePlanTraitResponse.d.ts +9 -0
- package/api/resources/plans/types/CreatePlanTraitResponse.js +5 -0
- package/api/resources/plans/types/DeletePlanTraitResponse.d.ts +9 -0
- package/api/resources/plans/types/DeletePlanTraitResponse.js +5 -0
- package/api/resources/plans/types/GetPlanTraitResponse.d.ts +9 -0
- package/api/resources/plans/types/GetPlanTraitResponse.js +5 -0
- package/api/resources/plans/types/ListPlanTraitsParams.d.ts +15 -0
- package/api/resources/plans/types/ListPlanTraitsParams.js +5 -0
- package/api/resources/plans/types/ListPlanTraitsResponse.d.ts +10 -0
- package/api/resources/plans/types/ListPlanTraitsResponse.js +5 -0
- package/api/resources/plans/types/UpdatePlanTraitResponse.d.ts +9 -0
- package/api/resources/plans/types/UpdatePlanTraitResponse.js +5 -0
- 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 +9 -0
- package/api/resources/plans/types/index.js +9 -0
- package/api/resources/webhooks/client/Client.d.ts +24 -9
- package/api/resources/webhooks/client/Client.js +249 -114
- package/api/resources/webhooks/client/requests/CreateWebhookRequestBody.d.ts +1 -0
- package/api/resources/webhooks/client/requests/UpdateWebhookRequestBody.d.ts +1 -0
- package/api/resources/webhooks/types/CreateWebhookRequestBodyRequestTypesItem.d.ts +5 -1
- package/api/resources/webhooks/types/CreateWebhookRequestBodyRequestTypesItem.js +4 -0
- package/api/resources/webhooks/types/UpdateWebhookRequestBodyRequestTypesItem.d.ts +5 -1
- package/api/resources/webhooks/types/UpdateWebhookRequestBodyRequestTypesItem.js +4 -0
- 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/BillingPriceResponseData.d.ts +2 -0
- package/api/types/BillingPriceView.d.ts +8 -0
- package/api/types/BillingProductDetailResponseData.d.ts +2 -0
- package/api/types/BillingProductForSubscriptionResponseData.d.ts +5 -0
- package/api/types/BillingProductPlanResponseData.d.ts +3 -0
- package/api/types/BillingProductPriceResponseData.d.ts +4 -0
- package/api/types/BillingProductPriceTierResponseData.d.ts +9 -0
- package/api/types/BillingProductPriceTierResponseData.js +5 -0
- package/api/types/BillingProductPricing.d.ts +2 -0
- package/api/types/BillingProductResponseData.d.ts +2 -0
- package/api/types/ChangeSubscriptionInternalRequestBody.d.ts +2 -0
- package/api/types/ChangeSubscriptionRequestBody.d.ts +2 -0
- package/api/types/CheckFlagResponseData.d.ts +2 -0
- package/api/types/CheckoutDataResponseData.d.ts +2 -0
- package/api/types/CompanyDetailResponseData.d.ts +1 -0
- package/api/types/CompanyOverrideResponseData.d.ts +1 -0
- package/api/types/CompanyPlanDetailResponseData.d.ts +4 -0
- package/api/types/CompanyPlanWithBillingSubView.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/CreateBillingPriceTierRequestBody.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/DataExportResponseData.d.ts +17 -0
- package/api/types/DataExportResponseData.js +5 -0
- package/api/types/EntitlementTriggerConfig.d.ts +6 -0
- package/api/types/EntitlementTriggerConfig.js +5 -0
- package/api/types/EventSummaryResponseData.d.ts +2 -2
- package/api/types/FeatureUsageDataResponseData.d.ts +14 -0
- package/api/types/FeatureUsageDataResponseData.js +5 -0
- package/api/types/PlanDetailResponseData.d.ts +3 -0
- package/api/types/PlanEntitlementResponseData.d.ts +3 -0
- package/api/types/PlanGroupPlanDetailResponseData.d.ts +4 -0
- package/api/types/PlanGroupResponseData.d.ts +1 -0
- package/api/types/PlanTraitResponseData.d.ts +16 -0
- package/api/types/PlanTraitResponseData.js +5 -0
- package/api/types/PreviewSubscriptionChangeResponseData.d.ts +4 -0
- package/api/types/PreviewSubscriptionFinanceResponseData.d.ts +15 -0
- package/api/types/PreviewSubscriptionFinanceResponseData.js +5 -0
- package/api/types/PreviewSubscriptionUpcomingInvoiceLineItems.d.ts +10 -0
- package/api/types/PreviewSubscriptionUpcomingInvoiceLineItems.js +5 -0
- package/api/types/QuickstartResp.d.ts +6 -0
- package/api/types/QuickstartResp.js +5 -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/UpsertCompanyRequestBody.d.ts +1 -0
- package/api/types/UpsertTraitRequestBody.d.ts +1 -1
- package/api/types/UpsertUserRequestBody.d.ts +8 -3
- package/api/types/UpsertUserSubRequestBody.d.ts +4 -1
- package/api/types/UsageBasedEntitlementRequestBody.d.ts +11 -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/WebhookResponseData.d.ts +2 -0
- package/api/types/index.d.ts +19 -0
- package/api/types/index.js +19 -0
- package/core/fetcher/APIResponse.d.ts +10 -0
- package/core/fetcher/Fetcher.js +7 -0
- package/core/fetcher/Headers.d.ts +2 -0
- package/core/fetcher/Headers.js +84 -0
- package/core/fetcher/HttpResponsePromise.d.ts +58 -0
- package/core/fetcher/HttpResponsePromise.js +103 -0
- package/core/fetcher/RawResponse.d.ts +29 -0
- package/core/fetcher/RawResponse.js +44 -0
- package/core/fetcher/custom.js +17 -0
- package/core/fetcher/index.d.ts +3 -0
- package/core/fetcher/index.js +7 -1
- package/dist/Client.d.ts +6 -0
- package/dist/Client.js +30 -20
- package/dist/api/errors/BadRequestError.d.ts +2 -1
- package/dist/api/errors/BadRequestError.js +2 -1
- package/dist/api/errors/ForbiddenError.d.ts +2 -1
- package/dist/api/errors/ForbiddenError.js +2 -1
- package/dist/api/errors/InternalServerError.d.ts +2 -1
- package/dist/api/errors/InternalServerError.js +2 -1
- package/dist/api/errors/NotFoundError.d.ts +2 -1
- package/dist/api/errors/NotFoundError.js +2 -1
- package/dist/api/errors/UnauthorizedError.d.ts +2 -1
- package/dist/api/errors/UnauthorizedError.js +2 -1
- package/dist/api/errors/index.d.ts +1 -1
- package/dist/api/errors/index.js +1 -1
- package/dist/api/resources/accesstokens/client/Client.d.ts +4 -3
- package/dist/api/resources/accesstokens/client/Client.js +33 -16
- package/dist/api/resources/accesstokens/client/requests/IssueTemporaryAccessTokenRequestBody.d.ts +1 -3
- package/dist/api/resources/accounts/client/Client.d.ts +51 -14
- package/dist/api/resources/accounts/client/Client.js +489 -175
- package/dist/api/resources/accounts/types/QuickstartResponse.d.ts +9 -0
- package/dist/api/resources/accounts/types/QuickstartResponse.js +5 -0
- package/dist/api/resources/accounts/types/index.d.ts +1 -0
- package/dist/api/resources/accounts/types/index.js +1 -0
- package/dist/api/resources/billing/client/Client.d.ts +64 -26
- package/dist/api/resources/billing/client/Client.js +657 -260
- package/dist/api/resources/billing/client/requests/CountBillingProductsRequest.d.ts +8 -0
- package/dist/api/resources/billing/client/requests/CountCustomersRequest.d.ts +1 -0
- package/dist/api/resources/billing/client/requests/CreateBillingPriceRequestBody.d.ts +5 -1
- package/dist/api/resources/billing/client/requests/CreateBillingProductRequestBody.d.ts +2 -7
- package/dist/api/resources/billing/client/requests/ListBillingProductsRequest.d.ts +8 -0
- package/dist/api/resources/billing/client/requests/{ListCustomersRequest.d.ts → ListCustomersWithSubscriptionsRequest.d.ts} +2 -1
- package/dist/api/resources/billing/client/requests/ListCustomersWithSubscriptionsRequest.js +5 -0
- package/dist/api/resources/billing/client/requests/ListProductPricesRequest.d.ts +8 -0
- package/dist/api/resources/billing/client/requests/SearchBillingPricesRequest.d.ts +1 -0
- package/dist/api/resources/billing/client/requests/index.d.ts +1 -1
- package/dist/api/resources/billing/types/CountBillingProductsParams.d.ts +4 -0
- package/dist/api/resources/billing/types/CountCustomersParams.d.ts +1 -0
- package/dist/api/resources/billing/types/CreateBillingPriceRequestBodyBillingScheme.d.ts +8 -0
- package/dist/api/resources/billing/types/CreateBillingPriceRequestBodyBillingScheme.js +10 -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/ListBillingProductsParams.d.ts +4 -0
- package/dist/api/resources/billing/types/{ListCustomersParams.d.ts → ListCustomersWithSubscriptionsParams.d.ts} +2 -1
- package/dist/api/resources/billing/types/ListCustomersWithSubscriptionsParams.js +5 -0
- package/{api/resources/billing/types/ListCustomersResponse.d.ts → dist/api/resources/billing/types/ListCustomersWithSubscriptionsResponse.d.ts} +2 -2
- package/dist/api/resources/billing/types/ListCustomersWithSubscriptionsResponse.js +5 -0
- package/dist/api/resources/billing/types/ListProductPricesParams.d.ts +4 -0
- package/dist/api/resources/billing/types/SearchBillingPricesParams.d.ts +1 -0
- package/{api/resources/billing/types/CreateBillingPriceRequestBodyTierMode.d.ts → dist/api/resources/billing/types/SearchBillingPricesRequestTiersMode.d.ts} +2 -2
- package/{api/resources/billing/types/CreateBillingPriceRequestBodyTierMode.js → dist/api/resources/billing/types/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 +6 -3
- package/dist/api/resources/billing/types/index.js +6 -3
- package/dist/api/resources/checkout/client/Client.d.ts +23 -6
- package/dist/api/resources/checkout/client/Client.js +125 -52
- package/dist/api/resources/companies/client/Client.d.ts +119 -43
- package/dist/api/resources/companies/client/Client.js +1306 -434
- 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/CountCompaniesRequest.d.ts +4 -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/ListCompaniesRequest.d.ts +4 -0
- package/dist/api/resources/companies/client/requests/LookupCompanyRequest.d.ts +2 -4
- package/dist/api/resources/companies/client/requests/LookupUserRequest.d.ts +2 -4
- 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/CountCompaniesParams.d.ts +2 -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/ListCompaniesParams.d.ts +2 -0
- package/dist/api/resources/companies/types/LookupCompanyParams.d.ts +1 -1
- package/dist/api/resources/companies/types/LookupUserParams.d.ts +1 -1
- 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.d.ts +18 -7
- package/dist/api/resources/components/client/Client.js +188 -89
- 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.d.ts +15 -5
- package/dist/api/resources/crm/client/Client.js +151 -61
- package/dist/api/resources/dataexports/client/Client.d.ts +58 -0
- package/dist/api/resources/dataexports/client/Client.js +265 -0
- package/dist/api/resources/dataexports/client/index.d.ts +1 -0
- package/dist/api/resources/dataexports/client/index.js +17 -0
- package/dist/api/resources/dataexports/client/requests/CreateDataExportRequestBody.d.ts +12 -0
- package/dist/api/resources/dataexports/client/requests/CreateDataExportRequestBody.js +5 -0
- package/dist/api/resources/dataexports/client/requests/index.d.ts +1 -0
- package/dist/api/resources/dataexports/client/requests/index.js +2 -0
- package/dist/api/resources/dataexports/index.d.ts +2 -0
- package/dist/api/resources/dataexports/index.js +18 -0
- package/dist/api/resources/dataexports/types/CreateDataExportResponse.d.ts +9 -0
- package/dist/api/resources/dataexports/types/CreateDataExportResponse.js +5 -0
- package/dist/api/resources/dataexports/types/index.d.ts +1 -0
- package/dist/api/resources/dataexports/types/index.js +17 -0
- package/dist/api/resources/entitlements/client/Client.d.ts +57 -22
- package/dist/api/resources/entitlements/client/Client.js +538 -239
- package/dist/api/resources/entitlements/client/requests/CreateCompanyOverrideRequestBody.d.ts +1 -0
- package/dist/api/resources/entitlements/client/requests/CreatePlanEntitlementRequestBody.d.ts +13 -1
- package/dist/api/resources/entitlements/client/requests/GetFeatureUsageByCompanyRequest.d.ts +2 -4
- package/dist/api/resources/entitlements/client/requests/UpdateCompanyOverrideRequestBody.d.ts +1 -0
- package/dist/api/resources/entitlements/client/requests/UpdatePlanEntitlementRequestBody.d.ts +13 -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/GetFeatureUsageByCompanyParams.d.ts +1 -1
- 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.d.ts +16 -6
- package/dist/api/resources/events/client/Client.js +168 -76
- 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 +54 -21
- package/dist/api/resources/features/client/Client.js +559 -240
- 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 +6 -0
- package/dist/api/resources/index.js +7 -1
- package/dist/api/resources/plangroups/client/Client.d.ts +7 -3
- package/dist/api/resources/plangroups/client/Client.js +73 -37
- 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 +125 -12
- package/dist/api/resources/plans/client/Client.js +1011 -172
- package/dist/api/resources/plans/client/requests/CountPlanTraitsRequest.d.ts +20 -0
- package/dist/api/resources/plans/client/requests/CountPlanTraitsRequest.js +5 -0
- package/dist/api/resources/plans/client/requests/CreatePlanTraitRequestBody.d.ts +16 -0
- package/dist/api/resources/plans/client/requests/CreatePlanTraitRequestBody.js +5 -0
- package/dist/api/resources/plans/client/requests/ListPlanTraitsRequest.d.ts +20 -0
- package/dist/api/resources/plans/client/requests/ListPlanTraitsRequest.js +5 -0
- package/dist/api/resources/plans/client/requests/UpdatePlanTraitRequestBody.d.ts +14 -0
- package/dist/api/resources/plans/client/requests/UpdatePlanTraitRequestBody.js +5 -0
- package/dist/api/resources/plans/client/requests/UpsertBillingProductRequestBody.d.ts +8 -2
- package/dist/api/resources/plans/client/requests/index.d.ts +4 -0
- package/dist/api/resources/plans/types/CountPlanTraitsParams.d.ts +15 -0
- package/dist/api/resources/plans/types/CountPlanTraitsParams.js +5 -0
- package/dist/api/resources/plans/types/CountPlanTraitsResponse.d.ts +9 -0
- package/dist/api/resources/plans/types/CountPlanTraitsResponse.js +5 -0
- package/dist/api/resources/plans/types/CreatePlanTraitResponse.d.ts +9 -0
- package/dist/api/resources/plans/types/CreatePlanTraitResponse.js +5 -0
- package/dist/api/resources/plans/types/DeletePlanTraitResponse.d.ts +9 -0
- package/dist/api/resources/plans/types/DeletePlanTraitResponse.js +5 -0
- package/dist/api/resources/plans/types/GetPlanTraitResponse.d.ts +9 -0
- package/dist/api/resources/plans/types/GetPlanTraitResponse.js +5 -0
- package/dist/api/resources/plans/types/ListPlanTraitsParams.d.ts +15 -0
- package/dist/api/resources/plans/types/ListPlanTraitsParams.js +5 -0
- package/dist/api/resources/plans/types/ListPlanTraitsResponse.d.ts +10 -0
- package/dist/api/resources/plans/types/ListPlanTraitsResponse.js +5 -0
- package/dist/api/resources/plans/types/UpdatePlanTraitResponse.d.ts +9 -0
- package/dist/api/resources/plans/types/UpdatePlanTraitResponse.js +5 -0
- 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 +9 -0
- package/dist/api/resources/plans/types/index.js +9 -0
- package/dist/api/resources/webhooks/client/Client.d.ts +24 -9
- package/dist/api/resources/webhooks/client/Client.js +249 -114
- package/dist/api/resources/webhooks/client/requests/CreateWebhookRequestBody.d.ts +1 -0
- package/dist/api/resources/webhooks/client/requests/UpdateWebhookRequestBody.d.ts +1 -0
- package/dist/api/resources/webhooks/types/CreateWebhookRequestBodyRequestTypesItem.d.ts +5 -1
- package/dist/api/resources/webhooks/types/CreateWebhookRequestBodyRequestTypesItem.js +4 -0
- package/dist/api/resources/webhooks/types/UpdateWebhookRequestBodyRequestTypesItem.d.ts +5 -1
- package/dist/api/resources/webhooks/types/UpdateWebhookRequestBodyRequestTypesItem.js +4 -0
- 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/BillingPriceResponseData.d.ts +2 -0
- package/dist/api/types/BillingPriceView.d.ts +8 -0
- package/dist/api/types/BillingProductDetailResponseData.d.ts +2 -0
- package/dist/api/types/BillingProductForSubscriptionResponseData.d.ts +5 -0
- package/dist/api/types/BillingProductPlanResponseData.d.ts +3 -0
- package/dist/api/types/BillingProductPriceResponseData.d.ts +4 -0
- package/dist/api/types/BillingProductPriceTierResponseData.d.ts +9 -0
- package/dist/api/types/BillingProductPriceTierResponseData.js +5 -0
- package/dist/api/types/BillingProductPricing.d.ts +2 -0
- package/dist/api/types/BillingProductResponseData.d.ts +2 -0
- package/dist/api/types/ChangeSubscriptionInternalRequestBody.d.ts +2 -0
- package/dist/api/types/ChangeSubscriptionRequestBody.d.ts +2 -0
- package/dist/api/types/CheckFlagResponseData.d.ts +2 -0
- package/dist/api/types/CheckoutDataResponseData.d.ts +2 -0
- package/dist/api/types/CompanyDetailResponseData.d.ts +1 -0
- package/dist/api/types/CompanyOverrideResponseData.d.ts +1 -0
- package/dist/api/types/CompanyPlanDetailResponseData.d.ts +4 -0
- package/dist/api/types/CompanyPlanWithBillingSubView.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/CreateBillingPriceTierRequestBody.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/DataExportResponseData.d.ts +17 -0
- package/dist/api/types/DataExportResponseData.js +5 -0
- package/dist/api/types/EntitlementTriggerConfig.d.ts +6 -0
- package/dist/api/types/EntitlementTriggerConfig.js +5 -0
- package/dist/api/types/EventSummaryResponseData.d.ts +2 -2
- package/dist/api/types/FeatureUsageDataResponseData.d.ts +14 -0
- package/dist/api/types/FeatureUsageDataResponseData.js +5 -0
- package/dist/api/types/PlanDetailResponseData.d.ts +3 -0
- package/dist/api/types/PlanEntitlementResponseData.d.ts +3 -0
- package/dist/api/types/PlanGroupPlanDetailResponseData.d.ts +4 -0
- package/dist/api/types/PlanGroupResponseData.d.ts +1 -0
- package/dist/api/types/PlanTraitResponseData.d.ts +16 -0
- package/dist/api/types/PlanTraitResponseData.js +5 -0
- package/dist/api/types/PreviewSubscriptionChangeResponseData.d.ts +4 -0
- package/dist/api/types/PreviewSubscriptionFinanceResponseData.d.ts +15 -0
- package/dist/api/types/PreviewSubscriptionFinanceResponseData.js +5 -0
- package/dist/api/types/PreviewSubscriptionUpcomingInvoiceLineItems.d.ts +10 -0
- package/dist/api/types/PreviewSubscriptionUpcomingInvoiceLineItems.js +5 -0
- package/dist/api/types/QuickstartResp.d.ts +6 -0
- package/dist/api/types/QuickstartResp.js +5 -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/UpsertCompanyRequestBody.d.ts +1 -0
- package/dist/api/types/UpsertTraitRequestBody.d.ts +1 -1
- package/dist/api/types/UpsertUserRequestBody.d.ts +8 -3
- package/dist/api/types/UpsertUserSubRequestBody.d.ts +4 -1
- package/dist/api/types/UsageBasedEntitlementRequestBody.d.ts +11 -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/WebhookResponseData.d.ts +2 -0
- package/dist/api/types/index.d.ts +19 -0
- package/dist/api/types/index.js +19 -0
- package/dist/core/fetcher/APIResponse.d.ts +10 -0
- package/dist/core/fetcher/Fetcher.js +7 -0
- package/dist/core/fetcher/Headers.d.ts +2 -0
- package/dist/core/fetcher/Headers.js +84 -0
- package/dist/core/fetcher/HttpResponsePromise.d.ts +58 -0
- package/dist/core/fetcher/HttpResponsePromise.js +103 -0
- package/dist/core/fetcher/RawResponse.d.ts +29 -0
- package/dist/core/fetcher/RawResponse.js +44 -0
- package/dist/core/fetcher/custom.js +17 -0
- package/dist/core/fetcher/index.d.ts +3 -0
- package/dist/core/fetcher/index.js +7 -1
- package/dist/errors/SchematicError.d.ts +4 -1
- package/dist/errors/SchematicError.js +4 -7
- package/dist/events.d.ts +4 -0
- package/dist/events.js +41 -5
- package/dist/events.test.js +50 -3
- package/dist/serialization/resources/accesstokens/client/requests/IssueTemporaryAccessTokenRequestBody.d.ts +0 -1
- package/dist/serialization/resources/accesstokens/client/requests/IssueTemporaryAccessTokenRequestBody.js +0 -1
- package/dist/serialization/resources/accounts/types/QuickstartResponse.d.ts +14 -0
- package/dist/serialization/resources/accounts/types/QuickstartResponse.js +45 -0
- package/dist/serialization/resources/accounts/types/index.d.ts +1 -0
- package/dist/serialization/resources/accounts/types/index.js +1 -0
- package/dist/serialization/resources/billing/client/requests/CreateBillingPriceRequestBody.d.ts +6 -2
- package/dist/serialization/resources/billing/client/requests/CreateBillingPriceRequestBody.js +6 -2
- package/dist/serialization/resources/billing/client/requests/CreateBillingProductRequestBody.d.ts +1 -3
- package/dist/serialization/resources/billing/client/requests/CreateBillingProductRequestBody.js +1 -3
- package/dist/serialization/resources/billing/types/CountBillingProductsParams.d.ts +2 -0
- package/dist/serialization/resources/billing/types/CountBillingProductsParams.js +2 -0
- package/dist/serialization/resources/billing/types/CountCustomersParams.d.ts +1 -0
- package/dist/serialization/resources/billing/types/CountCustomersParams.js +1 -0
- package/dist/serialization/resources/billing/types/CreateBillingPriceRequestBodyBillingScheme.d.ts +10 -0
- package/dist/serialization/resources/billing/types/CreateBillingPriceRequestBodyBillingScheme.js +41 -0
- 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/ListBillingProductsParams.d.ts +2 -0
- package/dist/serialization/resources/billing/types/ListBillingProductsParams.js +2 -0
- package/{serialization/resources/billing/types/ListCustomersParams.d.ts → dist/serialization/resources/billing/types/ListCustomersWithSubscriptionsParams.d.ts} +3 -2
- package/{serialization/resources/billing/types/ListCustomersParams.js → dist/serialization/resources/billing/types/ListCustomersWithSubscriptionsParams.js} +3 -2
- package/dist/serialization/resources/billing/types/{ListCustomersResponse.d.ts → ListCustomersWithSubscriptionsResponse.d.ts} +4 -4
- package/dist/serialization/resources/billing/types/{ListCustomersResponse.js → ListCustomersWithSubscriptionsResponse.js} +4 -4
- package/dist/serialization/resources/billing/types/ListProductPricesParams.d.ts +2 -0
- package/dist/serialization/resources/billing/types/ListProductPricesParams.js +2 -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 +6 -3
- package/dist/serialization/resources/billing/types/index.js +6 -3
- 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/CountCompaniesParams.d.ts +1 -0
- package/dist/serialization/resources/companies/types/CountCompaniesParams.js +1 -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/ListCompaniesParams.d.ts +1 -0
- package/dist/serialization/resources/companies/types/ListCompaniesParams.js +1 -0
- package/dist/serialization/resources/companies/types/LookupCompanyParams.d.ts +1 -1
- package/dist/serialization/resources/companies/types/LookupCompanyParams.js +1 -1
- package/dist/serialization/resources/companies/types/LookupUserParams.d.ts +1 -1
- package/dist/serialization/resources/companies/types/LookupUserParams.js +1 -1
- 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/dataexports/client/index.d.ts +1 -0
- package/dist/serialization/resources/dataexports/client/index.js +17 -0
- package/dist/serialization/resources/dataexports/client/requests/CreateDataExportRequestBody.d.ts +12 -0
- package/dist/serialization/resources/dataexports/client/requests/CreateDataExportRequestBody.js +43 -0
- package/dist/serialization/resources/dataexports/client/requests/index.d.ts +1 -0
- package/dist/serialization/resources/dataexports/client/requests/index.js +5 -0
- package/dist/serialization/resources/dataexports/index.d.ts +2 -0
- package/dist/serialization/resources/dataexports/index.js +18 -0
- package/dist/serialization/resources/dataexports/types/CreateDataExportResponse.d.ts +14 -0
- package/dist/serialization/resources/dataexports/types/CreateDataExportResponse.js +45 -0
- package/dist/serialization/resources/dataexports/types/index.d.ts +1 -0
- package/dist/serialization/resources/dataexports/types/index.js +17 -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 +13 -1
- package/dist/serialization/resources/entitlements/client/requests/CreatePlanEntitlementRequestBody.js +13 -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 +13 -1
- package/dist/serialization/resources/entitlements/client/requests/UpdatePlanEntitlementRequestBody.js +13 -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/GetFeatureUsageByCompanyParams.d.ts +1 -1
- package/dist/serialization/resources/entitlements/types/GetFeatureUsageByCompanyParams.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 +6 -0
- package/dist/serialization/resources/index.js +7 -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/CreatePlanTraitRequestBody.d.ts +14 -0
- package/dist/serialization/resources/plans/client/requests/CreatePlanTraitRequestBody.js +45 -0
- package/dist/serialization/resources/plans/client/requests/UpdatePlanTraitRequestBody.d.ts +13 -0
- package/dist/serialization/resources/plans/client/requests/UpdatePlanTraitRequestBody.js +44 -0
- package/dist/serialization/resources/plans/client/requests/UpsertBillingProductRequestBody.d.ts +7 -1
- package/dist/serialization/resources/plans/client/requests/UpsertBillingProductRequestBody.js +7 -1
- package/dist/serialization/resources/plans/client/requests/index.d.ts +2 -0
- package/dist/serialization/resources/plans/client/requests/index.js +5 -1
- package/dist/serialization/resources/plans/types/CountPlanTraitsParams.d.ts +16 -0
- package/dist/serialization/resources/plans/types/CountPlanTraitsParams.js +47 -0
- package/dist/serialization/resources/plans/types/CountPlanTraitsResponse.d.ts +15 -0
- package/dist/serialization/resources/plans/types/CountPlanTraitsResponse.js +46 -0
- package/dist/serialization/resources/plans/types/CreatePlanTraitResponse.d.ts +14 -0
- package/dist/serialization/resources/plans/types/CreatePlanTraitResponse.js +45 -0
- package/dist/serialization/resources/plans/types/DeletePlanTraitResponse.d.ts +14 -0
- package/dist/serialization/resources/plans/types/DeletePlanTraitResponse.js +45 -0
- package/dist/serialization/resources/plans/types/GetPlanTraitResponse.d.ts +14 -0
- package/dist/serialization/resources/plans/types/GetPlanTraitResponse.js +45 -0
- package/dist/serialization/resources/plans/types/ListPlanTraitsParams.d.ts +16 -0
- package/dist/serialization/resources/plans/types/ListPlanTraitsParams.js +47 -0
- package/dist/serialization/resources/plans/types/ListPlanTraitsResponse.d.ts +15 -0
- package/dist/serialization/resources/plans/types/ListPlanTraitsResponse.js +46 -0
- package/dist/serialization/resources/plans/types/UpdatePlanTraitResponse.d.ts +14 -0
- package/dist/serialization/resources/plans/types/UpdatePlanTraitResponse.js +45 -0
- 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 +9 -0
- package/dist/serialization/resources/plans/types/index.js +9 -0
- package/dist/serialization/resources/webhooks/client/requests/CreateWebhookRequestBody.d.ts +2 -0
- package/dist/serialization/resources/webhooks/client/requests/CreateWebhookRequestBody.js +2 -0
- package/dist/serialization/resources/webhooks/client/requests/UpdateWebhookRequestBody.d.ts +2 -0
- package/dist/serialization/resources/webhooks/client/requests/UpdateWebhookRequestBody.js +2 -0
- package/dist/serialization/resources/webhooks/types/CreateWebhookRequestBodyRequestTypesItem.d.ts +1 -1
- package/dist/serialization/resources/webhooks/types/CreateWebhookRequestBodyRequestTypesItem.js +4 -0
- package/dist/serialization/resources/webhooks/types/UpdateWebhookRequestBodyRequestTypesItem.d.ts +1 -1
- package/dist/serialization/resources/webhooks/types/UpdateWebhookRequestBodyRequestTypesItem.js +4 -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/BillingPriceResponseData.d.ts +2 -0
- package/dist/serialization/types/BillingPriceResponseData.js +2 -0
- package/dist/serialization/types/BillingPriceView.d.ts +8 -0
- package/dist/serialization/types/BillingPriceView.js +8 -0
- package/dist/serialization/types/BillingProductDetailResponseData.d.ts +2 -0
- package/dist/serialization/types/BillingProductDetailResponseData.js +2 -0
- package/dist/serialization/types/BillingProductForSubscriptionResponseData.d.ts +5 -0
- package/dist/serialization/types/BillingProductForSubscriptionResponseData.js +5 -0
- package/dist/serialization/types/BillingProductPlanResponseData.d.ts +3 -0
- package/dist/serialization/types/BillingProductPlanResponseData.js +3 -0
- package/dist/serialization/types/BillingProductPriceResponseData.d.ts +4 -0
- package/dist/serialization/types/BillingProductPriceResponseData.js +4 -0
- package/dist/serialization/types/BillingProductPriceTierResponseData.d.ts +15 -0
- package/dist/serialization/types/BillingProductPriceTierResponseData.js +46 -0
- package/dist/serialization/types/BillingProductPricing.d.ts +2 -0
- package/dist/serialization/types/BillingProductPricing.js +2 -0
- package/dist/serialization/types/BillingProductResponseData.d.ts +2 -0
- package/dist/serialization/types/BillingProductResponseData.js +2 -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/CheckFlagResponseData.d.ts +1 -0
- package/dist/serialization/types/CheckFlagResponseData.js +1 -0
- package/dist/serialization/types/CheckoutDataResponseData.d.ts +4 -0
- package/dist/serialization/types/CheckoutDataResponseData.js +4 -0
- package/dist/serialization/types/CompanyDetailResponseData.d.ts +2 -1
- package/dist/serialization/types/CompanyDetailResponseData.js +2 -1
- package/dist/serialization/types/CompanyOverrideResponseData.d.ts +1 -0
- package/dist/serialization/types/CompanyOverrideResponseData.js +1 -0
- package/dist/serialization/types/CompanyPlanDetailResponseData.d.ts +4 -0
- package/dist/serialization/types/CompanyPlanDetailResponseData.js +4 -0
- package/dist/serialization/types/CompanyPlanWithBillingSubView.d.ts +2 -0
- package/dist/serialization/types/CompanyPlanWithBillingSubView.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/CreateBillingPriceTierRequestBody.d.ts +1 -0
- package/dist/serialization/types/CreateBillingPriceTierRequestBody.js +1 -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/DataExportResponseData.d.ts +20 -0
- package/dist/serialization/types/DataExportResponseData.js +51 -0
- package/dist/serialization/types/EntitlementTriggerConfig.d.ts +12 -0
- package/dist/serialization/types/EntitlementTriggerConfig.js +43 -0
- package/dist/serialization/types/EventSummaryResponseData.d.ts +2 -2
- package/dist/serialization/types/EventSummaryResponseData.js +2 -2
- package/dist/serialization/types/FeatureUsageDataResponseData.d.ts +20 -0
- package/dist/serialization/types/FeatureUsageDataResponseData.js +51 -0
- package/dist/serialization/types/PlanDetailResponseData.d.ts +3 -0
- package/dist/serialization/types/PlanDetailResponseData.js +3 -0
- package/dist/serialization/types/PlanEntitlementResponseData.d.ts +5 -0
- package/dist/serialization/types/PlanEntitlementResponseData.js +5 -0
- package/dist/serialization/types/PlanGroupPlanDetailResponseData.d.ts +4 -0
- package/dist/serialization/types/PlanGroupPlanDetailResponseData.js +4 -0
- package/dist/serialization/types/PlanGroupResponseData.d.ts +2 -0
- package/dist/serialization/types/PlanGroupResponseData.js +2 -0
- package/dist/serialization/types/PlanTraitResponseData.d.ts +19 -0
- package/dist/serialization/types/PlanTraitResponseData.js +50 -0
- package/dist/serialization/types/PreviewSubscriptionChangeResponseData.d.ts +5 -0
- package/dist/serialization/types/PreviewSubscriptionChangeResponseData.js +5 -0
- package/dist/serialization/types/PreviewSubscriptionFinanceResponseData.d.ts +21 -0
- package/dist/serialization/types/PreviewSubscriptionFinanceResponseData.js +52 -0
- package/dist/serialization/types/PreviewSubscriptionUpcomingInvoiceLineItems.d.ts +16 -0
- package/dist/serialization/types/PreviewSubscriptionUpcomingInvoiceLineItems.js +47 -0
- package/dist/serialization/types/QuickstartResp.d.ts +12 -0
- package/dist/serialization/types/QuickstartResp.js +43 -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 +3 -1
- package/dist/serialization/types/UpsertUserRequestBody.js +5 -1
- package/dist/serialization/types/UpsertUserSubRequestBody.d.ts +1 -0
- package/dist/serialization/types/UpsertUserSubRequestBody.js +1 -0
- package/dist/serialization/types/UsageBasedEntitlementRequestBody.d.ts +12 -1
- package/dist/serialization/types/UsageBasedEntitlementRequestBody.js +12 -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/WebhookResponseData.d.ts +2 -0
- package/dist/serialization/types/WebhookResponseData.js +2 -0
- package/dist/serialization/types/index.d.ts +19 -0
- package/dist/serialization/types/index.js +19 -0
- package/errors/SchematicError.d.ts +4 -1
- package/errors/SchematicError.js +4 -7
- package/events.d.ts +4 -0
- package/events.js +41 -5
- package/events.test.js +50 -3
- package/package.json +4 -3
- package/reference.md +1830 -378
- package/serialization/resources/accesstokens/client/requests/IssueTemporaryAccessTokenRequestBody.d.ts +0 -1
- package/serialization/resources/accesstokens/client/requests/IssueTemporaryAccessTokenRequestBody.js +0 -1
- package/serialization/resources/accounts/types/QuickstartResponse.d.ts +14 -0
- package/serialization/resources/accounts/types/QuickstartResponse.js +45 -0
- package/serialization/resources/accounts/types/index.d.ts +1 -0
- package/serialization/resources/accounts/types/index.js +1 -0
- package/serialization/resources/billing/client/requests/CreateBillingPriceRequestBody.d.ts +6 -2
- package/serialization/resources/billing/client/requests/CreateBillingPriceRequestBody.js +6 -2
- package/serialization/resources/billing/client/requests/CreateBillingProductRequestBody.d.ts +1 -3
- package/serialization/resources/billing/client/requests/CreateBillingProductRequestBody.js +1 -3
- package/serialization/resources/billing/types/CountBillingProductsParams.d.ts +2 -0
- package/serialization/resources/billing/types/CountBillingProductsParams.js +2 -0
- package/serialization/resources/billing/types/CountCustomersParams.d.ts +1 -0
- package/serialization/resources/billing/types/CountCustomersParams.js +1 -0
- package/serialization/resources/billing/types/CreateBillingPriceRequestBodyBillingScheme.d.ts +10 -0
- package/serialization/resources/billing/types/CreateBillingPriceRequestBodyBillingScheme.js +41 -0
- package/serialization/resources/billing/types/CreateBillingPriceRequestBodyTiersMode.d.ts +10 -0
- package/serialization/resources/billing/types/CreateBillingPriceRequestBodyTiersMode.js +41 -0
- package/serialization/resources/billing/types/ListBillingProductsParams.d.ts +2 -0
- package/serialization/resources/billing/types/ListBillingProductsParams.js +2 -0
- package/{dist/serialization/resources/billing/types/ListCustomersParams.d.ts → serialization/resources/billing/types/ListCustomersWithSubscriptionsParams.d.ts} +3 -2
- package/{dist/serialization/resources/billing/types/ListCustomersParams.js → serialization/resources/billing/types/ListCustomersWithSubscriptionsParams.js} +3 -2
- package/serialization/resources/billing/types/{ListCustomersResponse.d.ts → ListCustomersWithSubscriptionsResponse.d.ts} +4 -4
- package/serialization/resources/billing/types/{ListCustomersResponse.js → ListCustomersWithSubscriptionsResponse.js} +4 -4
- package/serialization/resources/billing/types/ListProductPricesParams.d.ts +2 -0
- package/serialization/resources/billing/types/ListProductPricesParams.js +2 -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 +6 -3
- package/serialization/resources/billing/types/index.js +6 -3
- 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/CountCompaniesParams.d.ts +1 -0
- package/serialization/resources/companies/types/CountCompaniesParams.js +1 -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/ListCompaniesParams.d.ts +1 -0
- package/serialization/resources/companies/types/ListCompaniesParams.js +1 -0
- package/serialization/resources/companies/types/LookupCompanyParams.d.ts +1 -1
- package/serialization/resources/companies/types/LookupCompanyParams.js +1 -1
- package/serialization/resources/companies/types/LookupUserParams.d.ts +1 -1
- package/serialization/resources/companies/types/LookupUserParams.js +1 -1
- 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/dataexports/client/index.d.ts +1 -0
- package/serialization/resources/dataexports/client/index.js +17 -0
- package/serialization/resources/dataexports/client/requests/CreateDataExportRequestBody.d.ts +12 -0
- package/serialization/resources/dataexports/client/requests/CreateDataExportRequestBody.js +43 -0
- package/serialization/resources/dataexports/client/requests/index.d.ts +1 -0
- package/serialization/resources/dataexports/client/requests/index.js +5 -0
- package/serialization/resources/dataexports/index.d.ts +2 -0
- package/serialization/resources/dataexports/index.js +18 -0
- package/serialization/resources/dataexports/types/CreateDataExportResponse.d.ts +14 -0
- package/serialization/resources/dataexports/types/CreateDataExportResponse.js +45 -0
- package/serialization/resources/dataexports/types/index.d.ts +1 -0
- package/serialization/resources/dataexports/types/index.js +17 -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 +13 -1
- package/serialization/resources/entitlements/client/requests/CreatePlanEntitlementRequestBody.js +13 -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 +13 -1
- package/serialization/resources/entitlements/client/requests/UpdatePlanEntitlementRequestBody.js +13 -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/GetFeatureUsageByCompanyParams.d.ts +1 -1
- package/serialization/resources/entitlements/types/GetFeatureUsageByCompanyParams.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 +6 -0
- package/serialization/resources/index.js +7 -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/CreatePlanTraitRequestBody.d.ts +14 -0
- package/serialization/resources/plans/client/requests/CreatePlanTraitRequestBody.js +45 -0
- package/serialization/resources/plans/client/requests/UpdatePlanTraitRequestBody.d.ts +13 -0
- package/serialization/resources/plans/client/requests/UpdatePlanTraitRequestBody.js +44 -0
- package/serialization/resources/plans/client/requests/UpsertBillingProductRequestBody.d.ts +7 -1
- package/serialization/resources/plans/client/requests/UpsertBillingProductRequestBody.js +7 -1
- package/serialization/resources/plans/client/requests/index.d.ts +2 -0
- package/serialization/resources/plans/client/requests/index.js +5 -1
- package/serialization/resources/plans/types/CountPlanTraitsParams.d.ts +16 -0
- package/serialization/resources/plans/types/CountPlanTraitsParams.js +47 -0
- package/serialization/resources/plans/types/CountPlanTraitsResponse.d.ts +15 -0
- package/serialization/resources/plans/types/CountPlanTraitsResponse.js +46 -0
- package/serialization/resources/plans/types/CreatePlanTraitResponse.d.ts +14 -0
- package/serialization/resources/plans/types/CreatePlanTraitResponse.js +45 -0
- package/serialization/resources/plans/types/DeletePlanTraitResponse.d.ts +14 -0
- package/serialization/resources/plans/types/DeletePlanTraitResponse.js +45 -0
- package/serialization/resources/plans/types/GetPlanTraitResponse.d.ts +14 -0
- package/serialization/resources/plans/types/GetPlanTraitResponse.js +45 -0
- package/serialization/resources/plans/types/ListPlanTraitsParams.d.ts +16 -0
- package/serialization/resources/plans/types/ListPlanTraitsParams.js +47 -0
- package/serialization/resources/plans/types/ListPlanTraitsResponse.d.ts +15 -0
- package/serialization/resources/plans/types/ListPlanTraitsResponse.js +46 -0
- package/serialization/resources/plans/types/UpdatePlanTraitResponse.d.ts +14 -0
- package/serialization/resources/plans/types/UpdatePlanTraitResponse.js +45 -0
- 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 +9 -0
- package/serialization/resources/plans/types/index.js +9 -0
- package/serialization/resources/webhooks/client/requests/CreateWebhookRequestBody.d.ts +2 -0
- package/serialization/resources/webhooks/client/requests/CreateWebhookRequestBody.js +2 -0
- package/serialization/resources/webhooks/client/requests/UpdateWebhookRequestBody.d.ts +2 -0
- package/serialization/resources/webhooks/client/requests/UpdateWebhookRequestBody.js +2 -0
- package/serialization/resources/webhooks/types/CreateWebhookRequestBodyRequestTypesItem.d.ts +1 -1
- package/serialization/resources/webhooks/types/CreateWebhookRequestBodyRequestTypesItem.js +4 -0
- package/serialization/resources/webhooks/types/UpdateWebhookRequestBodyRequestTypesItem.d.ts +1 -1
- package/serialization/resources/webhooks/types/UpdateWebhookRequestBodyRequestTypesItem.js +4 -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/BillingPriceResponseData.d.ts +2 -0
- package/serialization/types/BillingPriceResponseData.js +2 -0
- package/serialization/types/BillingPriceView.d.ts +8 -0
- package/serialization/types/BillingPriceView.js +8 -0
- package/serialization/types/BillingProductDetailResponseData.d.ts +2 -0
- package/serialization/types/BillingProductDetailResponseData.js +2 -0
- package/serialization/types/BillingProductForSubscriptionResponseData.d.ts +5 -0
- package/serialization/types/BillingProductForSubscriptionResponseData.js +5 -0
- package/serialization/types/BillingProductPlanResponseData.d.ts +3 -0
- package/serialization/types/BillingProductPlanResponseData.js +3 -0
- package/serialization/types/BillingProductPriceResponseData.d.ts +4 -0
- package/serialization/types/BillingProductPriceResponseData.js +4 -0
- package/serialization/types/BillingProductPriceTierResponseData.d.ts +15 -0
- package/serialization/types/BillingProductPriceTierResponseData.js +46 -0
- package/serialization/types/BillingProductPricing.d.ts +2 -0
- package/serialization/types/BillingProductPricing.js +2 -0
- package/serialization/types/BillingProductResponseData.d.ts +2 -0
- package/serialization/types/BillingProductResponseData.js +2 -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/CheckFlagResponseData.d.ts +1 -0
- package/serialization/types/CheckFlagResponseData.js +1 -0
- package/serialization/types/CheckoutDataResponseData.d.ts +4 -0
- package/serialization/types/CheckoutDataResponseData.js +4 -0
- package/serialization/types/CompanyDetailResponseData.d.ts +2 -1
- package/serialization/types/CompanyDetailResponseData.js +2 -1
- package/serialization/types/CompanyOverrideResponseData.d.ts +1 -0
- package/serialization/types/CompanyOverrideResponseData.js +1 -0
- package/serialization/types/CompanyPlanDetailResponseData.d.ts +4 -0
- package/serialization/types/CompanyPlanDetailResponseData.js +4 -0
- package/serialization/types/CompanyPlanWithBillingSubView.d.ts +2 -0
- package/serialization/types/CompanyPlanWithBillingSubView.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/CreateBillingPriceTierRequestBody.d.ts +1 -0
- package/serialization/types/CreateBillingPriceTierRequestBody.js +1 -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/DataExportResponseData.d.ts +20 -0
- package/serialization/types/DataExportResponseData.js +51 -0
- package/serialization/types/EntitlementTriggerConfig.d.ts +12 -0
- package/serialization/types/EntitlementTriggerConfig.js +43 -0
- package/serialization/types/EventSummaryResponseData.d.ts +2 -2
- package/serialization/types/EventSummaryResponseData.js +2 -2
- package/serialization/types/FeatureUsageDataResponseData.d.ts +20 -0
- package/serialization/types/FeatureUsageDataResponseData.js +51 -0
- package/serialization/types/PlanDetailResponseData.d.ts +3 -0
- package/serialization/types/PlanDetailResponseData.js +3 -0
- package/serialization/types/PlanEntitlementResponseData.d.ts +5 -0
- package/serialization/types/PlanEntitlementResponseData.js +5 -0
- package/serialization/types/PlanGroupPlanDetailResponseData.d.ts +4 -0
- package/serialization/types/PlanGroupPlanDetailResponseData.js +4 -0
- package/serialization/types/PlanGroupResponseData.d.ts +2 -0
- package/serialization/types/PlanGroupResponseData.js +2 -0
- package/serialization/types/PlanTraitResponseData.d.ts +19 -0
- package/serialization/types/PlanTraitResponseData.js +50 -0
- package/serialization/types/PreviewSubscriptionChangeResponseData.d.ts +5 -0
- package/serialization/types/PreviewSubscriptionChangeResponseData.js +5 -0
- package/serialization/types/PreviewSubscriptionFinanceResponseData.d.ts +21 -0
- package/serialization/types/PreviewSubscriptionFinanceResponseData.js +52 -0
- package/serialization/types/PreviewSubscriptionUpcomingInvoiceLineItems.d.ts +16 -0
- package/serialization/types/PreviewSubscriptionUpcomingInvoiceLineItems.js +47 -0
- package/serialization/types/QuickstartResp.d.ts +12 -0
- package/serialization/types/QuickstartResp.js +43 -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 +3 -1
- package/serialization/types/UpsertUserRequestBody.js +5 -1
- package/serialization/types/UpsertUserSubRequestBody.d.ts +1 -0
- package/serialization/types/UpsertUserSubRequestBody.js +1 -0
- package/serialization/types/UsageBasedEntitlementRequestBody.d.ts +12 -1
- package/serialization/types/UsageBasedEntitlementRequestBody.js +12 -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/WebhookResponseData.d.ts +2 -0
- package/serialization/types/WebhookResponseData.js +2 -0
- package/serialization/types/index.d.ts +19 -0
- package/serialization/types/index.js +19 -0
- package/dist/serialization/resources/billing/types/CreateBillingPriceRequestBodyTierMode.d.ts +0 -10
- package/serialization/resources/billing/types/CreateBillingPriceRequestBodyTierMode.d.ts +0 -10
- /package/api/resources/{billing/client/requests/ListCustomersRequest.js → accounts/types/QuickstartResponse.js} +0 -0
- /package/api/resources/billing/{types/ListCustomersParams.js → client/requests/ListCustomersWithSubscriptionsRequest.js} +0 -0
- /package/api/resources/billing/types/{ListCustomersResponse.js → ListCustomersWithSubscriptionsParams.js} +0 -0
- /package/{dist/api/resources/billing/client/requests/ListCustomersRequest.js → api/resources/billing/types/ListCustomersWithSubscriptionsResponse.js} +0 -0
- /package/{dist/api/resources/billing/types/ListCustomersParams.js → api/resources/companies/client/requests/CountCompaniesForAdvancedFilterRequest.js} +0 -0
- /package/{dist/api/resources/billing/types/ListCustomersResponse.js → api/resources/companies/client/requests/ListCompaniesForAdvancedFilterRequest.js} +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./requests";
|
|
@@ -0,0 +1,17 @@
|
|
|
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("./requests"), exports);
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
/**
|
|
5
|
+
* @example
|
|
6
|
+
* {}
|
|
7
|
+
*/
|
|
8
|
+
export interface CountBillingCreditsGrantsRequest {
|
|
9
|
+
creditId?: string;
|
|
10
|
+
ids?: string | string[];
|
|
11
|
+
/**
|
|
12
|
+
* Page limit (default 100)
|
|
13
|
+
*/
|
|
14
|
+
limit?: number;
|
|
15
|
+
/**
|
|
16
|
+
* Page offset (default 0)
|
|
17
|
+
*/
|
|
18
|
+
offset?: number;
|
|
19
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
/**
|
|
5
|
+
* @example
|
|
6
|
+
* {}
|
|
7
|
+
*/
|
|
8
|
+
export interface CountBillingCreditsRequest {
|
|
9
|
+
ids?: string | string[];
|
|
10
|
+
name?: string;
|
|
11
|
+
/**
|
|
12
|
+
* Page limit (default 100)
|
|
13
|
+
*/
|
|
14
|
+
limit?: number;
|
|
15
|
+
/**
|
|
16
|
+
* Page offset (default 0)
|
|
17
|
+
*/
|
|
18
|
+
offset?: number;
|
|
19
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
/**
|
|
5
|
+
* @example
|
|
6
|
+
* {}
|
|
7
|
+
*/
|
|
8
|
+
export interface CountBillingPlanCreditGrantsRequest {
|
|
9
|
+
creditId?: string;
|
|
10
|
+
planId?: string;
|
|
11
|
+
ids?: string | string[];
|
|
12
|
+
/**
|
|
13
|
+
* Page limit (default 100)
|
|
14
|
+
*/
|
|
15
|
+
limit?: number;
|
|
16
|
+
/**
|
|
17
|
+
* Page offset (default 0)
|
|
18
|
+
*/
|
|
19
|
+
offset?: number;
|
|
20
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as Schematic from "../../../../index";
|
|
5
|
+
/**
|
|
6
|
+
* @example
|
|
7
|
+
* {}
|
|
8
|
+
*/
|
|
9
|
+
export interface CountCreditBundlesRequest {
|
|
10
|
+
ids?: string | string[];
|
|
11
|
+
creditId?: string;
|
|
12
|
+
status?: Schematic.CountCreditBundlesRequestStatus;
|
|
13
|
+
bundleType?: "fixed";
|
|
14
|
+
/**
|
|
15
|
+
* Page limit (default 100)
|
|
16
|
+
*/
|
|
17
|
+
limit?: number;
|
|
18
|
+
/**
|
|
19
|
+
* Page offset (default 0)
|
|
20
|
+
*/
|
|
21
|
+
offset?: number;
|
|
22
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as Schematic from "../../../../index";
|
|
5
|
+
/**
|
|
6
|
+
* @example
|
|
7
|
+
* {
|
|
8
|
+
* currency: "currency",
|
|
9
|
+
* description: "description",
|
|
10
|
+
* name: "name"
|
|
11
|
+
* }
|
|
12
|
+
*/
|
|
13
|
+
export interface CreateBillingCreditRequestBody {
|
|
14
|
+
burnStrategy?: Schematic.CreateBillingCreditRequestBodyBurnStrategy;
|
|
15
|
+
currency: string;
|
|
16
|
+
defaultExpiryUnit?: string;
|
|
17
|
+
defaultExpiryUnitCount?: number;
|
|
18
|
+
defaultRolloverPolicy?: Schematic.CreateBillingCreditRequestBodyDefaultRolloverPolicy;
|
|
19
|
+
description: string;
|
|
20
|
+
icon?: string;
|
|
21
|
+
name: string;
|
|
22
|
+
perUnitPrice?: number;
|
|
23
|
+
perUnitPriceDecimal?: string;
|
|
24
|
+
pluralName?: string;
|
|
25
|
+
singularName?: string;
|
|
26
|
+
}
|
package/dist/api/resources/credits/client/requests/CreateBillingPlanCreditGrantRequestBody.d.ts
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as Schematic from "../../../../index";
|
|
5
|
+
/**
|
|
6
|
+
* @example
|
|
7
|
+
* {
|
|
8
|
+
* creditAmount: 1,
|
|
9
|
+
* creditId: "credit_id",
|
|
10
|
+
* planId: "plan_id",
|
|
11
|
+
* resetCadence: "monthly",
|
|
12
|
+
* resetStart: "billing_period"
|
|
13
|
+
* }
|
|
14
|
+
*/
|
|
15
|
+
export interface CreateBillingPlanCreditGrantRequestBody {
|
|
16
|
+
creditAmount: number;
|
|
17
|
+
creditId: string;
|
|
18
|
+
planId: string;
|
|
19
|
+
resetCadence: Schematic.CreateBillingPlanCreditGrantRequestBodyResetCadence;
|
|
20
|
+
resetStart: Schematic.CreateBillingPlanCreditGrantRequestBodyResetStart;
|
|
21
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as Schematic from "../../../../index";
|
|
5
|
+
/**
|
|
6
|
+
* @example
|
|
7
|
+
* {
|
|
8
|
+
* creditId: "credit_id",
|
|
9
|
+
* currency: "currency",
|
|
10
|
+
* pricePerUnit: 1
|
|
11
|
+
* }
|
|
12
|
+
*/
|
|
13
|
+
export interface CreateCreditBundleRequestBody {
|
|
14
|
+
bundleType?: "fixed";
|
|
15
|
+
creditId: string;
|
|
16
|
+
currency: string;
|
|
17
|
+
expiryType?: Schematic.CreateCreditBundleRequestBodyExpiryType;
|
|
18
|
+
expiryUnit?: "days";
|
|
19
|
+
expiryUnitCount?: number;
|
|
20
|
+
pricePerUnit: number;
|
|
21
|
+
pricePerUnitDecimal?: string;
|
|
22
|
+
quantity?: number;
|
|
23
|
+
status?: Schematic.CreateCreditBundleRequestBodyStatus;
|
|
24
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
/**
|
|
5
|
+
* @example
|
|
6
|
+
* {}
|
|
7
|
+
*/
|
|
8
|
+
export interface ListBillingCreditsRequest {
|
|
9
|
+
ids?: string | string[];
|
|
10
|
+
name?: string;
|
|
11
|
+
/**
|
|
12
|
+
* Page limit (default 100)
|
|
13
|
+
*/
|
|
14
|
+
limit?: number;
|
|
15
|
+
/**
|
|
16
|
+
* Page offset (default 0)
|
|
17
|
+
*/
|
|
18
|
+
offset?: number;
|
|
19
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
/**
|
|
5
|
+
* @example
|
|
6
|
+
* {}
|
|
7
|
+
*/
|
|
8
|
+
export interface ListBillingPlanCreditGrantsRequest {
|
|
9
|
+
creditId?: string;
|
|
10
|
+
planId?: string;
|
|
11
|
+
ids?: string | string[];
|
|
12
|
+
/**
|
|
13
|
+
* Page limit (default 100)
|
|
14
|
+
*/
|
|
15
|
+
limit?: number;
|
|
16
|
+
/**
|
|
17
|
+
* Page offset (default 0)
|
|
18
|
+
*/
|
|
19
|
+
offset?: number;
|
|
20
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as Schematic from "../../../../index";
|
|
5
|
+
/**
|
|
6
|
+
* @example
|
|
7
|
+
* {}
|
|
8
|
+
*/
|
|
9
|
+
export interface ListCompanyGrantsRequest {
|
|
10
|
+
companyId?: string;
|
|
11
|
+
order?: Schematic.ListCompanyGrantsRequestOrder;
|
|
12
|
+
dir?: Schematic.ListCompanyGrantsRequestDir;
|
|
13
|
+
/**
|
|
14
|
+
* Page limit (default 100)
|
|
15
|
+
*/
|
|
16
|
+
limit?: number;
|
|
17
|
+
/**
|
|
18
|
+
* Page offset (default 0)
|
|
19
|
+
*/
|
|
20
|
+
offset?: number;
|
|
21
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as Schematic from "../../../../index";
|
|
5
|
+
/**
|
|
6
|
+
* @example
|
|
7
|
+
* {}
|
|
8
|
+
*/
|
|
9
|
+
export interface ListCreditBundlesRequest {
|
|
10
|
+
ids?: string | string[];
|
|
11
|
+
creditId?: string;
|
|
12
|
+
status?: Schematic.ListCreditBundlesRequestStatus;
|
|
13
|
+
bundleType?: "fixed";
|
|
14
|
+
/**
|
|
15
|
+
* Page limit (default 100)
|
|
16
|
+
*/
|
|
17
|
+
limit?: number;
|
|
18
|
+
/**
|
|
19
|
+
* Page offset (default 0)
|
|
20
|
+
*/
|
|
21
|
+
offset?: number;
|
|
22
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
/**
|
|
5
|
+
* @example
|
|
6
|
+
* {}
|
|
7
|
+
*/
|
|
8
|
+
export interface ListGrantsForCreditRequest {
|
|
9
|
+
creditId?: string;
|
|
10
|
+
ids?: string | string[];
|
|
11
|
+
/**
|
|
12
|
+
* Page limit (default 100)
|
|
13
|
+
*/
|
|
14
|
+
limit?: number;
|
|
15
|
+
/**
|
|
16
|
+
* Page offset (default 0)
|
|
17
|
+
*/
|
|
18
|
+
offset?: number;
|
|
19
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as Schematic from "../../../../index";
|
|
5
|
+
/**
|
|
6
|
+
* @example
|
|
7
|
+
* {
|
|
8
|
+
* description: "description",
|
|
9
|
+
* name: "name"
|
|
10
|
+
* }
|
|
11
|
+
*/
|
|
12
|
+
export interface UpdateBillingCreditRequestBody {
|
|
13
|
+
burnStrategy?: Schematic.UpdateBillingCreditRequestBodyBurnStrategy;
|
|
14
|
+
defaultExpiryUnit?: "days";
|
|
15
|
+
defaultExpiryUnitCount?: number;
|
|
16
|
+
defaultRolloverPolicy?: Schematic.UpdateBillingCreditRequestBodyDefaultRolloverPolicy;
|
|
17
|
+
description: string;
|
|
18
|
+
icon?: string;
|
|
19
|
+
name: string;
|
|
20
|
+
perUnitPrice?: number;
|
|
21
|
+
perUnitPriceDecimal?: string;
|
|
22
|
+
pluralName?: string;
|
|
23
|
+
singularName?: string;
|
|
24
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
export { type ListBillingCreditsRequest } from "./ListBillingCreditsRequest";
|
|
2
|
+
export { type CreateBillingCreditRequestBody } from "./CreateBillingCreditRequestBody";
|
|
3
|
+
export { type UpdateBillingCreditRequestBody } from "./UpdateBillingCreditRequestBody";
|
|
4
|
+
export { type ListCreditBundlesRequest } from "./ListCreditBundlesRequest";
|
|
5
|
+
export { type CreateCreditBundleRequestBody } from "./CreateCreditBundleRequestBody";
|
|
6
|
+
export { type CountCreditBundlesRequest } from "./CountCreditBundlesRequest";
|
|
7
|
+
export { type CountBillingCreditsRequest } from "./CountBillingCreditsRequest";
|
|
8
|
+
export { type ZeroOutGrantRequestBody } from "./ZeroOutGrantRequestBody";
|
|
9
|
+
export { type ListCompanyGrantsRequest } from "./ListCompanyGrantsRequest";
|
|
10
|
+
export { type CountBillingCreditsGrantsRequest } from "./CountBillingCreditsGrantsRequest";
|
|
11
|
+
export { type ListGrantsForCreditRequest } from "./ListGrantsForCreditRequest";
|
|
12
|
+
export { type ListBillingPlanCreditGrantsRequest } from "./ListBillingPlanCreditGrantsRequest";
|
|
13
|
+
export { type CreateBillingPlanCreditGrantRequestBody } from "./CreateBillingPlanCreditGrantRequestBody";
|
|
14
|
+
export { type CountBillingPlanCreditGrantsRequest } from "./CountBillingPlanCreditGrantsRequest";
|
|
@@ -0,0 +1,18 @@
|
|
|
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("./types"), exports);
|
|
18
|
+
__exportStar(require("./client"), exports);
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
/**
|
|
5
|
+
* Input parameters
|
|
6
|
+
*/
|
|
7
|
+
export interface CountBillingCreditsGrantsParams {
|
|
8
|
+
creditId?: string;
|
|
9
|
+
ids?: string[];
|
|
10
|
+
/** Page limit (default 100) */
|
|
11
|
+
limit?: number;
|
|
12
|
+
/** Page offset (default 0) */
|
|
13
|
+
offset?: number;
|
|
14
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as Schematic from "../../../index";
|
|
5
|
+
export interface CountBillingCreditsGrantsResponse {
|
|
6
|
+
data: Schematic.CountResponse;
|
|
7
|
+
/** Input parameters */
|
|
8
|
+
params: Schematic.CountBillingCreditsGrantsParams;
|
|
9
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
/**
|
|
5
|
+
* Input parameters
|
|
6
|
+
*/
|
|
7
|
+
export interface CountBillingCreditsParams {
|
|
8
|
+
ids?: string[];
|
|
9
|
+
/** Page limit (default 100) */
|
|
10
|
+
limit?: number;
|
|
11
|
+
name?: string;
|
|
12
|
+
/** Page offset (default 0) */
|
|
13
|
+
offset?: number;
|
|
14
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as Schematic from "../../../index";
|
|
5
|
+
export interface CountBillingCreditsResponse {
|
|
6
|
+
data: Schematic.CountResponse;
|
|
7
|
+
/** Input parameters */
|
|
8
|
+
params: Schematic.CountBillingCreditsParams;
|
|
9
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
/**
|
|
5
|
+
* Input parameters
|
|
6
|
+
*/
|
|
7
|
+
export interface CountBillingPlanCreditGrantsParams {
|
|
8
|
+
creditId?: string;
|
|
9
|
+
ids?: string[];
|
|
10
|
+
/** Page limit (default 100) */
|
|
11
|
+
limit?: number;
|
|
12
|
+
/** Page offset (default 0) */
|
|
13
|
+
offset?: number;
|
|
14
|
+
planId?: string;
|
|
15
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as Schematic from "../../../index";
|
|
5
|
+
export interface CountBillingPlanCreditGrantsResponse {
|
|
6
|
+
data: Schematic.CountResponse;
|
|
7
|
+
/** Input parameters */
|
|
8
|
+
params: Schematic.CountBillingPlanCreditGrantsParams;
|
|
9
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as Schematic from "../../../index";
|
|
5
|
+
/**
|
|
6
|
+
* Input parameters
|
|
7
|
+
*/
|
|
8
|
+
export interface CountCreditBundlesParams {
|
|
9
|
+
bundleType?: "fixed";
|
|
10
|
+
creditId?: string;
|
|
11
|
+
ids?: string[];
|
|
12
|
+
/** Page limit (default 100) */
|
|
13
|
+
limit?: number;
|
|
14
|
+
/** Page offset (default 0) */
|
|
15
|
+
offset?: number;
|
|
16
|
+
status?: Schematic.CountCreditBundlesResponseParamsStatus;
|
|
17
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
export type CountCreditBundlesRequestStatus = "active" | "inactive";
|
|
5
|
+
export declare const CountCreditBundlesRequestStatus: {
|
|
6
|
+
readonly Active: "active";
|
|
7
|
+
readonly Inactive: "inactive";
|
|
8
|
+
};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.CountCreditBundlesRequestStatus = void 0;
|
|
7
|
+
exports.CountCreditBundlesRequestStatus = {
|
|
8
|
+
Active: "active",
|
|
9
|
+
Inactive: "inactive",
|
|
10
|
+
};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as Schematic from "../../../index";
|
|
5
|
+
export interface CountCreditBundlesResponse {
|
|
6
|
+
data: Schematic.CountResponse;
|
|
7
|
+
/** Input parameters */
|
|
8
|
+
params: Schematic.CountCreditBundlesParams;
|
|
9
|
+
}
|