@schematichq/schematic-typescript-node 1.4.4 → 1.4.6
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/LICENSE +1 -1
- package/dist/BaseClient.d.ts +1 -1
- package/dist/Client.d.ts +14 -0
- package/dist/api/resources/accesstokens/exports.d.ts +2 -0
- package/dist/api/resources/accounts/client/Client.d.ts +43 -10
- package/dist/api/resources/accounts/client/requests/CountApiKeysRequest.d.ts +2 -2
- package/dist/api/resources/accounts/client/requests/CountAuditLogsRequest.d.ts +2 -2
- package/dist/api/resources/accounts/client/requests/ListAccountMembersRequest.d.ts +17 -0
- package/dist/api/resources/accounts/client/requests/ListApiKeysRequest.d.ts +2 -2
- package/dist/api/resources/accounts/client/requests/ListAuditLogsRequest.d.ts +2 -2
- package/dist/api/resources/accounts/client/requests/ListEnvironmentsRequest.d.ts +2 -2
- package/dist/api/resources/accounts/client/requests/index.d.ts +1 -0
- package/dist/api/resources/accounts/exports.d.ts +2 -0
- package/dist/api/resources/accounts/types/GetAccountMemberResponse.d.ts +6 -0
- package/dist/api/resources/accounts/types/ListAccountMembersParams.d.ts +12 -0
- package/dist/api/resources/accounts/types/ListAccountMembersResponse.d.ts +6 -0
- package/dist/api/resources/accounts/types/index.d.ts +3 -0
- package/dist/api/resources/billing/client/Client.d.ts +42 -40
- package/dist/api/resources/billing/client/requests/CountBillingProductsRequest.d.ts +3 -3
- package/dist/api/resources/billing/client/requests/CountCustomersRequest.d.ts +3 -3
- package/dist/api/resources/billing/client/requests/CreateBillingPriceRequestBody.d.ts +1 -1
- package/dist/api/resources/billing/client/requests/CreateBillingSubscriptionRequestBody.d.ts +4 -3
- package/dist/api/resources/billing/client/requests/CreateCouponRequestBody.d.ts +4 -4
- package/dist/api/resources/billing/client/requests/CreateInvoiceRequestBody.d.ts +4 -4
- package/dist/api/resources/billing/client/requests/CreateMeterRequestBody.d.ts +2 -0
- package/dist/api/resources/billing/client/requests/ListBillingPricesRequest.d.ts +7 -4
- package/dist/api/resources/billing/client/requests/ListBillingProductPricesRequest.d.ts +7 -4
- package/dist/api/resources/billing/client/requests/ListBillingProductsRequest.d.ts +3 -3
- package/dist/api/resources/billing/client/requests/ListCouponsRequest.d.ts +2 -2
- package/dist/api/resources/billing/client/requests/ListCustomersWithSubscriptionsRequest.d.ts +3 -3
- package/dist/api/resources/billing/client/requests/ListInvoicesRequest.d.ts +2 -2
- package/dist/api/resources/billing/client/requests/ListMetersRequest.d.ts +2 -2
- package/dist/api/resources/billing/client/requests/ListPaymentMethodsRequest.d.ts +2 -2
- package/dist/api/resources/billing/exports.d.ts +2 -0
- package/dist/api/resources/billing/types/ListBillingPricesParams.d.ts +2 -0
- package/dist/api/resources/billing/types/ListBillingProductPricesParams.d.ts +2 -0
- package/dist/api/resources/checkout/client/Client.d.ts +8 -8
- package/dist/api/resources/checkout/exports.d.ts +2 -0
- package/dist/api/resources/companies/client/Client.d.ts +38 -30
- package/dist/api/resources/companies/client/requests/CountCompaniesRequest.d.ts +5 -2
- package/dist/api/resources/companies/client/requests/CountEntityKeyDefinitionsRequest.d.ts +2 -2
- package/dist/api/resources/companies/client/requests/CountEntityTraitDefinitionsRequest.d.ts +2 -2
- package/dist/api/resources/companies/client/requests/CountPlanTraitsRequest.d.ts +2 -2
- package/dist/api/resources/companies/client/requests/CountUsersRequest.d.ts +2 -2
- package/dist/api/resources/companies/client/requests/GetActiveCompanySubscriptionRequest.d.ts +2 -2
- package/dist/api/resources/companies/client/requests/GetEntityTraitValuesRequest.d.ts +2 -2
- package/dist/api/resources/companies/client/requests/ListCompaniesRequest.d.ts +5 -2
- package/dist/api/resources/companies/client/requests/ListCompanyMembershipsRequest.d.ts +2 -2
- package/dist/api/resources/companies/client/requests/ListEntityKeyDefinitionsRequest.d.ts +2 -2
- package/dist/api/resources/companies/client/requests/ListEntityTraitDefinitionsRequest.d.ts +2 -2
- package/dist/api/resources/companies/client/requests/ListPlanChangesRequest.d.ts +7 -6
- package/dist/api/resources/companies/client/requests/ListPlanTraitsRequest.d.ts +2 -2
- package/dist/api/resources/companies/client/requests/ListUsersRequest.d.ts +2 -2
- package/dist/api/resources/companies/exports.d.ts +2 -0
- package/dist/api/resources/companies/types/CountCompaniesParams.d.ts +2 -0
- package/dist/api/resources/companies/types/ListCompaniesParams.d.ts +2 -0
- package/dist/api/resources/companies/types/ListPlanChangesParams.d.ts +3 -2
- package/dist/api/resources/components/client/Client.d.ts +4 -4
- package/dist/api/resources/components/client/requests/CountComponentsRequest.d.ts +2 -2
- package/dist/api/resources/components/client/requests/ListComponentsRequest.d.ts +2 -2
- package/dist/api/resources/components/exports.d.ts +2 -0
- package/dist/api/resources/componentspublic/exports.d.ts +2 -0
- package/dist/api/resources/credits/client/Client.d.ts +47 -33
- package/dist/api/resources/credits/client/requests/CountBillingCreditsGrantsRequest.d.ts +2 -2
- package/dist/api/resources/credits/client/requests/CountBillingCreditsRequest.d.ts +2 -2
- package/dist/api/resources/credits/client/requests/CountBillingPlanCreditGrantsRequest.d.ts +2 -2
- package/dist/api/resources/credits/client/requests/CountCompanyGrantsRequest.d.ts +2 -2
- package/dist/api/resources/credits/client/requests/CountCreditBundlesRequest.d.ts +2 -2
- package/dist/api/resources/credits/client/requests/CountCreditEventLedgerRequest.d.ts +2 -2
- package/dist/api/resources/credits/client/requests/CountCreditLedgerRequest.d.ts +2 -2
- package/dist/api/resources/credits/client/requests/CreateBillingCreditRequestBody.d.ts +1 -0
- package/dist/api/resources/credits/client/requests/CreateCompanyCreditGrant.d.ts +3 -2
- package/dist/api/resources/credits/client/requests/CreateCreditBundleRequestBody.d.ts +2 -1
- package/dist/api/resources/credits/client/requests/GetEnrichedCreditLedgerRequest.d.ts +2 -2
- package/dist/api/resources/credits/client/requests/ListBillingCreditsRequest.d.ts +2 -2
- package/dist/api/resources/credits/client/requests/ListBillingPlanCreditGrantsRequest.d.ts +2 -2
- package/dist/api/resources/credits/client/requests/ListCompanyGrantsRequest.d.ts +2 -2
- package/dist/api/resources/credits/client/requests/ListCreditBundlesRequest.d.ts +2 -2
- package/dist/api/resources/credits/client/requests/ListCreditEventLedgerRequest.d.ts +2 -2
- package/dist/api/resources/credits/client/requests/ListGrantsForCreditRequest.d.ts +2 -2
- package/dist/api/resources/credits/client/requests/UpdateBillingCreditRequestBody.d.ts +1 -0
- package/dist/api/resources/credits/client/requests/UpdateCreditBundleDetailsRequestBody.d.ts +2 -1
- package/dist/api/resources/credits/exports.d.ts +2 -0
- package/dist/api/resources/credits/types/GetSingleBillingPlanCreditGrantResponse.d.ts +6 -0
- package/dist/api/resources/credits/types/index.d.ts +1 -0
- package/dist/api/resources/dataexports/exports.d.ts +2 -0
- package/dist/api/resources/entitlements/client/Client.d.ts +41 -20
- package/dist/api/resources/entitlements/client/requests/CountCompanyOverridesRequest.d.ts +2 -2
- package/dist/api/resources/entitlements/client/requests/CountFeatureCompaniesRequest.d.ts +2 -2
- package/dist/api/resources/entitlements/client/requests/CountFeatureUsageRequest.d.ts +2 -2
- package/dist/api/resources/entitlements/client/requests/CountFeatureUsersRequest.d.ts +2 -2
- package/dist/api/resources/entitlements/client/requests/CountPlanEntitlementsRequest.d.ts +2 -2
- package/dist/api/resources/entitlements/client/requests/CreateBillingLinkedPlanEntitlementRequestBody.d.ts +44 -0
- package/dist/api/resources/entitlements/client/requests/CreatePlanEntitlementRequestBody.d.ts +1 -0
- package/dist/api/resources/entitlements/client/requests/ListCompanyOverridesRequest.d.ts +2 -2
- package/dist/api/resources/entitlements/client/requests/ListFeatureCompaniesRequest.d.ts +2 -2
- package/dist/api/resources/entitlements/client/requests/ListFeatureUsageRequest.d.ts +2 -2
- package/dist/api/resources/entitlements/client/requests/ListFeatureUsersRequest.d.ts +2 -2
- package/dist/api/resources/entitlements/client/requests/ListPlanEntitlementsRequest.d.ts +2 -2
- package/dist/api/resources/entitlements/client/requests/UpdatePlanEntitlementRequestBody.d.ts +1 -0
- package/dist/api/resources/entitlements/client/requests/index.d.ts +1 -0
- package/dist/api/resources/entitlements/exports.d.ts +2 -0
- package/dist/api/resources/entitlements/types/CreateBillingLinkedPlanEntitlementRequestBodyMetricPeriod.d.ts +7 -0
- package/dist/api/resources/entitlements/types/CreateBillingLinkedPlanEntitlementRequestBodyMetricPeriodMonthReset.d.ts +5 -0
- package/dist/api/resources/entitlements/types/UpsertPlanEntitlementForBillingProductResponse.d.ts +6 -0
- package/dist/api/resources/entitlements/types/index.d.ts +3 -0
- package/dist/api/resources/events/client/Client.d.ts +4 -4
- package/dist/api/resources/events/client/requests/GetEventSummariesRequest.d.ts +2 -2
- package/dist/api/resources/events/client/requests/ListEventsRequest.d.ts +2 -2
- package/dist/api/resources/events/exports.d.ts +2 -0
- package/dist/api/resources/features/client/Client.d.ts +34 -13
- package/dist/api/resources/features/client/requests/CountFeaturesRequest.d.ts +10 -10
- package/dist/api/resources/features/client/requests/CountFlagsRequest.d.ts +2 -2
- package/dist/api/resources/features/client/requests/CreateBillingLinkedFeatureRequestBody.d.ts +26 -0
- package/dist/api/resources/features/client/requests/ListFeaturesRequest.d.ts +10 -10
- package/dist/api/resources/features/client/requests/ListFlagsRequest.d.ts +2 -2
- package/dist/api/resources/features/client/requests/UpdateFlagRulesRequestBody.d.ts +1 -1
- package/dist/api/resources/features/client/requests/index.d.ts +1 -0
- package/dist/api/resources/features/exports.d.ts +2 -0
- package/dist/api/resources/features/types/UpsertFeatureForBillingProductResponse.d.ts +6 -0
- package/dist/api/resources/features/types/index.d.ts +1 -0
- package/dist/api/resources/index.d.ts +2 -0
- package/dist/api/resources/integrationsapi/client/Client.d.ts +27 -0
- package/dist/api/resources/integrationsapi/client/index.d.ts +1 -0
- package/dist/api/resources/integrationsapi/exports.d.ts +2 -0
- package/dist/api/resources/integrationsapi/index.d.ts +2 -0
- package/dist/api/resources/integrationsapi/types/GetIntegrationWebhookUrlResponse.d.ts +6 -0
- package/dist/api/resources/integrationsapi/types/index.d.ts +1 -0
- package/dist/api/resources/planbundle/exports.d.ts +2 -0
- package/dist/api/resources/plangroups/exports.d.ts +2 -0
- package/dist/api/resources/planmigrations/client/Client.d.ts +8 -8
- package/dist/api/resources/planmigrations/client/requests/CountCompanyMigrationsRequest.d.ts +2 -2
- package/dist/api/resources/planmigrations/client/requests/CountMigrationsRequest.d.ts +2 -2
- package/dist/api/resources/planmigrations/client/requests/ListCompanyMigrationsRequest.d.ts +2 -2
- package/dist/api/resources/planmigrations/client/requests/ListMigrationsRequest.d.ts +2 -2
- package/dist/api/resources/planmigrations/exports.d.ts +2 -0
- package/dist/api/resources/plans/client/Client.d.ts +98 -7
- package/dist/api/resources/plans/client/requests/CountBillingProductMatchCompaniesRequest.d.ts +19 -0
- package/dist/api/resources/plans/client/requests/CountPlansRequest.d.ts +8 -2
- package/dist/api/resources/plans/client/requests/CreateBillingLinkedPlanRequestBody.d.ts +19 -0
- package/dist/api/resources/plans/client/requests/CreateCustomPlanRequestBody.d.ts +16 -0
- package/dist/api/resources/plans/client/requests/DeletePlanVersionRequest.d.ts +9 -0
- package/dist/api/resources/plans/client/requests/ListBillingProductMatchCompaniesRequest.d.ts +19 -0
- package/dist/api/resources/plans/client/requests/ListPlansRequest.d.ts +8 -2
- package/dist/api/resources/plans/client/requests/PublishPlanVersionRequestBody.d.ts +9 -1
- package/dist/api/resources/plans/client/requests/index.d.ts +5 -0
- package/dist/api/resources/plans/exports.d.ts +2 -0
- package/dist/api/resources/plans/types/CountBillingProductMatchCompaniesParams.d.ts +13 -0
- package/dist/api/resources/plans/types/CountBillingProductMatchCompaniesResponse.d.ts +6 -0
- package/dist/api/resources/plans/types/CountPlansParams.d.ts +4 -0
- package/dist/api/resources/plans/types/CreateCustomPlanResponse.d.ts +6 -0
- package/dist/api/resources/plans/types/DeletePlanVersionParams.d.ts +6 -0
- package/dist/api/resources/plans/types/DeletePlanVersionResponse.d.ts +1 -1
- package/dist/api/resources/plans/types/ListBillingProductMatchCompaniesParams.d.ts +13 -0
- package/dist/api/resources/plans/types/ListBillingProductMatchCompaniesResponse.d.ts +6 -0
- package/dist/api/resources/plans/types/ListPlansParams.d.ts +4 -0
- package/dist/api/resources/plans/types/UpsertPlanForBillingProductResponse.d.ts +6 -0
- package/dist/api/resources/plans/types/index.d.ts +7 -0
- package/dist/api/resources/scheduledcheckout/client/Client.d.ts +2 -2
- package/dist/api/resources/scheduledcheckout/client/requests/ListScheduledCheckoutsRequest.d.ts +2 -2
- package/dist/api/resources/scheduledcheckout/exports.d.ts +2 -0
- package/dist/api/resources/webhooks/client/Client.d.ts +8 -8
- package/dist/api/resources/webhooks/client/requests/CountWebhookEventsRequest.d.ts +2 -2
- package/dist/api/resources/webhooks/client/requests/CountWebhooksRequest.d.ts +2 -2
- package/dist/api/resources/webhooks/client/requests/ListWebhookEventsRequest.d.ts +2 -2
- package/dist/api/resources/webhooks/client/requests/ListWebhooksRequest.d.ts +2 -2
- package/dist/api/resources/webhooks/exports.d.ts +2 -0
- package/dist/api/types/AccountMemberPermission.d.ts +18 -0
- package/dist/api/types/AccountMemberResponseData.d.ts +11 -0
- package/dist/api/types/AccountMemberRole.d.ts +5 -0
- package/dist/api/types/BillingCreditBundleResponseData.d.ts +2 -0
- package/dist/api/types/BillingCreditBundleView.d.ts +1 -0
- package/dist/api/types/BillingCreditGrantReason.d.ts +1 -0
- package/dist/api/types/BillingCreditGrantResponseData.d.ts +1 -0
- package/dist/api/types/BillingCreditResponseData.d.ts +1 -0
- package/dist/api/types/BillingLinkedResourceResponseData.d.ts +6 -0
- package/dist/api/types/BillingPlanCreditGrantResponseData.d.ts +1 -0
- package/dist/api/types/BillingProductPlanResponseData.d.ts +1 -1
- package/dist/api/types/BillingProviderType.d.ts +1 -0
- package/dist/api/types/CheckoutSubscription.d.ts +1 -0
- package/dist/api/types/CompanyDetailResponseData.d.ts +1 -0
- package/dist/api/types/CompanyPlanDetailResponseData.d.ts +7 -2
- package/dist/api/types/ConditionGroupResponseData.d.ts +0 -1
- package/dist/api/types/ConditionGroupView.d.ts +0 -1
- package/dist/api/types/ConditionResponseData.d.ts +0 -1
- package/dist/api/types/ConditionView.d.ts +0 -1
- package/dist/api/types/CreateBillingPlanCreditGrantRequestBody.d.ts +1 -0
- package/dist/api/types/CreateEntitlementInBundleRequestBody.d.ts +1 -0
- package/dist/api/types/CreatePlanRequestBody.d.ts +1 -1
- package/dist/api/types/CreditBundleCurrencyPrice.d.ts +5 -0
- package/dist/api/types/CreditBundleCurrencyPriceRequestBody.d.ts +5 -0
- package/dist/api/types/CreditBundleCurrencyPriceResponseData.d.ts +5 -0
- package/dist/api/types/CreditCompanyGrantView.d.ts +1 -0
- package/dist/api/types/CreditCurrencyPriceRequestBody.d.ts +5 -0
- package/dist/api/types/CreditCurrencyPriceResponseData.d.ts +5 -0
- package/dist/api/types/CurrencyPriceRequestBody.d.ts +10 -0
- package/dist/api/types/CustomPlanActivationStrategy.d.ts +5 -0
- package/dist/api/types/CustomPlanBillingResponseData.d.ts +14 -0
- package/dist/api/types/CustomPlanBillingStatus.d.ts +6 -0
- package/dist/api/types/DatastreamCompanyPlan.d.ts +2 -0
- package/dist/api/types/EntitlementCurrencyPricesResponseData.d.ts +6 -0
- package/dist/api/types/FeatureDetailResponseData.d.ts +1 -0
- package/dist/api/types/FeatureView.d.ts +1 -0
- package/dist/api/types/IntegrationType.d.ts +7 -0
- package/dist/api/types/IntegrationWebhookUrlResponseData.d.ts +5 -0
- package/dist/api/types/ManagePlanRequest.d.ts +1 -0
- package/dist/api/types/PlanCreditGrantView.d.ts +1 -0
- package/dist/api/types/PlanCurrencyPriceRequestBody.d.ts +6 -0
- package/dist/api/types/PlanCurrencyPricesResponseData.d.ts +7 -0
- package/dist/api/types/PlanDetailResponseData.d.ts +7 -2
- package/dist/api/types/PlanEntitlementResponseData.d.ts +2 -0
- package/dist/api/types/PlanGroupPlanDetailResponseData.d.ts +7 -2
- package/dist/api/types/PlanIcon.d.ts +28 -0
- package/dist/api/types/PlanResponseData.d.ts +3 -1
- package/dist/api/types/PlanSelection.d.ts +1 -0
- package/dist/api/types/PlanVersionResponseData.d.ts +1 -1
- package/dist/api/types/PlanViewPublicResponseData.d.ts +7 -2
- package/dist/api/types/RuleView.d.ts +0 -1
- package/dist/api/types/RulesEngineSchemaVersion.d.ts +1 -1
- package/dist/api/types/TrialStatus.d.ts +6 -0
- package/dist/api/types/UpdateBillingPlanCreditGrantRequestBody.d.ts +1 -0
- package/dist/api/types/UpdatePlanRequestBody.d.ts +2 -1
- package/dist/api/types/UpsertBillingProductRequestBody.d.ts +1 -0
- package/dist/api/types/UsageBasedEntitlementRequestBody.d.ts +1 -0
- package/dist/api/types/WebScheduledDowngradeWebhookOutput.d.ts +10 -0
- package/dist/api/types/WebhookRequestType.d.ts +1 -0
- package/dist/api/types/WebhookUrl.d.ts +5 -0
- package/dist/api/types/index.d.ts +22 -1
- package/dist/auth/HeaderAuthProvider.d.ts +14 -10
- package/dist/core/fetcher/BinaryResponse.d.ts +1 -1
- package/dist/core/fetcher/EndpointSupplier.d.ts +2 -2
- package/dist/core/fetcher/Fetcher.d.ts +1 -2
- package/dist/core/fetcher/index.d.ts +2 -0
- package/dist/core/fetcher/makePassthroughRequest.d.ts +49 -0
- package/dist/core/fetcher/makeRequest.d.ts +6 -1
- package/dist/core/headers.d.ts +2 -2
- package/dist/core/schemas/builders/record/index.d.ts +2 -2
- package/dist/core/schemas/builders/record/record.d.ts +2 -1
- package/dist/core/schemas/builders/record/types.d.ts +2 -0
- package/dist/datastream/merge.d.ts +25 -0
- package/dist/datastream/types.d.ts +1 -0
- package/dist/index.js +3 -3
- package/dist/serialization/resources/accounts/types/GetAccountMemberResponse.d.ts +11 -0
- package/dist/serialization/resources/accounts/types/ListAccountMembersParams.d.ts +12 -0
- package/dist/serialization/resources/accounts/types/ListAccountMembersResponse.d.ts +12 -0
- package/dist/serialization/resources/accounts/types/index.d.ts +3 -0
- package/dist/serialization/resources/billing/client/requests/CreateBillingSubscriptionRequestBody.d.ts +2 -0
- package/dist/serialization/resources/billing/client/requests/CreateMeterRequestBody.d.ts +2 -0
- package/dist/serialization/resources/billing/types/ListBillingPricesParams.d.ts +1 -0
- package/dist/serialization/resources/billing/types/ListBillingProductPricesParams.d.ts +1 -0
- package/dist/serialization/resources/companies/types/CountCompaniesParams.d.ts +1 -0
- package/dist/serialization/resources/companies/types/ListCompaniesParams.d.ts +1 -0
- package/dist/serialization/resources/companies/types/ListPlanChangesParams.d.ts +4 -2
- package/dist/serialization/resources/credits/client/requests/CreateBillingCreditRequestBody.d.ts +2 -0
- package/dist/serialization/resources/credits/client/requests/CreateCompanyCreditGrant.d.ts +1 -0
- package/dist/serialization/resources/credits/client/requests/CreateCreditBundleRequestBody.d.ts +2 -0
- package/dist/serialization/resources/credits/client/requests/UpdateBillingCreditRequestBody.d.ts +2 -0
- package/dist/serialization/resources/credits/client/requests/UpdateCreditBundleDetailsRequestBody.d.ts +2 -0
- package/dist/serialization/resources/credits/types/GetSingleBillingPlanCreditGrantResponse.d.ts +11 -0
- package/dist/serialization/resources/credits/types/index.d.ts +1 -0
- package/dist/serialization/resources/entitlements/client/requests/CreateBillingLinkedPlanEntitlementRequestBody.d.ts +46 -0
- package/dist/serialization/resources/entitlements/client/requests/CreatePlanEntitlementRequestBody.d.ts +2 -0
- package/dist/serialization/resources/entitlements/client/requests/UpdatePlanEntitlementRequestBody.d.ts +2 -0
- package/dist/serialization/resources/entitlements/client/requests/index.d.ts +1 -0
- package/dist/serialization/resources/entitlements/types/CreateBillingLinkedPlanEntitlementRequestBodyMetricPeriod.d.ts +7 -0
- package/dist/serialization/resources/entitlements/types/CreateBillingLinkedPlanEntitlementRequestBodyMetricPeriodMonthReset.d.ts +7 -0
- package/dist/serialization/resources/entitlements/types/UpsertPlanEntitlementForBillingProductResponse.d.ts +11 -0
- package/dist/serialization/resources/entitlements/types/index.d.ts +3 -0
- package/dist/serialization/resources/features/client/requests/CreateBillingLinkedFeatureRequestBody.d.ts +25 -0
- package/dist/serialization/resources/features/client/requests/index.d.ts +1 -0
- package/dist/serialization/resources/features/types/UpsertFeatureForBillingProductResponse.d.ts +11 -0
- package/dist/serialization/resources/features/types/index.d.ts +1 -0
- package/dist/serialization/resources/index.d.ts +2 -0
- package/dist/serialization/resources/integrationsapi/index.d.ts +1 -0
- package/dist/serialization/resources/integrationsapi/types/GetIntegrationWebhookUrlResponse.d.ts +11 -0
- package/dist/serialization/resources/integrationsapi/types/index.d.ts +1 -0
- package/dist/serialization/resources/plans/client/requests/CreateBillingLinkedPlanRequestBody.d.ts +17 -0
- package/dist/serialization/resources/plans/client/requests/CreateCustomPlanRequestBody.d.ts +14 -0
- package/dist/serialization/resources/plans/client/requests/PublishPlanVersionRequestBody.d.ts +6 -0
- package/dist/serialization/resources/plans/client/requests/index.d.ts +2 -0
- package/dist/serialization/resources/plans/types/CountBillingProductMatchCompaniesParams.d.ts +12 -0
- package/dist/serialization/resources/plans/types/CountBillingProductMatchCompaniesResponse.d.ts +12 -0
- package/dist/serialization/resources/plans/types/CountPlansParams.d.ts +2 -0
- package/dist/serialization/resources/plans/types/CreateCustomPlanResponse.d.ts +11 -0
- package/dist/serialization/resources/plans/types/DeletePlanVersionParams.d.ts +9 -0
- package/dist/serialization/resources/plans/types/DeletePlanVersionResponse.d.ts +2 -1
- package/dist/serialization/resources/plans/types/ListBillingProductMatchCompaniesParams.d.ts +12 -0
- package/dist/serialization/resources/plans/types/ListBillingProductMatchCompaniesResponse.d.ts +12 -0
- package/dist/serialization/resources/plans/types/ListPlansParams.d.ts +2 -0
- package/dist/serialization/resources/plans/types/UpsertPlanForBillingProductResponse.d.ts +11 -0
- package/dist/serialization/resources/plans/types/index.d.ts +7 -0
- package/dist/serialization/types/AccountMemberPermission.d.ts +7 -0
- package/dist/serialization/types/AccountMemberResponseData.d.ts +18 -0
- package/dist/serialization/types/AccountMemberRole.d.ts +7 -0
- package/dist/serialization/types/BillingCreditBundleResponseData.d.ts +3 -0
- package/dist/serialization/types/BillingCreditBundleView.d.ts +2 -0
- package/dist/serialization/types/BillingCreditGrantReason.d.ts +1 -1
- package/dist/serialization/types/BillingCreditGrantResponseData.d.ts +1 -0
- package/dist/serialization/types/BillingCreditResponseData.d.ts +2 -0
- package/dist/serialization/types/BillingLinkedResourceResponseData.d.ts +12 -0
- package/dist/serialization/types/BillingPlanCreditGrantResponseData.d.ts +1 -0
- package/dist/serialization/types/BillingProductPlanResponseData.d.ts +2 -2
- package/dist/serialization/types/BillingProviderType.d.ts +1 -1
- package/dist/serialization/types/CheckoutSubscription.d.ts +1 -0
- package/dist/serialization/types/CompanyDetailResponseData.d.ts +2 -0
- package/dist/serialization/types/CompanyPlanDetailResponseData.d.ts +10 -3
- package/dist/serialization/types/ConditionGroupResponseData.d.ts +0 -1
- package/dist/serialization/types/ConditionGroupView.d.ts +0 -1
- package/dist/serialization/types/ConditionResponseData.d.ts +0 -1
- package/dist/serialization/types/ConditionView.d.ts +0 -1
- package/dist/serialization/types/CreateBillingPlanCreditGrantRequestBody.d.ts +1 -0
- package/dist/serialization/types/CreateEntitlementInBundleRequestBody.d.ts +2 -0
- package/dist/serialization/types/CreatePlanRequestBody.d.ts +2 -1
- package/dist/serialization/types/CreditBundleCurrencyPrice.d.ts +11 -0
- package/dist/serialization/types/CreditBundleCurrencyPriceRequestBody.d.ts +11 -0
- package/dist/serialization/types/CreditBundleCurrencyPriceResponseData.d.ts +11 -0
- package/dist/serialization/types/CreditCompanyGrantView.d.ts +1 -0
- package/dist/serialization/types/CreditCurrencyPriceRequestBody.d.ts +11 -0
- package/dist/serialization/types/CreditCurrencyPriceResponseData.d.ts +11 -0
- package/dist/serialization/types/CurrencyPriceRequestBody.d.ts +16 -0
- package/dist/serialization/types/CustomPlanActivationStrategy.d.ts +7 -0
- package/dist/serialization/types/CustomPlanBillingResponseData.d.ts +21 -0
- package/dist/serialization/types/CustomPlanBillingStatus.d.ts +7 -0
- package/dist/serialization/types/DatastreamCompanyPlan.d.ts +2 -0
- package/dist/serialization/types/EntitlementCurrencyPricesResponseData.d.ts +12 -0
- package/dist/serialization/types/FeatureDetailResponseData.d.ts +2 -0
- package/dist/serialization/types/FeatureView.d.ts +2 -0
- package/dist/serialization/types/IntegrationType.d.ts +7 -0
- package/dist/serialization/types/IntegrationWebhookUrlResponseData.d.ts +11 -0
- package/dist/serialization/types/ManagePlanRequest.d.ts +1 -0
- package/dist/serialization/types/PlanCreditGrantView.d.ts +1 -0
- package/dist/serialization/types/PlanCurrencyPriceRequestBody.d.ts +12 -0
- package/dist/serialization/types/PlanCurrencyPricesResponseData.d.ts +13 -0
- package/dist/serialization/types/PlanDetailResponseData.d.ts +10 -3
- package/dist/serialization/types/PlanEntitlementResponseData.d.ts +4 -0
- package/dist/serialization/types/PlanGroupPlanDetailResponseData.d.ts +10 -3
- package/dist/serialization/types/PlanIcon.d.ts +7 -0
- package/dist/serialization/types/PlanResponseData.d.ts +4 -1
- package/dist/serialization/types/PlanSelection.d.ts +1 -0
- package/dist/serialization/types/PlanVersionResponseData.d.ts +2 -1
- package/dist/serialization/types/PlanViewPublicResponseData.d.ts +10 -3
- package/dist/serialization/types/RuleView.d.ts +0 -1
- package/dist/serialization/types/RulesEngineSchemaVersion.d.ts +1 -1
- package/dist/serialization/types/TrialStatus.d.ts +7 -0
- package/dist/serialization/types/UpdateBillingPlanCreditGrantRequestBody.d.ts +1 -0
- package/dist/serialization/types/UpdatePlanRequestBody.d.ts +2 -1
- package/dist/serialization/types/UpsertBillingProductRequestBody.d.ts +2 -0
- package/dist/serialization/types/UsageBasedEntitlementRequestBody.d.ts +2 -0
- package/dist/serialization/types/WebScheduledDowngradeWebhookOutput.d.ts +17 -0
- package/dist/serialization/types/WebhookRequestType.d.ts +1 -1
- package/dist/serialization/types/WebhookUrl.d.ts +11 -0
- package/dist/serialization/types/index.d.ts +22 -1
- package/dist/wasm/rulesengine.d.ts +10 -0
- package/dist/wasm/rulesengine.js +193 -0
- package/dist/wasm/rulesengine_bg.wasm +0 -0
- package/dist/wasm/rulesengine_bg.wasm.d.ts +25 -0
- package/package.json +9 -9
- package/dist/api/types/PlanControlledByType.d.ts +0 -5
- package/dist/serialization/types/PlanControlledByType.d.ts +0 -7
|
@@ -1,9 +1,10 @@
|
|
|
1
|
+
import type * as Schematic from "../../../index";
|
|
1
2
|
/**
|
|
2
3
|
* Input parameters
|
|
3
4
|
*/
|
|
4
5
|
export interface ListPlanChangesParams {
|
|
5
|
-
action?:
|
|
6
|
-
basePlanAction?:
|
|
6
|
+
action?: Schematic.PlanChangeAction;
|
|
7
|
+
basePlanAction?: Schematic.PlanChangeBasePlanAction;
|
|
7
8
|
companyId?: string;
|
|
8
9
|
companyIds?: string[];
|
|
9
10
|
/** Page limit (default 100) */
|
|
@@ -23,8 +23,8 @@ export declare class ComponentsClient {
|
|
|
23
23
|
* @example
|
|
24
24
|
* await client.components.listComponents({
|
|
25
25
|
* q: "q",
|
|
26
|
-
* limit:
|
|
27
|
-
* offset:
|
|
26
|
+
* limit: 1000000,
|
|
27
|
+
* offset: 1000000
|
|
28
28
|
* })
|
|
29
29
|
*/
|
|
30
30
|
listComponents(request?: Schematic.ListComponentsRequest, requestOptions?: ComponentsClient.RequestOptions): core.HttpResponsePromise<Schematic.ListComponentsResponse>;
|
|
@@ -105,8 +105,8 @@ export declare class ComponentsClient {
|
|
|
105
105
|
* @example
|
|
106
106
|
* await client.components.countComponents({
|
|
107
107
|
* q: "q",
|
|
108
|
-
* limit:
|
|
109
|
-
* offset:
|
|
108
|
+
* limit: 1000000,
|
|
109
|
+
* offset: 1000000
|
|
110
110
|
* })
|
|
111
111
|
*/
|
|
112
112
|
countComponents(request?: Schematic.CountComponentsRequest, requestOptions?: ComponentsClient.RequestOptions): core.HttpResponsePromise<Schematic.CountComponentsResponse>;
|
|
@@ -23,8 +23,8 @@ export declare class CreditsClient {
|
|
|
23
23
|
* @example
|
|
24
24
|
* await client.credits.listBillingCredits({
|
|
25
25
|
* name: "name",
|
|
26
|
-
* limit:
|
|
27
|
-
* offset:
|
|
26
|
+
* limit: 1000000,
|
|
27
|
+
* offset: 1000000
|
|
28
28
|
* })
|
|
29
29
|
*/
|
|
30
30
|
listBillingCredits(request?: Schematic.ListBillingCreditsRequest, requestOptions?: CreditsClient.RequestOptions): core.HttpResponsePromise<Schematic.ListBillingCreditsResponse>;
|
|
@@ -111,8 +111,8 @@ export declare class CreditsClient {
|
|
|
111
111
|
* creditId: "credit_id",
|
|
112
112
|
* status: "active",
|
|
113
113
|
* bundleType: "fixed",
|
|
114
|
-
* limit:
|
|
115
|
-
* offset:
|
|
114
|
+
* limit: 1000000,
|
|
115
|
+
* offset: 1000000
|
|
116
116
|
* })
|
|
117
117
|
*/
|
|
118
118
|
listCreditBundles(request?: Schematic.ListCreditBundlesRequest, requestOptions?: CreditsClient.RequestOptions): core.HttpResponsePromise<Schematic.ListCreditBundlesResponse>;
|
|
@@ -132,7 +132,7 @@ export declare class CreditsClient {
|
|
|
132
132
|
* bundleName: "bundle_name",
|
|
133
133
|
* creditId: "credit_id",
|
|
134
134
|
* currency: "currency",
|
|
135
|
-
* pricePerUnit:
|
|
135
|
+
* pricePerUnit: 1000000
|
|
136
136
|
* })
|
|
137
137
|
*/
|
|
138
138
|
createCreditBundle(request: Schematic.CreateCreditBundleRequestBody, requestOptions?: CreditsClient.RequestOptions): core.HttpResponsePromise<Schematic.CreateCreditBundleResponse>;
|
|
@@ -165,7 +165,7 @@ export declare class CreditsClient {
|
|
|
165
165
|
* @example
|
|
166
166
|
* await client.credits.updateCreditBundleDetails("bundle_id", {
|
|
167
167
|
* bundleName: "bundle_name",
|
|
168
|
-
* pricePerUnit:
|
|
168
|
+
* pricePerUnit: 1000000
|
|
169
169
|
* })
|
|
170
170
|
*/
|
|
171
171
|
updateCreditBundleDetails(bundle_id: string, request: Schematic.UpdateCreditBundleDetailsRequestBody, requestOptions?: CreditsClient.RequestOptions): core.HttpResponsePromise<Schematic.UpdateCreditBundleDetailsResponse>;
|
|
@@ -200,8 +200,8 @@ export declare class CreditsClient {
|
|
|
200
200
|
* creditId: "credit_id",
|
|
201
201
|
* status: "active",
|
|
202
202
|
* bundleType: "fixed",
|
|
203
|
-
* limit:
|
|
204
|
-
* offset:
|
|
203
|
+
* limit: 1000000,
|
|
204
|
+
* offset: 1000000
|
|
205
205
|
* })
|
|
206
206
|
*/
|
|
207
207
|
countCreditBundles(request?: Schematic.CountCreditBundlesRequest, requestOptions?: CreditsClient.RequestOptions): core.HttpResponsePromise<Schematic.CountCreditBundlesResponse>;
|
|
@@ -219,8 +219,8 @@ export declare class CreditsClient {
|
|
|
219
219
|
* @example
|
|
220
220
|
* await client.credits.countBillingCredits({
|
|
221
221
|
* name: "name",
|
|
222
|
-
* limit:
|
|
223
|
-
* offset:
|
|
222
|
+
* limit: 1000000,
|
|
223
|
+
* offset: 1000000
|
|
224
224
|
* })
|
|
225
225
|
*/
|
|
226
226
|
countBillingCredits(request?: Schematic.CountBillingCreditsRequest, requestOptions?: CreditsClient.RequestOptions): core.HttpResponsePromise<Schematic.CountBillingCreditsResponse>;
|
|
@@ -255,8 +255,8 @@ export declare class CreditsClient {
|
|
|
255
255
|
* await client.credits.grantBillingCreditsToCompany({
|
|
256
256
|
* companyId: "company_id",
|
|
257
257
|
* creditId: "credit_id",
|
|
258
|
-
* quantity:
|
|
259
|
-
* reason: "
|
|
258
|
+
* quantity: 1000000,
|
|
259
|
+
* reason: "adjustment"
|
|
260
260
|
* })
|
|
261
261
|
*/
|
|
262
262
|
grantBillingCreditsToCompany(request: Schematic.CreateCompanyCreditGrant, requestOptions?: CreditsClient.RequestOptions): core.HttpResponsePromise<Schematic.GrantBillingCreditsToCompanyResponse>;
|
|
@@ -276,8 +276,8 @@ export declare class CreditsClient {
|
|
|
276
276
|
* companyId: "company_id",
|
|
277
277
|
* order: "created_at",
|
|
278
278
|
* dir: "asc",
|
|
279
|
-
* limit:
|
|
280
|
-
* offset:
|
|
279
|
+
* limit: 1000000,
|
|
280
|
+
* offset: 1000000
|
|
281
281
|
* })
|
|
282
282
|
*/
|
|
283
283
|
countCompanyGrants(request?: Schematic.CountCompanyGrantsRequest, requestOptions?: CreditsClient.RequestOptions): core.HttpResponsePromise<Schematic.CountCompanyGrantsResponse>;
|
|
@@ -297,8 +297,8 @@ export declare class CreditsClient {
|
|
|
297
297
|
* companyId: "company_id",
|
|
298
298
|
* order: "created_at",
|
|
299
299
|
* dir: "asc",
|
|
300
|
-
* limit:
|
|
301
|
-
* offset:
|
|
300
|
+
* limit: 1000000,
|
|
301
|
+
* offset: 1000000
|
|
302
302
|
* })
|
|
303
303
|
*/
|
|
304
304
|
listCompanyGrants(request?: Schematic.ListCompanyGrantsRequest, requestOptions?: CreditsClient.RequestOptions): core.HttpResponsePromise<Schematic.ListCompanyGrantsResponse>;
|
|
@@ -316,8 +316,8 @@ export declare class CreditsClient {
|
|
|
316
316
|
* @example
|
|
317
317
|
* await client.credits.countBillingCreditsGrants({
|
|
318
318
|
* creditId: "credit_id",
|
|
319
|
-
* limit:
|
|
320
|
-
* offset:
|
|
319
|
+
* limit: 1000000,
|
|
320
|
+
* offset: 1000000
|
|
321
321
|
* })
|
|
322
322
|
*/
|
|
323
323
|
countBillingCreditsGrants(request?: Schematic.CountBillingCreditsGrantsRequest, requestOptions?: CreditsClient.RequestOptions): core.HttpResponsePromise<Schematic.CountBillingCreditsGrantsResponse>;
|
|
@@ -335,8 +335,8 @@ export declare class CreditsClient {
|
|
|
335
335
|
* @example
|
|
336
336
|
* await client.credits.listGrantsForCredit({
|
|
337
337
|
* creditId: "credit_id",
|
|
338
|
-
* limit:
|
|
339
|
-
* offset:
|
|
338
|
+
* limit: 1000000,
|
|
339
|
+
* offset: 1000000
|
|
340
340
|
* })
|
|
341
341
|
*/
|
|
342
342
|
listGrantsForCredit(request?: Schematic.ListGrantsForCreditRequest, requestOptions?: CreditsClient.RequestOptions): core.HttpResponsePromise<Schematic.ListGrantsForCreditResponse>;
|
|
@@ -359,8 +359,8 @@ export declare class CreditsClient {
|
|
|
359
359
|
* period: "daily",
|
|
360
360
|
* startTime: "start_time",
|
|
361
361
|
* endTime: "end_time",
|
|
362
|
-
* limit:
|
|
363
|
-
* offset:
|
|
362
|
+
* limit: 1000000,
|
|
363
|
+
* offset: 1000000
|
|
364
364
|
* })
|
|
365
365
|
*/
|
|
366
366
|
getEnrichedCreditLedger(request: Schematic.GetEnrichedCreditLedgerRequest, requestOptions?: CreditsClient.RequestOptions): core.HttpResponsePromise<Schematic.GetEnrichedCreditLedgerResponse>;
|
|
@@ -383,8 +383,8 @@ export declare class CreditsClient {
|
|
|
383
383
|
* period: "daily",
|
|
384
384
|
* startTime: "start_time",
|
|
385
385
|
* endTime: "end_time",
|
|
386
|
-
* limit:
|
|
387
|
-
* offset:
|
|
386
|
+
* limit: 1000000,
|
|
387
|
+
* offset: 1000000
|
|
388
388
|
* })
|
|
389
389
|
*/
|
|
390
390
|
countCreditLedger(request: Schematic.CountCreditLedgerRequest, requestOptions?: CreditsClient.RequestOptions): core.HttpResponsePromise<Schematic.CountCreditLedgerResponse>;
|
|
@@ -404,8 +404,8 @@ export declare class CreditsClient {
|
|
|
404
404
|
* creditId: "credit_id",
|
|
405
405
|
* planId: "plan_id",
|
|
406
406
|
* planVersionId: "plan_version_id",
|
|
407
|
-
* limit:
|
|
408
|
-
* offset:
|
|
407
|
+
* limit: 1000000,
|
|
408
|
+
* offset: 1000000
|
|
409
409
|
* })
|
|
410
410
|
*/
|
|
411
411
|
listBillingPlanCreditGrants(request?: Schematic.ListBillingPlanCreditGrantsRequest, requestOptions?: CreditsClient.RequestOptions): core.HttpResponsePromise<Schematic.ListBillingPlanCreditGrantsResponse>;
|
|
@@ -422,7 +422,7 @@ export declare class CreditsClient {
|
|
|
422
422
|
*
|
|
423
423
|
* @example
|
|
424
424
|
* await client.credits.createBillingPlanCreditGrant({
|
|
425
|
-
* creditAmount:
|
|
425
|
+
* creditAmount: 1000000,
|
|
426
426
|
* creditId: "credit_id",
|
|
427
427
|
* planId: "plan_id",
|
|
428
428
|
* resetCadence: "daily",
|
|
@@ -431,6 +431,20 @@ export declare class CreditsClient {
|
|
|
431
431
|
*/
|
|
432
432
|
createBillingPlanCreditGrant(request: Schematic.CreateBillingPlanCreditGrantRequestBody, requestOptions?: CreditsClient.RequestOptions): core.HttpResponsePromise<Schematic.CreateBillingPlanCreditGrantResponse>;
|
|
433
433
|
private __createBillingPlanCreditGrant;
|
|
434
|
+
/**
|
|
435
|
+
* @param {string} plan_grant_id - plan_grant_id
|
|
436
|
+
* @param {CreditsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
437
|
+
*
|
|
438
|
+
* @throws {@link Schematic.UnauthorizedError}
|
|
439
|
+
* @throws {@link Schematic.ForbiddenError}
|
|
440
|
+
* @throws {@link Schematic.NotFoundError}
|
|
441
|
+
* @throws {@link Schematic.InternalServerError}
|
|
442
|
+
*
|
|
443
|
+
* @example
|
|
444
|
+
* await client.credits.getSingleBillingPlanCreditGrant("plan_grant_id")
|
|
445
|
+
*/
|
|
446
|
+
getSingleBillingPlanCreditGrant(plan_grant_id: string, requestOptions?: CreditsClient.RequestOptions): core.HttpResponsePromise<Schematic.GetSingleBillingPlanCreditGrantResponse>;
|
|
447
|
+
private __getSingleBillingPlanCreditGrant;
|
|
434
448
|
/**
|
|
435
449
|
* @param {string} plan_grant_id - plan_grant_id
|
|
436
450
|
* @param {Schematic.UpdateBillingPlanCreditGrantRequestBody} request
|
|
@@ -483,8 +497,8 @@ export declare class CreditsClient {
|
|
|
483
497
|
* creditId: "credit_id",
|
|
484
498
|
* planId: "plan_id",
|
|
485
499
|
* planVersionId: "plan_version_id",
|
|
486
|
-
* limit:
|
|
487
|
-
* offset:
|
|
500
|
+
* limit: 1000000,
|
|
501
|
+
* offset: 1000000
|
|
488
502
|
* })
|
|
489
503
|
*/
|
|
490
504
|
countBillingPlanCreditGrants(request?: Schematic.CountBillingPlanCreditGrantsRequest, requestOptions?: CreditsClient.RequestOptions): core.HttpResponsePromise<Schematic.CountBillingPlanCreditGrantsResponse>;
|
|
@@ -507,8 +521,8 @@ export declare class CreditsClient {
|
|
|
507
521
|
* eventType: "grant",
|
|
508
522
|
* featureId: "feature_id",
|
|
509
523
|
* startTime: "start_time",
|
|
510
|
-
* limit:
|
|
511
|
-
* offset:
|
|
524
|
+
* limit: 1000000,
|
|
525
|
+
* offset: 1000000
|
|
512
526
|
* })
|
|
513
527
|
*/
|
|
514
528
|
listCreditEventLedger(request: Schematic.ListCreditEventLedgerRequest, requestOptions?: CreditsClient.RequestOptions): core.HttpResponsePromise<Schematic.ListCreditEventLedgerResponse>;
|
|
@@ -531,8 +545,8 @@ export declare class CreditsClient {
|
|
|
531
545
|
* eventType: "grant",
|
|
532
546
|
* featureId: "feature_id",
|
|
533
547
|
* startTime: "start_time",
|
|
534
|
-
* limit:
|
|
535
|
-
* offset:
|
|
548
|
+
* limit: 1000000,
|
|
549
|
+
* offset: 1000000
|
|
536
550
|
* })
|
|
537
551
|
*/
|
|
538
552
|
countCreditEventLedger(request: Schematic.CountCreditEventLedgerRequest, requestOptions?: CreditsClient.RequestOptions): core.HttpResponsePromise<Schematic.CountCreditEventLedgerResponse>;
|
|
@@ -8,8 +8,8 @@ import type * as Schematic from "../../../../index";
|
|
|
8
8
|
* eventType: "grant",
|
|
9
9
|
* featureId: "feature_id",
|
|
10
10
|
* startTime: "start_time",
|
|
11
|
-
* limit:
|
|
12
|
-
* offset:
|
|
11
|
+
* limit: 1000000,
|
|
12
|
+
* offset: 1000000
|
|
13
13
|
* }
|
|
14
14
|
*/
|
|
15
15
|
export interface CountCreditEventLedgerRequest {
|
|
@@ -8,8 +8,8 @@ import type * as Schematic from "../../../../index";
|
|
|
8
8
|
* period: "daily",
|
|
9
9
|
* startTime: "start_time",
|
|
10
10
|
* endTime: "end_time",
|
|
11
|
-
* limit:
|
|
12
|
-
* offset:
|
|
11
|
+
* limit: 1000000,
|
|
12
|
+
* offset: 1000000
|
|
13
13
|
* }
|
|
14
14
|
*/
|
|
15
15
|
export interface CountCreditLedgerRequest {
|
|
@@ -10,6 +10,7 @@ import type * as Schematic from "../../../../index";
|
|
|
10
10
|
export interface CreateBillingCreditRequestBody {
|
|
11
11
|
burnStrategy?: Schematic.BillingCreditBurnStrategy;
|
|
12
12
|
currency: string;
|
|
13
|
+
currencyPrices?: Schematic.CreditCurrencyPriceRequestBody[];
|
|
13
14
|
defaultExpiryUnit?: Schematic.BillingCreditExpiryUnit;
|
|
14
15
|
defaultExpiryUnitCount?: number;
|
|
15
16
|
defaultRolloverPolicy?: Schematic.BillingCreditRolloverPolicy;
|
|
@@ -4,14 +4,15 @@ import type * as Schematic from "../../../../index";
|
|
|
4
4
|
* {
|
|
5
5
|
* companyId: "company_id",
|
|
6
6
|
* creditId: "credit_id",
|
|
7
|
-
* quantity:
|
|
8
|
-
* reason: "
|
|
7
|
+
* quantity: 1000000,
|
|
8
|
+
* reason: "adjustment"
|
|
9
9
|
* }
|
|
10
10
|
*/
|
|
11
11
|
export interface CreateCompanyCreditGrant {
|
|
12
12
|
billingPeriodsCount?: number;
|
|
13
13
|
companyId: string;
|
|
14
14
|
creditId: string;
|
|
15
|
+
currency?: string;
|
|
15
16
|
expiresAt?: Date;
|
|
16
17
|
expiryType?: Schematic.BillingCreditExpiryType;
|
|
17
18
|
expiryUnit?: Schematic.BillingCreditExpiryUnit;
|
|
@@ -5,7 +5,7 @@ import type * as Schematic from "../../../../index";
|
|
|
5
5
|
* bundleName: "bundle_name",
|
|
6
6
|
* creditId: "credit_id",
|
|
7
7
|
* currency: "currency",
|
|
8
|
-
* pricePerUnit:
|
|
8
|
+
* pricePerUnit: 1000000
|
|
9
9
|
* }
|
|
10
10
|
*/
|
|
11
11
|
export interface CreateCreditBundleRequestBody {
|
|
@@ -13,6 +13,7 @@ export interface CreateCreditBundleRequestBody {
|
|
|
13
13
|
bundleType?: Schematic.BillingCreditBundleType;
|
|
14
14
|
creditId: string;
|
|
15
15
|
currency: string;
|
|
16
|
+
currencyPrices?: Schematic.CreditBundleCurrencyPriceRequestBody[];
|
|
16
17
|
expiryType?: Schematic.BillingCreditExpiryType;
|
|
17
18
|
expiryUnit?: Schematic.BillingCreditExpiryUnit;
|
|
18
19
|
expiryUnitCount?: number;
|
|
@@ -8,8 +8,8 @@ import type * as Schematic from "../../../../index";
|
|
|
8
8
|
* period: "daily",
|
|
9
9
|
* startTime: "start_time",
|
|
10
10
|
* endTime: "end_time",
|
|
11
|
-
* limit:
|
|
12
|
-
* offset:
|
|
11
|
+
* limit: 1000000,
|
|
12
|
+
* offset: 1000000
|
|
13
13
|
* }
|
|
14
14
|
*/
|
|
15
15
|
export interface GetEnrichedCreditLedgerRequest {
|
|
@@ -8,8 +8,8 @@ import type * as Schematic from "../../../../index";
|
|
|
8
8
|
* eventType: "grant",
|
|
9
9
|
* featureId: "feature_id",
|
|
10
10
|
* startTime: "start_time",
|
|
11
|
-
* limit:
|
|
12
|
-
* offset:
|
|
11
|
+
* limit: 1000000,
|
|
12
|
+
* offset: 1000000
|
|
13
13
|
* }
|
|
14
14
|
*/
|
|
15
15
|
export interface ListCreditEventLedgerRequest {
|
|
@@ -8,6 +8,7 @@ import type * as Schematic from "../../../../index";
|
|
|
8
8
|
*/
|
|
9
9
|
export interface UpdateBillingCreditRequestBody {
|
|
10
10
|
burnStrategy?: Schematic.BillingCreditBurnStrategy;
|
|
11
|
+
currencyPrices?: Schematic.CreditCurrencyPriceRequestBody[];
|
|
11
12
|
defaultExpiryUnit?: Schematic.BillingCreditExpiryUnit;
|
|
12
13
|
defaultExpiryUnitCount?: number;
|
|
13
14
|
defaultRolloverPolicy?: Schematic.BillingCreditRolloverPolicy;
|
package/dist/api/resources/credits/client/requests/UpdateCreditBundleDetailsRequestBody.d.ts
CHANGED
|
@@ -3,11 +3,12 @@ import type * as Schematic from "../../../../index";
|
|
|
3
3
|
* @example
|
|
4
4
|
* {
|
|
5
5
|
* bundleName: "bundle_name",
|
|
6
|
-
* pricePerUnit:
|
|
6
|
+
* pricePerUnit: 1000000
|
|
7
7
|
* }
|
|
8
8
|
*/
|
|
9
9
|
export interface UpdateCreditBundleDetailsRequestBody {
|
|
10
10
|
bundleName: string;
|
|
11
|
+
currencyPrices?: Schematic.CreditBundleCurrencyPriceRequestBody[];
|
|
11
12
|
expiryType?: Schematic.BillingCreditExpiryType;
|
|
12
13
|
expiryUnit?: Schematic.BillingCreditExpiryUnit;
|
|
13
14
|
expiryUnitCount?: number;
|
|
@@ -22,6 +22,7 @@ export * from "./GetCreditBundleResponse";
|
|
|
22
22
|
export * from "./GetEnrichedCreditLedgerParams";
|
|
23
23
|
export * from "./GetEnrichedCreditLedgerResponse";
|
|
24
24
|
export * from "./GetSingleBillingCreditResponse";
|
|
25
|
+
export * from "./GetSingleBillingPlanCreditGrantResponse";
|
|
25
26
|
export * from "./GrantBillingCreditsToCompanyResponse";
|
|
26
27
|
export * from "./ListBillingCreditsParams";
|
|
27
28
|
export * from "./ListBillingCreditsResponse";
|