@schematichq/schematic-typescript-node 1.2.2 → 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/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/package.json +1 -1
- package/dist/api/resources/billing/types/CreateBillingSubscriptionsRequestBodyTrialEndSetting.d.ts +0 -8
- package/dist/serialization/resources/billing/types/CreateBillingSubscriptionsRequestBodyTrialEndSetting.d.ts +0 -10
|
@@ -4,7 +4,13 @@
|
|
|
4
4
|
import * as Schematic from "../../../../index";
|
|
5
5
|
/**
|
|
6
6
|
* @example
|
|
7
|
-
* {
|
|
7
|
+
* {
|
|
8
|
+
* creditId: "credit_id",
|
|
9
|
+
* status: "active",
|
|
10
|
+
* bundleType: "fixed",
|
|
11
|
+
* limit: 1,
|
|
12
|
+
* offset: 1
|
|
13
|
+
* }
|
|
8
14
|
*/
|
|
9
15
|
export interface CountCreditBundlesRequest {
|
|
10
16
|
ids?: string | string[];
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as Schematic from "../../../../index";
|
|
5
|
+
/**
|
|
6
|
+
* @example
|
|
7
|
+
* {
|
|
8
|
+
* companyId: "company_id",
|
|
9
|
+
* billingCreditId: "billing_credit_id",
|
|
10
|
+
* featureId: "feature_id",
|
|
11
|
+
* period: "daily",
|
|
12
|
+
* startTime: "start_time",
|
|
13
|
+
* endTime: "end_time",
|
|
14
|
+
* limit: 1,
|
|
15
|
+
* offset: 1
|
|
16
|
+
* }
|
|
17
|
+
*/
|
|
18
|
+
export interface CountCreditLedgerRequest {
|
|
19
|
+
companyId: string;
|
|
20
|
+
billingCreditId?: string;
|
|
21
|
+
featureId?: string;
|
|
22
|
+
period: Schematic.CountCreditLedgerRequestPeriod;
|
|
23
|
+
startTime?: string;
|
|
24
|
+
endTime?: string;
|
|
25
|
+
/**
|
|
26
|
+
* Page limit (default 100)
|
|
27
|
+
*/
|
|
28
|
+
limit?: number;
|
|
29
|
+
/**
|
|
30
|
+
* Page offset (default 0)
|
|
31
|
+
*/
|
|
32
|
+
offset?: number;
|
|
33
|
+
}
|
package/dist/api/resources/credits/client/requests/CreateBillingPlanCreditGrantRequestBody.d.ts
CHANGED
|
@@ -15,7 +15,11 @@ import * as Schematic from "../../../../index";
|
|
|
15
15
|
export interface CreateBillingPlanCreditGrantRequestBody {
|
|
16
16
|
creditAmount: number;
|
|
17
17
|
creditId: string;
|
|
18
|
+
expiryType?: Schematic.CreateBillingPlanCreditGrantRequestBodyExpiryType;
|
|
19
|
+
expiryUnit?: Schematic.CreateBillingPlanCreditGrantRequestBodyExpiryUnit;
|
|
20
|
+
expiryUnitCount?: number;
|
|
18
21
|
planId: string;
|
|
19
22
|
resetCadence: Schematic.CreateBillingPlanCreditGrantRequestBodyResetCadence;
|
|
20
23
|
resetStart: Schematic.CreateBillingPlanCreditGrantRequestBodyResetStart;
|
|
24
|
+
resetType?: Schematic.CreateBillingPlanCreditGrantRequestBodyResetType;
|
|
21
25
|
}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
|
+
import * as Schematic from "../../../../index";
|
|
4
5
|
/**
|
|
5
6
|
* @example
|
|
6
7
|
* {
|
|
@@ -11,9 +12,13 @@
|
|
|
11
12
|
* }
|
|
12
13
|
*/
|
|
13
14
|
export interface CreateCompanyCreditGrant {
|
|
15
|
+
billingPeriodsCount?: number;
|
|
14
16
|
companyId: string;
|
|
15
17
|
creditId: string;
|
|
16
18
|
expiresAt?: Date;
|
|
19
|
+
expiryType?: Schematic.CreateCompanyCreditGrantExpiryType;
|
|
20
|
+
expiryUnit?: Schematic.CreateCompanyCreditGrantExpiryUnit;
|
|
21
|
+
expiryUnitCount?: number;
|
|
17
22
|
quantity: number;
|
|
18
23
|
reason: string;
|
|
19
24
|
}
|
|
@@ -17,7 +17,7 @@ export interface CreateCreditBundleRequestBody {
|
|
|
17
17
|
creditId: string;
|
|
18
18
|
currency: string;
|
|
19
19
|
expiryType?: Schematic.CreateCreditBundleRequestBodyExpiryType;
|
|
20
|
-
expiryUnit?:
|
|
20
|
+
expiryUnit?: Schematic.CreateCreditBundleRequestBodyExpiryUnit;
|
|
21
21
|
expiryUnitCount?: number;
|
|
22
22
|
pricePerUnit: number;
|
|
23
23
|
pricePerUnitDecimal?: string;
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as Schematic from "../../../../index";
|
|
5
|
+
/**
|
|
6
|
+
* @example
|
|
7
|
+
* {
|
|
8
|
+
* companyId: "company_id",
|
|
9
|
+
* billingCreditId: "billing_credit_id",
|
|
10
|
+
* featureId: "feature_id",
|
|
11
|
+
* period: "daily",
|
|
12
|
+
* startTime: "start_time",
|
|
13
|
+
* endTime: "end_time",
|
|
14
|
+
* limit: 1,
|
|
15
|
+
* offset: 1
|
|
16
|
+
* }
|
|
17
|
+
*/
|
|
18
|
+
export interface GetEnrichedCreditLedgerRequest {
|
|
19
|
+
companyId: string;
|
|
20
|
+
billingCreditId?: string;
|
|
21
|
+
featureId?: string;
|
|
22
|
+
period: Schematic.GetEnrichedCreditLedgerRequestPeriod;
|
|
23
|
+
startTime?: string;
|
|
24
|
+
endTime?: string;
|
|
25
|
+
/**
|
|
26
|
+
* Page limit (default 100)
|
|
27
|
+
*/
|
|
28
|
+
limit?: number;
|
|
29
|
+
/**
|
|
30
|
+
* Page offset (default 0)
|
|
31
|
+
*/
|
|
32
|
+
offset?: number;
|
|
33
|
+
}
|
|
@@ -4,7 +4,13 @@
|
|
|
4
4
|
import * as Schematic from "../../../../index";
|
|
5
5
|
/**
|
|
6
6
|
* @example
|
|
7
|
-
* {
|
|
7
|
+
* {
|
|
8
|
+
* companyId: "company_id",
|
|
9
|
+
* order: "created_at",
|
|
10
|
+
* dir: "asc",
|
|
11
|
+
* limit: 1,
|
|
12
|
+
* offset: 1
|
|
13
|
+
* }
|
|
8
14
|
*/
|
|
9
15
|
export interface ListCompanyGrantsRequest {
|
|
10
16
|
companyId?: string;
|
|
@@ -4,7 +4,13 @@
|
|
|
4
4
|
import * as Schematic from "../../../../index";
|
|
5
5
|
/**
|
|
6
6
|
* @example
|
|
7
|
-
* {
|
|
7
|
+
* {
|
|
8
|
+
* creditId: "credit_id",
|
|
9
|
+
* status: "active",
|
|
10
|
+
* bundleType: "fixed",
|
|
11
|
+
* limit: 1,
|
|
12
|
+
* offset: 1
|
|
13
|
+
* }
|
|
8
14
|
*/
|
|
9
15
|
export interface ListCreditBundlesRequest {
|
|
10
16
|
ids?: string | string[];
|
package/dist/api/resources/credits/client/requests/UpdateCreditBundleDetailsRequestBody.d.ts
CHANGED
|
@@ -12,6 +12,7 @@ import * as Schematic from "../../../../index";
|
|
|
12
12
|
export interface UpdateCreditBundleDetailsRequestBody {
|
|
13
13
|
bundleName: string;
|
|
14
14
|
expiryType?: Schematic.UpdateCreditBundleDetailsRequestBodyExpiryType;
|
|
15
|
+
expiryUnit?: Schematic.UpdateCreditBundleDetailsRequestBodyExpiryUnit;
|
|
15
16
|
expiryUnitCount?: number;
|
|
16
17
|
pricePerUnit: number;
|
|
17
18
|
pricePerUnitDecimal?: string;
|
|
@@ -11,6 +11,8 @@ export { type CreateCompanyCreditGrant } from "./CreateCompanyCreditGrant";
|
|
|
11
11
|
export { type ListCompanyGrantsRequest } from "./ListCompanyGrantsRequest";
|
|
12
12
|
export { type CountBillingCreditsGrantsRequest } from "./CountBillingCreditsGrantsRequest";
|
|
13
13
|
export { type ListGrantsForCreditRequest } from "./ListGrantsForCreditRequest";
|
|
14
|
+
export { type GetEnrichedCreditLedgerRequest } from "./GetEnrichedCreditLedgerRequest";
|
|
15
|
+
export { type CountCreditLedgerRequest } from "./CountCreditLedgerRequest";
|
|
14
16
|
export { type ListBillingPlanCreditGrantsRequest } from "./ListBillingPlanCreditGrantsRequest";
|
|
15
17
|
export { type CreateBillingPlanCreditGrantRequestBody } from "./CreateBillingPlanCreditGrantRequestBody";
|
|
16
18
|
export { type CountBillingPlanCreditGrantsRequest } from "./CountBillingPlanCreditGrantsRequest";
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as Schematic from "../../../index";
|
|
5
|
+
/**
|
|
6
|
+
* Input parameters
|
|
7
|
+
*/
|
|
8
|
+
export interface CountCreditLedgerParams {
|
|
9
|
+
billingCreditId?: string;
|
|
10
|
+
companyId?: string;
|
|
11
|
+
endTime?: string;
|
|
12
|
+
featureId?: string;
|
|
13
|
+
/** Page limit (default 100) */
|
|
14
|
+
limit?: number;
|
|
15
|
+
/** Page offset (default 0) */
|
|
16
|
+
offset?: number;
|
|
17
|
+
period?: Schematic.CountCreditLedgerResponseParamsPeriod;
|
|
18
|
+
startTime?: string;
|
|
19
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
export type CountCreditLedgerRequestPeriod = "daily" | "weekly" | "monthly" | "raw";
|
|
5
|
+
export declare const CountCreditLedgerRequestPeriod: {
|
|
6
|
+
readonly Daily: "daily";
|
|
7
|
+
readonly Weekly: "weekly";
|
|
8
|
+
readonly Monthly: "monthly";
|
|
9
|
+
readonly Raw: "raw";
|
|
10
|
+
};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as Schematic from "../../../index";
|
|
5
|
+
export interface CountCreditLedgerResponse {
|
|
6
|
+
data: Schematic.CountResponse;
|
|
7
|
+
/** Input parameters */
|
|
8
|
+
params: Schematic.CountCreditLedgerParams;
|
|
9
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
export type CountCreditLedgerResponseParamsPeriod = "daily" | "weekly" | "monthly" | "raw";
|
|
5
|
+
export declare const CountCreditLedgerResponseParamsPeriod: {
|
|
6
|
+
readonly Daily: "daily";
|
|
7
|
+
readonly Weekly: "weekly";
|
|
8
|
+
readonly Monthly: "monthly";
|
|
9
|
+
readonly Raw: "raw";
|
|
10
|
+
};
|
package/dist/api/resources/credits/types/CreateBillingPlanCreditGrantRequestBodyExpiryType.d.ts
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
export type CreateBillingPlanCreditGrantRequestBodyExpiryType = "duration" | "no_expiry" | "end_of_trial" | "end_of_billing_period" | "end_of_next_billing_period";
|
|
5
|
+
export declare const CreateBillingPlanCreditGrantRequestBodyExpiryType: {
|
|
6
|
+
readonly Duration: "duration";
|
|
7
|
+
readonly NoExpiry: "no_expiry";
|
|
8
|
+
readonly EndOfTrial: "end_of_trial";
|
|
9
|
+
readonly EndOfBillingPeriod: "end_of_billing_period";
|
|
10
|
+
readonly EndOfNextBillingPeriod: "end_of_next_billing_period";
|
|
11
|
+
};
|
package/dist/api/resources/credits/types/CreateBillingPlanCreditGrantRequestBodyExpiryUnit.d.ts
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
export type CreateBillingPlanCreditGrantRequestBodyExpiryUnit = "days" | "billing_periods";
|
|
5
|
+
export declare const CreateBillingPlanCreditGrantRequestBodyExpiryUnit: {
|
|
6
|
+
readonly Days: "days";
|
|
7
|
+
readonly BillingPeriods: "billing_periods";
|
|
8
|
+
};
|
package/dist/api/resources/credits/types/CreateBillingPlanCreditGrantRequestBodyResetType.d.ts
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
export type CreateBillingPlanCreditGrantRequestBodyResetType = "plan_period" | "no_reset";
|
|
5
|
+
export declare const CreateBillingPlanCreditGrantRequestBodyResetType: {
|
|
6
|
+
readonly PlanPeriod: "plan_period";
|
|
7
|
+
readonly NoReset: "no_reset";
|
|
8
|
+
};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
export type CreateCompanyCreditGrantExpiryType = "duration" | "no_expiry" | "end_of_trial" | "end_of_billing_period" | "end_of_next_billing_period";
|
|
5
|
+
export declare const CreateCompanyCreditGrantExpiryType: {
|
|
6
|
+
readonly Duration: "duration";
|
|
7
|
+
readonly NoExpiry: "no_expiry";
|
|
8
|
+
readonly EndOfTrial: "end_of_trial";
|
|
9
|
+
readonly EndOfBillingPeriod: "end_of_billing_period";
|
|
10
|
+
readonly EndOfNextBillingPeriod: "end_of_next_billing_period";
|
|
11
|
+
};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
export type CreateCompanyCreditGrantExpiryUnit = "days" | "billing_periods";
|
|
5
|
+
export declare const CreateCompanyCreditGrantExpiryUnit: {
|
|
6
|
+
readonly Days: "days";
|
|
7
|
+
readonly BillingPeriods: "billing_periods";
|
|
8
|
+
};
|
|
@@ -1,8 +1,11 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
|
-
export type CreateCreditBundleRequestBodyExpiryType = "
|
|
4
|
+
export type CreateCreditBundleRequestBodyExpiryType = "duration" | "no_expiry" | "end_of_trial" | "end_of_billing_period" | "end_of_next_billing_period";
|
|
5
5
|
export declare const CreateCreditBundleRequestBodyExpiryType: {
|
|
6
|
-
readonly
|
|
6
|
+
readonly Duration: "duration";
|
|
7
7
|
readonly NoExpiry: "no_expiry";
|
|
8
|
+
readonly EndOfTrial: "end_of_trial";
|
|
9
|
+
readonly EndOfBillingPeriod: "end_of_billing_period";
|
|
10
|
+
readonly EndOfNextBillingPeriod: "end_of_next_billing_period";
|
|
8
11
|
};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
export type CreateCreditBundleRequestBodyExpiryUnit = "days" | "billing_periods";
|
|
5
|
+
export declare const CreateCreditBundleRequestBodyExpiryUnit: {
|
|
6
|
+
readonly Days: "days";
|
|
7
|
+
readonly BillingPeriods: "billing_periods";
|
|
8
|
+
};
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as Schematic from "../../../index";
|
|
5
|
+
/**
|
|
6
|
+
* Input parameters
|
|
7
|
+
*/
|
|
8
|
+
export interface GetEnrichedCreditLedgerParams {
|
|
9
|
+
billingCreditId?: string;
|
|
10
|
+
companyId?: string;
|
|
11
|
+
endTime?: string;
|
|
12
|
+
featureId?: string;
|
|
13
|
+
/** Page limit (default 100) */
|
|
14
|
+
limit?: number;
|
|
15
|
+
/** Page offset (default 0) */
|
|
16
|
+
offset?: number;
|
|
17
|
+
period?: Schematic.GetEnrichedCreditLedgerResponseParamsPeriod;
|
|
18
|
+
startTime?: string;
|
|
19
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
export type GetEnrichedCreditLedgerRequestPeriod = "daily" | "weekly" | "monthly" | "raw";
|
|
5
|
+
export declare const GetEnrichedCreditLedgerRequestPeriod: {
|
|
6
|
+
readonly Daily: "daily";
|
|
7
|
+
readonly Weekly: "weekly";
|
|
8
|
+
readonly Monthly: "monthly";
|
|
9
|
+
readonly Raw: "raw";
|
|
10
|
+
};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as Schematic from "../../../index";
|
|
5
|
+
export interface GetEnrichedCreditLedgerResponse {
|
|
6
|
+
data: Schematic.CreditLedgerEnrichedEntryResponseData[];
|
|
7
|
+
/** Input parameters */
|
|
8
|
+
params: Schematic.GetEnrichedCreditLedgerParams;
|
|
9
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
export type GetEnrichedCreditLedgerResponseParamsPeriod = "daily" | "weekly" | "monthly" | "raw";
|
|
5
|
+
export declare const GetEnrichedCreditLedgerResponseParamsPeriod: {
|
|
6
|
+
readonly Daily: "daily";
|
|
7
|
+
readonly Weekly: "weekly";
|
|
8
|
+
readonly Monthly: "monthly";
|
|
9
|
+
readonly Raw: "raw";
|
|
10
|
+
};
|
|
@@ -3,7 +3,6 @@
|
|
|
3
3
|
*/
|
|
4
4
|
import * as Schematic from "../../../index";
|
|
5
5
|
export interface ListBillingPlanCreditGrantsResponse {
|
|
6
|
-
/** The returned resources */
|
|
7
6
|
data: Schematic.BillingPlanCreditGrantResponseData[];
|
|
8
7
|
/** Input parameters */
|
|
9
8
|
params: Schematic.ListBillingPlanCreditGrantsParams;
|
package/dist/api/resources/credits/types/UpdateCreditBundleDetailsRequestBodyExpiryType.d.ts
CHANGED
|
@@ -1,8 +1,11 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
|
-
export type UpdateCreditBundleDetailsRequestBodyExpiryType = "
|
|
4
|
+
export type UpdateCreditBundleDetailsRequestBodyExpiryType = "duration" | "no_expiry" | "end_of_trial" | "end_of_billing_period" | "end_of_next_billing_period";
|
|
5
5
|
export declare const UpdateCreditBundleDetailsRequestBodyExpiryType: {
|
|
6
|
-
readonly
|
|
6
|
+
readonly Duration: "duration";
|
|
7
7
|
readonly NoExpiry: "no_expiry";
|
|
8
|
+
readonly EndOfTrial: "end_of_trial";
|
|
9
|
+
readonly EndOfBillingPeriod: "end_of_billing_period";
|
|
10
|
+
readonly EndOfNextBillingPeriod: "end_of_next_billing_period";
|
|
8
11
|
};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
export type UpdateCreditBundleDetailsRequestBodyExpiryUnit = "days" | "billing_periods";
|
|
5
|
+
export declare const UpdateCreditBundleDetailsRequestBodyExpiryUnit: {
|
|
6
|
+
readonly Days: "days";
|
|
7
|
+
readonly BillingPeriods: "billing_periods";
|
|
8
|
+
};
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
|
-
export type ZeroOutGrantRequestBodyReason = "plan_change" | "manual" | "plan_period_reset";
|
|
4
|
+
export type ZeroOutGrantRequestBodyReason = "plan_change" | "manual" | "plan_period_reset" | "expired";
|
|
5
5
|
export declare const ZeroOutGrantRequestBodyReason: {
|
|
6
6
|
readonly PlanChange: "plan_change";
|
|
7
7
|
readonly Manual: "manual";
|
|
8
8
|
readonly PlanPeriodReset: "plan_period_reset";
|
|
9
|
+
readonly Expired: "expired";
|
|
9
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";
|
|
@@ -9,7 +9,7 @@ export declare namespace Crm {
|
|
|
9
9
|
environment?: core.Supplier<environments.SchematicEnvironment | string>;
|
|
10
10
|
/** Specify a custom URL to connect the client to. */
|
|
11
11
|
baseUrl?: core.Supplier<string>;
|
|
12
|
-
apiKey
|
|
12
|
+
apiKey?: core.Supplier<string | undefined>;
|
|
13
13
|
fetcher?: core.FetchFunction;
|
|
14
14
|
}
|
|
15
15
|
interface RequestOptions {
|
|
@@ -25,7 +25,7 @@ export declare namespace Crm {
|
|
|
25
25
|
}
|
|
26
26
|
export declare class Crm {
|
|
27
27
|
protected readonly _options: Crm.Options;
|
|
28
|
-
constructor(_options
|
|
28
|
+
constructor(_options?: Crm.Options);
|
|
29
29
|
/**
|
|
30
30
|
* @param {Schematic.CreateCrmDealLineItemAssociationRequestBody} request
|
|
31
31
|
* @param {Crm.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -95,7 +95,11 @@ export declare class Crm {
|
|
|
95
95
|
* @throws {@link Schematic.InternalServerError}
|
|
96
96
|
*
|
|
97
97
|
* @example
|
|
98
|
-
* await client.crm.listCrmProducts(
|
|
98
|
+
* await client.crm.listCrmProducts({
|
|
99
|
+
* name: "name",
|
|
100
|
+
* limit: 1,
|
|
101
|
+
* offset: 1
|
|
102
|
+
* })
|
|
99
103
|
*/
|
|
100
104
|
listCrmProducts(request?: Schematic.ListCrmProductsRequest, requestOptions?: Crm.RequestOptions): core.HttpResponsePromise<Schematic.ListCrmProductsResponse>;
|
|
101
105
|
private __listCrmProducts;
|
|
@@ -124,6 +128,6 @@ export declare class Crm {
|
|
|
124
128
|
upsertCrmProduct(request: Schematic.CreateCrmProductRequestBody, requestOptions?: Crm.RequestOptions): core.HttpResponsePromise<Schematic.UpsertCrmProductResponse>;
|
|
125
129
|
private __upsertCrmProduct;
|
|
126
130
|
protected _getCustomAuthorizationHeaders(): Promise<{
|
|
127
|
-
"X-Schematic-Api-Key": string;
|
|
131
|
+
"X-Schematic-Api-Key": string | undefined;
|
|
128
132
|
}>;
|
|
129
133
|
}
|
|
@@ -10,7 +10,7 @@ export declare namespace Dataexports {
|
|
|
10
10
|
environment?: core.Supplier<environments.SchematicEnvironment | string>;
|
|
11
11
|
/** Specify a custom URL to connect the client to. */
|
|
12
12
|
baseUrl?: core.Supplier<string>;
|
|
13
|
-
apiKey
|
|
13
|
+
apiKey?: core.Supplier<string | undefined>;
|
|
14
14
|
fetcher?: core.FetchFunction;
|
|
15
15
|
}
|
|
16
16
|
interface RequestOptions {
|
|
@@ -26,7 +26,7 @@ export declare namespace Dataexports {
|
|
|
26
26
|
}
|
|
27
27
|
export declare class Dataexports {
|
|
28
28
|
protected readonly _options: Dataexports.Options;
|
|
29
|
-
constructor(_options
|
|
29
|
+
constructor(_options?: Dataexports.Options);
|
|
30
30
|
/**
|
|
31
31
|
* @param {Schematic.CreateDataExportRequestBody} request
|
|
32
32
|
* @param {Dataexports.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -53,6 +53,6 @@ export declare class Dataexports {
|
|
|
53
53
|
getDataExportArtifact(dataExportId: string, requestOptions?: Dataexports.RequestOptions): core.HttpResponsePromise<stream.Readable>;
|
|
54
54
|
private __getDataExportArtifact;
|
|
55
55
|
protected _getCustomAuthorizationHeaders(): Promise<{
|
|
56
|
-
"X-Schematic-Api-Key": string;
|
|
56
|
+
"X-Schematic-Api-Key": string | undefined;
|
|
57
57
|
}>;
|
|
58
58
|
}
|