@mikemo-coposit/am-accounting-shared 0.0.19 → 0.0.20
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.js +97 -50
- package/dist/cjs/schemas/cma/cma-search.rest.schemal.d.ts +202 -1
- 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 +203 -2
- package/dist/cjs/schemas/cma-transaction/cma-transaction-search.rest.schema.d.ts.map +1 -1
- package/dist/cjs/schemas/common/search/pagination-req.schema.d.ts +1 -1
- package/dist/cjs/schemas/common/search/pagination-req.schema.d.ts.map +1 -1
- package/dist/cjs/schemas/mta-transaction/index.d.ts +1 -0
- package/dist/cjs/schemas/mta-transaction/index.d.ts.map +1 -1
- package/dist/cjs/schemas/mta-transaction/mta-transaction-search.rest.schema.d.ts +301 -103
- package/dist/cjs/schemas/mta-transaction/mta-transaction-search.rest.schema.d.ts.map +1 -1
- package/dist/cjs/schemas/mta-transaction/update-mta-transaction.rest.schema.d.ts +8 -0
- package/dist/cjs/schemas/mta-transaction/update-mta-transaction.rest.schema.d.ts.map +1 -0
- package/dist/cjs/schemas/project/index.d.ts +1 -0
- package/dist/cjs/schemas/project/index.d.ts.map +1 -1
- package/dist/cjs/schemas/project/project-search.rest.schema.d.ts +205 -0
- package/dist/cjs/schemas/project/project-search.rest.schema.d.ts.map +1 -0
- package/dist/cjs/schemas/property/property-search.rest.schema.d.ts +202 -1
- package/dist/cjs/schemas/property/property-search.rest.schema.d.ts.map +1 -1
- package/dist/esm/constants/common/package-version.constant.d.ts +1 -1
- package/dist/esm/index.mjs +78 -37
- package/dist/esm/schemas/cma/cma-search.rest.schemal.d.ts +202 -1
- 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 +203 -2
- package/dist/esm/schemas/cma-transaction/cma-transaction-search.rest.schema.d.ts.map +1 -1
- package/dist/esm/schemas/common/search/pagination-req.schema.d.ts +1 -1
- package/dist/esm/schemas/common/search/pagination-req.schema.d.ts.map +1 -1
- package/dist/esm/schemas/mta-transaction/index.d.ts +1 -0
- package/dist/esm/schemas/mta-transaction/index.d.ts.map +1 -1
- package/dist/esm/schemas/mta-transaction/mta-transaction-search.rest.schema.d.ts +301 -103
- package/dist/esm/schemas/mta-transaction/mta-transaction-search.rest.schema.d.ts.map +1 -1
- package/dist/esm/schemas/mta-transaction/update-mta-transaction.rest.schema.d.ts +8 -0
- package/dist/esm/schemas/mta-transaction/update-mta-transaction.rest.schema.d.ts.map +1 -0
- package/dist/esm/schemas/project/index.d.ts +1 -0
- package/dist/esm/schemas/project/index.d.ts.map +1 -1
- package/dist/esm/schemas/project/project-search.rest.schema.d.ts +205 -0
- package/dist/esm/schemas/project/project-search.rest.schema.d.ts.map +1 -0
- package/dist/esm/schemas/property/property-search.rest.schema.d.ts +202 -1
- package/dist/esm/schemas/property/property-search.rest.schema.d.ts.map +1 -1
- package/package.json +20 -10
package/dist/esm/index.mjs
CHANGED
|
@@ -455,7 +455,7 @@ const simpleStringFilterSchema = z.strictObject({
|
|
|
455
455
|
mode: z.lazy(()=>queryModeSchema).optional()
|
|
456
456
|
});
|
|
457
457
|
const paginationReqSchema = z.object({
|
|
458
|
-
page: z.coerce.number().
|
|
458
|
+
page: z.coerce.number().pipe(z.int().positive()).optional(),
|
|
459
459
|
pageSize: z.coerce.number().pipe(z.int().positive()).optional()
|
|
460
460
|
});
|
|
461
461
|
const sortReqSchema = zod.record(zod.string(), zod.string().transform((val)=>{
|
|
@@ -484,6 +484,38 @@ const statusNullableFilterSchema = z.union([
|
|
|
484
484
|
if ('object' == typeof val && 0 === Object.keys(val).length) return;
|
|
485
485
|
return val;
|
|
486
486
|
}).nullish();
|
|
487
|
+
const projectSearchRestReqSchema = z.object({
|
|
488
|
+
id: z.union([
|
|
489
|
+
z.lazy(()=>stringFilterSchema),
|
|
490
|
+
z.string()
|
|
491
|
+
]).optional(),
|
|
492
|
+
name: z.union([
|
|
493
|
+
z.lazy(()=>stringFilterSchema),
|
|
494
|
+
z.string()
|
|
495
|
+
]).optional(),
|
|
496
|
+
developerId: z.union([
|
|
497
|
+
z.lazy(()=>stringFilterSchema),
|
|
498
|
+
z.string()
|
|
499
|
+
]).optional(),
|
|
500
|
+
mtaId: z.union([
|
|
501
|
+
z.lazy(()=>stringNullableFilterSchema),
|
|
502
|
+
z.string()
|
|
503
|
+
]).optional(),
|
|
504
|
+
state: z.union([
|
|
505
|
+
z.lazy(()=>stringFilterSchema),
|
|
506
|
+
z.string()
|
|
507
|
+
]).optional(),
|
|
508
|
+
type: z.union([
|
|
509
|
+
z.lazy(()=>stringFilterSchema),
|
|
510
|
+
z.string()
|
|
511
|
+
]).optional(),
|
|
512
|
+
status: z.union([
|
|
513
|
+
z.lazy(()=>stringFilterSchema),
|
|
514
|
+
z.string()
|
|
515
|
+
]).optional(),
|
|
516
|
+
...paginationReqSchema.shape,
|
|
517
|
+
sort: sortReqSchema.optional()
|
|
518
|
+
});
|
|
487
519
|
const propertySearchRestReqSchema = z.object({
|
|
488
520
|
id: z.union([
|
|
489
521
|
z.lazy(()=>stringFilterSchema),
|
|
@@ -521,6 +553,7 @@ const propertySearchRestReqSchema = z.object({
|
|
|
521
553
|
cmaBalanceCents: bigIntFilterSchema.optional(),
|
|
522
554
|
balanceCents: bigIntFilterSchema.optional(),
|
|
523
555
|
status: statusFilterSchema.optional(),
|
|
556
|
+
project: projectSearchRestReqSchema.optional(),
|
|
524
557
|
cmaId: z.union([
|
|
525
558
|
z.lazy(()=>stringNullableFilterSchema),
|
|
526
559
|
z.string()
|
|
@@ -2105,7 +2138,11 @@ const mtaTransactionSearchRestReqSchema = z.object({
|
|
|
2105
2138
|
]).optional(),
|
|
2106
2139
|
creditAmountCents: bigIntFilterSchema.optional(),
|
|
2107
2140
|
debitAmountCents: bigIntFilterSchema.optional(),
|
|
2108
|
-
property: z.lazy(()=>propertySearchRestReqSchema
|
|
2141
|
+
property: z.lazy(()=>propertySearchRestReqSchema.omit({
|
|
2142
|
+
page: true,
|
|
2143
|
+
pageSize: true,
|
|
2144
|
+
sort: true
|
|
2145
|
+
})).optional().nullable(),
|
|
2109
2146
|
sort: z.lazy(()=>sortReqSchema).optional()
|
|
2110
2147
|
}).and(paginationReqSchema.optional());
|
|
2111
2148
|
const mtaTransactionStatusSummaryRestResSchema = z.object({
|
|
@@ -2117,6 +2154,10 @@ const reconcileMtaTransactionRestReqSchema = z.object({
|
|
|
2117
2154
|
reconciliationId: z.uuid(),
|
|
2118
2155
|
action: z["enum"](reconcile_transaction_action_constant_ReconcileTransactionAction)
|
|
2119
2156
|
});
|
|
2157
|
+
const updateMtaTransactionRestReqSchema = zod.object({
|
|
2158
|
+
bankRef: zod.string().optional(),
|
|
2159
|
+
description: zod.string().optional()
|
|
2160
|
+
});
|
|
2120
2161
|
const cancelPayoutPaymentRestReqSchema = z.object({
|
|
2121
2162
|
payoutId: z.uuid(),
|
|
2122
2163
|
payoutTransactionId: z.uuid(),
|
|
@@ -2980,7 +3021,7 @@ const utils = {
|
|
|
2980
3021
|
asap,
|
|
2981
3022
|
isIterable
|
|
2982
3023
|
};
|
|
2983
|
-
function
|
|
3024
|
+
function AxiosError(message, code, config, request, response) {
|
|
2984
3025
|
Error.call(this);
|
|
2985
3026
|
if (Error.captureStackTrace) Error.captureStackTrace(this, this.constructor);
|
|
2986
3027
|
else this.stack = new Error().stack;
|
|
@@ -2994,7 +3035,7 @@ function AxiosError_AxiosError(message, code, config, request, response) {
|
|
|
2994
3035
|
this.status = response.status ? response.status : null;
|
|
2995
3036
|
}
|
|
2996
3037
|
}
|
|
2997
|
-
utils.inherits(
|
|
3038
|
+
utils.inherits(AxiosError, Error, {
|
|
2998
3039
|
toJSON: function() {
|
|
2999
3040
|
return {
|
|
3000
3041
|
message: this.message,
|
|
@@ -3011,7 +3052,7 @@ utils.inherits(AxiosError_AxiosError, Error, {
|
|
|
3011
3052
|
};
|
|
3012
3053
|
}
|
|
3013
3054
|
});
|
|
3014
|
-
const AxiosError_prototype =
|
|
3055
|
+
const AxiosError_prototype = AxiosError.prototype;
|
|
3015
3056
|
const AxiosError_descriptors = {};
|
|
3016
3057
|
[
|
|
3017
3058
|
'ERR_BAD_OPTION_VALUE',
|
|
@@ -3031,22 +3072,22 @@ const AxiosError_descriptors = {};
|
|
|
3031
3072
|
value: code
|
|
3032
3073
|
};
|
|
3033
3074
|
});
|
|
3034
|
-
Object.defineProperties(
|
|
3075
|
+
Object.defineProperties(AxiosError, AxiosError_descriptors);
|
|
3035
3076
|
Object.defineProperty(AxiosError_prototype, 'isAxiosError', {
|
|
3036
3077
|
value: true
|
|
3037
3078
|
});
|
|
3038
|
-
|
|
3079
|
+
AxiosError.from = (error, code, config, request, response, customProps)=>{
|
|
3039
3080
|
const axiosError = Object.create(AxiosError_prototype);
|
|
3040
3081
|
utils.toFlatObject(error, axiosError, function(obj) {
|
|
3041
3082
|
return obj !== Error.prototype;
|
|
3042
3083
|
}, (prop)=>'isAxiosError' !== prop);
|
|
3043
|
-
|
|
3084
|
+
AxiosError.call(axiosError, error.message, code, config, request, response);
|
|
3044
3085
|
axiosError.cause = error;
|
|
3045
3086
|
axiosError.name = error.name;
|
|
3046
3087
|
customProps && Object.assign(axiosError, customProps);
|
|
3047
3088
|
return axiosError;
|
|
3048
3089
|
};
|
|
3049
|
-
const
|
|
3090
|
+
const core_AxiosError = AxiosError;
|
|
3050
3091
|
const helpers_null = null;
|
|
3051
3092
|
function isVisitable(thing) {
|
|
3052
3093
|
return utils.isPlainObject(thing) || utils.isArray(thing);
|
|
@@ -3088,7 +3129,7 @@ function toFormData(obj, formData, options) {
|
|
|
3088
3129
|
if (null === value) return '';
|
|
3089
3130
|
if (utils.isDate(value)) return value.toISOString();
|
|
3090
3131
|
if (utils.isBoolean(value)) return value.toString();
|
|
3091
|
-
if (!useBlob && utils.isBlob(value)) throw new
|
|
3132
|
+
if (!useBlob && utils.isBlob(value)) throw new core_AxiosError('Blob is not supported. Use a Buffer instead.');
|
|
3092
3133
|
if (utils.isArrayBuffer(value) || utils.isTypedArray(value)) return useBlob && 'function' == typeof Blob ? new Blob([
|
|
3093
3134
|
value
|
|
3094
3135
|
]) : Buffer.from(value);
|
|
@@ -3370,7 +3411,7 @@ const defaults = {
|
|
|
3370
3411
|
return JSON.parse(data);
|
|
3371
3412
|
} catch (e) {
|
|
3372
3413
|
if (strictJSONParsing) {
|
|
3373
|
-
if ('SyntaxError' === e.name) throw
|
|
3414
|
+
if ('SyntaxError' === e.name) throw core_AxiosError.from(e, core_AxiosError.ERR_BAD_RESPONSE, this, null, this.response);
|
|
3374
3415
|
throw e;
|
|
3375
3416
|
}
|
|
3376
3417
|
}
|
|
@@ -3667,19 +3708,19 @@ function isCancel(value) {
|
|
|
3667
3708
|
return !!(value && value.__CANCEL__);
|
|
3668
3709
|
}
|
|
3669
3710
|
function CanceledError(message, config, request) {
|
|
3670
|
-
|
|
3711
|
+
core_AxiosError.call(this, null == message ? 'canceled' : message, core_AxiosError.ERR_CANCELED, config, request);
|
|
3671
3712
|
this.name = 'CanceledError';
|
|
3672
3713
|
}
|
|
3673
|
-
utils.inherits(CanceledError,
|
|
3714
|
+
utils.inherits(CanceledError, core_AxiosError, {
|
|
3674
3715
|
__CANCEL__: true
|
|
3675
3716
|
});
|
|
3676
3717
|
const cancel_CanceledError = CanceledError;
|
|
3677
3718
|
function settle(resolve, reject, response) {
|
|
3678
3719
|
const validateStatus = response.config.validateStatus;
|
|
3679
3720
|
if (!response.status || !validateStatus || validateStatus(response.status)) resolve(response);
|
|
3680
|
-
else reject(new
|
|
3681
|
-
|
|
3682
|
-
|
|
3721
|
+
else reject(new core_AxiosError('Request failed with status code ' + response.status, [
|
|
3722
|
+
core_AxiosError.ERR_BAD_REQUEST,
|
|
3723
|
+
core_AxiosError.ERR_BAD_RESPONSE
|
|
3683
3724
|
][Math.floor(response.status / 100) - 4], response.config, response.request, response));
|
|
3684
3725
|
}
|
|
3685
3726
|
function parseProtocol(url) {
|
|
@@ -3967,18 +4008,18 @@ const xhr = isXHRAdapterSupported && function(config) {
|
|
|
3967
4008
|
};
|
|
3968
4009
|
request.onabort = function() {
|
|
3969
4010
|
if (!request) return;
|
|
3970
|
-
reject(new
|
|
4011
|
+
reject(new core_AxiosError('Request aborted', core_AxiosError.ECONNABORTED, config, request));
|
|
3971
4012
|
request = null;
|
|
3972
4013
|
};
|
|
3973
4014
|
request.onerror = function() {
|
|
3974
|
-
reject(new
|
|
4015
|
+
reject(new core_AxiosError('Network Error', core_AxiosError.ERR_NETWORK, config, request));
|
|
3975
4016
|
request = null;
|
|
3976
4017
|
};
|
|
3977
4018
|
request.ontimeout = function() {
|
|
3978
4019
|
let timeoutErrorMessage = _config.timeout ? 'timeout of ' + _config.timeout + 'ms exceeded' : 'timeout exceeded';
|
|
3979
4020
|
const transitional = _config.transitional || defaults_transitional;
|
|
3980
4021
|
if (_config.timeoutErrorMessage) timeoutErrorMessage = _config.timeoutErrorMessage;
|
|
3981
|
-
reject(new
|
|
4022
|
+
reject(new core_AxiosError(timeoutErrorMessage, transitional.clarifyTimeoutError ? core_AxiosError.ETIMEDOUT : core_AxiosError.ECONNABORTED, config, request));
|
|
3982
4023
|
request = null;
|
|
3983
4024
|
};
|
|
3984
4025
|
void 0 === requestData && requestHeaders.setContentType(null);
|
|
@@ -4007,11 +4048,11 @@ const xhr = isXHRAdapterSupported && function(config) {
|
|
|
4007
4048
|
if (_config.signal) _config.signal.aborted ? onCanceled() : _config.signal.addEventListener('abort', onCanceled);
|
|
4008
4049
|
}
|
|
4009
4050
|
const protocol = parseProtocol(_config.url);
|
|
4010
|
-
if (protocol && -1 === platform.protocols.indexOf(protocol)) return void reject(new
|
|
4051
|
+
if (protocol && -1 === platform.protocols.indexOf(protocol)) return void reject(new core_AxiosError('Unsupported protocol ' + protocol + ':', core_AxiosError.ERR_BAD_REQUEST, config));
|
|
4011
4052
|
request.send(requestData || null);
|
|
4012
4053
|
});
|
|
4013
4054
|
};
|
|
4014
|
-
const
|
|
4055
|
+
const composeSignals = (signals, timeout)=>{
|
|
4015
4056
|
const { length } = signals = signals ? signals.filter(Boolean) : [];
|
|
4016
4057
|
if (timeout || length) {
|
|
4017
4058
|
let controller = new AbortController();
|
|
@@ -4021,12 +4062,12 @@ const composeSignals_composeSignals = (signals, timeout)=>{
|
|
|
4021
4062
|
aborted = true;
|
|
4022
4063
|
unsubscribe();
|
|
4023
4064
|
const err = reason instanceof Error ? reason : this.reason;
|
|
4024
|
-
controller.abort(err instanceof
|
|
4065
|
+
controller.abort(err instanceof core_AxiosError ? err : new cancel_CanceledError(err instanceof Error ? err.message : err));
|
|
4025
4066
|
}
|
|
4026
4067
|
};
|
|
4027
4068
|
let timer = timeout && setTimeout(()=>{
|
|
4028
4069
|
timer = null;
|
|
4029
|
-
onabort(new
|
|
4070
|
+
onabort(new core_AxiosError(`timeout ${timeout} of ms exceeded`, core_AxiosError.ETIMEDOUT));
|
|
4030
4071
|
}, timeout);
|
|
4031
4072
|
const unsubscribe = ()=>{
|
|
4032
4073
|
if (signals) {
|
|
@@ -4044,7 +4085,7 @@ const composeSignals_composeSignals = (signals, timeout)=>{
|
|
|
4044
4085
|
return signal;
|
|
4045
4086
|
}
|
|
4046
4087
|
};
|
|
4047
|
-
const
|
|
4088
|
+
const helpers_composeSignals = composeSignals;
|
|
4048
4089
|
const streamChunk = function*(chunk, chunkSize) {
|
|
4049
4090
|
let len = chunk.byteLength;
|
|
4050
4091
|
if (!chunkSize || len < chunkSize) return void (yield chunk);
|
|
@@ -4146,7 +4187,7 @@ isFetchSupported && ((res)=>{
|
|
|
4146
4187
|
'stream'
|
|
4147
4188
|
].forEach((type)=>{
|
|
4148
4189
|
resolvers[type] || (resolvers[type] = utils.isFunction(res[type]) ? (res)=>res[type]() : (_, config)=>{
|
|
4149
|
-
throw new
|
|
4190
|
+
throw new core_AxiosError(`Response type '${type}' is not supported`, core_AxiosError.ERR_NOT_SUPPORT, config);
|
|
4150
4191
|
});
|
|
4151
4192
|
});
|
|
4152
4193
|
})(new Response);
|
|
@@ -4171,7 +4212,7 @@ const resolveBodyLength = async (headers, body)=>{
|
|
|
4171
4212
|
const adapters_fetch = isFetchSupported && (async (config)=>{
|
|
4172
4213
|
let { url, method, data, signal, cancelToken, timeout, onDownloadProgress, onUploadProgress, responseType, headers, withCredentials = 'same-origin', fetchOptions } = resolveConfig(config);
|
|
4173
4214
|
responseType = responseType ? (responseType + '').toLowerCase() : 'text';
|
|
4174
|
-
let composedSignal =
|
|
4215
|
+
let composedSignal = helpers_composeSignals([
|
|
4175
4216
|
signal,
|
|
4176
4217
|
cancelToken && cancelToken.toAbortSignal()
|
|
4177
4218
|
], timeout);
|
|
@@ -4238,10 +4279,10 @@ const adapters_fetch = isFetchSupported && (async (config)=>{
|
|
|
4238
4279
|
});
|
|
4239
4280
|
} catch (err) {
|
|
4240
4281
|
unsubscribe && unsubscribe();
|
|
4241
|
-
if (err && 'TypeError' === err.name && /Load failed|fetch/i.test(err.message)) throw Object.assign(new
|
|
4282
|
+
if (err && 'TypeError' === err.name && /Load failed|fetch/i.test(err.message)) throw Object.assign(new core_AxiosError('Network Error', core_AxiosError.ERR_NETWORK, config, request), {
|
|
4242
4283
|
cause: err.cause || err
|
|
4243
4284
|
});
|
|
4244
|
-
throw
|
|
4285
|
+
throw core_AxiosError.from(err, err && err.code, config, request);
|
|
4245
4286
|
}
|
|
4246
4287
|
});
|
|
4247
4288
|
const knownAdapters = {
|
|
@@ -4278,7 +4319,7 @@ const adapters_adapters = {
|
|
|
4278
4319
|
adapter = nameOrAdapter;
|
|
4279
4320
|
if (!isResolvedHandle(nameOrAdapter)) {
|
|
4280
4321
|
adapter = knownAdapters[(id = String(nameOrAdapter)).toLowerCase()];
|
|
4281
|
-
if (void 0 === adapter) throw new
|
|
4322
|
+
if (void 0 === adapter) throw new core_AxiosError(`Unknown adapter '${id}'`);
|
|
4282
4323
|
}
|
|
4283
4324
|
if (adapter) break;
|
|
4284
4325
|
rejectedReasons[id || '#' + i] = adapter;
|
|
@@ -4286,7 +4327,7 @@ const adapters_adapters = {
|
|
|
4286
4327
|
if (!adapter) {
|
|
4287
4328
|
const reasons = Object.entries(rejectedReasons).map(([id, state])=>`adapter ${id} ` + (false === state ? 'is not supported by the environment' : 'is not available in the build'));
|
|
4288
4329
|
let s = length ? reasons.length > 1 ? 'since :\n' + reasons.map(renderReason).join('\n') : ' ' + renderReason(reasons[0]) : 'as no adapter specified';
|
|
4289
|
-
throw new
|
|
4330
|
+
throw new core_AxiosError("There is no suitable adapter to dispatch the request " + s, 'ERR_NOT_SUPPORT');
|
|
4290
4331
|
}
|
|
4291
4332
|
return adapter;
|
|
4292
4333
|
},
|
|
@@ -4341,7 +4382,7 @@ validators.transitional = function(validator, version, message) {
|
|
|
4341
4382
|
return "[Axios v1.11.0] Transitional option '" + opt + '\'' + desc + (message ? '. ' + message : '');
|
|
4342
4383
|
}
|
|
4343
4384
|
return (value, opt, opts)=>{
|
|
4344
|
-
if (false === validator) throw new
|
|
4385
|
+
if (false === validator) throw new core_AxiosError(formatMessage(opt, ' has been removed' + (version ? ' in ' + version : '')), core_AxiosError.ERR_DEPRECATED);
|
|
4345
4386
|
if (version && !deprecatedWarnings[opt]) {
|
|
4346
4387
|
deprecatedWarnings[opt] = true;
|
|
4347
4388
|
console.warn(formatMessage(opt, ' has been deprecated since v' + version + ' and will be removed in the near future'));
|
|
@@ -4356,7 +4397,7 @@ validators.spelling = function(correctSpelling) {
|
|
|
4356
4397
|
};
|
|
4357
4398
|
};
|
|
4358
4399
|
function assertOptions(options, schema, allowUnknown) {
|
|
4359
|
-
if ('object' != typeof options) throw new
|
|
4400
|
+
if ('object' != typeof options) throw new core_AxiosError('options must be an object', core_AxiosError.ERR_BAD_OPTION_VALUE);
|
|
4360
4401
|
const keys = Object.keys(options);
|
|
4361
4402
|
let i = keys.length;
|
|
4362
4403
|
while(i-- > 0){
|
|
@@ -4365,10 +4406,10 @@ function assertOptions(options, schema, allowUnknown) {
|
|
|
4365
4406
|
if (validator) {
|
|
4366
4407
|
const value = options[opt];
|
|
4367
4408
|
const result = void 0 === value || validator(value, opt, options);
|
|
4368
|
-
if (true !== result) throw new
|
|
4409
|
+
if (true !== result) throw new core_AxiosError('option ' + opt + ' must be ' + result, core_AxiosError.ERR_BAD_OPTION_VALUE);
|
|
4369
4410
|
continue;
|
|
4370
4411
|
}
|
|
4371
|
-
if (true !== allowUnknown) throw new
|
|
4412
|
+
if (true !== allowUnknown) throw new core_AxiosError('Unknown option ' + opt, core_AxiosError.ERR_BAD_OPTION);
|
|
4372
4413
|
}
|
|
4373
4414
|
}
|
|
4374
4415
|
const helpers_validator = {
|
|
@@ -4696,7 +4737,7 @@ axios.CancelToken = CancelToken;
|
|
|
4696
4737
|
axios.isCancel = isCancel;
|
|
4697
4738
|
axios.VERSION = "1.11.0";
|
|
4698
4739
|
axios.toFormData = helpers_toFormData;
|
|
4699
|
-
axios.AxiosError =
|
|
4740
|
+
axios.AxiosError = core_AxiosError;
|
|
4700
4741
|
axios.Cancel = axios.CanceledError;
|
|
4701
4742
|
axios.all = function(promises) {
|
|
4702
4743
|
return Promise.all(promises);
|
|
@@ -4850,5 +4891,5 @@ const getPropertyName = (property, options)=>{
|
|
|
4850
4891
|
};
|
|
4851
4892
|
var __webpack_exports__DEFAULT_PAGE = 1;
|
|
4852
4893
|
var __webpack_exports__DEFAULT_PAGE_SIZE = 500;
|
|
4853
|
-
var __webpack_exports__PACKAGE_VERSION = "0.0.
|
|
4854
|
-
export { ASSIGN_UNKNOWN_TO_CUSTOMER, account_period_constant_AccountPeriodStatus as AccountPeriodStatus, account_type_constant_AccountType as AccountType, common_status_constant_AccountingCommonStatus as AccountingCommonStatus, AccountingCommonSyncStatus, AmmoZeptoBankAccounts, AmmoZeptoClient, CmaPayoutTransactionType, CmaReceiptTransactionType, CmaStatus, cma_input_type_constant_CmaTransactionCreateType as CmaTransactionCreateType, CmaTransactionCreateTypeToDisplayText, cma_input_type_constant_CmaTransactionInputType as CmaTransactionInputType, CmaTransactionInputTypeToDisplayText, cma_payment_method_constant_CmaTransactionPaymentMethod as CmaTransactionPaymentMethod, 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, mta_MtaStatus as MtaStatus, MtaTransactionExtendedStatus, MtaTransactionExtendedStatusToDisplayTextMapper, mta_input_type_constant_MtaTransactionInputType as MtaTransactionInputType, MtaTransactionInputTypeToDisplayText, mta_payment_method_constant_MtaTransactionPaymentMethod as MtaTransactionPaymentMethod, MtaTransactionStatus, MtaTransactionStatusToDisplayTextMapper, MtaTransactionType, MtaTransactionTypeToDisplayTextMapper, MtaUnknownTransactionType, payment_method_constant_PaymentMethod as PaymentMethod, PayoutBankFileStatus, payout_constant_PayoutSourceAccountType as PayoutSourceAccountType, PayoutStatus, payout_constant_PayoutTargetAccountType as PayoutTargetAccountType, PayoutType, ProjectApplyStatusRestRes, ProjectMtaAllocationStatus, PropertyInitialDepositStatus, PropertyInitialDepositStatusToDisplayTextMapper, property_status_constant_PropertyRestResStatus as PropertyRestResStatus, PropertyStage, PropertyStatusToDisplayTextMapper, QueryMode, reconcile_transaction_action_constant_ReconcileTransactionAction as ReconcileTransactionAction, reconciliation_constant_ReconciliationStatus as ReconciliationStatus, report_data_range_type_constant_ReportDataRangeType as ReportDataRangeType, report_group_type_constant_ReportGroupType as ReportGroupType, sort_order_constant_SortOrder as SortOrder, StringFilterBaseSchema, TRANSACTION_CANCEL, accountBsbFormattedSchema, accountBsbMaskedSchema, accountBsbValidationSchema, accountNumberMaskedSchema, accountNumberValidationSchema, allocateMtaToProjectRestReqSchema, approveMtaAllocationRestReqSchema, assignUnknownReceiptToPropertyRestReqSchema, balanceRestResSchema, bankCodeSchema, bankReconciliationSummaryRestReqSchema, bigIntFilterSchema, bigIntNullableFilterSchema, bigIntNullableObjectFilterSchema, bigIntObjectFilterSchema, bigIntSimpleFilterSchema, boolFilterBaseSchema, boolFilterSchema, cancelCmaTransactionRestReqSchema, cancelMtaTransactionRestReqSchema, cancelPayoutPaymentRestReqSchema, cancelPayoutRestReqSchema, centsToDollarsSchema, cmaAccountPeriodCloseRestReqSchema, cmaAccountPeriodClosingSummaryRestReqSchema, cmaAccountPeriodClosingSummaryRestResSchema, cmaAccountPeriodEntitySchema, cmaAccountPeriodRestResBaseSchema, cmaAccountPeriodRestResSchema, cmaClosedAccountPeriodRestResSchema, cmaEntitySchema, cmaReconciledTransactionEntitySchema, cmaReconciledTransactionRestResSchema, cmaReconciliationEntitySchema, cmaReconciliationRestResSchema, cmaRestResBaseSchema, cmaRestResSchema, cmaSearchRestReqSchema, cmaSettlementPayoutRestResSchema, cmaTransactionEntitySchema, cmaTransactionRestResBaseSchema, cmaTransactionRestResSchema, cmaTransactionSearchRestReqSchema, commonPayoutSourceDetailEntitySchema, commonPayoutTargetDetailEntitySchema, commonReportRestReqSchema, commonReportWithCmaSelectionRestReqSchema, commonUpdatePayoutRestReqSchema, commonUpdatePayoutTargetDetailRestReqSchema, confirmPayoutBankFileProcessedRestReqSchema, createCmaReconciliationRestReqSchema, createCmaRestReqSchema, createCmaTransactionRestReqSchema, createMenuRestReqSchema, createMtaReconciliationRestReqSchema, createMtaRestReqSchema, createMtaToCmaPayoutRestReqSchema, createMtaTransactionRestReqSchema, createSettlementPayoutRestReqSchema, createSettlementPayoutSourceAccountSchema, createSettlementPayoutTargetAccountSchema, createUnknownPayoutRestReqSchema, customerEntitySchema, customerLedgerRestReqSchema, 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, 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, paginatedResSchema, paginationReqSchema, parseToDate, parseToDayjs, paymentListReportRestReqSchema, paymentProviderEntitySchema, payoutBankFileDownloadHistoryEntitySchema, payoutBankFileEntitySchema, payoutBankFileRestResSchema, payoutEntitySchema, payoutProvisionDataEntitySchema, payoutRestResBaseSchema, payoutRestResSchema, payoutSearchRestReqSchema, payoutStatusSummaryRestResSchema, payoutTransactionEntitySchema, payoutTransactionRestResSchema, payoutTransactionSearchRestReqSchema, payoutUpdateRestReqSchema, projectEntitySchema, projectLedgerRestReqSchema, projectMtaAllocationEntitySchema, projectMtaAllocationRestResSchema, projectNestedEntitySchema, projectRestResSchema, propertyAccountsBalanceRestResSchema, propertyEntitySchema, propertyNestedEntitySchema, propertyRestResBaseSchema, propertyRestResSchema, propertySearchRestReqSchema, queryModeSchema, receiptListReportRestReqSchema, reconcileCmaTransactionRestReqSchema, reconcileMtaTransactionRestReqSchema, reconciledItemsListReportRestReqSchema, safeParseDateFromStr, settlementPayoutPaymentEntitySchema, settlementPayoutProvisionDataEntitySchema, settlementPayoutRestResSchema, settlementPayoutSourceDetailEntitySchema, settlementPayoutTargetDetailEntitySchema, simpleStringFilterSchema, sortReqSchema, stateCodeSchema, statusFilterSchema, statusNullableFilterSchema, stringFilterSchema, stringNullableFilterSchema, stringToBoolSchema, stringToDateSchema, stringToEndOfDaySchema, stringToStartOfDaySchema, trustTrialBalanceReportRestReqSchema, unknownPayoutPaymentEntitySchema, unknownPayoutProvisionDataEntitySchema, unknownPayoutRestResSchema, unknownPayoutSourceDetailEntitySchema, unknownPayoutTargetDetailEntitySchema, unknownReceiptLedgerRestReqSchema, unreconciledItemsListReportRestReqSchema, updateCmaOpenReconciliationCurrentBankStatementBalanceRestReqSchema, updateCmaSettlementPayoutRestReqSchema, updateMenuRestReqSchema, updateMtaRestReqSchema, updateMtaSettlementPayoutRestReqSchema, updateMtaToCmaPayoutRestReqSchema, updateOpenReconciliationCurrentBankStatementBalanceRestReqSchema, updateSettlementPayoutRestReqSchema, updateUnknownPayoutRestReqSchema, updateUnknownPayoutTargetDetailRestReqSchema, userEntitySchema, userRestResSchema, validateGetPropertyNameFormat, __webpack_exports__DEFAULT_PAGE as DEFAULT_PAGE, __webpack_exports__DEFAULT_PAGE_SIZE as DEFAULT_PAGE_SIZE, __webpack_exports__PACKAGE_VERSION as PACKAGE_VERSION };
|
|
4894
|
+
var __webpack_exports__PACKAGE_VERSION = "0.0.20";
|
|
4895
|
+
export { ASSIGN_UNKNOWN_TO_CUSTOMER, account_period_constant_AccountPeriodStatus as AccountPeriodStatus, account_type_constant_AccountType as AccountType, common_status_constant_AccountingCommonStatus as AccountingCommonStatus, AccountingCommonSyncStatus, AmmoZeptoBankAccounts, AmmoZeptoClient, CmaPayoutTransactionType, CmaReceiptTransactionType, CmaStatus, cma_input_type_constant_CmaTransactionCreateType as CmaTransactionCreateType, CmaTransactionCreateTypeToDisplayText, cma_input_type_constant_CmaTransactionInputType as CmaTransactionInputType, CmaTransactionInputTypeToDisplayText, cma_payment_method_constant_CmaTransactionPaymentMethod as CmaTransactionPaymentMethod, 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, mta_MtaStatus as MtaStatus, MtaTransactionExtendedStatus, MtaTransactionExtendedStatusToDisplayTextMapper, mta_input_type_constant_MtaTransactionInputType as MtaTransactionInputType, MtaTransactionInputTypeToDisplayText, mta_payment_method_constant_MtaTransactionPaymentMethod as MtaTransactionPaymentMethod, MtaTransactionStatus, MtaTransactionStatusToDisplayTextMapper, MtaTransactionType, MtaTransactionTypeToDisplayTextMapper, MtaUnknownTransactionType, payment_method_constant_PaymentMethod as PaymentMethod, PayoutBankFileStatus, payout_constant_PayoutSourceAccountType as PayoutSourceAccountType, PayoutStatus, payout_constant_PayoutTargetAccountType as PayoutTargetAccountType, PayoutType, ProjectApplyStatusRestRes, ProjectMtaAllocationStatus, PropertyInitialDepositStatus, PropertyInitialDepositStatusToDisplayTextMapper, property_status_constant_PropertyRestResStatus as PropertyRestResStatus, PropertyStage, PropertyStatusToDisplayTextMapper, QueryMode, reconcile_transaction_action_constant_ReconcileTransactionAction as ReconcileTransactionAction, reconciliation_constant_ReconciliationStatus as ReconciliationStatus, report_data_range_type_constant_ReportDataRangeType as ReportDataRangeType, report_group_type_constant_ReportGroupType as ReportGroupType, sort_order_constant_SortOrder as SortOrder, StringFilterBaseSchema, TRANSACTION_CANCEL, accountBsbFormattedSchema, accountBsbMaskedSchema, accountBsbValidationSchema, accountNumberMaskedSchema, accountNumberValidationSchema, allocateMtaToProjectRestReqSchema, approveMtaAllocationRestReqSchema, assignUnknownReceiptToPropertyRestReqSchema, balanceRestResSchema, bankCodeSchema, bankReconciliationSummaryRestReqSchema, bigIntFilterSchema, bigIntNullableFilterSchema, bigIntNullableObjectFilterSchema, bigIntObjectFilterSchema, bigIntSimpleFilterSchema, boolFilterBaseSchema, boolFilterSchema, cancelCmaTransactionRestReqSchema, cancelMtaTransactionRestReqSchema, cancelPayoutPaymentRestReqSchema, cancelPayoutRestReqSchema, centsToDollarsSchema, cmaAccountPeriodCloseRestReqSchema, cmaAccountPeriodClosingSummaryRestReqSchema, cmaAccountPeriodClosingSummaryRestResSchema, cmaAccountPeriodEntitySchema, cmaAccountPeriodRestResBaseSchema, cmaAccountPeriodRestResSchema, cmaClosedAccountPeriodRestResSchema, cmaEntitySchema, cmaReconciledTransactionEntitySchema, cmaReconciledTransactionRestResSchema, cmaReconciliationEntitySchema, cmaReconciliationRestResSchema, cmaRestResBaseSchema, cmaRestResSchema, cmaSearchRestReqSchema, cmaSettlementPayoutRestResSchema, cmaTransactionEntitySchema, cmaTransactionRestResBaseSchema, cmaTransactionRestResSchema, cmaTransactionSearchRestReqSchema, commonPayoutSourceDetailEntitySchema, commonPayoutTargetDetailEntitySchema, commonReportRestReqSchema, commonReportWithCmaSelectionRestReqSchema, commonUpdatePayoutRestReqSchema, commonUpdatePayoutTargetDetailRestReqSchema, confirmPayoutBankFileProcessedRestReqSchema, createCmaReconciliationRestReqSchema, createCmaRestReqSchema, createCmaTransactionRestReqSchema, createMenuRestReqSchema, createMtaReconciliationRestReqSchema, createMtaRestReqSchema, createMtaToCmaPayoutRestReqSchema, createMtaTransactionRestReqSchema, createSettlementPayoutRestReqSchema, createSettlementPayoutSourceAccountSchema, createSettlementPayoutTargetAccountSchema, createUnknownPayoutRestReqSchema, customerEntitySchema, customerLedgerRestReqSchema, 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, 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, paginatedResSchema, paginationReqSchema, parseToDate, parseToDayjs, paymentListReportRestReqSchema, paymentProviderEntitySchema, payoutBankFileDownloadHistoryEntitySchema, payoutBankFileEntitySchema, payoutBankFileRestResSchema, payoutEntitySchema, payoutProvisionDataEntitySchema, payoutRestResBaseSchema, payoutRestResSchema, payoutSearchRestReqSchema, payoutStatusSummaryRestResSchema, payoutTransactionEntitySchema, payoutTransactionRestResSchema, payoutTransactionSearchRestReqSchema, payoutUpdateRestReqSchema, projectEntitySchema, projectLedgerRestReqSchema, projectMtaAllocationEntitySchema, projectMtaAllocationRestResSchema, projectNestedEntitySchema, projectRestResSchema, projectSearchRestReqSchema, propertyAccountsBalanceRestResSchema, propertyEntitySchema, propertyNestedEntitySchema, propertyRestResBaseSchema, propertyRestResSchema, propertySearchRestReqSchema, queryModeSchema, receiptListReportRestReqSchema, reconcileCmaTransactionRestReqSchema, reconcileMtaTransactionRestReqSchema, reconciledItemsListReportRestReqSchema, safeParseDateFromStr, settlementPayoutPaymentEntitySchema, settlementPayoutProvisionDataEntitySchema, settlementPayoutRestResSchema, settlementPayoutSourceDetailEntitySchema, settlementPayoutTargetDetailEntitySchema, simpleStringFilterSchema, sortReqSchema, stateCodeSchema, statusFilterSchema, statusNullableFilterSchema, stringFilterSchema, stringNullableFilterSchema, stringToBoolSchema, stringToDateSchema, stringToEndOfDaySchema, stringToStartOfDaySchema, trustTrialBalanceReportRestReqSchema, unknownPayoutPaymentEntitySchema, unknownPayoutProvisionDataEntitySchema, unknownPayoutRestResSchema, unknownPayoutSourceDetailEntitySchema, unknownPayoutTargetDetailEntitySchema, unknownReceiptLedgerRestReqSchema, unreconciledItemsListReportRestReqSchema, updateCmaOpenReconciliationCurrentBankStatementBalanceRestReqSchema, updateCmaSettlementPayoutRestReqSchema, updateMenuRestReqSchema, updateMtaRestReqSchema, updateMtaSettlementPayoutRestReqSchema, updateMtaToCmaPayoutRestReqSchema, updateMtaTransactionRestReqSchema, updateOpenReconciliationCurrentBankStatementBalanceRestReqSchema, updateSettlementPayoutRestReqSchema, updateUnknownPayoutRestReqSchema, updateUnknownPayoutTargetDetailRestReqSchema, userEntitySchema, userRestResSchema, validateGetPropertyNameFormat, __webpack_exports__DEFAULT_PAGE as DEFAULT_PAGE, __webpack_exports__DEFAULT_PAGE_SIZE as DEFAULT_PAGE_SIZE, __webpack_exports__PACKAGE_VERSION as PACKAGE_VERSION };
|
|
@@ -244,7 +244,7 @@ export declare const cmaSearchRestReqSchema: z.ZodObject<{
|
|
|
244
244
|
}, z.core.$strip>>, z.ZodCoercedBigInt<string | number | bigint>]>>;
|
|
245
245
|
property: z.ZodOptional<z.ZodLazy<z.ZodObject<{
|
|
246
246
|
sort: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodEnum<typeof import("../..").SortOrder>>>>;
|
|
247
|
-
page: z.ZodOptional<z.ZodPipe<z.
|
|
247
|
+
page: z.ZodOptional<z.ZodPipe<z.ZodCoercedNumber<string | number>, z.ZodInt>>;
|
|
248
248
|
pageSize: z.ZodOptional<z.ZodPipe<z.ZodCoercedNumber<string | number>, z.ZodInt>>;
|
|
249
249
|
id: z.ZodOptional<z.ZodUnion<readonly [z.ZodLazy<z.ZodObject<{
|
|
250
250
|
equals: z.ZodOptional<z.ZodString>;
|
|
@@ -600,6 +600,207 @@ export declare const cmaSearchRestReqSchema: z.ZodObject<{
|
|
|
600
600
|
endsWith?: string | undefined;
|
|
601
601
|
} | undefined;
|
|
602
602
|
}>>>>;
|
|
603
|
+
project: z.ZodOptional<z.ZodObject<{
|
|
604
|
+
sort: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodEnum<typeof import("../..").SortOrder>>>>;
|
|
605
|
+
page: z.ZodOptional<z.ZodPipe<z.ZodCoercedNumber<string | number>, z.ZodInt>>;
|
|
606
|
+
pageSize: z.ZodOptional<z.ZodPipe<z.ZodCoercedNumber<string | number>, z.ZodInt>>;
|
|
607
|
+
id: z.ZodOptional<z.ZodUnion<readonly [z.ZodLazy<z.ZodObject<{
|
|
608
|
+
equals: z.ZodOptional<z.ZodString>;
|
|
609
|
+
in: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
610
|
+
notIn: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
611
|
+
lt: z.ZodOptional<z.ZodString>;
|
|
612
|
+
lte: z.ZodOptional<z.ZodString>;
|
|
613
|
+
gt: z.ZodOptional<z.ZodString>;
|
|
614
|
+
gte: z.ZodOptional<z.ZodString>;
|
|
615
|
+
contains: z.ZodOptional<z.ZodString>;
|
|
616
|
+
startsWith: z.ZodOptional<z.ZodString>;
|
|
617
|
+
endsWith: z.ZodOptional<z.ZodString>;
|
|
618
|
+
mode: z.ZodOptional<z.ZodLazy<z.ZodEnum<{
|
|
619
|
+
readonly DEFAULT: "default";
|
|
620
|
+
readonly INSENSITIVE: "insensitive";
|
|
621
|
+
}>>>;
|
|
622
|
+
not: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodLazy<z.ZodObject<{
|
|
623
|
+
equals: z.ZodOptional<z.ZodString>;
|
|
624
|
+
in: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
625
|
+
notIn: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
626
|
+
lt: z.ZodOptional<z.ZodString>;
|
|
627
|
+
lte: z.ZodOptional<z.ZodString>;
|
|
628
|
+
gt: z.ZodOptional<z.ZodString>;
|
|
629
|
+
gte: z.ZodOptional<z.ZodString>;
|
|
630
|
+
contains: z.ZodOptional<z.ZodString>;
|
|
631
|
+
startsWith: z.ZodOptional<z.ZodString>;
|
|
632
|
+
endsWith: z.ZodOptional<z.ZodString>;
|
|
633
|
+
}, z.core.$strict>>]>>;
|
|
634
|
+
}, z.core.$strict>>, z.ZodString]>>;
|
|
635
|
+
name: z.ZodOptional<z.ZodUnion<readonly [z.ZodLazy<z.ZodObject<{
|
|
636
|
+
equals: z.ZodOptional<z.ZodString>;
|
|
637
|
+
in: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
638
|
+
notIn: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
639
|
+
lt: z.ZodOptional<z.ZodString>;
|
|
640
|
+
lte: z.ZodOptional<z.ZodString>;
|
|
641
|
+
gt: z.ZodOptional<z.ZodString>;
|
|
642
|
+
gte: z.ZodOptional<z.ZodString>;
|
|
643
|
+
contains: z.ZodOptional<z.ZodString>;
|
|
644
|
+
startsWith: z.ZodOptional<z.ZodString>;
|
|
645
|
+
endsWith: z.ZodOptional<z.ZodString>;
|
|
646
|
+
mode: z.ZodOptional<z.ZodLazy<z.ZodEnum<{
|
|
647
|
+
readonly DEFAULT: "default";
|
|
648
|
+
readonly INSENSITIVE: "insensitive";
|
|
649
|
+
}>>>;
|
|
650
|
+
not: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodLazy<z.ZodObject<{
|
|
651
|
+
equals: z.ZodOptional<z.ZodString>;
|
|
652
|
+
in: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
653
|
+
notIn: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
654
|
+
lt: z.ZodOptional<z.ZodString>;
|
|
655
|
+
lte: z.ZodOptional<z.ZodString>;
|
|
656
|
+
gt: z.ZodOptional<z.ZodString>;
|
|
657
|
+
gte: z.ZodOptional<z.ZodString>;
|
|
658
|
+
contains: z.ZodOptional<z.ZodString>;
|
|
659
|
+
startsWith: z.ZodOptional<z.ZodString>;
|
|
660
|
+
endsWith: z.ZodOptional<z.ZodString>;
|
|
661
|
+
}, z.core.$strict>>]>>;
|
|
662
|
+
}, z.core.$strict>>, z.ZodString]>>;
|
|
663
|
+
developerId: z.ZodOptional<z.ZodUnion<readonly [z.ZodLazy<z.ZodObject<{
|
|
664
|
+
equals: z.ZodOptional<z.ZodString>;
|
|
665
|
+
in: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
666
|
+
notIn: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
667
|
+
lt: z.ZodOptional<z.ZodString>;
|
|
668
|
+
lte: z.ZodOptional<z.ZodString>;
|
|
669
|
+
gt: z.ZodOptional<z.ZodString>;
|
|
670
|
+
gte: z.ZodOptional<z.ZodString>;
|
|
671
|
+
contains: z.ZodOptional<z.ZodString>;
|
|
672
|
+
startsWith: z.ZodOptional<z.ZodString>;
|
|
673
|
+
endsWith: z.ZodOptional<z.ZodString>;
|
|
674
|
+
mode: z.ZodOptional<z.ZodLazy<z.ZodEnum<{
|
|
675
|
+
readonly DEFAULT: "default";
|
|
676
|
+
readonly INSENSITIVE: "insensitive";
|
|
677
|
+
}>>>;
|
|
678
|
+
not: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodLazy<z.ZodObject<{
|
|
679
|
+
equals: z.ZodOptional<z.ZodString>;
|
|
680
|
+
in: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
681
|
+
notIn: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
682
|
+
lt: z.ZodOptional<z.ZodString>;
|
|
683
|
+
lte: z.ZodOptional<z.ZodString>;
|
|
684
|
+
gt: z.ZodOptional<z.ZodString>;
|
|
685
|
+
gte: z.ZodOptional<z.ZodString>;
|
|
686
|
+
contains: z.ZodOptional<z.ZodString>;
|
|
687
|
+
startsWith: z.ZodOptional<z.ZodString>;
|
|
688
|
+
endsWith: z.ZodOptional<z.ZodString>;
|
|
689
|
+
}, z.core.$strict>>]>>;
|
|
690
|
+
}, z.core.$strict>>, z.ZodString]>>;
|
|
691
|
+
mtaId: z.ZodOptional<z.ZodUnion<readonly [z.ZodLazy<z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
692
|
+
equals: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
693
|
+
not: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull, z.ZodLazy<z.ZodObject<{
|
|
694
|
+
equals: z.ZodOptional<z.ZodString>;
|
|
695
|
+
in: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
696
|
+
notIn: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
697
|
+
lt: z.ZodOptional<z.ZodString>;
|
|
698
|
+
lte: z.ZodOptional<z.ZodString>;
|
|
699
|
+
gt: z.ZodOptional<z.ZodString>;
|
|
700
|
+
gte: z.ZodOptional<z.ZodString>;
|
|
701
|
+
contains: z.ZodOptional<z.ZodString>;
|
|
702
|
+
startsWith: z.ZodOptional<z.ZodString>;
|
|
703
|
+
endsWith: z.ZodOptional<z.ZodString>;
|
|
704
|
+
}, z.core.$strict>>]>>;
|
|
705
|
+
in: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
706
|
+
notIn: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
707
|
+
lt: z.ZodOptional<z.ZodString>;
|
|
708
|
+
lte: z.ZodOptional<z.ZodString>;
|
|
709
|
+
gt: z.ZodOptional<z.ZodString>;
|
|
710
|
+
gte: z.ZodOptional<z.ZodString>;
|
|
711
|
+
contains: z.ZodOptional<z.ZodString>;
|
|
712
|
+
startsWith: z.ZodOptional<z.ZodString>;
|
|
713
|
+
endsWith: z.ZodOptional<z.ZodString>;
|
|
714
|
+
mode: z.ZodOptional<z.ZodLazy<z.ZodEnum<{
|
|
715
|
+
readonly DEFAULT: "default";
|
|
716
|
+
readonly INSENSITIVE: "insensitive";
|
|
717
|
+
}>>>;
|
|
718
|
+
}, z.core.$strict>>>>, z.ZodString]>>;
|
|
719
|
+
state: z.ZodOptional<z.ZodUnion<readonly [z.ZodLazy<z.ZodObject<{
|
|
720
|
+
equals: z.ZodOptional<z.ZodString>;
|
|
721
|
+
in: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
722
|
+
notIn: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
723
|
+
lt: z.ZodOptional<z.ZodString>;
|
|
724
|
+
lte: z.ZodOptional<z.ZodString>;
|
|
725
|
+
gt: z.ZodOptional<z.ZodString>;
|
|
726
|
+
gte: z.ZodOptional<z.ZodString>;
|
|
727
|
+
contains: z.ZodOptional<z.ZodString>;
|
|
728
|
+
startsWith: z.ZodOptional<z.ZodString>;
|
|
729
|
+
endsWith: z.ZodOptional<z.ZodString>;
|
|
730
|
+
mode: z.ZodOptional<z.ZodLazy<z.ZodEnum<{
|
|
731
|
+
readonly DEFAULT: "default";
|
|
732
|
+
readonly INSENSITIVE: "insensitive";
|
|
733
|
+
}>>>;
|
|
734
|
+
not: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodLazy<z.ZodObject<{
|
|
735
|
+
equals: z.ZodOptional<z.ZodString>;
|
|
736
|
+
in: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
737
|
+
notIn: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
738
|
+
lt: z.ZodOptional<z.ZodString>;
|
|
739
|
+
lte: z.ZodOptional<z.ZodString>;
|
|
740
|
+
gt: z.ZodOptional<z.ZodString>;
|
|
741
|
+
gte: z.ZodOptional<z.ZodString>;
|
|
742
|
+
contains: z.ZodOptional<z.ZodString>;
|
|
743
|
+
startsWith: z.ZodOptional<z.ZodString>;
|
|
744
|
+
endsWith: z.ZodOptional<z.ZodString>;
|
|
745
|
+
}, z.core.$strict>>]>>;
|
|
746
|
+
}, z.core.$strict>>, z.ZodString]>>;
|
|
747
|
+
type: z.ZodOptional<z.ZodUnion<readonly [z.ZodLazy<z.ZodObject<{
|
|
748
|
+
equals: z.ZodOptional<z.ZodString>;
|
|
749
|
+
in: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
750
|
+
notIn: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
751
|
+
lt: z.ZodOptional<z.ZodString>;
|
|
752
|
+
lte: z.ZodOptional<z.ZodString>;
|
|
753
|
+
gt: z.ZodOptional<z.ZodString>;
|
|
754
|
+
gte: z.ZodOptional<z.ZodString>;
|
|
755
|
+
contains: z.ZodOptional<z.ZodString>;
|
|
756
|
+
startsWith: z.ZodOptional<z.ZodString>;
|
|
757
|
+
endsWith: z.ZodOptional<z.ZodString>;
|
|
758
|
+
mode: z.ZodOptional<z.ZodLazy<z.ZodEnum<{
|
|
759
|
+
readonly DEFAULT: "default";
|
|
760
|
+
readonly INSENSITIVE: "insensitive";
|
|
761
|
+
}>>>;
|
|
762
|
+
not: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodLazy<z.ZodObject<{
|
|
763
|
+
equals: z.ZodOptional<z.ZodString>;
|
|
764
|
+
in: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
765
|
+
notIn: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
766
|
+
lt: z.ZodOptional<z.ZodString>;
|
|
767
|
+
lte: z.ZodOptional<z.ZodString>;
|
|
768
|
+
gt: z.ZodOptional<z.ZodString>;
|
|
769
|
+
gte: z.ZodOptional<z.ZodString>;
|
|
770
|
+
contains: z.ZodOptional<z.ZodString>;
|
|
771
|
+
startsWith: z.ZodOptional<z.ZodString>;
|
|
772
|
+
endsWith: z.ZodOptional<z.ZodString>;
|
|
773
|
+
}, z.core.$strict>>]>>;
|
|
774
|
+
}, z.core.$strict>>, z.ZodString]>>;
|
|
775
|
+
status: z.ZodOptional<z.ZodUnion<readonly [z.ZodLazy<z.ZodObject<{
|
|
776
|
+
equals: z.ZodOptional<z.ZodString>;
|
|
777
|
+
in: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
778
|
+
notIn: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
779
|
+
lt: z.ZodOptional<z.ZodString>;
|
|
780
|
+
lte: z.ZodOptional<z.ZodString>;
|
|
781
|
+
gt: z.ZodOptional<z.ZodString>;
|
|
782
|
+
gte: z.ZodOptional<z.ZodString>;
|
|
783
|
+
contains: z.ZodOptional<z.ZodString>;
|
|
784
|
+
startsWith: z.ZodOptional<z.ZodString>;
|
|
785
|
+
endsWith: z.ZodOptional<z.ZodString>;
|
|
786
|
+
mode: z.ZodOptional<z.ZodLazy<z.ZodEnum<{
|
|
787
|
+
readonly DEFAULT: "default";
|
|
788
|
+
readonly INSENSITIVE: "insensitive";
|
|
789
|
+
}>>>;
|
|
790
|
+
not: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodLazy<z.ZodObject<{
|
|
791
|
+
equals: z.ZodOptional<z.ZodString>;
|
|
792
|
+
in: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
793
|
+
notIn: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
794
|
+
lt: z.ZodOptional<z.ZodString>;
|
|
795
|
+
lte: z.ZodOptional<z.ZodString>;
|
|
796
|
+
gt: z.ZodOptional<z.ZodString>;
|
|
797
|
+
gte: z.ZodOptional<z.ZodString>;
|
|
798
|
+
contains: z.ZodOptional<z.ZodString>;
|
|
799
|
+
startsWith: z.ZodOptional<z.ZodString>;
|
|
800
|
+
endsWith: z.ZodOptional<z.ZodString>;
|
|
801
|
+
}, z.core.$strict>>]>>;
|
|
802
|
+
}, z.core.$strict>>, z.ZodString]>>;
|
|
803
|
+
}, z.core.$strip>>;
|
|
603
804
|
cmaId: z.ZodOptional<z.ZodUnion<readonly [z.ZodLazy<z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
604
805
|
equals: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
605
806
|
not: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull, z.ZodLazy<z.ZodObject<{
|
|
@@ -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;AAKxB,eAAO,MAAM,sBAAsB
|
|
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;AAKxB,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAWjC,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"}
|