@schematichq/schematic-typescript-node 1.2.6 → 1.3.0
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 +52 -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 +10 -29
- package/dist/api/resources/accesstokens/client/requests/IssueTemporaryAccessTokenRequestBody.d.ts +1 -7
- 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 +2 -5
- 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 +2 -5
- 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 -15
- package/dist/api/resources/billing/client/Client.d.ts +87 -97
- package/dist/api/resources/billing/client/requests/CountBillingProductsRequest.d.ts +18 -33
- package/dist/api/resources/billing/client/requests/CountCustomersRequest.d.ts +7 -11
- package/dist/api/resources/billing/client/requests/CreateBillingCustomerRequestBody.d.ts +2 -3
- package/dist/api/resources/billing/client/requests/CreateBillingPriceRequestBody.d.ts +5 -7
- package/dist/api/resources/billing/client/requests/CreateBillingProductRequestBody.d.ts +2 -3
- package/dist/api/resources/billing/client/requests/CreateBillingSubscriptionRequestBody.d.ts +5 -7
- 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 +42 -0
- package/dist/api/resources/billing/client/requests/ListBillingProductPricesRequest.d.ts +42 -0
- 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 +7 -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 -3
- 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/{SearchBillingPricesParams.d.ts → ListBillingPricesParams.d.ts} +10 -9
- package/dist/api/resources/billing/types/ListBillingPricesResponse.d.ts +6 -0
- package/dist/api/resources/billing/types/ListBillingProductPricesParams.d.ts +27 -0
- package/dist/api/resources/billing/types/ListBillingProductPricesResponse.d.ts +6 -0
- 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 -3
- 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 -31
- package/dist/api/resources/checkout/client/Client.d.ts +38 -40
- package/dist/api/resources/checkout/client/requests/CancelSubscriptionRequest.d.ts +13 -0
- 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 -2
- package/dist/api/resources/checkout/index.d.ts +1 -1
- package/dist/api/resources/checkout/types/CancelSubscriptionResponse.d.ts +6 -0
- 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 -1
- package/dist/api/resources/companies/client/Client.d.ts +102 -140
- package/dist/api/resources/companies/client/requests/CountCompaniesForAdvancedFilterRequest.d.ts +19 -52
- package/dist/api/resources/companies/client/requests/CountCompaniesRequest.d.ts +8 -27
- package/dist/api/resources/companies/client/requests/CountEntityKeyDefinitionsRequest.d.ts +4 -11
- package/dist/api/resources/companies/client/requests/CountEntityTraitDefinitionsRequest.d.ts +6 -12
- 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 +3 -6
- 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 +19 -52
- 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 +4 -11
- package/dist/api/resources/companies/client/requests/ListEntityTraitDefinitionsRequest.d.ts +6 -12
- 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 +2 -5
- package/dist/api/resources/companies/client/requests/UpdatePlanTraitBulkRequestBody.d.ts +3 -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 +4 -8
- 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 +2 -5
- package/dist/api/resources/companies/types/CountEntityKeyDefinitionsResponse.d.ts +1 -4
- package/dist/api/resources/companies/types/CountEntityTraitDefinitionsParams.d.ts +4 -6
- 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 +4 -8
- 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 +2 -5
- package/dist/api/resources/companies/types/ListEntityKeyDefinitionsResponse.d.ts +1 -4
- package/dist/api/resources/companies/types/ListEntityTraitDefinitionsParams.d.ts +4 -6
- 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 -61
- package/dist/api/resources/components/client/Client.d.ts +26 -45
- package/dist/api/resources/components/client/requests/CountComponentsRequest.d.ts +2 -9
- package/dist/api/resources/components/client/requests/CreateComponentRequestBody.d.ts +3 -6
- 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 +3 -6
- 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 -9
- package/dist/api/resources/credits/client/Client.d.ts +68 -87
- 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/CountCreditBundlesRequest.d.ts +5 -12
- package/dist/api/resources/credits/client/requests/CountCreditLedgerRequest.d.ts +4 -11
- package/dist/api/resources/credits/client/requests/CreateBillingCreditRequestBody.d.ts +4 -7
- package/dist/api/resources/credits/client/requests/CreateBillingPlanCreditGrantRequestBody.d.ts +10 -13
- package/dist/api/resources/credits/client/requests/CreateCompanyCreditGrant.d.ts +7 -8
- package/dist/api/resources/credits/client/requests/CreateCreditBundleRequestBody.d.ts +5 -8
- package/dist/api/resources/credits/client/requests/DeleteBillingPlanCreditGrantRequest.d.ts +0 -3
- package/dist/api/resources/credits/client/requests/GetEnrichedCreditLedgerRequest.d.ts +4 -11
- 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 +5 -12
- package/dist/api/resources/credits/client/requests/ListCreditBundlesRequest.d.ts +5 -12
- package/dist/api/resources/credits/client/requests/ListGrantsForCreditRequest.d.ts +2 -9
- package/dist/api/resources/credits/client/requests/UpdateBillingCreditRequestBody.d.ts +4 -7
- package/dist/api/resources/credits/client/requests/UpdateBillingPlanCreditGrantRequestBody.d.ts +14 -10
- package/dist/api/resources/credits/client/requests/UpdateCreditBundleDetailsRequestBody.d.ts +4 -7
- package/dist/api/resources/credits/client/requests/ZeroOutGrantRequestBody.d.ts +2 -5
- package/dist/api/resources/credits/client/requests/index.d.ts +20 -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/CountCreditBundlesParams.d.ts +3 -6
- package/dist/api/resources/credits/types/CountCreditBundlesResponse.d.ts +1 -4
- package/dist/api/resources/credits/types/CountCreditLedgerParams.d.ts +2 -5
- 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 +2 -5
- 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 +3 -6
- package/dist/api/resources/credits/types/ListCompanyGrantsResponse.d.ts +1 -4
- package/dist/api/resources/credits/types/ListCreditBundlesParams.d.ts +3 -6
- 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 +27 -64
- package/dist/api/resources/dataexports/client/Client.d.ts +12 -31
- package/dist/api/resources/dataexports/client/requests/CreateDataExportRequestBody.d.ts +0 -3
- 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 +72 -71
- 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 +2 -5
- package/dist/api/resources/entitlements/client/requests/CreatePlanEntitlementRequestBody.d.ts +4 -7
- package/dist/api/resources/entitlements/client/requests/DuplicatePlanEntitlementsRequestBody.d.ts +11 -0
- 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 +2 -5
- package/dist/api/resources/entitlements/client/requests/UpdatePlanEntitlementRequestBody.d.ts +4 -7
- package/dist/api/resources/entitlements/client/requests/index.d.ts +16 -15
- 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 +6 -0
- 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 -29
- package/dist/api/resources/events/client/Client.d.ts +23 -42
- package/dist/api/resources/events/client/requests/CreateEventBatchRequestBody.d.ts +2 -5
- package/dist/api/resources/events/client/requests/GetEventSummariesRequest.d.ts +2 -9
- package/dist/api/resources/events/client/requests/ListEventsRequest.d.ts +4 -11
- 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 +2 -5
- package/dist/api/resources/events/types/ListEventsResponse.d.ts +1 -4
- package/dist/api/resources/events/types/index.d.ts +3 -5
- package/dist/api/resources/features/client/Client.d.ts +62 -64
- package/dist/api/resources/features/client/requests/CheckFlagsBulkRequestBody.d.ts +10 -0
- package/dist/api/resources/features/client/requests/CountFeaturesRequest.d.ts +9 -25
- package/dist/api/resources/features/client/requests/CountFlagsRequest.d.ts +3 -12
- package/dist/api/resources/features/client/requests/CreateFeatureRequestBody.d.ts +3 -6
- package/dist/api/resources/features/client/requests/ListFeaturesRequest.d.ts +9 -25
- package/dist/api/resources/features/client/requests/ListFlagsRequest.d.ts +3 -12
- package/dist/api/resources/features/client/requests/UpdateFeatureRequestBody.d.ts +3 -6
- package/dist/api/resources/features/client/requests/UpdateFlagRulesRequestBody.d.ts +1 -4
- package/dist/api/resources/features/client/requests/index.d.ts +8 -7
- 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 +6 -0
- package/dist/api/resources/features/types/CheckFlagsResponse.d.ts +1 -4
- package/dist/api/resources/features/types/CountFeaturesParams.d.ts +2 -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 +2 -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 -17
- package/dist/api/resources/index.d.ts +22 -25
- package/dist/api/resources/plangroups/client/Client.d.ts +23 -36
- package/dist/api/resources/plangroups/client/requests/CreatePlanGroupRequestBody.d.ts +11 -6
- package/dist/api/resources/plangroups/client/requests/UpdatePlanGroupRequestBody.d.ts +11 -6
- 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 +32 -55
- package/dist/api/resources/plans/client/requests/CountPlansRequest.d.ts +11 -42
- package/dist/api/resources/plans/client/requests/CreatePlanRequestBody.d.ts +2 -5
- package/dist/api/resources/plans/client/requests/ListPlanIssuesRequest.d.ts +0 -3
- package/dist/api/resources/plans/client/requests/ListPlansRequest.d.ts +11 -42
- package/dist/api/resources/plans/client/requests/UpdateCompanyPlansRequestBody.d.ts +0 -3
- package/dist/api/resources/plans/client/requests/UpdatePlanRequestBody.d.ts +0 -3
- package/dist/api/resources/plans/client/requests/UpsertBillingProductRequestBody.d.ts +3 -6
- package/dist/api/resources/plans/client/requests/index.d.ts +7 -7
- package/dist/api/resources/plans/index.d.ts +1 -1
- package/dist/api/resources/plans/types/CountPlansParams.d.ts +2 -10
- 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 +2 -10
- 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 -14
- package/dist/api/resources/webhooks/client/Client.d.ts +31 -50
- 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 +3 -6
- 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 +3 -6
- 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 -11
- package/dist/api/types/ApiError.d.ts +0 -3
- package/dist/api/types/ApiKeyCreateResponseData.d.ts +2 -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 +2 -4
- package/dist/api/types/ApiKeyScope.d.ts +7 -0
- package/dist/api/types/BillingCouponResponseData.d.ts +2 -3
- package/dist/api/types/BillingCreditBundleResponseData.d.ts +5 -8
- package/dist/api/types/BillingCreditBundleStatus.d.ts +5 -0
- package/dist/api/types/BillingCreditBundleType.d.ts +1 -0
- package/dist/api/types/BillingCreditBundleView.d.ts +5 -8
- package/dist/api/types/BillingCreditBurnStrategy.d.ts +7 -0
- package/dist/api/types/BillingCreditExpiryType.d.ts +8 -0
- package/dist/api/types/BillingCreditExpiryUnit.d.ts +5 -0
- package/dist/api/types/BillingCreditGrantReason.d.ts +7 -0
- package/dist/api/types/BillingCreditGrantResponseData.d.ts +4 -6
- package/dist/api/types/BillingCreditGrantZeroedOutReason.d.ts +7 -0
- package/dist/api/types/BillingCreditLedgerResponseData.d.ts +0 -3
- package/dist/api/types/BillingCreditResponseData.d.ts +4 -7
- package/dist/api/types/BillingCreditRolloverPolicy.d.ts +6 -0
- package/dist/api/types/BillingCustomerResponseData.d.ts +2 -3
- package/dist/api/types/BillingCustomerSubscription.d.ts +0 -3
- package/dist/api/types/BillingCustomerWithSubscriptionsResponseData.d.ts +2 -4
- package/dist/api/types/BillingMeterResponseData.d.ts +2 -3
- package/dist/api/types/BillingPlanCreditGrantResetCadence.d.ts +7 -0
- package/dist/api/types/BillingPlanCreditGrantResetStart.d.ts +5 -0
- package/dist/api/types/BillingPlanCreditGrantResetType.d.ts +5 -0
- package/dist/api/types/BillingPlanCreditGrantResponseData.d.ts +8 -10
- package/dist/api/types/BillingPriceResponseData.d.ts +4 -5
- package/dist/api/types/BillingPriceScheme.d.ts +5 -0
- package/dist/api/types/BillingPriceUsageType.d.ts +5 -0
- package/dist/api/types/BillingPriceView.d.ts +6 -8
- package/dist/api/types/BillingProductDetailResponseData.d.ts +2 -4
- package/dist/api/types/BillingProductForSubscriptionResponseData.d.ts +4 -6
- package/dist/api/types/BillingProductPlanResponseData.d.ts +3 -5
- package/dist/api/types/BillingProductPriceInterval.d.ts +7 -0
- package/dist/api/types/BillingProductPriceResponseData.d.ts +6 -7
- package/dist/api/types/BillingProductPriceTierResponseData.d.ts +0 -3
- package/dist/api/types/BillingProductPricing.d.ts +2 -5
- 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 +4 -4
- package/dist/api/types/BillingSubscriptionTrialEndSetting.d.ts +5 -0
- package/dist/api/types/BillingSubscriptionView.d.ts +4 -5
- package/dist/api/types/BillingTiersMode.d.ts +5 -0
- 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 +6 -0
- 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 +4 -0
- 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 +4 -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 +2 -5
- package/dist/api/types/CompanyPlanDetailResponseData.d.ts +5 -7
- package/dist/api/types/CompanyPlanInvalidReason.d.ts +5 -0
- package/dist/api/types/CompanyPlanWithBillingSubView.d.ts +2 -3
- 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 +6 -0
- package/dist/api/types/ComponentEntityType.d.ts +5 -0
- package/dist/api/types/ComponentHydrateResponseData.d.ts +6 -4
- package/dist/api/types/ComponentPreviewResponseData.d.ts +6 -4
- package/dist/api/types/ComponentResponseData.d.ts +3 -5
- package/dist/api/types/ComponentSettingsResponseData.d.ts +6 -0
- package/dist/api/types/ComponentState.d.ts +5 -0
- 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/types/CreateBillingPriceTierRequestBody.d.ts +2 -3
- package/dist/api/types/CreateEntitlementReqCommon.d.ts +2 -5
- 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 +2 -6
- package/dist/api/types/CreateFlagRequestBody.d.ts +2 -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 +2 -4
- package/dist/api/types/CreateOrUpdateRuleRequestBody.d.ts +1 -4
- package/dist/api/types/CreateOrUpdateRuleRequestBodyRuleType.d.ts +1 -4
- package/dist/api/types/CreatePriceTierRequestBody.d.ts +0 -3
- package/dist/api/types/CreditAutoTopupAmountType.d.ts +1 -0
- package/dist/api/types/CreditBundlePurchaseResponseData.d.ts +1 -4
- package/dist/api/types/CreditCompanyGrantView.d.ts +7 -8
- package/dist/api/types/CreditGrantDetail.d.ts +2 -5
- package/dist/api/types/CreditGrantExpiryRequestBody.d.ts +6 -9
- package/dist/api/types/CreditGrantSortOrder.d.ts +7 -0
- package/dist/api/types/CreditLedgerEnrichedEntryResponseData.d.ts +1 -4
- package/dist/api/types/CreditLedgerPeriod.d.ts +7 -0
- 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 +1 -0
- package/dist/api/types/DataExportResponseData.d.ts +4 -6
- package/dist/api/types/DataExportStatus.d.ts +6 -0
- package/dist/api/types/DataExportType.d.ts +1 -0
- package/dist/api/types/DeleteResponse.d.ts +0 -3
- package/dist/api/types/DuplicatePlanEntitlementsResponseResponseData.d.ts +5 -0
- package/dist/api/types/EntitlementPriceBehavior.d.ts +8 -0
- package/dist/api/types/EntitlementTriggerConfig.d.ts +0 -3
- package/dist/api/types/EntitlementType.d.ts +6 -0
- package/dist/api/types/EntitlementValueType.d.ts +9 -0
- package/dist/api/types/EntitlementsInPlan.d.ts +0 -3
- package/dist/api/types/EntityKeyDefinitionResponseData.d.ts +2 -4
- package/dist/api/types/EntityKeyDetailResponseData.d.ts +2 -5
- package/dist/api/types/EntityKeyResponseData.d.ts +2 -4
- package/dist/api/types/EntityTraitDefinitionResponseData.d.ts +3 -5
- 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 +5 -0
- package/dist/api/types/EnvironmentDetailResponseData.d.ts +2 -5
- package/dist/api/types/EnvironmentResponseData.d.ts +2 -4
- package/dist/api/types/EnvironmentType.d.ts +6 -0
- 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 +3 -6
- package/dist/api/types/EventResponseData.d.ts +3 -5
- package/dist/api/types/EventStatus.d.ts +8 -0
- package/dist/api/types/EventSummaryResponseData.d.ts +0 -3
- package/dist/api/types/EventType.d.ts +6 -0
- package/dist/api/types/FeatureCompanyResponseData.d.ts +9 -12
- package/dist/api/types/FeatureCompanyUserResponseData.d.ts +3 -7
- package/dist/api/types/FeatureDetailResponseData.d.ts +3 -6
- package/dist/api/types/FeatureLedgerResponseData.d.ts +0 -3
- package/dist/api/{resources/features/types/CreateFeatureRequestBodyLifecyclePhase.d.ts → types/FeatureLifecyclePhase.d.ts} +3 -6
- package/dist/api/types/FeatureResponseData.d.ts +3 -5
- package/dist/api/types/FeatureType.d.ts +6 -0
- package/dist/api/types/FeatureUsageDataResponseData.d.ts +2 -5
- package/dist/api/types/FeatureUsageDetailResponseData.d.ts +1 -4
- package/dist/api/types/FeatureUsageResponseData.d.ts +9 -12
- package/dist/api/types/FlagDetailResponseData.d.ts +2 -5
- package/dist/api/types/FlagResponseData.d.ts +2 -4
- package/dist/api/types/FlagType.d.ts +1 -0
- 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 +2 -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 +6 -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/{PlanChangeResponseDataAction.d.ts → PlanChangeAction.d.ts} +3 -5
- package/dist/api/types/PlanChangeActorType.d.ts +7 -0
- package/dist/api/types/PlanChangeBasePlanAction.d.ts +7 -0
- package/dist/api/types/PlanChangeResponseData.d.ts +5 -10
- package/dist/api/types/PlanChangeSubscriptionAction.d.ts +9 -0
- package/dist/api/types/PlanControlledByType.d.ts +5 -0
- package/dist/api/types/PlanCreditGrantView.d.ts +8 -10
- package/dist/api/types/PlanDetailResponseData.d.ts +4 -7
- package/dist/api/types/PlanEntitlementResponseData.d.ts +3 -6
- 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 +10 -7
- package/dist/api/types/PlanGroupPlanDetailResponseData.d.ts +4 -7
- package/dist/api/types/PlanGroupPlanEntitlementsOrder.d.ts +1 -4
- package/dist/api/types/PlanGroupResponseData.d.ts +8 -5
- package/dist/api/types/PlanIssueResponseData.d.ts +0 -3
- package/dist/api/types/PlanResponseData.d.ts +2 -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 +5 -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 +2 -4
- package/dist/api/types/PreviewSubscriptionUpcomingInvoiceLineItems.d.ts +0 -3
- package/dist/api/types/ProrationBehavior.d.ts +5 -0
- 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 +0 -3
- package/dist/api/types/Rule.d.ts +1 -4
- package/dist/api/types/RuleConditionDetailResponseData.d.ts +2 -5
- 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 +2 -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 +6 -0
- package/dist/api/types/RulesengineCheckFlagResult.d.ts +17 -0
- package/dist/api/types/RulesengineCheckFlagResultFeatureUsagePeriod.d.ts +7 -0
- package/dist/api/types/RulesengineCheckFlagResultRuleType.d.ts +10 -0
- package/dist/api/types/RulesengineCompany.d.ts +16 -0
- package/dist/api/types/RulesengineCompanyMetric.d.ts +12 -0
- package/dist/api/types/RulesengineCompanyMetricMonthReset.d.ts +5 -0
- package/dist/api/types/RulesengineCompanyMetricPeriod.d.ts +7 -0
- package/dist/api/types/RulesengineCondition.d.ts +18 -0
- package/dist/api/types/RulesengineConditionConditionType.d.ts +12 -0
- package/dist/api/types/RulesengineConditionGroup.d.ts +4 -0
- package/dist/api/types/RulesengineConditionMetricPeriod.d.ts +7 -0
- package/dist/api/types/RulesengineConditionMetricPeriodMonthReset.d.ts +5 -0
- package/dist/api/types/RulesengineConditionOperator.d.ts +11 -0
- package/dist/api/types/RulesengineEntityType.d.ts +5 -0
- package/dist/api/types/RulesengineFlag.d.ts +9 -0
- package/dist/api/types/RulesengineRule.d.ts +13 -0
- package/dist/api/types/RulesengineRuleRuleType.d.ts +10 -0
- package/dist/api/types/RulesengineSubscription.d.ts +5 -0
- package/dist/api/types/RulesengineTrait.d.ts +5 -0
- package/dist/api/types/RulesengineTraitDefinition.d.ts +6 -0
- package/dist/api/types/RulesengineTraitDefinitionComparableType.d.ts +7 -0
- package/dist/api/types/RulesengineUser.d.ts +9 -0
- package/dist/api/types/SegmentStatusResp.d.ts +0 -3
- package/dist/api/types/SkippedEntitlementErrorResponseData.d.ts +3 -0
- package/dist/api/types/SkippedEntitlementResponseData.d.ts +7 -0
- package/dist/api/types/SortDirection.d.ts +5 -0
- package/dist/api/types/StripeEmbedInfo.d.ts +0 -3
- package/dist/api/types/SubscriptionStatus.d.ts +12 -0
- package/dist/api/types/SubscriptionTraitUpdate.d.ts +2 -4
- package/dist/api/types/SubscriptionType.d.ts +7 -0
- package/dist/api/types/TemporaryAccessTokenResourceType.d.ts +1 -0
- package/dist/api/types/TemporaryAccessTokenResponseData.d.ts +2 -4
- package/dist/api/types/TraitDefinition.d.ts +2 -5
- package/dist/api/types/TraitDefinitionComparableType.d.ts +1 -4
- package/dist/api/types/TraitType.d.ts +9 -0
- package/dist/api/types/UpdateAddOnRequestBody.d.ts +0 -3
- package/dist/api/types/UpdateCreditBundleRequestBody.d.ts +0 -3
- package/dist/api/types/UpdateEntitlementReqCommon.d.ts +2 -5
- 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/UpdatePlanTraitTraitRequestBody.d.ts +0 -3
- package/dist/api/types/UpdateRuleRequestBody.d.ts +1 -4
- 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 +3 -6
- package/dist/api/types/UsageBasedEntitlementResponseData.d.ts +3 -6
- 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 +3 -6
- package/dist/api/types/WebhookEventResponseData.d.ts +3 -5
- package/dist/api/types/WebhookEventStatus.d.ts +6 -0
- package/dist/api/{resources/webhooks/types/CreateWebhookRequestBodyRequestTypesItem.d.ts → types/WebhookRequestType.d.ts} +30 -31
- package/dist/api/types/WebhookResponseData.d.ts +3 -6
- package/dist/api/types/WebhookStatus.d.ts +5 -0
- package/dist/api/types/index.d.ts +99 -41
- 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 +4 -7
- package/dist/serialization/resources/accounts/client/requests/UpdateApiKeyRequestBody.d.ts +2 -5
- package/dist/serialization/resources/accounts/client/requests/UpdateEnvironmentRequestBody.d.ts +4 -7
- 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 -15
- package/dist/serialization/resources/billing/client/requests/CreateBillingCustomerRequestBody.d.ts +4 -5
- package/dist/serialization/resources/billing/client/requests/CreateBillingPriceRequestBody.d.ts +10 -11
- package/dist/serialization/resources/billing/client/requests/CreateBillingProductRequestBody.d.ts +4 -5
- package/dist/serialization/resources/billing/client/requests/CreateBillingSubscriptionRequestBody.d.ts +6 -8
- 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 +6 -7
- package/dist/serialization/resources/billing/types/CountBillingProductsResponse.d.ts +2 -5
- package/dist/serialization/resources/billing/types/CountCustomersParams.d.ts +4 -5
- 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 +26 -0
- package/dist/serialization/resources/billing/types/ListBillingPricesResponse.d.ts +12 -0
- package/dist/serialization/resources/billing/types/ListBillingProductPricesParams.d.ts +26 -0
- package/dist/serialization/resources/billing/types/ListBillingProductPricesResponse.d.ts +12 -0
- package/dist/serialization/resources/billing/types/ListBillingProductsParams.d.ts +6 -7
- 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 -5
- 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 -31
- package/dist/serialization/resources/checkout/client/requests/CancelSubscriptionRequest.d.ts +11 -0
- 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 -0
- package/dist/serialization/resources/checkout/index.d.ts +1 -1
- package/dist/serialization/resources/checkout/types/CancelSubscriptionResponse.d.ts +11 -0
- 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 -1
- package/dist/serialization/resources/companies/client/requests/CreateEntityTraitDefinitionRequestBody.d.ts +6 -9
- 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 +4 -7
- package/dist/serialization/resources/companies/client/requests/UpdatePlanTraitBulkRequestBody.d.ts +3 -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 +8 -9
- 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 +4 -7
- package/dist/serialization/resources/companies/types/CountEntityKeyDefinitionsResponse.d.ts +2 -5
- package/dist/serialization/resources/companies/types/CountEntityTraitDefinitionsParams.d.ts +7 -9
- 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 +8 -9
- 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 +4 -7
- package/dist/serialization/resources/companies/types/ListEntityKeyDefinitionsResponse.d.ts +2 -5
- package/dist/serialization/resources/companies/types/ListEntityTraitDefinitionsParams.d.ts +7 -9
- 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 -61
- package/dist/serialization/resources/components/client/requests/CreateComponentRequestBody.d.ts +4 -7
- package/dist/serialization/resources/components/client/requests/UpdateComponentRequestBody.d.ts +6 -9
- 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 -9
- package/dist/serialization/resources/credits/client/requests/CreateBillingCreditRequestBody.d.ts +8 -10
- package/dist/serialization/resources/credits/client/requests/CreateBillingPlanCreditGrantRequestBody.d.ts +16 -20
- package/dist/serialization/resources/credits/client/requests/CreateCompanyCreditGrant.d.ts +11 -10
- package/dist/serialization/resources/credits/client/requests/CreateCreditBundleRequestBody.d.ts +10 -12
- package/dist/serialization/resources/credits/client/requests/UpdateBillingCreditRequestBody.d.ts +8 -10
- package/dist/serialization/resources/credits/client/requests/UpdateBillingPlanCreditGrantRequestBody.d.ts +20 -15
- package/dist/serialization/resources/credits/client/requests/UpdateCreditBundleDetailsRequestBody.d.ts +8 -11
- package/dist/serialization/resources/credits/client/requests/ZeroOutGrantRequestBody.d.ts +4 -7
- package/dist/serialization/resources/credits/client/requests/index.d.ts +4 -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/CountCreditBundlesParams.d.ts +6 -8
- package/dist/serialization/resources/credits/types/CountCreditBundlesResponse.d.ts +2 -5
- package/dist/serialization/resources/credits/types/CountCreditLedgerParams.d.ts +4 -7
- 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 +4 -7
- 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 +6 -9
- package/dist/serialization/resources/credits/types/ListCompanyGrantsResponse.d.ts +2 -5
- package/dist/serialization/resources/credits/types/ListCreditBundlesParams.d.ts +6 -8
- 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 +27 -64
- 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 +4 -7
- package/dist/serialization/resources/entitlements/client/requests/CreatePlanEntitlementRequestBody.d.ts +9 -11
- package/dist/serialization/resources/entitlements/client/requests/DuplicatePlanEntitlementsRequestBody.d.ts +10 -0
- package/dist/serialization/resources/entitlements/client/requests/UpdateCompanyOverrideRequestBody.d.ts +4 -7
- package/dist/serialization/resources/entitlements/client/requests/UpdatePlanEntitlementRequestBody.d.ts +9 -11
- package/dist/serialization/resources/entitlements/client/requests/index.d.ts +2 -1
- 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 +11 -0
- 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 -29
- 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 +4 -7
- package/dist/serialization/resources/events/types/ListEventsResponse.d.ts +2 -5
- package/dist/serialization/resources/events/types/index.d.ts +3 -5
- package/dist/serialization/resources/features/client/requests/CheckFlagsBulkRequestBody.d.ts +10 -0
- package/dist/serialization/resources/features/client/requests/CreateFeatureRequestBody.d.ts +6 -9
- package/dist/serialization/resources/features/client/requests/UpdateFeatureRequestBody.d.ts +6 -9
- package/dist/serialization/resources/features/client/requests/UpdateFlagRulesRequestBody.d.ts +2 -5
- package/dist/serialization/resources/features/client/requests/index.d.ts +1 -0
- 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 +11 -0
- package/dist/serialization/resources/features/types/CheckFlagsResponse.d.ts +2 -5
- package/dist/serialization/resources/features/types/CountFeaturesParams.d.ts +4 -6
- 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 +4 -6
- 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 -17
- package/dist/serialization/resources/index.d.ts +22 -25
- package/dist/serialization/resources/plangroups/client/requests/CreatePlanGroupRequestBody.d.ts +9 -6
- package/dist/serialization/resources/plangroups/client/requests/UpdatePlanGroupRequestBody.d.ts +9 -6
- 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/CreatePlanRequestBody.d.ts +4 -7
- package/dist/serialization/resources/plans/client/requests/UpdateCompanyPlansRequestBody.d.ts +2 -5
- package/dist/serialization/resources/plans/client/requests/UpdatePlanRequestBody.d.ts +2 -5
- package/dist/serialization/resources/plans/client/requests/UpsertBillingProductRequestBody.d.ts +4 -7
- package/dist/serialization/resources/plans/client/requests/index.d.ts +1 -1
- package/dist/serialization/resources/plans/index.d.ts +1 -1
- package/dist/serialization/resources/plans/types/CountPlansParams.d.ts +4 -9
- 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 +4 -9
- 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 -14
- package/dist/serialization/resources/webhooks/client/requests/CreateWebhookRequestBody.d.ts +4 -7
- package/dist/serialization/resources/webhooks/client/requests/UpdateWebhookRequestBody.d.ts +6 -9
- 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 -11
- package/dist/serialization/types/ApiError.d.ts +2 -5
- package/dist/serialization/types/ApiKeyCreateResponseData.d.ts +4 -6
- 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 +4 -6
- package/dist/serialization/types/ApiKeyScope.d.ts +7 -0
- package/dist/serialization/types/BillingCouponResponseData.d.ts +4 -5
- package/dist/serialization/types/BillingCreditBundleResponseData.d.ts +10 -9
- package/dist/serialization/types/BillingCreditBundleStatus.d.ts +7 -0
- package/dist/serialization/types/BillingCreditBundleType.d.ts +7 -0
- package/dist/serialization/types/BillingCreditBundleView.d.ts +10 -9
- package/dist/serialization/types/BillingCreditBurnStrategy.d.ts +7 -0
- package/dist/serialization/types/BillingCreditExpiryType.d.ts +7 -0
- package/dist/serialization/types/BillingCreditExpiryUnit.d.ts +7 -0
- package/dist/serialization/types/BillingCreditGrantReason.d.ts +7 -0
- package/dist/serialization/types/BillingCreditGrantResponseData.d.ts +8 -7
- package/dist/serialization/types/BillingCreditGrantZeroedOutReason.d.ts +7 -0
- package/dist/serialization/types/BillingCreditLedgerResponseData.d.ts +2 -5
- package/dist/serialization/types/BillingCreditResponseData.d.ts +8 -8
- package/dist/serialization/types/BillingCreditRolloverPolicy.d.ts +7 -0
- package/dist/serialization/types/BillingCustomerResponseData.d.ts +4 -5
- package/dist/serialization/types/BillingCustomerSubscription.d.ts +2 -5
- package/dist/serialization/types/BillingCustomerWithSubscriptionsResponseData.d.ts +4 -5
- package/dist/serialization/types/BillingMeterResponseData.d.ts +4 -5
- package/dist/serialization/types/BillingPlanCreditGrantResetCadence.d.ts +7 -0
- package/dist/serialization/types/BillingPlanCreditGrantResetStart.d.ts +7 -0
- package/dist/serialization/types/BillingPlanCreditGrantResetType.d.ts +7 -0
- package/dist/serialization/types/BillingPlanCreditGrantResponseData.d.ts +14 -12
- package/dist/serialization/types/BillingPriceResponseData.d.ts +8 -7
- package/dist/serialization/types/BillingPriceScheme.d.ts +7 -0
- package/dist/serialization/types/BillingPriceUsageType.d.ts +7 -0
- package/dist/serialization/types/BillingPriceView.d.ts +12 -9
- package/dist/serialization/types/BillingProductDetailResponseData.d.ts +4 -5
- package/dist/serialization/types/BillingProductForSubscriptionResponseData.d.ts +8 -7
- package/dist/serialization/types/BillingProductPlanResponseData.d.ts +6 -7
- package/dist/serialization/types/BillingProductPriceInterval.d.ts +7 -0
- package/dist/serialization/types/BillingProductPriceResponseData.d.ts +12 -9
- package/dist/serialization/types/BillingProductPriceTierResponseData.d.ts +2 -5
- package/dist/serialization/types/BillingProductPricing.d.ts +4 -7
- 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 +7 -6
- package/dist/serialization/types/BillingSubscriptionTrialEndSetting.d.ts +7 -0
- package/dist/serialization/types/BillingSubscriptionView.d.ts +8 -7
- package/dist/serialization/types/BillingTiersMode.d.ts +7 -0
- 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 +7 -0
- 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 +10 -0
- 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 +7 -6
- 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 +5 -7
- package/dist/serialization/types/CompanyPlanDetailResponseData.d.ts +13 -11
- package/dist/serialization/types/CompanyPlanInvalidReason.d.ts +7 -0
- package/dist/serialization/types/CompanyPlanWithBillingSubView.d.ts +4 -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 +12 -0
- package/dist/serialization/types/ComponentEntityType.d.ts +7 -0
- package/dist/serialization/types/ComponentHydrateResponseData.d.ts +14 -11
- package/dist/serialization/types/ComponentPreviewResponseData.d.ts +13 -10
- package/dist/serialization/types/ComponentResponseData.d.ts +6 -7
- package/dist/serialization/types/ComponentSettingsResponseData.d.ts +12 -0
- package/dist/serialization/types/ComponentState.d.ts +7 -0
- 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/types/CreateBillingPriceTierRequestBody.d.ts +4 -5
- package/dist/serialization/types/CreateEntitlementReqCommon.d.ts +4 -7
- 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 +4 -7
- package/dist/serialization/types/CreateFlagRequestBody.d.ts +4 -6
- 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 +4 -6
- package/dist/serialization/types/CreateOrUpdateRuleRequestBody.d.ts +2 -5
- package/dist/serialization/types/CreateOrUpdateRuleRequestBodyRuleType.d.ts +2 -5
- package/dist/serialization/types/CreatePriceTierRequestBody.d.ts +2 -5
- package/dist/serialization/types/CreditAutoTopupAmountType.d.ts +7 -0
- package/dist/serialization/types/CreditBundlePurchaseResponseData.d.ts +2 -5
- package/dist/serialization/types/CreditCompanyGrantView.d.ts +13 -9
- package/dist/serialization/types/CreditGrantDetail.d.ts +4 -7
- package/dist/serialization/types/CreditGrantExpiryRequestBody.d.ts +12 -15
- package/dist/serialization/types/CreditGrantSortOrder.d.ts +7 -0
- package/dist/serialization/types/CreditLedgerEnrichedEntryResponseData.d.ts +3 -6
- package/dist/serialization/types/CreditLedgerPeriod.d.ts +7 -0
- 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 +7 -0
- package/dist/serialization/types/DataExportResponseData.d.ts +8 -8
- package/dist/serialization/types/DataExportStatus.d.ts +7 -0
- package/dist/serialization/types/DataExportType.d.ts +7 -0
- package/dist/serialization/types/DeleteResponse.d.ts +2 -5
- package/dist/serialization/types/DuplicatePlanEntitlementsResponseResponseData.d.ts +12 -0
- package/dist/serialization/types/EntitlementPriceBehavior.d.ts +7 -0
- package/dist/serialization/types/EntitlementTriggerConfig.d.ts +2 -5
- package/dist/serialization/types/EntitlementType.d.ts +7 -0
- package/dist/serialization/types/EntitlementValueType.d.ts +7 -0
- package/dist/serialization/types/EntitlementsInPlan.d.ts +2 -5
- package/dist/serialization/types/EntityKeyDefinitionResponseData.d.ts +4 -6
- package/dist/serialization/types/EntityKeyDetailResponseData.d.ts +4 -6
- package/dist/serialization/types/EntityKeyResponseData.d.ts +4 -6
- package/dist/serialization/types/EntityTraitDefinitionResponseData.d.ts +6 -7
- 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 +7 -0
- package/dist/serialization/types/EnvironmentDetailResponseData.d.ts +4 -6
- package/dist/serialization/types/EnvironmentResponseData.d.ts +4 -6
- package/dist/serialization/types/EnvironmentType.d.ts +7 -0
- 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 +6 -7
- package/dist/serialization/types/EventResponseData.d.ts +6 -7
- package/dist/serialization/types/EventStatus.d.ts +7 -0
- package/dist/serialization/types/EventSummaryResponseData.d.ts +2 -5
- package/dist/serialization/types/EventType.d.ts +7 -0
- package/dist/serialization/types/FeatureCompanyResponseData.d.ts +14 -13
- package/dist/serialization/types/FeatureCompanyUserResponseData.d.ts +6 -8
- package/dist/serialization/types/FeatureDetailResponseData.d.ts +7 -8
- package/dist/serialization/types/FeatureLedgerResponseData.d.ts +2 -5
- package/dist/serialization/types/FeatureLifecyclePhase.d.ts +7 -0
- package/dist/serialization/types/FeatureResponseData.d.ts +6 -7
- package/dist/serialization/types/FeatureType.d.ts +7 -0
- package/dist/serialization/types/FeatureUsageDataResponseData.d.ts +5 -7
- package/dist/serialization/types/FeatureUsageDetailResponseData.d.ts +2 -5
- package/dist/serialization/types/FeatureUsageResponseData.d.ts +14 -13
- package/dist/serialization/types/FlagDetailResponseData.d.ts +4 -6
- package/dist/serialization/types/FlagResponseData.d.ts +4 -6
- package/dist/serialization/types/FlagType.d.ts +7 -0
- 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 +4 -6
- 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 +5 -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/PlanChangeAction.d.ts +7 -0
- package/dist/serialization/types/PlanChangeActorType.d.ts +7 -0
- package/dist/serialization/types/PlanChangeBasePlanAction.d.ts +7 -0
- package/dist/serialization/types/PlanChangeResponseData.d.ts +12 -15
- package/dist/serialization/types/PlanChangeSubscriptionAction.d.ts +7 -0
- package/dist/serialization/types/PlanControlledByType.d.ts +7 -0
- package/dist/serialization/types/PlanCreditGrantView.d.ts +14 -12
- package/dist/serialization/types/PlanDetailResponseData.d.ts +10 -10
- package/dist/serialization/types/PlanEntitlementResponseData.d.ts +9 -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 +15 -11
- package/dist/serialization/types/PlanGroupPlanDetailResponseData.d.ts +11 -11
- package/dist/serialization/types/PlanGroupPlanEntitlementsOrder.d.ts +2 -5
- package/dist/serialization/types/PlanGroupResponseData.d.ts +11 -7
- package/dist/serialization/types/PlanIssueResponseData.d.ts +2 -5
- package/dist/serialization/types/PlanResponseData.d.ts +4 -6
- 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 +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 +3 -5
- package/dist/serialization/types/PreviewSubscriptionUpcomingInvoiceLineItems.d.ts +2 -5
- package/dist/serialization/types/ProrationBehavior.d.ts +7 -0
- 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 +2 -5
- package/dist/serialization/types/Rule.d.ts +3 -6
- package/dist/serialization/types/RuleConditionDetailResponseData.d.ts +4 -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 +4 -6
- 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 +7 -0
- package/dist/serialization/types/RulesengineCheckFlagResult.d.ts +24 -0
- package/dist/serialization/types/RulesengineCheckFlagResultFeatureUsagePeriod.d.ts +7 -0
- package/dist/serialization/types/RulesengineCheckFlagResultRuleType.d.ts +7 -0
- package/dist/serialization/types/RulesengineCompany.d.ts +25 -0
- package/dist/serialization/types/RulesengineCompanyMetric.d.ts +19 -0
- package/dist/serialization/types/RulesengineCompanyMetricMonthReset.d.ts +7 -0
- package/dist/serialization/types/RulesengineCompanyMetricPeriod.d.ts +7 -0
- package/dist/serialization/types/RulesengineCondition.d.ts +28 -0
- package/dist/serialization/types/RulesengineConditionConditionType.d.ts +7 -0
- package/dist/serialization/types/RulesengineConditionGroup.d.ts +10 -0
- package/dist/serialization/types/RulesengineConditionMetricPeriod.d.ts +7 -0
- package/dist/serialization/types/RulesengineConditionMetricPeriodMonthReset.d.ts +7 -0
- package/dist/serialization/types/RulesengineConditionOperator.d.ts +7 -0
- package/dist/serialization/types/RulesengineEntityType.d.ts +7 -0
- package/dist/serialization/types/RulesengineFlag.d.ts +15 -0
- package/dist/serialization/types/RulesengineRule.d.ts +21 -0
- package/dist/serialization/types/RulesengineRuleRuleType.d.ts +7 -0
- package/dist/serialization/types/RulesengineSubscription.d.ts +11 -0
- package/dist/serialization/types/RulesengineTrait.d.ts +11 -0
- package/dist/serialization/types/RulesengineTraitDefinition.d.ts +13 -0
- package/dist/serialization/types/RulesengineTraitDefinitionComparableType.d.ts +7 -0
- package/dist/serialization/types/RulesengineUser.d.ts +16 -0
- package/dist/serialization/types/SegmentStatusResp.d.ts +2 -5
- package/dist/serialization/types/SkippedEntitlementErrorResponseData.d.ts +9 -0
- package/dist/serialization/types/SkippedEntitlementResponseData.d.ts +13 -0
- package/dist/serialization/types/SortDirection.d.ts +7 -0
- package/dist/serialization/types/StripeEmbedInfo.d.ts +2 -5
- package/dist/serialization/types/SubscriptionStatus.d.ts +7 -0
- package/dist/serialization/types/SubscriptionTraitUpdate.d.ts +4 -6
- package/dist/serialization/types/SubscriptionType.d.ts +7 -0
- package/dist/serialization/types/TemporaryAccessTokenResourceType.d.ts +7 -0
- package/dist/serialization/types/TemporaryAccessTokenResponseData.d.ts +4 -6
- package/dist/serialization/types/TraitDefinition.d.ts +4 -7
- package/dist/serialization/types/TraitDefinitionComparableType.d.ts +2 -5
- package/dist/serialization/types/TraitType.d.ts +7 -0
- package/dist/serialization/types/UpdateAddOnRequestBody.d.ts +2 -5
- package/dist/serialization/types/UpdateCreditBundleRequestBody.d.ts +2 -5
- package/dist/serialization/types/UpdateEntitlementReqCommon.d.ts +4 -7
- 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/UpdatePlanTraitTraitRequestBody.d.ts +2 -5
- package/dist/serialization/types/UpdateRuleRequestBody.d.ts +2 -5
- 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 +6 -8
- package/dist/serialization/types/UsageBasedEntitlementResponseData.d.ts +6 -7
- 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 +6 -7
- package/dist/serialization/types/WebhookEventResponseData.d.ts +6 -7
- package/dist/serialization/types/WebhookEventStatus.d.ts +7 -0
- package/dist/serialization/types/WebhookRequestType.d.ts +7 -0
- package/dist/serialization/types/WebhookResponseData.d.ts +6 -7
- package/dist/serialization/types/WebhookStatus.d.ts +7 -0
- package/dist/serialization/types/index.d.ts +99 -41
- package/package.json +23 -10
- package/dist/api/resources/accounts/types/CreateEnvironmentRequestBodyEnvironmentType.d.ts +0 -9
- package/dist/api/resources/accounts/types/UpdateEnvironmentRequestBodyEnvironmentType.d.ts +0 -9
- package/dist/api/resources/billing/client/requests/ListProductPricesRequest.d.ts +0 -53
- package/dist/api/resources/billing/client/requests/SearchBillingPricesRequest.d.ts +0 -49
- package/dist/api/resources/billing/types/CountBillingProductsRequestPriceUsageType.d.ts +0 -8
- package/dist/api/resources/billing/types/CountBillingProductsResponseParamsPriceUsageType.d.ts +0 -8
- package/dist/api/resources/billing/types/CreateBillingPriceRequestBodyBillingScheme.d.ts +0 -8
- package/dist/api/resources/billing/types/CreateBillingPriceRequestBodyTiersMode.d.ts +0 -8
- package/dist/api/resources/billing/types/CreateBillingPriceRequestBodyUsageType.d.ts +0 -8
- package/dist/api/resources/billing/types/CreateBillingSubscriptionRequestBodyTrialEndSetting.d.ts +0 -8
- package/dist/api/resources/billing/types/ListBillingProductsRequestPriceUsageType.d.ts +0 -8
- package/dist/api/resources/billing/types/ListBillingProductsResponseParamsPriceUsageType.d.ts +0 -8
- package/dist/api/resources/billing/types/ListProductPricesParams.d.ts +0 -27
- package/dist/api/resources/billing/types/ListProductPricesRequestPriceUsageType.d.ts +0 -8
- package/dist/api/resources/billing/types/ListProductPricesResponse.d.ts +0 -9
- package/dist/api/resources/billing/types/ListProductPricesResponseParamsPriceUsageType.d.ts +0 -8
- package/dist/api/resources/billing/types/SearchBillingPricesRequestTiersMode.d.ts +0 -8
- package/dist/api/resources/billing/types/SearchBillingPricesRequestUsageType.d.ts +0 -8
- package/dist/api/resources/billing/types/SearchBillingPricesResponse.d.ts +0 -9
- package/dist/api/resources/billing/types/SearchBillingPricesResponseParamsTiersMode.d.ts +0 -8
- package/dist/api/resources/billing/types/SearchBillingPricesResponseParamsUsageType.d.ts +0 -8
- package/dist/api/resources/companies/client/requests/GetActiveDealsRequest.d.ts +0 -24
- package/dist/api/resources/companies/types/CountCompaniesForAdvancedFilterRequestSortOrderDirection.d.ts +0 -11
- package/dist/api/resources/companies/types/CountCompaniesForAdvancedFilterResponseParamsSortOrderDirection.d.ts +0 -11
- package/dist/api/resources/companies/types/CountEntityKeyDefinitionsRequestEntityType.d.ts +0 -8
- package/dist/api/resources/companies/types/CountEntityKeyDefinitionsResponseParamsEntityType.d.ts +0 -8
- package/dist/api/resources/companies/types/CountEntityTraitDefinitionsRequestEntityType.d.ts +0 -8
- package/dist/api/resources/companies/types/CountEntityTraitDefinitionsRequestTraitType.d.ts +0 -12
- package/dist/api/resources/companies/types/CountEntityTraitDefinitionsResponseParamsEntityType.d.ts +0 -8
- package/dist/api/resources/companies/types/CountEntityTraitDefinitionsResponseParamsTraitType.d.ts +0 -12
- package/dist/api/resources/companies/types/CreateEntityTraitDefinitionRequestBodyEntityType.d.ts +0 -8
- package/dist/api/resources/companies/types/CreateEntityTraitDefinitionRequestBodyTraitType.d.ts +0 -12
- 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/companies/types/ListCompaniesForAdvancedFilterRequestSortOrderDirection.d.ts +0 -11
- package/dist/api/resources/companies/types/ListCompaniesForAdvancedFilterResponseParamsSortOrderDirection.d.ts +0 -11
- package/dist/api/resources/companies/types/ListEntityKeyDefinitionsRequestEntityType.d.ts +0 -8
- package/dist/api/resources/companies/types/ListEntityKeyDefinitionsResponseParamsEntityType.d.ts +0 -8
- package/dist/api/resources/companies/types/ListEntityTraitDefinitionsRequestEntityType.d.ts +0 -8
- package/dist/api/resources/companies/types/ListEntityTraitDefinitionsRequestTraitType.d.ts +0 -12
- package/dist/api/resources/companies/types/ListEntityTraitDefinitionsResponseParamsEntityType.d.ts +0 -8
- package/dist/api/resources/companies/types/ListEntityTraitDefinitionsResponseParamsTraitType.d.ts +0 -12
- package/dist/api/resources/companies/types/UpdateEntityTraitDefinitionRequestBodyTraitType.d.ts +0 -12
- package/dist/api/resources/components/types/CreateComponentRequestBodyEntityType.d.ts +0 -8
- package/dist/api/resources/components/types/UpdateComponentRequestBodyEntityType.d.ts +0 -8
- package/dist/api/resources/components/types/UpdateComponentRequestBodyState.d.ts +0 -8
- package/dist/api/resources/credits/types/CountCreditBundlesRequestStatus.d.ts +0 -8
- package/dist/api/resources/credits/types/CountCreditBundlesResponseParamsStatus.d.ts +0 -8
- package/dist/api/resources/credits/types/CountCreditLedgerRequestPeriod.d.ts +0 -10
- package/dist/api/resources/credits/types/CountCreditLedgerResponseParamsPeriod.d.ts +0 -10
- package/dist/api/resources/credits/types/CreateBillingCreditRequestBodyBurnStrategy.d.ts +0 -10
- package/dist/api/resources/credits/types/CreateBillingCreditRequestBodyDefaultRolloverPolicy.d.ts +0 -9
- package/dist/api/resources/credits/types/CreateBillingPlanCreditGrantRequestBodyAutoTopupExpiryType.d.ts +0 -11
- package/dist/api/resources/credits/types/CreateBillingPlanCreditGrantRequestBodyAutoTopupExpiryUnit.d.ts +0 -8
- package/dist/api/resources/credits/types/CreateBillingPlanCreditGrantRequestBodyExpiryType.d.ts +0 -11
- package/dist/api/resources/credits/types/CreateBillingPlanCreditGrantRequestBodyExpiryUnit.d.ts +0 -8
- package/dist/api/resources/credits/types/CreateBillingPlanCreditGrantRequestBodyResetCadence.d.ts +0 -10
- package/dist/api/resources/credits/types/CreateBillingPlanCreditGrantRequestBodyResetStart.d.ts +0 -8
- package/dist/api/resources/credits/types/CreateBillingPlanCreditGrantRequestBodyResetType.d.ts +0 -8
- package/dist/api/resources/credits/types/CreateCompanyCreditGrantExpiryType.d.ts +0 -11
- package/dist/api/resources/credits/types/CreateCompanyCreditGrantExpiryUnit.d.ts +0 -8
- package/dist/api/resources/credits/types/CreateCreditBundleRequestBodyExpiryType.d.ts +0 -11
- package/dist/api/resources/credits/types/CreateCreditBundleRequestBodyExpiryUnit.d.ts +0 -8
- package/dist/api/resources/credits/types/CreateCreditBundleRequestBodyStatus.d.ts +0 -8
- package/dist/api/resources/credits/types/GetEnrichedCreditLedgerRequestPeriod.d.ts +0 -10
- package/dist/api/resources/credits/types/GetEnrichedCreditLedgerResponseParamsPeriod.d.ts +0 -10
- package/dist/api/resources/credits/types/ListCompanyGrantsRequestDir.d.ts +0 -8
- package/dist/api/resources/credits/types/ListCompanyGrantsRequestOrder.d.ts +0 -10
- package/dist/api/resources/credits/types/ListCompanyGrantsResponseParamsDir.d.ts +0 -8
- package/dist/api/resources/credits/types/ListCompanyGrantsResponseParamsOrder.d.ts +0 -10
- package/dist/api/resources/credits/types/ListCreditBundlesRequestStatus.d.ts +0 -8
- package/dist/api/resources/credits/types/ListCreditBundlesResponseParamsStatus.d.ts +0 -8
- package/dist/api/resources/credits/types/UpdateBillingCreditRequestBodyBurnStrategy.d.ts +0 -10
- package/dist/api/resources/credits/types/UpdateBillingCreditRequestBodyDefaultRolloverPolicy.d.ts +0 -9
- package/dist/api/resources/credits/types/UpdateBillingPlanCreditGrantRequestBodyExpiryType.d.ts +0 -11
- package/dist/api/resources/credits/types/UpdateBillingPlanCreditGrantRequestBodyExpiryUnit.d.ts +0 -8
- package/dist/api/resources/credits/types/UpdateBillingPlanCreditGrantRequestBodyResetCadence.d.ts +0 -10
- package/dist/api/resources/credits/types/UpdateBillingPlanCreditGrantRequestBodyResetStart.d.ts +0 -8
- package/dist/api/resources/credits/types/UpdateBillingPlanCreditGrantRequestBodyResetType.d.ts +0 -8
- package/dist/api/resources/credits/types/UpdateCreditBundleDetailsRequestBodyExpiryType.d.ts +0 -11
- package/dist/api/resources/credits/types/UpdateCreditBundleDetailsRequestBodyExpiryUnit.d.ts +0 -8
- package/dist/api/resources/credits/types/UpdateCreditBundleDetailsRequestBodyStatus.d.ts +0 -8
- package/dist/api/resources/credits/types/ZeroOutGrantRequestBodyReason.d.ts +0 -10
- package/dist/api/resources/crm/client/Client.d.ts +0 -133
- package/dist/api/resources/crm/client/index.d.ts +0 -1
- 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/index.d.ts +0 -2
- 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/entitlements/types/CreateCompanyOverrideRequestBodyValueType.d.ts +0 -11
- package/dist/api/resources/entitlements/types/CreatePlanEntitlementRequestBodyPriceBehavior.d.ts +0 -11
- package/dist/api/resources/entitlements/types/CreatePlanEntitlementRequestBodyValueType.d.ts +0 -11
- package/dist/api/resources/entitlements/types/UpdateCompanyOverrideRequestBodyValueType.d.ts +0 -11
- package/dist/api/resources/entitlements/types/UpdatePlanEntitlementRequestBodyPriceBehavior.d.ts +0 -11
- package/dist/api/resources/entitlements/types/UpdatePlanEntitlementRequestBodyValueType.d.ts +0 -11
- package/dist/api/resources/events/types/ListEventsRequestEventTypesItem.d.ts +0 -9
- package/dist/api/resources/events/types/ListEventsResponseParamsEventTypesItem.d.ts +0 -9
- package/dist/api/resources/features/types/CreateFeatureRequestBodyFeatureType.d.ts +0 -9
- package/dist/api/resources/features/types/UpdateFeatureRequestBodyFeatureType.d.ts +0 -9
- package/dist/api/resources/features/types/UpdateFeatureRequestBodyLifecyclePhase.d.ts +0 -15
- package/dist/api/resources/plans/types/CountPlansRequestPlanType.d.ts +0 -11
- package/dist/api/resources/plans/types/CountPlansResponseParamsPlanType.d.ts +0 -11
- package/dist/api/resources/plans/types/CreatePlanRequestBodyPlanType.d.ts +0 -8
- package/dist/api/resources/plans/types/ListPlansRequestPlanType.d.ts +0 -11
- package/dist/api/resources/plans/types/ListPlansResponseParamsPlanType.d.ts +0 -11
- package/dist/api/resources/plans/types/UpsertBillingProductRequestBodyChargeType.d.ts +0 -9
- package/dist/api/resources/webhooks/types/UpdateWebhookRequestBodyRequestTypesItem.d.ts +0 -39
- package/dist/api/resources/webhooks/types/UpdateWebhookRequestBodyStatus.d.ts +0 -8
- package/dist/api/types/BillingProductPricingUsageType.d.ts +0 -8
- package/dist/api/types/CompanyCrmDealsResponseData.d.ts +0 -11
- package/dist/api/types/CreateEntitlementReqCommonValueType.d.ts +0 -11
- package/dist/api/types/CreateEventRequestBodyEventType.d.ts +0 -12
- package/dist/api/types/CreditGrantDetailGrantReason.d.ts +0 -9
- package/dist/api/types/CreditGrantExpiryRequestBodyExpiryType.d.ts +0 -11
- package/dist/api/types/CreditGrantExpiryRequestBodyExpiryUnit.d.ts +0 -8
- package/dist/api/types/CreditGrantExpiryRequestBodyResetCadence.d.ts +0 -10
- package/dist/api/types/CreditGrantExpiryRequestBodyResetStart.d.ts +0 -8
- package/dist/api/types/CreditGrantExpiryRequestBodyResetType.d.ts +0 -8
- 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/api/types/FeatureCompanyResponseDataAllocationType.d.ts +0 -13
- package/dist/api/types/FeatureCompanyResponseDataCreditGrantReason.d.ts +0 -12
- package/dist/api/types/FeatureCompanyUserResponseDataAllocationType.d.ts +0 -14
- package/dist/api/types/FeatureUsageResponseDataAllocationType.d.ts +0 -13
- package/dist/api/types/FeatureUsageResponseDataCreditGrantReason.d.ts +0 -12
- package/dist/api/types/PlanChangeResponseDataActorType.d.ts +0 -10
- package/dist/api/types/PlanChangeResponseDataBasePlanAction.d.ts +0 -13
- package/dist/api/types/PlanChangeResponseDataSubscriptionChangeAction.d.ts +0 -15
- package/dist/api/types/TraitDefinitionEntityType.d.ts +0 -8
- package/dist/api/types/UpdateEntitlementReqCommonValueType.d.ts +0 -11
- package/dist/api/types/UsageBasedEntitlementRequestBodyPriceBehavior.d.ts +0 -11
- package/dist/serialization/resources/accounts/types/CreateEnvironmentRequestBodyEnvironmentType.d.ts +0 -10
- package/dist/serialization/resources/accounts/types/UpdateEnvironmentRequestBodyEnvironmentType.d.ts +0 -10
- package/dist/serialization/resources/billing/types/CountBillingProductsRequestPriceUsageType.d.ts +0 -10
- package/dist/serialization/resources/billing/types/CountBillingProductsResponseParamsPriceUsageType.d.ts +0 -10
- package/dist/serialization/resources/billing/types/CreateBillingPriceRequestBodyBillingScheme.d.ts +0 -10
- package/dist/serialization/resources/billing/types/CreateBillingPriceRequestBodyTiersMode.d.ts +0 -10
- package/dist/serialization/resources/billing/types/CreateBillingPriceRequestBodyUsageType.d.ts +0 -10
- package/dist/serialization/resources/billing/types/CreateBillingSubscriptionRequestBodyTrialEndSetting.d.ts +0 -10
- package/dist/serialization/resources/billing/types/ListBillingProductsRequestPriceUsageType.d.ts +0 -10
- package/dist/serialization/resources/billing/types/ListBillingProductsResponseParamsPriceUsageType.d.ts +0 -10
- package/dist/serialization/resources/billing/types/ListProductPricesParams.d.ts +0 -23
- package/dist/serialization/resources/billing/types/ListProductPricesRequestPriceUsageType.d.ts +0 -10
- package/dist/serialization/resources/billing/types/ListProductPricesResponse.d.ts +0 -15
- package/dist/serialization/resources/billing/types/ListProductPricesResponseParamsPriceUsageType.d.ts +0 -10
- package/dist/serialization/resources/billing/types/SearchBillingPricesParams.d.ts +0 -25
- package/dist/serialization/resources/billing/types/SearchBillingPricesRequestTiersMode.d.ts +0 -10
- package/dist/serialization/resources/billing/types/SearchBillingPricesRequestUsageType.d.ts +0 -10
- package/dist/serialization/resources/billing/types/SearchBillingPricesResponse.d.ts +0 -15
- package/dist/serialization/resources/billing/types/SearchBillingPricesResponseParamsTiersMode.d.ts +0 -10
- package/dist/serialization/resources/billing/types/SearchBillingPricesResponseParamsUsageType.d.ts +0 -10
- package/dist/serialization/resources/companies/types/CountCompaniesForAdvancedFilterRequestSortOrderDirection.d.ts +0 -10
- package/dist/serialization/resources/companies/types/CountCompaniesForAdvancedFilterResponseParamsSortOrderDirection.d.ts +0 -10
- package/dist/serialization/resources/companies/types/CountEntityKeyDefinitionsRequestEntityType.d.ts +0 -10
- package/dist/serialization/resources/companies/types/CountEntityKeyDefinitionsResponseParamsEntityType.d.ts +0 -10
- package/dist/serialization/resources/companies/types/CountEntityTraitDefinitionsRequestEntityType.d.ts +0 -10
- package/dist/serialization/resources/companies/types/CountEntityTraitDefinitionsRequestTraitType.d.ts +0 -10
- package/dist/serialization/resources/companies/types/CountEntityTraitDefinitionsResponseParamsEntityType.d.ts +0 -10
- package/dist/serialization/resources/companies/types/CountEntityTraitDefinitionsResponseParamsTraitType.d.ts +0 -10
- package/dist/serialization/resources/companies/types/CreateEntityTraitDefinitionRequestBodyEntityType.d.ts +0 -10
- package/dist/serialization/resources/companies/types/CreateEntityTraitDefinitionRequestBodyTraitType.d.ts +0 -10
- 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/companies/types/ListCompaniesForAdvancedFilterRequestSortOrderDirection.d.ts +0 -10
- package/dist/serialization/resources/companies/types/ListCompaniesForAdvancedFilterResponseParamsSortOrderDirection.d.ts +0 -10
- package/dist/serialization/resources/companies/types/ListEntityKeyDefinitionsRequestEntityType.d.ts +0 -10
- package/dist/serialization/resources/companies/types/ListEntityKeyDefinitionsResponseParamsEntityType.d.ts +0 -10
- package/dist/serialization/resources/companies/types/ListEntityTraitDefinitionsRequestEntityType.d.ts +0 -10
- package/dist/serialization/resources/companies/types/ListEntityTraitDefinitionsRequestTraitType.d.ts +0 -10
- package/dist/serialization/resources/companies/types/ListEntityTraitDefinitionsResponseParamsEntityType.d.ts +0 -10
- package/dist/serialization/resources/companies/types/ListEntityTraitDefinitionsResponseParamsTraitType.d.ts +0 -10
- package/dist/serialization/resources/companies/types/UpdateEntityTraitDefinitionRequestBodyTraitType.d.ts +0 -10
- package/dist/serialization/resources/components/types/CreateComponentRequestBodyEntityType.d.ts +0 -10
- package/dist/serialization/resources/components/types/UpdateComponentRequestBodyEntityType.d.ts +0 -10
- package/dist/serialization/resources/components/types/UpdateComponentRequestBodyState.d.ts +0 -10
- package/dist/serialization/resources/credits/types/CountCreditBundlesRequestStatus.d.ts +0 -10
- package/dist/serialization/resources/credits/types/CountCreditBundlesResponseParamsStatus.d.ts +0 -10
- package/dist/serialization/resources/credits/types/CountCreditLedgerRequestPeriod.d.ts +0 -10
- package/dist/serialization/resources/credits/types/CountCreditLedgerResponseParamsPeriod.d.ts +0 -10
- package/dist/serialization/resources/credits/types/CreateBillingCreditRequestBodyBurnStrategy.d.ts +0 -10
- package/dist/serialization/resources/credits/types/CreateBillingCreditRequestBodyDefaultRolloverPolicy.d.ts +0 -10
- package/dist/serialization/resources/credits/types/CreateBillingPlanCreditGrantRequestBodyAutoTopupExpiryType.d.ts +0 -10
- package/dist/serialization/resources/credits/types/CreateBillingPlanCreditGrantRequestBodyAutoTopupExpiryUnit.d.ts +0 -10
- package/dist/serialization/resources/credits/types/CreateBillingPlanCreditGrantRequestBodyExpiryType.d.ts +0 -10
- package/dist/serialization/resources/credits/types/CreateBillingPlanCreditGrantRequestBodyExpiryUnit.d.ts +0 -10
- package/dist/serialization/resources/credits/types/CreateBillingPlanCreditGrantRequestBodyResetCadence.d.ts +0 -10
- package/dist/serialization/resources/credits/types/CreateBillingPlanCreditGrantRequestBodyResetStart.d.ts +0 -10
- package/dist/serialization/resources/credits/types/CreateBillingPlanCreditGrantRequestBodyResetType.d.ts +0 -10
- package/dist/serialization/resources/credits/types/CreateCompanyCreditGrantExpiryType.d.ts +0 -10
- package/dist/serialization/resources/credits/types/CreateCompanyCreditGrantExpiryUnit.d.ts +0 -10
- package/dist/serialization/resources/credits/types/CreateCreditBundleRequestBodyExpiryType.d.ts +0 -10
- package/dist/serialization/resources/credits/types/CreateCreditBundleRequestBodyExpiryUnit.d.ts +0 -10
- package/dist/serialization/resources/credits/types/CreateCreditBundleRequestBodyStatus.d.ts +0 -10
- package/dist/serialization/resources/credits/types/GetEnrichedCreditLedgerRequestPeriod.d.ts +0 -10
- package/dist/serialization/resources/credits/types/GetEnrichedCreditLedgerResponseParamsPeriod.d.ts +0 -10
- package/dist/serialization/resources/credits/types/ListCompanyGrantsRequestDir.d.ts +0 -10
- package/dist/serialization/resources/credits/types/ListCompanyGrantsRequestOrder.d.ts +0 -10
- package/dist/serialization/resources/credits/types/ListCompanyGrantsResponseParamsDir.d.ts +0 -10
- package/dist/serialization/resources/credits/types/ListCompanyGrantsResponseParamsOrder.d.ts +0 -10
- package/dist/serialization/resources/credits/types/ListCreditBundlesRequestStatus.d.ts +0 -10
- package/dist/serialization/resources/credits/types/ListCreditBundlesResponseParamsStatus.d.ts +0 -10
- package/dist/serialization/resources/credits/types/UpdateBillingCreditRequestBodyBurnStrategy.d.ts +0 -10
- package/dist/serialization/resources/credits/types/UpdateBillingCreditRequestBodyDefaultRolloverPolicy.d.ts +0 -10
- package/dist/serialization/resources/credits/types/UpdateBillingPlanCreditGrantRequestBodyExpiryType.d.ts +0 -10
- package/dist/serialization/resources/credits/types/UpdateBillingPlanCreditGrantRequestBodyExpiryUnit.d.ts +0 -10
- package/dist/serialization/resources/credits/types/UpdateBillingPlanCreditGrantRequestBodyResetCadence.d.ts +0 -10
- package/dist/serialization/resources/credits/types/UpdateBillingPlanCreditGrantRequestBodyResetStart.d.ts +0 -10
- package/dist/serialization/resources/credits/types/UpdateBillingPlanCreditGrantRequestBodyResetType.d.ts +0 -10
- package/dist/serialization/resources/credits/types/UpdateCreditBundleDetailsRequestBodyExpiryType.d.ts +0 -10
- package/dist/serialization/resources/credits/types/UpdateCreditBundleDetailsRequestBodyExpiryUnit.d.ts +0 -10
- package/dist/serialization/resources/credits/types/UpdateCreditBundleDetailsRequestBodyStatus.d.ts +0 -10
- package/dist/serialization/resources/credits/types/ZeroOutGrantRequestBodyReason.d.ts +0 -10
- package/dist/serialization/resources/crm/client/index.d.ts +0 -1
- 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/index.d.ts +0 -2
- 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/entitlements/types/CreateCompanyOverrideRequestBodyValueType.d.ts +0 -10
- package/dist/serialization/resources/entitlements/types/CreatePlanEntitlementRequestBodyPriceBehavior.d.ts +0 -10
- package/dist/serialization/resources/entitlements/types/CreatePlanEntitlementRequestBodyValueType.d.ts +0 -10
- package/dist/serialization/resources/entitlements/types/UpdateCompanyOverrideRequestBodyValueType.d.ts +0 -10
- package/dist/serialization/resources/entitlements/types/UpdatePlanEntitlementRequestBodyPriceBehavior.d.ts +0 -10
- package/dist/serialization/resources/entitlements/types/UpdatePlanEntitlementRequestBodyValueType.d.ts +0 -10
- package/dist/serialization/resources/events/types/ListEventsRequestEventTypesItem.d.ts +0 -10
- package/dist/serialization/resources/events/types/ListEventsResponseParamsEventTypesItem.d.ts +0 -10
- package/dist/serialization/resources/features/types/CreateFeatureRequestBodyFeatureType.d.ts +0 -10
- package/dist/serialization/resources/features/types/CreateFeatureRequestBodyLifecyclePhase.d.ts +0 -10
- package/dist/serialization/resources/features/types/UpdateFeatureRequestBodyFeatureType.d.ts +0 -10
- package/dist/serialization/resources/features/types/UpdateFeatureRequestBodyLifecyclePhase.d.ts +0 -10
- package/dist/serialization/resources/plans/types/CountPlansRequestPlanType.d.ts +0 -10
- package/dist/serialization/resources/plans/types/CountPlansResponseParamsPlanType.d.ts +0 -10
- package/dist/serialization/resources/plans/types/CreatePlanRequestBodyPlanType.d.ts +0 -10
- package/dist/serialization/resources/plans/types/ListPlansRequestPlanType.d.ts +0 -10
- package/dist/serialization/resources/plans/types/ListPlansResponseParamsPlanType.d.ts +0 -10
- package/dist/serialization/resources/plans/types/UpsertBillingProductRequestBodyChargeType.d.ts +0 -10
- package/dist/serialization/resources/webhooks/types/CreateWebhookRequestBodyRequestTypesItem.d.ts +0 -10
- package/dist/serialization/resources/webhooks/types/UpdateWebhookRequestBodyRequestTypesItem.d.ts +0 -10
- package/dist/serialization/resources/webhooks/types/UpdateWebhookRequestBodyStatus.d.ts +0 -10
- package/dist/serialization/types/BillingProductPricingUsageType.d.ts +0 -10
- package/dist/serialization/types/CompanyCrmDealsResponseData.d.ts +0 -17
- package/dist/serialization/types/CreateEntitlementReqCommonValueType.d.ts +0 -10
- package/dist/serialization/types/CreateEventRequestBodyEventType.d.ts +0 -10
- package/dist/serialization/types/CreditGrantDetailGrantReason.d.ts +0 -10
- package/dist/serialization/types/CreditGrantExpiryRequestBodyExpiryType.d.ts +0 -10
- package/dist/serialization/types/CreditGrantExpiryRequestBodyExpiryUnit.d.ts +0 -10
- package/dist/serialization/types/CreditGrantExpiryRequestBodyResetCadence.d.ts +0 -10
- package/dist/serialization/types/CreditGrantExpiryRequestBodyResetStart.d.ts +0 -10
- package/dist/serialization/types/CreditGrantExpiryRequestBodyResetType.d.ts +0 -10
- 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/serialization/types/FeatureCompanyResponseDataAllocationType.d.ts +0 -10
- package/dist/serialization/types/FeatureCompanyResponseDataCreditGrantReason.d.ts +0 -10
- package/dist/serialization/types/FeatureCompanyUserResponseDataAllocationType.d.ts +0 -10
- package/dist/serialization/types/FeatureUsageResponseDataAllocationType.d.ts +0 -10
- package/dist/serialization/types/FeatureUsageResponseDataCreditGrantReason.d.ts +0 -10
- package/dist/serialization/types/PlanChangeResponseDataAction.d.ts +0 -10
- package/dist/serialization/types/PlanChangeResponseDataActorType.d.ts +0 -10
- package/dist/serialization/types/PlanChangeResponseDataBasePlanAction.d.ts +0 -10
- package/dist/serialization/types/PlanChangeResponseDataSubscriptionChangeAction.d.ts +0 -10
- package/dist/serialization/types/TraitDefinitionEntityType.d.ts +0 -10
- package/dist/serialization/types/UpdateEntitlementReqCommonValueType.d.ts +0 -10
- package/dist/serialization/types/UsageBasedEntitlementRequestBodyPriceBehavior.d.ts +0 -10
|
@@ -1,35 +1,19 @@
|
|
|
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 PlansClient {
|
|
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 PlansClient {
|
|
11
|
+
protected readonly _options: NormalizedClientOptionsWithAuth<PlansClient.Options>;
|
|
12
|
+
constructor(options: PlansClient.Options);
|
|
29
13
|
/**
|
|
30
|
-
* @param {string}
|
|
14
|
+
* @param {string} company_plan_id - company_plan_id
|
|
31
15
|
* @param {Schematic.UpdateCompanyPlansRequestBody} request
|
|
32
|
-
* @param {
|
|
16
|
+
* @param {PlansClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
33
17
|
*
|
|
34
18
|
* @throws {@link Schematic.BadRequestError}
|
|
35
19
|
* @throws {@link Schematic.UnauthorizedError}
|
|
@@ -42,11 +26,11 @@ export declare class Plans {
|
|
|
42
26
|
* addOnIds: ["add_on_ids"]
|
|
43
27
|
* })
|
|
44
28
|
*/
|
|
45
|
-
updateCompanyPlans(
|
|
29
|
+
updateCompanyPlans(company_plan_id: string, request: Schematic.UpdateCompanyPlansRequestBody, requestOptions?: PlansClient.RequestOptions): core.HttpResponsePromise<Schematic.UpdateCompanyPlansResponse>;
|
|
46
30
|
private __updateCompanyPlans;
|
|
47
31
|
/**
|
|
48
32
|
* @param {Schematic.ListPlansRequest} request
|
|
49
|
-
* @param {
|
|
33
|
+
* @param {PlansClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
50
34
|
*
|
|
51
35
|
* @throws {@link Schematic.BadRequestError}
|
|
52
36
|
* @throws {@link Schematic.UnauthorizedError}
|
|
@@ -63,19 +47,17 @@ export declare class Plans {
|
|
|
63
47
|
* hasProductId: true,
|
|
64
48
|
* planType: "plan",
|
|
65
49
|
* q: "q",
|
|
66
|
-
* requiresPaymentMethod: true,
|
|
67
50
|
* withoutEntitlementFor: "without_entitlement_for",
|
|
68
|
-
* withoutProductId: true,
|
|
69
51
|
* withoutPaidProductId: true,
|
|
70
52
|
* limit: 1,
|
|
71
53
|
* offset: 1
|
|
72
54
|
* })
|
|
73
55
|
*/
|
|
74
|
-
listPlans(request?: Schematic.ListPlansRequest, requestOptions?:
|
|
56
|
+
listPlans(request?: Schematic.ListPlansRequest, requestOptions?: PlansClient.RequestOptions): core.HttpResponsePromise<Schematic.ListPlansResponse>;
|
|
75
57
|
private __listPlans;
|
|
76
58
|
/**
|
|
77
59
|
* @param {Schematic.CreatePlanRequestBody} request
|
|
78
|
-
* @param {
|
|
60
|
+
* @param {PlansClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
79
61
|
*
|
|
80
62
|
* @throws {@link Schematic.BadRequestError}
|
|
81
63
|
* @throws {@link Schematic.UnauthorizedError}
|
|
@@ -90,11 +72,11 @@ export declare class Plans {
|
|
|
90
72
|
* planType: "plan"
|
|
91
73
|
* })
|
|
92
74
|
*/
|
|
93
|
-
createPlan(request: Schematic.CreatePlanRequestBody, requestOptions?:
|
|
75
|
+
createPlan(request: Schematic.CreatePlanRequestBody, requestOptions?: PlansClient.RequestOptions): core.HttpResponsePromise<Schematic.CreatePlanResponse>;
|
|
94
76
|
private __createPlan;
|
|
95
77
|
/**
|
|
96
|
-
* @param {string}
|
|
97
|
-
* @param {
|
|
78
|
+
* @param {string} plan_id - plan_id
|
|
79
|
+
* @param {PlansClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
98
80
|
*
|
|
99
81
|
* @throws {@link Schematic.UnauthorizedError}
|
|
100
82
|
* @throws {@link Schematic.ForbiddenError}
|
|
@@ -104,12 +86,12 @@ export declare class Plans {
|
|
|
104
86
|
* @example
|
|
105
87
|
* await client.plans.getPlan("plan_id")
|
|
106
88
|
*/
|
|
107
|
-
getPlan(
|
|
89
|
+
getPlan(plan_id: string, requestOptions?: PlansClient.RequestOptions): core.HttpResponsePromise<Schematic.GetPlanResponse>;
|
|
108
90
|
private __getPlan;
|
|
109
91
|
/**
|
|
110
|
-
* @param {string}
|
|
92
|
+
* @param {string} plan_id - plan_id
|
|
111
93
|
* @param {Schematic.UpdatePlanRequestBody} request
|
|
112
|
-
* @param {
|
|
94
|
+
* @param {PlansClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
113
95
|
*
|
|
114
96
|
* @throws {@link Schematic.BadRequestError}
|
|
115
97
|
* @throws {@link Schematic.UnauthorizedError}
|
|
@@ -122,11 +104,11 @@ export declare class Plans {
|
|
|
122
104
|
* name: "name"
|
|
123
105
|
* })
|
|
124
106
|
*/
|
|
125
|
-
updatePlan(
|
|
107
|
+
updatePlan(plan_id: string, request: Schematic.UpdatePlanRequestBody, requestOptions?: PlansClient.RequestOptions): core.HttpResponsePromise<Schematic.UpdatePlanResponse>;
|
|
126
108
|
private __updatePlan;
|
|
127
109
|
/**
|
|
128
|
-
* @param {string}
|
|
129
|
-
* @param {
|
|
110
|
+
* @param {string} plan_id - plan_id
|
|
111
|
+
* @param {PlansClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
130
112
|
*
|
|
131
113
|
* @throws {@link Schematic.BadRequestError}
|
|
132
114
|
* @throws {@link Schematic.UnauthorizedError}
|
|
@@ -137,12 +119,12 @@ export declare class Plans {
|
|
|
137
119
|
* @example
|
|
138
120
|
* await client.plans.deletePlan("plan_id")
|
|
139
121
|
*/
|
|
140
|
-
deletePlan(
|
|
122
|
+
deletePlan(plan_id: string, requestOptions?: PlansClient.RequestOptions): core.HttpResponsePromise<Schematic.DeletePlanResponse>;
|
|
141
123
|
private __deletePlan;
|
|
142
124
|
/**
|
|
143
|
-
* @param {string}
|
|
125
|
+
* @param {string} plan_id - plan_id
|
|
144
126
|
* @param {Schematic.UpsertBillingProductRequestBody} request
|
|
145
|
-
* @param {
|
|
127
|
+
* @param {PlansClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
146
128
|
*
|
|
147
129
|
* @throws {@link Schematic.BadRequestError}
|
|
148
130
|
* @throws {@link Schematic.UnauthorizedError}
|
|
@@ -152,15 +134,15 @@ export declare class Plans {
|
|
|
152
134
|
*
|
|
153
135
|
* @example
|
|
154
136
|
* await client.plans.upsertBillingProductPlan("plan_id", {
|
|
155
|
-
* chargeType: "
|
|
137
|
+
* chargeType: "free",
|
|
156
138
|
* isTrialable: true
|
|
157
139
|
* })
|
|
158
140
|
*/
|
|
159
|
-
upsertBillingProductPlan(
|
|
141
|
+
upsertBillingProductPlan(plan_id: string, request: Schematic.UpsertBillingProductRequestBody, requestOptions?: PlansClient.RequestOptions): core.HttpResponsePromise<Schematic.UpsertBillingProductPlanResponse>;
|
|
160
142
|
private __upsertBillingProductPlan;
|
|
161
143
|
/**
|
|
162
144
|
* @param {Schematic.CountPlansRequest} request
|
|
163
|
-
* @param {
|
|
145
|
+
* @param {PlansClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
164
146
|
*
|
|
165
147
|
* @throws {@link Schematic.BadRequestError}
|
|
166
148
|
* @throws {@link Schematic.UnauthorizedError}
|
|
@@ -177,19 +159,17 @@ export declare class Plans {
|
|
|
177
159
|
* hasProductId: true,
|
|
178
160
|
* planType: "plan",
|
|
179
161
|
* q: "q",
|
|
180
|
-
* requiresPaymentMethod: true,
|
|
181
162
|
* withoutEntitlementFor: "without_entitlement_for",
|
|
182
|
-
* withoutProductId: true,
|
|
183
163
|
* withoutPaidProductId: true,
|
|
184
164
|
* limit: 1,
|
|
185
165
|
* offset: 1
|
|
186
166
|
* })
|
|
187
167
|
*/
|
|
188
|
-
countPlans(request?: Schematic.CountPlansRequest, requestOptions?:
|
|
168
|
+
countPlans(request?: Schematic.CountPlansRequest, requestOptions?: PlansClient.RequestOptions): core.HttpResponsePromise<Schematic.CountPlansResponse>;
|
|
189
169
|
private __countPlans;
|
|
190
170
|
/**
|
|
191
171
|
* @param {Schematic.ListPlanIssuesRequest} request
|
|
192
|
-
* @param {
|
|
172
|
+
* @param {PlansClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
193
173
|
*
|
|
194
174
|
* @throws {@link Schematic.BadRequestError}
|
|
195
175
|
* @throws {@link Schematic.UnauthorizedError}
|
|
@@ -202,9 +182,6 @@ export declare class Plans {
|
|
|
202
182
|
* planId: "plan_id"
|
|
203
183
|
* })
|
|
204
184
|
*/
|
|
205
|
-
listPlanIssues(request: Schematic.ListPlanIssuesRequest, requestOptions?:
|
|
185
|
+
listPlanIssues(request: Schematic.ListPlanIssuesRequest, requestOptions?: PlansClient.RequestOptions): core.HttpResponsePromise<Schematic.ListPlanIssuesResponse>;
|
|
206
186
|
private __listPlanIssues;
|
|
207
|
-
protected _getCustomAuthorizationHeaders(): Promise<{
|
|
208
|
-
"X-Schematic-Api-Key": string | undefined;
|
|
209
|
-
}>;
|
|
210
187
|
}
|
|
@@ -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
|
* {
|
|
@@ -12,9 +9,7 @@ import * as Schematic from "../../../../index";
|
|
|
12
9
|
* hasProductId: true,
|
|
13
10
|
* planType: "plan",
|
|
14
11
|
* q: "q",
|
|
15
|
-
* requiresPaymentMethod: true,
|
|
16
12
|
* withoutEntitlementFor: "without_entitlement_for",
|
|
17
|
-
* withoutProductId: true,
|
|
18
13
|
* withoutPaidProductId: true,
|
|
19
14
|
* limit: 1,
|
|
20
15
|
* offset: 1
|
|
@@ -22,50 +17,24 @@ import * as Schematic from "../../../../index";
|
|
|
22
17
|
*/
|
|
23
18
|
export interface CountPlansRequest {
|
|
24
19
|
companyId?: string;
|
|
25
|
-
/**
|
|
26
|
-
* Filter for plans valid as fallback plans (not linked to billing)
|
|
27
|
-
*/
|
|
20
|
+
/** Filter for plans valid as fallback plans (not linked to billing) */
|
|
28
21
|
forFallbackPlan?: boolean;
|
|
29
|
-
/**
|
|
30
|
-
* Filter for plans valid as initial plans (not linked to billing, free, or auto-cancelling trial)
|
|
31
|
-
*/
|
|
22
|
+
/** Filter for plans valid as initial plans (not linked to billing, free, or auto-cancelling trial) */
|
|
32
23
|
forInitialPlan?: boolean;
|
|
33
|
-
/**
|
|
34
|
-
* Filter for plans valid as trial expiry plans (not linked to billing or free)
|
|
35
|
-
*/
|
|
24
|
+
/** Filter for plans valid as trial expiry plans (not linked to billing or free) */
|
|
36
25
|
forTrialExpiryPlan?: boolean;
|
|
37
|
-
/**
|
|
38
|
-
* Filter out plans that do not have a billing product ID
|
|
39
|
-
*/
|
|
26
|
+
/** Filter out plans that do not have a billing product ID */
|
|
40
27
|
hasProductId?: boolean;
|
|
41
28
|
ids?: string | string[];
|
|
42
|
-
/**
|
|
43
|
-
|
|
44
|
-
*/
|
|
45
|
-
planType?: Schematic.CountPlansRequestPlanType;
|
|
29
|
+
/** Filter by plan type */
|
|
30
|
+
planType?: Schematic.PlanType;
|
|
46
31
|
q?: string;
|
|
47
|
-
/**
|
|
48
|
-
* Filter for plans that require a payment method (inverse of ForInitialPlan)
|
|
49
|
-
*/
|
|
50
|
-
requiresPaymentMethod?: boolean;
|
|
51
|
-
/**
|
|
52
|
-
* Filter out plans that already have a plan entitlement for the specified feature ID
|
|
53
|
-
*/
|
|
32
|
+
/** Filter out plans that already have a plan entitlement for the specified feature ID */
|
|
54
33
|
withoutEntitlementFor?: string;
|
|
55
|
-
/**
|
|
56
|
-
* Filter out plans that have a billing product ID
|
|
57
|
-
*/
|
|
58
|
-
withoutProductId?: boolean;
|
|
59
|
-
/**
|
|
60
|
-
* Filter out plans that have a paid billing product ID
|
|
61
|
-
*/
|
|
34
|
+
/** Filter out plans that have a paid billing product ID */
|
|
62
35
|
withoutPaidProductId?: boolean;
|
|
63
|
-
/**
|
|
64
|
-
* Page limit (default 100)
|
|
65
|
-
*/
|
|
36
|
+
/** Page limit (default 100) */
|
|
66
37
|
limit?: number;
|
|
67
|
-
/**
|
|
68
|
-
* Page offset (default 0)
|
|
69
|
-
*/
|
|
38
|
+
/** Page offset (default 0) */
|
|
70
39
|
offset?: number;
|
|
71
40
|
}
|
|
@@ -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
|
* {
|
|
@@ -14,5 +11,5 @@ export interface CreatePlanRequestBody {
|
|
|
14
11
|
description: string;
|
|
15
12
|
icon?: string;
|
|
16
13
|
name: string;
|
|
17
|
-
planType: Schematic.
|
|
14
|
+
planType: Schematic.PlanType;
|
|
18
15
|
}
|
|
@@ -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
|
* {
|
|
@@ -12,9 +9,7 @@ import * as Schematic from "../../../../index";
|
|
|
12
9
|
* hasProductId: true,
|
|
13
10
|
* planType: "plan",
|
|
14
11
|
* q: "q",
|
|
15
|
-
* requiresPaymentMethod: true,
|
|
16
12
|
* withoutEntitlementFor: "without_entitlement_for",
|
|
17
|
-
* withoutProductId: true,
|
|
18
13
|
* withoutPaidProductId: true,
|
|
19
14
|
* limit: 1,
|
|
20
15
|
* offset: 1
|
|
@@ -22,50 +17,24 @@ import * as Schematic from "../../../../index";
|
|
|
22
17
|
*/
|
|
23
18
|
export interface ListPlansRequest {
|
|
24
19
|
companyId?: string;
|
|
25
|
-
/**
|
|
26
|
-
* Filter for plans valid as fallback plans (not linked to billing)
|
|
27
|
-
*/
|
|
20
|
+
/** Filter for plans valid as fallback plans (not linked to billing) */
|
|
28
21
|
forFallbackPlan?: boolean;
|
|
29
|
-
/**
|
|
30
|
-
* Filter for plans valid as initial plans (not linked to billing, free, or auto-cancelling trial)
|
|
31
|
-
*/
|
|
22
|
+
/** Filter for plans valid as initial plans (not linked to billing, free, or auto-cancelling trial) */
|
|
32
23
|
forInitialPlan?: boolean;
|
|
33
|
-
/**
|
|
34
|
-
* Filter for plans valid as trial expiry plans (not linked to billing or free)
|
|
35
|
-
*/
|
|
24
|
+
/** Filter for plans valid as trial expiry plans (not linked to billing or free) */
|
|
36
25
|
forTrialExpiryPlan?: boolean;
|
|
37
|
-
/**
|
|
38
|
-
* Filter out plans that do not have a billing product ID
|
|
39
|
-
*/
|
|
26
|
+
/** Filter out plans that do not have a billing product ID */
|
|
40
27
|
hasProductId?: boolean;
|
|
41
28
|
ids?: string | string[];
|
|
42
|
-
/**
|
|
43
|
-
|
|
44
|
-
*/
|
|
45
|
-
planType?: Schematic.ListPlansRequestPlanType;
|
|
29
|
+
/** Filter by plan type */
|
|
30
|
+
planType?: Schematic.PlanType;
|
|
46
31
|
q?: string;
|
|
47
|
-
/**
|
|
48
|
-
* Filter for plans that require a payment method (inverse of ForInitialPlan)
|
|
49
|
-
*/
|
|
50
|
-
requiresPaymentMethod?: boolean;
|
|
51
|
-
/**
|
|
52
|
-
* Filter out plans that already have a plan entitlement for the specified feature ID
|
|
53
|
-
*/
|
|
32
|
+
/** Filter out plans that already have a plan entitlement for the specified feature ID */
|
|
54
33
|
withoutEntitlementFor?: string;
|
|
55
|
-
/**
|
|
56
|
-
* Filter out plans that have a billing product ID
|
|
57
|
-
*/
|
|
58
|
-
withoutProductId?: boolean;
|
|
59
|
-
/**
|
|
60
|
-
* Filter out plans that have a paid billing product ID
|
|
61
|
-
*/
|
|
34
|
+
/** Filter out plans that have a paid billing product ID */
|
|
62
35
|
withoutPaidProductId?: boolean;
|
|
63
|
-
/**
|
|
64
|
-
* Page limit (default 100)
|
|
65
|
-
*/
|
|
36
|
+
/** Page limit (default 100) */
|
|
66
37
|
limit?: number;
|
|
67
|
-
/**
|
|
68
|
-
* Page offset (default 0)
|
|
69
|
-
*/
|
|
38
|
+
/** Page offset (default 0) */
|
|
70
39
|
offset?: number;
|
|
71
40
|
}
|
|
@@ -1,17 +1,14 @@
|
|
|
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
|
* {
|
|
8
|
-
* chargeType: "
|
|
5
|
+
* chargeType: "free",
|
|
9
6
|
* isTrialable: true
|
|
10
7
|
* }
|
|
11
8
|
*/
|
|
12
9
|
export interface UpsertBillingProductRequestBody {
|
|
13
10
|
billingProductId?: string;
|
|
14
|
-
chargeType: Schematic.
|
|
11
|
+
chargeType: Schematic.ChargeType;
|
|
15
12
|
currency?: string;
|
|
16
13
|
isTrialable: boolean;
|
|
17
14
|
monthlyPrice?: number;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export {
|
|
2
|
-
export {
|
|
3
|
-
export {
|
|
4
|
-
export {
|
|
5
|
-
export {
|
|
6
|
-
export {
|
|
7
|
-
export {
|
|
1
|
+
export type { CountPlansRequest } from "./CountPlansRequest";
|
|
2
|
+
export type { CreatePlanRequestBody } from "./CreatePlanRequestBody";
|
|
3
|
+
export type { ListPlanIssuesRequest } from "./ListPlanIssuesRequest";
|
|
4
|
+
export type { ListPlansRequest } from "./ListPlansRequest";
|
|
5
|
+
export type { UpdateCompanyPlansRequestBody } from "./UpdateCompanyPlansRequestBody";
|
|
6
|
+
export type { UpdatePlanRequestBody } from "./UpdatePlanRequestBody";
|
|
7
|
+
export type { UpsertBillingProductRequestBody } from "./UpsertBillingProductRequestBody";
|
|
@@ -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
|
* Input parameters
|
|
7
4
|
*/
|
|
@@ -20,15 +17,10 @@ export interface CountPlansParams {
|
|
|
20
17
|
limit?: number;
|
|
21
18
|
/** Page offset (default 0) */
|
|
22
19
|
offset?: number;
|
|
23
|
-
|
|
24
|
-
planType?: Schematic.CountPlansResponseParamsPlanType;
|
|
20
|
+
planType?: Schematic.PlanType;
|
|
25
21
|
q?: string;
|
|
26
|
-
/** Filter for plans that require a payment method (inverse of ForInitialPlan) */
|
|
27
|
-
requiresPaymentMethod?: boolean;
|
|
28
22
|
/** Filter out plans that already have a plan entitlement for the specified feature ID */
|
|
29
23
|
withoutEntitlementFor?: string;
|
|
30
24
|
/** Filter out plans that have a paid billing product ID */
|
|
31
25
|
withoutPaidProductId?: boolean;
|
|
32
|
-
/** Filter out plans that have a billing product ID */
|
|
33
|
-
withoutProductId?: boolean;
|
|
34
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
|
export interface CountPlansResponse {
|
|
6
3
|
data: Schematic.CountResponse;
|
|
7
4
|
/** Input parameters */
|
|
@@ -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
|
export interface CreatePlanResponse {
|
|
6
3
|
data: Schematic.PlanDetailResponseData;
|
|
7
4
|
/** Input parameters */
|
|
@@ -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
|
export interface DeletePlanResponse {
|
|
6
3
|
data: Schematic.DeleteResponse;
|
|
7
4
|
/** Input parameters */
|
|
@@ -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
|
export interface GetPlanResponse {
|
|
6
3
|
data: Schematic.PlanDetailResponseData;
|
|
7
4
|
/** Input parameters */
|
|
@@ -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
|
export interface ListPlanIssuesResponse {
|
|
6
3
|
data: Schematic.PlanIssueResponseData[];
|
|
7
4
|
/** Input parameters */
|
|
@@ -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
|
* Input parameters
|
|
7
4
|
*/
|
|
@@ -20,15 +17,10 @@ export interface ListPlansParams {
|
|
|
20
17
|
limit?: number;
|
|
21
18
|
/** Page offset (default 0) */
|
|
22
19
|
offset?: number;
|
|
23
|
-
|
|
24
|
-
planType?: Schematic.ListPlansResponseParamsPlanType;
|
|
20
|
+
planType?: Schematic.PlanType;
|
|
25
21
|
q?: string;
|
|
26
|
-
/** Filter for plans that require a payment method (inverse of ForInitialPlan) */
|
|
27
|
-
requiresPaymentMethod?: boolean;
|
|
28
22
|
/** Filter out plans that already have a plan entitlement for the specified feature ID */
|
|
29
23
|
withoutEntitlementFor?: string;
|
|
30
24
|
/** Filter out plans that have a paid billing product ID */
|
|
31
25
|
withoutPaidProductId?: boolean;
|
|
32
|
-
/** Filter out plans that have a billing product ID */
|
|
33
|
-
withoutProductId?: boolean;
|
|
34
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
|
export interface ListPlansResponse {
|
|
6
3
|
data: Schematic.PlanDetailResponseData[];
|
|
7
4
|
/** Input parameters */
|
|
@@ -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
|
export interface UpdateCompanyPlansResponse {
|
|
6
3
|
data: Schematic.CompanyDetailResponseData;
|
|
7
4
|
/** Input parameters */
|
|
@@ -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
|
export interface UpdatePlanResponse {
|
|
6
3
|
data: Schematic.PlanDetailResponseData;
|
|
7
4
|
/** Input parameters */
|
|
@@ -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
|
export interface UpsertBillingProductPlanResponse {
|
|
6
3
|
data: Schematic.BillingProductPlanResponseData;
|
|
7
4
|
/** Input parameters */
|
|
@@ -1,18 +1,12 @@
|
|
|
1
|
-
export * from "./UpdateCompanyPlansResponse";
|
|
2
|
-
export * from "./ListPlansRequestPlanType";
|
|
3
|
-
export * from "./ListPlansResponseParamsPlanType";
|
|
4
|
-
export * from "./ListPlansParams";
|
|
5
|
-
export * from "./ListPlansResponse";
|
|
6
|
-
export * from "./CreatePlanRequestBodyPlanType";
|
|
7
|
-
export * from "./CreatePlanResponse";
|
|
8
|
-
export * from "./GetPlanResponse";
|
|
9
|
-
export * from "./UpdatePlanResponse";
|
|
10
|
-
export * from "./DeletePlanResponse";
|
|
11
|
-
export * from "./UpsertBillingProductRequestBodyChargeType";
|
|
12
|
-
export * from "./UpsertBillingProductPlanResponse";
|
|
13
|
-
export * from "./CountPlansRequestPlanType";
|
|
14
|
-
export * from "./CountPlansResponseParamsPlanType";
|
|
15
1
|
export * from "./CountPlansParams";
|
|
16
2
|
export * from "./CountPlansResponse";
|
|
3
|
+
export * from "./CreatePlanResponse";
|
|
4
|
+
export * from "./DeletePlanResponse";
|
|
5
|
+
export * from "./GetPlanResponse";
|
|
17
6
|
export * from "./ListPlanIssuesParams";
|
|
18
7
|
export * from "./ListPlanIssuesResponse";
|
|
8
|
+
export * from "./ListPlansParams";
|
|
9
|
+
export * from "./ListPlansResponse";
|
|
10
|
+
export * from "./UpdateCompanyPlansResponse";
|
|
11
|
+
export * from "./UpdatePlanResponse";
|
|
12
|
+
export * from "./UpsertBillingProductPlanResponse";
|