@nextplus/js-sdk 0.0.1

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 (220) hide show
  1. package/LICENSE +19 -0
  2. package/dist/core/ApiError.d.ts +10 -0
  3. package/dist/core/ApiRequestOptions.d.ts +13 -0
  4. package/dist/core/ApiResult.d.ts +7 -0
  5. package/dist/core/CancelablePromise.d.ts +20 -0
  6. package/dist/core/OpenAPI.d.ts +16 -0
  7. package/dist/core/request.d.ts +30 -0
  8. package/dist/index.d.mts +15467 -0
  9. package/dist/index.d.ts +209 -0
  10. package/dist/index.js +27719 -0
  11. package/dist/index.js.map +1 -0
  12. package/dist/index.mjs +27586 -0
  13. package/dist/index.mjs.map +1 -0
  14. package/dist/models/ACL.d.ts +19 -0
  15. package/dist/models/AIPrompt.d.ts +13 -0
  16. package/dist/models/AccessToken.d.ts +12 -0
  17. package/dist/models/ApiMethod.d.ts +13 -0
  18. package/dist/models/ApiMethodLog.d.ts +14 -0
  19. package/dist/models/BreakType.d.ts +10 -0
  20. package/dist/models/Catalog.d.ts +16 -0
  21. package/dist/models/Category.d.ts +10 -0
  22. package/dist/models/Certificate.d.ts +12 -0
  23. package/dist/models/CertificateMapping.d.ts +11 -0
  24. package/dist/models/Chapter.d.ts +6 -0
  25. package/dist/models/Comment.d.ts +13 -0
  26. package/dist/models/Configuration.d.ts +16 -0
  27. package/dist/models/Connection.d.ts +10 -0
  28. package/dist/models/Connector.d.ts +9 -0
  29. package/dist/models/ConnectorFunction.d.ts +13 -0
  30. package/dist/models/ContentPackage.d.ts +24 -0
  31. package/dist/models/ContentPackageSession.d.ts +12 -0
  32. package/dist/models/ContentPackageView.d.ts +11 -0
  33. package/dist/models/CustomField.d.ts +18 -0
  34. package/dist/models/Device.d.ts +10 -0
  35. package/dist/models/DeviceFamily.d.ts +12 -0
  36. package/dist/models/Document.d.ts +24 -0
  37. package/dist/models/Event.d.ts +15 -0
  38. package/dist/models/Field.d.ts +33 -0
  39. package/dist/models/FileParser.d.ts +15 -0
  40. package/dist/models/FileParserJob.d.ts +12 -0
  41. package/dist/models/FileParserStrategyJob.d.ts +15 -0
  42. package/dist/models/Folder.d.ts +9 -0
  43. package/dist/models/Form.d.ts +35 -0
  44. package/dist/models/FormData.d.ts +55 -0
  45. package/dist/models/FormDataComment.d.ts +13 -0
  46. package/dist/models/Forum.d.ts +12 -0
  47. package/dist/models/Gateway.d.ts +17 -0
  48. package/dist/models/Group.d.ts +8 -0
  49. package/dist/models/InventoryTransaction.d.ts +19 -0
  50. package/dist/models/Kit.d.ts +17 -0
  51. package/dist/models/List.d.ts +10 -0
  52. package/dist/models/ListItem.d.ts +13 -0
  53. package/dist/models/Location.d.ts +13 -0
  54. package/dist/models/Menus.d.ts +10 -0
  55. package/dist/models/NPS.d.ts +16 -0
  56. package/dist/models/Node.d.ts +32 -0
  57. package/dist/models/ObjectID.d.ts +1 -0
  58. package/dist/models/OpcUaServer.d.ts +15 -0
  59. package/dist/models/Operation.d.ts +15 -0
  60. package/dist/models/Pages.d.ts +11 -0
  61. package/dist/models/Part.d.ts +10 -0
  62. package/dist/models/PartAssembly.d.ts +55 -0
  63. package/dist/models/PartAssemblyDocument.d.ts +9 -0
  64. package/dist/models/Post.d.ts +16 -0
  65. package/dist/models/PrintPreset.d.ts +26 -0
  66. package/dist/models/PriorityLabel.d.ts +12 -0
  67. package/dist/models/ProductionEntity.d.ts +18 -0
  68. package/dist/models/ProductionEntityEvent.d.ts +21 -0
  69. package/dist/models/ProductionEntityMapping.d.ts +16 -0
  70. package/dist/models/ProductionEntityTransaction.d.ts +19 -0
  71. package/dist/models/ProductionEntityType.d.ts +10 -0
  72. package/dist/models/Project.d.ts +10 -0
  73. package/dist/models/Resource.d.ts +26 -0
  74. package/dist/models/ResourceMapping.d.ts +9 -0
  75. package/dist/models/Revision.d.ts +8 -0
  76. package/dist/models/Role.d.ts +8 -0
  77. package/dist/models/RoleMapping.d.ts +17 -0
  78. package/dist/models/Rule.d.ts +11 -0
  79. package/dist/models/ScromSession.d.ts +11 -0
  80. package/dist/models/Shift.d.ts +26 -0
  81. package/dist/models/ShiftType.d.ts +28 -0
  82. package/dist/models/Station.d.ts +11 -0
  83. package/dist/models/Stock.d.ts +56 -0
  84. package/dist/models/StockItem.d.ts +7 -0
  85. package/dist/models/SyncClients.d.ts +12 -0
  86. package/dist/models/SyncHistory.d.ts +12 -0
  87. package/dist/models/Table.d.ts +11 -0
  88. package/dist/models/TableSetup.d.ts +18 -0
  89. package/dist/models/TimeLog.d.ts +7 -0
  90. package/dist/models/TimeLogReport.d.ts +29 -0
  91. package/dist/models/Timeline.d.ts +17 -0
  92. package/dist/models/Tool.d.ts +18 -0
  93. package/dist/models/Translation.d.ts +12 -0
  94. package/dist/models/Unit.d.ts +11 -0
  95. package/dist/models/UpdateInfo.d.ts +9 -0
  96. package/dist/models/UserModel.d.ts +70 -0
  97. package/dist/models/UserPreferences.d.ts +6 -0
  98. package/dist/models/Variant.d.ts +13 -0
  99. package/dist/models/VoteMapping.d.ts +12 -0
  100. package/dist/models/Warehouse.d.ts +9 -0
  101. package/dist/models/Webhook.d.ts +15 -0
  102. package/dist/models/Wire.d.ts +12 -0
  103. package/dist/models/Wiringlist.d.ts +15 -0
  104. package/dist/models/Workflow.d.ts +54 -0
  105. package/dist/models/WorkflowDetails.d.ts +9 -0
  106. package/dist/models/WorkflowNote.d.ts +18 -0
  107. package/dist/models/WorkflowSessionItem.d.ts +56 -0
  108. package/dist/models/WorkflowType.d.ts +17 -0
  109. package/dist/models/Workorder.d.ts +94 -0
  110. package/dist/models/WorkorderAction.d.ts +8 -0
  111. package/dist/models/WorkorderStatus.d.ts +22 -0
  112. package/dist/models/WorkorderTemplate.d.ts +23 -0
  113. package/dist/models/meta.d.ts +5 -0
  114. package/dist/models/x_any.d.ts +1 -0
  115. package/dist/services/AclService.d.ts +133 -0
  116. package/dist/services/AiPromptService.d.ts +133 -0
  117. package/dist/services/AiService.d.ts +12 -0
  118. package/dist/services/ApiMethodLogService.d.ts +133 -0
  119. package/dist/services/ApiMethodService.d.ts +140 -0
  120. package/dist/services/BomService.d.ts +18 -0
  121. package/dist/services/BreakService.d.ts +19 -0
  122. package/dist/services/BreakTypeService.d.ts +42 -0
  123. package/dist/services/CatalogService.d.ts +267 -0
  124. package/dist/services/CategoryService.d.ts +74 -0
  125. package/dist/services/CertificateMappingService.d.ts +60 -0
  126. package/dist/services/CertificateService.d.ts +74 -0
  127. package/dist/services/ChapterService.d.ts +34 -0
  128. package/dist/services/CommentService.d.ts +58 -0
  129. package/dist/services/ConfigurationService.d.ts +49 -0
  130. package/dist/services/ConnectionService.d.ts +20 -0
  131. package/dist/services/ConnectorFunctionService.d.ts +149 -0
  132. package/dist/services/ConnectorService.d.ts +201 -0
  133. package/dist/services/ContainerService.d.ts +66 -0
  134. package/dist/services/ContentPackageService.d.ts +115 -0
  135. package/dist/services/ContentPackageSessionService.d.ts +28 -0
  136. package/dist/services/ContentPackageViewService.d.ts +165 -0
  137. package/dist/services/CustomFieldService.d.ts +57 -0
  138. package/dist/services/DeviceFamilyService.d.ts +64 -0
  139. package/dist/services/DeviceService.d.ts +21 -0
  140. package/dist/services/DigestEmailService.d.ts +8 -0
  141. package/dist/services/DocumentService.d.ts +103 -0
  142. package/dist/services/EventService.d.ts +20 -0
  143. package/dist/services/FieldService.d.ts +86 -0
  144. package/dist/services/FileParserJobService.d.ts +49 -0
  145. package/dist/services/FileParserService.d.ts +78 -0
  146. package/dist/services/FileParserStrategyJobService.d.ts +49 -0
  147. package/dist/services/FolderService.d.ts +50 -0
  148. package/dist/services/FormDataCommentService.d.ts +159 -0
  149. package/dist/services/FormDataService.d.ts +242 -0
  150. package/dist/services/FormService.d.ts +82 -0
  151. package/dist/services/ForumService.d.ts +49 -0
  152. package/dist/services/GatewayService.d.ts +59 -0
  153. package/dist/services/GroupService.d.ts +50 -0
  154. package/dist/services/IntegrationBuilderService.d.ts +23 -0
  155. package/dist/services/InventoryTransactionService.d.ts +151 -0
  156. package/dist/services/LastSeenResourceService.d.ts +16 -0
  157. package/dist/services/ListItemService.d.ts +96 -0
  158. package/dist/services/ListService.d.ts +73 -0
  159. package/dist/services/LocationService.d.ts +80 -0
  160. package/dist/services/MenusService.d.ts +180 -0
  161. package/dist/services/NodeService.d.ts +383 -0
  162. package/dist/services/NpsService.d.ts +56 -0
  163. package/dist/services/OpcUaServerService.d.ts +182 -0
  164. package/dist/services/OperationService.d.ts +60 -0
  165. package/dist/services/PagesService.d.ts +151 -0
  166. package/dist/services/PartAssemblyDocumentService.d.ts +12 -0
  167. package/dist/services/PartAssemblyService.d.ts +400 -0
  168. package/dist/services/PartService.d.ts +133 -0
  169. package/dist/services/PostService.d.ts +56 -0
  170. package/dist/services/PrintPresetService.d.ts +155 -0
  171. package/dist/services/PriorityLabelService.d.ts +45 -0
  172. package/dist/services/PriorityService.d.ts +51 -0
  173. package/dist/services/ProductionEntityEventService.d.ts +169 -0
  174. package/dist/services/ProductionEntityMappingService.d.ts +142 -0
  175. package/dist/services/ProductionEntityService.d.ts +207 -0
  176. package/dist/services/ProductionEntityTransactionService.d.ts +142 -0
  177. package/dist/services/ProductionEntityTypeService.d.ts +151 -0
  178. package/dist/services/ProjectService.d.ts +142 -0
  179. package/dist/services/PythonResultService.d.ts +15 -0
  180. package/dist/services/ResourceMappingService.d.ts +133 -0
  181. package/dist/services/ResourceService.d.ts +264 -0
  182. package/dist/services/RevisionService.d.ts +62 -0
  183. package/dist/services/RoleMappingService.d.ts +151 -0
  184. package/dist/services/RoleService.d.ts +276 -0
  185. package/dist/services/RuleService.d.ts +217 -0
  186. package/dist/services/ScromSessionService.d.ts +18 -0
  187. package/dist/services/SettingService.d.ts +147 -0
  188. package/dist/services/ShiftService.d.ts +181 -0
  189. package/dist/services/ShiftTypeService.d.ts +142 -0
  190. package/dist/services/StationService.d.ts +50 -0
  191. package/dist/services/StockService.d.ts +766 -0
  192. package/dist/services/SyncClientsService.d.ts +142 -0
  193. package/dist/services/SyncHistoryService.d.ts +142 -0
  194. package/dist/services/SyncService.d.ts +89 -0
  195. package/dist/services/TableService.d.ts +154 -0
  196. package/dist/services/TableSetupService.d.ts +40 -0
  197. package/dist/services/TimeLogReportService.d.ts +87 -0
  198. package/dist/services/TimelineService.d.ts +73 -0
  199. package/dist/services/ToolService.d.ts +73 -0
  200. package/dist/services/TranslationService.d.ts +172 -0
  201. package/dist/services/UnitService.d.ts +182 -0
  202. package/dist/services/UpdateInfoService.d.ts +24 -0
  203. package/dist/services/UserModelService.d.ts +245 -0
  204. package/dist/services/VariantService.d.ts +42 -0
  205. package/dist/services/VoteMappingService.d.ts +19 -0
  206. package/dist/services/WarehouseService.d.ts +19 -0
  207. package/dist/services/WebhookService.d.ts +58 -0
  208. package/dist/services/WireService.d.ts +151 -0
  209. package/dist/services/WiringlistService.d.ts +340 -0
  210. package/dist/services/WorkflowDetailsService.d.ts +151 -0
  211. package/dist/services/WorkflowNoteService.d.ts +173 -0
  212. package/dist/services/WorkflowService.d.ts +976 -0
  213. package/dist/services/WorkflowSessionItemRecordService.d.ts +19 -0
  214. package/dist/services/WorkflowSessionItemService.d.ts +205 -0
  215. package/dist/services/WorkflowTypeService.d.ts +49 -0
  216. package/dist/services/WorkorderService.d.ts +1138 -0
  217. package/dist/services/WorkorderStatusService.d.ts +78 -0
  218. package/dist/services/WorkorderTemplateService.d.ts +49 -0
  219. package/package.json +84 -0
  220. package/tsconfig.build.json +14 -0
@@ -0,0 +1,267 @@
1
+ import type { Catalog } from '../models/Catalog';
2
+ import type { Group } from '../models/Group';
3
+ import type { PartAssembly } from '../models/PartAssembly';
4
+ import type { x_any } from '../models/x_any';
5
+ import type { CancelablePromise } from '../core/CancelablePromise';
6
+ export declare class CatalogService {
7
+ /**
8
+ * Fetches belongsTo relation assembly.
9
+ * @param id Catalog id
10
+ * @param refresh
11
+ * @returns PartAssembly Request was successful
12
+ * @throws ApiError
13
+ */
14
+ static catalogPrototypeGetAssembly(id: string, refresh?: boolean): CancelablePromise<PartAssembly>;
15
+ /**
16
+ * Find a related item by id for groupModel.
17
+ * @param id Catalog id
18
+ * @param fk Foreign key for groupModel
19
+ * @returns Group Request was successful
20
+ * @throws ApiError
21
+ */
22
+ static catalogPrototypeFindByIdGroupModel(id: string, fk: string): CancelablePromise<Group>;
23
+ /**
24
+ * Delete a related item by id for groupModel.
25
+ * @param id Catalog id
26
+ * @param fk Foreign key for groupModel
27
+ * @returns void
28
+ * @throws ApiError
29
+ */
30
+ static catalogPrototypeDestroyByIdGroupModel(id: string, fk: string): CancelablePromise<void>;
31
+ /**
32
+ * Update a related item by id for groupModel.
33
+ * @param id Catalog id
34
+ * @param fk Foreign key for groupModel
35
+ * @param data
36
+ * @returns Group Request was successful
37
+ * @throws ApiError
38
+ */
39
+ static catalogPrototypeUpdateByIdGroupModel(id: string, fk: string, data?: Group): CancelablePromise<Group>;
40
+ /**
41
+ * Add a related item by id for groupModel.
42
+ * @param id Catalog id
43
+ * @param fk Foreign key for groupModel
44
+ * @returns Group Request was successful
45
+ * @throws ApiError
46
+ */
47
+ static catalogPrototypeLinkGroupModel(id: string, fk: string): CancelablePromise<Group>;
48
+ /**
49
+ * Remove the groupModel relation to an item by id.
50
+ * @param id Catalog id
51
+ * @param fk Foreign key for groupModel
52
+ * @returns void
53
+ * @throws ApiError
54
+ */
55
+ static catalogPrototypeUnlinkGroupModel(id: string, fk: string): CancelablePromise<void>;
56
+ /**
57
+ * Check the existence of groupModel relation to an item by id.
58
+ * @param id Catalog id
59
+ * @param fk Foreign key for groupModel
60
+ * @returns boolean Request was successful
61
+ * @throws ApiError
62
+ */
63
+ static catalogPrototypeExistsGroupModel(id: string, fk: string): CancelablePromise<boolean>;
64
+ /**
65
+ * Queries groupModel of Catalog.
66
+ * @param id Catalog id
67
+ * @param filter
68
+ * @returns Group Request was successful
69
+ * @throws ApiError
70
+ */
71
+ static catalogPrototypeGetGroupModel(id: string, filter?: string): CancelablePromise<Array<Group>>;
72
+ /**
73
+ * Creates a new instance in groupModel of this model.
74
+ * @param id Catalog id
75
+ * @param data
76
+ * @returns Group Request was successful
77
+ * @throws ApiError
78
+ */
79
+ static catalogPrototypeCreateGroupModel(id: string, data?: Group): CancelablePromise<Group>;
80
+ /**
81
+ * Deletes all groupModel of this model.
82
+ * @param id Catalog id
83
+ * @returns void
84
+ * @throws ApiError
85
+ */
86
+ static catalogPrototypeDeleteGroupModel(id: string): CancelablePromise<void>;
87
+ /**
88
+ * Counts groupModel of Catalog.
89
+ * @param id Catalog id
90
+ * @param where Criteria to match model instances
91
+ * @returns any Request was successful
92
+ * @throws ApiError
93
+ */
94
+ static catalogPrototypeCountGroupModel(id: string, where?: string): CancelablePromise<{
95
+ count?: number;
96
+ }>;
97
+ /**
98
+ * Create a new instance of the model and persist it into the data source.
99
+ * @param data Model instance data
100
+ * @returns Catalog Request was successful
101
+ * @throws ApiError
102
+ */
103
+ static catalogCreate(data?: Catalog): CancelablePromise<Catalog>;
104
+ /**
105
+ * Patch an existing model instance or insert a new one into the data source.
106
+ * @param data Model instance data
107
+ * @returns Catalog Request was successful
108
+ * @throws ApiError
109
+ */
110
+ static catalogPatchOrCreate(data?: Catalog): CancelablePromise<Catalog>;
111
+ /**
112
+ * Replace an existing model instance or insert a new one into the data source.
113
+ * @param data Model instance data
114
+ * @returns Catalog Request was successful
115
+ * @throws ApiError
116
+ */
117
+ static catalogReplaceOrCreatePutCatalogs(data?: Catalog): CancelablePromise<Catalog>;
118
+ /**
119
+ * Find all instances of the model matched by filter from the data source.
120
+ * @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.
121
+ * @returns Catalog Request was successful
122
+ * @throws ApiError
123
+ */
124
+ static catalogFind(filter?: string): CancelablePromise<Array<Catalog>>;
125
+ /**
126
+ * Replace an existing model instance or insert a new one into the data source.
127
+ * @param data Model instance data
128
+ * @returns Catalog Request was successful
129
+ * @throws ApiError
130
+ */
131
+ static catalogReplaceOrCreatePostCatalogsReplaceOrCreate(data?: Catalog): CancelablePromise<Catalog>;
132
+ /**
133
+ * Update an existing model instance or insert a new one into the data source based on the where criteria.
134
+ * @param where Criteria to match model instances
135
+ * @param data An object of model property name/value pairs
136
+ * @returns Catalog Request was successful
137
+ * @throws ApiError
138
+ */
139
+ static catalogUpsertWithWhere(where?: string, data?: Catalog): CancelablePromise<Catalog>;
140
+ /**
141
+ * Check whether a model instance exists in the data source.
142
+ * @param id Model id
143
+ * @returns any Request was successful
144
+ * @throws ApiError
145
+ */
146
+ static catalogExistsGetCatalogsIdExists(id: string): CancelablePromise<{
147
+ exists?: boolean;
148
+ }>;
149
+ /**
150
+ * Check whether a model instance exists in the data source.
151
+ * @param id Model id
152
+ * @returns any Request was successful
153
+ * @throws ApiError
154
+ */
155
+ static catalogExistsHeadCatalogsId(id: string): CancelablePromise<{
156
+ exists?: boolean;
157
+ }>;
158
+ /**
159
+ * Find a model instance by {{id}} from the data source.
160
+ * @param id Model id
161
+ * @param filter Filter defining fields and include - must be a JSON-encoded string ({"something":"value"})
162
+ * @returns Catalog Request was successful
163
+ * @throws ApiError
164
+ */
165
+ static catalogFindById(id: string, filter?: string): CancelablePromise<Catalog>;
166
+ /**
167
+ * Replace attributes for a model instance and persist it into the data source.
168
+ * @param id Model id
169
+ * @param data Model instance data
170
+ * @returns Catalog Request was successful
171
+ * @throws ApiError
172
+ */
173
+ static catalogReplaceByIdPutCatalogsId(id: string, data?: Catalog): CancelablePromise<Catalog>;
174
+ /**
175
+ * Delete a model instance by {{id}} from the data source.
176
+ * @param id Model id
177
+ * @returns any Request was successful
178
+ * @throws ApiError
179
+ */
180
+ static catalogDeleteById(id: string): CancelablePromise<any>;
181
+ /**
182
+ * Patch attributes for a model instance and persist it into the data source.
183
+ * @param id Catalog id
184
+ * @param data An object of model property name/value pairs
185
+ * @returns Catalog Request was successful
186
+ * @throws ApiError
187
+ */
188
+ static catalogPrototypePatchAttributes(id: string, data?: Catalog): CancelablePromise<Catalog>;
189
+ /**
190
+ * Replace attributes for a model instance and persist it into the data source.
191
+ * @param id Model id
192
+ * @param data Model instance data
193
+ * @returns Catalog Request was successful
194
+ * @throws ApiError
195
+ */
196
+ static catalogReplaceByIdPostCatalogsIdReplace(id: string, data?: Catalog): CancelablePromise<Catalog>;
197
+ /**
198
+ * Find first instance of the model matched by filter from the data source.
199
+ * @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.
200
+ * @returns Catalog Request was successful
201
+ * @throws ApiError
202
+ */
203
+ static catalogFindOne(filter?: string): CancelablePromise<Catalog>;
204
+ /**
205
+ * Update instances of the model matched by {{where}} from the data source.
206
+ * @param where Criteria to match model instances
207
+ * @param data An object of model property name/value pairs
208
+ * @returns any Request was successful
209
+ * @throws ApiError
210
+ */
211
+ static catalogUpdateAll(where?: string, data?: Catalog): CancelablePromise<{
212
+ /**
213
+ * The number of instances updated
214
+ */
215
+ count?: number;
216
+ }>;
217
+ /**
218
+ * Count instances of the model matched by where from the data source.
219
+ * @param where Criteria to match model instances
220
+ * @returns any Request was successful
221
+ * @throws ApiError
222
+ */
223
+ static catalogCount(where?: string): CancelablePromise<{
224
+ count?: number;
225
+ }>;
226
+ /**
227
+ * @param ids
228
+ * @returns any Request was successful
229
+ * @throws ApiError
230
+ */
231
+ static catalogExportModel(ids?: string): CancelablePromise<{
232
+ undefined?: any;
233
+ }>;
234
+ /**
235
+ * @param number
236
+ * @returns binary Request was successful
237
+ * @throws ApiError
238
+ */
239
+ static catalogCreatePartDocx(number: string): CancelablePromise<Blob>;
240
+ /**
241
+ * @param number
242
+ * @returns binary Request was successful
243
+ * @throws ApiError
244
+ */
245
+ static catalogCreatePartXlsx(number: string): CancelablePromise<Blob>;
246
+ /**
247
+ * @returns any Request was successful
248
+ * @throws ApiError
249
+ */
250
+ static catalogGetCatalogHome(): CancelablePromise<{
251
+ result?: any;
252
+ }>;
253
+ /**
254
+ * @returns x_any Request was successful
255
+ * @throws ApiError
256
+ */
257
+ static catalogGetAllCatalogsWithRootPart(): CancelablePromise<Array<x_any>>;
258
+ /**
259
+ * Count with deleted instances of the model matched by where from the data source.
260
+ * @param where Criteria to match model instances
261
+ * @returns any Request was successful
262
+ * @throws ApiError
263
+ */
264
+ static catalogCountWithDeleted(where?: string): CancelablePromise<{
265
+ count?: number;
266
+ }>;
267
+ }
@@ -0,0 +1,74 @@
1
+ import type { Category } from '../models/Category';
2
+ import type { CancelablePromise } from '../core/CancelablePromise';
3
+ export declare class CategoryService {
4
+ /**
5
+ * Create a new instance of the model and persist it into the data source.
6
+ * @param data Model instance data
7
+ * @returns Category Request was successful
8
+ * @throws ApiError
9
+ */
10
+ static categoryCreate(data?: Category): CancelablePromise<Category>;
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 Category Request was successful
15
+ * @throws ApiError
16
+ */
17
+ static categoryFind(filter?: string): CancelablePromise<Array<Category>>;
18
+ /**
19
+ * Find first instance of the model matched by filter from the data source.
20
+ * @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.
21
+ * @returns Category Request was successful
22
+ * @throws ApiError
23
+ */
24
+ static categoryFindOne(filter?: string): CancelablePromise<Category>;
25
+ /**
26
+ * Count instances of the model matched by where from the data source.
27
+ * @param where Criteria to match model instances
28
+ * @returns any Request was successful
29
+ * @throws ApiError
30
+ */
31
+ static categoryCount(where?: string): CancelablePromise<{
32
+ count?: number;
33
+ }>;
34
+ /**
35
+ * Patch attributes for a model instance and persist it into the data source.
36
+ * @param id Category id
37
+ * @param data An object of model property name/value pairs
38
+ * @returns Category Request was successful
39
+ * @throws ApiError
40
+ */
41
+ static categoryPrototypePatchAttributes(id: string, data?: Category): CancelablePromise<Category>;
42
+ /**
43
+ * @param id
44
+ * @returns any Request was successful
45
+ * @throws ApiError
46
+ */
47
+ static categoryDeleteCategory(id: string): CancelablePromise<{
48
+ result?: any;
49
+ }>;
50
+ /**
51
+ * @param filter
52
+ * @returns any Request was successful
53
+ * @throws ApiError
54
+ */
55
+ static categoryExportTranslations(filter: string): CancelablePromise<{
56
+ res?: any;
57
+ }>;
58
+ /**
59
+ * Uploads a file
60
+ * @param body
61
+ * @returns any Request was successful
62
+ * @throws ApiError
63
+ */
64
+ static categoryImportTranslations(body?: any): CancelablePromise<{
65
+ res?: any;
66
+ }>;
67
+ /**
68
+ * @returns any Request was successful
69
+ * @throws ApiError
70
+ */
71
+ static categoryMarkAsComplete(): CancelablePromise<{
72
+ res?: any;
73
+ }>;
74
+ }
@@ -0,0 +1,60 @@
1
+ import type { CertificateMapping } from '../models/CertificateMapping';
2
+ import type { x_any } from '../models/x_any';
3
+ import type { CancelablePromise } from '../core/CancelablePromise';
4
+ export declare class CertificateMappingService {
5
+ /**
6
+ * Create a new instance of the model and persist it into the data source.
7
+ * @param data Model instance data
8
+ * @returns CertificateMapping Request was successful
9
+ * @throws ApiError
10
+ */
11
+ static certificateMappingCreate(data?: CertificateMapping): CancelablePromise<CertificateMapping>;
12
+ /**
13
+ * Find all instances of the model matched by filter from the data source.
14
+ * @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.
15
+ * @returns CertificateMapping Request was successful
16
+ * @throws ApiError
17
+ */
18
+ static certificateMappingFind(filter?: string): CancelablePromise<Array<CertificateMapping>>;
19
+ /**
20
+ * Count instances of the model matched by where from the data source.
21
+ * @param where Criteria to match model instances
22
+ * @returns any Request was successful
23
+ * @throws ApiError
24
+ */
25
+ static certificateMappingCount(where?: string): CancelablePromise<{
26
+ count?: number;
27
+ }>;
28
+ /**
29
+ * @param id
30
+ * @returns any Request was successful
31
+ * @throws ApiError
32
+ */
33
+ static certificateMappingDeleteCertificateMapping(id: string): CancelablePromise<{
34
+ result?: Array<any>;
35
+ }>;
36
+ /**
37
+ * @param certificateId
38
+ * @param userIds
39
+ * @param expireDate
40
+ * @returns any Request was successful
41
+ * @throws ApiError
42
+ */
43
+ static certificateMappingAddCertificateMapping(certificateId: string, userIds: string, expireDate: string): CancelablePromise<{
44
+ result?: Array<any>;
45
+ }>;
46
+ /**
47
+ * @param certificateId
48
+ * @param filter
49
+ * @returns x_any Request was successful
50
+ * @throws ApiError
51
+ */
52
+ static certificateMappingGetDataList(certificateId: string, filter?: string): CancelablePromise<Array<x_any>>;
53
+ /**
54
+ * @param certificateId
55
+ * @param where
56
+ * @returns x_any Request was successful
57
+ * @throws ApiError
58
+ */
59
+ static certificateMappingGetDataCount(certificateId: string, where?: string): CancelablePromise<x_any>;
60
+ }
@@ -0,0 +1,74 @@
1
+ import type { Certificate } from '../models/Certificate';
2
+ import type { CancelablePromise } from '../core/CancelablePromise';
3
+ export declare class CertificateService {
4
+ /**
5
+ * Create a new instance of the model and persist it into the data source.
6
+ * @param data Model instance data
7
+ * @returns Certificate Request was successful
8
+ * @throws ApiError
9
+ */
10
+ static certificateCreate(data?: Certificate): CancelablePromise<Certificate>;
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 Certificate Request was successful
15
+ * @throws ApiError
16
+ */
17
+ static certificateFind(filter?: string): CancelablePromise<Array<Certificate>>;
18
+ /**
19
+ * Find first instance of the model matched by filter from the data source.
20
+ * @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.
21
+ * @returns Certificate Request was successful
22
+ * @throws ApiError
23
+ */
24
+ static certificateFindOne(filter?: string): CancelablePromise<Certificate>;
25
+ /**
26
+ * Count instances of the model matched by where from the data source.
27
+ * @param where Criteria to match model instances
28
+ * @returns any Request was successful
29
+ * @throws ApiError
30
+ */
31
+ static certificateCount(where?: string): CancelablePromise<{
32
+ count?: number;
33
+ }>;
34
+ /**
35
+ * Patch attributes for a model instance and persist it into the data source.
36
+ * @param id Certificate id
37
+ * @param data An object of model property name/value pairs
38
+ * @returns Certificate Request was successful
39
+ * @throws ApiError
40
+ */
41
+ static certificatePrototypePatchAttributes(id: string, data?: Certificate): CancelablePromise<Certificate>;
42
+ /**
43
+ * @param id
44
+ * @returns any Request was successful
45
+ * @throws ApiError
46
+ */
47
+ static certificateDeleteCertificate(id: string): CancelablePromise<{
48
+ result?: string;
49
+ }>;
50
+ /**
51
+ * @param filter
52
+ * @returns any Request was successful
53
+ * @throws ApiError
54
+ */
55
+ static certificateExportTranslations(filter: string): CancelablePromise<{
56
+ res?: any;
57
+ }>;
58
+ /**
59
+ * Uploads a file
60
+ * @param body
61
+ * @returns any Request was successful
62
+ * @throws ApiError
63
+ */
64
+ static certificateImportTranslations(body?: any): CancelablePromise<{
65
+ res?: any;
66
+ }>;
67
+ /**
68
+ * @returns any Request was successful
69
+ * @throws ApiError
70
+ */
71
+ static certificateMarkAsComplete(): CancelablePromise<{
72
+ res?: any;
73
+ }>;
74
+ }
@@ -0,0 +1,34 @@
1
+ import type { CancelablePromise } from '../core/CancelablePromise';
2
+ export declare class ChapterService {
3
+ /**
4
+ * @param filter
5
+ * @returns any Request was successful
6
+ * @throws ApiError
7
+ */
8
+ static chapterExportTranslations(filter: string): CancelablePromise<{
9
+ res?: any;
10
+ }>;
11
+ /**
12
+ * Uploads a file
13
+ * @param body
14
+ * @returns any Request was successful
15
+ * @throws ApiError
16
+ */
17
+ static chapterImportTranslations(body?: any): CancelablePromise<{
18
+ res?: any;
19
+ }>;
20
+ /**
21
+ * @returns any Request was successful
22
+ * @throws ApiError
23
+ */
24
+ static chapterMarkAsComplete(): CancelablePromise<{
25
+ res?: any;
26
+ }>;
27
+ /**
28
+ * @returns any Request was successful
29
+ * @throws ApiError
30
+ */
31
+ static chapterMarkAsIncomplete(): CancelablePromise<{
32
+ res?: any;
33
+ }>;
34
+ }
@@ -0,0 +1,58 @@
1
+ import type { Comment } from '../models/Comment';
2
+ import type { CancelablePromise } from '../core/CancelablePromise';
3
+ export declare class CommentService {
4
+ /**
5
+ * Create a new instance of the model and persist it into the data source.
6
+ * @param data Model instance data
7
+ * @returns Comment Request was successful
8
+ * @throws ApiError
9
+ */
10
+ static commentCreate(data?: Comment): CancelablePromise<Comment>;
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 Comment Request was successful
15
+ * @throws ApiError
16
+ */
17
+ static commentFind(filter?: string): CancelablePromise<Array<Comment>>;
18
+ /**
19
+ * Find first instance of the model matched by filter from the data source.
20
+ * @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.
21
+ * @returns Comment Request was successful
22
+ * @throws ApiError
23
+ */
24
+ static commentFindOne(filter?: string): CancelablePromise<Comment>;
25
+ /**
26
+ * Delete a model instance by {{id}} from the data source.
27
+ * @param id Model id
28
+ * @returns any Request was successful
29
+ * @throws ApiError
30
+ */
31
+ static commentDeleteById(id: string): CancelablePromise<any>;
32
+ /**
33
+ * Patch attributes for a model instance and persist it into the data source.
34
+ * @param id Comment id
35
+ * @param data An object of model property name/value pairs
36
+ * @returns Comment Request was successful
37
+ * @throws ApiError
38
+ */
39
+ static commentPrototypePatchAttributes(id: string, data?: Comment): CancelablePromise<Comment>;
40
+ /**
41
+ * Count instances of the model matched by where from the data source.
42
+ * @param where Criteria to match model instances
43
+ * @returns any Request was successful
44
+ * @throws ApiError
45
+ */
46
+ static commentCount(where?: string): CancelablePromise<{
47
+ count?: number;
48
+ }>;
49
+ /**
50
+ * @param id
51
+ * @param postId
52
+ * @returns any Request was successful
53
+ * @throws ApiError
54
+ */
55
+ static commentDeleteCommentById(id: string, postId: string): CancelablePromise<{
56
+ result?: string;
57
+ }>;
58
+ }
@@ -0,0 +1,49 @@
1
+ import type { Configuration } from '../models/Configuration';
2
+ import type { CancelablePromise } from '../core/CancelablePromise';
3
+ export declare class ConfigurationService {
4
+ /**
5
+ * Create a new instance of the model and persist it into the data source.
6
+ * @param data Model instance data
7
+ * @returns Configuration Request was successful
8
+ * @throws ApiError
9
+ */
10
+ static configurationCreate(data?: Configuration): CancelablePromise<Configuration>;
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 Configuration Request was successful
15
+ * @throws ApiError
16
+ */
17
+ static configurationFind(filter?: string): CancelablePromise<Array<Configuration>>;
18
+ /**
19
+ * Find first instance of the model matched by filter from the data source.
20
+ * @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.
21
+ * @returns Configuration Request was successful
22
+ * @throws ApiError
23
+ */
24
+ static configurationFindOne(filter?: string): CancelablePromise<Configuration>;
25
+ /**
26
+ * Delete a model instance by {{id}} from the data source.
27
+ * @param id Model id
28
+ * @returns any Request was successful
29
+ * @throws ApiError
30
+ */
31
+ static configurationDeleteById(id: string): CancelablePromise<any>;
32
+ /**
33
+ * Patch attributes for a model instance and persist it into the data source.
34
+ * @param id Configuration id
35
+ * @param data An object of model property name/value pairs
36
+ * @returns Configuration Request was successful
37
+ * @throws ApiError
38
+ */
39
+ static configurationPrototypePatchAttributes(id: string, data?: Configuration): CancelablePromise<Configuration>;
40
+ /**
41
+ * Count instances of the model matched by where from the data source.
42
+ * @param where Criteria to match model instances
43
+ * @returns any Request was successful
44
+ * @throws ApiError
45
+ */
46
+ static configurationCount(where?: string): CancelablePromise<{
47
+ count?: number;
48
+ }>;
49
+ }
@@ -0,0 +1,20 @@
1
+ import type { Node } from '../models/Node';
2
+ import type { CancelablePromise } from '../core/CancelablePromise';
3
+ export declare class ConnectionService {
4
+ /**
5
+ * Fetches belongsTo relation from.
6
+ * @param id Connection id
7
+ * @param refresh
8
+ * @returns Node Request was successful
9
+ * @throws ApiError
10
+ */
11
+ static connectionPrototypeGetFrom(id: string, refresh?: boolean): CancelablePromise<Node>;
12
+ /**
13
+ * Fetches belongsTo relation to.
14
+ * @param id Connection id
15
+ * @param refresh
16
+ * @returns Node Request was successful
17
+ * @throws ApiError
18
+ */
19
+ static connectionPrototypeGetTo(id: string, refresh?: boolean): CancelablePromise<Node>;
20
+ }