@nextplus/js-sdk 0.0.1 → 0.0.3

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 (249) hide show
  1. package/dist/chunk-DNVJS7WW.js +20836 -0
  2. package/dist/chunk-FXXZNC42.js +726 -0
  3. package/dist/index.d.ts +34 -209
  4. package/dist/index.js +244 -27585
  5. package/dist/sdk/client/index.d.ts +39 -0
  6. package/dist/sdk/client/index.js +18 -0
  7. package/dist/sdk/sdk.gen.d.ts +34568 -0
  8. package/dist/sdk/sdk.gen.js +213 -0
  9. package/dist/types.gen-vDP9AbtO.d.ts +258 -0
  10. package/openapi-ts.config.ts +36 -0
  11. package/package.json +24 -74
  12. package/prettier.config.js +5 -0
  13. package/src/README.md +0 -0
  14. package/src/index.ts +219 -0
  15. package/src/sdk/client/client.gen.ts +199 -0
  16. package/src/sdk/client/index.ts +25 -0
  17. package/src/sdk/client/types.gen.ts +232 -0
  18. package/src/sdk/client/utils.gen.ts +424 -0
  19. package/src/sdk/client.gen.ts +28 -0
  20. package/src/sdk/core/auth.gen.ts +42 -0
  21. package/src/sdk/core/bodySerializer.gen.ts +90 -0
  22. package/src/sdk/core/params.gen.ts +153 -0
  23. package/src/sdk/core/pathSerializer.gen.ts +181 -0
  24. package/src/sdk/core/types.gen.ts +120 -0
  25. package/src/sdk/index.ts +3 -0
  26. package/src/sdk/schemas.gen.ts +6968 -0
  27. package/src/sdk/sdk.gen.ts +31790 -0
  28. package/src/sdk/transformers.gen.ts +8383 -0
  29. package/src/sdk/types.gen.ts +40708 -0
  30. package/src/smoke.ts +68 -0
  31. package/tsconfig.json +23 -0
  32. package/tsconfig.node.json +11 -0
  33. package/LICENSE +0 -19
  34. package/dist/core/ApiError.d.ts +0 -10
  35. package/dist/core/ApiRequestOptions.d.ts +0 -13
  36. package/dist/core/ApiResult.d.ts +0 -7
  37. package/dist/core/CancelablePromise.d.ts +0 -20
  38. package/dist/core/OpenAPI.d.ts +0 -16
  39. package/dist/core/request.d.ts +0 -30
  40. package/dist/index.d.mts +0 -15467
  41. package/dist/index.js.map +0 -1
  42. package/dist/index.mjs +0 -27586
  43. package/dist/index.mjs.map +0 -1
  44. package/dist/models/ACL.d.ts +0 -19
  45. package/dist/models/AIPrompt.d.ts +0 -13
  46. package/dist/models/AccessToken.d.ts +0 -12
  47. package/dist/models/ApiMethod.d.ts +0 -13
  48. package/dist/models/ApiMethodLog.d.ts +0 -14
  49. package/dist/models/BreakType.d.ts +0 -10
  50. package/dist/models/Catalog.d.ts +0 -16
  51. package/dist/models/Category.d.ts +0 -10
  52. package/dist/models/Certificate.d.ts +0 -12
  53. package/dist/models/CertificateMapping.d.ts +0 -11
  54. package/dist/models/Chapter.d.ts +0 -6
  55. package/dist/models/Comment.d.ts +0 -13
  56. package/dist/models/Configuration.d.ts +0 -16
  57. package/dist/models/Connection.d.ts +0 -10
  58. package/dist/models/Connector.d.ts +0 -9
  59. package/dist/models/ConnectorFunction.d.ts +0 -13
  60. package/dist/models/ContentPackage.d.ts +0 -24
  61. package/dist/models/ContentPackageSession.d.ts +0 -12
  62. package/dist/models/ContentPackageView.d.ts +0 -11
  63. package/dist/models/CustomField.d.ts +0 -18
  64. package/dist/models/Device.d.ts +0 -10
  65. package/dist/models/DeviceFamily.d.ts +0 -12
  66. package/dist/models/Document.d.ts +0 -24
  67. package/dist/models/Event.d.ts +0 -15
  68. package/dist/models/Field.d.ts +0 -33
  69. package/dist/models/FileParser.d.ts +0 -15
  70. package/dist/models/FileParserJob.d.ts +0 -12
  71. package/dist/models/FileParserStrategyJob.d.ts +0 -15
  72. package/dist/models/Folder.d.ts +0 -9
  73. package/dist/models/Form.d.ts +0 -35
  74. package/dist/models/FormData.d.ts +0 -55
  75. package/dist/models/FormDataComment.d.ts +0 -13
  76. package/dist/models/Forum.d.ts +0 -12
  77. package/dist/models/Gateway.d.ts +0 -17
  78. package/dist/models/Group.d.ts +0 -8
  79. package/dist/models/InventoryTransaction.d.ts +0 -19
  80. package/dist/models/Kit.d.ts +0 -17
  81. package/dist/models/List.d.ts +0 -10
  82. package/dist/models/ListItem.d.ts +0 -13
  83. package/dist/models/Location.d.ts +0 -13
  84. package/dist/models/Menus.d.ts +0 -10
  85. package/dist/models/NPS.d.ts +0 -16
  86. package/dist/models/Node.d.ts +0 -32
  87. package/dist/models/ObjectID.d.ts +0 -1
  88. package/dist/models/OpcUaServer.d.ts +0 -15
  89. package/dist/models/Operation.d.ts +0 -15
  90. package/dist/models/Pages.d.ts +0 -11
  91. package/dist/models/Part.d.ts +0 -10
  92. package/dist/models/PartAssembly.d.ts +0 -55
  93. package/dist/models/PartAssemblyDocument.d.ts +0 -9
  94. package/dist/models/Post.d.ts +0 -16
  95. package/dist/models/PrintPreset.d.ts +0 -26
  96. package/dist/models/PriorityLabel.d.ts +0 -12
  97. package/dist/models/ProductionEntity.d.ts +0 -18
  98. package/dist/models/ProductionEntityEvent.d.ts +0 -21
  99. package/dist/models/ProductionEntityMapping.d.ts +0 -16
  100. package/dist/models/ProductionEntityTransaction.d.ts +0 -19
  101. package/dist/models/ProductionEntityType.d.ts +0 -10
  102. package/dist/models/Project.d.ts +0 -10
  103. package/dist/models/Resource.d.ts +0 -26
  104. package/dist/models/ResourceMapping.d.ts +0 -9
  105. package/dist/models/Revision.d.ts +0 -8
  106. package/dist/models/Role.d.ts +0 -8
  107. package/dist/models/RoleMapping.d.ts +0 -17
  108. package/dist/models/Rule.d.ts +0 -11
  109. package/dist/models/ScromSession.d.ts +0 -11
  110. package/dist/models/Shift.d.ts +0 -26
  111. package/dist/models/ShiftType.d.ts +0 -28
  112. package/dist/models/Station.d.ts +0 -11
  113. package/dist/models/Stock.d.ts +0 -56
  114. package/dist/models/StockItem.d.ts +0 -7
  115. package/dist/models/SyncClients.d.ts +0 -12
  116. package/dist/models/SyncHistory.d.ts +0 -12
  117. package/dist/models/Table.d.ts +0 -11
  118. package/dist/models/TableSetup.d.ts +0 -18
  119. package/dist/models/TimeLog.d.ts +0 -7
  120. package/dist/models/TimeLogReport.d.ts +0 -29
  121. package/dist/models/Timeline.d.ts +0 -17
  122. package/dist/models/Tool.d.ts +0 -18
  123. package/dist/models/Translation.d.ts +0 -12
  124. package/dist/models/Unit.d.ts +0 -11
  125. package/dist/models/UpdateInfo.d.ts +0 -9
  126. package/dist/models/UserModel.d.ts +0 -70
  127. package/dist/models/UserPreferences.d.ts +0 -6
  128. package/dist/models/Variant.d.ts +0 -13
  129. package/dist/models/VoteMapping.d.ts +0 -12
  130. package/dist/models/Warehouse.d.ts +0 -9
  131. package/dist/models/Webhook.d.ts +0 -15
  132. package/dist/models/Wire.d.ts +0 -12
  133. package/dist/models/Wiringlist.d.ts +0 -15
  134. package/dist/models/Workflow.d.ts +0 -54
  135. package/dist/models/WorkflowDetails.d.ts +0 -9
  136. package/dist/models/WorkflowNote.d.ts +0 -18
  137. package/dist/models/WorkflowSessionItem.d.ts +0 -56
  138. package/dist/models/WorkflowType.d.ts +0 -17
  139. package/dist/models/Workorder.d.ts +0 -94
  140. package/dist/models/WorkorderAction.d.ts +0 -8
  141. package/dist/models/WorkorderStatus.d.ts +0 -22
  142. package/dist/models/WorkorderTemplate.d.ts +0 -23
  143. package/dist/models/meta.d.ts +0 -5
  144. package/dist/models/x_any.d.ts +0 -1
  145. package/dist/services/AclService.d.ts +0 -133
  146. package/dist/services/AiPromptService.d.ts +0 -133
  147. package/dist/services/AiService.d.ts +0 -12
  148. package/dist/services/ApiMethodLogService.d.ts +0 -133
  149. package/dist/services/ApiMethodService.d.ts +0 -140
  150. package/dist/services/BomService.d.ts +0 -18
  151. package/dist/services/BreakService.d.ts +0 -19
  152. package/dist/services/BreakTypeService.d.ts +0 -42
  153. package/dist/services/CatalogService.d.ts +0 -267
  154. package/dist/services/CategoryService.d.ts +0 -74
  155. package/dist/services/CertificateMappingService.d.ts +0 -60
  156. package/dist/services/CertificateService.d.ts +0 -74
  157. package/dist/services/ChapterService.d.ts +0 -34
  158. package/dist/services/CommentService.d.ts +0 -58
  159. package/dist/services/ConfigurationService.d.ts +0 -49
  160. package/dist/services/ConnectionService.d.ts +0 -20
  161. package/dist/services/ConnectorFunctionService.d.ts +0 -149
  162. package/dist/services/ConnectorService.d.ts +0 -201
  163. package/dist/services/ContainerService.d.ts +0 -66
  164. package/dist/services/ContentPackageService.d.ts +0 -115
  165. package/dist/services/ContentPackageSessionService.d.ts +0 -28
  166. package/dist/services/ContentPackageViewService.d.ts +0 -165
  167. package/dist/services/CustomFieldService.d.ts +0 -57
  168. package/dist/services/DeviceFamilyService.d.ts +0 -64
  169. package/dist/services/DeviceService.d.ts +0 -21
  170. package/dist/services/DigestEmailService.d.ts +0 -8
  171. package/dist/services/DocumentService.d.ts +0 -103
  172. package/dist/services/EventService.d.ts +0 -20
  173. package/dist/services/FieldService.d.ts +0 -86
  174. package/dist/services/FileParserJobService.d.ts +0 -49
  175. package/dist/services/FileParserService.d.ts +0 -78
  176. package/dist/services/FileParserStrategyJobService.d.ts +0 -49
  177. package/dist/services/FolderService.d.ts +0 -50
  178. package/dist/services/FormDataCommentService.d.ts +0 -159
  179. package/dist/services/FormDataService.d.ts +0 -242
  180. package/dist/services/FormService.d.ts +0 -82
  181. package/dist/services/ForumService.d.ts +0 -49
  182. package/dist/services/GatewayService.d.ts +0 -59
  183. package/dist/services/GroupService.d.ts +0 -50
  184. package/dist/services/IntegrationBuilderService.d.ts +0 -23
  185. package/dist/services/InventoryTransactionService.d.ts +0 -151
  186. package/dist/services/LastSeenResourceService.d.ts +0 -16
  187. package/dist/services/ListItemService.d.ts +0 -96
  188. package/dist/services/ListService.d.ts +0 -73
  189. package/dist/services/LocationService.d.ts +0 -80
  190. package/dist/services/MenusService.d.ts +0 -180
  191. package/dist/services/NodeService.d.ts +0 -383
  192. package/dist/services/NpsService.d.ts +0 -56
  193. package/dist/services/OpcUaServerService.d.ts +0 -182
  194. package/dist/services/OperationService.d.ts +0 -60
  195. package/dist/services/PagesService.d.ts +0 -151
  196. package/dist/services/PartAssemblyDocumentService.d.ts +0 -12
  197. package/dist/services/PartAssemblyService.d.ts +0 -400
  198. package/dist/services/PartService.d.ts +0 -133
  199. package/dist/services/PostService.d.ts +0 -56
  200. package/dist/services/PrintPresetService.d.ts +0 -155
  201. package/dist/services/PriorityLabelService.d.ts +0 -45
  202. package/dist/services/PriorityService.d.ts +0 -51
  203. package/dist/services/ProductionEntityEventService.d.ts +0 -169
  204. package/dist/services/ProductionEntityMappingService.d.ts +0 -142
  205. package/dist/services/ProductionEntityService.d.ts +0 -207
  206. package/dist/services/ProductionEntityTransactionService.d.ts +0 -142
  207. package/dist/services/ProductionEntityTypeService.d.ts +0 -151
  208. package/dist/services/ProjectService.d.ts +0 -142
  209. package/dist/services/PythonResultService.d.ts +0 -15
  210. package/dist/services/ResourceMappingService.d.ts +0 -133
  211. package/dist/services/ResourceService.d.ts +0 -264
  212. package/dist/services/RevisionService.d.ts +0 -62
  213. package/dist/services/RoleMappingService.d.ts +0 -151
  214. package/dist/services/RoleService.d.ts +0 -276
  215. package/dist/services/RuleService.d.ts +0 -217
  216. package/dist/services/ScromSessionService.d.ts +0 -18
  217. package/dist/services/SettingService.d.ts +0 -147
  218. package/dist/services/ShiftService.d.ts +0 -181
  219. package/dist/services/ShiftTypeService.d.ts +0 -142
  220. package/dist/services/StationService.d.ts +0 -50
  221. package/dist/services/StockService.d.ts +0 -766
  222. package/dist/services/SyncClientsService.d.ts +0 -142
  223. package/dist/services/SyncHistoryService.d.ts +0 -142
  224. package/dist/services/SyncService.d.ts +0 -89
  225. package/dist/services/TableService.d.ts +0 -154
  226. package/dist/services/TableSetupService.d.ts +0 -40
  227. package/dist/services/TimeLogReportService.d.ts +0 -87
  228. package/dist/services/TimelineService.d.ts +0 -73
  229. package/dist/services/ToolService.d.ts +0 -73
  230. package/dist/services/TranslationService.d.ts +0 -172
  231. package/dist/services/UnitService.d.ts +0 -182
  232. package/dist/services/UpdateInfoService.d.ts +0 -24
  233. package/dist/services/UserModelService.d.ts +0 -245
  234. package/dist/services/VariantService.d.ts +0 -42
  235. package/dist/services/VoteMappingService.d.ts +0 -19
  236. package/dist/services/WarehouseService.d.ts +0 -19
  237. package/dist/services/WebhookService.d.ts +0 -58
  238. package/dist/services/WireService.d.ts +0 -151
  239. package/dist/services/WiringlistService.d.ts +0 -340
  240. package/dist/services/WorkflowDetailsService.d.ts +0 -151
  241. package/dist/services/WorkflowNoteService.d.ts +0 -173
  242. package/dist/services/WorkflowService.d.ts +0 -976
  243. package/dist/services/WorkflowSessionItemRecordService.d.ts +0 -19
  244. package/dist/services/WorkflowSessionItemService.d.ts +0 -205
  245. package/dist/services/WorkflowTypeService.d.ts +0 -49
  246. package/dist/services/WorkorderService.d.ts +0 -1138
  247. package/dist/services/WorkorderStatusService.d.ts +0 -78
  248. package/dist/services/WorkorderTemplateService.d.ts +0 -49
  249. package/tsconfig.build.json +0 -14
@@ -1,976 +0,0 @@
1
- import type { Chapter } from '../models/Chapter';
2
- import type { Connection } from '../models/Connection';
3
- import type { Field } from '../models/Field';
4
- import type { Group } from '../models/Group';
5
- import type { ListItem } from '../models/ListItem';
6
- import type { Node } from '../models/Node';
7
- import type { Resource } from '../models/Resource';
8
- import type { Tool } from '../models/Tool';
9
- import type { UserModel } from '../models/UserModel';
10
- import type { Workflow } from '../models/Workflow';
11
- import type { x_any } from '../models/x_any';
12
- import type { CancelablePromise } from '../core/CancelablePromise';
13
- export declare class WorkflowService {
14
- /**
15
- * Find a related item by id for globalConnections.
16
- * @param id Workflow id
17
- * @param fk Foreign key for globalConnections
18
- * @returns Connection Request was successful
19
- * @throws ApiError
20
- */
21
- static workflowPrototypeFindByIdGlobalConnections(id: string, fk: string): CancelablePromise<Connection>;
22
- /**
23
- * Delete a related item by id for globalConnections.
24
- * @param id Workflow id
25
- * @param fk Foreign key for globalConnections
26
- * @returns void
27
- * @throws ApiError
28
- */
29
- static workflowPrototypeDestroyByIdGlobalConnections(id: string, fk: string): CancelablePromise<void>;
30
- /**
31
- * Update a related item by id for globalConnections.
32
- * @param id Workflow id
33
- * @param fk Foreign key for globalConnections
34
- * @param data
35
- * @returns Connection Request was successful
36
- * @throws ApiError
37
- */
38
- static workflowPrototypeUpdateByIdGlobalConnections(id: string, fk: string, data?: Connection): CancelablePromise<Connection>;
39
- /**
40
- * Find a related item by id for connections.
41
- * @param id Workflow id
42
- * @param fk Foreign key for connections
43
- * @returns Connection Request was successful
44
- * @throws ApiError
45
- */
46
- static workflowPrototypeFindByIdConnections(id: string, fk: string): CancelablePromise<Connection>;
47
- /**
48
- * Delete a related item by id for connections.
49
- * @param id Workflow id
50
- * @param fk Foreign key for connections
51
- * @returns void
52
- * @throws ApiError
53
- */
54
- static workflowPrototypeDestroyByIdConnections(id: string, fk: string): CancelablePromise<void>;
55
- /**
56
- * Update a related item by id for connections.
57
- * @param id Workflow id
58
- * @param fk Foreign key for connections
59
- * @param data
60
- * @returns Connection Request was successful
61
- * @throws ApiError
62
- */
63
- static workflowPrototypeUpdateByIdConnections(id: string, fk: string, data?: Connection): CancelablePromise<Connection>;
64
- /**
65
- * Find a related item by id for globalNodes.
66
- * @param id Workflow id
67
- * @param fk Foreign key for globalNodes
68
- * @returns Node Request was successful
69
- * @throws ApiError
70
- */
71
- static workflowPrototypeFindByIdGlobalNodes(id: string, fk: string): CancelablePromise<Node>;
72
- /**
73
- * Delete a related item by id for globalNodes.
74
- * @param id Workflow id
75
- * @param fk Foreign key for globalNodes
76
- * @returns void
77
- * @throws ApiError
78
- */
79
- static workflowPrototypeDestroyByIdGlobalNodes(id: string, fk: string): CancelablePromise<void>;
80
- /**
81
- * Update a related item by id for globalNodes.
82
- * @param id Workflow id
83
- * @param fk Foreign key for globalNodes
84
- * @param data
85
- * @returns Node Request was successful
86
- * @throws ApiError
87
- */
88
- static workflowPrototypeUpdateByIdGlobalNodes(id: string, fk: string, data?: Node): CancelablePromise<Node>;
89
- /**
90
- * Find a related item by id for nodes.
91
- * @param id Workflow id
92
- * @param fk Foreign key for nodes
93
- * @returns Node Request was successful
94
- * @throws ApiError
95
- */
96
- static workflowPrototypeFindByIdNodes(id: string, fk: string): CancelablePromise<Node>;
97
- /**
98
- * Delete a related item by id for nodes.
99
- * @param id Workflow id
100
- * @param fk Foreign key for nodes
101
- * @returns void
102
- * @throws ApiError
103
- */
104
- static workflowPrototypeDestroyByIdNodes(id: string, fk: string): CancelablePromise<void>;
105
- /**
106
- * Update a related item by id for nodes.
107
- * @param id Workflow id
108
- * @param fk Foreign key for nodes
109
- * @param data
110
- * @returns Node Request was successful
111
- * @throws ApiError
112
- */
113
- static workflowPrototypeUpdateByIdNodes(id: string, fk: string, data?: Node): CancelablePromise<Node>;
114
- /**
115
- * Find a related item by id for tools.
116
- * @param id Workflow id
117
- * @param fk Foreign key for tools
118
- * @returns Tool Request was successful
119
- * @throws ApiError
120
- */
121
- static workflowPrototypeFindByIdTools(id: string, fk: string): CancelablePromise<Tool>;
122
- /**
123
- * Delete a related item by id for tools.
124
- * @param id Workflow id
125
- * @param fk Foreign key for tools
126
- * @returns void
127
- * @throws ApiError
128
- */
129
- static workflowPrototypeDestroyByIdTools(id: string, fk: string): CancelablePromise<void>;
130
- /**
131
- * Update a related item by id for tools.
132
- * @param id Workflow id
133
- * @param fk Foreign key for tools
134
- * @param data
135
- * @returns Tool Request was successful
136
- * @throws ApiError
137
- */
138
- static workflowPrototypeUpdateByIdTools(id: string, fk: string, data?: Tool): CancelablePromise<Tool>;
139
- /**
140
- * Find a related item by id for fields.
141
- * @param id Workflow id
142
- * @param fk Foreign key for fields
143
- * @returns Field Request was successful
144
- * @throws ApiError
145
- */
146
- static workflowPrototypeFindByIdFields(id: string, fk: string): CancelablePromise<Field>;
147
- /**
148
- * Delete a related item by id for fields.
149
- * @param id Workflow id
150
- * @param fk Foreign key for fields
151
- * @returns void
152
- * @throws ApiError
153
- */
154
- static workflowPrototypeDestroyByIdFields(id: string, fk: string): CancelablePromise<void>;
155
- /**
156
- * Update a related item by id for fields.
157
- * @param id Workflow id
158
- * @param fk Foreign key for fields
159
- * @param data
160
- * @returns Field Request was successful
161
- * @throws ApiError
162
- */
163
- static workflowPrototypeUpdateByIdFields(id: string, fk: string, data?: Field): CancelablePromise<Field>;
164
- /**
165
- * Find a related item by id for listItems.
166
- * @param id Workflow id
167
- * @param fk Foreign key for listItems
168
- * @returns ListItem Request was successful
169
- * @throws ApiError
170
- */
171
- static workflowPrototypeFindByIdListItems(id: string, fk: string): CancelablePromise<ListItem>;
172
- /**
173
- * Delete a related item by id for listItems.
174
- * @param id Workflow id
175
- * @param fk Foreign key for listItems
176
- * @returns void
177
- * @throws ApiError
178
- */
179
- static workflowPrototypeDestroyByIdListItems(id: string, fk: string): CancelablePromise<void>;
180
- /**
181
- * Update a related item by id for listItems.
182
- * @param id Workflow id
183
- * @param fk Foreign key for listItems
184
- * @param data
185
- * @returns ListItem Request was successful
186
- * @throws ApiError
187
- */
188
- static workflowPrototypeUpdateByIdListItems(id: string, fk: string, data?: ListItem): CancelablePromise<ListItem>;
189
- /**
190
- * Add a related item by id for listItems.
191
- * @param id Workflow id
192
- * @param fk Foreign key for listItems
193
- * @returns ListItem Request was successful
194
- * @throws ApiError
195
- */
196
- static workflowPrototypeLinkListItems(id: string, fk: string): CancelablePromise<ListItem>;
197
- /**
198
- * Remove the listItems relation to an item by id.
199
- * @param id Workflow id
200
- * @param fk Foreign key for listItems
201
- * @returns void
202
- * @throws ApiError
203
- */
204
- static workflowPrototypeUnlinkListItems(id: string, fk: string): CancelablePromise<void>;
205
- /**
206
- * Check the existence of listItems relation to an item by id.
207
- * @param id Workflow id
208
- * @param fk Foreign key for listItems
209
- * @returns boolean Request was successful
210
- * @throws ApiError
211
- */
212
- static workflowPrototypeExistsListItems(id: string, fk: string): CancelablePromise<boolean>;
213
- /**
214
- * Find a related item by id for chapters.
215
- * @param id Workflow id
216
- * @param fk Foreign key for chapters
217
- * @returns Chapter Request was successful
218
- * @throws ApiError
219
- */
220
- static workflowPrototypeFindByIdChapters(id: string, fk: string): CancelablePromise<Chapter>;
221
- /**
222
- * Delete a related item by id for chapters.
223
- * @param id Workflow id
224
- * @param fk Foreign key for chapters
225
- * @returns void
226
- * @throws ApiError
227
- */
228
- static workflowPrototypeDestroyByIdChapters(id: string, fk: string): CancelablePromise<void>;
229
- /**
230
- * Update a related item by id for chapters.
231
- * @param id Workflow id
232
- * @param fk Foreign key for chapters
233
- * @param data
234
- * @returns Chapter Request was successful
235
- * @throws ApiError
236
- */
237
- static workflowPrototypeUpdateByIdChapters(id: string, fk: string, data?: Chapter): CancelablePromise<Chapter>;
238
- /**
239
- * Fetches belongsTo relation resource.
240
- * @param id Workflow id
241
- * @param refresh
242
- * @returns Resource Request was successful
243
- * @throws ApiError
244
- */
245
- static workflowPrototypeGetResource(id: string, refresh?: boolean): CancelablePromise<Resource>;
246
- /**
247
- * Fetches belongsTo relation user.
248
- * @param id Workflow id
249
- * @param refresh
250
- * @returns UserModel Request was successful
251
- * @throws ApiError
252
- */
253
- static workflowPrototypeGetUser(id: string, refresh?: boolean): CancelablePromise<UserModel>;
254
- /**
255
- * Find a related item by id for groupModel.
256
- * @param id Workflow id
257
- * @param fk Foreign key for groupModel
258
- * @returns Group Request was successful
259
- * @throws ApiError
260
- */
261
- static workflowPrototypeFindByIdGroupModel(id: string, fk: string): CancelablePromise<Group>;
262
- /**
263
- * Delete a related item by id for groupModel.
264
- * @param id Workflow id
265
- * @param fk Foreign key for groupModel
266
- * @returns void
267
- * @throws ApiError
268
- */
269
- static workflowPrototypeDestroyByIdGroupModel(id: string, fk: string): CancelablePromise<void>;
270
- /**
271
- * Update a related item by id for groupModel.
272
- * @param id Workflow id
273
- * @param fk Foreign key for groupModel
274
- * @param data
275
- * @returns Group Request was successful
276
- * @throws ApiError
277
- */
278
- static workflowPrototypeUpdateByIdGroupModel(id: string, fk: string, data?: Group): CancelablePromise<Group>;
279
- /**
280
- * Add a related item by id for groupModel.
281
- * @param id Workflow id
282
- * @param fk Foreign key for groupModel
283
- * @returns Group Request was successful
284
- * @throws ApiError
285
- */
286
- static workflowPrototypeLinkGroupModel(id: string, fk: string): CancelablePromise<Group>;
287
- /**
288
- * Remove the groupModel relation to an item by id.
289
- * @param id Workflow id
290
- * @param fk Foreign key for groupModel
291
- * @returns void
292
- * @throws ApiError
293
- */
294
- static workflowPrototypeUnlinkGroupModel(id: string, fk: string): CancelablePromise<void>;
295
- /**
296
- * Check the existence of groupModel relation to an item by id.
297
- * @param id Workflow id
298
- * @param fk Foreign key for groupModel
299
- * @returns boolean Request was successful
300
- * @throws ApiError
301
- */
302
- static workflowPrototypeExistsGroupModel(id: string, fk: string): CancelablePromise<boolean>;
303
- /**
304
- * Queries globalConnections of Workflow.
305
- * @param id Workflow id
306
- * @param filter
307
- * @returns Connection Request was successful
308
- * @throws ApiError
309
- */
310
- static workflowPrototypeGetGlobalConnections(id: string, filter?: string): CancelablePromise<Array<Connection>>;
311
- /**
312
- * Creates a new instance in globalConnections of this model.
313
- * @param id Workflow id
314
- * @param data
315
- * @returns Connection Request was successful
316
- * @throws ApiError
317
- */
318
- static workflowPrototypeCreateGlobalConnections(id: string, data?: Connection): CancelablePromise<Connection>;
319
- /**
320
- * Deletes all globalConnections of this model.
321
- * @param id Workflow id
322
- * @returns void
323
- * @throws ApiError
324
- */
325
- static workflowPrototypeDeleteGlobalConnections(id: string): CancelablePromise<void>;
326
- /**
327
- * Counts globalConnections of Workflow.
328
- * @param id Workflow id
329
- * @param where Criteria to match model instances
330
- * @returns any Request was successful
331
- * @throws ApiError
332
- */
333
- static workflowPrototypeCountGlobalConnections(id: string, where?: string): CancelablePromise<{
334
- count?: number;
335
- }>;
336
- /**
337
- * Queries connections of Workflow.
338
- * @param id Workflow id
339
- * @param filter
340
- * @returns Connection Request was successful
341
- * @throws ApiError
342
- */
343
- static workflowPrototypeGetConnections(id: string, filter?: string): CancelablePromise<Array<Connection>>;
344
- /**
345
- * Creates a new instance in connections of this model.
346
- * @param id Workflow id
347
- * @param data
348
- * @returns Connection Request was successful
349
- * @throws ApiError
350
- */
351
- static workflowPrototypeCreateConnections(id: string, data?: Connection): CancelablePromise<Connection>;
352
- /**
353
- * Deletes all connections of this model.
354
- * @param id Workflow id
355
- * @returns void
356
- * @throws ApiError
357
- */
358
- static workflowPrototypeDeleteConnections(id: string): CancelablePromise<void>;
359
- /**
360
- * Counts connections of Workflow.
361
- * @param id Workflow id
362
- * @param where Criteria to match model instances
363
- * @returns any Request was successful
364
- * @throws ApiError
365
- */
366
- static workflowPrototypeCountConnections(id: string, where?: string): CancelablePromise<{
367
- count?: number;
368
- }>;
369
- /**
370
- * Queries globalNodes of Workflow.
371
- * @param id Workflow id
372
- * @param filter
373
- * @returns Node Request was successful
374
- * @throws ApiError
375
- */
376
- static workflowPrototypeGetGlobalNodes(id: string, filter?: string): CancelablePromise<Array<Node>>;
377
- /**
378
- * Creates a new instance in globalNodes of this model.
379
- * @param id Workflow id
380
- * @param data
381
- * @returns Node Request was successful
382
- * @throws ApiError
383
- */
384
- static workflowPrototypeCreateGlobalNodes(id: string, data?: Node): CancelablePromise<Node>;
385
- /**
386
- * Deletes all globalNodes of this model.
387
- * @param id Workflow id
388
- * @returns void
389
- * @throws ApiError
390
- */
391
- static workflowPrototypeDeleteGlobalNodes(id: string): CancelablePromise<void>;
392
- /**
393
- * Counts globalNodes of Workflow.
394
- * @param id Workflow id
395
- * @param where Criteria to match model instances
396
- * @returns any Request was successful
397
- * @throws ApiError
398
- */
399
- static workflowPrototypeCountGlobalNodes(id: string, where?: string): CancelablePromise<{
400
- count?: number;
401
- }>;
402
- /**
403
- * Queries nodes of Workflow.
404
- * @param id Workflow id
405
- * @param filter
406
- * @returns Node Request was successful
407
- * @throws ApiError
408
- */
409
- static workflowPrototypeGetNodes(id: string, filter?: string): CancelablePromise<Array<Node>>;
410
- /**
411
- * Creates a new instance in nodes of this model.
412
- * @param id Workflow id
413
- * @param data
414
- * @returns Node Request was successful
415
- * @throws ApiError
416
- */
417
- static workflowPrototypeCreateNodes(id: string, data?: Node): CancelablePromise<Node>;
418
- /**
419
- * Deletes all nodes of this model.
420
- * @param id Workflow id
421
- * @returns void
422
- * @throws ApiError
423
- */
424
- static workflowPrototypeDeleteNodes(id: string): CancelablePromise<void>;
425
- /**
426
- * Counts nodes of Workflow.
427
- * @param id Workflow id
428
- * @param where Criteria to match model instances
429
- * @returns any Request was successful
430
- * @throws ApiError
431
- */
432
- static workflowPrototypeCountNodes(id: string, where?: string): CancelablePromise<{
433
- count?: number;
434
- }>;
435
- /**
436
- * Queries tools of Workflow.
437
- * @param id Workflow id
438
- * @param filter
439
- * @returns Tool Request was successful
440
- * @throws ApiError
441
- */
442
- static workflowPrototypeGetTools(id: string, filter?: string): CancelablePromise<Array<Tool>>;
443
- /**
444
- * Creates a new instance in tools of this model.
445
- * @param id Workflow id
446
- * @param data
447
- * @returns Tool Request was successful
448
- * @throws ApiError
449
- */
450
- static workflowPrototypeCreateTools(id: string, data?: Tool): CancelablePromise<Tool>;
451
- /**
452
- * Deletes all tools of this model.
453
- * @param id Workflow id
454
- * @returns void
455
- * @throws ApiError
456
- */
457
- static workflowPrototypeDeleteTools(id: string): CancelablePromise<void>;
458
- /**
459
- * Counts tools of Workflow.
460
- * @param id Workflow id
461
- * @param where Criteria to match model instances
462
- * @returns any Request was successful
463
- * @throws ApiError
464
- */
465
- static workflowPrototypeCountTools(id: string, where?: string): CancelablePromise<{
466
- count?: number;
467
- }>;
468
- /**
469
- * Queries fields of Workflow.
470
- * @param id Workflow id
471
- * @param filter
472
- * @returns Field Request was successful
473
- * @throws ApiError
474
- */
475
- static workflowPrototypeGetFields(id: string, filter?: string): CancelablePromise<Array<Field>>;
476
- /**
477
- * Creates a new instance in fields of this model.
478
- * @param id Workflow id
479
- * @param data
480
- * @returns Field Request was successful
481
- * @throws ApiError
482
- */
483
- static workflowPrototypeCreateFields(id: string, data?: Field): CancelablePromise<Field>;
484
- /**
485
- * Deletes all fields of this model.
486
- * @param id Workflow id
487
- * @returns void
488
- * @throws ApiError
489
- */
490
- static workflowPrototypeDeleteFields(id: string): CancelablePromise<void>;
491
- /**
492
- * Counts fields of Workflow.
493
- * @param id Workflow id
494
- * @param where Criteria to match model instances
495
- * @returns any Request was successful
496
- * @throws ApiError
497
- */
498
- static workflowPrototypeCountFields(id: string, where?: string): CancelablePromise<{
499
- count?: number;
500
- }>;
501
- /**
502
- * Queries listItems of Workflow.
503
- * @param id Workflow id
504
- * @param filter
505
- * @returns ListItem Request was successful
506
- * @throws ApiError
507
- */
508
- static workflowPrototypeGetListItems(id: string, filter?: string): CancelablePromise<Array<ListItem>>;
509
- /**
510
- * Creates a new instance in listItems of this model.
511
- * @param id Workflow id
512
- * @param data
513
- * @returns ListItem Request was successful
514
- * @throws ApiError
515
- */
516
- static workflowPrototypeCreateListItems(id: string, data?: ListItem): CancelablePromise<ListItem>;
517
- /**
518
- * Deletes all listItems of this model.
519
- * @param id Workflow id
520
- * @returns void
521
- * @throws ApiError
522
- */
523
- static workflowPrototypeDeleteListItems(id: string): CancelablePromise<void>;
524
- /**
525
- * Counts listItems of Workflow.
526
- * @param id Workflow id
527
- * @param where Criteria to match model instances
528
- * @returns any Request was successful
529
- * @throws ApiError
530
- */
531
- static workflowPrototypeCountListItems(id: string, where?: string): CancelablePromise<{
532
- count?: number;
533
- }>;
534
- /**
535
- * Queries chapters of Workflow.
536
- * @param id Workflow id
537
- * @param filter
538
- * @returns Chapter Request was successful
539
- * @throws ApiError
540
- */
541
- static workflowPrototypeGetChapters(id: string, filter?: string): CancelablePromise<Array<Chapter>>;
542
- /**
543
- * Creates a new instance in chapters of this model.
544
- * @param id Workflow id
545
- * @param data
546
- * @returns Chapter Request was successful
547
- * @throws ApiError
548
- */
549
- static workflowPrototypeCreateChapters(id: string, data?: Chapter): CancelablePromise<Chapter>;
550
- /**
551
- * Deletes all chapters of this model.
552
- * @param id Workflow id
553
- * @returns void
554
- * @throws ApiError
555
- */
556
- static workflowPrototypeDeleteChapters(id: string): CancelablePromise<void>;
557
- /**
558
- * Counts chapters of Workflow.
559
- * @param id Workflow id
560
- * @param where Criteria to match model instances
561
- * @returns any Request was successful
562
- * @throws ApiError
563
- */
564
- static workflowPrototypeCountChapters(id: string, where?: string): CancelablePromise<{
565
- count?: number;
566
- }>;
567
- /**
568
- * Queries groupModel of Workflow.
569
- * @param id Workflow id
570
- * @param filter
571
- * @returns Group Request was successful
572
- * @throws ApiError
573
- */
574
- static workflowPrototypeGetGroupModel(id: string, filter?: string): CancelablePromise<Array<Group>>;
575
- /**
576
- * Creates a new instance in groupModel of this model.
577
- * @param id Workflow id
578
- * @param data
579
- * @returns Group Request was successful
580
- * @throws ApiError
581
- */
582
- static workflowPrototypeCreateGroupModel(id: string, data?: Group): CancelablePromise<Group>;
583
- /**
584
- * Deletes all groupModel of this model.
585
- * @param id Workflow id
586
- * @returns void
587
- * @throws ApiError
588
- */
589
- static workflowPrototypeDeleteGroupModel(id: string): CancelablePromise<void>;
590
- /**
591
- * Counts groupModel of Workflow.
592
- * @param id Workflow id
593
- * @param where Criteria to match model instances
594
- * @returns any Request was successful
595
- * @throws ApiError
596
- */
597
- static workflowPrototypeCountGroupModel(id: string, where?: string): CancelablePromise<{
598
- count?: number;
599
- }>;
600
- /**
601
- * Create a new instance of the model and persist it into the data source.
602
- * @param data Model instance data
603
- * @returns Workflow Request was successful
604
- * @throws ApiError
605
- */
606
- static workflowCreate(data?: Workflow): CancelablePromise<Workflow>;
607
- /**
608
- * Patch an existing model instance or insert a new one into the data source.
609
- * @param data Model instance data
610
- * @returns Workflow Request was successful
611
- * @throws ApiError
612
- */
613
- static workflowPatchOrCreate(data?: Workflow): CancelablePromise<Workflow>;
614
- /**
615
- * Replace an existing model instance or insert a new one into the data source.
616
- * @param data Model instance data
617
- * @returns Workflow Request was successful
618
- * @throws ApiError
619
- */
620
- static workflowReplaceOrCreatePutWorkflows(data?: Workflow): CancelablePromise<Workflow>;
621
- /**
622
- * Find all instances of the model matched by filter from the data source.
623
- * @param filter Filter defining fields, where, include, order, offset, and limit - must be a JSON-encoded string (`{"where":{"something":"value"}}`). See https://loopback.io/doc/en/lb3/Querying-data.html#using-stringified-json-in-rest-queries for more details.
624
- * @returns Workflow Request was successful
625
- * @throws ApiError
626
- */
627
- static workflowFind(filter?: string): CancelablePromise<Array<Workflow>>;
628
- /**
629
- * Replace an existing model instance or insert a new one into the data source.
630
- * @param data Model instance data
631
- * @returns Workflow Request was successful
632
- * @throws ApiError
633
- */
634
- static workflowReplaceOrCreatePostWorkflowsReplaceOrCreate(data?: Workflow): CancelablePromise<Workflow>;
635
- /**
636
- * Update an existing model instance or insert a new one into the data source based on the where criteria.
637
- * @param where Criteria to match model instances
638
- * @param data An object of model property name/value pairs
639
- * @returns Workflow Request was successful
640
- * @throws ApiError
641
- */
642
- static workflowUpsertWithWhere(where?: string, data?: Workflow): CancelablePromise<Workflow>;
643
- /**
644
- * Check whether a model instance exists in the data source.
645
- * @param id Model id
646
- * @returns any Request was successful
647
- * @throws ApiError
648
- */
649
- static workflowExistsGetWorkflowsIdExists(id: string): CancelablePromise<{
650
- exists?: boolean;
651
- }>;
652
- /**
653
- * Check whether a model instance exists in the data source.
654
- * @param id Model id
655
- * @returns any Request was successful
656
- * @throws ApiError
657
- */
658
- static workflowExistsHeadWorkflowsId(id: string): CancelablePromise<{
659
- exists?: boolean;
660
- }>;
661
- /**
662
- * Find a model instance by {{id}} from the data source.
663
- * @param id Model id
664
- * @param filter Filter defining fields and include - must be a JSON-encoded string ({"something":"value"})
665
- * @returns Workflow Request was successful
666
- * @throws ApiError
667
- */
668
- static workflowFindById(id: string, filter?: string): CancelablePromise<Workflow>;
669
- /**
670
- * Replace attributes for a model instance and persist it into the data source.
671
- * @param id Model id
672
- * @param data Model instance data
673
- * @returns Workflow Request was successful
674
- * @throws ApiError
675
- */
676
- static workflowReplaceByIdPutWorkflowsId(id: string, data?: Workflow): CancelablePromise<Workflow>;
677
- /**
678
- * Delete a model instance by {{id}} from the data source.
679
- * @param id Model id
680
- * @returns any Request was successful
681
- * @throws ApiError
682
- */
683
- static workflowDeleteById(id: string): CancelablePromise<any>;
684
- /**
685
- * Patch attributes for a model instance and persist it into the data source.
686
- * @param id Workflow id
687
- * @param data An object of model property name/value pairs
688
- * @returns Workflow Request was successful
689
- * @throws ApiError
690
- */
691
- static workflowPrototypePatchAttributes(id: string, data?: Workflow): CancelablePromise<Workflow>;
692
- /**
693
- * Replace attributes for a model instance and persist it into the data source.
694
- * @param id Model id
695
- * @param data Model instance data
696
- * @returns Workflow Request was successful
697
- * @throws ApiError
698
- */
699
- static workflowReplaceByIdPostWorkflowsIdReplace(id: string, data?: Workflow): CancelablePromise<Workflow>;
700
- /**
701
- * Find first instance of the model matched by filter from the data source.
702
- * @param filter Filter defining fields, where, include, order, offset, and limit - must be a JSON-encoded string (`{"where":{"something":"value"}}`). See https://loopback.io/doc/en/lb3/Querying-data.html#using-stringified-json-in-rest-queries for more details.
703
- * @returns Workflow Request was successful
704
- * @throws ApiError
705
- */
706
- static workflowFindOne(filter?: string): CancelablePromise<Workflow>;
707
- /**
708
- * Update instances of the model matched by {{where}} from the data source.
709
- * @param where Criteria to match model instances
710
- * @param data An object of model property name/value pairs
711
- * @returns any Request was successful
712
- * @throws ApiError
713
- */
714
- static workflowUpdateAll(where?: string, data?: Workflow): CancelablePromise<{
715
- /**
716
- * The number of instances updated
717
- */
718
- count?: number;
719
- }>;
720
- /**
721
- * Count instances of the model matched by where from the data source.
722
- * @param where Criteria to match model instances
723
- * @returns any Request was successful
724
- * @throws ApiError
725
- */
726
- static workflowCount(where?: string): CancelablePromise<{
727
- count?: number;
728
- }>;
729
- /**
730
- * Release workflow
731
- * @param id
732
- * @param releaseLog
733
- * @returns Workflow Request was successful
734
- * @throws ApiError
735
- */
736
- static workflowReleaseWorkflow(id: string, releaseLog?: string): CancelablePromise<Workflow>;
737
- /**
738
- * Lock workflow version
739
- * @param id
740
- * @returns Workflow Request was successful
741
- * @throws ApiError
742
- */
743
- static workflowLockWorkflowVersion(id: string): CancelablePromise<Workflow>;
744
- /**
745
- * Softdelete workflow by id (recordId)
746
- * @param recordId
747
- * @returns Workflow Request was successful
748
- * @throws ApiError
749
- */
750
- static workflowDeleteByWorkflowId(recordId: string): CancelablePromise<Workflow>;
751
- /**
752
- * @param workflowId
753
- * @param smgId
754
- * @param xlsId
755
- * @returns any Request was successful
756
- * @throws ApiError
757
- */
758
- static workflowImportWorkflow(workflowId: string, smgId: string, xlsId: string): CancelablePromise<any>;
759
- /**
760
- * @param id Workflow id
761
- * @param resourceId
762
- * @param type
763
- * @returns any Request was successful
764
- * @throws ApiError
765
- */
766
- static workflowPrototypeImportDocx(id: string, resourceId: string, type: string): CancelablePromise<any>;
767
- /**
768
- * Fork a workflow
769
- * @param workflowId
770
- * @param softFork
771
- * @returns Workflow Request was successful
772
- * @throws ApiError
773
- */
774
- static workflowFork(workflowId: string, softFork?: boolean): CancelablePromise<Workflow>;
775
- /**
776
- * @param ids
777
- * @returns any Request was successful
778
- * @throws ApiError
779
- */
780
- static workflowExportModel(ids?: string): CancelablePromise<{
781
- undefined?: any;
782
- }>;
783
- /**
784
- * @param data
785
- * @returns any Request was successful
786
- * @throws ApiError
787
- */
788
- static workflowImportModels(data?: string): CancelablePromise<any>;
789
- /**
790
- * @param id
791
- * @param name
792
- * @returns any Request was successful
793
- * @throws ApiError
794
- */
795
- static workflowDuplicateWorkflow(id: string, name?: string): CancelablePromise<{
796
- workflow?: any;
797
- }>;
798
- /**
799
- * @param nodes
800
- * @param workflowId
801
- * @returns binary Request was successful
802
- * @throws ApiError
803
- */
804
- static workflowCreateWorkflowNodeReport(nodes: string, workflowId: string): CancelablePromise<Blob>;
805
- /**
806
- * @param id
807
- * @param nodeIds
808
- * @param data
809
- * @param workflowData
810
- * @returns x_any Request was successful
811
- * @throws ApiError
812
- */
813
- static workflowBulkSaveNodes(id: string, nodeIds?: string, data?: string, workflowData?: string): CancelablePromise<x_any>;
814
- /**
815
- * @param id
816
- * @param connectionIds
817
- * @param nodeIds
818
- * @returns x_any Request was successful
819
- * @throws ApiError
820
- */
821
- static workflowBulkDeleteElements(id: string, connectionIds?: string, nodeIds?: string): CancelablePromise<x_any>;
822
- /**
823
- * @param id
824
- * @param nodes
825
- * @param connections
826
- * @param newVariables
827
- * @returns Workflow Request was successful
828
- * @throws ApiError
829
- */
830
- static workflowMassiveCopy(id: string, nodes?: string, connections?: string, newVariables?: string): CancelablePromise<Workflow>;
831
- /**
832
- * @param id Workflow id
833
- * @param nodeId
834
- * @returns Workflow Request was successful
835
- * @throws ApiError
836
- */
837
- static workflowPrototypeCreateNodeAndConnection(id: string, nodeId?: string): CancelablePromise<Workflow>;
838
- /**
839
- * @param id
840
- * @param data
841
- * @param lastNodePosition
842
- * @param type
843
- * @returns x_any Request was successful
844
- * @throws ApiError
845
- */
846
- static workflowImportNodes(id: string, data?: string, lastNodePosition?: string, type?: string): CancelablePromise<x_any>;
847
- /**
848
- * @param id
849
- * @returns any Request was successful
850
- * @throws ApiError
851
- */
852
- static workflowValidateReferenceWorkflow(id: string): CancelablePromise<any>;
853
- /**
854
- * @param workflowId
855
- * @param lockId
856
- * @returns any Request was successful
857
- * @throws ApiError
858
- */
859
- static workflowEnterWorkflow(workflowId?: string, lockId?: string): CancelablePromise<any>;
860
- /**
861
- * @param id Workflow id
862
- * @param bom
863
- * @param nodesBom
864
- * @returns any Request was successful
865
- * @throws ApiError
866
- */
867
- static workflowPrototypeWorkflowBomChange(id: string, bom: string, nodesBom: string): CancelablePromise<any>;
868
- /**
869
- * @param workflowIds
870
- * @returns any Request was successful
871
- * @throws ApiError
872
- */
873
- static workflowGetWorkflowsForPrint(workflowIds?: string): CancelablePromise<any>;
874
- /**
875
- * @param id
876
- * @param releaseLog
877
- * @returns any Request was successful
878
- * @throws ApiError
879
- */
880
- static workflowUpdateReleaseLog(id: string, releaseLog: string): CancelablePromise<any>;
881
- /**
882
- * @param recordId
883
- * @returns x_any Request was successful
884
- * @throws ApiError
885
- */
886
- static workflowGetWorkflowVersions(recordId?: string): CancelablePromise<Array<x_any>>;
887
- /**
888
- * @param id
889
- * @param chapters
890
- * @returns x_any Request was successful
891
- * @throws ApiError
892
- */
893
- static workflowChaptersChange(id: string, chapters: string): CancelablePromise<Array<x_any>>;
894
- /**
895
- * @param workflowData
896
- * @returns boolean Request was successful
897
- * @throws ApiError
898
- */
899
- static workflowCreateWorkflow(workflowData: string): CancelablePromise<boolean>;
900
- /**
901
- * @param skUs
902
- * @param type
903
- * @returns any Request was successful
904
- * @throws ApiError
905
- */
906
- static workflowFindWorkflowsBySkUs(skUs?: string, type?: string): CancelablePromise<any>;
907
- /**
908
- * @param parentWorkflowIds
909
- * @param notExistVariablesByWorkflowId
910
- * @returns x_any Request was successful
911
- * @throws ApiError
912
- */
913
- static workflowPublishParentWorkflows(parentWorkflowIds?: string, notExistVariablesByWorkflowId?: string): CancelablePromise<Array<x_any>>;
914
- /**
915
- * @param id
916
- * @param releaseLog
917
- * @returns any Request was successful
918
- * @throws ApiError
919
- */
920
- static workflowEditVersionReleaseLog(id: string, releaseLog?: string): CancelablePromise<any>;
921
- /**
922
- * @param workflowId
923
- * @param editLockId
924
- * @returns void
925
- * @throws ApiError
926
- */
927
- static workflowRemoveWorkflowEditLock(workflowId?: string, editLockId?: string): CancelablePromise<void>;
928
- /**
929
- * Count with deleted instances of the model matched by where from the data source.
930
- * @param where Criteria to match model instances
931
- * @returns any Request was successful
932
- * @throws ApiError
933
- */
934
- static workflowCountWithDeleted(where?: string): CancelablePromise<{
935
- count?: number;
936
- }>;
937
- /**
938
- * Nested duplicate object
939
- * @param id
940
- * @param extraProperties
941
- * @returns x_any Request was successful
942
- * @throws ApiError
943
- */
944
- static workflowDuplicate(id: string, extraProperties?: string): CancelablePromise<x_any>;
945
- /**
946
- * @param filter
947
- * @returns any Request was successful
948
- * @throws ApiError
949
- */
950
- static workflowExportTranslations(filter: string): CancelablePromise<{
951
- res?: any;
952
- }>;
953
- /**
954
- * Uploads a file
955
- * @param body
956
- * @returns any Request was successful
957
- * @throws ApiError
958
- */
959
- static workflowImportTranslations(body?: any): CancelablePromise<{
960
- res?: any;
961
- }>;
962
- /**
963
- * @returns any Request was successful
964
- * @throws ApiError
965
- */
966
- static workflowMarkAsComplete(): CancelablePromise<{
967
- res?: any;
968
- }>;
969
- /**
970
- * @returns any Request was successful
971
- * @throws ApiError
972
- */
973
- static workflowMarkAsIncomplete(): CancelablePromise<{
974
- res?: any;
975
- }>;
976
- }