@smartytalent/api-client 0.1.33-dev.102 → 0.1.33-dev.103
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.
|
@@ -17,17 +17,41 @@ import type { ResourceTimestampsSchema } from './ResourceTimestampsSchema';
|
|
|
17
17
|
*/
|
|
18
18
|
export interface OperationAttributesSchema {
|
|
19
19
|
/**
|
|
20
|
-
*
|
|
20
|
+
* Required on create. Human-readable operation name.
|
|
21
|
+
* @type {string}
|
|
22
|
+
* @memberof OperationAttributesSchema
|
|
23
|
+
*/
|
|
24
|
+
name?: string;
|
|
25
|
+
/**
|
|
26
|
+
* Required on create. Colon-notation ATS event code (e.g. rcrt:event:candidate:created); the prefix derives source.
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof OperationAttributesSchema
|
|
29
|
+
*/
|
|
30
|
+
event?: string;
|
|
31
|
+
/**
|
|
32
|
+
* Required on create. JSON STRING (max 4096) carrying the per-event payload, e.g. {"talent":{"shortCode":"123"},"job":{"shortCode":"456"}}. Parsed to an object in the service:operation:created event copy.
|
|
33
|
+
* @type {string}
|
|
34
|
+
* @memberof OperationAttributesSchema
|
|
35
|
+
*/
|
|
36
|
+
eventDetails?: string;
|
|
37
|
+
/**
|
|
38
|
+
* Derived server-side from the event prefix (erecruiter, lever). Read-only.
|
|
21
39
|
* @type {string}
|
|
22
40
|
* @memberof OperationAttributesSchema
|
|
23
41
|
*/
|
|
24
|
-
|
|
42
|
+
source?: string;
|
|
43
|
+
/**
|
|
44
|
+
*
|
|
45
|
+
* @type {OperationAttributesSchemaStatusEnum}
|
|
46
|
+
* @memberof OperationAttributesSchema
|
|
47
|
+
*/
|
|
48
|
+
status?: OperationAttributesSchemaStatusEnum;
|
|
25
49
|
/**
|
|
26
50
|
*
|
|
27
51
|
* @type {string}
|
|
28
52
|
* @memberof OperationAttributesSchema
|
|
29
53
|
*/
|
|
30
|
-
|
|
54
|
+
parentOperationId?: string | null;
|
|
31
55
|
/**
|
|
32
56
|
*
|
|
33
57
|
* @type {ResourceTimestampsSchema}
|
|
@@ -35,6 +59,18 @@ export interface OperationAttributesSchema {
|
|
|
35
59
|
*/
|
|
36
60
|
timestamps?: ResourceTimestampsSchema;
|
|
37
61
|
}
|
|
62
|
+
/**
|
|
63
|
+
* @export
|
|
64
|
+
*/
|
|
65
|
+
export declare const OperationAttributesSchemaStatusEnum: {
|
|
66
|
+
readonly Active: "active";
|
|
67
|
+
readonly Inactive: "inactive";
|
|
68
|
+
readonly Pending: "pending";
|
|
69
|
+
readonly Hold: "hold";
|
|
70
|
+
readonly Archived: "archived";
|
|
71
|
+
readonly Failed: "failed";
|
|
72
|
+
};
|
|
73
|
+
export type OperationAttributesSchemaStatusEnum = typeof OperationAttributesSchemaStatusEnum[keyof typeof OperationAttributesSchemaStatusEnum];
|
|
38
74
|
/**
|
|
39
75
|
* Check if a given object implements the OperationAttributesSchema interface.
|
|
40
76
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"OperationAttributesSchema.d.ts","sourceRoot":"","sources":["../../src/models/OperationAttributesSchema.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,4BAA4B,CAAC;AAQ3E;;;;GAIG;AACH,MAAM,WAAW,yBAAyB;IACtC;;;;OAIG;IACH,IAAI,EAAE,MAAM,CAAC;
|
|
1
|
+
{"version":3,"file":"OperationAttributesSchema.d.ts","sourceRoot":"","sources":["../../src/models/OperationAttributesSchema.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,4BAA4B,CAAC;AAQ3E;;;;GAIG;AACH,MAAM,WAAW,yBAAyB;IACtC;;;;OAIG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;;;OAIG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;;;;OAIG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB;;;;OAIG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;;;OAIG;IACH,MAAM,CAAC,EAAE,mCAAmC,CAAC;IAC7C;;;;OAIG;IACH,iBAAiB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAClC;;;;OAIG;IACH,UAAU,CAAC,EAAE,wBAAwB,CAAC;CACzC;AAGD;;GAEG;AACH,eAAO,MAAM,mCAAmC;;;;;;;CAOtC,CAAC;AACX,MAAM,MAAM,mCAAmC,GAAG,OAAO,mCAAmC,CAAC,MAAM,OAAO,mCAAmC,CAAC,CAAC;AAG/I;;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"}
|
|
@@ -13,18 +13,28 @@
|
|
|
13
13
|
* Do not edit the class manually.
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.OperationAttributesSchemaStatusEnum = void 0;
|
|
16
17
|
exports.instanceOfOperationAttributesSchema = instanceOfOperationAttributesSchema;
|
|
17
18
|
exports.OperationAttributesSchemaFromJSON = OperationAttributesSchemaFromJSON;
|
|
18
19
|
exports.OperationAttributesSchemaFromJSONTyped = OperationAttributesSchemaFromJSONTyped;
|
|
19
20
|
exports.OperationAttributesSchemaToJSON = OperationAttributesSchemaToJSON;
|
|
20
21
|
exports.OperationAttributesSchemaToJSONTyped = OperationAttributesSchemaToJSONTyped;
|
|
21
22
|
const ResourceTimestampsSchema_1 = require("./ResourceTimestampsSchema");
|
|
23
|
+
/**
|
|
24
|
+
* @export
|
|
25
|
+
*/
|
|
26
|
+
exports.OperationAttributesSchemaStatusEnum = {
|
|
27
|
+
Active: 'active',
|
|
28
|
+
Inactive: 'inactive',
|
|
29
|
+
Pending: 'pending',
|
|
30
|
+
Hold: 'hold',
|
|
31
|
+
Archived: 'archived',
|
|
32
|
+
Failed: 'failed'
|
|
33
|
+
};
|
|
22
34
|
/**
|
|
23
35
|
* Check if a given object implements the OperationAttributesSchema interface.
|
|
24
36
|
*/
|
|
25
37
|
function instanceOfOperationAttributesSchema(value) {
|
|
26
|
-
if (!('name' in value) || value['name'] === undefined)
|
|
27
|
-
return false;
|
|
28
38
|
return true;
|
|
29
39
|
}
|
|
30
40
|
function OperationAttributesSchemaFromJSON(json) {
|
|
@@ -35,8 +45,12 @@ function OperationAttributesSchemaFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
35
45
|
return json;
|
|
36
46
|
}
|
|
37
47
|
return {
|
|
38
|
-
'name': json['name'],
|
|
48
|
+
'name': json['name'] == null ? undefined : json['name'],
|
|
49
|
+
'event': json['event'] == null ? undefined : json['event'],
|
|
50
|
+
'eventDetails': json['eventDetails'] == null ? undefined : json['eventDetails'],
|
|
51
|
+
'source': json['source'] == null ? undefined : json['source'],
|
|
39
52
|
'status': json['status'] == null ? undefined : json['status'],
|
|
53
|
+
'parentOperationId': json['parentOperationId'] == null ? undefined : json['parentOperationId'],
|
|
40
54
|
'timestamps': json['timestamps'] == null ? undefined : (0, ResourceTimestampsSchema_1.ResourceTimestampsSchemaFromJSON)(json['timestamps']),
|
|
41
55
|
};
|
|
42
56
|
}
|
|
@@ -49,7 +63,11 @@ function OperationAttributesSchemaToJSONTyped(value, ignoreDiscriminator = false
|
|
|
49
63
|
}
|
|
50
64
|
return {
|
|
51
65
|
'name': value['name'],
|
|
66
|
+
'event': value['event'],
|
|
67
|
+
'eventDetails': value['eventDetails'],
|
|
68
|
+
'source': value['source'],
|
|
52
69
|
'status': value['status'],
|
|
70
|
+
'parentOperationId': value['parentOperationId'],
|
|
53
71
|
'timestamps': (0, ResourceTimestampsSchema_1.ResourceTimestampsSchemaToJSON)(value['timestamps']),
|
|
54
72
|
};
|
|
55
73
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"OperationAttributesSchema.js","sourceRoot":"","sources":["../../src/models/OperationAttributesSchema.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG
|
|
1
|
+
{"version":3,"file":"OperationAttributesSchema.js","sourceRoot":"","sources":["../../src/models/OperationAttributesSchema.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;;AA+EH,kFAEC;AAED,8EAEC;AAED,wFAcC;AAED,0EAEC;AAED,oFAeC;AAtHD,yEAKoC;AAqDpC;;GAEG;AACU,QAAA,mCAAmC,GAAG;IAC/C,MAAM,EAAE,QAAQ;IAChB,QAAQ,EAAE,UAAU;IACpB,OAAO,EAAE,SAAS;IAClB,IAAI,EAAE,MAAM;IACZ,QAAQ,EAAE,UAAU;IACpB,MAAM,EAAE,QAAQ;CACV,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,MAAM,EAAE,IAAI,CAAC,MAAM,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC,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