@openmeter/client 1.0.0-beta-ff701a7f5839 → 1.0.0-beta-e00163c4b8a0
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 +6 -0
- package/dist/funcs/notifications.d.ts +51 -1
- package/dist/funcs/notifications.js +194 -0
- 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/notifications.d.ts +51 -1
- package/dist/models/schemas.d.ts +1855 -26
- package/dist/models/schemas.js +599 -18
- package/dist/models/types.d.ts +490 -10
- package/dist/sdk/internal.d.ts +62 -2
- package/dist/sdk/internal.js +75 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -514,6 +514,12 @@ they can change or be removed without notice or semver consideration.
|
|
|
514
514
|
|
|
515
515
|
| Method | HTTP | Description |
|
|
516
516
|
| ------------------------------------------- | ------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
517
|
+
| `client.internal.notifications.listRules` | `GET /openmeter/notification/rules` | List all notification rules. |
|
|
518
|
+
| `client.internal.notifications.createRule` | `POST /openmeter/notification/rules` | Create a notification rule. |
|
|
519
|
+
| `client.internal.notifications.getRule` | `GET /openmeter/notification/rules/{notificationRuleId}` | Get a notification rule by id. |
|
|
520
|
+
| `client.internal.notifications.updateRule` | `PUT /openmeter/notification/rules/{notificationRuleId}` | Update a notification rule by id. |
|
|
521
|
+
| `client.internal.notifications.deleteRule` | `DELETE /openmeter/notification/rules/{notificationRuleId}` | Delete a notification rule by id. |
|
|
522
|
+
| `client.internal.notifications.testRule` | `POST /openmeter/notification/rules/{notificationRuleId}/test` | Test a notification rule by generating an event with sample data and delivering it to the rule's channels. The test event is persisted and listed like any other event. |
|
|
517
523
|
| `client.internal.notifications.listEvents` | `GET /openmeter/notification/events` | List all notification events. |
|
|
518
524
|
| `client.internal.notifications.getEvent` | `GET /openmeter/notification/events/{notificationEventId}` | Get a notification event by id. |
|
|
519
525
|
| `client.internal.notifications.resendEvent` | `POST /openmeter/notification/events/{notificationEventId}/resend` | Resend a notification event to the channels of the rule that generated it. Delivery is asynchronous: the request marks the selected channels for redelivery and returns immediately. Channels whose delivery is still pending or already being resent are left untouched. |
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { type Client } from '../core.js';
|
|
2
2
|
import { type Result, type RequestOptions } from '../lib/types.js';
|
|
3
|
-
import type { ListNotificationChannelsRequest, ListNotificationChannelsResponse, CreateNotificationChannelRequest, CreateNotificationChannelResponse, GetNotificationChannelRequest, GetNotificationChannelResponse, UpdateNotificationChannelRequest, UpdateNotificationChannelResponse, DeleteNotificationChannelRequest, DeleteNotificationChannelResponse, ListNotificationEventsRequest, ListNotificationEventsResponse, GetNotificationEventRequest, GetNotificationEventResponse, ResendNotificationEventRequest, ResendNotificationEventResponse } from '../models/operations/notifications.js';
|
|
3
|
+
import type { ListNotificationChannelsRequest, ListNotificationChannelsResponse, CreateNotificationChannelRequest, CreateNotificationChannelResponse, GetNotificationChannelRequest, GetNotificationChannelResponse, UpdateNotificationChannelRequest, UpdateNotificationChannelResponse, DeleteNotificationChannelRequest, DeleteNotificationChannelResponse, ListNotificationRulesRequest, ListNotificationRulesResponse, CreateNotificationRuleRequest, CreateNotificationRuleResponse, GetNotificationRuleRequest, GetNotificationRuleResponse, UpdateNotificationRuleRequest, UpdateNotificationRuleResponse, DeleteNotificationRuleRequest, DeleteNotificationRuleResponse, TestNotificationRuleRequest, TestNotificationRuleResponse, ListNotificationEventsRequest, ListNotificationEventsResponse, GetNotificationEventRequest, GetNotificationEventResponse, ResendNotificationEventRequest, ResendNotificationEventResponse } from '../models/operations/notifications.js';
|
|
4
4
|
/**
|
|
5
5
|
* List notification channels
|
|
6
6
|
*
|
|
@@ -41,6 +41,56 @@ export declare function updateNotificationChannel(client: Client, req: UpdateNot
|
|
|
41
41
|
* DELETE /openmeter/notification/channels/{notificationChannelId}
|
|
42
42
|
*/
|
|
43
43
|
export declare function deleteNotificationChannel(client: Client, req: DeleteNotificationChannelRequest, options?: RequestOptions): Promise<Result<DeleteNotificationChannelResponse>>;
|
|
44
|
+
/**
|
|
45
|
+
* List notification rules
|
|
46
|
+
*
|
|
47
|
+
* List all notification rules.
|
|
48
|
+
*
|
|
49
|
+
* GET /openmeter/notification/rules
|
|
50
|
+
*/
|
|
51
|
+
export declare function listNotificationRules(client: Client, req?: ListNotificationRulesRequest, options?: RequestOptions): Promise<Result<ListNotificationRulesResponse>>;
|
|
52
|
+
/**
|
|
53
|
+
* Create notification rule
|
|
54
|
+
*
|
|
55
|
+
* Create a notification rule.
|
|
56
|
+
*
|
|
57
|
+
* POST /openmeter/notification/rules
|
|
58
|
+
*/
|
|
59
|
+
export declare function createNotificationRule(client: Client, req: CreateNotificationRuleRequest, options?: RequestOptions): Promise<Result<CreateNotificationRuleResponse>>;
|
|
60
|
+
/**
|
|
61
|
+
* Get notification rule
|
|
62
|
+
*
|
|
63
|
+
* Get a notification rule by id.
|
|
64
|
+
*
|
|
65
|
+
* GET /openmeter/notification/rules/{notificationRuleId}
|
|
66
|
+
*/
|
|
67
|
+
export declare function getNotificationRule(client: Client, req: GetNotificationRuleRequest, options?: RequestOptions): Promise<Result<GetNotificationRuleResponse>>;
|
|
68
|
+
/**
|
|
69
|
+
* Update notification rule
|
|
70
|
+
*
|
|
71
|
+
* Update a notification rule by id.
|
|
72
|
+
*
|
|
73
|
+
* PUT /openmeter/notification/rules/{notificationRuleId}
|
|
74
|
+
*/
|
|
75
|
+
export declare function updateNotificationRule(client: Client, req: UpdateNotificationRuleRequest, options?: RequestOptions): Promise<Result<UpdateNotificationRuleResponse>>;
|
|
76
|
+
/**
|
|
77
|
+
* Delete notification rule
|
|
78
|
+
*
|
|
79
|
+
* Delete a notification rule by id.
|
|
80
|
+
*
|
|
81
|
+
* DELETE /openmeter/notification/rules/{notificationRuleId}
|
|
82
|
+
*/
|
|
83
|
+
export declare function deleteNotificationRule(client: Client, req: DeleteNotificationRuleRequest, options?: RequestOptions): Promise<Result<DeleteNotificationRuleResponse>>;
|
|
84
|
+
/**
|
|
85
|
+
* Test notification rule
|
|
86
|
+
*
|
|
87
|
+
* Test a notification rule by generating an event with sample data and delivering
|
|
88
|
+
* it to the rule's channels. The test event is persisted and listed like any other
|
|
89
|
+
* event.
|
|
90
|
+
*
|
|
91
|
+
* POST /openmeter/notification/rules/{notificationRuleId}/test
|
|
92
|
+
*/
|
|
93
|
+
export declare function testNotificationRule(client: Client, req: TestNotificationRuleRequest, options?: RequestOptions): Promise<Result<TestNotificationRuleResponse>>;
|
|
44
94
|
/**
|
|
45
95
|
* List notification events
|
|
46
96
|
*
|
|
@@ -161,6 +161,200 @@ export function deleteNotificationChannel(client, req, options) {
|
|
|
161
161
|
await http(client).delete(path, options);
|
|
162
162
|
});
|
|
163
163
|
}
|
|
164
|
+
/**
|
|
165
|
+
* List notification rules
|
|
166
|
+
*
|
|
167
|
+
* List all notification rules.
|
|
168
|
+
*
|
|
169
|
+
* GET /openmeter/notification/rules
|
|
170
|
+
*/
|
|
171
|
+
export function listNotificationRules(client, req = {}, options) {
|
|
172
|
+
return request(() => {
|
|
173
|
+
if (client._options.validate && req.sort !== undefined) {
|
|
174
|
+
assertValid(schemas.listNotificationRulesQueryParams.shape.sort, req.sort);
|
|
175
|
+
}
|
|
176
|
+
const query = toWire({
|
|
177
|
+
page: req.page,
|
|
178
|
+
sort: encodeSort(req.sort, toSnakeCase),
|
|
179
|
+
filter: req.filter,
|
|
180
|
+
}, schemas.listNotificationRulesQueryParams);
|
|
181
|
+
if (client._options.validate) {
|
|
182
|
+
assertValid(schemas.listNotificationRulesQueryParamsWire, query);
|
|
183
|
+
}
|
|
184
|
+
const searchParams = toURLSearchParams(query);
|
|
185
|
+
return http(client)
|
|
186
|
+
.get('openmeter/notification/rules', { ...options, searchParams })
|
|
187
|
+
.json()
|
|
188
|
+
.then((data) => {
|
|
189
|
+
if (client._options.validate) {
|
|
190
|
+
assertValid(schemas.listNotificationRulesResponseWire, data);
|
|
191
|
+
}
|
|
192
|
+
return fromWire(data, schemas.listNotificationRulesResponse);
|
|
193
|
+
});
|
|
194
|
+
});
|
|
195
|
+
}
|
|
196
|
+
/**
|
|
197
|
+
* Create notification rule
|
|
198
|
+
*
|
|
199
|
+
* Create a notification rule.
|
|
200
|
+
*
|
|
201
|
+
* POST /openmeter/notification/rules
|
|
202
|
+
*/
|
|
203
|
+
export function createNotificationRule(client, req, options) {
|
|
204
|
+
return request(() => {
|
|
205
|
+
const body = toWire(req, schemas.createNotificationRuleBody);
|
|
206
|
+
if (client._options.validate) {
|
|
207
|
+
assertValid(schemas.createNotificationRuleBodyWire, body);
|
|
208
|
+
}
|
|
209
|
+
return http(client)
|
|
210
|
+
.post('openmeter/notification/rules', { ...options, json: body })
|
|
211
|
+
.json()
|
|
212
|
+
.then((data) => {
|
|
213
|
+
if (client._options.validate) {
|
|
214
|
+
assertValid(schemas.createNotificationRuleResponseWire, data);
|
|
215
|
+
}
|
|
216
|
+
return fromWire(data, schemas.createNotificationRuleResponse);
|
|
217
|
+
});
|
|
218
|
+
});
|
|
219
|
+
}
|
|
220
|
+
/**
|
|
221
|
+
* Get notification rule
|
|
222
|
+
*
|
|
223
|
+
* Get a notification rule by id.
|
|
224
|
+
*
|
|
225
|
+
* GET /openmeter/notification/rules/{notificationRuleId}
|
|
226
|
+
*/
|
|
227
|
+
export function getNotificationRule(client, req, options) {
|
|
228
|
+
return request(() => {
|
|
229
|
+
const pathParamsInput = {
|
|
230
|
+
notificationRuleId: req.notificationRuleId,
|
|
231
|
+
};
|
|
232
|
+
const pathParams = client._options.validate
|
|
233
|
+
? toPathWire(pathParamsInput, schemas.getNotificationRulePathParams)
|
|
234
|
+
: pathParamsInput;
|
|
235
|
+
if (client._options.validate) {
|
|
236
|
+
assertValid(schemas.getNotificationRulePathParamsWire, pathParams);
|
|
237
|
+
}
|
|
238
|
+
const path = `openmeter/notification/rules/${(() => {
|
|
239
|
+
if (pathParams.notificationRuleId === undefined) {
|
|
240
|
+
throw new Error('missing path parameter: notificationRuleId');
|
|
241
|
+
}
|
|
242
|
+
return encodeURIComponent(String(pathParams.notificationRuleId));
|
|
243
|
+
})()}`;
|
|
244
|
+
return http(client)
|
|
245
|
+
.get(path, options)
|
|
246
|
+
.json()
|
|
247
|
+
.then((data) => {
|
|
248
|
+
if (client._options.validate) {
|
|
249
|
+
assertValid(schemas.getNotificationRuleResponseWire, data);
|
|
250
|
+
}
|
|
251
|
+
return fromWire(data, schemas.getNotificationRuleResponse);
|
|
252
|
+
});
|
|
253
|
+
});
|
|
254
|
+
}
|
|
255
|
+
/**
|
|
256
|
+
* Update notification rule
|
|
257
|
+
*
|
|
258
|
+
* Update a notification rule by id.
|
|
259
|
+
*
|
|
260
|
+
* PUT /openmeter/notification/rules/{notificationRuleId}
|
|
261
|
+
*/
|
|
262
|
+
export function updateNotificationRule(client, req, options) {
|
|
263
|
+
return request(() => {
|
|
264
|
+
const pathParamsInput = {
|
|
265
|
+
notificationRuleId: req.notificationRuleId,
|
|
266
|
+
};
|
|
267
|
+
const pathParams = client._options.validate
|
|
268
|
+
? toPathWire(pathParamsInput, schemas.updateNotificationRulePathParams)
|
|
269
|
+
: pathParamsInput;
|
|
270
|
+
if (client._options.validate) {
|
|
271
|
+
assertValid(schemas.updateNotificationRulePathParamsWire, pathParams);
|
|
272
|
+
}
|
|
273
|
+
const path = `openmeter/notification/rules/${(() => {
|
|
274
|
+
if (pathParams.notificationRuleId === undefined) {
|
|
275
|
+
throw new Error('missing path parameter: notificationRuleId');
|
|
276
|
+
}
|
|
277
|
+
return encodeURIComponent(String(pathParams.notificationRuleId));
|
|
278
|
+
})()}`;
|
|
279
|
+
const body = toWire(req.body, schemas.updateNotificationRuleBody);
|
|
280
|
+
if (client._options.validate) {
|
|
281
|
+
assertValid(schemas.updateNotificationRuleBodyWire, body);
|
|
282
|
+
}
|
|
283
|
+
return http(client)
|
|
284
|
+
.put(path, { ...options, json: body })
|
|
285
|
+
.json()
|
|
286
|
+
.then((data) => {
|
|
287
|
+
if (client._options.validate) {
|
|
288
|
+
assertValid(schemas.updateNotificationRuleResponseWire, data);
|
|
289
|
+
}
|
|
290
|
+
return fromWire(data, schemas.updateNotificationRuleResponse);
|
|
291
|
+
});
|
|
292
|
+
});
|
|
293
|
+
}
|
|
294
|
+
/**
|
|
295
|
+
* Delete notification rule
|
|
296
|
+
*
|
|
297
|
+
* Delete a notification rule by id.
|
|
298
|
+
*
|
|
299
|
+
* DELETE /openmeter/notification/rules/{notificationRuleId}
|
|
300
|
+
*/
|
|
301
|
+
export function deleteNotificationRule(client, req, options) {
|
|
302
|
+
return request(async () => {
|
|
303
|
+
const pathParamsInput = {
|
|
304
|
+
notificationRuleId: req.notificationRuleId,
|
|
305
|
+
};
|
|
306
|
+
const pathParams = client._options.validate
|
|
307
|
+
? toPathWire(pathParamsInput, schemas.deleteNotificationRulePathParams)
|
|
308
|
+
: pathParamsInput;
|
|
309
|
+
if (client._options.validate) {
|
|
310
|
+
assertValid(schemas.deleteNotificationRulePathParamsWire, pathParams);
|
|
311
|
+
}
|
|
312
|
+
const path = `openmeter/notification/rules/${(() => {
|
|
313
|
+
if (pathParams.notificationRuleId === undefined) {
|
|
314
|
+
throw new Error('missing path parameter: notificationRuleId');
|
|
315
|
+
}
|
|
316
|
+
return encodeURIComponent(String(pathParams.notificationRuleId));
|
|
317
|
+
})()}`;
|
|
318
|
+
await http(client).delete(path, options);
|
|
319
|
+
});
|
|
320
|
+
}
|
|
321
|
+
/**
|
|
322
|
+
* Test notification rule
|
|
323
|
+
*
|
|
324
|
+
* Test a notification rule by generating an event with sample data and delivering
|
|
325
|
+
* it to the rule's channels. The test event is persisted and listed like any other
|
|
326
|
+
* event.
|
|
327
|
+
*
|
|
328
|
+
* POST /openmeter/notification/rules/{notificationRuleId}/test
|
|
329
|
+
*/
|
|
330
|
+
export function testNotificationRule(client, req, options) {
|
|
331
|
+
return request(() => {
|
|
332
|
+
const pathParamsInput = {
|
|
333
|
+
notificationRuleId: req.notificationRuleId,
|
|
334
|
+
};
|
|
335
|
+
const pathParams = client._options.validate
|
|
336
|
+
? toPathWire(pathParamsInput, schemas.testNotificationRulePathParams)
|
|
337
|
+
: pathParamsInput;
|
|
338
|
+
if (client._options.validate) {
|
|
339
|
+
assertValid(schemas.testNotificationRulePathParamsWire, pathParams);
|
|
340
|
+
}
|
|
341
|
+
const path = `openmeter/notification/rules/${(() => {
|
|
342
|
+
if (pathParams.notificationRuleId === undefined) {
|
|
343
|
+
throw new Error('missing path parameter: notificationRuleId');
|
|
344
|
+
}
|
|
345
|
+
return encodeURIComponent(String(pathParams.notificationRuleId));
|
|
346
|
+
})()}/test`;
|
|
347
|
+
return http(client)
|
|
348
|
+
.post(path, options)
|
|
349
|
+
.json()
|
|
350
|
+
.then((data) => {
|
|
351
|
+
if (client._options.validate) {
|
|
352
|
+
assertValid(schemas.testNotificationRuleResponseWire, data);
|
|
353
|
+
}
|
|
354
|
+
return fromWire(data, schemas.testNotificationRuleResponse);
|
|
355
|
+
});
|
|
356
|
+
});
|
|
357
|
+
}
|
|
164
358
|
/**
|
|
165
359
|
* List notification events
|
|
166
360
|
*
|
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, SubscriptionEditRemoveItem, SubscriptionEditUnscheduleEdit, UpdateLabels, AppReconcileWebhookEventsActionRequest, InstallAppStripeWithApiKey, InstallAppSandbox, InstallAppExternalInvoicing, WorkflowCollectionAlignmentSubscription, InvoiceLineExternalReferences, UpdateBillingInvoiceWorkflowInvoicingSettings, UpdateBillingWorkflowPaymentChargeAutomaticallySettings, UpdateBillingWorkflowPaymentSendInvoiceSettings, UpdatePriceFree, LlmCostProvider, LlmCostModel, ProductCatalogValidationError, EntitlementAccessQueryRequestCustomers, EntitlementAccessQueryRequestFeatures, NotificationEventDeliveryAttemptResponse, QueryFilterInteger, QueryFilterFloat, QueryFilterBoolean, PagePaginationQuery, PublicLabels, 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, ChargeCostBasisPinned, TaxCodeReference, CreditGrantInvoiceReference, CurrencyCustomReference, SubscriptionCostBasisPin, SubscriptionReference, AppReference, ChargeRealizationInvoiceReference, AddonReference, ChargeReference, UpdateResourceReference, NotificationEventFeatureReference, NotificationEventInvoiceReference, ResendBillingNotificationEventRequest, BillingCustomerReference, ChargeFeature, Event, MeterQueryRow, AppStripeCreateCustomerPortalSessionResult, ClosedPeriod, ChargeResolvedCostBasis, 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, ListCreditGrantsParamsFilter, ValidationIssue, SubscriptionProRatingConfig, RateCardProrationConfiguration, UnitConfig, PartyTaxIdentity, UpdateBillingPartyTaxIdentity, InvoiceAvailableActions, ChargeRealizationPayment, SubscriptionEditRemovePhase, TaxCodeAppMapping, AppCapability, AppAction, UpdateAppStripeRequest, UpdateAppSandboxRequest, UpdateAppExternalInvoicingRequest, WorkflowInvoicingSettings, InvoiceLineAmountDiscount, InvoiceLineUsageDiscount, InvoiceLineBaseDiscount, ListCurrenciesParamsFilter, EntitlementAccessQueryRequest, EntitlementFeatureAccessReason, EntitlementAccessQueryError, NotificationChannel, UpdateBillingNotificationChannelRequest, NotificationRuleReference, NotificationEventDeliveryAttempt, NotificationBalanceThreshold, AppCustomerData, UpsertAppCustomerDataRequest, CreditAdjustment, ListCreditTransactionsParamsFilter, CurrencyAmount, EntitlementValueResult, EntitlementFeatureValueResult, PriceTier, ChargeTotals, FeatureLlmUnitCost, UpdatePriceTier, LlmCostPrice, LlmCostOverrideCreate, ListCustomersParamsFilter, ListCustomerEntitlementsParamsFilter, ListEntitlementsParamsFilter, ListGrantsParamsFilter, ListSubscriptionsParamsFilter, ListAppsParamsFilter, ListBillingProfilesParamsFilter, ListFeatureParamsFilter, ListAddonsParamsFilter, ListPlanAddonsParamsFilter, CreateTaxCodeConfig, TaxCodeConfig, TaxConfig, OrganizationDefaultTaxCodes, CreditBalance, CreditTransaction, InvoiceWorkflowAppsReferences, ProfileAppReferences, PlanAddon, UpdateTaxCodeConfig, NotificationEventInvoiceData, ListEventsParamsFilter, ListCustomerChargesParamsFilter, ListInvoicesParamsFilter, ListChargesParamsFilter, ListNotificationChannelsParamsFilter, 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, SubscriptionCancel, SubscriptionMigrate, SubscriptionAddonUpdate, TaxCode, AppCatalogItem, InvoiceLineDiscounts, UpdateBillingInvoiceWorkflow, EntitlementFeatureAccess, NotificationChannelPagePaginatedResponse, NotificationEventDeliveryStatus, CustomerData, UpsertCustomerBillingDataRequest, ChargeFlatFeeSystemIntent, ListCustomerEntitlementAccessResponseData, NotificationEventBalanceThresholdData, NotificationEventEntitlementData, PriceGraduated, PriceVolume, UpdatePriceGraduated, UpdatePriceVolume, PricePagePaginatedResponse, CreateCreditGrantPurchase, CreditGrantPurchase, CreateChargeFlatFeeRequest, WorkflowTaxSettings, CreditBalances, CreditTransactionPaginatedResponse, PlanAddonPagePaginatedResponse, NotificationEventInvoiceCreatedPayload, NotificationEventInvoiceUpdatedPayload, IngestedEventPaginatedResponse, EntitlementHistory, InvalidParameters, MeterQueryRequest, CustomerPagePaginatedResponse, Supplier, Party, UpdateSupplier, AppStripeCreateCheckoutSessionRequestOptions, CreateEntitlementMeteredRequest, EntitlementGrantPagePaginatedResponse, InvoiceWorkflowSettings, TaxCodePagePaginatedResponse, AppStripe, AppSandbox, AppExternalInvoicing, AppCatalogItemPagePaginatedResponse, InstalledAppStripe, InstalledAppSandbox, InstalledAppExternalInvoicing, InvoiceDetailedLine, UpdateInvoiceWorkflowSettings, EntitlementAccessQueryResult, NotificationEventBalanceThresholdPayload, NotificationEventResetPayload, Feature, CreditGrant, CurrencyPagePaginatedResponse, BadRequest, InvoiceBase, CustomerStripeCreateCheckoutSessionRequest, EntitlementPagePaginatedResponse, WorkflowCollectionSettings, ChargeRealizationInvoice, EntitlementAccessQueryResponse, RateCard, InvoiceLineRateCard, ChargeUsageBasedSystemIntent, CreateChargeUsageBasedRequest, FeaturePagePaginatedResponse, UpdateInvoiceLineRateCard, CreditGrantPagePaginatedResponse, Workflow, AppPagePaginatedResponse, ProfileApps, NotificationEvent, SubscriptionItem, PlanPhase, SubscriptionEditAddItem, SubscriptionAddonRateCard, Addon, UpsertAddonRequest, InvoiceStandardLine, UpdateInvoiceStandardLine, Profile, UpsertBillingProfileRequest, ChargeRealization, NotificationEventPagePaginatedResponse, SubscriptionPhase, SubscriptionCustomPlan, Plan, UpsertPlanRequest, SubscriptionAddon, AddonPagePaginatedResponse, ProfilePagePaginatedResponse, Subscription, SubscriptionCreate, SubscriptionChange, PlanPagePaginatedResponse, SubscriptionEdit, SubscriptionAddonPagePaginatedResponse, InvoiceStandard, UpdateInvoiceStandardRequest, SubscriptionPagePaginatedResponse, SubscriptionChangeResponse, SubscriptionMigrateResponse, ChargeFlatFee, ChargeUsageBased, InvoicePagePaginatedResponse, ChargePagePaginatedResponse, StringFieldFilter, MeterAggregation, MeterQueryGranularity, EntitlementHistoryWindowSize, StringFieldFilterExact, PricePaymentTerm, BooleanFieldFilter, BillingCurrencyCode, CreateCurrencyCode, UlidFieldFilter, DateTimeFieldFilter, EntitlementMeasureUsageFrom, WorkflowPaymentSettings, SubscriptionCreateTiming, SubscriptionEditTiming, AppActionRequest, UpdateBillingWorkflowPaymentSettings, CreateChargeCostBasis, ChargeCostBasis, InvalidParameter, RateCardEntitlement, FeatureUnitCost, ChargeRealizationDetailedLine, Currency, CustomerOrReference, Entitlement, WorkflowCollectionAlignment, Price, PriceUsageBased, UpdatePrice, CreateEntitlementRequest, App, BillingInstallAppResponse, NotificationEventPayload, FeatureOrReference, ChargeRealizationInvoiceOrReference, CreateChargeRequest, SubscriptionEditOperation, InvoiceLine, UpdateInvoiceLine, SubscriptionOrReference, Invoice, 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, IngestedEventInput, EntitlementMeteredInput, SubscriptionBaseInput, InvoiceWorkflowInput, SubscriptionCancelInput, SubscriptionMigrateInput, UpdateBillingInvoiceWorkflowInput, NotificationChannelPagePaginatedResponseInput, CreateCreditGrantPurchaseInput, CreditGrantPurchaseInput, WorkflowTaxSettingsInput, IngestedEventPaginatedResponseInput, MeterQueryRequestInput, AppStripeCreateCheckoutSessionRequestOptionsInput, CreateEntitlementMeteredRequestInput, InvoiceWorkflowSettingsInput, InvoiceDetailedLineInput, UpdateInvoiceWorkflowSettingsInput, CreateCreditGrantRequestInput, CreditGrantInput, BadRequestInput, CustomerStripeCreateCheckoutSessionRequestInput, EntitlementPagePaginatedResponseInput, WorkflowCollectionSettingsInput, ChargeRealizationInvoiceInput, 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, InvoicePagePaginatedResponseInput, ChargePagePaginatedResponseInput, WorkflowPaymentSettingsInput, UpdateBillingWorkflowPaymentSettingsInput, RateCardEntitlementInput, EntitlementInput, CreateEntitlementRequestInput, ChargeRealizationInvoiceOrReferenceInput, CreateChargeRequestInput, SubscriptionEditOperationInput, InvoiceLineInput, SubscriptionOrReferenceInput, InvoiceInput, UpdateInvoiceRequestInput, ChargeInput, } from './models/types.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, SubscriptionEditRemoveItem, SubscriptionEditUnscheduleEdit, UpdateLabels, AppReconcileWebhookEventsActionRequest, InstallAppStripeWithApiKey, InstallAppSandbox, InstallAppExternalInvoicing, WorkflowCollectionAlignmentSubscription, InvoiceLineExternalReferences, UpdateBillingInvoiceWorkflowInvoicingSettings, UpdateBillingWorkflowPaymentChargeAutomaticallySettings, UpdateBillingWorkflowPaymentSendInvoiceSettings, UpdatePriceFree, LlmCostProvider, LlmCostModel, ProductCatalogValidationError, EntitlementAccessQueryRequestCustomers, EntitlementAccessQueryRequestFeatures, NotificationEventDeliveryAttemptResponse, QueryFilterInteger, QueryFilterFloat, QueryFilterBoolean, PagePaginationQuery, PublicLabels, 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, ChargeCostBasisPinned, TaxCodeReference, CreditGrantInvoiceReference, CurrencyCustomReference, SubscriptionCostBasisPin, SubscriptionReference, AppReference, ChargeRealizationInvoiceReference, AddonReference, ChargeReference, UpdateResourceReference, NotificationChannelReference, NotificationEventFeatureReference, NotificationEventInvoiceReference, ResendBillingNotificationEventRequest, BillingCustomerReference, ChargeFeature, Event, MeterQueryRow, AppStripeCreateCustomerPortalSessionResult, ClosedPeriod, ChargeResolvedCostBasis, 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, ListCreditGrantsParamsFilter, ValidationIssue, SubscriptionProRatingConfig, RateCardProrationConfiguration, UnitConfig, PartyTaxIdentity, UpdateBillingPartyTaxIdentity, InvoiceAvailableActions, ChargeRealizationPayment, SubscriptionEditRemovePhase, TaxCodeAppMapping, AppCapability, AppAction, UpdateAppStripeRequest, UpdateAppSandboxRequest, UpdateAppExternalInvoicingRequest, WorkflowInvoicingSettings, InvoiceLineAmountDiscount, InvoiceLineUsageDiscount, InvoiceLineBaseDiscount, ListCurrenciesParamsFilter, EntitlementAccessQueryRequest, EntitlementFeatureAccessReason, EntitlementAccessQueryError, NotificationChannel, UpdateBillingNotificationChannelRequest, NotificationBalanceThreshold, NotificationRuleReference, NotificationEventDeliveryAttempt, AppCustomerData, UpsertAppCustomerDataRequest, CreditAdjustment, ListCreditTransactionsParamsFilter, CurrencyAmount, EntitlementValueResult, EntitlementFeatureValueResult, PriceTier, ChargeTotals, FeatureLlmUnitCost, UpdatePriceTier, LlmCostPrice, LlmCostOverrideCreate, ListCustomersParamsFilter, ListCustomerEntitlementsParamsFilter, ListEntitlementsParamsFilter, ListGrantsParamsFilter, ListSubscriptionsParamsFilter, ListAppsParamsFilter, ListBillingProfilesParamsFilter, ListFeatureParamsFilter, ListAddonsParamsFilter, ListPlanAddonsParamsFilter, CreateTaxCodeConfig, TaxCodeConfig, TaxConfig, OrganizationDefaultTaxCodes, CreditBalance, CreditTransaction, InvoiceWorkflowAppsReferences, ProfileAppReferences, PlanAddon, UpdateTaxCodeConfig, NotificationRuleEntitlementReset, NotificationRuleInvoiceCreated, NotificationRuleInvoiceUpdated, NotificationRuleEntitlementResetRequest, NotificationRuleInvoiceCreatedRequest, NotificationRuleInvoiceUpdatedRequest, NotificationEventInvoiceData, 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, SubscriptionCancel, SubscriptionMigrate, SubscriptionAddonUpdate, TaxCode, AppCatalogItem, InvoiceLineDiscounts, UpdateBillingInvoiceWorkflow, EntitlementFeatureAccess, NotificationChannelPagePaginatedResponse, NotificationRuleBalanceThreshold, NotificationRuleBalanceThresholdRequest, NotificationEventDeliveryStatus, CustomerData, UpsertCustomerBillingDataRequest, ChargeFlatFeeSystemIntent, ListCustomerEntitlementAccessResponseData, NotificationEventBalanceThresholdData, NotificationEventEntitlementData, PriceGraduated, PriceVolume, UpdatePriceGraduated, UpdatePriceVolume, PricePagePaginatedResponse, CreateCreditGrantPurchase, CreditGrantPurchase, CreateChargeFlatFeeRequest, WorkflowTaxSettings, CreditBalances, CreditTransactionPaginatedResponse, PlanAddonPagePaginatedResponse, NotificationEventInvoiceCreatedPayload, NotificationEventInvoiceUpdatedPayload, IngestedEventPaginatedResponse, EntitlementHistory, InvalidParameters, MeterQueryRequest, CustomerPagePaginatedResponse, Supplier, Party, UpdateSupplier, AppStripeCreateCheckoutSessionRequestOptions, CreateEntitlementMeteredRequest, EntitlementGrantPagePaginatedResponse, InvoiceWorkflowSettings, TaxCodePagePaginatedResponse, AppStripe, AppSandbox, AppExternalInvoicing, AppCatalogItemPagePaginatedResponse, InstalledAppStripe, InstalledAppSandbox, InstalledAppExternalInvoicing, InvoiceDetailedLine, UpdateInvoiceWorkflowSettings, EntitlementAccessQueryResult, NotificationEventBalanceThresholdPayload, NotificationEventResetPayload, Feature, CreditGrant, CurrencyPagePaginatedResponse, BadRequest, InvoiceBase, CustomerStripeCreateCheckoutSessionRequest, EntitlementPagePaginatedResponse, WorkflowCollectionSettings, ChargeRealizationInvoice, EntitlementAccessQueryResponse, NotificationRulePagePaginatedResponse, RateCard, InvoiceLineRateCard, ChargeUsageBasedSystemIntent, CreateChargeUsageBasedRequest, FeaturePagePaginatedResponse, UpdateInvoiceLineRateCard, CreditGrantPagePaginatedResponse, Workflow, AppPagePaginatedResponse, ProfileApps, NotificationEvent, SubscriptionItem, PlanPhase, SubscriptionEditAddItem, SubscriptionAddonRateCard, Addon, UpsertAddonRequest, InvoiceStandardLine, UpdateInvoiceStandardLine, Profile, UpsertBillingProfileRequest, ChargeRealization, NotificationEventPagePaginatedResponse, SubscriptionPhase, SubscriptionCustomPlan, Plan, UpsertPlanRequest, SubscriptionAddon, AddonPagePaginatedResponse, ProfilePagePaginatedResponse, Subscription, SubscriptionCreate, SubscriptionChange, PlanPagePaginatedResponse, SubscriptionEdit, SubscriptionAddonPagePaginatedResponse, InvoiceStandard, UpdateInvoiceStandardRequest, SubscriptionPagePaginatedResponse, SubscriptionChangeResponse, SubscriptionMigrateResponse, ChargeFlatFee, ChargeUsageBased, InvoicePagePaginatedResponse, ChargePagePaginatedResponse, StringFieldFilter, MeterAggregation, MeterQueryGranularity, EntitlementHistoryWindowSize, StringFieldFilterExact, PricePaymentTerm, BooleanFieldFilter, BillingCurrencyCode, CreateCurrencyCode, UlidFieldFilter, DateTimeFieldFilter, EntitlementMeasureUsageFrom, WorkflowPaymentSettings, SubscriptionCreateTiming, SubscriptionEditTiming, AppActionRequest, UpdateBillingWorkflowPaymentSettings, CreateChargeCostBasis, ChargeCostBasis, InvalidParameter, RateCardEntitlement, FeatureUnitCost, ChargeRealizationDetailedLine, Currency, CustomerOrReference, Entitlement, WorkflowCollectionAlignment, NotificationRule, NotificationRuleRequest, Price, PriceUsageBased, UpdatePrice, CreateEntitlementRequest, App, BillingInstallAppResponse, NotificationEventPayload, FeatureOrReference, ChargeRealizationInvoiceOrReference, CreateChargeRequest, SubscriptionEditOperation, InvoiceLine, UpdateInvoiceLine, SubscriptionOrReference, Invoice, 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, 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-e00163c4b8a0";
|
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-e00163c4b8a0';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { AcceptDateStrings } from '../../lib/wire.js';
|
|
2
|
-
import type { CreateNotificationChannelRequestInput, ListNotificationChannelsParamsFilter, ListNotificationEventsParamsFilter, NotificationChannel, NotificationChannelPagePaginatedResponse, NotificationEvent, NotificationEventPagePaginatedResponse, ResendBillingNotificationEventRequest, SortQueryInput, UpdateBillingNotificationChannelRequestInput } from '../types.js';
|
|
2
|
+
import type { CreateNotificationChannelRequestInput, ListNotificationChannelsParamsFilter, ListNotificationEventsParamsFilter, ListNotificationRulesParamsFilter, NotificationChannel, NotificationChannelPagePaginatedResponse, NotificationEvent, NotificationEventPagePaginatedResponse, NotificationRule, NotificationRulePagePaginatedResponse, NotificationRuleRequestInput, ResendBillingNotificationEventRequest, SortQueryInput, UpdateBillingNotificationChannelRequestInput } from '../types.js';
|
|
3
3
|
export interface ListNotificationChannelsQuery {
|
|
4
4
|
/** Determines which page of the collection to retrieve. */
|
|
5
5
|
page?: {
|
|
@@ -44,6 +44,56 @@ export type DeleteNotificationChannelRequest = {
|
|
|
44
44
|
notificationChannelId: string;
|
|
45
45
|
};
|
|
46
46
|
export type DeleteNotificationChannelResponse = void;
|
|
47
|
+
export interface ListNotificationRulesQuery {
|
|
48
|
+
/** Determines which page of the collection to retrieve. */
|
|
49
|
+
page?: {
|
|
50
|
+
size?: number;
|
|
51
|
+
number?: number;
|
|
52
|
+
};
|
|
53
|
+
/**
|
|
54
|
+
* Sort notification rules returned in the response. Supported sort attributes are:
|
|
55
|
+
*
|
|
56
|
+
* - `id` (default)
|
|
57
|
+
* - `type`
|
|
58
|
+
* - `created_at`
|
|
59
|
+
* - `updated_at`
|
|
60
|
+
*
|
|
61
|
+
* The `asc` suffix is optional as the default sort order is ascending. The `desc`
|
|
62
|
+
* suffix is used to specify a descending order.
|
|
63
|
+
*/
|
|
64
|
+
sort?: SortQueryInput;
|
|
65
|
+
/**
|
|
66
|
+
* Filter notification rules returned in the response.
|
|
67
|
+
*
|
|
68
|
+
* Examples:
|
|
69
|
+
*
|
|
70
|
+
* - `filter[type]=entitlements.balance.threshold`
|
|
71
|
+
* - `filter[disabled]=false`
|
|
72
|
+
* - `filter[channel_id]=01ARZ3NDEKTSV4RRFFQ69G5FAV`
|
|
73
|
+
*/
|
|
74
|
+
filter?: ListNotificationRulesParamsFilter;
|
|
75
|
+
}
|
|
76
|
+
export type ListNotificationRulesRequest = AcceptDateStrings<ListNotificationRulesQuery>;
|
|
77
|
+
export type ListNotificationRulesResponse = NotificationRulePagePaginatedResponse;
|
|
78
|
+
export type CreateNotificationRuleRequest = AcceptDateStrings<NotificationRuleRequestInput>;
|
|
79
|
+
export type CreateNotificationRuleResponse = NotificationRule;
|
|
80
|
+
export type GetNotificationRuleRequest = {
|
|
81
|
+
notificationRuleId: string;
|
|
82
|
+
};
|
|
83
|
+
export type GetNotificationRuleResponse = NotificationRule;
|
|
84
|
+
export type UpdateNotificationRuleRequest = AcceptDateStrings<{
|
|
85
|
+
notificationRuleId: string;
|
|
86
|
+
body: NotificationRuleRequestInput;
|
|
87
|
+
}>;
|
|
88
|
+
export type UpdateNotificationRuleResponse = NotificationRule;
|
|
89
|
+
export type DeleteNotificationRuleRequest = {
|
|
90
|
+
notificationRuleId: string;
|
|
91
|
+
};
|
|
92
|
+
export type DeleteNotificationRuleResponse = void;
|
|
93
|
+
export type TestNotificationRuleRequest = {
|
|
94
|
+
notificationRuleId: string;
|
|
95
|
+
};
|
|
96
|
+
export type TestNotificationRuleResponse = NotificationEvent;
|
|
47
97
|
export interface ListNotificationEventsQuery {
|
|
48
98
|
/** Determines which page of the collection to retrieve. */
|
|
49
99
|
page?: {
|