@nextplus/js-sdk 0.0.1 → 0.0.4
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/README.md +228 -0
- 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 +32 -74
- package/prettier.config.js +5 -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 +74 -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,1138 +0,0 @@
|
|
|
1
|
-
import type { Group } from '../models/Group';
|
|
2
|
-
import type { Kit } from '../models/Kit';
|
|
3
|
-
import type { Location } from '../models/Location';
|
|
4
|
-
import type { Part } from '../models/Part';
|
|
5
|
-
import type { Stock } from '../models/Stock';
|
|
6
|
-
import type { UserModel } from '../models/UserModel';
|
|
7
|
-
import type { Workflow } from '../models/Workflow';
|
|
8
|
-
import type { WorkflowSessionItem } from '../models/WorkflowSessionItem';
|
|
9
|
-
import type { WorkflowType } from '../models/WorkflowType';
|
|
10
|
-
import type { Workorder } from '../models/Workorder';
|
|
11
|
-
import type { WorkorderAction } from '../models/WorkorderAction';
|
|
12
|
-
import type { x_any } from '../models/x_any';
|
|
13
|
-
import type { CancelablePromise } from '../core/CancelablePromise';
|
|
14
|
-
export declare class WorkorderService {
|
|
15
|
-
/**
|
|
16
|
-
* Find a related item by id for part.
|
|
17
|
-
* @param id Workorder id
|
|
18
|
-
* @param fk Foreign key for part
|
|
19
|
-
* @returns Part Request was successful
|
|
20
|
-
* @throws ApiError
|
|
21
|
-
*/
|
|
22
|
-
static workorderPrototypeFindByIdPart(id: string, fk: string): CancelablePromise<Part>;
|
|
23
|
-
/**
|
|
24
|
-
* Delete a related item by id for part.
|
|
25
|
-
* @param id Workorder id
|
|
26
|
-
* @param fk Foreign key for part
|
|
27
|
-
* @returns void
|
|
28
|
-
* @throws ApiError
|
|
29
|
-
*/
|
|
30
|
-
static workorderPrototypeDestroyByIdPart(id: string, fk: string): CancelablePromise<void>;
|
|
31
|
-
/**
|
|
32
|
-
* Update a related item by id for part.
|
|
33
|
-
* @param id Workorder id
|
|
34
|
-
* @param fk Foreign key for part
|
|
35
|
-
* @param data
|
|
36
|
-
* @returns Part Request was successful
|
|
37
|
-
* @throws ApiError
|
|
38
|
-
*/
|
|
39
|
-
static workorderPrototypeUpdateByIdPart(id: string, fk: string, data?: Part): CancelablePromise<Part>;
|
|
40
|
-
/**
|
|
41
|
-
* Add a related item by id for part.
|
|
42
|
-
* @param id Workorder id
|
|
43
|
-
* @param fk Foreign key for part
|
|
44
|
-
* @returns Part Request was successful
|
|
45
|
-
* @throws ApiError
|
|
46
|
-
*/
|
|
47
|
-
static workorderPrototypeLinkPart(id: string, fk: string): CancelablePromise<Part>;
|
|
48
|
-
/**
|
|
49
|
-
* Remove the part relation to an item by id.
|
|
50
|
-
* @param id Workorder id
|
|
51
|
-
* @param fk Foreign key for part
|
|
52
|
-
* @returns void
|
|
53
|
-
* @throws ApiError
|
|
54
|
-
*/
|
|
55
|
-
static workorderPrototypeUnlinkPart(id: string, fk: string): CancelablePromise<void>;
|
|
56
|
-
/**
|
|
57
|
-
* Check the existence of part relation to an item by id.
|
|
58
|
-
* @param id Workorder id
|
|
59
|
-
* @param fk Foreign key for part
|
|
60
|
-
* @returns boolean Request was successful
|
|
61
|
-
* @throws ApiError
|
|
62
|
-
*/
|
|
63
|
-
static workorderPrototypeExistsPart(id: string, fk: string): CancelablePromise<boolean>;
|
|
64
|
-
/**
|
|
65
|
-
* Find a related item by id for locations.
|
|
66
|
-
* @param id Workorder id
|
|
67
|
-
* @param fk Foreign key for locations
|
|
68
|
-
* @returns Location Request was successful
|
|
69
|
-
* @throws ApiError
|
|
70
|
-
*/
|
|
71
|
-
static workorderPrototypeFindByIdLocations(id: string, fk: string): CancelablePromise<Location>;
|
|
72
|
-
/**
|
|
73
|
-
* Delete a related item by id for locations.
|
|
74
|
-
* @param id Workorder id
|
|
75
|
-
* @param fk Foreign key for locations
|
|
76
|
-
* @returns void
|
|
77
|
-
* @throws ApiError
|
|
78
|
-
*/
|
|
79
|
-
static workorderPrototypeDestroyByIdLocations(id: string, fk: string): CancelablePromise<void>;
|
|
80
|
-
/**
|
|
81
|
-
* Update a related item by id for locations.
|
|
82
|
-
* @param id Workorder id
|
|
83
|
-
* @param fk Foreign key for locations
|
|
84
|
-
* @param data
|
|
85
|
-
* @returns Location Request was successful
|
|
86
|
-
* @throws ApiError
|
|
87
|
-
*/
|
|
88
|
-
static workorderPrototypeUpdateByIdLocations(id: string, fk: string, data?: Location): CancelablePromise<Location>;
|
|
89
|
-
/**
|
|
90
|
-
* Add a related item by id for locations.
|
|
91
|
-
* @param id Workorder id
|
|
92
|
-
* @param fk Foreign key for locations
|
|
93
|
-
* @returns Location Request was successful
|
|
94
|
-
* @throws ApiError
|
|
95
|
-
*/
|
|
96
|
-
static workorderPrototypeLinkLocations(id: string, fk: string): CancelablePromise<Location>;
|
|
97
|
-
/**
|
|
98
|
-
* Remove the locations relation to an item by id.
|
|
99
|
-
* @param id Workorder id
|
|
100
|
-
* @param fk Foreign key for locations
|
|
101
|
-
* @returns void
|
|
102
|
-
* @throws ApiError
|
|
103
|
-
*/
|
|
104
|
-
static workorderPrototypeUnlinkLocations(id: string, fk: string): CancelablePromise<void>;
|
|
105
|
-
/**
|
|
106
|
-
* Check the existence of locations relation to an item by id.
|
|
107
|
-
* @param id Workorder id
|
|
108
|
-
* @param fk Foreign key for locations
|
|
109
|
-
* @returns boolean Request was successful
|
|
110
|
-
* @throws ApiError
|
|
111
|
-
*/
|
|
112
|
-
static workorderPrototypeExistsLocations(id: string, fk: string): CancelablePromise<boolean>;
|
|
113
|
-
/**
|
|
114
|
-
* Fetches hasOne relation parentWorkorder.
|
|
115
|
-
* @param id Workorder id
|
|
116
|
-
* @param refresh
|
|
117
|
-
* @returns Workorder Request was successful
|
|
118
|
-
* @throws ApiError
|
|
119
|
-
*/
|
|
120
|
-
static workorderPrototypeGetParentWorkorder(id: string, refresh?: boolean): CancelablePromise<Workorder>;
|
|
121
|
-
/**
|
|
122
|
-
* Creates a new instance in parentWorkorder of this model.
|
|
123
|
-
* @param id Workorder id
|
|
124
|
-
* @param data
|
|
125
|
-
* @returns Workorder Request was successful
|
|
126
|
-
* @throws ApiError
|
|
127
|
-
*/
|
|
128
|
-
static workorderPrototypeCreateParentWorkorder(id: string, data?: Workorder): CancelablePromise<Workorder>;
|
|
129
|
-
/**
|
|
130
|
-
* Update parentWorkorder of this model.
|
|
131
|
-
* @param id Workorder id
|
|
132
|
-
* @param data
|
|
133
|
-
* @returns Workorder Request was successful
|
|
134
|
-
* @throws ApiError
|
|
135
|
-
*/
|
|
136
|
-
static workorderPrototypeUpdateParentWorkorder(id: string, data?: Workorder): CancelablePromise<Workorder>;
|
|
137
|
-
/**
|
|
138
|
-
* Deletes parentWorkorder of this model.
|
|
139
|
-
* @param id Workorder id
|
|
140
|
-
* @returns void
|
|
141
|
-
* @throws ApiError
|
|
142
|
-
*/
|
|
143
|
-
static workorderPrototypeDestroyParentWorkorder(id: string): CancelablePromise<void>;
|
|
144
|
-
/**
|
|
145
|
-
* Find a related item by id for kits.
|
|
146
|
-
* @param id Workorder id
|
|
147
|
-
* @param fk Foreign key for kits
|
|
148
|
-
* @returns Kit Request was successful
|
|
149
|
-
* @throws ApiError
|
|
150
|
-
*/
|
|
151
|
-
static workorderPrototypeFindByIdKits(id: string, fk: string): CancelablePromise<Kit>;
|
|
152
|
-
/**
|
|
153
|
-
* Delete a related item by id for kits.
|
|
154
|
-
* @param id Workorder id
|
|
155
|
-
* @param fk Foreign key for kits
|
|
156
|
-
* @returns void
|
|
157
|
-
* @throws ApiError
|
|
158
|
-
*/
|
|
159
|
-
static workorderPrototypeDestroyByIdKits(id: string, fk: string): CancelablePromise<void>;
|
|
160
|
-
/**
|
|
161
|
-
* Update a related item by id for kits.
|
|
162
|
-
* @param id Workorder id
|
|
163
|
-
* @param fk Foreign key for kits
|
|
164
|
-
* @param data
|
|
165
|
-
* @returns Kit Request was successful
|
|
166
|
-
* @throws ApiError
|
|
167
|
-
*/
|
|
168
|
-
static workorderPrototypeUpdateByIdKits(id: string, fk: string, data?: Kit): CancelablePromise<Kit>;
|
|
169
|
-
/**
|
|
170
|
-
* Fetches belongsTo relation workflow.
|
|
171
|
-
* @param id Workorder id
|
|
172
|
-
* @param refresh
|
|
173
|
-
* @returns Workflow Request was successful
|
|
174
|
-
* @throws ApiError
|
|
175
|
-
*/
|
|
176
|
-
static workorderPrototypeGetWorkflow(id: string, refresh?: boolean): CancelablePromise<Workflow>;
|
|
177
|
-
/**
|
|
178
|
-
* Fetches belongsTo relation unmatchRevApprovedUser.
|
|
179
|
-
* @param id Workorder id
|
|
180
|
-
* @param refresh
|
|
181
|
-
* @returns UserModel Request was successful
|
|
182
|
-
* @throws ApiError
|
|
183
|
-
*/
|
|
184
|
-
static workorderPrototypeGetUnmatchRevApprovedUser(id: string, refresh?: boolean): CancelablePromise<UserModel>;
|
|
185
|
-
/**
|
|
186
|
-
* Fetches belongsTo relation newVersionApprovedUser.
|
|
187
|
-
* @param id Workorder id
|
|
188
|
-
* @param refresh
|
|
189
|
-
* @returns UserModel Request was successful
|
|
190
|
-
* @throws ApiError
|
|
191
|
-
*/
|
|
192
|
-
static workorderPrototypeGetNewVersionApprovedUser(id: string, refresh?: boolean): CancelablePromise<UserModel>;
|
|
193
|
-
/**
|
|
194
|
-
* Find a related item by id for currentLocations.
|
|
195
|
-
* @param id Workorder id
|
|
196
|
-
* @param fk Foreign key for currentLocations
|
|
197
|
-
* @returns Location Request was successful
|
|
198
|
-
* @throws ApiError
|
|
199
|
-
*/
|
|
200
|
-
static workorderPrototypeFindByIdCurrentLocations(id: string, fk: string): CancelablePromise<Location>;
|
|
201
|
-
/**
|
|
202
|
-
* Delete a related item by id for currentLocations.
|
|
203
|
-
* @param id Workorder id
|
|
204
|
-
* @param fk Foreign key for currentLocations
|
|
205
|
-
* @returns void
|
|
206
|
-
* @throws ApiError
|
|
207
|
-
*/
|
|
208
|
-
static workorderPrototypeDestroyByIdCurrentLocations(id: string, fk: string): CancelablePromise<void>;
|
|
209
|
-
/**
|
|
210
|
-
* Update a related item by id for currentLocations.
|
|
211
|
-
* @param id Workorder id
|
|
212
|
-
* @param fk Foreign key for currentLocations
|
|
213
|
-
* @param data
|
|
214
|
-
* @returns Location Request was successful
|
|
215
|
-
* @throws ApiError
|
|
216
|
-
*/
|
|
217
|
-
static workorderPrototypeUpdateByIdCurrentLocations(id: string, fk: string, data?: Location): CancelablePromise<Location>;
|
|
218
|
-
/**
|
|
219
|
-
* Add a related item by id for currentLocations.
|
|
220
|
-
* @param id Workorder id
|
|
221
|
-
* @param fk Foreign key for currentLocations
|
|
222
|
-
* @returns Location Request was successful
|
|
223
|
-
* @throws ApiError
|
|
224
|
-
*/
|
|
225
|
-
static workorderPrototypeLinkCurrentLocations(id: string, fk: string): CancelablePromise<Location>;
|
|
226
|
-
/**
|
|
227
|
-
* Remove the currentLocations relation to an item by id.
|
|
228
|
-
* @param id Workorder id
|
|
229
|
-
* @param fk Foreign key for currentLocations
|
|
230
|
-
* @returns void
|
|
231
|
-
* @throws ApiError
|
|
232
|
-
*/
|
|
233
|
-
static workorderPrototypeUnlinkCurrentLocations(id: string, fk: string): CancelablePromise<void>;
|
|
234
|
-
/**
|
|
235
|
-
* Check the existence of currentLocations relation to an item by id.
|
|
236
|
-
* @param id Workorder id
|
|
237
|
-
* @param fk Foreign key for currentLocations
|
|
238
|
-
* @returns boolean Request was successful
|
|
239
|
-
* @throws ApiError
|
|
240
|
-
*/
|
|
241
|
-
static workorderPrototypeExistsCurrentLocations(id: string, fk: string): CancelablePromise<boolean>;
|
|
242
|
-
/**
|
|
243
|
-
* Find a related item by id for actions.
|
|
244
|
-
* @param id Workorder id
|
|
245
|
-
* @param fk Foreign key for actions
|
|
246
|
-
* @returns WorkorderAction Request was successful
|
|
247
|
-
* @throws ApiError
|
|
248
|
-
*/
|
|
249
|
-
static workorderPrototypeFindByIdActions(id: string, fk: string): CancelablePromise<WorkorderAction>;
|
|
250
|
-
/**
|
|
251
|
-
* Delete a related item by id for actions.
|
|
252
|
-
* @param id Workorder id
|
|
253
|
-
* @param fk Foreign key for actions
|
|
254
|
-
* @returns void
|
|
255
|
-
* @throws ApiError
|
|
256
|
-
*/
|
|
257
|
-
static workorderPrototypeDestroyByIdActions(id: string, fk: string): CancelablePromise<void>;
|
|
258
|
-
/**
|
|
259
|
-
* Update a related item by id for actions.
|
|
260
|
-
* @param id Workorder id
|
|
261
|
-
* @param fk Foreign key for actions
|
|
262
|
-
* @param data
|
|
263
|
-
* @returns WorkorderAction Request was successful
|
|
264
|
-
* @throws ApiError
|
|
265
|
-
*/
|
|
266
|
-
static workorderPrototypeUpdateByIdActions(id: string, fk: string, data?: WorkorderAction): CancelablePromise<WorkorderAction>;
|
|
267
|
-
/**
|
|
268
|
-
* Find a related item by id for stocks.
|
|
269
|
-
* @param id Workorder id
|
|
270
|
-
* @param fk Foreign key for stocks
|
|
271
|
-
* @returns Stock Request was successful
|
|
272
|
-
* @throws ApiError
|
|
273
|
-
*/
|
|
274
|
-
static workorderPrototypeFindByIdStocks(id: string, fk: string): CancelablePromise<Stock>;
|
|
275
|
-
/**
|
|
276
|
-
* Delete a related item by id for stocks.
|
|
277
|
-
* @param id Workorder id
|
|
278
|
-
* @param fk Foreign key for stocks
|
|
279
|
-
* @returns void
|
|
280
|
-
* @throws ApiError
|
|
281
|
-
*/
|
|
282
|
-
static workorderPrototypeDestroyByIdStocks(id: string, fk: string): CancelablePromise<void>;
|
|
283
|
-
/**
|
|
284
|
-
* Update a related item by id for stocks.
|
|
285
|
-
* @param id Workorder id
|
|
286
|
-
* @param fk Foreign key for stocks
|
|
287
|
-
* @param data
|
|
288
|
-
* @returns Stock Request was successful
|
|
289
|
-
* @throws ApiError
|
|
290
|
-
*/
|
|
291
|
-
static workorderPrototypeUpdateByIdStocks(id: string, fk: string, data?: Stock): CancelablePromise<Stock>;
|
|
292
|
-
/**
|
|
293
|
-
* Add a related item by id for stocks.
|
|
294
|
-
* @param id Workorder id
|
|
295
|
-
* @param fk Foreign key for stocks
|
|
296
|
-
* @returns Stock Request was successful
|
|
297
|
-
* @throws ApiError
|
|
298
|
-
*/
|
|
299
|
-
static workorderPrototypeLinkStocks(id: string, fk: string): CancelablePromise<Stock>;
|
|
300
|
-
/**
|
|
301
|
-
* Remove the stocks relation to an item by id.
|
|
302
|
-
* @param id Workorder id
|
|
303
|
-
* @param fk Foreign key for stocks
|
|
304
|
-
* @returns void
|
|
305
|
-
* @throws ApiError
|
|
306
|
-
*/
|
|
307
|
-
static workorderPrototypeUnlinkStocks(id: string, fk: string): CancelablePromise<void>;
|
|
308
|
-
/**
|
|
309
|
-
* Check the existence of stocks relation to an item by id.
|
|
310
|
-
* @param id Workorder id
|
|
311
|
-
* @param fk Foreign key for stocks
|
|
312
|
-
* @returns boolean Request was successful
|
|
313
|
-
* @throws ApiError
|
|
314
|
-
*/
|
|
315
|
-
static workorderPrototypeExistsStocks(id: string, fk: string): CancelablePromise<boolean>;
|
|
316
|
-
/**
|
|
317
|
-
* Find a related item by id for sessions.
|
|
318
|
-
* @param id Workorder id
|
|
319
|
-
* @param fk Foreign key for sessions
|
|
320
|
-
* @returns WorkflowSessionItem Request was successful
|
|
321
|
-
* @throws ApiError
|
|
322
|
-
*/
|
|
323
|
-
static workorderPrototypeFindByIdSessions(id: string, fk: string): CancelablePromise<WorkflowSessionItem>;
|
|
324
|
-
/**
|
|
325
|
-
* Delete a related item by id for sessions.
|
|
326
|
-
* @param id Workorder id
|
|
327
|
-
* @param fk Foreign key for sessions
|
|
328
|
-
* @returns void
|
|
329
|
-
* @throws ApiError
|
|
330
|
-
*/
|
|
331
|
-
static workorderPrototypeDestroyByIdSessions(id: string, fk: string): CancelablePromise<void>;
|
|
332
|
-
/**
|
|
333
|
-
* Update a related item by id for sessions.
|
|
334
|
-
* @param id Workorder id
|
|
335
|
-
* @param fk Foreign key for sessions
|
|
336
|
-
* @param data
|
|
337
|
-
* @returns WorkflowSessionItem Request was successful
|
|
338
|
-
* @throws ApiError
|
|
339
|
-
*/
|
|
340
|
-
static workorderPrototypeUpdateByIdSessions(id: string, fk: string, data?: WorkflowSessionItem): CancelablePromise<WorkflowSessionItem>;
|
|
341
|
-
/**
|
|
342
|
-
* Add a related item by id for sessions.
|
|
343
|
-
* @param id Workorder id
|
|
344
|
-
* @param fk Foreign key for sessions
|
|
345
|
-
* @returns WorkflowSessionItem Request was successful
|
|
346
|
-
* @throws ApiError
|
|
347
|
-
*/
|
|
348
|
-
static workorderPrototypeLinkSessions(id: string, fk: string): CancelablePromise<WorkflowSessionItem>;
|
|
349
|
-
/**
|
|
350
|
-
* Remove the sessions relation to an item by id.
|
|
351
|
-
* @param id Workorder id
|
|
352
|
-
* @param fk Foreign key for sessions
|
|
353
|
-
* @returns void
|
|
354
|
-
* @throws ApiError
|
|
355
|
-
*/
|
|
356
|
-
static workorderPrototypeUnlinkSessions(id: string, fk: string): CancelablePromise<void>;
|
|
357
|
-
/**
|
|
358
|
-
* Check the existence of sessions relation to an item by id.
|
|
359
|
-
* @param id Workorder id
|
|
360
|
-
* @param fk Foreign key for sessions
|
|
361
|
-
* @returns boolean Request was successful
|
|
362
|
-
* @throws ApiError
|
|
363
|
-
*/
|
|
364
|
-
static workorderPrototypeExistsSessions(id: string, fk: string): CancelablePromise<boolean>;
|
|
365
|
-
/**
|
|
366
|
-
* Fetches belongsTo relation workorderType.
|
|
367
|
-
* @param id Workorder id
|
|
368
|
-
* @param refresh
|
|
369
|
-
* @returns WorkflowType Request was successful
|
|
370
|
-
* @throws ApiError
|
|
371
|
-
*/
|
|
372
|
-
static workorderPrototypeGetWorkorderType(id: string, refresh?: boolean): CancelablePromise<WorkflowType>;
|
|
373
|
-
/**
|
|
374
|
-
* Find a related item by id for groupModel.
|
|
375
|
-
* @param id Workorder id
|
|
376
|
-
* @param fk Foreign key for groupModel
|
|
377
|
-
* @returns Group Request was successful
|
|
378
|
-
* @throws ApiError
|
|
379
|
-
*/
|
|
380
|
-
static workorderPrototypeFindByIdGroupModel(id: string, fk: string): CancelablePromise<Group>;
|
|
381
|
-
/**
|
|
382
|
-
* Delete a related item by id for groupModel.
|
|
383
|
-
* @param id Workorder id
|
|
384
|
-
* @param fk Foreign key for groupModel
|
|
385
|
-
* @returns void
|
|
386
|
-
* @throws ApiError
|
|
387
|
-
*/
|
|
388
|
-
static workorderPrototypeDestroyByIdGroupModel(id: string, fk: string): CancelablePromise<void>;
|
|
389
|
-
/**
|
|
390
|
-
* Update a related item by id for groupModel.
|
|
391
|
-
* @param id Workorder id
|
|
392
|
-
* @param fk Foreign key for groupModel
|
|
393
|
-
* @param data
|
|
394
|
-
* @returns Group Request was successful
|
|
395
|
-
* @throws ApiError
|
|
396
|
-
*/
|
|
397
|
-
static workorderPrototypeUpdateByIdGroupModel(id: string, fk: string, data?: Group): CancelablePromise<Group>;
|
|
398
|
-
/**
|
|
399
|
-
* Add a related item by id for groupModel.
|
|
400
|
-
* @param id Workorder id
|
|
401
|
-
* @param fk Foreign key for groupModel
|
|
402
|
-
* @returns Group Request was successful
|
|
403
|
-
* @throws ApiError
|
|
404
|
-
*/
|
|
405
|
-
static workorderPrototypeLinkGroupModel(id: string, fk: string): CancelablePromise<Group>;
|
|
406
|
-
/**
|
|
407
|
-
* Remove the groupModel relation to an item by id.
|
|
408
|
-
* @param id Workorder id
|
|
409
|
-
* @param fk Foreign key for groupModel
|
|
410
|
-
* @returns void
|
|
411
|
-
* @throws ApiError
|
|
412
|
-
*/
|
|
413
|
-
static workorderPrototypeUnlinkGroupModel(id: string, fk: string): CancelablePromise<void>;
|
|
414
|
-
/**
|
|
415
|
-
* Check the existence of groupModel relation to an item by id.
|
|
416
|
-
* @param id Workorder id
|
|
417
|
-
* @param fk Foreign key for groupModel
|
|
418
|
-
* @returns boolean Request was successful
|
|
419
|
-
* @throws ApiError
|
|
420
|
-
*/
|
|
421
|
-
static workorderPrototypeExistsGroupModel(id: string, fk: string): CancelablePromise<boolean>;
|
|
422
|
-
/**
|
|
423
|
-
* Queries part of Workorder.
|
|
424
|
-
* @param id Workorder id
|
|
425
|
-
* @param filter
|
|
426
|
-
* @returns Part Request was successful
|
|
427
|
-
* @throws ApiError
|
|
428
|
-
*/
|
|
429
|
-
static workorderPrototypeGetPart(id: string, filter?: string): CancelablePromise<Array<Part>>;
|
|
430
|
-
/**
|
|
431
|
-
* Creates a new instance in part of this model.
|
|
432
|
-
* @param id Workorder id
|
|
433
|
-
* @param data
|
|
434
|
-
* @returns Part Request was successful
|
|
435
|
-
* @throws ApiError
|
|
436
|
-
*/
|
|
437
|
-
static workorderPrototypeCreatePart(id: string, data?: Part): CancelablePromise<Part>;
|
|
438
|
-
/**
|
|
439
|
-
* Deletes all part of this model.
|
|
440
|
-
* @param id Workorder id
|
|
441
|
-
* @returns void
|
|
442
|
-
* @throws ApiError
|
|
443
|
-
*/
|
|
444
|
-
static workorderPrototypeDeletePart(id: string): CancelablePromise<void>;
|
|
445
|
-
/**
|
|
446
|
-
* Counts part of Workorder.
|
|
447
|
-
* @param id Workorder id
|
|
448
|
-
* @param where Criteria to match model instances
|
|
449
|
-
* @returns any Request was successful
|
|
450
|
-
* @throws ApiError
|
|
451
|
-
*/
|
|
452
|
-
static workorderPrototypeCountPart(id: string, where?: string): CancelablePromise<{
|
|
453
|
-
count?: number;
|
|
454
|
-
}>;
|
|
455
|
-
/**
|
|
456
|
-
* Queries locations of Workorder.
|
|
457
|
-
* @param id Workorder id
|
|
458
|
-
* @param filter
|
|
459
|
-
* @returns Location Request was successful
|
|
460
|
-
* @throws ApiError
|
|
461
|
-
*/
|
|
462
|
-
static workorderPrototypeGetLocations(id: string, filter?: string): CancelablePromise<Array<Location>>;
|
|
463
|
-
/**
|
|
464
|
-
* Creates a new instance in locations of this model.
|
|
465
|
-
* @param id Workorder id
|
|
466
|
-
* @param data
|
|
467
|
-
* @returns Location Request was successful
|
|
468
|
-
* @throws ApiError
|
|
469
|
-
*/
|
|
470
|
-
static workorderPrototypeCreateLocations(id: string, data?: Location): CancelablePromise<Location>;
|
|
471
|
-
/**
|
|
472
|
-
* Deletes all locations of this model.
|
|
473
|
-
* @param id Workorder id
|
|
474
|
-
* @returns void
|
|
475
|
-
* @throws ApiError
|
|
476
|
-
*/
|
|
477
|
-
static workorderPrototypeDeleteLocations(id: string): CancelablePromise<void>;
|
|
478
|
-
/**
|
|
479
|
-
* Counts locations of Workorder.
|
|
480
|
-
* @param id Workorder id
|
|
481
|
-
* @param where Criteria to match model instances
|
|
482
|
-
* @returns any Request was successful
|
|
483
|
-
* @throws ApiError
|
|
484
|
-
*/
|
|
485
|
-
static workorderPrototypeCountLocations(id: string, where?: string): CancelablePromise<{
|
|
486
|
-
count?: number;
|
|
487
|
-
}>;
|
|
488
|
-
/**
|
|
489
|
-
* Queries kits of Workorder.
|
|
490
|
-
* @param id Workorder id
|
|
491
|
-
* @param filter
|
|
492
|
-
* @returns Kit Request was successful
|
|
493
|
-
* @throws ApiError
|
|
494
|
-
*/
|
|
495
|
-
static workorderPrototypeGetKits(id: string, filter?: string): CancelablePromise<Array<Kit>>;
|
|
496
|
-
/**
|
|
497
|
-
* Creates a new instance in kits of this model.
|
|
498
|
-
* @param id Workorder id
|
|
499
|
-
* @param data
|
|
500
|
-
* @returns Kit Request was successful
|
|
501
|
-
* @throws ApiError
|
|
502
|
-
*/
|
|
503
|
-
static workorderPrototypeCreateKits(id: string, data?: Kit): CancelablePromise<Kit>;
|
|
504
|
-
/**
|
|
505
|
-
* Deletes all kits of this model.
|
|
506
|
-
* @param id Workorder id
|
|
507
|
-
* @returns void
|
|
508
|
-
* @throws ApiError
|
|
509
|
-
*/
|
|
510
|
-
static workorderPrototypeDeleteKits(id: string): CancelablePromise<void>;
|
|
511
|
-
/**
|
|
512
|
-
* Counts kits of Workorder.
|
|
513
|
-
* @param id Workorder id
|
|
514
|
-
* @param where Criteria to match model instances
|
|
515
|
-
* @returns any Request was successful
|
|
516
|
-
* @throws ApiError
|
|
517
|
-
*/
|
|
518
|
-
static workorderPrototypeCountKits(id: string, where?: string): CancelablePromise<{
|
|
519
|
-
count?: number;
|
|
520
|
-
}>;
|
|
521
|
-
/**
|
|
522
|
-
* Queries currentLocations of Workorder.
|
|
523
|
-
* @param id Workorder id
|
|
524
|
-
* @param filter
|
|
525
|
-
* @returns Location Request was successful
|
|
526
|
-
* @throws ApiError
|
|
527
|
-
*/
|
|
528
|
-
static workorderPrototypeGetCurrentLocations(id: string, filter?: string): CancelablePromise<Array<Location>>;
|
|
529
|
-
/**
|
|
530
|
-
* Creates a new instance in currentLocations of this model.
|
|
531
|
-
* @param id Workorder id
|
|
532
|
-
* @param data
|
|
533
|
-
* @returns Location Request was successful
|
|
534
|
-
* @throws ApiError
|
|
535
|
-
*/
|
|
536
|
-
static workorderPrototypeCreateCurrentLocations(id: string, data?: Location): CancelablePromise<Location>;
|
|
537
|
-
/**
|
|
538
|
-
* Deletes all currentLocations of this model.
|
|
539
|
-
* @param id Workorder id
|
|
540
|
-
* @returns void
|
|
541
|
-
* @throws ApiError
|
|
542
|
-
*/
|
|
543
|
-
static workorderPrototypeDeleteCurrentLocations(id: string): CancelablePromise<void>;
|
|
544
|
-
/**
|
|
545
|
-
* Counts currentLocations of Workorder.
|
|
546
|
-
* @param id Workorder id
|
|
547
|
-
* @param where Criteria to match model instances
|
|
548
|
-
* @returns any Request was successful
|
|
549
|
-
* @throws ApiError
|
|
550
|
-
*/
|
|
551
|
-
static workorderPrototypeCountCurrentLocations(id: string, where?: string): CancelablePromise<{
|
|
552
|
-
count?: number;
|
|
553
|
-
}>;
|
|
554
|
-
/**
|
|
555
|
-
* Queries actions of Workorder.
|
|
556
|
-
* @param id Workorder id
|
|
557
|
-
* @param filter
|
|
558
|
-
* @returns WorkorderAction Request was successful
|
|
559
|
-
* @throws ApiError
|
|
560
|
-
*/
|
|
561
|
-
static workorderPrototypeGetActions(id: string, filter?: string): CancelablePromise<Array<WorkorderAction>>;
|
|
562
|
-
/**
|
|
563
|
-
* Creates a new instance in actions of this model.
|
|
564
|
-
* @param id Workorder id
|
|
565
|
-
* @param data
|
|
566
|
-
* @returns WorkorderAction Request was successful
|
|
567
|
-
* @throws ApiError
|
|
568
|
-
*/
|
|
569
|
-
static workorderPrototypeCreateActions(id: string, data?: WorkorderAction): CancelablePromise<WorkorderAction>;
|
|
570
|
-
/**
|
|
571
|
-
* Deletes all actions of this model.
|
|
572
|
-
* @param id Workorder id
|
|
573
|
-
* @returns void
|
|
574
|
-
* @throws ApiError
|
|
575
|
-
*/
|
|
576
|
-
static workorderPrototypeDeleteActions(id: string): CancelablePromise<void>;
|
|
577
|
-
/**
|
|
578
|
-
* Counts actions of Workorder.
|
|
579
|
-
* @param id Workorder id
|
|
580
|
-
* @param where Criteria to match model instances
|
|
581
|
-
* @returns any Request was successful
|
|
582
|
-
* @throws ApiError
|
|
583
|
-
*/
|
|
584
|
-
static workorderPrototypeCountActions(id: string, where?: string): CancelablePromise<{
|
|
585
|
-
count?: number;
|
|
586
|
-
}>;
|
|
587
|
-
/**
|
|
588
|
-
* Queries stocks of Workorder.
|
|
589
|
-
* @param id Workorder id
|
|
590
|
-
* @param filter
|
|
591
|
-
* @returns Stock Request was successful
|
|
592
|
-
* @throws ApiError
|
|
593
|
-
*/
|
|
594
|
-
static workorderPrototypeGetStocks(id: string, filter?: string): CancelablePromise<Array<Stock>>;
|
|
595
|
-
/**
|
|
596
|
-
* Creates a new instance in stocks of this model.
|
|
597
|
-
* @param id Workorder id
|
|
598
|
-
* @param data
|
|
599
|
-
* @returns Stock Request was successful
|
|
600
|
-
* @throws ApiError
|
|
601
|
-
*/
|
|
602
|
-
static workorderPrototypeCreateStocks(id: string, data?: Stock): CancelablePromise<Stock>;
|
|
603
|
-
/**
|
|
604
|
-
* Deletes all stocks of this model.
|
|
605
|
-
* @param id Workorder id
|
|
606
|
-
* @returns void
|
|
607
|
-
* @throws ApiError
|
|
608
|
-
*/
|
|
609
|
-
static workorderPrototypeDeleteStocks(id: string): CancelablePromise<void>;
|
|
610
|
-
/**
|
|
611
|
-
* Counts stocks of Workorder.
|
|
612
|
-
* @param id Workorder id
|
|
613
|
-
* @param where Criteria to match model instances
|
|
614
|
-
* @returns any Request was successful
|
|
615
|
-
* @throws ApiError
|
|
616
|
-
*/
|
|
617
|
-
static workorderPrototypeCountStocks(id: string, where?: string): CancelablePromise<{
|
|
618
|
-
count?: number;
|
|
619
|
-
}>;
|
|
620
|
-
/**
|
|
621
|
-
* Queries sessions of Workorder.
|
|
622
|
-
* @param id Workorder id
|
|
623
|
-
* @param filter
|
|
624
|
-
* @returns WorkflowSessionItem Request was successful
|
|
625
|
-
* @throws ApiError
|
|
626
|
-
*/
|
|
627
|
-
static workorderPrototypeGetSessions(id: string, filter?: string): CancelablePromise<Array<WorkflowSessionItem>>;
|
|
628
|
-
/**
|
|
629
|
-
* Creates a new instance in sessions of this model.
|
|
630
|
-
* @param id Workorder id
|
|
631
|
-
* @param data
|
|
632
|
-
* @returns WorkflowSessionItem Request was successful
|
|
633
|
-
* @throws ApiError
|
|
634
|
-
*/
|
|
635
|
-
static workorderPrototypeCreateSessions(id: string, data?: WorkflowSessionItem): CancelablePromise<WorkflowSessionItem>;
|
|
636
|
-
/**
|
|
637
|
-
* Deletes all sessions of this model.
|
|
638
|
-
* @param id Workorder id
|
|
639
|
-
* @returns void
|
|
640
|
-
* @throws ApiError
|
|
641
|
-
*/
|
|
642
|
-
static workorderPrototypeDeleteSessions(id: string): CancelablePromise<void>;
|
|
643
|
-
/**
|
|
644
|
-
* Counts sessions of Workorder.
|
|
645
|
-
* @param id Workorder id
|
|
646
|
-
* @param where Criteria to match model instances
|
|
647
|
-
* @returns any Request was successful
|
|
648
|
-
* @throws ApiError
|
|
649
|
-
*/
|
|
650
|
-
static workorderPrototypeCountSessions(id: string, where?: string): CancelablePromise<{
|
|
651
|
-
count?: number;
|
|
652
|
-
}>;
|
|
653
|
-
/**
|
|
654
|
-
* Queries groupModel of Workorder.
|
|
655
|
-
* @param id Workorder id
|
|
656
|
-
* @param filter
|
|
657
|
-
* @returns Group Request was successful
|
|
658
|
-
* @throws ApiError
|
|
659
|
-
*/
|
|
660
|
-
static workorderPrototypeGetGroupModel(id: string, filter?: string): CancelablePromise<Array<Group>>;
|
|
661
|
-
/**
|
|
662
|
-
* Creates a new instance in groupModel of this model.
|
|
663
|
-
* @param id Workorder id
|
|
664
|
-
* @param data
|
|
665
|
-
* @returns Group Request was successful
|
|
666
|
-
* @throws ApiError
|
|
667
|
-
*/
|
|
668
|
-
static workorderPrototypeCreateGroupModel(id: string, data?: Group): CancelablePromise<Group>;
|
|
669
|
-
/**
|
|
670
|
-
* Deletes all groupModel of this model.
|
|
671
|
-
* @param id Workorder id
|
|
672
|
-
* @returns void
|
|
673
|
-
* @throws ApiError
|
|
674
|
-
*/
|
|
675
|
-
static workorderPrototypeDeleteGroupModel(id: string): CancelablePromise<void>;
|
|
676
|
-
/**
|
|
677
|
-
* Counts groupModel of Workorder.
|
|
678
|
-
* @param id Workorder id
|
|
679
|
-
* @param where Criteria to match model instances
|
|
680
|
-
* @returns any Request was successful
|
|
681
|
-
* @throws ApiError
|
|
682
|
-
*/
|
|
683
|
-
static workorderPrototypeCountGroupModel(id: string, where?: string): CancelablePromise<{
|
|
684
|
-
count?: number;
|
|
685
|
-
}>;
|
|
686
|
-
/**
|
|
687
|
-
* Patch an existing model instance or insert a new one into the data source.
|
|
688
|
-
* @param data Model instance data
|
|
689
|
-
* @returns Workorder Request was successful
|
|
690
|
-
* @throws ApiError
|
|
691
|
-
*/
|
|
692
|
-
static workorderPatchOrCreate(data?: Workorder): CancelablePromise<Workorder>;
|
|
693
|
-
/**
|
|
694
|
-
* Replace an existing model instance or insert a new one into the data source.
|
|
695
|
-
* @param data Model instance data
|
|
696
|
-
* @returns Workorder Request was successful
|
|
697
|
-
* @throws ApiError
|
|
698
|
-
*/
|
|
699
|
-
static workorderReplaceOrCreatePutWorkorders(data?: Workorder): CancelablePromise<Workorder>;
|
|
700
|
-
/**
|
|
701
|
-
* Find all instances of the model matched by filter from the data source.
|
|
702
|
-
* @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.
|
|
703
|
-
* @returns Workorder Request was successful
|
|
704
|
-
* @throws ApiError
|
|
705
|
-
*/
|
|
706
|
-
static workorderFind(filter?: string): CancelablePromise<Array<Workorder>>;
|
|
707
|
-
/**
|
|
708
|
-
* Custom create method for workorders
|
|
709
|
-
* @param data
|
|
710
|
-
* @returns any Request was successful
|
|
711
|
-
* @throws ApiError
|
|
712
|
-
*/
|
|
713
|
-
static workorderCustomCreate(data: Workorder): CancelablePromise<any>;
|
|
714
|
-
/**
|
|
715
|
-
* Replace an existing model instance or insert a new one into the data source.
|
|
716
|
-
* @param data Model instance data
|
|
717
|
-
* @returns Workorder Request was successful
|
|
718
|
-
* @throws ApiError
|
|
719
|
-
*/
|
|
720
|
-
static workorderReplaceOrCreatePostWorkordersReplaceOrCreate(data?: Workorder): CancelablePromise<Workorder>;
|
|
721
|
-
/**
|
|
722
|
-
* Update an existing model instance or insert a new one into the data source based on the where criteria.
|
|
723
|
-
* @param where Criteria to match model instances
|
|
724
|
-
* @param data An object of model property name/value pairs
|
|
725
|
-
* @returns Workorder Request was successful
|
|
726
|
-
* @throws ApiError
|
|
727
|
-
*/
|
|
728
|
-
static workorderUpsertWithWhere(where?: string, data?: Workorder): CancelablePromise<Workorder>;
|
|
729
|
-
/**
|
|
730
|
-
* Check whether a model instance exists in the data source.
|
|
731
|
-
* @param id Model id
|
|
732
|
-
* @returns any Request was successful
|
|
733
|
-
* @throws ApiError
|
|
734
|
-
*/
|
|
735
|
-
static workorderExistsGetWorkordersIdExists(id: string): CancelablePromise<{
|
|
736
|
-
exists?: boolean;
|
|
737
|
-
}>;
|
|
738
|
-
/**
|
|
739
|
-
* Check whether a model instance exists in the data source.
|
|
740
|
-
* @param id Model id
|
|
741
|
-
* @returns any Request was successful
|
|
742
|
-
* @throws ApiError
|
|
743
|
-
*/
|
|
744
|
-
static workorderExistsHeadWorkordersId(id: string): CancelablePromise<{
|
|
745
|
-
exists?: boolean;
|
|
746
|
-
}>;
|
|
747
|
-
/**
|
|
748
|
-
* Find a model instance by {{id}} from the data source.
|
|
749
|
-
* @param id Model id
|
|
750
|
-
* @param filter Filter defining fields and include - must be a JSON-encoded string ({"something":"value"})
|
|
751
|
-
* @returns Workorder Request was successful
|
|
752
|
-
* @throws ApiError
|
|
753
|
-
*/
|
|
754
|
-
static workorderFindById(id: string, filter?: string): CancelablePromise<Workorder>;
|
|
755
|
-
/**
|
|
756
|
-
* Replace attributes for a model instance and persist it into the data source.
|
|
757
|
-
* @param id Model id
|
|
758
|
-
* @param data Model instance data
|
|
759
|
-
* @returns Workorder Request was successful
|
|
760
|
-
* @throws ApiError
|
|
761
|
-
*/
|
|
762
|
-
static workorderReplaceByIdPutWorkordersId(id: string, data?: Workorder): CancelablePromise<Workorder>;
|
|
763
|
-
/**
|
|
764
|
-
* Delete a model instance by {{id}} from the data source.
|
|
765
|
-
* @param id Model id
|
|
766
|
-
* @returns any Request was successful
|
|
767
|
-
* @throws ApiError
|
|
768
|
-
*/
|
|
769
|
-
static workorderDeleteById(id: string): CancelablePromise<any>;
|
|
770
|
-
/**
|
|
771
|
-
* Custom update method for workorders
|
|
772
|
-
* @param data
|
|
773
|
-
* @returns any Request was successful
|
|
774
|
-
* @throws ApiError
|
|
775
|
-
*/
|
|
776
|
-
static workorderCustomUpdate(data: Workorder): CancelablePromise<any>;
|
|
777
|
-
/**
|
|
778
|
-
* Replace attributes for a model instance and persist it into the data source.
|
|
779
|
-
* @param id Model id
|
|
780
|
-
* @param data Model instance data
|
|
781
|
-
* @returns Workorder Request was successful
|
|
782
|
-
* @throws ApiError
|
|
783
|
-
*/
|
|
784
|
-
static workorderReplaceByIdPostWorkordersIdReplace(id: string, data?: Workorder): CancelablePromise<Workorder>;
|
|
785
|
-
/**
|
|
786
|
-
* Find first instance of the model matched by filter from the data source.
|
|
787
|
-
* @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.
|
|
788
|
-
* @returns Workorder Request was successful
|
|
789
|
-
* @throws ApiError
|
|
790
|
-
*/
|
|
791
|
-
static workorderFindOne(filter?: string): CancelablePromise<Workorder>;
|
|
792
|
-
/**
|
|
793
|
-
* Update instances of the model matched by {{where}} from the data source.
|
|
794
|
-
* @param where Criteria to match model instances
|
|
795
|
-
* @param data An object of model property name/value pairs
|
|
796
|
-
* @returns any Request was successful
|
|
797
|
-
* @throws ApiError
|
|
798
|
-
*/
|
|
799
|
-
static workorderUpdateAll(where?: string, data?: Workorder): CancelablePromise<{
|
|
800
|
-
/**
|
|
801
|
-
* The number of instances updated
|
|
802
|
-
*/
|
|
803
|
-
count?: number;
|
|
804
|
-
}>;
|
|
805
|
-
/**
|
|
806
|
-
* Count instances of the model matched by where from the data source.
|
|
807
|
-
* @param where Criteria to match model instances
|
|
808
|
-
* @returns any Request was successful
|
|
809
|
-
* @throws ApiError
|
|
810
|
-
*/
|
|
811
|
-
static workorderCount(where?: string): CancelablePromise<{
|
|
812
|
-
count?: number;
|
|
813
|
-
}>;
|
|
814
|
-
/**
|
|
815
|
-
* Work on a specific stock
|
|
816
|
-
* @param id Workorder id
|
|
817
|
-
* @param fk Current stock ID
|
|
818
|
-
* @returns x_any Request was successful
|
|
819
|
-
* @throws ApiError
|
|
820
|
-
*/
|
|
821
|
-
static workorderPrototypeGetAvailableSerials(id: string, fk: string): CancelablePromise<Array<x_any>>;
|
|
822
|
-
/**
|
|
823
|
-
* Set session and workorder serial
|
|
824
|
-
* @param sessionId Current session ID
|
|
825
|
-
* @param serial serial to update
|
|
826
|
-
* @param uniqueRenderId Current Render Id
|
|
827
|
-
* @param workorderId
|
|
828
|
-
* @param oldSerial
|
|
829
|
-
* @param ignoreOtherWorkorders
|
|
830
|
-
* @returns Stock Request was successful
|
|
831
|
-
* @throws ApiError
|
|
832
|
-
*/
|
|
833
|
-
static workorderSetSessionSerial(sessionId: string, serial: string, uniqueRenderId: string, workorderId?: string, oldSerial?: string, ignoreOtherWorkorders?: boolean): CancelablePromise<Stock>;
|
|
834
|
-
/**
|
|
835
|
-
* Set Stock child items
|
|
836
|
-
* @param id Workorder id
|
|
837
|
-
* @param fk Current stock ID
|
|
838
|
-
* @param uniqueRenderId Current Render Id
|
|
839
|
-
* @param serial serial to update
|
|
840
|
-
* @param stockItemsByStockId stockItemsByStockId to update
|
|
841
|
-
* @param currentActCode Current action code
|
|
842
|
-
* @param approvedForms If the forms are approved
|
|
843
|
-
* @returns Stock Request was successful
|
|
844
|
-
* @throws ApiError
|
|
845
|
-
*/
|
|
846
|
-
static workorderPrototypeSetStockSerials(id: string, fk: string, uniqueRenderId: string, serial?: string, stockItemsByStockId?: string, currentActCode?: string, approvedForms?: boolean): CancelablePromise<Stock>;
|
|
847
|
-
/**
|
|
848
|
-
* Execute production report to Priority for single stock
|
|
849
|
-
* @param id Workorder id
|
|
850
|
-
* @param stockId Current stock ID
|
|
851
|
-
* @param uniqueRenderId
|
|
852
|
-
* @param updateList List of updates for single stock
|
|
853
|
-
* @param lastCommit Flag indicating if this is the last commit in a sequence
|
|
854
|
-
* @param sessionNodeId sessionNodeId
|
|
855
|
-
* @param clientDate clientDate
|
|
856
|
-
* @returns Stock Request was successful
|
|
857
|
-
* @throws ApiError
|
|
858
|
-
*/
|
|
859
|
-
static workorderPrototypeCommit(id: string, stockId: string, uniqueRenderId: string, updateList: string, lastCommit?: boolean, sessionNodeId?: string, clientDate?: string): CancelablePromise<Stock>;
|
|
860
|
-
/**
|
|
861
|
-
* Set Stock child items
|
|
862
|
-
* @param id Workorder id
|
|
863
|
-
* @param fk Current stock ID
|
|
864
|
-
* @param serial serial to update
|
|
865
|
-
* @param stockItems stockItems to update
|
|
866
|
-
* @param uniqueRenderId uniqueRenderId
|
|
867
|
-
* @returns Stock Request was successful
|
|
868
|
-
* @throws ApiError
|
|
869
|
-
*/
|
|
870
|
-
static workorderPrototypeSetStockSerialsLocal(id: string, fk: string, serial?: string, stockItems?: string, uniqueRenderId?: string): CancelablePromise<Stock>;
|
|
871
|
-
/**
|
|
872
|
-
* get Workorder and Stocks
|
|
873
|
-
* @param id
|
|
874
|
-
* @param fetchRemoteWorkflow
|
|
875
|
-
* @param fetchErpWorkorder
|
|
876
|
-
* @returns Workorder Request was successful
|
|
877
|
-
* @throws ApiError
|
|
878
|
-
*/
|
|
879
|
-
static workorderGet(id: string, fetchRemoteWorkflow: boolean, fetchErpWorkorder?: boolean): CancelablePromise<Workorder>;
|
|
880
|
-
/**
|
|
881
|
-
* Dummy function, just for ACL
|
|
882
|
-
* @returns void
|
|
883
|
-
* @throws ApiError
|
|
884
|
-
*/
|
|
885
|
-
static workorderApproveWorkWithVersionDiff(): CancelablePromise<void>;
|
|
886
|
-
/**
|
|
887
|
-
* Recived list of malfunctions from priority
|
|
888
|
-
* @returns x_any Request was successful
|
|
889
|
-
* @throws ApiError
|
|
890
|
-
*/
|
|
891
|
-
static workorderPriorityMalfunctions(): CancelablePromise<Array<x_any>>;
|
|
892
|
-
/**
|
|
893
|
-
* Add a workorder to the sync queue
|
|
894
|
-
* @param data
|
|
895
|
-
* @returns any Request was successful
|
|
896
|
-
* @throws ApiError
|
|
897
|
-
*/
|
|
898
|
-
static workorderAddToSyncQueue(data?: Workorder): CancelablePromise<any>;
|
|
899
|
-
/**
|
|
900
|
-
* @param mongoFilter
|
|
901
|
-
* @returns x_any Request was successful
|
|
902
|
-
* @throws ApiError
|
|
903
|
-
*/
|
|
904
|
-
static workorderAddAllWorkordersToSyncQueue(mongoFilter?: string): CancelablePromise<Array<x_any>>;
|
|
905
|
-
/**
|
|
906
|
-
* @param mongoFilter
|
|
907
|
-
* @returns x_any Request was successful
|
|
908
|
-
* @throws ApiError
|
|
909
|
-
*/
|
|
910
|
-
static workorderSyncWithChildItemsByFilter(mongoFilter?: string): CancelablePromise<Array<x_any>>;
|
|
911
|
-
/**
|
|
912
|
-
* @returns any Request was successful
|
|
913
|
-
* @throws ApiError
|
|
914
|
-
*/
|
|
915
|
-
static workorderManagerSyncOrders(): CancelablePromise<any>;
|
|
916
|
-
/**
|
|
917
|
-
* @param workorderId
|
|
918
|
-
* @param priority
|
|
919
|
-
* @returns any Request was successful
|
|
920
|
-
* @throws ApiError
|
|
921
|
-
*/
|
|
922
|
-
static workorderUpdatePriority(workorderId?: string, priority?: number): CancelablePromise<{
|
|
923
|
-
result?: any;
|
|
924
|
-
}>;
|
|
925
|
-
/**
|
|
926
|
-
* Assign users to workorder
|
|
927
|
-
* @param workorderId workorder id
|
|
928
|
-
* @param userIds User ids to assign
|
|
929
|
-
* @param notifyUsers send notifications for newly assigned users
|
|
930
|
-
* @param append whether to append users instead of setting them
|
|
931
|
-
* @returns Workorder Request was successful
|
|
932
|
-
* @throws ApiError
|
|
933
|
-
*/
|
|
934
|
-
static workorderAssign(workorderId: string, userIds: string, notifyUsers?: boolean, append?: boolean): CancelablePromise<Workorder>;
|
|
935
|
-
/**
|
|
936
|
-
* @param workorderId
|
|
937
|
-
* @param changes
|
|
938
|
-
* @returns any Request was successful
|
|
939
|
-
* @throws ApiError
|
|
940
|
-
*/
|
|
941
|
-
static workorderSaveLocalWorkorder(workorderId: string, changes?: string): CancelablePromise<any>;
|
|
942
|
-
/**
|
|
943
|
-
* @param workflowSessionItemId
|
|
944
|
-
* @param deleteFromWorkorder
|
|
945
|
-
* @returns any Request was successful
|
|
946
|
-
* @throws ApiError
|
|
947
|
-
*/
|
|
948
|
-
static workorderDeleteLocalUnit(workflowSessionItemId: string, deleteFromWorkorder?: boolean): CancelablePromise<any>;
|
|
949
|
-
/**
|
|
950
|
-
* @param data
|
|
951
|
-
* @returns any Request was successful
|
|
952
|
-
* @throws ApiError
|
|
953
|
-
*/
|
|
954
|
-
static workorderUpsertWorkorder(data?: Workorder): CancelablePromise<any>;
|
|
955
|
-
/**
|
|
956
|
-
* @param template
|
|
957
|
-
* @param extraWorkorders
|
|
958
|
-
* @param workordersConfigurations
|
|
959
|
-
* @returns any Request was successful
|
|
960
|
-
* @throws ApiError
|
|
961
|
-
*/
|
|
962
|
-
static workorderCreateMultipleWorkordersFromTemplate(template: string, extraWorkorders?: string, workordersConfigurations?: string): CancelablePromise<any>;
|
|
963
|
-
/**
|
|
964
|
-
* @param workorderId
|
|
965
|
-
* @param attributes
|
|
966
|
-
* @returns any Request was successful
|
|
967
|
-
* @throws ApiError
|
|
968
|
-
*/
|
|
969
|
-
static workorderUpdateSignAttributes(workorderId: string, attributes: string): CancelablePromise<any>;
|
|
970
|
-
/**
|
|
971
|
-
* @param workorderNumber
|
|
972
|
-
* @param type
|
|
973
|
-
* @returns any Request was successful
|
|
974
|
-
* @throws ApiError
|
|
975
|
-
*/
|
|
976
|
-
static workorderFetchWorkorderFromPriority(workorderNumber: string, type: string): CancelablePromise<any>;
|
|
977
|
-
/**
|
|
978
|
-
* @param workorderId
|
|
979
|
-
* @returns any Request was successful
|
|
980
|
-
* @throws ApiError
|
|
981
|
-
*/
|
|
982
|
-
static workorderRefreshWorkorderFromSource(workorderId: string): CancelablePromise<any>;
|
|
983
|
-
/**
|
|
984
|
-
* Assign users to workorder
|
|
985
|
-
* @param workorderId
|
|
986
|
-
* @param groups
|
|
987
|
-
* @returns Workorder Request was successful
|
|
988
|
-
* @throws ApiError
|
|
989
|
-
*/
|
|
990
|
-
static workorderChangeGroups(workorderId: string, groups: string): CancelablePromise<Workorder>;
|
|
991
|
-
/**
|
|
992
|
-
* delete Workorder
|
|
993
|
-
* @param id
|
|
994
|
-
* @param relatedModelsDeletion
|
|
995
|
-
* @returns any Request was successful
|
|
996
|
-
* @throws ApiError
|
|
997
|
-
*/
|
|
998
|
-
static workorderDeleteWorkorder(id: string, relatedModelsDeletion: boolean): CancelablePromise<any>;
|
|
999
|
-
/**
|
|
1000
|
-
* clone workorder Session
|
|
1001
|
-
* @param sourceWorkorderId
|
|
1002
|
-
* @param targetWorkorderId
|
|
1003
|
-
* @param sourceSessionId
|
|
1004
|
-
* @param targetSessionId
|
|
1005
|
-
* @param formsAction
|
|
1006
|
-
* @returns void
|
|
1007
|
-
* @throws ApiError
|
|
1008
|
-
*/
|
|
1009
|
-
static workorderCloneSession(sourceWorkorderId: string, targetWorkorderId: string, sourceSessionId: string, targetSessionId: string, formsAction: string): CancelablePromise<void>;
|
|
1010
|
-
/**
|
|
1011
|
-
* edit KitItem
|
|
1012
|
-
* @param workorderId
|
|
1013
|
-
* @param kitItemId
|
|
1014
|
-
* @param quantity
|
|
1015
|
-
* @param rev
|
|
1016
|
-
* @returns void
|
|
1017
|
-
* @throws ApiError
|
|
1018
|
-
*/
|
|
1019
|
-
static workorderEditKitItem(workorderId: string, kitItemId: string, quantity: number, rev?: string): CancelablePromise<void>;
|
|
1020
|
-
/**
|
|
1021
|
-
* remove KitItem
|
|
1022
|
-
* @param workorderId
|
|
1023
|
-
* @param kitItemId
|
|
1024
|
-
* @returns void
|
|
1025
|
-
* @throws ApiError
|
|
1026
|
-
*/
|
|
1027
|
-
static workorderRemoveKitItem(workorderId: string, kitItemId: string): CancelablePromise<void>;
|
|
1028
|
-
/**
|
|
1029
|
-
* add KitItem
|
|
1030
|
-
* @param workorderId
|
|
1031
|
-
* @param sku
|
|
1032
|
-
* @param quantity
|
|
1033
|
-
* @param rev
|
|
1034
|
-
* @returns any Request was successful
|
|
1035
|
-
* @throws ApiError
|
|
1036
|
-
*/
|
|
1037
|
-
static workorderAddKitItem(workorderId: string, sku: string, quantity: number, rev?: string): CancelablePromise<any>;
|
|
1038
|
-
/**
|
|
1039
|
-
* Report fault session
|
|
1040
|
-
* @param sessionId
|
|
1041
|
-
* @param workorderId
|
|
1042
|
-
* @param uniqueRenderId
|
|
1043
|
-
* @param fields
|
|
1044
|
-
* @param stockId
|
|
1045
|
-
* @param formDataId
|
|
1046
|
-
* @returns any Request was successful
|
|
1047
|
-
* @throws ApiError
|
|
1048
|
-
*/
|
|
1049
|
-
static workorderReportFaultSession(sessionId: string, workorderId: string, uniqueRenderId: string, fields: string, stockId?: string, formDataId?: string): CancelablePromise<any>;
|
|
1050
|
-
/**
|
|
1051
|
-
* Report fault session
|
|
1052
|
-
* @param id
|
|
1053
|
-
* @param workorderId
|
|
1054
|
-
* @param isSession
|
|
1055
|
-
* @returns void
|
|
1056
|
-
* @throws ApiError
|
|
1057
|
-
*/
|
|
1058
|
-
static workorderReportSessionIsValid(id: string, workorderId: string, isSession?: boolean): CancelablePromise<void>;
|
|
1059
|
-
/**
|
|
1060
|
-
* Report fault session
|
|
1061
|
-
* @param removeStockItemsField
|
|
1062
|
-
* @param changeSerialField
|
|
1063
|
-
* @param quantity
|
|
1064
|
-
* @param serial
|
|
1065
|
-
* @param stockId
|
|
1066
|
-
* @param sessionId
|
|
1067
|
-
* @param workorderId
|
|
1068
|
-
* @returns void
|
|
1069
|
-
* @throws ApiError
|
|
1070
|
-
*/
|
|
1071
|
-
static workorderFaultSessionValidateFields(removeStockItemsField: boolean, changeSerialField: boolean, quantity: number, serial?: string, stockId?: string, sessionId?: string, workorderId?: string): CancelablePromise<void>;
|
|
1072
|
-
/**
|
|
1073
|
-
* split session
|
|
1074
|
-
* @param workorderId
|
|
1075
|
-
* @param items
|
|
1076
|
-
* @param sourceSessionId
|
|
1077
|
-
* @param isStocks
|
|
1078
|
-
* @param createStock
|
|
1079
|
-
* @returns any Request was successful
|
|
1080
|
-
* @throws ApiError
|
|
1081
|
-
*/
|
|
1082
|
-
static workorderSplitSession(workorderId: string, items: string, sourceSessionId?: string, isStocks?: boolean, createStock?: boolean): CancelablePromise<any>;
|
|
1083
|
-
/**
|
|
1084
|
-
* update stocks
|
|
1085
|
-
* @param workorderId
|
|
1086
|
-
* @param stocks
|
|
1087
|
-
* @param sessionId
|
|
1088
|
-
* @param indicator
|
|
1089
|
-
* @param sourceSessionId
|
|
1090
|
-
* @param isStocks
|
|
1091
|
-
* @param createStock
|
|
1092
|
-
* @returns any Request was successful
|
|
1093
|
-
* @throws ApiError
|
|
1094
|
-
*/
|
|
1095
|
-
static workorderUpdateStocks(workorderId: string, stocks: string, sessionId?: string, indicator?: number, sourceSessionId?: string, isStocks?: boolean, createStock?: boolean): CancelablePromise<any>;
|
|
1096
|
-
/**
|
|
1097
|
-
* reset session
|
|
1098
|
-
* @param sessionId
|
|
1099
|
-
* @param workorderId
|
|
1100
|
-
* @param keepWorkflowVersion
|
|
1101
|
-
* @returns void
|
|
1102
|
-
* @throws ApiError
|
|
1103
|
-
*/
|
|
1104
|
-
static workorderResetSession(sessionId: string, workorderId: string, keepWorkflowVersion: boolean): CancelablePromise<void>;
|
|
1105
|
-
/**
|
|
1106
|
-
* Count with deleted instances of the model matched by where from the data source.
|
|
1107
|
-
* @param where Criteria to match model instances
|
|
1108
|
-
* @returns any Request was successful
|
|
1109
|
-
* @throws ApiError
|
|
1110
|
-
*/
|
|
1111
|
-
static workorderCountWithDeleted(where?: string): CancelablePromise<{
|
|
1112
|
-
count?: number;
|
|
1113
|
-
}>;
|
|
1114
|
-
/**
|
|
1115
|
-
* Get single task from SAP task queue
|
|
1116
|
-
* @returns any Request was successful
|
|
1117
|
-
* @throws ApiError
|
|
1118
|
-
*/
|
|
1119
|
-
static workorderSapConsumeMessageQueue(): CancelablePromise<any>;
|
|
1120
|
-
/**
|
|
1121
|
-
* upsert workorder from SAP
|
|
1122
|
-
* @param data
|
|
1123
|
-
* @returns any Request was successful
|
|
1124
|
-
* @throws ApiError
|
|
1125
|
-
*/
|
|
1126
|
-
static workorderAddSapIncomingMessageToQueue(data: Workorder): CancelablePromise<any>;
|
|
1127
|
-
/**
|
|
1128
|
-
* @param date
|
|
1129
|
-
* @returns any Request was successful
|
|
1130
|
-
* @throws ApiError
|
|
1131
|
-
*/
|
|
1132
|
-
static workorderAddWorkTimeToMessageQueue(date: string): CancelablePromise<any>;
|
|
1133
|
-
/**
|
|
1134
|
-
* @returns any Request was successful
|
|
1135
|
-
* @throws ApiError
|
|
1136
|
-
*/
|
|
1137
|
-
static workorderImportParts(): CancelablePromise<any>;
|
|
1138
|
-
}
|