@floristcloud/api-lib 1.0.46 → 1.0.47
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.
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ApplyBankPaymentEventContractCommand = void 0;
|
|
4
|
+
const zod_1 = require("zod");
|
|
5
|
+
const ApplyBankPaymentEventRequestSchema = zod_1.z.object({
|
|
6
|
+
clientUUID: zod_1.z.uuid().optional().nullable(),
|
|
7
|
+
orderUUID: zod_1.z.uuid().optional().nullable(),
|
|
8
|
+
moneyAccountUUID: zod_1.z.uuid().optional().nullable(),
|
|
9
|
+
});
|
|
10
|
+
const ApplyBankPaymentEventResponseSchema = zod_1.z.object({
|
|
11
|
+
transactionUUID: zod_1.z.uuid().optional().nullable(),
|
|
12
|
+
appliedAt: zod_1.z.date(),
|
|
13
|
+
});
|
|
14
|
+
var ApplyBankPaymentEventContractCommand;
|
|
15
|
+
(function (ApplyBankPaymentEventContractCommand) {
|
|
16
|
+
ApplyBankPaymentEventContractCommand.RequestSchema = ApplyBankPaymentEventRequestSchema;
|
|
17
|
+
ApplyBankPaymentEventContractCommand.ResponseSchema = ApplyBankPaymentEventResponseSchema;
|
|
18
|
+
})(ApplyBankPaymentEventContractCommand || (exports.ApplyBankPaymentEventContractCommand = ApplyBankPaymentEventContractCommand = {}));
|
|
@@ -16,3 +16,5 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
17
|
__exportStar(require("./get-bank-payment-list.query"), exports);
|
|
18
18
|
__exportStar(require("./update-bank-payment-status.query"), exports);
|
|
19
|
+
__exportStar(require("./get-bank-payment-match-suggestions.query"), exports);
|
|
20
|
+
__exportStar(require("./apply-bank-payment-event.command"), exports);
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
|
|
3
|
+
const ApplyBankPaymentEventRequestSchema = z.object({
|
|
4
|
+
clientUUID: z.uuid().optional().nullable(),
|
|
5
|
+
orderUUID: z.uuid().optional().nullable(),
|
|
6
|
+
moneyAccountUUID: z.uuid().optional().nullable(),
|
|
7
|
+
});
|
|
8
|
+
|
|
9
|
+
const ApplyBankPaymentEventResponseSchema = z.object({
|
|
10
|
+
transactionUUID: z.uuid().optional().nullable(),
|
|
11
|
+
appliedAt: z.date(),
|
|
12
|
+
});
|
|
13
|
+
|
|
14
|
+
export namespace ApplyBankPaymentEventContractCommand {
|
|
15
|
+
export const RequestSchema = ApplyBankPaymentEventRequestSchema;
|
|
16
|
+
export type Request = z.infer<typeof RequestSchema>;
|
|
17
|
+
|
|
18
|
+
export const ResponseSchema = ApplyBankPaymentEventResponseSchema;
|
|
19
|
+
export type Response = z.infer<typeof ResponseSchema>;
|
|
20
|
+
}
|