@floristcloud/api-lib 1.0.75 → 1.0.77
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/build/commands/wrire-off-archive/get-write-off-archive-files.command.js +22 -0
- package/build/commands/wrire-off-archive/index.js +1 -0
- package/commands/wrire-off-archive/get-write-off-archive-files.command.ts +22 -0
- package/commands/wrire-off-archive/index.ts +1 -0
- package/package.json +1 -1
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.GetWriteOffArchiveFilesContractQuery = void 0;
|
|
4
|
+
const zod_1 = require("zod");
|
|
5
|
+
const ArchiveFileItemSchema = zod_1.z.object({
|
|
6
|
+
file_key: zod_1.z.string(),
|
|
7
|
+
grower: zod_1.z.string(),
|
|
8
|
+
name: zod_1.z.string(),
|
|
9
|
+
size: zod_1.z.string(),
|
|
10
|
+
});
|
|
11
|
+
const GetWriteOffArchiveFilesResponseSchema = zod_1.z.object({
|
|
12
|
+
message: zod_1.z.string().optional(),
|
|
13
|
+
data: zod_1.z
|
|
14
|
+
.object({
|
|
15
|
+
files: zod_1.z.array(ArchiveFileItemSchema),
|
|
16
|
+
})
|
|
17
|
+
.nullable(),
|
|
18
|
+
});
|
|
19
|
+
var GetWriteOffArchiveFilesContractQuery;
|
|
20
|
+
(function (GetWriteOffArchiveFilesContractQuery) {
|
|
21
|
+
GetWriteOffArchiveFilesContractQuery.ResponseSchema = GetWriteOffArchiveFilesResponseSchema;
|
|
22
|
+
})(GetWriteOffArchiveFilesContractQuery || (exports.GetWriteOffArchiveFilesContractQuery = GetWriteOffArchiveFilesContractQuery = {}));
|
|
@@ -16,3 +16,4 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
17
|
__exportStar(require("./create-wrire-off-archive.command"), exports);
|
|
18
18
|
__exportStar(require("./info-wrire-off-archive.command"), exports);
|
|
19
|
+
__exportStar(require("./get-write-off-archive-files.command"), exports);
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
|
|
3
|
+
const ArchiveFileItemSchema = z.object({
|
|
4
|
+
file_key: z.string(),
|
|
5
|
+
grower: z.string(),
|
|
6
|
+
name: z.string(),
|
|
7
|
+
size: z.string(),
|
|
8
|
+
});
|
|
9
|
+
|
|
10
|
+
const GetWriteOffArchiveFilesResponseSchema = z.object({
|
|
11
|
+
message: z.string().optional(),
|
|
12
|
+
data: z
|
|
13
|
+
.object({
|
|
14
|
+
files: z.array(ArchiveFileItemSchema),
|
|
15
|
+
})
|
|
16
|
+
.nullable(),
|
|
17
|
+
});
|
|
18
|
+
|
|
19
|
+
export namespace GetWriteOffArchiveFilesContractQuery {
|
|
20
|
+
export const ResponseSchema = GetWriteOffArchiveFilesResponseSchema;
|
|
21
|
+
export type Response = z.infer<typeof ResponseSchema>;
|
|
22
|
+
}
|