@schematichq/schematic-typescript-node 1.2.7 → 1.3.1
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/dist/BaseClient.d.ts +40 -0
- package/dist/Client.d.ts +55 -74
- package/dist/api/errors/BadRequestError.d.ts +2 -5
- package/dist/api/errors/ForbiddenError.d.ts +2 -5
- package/dist/api/errors/InternalServerError.d.ts +2 -5
- package/dist/api/errors/NotFoundError.d.ts +2 -5
- package/dist/api/errors/UnauthorizedError.d.ts +2 -5
- package/dist/api/errors/index.d.ts +2 -2
- package/dist/api/index.d.ts +1 -1
- package/dist/api/resources/accesstokens/client/Client.d.ts +11 -31
- package/dist/api/resources/accesstokens/client/requests/IssueTemporaryAccessTokenRequestBody.d.ts +1 -6
- package/dist/api/resources/accesstokens/client/requests/index.d.ts +1 -1
- package/dist/api/resources/accesstokens/index.d.ts +1 -1
- package/dist/api/resources/accesstokens/types/IssueTemporaryAccessTokenResponse.d.ts +1 -4
- package/dist/api/resources/accounts/client/Client.d.ts +45 -64
- package/dist/api/resources/accounts/client/requests/CountApiKeysRequest.d.ts +2 -9
- package/dist/api/resources/accounts/client/requests/CountApiRequestsRequest.d.ts +2 -9
- package/dist/api/resources/accounts/client/requests/CreateApiKeyRequestBody.d.ts +0 -3
- package/dist/api/resources/accounts/client/requests/CreateEnvironmentRequestBody.d.ts +1 -4
- package/dist/api/resources/accounts/client/requests/ListApiKeysRequest.d.ts +2 -9
- package/dist/api/resources/accounts/client/requests/ListApiRequestsRequest.d.ts +2 -9
- package/dist/api/resources/accounts/client/requests/ListEnvironmentsRequest.d.ts +2 -9
- package/dist/api/resources/accounts/client/requests/UpdateApiKeyRequestBody.d.ts +0 -3
- package/dist/api/resources/accounts/client/requests/UpdateEnvironmentRequestBody.d.ts +1 -4
- package/dist/api/resources/accounts/client/requests/index.d.ts +9 -9
- package/dist/api/resources/accounts/index.d.ts +1 -1
- package/dist/api/resources/accounts/types/CountApiKeysParams.d.ts +0 -3
- package/dist/api/resources/accounts/types/CountApiKeysResponse.d.ts +1 -4
- package/dist/api/resources/accounts/types/CountApiRequestsParams.d.ts +0 -3
- package/dist/api/resources/accounts/types/CountApiRequestsResponse.d.ts +1 -4
- package/dist/api/resources/accounts/types/CreateApiKeyResponse.d.ts +1 -4
- package/dist/api/resources/accounts/types/CreateEnvironmentResponse.d.ts +1 -4
- package/dist/api/resources/accounts/types/DeleteApiKeyResponse.d.ts +1 -4
- package/dist/api/resources/accounts/types/DeleteEnvironmentResponse.d.ts +1 -4
- package/dist/api/resources/accounts/types/GetApiKeyResponse.d.ts +1 -4
- package/dist/api/resources/accounts/types/GetApiRequestResponse.d.ts +1 -4
- package/dist/api/resources/accounts/types/GetEnvironmentResponse.d.ts +1 -4
- package/dist/api/resources/accounts/types/ListApiKeysParams.d.ts +0 -3
- package/dist/api/resources/accounts/types/ListApiKeysResponse.d.ts +1 -4
- package/dist/api/resources/accounts/types/ListApiRequestsParams.d.ts +0 -3
- package/dist/api/resources/accounts/types/ListApiRequestsResponse.d.ts +1 -4
- package/dist/api/resources/accounts/types/ListEnvironmentsParams.d.ts +0 -3
- package/dist/api/resources/accounts/types/ListEnvironmentsResponse.d.ts +1 -4
- package/dist/api/resources/accounts/types/QuickstartResponse.d.ts +1 -4
- package/dist/api/resources/accounts/types/UpdateApiKeyResponse.d.ts +1 -4
- package/dist/api/resources/accounts/types/UpdateEnvironmentResponse.d.ts +1 -4
- package/dist/api/resources/accounts/types/index.d.ts +13 -13
- package/dist/api/resources/billing/client/Client.d.ts +66 -82
- package/dist/api/resources/billing/client/requests/CountBillingProductsRequest.d.ts +18 -33
- package/dist/api/resources/billing/client/requests/CountCustomersRequest.d.ts +5 -11
- package/dist/api/resources/billing/client/requests/CreateBillingCustomerRequestBody.d.ts +2 -5
- package/dist/api/resources/billing/client/requests/CreateBillingPriceRequestBody.d.ts +2 -4
- package/dist/api/resources/billing/client/requests/CreateBillingProductRequestBody.d.ts +2 -3
- package/dist/api/resources/billing/client/requests/CreateBillingSubscriptionRequestBody.d.ts +3 -6
- package/dist/api/resources/billing/client/requests/CreateCouponRequestBody.d.ts +0 -3
- package/dist/api/resources/billing/client/requests/CreateInvoiceRequestBody.d.ts +0 -3
- package/dist/api/resources/billing/client/requests/CreateMeterRequestBody.d.ts +0 -3
- package/dist/api/resources/billing/client/requests/CreatePaymentMethodRequestBody.d.ts +0 -3
- package/dist/api/resources/billing/client/requests/ListBillingPricesRequest.d.ts +9 -22
- package/dist/api/resources/billing/client/requests/ListBillingProductPricesRequest.d.ts +9 -22
- package/dist/api/resources/billing/client/requests/ListBillingProductsRequest.d.ts +18 -33
- package/dist/api/resources/billing/client/requests/ListCouponsRequest.d.ts +2 -9
- package/dist/api/resources/billing/client/requests/ListCustomersWithSubscriptionsRequest.d.ts +5 -11
- package/dist/api/resources/billing/client/requests/ListInvoicesRequest.d.ts +2 -9
- package/dist/api/resources/billing/client/requests/ListMetersRequest.d.ts +2 -9
- package/dist/api/resources/billing/client/requests/ListPaymentMethodsRequest.d.ts +2 -9
- package/dist/api/resources/billing/client/requests/index.d.ts +18 -18
- package/dist/api/resources/billing/index.d.ts +1 -1
- package/dist/api/resources/billing/types/CountBillingProductsParams.d.ts +3 -5
- package/dist/api/resources/billing/types/CountBillingProductsResponse.d.ts +1 -4
- package/dist/api/resources/billing/types/CountCustomersParams.d.ts +2 -4
- package/dist/api/resources/billing/types/CountCustomersResponse.d.ts +1 -4
- package/dist/api/resources/billing/types/DeleteBillingProductResponse.d.ts +1 -4
- package/dist/api/resources/billing/types/DeleteProductPriceResponse.d.ts +1 -4
- package/dist/api/resources/billing/types/ListBillingPricesParams.d.ts +2 -4
- package/dist/api/resources/billing/types/ListBillingPricesResponse.d.ts +1 -4
- package/dist/api/resources/billing/types/ListBillingProductPricesParams.d.ts +2 -4
- package/dist/api/resources/billing/types/ListBillingProductPricesResponse.d.ts +1 -4
- package/dist/api/resources/billing/types/ListBillingProductsParams.d.ts +3 -5
- package/dist/api/resources/billing/types/ListBillingProductsResponse.d.ts +1 -4
- package/dist/api/resources/billing/types/ListCouponsParams.d.ts +0 -3
- package/dist/api/resources/billing/types/ListCouponsResponse.d.ts +1 -4
- package/dist/api/resources/billing/types/ListCustomersWithSubscriptionsParams.d.ts +2 -4
- package/dist/api/resources/billing/types/ListCustomersWithSubscriptionsResponse.d.ts +1 -4
- package/dist/api/resources/billing/types/ListInvoicesParams.d.ts +0 -3
- package/dist/api/resources/billing/types/ListInvoicesResponse.d.ts +1 -4
- package/dist/api/resources/billing/types/ListMetersParams.d.ts +0 -3
- package/dist/api/resources/billing/types/ListMetersResponse.d.ts +1 -4
- package/dist/api/resources/billing/types/ListPaymentMethodsParams.d.ts +0 -3
- package/dist/api/resources/billing/types/ListPaymentMethodsResponse.d.ts +1 -4
- package/dist/api/resources/billing/types/UpsertBillingCouponResponse.d.ts +1 -4
- package/dist/api/resources/billing/types/UpsertBillingCustomerResponse.d.ts +1 -4
- package/dist/api/resources/billing/types/UpsertBillingMeterResponse.d.ts +1 -4
- package/dist/api/resources/billing/types/UpsertBillingPriceResponse.d.ts +1 -4
- package/dist/api/resources/billing/types/UpsertBillingProductResponse.d.ts +1 -4
- package/dist/api/resources/billing/types/UpsertBillingSubscriptionResponse.d.ts +1 -4
- package/dist/api/resources/billing/types/UpsertInvoiceResponse.d.ts +1 -4
- package/dist/api/resources/billing/types/UpsertPaymentMethodResponse.d.ts +1 -4
- package/dist/api/resources/billing/types/index.d.ts +17 -17
- package/dist/api/resources/checkout/client/Client.d.ts +23 -42
- package/dist/api/resources/checkout/client/requests/CancelSubscriptionRequest.d.ts +0 -3
- package/dist/api/resources/checkout/client/requests/CheckoutDataRequestBody.d.ts +0 -3
- package/dist/api/resources/checkout/client/requests/UpdateTrialEndRequestBody.d.ts +0 -3
- package/dist/api/resources/checkout/client/requests/index.d.ts +3 -3
- package/dist/api/resources/checkout/index.d.ts +1 -1
- package/dist/api/resources/checkout/types/CancelSubscriptionResponse.d.ts +1 -4
- package/dist/api/resources/checkout/types/CheckoutInternalResponse.d.ts +1 -4
- package/dist/api/resources/checkout/types/GetCheckoutDataResponse.d.ts +1 -4
- package/dist/api/resources/checkout/types/ManagePlanResponse.d.ts +1 -4
- package/dist/api/resources/checkout/types/PreviewCheckoutInternalResponse.d.ts +1 -4
- package/dist/api/resources/checkout/types/PreviewManagePlanResponse.d.ts +1 -4
- package/dist/api/resources/checkout/types/UpdateCustomerSubscriptionTrialEndResponse.d.ts +1 -4
- package/dist/api/resources/checkout/types/index.d.ts +2 -2
- package/dist/api/resources/companies/client/Client.d.ts +101 -140
- package/dist/api/resources/companies/client/requests/CountCompaniesForAdvancedFilterRequest.d.ts +16 -49
- package/dist/api/resources/companies/client/requests/CountCompaniesRequest.d.ts +8 -27
- package/dist/api/resources/companies/client/requests/CountEntityKeyDefinitionsRequest.d.ts +3 -10
- package/dist/api/resources/companies/client/requests/CountEntityTraitDefinitionsRequest.d.ts +3 -10
- package/dist/api/resources/companies/client/requests/CountPlanTraitsRequest.d.ts +2 -9
- package/dist/api/resources/companies/client/requests/CountUsersRequest.d.ts +6 -21
- package/dist/api/resources/companies/client/requests/CreateEntityTraitDefinitionRequestBody.d.ts +1 -4
- package/dist/api/resources/companies/client/requests/CreatePlanTraitRequestBody.d.ts +0 -3
- package/dist/api/resources/companies/client/requests/DeleteCompanyRequest.d.ts +0 -3
- package/dist/api/resources/companies/client/requests/GetActiveCompanySubscriptionRequest.d.ts +2 -9
- package/dist/api/resources/companies/client/requests/GetEntityTraitValuesRequest.d.ts +2 -9
- package/dist/api/resources/companies/client/requests/GetOrCreateCompanyMembershipRequestBody.d.ts +0 -3
- package/dist/api/resources/companies/client/requests/ListCompaniesForAdvancedFilterRequest.d.ts +16 -49
- package/dist/api/resources/companies/client/requests/ListCompaniesRequest.d.ts +8 -27
- package/dist/api/resources/companies/client/requests/ListCompanyMembershipsRequest.d.ts +2 -9
- package/dist/api/resources/companies/client/requests/ListEntityKeyDefinitionsRequest.d.ts +3 -10
- package/dist/api/resources/companies/client/requests/ListEntityTraitDefinitionsRequest.d.ts +3 -10
- package/dist/api/resources/companies/client/requests/ListPlanChangesRequest.d.ts +2 -9
- package/dist/api/resources/companies/client/requests/ListPlanTraitsRequest.d.ts +2 -9
- package/dist/api/resources/companies/client/requests/ListUsersRequest.d.ts +6 -21
- package/dist/api/resources/companies/client/requests/LookupCompanyRequest.d.ts +1 -6
- package/dist/api/resources/companies/client/requests/LookupUserRequest.d.ts +1 -6
- package/dist/api/resources/companies/client/requests/UpdateEntityTraitDefinitionRequestBody.d.ts +1 -4
- package/dist/api/resources/companies/client/requests/UpdatePlanTraitBulkRequestBody.d.ts +1 -4
- package/dist/api/resources/companies/client/requests/UpdatePlanTraitRequestBody.d.ts +0 -3
- package/dist/api/resources/companies/client/requests/index.d.ts +25 -26
- package/dist/api/resources/companies/index.d.ts +1 -1
- package/dist/api/resources/companies/types/CountCompaniesForAdvancedFilterParams.d.ts +1 -4
- package/dist/api/resources/companies/types/CountCompaniesForAdvancedFilterResponse.d.ts +1 -4
- package/dist/api/resources/companies/types/CountCompaniesParams.d.ts +0 -3
- package/dist/api/resources/companies/types/CountCompaniesResponse.d.ts +1 -4
- package/dist/api/resources/companies/types/CountEntityKeyDefinitionsParams.d.ts +1 -4
- package/dist/api/resources/companies/types/CountEntityKeyDefinitionsResponse.d.ts +1 -4
- package/dist/api/resources/companies/types/CountEntityTraitDefinitionsParams.d.ts +1 -4
- package/dist/api/resources/companies/types/CountEntityTraitDefinitionsResponse.d.ts +1 -4
- package/dist/api/resources/companies/types/CountPlanTraitsParams.d.ts +0 -3
- package/dist/api/resources/companies/types/CountPlanTraitsResponse.d.ts +1 -4
- package/dist/api/resources/companies/types/CountUsersParams.d.ts +0 -3
- package/dist/api/resources/companies/types/CountUsersResponse.d.ts +1 -4
- package/dist/api/resources/companies/types/CreateCompanyResponse.d.ts +1 -4
- package/dist/api/resources/companies/types/CreatePlanTraitResponse.d.ts +1 -4
- package/dist/api/resources/companies/types/CreateUserResponse.d.ts +1 -4
- package/dist/api/resources/companies/types/DeleteCompanyByKeysResponse.d.ts +1 -4
- package/dist/api/resources/companies/types/DeleteCompanyMembershipResponse.d.ts +1 -4
- package/dist/api/resources/companies/types/DeleteCompanyParams.d.ts +0 -3
- package/dist/api/resources/companies/types/DeleteCompanyResponse.d.ts +1 -4
- package/dist/api/resources/companies/types/DeletePlanTraitResponse.d.ts +1 -4
- package/dist/api/resources/companies/types/DeleteUserByKeysResponse.d.ts +1 -4
- package/dist/api/resources/companies/types/DeleteUserResponse.d.ts +1 -4
- package/dist/api/resources/companies/types/GetActiveCompanySubscriptionParams.d.ts +0 -3
- package/dist/api/resources/companies/types/GetActiveCompanySubscriptionResponse.d.ts +1 -4
- package/dist/api/resources/companies/types/GetCompanyResponse.d.ts +1 -4
- package/dist/api/resources/companies/types/GetEntityTraitDefinitionResponse.d.ts +1 -4
- package/dist/api/resources/companies/types/GetEntityTraitValuesParams.d.ts +0 -3
- package/dist/api/resources/companies/types/GetEntityTraitValuesResponse.d.ts +1 -4
- package/dist/api/resources/companies/types/GetOrCreateCompanyMembershipResponse.d.ts +1 -4
- package/dist/api/resources/companies/types/GetOrCreateEntityTraitDefinitionResponse.d.ts +1 -4
- package/dist/api/resources/companies/types/GetPlanChangeResponse.d.ts +1 -4
- package/dist/api/resources/companies/types/GetPlanTraitResponse.d.ts +1 -4
- package/dist/api/resources/companies/types/GetUserResponse.d.ts +1 -4
- package/dist/api/resources/companies/types/ListCompaniesForAdvancedFilterParams.d.ts +1 -4
- package/dist/api/resources/companies/types/ListCompaniesForAdvancedFilterResponse.d.ts +1 -4
- package/dist/api/resources/companies/types/ListCompaniesParams.d.ts +0 -3
- package/dist/api/resources/companies/types/ListCompaniesResponse.d.ts +1 -4
- package/dist/api/resources/companies/types/ListCompanyMembershipsParams.d.ts +0 -3
- package/dist/api/resources/companies/types/ListCompanyMembershipsResponse.d.ts +1 -4
- package/dist/api/resources/companies/types/ListEntityKeyDefinitionsParams.d.ts +1 -4
- package/dist/api/resources/companies/types/ListEntityKeyDefinitionsResponse.d.ts +1 -4
- package/dist/api/resources/companies/types/ListEntityTraitDefinitionsParams.d.ts +1 -4
- package/dist/api/resources/companies/types/ListEntityTraitDefinitionsResponse.d.ts +1 -4
- package/dist/api/resources/companies/types/ListPlanChangesParams.d.ts +0 -3
- package/dist/api/resources/companies/types/ListPlanChangesResponse.d.ts +1 -4
- package/dist/api/resources/companies/types/ListPlanTraitsParams.d.ts +0 -3
- package/dist/api/resources/companies/types/ListPlanTraitsResponse.d.ts +1 -4
- package/dist/api/resources/companies/types/ListUsersParams.d.ts +0 -3
- package/dist/api/resources/companies/types/ListUsersResponse.d.ts +1 -4
- package/dist/api/resources/companies/types/LookupCompanyParams.d.ts +0 -3
- package/dist/api/resources/companies/types/LookupCompanyResponse.d.ts +1 -4
- package/dist/api/resources/companies/types/LookupUserParams.d.ts +0 -3
- package/dist/api/resources/companies/types/LookupUserResponse.d.ts +1 -4
- package/dist/api/resources/companies/types/UpdateEntityTraitDefinitionResponse.d.ts +1 -4
- package/dist/api/resources/companies/types/UpdatePlanTraitResponse.d.ts +1 -4
- package/dist/api/resources/companies/types/UpdatePlanTraitsBulkResponse.d.ts +1 -4
- package/dist/api/resources/companies/types/UpsertCompanyResponse.d.ts +1 -4
- package/dist/api/resources/companies/types/UpsertCompanyTraitResponse.d.ts +1 -4
- package/dist/api/resources/companies/types/UpsertUserResponse.d.ts +1 -4
- package/dist/api/resources/companies/types/UpsertUserTraitResponse.d.ts +1 -4
- package/dist/api/resources/companies/types/index.d.ts +40 -42
- package/dist/api/resources/components/client/Client.d.ts +25 -44
- package/dist/api/resources/components/client/requests/CountComponentsRequest.d.ts +2 -9
- package/dist/api/resources/components/client/requests/CreateComponentRequestBody.d.ts +1 -4
- package/dist/api/resources/components/client/requests/ListComponentsRequest.d.ts +2 -9
- package/dist/api/resources/components/client/requests/PreviewComponentDataRequest.d.ts +0 -3
- package/dist/api/resources/components/client/requests/UpdateComponentRequestBody.d.ts +1 -4
- package/dist/api/resources/components/client/requests/index.d.ts +5 -5
- package/dist/api/resources/components/index.d.ts +1 -1
- package/dist/api/resources/components/types/CountComponentsParams.d.ts +0 -3
- package/dist/api/resources/components/types/CountComponentsResponse.d.ts +1 -4
- package/dist/api/resources/components/types/CreateComponentResponse.d.ts +1 -4
- package/dist/api/resources/components/types/DeleteComponentResponse.d.ts +1 -4
- package/dist/api/resources/components/types/GetComponentResponse.d.ts +1 -4
- package/dist/api/resources/components/types/ListComponentsParams.d.ts +0 -3
- package/dist/api/resources/components/types/ListComponentsResponse.d.ts +1 -4
- package/dist/api/resources/components/types/PreviewComponentDataParams.d.ts +0 -3
- package/dist/api/resources/components/types/PreviewComponentDataResponse.d.ts +1 -4
- package/dist/api/resources/components/types/UpdateComponentResponse.d.ts +1 -4
- package/dist/api/resources/components/types/index.d.ts +6 -6
- package/dist/api/resources/credits/client/Client.d.ts +86 -84
- package/dist/api/resources/credits/client/requests/CountBillingCreditsGrantsRequest.d.ts +2 -9
- package/dist/api/resources/credits/client/requests/CountBillingCreditsRequest.d.ts +2 -9
- package/dist/api/resources/credits/client/requests/CountBillingPlanCreditGrantsRequest.d.ts +2 -9
- package/dist/api/resources/credits/client/requests/CountCompanyGrantsRequest.d.ts +20 -0
- package/dist/api/resources/credits/client/requests/CountCreditBundlesRequest.d.ts +3 -10
- package/dist/api/resources/credits/client/requests/CountCreditLedgerRequest.d.ts +3 -10
- package/dist/api/resources/credits/client/requests/CreateBillingCreditRequestBody.d.ts +1 -4
- package/dist/api/resources/credits/client/requests/CreateCompanyCreditGrant.d.ts +1 -4
- package/dist/api/resources/credits/client/requests/CreateCreditBundleRequestBody.d.ts +1 -4
- package/dist/api/resources/credits/client/requests/DeleteBillingPlanCreditGrantRequest.d.ts +0 -3
- package/dist/api/resources/credits/client/requests/GetEnrichedCreditLedgerRequest.d.ts +3 -10
- package/dist/api/resources/credits/client/requests/ListBillingCreditsRequest.d.ts +2 -9
- package/dist/api/resources/credits/client/requests/ListBillingPlanCreditGrantsRequest.d.ts +2 -9
- package/dist/api/resources/credits/client/requests/ListCompanyGrantsRequest.d.ts +3 -10
- package/dist/api/resources/credits/client/requests/ListCreditBundlesRequest.d.ts +3 -10
- package/dist/api/resources/credits/client/requests/ListGrantsForCreditRequest.d.ts +2 -9
- package/dist/api/resources/credits/client/requests/UpdateBillingCreditRequestBody.d.ts +1 -4
- package/dist/api/resources/credits/client/requests/UpdateCreditBundleDetailsRequestBody.d.ts +1 -4
- package/dist/api/resources/credits/client/requests/ZeroOutGrantRequestBody.d.ts +1 -4
- package/dist/api/resources/credits/client/requests/index.d.ts +19 -20
- package/dist/api/resources/credits/index.d.ts +1 -1
- package/dist/api/resources/credits/types/CountBillingCreditsGrantsParams.d.ts +0 -3
- package/dist/api/resources/credits/types/CountBillingCreditsGrantsResponse.d.ts +1 -4
- package/dist/api/resources/credits/types/CountBillingCreditsParams.d.ts +0 -3
- package/dist/api/resources/credits/types/CountBillingCreditsResponse.d.ts +1 -4
- package/dist/api/resources/credits/types/CountBillingPlanCreditGrantsParams.d.ts +0 -3
- package/dist/api/resources/credits/types/CountBillingPlanCreditGrantsResponse.d.ts +1 -4
- package/dist/api/resources/credits/types/CountCompanyGrantsParams.d.ts +13 -0
- package/dist/api/resources/credits/types/CountCompanyGrantsResponse.d.ts +6 -0
- package/dist/api/resources/credits/types/CountCreditBundlesParams.d.ts +1 -4
- package/dist/api/resources/credits/types/CountCreditBundlesResponse.d.ts +1 -4
- package/dist/api/resources/credits/types/CountCreditLedgerParams.d.ts +1 -4
- package/dist/api/resources/credits/types/CountCreditLedgerResponse.d.ts +1 -4
- package/dist/api/resources/credits/types/CreateBillingCreditResponse.d.ts +1 -4
- package/dist/api/resources/credits/types/CreateBillingPlanCreditGrantResponse.d.ts +1 -4
- package/dist/api/resources/credits/types/CreateCreditBundleResponse.d.ts +1 -4
- package/dist/api/resources/credits/types/DeleteBillingPlanCreditGrantParams.d.ts +0 -3
- package/dist/api/resources/credits/types/DeleteBillingPlanCreditGrantResponse.d.ts +1 -4
- package/dist/api/resources/credits/types/DeleteCreditBundleResponse.d.ts +1 -4
- package/dist/api/resources/credits/types/GetCreditBundleResponse.d.ts +1 -4
- package/dist/api/resources/credits/types/GetEnrichedCreditLedgerParams.d.ts +1 -4
- package/dist/api/resources/credits/types/GetEnrichedCreditLedgerResponse.d.ts +1 -4
- package/dist/api/resources/credits/types/GetSingleBillingCreditResponse.d.ts +1 -4
- package/dist/api/resources/credits/types/GrantBillingCreditsToCompanyResponse.d.ts +1 -4
- package/dist/api/resources/credits/types/ListBillingCreditsParams.d.ts +0 -3
- package/dist/api/resources/credits/types/ListBillingCreditsResponse.d.ts +1 -4
- package/dist/api/resources/credits/types/ListBillingPlanCreditGrantsParams.d.ts +0 -3
- package/dist/api/resources/credits/types/ListBillingPlanCreditGrantsResponse.d.ts +1 -4
- package/dist/api/resources/credits/types/ListCompanyGrantsParams.d.ts +1 -4
- package/dist/api/resources/credits/types/ListCompanyGrantsResponse.d.ts +1 -4
- package/dist/api/resources/credits/types/ListCreditBundlesParams.d.ts +1 -4
- package/dist/api/resources/credits/types/ListCreditBundlesResponse.d.ts +1 -4
- package/dist/api/resources/credits/types/ListGrantsForCreditParams.d.ts +0 -3
- package/dist/api/resources/credits/types/ListGrantsForCreditResponse.d.ts +1 -4
- package/dist/api/resources/credits/types/SoftDeleteBillingCreditResponse.d.ts +1 -4
- package/dist/api/resources/credits/types/UpdateBillingCreditResponse.d.ts +1 -4
- package/dist/api/resources/credits/types/UpdateBillingPlanCreditGrantResponse.d.ts +1 -4
- package/dist/api/resources/credits/types/UpdateCreditBundleDetailsResponse.d.ts +1 -4
- package/dist/api/resources/credits/types/ZeroOutGrantResponse.d.ts +1 -4
- package/dist/api/resources/credits/types/index.d.ts +29 -27
- package/dist/api/resources/dataexports/client/Client.d.ts +13 -34
- package/dist/api/resources/dataexports/client/requests/CreateDataExportRequestBody.d.ts +1 -6
- package/dist/api/resources/dataexports/client/requests/index.d.ts +1 -1
- package/dist/api/resources/dataexports/index.d.ts +1 -1
- package/dist/api/resources/dataexports/types/CreateDataExportResponse.d.ts +1 -4
- package/dist/api/resources/entitlements/client/Client.d.ts +56 -73
- package/dist/api/resources/entitlements/client/requests/CountCompanyOverridesRequest.d.ts +9 -30
- package/dist/api/resources/entitlements/client/requests/CountFeatureCompaniesRequest.d.ts +2 -9
- package/dist/api/resources/entitlements/client/requests/CountFeatureUsageRequest.d.ts +5 -9
- package/dist/api/resources/entitlements/client/requests/CountFeatureUsersRequest.d.ts +2 -9
- package/dist/api/resources/entitlements/client/requests/CountPlanEntitlementsRequest.d.ts +9 -30
- package/dist/api/resources/entitlements/client/requests/CreateCompanyOverrideRequestBody.d.ts +1 -4
- package/dist/api/resources/entitlements/client/requests/CreatePlanEntitlementRequestBody.d.ts +1 -4
- package/dist/api/resources/entitlements/client/requests/DuplicatePlanEntitlementsRequestBody.d.ts +0 -3
- package/dist/api/resources/entitlements/client/requests/GetFeatureUsageByCompanyRequest.d.ts +1 -6
- package/dist/api/resources/entitlements/client/requests/ListCompanyOverridesRequest.d.ts +9 -30
- package/dist/api/resources/entitlements/client/requests/ListFeatureCompaniesRequest.d.ts +2 -9
- package/dist/api/resources/entitlements/client/requests/ListFeatureUsageRequest.d.ts +5 -9
- package/dist/api/resources/entitlements/client/requests/ListFeatureUsersRequest.d.ts +2 -9
- package/dist/api/resources/entitlements/client/requests/ListPlanEntitlementsRequest.d.ts +9 -30
- package/dist/api/resources/entitlements/client/requests/UpdateCompanyOverrideRequestBody.d.ts +1 -4
- package/dist/api/resources/entitlements/client/requests/UpdatePlanEntitlementRequestBody.d.ts +1 -4
- package/dist/api/resources/entitlements/client/requests/index.d.ts +16 -16
- package/dist/api/resources/entitlements/index.d.ts +1 -1
- package/dist/api/resources/entitlements/types/CountCompanyOverridesParams.d.ts +0 -3
- package/dist/api/resources/entitlements/types/CountCompanyOverridesResponse.d.ts +1 -4
- package/dist/api/resources/entitlements/types/CountFeatureCompaniesParams.d.ts +0 -3
- package/dist/api/resources/entitlements/types/CountFeatureCompaniesResponse.d.ts +1 -4
- package/dist/api/resources/entitlements/types/CountFeatureUsageParams.d.ts +2 -3
- package/dist/api/resources/entitlements/types/CountFeatureUsageResponse.d.ts +1 -4
- package/dist/api/resources/entitlements/types/CountFeatureUsersParams.d.ts +0 -3
- package/dist/api/resources/entitlements/types/CountFeatureUsersResponse.d.ts +1 -4
- package/dist/api/resources/entitlements/types/CountPlanEntitlementsParams.d.ts +0 -3
- package/dist/api/resources/entitlements/types/CountPlanEntitlementsResponse.d.ts +1 -4
- package/dist/api/resources/entitlements/types/CreateCompanyOverrideRequestBodyMetricPeriod.d.ts +1 -4
- package/dist/api/resources/entitlements/types/CreateCompanyOverrideRequestBodyMetricPeriodMonthReset.d.ts +1 -4
- package/dist/api/resources/entitlements/types/CreateCompanyOverrideResponse.d.ts +1 -4
- package/dist/api/resources/entitlements/types/CreatePlanEntitlementRequestBodyMetricPeriod.d.ts +1 -4
- package/dist/api/resources/entitlements/types/CreatePlanEntitlementRequestBodyMetricPeriodMonthReset.d.ts +1 -4
- package/dist/api/resources/entitlements/types/CreatePlanEntitlementResponse.d.ts +1 -4
- package/dist/api/resources/entitlements/types/DeleteCompanyOverrideResponse.d.ts +1 -4
- package/dist/api/resources/entitlements/types/DeletePlanEntitlementResponse.d.ts +1 -4
- package/dist/api/resources/entitlements/types/DuplicatePlanEntitlementsResponse.d.ts +1 -4
- package/dist/api/resources/entitlements/types/GetCompanyOverrideResponse.d.ts +1 -4
- package/dist/api/resources/entitlements/types/GetFeatureUsageByCompanyParams.d.ts +0 -3
- package/dist/api/resources/entitlements/types/GetFeatureUsageByCompanyResponse.d.ts +1 -4
- package/dist/api/resources/entitlements/types/GetPlanEntitlementResponse.d.ts +1 -4
- package/dist/api/resources/entitlements/types/ListCompanyOverridesParams.d.ts +0 -3
- package/dist/api/resources/entitlements/types/ListCompanyOverridesResponse.d.ts +1 -4
- package/dist/api/resources/entitlements/types/ListFeatureCompaniesParams.d.ts +0 -3
- package/dist/api/resources/entitlements/types/ListFeatureCompaniesResponse.d.ts +1 -4
- package/dist/api/resources/entitlements/types/ListFeatureUsageParams.d.ts +2 -3
- package/dist/api/resources/entitlements/types/ListFeatureUsageResponse.d.ts +1 -4
- package/dist/api/resources/entitlements/types/ListFeatureUsersParams.d.ts +0 -3
- package/dist/api/resources/entitlements/types/ListFeatureUsersResponse.d.ts +1 -4
- package/dist/api/resources/entitlements/types/ListPlanEntitlementsParams.d.ts +0 -3
- package/dist/api/resources/entitlements/types/ListPlanEntitlementsResponse.d.ts +1 -4
- package/dist/api/resources/entitlements/types/UpdateCompanyOverrideRequestBodyMetricPeriod.d.ts +1 -4
- package/dist/api/resources/entitlements/types/UpdateCompanyOverrideRequestBodyMetricPeriodMonthReset.d.ts +1 -4
- package/dist/api/resources/entitlements/types/UpdateCompanyOverrideResponse.d.ts +1 -4
- package/dist/api/resources/entitlements/types/UpdatePlanEntitlementRequestBodyMetricPeriod.d.ts +1 -4
- package/dist/api/resources/entitlements/types/UpdatePlanEntitlementRequestBodyMetricPeriodMonthReset.d.ts +1 -4
- package/dist/api/resources/entitlements/types/UpdatePlanEntitlementResponse.d.ts +1 -4
- package/dist/api/resources/entitlements/types/index.d.ts +24 -24
- package/dist/api/resources/events/client/Client.d.ts +21 -40
- package/dist/api/resources/events/client/requests/CreateEventBatchRequestBody.d.ts +1 -4
- package/dist/api/resources/events/client/requests/GetEventSummariesRequest.d.ts +2 -9
- package/dist/api/resources/events/client/requests/ListEventsRequest.d.ts +3 -10
- package/dist/api/resources/events/client/requests/index.d.ts +3 -3
- package/dist/api/resources/events/index.d.ts +1 -1
- package/dist/api/resources/events/types/CreateEventBatchResponse.d.ts +1 -4
- package/dist/api/resources/events/types/CreateEventResponse.d.ts +1 -4
- package/dist/api/resources/events/types/GetEventResponse.d.ts +1 -4
- package/dist/api/resources/events/types/GetEventSummariesParams.d.ts +0 -3
- package/dist/api/resources/events/types/GetEventSummariesResponse.d.ts +1 -4
- package/dist/api/resources/events/types/GetSegmentIntegrationStatusResponse.d.ts +1 -4
- package/dist/api/resources/events/types/ListEventsParams.d.ts +1 -4
- package/dist/api/resources/events/types/ListEventsResponse.d.ts +1 -4
- package/dist/api/resources/events/types/index.d.ts +3 -3
- package/dist/api/resources/features/client/Client.d.ts +47 -66
- package/dist/api/resources/features/client/requests/CheckFlagsBulkRequestBody.d.ts +1 -4
- package/dist/api/resources/features/client/requests/CountFeaturesRequest.d.ts +8 -25
- package/dist/api/resources/features/client/requests/CountFlagsRequest.d.ts +3 -12
- package/dist/api/resources/features/client/requests/CreateFeatureRequestBody.d.ts +1 -4
- package/dist/api/resources/features/client/requests/ListFeaturesRequest.d.ts +8 -25
- package/dist/api/resources/features/client/requests/ListFlagsRequest.d.ts +3 -12
- package/dist/api/resources/features/client/requests/UpdateFeatureRequestBody.d.ts +1 -4
- package/dist/api/resources/features/client/requests/UpdateFlagRulesRequestBody.d.ts +1 -4
- package/dist/api/resources/features/client/requests/index.d.ts +8 -8
- package/dist/api/resources/features/index.d.ts +1 -1
- package/dist/api/resources/features/types/CheckFlagResponse.d.ts +1 -4
- package/dist/api/resources/features/types/CheckFlagsBulkResponse.d.ts +1 -4
- package/dist/api/resources/features/types/CheckFlagsResponse.d.ts +1 -4
- package/dist/api/resources/features/types/CountFeaturesParams.d.ts +1 -4
- package/dist/api/resources/features/types/CountFeaturesResponse.d.ts +1 -4
- package/dist/api/resources/features/types/CountFlagsParams.d.ts +0 -3
- package/dist/api/resources/features/types/CountFlagsResponse.d.ts +1 -4
- package/dist/api/resources/features/types/CreateFeatureResponse.d.ts +1 -4
- package/dist/api/resources/features/types/CreateFlagResponse.d.ts +1 -4
- package/dist/api/resources/features/types/DeleteFeatureResponse.d.ts +1 -4
- package/dist/api/resources/features/types/DeleteFlagResponse.d.ts +1 -4
- package/dist/api/resources/features/types/GetFeatureResponse.d.ts +1 -4
- package/dist/api/resources/features/types/GetFlagResponse.d.ts +1 -4
- package/dist/api/resources/features/types/ListFeaturesParams.d.ts +1 -4
- package/dist/api/resources/features/types/ListFeaturesResponse.d.ts +1 -4
- package/dist/api/resources/features/types/ListFlagsParams.d.ts +0 -3
- package/dist/api/resources/features/types/ListFlagsResponse.d.ts +1 -4
- package/dist/api/resources/features/types/UpdateFeatureResponse.d.ts +1 -4
- package/dist/api/resources/features/types/UpdateFlagResponse.d.ts +1 -4
- package/dist/api/resources/features/types/UpdateFlagRulesResponse.d.ts +1 -4
- package/dist/api/resources/features/types/index.d.ts +14 -14
- package/dist/api/resources/index.d.ts +25 -25
- package/dist/api/resources/planbundle/client/Client.d.ts +52 -0
- package/dist/api/resources/planbundle/client/requests/CreatePlanBundleRequestBody.d.ts +16 -0
- package/dist/api/resources/planbundle/client/requests/UpdatePlanBundleRequestBody.d.ts +16 -0
- package/dist/api/resources/planbundle/client/requests/index.d.ts +2 -0
- package/dist/api/resources/planbundle/types/CreatePlanBundleResponse.d.ts +6 -0
- package/dist/api/resources/planbundle/types/UpdatePlanBundleResponse.d.ts +6 -0
- package/dist/api/resources/planbundle/types/index.d.ts +2 -0
- package/dist/api/resources/plangroups/client/Client.d.ts +15 -34
- package/dist/api/resources/plangroups/client/requests/CreatePlanGroupRequestBody.d.ts +1 -4
- package/dist/api/resources/plangroups/client/requests/UpdatePlanGroupRequestBody.d.ts +1 -4
- package/dist/api/resources/plangroups/client/requests/index.d.ts +2 -2
- package/dist/api/resources/plangroups/index.d.ts +1 -1
- package/dist/api/resources/plangroups/types/CreatePlanGroupResponse.d.ts +1 -4
- package/dist/api/resources/plangroups/types/GetPlanGroupResponse.d.ts +1 -4
- package/dist/api/resources/plangroups/types/UpdatePlanGroupResponse.d.ts +1 -4
- package/dist/api/resources/plangroups/types/index.d.ts +1 -1
- package/dist/api/resources/plans/client/Client.d.ts +31 -50
- package/dist/api/resources/plans/client/requests/CountPlansRequest.d.ts +10 -31
- package/dist/api/resources/plans/client/requests/ListPlanIssuesRequest.d.ts +0 -3
- package/dist/api/resources/plans/client/requests/ListPlansRequest.d.ts +10 -31
- package/dist/api/resources/plans/client/requests/UpdateCompanyPlansRequestBody.d.ts +0 -3
- package/dist/api/resources/plans/client/requests/index.d.ts +4 -7
- package/dist/api/resources/plans/index.d.ts +1 -1
- package/dist/api/resources/plans/types/CountPlansParams.d.ts +1 -4
- package/dist/api/resources/plans/types/CountPlansResponse.d.ts +1 -4
- package/dist/api/resources/plans/types/CreatePlanResponse.d.ts +1 -4
- package/dist/api/resources/plans/types/DeletePlanResponse.d.ts +1 -4
- package/dist/api/resources/plans/types/GetPlanResponse.d.ts +1 -4
- package/dist/api/resources/plans/types/ListPlanIssuesParams.d.ts +0 -3
- package/dist/api/resources/plans/types/ListPlanIssuesResponse.d.ts +1 -4
- package/dist/api/resources/plans/types/ListPlansParams.d.ts +1 -4
- package/dist/api/resources/plans/types/ListPlansResponse.d.ts +1 -4
- package/dist/api/resources/plans/types/UpdateCompanyPlansResponse.d.ts +1 -4
- package/dist/api/resources/plans/types/UpdatePlanResponse.d.ts +1 -4
- package/dist/api/resources/plans/types/UpsertBillingProductPlanResponse.d.ts +1 -4
- package/dist/api/resources/plans/types/index.d.ts +8 -8
- package/dist/api/resources/webhooks/client/Client.d.ts +30 -49
- package/dist/api/resources/webhooks/client/requests/CountWebhookEventsRequest.d.ts +2 -9
- package/dist/api/resources/webhooks/client/requests/CountWebhooksRequest.d.ts +2 -9
- package/dist/api/resources/webhooks/client/requests/CreateWebhookRequestBody.d.ts +1 -4
- package/dist/api/resources/webhooks/client/requests/ListWebhookEventsRequest.d.ts +2 -9
- package/dist/api/resources/webhooks/client/requests/ListWebhooksRequest.d.ts +2 -9
- package/dist/api/resources/webhooks/client/requests/UpdateWebhookRequestBody.d.ts +1 -4
- package/dist/api/resources/webhooks/client/requests/index.d.ts +6 -6
- package/dist/api/resources/webhooks/index.d.ts +1 -1
- package/dist/api/resources/webhooks/types/CountWebhookEventsParams.d.ts +0 -3
- package/dist/api/resources/webhooks/types/CountWebhookEventsResponse.d.ts +1 -4
- package/dist/api/resources/webhooks/types/CountWebhooksParams.d.ts +0 -3
- package/dist/api/resources/webhooks/types/CountWebhooksResponse.d.ts +1 -4
- package/dist/api/resources/webhooks/types/CreateWebhookResponse.d.ts +1 -4
- package/dist/api/resources/webhooks/types/DeleteWebhookResponse.d.ts +1 -4
- package/dist/api/resources/webhooks/types/GetWebhookEventResponse.d.ts +1 -4
- package/dist/api/resources/webhooks/types/GetWebhookResponse.d.ts +1 -4
- package/dist/api/resources/webhooks/types/ListWebhookEventsParams.d.ts +0 -3
- package/dist/api/resources/webhooks/types/ListWebhookEventsResponse.d.ts +1 -4
- package/dist/api/resources/webhooks/types/ListWebhooksParams.d.ts +0 -3
- package/dist/api/resources/webhooks/types/ListWebhooksResponse.d.ts +1 -4
- package/dist/api/resources/webhooks/types/UpdateWebhookResponse.d.ts +1 -4
- package/dist/api/resources/webhooks/types/index.d.ts +8 -8
- package/dist/api/types/ApiError.d.ts +0 -3
- package/dist/api/types/ApiKeyCreateResponseData.d.ts +1 -4
- package/dist/api/types/ApiKeyRequestListResponseData.d.ts +0 -3
- package/dist/api/types/ApiKeyRequestResponseData.d.ts +1 -4
- package/dist/api/types/ApiKeyResponseData.d.ts +1 -4
- package/dist/api/types/ApiKeyScope.d.ts +1 -4
- package/dist/api/types/BillingCouponResponseData.d.ts +2 -3
- package/dist/api/types/BillingCreditBundleResponseData.d.ts +1 -4
- package/dist/api/types/BillingCreditBundleStatus.d.ts +1 -4
- package/dist/api/types/BillingCreditBundleType.d.ts +0 -3
- package/dist/api/types/BillingCreditBundleView.d.ts +1 -4
- package/dist/api/types/BillingCreditBurnStrategy.d.ts +1 -4
- package/dist/api/types/BillingCreditExpiryType.d.ts +1 -4
- package/dist/api/types/BillingCreditExpiryUnit.d.ts +1 -4
- package/dist/api/types/BillingCreditGrantReason.d.ts +1 -4
- package/dist/api/types/BillingCreditGrantResponseData.d.ts +4 -4
- package/dist/api/types/BillingCreditGrantZeroedOutReason.d.ts +1 -4
- package/dist/api/types/BillingCreditLedgerResponseData.d.ts +0 -3
- package/dist/api/types/BillingCreditResponseData.d.ts +1 -4
- package/dist/api/types/BillingCreditRolloverPolicy.d.ts +1 -4
- package/dist/api/types/BillingCustomerResponseData.d.ts +2 -4
- package/dist/api/types/BillingCustomerSubscription.d.ts +0 -3
- package/dist/api/types/BillingCustomerWithSubscriptionsResponseData.d.ts +2 -5
- package/dist/api/types/BillingMeterResponseData.d.ts +2 -3
- package/dist/api/types/BillingPlanCreditGrantResetCadence.d.ts +1 -4
- package/dist/api/types/BillingPlanCreditGrantResetStart.d.ts +1 -4
- package/dist/api/types/BillingPlanCreditGrantResetType.d.ts +1 -4
- package/dist/api/types/BillingPlanCreditGrantResponseData.d.ts +1 -4
- package/dist/api/types/BillingPriceResponseData.d.ts +2 -4
- package/dist/api/types/BillingPriceScheme.d.ts +1 -4
- package/dist/api/types/BillingPriceUsageType.d.ts +1 -4
- package/dist/api/types/BillingPriceView.d.ts +2 -4
- package/dist/api/types/BillingProductDetailResponseData.d.ts +2 -4
- package/dist/api/types/BillingProductForSubscriptionResponseData.d.ts +2 -4
- package/dist/api/types/BillingProductPlanResponseData.d.ts +1 -4
- package/dist/api/types/BillingProductPriceInterval.d.ts +1 -4
- package/dist/api/types/BillingProductPriceResponseData.d.ts +2 -4
- package/dist/api/types/BillingProductPriceTierResponseData.d.ts +0 -3
- package/dist/api/types/BillingProductPricing.d.ts +1 -4
- package/dist/api/types/BillingProductResponseData.d.ts +2 -3
- package/dist/api/types/BillingProviderType.d.ts +5 -0
- package/dist/api/types/BillingSubscriptionDiscount.d.ts +0 -3
- package/dist/api/types/BillingSubscriptionDiscountView.d.ts +0 -3
- package/dist/api/types/BillingSubscriptionResponseData.d.ts +2 -4
- package/dist/api/types/BillingSubscriptionTrialEndSetting.d.ts +1 -4
- package/dist/api/types/BillingSubscriptionView.d.ts +2 -4
- package/dist/api/types/BillingTiersMode.d.ts +1 -4
- package/dist/api/types/ChangeSubscriptionInternalRequestBody.d.ts +1 -4
- package/dist/api/types/ChangeSubscriptionRequestBody.d.ts +1 -4
- package/dist/api/types/ChargeType.d.ts +1 -4
- package/dist/api/types/CheckFlagRequestBody.d.ts +0 -3
- package/dist/api/types/CheckFlagResponseData.d.ts +0 -3
- package/dist/api/types/CheckFlagsBulkResponseData.d.ts +1 -4
- package/dist/api/types/CheckFlagsResponseData.d.ts +1 -4
- package/dist/api/types/CheckoutDataResponseData.d.ts +1 -4
- package/dist/api/types/CheckoutSettingsResponseData.d.ts +0 -3
- package/dist/api/types/CheckoutSubscription.d.ts +2 -4
- package/dist/api/types/CompanyDetailResponseData.d.ts +1 -4
- package/dist/api/types/CompanyEventPeriodMetricsResponseData.d.ts +0 -3
- package/dist/api/types/CompanyLedgerResponseData.d.ts +0 -3
- package/dist/api/types/CompanyMembershipDetailResponseData.d.ts +1 -4
- package/dist/api/types/CompanyMembershipResponseData.d.ts +0 -3
- package/dist/api/types/CompanyOverrideNoteResponseData.d.ts +0 -3
- package/dist/api/types/CompanyOverrideResponseData.d.ts +1 -4
- package/dist/api/types/CompanyPlanDetailResponseData.d.ts +2 -4
- package/dist/api/types/CompanyPlanInvalidReason.d.ts +1 -4
- package/dist/api/types/CompanyPlanWithBillingSubView.d.ts +2 -4
- package/dist/api/types/CompanyResponseData.d.ts +0 -3
- package/dist/api/types/CompanySubscriptionResponseData.d.ts +1 -4
- package/dist/api/types/CompanyViewWithFeatureUsageResponseData.d.ts +1 -4
- package/dist/api/types/CompatiblePlans.d.ts +0 -3
- package/dist/api/types/CompatiblePlansResponseData.d.ts +0 -3
- package/dist/api/types/ComponentCapabilities.d.ts +0 -3
- package/dist/api/types/ComponentCheckoutSettings.d.ts +0 -3
- package/dist/api/types/ComponentDisplaySettings.d.ts +0 -3
- package/dist/api/types/ComponentEntityType.d.ts +1 -4
- package/dist/api/types/ComponentHydrateResponseData.d.ts +1 -4
- package/dist/api/types/ComponentPreviewResponseData.d.ts +1 -4
- package/dist/api/types/ComponentResponseData.d.ts +1 -4
- package/dist/api/types/ComponentSettingsResponseData.d.ts +0 -3
- package/dist/api/types/ComponentState.d.ts +1 -4
- package/dist/api/types/Condition.d.ts +1 -4
- package/dist/api/types/ConditionConditionType.d.ts +1 -4
- package/dist/api/types/ConditionGroup.d.ts +1 -4
- package/dist/api/types/ConditionMetricPeriod.d.ts +1 -4
- package/dist/api/types/ConditionMetricPeriodMonthReset.d.ts +1 -4
- package/dist/api/types/ConditionOperator.d.ts +1 -4
- package/dist/api/types/CountResponse.d.ts +0 -3
- package/dist/api/types/CouponRequestBody.d.ts +0 -3
- package/dist/api/{resources/credits/client/requests → types}/CreateBillingPlanCreditGrantRequestBody.d.ts +1 -14
- package/dist/api/types/CreateBillingPriceTierRequestBody.d.ts +2 -3
- package/dist/api/types/CreateEntitlementInBundleRequestBody.d.ts +29 -0
- package/dist/api/types/CreateEntitlementInBundleRequestBodyMetricPeriod.d.ts +7 -0
- package/dist/api/types/CreateEntitlementInBundleRequestBodyMetricPeriodMonthReset.d.ts +5 -0
- package/dist/api/types/CreateEntitlementReqCommon.d.ts +1 -4
- package/dist/api/types/CreateEntitlementReqCommonMetricPeriod.d.ts +1 -4
- package/dist/api/types/CreateEntitlementReqCommonMetricPeriodMonthReset.d.ts +1 -4
- package/dist/api/types/CreateEventRequestBody.d.ts +1 -4
- package/dist/api/types/CreateFlagRequestBody.d.ts +1 -4
- package/dist/api/types/CreateOrUpdateConditionGroupRequestBody.d.ts +1 -4
- package/dist/api/types/CreateOrUpdateConditionRequestBody.d.ts +1 -4
- package/dist/api/types/CreateOrUpdateConditionRequestBodyConditionType.d.ts +1 -5
- package/dist/api/types/CreateOrUpdateConditionRequestBodyMetricPeriod.d.ts +2 -7
- package/dist/api/types/CreateOrUpdateConditionRequestBodyMetricPeriodMonthReset.d.ts +2 -7
- package/dist/api/types/CreateOrUpdateConditionRequestBodyOperator.d.ts +1 -4
- package/dist/api/types/CreateOrUpdateFlagRequestBody.d.ts +1 -4
- package/dist/api/types/CreateOrUpdateRuleRequestBody.d.ts +1 -4
- package/dist/api/types/CreateOrUpdateRuleRequestBodyRuleType.d.ts +1 -4
- package/dist/api/types/CreatePlanRequestBody.d.ts +7 -0
- package/dist/api/types/CreatePriceTierRequestBody.d.ts +0 -3
- package/dist/api/types/CreditAutoTopupAmountType.d.ts +0 -3
- package/dist/api/types/CreditBundlePurchaseResponseData.d.ts +1 -4
- package/dist/api/types/CreditCompanyGrantView.d.ts +5 -4
- package/dist/api/types/CreditGrantDetail.d.ts +1 -4
- package/dist/api/types/CreditGrantExpiryRequestBody.d.ts +1 -4
- package/dist/api/types/CreditGrantSortOrder.d.ts +1 -4
- package/dist/api/types/CreditLedgerEnrichedEntryResponseData.d.ts +1 -4
- package/dist/api/types/CreditLedgerPeriod.d.ts +1 -4
- package/dist/api/types/CreditTransferResponseData.d.ts +8 -0
- package/dist/api/types/CreditTransferView.d.ts +8 -0
- package/dist/api/types/CreditTriggerConfig.d.ts +0 -3
- package/dist/api/types/CreditUsage.d.ts +2 -4
- package/dist/api/types/CreditUsageAggregation.d.ts +10 -0
- package/dist/api/types/CreditUsageResponseData.d.ts +2 -4
- package/dist/api/types/CustomPlanConfig.d.ts +0 -3
- package/dist/api/types/CustomPlanViewConfigResponseData.d.ts +0 -3
- package/dist/api/types/DataExportOutputFileType.d.ts +0 -3
- package/dist/api/types/DataExportResponseData.d.ts +1 -4
- package/dist/api/types/DataExportStatus.d.ts +1 -4
- package/dist/api/types/DataExportType.d.ts +0 -3
- package/dist/api/types/DeleteBillingPlanCreditGrantRequestBody.d.ts +3 -0
- package/dist/api/types/DeleteResponse.d.ts +0 -3
- package/dist/api/types/DuplicatePlanEntitlementsResponseResponseData.d.ts +1 -4
- package/dist/api/types/EntitlementPriceBehavior.d.ts +1 -4
- package/dist/api/types/EntitlementTriggerConfig.d.ts +0 -3
- package/dist/api/types/EntitlementType.d.ts +1 -4
- package/dist/api/types/EntitlementValueType.d.ts +1 -4
- package/dist/api/types/EntitlementsInPlan.d.ts +0 -3
- package/dist/api/types/EntityKeyDefinitionResponseData.d.ts +1 -4
- package/dist/api/types/EntityKeyDetailResponseData.d.ts +1 -4
- package/dist/api/types/EntityKeyResponseData.d.ts +1 -4
- package/dist/api/types/EntityTraitDefinitionResponseData.d.ts +1 -4
- package/dist/api/types/EntityTraitDetailResponseData.d.ts +1 -4
- package/dist/api/types/EntityTraitResponseData.d.ts +0 -3
- package/dist/api/types/EntityTraitValue.d.ts +0 -3
- package/dist/api/types/EntityType.d.ts +1 -4
- package/dist/api/types/EnvironmentDetailResponseData.d.ts +1 -4
- package/dist/api/types/EnvironmentResponseData.d.ts +1 -4
- package/dist/api/types/EnvironmentType.d.ts +1 -4
- package/dist/api/types/EventBody.d.ts +1 -4
- package/dist/api/types/EventBodyFlagCheck.d.ts +0 -3
- package/dist/api/types/EventBodyIdentify.d.ts +1 -4
- package/dist/api/types/EventBodyIdentifyCompany.d.ts +0 -3
- package/dist/api/types/EventBodyTrack.d.ts +0 -3
- package/dist/api/types/EventDetailResponseData.d.ts +2 -5
- package/dist/api/types/EventResponseData.d.ts +2 -5
- package/dist/api/types/EventStatus.d.ts +1 -4
- package/dist/api/types/EventSummaryResponseData.d.ts +0 -3
- package/dist/api/types/EventType.d.ts +1 -4
- package/dist/api/types/FeatureCompanyResponseData.d.ts +5 -6
- package/dist/api/types/FeatureCompanyUserResponseData.d.ts +1 -4
- package/dist/api/types/FeatureDetailResponseData.d.ts +1 -4
- package/dist/api/types/FeatureLedgerResponseData.d.ts +0 -3
- package/dist/api/types/FeatureLifecyclePhase.d.ts +1 -4
- package/dist/api/types/FeatureResponseData.d.ts +1 -4
- package/dist/api/types/FeatureType.d.ts +1 -4
- package/dist/api/types/FeatureUsageDataResponseData.d.ts +1 -4
- package/dist/api/types/FeatureUsageDetailResponseData.d.ts +1 -4
- package/dist/api/types/FeatureUsageResponseData.d.ts +5 -6
- package/dist/api/types/FlagDetailResponseData.d.ts +1 -4
- package/dist/api/types/FlagResponseData.d.ts +1 -4
- package/dist/api/types/FlagType.d.ts +0 -3
- package/dist/api/types/GenericPreviewObject.d.ts +0 -3
- package/dist/api/types/InvoiceRequestBody.d.ts +0 -3
- package/dist/api/types/InvoiceResponseData.d.ts +2 -3
- package/dist/api/types/IssueTemporaryAccessTokenResponseData.d.ts +1 -4
- package/dist/api/types/KeysRequestBody.d.ts +0 -3
- package/dist/api/types/ManagePlanPreviewResponseResponseData.d.ts +1 -4
- package/dist/api/types/ManagePlanRequest.d.ts +1 -4
- package/dist/api/types/ManagePlanResponseResponseData.d.ts +1 -4
- package/dist/api/types/MeterRequestBody.d.ts +0 -3
- package/dist/api/types/OrderedPlansInGroup.d.ts +1 -4
- package/dist/api/types/PaymentMethodRequestBody.d.ts +0 -3
- package/dist/api/types/PaymentMethodResponseData.d.ts +2 -3
- package/dist/api/types/PlanBundleAction.d.ts +6 -0
- package/dist/api/types/PlanBundleCreditGrantRequestBody.d.ts +8 -0
- package/dist/api/types/PlanBundleEntitlementRequestBody.d.ts +6 -0
- package/dist/api/types/PlanBundleResponseData.d.ts +8 -0
- package/dist/api/types/PlanChangeAction.d.ts +1 -4
- package/dist/api/types/PlanChangeActorType.d.ts +1 -4
- package/dist/api/types/PlanChangeBasePlanAction.d.ts +1 -4
- package/dist/api/types/PlanChangeResponseData.d.ts +1 -4
- package/dist/api/types/PlanChangeSubscriptionAction.d.ts +2 -4
- package/dist/api/types/PlanControlledByType.d.ts +1 -4
- package/dist/api/types/PlanCreditGrantView.d.ts +1 -4
- package/dist/api/types/PlanDetailResponseData.d.ts +2 -4
- package/dist/api/types/PlanEntitlementResponseData.d.ts +1 -4
- package/dist/api/types/PlanEntitlementsOrder.d.ts +0 -3
- package/dist/api/types/PlanGroupBundleOrder.d.ts +0 -3
- package/dist/api/types/PlanGroupDetailResponseData.d.ts +1 -4
- package/dist/api/types/PlanGroupPlanDetailResponseData.d.ts +2 -4
- package/dist/api/types/PlanGroupPlanEntitlementsOrder.d.ts +1 -4
- package/dist/api/types/PlanGroupResponseData.d.ts +1 -4
- package/dist/api/types/PlanIssueResponseData.d.ts +0 -3
- package/dist/api/types/PlanResponseData.d.ts +1 -4
- package/dist/api/types/PlanSelection.d.ts +0 -3
- package/dist/api/types/PlanSnapshotView.d.ts +0 -3
- package/dist/api/types/PlanTraitResponseData.d.ts +0 -3
- package/dist/api/types/PlanType.d.ts +1 -4
- package/dist/api/types/PlanVersionResponseData.d.ts +14 -0
- package/dist/api/types/PlanVersionStatus.d.ts +6 -0
- package/dist/api/types/PreviewObject.d.ts +0 -3
- package/dist/api/types/PreviewObjectResponseData.d.ts +0 -3
- package/dist/api/types/PreviewSubscriptionChangeResponseData.d.ts +1 -4
- package/dist/api/types/PreviewSubscriptionFinanceResponseData.d.ts +1 -4
- package/dist/api/types/PreviewSubscriptionUpcomingInvoiceLineItems.d.ts +0 -3
- package/dist/api/types/ProrationBehavior.d.ts +1 -4
- package/dist/api/types/QuickstartResp.d.ts +0 -3
- package/dist/api/types/RawEventBatchResponseData.d.ts +1 -4
- package/dist/api/types/RawEventResponseData.d.ts +1 -4
- package/dist/api/types/Rule.d.ts +1 -4
- package/dist/api/types/RuleConditionDetailResponseData.d.ts +1 -4
- package/dist/api/types/RuleConditionGroupDetailResponseData.d.ts +1 -4
- package/dist/api/types/RuleConditionGroupResponseData.d.ts +0 -3
- package/dist/api/types/RuleConditionResponseData.d.ts +1 -4
- package/dist/api/types/RuleDetailResponseData.d.ts +1 -4
- package/dist/api/types/RuleResponseData.d.ts +0 -3
- package/dist/api/types/RuleRuleType.d.ts +1 -4
- package/dist/api/types/RulesDetailResponseData.d.ts +1 -4
- package/dist/api/types/RulesEngineSchemaVersion.d.ts +2 -7
- package/dist/api/types/RulesengineCheckFlagResult.d.ts +1 -4
- package/dist/api/types/RulesengineCheckFlagResultFeatureUsagePeriod.d.ts +1 -4
- package/dist/api/types/RulesengineCheckFlagResultRuleType.d.ts +1 -4
- package/dist/api/types/RulesengineCompany.d.ts +1 -4
- package/dist/api/types/RulesengineCompanyMetric.d.ts +1 -4
- package/dist/api/types/RulesengineCompanyMetricMonthReset.d.ts +1 -4
- package/dist/api/types/RulesengineCompanyMetricPeriod.d.ts +1 -4
- package/dist/api/types/RulesengineCondition.d.ts +1 -4
- package/dist/api/types/RulesengineConditionConditionType.d.ts +1 -4
- package/dist/api/types/RulesengineConditionGroup.d.ts +1 -4
- package/dist/api/types/RulesengineConditionMetricPeriod.d.ts +1 -4
- package/dist/api/types/RulesengineConditionMetricPeriodMonthReset.d.ts +1 -4
- package/dist/api/types/RulesengineConditionOperator.d.ts +1 -4
- package/dist/api/types/RulesengineEntityType.d.ts +1 -4
- package/dist/api/types/RulesengineFlag.d.ts +1 -4
- package/dist/api/types/RulesengineRule.d.ts +1 -4
- package/dist/api/types/RulesengineRuleRuleType.d.ts +1 -4
- package/dist/api/types/RulesengineSubscription.d.ts +0 -3
- package/dist/api/types/RulesengineTrait.d.ts +1 -4
- package/dist/api/types/RulesengineTraitDefinition.d.ts +1 -4
- package/dist/api/types/RulesengineTraitDefinitionComparableType.d.ts +1 -4
- package/dist/api/types/RulesengineUser.d.ts +1 -4
- package/dist/api/types/SegmentStatusResp.d.ts +0 -3
- package/dist/api/types/SkippedEntitlementErrorResponseData.d.ts +0 -3
- package/dist/api/types/SkippedEntitlementResponseData.d.ts +1 -4
- package/dist/api/types/SortDirection.d.ts +1 -4
- package/dist/api/types/StripeEmbedInfo.d.ts +0 -3
- package/dist/api/types/SubscriptionStatus.d.ts +1 -4
- package/dist/api/types/SubscriptionTraitUpdate.d.ts +1 -4
- package/dist/api/types/SubscriptionType.d.ts +1 -4
- package/dist/api/types/TemporaryAccessTokenResourceType.d.ts +0 -3
- package/dist/api/types/TemporaryAccessTokenResponseData.d.ts +1 -4
- package/dist/api/types/TraitDefinition.d.ts +1 -4
- package/dist/api/types/TraitDefinitionComparableType.d.ts +1 -4
- package/dist/api/types/TraitType.d.ts +1 -4
- package/dist/api/types/UpdateAddOnRequestBody.d.ts +0 -3
- package/dist/api/{resources/credits/client/requests → types}/UpdateBillingPlanCreditGrantRequestBody.d.ts +1 -11
- package/dist/api/types/UpdateCreditBundleRequestBody.d.ts +0 -3
- package/dist/api/types/UpdateEntitlementReqCommon.d.ts +1 -4
- package/dist/api/types/UpdateEntitlementReqCommonMetricPeriod.d.ts +1 -4
- package/dist/api/types/UpdateEntitlementReqCommonMetricPeriodMonthReset.d.ts +1 -4
- package/dist/api/types/UpdatePayInAdvanceRequestBody.d.ts +0 -3
- package/dist/api/types/UpdatePlanRequestBody.d.ts +5 -0
- package/dist/api/types/UpdatePlanTraitTraitRequestBody.d.ts +0 -3
- package/dist/api/types/UpdateRuleRequestBody.d.ts +1 -4
- package/dist/api/{resources/plans/client/requests → types}/UpsertBillingProductRequestBody.d.ts +1 -11
- package/dist/api/types/UpsertCompanyRequestBody.d.ts +0 -3
- package/dist/api/types/UpsertTraitRequestBody.d.ts +0 -3
- package/dist/api/types/UpsertUserRequestBody.d.ts +0 -3
- package/dist/api/types/UpsertUserSubRequestBody.d.ts +0 -3
- package/dist/api/types/UsageBasedEntitlementRequestBody.d.ts +1 -4
- package/dist/api/types/UsageBasedEntitlementResponseData.d.ts +1 -4
- package/dist/api/types/UserDetailResponseData.d.ts +1 -4
- package/dist/api/types/UserResponseData.d.ts +0 -3
- package/dist/api/types/WebhookEventDetailResponseData.d.ts +1 -4
- package/dist/api/types/WebhookEventResponseData.d.ts +1 -4
- package/dist/api/types/WebhookEventStatus.d.ts +1 -4
- package/dist/api/types/WebhookRequestType.d.ts +3 -4
- package/dist/api/types/WebhookResponseData.d.ts +1 -4
- package/dist/api/types/WebhookStatus.d.ts +1 -4
- package/dist/api/types/index.d.ts +39 -26
- package/dist/auth/HeaderAuthProvider.d.ts +16 -0
- package/dist/auth/index.d.ts +1 -0
- package/dist/cache.d.ts +1 -1
- package/dist/core/auth/AuthProvider.d.ts +7 -0
- package/dist/core/auth/AuthRequest.d.ts +9 -0
- package/dist/core/auth/BasicAuth.d.ts +8 -0
- package/dist/core/auth/BearerToken.d.ts +7 -0
- package/dist/core/auth/NoOpAuthProvider.d.ts +5 -0
- package/dist/core/auth/index.d.ts +5 -0
- package/dist/core/base64.d.ts +2 -0
- package/dist/core/exports.d.ts +1 -0
- package/dist/core/fetcher/APIResponse.d.ts +1 -1
- package/dist/core/fetcher/BinaryResponse.d.ts +19 -0
- package/dist/core/fetcher/EndpointMetadata.d.ts +13 -0
- package/dist/core/fetcher/EndpointSupplier.d.ts +12 -0
- package/dist/core/fetcher/Fetcher.d.ts +16 -6
- package/dist/core/fetcher/HttpResponsePromise.d.ts +1 -1
- package/dist/core/fetcher/createRequestUrl.d.ts +1 -1
- package/dist/core/fetcher/getErrorResponseBody.d.ts +1 -0
- package/dist/core/fetcher/getRequestBody.d.ts +1 -1
- package/dist/core/fetcher/index.d.ts +7 -4
- package/dist/core/fetcher/makeRequest.d.ts +1 -1
- package/dist/core/fetcher/signals.d.ts +1 -7
- package/dist/core/fetcher/stream-wrappers/Node18UniversalStreamWrapper.d.ts +1 -1
- package/dist/core/fetcher/stream-wrappers/NodePre18StreamWrapper.d.ts +1 -1
- package/dist/core/fetcher/stream-wrappers/UndiciStreamWrapper.d.ts +1 -1
- package/dist/core/headers.d.ts +2 -0
- package/dist/core/index.d.ts +4 -0
- package/dist/core/logging/exports.d.ts +18 -0
- package/dist/core/logging/index.d.ts +1 -0
- package/dist/core/logging/logger.d.ts +126 -0
- package/dist/core/schemas/Schema.d.ts +2 -1
- package/dist/core/schemas/builders/bigint/bigint.d.ts +1 -1
- package/dist/core/schemas/builders/date/date.d.ts +1 -1
- package/dist/core/schemas/builders/enum/enum.d.ts +1 -1
- package/dist/core/schemas/builders/index.d.ts +14 -14
- package/dist/core/schemas/builders/lazy/index.d.ts +1 -1
- package/dist/core/schemas/builders/lazy/lazy.d.ts +1 -1
- package/dist/core/schemas/builders/lazy/lazyObject.d.ts +2 -2
- package/dist/core/schemas/builders/list/list.d.ts +1 -1
- package/dist/core/schemas/builders/literals/booleanLiteral.d.ts +1 -1
- package/dist/core/schemas/builders/literals/index.d.ts +1 -1
- package/dist/core/schemas/builders/literals/stringLiteral.d.ts +1 -1
- package/dist/core/schemas/builders/object/index.d.ts +2 -2
- package/dist/core/schemas/builders/object/object.d.ts +1 -1
- package/dist/core/schemas/builders/object/objectWithoutOptionalProperties.d.ts +1 -1
- package/dist/core/schemas/builders/object/property.d.ts +1 -1
- package/dist/core/schemas/builders/object/types.d.ts +5 -5
- package/dist/core/schemas/builders/object-like/getObjectLikeUtils.d.ts +2 -2
- package/dist/core/schemas/builders/object-like/types.d.ts +1 -1
- package/dist/core/schemas/builders/primitives/any.d.ts +2 -1
- package/dist/core/schemas/builders/primitives/boolean.d.ts +2 -1
- package/dist/core/schemas/builders/primitives/index.d.ts +1 -0
- package/dist/core/schemas/builders/primitives/never.d.ts +2 -0
- package/dist/core/schemas/builders/primitives/number.d.ts +2 -1
- package/dist/core/schemas/builders/primitives/string.d.ts +2 -1
- package/dist/core/schemas/builders/primitives/unknown.d.ts +2 -1
- package/dist/core/schemas/builders/record/record.d.ts +2 -2
- package/dist/core/schemas/builders/record/types.d.ts +2 -2
- package/dist/core/schemas/builders/schema-utils/JsonError.d.ts +1 -1
- package/dist/core/schemas/builders/schema-utils/ParseError.d.ts +1 -1
- package/dist/core/schemas/builders/schema-utils/getSchemaUtils.d.ts +1 -1
- package/dist/core/schemas/builders/schema-utils/index.d.ts +1 -1
- package/dist/core/schemas/builders/schema-utils/stringifyValidationErrors.d.ts +1 -1
- package/dist/core/schemas/builders/set/set.d.ts +1 -1
- package/dist/core/schemas/builders/undiscriminated-union/types.d.ts +1 -1
- package/dist/core/schemas/builders/undiscriminated-union/undiscriminatedUnion.d.ts +2 -2
- package/dist/core/schemas/builders/union/index.d.ts +1 -1
- package/dist/core/schemas/builders/union/types.d.ts +2 -2
- package/dist/core/schemas/builders/union/union.d.ts +3 -3
- package/dist/core/schemas/index.d.ts +1 -1
- package/dist/core/schemas/utils/createIdentitySchemaCreator.d.ts +1 -1
- package/dist/core/schemas/utils/maybeSkipValidation.d.ts +1 -1
- package/dist/core/url/encodePathParam.d.ts +1 -0
- package/dist/core/url/index.d.ts +3 -0
- package/dist/core/url/join.d.ts +1 -0
- package/dist/core/url/qs.d.ts +6 -0
- package/dist/environments.d.ts +0 -3
- package/dist/errors/SchematicError.d.ts +1 -4
- package/dist/errors/SchematicTimeoutError.d.ts +0 -3
- package/dist/errors/handleNonStatusCodeError.d.ts +2 -0
- package/dist/events.d.ts +2 -2
- package/dist/exports.d.ts +1 -0
- package/dist/index.js +3 -3
- package/dist/serialization/resources/accesstokens/client/requests/IssueTemporaryAccessTokenRequestBody.d.ts +2 -6
- package/dist/serialization/resources/accesstokens/index.d.ts +1 -1
- package/dist/serialization/resources/accesstokens/types/IssueTemporaryAccessTokenResponse.d.ts +2 -5
- package/dist/serialization/resources/accounts/client/requests/CreateApiKeyRequestBody.d.ts +2 -5
- package/dist/serialization/resources/accounts/client/requests/CreateEnvironmentRequestBody.d.ts +2 -5
- package/dist/serialization/resources/accounts/client/requests/UpdateApiKeyRequestBody.d.ts +2 -5
- package/dist/serialization/resources/accounts/client/requests/UpdateEnvironmentRequestBody.d.ts +2 -5
- package/dist/serialization/resources/accounts/client/requests/index.d.ts +1 -1
- package/dist/serialization/resources/accounts/index.d.ts +1 -1
- package/dist/serialization/resources/accounts/types/CountApiKeysParams.d.ts +2 -5
- package/dist/serialization/resources/accounts/types/CountApiKeysResponse.d.ts +2 -5
- package/dist/serialization/resources/accounts/types/CountApiRequestsParams.d.ts +2 -5
- package/dist/serialization/resources/accounts/types/CountApiRequestsResponse.d.ts +2 -5
- package/dist/serialization/resources/accounts/types/CreateApiKeyResponse.d.ts +2 -5
- package/dist/serialization/resources/accounts/types/CreateEnvironmentResponse.d.ts +2 -5
- package/dist/serialization/resources/accounts/types/DeleteApiKeyResponse.d.ts +2 -5
- package/dist/serialization/resources/accounts/types/DeleteEnvironmentResponse.d.ts +2 -5
- package/dist/serialization/resources/accounts/types/GetApiKeyResponse.d.ts +2 -5
- package/dist/serialization/resources/accounts/types/GetApiRequestResponse.d.ts +2 -5
- package/dist/serialization/resources/accounts/types/GetEnvironmentResponse.d.ts +2 -5
- package/dist/serialization/resources/accounts/types/ListApiKeysParams.d.ts +2 -5
- package/dist/serialization/resources/accounts/types/ListApiKeysResponse.d.ts +2 -5
- package/dist/serialization/resources/accounts/types/ListApiRequestsParams.d.ts +2 -5
- package/dist/serialization/resources/accounts/types/ListApiRequestsResponse.d.ts +2 -5
- package/dist/serialization/resources/accounts/types/ListEnvironmentsParams.d.ts +2 -5
- package/dist/serialization/resources/accounts/types/ListEnvironmentsResponse.d.ts +2 -5
- package/dist/serialization/resources/accounts/types/QuickstartResponse.d.ts +2 -5
- package/dist/serialization/resources/accounts/types/UpdateApiKeyResponse.d.ts +2 -5
- package/dist/serialization/resources/accounts/types/UpdateEnvironmentResponse.d.ts +2 -5
- package/dist/serialization/resources/accounts/types/index.d.ts +13 -13
- package/dist/serialization/resources/billing/client/requests/CreateBillingCustomerRequestBody.d.ts +4 -6
- package/dist/serialization/resources/billing/client/requests/CreateBillingPriceRequestBody.d.ts +6 -7
- package/dist/serialization/resources/billing/client/requests/CreateBillingProductRequestBody.d.ts +4 -5
- package/dist/serialization/resources/billing/client/requests/CreateBillingSubscriptionRequestBody.d.ts +3 -6
- package/dist/serialization/resources/billing/client/requests/CreateCouponRequestBody.d.ts +2 -5
- package/dist/serialization/resources/billing/client/requests/CreateInvoiceRequestBody.d.ts +2 -5
- package/dist/serialization/resources/billing/client/requests/CreateMeterRequestBody.d.ts +2 -5
- package/dist/serialization/resources/billing/client/requests/CreatePaymentMethodRequestBody.d.ts +2 -5
- package/dist/serialization/resources/billing/client/requests/index.d.ts +4 -4
- package/dist/serialization/resources/billing/index.d.ts +1 -1
- package/dist/serialization/resources/billing/types/CountBillingProductsParams.d.ts +4 -5
- package/dist/serialization/resources/billing/types/CountBillingProductsResponse.d.ts +2 -5
- package/dist/serialization/resources/billing/types/CountCustomersParams.d.ts +4 -6
- package/dist/serialization/resources/billing/types/CountCustomersResponse.d.ts +2 -5
- package/dist/serialization/resources/billing/types/DeleteBillingProductResponse.d.ts +2 -5
- package/dist/serialization/resources/billing/types/DeleteProductPriceResponse.d.ts +2 -5
- package/dist/serialization/resources/billing/types/ListBillingPricesParams.d.ts +5 -6
- package/dist/serialization/resources/billing/types/ListBillingPricesResponse.d.ts +2 -5
- package/dist/serialization/resources/billing/types/ListBillingProductPricesParams.d.ts +5 -6
- package/dist/serialization/resources/billing/types/ListBillingProductPricesResponse.d.ts +2 -5
- package/dist/serialization/resources/billing/types/ListBillingProductsParams.d.ts +4 -5
- package/dist/serialization/resources/billing/types/ListBillingProductsResponse.d.ts +2 -5
- package/dist/serialization/resources/billing/types/ListCouponsParams.d.ts +2 -5
- package/dist/serialization/resources/billing/types/ListCouponsResponse.d.ts +2 -5
- package/dist/serialization/resources/billing/types/ListCustomersWithSubscriptionsParams.d.ts +4 -6
- package/dist/serialization/resources/billing/types/ListCustomersWithSubscriptionsResponse.d.ts +2 -5
- package/dist/serialization/resources/billing/types/ListInvoicesParams.d.ts +2 -5
- package/dist/serialization/resources/billing/types/ListInvoicesResponse.d.ts +2 -5
- package/dist/serialization/resources/billing/types/ListMetersParams.d.ts +2 -5
- package/dist/serialization/resources/billing/types/ListMetersResponse.d.ts +2 -5
- package/dist/serialization/resources/billing/types/ListPaymentMethodsParams.d.ts +2 -5
- package/dist/serialization/resources/billing/types/ListPaymentMethodsResponse.d.ts +2 -5
- package/dist/serialization/resources/billing/types/UpsertBillingCouponResponse.d.ts +2 -5
- package/dist/serialization/resources/billing/types/UpsertBillingCustomerResponse.d.ts +2 -5
- package/dist/serialization/resources/billing/types/UpsertBillingMeterResponse.d.ts +2 -5
- package/dist/serialization/resources/billing/types/UpsertBillingPriceResponse.d.ts +2 -5
- package/dist/serialization/resources/billing/types/UpsertBillingProductResponse.d.ts +2 -5
- package/dist/serialization/resources/billing/types/UpsertBillingSubscriptionResponse.d.ts +2 -5
- package/dist/serialization/resources/billing/types/UpsertInvoiceResponse.d.ts +2 -5
- package/dist/serialization/resources/billing/types/UpsertPaymentMethodResponse.d.ts +2 -5
- package/dist/serialization/resources/billing/types/index.d.ts +17 -17
- package/dist/serialization/resources/checkout/client/requests/CancelSubscriptionRequest.d.ts +2 -5
- package/dist/serialization/resources/checkout/client/requests/CheckoutDataRequestBody.d.ts +2 -5
- package/dist/serialization/resources/checkout/client/requests/UpdateTrialEndRequestBody.d.ts +2 -5
- package/dist/serialization/resources/checkout/client/requests/index.d.ts +1 -1
- package/dist/serialization/resources/checkout/index.d.ts +1 -1
- package/dist/serialization/resources/checkout/types/CancelSubscriptionResponse.d.ts +2 -5
- package/dist/serialization/resources/checkout/types/CheckoutInternalResponse.d.ts +2 -5
- package/dist/serialization/resources/checkout/types/GetCheckoutDataResponse.d.ts +2 -5
- package/dist/serialization/resources/checkout/types/ManagePlanResponse.d.ts +2 -5
- package/dist/serialization/resources/checkout/types/PreviewCheckoutInternalResponse.d.ts +2 -5
- package/dist/serialization/resources/checkout/types/PreviewManagePlanResponse.d.ts +2 -5
- package/dist/serialization/resources/checkout/types/UpdateCustomerSubscriptionTrialEndResponse.d.ts +2 -5
- package/dist/serialization/resources/checkout/types/index.d.ts +2 -2
- package/dist/serialization/resources/companies/client/requests/CreateEntityTraitDefinitionRequestBody.d.ts +2 -5
- package/dist/serialization/resources/companies/client/requests/CreatePlanTraitRequestBody.d.ts +2 -5
- package/dist/serialization/resources/companies/client/requests/GetOrCreateCompanyMembershipRequestBody.d.ts +2 -5
- package/dist/serialization/resources/companies/client/requests/UpdateEntityTraitDefinitionRequestBody.d.ts +2 -5
- package/dist/serialization/resources/companies/client/requests/UpdatePlanTraitBulkRequestBody.d.ts +2 -5
- package/dist/serialization/resources/companies/client/requests/UpdatePlanTraitRequestBody.d.ts +2 -5
- package/dist/serialization/resources/companies/client/requests/index.d.ts +3 -3
- package/dist/serialization/resources/companies/index.d.ts +1 -1
- package/dist/serialization/resources/companies/types/CountCompaniesForAdvancedFilterParams.d.ts +2 -5
- package/dist/serialization/resources/companies/types/CountCompaniesForAdvancedFilterResponse.d.ts +2 -5
- package/dist/serialization/resources/companies/types/CountCompaniesParams.d.ts +2 -5
- package/dist/serialization/resources/companies/types/CountCompaniesResponse.d.ts +2 -5
- package/dist/serialization/resources/companies/types/CountEntityKeyDefinitionsParams.d.ts +2 -5
- package/dist/serialization/resources/companies/types/CountEntityKeyDefinitionsResponse.d.ts +2 -5
- package/dist/serialization/resources/companies/types/CountEntityTraitDefinitionsParams.d.ts +2 -5
- package/dist/serialization/resources/companies/types/CountEntityTraitDefinitionsResponse.d.ts +2 -5
- package/dist/serialization/resources/companies/types/CountPlanTraitsParams.d.ts +2 -5
- package/dist/serialization/resources/companies/types/CountPlanTraitsResponse.d.ts +2 -5
- package/dist/serialization/resources/companies/types/CountUsersParams.d.ts +2 -5
- package/dist/serialization/resources/companies/types/CountUsersResponse.d.ts +2 -5
- package/dist/serialization/resources/companies/types/CreateCompanyResponse.d.ts +2 -5
- package/dist/serialization/resources/companies/types/CreatePlanTraitResponse.d.ts +2 -5
- package/dist/serialization/resources/companies/types/CreateUserResponse.d.ts +2 -5
- package/dist/serialization/resources/companies/types/DeleteCompanyByKeysResponse.d.ts +2 -5
- package/dist/serialization/resources/companies/types/DeleteCompanyMembershipResponse.d.ts +2 -5
- package/dist/serialization/resources/companies/types/DeleteCompanyParams.d.ts +2 -5
- package/dist/serialization/resources/companies/types/DeleteCompanyResponse.d.ts +2 -5
- package/dist/serialization/resources/companies/types/DeletePlanTraitResponse.d.ts +2 -5
- package/dist/serialization/resources/companies/types/DeleteUserByKeysResponse.d.ts +2 -5
- package/dist/serialization/resources/companies/types/DeleteUserResponse.d.ts +2 -5
- package/dist/serialization/resources/companies/types/GetActiveCompanySubscriptionParams.d.ts +2 -5
- package/dist/serialization/resources/companies/types/GetActiveCompanySubscriptionResponse.d.ts +2 -5
- package/dist/serialization/resources/companies/types/GetCompanyResponse.d.ts +2 -5
- package/dist/serialization/resources/companies/types/GetEntityTraitDefinitionResponse.d.ts +2 -5
- package/dist/serialization/resources/companies/types/GetEntityTraitValuesParams.d.ts +2 -5
- package/dist/serialization/resources/companies/types/GetEntityTraitValuesResponse.d.ts +2 -5
- package/dist/serialization/resources/companies/types/GetOrCreateCompanyMembershipResponse.d.ts +2 -5
- package/dist/serialization/resources/companies/types/GetOrCreateEntityTraitDefinitionResponse.d.ts +2 -5
- package/dist/serialization/resources/companies/types/GetPlanChangeResponse.d.ts +2 -5
- package/dist/serialization/resources/companies/types/GetPlanTraitResponse.d.ts +2 -5
- package/dist/serialization/resources/companies/types/GetUserResponse.d.ts +2 -5
- package/dist/serialization/resources/companies/types/ListCompaniesForAdvancedFilterParams.d.ts +2 -5
- package/dist/serialization/resources/companies/types/ListCompaniesForAdvancedFilterResponse.d.ts +2 -5
- package/dist/serialization/resources/companies/types/ListCompaniesParams.d.ts +2 -5
- package/dist/serialization/resources/companies/types/ListCompaniesResponse.d.ts +2 -5
- package/dist/serialization/resources/companies/types/ListCompanyMembershipsParams.d.ts +2 -5
- package/dist/serialization/resources/companies/types/ListCompanyMembershipsResponse.d.ts +2 -5
- package/dist/serialization/resources/companies/types/ListEntityKeyDefinitionsParams.d.ts +2 -5
- package/dist/serialization/resources/companies/types/ListEntityKeyDefinitionsResponse.d.ts +2 -5
- package/dist/serialization/resources/companies/types/ListEntityTraitDefinitionsParams.d.ts +2 -5
- package/dist/serialization/resources/companies/types/ListEntityTraitDefinitionsResponse.d.ts +2 -5
- package/dist/serialization/resources/companies/types/ListPlanChangesParams.d.ts +2 -5
- package/dist/serialization/resources/companies/types/ListPlanChangesResponse.d.ts +2 -5
- package/dist/serialization/resources/companies/types/ListPlanTraitsParams.d.ts +2 -5
- package/dist/serialization/resources/companies/types/ListPlanTraitsResponse.d.ts +2 -5
- package/dist/serialization/resources/companies/types/ListUsersParams.d.ts +2 -5
- package/dist/serialization/resources/companies/types/ListUsersResponse.d.ts +2 -5
- package/dist/serialization/resources/companies/types/LookupCompanyParams.d.ts +2 -5
- package/dist/serialization/resources/companies/types/LookupCompanyResponse.d.ts +2 -5
- package/dist/serialization/resources/companies/types/LookupUserParams.d.ts +2 -5
- package/dist/serialization/resources/companies/types/LookupUserResponse.d.ts +2 -5
- package/dist/serialization/resources/companies/types/UpdateEntityTraitDefinitionResponse.d.ts +2 -5
- package/dist/serialization/resources/companies/types/UpdatePlanTraitResponse.d.ts +2 -5
- package/dist/serialization/resources/companies/types/UpdatePlanTraitsBulkResponse.d.ts +2 -5
- package/dist/serialization/resources/companies/types/UpsertCompanyResponse.d.ts +2 -5
- package/dist/serialization/resources/companies/types/UpsertCompanyTraitResponse.d.ts +2 -5
- package/dist/serialization/resources/companies/types/UpsertUserResponse.d.ts +2 -5
- package/dist/serialization/resources/companies/types/UpsertUserTraitResponse.d.ts +2 -5
- package/dist/serialization/resources/companies/types/index.d.ts +40 -42
- package/dist/serialization/resources/components/client/requests/CreateComponentRequestBody.d.ts +2 -5
- package/dist/serialization/resources/components/client/requests/UpdateComponentRequestBody.d.ts +2 -5
- package/dist/serialization/resources/components/index.d.ts +1 -1
- package/dist/serialization/resources/components/types/CountComponentsParams.d.ts +2 -5
- package/dist/serialization/resources/components/types/CountComponentsResponse.d.ts +2 -5
- package/dist/serialization/resources/components/types/CreateComponentResponse.d.ts +2 -5
- package/dist/serialization/resources/components/types/DeleteComponentResponse.d.ts +2 -5
- package/dist/serialization/resources/components/types/GetComponentResponse.d.ts +2 -5
- package/dist/serialization/resources/components/types/ListComponentsParams.d.ts +2 -5
- package/dist/serialization/resources/components/types/ListComponentsResponse.d.ts +2 -5
- package/dist/serialization/resources/components/types/PreviewComponentDataParams.d.ts +2 -5
- package/dist/serialization/resources/components/types/PreviewComponentDataResponse.d.ts +2 -5
- package/dist/serialization/resources/components/types/UpdateComponentResponse.d.ts +2 -5
- package/dist/serialization/resources/components/types/index.d.ts +6 -6
- package/dist/serialization/resources/credits/client/requests/CreateBillingCreditRequestBody.d.ts +2 -5
- package/dist/serialization/resources/credits/client/requests/CreateCompanyCreditGrant.d.ts +2 -5
- package/dist/serialization/resources/credits/client/requests/CreateCreditBundleRequestBody.d.ts +3 -6
- package/dist/serialization/resources/credits/client/requests/UpdateBillingCreditRequestBody.d.ts +2 -5
- package/dist/serialization/resources/credits/client/requests/UpdateCreditBundleDetailsRequestBody.d.ts +3 -6
- package/dist/serialization/resources/credits/client/requests/ZeroOutGrantRequestBody.d.ts +2 -5
- package/dist/serialization/resources/credits/client/requests/index.d.ts +2 -4
- package/dist/serialization/resources/credits/index.d.ts +1 -1
- package/dist/serialization/resources/credits/types/CountBillingCreditsGrantsParams.d.ts +2 -5
- package/dist/serialization/resources/credits/types/CountBillingCreditsGrantsResponse.d.ts +2 -5
- package/dist/serialization/resources/credits/types/CountBillingCreditsParams.d.ts +2 -5
- package/dist/serialization/resources/credits/types/CountBillingCreditsResponse.d.ts +2 -5
- package/dist/serialization/resources/credits/types/CountBillingPlanCreditGrantsParams.d.ts +2 -5
- package/dist/serialization/resources/credits/types/CountBillingPlanCreditGrantsResponse.d.ts +2 -5
- package/dist/serialization/resources/credits/types/CountCompanyGrantsParams.d.ts +15 -0
- package/dist/serialization/resources/credits/types/CountCompanyGrantsResponse.d.ts +12 -0
- package/dist/serialization/resources/credits/types/CountCreditBundlesParams.d.ts +3 -6
- package/dist/serialization/resources/credits/types/CountCreditBundlesResponse.d.ts +2 -5
- package/dist/serialization/resources/credits/types/CountCreditLedgerParams.d.ts +2 -5
- package/dist/serialization/resources/credits/types/CountCreditLedgerResponse.d.ts +2 -5
- package/dist/serialization/resources/credits/types/CreateBillingCreditResponse.d.ts +2 -5
- package/dist/serialization/resources/credits/types/CreateBillingPlanCreditGrantResponse.d.ts +2 -5
- package/dist/serialization/resources/credits/types/CreateCreditBundleResponse.d.ts +2 -5
- package/dist/serialization/resources/credits/types/DeleteBillingPlanCreditGrantParams.d.ts +2 -5
- package/dist/serialization/resources/credits/types/DeleteBillingPlanCreditGrantResponse.d.ts +2 -5
- package/dist/serialization/resources/credits/types/DeleteCreditBundleResponse.d.ts +2 -5
- package/dist/serialization/resources/credits/types/GetCreditBundleResponse.d.ts +2 -5
- package/dist/serialization/resources/credits/types/GetEnrichedCreditLedgerParams.d.ts +2 -5
- package/dist/serialization/resources/credits/types/GetEnrichedCreditLedgerResponse.d.ts +2 -5
- package/dist/serialization/resources/credits/types/GetSingleBillingCreditResponse.d.ts +2 -5
- package/dist/serialization/resources/credits/types/GrantBillingCreditsToCompanyResponse.d.ts +2 -5
- package/dist/serialization/resources/credits/types/ListBillingCreditsParams.d.ts +2 -5
- package/dist/serialization/resources/credits/types/ListBillingCreditsResponse.d.ts +2 -5
- package/dist/serialization/resources/credits/types/ListBillingPlanCreditGrantsParams.d.ts +2 -5
- package/dist/serialization/resources/credits/types/ListBillingPlanCreditGrantsResponse.d.ts +2 -5
- package/dist/serialization/resources/credits/types/ListCompanyGrantsParams.d.ts +3 -6
- package/dist/serialization/resources/credits/types/ListCompanyGrantsResponse.d.ts +2 -5
- package/dist/serialization/resources/credits/types/ListCreditBundlesParams.d.ts +3 -6
- package/dist/serialization/resources/credits/types/ListCreditBundlesResponse.d.ts +2 -5
- package/dist/serialization/resources/credits/types/ListGrantsForCreditParams.d.ts +2 -5
- package/dist/serialization/resources/credits/types/ListGrantsForCreditResponse.d.ts +2 -5
- package/dist/serialization/resources/credits/types/SoftDeleteBillingCreditResponse.d.ts +2 -5
- package/dist/serialization/resources/credits/types/UpdateBillingCreditResponse.d.ts +2 -5
- package/dist/serialization/resources/credits/types/UpdateBillingPlanCreditGrantResponse.d.ts +2 -5
- package/dist/serialization/resources/credits/types/UpdateCreditBundleDetailsResponse.d.ts +2 -5
- package/dist/serialization/resources/credits/types/ZeroOutGrantResponse.d.ts +2 -5
- package/dist/serialization/resources/credits/types/index.d.ts +29 -27
- package/dist/serialization/resources/dataexports/client/requests/CreateDataExportRequestBody.d.ts +2 -5
- package/dist/serialization/resources/dataexports/index.d.ts +1 -1
- package/dist/serialization/resources/dataexports/types/CreateDataExportResponse.d.ts +2 -5
- package/dist/serialization/resources/entitlements/client/requests/CreateCompanyOverrideRequestBody.d.ts +3 -6
- package/dist/serialization/resources/entitlements/client/requests/CreatePlanEntitlementRequestBody.d.ts +5 -8
- package/dist/serialization/resources/entitlements/client/requests/DuplicatePlanEntitlementsRequestBody.d.ts +2 -5
- package/dist/serialization/resources/entitlements/client/requests/UpdateCompanyOverrideRequestBody.d.ts +3 -6
- package/dist/serialization/resources/entitlements/client/requests/UpdatePlanEntitlementRequestBody.d.ts +5 -8
- package/dist/serialization/resources/entitlements/client/requests/index.d.ts +2 -2
- package/dist/serialization/resources/entitlements/index.d.ts +1 -1
- package/dist/serialization/resources/entitlements/types/CountCompanyOverridesParams.d.ts +2 -5
- package/dist/serialization/resources/entitlements/types/CountCompanyOverridesResponse.d.ts +2 -5
- package/dist/serialization/resources/entitlements/types/CountFeatureCompaniesParams.d.ts +2 -5
- package/dist/serialization/resources/entitlements/types/CountFeatureCompaniesResponse.d.ts +2 -5
- package/dist/serialization/resources/entitlements/types/CountFeatureUsageParams.d.ts +3 -5
- package/dist/serialization/resources/entitlements/types/CountFeatureUsageResponse.d.ts +2 -5
- package/dist/serialization/resources/entitlements/types/CountFeatureUsersParams.d.ts +2 -5
- package/dist/serialization/resources/entitlements/types/CountFeatureUsersResponse.d.ts +2 -5
- package/dist/serialization/resources/entitlements/types/CountPlanEntitlementsParams.d.ts +2 -5
- package/dist/serialization/resources/entitlements/types/CountPlanEntitlementsResponse.d.ts +2 -5
- package/dist/serialization/resources/entitlements/types/CreateCompanyOverrideRequestBodyMetricPeriod.d.ts +2 -5
- package/dist/serialization/resources/entitlements/types/CreateCompanyOverrideRequestBodyMetricPeriodMonthReset.d.ts +2 -5
- package/dist/serialization/resources/entitlements/types/CreateCompanyOverrideResponse.d.ts +2 -5
- package/dist/serialization/resources/entitlements/types/CreatePlanEntitlementRequestBodyMetricPeriod.d.ts +2 -5
- package/dist/serialization/resources/entitlements/types/CreatePlanEntitlementRequestBodyMetricPeriodMonthReset.d.ts +2 -5
- package/dist/serialization/resources/entitlements/types/CreatePlanEntitlementResponse.d.ts +2 -5
- package/dist/serialization/resources/entitlements/types/DeleteCompanyOverrideResponse.d.ts +2 -5
- package/dist/serialization/resources/entitlements/types/DeletePlanEntitlementResponse.d.ts +2 -5
- package/dist/serialization/resources/entitlements/types/DuplicatePlanEntitlementsResponse.d.ts +2 -5
- package/dist/serialization/resources/entitlements/types/GetCompanyOverrideResponse.d.ts +2 -5
- package/dist/serialization/resources/entitlements/types/GetFeatureUsageByCompanyParams.d.ts +2 -5
- package/dist/serialization/resources/entitlements/types/GetFeatureUsageByCompanyResponse.d.ts +2 -5
- package/dist/serialization/resources/entitlements/types/GetPlanEntitlementResponse.d.ts +2 -5
- package/dist/serialization/resources/entitlements/types/ListCompanyOverridesParams.d.ts +2 -5
- package/dist/serialization/resources/entitlements/types/ListCompanyOverridesResponse.d.ts +2 -5
- package/dist/serialization/resources/entitlements/types/ListFeatureCompaniesParams.d.ts +2 -5
- package/dist/serialization/resources/entitlements/types/ListFeatureCompaniesResponse.d.ts +2 -5
- package/dist/serialization/resources/entitlements/types/ListFeatureUsageParams.d.ts +3 -5
- package/dist/serialization/resources/entitlements/types/ListFeatureUsageResponse.d.ts +2 -5
- package/dist/serialization/resources/entitlements/types/ListFeatureUsersParams.d.ts +2 -5
- package/dist/serialization/resources/entitlements/types/ListFeatureUsersResponse.d.ts +2 -5
- package/dist/serialization/resources/entitlements/types/ListPlanEntitlementsParams.d.ts +2 -5
- package/dist/serialization/resources/entitlements/types/ListPlanEntitlementsResponse.d.ts +2 -5
- package/dist/serialization/resources/entitlements/types/UpdateCompanyOverrideRequestBodyMetricPeriod.d.ts +2 -5
- package/dist/serialization/resources/entitlements/types/UpdateCompanyOverrideRequestBodyMetricPeriodMonthReset.d.ts +2 -5
- package/dist/serialization/resources/entitlements/types/UpdateCompanyOverrideResponse.d.ts +2 -5
- package/dist/serialization/resources/entitlements/types/UpdatePlanEntitlementRequestBodyMetricPeriod.d.ts +2 -5
- package/dist/serialization/resources/entitlements/types/UpdatePlanEntitlementRequestBodyMetricPeriodMonthReset.d.ts +2 -5
- package/dist/serialization/resources/entitlements/types/UpdatePlanEntitlementResponse.d.ts +2 -5
- package/dist/serialization/resources/entitlements/types/index.d.ts +24 -24
- package/dist/serialization/resources/events/client/requests/CreateEventBatchRequestBody.d.ts +2 -5
- package/dist/serialization/resources/events/index.d.ts +1 -1
- package/dist/serialization/resources/events/types/CreateEventBatchResponse.d.ts +2 -5
- package/dist/serialization/resources/events/types/CreateEventResponse.d.ts +2 -5
- package/dist/serialization/resources/events/types/GetEventResponse.d.ts +2 -5
- package/dist/serialization/resources/events/types/GetEventSummariesParams.d.ts +2 -5
- package/dist/serialization/resources/events/types/GetEventSummariesResponse.d.ts +2 -5
- package/dist/serialization/resources/events/types/GetSegmentIntegrationStatusResponse.d.ts +2 -5
- package/dist/serialization/resources/events/types/ListEventsParams.d.ts +2 -5
- package/dist/serialization/resources/events/types/ListEventsResponse.d.ts +2 -5
- package/dist/serialization/resources/events/types/index.d.ts +3 -3
- package/dist/serialization/resources/features/client/requests/CheckFlagsBulkRequestBody.d.ts +2 -5
- package/dist/serialization/resources/features/client/requests/CreateFeatureRequestBody.d.ts +3 -6
- package/dist/serialization/resources/features/client/requests/UpdateFeatureRequestBody.d.ts +3 -6
- package/dist/serialization/resources/features/client/requests/UpdateFlagRulesRequestBody.d.ts +2 -5
- package/dist/serialization/resources/features/client/requests/index.d.ts +1 -1
- package/dist/serialization/resources/features/index.d.ts +1 -1
- package/dist/serialization/resources/features/types/CheckFlagResponse.d.ts +2 -5
- package/dist/serialization/resources/features/types/CheckFlagsBulkResponse.d.ts +2 -5
- package/dist/serialization/resources/features/types/CheckFlagsResponse.d.ts +2 -5
- package/dist/serialization/resources/features/types/CountFeaturesParams.d.ts +2 -5
- package/dist/serialization/resources/features/types/CountFeaturesResponse.d.ts +2 -5
- package/dist/serialization/resources/features/types/CountFlagsParams.d.ts +2 -5
- package/dist/serialization/resources/features/types/CountFlagsResponse.d.ts +2 -5
- package/dist/serialization/resources/features/types/CreateFeatureResponse.d.ts +2 -5
- package/dist/serialization/resources/features/types/CreateFlagResponse.d.ts +2 -5
- package/dist/serialization/resources/features/types/DeleteFeatureResponse.d.ts +2 -5
- package/dist/serialization/resources/features/types/DeleteFlagResponse.d.ts +2 -5
- package/dist/serialization/resources/features/types/GetFeatureResponse.d.ts +2 -5
- package/dist/serialization/resources/features/types/GetFlagResponse.d.ts +2 -5
- package/dist/serialization/resources/features/types/ListFeaturesParams.d.ts +2 -5
- package/dist/serialization/resources/features/types/ListFeaturesResponse.d.ts +2 -5
- package/dist/serialization/resources/features/types/ListFlagsParams.d.ts +2 -5
- package/dist/serialization/resources/features/types/ListFlagsResponse.d.ts +2 -5
- package/dist/serialization/resources/features/types/UpdateFeatureResponse.d.ts +2 -5
- package/dist/serialization/resources/features/types/UpdateFlagResponse.d.ts +2 -5
- package/dist/serialization/resources/features/types/UpdateFlagRulesResponse.d.ts +2 -5
- package/dist/serialization/resources/features/types/index.d.ts +14 -14
- package/dist/serialization/resources/index.d.ts +25 -25
- package/dist/serialization/resources/planbundle/client/requests/CreatePlanBundleRequestBody.d.ts +18 -0
- package/dist/serialization/resources/planbundle/client/requests/UpdatePlanBundleRequestBody.d.ts +18 -0
- package/dist/serialization/resources/planbundle/client/requests/index.d.ts +2 -0
- package/dist/serialization/resources/planbundle/types/CreatePlanBundleResponse.d.ts +11 -0
- package/dist/serialization/resources/planbundle/types/UpdatePlanBundleResponse.d.ts +11 -0
- package/dist/serialization/resources/planbundle/types/index.d.ts +2 -0
- package/dist/serialization/resources/plangroups/client/requests/CreatePlanGroupRequestBody.d.ts +2 -5
- package/dist/serialization/resources/plangroups/client/requests/UpdatePlanGroupRequestBody.d.ts +2 -5
- package/dist/serialization/resources/plangroups/index.d.ts +1 -1
- package/dist/serialization/resources/plangroups/types/CreatePlanGroupResponse.d.ts +2 -5
- package/dist/serialization/resources/plangroups/types/GetPlanGroupResponse.d.ts +2 -5
- package/dist/serialization/resources/plangroups/types/UpdatePlanGroupResponse.d.ts +2 -5
- package/dist/serialization/resources/plangroups/types/index.d.ts +1 -1
- package/dist/serialization/resources/plans/client/requests/UpdateCompanyPlansRequestBody.d.ts +2 -5
- package/dist/serialization/resources/plans/client/requests/index.d.ts +0 -3
- package/dist/serialization/resources/plans/index.d.ts +1 -1
- package/dist/serialization/resources/plans/types/CountPlansParams.d.ts +2 -5
- package/dist/serialization/resources/plans/types/CountPlansResponse.d.ts +2 -5
- package/dist/serialization/resources/plans/types/CreatePlanResponse.d.ts +2 -5
- package/dist/serialization/resources/plans/types/DeletePlanResponse.d.ts +2 -5
- package/dist/serialization/resources/plans/types/GetPlanResponse.d.ts +2 -5
- package/dist/serialization/resources/plans/types/ListPlanIssuesParams.d.ts +2 -5
- package/dist/serialization/resources/plans/types/ListPlanIssuesResponse.d.ts +2 -5
- package/dist/serialization/resources/plans/types/ListPlansParams.d.ts +2 -5
- package/dist/serialization/resources/plans/types/ListPlansResponse.d.ts +2 -5
- package/dist/serialization/resources/plans/types/UpdateCompanyPlansResponse.d.ts +2 -5
- package/dist/serialization/resources/plans/types/UpdatePlanResponse.d.ts +2 -5
- package/dist/serialization/resources/plans/types/UpsertBillingProductPlanResponse.d.ts +2 -5
- package/dist/serialization/resources/plans/types/index.d.ts +8 -8
- package/dist/serialization/resources/webhooks/client/requests/CreateWebhookRequestBody.d.ts +2 -5
- package/dist/serialization/resources/webhooks/client/requests/UpdateWebhookRequestBody.d.ts +2 -5
- package/dist/serialization/resources/webhooks/index.d.ts +1 -1
- package/dist/serialization/resources/webhooks/types/CountWebhookEventsParams.d.ts +2 -5
- package/dist/serialization/resources/webhooks/types/CountWebhookEventsResponse.d.ts +2 -5
- package/dist/serialization/resources/webhooks/types/CountWebhooksParams.d.ts +2 -5
- package/dist/serialization/resources/webhooks/types/CountWebhooksResponse.d.ts +2 -5
- package/dist/serialization/resources/webhooks/types/CreateWebhookResponse.d.ts +2 -5
- package/dist/serialization/resources/webhooks/types/DeleteWebhookResponse.d.ts +2 -5
- package/dist/serialization/resources/webhooks/types/GetWebhookEventResponse.d.ts +2 -5
- package/dist/serialization/resources/webhooks/types/GetWebhookResponse.d.ts +2 -5
- package/dist/serialization/resources/webhooks/types/ListWebhookEventsParams.d.ts +2 -5
- package/dist/serialization/resources/webhooks/types/ListWebhookEventsResponse.d.ts +2 -5
- package/dist/serialization/resources/webhooks/types/ListWebhooksParams.d.ts +2 -5
- package/dist/serialization/resources/webhooks/types/ListWebhooksResponse.d.ts +2 -5
- package/dist/serialization/resources/webhooks/types/UpdateWebhookResponse.d.ts +2 -5
- package/dist/serialization/resources/webhooks/types/index.d.ts +8 -8
- package/dist/serialization/types/ApiError.d.ts +2 -5
- package/dist/serialization/types/ApiKeyCreateResponseData.d.ts +2 -5
- package/dist/serialization/types/ApiKeyRequestListResponseData.d.ts +2 -5
- package/dist/serialization/types/ApiKeyRequestResponseData.d.ts +2 -5
- package/dist/serialization/types/ApiKeyResponseData.d.ts +2 -5
- package/dist/serialization/types/ApiKeyScope.d.ts +2 -5
- package/dist/serialization/types/BillingCouponResponseData.d.ts +4 -5
- package/dist/serialization/types/BillingCreditBundleResponseData.d.ts +3 -6
- package/dist/serialization/types/BillingCreditBundleStatus.d.ts +2 -5
- package/dist/serialization/types/BillingCreditBundleType.d.ts +2 -5
- package/dist/serialization/types/BillingCreditBundleView.d.ts +3 -6
- package/dist/serialization/types/BillingCreditBurnStrategy.d.ts +2 -5
- package/dist/serialization/types/BillingCreditExpiryType.d.ts +2 -5
- package/dist/serialization/types/BillingCreditExpiryUnit.d.ts +2 -5
- package/dist/serialization/types/BillingCreditGrantReason.d.ts +2 -5
- package/dist/serialization/types/BillingCreditGrantResponseData.d.ts +8 -6
- package/dist/serialization/types/BillingCreditGrantZeroedOutReason.d.ts +2 -5
- package/dist/serialization/types/BillingCreditLedgerResponseData.d.ts +2 -5
- package/dist/serialization/types/BillingCreditResponseData.d.ts +2 -5
- package/dist/serialization/types/BillingCreditRolloverPolicy.d.ts +2 -5
- package/dist/serialization/types/BillingCustomerResponseData.d.ts +4 -6
- package/dist/serialization/types/BillingCustomerSubscription.d.ts +2 -5
- package/dist/serialization/types/BillingCustomerWithSubscriptionsResponseData.d.ts +4 -6
- package/dist/serialization/types/BillingMeterResponseData.d.ts +4 -5
- package/dist/serialization/types/BillingPlanCreditGrantResetCadence.d.ts +2 -5
- package/dist/serialization/types/BillingPlanCreditGrantResetStart.d.ts +2 -5
- package/dist/serialization/types/BillingPlanCreditGrantResetType.d.ts +2 -5
- package/dist/serialization/types/BillingPlanCreditGrantResponseData.d.ts +2 -5
- package/dist/serialization/types/BillingPriceResponseData.d.ts +5 -6
- package/dist/serialization/types/BillingPriceScheme.d.ts +2 -5
- package/dist/serialization/types/BillingPriceUsageType.d.ts +2 -5
- package/dist/serialization/types/BillingPriceView.d.ts +5 -6
- package/dist/serialization/types/BillingProductDetailResponseData.d.ts +4 -5
- package/dist/serialization/types/BillingProductForSubscriptionResponseData.d.ts +5 -6
- package/dist/serialization/types/BillingProductPlanResponseData.d.ts +2 -5
- package/dist/serialization/types/BillingProductPriceInterval.d.ts +2 -5
- package/dist/serialization/types/BillingProductPriceResponseData.d.ts +5 -6
- package/dist/serialization/types/BillingProductPriceTierResponseData.d.ts +2 -5
- package/dist/serialization/types/BillingProductPricing.d.ts +2 -5
- package/dist/serialization/types/BillingProductResponseData.d.ts +4 -5
- package/dist/serialization/types/BillingProviderType.d.ts +7 -0
- package/dist/serialization/types/BillingSubscriptionDiscount.d.ts +2 -5
- package/dist/serialization/types/BillingSubscriptionDiscountView.d.ts +2 -5
- package/dist/serialization/types/BillingSubscriptionResponseData.d.ts +4 -5
- package/dist/serialization/types/BillingSubscriptionTrialEndSetting.d.ts +2 -5
- package/dist/serialization/types/BillingSubscriptionView.d.ts +6 -7
- package/dist/serialization/types/BillingTiersMode.d.ts +2 -5
- package/dist/serialization/types/ChangeSubscriptionInternalRequestBody.d.ts +2 -5
- package/dist/serialization/types/ChangeSubscriptionRequestBody.d.ts +2 -5
- package/dist/serialization/types/ChargeType.d.ts +2 -5
- package/dist/serialization/types/CheckFlagRequestBody.d.ts +2 -5
- package/dist/serialization/types/CheckFlagResponseData.d.ts +2 -5
- package/dist/serialization/types/CheckFlagsBulkResponseData.d.ts +2 -5
- package/dist/serialization/types/CheckFlagsResponseData.d.ts +2 -5
- package/dist/serialization/types/CheckoutDataResponseData.d.ts +6 -9
- package/dist/serialization/types/CheckoutSettingsResponseData.d.ts +2 -5
- package/dist/serialization/types/CheckoutSubscription.d.ts +4 -5
- package/dist/serialization/types/CompanyDetailResponseData.d.ts +6 -9
- package/dist/serialization/types/CompanyEventPeriodMetricsResponseData.d.ts +2 -5
- package/dist/serialization/types/CompanyLedgerResponseData.d.ts +2 -5
- package/dist/serialization/types/CompanyMembershipDetailResponseData.d.ts +2 -5
- package/dist/serialization/types/CompanyMembershipResponseData.d.ts +2 -5
- package/dist/serialization/types/CompanyOverrideNoteResponseData.d.ts +2 -5
- package/dist/serialization/types/CompanyOverrideResponseData.d.ts +4 -7
- package/dist/serialization/types/CompanyPlanDetailResponseData.d.ts +9 -10
- package/dist/serialization/types/CompanyPlanInvalidReason.d.ts +2 -5
- package/dist/serialization/types/CompanyPlanWithBillingSubView.d.ts +3 -5
- package/dist/serialization/types/CompanyResponseData.d.ts +2 -5
- package/dist/serialization/types/CompanySubscriptionResponseData.d.ts +3 -6
- package/dist/serialization/types/CompanyViewWithFeatureUsageResponseData.d.ts +6 -9
- package/dist/serialization/types/CompatiblePlans.d.ts +2 -5
- package/dist/serialization/types/CompatiblePlansResponseData.d.ts +2 -5
- package/dist/serialization/types/ComponentCapabilities.d.ts +2 -5
- package/dist/serialization/types/ComponentCheckoutSettings.d.ts +2 -5
- package/dist/serialization/types/ComponentDisplaySettings.d.ts +2 -5
- package/dist/serialization/types/ComponentEntityType.d.ts +2 -5
- package/dist/serialization/types/ComponentHydrateResponseData.d.ts +9 -12
- package/dist/serialization/types/ComponentPreviewResponseData.d.ts +8 -11
- package/dist/serialization/types/ComponentResponseData.d.ts +3 -6
- package/dist/serialization/types/ComponentSettingsResponseData.d.ts +2 -5
- package/dist/serialization/types/ComponentState.d.ts +2 -5
- package/dist/serialization/types/Condition.d.ts +3 -6
- package/dist/serialization/types/ConditionConditionType.d.ts +2 -5
- package/dist/serialization/types/ConditionGroup.d.ts +2 -5
- package/dist/serialization/types/ConditionMetricPeriod.d.ts +2 -5
- package/dist/serialization/types/ConditionMetricPeriodMonthReset.d.ts +2 -5
- package/dist/serialization/types/ConditionOperator.d.ts +2 -5
- package/dist/serialization/types/CountResponse.d.ts +2 -5
- package/dist/serialization/types/CouponRequestBody.d.ts +2 -5
- package/dist/serialization/{resources/credits/client/requests → types}/CreateBillingPlanCreditGrantRequestBody.d.ts +10 -13
- package/dist/serialization/types/CreateBillingPriceTierRequestBody.d.ts +4 -5
- package/dist/serialization/types/CreateEntitlementInBundleRequestBody.d.ts +39 -0
- package/dist/serialization/types/CreateEntitlementInBundleRequestBodyMetricPeriod.d.ts +7 -0
- package/dist/serialization/types/CreateEntitlementInBundleRequestBodyMetricPeriodMonthReset.d.ts +7 -0
- package/dist/serialization/types/CreateEntitlementReqCommon.d.ts +2 -5
- package/dist/serialization/types/CreateEntitlementReqCommonMetricPeriod.d.ts +2 -5
- package/dist/serialization/types/CreateEntitlementReqCommonMetricPeriodMonthReset.d.ts +2 -5
- package/dist/serialization/types/CreateEventRequestBody.d.ts +2 -5
- package/dist/serialization/types/CreateFlagRequestBody.d.ts +2 -5
- package/dist/serialization/types/CreateOrUpdateConditionGroupRequestBody.d.ts +2 -5
- package/dist/serialization/types/CreateOrUpdateConditionRequestBody.d.ts +2 -5
- package/dist/serialization/types/CreateOrUpdateConditionRequestBodyConditionType.d.ts +3 -6
- package/dist/serialization/types/CreateOrUpdateConditionRequestBodyMetricPeriod.d.ts +2 -5
- package/dist/serialization/types/CreateOrUpdateConditionRequestBodyMetricPeriodMonthReset.d.ts +2 -5
- package/dist/serialization/types/CreateOrUpdateConditionRequestBodyOperator.d.ts +2 -5
- package/dist/serialization/types/CreateOrUpdateFlagRequestBody.d.ts +2 -5
- package/dist/serialization/types/CreateOrUpdateRuleRequestBody.d.ts +2 -5
- package/dist/serialization/types/CreateOrUpdateRuleRequestBodyRuleType.d.ts +2 -5
- package/dist/serialization/types/CreatePlanRequestBody.d.ts +13 -0
- package/dist/serialization/types/CreatePriceTierRequestBody.d.ts +2 -5
- package/dist/serialization/types/CreditAutoTopupAmountType.d.ts +2 -5
- package/dist/serialization/types/CreditBundlePurchaseResponseData.d.ts +2 -5
- package/dist/serialization/types/CreditCompanyGrantView.d.ts +9 -6
- package/dist/serialization/types/CreditGrantDetail.d.ts +2 -5
- package/dist/serialization/types/CreditGrantExpiryRequestBody.d.ts +2 -5
- package/dist/serialization/types/CreditGrantSortOrder.d.ts +2 -5
- package/dist/serialization/types/CreditLedgerEnrichedEntryResponseData.d.ts +3 -6
- package/dist/serialization/types/CreditLedgerPeriod.d.ts +2 -5
- package/dist/serialization/types/CreditTransferResponseData.d.ts +14 -0
- package/dist/serialization/types/CreditTransferView.d.ts +14 -0
- package/dist/serialization/types/CreditTriggerConfig.d.ts +2 -5
- package/dist/serialization/types/CreditUsage.d.ts +4 -5
- package/dist/serialization/types/CreditUsageAggregation.d.ts +12 -0
- package/dist/serialization/types/CreditUsageResponseData.d.ts +2 -5
- package/dist/serialization/types/CustomPlanConfig.d.ts +2 -5
- package/dist/serialization/types/CustomPlanViewConfigResponseData.d.ts +2 -5
- package/dist/serialization/types/DataExportOutputFileType.d.ts +2 -5
- package/dist/serialization/types/DataExportResponseData.d.ts +3 -6
- package/dist/serialization/types/DataExportStatus.d.ts +2 -5
- package/dist/serialization/types/DataExportType.d.ts +2 -5
- package/dist/serialization/types/DeleteBillingPlanCreditGrantRequestBody.d.ts +9 -0
- package/dist/serialization/types/DeleteResponse.d.ts +2 -5
- package/dist/serialization/types/DuplicatePlanEntitlementsResponseResponseData.d.ts +2 -5
- package/dist/serialization/types/EntitlementPriceBehavior.d.ts +2 -5
- package/dist/serialization/types/EntitlementTriggerConfig.d.ts +2 -5
- package/dist/serialization/types/EntitlementType.d.ts +2 -5
- package/dist/serialization/types/EntitlementValueType.d.ts +2 -5
- package/dist/serialization/types/EntitlementsInPlan.d.ts +2 -5
- package/dist/serialization/types/EntityKeyDefinitionResponseData.d.ts +2 -5
- package/dist/serialization/types/EntityKeyDetailResponseData.d.ts +2 -5
- package/dist/serialization/types/EntityKeyResponseData.d.ts +2 -5
- package/dist/serialization/types/EntityTraitDefinitionResponseData.d.ts +2 -5
- package/dist/serialization/types/EntityTraitDetailResponseData.d.ts +2 -5
- package/dist/serialization/types/EntityTraitResponseData.d.ts +2 -5
- package/dist/serialization/types/EntityTraitValue.d.ts +2 -5
- package/dist/serialization/types/EntityType.d.ts +2 -5
- package/dist/serialization/types/EnvironmentDetailResponseData.d.ts +2 -5
- package/dist/serialization/types/EnvironmentResponseData.d.ts +2 -5
- package/dist/serialization/types/EnvironmentType.d.ts +2 -5
- package/dist/serialization/types/EventBody.d.ts +3 -6
- package/dist/serialization/types/EventBodyFlagCheck.d.ts +2 -5
- package/dist/serialization/types/EventBodyIdentify.d.ts +2 -5
- package/dist/serialization/types/EventBodyIdentifyCompany.d.ts +2 -5
- package/dist/serialization/types/EventBodyTrack.d.ts +2 -5
- package/dist/serialization/types/EventDetailResponseData.d.ts +4 -7
- package/dist/serialization/types/EventResponseData.d.ts +3 -6
- package/dist/serialization/types/EventStatus.d.ts +2 -5
- package/dist/serialization/types/EventSummaryResponseData.d.ts +2 -5
- package/dist/serialization/types/EventType.d.ts +2 -5
- package/dist/serialization/types/FeatureCompanyResponseData.d.ts +9 -10
- package/dist/serialization/types/FeatureCompanyUserResponseData.d.ts +3 -6
- package/dist/serialization/types/FeatureDetailResponseData.d.ts +4 -7
- package/dist/serialization/types/FeatureLedgerResponseData.d.ts +2 -5
- package/dist/serialization/types/FeatureLifecyclePhase.d.ts +2 -5
- package/dist/serialization/types/FeatureResponseData.d.ts +3 -6
- package/dist/serialization/types/FeatureType.d.ts +2 -5
- package/dist/serialization/types/FeatureUsageDataResponseData.d.ts +3 -6
- package/dist/serialization/types/FeatureUsageDetailResponseData.d.ts +2 -5
- package/dist/serialization/types/FeatureUsageResponseData.d.ts +9 -10
- package/dist/serialization/types/FlagDetailResponseData.d.ts +2 -5
- package/dist/serialization/types/FlagResponseData.d.ts +2 -5
- package/dist/serialization/types/FlagType.d.ts +2 -5
- package/dist/serialization/types/GenericPreviewObject.d.ts +2 -5
- package/dist/serialization/types/InvoiceRequestBody.d.ts +2 -5
- package/dist/serialization/types/InvoiceResponseData.d.ts +4 -5
- package/dist/serialization/types/IssueTemporaryAccessTokenResponseData.d.ts +2 -5
- package/dist/serialization/types/KeysRequestBody.d.ts +2 -5
- package/dist/serialization/types/ManagePlanPreviewResponseResponseData.d.ts +2 -5
- package/dist/serialization/types/ManagePlanRequest.d.ts +2 -5
- package/dist/serialization/types/ManagePlanResponseResponseData.d.ts +2 -5
- package/dist/serialization/types/MeterRequestBody.d.ts +2 -5
- package/dist/serialization/types/OrderedPlansInGroup.d.ts +2 -5
- package/dist/serialization/types/PaymentMethodRequestBody.d.ts +2 -5
- package/dist/serialization/types/PaymentMethodResponseData.d.ts +4 -5
- package/dist/serialization/types/PlanBundleAction.d.ts +7 -0
- package/dist/serialization/types/PlanBundleCreditGrantRequestBody.d.ts +17 -0
- package/dist/serialization/types/PlanBundleEntitlementRequestBody.d.ts +13 -0
- package/dist/serialization/types/PlanBundleResponseData.d.ts +18 -0
- package/dist/serialization/types/PlanChangeAction.d.ts +2 -5
- package/dist/serialization/types/PlanChangeActorType.d.ts +2 -5
- package/dist/serialization/types/PlanChangeBasePlanAction.d.ts +2 -5
- package/dist/serialization/types/PlanChangeResponseData.d.ts +6 -9
- package/dist/serialization/types/PlanChangeSubscriptionAction.d.ts +3 -6
- package/dist/serialization/types/PlanControlledByType.d.ts +2 -5
- package/dist/serialization/types/PlanCreditGrantView.d.ts +2 -5
- package/dist/serialization/types/PlanDetailResponseData.d.ts +7 -8
- package/dist/serialization/types/PlanEntitlementResponseData.d.ts +7 -10
- package/dist/serialization/types/PlanEntitlementsOrder.d.ts +2 -5
- package/dist/serialization/types/PlanGroupBundleOrder.d.ts +2 -5
- package/dist/serialization/types/PlanGroupDetailResponseData.d.ts +5 -8
- package/dist/serialization/types/PlanGroupPlanDetailResponseData.d.ts +8 -9
- package/dist/serialization/types/PlanGroupPlanEntitlementsOrder.d.ts +2 -5
- package/dist/serialization/types/PlanGroupResponseData.d.ts +3 -6
- package/dist/serialization/types/PlanIssueResponseData.d.ts +2 -5
- package/dist/serialization/types/PlanResponseData.d.ts +2 -5
- package/dist/serialization/types/PlanSelection.d.ts +2 -5
- package/dist/serialization/types/PlanSnapshotView.d.ts +2 -5
- package/dist/serialization/types/PlanTraitResponseData.d.ts +2 -5
- package/dist/serialization/types/PlanType.d.ts +2 -5
- package/dist/serialization/types/PlanVersionResponseData.d.ts +21 -0
- package/dist/serialization/types/PlanVersionStatus.d.ts +7 -0
- package/dist/serialization/types/PreviewObject.d.ts +2 -5
- package/dist/serialization/types/PreviewObjectResponseData.d.ts +2 -5
- package/dist/serialization/types/PreviewSubscriptionChangeResponseData.d.ts +3 -6
- package/dist/serialization/types/PreviewSubscriptionFinanceResponseData.d.ts +2 -5
- package/dist/serialization/types/PreviewSubscriptionUpcomingInvoiceLineItems.d.ts +2 -5
- package/dist/serialization/types/ProrationBehavior.d.ts +2 -5
- package/dist/serialization/types/QuickstartResp.d.ts +2 -5
- package/dist/serialization/types/RawEventBatchResponseData.d.ts +2 -5
- package/dist/serialization/types/RawEventResponseData.d.ts +3 -6
- package/dist/serialization/types/Rule.d.ts +3 -6
- package/dist/serialization/types/RuleConditionDetailResponseData.d.ts +3 -6
- package/dist/serialization/types/RuleConditionGroupDetailResponseData.d.ts +2 -5
- package/dist/serialization/types/RuleConditionGroupResponseData.d.ts +2 -5
- package/dist/serialization/types/RuleConditionResponseData.d.ts +2 -5
- package/dist/serialization/types/RuleDetailResponseData.d.ts +3 -6
- package/dist/serialization/types/RuleResponseData.d.ts +2 -5
- package/dist/serialization/types/RuleRuleType.d.ts +2 -5
- package/dist/serialization/types/RulesDetailResponseData.d.ts +2 -5
- package/dist/serialization/types/RulesEngineSchemaVersion.d.ts +2 -5
- package/dist/serialization/types/RulesengineCheckFlagResult.d.ts +2 -5
- package/dist/serialization/types/RulesengineCheckFlagResultFeatureUsagePeriod.d.ts +2 -5
- package/dist/serialization/types/RulesengineCheckFlagResultRuleType.d.ts +2 -5
- package/dist/serialization/types/RulesengineCompany.d.ts +2 -5
- package/dist/serialization/types/RulesengineCompanyMetric.d.ts +2 -5
- package/dist/serialization/types/RulesengineCompanyMetricMonthReset.d.ts +2 -5
- package/dist/serialization/types/RulesengineCompanyMetricPeriod.d.ts +2 -5
- package/dist/serialization/types/RulesengineCondition.d.ts +3 -6
- package/dist/serialization/types/RulesengineConditionConditionType.d.ts +2 -5
- package/dist/serialization/types/RulesengineConditionGroup.d.ts +2 -5
- package/dist/serialization/types/RulesengineConditionMetricPeriod.d.ts +2 -5
- package/dist/serialization/types/RulesengineConditionMetricPeriodMonthReset.d.ts +2 -5
- package/dist/serialization/types/RulesengineConditionOperator.d.ts +2 -5
- package/dist/serialization/types/RulesengineEntityType.d.ts +2 -5
- package/dist/serialization/types/RulesengineFlag.d.ts +2 -5
- package/dist/serialization/types/RulesengineRule.d.ts +3 -6
- package/dist/serialization/types/RulesengineRuleRuleType.d.ts +2 -5
- package/dist/serialization/types/RulesengineSubscription.d.ts +2 -5
- package/dist/serialization/types/RulesengineTrait.d.ts +2 -5
- package/dist/serialization/types/RulesengineTraitDefinition.d.ts +3 -6
- package/dist/serialization/types/RulesengineTraitDefinitionComparableType.d.ts +2 -5
- package/dist/serialization/types/RulesengineUser.d.ts +2 -5
- package/dist/serialization/types/SegmentStatusResp.d.ts +2 -5
- package/dist/serialization/types/SkippedEntitlementErrorResponseData.d.ts +2 -5
- package/dist/serialization/types/SkippedEntitlementResponseData.d.ts +2 -5
- package/dist/serialization/types/SortDirection.d.ts +2 -5
- package/dist/serialization/types/StripeEmbedInfo.d.ts +2 -5
- package/dist/serialization/types/SubscriptionStatus.d.ts +2 -5
- package/dist/serialization/types/SubscriptionTraitUpdate.d.ts +2 -5
- package/dist/serialization/types/SubscriptionType.d.ts +2 -5
- package/dist/serialization/types/TemporaryAccessTokenResourceType.d.ts +2 -5
- package/dist/serialization/types/TemporaryAccessTokenResponseData.d.ts +2 -5
- package/dist/serialization/types/TraitDefinition.d.ts +3 -6
- package/dist/serialization/types/TraitDefinitionComparableType.d.ts +2 -5
- package/dist/serialization/types/TraitType.d.ts +2 -5
- package/dist/serialization/types/UpdateAddOnRequestBody.d.ts +2 -5
- package/dist/serialization/{resources/credits/client/requests → types}/UpdateBillingPlanCreditGrantRequestBody.d.ts +10 -13
- package/dist/serialization/types/UpdateCreditBundleRequestBody.d.ts +2 -5
- package/dist/serialization/types/UpdateEntitlementReqCommon.d.ts +3 -6
- package/dist/serialization/types/UpdateEntitlementReqCommonMetricPeriod.d.ts +2 -5
- package/dist/serialization/types/UpdateEntitlementReqCommonMetricPeriodMonthReset.d.ts +2 -5
- package/dist/serialization/types/UpdatePayInAdvanceRequestBody.d.ts +2 -5
- package/dist/serialization/types/UpdatePlanRequestBody.d.ts +11 -0
- package/dist/serialization/types/UpdatePlanTraitTraitRequestBody.d.ts +2 -5
- package/dist/serialization/types/UpdateRuleRequestBody.d.ts +2 -5
- package/dist/serialization/{resources/plans/client/requests → types}/UpsertBillingProductRequestBody.d.ts +5 -8
- package/dist/serialization/types/UpsertCompanyRequestBody.d.ts +2 -5
- package/dist/serialization/types/UpsertTraitRequestBody.d.ts +2 -5
- package/dist/serialization/types/UpsertUserRequestBody.d.ts +2 -5
- package/dist/serialization/types/UpsertUserSubRequestBody.d.ts +2 -5
- package/dist/serialization/types/UsageBasedEntitlementRequestBody.d.ts +3 -6
- package/dist/serialization/types/UsageBasedEntitlementResponseData.d.ts +2 -5
- package/dist/serialization/types/UserDetailResponseData.d.ts +3 -6
- package/dist/serialization/types/UserResponseData.d.ts +2 -5
- package/dist/serialization/types/WebhookEventDetailResponseData.d.ts +3 -6
- package/dist/serialization/types/WebhookEventResponseData.d.ts +3 -6
- package/dist/serialization/types/WebhookEventStatus.d.ts +2 -5
- package/dist/serialization/types/WebhookRequestType.d.ts +3 -6
- package/dist/serialization/types/WebhookResponseData.d.ts +2 -5
- package/dist/serialization/types/WebhookStatus.d.ts +2 -5
- package/dist/serialization/types/index.d.ts +39 -26
- package/dist/wrapper.d.ts +10 -1
- package/package.json +23 -10
- package/dist/api/resources/companies/client/requests/GetActiveDealsRequest.d.ts +0 -24
- package/dist/api/resources/companies/types/GetActiveDealsParams.d.ts +0 -14
- package/dist/api/resources/companies/types/GetActiveDealsResponse.d.ts +0 -9
- package/dist/api/resources/crm/client/Client.d.ts +0 -133
- package/dist/api/resources/crm/client/requests/CreateCrmDealLineItemAssociationRequestBody.d.ts +0 -14
- package/dist/api/resources/crm/client/requests/CreateCrmDealRequestBody.d.ts +0 -22
- package/dist/api/resources/crm/client/requests/CreateCrmLineItemRequestBody.d.ts +0 -23
- package/dist/api/resources/crm/client/requests/CreateCrmProductRequestBody.d.ts +0 -26
- package/dist/api/resources/crm/client/requests/ListCrmProductsRequest.d.ts +0 -23
- package/dist/api/resources/crm/client/requests/index.d.ts +0 -5
- package/dist/api/resources/crm/types/ListCrmProductsParams.d.ts +0 -14
- package/dist/api/resources/crm/types/ListCrmProductsResponse.d.ts +0 -9
- package/dist/api/resources/crm/types/UpsertCrmDealResponse.d.ts +0 -9
- package/dist/api/resources/crm/types/UpsertCrmProductResponse.d.ts +0 -9
- package/dist/api/resources/crm/types/UpsertDealLineItemAssociationResponse.d.ts +0 -9
- package/dist/api/resources/crm/types/UpsertLineItemResponse.d.ts +0 -9
- package/dist/api/resources/crm/types/index.d.ts +0 -6
- package/dist/api/resources/plans/client/requests/CreatePlanRequestBody.d.ts +0 -18
- package/dist/api/resources/plans/client/requests/UpdatePlanRequestBody.d.ts +0 -14
- package/dist/api/types/CompanyCrmDealsResponseData.d.ts +0 -11
- package/dist/api/types/CrmDealLineItem.d.ts +0 -18
- package/dist/api/types/CrmDealResponseData.d.ts +0 -16
- package/dist/api/types/CrmLineItemResponseData.d.ts +0 -11
- package/dist/api/types/CrmProductResponseData.d.ts +0 -15
- package/dist/api/types/Decimal.d.ts +0 -4
- package/dist/serialization/resources/companies/types/GetActiveDealsParams.d.ts +0 -15
- package/dist/serialization/resources/companies/types/GetActiveDealsResponse.d.ts +0 -15
- package/dist/serialization/resources/crm/client/requests/CreateCrmDealLineItemAssociationRequestBody.d.ts +0 -13
- package/dist/serialization/resources/crm/client/requests/CreateCrmDealRequestBody.d.ts +0 -20
- package/dist/serialization/resources/crm/client/requests/CreateCrmLineItemRequestBody.d.ts +0 -19
- package/dist/serialization/resources/crm/client/requests/CreateCrmProductRequestBody.d.ts +0 -19
- package/dist/serialization/resources/crm/client/requests/index.d.ts +0 -4
- package/dist/serialization/resources/crm/types/ListCrmProductsParams.d.ts +0 -15
- package/dist/serialization/resources/crm/types/ListCrmProductsResponse.d.ts +0 -15
- package/dist/serialization/resources/crm/types/UpsertCrmDealResponse.d.ts +0 -14
- package/dist/serialization/resources/crm/types/UpsertCrmProductResponse.d.ts +0 -14
- package/dist/serialization/resources/crm/types/UpsertDealLineItemAssociationResponse.d.ts +0 -14
- package/dist/serialization/resources/crm/types/UpsertLineItemResponse.d.ts +0 -14
- package/dist/serialization/resources/crm/types/index.d.ts +0 -6
- package/dist/serialization/resources/plans/client/requests/CreatePlanRequestBody.d.ts +0 -16
- package/dist/serialization/resources/plans/client/requests/UpdatePlanRequestBody.d.ts +0 -14
- package/dist/serialization/types/CompanyCrmDealsResponseData.d.ts +0 -17
- package/dist/serialization/types/CrmDealLineItem.d.ts +0 -24
- package/dist/serialization/types/CrmDealResponseData.d.ts +0 -22
- package/dist/serialization/types/CrmLineItemResponseData.d.ts +0 -17
- package/dist/serialization/types/CrmProductResponseData.d.ts +0 -21
- package/dist/serialization/types/Decimal.d.ts +0 -10
- package/dist/api/resources/{crm → planbundle}/client/index.d.ts +0 -0
- package/dist/{serialization/resources/crm → api/resources/planbundle}/index.d.ts +1 -1
- package/dist/serialization/resources/{crm → planbundle}/client/index.d.ts +0 -0
- package/dist/{api/resources/crm → serialization/resources/planbundle}/index.d.ts +1 -1
|
@@ -1,34 +1,18 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
*/
|
|
4
|
-
import * as environments from "../../../../environments";
|
|
1
|
+
import type { BaseClientOptions, BaseRequestOptions } from "../../../../BaseClient";
|
|
2
|
+
import { type NormalizedClientOptionsWithAuth } from "../../../../BaseClient";
|
|
5
3
|
import * as core from "../../../../core";
|
|
6
4
|
import * as Schematic from "../../../index";
|
|
7
|
-
export declare namespace
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
/** Specify a custom URL to connect the client to. */
|
|
11
|
-
baseUrl?: core.Supplier<string>;
|
|
12
|
-
apiKey?: core.Supplier<string | undefined>;
|
|
13
|
-
fetcher?: core.FetchFunction;
|
|
14
|
-
}
|
|
15
|
-
interface RequestOptions {
|
|
16
|
-
/** The maximum time to wait for a response in seconds. */
|
|
17
|
-
timeoutInSeconds?: number;
|
|
18
|
-
/** The number of times to retry the request. Defaults to 2. */
|
|
19
|
-
maxRetries?: number;
|
|
20
|
-
/** A hook to abort the request. */
|
|
21
|
-
abortSignal?: AbortSignal;
|
|
22
|
-
/** Additional headers to include in the request. */
|
|
23
|
-
headers?: Record<string, string>;
|
|
5
|
+
export declare namespace CreditsClient {
|
|
6
|
+
type Options = BaseClientOptions;
|
|
7
|
+
interface RequestOptions extends BaseRequestOptions {
|
|
24
8
|
}
|
|
25
9
|
}
|
|
26
|
-
export declare class
|
|
27
|
-
protected readonly _options:
|
|
28
|
-
constructor(
|
|
10
|
+
export declare class CreditsClient {
|
|
11
|
+
protected readonly _options: NormalizedClientOptionsWithAuth<CreditsClient.Options>;
|
|
12
|
+
constructor(options: CreditsClient.Options);
|
|
29
13
|
/**
|
|
30
14
|
* @param {Schematic.ListBillingCreditsRequest} request
|
|
31
|
-
* @param {
|
|
15
|
+
* @param {CreditsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
32
16
|
*
|
|
33
17
|
* @throws {@link Schematic.BadRequestError}
|
|
34
18
|
* @throws {@link Schematic.UnauthorizedError}
|
|
@@ -43,11 +27,11 @@ export declare class Credits {
|
|
|
43
27
|
* offset: 1
|
|
44
28
|
* })
|
|
45
29
|
*/
|
|
46
|
-
listBillingCredits(request?: Schematic.ListBillingCreditsRequest, requestOptions?:
|
|
30
|
+
listBillingCredits(request?: Schematic.ListBillingCreditsRequest, requestOptions?: CreditsClient.RequestOptions): core.HttpResponsePromise<Schematic.ListBillingCreditsResponse>;
|
|
47
31
|
private __listBillingCredits;
|
|
48
32
|
/**
|
|
49
33
|
* @param {Schematic.CreateBillingCreditRequestBody} request
|
|
50
|
-
* @param {
|
|
34
|
+
* @param {CreditsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
51
35
|
*
|
|
52
36
|
* @throws {@link Schematic.BadRequestError}
|
|
53
37
|
* @throws {@link Schematic.UnauthorizedError}
|
|
@@ -62,11 +46,11 @@ export declare class Credits {
|
|
|
62
46
|
* name: "name"
|
|
63
47
|
* })
|
|
64
48
|
*/
|
|
65
|
-
createBillingCredit(request: Schematic.CreateBillingCreditRequestBody, requestOptions?:
|
|
49
|
+
createBillingCredit(request: Schematic.CreateBillingCreditRequestBody, requestOptions?: CreditsClient.RequestOptions): core.HttpResponsePromise<Schematic.CreateBillingCreditResponse>;
|
|
66
50
|
private __createBillingCredit;
|
|
67
51
|
/**
|
|
68
|
-
* @param {string}
|
|
69
|
-
* @param {
|
|
52
|
+
* @param {string} credit_id - credit_id
|
|
53
|
+
* @param {CreditsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
70
54
|
*
|
|
71
55
|
* @throws {@link Schematic.UnauthorizedError}
|
|
72
56
|
* @throws {@link Schematic.ForbiddenError}
|
|
@@ -76,12 +60,12 @@ export declare class Credits {
|
|
|
76
60
|
* @example
|
|
77
61
|
* await client.credits.getSingleBillingCredit("credit_id")
|
|
78
62
|
*/
|
|
79
|
-
getSingleBillingCredit(
|
|
63
|
+
getSingleBillingCredit(credit_id: string, requestOptions?: CreditsClient.RequestOptions): core.HttpResponsePromise<Schematic.GetSingleBillingCreditResponse>;
|
|
80
64
|
private __getSingleBillingCredit;
|
|
81
65
|
/**
|
|
82
|
-
* @param {string}
|
|
66
|
+
* @param {string} credit_id - credit_id
|
|
83
67
|
* @param {Schematic.UpdateBillingCreditRequestBody} request
|
|
84
|
-
* @param {
|
|
68
|
+
* @param {CreditsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
85
69
|
*
|
|
86
70
|
* @throws {@link Schematic.BadRequestError}
|
|
87
71
|
* @throws {@link Schematic.UnauthorizedError}
|
|
@@ -95,11 +79,11 @@ export declare class Credits {
|
|
|
95
79
|
* name: "name"
|
|
96
80
|
* })
|
|
97
81
|
*/
|
|
98
|
-
updateBillingCredit(
|
|
82
|
+
updateBillingCredit(credit_id: string, request: Schematic.UpdateBillingCreditRequestBody, requestOptions?: CreditsClient.RequestOptions): core.HttpResponsePromise<Schematic.UpdateBillingCreditResponse>;
|
|
99
83
|
private __updateBillingCredit;
|
|
100
84
|
/**
|
|
101
|
-
* @param {string}
|
|
102
|
-
* @param {
|
|
85
|
+
* @param {string} credit_id - credit_id
|
|
86
|
+
* @param {CreditsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
103
87
|
*
|
|
104
88
|
* @throws {@link Schematic.BadRequestError}
|
|
105
89
|
* @throws {@link Schematic.UnauthorizedError}
|
|
@@ -110,11 +94,11 @@ export declare class Credits {
|
|
|
110
94
|
* @example
|
|
111
95
|
* await client.credits.softDeleteBillingCredit("credit_id")
|
|
112
96
|
*/
|
|
113
|
-
softDeleteBillingCredit(
|
|
97
|
+
softDeleteBillingCredit(credit_id: string, requestOptions?: CreditsClient.RequestOptions): core.HttpResponsePromise<Schematic.SoftDeleteBillingCreditResponse>;
|
|
114
98
|
private __softDeleteBillingCredit;
|
|
115
99
|
/**
|
|
116
100
|
* @param {Schematic.ListCreditBundlesRequest} request
|
|
117
|
-
* @param {
|
|
101
|
+
* @param {CreditsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
118
102
|
*
|
|
119
103
|
* @throws {@link Schematic.BadRequestError}
|
|
120
104
|
* @throws {@link Schematic.UnauthorizedError}
|
|
@@ -131,11 +115,11 @@ export declare class Credits {
|
|
|
131
115
|
* offset: 1
|
|
132
116
|
* })
|
|
133
117
|
*/
|
|
134
|
-
listCreditBundles(request?: Schematic.ListCreditBundlesRequest, requestOptions?:
|
|
118
|
+
listCreditBundles(request?: Schematic.ListCreditBundlesRequest, requestOptions?: CreditsClient.RequestOptions): core.HttpResponsePromise<Schematic.ListCreditBundlesResponse>;
|
|
135
119
|
private __listCreditBundles;
|
|
136
120
|
/**
|
|
137
121
|
* @param {Schematic.CreateCreditBundleRequestBody} request
|
|
138
|
-
* @param {
|
|
122
|
+
* @param {CreditsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
139
123
|
*
|
|
140
124
|
* @throws {@link Schematic.BadRequestError}
|
|
141
125
|
* @throws {@link Schematic.UnauthorizedError}
|
|
@@ -151,11 +135,11 @@ export declare class Credits {
|
|
|
151
135
|
* pricePerUnit: 1
|
|
152
136
|
* })
|
|
153
137
|
*/
|
|
154
|
-
createCreditBundle(request: Schematic.CreateCreditBundleRequestBody, requestOptions?:
|
|
138
|
+
createCreditBundle(request: Schematic.CreateCreditBundleRequestBody, requestOptions?: CreditsClient.RequestOptions): core.HttpResponsePromise<Schematic.CreateCreditBundleResponse>;
|
|
155
139
|
private __createCreditBundle;
|
|
156
140
|
/**
|
|
157
|
-
* @param {string}
|
|
158
|
-
* @param {
|
|
141
|
+
* @param {string} bundle_id - bundle_id
|
|
142
|
+
* @param {CreditsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
159
143
|
*
|
|
160
144
|
* @throws {@link Schematic.UnauthorizedError}
|
|
161
145
|
* @throws {@link Schematic.ForbiddenError}
|
|
@@ -165,12 +149,12 @@ export declare class Credits {
|
|
|
165
149
|
* @example
|
|
166
150
|
* await client.credits.getCreditBundle("bundle_id")
|
|
167
151
|
*/
|
|
168
|
-
getCreditBundle(
|
|
152
|
+
getCreditBundle(bundle_id: string, requestOptions?: CreditsClient.RequestOptions): core.HttpResponsePromise<Schematic.GetCreditBundleResponse>;
|
|
169
153
|
private __getCreditBundle;
|
|
170
154
|
/**
|
|
171
|
-
* @param {string}
|
|
155
|
+
* @param {string} bundle_id - bundle_id
|
|
172
156
|
* @param {Schematic.UpdateCreditBundleDetailsRequestBody} request
|
|
173
|
-
* @param {
|
|
157
|
+
* @param {CreditsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
174
158
|
*
|
|
175
159
|
* @throws {@link Schematic.BadRequestError}
|
|
176
160
|
* @throws {@link Schematic.UnauthorizedError}
|
|
@@ -184,11 +168,11 @@ export declare class Credits {
|
|
|
184
168
|
* pricePerUnit: 1
|
|
185
169
|
* })
|
|
186
170
|
*/
|
|
187
|
-
updateCreditBundleDetails(
|
|
171
|
+
updateCreditBundleDetails(bundle_id: string, request: Schematic.UpdateCreditBundleDetailsRequestBody, requestOptions?: CreditsClient.RequestOptions): core.HttpResponsePromise<Schematic.UpdateCreditBundleDetailsResponse>;
|
|
188
172
|
private __updateCreditBundleDetails;
|
|
189
173
|
/**
|
|
190
|
-
* @param {string}
|
|
191
|
-
* @param {
|
|
174
|
+
* @param {string} bundle_id - bundle_id
|
|
175
|
+
* @param {CreditsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
192
176
|
*
|
|
193
177
|
* @throws {@link Schematic.BadRequestError}
|
|
194
178
|
* @throws {@link Schematic.UnauthorizedError}
|
|
@@ -199,11 +183,11 @@ export declare class Credits {
|
|
|
199
183
|
* @example
|
|
200
184
|
* await client.credits.deleteCreditBundle("bundle_id")
|
|
201
185
|
*/
|
|
202
|
-
deleteCreditBundle(
|
|
186
|
+
deleteCreditBundle(bundle_id: string, requestOptions?: CreditsClient.RequestOptions): core.HttpResponsePromise<Schematic.DeleteCreditBundleResponse>;
|
|
203
187
|
private __deleteCreditBundle;
|
|
204
188
|
/**
|
|
205
189
|
* @param {Schematic.CountCreditBundlesRequest} request
|
|
206
|
-
* @param {
|
|
190
|
+
* @param {CreditsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
207
191
|
*
|
|
208
192
|
* @throws {@link Schematic.BadRequestError}
|
|
209
193
|
* @throws {@link Schematic.UnauthorizedError}
|
|
@@ -220,11 +204,11 @@ export declare class Credits {
|
|
|
220
204
|
* offset: 1
|
|
221
205
|
* })
|
|
222
206
|
*/
|
|
223
|
-
countCreditBundles(request?: Schematic.CountCreditBundlesRequest, requestOptions?:
|
|
207
|
+
countCreditBundles(request?: Schematic.CountCreditBundlesRequest, requestOptions?: CreditsClient.RequestOptions): core.HttpResponsePromise<Schematic.CountCreditBundlesResponse>;
|
|
224
208
|
private __countCreditBundles;
|
|
225
209
|
/**
|
|
226
210
|
* @param {Schematic.CountBillingCreditsRequest} request
|
|
227
|
-
* @param {
|
|
211
|
+
* @param {CreditsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
228
212
|
*
|
|
229
213
|
* @throws {@link Schematic.BadRequestError}
|
|
230
214
|
* @throws {@link Schematic.UnauthorizedError}
|
|
@@ -239,12 +223,12 @@ export declare class Credits {
|
|
|
239
223
|
* offset: 1
|
|
240
224
|
* })
|
|
241
225
|
*/
|
|
242
|
-
countBillingCredits(request?: Schematic.CountBillingCreditsRequest, requestOptions?:
|
|
226
|
+
countBillingCredits(request?: Schematic.CountBillingCreditsRequest, requestOptions?: CreditsClient.RequestOptions): core.HttpResponsePromise<Schematic.CountBillingCreditsResponse>;
|
|
243
227
|
private __countBillingCredits;
|
|
244
228
|
/**
|
|
245
|
-
* @param {string}
|
|
229
|
+
* @param {string} grant_id - grant_id
|
|
246
230
|
* @param {Schematic.ZeroOutGrantRequestBody} request
|
|
247
|
-
* @param {
|
|
231
|
+
* @param {CreditsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
248
232
|
*
|
|
249
233
|
* @throws {@link Schematic.BadRequestError}
|
|
250
234
|
* @throws {@link Schematic.UnauthorizedError}
|
|
@@ -255,11 +239,11 @@ export declare class Credits {
|
|
|
255
239
|
* @example
|
|
256
240
|
* await client.credits.zeroOutGrant("grant_id")
|
|
257
241
|
*/
|
|
258
|
-
zeroOutGrant(
|
|
242
|
+
zeroOutGrant(grant_id: string, request?: Schematic.ZeroOutGrantRequestBody, requestOptions?: CreditsClient.RequestOptions): core.HttpResponsePromise<Schematic.ZeroOutGrantResponse>;
|
|
259
243
|
private __zeroOutGrant;
|
|
260
244
|
/**
|
|
261
245
|
* @param {Schematic.CreateCompanyCreditGrant} request
|
|
262
|
-
* @param {
|
|
246
|
+
* @param {CreditsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
263
247
|
*
|
|
264
248
|
* @throws {@link Schematic.BadRequestError}
|
|
265
249
|
* @throws {@link Schematic.UnauthorizedError}
|
|
@@ -275,11 +259,32 @@ export declare class Credits {
|
|
|
275
259
|
* reason: "billing_credit_auto_topup"
|
|
276
260
|
* })
|
|
277
261
|
*/
|
|
278
|
-
grantBillingCreditsToCompany(request: Schematic.CreateCompanyCreditGrant, requestOptions?:
|
|
262
|
+
grantBillingCreditsToCompany(request: Schematic.CreateCompanyCreditGrant, requestOptions?: CreditsClient.RequestOptions): core.HttpResponsePromise<Schematic.GrantBillingCreditsToCompanyResponse>;
|
|
279
263
|
private __grantBillingCreditsToCompany;
|
|
264
|
+
/**
|
|
265
|
+
* @param {Schematic.CountCompanyGrantsRequest} request
|
|
266
|
+
* @param {CreditsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
267
|
+
*
|
|
268
|
+
* @throws {@link Schematic.BadRequestError}
|
|
269
|
+
* @throws {@link Schematic.UnauthorizedError}
|
|
270
|
+
* @throws {@link Schematic.ForbiddenError}
|
|
271
|
+
* @throws {@link Schematic.NotFoundError}
|
|
272
|
+
* @throws {@link Schematic.InternalServerError}
|
|
273
|
+
*
|
|
274
|
+
* @example
|
|
275
|
+
* await client.credits.countCompanyGrants({
|
|
276
|
+
* companyId: "company_id",
|
|
277
|
+
* order: "created_at",
|
|
278
|
+
* dir: "asc",
|
|
279
|
+
* limit: 1,
|
|
280
|
+
* offset: 1
|
|
281
|
+
* })
|
|
282
|
+
*/
|
|
283
|
+
countCompanyGrants(request?: Schematic.CountCompanyGrantsRequest, requestOptions?: CreditsClient.RequestOptions): core.HttpResponsePromise<Schematic.CountCompanyGrantsResponse>;
|
|
284
|
+
private __countCompanyGrants;
|
|
280
285
|
/**
|
|
281
286
|
* @param {Schematic.ListCompanyGrantsRequest} request
|
|
282
|
-
* @param {
|
|
287
|
+
* @param {CreditsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
283
288
|
*
|
|
284
289
|
* @throws {@link Schematic.BadRequestError}
|
|
285
290
|
* @throws {@link Schematic.UnauthorizedError}
|
|
@@ -296,11 +301,11 @@ export declare class Credits {
|
|
|
296
301
|
* offset: 1
|
|
297
302
|
* })
|
|
298
303
|
*/
|
|
299
|
-
listCompanyGrants(request?: Schematic.ListCompanyGrantsRequest, requestOptions?:
|
|
304
|
+
listCompanyGrants(request?: Schematic.ListCompanyGrantsRequest, requestOptions?: CreditsClient.RequestOptions): core.HttpResponsePromise<Schematic.ListCompanyGrantsResponse>;
|
|
300
305
|
private __listCompanyGrants;
|
|
301
306
|
/**
|
|
302
307
|
* @param {Schematic.CountBillingCreditsGrantsRequest} request
|
|
303
|
-
* @param {
|
|
308
|
+
* @param {CreditsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
304
309
|
*
|
|
305
310
|
* @throws {@link Schematic.BadRequestError}
|
|
306
311
|
* @throws {@link Schematic.UnauthorizedError}
|
|
@@ -315,11 +320,11 @@ export declare class Credits {
|
|
|
315
320
|
* offset: 1
|
|
316
321
|
* })
|
|
317
322
|
*/
|
|
318
|
-
countBillingCreditsGrants(request?: Schematic.CountBillingCreditsGrantsRequest, requestOptions?:
|
|
323
|
+
countBillingCreditsGrants(request?: Schematic.CountBillingCreditsGrantsRequest, requestOptions?: CreditsClient.RequestOptions): core.HttpResponsePromise<Schematic.CountBillingCreditsGrantsResponse>;
|
|
319
324
|
private __countBillingCreditsGrants;
|
|
320
325
|
/**
|
|
321
326
|
* @param {Schematic.ListGrantsForCreditRequest} request
|
|
322
|
-
* @param {
|
|
327
|
+
* @param {CreditsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
323
328
|
*
|
|
324
329
|
* @throws {@link Schematic.BadRequestError}
|
|
325
330
|
* @throws {@link Schematic.UnauthorizedError}
|
|
@@ -334,11 +339,11 @@ export declare class Credits {
|
|
|
334
339
|
* offset: 1
|
|
335
340
|
* })
|
|
336
341
|
*/
|
|
337
|
-
listGrantsForCredit(request?: Schematic.ListGrantsForCreditRequest, requestOptions?:
|
|
342
|
+
listGrantsForCredit(request?: Schematic.ListGrantsForCreditRequest, requestOptions?: CreditsClient.RequestOptions): core.HttpResponsePromise<Schematic.ListGrantsForCreditResponse>;
|
|
338
343
|
private __listGrantsForCredit;
|
|
339
344
|
/**
|
|
340
345
|
* @param {Schematic.GetEnrichedCreditLedgerRequest} request
|
|
341
|
-
* @param {
|
|
346
|
+
* @param {CreditsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
342
347
|
*
|
|
343
348
|
* @throws {@link Schematic.BadRequestError}
|
|
344
349
|
* @throws {@link Schematic.UnauthorizedError}
|
|
@@ -358,11 +363,11 @@ export declare class Credits {
|
|
|
358
363
|
* offset: 1
|
|
359
364
|
* })
|
|
360
365
|
*/
|
|
361
|
-
getEnrichedCreditLedger(request: Schematic.GetEnrichedCreditLedgerRequest, requestOptions?:
|
|
366
|
+
getEnrichedCreditLedger(request: Schematic.GetEnrichedCreditLedgerRequest, requestOptions?: CreditsClient.RequestOptions): core.HttpResponsePromise<Schematic.GetEnrichedCreditLedgerResponse>;
|
|
362
367
|
private __getEnrichedCreditLedger;
|
|
363
368
|
/**
|
|
364
369
|
* @param {Schematic.CountCreditLedgerRequest} request
|
|
365
|
-
* @param {
|
|
370
|
+
* @param {CreditsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
366
371
|
*
|
|
367
372
|
* @throws {@link Schematic.BadRequestError}
|
|
368
373
|
* @throws {@link Schematic.UnauthorizedError}
|
|
@@ -382,11 +387,11 @@ export declare class Credits {
|
|
|
382
387
|
* offset: 1
|
|
383
388
|
* })
|
|
384
389
|
*/
|
|
385
|
-
countCreditLedger(request: Schematic.CountCreditLedgerRequest, requestOptions?:
|
|
390
|
+
countCreditLedger(request: Schematic.CountCreditLedgerRequest, requestOptions?: CreditsClient.RequestOptions): core.HttpResponsePromise<Schematic.CountCreditLedgerResponse>;
|
|
386
391
|
private __countCreditLedger;
|
|
387
392
|
/**
|
|
388
393
|
* @param {Schematic.ListBillingPlanCreditGrantsRequest} request
|
|
389
|
-
* @param {
|
|
394
|
+
* @param {CreditsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
390
395
|
*
|
|
391
396
|
* @throws {@link Schematic.BadRequestError}
|
|
392
397
|
* @throws {@link Schematic.UnauthorizedError}
|
|
@@ -402,11 +407,11 @@ export declare class Credits {
|
|
|
402
407
|
* offset: 1
|
|
403
408
|
* })
|
|
404
409
|
*/
|
|
405
|
-
listBillingPlanCreditGrants(request?: Schematic.ListBillingPlanCreditGrantsRequest, requestOptions?:
|
|
410
|
+
listBillingPlanCreditGrants(request?: Schematic.ListBillingPlanCreditGrantsRequest, requestOptions?: CreditsClient.RequestOptions): core.HttpResponsePromise<Schematic.ListBillingPlanCreditGrantsResponse>;
|
|
406
411
|
private __listBillingPlanCreditGrants;
|
|
407
412
|
/**
|
|
408
413
|
* @param {Schematic.CreateBillingPlanCreditGrantRequestBody} request
|
|
409
|
-
* @param {
|
|
414
|
+
* @param {CreditsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
410
415
|
*
|
|
411
416
|
* @throws {@link Schematic.BadRequestError}
|
|
412
417
|
* @throws {@link Schematic.UnauthorizedError}
|
|
@@ -423,12 +428,12 @@ export declare class Credits {
|
|
|
423
428
|
* resetStart: "billing_period"
|
|
424
429
|
* })
|
|
425
430
|
*/
|
|
426
|
-
createBillingPlanCreditGrant(request: Schematic.CreateBillingPlanCreditGrantRequestBody, requestOptions?:
|
|
431
|
+
createBillingPlanCreditGrant(request: Schematic.CreateBillingPlanCreditGrantRequestBody, requestOptions?: CreditsClient.RequestOptions): core.HttpResponsePromise<Schematic.CreateBillingPlanCreditGrantResponse>;
|
|
427
432
|
private __createBillingPlanCreditGrant;
|
|
428
433
|
/**
|
|
429
|
-
* @param {string}
|
|
434
|
+
* @param {string} plan_grant_id - plan_grant_id
|
|
430
435
|
* @param {Schematic.UpdateBillingPlanCreditGrantRequestBody} request
|
|
431
|
-
* @param {
|
|
436
|
+
* @param {CreditsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
432
437
|
*
|
|
433
438
|
* @throws {@link Schematic.BadRequestError}
|
|
434
439
|
* @throws {@link Schematic.UnauthorizedError}
|
|
@@ -442,12 +447,12 @@ export declare class Credits {
|
|
|
442
447
|
* resetStart: "billing_period"
|
|
443
448
|
* })
|
|
444
449
|
*/
|
|
445
|
-
updateBillingPlanCreditGrant(
|
|
450
|
+
updateBillingPlanCreditGrant(plan_grant_id: string, request: Schematic.UpdateBillingPlanCreditGrantRequestBody, requestOptions?: CreditsClient.RequestOptions): core.HttpResponsePromise<Schematic.UpdateBillingPlanCreditGrantResponse>;
|
|
446
451
|
private __updateBillingPlanCreditGrant;
|
|
447
452
|
/**
|
|
448
|
-
* @param {string}
|
|
453
|
+
* @param {string} plan_grant_id - plan_grant_id
|
|
449
454
|
* @param {Schematic.DeleteBillingPlanCreditGrantRequest} request
|
|
450
|
-
* @param {
|
|
455
|
+
* @param {CreditsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
451
456
|
*
|
|
452
457
|
* @throws {@link Schematic.BadRequestError}
|
|
453
458
|
* @throws {@link Schematic.UnauthorizedError}
|
|
@@ -460,11 +465,11 @@ export declare class Credits {
|
|
|
460
465
|
* applyToExisting: true
|
|
461
466
|
* })
|
|
462
467
|
*/
|
|
463
|
-
deleteBillingPlanCreditGrant(
|
|
468
|
+
deleteBillingPlanCreditGrant(plan_grant_id: string, request?: Schematic.DeleteBillingPlanCreditGrantRequest, requestOptions?: CreditsClient.RequestOptions): core.HttpResponsePromise<Schematic.DeleteBillingPlanCreditGrantResponse>;
|
|
464
469
|
private __deleteBillingPlanCreditGrant;
|
|
465
470
|
/**
|
|
466
471
|
* @param {Schematic.CountBillingPlanCreditGrantsRequest} request
|
|
467
|
-
* @param {
|
|
472
|
+
* @param {CreditsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
468
473
|
*
|
|
469
474
|
* @throws {@link Schematic.BadRequestError}
|
|
470
475
|
* @throws {@link Schematic.UnauthorizedError}
|
|
@@ -480,9 +485,6 @@ export declare class Credits {
|
|
|
480
485
|
* offset: 1
|
|
481
486
|
* })
|
|
482
487
|
*/
|
|
483
|
-
countBillingPlanCreditGrants(request?: Schematic.CountBillingPlanCreditGrantsRequest, requestOptions?:
|
|
488
|
+
countBillingPlanCreditGrants(request?: Schematic.CountBillingPlanCreditGrantsRequest, requestOptions?: CreditsClient.RequestOptions): core.HttpResponsePromise<Schematic.CountBillingPlanCreditGrantsResponse>;
|
|
484
489
|
private __countBillingPlanCreditGrants;
|
|
485
|
-
protected _getCustomAuthorizationHeaders(): Promise<{
|
|
486
|
-
"X-Schematic-Api-Key": string | undefined;
|
|
487
|
-
}>;
|
|
488
490
|
}
|
|
@@ -1,6 +1,3 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
-
*/
|
|
4
1
|
/**
|
|
5
2
|
* @example
|
|
6
3
|
* {
|
|
@@ -12,12 +9,8 @@
|
|
|
12
9
|
export interface CountBillingCreditsGrantsRequest {
|
|
13
10
|
creditId?: string;
|
|
14
11
|
ids?: string | string[];
|
|
15
|
-
/**
|
|
16
|
-
* Page limit (default 100)
|
|
17
|
-
*/
|
|
12
|
+
/** Page limit (default 100) */
|
|
18
13
|
limit?: number;
|
|
19
|
-
/**
|
|
20
|
-
* Page offset (default 0)
|
|
21
|
-
*/
|
|
14
|
+
/** Page offset (default 0) */
|
|
22
15
|
offset?: number;
|
|
23
16
|
}
|
|
@@ -1,6 +1,3 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
-
*/
|
|
4
1
|
/**
|
|
5
2
|
* @example
|
|
6
3
|
* {
|
|
@@ -12,12 +9,8 @@
|
|
|
12
9
|
export interface CountBillingCreditsRequest {
|
|
13
10
|
ids?: string | string[];
|
|
14
11
|
name?: string;
|
|
15
|
-
/**
|
|
16
|
-
* Page limit (default 100)
|
|
17
|
-
*/
|
|
12
|
+
/** Page limit (default 100) */
|
|
18
13
|
limit?: number;
|
|
19
|
-
/**
|
|
20
|
-
* Page offset (default 0)
|
|
21
|
-
*/
|
|
14
|
+
/** Page offset (default 0) */
|
|
22
15
|
offset?: number;
|
|
23
16
|
}
|
|
@@ -1,6 +1,3 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
-
*/
|
|
4
1
|
/**
|
|
5
2
|
* @example
|
|
6
3
|
* {
|
|
@@ -15,12 +12,8 @@ export interface CountBillingPlanCreditGrantsRequest {
|
|
|
15
12
|
planId?: string;
|
|
16
13
|
planIds?: string | string[];
|
|
17
14
|
ids?: string | string[];
|
|
18
|
-
/**
|
|
19
|
-
* Page limit (default 100)
|
|
20
|
-
*/
|
|
15
|
+
/** Page limit (default 100) */
|
|
21
16
|
limit?: number;
|
|
22
|
-
/**
|
|
23
|
-
* Page offset (default 0)
|
|
24
|
-
*/
|
|
17
|
+
/** Page offset (default 0) */
|
|
25
18
|
offset?: number;
|
|
26
19
|
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import type * as Schematic from "../../../../index";
|
|
2
|
+
/**
|
|
3
|
+
* @example
|
|
4
|
+
* {
|
|
5
|
+
* companyId: "company_id",
|
|
6
|
+
* order: "created_at",
|
|
7
|
+
* dir: "asc",
|
|
8
|
+
* limit: 1,
|
|
9
|
+
* offset: 1
|
|
10
|
+
* }
|
|
11
|
+
*/
|
|
12
|
+
export interface CountCompanyGrantsRequest {
|
|
13
|
+
companyId?: string;
|
|
14
|
+
order?: Schematic.CreditGrantSortOrder;
|
|
15
|
+
dir?: Schematic.SortDirection;
|
|
16
|
+
/** Page limit (default 100) */
|
|
17
|
+
limit?: number;
|
|
18
|
+
/** Page offset (default 0) */
|
|
19
|
+
offset?: number;
|
|
20
|
+
}
|
|
@@ -1,7 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
-
*/
|
|
4
|
-
import * as Schematic from "../../../../index";
|
|
1
|
+
import type * as Schematic from "../../../../index";
|
|
5
2
|
/**
|
|
6
3
|
* @example
|
|
7
4
|
* {
|
|
@@ -17,12 +14,8 @@ export interface CountCreditBundlesRequest {
|
|
|
17
14
|
creditId?: string;
|
|
18
15
|
status?: Schematic.BillingCreditBundleStatus;
|
|
19
16
|
bundleType?: Schematic.BillingCreditBundleType;
|
|
20
|
-
/**
|
|
21
|
-
* Page limit (default 100)
|
|
22
|
-
*/
|
|
17
|
+
/** Page limit (default 100) */
|
|
23
18
|
limit?: number;
|
|
24
|
-
/**
|
|
25
|
-
* Page offset (default 0)
|
|
26
|
-
*/
|
|
19
|
+
/** Page offset (default 0) */
|
|
27
20
|
offset?: number;
|
|
28
21
|
}
|
|
@@ -1,7 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
-
*/
|
|
4
|
-
import * as Schematic from "../../../../index";
|
|
1
|
+
import type * as Schematic from "../../../../index";
|
|
5
2
|
/**
|
|
6
3
|
* @example
|
|
7
4
|
* {
|
|
@@ -22,12 +19,8 @@ export interface CountCreditLedgerRequest {
|
|
|
22
19
|
period: Schematic.CreditLedgerPeriod;
|
|
23
20
|
startTime?: string;
|
|
24
21
|
endTime?: string;
|
|
25
|
-
/**
|
|
26
|
-
* Page limit (default 100)
|
|
27
|
-
*/
|
|
22
|
+
/** Page limit (default 100) */
|
|
28
23
|
limit?: number;
|
|
29
|
-
/**
|
|
30
|
-
* Page offset (default 0)
|
|
31
|
-
*/
|
|
24
|
+
/** Page offset (default 0) */
|
|
32
25
|
offset?: number;
|
|
33
26
|
}
|
|
@@ -1,7 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
-
*/
|
|
4
|
-
import * as Schematic from "../../../../index";
|
|
1
|
+
import type * as Schematic from "../../../../index";
|
|
5
2
|
/**
|
|
6
3
|
* @example
|
|
7
4
|
* {
|
|
@@ -22,12 +19,8 @@ export interface GetEnrichedCreditLedgerRequest {
|
|
|
22
19
|
period: Schematic.CreditLedgerPeriod;
|
|
23
20
|
startTime?: string;
|
|
24
21
|
endTime?: string;
|
|
25
|
-
/**
|
|
26
|
-
* Page limit (default 100)
|
|
27
|
-
*/
|
|
22
|
+
/** Page limit (default 100) */
|
|
28
23
|
limit?: number;
|
|
29
|
-
/**
|
|
30
|
-
* Page offset (default 0)
|
|
31
|
-
*/
|
|
24
|
+
/** Page offset (default 0) */
|
|
32
25
|
offset?: number;
|
|
33
26
|
}
|
|
@@ -1,6 +1,3 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
-
*/
|
|
4
1
|
/**
|
|
5
2
|
* @example
|
|
6
3
|
* {
|
|
@@ -12,12 +9,8 @@
|
|
|
12
9
|
export interface ListBillingCreditsRequest {
|
|
13
10
|
ids?: string | string[];
|
|
14
11
|
name?: string;
|
|
15
|
-
/**
|
|
16
|
-
* Page limit (default 100)
|
|
17
|
-
*/
|
|
12
|
+
/** Page limit (default 100) */
|
|
18
13
|
limit?: number;
|
|
19
|
-
/**
|
|
20
|
-
* Page offset (default 0)
|
|
21
|
-
*/
|
|
14
|
+
/** Page offset (default 0) */
|
|
22
15
|
offset?: number;
|
|
23
16
|
}
|
|
@@ -1,6 +1,3 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
-
*/
|
|
4
1
|
/**
|
|
5
2
|
* @example
|
|
6
3
|
* {
|
|
@@ -15,12 +12,8 @@ export interface ListBillingPlanCreditGrantsRequest {
|
|
|
15
12
|
planId?: string;
|
|
16
13
|
planIds?: string | string[];
|
|
17
14
|
ids?: string | string[];
|
|
18
|
-
/**
|
|
19
|
-
* Page limit (default 100)
|
|
20
|
-
*/
|
|
15
|
+
/** Page limit (default 100) */
|
|
21
16
|
limit?: number;
|
|
22
|
-
/**
|
|
23
|
-
* Page offset (default 0)
|
|
24
|
-
*/
|
|
17
|
+
/** Page offset (default 0) */
|
|
25
18
|
offset?: number;
|
|
26
19
|
}
|