@strimz/shared-types 0.11.0 → 0.11.2

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.
@@ -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" | "growth" | "business" | "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" | "growth" | "business" | "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" | "growth" | "business" | "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" | "growth" | "business" | "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" | "growth" | "business" | "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" | "growth" | "business" | "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
- amount: string;
74
- currency: "USDC" | "EURC";
75
- customerId: string | null;
76
- merchantId: string;
77
- description: string | null;
78
73
  id: string;
74
+ merchantId: string;
79
75
  createdAt: string;
76
+ description: string | null;
77
+ currency: "USDC" | "EURC";
80
78
  updatedAt: string;
81
79
  chainMerchantId: string | null;
82
80
  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
- amount: string;
98
- currency: "USDC" | "EURC";
99
- customerId: string | null;
100
- merchantId: string;
101
- description: string | null;
102
97
  id: string;
98
+ merchantId: string;
103
99
  createdAt: string;
100
+ description: string | null;
101
+ currency: "USDC" | "EURC";
104
102
  updatedAt: string;
105
103
  chainMerchantId: string | null;
106
104
  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
- email?: string | undefined;
131
130
  walletAddress?: string | undefined;
131
+ email?: string | undefined;
132
132
  externalRef?: string | undefined;
133
133
  }, {
134
- email?: string | undefined;
135
134
  walletAddress?: string | undefined;
135
+ email?: string | undefined;
136
136
  externalRef?: string | undefined;
137
137
  }>>;
138
138
  successUrl: z.ZodOptional<z.ZodString>;
@@ -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
- amount: string;
150
149
  currency: "USDC" | "EURC";
150
+ amount: string;
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
- email?: string | undefined;
158
157
  walletAddress?: string | undefined;
158
+ email?: 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
- amount: string;
164
163
  currency: "USDC" | "EURC";
164
+ amount: string;
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
- email?: string | undefined;
171
170
  walletAddress?: string | undefined;
171
+ email?: 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
- amount: string;
74
- currency: "USDC" | "EURC";
75
- customerId: string | null;
76
- merchantId: string;
77
- description: string | null;
78
73
  id: string;
74
+ merchantId: string;
79
75
  createdAt: string;
76
+ description: string | null;
77
+ currency: "USDC" | "EURC";
80
78
  updatedAt: string;
81
79
  chainMerchantId: string | null;
82
80
  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
- amount: string;
98
- currency: "USDC" | "EURC";
99
- customerId: string | null;
100
- merchantId: string;
101
- description: string | null;
102
97
  id: string;
98
+ merchantId: string;
103
99
  createdAt: string;
100
+ description: string | null;
101
+ currency: "USDC" | "EURC";
104
102
  updatedAt: string;
105
103
  chainMerchantId: string | null;
106
104
  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
- email?: string | undefined;
131
130
  walletAddress?: string | undefined;
131
+ email?: string | undefined;
132
132
  externalRef?: string | undefined;
133
133
  }, {
134
- email?: string | undefined;
135
134
  walletAddress?: string | undefined;
135
+ email?: string | undefined;
136
136
  externalRef?: string | undefined;
137
137
  }>>;
138
138
  successUrl: z.ZodOptional<z.ZodString>;
@@ -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
- amount: string;
150
149
  currency: "USDC" | "EURC";
150
+ amount: string;
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
- email?: string | undefined;
158
157
  walletAddress?: string | undefined;
158
+ email?: 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
- amount: string;
164
163
  currency: "USDC" | "EURC";
164
+ amount: string;
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
- email?: string | undefined;
171
170
  walletAddress?: string | undefined;
171
+ email?: string | undefined;
172
172
  externalRef?: string | undefined;
173
173
  } | undefined;
174
174
  expiresInMinutes?: number | undefined;
@@ -29,12 +29,12 @@ declare const refundSchema: z.ZodObject<{
29
29
  completedAt: z.ZodNullable<z.ZodString>;
30
30
  }, "strip", z.ZodTypeAny, {
31
31
  status: "submitted" | "failed" | "cancelled" | "pending" | "awaiting_signature" | "completed";
32
- amount: string;
33
- currency: "USDC" | "EURC";
34
- merchantId: string;
35
32
  id: string;
36
- note: string | null;
33
+ merchantId: string;
37
34
  createdAt: string;
35
+ currency: "USDC" | "EURC";
36
+ note: string | null;
37
+ amount: string;
38
38
  transactionId: string;
39
39
  reason: "customer_request" | "product_issue" | "duplicate_charge" | "fraudulent" | "other";
40
40
  payerAddress: string;
@@ -44,12 +44,12 @@ declare const refundSchema: z.ZodObject<{
44
44
  completedAt: string | null;
45
45
  }, {
46
46
  status: "submitted" | "failed" | "cancelled" | "pending" | "awaiting_signature" | "completed";
47
- amount: string;
48
- currency: "USDC" | "EURC";
49
- merchantId: string;
50
47
  id: string;
51
- note: string | null;
48
+ merchantId: string;
52
49
  createdAt: string;
50
+ currency: "USDC" | "EURC";
51
+ note: string | null;
52
+ amount: string;
53
53
  transactionId: string;
54
54
  reason: "customer_request" | "product_issue" | "duplicate_charge" | "fraudulent" | "other";
55
55
  payerAddress: string;
@@ -100,15 +100,15 @@ declare const refundSigningInstructionsSchema: z.ZodObject<{
100
100
  amount: z.ZodString;
101
101
  note: z.ZodString;
102
102
  }, "strip", z.ZodTypeAny, {
103
- amount: string;
104
- to: string;
105
103
  note: string;
106
- token: string;
107
- }, {
108
104
  amount: string;
105
+ token: string;
109
106
  to: string;
107
+ }, {
110
108
  note: string;
109
+ amount: string;
111
110
  token: string;
111
+ to: string;
112
112
  }>;
113
113
  type RefundSigningInstructions = z.infer<typeof refundSigningInstructionsSchema>;
114
114
  declare const refundCreateOutputSchema: z.ZodObject<{
@@ -129,12 +129,12 @@ declare const refundCreateOutputSchema: z.ZodObject<{
129
129
  completedAt: z.ZodNullable<z.ZodString>;
130
130
  }, "strip", z.ZodTypeAny, {
131
131
  status: "submitted" | "failed" | "cancelled" | "pending" | "awaiting_signature" | "completed";
132
- amount: string;
133
- currency: "USDC" | "EURC";
134
- merchantId: string;
135
132
  id: string;
136
- note: string | null;
133
+ merchantId: string;
137
134
  createdAt: string;
135
+ currency: "USDC" | "EURC";
136
+ note: string | null;
137
+ amount: string;
138
138
  transactionId: string;
139
139
  reason: "customer_request" | "product_issue" | "duplicate_charge" | "fraudulent" | "other";
140
140
  payerAddress: string;
@@ -144,12 +144,12 @@ declare const refundCreateOutputSchema: z.ZodObject<{
144
144
  completedAt: string | null;
145
145
  }, {
146
146
  status: "submitted" | "failed" | "cancelled" | "pending" | "awaiting_signature" | "completed";
147
- amount: string;
148
- currency: "USDC" | "EURC";
149
- merchantId: string;
150
147
  id: string;
151
- note: string | null;
148
+ merchantId: string;
152
149
  createdAt: string;
150
+ currency: "USDC" | "EURC";
151
+ note: string | null;
152
+ amount: string;
153
153
  transactionId: string;
154
154
  reason: "customer_request" | "product_issue" | "duplicate_charge" | "fraudulent" | "other";
155
155
  payerAddress: string;
@@ -164,25 +164,25 @@ declare const refundCreateOutputSchema: z.ZodObject<{
164
164
  amount: z.ZodString;
165
165
  note: z.ZodString;
166
166
  }, "strip", z.ZodTypeAny, {
167
- amount: string;
168
- to: string;
169
167
  note: string;
170
- token: string;
171
- }, {
172
168
  amount: string;
169
+ token: string;
173
170
  to: string;
171
+ }, {
174
172
  note: string;
173
+ amount: string;
175
174
  token: string;
175
+ to: string;
176
176
  }>;
177
177
  }, "strip", z.ZodTypeAny, {
178
178
  refund: {
179
179
  status: "submitted" | "failed" | "cancelled" | "pending" | "awaiting_signature" | "completed";
180
- amount: string;
181
- currency: "USDC" | "EURC";
182
- merchantId: string;
183
180
  id: string;
184
- note: string | null;
181
+ merchantId: string;
185
182
  createdAt: string;
183
+ currency: "USDC" | "EURC";
184
+ note: string | null;
185
+ amount: string;
186
186
  transactionId: string;
187
187
  reason: "customer_request" | "product_issue" | "duplicate_charge" | "fraudulent" | "other";
188
188
  payerAddress: string;
@@ -192,20 +192,20 @@ declare const refundCreateOutputSchema: z.ZodObject<{
192
192
  completedAt: string | null;
193
193
  };
194
194
  signingInstructions: {
195
- amount: string;
196
- to: string;
197
195
  note: string;
196
+ amount: string;
198
197
  token: string;
198
+ to: string;
199
199
  };
200
200
  }, {
201
201
  refund: {
202
202
  status: "submitted" | "failed" | "cancelled" | "pending" | "awaiting_signature" | "completed";
203
- amount: string;
204
- currency: "USDC" | "EURC";
205
- merchantId: string;
206
203
  id: string;
207
- note: string | null;
204
+ merchantId: string;
208
205
  createdAt: string;
206
+ currency: "USDC" | "EURC";
207
+ note: string | null;
208
+ amount: string;
209
209
  transactionId: string;
210
210
  reason: "customer_request" | "product_issue" | "duplicate_charge" | "fraudulent" | "other";
211
211
  payerAddress: string;
@@ -215,10 +215,10 @@ declare const refundCreateOutputSchema: z.ZodObject<{
215
215
  completedAt: string | null;
216
216
  };
217
217
  signingInstructions: {
218
- amount: string;
219
- to: string;
220
218
  note: string;
219
+ amount: string;
221
220
  token: string;
221
+ to: string;
222
222
  };
223
223
  }>;
224
224
  type RefundCreateOutput = z.infer<typeof refundCreateOutputSchema>;
package/dist/refunds.d.ts CHANGED
@@ -29,12 +29,12 @@ declare const refundSchema: z.ZodObject<{
29
29
  completedAt: z.ZodNullable<z.ZodString>;
30
30
  }, "strip", z.ZodTypeAny, {
31
31
  status: "submitted" | "failed" | "cancelled" | "pending" | "awaiting_signature" | "completed";
32
- amount: string;
33
- currency: "USDC" | "EURC";
34
- merchantId: string;
35
32
  id: string;
36
- note: string | null;
33
+ merchantId: string;
37
34
  createdAt: string;
35
+ currency: "USDC" | "EURC";
36
+ note: string | null;
37
+ amount: string;
38
38
  transactionId: string;
39
39
  reason: "customer_request" | "product_issue" | "duplicate_charge" | "fraudulent" | "other";
40
40
  payerAddress: string;
@@ -44,12 +44,12 @@ declare const refundSchema: z.ZodObject<{
44
44
  completedAt: string | null;
45
45
  }, {
46
46
  status: "submitted" | "failed" | "cancelled" | "pending" | "awaiting_signature" | "completed";
47
- amount: string;
48
- currency: "USDC" | "EURC";
49
- merchantId: string;
50
47
  id: string;
51
- note: string | null;
48
+ merchantId: string;
52
49
  createdAt: string;
50
+ currency: "USDC" | "EURC";
51
+ note: string | null;
52
+ amount: string;
53
53
  transactionId: string;
54
54
  reason: "customer_request" | "product_issue" | "duplicate_charge" | "fraudulent" | "other";
55
55
  payerAddress: string;
@@ -100,15 +100,15 @@ declare const refundSigningInstructionsSchema: z.ZodObject<{
100
100
  amount: z.ZodString;
101
101
  note: z.ZodString;
102
102
  }, "strip", z.ZodTypeAny, {
103
- amount: string;
104
- to: string;
105
103
  note: string;
106
- token: string;
107
- }, {
108
104
  amount: string;
105
+ token: string;
109
106
  to: string;
107
+ }, {
110
108
  note: string;
109
+ amount: string;
111
110
  token: string;
111
+ to: string;
112
112
  }>;
113
113
  type RefundSigningInstructions = z.infer<typeof refundSigningInstructionsSchema>;
114
114
  declare const refundCreateOutputSchema: z.ZodObject<{
@@ -129,12 +129,12 @@ declare const refundCreateOutputSchema: z.ZodObject<{
129
129
  completedAt: z.ZodNullable<z.ZodString>;
130
130
  }, "strip", z.ZodTypeAny, {
131
131
  status: "submitted" | "failed" | "cancelled" | "pending" | "awaiting_signature" | "completed";
132
- amount: string;
133
- currency: "USDC" | "EURC";
134
- merchantId: string;
135
132
  id: string;
136
- note: string | null;
133
+ merchantId: string;
137
134
  createdAt: string;
135
+ currency: "USDC" | "EURC";
136
+ note: string | null;
137
+ amount: string;
138
138
  transactionId: string;
139
139
  reason: "customer_request" | "product_issue" | "duplicate_charge" | "fraudulent" | "other";
140
140
  payerAddress: string;
@@ -144,12 +144,12 @@ declare const refundCreateOutputSchema: z.ZodObject<{
144
144
  completedAt: string | null;
145
145
  }, {
146
146
  status: "submitted" | "failed" | "cancelled" | "pending" | "awaiting_signature" | "completed";
147
- amount: string;
148
- currency: "USDC" | "EURC";
149
- merchantId: string;
150
147
  id: string;
151
- note: string | null;
148
+ merchantId: string;
152
149
  createdAt: string;
150
+ currency: "USDC" | "EURC";
151
+ note: string | null;
152
+ amount: string;
153
153
  transactionId: string;
154
154
  reason: "customer_request" | "product_issue" | "duplicate_charge" | "fraudulent" | "other";
155
155
  payerAddress: string;
@@ -164,25 +164,25 @@ declare const refundCreateOutputSchema: z.ZodObject<{
164
164
  amount: z.ZodString;
165
165
  note: z.ZodString;
166
166
  }, "strip", z.ZodTypeAny, {
167
- amount: string;
168
- to: string;
169
167
  note: string;
170
- token: string;
171
- }, {
172
168
  amount: string;
169
+ token: string;
173
170
  to: string;
171
+ }, {
174
172
  note: string;
173
+ amount: string;
175
174
  token: string;
175
+ to: string;
176
176
  }>;
177
177
  }, "strip", z.ZodTypeAny, {
178
178
  refund: {
179
179
  status: "submitted" | "failed" | "cancelled" | "pending" | "awaiting_signature" | "completed";
180
- amount: string;
181
- currency: "USDC" | "EURC";
182
- merchantId: string;
183
180
  id: string;
184
- note: string | null;
181
+ merchantId: string;
185
182
  createdAt: string;
183
+ currency: "USDC" | "EURC";
184
+ note: string | null;
185
+ amount: string;
186
186
  transactionId: string;
187
187
  reason: "customer_request" | "product_issue" | "duplicate_charge" | "fraudulent" | "other";
188
188
  payerAddress: string;
@@ -192,20 +192,20 @@ declare const refundCreateOutputSchema: z.ZodObject<{
192
192
  completedAt: string | null;
193
193
  };
194
194
  signingInstructions: {
195
- amount: string;
196
- to: string;
197
195
  note: string;
196
+ amount: string;
198
197
  token: string;
198
+ to: string;
199
199
  };
200
200
  }, {
201
201
  refund: {
202
202
  status: "submitted" | "failed" | "cancelled" | "pending" | "awaiting_signature" | "completed";
203
- amount: string;
204
- currency: "USDC" | "EURC";
205
- merchantId: string;
206
203
  id: string;
207
- note: string | null;
204
+ merchantId: string;
208
205
  createdAt: string;
206
+ currency: "USDC" | "EURC";
207
+ note: string | null;
208
+ amount: string;
209
209
  transactionId: string;
210
210
  reason: "customer_request" | "product_issue" | "duplicate_charge" | "fraudulent" | "other";
211
211
  payerAddress: string;
@@ -215,10 +215,10 @@ declare const refundCreateOutputSchema: z.ZodObject<{
215
215
  completedAt: string | null;
216
216
  };
217
217
  signingInstructions: {
218
- amount: string;
219
- to: string;
220
218
  note: string;
219
+ amount: string;
221
220
  token: string;
221
+ to: string;
222
222
  };
223
223
  }>;
224
224
  type RefundCreateOutput = z.infer<typeof refundCreateOutputSchema>;