@ignos/api-client 20260401.98.1 → 20260402.100.1-alpha
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/lib/ignosportal-api.d.ts +10 -2
- package/lib/ignosportal-api.js +4 -1
- package/package.json +1 -1
- package/src/ignosportal-api.ts +16 -2
package/lib/ignosportal-api.d.ts
CHANGED
|
@@ -1583,7 +1583,7 @@ export declare class SuppliersClient extends AuthorizedApiBase implements ISuppl
|
|
|
1583
1583
|
}
|
|
1584
1584
|
export interface ICncFileTransferClient {
|
|
1585
1585
|
startCncMachineOperationTransferToCloud(id: string): Promise<CncMachineTransferDto>;
|
|
1586
|
-
startCncMachineOperationTransferToMachine(id: string): Promise<CncMachineTransferDto>;
|
|
1586
|
+
startCncMachineOperationTransferToMachine(id: string, request: TransferToMachineRequest | undefined): Promise<CncMachineTransferDto>;
|
|
1587
1587
|
getTransferStatus(id: string): Promise<CncMachineTransferDto>;
|
|
1588
1588
|
createUploadCamTransferInfo(request: UploadCamFileRequest): Promise<UploadCamFileDto>;
|
|
1589
1589
|
getCamTransfer(path: string | undefined): Promise<CamTransferDto>;
|
|
@@ -1598,7 +1598,7 @@ export declare class CncFileTransferClient extends AuthorizedApiBase implements
|
|
|
1598
1598
|
});
|
|
1599
1599
|
startCncMachineOperationTransferToCloud(id: string): Promise<CncMachineTransferDto>;
|
|
1600
1600
|
protected processStartCncMachineOperationTransferToCloud(response: Response): Promise<CncMachineTransferDto>;
|
|
1601
|
-
startCncMachineOperationTransferToMachine(id: string): Promise<CncMachineTransferDto>;
|
|
1601
|
+
startCncMachineOperationTransferToMachine(id: string, request: TransferToMachineRequest | undefined): Promise<CncMachineTransferDto>;
|
|
1602
1602
|
protected processStartCncMachineOperationTransferToMachine(response: Response): Promise<CncMachineTransferDto>;
|
|
1603
1603
|
getTransferStatus(id: string): Promise<CncMachineTransferDto>;
|
|
1604
1604
|
protected processGetTransferStatus(response: Response): Promise<CncMachineTransferDto>;
|
|
@@ -5658,6 +5658,13 @@ export interface CncMachineTransferDto {
|
|
|
5658
5658
|
}
|
|
5659
5659
|
export type FileTransferDirection = "FromCloud" | "ToCloud";
|
|
5660
5660
|
export type FileTransferStatus = "InProgress" | "Success" | "Failed";
|
|
5661
|
+
export interface TransferToMachineRequest {
|
|
5662
|
+
programs?: ProgramSelectionRequest[] | null;
|
|
5663
|
+
}
|
|
5664
|
+
export interface ProgramSelectionRequest {
|
|
5665
|
+
id?: string;
|
|
5666
|
+
version?: number;
|
|
5667
|
+
}
|
|
5661
5668
|
export interface UploadCamFileDto {
|
|
5662
5669
|
uploadUrl: string;
|
|
5663
5670
|
path: string;
|
|
@@ -5987,6 +5994,7 @@ export interface CopyToolsCncMachine {
|
|
|
5987
5994
|
toolsIds: number[];
|
|
5988
5995
|
}
|
|
5989
5996
|
export interface ProgramFileDto {
|
|
5997
|
+
id: string;
|
|
5990
5998
|
name: string;
|
|
5991
5999
|
version: number;
|
|
5992
6000
|
uploadStatus: UploadStatusDto;
|
package/lib/ignosportal-api.js
CHANGED
|
@@ -12491,15 +12491,18 @@ export class CncFileTransferClient extends AuthorizedApiBase {
|
|
|
12491
12491
|
}
|
|
12492
12492
|
return Promise.resolve(null);
|
|
12493
12493
|
}
|
|
12494
|
-
startCncMachineOperationTransferToMachine(id) {
|
|
12494
|
+
startCncMachineOperationTransferToMachine(id, request) {
|
|
12495
12495
|
let url_ = this.baseUrl + "/cncfiletransfer/operations/{id}/transfertomachine";
|
|
12496
12496
|
if (id === undefined || id === null)
|
|
12497
12497
|
throw new globalThis.Error("The parameter 'id' must be defined.");
|
|
12498
12498
|
url_ = url_.replace("{id}", encodeURIComponent("" + id));
|
|
12499
12499
|
url_ = url_.replace(/[?&]$/, "");
|
|
12500
|
+
const content_ = JSON.stringify(request);
|
|
12500
12501
|
let options_ = {
|
|
12502
|
+
body: content_,
|
|
12501
12503
|
method: "POST",
|
|
12502
12504
|
headers: {
|
|
12505
|
+
"Content-Type": "application/json",
|
|
12503
12506
|
"Accept": "application/json"
|
|
12504
12507
|
}
|
|
12505
12508
|
};
|
package/package.json
CHANGED
package/src/ignosportal-api.ts
CHANGED
|
@@ -13333,7 +13333,7 @@ export interface ICncFileTransferClient {
|
|
|
13333
13333
|
|
|
13334
13334
|
startCncMachineOperationTransferToCloud(id: string): Promise<CncMachineTransferDto>;
|
|
13335
13335
|
|
|
13336
|
-
startCncMachineOperationTransferToMachine(id: string): Promise<CncMachineTransferDto>;
|
|
13336
|
+
startCncMachineOperationTransferToMachine(id: string, request: TransferToMachineRequest | undefined): Promise<CncMachineTransferDto>;
|
|
13337
13337
|
|
|
13338
13338
|
getTransferStatus(id: string): Promise<CncMachineTransferDto>;
|
|
13339
13339
|
|
|
@@ -13394,16 +13394,20 @@ export class CncFileTransferClient extends AuthorizedApiBase implements ICncFile
|
|
|
13394
13394
|
return Promise.resolve<CncMachineTransferDto>(null as any);
|
|
13395
13395
|
}
|
|
13396
13396
|
|
|
13397
|
-
startCncMachineOperationTransferToMachine(id: string): Promise<CncMachineTransferDto> {
|
|
13397
|
+
startCncMachineOperationTransferToMachine(id: string, request: TransferToMachineRequest | undefined): Promise<CncMachineTransferDto> {
|
|
13398
13398
|
let url_ = this.baseUrl + "/cncfiletransfer/operations/{id}/transfertomachine";
|
|
13399
13399
|
if (id === undefined || id === null)
|
|
13400
13400
|
throw new globalThis.Error("The parameter 'id' must be defined.");
|
|
13401
13401
|
url_ = url_.replace("{id}", encodeURIComponent("" + id));
|
|
13402
13402
|
url_ = url_.replace(/[?&]$/, "");
|
|
13403
13403
|
|
|
13404
|
+
const content_ = JSON.stringify(request);
|
|
13405
|
+
|
|
13404
13406
|
let options_: RequestInit = {
|
|
13407
|
+
body: content_,
|
|
13405
13408
|
method: "POST",
|
|
13406
13409
|
headers: {
|
|
13410
|
+
"Content-Type": "application/json",
|
|
13407
13411
|
"Accept": "application/json"
|
|
13408
13412
|
}
|
|
13409
13413
|
};
|
|
@@ -32169,6 +32173,15 @@ export type FileTransferDirection = "FromCloud" | "ToCloud";
|
|
|
32169
32173
|
|
|
32170
32174
|
export type FileTransferStatus = "InProgress" | "Success" | "Failed";
|
|
32171
32175
|
|
|
32176
|
+
export interface TransferToMachineRequest {
|
|
32177
|
+
programs?: ProgramSelectionRequest[] | null;
|
|
32178
|
+
}
|
|
32179
|
+
|
|
32180
|
+
export interface ProgramSelectionRequest {
|
|
32181
|
+
id?: string;
|
|
32182
|
+
version?: number;
|
|
32183
|
+
}
|
|
32184
|
+
|
|
32172
32185
|
export interface UploadCamFileDto {
|
|
32173
32186
|
uploadUrl: string;
|
|
32174
32187
|
path: string;
|
|
@@ -32537,6 +32550,7 @@ export interface CopyToolsCncMachine {
|
|
|
32537
32550
|
}
|
|
32538
32551
|
|
|
32539
32552
|
export interface ProgramFileDto {
|
|
32553
|
+
id: string;
|
|
32540
32554
|
name: string;
|
|
32541
32555
|
version: number;
|
|
32542
32556
|
uploadStatus: UploadStatusDto;
|