@socotra/ec-react-schemas 2.26.1-next.4 → 2.26.1-next.6
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/index.d.ts +229 -15
- package/dist/index.es.js +3622 -3418
- package/dist/index.es.js.map +1 -1
- package/dist/index.umd.js +5 -5
- package/dist/index.umd.js.map +1 -1
- package/package.json +2 -2
package/dist/index.d.ts
CHANGED
|
@@ -460,8 +460,8 @@ export declare const AddTaskRequestBffSchema: z.ZodObject<{
|
|
|
460
460
|
contents: z.ZodString;
|
|
461
461
|
}, z.core.$strip>>;
|
|
462
462
|
userAssignment: z.ZodOptional<z.ZodObject<{
|
|
463
|
-
userLocator: z.ZodGUID;
|
|
464
463
|
userAssociationRole: z.ZodString;
|
|
464
|
+
userLocator: z.ZodGUID;
|
|
465
465
|
}, z.core.$strip>>;
|
|
466
466
|
deadlineTime: z.ZodISODateTime;
|
|
467
467
|
references: z.ZodArray<z.ZodObject<{
|
|
@@ -1634,25 +1634,25 @@ export declare type ConsolidatedDocumentRefRecord = z.infer<typeof ConsolidatedD
|
|
|
1634
1634
|
export declare const ConsolidatedDocumentRefRecordSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
1635
1635
|
displayName: z.ZodOptional<z.ZodString>;
|
|
1636
1636
|
consolidatedDocuments: z.ZodArray<z.ZodString>;
|
|
1637
|
-
leadingDocumentTemplate: z.ZodString
|
|
1638
|
-
pageNumbering: z.ZodObject<{
|
|
1637
|
+
leadingDocumentTemplate: z.ZodOptional<z.ZodString>;
|
|
1638
|
+
pageNumbering: z.ZodOptional<z.ZodObject<{
|
|
1639
1639
|
enableNumbering: z.ZodBoolean;
|
|
1640
1640
|
leadingDocumentPages: z.ZodBoolean;
|
|
1641
1641
|
xPosition: z.ZodInt;
|
|
1642
1642
|
yPosition: z.ZodInt;
|
|
1643
|
-
}, z.core.$strip
|
|
1643
|
+
}, z.core.$strip>>;
|
|
1644
1644
|
}, z.core.$strip>>;
|
|
1645
1645
|
|
|
1646
1646
|
export declare const ConsolidatedDocumentRefSchema: z.ZodObject<{
|
|
1647
1647
|
displayName: z.ZodOptional<z.ZodString>;
|
|
1648
1648
|
consolidatedDocuments: z.ZodArray<z.ZodString>;
|
|
1649
|
-
leadingDocumentTemplate: z.ZodString
|
|
1650
|
-
pageNumbering: z.ZodObject<{
|
|
1649
|
+
leadingDocumentTemplate: z.ZodOptional<z.ZodString>;
|
|
1650
|
+
pageNumbering: z.ZodOptional<z.ZodObject<{
|
|
1651
1651
|
enableNumbering: z.ZodBoolean;
|
|
1652
1652
|
leadingDocumentPages: z.ZodBoolean;
|
|
1653
1653
|
xPosition: z.ZodInt;
|
|
1654
1654
|
yPosition: z.ZodInt;
|
|
1655
|
-
}, z.core.$strip
|
|
1655
|
+
}, z.core.$strip>>;
|
|
1656
1656
|
}, z.core.$strip>;
|
|
1657
1657
|
|
|
1658
1658
|
export declare type ConstraintConfig = z.infer<typeof constraintConfigSchema>;
|
|
@@ -3629,13 +3629,13 @@ export declare const dataModelSchema: z.ZodObject<{
|
|
|
3629
3629
|
consolidatedDocuments: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
3630
3630
|
displayName: z.ZodOptional<z.ZodString>;
|
|
3631
3631
|
consolidatedDocuments: z.ZodArray<z.ZodString>;
|
|
3632
|
-
leadingDocumentTemplate: z.ZodString
|
|
3633
|
-
pageNumbering: z.ZodObject<{
|
|
3632
|
+
leadingDocumentTemplate: z.ZodOptional<z.ZodString>;
|
|
3633
|
+
pageNumbering: z.ZodOptional<z.ZodObject<{
|
|
3634
3634
|
enableNumbering: z.ZodBoolean;
|
|
3635
3635
|
leadingDocumentPages: z.ZodBoolean;
|
|
3636
3636
|
xPosition: z.ZodInt;
|
|
3637
3637
|
yPosition: z.ZodInt;
|
|
3638
|
-
}, z.core.$strip
|
|
3638
|
+
}, z.core.$strip>>;
|
|
3639
3639
|
}, z.core.$strip>>>;
|
|
3640
3640
|
policyLines: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
3641
3641
|
displayName: z.ZodOptional<z.ZodString>;
|
|
@@ -4639,6 +4639,7 @@ export declare const DocumentInstanceResponseSchema: z.ZodObject<{
|
|
|
4639
4639
|
processingErrors: z.ZodOptional<z.ZodString>;
|
|
4640
4640
|
external: z.ZodBoolean;
|
|
4641
4641
|
category: z.ZodOptional<z.ZodString>;
|
|
4642
|
+
copyOnIssuance: z.ZodOptional<z.ZodBoolean>;
|
|
4642
4643
|
locator: z.ZodULID;
|
|
4643
4644
|
referenceLocator: z.ZodULID;
|
|
4644
4645
|
referenceType: z.ZodEnum<{
|
|
@@ -4730,6 +4731,7 @@ export declare const DocumentInstanceSchema: z.ZodObject<{
|
|
|
4730
4731
|
processingErrors: z.ZodOptional<z.ZodString>;
|
|
4731
4732
|
external: z.ZodBoolean;
|
|
4732
4733
|
category: z.ZodOptional<z.ZodString>;
|
|
4734
|
+
copyOnIssuance: z.ZodOptional<z.ZodBoolean>;
|
|
4733
4735
|
locator: z.ZodULID;
|
|
4734
4736
|
referenceLocator: z.ZodULID;
|
|
4735
4737
|
referenceType: z.ZodEnum<{
|
|
@@ -4797,6 +4799,7 @@ export declare const DocumentListResponseSchema: z.ZodObject<{
|
|
|
4797
4799
|
processingErrors: z.ZodOptional<z.ZodString>;
|
|
4798
4800
|
external: z.ZodBoolean;
|
|
4799
4801
|
category: z.ZodOptional<z.ZodString>;
|
|
4802
|
+
copyOnIssuance: z.ZodOptional<z.ZodBoolean>;
|
|
4800
4803
|
locator: z.ZodULID;
|
|
4801
4804
|
referenceLocator: z.ZodULID;
|
|
4802
4805
|
referenceType: z.ZodEnum<{
|
|
@@ -6176,11 +6179,222 @@ export declare const ledgerAccountReferenceTypeEnumSchema: z.ZodEnum<{
|
|
|
6176
6179
|
accountExpenseBalance: "accountExpenseBalance";
|
|
6177
6180
|
}>;
|
|
6178
6181
|
|
|
6179
|
-
export declare type LedgerAccountResponse = z.infer<typeof
|
|
6182
|
+
export declare type LedgerAccountResponse = z.infer<typeof LedgerAccountResponseSchema>;
|
|
6183
|
+
|
|
6184
|
+
declare const LedgerAccountResponseSchema: z.ZodObject<{
|
|
6185
|
+
currency: z.ZodOptional<z.ZodEnum<{
|
|
6186
|
+
AED: "AED";
|
|
6187
|
+
AFN: "AFN";
|
|
6188
|
+
ALL: "ALL";
|
|
6189
|
+
AMD: "AMD";
|
|
6190
|
+
ANG: "ANG";
|
|
6191
|
+
AOA: "AOA";
|
|
6192
|
+
ARS: "ARS";
|
|
6193
|
+
AUD: "AUD";
|
|
6194
|
+
AWG: "AWG";
|
|
6195
|
+
AZN: "AZN";
|
|
6196
|
+
BAM: "BAM";
|
|
6197
|
+
BBD: "BBD";
|
|
6198
|
+
BDT: "BDT";
|
|
6199
|
+
BGN: "BGN";
|
|
6200
|
+
BHD: "BHD";
|
|
6201
|
+
BIF: "BIF";
|
|
6202
|
+
BMD: "BMD";
|
|
6203
|
+
BND: "BND";
|
|
6204
|
+
BOB: "BOB";
|
|
6205
|
+
BOV: "BOV";
|
|
6206
|
+
BRL: "BRL";
|
|
6207
|
+
BSD: "BSD";
|
|
6208
|
+
BTN: "BTN";
|
|
6209
|
+
BWP: "BWP";
|
|
6210
|
+
BYN: "BYN";
|
|
6211
|
+
BZD: "BZD";
|
|
6212
|
+
CAD: "CAD";
|
|
6213
|
+
CDF: "CDF";
|
|
6214
|
+
CHE: "CHE";
|
|
6215
|
+
CHF: "CHF";
|
|
6216
|
+
CHW: "CHW";
|
|
6217
|
+
CLF: "CLF";
|
|
6218
|
+
CLP: "CLP";
|
|
6219
|
+
COP: "COP";
|
|
6220
|
+
COU: "COU";
|
|
6221
|
+
CRC: "CRC";
|
|
6222
|
+
CUP: "CUP";
|
|
6223
|
+
CVE: "CVE";
|
|
6224
|
+
CZK: "CZK";
|
|
6225
|
+
DJF: "DJF";
|
|
6226
|
+
DKK: "DKK";
|
|
6227
|
+
DOP: "DOP";
|
|
6228
|
+
DZD: "DZD";
|
|
6229
|
+
EGP: "EGP";
|
|
6230
|
+
ERN: "ERN";
|
|
6231
|
+
ETB: "ETB";
|
|
6232
|
+
EUR: "EUR";
|
|
6233
|
+
FJD: "FJD";
|
|
6234
|
+
FKP: "FKP";
|
|
6235
|
+
GBP: "GBP";
|
|
6236
|
+
GEL: "GEL";
|
|
6237
|
+
GHS: "GHS";
|
|
6238
|
+
GIP: "GIP";
|
|
6239
|
+
GMD: "GMD";
|
|
6240
|
+
GNF: "GNF";
|
|
6241
|
+
GTQ: "GTQ";
|
|
6242
|
+
GYD: "GYD";
|
|
6243
|
+
HKD: "HKD";
|
|
6244
|
+
HNL: "HNL";
|
|
6245
|
+
HTG: "HTG";
|
|
6246
|
+
HUF: "HUF";
|
|
6247
|
+
IDR: "IDR";
|
|
6248
|
+
ILS: "ILS";
|
|
6249
|
+
INR: "INR";
|
|
6250
|
+
IQD: "IQD";
|
|
6251
|
+
IRR: "IRR";
|
|
6252
|
+
ISK: "ISK";
|
|
6253
|
+
JMD: "JMD";
|
|
6254
|
+
JOD: "JOD";
|
|
6255
|
+
JPY: "JPY";
|
|
6256
|
+
KES: "KES";
|
|
6257
|
+
KGS: "KGS";
|
|
6258
|
+
KHR: "KHR";
|
|
6259
|
+
KMF: "KMF";
|
|
6260
|
+
KPW: "KPW";
|
|
6261
|
+
KRW: "KRW";
|
|
6262
|
+
KWD: "KWD";
|
|
6263
|
+
KYD: "KYD";
|
|
6264
|
+
KZT: "KZT";
|
|
6265
|
+
LAK: "LAK";
|
|
6266
|
+
LBP: "LBP";
|
|
6267
|
+
LKR: "LKR";
|
|
6268
|
+
LRD: "LRD";
|
|
6269
|
+
LSL: "LSL";
|
|
6270
|
+
LYD: "LYD";
|
|
6271
|
+
MAD: "MAD";
|
|
6272
|
+
MDL: "MDL";
|
|
6273
|
+
MGA: "MGA";
|
|
6274
|
+
MKD: "MKD";
|
|
6275
|
+
MMK: "MMK";
|
|
6276
|
+
MNT: "MNT";
|
|
6277
|
+
MOP: "MOP";
|
|
6278
|
+
MRU: "MRU";
|
|
6279
|
+
MUR: "MUR";
|
|
6280
|
+
MVR: "MVR";
|
|
6281
|
+
MWK: "MWK";
|
|
6282
|
+
MXN: "MXN";
|
|
6283
|
+
MXV: "MXV";
|
|
6284
|
+
MYR: "MYR";
|
|
6285
|
+
MZN: "MZN";
|
|
6286
|
+
NAD: "NAD";
|
|
6287
|
+
NGN: "NGN";
|
|
6288
|
+
NIO: "NIO";
|
|
6289
|
+
NOK: "NOK";
|
|
6290
|
+
NPR: "NPR";
|
|
6291
|
+
NZD: "NZD";
|
|
6292
|
+
OMR: "OMR";
|
|
6293
|
+
PAB: "PAB";
|
|
6294
|
+
PEN: "PEN";
|
|
6295
|
+
PGK: "PGK";
|
|
6296
|
+
PHP: "PHP";
|
|
6297
|
+
PKR: "PKR";
|
|
6298
|
+
PLN: "PLN";
|
|
6299
|
+
PYG: "PYG";
|
|
6300
|
+
QAR: "QAR";
|
|
6301
|
+
RON: "RON";
|
|
6302
|
+
RSD: "RSD";
|
|
6303
|
+
CNY: "CNY";
|
|
6304
|
+
RUB: "RUB";
|
|
6305
|
+
RWF: "RWF";
|
|
6306
|
+
SAR: "SAR";
|
|
6307
|
+
SBD: "SBD";
|
|
6308
|
+
SCR: "SCR";
|
|
6309
|
+
SDG: "SDG";
|
|
6310
|
+
SEK: "SEK";
|
|
6311
|
+
SGD: "SGD";
|
|
6312
|
+
SHP: "SHP";
|
|
6313
|
+
SLE: "SLE";
|
|
6314
|
+
SLL: "SLL";
|
|
6315
|
+
SOS: "SOS";
|
|
6316
|
+
SRD: "SRD";
|
|
6317
|
+
SSP: "SSP";
|
|
6318
|
+
STN: "STN";
|
|
6319
|
+
SVC: "SVC";
|
|
6320
|
+
SYP: "SYP";
|
|
6321
|
+
SZL: "SZL";
|
|
6322
|
+
THB: "THB";
|
|
6323
|
+
TJS: "TJS";
|
|
6324
|
+
TMT: "TMT";
|
|
6325
|
+
TND: "TND";
|
|
6326
|
+
TOP: "TOP";
|
|
6327
|
+
TRY: "TRY";
|
|
6328
|
+
TTD: "TTD";
|
|
6329
|
+
TWD: "TWD";
|
|
6330
|
+
TZS: "TZS";
|
|
6331
|
+
UAH: "UAH";
|
|
6332
|
+
UGX: "UGX";
|
|
6333
|
+
USD: "USD";
|
|
6334
|
+
USN: "USN";
|
|
6335
|
+
UYI: "UYI";
|
|
6336
|
+
UYU: "UYU";
|
|
6337
|
+
UYW: "UYW";
|
|
6338
|
+
UZS: "UZS";
|
|
6339
|
+
VED: "VED";
|
|
6340
|
+
VES: "VES";
|
|
6341
|
+
VND: "VND";
|
|
6342
|
+
VUV: "VUV";
|
|
6343
|
+
WST: "WST";
|
|
6344
|
+
XAF: "XAF";
|
|
6345
|
+
XAG: "XAG";
|
|
6346
|
+
XAU: "XAU";
|
|
6347
|
+
XBA: "XBA";
|
|
6348
|
+
XBB: "XBB";
|
|
6349
|
+
XBC: "XBC";
|
|
6350
|
+
XBD: "XBD";
|
|
6351
|
+
XCD: "XCD";
|
|
6352
|
+
XDR: "XDR";
|
|
6353
|
+
XOF: "XOF";
|
|
6354
|
+
XPD: "XPD";
|
|
6355
|
+
XPF: "XPF";
|
|
6356
|
+
XPT: "XPT";
|
|
6357
|
+
XSU: "XSU";
|
|
6358
|
+
XTS: "XTS";
|
|
6359
|
+
XUA: "XUA";
|
|
6360
|
+
XXX: "XXX";
|
|
6361
|
+
YER: "YER";
|
|
6362
|
+
ZAR: "ZAR";
|
|
6363
|
+
ZMW: "ZMW";
|
|
6364
|
+
ZWL: "ZWL";
|
|
6365
|
+
}>>;
|
|
6366
|
+
lineItems: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
6367
|
+
faTransactionLocator: z.ZodString;
|
|
6368
|
+
faTransactionTime: z.ZodISODateTime;
|
|
6369
|
+
faTransactionNote: z.ZodString;
|
|
6370
|
+
accountingType: z.ZodEnum<{
|
|
6371
|
+
credit: "credit";
|
|
6372
|
+
debit: "debit";
|
|
6373
|
+
}>;
|
|
6374
|
+
amount: z.ZodNumber;
|
|
6375
|
+
}, z.core.$strip>>>;
|
|
6376
|
+
referenceLocator: z.ZodString;
|
|
6377
|
+
referenceType: z.ZodEnum<{
|
|
6378
|
+
account: "account";
|
|
6379
|
+
policy: "policy";
|
|
6380
|
+
quote: "quote";
|
|
6381
|
+
transaction: "transaction";
|
|
6382
|
+
credit: "credit";
|
|
6383
|
+
invoiceItem: "invoiceItem";
|
|
6384
|
+
cash: "cash";
|
|
6385
|
+
accountCreditBalance: "accountCreditBalance";
|
|
6386
|
+
creditCash: "creditCash";
|
|
6387
|
+
charge: "charge";
|
|
6388
|
+
installmentItem: "installmentItem";
|
|
6389
|
+
accountExpenseBalance: "accountExpenseBalance";
|
|
6390
|
+
}>;
|
|
6391
|
+
balance: z.ZodNumber;
|
|
6392
|
+
}, z.core.$strip>;
|
|
6180
6393
|
|
|
6394
|
+
/** @deprecated - use ledgerAccountListResponseSchema instead */
|
|
6181
6395
|
export declare const ledgerAccountResponseSchema: z.ZodObject<{
|
|
6182
6396
|
referenceLocator: z.ZodString;
|
|
6183
|
-
currency: z.ZodEnum<{
|
|
6397
|
+
currency: z.ZodOptional<z.ZodEnum<{
|
|
6184
6398
|
AED: "AED";
|
|
6185
6399
|
AFN: "AFN";
|
|
6186
6400
|
ALL: "ALL";
|
|
@@ -6360,7 +6574,7 @@ export declare const ledgerAccountResponseSchema: z.ZodObject<{
|
|
|
6360
6574
|
ZAR: "ZAR";
|
|
6361
6575
|
ZMW: "ZMW";
|
|
6362
6576
|
ZWL: "ZWL";
|
|
6363
|
-
}
|
|
6577
|
+
}>>;
|
|
6364
6578
|
balance: z.ZodNumber;
|
|
6365
6579
|
referenceType: z.ZodEnum<{
|
|
6366
6580
|
policy: "policy";
|
|
@@ -6374,7 +6588,7 @@ export declare const ledgerAccountResponseSchema: z.ZodObject<{
|
|
|
6374
6588
|
installmentItem: "installmentItem";
|
|
6375
6589
|
accountExpenseBalance: "accountExpenseBalance";
|
|
6376
6590
|
}>;
|
|
6377
|
-
lineItems: z.ZodArray<z.ZodObject<{
|
|
6591
|
+
lineItems: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
6378
6592
|
faTransactionLocator: z.ZodString;
|
|
6379
6593
|
accountingType: z.ZodEnum<{
|
|
6380
6594
|
credit: "credit";
|
|
@@ -6383,7 +6597,7 @@ export declare const ledgerAccountResponseSchema: z.ZodObject<{
|
|
|
6383
6597
|
amount: z.ZodNumber;
|
|
6384
6598
|
faTransactionNote: z.ZodString;
|
|
6385
6599
|
faTransactionTime: z.ZodString;
|
|
6386
|
-
}, z.core.$strip
|
|
6600
|
+
}, z.core.$strip>>>;
|
|
6387
6601
|
}, z.core.$strip>;
|
|
6388
6602
|
|
|
6389
6603
|
export declare type ListBasicUserResponse = z.infer<typeof ListBasicUserResponseSchema>;
|