@ignos/api-client 20260312.76.1 → 20260312.77.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 +198 -214
- package/lib/ignosportal-api.js +4110 -4098
- package/package.json +1 -1
- package/src/ignosportal-api.ts +5872 -5882
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>;
|
|
@@ -2838,22 +2748,22 @@ export declare class MeasurementFormsInstancesAdminClient extends AuthorizedApiB
|
|
|
2838
2748
|
protected processExportDimensionReportValues(response: Response): Promise<DownloadDto>;
|
|
2839
2749
|
}
|
|
2840
2750
|
export interface IMeasurementFormsInstancesClient {
|
|
2841
|
-
listMeasurementForms(pageSize: number | undefined, search: string | null | undefined, continuationToken: string | null | undefined,
|
|
2751
|
+
listMeasurementForms(pageSize: number | undefined, search: string | null | undefined, continuationToken: string | null | undefined, inactive: boolean | null | undefined, includeInactiveSupplierAccess: boolean | null | undefined): Promise<PagedResultOfMeasurementFormInstanceOverviewDto>;
|
|
2842
2752
|
postListMeasurementForms(request: ListMeasurementFormsRequest | undefined): Promise<PagedResultOfMeasurementFormInstanceOverviewDto>;
|
|
2843
|
-
getMeasurementFormInstance(id: string
|
|
2753
|
+
getMeasurementFormInstance(id: string): Promise<MeasurementFormInstanceDto>;
|
|
2844
2754
|
listMeasurementFormInstanceFeedback(id: string): Promise<MeasurementFormInstanceFeedbackDto[]>;
|
|
2845
|
-
completeMeasurementFormInstance(id: string
|
|
2846
|
-
completeMeasurementFormInstanceV2(id: string
|
|
2847
|
-
getMeasurementFormInstanceSchema(id: string, schemaId: string, serialNumber: string | null | undefined
|
|
2848
|
-
getWorkorderMeasurementFormProgress(id: string
|
|
2849
|
-
getAuditLog(id: string,
|
|
2755
|
+
completeMeasurementFormInstance(id: string): Promise<MeasurementFormInstanceDto>;
|
|
2756
|
+
completeMeasurementFormInstanceV2(id: string): Promise<CompleteMeasurementFormInstanceResult>;
|
|
2757
|
+
getMeasurementFormInstanceSchema(id: string, schemaId: string, serialNumber: string | null | undefined): Promise<MeasurementFormInstanceSchemaDto>;
|
|
2758
|
+
getWorkorderMeasurementFormProgress(id: string): Promise<MeasurementFormInstanceProgressDto>;
|
|
2759
|
+
getAuditLog(id: string, schemaId: string | null | undefined, serialNumber: string | null | undefined, elementId: string | null | undefined): Promise<MeasurementFormElementValueAuditDto[]>;
|
|
2850
2760
|
getValidationRules(): Promise<ValidationRuleDto[]>;
|
|
2851
|
-
saveValue(id: string,
|
|
2852
|
-
saveTool(id: string,
|
|
2853
|
-
saveComment(id: string,
|
|
2854
|
-
batchInsertValues(id: string,
|
|
2855
|
-
saveMeasurementFormInstanceSchemaComment(id: string, schemaId: string,
|
|
2856
|
-
createMeasurementFormInstanceSchemaFeedback(id: string, schemaId: string,
|
|
2761
|
+
saveValue(id: string, request: SaveValueRequest): Promise<SaveValueResponseDto>;
|
|
2762
|
+
saveTool(id: string, request: SaveToolRequest): Promise<SaveValueResponseDto>;
|
|
2763
|
+
saveComment(id: string, request: SaveCommentRequest): Promise<void>;
|
|
2764
|
+
batchInsertValues(id: string, request: BatchInsertValueRequest): Promise<BatchInsertValuesResponseDto>;
|
|
2765
|
+
saveMeasurementFormInstanceSchemaComment(id: string, schemaId: string, request: SaveMeasurementFormInstanceSchemaCommentRequest): Promise<void>;
|
|
2766
|
+
createMeasurementFormInstanceSchemaFeedback(id: string, schemaId: string, request: CreateMeasurementFormSchemaFeedbackRequest): Promise<SchemaFeedbackCreatedDto>;
|
|
2857
2767
|
listSupplierMeasurementFormInstances(supplierId: string): Promise<MeasurementFormSupplierAccessInstanceDto[]>;
|
|
2858
2768
|
upsertSupplierToMeasurmentFormInstance(id: string, supplierId: string, request: UpsertSupplierToMeasurementFormInstanceRequest): Promise<void>;
|
|
2859
2769
|
removeSupplierFromMeasurmentFormInstance(id: string, supplierId: string): Promise<void>;
|
|
@@ -2869,37 +2779,37 @@ export declare class MeasurementFormsInstancesClient extends AuthorizedApiBase i
|
|
|
2869
2779
|
constructor(configuration: IAccessTokenProvider, baseUrl?: string, http?: {
|
|
2870
2780
|
fetch(url: RequestInfo, init?: RequestInit): Promise<Response>;
|
|
2871
2781
|
});
|
|
2872
|
-
listMeasurementForms(pageSize: number | undefined, search: string | null | undefined, continuationToken: string | null | undefined,
|
|
2782
|
+
listMeasurementForms(pageSize: number | undefined, search: string | null | undefined, continuationToken: string | null | undefined, inactive: boolean | null | undefined, includeInactiveSupplierAccess: boolean | null | undefined): Promise<PagedResultOfMeasurementFormInstanceOverviewDto>;
|
|
2873
2783
|
protected processListMeasurementForms(response: Response): Promise<PagedResultOfMeasurementFormInstanceOverviewDto>;
|
|
2874
2784
|
postListMeasurementForms(request: ListMeasurementFormsRequest | undefined): Promise<PagedResultOfMeasurementFormInstanceOverviewDto>;
|
|
2875
2785
|
protected processPostListMeasurementForms(response: Response): Promise<PagedResultOfMeasurementFormInstanceOverviewDto>;
|
|
2876
|
-
getMeasurementFormInstance(id: string
|
|
2786
|
+
getMeasurementFormInstance(id: string): Promise<MeasurementFormInstanceDto>;
|
|
2877
2787
|
protected processGetMeasurementFormInstance(response: Response): Promise<MeasurementFormInstanceDto>;
|
|
2878
2788
|
listMeasurementFormInstanceFeedback(id: string): Promise<MeasurementFormInstanceFeedbackDto[]>;
|
|
2879
2789
|
protected processListMeasurementFormInstanceFeedback(response: Response): Promise<MeasurementFormInstanceFeedbackDto[]>;
|
|
2880
|
-
completeMeasurementFormInstance(id: string
|
|
2790
|
+
completeMeasurementFormInstance(id: string): Promise<MeasurementFormInstanceDto>;
|
|
2881
2791
|
protected processCompleteMeasurementFormInstance(response: Response): Promise<MeasurementFormInstanceDto>;
|
|
2882
|
-
completeMeasurementFormInstanceV2(id: string
|
|
2792
|
+
completeMeasurementFormInstanceV2(id: string): Promise<CompleteMeasurementFormInstanceResult>;
|
|
2883
2793
|
protected processCompleteMeasurementFormInstanceV2(response: Response): Promise<CompleteMeasurementFormInstanceResult>;
|
|
2884
|
-
getMeasurementFormInstanceSchema(id: string, schemaId: string, serialNumber: string | null | undefined
|
|
2794
|
+
getMeasurementFormInstanceSchema(id: string, schemaId: string, serialNumber: string | null | undefined): Promise<MeasurementFormInstanceSchemaDto>;
|
|
2885
2795
|
protected processGetMeasurementFormInstanceSchema(response: Response): Promise<MeasurementFormInstanceSchemaDto>;
|
|
2886
|
-
getWorkorderMeasurementFormProgress(id: string
|
|
2796
|
+
getWorkorderMeasurementFormProgress(id: string): Promise<MeasurementFormInstanceProgressDto>;
|
|
2887
2797
|
protected processGetWorkorderMeasurementFormProgress(response: Response): Promise<MeasurementFormInstanceProgressDto>;
|
|
2888
|
-
getAuditLog(id: string,
|
|
2798
|
+
getAuditLog(id: string, schemaId: string | null | undefined, serialNumber: string | null | undefined, elementId: string | null | undefined): Promise<MeasurementFormElementValueAuditDto[]>;
|
|
2889
2799
|
protected processGetAuditLog(response: Response): Promise<MeasurementFormElementValueAuditDto[]>;
|
|
2890
2800
|
getValidationRules(): Promise<ValidationRuleDto[]>;
|
|
2891
2801
|
protected processGetValidationRules(response: Response): Promise<ValidationRuleDto[]>;
|
|
2892
|
-
saveValue(id: string,
|
|
2802
|
+
saveValue(id: string, request: SaveValueRequest): Promise<SaveValueResponseDto>;
|
|
2893
2803
|
protected processSaveValue(response: Response): Promise<SaveValueResponseDto>;
|
|
2894
|
-
saveTool(id: string,
|
|
2804
|
+
saveTool(id: string, request: SaveToolRequest): Promise<SaveValueResponseDto>;
|
|
2895
2805
|
protected processSaveTool(response: Response): Promise<SaveValueResponseDto>;
|
|
2896
|
-
saveComment(id: string,
|
|
2806
|
+
saveComment(id: string, request: SaveCommentRequest): Promise<void>;
|
|
2897
2807
|
protected processSaveComment(response: Response): Promise<void>;
|
|
2898
|
-
batchInsertValues(id: string,
|
|
2808
|
+
batchInsertValues(id: string, request: BatchInsertValueRequest): Promise<BatchInsertValuesResponseDto>;
|
|
2899
2809
|
protected processBatchInsertValues(response: Response): Promise<BatchInsertValuesResponseDto>;
|
|
2900
|
-
saveMeasurementFormInstanceSchemaComment(id: string, schemaId: string,
|
|
2810
|
+
saveMeasurementFormInstanceSchemaComment(id: string, schemaId: string, request: SaveMeasurementFormInstanceSchemaCommentRequest): Promise<void>;
|
|
2901
2811
|
protected processSaveMeasurementFormInstanceSchemaComment(response: Response): Promise<void>;
|
|
2902
|
-
createMeasurementFormInstanceSchemaFeedback(id: string, schemaId: string,
|
|
2812
|
+
createMeasurementFormInstanceSchemaFeedback(id: string, schemaId: string, request: CreateMeasurementFormSchemaFeedbackRequest): Promise<SchemaFeedbackCreatedDto>;
|
|
2903
2813
|
protected processCreateMeasurementFormInstanceSchemaFeedback(response: Response): Promise<SchemaFeedbackCreatedDto>;
|
|
2904
2814
|
listSupplierMeasurementFormInstances(supplierId: string): Promise<MeasurementFormSupplierAccessInstanceDto[]>;
|
|
2905
2815
|
protected processListSupplierMeasurementFormInstances(response: Response): Promise<MeasurementFormSupplierAccessInstanceDto[]>;
|
|
@@ -2924,7 +2834,7 @@ export interface IMeasurementFormsInstancesInstanceAdminClient {
|
|
|
2924
2834
|
createMeasurementFormInstance2(id: string, request: CreateMeasurementFormInstanceRequest): Promise<MeasurementFormInstanceDto>;
|
|
2925
2835
|
reactivateMeasurementFormInstance(id: string): Promise<MeasurementFormInstanceDto>;
|
|
2926
2836
|
cancelMeasurementFormInstance(id: string): Promise<MeasurementFormInstanceDto>;
|
|
2927
|
-
toggleSchemaInstanceElementDocumentedExternallyOverride(id: string, schemaId: string, elementId: string
|
|
2837
|
+
toggleSchemaInstanceElementDocumentedExternallyOverride(id: string, schemaId: string, elementId: string): Promise<void>;
|
|
2928
2838
|
}
|
|
2929
2839
|
export declare class MeasurementFormsInstancesInstanceAdminClient extends AuthorizedApiBase implements IMeasurementFormsInstancesInstanceAdminClient {
|
|
2930
2840
|
private http;
|
|
@@ -2948,7 +2858,7 @@ export declare class MeasurementFormsInstancesInstanceAdminClient extends Author
|
|
|
2948
2858
|
protected processReactivateMeasurementFormInstance(response: Response): Promise<MeasurementFormInstanceDto>;
|
|
2949
2859
|
cancelMeasurementFormInstance(id: string): Promise<MeasurementFormInstanceDto>;
|
|
2950
2860
|
protected processCancelMeasurementFormInstance(response: Response): Promise<MeasurementFormInstanceDto>;
|
|
2951
|
-
toggleSchemaInstanceElementDocumentedExternallyOverride(id: string, schemaId: string, elementId: string
|
|
2861
|
+
toggleSchemaInstanceElementDocumentedExternallyOverride(id: string, schemaId: string, elementId: string): Promise<void>;
|
|
2952
2862
|
protected processToggleSchemaInstanceElementDocumentedExternallyOverride(response: Response): Promise<void>;
|
|
2953
2863
|
}
|
|
2954
2864
|
export interface ICompaniesClient {
|
|
@@ -3288,6 +3198,99 @@ export declare class WorkordersClient extends AuthorizedApiBase implements IWork
|
|
|
3288
3198
|
generateContentPartsForDiscussions(): Promise<WorkorderDiscussionMessageDto[]>;
|
|
3289
3199
|
protected processGenerateContentPartsForDiscussions(response: Response): Promise<WorkorderDiscussionMessageDto[]>;
|
|
3290
3200
|
}
|
|
3201
|
+
export interface IExternalAccessClient {
|
|
3202
|
+
listUsers(companyId: string | null | undefined): Promise<CompanyUserDto[]>;
|
|
3203
|
+
createCompanyUser(request: CreateCompanyUser): Promise<CompanyUserDto>;
|
|
3204
|
+
updateCompanyUser(id: string, request: UpdateCompanyUserRequest): Promise<CompanyUserDto>;
|
|
3205
|
+
deleteCompanyUser(id: string, companyId: string | null | undefined): Promise<void>;
|
|
3206
|
+
listRoles(): Promise<ExternalRoleDto[]>;
|
|
3207
|
+
listCompanyCustomers(): Promise<CompanyCustomerDto[]>;
|
|
3208
|
+
deleteCompanyCustomer(tenantId: string): Promise<void>;
|
|
3209
|
+
}
|
|
3210
|
+
export declare class ExternalAccessClient extends AuthorizedApiBase implements IExternalAccessClient {
|
|
3211
|
+
private http;
|
|
3212
|
+
private baseUrl;
|
|
3213
|
+
constructor(configuration: IAccessTokenProvider, baseUrl?: string, http?: {
|
|
3214
|
+
fetch(url: RequestInfo, init?: RequestInit): Promise<Response>;
|
|
3215
|
+
});
|
|
3216
|
+
listUsers(companyId: string | null | undefined): Promise<CompanyUserDto[]>;
|
|
3217
|
+
protected processListUsers(response: Response): Promise<CompanyUserDto[]>;
|
|
3218
|
+
createCompanyUser(request: CreateCompanyUser): Promise<CompanyUserDto>;
|
|
3219
|
+
protected processCreateCompanyUser(response: Response): Promise<CompanyUserDto>;
|
|
3220
|
+
updateCompanyUser(id: string, request: UpdateCompanyUserRequest): Promise<CompanyUserDto>;
|
|
3221
|
+
protected processUpdateCompanyUser(response: Response): Promise<CompanyUserDto>;
|
|
3222
|
+
deleteCompanyUser(id: string, companyId: string | null | undefined): Promise<void>;
|
|
3223
|
+
protected processDeleteCompanyUser(response: Response): Promise<void>;
|
|
3224
|
+
listRoles(): Promise<ExternalRoleDto[]>;
|
|
3225
|
+
protected processListRoles(response: Response): Promise<ExternalRoleDto[]>;
|
|
3226
|
+
listCompanyCustomers(): Promise<CompanyCustomerDto[]>;
|
|
3227
|
+
protected processListCompanyCustomers(response: Response): Promise<CompanyCustomerDto[]>;
|
|
3228
|
+
deleteCompanyCustomer(tenantId: string): Promise<void>;
|
|
3229
|
+
protected processDeleteCompanyCustomer(response: Response): Promise<void>;
|
|
3230
|
+
}
|
|
3231
|
+
export interface IExternalClient {
|
|
3232
|
+
listCompanies(): Promise<CompanyDto[]>;
|
|
3233
|
+
getCompany(id: string): Promise<CompanyDto>;
|
|
3234
|
+
getCurrentSupplierInvite(): Promise<SupplierInviteDto>;
|
|
3235
|
+
acceptSupplierInvite(request: AcceptSupplierInvite): Promise<SupplierInviteDto>;
|
|
3236
|
+
}
|
|
3237
|
+
export declare class ExternalClient extends AuthorizedApiBase implements IExternalClient {
|
|
3238
|
+
private http;
|
|
3239
|
+
private baseUrl;
|
|
3240
|
+
constructor(configuration: IAccessTokenProvider, baseUrl?: string, http?: {
|
|
3241
|
+
fetch(url: RequestInfo, init?: RequestInit): Promise<Response>;
|
|
3242
|
+
});
|
|
3243
|
+
listCompanies(): Promise<CompanyDto[]>;
|
|
3244
|
+
protected processListCompanies(response: Response): Promise<CompanyDto[]>;
|
|
3245
|
+
getCompany(id: string): Promise<CompanyDto>;
|
|
3246
|
+
protected processGetCompany(response: Response): Promise<CompanyDto>;
|
|
3247
|
+
getCurrentSupplierInvite(): Promise<SupplierInviteDto>;
|
|
3248
|
+
protected processGetCurrentSupplierInvite(response: Response): Promise<SupplierInviteDto>;
|
|
3249
|
+
acceptSupplierInvite(request: AcceptSupplierInvite): Promise<SupplierInviteDto>;
|
|
3250
|
+
protected processAcceptSupplierInvite(response: Response): Promise<SupplierInviteDto>;
|
|
3251
|
+
}
|
|
3252
|
+
export interface ISuppliersClient {
|
|
3253
|
+
listSupplierInvites(): Promise<SupplierInviteDto[]>;
|
|
3254
|
+
createSupplierInvite(request: CreateSupplierInvite): Promise<SupplierInviteDto>;
|
|
3255
|
+
deleteSupplierInvite(id: string): Promise<void>;
|
|
3256
|
+
listSuppliers(): Promise<ExternalSupplierDto[]>;
|
|
3257
|
+
deleteSupplier(id: string): Promise<void>;
|
|
3258
|
+
/**
|
|
3259
|
+
* Creates a mapping between old supplier id and new supplier id.
|
|
3260
|
+
*/
|
|
3261
|
+
createSupplierMapping(request: CreateSupplierMapping): Promise<void>;
|
|
3262
|
+
/**
|
|
3263
|
+
* Delete all supplier mappings between old supplier ids and new supplier ids.
|
|
3264
|
+
*/
|
|
3265
|
+
deleteSupplierMappings(): Promise<void>;
|
|
3266
|
+
}
|
|
3267
|
+
export declare class SuppliersClient extends AuthorizedApiBase implements ISuppliersClient {
|
|
3268
|
+
private http;
|
|
3269
|
+
private baseUrl;
|
|
3270
|
+
constructor(configuration: IAccessTokenProvider, baseUrl?: string, http?: {
|
|
3271
|
+
fetch(url: RequestInfo, init?: RequestInit): Promise<Response>;
|
|
3272
|
+
});
|
|
3273
|
+
listSupplierInvites(): Promise<SupplierInviteDto[]>;
|
|
3274
|
+
protected processListSupplierInvites(response: Response): Promise<SupplierInviteDto[]>;
|
|
3275
|
+
createSupplierInvite(request: CreateSupplierInvite): Promise<SupplierInviteDto>;
|
|
3276
|
+
protected processCreateSupplierInvite(response: Response): Promise<SupplierInviteDto>;
|
|
3277
|
+
deleteSupplierInvite(id: string): Promise<void>;
|
|
3278
|
+
protected processDeleteSupplierInvite(response: Response): Promise<void>;
|
|
3279
|
+
listSuppliers(): Promise<ExternalSupplierDto[]>;
|
|
3280
|
+
protected processListSuppliers(response: Response): Promise<ExternalSupplierDto[]>;
|
|
3281
|
+
deleteSupplier(id: string): Promise<void>;
|
|
3282
|
+
protected processDeleteSupplier(response: Response): Promise<void>;
|
|
3283
|
+
/**
|
|
3284
|
+
* Creates a mapping between old supplier id and new supplier id.
|
|
3285
|
+
*/
|
|
3286
|
+
createSupplierMapping(request: CreateSupplierMapping): Promise<void>;
|
|
3287
|
+
protected processCreateSupplierMapping(response: Response): Promise<void>;
|
|
3288
|
+
/**
|
|
3289
|
+
* Delete all supplier mappings between old supplier ids and new supplier ids.
|
|
3290
|
+
*/
|
|
3291
|
+
deleteSupplierMappings(): Promise<void>;
|
|
3292
|
+
protected processDeleteSupplierMappings(response: Response): Promise<void>;
|
|
3293
|
+
}
|
|
3291
3294
|
export interface AzureRegionDto {
|
|
3292
3295
|
displayName: string;
|
|
3293
3296
|
name: string;
|
|
@@ -3521,6 +3524,8 @@ export interface UserDetailsDto {
|
|
|
3521
3524
|
isExternalUser?: boolean;
|
|
3522
3525
|
isBetaTester?: boolean | null;
|
|
3523
3526
|
hasAccessToIgnos?: boolean;
|
|
3527
|
+
isInvitedUser?: boolean;
|
|
3528
|
+
isSupplier?: boolean;
|
|
3524
3529
|
}
|
|
3525
3530
|
export interface UserDto {
|
|
3526
3531
|
id?: string | null;
|
|
@@ -5388,97 +5393,6 @@ export interface DocumentGeneratorTypeDto {
|
|
|
5388
5393
|
key: string;
|
|
5389
5394
|
description: string;
|
|
5390
5395
|
}
|
|
5391
|
-
export interface CompanyUserDto {
|
|
5392
|
-
companyId?: string | null;
|
|
5393
|
-
username?: string | null;
|
|
5394
|
-
name?: string | null;
|
|
5395
|
-
roles?: string[] | null;
|
|
5396
|
-
}
|
|
5397
|
-
export interface CreateCompanyUserRequest {
|
|
5398
|
-
username: string;
|
|
5399
|
-
name: string;
|
|
5400
|
-
roles: string[];
|
|
5401
|
-
companyId?: string | null;
|
|
5402
|
-
}
|
|
5403
|
-
export interface UpdateCompanyUserRequest {
|
|
5404
|
-
name: string;
|
|
5405
|
-
roles: string[];
|
|
5406
|
-
companyId?: string | null;
|
|
5407
|
-
}
|
|
5408
|
-
export interface ExternalRoleDto {
|
|
5409
|
-
id: string;
|
|
5410
|
-
name: string;
|
|
5411
|
-
}
|
|
5412
|
-
export interface CompanyCustomerDto {
|
|
5413
|
-
customerTenantId?: string | null;
|
|
5414
|
-
customerAzureAdTenantId?: string | null;
|
|
5415
|
-
customerName?: string | null;
|
|
5416
|
-
supplierId?: string | null;
|
|
5417
|
-
supplierName?: string | null;
|
|
5418
|
-
}
|
|
5419
|
-
export interface InviteDto {
|
|
5420
|
-
tenantId: string;
|
|
5421
|
-
companyName: string;
|
|
5422
|
-
id: string;
|
|
5423
|
-
supplierId: string;
|
|
5424
|
-
supplierName: string;
|
|
5425
|
-
username: string;
|
|
5426
|
-
deadline: Date;
|
|
5427
|
-
createdTime: Date;
|
|
5428
|
-
createdBy: string;
|
|
5429
|
-
}
|
|
5430
|
-
export interface CompanyDto {
|
|
5431
|
-
id?: string | null;
|
|
5432
|
-
name?: string | null;
|
|
5433
|
-
organizationNumber?: string | null;
|
|
5434
|
-
country?: string | null;
|
|
5435
|
-
tenantId?: string | null;
|
|
5436
|
-
}
|
|
5437
|
-
export interface AcceptSupplierInviteRequest {
|
|
5438
|
-
tenantId: string;
|
|
5439
|
-
existingCompanyId?: string | null;
|
|
5440
|
-
companyName?: string | null;
|
|
5441
|
-
organizationNumber?: string | null;
|
|
5442
|
-
threeLetterIsoCountry?: string | null;
|
|
5443
|
-
}
|
|
5444
|
-
export interface SupplierInviteDto {
|
|
5445
|
-
id: string;
|
|
5446
|
-
supplierId: string;
|
|
5447
|
-
name: string;
|
|
5448
|
-
username: string;
|
|
5449
|
-
deadline: Date;
|
|
5450
|
-
createdTime: Date;
|
|
5451
|
-
createdBy: string;
|
|
5452
|
-
}
|
|
5453
|
-
export interface CreateSupplierInvite {
|
|
5454
|
-
supplierId: string;
|
|
5455
|
-
name: string;
|
|
5456
|
-
username: string;
|
|
5457
|
-
deadline: Date;
|
|
5458
|
-
}
|
|
5459
|
-
export interface ExternalSupplierDto {
|
|
5460
|
-
id: string;
|
|
5461
|
-
name: string;
|
|
5462
|
-
companyId: string;
|
|
5463
|
-
active: boolean;
|
|
5464
|
-
}
|
|
5465
|
-
export interface ImportSupplier {
|
|
5466
|
-
supplierId: string;
|
|
5467
|
-
name: string;
|
|
5468
|
-
organizationNumber?: string | null;
|
|
5469
|
-
threeLetterIsoCountry: string;
|
|
5470
|
-
users: ImportSupplierUserDto[];
|
|
5471
|
-
}
|
|
5472
|
-
export interface ImportSupplierUserDto {
|
|
5473
|
-
username: string;
|
|
5474
|
-
name: string;
|
|
5475
|
-
roles: string[];
|
|
5476
|
-
}
|
|
5477
|
-
export interface CreateSupplierMapping {
|
|
5478
|
-
companyId: string;
|
|
5479
|
-
existingSupplierId: string;
|
|
5480
|
-
newSupplierId: string;
|
|
5481
|
-
}
|
|
5482
5396
|
export interface CncMachineTransferDto {
|
|
5483
5397
|
id: string;
|
|
5484
5398
|
cncMachineOperationId?: string | null;
|
|
@@ -8604,7 +8518,6 @@ export interface ListMeasurementFormsRequest {
|
|
|
8604
8518
|
pageSize?: number | null;
|
|
8605
8519
|
search?: string | null;
|
|
8606
8520
|
continuationToken?: string | null;
|
|
8607
|
-
tenantId?: string | null;
|
|
8608
8521
|
inactive?: boolean | null;
|
|
8609
8522
|
includeInactiveSupplierAccess?: boolean | null;
|
|
8610
8523
|
}
|
|
@@ -8800,7 +8713,6 @@ export interface UpsertSupplierToMeasurementFormInstanceRequest {
|
|
|
8800
8713
|
externalOrderNumber?: string | null;
|
|
8801
8714
|
}
|
|
8802
8715
|
export interface ExportDimensionReportV2Request {
|
|
8803
|
-
tenantId?: string | null;
|
|
8804
8716
|
type: DimensionReportType;
|
|
8805
8717
|
extras?: DimensionReportExtras | null;
|
|
8806
8718
|
specificSerialNumbers?: string[] | null;
|
|
@@ -9141,6 +9053,78 @@ export interface SetDiscussionLastReadRequest {
|
|
|
9141
9053
|
operationId?: string | null;
|
|
9142
9054
|
resourceId?: string | null;
|
|
9143
9055
|
}
|
|
9056
|
+
export interface CompanyUserDto {
|
|
9057
|
+
companyId: string;
|
|
9058
|
+
userObjectId: string;
|
|
9059
|
+
username?: string | null;
|
|
9060
|
+
name?: string | null;
|
|
9061
|
+
roles: string[];
|
|
9062
|
+
}
|
|
9063
|
+
export interface CreateCompanyUser {
|
|
9064
|
+
username: string;
|
|
9065
|
+
name: string;
|
|
9066
|
+
roles: string[];
|
|
9067
|
+
companyId?: string | null;
|
|
9068
|
+
}
|
|
9069
|
+
export interface UpdateCompanyUserRequest {
|
|
9070
|
+
roles: string[];
|
|
9071
|
+
companyId?: string | null;
|
|
9072
|
+
}
|
|
9073
|
+
export interface ExternalRoleDto {
|
|
9074
|
+
id: string;
|
|
9075
|
+
name: string;
|
|
9076
|
+
}
|
|
9077
|
+
export interface CompanyCustomerDto {
|
|
9078
|
+
customerTenantId?: string | null;
|
|
9079
|
+
customerAzureAdTenantId?: string | null;
|
|
9080
|
+
customerName?: string | null;
|
|
9081
|
+
supplierId?: string | null;
|
|
9082
|
+
supplierName?: string | null;
|
|
9083
|
+
}
|
|
9084
|
+
export interface CompanyDto {
|
|
9085
|
+
id?: string;
|
|
9086
|
+
name?: string;
|
|
9087
|
+
organizationNumber?: string | null;
|
|
9088
|
+
country?: string;
|
|
9089
|
+
tenantId?: string | null;
|
|
9090
|
+
}
|
|
9091
|
+
export interface SupplierInviteDto {
|
|
9092
|
+
id: string;
|
|
9093
|
+
supplierId: string;
|
|
9094
|
+
supplierName?: string | null;
|
|
9095
|
+
customerName?: string | null;
|
|
9096
|
+
userId: string;
|
|
9097
|
+
userName?: string | null;
|
|
9098
|
+
companyId?: string | null;
|
|
9099
|
+
deadline: Date;
|
|
9100
|
+
acceptedTimestamp?: Date | null;
|
|
9101
|
+
createdTime: Date;
|
|
9102
|
+
createdBy: string;
|
|
9103
|
+
}
|
|
9104
|
+
export interface AcceptSupplierInvite {
|
|
9105
|
+
companyName?: string;
|
|
9106
|
+
organizationNumber?: string;
|
|
9107
|
+
threeLetterIsoCountry?: string;
|
|
9108
|
+
}
|
|
9109
|
+
export interface CreateSupplierInvite {
|
|
9110
|
+
supplierId: string;
|
|
9111
|
+
supplierName?: string | null;
|
|
9112
|
+
username: string;
|
|
9113
|
+
invitedName: string;
|
|
9114
|
+
deadline: Date;
|
|
9115
|
+
existingCompanyId?: string | null;
|
|
9116
|
+
}
|
|
9117
|
+
export interface ExternalSupplierDto {
|
|
9118
|
+
id: string;
|
|
9119
|
+
name: string;
|
|
9120
|
+
companyId: string;
|
|
9121
|
+
active: boolean;
|
|
9122
|
+
}
|
|
9123
|
+
export interface CreateSupplierMapping {
|
|
9124
|
+
companyId: string;
|
|
9125
|
+
existingSupplierId: string;
|
|
9126
|
+
newSupplierId: string;
|
|
9127
|
+
}
|
|
9144
9128
|
export interface FileParameter {
|
|
9145
9129
|
data: any;
|
|
9146
9130
|
fileName: string;
|