@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.
- package/dist/chunk-DNVJS7WW.js +20836 -0
- package/dist/chunk-FXXZNC42.js +726 -0
- package/dist/index.d.ts +34 -209
- package/dist/index.js +244 -27585
- package/dist/sdk/client/index.d.ts +39 -0
- package/dist/sdk/client/index.js +18 -0
- package/dist/sdk/sdk.gen.d.ts +34568 -0
- package/dist/sdk/sdk.gen.js +213 -0
- package/dist/types.gen-vDP9AbtO.d.ts +258 -0
- package/openapi-ts.config.ts +36 -0
- package/package.json +24 -74
- package/prettier.config.js +5 -0
- package/src/README.md +0 -0
- package/src/index.ts +219 -0
- package/src/sdk/client/client.gen.ts +199 -0
- package/src/sdk/client/index.ts +25 -0
- package/src/sdk/client/types.gen.ts +232 -0
- package/src/sdk/client/utils.gen.ts +424 -0
- package/src/sdk/client.gen.ts +28 -0
- package/src/sdk/core/auth.gen.ts +42 -0
- package/src/sdk/core/bodySerializer.gen.ts +90 -0
- package/src/sdk/core/params.gen.ts +153 -0
- package/src/sdk/core/pathSerializer.gen.ts +181 -0
- package/src/sdk/core/types.gen.ts +120 -0
- package/src/sdk/index.ts +3 -0
- package/src/sdk/schemas.gen.ts +6968 -0
- package/src/sdk/sdk.gen.ts +31790 -0
- package/src/sdk/transformers.gen.ts +8383 -0
- package/src/sdk/types.gen.ts +40708 -0
- package/src/smoke.ts +68 -0
- package/tsconfig.json +23 -0
- package/tsconfig.node.json +11 -0
- package/LICENSE +0 -19
- package/dist/core/ApiError.d.ts +0 -10
- package/dist/core/ApiRequestOptions.d.ts +0 -13
- package/dist/core/ApiResult.d.ts +0 -7
- package/dist/core/CancelablePromise.d.ts +0 -20
- package/dist/core/OpenAPI.d.ts +0 -16
- package/dist/core/request.d.ts +0 -30
- package/dist/index.d.mts +0 -15467
- package/dist/index.js.map +0 -1
- package/dist/index.mjs +0 -27586
- package/dist/index.mjs.map +0 -1
- package/dist/models/ACL.d.ts +0 -19
- package/dist/models/AIPrompt.d.ts +0 -13
- package/dist/models/AccessToken.d.ts +0 -12
- package/dist/models/ApiMethod.d.ts +0 -13
- package/dist/models/ApiMethodLog.d.ts +0 -14
- package/dist/models/BreakType.d.ts +0 -10
- package/dist/models/Catalog.d.ts +0 -16
- package/dist/models/Category.d.ts +0 -10
- package/dist/models/Certificate.d.ts +0 -12
- package/dist/models/CertificateMapping.d.ts +0 -11
- package/dist/models/Chapter.d.ts +0 -6
- package/dist/models/Comment.d.ts +0 -13
- package/dist/models/Configuration.d.ts +0 -16
- package/dist/models/Connection.d.ts +0 -10
- package/dist/models/Connector.d.ts +0 -9
- package/dist/models/ConnectorFunction.d.ts +0 -13
- package/dist/models/ContentPackage.d.ts +0 -24
- package/dist/models/ContentPackageSession.d.ts +0 -12
- package/dist/models/ContentPackageView.d.ts +0 -11
- package/dist/models/CustomField.d.ts +0 -18
- package/dist/models/Device.d.ts +0 -10
- package/dist/models/DeviceFamily.d.ts +0 -12
- package/dist/models/Document.d.ts +0 -24
- package/dist/models/Event.d.ts +0 -15
- package/dist/models/Field.d.ts +0 -33
- package/dist/models/FileParser.d.ts +0 -15
- package/dist/models/FileParserJob.d.ts +0 -12
- package/dist/models/FileParserStrategyJob.d.ts +0 -15
- package/dist/models/Folder.d.ts +0 -9
- package/dist/models/Form.d.ts +0 -35
- package/dist/models/FormData.d.ts +0 -55
- package/dist/models/FormDataComment.d.ts +0 -13
- package/dist/models/Forum.d.ts +0 -12
- package/dist/models/Gateway.d.ts +0 -17
- package/dist/models/Group.d.ts +0 -8
- package/dist/models/InventoryTransaction.d.ts +0 -19
- package/dist/models/Kit.d.ts +0 -17
- package/dist/models/List.d.ts +0 -10
- package/dist/models/ListItem.d.ts +0 -13
- package/dist/models/Location.d.ts +0 -13
- package/dist/models/Menus.d.ts +0 -10
- package/dist/models/NPS.d.ts +0 -16
- package/dist/models/Node.d.ts +0 -32
- package/dist/models/ObjectID.d.ts +0 -1
- package/dist/models/OpcUaServer.d.ts +0 -15
- package/dist/models/Operation.d.ts +0 -15
- package/dist/models/Pages.d.ts +0 -11
- package/dist/models/Part.d.ts +0 -10
- package/dist/models/PartAssembly.d.ts +0 -55
- package/dist/models/PartAssemblyDocument.d.ts +0 -9
- package/dist/models/Post.d.ts +0 -16
- package/dist/models/PrintPreset.d.ts +0 -26
- package/dist/models/PriorityLabel.d.ts +0 -12
- package/dist/models/ProductionEntity.d.ts +0 -18
- package/dist/models/ProductionEntityEvent.d.ts +0 -21
- package/dist/models/ProductionEntityMapping.d.ts +0 -16
- package/dist/models/ProductionEntityTransaction.d.ts +0 -19
- package/dist/models/ProductionEntityType.d.ts +0 -10
- package/dist/models/Project.d.ts +0 -10
- package/dist/models/Resource.d.ts +0 -26
- package/dist/models/ResourceMapping.d.ts +0 -9
- package/dist/models/Revision.d.ts +0 -8
- package/dist/models/Role.d.ts +0 -8
- package/dist/models/RoleMapping.d.ts +0 -17
- package/dist/models/Rule.d.ts +0 -11
- package/dist/models/ScromSession.d.ts +0 -11
- package/dist/models/Shift.d.ts +0 -26
- package/dist/models/ShiftType.d.ts +0 -28
- package/dist/models/Station.d.ts +0 -11
- package/dist/models/Stock.d.ts +0 -56
- package/dist/models/StockItem.d.ts +0 -7
- package/dist/models/SyncClients.d.ts +0 -12
- package/dist/models/SyncHistory.d.ts +0 -12
- package/dist/models/Table.d.ts +0 -11
- package/dist/models/TableSetup.d.ts +0 -18
- package/dist/models/TimeLog.d.ts +0 -7
- package/dist/models/TimeLogReport.d.ts +0 -29
- package/dist/models/Timeline.d.ts +0 -17
- package/dist/models/Tool.d.ts +0 -18
- package/dist/models/Translation.d.ts +0 -12
- package/dist/models/Unit.d.ts +0 -11
- package/dist/models/UpdateInfo.d.ts +0 -9
- package/dist/models/UserModel.d.ts +0 -70
- package/dist/models/UserPreferences.d.ts +0 -6
- package/dist/models/Variant.d.ts +0 -13
- package/dist/models/VoteMapping.d.ts +0 -12
- package/dist/models/Warehouse.d.ts +0 -9
- package/dist/models/Webhook.d.ts +0 -15
- package/dist/models/Wire.d.ts +0 -12
- package/dist/models/Wiringlist.d.ts +0 -15
- package/dist/models/Workflow.d.ts +0 -54
- package/dist/models/WorkflowDetails.d.ts +0 -9
- package/dist/models/WorkflowNote.d.ts +0 -18
- package/dist/models/WorkflowSessionItem.d.ts +0 -56
- package/dist/models/WorkflowType.d.ts +0 -17
- package/dist/models/Workorder.d.ts +0 -94
- package/dist/models/WorkorderAction.d.ts +0 -8
- package/dist/models/WorkorderStatus.d.ts +0 -22
- package/dist/models/WorkorderTemplate.d.ts +0 -23
- package/dist/models/meta.d.ts +0 -5
- package/dist/models/x_any.d.ts +0 -1
- package/dist/services/AclService.d.ts +0 -133
- package/dist/services/AiPromptService.d.ts +0 -133
- package/dist/services/AiService.d.ts +0 -12
- package/dist/services/ApiMethodLogService.d.ts +0 -133
- package/dist/services/ApiMethodService.d.ts +0 -140
- package/dist/services/BomService.d.ts +0 -18
- package/dist/services/BreakService.d.ts +0 -19
- package/dist/services/BreakTypeService.d.ts +0 -42
- package/dist/services/CatalogService.d.ts +0 -267
- package/dist/services/CategoryService.d.ts +0 -74
- package/dist/services/CertificateMappingService.d.ts +0 -60
- package/dist/services/CertificateService.d.ts +0 -74
- package/dist/services/ChapterService.d.ts +0 -34
- package/dist/services/CommentService.d.ts +0 -58
- package/dist/services/ConfigurationService.d.ts +0 -49
- package/dist/services/ConnectionService.d.ts +0 -20
- package/dist/services/ConnectorFunctionService.d.ts +0 -149
- package/dist/services/ConnectorService.d.ts +0 -201
- package/dist/services/ContainerService.d.ts +0 -66
- package/dist/services/ContentPackageService.d.ts +0 -115
- package/dist/services/ContentPackageSessionService.d.ts +0 -28
- package/dist/services/ContentPackageViewService.d.ts +0 -165
- package/dist/services/CustomFieldService.d.ts +0 -57
- package/dist/services/DeviceFamilyService.d.ts +0 -64
- package/dist/services/DeviceService.d.ts +0 -21
- package/dist/services/DigestEmailService.d.ts +0 -8
- package/dist/services/DocumentService.d.ts +0 -103
- package/dist/services/EventService.d.ts +0 -20
- package/dist/services/FieldService.d.ts +0 -86
- package/dist/services/FileParserJobService.d.ts +0 -49
- package/dist/services/FileParserService.d.ts +0 -78
- package/dist/services/FileParserStrategyJobService.d.ts +0 -49
- package/dist/services/FolderService.d.ts +0 -50
- package/dist/services/FormDataCommentService.d.ts +0 -159
- package/dist/services/FormDataService.d.ts +0 -242
- package/dist/services/FormService.d.ts +0 -82
- package/dist/services/ForumService.d.ts +0 -49
- package/dist/services/GatewayService.d.ts +0 -59
- package/dist/services/GroupService.d.ts +0 -50
- package/dist/services/IntegrationBuilderService.d.ts +0 -23
- package/dist/services/InventoryTransactionService.d.ts +0 -151
- package/dist/services/LastSeenResourceService.d.ts +0 -16
- package/dist/services/ListItemService.d.ts +0 -96
- package/dist/services/ListService.d.ts +0 -73
- package/dist/services/LocationService.d.ts +0 -80
- package/dist/services/MenusService.d.ts +0 -180
- package/dist/services/NodeService.d.ts +0 -383
- package/dist/services/NpsService.d.ts +0 -56
- package/dist/services/OpcUaServerService.d.ts +0 -182
- package/dist/services/OperationService.d.ts +0 -60
- package/dist/services/PagesService.d.ts +0 -151
- package/dist/services/PartAssemblyDocumentService.d.ts +0 -12
- package/dist/services/PartAssemblyService.d.ts +0 -400
- package/dist/services/PartService.d.ts +0 -133
- package/dist/services/PostService.d.ts +0 -56
- package/dist/services/PrintPresetService.d.ts +0 -155
- package/dist/services/PriorityLabelService.d.ts +0 -45
- package/dist/services/PriorityService.d.ts +0 -51
- package/dist/services/ProductionEntityEventService.d.ts +0 -169
- package/dist/services/ProductionEntityMappingService.d.ts +0 -142
- package/dist/services/ProductionEntityService.d.ts +0 -207
- package/dist/services/ProductionEntityTransactionService.d.ts +0 -142
- package/dist/services/ProductionEntityTypeService.d.ts +0 -151
- package/dist/services/ProjectService.d.ts +0 -142
- package/dist/services/PythonResultService.d.ts +0 -15
- package/dist/services/ResourceMappingService.d.ts +0 -133
- package/dist/services/ResourceService.d.ts +0 -264
- package/dist/services/RevisionService.d.ts +0 -62
- package/dist/services/RoleMappingService.d.ts +0 -151
- package/dist/services/RoleService.d.ts +0 -276
- package/dist/services/RuleService.d.ts +0 -217
- package/dist/services/ScromSessionService.d.ts +0 -18
- package/dist/services/SettingService.d.ts +0 -147
- package/dist/services/ShiftService.d.ts +0 -181
- package/dist/services/ShiftTypeService.d.ts +0 -142
- package/dist/services/StationService.d.ts +0 -50
- package/dist/services/StockService.d.ts +0 -766
- package/dist/services/SyncClientsService.d.ts +0 -142
- package/dist/services/SyncHistoryService.d.ts +0 -142
- package/dist/services/SyncService.d.ts +0 -89
- package/dist/services/TableService.d.ts +0 -154
- package/dist/services/TableSetupService.d.ts +0 -40
- package/dist/services/TimeLogReportService.d.ts +0 -87
- package/dist/services/TimelineService.d.ts +0 -73
- package/dist/services/ToolService.d.ts +0 -73
- package/dist/services/TranslationService.d.ts +0 -172
- package/dist/services/UnitService.d.ts +0 -182
- package/dist/services/UpdateInfoService.d.ts +0 -24
- package/dist/services/UserModelService.d.ts +0 -245
- package/dist/services/VariantService.d.ts +0 -42
- package/dist/services/VoteMappingService.d.ts +0 -19
- package/dist/services/WarehouseService.d.ts +0 -19
- package/dist/services/WebhookService.d.ts +0 -58
- package/dist/services/WireService.d.ts +0 -151
- package/dist/services/WiringlistService.d.ts +0 -340
- package/dist/services/WorkflowDetailsService.d.ts +0 -151
- package/dist/services/WorkflowNoteService.d.ts +0 -173
- package/dist/services/WorkflowService.d.ts +0 -976
- package/dist/services/WorkflowSessionItemRecordService.d.ts +0 -19
- package/dist/services/WorkflowSessionItemService.d.ts +0 -205
- package/dist/services/WorkflowTypeService.d.ts +0 -49
- package/dist/services/WorkorderService.d.ts +0 -1138
- package/dist/services/WorkorderStatusService.d.ts +0 -78
- package/dist/services/WorkorderTemplateService.d.ts +0 -49
- package/tsconfig.build.json +0 -14
|
@@ -1,180 +0,0 @@
|
|
|
1
|
-
import type { Menus } from '../models/Menus';
|
|
2
|
-
import type { UserModel } from '../models/UserModel';
|
|
3
|
-
import type { CancelablePromise } from '../core/CancelablePromise';
|
|
4
|
-
export declare class MenusService {
|
|
5
|
-
/**
|
|
6
|
-
* Fetches belongsTo relation user.
|
|
7
|
-
* @param id Menus id
|
|
8
|
-
* @param refresh
|
|
9
|
-
* @returns UserModel Request was successful
|
|
10
|
-
* @throws ApiError
|
|
11
|
-
*/
|
|
12
|
-
static menusPrototypeGetUser(id: string, refresh?: boolean): CancelablePromise<UserModel>;
|
|
13
|
-
/**
|
|
14
|
-
* Create a new instance of the model and persist it into the data source.
|
|
15
|
-
* @param data Model instance data
|
|
16
|
-
* @returns Menus Request was successful
|
|
17
|
-
* @throws ApiError
|
|
18
|
-
*/
|
|
19
|
-
static menusCreate(data?: Menus): CancelablePromise<Menus>;
|
|
20
|
-
/**
|
|
21
|
-
* Patch an existing model instance or insert a new one into the data source.
|
|
22
|
-
* @param data Model instance data
|
|
23
|
-
* @returns Menus Request was successful
|
|
24
|
-
* @throws ApiError
|
|
25
|
-
*/
|
|
26
|
-
static menusPatchOrCreate(data?: Menus): CancelablePromise<Menus>;
|
|
27
|
-
/**
|
|
28
|
-
* Replace an existing model instance or insert a new one into the data source.
|
|
29
|
-
* @param data Model instance data
|
|
30
|
-
* @returns Menus Request was successful
|
|
31
|
-
* @throws ApiError
|
|
32
|
-
*/
|
|
33
|
-
static menusReplaceOrCreatePutMenus(data?: Menus): CancelablePromise<Menus>;
|
|
34
|
-
/**
|
|
35
|
-
* Find all instances of the model matched by filter from the data source.
|
|
36
|
-
* @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.
|
|
37
|
-
* @returns Menus Request was successful
|
|
38
|
-
* @throws ApiError
|
|
39
|
-
*/
|
|
40
|
-
static menusFind(filter?: string): CancelablePromise<Array<Menus>>;
|
|
41
|
-
/**
|
|
42
|
-
* Replace an existing model instance or insert a new one into the data source.
|
|
43
|
-
* @param data Model instance data
|
|
44
|
-
* @returns Menus Request was successful
|
|
45
|
-
* @throws ApiError
|
|
46
|
-
*/
|
|
47
|
-
static menusReplaceOrCreatePostMenusReplaceOrCreate(data?: Menus): CancelablePromise<Menus>;
|
|
48
|
-
/**
|
|
49
|
-
* Update an existing model instance or insert a new one into the data source based on the where criteria.
|
|
50
|
-
* @param where Criteria to match model instances
|
|
51
|
-
* @param data An object of model property name/value pairs
|
|
52
|
-
* @returns Menus Request was successful
|
|
53
|
-
* @throws ApiError
|
|
54
|
-
*/
|
|
55
|
-
static menusUpsertWithWhere(where?: string, data?: Menus): CancelablePromise<Menus>;
|
|
56
|
-
/**
|
|
57
|
-
* Check whether a model instance exists in the data source.
|
|
58
|
-
* @param id Model id
|
|
59
|
-
* @returns any Request was successful
|
|
60
|
-
* @throws ApiError
|
|
61
|
-
*/
|
|
62
|
-
static menusExistsGetMenusIdExists(id: string): CancelablePromise<{
|
|
63
|
-
exists?: boolean;
|
|
64
|
-
}>;
|
|
65
|
-
/**
|
|
66
|
-
* Check whether a model instance exists in the data source.
|
|
67
|
-
* @param id Model id
|
|
68
|
-
* @returns any Request was successful
|
|
69
|
-
* @throws ApiError
|
|
70
|
-
*/
|
|
71
|
-
static menusExistsHeadMenusId(id: string): CancelablePromise<{
|
|
72
|
-
exists?: boolean;
|
|
73
|
-
}>;
|
|
74
|
-
/**
|
|
75
|
-
* Find a model instance by {{id}} from the data source.
|
|
76
|
-
* @param id Model id
|
|
77
|
-
* @param filter Filter defining fields and include - must be a JSON-encoded string ({"something":"value"})
|
|
78
|
-
* @returns Menus Request was successful
|
|
79
|
-
* @throws ApiError
|
|
80
|
-
*/
|
|
81
|
-
static menusFindById(id: string, filter?: string): CancelablePromise<Menus>;
|
|
82
|
-
/**
|
|
83
|
-
* Replace attributes for a model instance and persist it into the data source.
|
|
84
|
-
* @param id Model id
|
|
85
|
-
* @param data Model instance data
|
|
86
|
-
* @returns Menus Request was successful
|
|
87
|
-
* @throws ApiError
|
|
88
|
-
*/
|
|
89
|
-
static menusReplaceByIdPutMenusId(id: string, data?: Menus): CancelablePromise<Menus>;
|
|
90
|
-
/**
|
|
91
|
-
* Delete a model instance by {{id}} from the data source.
|
|
92
|
-
* @param id Model id
|
|
93
|
-
* @returns any Request was successful
|
|
94
|
-
* @throws ApiError
|
|
95
|
-
*/
|
|
96
|
-
static menusDeleteById(id: string): CancelablePromise<any>;
|
|
97
|
-
/**
|
|
98
|
-
* Patch attributes for a model instance and persist it into the data source.
|
|
99
|
-
* @param id Menus id
|
|
100
|
-
* @param data An object of model property name/value pairs
|
|
101
|
-
* @returns Menus Request was successful
|
|
102
|
-
* @throws ApiError
|
|
103
|
-
*/
|
|
104
|
-
static menusPrototypePatchAttributes(id: string, data?: Menus): CancelablePromise<Menus>;
|
|
105
|
-
/**
|
|
106
|
-
* Replace attributes for a model instance and persist it into the data source.
|
|
107
|
-
* @param id Model id
|
|
108
|
-
* @param data Model instance data
|
|
109
|
-
* @returns Menus Request was successful
|
|
110
|
-
* @throws ApiError
|
|
111
|
-
*/
|
|
112
|
-
static menusReplaceByIdPostMenusIdReplace(id: string, data?: Menus): CancelablePromise<Menus>;
|
|
113
|
-
/**
|
|
114
|
-
* Find first instance of the model matched by filter from the data source.
|
|
115
|
-
* @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.
|
|
116
|
-
* @returns Menus Request was successful
|
|
117
|
-
* @throws ApiError
|
|
118
|
-
*/
|
|
119
|
-
static menusFindOne(filter?: string): CancelablePromise<Menus>;
|
|
120
|
-
/**
|
|
121
|
-
* Update instances of the model matched by {{where}} from the data source.
|
|
122
|
-
* @param where Criteria to match model instances
|
|
123
|
-
* @param data An object of model property name/value pairs
|
|
124
|
-
* @returns any Request was successful
|
|
125
|
-
* @throws ApiError
|
|
126
|
-
*/
|
|
127
|
-
static menusUpdateAll(where?: string, data?: Menus): CancelablePromise<{
|
|
128
|
-
/**
|
|
129
|
-
* The number of instances updated
|
|
130
|
-
*/
|
|
131
|
-
count?: number;
|
|
132
|
-
}>;
|
|
133
|
-
/**
|
|
134
|
-
* Count instances of the model matched by where from the data source.
|
|
135
|
-
* @param where Criteria to match model instances
|
|
136
|
-
* @returns any Request was successful
|
|
137
|
-
* @throws ApiError
|
|
138
|
-
*/
|
|
139
|
-
static menusCount(where?: string): CancelablePromise<{
|
|
140
|
-
count?: number;
|
|
141
|
-
}>;
|
|
142
|
-
/**
|
|
143
|
-
* @param baseId
|
|
144
|
-
* @param menu
|
|
145
|
-
* @returns any Request was successful
|
|
146
|
-
* @throws ApiError
|
|
147
|
-
*/
|
|
148
|
-
static menusUpsertBaseMenu(baseId?: string, menu?: string): CancelablePromise<any>;
|
|
149
|
-
/**
|
|
150
|
-
* @param filter
|
|
151
|
-
* @returns any Request was successful
|
|
152
|
-
* @throws ApiError
|
|
153
|
-
*/
|
|
154
|
-
static menusExportTranslations(filter: string): CancelablePromise<{
|
|
155
|
-
res?: any;
|
|
156
|
-
}>;
|
|
157
|
-
/**
|
|
158
|
-
* Uploads a file
|
|
159
|
-
* @param body
|
|
160
|
-
* @returns any Request was successful
|
|
161
|
-
* @throws ApiError
|
|
162
|
-
*/
|
|
163
|
-
static menusImportTranslations(body?: any): CancelablePromise<{
|
|
164
|
-
res?: any;
|
|
165
|
-
}>;
|
|
166
|
-
/**
|
|
167
|
-
* @returns any Request was successful
|
|
168
|
-
* @throws ApiError
|
|
169
|
-
*/
|
|
170
|
-
static menusMarkAsComplete(): CancelablePromise<{
|
|
171
|
-
res?: any;
|
|
172
|
-
}>;
|
|
173
|
-
/**
|
|
174
|
-
* @returns any Request was successful
|
|
175
|
-
* @throws ApiError
|
|
176
|
-
*/
|
|
177
|
-
static menusMarkAsIncomplete(): CancelablePromise<{
|
|
178
|
-
res?: any;
|
|
179
|
-
}>;
|
|
180
|
-
}
|
|
@@ -1,383 +0,0 @@
|
|
|
1
|
-
import type { Field } from '../models/Field';
|
|
2
|
-
import type { ListItem } from '../models/ListItem';
|
|
3
|
-
import type { Location } from '../models/Location';
|
|
4
|
-
import type { Resource } from '../models/Resource';
|
|
5
|
-
import type { Tool } from '../models/Tool';
|
|
6
|
-
import type { CancelablePromise } from '../core/CancelablePromise';
|
|
7
|
-
export declare class NodeService {
|
|
8
|
-
/**
|
|
9
|
-
* Find a related item by id for resources.
|
|
10
|
-
* @param id Node id
|
|
11
|
-
* @param fk Foreign key for resources
|
|
12
|
-
* @returns Resource Request was successful
|
|
13
|
-
* @throws ApiError
|
|
14
|
-
*/
|
|
15
|
-
static nodePrototypeFindByIdResources(id: string, fk: string): CancelablePromise<Resource>;
|
|
16
|
-
/**
|
|
17
|
-
* Delete a related item by id for resources.
|
|
18
|
-
* @param id Node id
|
|
19
|
-
* @param fk Foreign key for resources
|
|
20
|
-
* @returns void
|
|
21
|
-
* @throws ApiError
|
|
22
|
-
*/
|
|
23
|
-
static nodePrototypeDestroyByIdResources(id: string, fk: string): CancelablePromise<void>;
|
|
24
|
-
/**
|
|
25
|
-
* Update a related item by id for resources.
|
|
26
|
-
* @param id Node id
|
|
27
|
-
* @param fk Foreign key for resources
|
|
28
|
-
* @param data
|
|
29
|
-
* @returns Resource Request was successful
|
|
30
|
-
* @throws ApiError
|
|
31
|
-
*/
|
|
32
|
-
static nodePrototypeUpdateByIdResources(id: string, fk: string, data?: Resource): CancelablePromise<Resource>;
|
|
33
|
-
/**
|
|
34
|
-
* Add a related item by id for resources.
|
|
35
|
-
* @param id Node id
|
|
36
|
-
* @param fk Foreign key for resources
|
|
37
|
-
* @returns Resource Request was successful
|
|
38
|
-
* @throws ApiError
|
|
39
|
-
*/
|
|
40
|
-
static nodePrototypeLinkResources(id: string, fk: string): CancelablePromise<Resource>;
|
|
41
|
-
/**
|
|
42
|
-
* Remove the resources relation to an item by id.
|
|
43
|
-
* @param id Node id
|
|
44
|
-
* @param fk Foreign key for resources
|
|
45
|
-
* @returns void
|
|
46
|
-
* @throws ApiError
|
|
47
|
-
*/
|
|
48
|
-
static nodePrototypeUnlinkResources(id: string, fk: string): CancelablePromise<void>;
|
|
49
|
-
/**
|
|
50
|
-
* Check the existence of resources relation to an item by id.
|
|
51
|
-
* @param id Node id
|
|
52
|
-
* @param fk Foreign key for resources
|
|
53
|
-
* @returns boolean Request was successful
|
|
54
|
-
* @throws ApiError
|
|
55
|
-
*/
|
|
56
|
-
static nodePrototypeExistsResources(id: string, fk: string): CancelablePromise<boolean>;
|
|
57
|
-
/**
|
|
58
|
-
* Fetches belongsTo relation locations.
|
|
59
|
-
* @param id Node id
|
|
60
|
-
* @param refresh
|
|
61
|
-
* @returns Location Request was successful
|
|
62
|
-
* @throws ApiError
|
|
63
|
-
*/
|
|
64
|
-
static nodePrototypeGetLocations(id: string, refresh?: boolean): CancelablePromise<Location>;
|
|
65
|
-
/**
|
|
66
|
-
* Find a related item by id for tools.
|
|
67
|
-
* @param id Node id
|
|
68
|
-
* @param fk Foreign key for tools
|
|
69
|
-
* @returns Tool Request was successful
|
|
70
|
-
* @throws ApiError
|
|
71
|
-
*/
|
|
72
|
-
static nodePrototypeFindByIdTools(id: string, fk: string): CancelablePromise<Tool>;
|
|
73
|
-
/**
|
|
74
|
-
* Delete a related item by id for tools.
|
|
75
|
-
* @param id Node id
|
|
76
|
-
* @param fk Foreign key for tools
|
|
77
|
-
* @returns void
|
|
78
|
-
* @throws ApiError
|
|
79
|
-
*/
|
|
80
|
-
static nodePrototypeDestroyByIdTools(id: string, fk: string): CancelablePromise<void>;
|
|
81
|
-
/**
|
|
82
|
-
* Update a related item by id for tools.
|
|
83
|
-
* @param id Node id
|
|
84
|
-
* @param fk Foreign key for tools
|
|
85
|
-
* @param data
|
|
86
|
-
* @returns Tool Request was successful
|
|
87
|
-
* @throws ApiError
|
|
88
|
-
*/
|
|
89
|
-
static nodePrototypeUpdateByIdTools(id: string, fk: string, data?: Tool): CancelablePromise<Tool>;
|
|
90
|
-
/**
|
|
91
|
-
* Add a related item by id for tools.
|
|
92
|
-
* @param id Node id
|
|
93
|
-
* @param fk Foreign key for tools
|
|
94
|
-
* @returns Tool Request was successful
|
|
95
|
-
* @throws ApiError
|
|
96
|
-
*/
|
|
97
|
-
static nodePrototypeLinkTools(id: string, fk: string): CancelablePromise<Tool>;
|
|
98
|
-
/**
|
|
99
|
-
* Remove the tools relation to an item by id.
|
|
100
|
-
* @param id Node id
|
|
101
|
-
* @param fk Foreign key for tools
|
|
102
|
-
* @returns void
|
|
103
|
-
* @throws ApiError
|
|
104
|
-
*/
|
|
105
|
-
static nodePrototypeUnlinkTools(id: string, fk: string): CancelablePromise<void>;
|
|
106
|
-
/**
|
|
107
|
-
* Check the existence of tools relation to an item by id.
|
|
108
|
-
* @param id Node id
|
|
109
|
-
* @param fk Foreign key for tools
|
|
110
|
-
* @returns boolean Request was successful
|
|
111
|
-
* @throws ApiError
|
|
112
|
-
*/
|
|
113
|
-
static nodePrototypeExistsTools(id: string, fk: string): CancelablePromise<boolean>;
|
|
114
|
-
/**
|
|
115
|
-
* Find a related item by id for fields.
|
|
116
|
-
* @param id Node id
|
|
117
|
-
* @param fk Foreign key for fields
|
|
118
|
-
* @returns Field Request was successful
|
|
119
|
-
* @throws ApiError
|
|
120
|
-
*/
|
|
121
|
-
static nodePrototypeFindByIdFields(id: string, fk: string): CancelablePromise<Field>;
|
|
122
|
-
/**
|
|
123
|
-
* Delete a related item by id for fields.
|
|
124
|
-
* @param id Node id
|
|
125
|
-
* @param fk Foreign key for fields
|
|
126
|
-
* @returns void
|
|
127
|
-
* @throws ApiError
|
|
128
|
-
*/
|
|
129
|
-
static nodePrototypeDestroyByIdFields(id: string, fk: string): CancelablePromise<void>;
|
|
130
|
-
/**
|
|
131
|
-
* Update a related item by id for fields.
|
|
132
|
-
* @param id Node id
|
|
133
|
-
* @param fk Foreign key for fields
|
|
134
|
-
* @param data
|
|
135
|
-
* @returns Field Request was successful
|
|
136
|
-
* @throws ApiError
|
|
137
|
-
*/
|
|
138
|
-
static nodePrototypeUpdateByIdFields(id: string, fk: string, data?: Field): CancelablePromise<Field>;
|
|
139
|
-
/**
|
|
140
|
-
* Add a related item by id for fields.
|
|
141
|
-
* @param id Node id
|
|
142
|
-
* @param fk Foreign key for fields
|
|
143
|
-
* @returns Field Request was successful
|
|
144
|
-
* @throws ApiError
|
|
145
|
-
*/
|
|
146
|
-
static nodePrototypeLinkFields(id: string, fk: string): CancelablePromise<Field>;
|
|
147
|
-
/**
|
|
148
|
-
* Remove the fields relation to an item by id.
|
|
149
|
-
* @param id Node id
|
|
150
|
-
* @param fk Foreign key for fields
|
|
151
|
-
* @returns void
|
|
152
|
-
* @throws ApiError
|
|
153
|
-
*/
|
|
154
|
-
static nodePrototypeUnlinkFields(id: string, fk: string): CancelablePromise<void>;
|
|
155
|
-
/**
|
|
156
|
-
* Check the existence of fields relation to an item by id.
|
|
157
|
-
* @param id Node id
|
|
158
|
-
* @param fk Foreign key for fields
|
|
159
|
-
* @returns boolean Request was successful
|
|
160
|
-
* @throws ApiError
|
|
161
|
-
*/
|
|
162
|
-
static nodePrototypeExistsFields(id: string, fk: string): CancelablePromise<boolean>;
|
|
163
|
-
/**
|
|
164
|
-
* Find a related item by id for listItems.
|
|
165
|
-
* @param id Node id
|
|
166
|
-
* @param fk Foreign key for listItems
|
|
167
|
-
* @returns ListItem Request was successful
|
|
168
|
-
* @throws ApiError
|
|
169
|
-
*/
|
|
170
|
-
static nodePrototypeFindByIdListItems(id: string, fk: string): CancelablePromise<ListItem>;
|
|
171
|
-
/**
|
|
172
|
-
* Delete a related item by id for listItems.
|
|
173
|
-
* @param id Node id
|
|
174
|
-
* @param fk Foreign key for listItems
|
|
175
|
-
* @returns void
|
|
176
|
-
* @throws ApiError
|
|
177
|
-
*/
|
|
178
|
-
static nodePrototypeDestroyByIdListItems(id: string, fk: string): CancelablePromise<void>;
|
|
179
|
-
/**
|
|
180
|
-
* Update a related item by id for listItems.
|
|
181
|
-
* @param id Node id
|
|
182
|
-
* @param fk Foreign key for listItems
|
|
183
|
-
* @param data
|
|
184
|
-
* @returns ListItem Request was successful
|
|
185
|
-
* @throws ApiError
|
|
186
|
-
*/
|
|
187
|
-
static nodePrototypeUpdateByIdListItems(id: string, fk: string, data?: ListItem): CancelablePromise<ListItem>;
|
|
188
|
-
/**
|
|
189
|
-
* Add a related item by id for listItems.
|
|
190
|
-
* @param id Node id
|
|
191
|
-
* @param fk Foreign key for listItems
|
|
192
|
-
* @returns ListItem Request was successful
|
|
193
|
-
* @throws ApiError
|
|
194
|
-
*/
|
|
195
|
-
static nodePrototypeLinkListItems(id: string, fk: string): CancelablePromise<ListItem>;
|
|
196
|
-
/**
|
|
197
|
-
* Remove the listItems relation to an item by id.
|
|
198
|
-
* @param id Node id
|
|
199
|
-
* @param fk Foreign key for listItems
|
|
200
|
-
* @returns void
|
|
201
|
-
* @throws ApiError
|
|
202
|
-
*/
|
|
203
|
-
static nodePrototypeUnlinkListItems(id: string, fk: string): CancelablePromise<void>;
|
|
204
|
-
/**
|
|
205
|
-
* Check the existence of listItems relation to an item by id.
|
|
206
|
-
* @param id Node id
|
|
207
|
-
* @param fk Foreign key for listItems
|
|
208
|
-
* @returns boolean Request was successful
|
|
209
|
-
* @throws ApiError
|
|
210
|
-
*/
|
|
211
|
-
static nodePrototypeExistsListItems(id: string, fk: string): CancelablePromise<boolean>;
|
|
212
|
-
/**
|
|
213
|
-
* Fetches belongsTo relation resource.
|
|
214
|
-
* @param id Node id
|
|
215
|
-
* @param refresh
|
|
216
|
-
* @returns Resource Request was successful
|
|
217
|
-
* @throws ApiError
|
|
218
|
-
*/
|
|
219
|
-
static nodePrototypeGetResource(id: string, refresh?: boolean): CancelablePromise<Resource>;
|
|
220
|
-
/**
|
|
221
|
-
* Queries resources of Node.
|
|
222
|
-
* @param id Node id
|
|
223
|
-
* @param filter
|
|
224
|
-
* @returns Resource Request was successful
|
|
225
|
-
* @throws ApiError
|
|
226
|
-
*/
|
|
227
|
-
static nodePrototypeGetResources(id: string, filter?: string): CancelablePromise<Array<Resource>>;
|
|
228
|
-
/**
|
|
229
|
-
* Creates a new instance in resources of this model.
|
|
230
|
-
* @param id Node id
|
|
231
|
-
* @param data
|
|
232
|
-
* @returns Resource Request was successful
|
|
233
|
-
* @throws ApiError
|
|
234
|
-
*/
|
|
235
|
-
static nodePrototypeCreateResources(id: string, data?: Resource): CancelablePromise<Resource>;
|
|
236
|
-
/**
|
|
237
|
-
* Deletes all resources of this model.
|
|
238
|
-
* @param id Node id
|
|
239
|
-
* @returns void
|
|
240
|
-
* @throws ApiError
|
|
241
|
-
*/
|
|
242
|
-
static nodePrototypeDeleteResources(id: string): CancelablePromise<void>;
|
|
243
|
-
/**
|
|
244
|
-
* Counts resources of Node.
|
|
245
|
-
* @param id Node id
|
|
246
|
-
* @param where Criteria to match model instances
|
|
247
|
-
* @returns any Request was successful
|
|
248
|
-
* @throws ApiError
|
|
249
|
-
*/
|
|
250
|
-
static nodePrototypeCountResources(id: string, where?: string): CancelablePromise<{
|
|
251
|
-
count?: number;
|
|
252
|
-
}>;
|
|
253
|
-
/**
|
|
254
|
-
* Queries tools of Node.
|
|
255
|
-
* @param id Node id
|
|
256
|
-
* @param filter
|
|
257
|
-
* @returns Tool Request was successful
|
|
258
|
-
* @throws ApiError
|
|
259
|
-
*/
|
|
260
|
-
static nodePrototypeGetTools(id: string, filter?: string): CancelablePromise<Array<Tool>>;
|
|
261
|
-
/**
|
|
262
|
-
* Creates a new instance in tools of this model.
|
|
263
|
-
* @param id Node id
|
|
264
|
-
* @param data
|
|
265
|
-
* @returns Tool Request was successful
|
|
266
|
-
* @throws ApiError
|
|
267
|
-
*/
|
|
268
|
-
static nodePrototypeCreateTools(id: string, data?: Tool): CancelablePromise<Tool>;
|
|
269
|
-
/**
|
|
270
|
-
* Deletes all tools of this model.
|
|
271
|
-
* @param id Node id
|
|
272
|
-
* @returns void
|
|
273
|
-
* @throws ApiError
|
|
274
|
-
*/
|
|
275
|
-
static nodePrototypeDeleteTools(id: string): CancelablePromise<void>;
|
|
276
|
-
/**
|
|
277
|
-
* Counts tools of Node.
|
|
278
|
-
* @param id Node id
|
|
279
|
-
* @param where Criteria to match model instances
|
|
280
|
-
* @returns any Request was successful
|
|
281
|
-
* @throws ApiError
|
|
282
|
-
*/
|
|
283
|
-
static nodePrototypeCountTools(id: string, where?: string): CancelablePromise<{
|
|
284
|
-
count?: number;
|
|
285
|
-
}>;
|
|
286
|
-
/**
|
|
287
|
-
* Queries fields of Node.
|
|
288
|
-
* @param id Node id
|
|
289
|
-
* @param filter
|
|
290
|
-
* @returns Field Request was successful
|
|
291
|
-
* @throws ApiError
|
|
292
|
-
*/
|
|
293
|
-
static nodePrototypeGetFields(id: string, filter?: string): CancelablePromise<Array<Field>>;
|
|
294
|
-
/**
|
|
295
|
-
* Creates a new instance in fields of this model.
|
|
296
|
-
* @param id Node id
|
|
297
|
-
* @param data
|
|
298
|
-
* @returns Field Request was successful
|
|
299
|
-
* @throws ApiError
|
|
300
|
-
*/
|
|
301
|
-
static nodePrototypeCreateFields(id: string, data?: Field): CancelablePromise<Field>;
|
|
302
|
-
/**
|
|
303
|
-
* Deletes all fields of this model.
|
|
304
|
-
* @param id Node id
|
|
305
|
-
* @returns void
|
|
306
|
-
* @throws ApiError
|
|
307
|
-
*/
|
|
308
|
-
static nodePrototypeDeleteFields(id: string): CancelablePromise<void>;
|
|
309
|
-
/**
|
|
310
|
-
* Counts fields of Node.
|
|
311
|
-
* @param id Node id
|
|
312
|
-
* @param where Criteria to match model instances
|
|
313
|
-
* @returns any Request was successful
|
|
314
|
-
* @throws ApiError
|
|
315
|
-
*/
|
|
316
|
-
static nodePrototypeCountFields(id: string, where?: string): CancelablePromise<{
|
|
317
|
-
count?: number;
|
|
318
|
-
}>;
|
|
319
|
-
/**
|
|
320
|
-
* Queries listItems of Node.
|
|
321
|
-
* @param id Node id
|
|
322
|
-
* @param filter
|
|
323
|
-
* @returns ListItem Request was successful
|
|
324
|
-
* @throws ApiError
|
|
325
|
-
*/
|
|
326
|
-
static nodePrototypeGetListItems(id: string, filter?: string): CancelablePromise<Array<ListItem>>;
|
|
327
|
-
/**
|
|
328
|
-
* Creates a new instance in listItems of this model.
|
|
329
|
-
* @param id Node id
|
|
330
|
-
* @param data
|
|
331
|
-
* @returns ListItem Request was successful
|
|
332
|
-
* @throws ApiError
|
|
333
|
-
*/
|
|
334
|
-
static nodePrototypeCreateListItems(id: string, data?: ListItem): CancelablePromise<ListItem>;
|
|
335
|
-
/**
|
|
336
|
-
* Deletes all listItems of this model.
|
|
337
|
-
* @param id Node id
|
|
338
|
-
* @returns void
|
|
339
|
-
* @throws ApiError
|
|
340
|
-
*/
|
|
341
|
-
static nodePrototypeDeleteListItems(id: string): CancelablePromise<void>;
|
|
342
|
-
/**
|
|
343
|
-
* Counts listItems of Node.
|
|
344
|
-
* @param id Node id
|
|
345
|
-
* @param where Criteria to match model instances
|
|
346
|
-
* @returns any Request was successful
|
|
347
|
-
* @throws ApiError
|
|
348
|
-
*/
|
|
349
|
-
static nodePrototypeCountListItems(id: string, where?: string): CancelablePromise<{
|
|
350
|
-
count?: number;
|
|
351
|
-
}>;
|
|
352
|
-
/**
|
|
353
|
-
* @param filter
|
|
354
|
-
* @returns any Request was successful
|
|
355
|
-
* @throws ApiError
|
|
356
|
-
*/
|
|
357
|
-
static nodeExportTranslations(filter: string): CancelablePromise<{
|
|
358
|
-
res?: any;
|
|
359
|
-
}>;
|
|
360
|
-
/**
|
|
361
|
-
* Uploads a file
|
|
362
|
-
* @param body
|
|
363
|
-
* @returns any Request was successful
|
|
364
|
-
* @throws ApiError
|
|
365
|
-
*/
|
|
366
|
-
static nodeImportTranslations(body?: any): CancelablePromise<{
|
|
367
|
-
res?: any;
|
|
368
|
-
}>;
|
|
369
|
-
/**
|
|
370
|
-
* @returns any Request was successful
|
|
371
|
-
* @throws ApiError
|
|
372
|
-
*/
|
|
373
|
-
static nodeMarkAsComplete(): CancelablePromise<{
|
|
374
|
-
res?: any;
|
|
375
|
-
}>;
|
|
376
|
-
/**
|
|
377
|
-
* @returns any Request was successful
|
|
378
|
-
* @throws ApiError
|
|
379
|
-
*/
|
|
380
|
-
static nodeMarkAsIncomplete(): CancelablePromise<{
|
|
381
|
-
res?: any;
|
|
382
|
-
}>;
|
|
383
|
-
}
|
|
@@ -1,56 +0,0 @@
|
|
|
1
|
-
import type { NPS } from '../models/NPS';
|
|
2
|
-
import type { x_any } from '../models/x_any';
|
|
3
|
-
import type { CancelablePromise } from '../core/CancelablePromise';
|
|
4
|
-
export declare class NpsService {
|
|
5
|
-
/**
|
|
6
|
-
* Create a new instance of the model and persist it into the data source.
|
|
7
|
-
* @param data Model instance data
|
|
8
|
-
* @returns NPS Request was successful
|
|
9
|
-
* @throws ApiError
|
|
10
|
-
*/
|
|
11
|
-
static npsCreate(data?: NPS): CancelablePromise<NPS>;
|
|
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 NPS Request was successful
|
|
16
|
-
* @throws ApiError
|
|
17
|
-
*/
|
|
18
|
-
static npsFind(filter?: string): CancelablePromise<Array<NPS>>;
|
|
19
|
-
/**
|
|
20
|
-
* Find first instance of the model matched by filter from the data source.
|
|
21
|
-
* @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.
|
|
22
|
-
* @returns NPS Request was successful
|
|
23
|
-
* @throws ApiError
|
|
24
|
-
*/
|
|
25
|
-
static npsFindOne(filter?: string): CancelablePromise<NPS>;
|
|
26
|
-
/**
|
|
27
|
-
* Count instances of the model matched by where from the data source.
|
|
28
|
-
* @param where Criteria to match model instances
|
|
29
|
-
* @returns any Request was successful
|
|
30
|
-
* @throws ApiError
|
|
31
|
-
*/
|
|
32
|
-
static npsCount(where?: string): CancelablePromise<{
|
|
33
|
-
count?: number;
|
|
34
|
-
}>;
|
|
35
|
-
/**
|
|
36
|
-
* Patch attributes for a model instance and persist it into the data source.
|
|
37
|
-
* @param id NPS id
|
|
38
|
-
* @param data An object of model property name/value pairs
|
|
39
|
-
* @returns NPS Request was successful
|
|
40
|
-
* @throws ApiError
|
|
41
|
-
*/
|
|
42
|
-
static npsPrototypePatchAttributes(id: string, data?: NPS): CancelablePromise<NPS>;
|
|
43
|
-
/**
|
|
44
|
-
* @returns boolean Request was successful
|
|
45
|
-
* @throws ApiError
|
|
46
|
-
*/
|
|
47
|
-
static npsRequestNps(): CancelablePromise<boolean>;
|
|
48
|
-
/**
|
|
49
|
-
* @param filter
|
|
50
|
-
* @param columns
|
|
51
|
-
* @param timeZone
|
|
52
|
-
* @returns x_any Request was successful
|
|
53
|
-
* @throws ApiError
|
|
54
|
-
*/
|
|
55
|
-
static npsExportNpSdata(filter?: string, columns?: string, timeZone?: string): CancelablePromise<Array<x_any>>;
|
|
56
|
-
}
|