@workwell-global/toolkit 1.1.29 → 1.1.31
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/enums/EntityNames.d.ts +4 -0
- package/dist/enums/EntityNames.d.ts.map +1 -1
- package/dist/enums/EntityNames.js +4 -0
- package/dist/enums/EntityNames.js.map +1 -1
- package/dist/models/schemas/api/_entityTools/CreateEntityTools.d.ts +1 -1
- package/dist/models/schemas/api/_entityTools/CreateEntityTools.d.ts.map +1 -1
- package/dist/models/schemas/api/_entityTools/CreateEntityTools.js.map +1 -1
- package/dist/models/schemas/api/_entityTools/EntityRegistry.d.ts +1 -1
- package/dist/models/schemas/api/_entityTools/EntityRegistry.d.ts.map +1 -1
- package/dist/models/schemas/api/_entityTools/EntityRegistry.js.map +1 -1
- package/dist/models/schemas/api/_entityTools/MappersEntityTools.d.ts.map +1 -1
- package/dist/models/schemas/api/_entityTools/MappersEntityTools.js +6 -10
- package/dist/models/schemas/api/_entityTools/MappersEntityTools.js.map +1 -1
- package/dist/models/schemas/api/_entityTools/PartyBindings.d.ts +0 -3
- package/dist/models/schemas/api/_entityTools/PartyBindings.d.ts.map +1 -1
- package/dist/models/schemas/api/_entityTools/PartyBindings.js +5 -3
- package/dist/models/schemas/api/_entityTools/PartyBindings.js.map +1 -1
- package/dist/models/schemas/api/activityParty/DActivityPartyAPI.d.ts +34 -2
- package/dist/models/schemas/api/activityParty/DActivityPartyAPI.d.ts.map +1 -1
- package/dist/models/schemas/api/activityParty/DActivityPartyAPI.js +35 -2
- package/dist/models/schemas/api/activityParty/DActivityPartyAPI.js.map +1 -1
- package/dist/models/schemas/api/activityParty/TActivityPartyAPI.d.ts +81 -24
- package/dist/models/schemas/api/activityParty/TActivityPartyAPI.d.ts.map +1 -1
- package/dist/models/schemas/api/activityParty/index.d.ts +81 -24
- package/dist/models/schemas/api/activityParty/index.d.ts.map +1 -1
- package/dist/models/schemas/api/caseManagement/TCaseManagementAPI.d.ts +41 -2
- package/dist/models/schemas/api/caseManagement/TCaseManagementAPI.d.ts.map +1 -1
- package/dist/models/schemas/api/caseManagement/TCaseManagementAPI.js +26 -2
- package/dist/models/schemas/api/caseManagement/TCaseManagementAPI.js.map +1 -1
- package/dist/models/schemas/api/email/DEmailAPI.d.ts +7 -1
- package/dist/models/schemas/api/email/DEmailAPI.d.ts.map +1 -1
- package/dist/models/schemas/api/email/DEmailAPI.js +6 -1
- package/dist/models/schemas/api/email/DEmailAPI.js.map +1 -1
- package/dist/models/schemas/api/email/TEmailAPI.d.ts +10 -8
- package/dist/models/schemas/api/email/TEmailAPI.d.ts.map +1 -1
- package/dist/models/schemas/api/email/index.d.ts +14 -8
- package/dist/models/schemas/api/email/index.d.ts.map +1 -1
- package/dist/models/schemas/api/systemUser/DSystemUserAPI.d.ts +313 -0
- package/dist/models/schemas/api/systemUser/DSystemUserAPI.d.ts.map +1 -0
- package/dist/models/schemas/api/systemUser/DSystemUserAPI.js +188 -0
- package/dist/models/schemas/api/systemUser/DSystemUserAPI.js.map +1 -0
- package/dist/models/schemas/api/systemUser/TSystemUserAPI.d.ts +1232 -0
- package/dist/models/schemas/api/systemUser/TSystemUserAPI.d.ts.map +1 -0
- package/dist/models/schemas/api/systemUser/TSystemUserAPI.js +10 -0
- package/dist/models/schemas/api/systemUser/TSystemUserAPI.js.map +1 -0
- package/dist/models/schemas/api/systemUser/index.d.ts +1300 -0
- package/dist/models/schemas/api/systemUser/index.d.ts.map +1 -0
- package/dist/models/schemas/api/systemUser/index.js +12 -0
- package/dist/models/schemas/api/systemUser/index.js.map +1 -0
- package/dist/models/schemas/api/webMessage/DWebMessageAPI.d.ts +62 -31
- package/dist/models/schemas/api/webMessage/DWebMessageAPI.d.ts.map +1 -1
- package/dist/models/schemas/api/webMessage/DWebMessageAPI.js +9 -33
- package/dist/models/schemas/api/webMessage/DWebMessageAPI.js.map +1 -1
- package/dist/models/schemas/api/webMessage/TWebMessageAPI.d.ts +60 -157
- package/dist/models/schemas/api/webMessage/TWebMessageAPI.d.ts.map +1 -1
- package/dist/models/schemas/api/webMessage/index.d.ts +62 -159
- package/dist/models/schemas/api/webMessage/index.d.ts.map +1 -1
- package/dist/models/schemas/api/webMessage/webMessage.test.js +22 -16
- package/dist/models/schemas/api/webMessage/webMessage.test.js.map +1 -1
- package/dist/models/schemas/bff/caseDetail/SGetCaseEmailBFF.d.ts +27 -9
- package/dist/models/schemas/bff/caseDetail/SGetCaseEmailBFF.d.ts.map +1 -1
- package/dist/models/schemas/bff/caseDetail/SGetCaseEmailBFF.js +1 -1
- package/dist/models/schemas/bff/caseDetail/SGetCaseEmailBFF.js.map +1 -1
- package/dist/models/schemas/bff/caseDetail/SGetCaseEmailPartiesBFF.d.ts +22 -4
- package/dist/models/schemas/bff/caseDetail/SGetCaseEmailPartiesBFF.d.ts.map +1 -1
- package/dist/models/schemas/bff/caseDetail/SPostCaseBFF.d.ts +82 -0
- package/dist/models/schemas/bff/caseDetail/SPostCaseBFF.d.ts.map +1 -0
- package/dist/models/schemas/bff/caseDetail/SPostCaseBFF.js +11 -0
- package/dist/models/schemas/bff/caseDetail/SPostCaseBFF.js.map +1 -0
- package/dist/models/schemas/bff/caseDetail/SPostCaseInitResponseBFF.d.ts +22 -0
- package/dist/models/schemas/bff/caseDetail/SPostCaseInitResponseBFF.d.ts.map +1 -0
- package/dist/models/schemas/bff/caseDetail/SPostCaseInitResponseBFF.js +9 -0
- package/dist/models/schemas/bff/caseDetail/SPostCaseInitResponseBFF.js.map +1 -0
- package/dist/models/schemas/bff/caseDetail/SPostCaseResponseBFF.d.ts +79 -119
- package/dist/models/schemas/bff/caseDetail/SPostCaseResponseBFF.d.ts.map +1 -1
- package/dist/models/schemas/bff/caseDetail/SPostCaseResponseBFF.js +9 -26
- package/dist/models/schemas/bff/caseDetail/SPostCaseResponseBFF.js.map +1 -1
- package/dist/models/schemas/bff/caseDetail/index.d.ts +2 -0
- package/dist/models/schemas/bff/caseDetail/index.d.ts.map +1 -1
- package/dist/models/schemas/bff/caseDetail/index.js +2 -0
- package/dist/models/schemas/bff/caseDetail/index.js.map +1 -1
- package/dist/models/schemas/bff/casesSummary/SGetCaseEmailPartiesBFF.d.ts +22 -4
- package/dist/models/schemas/bff/casesSummary/SGetCaseEmailPartiesBFF.d.ts.map +1 -1
- package/dist/models/schemas/bff/casesSummary/SGetCasesSummaryEmailBFF.d.ts +27 -9
- package/dist/models/schemas/bff/casesSummary/SGetCasesSummaryEmailBFF.d.ts.map +1 -1
- package/dist/models/schemas/bff/casesSummary/SGetCasesSummaryEmailBFF.js +1 -1
- package/dist/models/schemas/bff/casesSummary/SGetCasesSummaryEmailBFF.js.map +1 -1
- package/dist/models/schemas/bff/casesSummary/index.d.ts +0 -1
- package/dist/models/schemas/bff/casesSummary/index.d.ts.map +1 -1
- package/dist/models/schemas/bff/casesSummary/index.js +0 -1
- package/dist/models/schemas/bff/casesSummary/index.js.map +1 -1
- package/dist/models/schemas/bff/config/SGetConfigBFF.d.ts +44 -44
- package/package.json +1 -1
- package/dist/models/schemas/bff/casesSummary/SPostCaseBFF.d.ts +0 -104
- package/dist/models/schemas/bff/casesSummary/SPostCaseBFF.d.ts.map +0 -1
- package/dist/models/schemas/bff/casesSummary/SPostCaseBFF.js +0 -30
- package/dist/models/schemas/bff/casesSummary/SPostCaseBFF.js.map +0 -1
|
@@ -639,10 +639,6 @@ export declare const SGetConfigBFF: z.ZodObject<{
|
|
|
639
639
|
currencySymbol?: string | null | undefined;
|
|
640
640
|
exchangeRate?: number | null | undefined;
|
|
641
641
|
} | null | undefined)[];
|
|
642
|
-
role: ({
|
|
643
|
-
roleId: string;
|
|
644
|
-
name?: string | null | undefined;
|
|
645
|
-
} | null | undefined)[];
|
|
646
642
|
margin: ({
|
|
647
643
|
marginId: string;
|
|
648
644
|
countryValue?: string | null | undefined;
|
|
@@ -658,6 +654,10 @@ export declare const SGetConfigBFF: z.ZodObject<{
|
|
|
658
654
|
startUpMarginCurrencyValue?: string | null | undefined;
|
|
659
655
|
solutionValue?: string | null | undefined;
|
|
660
656
|
} | null | undefined)[];
|
|
657
|
+
role: ({
|
|
658
|
+
roleId: string;
|
|
659
|
+
name?: string | null | undefined;
|
|
660
|
+
} | null | undefined)[];
|
|
661
661
|
}, {
|
|
662
662
|
country: ({
|
|
663
663
|
code?: string | null | undefined;
|
|
@@ -676,10 +676,6 @@ export declare const SGetConfigBFF: z.ZodObject<{
|
|
|
676
676
|
currencySymbol?: string | null | undefined;
|
|
677
677
|
exchangeRate?: number | null | undefined;
|
|
678
678
|
} | null | undefined)[];
|
|
679
|
-
role: ({
|
|
680
|
-
roleId: string;
|
|
681
|
-
name?: string | null | undefined;
|
|
682
|
-
} | null | undefined)[];
|
|
683
679
|
margin: ({
|
|
684
680
|
marginId: string;
|
|
685
681
|
countryValue?: string | null | undefined;
|
|
@@ -695,6 +691,10 @@ export declare const SGetConfigBFF: z.ZodObject<{
|
|
|
695
691
|
startUpMarginCurrencyValue?: string | null | undefined;
|
|
696
692
|
solutionValue?: string | null | undefined;
|
|
697
693
|
} | null | undefined)[];
|
|
694
|
+
role: ({
|
|
695
|
+
roleId: string;
|
|
696
|
+
name?: string | null | undefined;
|
|
697
|
+
} | null | undefined)[];
|
|
698
698
|
}>;
|
|
699
699
|
account: z.ZodRecord<z.ZodEnum<["accountStatus", "billingType", "companyHq", "contactMethod", "growthPotential", "icpFeeBase", "icpStatus", "paymentTerms", "relationshipType", "supplierType"]>, z.ZodArray<z.ZodObject<{
|
|
700
700
|
id: z.ZodString;
|
|
@@ -1268,6 +1268,11 @@ export declare const SGetConfigBFF: z.ZodObject<{
|
|
|
1268
1268
|
label: string;
|
|
1269
1269
|
}[];
|
|
1270
1270
|
};
|
|
1271
|
+
referral: Partial<Record<"stage" | "stageReason" | "reportingStatus" | "region" | "contractRateFrequency" | "contractPaymentFrequency" | "hoursWorkedUnit" | "jobType" | "startUpMarginPaidBy" | "possibilityOfExtension" | "notGoingAheadReason" | "notGoingAheadReasonDetail" | "wwgManagementFeeBasis" | "wwgManagementFeePeriod" | "wwgManagementFeePaidBy" | "ifNoWhoIsArrangingVisa" | "willTheContractorBePaidVatByWorkwellGlobal" | "ensureLimosaHasBeenFiled" | "sendPortalInvite", {
|
|
1272
|
+
value: string | number;
|
|
1273
|
+
id: string;
|
|
1274
|
+
label: string;
|
|
1275
|
+
}[]>>;
|
|
1271
1276
|
simulation: {
|
|
1272
1277
|
disqualificationReason: {
|
|
1273
1278
|
children?: {
|
|
@@ -1308,11 +1313,6 @@ export declare const SGetConfigBFF: z.ZodObject<{
|
|
|
1308
1313
|
label: string;
|
|
1309
1314
|
}[];
|
|
1310
1315
|
};
|
|
1311
|
-
referral: Partial<Record<"stage" | "stageReason" | "reportingStatus" | "region" | "contractRateFrequency" | "contractPaymentFrequency" | "hoursWorkedUnit" | "jobType" | "startUpMarginPaidBy" | "possibilityOfExtension" | "notGoingAheadReason" | "notGoingAheadReasonDetail" | "wwgManagementFeeBasis" | "wwgManagementFeePeriod" | "wwgManagementFeePaidBy" | "ifNoWhoIsArrangingVisa" | "willTheContractorBePaidVatByWorkwellGlobal" | "ensureLimosaHasBeenFiled" | "sendPortalInvite", {
|
|
1312
|
-
value: string | number;
|
|
1313
|
-
id: string;
|
|
1314
|
-
label: string;
|
|
1315
|
-
}[]>>;
|
|
1316
1316
|
global: {
|
|
1317
1317
|
country: ({
|
|
1318
1318
|
code?: string | null | undefined;
|
|
@@ -1331,10 +1331,6 @@ export declare const SGetConfigBFF: z.ZodObject<{
|
|
|
1331
1331
|
currencySymbol?: string | null | undefined;
|
|
1332
1332
|
exchangeRate?: number | null | undefined;
|
|
1333
1333
|
} | null | undefined)[];
|
|
1334
|
-
role: ({
|
|
1335
|
-
roleId: string;
|
|
1336
|
-
name?: string | null | undefined;
|
|
1337
|
-
} | null | undefined)[];
|
|
1338
1334
|
margin: ({
|
|
1339
1335
|
marginId: string;
|
|
1340
1336
|
countryValue?: string | null | undefined;
|
|
@@ -1350,6 +1346,10 @@ export declare const SGetConfigBFF: z.ZodObject<{
|
|
|
1350
1346
|
startUpMarginCurrencyValue?: string | null | undefined;
|
|
1351
1347
|
solutionValue?: string | null | undefined;
|
|
1352
1348
|
} | null | undefined)[];
|
|
1349
|
+
role: ({
|
|
1350
|
+
roleId: string;
|
|
1351
|
+
name?: string | null | undefined;
|
|
1352
|
+
} | null | undefined)[];
|
|
1353
1353
|
};
|
|
1354
1354
|
}, {
|
|
1355
1355
|
account: Partial<Record<"relationshipType" | "companyHq" | "accountStatus" | "icpStatus" | "growthPotential" | "supplierType" | "icpFeeBase" | "billingType" | "paymentTerms" | "contactMethod", {
|
|
@@ -1396,6 +1396,11 @@ export declare const SGetConfigBFF: z.ZodObject<{
|
|
|
1396
1396
|
label: string;
|
|
1397
1397
|
}[];
|
|
1398
1398
|
};
|
|
1399
|
+
referral: Partial<Record<"stage" | "stageReason" | "reportingStatus" | "region" | "contractRateFrequency" | "contractPaymentFrequency" | "hoursWorkedUnit" | "jobType" | "startUpMarginPaidBy" | "possibilityOfExtension" | "notGoingAheadReason" | "notGoingAheadReasonDetail" | "wwgManagementFeeBasis" | "wwgManagementFeePeriod" | "wwgManagementFeePaidBy" | "ifNoWhoIsArrangingVisa" | "willTheContractorBePaidVatByWorkwellGlobal" | "ensureLimosaHasBeenFiled" | "sendPortalInvite", {
|
|
1400
|
+
value: string | number;
|
|
1401
|
+
id: string;
|
|
1402
|
+
label: string;
|
|
1403
|
+
}[]>>;
|
|
1399
1404
|
simulation: {
|
|
1400
1405
|
disqualificationReason: {
|
|
1401
1406
|
name?: string | null | undefined;
|
|
@@ -1430,11 +1435,6 @@ export declare const SGetConfigBFF: z.ZodObject<{
|
|
|
1430
1435
|
label: string;
|
|
1431
1436
|
}[];
|
|
1432
1437
|
};
|
|
1433
|
-
referral: Partial<Record<"stage" | "stageReason" | "reportingStatus" | "region" | "contractRateFrequency" | "contractPaymentFrequency" | "hoursWorkedUnit" | "jobType" | "startUpMarginPaidBy" | "possibilityOfExtension" | "notGoingAheadReason" | "notGoingAheadReasonDetail" | "wwgManagementFeeBasis" | "wwgManagementFeePeriod" | "wwgManagementFeePaidBy" | "ifNoWhoIsArrangingVisa" | "willTheContractorBePaidVatByWorkwellGlobal" | "ensureLimosaHasBeenFiled" | "sendPortalInvite", {
|
|
1434
|
-
value: string | number;
|
|
1435
|
-
id: string;
|
|
1436
|
-
label: string;
|
|
1437
|
-
}[]>>;
|
|
1438
1438
|
global: {
|
|
1439
1439
|
country: ({
|
|
1440
1440
|
code?: string | null | undefined;
|
|
@@ -1453,10 +1453,6 @@ export declare const SGetConfigBFF: z.ZodObject<{
|
|
|
1453
1453
|
currencySymbol?: string | null | undefined;
|
|
1454
1454
|
exchangeRate?: number | null | undefined;
|
|
1455
1455
|
} | null | undefined)[];
|
|
1456
|
-
role: ({
|
|
1457
|
-
roleId: string;
|
|
1458
|
-
name?: string | null | undefined;
|
|
1459
|
-
} | null | undefined)[];
|
|
1460
1456
|
margin: ({
|
|
1461
1457
|
marginId: string;
|
|
1462
1458
|
countryValue?: string | null | undefined;
|
|
@@ -1472,6 +1468,10 @@ export declare const SGetConfigBFF: z.ZodObject<{
|
|
|
1472
1468
|
startUpMarginCurrencyValue?: string | null | undefined;
|
|
1473
1469
|
solutionValue?: string | null | undefined;
|
|
1474
1470
|
} | null | undefined)[];
|
|
1471
|
+
role: ({
|
|
1472
|
+
roleId: string;
|
|
1473
|
+
name?: string | null | undefined;
|
|
1474
|
+
} | null | undefined)[];
|
|
1475
1475
|
};
|
|
1476
1476
|
}>;
|
|
1477
1477
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -1526,6 +1526,11 @@ export declare const SGetConfigBFF: z.ZodObject<{
|
|
|
1526
1526
|
label: string;
|
|
1527
1527
|
}[];
|
|
1528
1528
|
};
|
|
1529
|
+
referral: Partial<Record<"stage" | "stageReason" | "reportingStatus" | "region" | "contractRateFrequency" | "contractPaymentFrequency" | "hoursWorkedUnit" | "jobType" | "startUpMarginPaidBy" | "possibilityOfExtension" | "notGoingAheadReason" | "notGoingAheadReasonDetail" | "wwgManagementFeeBasis" | "wwgManagementFeePeriod" | "wwgManagementFeePaidBy" | "ifNoWhoIsArrangingVisa" | "willTheContractorBePaidVatByWorkwellGlobal" | "ensureLimosaHasBeenFiled" | "sendPortalInvite", {
|
|
1530
|
+
value: string | number;
|
|
1531
|
+
id: string;
|
|
1532
|
+
label: string;
|
|
1533
|
+
}[]>>;
|
|
1529
1534
|
simulation: {
|
|
1530
1535
|
disqualificationReason: {
|
|
1531
1536
|
children?: {
|
|
@@ -1566,11 +1571,6 @@ export declare const SGetConfigBFF: z.ZodObject<{
|
|
|
1566
1571
|
label: string;
|
|
1567
1572
|
}[];
|
|
1568
1573
|
};
|
|
1569
|
-
referral: Partial<Record<"stage" | "stageReason" | "reportingStatus" | "region" | "contractRateFrequency" | "contractPaymentFrequency" | "hoursWorkedUnit" | "jobType" | "startUpMarginPaidBy" | "possibilityOfExtension" | "notGoingAheadReason" | "notGoingAheadReasonDetail" | "wwgManagementFeeBasis" | "wwgManagementFeePeriod" | "wwgManagementFeePaidBy" | "ifNoWhoIsArrangingVisa" | "willTheContractorBePaidVatByWorkwellGlobal" | "ensureLimosaHasBeenFiled" | "sendPortalInvite", {
|
|
1570
|
-
value: string | number;
|
|
1571
|
-
id: string;
|
|
1572
|
-
label: string;
|
|
1573
|
-
}[]>>;
|
|
1574
1574
|
global: {
|
|
1575
1575
|
country: ({
|
|
1576
1576
|
code?: string | null | undefined;
|
|
@@ -1589,10 +1589,6 @@ export declare const SGetConfigBFF: z.ZodObject<{
|
|
|
1589
1589
|
currencySymbol?: string | null | undefined;
|
|
1590
1590
|
exchangeRate?: number | null | undefined;
|
|
1591
1591
|
} | null | undefined)[];
|
|
1592
|
-
role: ({
|
|
1593
|
-
roleId: string;
|
|
1594
|
-
name?: string | null | undefined;
|
|
1595
|
-
} | null | undefined)[];
|
|
1596
1592
|
margin: ({
|
|
1597
1593
|
marginId: string;
|
|
1598
1594
|
countryValue?: string | null | undefined;
|
|
@@ -1608,6 +1604,10 @@ export declare const SGetConfigBFF: z.ZodObject<{
|
|
|
1608
1604
|
startUpMarginCurrencyValue?: string | null | undefined;
|
|
1609
1605
|
solutionValue?: string | null | undefined;
|
|
1610
1606
|
} | null | undefined)[];
|
|
1607
|
+
role: ({
|
|
1608
|
+
roleId: string;
|
|
1609
|
+
name?: string | null | undefined;
|
|
1610
|
+
} | null | undefined)[];
|
|
1611
1611
|
};
|
|
1612
1612
|
};
|
|
1613
1613
|
}, {
|
|
@@ -1656,6 +1656,11 @@ export declare const SGetConfigBFF: z.ZodObject<{
|
|
|
1656
1656
|
label: string;
|
|
1657
1657
|
}[];
|
|
1658
1658
|
};
|
|
1659
|
+
referral: Partial<Record<"stage" | "stageReason" | "reportingStatus" | "region" | "contractRateFrequency" | "contractPaymentFrequency" | "hoursWorkedUnit" | "jobType" | "startUpMarginPaidBy" | "possibilityOfExtension" | "notGoingAheadReason" | "notGoingAheadReasonDetail" | "wwgManagementFeeBasis" | "wwgManagementFeePeriod" | "wwgManagementFeePaidBy" | "ifNoWhoIsArrangingVisa" | "willTheContractorBePaidVatByWorkwellGlobal" | "ensureLimosaHasBeenFiled" | "sendPortalInvite", {
|
|
1660
|
+
value: string | number;
|
|
1661
|
+
id: string;
|
|
1662
|
+
label: string;
|
|
1663
|
+
}[]>>;
|
|
1659
1664
|
simulation: {
|
|
1660
1665
|
disqualificationReason: {
|
|
1661
1666
|
name?: string | null | undefined;
|
|
@@ -1690,11 +1695,6 @@ export declare const SGetConfigBFF: z.ZodObject<{
|
|
|
1690
1695
|
label: string;
|
|
1691
1696
|
}[];
|
|
1692
1697
|
};
|
|
1693
|
-
referral: Partial<Record<"stage" | "stageReason" | "reportingStatus" | "region" | "contractRateFrequency" | "contractPaymentFrequency" | "hoursWorkedUnit" | "jobType" | "startUpMarginPaidBy" | "possibilityOfExtension" | "notGoingAheadReason" | "notGoingAheadReasonDetail" | "wwgManagementFeeBasis" | "wwgManagementFeePeriod" | "wwgManagementFeePaidBy" | "ifNoWhoIsArrangingVisa" | "willTheContractorBePaidVatByWorkwellGlobal" | "ensureLimosaHasBeenFiled" | "sendPortalInvite", {
|
|
1694
|
-
value: string | number;
|
|
1695
|
-
id: string;
|
|
1696
|
-
label: string;
|
|
1697
|
-
}[]>>;
|
|
1698
1698
|
global: {
|
|
1699
1699
|
country: ({
|
|
1700
1700
|
code?: string | null | undefined;
|
|
@@ -1713,10 +1713,6 @@ export declare const SGetConfigBFF: z.ZodObject<{
|
|
|
1713
1713
|
currencySymbol?: string | null | undefined;
|
|
1714
1714
|
exchangeRate?: number | null | undefined;
|
|
1715
1715
|
} | null | undefined)[];
|
|
1716
|
-
role: ({
|
|
1717
|
-
roleId: string;
|
|
1718
|
-
name?: string | null | undefined;
|
|
1719
|
-
} | null | undefined)[];
|
|
1720
1716
|
margin: ({
|
|
1721
1717
|
marginId: string;
|
|
1722
1718
|
countryValue?: string | null | undefined;
|
|
@@ -1732,6 +1728,10 @@ export declare const SGetConfigBFF: z.ZodObject<{
|
|
|
1732
1728
|
startUpMarginCurrencyValue?: string | null | undefined;
|
|
1733
1729
|
solutionValue?: string | null | undefined;
|
|
1734
1730
|
} | null | undefined)[];
|
|
1731
|
+
role: ({
|
|
1732
|
+
roleId: string;
|
|
1733
|
+
name?: string | null | undefined;
|
|
1734
|
+
} | null | undefined)[];
|
|
1735
1735
|
};
|
|
1736
1736
|
};
|
|
1737
1737
|
}>;
|
package/package.json
CHANGED
|
@@ -1,104 +0,0 @@
|
|
|
1
|
-
import { z } from 'zod';
|
|
2
|
-
export declare const SPostCaseBFF: z.ZodObject<{
|
|
3
|
-
subject: z.ZodString;
|
|
4
|
-
body: z.ZodString;
|
|
5
|
-
enquiryId: z.ZodOptional<z.ZodString>;
|
|
6
|
-
}, "strip", z.ZodTypeAny, {
|
|
7
|
-
body: string;
|
|
8
|
-
subject: string;
|
|
9
|
-
enquiryId?: string | undefined;
|
|
10
|
-
}, {
|
|
11
|
-
body: string;
|
|
12
|
-
subject: string;
|
|
13
|
-
enquiryId?: string | undefined;
|
|
14
|
-
}>;
|
|
15
|
-
export declare const SPostCaseResultBFF: z.ZodObject<{
|
|
16
|
-
caseId: z.ZodString;
|
|
17
|
-
ticketNumber: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18
|
-
caseTitle: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
19
|
-
stateCode: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
20
|
-
statusCode: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
21
|
-
createdOn: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
22
|
-
modifiedOn: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
23
|
-
firstActivity: z.ZodOptional<z.ZodNullable<z.ZodObject<import("../../api/_entityTools/SchemasEntityTools.js").TPrettyShape<{
|
|
24
|
-
readonly activityid: {
|
|
25
|
-
readonly pretty: "activityId";
|
|
26
|
-
readonly type: z.ZodString;
|
|
27
|
-
};
|
|
28
|
-
readonly activitytypecode: {
|
|
29
|
-
readonly pretty: "activityType";
|
|
30
|
-
readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
31
|
-
};
|
|
32
|
-
readonly subject: {
|
|
33
|
-
readonly pretty: "subject";
|
|
34
|
-
readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
35
|
-
};
|
|
36
|
-
readonly description: {
|
|
37
|
-
readonly pretty: "body";
|
|
38
|
-
readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
39
|
-
};
|
|
40
|
-
readonly createdon: {
|
|
41
|
-
readonly pretty: "createdOn";
|
|
42
|
-
readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
43
|
-
};
|
|
44
|
-
}> & {
|
|
45
|
-
fromUser: z.ZodBoolean;
|
|
46
|
-
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
47
|
-
activityId: string;
|
|
48
|
-
fromUser: boolean;
|
|
49
|
-
createdOn?: string | null | undefined;
|
|
50
|
-
body?: string | null | undefined;
|
|
51
|
-
activityType?: string | null | undefined;
|
|
52
|
-
subject?: string | null | undefined;
|
|
53
|
-
}, {
|
|
54
|
-
activityId: string;
|
|
55
|
-
fromUser: boolean;
|
|
56
|
-
createdOn?: string | null | undefined;
|
|
57
|
-
body?: string | null | undefined;
|
|
58
|
-
activityType?: string | null | undefined;
|
|
59
|
-
subject?: string | null | undefined;
|
|
60
|
-
}>>>;
|
|
61
|
-
}, "strip", z.ZodTypeAny, {
|
|
62
|
-
caseId: string;
|
|
63
|
-
createdOn?: string | null | undefined;
|
|
64
|
-
modifiedOn?: string | null | undefined;
|
|
65
|
-
stateCode?: number | null | undefined;
|
|
66
|
-
statusCode?: number | null | undefined;
|
|
67
|
-
caseTitle?: string | null | undefined;
|
|
68
|
-
ticketNumber?: string | null | undefined;
|
|
69
|
-
firstActivity?: {
|
|
70
|
-
activityId: string;
|
|
71
|
-
fromUser: boolean;
|
|
72
|
-
createdOn?: string | null | undefined;
|
|
73
|
-
body?: string | null | undefined;
|
|
74
|
-
activityType?: string | null | undefined;
|
|
75
|
-
subject?: string | null | undefined;
|
|
76
|
-
} | null | undefined;
|
|
77
|
-
}, {
|
|
78
|
-
caseId: string;
|
|
79
|
-
createdOn?: string | null | undefined;
|
|
80
|
-
modifiedOn?: string | null | undefined;
|
|
81
|
-
stateCode?: number | null | undefined;
|
|
82
|
-
statusCode?: number | null | undefined;
|
|
83
|
-
caseTitle?: string | null | undefined;
|
|
84
|
-
ticketNumber?: string | null | undefined;
|
|
85
|
-
firstActivity?: {
|
|
86
|
-
activityId: string;
|
|
87
|
-
fromUser: boolean;
|
|
88
|
-
createdOn?: string | null | undefined;
|
|
89
|
-
body?: string | null | undefined;
|
|
90
|
-
activityType?: string | null | undefined;
|
|
91
|
-
subject?: string | null | undefined;
|
|
92
|
-
} | null | undefined;
|
|
93
|
-
}>;
|
|
94
|
-
export declare const SPostCasePathParamsBFF: z.ZodObject<{
|
|
95
|
-
userId: z.ZodString;
|
|
96
|
-
}, "strip", z.ZodTypeAny, {
|
|
97
|
-
userId: string;
|
|
98
|
-
}, {
|
|
99
|
-
userId: string;
|
|
100
|
-
}>;
|
|
101
|
-
export type TPostCaseBFF = z.infer<typeof SPostCaseBFF>;
|
|
102
|
-
export type TPostCaseResultBFF = z.infer<typeof SPostCaseResultBFF>;
|
|
103
|
-
export type TPostCasePathParamsBFF = z.infer<typeof SPostCasePathParamsBFF>;
|
|
104
|
-
//# sourceMappingURL=SPostCaseBFF.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"SPostCaseBFF.d.ts","sourceRoot":"","sources":["../../../../../src/models/schemas/bff/casesSummary/SPostCaseBFF.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAYvB,eAAO,MAAM,YAAY;;;;;;;;;;;;EAIvB,CAAA;AAEF,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAS7B,CAAA;AAEF,eAAO,MAAM,sBAAsB;;;;;;EAEjC,CAAA;AAEF,MAAM,MAAM,YAAY,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,YAAY,CAAC,CAAA;AACvD,MAAM,MAAM,kBAAkB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,kBAAkB,CAAC,CAAA;AACnE,MAAM,MAAM,sBAAsB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,sBAAsB,CAAC,CAAA"}
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
import { z } from 'zod';
|
|
2
|
-
import { SGetCaseActivityBFF } from '../caseDetail/SGetCaseActivityBFF.js';
|
|
3
|
-
// "Ask a question": raise a new case from the portal.
|
|
4
|
-
//
|
|
5
|
-
// A portal-raised case ALWAYS ships with its first ww_webmessage, which is the
|
|
6
|
-
// first timeline entry. `subject` therefore drives BOTH the case title and that
|
|
7
|
-
// first message's subject, and `body` is the question itself.
|
|
8
|
-
//
|
|
9
|
-
// Origin, state and status reason are defaulted server-side and are deliberately
|
|
10
|
-
// not accepted from the client. The customer/contact comes from the `{userId}`
|
|
11
|
-
// path segment, not the body.
|
|
12
|
-
export const SPostCaseBFF = z.object({
|
|
13
|
-
subject: z.string().trim().min(1).max(200),
|
|
14
|
-
body: z.string().trim().min(1).max(10000),
|
|
15
|
-
enquiryId: z.string().uuid().optional(),
|
|
16
|
-
});
|
|
17
|
-
export const SPostCaseResultBFF = z.object({
|
|
18
|
-
caseId: z.string().uuid(),
|
|
19
|
-
ticketNumber: z.string().nullish(),
|
|
20
|
-
caseTitle: z.string().nullish(),
|
|
21
|
-
stateCode: z.number().nullish(),
|
|
22
|
-
statusCode: z.number().nullish(),
|
|
23
|
-
createdOn: z.string().nullish(),
|
|
24
|
-
modifiedOn: z.string().nullish(),
|
|
25
|
-
firstActivity: SGetCaseActivityBFF.nullish(),
|
|
26
|
-
});
|
|
27
|
-
export const SPostCasePathParamsBFF = z.object({
|
|
28
|
-
userId: z.string().uuid(),
|
|
29
|
-
});
|
|
30
|
-
//# sourceMappingURL=SPostCaseBFF.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"SPostCaseBFF.js","sourceRoot":"","sources":["../../../../../src/models/schemas/bff/casesSummary/SPostCaseBFF.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AACvB,OAAO,EAAE,mBAAmB,EAAE,MAAM,sCAAsC,CAAA;AAE1E,sDAAsD;AACtD,EAAE;AACF,+EAA+E;AAC/E,gFAAgF;AAChF,8DAA8D;AAC9D,EAAE;AACF,iFAAiF;AACjF,+EAA+E;AAC/E,8BAA8B;AAC9B,MAAM,CAAC,MAAM,YAAY,GAAG,CAAC,CAAC,MAAM,CAAC;IACnC,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,GAAG,CAAC;IAC1C,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,KAAK,CAAC;IACzC,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,CAAC,QAAQ,EAAE;CACxC,CAAC,CAAA;AAEF,MAAM,CAAC,MAAM,kBAAkB,GAAG,CAAC,CAAC,MAAM,CAAC;IACzC,MAAM,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE;IACzB,YAAY,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,OAAO,EAAE;IAClC,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,OAAO,EAAE;IAC/B,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,OAAO,EAAE;IAC/B,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,OAAO,EAAE;IAChC,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,OAAO,EAAE;IAC/B,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,OAAO,EAAE;IAChC,aAAa,EAAE,mBAAmB,CAAC,OAAO,EAAE;CAC7C,CAAC,CAAA;AAEF,MAAM,CAAC,MAAM,sBAAsB,GAAG,CAAC,CAAC,MAAM,CAAC;IAC7C,MAAM,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE;CAC1B,CAAC,CAAA"}
|