@product-live/api-sdk 1.87.0-dev

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.
@@ -0,0 +1,143 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Product-Live API
5
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
6
+ *
7
+ * The version of the OpenAPI document: 1.87.0
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+ import { exists, mapValues } from '../runtime';
16
+ /**
17
+ *
18
+ * @export
19
+ * @interface TaskInstanceDto
20
+ */
21
+ export interface TaskInstanceDto {
22
+ /**
23
+ *
24
+ * @type {string}
25
+ * @memberof TaskInstanceDto
26
+ */
27
+ id: string;
28
+ /**
29
+ *
30
+ * @type {{ [key: string]: any; }}
31
+ * @memberof TaskInstanceDto
32
+ */
33
+ output: { [key: string]: any; };
34
+ /**
35
+ *
36
+ * @type {string}
37
+ * @memberof TaskInstanceDto
38
+ */
39
+ status: TaskInstanceDtoStatusEnum;
40
+ /**
41
+ *
42
+ * @type {string}
43
+ * @memberof TaskInstanceDto
44
+ */
45
+ message: string;
46
+ /**
47
+ *
48
+ * @type {string}
49
+ * @memberof TaskInstanceDto
50
+ */
51
+ object: string;
52
+ /**
53
+ *
54
+ * @type {string}
55
+ * @memberof TaskInstanceDto
56
+ */
57
+ createdAt: string;
58
+ /**
59
+ *
60
+ * @type {string}
61
+ * @memberof TaskInstanceDto
62
+ */
63
+ updatedAt: string;
64
+ /**
65
+ *
66
+ * @type {{ [key: string]: any; }}
67
+ * @memberof TaskInstanceDto
68
+ */
69
+ input: { [key: string]: any; };
70
+ }
71
+
72
+
73
+ /**
74
+ * @export
75
+ */
76
+ export const TaskInstanceDtoStatusEnum = {
77
+ Scheduled: 'SCHEDULED',
78
+ InProgress: 'IN_PROGRESS',
79
+ Cancelled: 'CANCELLED',
80
+ Failed: 'FAILED',
81
+ Completed: 'COMPLETED'
82
+ } as const;
83
+ export type TaskInstanceDtoStatusEnum = typeof TaskInstanceDtoStatusEnum[keyof typeof TaskInstanceDtoStatusEnum];
84
+
85
+
86
+ /**
87
+ * Check if a given object implements the TaskInstanceDto interface.
88
+ */
89
+ export function instanceOfTaskInstanceDto(value: object): boolean {
90
+ let isInstance = true;
91
+ isInstance = isInstance && "id" in value;
92
+ isInstance = isInstance && "output" in value;
93
+ isInstance = isInstance && "status" in value;
94
+ isInstance = isInstance && "message" in value;
95
+ isInstance = isInstance && "object" in value;
96
+ isInstance = isInstance && "createdAt" in value;
97
+ isInstance = isInstance && "updatedAt" in value;
98
+ isInstance = isInstance && "input" in value;
99
+
100
+ return isInstance;
101
+ }
102
+
103
+ export function TaskInstanceDtoFromJSON(json: any): TaskInstanceDto {
104
+ return TaskInstanceDtoFromJSONTyped(json, false);
105
+ }
106
+
107
+ export function TaskInstanceDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): TaskInstanceDto {
108
+ if ((json === undefined) || (json === null)) {
109
+ return json;
110
+ }
111
+ return {
112
+
113
+ 'id': json['id'],
114
+ 'output': json['output'],
115
+ 'status': json['status'],
116
+ 'message': json['message'],
117
+ 'object': json['object'],
118
+ 'createdAt': json['createdAt'],
119
+ 'updatedAt': json['updatedAt'],
120
+ 'input': json['input'],
121
+ };
122
+ }
123
+
124
+ export function TaskInstanceDtoToJSON(value?: TaskInstanceDto | null): any {
125
+ if (value === undefined) {
126
+ return undefined;
127
+ }
128
+ if (value === null) {
129
+ return null;
130
+ }
131
+ return {
132
+
133
+ 'id': value.id,
134
+ 'output': value.output,
135
+ 'status': value.status,
136
+ 'message': value.message,
137
+ 'object': value.object,
138
+ 'createdAt': value.createdAt,
139
+ 'updatedAt': value.updatedAt,
140
+ 'input': value.input,
141
+ };
142
+ }
143
+
@@ -0,0 +1,107 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Product-Live API
5
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
6
+ *
7
+ * The version of the OpenAPI document: 1.87.0
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+ import { exists, mapValues } from '../runtime';
16
+ /**
17
+ *
18
+ * @export
19
+ * @interface TaskInstanceUpdateDto
20
+ */
21
+ export interface TaskInstanceUpdateDto {
22
+ /**
23
+ *
24
+ * @type {string}
25
+ * @memberof TaskInstanceUpdateDto
26
+ */
27
+ id: string;
28
+ /**
29
+ *
30
+ * @type {{ [key: string]: any; }}
31
+ * @memberof TaskInstanceUpdateDto
32
+ */
33
+ output: { [key: string]: any; };
34
+ /**
35
+ *
36
+ * @type {string}
37
+ * @memberof TaskInstanceUpdateDto
38
+ */
39
+ status: TaskInstanceUpdateDtoStatusEnum;
40
+ /**
41
+ *
42
+ * @type {string}
43
+ * @memberof TaskInstanceUpdateDto
44
+ */
45
+ message: string;
46
+ }
47
+
48
+
49
+ /**
50
+ * @export
51
+ */
52
+ export const TaskInstanceUpdateDtoStatusEnum = {
53
+ Scheduled: 'SCHEDULED',
54
+ InProgress: 'IN_PROGRESS',
55
+ Cancelled: 'CANCELLED',
56
+ Failed: 'FAILED',
57
+ Completed: 'COMPLETED'
58
+ } as const;
59
+ export type TaskInstanceUpdateDtoStatusEnum = typeof TaskInstanceUpdateDtoStatusEnum[keyof typeof TaskInstanceUpdateDtoStatusEnum];
60
+
61
+
62
+ /**
63
+ * Check if a given object implements the TaskInstanceUpdateDto interface.
64
+ */
65
+ export function instanceOfTaskInstanceUpdateDto(value: object): boolean {
66
+ let isInstance = true;
67
+ isInstance = isInstance && "id" in value;
68
+ isInstance = isInstance && "output" in value;
69
+ isInstance = isInstance && "status" in value;
70
+ isInstance = isInstance && "message" in value;
71
+
72
+ return isInstance;
73
+ }
74
+
75
+ export function TaskInstanceUpdateDtoFromJSON(json: any): TaskInstanceUpdateDto {
76
+ return TaskInstanceUpdateDtoFromJSONTyped(json, false);
77
+ }
78
+
79
+ export function TaskInstanceUpdateDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): TaskInstanceUpdateDto {
80
+ if ((json === undefined) || (json === null)) {
81
+ return json;
82
+ }
83
+ return {
84
+
85
+ 'id': json['id'],
86
+ 'output': json['output'],
87
+ 'status': json['status'],
88
+ 'message': json['message'],
89
+ };
90
+ }
91
+
92
+ export function TaskInstanceUpdateDtoToJSON(value?: TaskInstanceUpdateDto | null): any {
93
+ if (value === undefined) {
94
+ return undefined;
95
+ }
96
+ if (value === null) {
97
+ return null;
98
+ }
99
+ return {
100
+
101
+ 'id': value.id,
102
+ 'output': value.output,
103
+ 'status': value.status,
104
+ 'message': value.message,
105
+ };
106
+ }
107
+
@@ -0,0 +1,129 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Product-Live API
5
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
6
+ *
7
+ * The version of the OpenAPI document: 1.87.0
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+ import { exists, mapValues } from '../runtime';
16
+ /**
17
+ *
18
+ * @export
19
+ * @interface VariableDto
20
+ */
21
+ export interface VariableDto {
22
+ /**
23
+ *
24
+ * @type {string}
25
+ * @memberof VariableDto
26
+ */
27
+ object: string;
28
+ /**
29
+ *
30
+ * @type {string}
31
+ * @memberof VariableDto
32
+ */
33
+ createdAt: string;
34
+ /**
35
+ *
36
+ * @type {string}
37
+ * @memberof VariableDto
38
+ */
39
+ updatedAt: string;
40
+ /**
41
+ *
42
+ * @type {string}
43
+ * @memberof VariableDto
44
+ */
45
+ id: string;
46
+ /**
47
+ *
48
+ * @type {string}
49
+ * @memberof VariableDto
50
+ */
51
+ key: string;
52
+ /**
53
+ *
54
+ * @type {string}
55
+ * @memberof VariableDto
56
+ */
57
+ name: string;
58
+ /**
59
+ *
60
+ * @type {string}
61
+ * @memberof VariableDto
62
+ */
63
+ status: string;
64
+ /**
65
+ *
66
+ * @type {string}
67
+ * @memberof VariableDto
68
+ */
69
+ value: string;
70
+ }
71
+
72
+ /**
73
+ * Check if a given object implements the VariableDto interface.
74
+ */
75
+ export function instanceOfVariableDto(value: object): boolean {
76
+ let isInstance = true;
77
+ isInstance = isInstance && "object" in value;
78
+ isInstance = isInstance && "createdAt" in value;
79
+ isInstance = isInstance && "updatedAt" in value;
80
+ isInstance = isInstance && "id" in value;
81
+ isInstance = isInstance && "key" in value;
82
+ isInstance = isInstance && "name" in value;
83
+ isInstance = isInstance && "status" in value;
84
+ isInstance = isInstance && "value" in value;
85
+
86
+ return isInstance;
87
+ }
88
+
89
+ export function VariableDtoFromJSON(json: any): VariableDto {
90
+ return VariableDtoFromJSONTyped(json, false);
91
+ }
92
+
93
+ export function VariableDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): VariableDto {
94
+ if ((json === undefined) || (json === null)) {
95
+ return json;
96
+ }
97
+ return {
98
+
99
+ 'object': json['object'],
100
+ 'createdAt': json['createdAt'],
101
+ 'updatedAt': json['updatedAt'],
102
+ 'id': json['id'],
103
+ 'key': json['key'],
104
+ 'name': json['name'],
105
+ 'status': json['status'],
106
+ 'value': json['value'],
107
+ };
108
+ }
109
+
110
+ export function VariableDtoToJSON(value?: VariableDto | null): any {
111
+ if (value === undefined) {
112
+ return undefined;
113
+ }
114
+ if (value === null) {
115
+ return null;
116
+ }
117
+ return {
118
+
119
+ 'object': value.object,
120
+ 'createdAt': value.createdAt,
121
+ 'updatedAt': value.updatedAt,
122
+ 'id': value.id,
123
+ 'key': value.key,
124
+ 'name': value.name,
125
+ 'status': value.status,
126
+ 'value': value.value,
127
+ };
128
+ }
129
+
@@ -0,0 +1,19 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ export * from './ExecuteJob400Response';
4
+ export * from './ExecuteJobDto';
5
+ export * from './ExecuteJobDtoInfo';
6
+ export * from './ExecuteJobDtoJob';
7
+ export * from './FileCreatedDto';
8
+ export * from './JobDto';
9
+ export * from './JobDtoPeriodicityInner';
10
+ export * from './JobDtoProject';
11
+ export * from './JobDtoTasksInner';
12
+ export * from './JobDtoTitleLocal';
13
+ export * from './JobExecutionDto';
14
+ export * from './JobExecutionDtoEventsInner';
15
+ export * from './TaskDto';
16
+ export * from './TaskDtoInputKeysInner';
17
+ export * from './TaskInstanceDto';
18
+ export * from './TaskInstanceUpdateDto';
19
+ export * from './VariableDto';
package/package.json ADDED
@@ -0,0 +1,10 @@
1
+ {
2
+ "description": "",
3
+ "main": "index.js",
4
+ "author": "product-live",
5
+ "license": "ISC",
6
+ "version": "1.87.0-dev",
7
+ "hash": "3aadf7aa63b446c3d9512c17460c1340a04faada6de2c346708bbbc1c27e2ca4",
8
+ "homepage": "https://api-next.dev.product-live.com/-json",
9
+ "name": "@product-live/api-sdk"
10
+ }