@schematichq/schematic-typescript-node 1.2.1 → 1.2.3
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/README.md +114 -0
- package/dist/Client.d.ts +2 -2
- package/dist/api/resources/accesstokens/client/Client.d.ts +3 -3
- package/dist/api/resources/accesstokens/client/requests/IssueTemporaryAccessTokenRequestBody.d.ts +1 -3
- package/dist/api/resources/accounts/client/Client.d.ts +29 -8
- package/dist/api/resources/accounts/client/requests/CountApiKeysRequest.d.ts +4 -1
- package/dist/api/resources/accounts/client/requests/CountApiRequestsRequest.d.ts +7 -1
- package/dist/api/resources/accounts/client/requests/ListApiKeysRequest.d.ts +4 -1
- package/dist/api/resources/accounts/client/requests/ListApiRequestsRequest.d.ts +7 -1
- package/dist/api/resources/accounts/client/requests/ListEnvironmentsRequest.d.ts +4 -1
- package/dist/api/resources/accounts/types/ListApiKeysResponse.d.ts +0 -1
- package/dist/api/resources/accounts/types/ListApiRequestsResponse.d.ts +0 -1
- package/dist/api/resources/accounts/types/ListEnvironmentsResponse.d.ts +0 -1
- package/dist/api/resources/billing/client/Client.d.ts +87 -15
- package/dist/api/resources/billing/client/requests/CountBillingProductsRequest.d.ts +12 -1
- package/dist/api/resources/billing/client/requests/CountCustomersRequest.d.ts +7 -1
- package/dist/api/resources/billing/client/requests/{CreateBillingSubscriptionsRequestBody.d.ts → CreateBillingSubscriptionRequestBody.d.ts} +3 -2
- package/dist/api/resources/billing/client/requests/ListBillingProductsRequest.d.ts +12 -1
- package/dist/api/resources/billing/client/requests/ListCouponsRequest.d.ts +6 -1
- package/dist/api/resources/billing/client/requests/ListCustomersWithSubscriptionsRequest.d.ts +7 -1
- package/dist/api/resources/billing/client/requests/ListInvoicesRequest.d.ts +4 -1
- package/dist/api/resources/billing/client/requests/ListMetersRequest.d.ts +5 -1
- package/dist/api/resources/billing/client/requests/ListPaymentMethodsRequest.d.ts +4 -1
- package/dist/api/resources/billing/client/requests/ListProductPricesRequest.d.ts +12 -1
- package/dist/api/resources/billing/client/requests/SearchBillingPricesRequest.d.ts +28 -3
- package/dist/api/resources/billing/client/requests/index.d.ts +1 -1
- package/dist/api/resources/billing/types/CreateBillingSubscriptionRequestBodyTrialEndSetting.d.ts +8 -0
- package/dist/api/resources/billing/types/ListBillingProductsResponse.d.ts +0 -1
- package/dist/api/resources/billing/types/ListCouponsResponse.d.ts +0 -1
- package/dist/api/resources/billing/types/ListCustomersWithSubscriptionsResponse.d.ts +0 -1
- package/dist/api/resources/billing/types/ListInvoicesResponse.d.ts +0 -1
- package/dist/api/resources/billing/types/ListMetersResponse.d.ts +0 -1
- package/dist/api/resources/billing/types/ListPaymentMethodsResponse.d.ts +0 -1
- package/dist/api/resources/billing/types/ListProductPricesResponse.d.ts +0 -1
- package/dist/api/resources/billing/types/SearchBillingPricesParams.d.ts +7 -0
- package/dist/api/resources/billing/types/SearchBillingPricesResponse.d.ts +0 -1
- package/dist/api/resources/billing/types/index.d.ts +2 -2
- package/dist/api/resources/checkout/client/Client.d.ts +59 -3
- package/dist/api/resources/checkout/types/CheckoutInternalResponse.d.ts +1 -1
- package/dist/api/resources/checkout/types/ManagePlanResponse.d.ts +9 -0
- package/dist/api/resources/checkout/types/PreviewManagePlanResponse.d.ts +9 -0
- package/dist/api/resources/checkout/types/index.d.ts +2 -0
- package/dist/api/resources/companies/client/Client.d.ts +132 -19
- package/dist/api/resources/companies/client/requests/CountCompaniesForAdvancedFilterRequest.d.ts +15 -2
- package/dist/api/resources/companies/client/requests/CountCompaniesRequest.d.ts +9 -1
- package/dist/api/resources/companies/client/requests/CountEntityKeyDefinitionsRequest.d.ts +6 -1
- package/dist/api/resources/companies/client/requests/CountEntityTraitDefinitionsRequest.d.ts +7 -1
- package/dist/api/resources/companies/client/requests/CountPlanTraitsRequest.d.ts +6 -1
- package/dist/api/resources/companies/client/requests/CountUsersRequest.d.ts +7 -1
- package/dist/api/resources/companies/client/requests/GetActiveCompanySubscriptionRequest.d.ts +5 -1
- package/dist/api/resources/companies/client/requests/GetActiveDealsRequest.d.ts +3 -1
- package/dist/api/resources/companies/client/requests/GetEntityTraitValuesRequest.d.ts +4 -1
- package/dist/api/resources/companies/client/requests/ListCompaniesForAdvancedFilterRequest.d.ts +15 -2
- package/dist/api/resources/companies/client/requests/ListCompaniesRequest.d.ts +9 -1
- package/dist/api/resources/companies/client/requests/ListCompanyMembershipsRequest.d.ts +6 -1
- package/dist/api/resources/companies/client/requests/ListEntityKeyDefinitionsRequest.d.ts +6 -1
- package/dist/api/resources/companies/client/requests/ListEntityTraitDefinitionsRequest.d.ts +7 -1
- package/dist/api/resources/companies/client/requests/ListPlanTraitsRequest.d.ts +6 -1
- package/dist/api/resources/companies/client/requests/ListUsersRequest.d.ts +7 -1
- package/dist/api/resources/companies/client/requests/UpdatePlanTraitBulkRequestBody.d.ts +18 -0
- package/dist/api/resources/companies/client/requests/index.d.ts +1 -0
- package/dist/api/resources/companies/types/CountCompaniesForAdvancedFilterParams.d.ts +3 -1
- package/dist/api/resources/companies/types/GetActiveCompanySubscriptionResponse.d.ts +0 -1
- package/dist/api/resources/companies/types/GetActiveDealsResponse.d.ts +0 -1
- package/dist/api/resources/companies/types/GetEntityTraitValuesResponse.d.ts +0 -1
- package/dist/api/resources/companies/types/ListCompaniesForAdvancedFilterParams.d.ts +3 -1
- package/dist/api/resources/companies/types/ListCompaniesForAdvancedFilterResponse.d.ts +0 -1
- package/dist/api/resources/companies/types/ListCompaniesResponse.d.ts +0 -1
- package/dist/api/resources/companies/types/ListCompanyMembershipsResponse.d.ts +0 -1
- package/dist/api/resources/companies/types/ListEntityKeyDefinitionsResponse.d.ts +0 -1
- package/dist/api/resources/companies/types/ListEntityTraitDefinitionsResponse.d.ts +0 -1
- package/dist/api/resources/companies/types/ListPlanTraitsResponse.d.ts +0 -1
- package/dist/api/resources/companies/types/ListUsersResponse.d.ts +0 -1
- package/dist/api/resources/companies/types/UpdatePlanTraitsBulkResponse.d.ts +9 -0
- package/dist/api/resources/companies/types/index.d.ts +1 -0
- package/dist/api/resources/components/client/Client.d.ts +17 -6
- package/dist/api/resources/components/client/requests/CountComponentsRequest.d.ts +5 -1
- package/dist/api/resources/components/client/requests/ListComponentsRequest.d.ts +5 -1
- package/dist/api/resources/components/client/requests/PreviewComponentDataRequest.d.ts +4 -1
- package/dist/api/resources/components/types/ListComponentsResponse.d.ts +0 -1
- package/dist/api/resources/credits/client/Client.d.ts +104 -12
- package/dist/api/resources/credits/client/requests/CountBillingCreditsGrantsRequest.d.ts +5 -1
- package/dist/api/resources/credits/client/requests/CountBillingCreditsRequest.d.ts +5 -1
- package/dist/api/resources/credits/client/requests/CountBillingPlanCreditGrantsRequest.d.ts +6 -1
- package/dist/api/resources/credits/client/requests/CountCreditBundlesRequest.d.ts +7 -1
- package/dist/api/resources/credits/client/requests/CountCreditLedgerRequest.d.ts +33 -0
- package/dist/api/resources/credits/client/requests/CreateBillingPlanCreditGrantRequestBody.d.ts +4 -0
- package/dist/api/resources/credits/client/requests/CreateCompanyCreditGrant.d.ts +5 -0
- package/dist/api/resources/credits/client/requests/CreateCreditBundleRequestBody.d.ts +1 -1
- package/dist/api/resources/credits/client/requests/GetEnrichedCreditLedgerRequest.d.ts +33 -0
- package/dist/api/resources/credits/client/requests/ListBillingCreditsRequest.d.ts +5 -1
- package/dist/api/resources/credits/client/requests/ListBillingPlanCreditGrantsRequest.d.ts +6 -1
- package/dist/api/resources/credits/client/requests/ListCompanyGrantsRequest.d.ts +7 -1
- package/dist/api/resources/credits/client/requests/ListCreditBundlesRequest.d.ts +7 -1
- package/dist/api/resources/credits/client/requests/ListGrantsForCreditRequest.d.ts +5 -1
- package/dist/api/resources/credits/client/requests/UpdateCreditBundleDetailsRequestBody.d.ts +1 -0
- package/dist/api/resources/credits/client/requests/index.d.ts +2 -0
- package/dist/api/resources/credits/types/CountCreditLedgerParams.d.ts +19 -0
- package/dist/api/resources/credits/types/CountCreditLedgerRequestPeriod.d.ts +10 -0
- package/dist/api/resources/credits/types/CountCreditLedgerResponse.d.ts +9 -0
- package/dist/api/resources/credits/types/CountCreditLedgerResponseParamsPeriod.d.ts +10 -0
- package/dist/api/resources/credits/types/CreateBillingPlanCreditGrantRequestBodyExpiryType.d.ts +11 -0
- package/dist/api/resources/credits/types/CreateBillingPlanCreditGrantRequestBodyExpiryUnit.d.ts +8 -0
- package/dist/api/resources/credits/types/CreateBillingPlanCreditGrantRequestBodyResetType.d.ts +8 -0
- package/dist/api/resources/credits/types/CreateCompanyCreditGrantExpiryType.d.ts +11 -0
- package/dist/api/resources/credits/types/CreateCompanyCreditGrantExpiryUnit.d.ts +8 -0
- package/dist/api/resources/credits/types/CreateCreditBundleRequestBodyExpiryType.d.ts +5 -2
- package/dist/api/resources/credits/types/CreateCreditBundleRequestBodyExpiryUnit.d.ts +8 -0
- package/dist/api/resources/credits/types/GetEnrichedCreditLedgerParams.d.ts +19 -0
- package/dist/api/resources/credits/types/GetEnrichedCreditLedgerRequestPeriod.d.ts +10 -0
- package/dist/api/resources/credits/types/GetEnrichedCreditLedgerResponse.d.ts +9 -0
- package/dist/api/resources/credits/types/GetEnrichedCreditLedgerResponseParamsPeriod.d.ts +10 -0
- package/dist/api/resources/credits/types/ListBillingCreditsResponse.d.ts +0 -1
- package/dist/api/resources/credits/types/ListBillingPlanCreditGrantsResponse.d.ts +0 -1
- package/dist/api/resources/credits/types/ListCompanyGrantsResponse.d.ts +0 -1
- package/dist/api/resources/credits/types/ListCreditBundlesResponse.d.ts +0 -1
- package/dist/api/resources/credits/types/ListGrantsForCreditResponse.d.ts +0 -1
- package/dist/api/resources/credits/types/UpdateCreditBundleDetailsRequestBodyExpiryType.d.ts +5 -2
- package/dist/api/resources/credits/types/UpdateCreditBundleDetailsRequestBodyExpiryUnit.d.ts +8 -0
- package/dist/api/resources/credits/types/ZeroOutGrantRequestBodyReason.d.ts +2 -1
- package/dist/api/resources/credits/types/index.d.ts +15 -0
- package/dist/api/resources/crm/client/Client.d.ts +8 -4
- package/dist/api/resources/crm/client/requests/ListCrmProductsRequest.d.ts +5 -1
- package/dist/api/resources/crm/types/ListCrmProductsResponse.d.ts +0 -1
- package/dist/api/resources/dataexports/client/Client.d.ts +3 -3
- package/dist/api/resources/entitlements/client/Client.d.ts +65 -13
- package/dist/api/resources/entitlements/client/requests/CountCompanyOverridesRequest.d.ts +8 -1
- package/dist/api/resources/entitlements/client/requests/CountFeatureCompaniesRequest.d.ts +4 -1
- package/dist/api/resources/entitlements/client/requests/CountFeatureUsageRequest.d.ts +7 -1
- package/dist/api/resources/entitlements/client/requests/CountFeatureUsersRequest.d.ts +4 -1
- package/dist/api/resources/entitlements/client/requests/CountPlanEntitlementsRequest.d.ts +8 -1
- package/dist/api/resources/entitlements/client/requests/CreateCompanyOverrideRequestBody.d.ts +1 -0
- package/dist/api/resources/entitlements/client/requests/CreatePlanEntitlementRequestBody.d.ts +1 -0
- package/dist/api/resources/entitlements/client/requests/ListCompanyOverridesRequest.d.ts +8 -1
- package/dist/api/resources/entitlements/client/requests/ListFeatureCompaniesRequest.d.ts +4 -1
- package/dist/api/resources/entitlements/client/requests/ListFeatureUsageRequest.d.ts +7 -1
- package/dist/api/resources/entitlements/client/requests/ListFeatureUsersRequest.d.ts +4 -1
- package/dist/api/resources/entitlements/client/requests/ListPlanEntitlementsRequest.d.ts +8 -1
- package/dist/api/resources/entitlements/client/requests/UpdateCompanyOverrideRequestBody.d.ts +1 -0
- package/dist/api/resources/entitlements/client/requests/UpdatePlanEntitlementRequestBody.d.ts +1 -0
- package/dist/api/resources/entitlements/types/ListCompanyOverridesResponse.d.ts +0 -1
- package/dist/api/resources/entitlements/types/ListFeatureCompaniesResponse.d.ts +0 -1
- package/dist/api/resources/entitlements/types/ListFeatureUsageResponse.d.ts +0 -1
- package/dist/api/resources/entitlements/types/ListFeatureUsersResponse.d.ts +0 -1
- package/dist/api/resources/entitlements/types/ListPlanEntitlementsResponse.d.ts +0 -1
- package/dist/api/resources/events/client/Client.d.ts +16 -5
- package/dist/api/resources/events/client/requests/GetEventSummariesRequest.d.ts +5 -1
- package/dist/api/resources/events/client/requests/ListEventsRequest.d.ts +8 -1
- package/dist/api/resources/events/types/GetEventSummariesResponse.d.ts +0 -1
- package/dist/api/resources/events/types/ListEventsResponse.d.ts +0 -1
- package/dist/api/resources/features/client/Client.d.ts +31 -7
- package/dist/api/resources/features/client/requests/CountFeaturesRequest.d.ts +11 -1
- package/dist/api/resources/features/client/requests/CountFlagsRequest.d.ts +9 -1
- package/dist/api/resources/features/client/requests/ListFeaturesRequest.d.ts +11 -1
- package/dist/api/resources/features/client/requests/ListFlagsRequest.d.ts +9 -1
- package/dist/api/resources/features/types/CountFeaturesParams.d.ts +1 -0
- package/dist/api/resources/features/types/CountFlagsParams.d.ts +1 -0
- package/dist/api/resources/features/types/ListAudienceCompaniesResponse.d.ts +0 -1
- package/dist/api/resources/features/types/ListAudienceUsersResponse.d.ts +0 -1
- package/dist/api/resources/features/types/ListFeaturesParams.d.ts +1 -0
- package/dist/api/resources/features/types/ListFeaturesResponse.d.ts +0 -1
- package/dist/api/resources/features/types/ListFlagsParams.d.ts +1 -0
- package/dist/api/resources/features/types/ListFlagsResponse.d.ts +0 -1
- package/dist/api/resources/plangroups/client/Client.d.ts +21 -5
- package/dist/api/resources/plangroups/client/requests/CreatePlanGroupRequestBody.d.ts +22 -1
- package/dist/api/resources/plangroups/client/requests/UpdatePlanGroupRequestBody.d.ts +22 -1
- package/dist/api/resources/plans/client/Client.d.ts +50 -5
- package/dist/api/resources/plans/client/requests/CountPlansRequest.d.ts +31 -1
- package/dist/api/resources/plans/client/requests/ListPlanIssuesRequest.d.ts +12 -0
- package/dist/api/resources/plans/client/requests/ListPlansRequest.d.ts +31 -1
- package/dist/api/resources/plans/client/requests/index.d.ts +1 -0
- package/dist/api/resources/plans/types/CountPlansParams.d.ts +8 -0
- package/dist/api/resources/plans/types/ListPlanIssuesParams.d.ts +9 -0
- package/dist/api/resources/plans/types/ListPlanIssuesResponse.d.ts +9 -0
- package/dist/api/resources/plans/types/ListPlansParams.d.ts +8 -0
- package/dist/api/resources/plans/types/ListPlansResponse.d.ts +0 -1
- package/dist/api/resources/plans/types/index.d.ts +2 -0
- package/dist/api/resources/webhooks/client/Client.d.ts +25 -7
- package/dist/api/resources/webhooks/client/requests/CountWebhookEventsRequest.d.ts +6 -1
- package/dist/api/resources/webhooks/client/requests/CountWebhooksRequest.d.ts +5 -1
- package/dist/api/resources/webhooks/client/requests/ListWebhookEventsRequest.d.ts +6 -1
- package/dist/api/resources/webhooks/client/requests/ListWebhooksRequest.d.ts +5 -1
- package/dist/api/resources/webhooks/types/ListWebhookEventsResponse.d.ts +0 -1
- package/dist/api/resources/webhooks/types/ListWebhooksResponse.d.ts +0 -1
- package/dist/api/types/ApiKeyCreateResponseData.d.ts +0 -3
- package/dist/api/types/ApiKeyRequestResponseData.d.ts +0 -3
- package/dist/api/types/ApiKeyResponseData.d.ts +0 -3
- package/dist/api/types/BillingCreditBundleResponseData.d.ts +1 -0
- package/dist/api/types/BillingCreditBundleView.d.ts +1 -0
- package/dist/api/types/BillingCreditLedgerResponseData.d.ts +11 -0
- package/dist/api/types/BillingCustomerResponseData.d.ts +0 -3
- package/dist/api/types/BillingPlanCreditGrantResponseData.d.ts +7 -0
- package/dist/api/types/BillingProductDetailResponseData.d.ts +2 -1
- package/dist/api/types/BillingProductForSubscriptionResponseData.d.ts +2 -0
- package/dist/api/types/BillingProductPlanResponseData.d.ts +0 -3
- package/dist/api/types/BillingProductPricing.d.ts +2 -0
- package/dist/api/types/BillingProductResponseData.d.ts +2 -1
- package/dist/api/types/BillingSubscriptionView.d.ts +0 -3
- package/dist/api/types/CheckFlagResponseData.d.ts +0 -3
- package/dist/api/types/CheckFlagsResponseData.d.ts +0 -3
- package/dist/api/types/CheckoutDataResponseData.d.ts +0 -3
- package/dist/api/types/CheckoutSettingsResponseData.d.ts +8 -0
- package/dist/api/types/CheckoutSubscription.d.ts +25 -0
- package/dist/api/types/CompanyDetailResponseData.d.ts +1 -0
- package/dist/api/types/CompanyLedgerResponseData.d.ts +8 -0
- package/dist/api/types/CompanyOverrideNoteResponseData.d.ts +11 -0
- package/dist/api/types/CompanyOverrideResponseData.d.ts +1 -0
- package/dist/api/types/CompanyPlanDetailResponseData.d.ts +1 -0
- package/dist/api/types/CompanyViewWithFeatureUsageResponseData.d.ts +1 -0
- package/dist/api/types/ComponentCheckoutSettings.d.ts +9 -0
- package/dist/api/types/ComponentHydrateResponseData.d.ts +4 -0
- package/dist/api/types/ComponentPreviewResponseData.d.ts +4 -3
- package/dist/api/types/ComponentResponseData.d.ts +0 -3
- package/dist/api/types/Condition.d.ts +21 -0
- package/dist/api/types/ConditionGroup.d.ts +7 -0
- package/dist/api/types/CountResponse.d.ts +2 -4
- package/dist/api/types/CreditCompanyGrantView.d.ts +3 -0
- package/dist/api/types/CreditGrantDetail.d.ts +10 -0
- package/dist/api/types/CreditGrantDetailGrantReason.d.ts +9 -0
- package/dist/api/types/CreditLedgerEnrichedEntryResponseData.d.ts +27 -0
- package/dist/api/types/CreditUsage.d.ts +14 -0
- package/dist/api/types/CreditUsageResponseData.d.ts +14 -0
- package/dist/api/types/CrmDealResponseData.d.ts +0 -3
- package/dist/api/types/CrmLineItemResponseData.d.ts +0 -3
- package/dist/api/types/CrmProductResponseData.d.ts +0 -3
- package/dist/api/types/DataExportResponseData.d.ts +0 -3
- package/dist/api/types/EnvironmentDetailResponseData.d.ts +0 -3
- package/dist/api/types/EnvironmentResponseData.d.ts +0 -3
- package/dist/api/types/FeatureCompanyResponseData.d.ts +34 -1
- package/dist/api/types/FeatureCompanyResponseDataCreditGrantReason.d.ts +12 -0
- package/dist/api/types/FeatureCompanyUserResponseDataAllocationType.d.ts +2 -1
- package/dist/api/types/FeatureLedgerResponseData.d.ts +9 -0
- package/dist/api/types/FeatureUsageDataResponseData.d.ts +8 -0
- package/dist/api/types/FeatureUsageResponseData.d.ts +25 -0
- package/dist/api/types/FeatureUsageResponseDataCreditGrantReason.d.ts +12 -0
- package/dist/api/types/IssueTemporaryAccessTokenResponseData.d.ts +0 -3
- package/dist/api/types/ManagePlanPreviewResponseResponseData.d.ts +7 -0
- package/dist/api/types/ManagePlanRequest.d.ts +15 -0
- package/dist/api/types/ManagePlanResponseResponseData.d.ts +8 -0
- package/dist/api/types/PlanAudienceDetailResponseData.d.ts +0 -3
- package/dist/api/types/PlanCreditGrantView.d.ts +4 -0
- package/dist/api/types/PlanDetailResponseData.d.ts +1 -0
- package/dist/api/types/PlanEntitlementResponseData.d.ts +1 -0
- package/dist/api/types/PlanGroupDetailResponseData.d.ts +16 -3
- package/dist/api/types/PlanGroupPlanDetailResponseData.d.ts +1 -0
- package/dist/api/types/PlanGroupResponseData.d.ts +11 -3
- package/dist/api/types/PlanIssueResponseData.d.ts +9 -0
- package/dist/api/types/PlanSelection.d.ts +7 -0
- package/dist/api/types/PlanTraitResponseData.d.ts +0 -3
- package/dist/api/types/PreviewSubscriptionChangeResponseData.d.ts +0 -3
- package/dist/api/types/PreviewSubscriptionFinanceResponseData.d.ts +3 -0
- package/dist/api/types/RawEventBatchResponseData.d.ts +0 -3
- package/dist/api/types/Rule.d.ts +16 -0
- package/dist/api/types/RulesDetailResponseData.d.ts +0 -3
- package/dist/api/types/SegmentStatusResp.d.ts +0 -3
- package/dist/api/types/TraitDefinition.d.ts +8 -0
- package/dist/api/types/UpdatePlanTraitTraitRequestBody.d.ts +7 -0
- package/dist/api/types/UsageBasedEntitlementRequestBody.d.ts +1 -0
- package/dist/api/types/UsageBasedEntitlementResponseData.d.ts +1 -0
- package/dist/api/types/index.d.ts +24 -0
- package/dist/index.js +3 -3
- package/dist/serialization/resources/accesstokens/client/requests/IssueTemporaryAccessTokenRequestBody.d.ts +0 -1
- package/dist/serialization/resources/billing/client/requests/{CreateBillingSubscriptionsRequestBody.d.ts → CreateBillingSubscriptionRequestBody.d.ts} +5 -4
- package/dist/serialization/resources/billing/client/requests/index.d.ts +1 -1
- package/dist/serialization/resources/billing/types/CreateBillingSubscriptionRequestBodyTrialEndSetting.d.ts +10 -0
- package/dist/serialization/resources/billing/types/SearchBillingPricesParams.d.ts +4 -0
- package/dist/serialization/resources/billing/types/index.d.ts +2 -2
- package/dist/serialization/resources/checkout/types/CheckoutInternalResponse.d.ts +2 -2
- package/dist/serialization/resources/checkout/types/ManagePlanResponse.d.ts +14 -0
- package/dist/serialization/resources/checkout/types/PreviewManagePlanResponse.d.ts +14 -0
- package/dist/serialization/resources/checkout/types/index.d.ts +2 -0
- package/dist/serialization/resources/companies/client/requests/UpdatePlanTraitBulkRequestBody.d.ts +14 -0
- package/dist/serialization/resources/companies/client/requests/index.d.ts +1 -0
- package/dist/serialization/resources/companies/types/CountCompaniesForAdvancedFilterParams.d.ts +1 -0
- package/dist/serialization/resources/companies/types/ListCompaniesForAdvancedFilterParams.d.ts +1 -0
- package/dist/serialization/resources/companies/types/UpdatePlanTraitsBulkResponse.d.ts +14 -0
- package/dist/serialization/resources/companies/types/index.d.ts +1 -0
- package/dist/serialization/resources/credits/client/requests/CreateBillingPlanCreditGrantRequestBody.d.ts +7 -0
- package/dist/serialization/resources/credits/client/requests/CreateCompanyCreditGrant.d.ts +6 -0
- package/dist/serialization/resources/credits/client/requests/CreateCreditBundleRequestBody.d.ts +2 -1
- package/dist/serialization/resources/credits/client/requests/UpdateCreditBundleDetailsRequestBody.d.ts +2 -0
- package/dist/serialization/resources/credits/types/CountCreditLedgerParams.d.ts +20 -0
- package/dist/serialization/resources/credits/types/CountCreditLedgerRequestPeriod.d.ts +10 -0
- package/dist/serialization/resources/credits/types/CountCreditLedgerResponse.d.ts +15 -0
- package/dist/serialization/resources/credits/types/CountCreditLedgerResponseParamsPeriod.d.ts +10 -0
- package/dist/serialization/resources/credits/types/CreateBillingPlanCreditGrantRequestBodyExpiryType.d.ts +10 -0
- package/dist/serialization/resources/credits/types/CreateBillingPlanCreditGrantRequestBodyExpiryUnit.d.ts +10 -0
- package/dist/serialization/resources/credits/types/CreateBillingPlanCreditGrantRequestBodyResetType.d.ts +10 -0
- package/dist/serialization/resources/credits/types/CreateCompanyCreditGrantExpiryType.d.ts +10 -0
- package/dist/serialization/resources/credits/types/CreateCompanyCreditGrantExpiryUnit.d.ts +10 -0
- package/dist/serialization/resources/credits/types/CreateCreditBundleRequestBodyExpiryType.d.ts +1 -1
- package/dist/serialization/resources/credits/types/CreateCreditBundleRequestBodyExpiryUnit.d.ts +10 -0
- package/dist/serialization/resources/credits/types/GetEnrichedCreditLedgerParams.d.ts +20 -0
- package/dist/serialization/resources/credits/types/GetEnrichedCreditLedgerRequestPeriod.d.ts +10 -0
- package/dist/serialization/resources/credits/types/GetEnrichedCreditLedgerResponse.d.ts +15 -0
- package/dist/serialization/resources/credits/types/GetEnrichedCreditLedgerResponseParamsPeriod.d.ts +10 -0
- package/dist/serialization/resources/credits/types/UpdateCreditBundleDetailsRequestBodyExpiryType.d.ts +1 -1
- package/dist/serialization/resources/credits/types/UpdateCreditBundleDetailsRequestBodyExpiryUnit.d.ts +10 -0
- package/dist/serialization/resources/credits/types/ZeroOutGrantRequestBodyReason.d.ts +1 -1
- package/dist/serialization/resources/credits/types/index.d.ts +15 -0
- package/dist/serialization/resources/entitlements/client/requests/CreateCompanyOverrideRequestBody.d.ts +1 -0
- package/dist/serialization/resources/entitlements/client/requests/CreatePlanEntitlementRequestBody.d.ts +1 -0
- package/dist/serialization/resources/entitlements/client/requests/UpdateCompanyOverrideRequestBody.d.ts +1 -0
- package/dist/serialization/resources/entitlements/client/requests/UpdatePlanEntitlementRequestBody.d.ts +1 -0
- package/dist/serialization/resources/plangroups/client/requests/CreatePlanGroupRequestBody.d.ts +13 -0
- package/dist/serialization/resources/plangroups/client/requests/UpdatePlanGroupRequestBody.d.ts +13 -0
- package/dist/serialization/resources/plans/types/CountPlansParams.d.ts +4 -0
- package/dist/serialization/resources/plans/types/ListPlanIssuesParams.d.ts +12 -0
- package/dist/serialization/resources/plans/types/ListPlanIssuesResponse.d.ts +15 -0
- package/dist/serialization/resources/plans/types/ListPlansParams.d.ts +4 -0
- package/dist/serialization/resources/plans/types/index.d.ts +2 -0
- package/dist/serialization/types/BillingCreditBundleResponseData.d.ts +1 -0
- package/dist/serialization/types/BillingCreditBundleView.d.ts +1 -0
- package/dist/serialization/types/BillingCreditLedgerResponseData.d.ts +17 -0
- package/dist/serialization/types/BillingPlanCreditGrantResponseData.d.ts +7 -0
- package/dist/serialization/types/BillingProductDetailResponseData.d.ts +1 -1
- package/dist/serialization/types/BillingProductForSubscriptionResponseData.d.ts +2 -0
- package/dist/serialization/types/BillingProductPricing.d.ts +2 -0
- package/dist/serialization/types/BillingProductResponseData.d.ts +1 -1
- package/dist/serialization/types/CheckoutSettingsResponseData.d.ts +14 -0
- package/dist/serialization/types/CheckoutSubscription.d.ts +31 -0
- package/dist/serialization/types/CompanyDetailResponseData.d.ts +2 -0
- package/dist/serialization/types/CompanyLedgerResponseData.d.ts +14 -0
- package/dist/serialization/types/CompanyOverrideNoteResponseData.d.ts +17 -0
- package/dist/serialization/types/CompanyOverrideResponseData.d.ts +2 -0
- package/dist/serialization/types/CompanyPlanDetailResponseData.d.ts +2 -0
- package/dist/serialization/types/CompanyViewWithFeatureUsageResponseData.d.ts +2 -0
- package/dist/serialization/types/ComponentCheckoutSettings.d.ts +15 -0
- package/dist/serialization/types/ComponentHydrateResponseData.d.ts +5 -0
- package/dist/serialization/types/ComponentPreviewResponseData.d.ts +5 -0
- package/dist/serialization/types/Condition.d.ts +27 -0
- package/dist/serialization/types/ConditionGroup.d.ts +13 -0
- package/dist/serialization/types/CountResponse.d.ts +1 -1
- package/dist/serialization/types/CreditCompanyGrantView.d.ts +3 -0
- package/dist/serialization/types/CreditGrantDetail.d.ts +16 -0
- package/dist/serialization/types/CreditGrantDetailGrantReason.d.ts +10 -0
- package/dist/serialization/types/CreditLedgerEnrichedEntryResponseData.d.ts +35 -0
- package/dist/serialization/types/CreditUsage.d.ts +20 -0
- package/dist/serialization/types/CreditUsageResponseData.d.ts +20 -0
- package/dist/serialization/types/FeatureCompanyResponseData.d.ts +28 -0
- package/dist/serialization/types/FeatureCompanyResponseDataCreditGrantReason.d.ts +10 -0
- package/dist/serialization/types/FeatureCompanyUserResponseDataAllocationType.d.ts +1 -1
- package/dist/serialization/types/FeatureLedgerResponseData.d.ts +15 -0
- package/dist/serialization/types/FeatureUsageDataResponseData.d.ts +9 -0
- package/dist/serialization/types/FeatureUsageResponseData.d.ts +17 -0
- package/dist/serialization/types/FeatureUsageResponseDataCreditGrantReason.d.ts +10 -0
- package/dist/serialization/types/ManagePlanPreviewResponseResponseData.d.ts +13 -0
- package/dist/serialization/types/ManagePlanRequest.d.ts +23 -0
- package/dist/serialization/types/ManagePlanResponseResponseData.d.ts +14 -0
- package/dist/serialization/types/PlanCreditGrantView.d.ts +4 -0
- package/dist/serialization/types/PlanDetailResponseData.d.ts +2 -0
- package/dist/serialization/types/PlanEntitlementResponseData.d.ts +1 -0
- package/dist/serialization/types/PlanGroupDetailResponseData.d.ts +18 -0
- package/dist/serialization/types/PlanGroupPlanDetailResponseData.d.ts +2 -0
- package/dist/serialization/types/PlanGroupResponseData.d.ts +12 -0
- package/dist/serialization/types/PlanIssueResponseData.d.ts +15 -0
- package/dist/serialization/types/PlanSelection.d.ts +13 -0
- package/dist/serialization/types/PreviewSubscriptionFinanceResponseData.d.ts +3 -0
- package/dist/serialization/types/Rule.d.ts +23 -0
- package/dist/serialization/types/TraitDefinition.d.ts +14 -0
- package/dist/serialization/types/UpdatePlanTraitTraitRequestBody.d.ts +13 -0
- package/dist/serialization/types/UsageBasedEntitlementRequestBody.d.ts +1 -0
- package/dist/serialization/types/UsageBasedEntitlementResponseData.d.ts +1 -0
- package/dist/serialization/types/index.d.ts +24 -0
- package/dist/wrapper.d.ts +8 -0
- package/package.json +2 -1
- package/dist/api/resources/billing/types/CreateBillingSubscriptionsRequestBodyTrialEndSetting.d.ts +0 -8
- package/dist/serialization/resources/billing/types/CreateBillingSubscriptionsRequestBodyTrialEndSetting.d.ts +0 -10
|
@@ -6,14 +6,15 @@ import * as Schematic from "../../../../../api/index";
|
|
|
6
6
|
import * as core from "../../../../../core";
|
|
7
7
|
import { BillingSubscriptionDiscount } from "../../../../types/BillingSubscriptionDiscount";
|
|
8
8
|
import { BillingProductPricing } from "../../../../types/BillingProductPricing";
|
|
9
|
-
import {
|
|
10
|
-
export declare const
|
|
11
|
-
export declare namespace
|
|
9
|
+
import { CreateBillingSubscriptionRequestBodyTrialEndSetting } from "../../types/CreateBillingSubscriptionRequestBodyTrialEndSetting";
|
|
10
|
+
export declare const CreateBillingSubscriptionRequestBody: core.serialization.Schema<serializers.CreateBillingSubscriptionRequestBody.Raw, Schematic.CreateBillingSubscriptionRequestBody>;
|
|
11
|
+
export declare namespace CreateBillingSubscriptionRequestBody {
|
|
12
12
|
interface Raw {
|
|
13
13
|
cancel_at?: number | null;
|
|
14
14
|
cancel_at_period_end: boolean;
|
|
15
15
|
currency: string;
|
|
16
16
|
customer_external_id: string;
|
|
17
|
+
default_payment_method_external_id?: string | null;
|
|
17
18
|
default_payment_method_id?: string | null;
|
|
18
19
|
discounts: BillingSubscriptionDiscount.Raw[];
|
|
19
20
|
expired_at: string;
|
|
@@ -26,6 +27,6 @@ export declare namespace CreateBillingSubscriptionsRequestBody {
|
|
|
26
27
|
subscription_external_id: string;
|
|
27
28
|
total_price: number;
|
|
28
29
|
trial_end?: number | null;
|
|
29
|
-
trial_end_setting?:
|
|
30
|
+
trial_end_setting?: CreateBillingSubscriptionRequestBodyTrialEndSetting.Raw | null;
|
|
30
31
|
}
|
|
31
32
|
}
|
|
@@ -5,4 +5,4 @@ export { CreateMeterRequestBody } from "./CreateMeterRequestBody";
|
|
|
5
5
|
export { CreatePaymentMethodRequestBody } from "./CreatePaymentMethodRequestBody";
|
|
6
6
|
export { CreateBillingPriceRequestBody } from "./CreateBillingPriceRequestBody";
|
|
7
7
|
export { CreateBillingProductRequestBody } from "./CreateBillingProductRequestBody";
|
|
8
|
-
export {
|
|
8
|
+
export { CreateBillingSubscriptionRequestBody } from "./CreateBillingSubscriptionRequestBody";
|
|
@@ -0,0 +1,10 @@
|
|
|
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 CreateBillingSubscriptionRequestBodyTrialEndSetting: core.serialization.Schema<serializers.CreateBillingSubscriptionRequestBodyTrialEndSetting.Raw, Schematic.CreateBillingSubscriptionRequestBodyTrialEndSetting>;
|
|
8
|
+
export declare namespace CreateBillingSubscriptionRequestBodyTrialEndSetting {
|
|
9
|
+
type Raw = "subscribe" | "cancel";
|
|
10
|
+
}
|
|
@@ -9,12 +9,16 @@ import { SearchBillingPricesResponseParamsUsageType } from "./SearchBillingPrice
|
|
|
9
9
|
export declare const SearchBillingPricesParams: core.serialization.ObjectSchema<serializers.SearchBillingPricesParams.Raw, Schematic.SearchBillingPricesParams>;
|
|
10
10
|
export declare namespace SearchBillingPricesParams {
|
|
11
11
|
interface Raw {
|
|
12
|
+
for_initial_plan?: boolean | null;
|
|
13
|
+
for_trial_expiry_plan?: boolean | null;
|
|
12
14
|
ids?: string[] | null;
|
|
13
15
|
interval?: string | null;
|
|
14
16
|
limit?: number | null;
|
|
15
17
|
offset?: number | null;
|
|
16
18
|
price?: number | null;
|
|
19
|
+
product_id?: string | null;
|
|
17
20
|
q?: string | null;
|
|
21
|
+
requires_payment_method?: boolean | null;
|
|
18
22
|
tiers_mode?: SearchBillingPricesResponseParamsTiersMode.Raw | null;
|
|
19
23
|
usage_type?: SearchBillingPricesResponseParamsUsageType.Raw | null;
|
|
20
24
|
}
|
|
@@ -15,8 +15,8 @@ export * from "./UpsertBillingMeterResponse";
|
|
|
15
15
|
export * from "./ListPaymentMethodsParams";
|
|
16
16
|
export * from "./ListPaymentMethodsResponse";
|
|
17
17
|
export * from "./UpsertPaymentMethodResponse";
|
|
18
|
-
export * from "./SearchBillingPricesRequestUsageType";
|
|
19
18
|
export * from "./SearchBillingPricesRequestTiersMode";
|
|
19
|
+
export * from "./SearchBillingPricesRequestUsageType";
|
|
20
20
|
export * from "./SearchBillingPricesResponseParamsTiersMode";
|
|
21
21
|
export * from "./SearchBillingPricesResponseParamsUsageType";
|
|
22
22
|
export * from "./SearchBillingPricesParams";
|
|
@@ -40,5 +40,5 @@ export * from "./CountBillingProductsRequestPriceUsageType";
|
|
|
40
40
|
export * from "./CountBillingProductsResponseParamsPriceUsageType";
|
|
41
41
|
export * from "./CountBillingProductsParams";
|
|
42
42
|
export * from "./CountBillingProductsResponse";
|
|
43
|
-
export * from "./
|
|
43
|
+
export * from "./CreateBillingSubscriptionRequestBodyTrialEndSetting";
|
|
44
44
|
export * from "./UpsertBillingSubscriptionResponse";
|
|
@@ -4,11 +4,11 @@
|
|
|
4
4
|
import * as serializers from "../../../index";
|
|
5
5
|
import * as Schematic from "../../../../api/index";
|
|
6
6
|
import * as core from "../../../../core";
|
|
7
|
-
import {
|
|
7
|
+
import { CheckoutSubscription } from "../../../types/CheckoutSubscription";
|
|
8
8
|
export declare const CheckoutInternalResponse: core.serialization.ObjectSchema<serializers.CheckoutInternalResponse.Raw, Schematic.CheckoutInternalResponse>;
|
|
9
9
|
export declare namespace CheckoutInternalResponse {
|
|
10
10
|
interface Raw {
|
|
11
|
-
data:
|
|
11
|
+
data: CheckoutSubscription.Raw;
|
|
12
12
|
params: Record<string, unknown>;
|
|
13
13
|
}
|
|
14
14
|
}
|
|
@@ -0,0 +1,14 @@
|
|
|
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 { ManagePlanResponseResponseData } from "../../../types/ManagePlanResponseResponseData";
|
|
8
|
+
export declare const ManagePlanResponse: core.serialization.ObjectSchema<serializers.ManagePlanResponse.Raw, Schematic.ManagePlanResponse>;
|
|
9
|
+
export declare namespace ManagePlanResponse {
|
|
10
|
+
interface Raw {
|
|
11
|
+
data: ManagePlanResponseResponseData.Raw;
|
|
12
|
+
params: Record<string, unknown>;
|
|
13
|
+
}
|
|
14
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
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 { ManagePlanPreviewResponseResponseData } from "../../../types/ManagePlanPreviewResponseResponseData";
|
|
8
|
+
export declare const PreviewManagePlanResponse: core.serialization.ObjectSchema<serializers.PreviewManagePlanResponse.Raw, Schematic.PreviewManagePlanResponse>;
|
|
9
|
+
export declare namespace PreviewManagePlanResponse {
|
|
10
|
+
interface Raw {
|
|
11
|
+
data: ManagePlanPreviewResponseResponseData.Raw;
|
|
12
|
+
params: Record<string, unknown>;
|
|
13
|
+
}
|
|
14
|
+
}
|
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
export * from "./CheckoutInternalResponse";
|
|
2
2
|
export * from "./GetCheckoutDataResponse";
|
|
3
3
|
export * from "./PreviewCheckoutInternalResponse";
|
|
4
|
+
export * from "./ManagePlanResponse";
|
|
5
|
+
export * from "./PreviewManagePlanResponse";
|
|
4
6
|
export * from "./UpdateCustomerSubscriptionTrialEndResponse";
|
package/dist/serialization/resources/companies/client/requests/UpdatePlanTraitBulkRequestBody.d.ts
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
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 { UpdatePlanTraitTraitRequestBody } from "../../../../types/UpdatePlanTraitTraitRequestBody";
|
|
8
|
+
export declare const UpdatePlanTraitBulkRequestBody: core.serialization.Schema<serializers.UpdatePlanTraitBulkRequestBody.Raw, Schematic.UpdatePlanTraitBulkRequestBody>;
|
|
9
|
+
export declare namespace UpdatePlanTraitBulkRequestBody {
|
|
10
|
+
interface Raw {
|
|
11
|
+
plan_id: string;
|
|
12
|
+
traits: UpdatePlanTraitTraitRequestBody.Raw[];
|
|
13
|
+
}
|
|
14
|
+
}
|
|
@@ -3,3 +3,4 @@ export { CreateEntityTraitDefinitionRequestBody } from "./CreateEntityTraitDefin
|
|
|
3
3
|
export { UpdateEntityTraitDefinitionRequestBody } from "./UpdateEntityTraitDefinitionRequestBody";
|
|
4
4
|
export { CreatePlanTraitRequestBody } from "./CreatePlanTraitRequestBody";
|
|
5
5
|
export { UpdatePlanTraitRequestBody } from "./UpdatePlanTraitRequestBody";
|
|
6
|
+
export { UpdatePlanTraitBulkRequestBody } from "./UpdatePlanTraitBulkRequestBody";
|
package/dist/serialization/resources/companies/types/CountCompaniesForAdvancedFilterParams.d.ts
CHANGED
|
@@ -8,6 +8,7 @@ import { CountCompaniesForAdvancedFilterResponseParamsSortOrderDirection } from
|
|
|
8
8
|
export declare const CountCompaniesForAdvancedFilterParams: core.serialization.ObjectSchema<serializers.CountCompaniesForAdvancedFilterParams.Raw, Schematic.CountCompaniesForAdvancedFilterParams>;
|
|
9
9
|
export declare namespace CountCompaniesForAdvancedFilterParams {
|
|
10
10
|
interface Raw {
|
|
11
|
+
credit_type_ids?: string[] | null;
|
|
11
12
|
display_properties?: string[] | null;
|
|
12
13
|
feature_ids?: string[] | null;
|
|
13
14
|
ids?: string[] | null;
|
package/dist/serialization/resources/companies/types/ListCompaniesForAdvancedFilterParams.d.ts
CHANGED
|
@@ -8,6 +8,7 @@ import { ListCompaniesForAdvancedFilterResponseParamsSortOrderDirection } from "
|
|
|
8
8
|
export declare const ListCompaniesForAdvancedFilterParams: core.serialization.ObjectSchema<serializers.ListCompaniesForAdvancedFilterParams.Raw, Schematic.ListCompaniesForAdvancedFilterParams>;
|
|
9
9
|
export declare namespace ListCompaniesForAdvancedFilterParams {
|
|
10
10
|
interface Raw {
|
|
11
|
+
credit_type_ids?: string[] | null;
|
|
11
12
|
display_properties?: string[] | null;
|
|
12
13
|
feature_ids?: string[] | null;
|
|
13
14
|
ids?: string[] | null;
|
|
@@ -0,0 +1,14 @@
|
|
|
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 { PlanTraitResponseData } from "../../../types/PlanTraitResponseData";
|
|
8
|
+
export declare const UpdatePlanTraitsBulkResponse: core.serialization.ObjectSchema<serializers.UpdatePlanTraitsBulkResponse.Raw, Schematic.UpdatePlanTraitsBulkResponse>;
|
|
9
|
+
export declare namespace UpdatePlanTraitsBulkResponse {
|
|
10
|
+
interface Raw {
|
|
11
|
+
data: PlanTraitResponseData.Raw[];
|
|
12
|
+
params: Record<string, unknown>;
|
|
13
|
+
}
|
|
14
|
+
}
|
|
@@ -60,6 +60,7 @@ export * from "./CreatePlanTraitResponse";
|
|
|
60
60
|
export * from "./GetPlanTraitResponse";
|
|
61
61
|
export * from "./UpdatePlanTraitResponse";
|
|
62
62
|
export * from "./DeletePlanTraitResponse";
|
|
63
|
+
export * from "./UpdatePlanTraitsBulkResponse";
|
|
63
64
|
export * from "./CountPlanTraitsParams";
|
|
64
65
|
export * from "./CountPlanTraitsResponse";
|
|
65
66
|
export * from "./UpsertUserTraitResponse";
|
|
@@ -4,15 +4,22 @@
|
|
|
4
4
|
import * as serializers from "../../../../index";
|
|
5
5
|
import * as Schematic from "../../../../../api/index";
|
|
6
6
|
import * as core from "../../../../../core";
|
|
7
|
+
import { CreateBillingPlanCreditGrantRequestBodyExpiryType } from "../../types/CreateBillingPlanCreditGrantRequestBodyExpiryType";
|
|
8
|
+
import { CreateBillingPlanCreditGrantRequestBodyExpiryUnit } from "../../types/CreateBillingPlanCreditGrantRequestBodyExpiryUnit";
|
|
7
9
|
import { CreateBillingPlanCreditGrantRequestBodyResetCadence } from "../../types/CreateBillingPlanCreditGrantRequestBodyResetCadence";
|
|
8
10
|
import { CreateBillingPlanCreditGrantRequestBodyResetStart } from "../../types/CreateBillingPlanCreditGrantRequestBodyResetStart";
|
|
11
|
+
import { CreateBillingPlanCreditGrantRequestBodyResetType } from "../../types/CreateBillingPlanCreditGrantRequestBodyResetType";
|
|
9
12
|
export declare const CreateBillingPlanCreditGrantRequestBody: core.serialization.Schema<serializers.CreateBillingPlanCreditGrantRequestBody.Raw, Schematic.CreateBillingPlanCreditGrantRequestBody>;
|
|
10
13
|
export declare namespace CreateBillingPlanCreditGrantRequestBody {
|
|
11
14
|
interface Raw {
|
|
12
15
|
credit_amount: number;
|
|
13
16
|
credit_id: string;
|
|
17
|
+
expiry_type?: CreateBillingPlanCreditGrantRequestBodyExpiryType.Raw | null;
|
|
18
|
+
expiry_unit?: CreateBillingPlanCreditGrantRequestBodyExpiryUnit.Raw | null;
|
|
19
|
+
expiry_unit_count?: number | null;
|
|
14
20
|
plan_id: string;
|
|
15
21
|
reset_cadence: CreateBillingPlanCreditGrantRequestBodyResetCadence.Raw;
|
|
16
22
|
reset_start: CreateBillingPlanCreditGrantRequestBodyResetStart.Raw;
|
|
23
|
+
reset_type?: CreateBillingPlanCreditGrantRequestBodyResetType.Raw | null;
|
|
17
24
|
}
|
|
18
25
|
}
|
|
@@ -4,12 +4,18 @@
|
|
|
4
4
|
import * as serializers from "../../../../index";
|
|
5
5
|
import * as Schematic from "../../../../../api/index";
|
|
6
6
|
import * as core from "../../../../../core";
|
|
7
|
+
import { CreateCompanyCreditGrantExpiryType } from "../../types/CreateCompanyCreditGrantExpiryType";
|
|
8
|
+
import { CreateCompanyCreditGrantExpiryUnit } from "../../types/CreateCompanyCreditGrantExpiryUnit";
|
|
7
9
|
export declare const CreateCompanyCreditGrant: core.serialization.Schema<serializers.CreateCompanyCreditGrant.Raw, Schematic.CreateCompanyCreditGrant>;
|
|
8
10
|
export declare namespace CreateCompanyCreditGrant {
|
|
9
11
|
interface Raw {
|
|
12
|
+
billing_periods_count?: number | null;
|
|
10
13
|
company_id: string;
|
|
11
14
|
credit_id: string;
|
|
12
15
|
expires_at?: string | null;
|
|
16
|
+
expiry_type?: CreateCompanyCreditGrantExpiryType.Raw | null;
|
|
17
|
+
expiry_unit?: CreateCompanyCreditGrantExpiryUnit.Raw | null;
|
|
18
|
+
expiry_unit_count?: number | null;
|
|
13
19
|
quantity: number;
|
|
14
20
|
reason: string;
|
|
15
21
|
}
|
package/dist/serialization/resources/credits/client/requests/CreateCreditBundleRequestBody.d.ts
CHANGED
|
@@ -5,6 +5,7 @@ import * as serializers from "../../../../index";
|
|
|
5
5
|
import * as Schematic from "../../../../../api/index";
|
|
6
6
|
import * as core from "../../../../../core";
|
|
7
7
|
import { CreateCreditBundleRequestBodyExpiryType } from "../../types/CreateCreditBundleRequestBodyExpiryType";
|
|
8
|
+
import { CreateCreditBundleRequestBodyExpiryUnit } from "../../types/CreateCreditBundleRequestBodyExpiryUnit";
|
|
8
9
|
import { CreateCreditBundleRequestBodyStatus } from "../../types/CreateCreditBundleRequestBodyStatus";
|
|
9
10
|
export declare const CreateCreditBundleRequestBody: core.serialization.Schema<serializers.CreateCreditBundleRequestBody.Raw, Schematic.CreateCreditBundleRequestBody>;
|
|
10
11
|
export declare namespace CreateCreditBundleRequestBody {
|
|
@@ -14,7 +15,7 @@ export declare namespace CreateCreditBundleRequestBody {
|
|
|
14
15
|
credit_id: string;
|
|
15
16
|
currency: string;
|
|
16
17
|
expiry_type?: CreateCreditBundleRequestBodyExpiryType.Raw | null;
|
|
17
|
-
expiry_unit?:
|
|
18
|
+
expiry_unit?: CreateCreditBundleRequestBodyExpiryUnit.Raw | null;
|
|
18
19
|
expiry_unit_count?: number | null;
|
|
19
20
|
price_per_unit: number;
|
|
20
21
|
price_per_unit_decimal?: string | null;
|
|
@@ -5,12 +5,14 @@ import * as serializers from "../../../../index";
|
|
|
5
5
|
import * as Schematic from "../../../../../api/index";
|
|
6
6
|
import * as core from "../../../../../core";
|
|
7
7
|
import { UpdateCreditBundleDetailsRequestBodyExpiryType } from "../../types/UpdateCreditBundleDetailsRequestBodyExpiryType";
|
|
8
|
+
import { UpdateCreditBundleDetailsRequestBodyExpiryUnit } from "../../types/UpdateCreditBundleDetailsRequestBodyExpiryUnit";
|
|
8
9
|
import { UpdateCreditBundleDetailsRequestBodyStatus } from "../../types/UpdateCreditBundleDetailsRequestBodyStatus";
|
|
9
10
|
export declare const UpdateCreditBundleDetailsRequestBody: core.serialization.Schema<serializers.UpdateCreditBundleDetailsRequestBody.Raw, Schematic.UpdateCreditBundleDetailsRequestBody>;
|
|
10
11
|
export declare namespace UpdateCreditBundleDetailsRequestBody {
|
|
11
12
|
interface Raw {
|
|
12
13
|
bundle_name: string;
|
|
13
14
|
expiry_type?: UpdateCreditBundleDetailsRequestBodyExpiryType.Raw | null;
|
|
15
|
+
expiry_unit?: UpdateCreditBundleDetailsRequestBodyExpiryUnit.Raw | null;
|
|
14
16
|
expiry_unit_count?: number | null;
|
|
15
17
|
price_per_unit: number;
|
|
16
18
|
price_per_unit_decimal?: string | null;
|
|
@@ -0,0 +1,20 @@
|
|
|
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 { CountCreditLedgerResponseParamsPeriod } from "./CountCreditLedgerResponseParamsPeriod";
|
|
8
|
+
export declare const CountCreditLedgerParams: core.serialization.ObjectSchema<serializers.CountCreditLedgerParams.Raw, Schematic.CountCreditLedgerParams>;
|
|
9
|
+
export declare namespace CountCreditLedgerParams {
|
|
10
|
+
interface Raw {
|
|
11
|
+
billing_credit_id?: string | null;
|
|
12
|
+
company_id?: string | null;
|
|
13
|
+
end_time?: string | null;
|
|
14
|
+
feature_id?: string | null;
|
|
15
|
+
limit?: number | null;
|
|
16
|
+
offset?: number | null;
|
|
17
|
+
period?: CountCreditLedgerResponseParamsPeriod.Raw | null;
|
|
18
|
+
start_time?: string | null;
|
|
19
|
+
}
|
|
20
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
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 CountCreditLedgerRequestPeriod: core.serialization.Schema<serializers.CountCreditLedgerRequestPeriod.Raw, Schematic.CountCreditLedgerRequestPeriod>;
|
|
8
|
+
export declare namespace CountCreditLedgerRequestPeriod {
|
|
9
|
+
type Raw = "daily" | "weekly" | "monthly" | "raw";
|
|
10
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
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 { CountResponse } from "../../../types/CountResponse";
|
|
8
|
+
import { CountCreditLedgerParams } from "./CountCreditLedgerParams";
|
|
9
|
+
export declare const CountCreditLedgerResponse: core.serialization.ObjectSchema<serializers.CountCreditLedgerResponse.Raw, Schematic.CountCreditLedgerResponse>;
|
|
10
|
+
export declare namespace CountCreditLedgerResponse {
|
|
11
|
+
interface Raw {
|
|
12
|
+
data: CountResponse.Raw;
|
|
13
|
+
params: CountCreditLedgerParams.Raw;
|
|
14
|
+
}
|
|
15
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
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 CountCreditLedgerResponseParamsPeriod: core.serialization.Schema<serializers.CountCreditLedgerResponseParamsPeriod.Raw, Schematic.CountCreditLedgerResponseParamsPeriod>;
|
|
8
|
+
export declare namespace CountCreditLedgerResponseParamsPeriod {
|
|
9
|
+
type Raw = "daily" | "weekly" | "monthly" | "raw";
|
|
10
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
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 CreateBillingPlanCreditGrantRequestBodyExpiryType: core.serialization.Schema<serializers.CreateBillingPlanCreditGrantRequestBodyExpiryType.Raw, Schematic.CreateBillingPlanCreditGrantRequestBodyExpiryType>;
|
|
8
|
+
export declare namespace CreateBillingPlanCreditGrantRequestBodyExpiryType {
|
|
9
|
+
type Raw = "duration" | "no_expiry" | "end_of_trial" | "end_of_billing_period" | "end_of_next_billing_period";
|
|
10
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
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 CreateBillingPlanCreditGrantRequestBodyExpiryUnit: core.serialization.Schema<serializers.CreateBillingPlanCreditGrantRequestBodyExpiryUnit.Raw, Schematic.CreateBillingPlanCreditGrantRequestBodyExpiryUnit>;
|
|
8
|
+
export declare namespace CreateBillingPlanCreditGrantRequestBodyExpiryUnit {
|
|
9
|
+
type Raw = "days" | "billing_periods";
|
|
10
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
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 CreateBillingPlanCreditGrantRequestBodyResetType: core.serialization.Schema<serializers.CreateBillingPlanCreditGrantRequestBodyResetType.Raw, Schematic.CreateBillingPlanCreditGrantRequestBodyResetType>;
|
|
8
|
+
export declare namespace CreateBillingPlanCreditGrantRequestBodyResetType {
|
|
9
|
+
type Raw = "plan_period" | "no_reset";
|
|
10
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
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 CreateCompanyCreditGrantExpiryType: core.serialization.Schema<serializers.CreateCompanyCreditGrantExpiryType.Raw, Schematic.CreateCompanyCreditGrantExpiryType>;
|
|
8
|
+
export declare namespace CreateCompanyCreditGrantExpiryType {
|
|
9
|
+
type Raw = "duration" | "no_expiry" | "end_of_trial" | "end_of_billing_period" | "end_of_next_billing_period";
|
|
10
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
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 CreateCompanyCreditGrantExpiryUnit: core.serialization.Schema<serializers.CreateCompanyCreditGrantExpiryUnit.Raw, Schematic.CreateCompanyCreditGrantExpiryUnit>;
|
|
8
|
+
export declare namespace CreateCompanyCreditGrantExpiryUnit {
|
|
9
|
+
type Raw = "days" | "billing_periods";
|
|
10
|
+
}
|
package/dist/serialization/resources/credits/types/CreateCreditBundleRequestBodyExpiryType.d.ts
CHANGED
|
@@ -6,5 +6,5 @@ import * as Schematic from "../../../../api/index";
|
|
|
6
6
|
import * as core from "../../../../core";
|
|
7
7
|
export declare const CreateCreditBundleRequestBodyExpiryType: core.serialization.Schema<serializers.CreateCreditBundleRequestBodyExpiryType.Raw, Schematic.CreateCreditBundleRequestBodyExpiryType>;
|
|
8
8
|
export declare namespace CreateCreditBundleRequestBodyExpiryType {
|
|
9
|
-
type Raw = "
|
|
9
|
+
type Raw = "duration" | "no_expiry" | "end_of_trial" | "end_of_billing_period" | "end_of_next_billing_period";
|
|
10
10
|
}
|
package/dist/serialization/resources/credits/types/CreateCreditBundleRequestBodyExpiryUnit.d.ts
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
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 CreateCreditBundleRequestBodyExpiryUnit: core.serialization.Schema<serializers.CreateCreditBundleRequestBodyExpiryUnit.Raw, Schematic.CreateCreditBundleRequestBodyExpiryUnit>;
|
|
8
|
+
export declare namespace CreateCreditBundleRequestBodyExpiryUnit {
|
|
9
|
+
type Raw = "days" | "billing_periods";
|
|
10
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
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 { GetEnrichedCreditLedgerResponseParamsPeriod } from "./GetEnrichedCreditLedgerResponseParamsPeriod";
|
|
8
|
+
export declare const GetEnrichedCreditLedgerParams: core.serialization.ObjectSchema<serializers.GetEnrichedCreditLedgerParams.Raw, Schematic.GetEnrichedCreditLedgerParams>;
|
|
9
|
+
export declare namespace GetEnrichedCreditLedgerParams {
|
|
10
|
+
interface Raw {
|
|
11
|
+
billing_credit_id?: string | null;
|
|
12
|
+
company_id?: string | null;
|
|
13
|
+
end_time?: string | null;
|
|
14
|
+
feature_id?: string | null;
|
|
15
|
+
limit?: number | null;
|
|
16
|
+
offset?: number | null;
|
|
17
|
+
period?: GetEnrichedCreditLedgerResponseParamsPeriod.Raw | null;
|
|
18
|
+
start_time?: string | null;
|
|
19
|
+
}
|
|
20
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
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 GetEnrichedCreditLedgerRequestPeriod: core.serialization.Schema<serializers.GetEnrichedCreditLedgerRequestPeriod.Raw, Schematic.GetEnrichedCreditLedgerRequestPeriod>;
|
|
8
|
+
export declare namespace GetEnrichedCreditLedgerRequestPeriod {
|
|
9
|
+
type Raw = "daily" | "weekly" | "monthly" | "raw";
|
|
10
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
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 { CreditLedgerEnrichedEntryResponseData } from "../../../types/CreditLedgerEnrichedEntryResponseData";
|
|
8
|
+
import { GetEnrichedCreditLedgerParams } from "./GetEnrichedCreditLedgerParams";
|
|
9
|
+
export declare const GetEnrichedCreditLedgerResponse: core.serialization.ObjectSchema<serializers.GetEnrichedCreditLedgerResponse.Raw, Schematic.GetEnrichedCreditLedgerResponse>;
|
|
10
|
+
export declare namespace GetEnrichedCreditLedgerResponse {
|
|
11
|
+
interface Raw {
|
|
12
|
+
data: CreditLedgerEnrichedEntryResponseData.Raw[];
|
|
13
|
+
params: GetEnrichedCreditLedgerParams.Raw;
|
|
14
|
+
}
|
|
15
|
+
}
|
package/dist/serialization/resources/credits/types/GetEnrichedCreditLedgerResponseParamsPeriod.d.ts
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
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 GetEnrichedCreditLedgerResponseParamsPeriod: core.serialization.Schema<serializers.GetEnrichedCreditLedgerResponseParamsPeriod.Raw, Schematic.GetEnrichedCreditLedgerResponseParamsPeriod>;
|
|
8
|
+
export declare namespace GetEnrichedCreditLedgerResponseParamsPeriod {
|
|
9
|
+
type Raw = "daily" | "weekly" | "monthly" | "raw";
|
|
10
|
+
}
|
|
@@ -6,5 +6,5 @@ import * as Schematic from "../../../../api/index";
|
|
|
6
6
|
import * as core from "../../../../core";
|
|
7
7
|
export declare const UpdateCreditBundleDetailsRequestBodyExpiryType: core.serialization.Schema<serializers.UpdateCreditBundleDetailsRequestBodyExpiryType.Raw, Schematic.UpdateCreditBundleDetailsRequestBodyExpiryType>;
|
|
8
8
|
export declare namespace UpdateCreditBundleDetailsRequestBodyExpiryType {
|
|
9
|
-
type Raw = "
|
|
9
|
+
type Raw = "duration" | "no_expiry" | "end_of_trial" | "end_of_billing_period" | "end_of_next_billing_period";
|
|
10
10
|
}
|
|
@@ -0,0 +1,10 @@
|
|
|
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 UpdateCreditBundleDetailsRequestBodyExpiryUnit: core.serialization.Schema<serializers.UpdateCreditBundleDetailsRequestBodyExpiryUnit.Raw, Schematic.UpdateCreditBundleDetailsRequestBodyExpiryUnit>;
|
|
8
|
+
export declare namespace UpdateCreditBundleDetailsRequestBodyExpiryUnit {
|
|
9
|
+
type Raw = "days" | "billing_periods";
|
|
10
|
+
}
|
|
@@ -6,5 +6,5 @@ import * as Schematic from "../../../../api/index";
|
|
|
6
6
|
import * as core from "../../../../core";
|
|
7
7
|
export declare const ZeroOutGrantRequestBodyReason: core.serialization.Schema<serializers.ZeroOutGrantRequestBodyReason.Raw, Schematic.ZeroOutGrantRequestBodyReason>;
|
|
8
8
|
export declare namespace ZeroOutGrantRequestBodyReason {
|
|
9
|
-
type Raw = "plan_change" | "manual" | "plan_period_reset";
|
|
9
|
+
type Raw = "plan_change" | "manual" | "plan_period_reset" | "expired";
|
|
10
10
|
}
|
|
@@ -13,10 +13,12 @@ export * from "./ListCreditBundlesResponseParamsStatus";
|
|
|
13
13
|
export * from "./ListCreditBundlesParams";
|
|
14
14
|
export * from "./ListCreditBundlesResponse";
|
|
15
15
|
export * from "./CreateCreditBundleRequestBodyExpiryType";
|
|
16
|
+
export * from "./CreateCreditBundleRequestBodyExpiryUnit";
|
|
16
17
|
export * from "./CreateCreditBundleRequestBodyStatus";
|
|
17
18
|
export * from "./CreateCreditBundleResponse";
|
|
18
19
|
export * from "./GetCreditBundleResponse";
|
|
19
20
|
export * from "./UpdateCreditBundleDetailsRequestBodyExpiryType";
|
|
21
|
+
export * from "./UpdateCreditBundleDetailsRequestBodyExpiryUnit";
|
|
20
22
|
export * from "./UpdateCreditBundleDetailsRequestBodyStatus";
|
|
21
23
|
export * from "./UpdateCreditBundleDetailsResponse";
|
|
22
24
|
export * from "./DeleteCreditBundleResponse";
|
|
@@ -28,6 +30,8 @@ export * from "./CountBillingCreditsParams";
|
|
|
28
30
|
export * from "./CountBillingCreditsResponse";
|
|
29
31
|
export * from "./ZeroOutGrantRequestBodyReason";
|
|
30
32
|
export * from "./ZeroOutGrantResponse";
|
|
33
|
+
export * from "./CreateCompanyCreditGrantExpiryType";
|
|
34
|
+
export * from "./CreateCompanyCreditGrantExpiryUnit";
|
|
31
35
|
export * from "./GrantBillingCreditsToCompanyResponse";
|
|
32
36
|
export * from "./ListCompanyGrantsRequestOrder";
|
|
33
37
|
export * from "./ListCompanyGrantsRequestDir";
|
|
@@ -39,10 +43,21 @@ export * from "./CountBillingCreditsGrantsParams";
|
|
|
39
43
|
export * from "./CountBillingCreditsGrantsResponse";
|
|
40
44
|
export * from "./ListGrantsForCreditParams";
|
|
41
45
|
export * from "./ListGrantsForCreditResponse";
|
|
46
|
+
export * from "./GetEnrichedCreditLedgerRequestPeriod";
|
|
47
|
+
export * from "./GetEnrichedCreditLedgerResponseParamsPeriod";
|
|
48
|
+
export * from "./GetEnrichedCreditLedgerParams";
|
|
49
|
+
export * from "./GetEnrichedCreditLedgerResponse";
|
|
50
|
+
export * from "./CountCreditLedgerRequestPeriod";
|
|
51
|
+
export * from "./CountCreditLedgerResponseParamsPeriod";
|
|
52
|
+
export * from "./CountCreditLedgerParams";
|
|
53
|
+
export * from "./CountCreditLedgerResponse";
|
|
42
54
|
export * from "./ListBillingPlanCreditGrantsParams";
|
|
43
55
|
export * from "./ListBillingPlanCreditGrantsResponse";
|
|
56
|
+
export * from "./CreateBillingPlanCreditGrantRequestBodyExpiryType";
|
|
57
|
+
export * from "./CreateBillingPlanCreditGrantRequestBodyExpiryUnit";
|
|
44
58
|
export * from "./CreateBillingPlanCreditGrantRequestBodyResetCadence";
|
|
45
59
|
export * from "./CreateBillingPlanCreditGrantRequestBodyResetStart";
|
|
60
|
+
export * from "./CreateBillingPlanCreditGrantRequestBodyResetType";
|
|
46
61
|
export * from "./CreateBillingPlanCreditGrantResponse";
|
|
47
62
|
export * from "./DeleteBillingPlanCreditGrantResponse";
|
|
48
63
|
export * from "./CountBillingPlanCreditGrantsParams";
|
|
@@ -16,6 +16,7 @@ export declare namespace CreateCompanyOverrideRequestBody {
|
|
|
16
16
|
feature_id: string;
|
|
17
17
|
metric_period?: CreateCompanyOverrideRequestBodyMetricPeriod.Raw | null;
|
|
18
18
|
metric_period_month_reset?: CreateCompanyOverrideRequestBodyMetricPeriodMonthReset.Raw | null;
|
|
19
|
+
note?: string | null;
|
|
19
20
|
value_bool?: boolean | null;
|
|
20
21
|
value_credit_id?: string | null;
|
|
21
22
|
value_numeric?: number | null;
|
|
@@ -13,6 +13,7 @@ export declare const CreatePlanEntitlementRequestBody: core.serialization.Schema
|
|
|
13
13
|
export declare namespace CreatePlanEntitlementRequestBody {
|
|
14
14
|
interface Raw {
|
|
15
15
|
billing_product_id?: string | null;
|
|
16
|
+
billing_threshold?: number | null;
|
|
16
17
|
credit_consumption_rate?: number | null;
|
|
17
18
|
currency?: string | null;
|
|
18
19
|
feature_id: string;
|
|
@@ -14,6 +14,7 @@ export declare namespace UpdateCompanyOverrideRequestBody {
|
|
|
14
14
|
expiration_date?: string | null;
|
|
15
15
|
metric_period?: UpdateCompanyOverrideRequestBodyMetricPeriod.Raw | null;
|
|
16
16
|
metric_period_month_reset?: UpdateCompanyOverrideRequestBodyMetricPeriodMonthReset.Raw | null;
|
|
17
|
+
note?: string | null;
|
|
17
18
|
value_bool?: boolean | null;
|
|
18
19
|
value_credit_id?: string | null;
|
|
19
20
|
value_numeric?: number | null;
|
|
@@ -13,6 +13,7 @@ export declare const UpdatePlanEntitlementRequestBody: core.serialization.Schema
|
|
|
13
13
|
export declare namespace UpdatePlanEntitlementRequestBody {
|
|
14
14
|
interface Raw {
|
|
15
15
|
billing_product_id?: string | null;
|
|
16
|
+
billing_threshold?: number | null;
|
|
16
17
|
credit_consumption_rate?: number | null;
|
|
17
18
|
currency?: string | null;
|
|
18
19
|
metric_period?: UpdatePlanEntitlementRequestBodyMetricPeriod.Raw | null;
|