@strimz/shared-types 0.18.0 → 0.20.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/analytics.cjs +2 -0
- package/dist/analytics.cjs.map +1 -1
- package/dist/analytics.js +2 -0
- package/dist/analytics.js.map +1 -1
- package/dist/events.cjs +2 -0
- package/dist/events.cjs.map +1 -1
- package/dist/events.d.cts +82 -0
- package/dist/events.d.ts +82 -0
- package/dist/events.js +2 -0
- package/dist/events.js.map +1 -1
- package/dist/index.cjs +6 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +10 -10
- package/dist/index.d.ts +10 -10
- package/dist/index.js +6 -2
- package/dist/index.js.map +1 -1
- package/dist/merchants.d.cts +3 -3
- package/dist/merchants.d.ts +3 -3
- package/dist/storefronts.cjs +2 -0
- package/dist/storefronts.cjs.map +1 -1
- package/dist/storefronts.js +2 -0
- package/dist/storefronts.js.map +1 -1
- package/dist/subscriptions.cjs +3 -0
- package/dist/subscriptions.cjs.map +1 -1
- package/dist/subscriptions.d.cts +6 -1
- package/dist/subscriptions.d.ts +6 -1
- package/dist/subscriptions.js +3 -1
- package/dist/subscriptions.js.map +1 -1
- package/package.json +2 -2
- package/src/notifications.ts +2 -0
- package/src/subscriptions.ts +4 -0
package/dist/index.d.cts
CHANGED
|
@@ -4,7 +4,7 @@ export { ApiKey, ApiKeyKind, ApiKeyScope, CreateApiKeyInput, CreateApiKeyOutput,
|
|
|
4
4
|
export { Customer, UpsertCustomerInput, UpsertCustomerParsed, customerSchema, upsertCustomerInputSchema } from './customers.cjs';
|
|
5
5
|
export { CheckoutResultErrorCode, CheckoutResultMessage, CreatePaymentSessionInput, CreatePaymentSessionParsed, PaymentSession, PaymentSessionStatus, SubmitPaymentSessionInput, SubmitPaymentSessionParsed, callbackUrlSchema, checkoutResultErrorCodeSchema, checkoutResultErrorCodes, checkoutResultMessageSchema, createPaymentSessionInputSchema, paymentSessionSchema, paymentSessionStatusSchema, submitPaymentSessionInputSchema } from './payment-sessions.cjs';
|
|
6
6
|
export { Transaction, TransactionKind, TransactionStatus, transactionKindSchema, transactionSchema, transactionStatusSchema } from './transactions.cjs';
|
|
7
|
-
export { CancelSubscriptionInput, CancelSubscriptionParsed, CreateSubscriptionPlanInput, CreateSubscriptionPlanParsed, Subscription, SubscriptionCharge, SubscriptionChargeOutcome, SubscriptionChargeStatus, SubscriptionEnrolmentTerms, SubscriptionInterval, SubscriptionPlan, SubscriptionPlanStatus, SubscriptionResultErrorCode, SubscriptionResultMessage, SubscriptionStatus, SubscriptionStatusResult, UpdateSubscriptionPlanInput, UpdateSubscriptionPlanParsed, cancelSubscriptionInputSchema, createSubscriptionPlanInputSchema, subscriptionChargeOutcomeSchema, subscriptionChargeSchema, subscriptionChargeStatusSchema, subscriptionEnrolmentTermsSchema, subscriptionIntervalSchema, subscriptionPlanSchema, subscriptionPlanStatusSchema, subscriptionResultErrorCodeSchema, subscriptionResultErrorCodes, subscriptionResultMessageSchema, subscriptionSchema, subscriptionStatusResultSchema, subscriptionStatusSchema, updateSubscriptionPlanInputSchema } from './subscriptions.cjs';
|
|
7
|
+
export { CancelSubscriptionInput, CancelSubscriptionParsed, CreateSubscriptionPlanInput, CreateSubscriptionPlanParsed, Subscription, SubscriptionCanceller, SubscriptionCharge, SubscriptionChargeOutcome, SubscriptionChargeStatus, SubscriptionEnrolmentTerms, SubscriptionInterval, SubscriptionPlan, SubscriptionPlanStatus, SubscriptionResultErrorCode, SubscriptionResultMessage, SubscriptionStatus, SubscriptionStatusResult, UpdateSubscriptionPlanInput, UpdateSubscriptionPlanParsed, cancelSubscriptionInputSchema, createSubscriptionPlanInputSchema, subscriptionCancellerSchema, subscriptionChargeOutcomeSchema, subscriptionChargeSchema, subscriptionChargeStatusSchema, subscriptionEnrolmentTermsSchema, subscriptionIntervalSchema, subscriptionPlanSchema, subscriptionPlanStatusSchema, subscriptionResultErrorCodeSchema, subscriptionResultErrorCodes, subscriptionResultMessageSchema, subscriptionSchema, subscriptionStatusResultSchema, subscriptionStatusSchema, updateSubscriptionPlanInputSchema } from './subscriptions.cjs';
|
|
8
8
|
export { CreateRefundInput, CreateRefundParsed, Refund, RefundCreateOutput, RefundReason, RefundSigningInstructions, RefundStatus, SubmitRefundSignatureInput, SubmitRefundSignatureParsed, createRefundInputSchema, refundCreateOutputSchema, refundReasonSchema, refundSchema, refundSigningInstructionsSchema, refundStatusSchema, submitRefundSignatureInputSchema } from './refunds.cjs';
|
|
9
9
|
export { CreateWebhookEndpointInput, CreateWebhookEndpointOutput, CreateWebhookEndpointParsed, ReplayDeliveryInput, ReplayDeliveryParsed, WebhookDelivery, WebhookDeliveryDetail, WebhookDeliveryStatus, WebhookEndpoint, WebhookEndpointStatus, WebhookEventName, createWebhookEndpointInputSchema, createWebhookEndpointOutputSchema, replayDeliveryInputSchema, webhookDeliveryDetailSchema, webhookDeliverySchema, webhookDeliveryStatusSchema, webhookEndpointSchema, webhookEndpointStatusSchema, webhookEventNameSchema } from './webhooks.cjs';
|
|
10
10
|
export { ComplianceLog, ComplianceProvider, ComplianceScreeningContext, ComplianceStatus, complianceLogSchema, complianceProviderSchema, complianceScreeningContextSchema, complianceStatusSchema } from './compliance.cjs';
|
|
@@ -163,7 +163,7 @@ type ContactRequestOutput = z.infer<typeof contactRequestOutputSchema>;
|
|
|
163
163
|
* just be a denormalised copy.
|
|
164
164
|
*/
|
|
165
165
|
|
|
166
|
-
declare const notificationKindSchema: z.ZodEnum<["payment_received", "subscription_started", "refund_processed", "admin_broadcast"]>;
|
|
166
|
+
declare const notificationKindSchema: z.ZodEnum<["payment_received", "subscription_started", "refund_processed", "admin_broadcast", "allowance_low"]>;
|
|
167
167
|
type NotificationKind = z.infer<typeof notificationKindSchema>;
|
|
168
168
|
declare const broadcastAudienceSchema: z.ZodEnum<["all", "merchant"]>;
|
|
169
169
|
type BroadcastAudience = z.infer<typeof broadcastAudienceSchema>;
|
|
@@ -315,7 +315,7 @@ type NotificationBroadcast = z.infer<typeof notificationBroadcastSchema>;
|
|
|
315
315
|
declare const notificationSchema: z.ZodObject<{
|
|
316
316
|
/** Deterministic client id — `{kind}:{sourceId}`. Safe for React keys. */
|
|
317
317
|
id: z.ZodString;
|
|
318
|
-
kind: z.ZodEnum<["payment_received", "subscription_started", "refund_processed", "admin_broadcast"]>;
|
|
318
|
+
kind: z.ZodEnum<["payment_received", "subscription_started", "refund_processed", "admin_broadcast", "allowance_low"]>;
|
|
319
319
|
title: z.ZodString;
|
|
320
320
|
detail: z.ZodString;
|
|
321
321
|
/** Dashboard route the tray links to. */
|
|
@@ -329,7 +329,7 @@ declare const notificationSchema: z.ZodObject<{
|
|
|
329
329
|
}, "strip", z.ZodTypeAny, {
|
|
330
330
|
id: string;
|
|
331
331
|
createdAt: string;
|
|
332
|
-
kind: "payment_received" | "subscription_started" | "refund_processed" | "admin_broadcast";
|
|
332
|
+
kind: "payment_received" | "subscription_started" | "refund_processed" | "admin_broadcast" | "allowance_low";
|
|
333
333
|
title: string;
|
|
334
334
|
detail: string;
|
|
335
335
|
href: string;
|
|
@@ -338,7 +338,7 @@ declare const notificationSchema: z.ZodObject<{
|
|
|
338
338
|
}, {
|
|
339
339
|
id: string;
|
|
340
340
|
createdAt: string;
|
|
341
|
-
kind: "payment_received" | "subscription_started" | "refund_processed" | "admin_broadcast";
|
|
341
|
+
kind: "payment_received" | "subscription_started" | "refund_processed" | "admin_broadcast" | "allowance_low";
|
|
342
342
|
title: string;
|
|
343
343
|
detail: string;
|
|
344
344
|
href: string;
|
|
@@ -350,7 +350,7 @@ declare const notificationListResponseSchema: z.ZodObject<{
|
|
|
350
350
|
data: z.ZodArray<z.ZodObject<{
|
|
351
351
|
/** Deterministic client id — `{kind}:{sourceId}`. Safe for React keys. */
|
|
352
352
|
id: z.ZodString;
|
|
353
|
-
kind: z.ZodEnum<["payment_received", "subscription_started", "refund_processed", "admin_broadcast"]>;
|
|
353
|
+
kind: z.ZodEnum<["payment_received", "subscription_started", "refund_processed", "admin_broadcast", "allowance_low"]>;
|
|
354
354
|
title: z.ZodString;
|
|
355
355
|
detail: z.ZodString;
|
|
356
356
|
/** Dashboard route the tray links to. */
|
|
@@ -364,7 +364,7 @@ declare const notificationListResponseSchema: z.ZodObject<{
|
|
|
364
364
|
}, "strip", z.ZodTypeAny, {
|
|
365
365
|
id: string;
|
|
366
366
|
createdAt: string;
|
|
367
|
-
kind: "payment_received" | "subscription_started" | "refund_processed" | "admin_broadcast";
|
|
367
|
+
kind: "payment_received" | "subscription_started" | "refund_processed" | "admin_broadcast" | "allowance_low";
|
|
368
368
|
title: string;
|
|
369
369
|
detail: string;
|
|
370
370
|
href: string;
|
|
@@ -373,7 +373,7 @@ declare const notificationListResponseSchema: z.ZodObject<{
|
|
|
373
373
|
}, {
|
|
374
374
|
id: string;
|
|
375
375
|
createdAt: string;
|
|
376
|
-
kind: "payment_received" | "subscription_started" | "refund_processed" | "admin_broadcast";
|
|
376
|
+
kind: "payment_received" | "subscription_started" | "refund_processed" | "admin_broadcast" | "allowance_low";
|
|
377
377
|
title: string;
|
|
378
378
|
detail: string;
|
|
379
379
|
href: string;
|
|
@@ -386,7 +386,7 @@ declare const notificationListResponseSchema: z.ZodObject<{
|
|
|
386
386
|
data: {
|
|
387
387
|
id: string;
|
|
388
388
|
createdAt: string;
|
|
389
|
-
kind: "payment_received" | "subscription_started" | "refund_processed" | "admin_broadcast";
|
|
389
|
+
kind: "payment_received" | "subscription_started" | "refund_processed" | "admin_broadcast" | "allowance_low";
|
|
390
390
|
title: string;
|
|
391
391
|
detail: string;
|
|
392
392
|
href: string;
|
|
@@ -399,7 +399,7 @@ declare const notificationListResponseSchema: z.ZodObject<{
|
|
|
399
399
|
data: {
|
|
400
400
|
id: string;
|
|
401
401
|
createdAt: string;
|
|
402
|
-
kind: "payment_received" | "subscription_started" | "refund_processed" | "admin_broadcast";
|
|
402
|
+
kind: "payment_received" | "subscription_started" | "refund_processed" | "admin_broadcast" | "allowance_low";
|
|
403
403
|
title: string;
|
|
404
404
|
detail: string;
|
|
405
405
|
href: string;
|
package/dist/index.d.ts
CHANGED
|
@@ -4,7 +4,7 @@ export { ApiKey, ApiKeyKind, ApiKeyScope, CreateApiKeyInput, CreateApiKeyOutput,
|
|
|
4
4
|
export { Customer, UpsertCustomerInput, UpsertCustomerParsed, customerSchema, upsertCustomerInputSchema } from './customers.js';
|
|
5
5
|
export { CheckoutResultErrorCode, CheckoutResultMessage, CreatePaymentSessionInput, CreatePaymentSessionParsed, PaymentSession, PaymentSessionStatus, SubmitPaymentSessionInput, SubmitPaymentSessionParsed, callbackUrlSchema, checkoutResultErrorCodeSchema, checkoutResultErrorCodes, checkoutResultMessageSchema, createPaymentSessionInputSchema, paymentSessionSchema, paymentSessionStatusSchema, submitPaymentSessionInputSchema } from './payment-sessions.js';
|
|
6
6
|
export { Transaction, TransactionKind, TransactionStatus, transactionKindSchema, transactionSchema, transactionStatusSchema } from './transactions.js';
|
|
7
|
-
export { CancelSubscriptionInput, CancelSubscriptionParsed, CreateSubscriptionPlanInput, CreateSubscriptionPlanParsed, Subscription, SubscriptionCharge, SubscriptionChargeOutcome, SubscriptionChargeStatus, SubscriptionEnrolmentTerms, SubscriptionInterval, SubscriptionPlan, SubscriptionPlanStatus, SubscriptionResultErrorCode, SubscriptionResultMessage, SubscriptionStatus, SubscriptionStatusResult, UpdateSubscriptionPlanInput, UpdateSubscriptionPlanParsed, cancelSubscriptionInputSchema, createSubscriptionPlanInputSchema, subscriptionChargeOutcomeSchema, subscriptionChargeSchema, subscriptionChargeStatusSchema, subscriptionEnrolmentTermsSchema, subscriptionIntervalSchema, subscriptionPlanSchema, subscriptionPlanStatusSchema, subscriptionResultErrorCodeSchema, subscriptionResultErrorCodes, subscriptionResultMessageSchema, subscriptionSchema, subscriptionStatusResultSchema, subscriptionStatusSchema, updateSubscriptionPlanInputSchema } from './subscriptions.js';
|
|
7
|
+
export { CancelSubscriptionInput, CancelSubscriptionParsed, CreateSubscriptionPlanInput, CreateSubscriptionPlanParsed, Subscription, SubscriptionCanceller, SubscriptionCharge, SubscriptionChargeOutcome, SubscriptionChargeStatus, SubscriptionEnrolmentTerms, SubscriptionInterval, SubscriptionPlan, SubscriptionPlanStatus, SubscriptionResultErrorCode, SubscriptionResultMessage, SubscriptionStatus, SubscriptionStatusResult, UpdateSubscriptionPlanInput, UpdateSubscriptionPlanParsed, cancelSubscriptionInputSchema, createSubscriptionPlanInputSchema, subscriptionCancellerSchema, subscriptionChargeOutcomeSchema, subscriptionChargeSchema, subscriptionChargeStatusSchema, subscriptionEnrolmentTermsSchema, subscriptionIntervalSchema, subscriptionPlanSchema, subscriptionPlanStatusSchema, subscriptionResultErrorCodeSchema, subscriptionResultErrorCodes, subscriptionResultMessageSchema, subscriptionSchema, subscriptionStatusResultSchema, subscriptionStatusSchema, updateSubscriptionPlanInputSchema } from './subscriptions.js';
|
|
8
8
|
export { CreateRefundInput, CreateRefundParsed, Refund, RefundCreateOutput, RefundReason, RefundSigningInstructions, RefundStatus, SubmitRefundSignatureInput, SubmitRefundSignatureParsed, createRefundInputSchema, refundCreateOutputSchema, refundReasonSchema, refundSchema, refundSigningInstructionsSchema, refundStatusSchema, submitRefundSignatureInputSchema } from './refunds.js';
|
|
9
9
|
export { CreateWebhookEndpointInput, CreateWebhookEndpointOutput, CreateWebhookEndpointParsed, ReplayDeliveryInput, ReplayDeliveryParsed, WebhookDelivery, WebhookDeliveryDetail, WebhookDeliveryStatus, WebhookEndpoint, WebhookEndpointStatus, WebhookEventName, createWebhookEndpointInputSchema, createWebhookEndpointOutputSchema, replayDeliveryInputSchema, webhookDeliveryDetailSchema, webhookDeliverySchema, webhookDeliveryStatusSchema, webhookEndpointSchema, webhookEndpointStatusSchema, webhookEventNameSchema } from './webhooks.js';
|
|
10
10
|
export { ComplianceLog, ComplianceProvider, ComplianceScreeningContext, ComplianceStatus, complianceLogSchema, complianceProviderSchema, complianceScreeningContextSchema, complianceStatusSchema } from './compliance.js';
|
|
@@ -163,7 +163,7 @@ type ContactRequestOutput = z.infer<typeof contactRequestOutputSchema>;
|
|
|
163
163
|
* just be a denormalised copy.
|
|
164
164
|
*/
|
|
165
165
|
|
|
166
|
-
declare const notificationKindSchema: z.ZodEnum<["payment_received", "subscription_started", "refund_processed", "admin_broadcast"]>;
|
|
166
|
+
declare const notificationKindSchema: z.ZodEnum<["payment_received", "subscription_started", "refund_processed", "admin_broadcast", "allowance_low"]>;
|
|
167
167
|
type NotificationKind = z.infer<typeof notificationKindSchema>;
|
|
168
168
|
declare const broadcastAudienceSchema: z.ZodEnum<["all", "merchant"]>;
|
|
169
169
|
type BroadcastAudience = z.infer<typeof broadcastAudienceSchema>;
|
|
@@ -315,7 +315,7 @@ type NotificationBroadcast = z.infer<typeof notificationBroadcastSchema>;
|
|
|
315
315
|
declare const notificationSchema: z.ZodObject<{
|
|
316
316
|
/** Deterministic client id — `{kind}:{sourceId}`. Safe for React keys. */
|
|
317
317
|
id: z.ZodString;
|
|
318
|
-
kind: z.ZodEnum<["payment_received", "subscription_started", "refund_processed", "admin_broadcast"]>;
|
|
318
|
+
kind: z.ZodEnum<["payment_received", "subscription_started", "refund_processed", "admin_broadcast", "allowance_low"]>;
|
|
319
319
|
title: z.ZodString;
|
|
320
320
|
detail: z.ZodString;
|
|
321
321
|
/** Dashboard route the tray links to. */
|
|
@@ -329,7 +329,7 @@ declare const notificationSchema: z.ZodObject<{
|
|
|
329
329
|
}, "strip", z.ZodTypeAny, {
|
|
330
330
|
id: string;
|
|
331
331
|
createdAt: string;
|
|
332
|
-
kind: "payment_received" | "subscription_started" | "refund_processed" | "admin_broadcast";
|
|
332
|
+
kind: "payment_received" | "subscription_started" | "refund_processed" | "admin_broadcast" | "allowance_low";
|
|
333
333
|
title: string;
|
|
334
334
|
detail: string;
|
|
335
335
|
href: string;
|
|
@@ -338,7 +338,7 @@ declare const notificationSchema: z.ZodObject<{
|
|
|
338
338
|
}, {
|
|
339
339
|
id: string;
|
|
340
340
|
createdAt: string;
|
|
341
|
-
kind: "payment_received" | "subscription_started" | "refund_processed" | "admin_broadcast";
|
|
341
|
+
kind: "payment_received" | "subscription_started" | "refund_processed" | "admin_broadcast" | "allowance_low";
|
|
342
342
|
title: string;
|
|
343
343
|
detail: string;
|
|
344
344
|
href: string;
|
|
@@ -350,7 +350,7 @@ declare const notificationListResponseSchema: z.ZodObject<{
|
|
|
350
350
|
data: z.ZodArray<z.ZodObject<{
|
|
351
351
|
/** Deterministic client id — `{kind}:{sourceId}`. Safe for React keys. */
|
|
352
352
|
id: z.ZodString;
|
|
353
|
-
kind: z.ZodEnum<["payment_received", "subscription_started", "refund_processed", "admin_broadcast"]>;
|
|
353
|
+
kind: z.ZodEnum<["payment_received", "subscription_started", "refund_processed", "admin_broadcast", "allowance_low"]>;
|
|
354
354
|
title: z.ZodString;
|
|
355
355
|
detail: z.ZodString;
|
|
356
356
|
/** Dashboard route the tray links to. */
|
|
@@ -364,7 +364,7 @@ declare const notificationListResponseSchema: z.ZodObject<{
|
|
|
364
364
|
}, "strip", z.ZodTypeAny, {
|
|
365
365
|
id: string;
|
|
366
366
|
createdAt: string;
|
|
367
|
-
kind: "payment_received" | "subscription_started" | "refund_processed" | "admin_broadcast";
|
|
367
|
+
kind: "payment_received" | "subscription_started" | "refund_processed" | "admin_broadcast" | "allowance_low";
|
|
368
368
|
title: string;
|
|
369
369
|
detail: string;
|
|
370
370
|
href: string;
|
|
@@ -373,7 +373,7 @@ declare const notificationListResponseSchema: z.ZodObject<{
|
|
|
373
373
|
}, {
|
|
374
374
|
id: string;
|
|
375
375
|
createdAt: string;
|
|
376
|
-
kind: "payment_received" | "subscription_started" | "refund_processed" | "admin_broadcast";
|
|
376
|
+
kind: "payment_received" | "subscription_started" | "refund_processed" | "admin_broadcast" | "allowance_low";
|
|
377
377
|
title: string;
|
|
378
378
|
detail: string;
|
|
379
379
|
href: string;
|
|
@@ -386,7 +386,7 @@ declare const notificationListResponseSchema: z.ZodObject<{
|
|
|
386
386
|
data: {
|
|
387
387
|
id: string;
|
|
388
388
|
createdAt: string;
|
|
389
|
-
kind: "payment_received" | "subscription_started" | "refund_processed" | "admin_broadcast";
|
|
389
|
+
kind: "payment_received" | "subscription_started" | "refund_processed" | "admin_broadcast" | "allowance_low";
|
|
390
390
|
title: string;
|
|
391
391
|
detail: string;
|
|
392
392
|
href: string;
|
|
@@ -399,7 +399,7 @@ declare const notificationListResponseSchema: z.ZodObject<{
|
|
|
399
399
|
data: {
|
|
400
400
|
id: string;
|
|
401
401
|
createdAt: string;
|
|
402
|
-
kind: "payment_received" | "subscription_started" | "refund_processed" | "admin_broadcast";
|
|
402
|
+
kind: "payment_received" | "subscription_started" | "refund_processed" | "admin_broadcast" | "allowance_low";
|
|
403
403
|
title: string;
|
|
404
404
|
detail: string;
|
|
405
405
|
href: string;
|
package/dist/index.js
CHANGED
|
@@ -459,6 +459,7 @@ var subscriptionStatusSchema = z.enum([
|
|
|
459
459
|
"cancelled",
|
|
460
460
|
"lapsed"
|
|
461
461
|
]);
|
|
462
|
+
var subscriptionCancellerSchema = z.enum(["payer", "merchant", "strimz"]);
|
|
462
463
|
var subscriptionSchema = z.object({
|
|
463
464
|
id: idSchema,
|
|
464
465
|
onchainSubscriptionId: z.number().int().nonnegative().nullable(),
|
|
@@ -477,6 +478,7 @@ var subscriptionSchema = z.object({
|
|
|
477
478
|
nextChargeAt: isoTimestampSchema.nullable(),
|
|
478
479
|
gracePeriodHours: z.number().int().min(0).max(72),
|
|
479
480
|
cancelledAt: isoTimestampSchema.nullable(),
|
|
481
|
+
cancelledBy: subscriptionCancellerSchema.nullable().optional(),
|
|
480
482
|
metadata: metadataSchema,
|
|
481
483
|
createdAt: isoTimestampSchema,
|
|
482
484
|
updatedAt: isoTimestampSchema
|
|
@@ -1064,7 +1066,9 @@ var notificationKindSchema = z.enum([
|
|
|
1064
1066
|
"subscription_started",
|
|
1065
1067
|
"refund_processed",
|
|
1066
1068
|
/** Message an admin broadcast to this merchant (or all merchants). */
|
|
1067
|
-
"admin_broadcast"
|
|
1069
|
+
"admin_broadcast",
|
|
1070
|
+
/** A subscriber's token approval covers fewer than two more charges. */
|
|
1071
|
+
"allowance_low"
|
|
1068
1072
|
]);
|
|
1069
1073
|
var broadcastAudienceSchema = z.enum(["all", "merchant"]);
|
|
1070
1074
|
var createBroadcastInputSchema = z.object({
|
|
@@ -1311,6 +1315,6 @@ var adminTopMerchantsSchema = z.object({
|
|
|
1311
1315
|
data: z.array(adminTopMerchantSchema)
|
|
1312
1316
|
});
|
|
1313
1317
|
|
|
1314
|
-
export { DEFAULT_MERCHANT_EMAIL_PREFS, STATS_VOLUME_DEFAULT_DAYS, STATS_VOLUME_MAX_DAYS, adminMerchantStatsSchema, adminOverviewSchema, adminStatsModeQuerySchema, adminTopMerchantSchema, adminTopMerchantsQuerySchema, adminTopMerchantsSchema, adminVolumeDaySchema, adminVolumeQuerySchema, adminVolumeSeriesSchema, agentActionOutcomeSchema, agentActionTypeSchema, agentActivityLogSchema, agentCapabilitySchema, agentIdentitySchema, agentJobCompletedEventSchema, agentJobDisputedEventSchema, agentJobProposedEventSchema, agentJobSchema, agentJobStatusSchema, agentMerchantConfigSchema, apiKeyKindSchema, apiKeySchema, apiKeyScopeSchema, arcEnvironmentSchema, broadcastAudienceSchema, broadcastListResponseSchema, broadcastSchema, callbackUrlSchema, cancelSubscriptionInputSchema, changeTierInputSchema, checkoutResultErrorCodeSchema, checkoutResultErrorCodes, checkoutResultMessageSchema, complianceLogSchema, complianceProviderSchema, complianceScreeningContextSchema, complianceStatusSchema, complianceWalletBlockedEventSchema, complianceWalletFlaggedEventSchema, contactRequestInputSchema, contactRequestOutputSchema, contactTopicSchema, countryCodeSchema, createAgentJobInputSchema, createApiKeyInputSchema, createApiKeyOutputSchema, createBroadcastInputSchema, createInvoiceInputSchema, createMerchantInputSchema, createPaymentSessionInputSchema, createRefundInputSchema, createStorefrontInputSchema, createStorefrontProductInputSchema, createSubscriptionPlanInputSchema, createWebhookEndpointInputSchema, createWebhookEndpointOutputSchema, currencyAmountsSchema, customerSchema, emailSchema, evmAddressSchema, evmTxHashSchema, forecastConfidenceSchema, forecastSchema, httpUrlSchema, httpsUrlSchema, idSchema, inviteMemberInputSchema, invoiceCreatedEventSchema, invoiceLineItemSchema, invoiceOverdueEventSchema, invoicePaidEventSchema, invoiceSchema, invoiceStatusSchema, isoTimestampSchema, loginInputSchema, loginOutputSchema, makePaginatedSchema, markNotificationsReadResponseSchema, merchantBalanceSchema, merchantEmailPrefsSchema, merchantMemberSchema, merchantPublicBrandSchema, merchantRoleSchema, merchantSchema, merchantStatusSchema, merchantTierSchema, metadataSchema, modeSchema, moneySchema, notificationBroadcastSchema, notificationKindSchema, notificationListResponseSchema, notificationSchema, onboardMerchantInputSchema, paginationInputSchema, paymentCompletedEventSchema, paymentCreatedEventSchema, paymentCurrencies, paymentCurrencySchema, paymentFailedEventSchema, paymentSessionSchema, paymentSessionStatusSchema, refundCompletedEventSchema, refundCreateOutputSchema, refundCreatedEventSchema, refundFailedEventSchema, refundReasonSchema, refundSchema, refundSigningInstructionsSchema, refundStatusSchema, replayDeliveryInputSchema, resolveStatsVolumeRange, rotateApiKeyInputSchema, statsForecastSchema, statsLtvQuerySchema, statsLtvRowSchema, statsLtvSchema, statsMrrSchema, statsSummarySchema, statsVolumeDaySchema, statsVolumeQuerySchema, statsVolumeSchema, storefrontCheckoutInputSchema, storefrontCheckoutResponseSchema, storefrontProductSchema, storefrontProductTypeSchema, storefrontSchema, storefrontStatusSchema, submitPaymentSessionInputSchema, submitRefundSignatureInputSchema, subscriptionCancelledEventSchema, subscriptionChargeFailedEventSchema, subscriptionChargeOutcomeSchema, subscriptionChargeSchema, subscriptionChargeStatusSchema, subscriptionChargedEventSchema, subscriptionCreatedEventSchema, subscriptionEnrolmentTermsSchema, subscriptionIntervalSchema, subscriptionLapsedEventSchema, subscriptionPlanSchema, subscriptionPlanStatusSchema, subscriptionReactivatedEventSchema, subscriptionRecoveryAttemptEventSchema, subscriptionResultErrorCodeSchema, subscriptionResultErrorCodes, subscriptionResultMessageSchema, subscriptionSchema, subscriptionStatusResultSchema, subscriptionStatusSchema, tokenAmountSchema, tokenCapabilitiesSchema, tokenMetadataSchema, tokenPermitNonceSchema, tokenSymbolSchema, transactionKindSchema, transactionSchema, transactionStatusSchema, uintSchema, updateAgentConfigInputSchema, updateMerchantInputSchema, updateSubscriptionPlanInputSchema, upsertCustomerInputSchema, volumeWindowSchema, webhookDeliveryDetailSchema, webhookDeliverySchema, webhookDeliveryStatusSchema, webhookEndpointSchema, webhookEndpointStatusSchema, webhookEventNameSchema, webhookEventSchema };
|
|
1318
|
+
export { DEFAULT_MERCHANT_EMAIL_PREFS, STATS_VOLUME_DEFAULT_DAYS, STATS_VOLUME_MAX_DAYS, adminMerchantStatsSchema, adminOverviewSchema, adminStatsModeQuerySchema, adminTopMerchantSchema, adminTopMerchantsQuerySchema, adminTopMerchantsSchema, adminVolumeDaySchema, adminVolumeQuerySchema, adminVolumeSeriesSchema, agentActionOutcomeSchema, agentActionTypeSchema, agentActivityLogSchema, agentCapabilitySchema, agentIdentitySchema, agentJobCompletedEventSchema, agentJobDisputedEventSchema, agentJobProposedEventSchema, agentJobSchema, agentJobStatusSchema, agentMerchantConfigSchema, apiKeyKindSchema, apiKeySchema, apiKeyScopeSchema, arcEnvironmentSchema, broadcastAudienceSchema, broadcastListResponseSchema, broadcastSchema, callbackUrlSchema, cancelSubscriptionInputSchema, changeTierInputSchema, checkoutResultErrorCodeSchema, checkoutResultErrorCodes, checkoutResultMessageSchema, complianceLogSchema, complianceProviderSchema, complianceScreeningContextSchema, complianceStatusSchema, complianceWalletBlockedEventSchema, complianceWalletFlaggedEventSchema, contactRequestInputSchema, contactRequestOutputSchema, contactTopicSchema, countryCodeSchema, createAgentJobInputSchema, createApiKeyInputSchema, createApiKeyOutputSchema, createBroadcastInputSchema, createInvoiceInputSchema, createMerchantInputSchema, createPaymentSessionInputSchema, createRefundInputSchema, createStorefrontInputSchema, createStorefrontProductInputSchema, createSubscriptionPlanInputSchema, createWebhookEndpointInputSchema, createWebhookEndpointOutputSchema, currencyAmountsSchema, customerSchema, emailSchema, evmAddressSchema, evmTxHashSchema, forecastConfidenceSchema, forecastSchema, httpUrlSchema, httpsUrlSchema, idSchema, inviteMemberInputSchema, invoiceCreatedEventSchema, invoiceLineItemSchema, invoiceOverdueEventSchema, invoicePaidEventSchema, invoiceSchema, invoiceStatusSchema, isoTimestampSchema, loginInputSchema, loginOutputSchema, makePaginatedSchema, markNotificationsReadResponseSchema, merchantBalanceSchema, merchantEmailPrefsSchema, merchantMemberSchema, merchantPublicBrandSchema, merchantRoleSchema, merchantSchema, merchantStatusSchema, merchantTierSchema, metadataSchema, modeSchema, moneySchema, notificationBroadcastSchema, notificationKindSchema, notificationListResponseSchema, notificationSchema, onboardMerchantInputSchema, paginationInputSchema, paymentCompletedEventSchema, paymentCreatedEventSchema, paymentCurrencies, paymentCurrencySchema, paymentFailedEventSchema, paymentSessionSchema, paymentSessionStatusSchema, refundCompletedEventSchema, refundCreateOutputSchema, refundCreatedEventSchema, refundFailedEventSchema, refundReasonSchema, refundSchema, refundSigningInstructionsSchema, refundStatusSchema, replayDeliveryInputSchema, resolveStatsVolumeRange, rotateApiKeyInputSchema, statsForecastSchema, statsLtvQuerySchema, statsLtvRowSchema, statsLtvSchema, statsMrrSchema, statsSummarySchema, statsVolumeDaySchema, statsVolumeQuerySchema, statsVolumeSchema, storefrontCheckoutInputSchema, storefrontCheckoutResponseSchema, storefrontProductSchema, storefrontProductTypeSchema, storefrontSchema, storefrontStatusSchema, submitPaymentSessionInputSchema, submitRefundSignatureInputSchema, subscriptionCancelledEventSchema, subscriptionCancellerSchema, subscriptionChargeFailedEventSchema, subscriptionChargeOutcomeSchema, subscriptionChargeSchema, subscriptionChargeStatusSchema, subscriptionChargedEventSchema, subscriptionCreatedEventSchema, subscriptionEnrolmentTermsSchema, subscriptionIntervalSchema, subscriptionLapsedEventSchema, subscriptionPlanSchema, subscriptionPlanStatusSchema, subscriptionReactivatedEventSchema, subscriptionRecoveryAttemptEventSchema, subscriptionResultErrorCodeSchema, subscriptionResultErrorCodes, subscriptionResultMessageSchema, subscriptionSchema, subscriptionStatusResultSchema, subscriptionStatusSchema, tokenAmountSchema, tokenCapabilitiesSchema, tokenMetadataSchema, tokenPermitNonceSchema, tokenSymbolSchema, transactionKindSchema, transactionSchema, transactionStatusSchema, uintSchema, updateAgentConfigInputSchema, updateMerchantInputSchema, updateSubscriptionPlanInputSchema, upsertCustomerInputSchema, volumeWindowSchema, webhookDeliveryDetailSchema, webhookDeliverySchema, webhookDeliveryStatusSchema, webhookEndpointSchema, webhookEndpointStatusSchema, webhookEventNameSchema, webhookEventSchema };
|
|
1315
1319
|
//# sourceMappingURL=index.js.map
|
|
1316
1320
|
//# sourceMappingURL=index.js.map
|