@develit-services/bank 0.1.1 → 0.1.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.
package/dist/export/worker.cjs
CHANGED
|
@@ -247,9 +247,9 @@ const sendPaymentInputSchema = zod.z.object({
|
|
|
247
247
|
refId: zod.z.string(),
|
|
248
248
|
amount: zod.z.number().positive(),
|
|
249
249
|
paymentType: zod.z.enum(database_schema.PAYMENT_TYPES),
|
|
250
|
-
chargeBearer: zod.z.enum(database_schema.CHARGE_BEARERS),
|
|
251
|
-
executionDate: zod.z.string(),
|
|
252
|
-
instructionPriority: zod.z.enum(database_schema.INSTRUCTION_PRIORITIES),
|
|
250
|
+
chargeBearer: zod.z.enum(database_schema.CHARGE_BEARERS).optional(),
|
|
251
|
+
executionDate: zod.z.string().optional(),
|
|
252
|
+
instructionPriority: zod.z.enum(database_schema.INSTRUCTION_PRIORITIES).optional(),
|
|
253
253
|
currency: zod.z.enum(generalCodes.CURRENCY_CODES),
|
|
254
254
|
vs: zod.z.string().optional(),
|
|
255
255
|
ss: zod.z.string().optional(),
|
package/dist/export/worker.d.cts
CHANGED
|
@@ -21,16 +21,16 @@ declare const sendPaymentInputSchema: z.ZodObject<{
|
|
|
21
21
|
IFSC: "IFSC";
|
|
22
22
|
DOMESTIC: "DOMESTIC";
|
|
23
23
|
}>;
|
|
24
|
-
chargeBearer: z.ZodEnum<{
|
|
24
|
+
chargeBearer: z.ZodOptional<z.ZodEnum<{
|
|
25
25
|
SHA: "SHA";
|
|
26
26
|
OUR: "OUR";
|
|
27
27
|
BEN: "BEN";
|
|
28
|
-
}
|
|
29
|
-
executionDate: z.ZodString
|
|
30
|
-
instructionPriority: z.ZodEnum<{
|
|
28
|
+
}>>;
|
|
29
|
+
executionDate: z.ZodOptional<z.ZodString>;
|
|
30
|
+
instructionPriority: z.ZodOptional<z.ZodEnum<{
|
|
31
31
|
NORM: "NORM";
|
|
32
32
|
INST: "INST";
|
|
33
|
-
}
|
|
33
|
+
}>>;
|
|
34
34
|
currency: z.ZodEnum<{
|
|
35
35
|
CZK: "CZK";
|
|
36
36
|
EUR: "EUR";
|
|
@@ -1527,9 +1527,9 @@ declare const getBatchesInputSchema: z.ZodObject<{
|
|
|
1527
1527
|
limit: z.ZodNumber;
|
|
1528
1528
|
sort: z.ZodObject<{
|
|
1529
1529
|
column: z.ZodEnum<{
|
|
1530
|
-
batchPaymentInitiatedAt: "batchPaymentInitiatedAt";
|
|
1531
1530
|
createdAt: "createdAt";
|
|
1532
1531
|
updatedAt: "updatedAt";
|
|
1532
|
+
batchPaymentInitiatedAt: "batchPaymentInitiatedAt";
|
|
1533
1533
|
}>;
|
|
1534
1534
|
direction: z.ZodEnum<{
|
|
1535
1535
|
asc: "asc";
|
|
@@ -2322,14 +2322,14 @@ declare class BankServiceBase extends BankServiceBase_base {
|
|
|
2322
2322
|
addPaymentsToBatch({ paymentsToBatch, }: {
|
|
2323
2323
|
paymentsToBatch: SendPaymentInput[];
|
|
2324
2324
|
}): Promise<IRPCResponse<{
|
|
2325
|
-
batchPaymentInitiatedAt: Date | null;
|
|
2326
|
-
authorizationUrls: string | string[] | null;
|
|
2327
2325
|
status: "OPEN" | "PROCESSING" | "READY_TO_SIGN" | "WAITING_FOR_PROCESSING" | "PREPARED" | "COMPLETED" | "FAILED" | null;
|
|
2328
2326
|
id: string;
|
|
2329
2327
|
createdAt: Date | null;
|
|
2330
2328
|
updatedAt: Date | null;
|
|
2331
2329
|
deletedAt: Date | null;
|
|
2332
2330
|
accountId: string | null;
|
|
2331
|
+
batchPaymentInitiatedAt: Date | null;
|
|
2332
|
+
authorizationUrls: string | string[] | null;
|
|
2333
2333
|
payments: PaymentInsertType[];
|
|
2334
2334
|
metadata: object | null;
|
|
2335
2335
|
}[] | undefined>>;
|
package/dist/export/worker.d.mts
CHANGED
|
@@ -21,16 +21,16 @@ declare const sendPaymentInputSchema: z.ZodObject<{
|
|
|
21
21
|
IFSC: "IFSC";
|
|
22
22
|
DOMESTIC: "DOMESTIC";
|
|
23
23
|
}>;
|
|
24
|
-
chargeBearer: z.ZodEnum<{
|
|
24
|
+
chargeBearer: z.ZodOptional<z.ZodEnum<{
|
|
25
25
|
SHA: "SHA";
|
|
26
26
|
OUR: "OUR";
|
|
27
27
|
BEN: "BEN";
|
|
28
|
-
}
|
|
29
|
-
executionDate: z.ZodString
|
|
30
|
-
instructionPriority: z.ZodEnum<{
|
|
28
|
+
}>>;
|
|
29
|
+
executionDate: z.ZodOptional<z.ZodString>;
|
|
30
|
+
instructionPriority: z.ZodOptional<z.ZodEnum<{
|
|
31
31
|
NORM: "NORM";
|
|
32
32
|
INST: "INST";
|
|
33
|
-
}
|
|
33
|
+
}>>;
|
|
34
34
|
currency: z.ZodEnum<{
|
|
35
35
|
CZK: "CZK";
|
|
36
36
|
EUR: "EUR";
|
|
@@ -1527,9 +1527,9 @@ declare const getBatchesInputSchema: z.ZodObject<{
|
|
|
1527
1527
|
limit: z.ZodNumber;
|
|
1528
1528
|
sort: z.ZodObject<{
|
|
1529
1529
|
column: z.ZodEnum<{
|
|
1530
|
-
batchPaymentInitiatedAt: "batchPaymentInitiatedAt";
|
|
1531
1530
|
createdAt: "createdAt";
|
|
1532
1531
|
updatedAt: "updatedAt";
|
|
1532
|
+
batchPaymentInitiatedAt: "batchPaymentInitiatedAt";
|
|
1533
1533
|
}>;
|
|
1534
1534
|
direction: z.ZodEnum<{
|
|
1535
1535
|
asc: "asc";
|
|
@@ -2322,14 +2322,14 @@ declare class BankServiceBase extends BankServiceBase_base {
|
|
|
2322
2322
|
addPaymentsToBatch({ paymentsToBatch, }: {
|
|
2323
2323
|
paymentsToBatch: SendPaymentInput[];
|
|
2324
2324
|
}): Promise<IRPCResponse<{
|
|
2325
|
-
batchPaymentInitiatedAt: Date | null;
|
|
2326
|
-
authorizationUrls: string | string[] | null;
|
|
2327
2325
|
status: "OPEN" | "PROCESSING" | "READY_TO_SIGN" | "WAITING_FOR_PROCESSING" | "PREPARED" | "COMPLETED" | "FAILED" | null;
|
|
2328
2326
|
id: string;
|
|
2329
2327
|
createdAt: Date | null;
|
|
2330
2328
|
updatedAt: Date | null;
|
|
2331
2329
|
deletedAt: Date | null;
|
|
2332
2330
|
accountId: string | null;
|
|
2331
|
+
batchPaymentInitiatedAt: Date | null;
|
|
2332
|
+
authorizationUrls: string | string[] | null;
|
|
2333
2333
|
payments: PaymentInsertType[];
|
|
2334
2334
|
metadata: object | null;
|
|
2335
2335
|
}[] | undefined>>;
|
package/dist/export/worker.d.ts
CHANGED
|
@@ -21,16 +21,16 @@ declare const sendPaymentInputSchema: z.ZodObject<{
|
|
|
21
21
|
IFSC: "IFSC";
|
|
22
22
|
DOMESTIC: "DOMESTIC";
|
|
23
23
|
}>;
|
|
24
|
-
chargeBearer: z.ZodEnum<{
|
|
24
|
+
chargeBearer: z.ZodOptional<z.ZodEnum<{
|
|
25
25
|
SHA: "SHA";
|
|
26
26
|
OUR: "OUR";
|
|
27
27
|
BEN: "BEN";
|
|
28
|
-
}
|
|
29
|
-
executionDate: z.ZodString
|
|
30
|
-
instructionPriority: z.ZodEnum<{
|
|
28
|
+
}>>;
|
|
29
|
+
executionDate: z.ZodOptional<z.ZodString>;
|
|
30
|
+
instructionPriority: z.ZodOptional<z.ZodEnum<{
|
|
31
31
|
NORM: "NORM";
|
|
32
32
|
INST: "INST";
|
|
33
|
-
}
|
|
33
|
+
}>>;
|
|
34
34
|
currency: z.ZodEnum<{
|
|
35
35
|
CZK: "CZK";
|
|
36
36
|
EUR: "EUR";
|
|
@@ -1527,9 +1527,9 @@ declare const getBatchesInputSchema: z.ZodObject<{
|
|
|
1527
1527
|
limit: z.ZodNumber;
|
|
1528
1528
|
sort: z.ZodObject<{
|
|
1529
1529
|
column: z.ZodEnum<{
|
|
1530
|
-
batchPaymentInitiatedAt: "batchPaymentInitiatedAt";
|
|
1531
1530
|
createdAt: "createdAt";
|
|
1532
1531
|
updatedAt: "updatedAt";
|
|
1532
|
+
batchPaymentInitiatedAt: "batchPaymentInitiatedAt";
|
|
1533
1533
|
}>;
|
|
1534
1534
|
direction: z.ZodEnum<{
|
|
1535
1535
|
asc: "asc";
|
|
@@ -2322,14 +2322,14 @@ declare class BankServiceBase extends BankServiceBase_base {
|
|
|
2322
2322
|
addPaymentsToBatch({ paymentsToBatch, }: {
|
|
2323
2323
|
paymentsToBatch: SendPaymentInput[];
|
|
2324
2324
|
}): Promise<IRPCResponse<{
|
|
2325
|
-
batchPaymentInitiatedAt: Date | null;
|
|
2326
|
-
authorizationUrls: string | string[] | null;
|
|
2327
2325
|
status: "OPEN" | "PROCESSING" | "READY_TO_SIGN" | "WAITING_FOR_PROCESSING" | "PREPARED" | "COMPLETED" | "FAILED" | null;
|
|
2328
2326
|
id: string;
|
|
2329
2327
|
createdAt: Date | null;
|
|
2330
2328
|
updatedAt: Date | null;
|
|
2331
2329
|
deletedAt: Date | null;
|
|
2332
2330
|
accountId: string | null;
|
|
2331
|
+
batchPaymentInitiatedAt: Date | null;
|
|
2332
|
+
authorizationUrls: string | string[] | null;
|
|
2333
2333
|
payments: PaymentInsertType[];
|
|
2334
2334
|
metadata: object | null;
|
|
2335
2335
|
}[] | undefined>>;
|
package/dist/export/worker.mjs
CHANGED
|
@@ -246,9 +246,9 @@ const sendPaymentInputSchema = z.object({
|
|
|
246
246
|
refId: z.string(),
|
|
247
247
|
amount: z.number().positive(),
|
|
248
248
|
paymentType: z.enum(PAYMENT_TYPES),
|
|
249
|
-
chargeBearer: z.enum(CHARGE_BEARERS),
|
|
250
|
-
executionDate: z.string(),
|
|
251
|
-
instructionPriority: z.enum(INSTRUCTION_PRIORITIES),
|
|
249
|
+
chargeBearer: z.enum(CHARGE_BEARERS).optional(),
|
|
250
|
+
executionDate: z.string().optional(),
|
|
251
|
+
instructionPriority: z.enum(INSTRUCTION_PRIORITIES).optional(),
|
|
252
252
|
currency: z.enum(CURRENCY_CODES),
|
|
253
253
|
vs: z.string().optional(),
|
|
254
254
|
ss: z.string().optional(),
|