@strimz/shared-types 0.12.3 → 0.13.1

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.
Files changed (47) hide show
  1. package/README.md +10 -8
  2. package/dist/analytics.cjs +26 -2
  3. package/dist/analytics.cjs.map +1 -1
  4. package/dist/analytics.d.cts +136 -136
  5. package/dist/analytics.d.ts +136 -136
  6. package/dist/analytics.js +26 -2
  7. package/dist/analytics.js.map +1 -1
  8. package/dist/api-keys.d.cts +20 -20
  9. package/dist/api-keys.d.ts +20 -20
  10. package/dist/compliance.d.cts +4 -4
  11. package/dist/compliance.d.ts +4 -4
  12. package/dist/customers.d.cts +6 -6
  13. package/dist/customers.d.ts +6 -6
  14. package/dist/events.cjs +26 -2
  15. package/dist/events.cjs.map +1 -1
  16. package/dist/events.d.cts +1435 -1435
  17. package/dist/events.d.ts +1435 -1435
  18. package/dist/events.js +26 -2
  19. package/dist/events.js.map +1 -1
  20. package/dist/index.cjs +29 -2
  21. package/dist/index.cjs.map +1 -1
  22. package/dist/index.d.cts +15 -15
  23. package/dist/index.d.ts +15 -15
  24. package/dist/index.js +27 -3
  25. package/dist/index.js.map +1 -1
  26. package/dist/invoices.d.cts +10 -10
  27. package/dist/invoices.d.ts +10 -10
  28. package/dist/merchants.d.cts +20 -20
  29. package/dist/merchants.d.ts +20 -20
  30. package/dist/payment-sessions.cjs +29 -2
  31. package/dist/payment-sessions.cjs.map +1 -1
  32. package/dist/payment-sessions.d.cts +60 -19
  33. package/dist/payment-sessions.d.ts +60 -19
  34. package/dist/payment-sessions.js +27 -3
  35. package/dist/payment-sessions.js.map +1 -1
  36. package/dist/refunds.d.cts +36 -36
  37. package/dist/refunds.d.ts +36 -36
  38. package/dist/storefronts.d.cts +27 -27
  39. package/dist/storefronts.d.ts +27 -27
  40. package/dist/subscriptions.d.cts +30 -30
  41. package/dist/subscriptions.d.ts +30 -30
  42. package/dist/transactions.d.cts +12 -12
  43. package/dist/transactions.d.ts +12 -12
  44. package/dist/webhooks.d.cts +22 -22
  45. package/dist/webhooks.d.ts +22 -22
  46. package/package.json +2 -2
  47. package/src/payment-sessions.ts +30 -2
package/dist/index.d.cts CHANGED
@@ -2,7 +2,7 @@ export { ArcEnvironment, EvmAddress, EvmTxHash, Id, IsoTimestamp, MerchantTier,
2
2
  export { ChangeTierInput, ChangeTierParsed, CreateMerchantInput, CreateMerchantParsed, DEFAULT_MERCHANT_EMAIL_PREFS, InviteMemberInput, InviteMemberParsed, LoginInput, LoginOutput, LoginParsed, Merchant, MerchantBalanceView, MerchantEmailPrefs, MerchantMember, MerchantPublicBrand, MerchantRole, MerchantStatus, OnboardMerchantInput, OnboardMerchantParsed, UpdateMerchantInput, UpdateMerchantParsed, changeTierInputSchema, createMerchantInputSchema, inviteMemberInputSchema, loginInputSchema, loginOutputSchema, merchantBalanceSchema, merchantEmailPrefsSchema, merchantMemberSchema, merchantPublicBrandSchema, merchantRoleSchema, merchantSchema, merchantStatusSchema, onboardMerchantInputSchema, updateMerchantInputSchema } from './merchants.cjs';
3
3
  export { ApiKey, ApiKeyKind, ApiKeyScope, CreateApiKeyInput, CreateApiKeyOutput, CreateApiKeyParsed, RotateApiKeyInput, RotateApiKeyParsed, apiKeyKindSchema, apiKeySchema, apiKeyScopeSchema, createApiKeyInputSchema, createApiKeyOutputSchema, rotateApiKeyInputSchema } from './api-keys.cjs';
4
4
  export { Customer, UpsertCustomerInput, UpsertCustomerParsed, customerSchema, upsertCustomerInputSchema } from './customers.cjs';
5
- export { CreatePaymentSessionInput, CreatePaymentSessionParsed, PaymentSession, PaymentSessionStatus, SubmitPaymentSessionInput, SubmitPaymentSessionParsed, callbackUrlSchema, createPaymentSessionInputSchema, paymentSessionSchema, paymentSessionStatusSchema, submitPaymentSessionInputSchema } from './payment-sessions.cjs';
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
7
  export { CancelSubscriptionInput, CancelSubscriptionParsed, CreateSubscriptionPlanInput, CreateSubscriptionPlanParsed, Subscription, SubscriptionCharge, SubscriptionChargeOutcome, SubscriptionChargeStatus, SubscriptionEnrolmentTerms, SubscriptionInterval, SubscriptionPlan, SubscriptionPlanStatus, SubscriptionStatus, SubscriptionStatusResult, cancelSubscriptionInputSchema, createSubscriptionPlanInputSchema, subscriptionChargeOutcomeSchema, subscriptionChargeSchema, subscriptionChargeStatusSchema, subscriptionEnrolmentTermsSchema, subscriptionIntervalSchema, subscriptionPlanSchema, subscriptionPlanStatusSchema, subscriptionSchema, subscriptionStatusResultSchema, subscriptionStatusSchema } 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';
@@ -129,15 +129,15 @@ declare const contactRequestInputSchema: z.ZodObject<{
129
129
  turnstileToken: z.ZodOptional<z.ZodString>;
130
130
  }, "strip", z.ZodTypeAny, {
131
131
  message: string;
132
- email: string;
133
132
  name: string;
133
+ email: string;
134
134
  topic: "other" | "sales" | "support" | "partnership" | "security";
135
135
  company?: string | undefined;
136
136
  turnstileToken?: string | undefined;
137
137
  }, {
138
138
  message: string;
139
- email: string;
140
139
  name: string;
140
+ email: string;
141
141
  topic: "other" | "sales" | "support" | "partnership" | "security";
142
142
  company?: string | undefined;
143
143
  turnstileToken?: string | undefined;
@@ -208,8 +208,8 @@ declare const broadcastSchema: z.ZodObject<{
208
208
  emailedAt: z.ZodNullable<z.ZodString>;
209
209
  createdAt: z.ZodString;
210
210
  }, "strip", z.ZodTypeAny, {
211
- merchantId: string | null;
212
211
  id: string;
212
+ merchantId: string | null;
213
213
  createdAt: string;
214
214
  title: string;
215
215
  body: string;
@@ -219,8 +219,8 @@ declare const broadcastSchema: z.ZodObject<{
219
219
  senderEmail: string;
220
220
  emailedAt: string | null;
221
221
  }, {
222
- merchantId: string | null;
223
222
  id: string;
223
+ merchantId: string | null;
224
224
  createdAt: string;
225
225
  title: string;
226
226
  body: string;
@@ -244,8 +244,8 @@ declare const broadcastListResponseSchema: z.ZodObject<{
244
244
  emailedAt: z.ZodNullable<z.ZodString>;
245
245
  createdAt: z.ZodString;
246
246
  }, "strip", z.ZodTypeAny, {
247
- merchantId: string | null;
248
247
  id: string;
248
+ merchantId: string | null;
249
249
  createdAt: string;
250
250
  title: string;
251
251
  body: string;
@@ -255,8 +255,8 @@ declare const broadcastListResponseSchema: z.ZodObject<{
255
255
  senderEmail: string;
256
256
  emailedAt: string | null;
257
257
  }, {
258
- merchantId: string | null;
259
258
  id: string;
259
+ merchantId: string | null;
260
260
  createdAt: string;
261
261
  title: string;
262
262
  body: string;
@@ -268,8 +268,8 @@ declare const broadcastListResponseSchema: z.ZodObject<{
268
268
  }>, "many">;
269
269
  }, "strip", z.ZodTypeAny, {
270
270
  data: {
271
- merchantId: string | null;
272
271
  id: string;
272
+ merchantId: string | null;
273
273
  createdAt: string;
274
274
  title: string;
275
275
  body: string;
@@ -281,8 +281,8 @@ declare const broadcastListResponseSchema: z.ZodObject<{
281
281
  }[];
282
282
  }, {
283
283
  data: {
284
- merchantId: string | null;
285
284
  id: string;
285
+ merchantId: string | null;
286
286
  createdAt: string;
287
287
  title: string;
288
288
  body: string;
@@ -310,8 +310,8 @@ declare const notificationSchema: z.ZodObject<{
310
310
  sourceId: z.ZodOptional<z.ZodString>;
311
311
  }, "strip", z.ZodTypeAny, {
312
312
  id: string;
313
- createdAt: string;
314
313
  kind: "payment_received" | "subscription_started" | "refund_processed" | "admin_broadcast";
314
+ createdAt: string;
315
315
  title: string;
316
316
  detail: string;
317
317
  href: string;
@@ -319,8 +319,8 @@ declare const notificationSchema: z.ZodObject<{
319
319
  sourceId?: string | undefined;
320
320
  }, {
321
321
  id: string;
322
- createdAt: string;
323
322
  kind: "payment_received" | "subscription_started" | "refund_processed" | "admin_broadcast";
323
+ createdAt: string;
324
324
  title: string;
325
325
  detail: string;
326
326
  href: string;
@@ -345,8 +345,8 @@ declare const notificationListResponseSchema: z.ZodObject<{
345
345
  sourceId: z.ZodOptional<z.ZodString>;
346
346
  }, "strip", z.ZodTypeAny, {
347
347
  id: string;
348
- createdAt: string;
349
348
  kind: "payment_received" | "subscription_started" | "refund_processed" | "admin_broadcast";
349
+ createdAt: string;
350
350
  title: string;
351
351
  detail: string;
352
352
  href: string;
@@ -354,8 +354,8 @@ declare const notificationListResponseSchema: z.ZodObject<{
354
354
  sourceId?: string | undefined;
355
355
  }, {
356
356
  id: string;
357
- createdAt: string;
358
357
  kind: "payment_received" | "subscription_started" | "refund_processed" | "admin_broadcast";
358
+ createdAt: string;
359
359
  title: string;
360
360
  detail: string;
361
361
  href: string;
@@ -367,8 +367,8 @@ declare const notificationListResponseSchema: z.ZodObject<{
367
367
  }, "strip", z.ZodTypeAny, {
368
368
  data: {
369
369
  id: string;
370
- createdAt: string;
371
370
  kind: "payment_received" | "subscription_started" | "refund_processed" | "admin_broadcast";
371
+ createdAt: string;
372
372
  title: string;
373
373
  detail: string;
374
374
  href: string;
@@ -380,8 +380,8 @@ declare const notificationListResponseSchema: z.ZodObject<{
380
380
  }, {
381
381
  data: {
382
382
  id: string;
383
- createdAt: string;
384
383
  kind: "payment_received" | "subscription_started" | "refund_processed" | "admin_broadcast";
384
+ createdAt: string;
385
385
  title: string;
386
386
  detail: string;
387
387
  href: string;
package/dist/index.d.ts CHANGED
@@ -2,7 +2,7 @@ export { ArcEnvironment, EvmAddress, EvmTxHash, Id, IsoTimestamp, MerchantTier,
2
2
  export { ChangeTierInput, ChangeTierParsed, CreateMerchantInput, CreateMerchantParsed, DEFAULT_MERCHANT_EMAIL_PREFS, InviteMemberInput, InviteMemberParsed, LoginInput, LoginOutput, LoginParsed, Merchant, MerchantBalanceView, MerchantEmailPrefs, MerchantMember, MerchantPublicBrand, MerchantRole, MerchantStatus, OnboardMerchantInput, OnboardMerchantParsed, UpdateMerchantInput, UpdateMerchantParsed, changeTierInputSchema, createMerchantInputSchema, inviteMemberInputSchema, loginInputSchema, loginOutputSchema, merchantBalanceSchema, merchantEmailPrefsSchema, merchantMemberSchema, merchantPublicBrandSchema, merchantRoleSchema, merchantSchema, merchantStatusSchema, onboardMerchantInputSchema, updateMerchantInputSchema } from './merchants.js';
3
3
  export { ApiKey, ApiKeyKind, ApiKeyScope, CreateApiKeyInput, CreateApiKeyOutput, CreateApiKeyParsed, RotateApiKeyInput, RotateApiKeyParsed, apiKeyKindSchema, apiKeySchema, apiKeyScopeSchema, createApiKeyInputSchema, createApiKeyOutputSchema, rotateApiKeyInputSchema } from './api-keys.js';
4
4
  export { Customer, UpsertCustomerInput, UpsertCustomerParsed, customerSchema, upsertCustomerInputSchema } from './customers.js';
5
- export { CreatePaymentSessionInput, CreatePaymentSessionParsed, PaymentSession, PaymentSessionStatus, SubmitPaymentSessionInput, SubmitPaymentSessionParsed, callbackUrlSchema, createPaymentSessionInputSchema, paymentSessionSchema, paymentSessionStatusSchema, submitPaymentSessionInputSchema } from './payment-sessions.js';
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
7
  export { CancelSubscriptionInput, CancelSubscriptionParsed, CreateSubscriptionPlanInput, CreateSubscriptionPlanParsed, Subscription, SubscriptionCharge, SubscriptionChargeOutcome, SubscriptionChargeStatus, SubscriptionEnrolmentTerms, SubscriptionInterval, SubscriptionPlan, SubscriptionPlanStatus, SubscriptionStatus, SubscriptionStatusResult, cancelSubscriptionInputSchema, createSubscriptionPlanInputSchema, subscriptionChargeOutcomeSchema, subscriptionChargeSchema, subscriptionChargeStatusSchema, subscriptionEnrolmentTermsSchema, subscriptionIntervalSchema, subscriptionPlanSchema, subscriptionPlanStatusSchema, subscriptionSchema, subscriptionStatusResultSchema, subscriptionStatusSchema } 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';
@@ -129,15 +129,15 @@ declare const contactRequestInputSchema: z.ZodObject<{
129
129
  turnstileToken: z.ZodOptional<z.ZodString>;
130
130
  }, "strip", z.ZodTypeAny, {
131
131
  message: string;
132
- email: string;
133
132
  name: string;
133
+ email: string;
134
134
  topic: "other" | "sales" | "support" | "partnership" | "security";
135
135
  company?: string | undefined;
136
136
  turnstileToken?: string | undefined;
137
137
  }, {
138
138
  message: string;
139
- email: string;
140
139
  name: string;
140
+ email: string;
141
141
  topic: "other" | "sales" | "support" | "partnership" | "security";
142
142
  company?: string | undefined;
143
143
  turnstileToken?: string | undefined;
@@ -208,8 +208,8 @@ declare const broadcastSchema: z.ZodObject<{
208
208
  emailedAt: z.ZodNullable<z.ZodString>;
209
209
  createdAt: z.ZodString;
210
210
  }, "strip", z.ZodTypeAny, {
211
- merchantId: string | null;
212
211
  id: string;
212
+ merchantId: string | null;
213
213
  createdAt: string;
214
214
  title: string;
215
215
  body: string;
@@ -219,8 +219,8 @@ declare const broadcastSchema: z.ZodObject<{
219
219
  senderEmail: string;
220
220
  emailedAt: string | null;
221
221
  }, {
222
- merchantId: string | null;
223
222
  id: string;
223
+ merchantId: string | null;
224
224
  createdAt: string;
225
225
  title: string;
226
226
  body: string;
@@ -244,8 +244,8 @@ declare const broadcastListResponseSchema: z.ZodObject<{
244
244
  emailedAt: z.ZodNullable<z.ZodString>;
245
245
  createdAt: z.ZodString;
246
246
  }, "strip", z.ZodTypeAny, {
247
- merchantId: string | null;
248
247
  id: string;
248
+ merchantId: string | null;
249
249
  createdAt: string;
250
250
  title: string;
251
251
  body: string;
@@ -255,8 +255,8 @@ declare const broadcastListResponseSchema: z.ZodObject<{
255
255
  senderEmail: string;
256
256
  emailedAt: string | null;
257
257
  }, {
258
- merchantId: string | null;
259
258
  id: string;
259
+ merchantId: string | null;
260
260
  createdAt: string;
261
261
  title: string;
262
262
  body: string;
@@ -268,8 +268,8 @@ declare const broadcastListResponseSchema: z.ZodObject<{
268
268
  }>, "many">;
269
269
  }, "strip", z.ZodTypeAny, {
270
270
  data: {
271
- merchantId: string | null;
272
271
  id: string;
272
+ merchantId: string | null;
273
273
  createdAt: string;
274
274
  title: string;
275
275
  body: string;
@@ -281,8 +281,8 @@ declare const broadcastListResponseSchema: z.ZodObject<{
281
281
  }[];
282
282
  }, {
283
283
  data: {
284
- merchantId: string | null;
285
284
  id: string;
285
+ merchantId: string | null;
286
286
  createdAt: string;
287
287
  title: string;
288
288
  body: string;
@@ -310,8 +310,8 @@ declare const notificationSchema: z.ZodObject<{
310
310
  sourceId: z.ZodOptional<z.ZodString>;
311
311
  }, "strip", z.ZodTypeAny, {
312
312
  id: string;
313
- createdAt: string;
314
313
  kind: "payment_received" | "subscription_started" | "refund_processed" | "admin_broadcast";
314
+ createdAt: string;
315
315
  title: string;
316
316
  detail: string;
317
317
  href: string;
@@ -319,8 +319,8 @@ declare const notificationSchema: z.ZodObject<{
319
319
  sourceId?: string | undefined;
320
320
  }, {
321
321
  id: string;
322
- createdAt: string;
323
322
  kind: "payment_received" | "subscription_started" | "refund_processed" | "admin_broadcast";
323
+ createdAt: string;
324
324
  title: string;
325
325
  detail: string;
326
326
  href: string;
@@ -345,8 +345,8 @@ declare const notificationListResponseSchema: z.ZodObject<{
345
345
  sourceId: z.ZodOptional<z.ZodString>;
346
346
  }, "strip", z.ZodTypeAny, {
347
347
  id: string;
348
- createdAt: string;
349
348
  kind: "payment_received" | "subscription_started" | "refund_processed" | "admin_broadcast";
349
+ createdAt: string;
350
350
  title: string;
351
351
  detail: string;
352
352
  href: string;
@@ -354,8 +354,8 @@ declare const notificationListResponseSchema: z.ZodObject<{
354
354
  sourceId?: string | undefined;
355
355
  }, {
356
356
  id: string;
357
- createdAt: string;
358
357
  kind: "payment_received" | "subscription_started" | "refund_processed" | "admin_broadcast";
358
+ createdAt: string;
359
359
  title: string;
360
360
  detail: string;
361
361
  href: string;
@@ -367,8 +367,8 @@ declare const notificationListResponseSchema: z.ZodObject<{
367
367
  }, "strip", z.ZodTypeAny, {
368
368
  data: {
369
369
  id: string;
370
- createdAt: string;
371
370
  kind: "payment_received" | "subscription_started" | "refund_processed" | "admin_broadcast";
371
+ createdAt: string;
372
372
  title: string;
373
373
  detail: string;
374
374
  href: string;
@@ -380,8 +380,8 @@ declare const notificationListResponseSchema: z.ZodObject<{
380
380
  }, {
381
381
  data: {
382
382
  id: string;
383
- createdAt: string;
384
383
  kind: "payment_received" | "subscription_started" | "refund_processed" | "admin_broadcast";
384
+ createdAt: string;
385
385
  title: string;
386
386
  detail: string;
387
387
  href: string;
package/dist/index.js CHANGED
@@ -282,8 +282,8 @@ var createPaymentSessionInputSchema = z.object({
282
282
  email: z.string().email().optional(),
283
283
  externalRef: z.string().max(120).optional()
284
284
  }).optional(),
285
- successUrl: z.string().url().optional(),
286
- cancelUrl: z.string().url().optional(),
285
+ successUrl: callbackUrlSchema.optional(),
286
+ cancelUrl: callbackUrlSchema.optional(),
287
287
  /** Minutes until the session expires. Default 30, max 60*24 (one day). */
288
288
  expiresInMinutes: z.number().int().min(1).max(60 * 24).default(30),
289
289
  /**
@@ -310,6 +310,30 @@ var submitPaymentSessionInputSchema = z.object({
310
310
  bridgeTxHash: evmTxHashSchema.optional(),
311
311
  payerWalletAddress: evmAddressSchema
312
312
  });
313
+ var checkoutResultErrorCodes = [
314
+ "load_failed",
315
+ "merchant_not_ready",
316
+ "payment_reverted",
317
+ "unsupported_wallet"
318
+ ];
319
+ var checkoutResultErrorCodeSchema = z.enum(checkoutResultErrorCodes);
320
+ var checkoutResultMessageSchema = z.discriminatedUnion("type", [
321
+ z.object({
322
+ type: z.literal("strimz:checkout:success"),
323
+ sessionId: idSchema,
324
+ txHash: evmTxHashSchema
325
+ }),
326
+ z.object({
327
+ type: z.literal("strimz:checkout:cancel"),
328
+ sessionId: idSchema
329
+ }),
330
+ z.object({
331
+ type: z.literal("strimz:checkout:error"),
332
+ sessionId: idSchema,
333
+ code: checkoutResultErrorCodeSchema,
334
+ message: z.string().min(1).max(500)
335
+ })
336
+ ]);
313
337
  var transactionKindSchema = z.enum([
314
338
  "one_shot",
315
339
  "subscription_charge",
@@ -1255,6 +1279,6 @@ var adminTopMerchantsSchema = z.object({
1255
1279
  data: z.array(adminTopMerchantSchema)
1256
1280
  });
1257
1281
 
1258
- export { DEFAULT_MERCHANT_EMAIL_PREFS, STATS_VOLUME_DEFAULT_DAYS, STATS_VOLUME_MAX_DAYS, adminMerchantStatsSchema, adminOverviewSchema, adminStatsModeQuerySchema, adminTopMerchantSchema, adminTopMerchantsQuerySchema, adminTopMerchantsSchema, adminVolumeDaySchema, adminVolumeQuerySchema, adminVolumeSeriesSchema, agentActionExecutedEventSchema, agentActionOutcomeSchema, agentActionTypeSchema, agentActivityLogSchema, agentCapabilitySchema, agentIdentitySchema, agentJobCompletedEventSchema, agentJobDisputedEventSchema, agentJobProposedEventSchema, agentJobSchema, agentJobStatusSchema, agentMerchantConfigSchema, apiKeyKindSchema, apiKeySchema, apiKeyScopeSchema, arcEnvironmentSchema, broadcastAudienceSchema, broadcastListResponseSchema, broadcastSchema, callbackUrlSchema, cancelSubscriptionInputSchema, changeTierInputSchema, 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, 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, subscriptionRecoveryAttemptEventSchema, subscriptionRecoveryOutcomeEventSchema, subscriptionSchema, subscriptionStatusResultSchema, subscriptionStatusSchema, tokenAmountSchema, tokenCapabilitiesSchema, tokenMetadataSchema, tokenPermitNonceSchema, tokenSymbolSchema, transactionKindSchema, transactionSchema, transactionStatusSchema, uintSchema, updateAgentConfigInputSchema, updateMerchantInputSchema, upsertCustomerInputSchema, volumeWindowSchema, webhookDeliveryDetailSchema, webhookDeliverySchema, webhookDeliveryStatusSchema, webhookEndpointSchema, webhookEndpointStatusSchema, webhookEventNameSchema, webhookEventSchema };
1282
+ export { DEFAULT_MERCHANT_EMAIL_PREFS, STATS_VOLUME_DEFAULT_DAYS, STATS_VOLUME_MAX_DAYS, adminMerchantStatsSchema, adminOverviewSchema, adminStatsModeQuerySchema, adminTopMerchantSchema, adminTopMerchantsQuerySchema, adminTopMerchantsSchema, adminVolumeDaySchema, adminVolumeQuerySchema, adminVolumeSeriesSchema, agentActionExecutedEventSchema, 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, 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, subscriptionRecoveryAttemptEventSchema, subscriptionRecoveryOutcomeEventSchema, subscriptionSchema, subscriptionStatusResultSchema, subscriptionStatusSchema, tokenAmountSchema, tokenCapabilitiesSchema, tokenMetadataSchema, tokenPermitNonceSchema, tokenSymbolSchema, transactionKindSchema, transactionSchema, transactionStatusSchema, uintSchema, updateAgentConfigInputSchema, updateMerchantInputSchema, upsertCustomerInputSchema, volumeWindowSchema, webhookDeliveryDetailSchema, webhookDeliverySchema, webhookDeliveryStatusSchema, webhookEndpointSchema, webhookEndpointStatusSchema, webhookEventNameSchema, webhookEventSchema };
1259
1283
  //# sourceMappingURL=index.js.map
1260
1284
  //# sourceMappingURL=index.js.map