@ignos/api-client 20260612.150.1-alpha → 20260612.151.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 +214 -220
- package/lib/ignosportal-api.js +4148 -4310
- package/package.json +1 -1
- package/src/ignosportal-api.ts +5953 -6112
package/lib/ignosportal-api.d.ts
CHANGED
|
@@ -127,7 +127,6 @@ export declare class CustomersClient extends AuthorizedApiBase implements ICusto
|
|
|
127
127
|
}
|
|
128
128
|
export interface IGuestsClient {
|
|
129
129
|
getGuestLoginInfo(search: string | undefined): Promise<GuestLoginInfoDto>;
|
|
130
|
-
getSupplierLoginInfo(search: string | undefined): Promise<GuestLoginInfoDto>;
|
|
131
130
|
}
|
|
132
131
|
export declare class GuestsClient extends AuthorizedApiBase implements IGuestsClient {
|
|
133
132
|
private http;
|
|
@@ -137,8 +136,6 @@ export declare class GuestsClient extends AuthorizedApiBase implements IGuestsCl
|
|
|
137
136
|
});
|
|
138
137
|
getGuestLoginInfo(search: string | undefined): Promise<GuestLoginInfoDto>;
|
|
139
138
|
protected processGetGuestLoginInfo(response: Response): Promise<GuestLoginInfoDto>;
|
|
140
|
-
getSupplierLoginInfo(search: string | undefined): Promise<GuestLoginInfoDto>;
|
|
141
|
-
protected processGetSupplierLoginInfo(response: Response): Promise<GuestLoginInfoDto>;
|
|
142
139
|
}
|
|
143
140
|
export interface IPresentationClient {
|
|
144
141
|
getComponentSettings(componentId: string): Promise<ComponentSettingsDto>;
|
|
@@ -1502,6 +1499,99 @@ export declare class DocumentTypesClient extends AuthorizedApiBase implements ID
|
|
|
1502
1499
|
listDocumentGenerators(): Promise<DocumentGeneratorTypeDto[]>;
|
|
1503
1500
|
protected processListDocumentGenerators(response: Response): Promise<DocumentGeneratorTypeDto[]>;
|
|
1504
1501
|
}
|
|
1502
|
+
export interface IExternalAccessClient {
|
|
1503
|
+
listUsers(companyId: string | null | undefined): Promise<CompanyUserDto[]>;
|
|
1504
|
+
createCompanyUser(request: CreateCompanyUserRequest): Promise<CompanyUserDto>;
|
|
1505
|
+
updateCompanyUser(id: string, request: UpdateCompanyUserRequest): Promise<CompanyUserDto>;
|
|
1506
|
+
deleteCompanyUser(id: string, companyId: string | null | undefined): Promise<void>;
|
|
1507
|
+
listRoles(): Promise<ExternalRoleDto[]>;
|
|
1508
|
+
listCompanyCustomers(): Promise<CompanyCustomerDto[]>;
|
|
1509
|
+
deleteCompanyCustomer(tenantId: string): Promise<void>;
|
|
1510
|
+
}
|
|
1511
|
+
export declare class ExternalAccessClient extends AuthorizedApiBase implements IExternalAccessClient {
|
|
1512
|
+
private http;
|
|
1513
|
+
private baseUrl;
|
|
1514
|
+
constructor(configuration: IApiClientConfig, baseUrl?: string, http?: {
|
|
1515
|
+
fetch(url: RequestInfo, init?: RequestInit): Promise<Response>;
|
|
1516
|
+
});
|
|
1517
|
+
listUsers(companyId: string | null | undefined): Promise<CompanyUserDto[]>;
|
|
1518
|
+
protected processListUsers(response: Response): Promise<CompanyUserDto[]>;
|
|
1519
|
+
createCompanyUser(request: CreateCompanyUserRequest): Promise<CompanyUserDto>;
|
|
1520
|
+
protected processCreateCompanyUser(response: Response): Promise<CompanyUserDto>;
|
|
1521
|
+
updateCompanyUser(id: string, request: UpdateCompanyUserRequest): Promise<CompanyUserDto>;
|
|
1522
|
+
protected processUpdateCompanyUser(response: Response): Promise<CompanyUserDto>;
|
|
1523
|
+
deleteCompanyUser(id: string, companyId: string | null | undefined): Promise<void>;
|
|
1524
|
+
protected processDeleteCompanyUser(response: Response): Promise<void>;
|
|
1525
|
+
listRoles(): Promise<ExternalRoleDto[]>;
|
|
1526
|
+
protected processListRoles(response: Response): Promise<ExternalRoleDto[]>;
|
|
1527
|
+
listCompanyCustomers(): Promise<CompanyCustomerDto[]>;
|
|
1528
|
+
protected processListCompanyCustomers(response: Response): Promise<CompanyCustomerDto[]>;
|
|
1529
|
+
deleteCompanyCustomer(tenantId: string): Promise<void>;
|
|
1530
|
+
protected processDeleteCompanyCustomer(response: Response): Promise<void>;
|
|
1531
|
+
}
|
|
1532
|
+
export interface IExternalClient {
|
|
1533
|
+
listInvites(): Promise<InviteDto[]>;
|
|
1534
|
+
acceptSupplierInvite(request: AcceptSupplierInviteRequest): Promise<CompanyDto>;
|
|
1535
|
+
listCompanies(): Promise<CompanyDto[]>;
|
|
1536
|
+
}
|
|
1537
|
+
export declare class ExternalClient extends AuthorizedApiBase implements IExternalClient {
|
|
1538
|
+
private http;
|
|
1539
|
+
private baseUrl;
|
|
1540
|
+
constructor(configuration: IApiClientConfig, baseUrl?: string, http?: {
|
|
1541
|
+
fetch(url: RequestInfo, init?: RequestInit): Promise<Response>;
|
|
1542
|
+
});
|
|
1543
|
+
listInvites(): Promise<InviteDto[]>;
|
|
1544
|
+
protected processListInvites(response: Response): Promise<InviteDto[]>;
|
|
1545
|
+
acceptSupplierInvite(request: AcceptSupplierInviteRequest): Promise<CompanyDto>;
|
|
1546
|
+
protected processAcceptSupplierInvite(response: Response): Promise<CompanyDto>;
|
|
1547
|
+
listCompanies(): Promise<CompanyDto[]>;
|
|
1548
|
+
protected processListCompanies(response: Response): Promise<CompanyDto[]>;
|
|
1549
|
+
}
|
|
1550
|
+
export interface ISuppliersClient {
|
|
1551
|
+
listSupplierInvites(): Promise<SupplierInviteDto[]>;
|
|
1552
|
+
createSupplierInvite(request: CreateSupplierInvite): Promise<SupplierInviteDto>;
|
|
1553
|
+
deleteSupplierInvite(id: string): Promise<void>;
|
|
1554
|
+
listSuppliers(): Promise<ExternalSupplierDto[]>;
|
|
1555
|
+
deleteSupplier(id: string): Promise<void>;
|
|
1556
|
+
importSupplier(importSupplier: ImportSupplier): Promise<ExternalSupplierDto>;
|
|
1557
|
+
/**
|
|
1558
|
+
* Creates a mapping between old supplier id and new supplier id.
|
|
1559
|
+
*/
|
|
1560
|
+
createSupplierMapping(request: CreateSupplierMapping): Promise<void>;
|
|
1561
|
+
/**
|
|
1562
|
+
* Delete all supplier mappings between old supplier ids and new supplier ids.
|
|
1563
|
+
*/
|
|
1564
|
+
deleteSupplierMappings(): Promise<void>;
|
|
1565
|
+
}
|
|
1566
|
+
export declare class SuppliersClient extends AuthorizedApiBase implements ISuppliersClient {
|
|
1567
|
+
private http;
|
|
1568
|
+
private baseUrl;
|
|
1569
|
+
constructor(configuration: IApiClientConfig, baseUrl?: string, http?: {
|
|
1570
|
+
fetch(url: RequestInfo, init?: RequestInit): Promise<Response>;
|
|
1571
|
+
});
|
|
1572
|
+
listSupplierInvites(): Promise<SupplierInviteDto[]>;
|
|
1573
|
+
protected processListSupplierInvites(response: Response): Promise<SupplierInviteDto[]>;
|
|
1574
|
+
createSupplierInvite(request: CreateSupplierInvite): Promise<SupplierInviteDto>;
|
|
1575
|
+
protected processCreateSupplierInvite(response: Response): Promise<SupplierInviteDto>;
|
|
1576
|
+
deleteSupplierInvite(id: string): Promise<void>;
|
|
1577
|
+
protected processDeleteSupplierInvite(response: Response): Promise<void>;
|
|
1578
|
+
listSuppliers(): Promise<ExternalSupplierDto[]>;
|
|
1579
|
+
protected processListSuppliers(response: Response): Promise<ExternalSupplierDto[]>;
|
|
1580
|
+
deleteSupplier(id: string): Promise<void>;
|
|
1581
|
+
protected processDeleteSupplier(response: Response): Promise<void>;
|
|
1582
|
+
importSupplier(importSupplier: ImportSupplier): Promise<ExternalSupplierDto>;
|
|
1583
|
+
protected processImportSupplier(response: Response): Promise<ExternalSupplierDto>;
|
|
1584
|
+
/**
|
|
1585
|
+
* Creates a mapping between old supplier id and new supplier id.
|
|
1586
|
+
*/
|
|
1587
|
+
createSupplierMapping(request: CreateSupplierMapping): Promise<void>;
|
|
1588
|
+
protected processCreateSupplierMapping(response: Response): Promise<void>;
|
|
1589
|
+
/**
|
|
1590
|
+
* Delete all supplier mappings between old supplier ids and new supplier ids.
|
|
1591
|
+
*/
|
|
1592
|
+
deleteSupplierMappings(): Promise<void>;
|
|
1593
|
+
protected processDeleteSupplierMappings(response: Response): Promise<void>;
|
|
1594
|
+
}
|
|
1505
1595
|
export interface ICncFileTransferClient {
|
|
1506
1596
|
startCncMachineOperationTransferToCloud(id: string): Promise<CncMachineTransferDto>;
|
|
1507
1597
|
startCncMachineOperationTransferToMachine(id: string, request: TransferToMachineRequest | undefined): Promise<CncMachineTransferDto>;
|
|
@@ -2906,22 +2996,22 @@ export declare class MeasurementFormsInstancesAdminClient extends AuthorizedApiB
|
|
|
2906
2996
|
protected processExportDimensionReportValues(response: Response): Promise<DownloadDto>;
|
|
2907
2997
|
}
|
|
2908
2998
|
export interface IMeasurementFormsInstancesClient {
|
|
2909
|
-
listMeasurementForms(pageSize: number | undefined, search: string | null | undefined, continuationToken: string | null | undefined, inactive: boolean | null | undefined, includeInactiveSupplierAccess: boolean | null | undefined): Promise<PagedResultOfMeasurementFormInstanceOverviewDto>;
|
|
2999
|
+
listMeasurementForms(pageSize: number | undefined, search: string | null | undefined, continuationToken: string | null | undefined, tenantId: string | null | undefined, inactive: boolean | null | undefined, includeInactiveSupplierAccess: boolean | null | undefined): Promise<PagedResultOfMeasurementFormInstanceOverviewDto>;
|
|
2910
3000
|
postListMeasurementForms(request: ListMeasurementFormsRequest | undefined): Promise<PagedResultOfMeasurementFormInstanceOverviewDto>;
|
|
2911
|
-
getMeasurementFormInstance(id: string): Promise<MeasurementFormInstanceDto>;
|
|
3001
|
+
getMeasurementFormInstance(id: string, tenantId: string | null | undefined): Promise<MeasurementFormInstanceDto>;
|
|
2912
3002
|
listMeasurementFormInstanceFeedback(id: string): Promise<MeasurementFormInstanceFeedbackDto[]>;
|
|
2913
|
-
completeMeasurementFormInstance(id: string): Promise<MeasurementFormInstanceDto>;
|
|
2914
|
-
completeMeasurementFormInstanceV2(id: string): Promise<CompleteMeasurementFormInstanceResult>;
|
|
2915
|
-
getMeasurementFormInstanceSchema(id: string, schemaId: string, serialNumber: string | null | undefined): Promise<MeasurementFormInstanceSchemaDto>;
|
|
2916
|
-
getWorkorderMeasurementFormProgress(id: string): Promise<MeasurementFormInstanceProgressDto>;
|
|
2917
|
-
getAuditLog(id: string, schemaId: string | null | undefined, serialNumber: string | null | undefined, elementId: string | null | undefined): Promise<MeasurementFormElementValueAuditDto[]>;
|
|
3003
|
+
completeMeasurementFormInstance(id: string, tenantId: string | null | undefined): Promise<MeasurementFormInstanceDto>;
|
|
3004
|
+
completeMeasurementFormInstanceV2(id: string, tenantId: string | null | undefined): Promise<CompleteMeasurementFormInstanceResult>;
|
|
3005
|
+
getMeasurementFormInstanceSchema(id: string, schemaId: string, serialNumber: string | null | undefined, tenantId: string | null | undefined): Promise<MeasurementFormInstanceSchemaDto>;
|
|
3006
|
+
getWorkorderMeasurementFormProgress(id: string, tenantId: string | null | undefined): Promise<MeasurementFormInstanceProgressDto>;
|
|
3007
|
+
getAuditLog(id: string, tenantId: string | null | undefined, schemaId: string | null | undefined, serialNumber: string | null | undefined, elementId: string | null | undefined): Promise<MeasurementFormElementValueAuditDto[]>;
|
|
2918
3008
|
getValidationRules(): Promise<ValidationRuleDto[]>;
|
|
2919
|
-
saveValue(id: string, request: SaveValueRequest): Promise<SaveValueResponseDto>;
|
|
2920
|
-
saveTool(id: string, request: SaveToolRequest): Promise<SaveValueResponseDto>;
|
|
2921
|
-
saveComment(id: string, request: SaveCommentRequest): Promise<void>;
|
|
2922
|
-
batchInsertValues(id: string, request: BatchInsertValueRequest): Promise<BatchInsertValuesResponseDto>;
|
|
2923
|
-
saveMeasurementFormInstanceSchemaComment(id: string, schemaId: string, request: SaveMeasurementFormInstanceSchemaCommentRequest): Promise<void>;
|
|
2924
|
-
createMeasurementFormInstanceSchemaFeedback(id: string, schemaId: string, request: CreateMeasurementFormSchemaFeedbackRequest): Promise<SchemaFeedbackCreatedDto>;
|
|
3009
|
+
saveValue(id: string, tenantId: string | null | undefined, request: SaveValueRequest): Promise<SaveValueResponseDto>;
|
|
3010
|
+
saveTool(id: string, tenantId: string | null | undefined, request: SaveToolRequest): Promise<SaveValueResponseDto>;
|
|
3011
|
+
saveComment(id: string, tenantId: string | null | undefined, request: SaveCommentRequest): Promise<void>;
|
|
3012
|
+
batchInsertValues(id: string, tenantId: string | null | undefined, request: BatchInsertValueRequest): Promise<BatchInsertValuesResponseDto>;
|
|
3013
|
+
saveMeasurementFormInstanceSchemaComment(id: string, schemaId: string, tenantId: string | null | undefined, request: SaveMeasurementFormInstanceSchemaCommentRequest): Promise<void>;
|
|
3014
|
+
createMeasurementFormInstanceSchemaFeedback(id: string, schemaId: string, tenantId: string | null | undefined, request: CreateMeasurementFormSchemaFeedbackRequest): Promise<SchemaFeedbackCreatedDto>;
|
|
2925
3015
|
listSupplierMeasurementFormInstances(supplierId: string): Promise<MeasurementFormSupplierAccessInstanceDto[]>;
|
|
2926
3016
|
upsertSupplierToMeasurmentFormInstance(id: string, supplierId: string, request: UpsertSupplierToMeasurementFormInstanceRequest): Promise<void>;
|
|
2927
3017
|
removeSupplierFromMeasurmentFormInstance(id: string, supplierId: string): Promise<void>;
|
|
@@ -2937,37 +3027,37 @@ export declare class MeasurementFormsInstancesClient extends AuthorizedApiBase i
|
|
|
2937
3027
|
constructor(configuration: IApiClientConfig, baseUrl?: string, http?: {
|
|
2938
3028
|
fetch(url: RequestInfo, init?: RequestInit): Promise<Response>;
|
|
2939
3029
|
});
|
|
2940
|
-
listMeasurementForms(pageSize: number | undefined, search: string | null | undefined, continuationToken: string | null | undefined, inactive: boolean | null | undefined, includeInactiveSupplierAccess: boolean | null | undefined): Promise<PagedResultOfMeasurementFormInstanceOverviewDto>;
|
|
3030
|
+
listMeasurementForms(pageSize: number | undefined, search: string | null | undefined, continuationToken: string | null | undefined, tenantId: string | null | undefined, inactive: boolean | null | undefined, includeInactiveSupplierAccess: boolean | null | undefined): Promise<PagedResultOfMeasurementFormInstanceOverviewDto>;
|
|
2941
3031
|
protected processListMeasurementForms(response: Response): Promise<PagedResultOfMeasurementFormInstanceOverviewDto>;
|
|
2942
3032
|
postListMeasurementForms(request: ListMeasurementFormsRequest | undefined): Promise<PagedResultOfMeasurementFormInstanceOverviewDto>;
|
|
2943
3033
|
protected processPostListMeasurementForms(response: Response): Promise<PagedResultOfMeasurementFormInstanceOverviewDto>;
|
|
2944
|
-
getMeasurementFormInstance(id: string): Promise<MeasurementFormInstanceDto>;
|
|
3034
|
+
getMeasurementFormInstance(id: string, tenantId: string | null | undefined): Promise<MeasurementFormInstanceDto>;
|
|
2945
3035
|
protected processGetMeasurementFormInstance(response: Response): Promise<MeasurementFormInstanceDto>;
|
|
2946
3036
|
listMeasurementFormInstanceFeedback(id: string): Promise<MeasurementFormInstanceFeedbackDto[]>;
|
|
2947
3037
|
protected processListMeasurementFormInstanceFeedback(response: Response): Promise<MeasurementFormInstanceFeedbackDto[]>;
|
|
2948
|
-
completeMeasurementFormInstance(id: string): Promise<MeasurementFormInstanceDto>;
|
|
3038
|
+
completeMeasurementFormInstance(id: string, tenantId: string | null | undefined): Promise<MeasurementFormInstanceDto>;
|
|
2949
3039
|
protected processCompleteMeasurementFormInstance(response: Response): Promise<MeasurementFormInstanceDto>;
|
|
2950
|
-
completeMeasurementFormInstanceV2(id: string): Promise<CompleteMeasurementFormInstanceResult>;
|
|
3040
|
+
completeMeasurementFormInstanceV2(id: string, tenantId: string | null | undefined): Promise<CompleteMeasurementFormInstanceResult>;
|
|
2951
3041
|
protected processCompleteMeasurementFormInstanceV2(response: Response): Promise<CompleteMeasurementFormInstanceResult>;
|
|
2952
|
-
getMeasurementFormInstanceSchema(id: string, schemaId: string, serialNumber: string | null | undefined): Promise<MeasurementFormInstanceSchemaDto>;
|
|
3042
|
+
getMeasurementFormInstanceSchema(id: string, schemaId: string, serialNumber: string | null | undefined, tenantId: string | null | undefined): Promise<MeasurementFormInstanceSchemaDto>;
|
|
2953
3043
|
protected processGetMeasurementFormInstanceSchema(response: Response): Promise<MeasurementFormInstanceSchemaDto>;
|
|
2954
|
-
getWorkorderMeasurementFormProgress(id: string): Promise<MeasurementFormInstanceProgressDto>;
|
|
3044
|
+
getWorkorderMeasurementFormProgress(id: string, tenantId: string | null | undefined): Promise<MeasurementFormInstanceProgressDto>;
|
|
2955
3045
|
protected processGetWorkorderMeasurementFormProgress(response: Response): Promise<MeasurementFormInstanceProgressDto>;
|
|
2956
|
-
getAuditLog(id: string, schemaId: string | null | undefined, serialNumber: string | null | undefined, elementId: string | null | undefined): Promise<MeasurementFormElementValueAuditDto[]>;
|
|
3046
|
+
getAuditLog(id: string, tenantId: string | null | undefined, schemaId: string | null | undefined, serialNumber: string | null | undefined, elementId: string | null | undefined): Promise<MeasurementFormElementValueAuditDto[]>;
|
|
2957
3047
|
protected processGetAuditLog(response: Response): Promise<MeasurementFormElementValueAuditDto[]>;
|
|
2958
3048
|
getValidationRules(): Promise<ValidationRuleDto[]>;
|
|
2959
3049
|
protected processGetValidationRules(response: Response): Promise<ValidationRuleDto[]>;
|
|
2960
|
-
saveValue(id: string, request: SaveValueRequest): Promise<SaveValueResponseDto>;
|
|
3050
|
+
saveValue(id: string, tenantId: string | null | undefined, request: SaveValueRequest): Promise<SaveValueResponseDto>;
|
|
2961
3051
|
protected processSaveValue(response: Response): Promise<SaveValueResponseDto>;
|
|
2962
|
-
saveTool(id: string, request: SaveToolRequest): Promise<SaveValueResponseDto>;
|
|
3052
|
+
saveTool(id: string, tenantId: string | null | undefined, request: SaveToolRequest): Promise<SaveValueResponseDto>;
|
|
2963
3053
|
protected processSaveTool(response: Response): Promise<SaveValueResponseDto>;
|
|
2964
|
-
saveComment(id: string, request: SaveCommentRequest): Promise<void>;
|
|
3054
|
+
saveComment(id: string, tenantId: string | null | undefined, request: SaveCommentRequest): Promise<void>;
|
|
2965
3055
|
protected processSaveComment(response: Response): Promise<void>;
|
|
2966
|
-
batchInsertValues(id: string, request: BatchInsertValueRequest): Promise<BatchInsertValuesResponseDto>;
|
|
3056
|
+
batchInsertValues(id: string, tenantId: string | null | undefined, request: BatchInsertValueRequest): Promise<BatchInsertValuesResponseDto>;
|
|
2967
3057
|
protected processBatchInsertValues(response: Response): Promise<BatchInsertValuesResponseDto>;
|
|
2968
|
-
saveMeasurementFormInstanceSchemaComment(id: string, schemaId: string, request: SaveMeasurementFormInstanceSchemaCommentRequest): Promise<void>;
|
|
3058
|
+
saveMeasurementFormInstanceSchemaComment(id: string, schemaId: string, tenantId: string | null | undefined, request: SaveMeasurementFormInstanceSchemaCommentRequest): Promise<void>;
|
|
2969
3059
|
protected processSaveMeasurementFormInstanceSchemaComment(response: Response): Promise<void>;
|
|
2970
|
-
createMeasurementFormInstanceSchemaFeedback(id: string, schemaId: string, request: CreateMeasurementFormSchemaFeedbackRequest): Promise<SchemaFeedbackCreatedDto>;
|
|
3060
|
+
createMeasurementFormInstanceSchemaFeedback(id: string, schemaId: string, tenantId: string | null | undefined, request: CreateMeasurementFormSchemaFeedbackRequest): Promise<SchemaFeedbackCreatedDto>;
|
|
2971
3061
|
protected processCreateMeasurementFormInstanceSchemaFeedback(response: Response): Promise<SchemaFeedbackCreatedDto>;
|
|
2972
3062
|
listSupplierMeasurementFormInstances(supplierId: string): Promise<MeasurementFormSupplierAccessInstanceDto[]>;
|
|
2973
3063
|
protected processListSupplierMeasurementFormInstances(response: Response): Promise<MeasurementFormSupplierAccessInstanceDto[]>;
|
|
@@ -2992,7 +3082,7 @@ export interface IMeasurementFormsInstancesInstanceAdminClient {
|
|
|
2992
3082
|
createMeasurementFormInstance2(id: string, request: CreateMeasurementFormInstanceRequest): Promise<MeasurementFormInstanceDto>;
|
|
2993
3083
|
reactivateMeasurementFormInstance(id: string): Promise<MeasurementFormInstanceDto>;
|
|
2994
3084
|
cancelMeasurementFormInstance(id: string): Promise<MeasurementFormInstanceDto>;
|
|
2995
|
-
toggleSchemaInstanceElementDocumentedExternallyOverride(id: string, schemaId: string, elementId: string): Promise<void>;
|
|
3085
|
+
toggleSchemaInstanceElementDocumentedExternallyOverride(id: string, schemaId: string, elementId: string, tenantId: string | null | undefined): Promise<void>;
|
|
2996
3086
|
}
|
|
2997
3087
|
export declare class MeasurementFormsInstancesInstanceAdminClient extends AuthorizedApiBase implements IMeasurementFormsInstancesInstanceAdminClient {
|
|
2998
3088
|
private http;
|
|
@@ -3016,7 +3106,7 @@ export declare class MeasurementFormsInstancesInstanceAdminClient extends Author
|
|
|
3016
3106
|
protected processReactivateMeasurementFormInstance(response: Response): Promise<MeasurementFormInstanceDto>;
|
|
3017
3107
|
cancelMeasurementFormInstance(id: string): Promise<MeasurementFormInstanceDto>;
|
|
3018
3108
|
protected processCancelMeasurementFormInstance(response: Response): Promise<MeasurementFormInstanceDto>;
|
|
3019
|
-
toggleSchemaInstanceElementDocumentedExternallyOverride(id: string, schemaId: string, elementId: string): Promise<void>;
|
|
3109
|
+
toggleSchemaInstanceElementDocumentedExternallyOverride(id: string, schemaId: string, elementId: string, tenantId: string | null | undefined): Promise<void>;
|
|
3020
3110
|
protected processToggleSchemaInstanceElementDocumentedExternallyOverride(response: Response): Promise<void>;
|
|
3021
3111
|
}
|
|
3022
3112
|
export interface ICompaniesClient {
|
|
@@ -3356,111 +3446,6 @@ export declare class WorkordersClient extends AuthorizedApiBase implements IWork
|
|
|
3356
3446
|
generateContentPartsForDiscussions(): Promise<WorkorderDiscussionMessageDto[]>;
|
|
3357
3447
|
protected processGenerateContentPartsForDiscussions(response: Response): Promise<WorkorderDiscussionMessageDto[]>;
|
|
3358
3448
|
}
|
|
3359
|
-
export interface IExternalAccessClient {
|
|
3360
|
-
listUsers(companyId: string | null | undefined): Promise<CompanyUserDto[]>;
|
|
3361
|
-
createCompanyUser(request: CreateCompanyUser): Promise<CompanyUserDto>;
|
|
3362
|
-
updateCompanyUser(id: string, request: UpdateCompanyUserRequest): Promise<CompanyUserDto>;
|
|
3363
|
-
deleteCompanyUser(id: string, companyId: string | null | undefined): Promise<void>;
|
|
3364
|
-
migrateLegacyCompanyUsersToEntra(): Promise<CompanyUserDto[]>;
|
|
3365
|
-
listRoles(): Promise<ExternalRoleDto[]>;
|
|
3366
|
-
listCompanyCustomers(): Promise<CompanyCustomerDto[]>;
|
|
3367
|
-
deleteCompanyCustomer(tenantId: string): Promise<void>;
|
|
3368
|
-
}
|
|
3369
|
-
export declare class ExternalAccessClient extends AuthorizedApiBase implements IExternalAccessClient {
|
|
3370
|
-
private http;
|
|
3371
|
-
private baseUrl;
|
|
3372
|
-
constructor(configuration: IApiClientConfig, baseUrl?: string, http?: {
|
|
3373
|
-
fetch(url: RequestInfo, init?: RequestInit): Promise<Response>;
|
|
3374
|
-
});
|
|
3375
|
-
listUsers(companyId: string | null | undefined): Promise<CompanyUserDto[]>;
|
|
3376
|
-
protected processListUsers(response: Response): Promise<CompanyUserDto[]>;
|
|
3377
|
-
createCompanyUser(request: CreateCompanyUser): Promise<CompanyUserDto>;
|
|
3378
|
-
protected processCreateCompanyUser(response: Response): Promise<CompanyUserDto>;
|
|
3379
|
-
updateCompanyUser(id: string, request: UpdateCompanyUserRequest): Promise<CompanyUserDto>;
|
|
3380
|
-
protected processUpdateCompanyUser(response: Response): Promise<CompanyUserDto>;
|
|
3381
|
-
deleteCompanyUser(id: string, companyId: string | null | undefined): Promise<void>;
|
|
3382
|
-
protected processDeleteCompanyUser(response: Response): Promise<void>;
|
|
3383
|
-
migrateLegacyCompanyUsersToEntra(): Promise<CompanyUserDto[]>;
|
|
3384
|
-
protected processMigrateLegacyCompanyUsersToEntra(response: Response): Promise<CompanyUserDto[]>;
|
|
3385
|
-
listRoles(): Promise<ExternalRoleDto[]>;
|
|
3386
|
-
protected processListRoles(response: Response): Promise<ExternalRoleDto[]>;
|
|
3387
|
-
listCompanyCustomers(): Promise<CompanyCustomerDto[]>;
|
|
3388
|
-
protected processListCompanyCustomers(response: Response): Promise<CompanyCustomerDto[]>;
|
|
3389
|
-
deleteCompanyCustomer(tenantId: string): Promise<void>;
|
|
3390
|
-
protected processDeleteCompanyCustomer(response: Response): Promise<void>;
|
|
3391
|
-
}
|
|
3392
|
-
export interface IExternalClient {
|
|
3393
|
-
listCompanies(): Promise<CompanyDto[]>;
|
|
3394
|
-
getCompany(id: string): Promise<CompanyDto>;
|
|
3395
|
-
getCurrentSupplierInvite(): Promise<SupplierInviteDto>;
|
|
3396
|
-
acceptSupplierInviteNewCompany(request: AcceptSupplierInviteNewCompany): Promise<SupplierInviteDto>;
|
|
3397
|
-
acceptSupplierInviteExistingCompany(request: AcceptSupplierInviteExistingCompany): Promise<SupplierInviteDto>;
|
|
3398
|
-
acceptSupplierInviteCustomer(request: AcceptSupplierInviteCustomer): Promise<SupplierInviteDto>;
|
|
3399
|
-
listTenantsWithSuppliers(): Promise<TenantWithSupplierDto[]>;
|
|
3400
|
-
}
|
|
3401
|
-
export declare class ExternalClient extends AuthorizedApiBase implements IExternalClient {
|
|
3402
|
-
private http;
|
|
3403
|
-
private baseUrl;
|
|
3404
|
-
constructor(configuration: IApiClientConfig, baseUrl?: string, http?: {
|
|
3405
|
-
fetch(url: RequestInfo, init?: RequestInit): Promise<Response>;
|
|
3406
|
-
});
|
|
3407
|
-
listCompanies(): Promise<CompanyDto[]>;
|
|
3408
|
-
protected processListCompanies(response: Response): Promise<CompanyDto[]>;
|
|
3409
|
-
getCompany(id: string): Promise<CompanyDto>;
|
|
3410
|
-
protected processGetCompany(response: Response): Promise<CompanyDto>;
|
|
3411
|
-
getCurrentSupplierInvite(): Promise<SupplierInviteDto>;
|
|
3412
|
-
protected processGetCurrentSupplierInvite(response: Response): Promise<SupplierInviteDto>;
|
|
3413
|
-
acceptSupplierInviteNewCompany(request: AcceptSupplierInviteNewCompany): Promise<SupplierInviteDto>;
|
|
3414
|
-
protected processAcceptSupplierInviteNewCompany(response: Response): Promise<SupplierInviteDto>;
|
|
3415
|
-
acceptSupplierInviteExistingCompany(request: AcceptSupplierInviteExistingCompany): Promise<SupplierInviteDto>;
|
|
3416
|
-
protected processAcceptSupplierInviteExistingCompany(response: Response): Promise<SupplierInviteDto>;
|
|
3417
|
-
acceptSupplierInviteCustomer(request: AcceptSupplierInviteCustomer): Promise<SupplierInviteDto>;
|
|
3418
|
-
protected processAcceptSupplierInviteCustomer(response: Response): Promise<SupplierInviteDto>;
|
|
3419
|
-
listTenantsWithSuppliers(): Promise<TenantWithSupplierDto[]>;
|
|
3420
|
-
protected processListTenantsWithSuppliers(response: Response): Promise<TenantWithSupplierDto[]>;
|
|
3421
|
-
}
|
|
3422
|
-
export interface ISuppliersClient {
|
|
3423
|
-
listSupplierInvites(): Promise<SupplierInviteDto[]>;
|
|
3424
|
-
createSupplierInvite(request: CreateSupplierInviteRequest): Promise<SupplierInviteDto>;
|
|
3425
|
-
deleteSupplierInvite(id: string): Promise<void>;
|
|
3426
|
-
listSuppliers(): Promise<ExternalSupplierDto[]>;
|
|
3427
|
-
deleteSupplier(id: string): Promise<void>;
|
|
3428
|
-
/**
|
|
3429
|
-
* Creates a mapping between old supplier id and new supplier id.
|
|
3430
|
-
*/
|
|
3431
|
-
createSupplierMapping(request: CreateSupplierMapping): Promise<void>;
|
|
3432
|
-
/**
|
|
3433
|
-
* Delete all supplier mappings between old supplier ids and new supplier ids.
|
|
3434
|
-
*/
|
|
3435
|
-
deleteSupplierMappings(): Promise<void>;
|
|
3436
|
-
}
|
|
3437
|
-
export declare class SuppliersClient extends AuthorizedApiBase implements ISuppliersClient {
|
|
3438
|
-
private http;
|
|
3439
|
-
private baseUrl;
|
|
3440
|
-
constructor(configuration: IApiClientConfig, baseUrl?: string, http?: {
|
|
3441
|
-
fetch(url: RequestInfo, init?: RequestInit): Promise<Response>;
|
|
3442
|
-
});
|
|
3443
|
-
listSupplierInvites(): Promise<SupplierInviteDto[]>;
|
|
3444
|
-
protected processListSupplierInvites(response: Response): Promise<SupplierInviteDto[]>;
|
|
3445
|
-
createSupplierInvite(request: CreateSupplierInviteRequest): Promise<SupplierInviteDto>;
|
|
3446
|
-
protected processCreateSupplierInvite(response: Response): Promise<SupplierInviteDto>;
|
|
3447
|
-
deleteSupplierInvite(id: string): Promise<void>;
|
|
3448
|
-
protected processDeleteSupplierInvite(response: Response): Promise<void>;
|
|
3449
|
-
listSuppliers(): Promise<ExternalSupplierDto[]>;
|
|
3450
|
-
protected processListSuppliers(response: Response): Promise<ExternalSupplierDto[]>;
|
|
3451
|
-
deleteSupplier(id: string): Promise<void>;
|
|
3452
|
-
protected processDeleteSupplier(response: Response): Promise<void>;
|
|
3453
|
-
/**
|
|
3454
|
-
* Creates a mapping between old supplier id and new supplier id.
|
|
3455
|
-
*/
|
|
3456
|
-
createSupplierMapping(request: CreateSupplierMapping): Promise<void>;
|
|
3457
|
-
protected processCreateSupplierMapping(response: Response): Promise<void>;
|
|
3458
|
-
/**
|
|
3459
|
-
* Delete all supplier mappings between old supplier ids and new supplier ids.
|
|
3460
|
-
*/
|
|
3461
|
-
deleteSupplierMappings(): Promise<void>;
|
|
3462
|
-
protected processDeleteSupplierMappings(response: Response): Promise<void>;
|
|
3463
|
-
}
|
|
3464
3449
|
export interface AzureRegionDto {
|
|
3465
3450
|
displayName: string;
|
|
3466
3451
|
name: string;
|
|
@@ -3772,9 +3757,6 @@ export interface UserDetailsDto {
|
|
|
3772
3757
|
isExternalUser?: boolean;
|
|
3773
3758
|
isBetaTester?: boolean | null;
|
|
3774
3759
|
hasAccessToIgnos?: boolean;
|
|
3775
|
-
isInvitedUser?: boolean;
|
|
3776
|
-
isSupplier?: boolean;
|
|
3777
|
-
companyId?: string | null;
|
|
3778
3760
|
}
|
|
3779
3761
|
export interface UserDto {
|
|
3780
3762
|
id?: string | null;
|
|
@@ -5753,6 +5735,97 @@ export interface DocumentGeneratorTypeDto {
|
|
|
5753
5735
|
key: string;
|
|
5754
5736
|
description: string;
|
|
5755
5737
|
}
|
|
5738
|
+
export interface CompanyUserDto {
|
|
5739
|
+
companyId?: string | null;
|
|
5740
|
+
username?: string | null;
|
|
5741
|
+
name?: string | null;
|
|
5742
|
+
roles?: string[] | null;
|
|
5743
|
+
}
|
|
5744
|
+
export interface CreateCompanyUserRequest {
|
|
5745
|
+
username: string;
|
|
5746
|
+
name: string;
|
|
5747
|
+
roles: string[];
|
|
5748
|
+
companyId?: string | null;
|
|
5749
|
+
}
|
|
5750
|
+
export interface UpdateCompanyUserRequest {
|
|
5751
|
+
name: string;
|
|
5752
|
+
roles: string[];
|
|
5753
|
+
companyId?: string | null;
|
|
5754
|
+
}
|
|
5755
|
+
export interface ExternalRoleDto {
|
|
5756
|
+
id: string;
|
|
5757
|
+
name: string;
|
|
5758
|
+
}
|
|
5759
|
+
export interface CompanyCustomerDto {
|
|
5760
|
+
customerTenantId?: string | null;
|
|
5761
|
+
customerAzureAdTenantId?: string | null;
|
|
5762
|
+
customerName?: string | null;
|
|
5763
|
+
supplierId?: string | null;
|
|
5764
|
+
supplierName?: string | null;
|
|
5765
|
+
}
|
|
5766
|
+
export interface InviteDto {
|
|
5767
|
+
tenantId: string;
|
|
5768
|
+
companyName: string;
|
|
5769
|
+
id: string;
|
|
5770
|
+
supplierId: string;
|
|
5771
|
+
supplierName: string;
|
|
5772
|
+
username: string;
|
|
5773
|
+
deadline: Date;
|
|
5774
|
+
createdTime: Date;
|
|
5775
|
+
createdBy: string;
|
|
5776
|
+
}
|
|
5777
|
+
export interface CompanyDto {
|
|
5778
|
+
id?: string | null;
|
|
5779
|
+
name?: string | null;
|
|
5780
|
+
organizationNumber?: string | null;
|
|
5781
|
+
country?: string | null;
|
|
5782
|
+
tenantId?: string | null;
|
|
5783
|
+
}
|
|
5784
|
+
export interface AcceptSupplierInviteRequest {
|
|
5785
|
+
tenantId: string;
|
|
5786
|
+
existingCompanyId?: string | null;
|
|
5787
|
+
companyName?: string | null;
|
|
5788
|
+
organizationNumber?: string | null;
|
|
5789
|
+
threeLetterIsoCountry?: string | null;
|
|
5790
|
+
}
|
|
5791
|
+
export interface SupplierInviteDto {
|
|
5792
|
+
id: string;
|
|
5793
|
+
supplierId: string;
|
|
5794
|
+
name: string;
|
|
5795
|
+
username: string;
|
|
5796
|
+
deadline: Date;
|
|
5797
|
+
createdTime: Date;
|
|
5798
|
+
createdBy: string;
|
|
5799
|
+
}
|
|
5800
|
+
export interface CreateSupplierInvite {
|
|
5801
|
+
supplierId: string;
|
|
5802
|
+
name: string;
|
|
5803
|
+
username: string;
|
|
5804
|
+
deadline: Date;
|
|
5805
|
+
}
|
|
5806
|
+
export interface ExternalSupplierDto {
|
|
5807
|
+
id: string;
|
|
5808
|
+
name: string;
|
|
5809
|
+
companyId: string;
|
|
5810
|
+
active: boolean;
|
|
5811
|
+
}
|
|
5812
|
+
export interface ImportSupplier {
|
|
5813
|
+
supplierId: string;
|
|
5814
|
+
name: string;
|
|
5815
|
+
organizationNumber?: string | null;
|
|
5816
|
+
threeLetterIsoCountry: string;
|
|
5817
|
+
users: ImportSupplierUserDto[];
|
|
5818
|
+
}
|
|
5819
|
+
export interface ImportSupplierUserDto {
|
|
5820
|
+
username: string;
|
|
5821
|
+
name: string;
|
|
5822
|
+
roles: string[];
|
|
5823
|
+
}
|
|
5824
|
+
export interface CreateSupplierMapping {
|
|
5825
|
+
companyId: string;
|
|
5826
|
+
existingSupplierId: string;
|
|
5827
|
+
newSupplierId: string;
|
|
5828
|
+
}
|
|
5756
5829
|
export interface CncMachineTransferDto {
|
|
5757
5830
|
id: string;
|
|
5758
5831
|
cncMachineOperationId?: string | null;
|
|
@@ -9053,6 +9126,7 @@ export interface ListMeasurementFormsRequest {
|
|
|
9053
9126
|
pageSize?: number | null;
|
|
9054
9127
|
search?: string | null;
|
|
9055
9128
|
continuationToken?: string | null;
|
|
9129
|
+
tenantId?: string | null;
|
|
9056
9130
|
inactive?: boolean | null;
|
|
9057
9131
|
includeInactiveSupplierAccess?: boolean | null;
|
|
9058
9132
|
}
|
|
@@ -9248,6 +9322,7 @@ export interface UpsertSupplierToMeasurementFormInstanceRequest {
|
|
|
9248
9322
|
externalOrderNumber?: string | null;
|
|
9249
9323
|
}
|
|
9250
9324
|
export interface ExportDimensionReportV2Request {
|
|
9325
|
+
tenantId?: string | null;
|
|
9251
9326
|
type: DimensionReportType;
|
|
9252
9327
|
extras?: DimensionReportExtras | null;
|
|
9253
9328
|
specificSerialNumbers?: string[] | null;
|
|
@@ -9590,87 +9665,6 @@ export interface SetDiscussionLastReadRequest {
|
|
|
9590
9665
|
operationId?: string | null;
|
|
9591
9666
|
resourceId?: string | null;
|
|
9592
9667
|
}
|
|
9593
|
-
export interface CompanyUserDto {
|
|
9594
|
-
companyId: string;
|
|
9595
|
-
userObjectId: string;
|
|
9596
|
-
username?: string | null;
|
|
9597
|
-
name?: string | null;
|
|
9598
|
-
roles: string[];
|
|
9599
|
-
}
|
|
9600
|
-
export interface CreateCompanyUser {
|
|
9601
|
-
username: string;
|
|
9602
|
-
name: string;
|
|
9603
|
-
roles: string[];
|
|
9604
|
-
companyId?: string | null;
|
|
9605
|
-
}
|
|
9606
|
-
export interface UpdateCompanyUserRequest {
|
|
9607
|
-
roles: string[];
|
|
9608
|
-
companyId?: string | null;
|
|
9609
|
-
}
|
|
9610
|
-
export interface ExternalRoleDto {
|
|
9611
|
-
id: string;
|
|
9612
|
-
name: string;
|
|
9613
|
-
}
|
|
9614
|
-
export interface CompanyCustomerDto {
|
|
9615
|
-
customerTenantId?: string | null;
|
|
9616
|
-
customerAzureAdTenantId?: string | null;
|
|
9617
|
-
customerName?: string | null;
|
|
9618
|
-
supplierId?: string | null;
|
|
9619
|
-
supplierName?: string | null;
|
|
9620
|
-
customerIgnosPortalPrefix?: string | null;
|
|
9621
|
-
}
|
|
9622
|
-
export interface CompanyDto {
|
|
9623
|
-
id: string;
|
|
9624
|
-
name: string;
|
|
9625
|
-
organizationNumber?: string | null;
|
|
9626
|
-
country: string;
|
|
9627
|
-
tenantId?: string | null;
|
|
9628
|
-
}
|
|
9629
|
-
export interface SupplierInviteDto {
|
|
9630
|
-
id: string;
|
|
9631
|
-
supplierId: string;
|
|
9632
|
-
supplierName?: string | null;
|
|
9633
|
-
customerName?: string | null;
|
|
9634
|
-
userId: string;
|
|
9635
|
-
userName?: string | null;
|
|
9636
|
-
acceptedTimestamp?: Date | null;
|
|
9637
|
-
createdTime: Date;
|
|
9638
|
-
createdBy: string;
|
|
9639
|
-
}
|
|
9640
|
-
export interface AcceptSupplierInviteNewCompany {
|
|
9641
|
-
companyName?: string;
|
|
9642
|
-
organizationNumber?: string;
|
|
9643
|
-
threeLetterIsoCountry?: string;
|
|
9644
|
-
}
|
|
9645
|
-
export interface AcceptSupplierInviteExistingCompany {
|
|
9646
|
-
companyId?: string;
|
|
9647
|
-
}
|
|
9648
|
-
export interface AcceptSupplierInviteCustomer {
|
|
9649
|
-
tenantId?: string;
|
|
9650
|
-
organizationNumber?: string;
|
|
9651
|
-
}
|
|
9652
|
-
export interface TenantWithSupplierDto {
|
|
9653
|
-
tenantId: string;
|
|
9654
|
-
customerName: string;
|
|
9655
|
-
supplierTenantEntraId: string;
|
|
9656
|
-
}
|
|
9657
|
-
export interface CreateSupplierInviteRequest {
|
|
9658
|
-
supplierId: string;
|
|
9659
|
-
supplierName?: string | null;
|
|
9660
|
-
username: string;
|
|
9661
|
-
invitedName: string;
|
|
9662
|
-
}
|
|
9663
|
-
export interface ExternalSupplierDto {
|
|
9664
|
-
id: string;
|
|
9665
|
-
name: string;
|
|
9666
|
-
companyId: string;
|
|
9667
|
-
active: boolean;
|
|
9668
|
-
}
|
|
9669
|
-
export interface CreateSupplierMapping {
|
|
9670
|
-
companyId: string;
|
|
9671
|
-
existingSupplierId: string;
|
|
9672
|
-
newSupplierId: string;
|
|
9673
|
-
}
|
|
9674
9668
|
export type FeatureCollectionType = "FeatureCollection";
|
|
9675
9669
|
export interface Features {
|
|
9676
9670
|
type: FeaturesType;
|