@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.
- package/LICENSE +19 -0
- package/dist/core/ApiError.d.ts +10 -0
- package/dist/core/ApiRequestOptions.d.ts +13 -0
- package/dist/core/ApiResult.d.ts +7 -0
- package/dist/core/CancelablePromise.d.ts +20 -0
- package/dist/core/OpenAPI.d.ts +16 -0
- package/dist/core/request.d.ts +30 -0
- package/dist/index.d.mts +15467 -0
- package/dist/index.d.ts +209 -0
- package/dist/index.js +27719 -0
- package/dist/index.js.map +1 -0
- package/dist/index.mjs +27586 -0
- package/dist/index.mjs.map +1 -0
- package/dist/models/ACL.d.ts +19 -0
- package/dist/models/AIPrompt.d.ts +13 -0
- package/dist/models/AccessToken.d.ts +12 -0
- package/dist/models/ApiMethod.d.ts +13 -0
- package/dist/models/ApiMethodLog.d.ts +14 -0
- package/dist/models/BreakType.d.ts +10 -0
- package/dist/models/Catalog.d.ts +16 -0
- package/dist/models/Category.d.ts +10 -0
- package/dist/models/Certificate.d.ts +12 -0
- package/dist/models/CertificateMapping.d.ts +11 -0
- package/dist/models/Chapter.d.ts +6 -0
- package/dist/models/Comment.d.ts +13 -0
- package/dist/models/Configuration.d.ts +16 -0
- package/dist/models/Connection.d.ts +10 -0
- package/dist/models/Connector.d.ts +9 -0
- package/dist/models/ConnectorFunction.d.ts +13 -0
- package/dist/models/ContentPackage.d.ts +24 -0
- package/dist/models/ContentPackageSession.d.ts +12 -0
- package/dist/models/ContentPackageView.d.ts +11 -0
- package/dist/models/CustomField.d.ts +18 -0
- package/dist/models/Device.d.ts +10 -0
- package/dist/models/DeviceFamily.d.ts +12 -0
- package/dist/models/Document.d.ts +24 -0
- package/dist/models/Event.d.ts +15 -0
- package/dist/models/Field.d.ts +33 -0
- package/dist/models/FileParser.d.ts +15 -0
- package/dist/models/FileParserJob.d.ts +12 -0
- package/dist/models/FileParserStrategyJob.d.ts +15 -0
- package/dist/models/Folder.d.ts +9 -0
- package/dist/models/Form.d.ts +35 -0
- package/dist/models/FormData.d.ts +55 -0
- package/dist/models/FormDataComment.d.ts +13 -0
- package/dist/models/Forum.d.ts +12 -0
- package/dist/models/Gateway.d.ts +17 -0
- package/dist/models/Group.d.ts +8 -0
- package/dist/models/InventoryTransaction.d.ts +19 -0
- package/dist/models/Kit.d.ts +17 -0
- package/dist/models/List.d.ts +10 -0
- package/dist/models/ListItem.d.ts +13 -0
- package/dist/models/Location.d.ts +13 -0
- package/dist/models/Menus.d.ts +10 -0
- package/dist/models/NPS.d.ts +16 -0
- package/dist/models/Node.d.ts +32 -0
- package/dist/models/ObjectID.d.ts +1 -0
- package/dist/models/OpcUaServer.d.ts +15 -0
- package/dist/models/Operation.d.ts +15 -0
- package/dist/models/Pages.d.ts +11 -0
- package/dist/models/Part.d.ts +10 -0
- package/dist/models/PartAssembly.d.ts +55 -0
- package/dist/models/PartAssemblyDocument.d.ts +9 -0
- package/dist/models/Post.d.ts +16 -0
- package/dist/models/PrintPreset.d.ts +26 -0
- package/dist/models/PriorityLabel.d.ts +12 -0
- package/dist/models/ProductionEntity.d.ts +18 -0
- package/dist/models/ProductionEntityEvent.d.ts +21 -0
- package/dist/models/ProductionEntityMapping.d.ts +16 -0
- package/dist/models/ProductionEntityTransaction.d.ts +19 -0
- package/dist/models/ProductionEntityType.d.ts +10 -0
- package/dist/models/Project.d.ts +10 -0
- package/dist/models/Resource.d.ts +26 -0
- package/dist/models/ResourceMapping.d.ts +9 -0
- package/dist/models/Revision.d.ts +8 -0
- package/dist/models/Role.d.ts +8 -0
- package/dist/models/RoleMapping.d.ts +17 -0
- package/dist/models/Rule.d.ts +11 -0
- package/dist/models/ScromSession.d.ts +11 -0
- package/dist/models/Shift.d.ts +26 -0
- package/dist/models/ShiftType.d.ts +28 -0
- package/dist/models/Station.d.ts +11 -0
- package/dist/models/Stock.d.ts +56 -0
- package/dist/models/StockItem.d.ts +7 -0
- package/dist/models/SyncClients.d.ts +12 -0
- package/dist/models/SyncHistory.d.ts +12 -0
- package/dist/models/Table.d.ts +11 -0
- package/dist/models/TableSetup.d.ts +18 -0
- package/dist/models/TimeLog.d.ts +7 -0
- package/dist/models/TimeLogReport.d.ts +29 -0
- package/dist/models/Timeline.d.ts +17 -0
- package/dist/models/Tool.d.ts +18 -0
- package/dist/models/Translation.d.ts +12 -0
- package/dist/models/Unit.d.ts +11 -0
- package/dist/models/UpdateInfo.d.ts +9 -0
- package/dist/models/UserModel.d.ts +70 -0
- package/dist/models/UserPreferences.d.ts +6 -0
- package/dist/models/Variant.d.ts +13 -0
- package/dist/models/VoteMapping.d.ts +12 -0
- package/dist/models/Warehouse.d.ts +9 -0
- package/dist/models/Webhook.d.ts +15 -0
- package/dist/models/Wire.d.ts +12 -0
- package/dist/models/Wiringlist.d.ts +15 -0
- package/dist/models/Workflow.d.ts +54 -0
- package/dist/models/WorkflowDetails.d.ts +9 -0
- package/dist/models/WorkflowNote.d.ts +18 -0
- package/dist/models/WorkflowSessionItem.d.ts +56 -0
- package/dist/models/WorkflowType.d.ts +17 -0
- package/dist/models/Workorder.d.ts +94 -0
- package/dist/models/WorkorderAction.d.ts +8 -0
- package/dist/models/WorkorderStatus.d.ts +22 -0
- package/dist/models/WorkorderTemplate.d.ts +23 -0
- package/dist/models/meta.d.ts +5 -0
- package/dist/models/x_any.d.ts +1 -0
- package/dist/services/AclService.d.ts +133 -0
- package/dist/services/AiPromptService.d.ts +133 -0
- package/dist/services/AiService.d.ts +12 -0
- package/dist/services/ApiMethodLogService.d.ts +133 -0
- package/dist/services/ApiMethodService.d.ts +140 -0
- package/dist/services/BomService.d.ts +18 -0
- package/dist/services/BreakService.d.ts +19 -0
- package/dist/services/BreakTypeService.d.ts +42 -0
- package/dist/services/CatalogService.d.ts +267 -0
- package/dist/services/CategoryService.d.ts +74 -0
- package/dist/services/CertificateMappingService.d.ts +60 -0
- package/dist/services/CertificateService.d.ts +74 -0
- package/dist/services/ChapterService.d.ts +34 -0
- package/dist/services/CommentService.d.ts +58 -0
- package/dist/services/ConfigurationService.d.ts +49 -0
- package/dist/services/ConnectionService.d.ts +20 -0
- package/dist/services/ConnectorFunctionService.d.ts +149 -0
- package/dist/services/ConnectorService.d.ts +201 -0
- package/dist/services/ContainerService.d.ts +66 -0
- package/dist/services/ContentPackageService.d.ts +115 -0
- package/dist/services/ContentPackageSessionService.d.ts +28 -0
- package/dist/services/ContentPackageViewService.d.ts +165 -0
- package/dist/services/CustomFieldService.d.ts +57 -0
- package/dist/services/DeviceFamilyService.d.ts +64 -0
- package/dist/services/DeviceService.d.ts +21 -0
- package/dist/services/DigestEmailService.d.ts +8 -0
- package/dist/services/DocumentService.d.ts +103 -0
- package/dist/services/EventService.d.ts +20 -0
- package/dist/services/FieldService.d.ts +86 -0
- package/dist/services/FileParserJobService.d.ts +49 -0
- package/dist/services/FileParserService.d.ts +78 -0
- package/dist/services/FileParserStrategyJobService.d.ts +49 -0
- package/dist/services/FolderService.d.ts +50 -0
- package/dist/services/FormDataCommentService.d.ts +159 -0
- package/dist/services/FormDataService.d.ts +242 -0
- package/dist/services/FormService.d.ts +82 -0
- package/dist/services/ForumService.d.ts +49 -0
- package/dist/services/GatewayService.d.ts +59 -0
- package/dist/services/GroupService.d.ts +50 -0
- package/dist/services/IntegrationBuilderService.d.ts +23 -0
- package/dist/services/InventoryTransactionService.d.ts +151 -0
- package/dist/services/LastSeenResourceService.d.ts +16 -0
- package/dist/services/ListItemService.d.ts +96 -0
- package/dist/services/ListService.d.ts +73 -0
- package/dist/services/LocationService.d.ts +80 -0
- package/dist/services/MenusService.d.ts +180 -0
- package/dist/services/NodeService.d.ts +383 -0
- package/dist/services/NpsService.d.ts +56 -0
- package/dist/services/OpcUaServerService.d.ts +182 -0
- package/dist/services/OperationService.d.ts +60 -0
- package/dist/services/PagesService.d.ts +151 -0
- package/dist/services/PartAssemblyDocumentService.d.ts +12 -0
- package/dist/services/PartAssemblyService.d.ts +400 -0
- package/dist/services/PartService.d.ts +133 -0
- package/dist/services/PostService.d.ts +56 -0
- package/dist/services/PrintPresetService.d.ts +155 -0
- package/dist/services/PriorityLabelService.d.ts +45 -0
- package/dist/services/PriorityService.d.ts +51 -0
- package/dist/services/ProductionEntityEventService.d.ts +169 -0
- package/dist/services/ProductionEntityMappingService.d.ts +142 -0
- package/dist/services/ProductionEntityService.d.ts +207 -0
- package/dist/services/ProductionEntityTransactionService.d.ts +142 -0
- package/dist/services/ProductionEntityTypeService.d.ts +151 -0
- package/dist/services/ProjectService.d.ts +142 -0
- package/dist/services/PythonResultService.d.ts +15 -0
- package/dist/services/ResourceMappingService.d.ts +133 -0
- package/dist/services/ResourceService.d.ts +264 -0
- package/dist/services/RevisionService.d.ts +62 -0
- package/dist/services/RoleMappingService.d.ts +151 -0
- package/dist/services/RoleService.d.ts +276 -0
- package/dist/services/RuleService.d.ts +217 -0
- package/dist/services/ScromSessionService.d.ts +18 -0
- package/dist/services/SettingService.d.ts +147 -0
- package/dist/services/ShiftService.d.ts +181 -0
- package/dist/services/ShiftTypeService.d.ts +142 -0
- package/dist/services/StationService.d.ts +50 -0
- package/dist/services/StockService.d.ts +766 -0
- package/dist/services/SyncClientsService.d.ts +142 -0
- package/dist/services/SyncHistoryService.d.ts +142 -0
- package/dist/services/SyncService.d.ts +89 -0
- package/dist/services/TableService.d.ts +154 -0
- package/dist/services/TableSetupService.d.ts +40 -0
- package/dist/services/TimeLogReportService.d.ts +87 -0
- package/dist/services/TimelineService.d.ts +73 -0
- package/dist/services/ToolService.d.ts +73 -0
- package/dist/services/TranslationService.d.ts +172 -0
- package/dist/services/UnitService.d.ts +182 -0
- package/dist/services/UpdateInfoService.d.ts +24 -0
- package/dist/services/UserModelService.d.ts +245 -0
- package/dist/services/VariantService.d.ts +42 -0
- package/dist/services/VoteMappingService.d.ts +19 -0
- package/dist/services/WarehouseService.d.ts +19 -0
- package/dist/services/WebhookService.d.ts +58 -0
- package/dist/services/WireService.d.ts +151 -0
- package/dist/services/WiringlistService.d.ts +340 -0
- package/dist/services/WorkflowDetailsService.d.ts +151 -0
- package/dist/services/WorkflowNoteService.d.ts +173 -0
- package/dist/services/WorkflowService.d.ts +976 -0
- package/dist/services/WorkflowSessionItemRecordService.d.ts +19 -0
- package/dist/services/WorkflowSessionItemService.d.ts +205 -0
- package/dist/services/WorkflowTypeService.d.ts +49 -0
- package/dist/services/WorkorderService.d.ts +1138 -0
- package/dist/services/WorkorderStatusService.d.ts +78 -0
- package/dist/services/WorkorderTemplateService.d.ts +49 -0
- package/package.json +84 -0
- package/tsconfig.build.json +14 -0
|
@@ -0,0 +1,149 @@
|
|
|
1
|
+
import type { ConnectorFunction } from '../models/ConnectorFunction';
|
|
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 ConnectorFunctionService {
|
|
6
|
+
/**
|
|
7
|
+
* Fetches belongsTo relation user.
|
|
8
|
+
* @param id ConnectorFunction id
|
|
9
|
+
* @param refresh
|
|
10
|
+
* @returns UserModel Request was successful
|
|
11
|
+
* @throws ApiError
|
|
12
|
+
*/
|
|
13
|
+
static connectorFunctionPrototypeGetUser(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 ConnectorFunction Request was successful
|
|
18
|
+
* @throws ApiError
|
|
19
|
+
*/
|
|
20
|
+
static connectorFunctionCreate(data?: ConnectorFunction): CancelablePromise<ConnectorFunction>;
|
|
21
|
+
/**
|
|
22
|
+
* Patch an existing model instance or insert a new one into the data source.
|
|
23
|
+
* @param data Model instance data
|
|
24
|
+
* @returns ConnectorFunction Request was successful
|
|
25
|
+
* @throws ApiError
|
|
26
|
+
*/
|
|
27
|
+
static connectorFunctionPatchOrCreate(data?: ConnectorFunction): CancelablePromise<ConnectorFunction>;
|
|
28
|
+
/**
|
|
29
|
+
* Replace an existing model instance or insert a new one into the data source.
|
|
30
|
+
* @param data Model instance data
|
|
31
|
+
* @returns ConnectorFunction Request was successful
|
|
32
|
+
* @throws ApiError
|
|
33
|
+
*/
|
|
34
|
+
static connectorFunctionReplaceOrCreatePutConnectorFunctions(data?: ConnectorFunction): CancelablePromise<ConnectorFunction>;
|
|
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 ConnectorFunction Request was successful
|
|
39
|
+
* @throws ApiError
|
|
40
|
+
*/
|
|
41
|
+
static connectorFunctionFind(filter?: string): CancelablePromise<Array<ConnectorFunction>>;
|
|
42
|
+
/**
|
|
43
|
+
* Replace an existing model instance or insert a new one into the data source.
|
|
44
|
+
* @param data Model instance data
|
|
45
|
+
* @returns ConnectorFunction Request was successful
|
|
46
|
+
* @throws ApiError
|
|
47
|
+
*/
|
|
48
|
+
static connectorFunctionReplaceOrCreatePostConnectorFunctionsReplaceOrCreate(data?: ConnectorFunction): CancelablePromise<ConnectorFunction>;
|
|
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 ConnectorFunction Request was successful
|
|
54
|
+
* @throws ApiError
|
|
55
|
+
*/
|
|
56
|
+
static connectorFunctionUpsertWithWhere(where?: string, data?: ConnectorFunction): CancelablePromise<ConnectorFunction>;
|
|
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 connectorFunctionExistsGetConnectorFunctionsIdExists(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 connectorFunctionExistsHeadConnectorFunctionsId(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 ConnectorFunction Request was successful
|
|
80
|
+
* @throws ApiError
|
|
81
|
+
*/
|
|
82
|
+
static connectorFunctionFindById(id: string, filter?: string): CancelablePromise<ConnectorFunction>;
|
|
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 ConnectorFunction Request was successful
|
|
88
|
+
* @throws ApiError
|
|
89
|
+
*/
|
|
90
|
+
static connectorFunctionReplaceByIdPutConnectorFunctionsId(id: string, data?: ConnectorFunction): CancelablePromise<ConnectorFunction>;
|
|
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 connectorFunctionDeleteById(id: string): CancelablePromise<any>;
|
|
98
|
+
/**
|
|
99
|
+
* Patch attributes for a model instance and persist it into the data source.
|
|
100
|
+
* @param id ConnectorFunction id
|
|
101
|
+
* @param data An object of model property name/value pairs
|
|
102
|
+
* @returns ConnectorFunction Request was successful
|
|
103
|
+
* @throws ApiError
|
|
104
|
+
*/
|
|
105
|
+
static connectorFunctionPrototypePatchAttributes(id: string, data?: ConnectorFunction): CancelablePromise<ConnectorFunction>;
|
|
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 ConnectorFunction Request was successful
|
|
111
|
+
* @throws ApiError
|
|
112
|
+
*/
|
|
113
|
+
static connectorFunctionReplaceByIdPostConnectorFunctionsIdReplace(id: string, data?: ConnectorFunction): CancelablePromise<ConnectorFunction>;
|
|
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 ConnectorFunction Request was successful
|
|
118
|
+
* @throws ApiError
|
|
119
|
+
*/
|
|
120
|
+
static connectorFunctionFindOne(filter?: string): CancelablePromise<ConnectorFunction>;
|
|
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 connectorFunctionUpdateAll(where?: string, data?: ConnectorFunction): 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 connectorFunctionCount(where?: string): CancelablePromise<{
|
|
141
|
+
count?: number;
|
|
142
|
+
}>;
|
|
143
|
+
/**
|
|
144
|
+
* @param functionObj
|
|
145
|
+
* @returns x_any Request was successful
|
|
146
|
+
* @throws ApiError
|
|
147
|
+
*/
|
|
148
|
+
static connectorFunctionTestFunction(functionObj?: string): CancelablePromise<x_any>;
|
|
149
|
+
}
|
|
@@ -0,0 +1,201 @@
|
|
|
1
|
+
import type { Connector } from '../models/Connector';
|
|
2
|
+
import type { ConnectorFunction } from '../models/ConnectorFunction';
|
|
3
|
+
import type { UserModel } from '../models/UserModel';
|
|
4
|
+
import type { CancelablePromise } from '../core/CancelablePromise';
|
|
5
|
+
export declare class ConnectorService {
|
|
6
|
+
/**
|
|
7
|
+
* Find a related item by id for functions.
|
|
8
|
+
* @param id Connector id
|
|
9
|
+
* @param fk Foreign key for functions
|
|
10
|
+
* @returns ConnectorFunction Request was successful
|
|
11
|
+
* @throws ApiError
|
|
12
|
+
*/
|
|
13
|
+
static connectorPrototypeFindByIdFunctions(id: string, fk: string): CancelablePromise<ConnectorFunction>;
|
|
14
|
+
/**
|
|
15
|
+
* Delete a related item by id for functions.
|
|
16
|
+
* @param id Connector id
|
|
17
|
+
* @param fk Foreign key for functions
|
|
18
|
+
* @returns void
|
|
19
|
+
* @throws ApiError
|
|
20
|
+
*/
|
|
21
|
+
static connectorPrototypeDestroyByIdFunctions(id: string, fk: string): CancelablePromise<void>;
|
|
22
|
+
/**
|
|
23
|
+
* Update a related item by id for functions.
|
|
24
|
+
* @param id Connector id
|
|
25
|
+
* @param fk Foreign key for functions
|
|
26
|
+
* @param data
|
|
27
|
+
* @returns ConnectorFunction Request was successful
|
|
28
|
+
* @throws ApiError
|
|
29
|
+
*/
|
|
30
|
+
static connectorPrototypeUpdateByIdFunctions(id: string, fk: string, data?: ConnectorFunction): CancelablePromise<ConnectorFunction>;
|
|
31
|
+
/**
|
|
32
|
+
* Fetches belongsTo relation user.
|
|
33
|
+
* @param id Connector id
|
|
34
|
+
* @param refresh
|
|
35
|
+
* @returns UserModel Request was successful
|
|
36
|
+
* @throws ApiError
|
|
37
|
+
*/
|
|
38
|
+
static connectorPrototypeGetUser(id: string, refresh?: boolean): CancelablePromise<UserModel>;
|
|
39
|
+
/**
|
|
40
|
+
* Queries functions of Connector.
|
|
41
|
+
* @param id Connector id
|
|
42
|
+
* @param filter
|
|
43
|
+
* @returns ConnectorFunction Request was successful
|
|
44
|
+
* @throws ApiError
|
|
45
|
+
*/
|
|
46
|
+
static connectorPrototypeGetFunctions(id: string, filter?: string): CancelablePromise<Array<ConnectorFunction>>;
|
|
47
|
+
/**
|
|
48
|
+
* Creates a new instance in functions of this model.
|
|
49
|
+
* @param id Connector id
|
|
50
|
+
* @param data
|
|
51
|
+
* @returns ConnectorFunction Request was successful
|
|
52
|
+
* @throws ApiError
|
|
53
|
+
*/
|
|
54
|
+
static connectorPrototypeCreateFunctions(id: string, data?: ConnectorFunction): CancelablePromise<ConnectorFunction>;
|
|
55
|
+
/**
|
|
56
|
+
* Deletes all functions of this model.
|
|
57
|
+
* @param id Connector id
|
|
58
|
+
* @returns void
|
|
59
|
+
* @throws ApiError
|
|
60
|
+
*/
|
|
61
|
+
static connectorPrototypeDeleteFunctions(id: string): CancelablePromise<void>;
|
|
62
|
+
/**
|
|
63
|
+
* Counts functions of Connector.
|
|
64
|
+
* @param id Connector id
|
|
65
|
+
* @param where Criteria to match model instances
|
|
66
|
+
* @returns any Request was successful
|
|
67
|
+
* @throws ApiError
|
|
68
|
+
*/
|
|
69
|
+
static connectorPrototypeCountFunctions(id: string, where?: string): CancelablePromise<{
|
|
70
|
+
count?: number;
|
|
71
|
+
}>;
|
|
72
|
+
/**
|
|
73
|
+
* Create a new instance of the model and persist it into the data source.
|
|
74
|
+
* @param data Model instance data
|
|
75
|
+
* @returns Connector Request was successful
|
|
76
|
+
* @throws ApiError
|
|
77
|
+
*/
|
|
78
|
+
static connectorCreate(data?: Connector): CancelablePromise<Connector>;
|
|
79
|
+
/**
|
|
80
|
+
* Patch an existing model instance or insert a new one into the data source.
|
|
81
|
+
* @param data Model instance data
|
|
82
|
+
* @returns Connector Request was successful
|
|
83
|
+
* @throws ApiError
|
|
84
|
+
*/
|
|
85
|
+
static connectorPatchOrCreate(data?: Connector): CancelablePromise<Connector>;
|
|
86
|
+
/**
|
|
87
|
+
* Replace an existing model instance or insert a new one into the data source.
|
|
88
|
+
* @param data Model instance data
|
|
89
|
+
* @returns Connector Request was successful
|
|
90
|
+
* @throws ApiError
|
|
91
|
+
*/
|
|
92
|
+
static connectorReplaceOrCreatePutConnectors(data?: Connector): CancelablePromise<Connector>;
|
|
93
|
+
/**
|
|
94
|
+
* Find all instances of the model matched by filter from the data source.
|
|
95
|
+
* @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.
|
|
96
|
+
* @returns Connector Request was successful
|
|
97
|
+
* @throws ApiError
|
|
98
|
+
*/
|
|
99
|
+
static connectorFind(filter?: string): CancelablePromise<Array<Connector>>;
|
|
100
|
+
/**
|
|
101
|
+
* Replace an existing model instance or insert a new one into the data source.
|
|
102
|
+
* @param data Model instance data
|
|
103
|
+
* @returns Connector Request was successful
|
|
104
|
+
* @throws ApiError
|
|
105
|
+
*/
|
|
106
|
+
static connectorReplaceOrCreatePostConnectorsReplaceOrCreate(data?: Connector): CancelablePromise<Connector>;
|
|
107
|
+
/**
|
|
108
|
+
* Update an existing model instance or insert a new one into the data source based on the where criteria.
|
|
109
|
+
* @param where Criteria to match model instances
|
|
110
|
+
* @param data An object of model property name/value pairs
|
|
111
|
+
* @returns Connector Request was successful
|
|
112
|
+
* @throws ApiError
|
|
113
|
+
*/
|
|
114
|
+
static connectorUpsertWithWhere(where?: string, data?: Connector): CancelablePromise<Connector>;
|
|
115
|
+
/**
|
|
116
|
+
* Check whether a model instance exists in the data source.
|
|
117
|
+
* @param id Model id
|
|
118
|
+
* @returns any Request was successful
|
|
119
|
+
* @throws ApiError
|
|
120
|
+
*/
|
|
121
|
+
static connectorExistsGetConnectorsIdExists(id: string): CancelablePromise<{
|
|
122
|
+
exists?: boolean;
|
|
123
|
+
}>;
|
|
124
|
+
/**
|
|
125
|
+
* Check whether a model instance exists in the data source.
|
|
126
|
+
* @param id Model id
|
|
127
|
+
* @returns any Request was successful
|
|
128
|
+
* @throws ApiError
|
|
129
|
+
*/
|
|
130
|
+
static connectorExistsHeadConnectorsId(id: string): CancelablePromise<{
|
|
131
|
+
exists?: boolean;
|
|
132
|
+
}>;
|
|
133
|
+
/**
|
|
134
|
+
* Find a model instance by {{id}} from the data source.
|
|
135
|
+
* @param id Model id
|
|
136
|
+
* @param filter Filter defining fields and include - must be a JSON-encoded string ({"something":"value"})
|
|
137
|
+
* @returns Connector Request was successful
|
|
138
|
+
* @throws ApiError
|
|
139
|
+
*/
|
|
140
|
+
static connectorFindById(id: string, filter?: string): CancelablePromise<Connector>;
|
|
141
|
+
/**
|
|
142
|
+
* Replace attributes for a model instance and persist it into the data source.
|
|
143
|
+
* @param id Model id
|
|
144
|
+
* @param data Model instance data
|
|
145
|
+
* @returns Connector Request was successful
|
|
146
|
+
* @throws ApiError
|
|
147
|
+
*/
|
|
148
|
+
static connectorReplaceByIdPutConnectorsId(id: string, data?: Connector): CancelablePromise<Connector>;
|
|
149
|
+
/**
|
|
150
|
+
* Delete a model instance by {{id}} from the data source.
|
|
151
|
+
* @param id Model id
|
|
152
|
+
* @returns any Request was successful
|
|
153
|
+
* @throws ApiError
|
|
154
|
+
*/
|
|
155
|
+
static connectorDeleteById(id: string): CancelablePromise<any>;
|
|
156
|
+
/**
|
|
157
|
+
* Patch attributes for a model instance and persist it into the data source.
|
|
158
|
+
* @param id Connector id
|
|
159
|
+
* @param data An object of model property name/value pairs
|
|
160
|
+
* @returns Connector Request was successful
|
|
161
|
+
* @throws ApiError
|
|
162
|
+
*/
|
|
163
|
+
static connectorPrototypePatchAttributes(id: string, data?: Connector): CancelablePromise<Connector>;
|
|
164
|
+
/**
|
|
165
|
+
* Replace attributes for a model instance and persist it into the data source.
|
|
166
|
+
* @param id Model id
|
|
167
|
+
* @param data Model instance data
|
|
168
|
+
* @returns Connector Request was successful
|
|
169
|
+
* @throws ApiError
|
|
170
|
+
*/
|
|
171
|
+
static connectorReplaceByIdPostConnectorsIdReplace(id: string, data?: Connector): CancelablePromise<Connector>;
|
|
172
|
+
/**
|
|
173
|
+
* Find first instance of the model matched by filter from the data source.
|
|
174
|
+
* @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.
|
|
175
|
+
* @returns Connector Request was successful
|
|
176
|
+
* @throws ApiError
|
|
177
|
+
*/
|
|
178
|
+
static connectorFindOne(filter?: string): CancelablePromise<Connector>;
|
|
179
|
+
/**
|
|
180
|
+
* Update instances of the model matched by {{where}} from the data source.
|
|
181
|
+
* @param where Criteria to match model instances
|
|
182
|
+
* @param data An object of model property name/value pairs
|
|
183
|
+
* @returns any Request was successful
|
|
184
|
+
* @throws ApiError
|
|
185
|
+
*/
|
|
186
|
+
static connectorUpdateAll(where?: string, data?: Connector): CancelablePromise<{
|
|
187
|
+
/**
|
|
188
|
+
* The number of instances updated
|
|
189
|
+
*/
|
|
190
|
+
count?: number;
|
|
191
|
+
}>;
|
|
192
|
+
/**
|
|
193
|
+
* Count instances of the model matched by where from the data source.
|
|
194
|
+
* @param where Criteria to match model instances
|
|
195
|
+
* @returns any Request was successful
|
|
196
|
+
* @throws ApiError
|
|
197
|
+
*/
|
|
198
|
+
static connectorCount(where?: string): CancelablePromise<{
|
|
199
|
+
count?: number;
|
|
200
|
+
}>;
|
|
201
|
+
}
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
import type { x_any } from '../models/x_any';
|
|
2
|
+
import type { CancelablePromise } from '../core/CancelablePromise';
|
|
3
|
+
export declare class ContainerService {
|
|
4
|
+
/**
|
|
5
|
+
* @returns x_any Request was successful
|
|
6
|
+
* @throws ApiError
|
|
7
|
+
*/
|
|
8
|
+
static containerGetContainers(): CancelablePromise<Array<x_any>>;
|
|
9
|
+
/**
|
|
10
|
+
* @param options
|
|
11
|
+
* @returns any Request was successful
|
|
12
|
+
* @throws ApiError
|
|
13
|
+
*/
|
|
14
|
+
static containerCreateContainer(options?: any): CancelablePromise<any>;
|
|
15
|
+
/**
|
|
16
|
+
* @param container
|
|
17
|
+
* @returns any Request was successful
|
|
18
|
+
* @throws ApiError
|
|
19
|
+
*/
|
|
20
|
+
static containerDestroyContainer(container: string): CancelablePromise<{
|
|
21
|
+
undefined?: any;
|
|
22
|
+
}>;
|
|
23
|
+
/**
|
|
24
|
+
* @param container
|
|
25
|
+
* @returns any Request was successful
|
|
26
|
+
* @throws ApiError
|
|
27
|
+
*/
|
|
28
|
+
static containerGetContainer(container: string): CancelablePromise<any>;
|
|
29
|
+
/**
|
|
30
|
+
* @param container
|
|
31
|
+
* @returns x_any Request was successful
|
|
32
|
+
* @throws ApiError
|
|
33
|
+
*/
|
|
34
|
+
static containerGetFiles(container: string): CancelablePromise<Array<x_any>>;
|
|
35
|
+
/**
|
|
36
|
+
* @param container
|
|
37
|
+
* @param file
|
|
38
|
+
* @returns any Request was successful
|
|
39
|
+
* @throws ApiError
|
|
40
|
+
*/
|
|
41
|
+
static containerGetFile(container: string, file: string): CancelablePromise<any>;
|
|
42
|
+
/**
|
|
43
|
+
* @param container
|
|
44
|
+
* @param file
|
|
45
|
+
* @returns any Request was successful
|
|
46
|
+
* @throws ApiError
|
|
47
|
+
*/
|
|
48
|
+
static containerRemoveFile(container: string, file: string): CancelablePromise<{
|
|
49
|
+
undefined?: any;
|
|
50
|
+
}>;
|
|
51
|
+
/**
|
|
52
|
+
* @param container
|
|
53
|
+
* @returns any Request was successful
|
|
54
|
+
* @throws ApiError
|
|
55
|
+
*/
|
|
56
|
+
static containerUpload(container: string): CancelablePromise<{
|
|
57
|
+
result?: any;
|
|
58
|
+
}>;
|
|
59
|
+
/**
|
|
60
|
+
* @param container
|
|
61
|
+
* @param file
|
|
62
|
+
* @returns void
|
|
63
|
+
* @throws ApiError
|
|
64
|
+
*/
|
|
65
|
+
static containerDownload(container: string, file: string): CancelablePromise<void>;
|
|
66
|
+
}
|
|
@@ -0,0 +1,115 @@
|
|
|
1
|
+
import type { ContentPackage } from '../models/ContentPackage';
|
|
2
|
+
import type { CancelablePromise } from '../core/CancelablePromise';
|
|
3
|
+
export declare class ContentPackageService {
|
|
4
|
+
/**
|
|
5
|
+
* Create a new instance of the model and persist it into the data source.
|
|
6
|
+
* @param data Model instance data
|
|
7
|
+
* @returns ContentPackage Request was successful
|
|
8
|
+
* @throws ApiError
|
|
9
|
+
*/
|
|
10
|
+
static contentPackageCreate(data?: ContentPackage): CancelablePromise<ContentPackage>;
|
|
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 ContentPackage Request was successful
|
|
15
|
+
* @throws ApiError
|
|
16
|
+
*/
|
|
17
|
+
static contentPackageFind(filter?: string): CancelablePromise<Array<ContentPackage>>;
|
|
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 ContentPackage Request was successful
|
|
22
|
+
* @throws ApiError
|
|
23
|
+
*/
|
|
24
|
+
static contentPackageFindOne(filter?: string): CancelablePromise<ContentPackage>;
|
|
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 contentPackageDeleteById(id: string): CancelablePromise<any>;
|
|
32
|
+
/**
|
|
33
|
+
* Patch attributes for a model instance and persist it into the data source.
|
|
34
|
+
* @param id ContentPackage id
|
|
35
|
+
* @param data An object of model property name/value pairs
|
|
36
|
+
* @returns ContentPackage Request was successful
|
|
37
|
+
* @throws ApiError
|
|
38
|
+
*/
|
|
39
|
+
static contentPackagePrototypePatchAttributes(id: string, data?: ContentPackage): CancelablePromise<ContentPackage>;
|
|
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 contentPackageCount(where?: string): CancelablePromise<{
|
|
47
|
+
count?: number;
|
|
48
|
+
}>;
|
|
49
|
+
/**
|
|
50
|
+
* @param obj
|
|
51
|
+
* @returns any Request was successful
|
|
52
|
+
* @throws ApiError
|
|
53
|
+
*/
|
|
54
|
+
static contentPackageGetRelinkVariants(obj?: string): CancelablePromise<{
|
|
55
|
+
result?: Array<any>;
|
|
56
|
+
}>;
|
|
57
|
+
/**
|
|
58
|
+
* @param obj
|
|
59
|
+
* @returns any Request was successful
|
|
60
|
+
* @throws ApiError
|
|
61
|
+
*/
|
|
62
|
+
static contentPackageReplaceToLink(obj?: string): CancelablePromise<{
|
|
63
|
+
result?: Array<any>;
|
|
64
|
+
}>;
|
|
65
|
+
/**
|
|
66
|
+
* @param options
|
|
67
|
+
* @returns any Request was successful
|
|
68
|
+
* @throws ApiError
|
|
69
|
+
*/
|
|
70
|
+
static contentPackageParseDocx(options?: string): CancelablePromise<{
|
|
71
|
+
result?: any;
|
|
72
|
+
}>;
|
|
73
|
+
/**
|
|
74
|
+
* @param name
|
|
75
|
+
* @param contentPackageId
|
|
76
|
+
* @returns any Request was successful
|
|
77
|
+
* @throws ApiError
|
|
78
|
+
*/
|
|
79
|
+
static contentPackageDuplicateContentPackage(name?: string, contentPackageId?: string): CancelablePromise<{
|
|
80
|
+
result?: string;
|
|
81
|
+
}>;
|
|
82
|
+
/**
|
|
83
|
+
* @param contentPackageId
|
|
84
|
+
* @param contentType
|
|
85
|
+
* @returns any Request was successful
|
|
86
|
+
* @throws ApiError
|
|
87
|
+
*/
|
|
88
|
+
static contentPackageGetContentPackage(contentPackageId: string, contentType: string): CancelablePromise<{
|
|
89
|
+
result?: any;
|
|
90
|
+
}>;
|
|
91
|
+
/**
|
|
92
|
+
* @param filter
|
|
93
|
+
* @returns any Request was successful
|
|
94
|
+
* @throws ApiError
|
|
95
|
+
*/
|
|
96
|
+
static contentPackageExportTranslations(filter: string): CancelablePromise<{
|
|
97
|
+
res?: any;
|
|
98
|
+
}>;
|
|
99
|
+
/**
|
|
100
|
+
* Uploads a file
|
|
101
|
+
* @param body
|
|
102
|
+
* @returns any Request was successful
|
|
103
|
+
* @throws ApiError
|
|
104
|
+
*/
|
|
105
|
+
static contentPackageImportTranslations(body?: any): CancelablePromise<{
|
|
106
|
+
res?: any;
|
|
107
|
+
}>;
|
|
108
|
+
/**
|
|
109
|
+
* @returns any Request was successful
|
|
110
|
+
* @throws ApiError
|
|
111
|
+
*/
|
|
112
|
+
static contentPackageMarkAsComplete(): CancelablePromise<{
|
|
113
|
+
res?: any;
|
|
114
|
+
}>;
|
|
115
|
+
}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import type { ContentPackageSession } from '../models/ContentPackageSession';
|
|
2
|
+
import type { x_any } from '../models/x_any';
|
|
3
|
+
import type { CancelablePromise } from '../core/CancelablePromise';
|
|
4
|
+
export declare class ContentPackageSessionService {
|
|
5
|
+
/**
|
|
6
|
+
* Find all instances of the model matched by filter from the data source.
|
|
7
|
+
* @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.
|
|
8
|
+
* @returns ContentPackageSession Request was successful
|
|
9
|
+
* @throws ApiError
|
|
10
|
+
*/
|
|
11
|
+
static contentPackageSessionFind(filter?: string): CancelablePromise<Array<ContentPackageSession>>;
|
|
12
|
+
/**
|
|
13
|
+
* Count instances of the model matched by where from the data source.
|
|
14
|
+
* @param where Criteria to match model instances
|
|
15
|
+
* @returns any Request was successful
|
|
16
|
+
* @throws ApiError
|
|
17
|
+
*/
|
|
18
|
+
static contentPackageSessionCount(where?: string): CancelablePromise<{
|
|
19
|
+
count?: number;
|
|
20
|
+
}>;
|
|
21
|
+
/**
|
|
22
|
+
* @param contentPackageSessionId
|
|
23
|
+
* @param scromId
|
|
24
|
+
* @returns x_any Request was successful
|
|
25
|
+
* @throws ApiError
|
|
26
|
+
*/
|
|
27
|
+
static contentPackageSessionCreateOrUpdateScromSessionIds(contentPackageSessionId?: string, scromId?: string): CancelablePromise<x_any>;
|
|
28
|
+
}
|