@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,59 @@
|
|
|
1
|
+
import type { Gateway } from '../models/Gateway';
|
|
2
|
+
import type { CancelablePromise } from '../core/CancelablePromise';
|
|
3
|
+
export declare class GatewayService {
|
|
4
|
+
/**
|
|
5
|
+
* Find all instances of the model matched by filter from the data source.
|
|
6
|
+
* @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.
|
|
7
|
+
* @returns Gateway Request was successful
|
|
8
|
+
* @throws ApiError
|
|
9
|
+
*/
|
|
10
|
+
static gatewayFind(filter?: string): CancelablePromise<Array<Gateway>>;
|
|
11
|
+
/**
|
|
12
|
+
* Find first instance of the model matched by filter from the data source.
|
|
13
|
+
* @param filter Filter defining fields, where, include, order, offset, and limit - must be a JSON-encoded string (`{"where":{"something":"value"}}`). See https://loopback.io/doc/en/lb3/Querying-data.html#using-stringified-json-in-rest-queries for more details.
|
|
14
|
+
* @returns Gateway Request was successful
|
|
15
|
+
* @throws ApiError
|
|
16
|
+
*/
|
|
17
|
+
static gatewayFindOne(filter?: string): CancelablePromise<Gateway>;
|
|
18
|
+
/**
|
|
19
|
+
* Count instances of the model matched by where from the data source.
|
|
20
|
+
* @param where Criteria to match model instances
|
|
21
|
+
* @returns any Request was successful
|
|
22
|
+
* @throws ApiError
|
|
23
|
+
*/
|
|
24
|
+
static gatewayCount(where?: string): CancelablePromise<{
|
|
25
|
+
count?: number;
|
|
26
|
+
}>;
|
|
27
|
+
/**
|
|
28
|
+
* Patch attributes for a model instance and persist it into the data source.
|
|
29
|
+
* @param id Gateway id
|
|
30
|
+
* @param data An object of model property name/value pairs
|
|
31
|
+
* @returns Gateway Request was successful
|
|
32
|
+
* @throws ApiError
|
|
33
|
+
*/
|
|
34
|
+
static gatewayPrototypePatchAttributes(id: string, data?: Gateway): CancelablePromise<Gateway>;
|
|
35
|
+
/**
|
|
36
|
+
* End point that called from gateway to create hand-shake
|
|
37
|
+
* @param macAddress
|
|
38
|
+
* @param interfaces
|
|
39
|
+
* @param accessToken
|
|
40
|
+
* @returns any Request was successful
|
|
41
|
+
* @throws ApiError
|
|
42
|
+
*/
|
|
43
|
+
static gatewayHandshake(macAddress: string, interfaces?: string, accessToken?: string): CancelablePromise<any>;
|
|
44
|
+
/**
|
|
45
|
+
* @param id
|
|
46
|
+
* @returns string Request was successful
|
|
47
|
+
* @throws ApiError
|
|
48
|
+
*/
|
|
49
|
+
static gatewayConnectGetway(id: string): CancelablePromise<string>;
|
|
50
|
+
/**
|
|
51
|
+
* End point that update gateway interface
|
|
52
|
+
* @param macAddress
|
|
53
|
+
* @param interfaces
|
|
54
|
+
* @param accessToken
|
|
55
|
+
* @returns any Request was successful
|
|
56
|
+
* @throws ApiError
|
|
57
|
+
*/
|
|
58
|
+
static gatewayUpdateInterfaces(macAddress: string, interfaces?: string, accessToken?: string): CancelablePromise<any>;
|
|
59
|
+
}
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import type { Group } from '../models/Group';
|
|
2
|
+
import type { CancelablePromise } from '../core/CancelablePromise';
|
|
3
|
+
export declare class GroupService {
|
|
4
|
+
/**
|
|
5
|
+
* Create a new instance of the model and persist it into the data source.
|
|
6
|
+
* @param data Model instance data
|
|
7
|
+
* @returns Group Request was successful
|
|
8
|
+
* @throws ApiError
|
|
9
|
+
*/
|
|
10
|
+
static groupCreate(data?: Group): CancelablePromise<Group>;
|
|
11
|
+
/**
|
|
12
|
+
* Find all instances of the model matched by filter from the data source.
|
|
13
|
+
* @param filter Filter defining fields, where, include, order, offset, and limit - must be a JSON-encoded string (`{"where":{"something":"value"}}`). See https://loopback.io/doc/en/lb3/Querying-data.html#using-stringified-json-in-rest-queries for more details.
|
|
14
|
+
* @returns Group Request was successful
|
|
15
|
+
* @throws ApiError
|
|
16
|
+
*/
|
|
17
|
+
static groupFind(filter?: string): CancelablePromise<Array<Group>>;
|
|
18
|
+
/**
|
|
19
|
+
* Find first instance of the model matched by filter from the data source.
|
|
20
|
+
* @param filter Filter defining fields, where, include, order, offset, and limit - must be a JSON-encoded string (`{"where":{"something":"value"}}`). See https://loopback.io/doc/en/lb3/Querying-data.html#using-stringified-json-in-rest-queries for more details.
|
|
21
|
+
* @returns Group Request was successful
|
|
22
|
+
* @throws ApiError
|
|
23
|
+
*/
|
|
24
|
+
static groupFindOne(filter?: string): CancelablePromise<Group>;
|
|
25
|
+
/**
|
|
26
|
+
* Count instances of the model matched by where from the data source.
|
|
27
|
+
* @param where Criteria to match model instances
|
|
28
|
+
* @returns any Request was successful
|
|
29
|
+
* @throws ApiError
|
|
30
|
+
*/
|
|
31
|
+
static groupCount(where?: string): CancelablePromise<{
|
|
32
|
+
count?: number;
|
|
33
|
+
}>;
|
|
34
|
+
/**
|
|
35
|
+
* Patch attributes for a model instance and persist it into the data source.
|
|
36
|
+
* @param id Group id
|
|
37
|
+
* @param data An object of model property name/value pairs
|
|
38
|
+
* @returns Group Request was successful
|
|
39
|
+
* @throws ApiError
|
|
40
|
+
*/
|
|
41
|
+
static groupPrototypePatchAttributes(id: string, data?: Group): CancelablePromise<Group>;
|
|
42
|
+
/**
|
|
43
|
+
* @param id
|
|
44
|
+
* @returns any Request was successful
|
|
45
|
+
* @throws ApiError
|
|
46
|
+
*/
|
|
47
|
+
static groupDeleteGroup(id: string): CancelablePromise<{
|
|
48
|
+
result?: Array<any>;
|
|
49
|
+
}>;
|
|
50
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import type { x_any } from '../models/x_any';
|
|
2
|
+
import type { CancelablePromise } from '../core/CancelablePromise';
|
|
3
|
+
export declare class IntegrationBuilderService {
|
|
4
|
+
/**
|
|
5
|
+
* @returns x_any Request was successful
|
|
6
|
+
* @throws ApiError
|
|
7
|
+
*/
|
|
8
|
+
static integrationBuilderGetIntegrationBuilderSettings(): CancelablePromise<x_any>;
|
|
9
|
+
/**
|
|
10
|
+
* @param value
|
|
11
|
+
* @returns x_any Request was successful
|
|
12
|
+
* @throws ApiError
|
|
13
|
+
*/
|
|
14
|
+
static integrationBuilderSaveIntegrationBuilderSettings(value?: string): CancelablePromise<x_any>;
|
|
15
|
+
/**
|
|
16
|
+
* @param integrationType
|
|
17
|
+
* @param url
|
|
18
|
+
* @param testSettings
|
|
19
|
+
* @returns x_any Request was successful
|
|
20
|
+
* @throws ApiError
|
|
21
|
+
*/
|
|
22
|
+
static integrationBuilderTestIntegrationUrl(integrationType?: string, url?: string, testSettings?: string): CancelablePromise<x_any>;
|
|
23
|
+
}
|
|
@@ -0,0 +1,151 @@
|
|
|
1
|
+
import type { InventoryTransaction } from '../models/InventoryTransaction';
|
|
2
|
+
import type { UserModel } from '../models/UserModel';
|
|
3
|
+
import type { CancelablePromise } from '../core/CancelablePromise';
|
|
4
|
+
export declare class InventoryTransactionService {
|
|
5
|
+
/**
|
|
6
|
+
* Fetches belongsTo relation user.
|
|
7
|
+
* @param id InventoryTransaction id
|
|
8
|
+
* @param refresh
|
|
9
|
+
* @returns UserModel Request was successful
|
|
10
|
+
* @throws ApiError
|
|
11
|
+
*/
|
|
12
|
+
static inventoryTransactionPrototypeGetUser(id: string, refresh?: boolean): CancelablePromise<UserModel>;
|
|
13
|
+
/**
|
|
14
|
+
* Create a new instance of the model and persist it into the data source.
|
|
15
|
+
* @param data Model instance data
|
|
16
|
+
* @returns InventoryTransaction Request was successful
|
|
17
|
+
* @throws ApiError
|
|
18
|
+
*/
|
|
19
|
+
static inventoryTransactionCreate(data?: InventoryTransaction): CancelablePromise<InventoryTransaction>;
|
|
20
|
+
/**
|
|
21
|
+
* Patch an existing model instance or insert a new one into the data source.
|
|
22
|
+
* @param data Model instance data
|
|
23
|
+
* @returns InventoryTransaction Request was successful
|
|
24
|
+
* @throws ApiError
|
|
25
|
+
*/
|
|
26
|
+
static inventoryTransactionPatchOrCreate(data?: InventoryTransaction): CancelablePromise<InventoryTransaction>;
|
|
27
|
+
/**
|
|
28
|
+
* Replace an existing model instance or insert a new one into the data source.
|
|
29
|
+
* @param data Model instance data
|
|
30
|
+
* @returns InventoryTransaction Request was successful
|
|
31
|
+
* @throws ApiError
|
|
32
|
+
*/
|
|
33
|
+
static inventoryTransactionReplaceOrCreatePutInventoryTransactions(data?: InventoryTransaction): CancelablePromise<InventoryTransaction>;
|
|
34
|
+
/**
|
|
35
|
+
* Find all instances of the model matched by filter from the data source.
|
|
36
|
+
* @param filter Filter defining fields, where, include, order, offset, and limit - must be a JSON-encoded string (`{"where":{"something":"value"}}`). See https://loopback.io/doc/en/lb3/Querying-data.html#using-stringified-json-in-rest-queries for more details.
|
|
37
|
+
* @returns InventoryTransaction Request was successful
|
|
38
|
+
* @throws ApiError
|
|
39
|
+
*/
|
|
40
|
+
static inventoryTransactionFind(filter?: string): CancelablePromise<Array<InventoryTransaction>>;
|
|
41
|
+
/**
|
|
42
|
+
* Replace an existing model instance or insert a new one into the data source.
|
|
43
|
+
* @param data Model instance data
|
|
44
|
+
* @returns InventoryTransaction Request was successful
|
|
45
|
+
* @throws ApiError
|
|
46
|
+
*/
|
|
47
|
+
static inventoryTransactionReplaceOrCreatePostInventoryTransactionsReplaceOrCreate(data?: InventoryTransaction): CancelablePromise<InventoryTransaction>;
|
|
48
|
+
/**
|
|
49
|
+
* Update an existing model instance or insert a new one into the data source based on the where criteria.
|
|
50
|
+
* @param where Criteria to match model instances
|
|
51
|
+
* @param data An object of model property name/value pairs
|
|
52
|
+
* @returns InventoryTransaction Request was successful
|
|
53
|
+
* @throws ApiError
|
|
54
|
+
*/
|
|
55
|
+
static inventoryTransactionUpsertWithWhere(where?: string, data?: InventoryTransaction): CancelablePromise<InventoryTransaction>;
|
|
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 inventoryTransactionExistsGetInventoryTransactionsIdExists(id: string): CancelablePromise<{
|
|
63
|
+
exists?: boolean;
|
|
64
|
+
}>;
|
|
65
|
+
/**
|
|
66
|
+
* Check whether a model instance exists in the data source.
|
|
67
|
+
* @param id Model id
|
|
68
|
+
* @returns any Request was successful
|
|
69
|
+
* @throws ApiError
|
|
70
|
+
*/
|
|
71
|
+
static inventoryTransactionExistsHeadInventoryTransactionsId(id: string): CancelablePromise<{
|
|
72
|
+
exists?: boolean;
|
|
73
|
+
}>;
|
|
74
|
+
/**
|
|
75
|
+
* Find a model instance by {{id}} from the data source.
|
|
76
|
+
* @param id Model id
|
|
77
|
+
* @param filter Filter defining fields and include - must be a JSON-encoded string ({"something":"value"})
|
|
78
|
+
* @returns InventoryTransaction Request was successful
|
|
79
|
+
* @throws ApiError
|
|
80
|
+
*/
|
|
81
|
+
static inventoryTransactionFindById(id: string, filter?: string): CancelablePromise<InventoryTransaction>;
|
|
82
|
+
/**
|
|
83
|
+
* Replace attributes for a model instance and persist it into the data source.
|
|
84
|
+
* @param id Model id
|
|
85
|
+
* @param data Model instance data
|
|
86
|
+
* @returns InventoryTransaction Request was successful
|
|
87
|
+
* @throws ApiError
|
|
88
|
+
*/
|
|
89
|
+
static inventoryTransactionReplaceByIdPutInventoryTransactionsId(id: string, data?: InventoryTransaction): CancelablePromise<InventoryTransaction>;
|
|
90
|
+
/**
|
|
91
|
+
* Delete a model instance by {{id}} from the data source.
|
|
92
|
+
* @param id Model id
|
|
93
|
+
* @returns any Request was successful
|
|
94
|
+
* @throws ApiError
|
|
95
|
+
*/
|
|
96
|
+
static inventoryTransactionDeleteById(id: string): CancelablePromise<any>;
|
|
97
|
+
/**
|
|
98
|
+
* Patch attributes for a model instance and persist it into the data source.
|
|
99
|
+
* @param id InventoryTransaction id
|
|
100
|
+
* @param data An object of model property name/value pairs
|
|
101
|
+
* @returns InventoryTransaction Request was successful
|
|
102
|
+
* @throws ApiError
|
|
103
|
+
*/
|
|
104
|
+
static inventoryTransactionPrototypePatchAttributes(id: string, data?: InventoryTransaction): CancelablePromise<InventoryTransaction>;
|
|
105
|
+
/**
|
|
106
|
+
* Replace attributes for a model instance and persist it into the data source.
|
|
107
|
+
* @param id Model id
|
|
108
|
+
* @param data Model instance data
|
|
109
|
+
* @returns InventoryTransaction Request was successful
|
|
110
|
+
* @throws ApiError
|
|
111
|
+
*/
|
|
112
|
+
static inventoryTransactionReplaceByIdPostInventoryTransactionsIdReplace(id: string, data?: InventoryTransaction): CancelablePromise<InventoryTransaction>;
|
|
113
|
+
/**
|
|
114
|
+
* Find first instance of the model matched by filter from the data source.
|
|
115
|
+
* @param filter Filter defining fields, where, include, order, offset, and limit - must be a JSON-encoded string (`{"where":{"something":"value"}}`). See https://loopback.io/doc/en/lb3/Querying-data.html#using-stringified-json-in-rest-queries for more details.
|
|
116
|
+
* @returns InventoryTransaction Request was successful
|
|
117
|
+
* @throws ApiError
|
|
118
|
+
*/
|
|
119
|
+
static inventoryTransactionFindOne(filter?: string): CancelablePromise<InventoryTransaction>;
|
|
120
|
+
/**
|
|
121
|
+
* Update instances of the model matched by {{where}} from the data source.
|
|
122
|
+
* @param where Criteria to match model instances
|
|
123
|
+
* @param data An object of model property name/value pairs
|
|
124
|
+
* @returns any Request was successful
|
|
125
|
+
* @throws ApiError
|
|
126
|
+
*/
|
|
127
|
+
static inventoryTransactionUpdateAll(where?: string, data?: InventoryTransaction): CancelablePromise<{
|
|
128
|
+
/**
|
|
129
|
+
* The number of instances updated
|
|
130
|
+
*/
|
|
131
|
+
count?: number;
|
|
132
|
+
}>;
|
|
133
|
+
/**
|
|
134
|
+
* Count instances of the model matched by where from the data source.
|
|
135
|
+
* @param where Criteria to match model instances
|
|
136
|
+
* @returns any Request was successful
|
|
137
|
+
* @throws ApiError
|
|
138
|
+
*/
|
|
139
|
+
static inventoryTransactionCount(where?: string): CancelablePromise<{
|
|
140
|
+
count?: number;
|
|
141
|
+
}>;
|
|
142
|
+
/**
|
|
143
|
+
* Count with deleted instances of the model matched by where from the data source.
|
|
144
|
+
* @param where Criteria to match model instances
|
|
145
|
+
* @returns any Request was successful
|
|
146
|
+
* @throws ApiError
|
|
147
|
+
*/
|
|
148
|
+
static inventoryTransactionCountWithDeleted(where?: string): CancelablePromise<{
|
|
149
|
+
count?: number;
|
|
150
|
+
}>;
|
|
151
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import type { x_any } from '../models/x_any';
|
|
2
|
+
import type { CancelablePromise } from '../core/CancelablePromise';
|
|
3
|
+
export declare class LastSeenResourceService {
|
|
4
|
+
/**
|
|
5
|
+
* @param type
|
|
6
|
+
* @param valueId
|
|
7
|
+
* @returns x_any Request was successful
|
|
8
|
+
* @throws ApiError
|
|
9
|
+
*/
|
|
10
|
+
static lastSeenResourceInsertNewLastSeen(type: string, valueId: string): CancelablePromise<x_any>;
|
|
11
|
+
/**
|
|
12
|
+
* @returns x_any Request was successful
|
|
13
|
+
* @throws ApiError
|
|
14
|
+
*/
|
|
15
|
+
static lastSeenResourceFindRelatedLastSeen(): CancelablePromise<Array<x_any>>;
|
|
16
|
+
}
|
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
import type { ListItem } from '../models/ListItem';
|
|
2
|
+
import type { CancelablePromise } from '../core/CancelablePromise';
|
|
3
|
+
export declare class ListItemService {
|
|
4
|
+
/**
|
|
5
|
+
* Create a new instance of the model and persist it into the data source.
|
|
6
|
+
* @param data Model instance data
|
|
7
|
+
* @returns ListItem Request was successful
|
|
8
|
+
* @throws ApiError
|
|
9
|
+
*/
|
|
10
|
+
static listItemCreate(data?: ListItem): CancelablePromise<ListItem>;
|
|
11
|
+
/**
|
|
12
|
+
* Find all instances of the model matched by filter from the data source.
|
|
13
|
+
* @param filter Filter defining fields, where, include, order, offset, and limit - must be a JSON-encoded string (`{"where":{"something":"value"}}`). See https://loopback.io/doc/en/lb3/Querying-data.html#using-stringified-json-in-rest-queries for more details.
|
|
14
|
+
* @returns ListItem Request was successful
|
|
15
|
+
* @throws ApiError
|
|
16
|
+
*/
|
|
17
|
+
static listItemFind(filter?: string): CancelablePromise<Array<ListItem>>;
|
|
18
|
+
/**
|
|
19
|
+
* Find first instance of the model matched by filter from the data source.
|
|
20
|
+
* @param filter Filter defining fields, where, include, order, offset, and limit - must be a JSON-encoded string (`{"where":{"something":"value"}}`). See https://loopback.io/doc/en/lb3/Querying-data.html#using-stringified-json-in-rest-queries for more details.
|
|
21
|
+
* @returns ListItem Request was successful
|
|
22
|
+
* @throws ApiError
|
|
23
|
+
*/
|
|
24
|
+
static listItemFindOne(filter?: string): CancelablePromise<ListItem>;
|
|
25
|
+
/**
|
|
26
|
+
* Delete a model instance by {{id}} from the data source.
|
|
27
|
+
* @param id Model id
|
|
28
|
+
* @returns any Request was successful
|
|
29
|
+
* @throws ApiError
|
|
30
|
+
*/
|
|
31
|
+
static listItemDeleteById(id: string): CancelablePromise<any>;
|
|
32
|
+
/**
|
|
33
|
+
* Patch attributes for a model instance and persist it into the data source.
|
|
34
|
+
* @param id ListItem id
|
|
35
|
+
* @param data An object of model property name/value pairs
|
|
36
|
+
* @returns ListItem Request was successful
|
|
37
|
+
* @throws ApiError
|
|
38
|
+
*/
|
|
39
|
+
static listItemPrototypePatchAttributes(id: string, data?: ListItem): CancelablePromise<ListItem>;
|
|
40
|
+
/**
|
|
41
|
+
* Count instances of the model matched by where from the data source.
|
|
42
|
+
* @param where Criteria to match model instances
|
|
43
|
+
* @returns any Request was successful
|
|
44
|
+
* @throws ApiError
|
|
45
|
+
*/
|
|
46
|
+
static listItemCount(where?: string): CancelablePromise<{
|
|
47
|
+
count?: number;
|
|
48
|
+
}>;
|
|
49
|
+
/**
|
|
50
|
+
* check if listItem is used
|
|
51
|
+
* @param listItemId
|
|
52
|
+
* @returns any Request was successful
|
|
53
|
+
* @throws ApiError
|
|
54
|
+
*/
|
|
55
|
+
static listItemCheckIfListItemIsUsed(listItemId: string): CancelablePromise<any>;
|
|
56
|
+
/**
|
|
57
|
+
* check if listItem is used
|
|
58
|
+
* @param listItemId
|
|
59
|
+
* @param newListItemId
|
|
60
|
+
* @returns void
|
|
61
|
+
* @throws ApiError
|
|
62
|
+
*/
|
|
63
|
+
static listItemBulkWorkflowListItemChange(listItemId: string, newListItemId?: string): CancelablePromise<void>;
|
|
64
|
+
/**
|
|
65
|
+
* delete or replace List Item on workflow
|
|
66
|
+
* @param replacementIdByDeletedId
|
|
67
|
+
* @param workflowId
|
|
68
|
+
* @returns any Request was successful
|
|
69
|
+
* @throws ApiError
|
|
70
|
+
*/
|
|
71
|
+
static listItemWorkflowListItemsDelete(replacementIdByDeletedId: string, workflowId: string): CancelablePromise<any>;
|
|
72
|
+
/**
|
|
73
|
+
* @param filter
|
|
74
|
+
* @returns any Request was successful
|
|
75
|
+
* @throws ApiError
|
|
76
|
+
*/
|
|
77
|
+
static listItemExportTranslations(filter: string): CancelablePromise<{
|
|
78
|
+
res?: any;
|
|
79
|
+
}>;
|
|
80
|
+
/**
|
|
81
|
+
* Uploads a file
|
|
82
|
+
* @param body
|
|
83
|
+
* @returns any Request was successful
|
|
84
|
+
* @throws ApiError
|
|
85
|
+
*/
|
|
86
|
+
static listItemImportTranslations(body?: any): CancelablePromise<{
|
|
87
|
+
res?: any;
|
|
88
|
+
}>;
|
|
89
|
+
/**
|
|
90
|
+
* @returns any Request was successful
|
|
91
|
+
* @throws ApiError
|
|
92
|
+
*/
|
|
93
|
+
static listItemMarkAsComplete(): CancelablePromise<{
|
|
94
|
+
res?: any;
|
|
95
|
+
}>;
|
|
96
|
+
}
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
import type { List } from '../models/List';
|
|
2
|
+
import type { CancelablePromise } from '../core/CancelablePromise';
|
|
3
|
+
export declare class ListService {
|
|
4
|
+
/**
|
|
5
|
+
* Create a new instance of the model and persist it into the data source.
|
|
6
|
+
* @param data Model instance data
|
|
7
|
+
* @returns List Request was successful
|
|
8
|
+
* @throws ApiError
|
|
9
|
+
*/
|
|
10
|
+
static listCreate(data?: List): CancelablePromise<List>;
|
|
11
|
+
/**
|
|
12
|
+
* Find all instances of the model matched by filter from the data source.
|
|
13
|
+
* @param filter Filter defining fields, where, include, order, offset, and limit - must be a JSON-encoded string (`{"where":{"something":"value"}}`). See https://loopback.io/doc/en/lb3/Querying-data.html#using-stringified-json-in-rest-queries for more details.
|
|
14
|
+
* @returns List Request was successful
|
|
15
|
+
* @throws ApiError
|
|
16
|
+
*/
|
|
17
|
+
static listFind(filter?: string): CancelablePromise<Array<List>>;
|
|
18
|
+
/**
|
|
19
|
+
* Find first instance of the model matched by filter from the data source.
|
|
20
|
+
* @param filter Filter defining fields, where, include, order, offset, and limit - must be a JSON-encoded string (`{"where":{"something":"value"}}`). See https://loopback.io/doc/en/lb3/Querying-data.html#using-stringified-json-in-rest-queries for more details.
|
|
21
|
+
* @returns List Request was successful
|
|
22
|
+
* @throws ApiError
|
|
23
|
+
*/
|
|
24
|
+
static listFindOne(filter?: string): CancelablePromise<List>;
|
|
25
|
+
/**
|
|
26
|
+
* Delete a model instance by {{id}} from the data source.
|
|
27
|
+
* @param id Model id
|
|
28
|
+
* @returns any Request was successful
|
|
29
|
+
* @throws ApiError
|
|
30
|
+
*/
|
|
31
|
+
static listDeleteById(id: string): CancelablePromise<any>;
|
|
32
|
+
/**
|
|
33
|
+
* Patch attributes for a model instance and persist it into the data source.
|
|
34
|
+
* @param id List id
|
|
35
|
+
* @param data An object of model property name/value pairs
|
|
36
|
+
* @returns List Request was successful
|
|
37
|
+
* @throws ApiError
|
|
38
|
+
*/
|
|
39
|
+
static listPrototypePatchAttributes(id: string, data?: List): CancelablePromise<List>;
|
|
40
|
+
/**
|
|
41
|
+
* Count instances of the model matched by where from the data source.
|
|
42
|
+
* @param where Criteria to match model instances
|
|
43
|
+
* @returns any Request was successful
|
|
44
|
+
* @throws ApiError
|
|
45
|
+
*/
|
|
46
|
+
static listCount(where?: string): CancelablePromise<{
|
|
47
|
+
count?: number;
|
|
48
|
+
}>;
|
|
49
|
+
/**
|
|
50
|
+
* @param filter
|
|
51
|
+
* @returns any Request was successful
|
|
52
|
+
* @throws ApiError
|
|
53
|
+
*/
|
|
54
|
+
static listExportTranslations(filter: string): CancelablePromise<{
|
|
55
|
+
res?: any;
|
|
56
|
+
}>;
|
|
57
|
+
/**
|
|
58
|
+
* Uploads a file
|
|
59
|
+
* @param body
|
|
60
|
+
* @returns any Request was successful
|
|
61
|
+
* @throws ApiError
|
|
62
|
+
*/
|
|
63
|
+
static listImportTranslations(body?: any): CancelablePromise<{
|
|
64
|
+
res?: any;
|
|
65
|
+
}>;
|
|
66
|
+
/**
|
|
67
|
+
* @returns any Request was successful
|
|
68
|
+
* @throws ApiError
|
|
69
|
+
*/
|
|
70
|
+
static listMarkAsComplete(): CancelablePromise<{
|
|
71
|
+
res?: any;
|
|
72
|
+
}>;
|
|
73
|
+
}
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
import type { Location } from '../models/Location';
|
|
2
|
+
import type { CancelablePromise } from '../core/CancelablePromise';
|
|
3
|
+
export declare class LocationService {
|
|
4
|
+
/**
|
|
5
|
+
* Create a new instance of the model and persist it into the data source.
|
|
6
|
+
* @param data Model instance data
|
|
7
|
+
* @returns Location Request was successful
|
|
8
|
+
* @throws ApiError
|
|
9
|
+
*/
|
|
10
|
+
static locationCreate(data?: Location): CancelablePromise<Location>;
|
|
11
|
+
/**
|
|
12
|
+
* Find all instances of the model matched by filter from the data source.
|
|
13
|
+
* @param filter Filter defining fields, where, include, order, offset, and limit - must be a JSON-encoded string (`{"where":{"something":"value"}}`). See https://loopback.io/doc/en/lb3/Querying-data.html#using-stringified-json-in-rest-queries for more details.
|
|
14
|
+
* @returns Location Request was successful
|
|
15
|
+
* @throws ApiError
|
|
16
|
+
*/
|
|
17
|
+
static locationFind(filter?: string): CancelablePromise<Array<Location>>;
|
|
18
|
+
/**
|
|
19
|
+
* Find a model instance by {{id}} from the data source.
|
|
20
|
+
* @param id Model id
|
|
21
|
+
* @param filter Filter defining fields and include - must be a JSON-encoded string ({"something":"value"})
|
|
22
|
+
* @returns Location Request was successful
|
|
23
|
+
* @throws ApiError
|
|
24
|
+
*/
|
|
25
|
+
static locationFindById(id: string, filter?: string): CancelablePromise<Location>;
|
|
26
|
+
/**
|
|
27
|
+
* Patch attributes for a model instance and persist it into the data source.
|
|
28
|
+
* @param id Location id
|
|
29
|
+
* @param data An object of model property name/value pairs
|
|
30
|
+
* @returns Location Request was successful
|
|
31
|
+
* @throws ApiError
|
|
32
|
+
*/
|
|
33
|
+
static locationPrototypePatchAttributes(id: string, data?: Location): CancelablePromise<Location>;
|
|
34
|
+
/**
|
|
35
|
+
* Find first instance of the model matched by filter from the data source.
|
|
36
|
+
* @param filter Filter defining fields, where, include, order, offset, and limit - must be a JSON-encoded string (`{"where":{"something":"value"}}`). See https://loopback.io/doc/en/lb3/Querying-data.html#using-stringified-json-in-rest-queries for more details.
|
|
37
|
+
* @returns Location Request was successful
|
|
38
|
+
* @throws ApiError
|
|
39
|
+
*/
|
|
40
|
+
static locationFindOne(filter?: string): CancelablePromise<Location>;
|
|
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 locationCount(where?: string): CancelablePromise<{
|
|
48
|
+
count?: number;
|
|
49
|
+
}>;
|
|
50
|
+
/**
|
|
51
|
+
* @param locationId
|
|
52
|
+
* @returns string Request was successful
|
|
53
|
+
* @throws ApiError
|
|
54
|
+
*/
|
|
55
|
+
static locationDeleteLocation(locationId: string): CancelablePromise<string>;
|
|
56
|
+
/**
|
|
57
|
+
* @param filter
|
|
58
|
+
* @returns any Request was successful
|
|
59
|
+
* @throws ApiError
|
|
60
|
+
*/
|
|
61
|
+
static locationExportTranslations(filter: string): CancelablePromise<{
|
|
62
|
+
res?: any;
|
|
63
|
+
}>;
|
|
64
|
+
/**
|
|
65
|
+
* Uploads a file
|
|
66
|
+
* @param body
|
|
67
|
+
* @returns any Request was successful
|
|
68
|
+
* @throws ApiError
|
|
69
|
+
*/
|
|
70
|
+
static locationImportTranslations(body?: any): CancelablePromise<{
|
|
71
|
+
res?: any;
|
|
72
|
+
}>;
|
|
73
|
+
/**
|
|
74
|
+
* @returns any Request was successful
|
|
75
|
+
* @throws ApiError
|
|
76
|
+
*/
|
|
77
|
+
static locationMarkAsComplete(): CancelablePromise<{
|
|
78
|
+
res?: any;
|
|
79
|
+
}>;
|
|
80
|
+
}
|