@develit-io/backend-sdk 8.4.0 → 8.4.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.mts +18 -18
- package/dist/index.d.ts +18 -18
- package/dist/index.mjs +15 -15
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -84,9 +84,9 @@ interface AuthUser {
|
|
|
84
84
|
declare const ibanSchema: z$1.ZodString;
|
|
85
85
|
declare const bicSchema: z$1.ZodString;
|
|
86
86
|
declare const bankAccountMetadataSchema: z$1.ZodObject<{
|
|
87
|
-
id: z$1.
|
|
88
|
-
number: z$1.
|
|
89
|
-
bankCode: z$1.
|
|
87
|
+
id: z$1.ZodOptional<z$1.ZodString>;
|
|
88
|
+
number: z$1.ZodOptional<z$1.ZodString>;
|
|
89
|
+
bankCode: z$1.ZodOptional<z$1.ZodEnum<{
|
|
90
90
|
5051: "5051";
|
|
91
91
|
"0100": "0100";
|
|
92
92
|
"0300": "0300";
|
|
@@ -133,13 +133,13 @@ declare const bankAccountMetadataSchema: z$1.ZodObject<{
|
|
|
133
133
|
8255: "8255";
|
|
134
134
|
8265: "8265";
|
|
135
135
|
8500: "8500";
|
|
136
|
-
}
|
|
137
|
-
holderName: z$1.
|
|
138
|
-
iban: z$1.
|
|
139
|
-
address: z$1.
|
|
140
|
-
swiftBic: z$1.
|
|
141
|
-
bicCor: z$1.
|
|
142
|
-
currency: z$1.
|
|
136
|
+
}>>;
|
|
137
|
+
holderName: z$1.ZodOptional<z$1.ZodString>;
|
|
138
|
+
iban: z$1.ZodOptional<z$1.ZodString>;
|
|
139
|
+
address: z$1.ZodOptional<z$1.ZodString>;
|
|
140
|
+
swiftBic: z$1.ZodOptional<z$1.ZodString>;
|
|
141
|
+
bicCor: z$1.ZodOptional<z$1.ZodString>;
|
|
142
|
+
currency: z$1.ZodOptional<z$1.ZodEnum<{
|
|
143
143
|
CZK: "CZK";
|
|
144
144
|
EUR: "EUR";
|
|
145
145
|
USD: "USD";
|
|
@@ -193,8 +193,8 @@ declare const bankAccountMetadataSchema: z$1.ZodObject<{
|
|
|
193
193
|
DOGE: "DOGE";
|
|
194
194
|
MATIC: "MATIC";
|
|
195
195
|
AVAX: "AVAX";
|
|
196
|
-
}
|
|
197
|
-
countryCode: z$1.
|
|
196
|
+
}>>;
|
|
197
|
+
countryCode: z$1.ZodOptional<z$1.ZodEnum<{
|
|
198
198
|
AF: "AF";
|
|
199
199
|
AL: "AL";
|
|
200
200
|
DZ: "DZ";
|
|
@@ -405,12 +405,12 @@ declare const bankAccountMetadataSchema: z$1.ZodObject<{
|
|
|
405
405
|
YE: "YE";
|
|
406
406
|
ZM: "ZM";
|
|
407
407
|
ZW: "ZW";
|
|
408
|
-
}
|
|
409
|
-
routingNumber: z$1.
|
|
410
|
-
sortCode: z$1.
|
|
411
|
-
clabe: z$1.
|
|
412
|
-
bsb: z$1.
|
|
413
|
-
brBankNumber: z$1.
|
|
408
|
+
}>>;
|
|
409
|
+
routingNumber: z$1.ZodOptional<z$1.ZodString>;
|
|
410
|
+
sortCode: z$1.ZodOptional<z$1.ZodString>;
|
|
411
|
+
clabe: z$1.ZodOptional<z$1.ZodString>;
|
|
412
|
+
bsb: z$1.ZodOptional<z$1.ZodString>;
|
|
413
|
+
brBankNumber: z$1.ZodOptional<z$1.ZodString>;
|
|
414
414
|
}, z$1.core.$strip>;
|
|
415
415
|
interface BankAccountMetadata extends z$1.infer<typeof bankAccountMetadataSchema> {
|
|
416
416
|
}
|
package/dist/index.d.ts
CHANGED
|
@@ -84,9 +84,9 @@ interface AuthUser {
|
|
|
84
84
|
declare const ibanSchema: z$1.ZodString;
|
|
85
85
|
declare const bicSchema: z$1.ZodString;
|
|
86
86
|
declare const bankAccountMetadataSchema: z$1.ZodObject<{
|
|
87
|
-
id: z$1.
|
|
88
|
-
number: z$1.
|
|
89
|
-
bankCode: z$1.
|
|
87
|
+
id: z$1.ZodOptional<z$1.ZodString>;
|
|
88
|
+
number: z$1.ZodOptional<z$1.ZodString>;
|
|
89
|
+
bankCode: z$1.ZodOptional<z$1.ZodEnum<{
|
|
90
90
|
5051: "5051";
|
|
91
91
|
"0100": "0100";
|
|
92
92
|
"0300": "0300";
|
|
@@ -133,13 +133,13 @@ declare const bankAccountMetadataSchema: z$1.ZodObject<{
|
|
|
133
133
|
8255: "8255";
|
|
134
134
|
8265: "8265";
|
|
135
135
|
8500: "8500";
|
|
136
|
-
}
|
|
137
|
-
holderName: z$1.
|
|
138
|
-
iban: z$1.
|
|
139
|
-
address: z$1.
|
|
140
|
-
swiftBic: z$1.
|
|
141
|
-
bicCor: z$1.
|
|
142
|
-
currency: z$1.
|
|
136
|
+
}>>;
|
|
137
|
+
holderName: z$1.ZodOptional<z$1.ZodString>;
|
|
138
|
+
iban: z$1.ZodOptional<z$1.ZodString>;
|
|
139
|
+
address: z$1.ZodOptional<z$1.ZodString>;
|
|
140
|
+
swiftBic: z$1.ZodOptional<z$1.ZodString>;
|
|
141
|
+
bicCor: z$1.ZodOptional<z$1.ZodString>;
|
|
142
|
+
currency: z$1.ZodOptional<z$1.ZodEnum<{
|
|
143
143
|
CZK: "CZK";
|
|
144
144
|
EUR: "EUR";
|
|
145
145
|
USD: "USD";
|
|
@@ -193,8 +193,8 @@ declare const bankAccountMetadataSchema: z$1.ZodObject<{
|
|
|
193
193
|
DOGE: "DOGE";
|
|
194
194
|
MATIC: "MATIC";
|
|
195
195
|
AVAX: "AVAX";
|
|
196
|
-
}
|
|
197
|
-
countryCode: z$1.
|
|
196
|
+
}>>;
|
|
197
|
+
countryCode: z$1.ZodOptional<z$1.ZodEnum<{
|
|
198
198
|
AF: "AF";
|
|
199
199
|
AL: "AL";
|
|
200
200
|
DZ: "DZ";
|
|
@@ -405,12 +405,12 @@ declare const bankAccountMetadataSchema: z$1.ZodObject<{
|
|
|
405
405
|
YE: "YE";
|
|
406
406
|
ZM: "ZM";
|
|
407
407
|
ZW: "ZW";
|
|
408
|
-
}
|
|
409
|
-
routingNumber: z$1.
|
|
410
|
-
sortCode: z$1.
|
|
411
|
-
clabe: z$1.
|
|
412
|
-
bsb: z$1.
|
|
413
|
-
brBankNumber: z$1.
|
|
408
|
+
}>>;
|
|
409
|
+
routingNumber: z$1.ZodOptional<z$1.ZodString>;
|
|
410
|
+
sortCode: z$1.ZodOptional<z$1.ZodString>;
|
|
411
|
+
clabe: z$1.ZodOptional<z$1.ZodString>;
|
|
412
|
+
bsb: z$1.ZodOptional<z$1.ZodString>;
|
|
413
|
+
brBankNumber: z$1.ZodOptional<z$1.ZodString>;
|
|
414
414
|
}, z$1.core.$strip>;
|
|
415
415
|
interface BankAccountMetadata extends z$1.infer<typeof bankAccountMetadataSchema> {
|
|
416
416
|
}
|
package/dist/index.mjs
CHANGED
|
@@ -82,25 +82,25 @@ const bicSchema = z$1.string().min(1).regex(/^[A-Z]{6}[A-Z0-9]{2}([A-Z0-9]{3})?$
|
|
|
82
82
|
message: "Invalid SWIFT/BIC format"
|
|
83
83
|
});
|
|
84
84
|
const bankAccountMetadataSchema = z$1.object({
|
|
85
|
-
id: z$1.string().optional()
|
|
86
|
-
number: z$1.string().optional()
|
|
87
|
-
bankCode: z$1.enum(BANK_CODES).optional()
|
|
88
|
-
holderName: z$1.string().optional()
|
|
89
|
-
iban: ibanSchema.optional()
|
|
90
|
-
address: z$1.string().optional()
|
|
91
|
-
swiftBic: bicSchema.optional()
|
|
92
|
-
bicCor: bicSchema.optional()
|
|
93
|
-
currency: z$1.enum(CURRENCY_CODES).optional()
|
|
94
|
-
countryCode: z$1.enum(COUNTRY_CODES_2).optional()
|
|
95
|
-
routingNumber: z$1.string().optional()
|
|
85
|
+
id: z$1.string().optional(),
|
|
86
|
+
number: z$1.string().optional(),
|
|
87
|
+
bankCode: z$1.enum(BANK_CODES).optional(),
|
|
88
|
+
holderName: z$1.string().optional(),
|
|
89
|
+
iban: ibanSchema.optional(),
|
|
90
|
+
address: z$1.string().optional(),
|
|
91
|
+
swiftBic: bicSchema.optional(),
|
|
92
|
+
bicCor: bicSchema.optional(),
|
|
93
|
+
currency: z$1.enum(CURRENCY_CODES).optional(),
|
|
94
|
+
countryCode: z$1.enum(COUNTRY_CODES_2).optional(),
|
|
95
|
+
routingNumber: z$1.string().optional(),
|
|
96
96
|
// US
|
|
97
|
-
sortCode: z$1.string().optional()
|
|
97
|
+
sortCode: z$1.string().optional(),
|
|
98
98
|
// UK
|
|
99
|
-
clabe: z$1.string().optional()
|
|
99
|
+
clabe: z$1.string().optional(),
|
|
100
100
|
// Mexico
|
|
101
|
-
bsb: z$1.string().optional()
|
|
101
|
+
bsb: z$1.string().optional(),
|
|
102
102
|
// Australia
|
|
103
|
-
brBankNumber: z$1.string().optional()
|
|
103
|
+
brBankNumber: z$1.string().optional()
|
|
104
104
|
// Brazil
|
|
105
105
|
});
|
|
106
106
|
|