@strimz/shared-types 0.13.0 → 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.
package/dist/index.d.cts CHANGED
@@ -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
@@ -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;
@@ -53,10 +53,9 @@ declare const invoiceSchema: z.ZodObject<{
53
53
  }, "strip", z.ZodTypeAny, {
54
54
  number: string;
55
55
  status: "void" | "draft" | "sent" | "paid" | "overdue";
56
- total: string;
57
- currency: "USDC" | "EURC";
58
- merchantId: string;
59
56
  id: string;
57
+ merchantId: string;
58
+ createdAt: string;
60
59
  customerName: string | null;
61
60
  customerEmail: string | null;
62
61
  lineItems: [{
@@ -69,20 +68,20 @@ declare const invoiceSchema: z.ZodObject<{
69
68
  unitAmount: string;
70
69
  }[]];
71
70
  subtotal: string;
71
+ total: string;
72
+ currency: "USDC" | "EURC";
72
73
  note: string | null;
73
74
  sessionId: string | null;
74
75
  dueAt: string;
75
76
  paidAt: string | null;
76
77
  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
- total: string;
83
- currency: "USDC" | "EURC";
84
- merchantId: string;
85
82
  id: string;
83
+ merchantId: string;
84
+ createdAt: string;
86
85
  customerName: string | null;
87
86
  customerEmail: string | null;
88
87
  lineItems: [{
@@ -95,12 +94,13 @@ declare const invoiceSchema: z.ZodObject<{
95
94
  unitAmount: string;
96
95
  }[]];
97
96
  subtotal: string;
97
+ total: string;
98
+ currency: "USDC" | "EURC";
98
99
  note: string | null;
99
100
  sessionId: string | null;
100
101
  dueAt: string;
101
102
  paidAt: string | null;
102
103
  sentAt: string | null;
103
- createdAt: string;
104
104
  updatedAt: string;
105
105
  }>;
106
106
  type Invoice = z.infer<typeof invoiceSchema>;
@@ -124,7 +124,6 @@ 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";
128
127
  lineItems: [{
129
128
  description: string;
130
129
  quantity: number;
@@ -134,12 +133,12 @@ declare const createInvoiceInputSchema: z.ZodObject<{
134
133
  quantity: number;
135
134
  unitAmount: string;
136
135
  }[]];
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";
143
142
  lineItems: [{
144
143
  description: string;
145
144
  quantity: number;
@@ -149,6 +148,7 @@ declare const createInvoiceInputSchema: z.ZodObject<{
149
148
  quantity: number;
150
149
  unitAmount: string;
151
150
  }[]];
151
+ currency: "USDC" | "EURC";
152
152
  customerName?: string | undefined;
153
153
  customerEmail?: string | undefined;
154
154
  note?: string | undefined;
@@ -53,10 +53,9 @@ declare const invoiceSchema: z.ZodObject<{
53
53
  }, "strip", z.ZodTypeAny, {
54
54
  number: string;
55
55
  status: "void" | "draft" | "sent" | "paid" | "overdue";
56
- total: string;
57
- currency: "USDC" | "EURC";
58
- merchantId: string;
59
56
  id: string;
57
+ merchantId: string;
58
+ createdAt: string;
60
59
  customerName: string | null;
61
60
  customerEmail: string | null;
62
61
  lineItems: [{
@@ -69,20 +68,20 @@ declare const invoiceSchema: z.ZodObject<{
69
68
  unitAmount: string;
70
69
  }[]];
71
70
  subtotal: string;
71
+ total: string;
72
+ currency: "USDC" | "EURC";
72
73
  note: string | null;
73
74
  sessionId: string | null;
74
75
  dueAt: string;
75
76
  paidAt: string | null;
76
77
  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
- total: string;
83
- currency: "USDC" | "EURC";
84
- merchantId: string;
85
82
  id: string;
83
+ merchantId: string;
84
+ createdAt: string;
86
85
  customerName: string | null;
87
86
  customerEmail: string | null;
88
87
  lineItems: [{
@@ -95,12 +94,13 @@ declare const invoiceSchema: z.ZodObject<{
95
94
  unitAmount: string;
96
95
  }[]];
97
96
  subtotal: string;
97
+ total: string;
98
+ currency: "USDC" | "EURC";
98
99
  note: string | null;
99
100
  sessionId: string | null;
100
101
  dueAt: string;
101
102
  paidAt: string | null;
102
103
  sentAt: string | null;
103
- createdAt: string;
104
104
  updatedAt: string;
105
105
  }>;
106
106
  type Invoice = z.infer<typeof invoiceSchema>;
@@ -124,7 +124,6 @@ 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";
128
127
  lineItems: [{
129
128
  description: string;
130
129
  quantity: number;
@@ -134,12 +133,12 @@ declare const createInvoiceInputSchema: z.ZodObject<{
134
133
  quantity: number;
135
134
  unitAmount: string;
136
135
  }[]];
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";
143
142
  lineItems: [{
144
143
  description: string;
145
144
  quantity: number;
@@ -149,6 +148,7 @@ declare const createInvoiceInputSchema: z.ZodObject<{
149
148
  quantity: number;
150
149
  unitAmount: string;
151
150
  }[]];
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;
37
35
  id: string;
38
36
  createdAt: string;
39
37
  updatedAt: string;
40
38
  metadata: Record<string, string | number | boolean | null>;
41
39
  walletAddress: string | null;
40
+ email: string;
41
+ businessName: string;
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;
55
53
  id: string;
56
54
  createdAt: string;
57
55
  updatedAt: string;
58
56
  walletAddress: string | null;
57
+ email: string;
58
+ businessName: string;
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
- businessName: string;
79
78
  email: string;
79
+ businessName: string;
80
80
  password: string;
81
81
  countryCode?: string | undefined;
82
82
  websiteUrl?: string | undefined;
83
83
  }, {
84
- businessName: string;
85
84
  email: string;
85
+ businessName: 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
- businessName?: string | undefined;
130
129
  metadata?: Record<string, string | number | boolean | null> | undefined;
130
+ businessName?: string | 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
- businessName?: string | undefined;
142
141
  metadata?: Record<string, string | number | boolean | null> | undefined;
142
+ businessName?: string | 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;
208
207
  id: string;
209
208
  walletAddress: string | null;
209
+ businessName: string;
210
210
  logoUrl: string | null;
211
211
  }, {
212
- businessName: string;
213
212
  id: string;
214
213
  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;
291
292
  merchantId: string;
292
293
  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;
298
299
  merchantId: string;
299
300
  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;
355
353
  id: string;
356
354
  createdAt: string;
357
355
  updatedAt: string;
358
356
  metadata: Record<string, string | number | boolean | null>;
359
357
  walletAddress: string | null;
358
+ email: string;
359
+ businessName: string;
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;
373
371
  id: string;
374
372
  createdAt: string;
375
373
  updatedAt: string;
376
374
  walletAddress: string | null;
375
+ email: string;
376
+ businessName: string;
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;
395
393
  id: string;
396
394
  createdAt: string;
397
395
  updatedAt: string;
398
396
  metadata: Record<string, string | number | boolean | null>;
399
397
  walletAddress: string | null;
398
+ email: string;
399
+ businessName: string;
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;
417
415
  id: string;
418
416
  createdAt: string;
419
417
  updatedAt: string;
420
418
  walletAddress: string | null;
419
+ email: string;
420
+ businessName: string;
421
421
  onchainMerchantId: number | null;
422
422
  tier: "free" | "starter" | "growth" | "enterprise";
423
423
  payoutAddress: string | null;