@ignos/api-client 20260402.100.1-alpha → 20260407.101.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 +199 -214
- package/lib/ignosportal-api.js +4166 -4154
- package/package.json +1 -1
- package/src/ignosportal-api.ts +5949 -5958
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>;
|
|
@@ -1488,99 +1491,6 @@ export declare class DocumentTypesClient extends AuthorizedApiBase implements ID
|
|
|
1488
1491
|
listDocumentGenerators(): Promise<DocumentGeneratorTypeDto[]>;
|
|
1489
1492
|
protected processListDocumentGenerators(response: Response): Promise<DocumentGeneratorTypeDto[]>;
|
|
1490
1493
|
}
|
|
1491
|
-
export interface IExternalAccessClient {
|
|
1492
|
-
listUsers(companyId: string | null | undefined): Promise<CompanyUserDto[]>;
|
|
1493
|
-
createCompanyUser(request: CreateCompanyUserRequest): Promise<CompanyUserDto>;
|
|
1494
|
-
updateCompanyUser(id: string, request: UpdateCompanyUserRequest): Promise<CompanyUserDto>;
|
|
1495
|
-
deleteCompanyUser(id: string, companyId: string | null | undefined): Promise<void>;
|
|
1496
|
-
listRoles(): Promise<ExternalRoleDto[]>;
|
|
1497
|
-
listCompanyCustomers(): Promise<CompanyCustomerDto[]>;
|
|
1498
|
-
deleteCompanyCustomer(tenantId: string): Promise<void>;
|
|
1499
|
-
}
|
|
1500
|
-
export declare class ExternalAccessClient extends AuthorizedApiBase implements IExternalAccessClient {
|
|
1501
|
-
private http;
|
|
1502
|
-
private baseUrl;
|
|
1503
|
-
constructor(configuration: IAccessTokenProvider, baseUrl?: string, http?: {
|
|
1504
|
-
fetch(url: RequestInfo, init?: RequestInit): Promise<Response>;
|
|
1505
|
-
});
|
|
1506
|
-
listUsers(companyId: string | null | undefined): Promise<CompanyUserDto[]>;
|
|
1507
|
-
protected processListUsers(response: Response): Promise<CompanyUserDto[]>;
|
|
1508
|
-
createCompanyUser(request: CreateCompanyUserRequest): Promise<CompanyUserDto>;
|
|
1509
|
-
protected processCreateCompanyUser(response: Response): Promise<CompanyUserDto>;
|
|
1510
|
-
updateCompanyUser(id: string, request: UpdateCompanyUserRequest): Promise<CompanyUserDto>;
|
|
1511
|
-
protected processUpdateCompanyUser(response: Response): Promise<CompanyUserDto>;
|
|
1512
|
-
deleteCompanyUser(id: string, companyId: string | null | undefined): Promise<void>;
|
|
1513
|
-
protected processDeleteCompanyUser(response: Response): Promise<void>;
|
|
1514
|
-
listRoles(): Promise<ExternalRoleDto[]>;
|
|
1515
|
-
protected processListRoles(response: Response): Promise<ExternalRoleDto[]>;
|
|
1516
|
-
listCompanyCustomers(): Promise<CompanyCustomerDto[]>;
|
|
1517
|
-
protected processListCompanyCustomers(response: Response): Promise<CompanyCustomerDto[]>;
|
|
1518
|
-
deleteCompanyCustomer(tenantId: string): Promise<void>;
|
|
1519
|
-
protected processDeleteCompanyCustomer(response: Response): Promise<void>;
|
|
1520
|
-
}
|
|
1521
|
-
export interface IExternalClient {
|
|
1522
|
-
listInvites(): Promise<InviteDto[]>;
|
|
1523
|
-
acceptSupplierInvite(request: AcceptSupplierInviteRequest): Promise<CompanyDto>;
|
|
1524
|
-
listCompanies(): Promise<CompanyDto[]>;
|
|
1525
|
-
}
|
|
1526
|
-
export declare class ExternalClient extends AuthorizedApiBase implements IExternalClient {
|
|
1527
|
-
private http;
|
|
1528
|
-
private baseUrl;
|
|
1529
|
-
constructor(configuration: IAccessTokenProvider, baseUrl?: string, http?: {
|
|
1530
|
-
fetch(url: RequestInfo, init?: RequestInit): Promise<Response>;
|
|
1531
|
-
});
|
|
1532
|
-
listInvites(): Promise<InviteDto[]>;
|
|
1533
|
-
protected processListInvites(response: Response): Promise<InviteDto[]>;
|
|
1534
|
-
acceptSupplierInvite(request: AcceptSupplierInviteRequest): Promise<CompanyDto>;
|
|
1535
|
-
protected processAcceptSupplierInvite(response: Response): Promise<CompanyDto>;
|
|
1536
|
-
listCompanies(): Promise<CompanyDto[]>;
|
|
1537
|
-
protected processListCompanies(response: Response): Promise<CompanyDto[]>;
|
|
1538
|
-
}
|
|
1539
|
-
export interface ISuppliersClient {
|
|
1540
|
-
listSupplierInvites(): Promise<SupplierInviteDto[]>;
|
|
1541
|
-
createSupplierInvite(request: CreateSupplierInvite): Promise<SupplierInviteDto>;
|
|
1542
|
-
deleteSupplierInvite(id: string): Promise<void>;
|
|
1543
|
-
listSuppliers(): Promise<ExternalSupplierDto[]>;
|
|
1544
|
-
deleteSupplier(id: string): Promise<void>;
|
|
1545
|
-
importSupplier(importSupplier: ImportSupplier): Promise<ExternalSupplierDto>;
|
|
1546
|
-
/**
|
|
1547
|
-
* Creates a mapping between old supplier id and new supplier id.
|
|
1548
|
-
*/
|
|
1549
|
-
createSupplierMapping(request: CreateSupplierMapping): Promise<void>;
|
|
1550
|
-
/**
|
|
1551
|
-
* Delete all supplier mappings between old supplier ids and new supplier ids.
|
|
1552
|
-
*/
|
|
1553
|
-
deleteSupplierMappings(): Promise<void>;
|
|
1554
|
-
}
|
|
1555
|
-
export declare class SuppliersClient extends AuthorizedApiBase implements ISuppliersClient {
|
|
1556
|
-
private http;
|
|
1557
|
-
private baseUrl;
|
|
1558
|
-
constructor(configuration: IAccessTokenProvider, baseUrl?: string, http?: {
|
|
1559
|
-
fetch(url: RequestInfo, init?: RequestInit): Promise<Response>;
|
|
1560
|
-
});
|
|
1561
|
-
listSupplierInvites(): Promise<SupplierInviteDto[]>;
|
|
1562
|
-
protected processListSupplierInvites(response: Response): Promise<SupplierInviteDto[]>;
|
|
1563
|
-
createSupplierInvite(request: CreateSupplierInvite): Promise<SupplierInviteDto>;
|
|
1564
|
-
protected processCreateSupplierInvite(response: Response): Promise<SupplierInviteDto>;
|
|
1565
|
-
deleteSupplierInvite(id: string): Promise<void>;
|
|
1566
|
-
protected processDeleteSupplierInvite(response: Response): Promise<void>;
|
|
1567
|
-
listSuppliers(): Promise<ExternalSupplierDto[]>;
|
|
1568
|
-
protected processListSuppliers(response: Response): Promise<ExternalSupplierDto[]>;
|
|
1569
|
-
deleteSupplier(id: string): Promise<void>;
|
|
1570
|
-
protected processDeleteSupplier(response: Response): Promise<void>;
|
|
1571
|
-
importSupplier(importSupplier: ImportSupplier): Promise<ExternalSupplierDto>;
|
|
1572
|
-
protected processImportSupplier(response: Response): Promise<ExternalSupplierDto>;
|
|
1573
|
-
/**
|
|
1574
|
-
* Creates a mapping between old supplier id and new supplier id.
|
|
1575
|
-
*/
|
|
1576
|
-
createSupplierMapping(request: CreateSupplierMapping): Promise<void>;
|
|
1577
|
-
protected processCreateSupplierMapping(response: Response): Promise<void>;
|
|
1578
|
-
/**
|
|
1579
|
-
* Delete all supplier mappings between old supplier ids and new supplier ids.
|
|
1580
|
-
*/
|
|
1581
|
-
deleteSupplierMappings(): Promise<void>;
|
|
1582
|
-
protected processDeleteSupplierMappings(response: Response): Promise<void>;
|
|
1583
|
-
}
|
|
1584
1494
|
export interface ICncFileTransferClient {
|
|
1585
1495
|
startCncMachineOperationTransferToCloud(id: string): Promise<CncMachineTransferDto>;
|
|
1586
1496
|
startCncMachineOperationTransferToMachine(id: string, request: TransferToMachineRequest | undefined): Promise<CncMachineTransferDto>;
|
|
@@ -2934,22 +2844,22 @@ export declare class MeasurementFormsInstancesAdminClient extends AuthorizedApiB
|
|
|
2934
2844
|
protected processExportDimensionReportValues(response: Response): Promise<DownloadDto>;
|
|
2935
2845
|
}
|
|
2936
2846
|
export interface IMeasurementFormsInstancesClient {
|
|
2937
|
-
listMeasurementForms(pageSize: number | undefined, search: string | null | undefined, continuationToken: string | null | undefined,
|
|
2847
|
+
listMeasurementForms(pageSize: number | undefined, search: string | null | undefined, continuationToken: string | null | undefined, inactive: boolean | null | undefined, includeInactiveSupplierAccess: boolean | null | undefined): Promise<PagedResultOfMeasurementFormInstanceOverviewDto>;
|
|
2938
2848
|
postListMeasurementForms(request: ListMeasurementFormsRequest | undefined): Promise<PagedResultOfMeasurementFormInstanceOverviewDto>;
|
|
2939
|
-
getMeasurementFormInstance(id: string
|
|
2849
|
+
getMeasurementFormInstance(id: string): Promise<MeasurementFormInstanceDto>;
|
|
2940
2850
|
listMeasurementFormInstanceFeedback(id: string): Promise<MeasurementFormInstanceFeedbackDto[]>;
|
|
2941
|
-
completeMeasurementFormInstance(id: string
|
|
2942
|
-
completeMeasurementFormInstanceV2(id: string
|
|
2943
|
-
getMeasurementFormInstanceSchema(id: string, schemaId: string, serialNumber: string | null | undefined
|
|
2944
|
-
getWorkorderMeasurementFormProgress(id: string
|
|
2945
|
-
getAuditLog(id: string,
|
|
2851
|
+
completeMeasurementFormInstance(id: string): Promise<MeasurementFormInstanceDto>;
|
|
2852
|
+
completeMeasurementFormInstanceV2(id: string): Promise<CompleteMeasurementFormInstanceResult>;
|
|
2853
|
+
getMeasurementFormInstanceSchema(id: string, schemaId: string, serialNumber: string | null | undefined): Promise<MeasurementFormInstanceSchemaDto>;
|
|
2854
|
+
getWorkorderMeasurementFormProgress(id: string): Promise<MeasurementFormInstanceProgressDto>;
|
|
2855
|
+
getAuditLog(id: string, schemaId: string | null | undefined, serialNumber: string | null | undefined, elementId: string | null | undefined): Promise<MeasurementFormElementValueAuditDto[]>;
|
|
2946
2856
|
getValidationRules(): Promise<ValidationRuleDto[]>;
|
|
2947
|
-
saveValue(id: string,
|
|
2948
|
-
saveTool(id: string,
|
|
2949
|
-
saveComment(id: string,
|
|
2950
|
-
batchInsertValues(id: string,
|
|
2951
|
-
saveMeasurementFormInstanceSchemaComment(id: string, schemaId: string,
|
|
2952
|
-
createMeasurementFormInstanceSchemaFeedback(id: string, schemaId: string,
|
|
2857
|
+
saveValue(id: string, request: SaveValueRequest): Promise<SaveValueResponseDto>;
|
|
2858
|
+
saveTool(id: string, request: SaveToolRequest): Promise<SaveValueResponseDto>;
|
|
2859
|
+
saveComment(id: string, request: SaveCommentRequest): Promise<void>;
|
|
2860
|
+
batchInsertValues(id: string, request: BatchInsertValueRequest): Promise<BatchInsertValuesResponseDto>;
|
|
2861
|
+
saveMeasurementFormInstanceSchemaComment(id: string, schemaId: string, request: SaveMeasurementFormInstanceSchemaCommentRequest): Promise<void>;
|
|
2862
|
+
createMeasurementFormInstanceSchemaFeedback(id: string, schemaId: string, request: CreateMeasurementFormSchemaFeedbackRequest): Promise<SchemaFeedbackCreatedDto>;
|
|
2953
2863
|
listSupplierMeasurementFormInstances(supplierId: string): Promise<MeasurementFormSupplierAccessInstanceDto[]>;
|
|
2954
2864
|
upsertSupplierToMeasurmentFormInstance(id: string, supplierId: string, request: UpsertSupplierToMeasurementFormInstanceRequest): Promise<void>;
|
|
2955
2865
|
removeSupplierFromMeasurmentFormInstance(id: string, supplierId: string): Promise<void>;
|
|
@@ -2965,37 +2875,37 @@ export declare class MeasurementFormsInstancesClient extends AuthorizedApiBase i
|
|
|
2965
2875
|
constructor(configuration: IAccessTokenProvider, baseUrl?: string, http?: {
|
|
2966
2876
|
fetch(url: RequestInfo, init?: RequestInit): Promise<Response>;
|
|
2967
2877
|
});
|
|
2968
|
-
listMeasurementForms(pageSize: number | undefined, search: string | null | undefined, continuationToken: string | null | undefined,
|
|
2878
|
+
listMeasurementForms(pageSize: number | undefined, search: string | null | undefined, continuationToken: string | null | undefined, inactive: boolean | null | undefined, includeInactiveSupplierAccess: boolean | null | undefined): Promise<PagedResultOfMeasurementFormInstanceOverviewDto>;
|
|
2969
2879
|
protected processListMeasurementForms(response: Response): Promise<PagedResultOfMeasurementFormInstanceOverviewDto>;
|
|
2970
2880
|
postListMeasurementForms(request: ListMeasurementFormsRequest | undefined): Promise<PagedResultOfMeasurementFormInstanceOverviewDto>;
|
|
2971
2881
|
protected processPostListMeasurementForms(response: Response): Promise<PagedResultOfMeasurementFormInstanceOverviewDto>;
|
|
2972
|
-
getMeasurementFormInstance(id: string
|
|
2882
|
+
getMeasurementFormInstance(id: string): Promise<MeasurementFormInstanceDto>;
|
|
2973
2883
|
protected processGetMeasurementFormInstance(response: Response): Promise<MeasurementFormInstanceDto>;
|
|
2974
2884
|
listMeasurementFormInstanceFeedback(id: string): Promise<MeasurementFormInstanceFeedbackDto[]>;
|
|
2975
2885
|
protected processListMeasurementFormInstanceFeedback(response: Response): Promise<MeasurementFormInstanceFeedbackDto[]>;
|
|
2976
|
-
completeMeasurementFormInstance(id: string
|
|
2886
|
+
completeMeasurementFormInstance(id: string): Promise<MeasurementFormInstanceDto>;
|
|
2977
2887
|
protected processCompleteMeasurementFormInstance(response: Response): Promise<MeasurementFormInstanceDto>;
|
|
2978
|
-
completeMeasurementFormInstanceV2(id: string
|
|
2888
|
+
completeMeasurementFormInstanceV2(id: string): Promise<CompleteMeasurementFormInstanceResult>;
|
|
2979
2889
|
protected processCompleteMeasurementFormInstanceV2(response: Response): Promise<CompleteMeasurementFormInstanceResult>;
|
|
2980
|
-
getMeasurementFormInstanceSchema(id: string, schemaId: string, serialNumber: string | null | undefined
|
|
2890
|
+
getMeasurementFormInstanceSchema(id: string, schemaId: string, serialNumber: string | null | undefined): Promise<MeasurementFormInstanceSchemaDto>;
|
|
2981
2891
|
protected processGetMeasurementFormInstanceSchema(response: Response): Promise<MeasurementFormInstanceSchemaDto>;
|
|
2982
|
-
getWorkorderMeasurementFormProgress(id: string
|
|
2892
|
+
getWorkorderMeasurementFormProgress(id: string): Promise<MeasurementFormInstanceProgressDto>;
|
|
2983
2893
|
protected processGetWorkorderMeasurementFormProgress(response: Response): Promise<MeasurementFormInstanceProgressDto>;
|
|
2984
|
-
getAuditLog(id: string,
|
|
2894
|
+
getAuditLog(id: string, schemaId: string | null | undefined, serialNumber: string | null | undefined, elementId: string | null | undefined): Promise<MeasurementFormElementValueAuditDto[]>;
|
|
2985
2895
|
protected processGetAuditLog(response: Response): Promise<MeasurementFormElementValueAuditDto[]>;
|
|
2986
2896
|
getValidationRules(): Promise<ValidationRuleDto[]>;
|
|
2987
2897
|
protected processGetValidationRules(response: Response): Promise<ValidationRuleDto[]>;
|
|
2988
|
-
saveValue(id: string,
|
|
2898
|
+
saveValue(id: string, request: SaveValueRequest): Promise<SaveValueResponseDto>;
|
|
2989
2899
|
protected processSaveValue(response: Response): Promise<SaveValueResponseDto>;
|
|
2990
|
-
saveTool(id: string,
|
|
2900
|
+
saveTool(id: string, request: SaveToolRequest): Promise<SaveValueResponseDto>;
|
|
2991
2901
|
protected processSaveTool(response: Response): Promise<SaveValueResponseDto>;
|
|
2992
|
-
saveComment(id: string,
|
|
2902
|
+
saveComment(id: string, request: SaveCommentRequest): Promise<void>;
|
|
2993
2903
|
protected processSaveComment(response: Response): Promise<void>;
|
|
2994
|
-
batchInsertValues(id: string,
|
|
2904
|
+
batchInsertValues(id: string, request: BatchInsertValueRequest): Promise<BatchInsertValuesResponseDto>;
|
|
2995
2905
|
protected processBatchInsertValues(response: Response): Promise<BatchInsertValuesResponseDto>;
|
|
2996
|
-
saveMeasurementFormInstanceSchemaComment(id: string, schemaId: string,
|
|
2906
|
+
saveMeasurementFormInstanceSchemaComment(id: string, schemaId: string, request: SaveMeasurementFormInstanceSchemaCommentRequest): Promise<void>;
|
|
2997
2907
|
protected processSaveMeasurementFormInstanceSchemaComment(response: Response): Promise<void>;
|
|
2998
|
-
createMeasurementFormInstanceSchemaFeedback(id: string, schemaId: string,
|
|
2908
|
+
createMeasurementFormInstanceSchemaFeedback(id: string, schemaId: string, request: CreateMeasurementFormSchemaFeedbackRequest): Promise<SchemaFeedbackCreatedDto>;
|
|
2999
2909
|
protected processCreateMeasurementFormInstanceSchemaFeedback(response: Response): Promise<SchemaFeedbackCreatedDto>;
|
|
3000
2910
|
listSupplierMeasurementFormInstances(supplierId: string): Promise<MeasurementFormSupplierAccessInstanceDto[]>;
|
|
3001
2911
|
protected processListSupplierMeasurementFormInstances(response: Response): Promise<MeasurementFormSupplierAccessInstanceDto[]>;
|
|
@@ -3020,7 +2930,7 @@ export interface IMeasurementFormsInstancesInstanceAdminClient {
|
|
|
3020
2930
|
createMeasurementFormInstance2(id: string, request: CreateMeasurementFormInstanceRequest): Promise<MeasurementFormInstanceDto>;
|
|
3021
2931
|
reactivateMeasurementFormInstance(id: string): Promise<MeasurementFormInstanceDto>;
|
|
3022
2932
|
cancelMeasurementFormInstance(id: string): Promise<MeasurementFormInstanceDto>;
|
|
3023
|
-
toggleSchemaInstanceElementDocumentedExternallyOverride(id: string, schemaId: string, elementId: string
|
|
2933
|
+
toggleSchemaInstanceElementDocumentedExternallyOverride(id: string, schemaId: string, elementId: string): Promise<void>;
|
|
3024
2934
|
}
|
|
3025
2935
|
export declare class MeasurementFormsInstancesInstanceAdminClient extends AuthorizedApiBase implements IMeasurementFormsInstancesInstanceAdminClient {
|
|
3026
2936
|
private http;
|
|
@@ -3044,7 +2954,7 @@ export declare class MeasurementFormsInstancesInstanceAdminClient extends Author
|
|
|
3044
2954
|
protected processReactivateMeasurementFormInstance(response: Response): Promise<MeasurementFormInstanceDto>;
|
|
3045
2955
|
cancelMeasurementFormInstance(id: string): Promise<MeasurementFormInstanceDto>;
|
|
3046
2956
|
protected processCancelMeasurementFormInstance(response: Response): Promise<MeasurementFormInstanceDto>;
|
|
3047
|
-
toggleSchemaInstanceElementDocumentedExternallyOverride(id: string, schemaId: string, elementId: string
|
|
2957
|
+
toggleSchemaInstanceElementDocumentedExternallyOverride(id: string, schemaId: string, elementId: string): Promise<void>;
|
|
3048
2958
|
protected processToggleSchemaInstanceElementDocumentedExternallyOverride(response: Response): Promise<void>;
|
|
3049
2959
|
}
|
|
3050
2960
|
export interface ICompaniesClient {
|
|
@@ -3384,6 +3294,99 @@ export declare class WorkordersClient extends AuthorizedApiBase implements IWork
|
|
|
3384
3294
|
generateContentPartsForDiscussions(): Promise<WorkorderDiscussionMessageDto[]>;
|
|
3385
3295
|
protected processGenerateContentPartsForDiscussions(response: Response): Promise<WorkorderDiscussionMessageDto[]>;
|
|
3386
3296
|
}
|
|
3297
|
+
export interface IExternalAccessClient {
|
|
3298
|
+
listUsers(companyId: string | null | undefined): Promise<CompanyUserDto[]>;
|
|
3299
|
+
createCompanyUser(request: CreateCompanyUser): Promise<CompanyUserDto>;
|
|
3300
|
+
updateCompanyUser(id: string, request: UpdateCompanyUserRequest): Promise<CompanyUserDto>;
|
|
3301
|
+
deleteCompanyUser(id: string, companyId: string | null | undefined): Promise<void>;
|
|
3302
|
+
listRoles(): Promise<ExternalRoleDto[]>;
|
|
3303
|
+
listCompanyCustomers(): Promise<CompanyCustomerDto[]>;
|
|
3304
|
+
deleteCompanyCustomer(tenantId: string): Promise<void>;
|
|
3305
|
+
}
|
|
3306
|
+
export declare class ExternalAccessClient extends AuthorizedApiBase implements IExternalAccessClient {
|
|
3307
|
+
private http;
|
|
3308
|
+
private baseUrl;
|
|
3309
|
+
constructor(configuration: IAccessTokenProvider, baseUrl?: string, http?: {
|
|
3310
|
+
fetch(url: RequestInfo, init?: RequestInit): Promise<Response>;
|
|
3311
|
+
});
|
|
3312
|
+
listUsers(companyId: string | null | undefined): Promise<CompanyUserDto[]>;
|
|
3313
|
+
protected processListUsers(response: Response): Promise<CompanyUserDto[]>;
|
|
3314
|
+
createCompanyUser(request: CreateCompanyUser): Promise<CompanyUserDto>;
|
|
3315
|
+
protected processCreateCompanyUser(response: Response): Promise<CompanyUserDto>;
|
|
3316
|
+
updateCompanyUser(id: string, request: UpdateCompanyUserRequest): Promise<CompanyUserDto>;
|
|
3317
|
+
protected processUpdateCompanyUser(response: Response): Promise<CompanyUserDto>;
|
|
3318
|
+
deleteCompanyUser(id: string, companyId: string | null | undefined): Promise<void>;
|
|
3319
|
+
protected processDeleteCompanyUser(response: Response): Promise<void>;
|
|
3320
|
+
listRoles(): Promise<ExternalRoleDto[]>;
|
|
3321
|
+
protected processListRoles(response: Response): Promise<ExternalRoleDto[]>;
|
|
3322
|
+
listCompanyCustomers(): Promise<CompanyCustomerDto[]>;
|
|
3323
|
+
protected processListCompanyCustomers(response: Response): Promise<CompanyCustomerDto[]>;
|
|
3324
|
+
deleteCompanyCustomer(tenantId: string): Promise<void>;
|
|
3325
|
+
protected processDeleteCompanyCustomer(response: Response): Promise<void>;
|
|
3326
|
+
}
|
|
3327
|
+
export interface IExternalClient {
|
|
3328
|
+
listCompanies(): Promise<CompanyDto[]>;
|
|
3329
|
+
getCompany(id: string): Promise<CompanyDto>;
|
|
3330
|
+
getCurrentSupplierInvite(): Promise<SupplierInviteDto>;
|
|
3331
|
+
acceptSupplierInvite(request: AcceptSupplierInvite): Promise<SupplierInviteDto>;
|
|
3332
|
+
}
|
|
3333
|
+
export declare class ExternalClient extends AuthorizedApiBase implements IExternalClient {
|
|
3334
|
+
private http;
|
|
3335
|
+
private baseUrl;
|
|
3336
|
+
constructor(configuration: IAccessTokenProvider, baseUrl?: string, http?: {
|
|
3337
|
+
fetch(url: RequestInfo, init?: RequestInit): Promise<Response>;
|
|
3338
|
+
});
|
|
3339
|
+
listCompanies(): Promise<CompanyDto[]>;
|
|
3340
|
+
protected processListCompanies(response: Response): Promise<CompanyDto[]>;
|
|
3341
|
+
getCompany(id: string): Promise<CompanyDto>;
|
|
3342
|
+
protected processGetCompany(response: Response): Promise<CompanyDto>;
|
|
3343
|
+
getCurrentSupplierInvite(): Promise<SupplierInviteDto>;
|
|
3344
|
+
protected processGetCurrentSupplierInvite(response: Response): Promise<SupplierInviteDto>;
|
|
3345
|
+
acceptSupplierInvite(request: AcceptSupplierInvite): Promise<SupplierInviteDto>;
|
|
3346
|
+
protected processAcceptSupplierInvite(response: Response): Promise<SupplierInviteDto>;
|
|
3347
|
+
}
|
|
3348
|
+
export interface ISuppliersClient {
|
|
3349
|
+
listSupplierInvites(): Promise<SupplierInviteDto[]>;
|
|
3350
|
+
createSupplierInvite(request: CreateSupplierInvite): Promise<SupplierInviteDto>;
|
|
3351
|
+
deleteSupplierInvite(id: string): Promise<void>;
|
|
3352
|
+
listSuppliers(): Promise<ExternalSupplierDto[]>;
|
|
3353
|
+
deleteSupplier(id: string): Promise<void>;
|
|
3354
|
+
/**
|
|
3355
|
+
* Creates a mapping between old supplier id and new supplier id.
|
|
3356
|
+
*/
|
|
3357
|
+
createSupplierMapping(request: CreateSupplierMapping): Promise<void>;
|
|
3358
|
+
/**
|
|
3359
|
+
* Delete all supplier mappings between old supplier ids and new supplier ids.
|
|
3360
|
+
*/
|
|
3361
|
+
deleteSupplierMappings(): Promise<void>;
|
|
3362
|
+
}
|
|
3363
|
+
export declare class SuppliersClient extends AuthorizedApiBase implements ISuppliersClient {
|
|
3364
|
+
private http;
|
|
3365
|
+
private baseUrl;
|
|
3366
|
+
constructor(configuration: IAccessTokenProvider, baseUrl?: string, http?: {
|
|
3367
|
+
fetch(url: RequestInfo, init?: RequestInit): Promise<Response>;
|
|
3368
|
+
});
|
|
3369
|
+
listSupplierInvites(): Promise<SupplierInviteDto[]>;
|
|
3370
|
+
protected processListSupplierInvites(response: Response): Promise<SupplierInviteDto[]>;
|
|
3371
|
+
createSupplierInvite(request: CreateSupplierInvite): Promise<SupplierInviteDto>;
|
|
3372
|
+
protected processCreateSupplierInvite(response: Response): Promise<SupplierInviteDto>;
|
|
3373
|
+
deleteSupplierInvite(id: string): Promise<void>;
|
|
3374
|
+
protected processDeleteSupplierInvite(response: Response): Promise<void>;
|
|
3375
|
+
listSuppliers(): Promise<ExternalSupplierDto[]>;
|
|
3376
|
+
protected processListSuppliers(response: Response): Promise<ExternalSupplierDto[]>;
|
|
3377
|
+
deleteSupplier(id: string): Promise<void>;
|
|
3378
|
+
protected processDeleteSupplier(response: Response): Promise<void>;
|
|
3379
|
+
/**
|
|
3380
|
+
* Creates a mapping between old supplier id and new supplier id.
|
|
3381
|
+
*/
|
|
3382
|
+
createSupplierMapping(request: CreateSupplierMapping): Promise<void>;
|
|
3383
|
+
protected processCreateSupplierMapping(response: Response): Promise<void>;
|
|
3384
|
+
/**
|
|
3385
|
+
* Delete all supplier mappings between old supplier ids and new supplier ids.
|
|
3386
|
+
*/
|
|
3387
|
+
deleteSupplierMappings(): Promise<void>;
|
|
3388
|
+
protected processDeleteSupplierMappings(response: Response): Promise<void>;
|
|
3389
|
+
}
|
|
3387
3390
|
export interface AzureRegionDto {
|
|
3388
3391
|
displayName: string;
|
|
3389
3392
|
name: string;
|
|
@@ -3687,6 +3690,8 @@ export interface UserDetailsDto {
|
|
|
3687
3690
|
isExternalUser?: boolean;
|
|
3688
3691
|
isBetaTester?: boolean | null;
|
|
3689
3692
|
hasAccessToIgnos?: boolean;
|
|
3693
|
+
isInvitedUser?: boolean;
|
|
3694
|
+
isSupplier?: boolean;
|
|
3690
3695
|
}
|
|
3691
3696
|
export interface UserDto {
|
|
3692
3697
|
id?: string | null;
|
|
@@ -5554,97 +5559,6 @@ export interface DocumentGeneratorTypeDto {
|
|
|
5554
5559
|
key: string;
|
|
5555
5560
|
description: string;
|
|
5556
5561
|
}
|
|
5557
|
-
export interface CompanyUserDto {
|
|
5558
|
-
companyId?: string | null;
|
|
5559
|
-
username?: string | null;
|
|
5560
|
-
name?: string | null;
|
|
5561
|
-
roles?: string[] | null;
|
|
5562
|
-
}
|
|
5563
|
-
export interface CreateCompanyUserRequest {
|
|
5564
|
-
username: string;
|
|
5565
|
-
name: string;
|
|
5566
|
-
roles: string[];
|
|
5567
|
-
companyId?: string | null;
|
|
5568
|
-
}
|
|
5569
|
-
export interface UpdateCompanyUserRequest {
|
|
5570
|
-
name: string;
|
|
5571
|
-
roles: string[];
|
|
5572
|
-
companyId?: string | null;
|
|
5573
|
-
}
|
|
5574
|
-
export interface ExternalRoleDto {
|
|
5575
|
-
id: string;
|
|
5576
|
-
name: string;
|
|
5577
|
-
}
|
|
5578
|
-
export interface CompanyCustomerDto {
|
|
5579
|
-
customerTenantId?: string | null;
|
|
5580
|
-
customerAzureAdTenantId?: string | null;
|
|
5581
|
-
customerName?: string | null;
|
|
5582
|
-
supplierId?: string | null;
|
|
5583
|
-
supplierName?: string | null;
|
|
5584
|
-
}
|
|
5585
|
-
export interface InviteDto {
|
|
5586
|
-
tenantId: string;
|
|
5587
|
-
companyName: string;
|
|
5588
|
-
id: string;
|
|
5589
|
-
supplierId: string;
|
|
5590
|
-
supplierName: string;
|
|
5591
|
-
username: string;
|
|
5592
|
-
deadline: Date;
|
|
5593
|
-
createdTime: Date;
|
|
5594
|
-
createdBy: string;
|
|
5595
|
-
}
|
|
5596
|
-
export interface CompanyDto {
|
|
5597
|
-
id?: string | null;
|
|
5598
|
-
name?: string | null;
|
|
5599
|
-
organizationNumber?: string | null;
|
|
5600
|
-
country?: string | null;
|
|
5601
|
-
tenantId?: string | null;
|
|
5602
|
-
}
|
|
5603
|
-
export interface AcceptSupplierInviteRequest {
|
|
5604
|
-
tenantId: string;
|
|
5605
|
-
existingCompanyId?: string | null;
|
|
5606
|
-
companyName?: string | null;
|
|
5607
|
-
organizationNumber?: string | null;
|
|
5608
|
-
threeLetterIsoCountry?: string | null;
|
|
5609
|
-
}
|
|
5610
|
-
export interface SupplierInviteDto {
|
|
5611
|
-
id: string;
|
|
5612
|
-
supplierId: string;
|
|
5613
|
-
name: string;
|
|
5614
|
-
username: string;
|
|
5615
|
-
deadline: Date;
|
|
5616
|
-
createdTime: Date;
|
|
5617
|
-
createdBy: string;
|
|
5618
|
-
}
|
|
5619
|
-
export interface CreateSupplierInvite {
|
|
5620
|
-
supplierId: string;
|
|
5621
|
-
name: string;
|
|
5622
|
-
username: string;
|
|
5623
|
-
deadline: Date;
|
|
5624
|
-
}
|
|
5625
|
-
export interface ExternalSupplierDto {
|
|
5626
|
-
id: string;
|
|
5627
|
-
name: string;
|
|
5628
|
-
companyId: string;
|
|
5629
|
-
active: boolean;
|
|
5630
|
-
}
|
|
5631
|
-
export interface ImportSupplier {
|
|
5632
|
-
supplierId: string;
|
|
5633
|
-
name: string;
|
|
5634
|
-
organizationNumber?: string | null;
|
|
5635
|
-
threeLetterIsoCountry: string;
|
|
5636
|
-
users: ImportSupplierUserDto[];
|
|
5637
|
-
}
|
|
5638
|
-
export interface ImportSupplierUserDto {
|
|
5639
|
-
username: string;
|
|
5640
|
-
name: string;
|
|
5641
|
-
roles: string[];
|
|
5642
|
-
}
|
|
5643
|
-
export interface CreateSupplierMapping {
|
|
5644
|
-
companyId: string;
|
|
5645
|
-
existingSupplierId: string;
|
|
5646
|
-
newSupplierId: string;
|
|
5647
|
-
}
|
|
5648
5562
|
export interface CncMachineTransferDto {
|
|
5649
5563
|
id: string;
|
|
5650
5564
|
cncMachineOperationId?: string | null;
|
|
@@ -8851,7 +8765,6 @@ export interface ListMeasurementFormsRequest {
|
|
|
8851
8765
|
pageSize?: number | null;
|
|
8852
8766
|
search?: string | null;
|
|
8853
8767
|
continuationToken?: string | null;
|
|
8854
|
-
tenantId?: string | null;
|
|
8855
8768
|
inactive?: boolean | null;
|
|
8856
8769
|
includeInactiveSupplierAccess?: boolean | null;
|
|
8857
8770
|
}
|
|
@@ -9047,7 +8960,6 @@ export interface UpsertSupplierToMeasurementFormInstanceRequest {
|
|
|
9047
8960
|
externalOrderNumber?: string | null;
|
|
9048
8961
|
}
|
|
9049
8962
|
export interface ExportDimensionReportV2Request {
|
|
9050
|
-
tenantId?: string | null;
|
|
9051
8963
|
type: DimensionReportType;
|
|
9052
8964
|
extras?: DimensionReportExtras | null;
|
|
9053
8965
|
specificSerialNumbers?: string[] | null;
|
|
@@ -9388,6 +9300,79 @@ export interface SetDiscussionLastReadRequest {
|
|
|
9388
9300
|
operationId?: string | null;
|
|
9389
9301
|
resourceId?: string | null;
|
|
9390
9302
|
}
|
|
9303
|
+
export interface CompanyUserDto {
|
|
9304
|
+
companyId: string;
|
|
9305
|
+
userObjectId: string;
|
|
9306
|
+
username?: string | null;
|
|
9307
|
+
name?: string | null;
|
|
9308
|
+
roles: string[];
|
|
9309
|
+
}
|
|
9310
|
+
export interface CreateCompanyUser {
|
|
9311
|
+
username: string;
|
|
9312
|
+
name: string;
|
|
9313
|
+
roles: string[];
|
|
9314
|
+
companyId?: string | null;
|
|
9315
|
+
}
|
|
9316
|
+
export interface UpdateCompanyUserRequest {
|
|
9317
|
+
roles: string[];
|
|
9318
|
+
companyId?: string | null;
|
|
9319
|
+
}
|
|
9320
|
+
export interface ExternalRoleDto {
|
|
9321
|
+
id: string;
|
|
9322
|
+
name: string;
|
|
9323
|
+
}
|
|
9324
|
+
export interface CompanyCustomerDto {
|
|
9325
|
+
customerTenantId?: string | null;
|
|
9326
|
+
customerAzureAdTenantId?: string | null;
|
|
9327
|
+
customerName?: string | null;
|
|
9328
|
+
supplierId?: string | null;
|
|
9329
|
+
supplierName?: string | null;
|
|
9330
|
+
customerIgnosPortalPrefix?: string | null;
|
|
9331
|
+
}
|
|
9332
|
+
export interface CompanyDto {
|
|
9333
|
+
id?: string;
|
|
9334
|
+
name?: string;
|
|
9335
|
+
organizationNumber?: string | null;
|
|
9336
|
+
country?: string;
|
|
9337
|
+
tenantId?: string | null;
|
|
9338
|
+
}
|
|
9339
|
+
export interface SupplierInviteDto {
|
|
9340
|
+
id: string;
|
|
9341
|
+
supplierId: string;
|
|
9342
|
+
supplierName?: string | null;
|
|
9343
|
+
customerName?: string | null;
|
|
9344
|
+
userId: string;
|
|
9345
|
+
userName?: string | null;
|
|
9346
|
+
companyId?: string | null;
|
|
9347
|
+
deadline: Date;
|
|
9348
|
+
acceptedTimestamp?: Date | null;
|
|
9349
|
+
createdTime: Date;
|
|
9350
|
+
createdBy: string;
|
|
9351
|
+
}
|
|
9352
|
+
export interface AcceptSupplierInvite {
|
|
9353
|
+
companyName?: string;
|
|
9354
|
+
organizationNumber?: string;
|
|
9355
|
+
threeLetterIsoCountry?: string;
|
|
9356
|
+
}
|
|
9357
|
+
export interface CreateSupplierInvite {
|
|
9358
|
+
supplierId: string;
|
|
9359
|
+
supplierName?: string | null;
|
|
9360
|
+
username: string;
|
|
9361
|
+
invitedName: string;
|
|
9362
|
+
deadline: Date;
|
|
9363
|
+
existingCompanyId?: string | null;
|
|
9364
|
+
}
|
|
9365
|
+
export interface ExternalSupplierDto {
|
|
9366
|
+
id: string;
|
|
9367
|
+
name: string;
|
|
9368
|
+
companyId: string;
|
|
9369
|
+
active: boolean;
|
|
9370
|
+
}
|
|
9371
|
+
export interface CreateSupplierMapping {
|
|
9372
|
+
companyId: string;
|
|
9373
|
+
existingSupplierId: string;
|
|
9374
|
+
newSupplierId: string;
|
|
9375
|
+
}
|
|
9391
9376
|
export type FeatureCollectionType = "FeatureCollection";
|
|
9392
9377
|
export interface Features {
|
|
9393
9378
|
type: FeaturesType;
|