@develit-services/bank 2.4.0 → 3.0.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/database/schema.cjs +1 -10
- package/dist/database/schema.d.cts +4 -4
- package/dist/database/schema.d.mts +4 -4
- package/dist/database/schema.d.ts +4 -4
- package/dist/database/schema.mjs +1 -8
- package/dist/export/worker.cjs +137 -137
- package/dist/export/worker.d.cts +119 -455
- package/dist/export/worker.d.mts +119 -455
- package/dist/export/worker.d.ts +119 -455
- package/dist/export/worker.mjs +40 -40
- package/dist/export/workflows.cjs +30 -24
- package/dist/export/workflows.mjs +19 -13
- package/dist/export/wrangler.cjs +3 -11
- package/dist/export/wrangler.d.cts +1 -1
- package/dist/export/wrangler.d.mts +1 -1
- package/dist/export/wrangler.d.ts +1 -1
- package/dist/export/wrangler.mjs +3 -11
- package/dist/shared/{bank.c1sHv5v_.cjs → bank.1DaJXkX5.cjs} +200 -460
- package/dist/shared/{bank.Bs0isbAY.d.ts → bank.2M66Yx-J.d.ts} +9 -9
- package/dist/shared/bank.9Yw4KHyl.cjs +275 -0
- package/dist/shared/{bank.BI2OxQsM.d.mts → bank.BUgy8rcb.d.mts} +9 -9
- package/dist/shared/bank.BzDNLxB_.mjs +254 -0
- package/dist/shared/{bank.B0I6H6AT.cjs → bank.C3FUz-p6.cjs} +17 -16
- package/dist/shared/{bank.Ca0iWjhb.d.cts → bank.CVPVkitI.d.cts} +9 -9
- package/dist/shared/{bank.IlVbIEuM.mjs → bank.Cwbl-Mjn.mjs} +193 -433
- package/dist/shared/{bank.BJ_vbyUT.d.ts → bank.DR02_AJ7.d.cts} +1225 -3788
- package/dist/shared/{bank.BJ_vbyUT.d.cts → bank.DR02_AJ7.d.mts} +1225 -3788
- package/dist/shared/{bank.BJ_vbyUT.d.mts → bank.DR02_AJ7.d.ts} +1225 -3788
- package/dist/shared/{bank.fZkUcrn9.mjs → bank.lJOMYeVw.mjs} +2 -1
- package/dist/types.cjs +38 -38
- package/dist/types.d.cts +61 -454
- package/dist/types.d.mts +61 -454
- package/dist/types.d.ts +61 -454
- package/dist/types.mjs +4 -4
- package/package.json +5 -5
- package/dist/shared/{bank.Bz4DIxJL.d.cts → bank.C6sLje8B.d.cts} +3 -3
- package/dist/shared/{bank.Bz4DIxJL.d.mts → bank.C6sLje8B.d.mts} +3 -3
- package/dist/shared/{bank.Bz4DIxJL.d.ts → bank.C6sLje8B.d.ts} +3 -3
|
@@ -0,0 +1,254 @@
|
|
|
1
|
+
import { bankAccount, base } from '@develit-io/backend-sdk';
|
|
2
|
+
import { sqliteTable, text, integer, unique, real, index } from 'drizzle-orm/sqlite-core';
|
|
3
|
+
import { COUNTRY_CODES_2, BANK_CODES } from '@develit-io/general-codes';
|
|
4
|
+
|
|
5
|
+
const PAYMENT_TYPES = ["SEPA", "SWIFT", "DOMESTIC", "UNKNOWN"];
|
|
6
|
+
const CHARGE_BEARERS = ["SHA", "OUR", "BEN"];
|
|
7
|
+
const INSTRUCTION_PRIORITIES = ["NORM", "HIGH", "INST"];
|
|
8
|
+
const PAYMENT_REQUEST_STATUSES = [
|
|
9
|
+
"OPENED",
|
|
10
|
+
"AUTHORIZED",
|
|
11
|
+
"COMPLETED",
|
|
12
|
+
"BOOKED",
|
|
13
|
+
"SETTLED",
|
|
14
|
+
"REJECTED",
|
|
15
|
+
"CLOSED"
|
|
16
|
+
];
|
|
17
|
+
const PAYMENT_STATUSES = [
|
|
18
|
+
"PENDING",
|
|
19
|
+
"PROCESSING",
|
|
20
|
+
"BOOKED",
|
|
21
|
+
"CANCELLED",
|
|
22
|
+
"REJECTED",
|
|
23
|
+
"SCHEDULED",
|
|
24
|
+
"HOLD",
|
|
25
|
+
"INFO"
|
|
26
|
+
];
|
|
27
|
+
const PAYMENT_DIRECTIONS = ["INCOMING", "OUTGOING"];
|
|
28
|
+
const BATCH_STATUSES = [
|
|
29
|
+
"PROCESSING",
|
|
30
|
+
"READY_TO_SIGN",
|
|
31
|
+
"AUTHORIZED",
|
|
32
|
+
"COMPLETED",
|
|
33
|
+
"FAILED"
|
|
34
|
+
];
|
|
35
|
+
const BATCH_MODES = ["NATIVE", "SINGLE"];
|
|
36
|
+
const ACCOUNT_STATUSES = ["AUTHORIZED", "DISABLED", "EXPIRED"];
|
|
37
|
+
const COUNTRY_CODES = COUNTRY_CODES_2;
|
|
38
|
+
|
|
39
|
+
const CONNECTOR_KEYS = [
|
|
40
|
+
"ERSTE",
|
|
41
|
+
"FINBRICKS",
|
|
42
|
+
"MOCK",
|
|
43
|
+
"CREDITAS",
|
|
44
|
+
"MOCK_COBS",
|
|
45
|
+
"FIO",
|
|
46
|
+
"MONETA",
|
|
47
|
+
"DBU",
|
|
48
|
+
"CSAS",
|
|
49
|
+
"AIRBANK",
|
|
50
|
+
"KB",
|
|
51
|
+
"CSOB"
|
|
52
|
+
];
|
|
53
|
+
const CREDENTIALS_TYPES = [
|
|
54
|
+
"AUTH_TOKEN",
|
|
55
|
+
"REFRESH_TOKEN",
|
|
56
|
+
"CLIENT_ID",
|
|
57
|
+
"API_KEY"
|
|
58
|
+
];
|
|
59
|
+
const TOKEN_TYPES = ["ACCOUNT_AUTHORIZATION"];
|
|
60
|
+
|
|
61
|
+
const account = sqliteTable(
|
|
62
|
+
"account",
|
|
63
|
+
{
|
|
64
|
+
...base,
|
|
65
|
+
...bankAccount,
|
|
66
|
+
// countryCode is temporary until bankAccount is update to include US country code
|
|
67
|
+
countryCode: text("country_code", { enum: COUNTRY_CODES }).$type().notNull(),
|
|
68
|
+
number: text("number").notNull(),
|
|
69
|
+
name: text("name"),
|
|
70
|
+
iban: text("iban").notNull(),
|
|
71
|
+
bankCode: text("bank_code", { enum: BANK_CODES }).notNull(),
|
|
72
|
+
connectorKey: text("connector_key", {
|
|
73
|
+
enum: CONNECTOR_KEYS
|
|
74
|
+
}).$type().notNull(),
|
|
75
|
+
status: text("status", { enum: ACCOUNT_STATUSES }).$type().notNull(),
|
|
76
|
+
bankRefId: text("bank_ref_id").notNull(),
|
|
77
|
+
batchSizeLimit: integer("batch_size_limit").notNull().default(50),
|
|
78
|
+
syncIntervalS: integer("sync_interval_s").notNull().default(600),
|
|
79
|
+
lastSyncAt: integer("last_sync_at", { mode: "timestamp_ms" }),
|
|
80
|
+
lastSyncMetadata: text("last_sync_metadata", {
|
|
81
|
+
mode: "json"
|
|
82
|
+
}).$type(),
|
|
83
|
+
connectorConfig: text("connector_config", {
|
|
84
|
+
mode: "json"
|
|
85
|
+
}).$type()
|
|
86
|
+
},
|
|
87
|
+
(t) => [unique().on(t.iban)]
|
|
88
|
+
);
|
|
89
|
+
|
|
90
|
+
const batch = sqliteTable("batch", {
|
|
91
|
+
...base,
|
|
92
|
+
batchPaymentInitiatedAt: integer("batch_payment_initiated_at", {
|
|
93
|
+
mode: "timestamp_ms"
|
|
94
|
+
}),
|
|
95
|
+
authorizationUrls: text("authorization_urls", { mode: "json" }).$type(),
|
|
96
|
+
accountId: text("account_id").references(() => account.id, {
|
|
97
|
+
onDelete: "restrict",
|
|
98
|
+
onUpdate: "cascade"
|
|
99
|
+
}),
|
|
100
|
+
status: text("status", { enum: BATCH_STATUSES }).$type(),
|
|
101
|
+
statusReason: text("status_reason"),
|
|
102
|
+
statusResponse: text("status_response", { mode: "json" }).$type(),
|
|
103
|
+
metadata: text("metadata", { mode: "json" }).$type(),
|
|
104
|
+
paymentType: text("payment_type", {
|
|
105
|
+
enum: PAYMENT_TYPES
|
|
106
|
+
}).$type(),
|
|
107
|
+
paymentsChecksum: text("payments_checksum"),
|
|
108
|
+
batchMode: text("batch_mode", { enum: BATCH_MODES }).$type()
|
|
109
|
+
});
|
|
110
|
+
|
|
111
|
+
const payment = sqliteTable(
|
|
112
|
+
"payment",
|
|
113
|
+
{
|
|
114
|
+
...base,
|
|
115
|
+
correlationId: text("correlation_id").notNull(),
|
|
116
|
+
refId: text("ref_id"),
|
|
117
|
+
bankRefId: text("bank_ref_id").notNull(),
|
|
118
|
+
accountId: text("account_id").references(() => account.id, {
|
|
119
|
+
onDelete: "restrict",
|
|
120
|
+
onUpdate: "cascade"
|
|
121
|
+
}).notNull(),
|
|
122
|
+
connectorKey: text("connector_key", { enum: CONNECTOR_KEYS }).$type().notNull(),
|
|
123
|
+
amount: real("amount").notNull(),
|
|
124
|
+
direction: text("direction").$type().notNull(),
|
|
125
|
+
paymentType: text("payment_type").$type().notNull(),
|
|
126
|
+
currency: text("currency").$type().notNull(),
|
|
127
|
+
status: text("status", { enum: PAYMENT_STATUSES }).$type().notNull(),
|
|
128
|
+
statusReason: text("status_reason"),
|
|
129
|
+
batchId: text("bank_execution_batch_id"),
|
|
130
|
+
initiatedAt: integer("initiated_at", {
|
|
131
|
+
mode: "timestamp_ms"
|
|
132
|
+
}),
|
|
133
|
+
vs: text("vs"),
|
|
134
|
+
ss: text("ss"),
|
|
135
|
+
ks: text("ks"),
|
|
136
|
+
message: text("message"),
|
|
137
|
+
chargeBearer: text("charge_bearer", {
|
|
138
|
+
enum: CHARGE_BEARERS
|
|
139
|
+
}).$type(),
|
|
140
|
+
instructionPriority: text("instruction_priority", {
|
|
141
|
+
enum: INSTRUCTION_PRIORITIES
|
|
142
|
+
}).$type(),
|
|
143
|
+
processedAt: integer("processed_at", {
|
|
144
|
+
mode: "timestamp_ms"
|
|
145
|
+
}),
|
|
146
|
+
creditor: text("creditor", { mode: "json" }).$type().notNull(),
|
|
147
|
+
creditorIban: text("creditor_iban"),
|
|
148
|
+
debtor: text("debtor", { mode: "json" }).$type().notNull(),
|
|
149
|
+
debtorIban: text("debtor_iban")
|
|
150
|
+
},
|
|
151
|
+
(t) => [
|
|
152
|
+
unique().on(t.connectorKey, t.accountId, t.bankRefId),
|
|
153
|
+
index("payment_account_id_idx").on(t.accountId),
|
|
154
|
+
index("payment_account_id_status_idx").on(t.accountId, t.status),
|
|
155
|
+
index("payment_account_id_created_at_idx").on(t.accountId, t.createdAt),
|
|
156
|
+
index("payment_created_at_idx").on(t.createdAt),
|
|
157
|
+
index("payment_direction_idx").on(t.direction),
|
|
158
|
+
index("payment_batch_id_idx").on(t.batchId),
|
|
159
|
+
index("payment_creditor_iban_idx").on(t.creditorIban),
|
|
160
|
+
index("payment_debtor_iban_idx").on(t.debtorIban)
|
|
161
|
+
]
|
|
162
|
+
);
|
|
163
|
+
|
|
164
|
+
const paymentRequest = sqliteTable(
|
|
165
|
+
"payment_request",
|
|
166
|
+
{
|
|
167
|
+
...base,
|
|
168
|
+
batchId: text("batch_id").references(() => batch.id, {
|
|
169
|
+
onDelete: "restrict",
|
|
170
|
+
onUpdate: "cascade"
|
|
171
|
+
}),
|
|
172
|
+
accountId: text("account_id").references(() => account.id, {
|
|
173
|
+
onDelete: "restrict",
|
|
174
|
+
onUpdate: "cascade"
|
|
175
|
+
}).notNull(),
|
|
176
|
+
correlationId: text("correlation_id").notNull(),
|
|
177
|
+
refId: text("ref_id"),
|
|
178
|
+
bankRefId: text("bank_ref_id"),
|
|
179
|
+
connectorKey: text("connector_key", { enum: CONNECTOR_KEYS }).$type().notNull(),
|
|
180
|
+
amount: real("amount").notNull(),
|
|
181
|
+
paymentType: text("payment_type", { enum: PAYMENT_TYPES }).$type().notNull(),
|
|
182
|
+
currency: text("currency").$type().notNull(),
|
|
183
|
+
status: text("status", { enum: PAYMENT_REQUEST_STATUSES }).$type().notNull(),
|
|
184
|
+
statusReason: text("status_reason"),
|
|
185
|
+
authorizationUrl: text("authorization_url"),
|
|
186
|
+
initiatedAt: integer("initiated_at", { mode: "timestamp_ms" }),
|
|
187
|
+
processedAt: integer("processed_at", { mode: "timestamp_ms" }),
|
|
188
|
+
vs: text("vs"),
|
|
189
|
+
ss: text("ss"),
|
|
190
|
+
ks: text("ks"),
|
|
191
|
+
message: text("message"),
|
|
192
|
+
chargeBearer: text("charge_bearer", {
|
|
193
|
+
enum: CHARGE_BEARERS
|
|
194
|
+
}).$type(),
|
|
195
|
+
instructionPriority: text("instruction_priority", {
|
|
196
|
+
enum: INSTRUCTION_PRIORITIES
|
|
197
|
+
}).$type(),
|
|
198
|
+
creditor: text("creditor", { mode: "json" }).$type().notNull(),
|
|
199
|
+
creditorIban: text("creditor_iban"),
|
|
200
|
+
debtor: text("debtor", { mode: "json" }).$type().notNull(),
|
|
201
|
+
debtorIban: text("debtor_iban"),
|
|
202
|
+
sendAsSinglePayment: integer("send_as_single_payment", {
|
|
203
|
+
mode: "boolean"
|
|
204
|
+
})
|
|
205
|
+
},
|
|
206
|
+
(t) => [
|
|
207
|
+
index("payment_request_batch_id_idx").on(t.batchId),
|
|
208
|
+
index("payment_request_account_id_idx").on(t.accountId),
|
|
209
|
+
index("payment_request_creditor_iban_idx").on(t.creditorIban),
|
|
210
|
+
index("payment_request_debtor_iban_idx").on(t.debtorIban),
|
|
211
|
+
index("payment_request_status_idx").on(t.status),
|
|
212
|
+
index("payment_request_created_at_idx").on(t.createdAt),
|
|
213
|
+
index("payment_request_account_status_idx").on(t.accountId, t.status),
|
|
214
|
+
index("payment_request_status_created_at_idx").on(t.status, t.createdAt),
|
|
215
|
+
index("payment_request_account_status_created_at_idx").on(
|
|
216
|
+
t.accountId,
|
|
217
|
+
t.status,
|
|
218
|
+
t.createdAt
|
|
219
|
+
)
|
|
220
|
+
]
|
|
221
|
+
);
|
|
222
|
+
|
|
223
|
+
const ott = sqliteTable("ott", {
|
|
224
|
+
...base,
|
|
225
|
+
oneTimeToken: text("one_time_token").notNull(),
|
|
226
|
+
refId: text("ref_id").notNull(),
|
|
227
|
+
tokenType: text("token_type", { enum: TOKEN_TYPES }).$type().notNull(),
|
|
228
|
+
expiresAt: integer("expires_at", { mode: "timestamp_ms" }).notNull()
|
|
229
|
+
});
|
|
230
|
+
|
|
231
|
+
const accountCredentials = sqliteTable("account_credentials", {
|
|
232
|
+
...base,
|
|
233
|
+
accountId: text("account_id").references(() => account.id, { onDelete: "restrict", onUpdate: "cascade" }).notNull(),
|
|
234
|
+
connectorKey: text("connector_key", {
|
|
235
|
+
enum: CONNECTOR_KEYS
|
|
236
|
+
}).$type().notNull(),
|
|
237
|
+
type: text("type", {
|
|
238
|
+
enum: CREDENTIALS_TYPES
|
|
239
|
+
}).$type().notNull(),
|
|
240
|
+
value: text("value").notNull(),
|
|
241
|
+
expiresAt: integer("expires_at", { mode: "timestamp_ms" }).notNull()
|
|
242
|
+
});
|
|
243
|
+
|
|
244
|
+
const schema = {
|
|
245
|
+
__proto__: null,
|
|
246
|
+
account: account,
|
|
247
|
+
accountCredentials: accountCredentials,
|
|
248
|
+
batch: batch,
|
|
249
|
+
ott: ott,
|
|
250
|
+
payment: payment,
|
|
251
|
+
paymentRequest: paymentRequest
|
|
252
|
+
};
|
|
253
|
+
|
|
254
|
+
export { ACCOUNT_STATUSES as A, BATCH_MODES as B, CHARGE_BEARERS as C, INSTRUCTION_PRIORITIES as I, PAYMENT_DIRECTIONS as P, TOKEN_TYPES as T, BATCH_STATUSES as a, CONNECTOR_KEYS as b, COUNTRY_CODES as c, CREDENTIALS_TYPES as d, PAYMENT_REQUEST_STATUSES as e, PAYMENT_STATUSES as f, PAYMENT_TYPES as g, account as h, accountCredentials as i, batch as j, paymentRequest as k, ott as o, payment as p, schema as s };
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
const drizzleOrm = require('drizzle-orm');
|
|
4
|
-
const
|
|
4
|
+
const ott_zod = require('./bank.1DaJXkX5.cjs');
|
|
5
5
|
const backendSdk = require('@develit-io/backend-sdk');
|
|
6
|
+
require('./bank.9Yw4KHyl.cjs');
|
|
6
7
|
require('date-fns');
|
|
7
8
|
require('jose');
|
|
8
9
|
require('@develit-io/general-codes');
|
|
@@ -10,16 +11,16 @@ const node_crypto = require('node:crypto');
|
|
|
10
11
|
|
|
11
12
|
const createPaymentCommand = (db, { payment }) => {
|
|
12
13
|
return {
|
|
13
|
-
command: db.insert(
|
|
14
|
+
command: db.insert(ott_zod.tables.payment).values({
|
|
14
15
|
...payment,
|
|
15
16
|
creditorIban: payment.creditor.iban,
|
|
16
17
|
debtorIban: payment.debtor.iban
|
|
17
18
|
}).onConflictDoUpdate({
|
|
18
19
|
// Unique index: (connector_key, account_id, bank_ref_id)
|
|
19
20
|
target: [
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
21
|
+
ott_zod.tables.payment.connectorKey,
|
|
22
|
+
ott_zod.tables.payment.accountId,
|
|
23
|
+
ott_zod.tables.payment.bankRefId
|
|
23
24
|
],
|
|
24
25
|
set: {
|
|
25
26
|
status: drizzleOrm.sql`excluded.status`,
|
|
@@ -37,11 +38,11 @@ const createPaymentCommand = (db, { payment }) => {
|
|
|
37
38
|
|
|
38
39
|
const upsertBatchCommand = (db, { batch }) => {
|
|
39
40
|
const id = batch.id || backendSdk.uuidv4();
|
|
40
|
-
const command = db.insert(
|
|
41
|
+
const command = db.insert(ott_zod.tables.batch).values({
|
|
41
42
|
...batch,
|
|
42
43
|
id
|
|
43
44
|
}).onConflictDoUpdate({
|
|
44
|
-
target:
|
|
45
|
+
target: ott_zod.tables.batch.id,
|
|
45
46
|
set: {
|
|
46
47
|
...batch
|
|
47
48
|
}
|
|
@@ -55,25 +56,25 @@ const upsertBatchCommand = (db, { batch }) => {
|
|
|
55
56
|
const updatePaymentRequestStatusCommand = (db, values) => {
|
|
56
57
|
const { id, ...set } = values;
|
|
57
58
|
return {
|
|
58
|
-
command: db.update(
|
|
59
|
+
command: db.update(ott_zod.tables.paymentRequest).set(set).where(
|
|
59
60
|
drizzleOrm.and(
|
|
60
|
-
drizzleOrm.eq(
|
|
61
|
-
drizzleOrm.isNull(
|
|
61
|
+
drizzleOrm.eq(ott_zod.tables.paymentRequest.id, id),
|
|
62
|
+
drizzleOrm.isNull(ott_zod.tables.paymentRequest.deletedAt)
|
|
62
63
|
)
|
|
63
64
|
).returning()
|
|
64
65
|
};
|
|
65
66
|
};
|
|
66
67
|
|
|
67
68
|
const getAccountByIdQuery = async (db, { accountId }) => {
|
|
68
|
-
return await db.select().from(
|
|
69
|
+
return await db.select().from(ott_zod.tables.account).where(drizzleOrm.eq(ott_zod.tables.account.id, accountId)).get();
|
|
69
70
|
};
|
|
70
71
|
|
|
71
72
|
const getBatchByIdQuery = async (db, { batchId }) => {
|
|
72
|
-
return await db.select().from(
|
|
73
|
+
return await db.select().from(ott_zod.tables.batch).where(drizzleOrm.eq(ott_zod.tables.batch.id, batchId)).get();
|
|
73
74
|
};
|
|
74
75
|
|
|
75
76
|
const getCredentialsByAccountId = async (db, encryptionKey, { accountId }) => {
|
|
76
|
-
const cred = await db.select().from(
|
|
77
|
+
const cred = await db.select().from(ott_zod.tables.accountCredentials).where(drizzleOrm.eq(ott_zod.tables.accountCredentials.accountId, accountId)).get();
|
|
77
78
|
return cred ? {
|
|
78
79
|
...cred,
|
|
79
80
|
value: await decrypt(cred.value, encryptionKey)
|
|
@@ -81,10 +82,10 @@ const getCredentialsByAccountId = async (db, encryptionKey, { accountId }) => {
|
|
|
81
82
|
};
|
|
82
83
|
|
|
83
84
|
const getPaymentRequestsByBatchIdQuery = async (db, { batchId }) => {
|
|
84
|
-
return await db.select().from(
|
|
85
|
+
return await db.select().from(ott_zod.tables.paymentRequest).where(
|
|
85
86
|
drizzleOrm.and(
|
|
86
|
-
drizzleOrm.eq(
|
|
87
|
-
drizzleOrm.isNull(
|
|
87
|
+
drizzleOrm.eq(ott_zod.tables.paymentRequest.batchId, batchId),
|
|
88
|
+
drizzleOrm.isNull(ott_zod.tables.paymentRequest.deletedAt)
|
|
88
89
|
)
|
|
89
90
|
);
|
|
90
91
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { e as CurrencyCode, Q as BankCode, a0 as CountryCode, P as PaymentRequestSelectType } from './bank.
|
|
1
|
+
import { e as CurrencyCode, Q as BankCode, a0 as CountryCode, P as PaymentRequestSelectType } from './bank.DR02_AJ7.cjs';
|
|
2
2
|
import { z } from 'zod';
|
|
3
3
|
|
|
4
4
|
type ReferenceType = `${'VS' | 'SS' | 'KS'}:${number}`;
|
|
@@ -364,7 +364,6 @@ declare const sendPaymentInputSchema: z.ZodObject<{
|
|
|
364
364
|
city: z.ZodOptional<z.ZodString>;
|
|
365
365
|
postalCode: z.ZodOptional<z.ZodString>;
|
|
366
366
|
countryCode: z.ZodOptional<z.ZodEnum<{
|
|
367
|
-
IM: "IM";
|
|
368
367
|
AF: "AF";
|
|
369
368
|
AL: "AL";
|
|
370
369
|
DZ: "DZ";
|
|
@@ -453,6 +452,7 @@ declare const sendPaymentInputSchema: z.ZodObject<{
|
|
|
453
452
|
IR: "IR";
|
|
454
453
|
IQ: "IQ";
|
|
455
454
|
IE: "IE";
|
|
455
|
+
IM: "IM";
|
|
456
456
|
IL: "IL";
|
|
457
457
|
IT: "IT";
|
|
458
458
|
CI: "CI";
|
|
@@ -635,7 +635,6 @@ declare const sendPaymentInputSchema: z.ZodObject<{
|
|
|
635
635
|
AVAX: "AVAX";
|
|
636
636
|
}>>;
|
|
637
637
|
countryCode: z.ZodOptional<z.ZodEnum<{
|
|
638
|
-
IM: "IM";
|
|
639
638
|
AF: "AF";
|
|
640
639
|
AL: "AL";
|
|
641
640
|
DZ: "DZ";
|
|
@@ -724,6 +723,7 @@ declare const sendPaymentInputSchema: z.ZodObject<{
|
|
|
724
723
|
IR: "IR";
|
|
725
724
|
IQ: "IQ";
|
|
726
725
|
IE: "IE";
|
|
726
|
+
IM: "IM";
|
|
727
727
|
IL: "IL";
|
|
728
728
|
IT: "IT";
|
|
729
729
|
CI: "CI";
|
|
@@ -927,7 +927,6 @@ declare const sendPaymentInputSchema: z.ZodObject<{
|
|
|
927
927
|
city: z.ZodOptional<z.ZodString>;
|
|
928
928
|
postalCode: z.ZodOptional<z.ZodString>;
|
|
929
929
|
countryCode: z.ZodOptional<z.ZodEnum<{
|
|
930
|
-
IM: "IM";
|
|
931
930
|
AF: "AF";
|
|
932
931
|
AL: "AL";
|
|
933
932
|
DZ: "DZ";
|
|
@@ -1016,6 +1015,7 @@ declare const sendPaymentInputSchema: z.ZodObject<{
|
|
|
1016
1015
|
IR: "IR";
|
|
1017
1016
|
IQ: "IQ";
|
|
1018
1017
|
IE: "IE";
|
|
1018
|
+
IM: "IM";
|
|
1019
1019
|
IL: "IL";
|
|
1020
1020
|
IT: "IT";
|
|
1021
1021
|
CI: "CI";
|
|
@@ -1198,7 +1198,6 @@ declare const sendPaymentInputSchema: z.ZodObject<{
|
|
|
1198
1198
|
AVAX: "AVAX";
|
|
1199
1199
|
}>>;
|
|
1200
1200
|
countryCode: z.ZodOptional<z.ZodEnum<{
|
|
1201
|
-
IM: "IM";
|
|
1202
1201
|
AF: "AF";
|
|
1203
1202
|
AL: "AL";
|
|
1204
1203
|
DZ: "DZ";
|
|
@@ -1287,6 +1286,7 @@ declare const sendPaymentInputSchema: z.ZodObject<{
|
|
|
1287
1286
|
IR: "IR";
|
|
1288
1287
|
IQ: "IQ";
|
|
1289
1288
|
IE: "IE";
|
|
1289
|
+
IM: "IM";
|
|
1290
1290
|
IL: "IL";
|
|
1291
1291
|
IT: "IT";
|
|
1292
1292
|
CI: "CI";
|
|
@@ -1578,7 +1578,6 @@ declare const sendPaymentSyncInputSchema: z.ZodObject<{
|
|
|
1578
1578
|
city: z.ZodOptional<z.ZodString>;
|
|
1579
1579
|
postalCode: z.ZodOptional<z.ZodString>;
|
|
1580
1580
|
countryCode: z.ZodOptional<z.ZodEnum<{
|
|
1581
|
-
IM: "IM";
|
|
1582
1581
|
AF: "AF";
|
|
1583
1582
|
AL: "AL";
|
|
1584
1583
|
DZ: "DZ";
|
|
@@ -1667,6 +1666,7 @@ declare const sendPaymentSyncInputSchema: z.ZodObject<{
|
|
|
1667
1666
|
IR: "IR";
|
|
1668
1667
|
IQ: "IQ";
|
|
1669
1668
|
IE: "IE";
|
|
1669
|
+
IM: "IM";
|
|
1670
1670
|
IL: "IL";
|
|
1671
1671
|
IT: "IT";
|
|
1672
1672
|
CI: "CI";
|
|
@@ -1849,7 +1849,6 @@ declare const sendPaymentSyncInputSchema: z.ZodObject<{
|
|
|
1849
1849
|
AVAX: "AVAX";
|
|
1850
1850
|
}>>;
|
|
1851
1851
|
countryCode: z.ZodOptional<z.ZodEnum<{
|
|
1852
|
-
IM: "IM";
|
|
1853
1852
|
AF: "AF";
|
|
1854
1853
|
AL: "AL";
|
|
1855
1854
|
DZ: "DZ";
|
|
@@ -1938,6 +1937,7 @@ declare const sendPaymentSyncInputSchema: z.ZodObject<{
|
|
|
1938
1937
|
IR: "IR";
|
|
1939
1938
|
IQ: "IQ";
|
|
1940
1939
|
IE: "IE";
|
|
1940
|
+
IM: "IM";
|
|
1941
1941
|
IL: "IL";
|
|
1942
1942
|
IT: "IT";
|
|
1943
1943
|
CI: "CI";
|
|
@@ -2141,7 +2141,6 @@ declare const sendPaymentSyncInputSchema: z.ZodObject<{
|
|
|
2141
2141
|
city: z.ZodOptional<z.ZodString>;
|
|
2142
2142
|
postalCode: z.ZodOptional<z.ZodString>;
|
|
2143
2143
|
countryCode: z.ZodOptional<z.ZodEnum<{
|
|
2144
|
-
IM: "IM";
|
|
2145
2144
|
AF: "AF";
|
|
2146
2145
|
AL: "AL";
|
|
2147
2146
|
DZ: "DZ";
|
|
@@ -2230,6 +2229,7 @@ declare const sendPaymentSyncInputSchema: z.ZodObject<{
|
|
|
2230
2229
|
IR: "IR";
|
|
2231
2230
|
IQ: "IQ";
|
|
2232
2231
|
IE: "IE";
|
|
2232
|
+
IM: "IM";
|
|
2233
2233
|
IL: "IL";
|
|
2234
2234
|
IT: "IT";
|
|
2235
2235
|
CI: "CI";
|
|
@@ -2412,7 +2412,6 @@ declare const sendPaymentSyncInputSchema: z.ZodObject<{
|
|
|
2412
2412
|
AVAX: "AVAX";
|
|
2413
2413
|
}>>;
|
|
2414
2414
|
countryCode: z.ZodOptional<z.ZodEnum<{
|
|
2415
|
-
IM: "IM";
|
|
2416
2415
|
AF: "AF";
|
|
2417
2416
|
AL: "AL";
|
|
2418
2417
|
DZ: "DZ";
|
|
@@ -2501,6 +2500,7 @@ declare const sendPaymentSyncInputSchema: z.ZodObject<{
|
|
|
2501
2500
|
IR: "IR";
|
|
2502
2501
|
IQ: "IQ";
|
|
2503
2502
|
IE: "IE";
|
|
2503
|
+
IM: "IM";
|
|
2504
2504
|
IL: "IL";
|
|
2505
2505
|
IT: "IT";
|
|
2506
2506
|
CI: "CI";
|