@ignos/api-client 20260401.97.1 → 20260402.99.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 +33 -38
- package/lib/ignosportal-api.js +4 -1
- package/package.json +1 -1
- package/src/ignosportal-api.ts +46 -43
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>;
|
|
@@ -3414,35 +3414,12 @@ export interface BuildingFloorDto {
|
|
|
3414
3414
|
description?: string | null;
|
|
3415
3415
|
featureCollection: FeatureCollection;
|
|
3416
3416
|
}
|
|
3417
|
-
export interface
|
|
3418
|
-
|
|
3419
|
-
|
|
3420
|
-
|
|
3421
|
-
|
|
3422
|
-
export interface FeatureCollection extends GeoJSONObject {
|
|
3423
|
-
type?: GeoJSONObjectType;
|
|
3424
|
-
features?: Feature[] | null;
|
|
3425
|
-
}
|
|
3426
|
-
export type GeoJSONObjectType = "Point" | "MultiPoint" | "LineString" | "MultiLineString" | "Polygon" | "MultiPolygon" | "GeometryCollection" | "Feature" | "FeatureCollection";
|
|
3427
|
-
export interface FeatureOfIGeometryObjectAndIDictionaryOfStringAndObject extends GeoJSONObject {
|
|
3428
|
-
type?: GeoJSONObjectType;
|
|
3429
|
-
id?: string | null;
|
|
3430
|
-
geometry?: IGeometryObject | null;
|
|
3431
|
-
properties?: {
|
|
3432
|
-
[key: string]: any;
|
|
3433
|
-
} | null;
|
|
3434
|
-
}
|
|
3435
|
-
export interface FeatureOfIGeometryObject extends FeatureOfIGeometryObjectAndIDictionaryOfStringAndObject {
|
|
3436
|
-
}
|
|
3437
|
-
export interface Feature extends FeatureOfIGeometryObject {
|
|
3438
|
-
}
|
|
3439
|
-
export interface IGeometryObject {
|
|
3440
|
-
type?: GeoJSONObjectType;
|
|
3441
|
-
}
|
|
3442
|
-
export interface ICRSObject {
|
|
3443
|
-
type?: CRSType;
|
|
3417
|
+
export interface FeatureCollection {
|
|
3418
|
+
type: FeatureCollectionType;
|
|
3419
|
+
features: Features[];
|
|
3420
|
+
bbox?: number[];
|
|
3421
|
+
[key: string]: any;
|
|
3444
3422
|
}
|
|
3445
|
-
export type CRSType = 0 | 1 | 2;
|
|
3446
3423
|
export interface CreateBuildingFloor {
|
|
3447
3424
|
name?: string;
|
|
3448
3425
|
floor?: string;
|
|
@@ -3490,14 +3467,11 @@ export interface FactoryDto {
|
|
|
3490
3467
|
companyId?: string | null;
|
|
3491
3468
|
centerPoint: Point;
|
|
3492
3469
|
}
|
|
3493
|
-
export interface Point
|
|
3494
|
-
type
|
|
3495
|
-
coordinates
|
|
3496
|
-
|
|
3497
|
-
|
|
3498
|
-
altitude?: number | null;
|
|
3499
|
-
latitude?: number;
|
|
3500
|
-
longitude?: number;
|
|
3470
|
+
export interface Point {
|
|
3471
|
+
type: PointType;
|
|
3472
|
+
coordinates: number[];
|
|
3473
|
+
bbox?: number[];
|
|
3474
|
+
[key: string]: any;
|
|
3501
3475
|
}
|
|
3502
3476
|
export interface UpdateFactory {
|
|
3503
3477
|
centerPoint?: Point;
|
|
@@ -5684,6 +5658,9 @@ export interface CncMachineTransferDto {
|
|
|
5684
5658
|
}
|
|
5685
5659
|
export type FileTransferDirection = "FromCloud" | "ToCloud";
|
|
5686
5660
|
export type FileTransferStatus = "InProgress" | "Success" | "Failed";
|
|
5661
|
+
export interface TransferToMachineRequest {
|
|
5662
|
+
filenames?: string[] | null;
|
|
5663
|
+
}
|
|
5687
5664
|
export interface UploadCamFileDto {
|
|
5688
5665
|
uploadUrl: string;
|
|
5689
5666
|
path: string;
|
|
@@ -9406,6 +9383,24 @@ export interface SetDiscussionLastReadRequest {
|
|
|
9406
9383
|
operationId?: string | null;
|
|
9407
9384
|
resourceId?: string | null;
|
|
9408
9385
|
}
|
|
9386
|
+
export type FeatureCollectionType = "FeatureCollection";
|
|
9387
|
+
export interface Features {
|
|
9388
|
+
type: FeaturesType;
|
|
9389
|
+
id?: number;
|
|
9390
|
+
properties: any | null;
|
|
9391
|
+
geometry: Geometry | null;
|
|
9392
|
+
bbox?: number[];
|
|
9393
|
+
[key: string]: any;
|
|
9394
|
+
}
|
|
9395
|
+
export type PointType = "Point";
|
|
9396
|
+
export type FeaturesType = "Feature";
|
|
9397
|
+
export interface Geometry {
|
|
9398
|
+
type: GeometryType;
|
|
9399
|
+
coordinates: number[];
|
|
9400
|
+
bbox?: number[];
|
|
9401
|
+
[key: string]: any;
|
|
9402
|
+
}
|
|
9403
|
+
export type GeometryType = "Point";
|
|
9409
9404
|
export interface FileParameter {
|
|
9410
9405
|
data: any;
|
|
9411
9406
|
fileName: string;
|
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
|
};
|
|
@@ -29574,42 +29578,14 @@ export interface BuildingFloorDto {
|
|
|
29574
29578
|
featureCollection: FeatureCollection;
|
|
29575
29579
|
}
|
|
29576
29580
|
|
|
29577
|
-
export interface
|
|
29578
|
-
|
|
29579
|
-
|
|
29580
|
-
|
|
29581
|
-
}
|
|
29582
|
-
|
|
29583
|
-
export interface FeatureCollection extends GeoJSONObject {
|
|
29584
|
-
type?: GeoJSONObjectType;
|
|
29585
|
-
features?: Feature[] | null;
|
|
29586
|
-
}
|
|
29587
|
-
|
|
29588
|
-
export type GeoJSONObjectType = "Point" | "MultiPoint" | "LineString" | "MultiLineString" | "Polygon" | "MultiPolygon" | "GeometryCollection" | "Feature" | "FeatureCollection";
|
|
29589
|
-
|
|
29590
|
-
export interface FeatureOfIGeometryObjectAndIDictionaryOfStringAndObject extends GeoJSONObject {
|
|
29591
|
-
type?: GeoJSONObjectType;
|
|
29592
|
-
id?: string | null;
|
|
29593
|
-
geometry?: IGeometryObject | null;
|
|
29594
|
-
properties?: { [key: string]: any; } | null;
|
|
29595
|
-
}
|
|
29596
|
-
|
|
29597
|
-
export interface FeatureOfIGeometryObject extends FeatureOfIGeometryObjectAndIDictionaryOfStringAndObject {
|
|
29598
|
-
}
|
|
29581
|
+
export interface FeatureCollection {
|
|
29582
|
+
type: FeatureCollectionType;
|
|
29583
|
+
features: Features[];
|
|
29584
|
+
bbox?: number[];
|
|
29599
29585
|
|
|
29600
|
-
|
|
29601
|
-
}
|
|
29602
|
-
|
|
29603
|
-
export interface IGeometryObject {
|
|
29604
|
-
type?: GeoJSONObjectType;
|
|
29605
|
-
}
|
|
29606
|
-
|
|
29607
|
-
export interface ICRSObject {
|
|
29608
|
-
type?: CRSType;
|
|
29586
|
+
[key: string]: any;
|
|
29609
29587
|
}
|
|
29610
29588
|
|
|
29611
|
-
export type CRSType = 0 | 1 | 2;
|
|
29612
|
-
|
|
29613
29589
|
export interface CreateBuildingFloor {
|
|
29614
29590
|
name?: string;
|
|
29615
29591
|
floor?: string;
|
|
@@ -29666,15 +29642,12 @@ export interface FactoryDto {
|
|
|
29666
29642
|
centerPoint: Point;
|
|
29667
29643
|
}
|
|
29668
29644
|
|
|
29669
|
-
export interface Point
|
|
29670
|
-
type
|
|
29671
|
-
coordinates
|
|
29672
|
-
|
|
29645
|
+
export interface Point {
|
|
29646
|
+
type: PointType;
|
|
29647
|
+
coordinates: number[];
|
|
29648
|
+
bbox?: number[];
|
|
29673
29649
|
|
|
29674
|
-
|
|
29675
|
-
altitude?: number | null;
|
|
29676
|
-
latitude?: number;
|
|
29677
|
-
longitude?: number;
|
|
29650
|
+
[key: string]: any;
|
|
29678
29651
|
}
|
|
29679
29652
|
|
|
29680
29653
|
export interface UpdateFactory {
|
|
@@ -32200,6 +32173,10 @@ export type FileTransferDirection = "FromCloud" | "ToCloud";
|
|
|
32200
32173
|
|
|
32201
32174
|
export type FileTransferStatus = "InProgress" | "Success" | "Failed";
|
|
32202
32175
|
|
|
32176
|
+
export interface TransferToMachineRequest {
|
|
32177
|
+
filenames?: string[] | null;
|
|
32178
|
+
}
|
|
32179
|
+
|
|
32203
32180
|
export interface UploadCamFileDto {
|
|
32204
32181
|
uploadUrl: string;
|
|
32205
32182
|
path: string;
|
|
@@ -36398,6 +36375,32 @@ export interface SetDiscussionLastReadRequest {
|
|
|
36398
36375
|
resourceId?: string | null;
|
|
36399
36376
|
}
|
|
36400
36377
|
|
|
36378
|
+
export type FeatureCollectionType = "FeatureCollection";
|
|
36379
|
+
|
|
36380
|
+
export interface Features {
|
|
36381
|
+
type: FeaturesType;
|
|
36382
|
+
id?: number;
|
|
36383
|
+
properties: any | null;
|
|
36384
|
+
geometry: Geometry | null;
|
|
36385
|
+
bbox?: number[];
|
|
36386
|
+
|
|
36387
|
+
[key: string]: any;
|
|
36388
|
+
}
|
|
36389
|
+
|
|
36390
|
+
export type PointType = "Point";
|
|
36391
|
+
|
|
36392
|
+
export type FeaturesType = "Feature";
|
|
36393
|
+
|
|
36394
|
+
export interface Geometry {
|
|
36395
|
+
type: GeometryType;
|
|
36396
|
+
coordinates: number[];
|
|
36397
|
+
bbox?: number[];
|
|
36398
|
+
|
|
36399
|
+
[key: string]: any;
|
|
36400
|
+
}
|
|
36401
|
+
|
|
36402
|
+
export type GeometryType = "Point";
|
|
36403
|
+
|
|
36401
36404
|
export interface FileParameter {
|
|
36402
36405
|
data: any;
|
|
36403
36406
|
fileName: string;
|