@smartytalent/api-client 0.1.33-dev.2 → 0.1.33-dev.3

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.
@@ -103,7 +103,7 @@ export interface EmailAttributesSchema {
103
103
  */
104
104
  isExternalSender?: boolean;
105
105
  /**
106
- * Attachments referenced by URL into the service-owned S3 buckets. Presigned fetch URLs are not included; use the corresponding resource's download flow.
106
+ * Attachments on the email. For user-uploaded attachments: frontend creates a File via POST /v1/files (which returns a presigned PUT URL), uploads to S3, then references the File here with `type: "files"` and the returned `url`/`fileId`. For system-generated attachments (job/persona/report PDFs) the eventbus / outbound path populates these automatically.
107
107
  * @type {Array<EmailAttributesSchemaAttachmentsInner>}
108
108
  * @memberof EmailAttributesSchema
109
109
  */
@@ -114,6 +114,24 @@ export interface EmailAttributesSchema {
114
114
  * @memberof EmailAttributesSchema
115
115
  */
116
116
  conversationLanguageCode?: string;
117
+ /**
118
+ * Application-layer pointer to the email this one replies to. Used by the UI to render an 'in reply to' link in thread views. Set by the compose flow (frontend passes the parent on Reply) and by the broker when an inbound email matches an outbound via RFC 5322 In-Reply-To. Separate from meta.reference which carries the raw SMTP header chain.
119
+ * @type {string}
120
+ * @memberof EmailAttributesSchema
121
+ */
122
+ parentEmailId?: string | null;
123
+ /**
124
+ * Denormalised user id of the sender for outbound emails (the boe workflow user, or the human composer). Frontend joins this against its local user cache to render avatar + display name without a per-row API call. Null on inbound mail.
125
+ * @type {string}
126
+ * @memberof EmailAttributesSchema
127
+ */
128
+ fromUserId?: string | null;
129
+ /**
130
+ * Denormalised candidate id of the sender for inbound replies from a candidate in an active conversation. Frontend joins this against its local candidate cache to render initials and the candidate name. Null on outbound mail and on anonymous inbound that didn't match a candidate.
131
+ * @type {string}
132
+ * @memberof EmailAttributesSchema
133
+ */
134
+ fromCandidateId?: string | null;
117
135
  /**
118
136
  *
119
137
  * @type {string}
@@ -1 +1 @@
1
- {"version":3,"file":"EmailAttributesSchema.d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;OAIG;IACH,IAAI,CAAC,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAC;KAAE,CAAC;IAC/B;;;;OAIG;IACH,UAAU,CAAC,EAAE,wBAAwB,CAAC;CACzC;AAGD;;GAEG;AACH,eAAO,MAAM,+BAA+B;;;;;;;;CAQlC,CAAC;AACX,MAAM,MAAM,+BAA+B,GAAG,OAAO,+BAA+B,CAAC,MAAM,OAAO,+BAA+B,CAAC,CAAC;AAEnI;;GAEG;AACH,eAAO,MAAM,kCAAkC;;;CAGrC,CAAC;AACX,MAAM,MAAM,kCAAkC,GAAG,OAAO,kCAAkC,CAAC,MAAM,OAAO,kCAAkC,CAAC,CAAC;AAG5I;;GAEG;AACH,wBAAgB,+BAA+B,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,qBAAqB,CAE7F;AAED,wBAAgB,6BAA6B,CAAC,IAAI,EAAE,GAAG,GAAG,qBAAqB,CAE9E;AAED,wBAAgB,kCAAkC,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,qBAAqB,CA8BjH;AAED,wBAAgB,2BAA2B,CAAC,IAAI,EAAE,GAAG,GAAG,qBAAqB,CAE5E;AAED,wBAAgB,gCAAgC,CAAC,KAAK,CAAC,EAAE,qBAAqB,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CA+BhI"}
@@ -71,6 +71,9 @@ function EmailAttributesSchemaFromJSONTyped(json, ignoreDiscriminator) {
71
71
  'isExternalSender': json['isExternalSender'] == null ? undefined : json['isExternalSender'],
72
72
  'attachments': json['attachments'] == null ? undefined : (json['attachments'].map(EmailAttributesSchemaAttachmentsInner_1.EmailAttributesSchemaAttachmentsInnerFromJSON)),
73
73
  'conversationLanguageCode': json['conversationLanguageCode'] == null ? undefined : json['conversationLanguageCode'],
74
+ 'parentEmailId': json['parentEmailId'] == null ? undefined : json['parentEmailId'],
75
+ 'fromUserId': json['fromUserId'] == null ? undefined : json['fromUserId'],
76
+ 'fromCandidateId': json['fromCandidateId'] == null ? undefined : json['fromCandidateId'],
74
77
  'ttl': json['ttl'] == null ? undefined : json['ttl'],
75
78
  'sendScheduleDate': json['sendScheduleDate'] == null ? undefined : json['sendScheduleDate'],
76
79
  'meta': json['meta'] == null ? undefined : json['meta'],
@@ -101,6 +104,9 @@ function EmailAttributesSchemaToJSONTyped(value, ignoreDiscriminator = false) {
101
104
  'isExternalSender': value['isExternalSender'],
102
105
  'attachments': value['attachments'] == null ? undefined : (value['attachments'].map(EmailAttributesSchemaAttachmentsInner_1.EmailAttributesSchemaAttachmentsInnerToJSON)),
103
106
  'conversationLanguageCode': value['conversationLanguageCode'],
107
+ 'parentEmailId': value['parentEmailId'],
108
+ 'fromUserId': value['fromUserId'],
109
+ 'fromCandidateId': value['fromCandidateId'],
104
110
  'ttl': value['ttl'],
105
111
  'sendScheduleDate': value['sendScheduleDate'],
106
112
  'meta': value['meta'],
@@ -1 +1 @@
1
- {"version":3,"file":"EmailAttributesSchema.js","sourceRoot":"","sources":["../../src/models/EmailAttributesSchema.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;;AAsLH,0EAEC;AAED,sEAEC;AAED,gFA2BC;AAED,kEAEC;AAED,4EA4BC;AAvPD,iFAKwC;AAExC,mGAKiD;AAEjD,yEAKoC;AAoIpC;;GAEG;AACU,QAAA,+BAA+B,GAAG;IAC3C,KAAK,EAAE,OAAO;IACd,SAAS,EAAE,WAAW;IACtB,IAAI,EAAE,MAAM;IACZ,UAAU,EAAE,YAAY;IACxB,QAAQ,EAAE,UAAU;IACpB,MAAM,EAAE,QAAQ;IAChB,OAAO,EAAE,SAAS;CACZ,CAAC;AAGX;;GAEG;AACU,QAAA,kCAAkC,GAAG;IAC9C,OAAO,EAAE,SAAS;IAClB,QAAQ,EAAE,UAAU;CACd,CAAC;AAIX;;GAEG;AACH,SAAgB,+BAA+B,CAAC,KAAa;IACz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AAE,IAAA,iEAAkC,EAAC,KAAK,CAAC,SAAS,CAAC,CAAC;QAC/D,MAAM,EAAE,IAAA,iEAAkC,EAAC,KAAK,CAAC,MAAM,CAAC,CAAC;QACzD,WAAW,EAAE,KAAK,CAAC,WAAW,CAAC;QAC/B,QAAQ,EAAE,KAAK,CAAC,QAAQ,CAAC;QACzB,SAAS,EAAE,KAAK,CAAC,SAAS,CAAC;QAC3B,YAAY,EAAE,KAAK,CAAC,YAAY,CAAC;QACjC,kBAAkB,EAAE,KAAK,CAAC,kBAAkB,CAAC;QAC7C,aAAa,EAAE,KAAK,CAAC,aAAa,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,CAAE,KAAK,CAAC,aAAa,CAAgB,CAAC,GAAG,CAAC,mFAA2C,CAAC,CAAC;QACjJ,0BAA0B,EAAE,KAAK,CAAC,0BAA0B,CAAC;QAC7D,eAAe,EAAE,KAAK,CAAC,eAAe,CAAC;QACvC,YAAY,EAAE,KAAK,CAAC,YAAY,CAAC;QACjC,iBAAiB,EAAE,KAAK,CAAC,iBAAiB,CAAC;QAC3C,KAAK,EAAE,KAAK,CAAC,KAAK,CAAC;QACnB,kBAAkB,EAAE,KAAK,CAAC,kBAAkB,CAAC;QAC7C,MAAM,EAAE,KAAK,CAAC,MAAM,CAAC;QACrB,YAAY,EAAE,IAAA,yDAA8B,EAAC,KAAK,CAAC,YAAY,CAAC,CAAC;KACpE,CAAC;AACN,CAAC"}
@@ -16,23 +16,47 @@
16
16
  */
17
17
  export interface EmailAttributesSchemaAttachmentsInner {
18
18
  /**
19
- *
19
+ * Display name shown in the mail client and used as the attachment filename on send.
20
20
  * @type {string}
21
21
  * @memberof EmailAttributesSchemaAttachmentsInner
22
22
  */
23
23
  fileName?: string;
24
24
  /**
25
- *
25
+ * S3 URL of the stored file. For user-uploaded attachments this is the path returned by POST /v1/files; for system-generated attachments (job/persona/report PDFs) it is the resource's own S3 path.
26
26
  * @type {string}
27
27
  * @memberof EmailAttributesSchemaAttachmentsInner
28
28
  */
29
29
  url?: string;
30
30
  /**
31
- * Resource type this attachment belongs to: jobs, personas, talents, candidates, reports, files, ads.
31
+ * Resource type this attachment belongs to. User-uploaded attachments use `files`; system-generated attachments use the owning resource type: `jobs`, `personas`, `talents`, `candidates`, `reports`, `ads`.
32
32
  * @type {string}
33
33
  * @memberof EmailAttributesSchemaAttachmentsInner
34
34
  */
35
35
  type?: string;
36
+ /**
37
+ * When `type == "files"`, the file resource ID so the frontend can resolve the latest file metadata (status, processing state) without parsing the URL.
38
+ * @type {string}
39
+ * @memberof EmailAttributesSchemaAttachmentsInner
40
+ */
41
+ fileId?: string | null;
42
+ /**
43
+ * File size in bytes. Frontend displays it in the compose preview and mail list. Set by the upload flow from the Content-Length of the S3 object; absent on legacy rows.
44
+ * @type {number}
45
+ * @memberof EmailAttributesSchemaAttachmentsInner
46
+ */
47
+ size?: number | null;
48
+ /**
49
+ * MIME type (e.g. `application/pdf`, `image/png`). Drives icon selection in the UI and the Content-Type header in the outbound MIME part. Absent on legacy rows; frontend should fall back to extension inference.
50
+ * @type {string}
51
+ * @memberof EmailAttributesSchemaAttachmentsInner
52
+ */
53
+ contentType?: string | null;
54
+ /**
55
+ * Optional S3 URL of a PNG preview (first-page render for PDFs/DOCX). Populated by the file service's conversion pipeline when a preview is available. Absent for non-previewable types.
56
+ * @type {string}
57
+ * @memberof EmailAttributesSchemaAttachmentsInner
58
+ */
59
+ thumbnailUrl?: string | null;
36
60
  }
37
61
  /**
38
62
  * Check if a given object implements the EmailAttributesSchemaAttachmentsInner interface.
@@ -1 +1 @@
1
- {"version":3,"file":"EmailAttributesSchemaAttachmentsInner.d.ts","sourceRoot":"","sources":["../../src/models/EmailAttributesSchemaAttachmentsInner.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH;;;;GAIG;AACH,MAAM,WAAW,qCAAqC;IAClD;;;;OAIG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB;;;;OAIG;IACH,GAAG,CAAC,EAAE,MAAM,CAAC;IACb;;;;OAIG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;CACjB;AAED;;GAEG;AACH,wBAAgB,+CAA+C,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,qCAAqC,CAE7H;AAED,wBAAgB,6CAA6C,CAAC,IAAI,EAAE,GAAG,GAAG,qCAAqC,CAE9G;AAED,wBAAgB,kDAAkD,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,qCAAqC,CAUjJ;AAED,wBAAgB,2CAA2C,CAAC,IAAI,EAAE,GAAG,GAAG,qCAAqC,CAE5G;AAED,wBAAgB,gDAAgD,CAAC,KAAK,CAAC,EAAE,qCAAqC,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAWhK"}
1
+ {"version":3,"file":"EmailAttributesSchemaAttachmentsInner.d.ts","sourceRoot":"","sources":["../../src/models/EmailAttributesSchemaAttachmentsInner.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH;;;;GAIG;AACH,MAAM,WAAW,qCAAqC;IAClD;;;;OAIG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB;;;;OAIG;IACH,GAAG,CAAC,EAAE,MAAM,CAAC;IACb;;;;OAIG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;;;OAIG;IACH,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACvB;;;;OAIG;IACH,IAAI,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACrB;;;;OAIG;IACH,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC5B;;;;OAIG;IACH,YAAY,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CAChC;AAED;;GAEG;AACH,wBAAgB,+CAA+C,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,qCAAqC,CAE7H;AAED,wBAAgB,6CAA6C,CAAC,IAAI,EAAE,GAAG,GAAG,qCAAqC,CAE9G;AAED,wBAAgB,kDAAkD,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,qCAAqC,CAcjJ;AAED,wBAAgB,2CAA2C,CAAC,IAAI,EAAE,GAAG,GAAG,qCAAqC,CAE5G;AAED,wBAAgB,gDAAgD,CAAC,KAAK,CAAC,EAAE,qCAAqC,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAehK"}
@@ -35,6 +35,10 @@ function EmailAttributesSchemaAttachmentsInnerFromJSONTyped(json, ignoreDiscrimi
35
35
  'fileName': json['fileName'] == null ? undefined : json['fileName'],
36
36
  'url': json['url'] == null ? undefined : json['url'],
37
37
  'type': json['type'] == null ? undefined : json['type'],
38
+ 'fileId': json['fileId'] == null ? undefined : json['fileId'],
39
+ 'size': json['size'] == null ? undefined : json['size'],
40
+ 'contentType': json['contentType'] == null ? undefined : json['contentType'],
41
+ 'thumbnailUrl': json['thumbnailUrl'] == null ? undefined : json['thumbnailUrl'],
38
42
  };
39
43
  }
40
44
  function EmailAttributesSchemaAttachmentsInnerToJSON(json) {
@@ -48,6 +52,10 @@ function EmailAttributesSchemaAttachmentsInnerToJSONTyped(value, ignoreDiscrimin
48
52
  'fileName': value['fileName'],
49
53
  'url': value['url'],
50
54
  'type': value['type'],
55
+ 'fileId': value['fileId'],
56
+ 'size': value['size'],
57
+ 'contentType': value['contentType'],
58
+ 'thumbnailUrl': value['thumbnailUrl'],
51
59
  };
52
60
  }
53
61
  //# sourceMappingURL=EmailAttributesSchemaAttachmentsInner.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"EmailAttributesSchemaAttachmentsInner.js","sourceRoot":"","sources":["../../src/models/EmailAttributesSchemaAttachmentsInner.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;AAgCH,0GAEC;AAED,sGAEC;AAED,gHAUC;AAED,kGAEC;AAED,4GAWC;AAtCD;;GAEG;AACH,SAAgB,+CAA+C,CAAC,KAAa;IACzE,OAAO,IAAI,CAAC;AAChB,CAAC;AAED,SAAgB,6CAA6C,CAAC,IAAS;IACnE,OAAO,kDAAkD,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AAC3E,CAAC;AAED,SAAgB,kDAAkD,CAAC,IAAS,EAAE,mBAA4B;IACtG,IAAI,IAAI,IAAI,IAAI,EAAE,CAAC;QACf,OAAO,IAAI,CAAC;IAChB,CAAC;IACD,OAAO;QAEH,UAAU,EAAE,IAAI,CAAC,UAAU,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,IAAI,CAAC,UAAU,CAAC;QACnE,KAAK,EAAE,IAAI,CAAC,KAAK,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC;QACpD,MAAM,EAAE,IAAI,CAAC,MAAM,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC;KAC1D,CAAC;AACN,CAAC;AAED,SAAgB,2CAA2C,CAAC,IAAS;IACjE,OAAO,gDAAgD,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AACzE,CAAC;AAED,SAAgB,gDAAgD,CAAC,KAAoD,EAAE,sBAA+B,KAAK;IACvJ,IAAI,KAAK,IAAI,IAAI,EAAE,CAAC;QAChB,OAAO,KAAK,CAAC;IACjB,CAAC;IAED,OAAO;QAEH,UAAU,EAAE,KAAK,CAAC,UAAU,CAAC;QAC7B,KAAK,EAAE,KAAK,CAAC,KAAK,CAAC;QACnB,MAAM,EAAE,KAAK,CAAC,MAAM,CAAC;KACxB,CAAC;AACN,CAAC"}
1
+ {"version":3,"file":"EmailAttributesSchemaAttachmentsInner.js","sourceRoot":"","sources":["../../src/models/EmailAttributesSchemaAttachmentsInner.ts"],"names":[],"mappings":";AAAA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AAS,CAAC,CAAC,CAAC,IAAI,CAAC,cAAc,CAAC;KAClF,CAAC;AACN,CAAC;AAED,SAAgB,2CAA2C,CAAC,IAAS;IACjE,OAAO,gDAAgD,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AACzE,CAAC;AAED,SAAgB,gDAAgD,CAAC,KAAoD,EAAE,sBAA+B,KAAK;IACvJ,IAAI,KAAK,IAAI,IAAI,EAAE,CAAC;QAChB,OAAO,KAAK,CAAC;IACjB,CAAC;IAED,OAAO;QAEH,UAAU,EAAE,KAAK,CAAC,UAAU,CAAC;QAC7B,KAAK,EAAE,KAAK,CAAC,KAAK,CAAC;QACnB,MAAM,EAAE,KAAK,CAAC,MAAM,CAAC;QACrB,QAAQ,EAAE,KAAK,CAAC,QAAQ,CAAC;QACzB,MAAM,EAAE,KAAK,CAAC,MAAM,CAAC;QACrB,aAAa,EAAE,KAAK,CAAC,aAAa,CAAC;QACnC,cAAc,EAAE,KAAK,CAAC,cAAc,CAAC;KACxC,CAAC;AACN,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smartytalent/api-client",
3
- "version": "0.1.33-dev.2",
3
+ "version": "0.1.33-dev.3",
4
4
  "description": "TypeScript API client generated from SmartyTalent OpenAPI spec",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",