@mikemo-coposit/am-accounting-shared 0.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/README.md +107 -0
- package/dist/constants/index.d.mts +5 -0
- package/dist/constants/index.d.ts +5 -0
- package/dist/constants/index.js +21 -0
- package/dist/constants/index.js.map +1 -0
- package/dist/constants/index.mjs +4 -0
- package/dist/constants/index.mjs.map +1 -0
- package/dist/constants/menu/index.d.mts +2 -0
- package/dist/constants/menu/index.d.ts +2 -0
- package/dist/constants/menu/index.js +20 -0
- package/dist/constants/menu/index.js.map +1 -0
- package/dist/constants/menu/index.mjs +3 -0
- package/dist/constants/menu/index.mjs.map +1 -0
- package/dist/constants/menu/menu-status.constant.d.mts +7 -0
- package/dist/constants/menu/menu-status.constant.d.ts +7 -0
- package/dist/constants/menu/menu-status.constant.js +28 -0
- package/dist/constants/menu/menu-status.constant.js.map +1 -0
- package/dist/constants/menu/menu-status.constant.mjs +8 -0
- package/dist/constants/menu/menu-status.constant.mjs.map +1 -0
- package/dist/constants/menu/menu-type.constant.d.mts +8 -0
- package/dist/constants/menu/menu-type.constant.d.ts +8 -0
- package/dist/constants/menu/menu-type.constant.js +29 -0
- package/dist/constants/menu/menu-type.constant.js.map +1 -0
- package/dist/constants/menu/menu-type.constant.mjs +9 -0
- package/dist/constants/menu/menu-type.constant.mjs.map +1 -0
- package/dist/constants/project/index.d.mts +2 -0
- package/dist/constants/project/index.d.ts +2 -0
- package/dist/constants/project/index.js +20 -0
- package/dist/constants/project/index.js.map +1 -0
- package/dist/constants/project/index.mjs +3 -0
- package/dist/constants/project/index.mjs.map +1 -0
- package/dist/constants/project/project-res-status.constant.d.mts +10 -0
- package/dist/constants/project/project-res-status.constant.d.ts +10 -0
- package/dist/constants/project/project-res-status.constant.js +31 -0
- package/dist/constants/project/project-res-status.constant.js.map +1 -0
- package/dist/constants/project/project-res-status.constant.mjs +11 -0
- package/dist/constants/project/project-res-status.constant.mjs.map +1 -0
- package/dist/constants/project/project-trust-account-allocation-status.constant.d.mts +8 -0
- package/dist/constants/project/project-trust-account-allocation-status.constant.d.ts +8 -0
- package/dist/constants/project/project-trust-account-allocation-status.constant.js +29 -0
- package/dist/constants/project/project-trust-account-allocation-status.constant.js.map +1 -0
- package/dist/constants/project/project-trust-account-allocation-status.constant.mjs +9 -0
- package/dist/constants/project/project-trust-account-allocation-status.constant.mjs.map +1 -0
- package/dist/constants/trust-account/index.d.mts +1 -0
- package/dist/constants/trust-account/index.d.ts +1 -0
- package/dist/constants/trust-account/index.js +19 -0
- package/dist/constants/trust-account/index.js.map +1 -0
- package/dist/constants/trust-account/index.mjs +2 -0
- package/dist/constants/trust-account/index.mjs.map +1 -0
- package/dist/constants/trust-account/trust-account-status.constant.d.mts +6 -0
- package/dist/constants/trust-account/trust-account-status.constant.d.ts +6 -0
- package/dist/constants/trust-account/trust-account-status.constant.js +29 -0
- package/dist/constants/trust-account/trust-account-status.constant.js.map +1 -0
- package/dist/constants/trust-account/trust-account-status.constant.mjs +9 -0
- package/dist/constants/trust-account/trust-account-status.constant.mjs.map +1 -0
- package/dist/grpc/constants/accountms.constant.d.mts +14 -0
- package/dist/grpc/constants/accountms.constant.d.ts +14 -0
- package/dist/grpc/constants/accountms.constant.js +39 -0
- package/dist/grpc/constants/accountms.constant.js.map +1 -0
- package/dist/grpc/constants/accountms.constant.mjs +19 -0
- package/dist/grpc/constants/accountms.constant.mjs.map +1 -0
- package/dist/grpc/constants/index.d.mts +1 -0
- package/dist/grpc/constants/index.d.ts +1 -0
- package/dist/grpc/constants/index.js +19 -0
- package/dist/grpc/constants/index.js.map +1 -0
- package/dist/grpc/constants/index.mjs +2 -0
- package/dist/grpc/constants/index.mjs.map +1 -0
- package/dist/grpc/index.d.mts +4 -0
- package/dist/grpc/index.d.ts +4 -0
- package/dist/grpc/index.js +20 -0
- package/dist/grpc/index.js.map +1 -0
- package/dist/grpc/index.mjs +3 -0
- package/dist/grpc/index.mjs.map +1 -0
- package/dist/grpc/protos/common/common.file.d.mts +2 -0
- package/dist/grpc/protos/common/common.file.d.ts +2 -0
- package/dist/grpc/protos/common/common.file.proto +30 -0
- package/dist/grpc/protos/common/common.general.d.mts +2 -0
- package/dist/grpc/protos/common/common.general.d.ts +2 -0
- package/dist/grpc/protos/common/common.general.proto +53 -0
- package/dist/grpc/protos/project-trust-account-allocation/project-trust-account-allocation.d.mts +2 -0
- package/dist/grpc/protos/project-trust-account-allocation/project-trust-account-allocation.d.ts +2 -0
- package/dist/grpc/protos/project-trust-account-allocation/project-trust-account-allocation.e.d.mts +2 -0
- package/dist/grpc/protos/project-trust-account-allocation/project-trust-account-allocation.e.d.ts +2 -0
- package/dist/grpc/protos/project-trust-account-allocation/project-trust-account-allocation.e.proto +16 -0
- package/dist/grpc/protos/project-trust-account-allocation/project-trust-account-allocation.proto +28 -0
- package/dist/grpc/protos/trust-account/trust-account.d.mts +2 -0
- package/dist/grpc/protos/trust-account/trust-account.d.ts +2 -0
- package/dist/grpc/protos/trust-account/trust-account.e.d.mts +2 -0
- package/dist/grpc/protos/trust-account/trust-account.e.d.ts +2 -0
- package/dist/grpc/protos/trust-account/trust-account.e.proto +18 -0
- package/dist/grpc/protos/trust-account/trust-account.proto +35 -0
- package/dist/grpc/utils/grpc.options.util.d.mts +10 -0
- package/dist/grpc/utils/grpc.options.util.d.ts +10 -0
- package/dist/grpc/utils/grpc.options.util.js +57 -0
- package/dist/grpc/utils/grpc.options.util.js.map +1 -0
- package/dist/grpc/utils/grpc.options.util.mjs +37 -0
- package/dist/grpc/utils/grpc.options.util.mjs.map +1 -0
- package/dist/grpc/utils/index.d.mts +3 -0
- package/dist/grpc/utils/index.d.ts +3 -0
- package/dist/grpc/utils/index.js +20 -0
- package/dist/grpc/utils/index.js.map +1 -0
- package/dist/grpc/utils/index.mjs +3 -0
- package/dist/grpc/utils/index.mjs.map +1 -0
- package/dist/grpc/utils/proto.util.d.mts +18 -0
- package/dist/grpc/utils/proto.util.d.ts +18 -0
- package/dist/grpc/utils/proto.util.js +102 -0
- package/dist/grpc/utils/proto.util.js.map +1 -0
- package/dist/grpc/utils/proto.util.mjs +82 -0
- package/dist/grpc/utils/proto.util.mjs.map +1 -0
- package/dist/index.d.mts +28 -0
- package/dist/index.d.ts +28 -0
- package/dist/index.js +23 -0
- package/dist/index.js.map +1 -0
- package/dist/index.mjs +6 -0
- package/dist/index.mjs.map +1 -0
- package/dist/interfaces/common/common.interface.d.mts +6 -0
- package/dist/interfaces/common/common.interface.d.ts +6 -0
- package/dist/interfaces/common/common.interface.js +17 -0
- package/dist/interfaces/common/common.interface.js.map +1 -0
- package/dist/interfaces/common/common.interface.mjs +1 -0
- package/dist/interfaces/common/common.interface.mjs.map +1 -0
- package/dist/interfaces/common/index.d.mts +1 -0
- package/dist/interfaces/common/index.d.ts +1 -0
- package/dist/interfaces/common/index.js +19 -0
- package/dist/interfaces/common/index.js.map +1 -0
- package/dist/interfaces/common/index.mjs +2 -0
- package/dist/interfaces/common/index.mjs.map +1 -0
- package/dist/interfaces/index.d.mts +12 -0
- package/dist/interfaces/index.d.ts +12 -0
- package/dist/interfaces/index.js +21 -0
- package/dist/interfaces/index.js.map +1 -0
- package/dist/interfaces/index.mjs +4 -0
- package/dist/interfaces/index.mjs.map +1 -0
- package/dist/interfaces/project-trust-account-allocation/index.d.mts +7 -0
- package/dist/interfaces/project-trust-account-allocation/index.d.ts +7 -0
- package/dist/interfaces/project-trust-account-allocation/index.js +20 -0
- package/dist/interfaces/project-trust-account-allocation/index.js.map +1 -0
- package/dist/interfaces/project-trust-account-allocation/index.mjs +3 -0
- package/dist/interfaces/project-trust-account-allocation/index.mjs.map +1 -0
- package/dist/interfaces/project-trust-account-allocation/project-trust-account-allocation.entity.interface.d.mts +16 -0
- package/dist/interfaces/project-trust-account-allocation/project-trust-account-allocation.entity.interface.d.ts +16 -0
- package/dist/interfaces/project-trust-account-allocation/project-trust-account-allocation.entity.interface.js +17 -0
- package/dist/interfaces/project-trust-account-allocation/project-trust-account-allocation.entity.interface.js.map +1 -0
- package/dist/interfaces/project-trust-account-allocation/project-trust-account-allocation.entity.interface.mjs +1 -0
- package/dist/interfaces/project-trust-account-allocation/project-trust-account-allocation.entity.interface.mjs.map +1 -0
- package/dist/interfaces/project-trust-account-allocation/project-trust-account-allocation.grpc.interface.d.mts +24 -0
- package/dist/interfaces/project-trust-account-allocation/project-trust-account-allocation.grpc.interface.d.ts +24 -0
- package/dist/interfaces/project-trust-account-allocation/project-trust-account-allocation.grpc.interface.js +17 -0
- package/dist/interfaces/project-trust-account-allocation/project-trust-account-allocation.grpc.interface.js.map +1 -0
- package/dist/interfaces/project-trust-account-allocation/project-trust-account-allocation.grpc.interface.mjs +1 -0
- package/dist/interfaces/project-trust-account-allocation/project-trust-account-allocation.grpc.interface.mjs.map +1 -0
- package/dist/interfaces/trust-account/index.d.mts +8 -0
- package/dist/interfaces/trust-account/index.d.ts +8 -0
- package/dist/interfaces/trust-account/index.js +20 -0
- package/dist/interfaces/trust-account/index.js.map +1 -0
- package/dist/interfaces/trust-account/index.mjs +3 -0
- package/dist/interfaces/trust-account/index.mjs.map +1 -0
- package/dist/interfaces/trust-account/trust-account.entity.interface.d.mts +18 -0
- package/dist/interfaces/trust-account/trust-account.entity.interface.d.ts +18 -0
- package/dist/interfaces/trust-account/trust-account.entity.interface.js +17 -0
- package/dist/interfaces/trust-account/trust-account.entity.interface.js.map +1 -0
- package/dist/interfaces/trust-account/trust-account.entity.interface.mjs +1 -0
- package/dist/interfaces/trust-account/trust-account.entity.interface.mjs.map +1 -0
- package/dist/interfaces/trust-account/trust-account.grpc.interface.d.mts +24 -0
- package/dist/interfaces/trust-account/trust-account.grpc.interface.d.ts +24 -0
- package/dist/interfaces/trust-account/trust-account.grpc.interface.js +17 -0
- package/dist/interfaces/trust-account/trust-account.grpc.interface.js.map +1 -0
- package/dist/interfaces/trust-account/trust-account.grpc.interface.mjs +1 -0
- package/dist/interfaces/trust-account/trust-account.grpc.interface.mjs.map +1 -0
- package/dist/schemas/index.d.mts +12 -0
- package/dist/schemas/index.d.ts +12 -0
- package/dist/schemas/index.js +22 -0
- package/dist/schemas/index.js.map +1 -0
- package/dist/schemas/index.mjs +5 -0
- package/dist/schemas/index.mjs.map +1 -0
- package/dist/schemas/menu/create-menu.schema.d.mts +49 -0
- package/dist/schemas/menu/create-menu.schema.d.ts +49 -0
- package/dist/schemas/menu/create-menu.schema.js +40 -0
- package/dist/schemas/menu/create-menu.schema.js.map +1 -0
- package/dist/schemas/menu/create-menu.schema.mjs +20 -0
- package/dist/schemas/menu/create-menu.schema.mjs.map +1 -0
- package/dist/schemas/menu/index.d.mts +4 -0
- package/dist/schemas/menu/index.d.ts +4 -0
- package/dist/schemas/menu/index.js +21 -0
- package/dist/schemas/menu/index.js.map +1 -0
- package/dist/schemas/menu/index.mjs +4 -0
- package/dist/schemas/menu/index.mjs.map +1 -0
- package/dist/schemas/menu/menu-res.schema.d.mts +219 -0
- package/dist/schemas/menu/menu-res.schema.d.ts +219 -0
- package/dist/schemas/menu/menu-res.schema.js +49 -0
- package/dist/schemas/menu/menu-res.schema.js.map +1 -0
- package/dist/schemas/menu/menu-res.schema.mjs +29 -0
- package/dist/schemas/menu/menu-res.schema.mjs.map +1 -0
- package/dist/schemas/menu/update-menu.schema.d.mts +53 -0
- package/dist/schemas/menu/update-menu.schema.d.ts +53 -0
- package/dist/schemas/menu/update-menu.schema.js +29 -0
- package/dist/schemas/menu/update-menu.schema.js.map +1 -0
- package/dist/schemas/menu/update-menu.schema.mjs +9 -0
- package/dist/schemas/menu/update-menu.schema.mjs.map +1 -0
- package/dist/schemas/project/index.d.mts +3 -0
- package/dist/schemas/project/index.d.ts +3 -0
- package/dist/schemas/project/index.js +19 -0
- package/dist/schemas/project/index.js.map +1 -0
- package/dist/schemas/project/index.mjs +2 -0
- package/dist/schemas/project/index.mjs.map +1 -0
- package/dist/schemas/project/project-res.schema.d.mts +154 -0
- package/dist/schemas/project/project-res.schema.d.ts +154 -0
- package/dist/schemas/project/project-res.schema.js +42 -0
- package/dist/schemas/project/project-res.schema.js.map +1 -0
- package/dist/schemas/project/project-res.schema.mjs +22 -0
- package/dist/schemas/project/project-res.schema.mjs.map +1 -0
- package/dist/schemas/project-trust-account-allocation/allocate-trust-account-to-project.schema.d.mts +15 -0
- package/dist/schemas/project-trust-account-allocation/allocate-trust-account-to-project.schema.d.ts +15 -0
- package/dist/schemas/project-trust-account-allocation/allocate-trust-account-to-project.schema.js +29 -0
- package/dist/schemas/project-trust-account-allocation/allocate-trust-account-to-project.schema.js.map +1 -0
- package/dist/schemas/project-trust-account-allocation/allocate-trust-account-to-project.schema.mjs +9 -0
- package/dist/schemas/project-trust-account-allocation/allocate-trust-account-to-project.schema.mjs.map +1 -0
- package/dist/schemas/project-trust-account-allocation/approve-trust-account-allocation.schema.d.mts +12 -0
- package/dist/schemas/project-trust-account-allocation/approve-trust-account-allocation.schema.d.ts +12 -0
- package/dist/schemas/project-trust-account-allocation/approve-trust-account-allocation.schema.js +28 -0
- package/dist/schemas/project-trust-account-allocation/approve-trust-account-allocation.schema.js.map +1 -0
- package/dist/schemas/project-trust-account-allocation/approve-trust-account-allocation.schema.mjs +8 -0
- package/dist/schemas/project-trust-account-allocation/approve-trust-account-allocation.schema.mjs.map +1 -0
- package/dist/schemas/project-trust-account-allocation/index.d.mts +4 -0
- package/dist/schemas/project-trust-account-allocation/index.d.ts +4 -0
- package/dist/schemas/project-trust-account-allocation/index.js +21 -0
- package/dist/schemas/project-trust-account-allocation/index.js.map +1 -0
- package/dist/schemas/project-trust-account-allocation/index.mjs +4 -0
- package/dist/schemas/project-trust-account-allocation/index.mjs.map +1 -0
- package/dist/schemas/project-trust-account-allocation/project-trust-account-allocation-res.schema.d.mts +46 -0
- package/dist/schemas/project-trust-account-allocation/project-trust-account-allocation-res.schema.d.ts +46 -0
- package/dist/schemas/project-trust-account-allocation/project-trust-account-allocation-res.schema.js +39 -0
- package/dist/schemas/project-trust-account-allocation/project-trust-account-allocation-res.schema.js.map +1 -0
- package/dist/schemas/project-trust-account-allocation/project-trust-account-allocation-res.schema.mjs +19 -0
- package/dist/schemas/project-trust-account-allocation/project-trust-account-allocation-res.schema.mjs.map +1 -0
- package/dist/schemas/trust-account/create-trust-account.schema.d.mts +28 -0
- package/dist/schemas/trust-account/create-trust-account.schema.d.ts +28 -0
- package/dist/schemas/trust-account/create-trust-account.schema.js +36 -0
- package/dist/schemas/trust-account/create-trust-account.schema.js.map +1 -0
- package/dist/schemas/trust-account/create-trust-account.schema.mjs +16 -0
- package/dist/schemas/trust-account/create-trust-account.schema.mjs.map +1 -0
- package/dist/schemas/trust-account/index.d.mts +5 -0
- package/dist/schemas/trust-account/index.d.ts +5 -0
- package/dist/schemas/trust-account/index.js +21 -0
- package/dist/schemas/trust-account/index.js.map +1 -0
- package/dist/schemas/trust-account/index.mjs +4 -0
- package/dist/schemas/trust-account/index.mjs.map +1 -0
- package/dist/schemas/trust-account/trust-account-res.schema.d.mts +31 -0
- package/dist/schemas/trust-account/trust-account-res.schema.d.ts +31 -0
- package/dist/schemas/trust-account/trust-account-res.schema.js +46 -0
- package/dist/schemas/trust-account/trust-account-res.schema.js.map +1 -0
- package/dist/schemas/trust-account/trust-account-res.schema.mjs +26 -0
- package/dist/schemas/trust-account/trust-account-res.schema.mjs.map +1 -0
- package/dist/schemas/trust-account/update-trust-account.schema.d.mts +15 -0
- package/dist/schemas/trust-account/update-trust-account.schema.d.ts +15 -0
- package/dist/schemas/trust-account/update-trust-account.schema.js +29 -0
- package/dist/schemas/trust-account/update-trust-account.schema.js.map +1 -0
- package/dist/schemas/trust-account/update-trust-account.schema.mjs +9 -0
- package/dist/schemas/trust-account/update-trust-account.schema.mjs.map +1 -0
- package/dist/utils/index.d.mts +1 -0
- package/dist/utils/index.d.ts +1 -0
- package/dist/utils/index.js +19 -0
- package/dist/utils/index.js.map +1 -0
- package/dist/utils/index.mjs +2 -0
- package/dist/utils/index.mjs.map +1 -0
- package/dist/utils/mask.d.mts +7 -0
- package/dist/utils/mask.d.ts +7 -0
- package/dist/utils/mask.js +41 -0
- package/dist/utils/mask.js.map +1 -0
- package/dist/utils/mask.mjs +21 -0
- package/dist/utils/mask.mjs.map +1 -0
- package/package.json +109 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../packages/schemas/menu/update-menu.schema.ts"],"sourcesContent":["import { z } from 'zod';\nimport { createMenuRestReqSchema } from './create-menu.schema';\n\nexport const updateMenuRestReqSchema = createMenuRestReqSchema.extend({\n id: z.string(),\n});\n\nexport type UpdateMenuRestReq = z.infer<typeof updateMenuRestReqSchema>;\n"],"mappings":"AAAA,SAAS,SAAS;AAClB,SAAS,+BAA+B;AAEjC,MAAM,0BAA0B,wBAAwB,OAAO;AAAA,EACpE,IAAI,EAAE,OAAO;AACf,CAAC;","names":[]}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __copyProps = (to, from, except, desc) => {
|
|
7
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
8
|
+
for (let key of __getOwnPropNames(from))
|
|
9
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
10
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
11
|
+
}
|
|
12
|
+
return to;
|
|
13
|
+
};
|
|
14
|
+
var __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, "default"), secondTarget && __copyProps(secondTarget, mod, "default"));
|
|
15
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
16
|
+
var project_exports = {};
|
|
17
|
+
module.exports = __toCommonJS(project_exports);
|
|
18
|
+
__reExport(project_exports, require("./project-res.schema"), module.exports);
|
|
19
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../packages/schemas/project/index.ts"],"sourcesContent":["// This file is auto-generated. Do not edit manually.\n\nexport * from './project-res.schema';\n"],"mappings":";;;;;;;;;;;;;;;AAAA;AAAA;AAEA,4BAAc,iCAFd;","names":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../packages/schemas/project/index.ts"],"sourcesContent":["// This file is auto-generated. Do not edit manually.\n\nexport * from './project-res.schema';\n"],"mappings":"AAEA,cAAc;","names":[]}
|
|
@@ -0,0 +1,154 @@
|
|
|
1
|
+
import * as _mikemo_coposit_am_zshared from '@mikemo-coposit/am-zshared';
|
|
2
|
+
import { AuStateCode } from '@mikemo-coposit/am-zshared';
|
|
3
|
+
import { z } from 'zod';
|
|
4
|
+
|
|
5
|
+
declare const projectRestResSchema: z.ZodObject<{
|
|
6
|
+
id: z.ZodString;
|
|
7
|
+
name: z.ZodString;
|
|
8
|
+
developerName: z.ZodString;
|
|
9
|
+
state: z.ZodNativeEnum<typeof AuStateCode>;
|
|
10
|
+
country: z.ZodString;
|
|
11
|
+
trustAccountId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
12
|
+
trustAccount: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
13
|
+
id: z.ZodString;
|
|
14
|
+
name: z.ZodString;
|
|
15
|
+
country: z.ZodString;
|
|
16
|
+
stateCode: z.ZodNativeEnum<typeof AuStateCode>;
|
|
17
|
+
bankCode: z.ZodNativeEnum<typeof _mikemo_coposit_am_zshared.AuTrustAccountBankCode>;
|
|
18
|
+
accountNumber: z.ZodEffects<z.ZodString, string, string>;
|
|
19
|
+
bsb: z.ZodEffects<z.ZodString, string, string>;
|
|
20
|
+
}, "strip", z.ZodTypeAny, {
|
|
21
|
+
id: string;
|
|
22
|
+
name: string;
|
|
23
|
+
country: string;
|
|
24
|
+
stateCode: AuStateCode;
|
|
25
|
+
bankCode: _mikemo_coposit_am_zshared.AuTrustAccountBankCode;
|
|
26
|
+
accountNumber: string;
|
|
27
|
+
bsb: string;
|
|
28
|
+
}, {
|
|
29
|
+
id: string;
|
|
30
|
+
name: string;
|
|
31
|
+
country: string;
|
|
32
|
+
stateCode: AuStateCode;
|
|
33
|
+
bankCode: _mikemo_coposit_am_zshared.AuTrustAccountBankCode;
|
|
34
|
+
accountNumber: string;
|
|
35
|
+
bsb: string;
|
|
36
|
+
}>>>>;
|
|
37
|
+
createdAt: z.ZodString;
|
|
38
|
+
updatedAt: z.ZodString;
|
|
39
|
+
trustAccountAllocation: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
40
|
+
id: z.ZodString;
|
|
41
|
+
projectId: z.ZodString;
|
|
42
|
+
trustAccountId: z.ZodString;
|
|
43
|
+
status: z.ZodNativeEnum<{
|
|
44
|
+
readonly PENDING_APPROVAL: "pending_approval";
|
|
45
|
+
readonly APPROVED: "approved";
|
|
46
|
+
readonly REJECTED: "rejected";
|
|
47
|
+
}>;
|
|
48
|
+
createdBy: z.ZodString;
|
|
49
|
+
createdAt: z.ZodString;
|
|
50
|
+
approvedBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
51
|
+
approvedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
52
|
+
updatedAt: z.ZodString;
|
|
53
|
+
creatorName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
54
|
+
approverName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
55
|
+
}, "strip", z.ZodTypeAny, {
|
|
56
|
+
projectId: string;
|
|
57
|
+
trustAccountId: string;
|
|
58
|
+
status: "pending_approval" | "approved" | "rejected";
|
|
59
|
+
id: string;
|
|
60
|
+
createdAt: string;
|
|
61
|
+
updatedAt: string;
|
|
62
|
+
createdBy: string;
|
|
63
|
+
approvedBy?: string | null | undefined;
|
|
64
|
+
approvedAt?: string | null | undefined;
|
|
65
|
+
creatorName?: string | null | undefined;
|
|
66
|
+
approverName?: string | null | undefined;
|
|
67
|
+
}, {
|
|
68
|
+
projectId: string;
|
|
69
|
+
trustAccountId: string;
|
|
70
|
+
status: "pending_approval" | "approved" | "rejected";
|
|
71
|
+
id: string;
|
|
72
|
+
createdAt: string;
|
|
73
|
+
updatedAt: string;
|
|
74
|
+
createdBy: string;
|
|
75
|
+
approvedBy?: string | null | undefined;
|
|
76
|
+
approvedAt?: string | null | undefined;
|
|
77
|
+
creatorName?: string | null | undefined;
|
|
78
|
+
approverName?: string | null | undefined;
|
|
79
|
+
}>>>>;
|
|
80
|
+
status: z.ZodNativeEnum<{
|
|
81
|
+
readonly MISS_MATCH: "miss_match";
|
|
82
|
+
readonly PENDING_TRUST_ACCOUNT: "pending_trust_account";
|
|
83
|
+
readonly PENDING_APPROVAL: "pending_approval";
|
|
84
|
+
readonly APPROVED: "approved";
|
|
85
|
+
readonly REJECTED: "rejected";
|
|
86
|
+
}>;
|
|
87
|
+
}, "strip", z.ZodTypeAny, {
|
|
88
|
+
status: "miss_match" | "pending_trust_account" | "pending_approval" | "approved" | "rejected";
|
|
89
|
+
id: string;
|
|
90
|
+
createdAt: string;
|
|
91
|
+
updatedAt: string;
|
|
92
|
+
name: string;
|
|
93
|
+
country: string;
|
|
94
|
+
developerName: string;
|
|
95
|
+
state: AuStateCode;
|
|
96
|
+
trustAccountId?: string | null | undefined;
|
|
97
|
+
trustAccount?: {
|
|
98
|
+
id: string;
|
|
99
|
+
name: string;
|
|
100
|
+
country: string;
|
|
101
|
+
stateCode: AuStateCode;
|
|
102
|
+
bankCode: _mikemo_coposit_am_zshared.AuTrustAccountBankCode;
|
|
103
|
+
accountNumber: string;
|
|
104
|
+
bsb: string;
|
|
105
|
+
} | null | undefined;
|
|
106
|
+
trustAccountAllocation?: {
|
|
107
|
+
projectId: string;
|
|
108
|
+
trustAccountId: string;
|
|
109
|
+
status: "pending_approval" | "approved" | "rejected";
|
|
110
|
+
id: string;
|
|
111
|
+
createdAt: string;
|
|
112
|
+
updatedAt: string;
|
|
113
|
+
createdBy: string;
|
|
114
|
+
approvedBy?: string | null | undefined;
|
|
115
|
+
approvedAt?: string | null | undefined;
|
|
116
|
+
creatorName?: string | null | undefined;
|
|
117
|
+
approverName?: string | null | undefined;
|
|
118
|
+
} | null | undefined;
|
|
119
|
+
}, {
|
|
120
|
+
status: "miss_match" | "pending_trust_account" | "pending_approval" | "approved" | "rejected";
|
|
121
|
+
id: string;
|
|
122
|
+
createdAt: string;
|
|
123
|
+
updatedAt: string;
|
|
124
|
+
name: string;
|
|
125
|
+
country: string;
|
|
126
|
+
developerName: string;
|
|
127
|
+
state: AuStateCode;
|
|
128
|
+
trustAccountId?: string | null | undefined;
|
|
129
|
+
trustAccount?: {
|
|
130
|
+
id: string;
|
|
131
|
+
name: string;
|
|
132
|
+
country: string;
|
|
133
|
+
stateCode: AuStateCode;
|
|
134
|
+
bankCode: _mikemo_coposit_am_zshared.AuTrustAccountBankCode;
|
|
135
|
+
accountNumber: string;
|
|
136
|
+
bsb: string;
|
|
137
|
+
} | null | undefined;
|
|
138
|
+
trustAccountAllocation?: {
|
|
139
|
+
projectId: string;
|
|
140
|
+
trustAccountId: string;
|
|
141
|
+
status: "pending_approval" | "approved" | "rejected";
|
|
142
|
+
id: string;
|
|
143
|
+
createdAt: string;
|
|
144
|
+
updatedAt: string;
|
|
145
|
+
createdBy: string;
|
|
146
|
+
approvedBy?: string | null | undefined;
|
|
147
|
+
approvedAt?: string | null | undefined;
|
|
148
|
+
creatorName?: string | null | undefined;
|
|
149
|
+
approverName?: string | null | undefined;
|
|
150
|
+
} | null | undefined;
|
|
151
|
+
}>;
|
|
152
|
+
type ProjectRestRes = z.infer<typeof projectRestResSchema>;
|
|
153
|
+
|
|
154
|
+
export { type ProjectRestRes, projectRestResSchema };
|
|
@@ -0,0 +1,154 @@
|
|
|
1
|
+
import * as _mikemo_coposit_am_zshared from '@mikemo-coposit/am-zshared';
|
|
2
|
+
import { AuStateCode } from '@mikemo-coposit/am-zshared';
|
|
3
|
+
import { z } from 'zod';
|
|
4
|
+
|
|
5
|
+
declare const projectRestResSchema: z.ZodObject<{
|
|
6
|
+
id: z.ZodString;
|
|
7
|
+
name: z.ZodString;
|
|
8
|
+
developerName: z.ZodString;
|
|
9
|
+
state: z.ZodNativeEnum<typeof AuStateCode>;
|
|
10
|
+
country: z.ZodString;
|
|
11
|
+
trustAccountId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
12
|
+
trustAccount: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
13
|
+
id: z.ZodString;
|
|
14
|
+
name: z.ZodString;
|
|
15
|
+
country: z.ZodString;
|
|
16
|
+
stateCode: z.ZodNativeEnum<typeof AuStateCode>;
|
|
17
|
+
bankCode: z.ZodNativeEnum<typeof _mikemo_coposit_am_zshared.AuTrustAccountBankCode>;
|
|
18
|
+
accountNumber: z.ZodEffects<z.ZodString, string, string>;
|
|
19
|
+
bsb: z.ZodEffects<z.ZodString, string, string>;
|
|
20
|
+
}, "strip", z.ZodTypeAny, {
|
|
21
|
+
id: string;
|
|
22
|
+
name: string;
|
|
23
|
+
country: string;
|
|
24
|
+
stateCode: AuStateCode;
|
|
25
|
+
bankCode: _mikemo_coposit_am_zshared.AuTrustAccountBankCode;
|
|
26
|
+
accountNumber: string;
|
|
27
|
+
bsb: string;
|
|
28
|
+
}, {
|
|
29
|
+
id: string;
|
|
30
|
+
name: string;
|
|
31
|
+
country: string;
|
|
32
|
+
stateCode: AuStateCode;
|
|
33
|
+
bankCode: _mikemo_coposit_am_zshared.AuTrustAccountBankCode;
|
|
34
|
+
accountNumber: string;
|
|
35
|
+
bsb: string;
|
|
36
|
+
}>>>>;
|
|
37
|
+
createdAt: z.ZodString;
|
|
38
|
+
updatedAt: z.ZodString;
|
|
39
|
+
trustAccountAllocation: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
40
|
+
id: z.ZodString;
|
|
41
|
+
projectId: z.ZodString;
|
|
42
|
+
trustAccountId: z.ZodString;
|
|
43
|
+
status: z.ZodNativeEnum<{
|
|
44
|
+
readonly PENDING_APPROVAL: "pending_approval";
|
|
45
|
+
readonly APPROVED: "approved";
|
|
46
|
+
readonly REJECTED: "rejected";
|
|
47
|
+
}>;
|
|
48
|
+
createdBy: z.ZodString;
|
|
49
|
+
createdAt: z.ZodString;
|
|
50
|
+
approvedBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
51
|
+
approvedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
52
|
+
updatedAt: z.ZodString;
|
|
53
|
+
creatorName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
54
|
+
approverName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
55
|
+
}, "strip", z.ZodTypeAny, {
|
|
56
|
+
projectId: string;
|
|
57
|
+
trustAccountId: string;
|
|
58
|
+
status: "pending_approval" | "approved" | "rejected";
|
|
59
|
+
id: string;
|
|
60
|
+
createdAt: string;
|
|
61
|
+
updatedAt: string;
|
|
62
|
+
createdBy: string;
|
|
63
|
+
approvedBy?: string | null | undefined;
|
|
64
|
+
approvedAt?: string | null | undefined;
|
|
65
|
+
creatorName?: string | null | undefined;
|
|
66
|
+
approverName?: string | null | undefined;
|
|
67
|
+
}, {
|
|
68
|
+
projectId: string;
|
|
69
|
+
trustAccountId: string;
|
|
70
|
+
status: "pending_approval" | "approved" | "rejected";
|
|
71
|
+
id: string;
|
|
72
|
+
createdAt: string;
|
|
73
|
+
updatedAt: string;
|
|
74
|
+
createdBy: string;
|
|
75
|
+
approvedBy?: string | null | undefined;
|
|
76
|
+
approvedAt?: string | null | undefined;
|
|
77
|
+
creatorName?: string | null | undefined;
|
|
78
|
+
approverName?: string | null | undefined;
|
|
79
|
+
}>>>>;
|
|
80
|
+
status: z.ZodNativeEnum<{
|
|
81
|
+
readonly MISS_MATCH: "miss_match";
|
|
82
|
+
readonly PENDING_TRUST_ACCOUNT: "pending_trust_account";
|
|
83
|
+
readonly PENDING_APPROVAL: "pending_approval";
|
|
84
|
+
readonly APPROVED: "approved";
|
|
85
|
+
readonly REJECTED: "rejected";
|
|
86
|
+
}>;
|
|
87
|
+
}, "strip", z.ZodTypeAny, {
|
|
88
|
+
status: "miss_match" | "pending_trust_account" | "pending_approval" | "approved" | "rejected";
|
|
89
|
+
id: string;
|
|
90
|
+
createdAt: string;
|
|
91
|
+
updatedAt: string;
|
|
92
|
+
name: string;
|
|
93
|
+
country: string;
|
|
94
|
+
developerName: string;
|
|
95
|
+
state: AuStateCode;
|
|
96
|
+
trustAccountId?: string | null | undefined;
|
|
97
|
+
trustAccount?: {
|
|
98
|
+
id: string;
|
|
99
|
+
name: string;
|
|
100
|
+
country: string;
|
|
101
|
+
stateCode: AuStateCode;
|
|
102
|
+
bankCode: _mikemo_coposit_am_zshared.AuTrustAccountBankCode;
|
|
103
|
+
accountNumber: string;
|
|
104
|
+
bsb: string;
|
|
105
|
+
} | null | undefined;
|
|
106
|
+
trustAccountAllocation?: {
|
|
107
|
+
projectId: string;
|
|
108
|
+
trustAccountId: string;
|
|
109
|
+
status: "pending_approval" | "approved" | "rejected";
|
|
110
|
+
id: string;
|
|
111
|
+
createdAt: string;
|
|
112
|
+
updatedAt: string;
|
|
113
|
+
createdBy: string;
|
|
114
|
+
approvedBy?: string | null | undefined;
|
|
115
|
+
approvedAt?: string | null | undefined;
|
|
116
|
+
creatorName?: string | null | undefined;
|
|
117
|
+
approverName?: string | null | undefined;
|
|
118
|
+
} | null | undefined;
|
|
119
|
+
}, {
|
|
120
|
+
status: "miss_match" | "pending_trust_account" | "pending_approval" | "approved" | "rejected";
|
|
121
|
+
id: string;
|
|
122
|
+
createdAt: string;
|
|
123
|
+
updatedAt: string;
|
|
124
|
+
name: string;
|
|
125
|
+
country: string;
|
|
126
|
+
developerName: string;
|
|
127
|
+
state: AuStateCode;
|
|
128
|
+
trustAccountId?: string | null | undefined;
|
|
129
|
+
trustAccount?: {
|
|
130
|
+
id: string;
|
|
131
|
+
name: string;
|
|
132
|
+
country: string;
|
|
133
|
+
stateCode: AuStateCode;
|
|
134
|
+
bankCode: _mikemo_coposit_am_zshared.AuTrustAccountBankCode;
|
|
135
|
+
accountNumber: string;
|
|
136
|
+
bsb: string;
|
|
137
|
+
} | null | undefined;
|
|
138
|
+
trustAccountAllocation?: {
|
|
139
|
+
projectId: string;
|
|
140
|
+
trustAccountId: string;
|
|
141
|
+
status: "pending_approval" | "approved" | "rejected";
|
|
142
|
+
id: string;
|
|
143
|
+
createdAt: string;
|
|
144
|
+
updatedAt: string;
|
|
145
|
+
createdBy: string;
|
|
146
|
+
approvedBy?: string | null | undefined;
|
|
147
|
+
approvedAt?: string | null | undefined;
|
|
148
|
+
creatorName?: string | null | undefined;
|
|
149
|
+
approverName?: string | null | undefined;
|
|
150
|
+
} | null | undefined;
|
|
151
|
+
}>;
|
|
152
|
+
type ProjectRestRes = z.infer<typeof projectRestResSchema>;
|
|
153
|
+
|
|
154
|
+
export { type ProjectRestRes, projectRestResSchema };
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __export = (target, all) => {
|
|
7
|
+
for (var name in all)
|
|
8
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
9
|
+
};
|
|
10
|
+
var __copyProps = (to, from, except, desc) => {
|
|
11
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
12
|
+
for (let key of __getOwnPropNames(from))
|
|
13
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
14
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
15
|
+
}
|
|
16
|
+
return to;
|
|
17
|
+
};
|
|
18
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
|
+
var project_res_schema_exports = {};
|
|
20
|
+
__export(project_res_schema_exports, {
|
|
21
|
+
projectRestResSchema: () => projectRestResSchema
|
|
22
|
+
});
|
|
23
|
+
module.exports = __toCommonJS(project_res_schema_exports);
|
|
24
|
+
var import_am_zshared = require("@mikemo-coposit/am-zshared");
|
|
25
|
+
var import_zod = require("zod");
|
|
26
|
+
var import_project_res_status = require("../../constants/project/project-res-status.constant");
|
|
27
|
+
var import_project_trust_account_allocation_res = require("../project-trust-account-allocation/project-trust-account-allocation-res.schema");
|
|
28
|
+
var import_trust_account_res = require("../trust-account/trust-account-res.schema");
|
|
29
|
+
const projectRestResSchema = import_zod.z.object({
|
|
30
|
+
id: import_zod.z.string(),
|
|
31
|
+
name: import_zod.z.string().trim(),
|
|
32
|
+
developerName: import_zod.z.string().trim(),
|
|
33
|
+
state: import_zod.z.nativeEnum(import_am_zshared.AuStateCode),
|
|
34
|
+
country: import_zod.z.string(),
|
|
35
|
+
trustAccountId: import_zod.z.string().nullish(),
|
|
36
|
+
trustAccount: import_zod.z.optional(import_trust_account_res.trustAccountRestResSchema).nullish(),
|
|
37
|
+
createdAt: import_zod.z.string(),
|
|
38
|
+
updatedAt: import_zod.z.string(),
|
|
39
|
+
trustAccountAllocation: import_zod.z.optional(import_project_trust_account_allocation_res.projectTrustAccountAllocationRestResSchema).nullish(),
|
|
40
|
+
status: import_zod.z.nativeEnum(import_project_res_status.ProjectRestResStatus)
|
|
41
|
+
}).strip();
|
|
42
|
+
//# sourceMappingURL=project-res.schema.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../packages/schemas/project/project-res.schema.ts"],"sourcesContent":["import { AuStateCode } from '@mikemo-coposit/am-zshared';\nimport { z } from 'zod';\nimport { ProjectRestResStatus } from '../../constants/project/project-res-status.constant';\nimport { projectTrustAccountAllocationRestResSchema } from '../project-trust-account-allocation/project-trust-account-allocation-res.schema';\nimport { trustAccountRestResSchema } from '../trust-account/trust-account-res.schema';\n\nexport const projectRestResSchema = z.object({\n id: z.string(),\n name: z.string().trim(),\n developerName: z.string().trim(),\n state: z.nativeEnum(AuStateCode),\n country: z.string(),\n trustAccountId: z.string().nullish(),\n trustAccount: z.optional(trustAccountRestResSchema).nullish(),\n createdAt: z.string(),\n updatedAt: z.string(),\n trustAccountAllocation: z.optional(projectTrustAccountAllocationRestResSchema).nullish(),\n status: z.nativeEnum(ProjectRestResStatus),\n}).strip();\n\nexport type ProjectRestRes = z.infer<typeof projectRestResSchema>;\n"],"mappings":";;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,wBAA4B;AAC5B,iBAAkB;AAClB,gCAAqC;AACrC,kDAA2D;AAC3D,+BAA0C;AAEnC,MAAM,uBAAuB,aAAE,OAAO;AAAA,EAC3C,IAAI,aAAE,OAAO;AAAA,EACb,MAAM,aAAE,OAAO,EAAE,KAAK;AAAA,EACtB,eAAe,aAAE,OAAO,EAAE,KAAK;AAAA,EAC/B,OAAO,aAAE,WAAW,6BAAW;AAAA,EAC/B,SAAS,aAAE,OAAO;AAAA,EAClB,gBAAgB,aAAE,OAAO,EAAE,QAAQ;AAAA,EACnC,cAAc,aAAE,SAAS,kDAAyB,EAAE,QAAQ;AAAA,EAC5D,WAAW,aAAE,OAAO;AAAA,EACpB,WAAW,aAAE,OAAO;AAAA,EACpB,wBAAwB,aAAE,SAAS,sFAA0C,EAAE,QAAQ;AAAA,EACvF,QAAQ,aAAE,WAAW,8CAAoB;AAC3C,CAAC,EAAE,MAAM;","names":[]}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { AuStateCode } from "@mikemo-coposit/am-zshared";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
import { ProjectRestResStatus } from "../../constants/project/project-res-status.constant";
|
|
4
|
+
import { projectTrustAccountAllocationRestResSchema } from "../project-trust-account-allocation/project-trust-account-allocation-res.schema";
|
|
5
|
+
import { trustAccountRestResSchema } from "../trust-account/trust-account-res.schema";
|
|
6
|
+
const projectRestResSchema = z.object({
|
|
7
|
+
id: z.string(),
|
|
8
|
+
name: z.string().trim(),
|
|
9
|
+
developerName: z.string().trim(),
|
|
10
|
+
state: z.nativeEnum(AuStateCode),
|
|
11
|
+
country: z.string(),
|
|
12
|
+
trustAccountId: z.string().nullish(),
|
|
13
|
+
trustAccount: z.optional(trustAccountRestResSchema).nullish(),
|
|
14
|
+
createdAt: z.string(),
|
|
15
|
+
updatedAt: z.string(),
|
|
16
|
+
trustAccountAllocation: z.optional(projectTrustAccountAllocationRestResSchema).nullish(),
|
|
17
|
+
status: z.nativeEnum(ProjectRestResStatus)
|
|
18
|
+
}).strip();
|
|
19
|
+
export {
|
|
20
|
+
projectRestResSchema
|
|
21
|
+
};
|
|
22
|
+
//# sourceMappingURL=project-res.schema.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../packages/schemas/project/project-res.schema.ts"],"sourcesContent":["import { AuStateCode } from '@mikemo-coposit/am-zshared';\nimport { z } from 'zod';\nimport { ProjectRestResStatus } from '../../constants/project/project-res-status.constant';\nimport { projectTrustAccountAllocationRestResSchema } from '../project-trust-account-allocation/project-trust-account-allocation-res.schema';\nimport { trustAccountRestResSchema } from '../trust-account/trust-account-res.schema';\n\nexport const projectRestResSchema = z.object({\n id: z.string(),\n name: z.string().trim(),\n developerName: z.string().trim(),\n state: z.nativeEnum(AuStateCode),\n country: z.string(),\n trustAccountId: z.string().nullish(),\n trustAccount: z.optional(trustAccountRestResSchema).nullish(),\n createdAt: z.string(),\n updatedAt: z.string(),\n trustAccountAllocation: z.optional(projectTrustAccountAllocationRestResSchema).nullish(),\n status: z.nativeEnum(ProjectRestResStatus),\n}).strip();\n\nexport type ProjectRestRes = z.infer<typeof projectRestResSchema>;\n"],"mappings":"AAAA,SAAS,mBAAmB;AAC5B,SAAS,SAAS;AAClB,SAAS,4BAA4B;AACrC,SAAS,kDAAkD;AAC3D,SAAS,iCAAiC;AAEnC,MAAM,uBAAuB,EAAE,OAAO;AAAA,EAC3C,IAAI,EAAE,OAAO;AAAA,EACb,MAAM,EAAE,OAAO,EAAE,KAAK;AAAA,EACtB,eAAe,EAAE,OAAO,EAAE,KAAK;AAAA,EAC/B,OAAO,EAAE,WAAW,WAAW;AAAA,EAC/B,SAAS,EAAE,OAAO;AAAA,EAClB,gBAAgB,EAAE,OAAO,EAAE,QAAQ;AAAA,EACnC,cAAc,EAAE,SAAS,yBAAyB,EAAE,QAAQ;AAAA,EAC5D,WAAW,EAAE,OAAO;AAAA,EACpB,WAAW,EAAE,OAAO;AAAA,EACpB,wBAAwB,EAAE,SAAS,0CAA0C,EAAE,QAAQ;AAAA,EACvF,QAAQ,EAAE,WAAW,oBAAoB;AAC3C,CAAC,EAAE,MAAM;","names":[]}
|
package/dist/schemas/project-trust-account-allocation/allocate-trust-account-to-project.schema.d.mts
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
|
|
3
|
+
declare const allocateTrustAccountToProjectRestReqSchema: z.ZodObject<{
|
|
4
|
+
projectId: z.ZodString;
|
|
5
|
+
trustAccountId: z.ZodString;
|
|
6
|
+
}, "strip", z.ZodTypeAny, {
|
|
7
|
+
projectId: string;
|
|
8
|
+
trustAccountId: string;
|
|
9
|
+
}, {
|
|
10
|
+
projectId: string;
|
|
11
|
+
trustAccountId: string;
|
|
12
|
+
}>;
|
|
13
|
+
type AllocateTrustAccountToProjectRestReq = z.infer<typeof allocateTrustAccountToProjectRestReqSchema>;
|
|
14
|
+
|
|
15
|
+
export { type AllocateTrustAccountToProjectRestReq, allocateTrustAccountToProjectRestReqSchema };
|
package/dist/schemas/project-trust-account-allocation/allocate-trust-account-to-project.schema.d.ts
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
|
|
3
|
+
declare const allocateTrustAccountToProjectRestReqSchema: z.ZodObject<{
|
|
4
|
+
projectId: z.ZodString;
|
|
5
|
+
trustAccountId: z.ZodString;
|
|
6
|
+
}, "strip", z.ZodTypeAny, {
|
|
7
|
+
projectId: string;
|
|
8
|
+
trustAccountId: string;
|
|
9
|
+
}, {
|
|
10
|
+
projectId: string;
|
|
11
|
+
trustAccountId: string;
|
|
12
|
+
}>;
|
|
13
|
+
type AllocateTrustAccountToProjectRestReq = z.infer<typeof allocateTrustAccountToProjectRestReqSchema>;
|
|
14
|
+
|
|
15
|
+
export { type AllocateTrustAccountToProjectRestReq, allocateTrustAccountToProjectRestReqSchema };
|
package/dist/schemas/project-trust-account-allocation/allocate-trust-account-to-project.schema.js
ADDED
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __export = (target, all) => {
|
|
7
|
+
for (var name in all)
|
|
8
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
9
|
+
};
|
|
10
|
+
var __copyProps = (to, from, except, desc) => {
|
|
11
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
12
|
+
for (let key of __getOwnPropNames(from))
|
|
13
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
14
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
15
|
+
}
|
|
16
|
+
return to;
|
|
17
|
+
};
|
|
18
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
|
+
var allocate_trust_account_to_project_schema_exports = {};
|
|
20
|
+
__export(allocate_trust_account_to_project_schema_exports, {
|
|
21
|
+
allocateTrustAccountToProjectRestReqSchema: () => allocateTrustAccountToProjectRestReqSchema
|
|
22
|
+
});
|
|
23
|
+
module.exports = __toCommonJS(allocate_trust_account_to_project_schema_exports);
|
|
24
|
+
var import_zod = require("zod");
|
|
25
|
+
const allocateTrustAccountToProjectRestReqSchema = import_zod.z.object({
|
|
26
|
+
projectId: import_zod.z.string().uuid(),
|
|
27
|
+
trustAccountId: import_zod.z.string().uuid()
|
|
28
|
+
});
|
|
29
|
+
//# sourceMappingURL=allocate-trust-account-to-project.schema.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../packages/schemas/project-trust-account-allocation/allocate-trust-account-to-project.schema.ts"],"sourcesContent":["import { z } from 'zod';\n\nexport const allocateTrustAccountToProjectRestReqSchema = z.object({\n projectId: z.string().uuid(),\n trustAccountId: z.string().uuid(),\n});\n\nexport type AllocateTrustAccountToProjectRestReq = z.infer<typeof allocateTrustAccountToProjectRestReqSchema>;\n"],"mappings":";;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,iBAAkB;AAEX,MAAM,6CAA6C,aAAE,OAAO;AAAA,EACjE,WAAW,aAAE,OAAO,EAAE,KAAK;AAAA,EAC3B,gBAAgB,aAAE,OAAO,EAAE,KAAK;AAClC,CAAC;","names":[]}
|
package/dist/schemas/project-trust-account-allocation/allocate-trust-account-to-project.schema.mjs
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
const allocateTrustAccountToProjectRestReqSchema = z.object({
|
|
3
|
+
projectId: z.string().uuid(),
|
|
4
|
+
trustAccountId: z.string().uuid()
|
|
5
|
+
});
|
|
6
|
+
export {
|
|
7
|
+
allocateTrustAccountToProjectRestReqSchema
|
|
8
|
+
};
|
|
9
|
+
//# sourceMappingURL=allocate-trust-account-to-project.schema.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../packages/schemas/project-trust-account-allocation/allocate-trust-account-to-project.schema.ts"],"sourcesContent":["import { z } from 'zod';\n\nexport const allocateTrustAccountToProjectRestReqSchema = z.object({\n projectId: z.string().uuid(),\n trustAccountId: z.string().uuid(),\n});\n\nexport type AllocateTrustAccountToProjectRestReq = z.infer<typeof allocateTrustAccountToProjectRestReqSchema>;\n"],"mappings":"AAAA,SAAS,SAAS;AAEX,MAAM,6CAA6C,EAAE,OAAO;AAAA,EACjE,WAAW,EAAE,OAAO,EAAE,KAAK;AAAA,EAC3B,gBAAgB,EAAE,OAAO,EAAE,KAAK;AAClC,CAAC;","names":[]}
|
package/dist/schemas/project-trust-account-allocation/approve-trust-account-allocation.schema.d.mts
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
|
|
3
|
+
declare const approveTrustAccountAllocationRestReqSchema: z.ZodObject<{
|
|
4
|
+
projectId: z.ZodString;
|
|
5
|
+
}, "strip", z.ZodTypeAny, {
|
|
6
|
+
projectId: string;
|
|
7
|
+
}, {
|
|
8
|
+
projectId: string;
|
|
9
|
+
}>;
|
|
10
|
+
type ApproveTrustAccountAllocationRestReq = z.infer<typeof approveTrustAccountAllocationRestReqSchema>;
|
|
11
|
+
|
|
12
|
+
export { type ApproveTrustAccountAllocationRestReq, approveTrustAccountAllocationRestReqSchema };
|
package/dist/schemas/project-trust-account-allocation/approve-trust-account-allocation.schema.d.ts
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
|
|
3
|
+
declare const approveTrustAccountAllocationRestReqSchema: z.ZodObject<{
|
|
4
|
+
projectId: z.ZodString;
|
|
5
|
+
}, "strip", z.ZodTypeAny, {
|
|
6
|
+
projectId: string;
|
|
7
|
+
}, {
|
|
8
|
+
projectId: string;
|
|
9
|
+
}>;
|
|
10
|
+
type ApproveTrustAccountAllocationRestReq = z.infer<typeof approveTrustAccountAllocationRestReqSchema>;
|
|
11
|
+
|
|
12
|
+
export { type ApproveTrustAccountAllocationRestReq, approveTrustAccountAllocationRestReqSchema };
|
package/dist/schemas/project-trust-account-allocation/approve-trust-account-allocation.schema.js
ADDED
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __export = (target, all) => {
|
|
7
|
+
for (var name in all)
|
|
8
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
9
|
+
};
|
|
10
|
+
var __copyProps = (to, from, except, desc) => {
|
|
11
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
12
|
+
for (let key of __getOwnPropNames(from))
|
|
13
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
14
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
15
|
+
}
|
|
16
|
+
return to;
|
|
17
|
+
};
|
|
18
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
|
+
var approve_trust_account_allocation_schema_exports = {};
|
|
20
|
+
__export(approve_trust_account_allocation_schema_exports, {
|
|
21
|
+
approveTrustAccountAllocationRestReqSchema: () => approveTrustAccountAllocationRestReqSchema
|
|
22
|
+
});
|
|
23
|
+
module.exports = __toCommonJS(approve_trust_account_allocation_schema_exports);
|
|
24
|
+
var import_zod = require("zod");
|
|
25
|
+
const approveTrustAccountAllocationRestReqSchema = import_zod.z.object({
|
|
26
|
+
projectId: import_zod.z.string().uuid()
|
|
27
|
+
});
|
|
28
|
+
//# sourceMappingURL=approve-trust-account-allocation.schema.js.map
|
package/dist/schemas/project-trust-account-allocation/approve-trust-account-allocation.schema.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../packages/schemas/project-trust-account-allocation/approve-trust-account-allocation.schema.ts"],"sourcesContent":["import { z } from 'zod';\n\nexport const approveTrustAccountAllocationRestReqSchema = z.object({\n projectId: z.string().uuid(),\n});\n\nexport type ApproveTrustAccountAllocationRestReq = z.infer<typeof approveTrustAccountAllocationRestReqSchema>;\n"],"mappings":";;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,iBAAkB;AAEX,MAAM,6CAA6C,aAAE,OAAO;AAAA,EACjE,WAAW,aAAE,OAAO,EAAE,KAAK;AAC7B,CAAC;","names":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../packages/schemas/project-trust-account-allocation/approve-trust-account-allocation.schema.ts"],"sourcesContent":["import { z } from 'zod';\n\nexport const approveTrustAccountAllocationRestReqSchema = z.object({\n projectId: z.string().uuid(),\n});\n\nexport type ApproveTrustAccountAllocationRestReq = z.infer<typeof approveTrustAccountAllocationRestReqSchema>;\n"],"mappings":"AAAA,SAAS,SAAS;AAEX,MAAM,6CAA6C,EAAE,OAAO;AAAA,EACjE,WAAW,EAAE,OAAO,EAAE,KAAK;AAC7B,CAAC;","names":[]}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
export { AllocateTrustAccountToProjectRestReq, allocateTrustAccountToProjectRestReqSchema } from './allocate-trust-account-to-project.schema.mjs';
|
|
2
|
+
export { ApproveTrustAccountAllocationRestReq, approveTrustAccountAllocationRestReqSchema } from './approve-trust-account-allocation.schema.mjs';
|
|
3
|
+
export { ProjectTrustAccountAllocationRestRes, projectTrustAccountAllocationRestResSchema } from './project-trust-account-allocation-res.schema.mjs';
|
|
4
|
+
import 'zod';
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
export { AllocateTrustAccountToProjectRestReq, allocateTrustAccountToProjectRestReqSchema } from './allocate-trust-account-to-project.schema.js';
|
|
2
|
+
export { ApproveTrustAccountAllocationRestReq, approveTrustAccountAllocationRestReqSchema } from './approve-trust-account-allocation.schema.js';
|
|
3
|
+
export { ProjectTrustAccountAllocationRestRes, projectTrustAccountAllocationRestResSchema } from './project-trust-account-allocation-res.schema.js';
|
|
4
|
+
import 'zod';
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __copyProps = (to, from, except, desc) => {
|
|
7
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
8
|
+
for (let key of __getOwnPropNames(from))
|
|
9
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
10
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
11
|
+
}
|
|
12
|
+
return to;
|
|
13
|
+
};
|
|
14
|
+
var __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, "default"), secondTarget && __copyProps(secondTarget, mod, "default"));
|
|
15
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
16
|
+
var project_trust_account_allocation_exports = {};
|
|
17
|
+
module.exports = __toCommonJS(project_trust_account_allocation_exports);
|
|
18
|
+
__reExport(project_trust_account_allocation_exports, require("./allocate-trust-account-to-project.schema"), module.exports);
|
|
19
|
+
__reExport(project_trust_account_allocation_exports, require("./approve-trust-account-allocation.schema"), module.exports);
|
|
20
|
+
__reExport(project_trust_account_allocation_exports, require("./project-trust-account-allocation-res.schema"), module.exports);
|
|
21
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../packages/schemas/project-trust-account-allocation/index.ts"],"sourcesContent":["// This file is auto-generated. Do not edit manually.\n\nexport * from './allocate-trust-account-to-project.schema';\nexport * from './approve-trust-account-allocation.schema';\nexport * from './project-trust-account-allocation-res.schema';\n"],"mappings":";;;;;;;;;;;;;;;AAAA;AAAA;AAEA,qDAAc,uDAFd;AAGA,qDAAc,sDAHd;AAIA,qDAAc,0DAJd;","names":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../packages/schemas/project-trust-account-allocation/index.ts"],"sourcesContent":["// This file is auto-generated. Do not edit manually.\n\nexport * from './allocate-trust-account-to-project.schema';\nexport * from './approve-trust-account-allocation.schema';\nexport * from './project-trust-account-allocation-res.schema';\n"],"mappings":"AAEA,cAAc;AACd,cAAc;AACd,cAAc;","names":[]}
|