lark-billing 0.0.6 → 0.0.7
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 +2 -1
- package/dist/cjs/Client.d.ts +12 -5
- package/dist/cjs/Client.js +23 -13
- package/dist/cjs/api/resources/checkout/client/Client.d.ts +6 -15
- package/dist/cjs/api/resources/checkout/client/Client.js +5 -63
- package/dist/cjs/api/resources/checkout/client/requests/CreateSubscriptionCheckoutSessionRequest.d.ts +3 -2
- package/dist/cjs/api/resources/{featureAccess → customerAccess}/client/Client.d.ts +13 -11
- package/dist/cjs/api/resources/{featureAccess → customerAccess}/client/Client.js +13 -11
- package/dist/cjs/api/resources/customerPortal/client/Client.d.ts +48 -0
- package/dist/cjs/api/resources/customerPortal/client/Client.js +130 -0
- package/dist/cjs/api/resources/customerPortal/client/index.d.ts +2 -0
- package/dist/cjs/api/resources/{rateCards/types → customerPortal/client}/index.js +1 -2
- package/dist/cjs/api/resources/customerPortal/client/requests/CreateCustomerPortalSessionRequest.d.ts +12 -0
- package/dist/cjs/api/resources/customerPortal/client/requests/index.d.ts +1 -0
- package/dist/cjs/api/resources/customerPortal/client/requests/index.js +2 -0
- package/dist/cjs/api/resources/customerPortal/index.d.ts +1 -0
- package/dist/cjs/api/resources/customerPortal/index.js +17 -0
- package/dist/cjs/api/resources/index.d.ts +7 -3
- package/dist/cjs/api/resources/index.js +8 -4
- package/dist/cjs/api/resources/pricingMetrics/client/Client.d.ts +64 -0
- package/dist/cjs/api/resources/pricingMetrics/client/Client.js +189 -0
- package/dist/cjs/api/resources/pricingMetrics/client/index.d.ts +2 -0
- package/dist/cjs/api/resources/pricingMetrics/client/index.js +17 -0
- package/dist/cjs/api/resources/pricingMetrics/client/requests/CreatePricingMetricRequest.d.ts +22 -0
- package/dist/cjs/api/resources/pricingMetrics/client/requests/index.d.ts +1 -0
- package/dist/cjs/api/resources/pricingMetrics/client/requests/index.js +2 -0
- package/dist/cjs/api/resources/pricingMetrics/index.d.ts +2 -0
- package/dist/cjs/api/resources/pricingMetrics/index.js +18 -0
- package/dist/cjs/api/resources/pricingMetrics/types/PricingMetricAggregation.d.ts +13 -0
- package/dist/cjs/api/resources/pricingMetrics/types/index.d.ts +1 -0
- package/dist/cjs/api/resources/pricingMetrics/types/index.js +17 -0
- package/dist/cjs/api/resources/rateCards/client/Client.d.ts +9 -112
- package/dist/cjs/api/resources/rateCards/client/Client.js +10 -247
- package/dist/cjs/api/resources/rateCards/client/requests/CreateRateCardRequest.d.ts +2 -37
- package/dist/{esm/api/resources/subjects/client/requests/SubjectsListSubjectsRequest.d.mts → cjs/api/resources/rateCards/client/requests/ListRateCardsRateCardsGetRequest.d.ts} +2 -4
- package/dist/cjs/api/resources/rateCards/client/requests/index.d.ts +1 -2
- package/dist/cjs/api/resources/rateCards/index.d.ts +0 -1
- package/dist/cjs/api/resources/rateCards/index.js +0 -1
- package/dist/cjs/api/resources/subjects/client/Client.d.ts +6 -5
- package/dist/cjs/api/resources/subjects/client/Client.js +12 -11
- package/dist/cjs/api/resources/subjects/client/requests/CreateSubjectRequest.d.ts +0 -1
- package/dist/cjs/api/resources/subjects/client/requests/{SubjectsListSubjectsRequest.d.ts → ListSubjectsSubjectsGetRequest.d.ts} +1 -1
- package/dist/cjs/api/resources/subjects/client/requests/UpdateSubjectRequest.d.ts +0 -1
- package/dist/cjs/api/resources/subjects/client/requests/index.d.ts +1 -1
- package/dist/cjs/api/resources/subscriptions/client/Client.d.ts +9 -26
- package/dist/cjs/api/resources/subscriptions/client/Client.js +17 -113
- package/dist/cjs/api/resources/subscriptions/client/requests/CreateSubscriptionRequest.d.ts +1 -4
- package/dist/cjs/api/resources/subscriptions/client/requests/ListSubscriptionsSubscriptionsGetRequest.d.ts +18 -0
- package/dist/cjs/api/resources/subscriptions/client/requests/index.d.ts +1 -1
- package/dist/cjs/api/resources/usageEvents/client/Client.d.ts +4 -4
- package/dist/cjs/api/resources/usageEvents/client/Client.js +5 -5
- package/dist/cjs/api/resources/usageEvents/client/requests/CreateUsageEventRequest.d.ts +1 -2
- package/dist/cjs/api/types/Aggregation.d.ts +5 -5
- package/dist/cjs/api/types/Amount.d.ts +2 -1
- package/dist/cjs/api/types/BillingStateResponse.d.ts +7 -0
- package/dist/cjs/api/types/{CreditGrantScheduleOneTimeResource.d.ts → CountAggregationPricingMetricResource.d.ts} +1 -1
- package/dist/cjs/api/types/CreateCustomerPortalSessionResponse.d.ts +7 -0
- package/dist/cjs/api/types/CreateFixedRateInterface.d.ts +2 -5
- package/dist/cjs/api/types/{PricingMetricInterface.d.ts → CreatePricingMetricResponse.d.ts} +1 -2
- package/dist/cjs/api/types/CreateSimpleUsageBasedRateInterface.d.ts +4 -5
- package/dist/cjs/api/types/CreateSubjectResponse.d.ts +1 -1
- package/dist/cjs/api/types/CreateSubscriptionCheckoutSessionResponse.d.ts +1 -2
- package/dist/cjs/api/types/CreateUsageEventSummaryResponse.d.ts +1 -1
- package/dist/cjs/api/types/{CreditGrantScheduleRateCycleStartResource.d.ts → CustomPricingMetricResource.d.ts} +2 -1
- package/dist/cjs/api/types/FixedRateInterface.d.ts +1 -4
- package/dist/cjs/api/types/{CreatePricingMetricInterface.d.ts → GetPricingMetricResponse.d.ts} +2 -2
- package/dist/cjs/api/types/{MaxAggregationPricingMetricInterface.d.ts → LastAggregationPricingMetricResource.d.ts} +1 -2
- package/dist/{esm/api/types/MaxAggregationPricingMetricInterface.d.mts → cjs/api/types/MaxAggregationPricingMetricResource.d.ts} +1 -2
- package/dist/cjs/api/types/Price.d.ts +10 -1
- package/dist/cjs/api/types/RateCardResource.d.ts +0 -4
- package/dist/cjs/api/types/RateCardResourceUsageBasedRatesItem.d.ts +1 -4
- package/dist/cjs/api/types/SimpleUsageBasedRateInterface.d.ts +2 -2
- package/dist/cjs/api/types/SubjectResource.d.ts +1 -1
- package/dist/cjs/api/types/SubscriptionResource.d.ts +1 -3
- package/dist/cjs/api/types/SubscriptionResource.js +0 -1
- package/dist/cjs/api/types/{LastAggregationPricingMetricInterface.d.ts → SumAggregationPricingMetricResource.d.ts} +1 -2
- package/dist/cjs/api/types/index.d.ts +9 -86
- package/dist/cjs/api/types/index.js +9 -86
- package/dist/cjs/environments.d.ts +7 -0
- package/dist/cjs/environments.js +9 -0
- package/dist/cjs/index.d.ts +1 -0
- package/dist/cjs/index.js +3 -1
- package/dist/cjs/version.d.ts +1 -1
- package/dist/cjs/version.js +1 -1
- package/dist/esm/Client.d.mts +12 -5
- package/dist/esm/Client.mjs +17 -7
- package/dist/esm/api/resources/checkout/client/Client.d.mts +6 -15
- package/dist/esm/api/resources/checkout/client/Client.mjs +5 -63
- package/dist/esm/api/resources/checkout/client/requests/CreateSubscriptionCheckoutSessionRequest.d.mts +3 -2
- package/dist/esm/api/resources/{featureAccess → customerAccess}/client/Client.d.mts +13 -11
- package/dist/esm/api/resources/{featureAccess → customerAccess}/client/Client.mjs +11 -9
- package/dist/esm/api/resources/customerPortal/client/Client.d.mts +48 -0
- package/dist/esm/api/resources/customerPortal/client/Client.mjs +93 -0
- package/dist/esm/api/resources/customerPortal/client/index.d.mts +2 -0
- package/dist/esm/api/resources/customerPortal/client/index.mjs +1 -0
- package/dist/esm/api/resources/customerPortal/client/requests/CreateCustomerPortalSessionRequest.d.mts +12 -0
- package/dist/esm/api/resources/customerPortal/client/requests/index.d.mts +1 -0
- package/dist/esm/api/resources/customerPortal/client/requests/index.mjs +1 -0
- package/dist/esm/api/resources/customerPortal/index.d.mts +1 -0
- package/dist/esm/api/resources/customerPortal/index.mjs +1 -0
- package/dist/esm/api/resources/index.d.mts +7 -3
- package/dist/esm/api/resources/index.mjs +7 -3
- package/dist/esm/api/resources/pricingMetrics/client/Client.d.mts +64 -0
- package/dist/esm/api/resources/pricingMetrics/client/Client.mjs +152 -0
- package/dist/esm/api/resources/pricingMetrics/client/index.d.mts +2 -0
- package/dist/esm/api/resources/pricingMetrics/client/index.mjs +1 -0
- package/dist/esm/api/resources/pricingMetrics/client/requests/CreatePricingMetricRequest.d.mts +22 -0
- package/dist/esm/api/resources/pricingMetrics/client/requests/index.d.mts +1 -0
- package/dist/esm/api/resources/pricingMetrics/client/requests/index.mjs +1 -0
- package/dist/esm/api/resources/pricingMetrics/index.d.mts +2 -0
- package/dist/esm/api/resources/pricingMetrics/index.mjs +2 -0
- package/dist/esm/api/resources/pricingMetrics/types/PricingMetricAggregation.d.mts +13 -0
- package/dist/esm/api/resources/pricingMetrics/types/index.d.mts +1 -0
- package/dist/esm/api/resources/pricingMetrics/types/index.mjs +1 -0
- package/dist/esm/api/resources/rateCards/client/Client.d.mts +9 -112
- package/dist/esm/api/resources/rateCards/client/Client.mjs +10 -247
- package/dist/esm/api/resources/rateCards/client/requests/CreateRateCardRequest.d.mts +2 -37
- package/dist/esm/api/resources/rateCards/client/requests/{RateCardsListRateCardsRequest.d.mts → ListRateCardsRateCardsGetRequest.d.mts} +2 -4
- package/dist/esm/api/resources/rateCards/client/requests/index.d.mts +1 -2
- package/dist/esm/api/resources/rateCards/index.d.mts +0 -1
- package/dist/esm/api/resources/rateCards/index.mjs +0 -1
- package/dist/esm/api/resources/subjects/client/Client.d.mts +6 -5
- package/dist/esm/api/resources/subjects/client/Client.mjs +12 -11
- package/dist/esm/api/resources/subjects/client/requests/CreateSubjectRequest.d.mts +0 -1
- package/dist/{cjs/api/resources/rateCards/client/requests/RateCardsListRateCardsRequest.d.ts → esm/api/resources/subjects/client/requests/ListSubjectsSubjectsGetRequest.d.mts} +1 -1
- package/dist/esm/api/resources/subjects/client/requests/UpdateSubjectRequest.d.mts +0 -1
- package/dist/esm/api/resources/subjects/client/requests/index.d.mts +1 -1
- package/dist/esm/api/resources/subscriptions/client/Client.d.mts +9 -26
- package/dist/esm/api/resources/subscriptions/client/Client.mjs +17 -113
- package/dist/esm/api/resources/subscriptions/client/requests/CreateSubscriptionRequest.d.mts +1 -4
- package/dist/esm/api/resources/subscriptions/client/requests/ListSubscriptionsSubscriptionsGetRequest.d.mts +18 -0
- package/dist/esm/api/resources/subscriptions/client/requests/index.d.mts +1 -1
- package/dist/esm/api/resources/usageEvents/client/Client.d.mts +4 -4
- package/dist/esm/api/resources/usageEvents/client/Client.mjs +5 -5
- package/dist/esm/api/resources/usageEvents/client/requests/CreateUsageEventRequest.d.mts +1 -2
- package/dist/esm/api/types/Aggregation.d.mts +5 -5
- package/dist/esm/api/types/Amount.d.mts +2 -1
- package/dist/esm/api/types/BillingStateResponse.d.mts +7 -0
- package/dist/esm/api/types/{CreditGrantScheduleOneTimeResource.d.mts → CountAggregationPricingMetricResource.d.mts} +1 -1
- package/dist/esm/api/types/CreateCustomerPortalSessionResponse.d.mts +7 -0
- package/dist/esm/api/types/CreateFixedRateInterface.d.mts +2 -5
- package/dist/esm/api/types/{PricingMetricInterface.d.mts → CreatePricingMetricResponse.d.mts} +1 -2
- package/dist/esm/api/types/CreateSimpleUsageBasedRateInterface.d.mts +4 -5
- package/dist/esm/api/types/CreateSubjectResponse.d.mts +1 -1
- package/dist/esm/api/types/CreateSubscriptionCheckoutSessionResponse.d.mts +1 -2
- package/dist/esm/api/types/CreateUsageEventSummaryResponse.d.mts +1 -1
- package/dist/esm/api/types/{CreditGrantScheduleRateCycleStartResource.d.mts → CustomPricingMetricResource.d.mts} +2 -1
- package/dist/esm/api/types/FixedRateInterface.d.mts +1 -4
- package/dist/esm/api/types/{CreatePricingMetricInterface.d.mts → GetPricingMetricResponse.d.mts} +2 -2
- package/dist/esm/api/types/{LastAggregationPricingMetricInterface.d.mts → LastAggregationPricingMetricResource.d.mts} +1 -2
- package/dist/esm/api/types/MaxAggregationPricingMetricResource.d.mts +6 -0
- package/dist/esm/api/types/Price.d.mts +10 -1
- package/dist/esm/api/types/RateCardResource.d.mts +0 -4
- package/dist/esm/api/types/RateCardResourceUsageBasedRatesItem.d.mts +1 -4
- package/dist/esm/api/types/SimpleUsageBasedRateInterface.d.mts +2 -2
- package/dist/esm/api/types/SubjectResource.d.mts +1 -1
- package/dist/esm/api/types/SubscriptionResource.d.mts +1 -3
- package/dist/esm/api/types/SubscriptionResource.mjs +0 -1
- package/dist/esm/api/types/SumAggregationPricingMetricResource.d.mts +6 -0
- package/dist/esm/api/types/index.d.mts +9 -86
- package/dist/esm/api/types/index.mjs +9 -86
- package/dist/esm/environments.d.mts +7 -0
- package/dist/esm/environments.mjs +6 -0
- package/dist/esm/index.d.mts +1 -0
- package/dist/esm/index.mjs +1 -0
- package/dist/esm/version.d.mts +1 -1
- package/dist/esm/version.mjs +1 -1
- package/package.json +1 -1
- package/reference.md +75 -296
- package/dist/cjs/api/resources/rateCards/client/requests/CreateRateCardVersionRequest.d.ts +0 -63
- package/dist/cjs/api/resources/rateCards/client/requests/CreateRateCardVersionRequest.js +0 -13
- package/dist/cjs/api/resources/rateCards/types/CreateRateCardRequestUsageBasedRatesItem.d.ts +0 -13
- package/dist/cjs/api/resources/rateCards/types/CreateRateCardVersionRequestUsageBasedRatesItem.d.ts +0 -13
- package/dist/cjs/api/resources/rateCards/types/index.d.ts +0 -2
- package/dist/cjs/api/resources/subscriptions/client/requests/SubscriptionsListSubscriptionsRequest.d.ts +0 -14
- package/dist/cjs/api/types/CheckFeatureAccessRequest.d.ts +0 -8
- package/dist/cjs/api/types/CheckFeatureAccessResponse.d.ts +0 -8
- package/dist/cjs/api/types/CompleteSubscriptionCheckoutResponse.d.ts +0 -8
- package/dist/cjs/api/types/CreateCreditGrantInterface.d.ts +0 -12
- package/dist/cjs/api/types/CreateCreditGrantInterfaceExpiration.d.ts +0 -10
- package/dist/cjs/api/types/CreateCreditPoolRequest.d.ts +0 -4
- package/dist/cjs/api/types/CreateDimensionCoordinateInterface.d.ts +0 -7
- package/dist/cjs/api/types/CreateDimensionInterface.d.ts +0 -7
- package/dist/cjs/api/types/CreateDimensionalUsageBasedRateInterface.d.ts +0 -14
- package/dist/cjs/api/types/CreatePricingMatrixCellInterface.d.ts +0 -8
- package/dist/cjs/api/types/CreatePricingMatrixInterface.d.ts +0 -7
- package/dist/cjs/api/types/CreatePricingMatrixInterface.js +0 -5
- package/dist/cjs/api/types/CreatePricingMetricInterface.js +0 -5
- package/dist/cjs/api/types/CreatePricingPlanRequest.d.ts +0 -4
- package/dist/cjs/api/types/CreatePricingPlanRequest.js +0 -5
- package/dist/cjs/api/types/CreateRateCardResponse.d.ts +0 -26
- package/dist/cjs/api/types/CreateRateCardResponse.js +0 -13
- package/dist/cjs/api/types/CreateRateCardResponseUsageBasedRatesItem.d.ts +0 -13
- package/dist/cjs/api/types/CreateRateCardResponseUsageBasedRatesItem.js +0 -5
- package/dist/cjs/api/types/CreateRateCardVersionResponse.d.ts +0 -26
- package/dist/cjs/api/types/CreateRateCardVersionResponse.js +0 -13
- package/dist/cjs/api/types/CreateRateCardVersionResponseUsageBasedRatesItem.d.ts +0 -13
- package/dist/cjs/api/types/CreateRateCardVersionResponseUsageBasedRatesItem.js +0 -5
- package/dist/cjs/api/types/CreditGrant.d.ts +0 -4
- package/dist/cjs/api/types/CreditGrant.js +0 -5
- package/dist/cjs/api/types/CreditGrantDateTimeExpirationInterface.d.ts +0 -6
- package/dist/cjs/api/types/CreditGrantDateTimeExpirationInterface.js +0 -5
- package/dist/cjs/api/types/CreditGrantDateTimeExpirationResource.d.ts +0 -6
- package/dist/cjs/api/types/CreditGrantDateTimeExpirationResource.js +0 -5
- package/dist/cjs/api/types/CreditGrantDurationExpirationInterface.d.ts +0 -17
- package/dist/cjs/api/types/CreditGrantDurationExpirationInterface.js +0 -16
- package/dist/cjs/api/types/CreditGrantDurationExpirationResource.d.ts +0 -17
- package/dist/cjs/api/types/CreditGrantDurationExpirationResource.js +0 -16
- package/dist/cjs/api/types/CreditGrantInterface.d.ts +0 -12
- package/dist/cjs/api/types/CreditGrantInterface.js +0 -5
- package/dist/cjs/api/types/CreditGrantInterfaceInputExpiration.d.ts +0 -10
- package/dist/cjs/api/types/CreditGrantInterfaceInputExpiration.js +0 -5
- package/dist/cjs/api/types/CreditGrantInterfaceOutputExpiration.d.ts +0 -13
- package/dist/cjs/api/types/CreditGrantInterfaceOutputExpiration.js +0 -5
- package/dist/cjs/api/types/CreditGrantInterfaceOutputSchedule.d.ts +0 -13
- package/dist/cjs/api/types/CreditGrantInterfaceOutputSchedule.js +0 -5
- package/dist/cjs/api/types/CreditGrantResource.d.ts +0 -12
- package/dist/cjs/api/types/CreditGrantResource.js +0 -5
- package/dist/cjs/api/types/CreditGrantResourceInputExpiration.d.ts +0 -10
- package/dist/cjs/api/types/CreditGrantResourceInputExpiration.js +0 -5
- package/dist/cjs/api/types/CreditGrantResourceInputSchedule.d.ts +0 -13
- package/dist/cjs/api/types/CreditGrantResourceInputSchedule.js +0 -5
- package/dist/cjs/api/types/CreditGrantResourceOutputExpiration.d.ts +0 -13
- package/dist/cjs/api/types/CreditGrantResourceOutputExpiration.js +0 -5
- package/dist/cjs/api/types/CreditGrantResourceOutputSchedule.d.ts +0 -13
- package/dist/cjs/api/types/CreditGrantResourceOutputSchedule.js +0 -5
- package/dist/cjs/api/types/CreditGrantSchedule.d.ts +0 -4
- package/dist/cjs/api/types/CreditGrantSchedule.js +0 -5
- package/dist/cjs/api/types/CreditGrantScheduleOneTimeInterface.d.ts +0 -6
- package/dist/cjs/api/types/CreditGrantScheduleOneTimeInterface.js +0 -5
- package/dist/cjs/api/types/CreditGrantScheduleOneTimeResource.js +0 -5
- package/dist/cjs/api/types/CreditGrantScheduleRateCycleStartInterface.d.ts +0 -6
- package/dist/cjs/api/types/CreditGrantScheduleRateCycleStartInterface.js +0 -5
- package/dist/cjs/api/types/CreditGrantScheduleRateCycleStartResource.js +0 -5
- package/dist/cjs/api/types/CreditGrantSubjectGrantingConfigInterface.d.ts +0 -7
- package/dist/cjs/api/types/CreditGrantSubjectGrantingConfigInterface.js +0 -5
- package/dist/cjs/api/types/CreditPool.d.ts +0 -4
- package/dist/cjs/api/types/CreditPool.js +0 -5
- package/dist/cjs/api/types/CreditPoolRolloverConfig.d.ts +0 -4
- package/dist/cjs/api/types/CreditPoolRolloverConfig.js +0 -5
- package/dist/cjs/api/types/CustomAggregationPricingMetricInterface.d.ts +0 -7
- package/dist/cjs/api/types/CustomAggregationPricingMetricInterface.js +0 -5
- package/dist/cjs/api/types/CustomPricingMetric.d.ts +0 -4
- package/dist/cjs/api/types/CustomPricingMetric.js +0 -5
- package/dist/cjs/api/types/CustomUnit.d.ts +0 -4
- package/dist/cjs/api/types/CustomUnit.js +0 -5
- package/dist/cjs/api/types/CustomUnitAmount.d.ts +0 -4
- package/dist/cjs/api/types/CustomUnitAmount.js +0 -5
- package/dist/cjs/api/types/Dimension.d.ts +0 -4
- package/dist/cjs/api/types/Dimension.js +0 -5
- package/dist/cjs/api/types/DimensionCoordinate.d.ts +0 -4
- package/dist/cjs/api/types/DimensionCoordinate.js +0 -5
- package/dist/cjs/api/types/DimensionCoordinateInterface.d.ts +0 -7
- package/dist/cjs/api/types/DimensionCoordinateInterface.js +0 -5
- package/dist/cjs/api/types/DimensionCoordinateSet.d.ts +0 -4
- package/dist/cjs/api/types/DimensionCoordinateSet.js +0 -5
- package/dist/cjs/api/types/DimensionInterface.d.ts +0 -7
- package/dist/cjs/api/types/DimensionInterface.js +0 -5
- package/dist/cjs/api/types/DimensionalRateMatrix.d.ts +0 -4
- package/dist/cjs/api/types/DimensionalRateMatrix.js +0 -5
- package/dist/cjs/api/types/DimensionalRateMatrixCell.d.ts +0 -4
- package/dist/cjs/api/types/DimensionalRateMatrixCell.js +0 -5
- package/dist/cjs/api/types/DimensionalUsageBasedRate.d.ts +0 -4
- package/dist/cjs/api/types/DimensionalUsageBasedRate.js +0 -5
- package/dist/cjs/api/types/DimensionalUsageBasedRateInput.d.ts +0 -4
- package/dist/cjs/api/types/DimensionalUsageBasedRateInput.js +0 -5
- package/dist/cjs/api/types/DimensionalUsageBasedRateInterface.d.ts +0 -15
- package/dist/cjs/api/types/DimensionalUsageBasedRateInterface.js +0 -5
- package/dist/cjs/api/types/FeatureAccessResource.d.ts +0 -8
- package/dist/cjs/api/types/FeatureAccessResource.js +0 -5
- package/dist/cjs/api/types/GetRateCardResponse.d.ts +0 -26
- package/dist/cjs/api/types/GetRateCardResponse.js +0 -13
- package/dist/cjs/api/types/GetRateCardResponseUsageBasedRatesItem.d.ts +0 -13
- package/dist/cjs/api/types/GetRateCardResponseUsageBasedRatesItem.js +0 -5
- package/dist/cjs/api/types/GrantCreditsRequest.d.ts +0 -4
- package/dist/cjs/api/types/GrantCreditsRequest.js +0 -5
- package/dist/cjs/api/types/LastAggregationPricingMetricInterface.js +0 -5
- package/dist/cjs/api/types/LicenseBasedRate.d.ts +0 -4
- package/dist/cjs/api/types/LicenseBasedRate.js +0 -5
- package/dist/cjs/api/types/LicenseBasedRateInput.d.ts +0 -4
- package/dist/cjs/api/types/LicenseBasedRateInput.js +0 -5
- package/dist/cjs/api/types/MaxAggregationPricingMetricInterface.js +0 -5
- package/dist/cjs/api/types/MonetaryAmount.d.ts +0 -4
- package/dist/cjs/api/types/MonetaryAmount.js +0 -5
- package/dist/cjs/api/types/PackagePriceWrapper.d.ts +0 -4
- package/dist/cjs/api/types/PackagePriceWrapper.js +0 -5
- package/dist/cjs/api/types/PricingMatrixCellInterface.d.ts +0 -8
- package/dist/cjs/api/types/PricingMatrixCellInterface.js +0 -5
- package/dist/cjs/api/types/PricingMatrixInterface.d.ts +0 -7
- package/dist/cjs/api/types/PricingMatrixInterface.js +0 -5
- package/dist/cjs/api/types/PricingMetric.d.ts +0 -4
- package/dist/cjs/api/types/PricingMetric.js +0 -5
- package/dist/cjs/api/types/PricingMetricInterface.js +0 -5
- package/dist/cjs/api/types/PricingPlan.d.ts +0 -4
- package/dist/cjs/api/types/PricingPlan.js +0 -5
- package/dist/cjs/api/types/PricingPlanSubscription.d.ts +0 -4
- package/dist/cjs/api/types/PricingPlanSubscription.js +0 -5
- package/dist/cjs/api/types/PricingTier.d.ts +0 -4
- package/dist/cjs/api/types/PricingTier.js +0 -5
- package/dist/cjs/api/types/RateCard.d.ts +0 -4
- package/dist/cjs/api/types/RateCard.js +0 -5
- package/dist/cjs/api/types/RateCardVersion.d.ts +0 -4
- package/dist/cjs/api/types/RateCardVersion.js +0 -5
- package/dist/cjs/api/types/RateCardVersionInput.d.ts +0 -4
- package/dist/cjs/api/types/RateCardVersionInput.js +0 -5
- package/dist/cjs/api/types/SimpleUsageBasedRate.d.ts +0 -4
- package/dist/cjs/api/types/SimpleUsageBasedRate.js +0 -5
- package/dist/cjs/api/types/SimpleUsageBasedRateInput.d.ts +0 -4
- package/dist/cjs/api/types/SimpleUsageBasedRateInput.js +0 -5
- package/dist/cjs/api/types/Subject.d.ts +0 -4
- package/dist/cjs/api/types/Subject.js +0 -5
- package/dist/cjs/api/types/SubjectGrantingConfig.d.ts +0 -4
- package/dist/cjs/api/types/SubjectGrantingConfig.js +0 -5
- package/dist/cjs/api/types/SubjectGrantingConfigResource.d.ts +0 -7
- package/dist/cjs/api/types/SubjectGrantingConfigResource.js +0 -5
- package/dist/cjs/api/types/TieredPrice.d.ts +0 -4
- package/dist/cjs/api/types/TieredPrice.js +0 -5
- package/dist/cjs/api/types/TieredPriceWrapper.d.ts +0 -4
- package/dist/cjs/api/types/TieredPriceWrapper.js +0 -5
- package/dist/cjs/api/types/UpdatePricingPlanRequest.d.ts +0 -4
- package/dist/cjs/api/types/UpdatePricingPlanRequest.js +0 -5
- package/dist/cjs/api/types/UpdateRateCardRequest.d.ts +0 -4
- package/dist/cjs/api/types/UpdateRateCardRequest.js +0 -5
- package/dist/cjs/api/types/UpdateSubscriptionRequest.d.ts +0 -4
- package/dist/cjs/api/types/UpdateSubscriptionRequest.js +0 -5
- package/dist/cjs/api/types/UsageBasedRate.d.ts +0 -4
- package/dist/cjs/api/types/UsageBasedRate.js +0 -5
- package/dist/cjs/api/types/UsageBasedRateInput.d.ts +0 -4
- package/dist/cjs/api/types/UsageBasedRateInput.js +0 -5
- package/dist/cjs/api/types/UsageUnit.d.ts +0 -4
- package/dist/cjs/api/types/UsageUnit.js +0 -5
- package/dist/esm/api/resources/rateCards/client/requests/CreateRateCardVersionRequest.d.mts +0 -63
- package/dist/esm/api/resources/rateCards/client/requests/CreateRateCardVersionRequest.mjs +0 -10
- package/dist/esm/api/resources/rateCards/types/CreateRateCardRequestUsageBasedRatesItem.d.mts +0 -13
- package/dist/esm/api/resources/rateCards/types/CreateRateCardVersionRequestUsageBasedRatesItem.d.mts +0 -13
- package/dist/esm/api/resources/rateCards/types/index.d.mts +0 -2
- package/dist/esm/api/resources/rateCards/types/index.mjs +0 -2
- package/dist/esm/api/resources/subscriptions/client/requests/SubscriptionsListSubscriptionsRequest.d.mts +0 -14
- package/dist/esm/api/types/CheckFeatureAccessRequest.d.mts +0 -8
- package/dist/esm/api/types/CheckFeatureAccessResponse.d.mts +0 -8
- package/dist/esm/api/types/CompleteSubscriptionCheckoutResponse.d.mts +0 -8
- package/dist/esm/api/types/CreateCreditGrantInterface.d.mts +0 -12
- package/dist/esm/api/types/CreateCreditGrantInterfaceExpiration.d.mts +0 -10
- package/dist/esm/api/types/CreateCreditPoolRequest.d.mts +0 -4
- package/dist/esm/api/types/CreateDimensionCoordinateInterface.d.mts +0 -7
- package/dist/esm/api/types/CreateDimensionInterface.d.mts +0 -7
- package/dist/esm/api/types/CreateDimensionalUsageBasedRateInterface.d.mts +0 -14
- package/dist/esm/api/types/CreatePricingMatrixCellInterface.d.mts +0 -8
- package/dist/esm/api/types/CreatePricingMatrixInterface.d.mts +0 -7
- package/dist/esm/api/types/CreatePricingMatrixInterface.mjs +0 -4
- package/dist/esm/api/types/CreatePricingMetricInterface.mjs +0 -4
- package/dist/esm/api/types/CreatePricingPlanRequest.d.mts +0 -4
- package/dist/esm/api/types/CreatePricingPlanRequest.mjs +0 -4
- package/dist/esm/api/types/CreateRateCardResponse.d.mts +0 -26
- package/dist/esm/api/types/CreateRateCardResponse.mjs +0 -10
- package/dist/esm/api/types/CreateRateCardResponseUsageBasedRatesItem.d.mts +0 -13
- package/dist/esm/api/types/CreateRateCardResponseUsageBasedRatesItem.mjs +0 -4
- package/dist/esm/api/types/CreateRateCardVersionResponse.d.mts +0 -26
- package/dist/esm/api/types/CreateRateCardVersionResponse.mjs +0 -10
- package/dist/esm/api/types/CreateRateCardVersionResponseUsageBasedRatesItem.d.mts +0 -13
- package/dist/esm/api/types/CreateRateCardVersionResponseUsageBasedRatesItem.mjs +0 -4
- package/dist/esm/api/types/CreditGrant.d.mts +0 -4
- package/dist/esm/api/types/CreditGrant.mjs +0 -4
- package/dist/esm/api/types/CreditGrantDateTimeExpirationInterface.d.mts +0 -6
- package/dist/esm/api/types/CreditGrantDateTimeExpirationInterface.mjs +0 -4
- package/dist/esm/api/types/CreditGrantDateTimeExpirationResource.d.mts +0 -6
- package/dist/esm/api/types/CreditGrantDateTimeExpirationResource.mjs +0 -4
- package/dist/esm/api/types/CreditGrantDurationExpirationInterface.d.mts +0 -17
- package/dist/esm/api/types/CreditGrantDurationExpirationInterface.mjs +0 -13
- package/dist/esm/api/types/CreditGrantDurationExpirationResource.d.mts +0 -17
- package/dist/esm/api/types/CreditGrantDurationExpirationResource.mjs +0 -13
- package/dist/esm/api/types/CreditGrantInterface.d.mts +0 -12
- package/dist/esm/api/types/CreditGrantInterface.mjs +0 -4
- package/dist/esm/api/types/CreditGrantInterfaceInputExpiration.d.mts +0 -10
- package/dist/esm/api/types/CreditGrantInterfaceInputExpiration.mjs +0 -4
- package/dist/esm/api/types/CreditGrantInterfaceOutputExpiration.d.mts +0 -13
- package/dist/esm/api/types/CreditGrantInterfaceOutputExpiration.mjs +0 -4
- package/dist/esm/api/types/CreditGrantInterfaceOutputSchedule.d.mts +0 -13
- package/dist/esm/api/types/CreditGrantInterfaceOutputSchedule.mjs +0 -4
- package/dist/esm/api/types/CreditGrantResource.d.mts +0 -12
- package/dist/esm/api/types/CreditGrantResource.mjs +0 -4
- package/dist/esm/api/types/CreditGrantResourceInputExpiration.d.mts +0 -10
- package/dist/esm/api/types/CreditGrantResourceInputExpiration.mjs +0 -4
- package/dist/esm/api/types/CreditGrantResourceInputSchedule.d.mts +0 -13
- package/dist/esm/api/types/CreditGrantResourceInputSchedule.mjs +0 -4
- package/dist/esm/api/types/CreditGrantResourceOutputExpiration.d.mts +0 -13
- package/dist/esm/api/types/CreditGrantResourceOutputExpiration.mjs +0 -4
- package/dist/esm/api/types/CreditGrantResourceOutputSchedule.d.mts +0 -13
- package/dist/esm/api/types/CreditGrantResourceOutputSchedule.mjs +0 -4
- package/dist/esm/api/types/CreditGrantSchedule.d.mts +0 -4
- package/dist/esm/api/types/CreditGrantSchedule.mjs +0 -4
- package/dist/esm/api/types/CreditGrantScheduleOneTimeInterface.d.mts +0 -6
- package/dist/esm/api/types/CreditGrantScheduleOneTimeInterface.mjs +0 -4
- package/dist/esm/api/types/CreditGrantScheduleOneTimeResource.mjs +0 -4
- package/dist/esm/api/types/CreditGrantScheduleRateCycleStartInterface.d.mts +0 -6
- package/dist/esm/api/types/CreditGrantScheduleRateCycleStartInterface.mjs +0 -4
- package/dist/esm/api/types/CreditGrantScheduleRateCycleStartResource.mjs +0 -4
- package/dist/esm/api/types/CreditGrantSubjectGrantingConfigInterface.d.mts +0 -7
- package/dist/esm/api/types/CreditGrantSubjectGrantingConfigInterface.mjs +0 -4
- package/dist/esm/api/types/CreditPool.d.mts +0 -4
- package/dist/esm/api/types/CreditPool.mjs +0 -4
- package/dist/esm/api/types/CreditPoolRolloverConfig.d.mts +0 -4
- package/dist/esm/api/types/CreditPoolRolloverConfig.mjs +0 -4
- package/dist/esm/api/types/CustomAggregationPricingMetricInterface.d.mts +0 -7
- package/dist/esm/api/types/CustomAggregationPricingMetricInterface.mjs +0 -4
- package/dist/esm/api/types/CustomPricingMetric.d.mts +0 -4
- package/dist/esm/api/types/CustomPricingMetric.mjs +0 -4
- package/dist/esm/api/types/CustomUnit.d.mts +0 -4
- package/dist/esm/api/types/CustomUnit.mjs +0 -4
- package/dist/esm/api/types/CustomUnitAmount.d.mts +0 -4
- package/dist/esm/api/types/CustomUnitAmount.mjs +0 -4
- package/dist/esm/api/types/Dimension.d.mts +0 -4
- package/dist/esm/api/types/Dimension.mjs +0 -4
- package/dist/esm/api/types/DimensionCoordinate.d.mts +0 -4
- package/dist/esm/api/types/DimensionCoordinate.mjs +0 -4
- package/dist/esm/api/types/DimensionCoordinateInterface.d.mts +0 -7
- package/dist/esm/api/types/DimensionCoordinateInterface.mjs +0 -4
- package/dist/esm/api/types/DimensionCoordinateSet.d.mts +0 -4
- package/dist/esm/api/types/DimensionCoordinateSet.mjs +0 -4
- package/dist/esm/api/types/DimensionInterface.d.mts +0 -7
- package/dist/esm/api/types/DimensionInterface.mjs +0 -4
- package/dist/esm/api/types/DimensionalRateMatrix.d.mts +0 -4
- package/dist/esm/api/types/DimensionalRateMatrix.mjs +0 -4
- package/dist/esm/api/types/DimensionalRateMatrixCell.d.mts +0 -4
- package/dist/esm/api/types/DimensionalRateMatrixCell.mjs +0 -4
- package/dist/esm/api/types/DimensionalUsageBasedRate.d.mts +0 -4
- package/dist/esm/api/types/DimensionalUsageBasedRate.mjs +0 -4
- package/dist/esm/api/types/DimensionalUsageBasedRateInput.d.mts +0 -4
- package/dist/esm/api/types/DimensionalUsageBasedRateInput.mjs +0 -4
- package/dist/esm/api/types/DimensionalUsageBasedRateInterface.d.mts +0 -15
- package/dist/esm/api/types/DimensionalUsageBasedRateInterface.mjs +0 -4
- package/dist/esm/api/types/FeatureAccessResource.d.mts +0 -8
- package/dist/esm/api/types/FeatureAccessResource.mjs +0 -4
- package/dist/esm/api/types/GetRateCardResponse.d.mts +0 -26
- package/dist/esm/api/types/GetRateCardResponse.mjs +0 -10
- package/dist/esm/api/types/GetRateCardResponseUsageBasedRatesItem.d.mts +0 -13
- package/dist/esm/api/types/GetRateCardResponseUsageBasedRatesItem.mjs +0 -4
- package/dist/esm/api/types/GrantCreditsRequest.d.mts +0 -4
- package/dist/esm/api/types/GrantCreditsRequest.mjs +0 -4
- package/dist/esm/api/types/LastAggregationPricingMetricInterface.mjs +0 -4
- package/dist/esm/api/types/LicenseBasedRate.d.mts +0 -4
- package/dist/esm/api/types/LicenseBasedRate.mjs +0 -4
- package/dist/esm/api/types/LicenseBasedRateInput.d.mts +0 -4
- package/dist/esm/api/types/LicenseBasedRateInput.mjs +0 -4
- package/dist/esm/api/types/MaxAggregationPricingMetricInterface.mjs +0 -4
- package/dist/esm/api/types/MonetaryAmount.d.mts +0 -4
- package/dist/esm/api/types/MonetaryAmount.mjs +0 -4
- package/dist/esm/api/types/PackagePriceWrapper.d.mts +0 -4
- package/dist/esm/api/types/PackagePriceWrapper.mjs +0 -4
- package/dist/esm/api/types/PricingMatrixCellInterface.d.mts +0 -8
- package/dist/esm/api/types/PricingMatrixCellInterface.mjs +0 -4
- package/dist/esm/api/types/PricingMatrixInterface.d.mts +0 -7
- package/dist/esm/api/types/PricingMatrixInterface.mjs +0 -4
- package/dist/esm/api/types/PricingMetric.d.mts +0 -4
- package/dist/esm/api/types/PricingMetric.mjs +0 -4
- package/dist/esm/api/types/PricingMetricInterface.mjs +0 -4
- package/dist/esm/api/types/PricingPlan.d.mts +0 -4
- package/dist/esm/api/types/PricingPlan.mjs +0 -4
- package/dist/esm/api/types/PricingPlanSubscription.d.mts +0 -4
- package/dist/esm/api/types/PricingPlanSubscription.mjs +0 -4
- package/dist/esm/api/types/PricingTier.d.mts +0 -4
- package/dist/esm/api/types/PricingTier.mjs +0 -4
- package/dist/esm/api/types/RateCard.d.mts +0 -4
- package/dist/esm/api/types/RateCard.mjs +0 -4
- package/dist/esm/api/types/RateCardVersion.d.mts +0 -4
- package/dist/esm/api/types/RateCardVersion.mjs +0 -4
- package/dist/esm/api/types/RateCardVersionInput.d.mts +0 -4
- package/dist/esm/api/types/RateCardVersionInput.mjs +0 -4
- package/dist/esm/api/types/SimpleUsageBasedRate.d.mts +0 -4
- package/dist/esm/api/types/SimpleUsageBasedRate.mjs +0 -4
- package/dist/esm/api/types/SimpleUsageBasedRateInput.d.mts +0 -4
- package/dist/esm/api/types/SimpleUsageBasedRateInput.mjs +0 -4
- package/dist/esm/api/types/Subject.d.mts +0 -4
- package/dist/esm/api/types/Subject.mjs +0 -4
- package/dist/esm/api/types/SubjectGrantingConfig.d.mts +0 -4
- package/dist/esm/api/types/SubjectGrantingConfig.mjs +0 -4
- package/dist/esm/api/types/SubjectGrantingConfigResource.d.mts +0 -7
- package/dist/esm/api/types/SubjectGrantingConfigResource.mjs +0 -4
- package/dist/esm/api/types/TieredPrice.d.mts +0 -4
- package/dist/esm/api/types/TieredPrice.mjs +0 -4
- package/dist/esm/api/types/TieredPriceWrapper.d.mts +0 -4
- package/dist/esm/api/types/TieredPriceWrapper.mjs +0 -4
- package/dist/esm/api/types/UpdatePricingPlanRequest.d.mts +0 -4
- package/dist/esm/api/types/UpdatePricingPlanRequest.mjs +0 -4
- package/dist/esm/api/types/UpdateRateCardRequest.d.mts +0 -4
- package/dist/esm/api/types/UpdateRateCardRequest.mjs +0 -4
- package/dist/esm/api/types/UpdateSubscriptionRequest.d.mts +0 -4
- package/dist/esm/api/types/UpdateSubscriptionRequest.mjs +0 -4
- package/dist/esm/api/types/UsageBasedRate.d.mts +0 -4
- package/dist/esm/api/types/UsageBasedRate.mjs +0 -4
- package/dist/esm/api/types/UsageBasedRateInput.d.mts +0 -4
- package/dist/esm/api/types/UsageBasedRateInput.mjs +0 -4
- package/dist/esm/api/types/UsageUnit.d.mts +0 -4
- package/dist/esm/api/types/UsageUnit.mjs +0 -4
- /package/dist/cjs/api/resources/{featureAccess → customerAccess}/client/index.d.ts +0 -0
- /package/dist/cjs/api/resources/{featureAccess → customerAccess}/client/index.js +0 -0
- /package/dist/cjs/api/resources/{featureAccess → customerAccess}/index.d.ts +0 -0
- /package/dist/cjs/api/resources/{featureAccess → customerAccess}/index.js +0 -0
- /package/dist/cjs/api/resources/{rateCards/client/requests/RateCardsListRateCardsRequest.js → customerPortal/client/requests/CreateCustomerPortalSessionRequest.js} +0 -0
- /package/dist/cjs/api/resources/{rateCards/types/CreateRateCardRequestUsageBasedRatesItem.js → pricingMetrics/client/requests/CreatePricingMetricRequest.js} +0 -0
- /package/dist/cjs/api/resources/{rateCards/types/CreateRateCardVersionRequestUsageBasedRatesItem.js → pricingMetrics/types/PricingMetricAggregation.js} +0 -0
- /package/dist/cjs/api/resources/{subjects/client/requests/SubjectsListSubjectsRequest.js → rateCards/client/requests/ListRateCardsRateCardsGetRequest.js} +0 -0
- /package/dist/cjs/api/resources/{subscriptions/client/requests/SubscriptionsListSubscriptionsRequest.js → subjects/client/requests/ListSubjectsSubjectsGetRequest.js} +0 -0
- /package/dist/cjs/api/{types/CheckFeatureAccessRequest.js → resources/subscriptions/client/requests/ListSubscriptionsSubscriptionsGetRequest.js} +0 -0
- /package/dist/cjs/api/types/{CheckFeatureAccessResponse.js → BillingStateResponse.js} +0 -0
- /package/dist/cjs/api/types/{CompleteSubscriptionCheckoutResponse.js → CountAggregationPricingMetricResource.js} +0 -0
- /package/dist/cjs/api/types/{CreateCreditGrantInterface.js → CreateCustomerPortalSessionResponse.js} +0 -0
- /package/dist/cjs/api/types/{CreateCreditGrantInterfaceExpiration.js → CreatePricingMetricResponse.js} +0 -0
- /package/dist/cjs/api/types/{CreateCreditPoolRequest.js → CustomPricingMetricResource.js} +0 -0
- /package/dist/cjs/api/types/{CreateDimensionCoordinateInterface.js → GetPricingMetricResponse.js} +0 -0
- /package/dist/cjs/api/types/{CreateDimensionInterface.js → LastAggregationPricingMetricResource.js} +0 -0
- /package/dist/cjs/api/types/{CreateDimensionalUsageBasedRateInterface.js → MaxAggregationPricingMetricResource.js} +0 -0
- /package/dist/cjs/api/types/{CreatePricingMatrixCellInterface.js → SumAggregationPricingMetricResource.js} +0 -0
- /package/dist/esm/api/resources/{featureAccess → customerAccess}/client/index.d.mts +0 -0
- /package/dist/esm/api/resources/{featureAccess → customerAccess}/client/index.mjs +0 -0
- /package/dist/esm/api/resources/{featureAccess → customerAccess}/index.d.mts +0 -0
- /package/dist/esm/api/resources/{featureAccess → customerAccess}/index.mjs +0 -0
- /package/dist/esm/api/resources/{rateCards/client/requests/RateCardsListRateCardsRequest.mjs → customerPortal/client/requests/CreateCustomerPortalSessionRequest.mjs} +0 -0
- /package/dist/esm/api/resources/{rateCards/types/CreateRateCardRequestUsageBasedRatesItem.mjs → pricingMetrics/client/requests/CreatePricingMetricRequest.mjs} +0 -0
- /package/dist/esm/api/resources/{rateCards/types/CreateRateCardVersionRequestUsageBasedRatesItem.mjs → pricingMetrics/types/PricingMetricAggregation.mjs} +0 -0
- /package/dist/esm/api/resources/{subjects/client/requests/SubjectsListSubjectsRequest.mjs → rateCards/client/requests/ListRateCardsRateCardsGetRequest.mjs} +0 -0
- /package/dist/esm/api/resources/{subscriptions/client/requests/SubscriptionsListSubscriptionsRequest.mjs → subjects/client/requests/ListSubjectsSubjectsGetRequest.mjs} +0 -0
- /package/dist/esm/api/{types/CheckFeatureAccessRequest.mjs → resources/subscriptions/client/requests/ListSubscriptionsSubscriptionsGetRequest.mjs} +0 -0
- /package/dist/esm/api/types/{CheckFeatureAccessResponse.mjs → BillingStateResponse.mjs} +0 -0
- /package/dist/esm/api/types/{CompleteSubscriptionCheckoutResponse.mjs → CountAggregationPricingMetricResource.mjs} +0 -0
- /package/dist/esm/api/types/{CreateCreditGrantInterface.mjs → CreateCustomerPortalSessionResponse.mjs} +0 -0
- /package/dist/esm/api/types/{CreateCreditGrantInterfaceExpiration.mjs → CreatePricingMetricResponse.mjs} +0 -0
- /package/dist/esm/api/types/{CreateCreditPoolRequest.mjs → CustomPricingMetricResource.mjs} +0 -0
- /package/dist/esm/api/types/{CreateDimensionCoordinateInterface.mjs → GetPricingMetricResponse.mjs} +0 -0
- /package/dist/esm/api/types/{CreateDimensionInterface.mjs → LastAggregationPricingMetricResource.mjs} +0 -0
- /package/dist/esm/api/types/{CreateDimensionalUsageBasedRateInterface.mjs → MaxAggregationPricingMetricResource.mjs} +0 -0
- /package/dist/esm/api/types/{CreatePricingMatrixCellInterface.mjs → SumAggregationPricingMetricResource.mjs} +0 -0
package/reference.md
CHANGED
|
@@ -18,6 +18,7 @@
|
|
|
18
18
|
await client.checkout.createSubscriptionCheckoutSession({
|
|
19
19
|
subject_id: "subject_id",
|
|
20
20
|
rate_card_id: "rate_card_id",
|
|
21
|
+
callback_url: "callback_url",
|
|
21
22
|
});
|
|
22
23
|
```
|
|
23
24
|
|
|
@@ -53,7 +54,9 @@ await client.checkout.createSubscriptionCheckoutSession({
|
|
|
53
54
|
</dl>
|
|
54
55
|
</details>
|
|
55
56
|
|
|
56
|
-
|
|
57
|
+
## CustomerPortal
|
|
58
|
+
|
|
59
|
+
<details><summary><code>client.customerPortal.<a href="/src/api/resources/customerPortal/client/Client.ts">createCustomerPortalSession</a>({ ...params }) -> Lark.CreateCustomerPortalSessionResponse</code></summary>
|
|
57
60
|
<dl>
|
|
58
61
|
<dd>
|
|
59
62
|
|
|
@@ -66,7 +69,9 @@ await client.checkout.createSubscriptionCheckoutSession({
|
|
|
66
69
|
<dd>
|
|
67
70
|
|
|
68
71
|
```typescript
|
|
69
|
-
await client.
|
|
72
|
+
await client.customerPortal.createCustomerPortalSession({
|
|
73
|
+
subject_id: "subject_id",
|
|
74
|
+
});
|
|
70
75
|
```
|
|
71
76
|
|
|
72
77
|
</dd>
|
|
@@ -82,7 +87,7 @@ await client.checkout.completeSubscriptionCheckout("checkout_id");
|
|
|
82
87
|
<dl>
|
|
83
88
|
<dd>
|
|
84
89
|
|
|
85
|
-
**
|
|
90
|
+
**request:** `Lark.CreateCustomerPortalSessionRequest`
|
|
86
91
|
|
|
87
92
|
</dd>
|
|
88
93
|
</dl>
|
|
@@ -90,7 +95,7 @@ await client.checkout.completeSubscriptionCheckout("checkout_id");
|
|
|
90
95
|
<dl>
|
|
91
96
|
<dd>
|
|
92
97
|
|
|
93
|
-
**requestOptions:** `
|
|
98
|
+
**requestOptions:** `CustomerPortal.RequestOptions`
|
|
94
99
|
|
|
95
100
|
</dd>
|
|
96
101
|
</dl>
|
|
@@ -118,7 +123,6 @@ await client.checkout.completeSubscriptionCheckout("checkout_id");
|
|
|
118
123
|
```typescript
|
|
119
124
|
await client.rateCards.listRateCards({
|
|
120
125
|
limit: 1,
|
|
121
|
-
offset: 1,
|
|
122
126
|
});
|
|
123
127
|
```
|
|
124
128
|
|
|
@@ -135,7 +139,7 @@ await client.rateCards.listRateCards({
|
|
|
135
139
|
<dl>
|
|
136
140
|
<dd>
|
|
137
141
|
|
|
138
|
-
**request:** `Lark.
|
|
142
|
+
**request:** `Lark.ListRateCardsRateCardsGetRequest`
|
|
139
143
|
|
|
140
144
|
</dd>
|
|
141
145
|
</dl>
|
|
@@ -154,7 +158,7 @@ await client.rateCards.listRateCards({
|
|
|
154
158
|
</dl>
|
|
155
159
|
</details>
|
|
156
160
|
|
|
157
|
-
<details><summary><code>client.rateCards.<a href="/src/api/resources/rateCards/client/Client.ts">createRateCard</a>({ ...params }) -> Lark.
|
|
161
|
+
<details><summary><code>client.rateCards.<a href="/src/api/resources/rateCards/client/Client.ts">createRateCard</a>({ ...params }) -> Lark.RateCardResource</code></summary>
|
|
158
162
|
<dl>
|
|
159
163
|
<dd>
|
|
160
164
|
|
|
@@ -169,47 +173,6 @@ await client.rateCards.listRateCards({
|
|
|
169
173
|
```typescript
|
|
170
174
|
await client.rateCards.createRateCard({
|
|
171
175
|
name: "name",
|
|
172
|
-
description: "description",
|
|
173
|
-
usage_based_rates: [
|
|
174
|
-
{
|
|
175
|
-
usage_based_rate_type: "dimensional",
|
|
176
|
-
code: "code",
|
|
177
|
-
name: "name",
|
|
178
|
-
pricing_metric: {
|
|
179
|
-
name: "name",
|
|
180
|
-
event_name: "event_name",
|
|
181
|
-
aggregation: {
|
|
182
|
-
aggregation_type: "count",
|
|
183
|
-
},
|
|
184
|
-
unit: "unit",
|
|
185
|
-
},
|
|
186
|
-
dimensions: [
|
|
187
|
-
{
|
|
188
|
-
key: "key",
|
|
189
|
-
values: ["values"],
|
|
190
|
-
},
|
|
191
|
-
],
|
|
192
|
-
pricing_matrix: {
|
|
193
|
-
cells: [
|
|
194
|
-
{
|
|
195
|
-
dimension_coordinates: [
|
|
196
|
-
{
|
|
197
|
-
dimension_key: "dimension_key",
|
|
198
|
-
value: "value",
|
|
199
|
-
},
|
|
200
|
-
],
|
|
201
|
-
price: {
|
|
202
|
-
amount: {
|
|
203
|
-
value: 1,
|
|
204
|
-
currency_code: "currency_code",
|
|
205
|
-
},
|
|
206
|
-
price_type: "flat",
|
|
207
|
-
},
|
|
208
|
-
},
|
|
209
|
-
],
|
|
210
|
-
},
|
|
211
|
-
},
|
|
212
|
-
],
|
|
213
176
|
billing_interval: "monthly",
|
|
214
177
|
});
|
|
215
178
|
```
|
|
@@ -246,7 +209,7 @@ await client.rateCards.createRateCard({
|
|
|
246
209
|
</dl>
|
|
247
210
|
</details>
|
|
248
211
|
|
|
249
|
-
<details><summary><code>client.rateCards.<a href="/src/api/resources/rateCards/client/Client.ts">getRateCard</a>(rateCardId) -> Lark.
|
|
212
|
+
<details><summary><code>client.rateCards.<a href="/src/api/resources/rateCards/client/Client.ts">getRateCard</a>(rateCardId) -> Lark.RateCardResource</code></summary>
|
|
250
213
|
<dl>
|
|
251
214
|
<dd>
|
|
252
215
|
|
|
@@ -294,206 +257,6 @@ await client.rateCards.getRateCard("rate_card_id");
|
|
|
294
257
|
</dl>
|
|
295
258
|
</details>
|
|
296
259
|
|
|
297
|
-
<details><summary><code>client.rateCards.<a href="/src/api/resources/rateCards/client/Client.ts">deleteRateCard</a>(rateCardId) -> void</code></summary>
|
|
298
|
-
<dl>
|
|
299
|
-
<dd>
|
|
300
|
-
|
|
301
|
-
#### 🔌 Usage
|
|
302
|
-
|
|
303
|
-
<dl>
|
|
304
|
-
<dd>
|
|
305
|
-
|
|
306
|
-
<dl>
|
|
307
|
-
<dd>
|
|
308
|
-
|
|
309
|
-
```typescript
|
|
310
|
-
await client.rateCards.deleteRateCard("rate_card_id");
|
|
311
|
-
```
|
|
312
|
-
|
|
313
|
-
</dd>
|
|
314
|
-
</dl>
|
|
315
|
-
</dd>
|
|
316
|
-
</dl>
|
|
317
|
-
|
|
318
|
-
#### ⚙️ Parameters
|
|
319
|
-
|
|
320
|
-
<dl>
|
|
321
|
-
<dd>
|
|
322
|
-
|
|
323
|
-
<dl>
|
|
324
|
-
<dd>
|
|
325
|
-
|
|
326
|
-
**rateCardId:** `string`
|
|
327
|
-
|
|
328
|
-
</dd>
|
|
329
|
-
</dl>
|
|
330
|
-
|
|
331
|
-
<dl>
|
|
332
|
-
<dd>
|
|
333
|
-
|
|
334
|
-
**requestOptions:** `RateCards.RequestOptions`
|
|
335
|
-
|
|
336
|
-
</dd>
|
|
337
|
-
</dl>
|
|
338
|
-
</dd>
|
|
339
|
-
</dl>
|
|
340
|
-
|
|
341
|
-
</dd>
|
|
342
|
-
</dl>
|
|
343
|
-
</details>
|
|
344
|
-
|
|
345
|
-
<details><summary><code>client.rateCards.<a href="/src/api/resources/rateCards/client/Client.ts">updateRateCard</a>(rateCardId) -> void</code></summary>
|
|
346
|
-
<dl>
|
|
347
|
-
<dd>
|
|
348
|
-
|
|
349
|
-
#### 🔌 Usage
|
|
350
|
-
|
|
351
|
-
<dl>
|
|
352
|
-
<dd>
|
|
353
|
-
|
|
354
|
-
<dl>
|
|
355
|
-
<dd>
|
|
356
|
-
|
|
357
|
-
```typescript
|
|
358
|
-
await client.rateCards.updateRateCard("rate_card_id");
|
|
359
|
-
```
|
|
360
|
-
|
|
361
|
-
</dd>
|
|
362
|
-
</dl>
|
|
363
|
-
</dd>
|
|
364
|
-
</dl>
|
|
365
|
-
|
|
366
|
-
#### ⚙️ Parameters
|
|
367
|
-
|
|
368
|
-
<dl>
|
|
369
|
-
<dd>
|
|
370
|
-
|
|
371
|
-
<dl>
|
|
372
|
-
<dd>
|
|
373
|
-
|
|
374
|
-
**rateCardId:** `string`
|
|
375
|
-
|
|
376
|
-
</dd>
|
|
377
|
-
</dl>
|
|
378
|
-
|
|
379
|
-
<dl>
|
|
380
|
-
<dd>
|
|
381
|
-
|
|
382
|
-
**requestOptions:** `RateCards.RequestOptions`
|
|
383
|
-
|
|
384
|
-
</dd>
|
|
385
|
-
</dl>
|
|
386
|
-
</dd>
|
|
387
|
-
</dl>
|
|
388
|
-
|
|
389
|
-
</dd>
|
|
390
|
-
</dl>
|
|
391
|
-
</details>
|
|
392
|
-
|
|
393
|
-
<details><summary><code>client.rateCards.<a href="/src/api/resources/rateCards/client/Client.ts">createRateCardVersion</a>(rateCardId, { ...params }) -> Lark.CreateRateCardVersionResponse</code></summary>
|
|
394
|
-
<dl>
|
|
395
|
-
<dd>
|
|
396
|
-
|
|
397
|
-
#### 🔌 Usage
|
|
398
|
-
|
|
399
|
-
<dl>
|
|
400
|
-
<dd>
|
|
401
|
-
|
|
402
|
-
<dl>
|
|
403
|
-
<dd>
|
|
404
|
-
|
|
405
|
-
```typescript
|
|
406
|
-
await client.rateCards.createRateCardVersion("rate_card_id", {
|
|
407
|
-
name: "name",
|
|
408
|
-
description: "description",
|
|
409
|
-
usage_based_rates: [
|
|
410
|
-
{
|
|
411
|
-
usage_based_rate_type: "dimensional",
|
|
412
|
-
id: "id",
|
|
413
|
-
code: "code",
|
|
414
|
-
name: "name",
|
|
415
|
-
description: "description",
|
|
416
|
-
included_units: 1,
|
|
417
|
-
pricing_metric: {
|
|
418
|
-
id: "id",
|
|
419
|
-
name: "name",
|
|
420
|
-
event_name: "event_name",
|
|
421
|
-
aggregation: {
|
|
422
|
-
aggregation_type: "count",
|
|
423
|
-
},
|
|
424
|
-
unit: "unit",
|
|
425
|
-
},
|
|
426
|
-
dimensions: [
|
|
427
|
-
{
|
|
428
|
-
key: "key",
|
|
429
|
-
values: ["values"],
|
|
430
|
-
},
|
|
431
|
-
],
|
|
432
|
-
pricing_matrix: {
|
|
433
|
-
cells: [
|
|
434
|
-
{
|
|
435
|
-
dimension_coordinates: [
|
|
436
|
-
{
|
|
437
|
-
dimension_key: "dimension_key",
|
|
438
|
-
value: "value",
|
|
439
|
-
},
|
|
440
|
-
],
|
|
441
|
-
price: {
|
|
442
|
-
amount: {
|
|
443
|
-
value: 1,
|
|
444
|
-
currency_code: "currency_code",
|
|
445
|
-
},
|
|
446
|
-
price_type: "flat",
|
|
447
|
-
},
|
|
448
|
-
},
|
|
449
|
-
],
|
|
450
|
-
},
|
|
451
|
-
},
|
|
452
|
-
],
|
|
453
|
-
version_type: "major",
|
|
454
|
-
});
|
|
455
|
-
```
|
|
456
|
-
|
|
457
|
-
</dd>
|
|
458
|
-
</dl>
|
|
459
|
-
</dd>
|
|
460
|
-
</dl>
|
|
461
|
-
|
|
462
|
-
#### ⚙️ Parameters
|
|
463
|
-
|
|
464
|
-
<dl>
|
|
465
|
-
<dd>
|
|
466
|
-
|
|
467
|
-
<dl>
|
|
468
|
-
<dd>
|
|
469
|
-
|
|
470
|
-
**rateCardId:** `string`
|
|
471
|
-
|
|
472
|
-
</dd>
|
|
473
|
-
</dl>
|
|
474
|
-
|
|
475
|
-
<dl>
|
|
476
|
-
<dd>
|
|
477
|
-
|
|
478
|
-
**request:** `Lark.CreateRateCardVersionRequest`
|
|
479
|
-
|
|
480
|
-
</dd>
|
|
481
|
-
</dl>
|
|
482
|
-
|
|
483
|
-
<dl>
|
|
484
|
-
<dd>
|
|
485
|
-
|
|
486
|
-
**requestOptions:** `RateCards.RequestOptions`
|
|
487
|
-
|
|
488
|
-
</dd>
|
|
489
|
-
</dl>
|
|
490
|
-
</dd>
|
|
491
|
-
</dl>
|
|
492
|
-
|
|
493
|
-
</dd>
|
|
494
|
-
</dl>
|
|
495
|
-
</details>
|
|
496
|
-
|
|
497
260
|
## UsageEvents
|
|
498
261
|
|
|
499
262
|
<details><summary><code>client.usageEvents.<a href="/src/api/resources/usageEvents/client/Client.ts">createUsageEvent</a>({ ...params }) -> unknown</code></summary>
|
|
@@ -513,7 +276,6 @@ await client.usageEvents.createUsageEvent({
|
|
|
513
276
|
idempotency_key: "idempotency_key",
|
|
514
277
|
event_name: "event_name",
|
|
515
278
|
subject_id: "subject_id",
|
|
516
|
-
timestamp: "2024-01-15T09:30:00Z",
|
|
517
279
|
data: {
|
|
518
280
|
key: "value",
|
|
519
281
|
},
|
|
@@ -625,7 +387,8 @@ await client.usageEvents.createUsageEventSummary({
|
|
|
625
387
|
```typescript
|
|
626
388
|
await client.subscriptions.listSubscriptions({
|
|
627
389
|
limit: 1,
|
|
628
|
-
|
|
390
|
+
subject_id: "subject_id",
|
|
391
|
+
rate_card_id: "rate_card_id",
|
|
629
392
|
});
|
|
630
393
|
```
|
|
631
394
|
|
|
@@ -642,7 +405,7 @@ await client.subscriptions.listSubscriptions({
|
|
|
642
405
|
<dl>
|
|
643
406
|
<dd>
|
|
644
407
|
|
|
645
|
-
**request:** `Lark.
|
|
408
|
+
**request:** `Lark.ListSubscriptionsSubscriptionsGetRequest`
|
|
646
409
|
|
|
647
410
|
</dd>
|
|
648
411
|
</dl>
|
|
@@ -677,7 +440,6 @@ await client.subscriptions.listSubscriptions({
|
|
|
677
440
|
await client.subscriptions.createSubscription({
|
|
678
441
|
rate_card_id: "rate_card_id",
|
|
679
442
|
subject_id: "subject_id",
|
|
680
|
-
effective_at: "2024-01-15T09:30:00Z",
|
|
681
443
|
});
|
|
682
444
|
```
|
|
683
445
|
|
|
@@ -761,7 +523,9 @@ await client.subscriptions.getSubscription("subscription_id");
|
|
|
761
523
|
</dl>
|
|
762
524
|
</details>
|
|
763
525
|
|
|
764
|
-
|
|
526
|
+
## Subjects
|
|
527
|
+
|
|
528
|
+
<details><summary><code>client.subjects.<a href="/src/api/resources/subjects/client/Client.ts">listSubjects</a>({ ...params }) -> Lark.ListSubjectsResponse</code></summary>
|
|
765
529
|
<dl>
|
|
766
530
|
<dd>
|
|
767
531
|
|
|
@@ -774,7 +538,10 @@ await client.subscriptions.getSubscription("subscription_id");
|
|
|
774
538
|
<dd>
|
|
775
539
|
|
|
776
540
|
```typescript
|
|
777
|
-
await client.
|
|
541
|
+
await client.subjects.listSubjects({
|
|
542
|
+
limit: 1,
|
|
543
|
+
offset: 1,
|
|
544
|
+
});
|
|
778
545
|
```
|
|
779
546
|
|
|
780
547
|
</dd>
|
|
@@ -790,7 +557,7 @@ await client.subscriptions.cancelSubscription("subscription_id");
|
|
|
790
557
|
<dl>
|
|
791
558
|
<dd>
|
|
792
559
|
|
|
793
|
-
**
|
|
560
|
+
**request:** `Lark.ListSubjectsSubjectsGetRequest`
|
|
794
561
|
|
|
795
562
|
</dd>
|
|
796
563
|
</dl>
|
|
@@ -798,7 +565,7 @@ await client.subscriptions.cancelSubscription("subscription_id");
|
|
|
798
565
|
<dl>
|
|
799
566
|
<dd>
|
|
800
567
|
|
|
801
|
-
**requestOptions:** `
|
|
568
|
+
**requestOptions:** `Subjects.RequestOptions`
|
|
802
569
|
|
|
803
570
|
</dd>
|
|
804
571
|
</dl>
|
|
@@ -809,7 +576,7 @@ await client.subscriptions.cancelSubscription("subscription_id");
|
|
|
809
576
|
</dl>
|
|
810
577
|
</details>
|
|
811
578
|
|
|
812
|
-
<details><summary><code>client.
|
|
579
|
+
<details><summary><code>client.subjects.<a href="/src/api/resources/subjects/client/Client.ts">createSubject</a>({ ...params }) -> Lark.CreateSubjectResponse</code></summary>
|
|
813
580
|
<dl>
|
|
814
581
|
<dd>
|
|
815
582
|
|
|
@@ -822,7 +589,7 @@ await client.subscriptions.cancelSubscription("subscription_id");
|
|
|
822
589
|
<dd>
|
|
823
590
|
|
|
824
591
|
```typescript
|
|
825
|
-
await client.
|
|
592
|
+
await client.subjects.createSubject();
|
|
826
593
|
```
|
|
827
594
|
|
|
828
595
|
</dd>
|
|
@@ -838,7 +605,7 @@ await client.subscriptions.updateSubscription("subscription_id");
|
|
|
838
605
|
<dl>
|
|
839
606
|
<dd>
|
|
840
607
|
|
|
841
|
-
**
|
|
608
|
+
**request:** `Lark.CreateSubjectRequest`
|
|
842
609
|
|
|
843
610
|
</dd>
|
|
844
611
|
</dl>
|
|
@@ -846,7 +613,7 @@ await client.subscriptions.updateSubscription("subscription_id");
|
|
|
846
613
|
<dl>
|
|
847
614
|
<dd>
|
|
848
615
|
|
|
849
|
-
**requestOptions:** `
|
|
616
|
+
**requestOptions:** `Subjects.RequestOptions`
|
|
850
617
|
|
|
851
618
|
</dd>
|
|
852
619
|
</dl>
|
|
@@ -857,9 +624,7 @@ await client.subscriptions.updateSubscription("subscription_id");
|
|
|
857
624
|
</dl>
|
|
858
625
|
</details>
|
|
859
626
|
|
|
860
|
-
|
|
861
|
-
|
|
862
|
-
<details><summary><code>client.featureAccess.<a href="/src/api/resources/featureAccess/client/Client.ts">getFeatureAccess</a>() -> Lark.CheckFeatureAccessResponse</code></summary>
|
|
627
|
+
<details><summary><code>client.subjects.<a href="/src/api/resources/subjects/client/Client.ts">getSubject</a>(subjectId) -> Lark.SubjectResource</code></summary>
|
|
863
628
|
<dl>
|
|
864
629
|
<dd>
|
|
865
630
|
|
|
@@ -872,7 +637,7 @@ await client.subscriptions.updateSubscription("subscription_id");
|
|
|
872
637
|
<dd>
|
|
873
638
|
|
|
874
639
|
```typescript
|
|
875
|
-
await client.
|
|
640
|
+
await client.subjects.getSubject("subject_id");
|
|
876
641
|
```
|
|
877
642
|
|
|
878
643
|
</dd>
|
|
@@ -888,7 +653,15 @@ await client.featureAccess.getFeatureAccess();
|
|
|
888
653
|
<dl>
|
|
889
654
|
<dd>
|
|
890
655
|
|
|
891
|
-
**
|
|
656
|
+
**subjectId:** `string`
|
|
657
|
+
|
|
658
|
+
</dd>
|
|
659
|
+
</dl>
|
|
660
|
+
|
|
661
|
+
<dl>
|
|
662
|
+
<dd>
|
|
663
|
+
|
|
664
|
+
**requestOptions:** `Subjects.RequestOptions`
|
|
892
665
|
|
|
893
666
|
</dd>
|
|
894
667
|
</dl>
|
|
@@ -899,9 +672,7 @@ await client.featureAccess.getFeatureAccess();
|
|
|
899
672
|
</dl>
|
|
900
673
|
</details>
|
|
901
674
|
|
|
902
|
-
|
|
903
|
-
|
|
904
|
-
<details><summary><code>client.subjects.<a href="/src/api/resources/subjects/client/Client.ts">listSubjects</a>({ ...params }) -> Lark.ListSubjectsResponse</code></summary>
|
|
675
|
+
<details><summary><code>client.subjects.<a href="/src/api/resources/subjects/client/Client.ts">updateSubject</a>(subjectId, { ...params }) -> Lark.SubjectResource</code></summary>
|
|
905
676
|
<dl>
|
|
906
677
|
<dd>
|
|
907
678
|
|
|
@@ -914,10 +685,7 @@ await client.featureAccess.getFeatureAccess();
|
|
|
914
685
|
<dd>
|
|
915
686
|
|
|
916
687
|
```typescript
|
|
917
|
-
await client.subjects.
|
|
918
|
-
limit: 1,
|
|
919
|
-
offset: 1,
|
|
920
|
-
});
|
|
688
|
+
await client.subjects.updateSubject("subject_id");
|
|
921
689
|
```
|
|
922
690
|
|
|
923
691
|
</dd>
|
|
@@ -933,7 +701,15 @@ await client.subjects.listSubjects({
|
|
|
933
701
|
<dl>
|
|
934
702
|
<dd>
|
|
935
703
|
|
|
936
|
-
**
|
|
704
|
+
**subjectId:** `string`
|
|
705
|
+
|
|
706
|
+
</dd>
|
|
707
|
+
</dl>
|
|
708
|
+
|
|
709
|
+
<dl>
|
|
710
|
+
<dd>
|
|
711
|
+
|
|
712
|
+
**request:** `Lark.UpdateSubjectRequest`
|
|
937
713
|
|
|
938
714
|
</dd>
|
|
939
715
|
</dl>
|
|
@@ -952,7 +728,7 @@ await client.subjects.listSubjects({
|
|
|
952
728
|
</dl>
|
|
953
729
|
</details>
|
|
954
730
|
|
|
955
|
-
<details><summary><code>client.subjects.<a href="/src/api/resources/subjects/client/Client.ts">
|
|
731
|
+
<details><summary><code>client.subjects.<a href="/src/api/resources/subjects/client/Client.ts">deleteSubject</a>(subjectId) -> unknown</code></summary>
|
|
956
732
|
<dl>
|
|
957
733
|
<dd>
|
|
958
734
|
|
|
@@ -965,7 +741,7 @@ await client.subjects.listSubjects({
|
|
|
965
741
|
<dd>
|
|
966
742
|
|
|
967
743
|
```typescript
|
|
968
|
-
await client.subjects.
|
|
744
|
+
await client.subjects.deleteSubject("subject_id");
|
|
969
745
|
```
|
|
970
746
|
|
|
971
747
|
</dd>
|
|
@@ -981,7 +757,7 @@ await client.subjects.createSubject();
|
|
|
981
757
|
<dl>
|
|
982
758
|
<dd>
|
|
983
759
|
|
|
984
|
-
**
|
|
760
|
+
**subjectId:** `string`
|
|
985
761
|
|
|
986
762
|
</dd>
|
|
987
763
|
</dl>
|
|
@@ -1000,7 +776,9 @@ await client.subjects.createSubject();
|
|
|
1000
776
|
</dl>
|
|
1001
777
|
</details>
|
|
1002
778
|
|
|
1003
|
-
|
|
779
|
+
## PricingMetrics
|
|
780
|
+
|
|
781
|
+
<details><summary><code>client.pricingMetrics.<a href="/src/api/resources/pricingMetrics/client/Client.ts">createPricingMetric</a>({ ...params }) -> Lark.CreatePricingMetricResponse</code></summary>
|
|
1004
782
|
<dl>
|
|
1005
783
|
<dd>
|
|
1006
784
|
|
|
@@ -1013,7 +791,14 @@ await client.subjects.createSubject();
|
|
|
1013
791
|
<dd>
|
|
1014
792
|
|
|
1015
793
|
```typescript
|
|
1016
|
-
await client.
|
|
794
|
+
await client.pricingMetrics.createPricingMetric({
|
|
795
|
+
name: "name",
|
|
796
|
+
event_name: "event_name",
|
|
797
|
+
aggregation: {
|
|
798
|
+
aggregation_type: "count",
|
|
799
|
+
},
|
|
800
|
+
unit: "unit",
|
|
801
|
+
});
|
|
1017
802
|
```
|
|
1018
803
|
|
|
1019
804
|
</dd>
|
|
@@ -1029,7 +814,7 @@ await client.subjects.getSubject("subject_id");
|
|
|
1029
814
|
<dl>
|
|
1030
815
|
<dd>
|
|
1031
816
|
|
|
1032
|
-
**
|
|
817
|
+
**request:** `Lark.CreatePricingMetricRequest`
|
|
1033
818
|
|
|
1034
819
|
</dd>
|
|
1035
820
|
</dl>
|
|
@@ -1037,7 +822,7 @@ await client.subjects.getSubject("subject_id");
|
|
|
1037
822
|
<dl>
|
|
1038
823
|
<dd>
|
|
1039
824
|
|
|
1040
|
-
**requestOptions:** `
|
|
825
|
+
**requestOptions:** `PricingMetrics.RequestOptions`
|
|
1041
826
|
|
|
1042
827
|
</dd>
|
|
1043
828
|
</dl>
|
|
@@ -1048,7 +833,7 @@ await client.subjects.getSubject("subject_id");
|
|
|
1048
833
|
</dl>
|
|
1049
834
|
</details>
|
|
1050
835
|
|
|
1051
|
-
<details><summary><code>client.
|
|
836
|
+
<details><summary><code>client.pricingMetrics.<a href="/src/api/resources/pricingMetrics/client/Client.ts">getPricingMetric</a>(pricingMetricId) -> Lark.GetPricingMetricResponse</code></summary>
|
|
1052
837
|
<dl>
|
|
1053
838
|
<dd>
|
|
1054
839
|
|
|
@@ -1061,7 +846,7 @@ await client.subjects.getSubject("subject_id");
|
|
|
1061
846
|
<dd>
|
|
1062
847
|
|
|
1063
848
|
```typescript
|
|
1064
|
-
await client.
|
|
849
|
+
await client.pricingMetrics.getPricingMetric("pricing_metric_id");
|
|
1065
850
|
```
|
|
1066
851
|
|
|
1067
852
|
</dd>
|
|
@@ -1077,15 +862,7 @@ await client.subjects.updateSubject("subject_id");
|
|
|
1077
862
|
<dl>
|
|
1078
863
|
<dd>
|
|
1079
864
|
|
|
1080
|
-
**
|
|
1081
|
-
|
|
1082
|
-
</dd>
|
|
1083
|
-
</dl>
|
|
1084
|
-
|
|
1085
|
-
<dl>
|
|
1086
|
-
<dd>
|
|
1087
|
-
|
|
1088
|
-
**request:** `Lark.UpdateSubjectRequest`
|
|
865
|
+
**pricingMetricId:** `string`
|
|
1089
866
|
|
|
1090
867
|
</dd>
|
|
1091
868
|
</dl>
|
|
@@ -1093,7 +870,7 @@ await client.subjects.updateSubject("subject_id");
|
|
|
1093
870
|
<dl>
|
|
1094
871
|
<dd>
|
|
1095
872
|
|
|
1096
|
-
**requestOptions:** `
|
|
873
|
+
**requestOptions:** `PricingMetrics.RequestOptions`
|
|
1097
874
|
|
|
1098
875
|
</dd>
|
|
1099
876
|
</dl>
|
|
@@ -1104,7 +881,9 @@ await client.subjects.updateSubject("subject_id");
|
|
|
1104
881
|
</dl>
|
|
1105
882
|
</details>
|
|
1106
883
|
|
|
1107
|
-
|
|
884
|
+
## CustomerAccess
|
|
885
|
+
|
|
886
|
+
<details><summary><code>client.customerAccess.<a href="/src/api/resources/customerAccess/client/Client.ts">getBillingState</a>(subjectId) -> Lark.BillingStateResponse</code></summary>
|
|
1108
887
|
<dl>
|
|
1109
888
|
<dd>
|
|
1110
889
|
|
|
@@ -1117,7 +896,7 @@ await client.subjects.updateSubject("subject_id");
|
|
|
1117
896
|
<dd>
|
|
1118
897
|
|
|
1119
898
|
```typescript
|
|
1120
|
-
await client.
|
|
899
|
+
await client.customerAccess.getBillingState("subject_id");
|
|
1121
900
|
```
|
|
1122
901
|
|
|
1123
902
|
</dd>
|
|
@@ -1141,7 +920,7 @@ await client.subjects.deleteSubject("subject_id");
|
|
|
1141
920
|
<dl>
|
|
1142
921
|
<dd>
|
|
1143
922
|
|
|
1144
|
-
**requestOptions:** `
|
|
923
|
+
**requestOptions:** `CustomerAccess.RequestOptions`
|
|
1145
924
|
|
|
1146
925
|
</dd>
|
|
1147
926
|
</dl>
|