@smartytalent/api-client 0.8.9 → 0.8.11

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.
@@ -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. - 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. - `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. - 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. - `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>;
@@ -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. - 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. - `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. - 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. - `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) {
@@ -53,11 +53,41 @@ export interface CareerAttributesSchema {
53
53
  * Write-only trigger: after the PATCH saves, an async job fills
54
54
  * the MISSING locale entries of the draft from sourceLanguage
55
55
  * (never overwrites existing text, never touches
56
- * publishedContent). Progress lands in meta.translation.
56
+ * publishedContent). Progress lands in meta.translation. Sending
57
+ * it together with `generate` defers it: the generator hands off
58
+ * to translate when it finishes, so the two never race.
57
59
  * @type {boolean}
58
60
  * @memberof CareerAttributesSchema
59
61
  */
60
62
  translate?: boolean;
63
+ /**
64
+ * Write-only trigger: an async job composes a WHOLE draft from
65
+ * what the platform knows about the tenant (brand name, live roles
66
+ * from the published listing, the marketing copy already written
67
+ * for those roles). Writes `content` only - publishedContent is
68
+ * never touched - in sourceLanguage alone; pair it with
69
+ * `translate` for the other locales. Progress lands in
70
+ * meta.generation {status, startedAt, finishedAt, blocks,
71
+ * violations, jobsUsed}. Cannot ride a status change, and is
72
+ * refused on an archived page. If the draft already carries
73
+ * authored text the call is a 409 (SM_CAREERS_DRAFT_NOT_EMPTY)
74
+ * unless generateOverwrite is also true - the seed skeleton of a
75
+ * fresh page counts as empty. The model writes prose only; the
76
+ * blocks document is assembled server-side, so the publish rules
77
+ * (one enabled hero first, one enabled positions, repeater caps,
78
+ * no markup) hold by construction.
79
+ * @type {boolean}
80
+ * @memberof CareerAttributesSchema
81
+ */
82
+ generate?: boolean;
83
+ /**
84
+ * Consent to replace a draft that already has text. Meaningless
85
+ * without `generate`. Ask the recruiter before sending it - it
86
+ * discards their work in progress.
87
+ * @type {boolean}
88
+ * @memberof CareerAttributesSchema
89
+ */
90
+ generateOverwrite?: boolean;
61
91
  /**
62
92
  *
63
93
  * @type {CareersContentSchema}
@@ -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;;;;;;;OAOG;IACH,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB;;;;OAIG;IACH,OAAO,CAAC,EAAE,oBAAoB,CAAC;IAC/B;;;;;;OAMG;IACH,QAAQ,CAAC,gBAAgB,CAAC,EAAE,oBAAoB,CAAC;IACjD;;;;OAIG;IACH,QAAQ,CAAC,OAAO,CAAC,EAAE,MAAM,CAAC;IAC1B;;;;OAIG;IACH,QAAQ,CAAC,QAAQ,CAAC,EAAE,MAAM,CAAC;IAC3B;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;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,CAAC,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAgBhO"}
@@ -47,6 +47,8 @@ function CareerAttributesSchemaFromJSONTyped(json, ignoreDiscriminator) {
47
47
  'status': json['status'] == null ? undefined : json['status'],
48
48
  'sourceLanguage': json['sourceLanguage'] == null ? undefined : json['sourceLanguage'],
49
49
  'translate': json['translate'] == null ? undefined : json['translate'],
50
+ 'generate': json['generate'] == null ? undefined : json['generate'],
51
+ 'generateOverwrite': json['generateOverwrite'] == null ? undefined : json['generateOverwrite'],
50
52
  'content': json['content'] == null ? undefined : (0, CareersContentSchema_1.CareersContentSchemaFromJSON)(json['content']),
51
53
  'publishedContent': json['publishedContent'] == null ? undefined : (0, CareersContentSchema_1.CareersContentSchemaFromJSON)(json['publishedContent']),
52
54
  'version': json['version'] == null ? undefined : json['version'],
@@ -69,6 +71,8 @@ function CareerAttributesSchemaToJSONTyped(value, ignoreDiscriminator = false) {
69
71
  'status': value['status'],
70
72
  'sourceLanguage': value['sourceLanguage'],
71
73
  'translate': value['translate'],
74
+ 'generate': value['generate'],
75
+ 'generateOverwrite': value['generateOverwrite'],
72
76
  'content': (0, CareersContentSchema_1.CareersContentSchemaToJSON)(value['content']),
73
77
  'timestamps': (0, ResourceTimestampsSchema_1.ResourceTimestampsSchemaToJSON)(value['timestamps']),
74
78
  };
@@ -1 +1 @@
1
- {"version":3,"file":"CareerAttributesSchema.js","sourceRoot":"","sources":["../../src/models/CareerAttributesSchema.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;;AA2IH,4EAEC;AAED,wEAEC;AA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,IAAI,CAAC,cAAc,CAAC;QAC/E,iBAAiB,EAAE,IAAI,CAAC,iBAAiB,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,IAAI,CAAC,iBAAiB,CAAC;QACxF,YAAY,EAAE,IAAI,CAAC,YAAY,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,IAAA,2DAAgC,EAAC,IAAI,CAAC,YAAY,CAAC,CAAC;KAC9G,CAAC;AACN,CAAC;AAED,SAAgB,4BAA4B,CAAC,IAAS;IAClD,OAAO,iCAAiC,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AAC1D,CAAC;AAED,SAAgB,iCAAiC,CAAC,KAAmI,EAAE,sBAA+B,KAAK;IACvN,IAAI,KAAK,IAAI,IAAI,EAAE,CAAC;QAChB,OAAO,KAAK,CAAC;IACjB,CAAC;IAED,OAAO;QAEH,MAAM,EAAE,KAAK,CAAC,MAAM,CAAC;QACrB,QAAQ,EAAE,KAAK,CAAC,QAAQ,CAAC;QACzB,gBAAgB,EAAE,KAAK,CAAC,gBAAgB,CAAC;QACzC,WAAW,EAAE,KAAK,CAAC,WAAW,CAAC;QAC/B,UAAU,EAAE,KAAK,CAAC,UAAU,CAAC;QAC7B,mBAAmB,EAAE,KAAK,CAAC,mBAAmB,CAAC;QAC/C,SAAS,EAAE,IAAA,iDAA0B,EAAC,KAAK,CAAC,SAAS,CAAC,CAAC;QACvD,YAAY,EAAE,IAAA,yDAA8B,EAAC,KAAK,CAAC,YAAY,CAAC,CAAC;KACpE,CAAC;AACN,CAAC"}
@@ -55,7 +55,28 @@ export interface TenantAttributesSettingsSchema {
55
55
  */
56
56
  sso?: TenantAttributesSettingsSchemaSso;
57
57
  /**
58
+ * THE ORGANISATION'S OWN LANGUAGE - the tenant-level default
59
+ * every surface falls back to when nothing more specific says
60
+ * otherwise. BCP-47 (`pl-PL`, not `pl`). Supported today:
61
+ * en-US, pl-PL, de-DE, it-IT, fr-FR, cs-CZ, he-IL.
58
62
  *
63
+ * Distinct from `activeLanguages`, which is an UNORDERED SET of
64
+ * the locales a tenant publishes in and carries no notion of a
65
+ * primary one - never read `activeLanguages[0]` as the default.
66
+ * Also distinct from a user's Cognito `locale`, which is one
67
+ * recruiter's interface language.
68
+ *
69
+ * Read by the outbound-email locale chain, conversation
70
+ * language, meeting lobby locale, careers `sourceLanguage` at
71
+ * create, and the translation target of the file/talent/
72
+ * persona/timeline/report AI paths. Onboarding seeds every new
73
+ * user's Cognito locale from it.
74
+ *
75
+ * Client-writable through tenant create/PATCH (settings merge
76
+ * is shallow, so sending only `language` preserves the other
77
+ * settings keys). NOTE: the server does not yet enforce this
78
+ * pattern on write - consumers validate defensively and fall
79
+ * back to en-US.
59
80
  * @type {string}
60
81
  * @memberof TenantAttributesSettingsSchema
61
82
  */
@@ -1 +1 @@
1
- {"version":3,"file":"TenantAttributesSettingsSchema.d.ts","sourceRoot":"","sources":["../../src/models/TenantAttributesSettingsSchema.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,uCAAuC,EAAE,MAAM,2CAA2C,CAAC;AAOzG,OAAO,KAAK,EAAE,iCAAiC,EAAE,MAAM,qCAAqC,CAAC;AAO7F,OAAO,KAAK,EAAE,qCAAqC,EAAE,MAAM,yCAAyC,CAAC;AAQrG;;;;GAIG;AACH,MAAM,WAAW,8BAA8B;IAC3C;;;;OAIG;IACH,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ;;;;OAIG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB;;;;OAIG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;;;OAIG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;;;;OAIG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;;;OAIG;IACH,GAAG,CAAC,EAAE,iCAAiC,CAAC;IACxC;;;;OAIG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB;;;;OAIG;IACH,OAAO,CAAC,EAAE,qCAAqC,CAAC;IAChD;;;;OAIG;IACH,SAAS,CAAC,EAAE,uCAAuC,CAAC;CACvD;AAED;;GAEG;AACH,wBAAgB,wCAAwC,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,8BAA8B,CAE/G;AAED,wBAAgB,sCAAsC,CAAC,IAAI,EAAE,GAAG,GAAG,8BAA8B,CAEhG;AAED,wBAAgB,2CAA2C,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,8BAA8B,CAgBnI;AAED,wBAAgB,oCAAoC,CAAC,IAAI,EAAE,GAAG,GAAG,8BAA8B,CAE9F;AAED,wBAAgB,yCAAyC,CAAC,KAAK,CAAC,EAAE,8BAA8B,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAiBlJ"}
1
+ {"version":3,"file":"TenantAttributesSettingsSchema.d.ts","sourceRoot":"","sources":["../../src/models/TenantAttributesSettingsSchema.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,uCAAuC,EAAE,MAAM,2CAA2C,CAAC;AAOzG,OAAO,KAAK,EAAE,iCAAiC,EAAE,MAAM,qCAAqC,CAAC;AAO7F,OAAO,KAAK,EAAE,qCAAqC,EAAE,MAAM,yCAAyC,CAAC;AAQrG;;;;GAIG;AACH,MAAM,WAAW,8BAA8B;IAC3C;;;;OAIG;IACH,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ;;;;OAIG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB;;;;OAIG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;;;OAIG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;;;;OAIG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;;;OAIG;IACH,GAAG,CAAC,EAAE,iCAAiC,CAAC;IACxC;;;;;;;;;;;;;;;;;;;;;;;;;OAyBG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB;;;;OAIG;IACH,OAAO,CAAC,EAAE,qCAAqC,CAAC;IAChD;;;;OAIG;IACH,SAAS,CAAC,EAAE,uCAAuC,CAAC;CACvD;AAED;;GAEG;AACH,wBAAgB,wCAAwC,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,8BAA8B,CAE/G;AAED,wBAAgB,sCAAsC,CAAC,IAAI,EAAE,GAAG,GAAG,8BAA8B,CAEhG;AAED,wBAAgB,2CAA2C,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,8BAA8B,CAgBnI;AAED,wBAAgB,oCAAoC,CAAC,IAAI,EAAE,GAAG,GAAG,8BAA8B,CAE9F;AAED,wBAAgB,yCAAyC,CAAC,KAAK,CAAC,EAAE,8BAA8B,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAiBlJ"}
@@ -1 +1 @@
1
- {"version":3,"file":"TenantAttributesSettingsSchema.js","sourceRoot":"","sources":["../../src/models/TenantAttributesSettingsSchema.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;AA0FH,4FAEC;AAED,wFAEC;AAED,kGAgBC;AAED,oFAEC;AAED,8FAiBC;AArID,uGAKmD;AAEnD,2FAK6C;AAE7C,mGAKiD;AAgEjD;;GAEG;AACH,SAAgB,wCAAwC,CAAC,KAAa;IAClE,OAAO,IAAI,CAAC;AAChB,CAAC;AAED,SAAgB,sCAAsC,CAAC,IAAS;IAC5D,OAAO,2CAA2C,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AACpE,CAAC;AAED,SAAgB,2CAA2C,CAAC,IAAS,EAAE,mBAA4B;IAC/F,IAAI,IAAI,IAAI,IAAI,EAAE,CAAC;QACf,OAAO,IAAI,CAAC;IAChB,CAAC;IACD,OAAO;QAEH,IAAI,EAAE,IAAI,CAAC,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EAAE,KAAK,CAAC,CAAC;AAClE,CAAC;AAED,SAAgB,yCAAyC,CAAC,KAA6C,EAAE,sBAA+B,KAAK;IACzI,IAAI,KAAK,IAAI,IAAI,EAAE,CAAC;QAChB,OAAO,KAAK,CAAC;IACjB,CAAC;IAED,OAAO;QAEH,IAAI,EAAE,KAAK,CAAC,IAAI,CAAC;QACjB,cAAc,EAAE,KAAK,CAAC,cAAc,CAAC;QACrC,QAAQ,EAAE,KAAK,CAAC,QAAQ,CAAC;QACzB,OAAO,EAAE,KAAK,CAAC,OAAO,CAAC;QACvB,WAAW,EAAE,KAAK,CAAC,WAAW,CAAC;QAC/B,KAAK,EAAE,IAAA,2EAAuC,EAAC,KAAK,CAAC,KAAK,CAAC,CAAC;QAC5D,UAAU,EAAE,KAAK,CAAC,UAAU,CAAC;QAC7B,SAAS,EAAE,IAAA,mFAA2C,EAAC,KAAK,CAAC,SAAS,CAAC,CAAC;QACxE,WAAW,EAAE,IAAA,uFAA6C,EAAC,KAAK,CAAC,WAAW,CAAC,CAAC;KACjF,CAAC;AACN,CAAC"}
1
+ {"version":3,"file":"TenantAttributesSettingsSchema.js","sourceRoot":"","sources":["../../src/models/TenantAttributesSettingsSchema.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;AA+GH,4FAEC;AAED,wFAEC;AAED,kGAgBC;AAED,oFAEC;AAED,8FAiBC;AA1JD,uGAKmD;AAEnD,2FAK6C;AAE7C,mGAKiD;AAqFjD;;GAEG;AACH,SAAgB,wCAAwC,CAAC,KAAa;IAClE,OAAO,IAAI,CAAC;AAChB,CAAC;AAED,SAAgB,sCAAsC,CAAC,IAAS;IAC5D,OAAO,2CAA2C,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AACpE,CAAC;AAED,SAAgB,2CAA2C,CAAC,IAAS,EAAE,mBAA4B;IAC/F,IAAI,IAAI,IAAI,IAAI,EAAE,CAAC;QACf,OAAO,IAAI,CAAC;IA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AoC,CAAC,IAAS;IAC1D,OAAO,yCAAyC,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AAClE,CAAC;AAED,SAAgB,yCAAyC,CAAC,KAA6C,EAAE,sBAA+B,KAAK;IACzI,IAAI,KAAK,IAAI,IAAI,EAAE,CAAC;QAChB,OAAO,KAAK,CAAC;IACjB,CAAC;IAED,OAAO;QAEH,IAAI,EAAE,KAAK,CAAC,IAAI,CAAC;QACjB,cAAc,EAAE,KAAK,CAAC,cAAc,CAAC;QACrC,QAAQ,EAAE,KAAK,CAAC,QAAQ,CAAC;QACzB,OAAO,EAAE,KAAK,CAAC,OAAO,CAAC;QACvB,WAAW,EAAE,KAAK,CAAC,WAAW,CAAC;QAC/B,KAAK,EAAE,IAAA,2EAAuC,EAAC,KAAK,CAAC,KAAK,CAAC,CAAC;QAC5D,UAAU,EAAE,KAAK,CAAC,UAAU,CAAC;QAC7B,SAAS,EAAE,IAAA,mFAA2C,EAAC,KAAK,CAAC,SAAS,CAAC,CAAC;QACxE,WAAW,EAAE,IAAA,uFAA6C,EAAC,KAAK,CAAC,WAAW,CAAC,CAAC;KACjF,CAAC;AACN,CAAC"}
@@ -35,11 +35,23 @@ export interface UpdateCareerRequestBodyDataAttributes {
35
35
  */
36
36
  sourceLanguage?: string;
37
37
  /**
38
- * Write-only: async-fill missing locale entries of the draft from sourceLanguage.
38
+ * Write-only: async-fill missing locale entries of the draft from sourceLanguage. Sent with `generate`, it runs AFTER the generator instead of racing it.
39
39
  * @type {boolean}
40
40
  * @memberof UpdateCareerRequestBodyDataAttributes
41
41
  */
42
42
  translate?: boolean;
43
+ /**
44
+ * Write-only: async-compose a WHOLE draft from the tenant's brand and its published live roles. Cannot ride a status change; refused on an archived page; a draft that already carries authored text is a 409 SM_CAREERS_DRAFT_NOT_EMPTY without generateOverwrite. Progress in meta.generation.
45
+ * @type {boolean}
46
+ * @memberof UpdateCareerRequestBodyDataAttributes
47
+ */
48
+ generate?: boolean;
49
+ /**
50
+ * Write-only: consent to replace a draft that already has text. Meaningless without `generate`.
51
+ * @type {boolean}
52
+ * @memberof UpdateCareerRequestBodyDataAttributes
53
+ */
54
+ generateOverwrite?: boolean;
43
55
  /**
44
56
  *
45
57
  * @type {CareersContentSchema}
@@ -1 +1 @@
1
- {"version":3,"file":"UpdateCareerRequestBodyDataAttributes.d.ts","sourceRoot":"","sources":["../../src/models/UpdateCareerRequestBodyDataAttributes.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAQnE;;;;GAIG;AACH,MAAM,WAAW,qCAAqC;IAClD;;;;OAIG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;;;OAIG;IACH,MAAM,CAAC,EAAE,+CAA+C,CAAC;IACzD;;;;OAIG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB;;;;OAIG;IACH,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB;;;;OAIG;IACH,OAAO,CAAC,EAAE,oBAAoB,CAAC;CAClC;AAGD;;GAEG;AACH,eAAO,MAAM,+CAA+C;;;;CAIlD,CAAC;AACX,MAAM,MAAM,+CAA+C,GAAG,OAAO,+CAA+C,CAAC,MAAM,OAAO,+CAA+C,CAAC,CAAC;AAGnL;;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,CAYjJ;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,CAahK"}
1
+ {"version":3,"file":"UpdateCareerRequestBodyDataAttributes.d.ts","sourceRoot":"","sources":["../../src/models/UpdateCareerRequestBodyDataAttributes.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAQnE;;;;GAIG;AACH,MAAM,WAAW,qCAAqC;IAClD;;;;OAIG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;;;OAIG;IACH,MAAM,CAAC,EAAE,+CAA+C,CAAC;IACzD;;;;OAIG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB;;;;OAIG;IACH,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB;;;;OAIG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB;;;;OAIG;IACH,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAC5B;;;;OAIG;IACH,OAAO,CAAC,EAAE,oBAAoB,CAAC;CAClC;AAGD;;GAEG;AACH,eAAO,MAAM,+CAA+C;;;;CAIlD,CAAC;AACX,MAAM,MAAM,+CAA+C,GAAG,OAAO,+CAA+C,CAAC,MAAM,OAAO,+CAA+C,CAAC,CAAC;AAGnL;;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"}
@@ -46,6 +46,8 @@ function UpdateCareerRequestBodyDataAttributesFromJSONTyped(json, ignoreDiscrimi
46
46
  'status': json['status'] == null ? undefined : json['status'],
47
47
  'sourceLanguage': json['sourceLanguage'] == null ? undefined : json['sourceLanguage'],
48
48
  'translate': json['translate'] == null ? undefined : json['translate'],
49
+ 'generate': json['generate'] == null ? undefined : json['generate'],
50
+ 'generateOverwrite': json['generateOverwrite'] == null ? undefined : json['generateOverwrite'],
49
51
  'content': json['content'] == null ? undefined : (0, CareersContentSchema_1.CareersContentSchemaFromJSON)(json['content']),
50
52
  };
51
53
  }
@@ -61,6 +63,8 @@ function UpdateCareerRequestBodyDataAttributesToJSONTyped(value, ignoreDiscrimin
61
63
  'status': value['status'],
62
64
  'sourceLanguage': value['sourceLanguage'],
63
65
  'translate': value['translate'],
66
+ 'generate': value['generate'],
67
+ 'generateOverwrite': value['generateOverwrite'],
64
68
  'content': (0, CareersContentSchema_1.CareersContentSchemaToJSON)(value['content']),
65
69
  };
66
70
  }
@@ -1 +1 @@
1
- {"version":3,"file":"UpdateCareerRequestBodyDataAttributes.js","sourceRoot":"","sources":["../../src/models/UpdateCareerRequestBodyDataAttributes.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;;AAgEH,0GAEC;AAED,sGAEC;AAED,gHAYC;AAED,kGAEC;AAED,4GAaC;AAnGD,iEAKgC;AAyChC;;GAEG;AACU,QAAA,+CAA+C,GAAG;IAC3D,KAAK,EAAE,OAAO;IACd,MAAM,EAAE,QAAQ;IAChB,QAAQ,EAAE,UAAU;CACd,CAAC;AAIX;;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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{"version":3,"file":"UpdateCareerRequestBodyDataAttributes.js","sourceRoot":"","sources":["../../src/models/UpdateCareerRequestBodyDataAttributes.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;;AA4EH,0GAEC;AAED,sGAEC;AAED,gHAcC;AAED,kGAEC;AAED,4GAeC;AAnHD,iEAKgC;AAqDhC;;GAEG;AACU,QAAA,+CAA+C,GAAG;IAC3D,KAAK,EAAE,OAAO;IACd,MAAM,EAAE,QAAQ;IAChB,QAAQ,EAAE,UAAU;CACd,CAAC;AAIX;;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,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,CAAC,QAAQ,CAAC;QAC7D,gBAAgB,EAAE,IAAI,CAAC,gBAAgB,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,IAAI,CAAC,gBAAgB,CAAC;QACrF,WAAW,EAAE,IAAI,CAAC,WAAW,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,IAAI,CAAC,WAAW,CAAC;QACtE,UAAU,EAAE,IAAI,CAAC,UAAU,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,IAAI,CAAC,UAAU,CAAC;QACnE,mBAAmB,EAAE,IAAI,CAAC,mBAAmB,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,IAAI,CAAC,mBAAmB,CAAC;QAC9F,SAAS,EAAE,IAAI,CAAC,SAAS,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,IAAA,mDAA4B,EAAC,IAAI,CAAC,SAAS,CAAC,CAAC;KACjG,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,MAAM,EAAE,KAAK,CAAC,MAAM,CAAC;QACrB,QAAQ,EAAE,KAAK,CAAC,QAAQ,CAAC;QACzB,gBAAgB,EAAE,KAAK,CAAC,gBAAgB,CAAC;QACzC,WAAW,EAAE,KAAK,CAAC,WAAW,CAAC;QAC/B,UAAU,EAAE,KAAK,CAAC,UAAU,CAAC;QAC7B,mBAAmB,EAAE,KAAK,CAAC,mBAAmB,CAAC;QAC/C,SAAS,EAAE,IAAA,iDAA0B,EAAC,KAAK,CAAC,SAAS,CAAC,CAAC;KAC1D,CAAC;AACN,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smartytalent/api-client",
3
- "version": "0.8.9",
3
+ "version": "0.8.11",
4
4
  "description": "TypeScript API client generated from SmartyTalent OpenAPI spec",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",