@schematichq/schematic-typescript-node 1.2.7 → 1.3.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/BaseClient.d.ts +40 -0
- package/dist/Client.d.ts +55 -74
- package/dist/api/errors/BadRequestError.d.ts +2 -5
- package/dist/api/errors/ForbiddenError.d.ts +2 -5
- package/dist/api/errors/InternalServerError.d.ts +2 -5
- package/dist/api/errors/NotFoundError.d.ts +2 -5
- package/dist/api/errors/UnauthorizedError.d.ts +2 -5
- package/dist/api/errors/index.d.ts +2 -2
- package/dist/api/index.d.ts +1 -1
- package/dist/api/resources/accesstokens/client/Client.d.ts +11 -31
- package/dist/api/resources/accesstokens/client/requests/IssueTemporaryAccessTokenRequestBody.d.ts +1 -6
- package/dist/api/resources/accesstokens/client/requests/index.d.ts +1 -1
- package/dist/api/resources/accesstokens/index.d.ts +1 -1
- package/dist/api/resources/accesstokens/types/IssueTemporaryAccessTokenResponse.d.ts +1 -4
- package/dist/api/resources/accounts/client/Client.d.ts +45 -64
- package/dist/api/resources/accounts/client/requests/CountApiKeysRequest.d.ts +2 -9
- package/dist/api/resources/accounts/client/requests/CountApiRequestsRequest.d.ts +2 -9
- package/dist/api/resources/accounts/client/requests/CreateApiKeyRequestBody.d.ts +0 -3
- package/dist/api/resources/accounts/client/requests/CreateEnvironmentRequestBody.d.ts +1 -4
- package/dist/api/resources/accounts/client/requests/ListApiKeysRequest.d.ts +2 -9
- package/dist/api/resources/accounts/client/requests/ListApiRequestsRequest.d.ts +2 -9
- package/dist/api/resources/accounts/client/requests/ListEnvironmentsRequest.d.ts +2 -9
- package/dist/api/resources/accounts/client/requests/UpdateApiKeyRequestBody.d.ts +0 -3
- package/dist/api/resources/accounts/client/requests/UpdateEnvironmentRequestBody.d.ts +1 -4
- package/dist/api/resources/accounts/client/requests/index.d.ts +9 -9
- package/dist/api/resources/accounts/index.d.ts +1 -1
- package/dist/api/resources/accounts/types/CountApiKeysParams.d.ts +0 -3
- package/dist/api/resources/accounts/types/CountApiKeysResponse.d.ts +1 -4
- package/dist/api/resources/accounts/types/CountApiRequestsParams.d.ts +0 -3
- package/dist/api/resources/accounts/types/CountApiRequestsResponse.d.ts +1 -4
- package/dist/api/resources/accounts/types/CreateApiKeyResponse.d.ts +1 -4
- package/dist/api/resources/accounts/types/CreateEnvironmentResponse.d.ts +1 -4
- package/dist/api/resources/accounts/types/DeleteApiKeyResponse.d.ts +1 -4
- package/dist/api/resources/accounts/types/DeleteEnvironmentResponse.d.ts +1 -4
- package/dist/api/resources/accounts/types/GetApiKeyResponse.d.ts +1 -4
- package/dist/api/resources/accounts/types/GetApiRequestResponse.d.ts +1 -4
- package/dist/api/resources/accounts/types/GetEnvironmentResponse.d.ts +1 -4
- package/dist/api/resources/accounts/types/ListApiKeysParams.d.ts +0 -3
- package/dist/api/resources/accounts/types/ListApiKeysResponse.d.ts +1 -4
- package/dist/api/resources/accounts/types/ListApiRequestsParams.d.ts +0 -3
- package/dist/api/resources/accounts/types/ListApiRequestsResponse.d.ts +1 -4
- package/dist/api/resources/accounts/types/ListEnvironmentsParams.d.ts +0 -3
- package/dist/api/resources/accounts/types/ListEnvironmentsResponse.d.ts +1 -4
- package/dist/api/resources/accounts/types/QuickstartResponse.d.ts +1 -4
- package/dist/api/resources/accounts/types/UpdateApiKeyResponse.d.ts +1 -4
- package/dist/api/resources/accounts/types/UpdateEnvironmentResponse.d.ts +1 -4
- package/dist/api/resources/accounts/types/index.d.ts +13 -13
- package/dist/api/resources/billing/client/Client.d.ts +66 -82
- package/dist/api/resources/billing/client/requests/CountBillingProductsRequest.d.ts +18 -33
- package/dist/api/resources/billing/client/requests/CountCustomersRequest.d.ts +5 -11
- package/dist/api/resources/billing/client/requests/CreateBillingCustomerRequestBody.d.ts +2 -5
- package/dist/api/resources/billing/client/requests/CreateBillingPriceRequestBody.d.ts +2 -4
- package/dist/api/resources/billing/client/requests/CreateBillingProductRequestBody.d.ts +2 -3
- package/dist/api/resources/billing/client/requests/CreateBillingSubscriptionRequestBody.d.ts +3 -6
- package/dist/api/resources/billing/client/requests/CreateCouponRequestBody.d.ts +0 -3
- package/dist/api/resources/billing/client/requests/CreateInvoiceRequestBody.d.ts +0 -3
- package/dist/api/resources/billing/client/requests/CreateMeterRequestBody.d.ts +0 -3
- package/dist/api/resources/billing/client/requests/CreatePaymentMethodRequestBody.d.ts +0 -3
- package/dist/api/resources/billing/client/requests/ListBillingPricesRequest.d.ts +9 -22
- package/dist/api/resources/billing/client/requests/ListBillingProductPricesRequest.d.ts +9 -22
- package/dist/api/resources/billing/client/requests/ListBillingProductsRequest.d.ts +18 -33
- package/dist/api/resources/billing/client/requests/ListCouponsRequest.d.ts +2 -9
- package/dist/api/resources/billing/client/requests/ListCustomersWithSubscriptionsRequest.d.ts +5 -11
- package/dist/api/resources/billing/client/requests/ListInvoicesRequest.d.ts +2 -9
- package/dist/api/resources/billing/client/requests/ListMetersRequest.d.ts +2 -9
- package/dist/api/resources/billing/client/requests/ListPaymentMethodsRequest.d.ts +2 -9
- package/dist/api/resources/billing/client/requests/index.d.ts +18 -18
- package/dist/api/resources/billing/index.d.ts +1 -1
- package/dist/api/resources/billing/types/CountBillingProductsParams.d.ts +3 -5
- package/dist/api/resources/billing/types/CountBillingProductsResponse.d.ts +1 -4
- package/dist/api/resources/billing/types/CountCustomersParams.d.ts +2 -4
- package/dist/api/resources/billing/types/CountCustomersResponse.d.ts +1 -4
- package/dist/api/resources/billing/types/DeleteBillingProductResponse.d.ts +1 -4
- package/dist/api/resources/billing/types/DeleteProductPriceResponse.d.ts +1 -4
- package/dist/api/resources/billing/types/ListBillingPricesParams.d.ts +2 -4
- package/dist/api/resources/billing/types/ListBillingPricesResponse.d.ts +1 -4
- package/dist/api/resources/billing/types/ListBillingProductPricesParams.d.ts +2 -4
- package/dist/api/resources/billing/types/ListBillingProductPricesResponse.d.ts +1 -4
- package/dist/api/resources/billing/types/ListBillingProductsParams.d.ts +3 -5
- package/dist/api/resources/billing/types/ListBillingProductsResponse.d.ts +1 -4
- package/dist/api/resources/billing/types/ListCouponsParams.d.ts +0 -3
- package/dist/api/resources/billing/types/ListCouponsResponse.d.ts +1 -4
- package/dist/api/resources/billing/types/ListCustomersWithSubscriptionsParams.d.ts +2 -4
- package/dist/api/resources/billing/types/ListCustomersWithSubscriptionsResponse.d.ts +1 -4
- package/dist/api/resources/billing/types/ListInvoicesParams.d.ts +0 -3
- package/dist/api/resources/billing/types/ListInvoicesResponse.d.ts +1 -4
- package/dist/api/resources/billing/types/ListMetersParams.d.ts +0 -3
- package/dist/api/resources/billing/types/ListMetersResponse.d.ts +1 -4
- package/dist/api/resources/billing/types/ListPaymentMethodsParams.d.ts +0 -3
- package/dist/api/resources/billing/types/ListPaymentMethodsResponse.d.ts +1 -4
- package/dist/api/resources/billing/types/UpsertBillingCouponResponse.d.ts +1 -4
- package/dist/api/resources/billing/types/UpsertBillingCustomerResponse.d.ts +1 -4
- package/dist/api/resources/billing/types/UpsertBillingMeterResponse.d.ts +1 -4
- package/dist/api/resources/billing/types/UpsertBillingPriceResponse.d.ts +1 -4
- package/dist/api/resources/billing/types/UpsertBillingProductResponse.d.ts +1 -4
- package/dist/api/resources/billing/types/UpsertBillingSubscriptionResponse.d.ts +1 -4
- package/dist/api/resources/billing/types/UpsertInvoiceResponse.d.ts +1 -4
- package/dist/api/resources/billing/types/UpsertPaymentMethodResponse.d.ts +1 -4
- package/dist/api/resources/billing/types/index.d.ts +17 -17
- package/dist/api/resources/checkout/client/Client.d.ts +23 -42
- package/dist/api/resources/checkout/client/requests/CancelSubscriptionRequest.d.ts +0 -3
- package/dist/api/resources/checkout/client/requests/CheckoutDataRequestBody.d.ts +0 -3
- package/dist/api/resources/checkout/client/requests/UpdateTrialEndRequestBody.d.ts +0 -3
- package/dist/api/resources/checkout/client/requests/index.d.ts +3 -3
- package/dist/api/resources/checkout/index.d.ts +1 -1
- package/dist/api/resources/checkout/types/CancelSubscriptionResponse.d.ts +1 -4
- package/dist/api/resources/checkout/types/CheckoutInternalResponse.d.ts +1 -4
- package/dist/api/resources/checkout/types/GetCheckoutDataResponse.d.ts +1 -4
- package/dist/api/resources/checkout/types/ManagePlanResponse.d.ts +1 -4
- package/dist/api/resources/checkout/types/PreviewCheckoutInternalResponse.d.ts +1 -4
- package/dist/api/resources/checkout/types/PreviewManagePlanResponse.d.ts +1 -4
- package/dist/api/resources/checkout/types/UpdateCustomerSubscriptionTrialEndResponse.d.ts +1 -4
- package/dist/api/resources/checkout/types/index.d.ts +2 -2
- package/dist/api/resources/companies/client/Client.d.ts +101 -140
- package/dist/api/resources/companies/client/requests/CountCompaniesForAdvancedFilterRequest.d.ts +16 -49
- package/dist/api/resources/companies/client/requests/CountCompaniesRequest.d.ts +8 -27
- package/dist/api/resources/companies/client/requests/CountEntityKeyDefinitionsRequest.d.ts +3 -10
- package/dist/api/resources/companies/client/requests/CountEntityTraitDefinitionsRequest.d.ts +3 -10
- package/dist/api/resources/companies/client/requests/CountPlanTraitsRequest.d.ts +2 -9
- package/dist/api/resources/companies/client/requests/CountUsersRequest.d.ts +6 -21
- package/dist/api/resources/companies/client/requests/CreateEntityTraitDefinitionRequestBody.d.ts +1 -4
- package/dist/api/resources/companies/client/requests/CreatePlanTraitRequestBody.d.ts +0 -3
- package/dist/api/resources/companies/client/requests/DeleteCompanyRequest.d.ts +0 -3
- package/dist/api/resources/companies/client/requests/GetActiveCompanySubscriptionRequest.d.ts +2 -9
- package/dist/api/resources/companies/client/requests/GetEntityTraitValuesRequest.d.ts +2 -9
- package/dist/api/resources/companies/client/requests/GetOrCreateCompanyMembershipRequestBody.d.ts +0 -3
- package/dist/api/resources/companies/client/requests/ListCompaniesForAdvancedFilterRequest.d.ts +16 -49
- package/dist/api/resources/companies/client/requests/ListCompaniesRequest.d.ts +8 -27
- package/dist/api/resources/companies/client/requests/ListCompanyMembershipsRequest.d.ts +2 -9
- package/dist/api/resources/companies/client/requests/ListEntityKeyDefinitionsRequest.d.ts +3 -10
- package/dist/api/resources/companies/client/requests/ListEntityTraitDefinitionsRequest.d.ts +3 -10
- package/dist/api/resources/companies/client/requests/ListPlanChangesRequest.d.ts +2 -9
- package/dist/api/resources/companies/client/requests/ListPlanTraitsRequest.d.ts +2 -9
- package/dist/api/resources/companies/client/requests/ListUsersRequest.d.ts +6 -21
- package/dist/api/resources/companies/client/requests/LookupCompanyRequest.d.ts +1 -6
- package/dist/api/resources/companies/client/requests/LookupUserRequest.d.ts +1 -6
- package/dist/api/resources/companies/client/requests/UpdateEntityTraitDefinitionRequestBody.d.ts +1 -4
- package/dist/api/resources/companies/client/requests/UpdatePlanTraitBulkRequestBody.d.ts +1 -4
- package/dist/api/resources/companies/client/requests/UpdatePlanTraitRequestBody.d.ts +0 -3
- package/dist/api/resources/companies/client/requests/index.d.ts +25 -26
- package/dist/api/resources/companies/index.d.ts +1 -1
- package/dist/api/resources/companies/types/CountCompaniesForAdvancedFilterParams.d.ts +1 -4
- package/dist/api/resources/companies/types/CountCompaniesForAdvancedFilterResponse.d.ts +1 -4
- package/dist/api/resources/companies/types/CountCompaniesParams.d.ts +0 -3
- package/dist/api/resources/companies/types/CountCompaniesResponse.d.ts +1 -4
- package/dist/api/resources/companies/types/CountEntityKeyDefinitionsParams.d.ts +1 -4
- package/dist/api/resources/companies/types/CountEntityKeyDefinitionsResponse.d.ts +1 -4
- package/dist/api/resources/companies/types/CountEntityTraitDefinitionsParams.d.ts +1 -4
- package/dist/api/resources/companies/types/CountEntityTraitDefinitionsResponse.d.ts +1 -4
- package/dist/api/resources/companies/types/CountPlanTraitsParams.d.ts +0 -3
- package/dist/api/resources/companies/types/CountPlanTraitsResponse.d.ts +1 -4
- package/dist/api/resources/companies/types/CountUsersParams.d.ts +0 -3
- package/dist/api/resources/companies/types/CountUsersResponse.d.ts +1 -4
- package/dist/api/resources/companies/types/CreateCompanyResponse.d.ts +1 -4
- package/dist/api/resources/companies/types/CreatePlanTraitResponse.d.ts +1 -4
- package/dist/api/resources/companies/types/CreateUserResponse.d.ts +1 -4
- package/dist/api/resources/companies/types/DeleteCompanyByKeysResponse.d.ts +1 -4
- package/dist/api/resources/companies/types/DeleteCompanyMembershipResponse.d.ts +1 -4
- package/dist/api/resources/companies/types/DeleteCompanyParams.d.ts +0 -3
- package/dist/api/resources/companies/types/DeleteCompanyResponse.d.ts +1 -4
- package/dist/api/resources/companies/types/DeletePlanTraitResponse.d.ts +1 -4
- package/dist/api/resources/companies/types/DeleteUserByKeysResponse.d.ts +1 -4
- package/dist/api/resources/companies/types/DeleteUserResponse.d.ts +1 -4
- package/dist/api/resources/companies/types/GetActiveCompanySubscriptionParams.d.ts +0 -3
- package/dist/api/resources/companies/types/GetActiveCompanySubscriptionResponse.d.ts +1 -4
- package/dist/api/resources/companies/types/GetCompanyResponse.d.ts +1 -4
- package/dist/api/resources/companies/types/GetEntityTraitDefinitionResponse.d.ts +1 -4
- package/dist/api/resources/companies/types/GetEntityTraitValuesParams.d.ts +0 -3
- package/dist/api/resources/companies/types/GetEntityTraitValuesResponse.d.ts +1 -4
- package/dist/api/resources/companies/types/GetOrCreateCompanyMembershipResponse.d.ts +1 -4
- package/dist/api/resources/companies/types/GetOrCreateEntityTraitDefinitionResponse.d.ts +1 -4
- package/dist/api/resources/companies/types/GetPlanChangeResponse.d.ts +1 -4
- package/dist/api/resources/companies/types/GetPlanTraitResponse.d.ts +1 -4
- package/dist/api/resources/companies/types/GetUserResponse.d.ts +1 -4
- package/dist/api/resources/companies/types/ListCompaniesForAdvancedFilterParams.d.ts +1 -4
- package/dist/api/resources/companies/types/ListCompaniesForAdvancedFilterResponse.d.ts +1 -4
- package/dist/api/resources/companies/types/ListCompaniesParams.d.ts +0 -3
- package/dist/api/resources/companies/types/ListCompaniesResponse.d.ts +1 -4
- package/dist/api/resources/companies/types/ListCompanyMembershipsParams.d.ts +0 -3
- package/dist/api/resources/companies/types/ListCompanyMembershipsResponse.d.ts +1 -4
- package/dist/api/resources/companies/types/ListEntityKeyDefinitionsParams.d.ts +1 -4
- package/dist/api/resources/companies/types/ListEntityKeyDefinitionsResponse.d.ts +1 -4
- package/dist/api/resources/companies/types/ListEntityTraitDefinitionsParams.d.ts +1 -4
- package/dist/api/resources/companies/types/ListEntityTraitDefinitionsResponse.d.ts +1 -4
- package/dist/api/resources/companies/types/ListPlanChangesParams.d.ts +0 -3
- package/dist/api/resources/companies/types/ListPlanChangesResponse.d.ts +1 -4
- package/dist/api/resources/companies/types/ListPlanTraitsParams.d.ts +0 -3
- package/dist/api/resources/companies/types/ListPlanTraitsResponse.d.ts +1 -4
- package/dist/api/resources/companies/types/ListUsersParams.d.ts +0 -3
- package/dist/api/resources/companies/types/ListUsersResponse.d.ts +1 -4
- package/dist/api/resources/companies/types/LookupCompanyParams.d.ts +0 -3
- package/dist/api/resources/companies/types/LookupCompanyResponse.d.ts +1 -4
- package/dist/api/resources/companies/types/LookupUserParams.d.ts +0 -3
- package/dist/api/resources/companies/types/LookupUserResponse.d.ts +1 -4
- package/dist/api/resources/companies/types/UpdateEntityTraitDefinitionResponse.d.ts +1 -4
- package/dist/api/resources/companies/types/UpdatePlanTraitResponse.d.ts +1 -4
- package/dist/api/resources/companies/types/UpdatePlanTraitsBulkResponse.d.ts +1 -4
- package/dist/api/resources/companies/types/UpsertCompanyResponse.d.ts +1 -4
- package/dist/api/resources/companies/types/UpsertCompanyTraitResponse.d.ts +1 -4
- package/dist/api/resources/companies/types/UpsertUserResponse.d.ts +1 -4
- package/dist/api/resources/companies/types/UpsertUserTraitResponse.d.ts +1 -4
- package/dist/api/resources/companies/types/index.d.ts +40 -42
- package/dist/api/resources/components/client/Client.d.ts +25 -44
- package/dist/api/resources/components/client/requests/CountComponentsRequest.d.ts +2 -9
- package/dist/api/resources/components/client/requests/CreateComponentRequestBody.d.ts +1 -4
- package/dist/api/resources/components/client/requests/ListComponentsRequest.d.ts +2 -9
- package/dist/api/resources/components/client/requests/PreviewComponentDataRequest.d.ts +0 -3
- package/dist/api/resources/components/client/requests/UpdateComponentRequestBody.d.ts +1 -4
- package/dist/api/resources/components/client/requests/index.d.ts +5 -5
- package/dist/api/resources/components/index.d.ts +1 -1
- package/dist/api/resources/components/types/CountComponentsParams.d.ts +0 -3
- package/dist/api/resources/components/types/CountComponentsResponse.d.ts +1 -4
- package/dist/api/resources/components/types/CreateComponentResponse.d.ts +1 -4
- package/dist/api/resources/components/types/DeleteComponentResponse.d.ts +1 -4
- package/dist/api/resources/components/types/GetComponentResponse.d.ts +1 -4
- package/dist/api/resources/components/types/ListComponentsParams.d.ts +0 -3
- package/dist/api/resources/components/types/ListComponentsResponse.d.ts +1 -4
- package/dist/api/resources/components/types/PreviewComponentDataParams.d.ts +0 -3
- package/dist/api/resources/components/types/PreviewComponentDataResponse.d.ts +1 -4
- package/dist/api/resources/components/types/UpdateComponentResponse.d.ts +1 -4
- package/dist/api/resources/components/types/index.d.ts +6 -6
- package/dist/api/resources/credits/client/Client.d.ts +86 -84
- package/dist/api/resources/credits/client/requests/CountBillingCreditsGrantsRequest.d.ts +2 -9
- package/dist/api/resources/credits/client/requests/CountBillingCreditsRequest.d.ts +2 -9
- package/dist/api/resources/credits/client/requests/CountBillingPlanCreditGrantsRequest.d.ts +2 -9
- package/dist/api/resources/credits/client/requests/CountCompanyGrantsRequest.d.ts +20 -0
- package/dist/api/resources/credits/client/requests/CountCreditBundlesRequest.d.ts +3 -10
- package/dist/api/resources/credits/client/requests/CountCreditLedgerRequest.d.ts +3 -10
- package/dist/api/resources/credits/client/requests/CreateBillingCreditRequestBody.d.ts +1 -4
- package/dist/api/resources/credits/client/requests/CreateCompanyCreditGrant.d.ts +1 -4
- package/dist/api/resources/credits/client/requests/CreateCreditBundleRequestBody.d.ts +1 -4
- package/dist/api/resources/credits/client/requests/DeleteBillingPlanCreditGrantRequest.d.ts +0 -3
- package/dist/api/resources/credits/client/requests/GetEnrichedCreditLedgerRequest.d.ts +3 -10
- package/dist/api/resources/credits/client/requests/ListBillingCreditsRequest.d.ts +2 -9
- package/dist/api/resources/credits/client/requests/ListBillingPlanCreditGrantsRequest.d.ts +2 -9
- package/dist/api/resources/credits/client/requests/ListCompanyGrantsRequest.d.ts +3 -10
- package/dist/api/resources/credits/client/requests/ListCreditBundlesRequest.d.ts +3 -10
- package/dist/api/resources/credits/client/requests/ListGrantsForCreditRequest.d.ts +2 -9
- package/dist/api/resources/credits/client/requests/UpdateBillingCreditRequestBody.d.ts +1 -4
- package/dist/api/resources/credits/client/requests/UpdateCreditBundleDetailsRequestBody.d.ts +1 -4
- package/dist/api/resources/credits/client/requests/ZeroOutGrantRequestBody.d.ts +1 -4
- package/dist/api/resources/credits/client/requests/index.d.ts +19 -20
- package/dist/api/resources/credits/index.d.ts +1 -1
- package/dist/api/resources/credits/types/CountBillingCreditsGrantsParams.d.ts +0 -3
- package/dist/api/resources/credits/types/CountBillingCreditsGrantsResponse.d.ts +1 -4
- package/dist/api/resources/credits/types/CountBillingCreditsParams.d.ts +0 -3
- package/dist/api/resources/credits/types/CountBillingCreditsResponse.d.ts +1 -4
- package/dist/api/resources/credits/types/CountBillingPlanCreditGrantsParams.d.ts +0 -3
- package/dist/api/resources/credits/types/CountBillingPlanCreditGrantsResponse.d.ts +1 -4
- package/dist/api/resources/credits/types/CountCompanyGrantsParams.d.ts +13 -0
- package/dist/api/resources/credits/types/CountCompanyGrantsResponse.d.ts +6 -0
- package/dist/api/resources/credits/types/CountCreditBundlesParams.d.ts +1 -4
- package/dist/api/resources/credits/types/CountCreditBundlesResponse.d.ts +1 -4
- package/dist/api/resources/credits/types/CountCreditLedgerParams.d.ts +1 -4
- package/dist/api/resources/credits/types/CountCreditLedgerResponse.d.ts +1 -4
- package/dist/api/resources/credits/types/CreateBillingCreditResponse.d.ts +1 -4
- package/dist/api/resources/credits/types/CreateBillingPlanCreditGrantResponse.d.ts +1 -4
- package/dist/api/resources/credits/types/CreateCreditBundleResponse.d.ts +1 -4
- package/dist/api/resources/credits/types/DeleteBillingPlanCreditGrantParams.d.ts +0 -3
- package/dist/api/resources/credits/types/DeleteBillingPlanCreditGrantResponse.d.ts +1 -4
- package/dist/api/resources/credits/types/DeleteCreditBundleResponse.d.ts +1 -4
- package/dist/api/resources/credits/types/GetCreditBundleResponse.d.ts +1 -4
- package/dist/api/resources/credits/types/GetEnrichedCreditLedgerParams.d.ts +1 -4
- package/dist/api/resources/credits/types/GetEnrichedCreditLedgerResponse.d.ts +1 -4
- package/dist/api/resources/credits/types/GetSingleBillingCreditResponse.d.ts +1 -4
- package/dist/api/resources/credits/types/GrantBillingCreditsToCompanyResponse.d.ts +1 -4
- package/dist/api/resources/credits/types/ListBillingCreditsParams.d.ts +0 -3
- package/dist/api/resources/credits/types/ListBillingCreditsResponse.d.ts +1 -4
- package/dist/api/resources/credits/types/ListBillingPlanCreditGrantsParams.d.ts +0 -3
- package/dist/api/resources/credits/types/ListBillingPlanCreditGrantsResponse.d.ts +1 -4
- package/dist/api/resources/credits/types/ListCompanyGrantsParams.d.ts +1 -4
- package/dist/api/resources/credits/types/ListCompanyGrantsResponse.d.ts +1 -4
- package/dist/api/resources/credits/types/ListCreditBundlesParams.d.ts +1 -4
- package/dist/api/resources/credits/types/ListCreditBundlesResponse.d.ts +1 -4
- package/dist/api/resources/credits/types/ListGrantsForCreditParams.d.ts +0 -3
- package/dist/api/resources/credits/types/ListGrantsForCreditResponse.d.ts +1 -4
- package/dist/api/resources/credits/types/SoftDeleteBillingCreditResponse.d.ts +1 -4
- package/dist/api/resources/credits/types/UpdateBillingCreditResponse.d.ts +1 -4
- package/dist/api/resources/credits/types/UpdateBillingPlanCreditGrantResponse.d.ts +1 -4
- package/dist/api/resources/credits/types/UpdateCreditBundleDetailsResponse.d.ts +1 -4
- package/dist/api/resources/credits/types/ZeroOutGrantResponse.d.ts +1 -4
- package/dist/api/resources/credits/types/index.d.ts +29 -27
- package/dist/api/resources/dataexports/client/Client.d.ts +13 -34
- package/dist/api/resources/dataexports/client/requests/CreateDataExportRequestBody.d.ts +1 -6
- package/dist/api/resources/dataexports/client/requests/index.d.ts +1 -1
- package/dist/api/resources/dataexports/index.d.ts +1 -1
- package/dist/api/resources/dataexports/types/CreateDataExportResponse.d.ts +1 -4
- package/dist/api/resources/entitlements/client/Client.d.ts +56 -73
- package/dist/api/resources/entitlements/client/requests/CountCompanyOverridesRequest.d.ts +9 -30
- package/dist/api/resources/entitlements/client/requests/CountFeatureCompaniesRequest.d.ts +2 -9
- package/dist/api/resources/entitlements/client/requests/CountFeatureUsageRequest.d.ts +5 -9
- package/dist/api/resources/entitlements/client/requests/CountFeatureUsersRequest.d.ts +2 -9
- package/dist/api/resources/entitlements/client/requests/CountPlanEntitlementsRequest.d.ts +9 -30
- package/dist/api/resources/entitlements/client/requests/CreateCompanyOverrideRequestBody.d.ts +1 -4
- package/dist/api/resources/entitlements/client/requests/CreatePlanEntitlementRequestBody.d.ts +1 -4
- package/dist/api/resources/entitlements/client/requests/DuplicatePlanEntitlementsRequestBody.d.ts +0 -3
- package/dist/api/resources/entitlements/client/requests/GetFeatureUsageByCompanyRequest.d.ts +1 -6
- package/dist/api/resources/entitlements/client/requests/ListCompanyOverridesRequest.d.ts +9 -30
- package/dist/api/resources/entitlements/client/requests/ListFeatureCompaniesRequest.d.ts +2 -9
- package/dist/api/resources/entitlements/client/requests/ListFeatureUsageRequest.d.ts +5 -9
- package/dist/api/resources/entitlements/client/requests/ListFeatureUsersRequest.d.ts +2 -9
- package/dist/api/resources/entitlements/client/requests/ListPlanEntitlementsRequest.d.ts +9 -30
- package/dist/api/resources/entitlements/client/requests/UpdateCompanyOverrideRequestBody.d.ts +1 -4
- package/dist/api/resources/entitlements/client/requests/UpdatePlanEntitlementRequestBody.d.ts +1 -4
- package/dist/api/resources/entitlements/client/requests/index.d.ts +16 -16
- package/dist/api/resources/entitlements/index.d.ts +1 -1
- package/dist/api/resources/entitlements/types/CountCompanyOverridesParams.d.ts +0 -3
- package/dist/api/resources/entitlements/types/CountCompanyOverridesResponse.d.ts +1 -4
- package/dist/api/resources/entitlements/types/CountFeatureCompaniesParams.d.ts +0 -3
- package/dist/api/resources/entitlements/types/CountFeatureCompaniesResponse.d.ts +1 -4
- package/dist/api/resources/entitlements/types/CountFeatureUsageParams.d.ts +2 -3
- package/dist/api/resources/entitlements/types/CountFeatureUsageResponse.d.ts +1 -4
- package/dist/api/resources/entitlements/types/CountFeatureUsersParams.d.ts +0 -3
- package/dist/api/resources/entitlements/types/CountFeatureUsersResponse.d.ts +1 -4
- package/dist/api/resources/entitlements/types/CountPlanEntitlementsParams.d.ts +0 -3
- package/dist/api/resources/entitlements/types/CountPlanEntitlementsResponse.d.ts +1 -4
- package/dist/api/resources/entitlements/types/CreateCompanyOverrideRequestBodyMetricPeriod.d.ts +1 -4
- package/dist/api/resources/entitlements/types/CreateCompanyOverrideRequestBodyMetricPeriodMonthReset.d.ts +1 -4
- package/dist/api/resources/entitlements/types/CreateCompanyOverrideResponse.d.ts +1 -4
- package/dist/api/resources/entitlements/types/CreatePlanEntitlementRequestBodyMetricPeriod.d.ts +1 -4
- package/dist/api/resources/entitlements/types/CreatePlanEntitlementRequestBodyMetricPeriodMonthReset.d.ts +1 -4
- package/dist/api/resources/entitlements/types/CreatePlanEntitlementResponse.d.ts +1 -4
- package/dist/api/resources/entitlements/types/DeleteCompanyOverrideResponse.d.ts +1 -4
- package/dist/api/resources/entitlements/types/DeletePlanEntitlementResponse.d.ts +1 -4
- package/dist/api/resources/entitlements/types/DuplicatePlanEntitlementsResponse.d.ts +1 -4
- package/dist/api/resources/entitlements/types/GetCompanyOverrideResponse.d.ts +1 -4
- package/dist/api/resources/entitlements/types/GetFeatureUsageByCompanyParams.d.ts +0 -3
- package/dist/api/resources/entitlements/types/GetFeatureUsageByCompanyResponse.d.ts +1 -4
- package/dist/api/resources/entitlements/types/GetPlanEntitlementResponse.d.ts +1 -4
- package/dist/api/resources/entitlements/types/ListCompanyOverridesParams.d.ts +0 -3
- package/dist/api/resources/entitlements/types/ListCompanyOverridesResponse.d.ts +1 -4
- package/dist/api/resources/entitlements/types/ListFeatureCompaniesParams.d.ts +0 -3
- package/dist/api/resources/entitlements/types/ListFeatureCompaniesResponse.d.ts +1 -4
- package/dist/api/resources/entitlements/types/ListFeatureUsageParams.d.ts +2 -3
- package/dist/api/resources/entitlements/types/ListFeatureUsageResponse.d.ts +1 -4
- package/dist/api/resources/entitlements/types/ListFeatureUsersParams.d.ts +0 -3
- package/dist/api/resources/entitlements/types/ListFeatureUsersResponse.d.ts +1 -4
- package/dist/api/resources/entitlements/types/ListPlanEntitlementsParams.d.ts +0 -3
- package/dist/api/resources/entitlements/types/ListPlanEntitlementsResponse.d.ts +1 -4
- package/dist/api/resources/entitlements/types/UpdateCompanyOverrideRequestBodyMetricPeriod.d.ts +1 -4
- package/dist/api/resources/entitlements/types/UpdateCompanyOverrideRequestBodyMetricPeriodMonthReset.d.ts +1 -4
- package/dist/api/resources/entitlements/types/UpdateCompanyOverrideResponse.d.ts +1 -4
- package/dist/api/resources/entitlements/types/UpdatePlanEntitlementRequestBodyMetricPeriod.d.ts +1 -4
- package/dist/api/resources/entitlements/types/UpdatePlanEntitlementRequestBodyMetricPeriodMonthReset.d.ts +1 -4
- package/dist/api/resources/entitlements/types/UpdatePlanEntitlementResponse.d.ts +1 -4
- package/dist/api/resources/entitlements/types/index.d.ts +24 -24
- package/dist/api/resources/events/client/Client.d.ts +21 -40
- package/dist/api/resources/events/client/requests/CreateEventBatchRequestBody.d.ts +1 -4
- package/dist/api/resources/events/client/requests/GetEventSummariesRequest.d.ts +2 -9
- package/dist/api/resources/events/client/requests/ListEventsRequest.d.ts +3 -10
- package/dist/api/resources/events/client/requests/index.d.ts +3 -3
- package/dist/api/resources/events/index.d.ts +1 -1
- package/dist/api/resources/events/types/CreateEventBatchResponse.d.ts +1 -4
- package/dist/api/resources/events/types/CreateEventResponse.d.ts +1 -4
- package/dist/api/resources/events/types/GetEventResponse.d.ts +1 -4
- package/dist/api/resources/events/types/GetEventSummariesParams.d.ts +0 -3
- package/dist/api/resources/events/types/GetEventSummariesResponse.d.ts +1 -4
- package/dist/api/resources/events/types/GetSegmentIntegrationStatusResponse.d.ts +1 -4
- package/dist/api/resources/events/types/ListEventsParams.d.ts +1 -4
- package/dist/api/resources/events/types/ListEventsResponse.d.ts +1 -4
- package/dist/api/resources/events/types/index.d.ts +3 -3
- package/dist/api/resources/features/client/Client.d.ts +47 -66
- package/dist/api/resources/features/client/requests/CheckFlagsBulkRequestBody.d.ts +1 -4
- package/dist/api/resources/features/client/requests/CountFeaturesRequest.d.ts +8 -25
- package/dist/api/resources/features/client/requests/CountFlagsRequest.d.ts +3 -12
- package/dist/api/resources/features/client/requests/CreateFeatureRequestBody.d.ts +1 -4
- package/dist/api/resources/features/client/requests/ListFeaturesRequest.d.ts +8 -25
- package/dist/api/resources/features/client/requests/ListFlagsRequest.d.ts +3 -12
- package/dist/api/resources/features/client/requests/UpdateFeatureRequestBody.d.ts +1 -4
- package/dist/api/resources/features/client/requests/UpdateFlagRulesRequestBody.d.ts +1 -4
- package/dist/api/resources/features/client/requests/index.d.ts +8 -8
- package/dist/api/resources/features/index.d.ts +1 -1
- package/dist/api/resources/features/types/CheckFlagResponse.d.ts +1 -4
- package/dist/api/resources/features/types/CheckFlagsBulkResponse.d.ts +1 -4
- package/dist/api/resources/features/types/CheckFlagsResponse.d.ts +1 -4
- package/dist/api/resources/features/types/CountFeaturesParams.d.ts +1 -4
- package/dist/api/resources/features/types/CountFeaturesResponse.d.ts +1 -4
- package/dist/api/resources/features/types/CountFlagsParams.d.ts +0 -3
- package/dist/api/resources/features/types/CountFlagsResponse.d.ts +1 -4
- package/dist/api/resources/features/types/CreateFeatureResponse.d.ts +1 -4
- package/dist/api/resources/features/types/CreateFlagResponse.d.ts +1 -4
- package/dist/api/resources/features/types/DeleteFeatureResponse.d.ts +1 -4
- package/dist/api/resources/features/types/DeleteFlagResponse.d.ts +1 -4
- package/dist/api/resources/features/types/GetFeatureResponse.d.ts +1 -4
- package/dist/api/resources/features/types/GetFlagResponse.d.ts +1 -4
- package/dist/api/resources/features/types/ListFeaturesParams.d.ts +1 -4
- package/dist/api/resources/features/types/ListFeaturesResponse.d.ts +1 -4
- package/dist/api/resources/features/types/ListFlagsParams.d.ts +0 -3
- package/dist/api/resources/features/types/ListFlagsResponse.d.ts +1 -4
- package/dist/api/resources/features/types/UpdateFeatureResponse.d.ts +1 -4
- package/dist/api/resources/features/types/UpdateFlagResponse.d.ts +1 -4
- package/dist/api/resources/features/types/UpdateFlagRulesResponse.d.ts +1 -4
- package/dist/api/resources/features/types/index.d.ts +14 -14
- package/dist/api/resources/index.d.ts +25 -25
- package/dist/api/resources/planbundle/client/Client.d.ts +52 -0
- package/dist/api/resources/planbundle/client/requests/CreatePlanBundleRequestBody.d.ts +16 -0
- package/dist/api/resources/planbundle/client/requests/UpdatePlanBundleRequestBody.d.ts +16 -0
- package/dist/api/resources/planbundle/client/requests/index.d.ts +2 -0
- package/dist/api/resources/planbundle/types/CreatePlanBundleResponse.d.ts +6 -0
- package/dist/api/resources/planbundle/types/UpdatePlanBundleResponse.d.ts +6 -0
- package/dist/api/resources/planbundle/types/index.d.ts +2 -0
- package/dist/api/resources/plangroups/client/Client.d.ts +15 -34
- package/dist/api/resources/plangroups/client/requests/CreatePlanGroupRequestBody.d.ts +1 -4
- package/dist/api/resources/plangroups/client/requests/UpdatePlanGroupRequestBody.d.ts +1 -4
- package/dist/api/resources/plangroups/client/requests/index.d.ts +2 -2
- package/dist/api/resources/plangroups/index.d.ts +1 -1
- package/dist/api/resources/plangroups/types/CreatePlanGroupResponse.d.ts +1 -4
- package/dist/api/resources/plangroups/types/GetPlanGroupResponse.d.ts +1 -4
- package/dist/api/resources/plangroups/types/UpdatePlanGroupResponse.d.ts +1 -4
- package/dist/api/resources/plangroups/types/index.d.ts +1 -1
- package/dist/api/resources/plans/client/Client.d.ts +31 -50
- package/dist/api/resources/plans/client/requests/CountPlansRequest.d.ts +10 -31
- package/dist/api/resources/plans/client/requests/ListPlanIssuesRequest.d.ts +0 -3
- package/dist/api/resources/plans/client/requests/ListPlansRequest.d.ts +10 -31
- package/dist/api/resources/plans/client/requests/UpdateCompanyPlansRequestBody.d.ts +0 -3
- package/dist/api/resources/plans/client/requests/index.d.ts +4 -7
- package/dist/api/resources/plans/index.d.ts +1 -1
- package/dist/api/resources/plans/types/CountPlansParams.d.ts +1 -4
- package/dist/api/resources/plans/types/CountPlansResponse.d.ts +1 -4
- package/dist/api/resources/plans/types/CreatePlanResponse.d.ts +1 -4
- package/dist/api/resources/plans/types/DeletePlanResponse.d.ts +1 -4
- package/dist/api/resources/plans/types/GetPlanResponse.d.ts +1 -4
- package/dist/api/resources/plans/types/ListPlanIssuesParams.d.ts +0 -3
- package/dist/api/resources/plans/types/ListPlanIssuesResponse.d.ts +1 -4
- package/dist/api/resources/plans/types/ListPlansParams.d.ts +1 -4
- package/dist/api/resources/plans/types/ListPlansResponse.d.ts +1 -4
- package/dist/api/resources/plans/types/UpdateCompanyPlansResponse.d.ts +1 -4
- package/dist/api/resources/plans/types/UpdatePlanResponse.d.ts +1 -4
- package/dist/api/resources/plans/types/UpsertBillingProductPlanResponse.d.ts +1 -4
- package/dist/api/resources/plans/types/index.d.ts +8 -8
- package/dist/api/resources/webhooks/client/Client.d.ts +30 -49
- package/dist/api/resources/webhooks/client/requests/CountWebhookEventsRequest.d.ts +2 -9
- package/dist/api/resources/webhooks/client/requests/CountWebhooksRequest.d.ts +2 -9
- package/dist/api/resources/webhooks/client/requests/CreateWebhookRequestBody.d.ts +1 -4
- package/dist/api/resources/webhooks/client/requests/ListWebhookEventsRequest.d.ts +2 -9
- package/dist/api/resources/webhooks/client/requests/ListWebhooksRequest.d.ts +2 -9
- package/dist/api/resources/webhooks/client/requests/UpdateWebhookRequestBody.d.ts +1 -4
- package/dist/api/resources/webhooks/client/requests/index.d.ts +6 -6
- package/dist/api/resources/webhooks/index.d.ts +1 -1
- package/dist/api/resources/webhooks/types/CountWebhookEventsParams.d.ts +0 -3
- package/dist/api/resources/webhooks/types/CountWebhookEventsResponse.d.ts +1 -4
- package/dist/api/resources/webhooks/types/CountWebhooksParams.d.ts +0 -3
- package/dist/api/resources/webhooks/types/CountWebhooksResponse.d.ts +1 -4
- package/dist/api/resources/webhooks/types/CreateWebhookResponse.d.ts +1 -4
- package/dist/api/resources/webhooks/types/DeleteWebhookResponse.d.ts +1 -4
- package/dist/api/resources/webhooks/types/GetWebhookEventResponse.d.ts +1 -4
- package/dist/api/resources/webhooks/types/GetWebhookResponse.d.ts +1 -4
- package/dist/api/resources/webhooks/types/ListWebhookEventsParams.d.ts +0 -3
- package/dist/api/resources/webhooks/types/ListWebhookEventsResponse.d.ts +1 -4
- package/dist/api/resources/webhooks/types/ListWebhooksParams.d.ts +0 -3
- package/dist/api/resources/webhooks/types/ListWebhooksResponse.d.ts +1 -4
- package/dist/api/resources/webhooks/types/UpdateWebhookResponse.d.ts +1 -4
- package/dist/api/resources/webhooks/types/index.d.ts +8 -8
- package/dist/api/types/ApiError.d.ts +0 -3
- package/dist/api/types/ApiKeyCreateResponseData.d.ts +1 -4
- package/dist/api/types/ApiKeyRequestListResponseData.d.ts +0 -3
- package/dist/api/types/ApiKeyRequestResponseData.d.ts +1 -4
- package/dist/api/types/ApiKeyResponseData.d.ts +1 -4
- package/dist/api/types/ApiKeyScope.d.ts +1 -4
- package/dist/api/types/BillingCouponResponseData.d.ts +2 -3
- package/dist/api/types/BillingCreditBundleResponseData.d.ts +1 -4
- package/dist/api/types/BillingCreditBundleStatus.d.ts +1 -4
- package/dist/api/types/BillingCreditBundleType.d.ts +0 -3
- package/dist/api/types/BillingCreditBundleView.d.ts +1 -4
- package/dist/api/types/BillingCreditBurnStrategy.d.ts +1 -4
- package/dist/api/types/BillingCreditExpiryType.d.ts +1 -4
- package/dist/api/types/BillingCreditExpiryUnit.d.ts +1 -4
- package/dist/api/types/BillingCreditGrantReason.d.ts +1 -4
- package/dist/api/types/BillingCreditGrantResponseData.d.ts +4 -4
- package/dist/api/types/BillingCreditGrantZeroedOutReason.d.ts +1 -4
- package/dist/api/types/BillingCreditLedgerResponseData.d.ts +0 -3
- package/dist/api/types/BillingCreditResponseData.d.ts +1 -4
- package/dist/api/types/BillingCreditRolloverPolicy.d.ts +1 -4
- package/dist/api/types/BillingCustomerResponseData.d.ts +2 -4
- package/dist/api/types/BillingCustomerSubscription.d.ts +0 -3
- package/dist/api/types/BillingCustomerWithSubscriptionsResponseData.d.ts +2 -5
- package/dist/api/types/BillingMeterResponseData.d.ts +2 -3
- package/dist/api/types/BillingPlanCreditGrantResetCadence.d.ts +1 -4
- package/dist/api/types/BillingPlanCreditGrantResetStart.d.ts +1 -4
- package/dist/api/types/BillingPlanCreditGrantResetType.d.ts +1 -4
- package/dist/api/types/BillingPlanCreditGrantResponseData.d.ts +1 -4
- package/dist/api/types/BillingPriceResponseData.d.ts +2 -4
- package/dist/api/types/BillingPriceScheme.d.ts +1 -4
- package/dist/api/types/BillingPriceUsageType.d.ts +1 -4
- package/dist/api/types/BillingPriceView.d.ts +2 -4
- package/dist/api/types/BillingProductDetailResponseData.d.ts +2 -4
- package/dist/api/types/BillingProductForSubscriptionResponseData.d.ts +2 -4
- package/dist/api/types/BillingProductPlanResponseData.d.ts +1 -4
- package/dist/api/types/BillingProductPriceInterval.d.ts +1 -4
- package/dist/api/types/BillingProductPriceResponseData.d.ts +2 -4
- package/dist/api/types/BillingProductPriceTierResponseData.d.ts +0 -3
- package/dist/api/types/BillingProductPricing.d.ts +1 -4
- package/dist/api/types/BillingProductResponseData.d.ts +2 -3
- package/dist/api/types/BillingProviderType.d.ts +5 -0
- package/dist/api/types/BillingSubscriptionDiscount.d.ts +0 -3
- package/dist/api/types/BillingSubscriptionDiscountView.d.ts +0 -3
- package/dist/api/types/BillingSubscriptionResponseData.d.ts +2 -4
- package/dist/api/types/BillingSubscriptionTrialEndSetting.d.ts +1 -4
- package/dist/api/types/BillingSubscriptionView.d.ts +2 -4
- package/dist/api/types/BillingTiersMode.d.ts +1 -4
- package/dist/api/types/ChangeSubscriptionInternalRequestBody.d.ts +1 -4
- package/dist/api/types/ChangeSubscriptionRequestBody.d.ts +1 -4
- package/dist/api/types/ChargeType.d.ts +1 -4
- package/dist/api/types/CheckFlagRequestBody.d.ts +0 -3
- package/dist/api/types/CheckFlagResponseData.d.ts +0 -3
- package/dist/api/types/CheckFlagsBulkResponseData.d.ts +1 -4
- package/dist/api/types/CheckFlagsResponseData.d.ts +1 -4
- package/dist/api/types/CheckoutDataResponseData.d.ts +1 -4
- package/dist/api/types/CheckoutSettingsResponseData.d.ts +0 -3
- package/dist/api/types/CheckoutSubscription.d.ts +2 -4
- package/dist/api/types/CompanyDetailResponseData.d.ts +1 -4
- package/dist/api/types/CompanyEventPeriodMetricsResponseData.d.ts +0 -3
- package/dist/api/types/CompanyLedgerResponseData.d.ts +0 -3
- package/dist/api/types/CompanyMembershipDetailResponseData.d.ts +1 -4
- package/dist/api/types/CompanyMembershipResponseData.d.ts +0 -3
- package/dist/api/types/CompanyOverrideNoteResponseData.d.ts +0 -3
- package/dist/api/types/CompanyOverrideResponseData.d.ts +1 -4
- package/dist/api/types/CompanyPlanDetailResponseData.d.ts +2 -4
- package/dist/api/types/CompanyPlanInvalidReason.d.ts +1 -4
- package/dist/api/types/CompanyPlanWithBillingSubView.d.ts +2 -4
- package/dist/api/types/CompanyResponseData.d.ts +0 -3
- package/dist/api/types/CompanySubscriptionResponseData.d.ts +1 -4
- package/dist/api/types/CompanyViewWithFeatureUsageResponseData.d.ts +1 -4
- package/dist/api/types/CompatiblePlans.d.ts +0 -3
- package/dist/api/types/CompatiblePlansResponseData.d.ts +0 -3
- package/dist/api/types/ComponentCapabilities.d.ts +0 -3
- package/dist/api/types/ComponentCheckoutSettings.d.ts +0 -3
- package/dist/api/types/ComponentDisplaySettings.d.ts +0 -3
- package/dist/api/types/ComponentEntityType.d.ts +1 -4
- package/dist/api/types/ComponentHydrateResponseData.d.ts +1 -4
- package/dist/api/types/ComponentPreviewResponseData.d.ts +1 -4
- package/dist/api/types/ComponentResponseData.d.ts +1 -4
- package/dist/api/types/ComponentSettingsResponseData.d.ts +0 -3
- package/dist/api/types/ComponentState.d.ts +1 -4
- package/dist/api/types/Condition.d.ts +1 -4
- package/dist/api/types/ConditionConditionType.d.ts +1 -4
- package/dist/api/types/ConditionGroup.d.ts +1 -4
- package/dist/api/types/ConditionMetricPeriod.d.ts +1 -4
- package/dist/api/types/ConditionMetricPeriodMonthReset.d.ts +1 -4
- package/dist/api/types/ConditionOperator.d.ts +1 -4
- package/dist/api/types/CountResponse.d.ts +0 -3
- package/dist/api/types/CouponRequestBody.d.ts +0 -3
- package/dist/api/{resources/credits/client/requests → types}/CreateBillingPlanCreditGrantRequestBody.d.ts +1 -14
- package/dist/api/types/CreateBillingPriceTierRequestBody.d.ts +2 -3
- package/dist/api/types/CreateEntitlementInBundleRequestBody.d.ts +29 -0
- package/dist/api/types/CreateEntitlementInBundleRequestBodyMetricPeriod.d.ts +7 -0
- package/dist/api/types/CreateEntitlementInBundleRequestBodyMetricPeriodMonthReset.d.ts +5 -0
- package/dist/api/types/CreateEntitlementReqCommon.d.ts +1 -4
- package/dist/api/types/CreateEntitlementReqCommonMetricPeriod.d.ts +1 -4
- package/dist/api/types/CreateEntitlementReqCommonMetricPeriodMonthReset.d.ts +1 -4
- package/dist/api/types/CreateEventRequestBody.d.ts +1 -4
- package/dist/api/types/CreateFlagRequestBody.d.ts +1 -4
- package/dist/api/types/CreateOrUpdateConditionGroupRequestBody.d.ts +1 -4
- package/dist/api/types/CreateOrUpdateConditionRequestBody.d.ts +1 -4
- package/dist/api/types/CreateOrUpdateConditionRequestBodyConditionType.d.ts +1 -5
- package/dist/api/types/CreateOrUpdateConditionRequestBodyMetricPeriod.d.ts +2 -7
- package/dist/api/types/CreateOrUpdateConditionRequestBodyMetricPeriodMonthReset.d.ts +2 -7
- package/dist/api/types/CreateOrUpdateConditionRequestBodyOperator.d.ts +1 -4
- package/dist/api/types/CreateOrUpdateFlagRequestBody.d.ts +1 -4
- package/dist/api/types/CreateOrUpdateRuleRequestBody.d.ts +1 -4
- package/dist/api/types/CreateOrUpdateRuleRequestBodyRuleType.d.ts +1 -4
- package/dist/api/types/CreatePlanRequestBody.d.ts +7 -0
- package/dist/api/types/CreatePriceTierRequestBody.d.ts +0 -3
- package/dist/api/types/CreditAutoTopupAmountType.d.ts +0 -3
- package/dist/api/types/CreditBundlePurchaseResponseData.d.ts +1 -4
- package/dist/api/types/CreditCompanyGrantView.d.ts +5 -4
- package/dist/api/types/CreditGrantDetail.d.ts +1 -4
- package/dist/api/types/CreditGrantExpiryRequestBody.d.ts +1 -4
- package/dist/api/types/CreditGrantSortOrder.d.ts +1 -4
- package/dist/api/types/CreditLedgerEnrichedEntryResponseData.d.ts +1 -4
- package/dist/api/types/CreditLedgerPeriod.d.ts +1 -4
- package/dist/api/types/CreditTransferResponseData.d.ts +8 -0
- package/dist/api/types/CreditTransferView.d.ts +8 -0
- package/dist/api/types/CreditTriggerConfig.d.ts +0 -3
- package/dist/api/types/CreditUsage.d.ts +2 -4
- package/dist/api/types/CreditUsageAggregation.d.ts +10 -0
- package/dist/api/types/CreditUsageResponseData.d.ts +2 -4
- package/dist/api/types/CustomPlanConfig.d.ts +0 -3
- package/dist/api/types/CustomPlanViewConfigResponseData.d.ts +0 -3
- package/dist/api/types/DataExportOutputFileType.d.ts +0 -3
- package/dist/api/types/DataExportResponseData.d.ts +1 -4
- package/dist/api/types/DataExportStatus.d.ts +1 -4
- package/dist/api/types/DataExportType.d.ts +0 -3
- package/dist/api/types/DeleteBillingPlanCreditGrantRequestBody.d.ts +3 -0
- package/dist/api/types/DeleteResponse.d.ts +0 -3
- package/dist/api/types/DuplicatePlanEntitlementsResponseResponseData.d.ts +1 -4
- package/dist/api/types/EntitlementPriceBehavior.d.ts +1 -4
- package/dist/api/types/EntitlementTriggerConfig.d.ts +0 -3
- package/dist/api/types/EntitlementType.d.ts +1 -4
- package/dist/api/types/EntitlementValueType.d.ts +1 -4
- package/dist/api/types/EntitlementsInPlan.d.ts +0 -3
- package/dist/api/types/EntityKeyDefinitionResponseData.d.ts +1 -4
- package/dist/api/types/EntityKeyDetailResponseData.d.ts +1 -4
- package/dist/api/types/EntityKeyResponseData.d.ts +1 -4
- package/dist/api/types/EntityTraitDefinitionResponseData.d.ts +1 -4
- package/dist/api/types/EntityTraitDetailResponseData.d.ts +1 -4
- package/dist/api/types/EntityTraitResponseData.d.ts +0 -3
- package/dist/api/types/EntityTraitValue.d.ts +0 -3
- package/dist/api/types/EntityType.d.ts +1 -4
- package/dist/api/types/EnvironmentDetailResponseData.d.ts +1 -4
- package/dist/api/types/EnvironmentResponseData.d.ts +1 -4
- package/dist/api/types/EnvironmentType.d.ts +1 -4
- package/dist/api/types/EventBody.d.ts +1 -4
- package/dist/api/types/EventBodyFlagCheck.d.ts +0 -3
- package/dist/api/types/EventBodyIdentify.d.ts +1 -4
- package/dist/api/types/EventBodyIdentifyCompany.d.ts +0 -3
- package/dist/api/types/EventBodyTrack.d.ts +0 -3
- package/dist/api/types/EventDetailResponseData.d.ts +2 -5
- package/dist/api/types/EventResponseData.d.ts +2 -5
- package/dist/api/types/EventStatus.d.ts +1 -4
- package/dist/api/types/EventSummaryResponseData.d.ts +0 -3
- package/dist/api/types/EventType.d.ts +1 -4
- package/dist/api/types/FeatureCompanyResponseData.d.ts +5 -6
- package/dist/api/types/FeatureCompanyUserResponseData.d.ts +1 -4
- package/dist/api/types/FeatureDetailResponseData.d.ts +1 -4
- package/dist/api/types/FeatureLedgerResponseData.d.ts +0 -3
- package/dist/api/types/FeatureLifecyclePhase.d.ts +1 -4
- package/dist/api/types/FeatureResponseData.d.ts +1 -4
- package/dist/api/types/FeatureType.d.ts +1 -4
- package/dist/api/types/FeatureUsageDataResponseData.d.ts +1 -4
- package/dist/api/types/FeatureUsageDetailResponseData.d.ts +1 -4
- package/dist/api/types/FeatureUsageResponseData.d.ts +5 -6
- package/dist/api/types/FlagDetailResponseData.d.ts +1 -4
- package/dist/api/types/FlagResponseData.d.ts +1 -4
- package/dist/api/types/FlagType.d.ts +0 -3
- package/dist/api/types/GenericPreviewObject.d.ts +0 -3
- package/dist/api/types/InvoiceRequestBody.d.ts +0 -3
- package/dist/api/types/InvoiceResponseData.d.ts +2 -3
- package/dist/api/types/IssueTemporaryAccessTokenResponseData.d.ts +1 -4
- package/dist/api/types/KeysRequestBody.d.ts +0 -3
- package/dist/api/types/ManagePlanPreviewResponseResponseData.d.ts +1 -4
- package/dist/api/types/ManagePlanRequest.d.ts +1 -4
- package/dist/api/types/ManagePlanResponseResponseData.d.ts +1 -4
- package/dist/api/types/MeterRequestBody.d.ts +0 -3
- package/dist/api/types/OrderedPlansInGroup.d.ts +1 -4
- package/dist/api/types/PaymentMethodRequestBody.d.ts +0 -3
- package/dist/api/types/PaymentMethodResponseData.d.ts +2 -3
- package/dist/api/types/PlanBundleAction.d.ts +6 -0
- package/dist/api/types/PlanBundleCreditGrantRequestBody.d.ts +8 -0
- package/dist/api/types/PlanBundleEntitlementRequestBody.d.ts +6 -0
- package/dist/api/types/PlanBundleResponseData.d.ts +8 -0
- package/dist/api/types/PlanChangeAction.d.ts +1 -4
- package/dist/api/types/PlanChangeActorType.d.ts +1 -4
- package/dist/api/types/PlanChangeBasePlanAction.d.ts +1 -4
- package/dist/api/types/PlanChangeResponseData.d.ts +1 -4
- package/dist/api/types/PlanChangeSubscriptionAction.d.ts +2 -4
- package/dist/api/types/PlanControlledByType.d.ts +1 -4
- package/dist/api/types/PlanCreditGrantView.d.ts +1 -4
- package/dist/api/types/PlanDetailResponseData.d.ts +2 -4
- package/dist/api/types/PlanEntitlementResponseData.d.ts +1 -4
- package/dist/api/types/PlanEntitlementsOrder.d.ts +0 -3
- package/dist/api/types/PlanGroupBundleOrder.d.ts +0 -3
- package/dist/api/types/PlanGroupDetailResponseData.d.ts +1 -4
- package/dist/api/types/PlanGroupPlanDetailResponseData.d.ts +2 -4
- package/dist/api/types/PlanGroupPlanEntitlementsOrder.d.ts +1 -4
- package/dist/api/types/PlanGroupResponseData.d.ts +1 -4
- package/dist/api/types/PlanIssueResponseData.d.ts +0 -3
- package/dist/api/types/PlanResponseData.d.ts +1 -4
- package/dist/api/types/PlanSelection.d.ts +0 -3
- package/dist/api/types/PlanSnapshotView.d.ts +0 -3
- package/dist/api/types/PlanTraitResponseData.d.ts +0 -3
- package/dist/api/types/PlanType.d.ts +1 -4
- package/dist/api/types/PlanVersionResponseData.d.ts +14 -0
- package/dist/api/types/PlanVersionStatus.d.ts +6 -0
- package/dist/api/types/PreviewObject.d.ts +0 -3
- package/dist/api/types/PreviewObjectResponseData.d.ts +0 -3
- package/dist/api/types/PreviewSubscriptionChangeResponseData.d.ts +1 -4
- package/dist/api/types/PreviewSubscriptionFinanceResponseData.d.ts +1 -4
- package/dist/api/types/PreviewSubscriptionUpcomingInvoiceLineItems.d.ts +0 -3
- package/dist/api/types/ProrationBehavior.d.ts +1 -4
- package/dist/api/types/QuickstartResp.d.ts +0 -3
- package/dist/api/types/RawEventBatchResponseData.d.ts +1 -4
- package/dist/api/types/RawEventResponseData.d.ts +1 -4
- package/dist/api/types/Rule.d.ts +1 -4
- package/dist/api/types/RuleConditionDetailResponseData.d.ts +1 -4
- package/dist/api/types/RuleConditionGroupDetailResponseData.d.ts +1 -4
- package/dist/api/types/RuleConditionGroupResponseData.d.ts +0 -3
- package/dist/api/types/RuleConditionResponseData.d.ts +1 -4
- package/dist/api/types/RuleDetailResponseData.d.ts +1 -4
- package/dist/api/types/RuleResponseData.d.ts +0 -3
- package/dist/api/types/RuleRuleType.d.ts +1 -4
- package/dist/api/types/RulesDetailResponseData.d.ts +1 -4
- package/dist/api/types/RulesEngineSchemaVersion.d.ts +2 -7
- package/dist/api/types/RulesengineCheckFlagResult.d.ts +1 -4
- package/dist/api/types/RulesengineCheckFlagResultFeatureUsagePeriod.d.ts +1 -4
- package/dist/api/types/RulesengineCheckFlagResultRuleType.d.ts +1 -4
- package/dist/api/types/RulesengineCompany.d.ts +1 -4
- package/dist/api/types/RulesengineCompanyMetric.d.ts +1 -4
- package/dist/api/types/RulesengineCompanyMetricMonthReset.d.ts +1 -4
- package/dist/api/types/RulesengineCompanyMetricPeriod.d.ts +1 -4
- package/dist/api/types/RulesengineCondition.d.ts +1 -4
- package/dist/api/types/RulesengineConditionConditionType.d.ts +1 -4
- package/dist/api/types/RulesengineConditionGroup.d.ts +1 -4
- package/dist/api/types/RulesengineConditionMetricPeriod.d.ts +1 -4
- package/dist/api/types/RulesengineConditionMetricPeriodMonthReset.d.ts +1 -4
- package/dist/api/types/RulesengineConditionOperator.d.ts +1 -4
- package/dist/api/types/RulesengineEntityType.d.ts +1 -4
- package/dist/api/types/RulesengineFlag.d.ts +1 -4
- package/dist/api/types/RulesengineRule.d.ts +1 -4
- package/dist/api/types/RulesengineRuleRuleType.d.ts +1 -4
- package/dist/api/types/RulesengineSubscription.d.ts +0 -3
- package/dist/api/types/RulesengineTrait.d.ts +1 -4
- package/dist/api/types/RulesengineTraitDefinition.d.ts +1 -4
- package/dist/api/types/RulesengineTraitDefinitionComparableType.d.ts +1 -4
- package/dist/api/types/RulesengineUser.d.ts +1 -4
- package/dist/api/types/SegmentStatusResp.d.ts +0 -3
- package/dist/api/types/SkippedEntitlementErrorResponseData.d.ts +0 -3
- package/dist/api/types/SkippedEntitlementResponseData.d.ts +1 -4
- package/dist/api/types/SortDirection.d.ts +1 -4
- package/dist/api/types/StripeEmbedInfo.d.ts +0 -3
- package/dist/api/types/SubscriptionStatus.d.ts +1 -4
- package/dist/api/types/SubscriptionTraitUpdate.d.ts +1 -4
- package/dist/api/types/SubscriptionType.d.ts +1 -4
- package/dist/api/types/TemporaryAccessTokenResourceType.d.ts +0 -3
- package/dist/api/types/TemporaryAccessTokenResponseData.d.ts +1 -4
- package/dist/api/types/TraitDefinition.d.ts +1 -4
- package/dist/api/types/TraitDefinitionComparableType.d.ts +1 -4
- package/dist/api/types/TraitType.d.ts +1 -4
- package/dist/api/types/UpdateAddOnRequestBody.d.ts +0 -3
- package/dist/api/{resources/credits/client/requests → types}/UpdateBillingPlanCreditGrantRequestBody.d.ts +1 -11
- package/dist/api/types/UpdateCreditBundleRequestBody.d.ts +0 -3
- package/dist/api/types/UpdateEntitlementReqCommon.d.ts +1 -4
- package/dist/api/types/UpdateEntitlementReqCommonMetricPeriod.d.ts +1 -4
- package/dist/api/types/UpdateEntitlementReqCommonMetricPeriodMonthReset.d.ts +1 -4
- package/dist/api/types/UpdatePayInAdvanceRequestBody.d.ts +0 -3
- package/dist/api/types/UpdatePlanRequestBody.d.ts +5 -0
- package/dist/api/types/UpdatePlanTraitTraitRequestBody.d.ts +0 -3
- package/dist/api/types/UpdateRuleRequestBody.d.ts +1 -4
- package/dist/api/{resources/plans/client/requests → types}/UpsertBillingProductRequestBody.d.ts +1 -11
- package/dist/api/types/UpsertCompanyRequestBody.d.ts +0 -3
- package/dist/api/types/UpsertTraitRequestBody.d.ts +0 -3
- package/dist/api/types/UpsertUserRequestBody.d.ts +0 -3
- package/dist/api/types/UpsertUserSubRequestBody.d.ts +0 -3
- package/dist/api/types/UsageBasedEntitlementRequestBody.d.ts +1 -4
- package/dist/api/types/UsageBasedEntitlementResponseData.d.ts +1 -4
- package/dist/api/types/UserDetailResponseData.d.ts +1 -4
- package/dist/api/types/UserResponseData.d.ts +0 -3
- package/dist/api/types/WebhookEventDetailResponseData.d.ts +1 -4
- package/dist/api/types/WebhookEventResponseData.d.ts +1 -4
- package/dist/api/types/WebhookEventStatus.d.ts +1 -4
- package/dist/api/types/WebhookRequestType.d.ts +3 -4
- package/dist/api/types/WebhookResponseData.d.ts +1 -4
- package/dist/api/types/WebhookStatus.d.ts +1 -4
- package/dist/api/types/index.d.ts +39 -26
- package/dist/auth/HeaderAuthProvider.d.ts +16 -0
- package/dist/auth/index.d.ts +1 -0
- package/dist/cache.d.ts +1 -1
- package/dist/core/auth/AuthProvider.d.ts +7 -0
- package/dist/core/auth/AuthRequest.d.ts +9 -0
- package/dist/core/auth/BasicAuth.d.ts +8 -0
- package/dist/core/auth/BearerToken.d.ts +7 -0
- package/dist/core/auth/NoOpAuthProvider.d.ts +5 -0
- package/dist/core/auth/index.d.ts +5 -0
- package/dist/core/base64.d.ts +2 -0
- package/dist/core/exports.d.ts +1 -0
- package/dist/core/fetcher/APIResponse.d.ts +1 -1
- package/dist/core/fetcher/BinaryResponse.d.ts +19 -0
- package/dist/core/fetcher/EndpointMetadata.d.ts +13 -0
- package/dist/core/fetcher/EndpointSupplier.d.ts +12 -0
- package/dist/core/fetcher/Fetcher.d.ts +16 -6
- package/dist/core/fetcher/HttpResponsePromise.d.ts +1 -1
- package/dist/core/fetcher/createRequestUrl.d.ts +1 -1
- package/dist/core/fetcher/getErrorResponseBody.d.ts +1 -0
- package/dist/core/fetcher/getRequestBody.d.ts +1 -1
- package/dist/core/fetcher/index.d.ts +7 -4
- package/dist/core/fetcher/makeRequest.d.ts +1 -1
- package/dist/core/fetcher/signals.d.ts +1 -7
- package/dist/core/fetcher/stream-wrappers/Node18UniversalStreamWrapper.d.ts +1 -1
- package/dist/core/fetcher/stream-wrappers/NodePre18StreamWrapper.d.ts +1 -1
- package/dist/core/fetcher/stream-wrappers/UndiciStreamWrapper.d.ts +1 -1
- package/dist/core/headers.d.ts +2 -0
- package/dist/core/index.d.ts +4 -0
- package/dist/core/logging/exports.d.ts +18 -0
- package/dist/core/logging/index.d.ts +1 -0
- package/dist/core/logging/logger.d.ts +126 -0
- package/dist/core/schemas/Schema.d.ts +2 -1
- package/dist/core/schemas/builders/bigint/bigint.d.ts +1 -1
- package/dist/core/schemas/builders/date/date.d.ts +1 -1
- package/dist/core/schemas/builders/enum/enum.d.ts +1 -1
- package/dist/core/schemas/builders/index.d.ts +14 -14
- package/dist/core/schemas/builders/lazy/index.d.ts +1 -1
- package/dist/core/schemas/builders/lazy/lazy.d.ts +1 -1
- package/dist/core/schemas/builders/lazy/lazyObject.d.ts +2 -2
- package/dist/core/schemas/builders/list/list.d.ts +1 -1
- package/dist/core/schemas/builders/literals/booleanLiteral.d.ts +1 -1
- package/dist/core/schemas/builders/literals/index.d.ts +1 -1
- package/dist/core/schemas/builders/literals/stringLiteral.d.ts +1 -1
- package/dist/core/schemas/builders/object/index.d.ts +2 -2
- package/dist/core/schemas/builders/object/object.d.ts +1 -1
- package/dist/core/schemas/builders/object/objectWithoutOptionalProperties.d.ts +1 -1
- package/dist/core/schemas/builders/object/property.d.ts +1 -1
- package/dist/core/schemas/builders/object/types.d.ts +5 -5
- package/dist/core/schemas/builders/object-like/getObjectLikeUtils.d.ts +2 -2
- package/dist/core/schemas/builders/object-like/types.d.ts +1 -1
- package/dist/core/schemas/builders/primitives/any.d.ts +2 -1
- package/dist/core/schemas/builders/primitives/boolean.d.ts +2 -1
- package/dist/core/schemas/builders/primitives/index.d.ts +1 -0
- package/dist/core/schemas/builders/primitives/never.d.ts +2 -0
- package/dist/core/schemas/builders/primitives/number.d.ts +2 -1
- package/dist/core/schemas/builders/primitives/string.d.ts +2 -1
- package/dist/core/schemas/builders/primitives/unknown.d.ts +2 -1
- package/dist/core/schemas/builders/record/record.d.ts +2 -2
- package/dist/core/schemas/builders/record/types.d.ts +2 -2
- package/dist/core/schemas/builders/schema-utils/JsonError.d.ts +1 -1
- package/dist/core/schemas/builders/schema-utils/ParseError.d.ts +1 -1
- package/dist/core/schemas/builders/schema-utils/getSchemaUtils.d.ts +1 -1
- package/dist/core/schemas/builders/schema-utils/index.d.ts +1 -1
- package/dist/core/schemas/builders/schema-utils/stringifyValidationErrors.d.ts +1 -1
- package/dist/core/schemas/builders/set/set.d.ts +1 -1
- package/dist/core/schemas/builders/undiscriminated-union/types.d.ts +1 -1
- package/dist/core/schemas/builders/undiscriminated-union/undiscriminatedUnion.d.ts +2 -2
- package/dist/core/schemas/builders/union/index.d.ts +1 -1
- package/dist/core/schemas/builders/union/types.d.ts +2 -2
- package/dist/core/schemas/builders/union/union.d.ts +3 -3
- package/dist/core/schemas/index.d.ts +1 -1
- package/dist/core/schemas/utils/createIdentitySchemaCreator.d.ts +1 -1
- package/dist/core/schemas/utils/maybeSkipValidation.d.ts +1 -1
- package/dist/core/url/encodePathParam.d.ts +1 -0
- package/dist/core/url/index.d.ts +3 -0
- package/dist/core/url/join.d.ts +1 -0
- package/dist/core/url/qs.d.ts +6 -0
- package/dist/environments.d.ts +0 -3
- package/dist/errors/SchematicError.d.ts +1 -4
- package/dist/errors/SchematicTimeoutError.d.ts +0 -3
- package/dist/errors/handleNonStatusCodeError.d.ts +2 -0
- package/dist/events.d.ts +2 -2
- package/dist/exports.d.ts +1 -0
- package/dist/index.js +3 -3
- package/dist/serialization/resources/accesstokens/client/requests/IssueTemporaryAccessTokenRequestBody.d.ts +2 -6
- package/dist/serialization/resources/accesstokens/index.d.ts +1 -1
- package/dist/serialization/resources/accesstokens/types/IssueTemporaryAccessTokenResponse.d.ts +2 -5
- package/dist/serialization/resources/accounts/client/requests/CreateApiKeyRequestBody.d.ts +2 -5
- package/dist/serialization/resources/accounts/client/requests/CreateEnvironmentRequestBody.d.ts +2 -5
- package/dist/serialization/resources/accounts/client/requests/UpdateApiKeyRequestBody.d.ts +2 -5
- package/dist/serialization/resources/accounts/client/requests/UpdateEnvironmentRequestBody.d.ts +2 -5
- package/dist/serialization/resources/accounts/client/requests/index.d.ts +1 -1
- package/dist/serialization/resources/accounts/index.d.ts +1 -1
- package/dist/serialization/resources/accounts/types/CountApiKeysParams.d.ts +2 -5
- package/dist/serialization/resources/accounts/types/CountApiKeysResponse.d.ts +2 -5
- package/dist/serialization/resources/accounts/types/CountApiRequestsParams.d.ts +2 -5
- package/dist/serialization/resources/accounts/types/CountApiRequestsResponse.d.ts +2 -5
- package/dist/serialization/resources/accounts/types/CreateApiKeyResponse.d.ts +2 -5
- package/dist/serialization/resources/accounts/types/CreateEnvironmentResponse.d.ts +2 -5
- package/dist/serialization/resources/accounts/types/DeleteApiKeyResponse.d.ts +2 -5
- package/dist/serialization/resources/accounts/types/DeleteEnvironmentResponse.d.ts +2 -5
- package/dist/serialization/resources/accounts/types/GetApiKeyResponse.d.ts +2 -5
- package/dist/serialization/resources/accounts/types/GetApiRequestResponse.d.ts +2 -5
- package/dist/serialization/resources/accounts/types/GetEnvironmentResponse.d.ts +2 -5
- package/dist/serialization/resources/accounts/types/ListApiKeysParams.d.ts +2 -5
- package/dist/serialization/resources/accounts/types/ListApiKeysResponse.d.ts +2 -5
- package/dist/serialization/resources/accounts/types/ListApiRequestsParams.d.ts +2 -5
- package/dist/serialization/resources/accounts/types/ListApiRequestsResponse.d.ts +2 -5
- package/dist/serialization/resources/accounts/types/ListEnvironmentsParams.d.ts +2 -5
- package/dist/serialization/resources/accounts/types/ListEnvironmentsResponse.d.ts +2 -5
- package/dist/serialization/resources/accounts/types/QuickstartResponse.d.ts +2 -5
- package/dist/serialization/resources/accounts/types/UpdateApiKeyResponse.d.ts +2 -5
- package/dist/serialization/resources/accounts/types/UpdateEnvironmentResponse.d.ts +2 -5
- package/dist/serialization/resources/accounts/types/index.d.ts +13 -13
- package/dist/serialization/resources/billing/client/requests/CreateBillingCustomerRequestBody.d.ts +4 -6
- package/dist/serialization/resources/billing/client/requests/CreateBillingPriceRequestBody.d.ts +6 -7
- package/dist/serialization/resources/billing/client/requests/CreateBillingProductRequestBody.d.ts +4 -5
- package/dist/serialization/resources/billing/client/requests/CreateBillingSubscriptionRequestBody.d.ts +3 -6
- package/dist/serialization/resources/billing/client/requests/CreateCouponRequestBody.d.ts +2 -5
- package/dist/serialization/resources/billing/client/requests/CreateInvoiceRequestBody.d.ts +2 -5
- package/dist/serialization/resources/billing/client/requests/CreateMeterRequestBody.d.ts +2 -5
- package/dist/serialization/resources/billing/client/requests/CreatePaymentMethodRequestBody.d.ts +2 -5
- package/dist/serialization/resources/billing/client/requests/index.d.ts +4 -4
- package/dist/serialization/resources/billing/index.d.ts +1 -1
- package/dist/serialization/resources/billing/types/CountBillingProductsParams.d.ts +4 -5
- package/dist/serialization/resources/billing/types/CountBillingProductsResponse.d.ts +2 -5
- package/dist/serialization/resources/billing/types/CountCustomersParams.d.ts +4 -6
- package/dist/serialization/resources/billing/types/CountCustomersResponse.d.ts +2 -5
- package/dist/serialization/resources/billing/types/DeleteBillingProductResponse.d.ts +2 -5
- package/dist/serialization/resources/billing/types/DeleteProductPriceResponse.d.ts +2 -5
- package/dist/serialization/resources/billing/types/ListBillingPricesParams.d.ts +5 -6
- package/dist/serialization/resources/billing/types/ListBillingPricesResponse.d.ts +2 -5
- package/dist/serialization/resources/billing/types/ListBillingProductPricesParams.d.ts +5 -6
- package/dist/serialization/resources/billing/types/ListBillingProductPricesResponse.d.ts +2 -5
- package/dist/serialization/resources/billing/types/ListBillingProductsParams.d.ts +4 -5
- package/dist/serialization/resources/billing/types/ListBillingProductsResponse.d.ts +2 -5
- package/dist/serialization/resources/billing/types/ListCouponsParams.d.ts +2 -5
- package/dist/serialization/resources/billing/types/ListCouponsResponse.d.ts +2 -5
- package/dist/serialization/resources/billing/types/ListCustomersWithSubscriptionsParams.d.ts +4 -6
- package/dist/serialization/resources/billing/types/ListCustomersWithSubscriptionsResponse.d.ts +2 -5
- package/dist/serialization/resources/billing/types/ListInvoicesParams.d.ts +2 -5
- package/dist/serialization/resources/billing/types/ListInvoicesResponse.d.ts +2 -5
- package/dist/serialization/resources/billing/types/ListMetersParams.d.ts +2 -5
- package/dist/serialization/resources/billing/types/ListMetersResponse.d.ts +2 -5
- package/dist/serialization/resources/billing/types/ListPaymentMethodsParams.d.ts +2 -5
- package/dist/serialization/resources/billing/types/ListPaymentMethodsResponse.d.ts +2 -5
- package/dist/serialization/resources/billing/types/UpsertBillingCouponResponse.d.ts +2 -5
- package/dist/serialization/resources/billing/types/UpsertBillingCustomerResponse.d.ts +2 -5
- package/dist/serialization/resources/billing/types/UpsertBillingMeterResponse.d.ts +2 -5
- package/dist/serialization/resources/billing/types/UpsertBillingPriceResponse.d.ts +2 -5
- package/dist/serialization/resources/billing/types/UpsertBillingProductResponse.d.ts +2 -5
- package/dist/serialization/resources/billing/types/UpsertBillingSubscriptionResponse.d.ts +2 -5
- package/dist/serialization/resources/billing/types/UpsertInvoiceResponse.d.ts +2 -5
- package/dist/serialization/resources/billing/types/UpsertPaymentMethodResponse.d.ts +2 -5
- package/dist/serialization/resources/billing/types/index.d.ts +17 -17
- package/dist/serialization/resources/checkout/client/requests/CancelSubscriptionRequest.d.ts +2 -5
- package/dist/serialization/resources/checkout/client/requests/CheckoutDataRequestBody.d.ts +2 -5
- package/dist/serialization/resources/checkout/client/requests/UpdateTrialEndRequestBody.d.ts +2 -5
- package/dist/serialization/resources/checkout/client/requests/index.d.ts +1 -1
- package/dist/serialization/resources/checkout/index.d.ts +1 -1
- package/dist/serialization/resources/checkout/types/CancelSubscriptionResponse.d.ts +2 -5
- package/dist/serialization/resources/checkout/types/CheckoutInternalResponse.d.ts +2 -5
- package/dist/serialization/resources/checkout/types/GetCheckoutDataResponse.d.ts +2 -5
- package/dist/serialization/resources/checkout/types/ManagePlanResponse.d.ts +2 -5
- package/dist/serialization/resources/checkout/types/PreviewCheckoutInternalResponse.d.ts +2 -5
- package/dist/serialization/resources/checkout/types/PreviewManagePlanResponse.d.ts +2 -5
- package/dist/serialization/resources/checkout/types/UpdateCustomerSubscriptionTrialEndResponse.d.ts +2 -5
- package/dist/serialization/resources/checkout/types/index.d.ts +2 -2
- package/dist/serialization/resources/companies/client/requests/CreateEntityTraitDefinitionRequestBody.d.ts +2 -5
- package/dist/serialization/resources/companies/client/requests/CreatePlanTraitRequestBody.d.ts +2 -5
- package/dist/serialization/resources/companies/client/requests/GetOrCreateCompanyMembershipRequestBody.d.ts +2 -5
- package/dist/serialization/resources/companies/client/requests/UpdateEntityTraitDefinitionRequestBody.d.ts +2 -5
- package/dist/serialization/resources/companies/client/requests/UpdatePlanTraitBulkRequestBody.d.ts +2 -5
- package/dist/serialization/resources/companies/client/requests/UpdatePlanTraitRequestBody.d.ts +2 -5
- package/dist/serialization/resources/companies/client/requests/index.d.ts +3 -3
- package/dist/serialization/resources/companies/index.d.ts +1 -1
- package/dist/serialization/resources/companies/types/CountCompaniesForAdvancedFilterParams.d.ts +2 -5
- package/dist/serialization/resources/companies/types/CountCompaniesForAdvancedFilterResponse.d.ts +2 -5
- package/dist/serialization/resources/companies/types/CountCompaniesParams.d.ts +2 -5
- package/dist/serialization/resources/companies/types/CountCompaniesResponse.d.ts +2 -5
- package/dist/serialization/resources/companies/types/CountEntityKeyDefinitionsParams.d.ts +2 -5
- package/dist/serialization/resources/companies/types/CountEntityKeyDefinitionsResponse.d.ts +2 -5
- package/dist/serialization/resources/companies/types/CountEntityTraitDefinitionsParams.d.ts +2 -5
- package/dist/serialization/resources/companies/types/CountEntityTraitDefinitionsResponse.d.ts +2 -5
- package/dist/serialization/resources/companies/types/CountPlanTraitsParams.d.ts +2 -5
- package/dist/serialization/resources/companies/types/CountPlanTraitsResponse.d.ts +2 -5
- package/dist/serialization/resources/companies/types/CountUsersParams.d.ts +2 -5
- package/dist/serialization/resources/companies/types/CountUsersResponse.d.ts +2 -5
- package/dist/serialization/resources/companies/types/CreateCompanyResponse.d.ts +2 -5
- package/dist/serialization/resources/companies/types/CreatePlanTraitResponse.d.ts +2 -5
- package/dist/serialization/resources/companies/types/CreateUserResponse.d.ts +2 -5
- package/dist/serialization/resources/companies/types/DeleteCompanyByKeysResponse.d.ts +2 -5
- package/dist/serialization/resources/companies/types/DeleteCompanyMembershipResponse.d.ts +2 -5
- package/dist/serialization/resources/companies/types/DeleteCompanyParams.d.ts +2 -5
- package/dist/serialization/resources/companies/types/DeleteCompanyResponse.d.ts +2 -5
- package/dist/serialization/resources/companies/types/DeletePlanTraitResponse.d.ts +2 -5
- package/dist/serialization/resources/companies/types/DeleteUserByKeysResponse.d.ts +2 -5
- package/dist/serialization/resources/companies/types/DeleteUserResponse.d.ts +2 -5
- package/dist/serialization/resources/companies/types/GetActiveCompanySubscriptionParams.d.ts +2 -5
- package/dist/serialization/resources/companies/types/GetActiveCompanySubscriptionResponse.d.ts +2 -5
- package/dist/serialization/resources/companies/types/GetCompanyResponse.d.ts +2 -5
- package/dist/serialization/resources/companies/types/GetEntityTraitDefinitionResponse.d.ts +2 -5
- package/dist/serialization/resources/companies/types/GetEntityTraitValuesParams.d.ts +2 -5
- package/dist/serialization/resources/companies/types/GetEntityTraitValuesResponse.d.ts +2 -5
- package/dist/serialization/resources/companies/types/GetOrCreateCompanyMembershipResponse.d.ts +2 -5
- package/dist/serialization/resources/companies/types/GetOrCreateEntityTraitDefinitionResponse.d.ts +2 -5
- package/dist/serialization/resources/companies/types/GetPlanChangeResponse.d.ts +2 -5
- package/dist/serialization/resources/companies/types/GetPlanTraitResponse.d.ts +2 -5
- package/dist/serialization/resources/companies/types/GetUserResponse.d.ts +2 -5
- package/dist/serialization/resources/companies/types/ListCompaniesForAdvancedFilterParams.d.ts +2 -5
- package/dist/serialization/resources/companies/types/ListCompaniesForAdvancedFilterResponse.d.ts +2 -5
- package/dist/serialization/resources/companies/types/ListCompaniesParams.d.ts +2 -5
- package/dist/serialization/resources/companies/types/ListCompaniesResponse.d.ts +2 -5
- package/dist/serialization/resources/companies/types/ListCompanyMembershipsParams.d.ts +2 -5
- package/dist/serialization/resources/companies/types/ListCompanyMembershipsResponse.d.ts +2 -5
- package/dist/serialization/resources/companies/types/ListEntityKeyDefinitionsParams.d.ts +2 -5
- package/dist/serialization/resources/companies/types/ListEntityKeyDefinitionsResponse.d.ts +2 -5
- package/dist/serialization/resources/companies/types/ListEntityTraitDefinitionsParams.d.ts +2 -5
- package/dist/serialization/resources/companies/types/ListEntityTraitDefinitionsResponse.d.ts +2 -5
- package/dist/serialization/resources/companies/types/ListPlanChangesParams.d.ts +2 -5
- package/dist/serialization/resources/companies/types/ListPlanChangesResponse.d.ts +2 -5
- package/dist/serialization/resources/companies/types/ListPlanTraitsParams.d.ts +2 -5
- package/dist/serialization/resources/companies/types/ListPlanTraitsResponse.d.ts +2 -5
- package/dist/serialization/resources/companies/types/ListUsersParams.d.ts +2 -5
- package/dist/serialization/resources/companies/types/ListUsersResponse.d.ts +2 -5
- package/dist/serialization/resources/companies/types/LookupCompanyParams.d.ts +2 -5
- package/dist/serialization/resources/companies/types/LookupCompanyResponse.d.ts +2 -5
- package/dist/serialization/resources/companies/types/LookupUserParams.d.ts +2 -5
- package/dist/serialization/resources/companies/types/LookupUserResponse.d.ts +2 -5
- package/dist/serialization/resources/companies/types/UpdateEntityTraitDefinitionResponse.d.ts +2 -5
- package/dist/serialization/resources/companies/types/UpdatePlanTraitResponse.d.ts +2 -5
- package/dist/serialization/resources/companies/types/UpdatePlanTraitsBulkResponse.d.ts +2 -5
- package/dist/serialization/resources/companies/types/UpsertCompanyResponse.d.ts +2 -5
- package/dist/serialization/resources/companies/types/UpsertCompanyTraitResponse.d.ts +2 -5
- package/dist/serialization/resources/companies/types/UpsertUserResponse.d.ts +2 -5
- package/dist/serialization/resources/companies/types/UpsertUserTraitResponse.d.ts +2 -5
- package/dist/serialization/resources/companies/types/index.d.ts +40 -42
- package/dist/serialization/resources/components/client/requests/CreateComponentRequestBody.d.ts +2 -5
- package/dist/serialization/resources/components/client/requests/UpdateComponentRequestBody.d.ts +2 -5
- package/dist/serialization/resources/components/index.d.ts +1 -1
- package/dist/serialization/resources/components/types/CountComponentsParams.d.ts +2 -5
- package/dist/serialization/resources/components/types/CountComponentsResponse.d.ts +2 -5
- package/dist/serialization/resources/components/types/CreateComponentResponse.d.ts +2 -5
- package/dist/serialization/resources/components/types/DeleteComponentResponse.d.ts +2 -5
- package/dist/serialization/resources/components/types/GetComponentResponse.d.ts +2 -5
- package/dist/serialization/resources/components/types/ListComponentsParams.d.ts +2 -5
- package/dist/serialization/resources/components/types/ListComponentsResponse.d.ts +2 -5
- package/dist/serialization/resources/components/types/PreviewComponentDataParams.d.ts +2 -5
- package/dist/serialization/resources/components/types/PreviewComponentDataResponse.d.ts +2 -5
- package/dist/serialization/resources/components/types/UpdateComponentResponse.d.ts +2 -5
- package/dist/serialization/resources/components/types/index.d.ts +6 -6
- package/dist/serialization/resources/credits/client/requests/CreateBillingCreditRequestBody.d.ts +2 -5
- package/dist/serialization/resources/credits/client/requests/CreateCompanyCreditGrant.d.ts +2 -5
- package/dist/serialization/resources/credits/client/requests/CreateCreditBundleRequestBody.d.ts +3 -6
- package/dist/serialization/resources/credits/client/requests/UpdateBillingCreditRequestBody.d.ts +2 -5
- package/dist/serialization/resources/credits/client/requests/UpdateCreditBundleDetailsRequestBody.d.ts +3 -6
- package/dist/serialization/resources/credits/client/requests/ZeroOutGrantRequestBody.d.ts +2 -5
- package/dist/serialization/resources/credits/client/requests/index.d.ts +2 -4
- package/dist/serialization/resources/credits/index.d.ts +1 -1
- package/dist/serialization/resources/credits/types/CountBillingCreditsGrantsParams.d.ts +2 -5
- package/dist/serialization/resources/credits/types/CountBillingCreditsGrantsResponse.d.ts +2 -5
- package/dist/serialization/resources/credits/types/CountBillingCreditsParams.d.ts +2 -5
- package/dist/serialization/resources/credits/types/CountBillingCreditsResponse.d.ts +2 -5
- package/dist/serialization/resources/credits/types/CountBillingPlanCreditGrantsParams.d.ts +2 -5
- package/dist/serialization/resources/credits/types/CountBillingPlanCreditGrantsResponse.d.ts +2 -5
- package/dist/serialization/resources/credits/types/CountCompanyGrantsParams.d.ts +15 -0
- package/dist/serialization/resources/credits/types/CountCompanyGrantsResponse.d.ts +12 -0
- package/dist/serialization/resources/credits/types/CountCreditBundlesParams.d.ts +3 -6
- package/dist/serialization/resources/credits/types/CountCreditBundlesResponse.d.ts +2 -5
- package/dist/serialization/resources/credits/types/CountCreditLedgerParams.d.ts +2 -5
- package/dist/serialization/resources/credits/types/CountCreditLedgerResponse.d.ts +2 -5
- package/dist/serialization/resources/credits/types/CreateBillingCreditResponse.d.ts +2 -5
- package/dist/serialization/resources/credits/types/CreateBillingPlanCreditGrantResponse.d.ts +2 -5
- package/dist/serialization/resources/credits/types/CreateCreditBundleResponse.d.ts +2 -5
- package/dist/serialization/resources/credits/types/DeleteBillingPlanCreditGrantParams.d.ts +2 -5
- package/dist/serialization/resources/credits/types/DeleteBillingPlanCreditGrantResponse.d.ts +2 -5
- package/dist/serialization/resources/credits/types/DeleteCreditBundleResponse.d.ts +2 -5
- package/dist/serialization/resources/credits/types/GetCreditBundleResponse.d.ts +2 -5
- package/dist/serialization/resources/credits/types/GetEnrichedCreditLedgerParams.d.ts +2 -5
- package/dist/serialization/resources/credits/types/GetEnrichedCreditLedgerResponse.d.ts +2 -5
- package/dist/serialization/resources/credits/types/GetSingleBillingCreditResponse.d.ts +2 -5
- package/dist/serialization/resources/credits/types/GrantBillingCreditsToCompanyResponse.d.ts +2 -5
- package/dist/serialization/resources/credits/types/ListBillingCreditsParams.d.ts +2 -5
- package/dist/serialization/resources/credits/types/ListBillingCreditsResponse.d.ts +2 -5
- package/dist/serialization/resources/credits/types/ListBillingPlanCreditGrantsParams.d.ts +2 -5
- package/dist/serialization/resources/credits/types/ListBillingPlanCreditGrantsResponse.d.ts +2 -5
- package/dist/serialization/resources/credits/types/ListCompanyGrantsParams.d.ts +3 -6
- package/dist/serialization/resources/credits/types/ListCompanyGrantsResponse.d.ts +2 -5
- package/dist/serialization/resources/credits/types/ListCreditBundlesParams.d.ts +3 -6
- package/dist/serialization/resources/credits/types/ListCreditBundlesResponse.d.ts +2 -5
- package/dist/serialization/resources/credits/types/ListGrantsForCreditParams.d.ts +2 -5
- package/dist/serialization/resources/credits/types/ListGrantsForCreditResponse.d.ts +2 -5
- package/dist/serialization/resources/credits/types/SoftDeleteBillingCreditResponse.d.ts +2 -5
- package/dist/serialization/resources/credits/types/UpdateBillingCreditResponse.d.ts +2 -5
- package/dist/serialization/resources/credits/types/UpdateBillingPlanCreditGrantResponse.d.ts +2 -5
- package/dist/serialization/resources/credits/types/UpdateCreditBundleDetailsResponse.d.ts +2 -5
- package/dist/serialization/resources/credits/types/ZeroOutGrantResponse.d.ts +2 -5
- package/dist/serialization/resources/credits/types/index.d.ts +29 -27
- package/dist/serialization/resources/dataexports/client/requests/CreateDataExportRequestBody.d.ts +2 -5
- package/dist/serialization/resources/dataexports/index.d.ts +1 -1
- package/dist/serialization/resources/dataexports/types/CreateDataExportResponse.d.ts +2 -5
- package/dist/serialization/resources/entitlements/client/requests/CreateCompanyOverrideRequestBody.d.ts +3 -6
- package/dist/serialization/resources/entitlements/client/requests/CreatePlanEntitlementRequestBody.d.ts +5 -8
- package/dist/serialization/resources/entitlements/client/requests/DuplicatePlanEntitlementsRequestBody.d.ts +2 -5
- package/dist/serialization/resources/entitlements/client/requests/UpdateCompanyOverrideRequestBody.d.ts +3 -6
- package/dist/serialization/resources/entitlements/client/requests/UpdatePlanEntitlementRequestBody.d.ts +5 -8
- package/dist/serialization/resources/entitlements/client/requests/index.d.ts +2 -2
- package/dist/serialization/resources/entitlements/index.d.ts +1 -1
- package/dist/serialization/resources/entitlements/types/CountCompanyOverridesParams.d.ts +2 -5
- package/dist/serialization/resources/entitlements/types/CountCompanyOverridesResponse.d.ts +2 -5
- package/dist/serialization/resources/entitlements/types/CountFeatureCompaniesParams.d.ts +2 -5
- package/dist/serialization/resources/entitlements/types/CountFeatureCompaniesResponse.d.ts +2 -5
- package/dist/serialization/resources/entitlements/types/CountFeatureUsageParams.d.ts +3 -5
- package/dist/serialization/resources/entitlements/types/CountFeatureUsageResponse.d.ts +2 -5
- package/dist/serialization/resources/entitlements/types/CountFeatureUsersParams.d.ts +2 -5
- package/dist/serialization/resources/entitlements/types/CountFeatureUsersResponse.d.ts +2 -5
- package/dist/serialization/resources/entitlements/types/CountPlanEntitlementsParams.d.ts +2 -5
- package/dist/serialization/resources/entitlements/types/CountPlanEntitlementsResponse.d.ts +2 -5
- package/dist/serialization/resources/entitlements/types/CreateCompanyOverrideRequestBodyMetricPeriod.d.ts +2 -5
- package/dist/serialization/resources/entitlements/types/CreateCompanyOverrideRequestBodyMetricPeriodMonthReset.d.ts +2 -5
- package/dist/serialization/resources/entitlements/types/CreateCompanyOverrideResponse.d.ts +2 -5
- package/dist/serialization/resources/entitlements/types/CreatePlanEntitlementRequestBodyMetricPeriod.d.ts +2 -5
- package/dist/serialization/resources/entitlements/types/CreatePlanEntitlementRequestBodyMetricPeriodMonthReset.d.ts +2 -5
- package/dist/serialization/resources/entitlements/types/CreatePlanEntitlementResponse.d.ts +2 -5
- package/dist/serialization/resources/entitlements/types/DeleteCompanyOverrideResponse.d.ts +2 -5
- package/dist/serialization/resources/entitlements/types/DeletePlanEntitlementResponse.d.ts +2 -5
- package/dist/serialization/resources/entitlements/types/DuplicatePlanEntitlementsResponse.d.ts +2 -5
- package/dist/serialization/resources/entitlements/types/GetCompanyOverrideResponse.d.ts +2 -5
- package/dist/serialization/resources/entitlements/types/GetFeatureUsageByCompanyParams.d.ts +2 -5
- package/dist/serialization/resources/entitlements/types/GetFeatureUsageByCompanyResponse.d.ts +2 -5
- package/dist/serialization/resources/entitlements/types/GetPlanEntitlementResponse.d.ts +2 -5
- package/dist/serialization/resources/entitlements/types/ListCompanyOverridesParams.d.ts +2 -5
- package/dist/serialization/resources/entitlements/types/ListCompanyOverridesResponse.d.ts +2 -5
- package/dist/serialization/resources/entitlements/types/ListFeatureCompaniesParams.d.ts +2 -5
- package/dist/serialization/resources/entitlements/types/ListFeatureCompaniesResponse.d.ts +2 -5
- package/dist/serialization/resources/entitlements/types/ListFeatureUsageParams.d.ts +3 -5
- package/dist/serialization/resources/entitlements/types/ListFeatureUsageResponse.d.ts +2 -5
- package/dist/serialization/resources/entitlements/types/ListFeatureUsersParams.d.ts +2 -5
- package/dist/serialization/resources/entitlements/types/ListFeatureUsersResponse.d.ts +2 -5
- package/dist/serialization/resources/entitlements/types/ListPlanEntitlementsParams.d.ts +2 -5
- package/dist/serialization/resources/entitlements/types/ListPlanEntitlementsResponse.d.ts +2 -5
- package/dist/serialization/resources/entitlements/types/UpdateCompanyOverrideRequestBodyMetricPeriod.d.ts +2 -5
- package/dist/serialization/resources/entitlements/types/UpdateCompanyOverrideRequestBodyMetricPeriodMonthReset.d.ts +2 -5
- package/dist/serialization/resources/entitlements/types/UpdateCompanyOverrideResponse.d.ts +2 -5
- package/dist/serialization/resources/entitlements/types/UpdatePlanEntitlementRequestBodyMetricPeriod.d.ts +2 -5
- package/dist/serialization/resources/entitlements/types/UpdatePlanEntitlementRequestBodyMetricPeriodMonthReset.d.ts +2 -5
- package/dist/serialization/resources/entitlements/types/UpdatePlanEntitlementResponse.d.ts +2 -5
- package/dist/serialization/resources/entitlements/types/index.d.ts +24 -24
- package/dist/serialization/resources/events/client/requests/CreateEventBatchRequestBody.d.ts +2 -5
- package/dist/serialization/resources/events/index.d.ts +1 -1
- package/dist/serialization/resources/events/types/CreateEventBatchResponse.d.ts +2 -5
- package/dist/serialization/resources/events/types/CreateEventResponse.d.ts +2 -5
- package/dist/serialization/resources/events/types/GetEventResponse.d.ts +2 -5
- package/dist/serialization/resources/events/types/GetEventSummariesParams.d.ts +2 -5
- package/dist/serialization/resources/events/types/GetEventSummariesResponse.d.ts +2 -5
- package/dist/serialization/resources/events/types/GetSegmentIntegrationStatusResponse.d.ts +2 -5
- package/dist/serialization/resources/events/types/ListEventsParams.d.ts +2 -5
- package/dist/serialization/resources/events/types/ListEventsResponse.d.ts +2 -5
- package/dist/serialization/resources/events/types/index.d.ts +3 -3
- package/dist/serialization/resources/features/client/requests/CheckFlagsBulkRequestBody.d.ts +2 -5
- package/dist/serialization/resources/features/client/requests/CreateFeatureRequestBody.d.ts +3 -6
- package/dist/serialization/resources/features/client/requests/UpdateFeatureRequestBody.d.ts +3 -6
- package/dist/serialization/resources/features/client/requests/UpdateFlagRulesRequestBody.d.ts +2 -5
- package/dist/serialization/resources/features/client/requests/index.d.ts +1 -1
- package/dist/serialization/resources/features/index.d.ts +1 -1
- package/dist/serialization/resources/features/types/CheckFlagResponse.d.ts +2 -5
- package/dist/serialization/resources/features/types/CheckFlagsBulkResponse.d.ts +2 -5
- package/dist/serialization/resources/features/types/CheckFlagsResponse.d.ts +2 -5
- package/dist/serialization/resources/features/types/CountFeaturesParams.d.ts +2 -5
- package/dist/serialization/resources/features/types/CountFeaturesResponse.d.ts +2 -5
- package/dist/serialization/resources/features/types/CountFlagsParams.d.ts +2 -5
- package/dist/serialization/resources/features/types/CountFlagsResponse.d.ts +2 -5
- package/dist/serialization/resources/features/types/CreateFeatureResponse.d.ts +2 -5
- package/dist/serialization/resources/features/types/CreateFlagResponse.d.ts +2 -5
- package/dist/serialization/resources/features/types/DeleteFeatureResponse.d.ts +2 -5
- package/dist/serialization/resources/features/types/DeleteFlagResponse.d.ts +2 -5
- package/dist/serialization/resources/features/types/GetFeatureResponse.d.ts +2 -5
- package/dist/serialization/resources/features/types/GetFlagResponse.d.ts +2 -5
- package/dist/serialization/resources/features/types/ListFeaturesParams.d.ts +2 -5
- package/dist/serialization/resources/features/types/ListFeaturesResponse.d.ts +2 -5
- package/dist/serialization/resources/features/types/ListFlagsParams.d.ts +2 -5
- package/dist/serialization/resources/features/types/ListFlagsResponse.d.ts +2 -5
- package/dist/serialization/resources/features/types/UpdateFeatureResponse.d.ts +2 -5
- package/dist/serialization/resources/features/types/UpdateFlagResponse.d.ts +2 -5
- package/dist/serialization/resources/features/types/UpdateFlagRulesResponse.d.ts +2 -5
- package/dist/serialization/resources/features/types/index.d.ts +14 -14
- package/dist/serialization/resources/index.d.ts +25 -25
- package/dist/serialization/resources/planbundle/client/requests/CreatePlanBundleRequestBody.d.ts +18 -0
- package/dist/serialization/resources/planbundle/client/requests/UpdatePlanBundleRequestBody.d.ts +18 -0
- package/dist/serialization/resources/planbundle/client/requests/index.d.ts +2 -0
- package/dist/serialization/resources/planbundle/types/CreatePlanBundleResponse.d.ts +11 -0
- package/dist/serialization/resources/planbundle/types/UpdatePlanBundleResponse.d.ts +11 -0
- package/dist/serialization/resources/planbundle/types/index.d.ts +2 -0
- package/dist/serialization/resources/plangroups/client/requests/CreatePlanGroupRequestBody.d.ts +2 -5
- package/dist/serialization/resources/plangroups/client/requests/UpdatePlanGroupRequestBody.d.ts +2 -5
- package/dist/serialization/resources/plangroups/index.d.ts +1 -1
- package/dist/serialization/resources/plangroups/types/CreatePlanGroupResponse.d.ts +2 -5
- package/dist/serialization/resources/plangroups/types/GetPlanGroupResponse.d.ts +2 -5
- package/dist/serialization/resources/plangroups/types/UpdatePlanGroupResponse.d.ts +2 -5
- package/dist/serialization/resources/plangroups/types/index.d.ts +1 -1
- package/dist/serialization/resources/plans/client/requests/UpdateCompanyPlansRequestBody.d.ts +2 -5
- package/dist/serialization/resources/plans/client/requests/index.d.ts +0 -3
- package/dist/serialization/resources/plans/index.d.ts +1 -1
- package/dist/serialization/resources/plans/types/CountPlansParams.d.ts +2 -5
- package/dist/serialization/resources/plans/types/CountPlansResponse.d.ts +2 -5
- package/dist/serialization/resources/plans/types/CreatePlanResponse.d.ts +2 -5
- package/dist/serialization/resources/plans/types/DeletePlanResponse.d.ts +2 -5
- package/dist/serialization/resources/plans/types/GetPlanResponse.d.ts +2 -5
- package/dist/serialization/resources/plans/types/ListPlanIssuesParams.d.ts +2 -5
- package/dist/serialization/resources/plans/types/ListPlanIssuesResponse.d.ts +2 -5
- package/dist/serialization/resources/plans/types/ListPlansParams.d.ts +2 -5
- package/dist/serialization/resources/plans/types/ListPlansResponse.d.ts +2 -5
- package/dist/serialization/resources/plans/types/UpdateCompanyPlansResponse.d.ts +2 -5
- package/dist/serialization/resources/plans/types/UpdatePlanResponse.d.ts +2 -5
- package/dist/serialization/resources/plans/types/UpsertBillingProductPlanResponse.d.ts +2 -5
- package/dist/serialization/resources/plans/types/index.d.ts +8 -8
- package/dist/serialization/resources/webhooks/client/requests/CreateWebhookRequestBody.d.ts +2 -5
- package/dist/serialization/resources/webhooks/client/requests/UpdateWebhookRequestBody.d.ts +2 -5
- package/dist/serialization/resources/webhooks/index.d.ts +1 -1
- package/dist/serialization/resources/webhooks/types/CountWebhookEventsParams.d.ts +2 -5
- package/dist/serialization/resources/webhooks/types/CountWebhookEventsResponse.d.ts +2 -5
- package/dist/serialization/resources/webhooks/types/CountWebhooksParams.d.ts +2 -5
- package/dist/serialization/resources/webhooks/types/CountWebhooksResponse.d.ts +2 -5
- package/dist/serialization/resources/webhooks/types/CreateWebhookResponse.d.ts +2 -5
- package/dist/serialization/resources/webhooks/types/DeleteWebhookResponse.d.ts +2 -5
- package/dist/serialization/resources/webhooks/types/GetWebhookEventResponse.d.ts +2 -5
- package/dist/serialization/resources/webhooks/types/GetWebhookResponse.d.ts +2 -5
- package/dist/serialization/resources/webhooks/types/ListWebhookEventsParams.d.ts +2 -5
- package/dist/serialization/resources/webhooks/types/ListWebhookEventsResponse.d.ts +2 -5
- package/dist/serialization/resources/webhooks/types/ListWebhooksParams.d.ts +2 -5
- package/dist/serialization/resources/webhooks/types/ListWebhooksResponse.d.ts +2 -5
- package/dist/serialization/resources/webhooks/types/UpdateWebhookResponse.d.ts +2 -5
- package/dist/serialization/resources/webhooks/types/index.d.ts +8 -8
- package/dist/serialization/types/ApiError.d.ts +2 -5
- package/dist/serialization/types/ApiKeyCreateResponseData.d.ts +2 -5
- package/dist/serialization/types/ApiKeyRequestListResponseData.d.ts +2 -5
- package/dist/serialization/types/ApiKeyRequestResponseData.d.ts +2 -5
- package/dist/serialization/types/ApiKeyResponseData.d.ts +2 -5
- package/dist/serialization/types/ApiKeyScope.d.ts +2 -5
- package/dist/serialization/types/BillingCouponResponseData.d.ts +4 -5
- package/dist/serialization/types/BillingCreditBundleResponseData.d.ts +3 -6
- package/dist/serialization/types/BillingCreditBundleStatus.d.ts +2 -5
- package/dist/serialization/types/BillingCreditBundleType.d.ts +2 -5
- package/dist/serialization/types/BillingCreditBundleView.d.ts +3 -6
- package/dist/serialization/types/BillingCreditBurnStrategy.d.ts +2 -5
- package/dist/serialization/types/BillingCreditExpiryType.d.ts +2 -5
- package/dist/serialization/types/BillingCreditExpiryUnit.d.ts +2 -5
- package/dist/serialization/types/BillingCreditGrantReason.d.ts +2 -5
- package/dist/serialization/types/BillingCreditGrantResponseData.d.ts +8 -6
- package/dist/serialization/types/BillingCreditGrantZeroedOutReason.d.ts +2 -5
- package/dist/serialization/types/BillingCreditLedgerResponseData.d.ts +2 -5
- package/dist/serialization/types/BillingCreditResponseData.d.ts +2 -5
- package/dist/serialization/types/BillingCreditRolloverPolicy.d.ts +2 -5
- package/dist/serialization/types/BillingCustomerResponseData.d.ts +4 -6
- package/dist/serialization/types/BillingCustomerSubscription.d.ts +2 -5
- package/dist/serialization/types/BillingCustomerWithSubscriptionsResponseData.d.ts +4 -6
- package/dist/serialization/types/BillingMeterResponseData.d.ts +4 -5
- package/dist/serialization/types/BillingPlanCreditGrantResetCadence.d.ts +2 -5
- package/dist/serialization/types/BillingPlanCreditGrantResetStart.d.ts +2 -5
- package/dist/serialization/types/BillingPlanCreditGrantResetType.d.ts +2 -5
- package/dist/serialization/types/BillingPlanCreditGrantResponseData.d.ts +2 -5
- package/dist/serialization/types/BillingPriceResponseData.d.ts +5 -6
- package/dist/serialization/types/BillingPriceScheme.d.ts +2 -5
- package/dist/serialization/types/BillingPriceUsageType.d.ts +2 -5
- package/dist/serialization/types/BillingPriceView.d.ts +5 -6
- package/dist/serialization/types/BillingProductDetailResponseData.d.ts +4 -5
- package/dist/serialization/types/BillingProductForSubscriptionResponseData.d.ts +5 -6
- package/dist/serialization/types/BillingProductPlanResponseData.d.ts +2 -5
- package/dist/serialization/types/BillingProductPriceInterval.d.ts +2 -5
- package/dist/serialization/types/BillingProductPriceResponseData.d.ts +5 -6
- package/dist/serialization/types/BillingProductPriceTierResponseData.d.ts +2 -5
- package/dist/serialization/types/BillingProductPricing.d.ts +2 -5
- package/dist/serialization/types/BillingProductResponseData.d.ts +4 -5
- package/dist/serialization/types/BillingProviderType.d.ts +7 -0
- package/dist/serialization/types/BillingSubscriptionDiscount.d.ts +2 -5
- package/dist/serialization/types/BillingSubscriptionDiscountView.d.ts +2 -5
- package/dist/serialization/types/BillingSubscriptionResponseData.d.ts +4 -5
- package/dist/serialization/types/BillingSubscriptionTrialEndSetting.d.ts +2 -5
- package/dist/serialization/types/BillingSubscriptionView.d.ts +6 -7
- package/dist/serialization/types/BillingTiersMode.d.ts +2 -5
- package/dist/serialization/types/ChangeSubscriptionInternalRequestBody.d.ts +2 -5
- package/dist/serialization/types/ChangeSubscriptionRequestBody.d.ts +2 -5
- package/dist/serialization/types/ChargeType.d.ts +2 -5
- package/dist/serialization/types/CheckFlagRequestBody.d.ts +2 -5
- package/dist/serialization/types/CheckFlagResponseData.d.ts +2 -5
- package/dist/serialization/types/CheckFlagsBulkResponseData.d.ts +2 -5
- package/dist/serialization/types/CheckFlagsResponseData.d.ts +2 -5
- package/dist/serialization/types/CheckoutDataResponseData.d.ts +6 -9
- package/dist/serialization/types/CheckoutSettingsResponseData.d.ts +2 -5
- package/dist/serialization/types/CheckoutSubscription.d.ts +4 -5
- package/dist/serialization/types/CompanyDetailResponseData.d.ts +6 -9
- package/dist/serialization/types/CompanyEventPeriodMetricsResponseData.d.ts +2 -5
- package/dist/serialization/types/CompanyLedgerResponseData.d.ts +2 -5
- package/dist/serialization/types/CompanyMembershipDetailResponseData.d.ts +2 -5
- package/dist/serialization/types/CompanyMembershipResponseData.d.ts +2 -5
- package/dist/serialization/types/CompanyOverrideNoteResponseData.d.ts +2 -5
- package/dist/serialization/types/CompanyOverrideResponseData.d.ts +4 -7
- package/dist/serialization/types/CompanyPlanDetailResponseData.d.ts +9 -10
- package/dist/serialization/types/CompanyPlanInvalidReason.d.ts +2 -5
- package/dist/serialization/types/CompanyPlanWithBillingSubView.d.ts +3 -5
- package/dist/serialization/types/CompanyResponseData.d.ts +2 -5
- package/dist/serialization/types/CompanySubscriptionResponseData.d.ts +3 -6
- package/dist/serialization/types/CompanyViewWithFeatureUsageResponseData.d.ts +6 -9
- package/dist/serialization/types/CompatiblePlans.d.ts +2 -5
- package/dist/serialization/types/CompatiblePlansResponseData.d.ts +2 -5
- package/dist/serialization/types/ComponentCapabilities.d.ts +2 -5
- package/dist/serialization/types/ComponentCheckoutSettings.d.ts +2 -5
- package/dist/serialization/types/ComponentDisplaySettings.d.ts +2 -5
- package/dist/serialization/types/ComponentEntityType.d.ts +2 -5
- package/dist/serialization/types/ComponentHydrateResponseData.d.ts +9 -12
- package/dist/serialization/types/ComponentPreviewResponseData.d.ts +8 -11
- package/dist/serialization/types/ComponentResponseData.d.ts +3 -6
- package/dist/serialization/types/ComponentSettingsResponseData.d.ts +2 -5
- package/dist/serialization/types/ComponentState.d.ts +2 -5
- package/dist/serialization/types/Condition.d.ts +3 -6
- package/dist/serialization/types/ConditionConditionType.d.ts +2 -5
- package/dist/serialization/types/ConditionGroup.d.ts +2 -5
- package/dist/serialization/types/ConditionMetricPeriod.d.ts +2 -5
- package/dist/serialization/types/ConditionMetricPeriodMonthReset.d.ts +2 -5
- package/dist/serialization/types/ConditionOperator.d.ts +2 -5
- package/dist/serialization/types/CountResponse.d.ts +2 -5
- package/dist/serialization/types/CouponRequestBody.d.ts +2 -5
- package/dist/serialization/{resources/credits/client/requests → types}/CreateBillingPlanCreditGrantRequestBody.d.ts +10 -13
- package/dist/serialization/types/CreateBillingPriceTierRequestBody.d.ts +4 -5
- package/dist/serialization/types/CreateEntitlementInBundleRequestBody.d.ts +39 -0
- package/dist/serialization/types/CreateEntitlementInBundleRequestBodyMetricPeriod.d.ts +7 -0
- package/dist/serialization/types/CreateEntitlementInBundleRequestBodyMetricPeriodMonthReset.d.ts +7 -0
- package/dist/serialization/types/CreateEntitlementReqCommon.d.ts +2 -5
- package/dist/serialization/types/CreateEntitlementReqCommonMetricPeriod.d.ts +2 -5
- package/dist/serialization/types/CreateEntitlementReqCommonMetricPeriodMonthReset.d.ts +2 -5
- package/dist/serialization/types/CreateEventRequestBody.d.ts +2 -5
- package/dist/serialization/types/CreateFlagRequestBody.d.ts +2 -5
- package/dist/serialization/types/CreateOrUpdateConditionGroupRequestBody.d.ts +2 -5
- package/dist/serialization/types/CreateOrUpdateConditionRequestBody.d.ts +2 -5
- package/dist/serialization/types/CreateOrUpdateConditionRequestBodyConditionType.d.ts +3 -6
- package/dist/serialization/types/CreateOrUpdateConditionRequestBodyMetricPeriod.d.ts +2 -5
- package/dist/serialization/types/CreateOrUpdateConditionRequestBodyMetricPeriodMonthReset.d.ts +2 -5
- package/dist/serialization/types/CreateOrUpdateConditionRequestBodyOperator.d.ts +2 -5
- package/dist/serialization/types/CreateOrUpdateFlagRequestBody.d.ts +2 -5
- package/dist/serialization/types/CreateOrUpdateRuleRequestBody.d.ts +2 -5
- package/dist/serialization/types/CreateOrUpdateRuleRequestBodyRuleType.d.ts +2 -5
- package/dist/serialization/types/CreatePlanRequestBody.d.ts +13 -0
- package/dist/serialization/types/CreatePriceTierRequestBody.d.ts +2 -5
- package/dist/serialization/types/CreditAutoTopupAmountType.d.ts +2 -5
- package/dist/serialization/types/CreditBundlePurchaseResponseData.d.ts +2 -5
- package/dist/serialization/types/CreditCompanyGrantView.d.ts +9 -6
- package/dist/serialization/types/CreditGrantDetail.d.ts +2 -5
- package/dist/serialization/types/CreditGrantExpiryRequestBody.d.ts +2 -5
- package/dist/serialization/types/CreditGrantSortOrder.d.ts +2 -5
- package/dist/serialization/types/CreditLedgerEnrichedEntryResponseData.d.ts +3 -6
- package/dist/serialization/types/CreditLedgerPeriod.d.ts +2 -5
- package/dist/serialization/types/CreditTransferResponseData.d.ts +14 -0
- package/dist/serialization/types/CreditTransferView.d.ts +14 -0
- package/dist/serialization/types/CreditTriggerConfig.d.ts +2 -5
- package/dist/serialization/types/CreditUsage.d.ts +4 -5
- package/dist/serialization/types/CreditUsageAggregation.d.ts +12 -0
- package/dist/serialization/types/CreditUsageResponseData.d.ts +2 -5
- package/dist/serialization/types/CustomPlanConfig.d.ts +2 -5
- package/dist/serialization/types/CustomPlanViewConfigResponseData.d.ts +2 -5
- package/dist/serialization/types/DataExportOutputFileType.d.ts +2 -5
- package/dist/serialization/types/DataExportResponseData.d.ts +3 -6
- package/dist/serialization/types/DataExportStatus.d.ts +2 -5
- package/dist/serialization/types/DataExportType.d.ts +2 -5
- package/dist/serialization/types/DeleteBillingPlanCreditGrantRequestBody.d.ts +9 -0
- package/dist/serialization/types/DeleteResponse.d.ts +2 -5
- package/dist/serialization/types/DuplicatePlanEntitlementsResponseResponseData.d.ts +2 -5
- package/dist/serialization/types/EntitlementPriceBehavior.d.ts +2 -5
- package/dist/serialization/types/EntitlementTriggerConfig.d.ts +2 -5
- package/dist/serialization/types/EntitlementType.d.ts +2 -5
- package/dist/serialization/types/EntitlementValueType.d.ts +2 -5
- package/dist/serialization/types/EntitlementsInPlan.d.ts +2 -5
- package/dist/serialization/types/EntityKeyDefinitionResponseData.d.ts +2 -5
- package/dist/serialization/types/EntityKeyDetailResponseData.d.ts +2 -5
- package/dist/serialization/types/EntityKeyResponseData.d.ts +2 -5
- package/dist/serialization/types/EntityTraitDefinitionResponseData.d.ts +2 -5
- package/dist/serialization/types/EntityTraitDetailResponseData.d.ts +2 -5
- package/dist/serialization/types/EntityTraitResponseData.d.ts +2 -5
- package/dist/serialization/types/EntityTraitValue.d.ts +2 -5
- package/dist/serialization/types/EntityType.d.ts +2 -5
- package/dist/serialization/types/EnvironmentDetailResponseData.d.ts +2 -5
- package/dist/serialization/types/EnvironmentResponseData.d.ts +2 -5
- package/dist/serialization/types/EnvironmentType.d.ts +2 -5
- package/dist/serialization/types/EventBody.d.ts +3 -6
- package/dist/serialization/types/EventBodyFlagCheck.d.ts +2 -5
- package/dist/serialization/types/EventBodyIdentify.d.ts +2 -5
- package/dist/serialization/types/EventBodyIdentifyCompany.d.ts +2 -5
- package/dist/serialization/types/EventBodyTrack.d.ts +2 -5
- package/dist/serialization/types/EventDetailResponseData.d.ts +4 -7
- package/dist/serialization/types/EventResponseData.d.ts +3 -6
- package/dist/serialization/types/EventStatus.d.ts +2 -5
- package/dist/serialization/types/EventSummaryResponseData.d.ts +2 -5
- package/dist/serialization/types/EventType.d.ts +2 -5
- package/dist/serialization/types/FeatureCompanyResponseData.d.ts +9 -10
- package/dist/serialization/types/FeatureCompanyUserResponseData.d.ts +3 -6
- package/dist/serialization/types/FeatureDetailResponseData.d.ts +4 -7
- package/dist/serialization/types/FeatureLedgerResponseData.d.ts +2 -5
- package/dist/serialization/types/FeatureLifecyclePhase.d.ts +2 -5
- package/dist/serialization/types/FeatureResponseData.d.ts +3 -6
- package/dist/serialization/types/FeatureType.d.ts +2 -5
- package/dist/serialization/types/FeatureUsageDataResponseData.d.ts +3 -6
- package/dist/serialization/types/FeatureUsageDetailResponseData.d.ts +2 -5
- package/dist/serialization/types/FeatureUsageResponseData.d.ts +9 -10
- package/dist/serialization/types/FlagDetailResponseData.d.ts +2 -5
- package/dist/serialization/types/FlagResponseData.d.ts +2 -5
- package/dist/serialization/types/FlagType.d.ts +2 -5
- package/dist/serialization/types/GenericPreviewObject.d.ts +2 -5
- package/dist/serialization/types/InvoiceRequestBody.d.ts +2 -5
- package/dist/serialization/types/InvoiceResponseData.d.ts +4 -5
- package/dist/serialization/types/IssueTemporaryAccessTokenResponseData.d.ts +2 -5
- package/dist/serialization/types/KeysRequestBody.d.ts +2 -5
- package/dist/serialization/types/ManagePlanPreviewResponseResponseData.d.ts +2 -5
- package/dist/serialization/types/ManagePlanRequest.d.ts +2 -5
- package/dist/serialization/types/ManagePlanResponseResponseData.d.ts +2 -5
- package/dist/serialization/types/MeterRequestBody.d.ts +2 -5
- package/dist/serialization/types/OrderedPlansInGroup.d.ts +2 -5
- package/dist/serialization/types/PaymentMethodRequestBody.d.ts +2 -5
- package/dist/serialization/types/PaymentMethodResponseData.d.ts +4 -5
- package/dist/serialization/types/PlanBundleAction.d.ts +7 -0
- package/dist/serialization/types/PlanBundleCreditGrantRequestBody.d.ts +17 -0
- package/dist/serialization/types/PlanBundleEntitlementRequestBody.d.ts +13 -0
- package/dist/serialization/types/PlanBundleResponseData.d.ts +18 -0
- package/dist/serialization/types/PlanChangeAction.d.ts +2 -5
- package/dist/serialization/types/PlanChangeActorType.d.ts +2 -5
- package/dist/serialization/types/PlanChangeBasePlanAction.d.ts +2 -5
- package/dist/serialization/types/PlanChangeResponseData.d.ts +6 -9
- package/dist/serialization/types/PlanChangeSubscriptionAction.d.ts +3 -6
- package/dist/serialization/types/PlanControlledByType.d.ts +2 -5
- package/dist/serialization/types/PlanCreditGrantView.d.ts +2 -5
- package/dist/serialization/types/PlanDetailResponseData.d.ts +7 -8
- package/dist/serialization/types/PlanEntitlementResponseData.d.ts +7 -10
- package/dist/serialization/types/PlanEntitlementsOrder.d.ts +2 -5
- package/dist/serialization/types/PlanGroupBundleOrder.d.ts +2 -5
- package/dist/serialization/types/PlanGroupDetailResponseData.d.ts +5 -8
- package/dist/serialization/types/PlanGroupPlanDetailResponseData.d.ts +8 -9
- package/dist/serialization/types/PlanGroupPlanEntitlementsOrder.d.ts +2 -5
- package/dist/serialization/types/PlanGroupResponseData.d.ts +3 -6
- package/dist/serialization/types/PlanIssueResponseData.d.ts +2 -5
- package/dist/serialization/types/PlanResponseData.d.ts +2 -5
- package/dist/serialization/types/PlanSelection.d.ts +2 -5
- package/dist/serialization/types/PlanSnapshotView.d.ts +2 -5
- package/dist/serialization/types/PlanTraitResponseData.d.ts +2 -5
- package/dist/serialization/types/PlanType.d.ts +2 -5
- package/dist/serialization/types/PlanVersionResponseData.d.ts +21 -0
- package/dist/serialization/types/PlanVersionStatus.d.ts +7 -0
- package/dist/serialization/types/PreviewObject.d.ts +2 -5
- package/dist/serialization/types/PreviewObjectResponseData.d.ts +2 -5
- package/dist/serialization/types/PreviewSubscriptionChangeResponseData.d.ts +3 -6
- package/dist/serialization/types/PreviewSubscriptionFinanceResponseData.d.ts +2 -5
- package/dist/serialization/types/PreviewSubscriptionUpcomingInvoiceLineItems.d.ts +2 -5
- package/dist/serialization/types/ProrationBehavior.d.ts +2 -5
- package/dist/serialization/types/QuickstartResp.d.ts +2 -5
- package/dist/serialization/types/RawEventBatchResponseData.d.ts +2 -5
- package/dist/serialization/types/RawEventResponseData.d.ts +3 -6
- package/dist/serialization/types/Rule.d.ts +3 -6
- package/dist/serialization/types/RuleConditionDetailResponseData.d.ts +3 -6
- package/dist/serialization/types/RuleConditionGroupDetailResponseData.d.ts +2 -5
- package/dist/serialization/types/RuleConditionGroupResponseData.d.ts +2 -5
- package/dist/serialization/types/RuleConditionResponseData.d.ts +2 -5
- package/dist/serialization/types/RuleDetailResponseData.d.ts +3 -6
- package/dist/serialization/types/RuleResponseData.d.ts +2 -5
- package/dist/serialization/types/RuleRuleType.d.ts +2 -5
- package/dist/serialization/types/RulesDetailResponseData.d.ts +2 -5
- package/dist/serialization/types/RulesEngineSchemaVersion.d.ts +2 -5
- package/dist/serialization/types/RulesengineCheckFlagResult.d.ts +2 -5
- package/dist/serialization/types/RulesengineCheckFlagResultFeatureUsagePeriod.d.ts +2 -5
- package/dist/serialization/types/RulesengineCheckFlagResultRuleType.d.ts +2 -5
- package/dist/serialization/types/RulesengineCompany.d.ts +2 -5
- package/dist/serialization/types/RulesengineCompanyMetric.d.ts +2 -5
- package/dist/serialization/types/RulesengineCompanyMetricMonthReset.d.ts +2 -5
- package/dist/serialization/types/RulesengineCompanyMetricPeriod.d.ts +2 -5
- package/dist/serialization/types/RulesengineCondition.d.ts +3 -6
- package/dist/serialization/types/RulesengineConditionConditionType.d.ts +2 -5
- package/dist/serialization/types/RulesengineConditionGroup.d.ts +2 -5
- package/dist/serialization/types/RulesengineConditionMetricPeriod.d.ts +2 -5
- package/dist/serialization/types/RulesengineConditionMetricPeriodMonthReset.d.ts +2 -5
- package/dist/serialization/types/RulesengineConditionOperator.d.ts +2 -5
- package/dist/serialization/types/RulesengineEntityType.d.ts +2 -5
- package/dist/serialization/types/RulesengineFlag.d.ts +2 -5
- package/dist/serialization/types/RulesengineRule.d.ts +3 -6
- package/dist/serialization/types/RulesengineRuleRuleType.d.ts +2 -5
- package/dist/serialization/types/RulesengineSubscription.d.ts +2 -5
- package/dist/serialization/types/RulesengineTrait.d.ts +2 -5
- package/dist/serialization/types/RulesengineTraitDefinition.d.ts +3 -6
- package/dist/serialization/types/RulesengineTraitDefinitionComparableType.d.ts +2 -5
- package/dist/serialization/types/RulesengineUser.d.ts +2 -5
- package/dist/serialization/types/SegmentStatusResp.d.ts +2 -5
- package/dist/serialization/types/SkippedEntitlementErrorResponseData.d.ts +2 -5
- package/dist/serialization/types/SkippedEntitlementResponseData.d.ts +2 -5
- package/dist/serialization/types/SortDirection.d.ts +2 -5
- package/dist/serialization/types/StripeEmbedInfo.d.ts +2 -5
- package/dist/serialization/types/SubscriptionStatus.d.ts +2 -5
- package/dist/serialization/types/SubscriptionTraitUpdate.d.ts +2 -5
- package/dist/serialization/types/SubscriptionType.d.ts +2 -5
- package/dist/serialization/types/TemporaryAccessTokenResourceType.d.ts +2 -5
- package/dist/serialization/types/TemporaryAccessTokenResponseData.d.ts +2 -5
- package/dist/serialization/types/TraitDefinition.d.ts +3 -6
- package/dist/serialization/types/TraitDefinitionComparableType.d.ts +2 -5
- package/dist/serialization/types/TraitType.d.ts +2 -5
- package/dist/serialization/types/UpdateAddOnRequestBody.d.ts +2 -5
- package/dist/serialization/{resources/credits/client/requests → types}/UpdateBillingPlanCreditGrantRequestBody.d.ts +10 -13
- package/dist/serialization/types/UpdateCreditBundleRequestBody.d.ts +2 -5
- package/dist/serialization/types/UpdateEntitlementReqCommon.d.ts +3 -6
- package/dist/serialization/types/UpdateEntitlementReqCommonMetricPeriod.d.ts +2 -5
- package/dist/serialization/types/UpdateEntitlementReqCommonMetricPeriodMonthReset.d.ts +2 -5
- package/dist/serialization/types/UpdatePayInAdvanceRequestBody.d.ts +2 -5
- package/dist/serialization/types/UpdatePlanRequestBody.d.ts +11 -0
- package/dist/serialization/types/UpdatePlanTraitTraitRequestBody.d.ts +2 -5
- package/dist/serialization/types/UpdateRuleRequestBody.d.ts +2 -5
- package/dist/serialization/{resources/plans/client/requests → types}/UpsertBillingProductRequestBody.d.ts +5 -8
- package/dist/serialization/types/UpsertCompanyRequestBody.d.ts +2 -5
- package/dist/serialization/types/UpsertTraitRequestBody.d.ts +2 -5
- package/dist/serialization/types/UpsertUserRequestBody.d.ts +2 -5
- package/dist/serialization/types/UpsertUserSubRequestBody.d.ts +2 -5
- package/dist/serialization/types/UsageBasedEntitlementRequestBody.d.ts +3 -6
- package/dist/serialization/types/UsageBasedEntitlementResponseData.d.ts +2 -5
- package/dist/serialization/types/UserDetailResponseData.d.ts +3 -6
- package/dist/serialization/types/UserResponseData.d.ts +2 -5
- package/dist/serialization/types/WebhookEventDetailResponseData.d.ts +3 -6
- package/dist/serialization/types/WebhookEventResponseData.d.ts +3 -6
- package/dist/serialization/types/WebhookEventStatus.d.ts +2 -5
- package/dist/serialization/types/WebhookRequestType.d.ts +3 -6
- package/dist/serialization/types/WebhookResponseData.d.ts +2 -5
- package/dist/serialization/types/WebhookStatus.d.ts +2 -5
- package/dist/serialization/types/index.d.ts +39 -26
- package/dist/wrapper.d.ts +10 -1
- package/package.json +23 -10
- package/dist/api/resources/companies/client/requests/GetActiveDealsRequest.d.ts +0 -24
- package/dist/api/resources/companies/types/GetActiveDealsParams.d.ts +0 -14
- package/dist/api/resources/companies/types/GetActiveDealsResponse.d.ts +0 -9
- package/dist/api/resources/crm/client/Client.d.ts +0 -133
- package/dist/api/resources/crm/client/requests/CreateCrmDealLineItemAssociationRequestBody.d.ts +0 -14
- package/dist/api/resources/crm/client/requests/CreateCrmDealRequestBody.d.ts +0 -22
- package/dist/api/resources/crm/client/requests/CreateCrmLineItemRequestBody.d.ts +0 -23
- package/dist/api/resources/crm/client/requests/CreateCrmProductRequestBody.d.ts +0 -26
- package/dist/api/resources/crm/client/requests/ListCrmProductsRequest.d.ts +0 -23
- package/dist/api/resources/crm/client/requests/index.d.ts +0 -5
- package/dist/api/resources/crm/types/ListCrmProductsParams.d.ts +0 -14
- package/dist/api/resources/crm/types/ListCrmProductsResponse.d.ts +0 -9
- package/dist/api/resources/crm/types/UpsertCrmDealResponse.d.ts +0 -9
- package/dist/api/resources/crm/types/UpsertCrmProductResponse.d.ts +0 -9
- package/dist/api/resources/crm/types/UpsertDealLineItemAssociationResponse.d.ts +0 -9
- package/dist/api/resources/crm/types/UpsertLineItemResponse.d.ts +0 -9
- package/dist/api/resources/crm/types/index.d.ts +0 -6
- package/dist/api/resources/plans/client/requests/CreatePlanRequestBody.d.ts +0 -18
- package/dist/api/resources/plans/client/requests/UpdatePlanRequestBody.d.ts +0 -14
- package/dist/api/types/CompanyCrmDealsResponseData.d.ts +0 -11
- package/dist/api/types/CrmDealLineItem.d.ts +0 -18
- package/dist/api/types/CrmDealResponseData.d.ts +0 -16
- package/dist/api/types/CrmLineItemResponseData.d.ts +0 -11
- package/dist/api/types/CrmProductResponseData.d.ts +0 -15
- package/dist/api/types/Decimal.d.ts +0 -4
- package/dist/serialization/resources/companies/types/GetActiveDealsParams.d.ts +0 -15
- package/dist/serialization/resources/companies/types/GetActiveDealsResponse.d.ts +0 -15
- package/dist/serialization/resources/crm/client/requests/CreateCrmDealLineItemAssociationRequestBody.d.ts +0 -13
- package/dist/serialization/resources/crm/client/requests/CreateCrmDealRequestBody.d.ts +0 -20
- package/dist/serialization/resources/crm/client/requests/CreateCrmLineItemRequestBody.d.ts +0 -19
- package/dist/serialization/resources/crm/client/requests/CreateCrmProductRequestBody.d.ts +0 -19
- package/dist/serialization/resources/crm/client/requests/index.d.ts +0 -4
- package/dist/serialization/resources/crm/types/ListCrmProductsParams.d.ts +0 -15
- package/dist/serialization/resources/crm/types/ListCrmProductsResponse.d.ts +0 -15
- package/dist/serialization/resources/crm/types/UpsertCrmDealResponse.d.ts +0 -14
- package/dist/serialization/resources/crm/types/UpsertCrmProductResponse.d.ts +0 -14
- package/dist/serialization/resources/crm/types/UpsertDealLineItemAssociationResponse.d.ts +0 -14
- package/dist/serialization/resources/crm/types/UpsertLineItemResponse.d.ts +0 -14
- package/dist/serialization/resources/crm/types/index.d.ts +0 -6
- package/dist/serialization/resources/plans/client/requests/CreatePlanRequestBody.d.ts +0 -16
- package/dist/serialization/resources/plans/client/requests/UpdatePlanRequestBody.d.ts +0 -14
- package/dist/serialization/types/CompanyCrmDealsResponseData.d.ts +0 -17
- package/dist/serialization/types/CrmDealLineItem.d.ts +0 -24
- package/dist/serialization/types/CrmDealResponseData.d.ts +0 -22
- package/dist/serialization/types/CrmLineItemResponseData.d.ts +0 -17
- package/dist/serialization/types/CrmProductResponseData.d.ts +0 -21
- package/dist/serialization/types/Decimal.d.ts +0 -10
- package/dist/api/resources/{crm → planbundle}/client/index.d.ts +0 -0
- package/dist/{serialization/resources/crm → api/resources/planbundle}/index.d.ts +1 -1
- package/dist/serialization/resources/{crm → planbundle}/client/index.d.ts +0 -0
- package/dist/{api/resources/crm → serialization/resources/planbundle}/index.d.ts +1 -1
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
-
*/
|
|
4
|
-
/**
|
|
5
|
-
* @example
|
|
6
|
-
* {
|
|
7
|
-
* companyId: "company_id",
|
|
8
|
-
* dealStage: "deal_stage",
|
|
9
|
-
* limit: 1,
|
|
10
|
-
* offset: 1
|
|
11
|
-
* }
|
|
12
|
-
*/
|
|
13
|
-
export interface GetActiveDealsRequest {
|
|
14
|
-
companyId: string;
|
|
15
|
-
dealStage: string;
|
|
16
|
-
/**
|
|
17
|
-
* Page limit (default 100)
|
|
18
|
-
*/
|
|
19
|
-
limit?: number;
|
|
20
|
-
/**
|
|
21
|
-
* Page offset (default 0)
|
|
22
|
-
*/
|
|
23
|
-
offset?: number;
|
|
24
|
-
}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
-
*/
|
|
4
|
-
/**
|
|
5
|
-
* Input parameters
|
|
6
|
-
*/
|
|
7
|
-
export interface GetActiveDealsParams {
|
|
8
|
-
companyId?: string;
|
|
9
|
-
dealStage?: string;
|
|
10
|
-
/** Page limit (default 100) */
|
|
11
|
-
limit?: number;
|
|
12
|
-
/** Page offset (default 0) */
|
|
13
|
-
offset?: number;
|
|
14
|
-
}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
-
*/
|
|
4
|
-
import * as Schematic from "../../../index";
|
|
5
|
-
export interface GetActiveDealsResponse {
|
|
6
|
-
data: Schematic.CompanyCrmDealsResponseData[];
|
|
7
|
-
/** Input parameters */
|
|
8
|
-
params: Schematic.GetActiveDealsParams;
|
|
9
|
-
}
|
|
@@ -1,133 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
-
*/
|
|
4
|
-
import * as environments from "../../../../environments";
|
|
5
|
-
import * as core from "../../../../core";
|
|
6
|
-
import * as Schematic from "../../../index";
|
|
7
|
-
export declare namespace Crm {
|
|
8
|
-
interface Options {
|
|
9
|
-
environment?: core.Supplier<environments.SchematicEnvironment | string>;
|
|
10
|
-
/** Specify a custom URL to connect the client to. */
|
|
11
|
-
baseUrl?: core.Supplier<string>;
|
|
12
|
-
apiKey?: core.Supplier<string | undefined>;
|
|
13
|
-
fetcher?: core.FetchFunction;
|
|
14
|
-
}
|
|
15
|
-
interface RequestOptions {
|
|
16
|
-
/** The maximum time to wait for a response in seconds. */
|
|
17
|
-
timeoutInSeconds?: number;
|
|
18
|
-
/** The number of times to retry the request. Defaults to 2. */
|
|
19
|
-
maxRetries?: number;
|
|
20
|
-
/** A hook to abort the request. */
|
|
21
|
-
abortSignal?: AbortSignal;
|
|
22
|
-
/** Additional headers to include in the request. */
|
|
23
|
-
headers?: Record<string, string>;
|
|
24
|
-
}
|
|
25
|
-
}
|
|
26
|
-
export declare class Crm {
|
|
27
|
-
protected readonly _options: Crm.Options;
|
|
28
|
-
constructor(_options?: Crm.Options);
|
|
29
|
-
/**
|
|
30
|
-
* @param {Schematic.CreateCrmDealLineItemAssociationRequestBody} request
|
|
31
|
-
* @param {Crm.RequestOptions} requestOptions - Request-specific configuration.
|
|
32
|
-
*
|
|
33
|
-
* @throws {@link Schematic.BadRequestError}
|
|
34
|
-
* @throws {@link Schematic.UnauthorizedError}
|
|
35
|
-
* @throws {@link Schematic.ForbiddenError}
|
|
36
|
-
* @throws {@link Schematic.NotFoundError}
|
|
37
|
-
* @throws {@link Schematic.InternalServerError}
|
|
38
|
-
*
|
|
39
|
-
* @example
|
|
40
|
-
* await client.crm.upsertDealLineItemAssociation({
|
|
41
|
-
* dealExternalId: "deal_external_id",
|
|
42
|
-
* lineItemExternalId: "line_item_external_id"
|
|
43
|
-
* })
|
|
44
|
-
*/
|
|
45
|
-
upsertDealLineItemAssociation(request: Schematic.CreateCrmDealLineItemAssociationRequestBody, requestOptions?: Crm.RequestOptions): core.HttpResponsePromise<Schematic.UpsertDealLineItemAssociationResponse>;
|
|
46
|
-
private __upsertDealLineItemAssociation;
|
|
47
|
-
/**
|
|
48
|
-
* @param {Schematic.CreateCrmLineItemRequestBody} request
|
|
49
|
-
* @param {Crm.RequestOptions} requestOptions - Request-specific configuration.
|
|
50
|
-
*
|
|
51
|
-
* @throws {@link Schematic.BadRequestError}
|
|
52
|
-
* @throws {@link Schematic.UnauthorizedError}
|
|
53
|
-
* @throws {@link Schematic.ForbiddenError}
|
|
54
|
-
* @throws {@link Schematic.NotFoundError}
|
|
55
|
-
* @throws {@link Schematic.InternalServerError}
|
|
56
|
-
*
|
|
57
|
-
* @example
|
|
58
|
-
* await client.crm.upsertLineItem({
|
|
59
|
-
* amount: "amount",
|
|
60
|
-
* interval: "interval",
|
|
61
|
-
* lineItemExternalId: "line_item_external_id",
|
|
62
|
-
* productExternalId: "product_external_id",
|
|
63
|
-
* quantity: 1
|
|
64
|
-
* })
|
|
65
|
-
*/
|
|
66
|
-
upsertLineItem(request: Schematic.CreateCrmLineItemRequestBody, requestOptions?: Crm.RequestOptions): core.HttpResponsePromise<Schematic.UpsertLineItemResponse>;
|
|
67
|
-
private __upsertLineItem;
|
|
68
|
-
/**
|
|
69
|
-
* @param {Schematic.CreateCrmDealRequestBody} request
|
|
70
|
-
* @param {Crm.RequestOptions} requestOptions - Request-specific configuration.
|
|
71
|
-
*
|
|
72
|
-
* @throws {@link Schematic.BadRequestError}
|
|
73
|
-
* @throws {@link Schematic.UnauthorizedError}
|
|
74
|
-
* @throws {@link Schematic.ForbiddenError}
|
|
75
|
-
* @throws {@link Schematic.NotFoundError}
|
|
76
|
-
* @throws {@link Schematic.InternalServerError}
|
|
77
|
-
*
|
|
78
|
-
* @example
|
|
79
|
-
* await client.crm.upsertCrmDeal({
|
|
80
|
-
* crmCompanyKey: "crm_company_key",
|
|
81
|
-
* crmType: "crm_type",
|
|
82
|
-
* dealExternalId: "deal_external_id"
|
|
83
|
-
* })
|
|
84
|
-
*/
|
|
85
|
-
upsertCrmDeal(request: Schematic.CreateCrmDealRequestBody, requestOptions?: Crm.RequestOptions): core.HttpResponsePromise<Schematic.UpsertCrmDealResponse>;
|
|
86
|
-
private __upsertCrmDeal;
|
|
87
|
-
/**
|
|
88
|
-
* @param {Schematic.ListCrmProductsRequest} request
|
|
89
|
-
* @param {Crm.RequestOptions} requestOptions - Request-specific configuration.
|
|
90
|
-
*
|
|
91
|
-
* @throws {@link Schematic.BadRequestError}
|
|
92
|
-
* @throws {@link Schematic.UnauthorizedError}
|
|
93
|
-
* @throws {@link Schematic.ForbiddenError}
|
|
94
|
-
* @throws {@link Schematic.NotFoundError}
|
|
95
|
-
* @throws {@link Schematic.InternalServerError}
|
|
96
|
-
*
|
|
97
|
-
* @example
|
|
98
|
-
* await client.crm.listCrmProducts({
|
|
99
|
-
* name: "name",
|
|
100
|
-
* limit: 1,
|
|
101
|
-
* offset: 1
|
|
102
|
-
* })
|
|
103
|
-
*/
|
|
104
|
-
listCrmProducts(request?: Schematic.ListCrmProductsRequest, requestOptions?: Crm.RequestOptions): core.HttpResponsePromise<Schematic.ListCrmProductsResponse>;
|
|
105
|
-
private __listCrmProducts;
|
|
106
|
-
/**
|
|
107
|
-
* @param {Schematic.CreateCrmProductRequestBody} request
|
|
108
|
-
* @param {Crm.RequestOptions} requestOptions - Request-specific configuration.
|
|
109
|
-
*
|
|
110
|
-
* @throws {@link Schematic.BadRequestError}
|
|
111
|
-
* @throws {@link Schematic.UnauthorizedError}
|
|
112
|
-
* @throws {@link Schematic.ForbiddenError}
|
|
113
|
-
* @throws {@link Schematic.NotFoundError}
|
|
114
|
-
* @throws {@link Schematic.InternalServerError}
|
|
115
|
-
*
|
|
116
|
-
* @example
|
|
117
|
-
* await client.crm.upsertCrmProduct({
|
|
118
|
-
* currency: "currency",
|
|
119
|
-
* description: "description",
|
|
120
|
-
* externalId: "external_id",
|
|
121
|
-
* interval: "interval",
|
|
122
|
-
* name: "name",
|
|
123
|
-
* price: "price",
|
|
124
|
-
* quantity: 1,
|
|
125
|
-
* sku: "sku"
|
|
126
|
-
* })
|
|
127
|
-
*/
|
|
128
|
-
upsertCrmProduct(request: Schematic.CreateCrmProductRequestBody, requestOptions?: Crm.RequestOptions): core.HttpResponsePromise<Schematic.UpsertCrmProductResponse>;
|
|
129
|
-
private __upsertCrmProduct;
|
|
130
|
-
protected _getCustomAuthorizationHeaders(): Promise<{
|
|
131
|
-
"X-Schematic-Api-Key": string | undefined;
|
|
132
|
-
}>;
|
|
133
|
-
}
|
package/dist/api/resources/crm/client/requests/CreateCrmDealLineItemAssociationRequestBody.d.ts
DELETED
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
-
*/
|
|
4
|
-
/**
|
|
5
|
-
* @example
|
|
6
|
-
* {
|
|
7
|
-
* dealExternalId: "deal_external_id",
|
|
8
|
-
* lineItemExternalId: "line_item_external_id"
|
|
9
|
-
* }
|
|
10
|
-
*/
|
|
11
|
-
export interface CreateCrmDealLineItemAssociationRequestBody {
|
|
12
|
-
dealExternalId: string;
|
|
13
|
-
lineItemExternalId: string;
|
|
14
|
-
}
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
-
*/
|
|
4
|
-
/**
|
|
5
|
-
* @example
|
|
6
|
-
* {
|
|
7
|
-
* crmCompanyKey: "crm_company_key",
|
|
8
|
-
* crmType: "crm_type",
|
|
9
|
-
* dealExternalId: "deal_external_id"
|
|
10
|
-
* }
|
|
11
|
-
*/
|
|
12
|
-
export interface CreateCrmDealRequestBody {
|
|
13
|
-
arr?: string;
|
|
14
|
-
crmCompanyId?: string;
|
|
15
|
-
crmCompanyKey: string;
|
|
16
|
-
crmProductId?: string;
|
|
17
|
-
crmType: string;
|
|
18
|
-
dealExternalId: string;
|
|
19
|
-
dealName?: string;
|
|
20
|
-
dealStage?: string;
|
|
21
|
-
mrr?: string;
|
|
22
|
-
}
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
-
*/
|
|
4
|
-
/**
|
|
5
|
-
* @example
|
|
6
|
-
* {
|
|
7
|
-
* amount: "amount",
|
|
8
|
-
* interval: "interval",
|
|
9
|
-
* lineItemExternalId: "line_item_external_id",
|
|
10
|
-
* productExternalId: "product_external_id",
|
|
11
|
-
* quantity: 1
|
|
12
|
-
* }
|
|
13
|
-
*/
|
|
14
|
-
export interface CreateCrmLineItemRequestBody {
|
|
15
|
-
amount: string;
|
|
16
|
-
discountPercentage?: string;
|
|
17
|
-
interval: string;
|
|
18
|
-
lineItemExternalId: string;
|
|
19
|
-
productExternalId: string;
|
|
20
|
-
quantity: number;
|
|
21
|
-
termMonth?: number;
|
|
22
|
-
totalDiscount?: string;
|
|
23
|
-
}
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
-
*/
|
|
4
|
-
/**
|
|
5
|
-
* @example
|
|
6
|
-
* {
|
|
7
|
-
* currency: "currency",
|
|
8
|
-
* description: "description",
|
|
9
|
-
* externalId: "external_id",
|
|
10
|
-
* interval: "interval",
|
|
11
|
-
* name: "name",
|
|
12
|
-
* price: "price",
|
|
13
|
-
* quantity: 1,
|
|
14
|
-
* sku: "sku"
|
|
15
|
-
* }
|
|
16
|
-
*/
|
|
17
|
-
export interface CreateCrmProductRequestBody {
|
|
18
|
-
currency: string;
|
|
19
|
-
description: string;
|
|
20
|
-
externalId: string;
|
|
21
|
-
interval: string;
|
|
22
|
-
name: string;
|
|
23
|
-
price: string;
|
|
24
|
-
quantity: number;
|
|
25
|
-
sku: string;
|
|
26
|
-
}
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
-
*/
|
|
4
|
-
/**
|
|
5
|
-
* @example
|
|
6
|
-
* {
|
|
7
|
-
* name: "name",
|
|
8
|
-
* limit: 1,
|
|
9
|
-
* offset: 1
|
|
10
|
-
* }
|
|
11
|
-
*/
|
|
12
|
-
export interface ListCrmProductsRequest {
|
|
13
|
-
ids?: string | string[];
|
|
14
|
-
name?: string;
|
|
15
|
-
/**
|
|
16
|
-
* Page limit (default 100)
|
|
17
|
-
*/
|
|
18
|
-
limit?: number;
|
|
19
|
-
/**
|
|
20
|
-
* Page offset (default 0)
|
|
21
|
-
*/
|
|
22
|
-
offset?: number;
|
|
23
|
-
}
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
export { type CreateCrmDealLineItemAssociationRequestBody } from "./CreateCrmDealLineItemAssociationRequestBody";
|
|
2
|
-
export { type CreateCrmLineItemRequestBody } from "./CreateCrmLineItemRequestBody";
|
|
3
|
-
export { type CreateCrmDealRequestBody } from "./CreateCrmDealRequestBody";
|
|
4
|
-
export { type ListCrmProductsRequest } from "./ListCrmProductsRequest";
|
|
5
|
-
export { type CreateCrmProductRequestBody } from "./CreateCrmProductRequestBody";
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
-
*/
|
|
4
|
-
/**
|
|
5
|
-
* Input parameters
|
|
6
|
-
*/
|
|
7
|
-
export interface ListCrmProductsParams {
|
|
8
|
-
ids?: string[];
|
|
9
|
-
/** Page limit (default 100) */
|
|
10
|
-
limit?: number;
|
|
11
|
-
name?: string;
|
|
12
|
-
/** Page offset (default 0) */
|
|
13
|
-
offset?: number;
|
|
14
|
-
}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
-
*/
|
|
4
|
-
import * as Schematic from "../../../index";
|
|
5
|
-
export interface ListCrmProductsResponse {
|
|
6
|
-
data: Schematic.CrmProductResponseData[];
|
|
7
|
-
/** Input parameters */
|
|
8
|
-
params: Schematic.ListCrmProductsParams;
|
|
9
|
-
}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
-
*/
|
|
4
|
-
import * as Schematic from "../../../index";
|
|
5
|
-
export interface UpsertCrmDealResponse {
|
|
6
|
-
data: Schematic.CrmDealResponseData;
|
|
7
|
-
/** Input parameters */
|
|
8
|
-
params: Record<string, unknown>;
|
|
9
|
-
}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
-
*/
|
|
4
|
-
import * as Schematic from "../../../index";
|
|
5
|
-
export interface UpsertCrmProductResponse {
|
|
6
|
-
data: Schematic.CrmProductResponseData;
|
|
7
|
-
/** Input parameters */
|
|
8
|
-
params: Record<string, unknown>;
|
|
9
|
-
}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
-
*/
|
|
4
|
-
import * as Schematic from "../../../index";
|
|
5
|
-
export interface UpsertDealLineItemAssociationResponse {
|
|
6
|
-
data: Schematic.CrmLineItemResponseData;
|
|
7
|
-
/** Input parameters */
|
|
8
|
-
params: Record<string, unknown>;
|
|
9
|
-
}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
-
*/
|
|
4
|
-
import * as Schematic from "../../../index";
|
|
5
|
-
export interface UpsertLineItemResponse {
|
|
6
|
-
data: Schematic.CrmLineItemResponseData;
|
|
7
|
-
/** Input parameters */
|
|
8
|
-
params: Record<string, unknown>;
|
|
9
|
-
}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
export * from "./UpsertDealLineItemAssociationResponse";
|
|
2
|
-
export * from "./UpsertLineItemResponse";
|
|
3
|
-
export * from "./UpsertCrmDealResponse";
|
|
4
|
-
export * from "./ListCrmProductsParams";
|
|
5
|
-
export * from "./ListCrmProductsResponse";
|
|
6
|
-
export * from "./UpsertCrmProductResponse";
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
-
*/
|
|
4
|
-
import * as Schematic from "../../../../index";
|
|
5
|
-
/**
|
|
6
|
-
* @example
|
|
7
|
-
* {
|
|
8
|
-
* description: "description",
|
|
9
|
-
* name: "name",
|
|
10
|
-
* planType: "plan"
|
|
11
|
-
* }
|
|
12
|
-
*/
|
|
13
|
-
export interface CreatePlanRequestBody {
|
|
14
|
-
description: string;
|
|
15
|
-
icon?: string;
|
|
16
|
-
name: string;
|
|
17
|
-
planType: Schematic.PlanType;
|
|
18
|
-
}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
-
*/
|
|
4
|
-
import * as Schematic from "../index";
|
|
5
|
-
export interface CompanyCrmDealsResponseData {
|
|
6
|
-
dealArr: string;
|
|
7
|
-
dealExternalId: string;
|
|
8
|
-
dealMrr: string;
|
|
9
|
-
dealName?: string;
|
|
10
|
-
lineItems: Schematic.CrmDealLineItem[];
|
|
11
|
-
}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
-
*/
|
|
4
|
-
import * as Schematic from "../index";
|
|
5
|
-
export interface CrmDealLineItem {
|
|
6
|
-
billingFrequency: string;
|
|
7
|
-
createdAt: Date;
|
|
8
|
-
currency: string;
|
|
9
|
-
description: string;
|
|
10
|
-
discountPercentage?: Schematic.Decimal;
|
|
11
|
-
id: string;
|
|
12
|
-
name: string;
|
|
13
|
-
price: number;
|
|
14
|
-
quantity: number;
|
|
15
|
-
termMonth?: number;
|
|
16
|
-
totalDiscount?: Schematic.Decimal;
|
|
17
|
-
updatedAt: Date;
|
|
18
|
-
}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
-
*/
|
|
4
|
-
export interface CrmDealResponseData {
|
|
5
|
-
accountId: string;
|
|
6
|
-
arr: string;
|
|
7
|
-
companyExternalId?: string;
|
|
8
|
-
createdAt: Date;
|
|
9
|
-
dealExternalId: string;
|
|
10
|
-
dealId: string;
|
|
11
|
-
environmentId: string;
|
|
12
|
-
mrr: string;
|
|
13
|
-
name?: string;
|
|
14
|
-
productExternalId?: string;
|
|
15
|
-
updatedAt: Date;
|
|
16
|
-
}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
-
*/
|
|
4
|
-
export interface CrmProductResponseData {
|
|
5
|
-
accountId: string;
|
|
6
|
-
createdAt: Date;
|
|
7
|
-
currency: string;
|
|
8
|
-
environmentId: string;
|
|
9
|
-
externalId: string;
|
|
10
|
-
name: string;
|
|
11
|
-
price: string;
|
|
12
|
-
productId: string;
|
|
13
|
-
quantity: number;
|
|
14
|
-
updatedAt: Date;
|
|
15
|
-
}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
-
*/
|
|
4
|
-
import * as serializers from "../../../index";
|
|
5
|
-
import * as Schematic from "../../../../api/index";
|
|
6
|
-
import * as core from "../../../../core";
|
|
7
|
-
export declare const GetActiveDealsParams: core.serialization.ObjectSchema<serializers.GetActiveDealsParams.Raw, Schematic.GetActiveDealsParams>;
|
|
8
|
-
export declare namespace GetActiveDealsParams {
|
|
9
|
-
interface Raw {
|
|
10
|
-
company_id?: string | null;
|
|
11
|
-
deal_stage?: string | null;
|
|
12
|
-
limit?: number | null;
|
|
13
|
-
offset?: number | null;
|
|
14
|
-
}
|
|
15
|
-
}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
-
*/
|
|
4
|
-
import * as serializers from "../../../index";
|
|
5
|
-
import * as Schematic from "../../../../api/index";
|
|
6
|
-
import * as core from "../../../../core";
|
|
7
|
-
import { CompanyCrmDealsResponseData } from "../../../types/CompanyCrmDealsResponseData";
|
|
8
|
-
import { GetActiveDealsParams } from "./GetActiveDealsParams";
|
|
9
|
-
export declare const GetActiveDealsResponse: core.serialization.ObjectSchema<serializers.GetActiveDealsResponse.Raw, Schematic.GetActiveDealsResponse>;
|
|
10
|
-
export declare namespace GetActiveDealsResponse {
|
|
11
|
-
interface Raw {
|
|
12
|
-
data: CompanyCrmDealsResponseData.Raw[];
|
|
13
|
-
params: GetActiveDealsParams.Raw;
|
|
14
|
-
}
|
|
15
|
-
}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
-
*/
|
|
4
|
-
import * as serializers from "../../../../index";
|
|
5
|
-
import * as Schematic from "../../../../../api/index";
|
|
6
|
-
import * as core from "../../../../../core";
|
|
7
|
-
export declare const CreateCrmDealLineItemAssociationRequestBody: core.serialization.Schema<serializers.CreateCrmDealLineItemAssociationRequestBody.Raw, Schematic.CreateCrmDealLineItemAssociationRequestBody>;
|
|
8
|
-
export declare namespace CreateCrmDealLineItemAssociationRequestBody {
|
|
9
|
-
interface Raw {
|
|
10
|
-
deal_external_id: string;
|
|
11
|
-
line_item_external_id: string;
|
|
12
|
-
}
|
|
13
|
-
}
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
-
*/
|
|
4
|
-
import * as serializers from "../../../../index";
|
|
5
|
-
import * as Schematic from "../../../../../api/index";
|
|
6
|
-
import * as core from "../../../../../core";
|
|
7
|
-
export declare const CreateCrmDealRequestBody: core.serialization.Schema<serializers.CreateCrmDealRequestBody.Raw, Schematic.CreateCrmDealRequestBody>;
|
|
8
|
-
export declare namespace CreateCrmDealRequestBody {
|
|
9
|
-
interface Raw {
|
|
10
|
-
arr?: string | null;
|
|
11
|
-
crm_company_id?: string | null;
|
|
12
|
-
crm_company_key: string;
|
|
13
|
-
crm_product_id?: string | null;
|
|
14
|
-
crm_type: string;
|
|
15
|
-
deal_external_id: string;
|
|
16
|
-
deal_name?: string | null;
|
|
17
|
-
deal_stage?: string | null;
|
|
18
|
-
mrr?: string | null;
|
|
19
|
-
}
|
|
20
|
-
}
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
-
*/
|
|
4
|
-
import * as serializers from "../../../../index";
|
|
5
|
-
import * as Schematic from "../../../../../api/index";
|
|
6
|
-
import * as core from "../../../../../core";
|
|
7
|
-
export declare const CreateCrmLineItemRequestBody: core.serialization.Schema<serializers.CreateCrmLineItemRequestBody.Raw, Schematic.CreateCrmLineItemRequestBody>;
|
|
8
|
-
export declare namespace CreateCrmLineItemRequestBody {
|
|
9
|
-
interface Raw {
|
|
10
|
-
amount: string;
|
|
11
|
-
discount_percentage?: string | null;
|
|
12
|
-
interval: string;
|
|
13
|
-
line_item_external_id: string;
|
|
14
|
-
product_external_id: string;
|
|
15
|
-
quantity: number;
|
|
16
|
-
term_month?: number | null;
|
|
17
|
-
total_discount?: string | null;
|
|
18
|
-
}
|
|
19
|
-
}
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
-
*/
|
|
4
|
-
import * as serializers from "../../../../index";
|
|
5
|
-
import * as Schematic from "../../../../../api/index";
|
|
6
|
-
import * as core from "../../../../../core";
|
|
7
|
-
export declare const CreateCrmProductRequestBody: core.serialization.Schema<serializers.CreateCrmProductRequestBody.Raw, Schematic.CreateCrmProductRequestBody>;
|
|
8
|
-
export declare namespace CreateCrmProductRequestBody {
|
|
9
|
-
interface Raw {
|
|
10
|
-
currency: string;
|
|
11
|
-
description: string;
|
|
12
|
-
external_id: string;
|
|
13
|
-
interval: string;
|
|
14
|
-
name: string;
|
|
15
|
-
price: string;
|
|
16
|
-
quantity: number;
|
|
17
|
-
sku: string;
|
|
18
|
-
}
|
|
19
|
-
}
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
export { CreateCrmDealLineItemAssociationRequestBody } from "./CreateCrmDealLineItemAssociationRequestBody";
|
|
2
|
-
export { CreateCrmLineItemRequestBody } from "./CreateCrmLineItemRequestBody";
|
|
3
|
-
export { CreateCrmDealRequestBody } from "./CreateCrmDealRequestBody";
|
|
4
|
-
export { CreateCrmProductRequestBody } from "./CreateCrmProductRequestBody";
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
-
*/
|
|
4
|
-
import * as serializers from "../../../index";
|
|
5
|
-
import * as Schematic from "../../../../api/index";
|
|
6
|
-
import * as core from "../../../../core";
|
|
7
|
-
export declare const ListCrmProductsParams: core.serialization.ObjectSchema<serializers.ListCrmProductsParams.Raw, Schematic.ListCrmProductsParams>;
|
|
8
|
-
export declare namespace ListCrmProductsParams {
|
|
9
|
-
interface Raw {
|
|
10
|
-
ids?: string[] | null;
|
|
11
|
-
limit?: number | null;
|
|
12
|
-
name?: string | null;
|
|
13
|
-
offset?: number | null;
|
|
14
|
-
}
|
|
15
|
-
}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
-
*/
|
|
4
|
-
import * as serializers from "../../../index";
|
|
5
|
-
import * as Schematic from "../../../../api/index";
|
|
6
|
-
import * as core from "../../../../core";
|
|
7
|
-
import { CrmProductResponseData } from "../../../types/CrmProductResponseData";
|
|
8
|
-
import { ListCrmProductsParams } from "./ListCrmProductsParams";
|
|
9
|
-
export declare const ListCrmProductsResponse: core.serialization.ObjectSchema<serializers.ListCrmProductsResponse.Raw, Schematic.ListCrmProductsResponse>;
|
|
10
|
-
export declare namespace ListCrmProductsResponse {
|
|
11
|
-
interface Raw {
|
|
12
|
-
data: CrmProductResponseData.Raw[];
|
|
13
|
-
params: ListCrmProductsParams.Raw;
|
|
14
|
-
}
|
|
15
|
-
}
|