@smartytalent/api-client 0.9.51 → 0.9.53

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 (38) hide show
  1. package/dist/apis/CareersApi.d.ts +4 -4
  2. package/dist/apis/CareersApi.js +4 -4
  3. package/dist/apis/SubmissionsApi.d.ts +2 -2
  4. package/dist/apis/SubmissionsApi.js +2 -2
  5. package/dist/models/CareerAttributesSchema.d.ts +68 -2
  6. package/dist/models/CareerAttributesSchema.d.ts.map +1 -1
  7. package/dist/models/CareerAttributesSchema.js +15 -1
  8. package/dist/models/CareerAttributesSchema.js.map +1 -1
  9. package/dist/models/CareersPrivacyFieldsSchema.d.ts +69 -0
  10. package/dist/models/CareersPrivacyFieldsSchema.d.ts.map +1 -0
  11. package/dist/models/CareersPrivacyFieldsSchema.js +61 -0
  12. package/dist/models/CareersPrivacyFieldsSchema.js.map +1 -0
  13. package/dist/models/CareersPrivacySchema.d.ts +79 -0
  14. package/dist/models/CareersPrivacySchema.d.ts.map +1 -0
  15. package/dist/models/CareersPrivacySchema.js +59 -0
  16. package/dist/models/CareersPrivacySchema.js.map +1 -0
  17. package/dist/models/CareersPrivacySectionSchema.d.ts +49 -0
  18. package/dist/models/CareersPrivacySectionSchema.d.ts.map +1 -0
  19. package/dist/models/CareersPrivacySectionSchema.js +53 -0
  20. package/dist/models/CareersPrivacySectionSchema.js.map +1 -0
  21. package/dist/models/CreateGuestSubmissionRequest.d.ts +20 -2
  22. package/dist/models/CreateGuestSubmissionRequest.d.ts.map +1 -1
  23. package/dist/models/CreateGuestSubmissionRequest.js +6 -0
  24. package/dist/models/CreateGuestSubmissionRequest.js.map +1 -1
  25. package/dist/models/JobAttributesSchema.d.ts +30 -0
  26. package/dist/models/JobAttributesSchema.d.ts.map +1 -1
  27. package/dist/models/JobAttributesSchema.js +8 -0
  28. package/dist/models/JobAttributesSchema.js.map +1 -1
  29. package/dist/models/JobResourceSchema.d.ts +1 -1
  30. package/dist/models/UpdateCareerRequestBodyDataAttributes.d.ts +20 -0
  31. package/dist/models/UpdateCareerRequestBodyDataAttributes.d.ts.map +1 -1
  32. package/dist/models/UpdateCareerRequestBodyDataAttributes.js +12 -1
  33. package/dist/models/UpdateCareerRequestBodyDataAttributes.js.map +1 -1
  34. package/dist/models/index.d.ts +3 -0
  35. package/dist/models/index.d.ts.map +1 -1
  36. package/dist/models/index.js +3 -0
  37. package/dist/models/index.js.map +1 -1
  38. package/package.json +1 -1
@@ -76,12 +76,12 @@ export declare class CareersApi extends runtime.BaseAPI {
76
76
  */
77
77
  createCareerRequestOpts(requestParameters: CreateCareerRequest): Promise<runtime.RequestOpts>;
78
78
  /**
79
- * Resolve-or-create the tenant\'s careers-page SINGLETON. Creates the draft (deterministic id, version 0) when none exists; returns the EXISTING row untouched otherwise - attributes are seed-only and silently ignored on resolve. Requires the recruiting tier or above (403 otherwise). A page is always born draft; publish it with PATCH status=active.
79
+ * Resolve-or-create the tenant\'s careers-page SINGLETON. Creates the draft (deterministic id, version 0) when none exists; returns the EXISTING row untouched otherwise - attributes are seed-only and silently ignored on resolve. Requires owner / admin (support = admin) or sysowner (403 SM_CAREERS_ROLE otherwise). A page is always born draft; publish it with PATCH status=active. A new row is seeded with the default privacy notice template (`privacy`, draft) for the owner to complete and publish with PATCH privacyStatus=active.
80
80
  * Create Career
81
81
  */
82
82
  createCareerRaw(requestParameters: CreateCareerRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<CareerSchema>>;
83
83
  /**
84
- * Resolve-or-create the tenant\'s careers-page SINGLETON. Creates the draft (deterministic id, version 0) when none exists; returns the EXISTING row untouched otherwise - attributes are seed-only and silently ignored on resolve. Requires the recruiting tier or above (403 otherwise). A page is always born draft; publish it with PATCH status=active.
84
+ * Resolve-or-create the tenant\'s careers-page SINGLETON. Creates the draft (deterministic id, version 0) when none exists; returns the EXISTING row untouched otherwise - attributes are seed-only and silently ignored on resolve. Requires owner / admin (support = admin) or sysowner (403 SM_CAREERS_ROLE otherwise). A page is always born draft; publish it with PATCH status=active. A new row is seeded with the default privacy notice template (`privacy`, draft) for the owner to complete and publish with PATCH privacyStatus=active.
85
85
  * Create Career
86
86
  */
87
87
  createCareer(requestParameters: CreateCareerRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<CareerSchema>;
@@ -132,12 +132,12 @@ export declare class CareersApi extends runtime.BaseAPI {
132
132
  */
133
133
  updateCareerRequestOpts(requestParameters: UpdateCareerRequest): Promise<runtime.RequestOpts>;
134
134
  /**
135
- * Edits the draft copy and/or runs a lifecycle transition. - `content` / `name` / `sourceLanguage` edits land on the DRAFT. - `status: active` is the PUBLISH door: the effective content is publish-validated - a 400 carries ONE error object PER violation, each with `source.pointer` - then frozen into `publishedContent` (`version += 1`) and the flat public doc (enabled blocks only) lands on the CDN. Re-sending `active` re-publishes. - `status: archived` REMOVES the CDN object; repeating it retries a failed takedown. Reactivating (archived->active) re-publishes. - `translate: true` async-fills missing locale entries of the draft. - `generate: true` async-composes a WHOLE draft from the tenant\'s brand and its published live roles. It cannot ride a status change, is refused on an archived page, and a draft that already carries authored text is a 409 SM_CAREERS_DRAFT_NOT_EMPTY unless `generateOverwrite: true` rides along. Sent together with `translate`, the generator hands off to translate at the end so the two async jobs never race over one draft. - Concurrency: send `If-Match: \"<revision>\"` - a mismatch is a 409 SM_CAREERS_STALE. `revision` bumps on every write.
135
+ * Edits the draft copy and/or runs a lifecycle transition. - `content` / `name` / `sourceLanguage` edits land on the DRAFT. - `status: active` is the PUBLISH door: the effective content is publish-validated - a 400 carries ONE error object PER violation, each with `source.pointer` - then frozen into `publishedContent` (`version += 1`) and the flat public doc (enabled blocks only) lands on the CDN. Re-sending `active` re-publishes. - `status: archived` REMOVES the CDN object; repeating it retries a failed takedown. Reactivating (archived->active) re-publishes. - `translate: true` async-fills missing locale entries of the draft (the page content AND the privacy notice draft). - `privacy` edits the privacy notice DRAFT (the whole object, like content). `privacyStatus: active` is the notice\'s OWN publish door, independent of the page\'s status: publish-validated (400 with one error PER violation, codes SM_PRIVACY_*, each with source.pointer under /data/attributes/privacy/...), placeholders substituted, frozen into `publishedPrivacy`; the notice version moves only when its text changed; the immutable tenants/{shortCode}/privacy/v{N}.json and the current tenants/{shortCode}/privacy.json land on the CDN. Archiving the page does NOT take the notice down (applications keep needing it). - `generate: true` async-composes a WHOLE draft from the tenant\'s brand and its published live roles. It cannot ride a status change, is refused on an archived page, and a draft that already carries authored text is a 409 SM_CAREERS_DRAFT_NOT_EMPTY unless `generateOverwrite: true` rides along. Sent together with `translate`, the generator hands off to translate at the end so the two async jobs never race over one draft. - Concurrency: send `If-Match: \"<revision>\"` - a mismatch is a 409 SM_CAREERS_STALE. `revision` bumps on every write.
136
136
  * Update Career
137
137
  */
138
138
  updateCareerRaw(requestParameters: UpdateCareerRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<CareerSchema>>;
139
139
  /**
140
- * Edits the draft copy and/or runs a lifecycle transition. - `content` / `name` / `sourceLanguage` edits land on the DRAFT. - `status: active` is the PUBLISH door: the effective content is publish-validated - a 400 carries ONE error object PER violation, each with `source.pointer` - then frozen into `publishedContent` (`version += 1`) and the flat public doc (enabled blocks only) lands on the CDN. Re-sending `active` re-publishes. - `status: archived` REMOVES the CDN object; repeating it retries a failed takedown. Reactivating (archived->active) re-publishes. - `translate: true` async-fills missing locale entries of the draft. - `generate: true` async-composes a WHOLE draft from the tenant\'s brand and its published live roles. It cannot ride a status change, is refused on an archived page, and a draft that already carries authored text is a 409 SM_CAREERS_DRAFT_NOT_EMPTY unless `generateOverwrite: true` rides along. Sent together with `translate`, the generator hands off to translate at the end so the two async jobs never race over one draft. - Concurrency: send `If-Match: \"<revision>\"` - a mismatch is a 409 SM_CAREERS_STALE. `revision` bumps on every write.
140
+ * Edits the draft copy and/or runs a lifecycle transition. - `content` / `name` / `sourceLanguage` edits land on the DRAFT. - `status: active` is the PUBLISH door: the effective content is publish-validated - a 400 carries ONE error object PER violation, each with `source.pointer` - then frozen into `publishedContent` (`version += 1`) and the flat public doc (enabled blocks only) lands on the CDN. Re-sending `active` re-publishes. - `status: archived` REMOVES the CDN object; repeating it retries a failed takedown. Reactivating (archived->active) re-publishes. - `translate: true` async-fills missing locale entries of the draft (the page content AND the privacy notice draft). - `privacy` edits the privacy notice DRAFT (the whole object, like content). `privacyStatus: active` is the notice\'s OWN publish door, independent of the page\'s status: publish-validated (400 with one error PER violation, codes SM_PRIVACY_*, each with source.pointer under /data/attributes/privacy/...), placeholders substituted, frozen into `publishedPrivacy`; the notice version moves only when its text changed; the immutable tenants/{shortCode}/privacy/v{N}.json and the current tenants/{shortCode}/privacy.json land on the CDN. Archiving the page does NOT take the notice down (applications keep needing it). - `generate: true` async-composes a WHOLE draft from the tenant\'s brand and its published live roles. It cannot ride a status change, is refused on an archived page, and a draft that already carries authored text is a 409 SM_CAREERS_DRAFT_NOT_EMPTY unless `generateOverwrite: true` rides along. Sent together with `translate`, the generator hands off to translate at the end so the two async jobs never race over one draft. - Concurrency: send `If-Match: \"<revision>\"` - a mismatch is a 409 SM_CAREERS_STALE. `revision` bumps on every write.
141
141
  * Update Career
142
142
  */
143
143
  updateCareer(requestParameters: UpdateCareerRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<CareerSchema>;
@@ -144,7 +144,7 @@ class CareersApi extends runtime.BaseAPI {
144
144
  };
145
145
  }
146
146
  /**
147
- * Resolve-or-create the tenant\'s careers-page SINGLETON. Creates the draft (deterministic id, version 0) when none exists; returns the EXISTING row untouched otherwise - attributes are seed-only and silently ignored on resolve. Requires the recruiting tier or above (403 otherwise). A page is always born draft; publish it with PATCH status=active.
147
+ * Resolve-or-create the tenant\'s careers-page SINGLETON. Creates the draft (deterministic id, version 0) when none exists; returns the EXISTING row untouched otherwise - attributes are seed-only and silently ignored on resolve. Requires owner / admin (support = admin) or sysowner (403 SM_CAREERS_ROLE otherwise). A page is always born draft; publish it with PATCH status=active. A new row is seeded with the default privacy notice template (`privacy`, draft) for the owner to complete and publish with PATCH privacyStatus=active.
148
148
  * Create Career
149
149
  */
150
150
  async createCareerRaw(requestParameters, initOverrides) {
@@ -153,7 +153,7 @@ class CareersApi extends runtime.BaseAPI {
153
153
  return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.CareerSchemaFromJSON)(jsonValue));
154
154
  }
155
155
  /**
156
- * Resolve-or-create the tenant\'s careers-page SINGLETON. Creates the draft (deterministic id, version 0) when none exists; returns the EXISTING row untouched otherwise - attributes are seed-only and silently ignored on resolve. Requires the recruiting tier or above (403 otherwise). A page is always born draft; publish it with PATCH status=active.
156
+ * Resolve-or-create the tenant\'s careers-page SINGLETON. Creates the draft (deterministic id, version 0) when none exists; returns the EXISTING row untouched otherwise - attributes are seed-only and silently ignored on resolve. Requires owner / admin (support = admin) or sysowner (403 SM_CAREERS_ROLE otherwise). A page is always born draft; publish it with PATCH status=active. A new row is seeded with the default privacy notice template (`privacy`, draft) for the owner to complete and publish with PATCH privacyStatus=active.
157
157
  * Create Career
158
158
  */
159
159
  async createCareer(requestParameters, initOverrides) {
@@ -342,7 +342,7 @@ class CareersApi extends runtime.BaseAPI {
342
342
  };
343
343
  }
344
344
  /**
345
- * Edits the draft copy and/or runs a lifecycle transition. - `content` / `name` / `sourceLanguage` edits land on the DRAFT. - `status: active` is the PUBLISH door: the effective content is publish-validated - a 400 carries ONE error object PER violation, each with `source.pointer` - then frozen into `publishedContent` (`version += 1`) and the flat public doc (enabled blocks only) lands on the CDN. Re-sending `active` re-publishes. - `status: archived` REMOVES the CDN object; repeating it retries a failed takedown. Reactivating (archived->active) re-publishes. - `translate: true` async-fills missing locale entries of the draft. - `generate: true` async-composes a WHOLE draft from the tenant\'s brand and its published live roles. It cannot ride a status change, is refused on an archived page, and a draft that already carries authored text is a 409 SM_CAREERS_DRAFT_NOT_EMPTY unless `generateOverwrite: true` rides along. Sent together with `translate`, the generator hands off to translate at the end so the two async jobs never race over one draft. - Concurrency: send `If-Match: \"<revision>\"` - a mismatch is a 409 SM_CAREERS_STALE. `revision` bumps on every write.
345
+ * Edits the draft copy and/or runs a lifecycle transition. - `content` / `name` / `sourceLanguage` edits land on the DRAFT. - `status: active` is the PUBLISH door: the effective content is publish-validated - a 400 carries ONE error object PER violation, each with `source.pointer` - then frozen into `publishedContent` (`version += 1`) and the flat public doc (enabled blocks only) lands on the CDN. Re-sending `active` re-publishes. - `status: archived` REMOVES the CDN object; repeating it retries a failed takedown. Reactivating (archived->active) re-publishes. - `translate: true` async-fills missing locale entries of the draft (the page content AND the privacy notice draft). - `privacy` edits the privacy notice DRAFT (the whole object, like content). `privacyStatus: active` is the notice\'s OWN publish door, independent of the page\'s status: publish-validated (400 with one error PER violation, codes SM_PRIVACY_*, each with source.pointer under /data/attributes/privacy/...), placeholders substituted, frozen into `publishedPrivacy`; the notice version moves only when its text changed; the immutable tenants/{shortCode}/privacy/v{N}.json and the current tenants/{shortCode}/privacy.json land on the CDN. Archiving the page does NOT take the notice down (applications keep needing it). - `generate: true` async-composes a WHOLE draft from the tenant\'s brand and its published live roles. It cannot ride a status change, is refused on an archived page, and a draft that already carries authored text is a 409 SM_CAREERS_DRAFT_NOT_EMPTY unless `generateOverwrite: true` rides along. Sent together with `translate`, the generator hands off to translate at the end so the two async jobs never race over one draft. - Concurrency: send `If-Match: \"<revision>\"` - a mismatch is a 409 SM_CAREERS_STALE. `revision` bumps on every write.
346
346
  * Update Career
347
347
  */
348
348
  async updateCareerRaw(requestParameters, initOverrides) {
@@ -351,7 +351,7 @@ class CareersApi extends runtime.BaseAPI {
351
351
  return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.CareerSchemaFromJSON)(jsonValue));
352
352
  }
353
353
  /**
354
- * Edits the draft copy and/or runs a lifecycle transition. - `content` / `name` / `sourceLanguage` edits land on the DRAFT. - `status: active` is the PUBLISH door: the effective content is publish-validated - a 400 carries ONE error object PER violation, each with `source.pointer` - then frozen into `publishedContent` (`version += 1`) and the flat public doc (enabled blocks only) lands on the CDN. Re-sending `active` re-publishes. - `status: archived` REMOVES the CDN object; repeating it retries a failed takedown. Reactivating (archived->active) re-publishes. - `translate: true` async-fills missing locale entries of the draft. - `generate: true` async-composes a WHOLE draft from the tenant\'s brand and its published live roles. It cannot ride a status change, is refused on an archived page, and a draft that already carries authored text is a 409 SM_CAREERS_DRAFT_NOT_EMPTY unless `generateOverwrite: true` rides along. Sent together with `translate`, the generator hands off to translate at the end so the two async jobs never race over one draft. - Concurrency: send `If-Match: \"<revision>\"` - a mismatch is a 409 SM_CAREERS_STALE. `revision` bumps on every write.
354
+ * Edits the draft copy and/or runs a lifecycle transition. - `content` / `name` / `sourceLanguage` edits land on the DRAFT. - `status: active` is the PUBLISH door: the effective content is publish-validated - a 400 carries ONE error object PER violation, each with `source.pointer` - then frozen into `publishedContent` (`version += 1`) and the flat public doc (enabled blocks only) lands on the CDN. Re-sending `active` re-publishes. - `status: archived` REMOVES the CDN object; repeating it retries a failed takedown. Reactivating (archived->active) re-publishes. - `translate: true` async-fills missing locale entries of the draft (the page content AND the privacy notice draft). - `privacy` edits the privacy notice DRAFT (the whole object, like content). `privacyStatus: active` is the notice\'s OWN publish door, independent of the page\'s status: publish-validated (400 with one error PER violation, codes SM_PRIVACY_*, each with source.pointer under /data/attributes/privacy/...), placeholders substituted, frozen into `publishedPrivacy`; the notice version moves only when its text changed; the immutable tenants/{shortCode}/privacy/v{N}.json and the current tenants/{shortCode}/privacy.json land on the CDN. Archiving the page does NOT take the notice down (applications keep needing it). - `generate: true` async-composes a WHOLE draft from the tenant\'s brand and its published live roles. It cannot ride a status change, is refused on an archived page, and a draft that already carries authored text is a 409 SM_CAREERS_DRAFT_NOT_EMPTY unless `generateOverwrite: true` rides along. Sent together with `translate`, the generator hands off to translate at the end so the two async jobs never race over one draft. - Concurrency: send `If-Match: \"<revision>\"` - a mismatch is a 409 SM_CAREERS_STALE. `revision` bumps on every write.
355
355
  * Update Career
356
356
  */
357
357
  async updateCareer(requestParameters, initOverrides) {
@@ -55,12 +55,12 @@ export declare class SubmissionsApi extends runtime.BaseAPI {
55
55
  */
56
56
  createGuestSubmissionRequestOpts(requestParameters: CreateGuestSubmissionOperationRequest): Promise<runtime.RequestOpts>;
57
57
  /**
58
- * Create a new submission. No authentication required - the formId in the body serves as the access token.
58
+ * Create a new submission. No authentication required - the formId in the body serves as the access token. Consent (stage 3, GDPR): the apply page shows the tenant\'s PUBLISHED privacy notice (https://cdn.{domain}/tenants/{shortCode}/privacy.json) and sends the proof of what the candidate saw: `consentVersion` (the notice\'s version), `consentHash` (its `hashes[consentLanguage]`, never computed by the client) and `consentLanguage` (the locale of the text actually shown). An application to a job needs `consentCurrent: true`; a talent-pool submission (no job) needs `consentFuture: true` and sends `consentCurrent: false`. The server stamps the time and stores the proof on the submission, and the talent takes it over (`consent.currentProof` / `consent.futureProof`). Errors: 400 SM_CONSENT_REQUIRED - the required consent is not `true`; 409 SM_CONSENT_STALE - the proof does not match the CURRENT published version (`errors[0].meta.currentVersion` = N: fetch tenants/{shortCode}/privacy/v{N}.json, a key the CDN has not cached, show it, ask again); 409 SM_PRIVACY_NOT_PUBLISHED - the tenant has no published notice. Until the environment switches enforcement on (APPLY_CONSENT_ENFORCED, S.K.\'s word), a submission WITHOUT the proof is accepted as before (stored with `legacy: true`); a proof that IS sent is always checked.
59
59
  * Create Submission (Guest)
60
60
  */
61
61
  createGuestSubmissionRaw(requestParameters: CreateGuestSubmissionOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<object>>;
62
62
  /**
63
- * Create a new submission. No authentication required - the formId in the body serves as the access token.
63
+ * Create a new submission. No authentication required - the formId in the body serves as the access token. Consent (stage 3, GDPR): the apply page shows the tenant\'s PUBLISHED privacy notice (https://cdn.{domain}/tenants/{shortCode}/privacy.json) and sends the proof of what the candidate saw: `consentVersion` (the notice\'s version), `consentHash` (its `hashes[consentLanguage]`, never computed by the client) and `consentLanguage` (the locale of the text actually shown). An application to a job needs `consentCurrent: true`; a talent-pool submission (no job) needs `consentFuture: true` and sends `consentCurrent: false`. The server stamps the time and stores the proof on the submission, and the talent takes it over (`consent.currentProof` / `consent.futureProof`). Errors: 400 SM_CONSENT_REQUIRED - the required consent is not `true`; 409 SM_CONSENT_STALE - the proof does not match the CURRENT published version (`errors[0].meta.currentVersion` = N: fetch tenants/{shortCode}/privacy/v{N}.json, a key the CDN has not cached, show it, ask again); 409 SM_PRIVACY_NOT_PUBLISHED - the tenant has no published notice. Until the environment switches enforcement on (APPLY_CONSENT_ENFORCED, S.K.\'s word), a submission WITHOUT the proof is accepted as before (stored with `legacy: true`); a proof that IS sent is always checked.
64
64
  * Create Submission (Guest)
65
65
  */
66
66
  createGuestSubmission(requestParameters: CreateGuestSubmissionOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<object>;
@@ -73,7 +73,7 @@ class SubmissionsApi extends runtime.BaseAPI {
73
73
  };
74
74
  }
75
75
  /**
76
- * Create a new submission. No authentication required - the formId in the body serves as the access token.
76
+ * Create a new submission. No authentication required - the formId in the body serves as the access token. Consent (stage 3, GDPR): the apply page shows the tenant\'s PUBLISHED privacy notice (https://cdn.{domain}/tenants/{shortCode}/privacy.json) and sends the proof of what the candidate saw: `consentVersion` (the notice\'s version), `consentHash` (its `hashes[consentLanguage]`, never computed by the client) and `consentLanguage` (the locale of the text actually shown). An application to a job needs `consentCurrent: true`; a talent-pool submission (no job) needs `consentFuture: true` and sends `consentCurrent: false`. The server stamps the time and stores the proof on the submission, and the talent takes it over (`consent.currentProof` / `consent.futureProof`). Errors: 400 SM_CONSENT_REQUIRED - the required consent is not `true`; 409 SM_CONSENT_STALE - the proof does not match the CURRENT published version (`errors[0].meta.currentVersion` = N: fetch tenants/{shortCode}/privacy/v{N}.json, a key the CDN has not cached, show it, ask again); 409 SM_PRIVACY_NOT_PUBLISHED - the tenant has no published notice. Until the environment switches enforcement on (APPLY_CONSENT_ENFORCED, S.K.\'s word), a submission WITHOUT the proof is accepted as before (stored with `legacy: true`); a proof that IS sent is always checked.
77
77
  * Create Submission (Guest)
78
78
  */
79
79
  async createGuestSubmissionRaw(requestParameters, initOverrides) {
@@ -82,7 +82,7 @@ class SubmissionsApi extends runtime.BaseAPI {
82
82
  return new runtime.JSONApiResponse(response);
83
83
  }
84
84
  /**
85
- * Create a new submission. No authentication required - the formId in the body serves as the access token.
85
+ * Create a new submission. No authentication required - the formId in the body serves as the access token. Consent (stage 3, GDPR): the apply page shows the tenant\'s PUBLISHED privacy notice (https://cdn.{domain}/tenants/{shortCode}/privacy.json) and sends the proof of what the candidate saw: `consentVersion` (the notice\'s version), `consentHash` (its `hashes[consentLanguage]`, never computed by the client) and `consentLanguage` (the locale of the text actually shown). An application to a job needs `consentCurrent: true`; a talent-pool submission (no job) needs `consentFuture: true` and sends `consentCurrent: false`. The server stamps the time and stores the proof on the submission, and the talent takes it over (`consent.currentProof` / `consent.futureProof`). Errors: 400 SM_CONSENT_REQUIRED - the required consent is not `true`; 409 SM_CONSENT_STALE - the proof does not match the CURRENT published version (`errors[0].meta.currentVersion` = N: fetch tenants/{shortCode}/privacy/v{N}.json, a key the CDN has not cached, show it, ask again); 409 SM_PRIVACY_NOT_PUBLISHED - the tenant has no published notice. Until the environment switches enforcement on (APPLY_CONSENT_ENFORCED, S.K.\'s word), a submission WITHOUT the proof is accepted as before (stored with `legacy: true`); a proof that IS sent is always checked.
86
86
  * Create Submission (Guest)
87
87
  */
88
88
  async createGuestSubmission(requestParameters, initOverrides) {
@@ -10,6 +10,7 @@
10
10
  * Do not edit the class manually.
11
11
  */
12
12
  import type { CareersContentSchema } from './CareersContentSchema';
13
+ import type { CareersPrivacySchema } from './CareersPrivacySchema';
13
14
  import type { ResourceTimestampsSchema } from './ResourceTimestampsSchema';
14
15
  /**
15
16
  * The careers-page singleton. `name`, `sourceLanguage` and `content`
@@ -19,7 +20,12 @@ import type { ResourceTimestampsSchema } from './ResourceTimestampsSchema';
19
20
  * `If-Match: "<revision>"` on PATCH - a mismatch is a 409
20
21
  * (SM_CAREERS_STALE). `revision` bumps on EVERY write; `version` only
21
22
  * on publish. List responses OMIT both content copies (slim
22
- * projection) - GET by id returns them.
23
+ * projection) - GET by id returns them. Writes need owner / admin
24
+ * (support = admin) or sysowner: 403 SM_CAREERS_ROLE otherwise.
25
+ * The row also carries the tenant's privacy notice (`privacy` draft,
26
+ * `privacyStatus`, `publishedPrivacy`, `privacyUrl`) with its own
27
+ * publish door - a tenant may take applications without a public
28
+ * careers page, never without a published notice.
23
29
  * @export
24
30
  * @interface CareerAttributesSchema
25
31
  */
@@ -145,6 +151,58 @@ export interface CareerAttributesSchema {
145
151
  * @memberof CareerAttributesSchema
146
152
  */
147
153
  readonly cacheTtlSeconds?: number;
154
+ /**
155
+ *
156
+ * @type {CareersPrivacySchema}
157
+ * @memberof CareerAttributesSchema
158
+ */
159
+ privacy?: CareersPrivacySchema;
160
+ /**
161
+ * The privacy notice's own lifecycle, independent of `status`.
162
+ * Setting `active` via PATCH is the notice's PUBLISH door: the
163
+ * draft is publish-validated (400 with one error PER violation,
164
+ * codes SM_PRIVACY_*, each carrying source.pointer), placeholders
165
+ * are substituted, the result is frozen into `publishedPrivacy`,
166
+ * and tenants/{shortCode}/privacy/v{N}.json (immutable) plus
167
+ * tenants/{shortCode}/privacy.json (current) land on the CDN. It
168
+ * STAYS `active` when the draft is edited later
169
+ * (meta.privacy.dirty = true until the next publish). Server
170
+ * bookkeeping in meta.privacy {version, hashes {locale:
171
+ * "sha256:..."}, publishedAt, cdnVersion, dirty}: the version
172
+ * moves only when the text changed, and cdnVersion != version
173
+ * means the CDN write failed - re-send privacyStatus=active.
174
+ * @type {CareerAttributesSchemaPrivacyStatusEnum}
175
+ * @memberof CareerAttributesSchema
176
+ */
177
+ privacyStatus?: CareerAttributesSchemaPrivacyStatusEnum;
178
+ /**
179
+ * Frozen copy written ONLY by the notice's publish: placeholders
180
+ * already substituted, conditional segments resolved. The public
181
+ * document derives from it. Absent until the first publish.
182
+ * @type {CareersPrivacySchema}
183
+ * @memberof CareerAttributesSchema
184
+ */
185
+ readonly publishedPrivacy?: CareersPrivacySchema;
186
+ /**
187
+ * https://cdn.{domain}/tenants/{shortCode}/privacy.json - the flat
188
+ * public notice (no JSON:API envelope), edge TTL 60 s:
189
+ * {schemaVersion: 1, version, publishedAt, sourceLanguage, locales,
190
+ * controller {name, address, contactEmail, dpoContact}, botName,
191
+ * texts {locale: {notice [{heading, body}], consentCurrent,
192
+ * consentFuture (null when fields.futureConsent is false),
193
+ * noticeLinkLabel}}, hashes {locale: "sha256:<64 hex>"},
194
+ * versionUrl}. versionUrl = the same document at
195
+ * tenants/{shortCode}/privacy/v{N}.json, never overwritten (the
196
+ * evidence of the text a candidate consented to). Texts are plain:
197
+ * paragraphs separated by a blank line, list items on lines
198
+ * starting "- ". The apply form sends consentVersion,
199
+ * hashes[locale] and the locale back (createGuestSubmission).
200
+ * Absent until the first publish; 404 on the CDN means the tenant
201
+ * has no notice.
202
+ * @type {string}
203
+ * @memberof CareerAttributesSchema
204
+ */
205
+ readonly privacyUrl?: string;
148
206
  /**
149
207
  *
150
208
  * @type {ResourceTimestampsSchema}
@@ -161,6 +219,14 @@ export declare const CareerAttributesSchemaStatusEnum: {
161
219
  readonly Archived: "archived";
162
220
  };
163
221
  export type CareerAttributesSchemaStatusEnum = typeof CareerAttributesSchemaStatusEnum[keyof typeof CareerAttributesSchemaStatusEnum];
222
+ /**
223
+ * @export
224
+ */
225
+ export declare const CareerAttributesSchemaPrivacyStatusEnum: {
226
+ readonly Draft: "draft";
227
+ readonly Active: "active";
228
+ };
229
+ export type CareerAttributesSchemaPrivacyStatusEnum = typeof CareerAttributesSchemaPrivacyStatusEnum[keyof typeof CareerAttributesSchemaPrivacyStatusEnum];
164
230
  /**
165
231
  * Check if a given object implements the CareerAttributesSchema interface.
166
232
  */
@@ -168,5 +234,5 @@ export declare function instanceOfCareerAttributesSchema(value: object): value i
168
234
  export declare function CareerAttributesSchemaFromJSON(json: any): CareerAttributesSchema;
169
235
  export declare function CareerAttributesSchemaFromJSONTyped(json: any, ignoreDiscriminator: boolean): CareerAttributesSchema;
170
236
  export declare function CareerAttributesSchemaToJSON(json: any): CareerAttributesSchema;
171
- export declare function CareerAttributesSchemaToJSONTyped(value?: Omit<CareerAttributesSchema, 'publishedContent' | 'version' | 'revision' | 'publishedAt' | 'publishedUrl' | 'cacheTtlSeconds'> | null, ignoreDiscriminator?: boolean): any;
237
+ export declare function CareerAttributesSchemaToJSONTyped(value?: Omit<CareerAttributesSchema, 'publishedContent' | 'version' | 'revision' | 'publishedAt' | 'publishedUrl' | 'cacheTtlSeconds' | 'publishedPrivacy' | 'privacyUrl'> | null, ignoreDiscriminator?: boolean): any;
172
238
  //# sourceMappingURL=CareerAttributesSchema.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"CareerAttributesSchema.d.ts","sourceRoot":"","sources":["../../src/models/CareerAttributesSchema.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAOnE,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,4BAA4B,CAAC;AAQ3E;;;;;;;;;;;GAWG;AACH,MAAM,WAAW,sBAAsB;IACnC;;;;OAIG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;;;;;;;;;;OAWG;IACH,MAAM,CAAC,EAAE,gCAAgC,CAAC;IAC1C;;;;OAIG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB;;;;;;;;;OASG;IACH,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB;;;;;;;;;;;;;;;;;;OAkBG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB;;;;;;OAMG;IACH,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAC5B;;;;OAIG;IACH,OAAO,CAAC,EAAE,oBAAoB,CAAC;IAC/B;;;;;;OAMG;IACH,QAAQ,CAAC,gBAAgB,CAA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;;;;;;;;;;;;OAkBG;IACH,QAAQ,CAAC,UAAU,CAAC,EAAE,MAAM,CAAC;IAC7B;;;;OAIG;IACH,UAAU,CAAC,EAAE,wBAAwB,CAAC;CACzC;AAGD;;GAEG;AACH,eAAO,MAAM,gCAAgC;;;;CAInC,CAAC;AACX,MAAM,MAAM,gCAAgC,GAAG,OAAO,gCAAgC,CAAC,MAAM,OAAO,gCAAgC,CAAC,CAAC;AAEtI;;GAEG;AACH,eAAO,MAAM,uCAAuC;;;CAG1C,CAAC;AACX,MAAM,MAAM,uCAAuC,GAAG,OAAO,uCAAuC,CAAC,MAAM,OAAO,uCAAuC,CAAC,CAAC;AAG3J;;GAEG;AACH,wBAAgB,gCAAgC,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,sBAAsB,CAE/F;AAED,wBAAgB,8BAA8B,CAAC,IAAI,EAAE,GAAG,GAAG,sBAAsB,CAEhF;AAED,wBAAgB,mCAAmC,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,sBAAsB,CAyBnH;AAED,wBAAgB,4BAA4B,CAAC,IAAI,EAAE,GAAG,GAAG,sBAAsB,CAE9E;AAED,wBAAgB,iCAAiC,CAAC,KAAK,CAAC,EAAE,IAAI,CAAC,sBAAsB,EAAE,kBAAkB,GAAC,SAAS,GAAC,UAAU,GAAC,aAAa,GAAC,cAAc,GAAC,iBAAiB,GAAC,kBAAkB,GAAC,YAAY,CAAC,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAkBhQ"}
@@ -13,13 +13,14 @@
13
13
  * Do not edit the class manually.
14
14
  */
15
15
  Object.defineProperty(exports, "__esModule", { value: true });
16
- exports.CareerAttributesSchemaStatusEnum = void 0;
16
+ exports.CareerAttributesSchemaPrivacyStatusEnum = exports.CareerAttributesSchemaStatusEnum = void 0;
17
17
  exports.instanceOfCareerAttributesSchema = instanceOfCareerAttributesSchema;
18
18
  exports.CareerAttributesSchemaFromJSON = CareerAttributesSchemaFromJSON;
19
19
  exports.CareerAttributesSchemaFromJSONTyped = CareerAttributesSchemaFromJSONTyped;
20
20
  exports.CareerAttributesSchemaToJSON = CareerAttributesSchemaToJSON;
21
21
  exports.CareerAttributesSchemaToJSONTyped = CareerAttributesSchemaToJSONTyped;
22
22
  const CareersContentSchema_1 = require("./CareersContentSchema");
23
+ const CareersPrivacySchema_1 = require("./CareersPrivacySchema");
23
24
  const ResourceTimestampsSchema_1 = require("./ResourceTimestampsSchema");
24
25
  /**
25
26
  * @export
@@ -29,6 +30,13 @@ exports.CareerAttributesSchemaStatusEnum = {
29
30
  Active: 'active',
30
31
  Archived: 'archived'
31
32
  };
33
+ /**
34
+ * @export
35
+ */
36
+ exports.CareerAttributesSchemaPrivacyStatusEnum = {
37
+ Draft: 'draft',
38
+ Active: 'active'
39
+ };
32
40
  /**
33
41
  * Check if a given object implements the CareerAttributesSchema interface.
34
42
  */
@@ -56,6 +64,10 @@ function CareerAttributesSchemaFromJSONTyped(json, ignoreDiscriminator) {
56
64
  'publishedAt': json['publishedAt'] == null ? undefined : (new Date(json['publishedAt'])),
57
65
  'publishedUrl': json['publishedUrl'] == null ? undefined : json['publishedUrl'],
58
66
  'cacheTtlSeconds': json['cacheTtlSeconds'] == null ? undefined : json['cacheTtlSeconds'],
67
+ 'privacy': json['privacy'] == null ? undefined : (0, CareersPrivacySchema_1.CareersPrivacySchemaFromJSON)(json['privacy']),
68
+ 'privacyStatus': json['privacyStatus'] == null ? undefined : json['privacyStatus'],
69
+ 'publishedPrivacy': json['publishedPrivacy'] == null ? undefined : (0, CareersPrivacySchema_1.CareersPrivacySchemaFromJSON)(json['publishedPrivacy']),
70
+ 'privacyUrl': json['privacyUrl'] == null ? undefined : json['privacyUrl'],
59
71
  'timestamps': json['timestamps'] == null ? undefined : (0, ResourceTimestampsSchema_1.ResourceTimestampsSchemaFromJSON)(json['timestamps']),
60
72
  };
61
73
  }
@@ -74,6 +86,8 @@ function CareerAttributesSchemaToJSONTyped(value, ignoreDiscriminator = false) {
74
86
  'generate': value['generate'],
75
87
  'generateOverwrite': value['generateOverwrite'],
76
88
  'content': (0, CareersContentSchema_1.CareersContentSchemaToJSON)(value['content']),
89
+ 'privacy': (0, CareersPrivacySchema_1.CareersPrivacySchemaToJSON)(value['privacy']),
90
+ 'privacyStatus': value['privacyStatus'],
77
91
  'timestamps': (0, ResourceTimestampsSchema_1.ResourceTimestampsSchemaToJSON)(value['timestamps']),
78
92
  };
79
93
  }
@@ -1 +1 @@
1
- {"version":3,"file":"CareerAttributesSchema.js","sourceRoot":"","sources":["../../src/models/CareerAttributesSchema.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;;AA+KH,4EAEC;AAED,wEAEC;AAED,kFAqBC;AAED,oEAEC;AAED,8EAgBC;AA9ND,iEAKgC;AAEhC,yEAKoC;AAiJpC;;GAEG;AACU,QAAA,gCAAgC,GAAG;IAC5C,KAAK,EAAE,OAAO;IACd,MAAM,EAAE,QAAQ;IAChB,QAAQ,EAAE,UAAU;CACd,CAAC;AAIX;;GAEG;AACH,SAAgB,gCAAgC,CAAC,KAAa;IAC1D,OAAO,IAAI,CAAC;AAChB,CAAC;AAED,SAAgB,8BAA8B,CAAC,IAAS;IACpD,OAAO,mCAAmC,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AAC5D,CAAC;AAED,SAAgB,mCAAmC,CAAC,IAAS,EAAE,mBAA4B;IACvF,IAAI,IAAI,IAAI,IAAI,EAAE,CAAC;QACf,OAAO,IAAI,CAAC;IAChB,CAAC;IACD,OAAO;QAEH,MAAM,EAAE,IAAI,CAAC,MAAM,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC;QACvD,QAAQ,EAAE,IAAI,CAAC,QAAQ,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,IAAI,CAA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QACvD,eAAe,EAAE,KAAK,CAAC,eAAe,CAAC;QACvC,YAAY,EAAE,IAAA,yDAA8B,EAAC,KAAK,CAAC,YAAY,CAAC,CAAC;KACpE,CAAC;AACN,CAAC"}
@@ -0,0 +1,69 @@
1
+ /**
2
+ * SmartyMeet Dev03 API REST
3
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
+ *
5
+ * The version of the OpenAPI document: 1.0.1
6
+ * Contact: developer@smartymeet.com
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ *
14
+ * @export
15
+ * @interface CareersPrivacyFieldsSchema
16
+ */
17
+ export interface CareersPrivacyFieldsSchema {
18
+ /**
19
+ * The controller: the employer's legal name. Required to publish (1-200).
20
+ * @type {string}
21
+ * @memberof CareersPrivacyFieldsSchema
22
+ */
23
+ employerName?: string;
24
+ /**
25
+ * The controller's address. Required to publish (1-300).
26
+ * @type {string}
27
+ * @memberof CareersPrivacyFieldsSchema
28
+ */
29
+ address?: string;
30
+ /**
31
+ * Contact on personal data matters (also where a candidate contests an AI-assisted assessment). Required to publish; an e-mail address.
32
+ * @type {string}
33
+ * @memberof CareersPrivacyFieldsSchema
34
+ */
35
+ contactEmail?: string;
36
+ /**
37
+ * Data Protection Officer contact, optional; empty removes the conditional segment that names it.
38
+ * @type {string}
39
+ * @memberof CareersPrivacyFieldsSchema
40
+ */
41
+ dpoContact?: string;
42
+ /**
43
+ * Retention of this recruitment's data, in months. Required to publish.
44
+ * @type {number}
45
+ * @memberof CareersPrivacyFieldsSchema
46
+ */
47
+ recruitmentMonths?: number;
48
+ /**
49
+ * Retention under the future-recruitment consent, in months. Required to publish when futureConsent is true.
50
+ * @type {number}
51
+ * @memberof CareersPrivacyFieldsSchema
52
+ */
53
+ futureMonths?: number;
54
+ /**
55
+ * Whether the form offers the optional consent to future recruitments (the talent pool). Default true; false publishes consentFuture as null and the talent-pool CTA disappears.
56
+ * @type {boolean}
57
+ * @memberof CareersPrivacyFieldsSchema
58
+ */
59
+ futureConsent?: boolean;
60
+ }
61
+ /**
62
+ * Check if a given object implements the CareersPrivacyFieldsSchema interface.
63
+ */
64
+ export declare function instanceOfCareersPrivacyFieldsSchema(value: object): value is CareersPrivacyFieldsSchema;
65
+ export declare function CareersPrivacyFieldsSchemaFromJSON(json: any): CareersPrivacyFieldsSchema;
66
+ export declare function CareersPrivacyFieldsSchemaFromJSONTyped(json: any, ignoreDiscriminator: boolean): CareersPrivacyFieldsSchema;
67
+ export declare function CareersPrivacyFieldsSchemaToJSON(json: any): CareersPrivacyFieldsSchema;
68
+ export declare function CareersPrivacyFieldsSchemaToJSONTyped(value?: CareersPrivacyFieldsSchema | null, ignoreDiscriminator?: boolean): any;
69
+ //# sourceMappingURL=CareersPrivacyFieldsSchema.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CareersPrivacyFieldsSchema.d.ts","sourceRoot":"","sources":["../../src/models/CareersPrivacyFieldsSchema.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH;;;;GAIG;AACH,MAAM,WAAW,0BAA0B;IACvC;;;;OAIG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB;;;;OAIG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB;;;;OAIG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB;;;;OAIG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB;;;;OAIG;IACH,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B;;;;OAIG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB;;;;OAIG;IACH,aAAa,CAAC,EAAE,OAAO,CAAC;CAC3B;AAED;;GAEG;AACH,wBAAgB,oCAAoC,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,0BAA0B,CAEvG;AAED,wBAAgB,kCAAkC,CAAC,IAAI,EAAE,GAAG,GAAG,0BAA0B,CAExF;AAED,wBAAgB,uCAAuC,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,0BAA0B,CAc3H;AAED,wBAAgB,gCAAgC,CAAC,IAAI,EAAE,GAAG,GAAG,0BAA0B,CAEtF;AAED,wBAAgB,qCAAqC,CAAC,KAAK,CAAC,EAAE,0BAA0B,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAe1I"}
@@ -0,0 +1,61 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * SmartyMeet Dev03 API REST
6
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
7
+ *
8
+ * The version of the OpenAPI document: 1.0.1
9
+ * Contact: developer@smartymeet.com
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.instanceOfCareersPrivacyFieldsSchema = instanceOfCareersPrivacyFieldsSchema;
17
+ exports.CareersPrivacyFieldsSchemaFromJSON = CareersPrivacyFieldsSchemaFromJSON;
18
+ exports.CareersPrivacyFieldsSchemaFromJSONTyped = CareersPrivacyFieldsSchemaFromJSONTyped;
19
+ exports.CareersPrivacyFieldsSchemaToJSON = CareersPrivacyFieldsSchemaToJSON;
20
+ exports.CareersPrivacyFieldsSchemaToJSONTyped = CareersPrivacyFieldsSchemaToJSONTyped;
21
+ /**
22
+ * Check if a given object implements the CareersPrivacyFieldsSchema interface.
23
+ */
24
+ function instanceOfCareersPrivacyFieldsSchema(value) {
25
+ return true;
26
+ }
27
+ function CareersPrivacyFieldsSchemaFromJSON(json) {
28
+ return CareersPrivacyFieldsSchemaFromJSONTyped(json, false);
29
+ }
30
+ function CareersPrivacyFieldsSchemaFromJSONTyped(json, ignoreDiscriminator) {
31
+ if (json == null) {
32
+ return json;
33
+ }
34
+ return {
35
+ 'employerName': json['employerName'] == null ? undefined : json['employerName'],
36
+ 'address': json['address'] == null ? undefined : json['address'],
37
+ 'contactEmail': json['contactEmail'] == null ? undefined : json['contactEmail'],
38
+ 'dpoContact': json['dpoContact'] == null ? undefined : json['dpoContact'],
39
+ 'recruitmentMonths': json['recruitmentMonths'] == null ? undefined : json['recruitmentMonths'],
40
+ 'futureMonths': json['futureMonths'] == null ? undefined : json['futureMonths'],
41
+ 'futureConsent': json['futureConsent'] == null ? undefined : json['futureConsent'],
42
+ };
43
+ }
44
+ function CareersPrivacyFieldsSchemaToJSON(json) {
45
+ return CareersPrivacyFieldsSchemaToJSONTyped(json, false);
46
+ }
47
+ function CareersPrivacyFieldsSchemaToJSONTyped(value, ignoreDiscriminator = false) {
48
+ if (value == null) {
49
+ return value;
50
+ }
51
+ return {
52
+ 'employerName': value['employerName'],
53
+ 'address': value['address'],
54
+ 'contactEmail': value['contactEmail'],
55
+ 'dpoContact': value['dpoContact'],
56
+ 'recruitmentMonths': value['recruitmentMonths'],
57
+ 'futureMonths': value['futureMonths'],
58
+ 'futureConsent': value['futureConsent'],
59
+ };
60
+ }
61
+ //# sourceMappingURL=CareersPrivacyFieldsSchema.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CareersPrivacyFieldsSchema.js","sourceRoot":"","sources":["../../src/models/CareersPrivacyFieldsSchema.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;AAwDH,oFAEC;AAED,gFAEC;AAED,0FAcC;AAED,4EAEC;AAED,sFAeC;AA9CD;;GAEG;AACH,SAAgB,oCAAoC,CAAC,KAAa;IAC9D,OAAO,IAAI,CAAC;AAChB,CAAC;AAED,SAAgB,kCAAkC,CAAC,IAAS;IACxD,OAAO,uCAAuC,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AAChE,CAAC;AAED,SAAgB,uCAAuC,CAAC,IAAS,EAAE,mBA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E,KAAK,CAAC,cAAc,CAAC;QACrC,SAAS,EAAE,KAAK,CAAC,SAAS,CAAC;QAC3B,cAAc,EAAE,KAAK,CAAC,cAAc,CAAC;QACrC,YAAY,EAAE,KAAK,CAAC,YAAY,CAAC;QACjC,mBAAmB,EAAE,KAAK,CAAC,mBAAmB,CAAC;QAC/C,cAAc,EAAE,KAAK,CAAC,cAAc,CAAC;QACrC,eAAe,EAAE,KAAK,CAAC,eAAe,CAAC;KAC1C,CAAC;AACN,CAAC"}
@@ -0,0 +1,79 @@
1
+ /**
2
+ * SmartyMeet Dev03 API REST
3
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
+ *
5
+ * The version of the OpenAPI document: 1.0.1
6
+ * Contact: developer@smartymeet.com
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import type { CareersPrivacyFieldsSchema } from './CareersPrivacyFieldsSchema';
13
+ import type { CareersPrivacySectionSchema } from './CareersPrivacySectionSchema';
14
+ /**
15
+ * The tenant's privacy notice for applicants (GDPR art. 13, AI-assisted
16
+ * assessment) and the two consent texts of the apply form. A new row
17
+ * carries the default template (lawyer-reviewed PL / EN, other
18
+ * languages through `translate`); the owner completes `fields` and
19
+ * publishes. Texts may hold the placeholders {employerName}
20
+ * {address} {contactEmail} {dpoContact} {botName} {recruitmentMonths}
21
+ * {futureMonths} ({botName} = the virtual employee's name at
22
+ * publish) and conditional segments `[[...]]`, kept without the
23
+ * brackets when every placeholder inside is non-empty and removed
24
+ * otherwise. Publish rules: every field rule below; every locale of
25
+ * the tenant present in every text; the seven notice sections
26
+ * controller, purpose, ai, recipients, retention, rights, voluntary
27
+ * present (more may be added, order is free, at most 12); no unknown
28
+ * placeholder, no unbalanced or nested `[[`; no < or > in any text;
29
+ * the byte limit of a content copy.
30
+ * @export
31
+ * @interface CareersPrivacySchema
32
+ */
33
+ export interface CareersPrivacySchema {
34
+ /**
35
+ *
36
+ * @type {CareersPrivacyFieldsSchema}
37
+ * @memberof CareersPrivacySchema
38
+ */
39
+ fields?: CareersPrivacyFieldsSchema;
40
+ /**
41
+ *
42
+ * @type {Array<CareersPrivacySectionSchema>}
43
+ * @memberof CareersPrivacySchema
44
+ */
45
+ notice?: Array<CareersPrivacySectionSchema>;
46
+ /**
47
+ * Locale map: the REQUIRED consent to this recruitment, shown next to the first checkbox.
48
+ * @type {{ [key: string]: string; }}
49
+ * @memberof CareersPrivacySchema
50
+ */
51
+ consentCurrent?: {
52
+ [key: string]: string;
53
+ };
54
+ /**
55
+ * Locale map: the OPTIONAL consent to future recruitments (the talent pool). Ignored when fields.futureConsent is false.
56
+ * @type {{ [key: string]: string; }}
57
+ * @memberof CareersPrivacySchema
58
+ */
59
+ consentFuture?: {
60
+ [key: string]: string;
61
+ };
62
+ /**
63
+ * Locale map: the label of the link from the form to the notice.
64
+ * @type {{ [key: string]: string; }}
65
+ * @memberof CareersPrivacySchema
66
+ */
67
+ noticeLinkLabel?: {
68
+ [key: string]: string;
69
+ };
70
+ }
71
+ /**
72
+ * Check if a given object implements the CareersPrivacySchema interface.
73
+ */
74
+ export declare function instanceOfCareersPrivacySchema(value: object): value is CareersPrivacySchema;
75
+ export declare function CareersPrivacySchemaFromJSON(json: any): CareersPrivacySchema;
76
+ export declare function CareersPrivacySchemaFromJSONTyped(json: any, ignoreDiscriminator: boolean): CareersPrivacySchema;
77
+ export declare function CareersPrivacySchemaToJSON(json: any): CareersPrivacySchema;
78
+ export declare function CareersPrivacySchemaToJSONTyped(value?: CareersPrivacySchema | null, ignoreDiscriminator?: boolean): any;
79
+ //# sourceMappingURL=CareersPrivacySchema.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CareersPrivacySchema.d.ts","sourceRoot":"","sources":["../../src/models/CareersPrivacySchema.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,8BAA8B,CAAC;AAO/E,OAAO,KAAK,EAAE,2BAA2B,EAAE,MAAM,+BAA+B,CAAC;AAQjF;;;;;;;;;;;;;;;;;;GAkBG;AACH,MAAM,WAAW,oBAAoB;IACjC;;;;OAIG;IACH,MAAM,CAAC,EAAE,0BAA0B,CAAC;IACpC;;;;OAIG;IACH,MAAM,CAAC,EAAE,KAAK,CAAC,2BAA2B,CAAC,CAAC;IAC5C;;;;OAIG;IACH,cAAc,CAAC,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAC;KAAE,CAAC;IAC5C;;;;OAIG;IACH,aAAa,CAAC,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAC;KAAE,CAAC;IAC3C;;;;OAIG;IACH,eAAe,CAAC,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAC;KAAE,CAAC;CAChD;AAED;;GAEG;AACH,wBAAgB,8BAA8B,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,oBAAoB,CAE3F;AAED,wBAAgB,4BAA4B,CAAC,IAAI,EAAE,GAAG,GAAG,oBAAoB,CAE5E;AAED,wBAAgB,iCAAiC,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,oBAAoB,CAY/G;AAED,wBAAgB,0BAA0B,CAAC,IAAI,EAAE,GAAG,GAAG,oBAAoB,CAE1E;AAED,wBAAgB,+BAA+B,CAAC,KAAK,CAAC,EAAE,oBAAoB,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAa9H"}
@@ -0,0 +1,59 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * SmartyMeet Dev03 API REST
6
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
7
+ *
8
+ * The version of the OpenAPI document: 1.0.1
9
+ * Contact: developer@smartymeet.com
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.instanceOfCareersPrivacySchema = instanceOfCareersPrivacySchema;
17
+ exports.CareersPrivacySchemaFromJSON = CareersPrivacySchemaFromJSON;
18
+ exports.CareersPrivacySchemaFromJSONTyped = CareersPrivacySchemaFromJSONTyped;
19
+ exports.CareersPrivacySchemaToJSON = CareersPrivacySchemaToJSON;
20
+ exports.CareersPrivacySchemaToJSONTyped = CareersPrivacySchemaToJSONTyped;
21
+ const CareersPrivacyFieldsSchema_1 = require("./CareersPrivacyFieldsSchema");
22
+ const CareersPrivacySectionSchema_1 = require("./CareersPrivacySectionSchema");
23
+ /**
24
+ * Check if a given object implements the CareersPrivacySchema interface.
25
+ */
26
+ function instanceOfCareersPrivacySchema(value) {
27
+ return true;
28
+ }
29
+ function CareersPrivacySchemaFromJSON(json) {
30
+ return CareersPrivacySchemaFromJSONTyped(json, false);
31
+ }
32
+ function CareersPrivacySchemaFromJSONTyped(json, ignoreDiscriminator) {
33
+ if (json == null) {
34
+ return json;
35
+ }
36
+ return {
37
+ 'fields': json['fields'] == null ? undefined : (0, CareersPrivacyFieldsSchema_1.CareersPrivacyFieldsSchemaFromJSON)(json['fields']),
38
+ 'notice': json['notice'] == null ? undefined : (json['notice'].map(CareersPrivacySectionSchema_1.CareersPrivacySectionSchemaFromJSON)),
39
+ 'consentCurrent': json['consentCurrent'] == null ? undefined : json['consentCurrent'],
40
+ 'consentFuture': json['consentFuture'] == null ? undefined : json['consentFuture'],
41
+ 'noticeLinkLabel': json['noticeLinkLabel'] == null ? undefined : json['noticeLinkLabel'],
42
+ };
43
+ }
44
+ function CareersPrivacySchemaToJSON(json) {
45
+ return CareersPrivacySchemaToJSONTyped(json, false);
46
+ }
47
+ function CareersPrivacySchemaToJSONTyped(value, ignoreDiscriminator = false) {
48
+ if (value == null) {
49
+ return value;
50
+ }
51
+ return {
52
+ 'fields': (0, CareersPrivacyFieldsSchema_1.CareersPrivacyFieldsSchemaToJSON)(value['fields']),
53
+ 'notice': value['notice'] == null ? undefined : (value['notice'].map(CareersPrivacySectionSchema_1.CareersPrivacySectionSchemaToJSON)),
54
+ 'consentCurrent': value['consentCurrent'],
55
+ 'consentFuture': value['consentFuture'],
56
+ 'noticeLinkLabel': value['noticeLinkLabel'],
57
+ };
58
+ }
59
+ //# sourceMappingURL=CareersPrivacySchema.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CareersPrivacySchema.js","sourceRoot":"","sources":["../../src/models/CareersPrivacySchema.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;AAyEH,wEAEC;AAED,oEAEC;AAED,8EAYC;AAED,gEAEC;AAED,0EAaC;AA5GD,6EAKsC;AAEtC,+EAKuC;AAsDvC;;GAEG;AACH,SAAgB,8BAA8B,CAAC,KAAa;IACxD,OAAO,IAAI,CAAC;AAChB,CAAC;AAED,SAAgB,4BAA4B,CAAC,IAAS;IAClD,OAAO,iCAAiC,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AAC1D,CAAC;AAED,SAAgB,iCAAiC,CAAC,IAAS,EAAE,mBAA4B;IACrF,IAAI,IAAI,IAAI,IAAI,EAAE,CAAC;QACf,OAAO,IAAI,CAAC;IAChB,CAAC;IACD,OAAO;QAEH,QAAQ,EAAE,IAAI,CAAC,QAAQ,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,IAAA,+DAAkC,EAAC,IAAI,CAAC,QAAQ,CAAC,CAAC;QACjG,QAAQ,EAAE,IAAI,CAAC,QAAQ,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,CAAE,IAAI,CAAC,QAAQ,CAAgB,CAAC,GAAG,CAAC,iEAAmC,CAAC,CAAC;QACxH,gBAAgB,EAAE,IAAI,CAA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