@workwell-global/toolkit 1.1.41 → 1.1.43

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 (30) hide show
  1. package/dist/models/schemas/bff/caseDetail/SGetCaseBFF.d.ts +68 -0
  2. package/dist/models/schemas/bff/caseDetail/SGetCaseBFF.d.ts.map +1 -1
  3. package/dist/models/schemas/bff/caseDetail/SGetCaseBFF.js +6 -0
  4. package/dist/models/schemas/bff/caseDetail/SGetCaseBFF.js.map +1 -1
  5. package/dist/models/schemas/bff/casesSummary/SGetCasesSummaryBFF.d.ts +70 -1
  6. package/dist/models/schemas/bff/casesSummary/SGetCasesSummaryBFF.d.ts.map +1 -1
  7. package/dist/models/schemas/bff/casesSummary/SGetCasesSummaryBFF.js +9 -1
  8. package/dist/models/schemas/bff/casesSummary/SGetCasesSummaryBFF.js.map +1 -1
  9. package/dist/models/schemas/bff/contractorDocuments/SPostContractorDocumentBFF.d.ts +11 -296
  10. package/dist/models/schemas/bff/contractorDocuments/SPostContractorDocumentBFF.d.ts.map +1 -1
  11. package/dist/models/schemas/bff/contractorDocuments/SPostContractorDocumentBFF.js +1 -1
  12. package/dist/models/schemas/bff/contractorDocuments/SPostContractorDocumentBFF.js.map +1 -1
  13. package/dist/models/schemas/bff/engagementsSummary/SPostEngagementsWorkerSummaryBFF.d.ts +339 -0
  14. package/dist/models/schemas/bff/engagementsSummary/SPostEngagementsWorkerSummaryBFF.d.ts.map +1 -0
  15. package/dist/models/schemas/bff/engagementsSummary/SPostEngagementsWorkerSummaryBFF.js +9 -0
  16. package/dist/models/schemas/bff/engagementsSummary/SPostEngagementsWorkerSummaryBFF.js.map +1 -0
  17. package/dist/models/schemas/bff/engagementsSummary/index.d.ts +1 -0
  18. package/dist/models/schemas/bff/engagementsSummary/index.d.ts.map +1 -1
  19. package/dist/models/schemas/bff/engagementsSummary/index.js +1 -0
  20. package/dist/models/schemas/bff/engagementsSummary/index.js.map +1 -1
  21. package/dist/models/schemas/bff/helpers/CaseHelper.d.ts +38 -0
  22. package/dist/models/schemas/bff/helpers/CaseHelper.d.ts.map +1 -0
  23. package/dist/models/schemas/bff/helpers/CaseHelper.js +55 -0
  24. package/dist/models/schemas/bff/helpers/CaseHelper.js.map +1 -0
  25. package/dist/models/schemas/bff/helpers/CaseHelper.test.d.ts +2 -0
  26. package/dist/models/schemas/bff/helpers/CaseHelper.test.d.ts.map +1 -0
  27. package/dist/models/schemas/bff/helpers/CaseHelper.test.js +113 -0
  28. package/dist/models/schemas/bff/helpers/CaseHelper.test.js.map +1 -0
  29. package/dist/models/schemas/bff/personalDetails/SPostPersonalDetails.d.ts +7 -7
  30. package/package.json +1 -1
@@ -29,6 +29,52 @@ export declare const SGetCaseBFF: z.ZodObject<import("../../api/_entityTools/Sch
29
29
  readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30
30
  };
31
31
  }> & {
32
+ status: z.ZodEnum<["open", "closed"]>;
33
+ requiresResponse: z.ZodBoolean;
34
+ latestActivity: z.ZodOptional<z.ZodObject<import("../../api/_entityTools/SchemasEntityTools.js").TPrettyShape<{
35
+ readonly activityid: {
36
+ readonly pretty: "activityId";
37
+ readonly type: z.ZodString;
38
+ };
39
+ readonly activitytypecode: {
40
+ readonly pretty: "activityType";
41
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
42
+ };
43
+ readonly subject: {
44
+ readonly pretty: "subject";
45
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
46
+ };
47
+ readonly description: {
48
+ readonly pretty: "body";
49
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
50
+ };
51
+ readonly createdon: {
52
+ readonly pretty: "createdOn";
53
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
54
+ };
55
+ readonly modifiedon: {
56
+ readonly pretty: "modifiedOn";
57
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
58
+ };
59
+ }> & {
60
+ fromUser: z.ZodBoolean;
61
+ }, z.UnknownKeysParam, z.ZodTypeAny, {
62
+ activityId: string;
63
+ fromUser: boolean;
64
+ createdOn?: string | null | undefined;
65
+ modifiedOn?: string | null | undefined;
66
+ body?: string | null | undefined;
67
+ activityType?: string | null | undefined;
68
+ subject?: string | null | undefined;
69
+ }, {
70
+ activityId: string;
71
+ fromUser: boolean;
72
+ createdOn?: string | null | undefined;
73
+ modifiedOn?: string | null | undefined;
74
+ body?: string | null | undefined;
75
+ activityType?: string | null | undefined;
76
+ subject?: string | null | undefined;
77
+ }>>;
32
78
  activities: z.ZodOptional<z.ZodArray<z.ZodObject<import("../../api/_entityTools/SchemasEntityTools.js").TPrettyShape<{
33
79
  readonly activityid: {
34
80
  readonly pretty: "activityId";
@@ -74,7 +120,9 @@ export declare const SGetCaseBFF: z.ZodObject<import("../../api/_entityTools/Sch
74
120
  subject?: string | null | undefined;
75
121
  }>, "many">>;
76
122
  }, z.UnknownKeysParam, z.ZodTypeAny, {
123
+ status: "open" | "closed";
77
124
  caseId: string;
125
+ requiresResponse: boolean;
78
126
  createdOn?: string | null | undefined;
79
127
  modifiedOn?: string | null | undefined;
80
128
  stateCode?: number | null | undefined;
@@ -90,8 +138,19 @@ export declare const SGetCaseBFF: z.ZodObject<import("../../api/_entityTools/Sch
90
138
  activityType?: string | null | undefined;
91
139
  subject?: string | null | undefined;
92
140
  }[] | undefined;
141
+ latestActivity?: {
142
+ activityId: string;
143
+ fromUser: boolean;
144
+ createdOn?: string | null | undefined;
145
+ modifiedOn?: string | null | undefined;
146
+ body?: string | null | undefined;
147
+ activityType?: string | null | undefined;
148
+ subject?: string | null | undefined;
149
+ } | undefined;
93
150
  }, {
151
+ status: "open" | "closed";
94
152
  caseId: string;
153
+ requiresResponse: boolean;
95
154
  createdOn?: string | null | undefined;
96
155
  modifiedOn?: string | null | undefined;
97
156
  stateCode?: number | null | undefined;
@@ -107,6 +166,15 @@ export declare const SGetCaseBFF: z.ZodObject<import("../../api/_entityTools/Sch
107
166
  activityType?: string | null | undefined;
108
167
  subject?: string | null | undefined;
109
168
  }[] | undefined;
169
+ latestActivity?: {
170
+ activityId: string;
171
+ fromUser: boolean;
172
+ createdOn?: string | null | undefined;
173
+ modifiedOn?: string | null | undefined;
174
+ body?: string | null | undefined;
175
+ activityType?: string | null | undefined;
176
+ subject?: string | null | undefined;
177
+ } | undefined;
110
178
  }>;
111
179
  export declare const SCasePathParamsBFF: z.ZodObject<{
112
180
  caseId: z.ZodString;
@@ -1 +1 @@
1
- {"version":3,"file":"SGetCaseBFF.d.ts","sourceRoot":"","sources":["../../../../../src/models/schemas/bff/caseDetail/SGetCaseBFF.ts"],"names":[],"mappings":"AAAA,OAAO,CAAC,MAAM,KAAK,CAAA;AAkBnB,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAEtB,CAAA;AAEF,eAAO,MAAM,kBAAkB;;;;;;;;;EAG7B,CAAA;AAEF,MAAM,MAAM,kBAAkB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,kBAAkB,CAAC,CAAA;AACnE,MAAM,MAAM,WAAW,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,WAAW,CAAC,CAAA"}
1
+ {"version":3,"file":"SGetCaseBFF.d.ts","sourceRoot":"","sources":["../../../../../src/models/schemas/bff/caseDetail/SGetCaseBFF.ts"],"names":[],"mappings":"AAAA,OAAO,CAAC,MAAM,KAAK,CAAA;AAqBnB,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAKtB,CAAA;AAEF,eAAO,MAAM,kBAAkB;;;;;;;;;EAG7B,CAAA;AAEF,MAAM,MAAM,kBAAkB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,kBAAkB,CAAC,CAAA;AACnE,MAAM,MAAM,WAAW,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,WAAW,CAAC,CAAA"}
@@ -2,6 +2,7 @@ import z from 'zod';
2
2
  import { caseManagementFields } from '../../api/caseManagement/DCaseManagementAPI.js';
3
3
  import { createPrettySchema, pickPrettyFields, } from '../../api/_entityTools/SchemasEntityTools.js';
4
4
  import { SGetCaseActivityBFF } from './SGetCaseActivityBFF.js';
5
+ import { casePortalStatuses } from '../helpers/CaseHelper.js';
5
6
  const filteredFields = pickPrettyFields(caseManagementFields, [
6
7
  'caseTitle',
7
8
  'caseId',
@@ -11,7 +12,12 @@ const filteredFields = pickPrettyFields(caseManagementFields, [
11
12
  'createdOn',
12
13
  'modifiedOn',
13
14
  ]);
15
+ // `status`, `requiresResponse` and `latestActivity` are derived in the BFF
16
+ // (see helpers/CaseHelper.ts); `activities` holds only visible types, newest first.
14
17
  export const SGetCaseBFF = createPrettySchema(filteredFields).extend({
18
+ status: z.enum(casePortalStatuses),
19
+ requiresResponse: z.boolean(),
20
+ latestActivity: SGetCaseActivityBFF.optional(),
15
21
  activities: z.array(SGetCaseActivityBFF).optional(),
16
22
  });
17
23
  export const SCasePathParamsBFF = z.object({
@@ -1 +1 @@
1
- {"version":3,"file":"SGetCaseBFF.js","sourceRoot":"","sources":["../../../../../src/models/schemas/bff/caseDetail/SGetCaseBFF.ts"],"names":[],"mappings":"AAAA,OAAO,CAAC,MAAM,KAAK,CAAA;AACnB,OAAO,EAAE,oBAAoB,EAAE,MAAM,gDAAgD,CAAA;AACrF,OAAO,EACL,kBAAkB,EAClB,gBAAgB,GACjB,MAAM,8CAA8C,CAAA;AACrD,OAAO,EAAE,mBAAmB,EAAE,MAAM,0BAA0B,CAAA;AAE9D,MAAM,cAAc,GAAG,gBAAgB,CAAC,oBAAoB,EAAE;IAC5D,WAAW;IACX,QAAQ;IACR,cAAc;IACd,WAAW;IACX,YAAY;IACZ,WAAW;IACX,YAAY;CACb,CAAC,CAAA;AAEF,MAAM,CAAC,MAAM,WAAW,GAAG,kBAAkB,CAAC,cAAc,CAAC,CAAC,MAAM,CAAC;IACnE,UAAU,EAAE,CAAC,CAAC,KAAK,CAAC,mBAAmB,CAAC,CAAC,QAAQ,EAAE;CACpD,CAAC,CAAA;AAEF,MAAM,CAAC,MAAM,kBAAkB,GAAG,CAAC,CAAC,MAAM,CAAC;IACzC,MAAM,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE;IACzB,MAAM,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,CAAC,QAAQ,EAAE;CACrC,CAAC,CAAA"}
1
+ {"version":3,"file":"SGetCaseBFF.js","sourceRoot":"","sources":["../../../../../src/models/schemas/bff/caseDetail/SGetCaseBFF.ts"],"names":[],"mappings":"AAAA,OAAO,CAAC,MAAM,KAAK,CAAA;AACnB,OAAO,EAAE,oBAAoB,EAAE,MAAM,gDAAgD,CAAA;AACrF,OAAO,EACL,kBAAkB,EAClB,gBAAgB,GACjB,MAAM,8CAA8C,CAAA;AACrD,OAAO,EAAE,mBAAmB,EAAE,MAAM,0BAA0B,CAAA;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,0BAA0B,CAAA;AAE7D,MAAM,cAAc,GAAG,gBAAgB,CAAC,oBAAoB,EAAE;IAC5D,WAAW;IACX,QAAQ;IACR,cAAc;IACd,WAAW;IACX,YAAY;IACZ,WAAW;IACX,YAAY;CACb,CAAC,CAAA;AAEF,2EAA2E;AAC3E,oFAAoF;AACpF,MAAM,CAAC,MAAM,WAAW,GAAG,kBAAkB,CAAC,cAAc,CAAC,CAAC,MAAM,CAAC;IACnE,MAAM,EAAE,CAAC,CAAC,IAAI,CAAC,kBAAkB,CAAC;IAClC,gBAAgB,EAAE,CAAC,CAAC,OAAO,EAAE;IAC7B,cAAc,EAAE,mBAAmB,CAAC,QAAQ,EAAE;IAC9C,UAAU,EAAE,CAAC,CAAC,KAAK,CAAC,mBAAmB,CAAC,CAAC,QAAQ,EAAE;CACpD,CAAC,CAAA;AAEF,MAAM,CAAC,MAAM,kBAAkB,GAAG,CAAC,CAAC,MAAM,CAAC;IACzC,MAAM,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE;IACzB,MAAM,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,CAAC,QAAQ,EAAE;CACrC,CAAC,CAAA"}
@@ -28,22 +28,91 @@ export declare const SGetCasesSummaryBFF: z.ZodObject<import("../../api/_entityT
28
28
  readonly pretty: "modifiedOn";
29
29
  readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30
30
  };
31
- }>, z.UnknownKeysParam, z.ZodTypeAny, {
31
+ }> & {
32
+ status: z.ZodEnum<["open", "closed"]>;
33
+ requiresResponse: z.ZodBoolean;
34
+ latestActivity: z.ZodOptional<z.ZodObject<import("../../api/_entityTools/SchemasEntityTools.js").TPrettyShape<{
35
+ readonly activityid: {
36
+ readonly pretty: "activityId";
37
+ readonly type: z.ZodString;
38
+ };
39
+ readonly activitytypecode: {
40
+ readonly pretty: "activityType";
41
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
42
+ };
43
+ readonly subject: {
44
+ readonly pretty: "subject";
45
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
46
+ };
47
+ readonly description: {
48
+ readonly pretty: "body";
49
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
50
+ };
51
+ readonly createdon: {
52
+ readonly pretty: "createdOn";
53
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
54
+ };
55
+ readonly modifiedon: {
56
+ readonly pretty: "modifiedOn";
57
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
58
+ };
59
+ }> & {
60
+ fromUser: z.ZodBoolean;
61
+ }, z.UnknownKeysParam, z.ZodTypeAny, {
62
+ activityId: string;
63
+ fromUser: boolean;
64
+ createdOn?: string | null | undefined;
65
+ modifiedOn?: string | null | undefined;
66
+ body?: string | null | undefined;
67
+ activityType?: string | null | undefined;
68
+ subject?: string | null | undefined;
69
+ }, {
70
+ activityId: string;
71
+ fromUser: boolean;
72
+ createdOn?: string | null | undefined;
73
+ modifiedOn?: string | null | undefined;
74
+ body?: string | null | undefined;
75
+ activityType?: string | null | undefined;
76
+ subject?: string | null | undefined;
77
+ }>>;
78
+ }, z.UnknownKeysParam, z.ZodTypeAny, {
79
+ status: "open" | "closed";
32
80
  caseId: string;
81
+ requiresResponse: boolean;
33
82
  createdOn?: string | null | undefined;
34
83
  modifiedOn?: string | null | undefined;
35
84
  stateCode?: number | null | undefined;
36
85
  statusCode?: number | null | undefined;
37
86
  caseTitle?: string | null | undefined;
38
87
  ticketNumber?: string | null | undefined;
88
+ latestActivity?: {
89
+ activityId: string;
90
+ fromUser: boolean;
91
+ createdOn?: string | null | undefined;
92
+ modifiedOn?: string | null | undefined;
93
+ body?: string | null | undefined;
94
+ activityType?: string | null | undefined;
95
+ subject?: string | null | undefined;
96
+ } | undefined;
39
97
  }, {
98
+ status: "open" | "closed";
40
99
  caseId: string;
100
+ requiresResponse: boolean;
41
101
  createdOn?: string | null | undefined;
42
102
  modifiedOn?: string | null | undefined;
43
103
  stateCode?: number | null | undefined;
44
104
  statusCode?: number | null | undefined;
45
105
  caseTitle?: string | null | undefined;
46
106
  ticketNumber?: string | null | undefined;
107
+ latestActivity?: {
108
+ activityId: string;
109
+ fromUser: boolean;
110
+ createdOn?: string | null | undefined;
111
+ modifiedOn?: string | null | undefined;
112
+ body?: string | null | undefined;
113
+ activityType?: string | null | undefined;
114
+ subject?: string | null | undefined;
115
+ } | undefined;
47
116
  }>;
48
117
  export declare const SCasesSummaryPathParamsBFF: z.ZodObject<{
49
118
  userId: z.ZodString;
@@ -1 +1 @@
1
- {"version":3,"file":"SGetCasesSummaryBFF.d.ts","sourceRoot":"","sources":["../../../../../src/models/schemas/bff/casesSummary/SGetCasesSummaryBFF.ts"],"names":[],"mappings":"AAAA,OAAO,CAAC,MAAM,KAAK,CAAA;AAiBnB,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAAqC,CAAA;AAErE,eAAO,MAAM,0BAA0B;;;;;;EAErC,CAAA;AAEF,MAAM,MAAM,mBAAmB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,mBAAmB,CAAC,CAAA;AACrE,MAAM,MAAM,0BAA0B,GAAG,CAAC,CAAC,KAAK,CAC9C,OAAO,0BAA0B,CAClC,CAAA"}
1
+ {"version":3,"file":"SGetCasesSummaryBFF.d.ts","sourceRoot":"","sources":["../../../../../src/models/schemas/bff/casesSummary/SGetCasesSummaryBFF.ts"],"names":[],"mappings":"AAAA,OAAO,CAAC,MAAM,KAAK,CAAA;AAqBnB,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAI9B,CAAA;AAEF,eAAO,MAAM,0BAA0B;;;;;;EAErC,CAAA;AAEF,MAAM,MAAM,mBAAmB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,mBAAmB,CAAC,CAAA;AACrE,MAAM,MAAM,0BAA0B,GAAG,CAAC,CAAC,KAAK,CAC9C,OAAO,0BAA0B,CAClC,CAAA"}
@@ -1,6 +1,8 @@
1
1
  import z from 'zod';
2
2
  import { caseManagementFields } from '../../api/caseManagement/DCaseManagementAPI.js';
3
3
  import { createPrettySchema, pickPrettyFields, } from '../../api/_entityTools/SchemasEntityTools.js';
4
+ import { SGetCaseActivityBFF } from '../caseDetail/SGetCaseActivityBFF.js';
5
+ import { casePortalStatuses } from '../helpers/CaseHelper.js';
4
6
  const filteredFields = pickPrettyFields(caseManagementFields, [
5
7
  'caseTitle',
6
8
  'caseId',
@@ -10,7 +12,13 @@ const filteredFields = pickPrettyFields(caseManagementFields, [
10
12
  'createdOn',
11
13
  'modifiedOn',
12
14
  ]);
13
- export const SGetCasesSummaryBFF = createPrettySchema(filteredFields);
15
+ // `status`, `requiresResponse` and `latestActivity` are derived in the BFF
16
+ // (see helpers/CaseHelper.ts) so the portals never re-implement the rules.
17
+ export const SGetCasesSummaryBFF = createPrettySchema(filteredFields).extend({
18
+ status: z.enum(casePortalStatuses),
19
+ requiresResponse: z.boolean(),
20
+ latestActivity: SGetCaseActivityBFF.optional(),
21
+ });
14
22
  export const SCasesSummaryPathParamsBFF = z.object({
15
23
  userId: z.string().uuid(),
16
24
  });
@@ -1 +1 @@
1
- {"version":3,"file":"SGetCasesSummaryBFF.js","sourceRoot":"","sources":["../../../../../src/models/schemas/bff/casesSummary/SGetCasesSummaryBFF.ts"],"names":[],"mappings":"AAAA,OAAO,CAAC,MAAM,KAAK,CAAA;AACnB,OAAO,EAAE,oBAAoB,EAAE,MAAM,gDAAgD,CAAA;AACrF,OAAO,EACL,kBAAkB,EAClB,gBAAgB,GACjB,MAAM,8CAA8C,CAAA;AAErD,MAAM,cAAc,GAAG,gBAAgB,CAAC,oBAAoB,EAAE;IAC5D,WAAW;IACX,QAAQ;IACR,cAAc;IACd,WAAW;IACX,YAAY;IACZ,WAAW;IACX,YAAY;CACb,CAAC,CAAA;AAEF,MAAM,CAAC,MAAM,mBAAmB,GAAG,kBAAkB,CAAC,cAAc,CAAC,CAAA;AAErE,MAAM,CAAC,MAAM,0BAA0B,GAAG,CAAC,CAAC,MAAM,CAAC;IACjD,MAAM,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE;CAC1B,CAAC,CAAA"}
1
+ {"version":3,"file":"SGetCasesSummaryBFF.js","sourceRoot":"","sources":["../../../../../src/models/schemas/bff/casesSummary/SGetCasesSummaryBFF.ts"],"names":[],"mappings":"AAAA,OAAO,CAAC,MAAM,KAAK,CAAA;AACnB,OAAO,EAAE,oBAAoB,EAAE,MAAM,gDAAgD,CAAA;AACrF,OAAO,EACL,kBAAkB,EAClB,gBAAgB,GACjB,MAAM,8CAA8C,CAAA;AACrD,OAAO,EAAE,mBAAmB,EAAE,MAAM,sCAAsC,CAAA;AAC1E,OAAO,EAAE,kBAAkB,EAAE,MAAM,0BAA0B,CAAA;AAE7D,MAAM,cAAc,GAAG,gBAAgB,CAAC,oBAAoB,EAAE;IAC5D,WAAW;IACX,QAAQ;IACR,cAAc;IACd,WAAW;IACX,YAAY;IACZ,WAAW;IACX,YAAY;CACb,CAAC,CAAA;AAEF,2EAA2E;AAC3E,2EAA2E;AAC3E,MAAM,CAAC,MAAM,mBAAmB,GAAG,kBAAkB,CAAC,cAAc,CAAC,CAAC,MAAM,CAAC;IAC3E,MAAM,EAAE,CAAC,CAAC,IAAI,CAAC,kBAAkB,CAAC;IAClC,gBAAgB,EAAE,CAAC,CAAC,OAAO,EAAE;IAC7B,cAAc,EAAE,mBAAmB,CAAC,QAAQ,EAAE;CAC/C,CAAC,CAAA;AAEF,MAAM,CAAC,MAAM,0BAA0B,GAAG,CAAC,CAAC,MAAM,CAAC;IACjD,MAAM,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE;CAC1B,CAAC,CAAA"}
@@ -286,21 +286,21 @@ export declare const SPostContractorDocumentsBFF: z.ZodObject<Pick<import("../..
286
286
  readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
287
287
  };
288
288
  }>, "type" | "category" | "statusCode" | "contractorDocumentId" | "fileName"> & {
289
- etag: z.ZodOptional<z.ZodNullable<z.ZodString>>;
289
+ fileDelete: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
290
290
  }, z.UnknownKeysParam, z.ZodTypeAny, {
291
291
  type?: number | null | undefined;
292
292
  category?: number | null | undefined;
293
- etag?: string | null | undefined;
294
293
  statusCode?: number | null | undefined;
295
294
  contractorDocumentId?: string | null | undefined;
296
295
  fileName?: string | null | undefined;
296
+ fileDelete?: boolean | null | undefined;
297
297
  }, {
298
298
  type?: number | null | undefined;
299
299
  category?: number | null | undefined;
300
- etag?: string | null | undefined;
301
300
  statusCode?: number | null | undefined;
302
301
  contractorDocumentId?: string | null | undefined;
303
302
  fileName?: string | null | undefined;
303
+ fileDelete?: boolean | null | undefined;
304
304
  }>;
305
305
  export declare const SPostContractorDocumentsFileBFF: z.ZodObject<{
306
306
  fileBinary: z.ZodAny;
@@ -318,316 +318,31 @@ export declare const SDeleteContractorDocumentsBFF: z.ZodObject<{
318
318
  }>;
319
319
  export type TPostContractorDocumentsBFF = z.infer<typeof SPostContractorDocumentsBFF>;
320
320
  export type TPostContractorDocumentsFileBFF = z.infer<typeof SPostContractorDocumentsFileBFF>;
321
- export declare const SContractorDocumentsFormBFF: z.ZodObject<Pick<import("../../api/_entityTools/SchemasEntityTools.js").TPrettyShape<{
322
- readonly _ownerid_value: {
323
- readonly pretty: "ownerIdValue";
324
- readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
325
- };
326
- readonly _owningbusinessunit_value: {
327
- readonly pretty: "owningBusinessUnitValue";
328
- readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
329
- };
330
- readonly _owningteam_value: {
331
- readonly pretty: "owningTeamValue";
332
- readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
333
- };
334
- readonly _owninguser_value: {
335
- readonly pretty: "owningUserValue";
336
- readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
337
- };
338
- readonly '@odata.etag': {
339
- readonly pretty: "etag";
340
- readonly type: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodString>>, string | null | undefined, string | null | undefined>;
341
- };
342
- readonly versionnumber: {
343
- readonly pretty: "versionNumber";
344
- readonly type: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
345
- };
346
- readonly _createdby_value: {
347
- readonly pretty: "createdByValue";
348
- readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
349
- };
350
- readonly createdon: {
351
- readonly pretty: "createdOn";
352
- readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
353
- };
354
- readonly _createdonbehalfby_value: {
355
- readonly pretty: "createdOnBehalfByValue";
356
- readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
357
- };
358
- readonly _modifiedby_value: {
359
- readonly pretty: "modifiedByValue";
360
- readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
361
- };
362
- readonly modifiedon: {
363
- readonly pretty: "modifiedOn";
364
- readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
365
- };
366
- readonly _modifiedonbehalfby_value: {
367
- readonly pretty: "modifiedOnBehalfByValue";
368
- readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
369
- };
370
- readonly statecode: {
371
- readonly pretty: "stateCode";
372
- readonly type: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
373
- };
374
- readonly statuscode: {
375
- readonly pretty: "statusCode";
376
- readonly type: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
377
- };
378
- readonly importsequencenumber: {
379
- readonly pretty: "importSequenceNumber";
380
- readonly type: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
381
- };
382
- readonly overriddencreatedon: {
383
- readonly pretty: "overriddenCreatedOn";
384
- readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
385
- };
386
- readonly timezoneruleversionnumber: {
387
- readonly pretty: "timezoneRuleVersionNumber";
388
- readonly type: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodNumber, z.ZodString]>>>;
389
- };
390
- readonly utcconversiontimezonecode: {
391
- readonly pretty: "utcConversionTimezoneCode";
392
- readonly type: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodNumber, z.ZodString]>>>;
393
- };
394
- } & {
395
- readonly _ww_contractor_value: {
396
- readonly relationshipName: "ww_Contractor";
397
- readonly entity: "contacts";
398
- readonly pretty: "contractorValue";
399
- readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
400
- };
401
- readonly _ww_directorapproved_value: {
402
- readonly relationshipName: "ww_DirectorApproved";
403
- readonly entity: "contacts";
404
- readonly pretty: "directorApprovedValue";
405
- readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
406
- };
407
- readonly _ww_scats_contractingContractor_value: {
408
- readonly pretty: "scatsContractingContractorValue";
409
- readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
410
- };
411
- readonly ww_contractordocumentid: {
412
- readonly pretty: "contractorDocumentId";
413
- readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
414
- };
415
- readonly ww_customeripaddress: {
416
- readonly pretty: "customerIpAddress";
417
- readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
418
- };
419
- readonly ww_directorapprovalrequired: {
420
- readonly pretty: "directorApprovalRequired";
421
- readonly type: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
422
- };
423
- readonly ww_directorapproveddate: {
424
- readonly pretty: "directorApprovedDate";
425
- readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
426
- };
427
- readonly ww_documentid: {
428
- readonly pretty: "documentId";
429
- readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
430
- };
431
- readonly ww_documentreceiveddate: {
432
- readonly pretty: "documentReceivedDate";
433
- readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
434
- };
435
- readonly ww_documentstatus: {
436
- readonly pretty: "documentStatus";
437
- readonly type: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
438
- };
439
- readonly ww_documentdisplay: {
440
- readonly pretty: "documentDisplay";
441
- readonly type: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
442
- };
443
- readonly ww_file: {
444
- readonly pretty: "file";
445
- readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
446
- };
447
- readonly ww_file_name: {
448
- readonly pretty: "fileName";
449
- readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
450
- };
451
- readonly ww_requirescontractorsignature: {
452
- readonly pretty: "requiresContractorSignature";
453
- readonly type: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
454
- };
455
- readonly ww_signedon: {
456
- readonly pretty: "signedOn";
457
- readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
458
- };
459
- readonly ww_type: {
460
- readonly pretty: "type";
461
- readonly type: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
462
- };
463
- readonly ww_uploadedfromweb: {
464
- readonly pretty: "uploadedFromWeb";
465
- readonly type: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
466
- };
467
- readonly ww_workerapproved: {
468
- readonly pretty: "workerApproved";
469
- readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
470
- };
471
- readonly ww_Contractor: {
472
- readonly pretty: "contractor";
473
- readonly entityKey: "contact";
474
- };
475
- readonly ww_DirectorApproved: {
476
- readonly pretty: "directorApproved";
477
- readonly entityKey: "contact";
478
- };
479
- readonly _ww_account_value: {
480
- readonly pretty: "accountValue";
481
- readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
482
- };
483
- readonly ww_attachment: {
484
- readonly pretty: "attachment";
485
- readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
486
- };
487
- readonly ww_attachment_name: {
488
- readonly pretty: "attachmentName";
489
- readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
490
- };
491
- readonly ww_category: {
492
- readonly pretty: "category";
493
- readonly type: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
494
- };
495
- readonly ww_date6catssigned: {
496
- readonly pretty: "date6catsSigned";
497
- readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
498
- };
499
- readonly ww_dateagencysigned: {
500
- readonly pretty: "dateAgencySigned";
501
- readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
502
- };
503
- readonly ww_datereceived: {
504
- readonly pretty: "dateReceived";
505
- readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
506
- };
507
- readonly ww_datereviewed: {
508
- readonly pretty: "dateReviewed";
509
- readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
510
- };
511
- readonly ww_documentrefnumber: {
512
- readonly pretty: "documentRefNumber";
513
- readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
514
- };
515
- readonly ww_documenttype: {
516
- readonly pretty: "documentType";
517
- readonly type: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
518
- };
519
- readonly ww_ipaddress: {
520
- readonly pretty: "ipAddress";
521
- readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
522
- };
523
- readonly ww_name: {
524
- readonly pretty: "name";
525
- readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
526
- };
527
- readonly ww_signature: {
528
- readonly pretty: "signature";
529
- readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
530
- };
531
- readonly ww_signature_timestamp: {
532
- readonly pretty: "signatureTimestamp";
533
- readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
534
- };
535
- readonly ww_signature_url: {
536
- readonly pretty: "signatureUrl";
537
- readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
538
- };
539
- readonly ww_signatureid: {
540
- readonly pretty: "signatureId";
541
- readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
542
- };
543
- readonly ww_validfrom: {
544
- readonly pretty: "validFrom";
545
- readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
546
- };
547
- readonly ww_validto: {
548
- readonly pretty: "validTo";
549
- readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
550
- };
551
- readonly ww_documentreceivedtime: {
552
- readonly pretty: "documentReceivedTime";
553
- readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
554
- };
555
- readonly ww_source: {
556
- readonly pretty: "source";
557
- readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
558
- };
559
- readonly _ww_changerequestdocuments_value: {
560
- readonly pretty: "changeRequestDocumentsValue";
561
- readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
562
- };
563
- readonly ww_identityverificationstatus: {
564
- readonly pretty: "identityVerificationStatus";
565
- readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
566
- };
567
- readonly _ww_simulation_value: {
568
- readonly pretty: "simulationValue";
569
- readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
570
- };
571
- readonly ww_employmenttype: {
572
- readonly pretty: "employmentType";
573
- readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
574
- };
575
- readonly _ww_assignmentextensions_value: {
576
- readonly pretty: "assignmentExtensionsValue";
577
- readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
578
- };
579
- readonly ww_reasons: {
580
- readonly pretty: "reasons";
581
- readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
582
- };
583
- readonly ww_contracttype: {
584
- readonly pretty: "contractType";
585
- readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
586
- };
587
- readonly ww_requiredbeforelegalapproval: {
588
- readonly pretty: "requiredBeforeLegalApproval";
589
- readonly type: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
590
- };
591
- readonly ww_value: {
592
- readonly pretty: "value";
593
- readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
594
- };
595
- readonly ww_limitedcompanyname: {
596
- readonly pretty: "limitedCompanyName";
597
- readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
598
- };
599
- readonly ww_config: {
600
- readonly pretty: "config";
601
- readonly type: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
602
- };
603
- readonly ww_identityverificationurl: {
604
- readonly pretty: "identityVerificationUrl";
605
- readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
606
- };
607
- }>, "type" | "category" | "statusCode" | "contractorDocumentId" | "fileName"> & {
608
- etag: z.ZodOptional<z.ZodNullable<z.ZodString>>;
609
- } & {
321
+ export declare const SContractorDocumentsFormBFF: z.ZodObject<{
322
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
323
+ readonly category: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
324
+ readonly statusCode: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
325
+ readonly contractorDocumentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
326
+ readonly fileName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
610
327
  fileBinary: z.ZodAny;
611
328
  } & {
612
329
  fileDelete: z.ZodOptional<z.ZodBoolean>;
613
330
  }, "strip", z.ZodTypeAny, {
614
331
  type?: number | null | undefined;
615
332
  category?: number | null | undefined;
616
- etag?: string | null | undefined;
617
333
  statusCode?: number | null | undefined;
618
334
  contractorDocumentId?: string | null | undefined;
619
335
  fileName?: string | null | undefined;
620
- fileBinary?: any;
621
336
  fileDelete?: boolean | undefined;
337
+ fileBinary?: any;
622
338
  }, {
623
339
  type?: number | null | undefined;
624
340
  category?: number | null | undefined;
625
- etag?: string | null | undefined;
626
341
  statusCode?: number | null | undefined;
627
342
  contractorDocumentId?: string | null | undefined;
628
343
  fileName?: string | null | undefined;
629
- fileBinary?: any;
630
344
  fileDelete?: boolean | undefined;
345
+ fileBinary?: any;
631
346
  }>;
632
347
  export type TContractorDocumentsFormBFF = z.infer<typeof SContractorDocumentsFormBFF>;
633
348
  export declare const SPostContractDocumentFile: z.ZodObject<Pick<import("../../api/_entityTools/SchemasEntityTools.js").TPrettyShape<{
@@ -1 +1 @@
1
- {"version":3,"file":"SPostContractorDocumentBFF.d.ts","sourceRoot":"","sources":["../../../../../src/models/schemas/bff/contractorDocuments/SPostContractorDocumentBFF.ts"],"names":[],"mappings":"AAAA,OAAO,CAAC,MAAM,KAAK,CAAA;AAGnB,eAAO,MAAM,2BAA2B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EASpC,CAAA;AAEJ,eAAO,MAAM,+BAA+B;;;;;;EAE1C,CAAA;AACF,eAAO,MAAM,6BAA6B;;;;;;EAExC,CAAA;AAEF,MAAM,MAAM,2BAA2B,GAAG,CAAC,CAAC,KAAK,CAC/C,OAAO,2BAA2B,CACnC,CAAA;AACD,MAAM,MAAM,+BAA+B,GAAG,CAAC,CAAC,KAAK,CACnD,OAAO,+BAA+B,CACvC,CAAA;AAED,eAAO,MAAM,2BAA2B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAEF,CAAA;AAEtC,MAAM,MAAM,2BAA2B,GAAG,CAAC,CAAC,KAAK,CAC/C,OAAO,2BAA2B,CACnC,CAAA;AACD,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAIlC,CAAA;AACJ,MAAM,MAAM,yBAAyB,GAAG,CAAC,CAAC,KAAK,CAC7C,OAAO,yBAAyB,CACjC,CAAA"}
1
+ {"version":3,"file":"SPostContractorDocumentBFF.d.ts","sourceRoot":"","sources":["../../../../../src/models/schemas/bff/contractorDocuments/SPostContractorDocumentBFF.ts"],"names":[],"mappings":"AAAA,OAAO,CAAC,MAAM,KAAK,CAAA;AAGnB,eAAO,MAAM,2BAA2B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EASpC,CAAA;AAEJ,eAAO,MAAM,+BAA+B;;;;;;EAE1C,CAAA;AACF,eAAO,MAAM,6BAA6B;;;;;;EAExC,CAAA;AAEF,MAAM,MAAM,2BAA2B,GAAG,CAAC,CAAC,KAAK,CAC/C,OAAO,2BAA2B,CACnC,CAAA;AACD,MAAM,MAAM,+BAA+B,GAAG,CAAC,CAAC,KAAK,CACnD,OAAO,+BAA+B,CACvC,CAAA;AAED,eAAO,MAAM,2BAA2B;;;;;;;;;;;;;;;;;;;;;;;;;EAEF,CAAA;AAEtC,MAAM,MAAM,2BAA2B,GAAG,CAAC,CAAC,KAAK,CAC/C,OAAO,2BAA2B,CACnC,CAAA;AACD,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAIlC,CAAA;AACJ,MAAM,MAAM,yBAAyB,GAAG,CAAC,CAAC,KAAK,CAC7C,OAAO,yBAAyB,CACjC,CAAA"}
@@ -7,7 +7,7 @@ export const SPostContractorDocumentsBFF = ContractorDocumentEntity.SResponseAPI
7
7
  statusCode: true,
8
8
  fileName: true,
9
9
  }).extend({
10
- etag: z.string().nullish(),
10
+ fileDelete: z.boolean().nullish(),
11
11
  });
12
12
  export const SPostContractorDocumentsFileBFF = z.object({
13
13
  fileBinary: z.any(),
@@ -1 +1 @@
1
- {"version":3,"file":"SPostContractorDocumentBFF.js","sourceRoot":"","sources":["../../../../../src/models/schemas/bff/contractorDocuments/SPostContractorDocumentBFF.ts"],"names":[],"mappings":"AAAA,OAAO,CAAC,MAAM,KAAK,CAAA;AACnB,OAAO,EAAE,wBAAwB,EAAE,MAAM,oBAAoB,CAAA;AAE7D,MAAM,CAAC,MAAM,2BAA2B,GACtC,wBAAwB,CAAC,YAAY,CAAC,IAAI,CAAC;IACzC,oBAAoB,EAAE,IAAI;IAC1B,QAAQ,EAAE,IAAI;IACd,IAAI,EAAE,IAAI;IACV,UAAU,EAAE,IAAI;IAChB,QAAQ,EAAE,IAAI;CACf,CAAC,CAAC,MAAM,CAAC;IACR,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,OAAO,EAAE;CAC3B,CAAC,CAAA;AAEJ,MAAM,CAAC,MAAM,+BAA+B,GAAG,CAAC,CAAC,MAAM,CAAC;IACtD,UAAU,EAAE,CAAC,CAAC,GAAG,EAAE;CACpB,CAAC,CAAA;AACF,MAAM,CAAC,MAAM,6BAA6B,GAAG,CAAC,CAAC,MAAM,CAAC;IACpD,UAAU,EAAE,CAAC,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAE;CACnC,CAAC,CAAA;AASF,MAAM,CAAC,MAAM,2BAA2B,GAAG,2BAA2B,CAAC,KAAK,CAC1E,+BAA+B,CAChC,CAAC,KAAK,CAAC,6BAA6B,CAAC,CAAA;AAKtC,MAAM,CAAC,MAAM,yBAAyB,GACpC,wBAAwB,CAAC,YAAY,CAAC,IAAI,CAAC;IACzC,IAAI,EAAE,IAAI;IACV,QAAQ,EAAE,IAAI;CACf,CAAC,CAAA"}
1
+ {"version":3,"file":"SPostContractorDocumentBFF.js","sourceRoot":"","sources":["../../../../../src/models/schemas/bff/contractorDocuments/SPostContractorDocumentBFF.ts"],"names":[],"mappings":"AAAA,OAAO,CAAC,MAAM,KAAK,CAAA;AACnB,OAAO,EAAE,wBAAwB,EAAE,MAAM,oBAAoB,CAAA;AAE7D,MAAM,CAAC,MAAM,2BAA2B,GACtC,wBAAwB,CAAC,YAAY,CAAC,IAAI,CAAC;IACzC,oBAAoB,EAAE,IAAI;IAC1B,QAAQ,EAAE,IAAI;IACd,IAAI,EAAE,IAAI;IACV,UAAU,EAAE,IAAI;IAChB,QAAQ,EAAE,IAAI;CACf,CAAC,CAAC,MAAM,CAAC;IACR,UAAU,EAAE,CAAC,CAAC,OAAO,EAAE,CAAC,OAAO,EAAE;CAClC,CAAC,CAAA;AAEJ,MAAM,CAAC,MAAM,+BAA+B,GAAG,CAAC,CAAC,MAAM,CAAC;IACtD,UAAU,EAAE,CAAC,CAAC,GAAG,EAAE;CACpB,CAAC,CAAA;AACF,MAAM,CAAC,MAAM,6BAA6B,GAAG,CAAC,CAAC,MAAM,CAAC;IACpD,UAAU,EAAE,CAAC,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAE;CACnC,CAAC,CAAA;AASF,MAAM,CAAC,MAAM,2BAA2B,GAAG,2BAA2B,CAAC,KAAK,CAC1E,+BAA+B,CAChC,CAAC,KAAK,CAAC,6BAA6B,CAAC,CAAA;AAKtC,MAAM,CAAC,MAAM,yBAAyB,GACpC,wBAAwB,CAAC,YAAY,CAAC,IAAI,CAAC;IACzC,IAAI,EAAE,IAAI;IACV,QAAQ,EAAE,IAAI;CACf,CAAC,CAAA"}