@mikemo-coposit/am-accounting-shared 1.2.0 → 1.2.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/cjs/constants/common/package-version.constant.d.ts +1 -1
- package/dist/cjs/index.cjs +189 -64
- package/dist/cjs/schemas/cma/cma-search.rest.schemal.d.ts +56 -0
- package/dist/cjs/schemas/cma/cma-search.rest.schemal.d.ts.map +1 -1
- package/dist/cjs/schemas/cma-transaction/cma-transaction-search.rest.schema.d.ts +56 -0
- package/dist/cjs/schemas/cma-transaction/cma-transaction-search.rest.schema.d.ts.map +1 -1
- package/dist/cjs/schemas/mta-transaction/mta-transaction-search.rest.schema.d.ts +28 -0
- package/dist/cjs/schemas/mta-transaction/mta-transaction-search.rest.schema.d.ts.map +1 -1
- package/dist/cjs/schemas/property/property-search.rest.schema.d.ts +28 -0
- package/dist/cjs/schemas/property/property-search.rest.schema.d.ts.map +1 -1
- package/dist/cjs/schemas/report/buyer-ledger.rest.schema.d.ts +62 -0
- package/dist/cjs/schemas/report/buyer-ledger.rest.schema.d.ts.map +1 -1
- package/dist/esm/constants/common/package-version.constant.d.ts +1 -1
- package/dist/esm/index.js +136 -76
- package/dist/esm/schemas/cma/cma-search.rest.schemal.d.ts +56 -0
- package/dist/esm/schemas/cma/cma-search.rest.schemal.d.ts.map +1 -1
- package/dist/esm/schemas/cma-transaction/cma-transaction-search.rest.schema.d.ts +56 -0
- package/dist/esm/schemas/cma-transaction/cma-transaction-search.rest.schema.d.ts.map +1 -1
- package/dist/esm/schemas/mta-transaction/mta-transaction-search.rest.schema.d.ts +28 -0
- package/dist/esm/schemas/mta-transaction/mta-transaction-search.rest.schema.d.ts.map +1 -1
- package/dist/esm/schemas/property/property-search.rest.schema.d.ts +28 -0
- package/dist/esm/schemas/property/property-search.rest.schema.d.ts.map +1 -1
- package/dist/esm/schemas/report/buyer-ledger.rest.schema.d.ts +62 -0
- package/dist/esm/schemas/report/buyer-ledger.rest.schema.d.ts.map +1 -1
- package/package.json +5 -5
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"property-search.rest.schema.d.ts","sourceRoot":"","sources":["../../../../packages/schemas/property/property-search.rest.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAaxB,eAAO,MAAM,+BAA+B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAqB1C,CAAC;AAEH,eAAO,MAAM,2BAA2B
|
|
1
|
+
{"version":3,"file":"property-search.rest.schema.d.ts","sourceRoot":"","sources":["../../../../packages/schemas/property/property-search.rest.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAaxB,eAAO,MAAM,+BAA+B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAqB1C,CAAC;AAEH,eAAO,MAAM,2BAA2B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAStC,CAAC;AAEH,MAAM,MAAM,qBAAqB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,2BAA2B,CAAC,CAAC;AAChF,MAAM,MAAM,iBAAiB,GAAG,CAAC,CAAC,MAAM,CAAC,OAAO,2BAA2B,CAAC,CAAC"}
|
|
@@ -1,5 +1,42 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
import { ReportGroupType } from "../../constants/report/common/report-group-type.constant";
|
|
3
|
+
export declare const buyerLedgerRestReqBaseSchema: z.ZodIntersection<z.ZodObject<{
|
|
4
|
+
reportDataRangeType: z.ZodEnum<typeof import("../..").ReportDataRangeType>;
|
|
5
|
+
endDate: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodPipe<z.ZodUnion<readonly [z.ZodCustom<import("dayjs").Dayjs, import("dayjs").Dayjs>, z.ZodString, z.ZodDate, z.ZodISODateTime]>, z.ZodTransform<number | Date, string | import("dayjs").Dayjs | Date>>, z.ZodDate>>>, z.ZodDate>;
|
|
6
|
+
startDate: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodPipe<z.ZodUnion<readonly [z.ZodCustom<import("dayjs").Dayjs, import("dayjs").Dayjs>, z.ZodString, z.ZodDate, z.ZodISODateTime]>, z.ZodTransform<number | Date, string | import("dayjs").Dayjs | Date>>, z.ZodDate>>>, z.ZodDate>;
|
|
7
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
8
|
+
propertyIds: z.ZodArray<z.ZodUUID>;
|
|
9
|
+
reportGroupType: z.ZodEnum<typeof ReportGroupType>;
|
|
10
|
+
showMta: z.ZodDefault<z.ZodBoolean>;
|
|
11
|
+
showCma: z.ZodDefault<z.ZodBoolean>;
|
|
12
|
+
mtaTransactionTypes: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
13
|
+
ASSIGN_UNKNOWN_TO_CUSTOMER: string;
|
|
14
|
+
TRANSACTION_CANCEL: string;
|
|
15
|
+
TRUST_TO_CMA_PAYOUT: string;
|
|
16
|
+
TRUST_SETTLEMENT_PAYOUT: string;
|
|
17
|
+
REFUND_PAYOUT: string;
|
|
18
|
+
UNKNOWN_PAYOUT: string;
|
|
19
|
+
PAYOUT: string;
|
|
20
|
+
UNKNOWN: string;
|
|
21
|
+
HOLDING_DEPOSIT: string;
|
|
22
|
+
SIGNING_DEPOSIT: string;
|
|
23
|
+
WEEKLY_PAYMENT: string;
|
|
24
|
+
CMA_CLOSURE_DEPOSIT: string;
|
|
25
|
+
CMA_INTEREST: string;
|
|
26
|
+
}>>>;
|
|
27
|
+
cmaTransactionTypes: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
28
|
+
TRANSACTION_CANCEL: string;
|
|
29
|
+
CMA_SETTLEMENT_PAYOUT: string;
|
|
30
|
+
CMA_REFUND_PAYOUT: string;
|
|
31
|
+
CMA_BANK_FEE: string;
|
|
32
|
+
INTEREST: string;
|
|
33
|
+
RECEIPT: string;
|
|
34
|
+
}>>>;
|
|
35
|
+
}, z.core.$strip>>;
|
|
36
|
+
/**
|
|
37
|
+
* Full schema with cross-field validation — used by the frontend for
|
|
38
|
+
* safeParseAsync and by the backend validation pipe at runtime.
|
|
39
|
+
*/
|
|
3
40
|
export declare const buyerLedgerRestReqSchema: z.ZodIntersection<z.ZodObject<{
|
|
4
41
|
reportDataRangeType: z.ZodEnum<typeof import("../..").ReportDataRangeType>;
|
|
5
42
|
endDate: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodPipe<z.ZodUnion<readonly [z.ZodCustom<import("dayjs").Dayjs, import("dayjs").Dayjs>, z.ZodString, z.ZodDate, z.ZodISODateTime]>, z.ZodTransform<number | Date, string | import("dayjs").Dayjs | Date>>, z.ZodDate>>>, z.ZodDate>;
|
|
@@ -7,6 +44,31 @@ export declare const buyerLedgerRestReqSchema: z.ZodIntersection<z.ZodObject<{
|
|
|
7
44
|
}, z.core.$strip>, z.ZodObject<{
|
|
8
45
|
propertyIds: z.ZodArray<z.ZodUUID>;
|
|
9
46
|
reportGroupType: z.ZodEnum<typeof ReportGroupType>;
|
|
47
|
+
showMta: z.ZodDefault<z.ZodBoolean>;
|
|
48
|
+
showCma: z.ZodDefault<z.ZodBoolean>;
|
|
49
|
+
mtaTransactionTypes: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
50
|
+
ASSIGN_UNKNOWN_TO_CUSTOMER: string;
|
|
51
|
+
TRANSACTION_CANCEL: string;
|
|
52
|
+
TRUST_TO_CMA_PAYOUT: string;
|
|
53
|
+
TRUST_SETTLEMENT_PAYOUT: string;
|
|
54
|
+
REFUND_PAYOUT: string;
|
|
55
|
+
UNKNOWN_PAYOUT: string;
|
|
56
|
+
PAYOUT: string;
|
|
57
|
+
UNKNOWN: string;
|
|
58
|
+
HOLDING_DEPOSIT: string;
|
|
59
|
+
SIGNING_DEPOSIT: string;
|
|
60
|
+
WEEKLY_PAYMENT: string;
|
|
61
|
+
CMA_CLOSURE_DEPOSIT: string;
|
|
62
|
+
CMA_INTEREST: string;
|
|
63
|
+
}>>>;
|
|
64
|
+
cmaTransactionTypes: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
65
|
+
TRANSACTION_CANCEL: string;
|
|
66
|
+
CMA_SETTLEMENT_PAYOUT: string;
|
|
67
|
+
CMA_REFUND_PAYOUT: string;
|
|
68
|
+
CMA_BANK_FEE: string;
|
|
69
|
+
INTEREST: string;
|
|
70
|
+
RECEIPT: string;
|
|
71
|
+
}>>>;
|
|
10
72
|
}, z.core.$strip>>;
|
|
11
73
|
export type BuyerLedgerRestReq = z.input<typeof buyerLedgerRestReqSchema>;
|
|
12
74
|
//# sourceMappingURL=buyer-ledger.rest.schema.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"buyer-ledger.rest.schema.d.ts","sourceRoot":"","sources":["../../../../packages/schemas/report/buyer-ledger.rest.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;
|
|
1
|
+
{"version":3,"file":"buyer-ledger.rest.schema.d.ts","sourceRoot":"","sources":["../../../../packages/schemas/report/buyer-ledger.rest.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAIxB,OAAO,EAAE,eAAe,EAAE,MAAM,0DAA0D,CAAC;AAG3F,eAAO,MAAM,4BAA4B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kBASxC,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kBAwBnC,CAAC;AAEH,MAAM,MAAM,kBAAkB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,wBAAwB,CAAC,CAAC"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const PACKAGE_VERSION = "1.2.
|
|
1
|
+
export declare const PACKAGE_VERSION = "1.2.1";
|
|
2
2
|
//# sourceMappingURL=package-version.constant.d.ts.map
|
package/dist/esm/index.js
CHANGED
|
@@ -220,8 +220,8 @@ const MtaPayoutTransactionType = {
|
|
|
220
220
|
const MtaTransactionType = {
|
|
221
221
|
...MtaReceiptTransactionType,
|
|
222
222
|
...MtaPayoutTransactionType,
|
|
223
|
-
ASSIGN_UNKNOWN_TO_CUSTOMER,
|
|
224
|
-
TRANSACTION_CANCEL
|
|
223
|
+
ASSIGN_UNKNOWN_TO_CUSTOMER: ASSIGN_UNKNOWN_TO_CUSTOMER,
|
|
224
|
+
TRANSACTION_CANCEL: TRANSACTION_CANCEL
|
|
225
225
|
};
|
|
226
226
|
const MtaTransactionTypeToDisplayTextMapper = {
|
|
227
227
|
[MtaTransactionType.UNKNOWN]: "Unknown",
|
|
@@ -644,6 +644,10 @@ const cmaSearchRestReqBaseSchema = z.object({
|
|
|
644
644
|
z.lazy(()=>stringFilterSchema),
|
|
645
645
|
z.string()
|
|
646
646
|
]).optional(),
|
|
647
|
+
accountNumber: z.union([
|
|
648
|
+
z.lazy(()=>stringFilterSchema),
|
|
649
|
+
z.string()
|
|
650
|
+
]).optional(),
|
|
647
651
|
country: z.union([
|
|
648
652
|
z.lazy(()=>stringFilterSchema),
|
|
649
653
|
z.string()
|
|
@@ -2926,10 +2930,37 @@ const commonReportWithCmaSelectionRestReqSchema = commonReportRestReqSchema.and(
|
|
|
2926
2930
|
});
|
|
2927
2931
|
});
|
|
2928
2932
|
const bankReconciliationSummaryRestReqSchema = commonReportWithCmaSelectionRestReqSchema;
|
|
2929
|
-
const
|
|
2933
|
+
const buyerLedgerRestReqBaseSchema = commonReportRestReqSchema.and(z.object({
|
|
2930
2934
|
propertyIds: z.array(z.uuid()).min(1),
|
|
2931
|
-
reportGroupType: z["enum"](report_group_type_constant_ReportGroupType)
|
|
2935
|
+
reportGroupType: z["enum"](report_group_type_constant_ReportGroupType),
|
|
2936
|
+
showMta: z.boolean().default(true),
|
|
2937
|
+
showCma: z.boolean().default(true),
|
|
2938
|
+
mtaTransactionTypes: z["enum"](MtaTransactionType).array().optional(),
|
|
2939
|
+
cmaTransactionTypes: z["enum"](CmaTransactionType).array().optional()
|
|
2932
2940
|
}));
|
|
2941
|
+
const buyerLedgerRestReqSchema = buyerLedgerRestReqBaseSchema.superRefine((data, ctx)=>{
|
|
2942
|
+
if (!data.showMta && !data.showCma) ctx.addIssue({
|
|
2943
|
+
code: "custom",
|
|
2944
|
+
message: "At least one of MTA or CMA must be selected",
|
|
2945
|
+
path: [
|
|
2946
|
+
"showMta"
|
|
2947
|
+
]
|
|
2948
|
+
});
|
|
2949
|
+
if (data.showMta && (!data.mtaTransactionTypes || 0 === data.mtaTransactionTypes.length)) ctx.addIssue({
|
|
2950
|
+
code: "custom",
|
|
2951
|
+
message: "Select at least one MTA transaction type",
|
|
2952
|
+
path: [
|
|
2953
|
+
"mtaTransactionTypes"
|
|
2954
|
+
]
|
|
2955
|
+
});
|
|
2956
|
+
if (data.showCma && (!data.cmaTransactionTypes || 0 === data.cmaTransactionTypes.length)) ctx.addIssue({
|
|
2957
|
+
code: "custom",
|
|
2958
|
+
message: "Select at least one CMA transaction type",
|
|
2959
|
+
path: [
|
|
2960
|
+
"cmaTransactionTypes"
|
|
2961
|
+
]
|
|
2962
|
+
});
|
|
2963
|
+
});
|
|
2933
2964
|
const paymentListReportRestReqSchema = commonReportRestReqSchema.and(z.object({
|
|
2934
2965
|
accountId: z.uuid(),
|
|
2935
2966
|
accountType: z["enum"](account_type_constant_AccountType)
|
|
@@ -2954,8 +2985,8 @@ function bind(fn, thisArg) {
|
|
|
2954
2985
|
};
|
|
2955
2986
|
}
|
|
2956
2987
|
const { toString: utils_toString } = Object.prototype;
|
|
2957
|
-
const { getPrototypeOf } = Object;
|
|
2958
|
-
const { iterator: utils_iterator, toStringTag } = Symbol;
|
|
2988
|
+
const { getPrototypeOf: getPrototypeOf } = Object;
|
|
2989
|
+
const { iterator: utils_iterator, toStringTag: toStringTag } = Symbol;
|
|
2959
2990
|
const kindOf = ((cache)=>(thing)=>{
|
|
2960
2991
|
const str = utils_toString.call(thing);
|
|
2961
2992
|
return cache[str] || (cache[str] = str.slice(8, -1).toLowerCase());
|
|
@@ -2965,7 +2996,7 @@ const kindOfTest = (type)=>{
|
|
|
2965
2996
|
return (thing)=>kindOf(thing) === type;
|
|
2966
2997
|
};
|
|
2967
2998
|
const typeOfTest = (type)=>(thing)=>typeof thing === type;
|
|
2968
|
-
const { isArray } = Array;
|
|
2999
|
+
const { isArray: isArray } = Array;
|
|
2969
3000
|
const isUndefined = typeOfTest('undefined');
|
|
2970
3001
|
function isBuffer(val) {
|
|
2971
3002
|
return null !== val && !isUndefined(val) && null !== val.constructor && !isUndefined(val.constructor) && isFunction(val.constructor.isBuffer) && val.constructor.isBuffer(val);
|
|
@@ -3126,7 +3157,7 @@ const toFlatObject = (sourceObj, destObj, filter, propFilter)=>{
|
|
|
3126
3157
|
}
|
|
3127
3158
|
}
|
|
3128
3159
|
sourceObj = false !== filter && getPrototypeOf(sourceObj);
|
|
3129
|
-
}while (sourceObj && (!filter || filter(sourceObj, destObj)) && sourceObj !== Object.prototype)
|
|
3160
|
+
}while (sourceObj && (!filter || filter(sourceObj, destObj)) && sourceObj !== Object.prototype)
|
|
3130
3161
|
return destObj;
|
|
3131
3162
|
};
|
|
3132
3163
|
const endsWith = (str, searchString, position)=>{
|
|
@@ -3248,65 +3279,65 @@ const _setImmediate = ((setImmediateSupported, postMessageSupported)=>{
|
|
|
3248
3279
|
const asap = "u" > typeof queueMicrotask ? queueMicrotask.bind(_global) : "u" > typeof process && process.nextTick || _setImmediate;
|
|
3249
3280
|
const isIterable = (thing)=>null != thing && isFunction(thing[utils_iterator]);
|
|
3250
3281
|
const utils = {
|
|
3251
|
-
isArray,
|
|
3252
|
-
isArrayBuffer,
|
|
3253
|
-
isBuffer,
|
|
3282
|
+
isArray: isArray,
|
|
3283
|
+
isArrayBuffer: isArrayBuffer,
|
|
3284
|
+
isBuffer: isBuffer,
|
|
3254
3285
|
isFormData: utils_isFormData,
|
|
3255
|
-
isArrayBufferView,
|
|
3256
|
-
isString,
|
|
3257
|
-
isNumber,
|
|
3258
|
-
isBoolean,
|
|
3259
|
-
isObject,
|
|
3260
|
-
isPlainObject,
|
|
3261
|
-
isEmptyObject,
|
|
3262
|
-
isReadableStream,
|
|
3263
|
-
isRequest,
|
|
3264
|
-
isResponse,
|
|
3265
|
-
isHeaders,
|
|
3266
|
-
isUndefined,
|
|
3267
|
-
isDate,
|
|
3268
|
-
isFile,
|
|
3269
|
-
isReactNativeBlob,
|
|
3270
|
-
isReactNative,
|
|
3271
|
-
isBlob,
|
|
3272
|
-
isRegExp,
|
|
3273
|
-
isFunction,
|
|
3274
|
-
isStream,
|
|
3275
|
-
isURLSearchParams,
|
|
3276
|
-
isTypedArray,
|
|
3286
|
+
isArrayBufferView: isArrayBufferView,
|
|
3287
|
+
isString: isString,
|
|
3288
|
+
isNumber: isNumber,
|
|
3289
|
+
isBoolean: isBoolean,
|
|
3290
|
+
isObject: isObject,
|
|
3291
|
+
isPlainObject: isPlainObject,
|
|
3292
|
+
isEmptyObject: isEmptyObject,
|
|
3293
|
+
isReadableStream: isReadableStream,
|
|
3294
|
+
isRequest: isRequest,
|
|
3295
|
+
isResponse: isResponse,
|
|
3296
|
+
isHeaders: isHeaders,
|
|
3297
|
+
isUndefined: isUndefined,
|
|
3298
|
+
isDate: isDate,
|
|
3299
|
+
isFile: isFile,
|
|
3300
|
+
isReactNativeBlob: isReactNativeBlob,
|
|
3301
|
+
isReactNative: isReactNative,
|
|
3302
|
+
isBlob: isBlob,
|
|
3303
|
+
isRegExp: isRegExp,
|
|
3304
|
+
isFunction: isFunction,
|
|
3305
|
+
isStream: isStream,
|
|
3306
|
+
isURLSearchParams: isURLSearchParams,
|
|
3307
|
+
isTypedArray: isTypedArray,
|
|
3277
3308
|
isFileList: utils_isFileList,
|
|
3278
|
-
forEach,
|
|
3309
|
+
forEach: forEach,
|
|
3279
3310
|
merge: utils_merge,
|
|
3280
|
-
extend,
|
|
3281
|
-
trim,
|
|
3282
|
-
stripBOM,
|
|
3283
|
-
inherits,
|
|
3284
|
-
toFlatObject,
|
|
3285
|
-
kindOf,
|
|
3286
|
-
kindOfTest,
|
|
3287
|
-
endsWith,
|
|
3288
|
-
toArray,
|
|
3289
|
-
forEachEntry,
|
|
3290
|
-
matchAll,
|
|
3291
|
-
isHTMLForm,
|
|
3311
|
+
extend: extend,
|
|
3312
|
+
trim: trim,
|
|
3313
|
+
stripBOM: stripBOM,
|
|
3314
|
+
inherits: inherits,
|
|
3315
|
+
toFlatObject: toFlatObject,
|
|
3316
|
+
kindOf: kindOf,
|
|
3317
|
+
kindOfTest: kindOfTest,
|
|
3318
|
+
endsWith: endsWith,
|
|
3319
|
+
toArray: toArray,
|
|
3320
|
+
forEachEntry: forEachEntry,
|
|
3321
|
+
matchAll: matchAll,
|
|
3322
|
+
isHTMLForm: isHTMLForm,
|
|
3292
3323
|
hasOwnProperty: utils_hasOwnProperty,
|
|
3293
3324
|
hasOwnProp: utils_hasOwnProperty,
|
|
3294
|
-
reduceDescriptors,
|
|
3295
|
-
freezeMethods,
|
|
3296
|
-
toObjectSet,
|
|
3297
|
-
toCamelCase,
|
|
3298
|
-
noop,
|
|
3299
|
-
toFiniteNumber,
|
|
3300
|
-
findKey,
|
|
3325
|
+
reduceDescriptors: reduceDescriptors,
|
|
3326
|
+
freezeMethods: freezeMethods,
|
|
3327
|
+
toObjectSet: toObjectSet,
|
|
3328
|
+
toCamelCase: toCamelCase,
|
|
3329
|
+
noop: noop,
|
|
3330
|
+
toFiniteNumber: toFiniteNumber,
|
|
3331
|
+
findKey: findKey,
|
|
3301
3332
|
global: _global,
|
|
3302
|
-
isContextDefined,
|
|
3303
|
-
isSpecCompliantForm,
|
|
3304
|
-
toJSONObject,
|
|
3305
|
-
isAsyncFn,
|
|
3306
|
-
isThenable,
|
|
3333
|
+
isContextDefined: isContextDefined,
|
|
3334
|
+
isSpecCompliantForm: isSpecCompliantForm,
|
|
3335
|
+
toJSONObject: toJSONObject,
|
|
3336
|
+
isAsyncFn: isAsyncFn,
|
|
3337
|
+
isThenable: isThenable,
|
|
3307
3338
|
setImmediate: _setImmediate,
|
|
3308
|
-
asap,
|
|
3309
|
-
isIterable
|
|
3339
|
+
asap: asap,
|
|
3340
|
+
isIterable: isIterable
|
|
3310
3341
|
};
|
|
3311
3342
|
class AxiosError extends Error {
|
|
3312
3343
|
static from(error, code, config, request, response, customProps) {
|
|
@@ -3439,7 +3470,7 @@ function toFormData(obj, formData, options) {
|
|
|
3439
3470
|
const exposedHelpers = Object.assign(predicates, {
|
|
3440
3471
|
defaultVisitor,
|
|
3441
3472
|
convertValue,
|
|
3442
|
-
isVisitable
|
|
3473
|
+
isVisitable: isVisitable
|
|
3443
3474
|
});
|
|
3444
3475
|
function build(value, path) {
|
|
3445
3476
|
if (utils.isUndefined(value)) return;
|
|
@@ -3768,12 +3799,27 @@ const parseHeaders = (rawHeaders)=>{
|
|
|
3768
3799
|
return parsed;
|
|
3769
3800
|
};
|
|
3770
3801
|
const $internals = Symbol('internals');
|
|
3802
|
+
const isValidHeaderValue = (value)=>!/[\r\n]/.test(value);
|
|
3803
|
+
function assertValidHeaderValue(value, header) {
|
|
3804
|
+
if (false === value || null == value) return;
|
|
3805
|
+
if (utils.isArray(value)) return void value.forEach((v)=>assertValidHeaderValue(v, header));
|
|
3806
|
+
if (!isValidHeaderValue(String(value))) throw new Error(`Invalid character in header content ["${header}"]`);
|
|
3807
|
+
}
|
|
3771
3808
|
function normalizeHeader(header) {
|
|
3772
3809
|
return header && String(header).trim().toLowerCase();
|
|
3773
3810
|
}
|
|
3811
|
+
function stripTrailingCRLF(str) {
|
|
3812
|
+
let end = str.length;
|
|
3813
|
+
while(end > 0){
|
|
3814
|
+
const charCode = str.charCodeAt(end - 1);
|
|
3815
|
+
if (10 !== charCode && 13 !== charCode) break;
|
|
3816
|
+
end -= 1;
|
|
3817
|
+
}
|
|
3818
|
+
return end === str.length ? str : str.slice(0, end);
|
|
3819
|
+
}
|
|
3774
3820
|
function normalizeValue(value) {
|
|
3775
3821
|
if (false === value || null == value) return value;
|
|
3776
|
-
return utils.isArray(value) ? value.map(normalizeValue) : String(value);
|
|
3822
|
+
return utils.isArray(value) ? value.map(normalizeValue) : stripTrailingCRLF(String(value));
|
|
3777
3823
|
}
|
|
3778
3824
|
function parseTokens(str) {
|
|
3779
3825
|
const tokens = Object.create(null);
|
|
@@ -3818,7 +3864,10 @@ class AxiosHeaders {
|
|
|
3818
3864
|
const lHeader = normalizeHeader(_header);
|
|
3819
3865
|
if (!lHeader) throw new Error('header name must be a non-empty string');
|
|
3820
3866
|
const key = utils.findKey(self1, lHeader);
|
|
3821
|
-
if (!key || void 0 === self1[key] || true === _rewrite || void 0 === _rewrite && false !== self1[key])
|
|
3867
|
+
if (!key || void 0 === self1[key] || true === _rewrite || void 0 === _rewrite && false !== self1[key]) {
|
|
3868
|
+
assertValidHeaderValue(_value, _header);
|
|
3869
|
+
self1[key || _header] = normalizeValue(_value);
|
|
3870
|
+
}
|
|
3822
3871
|
}
|
|
3823
3872
|
const setHeaders = (headers, _rewrite)=>utils.forEach(headers, (_value, _header)=>setHeader(_value, _header, _rewrite));
|
|
3824
3873
|
if (utils.isPlainObject(header) || header instanceof this.constructor) setHeaders(header, valueOrRewrite);
|
|
@@ -4448,7 +4497,7 @@ const globalFetchAPI = (({ Request, Response })=>({
|
|
|
4448
4497
|
Request,
|
|
4449
4498
|
Response
|
|
4450
4499
|
}))(utils.global);
|
|
4451
|
-
const { ReadableStream: fetch_ReadableStream, TextEncoder } = utils.global;
|
|
4500
|
+
const { ReadableStream: fetch_ReadableStream, TextEncoder: TextEncoder } = utils.global;
|
|
4452
4501
|
const test = (fn, ...args)=>{
|
|
4453
4502
|
try {
|
|
4454
4503
|
return !!fn(...args);
|
|
@@ -4469,14 +4518,16 @@ const factory = (env)=>{
|
|
|
4469
4518
|
const encodeText = isFetchSupported && ('function' == typeof TextEncoder ? ((encoder)=>(str)=>encoder.encode(str))(new TextEncoder()) : async (str)=>new Uint8Array(await new Request(str).arrayBuffer()));
|
|
4470
4519
|
const supportsRequestStream = isRequestSupported && isReadableStreamSupported && test(()=>{
|
|
4471
4520
|
let duplexAccessed = false;
|
|
4521
|
+
const body = new fetch_ReadableStream();
|
|
4472
4522
|
const hasContentType = new Request(platform.origin, {
|
|
4473
|
-
body
|
|
4523
|
+
body,
|
|
4474
4524
|
method: 'POST',
|
|
4475
4525
|
get duplex () {
|
|
4476
4526
|
duplexAccessed = true;
|
|
4477
4527
|
return 'half';
|
|
4478
4528
|
}
|
|
4479
4529
|
}).headers.has('Content-Type');
|
|
4530
|
+
body.cancel();
|
|
4480
4531
|
return duplexAccessed && !hasContentType;
|
|
4481
4532
|
});
|
|
4482
4533
|
const supportsResponseStream = isResponseSupported && isReadableStreamSupported && test(()=>utils.isReadableStream(new Response('').body));
|
|
@@ -4662,7 +4713,7 @@ function getAdapter(adapters, config) {
|
|
|
4662
4713
|
return adapter;
|
|
4663
4714
|
}
|
|
4664
4715
|
const adapters_adapters = {
|
|
4665
|
-
getAdapter,
|
|
4716
|
+
getAdapter: getAdapter,
|
|
4666
4717
|
adapters: knownAdapters
|
|
4667
4718
|
};
|
|
4668
4719
|
function throwIfCancellationRequested(config) {
|
|
@@ -4711,7 +4762,7 @@ const validators = {};
|
|
|
4711
4762
|
const deprecatedWarnings = {};
|
|
4712
4763
|
validators.transitional = function(validator, version, message) {
|
|
4713
4764
|
function formatMessage(opt, desc) {
|
|
4714
|
-
return "[Axios v1.
|
|
4765
|
+
return "[Axios v1.15.0] Transitional option '" + opt + "'" + desc + (message ? '. ' + message : '');
|
|
4715
4766
|
}
|
|
4716
4767
|
return (value, opt, opts)=>{
|
|
4717
4768
|
if (false === validator) throw new core_AxiosError(formatMessage(opt, ' has been removed' + (version ? ' in ' + version : '')), core_AxiosError.ERR_DEPRECATED);
|
|
@@ -4745,8 +4796,8 @@ function assertOptions(options, schema, allowUnknown) {
|
|
|
4745
4796
|
}
|
|
4746
4797
|
}
|
|
4747
4798
|
const helpers_validator = {
|
|
4748
|
-
assertOptions,
|
|
4749
|
-
validators
|
|
4799
|
+
assertOptions: assertOptions,
|
|
4800
|
+
validators: validators
|
|
4750
4801
|
};
|
|
4751
4802
|
const Axios_validators = helpers_validator.validators;
|
|
4752
4803
|
class Axios {
|
|
@@ -4764,10 +4815,19 @@ class Axios {
|
|
|
4764
4815
|
if (err instanceof Error) {
|
|
4765
4816
|
let dummy = {};
|
|
4766
4817
|
Error.captureStackTrace ? Error.captureStackTrace(dummy) : dummy = new Error();
|
|
4767
|
-
const stack =
|
|
4818
|
+
const stack = (()=>{
|
|
4819
|
+
if (!dummy.stack) return '';
|
|
4820
|
+
const firstNewlineIndex = dummy.stack.indexOf('\n');
|
|
4821
|
+
return -1 === firstNewlineIndex ? '' : dummy.stack.slice(firstNewlineIndex + 1);
|
|
4822
|
+
})();
|
|
4768
4823
|
try {
|
|
4769
4824
|
if (err.stack) {
|
|
4770
|
-
if (stack
|
|
4825
|
+
if (stack) {
|
|
4826
|
+
const firstNewlineIndex = stack.indexOf('\n');
|
|
4827
|
+
const secondNewlineIndex = -1 === firstNewlineIndex ? -1 : stack.indexOf('\n', firstNewlineIndex + 1);
|
|
4828
|
+
const stackWithoutTwoTopLines = -1 === secondNewlineIndex ? '' : stack.slice(secondNewlineIndex + 1);
|
|
4829
|
+
if (!String(err.stack).endsWith(stackWithoutTwoTopLines)) err.stack += '\n' + stack;
|
|
4830
|
+
}
|
|
4771
4831
|
} else err.stack = stack;
|
|
4772
4832
|
} catch (e) {}
|
|
4773
4833
|
}
|
|
@@ -5076,7 +5136,7 @@ axios.Axios = core_Axios;
|
|
|
5076
5136
|
axios.CanceledError = cancel_CanceledError;
|
|
5077
5137
|
axios.CancelToken = cancel_CancelToken;
|
|
5078
5138
|
axios.isCancel = isCancel;
|
|
5079
|
-
axios.VERSION = "1.
|
|
5139
|
+
axios.VERSION = "1.15.0";
|
|
5080
5140
|
axios.toFormData = helpers_toFormData;
|
|
5081
5141
|
axios.AxiosError = core_AxiosError;
|
|
5082
5142
|
axios.Cancel = axios.CanceledError;
|
|
@@ -5230,7 +5290,7 @@ const getPropertyName = (property, options)=>{
|
|
|
5230
5290
|
names = names.filter(Boolean);
|
|
5231
5291
|
return names.length > 0 ? names.join(separator) : 'Nill';
|
|
5232
5292
|
};
|
|
5233
|
-
var
|
|
5234
|
-
var
|
|
5235
|
-
var
|
|
5236
|
-
export { ASSIGN_UNKNOWN_TO_CUSTOMER,
|
|
5293
|
+
var packages_DEFAULT_PAGE = 1;
|
|
5294
|
+
var packages_DEFAULT_PAGE_SIZE = 500;
|
|
5295
|
+
var packages_PACKAGE_VERSION = "1.2.1";
|
|
5296
|
+
export { ASSIGN_UNKNOWN_TO_CUSTOMER, AccountingCommonSyncStatus, AmmoZeptoBankAccounts, AmmoZeptoClient, CmaPayoutTransactionType, CmaReceiptTransactionType, CmaStatus, CmaTransactionCreateTypeToDisplayText, CmaTransactionInputTypeToDisplayText, CmaTransactionStatus, CmaTransactionStatusToDisplayTextMapper, CmaTransactionType, CmaTransactionTypeToDisplayTextMapper, DATE_FORMATS, DEFAULT_DATE_FORMAT, DEFAULT_DATE_FORMAT_WITH_TIME, DEFAULT_DATE_TIME_ZONE, DEFAULT_PAYOUT_SOURCE_BANK_REF, DEFAULT_PAYOUT_SOURCE_DESCRIPTION, DEFAULT_PAYOUT_TARGET_BANK_REF, DEFAULT_PAYOUT_TARGET_DESCRIPTION, InputJsonValueSchema, JsonNullableFilterSchema, MenuStatus, MenuType, MtaCustomerTransactionType, MtaPayoutTransactionType, MtaReceiptTransactionType, MtaTransactionExtendedStatus, MtaTransactionExtendedStatusToDisplayTextMapper, MtaTransactionInputTypeToDisplayText, MtaTransactionStatus, MtaTransactionStatusToDisplayTextMapper, MtaTransactionType, MtaTransactionTypeToDisplayTextMapper, MtaUnknownTransactionType, PayoutBankFileStatus, PayoutStatus, PayoutType, ProjectApplyStatusRestRes, ProjectMtaAllocationStatus, PropertyInitialDepositStatus, PropertyInitialDepositStatusToDisplayTextMapper, PropertyStage, PropertyStatusToDisplayTextMapper, QueryMode, StringFilterBaseSchema, TRANSACTION_CANCEL, accountBsbFormattedSchema, accountBsbMaskedSchema, accountBsbValidationSchema, accountNumberMaskedSchema, accountNumberValidationSchema, account_period_constant_AccountPeriodStatus as AccountPeriodStatus, account_type_constant_AccountType as AccountType, allocateMtaToProjectRestReqSchema, approveCmaClosureRequestRestReqSchema, approveCmaRequestRestReqSchema, approveMtaAllocationRestReqSchema, assignUnknownReceiptToPropertyRestReqSchema, balanceRestResSchema, bankCodeSchema, bankReconciliationSummaryRestReqSchema, bigIntFilterSchema, bigIntNullableFilterSchema, bigIntNullableObjectFilterSchema, bigIntObjectFilterSchema, bigIntSimpleFilterSchema, boolFilterBaseSchema, boolFilterSchema, buyerLedgerRestReqBaseSchema, buyerLedgerRestReqSchema, cancelCmaTransactionRestReqSchema, cancelMtaTransactionRestReqSchema, cancelPayoutPaymentRestReqSchema, cancelPayoutRestReqSchema, centsToDollarsSchema, cmaAccountPeriodCloseRestReqSchema, cmaAccountPeriodClosingSummaryRestReqSchema, cmaAccountPeriodClosingSummaryRestResSchema, cmaAccountPeriodEntitySchema, cmaAccountPeriodRestResBaseSchema, cmaAccountPeriodRestResSchema, cmaClosedAccountPeriodRestResSchema, cmaClosureRequestEntitySchema, cmaCreationRequestEntitySchema, cmaEntitySchema, cmaReconciledTransactionEntitySchema, cmaReconciledTransactionRestResSchema, cmaReconciliationEntitySchema, cmaReconciliationRestResSchema, cmaRestResBaseSchema, cmaRestResSchema, cmaSearchRestReqBaseSchema, cmaSearchRestReqSchema, cmaSettlementPayoutRestResSchema, cmaTransactionEntitySchema, cmaTransactionRestResBaseSchema, cmaTransactionRestResSchema, cmaTransactionSearchRestReqSchema, cma_creation_request_constant_CmaRequestApprovalStatus as CmaRequestApprovalStatus, cma_input_type_constant_CmaTransactionCreateType as CmaTransactionCreateType, cma_input_type_constant_CmaTransactionInputType as CmaTransactionInputType, cma_payment_method_constant_CmaTransactionPaymentMethod as CmaTransactionPaymentMethod, commonPayoutSourceDetailEntitySchema, commonPayoutTargetDetailEntitySchema, commonReportRestReqSchema, commonReportWithCmaSelectionRestReqSchema, commonUpdatePayoutRestReqSchema, commonUpdatePayoutTargetDetailRestReqSchema, common_status_constant_AccountingCommonStatus as AccountingCommonStatus, confirmPayoutBankFileProcessedRestReqSchema, createCmaClosureRequestRestReqSchema, createCmaReconciliationRestReqSchema, createCmaRequestRestReqSchema, createCmaRestReqSchema, createCmaTransactionRestReqSchema, createMenuRestReqSchema, createMtaReconciliationRestReqSchema, createMtaRestReqSchema, createMtaToCmaPayoutRestReqSchema, createMtaTransactionRestReqSchema, createRefundPayoutRestReqSchema, createRefundPayoutSourceAccountSchema, createRefundPayoutTargetAccountSchema, createSettlementPayoutRestReqSchema, createSettlementPayoutSourceAccountSchema, createSettlementPayoutTargetAccountSchema, createUnknownPayoutRestReqSchema, customerEntitySchema, customerSyncFromAmmozeGrpcReqSchema, dateTimeFilterBaseSchema, dateTimeFilterSchema, developerEntitySchema, displayBankAccount, dollarsToCentsSchema, extendDayjs, formatBankBsb, formatCurrency, fromCentsToDollars, fromDollarsToCents, generateMtaPaymentMethodAccountConfigForZepto, generateMtaPaymentMethodFloatAccountConfigForZepto, getPropertyName, getTransactionAmountStr, getTransactionNumber, getTransactionStatus, intFilterSchema, intNullableFilterSchema, intNullableObjectFilterSchema, intObjectFilterSchema, intSimpleFilterSchema, isInterestTransaction, isPaymentTransaction, isReceiptTransaction, isTransactionAssignable, isTransactionCancelable, isUnknownReceiptAssignedToProperty, isUnknownReceiptPaidOut, isUnknownTransaction, markCmaTransactionAsClearedRestReqSchema, markPropertyCmaNotRequiredReqSchema, maskBankAccount, maskBankAccountNumber, maskBankBsb, maskString, menuRestResSchema, menuSchema, mtaAccountPeriodCloseRestReqSchema, mtaAccountPeriodClosingSummaryRestReqSchema, mtaAccountPeriodClosingSummaryRestResSchema, mtaAccountPeriodEntitySchema, mtaAccountPeriodRestResSchema, mtaClosedAccountPeriodRestResSchema, mtaEntitySchema, mtaListItemRestResSchema, mtaPaymentMethodAccountConfigSchema, mtaPaymentMethodEntitySchema, mtaPaymentMethodFloatAccountConfigSchema, mtaPaymentMethodRestResSchema, mtaReconciledTransactionEntitySchema, mtaReconciledTransactionRestResSchema, mtaReconciliationEntitySchema, mtaReconciliationRestResSchema, mtaRestResBaseSchema, mtaRestResSchema, mtaSettlementPayoutRestResSchema, mtaToCmaPayoutPaymentEntitySchema, mtaToCmaPayoutPaymentRestSchema, mtaToCmaPayoutProvisionDataEntitySchema, mtaToCmaPayoutProvisionDataRestSchema, mtaToCmaPayoutRestResSchema, mtaToCmaPayoutSourceDetailEntitySchema, mtaToCmaPayoutSourceDetailRestSchema, mtaToCmaPayoutTargetDetailEntitySchema, mtaToCmaPayoutTargetDetailRestSchema, mtaTransactionEntitySchema, mtaTransactionNestedSchema, mtaTransactionRestResBaseSchema, mtaTransactionRestResSchema, mtaTransactionSearchRestReqSchema, mtaTransactionStatusSummaryRestResSchema, mta_MtaStatus as MtaStatus, mta_input_type_constant_MtaTransactionInputType as MtaTransactionInputType, mta_payment_method_constant_MtaTransactionPaymentMethod as MtaTransactionPaymentMethod, packages_DEFAULT_PAGE as DEFAULT_PAGE, packages_DEFAULT_PAGE_SIZE as DEFAULT_PAGE_SIZE, packages_PACKAGE_VERSION as PACKAGE_VERSION, paginatedResSchema, paginationReqSchema, parseToDate, parseToDayjs, paymentListReportRestReqSchema, paymentProviderEntitySchema, payment_method_constant_PaymentMethod as PaymentMethod, payoutBankFileDownloadHistoryEntitySchema, payoutBankFileEntitySchema, payoutBankFileRestResSchema, payoutEntitySchema, payoutProvisionDataEntitySchema, payoutRestResBaseSchema, payoutRestResSchema, payoutSearchRestReqSchema, payoutStatusSummaryRestResSchema, payoutTransactionEntitySchema, payoutTransactionRestResSchema, payoutTransactionSearchRestReqSchema, payoutUpdateRestReqSchema, payout_constant_PayoutSourceAccountType as PayoutSourceAccountType, payout_constant_PayoutTargetAccountType as PayoutTargetAccountType, projectEntitySchema, projectMtaAllocationEntitySchema, projectMtaAllocationRestResSchema, projectNestedEntitySchema, projectRestResSchema, projectSearchRestReqSchema, propertyAccountsBalanceRestResSchema, propertyEntitySchema, propertyNestedEntitySchema, propertyRestResBaseSchema, propertyRestResSchema, propertySearchRestReqBaseSchema, propertySearchRestReqSchema, propertySyncFromAmmozeGrpcReqSchema, property_status_constant_PropertyRestResStatus as PropertyRestResStatus, queryModeSchema, receiptListReportRestReqSchema, reconcileCmaTransactionRestReqSchema, reconcileMtaTransactionRestReqSchema, reconcile_transaction_action_constant_ReconcileTransactionAction as ReconcileTransactionAction, reconciledItemsListReportRestReqSchema, reconciliation_constant_ReconciliationStatus as ReconciliationStatus, refundPayoutPaymentEntitySchema, refundPayoutProvisionDataEntitySchema, refundPayoutRestResSchema, refundPayoutSourceDetailEntitySchema, refundPayoutTargetDetailEntitySchema, rejectCmaClosureRequestRestReqSchema, rejectCmaRequestRestReqSchema, report_data_range_type_constant_ReportDataRangeType as ReportDataRangeType, report_group_type_constant_ReportGroupType as ReportGroupType, safeParseDateFromStr, settlementPayoutPaymentEntitySchema, settlementPayoutProvisionDataEntitySchema, settlementPayoutRestResSchema, settlementPayoutSourceDetailEntitySchema, settlementPayoutTargetDetailEntitySchema, simpleStringFilterSchema, sortReqSchema, sort_order_constant_SortOrder as SortOrder, stateCodeSchema, statusFilterSchema, statusNullableFilterSchema, stringFilterSchema, stringNullSchema, stringNullableFilterSchema, stringToBoolSchema, stringToDateSchema, stringToEndOfDaySchema, stringToStartOfDaySchema, trustTrialBalanceReportRestReqSchema, unknownPayoutPaymentEntitySchema, unknownPayoutProvisionDataEntitySchema, unknownPayoutRestResSchema, unknownPayoutSourceDetailEntitySchema, unknownPayoutTargetDetailEntitySchema, unknownReceiptLedgerRestReqSchema, unreconciledItemsListReportRestReqSchema, updateCmaOpenReconciliationCurrentBankStatementBalanceRestReqSchema, updateCmaRequestRestReqSchema, updateCmaSettlementPayoutRestReqSchema, updateMenuRestReqSchema, updateMtaRestReqSchema, updateMtaSettlementPayoutRestReqSchema, updateMtaToCmaPayoutRestReqSchema, updateMtaTransactionRestReqSchema, updateOpenReconciliationCurrentBankStatementBalanceRestReqSchema, updateRefundPayoutRestReqSchema, updateRefundPayoutTargetDetailRestReqSchema, updateSettlementPayoutRestReqSchema, updateUnknownPayoutRestReqSchema, updateUnknownPayoutTargetDetailRestReqSchema, userEntitySchema, userRestResSchema, validateGetPropertyNameFormat, vendorLedgerRestReqSchema };
|
|
@@ -56,6 +56,34 @@ export declare const cmaSearchRestReqBaseSchema: z.ZodObject<{
|
|
|
56
56
|
endsWith: z.ZodOptional<z.ZodString>;
|
|
57
57
|
}, z.core.$strict>>]>>;
|
|
58
58
|
}, z.core.$strict>>, z.ZodString]>>;
|
|
59
|
+
accountNumber: z.ZodOptional<z.ZodUnion<readonly [z.ZodLazy<z.ZodObject<{
|
|
60
|
+
equals: z.ZodOptional<z.ZodString>;
|
|
61
|
+
in: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
62
|
+
notIn: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
63
|
+
lt: z.ZodOptional<z.ZodString>;
|
|
64
|
+
lte: z.ZodOptional<z.ZodString>;
|
|
65
|
+
gt: z.ZodOptional<z.ZodString>;
|
|
66
|
+
gte: z.ZodOptional<z.ZodString>;
|
|
67
|
+
contains: z.ZodOptional<z.ZodString>;
|
|
68
|
+
startsWith: z.ZodOptional<z.ZodString>;
|
|
69
|
+
endsWith: z.ZodOptional<z.ZodString>;
|
|
70
|
+
mode: z.ZodOptional<z.ZodPrefault<z.ZodLazy<z.ZodEnum<{
|
|
71
|
+
readonly DEFAULT: "default";
|
|
72
|
+
readonly INSENSITIVE: "insensitive";
|
|
73
|
+
}>>>>;
|
|
74
|
+
not: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodLazy<z.ZodObject<{
|
|
75
|
+
equals: z.ZodOptional<z.ZodString>;
|
|
76
|
+
in: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
77
|
+
notIn: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
78
|
+
lt: z.ZodOptional<z.ZodString>;
|
|
79
|
+
lte: z.ZodOptional<z.ZodString>;
|
|
80
|
+
gt: z.ZodOptional<z.ZodString>;
|
|
81
|
+
gte: z.ZodOptional<z.ZodString>;
|
|
82
|
+
contains: z.ZodOptional<z.ZodString>;
|
|
83
|
+
startsWith: z.ZodOptional<z.ZodString>;
|
|
84
|
+
endsWith: z.ZodOptional<z.ZodString>;
|
|
85
|
+
}, z.core.$strict>>]>>;
|
|
86
|
+
}, z.core.$strict>>, z.ZodString]>>;
|
|
59
87
|
country: z.ZodOptional<z.ZodUnion<readonly [z.ZodLazy<z.ZodObject<{
|
|
60
88
|
equals: z.ZodOptional<z.ZodString>;
|
|
61
89
|
in: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
@@ -895,6 +923,34 @@ export declare const cmaSearchRestReqSchema: z.ZodObject<{
|
|
|
895
923
|
endsWith: z.ZodOptional<z.ZodString>;
|
|
896
924
|
}, z.core.$strict>>]>>;
|
|
897
925
|
}, z.core.$strict>>, z.ZodString]>>;
|
|
926
|
+
accountNumber: z.ZodOptional<z.ZodUnion<readonly [z.ZodLazy<z.ZodObject<{
|
|
927
|
+
equals: z.ZodOptional<z.ZodString>;
|
|
928
|
+
in: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
929
|
+
notIn: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
930
|
+
lt: z.ZodOptional<z.ZodString>;
|
|
931
|
+
lte: z.ZodOptional<z.ZodString>;
|
|
932
|
+
gt: z.ZodOptional<z.ZodString>;
|
|
933
|
+
gte: z.ZodOptional<z.ZodString>;
|
|
934
|
+
contains: z.ZodOptional<z.ZodString>;
|
|
935
|
+
startsWith: z.ZodOptional<z.ZodString>;
|
|
936
|
+
endsWith: z.ZodOptional<z.ZodString>;
|
|
937
|
+
mode: z.ZodOptional<z.ZodPrefault<z.ZodLazy<z.ZodEnum<{
|
|
938
|
+
readonly DEFAULT: "default";
|
|
939
|
+
readonly INSENSITIVE: "insensitive";
|
|
940
|
+
}>>>>;
|
|
941
|
+
not: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodLazy<z.ZodObject<{
|
|
942
|
+
equals: z.ZodOptional<z.ZodString>;
|
|
943
|
+
in: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
944
|
+
notIn: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
945
|
+
lt: z.ZodOptional<z.ZodString>;
|
|
946
|
+
lte: z.ZodOptional<z.ZodString>;
|
|
947
|
+
gt: z.ZodOptional<z.ZodString>;
|
|
948
|
+
gte: z.ZodOptional<z.ZodString>;
|
|
949
|
+
contains: z.ZodOptional<z.ZodString>;
|
|
950
|
+
startsWith: z.ZodOptional<z.ZodString>;
|
|
951
|
+
endsWith: z.ZodOptional<z.ZodString>;
|
|
952
|
+
}, z.core.$strict>>]>>;
|
|
953
|
+
}, z.core.$strict>>, z.ZodString]>>;
|
|
898
954
|
country: z.ZodOptional<z.ZodUnion<readonly [z.ZodLazy<z.ZodObject<{
|
|
899
955
|
equals: z.ZodOptional<z.ZodString>;
|
|
900
956
|
in: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cma-search.rest.schemal.d.ts","sourceRoot":"","sources":["../../../../packages/schemas/cma/cma-search.rest.schemal.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,eAAO,MAAM,0BAA0B
|
|
1
|
+
{"version":3,"file":"cma-search.rest.schemal.d.ts","sourceRoot":"","sources":["../../../../packages/schemas/cma/cma-search.rest.schemal.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,eAAO,MAAM,0BAA0B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAYrC,CAAC;AAEH,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBASjC,CAAC;AAEH,MAAM,MAAM,gBAAgB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,sBAAsB,CAAC,CAAC;AAEtE,MAAM,MAAM,YAAY,GAAG,CAAC,CAAC,MAAM,CAAC,OAAO,sBAAsB,CAAC,CAAC"}
|
|
@@ -57,6 +57,34 @@ export declare const cmaTransactionSearchRestReqSchema: z.ZodIntersection<z.ZodO
|
|
|
57
57
|
endsWith: z.ZodOptional<z.ZodString>;
|
|
58
58
|
}, z.core.$strict>>]>>;
|
|
59
59
|
}, z.core.$strict>>, z.ZodString]>>;
|
|
60
|
+
accountNumber: z.ZodOptional<z.ZodUnion<readonly [z.ZodLazy<z.ZodObject<{
|
|
61
|
+
equals: z.ZodOptional<z.ZodString>;
|
|
62
|
+
in: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
63
|
+
notIn: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
64
|
+
lt: z.ZodOptional<z.ZodString>;
|
|
65
|
+
lte: z.ZodOptional<z.ZodString>;
|
|
66
|
+
gt: z.ZodOptional<z.ZodString>;
|
|
67
|
+
gte: z.ZodOptional<z.ZodString>;
|
|
68
|
+
contains: z.ZodOptional<z.ZodString>;
|
|
69
|
+
startsWith: z.ZodOptional<z.ZodString>;
|
|
70
|
+
endsWith: z.ZodOptional<z.ZodString>;
|
|
71
|
+
mode: z.ZodOptional<z.ZodPrefault<z.ZodLazy<z.ZodEnum<{
|
|
72
|
+
readonly DEFAULT: "default";
|
|
73
|
+
readonly INSENSITIVE: "insensitive";
|
|
74
|
+
}>>>>;
|
|
75
|
+
not: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodLazy<z.ZodObject<{
|
|
76
|
+
equals: z.ZodOptional<z.ZodString>;
|
|
77
|
+
in: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
78
|
+
notIn: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
79
|
+
lt: z.ZodOptional<z.ZodString>;
|
|
80
|
+
lte: z.ZodOptional<z.ZodString>;
|
|
81
|
+
gt: z.ZodOptional<z.ZodString>;
|
|
82
|
+
gte: z.ZodOptional<z.ZodString>;
|
|
83
|
+
contains: z.ZodOptional<z.ZodString>;
|
|
84
|
+
startsWith: z.ZodOptional<z.ZodString>;
|
|
85
|
+
endsWith: z.ZodOptional<z.ZodString>;
|
|
86
|
+
}, z.core.$strict>>]>>;
|
|
87
|
+
}, z.core.$strict>>, z.ZodString]>>;
|
|
60
88
|
id: z.ZodOptional<z.ZodUnion<readonly [z.ZodLazy<z.ZodObject<{
|
|
61
89
|
equals: z.ZodOptional<z.ZodString>;
|
|
62
90
|
in: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
@@ -560,6 +588,34 @@ export declare const cmaTransactionSearchRestReqSchema: z.ZodIntersection<z.ZodO
|
|
|
560
588
|
endsWith: z.ZodOptional<z.ZodString>;
|
|
561
589
|
}, z.core.$strict>>]>>;
|
|
562
590
|
}, z.core.$strict>>, z.ZodString]>>;
|
|
591
|
+
accountNumber: z.ZodOptional<z.ZodUnion<readonly [z.ZodLazy<z.ZodObject<{
|
|
592
|
+
equals: z.ZodOptional<z.ZodString>;
|
|
593
|
+
in: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
594
|
+
notIn: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
595
|
+
lt: z.ZodOptional<z.ZodString>;
|
|
596
|
+
lte: z.ZodOptional<z.ZodString>;
|
|
597
|
+
gt: z.ZodOptional<z.ZodString>;
|
|
598
|
+
gte: z.ZodOptional<z.ZodString>;
|
|
599
|
+
contains: z.ZodOptional<z.ZodString>;
|
|
600
|
+
startsWith: z.ZodOptional<z.ZodString>;
|
|
601
|
+
endsWith: z.ZodOptional<z.ZodString>;
|
|
602
|
+
mode: z.ZodOptional<z.ZodPrefault<z.ZodLazy<z.ZodEnum<{
|
|
603
|
+
readonly DEFAULT: "default";
|
|
604
|
+
readonly INSENSITIVE: "insensitive";
|
|
605
|
+
}>>>>;
|
|
606
|
+
not: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodLazy<z.ZodObject<{
|
|
607
|
+
equals: z.ZodOptional<z.ZodString>;
|
|
608
|
+
in: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
609
|
+
notIn: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
610
|
+
lt: z.ZodOptional<z.ZodString>;
|
|
611
|
+
lte: z.ZodOptional<z.ZodString>;
|
|
612
|
+
gt: z.ZodOptional<z.ZodString>;
|
|
613
|
+
gte: z.ZodOptional<z.ZodString>;
|
|
614
|
+
contains: z.ZodOptional<z.ZodString>;
|
|
615
|
+
startsWith: z.ZodOptional<z.ZodString>;
|
|
616
|
+
endsWith: z.ZodOptional<z.ZodString>;
|
|
617
|
+
}, z.core.$strict>>]>>;
|
|
618
|
+
}, z.core.$strict>>, z.ZodString]>>;
|
|
563
619
|
country: z.ZodOptional<z.ZodUnion<readonly [z.ZodLazy<z.ZodObject<{
|
|
564
620
|
equals: z.ZodOptional<z.ZodString>;
|
|
565
621
|
in: z.ZodOptional<z.ZodArray<z.ZodString>>;
|