@ignos/api-client 20260323.88.1 → 20260323.89.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 +200 -214
- package/lib/ignosportal-api.js +4166 -4154
- package/package.json +1 -1
- package/src/ignosportal-api.ts +5889 -5897
package/lib/ignosportal-api.d.ts
CHANGED
|
@@ -124,6 +124,7 @@ export declare class CustomersClient extends AuthorizedApiBase implements ICusto
|
|
|
124
124
|
}
|
|
125
125
|
export interface IGuestsClient {
|
|
126
126
|
getGuestLoginInfo(search: string | undefined): Promise<GuestLoginInfoDto>;
|
|
127
|
+
getSupplierLoginInfo(search: string | undefined): Promise<GuestLoginInfoDto>;
|
|
127
128
|
}
|
|
128
129
|
export declare class GuestsClient extends AuthorizedApiBase implements IGuestsClient {
|
|
129
130
|
private http;
|
|
@@ -133,6 +134,8 @@ export declare class GuestsClient extends AuthorizedApiBase implements IGuestsCl
|
|
|
133
134
|
});
|
|
134
135
|
getGuestLoginInfo(search: string | undefined): Promise<GuestLoginInfoDto>;
|
|
135
136
|
protected processGetGuestLoginInfo(response: Response): Promise<GuestLoginInfoDto>;
|
|
137
|
+
getSupplierLoginInfo(search: string | undefined): Promise<GuestLoginInfoDto>;
|
|
138
|
+
protected processGetSupplierLoginInfo(response: Response): Promise<GuestLoginInfoDto>;
|
|
136
139
|
}
|
|
137
140
|
export interface IPresentationClient {
|
|
138
141
|
getComponentSettings(componentId: string): Promise<ComponentSettingsDto>;
|
|
@@ -1425,99 +1428,6 @@ export declare class DocumentTypesClient extends AuthorizedApiBase implements ID
|
|
|
1425
1428
|
listDocumentGenerators(): Promise<DocumentGeneratorTypeDto[]>;
|
|
1426
1429
|
protected processListDocumentGenerators(response: Response): Promise<DocumentGeneratorTypeDto[]>;
|
|
1427
1430
|
}
|
|
1428
|
-
export interface IExternalAccessClient {
|
|
1429
|
-
listUsers(companyId: string | null | undefined): Promise<CompanyUserDto[]>;
|
|
1430
|
-
createCompanyUser(request: CreateCompanyUserRequest): Promise<CompanyUserDto>;
|
|
1431
|
-
updateCompanyUser(id: string, request: UpdateCompanyUserRequest): Promise<CompanyUserDto>;
|
|
1432
|
-
deleteCompanyUser(id: string, companyId: string | null | undefined): Promise<void>;
|
|
1433
|
-
listRoles(): Promise<ExternalRoleDto[]>;
|
|
1434
|
-
listCompanyCustomers(): Promise<CompanyCustomerDto[]>;
|
|
1435
|
-
deleteCompanyCustomer(tenantId: string): Promise<void>;
|
|
1436
|
-
}
|
|
1437
|
-
export declare class ExternalAccessClient extends AuthorizedApiBase implements IExternalAccessClient {
|
|
1438
|
-
private http;
|
|
1439
|
-
private baseUrl;
|
|
1440
|
-
constructor(configuration: IAccessTokenProvider, baseUrl?: string, http?: {
|
|
1441
|
-
fetch(url: RequestInfo, init?: RequestInit): Promise<Response>;
|
|
1442
|
-
});
|
|
1443
|
-
listUsers(companyId: string | null | undefined): Promise<CompanyUserDto[]>;
|
|
1444
|
-
protected processListUsers(response: Response): Promise<CompanyUserDto[]>;
|
|
1445
|
-
createCompanyUser(request: CreateCompanyUserRequest): Promise<CompanyUserDto>;
|
|
1446
|
-
protected processCreateCompanyUser(response: Response): Promise<CompanyUserDto>;
|
|
1447
|
-
updateCompanyUser(id: string, request: UpdateCompanyUserRequest): Promise<CompanyUserDto>;
|
|
1448
|
-
protected processUpdateCompanyUser(response: Response): Promise<CompanyUserDto>;
|
|
1449
|
-
deleteCompanyUser(id: string, companyId: string | null | undefined): Promise<void>;
|
|
1450
|
-
protected processDeleteCompanyUser(response: Response): Promise<void>;
|
|
1451
|
-
listRoles(): Promise<ExternalRoleDto[]>;
|
|
1452
|
-
protected processListRoles(response: Response): Promise<ExternalRoleDto[]>;
|
|
1453
|
-
listCompanyCustomers(): Promise<CompanyCustomerDto[]>;
|
|
1454
|
-
protected processListCompanyCustomers(response: Response): Promise<CompanyCustomerDto[]>;
|
|
1455
|
-
deleteCompanyCustomer(tenantId: string): Promise<void>;
|
|
1456
|
-
protected processDeleteCompanyCustomer(response: Response): Promise<void>;
|
|
1457
|
-
}
|
|
1458
|
-
export interface IExternalClient {
|
|
1459
|
-
listInvites(): Promise<InviteDto[]>;
|
|
1460
|
-
acceptSupplierInvite(request: AcceptSupplierInviteRequest): Promise<CompanyDto>;
|
|
1461
|
-
listCompanies(): Promise<CompanyDto[]>;
|
|
1462
|
-
}
|
|
1463
|
-
export declare class ExternalClient extends AuthorizedApiBase implements IExternalClient {
|
|
1464
|
-
private http;
|
|
1465
|
-
private baseUrl;
|
|
1466
|
-
constructor(configuration: IAccessTokenProvider, baseUrl?: string, http?: {
|
|
1467
|
-
fetch(url: RequestInfo, init?: RequestInit): Promise<Response>;
|
|
1468
|
-
});
|
|
1469
|
-
listInvites(): Promise<InviteDto[]>;
|
|
1470
|
-
protected processListInvites(response: Response): Promise<InviteDto[]>;
|
|
1471
|
-
acceptSupplierInvite(request: AcceptSupplierInviteRequest): Promise<CompanyDto>;
|
|
1472
|
-
protected processAcceptSupplierInvite(response: Response): Promise<CompanyDto>;
|
|
1473
|
-
listCompanies(): Promise<CompanyDto[]>;
|
|
1474
|
-
protected processListCompanies(response: Response): Promise<CompanyDto[]>;
|
|
1475
|
-
}
|
|
1476
|
-
export interface ISuppliersClient {
|
|
1477
|
-
listSupplierInvites(): Promise<SupplierInviteDto[]>;
|
|
1478
|
-
createSupplierInvite(request: CreateSupplierInvite): Promise<SupplierInviteDto>;
|
|
1479
|
-
deleteSupplierInvite(id: string): Promise<void>;
|
|
1480
|
-
listSuppliers(): Promise<ExternalSupplierDto[]>;
|
|
1481
|
-
deleteSupplier(id: string): Promise<void>;
|
|
1482
|
-
importSupplier(importSupplier: ImportSupplier): Promise<ExternalSupplierDto>;
|
|
1483
|
-
/**
|
|
1484
|
-
* Creates a mapping between old supplier id and new supplier id.
|
|
1485
|
-
*/
|
|
1486
|
-
createSupplierMapping(request: CreateSupplierMapping): Promise<void>;
|
|
1487
|
-
/**
|
|
1488
|
-
* Delete all supplier mappings between old supplier ids and new supplier ids.
|
|
1489
|
-
*/
|
|
1490
|
-
deleteSupplierMappings(): Promise<void>;
|
|
1491
|
-
}
|
|
1492
|
-
export declare class SuppliersClient extends AuthorizedApiBase implements ISuppliersClient {
|
|
1493
|
-
private http;
|
|
1494
|
-
private baseUrl;
|
|
1495
|
-
constructor(configuration: IAccessTokenProvider, baseUrl?: string, http?: {
|
|
1496
|
-
fetch(url: RequestInfo, init?: RequestInit): Promise<Response>;
|
|
1497
|
-
});
|
|
1498
|
-
listSupplierInvites(): Promise<SupplierInviteDto[]>;
|
|
1499
|
-
protected processListSupplierInvites(response: Response): Promise<SupplierInviteDto[]>;
|
|
1500
|
-
createSupplierInvite(request: CreateSupplierInvite): Promise<SupplierInviteDto>;
|
|
1501
|
-
protected processCreateSupplierInvite(response: Response): Promise<SupplierInviteDto>;
|
|
1502
|
-
deleteSupplierInvite(id: string): Promise<void>;
|
|
1503
|
-
protected processDeleteSupplierInvite(response: Response): Promise<void>;
|
|
1504
|
-
listSuppliers(): Promise<ExternalSupplierDto[]>;
|
|
1505
|
-
protected processListSuppliers(response: Response): Promise<ExternalSupplierDto[]>;
|
|
1506
|
-
deleteSupplier(id: string): Promise<void>;
|
|
1507
|
-
protected processDeleteSupplier(response: Response): Promise<void>;
|
|
1508
|
-
importSupplier(importSupplier: ImportSupplier): Promise<ExternalSupplierDto>;
|
|
1509
|
-
protected processImportSupplier(response: Response): Promise<ExternalSupplierDto>;
|
|
1510
|
-
/**
|
|
1511
|
-
* Creates a mapping between old supplier id and new supplier id.
|
|
1512
|
-
*/
|
|
1513
|
-
createSupplierMapping(request: CreateSupplierMapping): Promise<void>;
|
|
1514
|
-
protected processCreateSupplierMapping(response: Response): Promise<void>;
|
|
1515
|
-
/**
|
|
1516
|
-
* Delete all supplier mappings between old supplier ids and new supplier ids.
|
|
1517
|
-
*/
|
|
1518
|
-
deleteSupplierMappings(): Promise<void>;
|
|
1519
|
-
protected processDeleteSupplierMappings(response: Response): Promise<void>;
|
|
1520
|
-
}
|
|
1521
1431
|
export interface ICncFileTransferClient {
|
|
1522
1432
|
startCncMachineOperationTransferToCloud(id: string): Promise<CncMachineTransferDto>;
|
|
1523
1433
|
startCncMachineOperationTransferToMachine(id: string): Promise<CncMachineTransferDto>;
|
|
@@ -2853,22 +2763,22 @@ export declare class MeasurementFormsInstancesAdminClient extends AuthorizedApiB
|
|
|
2853
2763
|
protected processExportDimensionReportValues(response: Response): Promise<DownloadDto>;
|
|
2854
2764
|
}
|
|
2855
2765
|
export interface IMeasurementFormsInstancesClient {
|
|
2856
|
-
listMeasurementForms(pageSize: number | undefined, search: string | null | undefined, continuationToken: string | null | undefined,
|
|
2766
|
+
listMeasurementForms(pageSize: number | undefined, search: string | null | undefined, continuationToken: string | null | undefined, inactive: boolean | null | undefined, includeInactiveSupplierAccess: boolean | null | undefined): Promise<PagedResultOfMeasurementFormInstanceOverviewDto>;
|
|
2857
2767
|
postListMeasurementForms(request: ListMeasurementFormsRequest | undefined): Promise<PagedResultOfMeasurementFormInstanceOverviewDto>;
|
|
2858
|
-
getMeasurementFormInstance(id: string
|
|
2768
|
+
getMeasurementFormInstance(id: string): Promise<MeasurementFormInstanceDto>;
|
|
2859
2769
|
listMeasurementFormInstanceFeedback(id: string): Promise<MeasurementFormInstanceFeedbackDto[]>;
|
|
2860
|
-
completeMeasurementFormInstance(id: string
|
|
2861
|
-
completeMeasurementFormInstanceV2(id: string
|
|
2862
|
-
getMeasurementFormInstanceSchema(id: string, schemaId: string, serialNumber: string | null | undefined
|
|
2863
|
-
getWorkorderMeasurementFormProgress(id: string
|
|
2864
|
-
getAuditLog(id: string,
|
|
2770
|
+
completeMeasurementFormInstance(id: string): Promise<MeasurementFormInstanceDto>;
|
|
2771
|
+
completeMeasurementFormInstanceV2(id: string): Promise<CompleteMeasurementFormInstanceResult>;
|
|
2772
|
+
getMeasurementFormInstanceSchema(id: string, schemaId: string, serialNumber: string | null | undefined): Promise<MeasurementFormInstanceSchemaDto>;
|
|
2773
|
+
getWorkorderMeasurementFormProgress(id: string): Promise<MeasurementFormInstanceProgressDto>;
|
|
2774
|
+
getAuditLog(id: string, schemaId: string | null | undefined, serialNumber: string | null | undefined, elementId: string | null | undefined): Promise<MeasurementFormElementValueAuditDto[]>;
|
|
2865
2775
|
getValidationRules(): Promise<ValidationRuleDto[]>;
|
|
2866
|
-
saveValue(id: string,
|
|
2867
|
-
saveTool(id: string,
|
|
2868
|
-
saveComment(id: string,
|
|
2869
|
-
batchInsertValues(id: string,
|
|
2870
|
-
saveMeasurementFormInstanceSchemaComment(id: string, schemaId: string,
|
|
2871
|
-
createMeasurementFormInstanceSchemaFeedback(id: string, schemaId: string,
|
|
2776
|
+
saveValue(id: string, request: SaveValueRequest): Promise<SaveValueResponseDto>;
|
|
2777
|
+
saveTool(id: string, request: SaveToolRequest): Promise<SaveValueResponseDto>;
|
|
2778
|
+
saveComment(id: string, request: SaveCommentRequest): Promise<void>;
|
|
2779
|
+
batchInsertValues(id: string, request: BatchInsertValueRequest): Promise<BatchInsertValuesResponseDto>;
|
|
2780
|
+
saveMeasurementFormInstanceSchemaComment(id: string, schemaId: string, request: SaveMeasurementFormInstanceSchemaCommentRequest): Promise<void>;
|
|
2781
|
+
createMeasurementFormInstanceSchemaFeedback(id: string, schemaId: string, request: CreateMeasurementFormSchemaFeedbackRequest): Promise<SchemaFeedbackCreatedDto>;
|
|
2872
2782
|
listSupplierMeasurementFormInstances(supplierId: string): Promise<MeasurementFormSupplierAccessInstanceDto[]>;
|
|
2873
2783
|
upsertSupplierToMeasurmentFormInstance(id: string, supplierId: string, request: UpsertSupplierToMeasurementFormInstanceRequest): Promise<void>;
|
|
2874
2784
|
removeSupplierFromMeasurmentFormInstance(id: string, supplierId: string): Promise<void>;
|
|
@@ -2884,37 +2794,37 @@ export declare class MeasurementFormsInstancesClient extends AuthorizedApiBase i
|
|
|
2884
2794
|
constructor(configuration: IAccessTokenProvider, baseUrl?: string, http?: {
|
|
2885
2795
|
fetch(url: RequestInfo, init?: RequestInit): Promise<Response>;
|
|
2886
2796
|
});
|
|
2887
|
-
listMeasurementForms(pageSize: number | undefined, search: string | null | undefined, continuationToken: string | null | undefined,
|
|
2797
|
+
listMeasurementForms(pageSize: number | undefined, search: string | null | undefined, continuationToken: string | null | undefined, inactive: boolean | null | undefined, includeInactiveSupplierAccess: boolean | null | undefined): Promise<PagedResultOfMeasurementFormInstanceOverviewDto>;
|
|
2888
2798
|
protected processListMeasurementForms(response: Response): Promise<PagedResultOfMeasurementFormInstanceOverviewDto>;
|
|
2889
2799
|
postListMeasurementForms(request: ListMeasurementFormsRequest | undefined): Promise<PagedResultOfMeasurementFormInstanceOverviewDto>;
|
|
2890
2800
|
protected processPostListMeasurementForms(response: Response): Promise<PagedResultOfMeasurementFormInstanceOverviewDto>;
|
|
2891
|
-
getMeasurementFormInstance(id: string
|
|
2801
|
+
getMeasurementFormInstance(id: string): Promise<MeasurementFormInstanceDto>;
|
|
2892
2802
|
protected processGetMeasurementFormInstance(response: Response): Promise<MeasurementFormInstanceDto>;
|
|
2893
2803
|
listMeasurementFormInstanceFeedback(id: string): Promise<MeasurementFormInstanceFeedbackDto[]>;
|
|
2894
2804
|
protected processListMeasurementFormInstanceFeedback(response: Response): Promise<MeasurementFormInstanceFeedbackDto[]>;
|
|
2895
|
-
completeMeasurementFormInstance(id: string
|
|
2805
|
+
completeMeasurementFormInstance(id: string): Promise<MeasurementFormInstanceDto>;
|
|
2896
2806
|
protected processCompleteMeasurementFormInstance(response: Response): Promise<MeasurementFormInstanceDto>;
|
|
2897
|
-
completeMeasurementFormInstanceV2(id: string
|
|
2807
|
+
completeMeasurementFormInstanceV2(id: string): Promise<CompleteMeasurementFormInstanceResult>;
|
|
2898
2808
|
protected processCompleteMeasurementFormInstanceV2(response: Response): Promise<CompleteMeasurementFormInstanceResult>;
|
|
2899
|
-
getMeasurementFormInstanceSchema(id: string, schemaId: string, serialNumber: string | null | undefined
|
|
2809
|
+
getMeasurementFormInstanceSchema(id: string, schemaId: string, serialNumber: string | null | undefined): Promise<MeasurementFormInstanceSchemaDto>;
|
|
2900
2810
|
protected processGetMeasurementFormInstanceSchema(response: Response): Promise<MeasurementFormInstanceSchemaDto>;
|
|
2901
|
-
getWorkorderMeasurementFormProgress(id: string
|
|
2811
|
+
getWorkorderMeasurementFormProgress(id: string): Promise<MeasurementFormInstanceProgressDto>;
|
|
2902
2812
|
protected processGetWorkorderMeasurementFormProgress(response: Response): Promise<MeasurementFormInstanceProgressDto>;
|
|
2903
|
-
getAuditLog(id: string,
|
|
2813
|
+
getAuditLog(id: string, schemaId: string | null | undefined, serialNumber: string | null | undefined, elementId: string | null | undefined): Promise<MeasurementFormElementValueAuditDto[]>;
|
|
2904
2814
|
protected processGetAuditLog(response: Response): Promise<MeasurementFormElementValueAuditDto[]>;
|
|
2905
2815
|
getValidationRules(): Promise<ValidationRuleDto[]>;
|
|
2906
2816
|
protected processGetValidationRules(response: Response): Promise<ValidationRuleDto[]>;
|
|
2907
|
-
saveValue(id: string,
|
|
2817
|
+
saveValue(id: string, request: SaveValueRequest): Promise<SaveValueResponseDto>;
|
|
2908
2818
|
protected processSaveValue(response: Response): Promise<SaveValueResponseDto>;
|
|
2909
|
-
saveTool(id: string,
|
|
2819
|
+
saveTool(id: string, request: SaveToolRequest): Promise<SaveValueResponseDto>;
|
|
2910
2820
|
protected processSaveTool(response: Response): Promise<SaveValueResponseDto>;
|
|
2911
|
-
saveComment(id: string,
|
|
2821
|
+
saveComment(id: string, request: SaveCommentRequest): Promise<void>;
|
|
2912
2822
|
protected processSaveComment(response: Response): Promise<void>;
|
|
2913
|
-
batchInsertValues(id: string,
|
|
2823
|
+
batchInsertValues(id: string, request: BatchInsertValueRequest): Promise<BatchInsertValuesResponseDto>;
|
|
2914
2824
|
protected processBatchInsertValues(response: Response): Promise<BatchInsertValuesResponseDto>;
|
|
2915
|
-
saveMeasurementFormInstanceSchemaComment(id: string, schemaId: string,
|
|
2825
|
+
saveMeasurementFormInstanceSchemaComment(id: string, schemaId: string, request: SaveMeasurementFormInstanceSchemaCommentRequest): Promise<void>;
|
|
2916
2826
|
protected processSaveMeasurementFormInstanceSchemaComment(response: Response): Promise<void>;
|
|
2917
|
-
createMeasurementFormInstanceSchemaFeedback(id: string, schemaId: string,
|
|
2827
|
+
createMeasurementFormInstanceSchemaFeedback(id: string, schemaId: string, request: CreateMeasurementFormSchemaFeedbackRequest): Promise<SchemaFeedbackCreatedDto>;
|
|
2918
2828
|
protected processCreateMeasurementFormInstanceSchemaFeedback(response: Response): Promise<SchemaFeedbackCreatedDto>;
|
|
2919
2829
|
listSupplierMeasurementFormInstances(supplierId: string): Promise<MeasurementFormSupplierAccessInstanceDto[]>;
|
|
2920
2830
|
protected processListSupplierMeasurementFormInstances(response: Response): Promise<MeasurementFormSupplierAccessInstanceDto[]>;
|
|
@@ -2939,7 +2849,7 @@ export interface IMeasurementFormsInstancesInstanceAdminClient {
|
|
|
2939
2849
|
createMeasurementFormInstance2(id: string, request: CreateMeasurementFormInstanceRequest): Promise<MeasurementFormInstanceDto>;
|
|
2940
2850
|
reactivateMeasurementFormInstance(id: string): Promise<MeasurementFormInstanceDto>;
|
|
2941
2851
|
cancelMeasurementFormInstance(id: string): Promise<MeasurementFormInstanceDto>;
|
|
2942
|
-
toggleSchemaInstanceElementDocumentedExternallyOverride(id: string, schemaId: string, elementId: string
|
|
2852
|
+
toggleSchemaInstanceElementDocumentedExternallyOverride(id: string, schemaId: string, elementId: string): Promise<void>;
|
|
2943
2853
|
}
|
|
2944
2854
|
export declare class MeasurementFormsInstancesInstanceAdminClient extends AuthorizedApiBase implements IMeasurementFormsInstancesInstanceAdminClient {
|
|
2945
2855
|
private http;
|
|
@@ -2963,7 +2873,7 @@ export declare class MeasurementFormsInstancesInstanceAdminClient extends Author
|
|
|
2963
2873
|
protected processReactivateMeasurementFormInstance(response: Response): Promise<MeasurementFormInstanceDto>;
|
|
2964
2874
|
cancelMeasurementFormInstance(id: string): Promise<MeasurementFormInstanceDto>;
|
|
2965
2875
|
protected processCancelMeasurementFormInstance(response: Response): Promise<MeasurementFormInstanceDto>;
|
|
2966
|
-
toggleSchemaInstanceElementDocumentedExternallyOverride(id: string, schemaId: string, elementId: string
|
|
2876
|
+
toggleSchemaInstanceElementDocumentedExternallyOverride(id: string, schemaId: string, elementId: string): Promise<void>;
|
|
2967
2877
|
protected processToggleSchemaInstanceElementDocumentedExternallyOverride(response: Response): Promise<void>;
|
|
2968
2878
|
}
|
|
2969
2879
|
export interface ICompaniesClient {
|
|
@@ -3303,6 +3213,99 @@ export declare class WorkordersClient extends AuthorizedApiBase implements IWork
|
|
|
3303
3213
|
generateContentPartsForDiscussions(): Promise<WorkorderDiscussionMessageDto[]>;
|
|
3304
3214
|
protected processGenerateContentPartsForDiscussions(response: Response): Promise<WorkorderDiscussionMessageDto[]>;
|
|
3305
3215
|
}
|
|
3216
|
+
export interface IExternalAccessClient {
|
|
3217
|
+
listUsers(companyId: string | null | undefined): Promise<CompanyUserDto[]>;
|
|
3218
|
+
createCompanyUser(request: CreateCompanyUser): Promise<CompanyUserDto>;
|
|
3219
|
+
updateCompanyUser(id: string, request: UpdateCompanyUserRequest): Promise<CompanyUserDto>;
|
|
3220
|
+
deleteCompanyUser(id: string, companyId: string | null | undefined): Promise<void>;
|
|
3221
|
+
listRoles(): Promise<ExternalRoleDto[]>;
|
|
3222
|
+
listCompanyCustomers(): Promise<CompanyCustomerDto[]>;
|
|
3223
|
+
deleteCompanyCustomer(tenantId: string): Promise<void>;
|
|
3224
|
+
}
|
|
3225
|
+
export declare class ExternalAccessClient extends AuthorizedApiBase implements IExternalAccessClient {
|
|
3226
|
+
private http;
|
|
3227
|
+
private baseUrl;
|
|
3228
|
+
constructor(configuration: IAccessTokenProvider, baseUrl?: string, http?: {
|
|
3229
|
+
fetch(url: RequestInfo, init?: RequestInit): Promise<Response>;
|
|
3230
|
+
});
|
|
3231
|
+
listUsers(companyId: string | null | undefined): Promise<CompanyUserDto[]>;
|
|
3232
|
+
protected processListUsers(response: Response): Promise<CompanyUserDto[]>;
|
|
3233
|
+
createCompanyUser(request: CreateCompanyUser): Promise<CompanyUserDto>;
|
|
3234
|
+
protected processCreateCompanyUser(response: Response): Promise<CompanyUserDto>;
|
|
3235
|
+
updateCompanyUser(id: string, request: UpdateCompanyUserRequest): Promise<CompanyUserDto>;
|
|
3236
|
+
protected processUpdateCompanyUser(response: Response): Promise<CompanyUserDto>;
|
|
3237
|
+
deleteCompanyUser(id: string, companyId: string | null | undefined): Promise<void>;
|
|
3238
|
+
protected processDeleteCompanyUser(response: Response): Promise<void>;
|
|
3239
|
+
listRoles(): Promise<ExternalRoleDto[]>;
|
|
3240
|
+
protected processListRoles(response: Response): Promise<ExternalRoleDto[]>;
|
|
3241
|
+
listCompanyCustomers(): Promise<CompanyCustomerDto[]>;
|
|
3242
|
+
protected processListCompanyCustomers(response: Response): Promise<CompanyCustomerDto[]>;
|
|
3243
|
+
deleteCompanyCustomer(tenantId: string): Promise<void>;
|
|
3244
|
+
protected processDeleteCompanyCustomer(response: Response): Promise<void>;
|
|
3245
|
+
}
|
|
3246
|
+
export interface IExternalClient {
|
|
3247
|
+
listCompanies(): Promise<CompanyDto[]>;
|
|
3248
|
+
getCompany(id: string): Promise<CompanyDto>;
|
|
3249
|
+
getCurrentSupplierInvite(): Promise<SupplierInviteDto>;
|
|
3250
|
+
acceptSupplierInvite(request: AcceptSupplierInvite): Promise<SupplierInviteDto>;
|
|
3251
|
+
}
|
|
3252
|
+
export declare class ExternalClient extends AuthorizedApiBase implements IExternalClient {
|
|
3253
|
+
private http;
|
|
3254
|
+
private baseUrl;
|
|
3255
|
+
constructor(configuration: IAccessTokenProvider, baseUrl?: string, http?: {
|
|
3256
|
+
fetch(url: RequestInfo, init?: RequestInit): Promise<Response>;
|
|
3257
|
+
});
|
|
3258
|
+
listCompanies(): Promise<CompanyDto[]>;
|
|
3259
|
+
protected processListCompanies(response: Response): Promise<CompanyDto[]>;
|
|
3260
|
+
getCompany(id: string): Promise<CompanyDto>;
|
|
3261
|
+
protected processGetCompany(response: Response): Promise<CompanyDto>;
|
|
3262
|
+
getCurrentSupplierInvite(): Promise<SupplierInviteDto>;
|
|
3263
|
+
protected processGetCurrentSupplierInvite(response: Response): Promise<SupplierInviteDto>;
|
|
3264
|
+
acceptSupplierInvite(request: AcceptSupplierInvite): Promise<SupplierInviteDto>;
|
|
3265
|
+
protected processAcceptSupplierInvite(response: Response): Promise<SupplierInviteDto>;
|
|
3266
|
+
}
|
|
3267
|
+
export interface ISuppliersClient {
|
|
3268
|
+
listSupplierInvites(): Promise<SupplierInviteDto[]>;
|
|
3269
|
+
createSupplierInvite(request: CreateSupplierInvite): Promise<SupplierInviteDto>;
|
|
3270
|
+
deleteSupplierInvite(id: string): Promise<void>;
|
|
3271
|
+
listSuppliers(): Promise<ExternalSupplierDto[]>;
|
|
3272
|
+
deleteSupplier(id: string): Promise<void>;
|
|
3273
|
+
/**
|
|
3274
|
+
* Creates a mapping between old supplier id and new supplier id.
|
|
3275
|
+
*/
|
|
3276
|
+
createSupplierMapping(request: CreateSupplierMapping): Promise<void>;
|
|
3277
|
+
/**
|
|
3278
|
+
* Delete all supplier mappings between old supplier ids and new supplier ids.
|
|
3279
|
+
*/
|
|
3280
|
+
deleteSupplierMappings(): Promise<void>;
|
|
3281
|
+
}
|
|
3282
|
+
export declare class SuppliersClient extends AuthorizedApiBase implements ISuppliersClient {
|
|
3283
|
+
private http;
|
|
3284
|
+
private baseUrl;
|
|
3285
|
+
constructor(configuration: IAccessTokenProvider, baseUrl?: string, http?: {
|
|
3286
|
+
fetch(url: RequestInfo, init?: RequestInit): Promise<Response>;
|
|
3287
|
+
});
|
|
3288
|
+
listSupplierInvites(): Promise<SupplierInviteDto[]>;
|
|
3289
|
+
protected processListSupplierInvites(response: Response): Promise<SupplierInviteDto[]>;
|
|
3290
|
+
createSupplierInvite(request: CreateSupplierInvite): Promise<SupplierInviteDto>;
|
|
3291
|
+
protected processCreateSupplierInvite(response: Response): Promise<SupplierInviteDto>;
|
|
3292
|
+
deleteSupplierInvite(id: string): Promise<void>;
|
|
3293
|
+
protected processDeleteSupplierInvite(response: Response): Promise<void>;
|
|
3294
|
+
listSuppliers(): Promise<ExternalSupplierDto[]>;
|
|
3295
|
+
protected processListSuppliers(response: Response): Promise<ExternalSupplierDto[]>;
|
|
3296
|
+
deleteSupplier(id: string): Promise<void>;
|
|
3297
|
+
protected processDeleteSupplier(response: Response): Promise<void>;
|
|
3298
|
+
/**
|
|
3299
|
+
* Creates a mapping between old supplier id and new supplier id.
|
|
3300
|
+
*/
|
|
3301
|
+
createSupplierMapping(request: CreateSupplierMapping): Promise<void>;
|
|
3302
|
+
protected processCreateSupplierMapping(response: Response): Promise<void>;
|
|
3303
|
+
/**
|
|
3304
|
+
* Delete all supplier mappings between old supplier ids and new supplier ids.
|
|
3305
|
+
*/
|
|
3306
|
+
deleteSupplierMappings(): Promise<void>;
|
|
3307
|
+
protected processDeleteSupplierMappings(response: Response): Promise<void>;
|
|
3308
|
+
}
|
|
3306
3309
|
export interface AzureRegionDto {
|
|
3307
3310
|
displayName: string;
|
|
3308
3311
|
name: string;
|
|
@@ -3536,6 +3539,8 @@ export interface UserDetailsDto {
|
|
|
3536
3539
|
isExternalUser?: boolean;
|
|
3537
3540
|
isBetaTester?: boolean | null;
|
|
3538
3541
|
hasAccessToIgnos?: boolean;
|
|
3542
|
+
isInvitedUser?: boolean;
|
|
3543
|
+
isSupplier?: boolean;
|
|
3539
3544
|
}
|
|
3540
3545
|
export interface UserDto {
|
|
3541
3546
|
id?: string | null;
|
|
@@ -5403,97 +5408,6 @@ export interface DocumentGeneratorTypeDto {
|
|
|
5403
5408
|
key: string;
|
|
5404
5409
|
description: string;
|
|
5405
5410
|
}
|
|
5406
|
-
export interface CompanyUserDto {
|
|
5407
|
-
companyId?: string | null;
|
|
5408
|
-
username?: string | null;
|
|
5409
|
-
name?: string | null;
|
|
5410
|
-
roles?: string[] | null;
|
|
5411
|
-
}
|
|
5412
|
-
export interface CreateCompanyUserRequest {
|
|
5413
|
-
username: string;
|
|
5414
|
-
name: string;
|
|
5415
|
-
roles: string[];
|
|
5416
|
-
companyId?: string | null;
|
|
5417
|
-
}
|
|
5418
|
-
export interface UpdateCompanyUserRequest {
|
|
5419
|
-
name: string;
|
|
5420
|
-
roles: string[];
|
|
5421
|
-
companyId?: string | null;
|
|
5422
|
-
}
|
|
5423
|
-
export interface ExternalRoleDto {
|
|
5424
|
-
id: string;
|
|
5425
|
-
name: string;
|
|
5426
|
-
}
|
|
5427
|
-
export interface CompanyCustomerDto {
|
|
5428
|
-
customerTenantId?: string | null;
|
|
5429
|
-
customerAzureAdTenantId?: string | null;
|
|
5430
|
-
customerName?: string | null;
|
|
5431
|
-
supplierId?: string | null;
|
|
5432
|
-
supplierName?: string | null;
|
|
5433
|
-
}
|
|
5434
|
-
export interface InviteDto {
|
|
5435
|
-
tenantId: string;
|
|
5436
|
-
companyName: string;
|
|
5437
|
-
id: string;
|
|
5438
|
-
supplierId: string;
|
|
5439
|
-
supplierName: string;
|
|
5440
|
-
username: string;
|
|
5441
|
-
deadline: Date;
|
|
5442
|
-
createdTime: Date;
|
|
5443
|
-
createdBy: string;
|
|
5444
|
-
}
|
|
5445
|
-
export interface CompanyDto {
|
|
5446
|
-
id?: string | null;
|
|
5447
|
-
name?: string | null;
|
|
5448
|
-
organizationNumber?: string | null;
|
|
5449
|
-
country?: string | null;
|
|
5450
|
-
tenantId?: string | null;
|
|
5451
|
-
}
|
|
5452
|
-
export interface AcceptSupplierInviteRequest {
|
|
5453
|
-
tenantId: string;
|
|
5454
|
-
existingCompanyId?: string | null;
|
|
5455
|
-
companyName?: string | null;
|
|
5456
|
-
organizationNumber?: string | null;
|
|
5457
|
-
threeLetterIsoCountry?: string | null;
|
|
5458
|
-
}
|
|
5459
|
-
export interface SupplierInviteDto {
|
|
5460
|
-
id: string;
|
|
5461
|
-
supplierId: string;
|
|
5462
|
-
name: string;
|
|
5463
|
-
username: string;
|
|
5464
|
-
deadline: Date;
|
|
5465
|
-
createdTime: Date;
|
|
5466
|
-
createdBy: string;
|
|
5467
|
-
}
|
|
5468
|
-
export interface CreateSupplierInvite {
|
|
5469
|
-
supplierId: string;
|
|
5470
|
-
name: string;
|
|
5471
|
-
username: string;
|
|
5472
|
-
deadline: Date;
|
|
5473
|
-
}
|
|
5474
|
-
export interface ExternalSupplierDto {
|
|
5475
|
-
id: string;
|
|
5476
|
-
name: string;
|
|
5477
|
-
companyId: string;
|
|
5478
|
-
active: boolean;
|
|
5479
|
-
}
|
|
5480
|
-
export interface ImportSupplier {
|
|
5481
|
-
supplierId: string;
|
|
5482
|
-
name: string;
|
|
5483
|
-
organizationNumber?: string | null;
|
|
5484
|
-
threeLetterIsoCountry: string;
|
|
5485
|
-
users: ImportSupplierUserDto[];
|
|
5486
|
-
}
|
|
5487
|
-
export interface ImportSupplierUserDto {
|
|
5488
|
-
username: string;
|
|
5489
|
-
name: string;
|
|
5490
|
-
roles: string[];
|
|
5491
|
-
}
|
|
5492
|
-
export interface CreateSupplierMapping {
|
|
5493
|
-
companyId: string;
|
|
5494
|
-
existingSupplierId: string;
|
|
5495
|
-
newSupplierId: string;
|
|
5496
|
-
}
|
|
5497
5411
|
export interface CncMachineTransferDto {
|
|
5498
5412
|
id: string;
|
|
5499
5413
|
cncMachineOperationId?: string | null;
|
|
@@ -6658,6 +6572,7 @@ export interface MoveSubscriptionDto {
|
|
|
6658
6572
|
enabledNotifications: boolean;
|
|
6659
6573
|
zones: MoveSubscriptionZoneDto[];
|
|
6660
6574
|
locations: MoveSubscriptionLocationDto[];
|
|
6575
|
+
transportKinds?: TransportKindDto[] | null;
|
|
6661
6576
|
}
|
|
6662
6577
|
export interface MoveSubscriptionZoneDto {
|
|
6663
6578
|
zoneId: string;
|
|
@@ -6675,6 +6590,7 @@ export interface UpdateNotifications {
|
|
|
6675
6590
|
enabledNotifications: boolean;
|
|
6676
6591
|
zones: MoveSubscriptionZoneUpdateDto[];
|
|
6677
6592
|
locations: MoveSubscriptionLocationUpdateDto[];
|
|
6593
|
+
transportKinds?: TransportKindDto[] | null;
|
|
6678
6594
|
}
|
|
6679
6595
|
export interface MoveSubscriptionZoneUpdateDto {
|
|
6680
6596
|
zoneId: string;
|
|
@@ -8649,7 +8565,6 @@ export interface ListMeasurementFormsRequest {
|
|
|
8649
8565
|
pageSize?: number | null;
|
|
8650
8566
|
search?: string | null;
|
|
8651
8567
|
continuationToken?: string | null;
|
|
8652
|
-
tenantId?: string | null;
|
|
8653
8568
|
inactive?: boolean | null;
|
|
8654
8569
|
includeInactiveSupplierAccess?: boolean | null;
|
|
8655
8570
|
}
|
|
@@ -8845,7 +8760,6 @@ export interface UpsertSupplierToMeasurementFormInstanceRequest {
|
|
|
8845
8760
|
externalOrderNumber?: string | null;
|
|
8846
8761
|
}
|
|
8847
8762
|
export interface ExportDimensionReportV2Request {
|
|
8848
|
-
tenantId?: string | null;
|
|
8849
8763
|
type: DimensionReportType;
|
|
8850
8764
|
extras?: DimensionReportExtras | null;
|
|
8851
8765
|
specificSerialNumbers?: string[] | null;
|
|
@@ -9186,6 +9100,78 @@ export interface SetDiscussionLastReadRequest {
|
|
|
9186
9100
|
operationId?: string | null;
|
|
9187
9101
|
resourceId?: string | null;
|
|
9188
9102
|
}
|
|
9103
|
+
export interface CompanyUserDto {
|
|
9104
|
+
companyId: string;
|
|
9105
|
+
userObjectId: string;
|
|
9106
|
+
username?: string | null;
|
|
9107
|
+
name?: string | null;
|
|
9108
|
+
roles: string[];
|
|
9109
|
+
}
|
|
9110
|
+
export interface CreateCompanyUser {
|
|
9111
|
+
username: string;
|
|
9112
|
+
name: string;
|
|
9113
|
+
roles: string[];
|
|
9114
|
+
companyId?: string | null;
|
|
9115
|
+
}
|
|
9116
|
+
export interface UpdateCompanyUserRequest {
|
|
9117
|
+
roles: string[];
|
|
9118
|
+
companyId?: string | null;
|
|
9119
|
+
}
|
|
9120
|
+
export interface ExternalRoleDto {
|
|
9121
|
+
id: string;
|
|
9122
|
+
name: string;
|
|
9123
|
+
}
|
|
9124
|
+
export interface CompanyCustomerDto {
|
|
9125
|
+
customerTenantId?: string | null;
|
|
9126
|
+
customerAzureAdTenantId?: string | null;
|
|
9127
|
+
customerName?: string | null;
|
|
9128
|
+
supplierId?: string | null;
|
|
9129
|
+
supplierName?: string | null;
|
|
9130
|
+
}
|
|
9131
|
+
export interface CompanyDto {
|
|
9132
|
+
id?: string;
|
|
9133
|
+
name?: string;
|
|
9134
|
+
organizationNumber?: string | null;
|
|
9135
|
+
country?: string;
|
|
9136
|
+
tenantId?: string | null;
|
|
9137
|
+
}
|
|
9138
|
+
export interface SupplierInviteDto {
|
|
9139
|
+
id: string;
|
|
9140
|
+
supplierId: string;
|
|
9141
|
+
supplierName?: string | null;
|
|
9142
|
+
customerName?: string | null;
|
|
9143
|
+
userId: string;
|
|
9144
|
+
userName?: string | null;
|
|
9145
|
+
companyId?: string | null;
|
|
9146
|
+
deadline: Date;
|
|
9147
|
+
acceptedTimestamp?: Date | null;
|
|
9148
|
+
createdTime: Date;
|
|
9149
|
+
createdBy: string;
|
|
9150
|
+
}
|
|
9151
|
+
export interface AcceptSupplierInvite {
|
|
9152
|
+
companyName?: string;
|
|
9153
|
+
organizationNumber?: string;
|
|
9154
|
+
threeLetterIsoCountry?: string;
|
|
9155
|
+
}
|
|
9156
|
+
export interface CreateSupplierInvite {
|
|
9157
|
+
supplierId: string;
|
|
9158
|
+
supplierName?: string | null;
|
|
9159
|
+
username: string;
|
|
9160
|
+
invitedName: string;
|
|
9161
|
+
deadline: Date;
|
|
9162
|
+
existingCompanyId?: string | null;
|
|
9163
|
+
}
|
|
9164
|
+
export interface ExternalSupplierDto {
|
|
9165
|
+
id: string;
|
|
9166
|
+
name: string;
|
|
9167
|
+
companyId: string;
|
|
9168
|
+
active: boolean;
|
|
9169
|
+
}
|
|
9170
|
+
export interface CreateSupplierMapping {
|
|
9171
|
+
companyId: string;
|
|
9172
|
+
existingSupplierId: string;
|
|
9173
|
+
newSupplierId: string;
|
|
9174
|
+
}
|
|
9189
9175
|
export interface FileParameter {
|
|
9190
9176
|
data: any;
|
|
9191
9177
|
fileName: string;
|