@schematichq/schematic-typescript-node 1.2.7 → 1.3.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/BaseClient.d.ts +40 -0
- package/dist/Client.d.ts +55 -74
- package/dist/api/errors/BadRequestError.d.ts +2 -5
- package/dist/api/errors/ForbiddenError.d.ts +2 -5
- package/dist/api/errors/InternalServerError.d.ts +2 -5
- package/dist/api/errors/NotFoundError.d.ts +2 -5
- package/dist/api/errors/UnauthorizedError.d.ts +2 -5
- package/dist/api/errors/index.d.ts +2 -2
- package/dist/api/index.d.ts +1 -1
- package/dist/api/resources/accesstokens/client/Client.d.ts +11 -31
- package/dist/api/resources/accesstokens/client/requests/IssueTemporaryAccessTokenRequestBody.d.ts +1 -6
- package/dist/api/resources/accesstokens/client/requests/index.d.ts +1 -1
- package/dist/api/resources/accesstokens/index.d.ts +1 -1
- package/dist/api/resources/accesstokens/types/IssueTemporaryAccessTokenResponse.d.ts +1 -4
- package/dist/api/resources/accounts/client/Client.d.ts +45 -64
- package/dist/api/resources/accounts/client/requests/CountApiKeysRequest.d.ts +2 -9
- package/dist/api/resources/accounts/client/requests/CountApiRequestsRequest.d.ts +2 -9
- package/dist/api/resources/accounts/client/requests/CreateApiKeyRequestBody.d.ts +0 -3
- package/dist/api/resources/accounts/client/requests/CreateEnvironmentRequestBody.d.ts +1 -4
- package/dist/api/resources/accounts/client/requests/ListApiKeysRequest.d.ts +2 -9
- package/dist/api/resources/accounts/client/requests/ListApiRequestsRequest.d.ts +2 -9
- package/dist/api/resources/accounts/client/requests/ListEnvironmentsRequest.d.ts +2 -9
- package/dist/api/resources/accounts/client/requests/UpdateApiKeyRequestBody.d.ts +0 -3
- package/dist/api/resources/accounts/client/requests/UpdateEnvironmentRequestBody.d.ts +1 -4
- package/dist/api/resources/accounts/client/requests/index.d.ts +9 -9
- package/dist/api/resources/accounts/index.d.ts +1 -1
- package/dist/api/resources/accounts/types/CountApiKeysParams.d.ts +0 -3
- package/dist/api/resources/accounts/types/CountApiKeysResponse.d.ts +1 -4
- package/dist/api/resources/accounts/types/CountApiRequestsParams.d.ts +0 -3
- package/dist/api/resources/accounts/types/CountApiRequestsResponse.d.ts +1 -4
- package/dist/api/resources/accounts/types/CreateApiKeyResponse.d.ts +1 -4
- package/dist/api/resources/accounts/types/CreateEnvironmentResponse.d.ts +1 -4
- package/dist/api/resources/accounts/types/DeleteApiKeyResponse.d.ts +1 -4
- package/dist/api/resources/accounts/types/DeleteEnvironmentResponse.d.ts +1 -4
- package/dist/api/resources/accounts/types/GetApiKeyResponse.d.ts +1 -4
- package/dist/api/resources/accounts/types/GetApiRequestResponse.d.ts +1 -4
- package/dist/api/resources/accounts/types/GetEnvironmentResponse.d.ts +1 -4
- package/dist/api/resources/accounts/types/ListApiKeysParams.d.ts +0 -3
- package/dist/api/resources/accounts/types/ListApiKeysResponse.d.ts +1 -4
- package/dist/api/resources/accounts/types/ListApiRequestsParams.d.ts +0 -3
- package/dist/api/resources/accounts/types/ListApiRequestsResponse.d.ts +1 -4
- package/dist/api/resources/accounts/types/ListEnvironmentsParams.d.ts +0 -3
- package/dist/api/resources/accounts/types/ListEnvironmentsResponse.d.ts +1 -4
- package/dist/api/resources/accounts/types/QuickstartResponse.d.ts +1 -4
- package/dist/api/resources/accounts/types/UpdateApiKeyResponse.d.ts +1 -4
- package/dist/api/resources/accounts/types/UpdateEnvironmentResponse.d.ts +1 -4
- package/dist/api/resources/accounts/types/index.d.ts +13 -13
- package/dist/api/resources/billing/client/Client.d.ts +66 -82
- package/dist/api/resources/billing/client/requests/CountBillingProductsRequest.d.ts +18 -33
- package/dist/api/resources/billing/client/requests/CountCustomersRequest.d.ts +5 -11
- package/dist/api/resources/billing/client/requests/CreateBillingCustomerRequestBody.d.ts +2 -5
- package/dist/api/resources/billing/client/requests/CreateBillingPriceRequestBody.d.ts +2 -4
- package/dist/api/resources/billing/client/requests/CreateBillingProductRequestBody.d.ts +2 -3
- package/dist/api/resources/billing/client/requests/CreateBillingSubscriptionRequestBody.d.ts +3 -6
- package/dist/api/resources/billing/client/requests/CreateCouponRequestBody.d.ts +0 -3
- package/dist/api/resources/billing/client/requests/CreateInvoiceRequestBody.d.ts +0 -3
- package/dist/api/resources/billing/client/requests/CreateMeterRequestBody.d.ts +0 -3
- package/dist/api/resources/billing/client/requests/CreatePaymentMethodRequestBody.d.ts +0 -3
- package/dist/api/resources/billing/client/requests/ListBillingPricesRequest.d.ts +9 -22
- package/dist/api/resources/billing/client/requests/ListBillingProductPricesRequest.d.ts +9 -22
- package/dist/api/resources/billing/client/requests/ListBillingProductsRequest.d.ts +18 -33
- package/dist/api/resources/billing/client/requests/ListCouponsRequest.d.ts +2 -9
- package/dist/api/resources/billing/client/requests/ListCustomersWithSubscriptionsRequest.d.ts +5 -11
- package/dist/api/resources/billing/client/requests/ListInvoicesRequest.d.ts +2 -9
- package/dist/api/resources/billing/client/requests/ListMetersRequest.d.ts +2 -9
- package/dist/api/resources/billing/client/requests/ListPaymentMethodsRequest.d.ts +2 -9
- package/dist/api/resources/billing/client/requests/index.d.ts +18 -18
- package/dist/api/resources/billing/index.d.ts +1 -1
- package/dist/api/resources/billing/types/CountBillingProductsParams.d.ts +3 -5
- package/dist/api/resources/billing/types/CountBillingProductsResponse.d.ts +1 -4
- package/dist/api/resources/billing/types/CountCustomersParams.d.ts +2 -4
- package/dist/api/resources/billing/types/CountCustomersResponse.d.ts +1 -4
- package/dist/api/resources/billing/types/DeleteBillingProductResponse.d.ts +1 -4
- package/dist/api/resources/billing/types/DeleteProductPriceResponse.d.ts +1 -4
- package/dist/api/resources/billing/types/ListBillingPricesParams.d.ts +2 -4
- package/dist/api/resources/billing/types/ListBillingPricesResponse.d.ts +1 -4
- package/dist/api/resources/billing/types/ListBillingProductPricesParams.d.ts +2 -4
- package/dist/api/resources/billing/types/ListBillingProductPricesResponse.d.ts +1 -4
- package/dist/api/resources/billing/types/ListBillingProductsParams.d.ts +3 -5
- package/dist/api/resources/billing/types/ListBillingProductsResponse.d.ts +1 -4
- package/dist/api/resources/billing/types/ListCouponsParams.d.ts +0 -3
- package/dist/api/resources/billing/types/ListCouponsResponse.d.ts +1 -4
- package/dist/api/resources/billing/types/ListCustomersWithSubscriptionsParams.d.ts +2 -4
- package/dist/api/resources/billing/types/ListCustomersWithSubscriptionsResponse.d.ts +1 -4
- package/dist/api/resources/billing/types/ListInvoicesParams.d.ts +0 -3
- package/dist/api/resources/billing/types/ListInvoicesResponse.d.ts +1 -4
- package/dist/api/resources/billing/types/ListMetersParams.d.ts +0 -3
- package/dist/api/resources/billing/types/ListMetersResponse.d.ts +1 -4
- package/dist/api/resources/billing/types/ListPaymentMethodsParams.d.ts +0 -3
- package/dist/api/resources/billing/types/ListPaymentMethodsResponse.d.ts +1 -4
- package/dist/api/resources/billing/types/UpsertBillingCouponResponse.d.ts +1 -4
- package/dist/api/resources/billing/types/UpsertBillingCustomerResponse.d.ts +1 -4
- package/dist/api/resources/billing/types/UpsertBillingMeterResponse.d.ts +1 -4
- package/dist/api/resources/billing/types/UpsertBillingPriceResponse.d.ts +1 -4
- package/dist/api/resources/billing/types/UpsertBillingProductResponse.d.ts +1 -4
- package/dist/api/resources/billing/types/UpsertBillingSubscriptionResponse.d.ts +1 -4
- package/dist/api/resources/billing/types/UpsertInvoiceResponse.d.ts +1 -4
- package/dist/api/resources/billing/types/UpsertPaymentMethodResponse.d.ts +1 -4
- package/dist/api/resources/billing/types/index.d.ts +17 -17
- package/dist/api/resources/checkout/client/Client.d.ts +23 -42
- package/dist/api/resources/checkout/client/requests/CancelSubscriptionRequest.d.ts +0 -3
- package/dist/api/resources/checkout/client/requests/CheckoutDataRequestBody.d.ts +0 -3
- package/dist/api/resources/checkout/client/requests/UpdateTrialEndRequestBody.d.ts +0 -3
- package/dist/api/resources/checkout/client/requests/index.d.ts +3 -3
- package/dist/api/resources/checkout/index.d.ts +1 -1
- package/dist/api/resources/checkout/types/CancelSubscriptionResponse.d.ts +1 -4
- package/dist/api/resources/checkout/types/CheckoutInternalResponse.d.ts +1 -4
- package/dist/api/resources/checkout/types/GetCheckoutDataResponse.d.ts +1 -4
- package/dist/api/resources/checkout/types/ManagePlanResponse.d.ts +1 -4
- package/dist/api/resources/checkout/types/PreviewCheckoutInternalResponse.d.ts +1 -4
- package/dist/api/resources/checkout/types/PreviewManagePlanResponse.d.ts +1 -4
- package/dist/api/resources/checkout/types/UpdateCustomerSubscriptionTrialEndResponse.d.ts +1 -4
- package/dist/api/resources/checkout/types/index.d.ts +2 -2
- package/dist/api/resources/companies/client/Client.d.ts +101 -140
- package/dist/api/resources/companies/client/requests/CountCompaniesForAdvancedFilterRequest.d.ts +16 -49
- package/dist/api/resources/companies/client/requests/CountCompaniesRequest.d.ts +8 -27
- package/dist/api/resources/companies/client/requests/CountEntityKeyDefinitionsRequest.d.ts +3 -10
- package/dist/api/resources/companies/client/requests/CountEntityTraitDefinitionsRequest.d.ts +3 -10
- package/dist/api/resources/companies/client/requests/CountPlanTraitsRequest.d.ts +2 -9
- package/dist/api/resources/companies/client/requests/CountUsersRequest.d.ts +6 -21
- package/dist/api/resources/companies/client/requests/CreateEntityTraitDefinitionRequestBody.d.ts +1 -4
- package/dist/api/resources/companies/client/requests/CreatePlanTraitRequestBody.d.ts +0 -3
- package/dist/api/resources/companies/client/requests/DeleteCompanyRequest.d.ts +0 -3
- package/dist/api/resources/companies/client/requests/GetActiveCompanySubscriptionRequest.d.ts +2 -9
- package/dist/api/resources/companies/client/requests/GetEntityTraitValuesRequest.d.ts +2 -9
- package/dist/api/resources/companies/client/requests/GetOrCreateCompanyMembershipRequestBody.d.ts +0 -3
- package/dist/api/resources/companies/client/requests/ListCompaniesForAdvancedFilterRequest.d.ts +16 -49
- package/dist/api/resources/companies/client/requests/ListCompaniesRequest.d.ts +8 -27
- package/dist/api/resources/companies/client/requests/ListCompanyMembershipsRequest.d.ts +2 -9
- package/dist/api/resources/companies/client/requests/ListEntityKeyDefinitionsRequest.d.ts +3 -10
- package/dist/api/resources/companies/client/requests/ListEntityTraitDefinitionsRequest.d.ts +3 -10
- package/dist/api/resources/companies/client/requests/ListPlanChangesRequest.d.ts +2 -9
- package/dist/api/resources/companies/client/requests/ListPlanTraitsRequest.d.ts +2 -9
- package/dist/api/resources/companies/client/requests/ListUsersRequest.d.ts +6 -21
- package/dist/api/resources/companies/client/requests/LookupCompanyRequest.d.ts +1 -6
- package/dist/api/resources/companies/client/requests/LookupUserRequest.d.ts +1 -6
- package/dist/api/resources/companies/client/requests/UpdateEntityTraitDefinitionRequestBody.d.ts +1 -4
- package/dist/api/resources/companies/client/requests/UpdatePlanTraitBulkRequestBody.d.ts +1 -4
- package/dist/api/resources/companies/client/requests/UpdatePlanTraitRequestBody.d.ts +0 -3
- package/dist/api/resources/companies/client/requests/index.d.ts +25 -26
- package/dist/api/resources/companies/index.d.ts +1 -1
- package/dist/api/resources/companies/types/CountCompaniesForAdvancedFilterParams.d.ts +1 -4
- package/dist/api/resources/companies/types/CountCompaniesForAdvancedFilterResponse.d.ts +1 -4
- package/dist/api/resources/companies/types/CountCompaniesParams.d.ts +0 -3
- package/dist/api/resources/companies/types/CountCompaniesResponse.d.ts +1 -4
- package/dist/api/resources/companies/types/CountEntityKeyDefinitionsParams.d.ts +1 -4
- package/dist/api/resources/companies/types/CountEntityKeyDefinitionsResponse.d.ts +1 -4
- package/dist/api/resources/companies/types/CountEntityTraitDefinitionsParams.d.ts +1 -4
- package/dist/api/resources/companies/types/CountEntityTraitDefinitionsResponse.d.ts +1 -4
- package/dist/api/resources/companies/types/CountPlanTraitsParams.d.ts +0 -3
- package/dist/api/resources/companies/types/CountPlanTraitsResponse.d.ts +1 -4
- package/dist/api/resources/companies/types/CountUsersParams.d.ts +0 -3
- package/dist/api/resources/companies/types/CountUsersResponse.d.ts +1 -4
- package/dist/api/resources/companies/types/CreateCompanyResponse.d.ts +1 -4
- package/dist/api/resources/companies/types/CreatePlanTraitResponse.d.ts +1 -4
- package/dist/api/resources/companies/types/CreateUserResponse.d.ts +1 -4
- package/dist/api/resources/companies/types/DeleteCompanyByKeysResponse.d.ts +1 -4
- package/dist/api/resources/companies/types/DeleteCompanyMembershipResponse.d.ts +1 -4
- package/dist/api/resources/companies/types/DeleteCompanyParams.d.ts +0 -3
- package/dist/api/resources/companies/types/DeleteCompanyResponse.d.ts +1 -4
- package/dist/api/resources/companies/types/DeletePlanTraitResponse.d.ts +1 -4
- package/dist/api/resources/companies/types/DeleteUserByKeysResponse.d.ts +1 -4
- package/dist/api/resources/companies/types/DeleteUserResponse.d.ts +1 -4
- package/dist/api/resources/companies/types/GetActiveCompanySubscriptionParams.d.ts +0 -3
- package/dist/api/resources/companies/types/GetActiveCompanySubscriptionResponse.d.ts +1 -4
- package/dist/api/resources/companies/types/GetCompanyResponse.d.ts +1 -4
- package/dist/api/resources/companies/types/GetEntityTraitDefinitionResponse.d.ts +1 -4
- package/dist/api/resources/companies/types/GetEntityTraitValuesParams.d.ts +0 -3
- package/dist/api/resources/companies/types/GetEntityTraitValuesResponse.d.ts +1 -4
- package/dist/api/resources/companies/types/GetOrCreateCompanyMembershipResponse.d.ts +1 -4
- package/dist/api/resources/companies/types/GetOrCreateEntityTraitDefinitionResponse.d.ts +1 -4
- package/dist/api/resources/companies/types/GetPlanChangeResponse.d.ts +1 -4
- package/dist/api/resources/companies/types/GetPlanTraitResponse.d.ts +1 -4
- package/dist/api/resources/companies/types/GetUserResponse.d.ts +1 -4
- package/dist/api/resources/companies/types/ListCompaniesForAdvancedFilterParams.d.ts +1 -4
- package/dist/api/resources/companies/types/ListCompaniesForAdvancedFilterResponse.d.ts +1 -4
- package/dist/api/resources/companies/types/ListCompaniesParams.d.ts +0 -3
- package/dist/api/resources/companies/types/ListCompaniesResponse.d.ts +1 -4
- package/dist/api/resources/companies/types/ListCompanyMembershipsParams.d.ts +0 -3
- package/dist/api/resources/companies/types/ListCompanyMembershipsResponse.d.ts +1 -4
- package/dist/api/resources/companies/types/ListEntityKeyDefinitionsParams.d.ts +1 -4
- package/dist/api/resources/companies/types/ListEntityKeyDefinitionsResponse.d.ts +1 -4
- package/dist/api/resources/companies/types/ListEntityTraitDefinitionsParams.d.ts +1 -4
- package/dist/api/resources/companies/types/ListEntityTraitDefinitionsResponse.d.ts +1 -4
- package/dist/api/resources/companies/types/ListPlanChangesParams.d.ts +0 -3
- package/dist/api/resources/companies/types/ListPlanChangesResponse.d.ts +1 -4
- package/dist/api/resources/companies/types/ListPlanTraitsParams.d.ts +0 -3
- package/dist/api/resources/companies/types/ListPlanTraitsResponse.d.ts +1 -4
- package/dist/api/resources/companies/types/ListUsersParams.d.ts +0 -3
- package/dist/api/resources/companies/types/ListUsersResponse.d.ts +1 -4
- package/dist/api/resources/companies/types/LookupCompanyParams.d.ts +0 -3
- package/dist/api/resources/companies/types/LookupCompanyResponse.d.ts +1 -4
- package/dist/api/resources/companies/types/LookupUserParams.d.ts +0 -3
- package/dist/api/resources/companies/types/LookupUserResponse.d.ts +1 -4
- package/dist/api/resources/companies/types/UpdateEntityTraitDefinitionResponse.d.ts +1 -4
- package/dist/api/resources/companies/types/UpdatePlanTraitResponse.d.ts +1 -4
- package/dist/api/resources/companies/types/UpdatePlanTraitsBulkResponse.d.ts +1 -4
- package/dist/api/resources/companies/types/UpsertCompanyResponse.d.ts +1 -4
- package/dist/api/resources/companies/types/UpsertCompanyTraitResponse.d.ts +1 -4
- package/dist/api/resources/companies/types/UpsertUserResponse.d.ts +1 -4
- package/dist/api/resources/companies/types/UpsertUserTraitResponse.d.ts +1 -4
- package/dist/api/resources/companies/types/index.d.ts +40 -42
- package/dist/api/resources/components/client/Client.d.ts +25 -44
- package/dist/api/resources/components/client/requests/CountComponentsRequest.d.ts +2 -9
- package/dist/api/resources/components/client/requests/CreateComponentRequestBody.d.ts +1 -4
- package/dist/api/resources/components/client/requests/ListComponentsRequest.d.ts +2 -9
- package/dist/api/resources/components/client/requests/PreviewComponentDataRequest.d.ts +0 -3
- package/dist/api/resources/components/client/requests/UpdateComponentRequestBody.d.ts +1 -4
- package/dist/api/resources/components/client/requests/index.d.ts +5 -5
- package/dist/api/resources/components/index.d.ts +1 -1
- package/dist/api/resources/components/types/CountComponentsParams.d.ts +0 -3
- package/dist/api/resources/components/types/CountComponentsResponse.d.ts +1 -4
- package/dist/api/resources/components/types/CreateComponentResponse.d.ts +1 -4
- package/dist/api/resources/components/types/DeleteComponentResponse.d.ts +1 -4
- package/dist/api/resources/components/types/GetComponentResponse.d.ts +1 -4
- package/dist/api/resources/components/types/ListComponentsParams.d.ts +0 -3
- package/dist/api/resources/components/types/ListComponentsResponse.d.ts +1 -4
- package/dist/api/resources/components/types/PreviewComponentDataParams.d.ts +0 -3
- package/dist/api/resources/components/types/PreviewComponentDataResponse.d.ts +1 -4
- package/dist/api/resources/components/types/UpdateComponentResponse.d.ts +1 -4
- package/dist/api/resources/components/types/index.d.ts +6 -6
- package/dist/api/resources/credits/client/Client.d.ts +86 -84
- package/dist/api/resources/credits/client/requests/CountBillingCreditsGrantsRequest.d.ts +2 -9
- package/dist/api/resources/credits/client/requests/CountBillingCreditsRequest.d.ts +2 -9
- package/dist/api/resources/credits/client/requests/CountBillingPlanCreditGrantsRequest.d.ts +2 -9
- package/dist/api/resources/credits/client/requests/CountCompanyGrantsRequest.d.ts +20 -0
- package/dist/api/resources/credits/client/requests/CountCreditBundlesRequest.d.ts +3 -10
- package/dist/api/resources/credits/client/requests/CountCreditLedgerRequest.d.ts +3 -10
- package/dist/api/resources/credits/client/requests/CreateBillingCreditRequestBody.d.ts +1 -4
- package/dist/api/resources/credits/client/requests/CreateCompanyCreditGrant.d.ts +1 -4
- package/dist/api/resources/credits/client/requests/CreateCreditBundleRequestBody.d.ts +1 -4
- package/dist/api/resources/credits/client/requests/DeleteBillingPlanCreditGrantRequest.d.ts +0 -3
- package/dist/api/resources/credits/client/requests/GetEnrichedCreditLedgerRequest.d.ts +3 -10
- package/dist/api/resources/credits/client/requests/ListBillingCreditsRequest.d.ts +2 -9
- package/dist/api/resources/credits/client/requests/ListBillingPlanCreditGrantsRequest.d.ts +2 -9
- package/dist/api/resources/credits/client/requests/ListCompanyGrantsRequest.d.ts +3 -10
- package/dist/api/resources/credits/client/requests/ListCreditBundlesRequest.d.ts +3 -10
- package/dist/api/resources/credits/client/requests/ListGrantsForCreditRequest.d.ts +2 -9
- package/dist/api/resources/credits/client/requests/UpdateBillingCreditRequestBody.d.ts +1 -4
- package/dist/api/resources/credits/client/requests/UpdateCreditBundleDetailsRequestBody.d.ts +1 -4
- package/dist/api/resources/credits/client/requests/ZeroOutGrantRequestBody.d.ts +1 -4
- package/dist/api/resources/credits/client/requests/index.d.ts +19 -20
- package/dist/api/resources/credits/index.d.ts +1 -1
- package/dist/api/resources/credits/types/CountBillingCreditsGrantsParams.d.ts +0 -3
- package/dist/api/resources/credits/types/CountBillingCreditsGrantsResponse.d.ts +1 -4
- package/dist/api/resources/credits/types/CountBillingCreditsParams.d.ts +0 -3
- package/dist/api/resources/credits/types/CountBillingCreditsResponse.d.ts +1 -4
- package/dist/api/resources/credits/types/CountBillingPlanCreditGrantsParams.d.ts +0 -3
- package/dist/api/resources/credits/types/CountBillingPlanCreditGrantsResponse.d.ts +1 -4
- package/dist/api/resources/credits/types/CountCompanyGrantsParams.d.ts +13 -0
- package/dist/api/resources/credits/types/CountCompanyGrantsResponse.d.ts +6 -0
- package/dist/api/resources/credits/types/CountCreditBundlesParams.d.ts +1 -4
- package/dist/api/resources/credits/types/CountCreditBundlesResponse.d.ts +1 -4
- package/dist/api/resources/credits/types/CountCreditLedgerParams.d.ts +1 -4
- package/dist/api/resources/credits/types/CountCreditLedgerResponse.d.ts +1 -4
- package/dist/api/resources/credits/types/CreateBillingCreditResponse.d.ts +1 -4
- package/dist/api/resources/credits/types/CreateBillingPlanCreditGrantResponse.d.ts +1 -4
- package/dist/api/resources/credits/types/CreateCreditBundleResponse.d.ts +1 -4
- package/dist/api/resources/credits/types/DeleteBillingPlanCreditGrantParams.d.ts +0 -3
- package/dist/api/resources/credits/types/DeleteBillingPlanCreditGrantResponse.d.ts +1 -4
- package/dist/api/resources/credits/types/DeleteCreditBundleResponse.d.ts +1 -4
- package/dist/api/resources/credits/types/GetCreditBundleResponse.d.ts +1 -4
- package/dist/api/resources/credits/types/GetEnrichedCreditLedgerParams.d.ts +1 -4
- package/dist/api/resources/credits/types/GetEnrichedCreditLedgerResponse.d.ts +1 -4
- package/dist/api/resources/credits/types/GetSingleBillingCreditResponse.d.ts +1 -4
- package/dist/api/resources/credits/types/GrantBillingCreditsToCompanyResponse.d.ts +1 -4
- package/dist/api/resources/credits/types/ListBillingCreditsParams.d.ts +0 -3
- package/dist/api/resources/credits/types/ListBillingCreditsResponse.d.ts +1 -4
- package/dist/api/resources/credits/types/ListBillingPlanCreditGrantsParams.d.ts +0 -3
- package/dist/api/resources/credits/types/ListBillingPlanCreditGrantsResponse.d.ts +1 -4
- package/dist/api/resources/credits/types/ListCompanyGrantsParams.d.ts +1 -4
- package/dist/api/resources/credits/types/ListCompanyGrantsResponse.d.ts +1 -4
- package/dist/api/resources/credits/types/ListCreditBundlesParams.d.ts +1 -4
- package/dist/api/resources/credits/types/ListCreditBundlesResponse.d.ts +1 -4
- package/dist/api/resources/credits/types/ListGrantsForCreditParams.d.ts +0 -3
- package/dist/api/resources/credits/types/ListGrantsForCreditResponse.d.ts +1 -4
- package/dist/api/resources/credits/types/SoftDeleteBillingCreditResponse.d.ts +1 -4
- package/dist/api/resources/credits/types/UpdateBillingCreditResponse.d.ts +1 -4
- package/dist/api/resources/credits/types/UpdateBillingPlanCreditGrantResponse.d.ts +1 -4
- package/dist/api/resources/credits/types/UpdateCreditBundleDetailsResponse.d.ts +1 -4
- package/dist/api/resources/credits/types/ZeroOutGrantResponse.d.ts +1 -4
- package/dist/api/resources/credits/types/index.d.ts +29 -27
- package/dist/api/resources/dataexports/client/Client.d.ts +13 -34
- package/dist/api/resources/dataexports/client/requests/CreateDataExportRequestBody.d.ts +1 -6
- package/dist/api/resources/dataexports/client/requests/index.d.ts +1 -1
- package/dist/api/resources/dataexports/index.d.ts +1 -1
- package/dist/api/resources/dataexports/types/CreateDataExportResponse.d.ts +1 -4
- package/dist/api/resources/entitlements/client/Client.d.ts +56 -73
- package/dist/api/resources/entitlements/client/requests/CountCompanyOverridesRequest.d.ts +9 -30
- package/dist/api/resources/entitlements/client/requests/CountFeatureCompaniesRequest.d.ts +2 -9
- package/dist/api/resources/entitlements/client/requests/CountFeatureUsageRequest.d.ts +5 -9
- package/dist/api/resources/entitlements/client/requests/CountFeatureUsersRequest.d.ts +2 -9
- package/dist/api/resources/entitlements/client/requests/CountPlanEntitlementsRequest.d.ts +9 -30
- package/dist/api/resources/entitlements/client/requests/CreateCompanyOverrideRequestBody.d.ts +1 -4
- package/dist/api/resources/entitlements/client/requests/CreatePlanEntitlementRequestBody.d.ts +1 -4
- package/dist/api/resources/entitlements/client/requests/DuplicatePlanEntitlementsRequestBody.d.ts +0 -3
- package/dist/api/resources/entitlements/client/requests/GetFeatureUsageByCompanyRequest.d.ts +1 -6
- package/dist/api/resources/entitlements/client/requests/ListCompanyOverridesRequest.d.ts +9 -30
- package/dist/api/resources/entitlements/client/requests/ListFeatureCompaniesRequest.d.ts +2 -9
- package/dist/api/resources/entitlements/client/requests/ListFeatureUsageRequest.d.ts +5 -9
- package/dist/api/resources/entitlements/client/requests/ListFeatureUsersRequest.d.ts +2 -9
- package/dist/api/resources/entitlements/client/requests/ListPlanEntitlementsRequest.d.ts +9 -30
- package/dist/api/resources/entitlements/client/requests/UpdateCompanyOverrideRequestBody.d.ts +1 -4
- package/dist/api/resources/entitlements/client/requests/UpdatePlanEntitlementRequestBody.d.ts +1 -4
- package/dist/api/resources/entitlements/client/requests/index.d.ts +16 -16
- package/dist/api/resources/entitlements/index.d.ts +1 -1
- package/dist/api/resources/entitlements/types/CountCompanyOverridesParams.d.ts +0 -3
- package/dist/api/resources/entitlements/types/CountCompanyOverridesResponse.d.ts +1 -4
- package/dist/api/resources/entitlements/types/CountFeatureCompaniesParams.d.ts +0 -3
- package/dist/api/resources/entitlements/types/CountFeatureCompaniesResponse.d.ts +1 -4
- package/dist/api/resources/entitlements/types/CountFeatureUsageParams.d.ts +2 -3
- package/dist/api/resources/entitlements/types/CountFeatureUsageResponse.d.ts +1 -4
- package/dist/api/resources/entitlements/types/CountFeatureUsersParams.d.ts +0 -3
- package/dist/api/resources/entitlements/types/CountFeatureUsersResponse.d.ts +1 -4
- package/dist/api/resources/entitlements/types/CountPlanEntitlementsParams.d.ts +0 -3
- package/dist/api/resources/entitlements/types/CountPlanEntitlementsResponse.d.ts +1 -4
- package/dist/api/resources/entitlements/types/CreateCompanyOverrideRequestBodyMetricPeriod.d.ts +1 -4
- package/dist/api/resources/entitlements/types/CreateCompanyOverrideRequestBodyMetricPeriodMonthReset.d.ts +1 -4
- package/dist/api/resources/entitlements/types/CreateCompanyOverrideResponse.d.ts +1 -4
- package/dist/api/resources/entitlements/types/CreatePlanEntitlementRequestBodyMetricPeriod.d.ts +1 -4
- package/dist/api/resources/entitlements/types/CreatePlanEntitlementRequestBodyMetricPeriodMonthReset.d.ts +1 -4
- package/dist/api/resources/entitlements/types/CreatePlanEntitlementResponse.d.ts +1 -4
- package/dist/api/resources/entitlements/types/DeleteCompanyOverrideResponse.d.ts +1 -4
- package/dist/api/resources/entitlements/types/DeletePlanEntitlementResponse.d.ts +1 -4
- package/dist/api/resources/entitlements/types/DuplicatePlanEntitlementsResponse.d.ts +1 -4
- package/dist/api/resources/entitlements/types/GetCompanyOverrideResponse.d.ts +1 -4
- package/dist/api/resources/entitlements/types/GetFeatureUsageByCompanyParams.d.ts +0 -3
- package/dist/api/resources/entitlements/types/GetFeatureUsageByCompanyResponse.d.ts +1 -4
- package/dist/api/resources/entitlements/types/GetPlanEntitlementResponse.d.ts +1 -4
- package/dist/api/resources/entitlements/types/ListCompanyOverridesParams.d.ts +0 -3
- package/dist/api/resources/entitlements/types/ListCompanyOverridesResponse.d.ts +1 -4
- package/dist/api/resources/entitlements/types/ListFeatureCompaniesParams.d.ts +0 -3
- package/dist/api/resources/entitlements/types/ListFeatureCompaniesResponse.d.ts +1 -4
- package/dist/api/resources/entitlements/types/ListFeatureUsageParams.d.ts +2 -3
- package/dist/api/resources/entitlements/types/ListFeatureUsageResponse.d.ts +1 -4
- package/dist/api/resources/entitlements/types/ListFeatureUsersParams.d.ts +0 -3
- package/dist/api/resources/entitlements/types/ListFeatureUsersResponse.d.ts +1 -4
- package/dist/api/resources/entitlements/types/ListPlanEntitlementsParams.d.ts +0 -3
- package/dist/api/resources/entitlements/types/ListPlanEntitlementsResponse.d.ts +1 -4
- package/dist/api/resources/entitlements/types/UpdateCompanyOverrideRequestBodyMetricPeriod.d.ts +1 -4
- package/dist/api/resources/entitlements/types/UpdateCompanyOverrideRequestBodyMetricPeriodMonthReset.d.ts +1 -4
- package/dist/api/resources/entitlements/types/UpdateCompanyOverrideResponse.d.ts +1 -4
- package/dist/api/resources/entitlements/types/UpdatePlanEntitlementRequestBodyMetricPeriod.d.ts +1 -4
- package/dist/api/resources/entitlements/types/UpdatePlanEntitlementRequestBodyMetricPeriodMonthReset.d.ts +1 -4
- package/dist/api/resources/entitlements/types/UpdatePlanEntitlementResponse.d.ts +1 -4
- package/dist/api/resources/entitlements/types/index.d.ts +24 -24
- package/dist/api/resources/events/client/Client.d.ts +21 -40
- package/dist/api/resources/events/client/requests/CreateEventBatchRequestBody.d.ts +1 -4
- package/dist/api/resources/events/client/requests/GetEventSummariesRequest.d.ts +2 -9
- package/dist/api/resources/events/client/requests/ListEventsRequest.d.ts +3 -10
- package/dist/api/resources/events/client/requests/index.d.ts +3 -3
- package/dist/api/resources/events/index.d.ts +1 -1
- package/dist/api/resources/events/types/CreateEventBatchResponse.d.ts +1 -4
- package/dist/api/resources/events/types/CreateEventResponse.d.ts +1 -4
- package/dist/api/resources/events/types/GetEventResponse.d.ts +1 -4
- package/dist/api/resources/events/types/GetEventSummariesParams.d.ts +0 -3
- package/dist/api/resources/events/types/GetEventSummariesResponse.d.ts +1 -4
- package/dist/api/resources/events/types/GetSegmentIntegrationStatusResponse.d.ts +1 -4
- package/dist/api/resources/events/types/ListEventsParams.d.ts +1 -4
- package/dist/api/resources/events/types/ListEventsResponse.d.ts +1 -4
- package/dist/api/resources/events/types/index.d.ts +3 -3
- package/dist/api/resources/features/client/Client.d.ts +47 -66
- package/dist/api/resources/features/client/requests/CheckFlagsBulkRequestBody.d.ts +1 -4
- package/dist/api/resources/features/client/requests/CountFeaturesRequest.d.ts +8 -25
- package/dist/api/resources/features/client/requests/CountFlagsRequest.d.ts +3 -12
- package/dist/api/resources/features/client/requests/CreateFeatureRequestBody.d.ts +1 -4
- package/dist/api/resources/features/client/requests/ListFeaturesRequest.d.ts +8 -25
- package/dist/api/resources/features/client/requests/ListFlagsRequest.d.ts +3 -12
- package/dist/api/resources/features/client/requests/UpdateFeatureRequestBody.d.ts +1 -4
- package/dist/api/resources/features/client/requests/UpdateFlagRulesRequestBody.d.ts +1 -4
- package/dist/api/resources/features/client/requests/index.d.ts +8 -8
- package/dist/api/resources/features/index.d.ts +1 -1
- package/dist/api/resources/features/types/CheckFlagResponse.d.ts +1 -4
- package/dist/api/resources/features/types/CheckFlagsBulkResponse.d.ts +1 -4
- package/dist/api/resources/features/types/CheckFlagsResponse.d.ts +1 -4
- package/dist/api/resources/features/types/CountFeaturesParams.d.ts +1 -4
- package/dist/api/resources/features/types/CountFeaturesResponse.d.ts +1 -4
- package/dist/api/resources/features/types/CountFlagsParams.d.ts +0 -3
- package/dist/api/resources/features/types/CountFlagsResponse.d.ts +1 -4
- package/dist/api/resources/features/types/CreateFeatureResponse.d.ts +1 -4
- package/dist/api/resources/features/types/CreateFlagResponse.d.ts +1 -4
- package/dist/api/resources/features/types/DeleteFeatureResponse.d.ts +1 -4
- package/dist/api/resources/features/types/DeleteFlagResponse.d.ts +1 -4
- package/dist/api/resources/features/types/GetFeatureResponse.d.ts +1 -4
- package/dist/api/resources/features/types/GetFlagResponse.d.ts +1 -4
- package/dist/api/resources/features/types/ListFeaturesParams.d.ts +1 -4
- package/dist/api/resources/features/types/ListFeaturesResponse.d.ts +1 -4
- package/dist/api/resources/features/types/ListFlagsParams.d.ts +0 -3
- package/dist/api/resources/features/types/ListFlagsResponse.d.ts +1 -4
- package/dist/api/resources/features/types/UpdateFeatureResponse.d.ts +1 -4
- package/dist/api/resources/features/types/UpdateFlagResponse.d.ts +1 -4
- package/dist/api/resources/features/types/UpdateFlagRulesResponse.d.ts +1 -4
- package/dist/api/resources/features/types/index.d.ts +14 -14
- package/dist/api/resources/index.d.ts +25 -25
- package/dist/api/resources/planbundle/client/Client.d.ts +52 -0
- package/dist/api/resources/planbundle/client/requests/CreatePlanBundleRequestBody.d.ts +16 -0
- package/dist/api/resources/planbundle/client/requests/UpdatePlanBundleRequestBody.d.ts +16 -0
- package/dist/api/resources/planbundle/client/requests/index.d.ts +2 -0
- package/dist/api/resources/planbundle/types/CreatePlanBundleResponse.d.ts +6 -0
- package/dist/api/resources/planbundle/types/UpdatePlanBundleResponse.d.ts +6 -0
- package/dist/api/resources/planbundle/types/index.d.ts +2 -0
- package/dist/api/resources/plangroups/client/Client.d.ts +15 -34
- package/dist/api/resources/plangroups/client/requests/CreatePlanGroupRequestBody.d.ts +1 -4
- package/dist/api/resources/plangroups/client/requests/UpdatePlanGroupRequestBody.d.ts +1 -4
- package/dist/api/resources/plangroups/client/requests/index.d.ts +2 -2
- package/dist/api/resources/plangroups/index.d.ts +1 -1
- package/dist/api/resources/plangroups/types/CreatePlanGroupResponse.d.ts +1 -4
- package/dist/api/resources/plangroups/types/GetPlanGroupResponse.d.ts +1 -4
- package/dist/api/resources/plangroups/types/UpdatePlanGroupResponse.d.ts +1 -4
- package/dist/api/resources/plangroups/types/index.d.ts +1 -1
- package/dist/api/resources/plans/client/Client.d.ts +31 -50
- package/dist/api/resources/plans/client/requests/CountPlansRequest.d.ts +10 -31
- package/dist/api/resources/plans/client/requests/ListPlanIssuesRequest.d.ts +0 -3
- package/dist/api/resources/plans/client/requests/ListPlansRequest.d.ts +10 -31
- package/dist/api/resources/plans/client/requests/UpdateCompanyPlansRequestBody.d.ts +0 -3
- package/dist/api/resources/plans/client/requests/index.d.ts +4 -7
- package/dist/api/resources/plans/index.d.ts +1 -1
- package/dist/api/resources/plans/types/CountPlansParams.d.ts +1 -4
- package/dist/api/resources/plans/types/CountPlansResponse.d.ts +1 -4
- package/dist/api/resources/plans/types/CreatePlanResponse.d.ts +1 -4
- package/dist/api/resources/plans/types/DeletePlanResponse.d.ts +1 -4
- package/dist/api/resources/plans/types/GetPlanResponse.d.ts +1 -4
- package/dist/api/resources/plans/types/ListPlanIssuesParams.d.ts +0 -3
- package/dist/api/resources/plans/types/ListPlanIssuesResponse.d.ts +1 -4
- package/dist/api/resources/plans/types/ListPlansParams.d.ts +1 -4
- package/dist/api/resources/plans/types/ListPlansResponse.d.ts +1 -4
- package/dist/api/resources/plans/types/UpdateCompanyPlansResponse.d.ts +1 -4
- package/dist/api/resources/plans/types/UpdatePlanResponse.d.ts +1 -4
- package/dist/api/resources/plans/types/UpsertBillingProductPlanResponse.d.ts +1 -4
- package/dist/api/resources/plans/types/index.d.ts +8 -8
- package/dist/api/resources/webhooks/client/Client.d.ts +30 -49
- package/dist/api/resources/webhooks/client/requests/CountWebhookEventsRequest.d.ts +2 -9
- package/dist/api/resources/webhooks/client/requests/CountWebhooksRequest.d.ts +2 -9
- package/dist/api/resources/webhooks/client/requests/CreateWebhookRequestBody.d.ts +1 -4
- package/dist/api/resources/webhooks/client/requests/ListWebhookEventsRequest.d.ts +2 -9
- package/dist/api/resources/webhooks/client/requests/ListWebhooksRequest.d.ts +2 -9
- package/dist/api/resources/webhooks/client/requests/UpdateWebhookRequestBody.d.ts +1 -4
- package/dist/api/resources/webhooks/client/requests/index.d.ts +6 -6
- package/dist/api/resources/webhooks/index.d.ts +1 -1
- package/dist/api/resources/webhooks/types/CountWebhookEventsParams.d.ts +0 -3
- package/dist/api/resources/webhooks/types/CountWebhookEventsResponse.d.ts +1 -4
- package/dist/api/resources/webhooks/types/CountWebhooksParams.d.ts +0 -3
- package/dist/api/resources/webhooks/types/CountWebhooksResponse.d.ts +1 -4
- package/dist/api/resources/webhooks/types/CreateWebhookResponse.d.ts +1 -4
- package/dist/api/resources/webhooks/types/DeleteWebhookResponse.d.ts +1 -4
- package/dist/api/resources/webhooks/types/GetWebhookEventResponse.d.ts +1 -4
- package/dist/api/resources/webhooks/types/GetWebhookResponse.d.ts +1 -4
- package/dist/api/resources/webhooks/types/ListWebhookEventsParams.d.ts +0 -3
- package/dist/api/resources/webhooks/types/ListWebhookEventsResponse.d.ts +1 -4
- package/dist/api/resources/webhooks/types/ListWebhooksParams.d.ts +0 -3
- package/dist/api/resources/webhooks/types/ListWebhooksResponse.d.ts +1 -4
- package/dist/api/resources/webhooks/types/UpdateWebhookResponse.d.ts +1 -4
- package/dist/api/resources/webhooks/types/index.d.ts +8 -8
- package/dist/api/types/ApiError.d.ts +0 -3
- package/dist/api/types/ApiKeyCreateResponseData.d.ts +1 -4
- package/dist/api/types/ApiKeyRequestListResponseData.d.ts +0 -3
- package/dist/api/types/ApiKeyRequestResponseData.d.ts +1 -4
- package/dist/api/types/ApiKeyResponseData.d.ts +1 -4
- package/dist/api/types/ApiKeyScope.d.ts +1 -4
- package/dist/api/types/BillingCouponResponseData.d.ts +2 -3
- package/dist/api/types/BillingCreditBundleResponseData.d.ts +1 -4
- package/dist/api/types/BillingCreditBundleStatus.d.ts +1 -4
- package/dist/api/types/BillingCreditBundleType.d.ts +0 -3
- package/dist/api/types/BillingCreditBundleView.d.ts +1 -4
- package/dist/api/types/BillingCreditBurnStrategy.d.ts +1 -4
- package/dist/api/types/BillingCreditExpiryType.d.ts +1 -4
- package/dist/api/types/BillingCreditExpiryUnit.d.ts +1 -4
- package/dist/api/types/BillingCreditGrantReason.d.ts +1 -4
- package/dist/api/types/BillingCreditGrantResponseData.d.ts +4 -4
- package/dist/api/types/BillingCreditGrantZeroedOutReason.d.ts +1 -4
- package/dist/api/types/BillingCreditLedgerResponseData.d.ts +0 -3
- package/dist/api/types/BillingCreditResponseData.d.ts +1 -4
- package/dist/api/types/BillingCreditRolloverPolicy.d.ts +1 -4
- package/dist/api/types/BillingCustomerResponseData.d.ts +2 -4
- package/dist/api/types/BillingCustomerSubscription.d.ts +0 -3
- package/dist/api/types/BillingCustomerWithSubscriptionsResponseData.d.ts +2 -5
- package/dist/api/types/BillingMeterResponseData.d.ts +2 -3
- package/dist/api/types/BillingPlanCreditGrantResetCadence.d.ts +1 -4
- package/dist/api/types/BillingPlanCreditGrantResetStart.d.ts +1 -4
- package/dist/api/types/BillingPlanCreditGrantResetType.d.ts +1 -4
- package/dist/api/types/BillingPlanCreditGrantResponseData.d.ts +1 -4
- package/dist/api/types/BillingPriceResponseData.d.ts +2 -4
- package/dist/api/types/BillingPriceScheme.d.ts +1 -4
- package/dist/api/types/BillingPriceUsageType.d.ts +1 -4
- package/dist/api/types/BillingPriceView.d.ts +2 -4
- package/dist/api/types/BillingProductDetailResponseData.d.ts +2 -4
- package/dist/api/types/BillingProductForSubscriptionResponseData.d.ts +2 -4
- package/dist/api/types/BillingProductPlanResponseData.d.ts +1 -4
- package/dist/api/types/BillingProductPriceInterval.d.ts +1 -4
- package/dist/api/types/BillingProductPriceResponseData.d.ts +2 -4
- package/dist/api/types/BillingProductPriceTierResponseData.d.ts +0 -3
- package/dist/api/types/BillingProductPricing.d.ts +1 -4
- package/dist/api/types/BillingProductResponseData.d.ts +2 -3
- package/dist/api/types/BillingProviderType.d.ts +5 -0
- package/dist/api/types/BillingSubscriptionDiscount.d.ts +0 -3
- package/dist/api/types/BillingSubscriptionDiscountView.d.ts +0 -3
- package/dist/api/types/BillingSubscriptionResponseData.d.ts +2 -4
- package/dist/api/types/BillingSubscriptionTrialEndSetting.d.ts +1 -4
- package/dist/api/types/BillingSubscriptionView.d.ts +2 -4
- package/dist/api/types/BillingTiersMode.d.ts +1 -4
- package/dist/api/types/ChangeSubscriptionInternalRequestBody.d.ts +1 -4
- package/dist/api/types/ChangeSubscriptionRequestBody.d.ts +1 -4
- package/dist/api/types/ChargeType.d.ts +1 -4
- package/dist/api/types/CheckFlagRequestBody.d.ts +0 -3
- package/dist/api/types/CheckFlagResponseData.d.ts +0 -3
- package/dist/api/types/CheckFlagsBulkResponseData.d.ts +1 -4
- package/dist/api/types/CheckFlagsResponseData.d.ts +1 -4
- package/dist/api/types/CheckoutDataResponseData.d.ts +1 -4
- package/dist/api/types/CheckoutSettingsResponseData.d.ts +0 -3
- package/dist/api/types/CheckoutSubscription.d.ts +2 -4
- package/dist/api/types/CompanyDetailResponseData.d.ts +1 -4
- package/dist/api/types/CompanyEventPeriodMetricsResponseData.d.ts +0 -3
- package/dist/api/types/CompanyLedgerResponseData.d.ts +0 -3
- package/dist/api/types/CompanyMembershipDetailResponseData.d.ts +1 -4
- package/dist/api/types/CompanyMembershipResponseData.d.ts +0 -3
- package/dist/api/types/CompanyOverrideNoteResponseData.d.ts +0 -3
- package/dist/api/types/CompanyOverrideResponseData.d.ts +1 -4
- package/dist/api/types/CompanyPlanDetailResponseData.d.ts +2 -4
- package/dist/api/types/CompanyPlanInvalidReason.d.ts +1 -4
- package/dist/api/types/CompanyPlanWithBillingSubView.d.ts +2 -4
- package/dist/api/types/CompanyResponseData.d.ts +0 -3
- package/dist/api/types/CompanySubscriptionResponseData.d.ts +1 -4
- package/dist/api/types/CompanyViewWithFeatureUsageResponseData.d.ts +1 -4
- package/dist/api/types/CompatiblePlans.d.ts +0 -3
- package/dist/api/types/CompatiblePlansResponseData.d.ts +0 -3
- package/dist/api/types/ComponentCapabilities.d.ts +0 -3
- package/dist/api/types/ComponentCheckoutSettings.d.ts +0 -3
- package/dist/api/types/ComponentDisplaySettings.d.ts +0 -3
- package/dist/api/types/ComponentEntityType.d.ts +1 -4
- package/dist/api/types/ComponentHydrateResponseData.d.ts +1 -4
- package/dist/api/types/ComponentPreviewResponseData.d.ts +1 -4
- package/dist/api/types/ComponentResponseData.d.ts +1 -4
- package/dist/api/types/ComponentSettingsResponseData.d.ts +0 -3
- package/dist/api/types/ComponentState.d.ts +1 -4
- package/dist/api/types/Condition.d.ts +1 -4
- package/dist/api/types/ConditionConditionType.d.ts +1 -4
- package/dist/api/types/ConditionGroup.d.ts +1 -4
- package/dist/api/types/ConditionMetricPeriod.d.ts +1 -4
- package/dist/api/types/ConditionMetricPeriodMonthReset.d.ts +1 -4
- package/dist/api/types/ConditionOperator.d.ts +1 -4
- package/dist/api/types/CountResponse.d.ts +0 -3
- package/dist/api/types/CouponRequestBody.d.ts +0 -3
- package/dist/api/{resources/credits/client/requests → types}/CreateBillingPlanCreditGrantRequestBody.d.ts +1 -14
- package/dist/api/types/CreateBillingPriceTierRequestBody.d.ts +2 -3
- package/dist/api/types/CreateEntitlementInBundleRequestBody.d.ts +29 -0
- package/dist/api/types/CreateEntitlementInBundleRequestBodyMetricPeriod.d.ts +7 -0
- package/dist/api/types/CreateEntitlementInBundleRequestBodyMetricPeriodMonthReset.d.ts +5 -0
- package/dist/api/types/CreateEntitlementReqCommon.d.ts +1 -4
- package/dist/api/types/CreateEntitlementReqCommonMetricPeriod.d.ts +1 -4
- package/dist/api/types/CreateEntitlementReqCommonMetricPeriodMonthReset.d.ts +1 -4
- package/dist/api/types/CreateEventRequestBody.d.ts +1 -4
- package/dist/api/types/CreateFlagRequestBody.d.ts +1 -4
- package/dist/api/types/CreateOrUpdateConditionGroupRequestBody.d.ts +1 -4
- package/dist/api/types/CreateOrUpdateConditionRequestBody.d.ts +1 -4
- package/dist/api/types/CreateOrUpdateConditionRequestBodyConditionType.d.ts +1 -5
- package/dist/api/types/CreateOrUpdateConditionRequestBodyMetricPeriod.d.ts +2 -7
- package/dist/api/types/CreateOrUpdateConditionRequestBodyMetricPeriodMonthReset.d.ts +2 -7
- package/dist/api/types/CreateOrUpdateConditionRequestBodyOperator.d.ts +1 -4
- package/dist/api/types/CreateOrUpdateFlagRequestBody.d.ts +1 -4
- package/dist/api/types/CreateOrUpdateRuleRequestBody.d.ts +1 -4
- package/dist/api/types/CreateOrUpdateRuleRequestBodyRuleType.d.ts +1 -4
- package/dist/api/types/CreatePlanRequestBody.d.ts +7 -0
- package/dist/api/types/CreatePriceTierRequestBody.d.ts +0 -3
- package/dist/api/types/CreditAutoTopupAmountType.d.ts +0 -3
- package/dist/api/types/CreditBundlePurchaseResponseData.d.ts +1 -4
- package/dist/api/types/CreditCompanyGrantView.d.ts +5 -4
- package/dist/api/types/CreditGrantDetail.d.ts +1 -4
- package/dist/api/types/CreditGrantExpiryRequestBody.d.ts +1 -4
- package/dist/api/types/CreditGrantSortOrder.d.ts +1 -4
- package/dist/api/types/CreditLedgerEnrichedEntryResponseData.d.ts +1 -4
- package/dist/api/types/CreditLedgerPeriod.d.ts +1 -4
- package/dist/api/types/CreditTransferResponseData.d.ts +8 -0
- package/dist/api/types/CreditTransferView.d.ts +8 -0
- package/dist/api/types/CreditTriggerConfig.d.ts +0 -3
- package/dist/api/types/CreditUsage.d.ts +2 -4
- package/dist/api/types/CreditUsageAggregation.d.ts +10 -0
- package/dist/api/types/CreditUsageResponseData.d.ts +2 -4
- package/dist/api/types/CustomPlanConfig.d.ts +0 -3
- package/dist/api/types/CustomPlanViewConfigResponseData.d.ts +0 -3
- package/dist/api/types/DataExportOutputFileType.d.ts +0 -3
- package/dist/api/types/DataExportResponseData.d.ts +1 -4
- package/dist/api/types/DataExportStatus.d.ts +1 -4
- package/dist/api/types/DataExportType.d.ts +0 -3
- package/dist/api/types/DeleteBillingPlanCreditGrantRequestBody.d.ts +3 -0
- package/dist/api/types/DeleteResponse.d.ts +0 -3
- package/dist/api/types/DuplicatePlanEntitlementsResponseResponseData.d.ts +1 -4
- package/dist/api/types/EntitlementPriceBehavior.d.ts +1 -4
- package/dist/api/types/EntitlementTriggerConfig.d.ts +0 -3
- package/dist/api/types/EntitlementType.d.ts +1 -4
- package/dist/api/types/EntitlementValueType.d.ts +1 -4
- package/dist/api/types/EntitlementsInPlan.d.ts +0 -3
- package/dist/api/types/EntityKeyDefinitionResponseData.d.ts +1 -4
- package/dist/api/types/EntityKeyDetailResponseData.d.ts +1 -4
- package/dist/api/types/EntityKeyResponseData.d.ts +1 -4
- package/dist/api/types/EntityTraitDefinitionResponseData.d.ts +1 -4
- package/dist/api/types/EntityTraitDetailResponseData.d.ts +1 -4
- package/dist/api/types/EntityTraitResponseData.d.ts +0 -3
- package/dist/api/types/EntityTraitValue.d.ts +0 -3
- package/dist/api/types/EntityType.d.ts +1 -4
- package/dist/api/types/EnvironmentDetailResponseData.d.ts +1 -4
- package/dist/api/types/EnvironmentResponseData.d.ts +1 -4
- package/dist/api/types/EnvironmentType.d.ts +1 -4
- package/dist/api/types/EventBody.d.ts +1 -4
- package/dist/api/types/EventBodyFlagCheck.d.ts +0 -3
- package/dist/api/types/EventBodyIdentify.d.ts +1 -4
- package/dist/api/types/EventBodyIdentifyCompany.d.ts +0 -3
- package/dist/api/types/EventBodyTrack.d.ts +0 -3
- package/dist/api/types/EventDetailResponseData.d.ts +2 -5
- package/dist/api/types/EventResponseData.d.ts +2 -5
- package/dist/api/types/EventStatus.d.ts +1 -4
- package/dist/api/types/EventSummaryResponseData.d.ts +0 -3
- package/dist/api/types/EventType.d.ts +1 -4
- package/dist/api/types/FeatureCompanyResponseData.d.ts +5 -6
- package/dist/api/types/FeatureCompanyUserResponseData.d.ts +1 -4
- package/dist/api/types/FeatureDetailResponseData.d.ts +1 -4
- package/dist/api/types/FeatureLedgerResponseData.d.ts +0 -3
- package/dist/api/types/FeatureLifecyclePhase.d.ts +1 -4
- package/dist/api/types/FeatureResponseData.d.ts +1 -4
- package/dist/api/types/FeatureType.d.ts +1 -4
- package/dist/api/types/FeatureUsageDataResponseData.d.ts +1 -4
- package/dist/api/types/FeatureUsageDetailResponseData.d.ts +1 -4
- package/dist/api/types/FeatureUsageResponseData.d.ts +5 -6
- package/dist/api/types/FlagDetailResponseData.d.ts +1 -4
- package/dist/api/types/FlagResponseData.d.ts +1 -4
- package/dist/api/types/FlagType.d.ts +0 -3
- package/dist/api/types/GenericPreviewObject.d.ts +0 -3
- package/dist/api/types/InvoiceRequestBody.d.ts +0 -3
- package/dist/api/types/InvoiceResponseData.d.ts +2 -3
- package/dist/api/types/IssueTemporaryAccessTokenResponseData.d.ts +1 -4
- package/dist/api/types/KeysRequestBody.d.ts +0 -3
- package/dist/api/types/ManagePlanPreviewResponseResponseData.d.ts +1 -4
- package/dist/api/types/ManagePlanRequest.d.ts +1 -4
- package/dist/api/types/ManagePlanResponseResponseData.d.ts +1 -4
- package/dist/api/types/MeterRequestBody.d.ts +0 -3
- package/dist/api/types/OrderedPlansInGroup.d.ts +1 -4
- package/dist/api/types/PaymentMethodRequestBody.d.ts +0 -3
- package/dist/api/types/PaymentMethodResponseData.d.ts +2 -3
- package/dist/api/types/PlanBundleAction.d.ts +6 -0
- package/dist/api/types/PlanBundleCreditGrantRequestBody.d.ts +8 -0
- package/dist/api/types/PlanBundleEntitlementRequestBody.d.ts +6 -0
- package/dist/api/types/PlanBundleResponseData.d.ts +8 -0
- package/dist/api/types/PlanChangeAction.d.ts +1 -4
- package/dist/api/types/PlanChangeActorType.d.ts +1 -4
- package/dist/api/types/PlanChangeBasePlanAction.d.ts +1 -4
- package/dist/api/types/PlanChangeResponseData.d.ts +1 -4
- package/dist/api/types/PlanChangeSubscriptionAction.d.ts +2 -4
- package/dist/api/types/PlanControlledByType.d.ts +1 -4
- package/dist/api/types/PlanCreditGrantView.d.ts +1 -4
- package/dist/api/types/PlanDetailResponseData.d.ts +2 -4
- package/dist/api/types/PlanEntitlementResponseData.d.ts +1 -4
- package/dist/api/types/PlanEntitlementsOrder.d.ts +0 -3
- package/dist/api/types/PlanGroupBundleOrder.d.ts +0 -3
- package/dist/api/types/PlanGroupDetailResponseData.d.ts +1 -4
- package/dist/api/types/PlanGroupPlanDetailResponseData.d.ts +2 -4
- package/dist/api/types/PlanGroupPlanEntitlementsOrder.d.ts +1 -4
- package/dist/api/types/PlanGroupResponseData.d.ts +1 -4
- package/dist/api/types/PlanIssueResponseData.d.ts +0 -3
- package/dist/api/types/PlanResponseData.d.ts +1 -4
- package/dist/api/types/PlanSelection.d.ts +0 -3
- package/dist/api/types/PlanSnapshotView.d.ts +0 -3
- package/dist/api/types/PlanTraitResponseData.d.ts +0 -3
- package/dist/api/types/PlanType.d.ts +1 -4
- package/dist/api/types/PlanVersionResponseData.d.ts +14 -0
- package/dist/api/types/PlanVersionStatus.d.ts +6 -0
- package/dist/api/types/PreviewObject.d.ts +0 -3
- package/dist/api/types/PreviewObjectResponseData.d.ts +0 -3
- package/dist/api/types/PreviewSubscriptionChangeResponseData.d.ts +1 -4
- package/dist/api/types/PreviewSubscriptionFinanceResponseData.d.ts +1 -4
- package/dist/api/types/PreviewSubscriptionUpcomingInvoiceLineItems.d.ts +0 -3
- package/dist/api/types/ProrationBehavior.d.ts +1 -4
- package/dist/api/types/QuickstartResp.d.ts +0 -3
- package/dist/api/types/RawEventBatchResponseData.d.ts +1 -4
- package/dist/api/types/RawEventResponseData.d.ts +1 -4
- package/dist/api/types/Rule.d.ts +1 -4
- package/dist/api/types/RuleConditionDetailResponseData.d.ts +1 -4
- package/dist/api/types/RuleConditionGroupDetailResponseData.d.ts +1 -4
- package/dist/api/types/RuleConditionGroupResponseData.d.ts +0 -3
- package/dist/api/types/RuleConditionResponseData.d.ts +1 -4
- package/dist/api/types/RuleDetailResponseData.d.ts +1 -4
- package/dist/api/types/RuleResponseData.d.ts +0 -3
- package/dist/api/types/RuleRuleType.d.ts +1 -4
- package/dist/api/types/RulesDetailResponseData.d.ts +1 -4
- package/dist/api/types/RulesEngineSchemaVersion.d.ts +2 -7
- package/dist/api/types/RulesengineCheckFlagResult.d.ts +1 -4
- package/dist/api/types/RulesengineCheckFlagResultFeatureUsagePeriod.d.ts +1 -4
- package/dist/api/types/RulesengineCheckFlagResultRuleType.d.ts +1 -4
- package/dist/api/types/RulesengineCompany.d.ts +1 -4
- package/dist/api/types/RulesengineCompanyMetric.d.ts +1 -4
- package/dist/api/types/RulesengineCompanyMetricMonthReset.d.ts +1 -4
- package/dist/api/types/RulesengineCompanyMetricPeriod.d.ts +1 -4
- package/dist/api/types/RulesengineCondition.d.ts +1 -4
- package/dist/api/types/RulesengineConditionConditionType.d.ts +1 -4
- package/dist/api/types/RulesengineConditionGroup.d.ts +1 -4
- package/dist/api/types/RulesengineConditionMetricPeriod.d.ts +1 -4
- package/dist/api/types/RulesengineConditionMetricPeriodMonthReset.d.ts +1 -4
- package/dist/api/types/RulesengineConditionOperator.d.ts +1 -4
- package/dist/api/types/RulesengineEntityType.d.ts +1 -4
- package/dist/api/types/RulesengineFlag.d.ts +1 -4
- package/dist/api/types/RulesengineRule.d.ts +1 -4
- package/dist/api/types/RulesengineRuleRuleType.d.ts +1 -4
- package/dist/api/types/RulesengineSubscription.d.ts +0 -3
- package/dist/api/types/RulesengineTrait.d.ts +1 -4
- package/dist/api/types/RulesengineTraitDefinition.d.ts +1 -4
- package/dist/api/types/RulesengineTraitDefinitionComparableType.d.ts +1 -4
- package/dist/api/types/RulesengineUser.d.ts +1 -4
- package/dist/api/types/SegmentStatusResp.d.ts +0 -3
- package/dist/api/types/SkippedEntitlementErrorResponseData.d.ts +0 -3
- package/dist/api/types/SkippedEntitlementResponseData.d.ts +1 -4
- package/dist/api/types/SortDirection.d.ts +1 -4
- package/dist/api/types/StripeEmbedInfo.d.ts +0 -3
- package/dist/api/types/SubscriptionStatus.d.ts +1 -4
- package/dist/api/types/SubscriptionTraitUpdate.d.ts +1 -4
- package/dist/api/types/SubscriptionType.d.ts +1 -4
- package/dist/api/types/TemporaryAccessTokenResourceType.d.ts +0 -3
- package/dist/api/types/TemporaryAccessTokenResponseData.d.ts +1 -4
- package/dist/api/types/TraitDefinition.d.ts +1 -4
- package/dist/api/types/TraitDefinitionComparableType.d.ts +1 -4
- package/dist/api/types/TraitType.d.ts +1 -4
- package/dist/api/types/UpdateAddOnRequestBody.d.ts +0 -3
- package/dist/api/{resources/credits/client/requests → types}/UpdateBillingPlanCreditGrantRequestBody.d.ts +1 -11
- package/dist/api/types/UpdateCreditBundleRequestBody.d.ts +0 -3
- package/dist/api/types/UpdateEntitlementReqCommon.d.ts +1 -4
- package/dist/api/types/UpdateEntitlementReqCommonMetricPeriod.d.ts +1 -4
- package/dist/api/types/UpdateEntitlementReqCommonMetricPeriodMonthReset.d.ts +1 -4
- package/dist/api/types/UpdatePayInAdvanceRequestBody.d.ts +0 -3
- package/dist/api/types/UpdatePlanRequestBody.d.ts +5 -0
- package/dist/api/types/UpdatePlanTraitTraitRequestBody.d.ts +0 -3
- package/dist/api/types/UpdateRuleRequestBody.d.ts +1 -4
- package/dist/api/{resources/plans/client/requests → types}/UpsertBillingProductRequestBody.d.ts +1 -11
- package/dist/api/types/UpsertCompanyRequestBody.d.ts +0 -3
- package/dist/api/types/UpsertTraitRequestBody.d.ts +0 -3
- package/dist/api/types/UpsertUserRequestBody.d.ts +0 -3
- package/dist/api/types/UpsertUserSubRequestBody.d.ts +0 -3
- package/dist/api/types/UsageBasedEntitlementRequestBody.d.ts +1 -4
- package/dist/api/types/UsageBasedEntitlementResponseData.d.ts +1 -4
- package/dist/api/types/UserDetailResponseData.d.ts +1 -4
- package/dist/api/types/UserResponseData.d.ts +0 -3
- package/dist/api/types/WebhookEventDetailResponseData.d.ts +1 -4
- package/dist/api/types/WebhookEventResponseData.d.ts +1 -4
- package/dist/api/types/WebhookEventStatus.d.ts +1 -4
- package/dist/api/types/WebhookRequestType.d.ts +3 -4
- package/dist/api/types/WebhookResponseData.d.ts +1 -4
- package/dist/api/types/WebhookStatus.d.ts +1 -4
- package/dist/api/types/index.d.ts +39 -26
- package/dist/auth/HeaderAuthProvider.d.ts +16 -0
- package/dist/auth/index.d.ts +1 -0
- package/dist/cache.d.ts +1 -1
- package/dist/core/auth/AuthProvider.d.ts +7 -0
- package/dist/core/auth/AuthRequest.d.ts +9 -0
- package/dist/core/auth/BasicAuth.d.ts +8 -0
- package/dist/core/auth/BearerToken.d.ts +7 -0
- package/dist/core/auth/NoOpAuthProvider.d.ts +5 -0
- package/dist/core/auth/index.d.ts +5 -0
- package/dist/core/base64.d.ts +2 -0
- package/dist/core/exports.d.ts +1 -0
- package/dist/core/fetcher/APIResponse.d.ts +1 -1
- package/dist/core/fetcher/BinaryResponse.d.ts +19 -0
- package/dist/core/fetcher/EndpointMetadata.d.ts +13 -0
- package/dist/core/fetcher/EndpointSupplier.d.ts +12 -0
- package/dist/core/fetcher/Fetcher.d.ts +16 -6
- package/dist/core/fetcher/HttpResponsePromise.d.ts +1 -1
- package/dist/core/fetcher/createRequestUrl.d.ts +1 -1
- package/dist/core/fetcher/getErrorResponseBody.d.ts +1 -0
- package/dist/core/fetcher/getRequestBody.d.ts +1 -1
- package/dist/core/fetcher/index.d.ts +7 -4
- package/dist/core/fetcher/makeRequest.d.ts +1 -1
- package/dist/core/fetcher/signals.d.ts +1 -7
- package/dist/core/fetcher/stream-wrappers/Node18UniversalStreamWrapper.d.ts +1 -1
- package/dist/core/fetcher/stream-wrappers/NodePre18StreamWrapper.d.ts +1 -1
- package/dist/core/fetcher/stream-wrappers/UndiciStreamWrapper.d.ts +1 -1
- package/dist/core/headers.d.ts +2 -0
- package/dist/core/index.d.ts +4 -0
- package/dist/core/logging/exports.d.ts +18 -0
- package/dist/core/logging/index.d.ts +1 -0
- package/dist/core/logging/logger.d.ts +126 -0
- package/dist/core/schemas/Schema.d.ts +2 -1
- package/dist/core/schemas/builders/bigint/bigint.d.ts +1 -1
- package/dist/core/schemas/builders/date/date.d.ts +1 -1
- package/dist/core/schemas/builders/enum/enum.d.ts +1 -1
- package/dist/core/schemas/builders/index.d.ts +14 -14
- package/dist/core/schemas/builders/lazy/index.d.ts +1 -1
- package/dist/core/schemas/builders/lazy/lazy.d.ts +1 -1
- package/dist/core/schemas/builders/lazy/lazyObject.d.ts +2 -2
- package/dist/core/schemas/builders/list/list.d.ts +1 -1
- package/dist/core/schemas/builders/literals/booleanLiteral.d.ts +1 -1
- package/dist/core/schemas/builders/literals/index.d.ts +1 -1
- package/dist/core/schemas/builders/literals/stringLiteral.d.ts +1 -1
- package/dist/core/schemas/builders/object/index.d.ts +2 -2
- package/dist/core/schemas/builders/object/object.d.ts +1 -1
- package/dist/core/schemas/builders/object/objectWithoutOptionalProperties.d.ts +1 -1
- package/dist/core/schemas/builders/object/property.d.ts +1 -1
- package/dist/core/schemas/builders/object/types.d.ts +5 -5
- package/dist/core/schemas/builders/object-like/getObjectLikeUtils.d.ts +2 -2
- package/dist/core/schemas/builders/object-like/types.d.ts +1 -1
- package/dist/core/schemas/builders/primitives/any.d.ts +2 -1
- package/dist/core/schemas/builders/primitives/boolean.d.ts +2 -1
- package/dist/core/schemas/builders/primitives/index.d.ts +1 -0
- package/dist/core/schemas/builders/primitives/never.d.ts +2 -0
- package/dist/core/schemas/builders/primitives/number.d.ts +2 -1
- package/dist/core/schemas/builders/primitives/string.d.ts +2 -1
- package/dist/core/schemas/builders/primitives/unknown.d.ts +2 -1
- package/dist/core/schemas/builders/record/record.d.ts +2 -2
- package/dist/core/schemas/builders/record/types.d.ts +2 -2
- package/dist/core/schemas/builders/schema-utils/JsonError.d.ts +1 -1
- package/dist/core/schemas/builders/schema-utils/ParseError.d.ts +1 -1
- package/dist/core/schemas/builders/schema-utils/getSchemaUtils.d.ts +1 -1
- package/dist/core/schemas/builders/schema-utils/index.d.ts +1 -1
- package/dist/core/schemas/builders/schema-utils/stringifyValidationErrors.d.ts +1 -1
- package/dist/core/schemas/builders/set/set.d.ts +1 -1
- package/dist/core/schemas/builders/undiscriminated-union/types.d.ts +1 -1
- package/dist/core/schemas/builders/undiscriminated-union/undiscriminatedUnion.d.ts +2 -2
- package/dist/core/schemas/builders/union/index.d.ts +1 -1
- package/dist/core/schemas/builders/union/types.d.ts +2 -2
- package/dist/core/schemas/builders/union/union.d.ts +3 -3
- package/dist/core/schemas/index.d.ts +1 -1
- package/dist/core/schemas/utils/createIdentitySchemaCreator.d.ts +1 -1
- package/dist/core/schemas/utils/maybeSkipValidation.d.ts +1 -1
- package/dist/core/url/encodePathParam.d.ts +1 -0
- package/dist/core/url/index.d.ts +3 -0
- package/dist/core/url/join.d.ts +1 -0
- package/dist/core/url/qs.d.ts +6 -0
- package/dist/environments.d.ts +0 -3
- package/dist/errors/SchematicError.d.ts +1 -4
- package/dist/errors/SchematicTimeoutError.d.ts +0 -3
- package/dist/errors/handleNonStatusCodeError.d.ts +2 -0
- package/dist/events.d.ts +2 -2
- package/dist/exports.d.ts +1 -0
- package/dist/index.js +3 -3
- package/dist/serialization/resources/accesstokens/client/requests/IssueTemporaryAccessTokenRequestBody.d.ts +2 -6
- package/dist/serialization/resources/accesstokens/index.d.ts +1 -1
- package/dist/serialization/resources/accesstokens/types/IssueTemporaryAccessTokenResponse.d.ts +2 -5
- package/dist/serialization/resources/accounts/client/requests/CreateApiKeyRequestBody.d.ts +2 -5
- package/dist/serialization/resources/accounts/client/requests/CreateEnvironmentRequestBody.d.ts +2 -5
- package/dist/serialization/resources/accounts/client/requests/UpdateApiKeyRequestBody.d.ts +2 -5
- package/dist/serialization/resources/accounts/client/requests/UpdateEnvironmentRequestBody.d.ts +2 -5
- package/dist/serialization/resources/accounts/client/requests/index.d.ts +1 -1
- package/dist/serialization/resources/accounts/index.d.ts +1 -1
- package/dist/serialization/resources/accounts/types/CountApiKeysParams.d.ts +2 -5
- package/dist/serialization/resources/accounts/types/CountApiKeysResponse.d.ts +2 -5
- package/dist/serialization/resources/accounts/types/CountApiRequestsParams.d.ts +2 -5
- package/dist/serialization/resources/accounts/types/CountApiRequestsResponse.d.ts +2 -5
- package/dist/serialization/resources/accounts/types/CreateApiKeyResponse.d.ts +2 -5
- package/dist/serialization/resources/accounts/types/CreateEnvironmentResponse.d.ts +2 -5
- package/dist/serialization/resources/accounts/types/DeleteApiKeyResponse.d.ts +2 -5
- package/dist/serialization/resources/accounts/types/DeleteEnvironmentResponse.d.ts +2 -5
- package/dist/serialization/resources/accounts/types/GetApiKeyResponse.d.ts +2 -5
- package/dist/serialization/resources/accounts/types/GetApiRequestResponse.d.ts +2 -5
- package/dist/serialization/resources/accounts/types/GetEnvironmentResponse.d.ts +2 -5
- package/dist/serialization/resources/accounts/types/ListApiKeysParams.d.ts +2 -5
- package/dist/serialization/resources/accounts/types/ListApiKeysResponse.d.ts +2 -5
- package/dist/serialization/resources/accounts/types/ListApiRequestsParams.d.ts +2 -5
- package/dist/serialization/resources/accounts/types/ListApiRequestsResponse.d.ts +2 -5
- package/dist/serialization/resources/accounts/types/ListEnvironmentsParams.d.ts +2 -5
- package/dist/serialization/resources/accounts/types/ListEnvironmentsResponse.d.ts +2 -5
- package/dist/serialization/resources/accounts/types/QuickstartResponse.d.ts +2 -5
- package/dist/serialization/resources/accounts/types/UpdateApiKeyResponse.d.ts +2 -5
- package/dist/serialization/resources/accounts/types/UpdateEnvironmentResponse.d.ts +2 -5
- package/dist/serialization/resources/accounts/types/index.d.ts +13 -13
- package/dist/serialization/resources/billing/client/requests/CreateBillingCustomerRequestBody.d.ts +4 -6
- package/dist/serialization/resources/billing/client/requests/CreateBillingPriceRequestBody.d.ts +6 -7
- package/dist/serialization/resources/billing/client/requests/CreateBillingProductRequestBody.d.ts +4 -5
- package/dist/serialization/resources/billing/client/requests/CreateBillingSubscriptionRequestBody.d.ts +3 -6
- package/dist/serialization/resources/billing/client/requests/CreateCouponRequestBody.d.ts +2 -5
- package/dist/serialization/resources/billing/client/requests/CreateInvoiceRequestBody.d.ts +2 -5
- package/dist/serialization/resources/billing/client/requests/CreateMeterRequestBody.d.ts +2 -5
- package/dist/serialization/resources/billing/client/requests/CreatePaymentMethodRequestBody.d.ts +2 -5
- package/dist/serialization/resources/billing/client/requests/index.d.ts +4 -4
- package/dist/serialization/resources/billing/index.d.ts +1 -1
- package/dist/serialization/resources/billing/types/CountBillingProductsParams.d.ts +4 -5
- package/dist/serialization/resources/billing/types/CountBillingProductsResponse.d.ts +2 -5
- package/dist/serialization/resources/billing/types/CountCustomersParams.d.ts +4 -6
- package/dist/serialization/resources/billing/types/CountCustomersResponse.d.ts +2 -5
- package/dist/serialization/resources/billing/types/DeleteBillingProductResponse.d.ts +2 -5
- package/dist/serialization/resources/billing/types/DeleteProductPriceResponse.d.ts +2 -5
- package/dist/serialization/resources/billing/types/ListBillingPricesParams.d.ts +5 -6
- package/dist/serialization/resources/billing/types/ListBillingPricesResponse.d.ts +2 -5
- package/dist/serialization/resources/billing/types/ListBillingProductPricesParams.d.ts +5 -6
- package/dist/serialization/resources/billing/types/ListBillingProductPricesResponse.d.ts +2 -5
- package/dist/serialization/resources/billing/types/ListBillingProductsParams.d.ts +4 -5
- package/dist/serialization/resources/billing/types/ListBillingProductsResponse.d.ts +2 -5
- package/dist/serialization/resources/billing/types/ListCouponsParams.d.ts +2 -5
- package/dist/serialization/resources/billing/types/ListCouponsResponse.d.ts +2 -5
- package/dist/serialization/resources/billing/types/ListCustomersWithSubscriptionsParams.d.ts +4 -6
- package/dist/serialization/resources/billing/types/ListCustomersWithSubscriptionsResponse.d.ts +2 -5
- package/dist/serialization/resources/billing/types/ListInvoicesParams.d.ts +2 -5
- package/dist/serialization/resources/billing/types/ListInvoicesResponse.d.ts +2 -5
- package/dist/serialization/resources/billing/types/ListMetersParams.d.ts +2 -5
- package/dist/serialization/resources/billing/types/ListMetersResponse.d.ts +2 -5
- package/dist/serialization/resources/billing/types/ListPaymentMethodsParams.d.ts +2 -5
- package/dist/serialization/resources/billing/types/ListPaymentMethodsResponse.d.ts +2 -5
- package/dist/serialization/resources/billing/types/UpsertBillingCouponResponse.d.ts +2 -5
- package/dist/serialization/resources/billing/types/UpsertBillingCustomerResponse.d.ts +2 -5
- package/dist/serialization/resources/billing/types/UpsertBillingMeterResponse.d.ts +2 -5
- package/dist/serialization/resources/billing/types/UpsertBillingPriceResponse.d.ts +2 -5
- package/dist/serialization/resources/billing/types/UpsertBillingProductResponse.d.ts +2 -5
- package/dist/serialization/resources/billing/types/UpsertBillingSubscriptionResponse.d.ts +2 -5
- package/dist/serialization/resources/billing/types/UpsertInvoiceResponse.d.ts +2 -5
- package/dist/serialization/resources/billing/types/UpsertPaymentMethodResponse.d.ts +2 -5
- package/dist/serialization/resources/billing/types/index.d.ts +17 -17
- package/dist/serialization/resources/checkout/client/requests/CancelSubscriptionRequest.d.ts +2 -5
- package/dist/serialization/resources/checkout/client/requests/CheckoutDataRequestBody.d.ts +2 -5
- package/dist/serialization/resources/checkout/client/requests/UpdateTrialEndRequestBody.d.ts +2 -5
- package/dist/serialization/resources/checkout/client/requests/index.d.ts +1 -1
- package/dist/serialization/resources/checkout/index.d.ts +1 -1
- package/dist/serialization/resources/checkout/types/CancelSubscriptionResponse.d.ts +2 -5
- package/dist/serialization/resources/checkout/types/CheckoutInternalResponse.d.ts +2 -5
- package/dist/serialization/resources/checkout/types/GetCheckoutDataResponse.d.ts +2 -5
- package/dist/serialization/resources/checkout/types/ManagePlanResponse.d.ts +2 -5
- package/dist/serialization/resources/checkout/types/PreviewCheckoutInternalResponse.d.ts +2 -5
- package/dist/serialization/resources/checkout/types/PreviewManagePlanResponse.d.ts +2 -5
- package/dist/serialization/resources/checkout/types/UpdateCustomerSubscriptionTrialEndResponse.d.ts +2 -5
- package/dist/serialization/resources/checkout/types/index.d.ts +2 -2
- package/dist/serialization/resources/companies/client/requests/CreateEntityTraitDefinitionRequestBody.d.ts +2 -5
- package/dist/serialization/resources/companies/client/requests/CreatePlanTraitRequestBody.d.ts +2 -5
- package/dist/serialization/resources/companies/client/requests/GetOrCreateCompanyMembershipRequestBody.d.ts +2 -5
- package/dist/serialization/resources/companies/client/requests/UpdateEntityTraitDefinitionRequestBody.d.ts +2 -5
- package/dist/serialization/resources/companies/client/requests/UpdatePlanTraitBulkRequestBody.d.ts +2 -5
- package/dist/serialization/resources/companies/client/requests/UpdatePlanTraitRequestBody.d.ts +2 -5
- package/dist/serialization/resources/companies/client/requests/index.d.ts +3 -3
- package/dist/serialization/resources/companies/index.d.ts +1 -1
- package/dist/serialization/resources/companies/types/CountCompaniesForAdvancedFilterParams.d.ts +2 -5
- package/dist/serialization/resources/companies/types/CountCompaniesForAdvancedFilterResponse.d.ts +2 -5
- package/dist/serialization/resources/companies/types/CountCompaniesParams.d.ts +2 -5
- package/dist/serialization/resources/companies/types/CountCompaniesResponse.d.ts +2 -5
- package/dist/serialization/resources/companies/types/CountEntityKeyDefinitionsParams.d.ts +2 -5
- package/dist/serialization/resources/companies/types/CountEntityKeyDefinitionsResponse.d.ts +2 -5
- package/dist/serialization/resources/companies/types/CountEntityTraitDefinitionsParams.d.ts +2 -5
- package/dist/serialization/resources/companies/types/CountEntityTraitDefinitionsResponse.d.ts +2 -5
- package/dist/serialization/resources/companies/types/CountPlanTraitsParams.d.ts +2 -5
- package/dist/serialization/resources/companies/types/CountPlanTraitsResponse.d.ts +2 -5
- package/dist/serialization/resources/companies/types/CountUsersParams.d.ts +2 -5
- package/dist/serialization/resources/companies/types/CountUsersResponse.d.ts +2 -5
- package/dist/serialization/resources/companies/types/CreateCompanyResponse.d.ts +2 -5
- package/dist/serialization/resources/companies/types/CreatePlanTraitResponse.d.ts +2 -5
- package/dist/serialization/resources/companies/types/CreateUserResponse.d.ts +2 -5
- package/dist/serialization/resources/companies/types/DeleteCompanyByKeysResponse.d.ts +2 -5
- package/dist/serialization/resources/companies/types/DeleteCompanyMembershipResponse.d.ts +2 -5
- package/dist/serialization/resources/companies/types/DeleteCompanyParams.d.ts +2 -5
- package/dist/serialization/resources/companies/types/DeleteCompanyResponse.d.ts +2 -5
- package/dist/serialization/resources/companies/types/DeletePlanTraitResponse.d.ts +2 -5
- package/dist/serialization/resources/companies/types/DeleteUserByKeysResponse.d.ts +2 -5
- package/dist/serialization/resources/companies/types/DeleteUserResponse.d.ts +2 -5
- package/dist/serialization/resources/companies/types/GetActiveCompanySubscriptionParams.d.ts +2 -5
- package/dist/serialization/resources/companies/types/GetActiveCompanySubscriptionResponse.d.ts +2 -5
- package/dist/serialization/resources/companies/types/GetCompanyResponse.d.ts +2 -5
- package/dist/serialization/resources/companies/types/GetEntityTraitDefinitionResponse.d.ts +2 -5
- package/dist/serialization/resources/companies/types/GetEntityTraitValuesParams.d.ts +2 -5
- package/dist/serialization/resources/companies/types/GetEntityTraitValuesResponse.d.ts +2 -5
- package/dist/serialization/resources/companies/types/GetOrCreateCompanyMembershipResponse.d.ts +2 -5
- package/dist/serialization/resources/companies/types/GetOrCreateEntityTraitDefinitionResponse.d.ts +2 -5
- package/dist/serialization/resources/companies/types/GetPlanChangeResponse.d.ts +2 -5
- package/dist/serialization/resources/companies/types/GetPlanTraitResponse.d.ts +2 -5
- package/dist/serialization/resources/companies/types/GetUserResponse.d.ts +2 -5
- package/dist/serialization/resources/companies/types/ListCompaniesForAdvancedFilterParams.d.ts +2 -5
- package/dist/serialization/resources/companies/types/ListCompaniesForAdvancedFilterResponse.d.ts +2 -5
- package/dist/serialization/resources/companies/types/ListCompaniesParams.d.ts +2 -5
- package/dist/serialization/resources/companies/types/ListCompaniesResponse.d.ts +2 -5
- package/dist/serialization/resources/companies/types/ListCompanyMembershipsParams.d.ts +2 -5
- package/dist/serialization/resources/companies/types/ListCompanyMembershipsResponse.d.ts +2 -5
- package/dist/serialization/resources/companies/types/ListEntityKeyDefinitionsParams.d.ts +2 -5
- package/dist/serialization/resources/companies/types/ListEntityKeyDefinitionsResponse.d.ts +2 -5
- package/dist/serialization/resources/companies/types/ListEntityTraitDefinitionsParams.d.ts +2 -5
- package/dist/serialization/resources/companies/types/ListEntityTraitDefinitionsResponse.d.ts +2 -5
- package/dist/serialization/resources/companies/types/ListPlanChangesParams.d.ts +2 -5
- package/dist/serialization/resources/companies/types/ListPlanChangesResponse.d.ts +2 -5
- package/dist/serialization/resources/companies/types/ListPlanTraitsParams.d.ts +2 -5
- package/dist/serialization/resources/companies/types/ListPlanTraitsResponse.d.ts +2 -5
- package/dist/serialization/resources/companies/types/ListUsersParams.d.ts +2 -5
- package/dist/serialization/resources/companies/types/ListUsersResponse.d.ts +2 -5
- package/dist/serialization/resources/companies/types/LookupCompanyParams.d.ts +2 -5
- package/dist/serialization/resources/companies/types/LookupCompanyResponse.d.ts +2 -5
- package/dist/serialization/resources/companies/types/LookupUserParams.d.ts +2 -5
- package/dist/serialization/resources/companies/types/LookupUserResponse.d.ts +2 -5
- package/dist/serialization/resources/companies/types/UpdateEntityTraitDefinitionResponse.d.ts +2 -5
- package/dist/serialization/resources/companies/types/UpdatePlanTraitResponse.d.ts +2 -5
- package/dist/serialization/resources/companies/types/UpdatePlanTraitsBulkResponse.d.ts +2 -5
- package/dist/serialization/resources/companies/types/UpsertCompanyResponse.d.ts +2 -5
- package/dist/serialization/resources/companies/types/UpsertCompanyTraitResponse.d.ts +2 -5
- package/dist/serialization/resources/companies/types/UpsertUserResponse.d.ts +2 -5
- package/dist/serialization/resources/companies/types/UpsertUserTraitResponse.d.ts +2 -5
- package/dist/serialization/resources/companies/types/index.d.ts +40 -42
- package/dist/serialization/resources/components/client/requests/CreateComponentRequestBody.d.ts +2 -5
- package/dist/serialization/resources/components/client/requests/UpdateComponentRequestBody.d.ts +2 -5
- package/dist/serialization/resources/components/index.d.ts +1 -1
- package/dist/serialization/resources/components/types/CountComponentsParams.d.ts +2 -5
- package/dist/serialization/resources/components/types/CountComponentsResponse.d.ts +2 -5
- package/dist/serialization/resources/components/types/CreateComponentResponse.d.ts +2 -5
- package/dist/serialization/resources/components/types/DeleteComponentResponse.d.ts +2 -5
- package/dist/serialization/resources/components/types/GetComponentResponse.d.ts +2 -5
- package/dist/serialization/resources/components/types/ListComponentsParams.d.ts +2 -5
- package/dist/serialization/resources/components/types/ListComponentsResponse.d.ts +2 -5
- package/dist/serialization/resources/components/types/PreviewComponentDataParams.d.ts +2 -5
- package/dist/serialization/resources/components/types/PreviewComponentDataResponse.d.ts +2 -5
- package/dist/serialization/resources/components/types/UpdateComponentResponse.d.ts +2 -5
- package/dist/serialization/resources/components/types/index.d.ts +6 -6
- package/dist/serialization/resources/credits/client/requests/CreateBillingCreditRequestBody.d.ts +2 -5
- package/dist/serialization/resources/credits/client/requests/CreateCompanyCreditGrant.d.ts +2 -5
- package/dist/serialization/resources/credits/client/requests/CreateCreditBundleRequestBody.d.ts +3 -6
- package/dist/serialization/resources/credits/client/requests/UpdateBillingCreditRequestBody.d.ts +2 -5
- package/dist/serialization/resources/credits/client/requests/UpdateCreditBundleDetailsRequestBody.d.ts +3 -6
- package/dist/serialization/resources/credits/client/requests/ZeroOutGrantRequestBody.d.ts +2 -5
- package/dist/serialization/resources/credits/client/requests/index.d.ts +2 -4
- package/dist/serialization/resources/credits/index.d.ts +1 -1
- package/dist/serialization/resources/credits/types/CountBillingCreditsGrantsParams.d.ts +2 -5
- package/dist/serialization/resources/credits/types/CountBillingCreditsGrantsResponse.d.ts +2 -5
- package/dist/serialization/resources/credits/types/CountBillingCreditsParams.d.ts +2 -5
- package/dist/serialization/resources/credits/types/CountBillingCreditsResponse.d.ts +2 -5
- package/dist/serialization/resources/credits/types/CountBillingPlanCreditGrantsParams.d.ts +2 -5
- package/dist/serialization/resources/credits/types/CountBillingPlanCreditGrantsResponse.d.ts +2 -5
- package/dist/serialization/resources/credits/types/CountCompanyGrantsParams.d.ts +15 -0
- package/dist/serialization/resources/credits/types/CountCompanyGrantsResponse.d.ts +12 -0
- package/dist/serialization/resources/credits/types/CountCreditBundlesParams.d.ts +3 -6
- package/dist/serialization/resources/credits/types/CountCreditBundlesResponse.d.ts +2 -5
- package/dist/serialization/resources/credits/types/CountCreditLedgerParams.d.ts +2 -5
- package/dist/serialization/resources/credits/types/CountCreditLedgerResponse.d.ts +2 -5
- package/dist/serialization/resources/credits/types/CreateBillingCreditResponse.d.ts +2 -5
- package/dist/serialization/resources/credits/types/CreateBillingPlanCreditGrantResponse.d.ts +2 -5
- package/dist/serialization/resources/credits/types/CreateCreditBundleResponse.d.ts +2 -5
- package/dist/serialization/resources/credits/types/DeleteBillingPlanCreditGrantParams.d.ts +2 -5
- package/dist/serialization/resources/credits/types/DeleteBillingPlanCreditGrantResponse.d.ts +2 -5
- package/dist/serialization/resources/credits/types/DeleteCreditBundleResponse.d.ts +2 -5
- package/dist/serialization/resources/credits/types/GetCreditBundleResponse.d.ts +2 -5
- package/dist/serialization/resources/credits/types/GetEnrichedCreditLedgerParams.d.ts +2 -5
- package/dist/serialization/resources/credits/types/GetEnrichedCreditLedgerResponse.d.ts +2 -5
- package/dist/serialization/resources/credits/types/GetSingleBillingCreditResponse.d.ts +2 -5
- package/dist/serialization/resources/credits/types/GrantBillingCreditsToCompanyResponse.d.ts +2 -5
- package/dist/serialization/resources/credits/types/ListBillingCreditsParams.d.ts +2 -5
- package/dist/serialization/resources/credits/types/ListBillingCreditsResponse.d.ts +2 -5
- package/dist/serialization/resources/credits/types/ListBillingPlanCreditGrantsParams.d.ts +2 -5
- package/dist/serialization/resources/credits/types/ListBillingPlanCreditGrantsResponse.d.ts +2 -5
- package/dist/serialization/resources/credits/types/ListCompanyGrantsParams.d.ts +3 -6
- package/dist/serialization/resources/credits/types/ListCompanyGrantsResponse.d.ts +2 -5
- package/dist/serialization/resources/credits/types/ListCreditBundlesParams.d.ts +3 -6
- package/dist/serialization/resources/credits/types/ListCreditBundlesResponse.d.ts +2 -5
- package/dist/serialization/resources/credits/types/ListGrantsForCreditParams.d.ts +2 -5
- package/dist/serialization/resources/credits/types/ListGrantsForCreditResponse.d.ts +2 -5
- package/dist/serialization/resources/credits/types/SoftDeleteBillingCreditResponse.d.ts +2 -5
- package/dist/serialization/resources/credits/types/UpdateBillingCreditResponse.d.ts +2 -5
- package/dist/serialization/resources/credits/types/UpdateBillingPlanCreditGrantResponse.d.ts +2 -5
- package/dist/serialization/resources/credits/types/UpdateCreditBundleDetailsResponse.d.ts +2 -5
- package/dist/serialization/resources/credits/types/ZeroOutGrantResponse.d.ts +2 -5
- package/dist/serialization/resources/credits/types/index.d.ts +29 -27
- package/dist/serialization/resources/dataexports/client/requests/CreateDataExportRequestBody.d.ts +2 -5
- package/dist/serialization/resources/dataexports/index.d.ts +1 -1
- package/dist/serialization/resources/dataexports/types/CreateDataExportResponse.d.ts +2 -5
- package/dist/serialization/resources/entitlements/client/requests/CreateCompanyOverrideRequestBody.d.ts +3 -6
- package/dist/serialization/resources/entitlements/client/requests/CreatePlanEntitlementRequestBody.d.ts +5 -8
- package/dist/serialization/resources/entitlements/client/requests/DuplicatePlanEntitlementsRequestBody.d.ts +2 -5
- package/dist/serialization/resources/entitlements/client/requests/UpdateCompanyOverrideRequestBody.d.ts +3 -6
- package/dist/serialization/resources/entitlements/client/requests/UpdatePlanEntitlementRequestBody.d.ts +5 -8
- package/dist/serialization/resources/entitlements/client/requests/index.d.ts +2 -2
- package/dist/serialization/resources/entitlements/index.d.ts +1 -1
- package/dist/serialization/resources/entitlements/types/CountCompanyOverridesParams.d.ts +2 -5
- package/dist/serialization/resources/entitlements/types/CountCompanyOverridesResponse.d.ts +2 -5
- package/dist/serialization/resources/entitlements/types/CountFeatureCompaniesParams.d.ts +2 -5
- package/dist/serialization/resources/entitlements/types/CountFeatureCompaniesResponse.d.ts +2 -5
- package/dist/serialization/resources/entitlements/types/CountFeatureUsageParams.d.ts +3 -5
- package/dist/serialization/resources/entitlements/types/CountFeatureUsageResponse.d.ts +2 -5
- package/dist/serialization/resources/entitlements/types/CountFeatureUsersParams.d.ts +2 -5
- package/dist/serialization/resources/entitlements/types/CountFeatureUsersResponse.d.ts +2 -5
- package/dist/serialization/resources/entitlements/types/CountPlanEntitlementsParams.d.ts +2 -5
- package/dist/serialization/resources/entitlements/types/CountPlanEntitlementsResponse.d.ts +2 -5
- package/dist/serialization/resources/entitlements/types/CreateCompanyOverrideRequestBodyMetricPeriod.d.ts +2 -5
- package/dist/serialization/resources/entitlements/types/CreateCompanyOverrideRequestBodyMetricPeriodMonthReset.d.ts +2 -5
- package/dist/serialization/resources/entitlements/types/CreateCompanyOverrideResponse.d.ts +2 -5
- package/dist/serialization/resources/entitlements/types/CreatePlanEntitlementRequestBodyMetricPeriod.d.ts +2 -5
- package/dist/serialization/resources/entitlements/types/CreatePlanEntitlementRequestBodyMetricPeriodMonthReset.d.ts +2 -5
- package/dist/serialization/resources/entitlements/types/CreatePlanEntitlementResponse.d.ts +2 -5
- package/dist/serialization/resources/entitlements/types/DeleteCompanyOverrideResponse.d.ts +2 -5
- package/dist/serialization/resources/entitlements/types/DeletePlanEntitlementResponse.d.ts +2 -5
- package/dist/serialization/resources/entitlements/types/DuplicatePlanEntitlementsResponse.d.ts +2 -5
- package/dist/serialization/resources/entitlements/types/GetCompanyOverrideResponse.d.ts +2 -5
- package/dist/serialization/resources/entitlements/types/GetFeatureUsageByCompanyParams.d.ts +2 -5
- package/dist/serialization/resources/entitlements/types/GetFeatureUsageByCompanyResponse.d.ts +2 -5
- package/dist/serialization/resources/entitlements/types/GetPlanEntitlementResponse.d.ts +2 -5
- package/dist/serialization/resources/entitlements/types/ListCompanyOverridesParams.d.ts +2 -5
- package/dist/serialization/resources/entitlements/types/ListCompanyOverridesResponse.d.ts +2 -5
- package/dist/serialization/resources/entitlements/types/ListFeatureCompaniesParams.d.ts +2 -5
- package/dist/serialization/resources/entitlements/types/ListFeatureCompaniesResponse.d.ts +2 -5
- package/dist/serialization/resources/entitlements/types/ListFeatureUsageParams.d.ts +3 -5
- package/dist/serialization/resources/entitlements/types/ListFeatureUsageResponse.d.ts +2 -5
- package/dist/serialization/resources/entitlements/types/ListFeatureUsersParams.d.ts +2 -5
- package/dist/serialization/resources/entitlements/types/ListFeatureUsersResponse.d.ts +2 -5
- package/dist/serialization/resources/entitlements/types/ListPlanEntitlementsParams.d.ts +2 -5
- package/dist/serialization/resources/entitlements/types/ListPlanEntitlementsResponse.d.ts +2 -5
- package/dist/serialization/resources/entitlements/types/UpdateCompanyOverrideRequestBodyMetricPeriod.d.ts +2 -5
- package/dist/serialization/resources/entitlements/types/UpdateCompanyOverrideRequestBodyMetricPeriodMonthReset.d.ts +2 -5
- package/dist/serialization/resources/entitlements/types/UpdateCompanyOverrideResponse.d.ts +2 -5
- package/dist/serialization/resources/entitlements/types/UpdatePlanEntitlementRequestBodyMetricPeriod.d.ts +2 -5
- package/dist/serialization/resources/entitlements/types/UpdatePlanEntitlementRequestBodyMetricPeriodMonthReset.d.ts +2 -5
- package/dist/serialization/resources/entitlements/types/UpdatePlanEntitlementResponse.d.ts +2 -5
- package/dist/serialization/resources/entitlements/types/index.d.ts +24 -24
- package/dist/serialization/resources/events/client/requests/CreateEventBatchRequestBody.d.ts +2 -5
- package/dist/serialization/resources/events/index.d.ts +1 -1
- package/dist/serialization/resources/events/types/CreateEventBatchResponse.d.ts +2 -5
- package/dist/serialization/resources/events/types/CreateEventResponse.d.ts +2 -5
- package/dist/serialization/resources/events/types/GetEventResponse.d.ts +2 -5
- package/dist/serialization/resources/events/types/GetEventSummariesParams.d.ts +2 -5
- package/dist/serialization/resources/events/types/GetEventSummariesResponse.d.ts +2 -5
- package/dist/serialization/resources/events/types/GetSegmentIntegrationStatusResponse.d.ts +2 -5
- package/dist/serialization/resources/events/types/ListEventsParams.d.ts +2 -5
- package/dist/serialization/resources/events/types/ListEventsResponse.d.ts +2 -5
- package/dist/serialization/resources/events/types/index.d.ts +3 -3
- package/dist/serialization/resources/features/client/requests/CheckFlagsBulkRequestBody.d.ts +2 -5
- package/dist/serialization/resources/features/client/requests/CreateFeatureRequestBody.d.ts +3 -6
- package/dist/serialization/resources/features/client/requests/UpdateFeatureRequestBody.d.ts +3 -6
- package/dist/serialization/resources/features/client/requests/UpdateFlagRulesRequestBody.d.ts +2 -5
- package/dist/serialization/resources/features/client/requests/index.d.ts +1 -1
- package/dist/serialization/resources/features/index.d.ts +1 -1
- package/dist/serialization/resources/features/types/CheckFlagResponse.d.ts +2 -5
- package/dist/serialization/resources/features/types/CheckFlagsBulkResponse.d.ts +2 -5
- package/dist/serialization/resources/features/types/CheckFlagsResponse.d.ts +2 -5
- package/dist/serialization/resources/features/types/CountFeaturesParams.d.ts +2 -5
- package/dist/serialization/resources/features/types/CountFeaturesResponse.d.ts +2 -5
- package/dist/serialization/resources/features/types/CountFlagsParams.d.ts +2 -5
- package/dist/serialization/resources/features/types/CountFlagsResponse.d.ts +2 -5
- package/dist/serialization/resources/features/types/CreateFeatureResponse.d.ts +2 -5
- package/dist/serialization/resources/features/types/CreateFlagResponse.d.ts +2 -5
- package/dist/serialization/resources/features/types/DeleteFeatureResponse.d.ts +2 -5
- package/dist/serialization/resources/features/types/DeleteFlagResponse.d.ts +2 -5
- package/dist/serialization/resources/features/types/GetFeatureResponse.d.ts +2 -5
- package/dist/serialization/resources/features/types/GetFlagResponse.d.ts +2 -5
- package/dist/serialization/resources/features/types/ListFeaturesParams.d.ts +2 -5
- package/dist/serialization/resources/features/types/ListFeaturesResponse.d.ts +2 -5
- package/dist/serialization/resources/features/types/ListFlagsParams.d.ts +2 -5
- package/dist/serialization/resources/features/types/ListFlagsResponse.d.ts +2 -5
- package/dist/serialization/resources/features/types/UpdateFeatureResponse.d.ts +2 -5
- package/dist/serialization/resources/features/types/UpdateFlagResponse.d.ts +2 -5
- package/dist/serialization/resources/features/types/UpdateFlagRulesResponse.d.ts +2 -5
- package/dist/serialization/resources/features/types/index.d.ts +14 -14
- package/dist/serialization/resources/index.d.ts +25 -25
- package/dist/serialization/resources/planbundle/client/requests/CreatePlanBundleRequestBody.d.ts +18 -0
- package/dist/serialization/resources/planbundle/client/requests/UpdatePlanBundleRequestBody.d.ts +18 -0
- package/dist/serialization/resources/planbundle/client/requests/index.d.ts +2 -0
- package/dist/serialization/resources/planbundle/types/CreatePlanBundleResponse.d.ts +11 -0
- package/dist/serialization/resources/planbundle/types/UpdatePlanBundleResponse.d.ts +11 -0
- package/dist/serialization/resources/planbundle/types/index.d.ts +2 -0
- package/dist/serialization/resources/plangroups/client/requests/CreatePlanGroupRequestBody.d.ts +2 -5
- package/dist/serialization/resources/plangroups/client/requests/UpdatePlanGroupRequestBody.d.ts +2 -5
- package/dist/serialization/resources/plangroups/index.d.ts +1 -1
- package/dist/serialization/resources/plangroups/types/CreatePlanGroupResponse.d.ts +2 -5
- package/dist/serialization/resources/plangroups/types/GetPlanGroupResponse.d.ts +2 -5
- package/dist/serialization/resources/plangroups/types/UpdatePlanGroupResponse.d.ts +2 -5
- package/dist/serialization/resources/plangroups/types/index.d.ts +1 -1
- package/dist/serialization/resources/plans/client/requests/UpdateCompanyPlansRequestBody.d.ts +2 -5
- package/dist/serialization/resources/plans/client/requests/index.d.ts +0 -3
- package/dist/serialization/resources/plans/index.d.ts +1 -1
- package/dist/serialization/resources/plans/types/CountPlansParams.d.ts +2 -5
- package/dist/serialization/resources/plans/types/CountPlansResponse.d.ts +2 -5
- package/dist/serialization/resources/plans/types/CreatePlanResponse.d.ts +2 -5
- package/dist/serialization/resources/plans/types/DeletePlanResponse.d.ts +2 -5
- package/dist/serialization/resources/plans/types/GetPlanResponse.d.ts +2 -5
- package/dist/serialization/resources/plans/types/ListPlanIssuesParams.d.ts +2 -5
- package/dist/serialization/resources/plans/types/ListPlanIssuesResponse.d.ts +2 -5
- package/dist/serialization/resources/plans/types/ListPlansParams.d.ts +2 -5
- package/dist/serialization/resources/plans/types/ListPlansResponse.d.ts +2 -5
- package/dist/serialization/resources/plans/types/UpdateCompanyPlansResponse.d.ts +2 -5
- package/dist/serialization/resources/plans/types/UpdatePlanResponse.d.ts +2 -5
- package/dist/serialization/resources/plans/types/UpsertBillingProductPlanResponse.d.ts +2 -5
- package/dist/serialization/resources/plans/types/index.d.ts +8 -8
- package/dist/serialization/resources/webhooks/client/requests/CreateWebhookRequestBody.d.ts +2 -5
- package/dist/serialization/resources/webhooks/client/requests/UpdateWebhookRequestBody.d.ts +2 -5
- package/dist/serialization/resources/webhooks/index.d.ts +1 -1
- package/dist/serialization/resources/webhooks/types/CountWebhookEventsParams.d.ts +2 -5
- package/dist/serialization/resources/webhooks/types/CountWebhookEventsResponse.d.ts +2 -5
- package/dist/serialization/resources/webhooks/types/CountWebhooksParams.d.ts +2 -5
- package/dist/serialization/resources/webhooks/types/CountWebhooksResponse.d.ts +2 -5
- package/dist/serialization/resources/webhooks/types/CreateWebhookResponse.d.ts +2 -5
- package/dist/serialization/resources/webhooks/types/DeleteWebhookResponse.d.ts +2 -5
- package/dist/serialization/resources/webhooks/types/GetWebhookEventResponse.d.ts +2 -5
- package/dist/serialization/resources/webhooks/types/GetWebhookResponse.d.ts +2 -5
- package/dist/serialization/resources/webhooks/types/ListWebhookEventsParams.d.ts +2 -5
- package/dist/serialization/resources/webhooks/types/ListWebhookEventsResponse.d.ts +2 -5
- package/dist/serialization/resources/webhooks/types/ListWebhooksParams.d.ts +2 -5
- package/dist/serialization/resources/webhooks/types/ListWebhooksResponse.d.ts +2 -5
- package/dist/serialization/resources/webhooks/types/UpdateWebhookResponse.d.ts +2 -5
- package/dist/serialization/resources/webhooks/types/index.d.ts +8 -8
- package/dist/serialization/types/ApiError.d.ts +2 -5
- package/dist/serialization/types/ApiKeyCreateResponseData.d.ts +2 -5
- package/dist/serialization/types/ApiKeyRequestListResponseData.d.ts +2 -5
- package/dist/serialization/types/ApiKeyRequestResponseData.d.ts +2 -5
- package/dist/serialization/types/ApiKeyResponseData.d.ts +2 -5
- package/dist/serialization/types/ApiKeyScope.d.ts +2 -5
- package/dist/serialization/types/BillingCouponResponseData.d.ts +4 -5
- package/dist/serialization/types/BillingCreditBundleResponseData.d.ts +3 -6
- package/dist/serialization/types/BillingCreditBundleStatus.d.ts +2 -5
- package/dist/serialization/types/BillingCreditBundleType.d.ts +2 -5
- package/dist/serialization/types/BillingCreditBundleView.d.ts +3 -6
- package/dist/serialization/types/BillingCreditBurnStrategy.d.ts +2 -5
- package/dist/serialization/types/BillingCreditExpiryType.d.ts +2 -5
- package/dist/serialization/types/BillingCreditExpiryUnit.d.ts +2 -5
- package/dist/serialization/types/BillingCreditGrantReason.d.ts +2 -5
- package/dist/serialization/types/BillingCreditGrantResponseData.d.ts +8 -6
- package/dist/serialization/types/BillingCreditGrantZeroedOutReason.d.ts +2 -5
- package/dist/serialization/types/BillingCreditLedgerResponseData.d.ts +2 -5
- package/dist/serialization/types/BillingCreditResponseData.d.ts +2 -5
- package/dist/serialization/types/BillingCreditRolloverPolicy.d.ts +2 -5
- package/dist/serialization/types/BillingCustomerResponseData.d.ts +4 -6
- package/dist/serialization/types/BillingCustomerSubscription.d.ts +2 -5
- package/dist/serialization/types/BillingCustomerWithSubscriptionsResponseData.d.ts +4 -6
- package/dist/serialization/types/BillingMeterResponseData.d.ts +4 -5
- package/dist/serialization/types/BillingPlanCreditGrantResetCadence.d.ts +2 -5
- package/dist/serialization/types/BillingPlanCreditGrantResetStart.d.ts +2 -5
- package/dist/serialization/types/BillingPlanCreditGrantResetType.d.ts +2 -5
- package/dist/serialization/types/BillingPlanCreditGrantResponseData.d.ts +2 -5
- package/dist/serialization/types/BillingPriceResponseData.d.ts +5 -6
- package/dist/serialization/types/BillingPriceScheme.d.ts +2 -5
- package/dist/serialization/types/BillingPriceUsageType.d.ts +2 -5
- package/dist/serialization/types/BillingPriceView.d.ts +5 -6
- package/dist/serialization/types/BillingProductDetailResponseData.d.ts +4 -5
- package/dist/serialization/types/BillingProductForSubscriptionResponseData.d.ts +5 -6
- package/dist/serialization/types/BillingProductPlanResponseData.d.ts +2 -5
- package/dist/serialization/types/BillingProductPriceInterval.d.ts +2 -5
- package/dist/serialization/types/BillingProductPriceResponseData.d.ts +5 -6
- package/dist/serialization/types/BillingProductPriceTierResponseData.d.ts +2 -5
- package/dist/serialization/types/BillingProductPricing.d.ts +2 -5
- package/dist/serialization/types/BillingProductResponseData.d.ts +4 -5
- package/dist/serialization/types/BillingProviderType.d.ts +7 -0
- package/dist/serialization/types/BillingSubscriptionDiscount.d.ts +2 -5
- package/dist/serialization/types/BillingSubscriptionDiscountView.d.ts +2 -5
- package/dist/serialization/types/BillingSubscriptionResponseData.d.ts +4 -5
- package/dist/serialization/types/BillingSubscriptionTrialEndSetting.d.ts +2 -5
- package/dist/serialization/types/BillingSubscriptionView.d.ts +6 -7
- package/dist/serialization/types/BillingTiersMode.d.ts +2 -5
- package/dist/serialization/types/ChangeSubscriptionInternalRequestBody.d.ts +2 -5
- package/dist/serialization/types/ChangeSubscriptionRequestBody.d.ts +2 -5
- package/dist/serialization/types/ChargeType.d.ts +2 -5
- package/dist/serialization/types/CheckFlagRequestBody.d.ts +2 -5
- package/dist/serialization/types/CheckFlagResponseData.d.ts +2 -5
- package/dist/serialization/types/CheckFlagsBulkResponseData.d.ts +2 -5
- package/dist/serialization/types/CheckFlagsResponseData.d.ts +2 -5
- package/dist/serialization/types/CheckoutDataResponseData.d.ts +6 -9
- package/dist/serialization/types/CheckoutSettingsResponseData.d.ts +2 -5
- package/dist/serialization/types/CheckoutSubscription.d.ts +4 -5
- package/dist/serialization/types/CompanyDetailResponseData.d.ts +6 -9
- package/dist/serialization/types/CompanyEventPeriodMetricsResponseData.d.ts +2 -5
- package/dist/serialization/types/CompanyLedgerResponseData.d.ts +2 -5
- package/dist/serialization/types/CompanyMembershipDetailResponseData.d.ts +2 -5
- package/dist/serialization/types/CompanyMembershipResponseData.d.ts +2 -5
- package/dist/serialization/types/CompanyOverrideNoteResponseData.d.ts +2 -5
- package/dist/serialization/types/CompanyOverrideResponseData.d.ts +4 -7
- package/dist/serialization/types/CompanyPlanDetailResponseData.d.ts +9 -10
- package/dist/serialization/types/CompanyPlanInvalidReason.d.ts +2 -5
- package/dist/serialization/types/CompanyPlanWithBillingSubView.d.ts +3 -5
- package/dist/serialization/types/CompanyResponseData.d.ts +2 -5
- package/dist/serialization/types/CompanySubscriptionResponseData.d.ts +3 -6
- package/dist/serialization/types/CompanyViewWithFeatureUsageResponseData.d.ts +6 -9
- package/dist/serialization/types/CompatiblePlans.d.ts +2 -5
- package/dist/serialization/types/CompatiblePlansResponseData.d.ts +2 -5
- package/dist/serialization/types/ComponentCapabilities.d.ts +2 -5
- package/dist/serialization/types/ComponentCheckoutSettings.d.ts +2 -5
- package/dist/serialization/types/ComponentDisplaySettings.d.ts +2 -5
- package/dist/serialization/types/ComponentEntityType.d.ts +2 -5
- package/dist/serialization/types/ComponentHydrateResponseData.d.ts +9 -12
- package/dist/serialization/types/ComponentPreviewResponseData.d.ts +8 -11
- package/dist/serialization/types/ComponentResponseData.d.ts +3 -6
- package/dist/serialization/types/ComponentSettingsResponseData.d.ts +2 -5
- package/dist/serialization/types/ComponentState.d.ts +2 -5
- package/dist/serialization/types/Condition.d.ts +3 -6
- package/dist/serialization/types/ConditionConditionType.d.ts +2 -5
- package/dist/serialization/types/ConditionGroup.d.ts +2 -5
- package/dist/serialization/types/ConditionMetricPeriod.d.ts +2 -5
- package/dist/serialization/types/ConditionMetricPeriodMonthReset.d.ts +2 -5
- package/dist/serialization/types/ConditionOperator.d.ts +2 -5
- package/dist/serialization/types/CountResponse.d.ts +2 -5
- package/dist/serialization/types/CouponRequestBody.d.ts +2 -5
- package/dist/serialization/{resources/credits/client/requests → types}/CreateBillingPlanCreditGrantRequestBody.d.ts +10 -13
- package/dist/serialization/types/CreateBillingPriceTierRequestBody.d.ts +4 -5
- package/dist/serialization/types/CreateEntitlementInBundleRequestBody.d.ts +39 -0
- package/dist/serialization/types/CreateEntitlementInBundleRequestBodyMetricPeriod.d.ts +7 -0
- package/dist/serialization/types/CreateEntitlementInBundleRequestBodyMetricPeriodMonthReset.d.ts +7 -0
- package/dist/serialization/types/CreateEntitlementReqCommon.d.ts +2 -5
- package/dist/serialization/types/CreateEntitlementReqCommonMetricPeriod.d.ts +2 -5
- package/dist/serialization/types/CreateEntitlementReqCommonMetricPeriodMonthReset.d.ts +2 -5
- package/dist/serialization/types/CreateEventRequestBody.d.ts +2 -5
- package/dist/serialization/types/CreateFlagRequestBody.d.ts +2 -5
- package/dist/serialization/types/CreateOrUpdateConditionGroupRequestBody.d.ts +2 -5
- package/dist/serialization/types/CreateOrUpdateConditionRequestBody.d.ts +2 -5
- package/dist/serialization/types/CreateOrUpdateConditionRequestBodyConditionType.d.ts +3 -6
- package/dist/serialization/types/CreateOrUpdateConditionRequestBodyMetricPeriod.d.ts +2 -5
- package/dist/serialization/types/CreateOrUpdateConditionRequestBodyMetricPeriodMonthReset.d.ts +2 -5
- package/dist/serialization/types/CreateOrUpdateConditionRequestBodyOperator.d.ts +2 -5
- package/dist/serialization/types/CreateOrUpdateFlagRequestBody.d.ts +2 -5
- package/dist/serialization/types/CreateOrUpdateRuleRequestBody.d.ts +2 -5
- package/dist/serialization/types/CreateOrUpdateRuleRequestBodyRuleType.d.ts +2 -5
- package/dist/serialization/types/CreatePlanRequestBody.d.ts +13 -0
- package/dist/serialization/types/CreatePriceTierRequestBody.d.ts +2 -5
- package/dist/serialization/types/CreditAutoTopupAmountType.d.ts +2 -5
- package/dist/serialization/types/CreditBundlePurchaseResponseData.d.ts +2 -5
- package/dist/serialization/types/CreditCompanyGrantView.d.ts +9 -6
- package/dist/serialization/types/CreditGrantDetail.d.ts +2 -5
- package/dist/serialization/types/CreditGrantExpiryRequestBody.d.ts +2 -5
- package/dist/serialization/types/CreditGrantSortOrder.d.ts +2 -5
- package/dist/serialization/types/CreditLedgerEnrichedEntryResponseData.d.ts +3 -6
- package/dist/serialization/types/CreditLedgerPeriod.d.ts +2 -5
- package/dist/serialization/types/CreditTransferResponseData.d.ts +14 -0
- package/dist/serialization/types/CreditTransferView.d.ts +14 -0
- package/dist/serialization/types/CreditTriggerConfig.d.ts +2 -5
- package/dist/serialization/types/CreditUsage.d.ts +4 -5
- package/dist/serialization/types/CreditUsageAggregation.d.ts +12 -0
- package/dist/serialization/types/CreditUsageResponseData.d.ts +2 -5
- package/dist/serialization/types/CustomPlanConfig.d.ts +2 -5
- package/dist/serialization/types/CustomPlanViewConfigResponseData.d.ts +2 -5
- package/dist/serialization/types/DataExportOutputFileType.d.ts +2 -5
- package/dist/serialization/types/DataExportResponseData.d.ts +3 -6
- package/dist/serialization/types/DataExportStatus.d.ts +2 -5
- package/dist/serialization/types/DataExportType.d.ts +2 -5
- package/dist/serialization/types/DeleteBillingPlanCreditGrantRequestBody.d.ts +9 -0
- package/dist/serialization/types/DeleteResponse.d.ts +2 -5
- package/dist/serialization/types/DuplicatePlanEntitlementsResponseResponseData.d.ts +2 -5
- package/dist/serialization/types/EntitlementPriceBehavior.d.ts +2 -5
- package/dist/serialization/types/EntitlementTriggerConfig.d.ts +2 -5
- package/dist/serialization/types/EntitlementType.d.ts +2 -5
- package/dist/serialization/types/EntitlementValueType.d.ts +2 -5
- package/dist/serialization/types/EntitlementsInPlan.d.ts +2 -5
- package/dist/serialization/types/EntityKeyDefinitionResponseData.d.ts +2 -5
- package/dist/serialization/types/EntityKeyDetailResponseData.d.ts +2 -5
- package/dist/serialization/types/EntityKeyResponseData.d.ts +2 -5
- package/dist/serialization/types/EntityTraitDefinitionResponseData.d.ts +2 -5
- package/dist/serialization/types/EntityTraitDetailResponseData.d.ts +2 -5
- package/dist/serialization/types/EntityTraitResponseData.d.ts +2 -5
- package/dist/serialization/types/EntityTraitValue.d.ts +2 -5
- package/dist/serialization/types/EntityType.d.ts +2 -5
- package/dist/serialization/types/EnvironmentDetailResponseData.d.ts +2 -5
- package/dist/serialization/types/EnvironmentResponseData.d.ts +2 -5
- package/dist/serialization/types/EnvironmentType.d.ts +2 -5
- package/dist/serialization/types/EventBody.d.ts +3 -6
- package/dist/serialization/types/EventBodyFlagCheck.d.ts +2 -5
- package/dist/serialization/types/EventBodyIdentify.d.ts +2 -5
- package/dist/serialization/types/EventBodyIdentifyCompany.d.ts +2 -5
- package/dist/serialization/types/EventBodyTrack.d.ts +2 -5
- package/dist/serialization/types/EventDetailResponseData.d.ts +4 -7
- package/dist/serialization/types/EventResponseData.d.ts +3 -6
- package/dist/serialization/types/EventStatus.d.ts +2 -5
- package/dist/serialization/types/EventSummaryResponseData.d.ts +2 -5
- package/dist/serialization/types/EventType.d.ts +2 -5
- package/dist/serialization/types/FeatureCompanyResponseData.d.ts +9 -10
- package/dist/serialization/types/FeatureCompanyUserResponseData.d.ts +3 -6
- package/dist/serialization/types/FeatureDetailResponseData.d.ts +4 -7
- package/dist/serialization/types/FeatureLedgerResponseData.d.ts +2 -5
- package/dist/serialization/types/FeatureLifecyclePhase.d.ts +2 -5
- package/dist/serialization/types/FeatureResponseData.d.ts +3 -6
- package/dist/serialization/types/FeatureType.d.ts +2 -5
- package/dist/serialization/types/FeatureUsageDataResponseData.d.ts +3 -6
- package/dist/serialization/types/FeatureUsageDetailResponseData.d.ts +2 -5
- package/dist/serialization/types/FeatureUsageResponseData.d.ts +9 -10
- package/dist/serialization/types/FlagDetailResponseData.d.ts +2 -5
- package/dist/serialization/types/FlagResponseData.d.ts +2 -5
- package/dist/serialization/types/FlagType.d.ts +2 -5
- package/dist/serialization/types/GenericPreviewObject.d.ts +2 -5
- package/dist/serialization/types/InvoiceRequestBody.d.ts +2 -5
- package/dist/serialization/types/InvoiceResponseData.d.ts +4 -5
- package/dist/serialization/types/IssueTemporaryAccessTokenResponseData.d.ts +2 -5
- package/dist/serialization/types/KeysRequestBody.d.ts +2 -5
- package/dist/serialization/types/ManagePlanPreviewResponseResponseData.d.ts +2 -5
- package/dist/serialization/types/ManagePlanRequest.d.ts +2 -5
- package/dist/serialization/types/ManagePlanResponseResponseData.d.ts +2 -5
- package/dist/serialization/types/MeterRequestBody.d.ts +2 -5
- package/dist/serialization/types/OrderedPlansInGroup.d.ts +2 -5
- package/dist/serialization/types/PaymentMethodRequestBody.d.ts +2 -5
- package/dist/serialization/types/PaymentMethodResponseData.d.ts +4 -5
- package/dist/serialization/types/PlanBundleAction.d.ts +7 -0
- package/dist/serialization/types/PlanBundleCreditGrantRequestBody.d.ts +17 -0
- package/dist/serialization/types/PlanBundleEntitlementRequestBody.d.ts +13 -0
- package/dist/serialization/types/PlanBundleResponseData.d.ts +18 -0
- package/dist/serialization/types/PlanChangeAction.d.ts +2 -5
- package/dist/serialization/types/PlanChangeActorType.d.ts +2 -5
- package/dist/serialization/types/PlanChangeBasePlanAction.d.ts +2 -5
- package/dist/serialization/types/PlanChangeResponseData.d.ts +6 -9
- package/dist/serialization/types/PlanChangeSubscriptionAction.d.ts +3 -6
- package/dist/serialization/types/PlanControlledByType.d.ts +2 -5
- package/dist/serialization/types/PlanCreditGrantView.d.ts +2 -5
- package/dist/serialization/types/PlanDetailResponseData.d.ts +7 -8
- package/dist/serialization/types/PlanEntitlementResponseData.d.ts +7 -10
- package/dist/serialization/types/PlanEntitlementsOrder.d.ts +2 -5
- package/dist/serialization/types/PlanGroupBundleOrder.d.ts +2 -5
- package/dist/serialization/types/PlanGroupDetailResponseData.d.ts +5 -8
- package/dist/serialization/types/PlanGroupPlanDetailResponseData.d.ts +8 -9
- package/dist/serialization/types/PlanGroupPlanEntitlementsOrder.d.ts +2 -5
- package/dist/serialization/types/PlanGroupResponseData.d.ts +3 -6
- package/dist/serialization/types/PlanIssueResponseData.d.ts +2 -5
- package/dist/serialization/types/PlanResponseData.d.ts +2 -5
- package/dist/serialization/types/PlanSelection.d.ts +2 -5
- package/dist/serialization/types/PlanSnapshotView.d.ts +2 -5
- package/dist/serialization/types/PlanTraitResponseData.d.ts +2 -5
- package/dist/serialization/types/PlanType.d.ts +2 -5
- package/dist/serialization/types/PlanVersionResponseData.d.ts +21 -0
- package/dist/serialization/types/PlanVersionStatus.d.ts +7 -0
- package/dist/serialization/types/PreviewObject.d.ts +2 -5
- package/dist/serialization/types/PreviewObjectResponseData.d.ts +2 -5
- package/dist/serialization/types/PreviewSubscriptionChangeResponseData.d.ts +3 -6
- package/dist/serialization/types/PreviewSubscriptionFinanceResponseData.d.ts +2 -5
- package/dist/serialization/types/PreviewSubscriptionUpcomingInvoiceLineItems.d.ts +2 -5
- package/dist/serialization/types/ProrationBehavior.d.ts +2 -5
- package/dist/serialization/types/QuickstartResp.d.ts +2 -5
- package/dist/serialization/types/RawEventBatchResponseData.d.ts +2 -5
- package/dist/serialization/types/RawEventResponseData.d.ts +3 -6
- package/dist/serialization/types/Rule.d.ts +3 -6
- package/dist/serialization/types/RuleConditionDetailResponseData.d.ts +3 -6
- package/dist/serialization/types/RuleConditionGroupDetailResponseData.d.ts +2 -5
- package/dist/serialization/types/RuleConditionGroupResponseData.d.ts +2 -5
- package/dist/serialization/types/RuleConditionResponseData.d.ts +2 -5
- package/dist/serialization/types/RuleDetailResponseData.d.ts +3 -6
- package/dist/serialization/types/RuleResponseData.d.ts +2 -5
- package/dist/serialization/types/RuleRuleType.d.ts +2 -5
- package/dist/serialization/types/RulesDetailResponseData.d.ts +2 -5
- package/dist/serialization/types/RulesEngineSchemaVersion.d.ts +2 -5
- package/dist/serialization/types/RulesengineCheckFlagResult.d.ts +2 -5
- package/dist/serialization/types/RulesengineCheckFlagResultFeatureUsagePeriod.d.ts +2 -5
- package/dist/serialization/types/RulesengineCheckFlagResultRuleType.d.ts +2 -5
- package/dist/serialization/types/RulesengineCompany.d.ts +2 -5
- package/dist/serialization/types/RulesengineCompanyMetric.d.ts +2 -5
- package/dist/serialization/types/RulesengineCompanyMetricMonthReset.d.ts +2 -5
- package/dist/serialization/types/RulesengineCompanyMetricPeriod.d.ts +2 -5
- package/dist/serialization/types/RulesengineCondition.d.ts +3 -6
- package/dist/serialization/types/RulesengineConditionConditionType.d.ts +2 -5
- package/dist/serialization/types/RulesengineConditionGroup.d.ts +2 -5
- package/dist/serialization/types/RulesengineConditionMetricPeriod.d.ts +2 -5
- package/dist/serialization/types/RulesengineConditionMetricPeriodMonthReset.d.ts +2 -5
- package/dist/serialization/types/RulesengineConditionOperator.d.ts +2 -5
- package/dist/serialization/types/RulesengineEntityType.d.ts +2 -5
- package/dist/serialization/types/RulesengineFlag.d.ts +2 -5
- package/dist/serialization/types/RulesengineRule.d.ts +3 -6
- package/dist/serialization/types/RulesengineRuleRuleType.d.ts +2 -5
- package/dist/serialization/types/RulesengineSubscription.d.ts +2 -5
- package/dist/serialization/types/RulesengineTrait.d.ts +2 -5
- package/dist/serialization/types/RulesengineTraitDefinition.d.ts +3 -6
- package/dist/serialization/types/RulesengineTraitDefinitionComparableType.d.ts +2 -5
- package/dist/serialization/types/RulesengineUser.d.ts +2 -5
- package/dist/serialization/types/SegmentStatusResp.d.ts +2 -5
- package/dist/serialization/types/SkippedEntitlementErrorResponseData.d.ts +2 -5
- package/dist/serialization/types/SkippedEntitlementResponseData.d.ts +2 -5
- package/dist/serialization/types/SortDirection.d.ts +2 -5
- package/dist/serialization/types/StripeEmbedInfo.d.ts +2 -5
- package/dist/serialization/types/SubscriptionStatus.d.ts +2 -5
- package/dist/serialization/types/SubscriptionTraitUpdate.d.ts +2 -5
- package/dist/serialization/types/SubscriptionType.d.ts +2 -5
- package/dist/serialization/types/TemporaryAccessTokenResourceType.d.ts +2 -5
- package/dist/serialization/types/TemporaryAccessTokenResponseData.d.ts +2 -5
- package/dist/serialization/types/TraitDefinition.d.ts +3 -6
- package/dist/serialization/types/TraitDefinitionComparableType.d.ts +2 -5
- package/dist/serialization/types/TraitType.d.ts +2 -5
- package/dist/serialization/types/UpdateAddOnRequestBody.d.ts +2 -5
- package/dist/serialization/{resources/credits/client/requests → types}/UpdateBillingPlanCreditGrantRequestBody.d.ts +10 -13
- package/dist/serialization/types/UpdateCreditBundleRequestBody.d.ts +2 -5
- package/dist/serialization/types/UpdateEntitlementReqCommon.d.ts +3 -6
- package/dist/serialization/types/UpdateEntitlementReqCommonMetricPeriod.d.ts +2 -5
- package/dist/serialization/types/UpdateEntitlementReqCommonMetricPeriodMonthReset.d.ts +2 -5
- package/dist/serialization/types/UpdatePayInAdvanceRequestBody.d.ts +2 -5
- package/dist/serialization/types/UpdatePlanRequestBody.d.ts +11 -0
- package/dist/serialization/types/UpdatePlanTraitTraitRequestBody.d.ts +2 -5
- package/dist/serialization/types/UpdateRuleRequestBody.d.ts +2 -5
- package/dist/serialization/{resources/plans/client/requests → types}/UpsertBillingProductRequestBody.d.ts +5 -8
- package/dist/serialization/types/UpsertCompanyRequestBody.d.ts +2 -5
- package/dist/serialization/types/UpsertTraitRequestBody.d.ts +2 -5
- package/dist/serialization/types/UpsertUserRequestBody.d.ts +2 -5
- package/dist/serialization/types/UpsertUserSubRequestBody.d.ts +2 -5
- package/dist/serialization/types/UsageBasedEntitlementRequestBody.d.ts +3 -6
- package/dist/serialization/types/UsageBasedEntitlementResponseData.d.ts +2 -5
- package/dist/serialization/types/UserDetailResponseData.d.ts +3 -6
- package/dist/serialization/types/UserResponseData.d.ts +2 -5
- package/dist/serialization/types/WebhookEventDetailResponseData.d.ts +3 -6
- package/dist/serialization/types/WebhookEventResponseData.d.ts +3 -6
- package/dist/serialization/types/WebhookEventStatus.d.ts +2 -5
- package/dist/serialization/types/WebhookRequestType.d.ts +3 -6
- package/dist/serialization/types/WebhookResponseData.d.ts +2 -5
- package/dist/serialization/types/WebhookStatus.d.ts +2 -5
- package/dist/serialization/types/index.d.ts +39 -26
- package/dist/wrapper.d.ts +10 -1
- package/package.json +23 -10
- package/dist/api/resources/companies/client/requests/GetActiveDealsRequest.d.ts +0 -24
- package/dist/api/resources/companies/types/GetActiveDealsParams.d.ts +0 -14
- package/dist/api/resources/companies/types/GetActiveDealsResponse.d.ts +0 -9
- package/dist/api/resources/crm/client/Client.d.ts +0 -133
- package/dist/api/resources/crm/client/requests/CreateCrmDealLineItemAssociationRequestBody.d.ts +0 -14
- package/dist/api/resources/crm/client/requests/CreateCrmDealRequestBody.d.ts +0 -22
- package/dist/api/resources/crm/client/requests/CreateCrmLineItemRequestBody.d.ts +0 -23
- package/dist/api/resources/crm/client/requests/CreateCrmProductRequestBody.d.ts +0 -26
- package/dist/api/resources/crm/client/requests/ListCrmProductsRequest.d.ts +0 -23
- package/dist/api/resources/crm/client/requests/index.d.ts +0 -5
- package/dist/api/resources/crm/types/ListCrmProductsParams.d.ts +0 -14
- package/dist/api/resources/crm/types/ListCrmProductsResponse.d.ts +0 -9
- package/dist/api/resources/crm/types/UpsertCrmDealResponse.d.ts +0 -9
- package/dist/api/resources/crm/types/UpsertCrmProductResponse.d.ts +0 -9
- package/dist/api/resources/crm/types/UpsertDealLineItemAssociationResponse.d.ts +0 -9
- package/dist/api/resources/crm/types/UpsertLineItemResponse.d.ts +0 -9
- package/dist/api/resources/crm/types/index.d.ts +0 -6
- package/dist/api/resources/plans/client/requests/CreatePlanRequestBody.d.ts +0 -18
- package/dist/api/resources/plans/client/requests/UpdatePlanRequestBody.d.ts +0 -14
- package/dist/api/types/CompanyCrmDealsResponseData.d.ts +0 -11
- package/dist/api/types/CrmDealLineItem.d.ts +0 -18
- package/dist/api/types/CrmDealResponseData.d.ts +0 -16
- package/dist/api/types/CrmLineItemResponseData.d.ts +0 -11
- package/dist/api/types/CrmProductResponseData.d.ts +0 -15
- package/dist/api/types/Decimal.d.ts +0 -4
- package/dist/serialization/resources/companies/types/GetActiveDealsParams.d.ts +0 -15
- package/dist/serialization/resources/companies/types/GetActiveDealsResponse.d.ts +0 -15
- package/dist/serialization/resources/crm/client/requests/CreateCrmDealLineItemAssociationRequestBody.d.ts +0 -13
- package/dist/serialization/resources/crm/client/requests/CreateCrmDealRequestBody.d.ts +0 -20
- package/dist/serialization/resources/crm/client/requests/CreateCrmLineItemRequestBody.d.ts +0 -19
- package/dist/serialization/resources/crm/client/requests/CreateCrmProductRequestBody.d.ts +0 -19
- package/dist/serialization/resources/crm/client/requests/index.d.ts +0 -4
- package/dist/serialization/resources/crm/types/ListCrmProductsParams.d.ts +0 -15
- package/dist/serialization/resources/crm/types/ListCrmProductsResponse.d.ts +0 -15
- package/dist/serialization/resources/crm/types/UpsertCrmDealResponse.d.ts +0 -14
- package/dist/serialization/resources/crm/types/UpsertCrmProductResponse.d.ts +0 -14
- package/dist/serialization/resources/crm/types/UpsertDealLineItemAssociationResponse.d.ts +0 -14
- package/dist/serialization/resources/crm/types/UpsertLineItemResponse.d.ts +0 -14
- package/dist/serialization/resources/crm/types/index.d.ts +0 -6
- package/dist/serialization/resources/plans/client/requests/CreatePlanRequestBody.d.ts +0 -16
- package/dist/serialization/resources/plans/client/requests/UpdatePlanRequestBody.d.ts +0 -14
- package/dist/serialization/types/CompanyCrmDealsResponseData.d.ts +0 -17
- package/dist/serialization/types/CrmDealLineItem.d.ts +0 -24
- package/dist/serialization/types/CrmDealResponseData.d.ts +0 -22
- package/dist/serialization/types/CrmLineItemResponseData.d.ts +0 -17
- package/dist/serialization/types/CrmProductResponseData.d.ts +0 -21
- package/dist/serialization/types/Decimal.d.ts +0 -10
- package/dist/api/resources/{crm → planbundle}/client/index.d.ts +0 -0
- package/dist/{serialization/resources/crm → api/resources/planbundle}/index.d.ts +1 -1
- package/dist/serialization/resources/{crm → planbundle}/client/index.d.ts +0 -0
- package/dist/{api/resources/crm → serialization/resources/planbundle}/index.d.ts +1 -1
|
@@ -0,0 +1,126 @@
|
|
|
1
|
+
export declare const LogLevel: {
|
|
2
|
+
readonly Debug: "debug";
|
|
3
|
+
readonly Info: "info";
|
|
4
|
+
readonly Warn: "warn";
|
|
5
|
+
readonly Error: "error";
|
|
6
|
+
};
|
|
7
|
+
export type LogLevel = (typeof LogLevel)[keyof typeof LogLevel];
|
|
8
|
+
export interface ILogger {
|
|
9
|
+
/**
|
|
10
|
+
* Logs a debug message.
|
|
11
|
+
* @param message - The message to log
|
|
12
|
+
* @param args - Additional arguments to log
|
|
13
|
+
*/
|
|
14
|
+
debug(message: string, ...args: unknown[]): void;
|
|
15
|
+
/**
|
|
16
|
+
* Logs an info message.
|
|
17
|
+
* @param message - The message to log
|
|
18
|
+
* @param args - Additional arguments to log
|
|
19
|
+
*/
|
|
20
|
+
info(message: string, ...args: unknown[]): void;
|
|
21
|
+
/**
|
|
22
|
+
* Logs a warning message.
|
|
23
|
+
* @param message - The message to log
|
|
24
|
+
* @param args - Additional arguments to log
|
|
25
|
+
*/
|
|
26
|
+
warn(message: string, ...args: unknown[]): void;
|
|
27
|
+
/**
|
|
28
|
+
* Logs an error message.
|
|
29
|
+
* @param message - The message to log
|
|
30
|
+
* @param args - Additional arguments to log
|
|
31
|
+
*/
|
|
32
|
+
error(message: string, ...args: unknown[]): void;
|
|
33
|
+
}
|
|
34
|
+
/**
|
|
35
|
+
* Configuration for logger initialization.
|
|
36
|
+
*/
|
|
37
|
+
export interface LogConfig {
|
|
38
|
+
/**
|
|
39
|
+
* Minimum log level to output.
|
|
40
|
+
* @default LogLevel.Info
|
|
41
|
+
*/
|
|
42
|
+
level?: LogLevel;
|
|
43
|
+
/**
|
|
44
|
+
* Logger implementation to use.
|
|
45
|
+
* @default new ConsoleLogger()
|
|
46
|
+
*/
|
|
47
|
+
logger?: ILogger;
|
|
48
|
+
/**
|
|
49
|
+
* Whether logging should be silenced.
|
|
50
|
+
* @default true
|
|
51
|
+
*/
|
|
52
|
+
silent?: boolean;
|
|
53
|
+
}
|
|
54
|
+
/**
|
|
55
|
+
* Default console-based logger implementation.
|
|
56
|
+
*/
|
|
57
|
+
export declare class ConsoleLogger implements ILogger {
|
|
58
|
+
debug(message: string, ...args: unknown[]): void;
|
|
59
|
+
info(message: string, ...args: unknown[]): void;
|
|
60
|
+
warn(message: string, ...args: unknown[]): void;
|
|
61
|
+
error(message: string, ...args: unknown[]): void;
|
|
62
|
+
}
|
|
63
|
+
/**
|
|
64
|
+
* Logger class that provides level-based logging functionality.
|
|
65
|
+
*/
|
|
66
|
+
export declare class Logger {
|
|
67
|
+
private readonly level;
|
|
68
|
+
private readonly logger;
|
|
69
|
+
private readonly silent;
|
|
70
|
+
/**
|
|
71
|
+
* Creates a new logger instance.
|
|
72
|
+
* @param config - Logger configuration
|
|
73
|
+
*/
|
|
74
|
+
constructor(config: Required<LogConfig>);
|
|
75
|
+
/**
|
|
76
|
+
* Checks if a log level should be output based on configuration.
|
|
77
|
+
* @param level - The log level to check
|
|
78
|
+
* @returns True if the level should be logged
|
|
79
|
+
*/
|
|
80
|
+
shouldLog(level: LogLevel): boolean;
|
|
81
|
+
/**
|
|
82
|
+
* Checks if debug logging is enabled.
|
|
83
|
+
* @returns True if debug logs should be output
|
|
84
|
+
*/
|
|
85
|
+
isDebug(): boolean;
|
|
86
|
+
/**
|
|
87
|
+
* Logs a debug message if debug logging is enabled.
|
|
88
|
+
* @param message - The message to log
|
|
89
|
+
* @param args - Additional arguments to log
|
|
90
|
+
*/
|
|
91
|
+
debug(message: string, ...args: unknown[]): void;
|
|
92
|
+
/**
|
|
93
|
+
* Checks if info logging is enabled.
|
|
94
|
+
* @returns True if info logs should be output
|
|
95
|
+
*/
|
|
96
|
+
isInfo(): boolean;
|
|
97
|
+
/**
|
|
98
|
+
* Logs an info message if info logging is enabled.
|
|
99
|
+
* @param message - The message to log
|
|
100
|
+
* @param args - Additional arguments to log
|
|
101
|
+
*/
|
|
102
|
+
info(message: string, ...args: unknown[]): void;
|
|
103
|
+
/**
|
|
104
|
+
* Checks if warning logging is enabled.
|
|
105
|
+
* @returns True if warning logs should be output
|
|
106
|
+
*/
|
|
107
|
+
isWarn(): boolean;
|
|
108
|
+
/**
|
|
109
|
+
* Logs a warning message if warning logging is enabled.
|
|
110
|
+
* @param message - The message to log
|
|
111
|
+
* @param args - Additional arguments to log
|
|
112
|
+
*/
|
|
113
|
+
warn(message: string, ...args: unknown[]): void;
|
|
114
|
+
/**
|
|
115
|
+
* Checks if error logging is enabled.
|
|
116
|
+
* @returns True if error logs should be output
|
|
117
|
+
*/
|
|
118
|
+
isError(): boolean;
|
|
119
|
+
/**
|
|
120
|
+
* Logs an error message if error logging is enabled.
|
|
121
|
+
* @param message - The message to log
|
|
122
|
+
* @param args - Additional arguments to log
|
|
123
|
+
*/
|
|
124
|
+
error(message: string, ...args: unknown[]): void;
|
|
125
|
+
}
|
|
126
|
+
export declare function createLogger(config?: LogConfig | Logger): Logger;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { SchemaUtils } from "./builders";
|
|
1
|
+
import type { SchemaUtils } from "./builders/index";
|
|
2
2
|
export type Schema<Raw = unknown, Parsed = unknown> = BaseSchema<Raw, Parsed> & SchemaUtils<Raw, Parsed>;
|
|
3
3
|
export type inferRaw<S extends Schema> = S extends Schema<infer Raw, any> ? Raw : never;
|
|
4
4
|
export type inferParsed<S extends Schema> = S extends Schema<any, infer Parsed> ? Parsed : never;
|
|
@@ -20,6 +20,7 @@ export declare const SchemaType: {
|
|
|
20
20
|
readonly NUMBER: "number";
|
|
21
21
|
readonly STRING: "string";
|
|
22
22
|
readonly UNKNOWN: "unknown";
|
|
23
|
+
readonly NEVER: "never";
|
|
23
24
|
readonly RECORD: "record";
|
|
24
25
|
readonly SET: "set";
|
|
25
26
|
readonly UNION: "union";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { Schema } from "../../Schema";
|
|
1
|
+
import { type Schema } from "../../Schema";
|
|
2
2
|
export declare function bigint(): Schema<bigint | number, bigint>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { Schema } from "../../Schema";
|
|
1
|
+
import { type Schema } from "../../Schema";
|
|
2
2
|
export declare function date(): Schema<string, Date>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { Schema } from "../../Schema";
|
|
1
|
+
import { type Schema } from "../../Schema";
|
|
2
2
|
export declare function enum_<U extends string, E extends U[]>(values: E): Schema<E[number], E[number]>;
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
export * from "./bigint";
|
|
2
|
-
export * from "./date";
|
|
3
|
-
export * from "./enum";
|
|
4
|
-
export * from "./lazy";
|
|
5
|
-
export * from "./list";
|
|
6
|
-
export * from "./literals";
|
|
7
|
-
export * from "./object";
|
|
8
|
-
export * from "./object-like";
|
|
9
|
-
export * from "./primitives";
|
|
10
|
-
export * from "./record";
|
|
11
|
-
export * from "./schema-utils";
|
|
12
|
-
export * from "./set";
|
|
13
|
-
export * from "./undiscriminated-union";
|
|
14
|
-
export * from "./union";
|
|
1
|
+
export * from "./bigint/index";
|
|
2
|
+
export * from "./date/index";
|
|
3
|
+
export * from "./enum/index";
|
|
4
|
+
export * from "./lazy/index";
|
|
5
|
+
export * from "./list/index";
|
|
6
|
+
export * from "./literals/index";
|
|
7
|
+
export * from "./object/index";
|
|
8
|
+
export * from "./object-like/index";
|
|
9
|
+
export * from "./primitives/index";
|
|
10
|
+
export * from "./record/index";
|
|
11
|
+
export * from "./schema-utils/index";
|
|
12
|
+
export * from "./set/index";
|
|
13
|
+
export * from "./undiscriminated-union/index";
|
|
14
|
+
export * from "./union/index";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { BaseSchema, Schema } from "../../Schema";
|
|
1
|
+
import type { BaseSchema, Schema } from "../../Schema";
|
|
2
2
|
export type SchemaGetter<SchemaType extends Schema<any, any>> = () => SchemaType;
|
|
3
3
|
export declare function lazy<Raw, Parsed>(getter: SchemaGetter<Schema<Raw, Parsed>>): Schema<Raw, Parsed>;
|
|
4
4
|
export declare function constructLazyBaseSchema<Raw, Parsed>(getter: SchemaGetter<Schema<Raw, Parsed>>): BaseSchema<Raw, Parsed>;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { ObjectSchema } from "../object/types";
|
|
2
|
-
import { SchemaGetter } from "./lazy";
|
|
1
|
+
import type { ObjectSchema } from "../object/types";
|
|
2
|
+
import { type SchemaGetter } from "./lazy";
|
|
3
3
|
export declare function lazyObject<Raw, Parsed>(getter: SchemaGetter<ObjectSchema<Raw, Parsed>>): ObjectSchema<Raw, Parsed>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { Schema } from "../../Schema";
|
|
1
|
+
import { type Schema } from "../../Schema";
|
|
2
2
|
export declare function list<Raw, Parsed>(schema: Schema<Raw, Parsed>): Schema<Raw[], Parsed[]>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { Schema } from "../../Schema";
|
|
1
|
+
import { type Schema } from "../../Schema";
|
|
2
2
|
export declare function booleanLiteral<V extends boolean>(literal: V): Schema<V, V>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { Schema } from "../../Schema";
|
|
1
|
+
import { type Schema } from "../../Schema";
|
|
2
2
|
export declare function stringLiteral<V extends string>(literal: V): Schema<V, V>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export { getObjectUtils, object } from "./object";
|
|
2
|
-
export { objectWithoutOptionalProperties } from "./objectWithoutOptionalProperties";
|
|
3
2
|
export type { inferObjectWithoutOptionalPropertiesSchemaFromPropertySchemas, inferParsedObjectWithoutOptionalPropertiesFromPropertySchemas, } from "./objectWithoutOptionalProperties";
|
|
4
|
-
export {
|
|
3
|
+
export { objectWithoutOptionalProperties } from "./objectWithoutOptionalProperties";
|
|
5
4
|
export type { Property } from "./property";
|
|
5
|
+
export { isProperty, property } from "./property";
|
|
6
6
|
export type { BaseObjectSchema, inferObjectSchemaFromPropertySchemas, inferParsedObject, inferParsedObjectFromPropertySchemas, inferParsedPropertySchema, inferRawKey, inferRawObject, inferRawObjectFromPropertySchemas, inferRawPropertySchema, ObjectSchema, ObjectUtils, PropertySchemas, } from "./types";
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { BaseObjectSchema, ObjectUtils, PropertySchemas
|
|
1
|
+
import type { BaseObjectSchema, inferObjectSchemaFromPropertySchemas, ObjectUtils, PropertySchemas } from "./types";
|
|
2
2
|
export declare function object<ParsedKeys extends string, T extends PropertySchemas<ParsedKeys>>(schemas: T): inferObjectSchemaFromPropertySchemas<T>;
|
|
3
3
|
export declare function getObjectUtils<Raw, Parsed>(schema: BaseObjectSchema<Raw, Parsed>): ObjectUtils<Raw, Parsed>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import type { inferParsedPropertySchema, inferRawObjectFromPropertySchemas, ObjectSchema, PropertySchemas } from "./types";
|
|
2
2
|
export declare function objectWithoutOptionalProperties<ParsedKeys extends string, T extends PropertySchemas<ParsedKeys>>(schemas: T): inferObjectWithoutOptionalPropertiesSchemaFromPropertySchemas<T>;
|
|
3
3
|
export type inferObjectWithoutOptionalPropertiesSchemaFromPropertySchemas<T extends PropertySchemas<keyof T>> = ObjectSchema<inferRawObjectFromPropertySchemas<T>, inferParsedObjectWithoutOptionalPropertiesFromPropertySchemas<T>>;
|
|
4
4
|
export type inferParsedObjectWithoutOptionalPropertiesFromPropertySchemas<T extends PropertySchemas<keyof T>> = {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Schema } from "../../Schema";
|
|
1
|
+
import type { Schema } from "../../Schema";
|
|
2
2
|
export declare function property<RawKey extends string, RawValue, ParsedValue>(rawKey: RawKey, valueSchema: Schema<RawValue, ParsedValue>): Property<RawKey, RawValue, ParsedValue>;
|
|
3
3
|
export interface Property<RawKey extends string, RawValue, ParsedValue> {
|
|
4
4
|
rawKey: RawKey;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { BaseSchema,
|
|
2
|
-
import { addQuestionMarksToNullableProperties } from "../../utils/addQuestionMarksToNullableProperties";
|
|
3
|
-
import { ObjectLikeUtils } from "../object-like";
|
|
4
|
-
import { SchemaUtils } from "../schema-utils";
|
|
5
|
-
import { Property } from "./property";
|
|
1
|
+
import type { BaseSchema, inferParsed, inferRaw, Schema } from "../../Schema";
|
|
2
|
+
import type { addQuestionMarksToNullableProperties } from "../../utils/addQuestionMarksToNullableProperties";
|
|
3
|
+
import type { ObjectLikeUtils } from "../object-like/index";
|
|
4
|
+
import type { SchemaUtils } from "../schema-utils/index";
|
|
5
|
+
import type { Property } from "./property";
|
|
6
6
|
export type ObjectSchema<Raw, Parsed> = BaseObjectSchema<Raw, Parsed> & ObjectLikeUtils<Raw, Parsed> & ObjectUtils<Raw, Parsed> & SchemaUtils<Raw, Parsed>;
|
|
7
7
|
export interface BaseObjectSchema<Raw, Parsed> extends BaseSchema<Raw, Parsed> {
|
|
8
8
|
_getRawProperties: () => (keyof Raw)[];
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { BaseSchema } from "../../Schema";
|
|
2
|
-
import { ObjectLikeSchema, ObjectLikeUtils } from "./types";
|
|
1
|
+
import type { BaseSchema } from "../../Schema";
|
|
2
|
+
import type { ObjectLikeSchema, ObjectLikeUtils } from "./types";
|
|
3
3
|
export declare function getObjectLikeUtils<Raw, Parsed>(schema: BaseSchema<Raw, Parsed>): ObjectLikeUtils<Raw, Parsed>;
|
|
4
4
|
/**
|
|
5
5
|
* object-like utils are defined in one file to resolve issues with circular imports
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { BaseSchema, Schema } from "../../Schema";
|
|
1
|
+
import type { BaseSchema, Schema } from "../../Schema";
|
|
2
2
|
export type ObjectLikeSchema<Raw, Parsed> = Schema<Raw, Parsed> & BaseSchema<Raw, Parsed> & ObjectLikeUtils<Raw, Parsed>;
|
|
3
3
|
export interface ObjectLikeUtils<Raw, Parsed> {
|
|
4
4
|
withParsedProperties: <T extends Record<string, any>>(properties: {
|
|
@@ -1 +1,2 @@
|
|
|
1
|
-
|
|
1
|
+
import { type Schema } from "../../Schema";
|
|
2
|
+
export declare const any: () => Schema<any, any>;
|
|
@@ -1 +1,2 @@
|
|
|
1
|
-
|
|
1
|
+
import { type Schema } from "../../Schema";
|
|
2
|
+
export declare const boolean: () => Schema<boolean, boolean>;
|
|
@@ -1 +1,2 @@
|
|
|
1
|
-
|
|
1
|
+
import { type Schema } from "../../Schema";
|
|
2
|
+
export declare const number: () => Schema<number, number>;
|
|
@@ -1 +1,2 @@
|
|
|
1
|
-
|
|
1
|
+
import { type Schema } from "../../Schema";
|
|
2
|
+
export declare const string: () => Schema<string, string>;
|
|
@@ -1 +1,2 @@
|
|
|
1
|
-
|
|
1
|
+
import { type Schema } from "../../Schema";
|
|
2
|
+
export declare const unknown: () => Schema<unknown, unknown>;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { Schema } from "../../Schema";
|
|
2
|
-
import { RecordSchema } from "./types";
|
|
1
|
+
import { type Schema } from "../../Schema";
|
|
2
|
+
import type { RecordSchema } from "./types";
|
|
3
3
|
export declare function record<RawKey extends string | number, RawValue, ParsedValue, ParsedKey extends string | number>(keySchema: Schema<RawKey, ParsedKey>, valueSchema: Schema<RawValue, ParsedValue>): RecordSchema<RawKey, RawValue, ParsedKey, ParsedValue>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { BaseSchema } from "../../Schema";
|
|
2
|
-
import { SchemaUtils } from "../schema-utils";
|
|
1
|
+
import type { BaseSchema } from "../../Schema";
|
|
2
|
+
import type { SchemaUtils } from "../schema-utils/index";
|
|
3
3
|
export type RecordSchema<RawKey extends string | number, RawValue, ParsedKey extends string | number, ParsedValue> = BaseRecordSchema<RawKey, RawValue, ParsedKey, ParsedValue> & SchemaUtils<Record<RawKey, RawValue>, Record<ParsedKey, ParsedValue>>;
|
|
4
4
|
export type BaseRecordSchema<RawKey extends string | number, RawValue, ParsedKey extends string | number, ParsedValue> = BaseSchema<Record<RawKey, RawValue>, Record<ParsedKey, ParsedValue>>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { BaseSchema, Schema, SchemaOptions } from "../../Schema";
|
|
1
|
+
import { type BaseSchema, type Schema, type SchemaOptions } from "../../Schema";
|
|
2
2
|
export interface SchemaUtils<Raw, Parsed> {
|
|
3
3
|
nullable: () => Schema<Raw | null, Parsed | null>;
|
|
4
4
|
optional: () => Schema<Raw | null | undefined, Parsed | undefined>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { getSchemaUtils, optional, transform } from "./getSchemaUtils";
|
|
2
1
|
export type { SchemaUtils } from "./getSchemaUtils";
|
|
2
|
+
export { getSchemaUtils, optional, transform } from "./getSchemaUtils";
|
|
3
3
|
export { JsonError } from "./JsonError";
|
|
4
4
|
export { ParseError } from "./ParseError";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { ValidationError } from "../../Schema";
|
|
1
|
+
import type { ValidationError } from "../../Schema";
|
|
2
2
|
export declare function stringifyValidationError(error: ValidationError): string;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { Schema } from "../../Schema";
|
|
1
|
+
import { type Schema } from "../../Schema";
|
|
2
2
|
export declare function set<Raw, Parsed>(schema: Schema<Raw, Parsed>): Schema<Raw[], Set<Parsed>>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import type { inferParsed, inferRaw, Schema } from "../../Schema";
|
|
2
2
|
export type UndiscriminatedUnionSchema<Schemas extends [...Schema[]]> = Schema<inferRawUnidiscriminatedUnionSchema<Schemas>, inferParsedUnidiscriminatedUnionSchema<Schemas>>;
|
|
3
3
|
export type inferRawUnidiscriminatedUnionSchema<Schemas extends [...Schema[]]> = inferRaw<Schemas[number]>;
|
|
4
4
|
export type inferParsedUnidiscriminatedUnionSchema<Schemas extends [...Schema[]]> = inferParsed<Schemas[number]>;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { Schema } from "../../Schema";
|
|
2
|
-
import { inferParsedUnidiscriminatedUnionSchema, inferRawUnidiscriminatedUnionSchema } from "./types";
|
|
1
|
+
import { type Schema } from "../../Schema";
|
|
2
|
+
import type { inferParsedUnidiscriminatedUnionSchema, inferRawUnidiscriminatedUnionSchema } from "./types";
|
|
3
3
|
export declare function undiscriminatedUnion<Schemas extends [Schema<any, any>, ...Schema<any, any>[]]>(schemas: Schemas): Schema<inferRawUnidiscriminatedUnionSchema<Schemas>, inferParsedUnidiscriminatedUnionSchema<Schemas>>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { discriminant } from "./discriminant";
|
|
2
1
|
export type { Discriminant } from "./discriminant";
|
|
2
|
+
export { discriminant } from "./discriminant";
|
|
3
3
|
export type { inferParsedDiscriminant, inferParsedUnion, inferRawDiscriminant, inferRawUnion, UnionSubtypes, } from "./types";
|
|
4
4
|
export { union } from "./union";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { Discriminant } from "./discriminant";
|
|
1
|
+
import type { inferParsedObject, inferRawObject, ObjectSchema } from "../object/index";
|
|
2
|
+
import type { Discriminant } from "./discriminant";
|
|
3
3
|
export type UnionSubtypes<DiscriminantValues extends string | number | symbol> = {
|
|
4
4
|
[K in DiscriminantValues]: ObjectSchema<any, any>;
|
|
5
5
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ObjectLikeSchema } from "../object-like";
|
|
2
|
-
import { Discriminant } from "./discriminant";
|
|
3
|
-
import {
|
|
1
|
+
import { type ObjectLikeSchema } from "../object-like";
|
|
2
|
+
import type { Discriminant } from "./discriminant";
|
|
3
|
+
import type { inferParsedUnion, inferRawUnion, UnionSubtypes } from "./types";
|
|
4
4
|
export declare function union<D extends string | Discriminant<any, any>, U extends UnionSubtypes<any>>(discriminant: D, union: U): ObjectLikeSchema<inferRawUnion<D, U>, inferParsedUnion<D, U>>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from "./builders";
|
|
1
|
+
export * from "./builders/index";
|
|
2
2
|
export type { inferParsed, inferRaw, Schema, SchemaOptions } from "./Schema";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { MaybeValid, Schema, SchemaOptions, SchemaType } from "../Schema";
|
|
1
|
+
import type { MaybeValid, Schema, SchemaOptions, SchemaType } from "../Schema";
|
|
2
2
|
export declare function createIdentitySchemaCreator<T>(schemaType: SchemaType, validate: (value: unknown, opts?: SchemaOptions) => MaybeValid<T>): () => Schema<T, T>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { BaseSchema } from "../Schema";
|
|
1
|
+
import type { BaseSchema } from "../Schema";
|
|
2
2
|
export declare function maybeSkipValidation<S extends BaseSchema<Raw, Parsed>, Raw, Parsed>(schema: S): S;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function encodePathParam(param: unknown): string;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function join(base: string, ...segments: string[]): string;
|
package/dist/environments.d.ts
CHANGED
package/dist/events.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { CreateEventRequestBody } from "./api";
|
|
2
|
-
import {
|
|
2
|
+
import { EventsClient } from "./api/resources/events/client/Client";
|
|
3
3
|
import { Logger } from "./logger";
|
|
4
4
|
interface EventBufferOptions {
|
|
5
5
|
interval?: number;
|
|
@@ -22,7 +22,7 @@ declare class EventBuffer {
|
|
|
22
22
|
private shutdown;
|
|
23
23
|
private stopped;
|
|
24
24
|
private flushing;
|
|
25
|
-
constructor(eventsApi:
|
|
25
|
+
constructor(eventsApi: EventsClient, opts?: EventBufferOptions);
|
|
26
26
|
flush(): Promise<void>;
|
|
27
27
|
push(event: CreateEventRequestBody): Promise<void>;
|
|
28
28
|
stop(): Promise<void>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./core/exports";
|