@strimz/shared-types 0.17.0 → 0.19.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.
Files changed (44) hide show
  1. package/dist/analytics.d.cts +141 -141
  2. package/dist/analytics.d.ts +141 -141
  3. package/dist/api-keys.d.cts +14 -14
  4. package/dist/api-keys.d.ts +14 -14
  5. package/dist/compliance.d.cts +8 -8
  6. package/dist/compliance.d.ts +8 -8
  7. package/dist/customers.d.cts +7 -7
  8. package/dist/customers.d.ts +7 -7
  9. package/dist/events.cjs +4 -0
  10. package/dist/events.cjs.map +1 -1
  11. package/dist/events.d.cts +1681 -1486
  12. package/dist/events.d.ts +1681 -1486
  13. package/dist/events.js +4 -1
  14. package/dist/events.js.map +1 -1
  15. package/dist/index.cjs +7 -1
  16. package/dist/index.cjs.map +1 -1
  17. package/dist/index.d.cts +16 -16
  18. package/dist/index.d.ts +16 -16
  19. package/dist/index.js +7 -2
  20. package/dist/index.js.map +1 -1
  21. package/dist/invoices.d.cts +12 -12
  22. package/dist/invoices.d.ts +12 -12
  23. package/dist/merchants.d.cts +26 -26
  24. package/dist/merchants.d.ts +26 -26
  25. package/dist/payment-sessions.d.cts +16 -16
  26. package/dist/payment-sessions.d.ts +16 -16
  27. package/dist/refunds.d.cts +36 -36
  28. package/dist/refunds.d.ts +36 -36
  29. package/dist/storefronts.d.cts +13 -13
  30. package/dist/storefronts.d.ts +13 -13
  31. package/dist/subscriptions.d.cts +32 -32
  32. package/dist/subscriptions.d.ts +32 -32
  33. package/dist/transactions.d.cts +10 -10
  34. package/dist/transactions.d.ts +10 -10
  35. package/dist/webhooks.cjs +1 -0
  36. package/dist/webhooks.cjs.map +1 -1
  37. package/dist/webhooks.d.cts +46 -46
  38. package/dist/webhooks.d.ts +46 -46
  39. package/dist/webhooks.js +1 -0
  40. package/dist/webhooks.js.map +1 -1
  41. package/package.json +2 -2
  42. package/src/events.ts +4 -0
  43. package/src/notifications.ts +2 -0
  44. package/src/webhooks.ts +1 -0
@@ -53,10 +53,10 @@ declare const invoiceSchema: z.ZodObject<{
53
53
  }, "strip", z.ZodTypeAny, {
54
54
  number: string;
55
55
  status: "void" | "draft" | "sent" | "paid" | "overdue";
56
- id: string;
56
+ total: string;
57
+ currency: "USDC" | "EURC";
57
58
  merchantId: string;
58
- sessionId: string | null;
59
- createdAt: string;
59
+ id: string;
60
60
  customerName: string | null;
61
61
  customerEmail: string | null;
62
62
  lineItems: [{
@@ -69,20 +69,20 @@ declare const invoiceSchema: z.ZodObject<{
69
69
  unitAmount: string;
70
70
  }[]];
71
71
  subtotal: string;
72
- total: string;
73
- currency: "USDC" | "EURC";
74
72
  note: string | null;
73
+ sessionId: string | null;
75
74
  dueAt: string;
76
75
  paidAt: string | null;
77
76
  sentAt: string | null;
77
+ createdAt: string;
78
78
  updatedAt: string;
79
79
  }, {
80
80
  number: string;
81
81
  status: "void" | "draft" | "sent" | "paid" | "overdue";
82
- id: string;
82
+ total: string;
83
+ currency: "USDC" | "EURC";
83
84
  merchantId: string;
84
- sessionId: string | null;
85
- createdAt: string;
85
+ id: string;
86
86
  customerName: string | null;
87
87
  customerEmail: string | null;
88
88
  lineItems: [{
@@ -95,12 +95,12 @@ declare const invoiceSchema: z.ZodObject<{
95
95
  unitAmount: string;
96
96
  }[]];
97
97
  subtotal: string;
98
- total: string;
99
- currency: "USDC" | "EURC";
100
98
  note: string | null;
99
+ sessionId: string | null;
101
100
  dueAt: string;
102
101
  paidAt: string | null;
103
102
  sentAt: string | null;
103
+ createdAt: string;
104
104
  updatedAt: string;
105
105
  }>;
106
106
  type Invoice = z.infer<typeof invoiceSchema>;
@@ -124,6 +124,7 @@ declare const createInvoiceInputSchema: z.ZodObject<{
124
124
  note: z.ZodOptional<z.ZodString>;
125
125
  dueInDays: z.ZodDefault<z.ZodNumber>;
126
126
  }, "strip", z.ZodTypeAny, {
127
+ currency: "USDC" | "EURC";
127
128
  lineItems: [{
128
129
  description: string;
129
130
  quantity: number;
@@ -133,12 +134,12 @@ declare const createInvoiceInputSchema: z.ZodObject<{
133
134
  quantity: number;
134
135
  unitAmount: string;
135
136
  }[]];
136
- currency: "USDC" | "EURC";
137
137
  dueInDays: number;
138
138
  customerName?: string | undefined;
139
139
  customerEmail?: string | undefined;
140
140
  note?: string | undefined;
141
141
  }, {
142
+ currency: "USDC" | "EURC";
142
143
  lineItems: [{
143
144
  description: string;
144
145
  quantity: number;
@@ -148,7 +149,6 @@ declare const createInvoiceInputSchema: z.ZodObject<{
148
149
  quantity: number;
149
150
  unitAmount: string;
150
151
  }[]];
151
- currency: "USDC" | "EURC";
152
152
  customerName?: string | undefined;
153
153
  customerEmail?: string | undefined;
154
154
  note?: string | undefined;
@@ -53,10 +53,10 @@ declare const invoiceSchema: z.ZodObject<{
53
53
  }, "strip", z.ZodTypeAny, {
54
54
  number: string;
55
55
  status: "void" | "draft" | "sent" | "paid" | "overdue";
56
- id: string;
56
+ total: string;
57
+ currency: "USDC" | "EURC";
57
58
  merchantId: string;
58
- sessionId: string | null;
59
- createdAt: string;
59
+ id: string;
60
60
  customerName: string | null;
61
61
  customerEmail: string | null;
62
62
  lineItems: [{
@@ -69,20 +69,20 @@ declare const invoiceSchema: z.ZodObject<{
69
69
  unitAmount: string;
70
70
  }[]];
71
71
  subtotal: string;
72
- total: string;
73
- currency: "USDC" | "EURC";
74
72
  note: string | null;
73
+ sessionId: string | null;
75
74
  dueAt: string;
76
75
  paidAt: string | null;
77
76
  sentAt: string | null;
77
+ createdAt: string;
78
78
  updatedAt: string;
79
79
  }, {
80
80
  number: string;
81
81
  status: "void" | "draft" | "sent" | "paid" | "overdue";
82
- id: string;
82
+ total: string;
83
+ currency: "USDC" | "EURC";
83
84
  merchantId: string;
84
- sessionId: string | null;
85
- createdAt: string;
85
+ id: string;
86
86
  customerName: string | null;
87
87
  customerEmail: string | null;
88
88
  lineItems: [{
@@ -95,12 +95,12 @@ declare const invoiceSchema: z.ZodObject<{
95
95
  unitAmount: string;
96
96
  }[]];
97
97
  subtotal: string;
98
- total: string;
99
- currency: "USDC" | "EURC";
100
98
  note: string | null;
99
+ sessionId: string | null;
101
100
  dueAt: string;
102
101
  paidAt: string | null;
103
102
  sentAt: string | null;
103
+ createdAt: string;
104
104
  updatedAt: string;
105
105
  }>;
106
106
  type Invoice = z.infer<typeof invoiceSchema>;
@@ -124,6 +124,7 @@ declare const createInvoiceInputSchema: z.ZodObject<{
124
124
  note: z.ZodOptional<z.ZodString>;
125
125
  dueInDays: z.ZodDefault<z.ZodNumber>;
126
126
  }, "strip", z.ZodTypeAny, {
127
+ currency: "USDC" | "EURC";
127
128
  lineItems: [{
128
129
  description: string;
129
130
  quantity: number;
@@ -133,12 +134,12 @@ declare const createInvoiceInputSchema: z.ZodObject<{
133
134
  quantity: number;
134
135
  unitAmount: string;
135
136
  }[]];
136
- currency: "USDC" | "EURC";
137
137
  dueInDays: number;
138
138
  customerName?: string | undefined;
139
139
  customerEmail?: string | undefined;
140
140
  note?: string | undefined;
141
141
  }, {
142
+ currency: "USDC" | "EURC";
142
143
  lineItems: [{
143
144
  description: string;
144
145
  quantity: number;
@@ -148,7 +149,6 @@ declare const createInvoiceInputSchema: z.ZodObject<{
148
149
  quantity: number;
149
150
  unitAmount: string;
150
151
  }[]];
151
- currency: "USDC" | "EURC";
152
152
  customerName?: string | undefined;
153
153
  customerEmail?: string | undefined;
154
154
  note?: string | undefined;
@@ -32,13 +32,13 @@ declare const merchantSchema: z.ZodObject<{
32
32
  updatedAt: z.ZodString;
33
33
  }, "strip", z.ZodTypeAny, {
34
34
  status: "active" | "suspended" | "closed";
35
+ businessName: string;
36
+ email: string;
35
37
  id: string;
36
- walletAddress: string | null;
37
38
  createdAt: string;
38
39
  updatedAt: string;
39
40
  metadata: Record<string, string | number | boolean | null>;
40
- email: string;
41
- businessName: string;
41
+ walletAddress: string | null;
42
42
  onchainMerchantId: number | null;
43
43
  tier: "free" | "starter" | "growth" | "enterprise";
44
44
  payoutAddress: string | null;
@@ -50,12 +50,12 @@ declare const merchantSchema: z.ZodObject<{
50
50
  whitelabelEnabled: boolean;
51
51
  }, {
52
52
  status: "active" | "suspended" | "closed";
53
+ businessName: string;
54
+ email: string;
53
55
  id: string;
54
- walletAddress: string | null;
55
56
  createdAt: string;
56
57
  updatedAt: string;
57
- email: string;
58
- businessName: string;
58
+ walletAddress: string | null;
59
59
  onchainMerchantId: number | null;
60
60
  tier: "free" | "starter" | "growth" | "enterprise";
61
61
  payoutAddress: string | null;
@@ -75,14 +75,14 @@ declare const createMerchantInputSchema: z.ZodObject<{
75
75
  countryCode: z.ZodOptional<z.ZodString>;
76
76
  websiteUrl: z.ZodOptional<z.ZodString>;
77
77
  }, "strip", z.ZodTypeAny, {
78
- email: string;
79
78
  businessName: string;
79
+ email: string;
80
80
  password: string;
81
81
  countryCode?: string | undefined;
82
82
  websiteUrl?: string | undefined;
83
83
  }, {
84
- email: string;
85
84
  businessName: string;
85
+ email: string;
86
86
  password: string;
87
87
  countryCode?: string | undefined;
88
88
  websiteUrl?: string | undefined;
@@ -126,8 +126,8 @@ declare const updateMerchantInputSchema: z.ZodObject<{
126
126
  subscriptionCharged?: boolean | undefined;
127
127
  }>>;
128
128
  }, "strip", z.ZodTypeAny, {
129
- metadata?: Record<string, string | number | boolean | null> | undefined;
130
129
  businessName?: string | undefined;
130
+ metadata?: Record<string, string | number | boolean | null> | undefined;
131
131
  payoutAddress?: string | undefined;
132
132
  defaultCurrency?: "USDC" | "EURC" | undefined;
133
133
  countryCode?: string | null | undefined;
@@ -138,8 +138,8 @@ declare const updateMerchantInputSchema: z.ZodObject<{
138
138
  subscriptionCharged?: boolean | undefined;
139
139
  } | undefined;
140
140
  }, {
141
- metadata?: Record<string, string | number | boolean | null> | undefined;
142
141
  businessName?: string | undefined;
142
+ metadata?: Record<string, string | number | boolean | null> | undefined;
143
143
  payoutAddress?: string | undefined;
144
144
  defaultCurrency?: "USDC" | "EURC" | undefined;
145
145
  countryCode?: string | null | undefined;
@@ -204,14 +204,14 @@ declare const merchantPublicBrandSchema: z.ZodObject<{
204
204
  logoUrl: z.ZodNullable<z.ZodString>;
205
205
  walletAddress: z.ZodNullable<z.ZodEffects<z.ZodString, string, string>>;
206
206
  }, "strip", z.ZodTypeAny, {
207
+ businessName: string;
207
208
  id: string;
208
209
  walletAddress: string | null;
209
- businessName: string;
210
210
  logoUrl: string | null;
211
211
  }, {
212
+ businessName: string;
212
213
  id: string;
213
214
  walletAddress: string | null;
214
- businessName: string;
215
215
  logoUrl: string | null;
216
216
  }>;
217
217
  type MerchantPublicBrand = z.infer<typeof merchantPublicBrandSchema>;
@@ -288,16 +288,16 @@ declare const merchantMemberSchema: z.ZodObject<{
288
288
  invitedAt: z.ZodString;
289
289
  acceptedAt: z.ZodNullable<z.ZodString>;
290
290
  }, "strip", z.ZodTypeAny, {
291
- id: string;
292
291
  merchantId: string;
293
292
  email: string;
293
+ id: string;
294
294
  role: "owner" | "admin" | "developer" | "read_only";
295
295
  invitedAt: string;
296
296
  acceptedAt: string | null;
297
297
  }, {
298
- id: string;
299
298
  merchantId: string;
300
299
  email: string;
300
+ id: string;
301
301
  role: "owner" | "admin" | "developer" | "read_only";
302
302
  invitedAt: string;
303
303
  acceptedAt: string | null;
@@ -350,13 +350,13 @@ declare const loginOutputSchema: z.ZodObject<{
350
350
  updatedAt: z.ZodString;
351
351
  }, "strip", z.ZodTypeAny, {
352
352
  status: "active" | "suspended" | "closed";
353
+ businessName: string;
354
+ email: string;
353
355
  id: string;
354
- walletAddress: string | null;
355
356
  createdAt: string;
356
357
  updatedAt: string;
357
358
  metadata: Record<string, string | number | boolean | null>;
358
- email: string;
359
- businessName: string;
359
+ walletAddress: string | null;
360
360
  onchainMerchantId: number | null;
361
361
  tier: "free" | "starter" | "growth" | "enterprise";
362
362
  payoutAddress: string | null;
@@ -368,12 +368,12 @@ declare const loginOutputSchema: z.ZodObject<{
368
368
  whitelabelEnabled: boolean;
369
369
  }, {
370
370
  status: "active" | "suspended" | "closed";
371
+ businessName: string;
372
+ email: string;
371
373
  id: string;
372
- walletAddress: string | null;
373
374
  createdAt: string;
374
375
  updatedAt: string;
375
- email: string;
376
- businessName: string;
376
+ walletAddress: string | null;
377
377
  onchainMerchantId: number | null;
378
378
  tier: "free" | "starter" | "growth" | "enterprise";
379
379
  payoutAddress: string | null;
@@ -390,13 +390,13 @@ declare const loginOutputSchema: z.ZodObject<{
390
390
  refreshToken: string;
391
391
  merchant: {
392
392
  status: "active" | "suspended" | "closed";
393
+ businessName: string;
394
+ email: string;
393
395
  id: string;
394
- walletAddress: string | null;
395
396
  createdAt: string;
396
397
  updatedAt: string;
397
398
  metadata: Record<string, string | number | boolean | null>;
398
- email: string;
399
- businessName: string;
399
+ walletAddress: string | null;
400
400
  onchainMerchantId: number | null;
401
401
  tier: "free" | "starter" | "growth" | "enterprise";
402
402
  payoutAddress: string | null;
@@ -412,12 +412,12 @@ declare const loginOutputSchema: z.ZodObject<{
412
412
  refreshToken: string;
413
413
  merchant: {
414
414
  status: "active" | "suspended" | "closed";
415
+ businessName: string;
416
+ email: string;
415
417
  id: string;
416
- walletAddress: string | null;
417
418
  createdAt: string;
418
419
  updatedAt: string;
419
- email: string;
420
- businessName: string;
420
+ walletAddress: string | null;
421
421
  onchainMerchantId: number | null;
422
422
  tier: "free" | "starter" | "growth" | "enterprise";
423
423
  payoutAddress: string | null;
@@ -32,13 +32,13 @@ declare const merchantSchema: z.ZodObject<{
32
32
  updatedAt: z.ZodString;
33
33
  }, "strip", z.ZodTypeAny, {
34
34
  status: "active" | "suspended" | "closed";
35
+ businessName: string;
36
+ email: string;
35
37
  id: string;
36
- walletAddress: string | null;
37
38
  createdAt: string;
38
39
  updatedAt: string;
39
40
  metadata: Record<string, string | number | boolean | null>;
40
- email: string;
41
- businessName: string;
41
+ walletAddress: string | null;
42
42
  onchainMerchantId: number | null;
43
43
  tier: "free" | "starter" | "growth" | "enterprise";
44
44
  payoutAddress: string | null;
@@ -50,12 +50,12 @@ declare const merchantSchema: z.ZodObject<{
50
50
  whitelabelEnabled: boolean;
51
51
  }, {
52
52
  status: "active" | "suspended" | "closed";
53
+ businessName: string;
54
+ email: string;
53
55
  id: string;
54
- walletAddress: string | null;
55
56
  createdAt: string;
56
57
  updatedAt: string;
57
- email: string;
58
- businessName: string;
58
+ walletAddress: string | null;
59
59
  onchainMerchantId: number | null;
60
60
  tier: "free" | "starter" | "growth" | "enterprise";
61
61
  payoutAddress: string | null;
@@ -75,14 +75,14 @@ declare const createMerchantInputSchema: z.ZodObject<{
75
75
  countryCode: z.ZodOptional<z.ZodString>;
76
76
  websiteUrl: z.ZodOptional<z.ZodString>;
77
77
  }, "strip", z.ZodTypeAny, {
78
- email: string;
79
78
  businessName: string;
79
+ email: string;
80
80
  password: string;
81
81
  countryCode?: string | undefined;
82
82
  websiteUrl?: string | undefined;
83
83
  }, {
84
- email: string;
85
84
  businessName: string;
85
+ email: string;
86
86
  password: string;
87
87
  countryCode?: string | undefined;
88
88
  websiteUrl?: string | undefined;
@@ -126,8 +126,8 @@ declare const updateMerchantInputSchema: z.ZodObject<{
126
126
  subscriptionCharged?: boolean | undefined;
127
127
  }>>;
128
128
  }, "strip", z.ZodTypeAny, {
129
- metadata?: Record<string, string | number | boolean | null> | undefined;
130
129
  businessName?: string | undefined;
130
+ metadata?: Record<string, string | number | boolean | null> | undefined;
131
131
  payoutAddress?: string | undefined;
132
132
  defaultCurrency?: "USDC" | "EURC" | undefined;
133
133
  countryCode?: string | null | undefined;
@@ -138,8 +138,8 @@ declare const updateMerchantInputSchema: z.ZodObject<{
138
138
  subscriptionCharged?: boolean | undefined;
139
139
  } | undefined;
140
140
  }, {
141
- metadata?: Record<string, string | number | boolean | null> | undefined;
142
141
  businessName?: string | undefined;
142
+ metadata?: Record<string, string | number | boolean | null> | undefined;
143
143
  payoutAddress?: string | undefined;
144
144
  defaultCurrency?: "USDC" | "EURC" | undefined;
145
145
  countryCode?: string | null | undefined;
@@ -204,14 +204,14 @@ declare const merchantPublicBrandSchema: z.ZodObject<{
204
204
  logoUrl: z.ZodNullable<z.ZodString>;
205
205
  walletAddress: z.ZodNullable<z.ZodEffects<z.ZodString, string, string>>;
206
206
  }, "strip", z.ZodTypeAny, {
207
+ businessName: string;
207
208
  id: string;
208
209
  walletAddress: string | null;
209
- businessName: string;
210
210
  logoUrl: string | null;
211
211
  }, {
212
+ businessName: string;
212
213
  id: string;
213
214
  walletAddress: string | null;
214
- businessName: string;
215
215
  logoUrl: string | null;
216
216
  }>;
217
217
  type MerchantPublicBrand = z.infer<typeof merchantPublicBrandSchema>;
@@ -288,16 +288,16 @@ declare const merchantMemberSchema: z.ZodObject<{
288
288
  invitedAt: z.ZodString;
289
289
  acceptedAt: z.ZodNullable<z.ZodString>;
290
290
  }, "strip", z.ZodTypeAny, {
291
- id: string;
292
291
  merchantId: string;
293
292
  email: string;
293
+ id: string;
294
294
  role: "owner" | "admin" | "developer" | "read_only";
295
295
  invitedAt: string;
296
296
  acceptedAt: string | null;
297
297
  }, {
298
- id: string;
299
298
  merchantId: string;
300
299
  email: string;
300
+ id: string;
301
301
  role: "owner" | "admin" | "developer" | "read_only";
302
302
  invitedAt: string;
303
303
  acceptedAt: string | null;
@@ -350,13 +350,13 @@ declare const loginOutputSchema: z.ZodObject<{
350
350
  updatedAt: z.ZodString;
351
351
  }, "strip", z.ZodTypeAny, {
352
352
  status: "active" | "suspended" | "closed";
353
+ businessName: string;
354
+ email: string;
353
355
  id: string;
354
- walletAddress: string | null;
355
356
  createdAt: string;
356
357
  updatedAt: string;
357
358
  metadata: Record<string, string | number | boolean | null>;
358
- email: string;
359
- businessName: string;
359
+ walletAddress: string | null;
360
360
  onchainMerchantId: number | null;
361
361
  tier: "free" | "starter" | "growth" | "enterprise";
362
362
  payoutAddress: string | null;
@@ -368,12 +368,12 @@ declare const loginOutputSchema: z.ZodObject<{
368
368
  whitelabelEnabled: boolean;
369
369
  }, {
370
370
  status: "active" | "suspended" | "closed";
371
+ businessName: string;
372
+ email: string;
371
373
  id: string;
372
- walletAddress: string | null;
373
374
  createdAt: string;
374
375
  updatedAt: string;
375
- email: string;
376
- businessName: string;
376
+ walletAddress: string | null;
377
377
  onchainMerchantId: number | null;
378
378
  tier: "free" | "starter" | "growth" | "enterprise";
379
379
  payoutAddress: string | null;
@@ -390,13 +390,13 @@ declare const loginOutputSchema: z.ZodObject<{
390
390
  refreshToken: string;
391
391
  merchant: {
392
392
  status: "active" | "suspended" | "closed";
393
+ businessName: string;
394
+ email: string;
393
395
  id: string;
394
- walletAddress: string | null;
395
396
  createdAt: string;
396
397
  updatedAt: string;
397
398
  metadata: Record<string, string | number | boolean | null>;
398
- email: string;
399
- businessName: string;
399
+ walletAddress: string | null;
400
400
  onchainMerchantId: number | null;
401
401
  tier: "free" | "starter" | "growth" | "enterprise";
402
402
  payoutAddress: string | null;
@@ -412,12 +412,12 @@ declare const loginOutputSchema: z.ZodObject<{
412
412
  refreshToken: string;
413
413
  merchant: {
414
414
  status: "active" | "suspended" | "closed";
415
+ businessName: string;
416
+ email: string;
415
417
  id: string;
416
- walletAddress: string | null;
417
418
  createdAt: string;
418
419
  updatedAt: string;
419
- email: string;
420
- businessName: string;
420
+ walletAddress: string | null;
421
421
  onchainMerchantId: number | null;
422
422
  tier: "free" | "starter" | "growth" | "enterprise";
423
423
  payoutAddress: string | null;
@@ -70,16 +70,16 @@ declare const paymentSessionSchema: z.ZodObject<{
70
70
  updatedAt: z.ZodString;
71
71
  }, "strip", z.ZodTypeAny, {
72
72
  status: "created" | "awaiting_payment" | "submitted" | "confirmed" | "failed" | "expired" | "cancelled";
73
- id: string;
73
+ amount: string;
74
+ currency: "USDC" | "EURC";
75
+ customerId: string | null;
74
76
  merchantId: string;
75
- createdAt: string;
76
77
  description: string | null;
77
- currency: "USDC" | "EURC";
78
+ id: string;
79
+ createdAt: string;
78
80
  updatedAt: string;
79
81
  chainMerchantId: string | null;
80
82
  tokenAddress: string | null;
81
- customerId: string | null;
82
- amount: string;
83
83
  feeAmount: string;
84
84
  netAmount: string;
85
85
  payerWalletAddress: string | null;
@@ -94,16 +94,16 @@ declare const paymentSessionSchema: z.ZodObject<{
94
94
  expiresAt: string;
95
95
  }, {
96
96
  status: "created" | "awaiting_payment" | "submitted" | "confirmed" | "failed" | "expired" | "cancelled";
97
- id: string;
97
+ amount: string;
98
+ currency: "USDC" | "EURC";
99
+ customerId: string | null;
98
100
  merchantId: string;
99
- createdAt: string;
100
101
  description: string | null;
101
- currency: "USDC" | "EURC";
102
+ id: string;
103
+ createdAt: string;
102
104
  updatedAt: string;
103
105
  chainMerchantId: string | null;
104
106
  tokenAddress: string | null;
105
- customerId: string | null;
106
- amount: string;
107
107
  feeAmount: string;
108
108
  netAmount: string;
109
109
  payerWalletAddress: string | null;
@@ -127,12 +127,12 @@ declare const createPaymentSessionInputSchema: z.ZodObject<{
127
127
  email: z.ZodOptional<z.ZodString>;
128
128
  externalRef: z.ZodOptional<z.ZodString>;
129
129
  }, "strip", z.ZodTypeAny, {
130
- walletAddress?: string | undefined;
131
130
  email?: string | undefined;
131
+ walletAddress?: string | undefined;
132
132
  externalRef?: string | undefined;
133
133
  }, {
134
- walletAddress?: string | undefined;
135
134
  email?: string | undefined;
135
+ walletAddress?: string | undefined;
136
136
  externalRef?: string | undefined;
137
137
  }>>;
138
138
  successUrl: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
@@ -146,29 +146,29 @@ declare const createPaymentSessionInputSchema: z.ZodObject<{
146
146
  supportedSourceChains: z.ZodOptional<z.ZodArray<z.ZodEnum<["arc", "ethereum", "base", "polygon", "arbitrum", "optimism", "avalanche", "solana"]>, "many">>;
147
147
  metadata: z.ZodOptional<z.ZodDefault<z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>>, Record<string, string | number | boolean | null>, Record<string, string | number | boolean | null>>>>;
148
148
  }, "strip", z.ZodTypeAny, {
149
- currency: "USDC" | "EURC";
150
149
  amount: string;
150
+ currency: "USDC" | "EURC";
151
151
  expiresInMinutes: number;
152
152
  description?: string | undefined;
153
153
  successUrl?: string | undefined;
154
154
  cancelUrl?: string | undefined;
155
155
  metadata?: Record<string, string | number | boolean | null> | undefined;
156
156
  customer?: {
157
- walletAddress?: string | undefined;
158
157
  email?: string | undefined;
158
+ walletAddress?: string | undefined;
159
159
  externalRef?: string | undefined;
160
160
  } | undefined;
161
161
  supportedSourceChains?: ("arc" | "ethereum" | "base" | "polygon" | "arbitrum" | "optimism" | "avalanche" | "solana")[] | undefined;
162
162
  }, {
163
- currency: "USDC" | "EURC";
164
163
  amount: string;
164
+ currency: "USDC" | "EURC";
165
165
  description?: string | undefined;
166
166
  successUrl?: string | undefined;
167
167
  cancelUrl?: string | undefined;
168
168
  metadata?: Record<string, string | number | boolean | null> | undefined;
169
169
  customer?: {
170
- walletAddress?: string | undefined;
171
170
  email?: string | undefined;
171
+ walletAddress?: string | undefined;
172
172
  externalRef?: string | undefined;
173
173
  } | undefined;
174
174
  expiresInMinutes?: number | undefined;
@@ -70,16 +70,16 @@ declare const paymentSessionSchema: z.ZodObject<{
70
70
  updatedAt: z.ZodString;
71
71
  }, "strip", z.ZodTypeAny, {
72
72
  status: "created" | "awaiting_payment" | "submitted" | "confirmed" | "failed" | "expired" | "cancelled";
73
- id: string;
73
+ amount: string;
74
+ currency: "USDC" | "EURC";
75
+ customerId: string | null;
74
76
  merchantId: string;
75
- createdAt: string;
76
77
  description: string | null;
77
- currency: "USDC" | "EURC";
78
+ id: string;
79
+ createdAt: string;
78
80
  updatedAt: string;
79
81
  chainMerchantId: string | null;
80
82
  tokenAddress: string | null;
81
- customerId: string | null;
82
- amount: string;
83
83
  feeAmount: string;
84
84
  netAmount: string;
85
85
  payerWalletAddress: string | null;
@@ -94,16 +94,16 @@ declare const paymentSessionSchema: z.ZodObject<{
94
94
  expiresAt: string;
95
95
  }, {
96
96
  status: "created" | "awaiting_payment" | "submitted" | "confirmed" | "failed" | "expired" | "cancelled";
97
- id: string;
97
+ amount: string;
98
+ currency: "USDC" | "EURC";
99
+ customerId: string | null;
98
100
  merchantId: string;
99
- createdAt: string;
100
101
  description: string | null;
101
- currency: "USDC" | "EURC";
102
+ id: string;
103
+ createdAt: string;
102
104
  updatedAt: string;
103
105
  chainMerchantId: string | null;
104
106
  tokenAddress: string | null;
105
- customerId: string | null;
106
- amount: string;
107
107
  feeAmount: string;
108
108
  netAmount: string;
109
109
  payerWalletAddress: string | null;
@@ -127,12 +127,12 @@ declare const createPaymentSessionInputSchema: z.ZodObject<{
127
127
  email: z.ZodOptional<z.ZodString>;
128
128
  externalRef: z.ZodOptional<z.ZodString>;
129
129
  }, "strip", z.ZodTypeAny, {
130
- walletAddress?: string | undefined;
131
130
  email?: string | undefined;
131
+ walletAddress?: string | undefined;
132
132
  externalRef?: string | undefined;
133
133
  }, {
134
- walletAddress?: string | undefined;
135
134
  email?: string | undefined;
135
+ walletAddress?: string | undefined;
136
136
  externalRef?: string | undefined;
137
137
  }>>;
138
138
  successUrl: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
@@ -146,29 +146,29 @@ declare const createPaymentSessionInputSchema: z.ZodObject<{
146
146
  supportedSourceChains: z.ZodOptional<z.ZodArray<z.ZodEnum<["arc", "ethereum", "base", "polygon", "arbitrum", "optimism", "avalanche", "solana"]>, "many">>;
147
147
  metadata: z.ZodOptional<z.ZodDefault<z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>>, Record<string, string | number | boolean | null>, Record<string, string | number | boolean | null>>>>;
148
148
  }, "strip", z.ZodTypeAny, {
149
- currency: "USDC" | "EURC";
150
149
  amount: string;
150
+ currency: "USDC" | "EURC";
151
151
  expiresInMinutes: number;
152
152
  description?: string | undefined;
153
153
  successUrl?: string | undefined;
154
154
  cancelUrl?: string | undefined;
155
155
  metadata?: Record<string, string | number | boolean | null> | undefined;
156
156
  customer?: {
157
- walletAddress?: string | undefined;
158
157
  email?: string | undefined;
158
+ walletAddress?: string | undefined;
159
159
  externalRef?: string | undefined;
160
160
  } | undefined;
161
161
  supportedSourceChains?: ("arc" | "ethereum" | "base" | "polygon" | "arbitrum" | "optimism" | "avalanche" | "solana")[] | undefined;
162
162
  }, {
163
- currency: "USDC" | "EURC";
164
163
  amount: string;
164
+ currency: "USDC" | "EURC";
165
165
  description?: string | undefined;
166
166
  successUrl?: string | undefined;
167
167
  cancelUrl?: string | undefined;
168
168
  metadata?: Record<string, string | number | boolean | null> | undefined;
169
169
  customer?: {
170
- walletAddress?: string | undefined;
171
170
  email?: string | undefined;
171
+ walletAddress?: string | undefined;
172
172
  externalRef?: string | undefined;
173
173
  } | undefined;
174
174
  expiresInMinutes?: number | undefined;