@workwell-global/toolkit 1.1.22 → 1.1.23

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.
@@ -256,12 +256,12 @@ export declare const SGetCaseBFF: z.ZodObject<import("../../api/_entityTools/Sch
256
256
  readonly pretty: "isPartyDeleted";
257
257
  readonly type: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
258
258
  };
259
- }>, "addressUsed">, z.UnknownKeysParam, z.ZodTypeAny, {
260
- addressUsed?: string | null | undefined;
259
+ }>, "contactId">, z.UnknownKeysParam, z.ZodTypeAny, {
260
+ contactId: string;
261
261
  }, {
262
- addressUsed?: string | null | undefined;
262
+ contactId: string;
263
263
  }>>>, "many">>, any[] | undefined, ({
264
- addressUsed?: string | null | undefined;
264
+ contactId: string;
265
265
  } | null | undefined)[] | undefined>;
266
266
  }, z.UnknownKeysParam, z.ZodTypeAny, {
267
267
  emailId: string;
@@ -282,7 +282,7 @@ export declare const SGetCaseBFF: z.ZodObject<import("../../api/_entityTools/Sch
282
282
  subject?: string | null | undefined;
283
283
  emailBody?: string | null | undefined;
284
284
  emailParties?: ({
285
- addressUsed?: string | null | undefined;
285
+ contactId: string;
286
286
  } | null | undefined)[] | undefined;
287
287
  attachments?: ({
288
288
  activityMimeAttachmentId: string;
@@ -315,7 +315,7 @@ export declare const SGetCaseBFF: z.ZodObject<import("../../api/_entityTools/Sch
315
315
  subject?: string | null | undefined;
316
316
  emailBody?: string | null | undefined;
317
317
  emailParties?: ({
318
- addressUsed?: string | null | undefined;
318
+ contactId: string;
319
319
  } | null | undefined)[] | undefined;
320
320
  attachments?: ({
321
321
  activityMimeAttachmentId: string;
@@ -246,12 +246,12 @@ export declare const SGetCaseEmailBFF: z.ZodObject<import("../../api/_entityTool
246
246
  readonly pretty: "isPartyDeleted";
247
247
  readonly type: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
248
248
  };
249
- }>, "addressUsed">, z.UnknownKeysParam, z.ZodTypeAny, {
250
- addressUsed?: string | null | undefined;
249
+ }>, "contactId">, z.UnknownKeysParam, z.ZodTypeAny, {
250
+ contactId: string;
251
251
  }, {
252
- addressUsed?: string | null | undefined;
252
+ contactId: string;
253
253
  }>>>, "many">>, any[] | undefined, ({
254
- addressUsed?: string | null | undefined;
254
+ contactId: string;
255
255
  } | null | undefined)[] | undefined>;
256
256
  }, z.UnknownKeysParam, z.ZodTypeAny, {
257
257
  emailId: string;
@@ -272,7 +272,7 @@ export declare const SGetCaseEmailBFF: z.ZodObject<import("../../api/_entityTool
272
272
  subject?: string | null | undefined;
273
273
  emailBody?: string | null | undefined;
274
274
  emailParties?: ({
275
- addressUsed?: string | null | undefined;
275
+ contactId: string;
276
276
  } | null | undefined)[] | undefined;
277
277
  attachments?: ({
278
278
  activityMimeAttachmentId: string;
@@ -19,8 +19,8 @@ export const SGetCaseEmailBFF = createPrettySchema(filteredFields).extend({
19
19
  if (!parties)
20
20
  return undefined;
21
21
  return parties
22
- .filter((party) => party?.addressUsed)
23
- .map((party) => party.addressUsed);
22
+ .filter((party) => party?.contactId)
23
+ .map((party) => party.contactId);
24
24
  }),
25
25
  });
26
26
  //# sourceMappingURL=SGetCaseEmailBFF.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"SGetCaseEmailBFF.js","sourceRoot":"","sources":["../../../../../src/models/schemas/bff/caseDetail/SGetCaseEmailBFF.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AACvB,OAAO,EAAE,uBAAuB,EAAE,MAAM,iCAAiC,CAAA;AAEzE,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,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,EAAE;IACxD,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"}
@@ -113,10 +113,10 @@ export declare const SCaseEmailPartiesBFF: z.ZodOptional<z.ZodNullable<z.ZodObje
113
113
  readonly pretty: "isPartyDeleted";
114
114
  readonly type: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
115
115
  };
116
- }>, "addressUsed">, z.UnknownKeysParam, z.ZodTypeAny, {
117
- addressUsed?: string | null | undefined;
116
+ }>, "contactId">, z.UnknownKeysParam, z.ZodTypeAny, {
117
+ contactId: string;
118
118
  }, {
119
- addressUsed?: string | null | undefined;
119
+ contactId: string;
120
120
  }>>>;
121
121
  export type TGetCaseEmailPartiesBFF = z.infer<typeof SCaseEmailPartiesBFF>;
122
122
  //# sourceMappingURL=SGetCaseEmailPartiesBFF.d.ts.map
@@ -1,6 +1,6 @@
1
1
  import { z } from 'zod';
2
2
  import { ActivityPartyEntity } from '../../api/index.js';
3
3
  export const SCaseEmailPartiesBFF = ActivityPartyEntity.SResponseAPI.pick({
4
- addressUsed: true,
4
+ contactId: true,
5
5
  }).nullish();
6
6
  //# sourceMappingURL=SGetCaseEmailPartiesBFF.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"SGetCaseEmailPartiesBFF.js","sourceRoot":"","sources":["../../../../../src/models/schemas/bff/caseDetail/SGetCaseEmailPartiesBFF.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AACvB,OAAO,EAAE,mBAAmB,EAAE,MAAM,oBAAoB,CAAA;AAExD,MAAM,CAAC,MAAM,oBAAoB,GAAG,mBAAmB,CAAC,YAAY,CAAC,IAAI,CAAC;IACxE,WAAW,EAAE,IAAI;CAClB,CAAC,CAAC,OAAO,EAAE,CAAA"}
1
+ {"version":3,"file":"SGetCaseEmailPartiesBFF.js","sourceRoot":"","sources":["../../../../../src/models/schemas/bff/caseDetail/SGetCaseEmailPartiesBFF.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AACvB,OAAO,EAAE,mBAAmB,EAAE,MAAM,oBAAoB,CAAA;AAExD,MAAM,CAAC,MAAM,oBAAoB,GAAG,mBAAmB,CAAC,YAAY,CAAC,IAAI,CAAC;IACxE,SAAS,EAAE,IAAI;CAChB,CAAC,CAAC,OAAO,EAAE,CAAA"}
@@ -113,10 +113,10 @@ export declare const SCaseEmailPartiesBFF: z.ZodOptional<z.ZodNullable<z.ZodObje
113
113
  readonly pretty: "isPartyDeleted";
114
114
  readonly type: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
115
115
  };
116
- }>, "addressUsed">, z.UnknownKeysParam, z.ZodTypeAny, {
117
- addressUsed?: string | null | undefined;
116
+ }>, "contactId">, z.UnknownKeysParam, z.ZodTypeAny, {
117
+ contactId: string;
118
118
  }, {
119
- addressUsed?: string | null | undefined;
119
+ contactId: string;
120
120
  }>>>;
121
121
  export type TGetCaseEmailPartiesBFF = z.infer<typeof SCaseEmailPartiesBFF>;
122
122
  //# sourceMappingURL=SGetCaseEmailPartiesBFF.d.ts.map
@@ -1,6 +1,6 @@
1
1
  import { z } from 'zod';
2
2
  import { ActivityPartyEntity } from '../../api/index.js';
3
3
  export const SCaseEmailPartiesBFF = ActivityPartyEntity.SResponseAPI.pick({
4
- addressUsed: true,
4
+ contactId: true,
5
5
  }).nullish();
6
6
  //# sourceMappingURL=SGetCaseEmailPartiesBFF.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"SGetCaseEmailPartiesBFF.js","sourceRoot":"","sources":["../../../../../src/models/schemas/bff/casesSummary/SGetCaseEmailPartiesBFF.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AACvB,OAAO,EAAE,mBAAmB,EAAE,MAAM,oBAAoB,CAAA;AAExD,MAAM,CAAC,MAAM,oBAAoB,GAAG,mBAAmB,CAAC,YAAY,CAAC,IAAI,CAAC;IACxE,WAAW,EAAE,IAAI;CAClB,CAAC,CAAC,OAAO,EAAE,CAAA"}
1
+ {"version":3,"file":"SGetCaseEmailPartiesBFF.js","sourceRoot":"","sources":["../../../../../src/models/schemas/bff/casesSummary/SGetCaseEmailPartiesBFF.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AACvB,OAAO,EAAE,mBAAmB,EAAE,MAAM,oBAAoB,CAAA;AAExD,MAAM,CAAC,MAAM,oBAAoB,GAAG,mBAAmB,CAAC,YAAY,CAAC,IAAI,CAAC;IACxE,SAAS,EAAE,IAAI;CAChB,CAAC,CAAC,OAAO,EAAE,CAAA"}
@@ -135,12 +135,12 @@ export declare const SGetCasesSummaryEmailBFF: z.ZodObject<import("../../api/_en
135
135
  readonly pretty: "isPartyDeleted";
136
136
  readonly type: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
137
137
  };
138
- }>, "addressUsed">, z.UnknownKeysParam, z.ZodTypeAny, {
139
- addressUsed?: string | null | undefined;
138
+ }>, "contactId">, z.UnknownKeysParam, z.ZodTypeAny, {
139
+ contactId: string;
140
140
  }, {
141
- addressUsed?: string | null | undefined;
141
+ contactId: string;
142
142
  }>>>, "many">>, any[] | undefined, ({
143
- addressUsed?: string | null | undefined;
143
+ contactId: string;
144
144
  } | null | undefined)[] | undefined>;
145
145
  }, z.UnknownKeysParam, z.ZodTypeAny, {
146
146
  emailId: string;
@@ -156,7 +156,7 @@ export declare const SGetCasesSummaryEmailBFF: z.ZodObject<import("../../api/_en
156
156
  subject?: string | null | undefined;
157
157
  emailBody?: string | null | undefined;
158
158
  emailParties?: ({
159
- addressUsed?: string | null | undefined;
159
+ contactId: string;
160
160
  } | null | undefined)[] | undefined;
161
161
  }>;
162
162
  export type TGetCasesSummaryEmailBFF = z.infer<typeof SGetCasesSummaryEmailBFF>;
@@ -17,8 +17,8 @@ export const SGetCasesSummaryEmailBFF = createPrettySchema(filteredFields).exten
17
17
  if (!parties)
18
18
  return undefined;
19
19
  return parties
20
- .filter((party) => party?.addressUsed)
21
- .map((party) => party.addressUsed);
20
+ .filter((party) => party?.contactId)
21
+ .map((party) => party.contactId);
22
22
  }),
23
23
  });
24
24
  //# sourceMappingURL=SGetCasesSummaryEmailBFF.js.map
@@ -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;CACV,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,WAAW,CAAC;aAC1C,GAAG,CAAC,CAAC,KAAU,EAAE,EAAE,CAAC,KAAK,CAAC,WAAW,CAAC,CAAA;IAC3C,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,WAAW;IACX,cAAc;IACd,QAAQ;IACR,SAAS;CACV,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"}
package/package.json CHANGED
@@ -7,7 +7,7 @@
7
7
  "name": "@workwell-global/toolkit",
8
8
  "type": "module",
9
9
  "types": "dist/index.d.ts",
10
- "version": "1.1.22",
10
+ "version": "1.1.23",
11
11
  "files": [
12
12
  "dist"
13
13
  ],