@strimz/shared-types 0.1.0 → 0.2.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/README.md +66 -36
- package/dist/agents.cjs.map +1 -1
- package/dist/agents.d.cts +1 -1
- package/dist/agents.d.ts +1 -1
- package/dist/agents.js.map +1 -1
- package/dist/api-keys.cjs +8 -3
- package/dist/api-keys.cjs.map +1 -1
- package/dist/api-keys.d.cts +15 -16
- package/dist/api-keys.d.ts +15 -16
- package/dist/api-keys.js +8 -3
- package/dist/api-keys.js.map +1 -1
- package/dist/common.cjs.map +1 -1
- package/dist/common.d.cts +2 -2
- package/dist/common.d.ts +2 -2
- package/dist/common.js.map +1 -1
- package/dist/compliance.cjs.map +1 -1
- package/dist/compliance.d.cts +1 -1
- package/dist/compliance.d.ts +1 -1
- package/dist/compliance.js.map +1 -1
- package/dist/customers.cjs.map +1 -1
- package/dist/customers.d.cts +1 -1
- package/dist/customers.d.ts +1 -1
- package/dist/customers.js.map +1 -1
- package/dist/events.cjs +24 -6
- package/dist/events.cjs.map +1 -1
- package/dist/events.d.cts +12 -12
- package/dist/events.d.ts +12 -12
- package/dist/events.js +24 -6
- package/dist/events.js.map +1 -1
- package/dist/index.cjs +188 -11
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +302 -17
- package/dist/index.d.ts +302 -17
- package/dist/index.js +167 -12
- package/dist/index.js.map +1 -1
- package/dist/invoices.cjs.map +1 -1
- package/dist/invoices.d.cts +1 -1
- package/dist/invoices.d.ts +1 -1
- package/dist/invoices.js.map +1 -1
- package/dist/merchants.cjs +59 -1
- package/dist/merchants.cjs.map +1 -1
- package/dist/merchants.d.cts +171 -1
- package/dist/merchants.d.ts +171 -1
- package/dist/merchants.js +55 -2
- package/dist/merchants.js.map +1 -1
- package/dist/payment-sessions.cjs +6 -2
- package/dist/payment-sessions.cjs.map +1 -1
- package/dist/payment-sessions.d.cts +20 -4
- package/dist/payment-sessions.d.ts +20 -4
- package/dist/payment-sessions.js +6 -3
- package/dist/payment-sessions.js.map +1 -1
- package/dist/refunds.cjs +12 -0
- package/dist/refunds.cjs.map +1 -1
- package/dist/refunds.d.cts +135 -2
- package/dist/refunds.d.ts +135 -2
- package/dist/refunds.js +11 -1
- package/dist/refunds.js.map +1 -1
- package/dist/storefronts.cjs +16 -2
- package/dist/storefronts.cjs.map +1 -1
- package/dist/storefronts.d.cts +38 -2
- package/dist/storefronts.d.ts +38 -2
- package/dist/storefronts.js +15 -3
- package/dist/storefronts.js.map +1 -1
- package/dist/subscriptions.cjs +2 -2
- package/dist/subscriptions.cjs.map +1 -1
- package/dist/subscriptions.d.cts +3 -3
- package/dist/subscriptions.d.ts +3 -3
- package/dist/subscriptions.js +2 -2
- package/dist/subscriptions.js.map +1 -1
- package/dist/transactions.cjs.map +1 -1
- package/dist/transactions.d.cts +2 -2
- package/dist/transactions.d.ts +2 -2
- package/dist/transactions.js.map +1 -1
- package/dist/webhooks.cjs +7 -1
- package/dist/webhooks.cjs.map +1 -1
- package/dist/webhooks.d.cts +63 -4
- package/dist/webhooks.d.ts +63 -4
- package/dist/webhooks.js +7 -2
- package/dist/webhooks.js.map +1 -1
- package/package.json +2 -2
- package/src/agents.ts +1 -1
- package/src/api-keys.ts +9 -5
- package/src/common.ts +2 -2
- package/src/compliance.ts +1 -1
- package/src/contact.ts +26 -0
- package/src/customers.ts +1 -1
- package/src/index.ts +2 -0
- package/src/invoices.ts +1 -1
- package/src/merchants.ts +84 -0
- package/src/notifications.ts +88 -0
- package/src/payment-sessions.ts +25 -3
- package/src/refunds.ts +20 -1
- package/src/storefronts.ts +25 -1
- package/src/subscriptions.ts +3 -3
- package/src/tokens.ts +7 -7
- package/src/transactions.ts +2 -2
- package/src/webhooks.ts +15 -3
package/dist/index.cjs
CHANGED
|
@@ -43,6 +43,8 @@ var merchantSchema = zod.z.object({
|
|
|
43
43
|
tier: merchantTierSchema,
|
|
44
44
|
status: merchantStatusSchema,
|
|
45
45
|
payoutAddress: evmAddressSchema.nullable(),
|
|
46
|
+
walletAddress: evmAddressSchema.nullable(),
|
|
47
|
+
onboardingCompleted: zod.z.boolean(),
|
|
46
48
|
defaultCurrency: zod.z.enum(["USDC", "EURC"]),
|
|
47
49
|
countryCode: zod.z.string().length(2).nullable(),
|
|
48
50
|
websiteUrl: zod.z.string().url().nullable(),
|
|
@@ -59,6 +61,16 @@ var createMerchantInputSchema = zod.z.object({
|
|
|
59
61
|
countryCode: zod.z.string().length(2).optional(),
|
|
60
62
|
websiteUrl: zod.z.string().url().optional()
|
|
61
63
|
});
|
|
64
|
+
var merchantEmailPrefsSchema = zod.z.object({
|
|
65
|
+
/** "You received X USDC" one-off payment notifications. */
|
|
66
|
+
paymentReceived: zod.z.boolean(),
|
|
67
|
+
/** "You were paid X for subscription Y" per-charge notifications. */
|
|
68
|
+
subscriptionCharged: zod.z.boolean()
|
|
69
|
+
});
|
|
70
|
+
var DEFAULT_MERCHANT_EMAIL_PREFS = {
|
|
71
|
+
paymentReceived: true,
|
|
72
|
+
subscriptionCharged: true
|
|
73
|
+
};
|
|
62
74
|
var updateMerchantInputSchema = zod.z.object({
|
|
63
75
|
businessName: zod.z.string().min(2).max(120),
|
|
64
76
|
payoutAddress: evmAddressSchema,
|
|
@@ -66,11 +78,52 @@ var updateMerchantInputSchema = zod.z.object({
|
|
|
66
78
|
websiteUrl: zod.z.string().url().nullable(),
|
|
67
79
|
logoUrl: zod.z.string().url().nullable(),
|
|
68
80
|
countryCode: zod.z.string().length(2).nullable(),
|
|
69
|
-
metadata: metadataSchema
|
|
81
|
+
metadata: metadataSchema,
|
|
82
|
+
emailPrefs: merchantEmailPrefsSchema.partial()
|
|
70
83
|
}).partial();
|
|
71
84
|
var changeTierInputSchema = zod.z.object({
|
|
72
85
|
tier: merchantTierSchema
|
|
73
86
|
});
|
|
87
|
+
var onboardMerchantInputSchema = zod.z.object({
|
|
88
|
+
businessName: zod.z.string().min(2).max(120),
|
|
89
|
+
businessSector: zod.z.string().min(2).max(80),
|
|
90
|
+
countryCode: zod.z.string().length(2).regex(/^[A-Z]{2}$/, "must be a 2-letter ISO country code"),
|
|
91
|
+
websiteUrl: zod.z.string().url().optional(),
|
|
92
|
+
logoUrl: zod.z.string().url().optional(),
|
|
93
|
+
phone: zod.z.string().min(6).max(20).optional(),
|
|
94
|
+
payoutAddress: evmAddressSchema,
|
|
95
|
+
defaultCurrency: zod.z.enum(["USDC", "EURC"]).optional()
|
|
96
|
+
});
|
|
97
|
+
var merchantPublicBrandSchema = zod.z.object({
|
|
98
|
+
id: idSchema,
|
|
99
|
+
businessName: zod.z.string().min(2).max(120),
|
|
100
|
+
logoUrl: zod.z.string().url().nullable(),
|
|
101
|
+
walletAddress: evmAddressSchema.nullable()
|
|
102
|
+
});
|
|
103
|
+
var merchantBalanceSchema = zod.z.object({
|
|
104
|
+
/** Payout wallet, checksummed; null when the merchant hasn't set one. */
|
|
105
|
+
payoutAddress: evmAddressSchema.nullable(),
|
|
106
|
+
/** Privy embedded wallet, checksummed if resolvable. */
|
|
107
|
+
walletAddress: evmAddressSchema.nullable(),
|
|
108
|
+
/**
|
|
109
|
+
* True when `payoutAddress === walletAddress`, i.e. the merchant
|
|
110
|
+
* can sign a transfer from the dashboard via Privy. False for
|
|
111
|
+
* merchants using an external wallet as payout — the UI falls back
|
|
112
|
+
* to "copy the address, transfer with your wallet."
|
|
113
|
+
*/
|
|
114
|
+
canSignFromDashboard: zod.z.boolean(),
|
|
115
|
+
balances: zod.z.array(
|
|
116
|
+
zod.z.object({
|
|
117
|
+
currency: zod.z.enum(["USDC", "EURC"]),
|
|
118
|
+
contractAddress: evmAddressSchema,
|
|
119
|
+
/** Base-6 integer as string. */
|
|
120
|
+
raw: zod.z.string(),
|
|
121
|
+
/** Human-formatted, e.g. `1234.56`. */
|
|
122
|
+
formatted: zod.z.string(),
|
|
123
|
+
decimals: zod.z.number().int().min(0).max(30)
|
|
124
|
+
})
|
|
125
|
+
)
|
|
126
|
+
});
|
|
74
127
|
var merchantMemberSchema = zod.z.object({
|
|
75
128
|
id: idSchema,
|
|
76
129
|
merchantId: idSchema,
|
|
@@ -109,11 +162,16 @@ var apiKeyScopeSchema = zod.z.enum([
|
|
|
109
162
|
"storefronts_write",
|
|
110
163
|
"agents_read",
|
|
111
164
|
"agents_write",
|
|
112
|
-
// Meta-tx relayer
|
|
165
|
+
// Meta-tx relayer. Submitting payer-signed EIP-3009 / EIP-2612
|
|
113
166
|
// authorizations on the merchant's behalf. Granted to keys used by
|
|
114
167
|
// hosted checkout and merchants embedding the SDK.
|
|
115
168
|
"relay_read",
|
|
116
|
-
"relay_write"
|
|
169
|
+
"relay_write",
|
|
170
|
+
// Self-service key management from an API key holder. Rarely used
|
|
171
|
+
// day-to-day; needed for partner onboarding flows that mint scoped
|
|
172
|
+
// keys per sub-tenant.
|
|
173
|
+
"api_keys_read",
|
|
174
|
+
"api_keys_write"
|
|
117
175
|
]);
|
|
118
176
|
var apiKeySchema = zod.z.object({
|
|
119
177
|
id: idSchema,
|
|
@@ -136,7 +194,7 @@ var createApiKeyInputSchema = zod.z.object({
|
|
|
136
194
|
});
|
|
137
195
|
var createApiKeyOutputSchema = zod.z.object({
|
|
138
196
|
apiKey: apiKeySchema,
|
|
139
|
-
/** Full plaintext key
|
|
197
|
+
/** Full plaintext key. Shown exactly once. */
|
|
140
198
|
secret: zod.z.string()
|
|
141
199
|
});
|
|
142
200
|
var rotateApiKeyInputSchema = zod.z.object({
|
|
@@ -170,6 +228,9 @@ var paymentSessionStatusSchema = zod.z.enum([
|
|
|
170
228
|
"expired",
|
|
171
229
|
"cancelled"
|
|
172
230
|
]);
|
|
231
|
+
var callbackUrlSchema = zod.z.string().url().refine((v) => v.startsWith("https://") || v.startsWith("http://"), {
|
|
232
|
+
message: "must be an http:// or https:// URL"
|
|
233
|
+
});
|
|
173
234
|
var paymentSessionSchema = zod.z.object({
|
|
174
235
|
id: idSchema,
|
|
175
236
|
merchantId: idSchema,
|
|
@@ -199,8 +260,8 @@ var paymentSessionSchema = zod.z.object({
|
|
|
199
260
|
description: zod.z.string().max(500).nullable(),
|
|
200
261
|
payerWalletAddress: evmAddressSchema.nullable(),
|
|
201
262
|
payerEmail: zod.z.string().email().nullable(),
|
|
202
|
-
successUrl:
|
|
203
|
-
cancelUrl:
|
|
263
|
+
successUrl: callbackUrlSchema.nullable(),
|
|
264
|
+
cancelUrl: callbackUrlSchema.nullable(),
|
|
204
265
|
sourceChain: zod.z.enum(["arc", "ethereum", "base", "polygon", "arbitrum", "optimism", "avalanche", "solana"]).nullable(),
|
|
205
266
|
bridgeTxHash: evmTxHashSchema.nullable(),
|
|
206
267
|
onchainTxHash: evmTxHashSchema.nullable(),
|
|
@@ -290,12 +351,12 @@ var subscriptionPlanSchema = zod.z.object({
|
|
|
290
351
|
/**
|
|
291
352
|
* On-chain StrimzRegistry merchant id (uint96) as a decimal string.
|
|
292
353
|
* See `paymentSessionSchema.chainMerchantId`. Null when the merchant
|
|
293
|
-
* hasn't been registered on-chain yet
|
|
354
|
+
* hasn't been registered on-chain yet. The hosted enrolment page
|
|
294
355
|
* refuses to take signatures in that state.
|
|
295
356
|
*/
|
|
296
357
|
chainMerchantId: zod.z.string().regex(/^[0-9]+$/u, "must be a non-negative decimal integer string").nullable(),
|
|
297
358
|
/**
|
|
298
|
-
* ERC-20 token contract address resolved from `currency
|
|
359
|
+
* ERC-20 token contract address resolved from `currency`. This is the
|
|
299
360
|
* EIP-2612 `verifyingContract` the wallet signs over.
|
|
300
361
|
*/
|
|
301
362
|
tokenAddress: evmAddressSchema.nullable(),
|
|
@@ -446,6 +507,16 @@ var submitRefundSignatureInputSchema = zod.z.object({
|
|
|
446
507
|
id: idSchema,
|
|
447
508
|
refundTxHash: evmTxHashSchema
|
|
448
509
|
});
|
|
510
|
+
var refundSigningInstructionsSchema = zod.z.object({
|
|
511
|
+
token: evmAddressSchema,
|
|
512
|
+
to: evmAddressSchema,
|
|
513
|
+
amount: tokenAmountSchema,
|
|
514
|
+
note: zod.z.string()
|
|
515
|
+
});
|
|
516
|
+
var refundCreateOutputSchema = zod.z.object({
|
|
517
|
+
refund: refundSchema,
|
|
518
|
+
signingInstructions: refundSigningInstructionsSchema
|
|
519
|
+
});
|
|
449
520
|
var webhookEventNameSchema = zod.z.enum([
|
|
450
521
|
"payment.created",
|
|
451
522
|
"payment.completed",
|
|
@@ -492,7 +563,7 @@ var createWebhookEndpointInputSchema = zod.z.object({
|
|
|
492
563
|
});
|
|
493
564
|
var createWebhookEndpointOutputSchema = zod.z.object({
|
|
494
565
|
endpoint: webhookEndpointSchema,
|
|
495
|
-
/** Full signing secret
|
|
566
|
+
/** Full signing secret. Shown exactly once. */
|
|
496
567
|
signingSecret: zod.z.string()
|
|
497
568
|
});
|
|
498
569
|
var webhookDeliveryStatusSchema = zod.z.enum([
|
|
@@ -516,6 +587,11 @@ var webhookDeliverySchema = zod.z.object({
|
|
|
516
587
|
deliveredAt: isoTimestampSchema.nullable(),
|
|
517
588
|
createdAt: isoTimestampSchema
|
|
518
589
|
});
|
|
590
|
+
var webhookDeliveryDetailSchema = webhookDeliverySchema.extend({
|
|
591
|
+
deliveryId: zod.z.string(),
|
|
592
|
+
responseBody: zod.z.string().nullable(),
|
|
593
|
+
requestPayload: zod.z.record(zod.z.string(), zod.z.unknown())
|
|
594
|
+
});
|
|
519
595
|
var replayDeliveryInputSchema = zod.z.object({
|
|
520
596
|
id: idSchema
|
|
521
597
|
});
|
|
@@ -697,6 +773,18 @@ var createStorefrontProductInputSchema = storefrontProductSchema.omit({
|
|
|
697
773
|
}).extend({
|
|
698
774
|
imageUrl: httpsUrlSchema.optional()
|
|
699
775
|
});
|
|
776
|
+
var storefrontCheckoutInputSchema = zod.z.object({
|
|
777
|
+
customerEmail: zod.z.string().email().optional(),
|
|
778
|
+
returnPath: zod.z.string().max(200).optional()
|
|
779
|
+
});
|
|
780
|
+
var storefrontCheckoutResponseSchema = zod.z.object({
|
|
781
|
+
/** Fully-qualified checkout URL — payer redirects here to sign. */
|
|
782
|
+
checkoutUrl: zod.z.string().url(),
|
|
783
|
+
/** Payment-session id (one-time) or plan id (subscription). */
|
|
784
|
+
ref: idSchema,
|
|
785
|
+
/** Which downstream checkout the URL points at. */
|
|
786
|
+
kind: zod.z.enum(["payment_session", "subscription_plan"])
|
|
787
|
+
});
|
|
700
788
|
var invoiceStatusSchema = zod.z.enum(["draft", "sent", "paid", "overdue", "void"]);
|
|
701
789
|
var invoiceLineItemSchema = zod.z.object({
|
|
702
790
|
description: zod.z.string().min(1).max(500),
|
|
@@ -841,8 +929,8 @@ var tokenMetadataSchema = zod.z.object({
|
|
|
841
929
|
symbol: zod.z.string(),
|
|
842
930
|
/**
|
|
843
931
|
* EIP-712 domain version. Read from ERC-5267 `eip712Domain()` when
|
|
844
|
-
* available; otherwise defaults to "1". Used by typed-data builders
|
|
845
|
-
*
|
|
932
|
+
* available; otherwise defaults to "1". Used by typed-data builders.
|
|
933
|
+
* A domain mismatch produces a different digest, so the contract's
|
|
846
934
|
* ecrecover would recover a different address.
|
|
847
935
|
*/
|
|
848
936
|
version: zod.z.string(),
|
|
@@ -854,7 +942,75 @@ var tokenPermitNonceSchema = zod.z.object({
|
|
|
854
942
|
owner: addressSchema,
|
|
855
943
|
nonce: zod.z.string().regex(/^[0-9]+$/u, "must be a decimal integer string")
|
|
856
944
|
});
|
|
945
|
+
var contactTopicSchema = zod.z.enum(["sales", "support", "partnership", "security", "other"]);
|
|
946
|
+
var contactRequestInputSchema = zod.z.object({
|
|
947
|
+
name: zod.z.string().min(2).max(120),
|
|
948
|
+
email: emailSchema,
|
|
949
|
+
company: zod.z.string().min(1).max(120).optional(),
|
|
950
|
+
topic: contactTopicSchema,
|
|
951
|
+
message: zod.z.string().min(20).max(4e3)
|
|
952
|
+
});
|
|
953
|
+
var contactRequestOutputSchema = zod.z.object({
|
|
954
|
+
ok: zod.z.literal(true)
|
|
955
|
+
});
|
|
956
|
+
var notificationKindSchema = zod.z.enum([
|
|
957
|
+
"payment_received",
|
|
958
|
+
"subscription_started",
|
|
959
|
+
"refund_processed",
|
|
960
|
+
/** Message an admin broadcast to this merchant (or all merchants). */
|
|
961
|
+
"admin_broadcast"
|
|
962
|
+
]);
|
|
963
|
+
var broadcastAudienceSchema = zod.z.enum(["all", "merchant"]);
|
|
964
|
+
var createBroadcastInputSchema = zod.z.object({
|
|
965
|
+
title: zod.z.string().min(4).max(160),
|
|
966
|
+
body: zod.z.string().min(4).max(4e3),
|
|
967
|
+
audience: broadcastAudienceSchema.default("all"),
|
|
968
|
+
/** Required when `audience === 'merchant'`; ignored otherwise. */
|
|
969
|
+
merchantId: zod.z.string().optional()
|
|
970
|
+
}).refine((v) => v.audience !== "merchant" || !!v.merchantId, {
|
|
971
|
+
message: "merchantId is required when audience is merchant",
|
|
972
|
+
path: ["merchantId"]
|
|
973
|
+
});
|
|
974
|
+
var broadcastSchema = zod.z.object({
|
|
975
|
+
id: idSchema,
|
|
976
|
+
title: zod.z.string(),
|
|
977
|
+
body: zod.z.string(),
|
|
978
|
+
audience: broadcastAudienceSchema,
|
|
979
|
+
merchantId: idSchema.nullable(),
|
|
980
|
+
merchantEmail: zod.z.string().nullable(),
|
|
981
|
+
senderId: idSchema,
|
|
982
|
+
senderEmail: zod.z.string(),
|
|
983
|
+
emailedAt: isoTimestampSchema.nullable(),
|
|
984
|
+
createdAt: isoTimestampSchema
|
|
985
|
+
});
|
|
986
|
+
var broadcastListResponseSchema = zod.z.object({
|
|
987
|
+
data: zod.z.array(broadcastSchema)
|
|
988
|
+
});
|
|
989
|
+
var notificationSchema = zod.z.object({
|
|
990
|
+
/** Deterministic client id — `{kind}:{sourceId}`. Safe for React keys. */
|
|
991
|
+
id: zod.z.string().min(1),
|
|
992
|
+
kind: notificationKindSchema,
|
|
993
|
+
title: zod.z.string().min(1),
|
|
994
|
+
detail: zod.z.string(),
|
|
995
|
+
/** Dashboard route the tray links to. */
|
|
996
|
+
href: zod.z.string().min(1),
|
|
997
|
+
/** ISO timestamp of the source event; drives sort + read comparison. */
|
|
998
|
+
createdAt: isoTimestampSchema,
|
|
999
|
+
/** Server-derived from the merchant's `notificationsLastReadAt`. */
|
|
1000
|
+
read: zod.z.boolean(),
|
|
1001
|
+
/** Optional foreign key back to the source row (for deep-linking). */
|
|
1002
|
+
sourceId: idSchema.optional()
|
|
1003
|
+
});
|
|
1004
|
+
var notificationListResponseSchema = zod.z.object({
|
|
1005
|
+
data: zod.z.array(notificationSchema),
|
|
1006
|
+
unreadCount: zod.z.number().int().min(0),
|
|
1007
|
+
lastReadAt: isoTimestampSchema.nullable()
|
|
1008
|
+
});
|
|
1009
|
+
var markNotificationsReadResponseSchema = zod.z.object({
|
|
1010
|
+
lastReadAt: isoTimestampSchema
|
|
1011
|
+
});
|
|
857
1012
|
|
|
1013
|
+
exports.DEFAULT_MERCHANT_EMAIL_PREFS = DEFAULT_MERCHANT_EMAIL_PREFS;
|
|
858
1014
|
exports.agentActionExecutedEventSchema = agentActionExecutedEventSchema;
|
|
859
1015
|
exports.agentActionOutcomeSchema = agentActionOutcomeSchema;
|
|
860
1016
|
exports.agentActionTypeSchema = agentActionTypeSchema;
|
|
@@ -871,6 +1027,10 @@ exports.apiKeyKindSchema = apiKeyKindSchema;
|
|
|
871
1027
|
exports.apiKeySchema = apiKeySchema;
|
|
872
1028
|
exports.apiKeyScopeSchema = apiKeyScopeSchema;
|
|
873
1029
|
exports.arcEnvironmentSchema = arcEnvironmentSchema;
|
|
1030
|
+
exports.broadcastAudienceSchema = broadcastAudienceSchema;
|
|
1031
|
+
exports.broadcastListResponseSchema = broadcastListResponseSchema;
|
|
1032
|
+
exports.broadcastSchema = broadcastSchema;
|
|
1033
|
+
exports.callbackUrlSchema = callbackUrlSchema;
|
|
874
1034
|
exports.cancelSubscriptionInputSchema = cancelSubscriptionInputSchema;
|
|
875
1035
|
exports.changeTierInputSchema = changeTierInputSchema;
|
|
876
1036
|
exports.complianceLogSchema = complianceLogSchema;
|
|
@@ -879,10 +1039,14 @@ exports.complianceScreeningContextSchema = complianceScreeningContextSchema;
|
|
|
879
1039
|
exports.complianceStatusSchema = complianceStatusSchema;
|
|
880
1040
|
exports.complianceWalletBlockedEventSchema = complianceWalletBlockedEventSchema;
|
|
881
1041
|
exports.complianceWalletFlaggedEventSchema = complianceWalletFlaggedEventSchema;
|
|
1042
|
+
exports.contactRequestInputSchema = contactRequestInputSchema;
|
|
1043
|
+
exports.contactRequestOutputSchema = contactRequestOutputSchema;
|
|
1044
|
+
exports.contactTopicSchema = contactTopicSchema;
|
|
882
1045
|
exports.countryCodeSchema = countryCodeSchema;
|
|
883
1046
|
exports.createAgentJobInputSchema = createAgentJobInputSchema;
|
|
884
1047
|
exports.createApiKeyInputSchema = createApiKeyInputSchema;
|
|
885
1048
|
exports.createApiKeyOutputSchema = createApiKeyOutputSchema;
|
|
1049
|
+
exports.createBroadcastInputSchema = createBroadcastInputSchema;
|
|
886
1050
|
exports.createInvoiceInputSchema = createInvoiceInputSchema;
|
|
887
1051
|
exports.createMerchantInputSchema = createMerchantInputSchema;
|
|
888
1052
|
exports.createPaymentSessionInputSchema = createPaymentSessionInputSchema;
|
|
@@ -911,13 +1075,21 @@ exports.isoTimestampSchema = isoTimestampSchema;
|
|
|
911
1075
|
exports.loginInputSchema = loginInputSchema;
|
|
912
1076
|
exports.loginOutputSchema = loginOutputSchema;
|
|
913
1077
|
exports.makePaginatedSchema = makePaginatedSchema;
|
|
1078
|
+
exports.markNotificationsReadResponseSchema = markNotificationsReadResponseSchema;
|
|
1079
|
+
exports.merchantBalanceSchema = merchantBalanceSchema;
|
|
1080
|
+
exports.merchantEmailPrefsSchema = merchantEmailPrefsSchema;
|
|
914
1081
|
exports.merchantMemberSchema = merchantMemberSchema;
|
|
1082
|
+
exports.merchantPublicBrandSchema = merchantPublicBrandSchema;
|
|
915
1083
|
exports.merchantRoleSchema = merchantRoleSchema;
|
|
916
1084
|
exports.merchantSchema = merchantSchema;
|
|
917
1085
|
exports.merchantStatusSchema = merchantStatusSchema;
|
|
918
1086
|
exports.merchantTierSchema = merchantTierSchema;
|
|
919
1087
|
exports.metadataSchema = metadataSchema;
|
|
920
1088
|
exports.modeSchema = modeSchema;
|
|
1089
|
+
exports.notificationKindSchema = notificationKindSchema;
|
|
1090
|
+
exports.notificationListResponseSchema = notificationListResponseSchema;
|
|
1091
|
+
exports.notificationSchema = notificationSchema;
|
|
1092
|
+
exports.onboardMerchantInputSchema = onboardMerchantInputSchema;
|
|
921
1093
|
exports.paginationInputSchema = paginationInputSchema;
|
|
922
1094
|
exports.paymentCompletedEventSchema = paymentCompletedEventSchema;
|
|
923
1095
|
exports.paymentCreatedEventSchema = paymentCreatedEventSchema;
|
|
@@ -926,13 +1098,17 @@ exports.paymentFailedEventSchema = paymentFailedEventSchema;
|
|
|
926
1098
|
exports.paymentSessionSchema = paymentSessionSchema;
|
|
927
1099
|
exports.paymentSessionStatusSchema = paymentSessionStatusSchema;
|
|
928
1100
|
exports.refundCompletedEventSchema = refundCompletedEventSchema;
|
|
1101
|
+
exports.refundCreateOutputSchema = refundCreateOutputSchema;
|
|
929
1102
|
exports.refundCreatedEventSchema = refundCreatedEventSchema;
|
|
930
1103
|
exports.refundFailedEventSchema = refundFailedEventSchema;
|
|
931
1104
|
exports.refundReasonSchema = refundReasonSchema;
|
|
932
1105
|
exports.refundSchema = refundSchema;
|
|
1106
|
+
exports.refundSigningInstructionsSchema = refundSigningInstructionsSchema;
|
|
933
1107
|
exports.refundStatusSchema = refundStatusSchema;
|
|
934
1108
|
exports.replayDeliveryInputSchema = replayDeliveryInputSchema;
|
|
935
1109
|
exports.rotateApiKeyInputSchema = rotateApiKeyInputSchema;
|
|
1110
|
+
exports.storefrontCheckoutInputSchema = storefrontCheckoutInputSchema;
|
|
1111
|
+
exports.storefrontCheckoutResponseSchema = storefrontCheckoutResponseSchema;
|
|
936
1112
|
exports.storefrontProductSchema = storefrontProductSchema;
|
|
937
1113
|
exports.storefrontProductTypeSchema = storefrontProductTypeSchema;
|
|
938
1114
|
exports.storefrontSchema = storefrontSchema;
|
|
@@ -966,6 +1142,7 @@ exports.uintSchema = uintSchema;
|
|
|
966
1142
|
exports.updateAgentConfigInputSchema = updateAgentConfigInputSchema;
|
|
967
1143
|
exports.updateMerchantInputSchema = updateMerchantInputSchema;
|
|
968
1144
|
exports.upsertCustomerInputSchema = upsertCustomerInputSchema;
|
|
1145
|
+
exports.webhookDeliveryDetailSchema = webhookDeliveryDetailSchema;
|
|
969
1146
|
exports.webhookDeliverySchema = webhookDeliverySchema;
|
|
970
1147
|
exports.webhookDeliveryStatusSchema = webhookDeliveryStatusSchema;
|
|
971
1148
|
exports.webhookEndpointSchema = webhookEndpointSchema;
|