@schematichq/schematic-typescript-node 1.2.6 → 1.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/BaseClient.d.ts +40 -0
- package/dist/Client.d.ts +52 -74
- package/dist/api/errors/BadRequestError.d.ts +2 -5
- package/dist/api/errors/ForbiddenError.d.ts +2 -5
- package/dist/api/errors/InternalServerError.d.ts +2 -5
- package/dist/api/errors/NotFoundError.d.ts +2 -5
- package/dist/api/errors/UnauthorizedError.d.ts +2 -5
- package/dist/api/errors/index.d.ts +2 -2
- package/dist/api/index.d.ts +1 -1
- package/dist/api/resources/accesstokens/client/Client.d.ts +10 -29
- package/dist/api/resources/accesstokens/client/requests/IssueTemporaryAccessTokenRequestBody.d.ts +1 -7
- package/dist/api/resources/accesstokens/client/requests/index.d.ts +1 -1
- package/dist/api/resources/accesstokens/index.d.ts +1 -1
- package/dist/api/resources/accesstokens/types/IssueTemporaryAccessTokenResponse.d.ts +1 -4
- package/dist/api/resources/accounts/client/Client.d.ts +45 -64
- package/dist/api/resources/accounts/client/requests/CountApiKeysRequest.d.ts +2 -9
- package/dist/api/resources/accounts/client/requests/CountApiRequestsRequest.d.ts +2 -9
- package/dist/api/resources/accounts/client/requests/CreateApiKeyRequestBody.d.ts +0 -3
- package/dist/api/resources/accounts/client/requests/CreateEnvironmentRequestBody.d.ts +2 -5
- package/dist/api/resources/accounts/client/requests/ListApiKeysRequest.d.ts +2 -9
- package/dist/api/resources/accounts/client/requests/ListApiRequestsRequest.d.ts +2 -9
- package/dist/api/resources/accounts/client/requests/ListEnvironmentsRequest.d.ts +2 -9
- package/dist/api/resources/accounts/client/requests/UpdateApiKeyRequestBody.d.ts +0 -3
- package/dist/api/resources/accounts/client/requests/UpdateEnvironmentRequestBody.d.ts +2 -5
- package/dist/api/resources/accounts/client/requests/index.d.ts +9 -9
- package/dist/api/resources/accounts/index.d.ts +1 -1
- package/dist/api/resources/accounts/types/CountApiKeysParams.d.ts +0 -3
- package/dist/api/resources/accounts/types/CountApiKeysResponse.d.ts +1 -4
- package/dist/api/resources/accounts/types/CountApiRequestsParams.d.ts +0 -3
- package/dist/api/resources/accounts/types/CountApiRequestsResponse.d.ts +1 -4
- package/dist/api/resources/accounts/types/CreateApiKeyResponse.d.ts +1 -4
- package/dist/api/resources/accounts/types/CreateEnvironmentResponse.d.ts +1 -4
- package/dist/api/resources/accounts/types/DeleteApiKeyResponse.d.ts +1 -4
- package/dist/api/resources/accounts/types/DeleteEnvironmentResponse.d.ts +1 -4
- package/dist/api/resources/accounts/types/GetApiKeyResponse.d.ts +1 -4
- package/dist/api/resources/accounts/types/GetApiRequestResponse.d.ts +1 -4
- package/dist/api/resources/accounts/types/GetEnvironmentResponse.d.ts +1 -4
- package/dist/api/resources/accounts/types/ListApiKeysParams.d.ts +0 -3
- package/dist/api/resources/accounts/types/ListApiKeysResponse.d.ts +1 -4
- package/dist/api/resources/accounts/types/ListApiRequestsParams.d.ts +0 -3
- package/dist/api/resources/accounts/types/ListApiRequestsResponse.d.ts +1 -4
- package/dist/api/resources/accounts/types/ListEnvironmentsParams.d.ts +0 -3
- package/dist/api/resources/accounts/types/ListEnvironmentsResponse.d.ts +1 -4
- package/dist/api/resources/accounts/types/QuickstartResponse.d.ts +1 -4
- package/dist/api/resources/accounts/types/UpdateApiKeyResponse.d.ts +1 -4
- package/dist/api/resources/accounts/types/UpdateEnvironmentResponse.d.ts +1 -4
- package/dist/api/resources/accounts/types/index.d.ts +13 -15
- package/dist/api/resources/billing/client/Client.d.ts +87 -97
- package/dist/api/resources/billing/client/requests/CountBillingProductsRequest.d.ts +18 -33
- package/dist/api/resources/billing/client/requests/CountCustomersRequest.d.ts +7 -11
- package/dist/api/resources/billing/client/requests/CreateBillingCustomerRequestBody.d.ts +2 -3
- package/dist/api/resources/billing/client/requests/CreateBillingPriceRequestBody.d.ts +5 -7
- package/dist/api/resources/billing/client/requests/CreateBillingProductRequestBody.d.ts +2 -3
- package/dist/api/resources/billing/client/requests/CreateBillingSubscriptionRequestBody.d.ts +5 -7
- package/dist/api/resources/billing/client/requests/CreateCouponRequestBody.d.ts +0 -3
- package/dist/api/resources/billing/client/requests/CreateInvoiceRequestBody.d.ts +0 -3
- package/dist/api/resources/billing/client/requests/CreateMeterRequestBody.d.ts +0 -3
- package/dist/api/resources/billing/client/requests/CreatePaymentMethodRequestBody.d.ts +0 -3
- package/dist/api/resources/billing/client/requests/ListBillingPricesRequest.d.ts +42 -0
- package/dist/api/resources/billing/client/requests/ListBillingProductPricesRequest.d.ts +42 -0
- package/dist/api/resources/billing/client/requests/ListBillingProductsRequest.d.ts +18 -33
- package/dist/api/resources/billing/client/requests/ListCouponsRequest.d.ts +2 -9
- package/dist/api/resources/billing/client/requests/ListCustomersWithSubscriptionsRequest.d.ts +7 -11
- package/dist/api/resources/billing/client/requests/ListInvoicesRequest.d.ts +2 -9
- package/dist/api/resources/billing/client/requests/ListMetersRequest.d.ts +2 -9
- package/dist/api/resources/billing/client/requests/ListPaymentMethodsRequest.d.ts +2 -9
- package/dist/api/resources/billing/client/requests/index.d.ts +18 -18
- package/dist/api/resources/billing/index.d.ts +1 -1
- package/dist/api/resources/billing/types/CountBillingProductsParams.d.ts +3 -5
- package/dist/api/resources/billing/types/CountBillingProductsResponse.d.ts +1 -4
- package/dist/api/resources/billing/types/CountCustomersParams.d.ts +2 -3
- package/dist/api/resources/billing/types/CountCustomersResponse.d.ts +1 -4
- package/dist/api/resources/billing/types/DeleteBillingProductResponse.d.ts +1 -4
- package/dist/api/resources/billing/types/DeleteProductPriceResponse.d.ts +1 -4
- package/dist/api/resources/billing/types/{SearchBillingPricesParams.d.ts → ListBillingPricesParams.d.ts} +10 -9
- package/dist/api/resources/billing/types/ListBillingPricesResponse.d.ts +6 -0
- package/dist/api/resources/billing/types/ListBillingProductPricesParams.d.ts +27 -0
- package/dist/api/resources/billing/types/ListBillingProductPricesResponse.d.ts +6 -0
- package/dist/api/resources/billing/types/ListBillingProductsParams.d.ts +3 -5
- package/dist/api/resources/billing/types/ListBillingProductsResponse.d.ts +1 -4
- package/dist/api/resources/billing/types/ListCouponsParams.d.ts +0 -3
- package/dist/api/resources/billing/types/ListCouponsResponse.d.ts +1 -4
- package/dist/api/resources/billing/types/ListCustomersWithSubscriptionsParams.d.ts +2 -3
- package/dist/api/resources/billing/types/ListCustomersWithSubscriptionsResponse.d.ts +1 -4
- package/dist/api/resources/billing/types/ListInvoicesParams.d.ts +0 -3
- package/dist/api/resources/billing/types/ListInvoicesResponse.d.ts +1 -4
- package/dist/api/resources/billing/types/ListMetersParams.d.ts +0 -3
- package/dist/api/resources/billing/types/ListMetersResponse.d.ts +1 -4
- package/dist/api/resources/billing/types/ListPaymentMethodsParams.d.ts +0 -3
- package/dist/api/resources/billing/types/ListPaymentMethodsResponse.d.ts +1 -4
- package/dist/api/resources/billing/types/UpsertBillingCouponResponse.d.ts +1 -4
- package/dist/api/resources/billing/types/UpsertBillingCustomerResponse.d.ts +1 -4
- package/dist/api/resources/billing/types/UpsertBillingMeterResponse.d.ts +1 -4
- package/dist/api/resources/billing/types/UpsertBillingPriceResponse.d.ts +1 -4
- package/dist/api/resources/billing/types/UpsertBillingProductResponse.d.ts +1 -4
- package/dist/api/resources/billing/types/UpsertBillingSubscriptionResponse.d.ts +1 -4
- package/dist/api/resources/billing/types/UpsertInvoiceResponse.d.ts +1 -4
- package/dist/api/resources/billing/types/UpsertPaymentMethodResponse.d.ts +1 -4
- package/dist/api/resources/billing/types/index.d.ts +17 -31
- package/dist/api/resources/checkout/client/Client.d.ts +38 -40
- package/dist/api/resources/checkout/client/requests/CancelSubscriptionRequest.d.ts +13 -0
- package/dist/api/resources/checkout/client/requests/CheckoutDataRequestBody.d.ts +0 -3
- package/dist/api/resources/checkout/client/requests/UpdateTrialEndRequestBody.d.ts +0 -3
- package/dist/api/resources/checkout/client/requests/index.d.ts +3 -2
- package/dist/api/resources/checkout/index.d.ts +1 -1
- package/dist/api/resources/checkout/types/CancelSubscriptionResponse.d.ts +6 -0
- package/dist/api/resources/checkout/types/CheckoutInternalResponse.d.ts +1 -4
- package/dist/api/resources/checkout/types/GetCheckoutDataResponse.d.ts +1 -4
- package/dist/api/resources/checkout/types/ManagePlanResponse.d.ts +1 -4
- package/dist/api/resources/checkout/types/PreviewCheckoutInternalResponse.d.ts +1 -4
- package/dist/api/resources/checkout/types/PreviewManagePlanResponse.d.ts +1 -4
- package/dist/api/resources/checkout/types/UpdateCustomerSubscriptionTrialEndResponse.d.ts +1 -4
- package/dist/api/resources/checkout/types/index.d.ts +2 -1
- package/dist/api/resources/companies/client/Client.d.ts +102 -140
- package/dist/api/resources/companies/client/requests/CountCompaniesForAdvancedFilterRequest.d.ts +19 -52
- package/dist/api/resources/companies/client/requests/CountCompaniesRequest.d.ts +8 -27
- package/dist/api/resources/companies/client/requests/CountEntityKeyDefinitionsRequest.d.ts +4 -11
- package/dist/api/resources/companies/client/requests/CountEntityTraitDefinitionsRequest.d.ts +6 -12
- package/dist/api/resources/companies/client/requests/CountPlanTraitsRequest.d.ts +2 -9
- package/dist/api/resources/companies/client/requests/CountUsersRequest.d.ts +6 -21
- package/dist/api/resources/companies/client/requests/CreateEntityTraitDefinitionRequestBody.d.ts +3 -6
- package/dist/api/resources/companies/client/requests/CreatePlanTraitRequestBody.d.ts +0 -3
- package/dist/api/resources/companies/client/requests/DeleteCompanyRequest.d.ts +0 -3
- package/dist/api/resources/companies/client/requests/GetActiveCompanySubscriptionRequest.d.ts +2 -9
- package/dist/api/resources/companies/client/requests/GetEntityTraitValuesRequest.d.ts +2 -9
- package/dist/api/resources/companies/client/requests/GetOrCreateCompanyMembershipRequestBody.d.ts +0 -3
- package/dist/api/resources/companies/client/requests/ListCompaniesForAdvancedFilterRequest.d.ts +19 -52
- package/dist/api/resources/companies/client/requests/ListCompaniesRequest.d.ts +8 -27
- package/dist/api/resources/companies/client/requests/ListCompanyMembershipsRequest.d.ts +2 -9
- package/dist/api/resources/companies/client/requests/ListEntityKeyDefinitionsRequest.d.ts +4 -11
- package/dist/api/resources/companies/client/requests/ListEntityTraitDefinitionsRequest.d.ts +6 -12
- package/dist/api/resources/companies/client/requests/ListPlanChangesRequest.d.ts +2 -9
- package/dist/api/resources/companies/client/requests/ListPlanTraitsRequest.d.ts +2 -9
- package/dist/api/resources/companies/client/requests/ListUsersRequest.d.ts +6 -21
- package/dist/api/resources/companies/client/requests/LookupCompanyRequest.d.ts +1 -6
- package/dist/api/resources/companies/client/requests/LookupUserRequest.d.ts +1 -6
- package/dist/api/resources/companies/client/requests/UpdateEntityTraitDefinitionRequestBody.d.ts +2 -5
- package/dist/api/resources/companies/client/requests/UpdatePlanTraitBulkRequestBody.d.ts +3 -4
- package/dist/api/resources/companies/client/requests/UpdatePlanTraitRequestBody.d.ts +0 -3
- package/dist/api/resources/companies/client/requests/index.d.ts +25 -26
- package/dist/api/resources/companies/index.d.ts +1 -1
- package/dist/api/resources/companies/types/CountCompaniesForAdvancedFilterParams.d.ts +4 -8
- package/dist/api/resources/companies/types/CountCompaniesForAdvancedFilterResponse.d.ts +1 -4
- package/dist/api/resources/companies/types/CountCompaniesParams.d.ts +0 -3
- package/dist/api/resources/companies/types/CountCompaniesResponse.d.ts +1 -4
- package/dist/api/resources/companies/types/CountEntityKeyDefinitionsParams.d.ts +2 -5
- package/dist/api/resources/companies/types/CountEntityKeyDefinitionsResponse.d.ts +1 -4
- package/dist/api/resources/companies/types/CountEntityTraitDefinitionsParams.d.ts +4 -6
- package/dist/api/resources/companies/types/CountEntityTraitDefinitionsResponse.d.ts +1 -4
- package/dist/api/resources/companies/types/CountPlanTraitsParams.d.ts +0 -3
- package/dist/api/resources/companies/types/CountPlanTraitsResponse.d.ts +1 -4
- package/dist/api/resources/companies/types/CountUsersParams.d.ts +0 -3
- package/dist/api/resources/companies/types/CountUsersResponse.d.ts +1 -4
- package/dist/api/resources/companies/types/CreateCompanyResponse.d.ts +1 -4
- package/dist/api/resources/companies/types/CreatePlanTraitResponse.d.ts +1 -4
- package/dist/api/resources/companies/types/CreateUserResponse.d.ts +1 -4
- package/dist/api/resources/companies/types/DeleteCompanyByKeysResponse.d.ts +1 -4
- package/dist/api/resources/companies/types/DeleteCompanyMembershipResponse.d.ts +1 -4
- package/dist/api/resources/companies/types/DeleteCompanyParams.d.ts +0 -3
- package/dist/api/resources/companies/types/DeleteCompanyResponse.d.ts +1 -4
- package/dist/api/resources/companies/types/DeletePlanTraitResponse.d.ts +1 -4
- package/dist/api/resources/companies/types/DeleteUserByKeysResponse.d.ts +1 -4
- package/dist/api/resources/companies/types/DeleteUserResponse.d.ts +1 -4
- package/dist/api/resources/companies/types/GetActiveCompanySubscriptionParams.d.ts +0 -3
- package/dist/api/resources/companies/types/GetActiveCompanySubscriptionResponse.d.ts +1 -4
- package/dist/api/resources/companies/types/GetCompanyResponse.d.ts +1 -4
- package/dist/api/resources/companies/types/GetEntityTraitDefinitionResponse.d.ts +1 -4
- package/dist/api/resources/companies/types/GetEntityTraitValuesParams.d.ts +0 -3
- package/dist/api/resources/companies/types/GetEntityTraitValuesResponse.d.ts +1 -4
- package/dist/api/resources/companies/types/GetOrCreateCompanyMembershipResponse.d.ts +1 -4
- package/dist/api/resources/companies/types/GetOrCreateEntityTraitDefinitionResponse.d.ts +1 -4
- package/dist/api/resources/companies/types/GetPlanChangeResponse.d.ts +1 -4
- package/dist/api/resources/companies/types/GetPlanTraitResponse.d.ts +1 -4
- package/dist/api/resources/companies/types/GetUserResponse.d.ts +1 -4
- package/dist/api/resources/companies/types/ListCompaniesForAdvancedFilterParams.d.ts +4 -8
- package/dist/api/resources/companies/types/ListCompaniesForAdvancedFilterResponse.d.ts +1 -4
- package/dist/api/resources/companies/types/ListCompaniesParams.d.ts +0 -3
- package/dist/api/resources/companies/types/ListCompaniesResponse.d.ts +1 -4
- package/dist/api/resources/companies/types/ListCompanyMembershipsParams.d.ts +0 -3
- package/dist/api/resources/companies/types/ListCompanyMembershipsResponse.d.ts +1 -4
- package/dist/api/resources/companies/types/ListEntityKeyDefinitionsParams.d.ts +2 -5
- package/dist/api/resources/companies/types/ListEntityKeyDefinitionsResponse.d.ts +1 -4
- package/dist/api/resources/companies/types/ListEntityTraitDefinitionsParams.d.ts +4 -6
- package/dist/api/resources/companies/types/ListEntityTraitDefinitionsResponse.d.ts +1 -4
- package/dist/api/resources/companies/types/ListPlanChangesParams.d.ts +0 -3
- package/dist/api/resources/companies/types/ListPlanChangesResponse.d.ts +1 -4
- package/dist/api/resources/companies/types/ListPlanTraitsParams.d.ts +0 -3
- package/dist/api/resources/companies/types/ListPlanTraitsResponse.d.ts +1 -4
- package/dist/api/resources/companies/types/ListUsersParams.d.ts +0 -3
- package/dist/api/resources/companies/types/ListUsersResponse.d.ts +1 -4
- package/dist/api/resources/companies/types/LookupCompanyParams.d.ts +0 -3
- package/dist/api/resources/companies/types/LookupCompanyResponse.d.ts +1 -4
- package/dist/api/resources/companies/types/LookupUserParams.d.ts +0 -3
- package/dist/api/resources/companies/types/LookupUserResponse.d.ts +1 -4
- package/dist/api/resources/companies/types/UpdateEntityTraitDefinitionResponse.d.ts +1 -4
- package/dist/api/resources/companies/types/UpdatePlanTraitResponse.d.ts +1 -4
- package/dist/api/resources/companies/types/UpdatePlanTraitsBulkResponse.d.ts +1 -4
- package/dist/api/resources/companies/types/UpsertCompanyResponse.d.ts +1 -4
- package/dist/api/resources/companies/types/UpsertCompanyTraitResponse.d.ts +1 -4
- package/dist/api/resources/companies/types/UpsertUserResponse.d.ts +1 -4
- package/dist/api/resources/companies/types/UpsertUserTraitResponse.d.ts +1 -4
- package/dist/api/resources/companies/types/index.d.ts +40 -61
- package/dist/api/resources/components/client/Client.d.ts +26 -45
- package/dist/api/resources/components/client/requests/CountComponentsRequest.d.ts +2 -9
- package/dist/api/resources/components/client/requests/CreateComponentRequestBody.d.ts +3 -6
- package/dist/api/resources/components/client/requests/ListComponentsRequest.d.ts +2 -9
- package/dist/api/resources/components/client/requests/PreviewComponentDataRequest.d.ts +0 -3
- package/dist/api/resources/components/client/requests/UpdateComponentRequestBody.d.ts +3 -6
- package/dist/api/resources/components/client/requests/index.d.ts +5 -5
- package/dist/api/resources/components/index.d.ts +1 -1
- package/dist/api/resources/components/types/CountComponentsParams.d.ts +0 -3
- package/dist/api/resources/components/types/CountComponentsResponse.d.ts +1 -4
- package/dist/api/resources/components/types/CreateComponentResponse.d.ts +1 -4
- package/dist/api/resources/components/types/DeleteComponentResponse.d.ts +1 -4
- package/dist/api/resources/components/types/GetComponentResponse.d.ts +1 -4
- package/dist/api/resources/components/types/ListComponentsParams.d.ts +0 -3
- package/dist/api/resources/components/types/ListComponentsResponse.d.ts +1 -4
- package/dist/api/resources/components/types/PreviewComponentDataParams.d.ts +0 -3
- package/dist/api/resources/components/types/PreviewComponentDataResponse.d.ts +1 -4
- package/dist/api/resources/components/types/UpdateComponentResponse.d.ts +1 -4
- package/dist/api/resources/components/types/index.d.ts +6 -9
- package/dist/api/resources/credits/client/Client.d.ts +68 -87
- package/dist/api/resources/credits/client/requests/CountBillingCreditsGrantsRequest.d.ts +2 -9
- package/dist/api/resources/credits/client/requests/CountBillingCreditsRequest.d.ts +2 -9
- package/dist/api/resources/credits/client/requests/CountBillingPlanCreditGrantsRequest.d.ts +2 -9
- package/dist/api/resources/credits/client/requests/CountCreditBundlesRequest.d.ts +5 -12
- package/dist/api/resources/credits/client/requests/CountCreditLedgerRequest.d.ts +4 -11
- package/dist/api/resources/credits/client/requests/CreateBillingCreditRequestBody.d.ts +4 -7
- package/dist/api/resources/credits/client/requests/CreateBillingPlanCreditGrantRequestBody.d.ts +10 -13
- package/dist/api/resources/credits/client/requests/CreateCompanyCreditGrant.d.ts +7 -8
- package/dist/api/resources/credits/client/requests/CreateCreditBundleRequestBody.d.ts +5 -8
- package/dist/api/resources/credits/client/requests/DeleteBillingPlanCreditGrantRequest.d.ts +0 -3
- package/dist/api/resources/credits/client/requests/GetEnrichedCreditLedgerRequest.d.ts +4 -11
- package/dist/api/resources/credits/client/requests/ListBillingCreditsRequest.d.ts +2 -9
- package/dist/api/resources/credits/client/requests/ListBillingPlanCreditGrantsRequest.d.ts +2 -9
- package/dist/api/resources/credits/client/requests/ListCompanyGrantsRequest.d.ts +5 -12
- package/dist/api/resources/credits/client/requests/ListCreditBundlesRequest.d.ts +5 -12
- package/dist/api/resources/credits/client/requests/ListGrantsForCreditRequest.d.ts +2 -9
- package/dist/api/resources/credits/client/requests/UpdateBillingCreditRequestBody.d.ts +4 -7
- package/dist/api/resources/credits/client/requests/UpdateBillingPlanCreditGrantRequestBody.d.ts +14 -10
- package/dist/api/resources/credits/client/requests/UpdateCreditBundleDetailsRequestBody.d.ts +4 -7
- package/dist/api/resources/credits/client/requests/ZeroOutGrantRequestBody.d.ts +2 -5
- package/dist/api/resources/credits/client/requests/index.d.ts +20 -20
- package/dist/api/resources/credits/index.d.ts +1 -1
- package/dist/api/resources/credits/types/CountBillingCreditsGrantsParams.d.ts +0 -3
- package/dist/api/resources/credits/types/CountBillingCreditsGrantsResponse.d.ts +1 -4
- package/dist/api/resources/credits/types/CountBillingCreditsParams.d.ts +0 -3
- package/dist/api/resources/credits/types/CountBillingCreditsResponse.d.ts +1 -4
- package/dist/api/resources/credits/types/CountBillingPlanCreditGrantsParams.d.ts +0 -3
- package/dist/api/resources/credits/types/CountBillingPlanCreditGrantsResponse.d.ts +1 -4
- package/dist/api/resources/credits/types/CountCreditBundlesParams.d.ts +3 -6
- package/dist/api/resources/credits/types/CountCreditBundlesResponse.d.ts +1 -4
- package/dist/api/resources/credits/types/CountCreditLedgerParams.d.ts +2 -5
- package/dist/api/resources/credits/types/CountCreditLedgerResponse.d.ts +1 -4
- package/dist/api/resources/credits/types/CreateBillingCreditResponse.d.ts +1 -4
- package/dist/api/resources/credits/types/CreateBillingPlanCreditGrantResponse.d.ts +1 -4
- package/dist/api/resources/credits/types/CreateCreditBundleResponse.d.ts +1 -4
- package/dist/api/resources/credits/types/DeleteBillingPlanCreditGrantParams.d.ts +0 -3
- package/dist/api/resources/credits/types/DeleteBillingPlanCreditGrantResponse.d.ts +1 -4
- package/dist/api/resources/credits/types/DeleteCreditBundleResponse.d.ts +1 -4
- package/dist/api/resources/credits/types/GetCreditBundleResponse.d.ts +1 -4
- package/dist/api/resources/credits/types/GetEnrichedCreditLedgerParams.d.ts +2 -5
- package/dist/api/resources/credits/types/GetEnrichedCreditLedgerResponse.d.ts +1 -4
- package/dist/api/resources/credits/types/GetSingleBillingCreditResponse.d.ts +1 -4
- package/dist/api/resources/credits/types/GrantBillingCreditsToCompanyResponse.d.ts +1 -4
- package/dist/api/resources/credits/types/ListBillingCreditsParams.d.ts +0 -3
- package/dist/api/resources/credits/types/ListBillingCreditsResponse.d.ts +1 -4
- package/dist/api/resources/credits/types/ListBillingPlanCreditGrantsParams.d.ts +0 -3
- package/dist/api/resources/credits/types/ListBillingPlanCreditGrantsResponse.d.ts +1 -4
- package/dist/api/resources/credits/types/ListCompanyGrantsParams.d.ts +3 -6
- package/dist/api/resources/credits/types/ListCompanyGrantsResponse.d.ts +1 -4
- package/dist/api/resources/credits/types/ListCreditBundlesParams.d.ts +3 -6
- package/dist/api/resources/credits/types/ListCreditBundlesResponse.d.ts +1 -4
- package/dist/api/resources/credits/types/ListGrantsForCreditParams.d.ts +0 -3
- package/dist/api/resources/credits/types/ListGrantsForCreditResponse.d.ts +1 -4
- package/dist/api/resources/credits/types/SoftDeleteBillingCreditResponse.d.ts +1 -4
- package/dist/api/resources/credits/types/UpdateBillingCreditResponse.d.ts +1 -4
- package/dist/api/resources/credits/types/UpdateBillingPlanCreditGrantResponse.d.ts +1 -4
- package/dist/api/resources/credits/types/UpdateCreditBundleDetailsResponse.d.ts +1 -4
- package/dist/api/resources/credits/types/ZeroOutGrantResponse.d.ts +1 -4
- package/dist/api/resources/credits/types/index.d.ts +27 -64
- package/dist/api/resources/dataexports/client/Client.d.ts +12 -31
- package/dist/api/resources/dataexports/client/requests/CreateDataExportRequestBody.d.ts +0 -3
- package/dist/api/resources/dataexports/client/requests/index.d.ts +1 -1
- package/dist/api/resources/dataexports/index.d.ts +1 -1
- package/dist/api/resources/dataexports/types/CreateDataExportResponse.d.ts +1 -4
- package/dist/api/resources/entitlements/client/Client.d.ts +72 -71
- package/dist/api/resources/entitlements/client/requests/CountCompanyOverridesRequest.d.ts +9 -30
- package/dist/api/resources/entitlements/client/requests/CountFeatureCompaniesRequest.d.ts +2 -9
- package/dist/api/resources/entitlements/client/requests/CountFeatureUsageRequest.d.ts +5 -9
- package/dist/api/resources/entitlements/client/requests/CountFeatureUsersRequest.d.ts +2 -9
- package/dist/api/resources/entitlements/client/requests/CountPlanEntitlementsRequest.d.ts +9 -30
- package/dist/api/resources/entitlements/client/requests/CreateCompanyOverrideRequestBody.d.ts +2 -5
- package/dist/api/resources/entitlements/client/requests/CreatePlanEntitlementRequestBody.d.ts +4 -7
- package/dist/api/resources/entitlements/client/requests/DuplicatePlanEntitlementsRequestBody.d.ts +11 -0
- package/dist/api/resources/entitlements/client/requests/GetFeatureUsageByCompanyRequest.d.ts +1 -6
- package/dist/api/resources/entitlements/client/requests/ListCompanyOverridesRequest.d.ts +9 -30
- package/dist/api/resources/entitlements/client/requests/ListFeatureCompaniesRequest.d.ts +2 -9
- package/dist/api/resources/entitlements/client/requests/ListFeatureUsageRequest.d.ts +5 -9
- package/dist/api/resources/entitlements/client/requests/ListFeatureUsersRequest.d.ts +2 -9
- package/dist/api/resources/entitlements/client/requests/ListPlanEntitlementsRequest.d.ts +9 -30
- package/dist/api/resources/entitlements/client/requests/UpdateCompanyOverrideRequestBody.d.ts +2 -5
- package/dist/api/resources/entitlements/client/requests/UpdatePlanEntitlementRequestBody.d.ts +4 -7
- package/dist/api/resources/entitlements/client/requests/index.d.ts +16 -15
- package/dist/api/resources/entitlements/index.d.ts +1 -1
- package/dist/api/resources/entitlements/types/CountCompanyOverridesParams.d.ts +0 -3
- package/dist/api/resources/entitlements/types/CountCompanyOverridesResponse.d.ts +1 -4
- package/dist/api/resources/entitlements/types/CountFeatureCompaniesParams.d.ts +0 -3
- package/dist/api/resources/entitlements/types/CountFeatureCompaniesResponse.d.ts +1 -4
- package/dist/api/resources/entitlements/types/CountFeatureUsageParams.d.ts +2 -3
- package/dist/api/resources/entitlements/types/CountFeatureUsageResponse.d.ts +1 -4
- package/dist/api/resources/entitlements/types/CountFeatureUsersParams.d.ts +0 -3
- package/dist/api/resources/entitlements/types/CountFeatureUsersResponse.d.ts +1 -4
- package/dist/api/resources/entitlements/types/CountPlanEntitlementsParams.d.ts +0 -3
- package/dist/api/resources/entitlements/types/CountPlanEntitlementsResponse.d.ts +1 -4
- package/dist/api/resources/entitlements/types/CreateCompanyOverrideRequestBodyMetricPeriod.d.ts +1 -4
- package/dist/api/resources/entitlements/types/CreateCompanyOverrideRequestBodyMetricPeriodMonthReset.d.ts +1 -4
- package/dist/api/resources/entitlements/types/CreateCompanyOverrideResponse.d.ts +1 -4
- package/dist/api/resources/entitlements/types/CreatePlanEntitlementRequestBodyMetricPeriod.d.ts +1 -4
- package/dist/api/resources/entitlements/types/CreatePlanEntitlementRequestBodyMetricPeriodMonthReset.d.ts +1 -4
- package/dist/api/resources/entitlements/types/CreatePlanEntitlementResponse.d.ts +1 -4
- package/dist/api/resources/entitlements/types/DeleteCompanyOverrideResponse.d.ts +1 -4
- package/dist/api/resources/entitlements/types/DeletePlanEntitlementResponse.d.ts +1 -4
- package/dist/api/resources/entitlements/types/DuplicatePlanEntitlementsResponse.d.ts +6 -0
- package/dist/api/resources/entitlements/types/GetCompanyOverrideResponse.d.ts +1 -4
- package/dist/api/resources/entitlements/types/GetFeatureUsageByCompanyParams.d.ts +0 -3
- package/dist/api/resources/entitlements/types/GetFeatureUsageByCompanyResponse.d.ts +1 -4
- package/dist/api/resources/entitlements/types/GetPlanEntitlementResponse.d.ts +1 -4
- package/dist/api/resources/entitlements/types/ListCompanyOverridesParams.d.ts +0 -3
- package/dist/api/resources/entitlements/types/ListCompanyOverridesResponse.d.ts +1 -4
- package/dist/api/resources/entitlements/types/ListFeatureCompaniesParams.d.ts +0 -3
- package/dist/api/resources/entitlements/types/ListFeatureCompaniesResponse.d.ts +1 -4
- package/dist/api/resources/entitlements/types/ListFeatureUsageParams.d.ts +2 -3
- package/dist/api/resources/entitlements/types/ListFeatureUsageResponse.d.ts +1 -4
- package/dist/api/resources/entitlements/types/ListFeatureUsersParams.d.ts +0 -3
- package/dist/api/resources/entitlements/types/ListFeatureUsersResponse.d.ts +1 -4
- package/dist/api/resources/entitlements/types/ListPlanEntitlementsParams.d.ts +0 -3
- package/dist/api/resources/entitlements/types/ListPlanEntitlementsResponse.d.ts +1 -4
- package/dist/api/resources/entitlements/types/UpdateCompanyOverrideRequestBodyMetricPeriod.d.ts +1 -4
- package/dist/api/resources/entitlements/types/UpdateCompanyOverrideRequestBodyMetricPeriodMonthReset.d.ts +1 -4
- package/dist/api/resources/entitlements/types/UpdateCompanyOverrideResponse.d.ts +1 -4
- package/dist/api/resources/entitlements/types/UpdatePlanEntitlementRequestBodyMetricPeriod.d.ts +1 -4
- package/dist/api/resources/entitlements/types/UpdatePlanEntitlementRequestBodyMetricPeriodMonthReset.d.ts +1 -4
- package/dist/api/resources/entitlements/types/UpdatePlanEntitlementResponse.d.ts +1 -4
- package/dist/api/resources/entitlements/types/index.d.ts +24 -29
- package/dist/api/resources/events/client/Client.d.ts +23 -42
- package/dist/api/resources/events/client/requests/CreateEventBatchRequestBody.d.ts +2 -5
- package/dist/api/resources/events/client/requests/GetEventSummariesRequest.d.ts +2 -9
- package/dist/api/resources/events/client/requests/ListEventsRequest.d.ts +4 -11
- package/dist/api/resources/events/client/requests/index.d.ts +3 -3
- package/dist/api/resources/events/index.d.ts +1 -1
- package/dist/api/resources/events/types/CreateEventBatchResponse.d.ts +1 -4
- package/dist/api/resources/events/types/CreateEventResponse.d.ts +1 -4
- package/dist/api/resources/events/types/GetEventResponse.d.ts +1 -4
- package/dist/api/resources/events/types/GetEventSummariesParams.d.ts +0 -3
- package/dist/api/resources/events/types/GetEventSummariesResponse.d.ts +1 -4
- package/dist/api/resources/events/types/GetSegmentIntegrationStatusResponse.d.ts +1 -4
- package/dist/api/resources/events/types/ListEventsParams.d.ts +2 -5
- package/dist/api/resources/events/types/ListEventsResponse.d.ts +1 -4
- package/dist/api/resources/events/types/index.d.ts +3 -5
- package/dist/api/resources/features/client/Client.d.ts +62 -64
- package/dist/api/resources/features/client/requests/CheckFlagsBulkRequestBody.d.ts +10 -0
- package/dist/api/resources/features/client/requests/CountFeaturesRequest.d.ts +9 -25
- package/dist/api/resources/features/client/requests/CountFlagsRequest.d.ts +3 -12
- package/dist/api/resources/features/client/requests/CreateFeatureRequestBody.d.ts +3 -6
- package/dist/api/resources/features/client/requests/ListFeaturesRequest.d.ts +9 -25
- package/dist/api/resources/features/client/requests/ListFlagsRequest.d.ts +3 -12
- package/dist/api/resources/features/client/requests/UpdateFeatureRequestBody.d.ts +3 -6
- package/dist/api/resources/features/client/requests/UpdateFlagRulesRequestBody.d.ts +1 -4
- package/dist/api/resources/features/client/requests/index.d.ts +8 -7
- package/dist/api/resources/features/index.d.ts +1 -1
- package/dist/api/resources/features/types/CheckFlagResponse.d.ts +1 -4
- package/dist/api/resources/features/types/CheckFlagsBulkResponse.d.ts +6 -0
- package/dist/api/resources/features/types/CheckFlagsResponse.d.ts +1 -4
- package/dist/api/resources/features/types/CountFeaturesParams.d.ts +2 -4
- package/dist/api/resources/features/types/CountFeaturesResponse.d.ts +1 -4
- package/dist/api/resources/features/types/CountFlagsParams.d.ts +0 -3
- package/dist/api/resources/features/types/CountFlagsResponse.d.ts +1 -4
- package/dist/api/resources/features/types/CreateFeatureResponse.d.ts +1 -4
- package/dist/api/resources/features/types/CreateFlagResponse.d.ts +1 -4
- package/dist/api/resources/features/types/DeleteFeatureResponse.d.ts +1 -4
- package/dist/api/resources/features/types/DeleteFlagResponse.d.ts +1 -4
- package/dist/api/resources/features/types/GetFeatureResponse.d.ts +1 -4
- package/dist/api/resources/features/types/GetFlagResponse.d.ts +1 -4
- package/dist/api/resources/features/types/ListFeaturesParams.d.ts +2 -4
- package/dist/api/resources/features/types/ListFeaturesResponse.d.ts +1 -4
- package/dist/api/resources/features/types/ListFlagsParams.d.ts +0 -3
- package/dist/api/resources/features/types/ListFlagsResponse.d.ts +1 -4
- package/dist/api/resources/features/types/UpdateFeatureResponse.d.ts +1 -4
- package/dist/api/resources/features/types/UpdateFlagResponse.d.ts +1 -4
- package/dist/api/resources/features/types/UpdateFlagRulesResponse.d.ts +1 -4
- package/dist/api/resources/features/types/index.d.ts +14 -17
- package/dist/api/resources/index.d.ts +22 -25
- package/dist/api/resources/plangroups/client/Client.d.ts +23 -36
- package/dist/api/resources/plangroups/client/requests/CreatePlanGroupRequestBody.d.ts +11 -6
- package/dist/api/resources/plangroups/client/requests/UpdatePlanGroupRequestBody.d.ts +11 -6
- package/dist/api/resources/plangroups/client/requests/index.d.ts +2 -2
- package/dist/api/resources/plangroups/index.d.ts +1 -1
- package/dist/api/resources/plangroups/types/CreatePlanGroupResponse.d.ts +1 -4
- package/dist/api/resources/plangroups/types/GetPlanGroupResponse.d.ts +1 -4
- package/dist/api/resources/plangroups/types/UpdatePlanGroupResponse.d.ts +1 -4
- package/dist/api/resources/plangroups/types/index.d.ts +1 -1
- package/dist/api/resources/plans/client/Client.d.ts +32 -55
- package/dist/api/resources/plans/client/requests/CountPlansRequest.d.ts +11 -42
- package/dist/api/resources/plans/client/requests/CreatePlanRequestBody.d.ts +2 -5
- package/dist/api/resources/plans/client/requests/ListPlanIssuesRequest.d.ts +0 -3
- package/dist/api/resources/plans/client/requests/ListPlansRequest.d.ts +11 -42
- package/dist/api/resources/plans/client/requests/UpdateCompanyPlansRequestBody.d.ts +0 -3
- package/dist/api/resources/plans/client/requests/UpdatePlanRequestBody.d.ts +0 -3
- package/dist/api/resources/plans/client/requests/UpsertBillingProductRequestBody.d.ts +3 -6
- package/dist/api/resources/plans/client/requests/index.d.ts +7 -7
- package/dist/api/resources/plans/index.d.ts +1 -1
- package/dist/api/resources/plans/types/CountPlansParams.d.ts +2 -10
- package/dist/api/resources/plans/types/CountPlansResponse.d.ts +1 -4
- package/dist/api/resources/plans/types/CreatePlanResponse.d.ts +1 -4
- package/dist/api/resources/plans/types/DeletePlanResponse.d.ts +1 -4
- package/dist/api/resources/plans/types/GetPlanResponse.d.ts +1 -4
- package/dist/api/resources/plans/types/ListPlanIssuesParams.d.ts +0 -3
- package/dist/api/resources/plans/types/ListPlanIssuesResponse.d.ts +1 -4
- package/dist/api/resources/plans/types/ListPlansParams.d.ts +2 -10
- package/dist/api/resources/plans/types/ListPlansResponse.d.ts +1 -4
- package/dist/api/resources/plans/types/UpdateCompanyPlansResponse.d.ts +1 -4
- package/dist/api/resources/plans/types/UpdatePlanResponse.d.ts +1 -4
- package/dist/api/resources/plans/types/UpsertBillingProductPlanResponse.d.ts +1 -4
- package/dist/api/resources/plans/types/index.d.ts +8 -14
- package/dist/api/resources/webhooks/client/Client.d.ts +31 -50
- package/dist/api/resources/webhooks/client/requests/CountWebhookEventsRequest.d.ts +2 -9
- package/dist/api/resources/webhooks/client/requests/CountWebhooksRequest.d.ts +2 -9
- package/dist/api/resources/webhooks/client/requests/CreateWebhookRequestBody.d.ts +3 -6
- package/dist/api/resources/webhooks/client/requests/ListWebhookEventsRequest.d.ts +2 -9
- package/dist/api/resources/webhooks/client/requests/ListWebhooksRequest.d.ts +2 -9
- package/dist/api/resources/webhooks/client/requests/UpdateWebhookRequestBody.d.ts +3 -6
- package/dist/api/resources/webhooks/client/requests/index.d.ts +6 -6
- package/dist/api/resources/webhooks/index.d.ts +1 -1
- package/dist/api/resources/webhooks/types/CountWebhookEventsParams.d.ts +0 -3
- package/dist/api/resources/webhooks/types/CountWebhookEventsResponse.d.ts +1 -4
- package/dist/api/resources/webhooks/types/CountWebhooksParams.d.ts +0 -3
- package/dist/api/resources/webhooks/types/CountWebhooksResponse.d.ts +1 -4
- package/dist/api/resources/webhooks/types/CreateWebhookResponse.d.ts +1 -4
- package/dist/api/resources/webhooks/types/DeleteWebhookResponse.d.ts +1 -4
- package/dist/api/resources/webhooks/types/GetWebhookEventResponse.d.ts +1 -4
- package/dist/api/resources/webhooks/types/GetWebhookResponse.d.ts +1 -4
- package/dist/api/resources/webhooks/types/ListWebhookEventsParams.d.ts +0 -3
- package/dist/api/resources/webhooks/types/ListWebhookEventsResponse.d.ts +1 -4
- package/dist/api/resources/webhooks/types/ListWebhooksParams.d.ts +0 -3
- package/dist/api/resources/webhooks/types/ListWebhooksResponse.d.ts +1 -4
- package/dist/api/resources/webhooks/types/UpdateWebhookResponse.d.ts +1 -4
- package/dist/api/resources/webhooks/types/index.d.ts +8 -11
- package/dist/api/types/ApiError.d.ts +0 -3
- package/dist/api/types/ApiKeyCreateResponseData.d.ts +2 -4
- package/dist/api/types/ApiKeyRequestListResponseData.d.ts +0 -3
- package/dist/api/types/ApiKeyRequestResponseData.d.ts +1 -4
- package/dist/api/types/ApiKeyResponseData.d.ts +2 -4
- package/dist/api/types/ApiKeyScope.d.ts +7 -0
- package/dist/api/types/BillingCouponResponseData.d.ts +2 -3
- package/dist/api/types/BillingCreditBundleResponseData.d.ts +5 -8
- package/dist/api/types/BillingCreditBundleStatus.d.ts +5 -0
- package/dist/api/types/BillingCreditBundleType.d.ts +1 -0
- package/dist/api/types/BillingCreditBundleView.d.ts +5 -8
- package/dist/api/types/BillingCreditBurnStrategy.d.ts +7 -0
- package/dist/api/types/BillingCreditExpiryType.d.ts +8 -0
- package/dist/api/types/BillingCreditExpiryUnit.d.ts +5 -0
- package/dist/api/types/BillingCreditGrantReason.d.ts +7 -0
- package/dist/api/types/BillingCreditGrantResponseData.d.ts +4 -6
- package/dist/api/types/BillingCreditGrantZeroedOutReason.d.ts +7 -0
- package/dist/api/types/BillingCreditLedgerResponseData.d.ts +0 -3
- package/dist/api/types/BillingCreditResponseData.d.ts +4 -7
- package/dist/api/types/BillingCreditRolloverPolicy.d.ts +6 -0
- package/dist/api/types/BillingCustomerResponseData.d.ts +2 -3
- package/dist/api/types/BillingCustomerSubscription.d.ts +0 -3
- package/dist/api/types/BillingCustomerWithSubscriptionsResponseData.d.ts +2 -4
- package/dist/api/types/BillingMeterResponseData.d.ts +2 -3
- package/dist/api/types/BillingPlanCreditGrantResetCadence.d.ts +7 -0
- package/dist/api/types/BillingPlanCreditGrantResetStart.d.ts +5 -0
- package/dist/api/types/BillingPlanCreditGrantResetType.d.ts +5 -0
- package/dist/api/types/BillingPlanCreditGrantResponseData.d.ts +8 -10
- package/dist/api/types/BillingPriceResponseData.d.ts +4 -5
- package/dist/api/types/BillingPriceScheme.d.ts +5 -0
- package/dist/api/types/BillingPriceUsageType.d.ts +5 -0
- package/dist/api/types/BillingPriceView.d.ts +6 -8
- package/dist/api/types/BillingProductDetailResponseData.d.ts +2 -4
- package/dist/api/types/BillingProductForSubscriptionResponseData.d.ts +4 -6
- package/dist/api/types/BillingProductPlanResponseData.d.ts +3 -5
- package/dist/api/types/BillingProductPriceInterval.d.ts +7 -0
- package/dist/api/types/BillingProductPriceResponseData.d.ts +6 -7
- package/dist/api/types/BillingProductPriceTierResponseData.d.ts +0 -3
- package/dist/api/types/BillingProductPricing.d.ts +2 -5
- package/dist/api/types/BillingProductResponseData.d.ts +2 -3
- package/dist/api/types/BillingProviderType.d.ts +5 -0
- package/dist/api/types/BillingSubscriptionDiscount.d.ts +0 -3
- package/dist/api/types/BillingSubscriptionDiscountView.d.ts +0 -3
- package/dist/api/types/BillingSubscriptionResponseData.d.ts +4 -4
- package/dist/api/types/BillingSubscriptionTrialEndSetting.d.ts +5 -0
- package/dist/api/types/BillingSubscriptionView.d.ts +4 -5
- package/dist/api/types/BillingTiersMode.d.ts +5 -0
- package/dist/api/types/ChangeSubscriptionInternalRequestBody.d.ts +1 -4
- package/dist/api/types/ChangeSubscriptionRequestBody.d.ts +1 -4
- package/dist/api/types/ChargeType.d.ts +6 -0
- package/dist/api/types/CheckFlagRequestBody.d.ts +0 -3
- package/dist/api/types/CheckFlagResponseData.d.ts +0 -3
- package/dist/api/types/CheckFlagsBulkResponseData.d.ts +4 -0
- package/dist/api/types/CheckFlagsResponseData.d.ts +1 -4
- package/dist/api/types/CheckoutDataResponseData.d.ts +1 -4
- package/dist/api/types/CheckoutSettingsResponseData.d.ts +0 -3
- package/dist/api/types/CheckoutSubscription.d.ts +4 -4
- package/dist/api/types/CompanyDetailResponseData.d.ts +1 -4
- package/dist/api/types/CompanyEventPeriodMetricsResponseData.d.ts +0 -3
- package/dist/api/types/CompanyLedgerResponseData.d.ts +0 -3
- package/dist/api/types/CompanyMembershipDetailResponseData.d.ts +1 -4
- package/dist/api/types/CompanyMembershipResponseData.d.ts +0 -3
- package/dist/api/types/CompanyOverrideNoteResponseData.d.ts +0 -3
- package/dist/api/types/CompanyOverrideResponseData.d.ts +2 -5
- package/dist/api/types/CompanyPlanDetailResponseData.d.ts +5 -7
- package/dist/api/types/CompanyPlanInvalidReason.d.ts +5 -0
- package/dist/api/types/CompanyPlanWithBillingSubView.d.ts +2 -3
- package/dist/api/types/CompanyResponseData.d.ts +0 -3
- package/dist/api/types/CompanySubscriptionResponseData.d.ts +1 -4
- package/dist/api/types/CompanyViewWithFeatureUsageResponseData.d.ts +1 -4
- package/dist/api/types/CompatiblePlans.d.ts +0 -3
- package/dist/api/types/CompatiblePlansResponseData.d.ts +0 -3
- package/dist/api/types/ComponentCapabilities.d.ts +0 -3
- package/dist/api/types/ComponentCheckoutSettings.d.ts +0 -3
- package/dist/api/types/ComponentDisplaySettings.d.ts +6 -0
- package/dist/api/types/ComponentEntityType.d.ts +5 -0
- package/dist/api/types/ComponentHydrateResponseData.d.ts +6 -4
- package/dist/api/types/ComponentPreviewResponseData.d.ts +6 -4
- package/dist/api/types/ComponentResponseData.d.ts +3 -5
- package/dist/api/types/ComponentSettingsResponseData.d.ts +6 -0
- package/dist/api/types/ComponentState.d.ts +5 -0
- package/dist/api/types/Condition.d.ts +1 -4
- package/dist/api/types/ConditionConditionType.d.ts +1 -4
- package/dist/api/types/ConditionGroup.d.ts +1 -4
- package/dist/api/types/ConditionMetricPeriod.d.ts +1 -4
- package/dist/api/types/ConditionMetricPeriodMonthReset.d.ts +1 -4
- package/dist/api/types/ConditionOperator.d.ts +1 -4
- package/dist/api/types/CountResponse.d.ts +0 -3
- package/dist/api/types/CouponRequestBody.d.ts +0 -3
- package/dist/api/types/CreateBillingPriceTierRequestBody.d.ts +2 -3
- package/dist/api/types/CreateEntitlementReqCommon.d.ts +2 -5
- package/dist/api/types/CreateEntitlementReqCommonMetricPeriod.d.ts +1 -4
- package/dist/api/types/CreateEntitlementReqCommonMetricPeriodMonthReset.d.ts +1 -4
- package/dist/api/types/CreateEventRequestBody.d.ts +2 -6
- package/dist/api/types/CreateFlagRequestBody.d.ts +2 -4
- package/dist/api/types/CreateOrUpdateConditionGroupRequestBody.d.ts +1 -4
- package/dist/api/types/CreateOrUpdateConditionRequestBody.d.ts +1 -4
- package/dist/api/types/CreateOrUpdateConditionRequestBodyConditionType.d.ts +1 -5
- package/dist/api/types/CreateOrUpdateConditionRequestBodyMetricPeriod.d.ts +2 -7
- package/dist/api/types/CreateOrUpdateConditionRequestBodyMetricPeriodMonthReset.d.ts +2 -7
- package/dist/api/types/CreateOrUpdateConditionRequestBodyOperator.d.ts +1 -4
- package/dist/api/types/CreateOrUpdateFlagRequestBody.d.ts +2 -4
- package/dist/api/types/CreateOrUpdateRuleRequestBody.d.ts +1 -4
- package/dist/api/types/CreateOrUpdateRuleRequestBodyRuleType.d.ts +1 -4
- package/dist/api/types/CreatePriceTierRequestBody.d.ts +0 -3
- package/dist/api/types/CreditAutoTopupAmountType.d.ts +1 -0
- package/dist/api/types/CreditBundlePurchaseResponseData.d.ts +1 -4
- package/dist/api/types/CreditCompanyGrantView.d.ts +7 -8
- package/dist/api/types/CreditGrantDetail.d.ts +2 -5
- package/dist/api/types/CreditGrantExpiryRequestBody.d.ts +6 -9
- package/dist/api/types/CreditGrantSortOrder.d.ts +7 -0
- package/dist/api/types/CreditLedgerEnrichedEntryResponseData.d.ts +1 -4
- package/dist/api/types/CreditLedgerPeriod.d.ts +7 -0
- package/dist/api/types/CreditTransferResponseData.d.ts +8 -0
- package/dist/api/types/CreditTransferView.d.ts +8 -0
- package/dist/api/types/CreditTriggerConfig.d.ts +0 -3
- package/dist/api/types/CreditUsage.d.ts +2 -4
- package/dist/api/types/CreditUsageAggregation.d.ts +10 -0
- package/dist/api/types/CreditUsageResponseData.d.ts +2 -4
- package/dist/api/types/CustomPlanConfig.d.ts +0 -3
- package/dist/api/types/CustomPlanViewConfigResponseData.d.ts +0 -3
- package/dist/api/types/DataExportOutputFileType.d.ts +1 -0
- package/dist/api/types/DataExportResponseData.d.ts +4 -6
- package/dist/api/types/DataExportStatus.d.ts +6 -0
- package/dist/api/types/DataExportType.d.ts +1 -0
- package/dist/api/types/DeleteResponse.d.ts +0 -3
- package/dist/api/types/DuplicatePlanEntitlementsResponseResponseData.d.ts +5 -0
- package/dist/api/types/EntitlementPriceBehavior.d.ts +8 -0
- package/dist/api/types/EntitlementTriggerConfig.d.ts +0 -3
- package/dist/api/types/EntitlementType.d.ts +6 -0
- package/dist/api/types/EntitlementValueType.d.ts +9 -0
- package/dist/api/types/EntitlementsInPlan.d.ts +0 -3
- package/dist/api/types/EntityKeyDefinitionResponseData.d.ts +2 -4
- package/dist/api/types/EntityKeyDetailResponseData.d.ts +2 -5
- package/dist/api/types/EntityKeyResponseData.d.ts +2 -4
- package/dist/api/types/EntityTraitDefinitionResponseData.d.ts +3 -5
- package/dist/api/types/EntityTraitDetailResponseData.d.ts +1 -4
- package/dist/api/types/EntityTraitResponseData.d.ts +0 -3
- package/dist/api/types/EntityTraitValue.d.ts +0 -3
- package/dist/api/types/EntityType.d.ts +5 -0
- package/dist/api/types/EnvironmentDetailResponseData.d.ts +2 -5
- package/dist/api/types/EnvironmentResponseData.d.ts +2 -4
- package/dist/api/types/EnvironmentType.d.ts +6 -0
- package/dist/api/types/EventBody.d.ts +1 -4
- package/dist/api/types/EventBodyFlagCheck.d.ts +0 -3
- package/dist/api/types/EventBodyIdentify.d.ts +1 -4
- package/dist/api/types/EventBodyIdentifyCompany.d.ts +0 -3
- package/dist/api/types/EventBodyTrack.d.ts +0 -3
- package/dist/api/types/EventDetailResponseData.d.ts +3 -6
- package/dist/api/types/EventResponseData.d.ts +3 -5
- package/dist/api/types/EventStatus.d.ts +8 -0
- package/dist/api/types/EventSummaryResponseData.d.ts +0 -3
- package/dist/api/types/EventType.d.ts +6 -0
- package/dist/api/types/FeatureCompanyResponseData.d.ts +9 -12
- package/dist/api/types/FeatureCompanyUserResponseData.d.ts +3 -7
- package/dist/api/types/FeatureDetailResponseData.d.ts +3 -6
- package/dist/api/types/FeatureLedgerResponseData.d.ts +0 -3
- package/dist/api/{resources/features/types/CreateFeatureRequestBodyLifecyclePhase.d.ts → types/FeatureLifecyclePhase.d.ts} +3 -6
- package/dist/api/types/FeatureResponseData.d.ts +3 -5
- package/dist/api/types/FeatureType.d.ts +6 -0
- package/dist/api/types/FeatureUsageDataResponseData.d.ts +2 -5
- package/dist/api/types/FeatureUsageDetailResponseData.d.ts +1 -4
- package/dist/api/types/FeatureUsageResponseData.d.ts +9 -12
- package/dist/api/types/FlagDetailResponseData.d.ts +2 -5
- package/dist/api/types/FlagResponseData.d.ts +2 -4
- package/dist/api/types/FlagType.d.ts +1 -0
- package/dist/api/types/GenericPreviewObject.d.ts +0 -3
- package/dist/api/types/InvoiceRequestBody.d.ts +0 -3
- package/dist/api/types/InvoiceResponseData.d.ts +2 -3
- package/dist/api/types/IssueTemporaryAccessTokenResponseData.d.ts +2 -4
- package/dist/api/types/KeysRequestBody.d.ts +0 -3
- package/dist/api/types/ManagePlanPreviewResponseResponseData.d.ts +1 -4
- package/dist/api/types/ManagePlanRequest.d.ts +6 -4
- package/dist/api/types/ManagePlanResponseResponseData.d.ts +1 -4
- package/dist/api/types/MeterRequestBody.d.ts +0 -3
- package/dist/api/types/OrderedPlansInGroup.d.ts +1 -4
- package/dist/api/types/PaymentMethodRequestBody.d.ts +0 -3
- package/dist/api/types/PaymentMethodResponseData.d.ts +2 -3
- package/dist/api/types/{PlanChangeResponseDataAction.d.ts → PlanChangeAction.d.ts} +3 -5
- package/dist/api/types/PlanChangeActorType.d.ts +7 -0
- package/dist/api/types/PlanChangeBasePlanAction.d.ts +7 -0
- package/dist/api/types/PlanChangeResponseData.d.ts +5 -10
- package/dist/api/types/PlanChangeSubscriptionAction.d.ts +9 -0
- package/dist/api/types/PlanControlledByType.d.ts +5 -0
- package/dist/api/types/PlanCreditGrantView.d.ts +8 -10
- package/dist/api/types/PlanDetailResponseData.d.ts +4 -7
- package/dist/api/types/PlanEntitlementResponseData.d.ts +3 -6
- package/dist/api/types/PlanEntitlementsOrder.d.ts +0 -3
- package/dist/api/types/PlanGroupBundleOrder.d.ts +0 -3
- package/dist/api/types/PlanGroupDetailResponseData.d.ts +10 -7
- package/dist/api/types/PlanGroupPlanDetailResponseData.d.ts +4 -7
- package/dist/api/types/PlanGroupPlanEntitlementsOrder.d.ts +1 -4
- package/dist/api/types/PlanGroupResponseData.d.ts +8 -5
- package/dist/api/types/PlanIssueResponseData.d.ts +0 -3
- package/dist/api/types/PlanResponseData.d.ts +2 -4
- package/dist/api/types/PlanSelection.d.ts +0 -3
- package/dist/api/types/PlanSnapshotView.d.ts +0 -3
- package/dist/api/types/PlanTraitResponseData.d.ts +0 -3
- package/dist/api/types/PlanType.d.ts +5 -0
- package/dist/api/types/PreviewObject.d.ts +0 -3
- package/dist/api/types/PreviewObjectResponseData.d.ts +0 -3
- package/dist/api/types/PreviewSubscriptionChangeResponseData.d.ts +1 -4
- package/dist/api/types/PreviewSubscriptionFinanceResponseData.d.ts +2 -4
- package/dist/api/types/PreviewSubscriptionUpcomingInvoiceLineItems.d.ts +0 -3
- package/dist/api/types/ProrationBehavior.d.ts +5 -0
- package/dist/api/types/QuickstartResp.d.ts +0 -3
- package/dist/api/types/RawEventBatchResponseData.d.ts +1 -4
- package/dist/api/types/RawEventResponseData.d.ts +0 -3
- package/dist/api/types/Rule.d.ts +1 -4
- package/dist/api/types/RuleConditionDetailResponseData.d.ts +2 -5
- package/dist/api/types/RuleConditionGroupDetailResponseData.d.ts +1 -4
- package/dist/api/types/RuleConditionGroupResponseData.d.ts +0 -3
- package/dist/api/types/RuleConditionResponseData.d.ts +2 -4
- package/dist/api/types/RuleDetailResponseData.d.ts +1 -4
- package/dist/api/types/RuleResponseData.d.ts +0 -3
- package/dist/api/types/RuleRuleType.d.ts +1 -4
- package/dist/api/types/RulesDetailResponseData.d.ts +1 -4
- package/dist/api/types/RulesEngineSchemaVersion.d.ts +6 -0
- package/dist/api/types/RulesengineCheckFlagResult.d.ts +17 -0
- package/dist/api/types/RulesengineCheckFlagResultFeatureUsagePeriod.d.ts +7 -0
- package/dist/api/types/RulesengineCheckFlagResultRuleType.d.ts +10 -0
- package/dist/api/types/RulesengineCompany.d.ts +16 -0
- package/dist/api/types/RulesengineCompanyMetric.d.ts +12 -0
- package/dist/api/types/RulesengineCompanyMetricMonthReset.d.ts +5 -0
- package/dist/api/types/RulesengineCompanyMetricPeriod.d.ts +7 -0
- package/dist/api/types/RulesengineCondition.d.ts +18 -0
- package/dist/api/types/RulesengineConditionConditionType.d.ts +12 -0
- package/dist/api/types/RulesengineConditionGroup.d.ts +4 -0
- package/dist/api/types/RulesengineConditionMetricPeriod.d.ts +7 -0
- package/dist/api/types/RulesengineConditionMetricPeriodMonthReset.d.ts +5 -0
- package/dist/api/types/RulesengineConditionOperator.d.ts +11 -0
- package/dist/api/types/RulesengineEntityType.d.ts +5 -0
- package/dist/api/types/RulesengineFlag.d.ts +9 -0
- package/dist/api/types/RulesengineRule.d.ts +13 -0
- package/dist/api/types/RulesengineRuleRuleType.d.ts +10 -0
- package/dist/api/types/RulesengineSubscription.d.ts +5 -0
- package/dist/api/types/RulesengineTrait.d.ts +5 -0
- package/dist/api/types/RulesengineTraitDefinition.d.ts +6 -0
- package/dist/api/types/RulesengineTraitDefinitionComparableType.d.ts +7 -0
- package/dist/api/types/RulesengineUser.d.ts +9 -0
- package/dist/api/types/SegmentStatusResp.d.ts +0 -3
- package/dist/api/types/SkippedEntitlementErrorResponseData.d.ts +3 -0
- package/dist/api/types/SkippedEntitlementResponseData.d.ts +7 -0
- package/dist/api/types/SortDirection.d.ts +5 -0
- package/dist/api/types/StripeEmbedInfo.d.ts +0 -3
- package/dist/api/types/SubscriptionStatus.d.ts +12 -0
- package/dist/api/types/SubscriptionTraitUpdate.d.ts +2 -4
- package/dist/api/types/SubscriptionType.d.ts +7 -0
- package/dist/api/types/TemporaryAccessTokenResourceType.d.ts +1 -0
- package/dist/api/types/TemporaryAccessTokenResponseData.d.ts +2 -4
- package/dist/api/types/TraitDefinition.d.ts +2 -5
- package/dist/api/types/TraitDefinitionComparableType.d.ts +1 -4
- package/dist/api/types/TraitType.d.ts +9 -0
- package/dist/api/types/UpdateAddOnRequestBody.d.ts +0 -3
- package/dist/api/types/UpdateCreditBundleRequestBody.d.ts +0 -3
- package/dist/api/types/UpdateEntitlementReqCommon.d.ts +2 -5
- package/dist/api/types/UpdateEntitlementReqCommonMetricPeriod.d.ts +1 -4
- package/dist/api/types/UpdateEntitlementReqCommonMetricPeriodMonthReset.d.ts +1 -4
- package/dist/api/types/UpdatePayInAdvanceRequestBody.d.ts +0 -3
- package/dist/api/types/UpdatePlanTraitTraitRequestBody.d.ts +0 -3
- package/dist/api/types/UpdateRuleRequestBody.d.ts +1 -4
- package/dist/api/types/UpsertCompanyRequestBody.d.ts +0 -3
- package/dist/api/types/UpsertTraitRequestBody.d.ts +0 -3
- package/dist/api/types/UpsertUserRequestBody.d.ts +0 -3
- package/dist/api/types/UpsertUserSubRequestBody.d.ts +0 -3
- package/dist/api/types/UsageBasedEntitlementRequestBody.d.ts +3 -6
- package/dist/api/types/UsageBasedEntitlementResponseData.d.ts +3 -6
- package/dist/api/types/UserDetailResponseData.d.ts +1 -4
- package/dist/api/types/UserResponseData.d.ts +0 -3
- package/dist/api/types/WebhookEventDetailResponseData.d.ts +3 -6
- package/dist/api/types/WebhookEventResponseData.d.ts +3 -5
- package/dist/api/types/WebhookEventStatus.d.ts +6 -0
- package/dist/api/{resources/webhooks/types/CreateWebhookRequestBodyRequestTypesItem.d.ts → types/WebhookRequestType.d.ts} +30 -31
- package/dist/api/types/WebhookResponseData.d.ts +3 -6
- package/dist/api/types/WebhookStatus.d.ts +5 -0
- package/dist/api/types/index.d.ts +99 -41
- package/dist/auth/HeaderAuthProvider.d.ts +16 -0
- package/dist/auth/index.d.ts +1 -0
- package/dist/cache.d.ts +1 -1
- package/dist/core/auth/AuthProvider.d.ts +7 -0
- package/dist/core/auth/AuthRequest.d.ts +9 -0
- package/dist/core/auth/BasicAuth.d.ts +8 -0
- package/dist/core/auth/BearerToken.d.ts +7 -0
- package/dist/core/auth/NoOpAuthProvider.d.ts +5 -0
- package/dist/core/auth/index.d.ts +5 -0
- package/dist/core/base64.d.ts +2 -0
- package/dist/core/exports.d.ts +1 -0
- package/dist/core/fetcher/APIResponse.d.ts +1 -1
- package/dist/core/fetcher/BinaryResponse.d.ts +19 -0
- package/dist/core/fetcher/EndpointMetadata.d.ts +13 -0
- package/dist/core/fetcher/EndpointSupplier.d.ts +12 -0
- package/dist/core/fetcher/Fetcher.d.ts +16 -6
- package/dist/core/fetcher/HttpResponsePromise.d.ts +1 -1
- package/dist/core/fetcher/createRequestUrl.d.ts +1 -1
- package/dist/core/fetcher/getErrorResponseBody.d.ts +1 -0
- package/dist/core/fetcher/getRequestBody.d.ts +1 -1
- package/dist/core/fetcher/index.d.ts +7 -4
- package/dist/core/fetcher/makeRequest.d.ts +1 -1
- package/dist/core/fetcher/signals.d.ts +1 -7
- package/dist/core/fetcher/stream-wrappers/Node18UniversalStreamWrapper.d.ts +1 -1
- package/dist/core/fetcher/stream-wrappers/NodePre18StreamWrapper.d.ts +1 -1
- package/dist/core/fetcher/stream-wrappers/UndiciStreamWrapper.d.ts +1 -1
- package/dist/core/headers.d.ts +2 -0
- package/dist/core/index.d.ts +4 -0
- package/dist/core/logging/exports.d.ts +18 -0
- package/dist/core/logging/index.d.ts +1 -0
- package/dist/core/logging/logger.d.ts +126 -0
- package/dist/core/schemas/Schema.d.ts +2 -1
- package/dist/core/schemas/builders/bigint/bigint.d.ts +1 -1
- package/dist/core/schemas/builders/date/date.d.ts +1 -1
- package/dist/core/schemas/builders/enum/enum.d.ts +1 -1
- package/dist/core/schemas/builders/index.d.ts +14 -14
- package/dist/core/schemas/builders/lazy/index.d.ts +1 -1
- package/dist/core/schemas/builders/lazy/lazy.d.ts +1 -1
- package/dist/core/schemas/builders/lazy/lazyObject.d.ts +2 -2
- package/dist/core/schemas/builders/list/list.d.ts +1 -1
- package/dist/core/schemas/builders/literals/booleanLiteral.d.ts +1 -1
- package/dist/core/schemas/builders/literals/index.d.ts +1 -1
- package/dist/core/schemas/builders/literals/stringLiteral.d.ts +1 -1
- package/dist/core/schemas/builders/object/index.d.ts +2 -2
- package/dist/core/schemas/builders/object/object.d.ts +1 -1
- package/dist/core/schemas/builders/object/objectWithoutOptionalProperties.d.ts +1 -1
- package/dist/core/schemas/builders/object/property.d.ts +1 -1
- package/dist/core/schemas/builders/object/types.d.ts +5 -5
- package/dist/core/schemas/builders/object-like/getObjectLikeUtils.d.ts +2 -2
- package/dist/core/schemas/builders/object-like/types.d.ts +1 -1
- package/dist/core/schemas/builders/primitives/any.d.ts +2 -1
- package/dist/core/schemas/builders/primitives/boolean.d.ts +2 -1
- package/dist/core/schemas/builders/primitives/index.d.ts +1 -0
- package/dist/core/schemas/builders/primitives/never.d.ts +2 -0
- package/dist/core/schemas/builders/primitives/number.d.ts +2 -1
- package/dist/core/schemas/builders/primitives/string.d.ts +2 -1
- package/dist/core/schemas/builders/primitives/unknown.d.ts +2 -1
- package/dist/core/schemas/builders/record/record.d.ts +2 -2
- package/dist/core/schemas/builders/record/types.d.ts +2 -2
- package/dist/core/schemas/builders/schema-utils/JsonError.d.ts +1 -1
- package/dist/core/schemas/builders/schema-utils/ParseError.d.ts +1 -1
- package/dist/core/schemas/builders/schema-utils/getSchemaUtils.d.ts +1 -1
- package/dist/core/schemas/builders/schema-utils/index.d.ts +1 -1
- package/dist/core/schemas/builders/schema-utils/stringifyValidationErrors.d.ts +1 -1
- package/dist/core/schemas/builders/set/set.d.ts +1 -1
- package/dist/core/schemas/builders/undiscriminated-union/types.d.ts +1 -1
- package/dist/core/schemas/builders/undiscriminated-union/undiscriminatedUnion.d.ts +2 -2
- package/dist/core/schemas/builders/union/index.d.ts +1 -1
- package/dist/core/schemas/builders/union/types.d.ts +2 -2
- package/dist/core/schemas/builders/union/union.d.ts +3 -3
- package/dist/core/schemas/index.d.ts +1 -1
- package/dist/core/schemas/utils/createIdentitySchemaCreator.d.ts +1 -1
- package/dist/core/schemas/utils/maybeSkipValidation.d.ts +1 -1
- package/dist/core/url/encodePathParam.d.ts +1 -0
- package/dist/core/url/index.d.ts +3 -0
- package/dist/core/url/join.d.ts +1 -0
- package/dist/core/url/qs.d.ts +6 -0
- package/dist/environments.d.ts +0 -3
- package/dist/errors/SchematicError.d.ts +1 -4
- package/dist/errors/SchematicTimeoutError.d.ts +0 -3
- package/dist/errors/handleNonStatusCodeError.d.ts +2 -0
- package/dist/events.d.ts +2 -2
- package/dist/exports.d.ts +1 -0
- package/dist/index.js +3 -3
- package/dist/serialization/resources/accesstokens/client/requests/IssueTemporaryAccessTokenRequestBody.d.ts +2 -6
- package/dist/serialization/resources/accesstokens/index.d.ts +1 -1
- package/dist/serialization/resources/accesstokens/types/IssueTemporaryAccessTokenResponse.d.ts +2 -5
- package/dist/serialization/resources/accounts/client/requests/CreateApiKeyRequestBody.d.ts +2 -5
- package/dist/serialization/resources/accounts/client/requests/CreateEnvironmentRequestBody.d.ts +4 -7
- package/dist/serialization/resources/accounts/client/requests/UpdateApiKeyRequestBody.d.ts +2 -5
- package/dist/serialization/resources/accounts/client/requests/UpdateEnvironmentRequestBody.d.ts +4 -7
- package/dist/serialization/resources/accounts/client/requests/index.d.ts +1 -1
- package/dist/serialization/resources/accounts/index.d.ts +1 -1
- package/dist/serialization/resources/accounts/types/CountApiKeysParams.d.ts +2 -5
- package/dist/serialization/resources/accounts/types/CountApiKeysResponse.d.ts +2 -5
- package/dist/serialization/resources/accounts/types/CountApiRequestsParams.d.ts +2 -5
- package/dist/serialization/resources/accounts/types/CountApiRequestsResponse.d.ts +2 -5
- package/dist/serialization/resources/accounts/types/CreateApiKeyResponse.d.ts +2 -5
- package/dist/serialization/resources/accounts/types/CreateEnvironmentResponse.d.ts +2 -5
- package/dist/serialization/resources/accounts/types/DeleteApiKeyResponse.d.ts +2 -5
- package/dist/serialization/resources/accounts/types/DeleteEnvironmentResponse.d.ts +2 -5
- package/dist/serialization/resources/accounts/types/GetApiKeyResponse.d.ts +2 -5
- package/dist/serialization/resources/accounts/types/GetApiRequestResponse.d.ts +2 -5
- package/dist/serialization/resources/accounts/types/GetEnvironmentResponse.d.ts +2 -5
- package/dist/serialization/resources/accounts/types/ListApiKeysParams.d.ts +2 -5
- package/dist/serialization/resources/accounts/types/ListApiKeysResponse.d.ts +2 -5
- package/dist/serialization/resources/accounts/types/ListApiRequestsParams.d.ts +2 -5
- package/dist/serialization/resources/accounts/types/ListApiRequestsResponse.d.ts +2 -5
- package/dist/serialization/resources/accounts/types/ListEnvironmentsParams.d.ts +2 -5
- package/dist/serialization/resources/accounts/types/ListEnvironmentsResponse.d.ts +2 -5
- package/dist/serialization/resources/accounts/types/QuickstartResponse.d.ts +2 -5
- package/dist/serialization/resources/accounts/types/UpdateApiKeyResponse.d.ts +2 -5
- package/dist/serialization/resources/accounts/types/UpdateEnvironmentResponse.d.ts +2 -5
- package/dist/serialization/resources/accounts/types/index.d.ts +13 -15
- package/dist/serialization/resources/billing/client/requests/CreateBillingCustomerRequestBody.d.ts +4 -5
- package/dist/serialization/resources/billing/client/requests/CreateBillingPriceRequestBody.d.ts +10 -11
- package/dist/serialization/resources/billing/client/requests/CreateBillingProductRequestBody.d.ts +4 -5
- package/dist/serialization/resources/billing/client/requests/CreateBillingSubscriptionRequestBody.d.ts +6 -8
- package/dist/serialization/resources/billing/client/requests/CreateCouponRequestBody.d.ts +2 -5
- package/dist/serialization/resources/billing/client/requests/CreateInvoiceRequestBody.d.ts +2 -5
- package/dist/serialization/resources/billing/client/requests/CreateMeterRequestBody.d.ts +2 -5
- package/dist/serialization/resources/billing/client/requests/CreatePaymentMethodRequestBody.d.ts +2 -5
- package/dist/serialization/resources/billing/client/requests/index.d.ts +4 -4
- package/dist/serialization/resources/billing/index.d.ts +1 -1
- package/dist/serialization/resources/billing/types/CountBillingProductsParams.d.ts +6 -7
- package/dist/serialization/resources/billing/types/CountBillingProductsResponse.d.ts +2 -5
- package/dist/serialization/resources/billing/types/CountCustomersParams.d.ts +4 -5
- package/dist/serialization/resources/billing/types/CountCustomersResponse.d.ts +2 -5
- package/dist/serialization/resources/billing/types/DeleteBillingProductResponse.d.ts +2 -5
- package/dist/serialization/resources/billing/types/DeleteProductPriceResponse.d.ts +2 -5
- package/dist/serialization/resources/billing/types/ListBillingPricesParams.d.ts +26 -0
- package/dist/serialization/resources/billing/types/ListBillingPricesResponse.d.ts +12 -0
- package/dist/serialization/resources/billing/types/ListBillingProductPricesParams.d.ts +26 -0
- package/dist/serialization/resources/billing/types/ListBillingProductPricesResponse.d.ts +12 -0
- package/dist/serialization/resources/billing/types/ListBillingProductsParams.d.ts +6 -7
- package/dist/serialization/resources/billing/types/ListBillingProductsResponse.d.ts +2 -5
- package/dist/serialization/resources/billing/types/ListCouponsParams.d.ts +2 -5
- package/dist/serialization/resources/billing/types/ListCouponsResponse.d.ts +2 -5
- package/dist/serialization/resources/billing/types/ListCustomersWithSubscriptionsParams.d.ts +4 -5
- package/dist/serialization/resources/billing/types/ListCustomersWithSubscriptionsResponse.d.ts +2 -5
- package/dist/serialization/resources/billing/types/ListInvoicesParams.d.ts +2 -5
- package/dist/serialization/resources/billing/types/ListInvoicesResponse.d.ts +2 -5
- package/dist/serialization/resources/billing/types/ListMetersParams.d.ts +2 -5
- package/dist/serialization/resources/billing/types/ListMetersResponse.d.ts +2 -5
- package/dist/serialization/resources/billing/types/ListPaymentMethodsParams.d.ts +2 -5
- package/dist/serialization/resources/billing/types/ListPaymentMethodsResponse.d.ts +2 -5
- package/dist/serialization/resources/billing/types/UpsertBillingCouponResponse.d.ts +2 -5
- package/dist/serialization/resources/billing/types/UpsertBillingCustomerResponse.d.ts +2 -5
- package/dist/serialization/resources/billing/types/UpsertBillingMeterResponse.d.ts +2 -5
- package/dist/serialization/resources/billing/types/UpsertBillingPriceResponse.d.ts +2 -5
- package/dist/serialization/resources/billing/types/UpsertBillingProductResponse.d.ts +2 -5
- package/dist/serialization/resources/billing/types/UpsertBillingSubscriptionResponse.d.ts +2 -5
- package/dist/serialization/resources/billing/types/UpsertInvoiceResponse.d.ts +2 -5
- package/dist/serialization/resources/billing/types/UpsertPaymentMethodResponse.d.ts +2 -5
- package/dist/serialization/resources/billing/types/index.d.ts +17 -31
- package/dist/serialization/resources/checkout/client/requests/CancelSubscriptionRequest.d.ts +11 -0
- package/dist/serialization/resources/checkout/client/requests/CheckoutDataRequestBody.d.ts +2 -5
- package/dist/serialization/resources/checkout/client/requests/UpdateTrialEndRequestBody.d.ts +2 -5
- package/dist/serialization/resources/checkout/client/requests/index.d.ts +1 -0
- package/dist/serialization/resources/checkout/index.d.ts +1 -1
- package/dist/serialization/resources/checkout/types/CancelSubscriptionResponse.d.ts +11 -0
- package/dist/serialization/resources/checkout/types/CheckoutInternalResponse.d.ts +2 -5
- package/dist/serialization/resources/checkout/types/GetCheckoutDataResponse.d.ts +2 -5
- package/dist/serialization/resources/checkout/types/ManagePlanResponse.d.ts +2 -5
- package/dist/serialization/resources/checkout/types/PreviewCheckoutInternalResponse.d.ts +2 -5
- package/dist/serialization/resources/checkout/types/PreviewManagePlanResponse.d.ts +2 -5
- package/dist/serialization/resources/checkout/types/UpdateCustomerSubscriptionTrialEndResponse.d.ts +2 -5
- package/dist/serialization/resources/checkout/types/index.d.ts +2 -1
- package/dist/serialization/resources/companies/client/requests/CreateEntityTraitDefinitionRequestBody.d.ts +6 -9
- package/dist/serialization/resources/companies/client/requests/CreatePlanTraitRequestBody.d.ts +2 -5
- package/dist/serialization/resources/companies/client/requests/GetOrCreateCompanyMembershipRequestBody.d.ts +2 -5
- package/dist/serialization/resources/companies/client/requests/UpdateEntityTraitDefinitionRequestBody.d.ts +4 -7
- package/dist/serialization/resources/companies/client/requests/UpdatePlanTraitBulkRequestBody.d.ts +3 -5
- package/dist/serialization/resources/companies/client/requests/UpdatePlanTraitRequestBody.d.ts +2 -5
- package/dist/serialization/resources/companies/client/requests/index.d.ts +3 -3
- package/dist/serialization/resources/companies/index.d.ts +1 -1
- package/dist/serialization/resources/companies/types/CountCompaniesForAdvancedFilterParams.d.ts +8 -9
- package/dist/serialization/resources/companies/types/CountCompaniesForAdvancedFilterResponse.d.ts +2 -5
- package/dist/serialization/resources/companies/types/CountCompaniesParams.d.ts +2 -5
- package/dist/serialization/resources/companies/types/CountCompaniesResponse.d.ts +2 -5
- package/dist/serialization/resources/companies/types/CountEntityKeyDefinitionsParams.d.ts +4 -7
- package/dist/serialization/resources/companies/types/CountEntityKeyDefinitionsResponse.d.ts +2 -5
- package/dist/serialization/resources/companies/types/CountEntityTraitDefinitionsParams.d.ts +7 -9
- package/dist/serialization/resources/companies/types/CountEntityTraitDefinitionsResponse.d.ts +2 -5
- package/dist/serialization/resources/companies/types/CountPlanTraitsParams.d.ts +2 -5
- package/dist/serialization/resources/companies/types/CountPlanTraitsResponse.d.ts +2 -5
- package/dist/serialization/resources/companies/types/CountUsersParams.d.ts +2 -5
- package/dist/serialization/resources/companies/types/CountUsersResponse.d.ts +2 -5
- package/dist/serialization/resources/companies/types/CreateCompanyResponse.d.ts +2 -5
- package/dist/serialization/resources/companies/types/CreatePlanTraitResponse.d.ts +2 -5
- package/dist/serialization/resources/companies/types/CreateUserResponse.d.ts +2 -5
- package/dist/serialization/resources/companies/types/DeleteCompanyByKeysResponse.d.ts +2 -5
- package/dist/serialization/resources/companies/types/DeleteCompanyMembershipResponse.d.ts +2 -5
- package/dist/serialization/resources/companies/types/DeleteCompanyParams.d.ts +2 -5
- package/dist/serialization/resources/companies/types/DeleteCompanyResponse.d.ts +2 -5
- package/dist/serialization/resources/companies/types/DeletePlanTraitResponse.d.ts +2 -5
- package/dist/serialization/resources/companies/types/DeleteUserByKeysResponse.d.ts +2 -5
- package/dist/serialization/resources/companies/types/DeleteUserResponse.d.ts +2 -5
- package/dist/serialization/resources/companies/types/GetActiveCompanySubscriptionParams.d.ts +2 -5
- package/dist/serialization/resources/companies/types/GetActiveCompanySubscriptionResponse.d.ts +2 -5
- package/dist/serialization/resources/companies/types/GetCompanyResponse.d.ts +2 -5
- package/dist/serialization/resources/companies/types/GetEntityTraitDefinitionResponse.d.ts +2 -5
- package/dist/serialization/resources/companies/types/GetEntityTraitValuesParams.d.ts +2 -5
- package/dist/serialization/resources/companies/types/GetEntityTraitValuesResponse.d.ts +2 -5
- package/dist/serialization/resources/companies/types/GetOrCreateCompanyMembershipResponse.d.ts +2 -5
- package/dist/serialization/resources/companies/types/GetOrCreateEntityTraitDefinitionResponse.d.ts +2 -5
- package/dist/serialization/resources/companies/types/GetPlanChangeResponse.d.ts +2 -5
- package/dist/serialization/resources/companies/types/GetPlanTraitResponse.d.ts +2 -5
- package/dist/serialization/resources/companies/types/GetUserResponse.d.ts +2 -5
- package/dist/serialization/resources/companies/types/ListCompaniesForAdvancedFilterParams.d.ts +8 -9
- package/dist/serialization/resources/companies/types/ListCompaniesForAdvancedFilterResponse.d.ts +2 -5
- package/dist/serialization/resources/companies/types/ListCompaniesParams.d.ts +2 -5
- package/dist/serialization/resources/companies/types/ListCompaniesResponse.d.ts +2 -5
- package/dist/serialization/resources/companies/types/ListCompanyMembershipsParams.d.ts +2 -5
- package/dist/serialization/resources/companies/types/ListCompanyMembershipsResponse.d.ts +2 -5
- package/dist/serialization/resources/companies/types/ListEntityKeyDefinitionsParams.d.ts +4 -7
- package/dist/serialization/resources/companies/types/ListEntityKeyDefinitionsResponse.d.ts +2 -5
- package/dist/serialization/resources/companies/types/ListEntityTraitDefinitionsParams.d.ts +7 -9
- package/dist/serialization/resources/companies/types/ListEntityTraitDefinitionsResponse.d.ts +2 -5
- package/dist/serialization/resources/companies/types/ListPlanChangesParams.d.ts +2 -5
- package/dist/serialization/resources/companies/types/ListPlanChangesResponse.d.ts +2 -5
- package/dist/serialization/resources/companies/types/ListPlanTraitsParams.d.ts +2 -5
- package/dist/serialization/resources/companies/types/ListPlanTraitsResponse.d.ts +2 -5
- package/dist/serialization/resources/companies/types/ListUsersParams.d.ts +2 -5
- package/dist/serialization/resources/companies/types/ListUsersResponse.d.ts +2 -5
- package/dist/serialization/resources/companies/types/LookupCompanyParams.d.ts +2 -5
- package/dist/serialization/resources/companies/types/LookupCompanyResponse.d.ts +2 -5
- package/dist/serialization/resources/companies/types/LookupUserParams.d.ts +2 -5
- package/dist/serialization/resources/companies/types/LookupUserResponse.d.ts +2 -5
- package/dist/serialization/resources/companies/types/UpdateEntityTraitDefinitionResponse.d.ts +2 -5
- package/dist/serialization/resources/companies/types/UpdatePlanTraitResponse.d.ts +2 -5
- package/dist/serialization/resources/companies/types/UpdatePlanTraitsBulkResponse.d.ts +2 -5
- package/dist/serialization/resources/companies/types/UpsertCompanyResponse.d.ts +2 -5
- package/dist/serialization/resources/companies/types/UpsertCompanyTraitResponse.d.ts +2 -5
- package/dist/serialization/resources/companies/types/UpsertUserResponse.d.ts +2 -5
- package/dist/serialization/resources/companies/types/UpsertUserTraitResponse.d.ts +2 -5
- package/dist/serialization/resources/companies/types/index.d.ts +40 -61
- package/dist/serialization/resources/components/client/requests/CreateComponentRequestBody.d.ts +4 -7
- package/dist/serialization/resources/components/client/requests/UpdateComponentRequestBody.d.ts +6 -9
- package/dist/serialization/resources/components/index.d.ts +1 -1
- package/dist/serialization/resources/components/types/CountComponentsParams.d.ts +2 -5
- package/dist/serialization/resources/components/types/CountComponentsResponse.d.ts +2 -5
- package/dist/serialization/resources/components/types/CreateComponentResponse.d.ts +2 -5
- package/dist/serialization/resources/components/types/DeleteComponentResponse.d.ts +2 -5
- package/dist/serialization/resources/components/types/GetComponentResponse.d.ts +2 -5
- package/dist/serialization/resources/components/types/ListComponentsParams.d.ts +2 -5
- package/dist/serialization/resources/components/types/ListComponentsResponse.d.ts +2 -5
- package/dist/serialization/resources/components/types/PreviewComponentDataParams.d.ts +2 -5
- package/dist/serialization/resources/components/types/PreviewComponentDataResponse.d.ts +2 -5
- package/dist/serialization/resources/components/types/UpdateComponentResponse.d.ts +2 -5
- package/dist/serialization/resources/components/types/index.d.ts +6 -9
- package/dist/serialization/resources/credits/client/requests/CreateBillingCreditRequestBody.d.ts +8 -10
- package/dist/serialization/resources/credits/client/requests/CreateBillingPlanCreditGrantRequestBody.d.ts +16 -20
- package/dist/serialization/resources/credits/client/requests/CreateCompanyCreditGrant.d.ts +11 -10
- package/dist/serialization/resources/credits/client/requests/CreateCreditBundleRequestBody.d.ts +10 -12
- package/dist/serialization/resources/credits/client/requests/UpdateBillingCreditRequestBody.d.ts +8 -10
- package/dist/serialization/resources/credits/client/requests/UpdateBillingPlanCreditGrantRequestBody.d.ts +20 -15
- package/dist/serialization/resources/credits/client/requests/UpdateCreditBundleDetailsRequestBody.d.ts +8 -11
- package/dist/serialization/resources/credits/client/requests/ZeroOutGrantRequestBody.d.ts +4 -7
- package/dist/serialization/resources/credits/client/requests/index.d.ts +4 -4
- package/dist/serialization/resources/credits/index.d.ts +1 -1
- package/dist/serialization/resources/credits/types/CountBillingCreditsGrantsParams.d.ts +2 -5
- package/dist/serialization/resources/credits/types/CountBillingCreditsGrantsResponse.d.ts +2 -5
- package/dist/serialization/resources/credits/types/CountBillingCreditsParams.d.ts +2 -5
- package/dist/serialization/resources/credits/types/CountBillingCreditsResponse.d.ts +2 -5
- package/dist/serialization/resources/credits/types/CountBillingPlanCreditGrantsParams.d.ts +2 -5
- package/dist/serialization/resources/credits/types/CountBillingPlanCreditGrantsResponse.d.ts +2 -5
- package/dist/serialization/resources/credits/types/CountCreditBundlesParams.d.ts +6 -8
- package/dist/serialization/resources/credits/types/CountCreditBundlesResponse.d.ts +2 -5
- package/dist/serialization/resources/credits/types/CountCreditLedgerParams.d.ts +4 -7
- package/dist/serialization/resources/credits/types/CountCreditLedgerResponse.d.ts +2 -5
- package/dist/serialization/resources/credits/types/CreateBillingCreditResponse.d.ts +2 -5
- package/dist/serialization/resources/credits/types/CreateBillingPlanCreditGrantResponse.d.ts +2 -5
- package/dist/serialization/resources/credits/types/CreateCreditBundleResponse.d.ts +2 -5
- package/dist/serialization/resources/credits/types/DeleteBillingPlanCreditGrantParams.d.ts +2 -5
- package/dist/serialization/resources/credits/types/DeleteBillingPlanCreditGrantResponse.d.ts +2 -5
- package/dist/serialization/resources/credits/types/DeleteCreditBundleResponse.d.ts +2 -5
- package/dist/serialization/resources/credits/types/GetCreditBundleResponse.d.ts +2 -5
- package/dist/serialization/resources/credits/types/GetEnrichedCreditLedgerParams.d.ts +4 -7
- package/dist/serialization/resources/credits/types/GetEnrichedCreditLedgerResponse.d.ts +2 -5
- package/dist/serialization/resources/credits/types/GetSingleBillingCreditResponse.d.ts +2 -5
- package/dist/serialization/resources/credits/types/GrantBillingCreditsToCompanyResponse.d.ts +2 -5
- package/dist/serialization/resources/credits/types/ListBillingCreditsParams.d.ts +2 -5
- package/dist/serialization/resources/credits/types/ListBillingCreditsResponse.d.ts +2 -5
- package/dist/serialization/resources/credits/types/ListBillingPlanCreditGrantsParams.d.ts +2 -5
- package/dist/serialization/resources/credits/types/ListBillingPlanCreditGrantsResponse.d.ts +2 -5
- package/dist/serialization/resources/credits/types/ListCompanyGrantsParams.d.ts +6 -9
- package/dist/serialization/resources/credits/types/ListCompanyGrantsResponse.d.ts +2 -5
- package/dist/serialization/resources/credits/types/ListCreditBundlesParams.d.ts +6 -8
- package/dist/serialization/resources/credits/types/ListCreditBundlesResponse.d.ts +2 -5
- package/dist/serialization/resources/credits/types/ListGrantsForCreditParams.d.ts +2 -5
- package/dist/serialization/resources/credits/types/ListGrantsForCreditResponse.d.ts +2 -5
- package/dist/serialization/resources/credits/types/SoftDeleteBillingCreditResponse.d.ts +2 -5
- package/dist/serialization/resources/credits/types/UpdateBillingCreditResponse.d.ts +2 -5
- package/dist/serialization/resources/credits/types/UpdateBillingPlanCreditGrantResponse.d.ts +2 -5
- package/dist/serialization/resources/credits/types/UpdateCreditBundleDetailsResponse.d.ts +2 -5
- package/dist/serialization/resources/credits/types/ZeroOutGrantResponse.d.ts +2 -5
- package/dist/serialization/resources/credits/types/index.d.ts +27 -64
- package/dist/serialization/resources/dataexports/client/requests/CreateDataExportRequestBody.d.ts +2 -5
- package/dist/serialization/resources/dataexports/index.d.ts +1 -1
- package/dist/serialization/resources/dataexports/types/CreateDataExportResponse.d.ts +2 -5
- package/dist/serialization/resources/entitlements/client/requests/CreateCompanyOverrideRequestBody.d.ts +4 -7
- package/dist/serialization/resources/entitlements/client/requests/CreatePlanEntitlementRequestBody.d.ts +9 -11
- package/dist/serialization/resources/entitlements/client/requests/DuplicatePlanEntitlementsRequestBody.d.ts +10 -0
- package/dist/serialization/resources/entitlements/client/requests/UpdateCompanyOverrideRequestBody.d.ts +4 -7
- package/dist/serialization/resources/entitlements/client/requests/UpdatePlanEntitlementRequestBody.d.ts +9 -11
- package/dist/serialization/resources/entitlements/client/requests/index.d.ts +2 -1
- package/dist/serialization/resources/entitlements/index.d.ts +1 -1
- package/dist/serialization/resources/entitlements/types/CountCompanyOverridesParams.d.ts +2 -5
- package/dist/serialization/resources/entitlements/types/CountCompanyOverridesResponse.d.ts +2 -5
- package/dist/serialization/resources/entitlements/types/CountFeatureCompaniesParams.d.ts +2 -5
- package/dist/serialization/resources/entitlements/types/CountFeatureCompaniesResponse.d.ts +2 -5
- package/dist/serialization/resources/entitlements/types/CountFeatureUsageParams.d.ts +3 -5
- package/dist/serialization/resources/entitlements/types/CountFeatureUsageResponse.d.ts +2 -5
- package/dist/serialization/resources/entitlements/types/CountFeatureUsersParams.d.ts +2 -5
- package/dist/serialization/resources/entitlements/types/CountFeatureUsersResponse.d.ts +2 -5
- package/dist/serialization/resources/entitlements/types/CountPlanEntitlementsParams.d.ts +2 -5
- package/dist/serialization/resources/entitlements/types/CountPlanEntitlementsResponse.d.ts +2 -5
- package/dist/serialization/resources/entitlements/types/CreateCompanyOverrideRequestBodyMetricPeriod.d.ts +2 -5
- package/dist/serialization/resources/entitlements/types/CreateCompanyOverrideRequestBodyMetricPeriodMonthReset.d.ts +2 -5
- package/dist/serialization/resources/entitlements/types/CreateCompanyOverrideResponse.d.ts +2 -5
- package/dist/serialization/resources/entitlements/types/CreatePlanEntitlementRequestBodyMetricPeriod.d.ts +2 -5
- package/dist/serialization/resources/entitlements/types/CreatePlanEntitlementRequestBodyMetricPeriodMonthReset.d.ts +2 -5
- package/dist/serialization/resources/entitlements/types/CreatePlanEntitlementResponse.d.ts +2 -5
- package/dist/serialization/resources/entitlements/types/DeleteCompanyOverrideResponse.d.ts +2 -5
- package/dist/serialization/resources/entitlements/types/DeletePlanEntitlementResponse.d.ts +2 -5
- package/dist/serialization/resources/entitlements/types/DuplicatePlanEntitlementsResponse.d.ts +11 -0
- package/dist/serialization/resources/entitlements/types/GetCompanyOverrideResponse.d.ts +2 -5
- package/dist/serialization/resources/entitlements/types/GetFeatureUsageByCompanyParams.d.ts +2 -5
- package/dist/serialization/resources/entitlements/types/GetFeatureUsageByCompanyResponse.d.ts +2 -5
- package/dist/serialization/resources/entitlements/types/GetPlanEntitlementResponse.d.ts +2 -5
- package/dist/serialization/resources/entitlements/types/ListCompanyOverridesParams.d.ts +2 -5
- package/dist/serialization/resources/entitlements/types/ListCompanyOverridesResponse.d.ts +2 -5
- package/dist/serialization/resources/entitlements/types/ListFeatureCompaniesParams.d.ts +2 -5
- package/dist/serialization/resources/entitlements/types/ListFeatureCompaniesResponse.d.ts +2 -5
- package/dist/serialization/resources/entitlements/types/ListFeatureUsageParams.d.ts +3 -5
- package/dist/serialization/resources/entitlements/types/ListFeatureUsageResponse.d.ts +2 -5
- package/dist/serialization/resources/entitlements/types/ListFeatureUsersParams.d.ts +2 -5
- package/dist/serialization/resources/entitlements/types/ListFeatureUsersResponse.d.ts +2 -5
- package/dist/serialization/resources/entitlements/types/ListPlanEntitlementsParams.d.ts +2 -5
- package/dist/serialization/resources/entitlements/types/ListPlanEntitlementsResponse.d.ts +2 -5
- package/dist/serialization/resources/entitlements/types/UpdateCompanyOverrideRequestBodyMetricPeriod.d.ts +2 -5
- package/dist/serialization/resources/entitlements/types/UpdateCompanyOverrideRequestBodyMetricPeriodMonthReset.d.ts +2 -5
- package/dist/serialization/resources/entitlements/types/UpdateCompanyOverrideResponse.d.ts +2 -5
- package/dist/serialization/resources/entitlements/types/UpdatePlanEntitlementRequestBodyMetricPeriod.d.ts +2 -5
- package/dist/serialization/resources/entitlements/types/UpdatePlanEntitlementRequestBodyMetricPeriodMonthReset.d.ts +2 -5
- package/dist/serialization/resources/entitlements/types/UpdatePlanEntitlementResponse.d.ts +2 -5
- package/dist/serialization/resources/entitlements/types/index.d.ts +24 -29
- package/dist/serialization/resources/events/client/requests/CreateEventBatchRequestBody.d.ts +2 -5
- package/dist/serialization/resources/events/index.d.ts +1 -1
- package/dist/serialization/resources/events/types/CreateEventBatchResponse.d.ts +2 -5
- package/dist/serialization/resources/events/types/CreateEventResponse.d.ts +2 -5
- package/dist/serialization/resources/events/types/GetEventResponse.d.ts +2 -5
- package/dist/serialization/resources/events/types/GetEventSummariesParams.d.ts +2 -5
- package/dist/serialization/resources/events/types/GetEventSummariesResponse.d.ts +2 -5
- package/dist/serialization/resources/events/types/GetSegmentIntegrationStatusResponse.d.ts +2 -5
- package/dist/serialization/resources/events/types/ListEventsParams.d.ts +4 -7
- package/dist/serialization/resources/events/types/ListEventsResponse.d.ts +2 -5
- package/dist/serialization/resources/events/types/index.d.ts +3 -5
- package/dist/serialization/resources/features/client/requests/CheckFlagsBulkRequestBody.d.ts +10 -0
- package/dist/serialization/resources/features/client/requests/CreateFeatureRequestBody.d.ts +6 -9
- package/dist/serialization/resources/features/client/requests/UpdateFeatureRequestBody.d.ts +6 -9
- package/dist/serialization/resources/features/client/requests/UpdateFlagRulesRequestBody.d.ts +2 -5
- package/dist/serialization/resources/features/client/requests/index.d.ts +1 -0
- package/dist/serialization/resources/features/index.d.ts +1 -1
- package/dist/serialization/resources/features/types/CheckFlagResponse.d.ts +2 -5
- package/dist/serialization/resources/features/types/CheckFlagsBulkResponse.d.ts +11 -0
- package/dist/serialization/resources/features/types/CheckFlagsResponse.d.ts +2 -5
- package/dist/serialization/resources/features/types/CountFeaturesParams.d.ts +4 -6
- package/dist/serialization/resources/features/types/CountFeaturesResponse.d.ts +2 -5
- package/dist/serialization/resources/features/types/CountFlagsParams.d.ts +2 -5
- package/dist/serialization/resources/features/types/CountFlagsResponse.d.ts +2 -5
- package/dist/serialization/resources/features/types/CreateFeatureResponse.d.ts +2 -5
- package/dist/serialization/resources/features/types/CreateFlagResponse.d.ts +2 -5
- package/dist/serialization/resources/features/types/DeleteFeatureResponse.d.ts +2 -5
- package/dist/serialization/resources/features/types/DeleteFlagResponse.d.ts +2 -5
- package/dist/serialization/resources/features/types/GetFeatureResponse.d.ts +2 -5
- package/dist/serialization/resources/features/types/GetFlagResponse.d.ts +2 -5
- package/dist/serialization/resources/features/types/ListFeaturesParams.d.ts +4 -6
- package/dist/serialization/resources/features/types/ListFeaturesResponse.d.ts +2 -5
- package/dist/serialization/resources/features/types/ListFlagsParams.d.ts +2 -5
- package/dist/serialization/resources/features/types/ListFlagsResponse.d.ts +2 -5
- package/dist/serialization/resources/features/types/UpdateFeatureResponse.d.ts +2 -5
- package/dist/serialization/resources/features/types/UpdateFlagResponse.d.ts +2 -5
- package/dist/serialization/resources/features/types/UpdateFlagRulesResponse.d.ts +2 -5
- package/dist/serialization/resources/features/types/index.d.ts +14 -17
- package/dist/serialization/resources/index.d.ts +22 -25
- package/dist/serialization/resources/plangroups/client/requests/CreatePlanGroupRequestBody.d.ts +9 -6
- package/dist/serialization/resources/plangroups/client/requests/UpdatePlanGroupRequestBody.d.ts +9 -6
- package/dist/serialization/resources/plangroups/index.d.ts +1 -1
- package/dist/serialization/resources/plangroups/types/CreatePlanGroupResponse.d.ts +2 -5
- package/dist/serialization/resources/plangroups/types/GetPlanGroupResponse.d.ts +2 -5
- package/dist/serialization/resources/plangroups/types/UpdatePlanGroupResponse.d.ts +2 -5
- package/dist/serialization/resources/plangroups/types/index.d.ts +1 -1
- package/dist/serialization/resources/plans/client/requests/CreatePlanRequestBody.d.ts +4 -7
- package/dist/serialization/resources/plans/client/requests/UpdateCompanyPlansRequestBody.d.ts +2 -5
- package/dist/serialization/resources/plans/client/requests/UpdatePlanRequestBody.d.ts +2 -5
- package/dist/serialization/resources/plans/client/requests/UpsertBillingProductRequestBody.d.ts +4 -7
- package/dist/serialization/resources/plans/client/requests/index.d.ts +1 -1
- package/dist/serialization/resources/plans/index.d.ts +1 -1
- package/dist/serialization/resources/plans/types/CountPlansParams.d.ts +4 -9
- package/dist/serialization/resources/plans/types/CountPlansResponse.d.ts +2 -5
- package/dist/serialization/resources/plans/types/CreatePlanResponse.d.ts +2 -5
- package/dist/serialization/resources/plans/types/DeletePlanResponse.d.ts +2 -5
- package/dist/serialization/resources/plans/types/GetPlanResponse.d.ts +2 -5
- package/dist/serialization/resources/plans/types/ListPlanIssuesParams.d.ts +2 -5
- package/dist/serialization/resources/plans/types/ListPlanIssuesResponse.d.ts +2 -5
- package/dist/serialization/resources/plans/types/ListPlansParams.d.ts +4 -9
- package/dist/serialization/resources/plans/types/ListPlansResponse.d.ts +2 -5
- package/dist/serialization/resources/plans/types/UpdateCompanyPlansResponse.d.ts +2 -5
- package/dist/serialization/resources/plans/types/UpdatePlanResponse.d.ts +2 -5
- package/dist/serialization/resources/plans/types/UpsertBillingProductPlanResponse.d.ts +2 -5
- package/dist/serialization/resources/plans/types/index.d.ts +8 -14
- package/dist/serialization/resources/webhooks/client/requests/CreateWebhookRequestBody.d.ts +4 -7
- package/dist/serialization/resources/webhooks/client/requests/UpdateWebhookRequestBody.d.ts +6 -9
- package/dist/serialization/resources/webhooks/index.d.ts +1 -1
- package/dist/serialization/resources/webhooks/types/CountWebhookEventsParams.d.ts +2 -5
- package/dist/serialization/resources/webhooks/types/CountWebhookEventsResponse.d.ts +2 -5
- package/dist/serialization/resources/webhooks/types/CountWebhooksParams.d.ts +2 -5
- package/dist/serialization/resources/webhooks/types/CountWebhooksResponse.d.ts +2 -5
- package/dist/serialization/resources/webhooks/types/CreateWebhookResponse.d.ts +2 -5
- package/dist/serialization/resources/webhooks/types/DeleteWebhookResponse.d.ts +2 -5
- package/dist/serialization/resources/webhooks/types/GetWebhookEventResponse.d.ts +2 -5
- package/dist/serialization/resources/webhooks/types/GetWebhookResponse.d.ts +2 -5
- package/dist/serialization/resources/webhooks/types/ListWebhookEventsParams.d.ts +2 -5
- package/dist/serialization/resources/webhooks/types/ListWebhookEventsResponse.d.ts +2 -5
- package/dist/serialization/resources/webhooks/types/ListWebhooksParams.d.ts +2 -5
- package/dist/serialization/resources/webhooks/types/ListWebhooksResponse.d.ts +2 -5
- package/dist/serialization/resources/webhooks/types/UpdateWebhookResponse.d.ts +2 -5
- package/dist/serialization/resources/webhooks/types/index.d.ts +8 -11
- package/dist/serialization/types/ApiError.d.ts +2 -5
- package/dist/serialization/types/ApiKeyCreateResponseData.d.ts +4 -6
- package/dist/serialization/types/ApiKeyRequestListResponseData.d.ts +2 -5
- package/dist/serialization/types/ApiKeyRequestResponseData.d.ts +2 -5
- package/dist/serialization/types/ApiKeyResponseData.d.ts +4 -6
- package/dist/serialization/types/ApiKeyScope.d.ts +7 -0
- package/dist/serialization/types/BillingCouponResponseData.d.ts +4 -5
- package/dist/serialization/types/BillingCreditBundleResponseData.d.ts +10 -9
- package/dist/serialization/types/BillingCreditBundleStatus.d.ts +7 -0
- package/dist/serialization/types/BillingCreditBundleType.d.ts +7 -0
- package/dist/serialization/types/BillingCreditBundleView.d.ts +10 -9
- package/dist/serialization/types/BillingCreditBurnStrategy.d.ts +7 -0
- package/dist/serialization/types/BillingCreditExpiryType.d.ts +7 -0
- package/dist/serialization/types/BillingCreditExpiryUnit.d.ts +7 -0
- package/dist/serialization/types/BillingCreditGrantReason.d.ts +7 -0
- package/dist/serialization/types/BillingCreditGrantResponseData.d.ts +8 -7
- package/dist/serialization/types/BillingCreditGrantZeroedOutReason.d.ts +7 -0
- package/dist/serialization/types/BillingCreditLedgerResponseData.d.ts +2 -5
- package/dist/serialization/types/BillingCreditResponseData.d.ts +8 -8
- package/dist/serialization/types/BillingCreditRolloverPolicy.d.ts +7 -0
- package/dist/serialization/types/BillingCustomerResponseData.d.ts +4 -5
- package/dist/serialization/types/BillingCustomerSubscription.d.ts +2 -5
- package/dist/serialization/types/BillingCustomerWithSubscriptionsResponseData.d.ts +4 -5
- package/dist/serialization/types/BillingMeterResponseData.d.ts +4 -5
- package/dist/serialization/types/BillingPlanCreditGrantResetCadence.d.ts +7 -0
- package/dist/serialization/types/BillingPlanCreditGrantResetStart.d.ts +7 -0
- package/dist/serialization/types/BillingPlanCreditGrantResetType.d.ts +7 -0
- package/dist/serialization/types/BillingPlanCreditGrantResponseData.d.ts +14 -12
- package/dist/serialization/types/BillingPriceResponseData.d.ts +8 -7
- package/dist/serialization/types/BillingPriceScheme.d.ts +7 -0
- package/dist/serialization/types/BillingPriceUsageType.d.ts +7 -0
- package/dist/serialization/types/BillingPriceView.d.ts +12 -9
- package/dist/serialization/types/BillingProductDetailResponseData.d.ts +4 -5
- package/dist/serialization/types/BillingProductForSubscriptionResponseData.d.ts +8 -7
- package/dist/serialization/types/BillingProductPlanResponseData.d.ts +6 -7
- package/dist/serialization/types/BillingProductPriceInterval.d.ts +7 -0
- package/dist/serialization/types/BillingProductPriceResponseData.d.ts +12 -9
- package/dist/serialization/types/BillingProductPriceTierResponseData.d.ts +2 -5
- package/dist/serialization/types/BillingProductPricing.d.ts +4 -7
- package/dist/serialization/types/BillingProductResponseData.d.ts +4 -5
- package/dist/serialization/types/BillingProviderType.d.ts +7 -0
- package/dist/serialization/types/BillingSubscriptionDiscount.d.ts +2 -5
- package/dist/serialization/types/BillingSubscriptionDiscountView.d.ts +2 -5
- package/dist/serialization/types/BillingSubscriptionResponseData.d.ts +7 -6
- package/dist/serialization/types/BillingSubscriptionTrialEndSetting.d.ts +7 -0
- package/dist/serialization/types/BillingSubscriptionView.d.ts +8 -7
- package/dist/serialization/types/BillingTiersMode.d.ts +7 -0
- package/dist/serialization/types/ChangeSubscriptionInternalRequestBody.d.ts +2 -5
- package/dist/serialization/types/ChangeSubscriptionRequestBody.d.ts +2 -5
- package/dist/serialization/types/ChargeType.d.ts +7 -0
- package/dist/serialization/types/CheckFlagRequestBody.d.ts +2 -5
- package/dist/serialization/types/CheckFlagResponseData.d.ts +2 -5
- package/dist/serialization/types/CheckFlagsBulkResponseData.d.ts +10 -0
- package/dist/serialization/types/CheckFlagsResponseData.d.ts +2 -5
- package/dist/serialization/types/CheckoutDataResponseData.d.ts +6 -9
- package/dist/serialization/types/CheckoutSettingsResponseData.d.ts +2 -5
- package/dist/serialization/types/CheckoutSubscription.d.ts +7 -6
- package/dist/serialization/types/CompanyDetailResponseData.d.ts +6 -9
- package/dist/serialization/types/CompanyEventPeriodMetricsResponseData.d.ts +2 -5
- package/dist/serialization/types/CompanyLedgerResponseData.d.ts +2 -5
- package/dist/serialization/types/CompanyMembershipDetailResponseData.d.ts +2 -5
- package/dist/serialization/types/CompanyMembershipResponseData.d.ts +2 -5
- package/dist/serialization/types/CompanyOverrideNoteResponseData.d.ts +2 -5
- package/dist/serialization/types/CompanyOverrideResponseData.d.ts +5 -7
- package/dist/serialization/types/CompanyPlanDetailResponseData.d.ts +13 -11
- package/dist/serialization/types/CompanyPlanInvalidReason.d.ts +7 -0
- package/dist/serialization/types/CompanyPlanWithBillingSubView.d.ts +4 -5
- package/dist/serialization/types/CompanyResponseData.d.ts +2 -5
- package/dist/serialization/types/CompanySubscriptionResponseData.d.ts +3 -6
- package/dist/serialization/types/CompanyViewWithFeatureUsageResponseData.d.ts +6 -9
- package/dist/serialization/types/CompatiblePlans.d.ts +2 -5
- package/dist/serialization/types/CompatiblePlansResponseData.d.ts +2 -5
- package/dist/serialization/types/ComponentCapabilities.d.ts +2 -5
- package/dist/serialization/types/ComponentCheckoutSettings.d.ts +2 -5
- package/dist/serialization/types/ComponentDisplaySettings.d.ts +12 -0
- package/dist/serialization/types/ComponentEntityType.d.ts +7 -0
- package/dist/serialization/types/ComponentHydrateResponseData.d.ts +14 -11
- package/dist/serialization/types/ComponentPreviewResponseData.d.ts +13 -10
- package/dist/serialization/types/ComponentResponseData.d.ts +6 -7
- package/dist/serialization/types/ComponentSettingsResponseData.d.ts +12 -0
- package/dist/serialization/types/ComponentState.d.ts +7 -0
- package/dist/serialization/types/Condition.d.ts +3 -6
- package/dist/serialization/types/ConditionConditionType.d.ts +2 -5
- package/dist/serialization/types/ConditionGroup.d.ts +2 -5
- package/dist/serialization/types/ConditionMetricPeriod.d.ts +2 -5
- package/dist/serialization/types/ConditionMetricPeriodMonthReset.d.ts +2 -5
- package/dist/serialization/types/ConditionOperator.d.ts +2 -5
- package/dist/serialization/types/CountResponse.d.ts +2 -5
- package/dist/serialization/types/CouponRequestBody.d.ts +2 -5
- package/dist/serialization/types/CreateBillingPriceTierRequestBody.d.ts +4 -5
- package/dist/serialization/types/CreateEntitlementReqCommon.d.ts +4 -7
- package/dist/serialization/types/CreateEntitlementReqCommonMetricPeriod.d.ts +2 -5
- package/dist/serialization/types/CreateEntitlementReqCommonMetricPeriodMonthReset.d.ts +2 -5
- package/dist/serialization/types/CreateEventRequestBody.d.ts +4 -7
- package/dist/serialization/types/CreateFlagRequestBody.d.ts +4 -6
- package/dist/serialization/types/CreateOrUpdateConditionGroupRequestBody.d.ts +2 -5
- package/dist/serialization/types/CreateOrUpdateConditionRequestBody.d.ts +2 -5
- package/dist/serialization/types/CreateOrUpdateConditionRequestBodyConditionType.d.ts +3 -6
- package/dist/serialization/types/CreateOrUpdateConditionRequestBodyMetricPeriod.d.ts +2 -5
- package/dist/serialization/types/CreateOrUpdateConditionRequestBodyMetricPeriodMonthReset.d.ts +2 -5
- package/dist/serialization/types/CreateOrUpdateConditionRequestBodyOperator.d.ts +2 -5
- package/dist/serialization/types/CreateOrUpdateFlagRequestBody.d.ts +4 -6
- package/dist/serialization/types/CreateOrUpdateRuleRequestBody.d.ts +2 -5
- package/dist/serialization/types/CreateOrUpdateRuleRequestBodyRuleType.d.ts +2 -5
- package/dist/serialization/types/CreatePriceTierRequestBody.d.ts +2 -5
- package/dist/serialization/types/CreditAutoTopupAmountType.d.ts +7 -0
- package/dist/serialization/types/CreditBundlePurchaseResponseData.d.ts +2 -5
- package/dist/serialization/types/CreditCompanyGrantView.d.ts +13 -9
- package/dist/serialization/types/CreditGrantDetail.d.ts +4 -7
- package/dist/serialization/types/CreditGrantExpiryRequestBody.d.ts +12 -15
- package/dist/serialization/types/CreditGrantSortOrder.d.ts +7 -0
- package/dist/serialization/types/CreditLedgerEnrichedEntryResponseData.d.ts +3 -6
- package/dist/serialization/types/CreditLedgerPeriod.d.ts +7 -0
- package/dist/serialization/types/CreditTransferResponseData.d.ts +14 -0
- package/dist/serialization/types/CreditTransferView.d.ts +14 -0
- package/dist/serialization/types/CreditTriggerConfig.d.ts +2 -5
- package/dist/serialization/types/CreditUsage.d.ts +4 -5
- package/dist/serialization/types/CreditUsageAggregation.d.ts +12 -0
- package/dist/serialization/types/CreditUsageResponseData.d.ts +2 -5
- package/dist/serialization/types/CustomPlanConfig.d.ts +2 -5
- package/dist/serialization/types/CustomPlanViewConfigResponseData.d.ts +2 -5
- package/dist/serialization/types/DataExportOutputFileType.d.ts +7 -0
- package/dist/serialization/types/DataExportResponseData.d.ts +8 -8
- package/dist/serialization/types/DataExportStatus.d.ts +7 -0
- package/dist/serialization/types/DataExportType.d.ts +7 -0
- package/dist/serialization/types/DeleteResponse.d.ts +2 -5
- package/dist/serialization/types/DuplicatePlanEntitlementsResponseResponseData.d.ts +12 -0
- package/dist/serialization/types/EntitlementPriceBehavior.d.ts +7 -0
- package/dist/serialization/types/EntitlementTriggerConfig.d.ts +2 -5
- package/dist/serialization/types/EntitlementType.d.ts +7 -0
- package/dist/serialization/types/EntitlementValueType.d.ts +7 -0
- package/dist/serialization/types/EntitlementsInPlan.d.ts +2 -5
- package/dist/serialization/types/EntityKeyDefinitionResponseData.d.ts +4 -6
- package/dist/serialization/types/EntityKeyDetailResponseData.d.ts +4 -6
- package/dist/serialization/types/EntityKeyResponseData.d.ts +4 -6
- package/dist/serialization/types/EntityTraitDefinitionResponseData.d.ts +6 -7
- package/dist/serialization/types/EntityTraitDetailResponseData.d.ts +2 -5
- package/dist/serialization/types/EntityTraitResponseData.d.ts +2 -5
- package/dist/serialization/types/EntityTraitValue.d.ts +2 -5
- package/dist/serialization/types/EntityType.d.ts +7 -0
- package/dist/serialization/types/EnvironmentDetailResponseData.d.ts +4 -6
- package/dist/serialization/types/EnvironmentResponseData.d.ts +4 -6
- package/dist/serialization/types/EnvironmentType.d.ts +7 -0
- package/dist/serialization/types/EventBody.d.ts +3 -6
- package/dist/serialization/types/EventBodyFlagCheck.d.ts +2 -5
- package/dist/serialization/types/EventBodyIdentify.d.ts +2 -5
- package/dist/serialization/types/EventBodyIdentifyCompany.d.ts +2 -5
- package/dist/serialization/types/EventBodyTrack.d.ts +2 -5
- package/dist/serialization/types/EventDetailResponseData.d.ts +6 -7
- package/dist/serialization/types/EventResponseData.d.ts +6 -7
- package/dist/serialization/types/EventStatus.d.ts +7 -0
- package/dist/serialization/types/EventSummaryResponseData.d.ts +2 -5
- package/dist/serialization/types/EventType.d.ts +7 -0
- package/dist/serialization/types/FeatureCompanyResponseData.d.ts +14 -13
- package/dist/serialization/types/FeatureCompanyUserResponseData.d.ts +6 -8
- package/dist/serialization/types/FeatureDetailResponseData.d.ts +7 -8
- package/dist/serialization/types/FeatureLedgerResponseData.d.ts +2 -5
- package/dist/serialization/types/FeatureLifecyclePhase.d.ts +7 -0
- package/dist/serialization/types/FeatureResponseData.d.ts +6 -7
- package/dist/serialization/types/FeatureType.d.ts +7 -0
- package/dist/serialization/types/FeatureUsageDataResponseData.d.ts +5 -7
- package/dist/serialization/types/FeatureUsageDetailResponseData.d.ts +2 -5
- package/dist/serialization/types/FeatureUsageResponseData.d.ts +14 -13
- package/dist/serialization/types/FlagDetailResponseData.d.ts +4 -6
- package/dist/serialization/types/FlagResponseData.d.ts +4 -6
- package/dist/serialization/types/FlagType.d.ts +7 -0
- package/dist/serialization/types/GenericPreviewObject.d.ts +2 -5
- package/dist/serialization/types/InvoiceRequestBody.d.ts +2 -5
- package/dist/serialization/types/InvoiceResponseData.d.ts +4 -5
- package/dist/serialization/types/IssueTemporaryAccessTokenResponseData.d.ts +4 -6
- package/dist/serialization/types/KeysRequestBody.d.ts +2 -5
- package/dist/serialization/types/ManagePlanPreviewResponseResponseData.d.ts +2 -5
- package/dist/serialization/types/ManagePlanRequest.d.ts +5 -5
- package/dist/serialization/types/ManagePlanResponseResponseData.d.ts +2 -5
- package/dist/serialization/types/MeterRequestBody.d.ts +2 -5
- package/dist/serialization/types/OrderedPlansInGroup.d.ts +2 -5
- package/dist/serialization/types/PaymentMethodRequestBody.d.ts +2 -5
- package/dist/serialization/types/PaymentMethodResponseData.d.ts +4 -5
- package/dist/serialization/types/PlanChangeAction.d.ts +7 -0
- package/dist/serialization/types/PlanChangeActorType.d.ts +7 -0
- package/dist/serialization/types/PlanChangeBasePlanAction.d.ts +7 -0
- package/dist/serialization/types/PlanChangeResponseData.d.ts +12 -15
- package/dist/serialization/types/PlanChangeSubscriptionAction.d.ts +7 -0
- package/dist/serialization/types/PlanControlledByType.d.ts +7 -0
- package/dist/serialization/types/PlanCreditGrantView.d.ts +14 -12
- package/dist/serialization/types/PlanDetailResponseData.d.ts +10 -10
- package/dist/serialization/types/PlanEntitlementResponseData.d.ts +9 -10
- package/dist/serialization/types/PlanEntitlementsOrder.d.ts +2 -5
- package/dist/serialization/types/PlanGroupBundleOrder.d.ts +2 -5
- package/dist/serialization/types/PlanGroupDetailResponseData.d.ts +15 -11
- package/dist/serialization/types/PlanGroupPlanDetailResponseData.d.ts +11 -11
- package/dist/serialization/types/PlanGroupPlanEntitlementsOrder.d.ts +2 -5
- package/dist/serialization/types/PlanGroupResponseData.d.ts +11 -7
- package/dist/serialization/types/PlanIssueResponseData.d.ts +2 -5
- package/dist/serialization/types/PlanResponseData.d.ts +4 -6
- package/dist/serialization/types/PlanSelection.d.ts +2 -5
- package/dist/serialization/types/PlanSnapshotView.d.ts +2 -5
- package/dist/serialization/types/PlanTraitResponseData.d.ts +2 -5
- package/dist/serialization/types/PlanType.d.ts +7 -0
- package/dist/serialization/types/PreviewObject.d.ts +2 -5
- package/dist/serialization/types/PreviewObjectResponseData.d.ts +2 -5
- package/dist/serialization/types/PreviewSubscriptionChangeResponseData.d.ts +3 -6
- package/dist/serialization/types/PreviewSubscriptionFinanceResponseData.d.ts +3 -5
- package/dist/serialization/types/PreviewSubscriptionUpcomingInvoiceLineItems.d.ts +2 -5
- package/dist/serialization/types/ProrationBehavior.d.ts +7 -0
- package/dist/serialization/types/QuickstartResp.d.ts +2 -5
- package/dist/serialization/types/RawEventBatchResponseData.d.ts +2 -5
- package/dist/serialization/types/RawEventResponseData.d.ts +2 -5
- package/dist/serialization/types/Rule.d.ts +3 -6
- package/dist/serialization/types/RuleConditionDetailResponseData.d.ts +4 -6
- package/dist/serialization/types/RuleConditionGroupDetailResponseData.d.ts +2 -5
- package/dist/serialization/types/RuleConditionGroupResponseData.d.ts +2 -5
- package/dist/serialization/types/RuleConditionResponseData.d.ts +4 -6
- package/dist/serialization/types/RuleDetailResponseData.d.ts +3 -6
- package/dist/serialization/types/RuleResponseData.d.ts +2 -5
- package/dist/serialization/types/RuleRuleType.d.ts +2 -5
- package/dist/serialization/types/RulesDetailResponseData.d.ts +2 -5
- package/dist/serialization/types/RulesEngineSchemaVersion.d.ts +7 -0
- package/dist/serialization/types/RulesengineCheckFlagResult.d.ts +24 -0
- package/dist/serialization/types/RulesengineCheckFlagResultFeatureUsagePeriod.d.ts +7 -0
- package/dist/serialization/types/RulesengineCheckFlagResultRuleType.d.ts +7 -0
- package/dist/serialization/types/RulesengineCompany.d.ts +25 -0
- package/dist/serialization/types/RulesengineCompanyMetric.d.ts +19 -0
- package/dist/serialization/types/RulesengineCompanyMetricMonthReset.d.ts +7 -0
- package/dist/serialization/types/RulesengineCompanyMetricPeriod.d.ts +7 -0
- package/dist/serialization/types/RulesengineCondition.d.ts +28 -0
- package/dist/serialization/types/RulesengineConditionConditionType.d.ts +7 -0
- package/dist/serialization/types/RulesengineConditionGroup.d.ts +10 -0
- package/dist/serialization/types/RulesengineConditionMetricPeriod.d.ts +7 -0
- package/dist/serialization/types/RulesengineConditionMetricPeriodMonthReset.d.ts +7 -0
- package/dist/serialization/types/RulesengineConditionOperator.d.ts +7 -0
- package/dist/serialization/types/RulesengineEntityType.d.ts +7 -0
- package/dist/serialization/types/RulesengineFlag.d.ts +15 -0
- package/dist/serialization/types/RulesengineRule.d.ts +21 -0
- package/dist/serialization/types/RulesengineRuleRuleType.d.ts +7 -0
- package/dist/serialization/types/RulesengineSubscription.d.ts +11 -0
- package/dist/serialization/types/RulesengineTrait.d.ts +11 -0
- package/dist/serialization/types/RulesengineTraitDefinition.d.ts +13 -0
- package/dist/serialization/types/RulesengineTraitDefinitionComparableType.d.ts +7 -0
- package/dist/serialization/types/RulesengineUser.d.ts +16 -0
- package/dist/serialization/types/SegmentStatusResp.d.ts +2 -5
- package/dist/serialization/types/SkippedEntitlementErrorResponseData.d.ts +9 -0
- package/dist/serialization/types/SkippedEntitlementResponseData.d.ts +13 -0
- package/dist/serialization/types/SortDirection.d.ts +7 -0
- package/dist/serialization/types/StripeEmbedInfo.d.ts +2 -5
- package/dist/serialization/types/SubscriptionStatus.d.ts +7 -0
- package/dist/serialization/types/SubscriptionTraitUpdate.d.ts +4 -6
- package/dist/serialization/types/SubscriptionType.d.ts +7 -0
- package/dist/serialization/types/TemporaryAccessTokenResourceType.d.ts +7 -0
- package/dist/serialization/types/TemporaryAccessTokenResponseData.d.ts +4 -6
- package/dist/serialization/types/TraitDefinition.d.ts +4 -7
- package/dist/serialization/types/TraitDefinitionComparableType.d.ts +2 -5
- package/dist/serialization/types/TraitType.d.ts +7 -0
- package/dist/serialization/types/UpdateAddOnRequestBody.d.ts +2 -5
- package/dist/serialization/types/UpdateCreditBundleRequestBody.d.ts +2 -5
- package/dist/serialization/types/UpdateEntitlementReqCommon.d.ts +4 -7
- package/dist/serialization/types/UpdateEntitlementReqCommonMetricPeriod.d.ts +2 -5
- package/dist/serialization/types/UpdateEntitlementReqCommonMetricPeriodMonthReset.d.ts +2 -5
- package/dist/serialization/types/UpdatePayInAdvanceRequestBody.d.ts +2 -5
- package/dist/serialization/types/UpdatePlanTraitTraitRequestBody.d.ts +2 -5
- package/dist/serialization/types/UpdateRuleRequestBody.d.ts +2 -5
- package/dist/serialization/types/UpsertCompanyRequestBody.d.ts +2 -5
- package/dist/serialization/types/UpsertTraitRequestBody.d.ts +2 -5
- package/dist/serialization/types/UpsertUserRequestBody.d.ts +2 -5
- package/dist/serialization/types/UpsertUserSubRequestBody.d.ts +2 -5
- package/dist/serialization/types/UsageBasedEntitlementRequestBody.d.ts +6 -8
- package/dist/serialization/types/UsageBasedEntitlementResponseData.d.ts +6 -7
- package/dist/serialization/types/UserDetailResponseData.d.ts +3 -6
- package/dist/serialization/types/UserResponseData.d.ts +2 -5
- package/dist/serialization/types/WebhookEventDetailResponseData.d.ts +6 -7
- package/dist/serialization/types/WebhookEventResponseData.d.ts +6 -7
- package/dist/serialization/types/WebhookEventStatus.d.ts +7 -0
- package/dist/serialization/types/WebhookRequestType.d.ts +7 -0
- package/dist/serialization/types/WebhookResponseData.d.ts +6 -7
- package/dist/serialization/types/WebhookStatus.d.ts +7 -0
- package/dist/serialization/types/index.d.ts +99 -41
- package/package.json +23 -10
- package/dist/api/resources/accounts/types/CreateEnvironmentRequestBodyEnvironmentType.d.ts +0 -9
- package/dist/api/resources/accounts/types/UpdateEnvironmentRequestBodyEnvironmentType.d.ts +0 -9
- package/dist/api/resources/billing/client/requests/ListProductPricesRequest.d.ts +0 -53
- package/dist/api/resources/billing/client/requests/SearchBillingPricesRequest.d.ts +0 -49
- package/dist/api/resources/billing/types/CountBillingProductsRequestPriceUsageType.d.ts +0 -8
- package/dist/api/resources/billing/types/CountBillingProductsResponseParamsPriceUsageType.d.ts +0 -8
- package/dist/api/resources/billing/types/CreateBillingPriceRequestBodyBillingScheme.d.ts +0 -8
- package/dist/api/resources/billing/types/CreateBillingPriceRequestBodyTiersMode.d.ts +0 -8
- package/dist/api/resources/billing/types/CreateBillingPriceRequestBodyUsageType.d.ts +0 -8
- package/dist/api/resources/billing/types/CreateBillingSubscriptionRequestBodyTrialEndSetting.d.ts +0 -8
- package/dist/api/resources/billing/types/ListBillingProductsRequestPriceUsageType.d.ts +0 -8
- package/dist/api/resources/billing/types/ListBillingProductsResponseParamsPriceUsageType.d.ts +0 -8
- package/dist/api/resources/billing/types/ListProductPricesParams.d.ts +0 -27
- package/dist/api/resources/billing/types/ListProductPricesRequestPriceUsageType.d.ts +0 -8
- package/dist/api/resources/billing/types/ListProductPricesResponse.d.ts +0 -9
- package/dist/api/resources/billing/types/ListProductPricesResponseParamsPriceUsageType.d.ts +0 -8
- package/dist/api/resources/billing/types/SearchBillingPricesRequestTiersMode.d.ts +0 -8
- package/dist/api/resources/billing/types/SearchBillingPricesRequestUsageType.d.ts +0 -8
- package/dist/api/resources/billing/types/SearchBillingPricesResponse.d.ts +0 -9
- package/dist/api/resources/billing/types/SearchBillingPricesResponseParamsTiersMode.d.ts +0 -8
- package/dist/api/resources/billing/types/SearchBillingPricesResponseParamsUsageType.d.ts +0 -8
- package/dist/api/resources/companies/client/requests/GetActiveDealsRequest.d.ts +0 -24
- package/dist/api/resources/companies/types/CountCompaniesForAdvancedFilterRequestSortOrderDirection.d.ts +0 -11
- package/dist/api/resources/companies/types/CountCompaniesForAdvancedFilterResponseParamsSortOrderDirection.d.ts +0 -11
- package/dist/api/resources/companies/types/CountEntityKeyDefinitionsRequestEntityType.d.ts +0 -8
- package/dist/api/resources/companies/types/CountEntityKeyDefinitionsResponseParamsEntityType.d.ts +0 -8
- package/dist/api/resources/companies/types/CountEntityTraitDefinitionsRequestEntityType.d.ts +0 -8
- package/dist/api/resources/companies/types/CountEntityTraitDefinitionsRequestTraitType.d.ts +0 -12
- package/dist/api/resources/companies/types/CountEntityTraitDefinitionsResponseParamsEntityType.d.ts +0 -8
- package/dist/api/resources/companies/types/CountEntityTraitDefinitionsResponseParamsTraitType.d.ts +0 -12
- package/dist/api/resources/companies/types/CreateEntityTraitDefinitionRequestBodyEntityType.d.ts +0 -8
- package/dist/api/resources/companies/types/CreateEntityTraitDefinitionRequestBodyTraitType.d.ts +0 -12
- package/dist/api/resources/companies/types/GetActiveDealsParams.d.ts +0 -14
- package/dist/api/resources/companies/types/GetActiveDealsResponse.d.ts +0 -9
- package/dist/api/resources/companies/types/ListCompaniesForAdvancedFilterRequestSortOrderDirection.d.ts +0 -11
- package/dist/api/resources/companies/types/ListCompaniesForAdvancedFilterResponseParamsSortOrderDirection.d.ts +0 -11
- package/dist/api/resources/companies/types/ListEntityKeyDefinitionsRequestEntityType.d.ts +0 -8
- package/dist/api/resources/companies/types/ListEntityKeyDefinitionsResponseParamsEntityType.d.ts +0 -8
- package/dist/api/resources/companies/types/ListEntityTraitDefinitionsRequestEntityType.d.ts +0 -8
- package/dist/api/resources/companies/types/ListEntityTraitDefinitionsRequestTraitType.d.ts +0 -12
- package/dist/api/resources/companies/types/ListEntityTraitDefinitionsResponseParamsEntityType.d.ts +0 -8
- package/dist/api/resources/companies/types/ListEntityTraitDefinitionsResponseParamsTraitType.d.ts +0 -12
- package/dist/api/resources/companies/types/UpdateEntityTraitDefinitionRequestBodyTraitType.d.ts +0 -12
- package/dist/api/resources/components/types/CreateComponentRequestBodyEntityType.d.ts +0 -8
- package/dist/api/resources/components/types/UpdateComponentRequestBodyEntityType.d.ts +0 -8
- package/dist/api/resources/components/types/UpdateComponentRequestBodyState.d.ts +0 -8
- package/dist/api/resources/credits/types/CountCreditBundlesRequestStatus.d.ts +0 -8
- package/dist/api/resources/credits/types/CountCreditBundlesResponseParamsStatus.d.ts +0 -8
- package/dist/api/resources/credits/types/CountCreditLedgerRequestPeriod.d.ts +0 -10
- package/dist/api/resources/credits/types/CountCreditLedgerResponseParamsPeriod.d.ts +0 -10
- package/dist/api/resources/credits/types/CreateBillingCreditRequestBodyBurnStrategy.d.ts +0 -10
- package/dist/api/resources/credits/types/CreateBillingCreditRequestBodyDefaultRolloverPolicy.d.ts +0 -9
- package/dist/api/resources/credits/types/CreateBillingPlanCreditGrantRequestBodyAutoTopupExpiryType.d.ts +0 -11
- package/dist/api/resources/credits/types/CreateBillingPlanCreditGrantRequestBodyAutoTopupExpiryUnit.d.ts +0 -8
- package/dist/api/resources/credits/types/CreateBillingPlanCreditGrantRequestBodyExpiryType.d.ts +0 -11
- package/dist/api/resources/credits/types/CreateBillingPlanCreditGrantRequestBodyExpiryUnit.d.ts +0 -8
- package/dist/api/resources/credits/types/CreateBillingPlanCreditGrantRequestBodyResetCadence.d.ts +0 -10
- package/dist/api/resources/credits/types/CreateBillingPlanCreditGrantRequestBodyResetStart.d.ts +0 -8
- package/dist/api/resources/credits/types/CreateBillingPlanCreditGrantRequestBodyResetType.d.ts +0 -8
- package/dist/api/resources/credits/types/CreateCompanyCreditGrantExpiryType.d.ts +0 -11
- package/dist/api/resources/credits/types/CreateCompanyCreditGrantExpiryUnit.d.ts +0 -8
- package/dist/api/resources/credits/types/CreateCreditBundleRequestBodyExpiryType.d.ts +0 -11
- package/dist/api/resources/credits/types/CreateCreditBundleRequestBodyExpiryUnit.d.ts +0 -8
- package/dist/api/resources/credits/types/CreateCreditBundleRequestBodyStatus.d.ts +0 -8
- package/dist/api/resources/credits/types/GetEnrichedCreditLedgerRequestPeriod.d.ts +0 -10
- package/dist/api/resources/credits/types/GetEnrichedCreditLedgerResponseParamsPeriod.d.ts +0 -10
- package/dist/api/resources/credits/types/ListCompanyGrantsRequestDir.d.ts +0 -8
- package/dist/api/resources/credits/types/ListCompanyGrantsRequestOrder.d.ts +0 -10
- package/dist/api/resources/credits/types/ListCompanyGrantsResponseParamsDir.d.ts +0 -8
- package/dist/api/resources/credits/types/ListCompanyGrantsResponseParamsOrder.d.ts +0 -10
- package/dist/api/resources/credits/types/ListCreditBundlesRequestStatus.d.ts +0 -8
- package/dist/api/resources/credits/types/ListCreditBundlesResponseParamsStatus.d.ts +0 -8
- package/dist/api/resources/credits/types/UpdateBillingCreditRequestBodyBurnStrategy.d.ts +0 -10
- package/dist/api/resources/credits/types/UpdateBillingCreditRequestBodyDefaultRolloverPolicy.d.ts +0 -9
- package/dist/api/resources/credits/types/UpdateBillingPlanCreditGrantRequestBodyExpiryType.d.ts +0 -11
- package/dist/api/resources/credits/types/UpdateBillingPlanCreditGrantRequestBodyExpiryUnit.d.ts +0 -8
- package/dist/api/resources/credits/types/UpdateBillingPlanCreditGrantRequestBodyResetCadence.d.ts +0 -10
- package/dist/api/resources/credits/types/UpdateBillingPlanCreditGrantRequestBodyResetStart.d.ts +0 -8
- package/dist/api/resources/credits/types/UpdateBillingPlanCreditGrantRequestBodyResetType.d.ts +0 -8
- package/dist/api/resources/credits/types/UpdateCreditBundleDetailsRequestBodyExpiryType.d.ts +0 -11
- package/dist/api/resources/credits/types/UpdateCreditBundleDetailsRequestBodyExpiryUnit.d.ts +0 -8
- package/dist/api/resources/credits/types/UpdateCreditBundleDetailsRequestBodyStatus.d.ts +0 -8
- package/dist/api/resources/credits/types/ZeroOutGrantRequestBodyReason.d.ts +0 -10
- package/dist/api/resources/crm/client/Client.d.ts +0 -133
- package/dist/api/resources/crm/client/index.d.ts +0 -1
- package/dist/api/resources/crm/client/requests/CreateCrmDealLineItemAssociationRequestBody.d.ts +0 -14
- package/dist/api/resources/crm/client/requests/CreateCrmDealRequestBody.d.ts +0 -22
- package/dist/api/resources/crm/client/requests/CreateCrmLineItemRequestBody.d.ts +0 -23
- package/dist/api/resources/crm/client/requests/CreateCrmProductRequestBody.d.ts +0 -26
- package/dist/api/resources/crm/client/requests/ListCrmProductsRequest.d.ts +0 -23
- package/dist/api/resources/crm/client/requests/index.d.ts +0 -5
- package/dist/api/resources/crm/index.d.ts +0 -2
- package/dist/api/resources/crm/types/ListCrmProductsParams.d.ts +0 -14
- package/dist/api/resources/crm/types/ListCrmProductsResponse.d.ts +0 -9
- package/dist/api/resources/crm/types/UpsertCrmDealResponse.d.ts +0 -9
- package/dist/api/resources/crm/types/UpsertCrmProductResponse.d.ts +0 -9
- package/dist/api/resources/crm/types/UpsertDealLineItemAssociationResponse.d.ts +0 -9
- package/dist/api/resources/crm/types/UpsertLineItemResponse.d.ts +0 -9
- package/dist/api/resources/crm/types/index.d.ts +0 -6
- package/dist/api/resources/entitlements/types/CreateCompanyOverrideRequestBodyValueType.d.ts +0 -11
- package/dist/api/resources/entitlements/types/CreatePlanEntitlementRequestBodyPriceBehavior.d.ts +0 -11
- package/dist/api/resources/entitlements/types/CreatePlanEntitlementRequestBodyValueType.d.ts +0 -11
- package/dist/api/resources/entitlements/types/UpdateCompanyOverrideRequestBodyValueType.d.ts +0 -11
- package/dist/api/resources/entitlements/types/UpdatePlanEntitlementRequestBodyPriceBehavior.d.ts +0 -11
- package/dist/api/resources/entitlements/types/UpdatePlanEntitlementRequestBodyValueType.d.ts +0 -11
- package/dist/api/resources/events/types/ListEventsRequestEventTypesItem.d.ts +0 -9
- package/dist/api/resources/events/types/ListEventsResponseParamsEventTypesItem.d.ts +0 -9
- package/dist/api/resources/features/types/CreateFeatureRequestBodyFeatureType.d.ts +0 -9
- package/dist/api/resources/features/types/UpdateFeatureRequestBodyFeatureType.d.ts +0 -9
- package/dist/api/resources/features/types/UpdateFeatureRequestBodyLifecyclePhase.d.ts +0 -15
- package/dist/api/resources/plans/types/CountPlansRequestPlanType.d.ts +0 -11
- package/dist/api/resources/plans/types/CountPlansResponseParamsPlanType.d.ts +0 -11
- package/dist/api/resources/plans/types/CreatePlanRequestBodyPlanType.d.ts +0 -8
- package/dist/api/resources/plans/types/ListPlansRequestPlanType.d.ts +0 -11
- package/dist/api/resources/plans/types/ListPlansResponseParamsPlanType.d.ts +0 -11
- package/dist/api/resources/plans/types/UpsertBillingProductRequestBodyChargeType.d.ts +0 -9
- package/dist/api/resources/webhooks/types/UpdateWebhookRequestBodyRequestTypesItem.d.ts +0 -39
- package/dist/api/resources/webhooks/types/UpdateWebhookRequestBodyStatus.d.ts +0 -8
- package/dist/api/types/BillingProductPricingUsageType.d.ts +0 -8
- package/dist/api/types/CompanyCrmDealsResponseData.d.ts +0 -11
- package/dist/api/types/CreateEntitlementReqCommonValueType.d.ts +0 -11
- package/dist/api/types/CreateEventRequestBodyEventType.d.ts +0 -12
- package/dist/api/types/CreditGrantDetailGrantReason.d.ts +0 -9
- package/dist/api/types/CreditGrantExpiryRequestBodyExpiryType.d.ts +0 -11
- package/dist/api/types/CreditGrantExpiryRequestBodyExpiryUnit.d.ts +0 -8
- package/dist/api/types/CreditGrantExpiryRequestBodyResetCadence.d.ts +0 -10
- package/dist/api/types/CreditGrantExpiryRequestBodyResetStart.d.ts +0 -8
- package/dist/api/types/CreditGrantExpiryRequestBodyResetType.d.ts +0 -8
- package/dist/api/types/CrmDealLineItem.d.ts +0 -18
- package/dist/api/types/CrmDealResponseData.d.ts +0 -16
- package/dist/api/types/CrmLineItemResponseData.d.ts +0 -11
- package/dist/api/types/CrmProductResponseData.d.ts +0 -15
- package/dist/api/types/Decimal.d.ts +0 -4
- package/dist/api/types/FeatureCompanyResponseDataAllocationType.d.ts +0 -13
- package/dist/api/types/FeatureCompanyResponseDataCreditGrantReason.d.ts +0 -12
- package/dist/api/types/FeatureCompanyUserResponseDataAllocationType.d.ts +0 -14
- package/dist/api/types/FeatureUsageResponseDataAllocationType.d.ts +0 -13
- package/dist/api/types/FeatureUsageResponseDataCreditGrantReason.d.ts +0 -12
- package/dist/api/types/PlanChangeResponseDataActorType.d.ts +0 -10
- package/dist/api/types/PlanChangeResponseDataBasePlanAction.d.ts +0 -13
- package/dist/api/types/PlanChangeResponseDataSubscriptionChangeAction.d.ts +0 -15
- package/dist/api/types/TraitDefinitionEntityType.d.ts +0 -8
- package/dist/api/types/UpdateEntitlementReqCommonValueType.d.ts +0 -11
- package/dist/api/types/UsageBasedEntitlementRequestBodyPriceBehavior.d.ts +0 -11
- package/dist/serialization/resources/accounts/types/CreateEnvironmentRequestBodyEnvironmentType.d.ts +0 -10
- package/dist/serialization/resources/accounts/types/UpdateEnvironmentRequestBodyEnvironmentType.d.ts +0 -10
- package/dist/serialization/resources/billing/types/CountBillingProductsRequestPriceUsageType.d.ts +0 -10
- package/dist/serialization/resources/billing/types/CountBillingProductsResponseParamsPriceUsageType.d.ts +0 -10
- package/dist/serialization/resources/billing/types/CreateBillingPriceRequestBodyBillingScheme.d.ts +0 -10
- package/dist/serialization/resources/billing/types/CreateBillingPriceRequestBodyTiersMode.d.ts +0 -10
- package/dist/serialization/resources/billing/types/CreateBillingPriceRequestBodyUsageType.d.ts +0 -10
- package/dist/serialization/resources/billing/types/CreateBillingSubscriptionRequestBodyTrialEndSetting.d.ts +0 -10
- package/dist/serialization/resources/billing/types/ListBillingProductsRequestPriceUsageType.d.ts +0 -10
- package/dist/serialization/resources/billing/types/ListBillingProductsResponseParamsPriceUsageType.d.ts +0 -10
- package/dist/serialization/resources/billing/types/ListProductPricesParams.d.ts +0 -23
- package/dist/serialization/resources/billing/types/ListProductPricesRequestPriceUsageType.d.ts +0 -10
- package/dist/serialization/resources/billing/types/ListProductPricesResponse.d.ts +0 -15
- package/dist/serialization/resources/billing/types/ListProductPricesResponseParamsPriceUsageType.d.ts +0 -10
- package/dist/serialization/resources/billing/types/SearchBillingPricesParams.d.ts +0 -25
- package/dist/serialization/resources/billing/types/SearchBillingPricesRequestTiersMode.d.ts +0 -10
- package/dist/serialization/resources/billing/types/SearchBillingPricesRequestUsageType.d.ts +0 -10
- package/dist/serialization/resources/billing/types/SearchBillingPricesResponse.d.ts +0 -15
- package/dist/serialization/resources/billing/types/SearchBillingPricesResponseParamsTiersMode.d.ts +0 -10
- package/dist/serialization/resources/billing/types/SearchBillingPricesResponseParamsUsageType.d.ts +0 -10
- package/dist/serialization/resources/companies/types/CountCompaniesForAdvancedFilterRequestSortOrderDirection.d.ts +0 -10
- package/dist/serialization/resources/companies/types/CountCompaniesForAdvancedFilterResponseParamsSortOrderDirection.d.ts +0 -10
- package/dist/serialization/resources/companies/types/CountEntityKeyDefinitionsRequestEntityType.d.ts +0 -10
- package/dist/serialization/resources/companies/types/CountEntityKeyDefinitionsResponseParamsEntityType.d.ts +0 -10
- package/dist/serialization/resources/companies/types/CountEntityTraitDefinitionsRequestEntityType.d.ts +0 -10
- package/dist/serialization/resources/companies/types/CountEntityTraitDefinitionsRequestTraitType.d.ts +0 -10
- package/dist/serialization/resources/companies/types/CountEntityTraitDefinitionsResponseParamsEntityType.d.ts +0 -10
- package/dist/serialization/resources/companies/types/CountEntityTraitDefinitionsResponseParamsTraitType.d.ts +0 -10
- package/dist/serialization/resources/companies/types/CreateEntityTraitDefinitionRequestBodyEntityType.d.ts +0 -10
- package/dist/serialization/resources/companies/types/CreateEntityTraitDefinitionRequestBodyTraitType.d.ts +0 -10
- package/dist/serialization/resources/companies/types/GetActiveDealsParams.d.ts +0 -15
- package/dist/serialization/resources/companies/types/GetActiveDealsResponse.d.ts +0 -15
- package/dist/serialization/resources/companies/types/ListCompaniesForAdvancedFilterRequestSortOrderDirection.d.ts +0 -10
- package/dist/serialization/resources/companies/types/ListCompaniesForAdvancedFilterResponseParamsSortOrderDirection.d.ts +0 -10
- package/dist/serialization/resources/companies/types/ListEntityKeyDefinitionsRequestEntityType.d.ts +0 -10
- package/dist/serialization/resources/companies/types/ListEntityKeyDefinitionsResponseParamsEntityType.d.ts +0 -10
- package/dist/serialization/resources/companies/types/ListEntityTraitDefinitionsRequestEntityType.d.ts +0 -10
- package/dist/serialization/resources/companies/types/ListEntityTraitDefinitionsRequestTraitType.d.ts +0 -10
- package/dist/serialization/resources/companies/types/ListEntityTraitDefinitionsResponseParamsEntityType.d.ts +0 -10
- package/dist/serialization/resources/companies/types/ListEntityTraitDefinitionsResponseParamsTraitType.d.ts +0 -10
- package/dist/serialization/resources/companies/types/UpdateEntityTraitDefinitionRequestBodyTraitType.d.ts +0 -10
- package/dist/serialization/resources/components/types/CreateComponentRequestBodyEntityType.d.ts +0 -10
- package/dist/serialization/resources/components/types/UpdateComponentRequestBodyEntityType.d.ts +0 -10
- package/dist/serialization/resources/components/types/UpdateComponentRequestBodyState.d.ts +0 -10
- package/dist/serialization/resources/credits/types/CountCreditBundlesRequestStatus.d.ts +0 -10
- package/dist/serialization/resources/credits/types/CountCreditBundlesResponseParamsStatus.d.ts +0 -10
- package/dist/serialization/resources/credits/types/CountCreditLedgerRequestPeriod.d.ts +0 -10
- package/dist/serialization/resources/credits/types/CountCreditLedgerResponseParamsPeriod.d.ts +0 -10
- package/dist/serialization/resources/credits/types/CreateBillingCreditRequestBodyBurnStrategy.d.ts +0 -10
- package/dist/serialization/resources/credits/types/CreateBillingCreditRequestBodyDefaultRolloverPolicy.d.ts +0 -10
- package/dist/serialization/resources/credits/types/CreateBillingPlanCreditGrantRequestBodyAutoTopupExpiryType.d.ts +0 -10
- package/dist/serialization/resources/credits/types/CreateBillingPlanCreditGrantRequestBodyAutoTopupExpiryUnit.d.ts +0 -10
- package/dist/serialization/resources/credits/types/CreateBillingPlanCreditGrantRequestBodyExpiryType.d.ts +0 -10
- package/dist/serialization/resources/credits/types/CreateBillingPlanCreditGrantRequestBodyExpiryUnit.d.ts +0 -10
- package/dist/serialization/resources/credits/types/CreateBillingPlanCreditGrantRequestBodyResetCadence.d.ts +0 -10
- package/dist/serialization/resources/credits/types/CreateBillingPlanCreditGrantRequestBodyResetStart.d.ts +0 -10
- package/dist/serialization/resources/credits/types/CreateBillingPlanCreditGrantRequestBodyResetType.d.ts +0 -10
- package/dist/serialization/resources/credits/types/CreateCompanyCreditGrantExpiryType.d.ts +0 -10
- package/dist/serialization/resources/credits/types/CreateCompanyCreditGrantExpiryUnit.d.ts +0 -10
- package/dist/serialization/resources/credits/types/CreateCreditBundleRequestBodyExpiryType.d.ts +0 -10
- package/dist/serialization/resources/credits/types/CreateCreditBundleRequestBodyExpiryUnit.d.ts +0 -10
- package/dist/serialization/resources/credits/types/CreateCreditBundleRequestBodyStatus.d.ts +0 -10
- package/dist/serialization/resources/credits/types/GetEnrichedCreditLedgerRequestPeriod.d.ts +0 -10
- package/dist/serialization/resources/credits/types/GetEnrichedCreditLedgerResponseParamsPeriod.d.ts +0 -10
- package/dist/serialization/resources/credits/types/ListCompanyGrantsRequestDir.d.ts +0 -10
- package/dist/serialization/resources/credits/types/ListCompanyGrantsRequestOrder.d.ts +0 -10
- package/dist/serialization/resources/credits/types/ListCompanyGrantsResponseParamsDir.d.ts +0 -10
- package/dist/serialization/resources/credits/types/ListCompanyGrantsResponseParamsOrder.d.ts +0 -10
- package/dist/serialization/resources/credits/types/ListCreditBundlesRequestStatus.d.ts +0 -10
- package/dist/serialization/resources/credits/types/ListCreditBundlesResponseParamsStatus.d.ts +0 -10
- package/dist/serialization/resources/credits/types/UpdateBillingCreditRequestBodyBurnStrategy.d.ts +0 -10
- package/dist/serialization/resources/credits/types/UpdateBillingCreditRequestBodyDefaultRolloverPolicy.d.ts +0 -10
- package/dist/serialization/resources/credits/types/UpdateBillingPlanCreditGrantRequestBodyExpiryType.d.ts +0 -10
- package/dist/serialization/resources/credits/types/UpdateBillingPlanCreditGrantRequestBodyExpiryUnit.d.ts +0 -10
- package/dist/serialization/resources/credits/types/UpdateBillingPlanCreditGrantRequestBodyResetCadence.d.ts +0 -10
- package/dist/serialization/resources/credits/types/UpdateBillingPlanCreditGrantRequestBodyResetStart.d.ts +0 -10
- package/dist/serialization/resources/credits/types/UpdateBillingPlanCreditGrantRequestBodyResetType.d.ts +0 -10
- package/dist/serialization/resources/credits/types/UpdateCreditBundleDetailsRequestBodyExpiryType.d.ts +0 -10
- package/dist/serialization/resources/credits/types/UpdateCreditBundleDetailsRequestBodyExpiryUnit.d.ts +0 -10
- package/dist/serialization/resources/credits/types/UpdateCreditBundleDetailsRequestBodyStatus.d.ts +0 -10
- package/dist/serialization/resources/credits/types/ZeroOutGrantRequestBodyReason.d.ts +0 -10
- package/dist/serialization/resources/crm/client/index.d.ts +0 -1
- package/dist/serialization/resources/crm/client/requests/CreateCrmDealLineItemAssociationRequestBody.d.ts +0 -13
- package/dist/serialization/resources/crm/client/requests/CreateCrmDealRequestBody.d.ts +0 -20
- package/dist/serialization/resources/crm/client/requests/CreateCrmLineItemRequestBody.d.ts +0 -19
- package/dist/serialization/resources/crm/client/requests/CreateCrmProductRequestBody.d.ts +0 -19
- package/dist/serialization/resources/crm/client/requests/index.d.ts +0 -4
- package/dist/serialization/resources/crm/index.d.ts +0 -2
- package/dist/serialization/resources/crm/types/ListCrmProductsParams.d.ts +0 -15
- package/dist/serialization/resources/crm/types/ListCrmProductsResponse.d.ts +0 -15
- package/dist/serialization/resources/crm/types/UpsertCrmDealResponse.d.ts +0 -14
- package/dist/serialization/resources/crm/types/UpsertCrmProductResponse.d.ts +0 -14
- package/dist/serialization/resources/crm/types/UpsertDealLineItemAssociationResponse.d.ts +0 -14
- package/dist/serialization/resources/crm/types/UpsertLineItemResponse.d.ts +0 -14
- package/dist/serialization/resources/crm/types/index.d.ts +0 -6
- package/dist/serialization/resources/entitlements/types/CreateCompanyOverrideRequestBodyValueType.d.ts +0 -10
- package/dist/serialization/resources/entitlements/types/CreatePlanEntitlementRequestBodyPriceBehavior.d.ts +0 -10
- package/dist/serialization/resources/entitlements/types/CreatePlanEntitlementRequestBodyValueType.d.ts +0 -10
- package/dist/serialization/resources/entitlements/types/UpdateCompanyOverrideRequestBodyValueType.d.ts +0 -10
- package/dist/serialization/resources/entitlements/types/UpdatePlanEntitlementRequestBodyPriceBehavior.d.ts +0 -10
- package/dist/serialization/resources/entitlements/types/UpdatePlanEntitlementRequestBodyValueType.d.ts +0 -10
- package/dist/serialization/resources/events/types/ListEventsRequestEventTypesItem.d.ts +0 -10
- package/dist/serialization/resources/events/types/ListEventsResponseParamsEventTypesItem.d.ts +0 -10
- package/dist/serialization/resources/features/types/CreateFeatureRequestBodyFeatureType.d.ts +0 -10
- package/dist/serialization/resources/features/types/CreateFeatureRequestBodyLifecyclePhase.d.ts +0 -10
- package/dist/serialization/resources/features/types/UpdateFeatureRequestBodyFeatureType.d.ts +0 -10
- package/dist/serialization/resources/features/types/UpdateFeatureRequestBodyLifecyclePhase.d.ts +0 -10
- package/dist/serialization/resources/plans/types/CountPlansRequestPlanType.d.ts +0 -10
- package/dist/serialization/resources/plans/types/CountPlansResponseParamsPlanType.d.ts +0 -10
- package/dist/serialization/resources/plans/types/CreatePlanRequestBodyPlanType.d.ts +0 -10
- package/dist/serialization/resources/plans/types/ListPlansRequestPlanType.d.ts +0 -10
- package/dist/serialization/resources/plans/types/ListPlansResponseParamsPlanType.d.ts +0 -10
- package/dist/serialization/resources/plans/types/UpsertBillingProductRequestBodyChargeType.d.ts +0 -10
- package/dist/serialization/resources/webhooks/types/CreateWebhookRequestBodyRequestTypesItem.d.ts +0 -10
- package/dist/serialization/resources/webhooks/types/UpdateWebhookRequestBodyRequestTypesItem.d.ts +0 -10
- package/dist/serialization/resources/webhooks/types/UpdateWebhookRequestBodyStatus.d.ts +0 -10
- package/dist/serialization/types/BillingProductPricingUsageType.d.ts +0 -10
- package/dist/serialization/types/CompanyCrmDealsResponseData.d.ts +0 -17
- package/dist/serialization/types/CreateEntitlementReqCommonValueType.d.ts +0 -10
- package/dist/serialization/types/CreateEventRequestBodyEventType.d.ts +0 -10
- package/dist/serialization/types/CreditGrantDetailGrantReason.d.ts +0 -10
- package/dist/serialization/types/CreditGrantExpiryRequestBodyExpiryType.d.ts +0 -10
- package/dist/serialization/types/CreditGrantExpiryRequestBodyExpiryUnit.d.ts +0 -10
- package/dist/serialization/types/CreditGrantExpiryRequestBodyResetCadence.d.ts +0 -10
- package/dist/serialization/types/CreditGrantExpiryRequestBodyResetStart.d.ts +0 -10
- package/dist/serialization/types/CreditGrantExpiryRequestBodyResetType.d.ts +0 -10
- package/dist/serialization/types/CrmDealLineItem.d.ts +0 -24
- package/dist/serialization/types/CrmDealResponseData.d.ts +0 -22
- package/dist/serialization/types/CrmLineItemResponseData.d.ts +0 -17
- package/dist/serialization/types/CrmProductResponseData.d.ts +0 -21
- package/dist/serialization/types/Decimal.d.ts +0 -10
- package/dist/serialization/types/FeatureCompanyResponseDataAllocationType.d.ts +0 -10
- package/dist/serialization/types/FeatureCompanyResponseDataCreditGrantReason.d.ts +0 -10
- package/dist/serialization/types/FeatureCompanyUserResponseDataAllocationType.d.ts +0 -10
- package/dist/serialization/types/FeatureUsageResponseDataAllocationType.d.ts +0 -10
- package/dist/serialization/types/FeatureUsageResponseDataCreditGrantReason.d.ts +0 -10
- package/dist/serialization/types/PlanChangeResponseDataAction.d.ts +0 -10
- package/dist/serialization/types/PlanChangeResponseDataActorType.d.ts +0 -10
- package/dist/serialization/types/PlanChangeResponseDataBasePlanAction.d.ts +0 -10
- package/dist/serialization/types/PlanChangeResponseDataSubscriptionChangeAction.d.ts +0 -10
- package/dist/serialization/types/TraitDefinitionEntityType.d.ts +0 -10
- package/dist/serialization/types/UpdateEntitlementReqCommonValueType.d.ts +0 -10
- package/dist/serialization/types/UsageBasedEntitlementRequestBodyPriceBehavior.d.ts +0 -10
package/dist/api/types/Rule.d.ts
CHANGED
|
@@ -1,7 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
-
*/
|
|
4
|
-
import * as Schematic from "../index";
|
|
1
|
+
import type * as Schematic from "../index";
|
|
5
2
|
export interface RuleConditionDetailResponseData {
|
|
6
3
|
comparisonTrait?: Schematic.EntityTraitDefinitionResponseData;
|
|
7
4
|
comparisonTraitId?: string;
|
|
@@ -20,7 +17,7 @@ export interface RuleConditionDetailResponseData {
|
|
|
20
17
|
resources: Schematic.PreviewObjectResponseData[];
|
|
21
18
|
ruleId: string;
|
|
22
19
|
trait?: Schematic.EntityTraitDefinitionResponseData;
|
|
23
|
-
traitEntityType?:
|
|
20
|
+
traitEntityType?: Schematic.EntityType;
|
|
24
21
|
traitId?: string;
|
|
25
22
|
traitValue: string;
|
|
26
23
|
updatedAt: Date;
|
|
@@ -1,7 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
-
*/
|
|
4
|
-
import * as Schematic from "../index";
|
|
1
|
+
import type * as Schematic from "../index";
|
|
5
2
|
export interface RuleConditionGroupDetailResponseData {
|
|
6
3
|
conditions: Schematic.RuleConditionDetailResponseData[];
|
|
7
4
|
createdAt: Date;
|
|
@@ -1,6 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
-
*/
|
|
1
|
+
import type * as Schematic from "../index";
|
|
4
2
|
export interface RuleConditionResponseData {
|
|
5
3
|
comparisonTraitId?: string;
|
|
6
4
|
conditionGroupId?: string;
|
|
@@ -16,7 +14,7 @@ export interface RuleConditionResponseData {
|
|
|
16
14
|
operator: string;
|
|
17
15
|
resourceIds: string[];
|
|
18
16
|
ruleId: string;
|
|
19
|
-
traitEntityType?:
|
|
17
|
+
traitEntityType?: Schematic.EntityType;
|
|
20
18
|
traitId?: string;
|
|
21
19
|
traitValue: string;
|
|
22
20
|
updatedAt: Date;
|
|
@@ -1,7 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
-
*/
|
|
4
|
-
import * as Schematic from "../index";
|
|
1
|
+
import type * as Schematic from "../index";
|
|
5
2
|
export interface RuleDetailResponseData {
|
|
6
3
|
conditionGroups: Schematic.RuleConditionGroupDetailResponseData[];
|
|
7
4
|
conditions: Schematic.RuleConditionDetailResponseData[];
|
|
@@ -1,7 +1,3 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
-
*/
|
|
4
|
-
export type RuleRuleType = "default" | "global_override" | "company_override" | "company_override_usage_exceeded" | "plan_entitlement" | "plan_entitlement_usage_exceeded" | "standard";
|
|
5
1
|
export declare const RuleRuleType: {
|
|
6
2
|
readonly Default: "default";
|
|
7
3
|
readonly GlobalOverride: "global_override";
|
|
@@ -11,3 +7,4 @@ export declare const RuleRuleType: {
|
|
|
11
7
|
readonly PlanEntitlementUsageExceeded: "plan_entitlement_usage_exceeded";
|
|
12
8
|
readonly Standard: "standard";
|
|
13
9
|
};
|
|
10
|
+
export type RuleRuleType = (typeof RuleRuleType)[keyof typeof RuleRuleType];
|
|
@@ -1,7 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
-
*/
|
|
4
|
-
import * as Schematic from "../index";
|
|
1
|
+
import type * as Schematic from "../index";
|
|
5
2
|
export interface RulesDetailResponseData {
|
|
6
3
|
flag?: Schematic.FlagResponseData;
|
|
7
4
|
rules: Schematic.RuleDetailResponseData[];
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
/** The current schema version hash for rules engine types. The first enum value is always the current version. */
|
|
2
|
+
export declare const RulesEngineSchemaVersion: {
|
|
3
|
+
readonly FiveHundredFortyNineE6Fea: "549e6fea";
|
|
4
|
+
readonly PlaceholderForFernCompatibility: "placeholder-for-fern-compatibility";
|
|
5
|
+
};
|
|
6
|
+
export type RulesEngineSchemaVersion = (typeof RulesEngineSchemaVersion)[keyof typeof RulesEngineSchemaVersion];
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import type * as Schematic from "../index";
|
|
2
|
+
export interface RulesengineCheckFlagResult {
|
|
3
|
+
companyId?: string;
|
|
4
|
+
err?: string;
|
|
5
|
+
featureAllocation?: number;
|
|
6
|
+
featureUsage?: number;
|
|
7
|
+
featureUsageEvent?: string;
|
|
8
|
+
featureUsagePeriod?: Schematic.RulesengineCheckFlagResultFeatureUsagePeriod;
|
|
9
|
+
featureUsageResetAt?: Date;
|
|
10
|
+
flagId?: string;
|
|
11
|
+
flagKey: string;
|
|
12
|
+
reason: string;
|
|
13
|
+
ruleId?: string;
|
|
14
|
+
ruleType?: Schematic.RulesengineCheckFlagResultRuleType;
|
|
15
|
+
userId?: string;
|
|
16
|
+
value: boolean;
|
|
17
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
export declare const RulesengineCheckFlagResultFeatureUsagePeriod: {
|
|
2
|
+
readonly AllTime: "all_time";
|
|
3
|
+
readonly CurrentDay: "current_day";
|
|
4
|
+
readonly CurrentMonth: "current_month";
|
|
5
|
+
readonly CurrentWeek: "current_week";
|
|
6
|
+
};
|
|
7
|
+
export type RulesengineCheckFlagResultFeatureUsagePeriod = (typeof RulesengineCheckFlagResultFeatureUsagePeriod)[keyof typeof RulesengineCheckFlagResultFeatureUsagePeriod];
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export declare const RulesengineCheckFlagResultRuleType: {
|
|
2
|
+
readonly Default: "default";
|
|
3
|
+
readonly GlobalOverride: "global_override";
|
|
4
|
+
readonly CompanyOverride: "company_override";
|
|
5
|
+
readonly CompanyOverrideUsageExceeded: "company_override_usage_exceeded";
|
|
6
|
+
readonly PlanEntitlement: "plan_entitlement";
|
|
7
|
+
readonly PlanEntitlementUsageExceeded: "plan_entitlement_usage_exceeded";
|
|
8
|
+
readonly Standard: "standard";
|
|
9
|
+
};
|
|
10
|
+
export type RulesengineCheckFlagResultRuleType = (typeof RulesengineCheckFlagResultRuleType)[keyof typeof RulesengineCheckFlagResultRuleType];
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import type * as Schematic from "../index";
|
|
2
|
+
export interface RulesengineCompany {
|
|
3
|
+
accountId: string;
|
|
4
|
+
basePlanId?: string;
|
|
5
|
+
billingProductIds: string[];
|
|
6
|
+
creditBalances: Record<string, number>;
|
|
7
|
+
crmProductIds: string[];
|
|
8
|
+
environmentId: string;
|
|
9
|
+
id: string;
|
|
10
|
+
keys: Record<string, string>;
|
|
11
|
+
metrics: Schematic.RulesengineCompanyMetric[];
|
|
12
|
+
planIds: string[];
|
|
13
|
+
rules: Schematic.RulesengineRule[];
|
|
14
|
+
subscription?: Schematic.RulesengineSubscription;
|
|
15
|
+
traits: Schematic.RulesengineTrait[];
|
|
16
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type * as Schematic from "../index";
|
|
2
|
+
export interface RulesengineCompanyMetric {
|
|
3
|
+
accountId: string;
|
|
4
|
+
companyId: string;
|
|
5
|
+
createdAt: Date;
|
|
6
|
+
environmentId: string;
|
|
7
|
+
eventSubtype: string;
|
|
8
|
+
monthReset: Schematic.RulesengineCompanyMetricMonthReset;
|
|
9
|
+
period: Schematic.RulesengineCompanyMetricPeriod;
|
|
10
|
+
validUntil?: Date;
|
|
11
|
+
value: number;
|
|
12
|
+
}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export declare const RulesengineCompanyMetricMonthReset: {
|
|
2
|
+
readonly FirstOfMonth: "first_of_month";
|
|
3
|
+
readonly BillingCycle: "billing_cycle";
|
|
4
|
+
};
|
|
5
|
+
export type RulesengineCompanyMetricMonthReset = (typeof RulesengineCompanyMetricMonthReset)[keyof typeof RulesengineCompanyMetricMonthReset];
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
export declare const RulesengineCompanyMetricPeriod: {
|
|
2
|
+
readonly AllTime: "all_time";
|
|
3
|
+
readonly CurrentDay: "current_day";
|
|
4
|
+
readonly CurrentMonth: "current_month";
|
|
5
|
+
readonly CurrentWeek: "current_week";
|
|
6
|
+
};
|
|
7
|
+
export type RulesengineCompanyMetricPeriod = (typeof RulesengineCompanyMetricPeriod)[keyof typeof RulesengineCompanyMetricPeriod];
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import type * as Schematic from "../index";
|
|
2
|
+
export interface RulesengineCondition {
|
|
3
|
+
accountId: string;
|
|
4
|
+
comparisonTraitDefinition?: Schematic.RulesengineTraitDefinition;
|
|
5
|
+
conditionType: Schematic.RulesengineConditionConditionType;
|
|
6
|
+
consumptionRate?: number;
|
|
7
|
+
creditId?: string;
|
|
8
|
+
environmentId: string;
|
|
9
|
+
eventSubtype?: string;
|
|
10
|
+
id: string;
|
|
11
|
+
metricPeriod?: Schematic.RulesengineConditionMetricPeriod;
|
|
12
|
+
metricPeriodMonthReset?: Schematic.RulesengineConditionMetricPeriodMonthReset;
|
|
13
|
+
metricValue?: number;
|
|
14
|
+
operator: Schematic.RulesengineConditionOperator;
|
|
15
|
+
resourceIds: string[];
|
|
16
|
+
traitDefinition?: Schematic.RulesengineTraitDefinition;
|
|
17
|
+
traitValue: string;
|
|
18
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export declare const RulesengineConditionConditionType: {
|
|
2
|
+
readonly BasePlan: "base_plan";
|
|
3
|
+
readonly BillingProduct: "billing_product";
|
|
4
|
+
readonly Company: "company";
|
|
5
|
+
readonly Credit: "credit";
|
|
6
|
+
readonly CrmProduct: "crm_product";
|
|
7
|
+
readonly Metric: "metric";
|
|
8
|
+
readonly Plan: "plan";
|
|
9
|
+
readonly Trait: "trait";
|
|
10
|
+
readonly User: "user";
|
|
11
|
+
};
|
|
12
|
+
export type RulesengineConditionConditionType = (typeof RulesengineConditionConditionType)[keyof typeof RulesengineConditionConditionType];
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
export declare const RulesengineConditionMetricPeriod: {
|
|
2
|
+
readonly AllTime: "all_time";
|
|
3
|
+
readonly CurrentDay: "current_day";
|
|
4
|
+
readonly CurrentMonth: "current_month";
|
|
5
|
+
readonly CurrentWeek: "current_week";
|
|
6
|
+
};
|
|
7
|
+
export type RulesengineConditionMetricPeriod = (typeof RulesengineConditionMetricPeriod)[keyof typeof RulesengineConditionMetricPeriod];
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export declare const RulesengineConditionMetricPeriodMonthReset: {
|
|
2
|
+
readonly FirstOfMonth: "first_of_month";
|
|
3
|
+
readonly BillingCycle: "billing_cycle";
|
|
4
|
+
};
|
|
5
|
+
export type RulesengineConditionMetricPeriodMonthReset = (typeof RulesengineConditionMetricPeriodMonthReset)[keyof typeof RulesengineConditionMetricPeriodMonthReset];
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export declare const RulesengineConditionOperator: {
|
|
2
|
+
readonly Eq: "eq";
|
|
3
|
+
readonly Ne: "ne";
|
|
4
|
+
readonly Gt: "gt";
|
|
5
|
+
readonly Lt: "lt";
|
|
6
|
+
readonly Gte: "gte";
|
|
7
|
+
readonly Lte: "lte";
|
|
8
|
+
readonly IsEmpty: "is_empty";
|
|
9
|
+
readonly NotEmpty: "not_empty";
|
|
10
|
+
};
|
|
11
|
+
export type RulesengineConditionOperator = (typeof RulesengineConditionOperator)[keyof typeof RulesengineConditionOperator];
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import type * as Schematic from "../index";
|
|
2
|
+
export interface RulesengineRule {
|
|
3
|
+
accountId: string;
|
|
4
|
+
conditionGroups: Schematic.RulesengineConditionGroup[];
|
|
5
|
+
conditions: Schematic.RulesengineCondition[];
|
|
6
|
+
environmentId: string;
|
|
7
|
+
flagId?: string;
|
|
8
|
+
id: string;
|
|
9
|
+
name: string;
|
|
10
|
+
priority: number;
|
|
11
|
+
ruleType: Schematic.RulesengineRuleRuleType;
|
|
12
|
+
value: boolean;
|
|
13
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export declare const RulesengineRuleRuleType: {
|
|
2
|
+
readonly Default: "default";
|
|
3
|
+
readonly GlobalOverride: "global_override";
|
|
4
|
+
readonly CompanyOverride: "company_override";
|
|
5
|
+
readonly CompanyOverrideUsageExceeded: "company_override_usage_exceeded";
|
|
6
|
+
readonly PlanEntitlement: "plan_entitlement";
|
|
7
|
+
readonly PlanEntitlementUsageExceeded: "plan_entitlement_usage_exceeded";
|
|
8
|
+
readonly Standard: "standard";
|
|
9
|
+
};
|
|
10
|
+
export type RulesengineRuleRuleType = (typeof RulesengineRuleRuleType)[keyof typeof RulesengineRuleRuleType];
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
export declare const RulesengineTraitDefinitionComparableType: {
|
|
2
|
+
readonly Bool: "bool";
|
|
3
|
+
readonly Date: "date";
|
|
4
|
+
readonly Int: "int";
|
|
5
|
+
readonly String: "string";
|
|
6
|
+
};
|
|
7
|
+
export type RulesengineTraitDefinitionComparableType = (typeof RulesengineTraitDefinitionComparableType)[keyof typeof RulesengineTraitDefinitionComparableType];
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export declare const SubscriptionStatus: {
|
|
2
|
+
readonly Active: "active";
|
|
3
|
+
readonly Canceled: "canceled";
|
|
4
|
+
readonly Expired: "expired";
|
|
5
|
+
readonly Incomplete: "incomplete";
|
|
6
|
+
readonly IncompleteExpired: "incomplete_expired";
|
|
7
|
+
readonly PastDue: "past_due";
|
|
8
|
+
readonly Paused: "paused";
|
|
9
|
+
readonly Trialing: "trialing";
|
|
10
|
+
readonly Unpaid: "unpaid";
|
|
11
|
+
};
|
|
12
|
+
export type SubscriptionStatus = (typeof SubscriptionStatus)[keyof typeof SubscriptionStatus];
|
|
@@ -1,12 +1,10 @@
|
|
|
1
|
-
|
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
-
*/
|
|
1
|
+
import type * as Schematic from "../index";
|
|
4
2
|
export interface SubscriptionTraitUpdate {
|
|
5
3
|
featureId: string;
|
|
6
4
|
hierarchy: string[];
|
|
7
5
|
reason: string;
|
|
8
6
|
traitId: string;
|
|
9
7
|
traitName: string;
|
|
10
|
-
traitType:
|
|
8
|
+
traitType: Schematic.TraitType;
|
|
11
9
|
value: string;
|
|
12
10
|
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type TemporaryAccessTokenResourceType = "company";
|
|
@@ -1,12 +1,10 @@
|
|
|
1
|
-
|
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
-
*/
|
|
1
|
+
import type * as Schematic from "../index";
|
|
4
2
|
export interface TemporaryAccessTokenResponseData {
|
|
5
3
|
apiKeyId: string;
|
|
6
4
|
createdAt: Date;
|
|
7
5
|
environmentId: string;
|
|
8
6
|
expiredAt: Date;
|
|
9
7
|
id: string;
|
|
10
|
-
resourceType:
|
|
8
|
+
resourceType: Schematic.TemporaryAccessTokenResourceType;
|
|
11
9
|
updatedAt: Date;
|
|
12
10
|
}
|
|
@@ -1,9 +1,6 @@
|
|
|
1
|
-
|
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
-
*/
|
|
4
|
-
import * as Schematic from "../index";
|
|
1
|
+
import type * as Schematic from "../index";
|
|
5
2
|
export interface TraitDefinition {
|
|
6
3
|
comparableType: Schematic.TraitDefinitionComparableType;
|
|
7
|
-
entityType: Schematic.
|
|
4
|
+
entityType: Schematic.EntityType;
|
|
8
5
|
id: string;
|
|
9
6
|
}
|
|
@@ -1,10 +1,7 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
-
*/
|
|
4
|
-
export type TraitDefinitionComparableType = "bool" | "date" | "int" | "string";
|
|
5
1
|
export declare const TraitDefinitionComparableType: {
|
|
6
2
|
readonly Bool: "bool";
|
|
7
3
|
readonly Date: "date";
|
|
8
4
|
readonly Int: "int";
|
|
9
5
|
readonly String: "string";
|
|
10
6
|
};
|
|
7
|
+
export type TraitDefinitionComparableType = (typeof TraitDefinitionComparableType)[keyof typeof TraitDefinitionComparableType];
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export declare const TraitType: {
|
|
2
|
+
readonly Boolean: "boolean";
|
|
3
|
+
readonly Currency: "currency";
|
|
4
|
+
readonly Date: "date";
|
|
5
|
+
readonly Number: "number";
|
|
6
|
+
readonly String: "string";
|
|
7
|
+
readonly Url: "url";
|
|
8
|
+
};
|
|
9
|
+
export type TraitType = (typeof TraitType)[keyof typeof TraitType];
|
|
@@ -1,7 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
-
*/
|
|
4
|
-
import * as Schematic from "../index";
|
|
1
|
+
import type * as Schematic from "../index";
|
|
5
2
|
export interface UpdateEntitlementReqCommon {
|
|
6
3
|
creditConsumptionRate?: number;
|
|
7
4
|
metricPeriod?: Schematic.UpdateEntitlementReqCommonMetricPeriod;
|
|
@@ -10,5 +7,5 @@ export interface UpdateEntitlementReqCommon {
|
|
|
10
7
|
valueCreditId?: string;
|
|
11
8
|
valueNumeric?: number;
|
|
12
9
|
valueTraitId?: string;
|
|
13
|
-
valueType: Schematic.
|
|
10
|
+
valueType: Schematic.EntitlementValueType;
|
|
14
11
|
}
|
|
@@ -1,10 +1,7 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
-
*/
|
|
4
|
-
export type UpdateEntitlementReqCommonMetricPeriod = "all_time" | "current_month" | "current_week" | "current_day";
|
|
5
1
|
export declare const UpdateEntitlementReqCommonMetricPeriod: {
|
|
6
2
|
readonly AllTime: "all_time";
|
|
7
3
|
readonly CurrentMonth: "current_month";
|
|
8
4
|
readonly CurrentWeek: "current_week";
|
|
9
5
|
readonly CurrentDay: "current_day";
|
|
10
6
|
};
|
|
7
|
+
export type UpdateEntitlementReqCommonMetricPeriod = (typeof UpdateEntitlementReqCommonMetricPeriod)[keyof typeof UpdateEntitlementReqCommonMetricPeriod];
|
|
@@ -1,8 +1,5 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
-
*/
|
|
4
|
-
export type UpdateEntitlementReqCommonMetricPeriodMonthReset = "first_of_month" | "billing_cycle";
|
|
5
1
|
export declare const UpdateEntitlementReqCommonMetricPeriodMonthReset: {
|
|
6
2
|
readonly FirstOfMonth: "first_of_month";
|
|
7
3
|
readonly BillingCycle: "billing_cycle";
|
|
8
4
|
};
|
|
5
|
+
export type UpdateEntitlementReqCommonMetricPeriodMonthReset = (typeof UpdateEntitlementReqCommonMetricPeriodMonthReset)[keyof typeof UpdateEntitlementReqCommonMetricPeriodMonthReset];
|
|
@@ -1,7 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
-
*/
|
|
4
|
-
import * as Schematic from "../index";
|
|
1
|
+
import type * as Schematic from "../index";
|
|
5
2
|
export interface UpdateRuleRequestBody {
|
|
6
3
|
conditionGroups: Schematic.CreateOrUpdateConditionGroupRequestBody[];
|
|
7
4
|
conditions: Schematic.CreateOrUpdateConditionRequestBody[];
|