@ignos/api-client 20250603.0.11860 → 20250604.0.11868
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 +18 -0
- package/lib/ignosportal-api.js +43 -0
- package/package.json +1 -1
- package/src/ignosportal-api.ts +61 -0
package/lib/ignosportal-api.d.ts
CHANGED
|
@@ -8253,6 +8253,7 @@ export declare class FixtureDto implements IFixtureDto {
|
|
|
8253
8253
|
fullName: string;
|
|
8254
8254
|
fullNameWithId: string;
|
|
8255
8255
|
fixtureGroupId: string;
|
|
8256
|
+
otherInstances: FixtureInstanceDto[];
|
|
8256
8257
|
deleted?: boolean;
|
|
8257
8258
|
approved?: boolean;
|
|
8258
8259
|
drawing?: string | null;
|
|
@@ -8282,6 +8283,7 @@ export interface IFixtureDto {
|
|
|
8282
8283
|
fullName: string;
|
|
8283
8284
|
fullNameWithId: string;
|
|
8284
8285
|
fixtureGroupId: string;
|
|
8286
|
+
otherInstances: FixtureInstanceDto[];
|
|
8285
8287
|
deleted?: boolean;
|
|
8286
8288
|
approved?: boolean;
|
|
8287
8289
|
drawing?: string | null;
|
|
@@ -8301,6 +8303,20 @@ export interface IFixtureDto {
|
|
|
8301
8303
|
gripSide?: GripSideDto | null;
|
|
8302
8304
|
description?: string | null;
|
|
8303
8305
|
}
|
|
8306
|
+
export declare class FixtureInstanceDto implements IFixtureInstanceDto {
|
|
8307
|
+
fixtureId: string;
|
|
8308
|
+
fullName: string;
|
|
8309
|
+
fullNameWithId: string;
|
|
8310
|
+
constructor(data?: IFixtureInstanceDto);
|
|
8311
|
+
init(_data?: any): void;
|
|
8312
|
+
static fromJS(data: any): FixtureInstanceDto;
|
|
8313
|
+
toJSON(data?: any): any;
|
|
8314
|
+
}
|
|
8315
|
+
export interface IFixtureInstanceDto {
|
|
8316
|
+
fixtureId: string;
|
|
8317
|
+
fullName: string;
|
|
8318
|
+
fullNameWithId: string;
|
|
8319
|
+
}
|
|
8304
8320
|
export type FixtureTypeDto = "Bungs" | "Jaws" | "Jigs" | "Centers";
|
|
8305
8321
|
export declare class FixtureLastUsedOperationDto implements IFixtureLastUsedOperationDto {
|
|
8306
8322
|
operationId: string;
|
|
@@ -8323,6 +8339,7 @@ export interface IFixtureLastUsedOperationDto {
|
|
|
8323
8339
|
export type GripSideDto = "NotApplicable" | "Inside" | "Outside";
|
|
8324
8340
|
export declare class ListFixtures implements IListFixtures {
|
|
8325
8341
|
pageSize?: number | null;
|
|
8342
|
+
searchTerm?: string | null;
|
|
8326
8343
|
fixtureIdFilter?: string[] | null;
|
|
8327
8344
|
fixtureGroupIdFilter?: string[] | null;
|
|
8328
8345
|
fixtureTypeFilter?: FixtureTypeDto[] | null;
|
|
@@ -8355,6 +8372,7 @@ export declare class ListFixtures implements IListFixtures {
|
|
|
8355
8372
|
}
|
|
8356
8373
|
export interface IListFixtures {
|
|
8357
8374
|
pageSize?: number | null;
|
|
8375
|
+
searchTerm?: string | null;
|
|
8358
8376
|
fixtureIdFilter?: string[] | null;
|
|
8359
8377
|
fixtureGroupIdFilter?: string[] | null;
|
|
8360
8378
|
fixtureTypeFilter?: FixtureTypeDto[] | null;
|
package/lib/ignosportal-api.js
CHANGED
|
@@ -33741,6 +33741,7 @@ export class FixtureDto {
|
|
|
33741
33741
|
}
|
|
33742
33742
|
}
|
|
33743
33743
|
if (!data) {
|
|
33744
|
+
this.otherInstances = [];
|
|
33744
33745
|
this.lastUsedOperations = [];
|
|
33745
33746
|
}
|
|
33746
33747
|
}
|
|
@@ -33751,6 +33752,11 @@ export class FixtureDto {
|
|
|
33751
33752
|
this.fullName = _data["fullName"];
|
|
33752
33753
|
this.fullNameWithId = _data["fullNameWithId"];
|
|
33753
33754
|
this.fixtureGroupId = _data["fixtureGroupId"];
|
|
33755
|
+
if (Array.isArray(_data["otherInstances"])) {
|
|
33756
|
+
this.otherInstances = [];
|
|
33757
|
+
for (let item of _data["otherInstances"])
|
|
33758
|
+
this.otherInstances.push(FixtureInstanceDto.fromJS(item));
|
|
33759
|
+
}
|
|
33754
33760
|
this.deleted = _data["deleted"];
|
|
33755
33761
|
this.approved = _data["approved"];
|
|
33756
33762
|
this.drawing = _data["drawing"];
|
|
@@ -33788,6 +33794,11 @@ export class FixtureDto {
|
|
|
33788
33794
|
data["fullName"] = this.fullName;
|
|
33789
33795
|
data["fullNameWithId"] = this.fullNameWithId;
|
|
33790
33796
|
data["fixtureGroupId"] = this.fixtureGroupId;
|
|
33797
|
+
if (Array.isArray(this.otherInstances)) {
|
|
33798
|
+
data["otherInstances"] = [];
|
|
33799
|
+
for (let item of this.otherInstances)
|
|
33800
|
+
data["otherInstances"].push(item.toJSON());
|
|
33801
|
+
}
|
|
33791
33802
|
data["deleted"] = this.deleted;
|
|
33792
33803
|
data["approved"] = this.approved;
|
|
33793
33804
|
data["drawing"] = this.drawing;
|
|
@@ -33813,6 +33824,36 @@ export class FixtureDto {
|
|
|
33813
33824
|
return data;
|
|
33814
33825
|
}
|
|
33815
33826
|
}
|
|
33827
|
+
export class FixtureInstanceDto {
|
|
33828
|
+
constructor(data) {
|
|
33829
|
+
if (data) {
|
|
33830
|
+
for (var property in data) {
|
|
33831
|
+
if (data.hasOwnProperty(property))
|
|
33832
|
+
this[property] = data[property];
|
|
33833
|
+
}
|
|
33834
|
+
}
|
|
33835
|
+
}
|
|
33836
|
+
init(_data) {
|
|
33837
|
+
if (_data) {
|
|
33838
|
+
this.fixtureId = _data["fixtureId"];
|
|
33839
|
+
this.fullName = _data["fullName"];
|
|
33840
|
+
this.fullNameWithId = _data["fullNameWithId"];
|
|
33841
|
+
}
|
|
33842
|
+
}
|
|
33843
|
+
static fromJS(data) {
|
|
33844
|
+
data = typeof data === 'object' ? data : {};
|
|
33845
|
+
let result = new FixtureInstanceDto();
|
|
33846
|
+
result.init(data);
|
|
33847
|
+
return result;
|
|
33848
|
+
}
|
|
33849
|
+
toJSON(data) {
|
|
33850
|
+
data = typeof data === 'object' ? data : {};
|
|
33851
|
+
data["fixtureId"] = this.fixtureId;
|
|
33852
|
+
data["fullName"] = this.fullName;
|
|
33853
|
+
data["fullNameWithId"] = this.fullNameWithId;
|
|
33854
|
+
return data;
|
|
33855
|
+
}
|
|
33856
|
+
}
|
|
33816
33857
|
export class FixtureLastUsedOperationDto {
|
|
33817
33858
|
constructor(data) {
|
|
33818
33859
|
if (data) {
|
|
@@ -33859,6 +33900,7 @@ export class ListFixtures {
|
|
|
33859
33900
|
init(_data) {
|
|
33860
33901
|
if (_data) {
|
|
33861
33902
|
this.pageSize = _data["pageSize"];
|
|
33903
|
+
this.searchTerm = _data["searchTerm"];
|
|
33862
33904
|
if (Array.isArray(_data["fixtureIdFilter"])) {
|
|
33863
33905
|
this.fixtureIdFilter = [];
|
|
33864
33906
|
for (let item of _data["fixtureIdFilter"])
|
|
@@ -33907,6 +33949,7 @@ export class ListFixtures {
|
|
|
33907
33949
|
toJSON(data) {
|
|
33908
33950
|
data = typeof data === 'object' ? data : {};
|
|
33909
33951
|
data["pageSize"] = this.pageSize;
|
|
33952
|
+
data["searchTerm"] = this.searchTerm;
|
|
33910
33953
|
if (Array.isArray(this.fixtureIdFilter)) {
|
|
33911
33954
|
data["fixtureIdFilter"] = [];
|
|
33912
33955
|
for (let item of this.fixtureIdFilter)
|
package/package.json
CHANGED
package/src/ignosportal-api.ts
CHANGED
|
@@ -40832,6 +40832,7 @@ export class FixtureDto implements IFixtureDto {
|
|
|
40832
40832
|
fullName!: string;
|
|
40833
40833
|
fullNameWithId!: string;
|
|
40834
40834
|
fixtureGroupId!: string;
|
|
40835
|
+
otherInstances!: FixtureInstanceDto[];
|
|
40835
40836
|
deleted?: boolean;
|
|
40836
40837
|
approved?: boolean;
|
|
40837
40838
|
drawing?: string | null;
|
|
@@ -40859,6 +40860,7 @@ export class FixtureDto implements IFixtureDto {
|
|
|
40859
40860
|
}
|
|
40860
40861
|
}
|
|
40861
40862
|
if (!data) {
|
|
40863
|
+
this.otherInstances = [];
|
|
40862
40864
|
this.lastUsedOperations = [];
|
|
40863
40865
|
}
|
|
40864
40866
|
}
|
|
@@ -40870,6 +40872,11 @@ export class FixtureDto implements IFixtureDto {
|
|
|
40870
40872
|
this.fullName = _data["fullName"];
|
|
40871
40873
|
this.fullNameWithId = _data["fullNameWithId"];
|
|
40872
40874
|
this.fixtureGroupId = _data["fixtureGroupId"];
|
|
40875
|
+
if (Array.isArray(_data["otherInstances"])) {
|
|
40876
|
+
this.otherInstances = [] as any;
|
|
40877
|
+
for (let item of _data["otherInstances"])
|
|
40878
|
+
this.otherInstances!.push(FixtureInstanceDto.fromJS(item));
|
|
40879
|
+
}
|
|
40873
40880
|
this.deleted = _data["deleted"];
|
|
40874
40881
|
this.approved = _data["approved"];
|
|
40875
40882
|
this.drawing = _data["drawing"];
|
|
@@ -40909,6 +40916,11 @@ export class FixtureDto implements IFixtureDto {
|
|
|
40909
40916
|
data["fullName"] = this.fullName;
|
|
40910
40917
|
data["fullNameWithId"] = this.fullNameWithId;
|
|
40911
40918
|
data["fixtureGroupId"] = this.fixtureGroupId;
|
|
40919
|
+
if (Array.isArray(this.otherInstances)) {
|
|
40920
|
+
data["otherInstances"] = [];
|
|
40921
|
+
for (let item of this.otherInstances)
|
|
40922
|
+
data["otherInstances"].push(item.toJSON());
|
|
40923
|
+
}
|
|
40912
40924
|
data["deleted"] = this.deleted;
|
|
40913
40925
|
data["approved"] = this.approved;
|
|
40914
40926
|
data["drawing"] = this.drawing;
|
|
@@ -40941,6 +40953,7 @@ export interface IFixtureDto {
|
|
|
40941
40953
|
fullName: string;
|
|
40942
40954
|
fullNameWithId: string;
|
|
40943
40955
|
fixtureGroupId: string;
|
|
40956
|
+
otherInstances: FixtureInstanceDto[];
|
|
40944
40957
|
deleted?: boolean;
|
|
40945
40958
|
approved?: boolean;
|
|
40946
40959
|
drawing?: string | null;
|
|
@@ -40961,6 +40974,50 @@ export interface IFixtureDto {
|
|
|
40961
40974
|
description?: string | null;
|
|
40962
40975
|
}
|
|
40963
40976
|
|
|
40977
|
+
export class FixtureInstanceDto implements IFixtureInstanceDto {
|
|
40978
|
+
fixtureId!: string;
|
|
40979
|
+
fullName!: string;
|
|
40980
|
+
fullNameWithId!: string;
|
|
40981
|
+
|
|
40982
|
+
constructor(data?: IFixtureInstanceDto) {
|
|
40983
|
+
if (data) {
|
|
40984
|
+
for (var property in data) {
|
|
40985
|
+
if (data.hasOwnProperty(property))
|
|
40986
|
+
(<any>this)[property] = (<any>data)[property];
|
|
40987
|
+
}
|
|
40988
|
+
}
|
|
40989
|
+
}
|
|
40990
|
+
|
|
40991
|
+
init(_data?: any) {
|
|
40992
|
+
if (_data) {
|
|
40993
|
+
this.fixtureId = _data["fixtureId"];
|
|
40994
|
+
this.fullName = _data["fullName"];
|
|
40995
|
+
this.fullNameWithId = _data["fullNameWithId"];
|
|
40996
|
+
}
|
|
40997
|
+
}
|
|
40998
|
+
|
|
40999
|
+
static fromJS(data: any): FixtureInstanceDto {
|
|
41000
|
+
data = typeof data === 'object' ? data : {};
|
|
41001
|
+
let result = new FixtureInstanceDto();
|
|
41002
|
+
result.init(data);
|
|
41003
|
+
return result;
|
|
41004
|
+
}
|
|
41005
|
+
|
|
41006
|
+
toJSON(data?: any) {
|
|
41007
|
+
data = typeof data === 'object' ? data : {};
|
|
41008
|
+
data["fixtureId"] = this.fixtureId;
|
|
41009
|
+
data["fullName"] = this.fullName;
|
|
41010
|
+
data["fullNameWithId"] = this.fullNameWithId;
|
|
41011
|
+
return data;
|
|
41012
|
+
}
|
|
41013
|
+
}
|
|
41014
|
+
|
|
41015
|
+
export interface IFixtureInstanceDto {
|
|
41016
|
+
fixtureId: string;
|
|
41017
|
+
fullName: string;
|
|
41018
|
+
fullNameWithId: string;
|
|
41019
|
+
}
|
|
41020
|
+
|
|
40964
41021
|
export type FixtureTypeDto = "Bungs" | "Jaws" | "Jigs" | "Centers";
|
|
40965
41022
|
|
|
40966
41023
|
export class FixtureLastUsedOperationDto implements IFixtureLastUsedOperationDto {
|
|
@@ -41019,6 +41076,7 @@ export type GripSideDto = "NotApplicable" | "Inside" | "Outside";
|
|
|
41019
41076
|
|
|
41020
41077
|
export class ListFixtures implements IListFixtures {
|
|
41021
41078
|
pageSize?: number | null;
|
|
41079
|
+
searchTerm?: string | null;
|
|
41022
41080
|
fixtureIdFilter?: string[] | null;
|
|
41023
41081
|
fixtureGroupIdFilter?: string[] | null;
|
|
41024
41082
|
fixtureTypeFilter?: FixtureTypeDto[] | null;
|
|
@@ -41057,6 +41115,7 @@ export class ListFixtures implements IListFixtures {
|
|
|
41057
41115
|
init(_data?: any) {
|
|
41058
41116
|
if (_data) {
|
|
41059
41117
|
this.pageSize = _data["pageSize"];
|
|
41118
|
+
this.searchTerm = _data["searchTerm"];
|
|
41060
41119
|
if (Array.isArray(_data["fixtureIdFilter"])) {
|
|
41061
41120
|
this.fixtureIdFilter = [] as any;
|
|
41062
41121
|
for (let item of _data["fixtureIdFilter"])
|
|
@@ -41107,6 +41166,7 @@ export class ListFixtures implements IListFixtures {
|
|
|
41107
41166
|
toJSON(data?: any) {
|
|
41108
41167
|
data = typeof data === 'object' ? data : {};
|
|
41109
41168
|
data["pageSize"] = this.pageSize;
|
|
41169
|
+
data["searchTerm"] = this.searchTerm;
|
|
41110
41170
|
if (Array.isArray(this.fixtureIdFilter)) {
|
|
41111
41171
|
data["fixtureIdFilter"] = [];
|
|
41112
41172
|
for (let item of this.fixtureIdFilter)
|
|
@@ -41150,6 +41210,7 @@ export class ListFixtures implements IListFixtures {
|
|
|
41150
41210
|
|
|
41151
41211
|
export interface IListFixtures {
|
|
41152
41212
|
pageSize?: number | null;
|
|
41213
|
+
searchTerm?: string | null;
|
|
41153
41214
|
fixtureIdFilter?: string[] | null;
|
|
41154
41215
|
fixtureGroupIdFilter?: string[] | null;
|
|
41155
41216
|
fixtureTypeFilter?: FixtureTypeDto[] | null;
|