lark-billing 0.0.5 → 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 +11 -10
- package/dist/cjs/Client.d.ts +12 -10
- package/dist/cjs/Client.js +19 -19
- package/dist/cjs/api/resources/checkout/client/Client.d.ts +12 -6
- package/dist/cjs/api/resources/checkout/client/Client.js +22 -11
- package/dist/cjs/api/resources/checkout/client/requests/{CreateRateCardCheckoutRequest.d.ts → CreateSubscriptionCheckoutSessionRequest.d.ts} +4 -3
- package/dist/cjs/api/resources/checkout/client/requests/index.d.ts +1 -1
- package/dist/cjs/api/resources/{featureAccess → customerAccess}/client/Client.d.ts +15 -9
- package/dist/cjs/api/resources/{featureAccess → customerAccess}/client/Client.js +20 -12
- 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/index.d.ts +7 -5
- package/dist/cjs/api/resources/index.js +8 -6
- package/dist/cjs/api/resources/pricingMetrics/client/Client.d.ts +64 -0
- package/dist/cjs/api/resources/{creditPools → pricingMetrics}/client/Client.js +66 -81
- 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/{pricingPlans → pricingMetrics}/index.d.ts +1 -0
- package/dist/cjs/api/resources/{pricingPlans → pricingMetrics}/index.js +1 -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 +11 -106
- package/dist/cjs/api/resources/rateCards/client/Client.js +16 -243
- package/dist/cjs/api/resources/rateCards/client/requests/CreateRateCardRequest.d.ts +2 -36
- 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 +8 -3
- package/dist/cjs/api/resources/subjects/client/Client.js +23 -16
- package/dist/cjs/api/resources/subjects/client/requests/CreateSubjectRequest.d.ts +0 -1
- package/dist/{esm/api/resources/rateCards/client/requests/RateCardsListRateCardsRequest.d.mts → cjs/api/resources/subjects/client/requests/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 +11 -24
- package/dist/cjs/api/resources/subscriptions/client/Client.js +23 -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 +25 -2
- package/dist/cjs/api/resources/usageEvents/client/Client.js +78 -4
- package/dist/cjs/api/resources/usageEvents/client/requests/CreateUsageEventRequest.d.ts +2 -3
- package/dist/cjs/api/resources/usageEvents/client/requests/CreateUsageEventSummaryRequest.d.ts +30 -0
- package/dist/cjs/api/resources/usageEvents/client/requests/CreateUsageEventSummaryRequest.js +14 -0
- package/dist/cjs/api/resources/usageEvents/client/requests/index.d.ts +1 -0
- 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/{esm/api/types/CreateRateCardCheckoutResponse.d.mts → cjs/api/types/CreateCustomerPortalSessionResponse.d.ts} +2 -1
- package/dist/cjs/api/types/CreateFixedRateInterface.d.ts +2 -4
- package/dist/cjs/api/types/{CreatePricingMetricInterface.d.ts → CreatePricingMetricResponse.d.ts} +2 -1
- package/dist/cjs/api/types/CreateSimpleUsageBasedRateInterface.d.ts +4 -3
- package/dist/cjs/api/types/CreateSubjectResponse.d.ts +1 -1
- package/dist/cjs/api/types/CreateSubscriptionCheckoutSessionResponse.d.ts +9 -0
- package/dist/cjs/api/types/CreateUsageEventSummaryResponse.d.ts +10 -0
- package/dist/{esm/api/types/CustomAggregationPricingMetricInterface.d.mts → cjs/api/types/CustomPricingMetricResource.d.ts} +1 -1
- package/dist/cjs/api/types/FixedRateInterface.d.ts +2 -3
- package/dist/cjs/api/types/{PricingMetricInterface.d.ts → GetPricingMetricResponse.d.ts} +2 -1
- package/dist/cjs/api/types/{MaxAggregationPricingMetricInterface.d.ts → LastAggregationPricingMetricResource.d.ts} +1 -1
- package/dist/{esm/api/types/MaxAggregationPricingMetricInterface.d.mts → cjs/api/types/MaxAggregationPricingMetricResource.d.ts} +1 -1
- package/dist/cjs/api/types/Period.d.ts +9 -0
- 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 +5 -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/SumAggregationPricingMetricInterface.d.ts +1 -0
- package/dist/cjs/api/types/{LastAggregationPricingMetricInterface.d.ts → SumAggregationPricingMetricResource.d.ts} +1 -1
- package/dist/cjs/api/types/index.d.ts +12 -86
- package/dist/cjs/api/types/index.js +12 -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 -10
- package/dist/esm/Client.mjs +13 -13
- package/dist/esm/api/resources/checkout/client/Client.d.mts +12 -6
- package/dist/esm/api/resources/checkout/client/Client.mjs +23 -12
- package/dist/esm/api/resources/checkout/client/requests/{CreateRateCardCheckoutRequest.d.mts → CreateSubscriptionCheckoutSessionRequest.d.mts} +4 -3
- package/dist/esm/api/resources/checkout/client/requests/index.d.mts +1 -1
- package/dist/esm/api/resources/{featureAccess → customerAccess}/client/Client.d.mts +15 -9
- package/dist/esm/api/resources/{featureAccess → customerAccess}/client/Client.mjs +19 -11
- 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/index.d.mts +7 -5
- package/dist/esm/api/resources/index.mjs +7 -5
- 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/{pricingPlans → pricingMetrics}/index.d.mts +1 -0
- package/dist/esm/api/resources/{pricingPlans → pricingMetrics}/index.mjs +1 -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 +11 -106
- package/dist/esm/api/resources/rateCards/client/Client.mjs +17 -244
- package/dist/esm/api/resources/rateCards/client/requests/CreateRateCardRequest.d.mts +2 -36
- package/dist/{cjs/api/resources/rateCards/client/requests/RateCardsListRateCardsRequest.d.ts → esm/api/resources/rateCards/client/requests/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 +8 -3
- package/dist/esm/api/resources/subjects/client/Client.mjs +24 -17
- package/dist/esm/api/resources/subjects/client/requests/CreateSubjectRequest.d.mts +0 -1
- package/dist/{cjs/api/resources/subjects/client/requests/SubjectsListSubjectsRequest.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 +11 -24
- package/dist/esm/api/resources/subscriptions/client/Client.mjs +24 -114
- 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 +25 -2
- package/dist/esm/api/resources/usageEvents/client/Client.mjs +79 -5
- package/dist/esm/api/resources/usageEvents/client/requests/CreateUsageEventRequest.d.mts +2 -3
- package/dist/esm/api/resources/usageEvents/client/requests/CreateUsageEventSummaryRequest.d.mts +30 -0
- package/dist/esm/api/resources/usageEvents/client/requests/CreateUsageEventSummaryRequest.mjs +11 -0
- package/dist/esm/api/resources/usageEvents/client/requests/index.d.mts +1 -0
- 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/{cjs/api/types/CreateRateCardCheckoutResponse.d.ts → esm/api/types/CreateCustomerPortalSessionResponse.d.mts} +2 -1
- package/dist/esm/api/types/CreateFixedRateInterface.d.mts +2 -4
- package/dist/esm/api/types/{PricingMetricInterface.d.mts → CreatePricingMetricResponse.d.mts} +2 -1
- package/dist/esm/api/types/CreateSimpleUsageBasedRateInterface.d.mts +4 -3
- package/dist/esm/api/types/CreateSubjectResponse.d.mts +1 -1
- package/dist/esm/api/types/CreateSubscriptionCheckoutSessionResponse.d.mts +9 -0
- package/dist/esm/api/types/CreateUsageEventSummaryResponse.d.mts +10 -0
- package/dist/{cjs/api/types/CustomAggregationPricingMetricInterface.d.ts → esm/api/types/CustomPricingMetricResource.d.mts} +1 -1
- package/dist/esm/api/types/FixedRateInterface.d.mts +2 -3
- package/dist/esm/api/types/{CreatePricingMetricInterface.d.mts → GetPricingMetricResponse.d.mts} +2 -1
- package/dist/esm/api/types/{LastAggregationPricingMetricInterface.d.mts → LastAggregationPricingMetricResource.d.mts} +1 -1
- package/dist/esm/api/types/MaxAggregationPricingMetricResource.d.mts +6 -0
- package/dist/esm/api/types/Period.d.mts +9 -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 +5 -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/SumAggregationPricingMetricInterface.d.mts +1 -0
- package/dist/esm/api/types/SumAggregationPricingMetricResource.d.mts +6 -0
- package/dist/esm/api/types/index.d.mts +12 -86
- package/dist/esm/api/types/index.mjs +12 -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 +67 -528
- package/dist/cjs/api/resources/creditPools/client/Client.d.ts +0 -53
- package/dist/cjs/api/resources/featureAccess/client/index.d.ts +0 -1
- package/dist/cjs/api/resources/pricingPlans/client/Client.d.ts +0 -72
- package/dist/cjs/api/resources/pricingPlans/client/Client.js +0 -305
- package/dist/cjs/api/resources/pricingPlans/client/index.d.ts +0 -1
- package/dist/cjs/api/resources/rateCards/client/requests/CreateRateCardVersionRequest.d.ts +0 -60
- 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/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 -12
- 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/CreatePricingPlanRequest.d.ts +0 -4
- 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.d.ts +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.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 -12
- 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/creditPools/client/Client.d.mts +0 -53
- package/dist/esm/api/resources/creditPools/client/Client.mjs +0 -167
- package/dist/esm/api/resources/featureAccess/client/index.d.mts +0 -1
- package/dist/esm/api/resources/pricingPlans/client/Client.d.mts +0 -72
- package/dist/esm/api/resources/pricingPlans/client/Client.mjs +0 -268
- package/dist/esm/api/resources/pricingPlans/client/index.d.mts +0 -1
- package/dist/esm/api/resources/rateCards/client/requests/CreateRateCardVersionRequest.d.mts +0 -60
- 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/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 -12
- 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/CreatePricingPlanRequest.d.mts +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.d.mts +0 -5
- 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.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 -12
- 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/checkout/client/requests/{CreateRateCardCheckoutRequest.js → CreateSubscriptionCheckoutSessionRequest.js} +0 -0
- /package/dist/cjs/api/resources/{creditPools → customerAccess}/client/index.d.ts +0 -0
- /package/dist/cjs/api/resources/{creditPools → customerAccess}/client/index.js +0 -0
- /package/dist/cjs/api/resources/{creditPools → customerAccess}/index.d.ts +0 -0
- /package/dist/cjs/api/resources/{creditPools → 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/{featureAccess/client → customerPortal/client/requests}/index.js +0 -0
- /package/dist/cjs/api/resources/{featureAccess → customerPortal}/index.d.ts +0 -0
- /package/dist/cjs/api/resources/{featureAccess → customerPortal}/index.js +0 -0
- /package/dist/cjs/api/resources/{rateCards/types/CreateRateCardRequestUsageBasedRatesItem.js → pricingMetrics/client/requests/CreatePricingMetricRequest.js} +0 -0
- /package/dist/cjs/api/resources/{pricingPlans/client → pricingMetrics/client/requests}/index.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/{CreateCreditGrantInterface.js → CountAggregationPricingMetricResource.js} +0 -0
- /package/dist/cjs/api/types/{CreateCreditGrantInterfaceExpiration.js → CreateCustomerPortalSessionResponse.js} +0 -0
- /package/dist/cjs/api/types/{CreateCreditPoolRequest.js → CreatePricingMetricResponse.js} +0 -0
- /package/dist/cjs/api/types/{CreateDimensionCoordinateInterface.js → CreateSubscriptionCheckoutSessionResponse.js} +0 -0
- /package/dist/cjs/api/types/{CreateDimensionInterface.js → CreateUsageEventSummaryResponse.js} +0 -0
- /package/dist/cjs/api/types/{CreateDimensionalUsageBasedRateInterface.js → CustomPricingMetricResource.js} +0 -0
- /package/dist/cjs/api/types/{CreatePricingMatrixCellInterface.js → GetPricingMetricResponse.js} +0 -0
- /package/dist/cjs/api/types/{CreatePricingMatrixInterface.js → LastAggregationPricingMetricResource.js} +0 -0
- /package/dist/cjs/api/types/{CreatePricingMetricInterface.js → MaxAggregationPricingMetricResource.js} +0 -0
- /package/dist/cjs/api/types/{CreatePricingPlanRequest.js → Period.js} +0 -0
- /package/dist/cjs/api/types/{CreateRateCardCheckoutResponse.js → SumAggregationPricingMetricResource.js} +0 -0
- /package/dist/esm/api/resources/checkout/client/requests/{CreateRateCardCheckoutRequest.mjs → CreateSubscriptionCheckoutSessionRequest.mjs} +0 -0
- /package/dist/esm/api/resources/{creditPools → customerAccess}/client/index.d.mts +0 -0
- /package/dist/esm/api/resources/{creditPools → customerAccess}/client/index.mjs +0 -0
- /package/dist/esm/api/resources/{creditPools → customerAccess}/index.d.mts +0 -0
- /package/dist/esm/api/resources/{creditPools → 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/{featureAccess/client → customerPortal/client/requests}/index.mjs +0 -0
- /package/dist/esm/api/resources/{featureAccess → customerPortal}/index.d.mts +0 -0
- /package/dist/esm/api/resources/{featureAccess → customerPortal}/index.mjs +0 -0
- /package/dist/esm/api/resources/{rateCards/types/CreateRateCardRequestUsageBasedRatesItem.mjs → pricingMetrics/client/requests/CreatePricingMetricRequest.mjs} +0 -0
- /package/dist/esm/api/resources/{pricingPlans/client → pricingMetrics/client/requests}/index.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/{CreateCreditGrantInterface.mjs → CountAggregationPricingMetricResource.mjs} +0 -0
- /package/dist/esm/api/types/{CreateCreditGrantInterfaceExpiration.mjs → CreateCustomerPortalSessionResponse.mjs} +0 -0
- /package/dist/esm/api/types/{CreateCreditPoolRequest.mjs → CreatePricingMetricResponse.mjs} +0 -0
- /package/dist/esm/api/types/{CreateDimensionCoordinateInterface.mjs → CreateSubscriptionCheckoutSessionResponse.mjs} +0 -0
- /package/dist/esm/api/types/{CreateDimensionInterface.mjs → CreateUsageEventSummaryResponse.mjs} +0 -0
- /package/dist/esm/api/types/{CreateDimensionalUsageBasedRateInterface.mjs → CustomPricingMetricResource.mjs} +0 -0
- /package/dist/esm/api/types/{CreatePricingMatrixCellInterface.mjs → GetPricingMetricResponse.mjs} +0 -0
- /package/dist/esm/api/types/{CreatePricingMatrixInterface.mjs → LastAggregationPricingMetricResource.mjs} +0 -0
- /package/dist/esm/api/types/{CreatePricingMetricInterface.mjs → MaxAggregationPricingMetricResource.mjs} +0 -0
- /package/dist/esm/api/types/{CreatePricingPlanRequest.mjs → Period.mjs} +0 -0
- /package/dist/esm/api/types/{CreateRateCardCheckoutResponse.mjs → SumAggregationPricingMetricResource.mjs} +0 -0
package/reference.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
## Checkout
|
|
4
4
|
|
|
5
|
-
<details><summary><code>client.checkout.<a href="/src/api/resources/checkout/client/Client.ts">
|
|
5
|
+
<details><summary><code>client.checkout.<a href="/src/api/resources/checkout/client/Client.ts">createSubscriptionCheckoutSession</a>({ ...params }) -> Lark.CreateSubscriptionCheckoutSessionResponse</code></summary>
|
|
6
6
|
<dl>
|
|
7
7
|
<dd>
|
|
8
8
|
|
|
@@ -15,9 +15,10 @@
|
|
|
15
15
|
<dd>
|
|
16
16
|
|
|
17
17
|
```typescript
|
|
18
|
-
await client.checkout.
|
|
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
|
|
|
@@ -34,7 +35,7 @@ await client.checkout.createRateCardCheckoutSession({
|
|
|
34
35
|
<dl>
|
|
35
36
|
<dd>
|
|
36
37
|
|
|
37
|
-
**request:** `Lark.
|
|
38
|
+
**request:** `Lark.CreateSubscriptionCheckoutSessionRequest`
|
|
38
39
|
|
|
39
40
|
</dd>
|
|
40
41
|
</dl>
|
|
@@ -53,9 +54,9 @@ await client.checkout.createRateCardCheckoutSession({
|
|
|
53
54
|
</dl>
|
|
54
55
|
</details>
|
|
55
56
|
|
|
56
|
-
##
|
|
57
|
+
## CustomerPortal
|
|
57
58
|
|
|
58
|
-
<details><summary><code>client.
|
|
59
|
+
<details><summary><code>client.customerPortal.<a href="/src/api/resources/customerPortal/client/Client.ts">createCustomerPortalSession</a>({ ...params }) -> Lark.CreateCustomerPortalSessionResponse</code></summary>
|
|
59
60
|
<dl>
|
|
60
61
|
<dd>
|
|
61
62
|
|
|
@@ -68,9 +69,8 @@ await client.checkout.createRateCardCheckoutSession({
|
|
|
68
69
|
<dd>
|
|
69
70
|
|
|
70
71
|
```typescript
|
|
71
|
-
await client.
|
|
72
|
-
|
|
73
|
-
offset: 1,
|
|
72
|
+
await client.customerPortal.createCustomerPortalSession({
|
|
73
|
+
subject_id: "subject_id",
|
|
74
74
|
});
|
|
75
75
|
```
|
|
76
76
|
|
|
@@ -87,7 +87,7 @@ await client.rateCards.listRateCards({
|
|
|
87
87
|
<dl>
|
|
88
88
|
<dd>
|
|
89
89
|
|
|
90
|
-
**request:** `Lark.
|
|
90
|
+
**request:** `Lark.CreateCustomerPortalSessionRequest`
|
|
91
91
|
|
|
92
92
|
</dd>
|
|
93
93
|
</dl>
|
|
@@ -95,7 +95,7 @@ await client.rateCards.listRateCards({
|
|
|
95
95
|
<dl>
|
|
96
96
|
<dd>
|
|
97
97
|
|
|
98
|
-
**requestOptions:** `
|
|
98
|
+
**requestOptions:** `CustomerPortal.RequestOptions`
|
|
99
99
|
|
|
100
100
|
</dd>
|
|
101
101
|
</dl>
|
|
@@ -106,7 +106,9 @@ await client.rateCards.listRateCards({
|
|
|
106
106
|
</dl>
|
|
107
107
|
</details>
|
|
108
108
|
|
|
109
|
-
|
|
109
|
+
## RateCards
|
|
110
|
+
|
|
111
|
+
<details><summary><code>client.rateCards.<a href="/src/api/resources/rateCards/client/Client.ts">listRateCards</a>({ ...params }) -> Lark.ListRateCardsResponse</code></summary>
|
|
110
112
|
<dl>
|
|
111
113
|
<dd>
|
|
112
114
|
|
|
@@ -119,49 +121,8 @@ await client.rateCards.listRateCards({
|
|
|
119
121
|
<dd>
|
|
120
122
|
|
|
121
123
|
```typescript
|
|
122
|
-
await client.rateCards.
|
|
123
|
-
|
|
124
|
-
description: "description",
|
|
125
|
-
usage_based_rates: [
|
|
126
|
-
{
|
|
127
|
-
usage_based_rate_type: "dimensional",
|
|
128
|
-
name: "name",
|
|
129
|
-
pricing_metric: {
|
|
130
|
-
name: "name",
|
|
131
|
-
event_name: "event_name",
|
|
132
|
-
aggregation: {
|
|
133
|
-
aggregation_type: "count",
|
|
134
|
-
},
|
|
135
|
-
unit: "unit",
|
|
136
|
-
},
|
|
137
|
-
dimensions: [
|
|
138
|
-
{
|
|
139
|
-
key: "key",
|
|
140
|
-
values: ["values"],
|
|
141
|
-
},
|
|
142
|
-
],
|
|
143
|
-
pricing_matrix: {
|
|
144
|
-
cells: [
|
|
145
|
-
{
|
|
146
|
-
dimension_coordinates: [
|
|
147
|
-
{
|
|
148
|
-
dimension_key: "dimension_key",
|
|
149
|
-
value: "value",
|
|
150
|
-
},
|
|
151
|
-
],
|
|
152
|
-
price: {
|
|
153
|
-
amount: {
|
|
154
|
-
value: 1,
|
|
155
|
-
currency_code: "currency_code",
|
|
156
|
-
},
|
|
157
|
-
price_type: "flat",
|
|
158
|
-
},
|
|
159
|
-
},
|
|
160
|
-
],
|
|
161
|
-
},
|
|
162
|
-
},
|
|
163
|
-
],
|
|
164
|
-
billing_interval: "monthly",
|
|
124
|
+
await client.rateCards.listRateCards({
|
|
125
|
+
limit: 1,
|
|
165
126
|
});
|
|
166
127
|
```
|
|
167
128
|
|
|
@@ -178,7 +139,7 @@ await client.rateCards.createRateCard({
|
|
|
178
139
|
<dl>
|
|
179
140
|
<dd>
|
|
180
141
|
|
|
181
|
-
**request:** `Lark.
|
|
142
|
+
**request:** `Lark.ListRateCardsRateCardsGetRequest`
|
|
182
143
|
|
|
183
144
|
</dd>
|
|
184
145
|
</dl>
|
|
@@ -197,7 +158,7 @@ await client.rateCards.createRateCard({
|
|
|
197
158
|
</dl>
|
|
198
159
|
</details>
|
|
199
160
|
|
|
200
|
-
<details><summary><code>client.rateCards.<a href="/src/api/resources/rateCards/client/Client.ts">
|
|
161
|
+
<details><summary><code>client.rateCards.<a href="/src/api/resources/rateCards/client/Client.ts">createRateCard</a>({ ...params }) -> Lark.RateCardResource</code></summary>
|
|
201
162
|
<dl>
|
|
202
163
|
<dd>
|
|
203
164
|
|
|
@@ -210,7 +171,10 @@ await client.rateCards.createRateCard({
|
|
|
210
171
|
<dd>
|
|
211
172
|
|
|
212
173
|
```typescript
|
|
213
|
-
await client.rateCards.
|
|
174
|
+
await client.rateCards.createRateCard({
|
|
175
|
+
name: "name",
|
|
176
|
+
billing_interval: "monthly",
|
|
177
|
+
});
|
|
214
178
|
```
|
|
215
179
|
|
|
216
180
|
</dd>
|
|
@@ -226,7 +190,7 @@ await client.rateCards.getRateCard("rate_card_id");
|
|
|
226
190
|
<dl>
|
|
227
191
|
<dd>
|
|
228
192
|
|
|
229
|
-
**
|
|
193
|
+
**request:** `Lark.CreateRateCardRequest`
|
|
230
194
|
|
|
231
195
|
</dd>
|
|
232
196
|
</dl>
|
|
@@ -245,7 +209,7 @@ await client.rateCards.getRateCard("rate_card_id");
|
|
|
245
209
|
</dl>
|
|
246
210
|
</details>
|
|
247
211
|
|
|
248
|
-
<details><summary><code>client.rateCards.<a href="/src/api/resources/rateCards/client/Client.ts">
|
|
212
|
+
<details><summary><code>client.rateCards.<a href="/src/api/resources/rateCards/client/Client.ts">getRateCard</a>(rateCardId) -> Lark.RateCardResource</code></summary>
|
|
249
213
|
<dl>
|
|
250
214
|
<dd>
|
|
251
215
|
|
|
@@ -258,7 +222,7 @@ await client.rateCards.getRateCard("rate_card_id");
|
|
|
258
222
|
<dd>
|
|
259
223
|
|
|
260
224
|
```typescript
|
|
261
|
-
await client.rateCards.
|
|
225
|
+
await client.rateCards.getRateCard("rate_card_id");
|
|
262
226
|
```
|
|
263
227
|
|
|
264
228
|
</dd>
|
|
@@ -293,55 +257,9 @@ await client.rateCards.deleteRateCard("rate_card_id");
|
|
|
293
257
|
</dl>
|
|
294
258
|
</details>
|
|
295
259
|
|
|
296
|
-
|
|
297
|
-
<dl>
|
|
298
|
-
<dd>
|
|
299
|
-
|
|
300
|
-
#### 🔌 Usage
|
|
301
|
-
|
|
302
|
-
<dl>
|
|
303
|
-
<dd>
|
|
304
|
-
|
|
305
|
-
<dl>
|
|
306
|
-
<dd>
|
|
307
|
-
|
|
308
|
-
```typescript
|
|
309
|
-
await client.rateCards.updateRateCard("rate_card_id");
|
|
310
|
-
```
|
|
311
|
-
|
|
312
|
-
</dd>
|
|
313
|
-
</dl>
|
|
314
|
-
</dd>
|
|
315
|
-
</dl>
|
|
316
|
-
|
|
317
|
-
#### ⚙️ Parameters
|
|
318
|
-
|
|
319
|
-
<dl>
|
|
320
|
-
<dd>
|
|
321
|
-
|
|
322
|
-
<dl>
|
|
323
|
-
<dd>
|
|
324
|
-
|
|
325
|
-
**rateCardId:** `string`
|
|
326
|
-
|
|
327
|
-
</dd>
|
|
328
|
-
</dl>
|
|
329
|
-
|
|
330
|
-
<dl>
|
|
331
|
-
<dd>
|
|
332
|
-
|
|
333
|
-
**requestOptions:** `RateCards.RequestOptions`
|
|
334
|
-
|
|
335
|
-
</dd>
|
|
336
|
-
</dl>
|
|
337
|
-
</dd>
|
|
338
|
-
</dl>
|
|
339
|
-
|
|
340
|
-
</dd>
|
|
341
|
-
</dl>
|
|
342
|
-
</details>
|
|
260
|
+
## UsageEvents
|
|
343
261
|
|
|
344
|
-
<details><summary><code>client.
|
|
262
|
+
<details><summary><code>client.usageEvents.<a href="/src/api/resources/usageEvents/client/Client.ts">createUsageEvent</a>({ ...params }) -> unknown</code></summary>
|
|
345
263
|
<dl>
|
|
346
264
|
<dd>
|
|
347
265
|
|
|
@@ -354,51 +272,13 @@ await client.rateCards.updateRateCard("rate_card_id");
|
|
|
354
272
|
<dd>
|
|
355
273
|
|
|
356
274
|
```typescript
|
|
357
|
-
await client.
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
description: "description",
|
|
365
|
-
included_units: 1,
|
|
366
|
-
pricing_metric: {
|
|
367
|
-
name: "name",
|
|
368
|
-
event_name: "event_name",
|
|
369
|
-
aggregation: {
|
|
370
|
-
aggregation_type: "count",
|
|
371
|
-
},
|
|
372
|
-
unit: "unit",
|
|
373
|
-
},
|
|
374
|
-
dimensions: [
|
|
375
|
-
{
|
|
376
|
-
key: "key",
|
|
377
|
-
values: ["values"],
|
|
378
|
-
},
|
|
379
|
-
],
|
|
380
|
-
pricing_matrix: {
|
|
381
|
-
cells: [
|
|
382
|
-
{
|
|
383
|
-
dimension_coordinates: [
|
|
384
|
-
{
|
|
385
|
-
dimension_key: "dimension_key",
|
|
386
|
-
value: "value",
|
|
387
|
-
},
|
|
388
|
-
],
|
|
389
|
-
price: {
|
|
390
|
-
amount: {
|
|
391
|
-
value: 1,
|
|
392
|
-
currency_code: "currency_code",
|
|
393
|
-
},
|
|
394
|
-
price_type: "flat",
|
|
395
|
-
},
|
|
396
|
-
},
|
|
397
|
-
],
|
|
398
|
-
},
|
|
399
|
-
},
|
|
400
|
-
],
|
|
401
|
-
version_type: "major",
|
|
275
|
+
await client.usageEvents.createUsageEvent({
|
|
276
|
+
idempotency_key: "idempotency_key",
|
|
277
|
+
event_name: "event_name",
|
|
278
|
+
subject_id: "subject_id",
|
|
279
|
+
data: {
|
|
280
|
+
key: "value",
|
|
281
|
+
},
|
|
402
282
|
});
|
|
403
283
|
```
|
|
404
284
|
|
|
@@ -415,15 +295,7 @@ await client.rateCards.createRateCardVersion("rate_card_id", {
|
|
|
415
295
|
<dl>
|
|
416
296
|
<dd>
|
|
417
297
|
|
|
418
|
-
**
|
|
419
|
-
|
|
420
|
-
</dd>
|
|
421
|
-
</dl>
|
|
422
|
-
|
|
423
|
-
<dl>
|
|
424
|
-
<dd>
|
|
425
|
-
|
|
426
|
-
**request:** `Lark.CreateRateCardVersionRequest`
|
|
298
|
+
**request:** `Lark.CreateUsageEventRequest`
|
|
427
299
|
|
|
428
300
|
</dd>
|
|
429
301
|
</dl>
|
|
@@ -431,7 +303,7 @@ await client.rateCards.createRateCardVersion("rate_card_id", {
|
|
|
431
303
|
<dl>
|
|
432
304
|
<dd>
|
|
433
305
|
|
|
434
|
-
**requestOptions:** `
|
|
306
|
+
**requestOptions:** `UsageEvents.RequestOptions`
|
|
435
307
|
|
|
436
308
|
</dd>
|
|
437
309
|
</dl>
|
|
@@ -442,9 +314,7 @@ await client.rateCards.createRateCardVersion("rate_card_id", {
|
|
|
442
314
|
</dl>
|
|
443
315
|
</details>
|
|
444
316
|
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
<details><summary><code>client.usageEvents.<a href="/src/api/resources/usageEvents/client/Client.ts">createUsageEvent</a>({ ...params }) -> unknown</code></summary>
|
|
317
|
+
<details><summary><code>client.usageEvents.<a href="/src/api/resources/usageEvents/client/Client.ts">createUsageEventSummary</a>({ ...params }) -> Lark.CreateUsageEventSummaryResponse</code></summary>
|
|
448
318
|
<dl>
|
|
449
319
|
<dd>
|
|
450
320
|
|
|
@@ -457,14 +327,14 @@ await client.rateCards.createRateCardVersion("rate_card_id", {
|
|
|
457
327
|
<dd>
|
|
458
328
|
|
|
459
329
|
```typescript
|
|
460
|
-
await client.usageEvents.
|
|
461
|
-
idempotency_key: "idempotency_key",
|
|
330
|
+
await client.usageEvents.createUsageEventSummary({
|
|
462
331
|
event_name: "event_name",
|
|
463
332
|
subject_id: "subject_id",
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
333
|
+
period: {
|
|
334
|
+
start: "2024-01-15T09:30:00Z",
|
|
335
|
+
end: "2024-01-15T09:30:00Z",
|
|
467
336
|
},
|
|
337
|
+
aggregation_type: "sum",
|
|
468
338
|
});
|
|
469
339
|
```
|
|
470
340
|
|
|
@@ -481,7 +351,7 @@ await client.usageEvents.createUsageEvent({
|
|
|
481
351
|
<dl>
|
|
482
352
|
<dd>
|
|
483
353
|
|
|
484
|
-
**request:** `Lark.
|
|
354
|
+
**request:** `Lark.CreateUsageEventSummaryRequest`
|
|
485
355
|
|
|
486
356
|
</dd>
|
|
487
357
|
</dl>
|
|
@@ -517,7 +387,8 @@ await client.usageEvents.createUsageEvent({
|
|
|
517
387
|
```typescript
|
|
518
388
|
await client.subscriptions.listSubscriptions({
|
|
519
389
|
limit: 1,
|
|
520
|
-
|
|
390
|
+
subject_id: "subject_id",
|
|
391
|
+
rate_card_id: "rate_card_id",
|
|
521
392
|
});
|
|
522
393
|
```
|
|
523
394
|
|
|
@@ -534,7 +405,7 @@ await client.subscriptions.listSubscriptions({
|
|
|
534
405
|
<dl>
|
|
535
406
|
<dd>
|
|
536
407
|
|
|
537
|
-
**request:** `Lark.
|
|
408
|
+
**request:** `Lark.ListSubscriptionsSubscriptionsGetRequest`
|
|
538
409
|
|
|
539
410
|
</dd>
|
|
540
411
|
</dl>
|
|
@@ -569,7 +440,6 @@ await client.subscriptions.listSubscriptions({
|
|
|
569
440
|
await client.subscriptions.createSubscription({
|
|
570
441
|
rate_card_id: "rate_card_id",
|
|
571
442
|
subject_id: "subject_id",
|
|
572
|
-
effective_at: "2024-01-15T09:30:00Z",
|
|
573
443
|
});
|
|
574
444
|
```
|
|
575
445
|
|
|
@@ -653,144 +523,6 @@ await client.subscriptions.getSubscription("subscription_id");
|
|
|
653
523
|
</dl>
|
|
654
524
|
</details>
|
|
655
525
|
|
|
656
|
-
<details><summary><code>client.subscriptions.<a href="/src/api/resources/subscriptions/client/Client.ts">cancelSubscription</a>(subscriptionId) -> void</code></summary>
|
|
657
|
-
<dl>
|
|
658
|
-
<dd>
|
|
659
|
-
|
|
660
|
-
#### 🔌 Usage
|
|
661
|
-
|
|
662
|
-
<dl>
|
|
663
|
-
<dd>
|
|
664
|
-
|
|
665
|
-
<dl>
|
|
666
|
-
<dd>
|
|
667
|
-
|
|
668
|
-
```typescript
|
|
669
|
-
await client.subscriptions.cancelSubscription("subscription_id");
|
|
670
|
-
```
|
|
671
|
-
|
|
672
|
-
</dd>
|
|
673
|
-
</dl>
|
|
674
|
-
</dd>
|
|
675
|
-
</dl>
|
|
676
|
-
|
|
677
|
-
#### ⚙️ Parameters
|
|
678
|
-
|
|
679
|
-
<dl>
|
|
680
|
-
<dd>
|
|
681
|
-
|
|
682
|
-
<dl>
|
|
683
|
-
<dd>
|
|
684
|
-
|
|
685
|
-
**subscriptionId:** `string`
|
|
686
|
-
|
|
687
|
-
</dd>
|
|
688
|
-
</dl>
|
|
689
|
-
|
|
690
|
-
<dl>
|
|
691
|
-
<dd>
|
|
692
|
-
|
|
693
|
-
**requestOptions:** `Subscriptions.RequestOptions`
|
|
694
|
-
|
|
695
|
-
</dd>
|
|
696
|
-
</dl>
|
|
697
|
-
</dd>
|
|
698
|
-
</dl>
|
|
699
|
-
|
|
700
|
-
</dd>
|
|
701
|
-
</dl>
|
|
702
|
-
</details>
|
|
703
|
-
|
|
704
|
-
<details><summary><code>client.subscriptions.<a href="/src/api/resources/subscriptions/client/Client.ts">updateSubscription</a>(subscriptionId) -> void</code></summary>
|
|
705
|
-
<dl>
|
|
706
|
-
<dd>
|
|
707
|
-
|
|
708
|
-
#### 🔌 Usage
|
|
709
|
-
|
|
710
|
-
<dl>
|
|
711
|
-
<dd>
|
|
712
|
-
|
|
713
|
-
<dl>
|
|
714
|
-
<dd>
|
|
715
|
-
|
|
716
|
-
```typescript
|
|
717
|
-
await client.subscriptions.updateSubscription("subscription_id");
|
|
718
|
-
```
|
|
719
|
-
|
|
720
|
-
</dd>
|
|
721
|
-
</dl>
|
|
722
|
-
</dd>
|
|
723
|
-
</dl>
|
|
724
|
-
|
|
725
|
-
#### ⚙️ Parameters
|
|
726
|
-
|
|
727
|
-
<dl>
|
|
728
|
-
<dd>
|
|
729
|
-
|
|
730
|
-
<dl>
|
|
731
|
-
<dd>
|
|
732
|
-
|
|
733
|
-
**subscriptionId:** `string`
|
|
734
|
-
|
|
735
|
-
</dd>
|
|
736
|
-
</dl>
|
|
737
|
-
|
|
738
|
-
<dl>
|
|
739
|
-
<dd>
|
|
740
|
-
|
|
741
|
-
**requestOptions:** `Subscriptions.RequestOptions`
|
|
742
|
-
|
|
743
|
-
</dd>
|
|
744
|
-
</dl>
|
|
745
|
-
</dd>
|
|
746
|
-
</dl>
|
|
747
|
-
|
|
748
|
-
</dd>
|
|
749
|
-
</dl>
|
|
750
|
-
</details>
|
|
751
|
-
|
|
752
|
-
## FeatureAccess
|
|
753
|
-
|
|
754
|
-
<details><summary><code>client.featureAccess.<a href="/src/api/resources/featureAccess/client/Client.ts">getFeatureAccess</a>() -> Lark.CheckFeatureAccessResponse</code></summary>
|
|
755
|
-
<dl>
|
|
756
|
-
<dd>
|
|
757
|
-
|
|
758
|
-
#### 🔌 Usage
|
|
759
|
-
|
|
760
|
-
<dl>
|
|
761
|
-
<dd>
|
|
762
|
-
|
|
763
|
-
<dl>
|
|
764
|
-
<dd>
|
|
765
|
-
|
|
766
|
-
```typescript
|
|
767
|
-
await client.featureAccess.getFeatureAccess();
|
|
768
|
-
```
|
|
769
|
-
|
|
770
|
-
</dd>
|
|
771
|
-
</dl>
|
|
772
|
-
</dd>
|
|
773
|
-
</dl>
|
|
774
|
-
|
|
775
|
-
#### ⚙️ Parameters
|
|
776
|
-
|
|
777
|
-
<dl>
|
|
778
|
-
<dd>
|
|
779
|
-
|
|
780
|
-
<dl>
|
|
781
|
-
<dd>
|
|
782
|
-
|
|
783
|
-
**requestOptions:** `FeatureAccess.RequestOptions`
|
|
784
|
-
|
|
785
|
-
</dd>
|
|
786
|
-
</dl>
|
|
787
|
-
</dd>
|
|
788
|
-
</dl>
|
|
789
|
-
|
|
790
|
-
</dd>
|
|
791
|
-
</dl>
|
|
792
|
-
</details>
|
|
793
|
-
|
|
794
526
|
## Subjects
|
|
795
527
|
|
|
796
528
|
<details><summary><code>client.subjects.<a href="/src/api/resources/subjects/client/Client.ts">listSubjects</a>({ ...params }) -> Lark.ListSubjectsResponse</code></summary>
|
|
@@ -825,7 +557,7 @@ await client.subjects.listSubjects({
|
|
|
825
557
|
<dl>
|
|
826
558
|
<dd>
|
|
827
559
|
|
|
828
|
-
**request:** `Lark.
|
|
560
|
+
**request:** `Lark.ListSubjectsSubjectsGetRequest`
|
|
829
561
|
|
|
830
562
|
</dd>
|
|
831
563
|
</dl>
|
|
@@ -1044,137 +776,9 @@ await client.subjects.deleteSubject("subject_id");
|
|
|
1044
776
|
</dl>
|
|
1045
777
|
</details>
|
|
1046
778
|
|
|
1047
|
-
##
|
|
1048
|
-
|
|
1049
|
-
<details><summary><code>client.pricingPlans.<a href="/src/api/resources/pricingPlans/client/Client.ts">listPricingPlans</a>() -> void</code></summary>
|
|
1050
|
-
<dl>
|
|
1051
|
-
<dd>
|
|
1052
|
-
|
|
1053
|
-
#### 🔌 Usage
|
|
1054
|
-
|
|
1055
|
-
<dl>
|
|
1056
|
-
<dd>
|
|
1057
|
-
|
|
1058
|
-
<dl>
|
|
1059
|
-
<dd>
|
|
1060
|
-
|
|
1061
|
-
```typescript
|
|
1062
|
-
await client.pricingPlans.listPricingPlans();
|
|
1063
|
-
```
|
|
1064
|
-
|
|
1065
|
-
</dd>
|
|
1066
|
-
</dl>
|
|
1067
|
-
</dd>
|
|
1068
|
-
</dl>
|
|
1069
|
-
|
|
1070
|
-
#### ⚙️ Parameters
|
|
1071
|
-
|
|
1072
|
-
<dl>
|
|
1073
|
-
<dd>
|
|
1074
|
-
|
|
1075
|
-
<dl>
|
|
1076
|
-
<dd>
|
|
1077
|
-
|
|
1078
|
-
**requestOptions:** `PricingPlans.RequestOptions`
|
|
1079
|
-
|
|
1080
|
-
</dd>
|
|
1081
|
-
</dl>
|
|
1082
|
-
</dd>
|
|
1083
|
-
</dl>
|
|
1084
|
-
|
|
1085
|
-
</dd>
|
|
1086
|
-
</dl>
|
|
1087
|
-
</details>
|
|
1088
|
-
|
|
1089
|
-
<details><summary><code>client.pricingPlans.<a href="/src/api/resources/pricingPlans/client/Client.ts">createPricingPlan</a>() -> void</code></summary>
|
|
1090
|
-
<dl>
|
|
1091
|
-
<dd>
|
|
1092
|
-
|
|
1093
|
-
#### 🔌 Usage
|
|
1094
|
-
|
|
1095
|
-
<dl>
|
|
1096
|
-
<dd>
|
|
1097
|
-
|
|
1098
|
-
<dl>
|
|
1099
|
-
<dd>
|
|
1100
|
-
|
|
1101
|
-
```typescript
|
|
1102
|
-
await client.pricingPlans.createPricingPlan();
|
|
1103
|
-
```
|
|
1104
|
-
|
|
1105
|
-
</dd>
|
|
1106
|
-
</dl>
|
|
1107
|
-
</dd>
|
|
1108
|
-
</dl>
|
|
1109
|
-
|
|
1110
|
-
#### ⚙️ Parameters
|
|
1111
|
-
|
|
1112
|
-
<dl>
|
|
1113
|
-
<dd>
|
|
1114
|
-
|
|
1115
|
-
<dl>
|
|
1116
|
-
<dd>
|
|
1117
|
-
|
|
1118
|
-
**requestOptions:** `PricingPlans.RequestOptions`
|
|
1119
|
-
|
|
1120
|
-
</dd>
|
|
1121
|
-
</dl>
|
|
1122
|
-
</dd>
|
|
1123
|
-
</dl>
|
|
1124
|
-
|
|
1125
|
-
</dd>
|
|
1126
|
-
</dl>
|
|
1127
|
-
</details>
|
|
1128
|
-
|
|
1129
|
-
<details><summary><code>client.pricingPlans.<a href="/src/api/resources/pricingPlans/client/Client.ts">getPricingPlan</a>(planId) -> void</code></summary>
|
|
1130
|
-
<dl>
|
|
1131
|
-
<dd>
|
|
1132
|
-
|
|
1133
|
-
#### 🔌 Usage
|
|
1134
|
-
|
|
1135
|
-
<dl>
|
|
1136
|
-
<dd>
|
|
1137
|
-
|
|
1138
|
-
<dl>
|
|
1139
|
-
<dd>
|
|
1140
|
-
|
|
1141
|
-
```typescript
|
|
1142
|
-
await client.pricingPlans.getPricingPlan("plan_id");
|
|
1143
|
-
```
|
|
1144
|
-
|
|
1145
|
-
</dd>
|
|
1146
|
-
</dl>
|
|
1147
|
-
</dd>
|
|
1148
|
-
</dl>
|
|
1149
|
-
|
|
1150
|
-
#### ⚙️ Parameters
|
|
779
|
+
## PricingMetrics
|
|
1151
780
|
|
|
1152
|
-
<
|
|
1153
|
-
<dd>
|
|
1154
|
-
|
|
1155
|
-
<dl>
|
|
1156
|
-
<dd>
|
|
1157
|
-
|
|
1158
|
-
**planId:** `string`
|
|
1159
|
-
|
|
1160
|
-
</dd>
|
|
1161
|
-
</dl>
|
|
1162
|
-
|
|
1163
|
-
<dl>
|
|
1164
|
-
<dd>
|
|
1165
|
-
|
|
1166
|
-
**requestOptions:** `PricingPlans.RequestOptions`
|
|
1167
|
-
|
|
1168
|
-
</dd>
|
|
1169
|
-
</dl>
|
|
1170
|
-
</dd>
|
|
1171
|
-
</dl>
|
|
1172
|
-
|
|
1173
|
-
</dd>
|
|
1174
|
-
</dl>
|
|
1175
|
-
</details>
|
|
1176
|
-
|
|
1177
|
-
<details><summary><code>client.pricingPlans.<a href="/src/api/resources/pricingPlans/client/Client.ts">updatePricingPlan</a>(planId) -> void</code></summary>
|
|
781
|
+
<details><summary><code>client.pricingMetrics.<a href="/src/api/resources/pricingMetrics/client/Client.ts">createPricingMetric</a>({ ...params }) -> Lark.CreatePricingMetricResponse</code></summary>
|
|
1178
782
|
<dl>
|
|
1179
783
|
<dd>
|
|
1180
784
|
|
|
@@ -1187,7 +791,14 @@ await client.pricingPlans.getPricingPlan("plan_id");
|
|
|
1187
791
|
<dd>
|
|
1188
792
|
|
|
1189
793
|
```typescript
|
|
1190
|
-
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
|
+
});
|
|
1191
802
|
```
|
|
1192
803
|
|
|
1193
804
|
</dd>
|
|
@@ -1203,7 +814,7 @@ await client.pricingPlans.updatePricingPlan("plan_id");
|
|
|
1203
814
|
<dl>
|
|
1204
815
|
<dd>
|
|
1205
816
|
|
|
1206
|
-
**
|
|
817
|
+
**request:** `Lark.CreatePricingMetricRequest`
|
|
1207
818
|
|
|
1208
819
|
</dd>
|
|
1209
820
|
</dl>
|
|
@@ -1211,7 +822,7 @@ await client.pricingPlans.updatePricingPlan("plan_id");
|
|
|
1211
822
|
<dl>
|
|
1212
823
|
<dd>
|
|
1213
824
|
|
|
1214
|
-
**requestOptions:** `
|
|
825
|
+
**requestOptions:** `PricingMetrics.RequestOptions`
|
|
1215
826
|
|
|
1216
827
|
</dd>
|
|
1217
828
|
</dl>
|
|
@@ -1222,7 +833,7 @@ await client.pricingPlans.updatePricingPlan("plan_id");
|
|
|
1222
833
|
</dl>
|
|
1223
834
|
</details>
|
|
1224
835
|
|
|
1225
|
-
<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>
|
|
1226
837
|
<dl>
|
|
1227
838
|
<dd>
|
|
1228
839
|
|
|
@@ -1235,7 +846,7 @@ await client.pricingPlans.updatePricingPlan("plan_id");
|
|
|
1235
846
|
<dd>
|
|
1236
847
|
|
|
1237
848
|
```typescript
|
|
1238
|
-
await client.
|
|
849
|
+
await client.pricingMetrics.getPricingMetric("pricing_metric_id");
|
|
1239
850
|
```
|
|
1240
851
|
|
|
1241
852
|
</dd>
|
|
@@ -1251,7 +862,7 @@ await client.pricingPlans.deletePricingPlan("plan_id");
|
|
|
1251
862
|
<dl>
|
|
1252
863
|
<dd>
|
|
1253
864
|
|
|
1254
|
-
**
|
|
865
|
+
**pricingMetricId:** `string`
|
|
1255
866
|
|
|
1256
867
|
</dd>
|
|
1257
868
|
</dl>
|
|
@@ -1259,7 +870,7 @@ await client.pricingPlans.deletePricingPlan("plan_id");
|
|
|
1259
870
|
<dl>
|
|
1260
871
|
<dd>
|
|
1261
872
|
|
|
1262
|
-
**requestOptions:** `
|
|
873
|
+
**requestOptions:** `PricingMetrics.RequestOptions`
|
|
1263
874
|
|
|
1264
875
|
</dd>
|
|
1265
876
|
</dl>
|
|
@@ -1270,9 +881,9 @@ await client.pricingPlans.deletePricingPlan("plan_id");
|
|
|
1270
881
|
</dl>
|
|
1271
882
|
</details>
|
|
1272
883
|
|
|
1273
|
-
##
|
|
884
|
+
## CustomerAccess
|
|
1274
885
|
|
|
1275
|
-
<details><summary><code>client.
|
|
886
|
+
<details><summary><code>client.customerAccess.<a href="/src/api/resources/customerAccess/client/Client.ts">getBillingState</a>(subjectId) -> Lark.BillingStateResponse</code></summary>
|
|
1276
887
|
<dl>
|
|
1277
888
|
<dd>
|
|
1278
889
|
|
|
@@ -1285,7 +896,7 @@ await client.pricingPlans.deletePricingPlan("plan_id");
|
|
|
1285
896
|
<dd>
|
|
1286
897
|
|
|
1287
898
|
```typescript
|
|
1288
|
-
await client.
|
|
899
|
+
await client.customerAccess.getBillingState("subject_id");
|
|
1289
900
|
```
|
|
1290
901
|
|
|
1291
902
|
</dd>
|
|
@@ -1301,87 +912,15 @@ await client.creditPools.listCreditPools();
|
|
|
1301
912
|
<dl>
|
|
1302
913
|
<dd>
|
|
1303
914
|
|
|
1304
|
-
**
|
|
1305
|
-
|
|
1306
|
-
</dd>
|
|
1307
|
-
</dl>
|
|
1308
|
-
</dd>
|
|
1309
|
-
</dl>
|
|
1310
|
-
|
|
1311
|
-
</dd>
|
|
1312
|
-
</dl>
|
|
1313
|
-
</details>
|
|
1314
|
-
|
|
1315
|
-
<details><summary><code>client.creditPools.<a href="/src/api/resources/creditPools/client/Client.ts">createCreditPool</a>() -> void</code></summary>
|
|
1316
|
-
<dl>
|
|
1317
|
-
<dd>
|
|
1318
|
-
|
|
1319
|
-
#### 🔌 Usage
|
|
1320
|
-
|
|
1321
|
-
<dl>
|
|
1322
|
-
<dd>
|
|
1323
|
-
|
|
1324
|
-
<dl>
|
|
1325
|
-
<dd>
|
|
1326
|
-
|
|
1327
|
-
```typescript
|
|
1328
|
-
await client.creditPools.createCreditPool();
|
|
1329
|
-
```
|
|
1330
|
-
|
|
1331
|
-
</dd>
|
|
1332
|
-
</dl>
|
|
1333
|
-
</dd>
|
|
1334
|
-
</dl>
|
|
1335
|
-
|
|
1336
|
-
#### ⚙️ Parameters
|
|
1337
|
-
|
|
1338
|
-
<dl>
|
|
1339
|
-
<dd>
|
|
1340
|
-
|
|
1341
|
-
<dl>
|
|
1342
|
-
<dd>
|
|
1343
|
-
|
|
1344
|
-
**requestOptions:** `CreditPools.RequestOptions`
|
|
1345
|
-
|
|
1346
|
-
</dd>
|
|
1347
|
-
</dl>
|
|
1348
|
-
</dd>
|
|
1349
|
-
</dl>
|
|
1350
|
-
|
|
1351
|
-
</dd>
|
|
1352
|
-
</dl>
|
|
1353
|
-
</details>
|
|
1354
|
-
|
|
1355
|
-
<details><summary><code>client.creditPools.<a href="/src/api/resources/creditPools/client/Client.ts">grantCredits</a>() -> void</code></summary>
|
|
1356
|
-
<dl>
|
|
1357
|
-
<dd>
|
|
1358
|
-
|
|
1359
|
-
#### 🔌 Usage
|
|
1360
|
-
|
|
1361
|
-
<dl>
|
|
1362
|
-
<dd>
|
|
1363
|
-
|
|
1364
|
-
<dl>
|
|
1365
|
-
<dd>
|
|
1366
|
-
|
|
1367
|
-
```typescript
|
|
1368
|
-
await client.creditPools.grantCredits();
|
|
1369
|
-
```
|
|
915
|
+
**subjectId:** `string`
|
|
1370
916
|
|
|
1371
917
|
</dd>
|
|
1372
918
|
</dl>
|
|
1373
|
-
</dd>
|
|
1374
|
-
</dl>
|
|
1375
|
-
|
|
1376
|
-
#### ⚙️ Parameters
|
|
1377
|
-
|
|
1378
|
-
<dl>
|
|
1379
|
-
<dd>
|
|
1380
919
|
|
|
1381
920
|
<dl>
|
|
1382
921
|
<dd>
|
|
1383
922
|
|
|
1384
|
-
**requestOptions:** `
|
|
923
|
+
**requestOptions:** `CustomerAccess.RequestOptions`
|
|
1385
924
|
|
|
1386
925
|
</dd>
|
|
1387
926
|
</dl>
|