@ignos/api-client 20260921.283.1 → 20260924.284.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/lib/ignosportal-api.d.ts +34 -20
- package/lib/ignosportal-api.js +30 -10
- package/package.json +1 -1
- package/src/ignosportal-api.ts +65 -30
package/lib/ignosportal-api.d.ts
CHANGED
|
@@ -2779,11 +2779,11 @@ export declare class WeldingClient extends AuthorizedApiBase implements IWelding
|
|
|
2779
2779
|
}
|
|
2780
2780
|
export interface IInspectMatchCertificateTypesAdminClient {
|
|
2781
2781
|
createMaterialCertificateTypes(payload: ImaCreateOrCopyCertificateTypeRequestDto): Promise<ImaCertificateTypeDto>;
|
|
2782
|
-
copyMaterialCertificateType(id: string, version: number |
|
|
2783
|
-
createNewVersionForCertificateType(id: string, version: number |
|
|
2784
|
-
releaseMaterialCertificateType(id: string, version: number |
|
|
2785
|
-
updateMaterialCertificateType(id: string, version: number |
|
|
2786
|
-
deleteMaterialCertificateType(id: string, version: number |
|
|
2782
|
+
copyMaterialCertificateType(id: string, version: number | undefined, payload: ImaCreateOrCopyCertificateTypeRequestDto): Promise<ImaCertificateTypeDto>;
|
|
2783
|
+
createNewVersionForCertificateType(id: string, version: number | undefined): Promise<ImaCertificateTypeDto>;
|
|
2784
|
+
releaseMaterialCertificateType(id: string, version: number | undefined): Promise<ImaCertificateTypeDto>;
|
|
2785
|
+
updateMaterialCertificateType(id: string, version: number | undefined, payload: ImaUpdateImaCertificateTypeRequestDto): Promise<ImaCertificateTypeDto>;
|
|
2786
|
+
deleteMaterialCertificateType(id: string, version: number | undefined): Promise<void>;
|
|
2787
2787
|
}
|
|
2788
2788
|
export declare class InspectMatchCertificateTypesAdminClient extends AuthorizedApiBase implements IInspectMatchCertificateTypesAdminClient {
|
|
2789
2789
|
private http;
|
|
@@ -2793,15 +2793,15 @@ export declare class InspectMatchCertificateTypesAdminClient extends AuthorizedA
|
|
|
2793
2793
|
});
|
|
2794
2794
|
createMaterialCertificateTypes(payload: ImaCreateOrCopyCertificateTypeRequestDto): Promise<ImaCertificateTypeDto>;
|
|
2795
2795
|
protected processCreateMaterialCertificateTypes(response: Response): Promise<ImaCertificateTypeDto>;
|
|
2796
|
-
copyMaterialCertificateType(id: string, version: number |
|
|
2796
|
+
copyMaterialCertificateType(id: string, version: number | undefined, payload: ImaCreateOrCopyCertificateTypeRequestDto): Promise<ImaCertificateTypeDto>;
|
|
2797
2797
|
protected processCopyMaterialCertificateType(response: Response): Promise<ImaCertificateTypeDto>;
|
|
2798
|
-
createNewVersionForCertificateType(id: string, version: number |
|
|
2798
|
+
createNewVersionForCertificateType(id: string, version: number | undefined): Promise<ImaCertificateTypeDto>;
|
|
2799
2799
|
protected processCreateNewVersionForCertificateType(response: Response): Promise<ImaCertificateTypeDto>;
|
|
2800
|
-
releaseMaterialCertificateType(id: string, version: number |
|
|
2800
|
+
releaseMaterialCertificateType(id: string, version: number | undefined): Promise<ImaCertificateTypeDto>;
|
|
2801
2801
|
protected processReleaseMaterialCertificateType(response: Response): Promise<ImaCertificateTypeDto>;
|
|
2802
|
-
updateMaterialCertificateType(id: string, version: number |
|
|
2802
|
+
updateMaterialCertificateType(id: string, version: number | undefined, payload: ImaUpdateImaCertificateTypeRequestDto): Promise<ImaCertificateTypeDto>;
|
|
2803
2803
|
protected processUpdateMaterialCertificateType(response: Response): Promise<ImaCertificateTypeDto>;
|
|
2804
|
-
deleteMaterialCertificateType(id: string, version: number |
|
|
2804
|
+
deleteMaterialCertificateType(id: string, version: number | undefined): Promise<void>;
|
|
2805
2805
|
protected processDeleteMaterialCertificateType(response: Response): Promise<void>;
|
|
2806
2806
|
}
|
|
2807
2807
|
export interface IInspectMatchCertificateTypesClient {
|
|
@@ -2899,11 +2899,11 @@ export declare class InspectMatchSettingsClient extends AuthorizedApiBase implem
|
|
|
2899
2899
|
}
|
|
2900
2900
|
export interface IInspectMatchSpecificationsAdminClient {
|
|
2901
2901
|
createSpecification(createRequestDto: ImaCreateSpecificationRequestDto): Promise<ImaSpecificationDto>;
|
|
2902
|
-
copySpecification(id: string, version: number |
|
|
2903
|
-
createNewVersionForSpecification(id: string, version: number |
|
|
2904
|
-
releaseSpecification(id: string, version: number |
|
|
2905
|
-
updateSpecification(id: string, version: number |
|
|
2906
|
-
deleteSpecification(id: string, version: number |
|
|
2902
|
+
copySpecification(id: string, version: number | undefined, copyDto: ImaCopySpecificationRequestDto): Promise<ImaSpecificationDto>;
|
|
2903
|
+
createNewVersionForSpecification(id: string, version: number | undefined): Promise<ImaSpecificationDto>;
|
|
2904
|
+
releaseSpecification(id: string, version: number | undefined): Promise<ImaSpecificationDto>;
|
|
2905
|
+
updateSpecification(id: string, version: number | undefined, dto: ImaUpdateSpecificationDto): Promise<ImaSpecificationDto>;
|
|
2906
|
+
deleteSpecification(id: string, version: number | undefined): Promise<void>;
|
|
2907
2907
|
}
|
|
2908
2908
|
export declare class InspectMatchSpecificationsAdminClient extends AuthorizedApiBase implements IInspectMatchSpecificationsAdminClient {
|
|
2909
2909
|
private http;
|
|
@@ -2913,15 +2913,15 @@ export declare class InspectMatchSpecificationsAdminClient extends AuthorizedApi
|
|
|
2913
2913
|
});
|
|
2914
2914
|
createSpecification(createRequestDto: ImaCreateSpecificationRequestDto): Promise<ImaSpecificationDto>;
|
|
2915
2915
|
protected processCreateSpecification(response: Response): Promise<ImaSpecificationDto>;
|
|
2916
|
-
copySpecification(id: string, version: number |
|
|
2916
|
+
copySpecification(id: string, version: number | undefined, copyDto: ImaCopySpecificationRequestDto): Promise<ImaSpecificationDto>;
|
|
2917
2917
|
protected processCopySpecification(response: Response): Promise<ImaSpecificationDto>;
|
|
2918
|
-
createNewVersionForSpecification(id: string, version: number |
|
|
2918
|
+
createNewVersionForSpecification(id: string, version: number | undefined): Promise<ImaSpecificationDto>;
|
|
2919
2919
|
protected processCreateNewVersionForSpecification(response: Response): Promise<ImaSpecificationDto>;
|
|
2920
|
-
releaseSpecification(id: string, version: number |
|
|
2920
|
+
releaseSpecification(id: string, version: number | undefined): Promise<ImaSpecificationDto>;
|
|
2921
2921
|
protected processReleaseSpecification(response: Response): Promise<ImaSpecificationDto>;
|
|
2922
|
-
updateSpecification(id: string, version: number |
|
|
2922
|
+
updateSpecification(id: string, version: number | undefined, dto: ImaUpdateSpecificationDto): Promise<ImaSpecificationDto>;
|
|
2923
2923
|
protected processUpdateSpecification(response: Response): Promise<ImaSpecificationDto>;
|
|
2924
|
-
deleteSpecification(id: string, version: number |
|
|
2924
|
+
deleteSpecification(id: string, version: number | undefined): Promise<void>;
|
|
2925
2925
|
protected processDeleteSpecification(response: Response): Promise<void>;
|
|
2926
2926
|
}
|
|
2927
2927
|
export interface IInspectMatchSpecificationsClient {
|
|
@@ -5061,6 +5061,7 @@ export interface MrbInstanceDto {
|
|
|
5061
5061
|
customerOrder: string;
|
|
5062
5062
|
customerOrderLine: number;
|
|
5063
5063
|
externalOrderNumber?: string | null;
|
|
5064
|
+
customerAddress?: string | null;
|
|
5064
5065
|
traces: CustomerOrderLineTraceItemDto[];
|
|
5065
5066
|
mrbTemplateId?: string | null;
|
|
5066
5067
|
mrbTemplateName?: string | null;
|
|
@@ -5299,6 +5300,7 @@ export interface MrbCompanySettingsDto {
|
|
|
5299
5300
|
ownArticleLabel?: string | null;
|
|
5300
5301
|
coCStatement?: string | null;
|
|
5301
5302
|
addressLines: string[];
|
|
5303
|
+
contactPerson?: ContactPersonDto | null;
|
|
5302
5304
|
sequenceFormat?: string | null;
|
|
5303
5305
|
batchSequencePrefix?: string | null;
|
|
5304
5306
|
batchSequenceFormat?: string | null;
|
|
@@ -5308,6 +5310,11 @@ export interface MrbCompanySettingsDto {
|
|
|
5308
5310
|
disableTraceEditing: boolean;
|
|
5309
5311
|
skipTraceQuantityValidation: boolean;
|
|
5310
5312
|
}
|
|
5313
|
+
export interface ContactPersonDto {
|
|
5314
|
+
name: string;
|
|
5315
|
+
phone: string;
|
|
5316
|
+
email: string;
|
|
5317
|
+
}
|
|
5311
5318
|
export interface UpsertMrbCompanySettings {
|
|
5312
5319
|
stampWithLot: boolean;
|
|
5313
5320
|
stampWithVendorBatch: boolean;
|
|
@@ -5318,6 +5325,7 @@ export interface UpsertMrbCompanySettings {
|
|
|
5318
5325
|
ownArticleLabel?: string | null;
|
|
5319
5326
|
coCStatement?: string | null;
|
|
5320
5327
|
addressLines: string[];
|
|
5328
|
+
contactPerson?: ContactPersonDto | null;
|
|
5321
5329
|
sequenceFormat?: string | null;
|
|
5322
5330
|
batchSequencePrefix?: string | null;
|
|
5323
5331
|
batchSequenceFormat?: string | null;
|
|
@@ -8398,6 +8406,7 @@ export interface ImaCertificateTypeDto {
|
|
|
8398
8406
|
updatedByName?: string | null;
|
|
8399
8407
|
updated: Date;
|
|
8400
8408
|
isDeleted: boolean;
|
|
8409
|
+
canBeDeleted: boolean;
|
|
8401
8410
|
requirements: ImaCertificateTypeRequirementsDto;
|
|
8402
8411
|
}
|
|
8403
8412
|
export interface ImaCertificateTypeVersionDto {
|
|
@@ -9205,6 +9214,7 @@ export interface User {
|
|
|
9205
9214
|
}
|
|
9206
9215
|
export interface ImaMatchSettingsDto {
|
|
9207
9216
|
columns: ImaMatchSettingsColumnsDto;
|
|
9217
|
+
erpEnabled: boolean;
|
|
9208
9218
|
}
|
|
9209
9219
|
export interface ImaMatchSettingsColumnsDto {
|
|
9210
9220
|
fileName: boolean;
|
|
@@ -9263,6 +9273,7 @@ export interface ImaSpecificationDto {
|
|
|
9263
9273
|
updatedByName?: string | null;
|
|
9264
9274
|
updated: Date;
|
|
9265
9275
|
isDeleted: boolean;
|
|
9276
|
+
canBeDeleted: boolean;
|
|
9266
9277
|
chemistrySpecification: ImaChemistrySpecificationDto;
|
|
9267
9278
|
chemistryCompositeSpecification: ImaChemistryCompositeSpecificationDto;
|
|
9268
9279
|
mechanicalSpecification: ImaMechanicalSpecificationDto;
|
|
@@ -10343,6 +10354,7 @@ export interface CustomerOrderLineDto {
|
|
|
10343
10354
|
status: CustomerOrderLineStatus;
|
|
10344
10355
|
part: PartDto;
|
|
10345
10356
|
deliveryDate?: Date | null;
|
|
10357
|
+
customerAddress?: string | null;
|
|
10346
10358
|
workorderHierarchy: WorkorderHierarchyDto[];
|
|
10347
10359
|
workorderHiearchy?: WorkorderHierarchyDto[] | null;
|
|
10348
10360
|
}
|
|
@@ -10351,6 +10363,8 @@ export interface WorkorderHierarchyDto {
|
|
|
10351
10363
|
workorder: string;
|
|
10352
10364
|
quantity: number;
|
|
10353
10365
|
totalQuantity: number;
|
|
10366
|
+
parentOrder?: string | null;
|
|
10367
|
+
parentItem?: string | null;
|
|
10354
10368
|
workorders: WorkorderHierarchyDto[];
|
|
10355
10369
|
}
|
|
10356
10370
|
export interface PagedResultOfCustomerOrderDto {
|
package/lib/ignosportal-api.js
CHANGED
|
@@ -23515,7 +23515,9 @@ export class InspectMatchCertificateTypesAdminClient extends AuthorizedApiBase {
|
|
|
23515
23515
|
if (id === undefined || id === null)
|
|
23516
23516
|
throw new globalThis.Error("The parameter 'id' must be defined.");
|
|
23517
23517
|
url_ = url_.replace("{id}", encodeURIComponent("" + id));
|
|
23518
|
-
if (version
|
|
23518
|
+
if (version === null)
|
|
23519
|
+
throw new globalThis.Error("The parameter 'version' cannot be null.");
|
|
23520
|
+
else if (version !== undefined)
|
|
23519
23521
|
url_ += "version=" + encodeURIComponent("" + version) + "&";
|
|
23520
23522
|
url_ = url_.replace(/[?&]$/, "");
|
|
23521
23523
|
const content_ = JSON.stringify(payload);
|
|
@@ -23559,7 +23561,9 @@ export class InspectMatchCertificateTypesAdminClient extends AuthorizedApiBase {
|
|
|
23559
23561
|
if (id === undefined || id === null)
|
|
23560
23562
|
throw new globalThis.Error("The parameter 'id' must be defined.");
|
|
23561
23563
|
url_ = url_.replace("{id}", encodeURIComponent("" + id));
|
|
23562
|
-
if (version
|
|
23564
|
+
if (version === null)
|
|
23565
|
+
throw new globalThis.Error("The parameter 'version' cannot be null.");
|
|
23566
|
+
else if (version !== undefined)
|
|
23563
23567
|
url_ += "version=" + encodeURIComponent("" + version) + "&";
|
|
23564
23568
|
url_ = url_.replace(/[?&]$/, "");
|
|
23565
23569
|
let options_ = {
|
|
@@ -23600,7 +23604,9 @@ export class InspectMatchCertificateTypesAdminClient extends AuthorizedApiBase {
|
|
|
23600
23604
|
if (id === undefined || id === null)
|
|
23601
23605
|
throw new globalThis.Error("The parameter 'id' must be defined.");
|
|
23602
23606
|
url_ = url_.replace("{id}", encodeURIComponent("" + id));
|
|
23603
|
-
if (version
|
|
23607
|
+
if (version === null)
|
|
23608
|
+
throw new globalThis.Error("The parameter 'version' cannot be null.");
|
|
23609
|
+
else if (version !== undefined)
|
|
23604
23610
|
url_ += "version=" + encodeURIComponent("" + version) + "&";
|
|
23605
23611
|
url_ = url_.replace(/[?&]$/, "");
|
|
23606
23612
|
let options_ = {
|
|
@@ -23641,7 +23647,9 @@ export class InspectMatchCertificateTypesAdminClient extends AuthorizedApiBase {
|
|
|
23641
23647
|
if (id === undefined || id === null)
|
|
23642
23648
|
throw new globalThis.Error("The parameter 'id' must be defined.");
|
|
23643
23649
|
url_ = url_.replace("{id}", encodeURIComponent("" + id));
|
|
23644
|
-
if (version
|
|
23650
|
+
if (version === null)
|
|
23651
|
+
throw new globalThis.Error("The parameter 'version' cannot be null.");
|
|
23652
|
+
else if (version !== undefined)
|
|
23645
23653
|
url_ += "version=" + encodeURIComponent("" + version) + "&";
|
|
23646
23654
|
url_ = url_.replace(/[?&]$/, "");
|
|
23647
23655
|
const content_ = JSON.stringify(payload);
|
|
@@ -23685,7 +23693,9 @@ export class InspectMatchCertificateTypesAdminClient extends AuthorizedApiBase {
|
|
|
23685
23693
|
if (id === undefined || id === null)
|
|
23686
23694
|
throw new globalThis.Error("The parameter 'id' must be defined.");
|
|
23687
23695
|
url_ = url_.replace("{id}", encodeURIComponent("" + id));
|
|
23688
|
-
if (version
|
|
23696
|
+
if (version === null)
|
|
23697
|
+
throw new globalThis.Error("The parameter 'version' cannot be null.");
|
|
23698
|
+
else if (version !== undefined)
|
|
23689
23699
|
url_ += "version=" + encodeURIComponent("" + version) + "&";
|
|
23690
23700
|
url_ = url_.replace(/[?&]$/, "");
|
|
23691
23701
|
let options_ = {
|
|
@@ -24442,7 +24452,9 @@ export class InspectMatchSpecificationsAdminClient extends AuthorizedApiBase {
|
|
|
24442
24452
|
if (id === undefined || id === null)
|
|
24443
24453
|
throw new globalThis.Error("The parameter 'id' must be defined.");
|
|
24444
24454
|
url_ = url_.replace("{id}", encodeURIComponent("" + id));
|
|
24445
|
-
if (version
|
|
24455
|
+
if (version === null)
|
|
24456
|
+
throw new globalThis.Error("The parameter 'version' cannot be null.");
|
|
24457
|
+
else if (version !== undefined)
|
|
24446
24458
|
url_ += "version=" + encodeURIComponent("" + version) + "&";
|
|
24447
24459
|
url_ = url_.replace(/[?&]$/, "");
|
|
24448
24460
|
const content_ = JSON.stringify(copyDto);
|
|
@@ -24486,7 +24498,9 @@ export class InspectMatchSpecificationsAdminClient extends AuthorizedApiBase {
|
|
|
24486
24498
|
if (id === undefined || id === null)
|
|
24487
24499
|
throw new globalThis.Error("The parameter 'id' must be defined.");
|
|
24488
24500
|
url_ = url_.replace("{id}", encodeURIComponent("" + id));
|
|
24489
|
-
if (version
|
|
24501
|
+
if (version === null)
|
|
24502
|
+
throw new globalThis.Error("The parameter 'version' cannot be null.");
|
|
24503
|
+
else if (version !== undefined)
|
|
24490
24504
|
url_ += "version=" + encodeURIComponent("" + version) + "&";
|
|
24491
24505
|
url_ = url_.replace(/[?&]$/, "");
|
|
24492
24506
|
let options_ = {
|
|
@@ -24527,7 +24541,9 @@ export class InspectMatchSpecificationsAdminClient extends AuthorizedApiBase {
|
|
|
24527
24541
|
if (id === undefined || id === null)
|
|
24528
24542
|
throw new globalThis.Error("The parameter 'id' must be defined.");
|
|
24529
24543
|
url_ = url_.replace("{id}", encodeURIComponent("" + id));
|
|
24530
|
-
if (version
|
|
24544
|
+
if (version === null)
|
|
24545
|
+
throw new globalThis.Error("The parameter 'version' cannot be null.");
|
|
24546
|
+
else if (version !== undefined)
|
|
24531
24547
|
url_ += "version=" + encodeURIComponent("" + version) + "&";
|
|
24532
24548
|
url_ = url_.replace(/[?&]$/, "");
|
|
24533
24549
|
let options_ = {
|
|
@@ -24568,7 +24584,9 @@ export class InspectMatchSpecificationsAdminClient extends AuthorizedApiBase {
|
|
|
24568
24584
|
if (id === undefined || id === null)
|
|
24569
24585
|
throw new globalThis.Error("The parameter 'id' must be defined.");
|
|
24570
24586
|
url_ = url_.replace("{id}", encodeURIComponent("" + id));
|
|
24571
|
-
if (version
|
|
24587
|
+
if (version === null)
|
|
24588
|
+
throw new globalThis.Error("The parameter 'version' cannot be null.");
|
|
24589
|
+
else if (version !== undefined)
|
|
24572
24590
|
url_ += "version=" + encodeURIComponent("" + version) + "&";
|
|
24573
24591
|
url_ = url_.replace(/[?&]$/, "");
|
|
24574
24592
|
const content_ = JSON.stringify(dto);
|
|
@@ -24612,7 +24630,9 @@ export class InspectMatchSpecificationsAdminClient extends AuthorizedApiBase {
|
|
|
24612
24630
|
if (id === undefined || id === null)
|
|
24613
24631
|
throw new globalThis.Error("The parameter 'id' must be defined.");
|
|
24614
24632
|
url_ = url_.replace("{id}", encodeURIComponent("" + id));
|
|
24615
|
-
if (version
|
|
24633
|
+
if (version === null)
|
|
24634
|
+
throw new globalThis.Error("The parameter 'version' cannot be null.");
|
|
24635
|
+
else if (version !== undefined)
|
|
24616
24636
|
url_ += "version=" + encodeURIComponent("" + version) + "&";
|
|
24617
24637
|
url_ = url_.replace(/[?&]$/, "");
|
|
24618
24638
|
let options_ = {
|
package/package.json
CHANGED
package/src/ignosportal-api.ts
CHANGED
|
@@ -24905,15 +24905,15 @@ export interface IInspectMatchCertificateTypesAdminClient {
|
|
|
24905
24905
|
|
|
24906
24906
|
createMaterialCertificateTypes(payload: ImaCreateOrCopyCertificateTypeRequestDto): Promise<ImaCertificateTypeDto>;
|
|
24907
24907
|
|
|
24908
|
-
copyMaterialCertificateType(id: string, version: number |
|
|
24908
|
+
copyMaterialCertificateType(id: string, version: number | undefined, payload: ImaCreateOrCopyCertificateTypeRequestDto): Promise<ImaCertificateTypeDto>;
|
|
24909
24909
|
|
|
24910
|
-
createNewVersionForCertificateType(id: string, version: number |
|
|
24910
|
+
createNewVersionForCertificateType(id: string, version: number | undefined): Promise<ImaCertificateTypeDto>;
|
|
24911
24911
|
|
|
24912
|
-
releaseMaterialCertificateType(id: string, version: number |
|
|
24912
|
+
releaseMaterialCertificateType(id: string, version: number | undefined): Promise<ImaCertificateTypeDto>;
|
|
24913
24913
|
|
|
24914
|
-
updateMaterialCertificateType(id: string, version: number |
|
|
24914
|
+
updateMaterialCertificateType(id: string, version: number | undefined, payload: ImaUpdateImaCertificateTypeRequestDto): Promise<ImaCertificateTypeDto>;
|
|
24915
24915
|
|
|
24916
|
-
deleteMaterialCertificateType(id: string, version: number |
|
|
24916
|
+
deleteMaterialCertificateType(id: string, version: number | undefined): Promise<void>;
|
|
24917
24917
|
}
|
|
24918
24918
|
|
|
24919
24919
|
export class InspectMatchCertificateTypesAdminClient extends AuthorizedApiBase implements IInspectMatchCertificateTypesAdminClient {
|
|
@@ -24965,12 +24965,14 @@ export class InspectMatchCertificateTypesAdminClient extends AuthorizedApiBase i
|
|
|
24965
24965
|
return Promise.resolve<ImaCertificateTypeDto>(null as any);
|
|
24966
24966
|
}
|
|
24967
24967
|
|
|
24968
|
-
copyMaterialCertificateType(id: string, version: number |
|
|
24968
|
+
copyMaterialCertificateType(id: string, version: number | undefined, payload: ImaCreateOrCopyCertificateTypeRequestDto): Promise<ImaCertificateTypeDto> {
|
|
24969
24969
|
let url_ = this.baseUrl + "/inspect/match/certificate-types/{id}/copy?";
|
|
24970
24970
|
if (id === undefined || id === null)
|
|
24971
24971
|
throw new globalThis.Error("The parameter 'id' must be defined.");
|
|
24972
24972
|
url_ = url_.replace("{id}", encodeURIComponent("" + id));
|
|
24973
|
-
if (version
|
|
24973
|
+
if (version === null)
|
|
24974
|
+
throw new globalThis.Error("The parameter 'version' cannot be null.");
|
|
24975
|
+
else if (version !== undefined)
|
|
24974
24976
|
url_ += "version=" + encodeURIComponent("" + version) + "&";
|
|
24975
24977
|
url_ = url_.replace(/[?&]$/, "");
|
|
24976
24978
|
|
|
@@ -25009,12 +25011,14 @@ export class InspectMatchCertificateTypesAdminClient extends AuthorizedApiBase i
|
|
|
25009
25011
|
return Promise.resolve<ImaCertificateTypeDto>(null as any);
|
|
25010
25012
|
}
|
|
25011
25013
|
|
|
25012
|
-
createNewVersionForCertificateType(id: string, version: number |
|
|
25014
|
+
createNewVersionForCertificateType(id: string, version: number | undefined): Promise<ImaCertificateTypeDto> {
|
|
25013
25015
|
let url_ = this.baseUrl + "/inspect/match/certificate-types/{id}/new-version?";
|
|
25014
25016
|
if (id === undefined || id === null)
|
|
25015
25017
|
throw new globalThis.Error("The parameter 'id' must be defined.");
|
|
25016
25018
|
url_ = url_.replace("{id}", encodeURIComponent("" + id));
|
|
25017
|
-
if (version
|
|
25019
|
+
if (version === null)
|
|
25020
|
+
throw new globalThis.Error("The parameter 'version' cannot be null.");
|
|
25021
|
+
else if (version !== undefined)
|
|
25018
25022
|
url_ += "version=" + encodeURIComponent("" + version) + "&";
|
|
25019
25023
|
url_ = url_.replace(/[?&]$/, "");
|
|
25020
25024
|
|
|
@@ -25049,12 +25053,14 @@ export class InspectMatchCertificateTypesAdminClient extends AuthorizedApiBase i
|
|
|
25049
25053
|
return Promise.resolve<ImaCertificateTypeDto>(null as any);
|
|
25050
25054
|
}
|
|
25051
25055
|
|
|
25052
|
-
releaseMaterialCertificateType(id: string, version: number |
|
|
25056
|
+
releaseMaterialCertificateType(id: string, version: number | undefined): Promise<ImaCertificateTypeDto> {
|
|
25053
25057
|
let url_ = this.baseUrl + "/inspect/match/certificate-types/{id}/release?";
|
|
25054
25058
|
if (id === undefined || id === null)
|
|
25055
25059
|
throw new globalThis.Error("The parameter 'id' must be defined.");
|
|
25056
25060
|
url_ = url_.replace("{id}", encodeURIComponent("" + id));
|
|
25057
|
-
if (version
|
|
25061
|
+
if (version === null)
|
|
25062
|
+
throw new globalThis.Error("The parameter 'version' cannot be null.");
|
|
25063
|
+
else if (version !== undefined)
|
|
25058
25064
|
url_ += "version=" + encodeURIComponent("" + version) + "&";
|
|
25059
25065
|
url_ = url_.replace(/[?&]$/, "");
|
|
25060
25066
|
|
|
@@ -25089,12 +25095,14 @@ export class InspectMatchCertificateTypesAdminClient extends AuthorizedApiBase i
|
|
|
25089
25095
|
return Promise.resolve<ImaCertificateTypeDto>(null as any);
|
|
25090
25096
|
}
|
|
25091
25097
|
|
|
25092
|
-
updateMaterialCertificateType(id: string, version: number |
|
|
25098
|
+
updateMaterialCertificateType(id: string, version: number | undefined, payload: ImaUpdateImaCertificateTypeRequestDto): Promise<ImaCertificateTypeDto> {
|
|
25093
25099
|
let url_ = this.baseUrl + "/inspect/match/certificate-types/{id}?";
|
|
25094
25100
|
if (id === undefined || id === null)
|
|
25095
25101
|
throw new globalThis.Error("The parameter 'id' must be defined.");
|
|
25096
25102
|
url_ = url_.replace("{id}", encodeURIComponent("" + id));
|
|
25097
|
-
if (version
|
|
25103
|
+
if (version === null)
|
|
25104
|
+
throw new globalThis.Error("The parameter 'version' cannot be null.");
|
|
25105
|
+
else if (version !== undefined)
|
|
25098
25106
|
url_ += "version=" + encodeURIComponent("" + version) + "&";
|
|
25099
25107
|
url_ = url_.replace(/[?&]$/, "");
|
|
25100
25108
|
|
|
@@ -25133,12 +25141,14 @@ export class InspectMatchCertificateTypesAdminClient extends AuthorizedApiBase i
|
|
|
25133
25141
|
return Promise.resolve<ImaCertificateTypeDto>(null as any);
|
|
25134
25142
|
}
|
|
25135
25143
|
|
|
25136
|
-
deleteMaterialCertificateType(id: string, version: number |
|
|
25144
|
+
deleteMaterialCertificateType(id: string, version: number | undefined): Promise<void> {
|
|
25137
25145
|
let url_ = this.baseUrl + "/inspect/match/certificate-types/{id}?";
|
|
25138
25146
|
if (id === undefined || id === null)
|
|
25139
25147
|
throw new globalThis.Error("The parameter 'id' must be defined.");
|
|
25140
25148
|
url_ = url_.replace("{id}", encodeURIComponent("" + id));
|
|
25141
|
-
if (version
|
|
25149
|
+
if (version === null)
|
|
25150
|
+
throw new globalThis.Error("The parameter 'version' cannot be null.");
|
|
25151
|
+
else if (version !== undefined)
|
|
25142
25152
|
url_ += "version=" + encodeURIComponent("" + version) + "&";
|
|
25143
25153
|
url_ = url_.replace(/[?&]$/, "");
|
|
25144
25154
|
|
|
@@ -25895,15 +25905,15 @@ export interface IInspectMatchSpecificationsAdminClient {
|
|
|
25895
25905
|
|
|
25896
25906
|
createSpecification(createRequestDto: ImaCreateSpecificationRequestDto): Promise<ImaSpecificationDto>;
|
|
25897
25907
|
|
|
25898
|
-
copySpecification(id: string, version: number |
|
|
25908
|
+
copySpecification(id: string, version: number | undefined, copyDto: ImaCopySpecificationRequestDto): Promise<ImaSpecificationDto>;
|
|
25899
25909
|
|
|
25900
|
-
createNewVersionForSpecification(id: string, version: number |
|
|
25910
|
+
createNewVersionForSpecification(id: string, version: number | undefined): Promise<ImaSpecificationDto>;
|
|
25901
25911
|
|
|
25902
|
-
releaseSpecification(id: string, version: number |
|
|
25912
|
+
releaseSpecification(id: string, version: number | undefined): Promise<ImaSpecificationDto>;
|
|
25903
25913
|
|
|
25904
|
-
updateSpecification(id: string, version: number |
|
|
25914
|
+
updateSpecification(id: string, version: number | undefined, dto: ImaUpdateSpecificationDto): Promise<ImaSpecificationDto>;
|
|
25905
25915
|
|
|
25906
|
-
deleteSpecification(id: string, version: number |
|
|
25916
|
+
deleteSpecification(id: string, version: number | undefined): Promise<void>;
|
|
25907
25917
|
}
|
|
25908
25918
|
|
|
25909
25919
|
export class InspectMatchSpecificationsAdminClient extends AuthorizedApiBase implements IInspectMatchSpecificationsAdminClient {
|
|
@@ -25955,12 +25965,14 @@ export class InspectMatchSpecificationsAdminClient extends AuthorizedApiBase imp
|
|
|
25955
25965
|
return Promise.resolve<ImaSpecificationDto>(null as any);
|
|
25956
25966
|
}
|
|
25957
25967
|
|
|
25958
|
-
copySpecification(id: string, version: number |
|
|
25968
|
+
copySpecification(id: string, version: number | undefined, copyDto: ImaCopySpecificationRequestDto): Promise<ImaSpecificationDto> {
|
|
25959
25969
|
let url_ = this.baseUrl + "/inspect/match/specifications/{id}/copy?";
|
|
25960
25970
|
if (id === undefined || id === null)
|
|
25961
25971
|
throw new globalThis.Error("The parameter 'id' must be defined.");
|
|
25962
25972
|
url_ = url_.replace("{id}", encodeURIComponent("" + id));
|
|
25963
|
-
if (version
|
|
25973
|
+
if (version === null)
|
|
25974
|
+
throw new globalThis.Error("The parameter 'version' cannot be null.");
|
|
25975
|
+
else if (version !== undefined)
|
|
25964
25976
|
url_ += "version=" + encodeURIComponent("" + version) + "&";
|
|
25965
25977
|
url_ = url_.replace(/[?&]$/, "");
|
|
25966
25978
|
|
|
@@ -25999,12 +26011,14 @@ export class InspectMatchSpecificationsAdminClient extends AuthorizedApiBase imp
|
|
|
25999
26011
|
return Promise.resolve<ImaSpecificationDto>(null as any);
|
|
26000
26012
|
}
|
|
26001
26013
|
|
|
26002
|
-
createNewVersionForSpecification(id: string, version: number |
|
|
26014
|
+
createNewVersionForSpecification(id: string, version: number | undefined): Promise<ImaSpecificationDto> {
|
|
26003
26015
|
let url_ = this.baseUrl + "/inspect/match/specifications/{id}/new-version?";
|
|
26004
26016
|
if (id === undefined || id === null)
|
|
26005
26017
|
throw new globalThis.Error("The parameter 'id' must be defined.");
|
|
26006
26018
|
url_ = url_.replace("{id}", encodeURIComponent("" + id));
|
|
26007
|
-
if (version
|
|
26019
|
+
if (version === null)
|
|
26020
|
+
throw new globalThis.Error("The parameter 'version' cannot be null.");
|
|
26021
|
+
else if (version !== undefined)
|
|
26008
26022
|
url_ += "version=" + encodeURIComponent("" + version) + "&";
|
|
26009
26023
|
url_ = url_.replace(/[?&]$/, "");
|
|
26010
26024
|
|
|
@@ -26039,12 +26053,14 @@ export class InspectMatchSpecificationsAdminClient extends AuthorizedApiBase imp
|
|
|
26039
26053
|
return Promise.resolve<ImaSpecificationDto>(null as any);
|
|
26040
26054
|
}
|
|
26041
26055
|
|
|
26042
|
-
releaseSpecification(id: string, version: number |
|
|
26056
|
+
releaseSpecification(id: string, version: number | undefined): Promise<ImaSpecificationDto> {
|
|
26043
26057
|
let url_ = this.baseUrl + "/inspect/match/specifications/{id}/release?";
|
|
26044
26058
|
if (id === undefined || id === null)
|
|
26045
26059
|
throw new globalThis.Error("The parameter 'id' must be defined.");
|
|
26046
26060
|
url_ = url_.replace("{id}", encodeURIComponent("" + id));
|
|
26047
|
-
if (version
|
|
26061
|
+
if (version === null)
|
|
26062
|
+
throw new globalThis.Error("The parameter 'version' cannot be null.");
|
|
26063
|
+
else if (version !== undefined)
|
|
26048
26064
|
url_ += "version=" + encodeURIComponent("" + version) + "&";
|
|
26049
26065
|
url_ = url_.replace(/[?&]$/, "");
|
|
26050
26066
|
|
|
@@ -26079,12 +26095,14 @@ export class InspectMatchSpecificationsAdminClient extends AuthorizedApiBase imp
|
|
|
26079
26095
|
return Promise.resolve<ImaSpecificationDto>(null as any);
|
|
26080
26096
|
}
|
|
26081
26097
|
|
|
26082
|
-
updateSpecification(id: string, version: number |
|
|
26098
|
+
updateSpecification(id: string, version: number | undefined, dto: ImaUpdateSpecificationDto): Promise<ImaSpecificationDto> {
|
|
26083
26099
|
let url_ = this.baseUrl + "/inspect/match/specifications/{id}?";
|
|
26084
26100
|
if (id === undefined || id === null)
|
|
26085
26101
|
throw new globalThis.Error("The parameter 'id' must be defined.");
|
|
26086
26102
|
url_ = url_.replace("{id}", encodeURIComponent("" + id));
|
|
26087
|
-
if (version
|
|
26103
|
+
if (version === null)
|
|
26104
|
+
throw new globalThis.Error("The parameter 'version' cannot be null.");
|
|
26105
|
+
else if (version !== undefined)
|
|
26088
26106
|
url_ += "version=" + encodeURIComponent("" + version) + "&";
|
|
26089
26107
|
url_ = url_.replace(/[?&]$/, "");
|
|
26090
26108
|
|
|
@@ -26123,12 +26141,14 @@ export class InspectMatchSpecificationsAdminClient extends AuthorizedApiBase imp
|
|
|
26123
26141
|
return Promise.resolve<ImaSpecificationDto>(null as any);
|
|
26124
26142
|
}
|
|
26125
26143
|
|
|
26126
|
-
deleteSpecification(id: string, version: number |
|
|
26144
|
+
deleteSpecification(id: string, version: number | undefined): Promise<void> {
|
|
26127
26145
|
let url_ = this.baseUrl + "/inspect/match/specifications/{id}?";
|
|
26128
26146
|
if (id === undefined || id === null)
|
|
26129
26147
|
throw new globalThis.Error("The parameter 'id' must be defined.");
|
|
26130
26148
|
url_ = url_.replace("{id}", encodeURIComponent("" + id));
|
|
26131
|
-
if (version
|
|
26149
|
+
if (version === null)
|
|
26150
|
+
throw new globalThis.Error("The parameter 'version' cannot be null.");
|
|
26151
|
+
else if (version !== undefined)
|
|
26132
26152
|
url_ += "version=" + encodeURIComponent("" + version) + "&";
|
|
26133
26153
|
url_ = url_.replace(/[?&]$/, "");
|
|
26134
26154
|
|
|
@@ -34228,6 +34248,7 @@ export interface MrbInstanceDto {
|
|
|
34228
34248
|
customerOrder: string;
|
|
34229
34249
|
customerOrderLine: number;
|
|
34230
34250
|
externalOrderNumber?: string | null;
|
|
34251
|
+
customerAddress?: string | null;
|
|
34231
34252
|
traces: CustomerOrderLineTraceItemDto[];
|
|
34232
34253
|
mrbTemplateId?: string | null;
|
|
34233
34254
|
mrbTemplateName?: string | null;
|
|
@@ -34499,6 +34520,7 @@ export interface MrbCompanySettingsDto {
|
|
|
34499
34520
|
ownArticleLabel?: string | null;
|
|
34500
34521
|
coCStatement?: string | null;
|
|
34501
34522
|
addressLines: string[];
|
|
34523
|
+
contactPerson?: ContactPersonDto | null;
|
|
34502
34524
|
sequenceFormat?: string | null;
|
|
34503
34525
|
batchSequencePrefix?: string | null;
|
|
34504
34526
|
batchSequenceFormat?: string | null;
|
|
@@ -34509,6 +34531,12 @@ export interface MrbCompanySettingsDto {
|
|
|
34509
34531
|
skipTraceQuantityValidation: boolean;
|
|
34510
34532
|
}
|
|
34511
34533
|
|
|
34534
|
+
export interface ContactPersonDto {
|
|
34535
|
+
name: string;
|
|
34536
|
+
phone: string;
|
|
34537
|
+
email: string;
|
|
34538
|
+
}
|
|
34539
|
+
|
|
34512
34540
|
export interface UpsertMrbCompanySettings {
|
|
34513
34541
|
stampWithLot: boolean;
|
|
34514
34542
|
stampWithVendorBatch: boolean;
|
|
@@ -34519,6 +34547,7 @@ export interface UpsertMrbCompanySettings {
|
|
|
34519
34547
|
ownArticleLabel?: string | null;
|
|
34520
34548
|
coCStatement?: string | null;
|
|
34521
34549
|
addressLines: string[];
|
|
34550
|
+
contactPerson?: ContactPersonDto | null;
|
|
34522
34551
|
sequenceFormat?: string | null;
|
|
34523
34552
|
batchSequencePrefix?: string | null;
|
|
34524
34553
|
batchSequenceFormat?: string | null;
|
|
@@ -38011,6 +38040,7 @@ export interface ImaCertificateTypeDto {
|
|
|
38011
38040
|
updatedByName?: string | null;
|
|
38012
38041
|
updated: Date;
|
|
38013
38042
|
isDeleted: boolean;
|
|
38043
|
+
canBeDeleted: boolean;
|
|
38014
38044
|
requirements: ImaCertificateTypeRequirementsDto;
|
|
38015
38045
|
}
|
|
38016
38046
|
|
|
@@ -38922,6 +38952,7 @@ export interface User {
|
|
|
38922
38952
|
|
|
38923
38953
|
export interface ImaMatchSettingsDto {
|
|
38924
38954
|
columns: ImaMatchSettingsColumnsDto;
|
|
38955
|
+
erpEnabled: boolean;
|
|
38925
38956
|
}
|
|
38926
38957
|
|
|
38927
38958
|
export interface ImaMatchSettingsColumnsDto {
|
|
@@ -38984,6 +39015,7 @@ export interface ImaSpecificationDto {
|
|
|
38984
39015
|
updatedByName?: string | null;
|
|
38985
39016
|
updated: Date;
|
|
38986
39017
|
isDeleted: boolean;
|
|
39018
|
+
canBeDeleted: boolean;
|
|
38987
39019
|
chemistrySpecification: ImaChemistrySpecificationDto;
|
|
38988
39020
|
chemistryCompositeSpecification: ImaChemistryCompositeSpecificationDto;
|
|
38989
39021
|
mechanicalSpecification: ImaMechanicalSpecificationDto;
|
|
@@ -40202,6 +40234,7 @@ export interface CustomerOrderLineDto {
|
|
|
40202
40234
|
status: CustomerOrderLineStatus;
|
|
40203
40235
|
part: PartDto;
|
|
40204
40236
|
deliveryDate?: Date | null;
|
|
40237
|
+
customerAddress?: string | null;
|
|
40205
40238
|
workorderHierarchy: WorkorderHierarchyDto[];
|
|
40206
40239
|
workorderHiearchy?: WorkorderHierarchyDto[] | null;
|
|
40207
40240
|
}
|
|
@@ -40212,6 +40245,8 @@ export interface WorkorderHierarchyDto {
|
|
|
40212
40245
|
workorder: string;
|
|
40213
40246
|
quantity: number;
|
|
40214
40247
|
totalQuantity: number;
|
|
40248
|
+
parentOrder?: string | null;
|
|
40249
|
+
parentItem?: string | null;
|
|
40215
40250
|
workorders: WorkorderHierarchyDto[];
|
|
40216
40251
|
}
|
|
40217
40252
|
|