@openmeter/client 1.0.0-beta-090648562be8 → 1.0.0-beta-3bb98f61c98f
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 +4 -3
- package/dist/funcs/charges.d.ts +11 -1
- package/dist/funcs/charges.js +45 -1
- package/dist/index.d.ts +1 -1
- package/dist/lib/version.d.ts +1 -1
- package/dist/lib/version.js +1 -1
- package/dist/models/operations/charges.d.ts +9 -1
- package/dist/models/operations/entitlementAccess.d.ts +3 -2
- package/dist/models/operations/events.d.ts +3 -2
- package/dist/models/schemas.d.ts +4554 -1794
- package/dist/models/schemas.js +572 -70
- package/dist/models/types.d.ts +45 -5
- package/dist/sdk/charges.d.ts +11 -1
- package/dist/sdk/charges.js +13 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -390,9 +390,10 @@ The full call path, HTTP route, and a short description are listed below.
|
|
|
390
390
|
|
|
391
391
|
### Charges
|
|
392
392
|
|
|
393
|
-
| Method | HTTP
|
|
394
|
-
| --------------------- |
|
|
395
|
-
| `client.charges.
|
|
393
|
+
| Method | HTTP | Description |
|
|
394
|
+
| --------------------- | ----------------------------------- | ------------------------------------------------------------------------------------------------------------------- |
|
|
395
|
+
| `client.charges.get` | `GET /openmeter/charges/{chargeId}` | Get a flat fee or usage-based charge by ID. Deleted charges are returned with their status and realization history. |
|
|
396
|
+
| `client.charges.list` | `GET /openmeter/charges` | List charges. Returns the charges of every customer that are represented as either flat fee or usage-based charges. |
|
|
396
397
|
|
|
397
398
|
### Tax
|
|
398
399
|
|
package/dist/funcs/charges.d.ts
CHANGED
|
@@ -1,6 +1,16 @@
|
|
|
1
1
|
import { type Client } from '../core.js';
|
|
2
2
|
import { type Result, type RequestOptions } from '../lib/types.js';
|
|
3
|
-
import type { ListChargesRequest, ListChargesResponse } from '../models/operations/charges.js';
|
|
3
|
+
import type { GetChargeRequest, GetChargeResponse, ListChargesRequest, ListChargesResponse } from '../models/operations/charges.js';
|
|
4
|
+
/**
|
|
5
|
+
* Get charge
|
|
6
|
+
*
|
|
7
|
+
* Get a flat fee or usage-based charge by ID.
|
|
8
|
+
*
|
|
9
|
+
* Deleted charges are returned with their status and realization history.
|
|
10
|
+
*
|
|
11
|
+
* GET /openmeter/charges/{chargeId}
|
|
12
|
+
*/
|
|
13
|
+
export declare function getCharge(client: Client, req: GetChargeRequest, options?: RequestOptions): Promise<Result<GetChargeResponse>>;
|
|
4
14
|
/**
|
|
5
15
|
* List charges
|
|
6
16
|
*
|
package/dist/funcs/charges.js
CHANGED
|
@@ -2,8 +2,52 @@
|
|
|
2
2
|
import { http } from '../core.js';
|
|
3
3
|
import { request } from '../lib/request.js';
|
|
4
4
|
import { toURLSearchParams, encodeSort } from '../lib/encodings.js';
|
|
5
|
-
import { toWire, fromWire, assertValid, toSnakeCase } from '../lib/wire.js';
|
|
5
|
+
import { toWire, toPathWire, fromWire, assertValid, toSnakeCase, } from '../lib/wire.js';
|
|
6
6
|
import * as schemas from '../models/schemas.js';
|
|
7
|
+
/**
|
|
8
|
+
* Get charge
|
|
9
|
+
*
|
|
10
|
+
* Get a flat fee or usage-based charge by ID.
|
|
11
|
+
*
|
|
12
|
+
* Deleted charges are returned with their status and realization history.
|
|
13
|
+
*
|
|
14
|
+
* GET /openmeter/charges/{chargeId}
|
|
15
|
+
*/
|
|
16
|
+
export function getCharge(client, req, options) {
|
|
17
|
+
return request(() => {
|
|
18
|
+
const pathParamsInput = {
|
|
19
|
+
chargeId: req.chargeId,
|
|
20
|
+
};
|
|
21
|
+
const pathParams = client._options.validate
|
|
22
|
+
? toPathWire(pathParamsInput, schemas.getChargePathParams)
|
|
23
|
+
: pathParamsInput;
|
|
24
|
+
if (client._options.validate) {
|
|
25
|
+
assertValid(schemas.getChargePathParamsWire, pathParams);
|
|
26
|
+
}
|
|
27
|
+
const path = `openmeter/charges/${(() => {
|
|
28
|
+
if (pathParams.chargeId === undefined) {
|
|
29
|
+
throw new Error('missing path parameter: chargeId');
|
|
30
|
+
}
|
|
31
|
+
return encodeURIComponent(String(pathParams.chargeId));
|
|
32
|
+
})()}`;
|
|
33
|
+
const query = toWire({
|
|
34
|
+
expand: req.expand,
|
|
35
|
+
}, schemas.getChargeQueryParams);
|
|
36
|
+
if (client._options.validate) {
|
|
37
|
+
assertValid(schemas.getChargeQueryParamsWire, query);
|
|
38
|
+
}
|
|
39
|
+
const searchParams = toURLSearchParams(query);
|
|
40
|
+
return http(client)
|
|
41
|
+
.get(path, { ...options, searchParams })
|
|
42
|
+
.json()
|
|
43
|
+
.then((data) => {
|
|
44
|
+
if (client._options.validate) {
|
|
45
|
+
assertValid(schemas.getChargeResponseWire, data);
|
|
46
|
+
}
|
|
47
|
+
return fromWire(data, schemas.getChargeResponse);
|
|
48
|
+
});
|
|
49
|
+
});
|
|
50
|
+
}
|
|
7
51
|
/**
|
|
8
52
|
* List charges
|
|
9
53
|
*
|
package/dist/index.d.ts
CHANGED
|
@@ -50,4 +50,4 @@ export type * from './models/operations/planAddons.js';
|
|
|
50
50
|
export type * from './models/operations/defaults.js';
|
|
51
51
|
export type * from './models/operations/entitlementAccess.js';
|
|
52
52
|
export type * from './models/operations/notifications.js';
|
|
53
|
-
export type { Labels, CursorPaginationQueryPage, SortQuery, IngestedEventValidationError, CursorMetaPage, BaseError, PageMeta, QueryFilterString, AppStripeCheckoutSessionCustomTextParams, AppStripeCreateCustomerPortalSessionOptions, CreateLabels, CreateVersionFilter, VersionFilter, PriceFree, RateCardStaticEntitlement, RateCardBooleanEntitlement, TaxConfigStripe, TaxConfigExternalInvoicing, InvoiceExternalReferences, InvoiceAvailableActionDetails, InvoiceWorkflowInvoicingSettings, WorkflowPaymentChargeAutomaticallySettings, WorkflowPaymentSendInvoiceSettings, ChargeFlatFeeDiscounts, InvoiceLineExternalReferences, SubscriptionEditRemoveItem, SubscriptionEditUnscheduleEdit, UpdateLabels, AppReconcileWebhookEventsActionRequest, InstallAppStripeWithApiKey, InstallAppSandbox, InstallAppExternalInvoicing, WorkflowCollectionAlignmentSubscription, UpdateBillingInvoiceWorkflowInvoicingSettings, UpdateBillingWorkflowPaymentChargeAutomaticallySettings, UpdateBillingWorkflowPaymentSendInvoiceSettings, UpdatePriceFree, LlmCostProvider, LlmCostModel, ProductCatalogValidationError, EntitlementAccessQueryRequestCustomers, EntitlementAccessQueryRequestFeatures, NotificationEventDeliveryAttemptResponse, NotificationEventV1Metadata, NotificationEventV1Annotations, NotificationEventV1Period, NotificationEventV1FilterString, NotificationEventV1Subject, NotificationEventV1EntitlementValue, NotificationEventV1CustomerUsageAttribution, NotificationEventV1Alignment, NotificationEventV1PlanReference, NotificationEventV1InvoiceAvailableActionDetails, NotificationEventV1InvoiceAvailableActionInvoiceDetails, NotificationEventV1BillingWorkflowCollectionAlignmentSubscription, NotificationEventV1StripeTaxConfig, NotificationEventV1CustomInvoicingTaxConfig, NotificationEventV1BillingWorkflowTaxSettings, NotificationEventV1DiscountReasonMaximumSpend, NotificationEventV1InvoiceLineAppExternalIds, NotificationEventV1IdResource, NotificationEventV1PaymentTermInstant, NotificationEventV1InvoiceAppExternalIds, QueryFilterInteger, QueryFilterFloat, QueryFilterBoolean, PagePaginationQuery, PublicLabels, InvoiceCreatedV1RuleConfig, InvoiceUpdatedV1RuleConfig, SystemAccountAccessToken, PersonalAccessToken, KonnectAccessToken, AppCustomerDataStripe, AppCustomerDataExternalInvoicing, CreateChargeCostBasisDynamic, ChargeCostBasisDynamic, CurrencyFiat, ListCostBasesParamsFilter, CreateCurrencyCustomRequest, EntitlementAccessValue, EntitlementIssueAfterReset, EntitlementBurndownBalance, EntitlementBurndownGrantBalances, CreateChargeCostBasisManual, ChargeCostBasisManual, PriceFlat, PriceUnit, SpendCommitments, RateCardDiscounts, Totals, ChargeRealizationDetailedLineCreditApplied, ChargeRealizationAmountDiscount, FeatureManualUnitCost, FeatureLlmUnitCostPricing, InvoiceLineCreditsApplied, InvoiceUsageQuantityDetail, UpdatePriceFlat, UpdatePriceUnit, UpdateDiscounts, LlmCostModelPricing, FiatCurrencyAmount, QueryFilterNumeric, CursorPaginationQuery, ListMetersParamsFilter, ListLlmCostPricesParamsFilter, LabelsFieldFilter, CustomerReference, ProfileReference, FeatureReference, EntitlementGrantUsage, CreateChargeCostBasisPinned, CreateResourceReference, CurrencyCustomReference, ChargeCostBasisPinned, TaxCodeReference, CreditGrantInvoiceReference, SubscriptionCostBasisPin, SubscriptionReference, AppReference, ChargeRealizationInvoiceReference, ChargeReference, AddonReference, UpdateResourceReference, NotificationChannelReference, BillingCustomerReference, ChargeFeature, Event, MeterQueryRow, AppStripeCreateCustomerPortalSessionResult, ClosedPeriod, ChargeResolvedCostBasis, InvoiceCustomerChargesInput, SubscriptionAddonTimelineSegment, UpdateClosedPeriod, CostBasis, FeatureCostQueryRow, Resource, ResourceImmutable, QueryFilterDateTime, CursorMeta, InvalidParameterStandard, InvalidParameterMinimumLength, InvalidParameterMaximumLength, InvalidParameterChoiceItem, InvalidParameterDependentItem, Unauthorized, Forbidden, NotFound, Gone, Conflict, PayloadTooLarge, UnsupportedMediaType, UnprocessableContent, TooManyRequests, Internal, NotImplemented, NotAvailable, SubscriptionPlanReference, UpsertPlanAddonRequest, ResourceWithKey, Meter, PaginatedMeta, QueryFilterStringMapItem, CustomerKeyReference, CustomerUsageAttribution, UpdateCustomerUsageAttribution, Address, UpdateAddress, AppStripeCreateCheckoutSessionCustomerUpdate, AppStripeCreateCheckoutSessionConsentCollectionPaymentMethodReuseAgreement, AppStripeCreateCheckoutSessionTaxIdCollection, AppStripeCreateCheckoutSessionResult, CustomerStripeCreateCustomerPortalSessionRequest, EntitlementAccessCheckResult, RecurringPeriodInput, RecurringPeriod, RateCardMeteredEntitlement, SubscriptionPhaseCreate, SubscriptionEditStretchPhase, GetCreditBalanceParamsFilter, ListPlansParamsFilter, CreateCreditGrantPlanFilter, CreditGrantPlanFilter, ValidationIssue, SubscriptionProRatingConfig, RateCardProrationConfiguration, UnitConfig, PartyTaxIdentity, UpdateBillingPartyTaxIdentity, InvoiceAvailableActions, ChargeRealizationPayment, InvoiceLineAmountDiscount, InvoiceLineUsageDiscount, InvoiceLineBaseDiscount, SubscriptionEditRemovePhase, TaxCodeAppMapping, AppCapability, AppAction, UpdateAppStripeRequest, UpdateAppSandboxRequest, UpdateAppExternalInvoicingRequest, WorkflowInvoicingSettings, ListCurrenciesParamsFilter, EntitlementAccessQueryRequest, EntitlementFeatureAccessReason, EntitlementAccessQueryError, NotificationChannel, CreateNotificationChannelRequest, NotificationBalanceThreshold, NotificationRuleReference, NotificationEventDeliveryAttempt, NotificationEventV1FeatureManualUnitCost, NotificationEventV1FeatureLlmUnitCostPricing, NotificationEventV1InvoiceTotals, NotificationEventV1DiscountReasonRatecardUsage, NotificationEventV1InvoiceLineCreditAllocation, NotificationEventV1UnitPriceWithCommitments, NotificationEventV1FlatPrice, NotificationEventV1UnitPrice, NotificationEventV1DynamicPriceWithCommitments, NotificationEventV1PackagePriceWithCommitments, NotificationEventV1BillingDiscountUsage, NotificationEventV1SubscriptionCostBasisPin, NotificationEventV1Address, NotificationEventV1ProRatingConfig, NotificationEventV1RuleBalanceThresholdValue, NotificationEventV1BillingPartyTaxIdentity, NotificationEventV1InvoiceReference, NotificationEventV1InvoiceDocumentRef, NotificationEventV1InvoiceGenericDocumentRef, NotificationEventV1InvoiceAvailableActions, NotificationEventV1AppCapability, NotificationEventV1TaxConfig, NotificationEventV1BillingWorkflowPaymentSettings, NotificationEventV1DiscountReasonRatecardPercentage, NotificationEventV1BillingDiscountPercentage, NotificationEventV1PaymentDueDate, NotificationEventV1InvoiceLineSubscriptionReference, NotificationEventV1FlatPriceWithPaymentTerm, NotificationEventV1ValidationIssue, AppCustomerData, UpsertAppCustomerDataRequest, CreditAdjustment, ListCreditGrantsParamsFilter, ListCreditTransactionsParamsFilter, CurrencyAmount, EntitlementValueResult, EntitlementFeatureValueResult, PriceTier, ChargeTotals, FeatureLlmUnitCost, UpdatePriceTier, LlmCostPrice, LlmCostOverrideCreate, ListCustomersParamsFilter, ListCustomerEntitlementsParamsFilter, ListEntitlementsParamsFilter, ListGrantsParamsFilter, ListSubscriptionsParamsFilter, ListAppsParamsFilter, ListBillingProfilesParamsFilter, ListFeatureParamsFilter, ListAddonsParamsFilter, ListPlanAddonsParamsFilter, UpsertCustomerBillingProfileRequest, CustomerProfile, EntitlementFeaturesRuleConfig, EntitlementUsagePeriodResetV1RuleConfig, CreateTaxCodeConfig, CreditBalance, CreditTransaction, TaxCodeConfig, TaxConfig, OrganizationDefaultTaxCodes, InvoiceWorkflowAppsReferences, ProfileAppReferences, PlanAddon, UpdateTaxCodeConfig, NotificationRuleEntitlementReset, NotificationRuleInvoiceCreated, NotificationRuleInvoiceUpdated, NotificationRuleEntitlementResetRequest, NotificationRuleInvoiceCreatedRequest, NotificationRuleInvoiceUpdatedRequest, ListEventsParamsFilter, ListCustomerChargesParamsFilter, ListInvoicesParamsFilter, ListChargesParamsFilter, ListNotificationChannelsParamsFilter, ListNotificationRulesParamsFilter, ListNotificationEventsParamsFilter, ResourceFilters, FieldFilters, IngestedEvent, MeterQueryResult, EntitlementHistoryWindow, EntitlementBurndownSegment, ChargeRealizationDetailedLineFlatFee, ChargeRealizationDetailedLineUsageBased, CurrencyCustom, FeatureCostQueryResult, MeterPagePaginatedResponse, CostBasisPagePaginatedResponse, MeterQueryFilters, FeatureMeterReference, Customer, PartyAddresses, InvoiceCustomer, UpdateBillingPartyAddresses, UpdateInvoiceCustomer, AppStripeCreateCheckoutSessionConsentCollection, EntitlementGrantCreateRequest, CreateEntitlementStaticRequest, CreateEntitlementBooleanRequest, EntitlementMetered, EntitlementStatic, EntitlementBoolean, EntitlementGrant, WorkflowCollectionAlignmentAnchored, SubscriptionEditAddPhase, CreateCreditGrantFilters, CreditGrantFilters, SubscriptionBase, InvoiceStatusDetails, InvoiceWorkflow, InvoiceLineDiscounts, SubscriptionCancel, SubscriptionMigrate, SubscriptionAddonUpdate, TaxCode, AppCatalogItem, UpdateBillingInvoiceWorkflow, EntitlementFeatureAccess, NotificationChannelPagePaginatedResponse, NotificationRuleBalanceThreshold, NotificationRuleBalanceThresholdRequest, EntitlementBalanceThresholdTriggeredV1RuleConfig, NotificationEventDeliveryStatus, NotificationEventV1RecurringPeriod, NotificationEventV1RecurringPeriodV2, NotificationEventV1FeatureLlmUnitCost, NotificationEventV1PriceTier, NotificationEventV1Subscription, NotificationEventV1BillingParty, NotificationEventV1BillingInvoiceCustomerExtendedDetails, NotificationEventV1InvoiceStatusDetails, NotificationEventV1MarketplaceListing, NotificationEventV1BillingWorkflowInvoicingSettings, NotificationEventV1InvoiceLineTaxItem, NotificationEventV1BillingDiscounts, NotificationEventV1PaymentTermDueDate, CustomerData, UpsertCustomerBillingDataRequest, ChargeFlatFeeSystemIntent, ListCustomerEntitlementAccessResponseData, PriceGraduated, PriceVolume, UpdatePriceGraduated, UpdatePriceVolume, PricePagePaginatedResponse, CreateCreditGrantPurchase, CreditBalances, CreditTransactionPaginatedResponse, CreditGrantPurchase, CreateChargeFlatFeeRequest, WorkflowTaxSettings, PlanAddonPagePaginatedResponse, IngestedEventPaginatedResponse, EntitlementHistory, InvalidParameters, MeterQueryRequest, CustomerPagePaginatedResponse, Supplier, Party, UpdateSupplier, AppStripeCreateCheckoutSessionRequestOptions, CreateEntitlementMeteredRequest, EntitlementGrantPagePaginatedResponse, InvoiceWorkflowSettings, InvoiceDetailedLine, TaxCodePagePaginatedResponse, AppStripe, AppSandbox, AppExternalInvoicing, AppCatalogItemPagePaginatedResponse, InstalledAppStripe, InstalledAppSandbox, InstalledAppExternalInvoicing, UpdateInvoiceWorkflowSettings, EntitlementAccessQueryResult, NotificationEventV1EntitlementMetered, NotificationEventV1BillingWorkflowCollectionAlignmentAnchored, NotificationEventV1TieredPriceWithCommitments, NotificationEventV1Customer, NotificationEventV1StripeApp, NotificationEventV1SandboxApp, NotificationEventV1CustomInvoicingApp, NotificationEventV1InvoiceLineAmountDiscount, NotificationEventV1InvoiceLineUsageDiscount, NotificationEventV1InvoiceDetailedLineRateCard, Feature, CreditGrant, CurrencyPagePaginatedResponse, BadRequest, InvoiceBase, CustomerStripeCreateCheckoutSessionRequest, EntitlementPagePaginatedResponse, WorkflowCollectionSettings, ChargeRealizationInvoice, EntitlementAccessQueryResponse, NotificationRulePagePaginatedResponse, NotificationEventV1Feature, NotificationEventV1InvoiceLineDiscounts, NotificationEventV1InvoicePaymentTerms, RateCard, InvoiceLineRateCard, ChargeUsageBasedSystemIntent, CreateChargeUsageBasedRequest, FeaturePagePaginatedResponse, UpdateInvoiceLineRateCard, CreditGrantPagePaginatedResponse, Workflow, AppPagePaginatedResponse, ProfileApps, NotificationEventV1BillingWorkflowCollectionSettings, EntitlementBalanceThresholdTriggeredV1Payload, EntitlementUsagePeriodResetV1Payload, NotificationEventV1BalanceThresholdPayloadData, NotificationEventV1EntitlementValuePayloadBase, NotificationEventV1InvoiceUsageBasedRateCard, NotificationEventV1BillingProfileApps, NotificationEventV1InvoiceDetailedLine, SubscriptionItem, PlanPhase, SubscriptionEditAddItem, SubscriptionAddonRateCard, Addon, UpsertAddonRequest, InvoiceStandardLine, UpdateInvoiceStandardLine, Profile, UpsertBillingProfileRequest, ChargeRealization, NotificationEventV1BillingWorkflow, NotificationEventBalanceThresholdPayload, NotificationEventResetPayload, NotificationEventV1InvoiceLine, SubscriptionPhase, SubscriptionCustomPlan, Plan, UpsertPlanRequest, SubscriptionAddon, AddonPagePaginatedResponse, ProfilePagePaginatedResponse, NotificationEventV1InvoiceWorkflowSettings, Subscription, SubscriptionCreate, SubscriptionChange, PlanPagePaginatedResponse, SubscriptionEdit, SubscriptionAddonPagePaginatedResponse, InvoiceStandard, UpdateInvoiceStandardRequest, InvoiceCreatedV1Payload, InvoiceUpdatedV1Payload, NotificationEventV1Invoice, SubscriptionPagePaginatedResponse, SubscriptionChangeResponse, SubscriptionMigrateResponse, NotificationEventInvoiceCreatedPayload, NotificationEventInvoiceUpdatedPayload, ChargeFlatFee, ChargeUsageBased, InvoiceCustomerChargesResult, InvoicePagePaginatedResponse, NotificationEvent, ChargePagePaginatedResponse, NotificationEventPagePaginatedResponse, StringFieldFilter, MeterAggregation, MeterQueryGranularity, EntitlementHistoryWindowSize, StringFieldFilterExact, PricePaymentTerm, BooleanFieldFilter, BillingCurrencyCode, CreateCurrencyCode, UlidFieldFilter, DateTimeFieldFilter, EntitlementMeasureUsageFrom, WorkflowPaymentSettings, SubscriptionCreateTiming, SubscriptionEditTiming, AppActionRequest, UpdateBillingWorkflowPaymentSettings, NotificationEventV1RecurringPeriodInterval, CreateChargeCostBasis, ChargeCostBasis, InvalidParameter, RateCardEntitlement, NotificationEventV1BillingDiscountReason, FeatureUnitCost, ChargeRealizationDetailedLine, Currency, CustomerOrReference, Entitlement, WorkflowCollectionAlignment, NotificationRule, NotificationRuleRequest, NotificationEventV1FeatureUnitCost, NotificationEventV1PaymentTerms, Price, PriceUsageBased, UpdatePrice, CreateEntitlementRequest, App, BillingInstallAppResponse, NotificationEventV1BillingWorkflowCollectionAlignment, NotificationEventV1RateCardUsageBasedPrice, NotificationEventV1App, FeatureOrReference, ChargeRealizationInvoiceOrReference, CreateChargeRequest, SubscriptionEditOperation, InvoiceLine, UpdateInvoiceLine, SubscriptionOrReference, Invoice, NotificationEventPayload, Charge, SortQueryInput, BaseErrorInput, InvoiceWorkflowInvoicingSettingsInput, WorkflowPaymentSendInvoiceSettingsInput, UpdateBillingInvoiceWorkflowInvoicingSettingsInput, UpdateBillingWorkflowPaymentSendInvoiceSettingsInput, EntitlementIssueAfterResetInput, EventInput, ResetCustomerEntitlementUsageRequestInput, UnauthorizedInput, ForbiddenInput, NotFoundInput, GoneInput, ConflictInput, PayloadTooLargeInput, UnsupportedMediaTypeInput, UnprocessableContentInput, TooManyRequestsInput, InternalInput, NotImplementedInput, NotAvailableInput, AppStripeCreateCheckoutSessionCustomerUpdateInput, AppStripeCreateCheckoutSessionTaxIdCollectionInput, RateCardMeteredEntitlementInput, VoidCreditGrantRequestInput, UnitConfigInput, WorkflowInvoicingSettingsInput, EntitlementAccessQueryRequestInput, NotificationChannelInput, CreateNotificationChannelRequestInput, UpdateBillingNotificationChannelRequestInput, NotificationRuleEntitlementResetInput, NotificationRuleInvoiceCreatedInput, NotificationRuleInvoiceUpdatedInput, NotificationRuleEntitlementResetRequestInput, NotificationRuleInvoiceCreatedRequestInput, NotificationRuleInvoiceUpdatedRequestInput, IngestedEventInput, EntitlementMeteredInput, SubscriptionBaseInput, InvoiceWorkflowInput, SubscriptionCancelInput, SubscriptionMigrateInput, UpdateBillingInvoiceWorkflowInput, NotificationChannelPagePaginatedResponseInput, NotificationRuleBalanceThresholdInput, NotificationRuleBalanceThresholdRequestInput, CreateCreditGrantPurchaseInput, CreditGrantPurchaseInput, WorkflowTaxSettingsInput, IngestedEventPaginatedResponseInput, MeterQueryRequestInput, AppStripeCreateCheckoutSessionRequestOptionsInput, CreateEntitlementMeteredRequestInput, InvoiceWorkflowSettingsInput, InvoiceDetailedLineInput, UpdateInvoiceWorkflowSettingsInput, CreateCreditGrantRequestInput, CreditGrantInput, BadRequestInput, CustomerStripeCreateCheckoutSessionRequestInput, EntitlementPagePaginatedResponseInput, WorkflowCollectionSettingsInput, ChargeRealizationInvoiceInput, NotificationRulePagePaginatedResponseInput, RateCardInput, InvoiceLineRateCardInput, ChargeUsageBasedSystemIntentInput, CreateChargeUsageBasedRequestInput, CreditGrantPagePaginatedResponseInput, WorkflowInput, SubscriptionItemInput, PlanPhaseInput, SubscriptionEditAddItemInput, SubscriptionAddonRateCardInput, AddonInput, CreateAddonRequestInput, UpsertAddonRequestInput, InvoiceStandardLineInput, ProfileInput, CreateBillingProfileRequestInput, UpsertBillingProfileRequestInput, ChargeRealizationInput, SubscriptionPhaseInput, SubscriptionCustomPlanInput, PlanInput, CreatePlanRequestInput, UpsertPlanRequestInput, SubscriptionAddonInput, AddonPagePaginatedResponseInput, ProfilePagePaginatedResponseInput, SubscriptionInput, SubscriptionCreateInput, SubscriptionChangeInput, PlanPagePaginatedResponseInput, SubscriptionEditInput, SubscriptionAddonPagePaginatedResponseInput, InvoiceStandardInput, UpdateInvoiceStandardRequestInput, SubscriptionPagePaginatedResponseInput, SubscriptionChangeResponseInput, SubscriptionMigrateResponseInput, ChargeFlatFeeInput, ChargeUsageBasedInput, InvoiceCustomerChargesResultInput, InvoicePagePaginatedResponseInput, ChargePagePaginatedResponseInput, WorkflowPaymentSettingsInput, UpdateBillingWorkflowPaymentSettingsInput, RateCardEntitlementInput, EntitlementInput, NotificationRuleInput, NotificationRuleRequestInput, CreateEntitlementRequestInput, ChargeRealizationInvoiceOrReferenceInput, CreateChargeRequestInput, SubscriptionEditOperationInput, InvoiceLineInput, SubscriptionOrReferenceInput, InvoiceInput, UpdateInvoiceRequestInput, ChargeInput, } from './models/types.js';
|
|
53
|
+
export type { Labels, ListEventsPage, SortQuery, IngestedEventValidationError, CursorMetaPage, BaseError, PageMeta, QueryFilterString, AppStripeCheckoutSessionCustomTextParams, AppStripeCreateCustomerPortalSessionOptions, CreateLabels, CreateVersionFilter, VersionFilter, CursorPaginationQueryPage, PriceFree, RateCardStaticEntitlement, RateCardBooleanEntitlement, TaxConfigStripe, TaxConfigExternalInvoicing, InvoiceExternalReferences, InvoiceAvailableActionDetails, InvoiceWorkflowInvoicingSettings, WorkflowPaymentChargeAutomaticallySettings, WorkflowPaymentSendInvoiceSettings, ChargeFlatFeeDiscounts, InvoiceLineExternalReferences, SubscriptionEditRemoveItem, SubscriptionEditUnscheduleEdit, UpdateLabels, AppReconcileWebhookEventsActionRequest, InstallAppStripeWithApiKey, InstallAppSandbox, InstallAppExternalInvoicing, WorkflowCollectionAlignmentSubscription, UpdateBillingInvoiceWorkflowInvoicingSettings, UpdateBillingWorkflowPaymentChargeAutomaticallySettings, UpdateBillingWorkflowPaymentSendInvoiceSettings, UpdatePriceFree, LlmCostProvider, LlmCostModel, ProductCatalogValidationError, EntitlementAccessQueryPage, EntitlementAccessQueryRequestCustomers, EntitlementAccessQueryRequestFeatures, NotificationEventDeliveryAttemptResponse, NotificationEventV1Metadata, NotificationEventV1Annotations, NotificationEventV1Period, NotificationEventV1FilterString, NotificationEventV1Subject, NotificationEventV1EntitlementValue, NotificationEventV1CustomerUsageAttribution, NotificationEventV1Alignment, NotificationEventV1PlanReference, NotificationEventV1InvoiceAvailableActionDetails, NotificationEventV1InvoiceAvailableActionInvoiceDetails, NotificationEventV1BillingWorkflowCollectionAlignmentSubscription, NotificationEventV1StripeTaxConfig, NotificationEventV1CustomInvoicingTaxConfig, NotificationEventV1BillingWorkflowTaxSettings, NotificationEventV1DiscountReasonMaximumSpend, NotificationEventV1InvoiceLineAppExternalIds, NotificationEventV1IdResource, NotificationEventV1PaymentTermInstant, NotificationEventV1InvoiceAppExternalIds, QueryFilterInteger, QueryFilterFloat, QueryFilterBoolean, PagePaginationQuery, PublicLabels, InvoiceCreatedV1RuleConfig, InvoiceUpdatedV1RuleConfig, SystemAccountAccessToken, PersonalAccessToken, KonnectAccessToken, AppCustomerDataStripe, AppCustomerDataExternalInvoicing, CreateChargeCostBasisDynamic, ChargeCostBasisDynamic, CurrencyFiat, ListCostBasesParamsFilter, CreateCurrencyCustomRequest, EntitlementAccessValue, EntitlementIssueAfterReset, EntitlementBurndownBalance, EntitlementBurndownGrantBalances, CreateChargeCostBasisManual, ChargeCostBasisManual, PriceFlat, PriceUnit, SpendCommitments, RateCardDiscounts, Totals, ChargeRealizationDetailedLineCreditApplied, ChargeRealizationAmountDiscount, FeatureManualUnitCost, FeatureLlmUnitCostPricing, InvoiceLineCreditsApplied, InvoiceUsageQuantityDetail, UpdatePriceFlat, UpdatePriceUnit, UpdateDiscounts, LlmCostModelPricing, FiatCurrencyAmount, QueryFilterNumeric, ListEventsPagination, ListMetersParamsFilter, ListLlmCostPricesParamsFilter, LabelsFieldFilter, CustomerReference, ProfileReference, FeatureReference, EntitlementGrantUsage, CreateChargeCostBasisPinned, CreateResourceReference, CurrencyCustomReference, ChargeCostBasisPinned, TaxCodeReference, CreditGrantInvoiceReference, SubscriptionCostBasisPin, SubscriptionReference, AppReference, ChargeRealizationInvoiceReference, ChargeReference, AddonReference, UpdateResourceReference, NotificationChannelReference, BillingCustomerReference, ChargeFeature, Event, MeterQueryRow, AppStripeCreateCustomerPortalSessionResult, ClosedPeriod, ChargeResolvedCostBasis, InvoiceCustomerChargesInput, SubscriptionAddonTimelineSegment, UpdateClosedPeriod, CostBasis, FeatureCostQueryRow, Resource, ResourceImmutable, QueryFilterDateTime, CursorMeta, InvalidParameterStandard, InvalidParameterMinimumLength, InvalidParameterMaximumLength, InvalidParameterChoiceItem, InvalidParameterDependentItem, Unauthorized, Forbidden, NotFound, Gone, Conflict, PayloadTooLarge, UnsupportedMediaType, UnprocessableContent, TooManyRequests, Internal, NotImplemented, NotAvailable, SubscriptionPlanReference, UpsertPlanAddonRequest, ResourceWithKey, Meter, PaginatedMeta, QueryFilterStringMapItem, CustomerKeyReference, CustomerUsageAttribution, UpdateCustomerUsageAttribution, Address, UpdateAddress, AppStripeCreateCheckoutSessionCustomerUpdate, AppStripeCreateCheckoutSessionConsentCollectionPaymentMethodReuseAgreement, AppStripeCreateCheckoutSessionTaxIdCollection, AppStripeCreateCheckoutSessionResult, CustomerStripeCreateCustomerPortalSessionRequest, EntitlementAccessCheckResult, RecurringPeriodInput, RecurringPeriod, RateCardMeteredEntitlement, SubscriptionPhaseCreate, SubscriptionEditStretchPhase, GetCreditBalanceParamsFilter, ListPlansParamsFilter, CreateCreditGrantPlanFilter, CreditGrantPlanFilter, ValidationIssue, CursorPaginationQuery, SubscriptionProRatingConfig, RateCardProrationConfiguration, UnitConfig, PartyTaxIdentity, UpdateBillingPartyTaxIdentity, InvoiceAvailableActions, ChargeRealizationPayment, InvoiceLineAmountDiscount, InvoiceLineUsageDiscount, InvoiceLineBaseDiscount, SubscriptionEditRemovePhase, TaxCodeAppMapping, AppCapability, AppAction, UpdateAppStripeRequest, UpdateAppSandboxRequest, UpdateAppExternalInvoicingRequest, WorkflowInvoicingSettings, ListCurrenciesParamsFilter, EntitlementAccessQueryPagination, EntitlementAccessQueryRequest, EntitlementFeatureAccessReason, EntitlementAccessQueryError, NotificationChannel, CreateNotificationChannelRequest, NotificationBalanceThreshold, NotificationRuleReference, NotificationEventDeliveryAttempt, NotificationEventV1FeatureManualUnitCost, NotificationEventV1FeatureLlmUnitCostPricing, NotificationEventV1InvoiceTotals, NotificationEventV1DiscountReasonRatecardUsage, NotificationEventV1InvoiceLineCreditAllocation, NotificationEventV1UnitPriceWithCommitments, NotificationEventV1FlatPrice, NotificationEventV1UnitPrice, NotificationEventV1DynamicPriceWithCommitments, NotificationEventV1PackagePriceWithCommitments, NotificationEventV1BillingDiscountUsage, NotificationEventV1SubscriptionCostBasisPin, NotificationEventV1Address, NotificationEventV1ProRatingConfig, NotificationEventV1RuleBalanceThresholdValue, NotificationEventV1BillingPartyTaxIdentity, NotificationEventV1InvoiceReference, NotificationEventV1InvoiceDocumentRef, NotificationEventV1InvoiceGenericDocumentRef, NotificationEventV1InvoiceAvailableActions, NotificationEventV1AppCapability, NotificationEventV1TaxConfig, NotificationEventV1BillingWorkflowPaymentSettings, NotificationEventV1DiscountReasonRatecardPercentage, NotificationEventV1BillingDiscountPercentage, NotificationEventV1PaymentDueDate, NotificationEventV1InvoiceLineSubscriptionReference, NotificationEventV1FlatPriceWithPaymentTerm, NotificationEventV1ValidationIssue, AppCustomerData, UpsertAppCustomerDataRequest, CreditAdjustment, ListCreditGrantsParamsFilter, ListCreditTransactionsParamsFilter, CurrencyAmount, EntitlementValueResult, EntitlementFeatureValueResult, PriceTier, ChargeTotals, FeatureLlmUnitCost, UpdatePriceTier, LlmCostPrice, LlmCostOverrideCreate, ListCustomersParamsFilter, ListCustomerEntitlementsParamsFilter, ListEntitlementsParamsFilter, ListGrantsParamsFilter, ListSubscriptionsParamsFilter, ListAppsParamsFilter, ListBillingProfilesParamsFilter, ListFeatureParamsFilter, ListAddonsParamsFilter, ListPlanAddonsParamsFilter, UpsertCustomerBillingProfileRequest, CustomerProfile, EntitlementFeaturesRuleConfig, EntitlementUsagePeriodResetV1RuleConfig, CreateTaxCodeConfig, CreditBalance, CreditTransaction, TaxCodeConfig, TaxConfig, OrganizationDefaultTaxCodes, InvoiceWorkflowAppsReferences, ProfileAppReferences, PlanAddon, UpdateTaxCodeConfig, NotificationRuleEntitlementReset, NotificationRuleInvoiceCreated, NotificationRuleInvoiceUpdated, NotificationRuleEntitlementResetRequest, NotificationRuleInvoiceCreatedRequest, NotificationRuleInvoiceUpdatedRequest, ListEventsParamsFilter, ListCustomerChargesParamsFilter, ListInvoicesParamsFilter, ListChargesParamsFilter, ListNotificationChannelsParamsFilter, ListNotificationRulesParamsFilter, ListNotificationEventsParamsFilter, ResourceFilters, FieldFilters, IngestedEvent, MeterQueryResult, EntitlementHistoryWindow, EntitlementBurndownSegment, ChargeRealizationDetailedLineFlatFee, ChargeRealizationDetailedLineUsageBased, CurrencyCustom, FeatureCostQueryResult, MeterPagePaginatedResponse, CostBasisPagePaginatedResponse, MeterQueryFilters, FeatureMeterReference, Customer, PartyAddresses, InvoiceCustomer, UpdateBillingPartyAddresses, UpdateInvoiceCustomer, AppStripeCreateCheckoutSessionConsentCollection, EntitlementGrantCreateRequest, CreateEntitlementStaticRequest, CreateEntitlementBooleanRequest, EntitlementMetered, EntitlementStatic, EntitlementBoolean, EntitlementGrant, WorkflowCollectionAlignmentAnchored, SubscriptionEditAddPhase, CreateCreditGrantFilters, CreditGrantFilters, SubscriptionBase, InvoiceStatusDetails, InvoiceWorkflow, InvoiceLineDiscounts, SubscriptionCancel, SubscriptionMigrate, SubscriptionAddonUpdate, TaxCode, AppCatalogItem, UpdateBillingInvoiceWorkflow, EntitlementFeatureAccess, NotificationChannelPagePaginatedResponse, NotificationRuleBalanceThreshold, NotificationRuleBalanceThresholdRequest, EntitlementBalanceThresholdTriggeredV1RuleConfig, NotificationEventDeliveryStatus, NotificationEventV1RecurringPeriod, NotificationEventV1RecurringPeriodV2, NotificationEventV1FeatureLlmUnitCost, NotificationEventV1PriceTier, NotificationEventV1Subscription, NotificationEventV1BillingParty, NotificationEventV1BillingInvoiceCustomerExtendedDetails, NotificationEventV1InvoiceStatusDetails, NotificationEventV1MarketplaceListing, NotificationEventV1BillingWorkflowInvoicingSettings, NotificationEventV1InvoiceLineTaxItem, NotificationEventV1BillingDiscounts, NotificationEventV1PaymentTermDueDate, CustomerData, UpsertCustomerBillingDataRequest, ChargeFlatFeeSystemIntent, ListCustomerEntitlementAccessResponseData, PriceGraduated, PriceVolume, UpdatePriceGraduated, UpdatePriceVolume, PricePagePaginatedResponse, CreateCreditGrantPurchase, CreditBalances, CreditTransactionPaginatedResponse, CreditGrantPurchase, CreateChargeFlatFeeRequest, WorkflowTaxSettings, PlanAddonPagePaginatedResponse, IngestedEventPaginatedResponse, EntitlementHistory, InvalidParameters, MeterQueryRequest, CustomerPagePaginatedResponse, Supplier, Party, UpdateSupplier, AppStripeCreateCheckoutSessionRequestOptions, CreateEntitlementMeteredRequest, EntitlementGrantPagePaginatedResponse, InvoiceWorkflowSettings, InvoiceDetailedLine, TaxCodePagePaginatedResponse, AppStripe, AppSandbox, AppExternalInvoicing, AppCatalogItemPagePaginatedResponse, InstalledAppStripe, InstalledAppSandbox, InstalledAppExternalInvoicing, UpdateInvoiceWorkflowSettings, EntitlementAccessQueryResult, NotificationEventV1EntitlementMetered, NotificationEventV1BillingWorkflowCollectionAlignmentAnchored, NotificationEventV1TieredPriceWithCommitments, NotificationEventV1Customer, NotificationEventV1StripeApp, NotificationEventV1SandboxApp, NotificationEventV1CustomInvoicingApp, NotificationEventV1InvoiceLineAmountDiscount, NotificationEventV1InvoiceLineUsageDiscount, NotificationEventV1InvoiceDetailedLineRateCard, Feature, CreditGrant, CurrencyPagePaginatedResponse, BadRequest, InvoiceBase, CustomerStripeCreateCheckoutSessionRequest, EntitlementPagePaginatedResponse, WorkflowCollectionSettings, ChargeRealizationInvoice, EntitlementAccessQueryResponse, NotificationRulePagePaginatedResponse, NotificationEventV1Feature, NotificationEventV1InvoiceLineDiscounts, NotificationEventV1InvoicePaymentTerms, RateCard, InvoiceLineRateCard, ChargeUsageBasedSystemIntent, CreateChargeUsageBasedRequest, FeaturePagePaginatedResponse, UpdateInvoiceLineRateCard, CreditGrantPagePaginatedResponse, Workflow, AppPagePaginatedResponse, ProfileApps, NotificationEventV1BillingWorkflowCollectionSettings, EntitlementBalanceThresholdTriggeredV1Payload, EntitlementUsagePeriodResetV1Payload, NotificationEventV1BalanceThresholdPayloadData, NotificationEventV1EntitlementValuePayloadBase, NotificationEventV1InvoiceUsageBasedRateCard, NotificationEventV1BillingProfileApps, NotificationEventV1InvoiceDetailedLine, SubscriptionItem, PlanPhase, SubscriptionEditAddItem, SubscriptionAddonRateCard, Addon, UpsertAddonRequest, InvoiceStandardLine, UpdateInvoiceStandardLine, Profile, UpsertBillingProfileRequest, ChargeRealization, NotificationEventV1BillingWorkflow, NotificationEventBalanceThresholdPayload, NotificationEventResetPayload, NotificationEventV1InvoiceLine, SubscriptionPhase, SubscriptionCustomPlan, Plan, UpsertPlanRequest, SubscriptionAddon, AddonPagePaginatedResponse, ProfilePagePaginatedResponse, NotificationEventV1InvoiceWorkflowSettings, Subscription, SubscriptionCreate, SubscriptionChange, PlanPagePaginatedResponse, SubscriptionEdit, SubscriptionAddonPagePaginatedResponse, InvoiceStandard, UpdateInvoiceStandardRequest, InvoiceCreatedV1Payload, InvoiceUpdatedV1Payload, NotificationEventV1Invoice, SubscriptionPagePaginatedResponse, SubscriptionChangeResponse, SubscriptionMigrateResponse, NotificationEventInvoiceCreatedPayload, NotificationEventInvoiceUpdatedPayload, ChargeFlatFee, ChargeUsageBased, InvoiceCustomerChargesResult, InvoicePagePaginatedResponse, NotificationEvent, ChargePagePaginatedResponse, NotificationEventPagePaginatedResponse, StringFieldFilter, MeterAggregation, MeterQueryGranularity, EntitlementHistoryWindowSize, StringFieldFilterExact, PricePaymentTerm, BooleanFieldFilter, BillingCurrencyCode, CreateCurrencyCode, UlidFieldFilter, DateTimeFieldFilter, EntitlementMeasureUsageFrom, WorkflowPaymentSettings, SubscriptionCreateTiming, SubscriptionEditTiming, AppActionRequest, UpdateBillingWorkflowPaymentSettings, NotificationEventV1RecurringPeriodInterval, CreateChargeCostBasis, ChargeCostBasis, InvalidParameter, RateCardEntitlement, NotificationEventV1BillingDiscountReason, FeatureUnitCost, ChargeRealizationDetailedLine, Currency, CustomerOrReference, Entitlement, WorkflowCollectionAlignment, NotificationRule, NotificationRuleRequest, NotificationEventV1FeatureUnitCost, NotificationEventV1PaymentTerms, Price, PriceUsageBased, UpdatePrice, CreateEntitlementRequest, App, BillingInstallAppResponse, NotificationEventV1BillingWorkflowCollectionAlignment, NotificationEventV1RateCardUsageBasedPrice, NotificationEventV1App, FeatureOrReference, ChargeRealizationInvoiceOrReference, CreateChargeRequest, SubscriptionEditOperation, InvoiceLine, UpdateInvoiceLine, SubscriptionOrReference, Invoice, NotificationEventPayload, Charge, SortQueryInput, BaseErrorInput, InvoiceWorkflowInvoicingSettingsInput, WorkflowPaymentSendInvoiceSettingsInput, UpdateBillingInvoiceWorkflowInvoicingSettingsInput, UpdateBillingWorkflowPaymentSendInvoiceSettingsInput, EntitlementIssueAfterResetInput, EventInput, ResetCustomerEntitlementUsageRequestInput, UnauthorizedInput, ForbiddenInput, NotFoundInput, GoneInput, ConflictInput, PayloadTooLargeInput, UnsupportedMediaTypeInput, UnprocessableContentInput, TooManyRequestsInput, InternalInput, NotImplementedInput, NotAvailableInput, AppStripeCreateCheckoutSessionCustomerUpdateInput, AppStripeCreateCheckoutSessionTaxIdCollectionInput, RateCardMeteredEntitlementInput, VoidCreditGrantRequestInput, UnitConfigInput, WorkflowInvoicingSettingsInput, EntitlementAccessQueryRequestInput, NotificationChannelInput, CreateNotificationChannelRequestInput, UpdateBillingNotificationChannelRequestInput, NotificationRuleEntitlementResetInput, NotificationRuleInvoiceCreatedInput, NotificationRuleInvoiceUpdatedInput, NotificationRuleEntitlementResetRequestInput, NotificationRuleInvoiceCreatedRequestInput, NotificationRuleInvoiceUpdatedRequestInput, IngestedEventInput, EntitlementMeteredInput, SubscriptionBaseInput, InvoiceWorkflowInput, SubscriptionCancelInput, SubscriptionMigrateInput, UpdateBillingInvoiceWorkflowInput, NotificationChannelPagePaginatedResponseInput, NotificationRuleBalanceThresholdInput, NotificationRuleBalanceThresholdRequestInput, CreateCreditGrantPurchaseInput, CreditGrantPurchaseInput, WorkflowTaxSettingsInput, IngestedEventPaginatedResponseInput, MeterQueryRequestInput, AppStripeCreateCheckoutSessionRequestOptionsInput, CreateEntitlementMeteredRequestInput, InvoiceWorkflowSettingsInput, InvoiceDetailedLineInput, UpdateInvoiceWorkflowSettingsInput, CreateCreditGrantRequestInput, CreditGrantInput, BadRequestInput, CustomerStripeCreateCheckoutSessionRequestInput, EntitlementPagePaginatedResponseInput, WorkflowCollectionSettingsInput, ChargeRealizationInvoiceInput, NotificationRulePagePaginatedResponseInput, RateCardInput, InvoiceLineRateCardInput, ChargeUsageBasedSystemIntentInput, CreateChargeUsageBasedRequestInput, CreditGrantPagePaginatedResponseInput, WorkflowInput, SubscriptionItemInput, PlanPhaseInput, SubscriptionEditAddItemInput, SubscriptionAddonRateCardInput, AddonInput, CreateAddonRequestInput, UpsertAddonRequestInput, InvoiceStandardLineInput, ProfileInput, CreateBillingProfileRequestInput, UpsertBillingProfileRequestInput, ChargeRealizationInput, SubscriptionPhaseInput, SubscriptionCustomPlanInput, PlanInput, CreatePlanRequestInput, UpsertPlanRequestInput, SubscriptionAddonInput, AddonPagePaginatedResponseInput, ProfilePagePaginatedResponseInput, SubscriptionInput, SubscriptionCreateInput, SubscriptionChangeInput, PlanPagePaginatedResponseInput, SubscriptionEditInput, SubscriptionAddonPagePaginatedResponseInput, InvoiceStandardInput, UpdateInvoiceStandardRequestInput, SubscriptionPagePaginatedResponseInput, SubscriptionChangeResponseInput, SubscriptionMigrateResponseInput, ChargeFlatFeeInput, ChargeUsageBasedInput, InvoiceCustomerChargesResultInput, InvoicePagePaginatedResponseInput, ChargePagePaginatedResponseInput, WorkflowPaymentSettingsInput, UpdateBillingWorkflowPaymentSettingsInput, RateCardEntitlementInput, EntitlementInput, NotificationRuleInput, NotificationRuleRequestInput, CreateEntitlementRequestInput, ChargeRealizationInvoiceOrReferenceInput, CreateChargeRequestInput, SubscriptionEditOperationInput, InvoiceLineInput, SubscriptionOrReferenceInput, InvoiceInput, UpdateInvoiceRequestInput, ChargeInput, } from './models/types.js';
|
package/dist/lib/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "1.0.0-beta-
|
|
1
|
+
export declare const SDK_VERSION = "1.0.0-beta-3bb98f61c98f";
|
package/dist/lib/version.js
CHANGED
|
@@ -2,4 +2,4 @@
|
|
|
2
2
|
// The committed value is a dev placeholder. The publish flow
|
|
3
3
|
// (`make -C api/spec publish-aip-sdk`) stamps the real release version here
|
|
4
4
|
// before `pnpm publish`, after `pnpm version` updates package.json.
|
|
5
|
-
export const SDK_VERSION = '1.0.0-beta-
|
|
5
|
+
export const SDK_VERSION = '1.0.0-beta-3bb98f61c98f';
|
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
import type { AcceptDateStrings } from '../../lib/wire.js';
|
|
2
|
-
import type { ChargePagePaginatedResponse, ListChargesParamsFilter, SortQueryInput } from '../types.js';
|
|
2
|
+
import type { Charge, ChargePagePaginatedResponse, ListChargesParamsFilter, SortQueryInput } from '../types.js';
|
|
3
|
+
export interface GetChargeQuery {
|
|
4
|
+
/** Expand related entities, realization details, or real-time usage. */
|
|
5
|
+
expand?: ('real_time_usage' | 'customer' | 'feature' | 'subscription' | 'realization.invoice' | 'realization.totals' | 'realization.detailed_lines')[];
|
|
6
|
+
}
|
|
7
|
+
export type GetChargeRequest = AcceptDateStrings<GetChargeQuery & {
|
|
8
|
+
chargeId: string;
|
|
9
|
+
}>;
|
|
10
|
+
export type GetChargeResponse = Charge;
|
|
3
11
|
export interface ListChargesQuery {
|
|
4
12
|
/** Determines which page of the collection to retrieve. */
|
|
5
13
|
page?: {
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import type { AcceptDateStrings } from '../../lib/wire.js';
|
|
2
|
-
import type {
|
|
2
|
+
import type { EntitlementAccessQueryPage, EntitlementAccessQueryRequestInput, EntitlementAccessQueryResponse } from '../types.js';
|
|
3
3
|
export interface QueryEntitlementAccessQuery {
|
|
4
|
-
page
|
|
4
|
+
/** Determines which page of the collection to retrieve. */
|
|
5
|
+
page?: EntitlementAccessQueryPage;
|
|
5
6
|
}
|
|
6
7
|
export type QueryEntitlementAccessRequest = AcceptDateStrings<{
|
|
7
8
|
body: EntitlementAccessQueryRequestInput;
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import type { AcceptDateStrings } from '../../lib/wire.js';
|
|
2
|
-
import type {
|
|
2
|
+
import type { EventInput, IngestedEventPaginatedResponse, ListEventsPage, ListEventsParamsFilter, SortQueryInput } from '../types.js';
|
|
3
3
|
export interface ListMeteringEventsQuery {
|
|
4
|
-
page
|
|
4
|
+
/** Determines which page of the collection to retrieve. */
|
|
5
|
+
page?: ListEventsPage;
|
|
5
6
|
/**
|
|
6
7
|
* Filter events returned in the response.
|
|
7
8
|
*
|