@workwell-global/toolkit 1.1.29 → 1.1.30

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.
Files changed (77) hide show
  1. package/dist/enums/EntityNames.d.ts +4 -0
  2. package/dist/enums/EntityNames.d.ts.map +1 -1
  3. package/dist/enums/EntityNames.js +4 -0
  4. package/dist/enums/EntityNames.js.map +1 -1
  5. package/dist/models/schemas/api/_entityTools/CreateEntityTools.d.ts +1 -1
  6. package/dist/models/schemas/api/_entityTools/CreateEntityTools.d.ts.map +1 -1
  7. package/dist/models/schemas/api/_entityTools/CreateEntityTools.js.map +1 -1
  8. package/dist/models/schemas/api/_entityTools/EntityRegistry.d.ts +1 -1
  9. package/dist/models/schemas/api/_entityTools/EntityRegistry.d.ts.map +1 -1
  10. package/dist/models/schemas/api/_entityTools/EntityRegistry.js.map +1 -1
  11. package/dist/models/schemas/api/_entityTools/MappersEntityTools.d.ts.map +1 -1
  12. package/dist/models/schemas/api/_entityTools/MappersEntityTools.js +6 -10
  13. package/dist/models/schemas/api/_entityTools/MappersEntityTools.js.map +1 -1
  14. package/dist/models/schemas/api/_entityTools/PartyBindings.d.ts +0 -3
  15. package/dist/models/schemas/api/_entityTools/PartyBindings.d.ts.map +1 -1
  16. package/dist/models/schemas/api/_entityTools/PartyBindings.js +5 -3
  17. package/dist/models/schemas/api/_entityTools/PartyBindings.js.map +1 -1
  18. package/dist/models/schemas/api/activityParty/DActivityPartyAPI.d.ts +34 -2
  19. package/dist/models/schemas/api/activityParty/DActivityPartyAPI.d.ts.map +1 -1
  20. package/dist/models/schemas/api/activityParty/DActivityPartyAPI.js +35 -2
  21. package/dist/models/schemas/api/activityParty/DActivityPartyAPI.js.map +1 -1
  22. package/dist/models/schemas/api/activityParty/TActivityPartyAPI.d.ts +81 -24
  23. package/dist/models/schemas/api/activityParty/TActivityPartyAPI.d.ts.map +1 -1
  24. package/dist/models/schemas/api/activityParty/index.d.ts +81 -24
  25. package/dist/models/schemas/api/activityParty/index.d.ts.map +1 -1
  26. package/dist/models/schemas/api/caseManagement/TCaseManagementAPI.d.ts +41 -2
  27. package/dist/models/schemas/api/caseManagement/TCaseManagementAPI.d.ts.map +1 -1
  28. package/dist/models/schemas/api/caseManagement/TCaseManagementAPI.js +26 -2
  29. package/dist/models/schemas/api/caseManagement/TCaseManagementAPI.js.map +1 -1
  30. package/dist/models/schemas/api/email/DEmailAPI.d.ts +7 -1
  31. package/dist/models/schemas/api/email/DEmailAPI.d.ts.map +1 -1
  32. package/dist/models/schemas/api/email/DEmailAPI.js +6 -1
  33. package/dist/models/schemas/api/email/DEmailAPI.js.map +1 -1
  34. package/dist/models/schemas/api/email/TEmailAPI.d.ts +10 -8
  35. package/dist/models/schemas/api/email/TEmailAPI.d.ts.map +1 -1
  36. package/dist/models/schemas/api/email/index.d.ts +14 -8
  37. package/dist/models/schemas/api/email/index.d.ts.map +1 -1
  38. package/dist/models/schemas/api/systemUser/DSystemUserAPI.d.ts +313 -0
  39. package/dist/models/schemas/api/systemUser/DSystemUserAPI.d.ts.map +1 -0
  40. package/dist/models/schemas/api/systemUser/DSystemUserAPI.js +188 -0
  41. package/dist/models/schemas/api/systemUser/DSystemUserAPI.js.map +1 -0
  42. package/dist/models/schemas/api/systemUser/TSystemUserAPI.d.ts +1232 -0
  43. package/dist/models/schemas/api/systemUser/TSystemUserAPI.d.ts.map +1 -0
  44. package/dist/models/schemas/api/systemUser/TSystemUserAPI.js +10 -0
  45. package/dist/models/schemas/api/systemUser/TSystemUserAPI.js.map +1 -0
  46. package/dist/models/schemas/api/systemUser/index.d.ts +1300 -0
  47. package/dist/models/schemas/api/systemUser/index.d.ts.map +1 -0
  48. package/dist/models/schemas/api/systemUser/index.js +12 -0
  49. package/dist/models/schemas/api/systemUser/index.js.map +1 -0
  50. package/dist/models/schemas/api/webMessage/DWebMessageAPI.d.ts +62 -31
  51. package/dist/models/schemas/api/webMessage/DWebMessageAPI.d.ts.map +1 -1
  52. package/dist/models/schemas/api/webMessage/DWebMessageAPI.js +9 -33
  53. package/dist/models/schemas/api/webMessage/DWebMessageAPI.js.map +1 -1
  54. package/dist/models/schemas/api/webMessage/TWebMessageAPI.d.ts +60 -157
  55. package/dist/models/schemas/api/webMessage/TWebMessageAPI.d.ts.map +1 -1
  56. package/dist/models/schemas/api/webMessage/index.d.ts +62 -159
  57. package/dist/models/schemas/api/webMessage/index.d.ts.map +1 -1
  58. package/dist/models/schemas/api/webMessage/webMessage.test.js +0 -12
  59. package/dist/models/schemas/api/webMessage/webMessage.test.js.map +1 -1
  60. package/dist/models/schemas/bff/caseDetail/SGetCaseEmailBFF.d.ts +27 -9
  61. package/dist/models/schemas/bff/caseDetail/SGetCaseEmailBFF.d.ts.map +1 -1
  62. package/dist/models/schemas/bff/caseDetail/SGetCaseEmailBFF.js +1 -1
  63. package/dist/models/schemas/bff/caseDetail/SGetCaseEmailBFF.js.map +1 -1
  64. package/dist/models/schemas/bff/caseDetail/SGetCaseEmailPartiesBFF.d.ts +22 -4
  65. package/dist/models/schemas/bff/caseDetail/SGetCaseEmailPartiesBFF.d.ts.map +1 -1
  66. package/dist/models/schemas/bff/caseDetail/SPostCaseResponseBFF.d.ts +79 -119
  67. package/dist/models/schemas/bff/caseDetail/SPostCaseResponseBFF.d.ts.map +1 -1
  68. package/dist/models/schemas/bff/caseDetail/SPostCaseResponseBFF.js +11 -26
  69. package/dist/models/schemas/bff/caseDetail/SPostCaseResponseBFF.js.map +1 -1
  70. package/dist/models/schemas/bff/casesSummary/SGetCaseEmailPartiesBFF.d.ts +22 -4
  71. package/dist/models/schemas/bff/casesSummary/SGetCaseEmailPartiesBFF.d.ts.map +1 -1
  72. package/dist/models/schemas/bff/casesSummary/SGetCasesSummaryEmailBFF.d.ts +27 -9
  73. package/dist/models/schemas/bff/casesSummary/SGetCasesSummaryEmailBFF.d.ts.map +1 -1
  74. package/dist/models/schemas/bff/casesSummary/SGetCasesSummaryEmailBFF.js +1 -1
  75. package/dist/models/schemas/bff/casesSummary/SGetCasesSummaryEmailBFF.js.map +1 -1
  76. package/dist/models/schemas/bff/config/SGetConfigBFF.d.ts +44 -44
  77. package/package.json +1 -1
@@ -1,128 +1,88 @@
1
1
  import { z } from 'zod';
2
- export declare const SPostCaseResponseBFF: z.ZodObject<{
3
- body: z.ZodString;
4
- subject: z.ZodOptional<z.ZodString>;
5
- }, "strip", z.ZodTypeAny, {
6
- body: string;
7
- subject?: string | undefined;
8
- }, {
9
- body: string;
10
- subject?: string | undefined;
11
- }>;
12
- export declare const SCaseStatusBFF: z.ZodObject<{
13
- caseId: z.ZodString;
14
- stateCode: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
15
- statusCode: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
16
- modifiedOn: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17
- }, "strip", z.ZodTypeAny, {
18
- caseId: string;
19
- modifiedOn?: string | null | undefined;
2
+ export declare const SPostCaseResponseBFF: z.ZodObject<Pick<{
3
+ readonly caseId: z.ZodOptional<z.ZodString>;
4
+ readonly customerValue: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
5
+ readonly customerContactValue: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
6
+ readonly fromEmail: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
7
+ readonly internalCase: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodBoolean>>>;
8
+ readonly caseTitle: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
9
+ readonly caseAgeMinutes: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
10
+ readonly caseAgeDays: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
11
+ readonly regardingValue: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
12
+ readonly ticketNumber: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
13
+ readonly stateCode: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
14
+ readonly statusCode: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
15
+ readonly createdOn: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
16
+ readonly modifiedOn: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
17
+ readonly caseTypeCode: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
18
+ readonly caseOriginCode: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
19
+ readonly enquiryValue: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
20
+ readonly agencyValue: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
21
+ readonly accountManagerValue: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
22
+ readonly salesCodeValue: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
23
+ readonly engagementConsultantValue: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
24
+ readonly countryValue: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
25
+ readonly solutionTypeValue: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
26
+ readonly followUpBy: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
27
+ readonly complexCase: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodBoolean>>>;
28
+ readonly isInternalAssistanceRequired: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodBoolean>>>;
29
+ readonly assistanceRequiredBy: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
30
+ readonly assistingTeamValue: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
31
+ readonly assistingUserValue: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
32
+ readonly internalAssistanceProvided: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodBoolean>>>;
33
+ readonly lastInternalAssistanceRequestedOn: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
34
+ readonly lastInternalAssistanceProvidedOn: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
35
+ readonly electronicSignatureCase: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodBoolean>>>;
36
+ readonly description: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
37
+ readonly latestCustomerEmail: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
38
+ readonly firstResponseBy: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
39
+ readonly resolveBy: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
40
+ readonly routeCase: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodBoolean>>>;
41
+ readonly lastEmailReceivedOn: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
42
+ readonly emailsCount: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
43
+ readonly parentCaseValue: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
44
+ readonly contactValue: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
45
+ readonly productValue: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
46
+ readonly escalated: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodBoolean>>>;
47
+ readonly escalatedOn: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
48
+ readonly firstResponseSent: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodBoolean>>>;
49
+ readonly socialProfileValue: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
50
+ readonly receivedAs: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
51
+ readonly influenceScore: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
52
+ readonly sentimentScore: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
53
+ readonly blockedProfile: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodBoolean>>>;
54
+ readonly knowledgeBaseArticleValue: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
55
+ readonly contractValue: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
56
+ readonly contractLineValue: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
57
+ readonly serialNumber: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
58
+ readonly serviceLevel: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
59
+ readonly hasOpenInternalAssistanceTasks: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodBoolean>>>;
60
+ readonly onHoldReason: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
61
+ readonly agencyFormattedValue: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
62
+ readonly accountManagerFormattedValue: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
63
+ readonly customerFormattedValue: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
64
+ readonly emails: z.ZodOptional<z.ZodTypeAny>;
65
+ readonly activities: z.ZodOptional<z.ZodTypeAny>;
66
+ }, "stateCode" | "statusCode"> & Pick<{
67
+ readonly activityId: z.ZodOptional<z.ZodString>;
68
+ readonly subject: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
69
+ readonly body: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
70
+ readonly createdOn: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
71
+ readonly statusCode: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
72
+ readonly regardingValue: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
73
+ readonly parties: z.ZodOptional<z.ZodTypeAny>;
74
+ }, "body" | "subject" | "regardingValue">, z.UnknownKeysParam, z.ZodTypeAny, {
20
75
  stateCode?: number | null | undefined;
21
76
  statusCode?: number | null | undefined;
77
+ body?: string | null | undefined;
78
+ subject?: string | null | undefined;
79
+ regardingValue?: string | null | undefined;
22
80
  }, {
23
- caseId: string;
24
- modifiedOn?: string | null | undefined;
25
81
  stateCode?: number | null | undefined;
26
82
  statusCode?: number | null | undefined;
27
- }>;
28
- export declare const SPostCaseResponseResultBFF: z.ZodObject<{
29
- activity: z.ZodObject<import("../../api/_entityTools/SchemasEntityTools.js").TPrettyShape<{
30
- readonly activityid: {
31
- readonly pretty: "activityId";
32
- readonly type: z.ZodString;
33
- };
34
- readonly activitytypecode: {
35
- readonly pretty: "activityType";
36
- readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
37
- };
38
- readonly subject: {
39
- readonly pretty: "subject";
40
- readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
41
- };
42
- readonly description: {
43
- readonly pretty: "body";
44
- readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
45
- };
46
- readonly createdon: {
47
- readonly pretty: "createdOn";
48
- readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
49
- };
50
- }> & {
51
- fromUser: z.ZodBoolean;
52
- }, z.UnknownKeysParam, z.ZodTypeAny, {
53
- activityId: string;
54
- fromUser: boolean;
55
- createdOn?: string | null | undefined;
56
- body?: string | null | undefined;
57
- activityType?: string | null | undefined;
58
- subject?: string | null | undefined;
59
- }, {
60
- activityId: string;
61
- fromUser: boolean;
62
- createdOn?: string | null | undefined;
63
- body?: string | null | undefined;
64
- activityType?: string | null | undefined;
65
- subject?: string | null | undefined;
66
- }>;
67
- case: z.ZodObject<{
68
- caseId: z.ZodString;
69
- stateCode: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
70
- statusCode: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
71
- modifiedOn: z.ZodOptional<z.ZodNullable<z.ZodString>>;
72
- }, "strip", z.ZodTypeAny, {
73
- caseId: string;
74
- modifiedOn?: string | null | undefined;
75
- stateCode?: number | null | undefined;
76
- statusCode?: number | null | undefined;
77
- }, {
78
- caseId: string;
79
- modifiedOn?: string | null | undefined;
80
- stateCode?: number | null | undefined;
81
- statusCode?: number | null | undefined;
82
- }>;
83
- }, "strip", z.ZodTypeAny, {
84
- activity: {
85
- activityId: string;
86
- fromUser: boolean;
87
- createdOn?: string | null | undefined;
88
- body?: string | null | undefined;
89
- activityType?: string | null | undefined;
90
- subject?: string | null | undefined;
91
- };
92
- case: {
93
- caseId: string;
94
- modifiedOn?: string | null | undefined;
95
- stateCode?: number | null | undefined;
96
- statusCode?: number | null | undefined;
97
- };
98
- }, {
99
- activity: {
100
- activityId: string;
101
- fromUser: boolean;
102
- createdOn?: string | null | undefined;
103
- body?: string | null | undefined;
104
- activityType?: string | null | undefined;
105
- subject?: string | null | undefined;
106
- };
107
- case: {
108
- caseId: string;
109
- modifiedOn?: string | null | undefined;
110
- stateCode?: number | null | undefined;
111
- statusCode?: number | null | undefined;
112
- };
113
- }>;
114
- export declare const SPostCaseResponsePathParamsBFF: z.ZodObject<{
115
- caseId: z.ZodString;
116
- userId: z.ZodString;
117
- }, "strip", z.ZodTypeAny, {
118
- caseId: string;
119
- userId: string;
120
- }, {
121
- caseId: string;
122
- userId: string;
83
+ body?: string | null | undefined;
84
+ subject?: string | null | undefined;
85
+ regardingValue?: string | null | undefined;
123
86
  }>;
124
87
  export type TPostCaseResponseBFF = z.infer<typeof SPostCaseResponseBFF>;
125
- export type TCaseStatusBFF = z.infer<typeof SCaseStatusBFF>;
126
- export type TPostCaseResponseResultBFF = z.infer<typeof SPostCaseResponseResultBFF>;
127
- export type TPostCaseResponsePathParamsBFF = z.infer<typeof SPostCaseResponsePathParamsBFF>;
128
88
  //# sourceMappingURL=SPostCaseResponseBFF.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"SPostCaseResponseBFF.d.ts","sourceRoot":"","sources":["../../../../../src/models/schemas/bff/caseDetail/SPostCaseResponseBFF.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAQvB,eAAO,MAAM,oBAAoB;;;;;;;;;EAG/B,CAAA;AAIF,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;EAKzB,CAAA;AAEF,eAAO,MAAM,0BAA0B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAGrC,CAAA;AAEF,eAAO,MAAM,8BAA8B;;;;;;;;;EAGzC,CAAA;AAEF,MAAM,MAAM,oBAAoB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,oBAAoB,CAAC,CAAA;AACvE,MAAM,MAAM,cAAc,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAA;AAC3D,MAAM,MAAM,0BAA0B,GAAG,CAAC,CAAC,KAAK,CAC9C,OAAO,0BAA0B,CAClC,CAAA;AACD,MAAM,MAAM,8BAA8B,GAAG,CAAC,CAAC,KAAK,CAClD,OAAO,8BAA8B,CACtC,CAAA"}
1
+ {"version":3,"file":"SPostCaseResponseBFF.d.ts","sourceRoot":"","sources":["../../../../../src/models/schemas/bff/caseDetail/SPostCaseResponseBFF.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAGvB,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAWhC,CAAA;AAED,MAAM,MAAM,oBAAoB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,oBAAoB,CAAC,CAAA"}
@@ -1,28 +1,13 @@
1
1
  import { z } from 'zod';
2
- import { SGetCaseActivityBFF } from './SGetCaseActivityBFF.js';
3
- // Portal user's reply to a case, posted as a ww_webmessage activity.
4
- //
5
- // The author is NOT part of the body: the BFF takes it from the `{userId}` path
6
- // segment so a caller cannot post as somebody else. `subject` is optional here
7
- // because the API defaults it to the case title (D365 requires a subject).
8
- export const SPostCaseResponseBFF = z.object({
9
- body: z.string().trim().min(1).max(10000),
10
- subject: z.string().trim().min(1).max(200).optional(),
11
- });
12
- // Case status after the reply. The reply always moves the case to
13
- // active / "WWG to respond", so the portal can refresh its pill without a refetch.
14
- export const SCaseStatusBFF = z.object({
15
- caseId: z.string().uuid(),
16
- stateCode: z.number().nullish(),
17
- statusCode: z.number().nullish(),
18
- modifiedOn: z.string().nullish(),
19
- });
20
- export const SPostCaseResponseResultBFF = z.object({
21
- activity: SGetCaseActivityBFF,
22
- case: SCaseStatusBFF,
23
- });
24
- export const SPostCaseResponsePathParamsBFF = z.object({
25
- caseId: z.string().uuid(),
26
- userId: z.string().uuid(),
27
- });
2
+ import { CaseManagementEntity, WebMessageEntity } from '../../api/index.js';
3
+ export const SPostCaseResponseBFF = CaseManagementEntity.SPayloadAPI.pick({
4
+ stateCode: true,
5
+ statusCode: true,
6
+ }).merge(WebMessageEntity.SPayloadAPI.pick({
7
+ subject: true,
8
+ body: true,
9
+ regardingValue: true,
10
+ // fromParties: true,
11
+ // toParties: true,
12
+ }));
28
13
  //# sourceMappingURL=SPostCaseResponseBFF.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"SPostCaseResponseBFF.js","sourceRoot":"","sources":["../../../../../src/models/schemas/bff/caseDetail/SPostCaseResponseBFF.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AACvB,OAAO,EAAE,mBAAmB,EAAE,MAAM,0BAA0B,CAAA;AAE9D,qEAAqE;AACrE,EAAE;AACF,gFAAgF;AAChF,+EAA+E;AAC/E,2EAA2E;AAC3E,MAAM,CAAC,MAAM,oBAAoB,GAAG,CAAC,CAAC,MAAM,CAAC;IAC3C,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,KAAK,CAAC;IACzC,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC,QAAQ,EAAE;CACtD,CAAC,CAAA;AAEF,kEAAkE;AAClE,mFAAmF;AACnF,MAAM,CAAC,MAAM,cAAc,GAAG,CAAC,CAAC,MAAM,CAAC;IACrC,MAAM,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE;IACzB,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,OAAO,EAAE;IAC/B,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,OAAO,EAAE;IAChC,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,OAAO,EAAE;CACjC,CAAC,CAAA;AAEF,MAAM,CAAC,MAAM,0BAA0B,GAAG,CAAC,CAAC,MAAM,CAAC;IACjD,QAAQ,EAAE,mBAAmB;IAC7B,IAAI,EAAE,cAAc;CACrB,CAAC,CAAA;AAEF,MAAM,CAAC,MAAM,8BAA8B,GAAG,CAAC,CAAC,MAAM,CAAC;IACrD,MAAM,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE;IACzB,MAAM,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE;CAC1B,CAAC,CAAA"}
1
+ {"version":3,"file":"SPostCaseResponseBFF.js","sourceRoot":"","sources":["../../../../../src/models/schemas/bff/caseDetail/SPostCaseResponseBFF.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AACvB,OAAO,EAAE,oBAAoB,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAA;AAE3E,MAAM,CAAC,MAAM,oBAAoB,GAAG,oBAAoB,CAAC,WAAW,CAAC,IAAI,CAAC;IACxE,SAAS,EAAE,IAAI;IACf,UAAU,EAAE,IAAI;CACjB,CAAC,CAAC,KAAK,CACN,gBAAgB,CAAC,WAAW,CAAC,IAAI,CAAC;IAChC,OAAO,EAAE,IAAI;IACb,IAAI,EAAE,IAAI;IACV,cAAc,EAAE,IAAI;IACpB,qBAAqB;IACrB,mBAAmB;CACpB,CAAC,CACH,CAAA"}
@@ -75,11 +75,29 @@ export declare const SCaseEmailPartiesBFF: z.ZodOptional<z.ZodNullable<z.ZodObje
75
75
  } & {
76
76
  readonly _partyid_value: {
77
77
  readonly pretty: "contactId";
78
- readonly type: z.ZodString;
78
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
79
+ };
80
+ readonly partyid_contact: {
81
+ readonly relationshipName: "partyid_contact";
82
+ readonly entity: "contacts";
83
+ readonly pretty: "partyContact";
84
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
85
+ };
86
+ readonly partyid_systemuser: {
87
+ readonly relationshipName: "partyid_systemuser";
88
+ readonly entity: "systemusers";
89
+ readonly pretty: "partySystemUser";
90
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
91
+ };
92
+ readonly partyid_account: {
93
+ readonly relationshipName: "partyid_account";
94
+ readonly entity: "accounts";
95
+ readonly pretty: "partyAccount";
96
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
79
97
  };
80
98
  readonly activitypartyid: {
81
99
  readonly pretty: "activityPartyId";
82
- readonly type: z.ZodString;
100
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
83
101
  };
84
102
  readonly addressused: {
85
103
  readonly pretty: "addressUsed";
@@ -114,9 +132,9 @@ export declare const SCaseEmailPartiesBFF: z.ZodOptional<z.ZodNullable<z.ZodObje
114
132
  readonly type: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
115
133
  };
116
134
  }>, "contactId">, z.UnknownKeysParam, z.ZodTypeAny, {
117
- contactId: string;
135
+ contactId?: string | null | undefined;
118
136
  }, {
119
- contactId: string;
137
+ contactId?: string | null | undefined;
120
138
  }>>>;
121
139
  export type TGetCaseEmailPartiesBFF = z.infer<typeof SCaseEmailPartiesBFF>;
122
140
  //# sourceMappingURL=SGetCaseEmailPartiesBFF.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"SGetCaseEmailPartiesBFF.d.ts","sourceRoot":"","sources":["../../../../../src/models/schemas/bff/casesSummary/SGetCaseEmailPartiesBFF.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAGvB,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAErB,CAAA;AAEZ,MAAM,MAAM,uBAAuB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,oBAAoB,CAAC,CAAA"}
1
+ {"version":3,"file":"SGetCaseEmailPartiesBFF.d.ts","sourceRoot":"","sources":["../../../../../src/models/schemas/bff/casesSummary/SGetCaseEmailPartiesBFF.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAGvB,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAErB,CAAA;AAEZ,MAAM,MAAM,uBAAuB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,oBAAoB,CAAC,CAAA"}
@@ -25,7 +25,7 @@ export declare const SGetCasesSummaryEmailBFF: z.ZodObject<import("../../api/_en
25
25
  readonly type: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
26
26
  };
27
27
  readonly description: {
28
- readonly pretty: "emailBody";
28
+ readonly pretty: "body";
29
29
  readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30
30
  };
31
31
  }> & {
@@ -105,11 +105,29 @@ export declare const SGetCasesSummaryEmailBFF: z.ZodObject<import("../../api/_en
105
105
  } & {
106
106
  readonly _partyid_value: {
107
107
  readonly pretty: "contactId";
108
- readonly type: z.ZodString;
108
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
109
+ };
110
+ readonly partyid_contact: {
111
+ readonly relationshipName: "partyid_contact";
112
+ readonly entity: "contacts";
113
+ readonly pretty: "partyContact";
114
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
115
+ };
116
+ readonly partyid_systemuser: {
117
+ readonly relationshipName: "partyid_systemuser";
118
+ readonly entity: "systemusers";
119
+ readonly pretty: "partySystemUser";
120
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
121
+ };
122
+ readonly partyid_account: {
123
+ readonly relationshipName: "partyid_account";
124
+ readonly entity: "accounts";
125
+ readonly pretty: "partyAccount";
126
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
109
127
  };
110
128
  readonly activitypartyid: {
111
129
  readonly pretty: "activityPartyId";
112
- readonly type: z.ZodString;
130
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
113
131
  };
114
132
  readonly addressused: {
115
133
  readonly pretty: "addressUsed";
@@ -144,31 +162,31 @@ export declare const SGetCasesSummaryEmailBFF: z.ZodObject<import("../../api/_en
144
162
  readonly type: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
145
163
  };
146
164
  }>, "contactId">, z.UnknownKeysParam, z.ZodTypeAny, {
147
- contactId: string;
165
+ contactId?: string | null | undefined;
148
166
  }, {
149
- contactId: string;
167
+ contactId?: string | null | undefined;
150
168
  }>>>, "many">>, any[] | undefined, ({
151
- contactId: string;
169
+ contactId?: string | null | undefined;
152
170
  } | null | undefined)[] | undefined>;
153
171
  }, z.UnknownKeysParam, z.ZodTypeAny, {
154
172
  emailId: string;
155
173
  createdOn?: string | null | undefined;
174
+ body?: string | null | undefined;
156
175
  subject?: string | null | undefined;
157
176
  sender?: string | null | undefined;
158
177
  toRecipients?: string | null | undefined;
159
178
  directionCode?: boolean | null | undefined;
160
- emailBody?: string | null | undefined;
161
179
  emailParties?: any[] | undefined;
162
180
  }, {
163
181
  emailId: string;
164
182
  createdOn?: string | null | undefined;
183
+ body?: string | null | undefined;
165
184
  subject?: string | null | undefined;
166
185
  sender?: string | null | undefined;
167
186
  toRecipients?: string | null | undefined;
168
187
  directionCode?: boolean | null | undefined;
169
- emailBody?: string | null | undefined;
170
188
  emailParties?: ({
171
- contactId: string;
189
+ contactId?: string | null | undefined;
172
190
  } | null | undefined)[] | undefined;
173
191
  }>;
174
192
  export type TGetCasesSummaryEmailBFF = z.infer<typeof SGetCasesSummaryEmailBFF>;
@@ -1 +1 @@
1
- {"version":3,"file":"SGetCasesSummaryEmailBFF.d.ts","sourceRoot":"","sources":["../../../../../src/models/schemas/bff/casesSummary/SGetCasesSummaryEmailBFF.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAmBvB,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAanC,CAAA;AAEF,MAAM,MAAM,wBAAwB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,wBAAwB,CAAC,CAAA"}
1
+ {"version":3,"file":"SGetCasesSummaryEmailBFF.d.ts","sourceRoot":"","sources":["../../../../../src/models/schemas/bff/casesSummary/SGetCasesSummaryEmailBFF.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAmBvB,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAanC,CAAA;AAEF,MAAM,MAAM,wBAAwB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,wBAAwB,CAAC,CAAA"}
@@ -4,7 +4,7 @@ import { createPrettySchema, pickPrettyFields, } from '../../api/_entityTools/Sc
4
4
  import { SCaseEmailPartiesBFF } from './SGetCaseEmailPartiesBFF.js';
5
5
  const filteredFields = pickPrettyFields(emailFields, [
6
6
  'emailId',
7
- 'emailBody',
7
+ 'body',
8
8
  'toRecipients',
9
9
  'sender',
10
10
  'subject',
@@ -1 +1 @@
1
- {"version":3,"file":"SGetCasesSummaryEmailBFF.js","sourceRoot":"","sources":["../../../../../src/models/schemas/bff/casesSummary/SGetCasesSummaryEmailBFF.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,OAAO,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAA;AAC1D,OAAO,EACL,kBAAkB,EAClB,gBAAgB,GACjB,MAAM,8CAA8C,CAAA;AACrD,OAAO,EAAE,oBAAoB,EAAE,MAAM,8BAA8B,CAAA;AAEnE,MAAM,cAAc,GAAG,gBAAgB,CAAC,WAAW,EAAE;IACnD,SAAS;IACT,WAAW;IACX,cAAc;IACd,QAAQ;IACR,SAAS;IACT,eAAe;IACf,WAAW;CACZ,CAAC,CAAA;AAEF,MAAM,CAAC,MAAM,wBAAwB,GAAG,kBAAkB,CACxD,cAAc,CACf,CAAC,MAAM,CAAC;IACP,YAAY,EAAE,CAAC;SACZ,KAAK,CAAC,oBAAoB,CAAC;SAC3B,QAAQ,EAAE;SACV,SAAS,CAAC,OAAO,CAAC,EAAE;QACnB,IAAI,CAAC,OAAO;YAAE,OAAO,SAAS,CAAA;QAE9B,OAAO,OAAO;aACX,MAAM,CAAC,CAAC,KAAU,EAAE,EAAE,CAAC,KAAK,EAAE,SAAS,CAAC;aACxC,GAAG,CAAC,CAAC,KAAU,EAAE,EAAE,CAAC,KAAK,CAAC,SAAS,CAAC,CAAA;IACzC,CAAC,CAAC;CACL,CAAC,CAAA"}
1
+ {"version":3,"file":"SGetCasesSummaryEmailBFF.js","sourceRoot":"","sources":["../../../../../src/models/schemas/bff/casesSummary/SGetCasesSummaryEmailBFF.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,OAAO,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAA;AAC1D,OAAO,EACL,kBAAkB,EAClB,gBAAgB,GACjB,MAAM,8CAA8C,CAAA;AACrD,OAAO,EAAE,oBAAoB,EAAE,MAAM,8BAA8B,CAAA;AAEnE,MAAM,cAAc,GAAG,gBAAgB,CAAC,WAAW,EAAE;IACnD,SAAS;IACT,MAAM;IACN,cAAc;IACd,QAAQ;IACR,SAAS;IACT,eAAe;IACf,WAAW;CACZ,CAAC,CAAA;AAEF,MAAM,CAAC,MAAM,wBAAwB,GAAG,kBAAkB,CACxD,cAAc,CACf,CAAC,MAAM,CAAC;IACP,YAAY,EAAE,CAAC;SACZ,KAAK,CAAC,oBAAoB,CAAC;SAC3B,QAAQ,EAAE;SACV,SAAS,CAAC,OAAO,CAAC,EAAE;QACnB,IAAI,CAAC,OAAO;YAAE,OAAO,SAAS,CAAA;QAE9B,OAAO,OAAO;aACX,MAAM,CAAC,CAAC,KAAU,EAAE,EAAE,CAAC,KAAK,EAAE,SAAS,CAAC;aACxC,GAAG,CAAC,CAAC,KAAU,EAAE,EAAE,CAAC,KAAK,CAAC,SAAS,CAAC,CAAA;IACzC,CAAC,CAAC;CACL,CAAC,CAAA"}
@@ -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
  }>;