@smartytalent/api-client 0.9.50 → 0.9.52
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.
- package/dist/apis/AggregatesApi.d.ts +5 -2
- package/dist/apis/AggregatesApi.d.ts.map +1 -1
- package/dist/apis/AggregatesApi.js +10 -3
- package/dist/apis/AggregatesApi.js.map +1 -1
- package/dist/apis/CareersApi.d.ts +4 -4
- package/dist/apis/CareersApi.js +4 -4
- package/dist/apis/SubmissionsApi.d.ts +2 -2
- package/dist/apis/SubmissionsApi.js +2 -2
- package/dist/models/AggregateAttributesSchema.d.ts +6 -0
- package/dist/models/AggregateAttributesSchema.d.ts.map +1 -1
- package/dist/models/AggregateAttributesSchema.js +2 -0
- package/dist/models/AggregateAttributesSchema.js.map +1 -1
- package/dist/models/AggregatesMetaSchema.d.ts +10 -0
- package/dist/models/AggregatesMetaSchema.d.ts.map +1 -1
- package/dist/models/AggregatesMetaSchema.js +2 -0
- package/dist/models/AggregatesMetaSchema.js.map +1 -1
- package/dist/models/CareerAttributesSchema.d.ts +68 -2
- package/dist/models/CareerAttributesSchema.d.ts.map +1 -1
- package/dist/models/CareerAttributesSchema.js +15 -1
- package/dist/models/CareerAttributesSchema.js.map +1 -1
- package/dist/models/CareersPrivacyFieldsSchema.d.ts +69 -0
- package/dist/models/CareersPrivacyFieldsSchema.d.ts.map +1 -0
- package/dist/models/CareersPrivacyFieldsSchema.js +61 -0
- package/dist/models/CareersPrivacyFieldsSchema.js.map +1 -0
- package/dist/models/CareersPrivacySchema.d.ts +79 -0
- package/dist/models/CareersPrivacySchema.d.ts.map +1 -0
- package/dist/models/CareersPrivacySchema.js +59 -0
- package/dist/models/CareersPrivacySchema.js.map +1 -0
- package/dist/models/CareersPrivacySectionSchema.d.ts +49 -0
- package/dist/models/CareersPrivacySectionSchema.d.ts.map +1 -0
- package/dist/models/CareersPrivacySectionSchema.js +53 -0
- package/dist/models/CareersPrivacySectionSchema.js.map +1 -0
- package/dist/models/CreateGuestSubmissionRequest.d.ts +20 -2
- package/dist/models/CreateGuestSubmissionRequest.d.ts.map +1 -1
- package/dist/models/CreateGuestSubmissionRequest.js +6 -0
- package/dist/models/CreateGuestSubmissionRequest.js.map +1 -1
- package/dist/models/UpdateCareerRequestBodyDataAttributes.d.ts +20 -0
- package/dist/models/UpdateCareerRequestBodyDataAttributes.d.ts.map +1 -1
- package/dist/models/UpdateCareerRequestBodyDataAttributes.js +12 -1
- package/dist/models/UpdateCareerRequestBodyDataAttributes.js.map +1 -1
- package/dist/models/index.d.ts +3 -0
- package/dist/models/index.d.ts.map +1 -1
- package/dist/models/index.js +3 -0
- package/dist/models/index.js.map +1 -1
- package/package.json +1 -1
|
@@ -16,6 +16,8 @@ export interface AggregateOptionsRequest {
|
|
|
16
16
|
}
|
|
17
17
|
export interface ListAggregatesRequest {
|
|
18
18
|
filterResourceType?: ListAggregatesFilterResourceTypeEnum;
|
|
19
|
+
filterDayFrom?: Date;
|
|
20
|
+
filterDayTo?: Date;
|
|
19
21
|
filterDimension?: string;
|
|
20
22
|
filterCategory?: string;
|
|
21
23
|
filterKind?: ListAggregatesFilterKindEnum;
|
|
@@ -67,12 +69,12 @@ export declare class AggregatesApi extends runtime.BaseAPI {
|
|
|
67
69
|
*/
|
|
68
70
|
listAggregatesRequestOpts(requestParameters: ListAggregatesRequest): Promise<runtime.RequestOpts>;
|
|
69
71
|
/**
|
|
70
|
-
* Returns the authenticated user\'s per-resource counter projections. Each row is keyed `{resourceType}:{dimension}:{category}:{kind}` and carries a single integer `value`. Counters are maintained event-driven from the owning service (resource lifecycle) and the state service (per-user `isSeen` flips); regular callers GET, never POST. Filters narrow the slice: - `filterResourceType=emails` limits to one resource type. - `filterDimension=byFolder` limits to one categorisation axis. - `filterCategory=received` limits to one category within the dimension. - `filterKind=total|seen|unseen` limits to one projection kind. When `filterDimension` is supplied, the response additionally carries a `meta.by{Dimension}` overlay (e.g. `meta.byFolder`) with the same data grouped category -> kind -> value. Frontends targeting one dimension at a time read the overlay; admin / debug consumers iterate `data` directly.
|
|
72
|
+
* Returns the authenticated user\'s per-resource counter projections. Each row is keyed `{resourceType}:{dimension}:{category}:{kind}` and carries a single integer `value`. Counters are maintained event-driven from the owning service (resource lifecycle) and the state service (per-user `isSeen` flips); regular callers GET, never POST. Filters narrow the slice: - `filterResourceType=emails` limits to one resource type. - `filterDimension=byFolder` limits to one categorisation axis. - `filterCategory=received` limits to one category within the dimension. - `filterKind=total|seen|unseen` limits to one projection kind. When `filterDimension` is supplied, the response additionally carries a `meta.by{Dimension}` overlay (e.g. `meta.byFolder`) with the same data grouped category -> kind -> value. Frontends targeting one dimension at a time read the overlay; admin / debug consumers iterate `data` directly. A request naming its category in full (filterResourceType + filterDimension + filterCategory) returns that category\'s own row (2026-10-06: it used to return nothing). ## Day buckets (event counts, 2026-10-06) `filterDayFrom` / `filterDayTo` (UTC days, YYYY-MM-DD, both inclusive) read the day buckets of one `filterResourceType` + `filterDimension` - every category, or the one `filterCategory` names - the tenant\'s counts (`filterKind` total or absent), in id order (category, then day), each row with its `day`, `meta.byDay` = {day: {category: value}} of the page, and `meta.page.nextCursor` to pass back as `pageAfter`. The meet home\'s counters (`filterResourceType=meetings`): `held` and `heldSeconds` by purpose (category `brief` / `other`), `heldByManager` and `heldSecondsByManager` (category = the manager\'s user id; a brief\'s conversation counts for the brief\'s manager, any other meeting for its host); the seconds are the conversation\'s, first word to last. Buckets live 120 days.
|
|
71
73
|
* List Aggregates
|
|
72
74
|
*/
|
|
73
75
|
listAggregatesRaw(requestParameters: ListAggregatesRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<AggregatesSchema>>;
|
|
74
76
|
/**
|
|
75
|
-
* Returns the authenticated user\'s per-resource counter projections. Each row is keyed `{resourceType}:{dimension}:{category}:{kind}` and carries a single integer `value`. Counters are maintained event-driven from the owning service (resource lifecycle) and the state service (per-user `isSeen` flips); regular callers GET, never POST. Filters narrow the slice: - `filterResourceType=emails` limits to one resource type. - `filterDimension=byFolder` limits to one categorisation axis. - `filterCategory=received` limits to one category within the dimension. - `filterKind=total|seen|unseen` limits to one projection kind. When `filterDimension` is supplied, the response additionally carries a `meta.by{Dimension}` overlay (e.g. `meta.byFolder`) with the same data grouped category -> kind -> value. Frontends targeting one dimension at a time read the overlay; admin / debug consumers iterate `data` directly.
|
|
77
|
+
* Returns the authenticated user\'s per-resource counter projections. Each row is keyed `{resourceType}:{dimension}:{category}:{kind}` and carries a single integer `value`. Counters are maintained event-driven from the owning service (resource lifecycle) and the state service (per-user `isSeen` flips); regular callers GET, never POST. Filters narrow the slice: - `filterResourceType=emails` limits to one resource type. - `filterDimension=byFolder` limits to one categorisation axis. - `filterCategory=received` limits to one category within the dimension. - `filterKind=total|seen|unseen` limits to one projection kind. When `filterDimension` is supplied, the response additionally carries a `meta.by{Dimension}` overlay (e.g. `meta.byFolder`) with the same data grouped category -> kind -> value. Frontends targeting one dimension at a time read the overlay; admin / debug consumers iterate `data` directly. A request naming its category in full (filterResourceType + filterDimension + filterCategory) returns that category\'s own row (2026-10-06: it used to return nothing). ## Day buckets (event counts, 2026-10-06) `filterDayFrom` / `filterDayTo` (UTC days, YYYY-MM-DD, both inclusive) read the day buckets of one `filterResourceType` + `filterDimension` - every category, or the one `filterCategory` names - the tenant\'s counts (`filterKind` total or absent), in id order (category, then day), each row with its `day`, `meta.byDay` = {day: {category: value}} of the page, and `meta.page.nextCursor` to pass back as `pageAfter`. The meet home\'s counters (`filterResourceType=meetings`): `held` and `heldSeconds` by purpose (category `brief` / `other`), `heldByManager` and `heldSecondsByManager` (category = the manager\'s user id; a brief\'s conversation counts for the brief\'s manager, any other meeting for its host); the seconds are the conversation\'s, first word to last. Buckets live 120 days.
|
|
76
78
|
* List Aggregates
|
|
77
79
|
*/
|
|
78
80
|
listAggregates(requestParameters?: ListAggregatesRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<AggregatesSchema>;
|
|
@@ -120,6 +122,7 @@ export declare const ListAggregatesFilterResourceTypeEnum: {
|
|
|
120
122
|
readonly Personas: "personas";
|
|
121
123
|
readonly Reports: "reports";
|
|
122
124
|
readonly Tasks: "tasks";
|
|
125
|
+
readonly Meetings: "meetings";
|
|
123
126
|
};
|
|
124
127
|
export type ListAggregatesFilterResourceTypeEnum = typeof ListAggregatesFilterResourceTypeEnum[keyof typeof ListAggregatesFilterResourceTypeEnum];
|
|
125
128
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AggregatesApi.d.ts","sourceRoot":"","sources":["../../src/apis/AggregatesApi.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,OAAO,MAAM,YAAY,CAAC;AACtC,OAAO,KAAK,EACV,eAAe,EACf,gBAAgB,EAEhB,0BAA0B,EAC3B,MAAM,iBAAiB,CAAC;AAYzB,MAAM,WAAW,uBAAuB;IACpC,WAAW,EAAE,MAAM,CAAC;CACvB;AAED,MAAM,WAAW,qBAAqB;IAClC,kBAAkB,CAAC,EAAE,oCAAoC,CAAC;IAC1D,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,UAAU,CAAC,EAAE,4BAA4B,CAAC;IAC1C,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,UAAU,CAAC,EAAE,MAAM,CAAC;CACvB;AAED,MAAM,WAAW,oBAAoB;IACjC,WAAW,EAAE,MAAM,CAAC;CACvB;AAED,MAAM,WAAW,sBAAsB;IACnC,WAAW,EAAE,MAAM,CAAC;IACpB,0BAA0B,EAAE,0BAA0B,CAAC;CAC1D;AAED;;GAEG;AACH,qBAAa,aAAc,SAAQ,OAAO,CAAC,OAAO;IAE9C;;OAEG;IACG,2BAA2B,CAAC,iBAAiB,EAAE,uBAAuB,GAAG,OAAO,CAAC,OAAO,CAAC,WAAW,CAAC;IAwB3G;;;OAGG;IACG,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ACX,MAAM,MAAM,oCAAoC,GAAG,OAAO,oCAAoC,CAAC,MAAM,OAAO,oCAAoC,CAAC,CAAC;AAClJ;;GAEG;AACH,eAAO,MAAM,4BAA4B;;;;CAI/B,CAAC;AACX,MAAM,MAAM,4BAA4B,GAAG,OAAO,4BAA4B,CAAC,MAAM,OAAO,4BAA4B,CAAC,CAAC"}
|
|
@@ -125,6 +125,12 @@ class AggregatesApi extends runtime.BaseAPI {
|
|
|
125
125
|
if (requestParameters['filterResourceType'] != null) {
|
|
126
126
|
queryParameters['filterResourceType'] = requestParameters['filterResourceType'];
|
|
127
127
|
}
|
|
128
|
+
if (requestParameters['filterDayFrom'] != null) {
|
|
129
|
+
queryParameters['filterDayFrom'] = requestParameters['filterDayFrom'].toISOString().substring(0, 10);
|
|
130
|
+
}
|
|
131
|
+
if (requestParameters['filterDayTo'] != null) {
|
|
132
|
+
queryParameters['filterDayTo'] = requestParameters['filterDayTo'].toISOString().substring(0, 10);
|
|
133
|
+
}
|
|
128
134
|
if (requestParameters['filterDimension'] != null) {
|
|
129
135
|
queryParameters['filterDimension'] = requestParameters['filterDimension'];
|
|
130
136
|
}
|
|
@@ -160,7 +166,7 @@ class AggregatesApi extends runtime.BaseAPI {
|
|
|
160
166
|
};
|
|
161
167
|
}
|
|
162
168
|
/**
|
|
163
|
-
* Returns the authenticated user\'s per-resource counter projections. Each row is keyed `{resourceType}:{dimension}:{category}:{kind}` and carries a single integer `value`. Counters are maintained event-driven from the owning service (resource lifecycle) and the state service (per-user `isSeen` flips); regular callers GET, never POST. Filters narrow the slice: - `filterResourceType=emails` limits to one resource type. - `filterDimension=byFolder` limits to one categorisation axis. - `filterCategory=received` limits to one category within the dimension. - `filterKind=total|seen|unseen` limits to one projection kind. When `filterDimension` is supplied, the response additionally carries a `meta.by{Dimension}` overlay (e.g. `meta.byFolder`) with the same data grouped category -> kind -> value. Frontends targeting one dimension at a time read the overlay; admin / debug consumers iterate `data` directly.
|
|
169
|
+
* Returns the authenticated user\'s per-resource counter projections. Each row is keyed `{resourceType}:{dimension}:{category}:{kind}` and carries a single integer `value`. Counters are maintained event-driven from the owning service (resource lifecycle) and the state service (per-user `isSeen` flips); regular callers GET, never POST. Filters narrow the slice: - `filterResourceType=emails` limits to one resource type. - `filterDimension=byFolder` limits to one categorisation axis. - `filterCategory=received` limits to one category within the dimension. - `filterKind=total|seen|unseen` limits to one projection kind. When `filterDimension` is supplied, the response additionally carries a `meta.by{Dimension}` overlay (e.g. `meta.byFolder`) with the same data grouped category -> kind -> value. Frontends targeting one dimension at a time read the overlay; admin / debug consumers iterate `data` directly. A request naming its category in full (filterResourceType + filterDimension + filterCategory) returns that category\'s own row (2026-10-06: it used to return nothing). ## Day buckets (event counts, 2026-10-06) `filterDayFrom` / `filterDayTo` (UTC days, YYYY-MM-DD, both inclusive) read the day buckets of one `filterResourceType` + `filterDimension` - every category, or the one `filterCategory` names - the tenant\'s counts (`filterKind` total or absent), in id order (category, then day), each row with its `day`, `meta.byDay` = {day: {category: value}} of the page, and `meta.page.nextCursor` to pass back as `pageAfter`. The meet home\'s counters (`filterResourceType=meetings`): `held` and `heldSeconds` by purpose (category `brief` / `other`), `heldByManager` and `heldSecondsByManager` (category = the manager\'s user id; a brief\'s conversation counts for the brief\'s manager, any other meeting for its host); the seconds are the conversation\'s, first word to last. Buckets live 120 days.
|
|
164
170
|
* List Aggregates
|
|
165
171
|
*/
|
|
166
172
|
async listAggregatesRaw(requestParameters, initOverrides) {
|
|
@@ -169,7 +175,7 @@ class AggregatesApi extends runtime.BaseAPI {
|
|
|
169
175
|
return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.AggregatesSchemaFromJSON)(jsonValue));
|
|
170
176
|
}
|
|
171
177
|
/**
|
|
172
|
-
* Returns the authenticated user\'s per-resource counter projections. Each row is keyed `{resourceType}:{dimension}:{category}:{kind}` and carries a single integer `value`. Counters are maintained event-driven from the owning service (resource lifecycle) and the state service (per-user `isSeen` flips); regular callers GET, never POST. Filters narrow the slice: - `filterResourceType=emails` limits to one resource type. - `filterDimension=byFolder` limits to one categorisation axis. - `filterCategory=received` limits to one category within the dimension. - `filterKind=total|seen|unseen` limits to one projection kind. When `filterDimension` is supplied, the response additionally carries a `meta.by{Dimension}` overlay (e.g. `meta.byFolder`) with the same data grouped category -> kind -> value. Frontends targeting one dimension at a time read the overlay; admin / debug consumers iterate `data` directly.
|
|
178
|
+
* Returns the authenticated user\'s per-resource counter projections. Each row is keyed `{resourceType}:{dimension}:{category}:{kind}` and carries a single integer `value`. Counters are maintained event-driven from the owning service (resource lifecycle) and the state service (per-user `isSeen` flips); regular callers GET, never POST. Filters narrow the slice: - `filterResourceType=emails` limits to one resource type. - `filterDimension=byFolder` limits to one categorisation axis. - `filterCategory=received` limits to one category within the dimension. - `filterKind=total|seen|unseen` limits to one projection kind. When `filterDimension` is supplied, the response additionally carries a `meta.by{Dimension}` overlay (e.g. `meta.byFolder`) with the same data grouped category -> kind -> value. Frontends targeting one dimension at a time read the overlay; admin / debug consumers iterate `data` directly. A request naming its category in full (filterResourceType + filterDimension + filterCategory) returns that category\'s own row (2026-10-06: it used to return nothing). ## Day buckets (event counts, 2026-10-06) `filterDayFrom` / `filterDayTo` (UTC days, YYYY-MM-DD, both inclusive) read the day buckets of one `filterResourceType` + `filterDimension` - every category, or the one `filterCategory` names - the tenant\'s counts (`filterKind` total or absent), in id order (category, then day), each row with its `day`, `meta.byDay` = {day: {category: value}} of the page, and `meta.page.nextCursor` to pass back as `pageAfter`. The meet home\'s counters (`filterResourceType=meetings`): `held` and `heldSeconds` by purpose (category `brief` / `other`), `heldByManager` and `heldSecondsByManager` (category = the manager\'s user id; a brief\'s conversation counts for the brief\'s manager, any other meeting for its host); the seconds are the conversation\'s, first word to last. Buckets live 120 days.
|
|
173
179
|
* List Aggregates
|
|
174
180
|
*/
|
|
175
181
|
async listAggregates(requestParameters = {}, initOverrides) {
|
|
@@ -281,7 +287,8 @@ exports.ListAggregatesFilterResourceTypeEnum = {
|
|
|
281
287
|
Talents: 'talents',
|
|
282
288
|
Personas: 'personas',
|
|
283
289
|
Reports: 'reports',
|
|
284
|
-
Tasks: 'tasks'
|
|
290
|
+
Tasks: 'tasks',
|
|
291
|
+
Meetings: 'meetings'
|
|
285
292
|
};
|
|
286
293
|
/**
|
|
287
294
|
* @export
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AggregatesApi.js","sourceRoot":"","sources":["../../src/apis/AggregatesApi.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAGH,oDAAsC;AAOtC,2CASyB;
|
|
1
|
+
{"version":3,"file":"AggregatesApi.js","sourceRoot":"","sources":["../../src/apis/AggregatesApi.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAGH,oDAAsC;AAOtC,2CASyB;AA2BzB;;GAEG;AACH,MAAa,aAAc,SAAQ,OAAO,CAAC,OAAO;IAE9C;;OAEG;IACH,KAAK,CAAC,2BAA2B,CAAC,iBAA0C;QACxE,IAAI,iBAAiB,CAAC,aAAa,CAAC,IAAI,IAAI,EAAE,CAAC;YAC3C,MAAM,IAAI,OAAO,CAAC,aAAa,CAC3B,aAAa,EACb,yFAAyF,CAC5F,CAAC;QACN,CAAC;QAED,MAAM,eAAe,GAAQ,EAAE,CAAC;QAEhC,MAAM,gBAAgB,GAAwB,EAAE,CAAC;QAGjD,IAAI,OAAO,GAAG,8BAA8B,CAAC;QAC7C,OAAO,GAAG,OAAO,CAAC,OAAO,CAAC,IAAI,aAAa,GAAG,EAAE,kBAAkB,CAAC,MAAM,CAAC,iBAAiB,CAAC,aAAa,CAAC,CAAC,CAAC,CAAC,CAAC;QAE9G,OAAO;YACH,IAAI,EAAE,OAAO;YACb,MAAM,EAAE,SAAS;YACjB,OAAO,EAA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,CAAC,KAAK,EAAE,CAAC;IAClC,CAAC;CAEJ;AApSD,sCAoSC;AAED;;GAEG;AACU,QAAA,oCAAoC,GAAG;IAChD,MAAM,EAAE,QAAQ;IAChB,KAAK,EAAE,OAAO;IACd,KAAK,EAAE,OAAO;IACd,QAAQ,EAAE,UAAU;IACpB,UAAU,EAAE,YAAY;IACxB,aAAa,EAAE,eAAe;IAC9B,IAAI,EAAE,MAAM;IACZ,OAAO,EAAE,SAAS;IAClB,QAAQ,EAAE,UAAU;IACpB,OAAO,EAAE,SAAS;IAClB,KAAK,EAAE,OAAO;IACd,QAAQ,EAAE,UAAU;CACd,CAAC;AAEX;;GAEG;AACU,QAAA,4BAA4B,GAAG;IACxC,KAAK,EAAE,OAAO;IACd,IAAI,EAAE,MAAM;IACZ,MAAM,EAAE,QAAQ;CACV,CAAC"}
|
|
@@ -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
|
|
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
|
|
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>;
|
package/dist/apis/CareersApi.js
CHANGED
|
@@ -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
|
|
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
|
|
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) {
|
|
@@ -46,6 +46,12 @@ export interface AggregateAttributesSchema {
|
|
|
46
46
|
* @memberof AggregateAttributesSchema
|
|
47
47
|
*/
|
|
48
48
|
value?: number;
|
|
49
|
+
/**
|
|
50
|
+
* The UTC day of a day bucket (event counts read with filterDayFrom / filterDayTo, e.g. the meet home's `meetings` counters, 2026-10-06). Absent on every other row.
|
|
51
|
+
* @type {Date}
|
|
52
|
+
* @memberof AggregateAttributesSchema
|
|
53
|
+
*/
|
|
54
|
+
day?: Date;
|
|
49
55
|
/**
|
|
50
56
|
*
|
|
51
57
|
* @type {ResourceTimestampsSchema}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AggregateAttributesSchema.d.ts","sourceRoot":"","sources":["../../src/models/AggregateAttributesSchema.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,4BAA4B,CAAC;AAQ3E;;;;GAIG;AACH,MAAM,WAAW,yBAAyB;IACtC;;;;OAIG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB;;;;OAIG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;;;OAIG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB;;;;OAIG;IACH,IAAI,CAAC,EAAE,iCAAiC,CAAC;IACzC;;;;OAIG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;;;;OAIG;IACH,UAAU,CAAC,EAAE,wBAAwB,CAAC;CACzC;AAGD;;GAEG;AACH,eAAO,MAAM,iCAAiC;;;;CAIpC,CAAC;AACX,MAAM,MAAM,iCAAiC,GAAG,OAAO,iCAAiC,CAAC,MAAM,OAAO,iCAAiC,CAAC,CAAC;AAGzI;;GAEG;AACH,wBAAgB,mCAAmC,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,yBAAyB,CAErG;AAED,wBAAgB,iCAAiC,CAAC,IAAI,EAAE,GAAG,GAAG,yBAAyB,CAEtF;AAED,wBAAgB,sCAAsC,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,yBAAyB,
|
|
1
|
+
{"version":3,"file":"AggregateAttributesSchema.d.ts","sourceRoot":"","sources":["../../src/models/AggregateAttributesSchema.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,4BAA4B,CAAC;AAQ3E;;;;GAIG;AACH,MAAM,WAAW,yBAAyB;IACtC;;;;OAIG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB;;;;OAIG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;;;OAIG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB;;;;OAIG;IACH,IAAI,CAAC,EAAE,iCAAiC,CAAC;IACzC;;;;OAIG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;;;;OAIG;IACH,GAAG,CAAC,EAAE,IAAI,CAAC;IACX;;;;OAIG;IACH,UAAU,CAAC,EAAE,wBAAwB,CAAC;CACzC;AAGD;;GAEG;AACH,eAAO,MAAM,iCAAiC;;;;CAIpC,CAAC;AACX,MAAM,MAAM,iCAAiC,GAAG,OAAO,iCAAiC,CAAC,MAAM,OAAO,iCAAiC,CAAC,CAAC;AAGzI;;GAEG;AACH,wBAAgB,mCAAmC,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,yBAAyB,CAErG;AAED,wBAAgB,iCAAiC,CAAC,IAAI,EAAE,GAAG,GAAG,yBAAyB,CAEtF;AAED,wBAAgB,sCAAsC,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,yBAAyB,CAczH;AAED,wBAAgB,+BAA+B,CAAC,IAAI,EAAE,GAAG,GAAG,yBAAyB,CAEpF;AAED,wBAAgB,oCAAoC,CAAC,KAAK,CAAC,EAAE,yBAAyB,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAexI"}
|
|
@@ -47,6 +47,7 @@ function AggregateAttributesSchemaFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
47
47
|
'category': json['category'] == null ? undefined : json['category'],
|
|
48
48
|
'kind': json['kind'] == null ? undefined : json['kind'],
|
|
49
49
|
'value': json['value'] == null ? undefined : json['value'],
|
|
50
|
+
'day': json['day'] == null ? undefined : (new Date(json['day'])),
|
|
50
51
|
'timestamps': json['timestamps'] == null ? undefined : (0, ResourceTimestampsSchema_1.ResourceTimestampsSchemaFromJSON)(json['timestamps']),
|
|
51
52
|
};
|
|
52
53
|
}
|
|
@@ -63,6 +64,7 @@ function AggregateAttributesSchemaToJSONTyped(value, ignoreDiscriminator = false
|
|
|
63
64
|
'category': value['category'],
|
|
64
65
|
'kind': value['kind'],
|
|
65
66
|
'value': value['value'],
|
|
67
|
+
'day': value['day'] == null ? value['day'] : value['day'].toISOString().substring(0, 10),
|
|
66
68
|
'timestamps': (0, ResourceTimestampsSchema_1.ResourceTimestampsSchemaToJSON)(value['timestamps']),
|
|
67
69
|
};
|
|
68
70
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AggregateAttributesSchema.js","sourceRoot":"","sources":["../../src/models/AggregateAttributesSchema.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;;
|
|
1
|
+
{"version":3,"file":"AggregateAttributesSchema.js","sourceRoot":"","sources":["../../src/models/AggregateAttributesSchema.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;;AA4EH,kFAEC;AAED,8EAEC;AAED,wFAcC;AAED,0EAEC;AAED,oFAeC;AAnHD,yEAKoC;AAqDpC;;GAEG;AACU,QAAA,iCAAiC,GAAG;IAC7C,KAAK,EAAE,OAAO;IACd,MAAM,EAAE,QAAQ;IAChB,IAAI,EAAE,MAAM;CACN,CAAC;AAIX;;GAEG;AACH,SAAgB,mCAAmC,CAAC,KAAa;IAC7D,OAAO,IAAI,CAAC;AAChB,CAAC;AAED,SAAgB,iCAAiC,CAAC,IAAS;IACvD,OAAO,sCAAsC,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AAC/D,CAAC;AAED,SAAgB,sCAAsC,CAAC,IAAS,EAAE,mBAA4B;IAC1F,IAAI,IAAI,IAAI,IAAI,EAAE,CAAC;QACf,OAAO,IAAI,CAAC;IAChB,CAAC;IACD,OAAO;QAEH,cAAc,EAAE,IAAI,CAAC,cAAc,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,IAAI,CAAC,cAAc,CAAC;QAC/E,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,MAAM,EAAE,IAAI,CAAC,MAAM,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC;QACvD,OAAO,EAAE,I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39
39
|
* @memberof AggregatesMetaSchema
|
|
40
40
|
*/
|
|
41
41
|
count?: object;
|
|
42
|
+
/**
|
|
43
|
+
* Day reads only (filterDayFrom / filterDayTo, 2026-10-06): the page's buckets as {day: {category: value}}, days in UTC (YYYY-MM-DD).
|
|
44
|
+
* @type {{ [key: string]: { [key: string]: number; }; }}
|
|
45
|
+
* @memberof AggregatesMetaSchema
|
|
46
|
+
*/
|
|
47
|
+
byDay?: {
|
|
48
|
+
[key: string]: {
|
|
49
|
+
[key: string]: number;
|
|
50
|
+
};
|
|
51
|
+
};
|
|
42
52
|
/**
|
|
43
53
|
* Email folder counts. Present in the response only when
|
|
44
54
|
* `filterDimension=byFolder` was supplied. Keys are folder
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AggregatesMetaSchema.d.ts","sourceRoot":"","sources":["../../src/models/AggregatesMetaSchema.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,2BAA2B,EAAE,MAAM,+BAA+B,CAAC;AAOjF,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,2BAA2B,CAAC;AAQzE;;;;;;;;;;;;;;GAcG;AACH,MAAM,WAAW,oBAAoB;IACjC;;;;OAIG;IACH,IAAI,CAAC,EAAE,uBAAuB,CAAC;IAC/B;;;;OAIG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;;;;;;;;;OASG;IACH,QAAQ,CAAC,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,2BAA2B,CAAC;KAAE,CAAC;CAC9D;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,
|
|
1
|
+
{"version":3,"file":"AggregatesMetaSchema.d.ts","sourceRoot":"","sources":["../../src/models/AggregatesMetaSchema.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,2BAA2B,EAAE,MAAM,+BAA+B,CAAC;AAOjF,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,2BAA2B,CAAC;AAQzE;;;;;;;;;;;;;;GAcG;AACH,MAAM,WAAW,oBAAoB;IACjC;;;;OAIG;IACH,IAAI,CAAC,EAAE,uBAAuB,CAAC;IAC/B;;;;OAIG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;;;;OAIG;IACH,KAAK,CAAC,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG;YAAE,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAC;SAAE,CAAC;KAAE,CAAC;IACvD;;;;;;;;;OASG;IACH,QAAQ,CAAC,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,2BAA2B,CAAC;KAAE,CAAC;CAC9D;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,CAW/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,CAY9H"}
|
|
@@ -37,6 +37,7 @@ function AggregatesMetaSchemaFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
37
37
|
return {
|
|
38
38
|
'page': json['page'] == null ? undefined : (0, ResourcesMetaPageSchema_1.ResourcesMetaPageSchemaFromJSON)(json['page']),
|
|
39
39
|
'count': json['count'] == null ? undefined : json['count'],
|
|
40
|
+
'byDay': json['byDay'] == null ? undefined : json['byDay'],
|
|
40
41
|
'byFolder': json['byFolder'] == null ? undefined : ((0, runtime_1.mapValues)(json['byFolder'], AggregateCountsBucketSchema_1.AggregateCountsBucketSchemaFromJSON)),
|
|
41
42
|
};
|
|
42
43
|
}
|
|
@@ -50,6 +51,7 @@ function AggregatesMetaSchemaToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
50
51
|
return {
|
|
51
52
|
'page': (0, ResourcesMetaPageSchema_1.ResourcesMetaPageSchemaToJSON)(value['page']),
|
|
52
53
|
'count': value['count'],
|
|
54
|
+
'byDay': value['byDay'],
|
|
53
55
|
'byFolder': value['byFolder'] == null ? undefined : ((0, runtime_1.mapValues)(value['byFolder'], AggregateCountsBucketSchema_1.AggregateCountsBucketSchemaToJSON)),
|
|
54
56
|
};
|
|
55
57
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AggregatesMetaSchema.js","sourceRoot":"","sources":["../../src/models/AggregatesMetaSchema.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;
|
|
1
|
+
{"version":3,"file":"AggregatesMetaSchema.js","sourceRoot":"","sources":["../../src/models/AggregatesMetaSchema.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;AAoEH,wEAEC;AAED,oEAEC;AAED,8EAWC;AAED,gEAEC;AAED,0EAYC;AAvGD,wCAAuC;AAEvC,+EAKuC;AAEvC,uEAKmC;AAiDnC;;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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,CAAC,UAAU,CAAC,EAAE,+DAAiC,CAAC,CAAC;KACxH,CAAC;AACN,CAAC"}
|
|
@@ -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
|
|
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,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAOnE,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,4BAA4B,CAAC;AAQ3E;;;;;;;;;;;;;;;;GAgBG;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;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,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;;;
|
|
1
|
+
{"version":3,"file":"CareerAttributesSchema.js","sourceRoot":"","sources":["../../src/models/CareerAttributesSchema.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;;AAwPH,4EAEC;AAED,wEAEC;AAED,kFAyBC;AAED,oEAEC;AAED,8EAkBC;AA7SD,iEAKgC;AAEhC,iEAKgC;AAEhC,yEAKoC;AA0MpC;;GAEG;AACU,QAAA,gCAAgC,GAAG;IAC5C,KAAK,EAAE,OAAO;IACd,MAAM,EAAE,QAAQ;IAChB,QAAQ,EAAE,UAAU;CACd,CAAC;AAGX;;GAEG;AACU,QAAA,uCAAuC,GAAG;IACnD,KAAK,EAAE,OAAO;IACd,MAAM,EAAE,QAAQ;CACV,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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