@product-live/api-sdk 2.22.0 → 2.26.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (255) hide show
  1. package/package.json +4 -35
  2. package/.openapi-generator/FILES +0 -74
  3. package/.openapi-generator/VERSION +0 -1
  4. package/.openapi-generator-ignore +0 -23
  5. package/DataFactoryFileApi.md +0 -182
  6. package/DefaultApi.md +0 -105
  7. package/ItemApi.md +0 -125
  8. package/JobApi.md +0 -333
  9. package/JobExecutionApi.md +0 -185
  10. package/README.md +0 -4
  11. package/TaskApi.md +0 -375
  12. package/TaskExecutionApi.md +0 -130
  13. package/VariableApi.md +0 -315
  14. package/apis/DataFactoryFileApi.ts +0 -307
  15. package/apis/DefaultApi.ts +0 -117
  16. package/apis/ItemApi.ts +0 -197
  17. package/apis/JobApi.ts +0 -507
  18. package/apis/JobExecutionApi.ts +0 -289
  19. package/apis/TaskApi.ts +0 -558
  20. package/apis/TaskExecutionApi.ts +0 -212
  21. package/apis/VariableApi.ts +0 -495
  22. package/apis/baseapi.ts +0 -37
  23. package/apis/exception.ts +0 -15
  24. package/auth/auth.ts +0 -107
  25. package/configuration.ts +0 -82
  26. package/dist/apis/DataFactoryFileApi.d.ts +0 -15
  27. package/dist/apis/DataFactoryFileApi.js +0 -359
  28. package/dist/apis/DataFactoryFileApi.js.map +0 -1
  29. package/dist/apis/DefaultApi.d.ts +0 -11
  30. package/dist/apis/DefaultApi.js +0 -172
  31. package/dist/apis/DefaultApi.js.map +0 -1
  32. package/dist/apis/ItemApi.d.ts +0 -13
  33. package/dist/apis/ItemApi.js +0 -249
  34. package/dist/apis/ItemApi.js.map +0 -1
  35. package/dist/apis/JobApi.d.ts +0 -21
  36. package/dist/apis/JobApi.js +0 -547
  37. package/dist/apis/JobApi.js.map +0 -1
  38. package/dist/apis/JobExecutionApi.d.ts +0 -16
  39. package/dist/apis/JobExecutionApi.js +0 -339
  40. package/dist/apis/JobExecutionApi.js.map +0 -1
  41. package/dist/apis/TaskApi.d.ts +0 -24
  42. package/dist/apis/TaskApi.js +0 -609
  43. package/dist/apis/TaskApi.js.map +0 -1
  44. package/dist/apis/TaskExecutionApi.d.ts +0 -13
  45. package/dist/apis/TaskExecutionApi.js +0 -259
  46. package/dist/apis/TaskExecutionApi.js.map +0 -1
  47. package/dist/apis/VariableApi.d.ts +0 -22
  48. package/dist/apis/VariableApi.js +0 -529
  49. package/dist/apis/VariableApi.js.map +0 -1
  50. package/dist/apis/baseapi.d.ts +0 -18
  51. package/dist/apis/baseapi.js +0 -46
  52. package/dist/apis/baseapi.js.map +0 -1
  53. package/dist/apis/exception.d.ts +0 -10
  54. package/dist/apis/exception.js +0 -32
  55. package/dist/apis/exception.js.map +0 -1
  56. package/dist/auth/auth.d.ts +0 -42
  57. package/dist/auth/auth.js +0 -45
  58. package/dist/auth/auth.js.map +0 -1
  59. package/dist/configuration.d.ts +0 -18
  60. package/dist/configuration.js +0 -22
  61. package/dist/configuration.js.map +0 -1
  62. package/dist/http/http.d.ts +0 -82
  63. package/dist/http/http.js +0 -229
  64. package/dist/http/http.js.map +0 -1
  65. package/dist/http/isomorphic-fetch.d.ts +0 -5
  66. package/dist/http/isomorphic-fetch.js +0 -34
  67. package/dist/http/isomorphic-fetch.js.map +0 -1
  68. package/dist/index.d.ts +0 -10
  69. package/dist/index.js +0 -36
  70. package/dist/index.js.map +0 -1
  71. package/dist/middleware.d.ts +0 -16
  72. package/dist/middleware.js +0 -18
  73. package/dist/middleware.js.map +0 -1
  74. package/dist/models/CreateJobDto.d.ts +0 -30
  75. package/dist/models/CreateJobDto.js +0 -82
  76. package/dist/models/CreateJobDto.js.map +0 -1
  77. package/dist/models/CreateJobExecutionDto.d.ts +0 -21
  78. package/dist/models/CreateJobExecutionDto.js +0 -34
  79. package/dist/models/CreateJobExecutionDto.js.map +0 -1
  80. package/dist/models/CreateTaskDto.d.ts +0 -21
  81. package/dist/models/CreateTaskDto.js +0 -46
  82. package/dist/models/CreateTaskDto.js.map +0 -1
  83. package/dist/models/CreateVariableDto.d.ts +0 -22
  84. package/dist/models/CreateVariableDto.js +0 -46
  85. package/dist/models/CreateVariableDto.js.map +0 -1
  86. package/dist/models/FileDto.d.ts +0 -23
  87. package/dist/models/FileDto.js +0 -52
  88. package/dist/models/FileDto.js.map +0 -1
  89. package/dist/models/FindVariablesRequest.d.ts +0 -23
  90. package/dist/models/FindVariablesRequest.js +0 -46
  91. package/dist/models/FindVariablesRequest.js.map +0 -1
  92. package/dist/models/GetFiles200Response.d.ts +0 -21
  93. package/dist/models/GetFiles200Response.js +0 -34
  94. package/dist/models/GetFiles200Response.js.map +0 -1
  95. package/dist/models/GetItems200Response.d.ts +0 -21
  96. package/dist/models/GetItems200Response.js +0 -34
  97. package/dist/models/GetItems200Response.js.map +0 -1
  98. package/dist/models/GetJobExecutionById400Response.d.ts +0 -17
  99. package/dist/models/GetJobExecutionById400Response.js +0 -22
  100. package/dist/models/GetJobExecutionById400Response.js.map +0 -1
  101. package/dist/models/GetJobExecutions200Response.d.ts +0 -21
  102. package/dist/models/GetJobExecutions200Response.js +0 -34
  103. package/dist/models/GetJobExecutions200Response.js.map +0 -1
  104. package/dist/models/GetJobs200Response.d.ts +0 -21
  105. package/dist/models/GetJobs200Response.js +0 -34
  106. package/dist/models/GetJobs200Response.js.map +0 -1
  107. package/dist/models/GetTasks200Response.d.ts +0 -21
  108. package/dist/models/GetTasks200Response.js +0 -34
  109. package/dist/models/GetTasks200Response.js.map +0 -1
  110. package/dist/models/GetVariables200Response.d.ts +0 -21
  111. package/dist/models/GetVariables200Response.js +0 -34
  112. package/dist/models/GetVariables200Response.js.map +0 -1
  113. package/dist/models/HighOrderQuery.d.ts +0 -19
  114. package/dist/models/HighOrderQuery.js +0 -28
  115. package/dist/models/HighOrderQuery.js.map +0 -1
  116. package/dist/models/ItemDto.d.ts +0 -28
  117. package/dist/models/ItemDto.js +0 -64
  118. package/dist/models/ItemDto.js.map +0 -1
  119. package/dist/models/ItemFieldDTO.d.ts +0 -19
  120. package/dist/models/ItemFieldDTO.js +0 -34
  121. package/dist/models/ItemFieldDTO.js.map +0 -1
  122. package/dist/models/ItemFieldFile.d.ts +0 -18
  123. package/dist/models/ItemFieldFile.js +0 -22
  124. package/dist/models/ItemFieldFile.js.map +0 -1
  125. package/dist/models/ItemFieldFileData.d.ts +0 -18
  126. package/dist/models/ItemFieldFileData.js +0 -28
  127. package/dist/models/ItemFieldFileData.js.map +0 -1
  128. package/dist/models/ItemFieldMultipleSelectWithCommentAndQuantity.d.ts +0 -18
  129. package/dist/models/ItemFieldMultipleSelectWithCommentAndQuantity.js +0 -22
  130. package/dist/models/ItemFieldMultipleSelectWithCommentAndQuantity.js.map +0 -1
  131. package/dist/models/ItemFieldMultipleSelectWithCommentAndQuantityData.d.ts +0 -19
  132. package/dist/models/ItemFieldMultipleSelectWithCommentAndQuantityData.js +0 -34
  133. package/dist/models/ItemFieldMultipleSelectWithCommentAndQuantityData.js.map +0 -1
  134. package/dist/models/ItemFieldSimpleNumber.d.ts +0 -18
  135. package/dist/models/ItemFieldSimpleNumber.js +0 -28
  136. package/dist/models/ItemFieldSimpleNumber.js.map +0 -1
  137. package/dist/models/ItemFieldSimpleString.d.ts +0 -17
  138. package/dist/models/ItemFieldSimpleString.js +0 -22
  139. package/dist/models/ItemFieldSimpleString.js.map +0 -1
  140. package/dist/models/ItemFieldSimpleStringArray.d.ts +0 -17
  141. package/dist/models/ItemFieldSimpleStringArray.js +0 -22
  142. package/dist/models/ItemFieldSimpleStringArray.js.map +0 -1
  143. package/dist/models/ItemMetadataDTO.d.ts +0 -23
  144. package/dist/models/ItemMetadataDTO.js +0 -58
  145. package/dist/models/ItemMetadataDTO.js.map +0 -1
  146. package/dist/models/JobDto.d.ts +0 -35
  147. package/dist/models/JobDto.js +0 -106
  148. package/dist/models/JobDto.js.map +0 -1
  149. package/dist/models/JobExecutionDto.d.ts +0 -33
  150. package/dist/models/JobExecutionDto.js +0 -88
  151. package/dist/models/JobExecutionDto.js.map +0 -1
  152. package/dist/models/LowOrderQuery.d.ts +0 -22
  153. package/dist/models/LowOrderQuery.js +0 -40
  154. package/dist/models/LowOrderQuery.js.map +0 -1
  155. package/dist/models/LowOrderQueryValue.d.ts +0 -16
  156. package/dist/models/LowOrderQueryValue.js +0 -15
  157. package/dist/models/LowOrderQueryValue.js.map +0 -1
  158. package/dist/models/ObjectSerializer.d.ts +0 -45
  159. package/dist/models/ObjectSerializer.js +0 -347
  160. package/dist/models/ObjectSerializer.js.map +0 -1
  161. package/dist/models/PatchTaskExecutionDto.d.ts +0 -22
  162. package/dist/models/PatchTaskExecutionDto.js +0 -34
  163. package/dist/models/PatchTaskExecutionDto.js.map +0 -1
  164. package/dist/models/Query1.d.ts +0 -23
  165. package/dist/models/Query1.js +0 -46
  166. package/dist/models/Query1.js.map +0 -1
  167. package/dist/models/TaskDto.d.ts +0 -26
  168. package/dist/models/TaskDto.js +0 -70
  169. package/dist/models/TaskDto.js.map +0 -1
  170. package/dist/models/TaskExecutionDto.d.ts +0 -30
  171. package/dist/models/TaskExecutionDto.js +0 -64
  172. package/dist/models/TaskExecutionDto.js.map +0 -1
  173. package/dist/models/UpdateJobDto.d.ts +0 -31
  174. package/dist/models/UpdateJobDto.js +0 -88
  175. package/dist/models/UpdateJobDto.js.map +0 -1
  176. package/dist/models/UpdateTaskDto.d.ts +0 -22
  177. package/dist/models/UpdateTaskDto.js +0 -52
  178. package/dist/models/UpdateTaskDto.js.map +0 -1
  179. package/dist/models/UpdateVariableDto.d.ts +0 -23
  180. package/dist/models/UpdateVariableDto.js +0 -52
  181. package/dist/models/UpdateVariableDto.js.map +0 -1
  182. package/dist/models/VariableDto.d.ts +0 -27
  183. package/dist/models/VariableDto.js +0 -70
  184. package/dist/models/VariableDto.js.map +0 -1
  185. package/dist/models/all.d.ts +0 -36
  186. package/dist/models/all.js +0 -53
  187. package/dist/models/all.js.map +0 -1
  188. package/dist/rxjsStub.d.ts +0 -10
  189. package/dist/rxjsStub.js +0 -33
  190. package/dist/rxjsStub.js.map +0 -1
  191. package/dist/servers.d.ts +0 -17
  192. package/dist/servers.js +0 -32
  193. package/dist/servers.js.map +0 -1
  194. package/dist/types/ObjectParamAPI.d.ts +0 -187
  195. package/dist/types/ObjectParamAPI.js +0 -160
  196. package/dist/types/ObjectParamAPI.js.map +0 -1
  197. package/dist/types/ObservableAPI.d.ts +0 -109
  198. package/dist/types/ObservableAPI.js +0 -758
  199. package/dist/types/ObservableAPI.js.map +0 -1
  200. package/dist/types/PromiseAPI.d.ts +0 -92
  201. package/dist/types/PromiseAPI.js +0 -180
  202. package/dist/types/PromiseAPI.js.map +0 -1
  203. package/dist/util.d.ts +0 -2
  204. package/dist/util.js +0 -29
  205. package/dist/util.js.map +0 -1
  206. package/git_push.sh +0 -51
  207. package/http/http.ts +0 -229
  208. package/http/isomorphic-fetch.ts +0 -32
  209. package/index.ts +0 -12
  210. package/middleware.ts +0 -66
  211. package/models/CreateJobDto.ts +0 -108
  212. package/models/CreateJobExecutionDto.ts +0 -49
  213. package/models/CreateTaskDto.ts +0 -63
  214. package/models/CreateVariableDto.ts +0 -66
  215. package/models/FileDto.ts +0 -73
  216. package/models/FindVariablesRequest.ts +0 -68
  217. package/models/GetFiles200Response.ts +0 -53
  218. package/models/GetItems200Response.ts +0 -53
  219. package/models/GetJobExecutionById400Response.ts +0 -35
  220. package/models/GetJobExecutions200Response.ts +0 -53
  221. package/models/GetJobs200Response.ts +0 -53
  222. package/models/GetTasks200Response.ts +0 -53
  223. package/models/GetVariables200Response.ts +0 -53
  224. package/models/HighOrderQuery.ts +0 -45
  225. package/models/ItemDto.ts +0 -86
  226. package/models/ItemFieldDTO.ts +0 -49
  227. package/models/ItemFieldFile.ts +0 -36
  228. package/models/ItemFieldFileData.ts +0 -42
  229. package/models/ItemFieldMultipleSelectWithCommentAndQuantity.ts +0 -36
  230. package/models/ItemFieldMultipleSelectWithCommentAndQuantityData.ts +0 -49
  231. package/models/ItemFieldSimpleNumber.ts +0 -42
  232. package/models/ItemFieldSimpleString.ts +0 -35
  233. package/models/ItemFieldSimpleStringArray.ts +0 -35
  234. package/models/ItemMetadataDTO.ts +0 -77
  235. package/models/JobDto.ts +0 -137
  236. package/models/JobExecutionDto.ts +0 -115
  237. package/models/LowOrderQuery.ts +0 -60
  238. package/models/LowOrderQueryValue.ts +0 -29
  239. package/models/ObjectSerializer.ts +0 -358
  240. package/models/PatchTaskExecutionDto.ts +0 -52
  241. package/models/Query1.ts +0 -69
  242. package/models/TaskDto.ts +0 -94
  243. package/models/TaskExecutionDto.ts +0 -88
  244. package/models/UpdateJobDto.ts +0 -115
  245. package/models/UpdateTaskDto.ts +0 -70
  246. package/models/UpdateVariableDto.ts +0 -73
  247. package/models/VariableDto.ts +0 -95
  248. package/models/all.ts +0 -36
  249. package/rxjsStub.ts +0 -27
  250. package/servers.ts +0 -55
  251. package/tsconfig.json +0 -28
  252. package/types/ObjectParamAPI.ts +0 -675
  253. package/types/ObservableAPI.ts +0 -837
  254. package/types/PromiseAPI.ts +0 -452
  255. package/util.ts +0 -37
@@ -1,115 +0,0 @@
1
- /**
2
- * Product-Live API
3
- * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
- *
5
- * OpenAPI spec version: 2.22.0
6
- *
7
- *
8
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
- * https://openapi-generator.tech
10
- * Do not edit the class manually.
11
- */
12
-
13
- import { HttpFile } from '../http/http';
14
-
15
- export class UpdateJobDto {
16
- 'key': string;
17
- 'periodicity'?: Array<any>;
18
- 'pipelineId': string;
19
- 'projectId': string;
20
- 'status': UpdateJobDtoStatusEnum;
21
- 'title': string;
22
- 'titleLocal'?: any;
23
- 'description'?: string;
24
- 'descriptionLocal'?: any;
25
- 'output'?: { [key: string]: any; };
26
- 'tasks'?: Array<any>;
27
- 'id': string;
28
-
29
- static readonly discriminator: string | undefined = undefined;
30
-
31
- static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [
32
- {
33
- "name": "key",
34
- "baseName": "key",
35
- "type": "string",
36
- "format": ""
37
- },
38
- {
39
- "name": "periodicity",
40
- "baseName": "periodicity",
41
- "type": "Array<any>",
42
- "format": ""
43
- },
44
- {
45
- "name": "pipelineId",
46
- "baseName": "pipelineId",
47
- "type": "string",
48
- "format": ""
49
- },
50
- {
51
- "name": "projectId",
52
- "baseName": "projectId",
53
- "type": "string",
54
- "format": ""
55
- },
56
- {
57
- "name": "status",
58
- "baseName": "status",
59
- "type": "UpdateJobDtoStatusEnum",
60
- "format": ""
61
- },
62
- {
63
- "name": "title",
64
- "baseName": "title",
65
- "type": "string",
66
- "format": ""
67
- },
68
- {
69
- "name": "titleLocal",
70
- "baseName": "titleLocal",
71
- "type": "any",
72
- "format": ""
73
- },
74
- {
75
- "name": "description",
76
- "baseName": "description",
77
- "type": "string",
78
- "format": ""
79
- },
80
- {
81
- "name": "descriptionLocal",
82
- "baseName": "descriptionLocal",
83
- "type": "any",
84
- "format": ""
85
- },
86
- {
87
- "name": "output",
88
- "baseName": "output",
89
- "type": "{ [key: string]: any; }",
90
- "format": ""
91
- },
92
- {
93
- "name": "tasks",
94
- "baseName": "tasks",
95
- "type": "Array<any>",
96
- "format": ""
97
- },
98
- {
99
- "name": "id",
100
- "baseName": "id",
101
- "type": "string",
102
- "format": ""
103
- } ];
104
-
105
- static getAttributeTypeMap() {
106
- return UpdateJobDto.attributeTypeMap;
107
- }
108
-
109
- public constructor() {
110
- }
111
- }
112
-
113
-
114
- export type UpdateJobDtoStatusEnum = "DRAFT" | "PRODUCTION" | "DEPRECATED" | "ARCHIVED" | "REMOVED" ;
115
-
@@ -1,70 +0,0 @@
1
- /**
2
- * Product-Live API
3
- * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
- *
5
- * OpenAPI spec version: 2.22.0
6
- *
7
- *
8
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
- * https://openapi-generator.tech
10
- * Do not edit the class manually.
11
- */
12
-
13
- import { HttpFile } from '../http/http';
14
-
15
- export class UpdateTaskDto {
16
- 'key': string;
17
- 'description': string;
18
- 'retryCount': number;
19
- 'inputKeys': Array<any>;
20
- 'outputKeys': Array<any>;
21
- 'id': string;
22
-
23
- static readonly discriminator: string | undefined = undefined;
24
-
25
- static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [
26
- {
27
- "name": "key",
28
- "baseName": "key",
29
- "type": "string",
30
- "format": ""
31
- },
32
- {
33
- "name": "description",
34
- "baseName": "description",
35
- "type": "string",
36
- "format": ""
37
- },
38
- {
39
- "name": "retryCount",
40
- "baseName": "retryCount",
41
- "type": "number",
42
- "format": ""
43
- },
44
- {
45
- "name": "inputKeys",
46
- "baseName": "inputKeys",
47
- "type": "Array<any>",
48
- "format": ""
49
- },
50
- {
51
- "name": "outputKeys",
52
- "baseName": "outputKeys",
53
- "type": "Array<any>",
54
- "format": ""
55
- },
56
- {
57
- "name": "id",
58
- "baseName": "id",
59
- "type": "string",
60
- "format": ""
61
- } ];
62
-
63
- static getAttributeTypeMap() {
64
- return UpdateTaskDto.attributeTypeMap;
65
- }
66
-
67
- public constructor() {
68
- }
69
- }
70
-
@@ -1,73 +0,0 @@
1
- /**
2
- * Product-Live API
3
- * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
- *
5
- * OpenAPI spec version: 2.22.0
6
- *
7
- *
8
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
- * https://openapi-generator.tech
10
- * Do not edit the class manually.
11
- */
12
-
13
- import { HttpFile } from '../http/http';
14
-
15
- export class UpdateVariableDto {
16
- 'key': string;
17
- 'name': string;
18
- 'status'?: UpdateVariableDtoStatusEnum;
19
- 'value': string;
20
- 'secret'?: boolean;
21
- 'id': string;
22
-
23
- static readonly discriminator: string | undefined = undefined;
24
-
25
- static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [
26
- {
27
- "name": "key",
28
- "baseName": "key",
29
- "type": "string",
30
- "format": ""
31
- },
32
- {
33
- "name": "name",
34
- "baseName": "name",
35
- "type": "string",
36
- "format": ""
37
- },
38
- {
39
- "name": "status",
40
- "baseName": "status",
41
- "type": "UpdateVariableDtoStatusEnum",
42
- "format": ""
43
- },
44
- {
45
- "name": "value",
46
- "baseName": "value",
47
- "type": "string",
48
- "format": ""
49
- },
50
- {
51
- "name": "secret",
52
- "baseName": "secret",
53
- "type": "boolean",
54
- "format": ""
55
- },
56
- {
57
- "name": "id",
58
- "baseName": "id",
59
- "type": "string",
60
- "format": ""
61
- } ];
62
-
63
- static getAttributeTypeMap() {
64
- return UpdateVariableDto.attributeTypeMap;
65
- }
66
-
67
- public constructor() {
68
- }
69
- }
70
-
71
-
72
- export type UpdateVariableDtoStatusEnum = "ACTIVE" | "ARCHIVED" | "DELETED" ;
73
-
@@ -1,95 +0,0 @@
1
- /**
2
- * Product-Live API
3
- * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
- *
5
- * OpenAPI spec version: 2.22.0
6
- *
7
- *
8
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
- * https://openapi-generator.tech
10
- * Do not edit the class manually.
11
- */
12
-
13
- import { HttpFile } from '../http/http';
14
-
15
- export class VariableDto {
16
- 'key': string;
17
- 'name': string;
18
- 'status'?: VariableDtoStatusEnum;
19
- 'value': string;
20
- 'secret'?: boolean;
21
- 'id': string;
22
- 'object': VariableDtoObjectEnum;
23
- 'createdAt': string;
24
- 'updatedAt': string;
25
-
26
- static readonly discriminator: string | undefined = undefined;
27
-
28
- static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [
29
- {
30
- "name": "key",
31
- "baseName": "key",
32
- "type": "string",
33
- "format": ""
34
- },
35
- {
36
- "name": "name",
37
- "baseName": "name",
38
- "type": "string",
39
- "format": ""
40
- },
41
- {
42
- "name": "status",
43
- "baseName": "status",
44
- "type": "VariableDtoStatusEnum",
45
- "format": ""
46
- },
47
- {
48
- "name": "value",
49
- "baseName": "value",
50
- "type": "string",
51
- "format": ""
52
- },
53
- {
54
- "name": "secret",
55
- "baseName": "secret",
56
- "type": "boolean",
57
- "format": ""
58
- },
59
- {
60
- "name": "id",
61
- "baseName": "id",
62
- "type": "string",
63
- "format": ""
64
- },
65
- {
66
- "name": "object",
67
- "baseName": "object",
68
- "type": "VariableDtoObjectEnum",
69
- "format": ""
70
- },
71
- {
72
- "name": "createdAt",
73
- "baseName": "createdAt",
74
- "type": "string",
75
- "format": ""
76
- },
77
- {
78
- "name": "updatedAt",
79
- "baseName": "updatedAt",
80
- "type": "string",
81
- "format": ""
82
- } ];
83
-
84
- static getAttributeTypeMap() {
85
- return VariableDto.attributeTypeMap;
86
- }
87
-
88
- public constructor() {
89
- }
90
- }
91
-
92
-
93
- export type VariableDtoStatusEnum = "ACTIVE" | "ARCHIVED" | "DELETED" ;
94
- export type VariableDtoObjectEnum = "variable" ;
95
-
package/models/all.ts DELETED
@@ -1,36 +0,0 @@
1
- export * from '../models/CreateJobDto'
2
- export * from '../models/CreateJobExecutionDto'
3
- export * from '../models/CreateTaskDto'
4
- export * from '../models/CreateVariableDto'
5
- export * from '../models/FileDto'
6
- export * from '../models/FindVariablesRequest'
7
- export * from '../models/GetFiles200Response'
8
- export * from '../models/GetItems200Response'
9
- export * from '../models/GetJobExecutionById400Response'
10
- export * from '../models/GetJobExecutions200Response'
11
- export * from '../models/GetJobs200Response'
12
- export * from '../models/GetTasks200Response'
13
- export * from '../models/GetVariables200Response'
14
- export * from '../models/HighOrderQuery'
15
- export * from '../models/ItemDto'
16
- export * from '../models/ItemFieldDTO'
17
- export * from '../models/ItemFieldFile'
18
- export * from '../models/ItemFieldFileData'
19
- export * from '../models/ItemFieldMultipleSelectWithCommentAndQuantity'
20
- export * from '../models/ItemFieldMultipleSelectWithCommentAndQuantityData'
21
- export * from '../models/ItemFieldSimpleNumber'
22
- export * from '../models/ItemFieldSimpleString'
23
- export * from '../models/ItemFieldSimpleStringArray'
24
- export * from '../models/ItemMetadataDTO'
25
- export * from '../models/JobDto'
26
- export * from '../models/JobExecutionDto'
27
- export * from '../models/LowOrderQuery'
28
- export * from '../models/LowOrderQueryValue'
29
- export * from '../models/PatchTaskExecutionDto'
30
- export * from '../models/Query1'
31
- export * from '../models/TaskDto'
32
- export * from '../models/TaskExecutionDto'
33
- export * from '../models/UpdateJobDto'
34
- export * from '../models/UpdateTaskDto'
35
- export * from '../models/UpdateVariableDto'
36
- export * from '../models/VariableDto'
package/rxjsStub.ts DELETED
@@ -1,27 +0,0 @@
1
- export class Observable<T> {
2
- constructor(private promise: Promise<T>) {}
3
-
4
- toPromise() {
5
- return this.promise;
6
- }
7
-
8
- pipe<S>(callback: (value: T) => S | Promise<S>): Observable<S> {
9
- return new Observable(this.promise.then(callback));
10
- }
11
- }
12
-
13
- export function from<T>(promise: Promise<any>) {
14
- return new Observable(promise);
15
- }
16
-
17
- export function of<T>(value: T) {
18
- return new Observable<T>(Promise.resolve(value));
19
- }
20
-
21
- export function mergeMap<T, S>(callback: (value: T) => Observable<S>) {
22
- return (value: T) => callback(value).toPromise();
23
- }
24
-
25
- export function map(callback: any) {
26
- return callback;
27
- }
package/servers.ts DELETED
@@ -1,55 +0,0 @@
1
- import { RequestContext, HttpMethod } from "./http/http";
2
-
3
- export interface BaseServerConfiguration {
4
- makeRequestContext(endpoint: string, httpMethod: HttpMethod): RequestContext;
5
- }
6
-
7
- /**
8
- *
9
- * Represents the configuration of a server including its
10
- * url template and variable configuration based on the url.
11
- *
12
- */
13
- export class ServerConfiguration<T extends { [key: string]: string }> implements BaseServerConfiguration {
14
- public constructor(private url: string, private variableConfiguration: T) {}
15
-
16
- /**
17
- * Sets the value of the variables of this server. Variables are included in
18
- * the `url` of this ServerConfiguration in the form `{variableName}`
19
- *
20
- * @param variableConfiguration a partial variable configuration for the
21
- * variables contained in the url
22
- */
23
- public setVariables(variableConfiguration: Partial<T>) {
24
- Object.assign(this.variableConfiguration, variableConfiguration);
25
- }
26
-
27
- public getConfiguration(): T {
28
- return this.variableConfiguration
29
- }
30
-
31
- private getUrl() {
32
- let replacedUrl = this.url;
33
- for (const key in this.variableConfiguration) {
34
- var re = new RegExp("{" + key + "}","g");
35
- replacedUrl = replacedUrl.replace(re, this.variableConfiguration[key]);
36
- }
37
- return replacedUrl
38
- }
39
-
40
- /**
41
- * Creates a new request context for this server using the url with variables
42
- * replaced with their respective values and the endpoint of the request appended.
43
- *
44
- * @param endpoint the endpoint to be queried on the server
45
- * @param httpMethod httpMethod to be used
46
- *
47
- */
48
- public makeRequestContext(endpoint: string, httpMethod: HttpMethod): RequestContext {
49
- return new RequestContext(this.getUrl() + endpoint, httpMethod);
50
- }
51
- }
52
-
53
- export const server1 = new ServerConfiguration<{ }>("", { })
54
-
55
- export const servers = [server1];
package/tsconfig.json DELETED
@@ -1,28 +0,0 @@
1
- {
2
- "compilerOptions": {
3
- "strict": true,
4
- /* Basic Options */
5
- "target": "es5",
6
- "moduleResolution": "node",
7
- "declaration": true,
8
-
9
- /* Additional Checks */
10
- "noUnusedLocals": false, /* Report errors on unused locals. */ // TODO: reenable (unused imports!)
11
- "noUnusedParameters": false, /* Report errors on unused parameters. */ // TODO: set to true again
12
- "noImplicitReturns": true, /* Report error when not all code paths in function return a value. */
13
- "noFallthroughCasesInSwitch": true, /* Report errors for fallthrough cases in switch statement. */
14
-
15
- "removeComments": true,
16
- "sourceMap": true,
17
- "outDir": "./dist",
18
- "noLib": false,
19
- "lib": [ "es6" ],
20
- },
21
- "exclude": [
22
- "dist",
23
- "node_modules"
24
- ],
25
- "filesGlob": [
26
- "./**/*.ts",
27
- ]
28
- }