@strimz/shared-types 0.9.0 → 0.10.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/agents.cjs +42 -13
- package/dist/agents.cjs.map +1 -1
- package/dist/agents.d.cts +37 -37
- package/dist/agents.d.ts +37 -37
- package/dist/agents.js +42 -13
- package/dist/agents.js.map +1 -1
- package/dist/analytics.cjs +1 -1
- package/dist/analytics.cjs.map +1 -1
- package/dist/analytics.d.cts +78 -78
- package/dist/analytics.d.ts +78 -78
- package/dist/analytics.js +1 -1
- package/dist/analytics.js.map +1 -1
- package/dist/api-keys.cjs +1 -1
- package/dist/api-keys.cjs.map +1 -1
- package/dist/api-keys.js +1 -1
- package/dist/api-keys.js.map +1 -1
- package/dist/common.cjs +1 -1
- package/dist/common.cjs.map +1 -1
- package/dist/common.d.cts +1 -1
- package/dist/common.d.ts +1 -1
- package/dist/common.js +1 -1
- package/dist/common.js.map +1 -1
- package/dist/compliance.cjs +1 -1
- package/dist/compliance.cjs.map +1 -1
- package/dist/compliance.js +1 -1
- package/dist/compliance.js.map +1 -1
- package/dist/customers.cjs +1 -1
- package/dist/customers.cjs.map +1 -1
- package/dist/customers.js +1 -1
- package/dist/customers.js.map +1 -1
- package/dist/events.cjs +43 -14
- package/dist/events.cjs.map +1 -1
- package/dist/events.d.cts +90 -90
- package/dist/events.d.ts +90 -90
- package/dist/events.js +43 -14
- package/dist/events.js.map +1 -1
- package/dist/index.cjs +42 -13
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +42 -13
- package/dist/index.js.map +1 -1
- package/dist/invoices.cjs +1 -1
- package/dist/invoices.cjs.map +1 -1
- package/dist/invoices.d.cts +5 -5
- package/dist/invoices.d.ts +5 -5
- package/dist/invoices.js +1 -1
- package/dist/invoices.js.map +1 -1
- package/dist/merchants.cjs +1 -1
- package/dist/merchants.cjs.map +1 -1
- package/dist/merchants.js +1 -1
- package/dist/merchants.js.map +1 -1
- package/dist/payment-sessions.cjs +1 -1
- package/dist/payment-sessions.cjs.map +1 -1
- package/dist/payment-sessions.d.cts +4 -4
- package/dist/payment-sessions.d.ts +4 -4
- package/dist/payment-sessions.js +1 -1
- package/dist/payment-sessions.js.map +1 -1
- package/dist/refunds.cjs +1 -1
- package/dist/refunds.cjs.map +1 -1
- package/dist/refunds.d.cts +5 -5
- package/dist/refunds.d.ts +5 -5
- package/dist/refunds.js +1 -1
- package/dist/refunds.js.map +1 -1
- package/dist/storefronts.cjs +1 -1
- package/dist/storefronts.cjs.map +1 -1
- package/dist/storefronts.d.cts +2 -2
- package/dist/storefronts.d.ts +2 -2
- package/dist/storefronts.js +1 -1
- package/dist/storefronts.js.map +1 -1
- package/dist/subscriptions.cjs +1 -1
- package/dist/subscriptions.cjs.map +1 -1
- package/dist/subscriptions.d.cts +4 -4
- package/dist/subscriptions.d.ts +4 -4
- package/dist/subscriptions.js +1 -1
- package/dist/subscriptions.js.map +1 -1
- package/dist/transactions.cjs +1 -1
- package/dist/transactions.cjs.map +1 -1
- package/dist/transactions.d.cts +3 -3
- package/dist/transactions.d.ts +3 -3
- package/dist/transactions.js +1 -1
- package/dist/transactions.js.map +1 -1
- package/dist/webhooks.cjs +1 -1
- package/dist/webhooks.cjs.map +1 -1
- package/dist/webhooks.js +1 -1
- package/dist/webhooks.js.map +1 -1
- package/package.json +1 -1
- package/src/agents.ts +49 -14
- package/src/common.ts +0 -1
package/dist/events.d.cts
CHANGED
|
@@ -25,10 +25,10 @@ declare const paymentCreatedEventSchema: z.ZodObject<{
|
|
|
25
25
|
tokenAddress: z.ZodNullable<z.ZodEffects<z.ZodString, string, string>>;
|
|
26
26
|
customerId: z.ZodNullable<z.ZodString>;
|
|
27
27
|
status: z.ZodEnum<["created", "awaiting_payment", "submitted", "confirmed", "failed", "expired", "cancelled"]>;
|
|
28
|
-
amount: z.
|
|
28
|
+
amount: z.ZodString;
|
|
29
29
|
currency: z.ZodEnum<["USDC", "EURC"]>;
|
|
30
|
-
feeAmount: z.
|
|
31
|
-
netAmount: z.
|
|
30
|
+
feeAmount: z.ZodString;
|
|
31
|
+
netAmount: z.ZodString;
|
|
32
32
|
description: z.ZodNullable<z.ZodString>;
|
|
33
33
|
payerWalletAddress: z.ZodNullable<z.ZodEffects<z.ZodString, string, string>>;
|
|
34
34
|
payerEmail: z.ZodNullable<z.ZodString>;
|
|
@@ -168,10 +168,10 @@ declare const paymentCompletedEventSchema: z.ZodObject<{
|
|
|
168
168
|
tokenAddress: z.ZodNullable<z.ZodEffects<z.ZodString, string, string>>;
|
|
169
169
|
customerId: z.ZodNullable<z.ZodString>;
|
|
170
170
|
status: z.ZodEnum<["created", "awaiting_payment", "submitted", "confirmed", "failed", "expired", "cancelled"]>;
|
|
171
|
-
amount: z.
|
|
171
|
+
amount: z.ZodString;
|
|
172
172
|
currency: z.ZodEnum<["USDC", "EURC"]>;
|
|
173
|
-
feeAmount: z.
|
|
174
|
-
netAmount: z.
|
|
173
|
+
feeAmount: z.ZodString;
|
|
174
|
+
netAmount: z.ZodString;
|
|
175
175
|
description: z.ZodNullable<z.ZodString>;
|
|
176
176
|
payerWalletAddress: z.ZodNullable<z.ZodEffects<z.ZodString, string, string>>;
|
|
177
177
|
payerEmail: z.ZodNullable<z.ZodString>;
|
|
@@ -244,9 +244,9 @@ declare const paymentCompletedEventSchema: z.ZodObject<{
|
|
|
244
244
|
subscriptionChargeId: z.ZodNullable<z.ZodString>;
|
|
245
245
|
refundId: z.ZodNullable<z.ZodString>;
|
|
246
246
|
customerId: z.ZodNullable<z.ZodString>;
|
|
247
|
-
amount: z.
|
|
248
|
-
feeAmount: z.
|
|
249
|
-
netAmount: z.
|
|
247
|
+
amount: z.ZodString;
|
|
248
|
+
feeAmount: z.ZodString;
|
|
249
|
+
netAmount: z.ZodString;
|
|
250
250
|
currency: z.ZodEnum<["USDC", "EURC"]>;
|
|
251
251
|
payerAddress: z.ZodEffects<z.ZodString, string, string>;
|
|
252
252
|
merchantAddress: z.ZodEffects<z.ZodString, string, string>;
|
|
@@ -513,10 +513,10 @@ declare const paymentFailedEventSchema: z.ZodObject<{
|
|
|
513
513
|
tokenAddress: z.ZodNullable<z.ZodEffects<z.ZodString, string, string>>;
|
|
514
514
|
customerId: z.ZodNullable<z.ZodString>;
|
|
515
515
|
status: z.ZodEnum<["created", "awaiting_payment", "submitted", "confirmed", "failed", "expired", "cancelled"]>;
|
|
516
|
-
amount: z.
|
|
516
|
+
amount: z.ZodString;
|
|
517
517
|
currency: z.ZodEnum<["USDC", "EURC"]>;
|
|
518
|
-
feeAmount: z.
|
|
519
|
-
netAmount: z.
|
|
518
|
+
feeAmount: z.ZodString;
|
|
519
|
+
netAmount: z.ZodString;
|
|
520
520
|
description: z.ZodNullable<z.ZodString>;
|
|
521
521
|
payerWalletAddress: z.ZodNullable<z.ZodEffects<z.ZodString, string, string>>;
|
|
522
522
|
payerEmail: z.ZodNullable<z.ZodString>;
|
|
@@ -719,7 +719,7 @@ declare const subscriptionCreatedEventSchema: z.ZodObject<{
|
|
|
719
719
|
status: z.ZodEnum<["trialing", "active", "at_risk", "paused", "cancelled", "lapsed"]>;
|
|
720
720
|
payerAddress: z.ZodEffects<z.ZodString, string, string>;
|
|
721
721
|
currency: z.ZodEnum<["USDC", "EURC"]>;
|
|
722
|
-
amount: z.
|
|
722
|
+
amount: z.ZodString;
|
|
723
723
|
interval: z.ZodEnum<["daily", "weekly", "monthly", "quarterly", "yearly"]>;
|
|
724
724
|
intervalCount: z.ZodNumber;
|
|
725
725
|
trialEndsAt: z.ZodNullable<z.ZodString>;
|
|
@@ -847,7 +847,7 @@ declare const subscriptionChargedEventSchema: z.ZodObject<{
|
|
|
847
847
|
status: z.ZodEnum<["trialing", "active", "at_risk", "paused", "cancelled", "lapsed"]>;
|
|
848
848
|
payerAddress: z.ZodEffects<z.ZodString, string, string>;
|
|
849
849
|
currency: z.ZodEnum<["USDC", "EURC"]>;
|
|
850
|
-
amount: z.
|
|
850
|
+
amount: z.ZodString;
|
|
851
851
|
interval: z.ZodEnum<["daily", "weekly", "monthly", "quarterly", "yearly"]>;
|
|
852
852
|
intervalCount: z.ZodNumber;
|
|
853
853
|
trialEndsAt: z.ZodNullable<z.ZodString>;
|
|
@@ -909,7 +909,7 @@ declare const subscriptionChargedEventSchema: z.ZodObject<{
|
|
|
909
909
|
chargeAttemptId: z.ZodString;
|
|
910
910
|
periodStartAt: z.ZodString;
|
|
911
911
|
periodEndAt: z.ZodString;
|
|
912
|
-
amount: z.
|
|
912
|
+
amount: z.ZodString;
|
|
913
913
|
currency: z.ZodEnum<["USDC", "EURC"]>;
|
|
914
914
|
status: z.ZodEnum<["pending", "in_flight", "succeeded", "failed", "retrying", "abandoned"]>;
|
|
915
915
|
outcome: z.ZodNullable<z.ZodEnum<["charged", "insufficient_funds", "revoked_approval", "cancelled", "not_due", "ended", "duplicate", "unknown", "merchant_inactive", "transfer_failed", "skipped"]>>;
|
|
@@ -967,9 +967,9 @@ declare const subscriptionChargedEventSchema: z.ZodObject<{
|
|
|
967
967
|
subscriptionChargeId: z.ZodNullable<z.ZodString>;
|
|
968
968
|
refundId: z.ZodNullable<z.ZodString>;
|
|
969
969
|
customerId: z.ZodNullable<z.ZodString>;
|
|
970
|
-
amount: z.
|
|
971
|
-
feeAmount: z.
|
|
972
|
-
netAmount: z.
|
|
970
|
+
amount: z.ZodString;
|
|
971
|
+
feeAmount: z.ZodString;
|
|
972
|
+
netAmount: z.ZodString;
|
|
973
973
|
currency: z.ZodEnum<["USDC", "EURC"]>;
|
|
974
974
|
payerAddress: z.ZodEffects<z.ZodString, string, string>;
|
|
975
975
|
merchantAddress: z.ZodEffects<z.ZodString, string, string>;
|
|
@@ -1302,7 +1302,7 @@ declare const subscriptionChargeFailedEventSchema: z.ZodObject<{
|
|
|
1302
1302
|
status: z.ZodEnum<["trialing", "active", "at_risk", "paused", "cancelled", "lapsed"]>;
|
|
1303
1303
|
payerAddress: z.ZodEffects<z.ZodString, string, string>;
|
|
1304
1304
|
currency: z.ZodEnum<["USDC", "EURC"]>;
|
|
1305
|
-
amount: z.
|
|
1305
|
+
amount: z.ZodString;
|
|
1306
1306
|
interval: z.ZodEnum<["daily", "weekly", "monthly", "quarterly", "yearly"]>;
|
|
1307
1307
|
intervalCount: z.ZodNumber;
|
|
1308
1308
|
trialEndsAt: z.ZodNullable<z.ZodString>;
|
|
@@ -1364,7 +1364,7 @@ declare const subscriptionChargeFailedEventSchema: z.ZodObject<{
|
|
|
1364
1364
|
chargeAttemptId: z.ZodString;
|
|
1365
1365
|
periodStartAt: z.ZodString;
|
|
1366
1366
|
periodEndAt: z.ZodString;
|
|
1367
|
-
amount: z.
|
|
1367
|
+
amount: z.ZodString;
|
|
1368
1368
|
currency: z.ZodEnum<["USDC", "EURC"]>;
|
|
1369
1369
|
status: z.ZodEnum<["pending", "in_flight", "succeeded", "failed", "retrying", "abandoned"]>;
|
|
1370
1370
|
outcome: z.ZodNullable<z.ZodEnum<["charged", "insufficient_funds", "revoked_approval", "cancelled", "not_due", "ended", "duplicate", "unknown", "merchant_inactive", "transfer_failed", "skipped"]>>;
|
|
@@ -1612,7 +1612,7 @@ declare const subscriptionRecoveryAttemptEventSchema: z.ZodObject<{
|
|
|
1612
1612
|
status: z.ZodEnum<["trialing", "active", "at_risk", "paused", "cancelled", "lapsed"]>;
|
|
1613
1613
|
payerAddress: z.ZodEffects<z.ZodString, string, string>;
|
|
1614
1614
|
currency: z.ZodEnum<["USDC", "EURC"]>;
|
|
1615
|
-
amount: z.
|
|
1615
|
+
amount: z.ZodString;
|
|
1616
1616
|
interval: z.ZodEnum<["daily", "weekly", "monthly", "quarterly", "yearly"]>;
|
|
1617
1617
|
intervalCount: z.ZodNumber;
|
|
1618
1618
|
trialEndsAt: z.ZodNullable<z.ZodString>;
|
|
@@ -1796,7 +1796,7 @@ declare const subscriptionRecoveryOutcomeEventSchema: z.ZodObject<{
|
|
|
1796
1796
|
status: z.ZodEnum<["trialing", "active", "at_risk", "paused", "cancelled", "lapsed"]>;
|
|
1797
1797
|
payerAddress: z.ZodEffects<z.ZodString, string, string>;
|
|
1798
1798
|
currency: z.ZodEnum<["USDC", "EURC"]>;
|
|
1799
|
-
amount: z.
|
|
1799
|
+
amount: z.ZodString;
|
|
1800
1800
|
interval: z.ZodEnum<["daily", "weekly", "monthly", "quarterly", "yearly"]>;
|
|
1801
1801
|
intervalCount: z.ZodNumber;
|
|
1802
1802
|
trialEndsAt: z.ZodNullable<z.ZodString>;
|
|
@@ -1979,7 +1979,7 @@ declare const subscriptionCancelledEventSchema: z.ZodObject<{
|
|
|
1979
1979
|
status: z.ZodEnum<["trialing", "active", "at_risk", "paused", "cancelled", "lapsed"]>;
|
|
1980
1980
|
payerAddress: z.ZodEffects<z.ZodString, string, string>;
|
|
1981
1981
|
currency: z.ZodEnum<["USDC", "EURC"]>;
|
|
1982
|
-
amount: z.
|
|
1982
|
+
amount: z.ZodString;
|
|
1983
1983
|
interval: z.ZodEnum<["daily", "weekly", "monthly", "quarterly", "yearly"]>;
|
|
1984
1984
|
intervalCount: z.ZodNumber;
|
|
1985
1985
|
trialEndsAt: z.ZodNullable<z.ZodString>;
|
|
@@ -2106,7 +2106,7 @@ declare const subscriptionLapsedEventSchema: z.ZodObject<{
|
|
|
2106
2106
|
status: z.ZodEnum<["trialing", "active", "at_risk", "paused", "cancelled", "lapsed"]>;
|
|
2107
2107
|
payerAddress: z.ZodEffects<z.ZodString, string, string>;
|
|
2108
2108
|
currency: z.ZodEnum<["USDC", "EURC"]>;
|
|
2109
|
-
amount: z.
|
|
2109
|
+
amount: z.ZodString;
|
|
2110
2110
|
interval: z.ZodEnum<["daily", "weekly", "monthly", "quarterly", "yearly"]>;
|
|
2111
2111
|
intervalCount: z.ZodNumber;
|
|
2112
2112
|
trialEndsAt: z.ZodNullable<z.ZodString>;
|
|
@@ -2228,7 +2228,7 @@ declare const refundCreatedEventSchema: z.ZodObject<{
|
|
|
2228
2228
|
id: z.ZodString;
|
|
2229
2229
|
merchantId: z.ZodString;
|
|
2230
2230
|
transactionId: z.ZodString;
|
|
2231
|
-
amount: z.
|
|
2231
|
+
amount: z.ZodString;
|
|
2232
2232
|
currency: z.ZodEnum<["USDC", "EURC"]>;
|
|
2233
2233
|
reason: z.ZodEnum<["customer_request", "product_issue", "duplicate_charge", "fraudulent", "other"]>;
|
|
2234
2234
|
note: z.ZodNullable<z.ZodString>;
|
|
@@ -2326,7 +2326,7 @@ declare const refundCompletedEventSchema: z.ZodObject<{
|
|
|
2326
2326
|
id: z.ZodString;
|
|
2327
2327
|
merchantId: z.ZodString;
|
|
2328
2328
|
transactionId: z.ZodString;
|
|
2329
|
-
amount: z.
|
|
2329
|
+
amount: z.ZodString;
|
|
2330
2330
|
currency: z.ZodEnum<["USDC", "EURC"]>;
|
|
2331
2331
|
reason: z.ZodEnum<["customer_request", "product_issue", "duplicate_charge", "fraudulent", "other"]>;
|
|
2332
2332
|
note: z.ZodNullable<z.ZodString>;
|
|
@@ -2378,9 +2378,9 @@ declare const refundCompletedEventSchema: z.ZodObject<{
|
|
|
2378
2378
|
subscriptionChargeId: z.ZodNullable<z.ZodString>;
|
|
2379
2379
|
refundId: z.ZodNullable<z.ZodString>;
|
|
2380
2380
|
customerId: z.ZodNullable<z.ZodString>;
|
|
2381
|
-
amount: z.
|
|
2382
|
-
feeAmount: z.
|
|
2383
|
-
netAmount: z.
|
|
2381
|
+
amount: z.ZodString;
|
|
2382
|
+
feeAmount: z.ZodString;
|
|
2383
|
+
netAmount: z.ZodString;
|
|
2384
2384
|
currency: z.ZodEnum<["USDC", "EURC"]>;
|
|
2385
2385
|
payerAddress: z.ZodEffects<z.ZodString, string, string>;
|
|
2386
2386
|
merchantAddress: z.ZodEffects<z.ZodString, string, string>;
|
|
@@ -2608,7 +2608,7 @@ declare const refundFailedEventSchema: z.ZodObject<{
|
|
|
2608
2608
|
id: z.ZodString;
|
|
2609
2609
|
merchantId: z.ZodString;
|
|
2610
2610
|
transactionId: z.ZodString;
|
|
2611
|
-
amount: z.
|
|
2611
|
+
amount: z.ZodString;
|
|
2612
2612
|
currency: z.ZodEnum<["USDC", "EURC"]>;
|
|
2613
2613
|
reason: z.ZodEnum<["customer_request", "product_issue", "duplicate_charge", "fraudulent", "other"]>;
|
|
2614
2614
|
note: z.ZodNullable<z.ZodString>;
|
|
@@ -2754,7 +2754,7 @@ declare const invoiceCreatedEventSchema: z.ZodObject<{
|
|
|
2754
2754
|
lineItems: z.ZodArray<z.ZodObject<{
|
|
2755
2755
|
description: z.ZodString;
|
|
2756
2756
|
quantity: z.ZodNumber;
|
|
2757
|
-
unitAmount: z.
|
|
2757
|
+
unitAmount: z.ZodString;
|
|
2758
2758
|
}, "strip", z.ZodTypeAny, {
|
|
2759
2759
|
description: string;
|
|
2760
2760
|
quantity: number;
|
|
@@ -2764,8 +2764,8 @@ declare const invoiceCreatedEventSchema: z.ZodObject<{
|
|
|
2764
2764
|
quantity: number;
|
|
2765
2765
|
unitAmount: string;
|
|
2766
2766
|
}>, "atleastone">;
|
|
2767
|
-
subtotal: z.
|
|
2768
|
-
total: z.
|
|
2767
|
+
subtotal: z.ZodString;
|
|
2768
|
+
total: z.ZodString;
|
|
2769
2769
|
currency: z.ZodEnum<["USDC", "EURC"]>;
|
|
2770
2770
|
status: z.ZodEnum<["draft", "sent", "paid", "overdue", "void"]>;
|
|
2771
2771
|
note: z.ZodNullable<z.ZodString>;
|
|
@@ -2911,7 +2911,7 @@ declare const invoicePaidEventSchema: z.ZodObject<{
|
|
|
2911
2911
|
lineItems: z.ZodArray<z.ZodObject<{
|
|
2912
2912
|
description: z.ZodString;
|
|
2913
2913
|
quantity: z.ZodNumber;
|
|
2914
|
-
unitAmount: z.
|
|
2914
|
+
unitAmount: z.ZodString;
|
|
2915
2915
|
}, "strip", z.ZodTypeAny, {
|
|
2916
2916
|
description: string;
|
|
2917
2917
|
quantity: number;
|
|
@@ -2921,8 +2921,8 @@ declare const invoicePaidEventSchema: z.ZodObject<{
|
|
|
2921
2921
|
quantity: number;
|
|
2922
2922
|
unitAmount: string;
|
|
2923
2923
|
}>, "atleastone">;
|
|
2924
|
-
subtotal: z.
|
|
2925
|
-
total: z.
|
|
2924
|
+
subtotal: z.ZodString;
|
|
2925
|
+
total: z.ZodString;
|
|
2926
2926
|
currency: z.ZodEnum<["USDC", "EURC"]>;
|
|
2927
2927
|
status: z.ZodEnum<["draft", "sent", "paid", "overdue", "void"]>;
|
|
2928
2928
|
note: z.ZodNullable<z.ZodString>;
|
|
@@ -2995,9 +2995,9 @@ declare const invoicePaidEventSchema: z.ZodObject<{
|
|
|
2995
2995
|
subscriptionChargeId: z.ZodNullable<z.ZodString>;
|
|
2996
2996
|
refundId: z.ZodNullable<z.ZodString>;
|
|
2997
2997
|
customerId: z.ZodNullable<z.ZodString>;
|
|
2998
|
-
amount: z.
|
|
2999
|
-
feeAmount: z.
|
|
3000
|
-
netAmount: z.
|
|
2998
|
+
amount: z.ZodString;
|
|
2999
|
+
feeAmount: z.ZodString;
|
|
3000
|
+
netAmount: z.ZodString;
|
|
3001
3001
|
currency: z.ZodEnum<["USDC", "EURC"]>;
|
|
3002
3002
|
payerAddress: z.ZodEffects<z.ZodString, string, string>;
|
|
3003
3003
|
merchantAddress: z.ZodEffects<z.ZodString, string, string>;
|
|
@@ -3273,7 +3273,7 @@ declare const invoiceOverdueEventSchema: z.ZodObject<{
|
|
|
3273
3273
|
lineItems: z.ZodArray<z.ZodObject<{
|
|
3274
3274
|
description: z.ZodString;
|
|
3275
3275
|
quantity: z.ZodNumber;
|
|
3276
|
-
unitAmount: z.
|
|
3276
|
+
unitAmount: z.ZodString;
|
|
3277
3277
|
}, "strip", z.ZodTypeAny, {
|
|
3278
3278
|
description: string;
|
|
3279
3279
|
quantity: number;
|
|
@@ -3283,8 +3283,8 @@ declare const invoiceOverdueEventSchema: z.ZodObject<{
|
|
|
3283
3283
|
quantity: number;
|
|
3284
3284
|
unitAmount: string;
|
|
3285
3285
|
}>, "atleastone">;
|
|
3286
|
-
subtotal: z.
|
|
3287
|
-
total: z.
|
|
3286
|
+
subtotal: z.ZodString;
|
|
3287
|
+
total: z.ZodString;
|
|
3288
3288
|
currency: z.ZodEnum<["USDC", "EURC"]>;
|
|
3289
3289
|
status: z.ZodEnum<["draft", "sent", "paid", "overdue", "void"]>;
|
|
3290
3290
|
note: z.ZodNullable<z.ZodString>;
|
|
@@ -3503,7 +3503,7 @@ declare const agentJobProposedEventSchema: z.ZodObject<{
|
|
|
3503
3503
|
onchainJobId: z.ZodNullable<z.ZodNumber>;
|
|
3504
3504
|
vendorAddress: z.ZodEffects<z.ZodString, string, string>;
|
|
3505
3505
|
description: z.ZodString;
|
|
3506
|
-
amount: z.
|
|
3506
|
+
amount: z.ZodString;
|
|
3507
3507
|
currency: z.ZodEnum<["USDC", "EURC"]>;
|
|
3508
3508
|
status: z.ZodEnum<["proposed", "accepted", "funded", "in_progress", "delivered", "approved", "completed", "disputed", "cancelled", "resolved", "reclaimed"]>;
|
|
3509
3509
|
assessorAddress: z.ZodEffects<z.ZodString, string, string>;
|
|
@@ -3600,7 +3600,7 @@ declare const agentJobCompletedEventSchema: z.ZodObject<{
|
|
|
3600
3600
|
onchainJobId: z.ZodNullable<z.ZodNumber>;
|
|
3601
3601
|
vendorAddress: z.ZodEffects<z.ZodString, string, string>;
|
|
3602
3602
|
description: z.ZodString;
|
|
3603
|
-
amount: z.
|
|
3603
|
+
amount: z.ZodString;
|
|
3604
3604
|
currency: z.ZodEnum<["USDC", "EURC"]>;
|
|
3605
3605
|
status: z.ZodEnum<["proposed", "accepted", "funded", "in_progress", "delivered", "approved", "completed", "disputed", "cancelled", "resolved", "reclaimed"]>;
|
|
3606
3606
|
assessorAddress: z.ZodEffects<z.ZodString, string, string>;
|
|
@@ -3697,7 +3697,7 @@ declare const agentJobDisputedEventSchema: z.ZodObject<{
|
|
|
3697
3697
|
onchainJobId: z.ZodNullable<z.ZodNumber>;
|
|
3698
3698
|
vendorAddress: z.ZodEffects<z.ZodString, string, string>;
|
|
3699
3699
|
description: z.ZodString;
|
|
3700
|
-
amount: z.
|
|
3700
|
+
amount: z.ZodString;
|
|
3701
3701
|
currency: z.ZodEnum<["USDC", "EURC"]>;
|
|
3702
3702
|
status: z.ZodEnum<["proposed", "accepted", "funded", "in_progress", "delivered", "approved", "completed", "disputed", "cancelled", "resolved", "reclaimed"]>;
|
|
3703
3703
|
assessorAddress: z.ZodEffects<z.ZodString, string, string>;
|
|
@@ -3969,10 +3969,10 @@ declare const webhookEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
3969
3969
|
tokenAddress: z.ZodNullable<z.ZodEffects<z.ZodString, string, string>>;
|
|
3970
3970
|
customerId: z.ZodNullable<z.ZodString>;
|
|
3971
3971
|
status: z.ZodEnum<["created", "awaiting_payment", "submitted", "confirmed", "failed", "expired", "cancelled"]>;
|
|
3972
|
-
amount: z.
|
|
3972
|
+
amount: z.ZodString;
|
|
3973
3973
|
currency: z.ZodEnum<["USDC", "EURC"]>;
|
|
3974
|
-
feeAmount: z.
|
|
3975
|
-
netAmount: z.
|
|
3974
|
+
feeAmount: z.ZodString;
|
|
3975
|
+
netAmount: z.ZodString;
|
|
3976
3976
|
description: z.ZodNullable<z.ZodString>;
|
|
3977
3977
|
payerWalletAddress: z.ZodNullable<z.ZodEffects<z.ZodString, string, string>>;
|
|
3978
3978
|
payerEmail: z.ZodNullable<z.ZodString>;
|
|
@@ -4111,10 +4111,10 @@ declare const webhookEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
4111
4111
|
tokenAddress: z.ZodNullable<z.ZodEffects<z.ZodString, string, string>>;
|
|
4112
4112
|
customerId: z.ZodNullable<z.ZodString>;
|
|
4113
4113
|
status: z.ZodEnum<["created", "awaiting_payment", "submitted", "confirmed", "failed", "expired", "cancelled"]>;
|
|
4114
|
-
amount: z.
|
|
4114
|
+
amount: z.ZodString;
|
|
4115
4115
|
currency: z.ZodEnum<["USDC", "EURC"]>;
|
|
4116
|
-
feeAmount: z.
|
|
4117
|
-
netAmount: z.
|
|
4116
|
+
feeAmount: z.ZodString;
|
|
4117
|
+
netAmount: z.ZodString;
|
|
4118
4118
|
description: z.ZodNullable<z.ZodString>;
|
|
4119
4119
|
payerWalletAddress: z.ZodNullable<z.ZodEffects<z.ZodString, string, string>>;
|
|
4120
4120
|
payerEmail: z.ZodNullable<z.ZodString>;
|
|
@@ -4187,9 +4187,9 @@ declare const webhookEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
4187
4187
|
subscriptionChargeId: z.ZodNullable<z.ZodString>;
|
|
4188
4188
|
refundId: z.ZodNullable<z.ZodString>;
|
|
4189
4189
|
customerId: z.ZodNullable<z.ZodString>;
|
|
4190
|
-
amount: z.
|
|
4191
|
-
feeAmount: z.
|
|
4192
|
-
netAmount: z.
|
|
4190
|
+
amount: z.ZodString;
|
|
4191
|
+
feeAmount: z.ZodString;
|
|
4192
|
+
netAmount: z.ZodString;
|
|
4193
4193
|
currency: z.ZodEnum<["USDC", "EURC"]>;
|
|
4194
4194
|
payerAddress: z.ZodEffects<z.ZodString, string, string>;
|
|
4195
4195
|
merchantAddress: z.ZodEffects<z.ZodString, string, string>;
|
|
@@ -4455,10 +4455,10 @@ declare const webhookEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
4455
4455
|
tokenAddress: z.ZodNullable<z.ZodEffects<z.ZodString, string, string>>;
|
|
4456
4456
|
customerId: z.ZodNullable<z.ZodString>;
|
|
4457
4457
|
status: z.ZodEnum<["created", "awaiting_payment", "submitted", "confirmed", "failed", "expired", "cancelled"]>;
|
|
4458
|
-
amount: z.
|
|
4458
|
+
amount: z.ZodString;
|
|
4459
4459
|
currency: z.ZodEnum<["USDC", "EURC"]>;
|
|
4460
|
-
feeAmount: z.
|
|
4461
|
-
netAmount: z.
|
|
4460
|
+
feeAmount: z.ZodString;
|
|
4461
|
+
netAmount: z.ZodString;
|
|
4462
4462
|
description: z.ZodNullable<z.ZodString>;
|
|
4463
4463
|
payerWalletAddress: z.ZodNullable<z.ZodEffects<z.ZodString, string, string>>;
|
|
4464
4464
|
payerEmail: z.ZodNullable<z.ZodString>;
|
|
@@ -4660,7 +4660,7 @@ declare const webhookEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
4660
4660
|
status: z.ZodEnum<["trialing", "active", "at_risk", "paused", "cancelled", "lapsed"]>;
|
|
4661
4661
|
payerAddress: z.ZodEffects<z.ZodString, string, string>;
|
|
4662
4662
|
currency: z.ZodEnum<["USDC", "EURC"]>;
|
|
4663
|
-
amount: z.
|
|
4663
|
+
amount: z.ZodString;
|
|
4664
4664
|
interval: z.ZodEnum<["daily", "weekly", "monthly", "quarterly", "yearly"]>;
|
|
4665
4665
|
intervalCount: z.ZodNumber;
|
|
4666
4666
|
trialEndsAt: z.ZodNullable<z.ZodString>;
|
|
@@ -4787,7 +4787,7 @@ declare const webhookEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
4787
4787
|
status: z.ZodEnum<["trialing", "active", "at_risk", "paused", "cancelled", "lapsed"]>;
|
|
4788
4788
|
payerAddress: z.ZodEffects<z.ZodString, string, string>;
|
|
4789
4789
|
currency: z.ZodEnum<["USDC", "EURC"]>;
|
|
4790
|
-
amount: z.
|
|
4790
|
+
amount: z.ZodString;
|
|
4791
4791
|
interval: z.ZodEnum<["daily", "weekly", "monthly", "quarterly", "yearly"]>;
|
|
4792
4792
|
intervalCount: z.ZodNumber;
|
|
4793
4793
|
trialEndsAt: z.ZodNullable<z.ZodString>;
|
|
@@ -4849,7 +4849,7 @@ declare const webhookEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
4849
4849
|
chargeAttemptId: z.ZodString;
|
|
4850
4850
|
periodStartAt: z.ZodString;
|
|
4851
4851
|
periodEndAt: z.ZodString;
|
|
4852
|
-
amount: z.
|
|
4852
|
+
amount: z.ZodString;
|
|
4853
4853
|
currency: z.ZodEnum<["USDC", "EURC"]>;
|
|
4854
4854
|
status: z.ZodEnum<["pending", "in_flight", "succeeded", "failed", "retrying", "abandoned"]>;
|
|
4855
4855
|
outcome: z.ZodNullable<z.ZodEnum<["charged", "insufficient_funds", "revoked_approval", "cancelled", "not_due", "ended", "duplicate", "unknown", "merchant_inactive", "transfer_failed", "skipped"]>>;
|
|
@@ -4907,9 +4907,9 @@ declare const webhookEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
4907
4907
|
subscriptionChargeId: z.ZodNullable<z.ZodString>;
|
|
4908
4908
|
refundId: z.ZodNullable<z.ZodString>;
|
|
4909
4909
|
customerId: z.ZodNullable<z.ZodString>;
|
|
4910
|
-
amount: z.
|
|
4911
|
-
feeAmount: z.
|
|
4912
|
-
netAmount: z.
|
|
4910
|
+
amount: z.ZodString;
|
|
4911
|
+
feeAmount: z.ZodString;
|
|
4912
|
+
netAmount: z.ZodString;
|
|
4913
4913
|
currency: z.ZodEnum<["USDC", "EURC"]>;
|
|
4914
4914
|
payerAddress: z.ZodEffects<z.ZodString, string, string>;
|
|
4915
4915
|
merchantAddress: z.ZodEffects<z.ZodString, string, string>;
|
|
@@ -5241,7 +5241,7 @@ declare const webhookEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
5241
5241
|
status: z.ZodEnum<["trialing", "active", "at_risk", "paused", "cancelled", "lapsed"]>;
|
|
5242
5242
|
payerAddress: z.ZodEffects<z.ZodString, string, string>;
|
|
5243
5243
|
currency: z.ZodEnum<["USDC", "EURC"]>;
|
|
5244
|
-
amount: z.
|
|
5244
|
+
amount: z.ZodString;
|
|
5245
5245
|
interval: z.ZodEnum<["daily", "weekly", "monthly", "quarterly", "yearly"]>;
|
|
5246
5246
|
intervalCount: z.ZodNumber;
|
|
5247
5247
|
trialEndsAt: z.ZodNullable<z.ZodString>;
|
|
@@ -5303,7 +5303,7 @@ declare const webhookEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
5303
5303
|
chargeAttemptId: z.ZodString;
|
|
5304
5304
|
periodStartAt: z.ZodString;
|
|
5305
5305
|
periodEndAt: z.ZodString;
|
|
5306
|
-
amount: z.
|
|
5306
|
+
amount: z.ZodString;
|
|
5307
5307
|
currency: z.ZodEnum<["USDC", "EURC"]>;
|
|
5308
5308
|
status: z.ZodEnum<["pending", "in_flight", "succeeded", "failed", "retrying", "abandoned"]>;
|
|
5309
5309
|
outcome: z.ZodNullable<z.ZodEnum<["charged", "insufficient_funds", "revoked_approval", "cancelled", "not_due", "ended", "duplicate", "unknown", "merchant_inactive", "transfer_failed", "skipped"]>>;
|
|
@@ -5550,7 +5550,7 @@ declare const webhookEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
5550
5550
|
status: z.ZodEnum<["trialing", "active", "at_risk", "paused", "cancelled", "lapsed"]>;
|
|
5551
5551
|
payerAddress: z.ZodEffects<z.ZodString, string, string>;
|
|
5552
5552
|
currency: z.ZodEnum<["USDC", "EURC"]>;
|
|
5553
|
-
amount: z.
|
|
5553
|
+
amount: z.ZodString;
|
|
5554
5554
|
interval: z.ZodEnum<["daily", "weekly", "monthly", "quarterly", "yearly"]>;
|
|
5555
5555
|
intervalCount: z.ZodNumber;
|
|
5556
5556
|
trialEndsAt: z.ZodNullable<z.ZodString>;
|
|
@@ -5733,7 +5733,7 @@ declare const webhookEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
5733
5733
|
status: z.ZodEnum<["trialing", "active", "at_risk", "paused", "cancelled", "lapsed"]>;
|
|
5734
5734
|
payerAddress: z.ZodEffects<z.ZodString, string, string>;
|
|
5735
5735
|
currency: z.ZodEnum<["USDC", "EURC"]>;
|
|
5736
|
-
amount: z.
|
|
5736
|
+
amount: z.ZodString;
|
|
5737
5737
|
interval: z.ZodEnum<["daily", "weekly", "monthly", "quarterly", "yearly"]>;
|
|
5738
5738
|
intervalCount: z.ZodNumber;
|
|
5739
5739
|
trialEndsAt: z.ZodNullable<z.ZodString>;
|
|
@@ -5915,7 +5915,7 @@ declare const webhookEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
5915
5915
|
status: z.ZodEnum<["trialing", "active", "at_risk", "paused", "cancelled", "lapsed"]>;
|
|
5916
5916
|
payerAddress: z.ZodEffects<z.ZodString, string, string>;
|
|
5917
5917
|
currency: z.ZodEnum<["USDC", "EURC"]>;
|
|
5918
|
-
amount: z.
|
|
5918
|
+
amount: z.ZodString;
|
|
5919
5919
|
interval: z.ZodEnum<["daily", "weekly", "monthly", "quarterly", "yearly"]>;
|
|
5920
5920
|
intervalCount: z.ZodNumber;
|
|
5921
5921
|
trialEndsAt: z.ZodNullable<z.ZodString>;
|
|
@@ -6041,7 +6041,7 @@ declare const webhookEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
6041
6041
|
status: z.ZodEnum<["trialing", "active", "at_risk", "paused", "cancelled", "lapsed"]>;
|
|
6042
6042
|
payerAddress: z.ZodEffects<z.ZodString, string, string>;
|
|
6043
6043
|
currency: z.ZodEnum<["USDC", "EURC"]>;
|
|
6044
|
-
amount: z.
|
|
6044
|
+
amount: z.ZodString;
|
|
6045
6045
|
interval: z.ZodEnum<["daily", "weekly", "monthly", "quarterly", "yearly"]>;
|
|
6046
6046
|
intervalCount: z.ZodNumber;
|
|
6047
6047
|
trialEndsAt: z.ZodNullable<z.ZodString>;
|
|
@@ -6162,7 +6162,7 @@ declare const webhookEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
6162
6162
|
id: z.ZodString;
|
|
6163
6163
|
merchantId: z.ZodString;
|
|
6164
6164
|
transactionId: z.ZodString;
|
|
6165
|
-
amount: z.
|
|
6165
|
+
amount: z.ZodString;
|
|
6166
6166
|
currency: z.ZodEnum<["USDC", "EURC"]>;
|
|
6167
6167
|
reason: z.ZodEnum<["customer_request", "product_issue", "duplicate_charge", "fraudulent", "other"]>;
|
|
6168
6168
|
note: z.ZodNullable<z.ZodString>;
|
|
@@ -6259,7 +6259,7 @@ declare const webhookEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
6259
6259
|
id: z.ZodString;
|
|
6260
6260
|
merchantId: z.ZodString;
|
|
6261
6261
|
transactionId: z.ZodString;
|
|
6262
|
-
amount: z.
|
|
6262
|
+
amount: z.ZodString;
|
|
6263
6263
|
currency: z.ZodEnum<["USDC", "EURC"]>;
|
|
6264
6264
|
reason: z.ZodEnum<["customer_request", "product_issue", "duplicate_charge", "fraudulent", "other"]>;
|
|
6265
6265
|
note: z.ZodNullable<z.ZodString>;
|
|
@@ -6311,9 +6311,9 @@ declare const webhookEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
6311
6311
|
subscriptionChargeId: z.ZodNullable<z.ZodString>;
|
|
6312
6312
|
refundId: z.ZodNullable<z.ZodString>;
|
|
6313
6313
|
customerId: z.ZodNullable<z.ZodString>;
|
|
6314
|
-
amount: z.
|
|
6315
|
-
feeAmount: z.
|
|
6316
|
-
netAmount: z.
|
|
6314
|
+
amount: z.ZodString;
|
|
6315
|
+
feeAmount: z.ZodString;
|
|
6316
|
+
netAmount: z.ZodString;
|
|
6317
6317
|
currency: z.ZodEnum<["USDC", "EURC"]>;
|
|
6318
6318
|
payerAddress: z.ZodEffects<z.ZodString, string, string>;
|
|
6319
6319
|
merchantAddress: z.ZodEffects<z.ZodString, string, string>;
|
|
@@ -6540,7 +6540,7 @@ declare const webhookEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
6540
6540
|
id: z.ZodString;
|
|
6541
6541
|
merchantId: z.ZodString;
|
|
6542
6542
|
transactionId: z.ZodString;
|
|
6543
|
-
amount: z.
|
|
6543
|
+
amount: z.ZodString;
|
|
6544
6544
|
currency: z.ZodEnum<["USDC", "EURC"]>;
|
|
6545
6545
|
reason: z.ZodEnum<["customer_request", "product_issue", "duplicate_charge", "fraudulent", "other"]>;
|
|
6546
6546
|
note: z.ZodNullable<z.ZodString>;
|
|
@@ -6685,7 +6685,7 @@ declare const webhookEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
6685
6685
|
lineItems: z.ZodArray<z.ZodObject<{
|
|
6686
6686
|
description: z.ZodString;
|
|
6687
6687
|
quantity: z.ZodNumber;
|
|
6688
|
-
unitAmount: z.
|
|
6688
|
+
unitAmount: z.ZodString;
|
|
6689
6689
|
}, "strip", z.ZodTypeAny, {
|
|
6690
6690
|
description: string;
|
|
6691
6691
|
quantity: number;
|
|
@@ -6695,8 +6695,8 @@ declare const webhookEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
6695
6695
|
quantity: number;
|
|
6696
6696
|
unitAmount: string;
|
|
6697
6697
|
}>, "atleastone">;
|
|
6698
|
-
subtotal: z.
|
|
6699
|
-
total: z.
|
|
6698
|
+
subtotal: z.ZodString;
|
|
6699
|
+
total: z.ZodString;
|
|
6700
6700
|
currency: z.ZodEnum<["USDC", "EURC"]>;
|
|
6701
6701
|
status: z.ZodEnum<["draft", "sent", "paid", "overdue", "void"]>;
|
|
6702
6702
|
note: z.ZodNullable<z.ZodString>;
|
|
@@ -6841,7 +6841,7 @@ declare const webhookEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
6841
6841
|
lineItems: z.ZodArray<z.ZodObject<{
|
|
6842
6842
|
description: z.ZodString;
|
|
6843
6843
|
quantity: z.ZodNumber;
|
|
6844
|
-
unitAmount: z.
|
|
6844
|
+
unitAmount: z.ZodString;
|
|
6845
6845
|
}, "strip", z.ZodTypeAny, {
|
|
6846
6846
|
description: string;
|
|
6847
6847
|
quantity: number;
|
|
@@ -6851,8 +6851,8 @@ declare const webhookEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
6851
6851
|
quantity: number;
|
|
6852
6852
|
unitAmount: string;
|
|
6853
6853
|
}>, "atleastone">;
|
|
6854
|
-
subtotal: z.
|
|
6855
|
-
total: z.
|
|
6854
|
+
subtotal: z.ZodString;
|
|
6855
|
+
total: z.ZodString;
|
|
6856
6856
|
currency: z.ZodEnum<["USDC", "EURC"]>;
|
|
6857
6857
|
status: z.ZodEnum<["draft", "sent", "paid", "overdue", "void"]>;
|
|
6858
6858
|
note: z.ZodNullable<z.ZodString>;
|
|
@@ -6925,9 +6925,9 @@ declare const webhookEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
6925
6925
|
subscriptionChargeId: z.ZodNullable<z.ZodString>;
|
|
6926
6926
|
refundId: z.ZodNullable<z.ZodString>;
|
|
6927
6927
|
customerId: z.ZodNullable<z.ZodString>;
|
|
6928
|
-
amount: z.
|
|
6929
|
-
feeAmount: z.
|
|
6930
|
-
netAmount: z.
|
|
6928
|
+
amount: z.ZodString;
|
|
6929
|
+
feeAmount: z.ZodString;
|
|
6930
|
+
netAmount: z.ZodString;
|
|
6931
6931
|
currency: z.ZodEnum<["USDC", "EURC"]>;
|
|
6932
6932
|
payerAddress: z.ZodEffects<z.ZodString, string, string>;
|
|
6933
6933
|
merchantAddress: z.ZodEffects<z.ZodString, string, string>;
|
|
@@ -7202,7 +7202,7 @@ declare const webhookEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
7202
7202
|
lineItems: z.ZodArray<z.ZodObject<{
|
|
7203
7203
|
description: z.ZodString;
|
|
7204
7204
|
quantity: z.ZodNumber;
|
|
7205
|
-
unitAmount: z.
|
|
7205
|
+
unitAmount: z.ZodString;
|
|
7206
7206
|
}, "strip", z.ZodTypeAny, {
|
|
7207
7207
|
description: string;
|
|
7208
7208
|
quantity: number;
|
|
@@ -7212,8 +7212,8 @@ declare const webhookEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
7212
7212
|
quantity: number;
|
|
7213
7213
|
unitAmount: string;
|
|
7214
7214
|
}>, "atleastone">;
|
|
7215
|
-
subtotal: z.
|
|
7216
|
-
total: z.
|
|
7215
|
+
subtotal: z.ZodString;
|
|
7216
|
+
total: z.ZodString;
|
|
7217
7217
|
currency: z.ZodEnum<["USDC", "EURC"]>;
|
|
7218
7218
|
status: z.ZodEnum<["draft", "sent", "paid", "overdue", "void"]>;
|
|
7219
7219
|
note: z.ZodNullable<z.ZodString>;
|
|
@@ -7430,7 +7430,7 @@ declare const webhookEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
7430
7430
|
onchainJobId: z.ZodNullable<z.ZodNumber>;
|
|
7431
7431
|
vendorAddress: z.ZodEffects<z.ZodString, string, string>;
|
|
7432
7432
|
description: z.ZodString;
|
|
7433
|
-
amount: z.
|
|
7433
|
+
amount: z.ZodString;
|
|
7434
7434
|
currency: z.ZodEnum<["USDC", "EURC"]>;
|
|
7435
7435
|
status: z.ZodEnum<["proposed", "accepted", "funded", "in_progress", "delivered", "approved", "completed", "disputed", "cancelled", "resolved", "reclaimed"]>;
|
|
7436
7436
|
assessorAddress: z.ZodEffects<z.ZodString, string, string>;
|
|
@@ -7526,7 +7526,7 @@ declare const webhookEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
7526
7526
|
onchainJobId: z.ZodNullable<z.ZodNumber>;
|
|
7527
7527
|
vendorAddress: z.ZodEffects<z.ZodString, string, string>;
|
|
7528
7528
|
description: z.ZodString;
|
|
7529
|
-
amount: z.
|
|
7529
|
+
amount: z.ZodString;
|
|
7530
7530
|
currency: z.ZodEnum<["USDC", "EURC"]>;
|
|
7531
7531
|
status: z.ZodEnum<["proposed", "accepted", "funded", "in_progress", "delivered", "approved", "completed", "disputed", "cancelled", "resolved", "reclaimed"]>;
|
|
7532
7532
|
assessorAddress: z.ZodEffects<z.ZodString, string, string>;
|
|
@@ -7622,7 +7622,7 @@ declare const webhookEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
7622
7622
|
onchainJobId: z.ZodNullable<z.ZodNumber>;
|
|
7623
7623
|
vendorAddress: z.ZodEffects<z.ZodString, string, string>;
|
|
7624
7624
|
description: z.ZodString;
|
|
7625
|
-
amount: z.
|
|
7625
|
+
amount: z.ZodString;
|
|
7626
7626
|
currency: z.ZodEnum<["USDC", "EURC"]>;
|
|
7627
7627
|
status: z.ZodEnum<["proposed", "accepted", "funded", "in_progress", "delivered", "approved", "completed", "disputed", "cancelled", "resolved", "reclaimed"]>;
|
|
7628
7628
|
assessorAddress: z.ZodEffects<z.ZodString, string, string>;
|