@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,276 +0,0 @@
1
- import type { Role } from '../models/Role';
2
- import type { RoleMapping } from '../models/RoleMapping';
3
- import type { UserModel } from '../models/UserModel';
4
- import type { CancelablePromise } from '../core/CancelablePromise';
5
- export declare class RoleService {
6
- /**
7
- * Find a related item by id for principals.
8
- * @param id Role id
9
- * @param fk Foreign key for principals
10
- * @returns RoleMapping Request was successful
11
- * @throws ApiError
12
- */
13
- static rolePrototypeFindByIdPrincipals(id: string, fk: string): CancelablePromise<RoleMapping>;
14
- /**
15
- * Delete a related item by id for principals.
16
- * @param id Role id
17
- * @param fk Foreign key for principals
18
- * @returns void
19
- * @throws ApiError
20
- */
21
- static rolePrototypeDestroyByIdPrincipals(id: string, fk: string): CancelablePromise<void>;
22
- /**
23
- * Update a related item by id for principals.
24
- * @param id Role id
25
- * @param fk Foreign key for principals
26
- * @param data
27
- * @returns RoleMapping Request was successful
28
- * @throws ApiError
29
- */
30
- static rolePrototypeUpdateByIdPrincipals(id: string, fk: string, data?: RoleMapping): CancelablePromise<RoleMapping>;
31
- /**
32
- * Find a related item by id for userModels.
33
- * @param id Role id
34
- * @param fk Foreign key for userModels
35
- * @returns UserModel Request was successful
36
- * @throws ApiError
37
- */
38
- static rolePrototypeFindByIdUserModels(id: string, fk: string): CancelablePromise<UserModel>;
39
- /**
40
- * Delete a related item by id for userModels.
41
- * @param id Role id
42
- * @param fk Foreign key for userModels
43
- * @returns void
44
- * @throws ApiError
45
- */
46
- static rolePrototypeDestroyByIdUserModels(id: string, fk: string): CancelablePromise<void>;
47
- /**
48
- * Update a related item by id for userModels.
49
- * @param id Role id
50
- * @param fk Foreign key for userModels
51
- * @param data
52
- * @returns UserModel Request was successful
53
- * @throws ApiError
54
- */
55
- static rolePrototypeUpdateByIdUserModels(id: string, fk: string, data?: UserModel): CancelablePromise<UserModel>;
56
- /**
57
- * Add a related item by id for userModels.
58
- * @param id Role id
59
- * @param fk Foreign key for userModels
60
- * @param data
61
- * @returns RoleMapping Request was successful
62
- * @throws ApiError
63
- */
64
- static rolePrototypeLinkUserModels(id: string, fk: string, data?: RoleMapping): CancelablePromise<RoleMapping>;
65
- /**
66
- * Remove the userModels relation to an item by id.
67
- * @param id Role id
68
- * @param fk Foreign key for userModels
69
- * @returns void
70
- * @throws ApiError
71
- */
72
- static rolePrototypeUnlinkUserModels(id: string, fk: string): CancelablePromise<void>;
73
- /**
74
- * Check the existence of userModels relation to an item by id.
75
- * @param id Role id
76
- * @param fk Foreign key for userModels
77
- * @returns boolean Request was successful
78
- * @throws ApiError
79
- */
80
- static rolePrototypeExistsUserModels(id: string, fk: string): CancelablePromise<boolean>;
81
- /**
82
- * Queries principals of Role.
83
- * @param id Role id
84
- * @param filter
85
- * @returns RoleMapping Request was successful
86
- * @throws ApiError
87
- */
88
- static rolePrototypeGetPrincipals(id: string, filter?: string): CancelablePromise<Array<RoleMapping>>;
89
- /**
90
- * Creates a new instance in principals of this model.
91
- * @param id Role id
92
- * @param data
93
- * @returns RoleMapping Request was successful
94
- * @throws ApiError
95
- */
96
- static rolePrototypeCreatePrincipals(id: string, data?: RoleMapping): CancelablePromise<RoleMapping>;
97
- /**
98
- * Deletes all principals of this model.
99
- * @param id Role id
100
- * @returns void
101
- * @throws ApiError
102
- */
103
- static rolePrototypeDeletePrincipals(id: string): CancelablePromise<void>;
104
- /**
105
- * Counts principals of Role.
106
- * @param id Role id
107
- * @param where Criteria to match model instances
108
- * @returns any Request was successful
109
- * @throws ApiError
110
- */
111
- static rolePrototypeCountPrincipals(id: string, where?: string): CancelablePromise<{
112
- count?: number;
113
- }>;
114
- /**
115
- * Queries userModels of Role.
116
- * @param id Role id
117
- * @param filter
118
- * @returns UserModel Request was successful
119
- * @throws ApiError
120
- */
121
- static rolePrototypeGetUserModels(id: string, filter?: string): CancelablePromise<Array<UserModel>>;
122
- /**
123
- * Creates a new instance in userModels of this model.
124
- * @param id Role id
125
- * @param data
126
- * @returns UserModel Request was successful
127
- * @throws ApiError
128
- */
129
- static rolePrototypeCreateUserModels(id: string, data?: UserModel): CancelablePromise<UserModel>;
130
- /**
131
- * Deletes all userModels of this model.
132
- * @param id Role id
133
- * @returns void
134
- * @throws ApiError
135
- */
136
- static rolePrototypeDeleteUserModels(id: string): CancelablePromise<void>;
137
- /**
138
- * Counts userModels of Role.
139
- * @param id Role id
140
- * @param where Criteria to match model instances
141
- * @returns any Request was successful
142
- * @throws ApiError
143
- */
144
- static rolePrototypeCountUserModels(id: string, where?: string): CancelablePromise<{
145
- count?: number;
146
- }>;
147
- /**
148
- * Create a new instance of the model and persist it into the data source.
149
- * @param data Model instance data
150
- * @returns Role Request was successful
151
- * @throws ApiError
152
- */
153
- static roleCreate(data?: Role): CancelablePromise<Role>;
154
- /**
155
- * Patch an existing model instance or insert a new one into the data source.
156
- * @param data Model instance data
157
- * @returns Role Request was successful
158
- * @throws ApiError
159
- */
160
- static rolePatchOrCreate(data?: Role): CancelablePromise<Role>;
161
- /**
162
- * Replace an existing model instance or insert a new one into the data source.
163
- * @param data Model instance data
164
- * @returns Role Request was successful
165
- * @throws ApiError
166
- */
167
- static roleReplaceOrCreatePutRoles(data?: Role): CancelablePromise<Role>;
168
- /**
169
- * Find all instances of the model matched by filter from the data source.
170
- * @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.
171
- * @returns Role Request was successful
172
- * @throws ApiError
173
- */
174
- static roleFind(filter?: string): CancelablePromise<Array<Role>>;
175
- /**
176
- * Replace an existing model instance or insert a new one into the data source.
177
- * @param data Model instance data
178
- * @returns Role Request was successful
179
- * @throws ApiError
180
- */
181
- static roleReplaceOrCreatePostRolesReplaceOrCreate(data?: Role): CancelablePromise<Role>;
182
- /**
183
- * Update an existing model instance or insert a new one into the data source based on the where criteria.
184
- * @param where Criteria to match model instances
185
- * @param data An object of model property name/value pairs
186
- * @returns Role Request was successful
187
- * @throws ApiError
188
- */
189
- static roleUpsertWithWhere(where?: string, data?: Role): CancelablePromise<Role>;
190
- /**
191
- * Check whether a model instance exists in the data source.
192
- * @param id Model id
193
- * @returns any Request was successful
194
- * @throws ApiError
195
- */
196
- static roleExistsGetRolesIdExists(id: string): CancelablePromise<{
197
- exists?: boolean;
198
- }>;
199
- /**
200
- * Check whether a model instance exists in the data source.
201
- * @param id Model id
202
- * @returns any Request was successful
203
- * @throws ApiError
204
- */
205
- static roleExistsHeadRolesId(id: string): CancelablePromise<{
206
- exists?: boolean;
207
- }>;
208
- /**
209
- * Find a model instance by {{id}} from the data source.
210
- * @param id Model id
211
- * @param filter Filter defining fields and include - must be a JSON-encoded string ({"something":"value"})
212
- * @returns Role Request was successful
213
- * @throws ApiError
214
- */
215
- static roleFindById(id: string, filter?: string): CancelablePromise<Role>;
216
- /**
217
- * Replace attributes for a model instance and persist it into the data source.
218
- * @param id Model id
219
- * @param data Model instance data
220
- * @returns Role Request was successful
221
- * @throws ApiError
222
- */
223
- static roleReplaceByIdPutRolesId(id: string, data?: Role): CancelablePromise<Role>;
224
- /**
225
- * Delete a model instance by {{id}} from the data source.
226
- * @param id Model id
227
- * @returns any Request was successful
228
- * @throws ApiError
229
- */
230
- static roleDeleteById(id: string): CancelablePromise<any>;
231
- /**
232
- * Patch attributes for a model instance and persist it into the data source.
233
- * @param id Role id
234
- * @param data An object of model property name/value pairs
235
- * @returns Role Request was successful
236
- * @throws ApiError
237
- */
238
- static rolePrototypePatchAttributes(id: string, data?: Role): CancelablePromise<Role>;
239
- /**
240
- * Replace attributes for a model instance and persist it into the data source.
241
- * @param id Model id
242
- * @param data Model instance data
243
- * @returns Role Request was successful
244
- * @throws ApiError
245
- */
246
- static roleReplaceByIdPostRolesIdReplace(id: string, data?: Role): CancelablePromise<Role>;
247
- /**
248
- * Find first instance of the model matched by filter from the data source.
249
- * @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.
250
- * @returns Role Request was successful
251
- * @throws ApiError
252
- */
253
- static roleFindOne(filter?: string): CancelablePromise<Role>;
254
- /**
255
- * Update instances of the model matched by {{where}} from the data source.
256
- * @param where Criteria to match model instances
257
- * @param data An object of model property name/value pairs
258
- * @returns any Request was successful
259
- * @throws ApiError
260
- */
261
- static roleUpdateAll(where?: string, data?: Role): CancelablePromise<{
262
- /**
263
- * The number of instances updated
264
- */
265
- count?: number;
266
- }>;
267
- /**
268
- * Count instances of the model matched by where from the data source.
269
- * @param where Criteria to match model instances
270
- * @returns any Request was successful
271
- * @throws ApiError
272
- */
273
- static roleCount(where?: string): CancelablePromise<{
274
- count?: number;
275
- }>;
276
- }
@@ -1,217 +0,0 @@
1
- import type { Rule } from '../models/Rule';
2
- import type { UserModel } from '../models/UserModel';
3
- import type { x_any } from '../models/x_any';
4
- import type { CancelablePromise } from '../core/CancelablePromise';
5
- export declare class RuleService {
6
- /**
7
- * Fetches belongsTo relation user.
8
- * @param id Rule id
9
- * @param refresh
10
- * @returns UserModel Request was successful
11
- * @throws ApiError
12
- */
13
- static rulePrototypeGetUser(id: string, refresh?: boolean): CancelablePromise<UserModel>;
14
- /**
15
- * Create a new instance of the model and persist it into the data source.
16
- * @param data Model instance data
17
- * @returns Rule Request was successful
18
- * @throws ApiError
19
- */
20
- static ruleCreate(data?: Rule): CancelablePromise<Rule>;
21
- /**
22
- * Patch an existing model instance or insert a new one into the data source.
23
- * @param data Model instance data
24
- * @returns Rule Request was successful
25
- * @throws ApiError
26
- */
27
- static rulePatchOrCreate(data?: Rule): CancelablePromise<Rule>;
28
- /**
29
- * Replace an existing model instance or insert a new one into the data source.
30
- * @param data Model instance data
31
- * @returns Rule Request was successful
32
- * @throws ApiError
33
- */
34
- static ruleReplaceOrCreatePutRules(data?: Rule): CancelablePromise<Rule>;
35
- /**
36
- * Find all instances of the model matched by filter from the data source.
37
- * @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.
38
- * @returns Rule Request was successful
39
- * @throws ApiError
40
- */
41
- static ruleFind(filter?: string): CancelablePromise<Array<Rule>>;
42
- /**
43
- * Replace an existing model instance or insert a new one into the data source.
44
- * @param data Model instance data
45
- * @returns Rule Request was successful
46
- * @throws ApiError
47
- */
48
- static ruleReplaceOrCreatePostRulesReplaceOrCreate(data?: Rule): CancelablePromise<Rule>;
49
- /**
50
- * Update an existing model instance or insert a new one into the data source based on the where criteria.
51
- * @param where Criteria to match model instances
52
- * @param data An object of model property name/value pairs
53
- * @returns Rule Request was successful
54
- * @throws ApiError
55
- */
56
- static ruleUpsertWithWhere(where?: string, data?: Rule): CancelablePromise<Rule>;
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 ruleExistsGetRulesIdExists(id: string): CancelablePromise<{
64
- exists?: boolean;
65
- }>;
66
- /**
67
- * Check whether a model instance exists in the data source.
68
- * @param id Model id
69
- * @returns any Request was successful
70
- * @throws ApiError
71
- */
72
- static ruleExistsHeadRulesId(id: string): CancelablePromise<{
73
- exists?: boolean;
74
- }>;
75
- /**
76
- * Find a model instance by {{id}} from the data source.
77
- * @param id Model id
78
- * @param filter Filter defining fields and include - must be a JSON-encoded string ({"something":"value"})
79
- * @returns Rule Request was successful
80
- * @throws ApiError
81
- */
82
- static ruleFindById(id: string, filter?: string): CancelablePromise<Rule>;
83
- /**
84
- * Replace attributes for a model instance and persist it into the data source.
85
- * @param id Model id
86
- * @param data Model instance data
87
- * @returns Rule Request was successful
88
- * @throws ApiError
89
- */
90
- static ruleReplaceByIdPutRulesId(id: string, data?: Rule): CancelablePromise<Rule>;
91
- /**
92
- * Delete a model instance by {{id}} from the data source.
93
- * @param id Model id
94
- * @returns any Request was successful
95
- * @throws ApiError
96
- */
97
- static ruleDeleteById(id: string): CancelablePromise<any>;
98
- /**
99
- * Patch attributes for a model instance and persist it into the data source.
100
- * @param id Rule id
101
- * @param data An object of model property name/value pairs
102
- * @returns Rule Request was successful
103
- * @throws ApiError
104
- */
105
- static rulePrototypePatchAttributes(id: string, data?: Rule): CancelablePromise<Rule>;
106
- /**
107
- * Replace attributes for a model instance and persist it into the data source.
108
- * @param id Model id
109
- * @param data Model instance data
110
- * @returns Rule Request was successful
111
- * @throws ApiError
112
- */
113
- static ruleReplaceByIdPostRulesIdReplace(id: string, data?: Rule): CancelablePromise<Rule>;
114
- /**
115
- * Find first instance of the model matched by filter from the data source.
116
- * @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.
117
- * @returns Rule Request was successful
118
- * @throws ApiError
119
- */
120
- static ruleFindOne(filter?: string): CancelablePromise<Rule>;
121
- /**
122
- * Update instances of the model matched by {{where}} from the data source.
123
- * @param where Criteria to match model instances
124
- * @param data An object of model property name/value pairs
125
- * @returns any Request was successful
126
- * @throws ApiError
127
- */
128
- static ruleUpdateAll(where?: string, data?: Rule): CancelablePromise<{
129
- /**
130
- * The number of instances updated
131
- */
132
- count?: number;
133
- }>;
134
- /**
135
- * Count instances of the model matched by where from the data source.
136
- * @param where Criteria to match model instances
137
- * @returns any Request was successful
138
- * @throws ApiError
139
- */
140
- static ruleCount(where?: string): CancelablePromise<{
141
- count?: number;
142
- }>;
143
- /**
144
- * @param id
145
- * @returns any Request was successful
146
- * @throws ApiError
147
- */
148
- static ruleCopyRole(id?: string): CancelablePromise<{
149
- result?: Array<any>;
150
- }>;
151
- /**
152
- * @param obj
153
- * @returns any Request was successful
154
- * @throws ApiError
155
- */
156
- static ruleDuplicateRole(obj?: string): CancelablePromise<{
157
- result?: Array<any>;
158
- }>;
159
- /**
160
- * @param roleId
161
- * @returns x_any Request was successful
162
- * @throws ApiError
163
- */
164
- static ruleGetAllRelatedUsers(roleId?: string): CancelablePromise<Array<x_any>>;
165
- /**
166
- * @param obj
167
- * @returns any Request was successful
168
- * @throws ApiError
169
- */
170
- static ruleDeleteRole(obj?: string): CancelablePromise<{
171
- result?: Array<any>;
172
- }>;
173
- /**
174
- * @returns any Request was successful
175
- * @throws ApiError
176
- */
177
- static ruleGetAllModels(): CancelablePromise<{
178
- result?: Array<any>;
179
- }>;
180
- /**
181
- * @param roleName
182
- * @returns any Request was successful
183
- * @throws ApiError
184
- */
185
- static ruleGetModelProperty(roleName?: string): CancelablePromise<{
186
- result?: Array<any>;
187
- }>;
188
- /**
189
- * @param principalId
190
- * @param acls
191
- * @returns any Request was successful
192
- * @throws ApiError
193
- */
194
- static ruleImportAcl(principalId?: string, acls?: string): CancelablePromise<{
195
- result?: string;
196
- }>;
197
- /**
198
- * @param name
199
- * @param acls
200
- * @param state
201
- * @param stateParams
202
- * @param disableUse
203
- * @returns any Request was successful
204
- * @throws ApiError
205
- */
206
- static ruleAddNewRole(name?: string, acls?: string, state?: string, stateParams?: string, disableUse?: boolean): CancelablePromise<{
207
- result?: string;
208
- }>;
209
- /**
210
- * @param data
211
- * @returns any Request was successful
212
- * @throws ApiError
213
- */
214
- static ruleGetMetabaseSignedIframe(data?: string): CancelablePromise<{
215
- result?: string;
216
- }>;
217
- }
@@ -1,18 +0,0 @@
1
- import type { ScromSession } from '../models/ScromSession';
2
- import type { CancelablePromise } from '../core/CancelablePromise';
3
- export declare class ScromSessionService {
4
- /**
5
- * Create a new instance of the model and persist it into the data source.
6
- * @param data Model instance data
7
- * @returns ScromSession Request was successful
8
- * @throws ApiError
9
- */
10
- static scromSessionCreate(data?: ScromSession): CancelablePromise<ScromSession>;
11
- /**
12
- * Find all instances of the model matched by filter from the data source.
13
- * @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.
14
- * @returns ScromSession Request was successful
15
- * @throws ApiError
16
- */
17
- static scromSessionFind(filter?: string): CancelablePromise<Array<ScromSession>>;
18
- }
@@ -1,147 +0,0 @@
1
- import type { x_any } from '../models/x_any';
2
- import type { CancelablePromise } from '../core/CancelablePromise';
3
- export declare class SettingService {
4
- /**
5
- * @param modelName
6
- * @param filter
7
- * @returns any Request was successful
8
- * @throws ApiError
9
- */
10
- static settingGetDataForModel(modelName?: string, filter?: string): CancelablePromise<{
11
- result?: Array<any>;
12
- }>;
13
- /**
14
- * @returns any Request was successful
15
- * @throws ApiError
16
- */
17
- static settingGetUsersStats(): CancelablePromise<any>;
18
- /**
19
- * Import models
20
- * @returns any Request was successful
21
- * @throws ApiError
22
- */
23
- static settingImportModelsFile(): CancelablePromise<any>;
24
- /**
25
- * @param models
26
- * @param includeLogoAndBg
27
- * @returns binary Request was successful
28
- * @throws ApiError
29
- */
30
- static settingExportModels(models?: string, includeLogoAndBg?: boolean): CancelablePromise<Blob>;
31
- /**
32
- * @param operation
33
- * @param data
34
- * @returns any Request was successful
35
- * @throws ApiError
36
- */
37
- static settingTestOperation(operation: string, data?: string): CancelablePromise<any>;
38
- /**
39
- * @param settings
40
- * @returns any Request was successful
41
- * @throws ApiError
42
- */
43
- static settingUpdateSystemSettings(settings?: string): CancelablePromise<{
44
- result?: any;
45
- }>;
46
- /**
47
- * @returns any Request was successful
48
- * @throws ApiError
49
- */
50
- static settingGetSystemInfo(): CancelablePromise<{
51
- result?: Array<any>;
52
- }>;
53
- /**
54
- * @returns any Request was successful
55
- * @throws ApiError
56
- */
57
- static settingRefreshInternalSettings(): CancelablePromise<any>;
58
- /**
59
- * @returns any Request was successful
60
- * @throws ApiError
61
- */
62
- static settingFindDatabaseIssues(): CancelablePromise<any>;
63
- /**
64
- * @param to
65
- * @param smtpSettings
66
- * @returns any Request was successful
67
- * @throws ApiError
68
- */
69
- static settingSendTestEmail(to?: string, smtpSettings?: string): CancelablePromise<{
70
- result?: any;
71
- }>;
72
- /**
73
- * @param encodeString
74
- * @returns any Request was successful
75
- * @throws ApiError
76
- */
77
- static settingDecodeSerial(encodeString?: string): CancelablePromise<any>;
78
- /**
79
- * @param settingNames
80
- * @returns any Request was successful
81
- * @throws ApiError
82
- */
83
- static settingPublicSettings(settingNames?: string): CancelablePromise<any>;
84
- /**
85
- * @param settingNames
86
- * @returns any Request was successful
87
- * @throws ApiError
88
- */
89
- static settingPrivateSettings(settingNames?: string): CancelablePromise<any>;
90
- /**
91
- * @param searchObj
92
- * @returns x_any Request was successful
93
- * @throws ApiError
94
- */
95
- static settingPotentialsSearch(searchObj?: string): CancelablePromise<Array<x_any>>;
96
- /**
97
- * @param searchObj
98
- * @returns any Request was successful
99
- * @throws ApiError
100
- */
101
- static settingReplaceStrings(searchObj?: string): CancelablePromise<any>;
102
- /**
103
- * @param ips
104
- * @returns any Request was successful
105
- * @throws ApiError
106
- */
107
- static settingPreCheckIpRestriction(ips?: string): CancelablePromise<any>;
108
- /**
109
- * @returns any Request was successful
110
- * @throws ApiError
111
- */
112
- static settingUpdateIpRestrictions(): CancelablePromise<any>;
113
- /**
114
- * @param integration
115
- * @param filter
116
- * @returns x_any Request was successful
117
- * @throws ApiError
118
- */
119
- static settingGetIntegrationList(integration: string, filter?: string): CancelablePromise<Array<x_any>>;
120
- /**
121
- * @param integration
122
- * @param transactionId
123
- * @returns any Request was successful
124
- * @throws ApiError
125
- */
126
- static settingGetIntegrationTransaction(integration: string, transactionId: string): CancelablePromise<any>;
127
- /**
128
- * @param integration
129
- * @param where
130
- * @returns x_any Request was successful
131
- * @throws ApiError
132
- */
133
- static settingGetIntegrationCount(integration: string, where?: string): CancelablePromise<x_any>;
134
- /**
135
- * @param integration
136
- * @param data
137
- * @returns any Request was successful
138
- * @throws ApiError
139
- */
140
- static settingIntegrationRetry(integration?: string, data?: string): CancelablePromise<any>;
141
- /**
142
- * @param receiveData
143
- * @returns x_any Request was successful
144
- * @throws ApiError
145
- */
146
- static settingGetAvailableIntegrations(receiveData?: boolean): CancelablePromise<Array<x_any>>;
147
- }