@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,400 @@
|
|
|
1
|
+
import type { PartAssembly } from '../models/PartAssembly';
|
|
2
|
+
import type { PartAssemblyDocument } from '../models/PartAssemblyDocument';
|
|
3
|
+
import type { Resource } from '../models/Resource';
|
|
4
|
+
import type { Revision } from '../models/Revision';
|
|
5
|
+
import type { Unit } from '../models/Unit';
|
|
6
|
+
import type { x_any } from '../models/x_any';
|
|
7
|
+
import type { CancelablePromise } from '../core/CancelablePromise';
|
|
8
|
+
export declare class PartAssemblyService {
|
|
9
|
+
/**
|
|
10
|
+
* Find a related item by id for documents.
|
|
11
|
+
* @param id PartAssembly id
|
|
12
|
+
* @param fk Foreign key for documents
|
|
13
|
+
* @returns PartAssemblyDocument Request was successful
|
|
14
|
+
* @throws ApiError
|
|
15
|
+
*/
|
|
16
|
+
static partAssemblyPrototypeFindByIdDocuments(id: string, fk: string): CancelablePromise<PartAssemblyDocument>;
|
|
17
|
+
/**
|
|
18
|
+
* Delete a related item by id for documents.
|
|
19
|
+
* @param id PartAssembly id
|
|
20
|
+
* @param fk Foreign key for documents
|
|
21
|
+
* @returns void
|
|
22
|
+
* @throws ApiError
|
|
23
|
+
*/
|
|
24
|
+
static partAssemblyPrototypeDestroyByIdDocuments(id: string, fk: string): CancelablePromise<void>;
|
|
25
|
+
/**
|
|
26
|
+
* Update a related item by id for documents.
|
|
27
|
+
* @param id PartAssembly id
|
|
28
|
+
* @param fk Foreign key for documents
|
|
29
|
+
* @param data
|
|
30
|
+
* @returns PartAssemblyDocument Request was successful
|
|
31
|
+
* @throws ApiError
|
|
32
|
+
*/
|
|
33
|
+
static partAssemblyPrototypeUpdateByIdDocuments(id: string, fk: string, data?: PartAssemblyDocument): CancelablePromise<PartAssemblyDocument>;
|
|
34
|
+
/**
|
|
35
|
+
* Fetches belongsTo relation unit.
|
|
36
|
+
* @param id PartAssembly id
|
|
37
|
+
* @param refresh
|
|
38
|
+
* @returns Unit Request was successful
|
|
39
|
+
* @throws ApiError
|
|
40
|
+
*/
|
|
41
|
+
static partAssemblyPrototypeGetUnit(id: string, refresh?: boolean): CancelablePromise<Unit>;
|
|
42
|
+
/**
|
|
43
|
+
* Fetches belongsTo relation image_object.
|
|
44
|
+
* @param id PartAssembly id
|
|
45
|
+
* @param refresh
|
|
46
|
+
* @returns Resource Request was successful
|
|
47
|
+
* @throws ApiError
|
|
48
|
+
*/
|
|
49
|
+
static partAssemblyPrototypeGetImageObject(id: string, refresh?: boolean): CancelablePromise<Resource>;
|
|
50
|
+
/**
|
|
51
|
+
* Fetches belongsTo relation picture_object.
|
|
52
|
+
* @param id PartAssembly id
|
|
53
|
+
* @param refresh
|
|
54
|
+
* @returns Resource Request was successful
|
|
55
|
+
* @throws ApiError
|
|
56
|
+
*/
|
|
57
|
+
static partAssemblyPrototypeGetPictureObject(id: string, refresh?: boolean): CancelablePromise<Resource>;
|
|
58
|
+
/**
|
|
59
|
+
* Find a related item by id for revisionItems.
|
|
60
|
+
* @param id PartAssembly id
|
|
61
|
+
* @param fk Foreign key for revisionItems
|
|
62
|
+
* @returns Revision Request was successful
|
|
63
|
+
* @throws ApiError
|
|
64
|
+
*/
|
|
65
|
+
static partAssemblyPrototypeFindByIdRevisionItems(id: string, fk: string): CancelablePromise<Revision>;
|
|
66
|
+
/**
|
|
67
|
+
* Delete a related item by id for revisionItems.
|
|
68
|
+
* @param id PartAssembly id
|
|
69
|
+
* @param fk Foreign key for revisionItems
|
|
70
|
+
* @returns void
|
|
71
|
+
* @throws ApiError
|
|
72
|
+
*/
|
|
73
|
+
static partAssemblyPrototypeDestroyByIdRevisionItems(id: string, fk: string): CancelablePromise<void>;
|
|
74
|
+
/**
|
|
75
|
+
* Update a related item by id for revisionItems.
|
|
76
|
+
* @param id PartAssembly id
|
|
77
|
+
* @param fk Foreign key for revisionItems
|
|
78
|
+
* @param data
|
|
79
|
+
* @returns Revision Request was successful
|
|
80
|
+
* @throws ApiError
|
|
81
|
+
*/
|
|
82
|
+
static partAssemblyPrototypeUpdateByIdRevisionItems(id: string, fk: string, data?: Revision): CancelablePromise<Revision>;
|
|
83
|
+
/**
|
|
84
|
+
* Queries documents of PartAssembly.
|
|
85
|
+
* @param id PartAssembly id
|
|
86
|
+
* @param filter
|
|
87
|
+
* @returns PartAssemblyDocument Request was successful
|
|
88
|
+
* @throws ApiError
|
|
89
|
+
*/
|
|
90
|
+
static partAssemblyPrototypeGetDocuments(id: string, filter?: string): CancelablePromise<Array<PartAssemblyDocument>>;
|
|
91
|
+
/**
|
|
92
|
+
* Creates a new instance in documents of this model.
|
|
93
|
+
* @param id PartAssembly id
|
|
94
|
+
* @param data
|
|
95
|
+
* @returns PartAssemblyDocument Request was successful
|
|
96
|
+
* @throws ApiError
|
|
97
|
+
*/
|
|
98
|
+
static partAssemblyPrototypeCreateDocuments(id: string, data?: PartAssemblyDocument): CancelablePromise<PartAssemblyDocument>;
|
|
99
|
+
/**
|
|
100
|
+
* Deletes all documents of this model.
|
|
101
|
+
* @param id PartAssembly id
|
|
102
|
+
* @returns void
|
|
103
|
+
* @throws ApiError
|
|
104
|
+
*/
|
|
105
|
+
static partAssemblyPrototypeDeleteDocuments(id: string): CancelablePromise<void>;
|
|
106
|
+
/**
|
|
107
|
+
* Counts documents of PartAssembly.
|
|
108
|
+
* @param id PartAssembly id
|
|
109
|
+
* @param where Criteria to match model instances
|
|
110
|
+
* @returns any Request was successful
|
|
111
|
+
* @throws ApiError
|
|
112
|
+
*/
|
|
113
|
+
static partAssemblyPrototypeCountDocuments(id: string, where?: string): CancelablePromise<{
|
|
114
|
+
count?: number;
|
|
115
|
+
}>;
|
|
116
|
+
/**
|
|
117
|
+
* Queries revisionItems of PartAssembly.
|
|
118
|
+
* @param id PartAssembly id
|
|
119
|
+
* @param filter
|
|
120
|
+
* @returns Revision Request was successful
|
|
121
|
+
* @throws ApiError
|
|
122
|
+
*/
|
|
123
|
+
static partAssemblyPrototypeGetRevisionItems(id: string, filter?: string): CancelablePromise<Array<Revision>>;
|
|
124
|
+
/**
|
|
125
|
+
* Creates a new instance in revisionItems of this model.
|
|
126
|
+
* @param id PartAssembly id
|
|
127
|
+
* @param data
|
|
128
|
+
* @returns Revision Request was successful
|
|
129
|
+
* @throws ApiError
|
|
130
|
+
*/
|
|
131
|
+
static partAssemblyPrototypeCreateRevisionItems(id: string, data?: Revision): CancelablePromise<Revision>;
|
|
132
|
+
/**
|
|
133
|
+
* Deletes all revisionItems of this model.
|
|
134
|
+
* @param id PartAssembly id
|
|
135
|
+
* @returns void
|
|
136
|
+
* @throws ApiError
|
|
137
|
+
*/
|
|
138
|
+
static partAssemblyPrototypeDeleteRevisionItems(id: string): CancelablePromise<void>;
|
|
139
|
+
/**
|
|
140
|
+
* Counts revisionItems of PartAssembly.
|
|
141
|
+
* @param id PartAssembly id
|
|
142
|
+
* @param where Criteria to match model instances
|
|
143
|
+
* @returns any Request was successful
|
|
144
|
+
* @throws ApiError
|
|
145
|
+
*/
|
|
146
|
+
static partAssemblyPrototypeCountRevisionItems(id: string, where?: string): CancelablePromise<{
|
|
147
|
+
count?: number;
|
|
148
|
+
}>;
|
|
149
|
+
/**
|
|
150
|
+
* Patch an existing model instance or insert a new one into the data source.
|
|
151
|
+
* @param data Model instance data
|
|
152
|
+
* @returns PartAssembly Request was successful
|
|
153
|
+
* @throws ApiError
|
|
154
|
+
*/
|
|
155
|
+
static partAssemblyPatchOrCreate(data?: PartAssembly): CancelablePromise<PartAssembly>;
|
|
156
|
+
/**
|
|
157
|
+
* Replace an existing model instance or insert a new one into the data source.
|
|
158
|
+
* @param data Model instance data
|
|
159
|
+
* @returns PartAssembly Request was successful
|
|
160
|
+
* @throws ApiError
|
|
161
|
+
*/
|
|
162
|
+
static partAssemblyReplaceOrCreatePutPartAssembly(data?: PartAssembly): CancelablePromise<PartAssembly>;
|
|
163
|
+
/**
|
|
164
|
+
* Find all instances of the model matched by filter from the data source.
|
|
165
|
+
* @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.
|
|
166
|
+
* @returns PartAssembly Request was successful
|
|
167
|
+
* @throws ApiError
|
|
168
|
+
*/
|
|
169
|
+
static partAssemblyFind(filter?: string): CancelablePromise<Array<PartAssembly>>;
|
|
170
|
+
/**
|
|
171
|
+
* Custom create method for part assemblies
|
|
172
|
+
* @param data
|
|
173
|
+
* @returns any Request was successful
|
|
174
|
+
* @throws ApiError
|
|
175
|
+
*/
|
|
176
|
+
static partAssemblyCustomCreate(data: PartAssembly): CancelablePromise<any>;
|
|
177
|
+
/**
|
|
178
|
+
* Replace an existing model instance or insert a new one into the data source.
|
|
179
|
+
* @param data Model instance data
|
|
180
|
+
* @returns PartAssembly Request was successful
|
|
181
|
+
* @throws ApiError
|
|
182
|
+
*/
|
|
183
|
+
static partAssemblyReplaceOrCreatePostPartAssemblyReplaceOrCreate(data?: PartAssembly): CancelablePromise<PartAssembly>;
|
|
184
|
+
/**
|
|
185
|
+
* Update an existing model instance or insert a new one into the data source based on the where criteria.
|
|
186
|
+
* @param where Criteria to match model instances
|
|
187
|
+
* @param data An object of model property name/value pairs
|
|
188
|
+
* @returns PartAssembly Request was successful
|
|
189
|
+
* @throws ApiError
|
|
190
|
+
*/
|
|
191
|
+
static partAssemblyUpsertWithWhere(where?: string, data?: PartAssembly): CancelablePromise<PartAssembly>;
|
|
192
|
+
/**
|
|
193
|
+
* Check whether a model instance exists in the data source.
|
|
194
|
+
* @param id Model id
|
|
195
|
+
* @returns any Request was successful
|
|
196
|
+
* @throws ApiError
|
|
197
|
+
*/
|
|
198
|
+
static partAssemblyExistsGetPartAssemblyIdExists(id: string): CancelablePromise<{
|
|
199
|
+
exists?: boolean;
|
|
200
|
+
}>;
|
|
201
|
+
/**
|
|
202
|
+
* Check whether a model instance exists in the data source.
|
|
203
|
+
* @param id Model id
|
|
204
|
+
* @returns any Request was successful
|
|
205
|
+
* @throws ApiError
|
|
206
|
+
*/
|
|
207
|
+
static partAssemblyExistsHeadPartAssemblyId(id: string): CancelablePromise<{
|
|
208
|
+
exists?: boolean;
|
|
209
|
+
}>;
|
|
210
|
+
/**
|
|
211
|
+
* Find a model instance by {{id}} from the data source.
|
|
212
|
+
* @param id Model id
|
|
213
|
+
* @param filter Filter defining fields and include - must be a JSON-encoded string ({"something":"value"})
|
|
214
|
+
* @returns PartAssembly Request was successful
|
|
215
|
+
* @throws ApiError
|
|
216
|
+
*/
|
|
217
|
+
static partAssemblyFindById(id: string, filter?: string): CancelablePromise<PartAssembly>;
|
|
218
|
+
/**
|
|
219
|
+
* Replace attributes for a model instance and persist it into the data source.
|
|
220
|
+
* @param id Model id
|
|
221
|
+
* @param data Model instance data
|
|
222
|
+
* @returns PartAssembly Request was successful
|
|
223
|
+
* @throws ApiError
|
|
224
|
+
*/
|
|
225
|
+
static partAssemblyReplaceByIdPutPartAssemblyId(id: string, data?: PartAssembly): CancelablePromise<PartAssembly>;
|
|
226
|
+
/**
|
|
227
|
+
* Delete a model instance by {{id}} from the data source.
|
|
228
|
+
* @param id Model id
|
|
229
|
+
* @returns any Request was successful
|
|
230
|
+
* @throws ApiError
|
|
231
|
+
*/
|
|
232
|
+
static partAssemblyDeleteById(id: string): CancelablePromise<any>;
|
|
233
|
+
/**
|
|
234
|
+
* Custom update method for part assemblies
|
|
235
|
+
* @param data
|
|
236
|
+
* @returns any Request was successful
|
|
237
|
+
* @throws ApiError
|
|
238
|
+
*/
|
|
239
|
+
static partAssemblyCustomUpdate(data: PartAssembly): CancelablePromise<any>;
|
|
240
|
+
/**
|
|
241
|
+
* Replace attributes for a model instance and persist it into the data source.
|
|
242
|
+
* @param id Model id
|
|
243
|
+
* @param data Model instance data
|
|
244
|
+
* @returns PartAssembly Request was successful
|
|
245
|
+
* @throws ApiError
|
|
246
|
+
*/
|
|
247
|
+
static partAssemblyReplaceByIdPostPartAssemblyIdReplace(id: string, data?: PartAssembly): CancelablePromise<PartAssembly>;
|
|
248
|
+
/**
|
|
249
|
+
* Find first instance of the model matched by filter from the data source.
|
|
250
|
+
* @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.
|
|
251
|
+
* @returns PartAssembly Request was successful
|
|
252
|
+
* @throws ApiError
|
|
253
|
+
*/
|
|
254
|
+
static partAssemblyFindOne(filter?: string): CancelablePromise<PartAssembly>;
|
|
255
|
+
/**
|
|
256
|
+
* Update instances of the model matched by {{where}} from the data source.
|
|
257
|
+
* @param where Criteria to match model instances
|
|
258
|
+
* @param data An object of model property name/value pairs
|
|
259
|
+
* @returns any Request was successful
|
|
260
|
+
* @throws ApiError
|
|
261
|
+
*/
|
|
262
|
+
static partAssemblyUpdateAll(where?: string, data?: PartAssembly): CancelablePromise<{
|
|
263
|
+
/**
|
|
264
|
+
* The number of instances updated
|
|
265
|
+
*/
|
|
266
|
+
count?: number;
|
|
267
|
+
}>;
|
|
268
|
+
/**
|
|
269
|
+
* Count instances of the model matched by where from the data source.
|
|
270
|
+
* @param where Criteria to match model instances
|
|
271
|
+
* @returns any Request was successful
|
|
272
|
+
* @throws ApiError
|
|
273
|
+
*/
|
|
274
|
+
static partAssemblyCount(where?: string): CancelablePromise<{
|
|
275
|
+
count?: number;
|
|
276
|
+
}>;
|
|
277
|
+
/**
|
|
278
|
+
* @param number
|
|
279
|
+
* @returns any Request was successful
|
|
280
|
+
* @throws ApiError
|
|
281
|
+
*/
|
|
282
|
+
static partAssemblyGetParentsList(number: string): CancelablePromise<{
|
|
283
|
+
result?: Array<any>;
|
|
284
|
+
}>;
|
|
285
|
+
/**
|
|
286
|
+
* @param partNumber
|
|
287
|
+
* @param id
|
|
288
|
+
* @returns any Request was successful
|
|
289
|
+
* @throws ApiError
|
|
290
|
+
*/
|
|
291
|
+
static partAssemblyGetAssebliesByPartNumber(partNumber: string, id?: string): CancelablePromise<{
|
|
292
|
+
result?: any;
|
|
293
|
+
}>;
|
|
294
|
+
/**
|
|
295
|
+
* @param number
|
|
296
|
+
* @param deep
|
|
297
|
+
* @param withResources
|
|
298
|
+
* @param flatten
|
|
299
|
+
* @param id
|
|
300
|
+
* @returns any Request was successful
|
|
301
|
+
* @throws ApiError
|
|
302
|
+
*/
|
|
303
|
+
static partAssemblyGetWithSubParts(number: string, deep?: string, withResources?: string, flatten?: string, id?: string): CancelablePromise<{
|
|
304
|
+
result?: any;
|
|
305
|
+
}>;
|
|
306
|
+
/**
|
|
307
|
+
* @param number
|
|
308
|
+
* @returns any Request was successful
|
|
309
|
+
* @throws ApiError
|
|
310
|
+
*/
|
|
311
|
+
static partAssemblyDeletePartAssembly(number: string): CancelablePromise<any>;
|
|
312
|
+
/**
|
|
313
|
+
* @param partAssembly
|
|
314
|
+
* @returns any Request was successful
|
|
315
|
+
* @throws ApiError
|
|
316
|
+
*/
|
|
317
|
+
static partAssemblyAddPartAssembly(partAssembly: string): CancelablePromise<any>;
|
|
318
|
+
/**
|
|
319
|
+
* @param partAssembly
|
|
320
|
+
* @returns any Request was successful
|
|
321
|
+
* @throws ApiError
|
|
322
|
+
*/
|
|
323
|
+
static partAssemblySavePartAssembly(partAssembly: string): CancelablePromise<any>;
|
|
324
|
+
/**
|
|
325
|
+
* @param data
|
|
326
|
+
* @param includeProductTree
|
|
327
|
+
* @returns x_any Request was successful
|
|
328
|
+
* @throws ApiError
|
|
329
|
+
*/
|
|
330
|
+
static partAssemblyBulkImportParts(data: string, includeProductTree?: boolean): CancelablePromise<x_any>;
|
|
331
|
+
/**
|
|
332
|
+
* @param data
|
|
333
|
+
* @returns x_any Request was successful
|
|
334
|
+
* @throws ApiError
|
|
335
|
+
*/
|
|
336
|
+
static partAssemblyBulkChangeParts(data: string): CancelablePromise<Array<x_any>>;
|
|
337
|
+
/**
|
|
338
|
+
* @returns x_any Request was successful
|
|
339
|
+
* @throws ApiError
|
|
340
|
+
*/
|
|
341
|
+
static partAssemblyImportFromPriority(): CancelablePromise<x_any>;
|
|
342
|
+
/**
|
|
343
|
+
* @param data
|
|
344
|
+
* @returns any Request was successful
|
|
345
|
+
* @throws ApiError
|
|
346
|
+
*/
|
|
347
|
+
static partAssemblyImportModels(data: string): CancelablePromise<any>;
|
|
348
|
+
/**
|
|
349
|
+
* @param filter
|
|
350
|
+
* @returns x_any Request was successful
|
|
351
|
+
* @throws ApiError
|
|
352
|
+
*/
|
|
353
|
+
static partAssemblyFindParts(filter: string): CancelablePromise<Array<x_any>>;
|
|
354
|
+
/**
|
|
355
|
+
* @returns any Request was successful
|
|
356
|
+
* @throws ApiError
|
|
357
|
+
*/
|
|
358
|
+
static partAssemblyFindTimeTrackingParts(): CancelablePromise<any>;
|
|
359
|
+
/**
|
|
360
|
+
* @param number
|
|
361
|
+
* @returns any Request was successful
|
|
362
|
+
* @throws ApiError
|
|
363
|
+
*/
|
|
364
|
+
static partAssemblyGetProductTree(number: string): CancelablePromise<any>;
|
|
365
|
+
/**
|
|
366
|
+
* @param number
|
|
367
|
+
* @returns any Request was successful
|
|
368
|
+
* @throws ApiError
|
|
369
|
+
*/
|
|
370
|
+
static partAssemblyGetPartWhereUsed(number: string): CancelablePromise<any>;
|
|
371
|
+
/**
|
|
372
|
+
* @param partNumber
|
|
373
|
+
* @param pictureId
|
|
374
|
+
* @returns string Request was successful
|
|
375
|
+
* @throws ApiError
|
|
376
|
+
*/
|
|
377
|
+
static partAssemblyUploadPartPicture(partNumber: string, pictureId: string): CancelablePromise<string>;
|
|
378
|
+
/**
|
|
379
|
+
* @param sku
|
|
380
|
+
* @returns any Request was successful
|
|
381
|
+
* @throws ApiError
|
|
382
|
+
*/
|
|
383
|
+
static partAssemblyFetchPartFromPriority(sku: string): CancelablePromise<any>;
|
|
384
|
+
/**
|
|
385
|
+
* @param partNumber
|
|
386
|
+
* @param workorderId
|
|
387
|
+
* @returns any Request was successful
|
|
388
|
+
* @throws ApiError
|
|
389
|
+
*/
|
|
390
|
+
static partAssemblyGenerateSerial(partNumber: string, workorderId: string): CancelablePromise<any>;
|
|
391
|
+
/**
|
|
392
|
+
* Count with deleted instances of the model matched by where from the data source.
|
|
393
|
+
* @param where Criteria to match model instances
|
|
394
|
+
* @returns any Request was successful
|
|
395
|
+
* @throws ApiError
|
|
396
|
+
*/
|
|
397
|
+
static partAssemblyCountWithDeleted(where?: string): CancelablePromise<{
|
|
398
|
+
count?: number;
|
|
399
|
+
}>;
|
|
400
|
+
}
|
|
@@ -0,0 +1,133 @@
|
|
|
1
|
+
import type { Part } from '../models/Part';
|
|
2
|
+
import type { CancelablePromise } from '../core/CancelablePromise';
|
|
3
|
+
export declare class PartService {
|
|
4
|
+
/**
|
|
5
|
+
* Create a new instance of the model and persist it into the data source.
|
|
6
|
+
* @param data Model instance data
|
|
7
|
+
* @returns Part Request was successful
|
|
8
|
+
* @throws ApiError
|
|
9
|
+
*/
|
|
10
|
+
static partCreate(data?: Part): CancelablePromise<Part>;
|
|
11
|
+
/**
|
|
12
|
+
* Patch an existing model instance or insert a new one into the data source.
|
|
13
|
+
* @param data Model instance data
|
|
14
|
+
* @returns Part Request was successful
|
|
15
|
+
* @throws ApiError
|
|
16
|
+
*/
|
|
17
|
+
static partPatchOrCreate(data?: Part): CancelablePromise<Part>;
|
|
18
|
+
/**
|
|
19
|
+
* Replace an existing model instance or insert a new one into the data source.
|
|
20
|
+
* @param data Model instance data
|
|
21
|
+
* @returns Part Request was successful
|
|
22
|
+
* @throws ApiError
|
|
23
|
+
*/
|
|
24
|
+
static partReplaceOrCreatePutParts(data?: Part): CancelablePromise<Part>;
|
|
25
|
+
/**
|
|
26
|
+
* Find all instances of the model matched by filter from the data source.
|
|
27
|
+
* @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.
|
|
28
|
+
* @returns Part Request was successful
|
|
29
|
+
* @throws ApiError
|
|
30
|
+
*/
|
|
31
|
+
static partFind(filter?: string): CancelablePromise<Array<Part>>;
|
|
32
|
+
/**
|
|
33
|
+
* Replace an existing model instance or insert a new one into the data source.
|
|
34
|
+
* @param data Model instance data
|
|
35
|
+
* @returns Part Request was successful
|
|
36
|
+
* @throws ApiError
|
|
37
|
+
*/
|
|
38
|
+
static partReplaceOrCreatePostPartsReplaceOrCreate(data?: Part): CancelablePromise<Part>;
|
|
39
|
+
/**
|
|
40
|
+
* Update an existing model instance or insert a new one into the data source based on the where criteria.
|
|
41
|
+
* @param where Criteria to match model instances
|
|
42
|
+
* @param data An object of model property name/value pairs
|
|
43
|
+
* @returns Part Request was successful
|
|
44
|
+
* @throws ApiError
|
|
45
|
+
*/
|
|
46
|
+
static partUpsertWithWhere(where?: string, data?: Part): CancelablePromise<Part>;
|
|
47
|
+
/**
|
|
48
|
+
* Check whether a model instance exists in the data source.
|
|
49
|
+
* @param id Model id
|
|
50
|
+
* @returns any Request was successful
|
|
51
|
+
* @throws ApiError
|
|
52
|
+
*/
|
|
53
|
+
static partExistsGetPartsIdExists(id: string): CancelablePromise<{
|
|
54
|
+
exists?: boolean;
|
|
55
|
+
}>;
|
|
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 partExistsHeadPartsId(id: string): CancelablePromise<{
|
|
63
|
+
exists?: boolean;
|
|
64
|
+
}>;
|
|
65
|
+
/**
|
|
66
|
+
* Find a model instance by {{id}} from the data source.
|
|
67
|
+
* @param id Model id
|
|
68
|
+
* @param filter Filter defining fields and include - must be a JSON-encoded string ({"something":"value"})
|
|
69
|
+
* @returns Part Request was successful
|
|
70
|
+
* @throws ApiError
|
|
71
|
+
*/
|
|
72
|
+
static partFindById(id: string, filter?: string): CancelablePromise<Part>;
|
|
73
|
+
/**
|
|
74
|
+
* Replace attributes for a model instance and persist it into the data source.
|
|
75
|
+
* @param id Model id
|
|
76
|
+
* @param data Model instance data
|
|
77
|
+
* @returns Part Request was successful
|
|
78
|
+
* @throws ApiError
|
|
79
|
+
*/
|
|
80
|
+
static partReplaceByIdPutPartsId(id: string, data?: Part): CancelablePromise<Part>;
|
|
81
|
+
/**
|
|
82
|
+
* Delete a model instance by {{id}} from the data source.
|
|
83
|
+
* @param id Model id
|
|
84
|
+
* @returns any Request was successful
|
|
85
|
+
* @throws ApiError
|
|
86
|
+
*/
|
|
87
|
+
static partDeleteById(id: string): CancelablePromise<any>;
|
|
88
|
+
/**
|
|
89
|
+
* Patch attributes for a model instance and persist it into the data source.
|
|
90
|
+
* @param id Part id
|
|
91
|
+
* @param data An object of model property name/value pairs
|
|
92
|
+
* @returns Part Request was successful
|
|
93
|
+
* @throws ApiError
|
|
94
|
+
*/
|
|
95
|
+
static partPrototypePatchAttributes(id: string, data?: Part): CancelablePromise<Part>;
|
|
96
|
+
/**
|
|
97
|
+
* Replace attributes for a model instance and persist it into the data source.
|
|
98
|
+
* @param id Model id
|
|
99
|
+
* @param data Model instance data
|
|
100
|
+
* @returns Part Request was successful
|
|
101
|
+
* @throws ApiError
|
|
102
|
+
*/
|
|
103
|
+
static partReplaceByIdPostPartsIdReplace(id: string, data?: Part): CancelablePromise<Part>;
|
|
104
|
+
/**
|
|
105
|
+
* Find first instance of the model matched by filter from the data source.
|
|
106
|
+
* @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.
|
|
107
|
+
* @returns Part Request was successful
|
|
108
|
+
* @throws ApiError
|
|
109
|
+
*/
|
|
110
|
+
static partFindOne(filter?: string): CancelablePromise<Part>;
|
|
111
|
+
/**
|
|
112
|
+
* Update instances of the model matched by {{where}} from the data source.
|
|
113
|
+
* @param where Criteria to match model instances
|
|
114
|
+
* @param data An object of model property name/value pairs
|
|
115
|
+
* @returns any Request was successful
|
|
116
|
+
* @throws ApiError
|
|
117
|
+
*/
|
|
118
|
+
static partUpdateAll(where?: string, data?: Part): CancelablePromise<{
|
|
119
|
+
/**
|
|
120
|
+
* The number of instances updated
|
|
121
|
+
*/
|
|
122
|
+
count?: number;
|
|
123
|
+
}>;
|
|
124
|
+
/**
|
|
125
|
+
* Count instances of the model matched by where from the data source.
|
|
126
|
+
* @param where Criteria to match model instances
|
|
127
|
+
* @returns any Request was successful
|
|
128
|
+
* @throws ApiError
|
|
129
|
+
*/
|
|
130
|
+
static partCount(where?: string): CancelablePromise<{
|
|
131
|
+
count?: number;
|
|
132
|
+
}>;
|
|
133
|
+
}
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
import type { Post } from '../models/Post';
|
|
2
|
+
import type { x_any } from '../models/x_any';
|
|
3
|
+
import type { CancelablePromise } from '../core/CancelablePromise';
|
|
4
|
+
export declare class PostService {
|
|
5
|
+
/**
|
|
6
|
+
* Create a new instance of the model and persist it into the data source.
|
|
7
|
+
* @param data Model instance data
|
|
8
|
+
* @returns Post Request was successful
|
|
9
|
+
* @throws ApiError
|
|
10
|
+
*/
|
|
11
|
+
static postCreate(data?: Post): CancelablePromise<Post>;
|
|
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 Post Request was successful
|
|
16
|
+
* @throws ApiError
|
|
17
|
+
*/
|
|
18
|
+
static postFind(filter?: string): CancelablePromise<Array<Post>>;
|
|
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 Post Request was successful
|
|
23
|
+
* @throws ApiError
|
|
24
|
+
*/
|
|
25
|
+
static postFindOne(filter?: string): CancelablePromise<Post>;
|
|
26
|
+
/**
|
|
27
|
+
* Delete a model instance by {{id}} from the data source.
|
|
28
|
+
* @param id Model id
|
|
29
|
+
* @returns any Request was successful
|
|
30
|
+
* @throws ApiError
|
|
31
|
+
*/
|
|
32
|
+
static postDeleteById(id: string): CancelablePromise<any>;
|
|
33
|
+
/**
|
|
34
|
+
* Patch attributes for a model instance and persist it into the data source.
|
|
35
|
+
* @param id Post id
|
|
36
|
+
* @param data An object of model property name/value pairs
|
|
37
|
+
* @returns Post Request was successful
|
|
38
|
+
* @throws ApiError
|
|
39
|
+
*/
|
|
40
|
+
static postPrototypePatchAttributes(id: string, data?: Post): CancelablePromise<Post>;
|
|
41
|
+
/**
|
|
42
|
+
* Count instances of the model matched by where from the data source.
|
|
43
|
+
* @param where Criteria to match model instances
|
|
44
|
+
* @returns any Request was successful
|
|
45
|
+
* @throws ApiError
|
|
46
|
+
*/
|
|
47
|
+
static postCount(where?: string): CancelablePromise<{
|
|
48
|
+
count?: number;
|
|
49
|
+
}>;
|
|
50
|
+
/**
|
|
51
|
+
* @param where
|
|
52
|
+
* @returns x_any Request was successful
|
|
53
|
+
* @throws ApiError
|
|
54
|
+
*/
|
|
55
|
+
static postGetPost(where?: string): CancelablePromise<x_any>;
|
|
56
|
+
}
|