@nextplus/js-sdk 0.0.1 → 0.0.4

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/README.md +228 -0
  2. package/dist/chunk-DNVJS7WW.js +20836 -0
  3. package/dist/chunk-FXXZNC42.js +726 -0
  4. package/dist/index.d.ts +34 -209
  5. package/dist/index.js +244 -27585
  6. package/dist/sdk/client/index.d.ts +39 -0
  7. package/dist/sdk/client/index.js +18 -0
  8. package/dist/sdk/sdk.gen.d.ts +34568 -0
  9. package/dist/sdk/sdk.gen.js +213 -0
  10. package/dist/types.gen-vDP9AbtO.d.ts +258 -0
  11. package/openapi-ts.config.ts +36 -0
  12. package/package.json +32 -74
  13. package/prettier.config.js +5 -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 +74 -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,340 +0,0 @@
1
- import type { Group } from '../models/Group';
2
- import type { Resource } from '../models/Resource';
3
- import type { Wire } from '../models/Wire';
4
- import type { Wiringlist } from '../models/Wiringlist';
5
- import type { CancelablePromise } from '../core/CancelablePromise';
6
- export declare class WiringlistService {
7
- /**
8
- * Find a related item by id for wires.
9
- * @param id Wiringlist id
10
- * @param fk Foreign key for wires
11
- * @returns Wire Request was successful
12
- * @throws ApiError
13
- */
14
- static wiringlistPrototypeFindByIdWires(id: string, fk: string): CancelablePromise<Wire>;
15
- /**
16
- * Delete a related item by id for wires.
17
- * @param id Wiringlist id
18
- * @param fk Foreign key for wires
19
- * @returns void
20
- * @throws ApiError
21
- */
22
- static wiringlistPrototypeDestroyByIdWires(id: string, fk: string): CancelablePromise<void>;
23
- /**
24
- * Update a related item by id for wires.
25
- * @param id Wiringlist id
26
- * @param fk Foreign key for wires
27
- * @param data
28
- * @returns Wire Request was successful
29
- * @throws ApiError
30
- */
31
- static wiringlistPrototypeUpdateByIdWires(id: string, fk: string, data?: Wire): CancelablePromise<Wire>;
32
- /**
33
- * Add a related item by id for wires.
34
- * @param id Wiringlist id
35
- * @param fk Foreign key for wires
36
- * @returns Wire Request was successful
37
- * @throws ApiError
38
- */
39
- static wiringlistPrototypeLinkWires(id: string, fk: string): CancelablePromise<Wire>;
40
- /**
41
- * Remove the wires relation to an item by id.
42
- * @param id Wiringlist id
43
- * @param fk Foreign key for wires
44
- * @returns void
45
- * @throws ApiError
46
- */
47
- static wiringlistPrototypeUnlinkWires(id: string, fk: string): CancelablePromise<void>;
48
- /**
49
- * Check the existence of wires relation to an item by id.
50
- * @param id Wiringlist id
51
- * @param fk Foreign key for wires
52
- * @returns boolean Request was successful
53
- * @throws ApiError
54
- */
55
- static wiringlistPrototypeExistsWires(id: string, fk: string): CancelablePromise<boolean>;
56
- /**
57
- * Fetches belongsTo relation resource_object.
58
- * @param id Wiringlist id
59
- * @param refresh
60
- * @returns Resource Request was successful
61
- * @throws ApiError
62
- */
63
- static wiringlistPrototypeGetResourceObject(id: string, refresh?: boolean): CancelablePromise<Resource>;
64
- /**
65
- * Find a related item by id for groupModel.
66
- * @param id Wiringlist id
67
- * @param fk Foreign key for groupModel
68
- * @returns Group Request was successful
69
- * @throws ApiError
70
- */
71
- static wiringlistPrototypeFindByIdGroupModel(id: string, fk: string): CancelablePromise<Group>;
72
- /**
73
- * Delete a related item by id for groupModel.
74
- * @param id Wiringlist id
75
- * @param fk Foreign key for groupModel
76
- * @returns void
77
- * @throws ApiError
78
- */
79
- static wiringlistPrototypeDestroyByIdGroupModel(id: string, fk: string): CancelablePromise<void>;
80
- /**
81
- * Update a related item by id for groupModel.
82
- * @param id Wiringlist id
83
- * @param fk Foreign key for groupModel
84
- * @param data
85
- * @returns Group Request was successful
86
- * @throws ApiError
87
- */
88
- static wiringlistPrototypeUpdateByIdGroupModel(id: string, fk: string, data?: Group): CancelablePromise<Group>;
89
- /**
90
- * Add a related item by id for groupModel.
91
- * @param id Wiringlist id
92
- * @param fk Foreign key for groupModel
93
- * @returns Group Request was successful
94
- * @throws ApiError
95
- */
96
- static wiringlistPrototypeLinkGroupModel(id: string, fk: string): CancelablePromise<Group>;
97
- /**
98
- * Remove the groupModel relation to an item by id.
99
- * @param id Wiringlist id
100
- * @param fk Foreign key for groupModel
101
- * @returns void
102
- * @throws ApiError
103
- */
104
- static wiringlistPrototypeUnlinkGroupModel(id: string, fk: string): CancelablePromise<void>;
105
- /**
106
- * Check the existence of groupModel relation to an item by id.
107
- * @param id Wiringlist id
108
- * @param fk Foreign key for groupModel
109
- * @returns boolean Request was successful
110
- * @throws ApiError
111
- */
112
- static wiringlistPrototypeExistsGroupModel(id: string, fk: string): CancelablePromise<boolean>;
113
- /**
114
- * Queries wires of Wiringlist.
115
- * @param id Wiringlist id
116
- * @param filter
117
- * @returns Wire Request was successful
118
- * @throws ApiError
119
- */
120
- static wiringlistPrototypeGetWires(id: string, filter?: string): CancelablePromise<Array<Wire>>;
121
- /**
122
- * Creates a new instance in wires of this model.
123
- * @param id Wiringlist id
124
- * @param data
125
- * @returns Wire Request was successful
126
- * @throws ApiError
127
- */
128
- static wiringlistPrototypeCreateWires(id: string, data?: Wire): CancelablePromise<Wire>;
129
- /**
130
- * Deletes all wires of this model.
131
- * @param id Wiringlist id
132
- * @returns void
133
- * @throws ApiError
134
- */
135
- static wiringlistPrototypeDeleteWires(id: string): CancelablePromise<void>;
136
- /**
137
- * Counts wires of Wiringlist.
138
- * @param id Wiringlist id
139
- * @param where Criteria to match model instances
140
- * @returns any Request was successful
141
- * @throws ApiError
142
- */
143
- static wiringlistPrototypeCountWires(id: string, where?: string): CancelablePromise<{
144
- count?: number;
145
- }>;
146
- /**
147
- * Queries groupModel of Wiringlist.
148
- * @param id Wiringlist id
149
- * @param filter
150
- * @returns Group Request was successful
151
- * @throws ApiError
152
- */
153
- static wiringlistPrototypeGetGroupModel(id: string, filter?: string): CancelablePromise<Array<Group>>;
154
- /**
155
- * Creates a new instance in groupModel of this model.
156
- * @param id Wiringlist id
157
- * @param data
158
- * @returns Group Request was successful
159
- * @throws ApiError
160
- */
161
- static wiringlistPrototypeCreateGroupModel(id: string, data?: Group): CancelablePromise<Group>;
162
- /**
163
- * Deletes all groupModel of this model.
164
- * @param id Wiringlist id
165
- * @returns void
166
- * @throws ApiError
167
- */
168
- static wiringlistPrototypeDeleteGroupModel(id: string): CancelablePromise<void>;
169
- /**
170
- * Counts groupModel of Wiringlist.
171
- * @param id Wiringlist id
172
- * @param where Criteria to match model instances
173
- * @returns any Request was successful
174
- * @throws ApiError
175
- */
176
- static wiringlistPrototypeCountGroupModel(id: string, where?: string): CancelablePromise<{
177
- count?: number;
178
- }>;
179
- /**
180
- * Create a new instance of the model and persist it into the data source.
181
- * @param data Model instance data
182
- * @returns Wiringlist Request was successful
183
- * @throws ApiError
184
- */
185
- static wiringlistCreate(data?: Wiringlist): CancelablePromise<Wiringlist>;
186
- /**
187
- * Patch an existing model instance or insert a new one into the data source.
188
- * @param data Model instance data
189
- * @returns Wiringlist Request was successful
190
- * @throws ApiError
191
- */
192
- static wiringlistPatchOrCreate(data?: Wiringlist): CancelablePromise<Wiringlist>;
193
- /**
194
- * Replace an existing model instance or insert a new one into the data source.
195
- * @param data Model instance data
196
- * @returns Wiringlist Request was successful
197
- * @throws ApiError
198
- */
199
- static wiringlistReplaceOrCreatePutWiringlist(data?: Wiringlist): CancelablePromise<Wiringlist>;
200
- /**
201
- * Find all instances of the model matched by filter from the data source.
202
- * @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.
203
- * @returns Wiringlist Request was successful
204
- * @throws ApiError
205
- */
206
- static wiringlistFind(filter?: string): CancelablePromise<Array<Wiringlist>>;
207
- /**
208
- * Replace an existing model instance or insert a new one into the data source.
209
- * @param data Model instance data
210
- * @returns Wiringlist Request was successful
211
- * @throws ApiError
212
- */
213
- static wiringlistReplaceOrCreatePostWiringlistReplaceOrCreate(data?: Wiringlist): CancelablePromise<Wiringlist>;
214
- /**
215
- * Update an existing model instance or insert a new one into the data source based on the where criteria.
216
- * @param where Criteria to match model instances
217
- * @param data An object of model property name/value pairs
218
- * @returns Wiringlist Request was successful
219
- * @throws ApiError
220
- */
221
- static wiringlistUpsertWithWhere(where?: string, data?: Wiringlist): CancelablePromise<Wiringlist>;
222
- /**
223
- * Check whether a model instance exists in the data source.
224
- * @param id Model id
225
- * @returns any Request was successful
226
- * @throws ApiError
227
- */
228
- static wiringlistExistsGetWiringlistIdExists(id: string): CancelablePromise<{
229
- exists?: boolean;
230
- }>;
231
- /**
232
- * Check whether a model instance exists in the data source.
233
- * @param id Model id
234
- * @returns any Request was successful
235
- * @throws ApiError
236
- */
237
- static wiringlistExistsHeadWiringlistId(id: string): CancelablePromise<{
238
- exists?: boolean;
239
- }>;
240
- /**
241
- * Find a model instance by {{id}} from the data source.
242
- * @param id Model id
243
- * @param filter Filter defining fields and include - must be a JSON-encoded string ({"something":"value"})
244
- * @returns Wiringlist Request was successful
245
- * @throws ApiError
246
- */
247
- static wiringlistFindById(id: string, filter?: string): CancelablePromise<Wiringlist>;
248
- /**
249
- * Replace attributes for a model instance and persist it into the data source.
250
- * @param id Model id
251
- * @param data Model instance data
252
- * @returns Wiringlist Request was successful
253
- * @throws ApiError
254
- */
255
- static wiringlistReplaceByIdPutWiringlistId(id: string, data?: Wiringlist): CancelablePromise<Wiringlist>;
256
- /**
257
- * Delete a model instance by {{id}} from the data source.
258
- * @param id Model id
259
- * @returns any Request was successful
260
- * @throws ApiError
261
- */
262
- static wiringlistDeleteById(id: string): CancelablePromise<any>;
263
- /**
264
- * Patch attributes for a model instance and persist it into the data source.
265
- * @param id Wiringlist id
266
- * @param data An object of model property name/value pairs
267
- * @returns Wiringlist Request was successful
268
- * @throws ApiError
269
- */
270
- static wiringlistPrototypePatchAttributes(id: string, data?: Wiringlist): CancelablePromise<Wiringlist>;
271
- /**
272
- * Replace attributes for a model instance and persist it into the data source.
273
- * @param id Model id
274
- * @param data Model instance data
275
- * @returns Wiringlist Request was successful
276
- * @throws ApiError
277
- */
278
- static wiringlistReplaceByIdPostWiringlistIdReplace(id: string, data?: Wiringlist): CancelablePromise<Wiringlist>;
279
- /**
280
- * Find first instance of the model matched by filter from the data source.
281
- * @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.
282
- * @returns Wiringlist Request was successful
283
- * @throws ApiError
284
- */
285
- static wiringlistFindOne(filter?: string): CancelablePromise<Wiringlist>;
286
- /**
287
- * Update instances of the model matched by {{where}} from the data source.
288
- * @param where Criteria to match model instances
289
- * @param data An object of model property name/value pairs
290
- * @returns any Request was successful
291
- * @throws ApiError
292
- */
293
- static wiringlistUpdateAll(where?: string, data?: Wiringlist): CancelablePromise<{
294
- /**
295
- * The number of instances updated
296
- */
297
- count?: number;
298
- }>;
299
- /**
300
- * Count instances of the model matched by where from the data source.
301
- * @param where Criteria to match model instances
302
- * @returns any Request was successful
303
- * @throws ApiError
304
- */
305
- static wiringlistCount(where?: string): CancelablePromise<{
306
- count?: number;
307
- }>;
308
- /**
309
- * @param ids
310
- * @returns any Request was successful
311
- * @throws ApiError
312
- */
313
- static wiringlistExportModel(ids?: string): CancelablePromise<{
314
- undefined?: any;
315
- }>;
316
- /**
317
- * @param wireListId
318
- * @param wireId
319
- * @returns any Request was successful
320
- * @throws ApiError
321
- */
322
- static wiringlistDeleteWiring(wireListId: string, wireId: string): CancelablePromise<{
323
- undefined?: any;
324
- }>;
325
- /**
326
- * @param id
327
- * @returns any Request was successful
328
- * @throws ApiError
329
- */
330
- static wiringlistGetWirings(id?: string): CancelablePromise<any>;
331
- /**
332
- * Count with deleted instances of the model matched by where from the data source.
333
- * @param where Criteria to match model instances
334
- * @returns any Request was successful
335
- * @throws ApiError
336
- */
337
- static wiringlistCountWithDeleted(where?: string): CancelablePromise<{
338
- count?: number;
339
- }>;
340
- }
@@ -1,151 +0,0 @@
1
- import type { WorkflowDetails } from '../models/WorkflowDetails';
2
- import type { x_any } from '../models/x_any';
3
- import type { CancelablePromise } from '../core/CancelablePromise';
4
- export declare class WorkflowDetailsService {
5
- /**
6
- * Create a new instance of the model and persist it into the data source.
7
- * @param data Model instance data
8
- * @returns WorkflowDetails Request was successful
9
- * @throws ApiError
10
- */
11
- static workflowDetailsCreate(data?: WorkflowDetails): CancelablePromise<WorkflowDetails>;
12
- /**
13
- * Patch an existing model instance or insert a new one into the data source.
14
- * @param data Model instance data
15
- * @returns WorkflowDetails Request was successful
16
- * @throws ApiError
17
- */
18
- static workflowDetailsPatchOrCreate(data?: WorkflowDetails): CancelablePromise<WorkflowDetails>;
19
- /**
20
- * Replace an existing model instance or insert a new one into the data source.
21
- * @param data Model instance data
22
- * @returns WorkflowDetails Request was successful
23
- * @throws ApiError
24
- */
25
- static workflowDetailsReplaceOrCreatePutWorkflowDetails(data?: WorkflowDetails): CancelablePromise<WorkflowDetails>;
26
- /**
27
- * Find all instances of the model matched by filter from the data source.
28
- * @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.
29
- * @returns WorkflowDetails Request was successful
30
- * @throws ApiError
31
- */
32
- static workflowDetailsFind(filter?: string): CancelablePromise<Array<WorkflowDetails>>;
33
- /**
34
- * Replace an existing model instance or insert a new one into the data source.
35
- * @param data Model instance data
36
- * @returns WorkflowDetails Request was successful
37
- * @throws ApiError
38
- */
39
- static workflowDetailsReplaceOrCreatePostWorkflowDetailsReplaceOrCreate(data?: WorkflowDetails): CancelablePromise<WorkflowDetails>;
40
- /**
41
- * Update an existing model instance or insert a new one into the data source based on the where criteria.
42
- * @param where Criteria to match model instances
43
- * @param data An object of model property name/value pairs
44
- * @returns WorkflowDetails Request was successful
45
- * @throws ApiError
46
- */
47
- static workflowDetailsUpsertWithWhere(where?: string, data?: WorkflowDetails): CancelablePromise<WorkflowDetails>;
48
- /**
49
- * Check whether a model instance exists in the data source.
50
- * @param id Model id
51
- * @returns any Request was successful
52
- * @throws ApiError
53
- */
54
- static workflowDetailsExistsGetWorkflowDetailsIdExists(id: string): CancelablePromise<{
55
- exists?: boolean;
56
- }>;
57
- /**
58
- * Check whether a model instance exists in the data source.
59
- * @param id Model id
60
- * @returns any Request was successful
61
- * @throws ApiError
62
- */
63
- static workflowDetailsExistsHeadWorkflowDetailsId(id: string): CancelablePromise<{
64
- exists?: boolean;
65
- }>;
66
- /**
67
- * Find a model instance by {{id}} from the data source.
68
- * @param id Model id
69
- * @param filter Filter defining fields and include - must be a JSON-encoded string ({"something":"value"})
70
- * @returns WorkflowDetails Request was successful
71
- * @throws ApiError
72
- */
73
- static workflowDetailsFindById(id: string, filter?: string): CancelablePromise<WorkflowDetails>;
74
- /**
75
- * Replace attributes for a model instance and persist it into the data source.
76
- * @param id Model id
77
- * @param data Model instance data
78
- * @returns WorkflowDetails Request was successful
79
- * @throws ApiError
80
- */
81
- static workflowDetailsReplaceByIdPutWorkflowDetailsId(id: string, data?: WorkflowDetails): CancelablePromise<WorkflowDetails>;
82
- /**
83
- * Delete a model instance by {{id}} from the data source.
84
- * @param id Model id
85
- * @returns any Request was successful
86
- * @throws ApiError
87
- */
88
- static workflowDetailsDeleteById(id: string): CancelablePromise<any>;
89
- /**
90
- * Patch attributes for a model instance and persist it into the data source.
91
- * @param id WorkflowDetails id
92
- * @param data An object of model property name/value pairs
93
- * @returns WorkflowDetails Request was successful
94
- * @throws ApiError
95
- */
96
- static workflowDetailsPrototypePatchAttributes(id: string, data?: WorkflowDetails): CancelablePromise<WorkflowDetails>;
97
- /**
98
- * Replace attributes for a model instance and persist it into the data source.
99
- * @param id Model id
100
- * @param data Model instance data
101
- * @returns WorkflowDetails Request was successful
102
- * @throws ApiError
103
- */
104
- static workflowDetailsReplaceByIdPostWorkflowDetailsIdReplace(id: string, data?: WorkflowDetails): CancelablePromise<WorkflowDetails>;
105
- /**
106
- * Find first instance of the model matched by filter from the data source.
107
- * @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.
108
- * @returns WorkflowDetails Request was successful
109
- * @throws ApiError
110
- */
111
- static workflowDetailsFindOne(filter?: string): CancelablePromise<WorkflowDetails>;
112
- /**
113
- * Update instances of the model matched by {{where}} from the data source.
114
- * @param where Criteria to match model instances
115
- * @param data An object of model property name/value pairs
116
- * @returns any Request was successful
117
- * @throws ApiError
118
- */
119
- static workflowDetailsUpdateAll(where?: string, data?: WorkflowDetails): CancelablePromise<{
120
- /**
121
- * The number of instances updated
122
- */
123
- count?: number;
124
- }>;
125
- /**
126
- * Count instances of the model matched by where from the data source.
127
- * @param where Criteria to match model instances
128
- * @returns any Request was successful
129
- * @throws ApiError
130
- */
131
- static workflowDetailsCount(where?: string): CancelablePromise<{
132
- count?: number;
133
- }>;
134
- /**
135
- * @param recordId
136
- * @param filter
137
- * @param timeZone
138
- * @returns x_any Request was successful
139
- * @throws ApiError
140
- */
141
- static workflowDetailsExportSessions(recordId: string, filter?: string, timeZone?: string): CancelablePromise<Array<x_any>>;
142
- /**
143
- * Count with deleted instances of the model matched by where from the data source.
144
- * @param where Criteria to match model instances
145
- * @returns any Request was successful
146
- * @throws ApiError
147
- */
148
- static workflowDetailsCountWithDeleted(where?: string): CancelablePromise<{
149
- count?: number;
150
- }>;
151
- }
@@ -1,173 +0,0 @@
1
- import type { Node } from '../models/Node';
2
- import type { UserModel } from '../models/UserModel';
3
- import type { Workflow } from '../models/Workflow';
4
- import type { WorkflowNote } from '../models/WorkflowNote';
5
- import type { CancelablePromise } from '../core/CancelablePromise';
6
- export declare class WorkflowNoteService {
7
- /**
8
- * Fetches belongsTo relation createdBy.
9
- * @param id WorkflowNote id
10
- * @param refresh
11
- * @returns UserModel Request was successful
12
- * @throws ApiError
13
- */
14
- static workflowNotePrototypeGetCreatedBy(id: string, refresh?: boolean): CancelablePromise<UserModel>;
15
- /**
16
- * Fetches belongsTo relation workflow.
17
- * @param id WorkflowNote id
18
- * @param refresh
19
- * @returns Workflow Request was successful
20
- * @throws ApiError
21
- */
22
- static workflowNotePrototypeGetWorkflow(id: string, refresh?: boolean): CancelablePromise<Workflow>;
23
- /**
24
- * Fetches belongsTo relation node.
25
- * @param id WorkflowNote id
26
- * @param refresh
27
- * @returns Node Request was successful
28
- * @throws ApiError
29
- */
30
- static workflowNotePrototypeGetNode(id: string, refresh?: boolean): CancelablePromise<Node>;
31
- /**
32
- * Fetches belongsTo relation user.
33
- * @param id WorkflowNote id
34
- * @param refresh
35
- * @returns UserModel Request was successful
36
- * @throws ApiError
37
- */
38
- static workflowNotePrototypeGetUser(id: string, refresh?: boolean): CancelablePromise<UserModel>;
39
- /**
40
- * Create a new instance of the model and persist it into the data source.
41
- * @param data Model instance data
42
- * @returns WorkflowNote Request was successful
43
- * @throws ApiError
44
- */
45
- static workflowNoteCreate(data?: WorkflowNote): CancelablePromise<WorkflowNote>;
46
- /**
47
- * Patch an existing model instance or insert a new one into the data source.
48
- * @param data Model instance data
49
- * @returns WorkflowNote Request was successful
50
- * @throws ApiError
51
- */
52
- static workflowNotePatchOrCreate(data?: WorkflowNote): CancelablePromise<WorkflowNote>;
53
- /**
54
- * Replace an existing model instance or insert a new one into the data source.
55
- * @param data Model instance data
56
- * @returns WorkflowNote Request was successful
57
- * @throws ApiError
58
- */
59
- static workflowNoteReplaceOrCreatePutWorkflowNotes(data?: WorkflowNote): CancelablePromise<WorkflowNote>;
60
- /**
61
- * Find all instances of the model matched by filter from the data source.
62
- * @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.
63
- * @returns WorkflowNote Request was successful
64
- * @throws ApiError
65
- */
66
- static workflowNoteFind(filter?: string): CancelablePromise<Array<WorkflowNote>>;
67
- /**
68
- * Replace an existing model instance or insert a new one into the data source.
69
- * @param data Model instance data
70
- * @returns WorkflowNote Request was successful
71
- * @throws ApiError
72
- */
73
- static workflowNoteReplaceOrCreatePostWorkflowNotesReplaceOrCreate(data?: WorkflowNote): CancelablePromise<WorkflowNote>;
74
- /**
75
- * Update an existing model instance or insert a new one into the data source based on the where criteria.
76
- * @param where Criteria to match model instances
77
- * @param data An object of model property name/value pairs
78
- * @returns WorkflowNote Request was successful
79
- * @throws ApiError
80
- */
81
- static workflowNoteUpsertWithWhere(where?: string, data?: WorkflowNote): CancelablePromise<WorkflowNote>;
82
- /**
83
- * Check whether a model instance exists in the data source.
84
- * @param id Model id
85
- * @returns any Request was successful
86
- * @throws ApiError
87
- */
88
- static workflowNoteExistsGetWorkflowNotesIdExists(id: string): CancelablePromise<{
89
- exists?: boolean;
90
- }>;
91
- /**
92
- * Check whether a model instance exists in the data source.
93
- * @param id Model id
94
- * @returns any Request was successful
95
- * @throws ApiError
96
- */
97
- static workflowNoteExistsHeadWorkflowNotesId(id: string): CancelablePromise<{
98
- exists?: boolean;
99
- }>;
100
- /**
101
- * Find a model instance by {{id}} from the data source.
102
- * @param id Model id
103
- * @param filter Filter defining fields and include - must be a JSON-encoded string ({"something":"value"})
104
- * @returns WorkflowNote Request was successful
105
- * @throws ApiError
106
- */
107
- static workflowNoteFindById(id: string, filter?: string): CancelablePromise<WorkflowNote>;
108
- /**
109
- * Replace attributes for a model instance and persist it into the data source.
110
- * @param id Model id
111
- * @param data Model instance data
112
- * @returns WorkflowNote Request was successful
113
- * @throws ApiError
114
- */
115
- static workflowNoteReplaceByIdPutWorkflowNotesId(id: string, data?: WorkflowNote): CancelablePromise<WorkflowNote>;
116
- /**
117
- * Delete a model instance by {{id}} from the data source.
118
- * @param id Model id
119
- * @returns any Request was successful
120
- * @throws ApiError
121
- */
122
- static workflowNoteDeleteById(id: string): CancelablePromise<any>;
123
- /**
124
- * Patch attributes for a model instance and persist it into the data source.
125
- * @param id WorkflowNote id
126
- * @param data An object of model property name/value pairs
127
- * @returns WorkflowNote Request was successful
128
- * @throws ApiError
129
- */
130
- static workflowNotePrototypePatchAttributes(id: string, data?: WorkflowNote): CancelablePromise<WorkflowNote>;
131
- /**
132
- * Replace attributes for a model instance and persist it into the data source.
133
- * @param id Model id
134
- * @param data Model instance data
135
- * @returns WorkflowNote Request was successful
136
- * @throws ApiError
137
- */
138
- static workflowNoteReplaceByIdPostWorkflowNotesIdReplace(id: string, data?: WorkflowNote): CancelablePromise<WorkflowNote>;
139
- /**
140
- * Find first instance of the model matched by filter from the data source.
141
- * @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.
142
- * @returns WorkflowNote Request was successful
143
- * @throws ApiError
144
- */
145
- static workflowNoteFindOne(filter?: string): CancelablePromise<WorkflowNote>;
146
- /**
147
- * Update instances of the model matched by {{where}} from the data source.
148
- * @param where Criteria to match model instances
149
- * @param data An object of model property name/value pairs
150
- * @returns any Request was successful
151
- * @throws ApiError
152
- */
153
- static workflowNoteUpdateAll(where?: string, data?: WorkflowNote): CancelablePromise<{
154
- /**
155
- * The number of instances updated
156
- */
157
- count?: number;
158
- }>;
159
- /**
160
- * Count instances of the model matched by where from the data source.
161
- * @param where Criteria to match model instances
162
- * @returns any Request was successful
163
- * @throws ApiError
164
- */
165
- static workflowNoteCount(where?: string): CancelablePromise<{
166
- count?: number;
167
- }>;
168
- /**
169
- * @returns boolean Request was successful
170
- * @throws ApiError
171
- */
172
- static workflowNoteConvertToFormData(): CancelablePromise<boolean>;
173
- }