@ignos/api-client 20260529.140.1-alpha → 20260529.142.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/ignosportal-api.d.ts +224 -221
- package/lib/ignosportal-api.js +4130 -4292
- package/package.json +1 -1
- package/src/ignosportal-api.ts +5870 -6019
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>;
|
|
@@ -1499,6 +1496,99 @@ export declare class DocumentTypesClient extends AuthorizedApiBase implements ID
|
|
|
1499
1496
|
listDocumentGenerators(): Promise<DocumentGeneratorTypeDto[]>;
|
|
1500
1497
|
protected processListDocumentGenerators(response: Response): Promise<DocumentGeneratorTypeDto[]>;
|
|
1501
1498
|
}
|
|
1499
|
+
export interface IExternalAccessClient {
|
|
1500
|
+
listUsers(companyId: string | null | undefined): Promise<CompanyUserDto[]>;
|
|
1501
|
+
createCompanyUser(request: CreateCompanyUserRequest): Promise<CompanyUserDto>;
|
|
1502
|
+
updateCompanyUser(id: string, request: UpdateCompanyUserRequest): Promise<CompanyUserDto>;
|
|
1503
|
+
deleteCompanyUser(id: string, companyId: string | null | undefined): Promise<void>;
|
|
1504
|
+
listRoles(): Promise<ExternalRoleDto[]>;
|
|
1505
|
+
listCompanyCustomers(): Promise<CompanyCustomerDto[]>;
|
|
1506
|
+
deleteCompanyCustomer(tenantId: string): Promise<void>;
|
|
1507
|
+
}
|
|
1508
|
+
export declare class ExternalAccessClient extends AuthorizedApiBase implements IExternalAccessClient {
|
|
1509
|
+
private http;
|
|
1510
|
+
private baseUrl;
|
|
1511
|
+
constructor(configuration: IAccessTokenProvider, baseUrl?: string, http?: {
|
|
1512
|
+
fetch(url: RequestInfo, init?: RequestInit): Promise<Response>;
|
|
1513
|
+
});
|
|
1514
|
+
listUsers(companyId: string | null | undefined): Promise<CompanyUserDto[]>;
|
|
1515
|
+
protected processListUsers(response: Response): Promise<CompanyUserDto[]>;
|
|
1516
|
+
createCompanyUser(request: CreateCompanyUserRequest): Promise<CompanyUserDto>;
|
|
1517
|
+
protected processCreateCompanyUser(response: Response): Promise<CompanyUserDto>;
|
|
1518
|
+
updateCompanyUser(id: string, request: UpdateCompanyUserRequest): Promise<CompanyUserDto>;
|
|
1519
|
+
protected processUpdateCompanyUser(response: Response): Promise<CompanyUserDto>;
|
|
1520
|
+
deleteCompanyUser(id: string, companyId: string | null | undefined): Promise<void>;
|
|
1521
|
+
protected processDeleteCompanyUser(response: Response): Promise<void>;
|
|
1522
|
+
listRoles(): Promise<ExternalRoleDto[]>;
|
|
1523
|
+
protected processListRoles(response: Response): Promise<ExternalRoleDto[]>;
|
|
1524
|
+
listCompanyCustomers(): Promise<CompanyCustomerDto[]>;
|
|
1525
|
+
protected processListCompanyCustomers(response: Response): Promise<CompanyCustomerDto[]>;
|
|
1526
|
+
deleteCompanyCustomer(tenantId: string): Promise<void>;
|
|
1527
|
+
protected processDeleteCompanyCustomer(response: Response): Promise<void>;
|
|
1528
|
+
}
|
|
1529
|
+
export interface IExternalClient {
|
|
1530
|
+
listInvites(): Promise<InviteDto[]>;
|
|
1531
|
+
acceptSupplierInvite(request: AcceptSupplierInviteRequest): Promise<CompanyDto>;
|
|
1532
|
+
listCompanies(): Promise<CompanyDto[]>;
|
|
1533
|
+
}
|
|
1534
|
+
export declare class ExternalClient extends AuthorizedApiBase implements IExternalClient {
|
|
1535
|
+
private http;
|
|
1536
|
+
private baseUrl;
|
|
1537
|
+
constructor(configuration: IAccessTokenProvider, baseUrl?: string, http?: {
|
|
1538
|
+
fetch(url: RequestInfo, init?: RequestInit): Promise<Response>;
|
|
1539
|
+
});
|
|
1540
|
+
listInvites(): Promise<InviteDto[]>;
|
|
1541
|
+
protected processListInvites(response: Response): Promise<InviteDto[]>;
|
|
1542
|
+
acceptSupplierInvite(request: AcceptSupplierInviteRequest): Promise<CompanyDto>;
|
|
1543
|
+
protected processAcceptSupplierInvite(response: Response): Promise<CompanyDto>;
|
|
1544
|
+
listCompanies(): Promise<CompanyDto[]>;
|
|
1545
|
+
protected processListCompanies(response: Response): Promise<CompanyDto[]>;
|
|
1546
|
+
}
|
|
1547
|
+
export interface ISuppliersClient {
|
|
1548
|
+
listSupplierInvites(): Promise<SupplierInviteDto[]>;
|
|
1549
|
+
createSupplierInvite(request: CreateSupplierInvite): Promise<SupplierInviteDto>;
|
|
1550
|
+
deleteSupplierInvite(id: string): Promise<void>;
|
|
1551
|
+
listSuppliers(): Promise<ExternalSupplierDto[]>;
|
|
1552
|
+
deleteSupplier(id: string): Promise<void>;
|
|
1553
|
+
importSupplier(importSupplier: ImportSupplier): Promise<ExternalSupplierDto>;
|
|
1554
|
+
/**
|
|
1555
|
+
* Creates a mapping between old supplier id and new supplier id.
|
|
1556
|
+
*/
|
|
1557
|
+
createSupplierMapping(request: CreateSupplierMapping): Promise<void>;
|
|
1558
|
+
/**
|
|
1559
|
+
* Delete all supplier mappings between old supplier ids and new supplier ids.
|
|
1560
|
+
*/
|
|
1561
|
+
deleteSupplierMappings(): Promise<void>;
|
|
1562
|
+
}
|
|
1563
|
+
export declare class SuppliersClient extends AuthorizedApiBase implements ISuppliersClient {
|
|
1564
|
+
private http;
|
|
1565
|
+
private baseUrl;
|
|
1566
|
+
constructor(configuration: IAccessTokenProvider, baseUrl?: string, http?: {
|
|
1567
|
+
fetch(url: RequestInfo, init?: RequestInit): Promise<Response>;
|
|
1568
|
+
});
|
|
1569
|
+
listSupplierInvites(): Promise<SupplierInviteDto[]>;
|
|
1570
|
+
protected processListSupplierInvites(response: Response): Promise<SupplierInviteDto[]>;
|
|
1571
|
+
createSupplierInvite(request: CreateSupplierInvite): Promise<SupplierInviteDto>;
|
|
1572
|
+
protected processCreateSupplierInvite(response: Response): Promise<SupplierInviteDto>;
|
|
1573
|
+
deleteSupplierInvite(id: string): Promise<void>;
|
|
1574
|
+
protected processDeleteSupplierInvite(response: Response): Promise<void>;
|
|
1575
|
+
listSuppliers(): Promise<ExternalSupplierDto[]>;
|
|
1576
|
+
protected processListSuppliers(response: Response): Promise<ExternalSupplierDto[]>;
|
|
1577
|
+
deleteSupplier(id: string): Promise<void>;
|
|
1578
|
+
protected processDeleteSupplier(response: Response): Promise<void>;
|
|
1579
|
+
importSupplier(importSupplier: ImportSupplier): Promise<ExternalSupplierDto>;
|
|
1580
|
+
protected processImportSupplier(response: Response): Promise<ExternalSupplierDto>;
|
|
1581
|
+
/**
|
|
1582
|
+
* Creates a mapping between old supplier id and new supplier id.
|
|
1583
|
+
*/
|
|
1584
|
+
createSupplierMapping(request: CreateSupplierMapping): Promise<void>;
|
|
1585
|
+
protected processCreateSupplierMapping(response: Response): Promise<void>;
|
|
1586
|
+
/**
|
|
1587
|
+
* Delete all supplier mappings between old supplier ids and new supplier ids.
|
|
1588
|
+
*/
|
|
1589
|
+
deleteSupplierMappings(): Promise<void>;
|
|
1590
|
+
protected processDeleteSupplierMappings(response: Response): Promise<void>;
|
|
1591
|
+
}
|
|
1502
1592
|
export interface ICncFileTransferClient {
|
|
1503
1593
|
startCncMachineOperationTransferToCloud(id: string): Promise<CncMachineTransferDto>;
|
|
1504
1594
|
startCncMachineOperationTransferToMachine(id: string, request: TransferToMachineRequest | undefined): Promise<CncMachineTransferDto>;
|
|
@@ -2885,22 +2975,22 @@ export declare class MeasurementFormsInstancesAdminClient extends AuthorizedApiB
|
|
|
2885
2975
|
protected processExportDimensionReportValues(response: Response): Promise<DownloadDto>;
|
|
2886
2976
|
}
|
|
2887
2977
|
export interface IMeasurementFormsInstancesClient {
|
|
2888
|
-
listMeasurementForms(pageSize: number | undefined, search: string | null | undefined, continuationToken: string | null | undefined, inactive: boolean | null | undefined, includeInactiveSupplierAccess: boolean | null | undefined): Promise<PagedResultOfMeasurementFormInstanceOverviewDto>;
|
|
2978
|
+
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>;
|
|
2889
2979
|
postListMeasurementForms(request: ListMeasurementFormsRequest | undefined): Promise<PagedResultOfMeasurementFormInstanceOverviewDto>;
|
|
2890
|
-
getMeasurementFormInstance(id: string): Promise<MeasurementFormInstanceDto>;
|
|
2980
|
+
getMeasurementFormInstance(id: string, tenantId: string | null | undefined): Promise<MeasurementFormInstanceDto>;
|
|
2891
2981
|
listMeasurementFormInstanceFeedback(id: string): Promise<MeasurementFormInstanceFeedbackDto[]>;
|
|
2892
|
-
completeMeasurementFormInstance(id: string): Promise<MeasurementFormInstanceDto>;
|
|
2893
|
-
completeMeasurementFormInstanceV2(id: string): Promise<CompleteMeasurementFormInstanceResult>;
|
|
2894
|
-
getMeasurementFormInstanceSchema(id: string, schemaId: string, serialNumber: string | null | undefined): Promise<MeasurementFormInstanceSchemaDto>;
|
|
2895
|
-
getWorkorderMeasurementFormProgress(id: string): Promise<MeasurementFormInstanceProgressDto>;
|
|
2896
|
-
getAuditLog(id: string, schemaId: string | null | undefined, serialNumber: string | null | undefined, elementId: string | null | undefined): Promise<MeasurementFormElementValueAuditDto[]>;
|
|
2982
|
+
completeMeasurementFormInstance(id: string, tenantId: string | null | undefined): Promise<MeasurementFormInstanceDto>;
|
|
2983
|
+
completeMeasurementFormInstanceV2(id: string, tenantId: string | null | undefined): Promise<CompleteMeasurementFormInstanceResult>;
|
|
2984
|
+
getMeasurementFormInstanceSchema(id: string, schemaId: string, serialNumber: string | null | undefined, tenantId: string | null | undefined): Promise<MeasurementFormInstanceSchemaDto>;
|
|
2985
|
+
getWorkorderMeasurementFormProgress(id: string, tenantId: string | null | undefined): Promise<MeasurementFormInstanceProgressDto>;
|
|
2986
|
+
getAuditLog(id: string, tenantId: string | null | undefined, schemaId: string | null | undefined, serialNumber: string | null | undefined, elementId: string | null | undefined): Promise<MeasurementFormElementValueAuditDto[]>;
|
|
2897
2987
|
getValidationRules(): Promise<ValidationRuleDto[]>;
|
|
2898
|
-
saveValue(id: string, request: SaveValueRequest): Promise<SaveValueResponseDto>;
|
|
2899
|
-
saveTool(id: string, request: SaveToolRequest): Promise<SaveValueResponseDto>;
|
|
2900
|
-
saveComment(id: string, request: SaveCommentRequest): Promise<void>;
|
|
2901
|
-
batchInsertValues(id: string, request: BatchInsertValueRequest): Promise<BatchInsertValuesResponseDto>;
|
|
2902
|
-
saveMeasurementFormInstanceSchemaComment(id: string, schemaId: string, request: SaveMeasurementFormInstanceSchemaCommentRequest): Promise<void>;
|
|
2903
|
-
createMeasurementFormInstanceSchemaFeedback(id: string, schemaId: string, request: CreateMeasurementFormSchemaFeedbackRequest): Promise<SchemaFeedbackCreatedDto>;
|
|
2988
|
+
saveValue(id: string, tenantId: string | null | undefined, request: SaveValueRequest): Promise<SaveValueResponseDto>;
|
|
2989
|
+
saveTool(id: string, tenantId: string | null | undefined, request: SaveToolRequest): Promise<SaveValueResponseDto>;
|
|
2990
|
+
saveComment(id: string, tenantId: string | null | undefined, request: SaveCommentRequest): Promise<void>;
|
|
2991
|
+
batchInsertValues(id: string, tenantId: string | null | undefined, request: BatchInsertValueRequest): Promise<BatchInsertValuesResponseDto>;
|
|
2992
|
+
saveMeasurementFormInstanceSchemaComment(id: string, schemaId: string, tenantId: string | null | undefined, request: SaveMeasurementFormInstanceSchemaCommentRequest): Promise<void>;
|
|
2993
|
+
createMeasurementFormInstanceSchemaFeedback(id: string, schemaId: string, tenantId: string | null | undefined, request: CreateMeasurementFormSchemaFeedbackRequest): Promise<SchemaFeedbackCreatedDto>;
|
|
2904
2994
|
listSupplierMeasurementFormInstances(supplierId: string): Promise<MeasurementFormSupplierAccessInstanceDto[]>;
|
|
2905
2995
|
upsertSupplierToMeasurmentFormInstance(id: string, supplierId: string, request: UpsertSupplierToMeasurementFormInstanceRequest): Promise<void>;
|
|
2906
2996
|
removeSupplierFromMeasurmentFormInstance(id: string, supplierId: string): Promise<void>;
|
|
@@ -2916,37 +3006,37 @@ export declare class MeasurementFormsInstancesClient extends AuthorizedApiBase i
|
|
|
2916
3006
|
constructor(configuration: IAccessTokenProvider, baseUrl?: string, http?: {
|
|
2917
3007
|
fetch(url: RequestInfo, init?: RequestInit): Promise<Response>;
|
|
2918
3008
|
});
|
|
2919
|
-
listMeasurementForms(pageSize: number | undefined, search: string | null | undefined, continuationToken: string | null | undefined, inactive: boolean | null | undefined, includeInactiveSupplierAccess: boolean | null | undefined): Promise<PagedResultOfMeasurementFormInstanceOverviewDto>;
|
|
3009
|
+
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>;
|
|
2920
3010
|
protected processListMeasurementForms(response: Response): Promise<PagedResultOfMeasurementFormInstanceOverviewDto>;
|
|
2921
3011
|
postListMeasurementForms(request: ListMeasurementFormsRequest | undefined): Promise<PagedResultOfMeasurementFormInstanceOverviewDto>;
|
|
2922
3012
|
protected processPostListMeasurementForms(response: Response): Promise<PagedResultOfMeasurementFormInstanceOverviewDto>;
|
|
2923
|
-
getMeasurementFormInstance(id: string): Promise<MeasurementFormInstanceDto>;
|
|
3013
|
+
getMeasurementFormInstance(id: string, tenantId: string | null | undefined): Promise<MeasurementFormInstanceDto>;
|
|
2924
3014
|
protected processGetMeasurementFormInstance(response: Response): Promise<MeasurementFormInstanceDto>;
|
|
2925
3015
|
listMeasurementFormInstanceFeedback(id: string): Promise<MeasurementFormInstanceFeedbackDto[]>;
|
|
2926
3016
|
protected processListMeasurementFormInstanceFeedback(response: Response): Promise<MeasurementFormInstanceFeedbackDto[]>;
|
|
2927
|
-
completeMeasurementFormInstance(id: string): Promise<MeasurementFormInstanceDto>;
|
|
3017
|
+
completeMeasurementFormInstance(id: string, tenantId: string | null | undefined): Promise<MeasurementFormInstanceDto>;
|
|
2928
3018
|
protected processCompleteMeasurementFormInstance(response: Response): Promise<MeasurementFormInstanceDto>;
|
|
2929
|
-
completeMeasurementFormInstanceV2(id: string): Promise<CompleteMeasurementFormInstanceResult>;
|
|
3019
|
+
completeMeasurementFormInstanceV2(id: string, tenantId: string | null | undefined): Promise<CompleteMeasurementFormInstanceResult>;
|
|
2930
3020
|
protected processCompleteMeasurementFormInstanceV2(response: Response): Promise<CompleteMeasurementFormInstanceResult>;
|
|
2931
|
-
getMeasurementFormInstanceSchema(id: string, schemaId: string, serialNumber: string | null | undefined): Promise<MeasurementFormInstanceSchemaDto>;
|
|
3021
|
+
getMeasurementFormInstanceSchema(id: string, schemaId: string, serialNumber: string | null | undefined, tenantId: string | null | undefined): Promise<MeasurementFormInstanceSchemaDto>;
|
|
2932
3022
|
protected processGetMeasurementFormInstanceSchema(response: Response): Promise<MeasurementFormInstanceSchemaDto>;
|
|
2933
|
-
getWorkorderMeasurementFormProgress(id: string): Promise<MeasurementFormInstanceProgressDto>;
|
|
3023
|
+
getWorkorderMeasurementFormProgress(id: string, tenantId: string | null | undefined): Promise<MeasurementFormInstanceProgressDto>;
|
|
2934
3024
|
protected processGetWorkorderMeasurementFormProgress(response: Response): Promise<MeasurementFormInstanceProgressDto>;
|
|
2935
|
-
getAuditLog(id: string, schemaId: string | null | undefined, serialNumber: string | null | undefined, elementId: string | null | undefined): Promise<MeasurementFormElementValueAuditDto[]>;
|
|
3025
|
+
getAuditLog(id: string, tenantId: string | null | undefined, schemaId: string | null | undefined, serialNumber: string | null | undefined, elementId: string | null | undefined): Promise<MeasurementFormElementValueAuditDto[]>;
|
|
2936
3026
|
protected processGetAuditLog(response: Response): Promise<MeasurementFormElementValueAuditDto[]>;
|
|
2937
3027
|
getValidationRules(): Promise<ValidationRuleDto[]>;
|
|
2938
3028
|
protected processGetValidationRules(response: Response): Promise<ValidationRuleDto[]>;
|
|
2939
|
-
saveValue(id: string, request: SaveValueRequest): Promise<SaveValueResponseDto>;
|
|
3029
|
+
saveValue(id: string, tenantId: string | null | undefined, request: SaveValueRequest): Promise<SaveValueResponseDto>;
|
|
2940
3030
|
protected processSaveValue(response: Response): Promise<SaveValueResponseDto>;
|
|
2941
|
-
saveTool(id: string, request: SaveToolRequest): Promise<SaveValueResponseDto>;
|
|
3031
|
+
saveTool(id: string, tenantId: string | null | undefined, request: SaveToolRequest): Promise<SaveValueResponseDto>;
|
|
2942
3032
|
protected processSaveTool(response: Response): Promise<SaveValueResponseDto>;
|
|
2943
|
-
saveComment(id: string, request: SaveCommentRequest): Promise<void>;
|
|
3033
|
+
saveComment(id: string, tenantId: string | null | undefined, request: SaveCommentRequest): Promise<void>;
|
|
2944
3034
|
protected processSaveComment(response: Response): Promise<void>;
|
|
2945
|
-
batchInsertValues(id: string, request: BatchInsertValueRequest): Promise<BatchInsertValuesResponseDto>;
|
|
3035
|
+
batchInsertValues(id: string, tenantId: string | null | undefined, request: BatchInsertValueRequest): Promise<BatchInsertValuesResponseDto>;
|
|
2946
3036
|
protected processBatchInsertValues(response: Response): Promise<BatchInsertValuesResponseDto>;
|
|
2947
|
-
saveMeasurementFormInstanceSchemaComment(id: string, schemaId: string, request: SaveMeasurementFormInstanceSchemaCommentRequest): Promise<void>;
|
|
3037
|
+
saveMeasurementFormInstanceSchemaComment(id: string, schemaId: string, tenantId: string | null | undefined, request: SaveMeasurementFormInstanceSchemaCommentRequest): Promise<void>;
|
|
2948
3038
|
protected processSaveMeasurementFormInstanceSchemaComment(response: Response): Promise<void>;
|
|
2949
|
-
createMeasurementFormInstanceSchemaFeedback(id: string, schemaId: string, request: CreateMeasurementFormSchemaFeedbackRequest): Promise<SchemaFeedbackCreatedDto>;
|
|
3039
|
+
createMeasurementFormInstanceSchemaFeedback(id: string, schemaId: string, tenantId: string | null | undefined, request: CreateMeasurementFormSchemaFeedbackRequest): Promise<SchemaFeedbackCreatedDto>;
|
|
2950
3040
|
protected processCreateMeasurementFormInstanceSchemaFeedback(response: Response): Promise<SchemaFeedbackCreatedDto>;
|
|
2951
3041
|
listSupplierMeasurementFormInstances(supplierId: string): Promise<MeasurementFormSupplierAccessInstanceDto[]>;
|
|
2952
3042
|
protected processListSupplierMeasurementFormInstances(response: Response): Promise<MeasurementFormSupplierAccessInstanceDto[]>;
|
|
@@ -2971,7 +3061,7 @@ export interface IMeasurementFormsInstancesInstanceAdminClient {
|
|
|
2971
3061
|
createMeasurementFormInstance2(id: string, request: CreateMeasurementFormInstanceRequest): Promise<MeasurementFormInstanceDto>;
|
|
2972
3062
|
reactivateMeasurementFormInstance(id: string): Promise<MeasurementFormInstanceDto>;
|
|
2973
3063
|
cancelMeasurementFormInstance(id: string): Promise<MeasurementFormInstanceDto>;
|
|
2974
|
-
toggleSchemaInstanceElementDocumentedExternallyOverride(id: string, schemaId: string, elementId: string): Promise<void>;
|
|
3064
|
+
toggleSchemaInstanceElementDocumentedExternallyOverride(id: string, schemaId: string, elementId: string, tenantId: string | null | undefined): Promise<void>;
|
|
2975
3065
|
}
|
|
2976
3066
|
export declare class MeasurementFormsInstancesInstanceAdminClient extends AuthorizedApiBase implements IMeasurementFormsInstancesInstanceAdminClient {
|
|
2977
3067
|
private http;
|
|
@@ -2995,7 +3085,7 @@ export declare class MeasurementFormsInstancesInstanceAdminClient extends Author
|
|
|
2995
3085
|
protected processReactivateMeasurementFormInstance(response: Response): Promise<MeasurementFormInstanceDto>;
|
|
2996
3086
|
cancelMeasurementFormInstance(id: string): Promise<MeasurementFormInstanceDto>;
|
|
2997
3087
|
protected processCancelMeasurementFormInstance(response: Response): Promise<MeasurementFormInstanceDto>;
|
|
2998
|
-
toggleSchemaInstanceElementDocumentedExternallyOverride(id: string, schemaId: string, elementId: string): Promise<void>;
|
|
3088
|
+
toggleSchemaInstanceElementDocumentedExternallyOverride(id: string, schemaId: string, elementId: string, tenantId: string | null | undefined): Promise<void>;
|
|
2999
3089
|
protected processToggleSchemaInstanceElementDocumentedExternallyOverride(response: Response): Promise<void>;
|
|
3000
3090
|
}
|
|
3001
3091
|
export interface ICompaniesClient {
|
|
@@ -3335,111 +3425,6 @@ export declare class WorkordersClient extends AuthorizedApiBase implements IWork
|
|
|
3335
3425
|
generateContentPartsForDiscussions(): Promise<WorkorderDiscussionMessageDto[]>;
|
|
3336
3426
|
protected processGenerateContentPartsForDiscussions(response: Response): Promise<WorkorderDiscussionMessageDto[]>;
|
|
3337
3427
|
}
|
|
3338
|
-
export interface IExternalAccessClient {
|
|
3339
|
-
listUsers(companyId: string | null | undefined): Promise<CompanyUserDto[]>;
|
|
3340
|
-
createCompanyUser(request: CreateCompanyUser): Promise<CompanyUserDto>;
|
|
3341
|
-
updateCompanyUser(id: string, request: UpdateCompanyUserRequest): Promise<CompanyUserDto>;
|
|
3342
|
-
deleteCompanyUser(id: string, companyId: string | null | undefined): Promise<void>;
|
|
3343
|
-
migrateLegacyCompanyUsersToEntra(): Promise<CompanyUserDto[]>;
|
|
3344
|
-
listRoles(): Promise<ExternalRoleDto[]>;
|
|
3345
|
-
listCompanyCustomers(): Promise<CompanyCustomerDto[]>;
|
|
3346
|
-
deleteCompanyCustomer(tenantId: string): Promise<void>;
|
|
3347
|
-
}
|
|
3348
|
-
export declare class ExternalAccessClient extends AuthorizedApiBase implements IExternalAccessClient {
|
|
3349
|
-
private http;
|
|
3350
|
-
private baseUrl;
|
|
3351
|
-
constructor(configuration: IAccessTokenProvider, baseUrl?: string, http?: {
|
|
3352
|
-
fetch(url: RequestInfo, init?: RequestInit): Promise<Response>;
|
|
3353
|
-
});
|
|
3354
|
-
listUsers(companyId: string | null | undefined): Promise<CompanyUserDto[]>;
|
|
3355
|
-
protected processListUsers(response: Response): Promise<CompanyUserDto[]>;
|
|
3356
|
-
createCompanyUser(request: CreateCompanyUser): Promise<CompanyUserDto>;
|
|
3357
|
-
protected processCreateCompanyUser(response: Response): Promise<CompanyUserDto>;
|
|
3358
|
-
updateCompanyUser(id: string, request: UpdateCompanyUserRequest): Promise<CompanyUserDto>;
|
|
3359
|
-
protected processUpdateCompanyUser(response: Response): Promise<CompanyUserDto>;
|
|
3360
|
-
deleteCompanyUser(id: string, companyId: string | null | undefined): Promise<void>;
|
|
3361
|
-
protected processDeleteCompanyUser(response: Response): Promise<void>;
|
|
3362
|
-
migrateLegacyCompanyUsersToEntra(): Promise<CompanyUserDto[]>;
|
|
3363
|
-
protected processMigrateLegacyCompanyUsersToEntra(response: Response): Promise<CompanyUserDto[]>;
|
|
3364
|
-
listRoles(): Promise<ExternalRoleDto[]>;
|
|
3365
|
-
protected processListRoles(response: Response): Promise<ExternalRoleDto[]>;
|
|
3366
|
-
listCompanyCustomers(): Promise<CompanyCustomerDto[]>;
|
|
3367
|
-
protected processListCompanyCustomers(response: Response): Promise<CompanyCustomerDto[]>;
|
|
3368
|
-
deleteCompanyCustomer(tenantId: string): Promise<void>;
|
|
3369
|
-
protected processDeleteCompanyCustomer(response: Response): Promise<void>;
|
|
3370
|
-
}
|
|
3371
|
-
export interface IExternalClient {
|
|
3372
|
-
listCompanies(): Promise<CompanyDto[]>;
|
|
3373
|
-
getCompany(id: string): Promise<CompanyDto>;
|
|
3374
|
-
getCurrentSupplierInvite(): Promise<SupplierInviteDto>;
|
|
3375
|
-
acceptSupplierInviteNewCompany(request: AcceptSupplierInviteNewCompany): Promise<SupplierInviteDto>;
|
|
3376
|
-
acceptSupplierInviteExistingCompany(request: AcceptSupplierInviteExistingCompany): Promise<SupplierInviteDto>;
|
|
3377
|
-
acceptSupplierInviteCustomer(request: AcceptSupplierInviteCustomer): Promise<SupplierInviteDto>;
|
|
3378
|
-
listTenantsWithSuppliers(): Promise<TenantWithSupplierDto[]>;
|
|
3379
|
-
}
|
|
3380
|
-
export declare class ExternalClient extends AuthorizedApiBase implements IExternalClient {
|
|
3381
|
-
private http;
|
|
3382
|
-
private baseUrl;
|
|
3383
|
-
constructor(configuration: IAccessTokenProvider, baseUrl?: string, http?: {
|
|
3384
|
-
fetch(url: RequestInfo, init?: RequestInit): Promise<Response>;
|
|
3385
|
-
});
|
|
3386
|
-
listCompanies(): Promise<CompanyDto[]>;
|
|
3387
|
-
protected processListCompanies(response: Response): Promise<CompanyDto[]>;
|
|
3388
|
-
getCompany(id: string): Promise<CompanyDto>;
|
|
3389
|
-
protected processGetCompany(response: Response): Promise<CompanyDto>;
|
|
3390
|
-
getCurrentSupplierInvite(): Promise<SupplierInviteDto>;
|
|
3391
|
-
protected processGetCurrentSupplierInvite(response: Response): Promise<SupplierInviteDto>;
|
|
3392
|
-
acceptSupplierInviteNewCompany(request: AcceptSupplierInviteNewCompany): Promise<SupplierInviteDto>;
|
|
3393
|
-
protected processAcceptSupplierInviteNewCompany(response: Response): Promise<SupplierInviteDto>;
|
|
3394
|
-
acceptSupplierInviteExistingCompany(request: AcceptSupplierInviteExistingCompany): Promise<SupplierInviteDto>;
|
|
3395
|
-
protected processAcceptSupplierInviteExistingCompany(response: Response): Promise<SupplierInviteDto>;
|
|
3396
|
-
acceptSupplierInviteCustomer(request: AcceptSupplierInviteCustomer): Promise<SupplierInviteDto>;
|
|
3397
|
-
protected processAcceptSupplierInviteCustomer(response: Response): Promise<SupplierInviteDto>;
|
|
3398
|
-
listTenantsWithSuppliers(): Promise<TenantWithSupplierDto[]>;
|
|
3399
|
-
protected processListTenantsWithSuppliers(response: Response): Promise<TenantWithSupplierDto[]>;
|
|
3400
|
-
}
|
|
3401
|
-
export interface ISuppliersClient {
|
|
3402
|
-
listSupplierInvites(): Promise<SupplierInviteDto[]>;
|
|
3403
|
-
createSupplierInvite(request: CreateSupplierInviteRequest): Promise<SupplierInviteDto>;
|
|
3404
|
-
deleteSupplierInvite(id: string): Promise<void>;
|
|
3405
|
-
listSuppliers(): Promise<ExternalSupplierDto[]>;
|
|
3406
|
-
deleteSupplier(id: string): Promise<void>;
|
|
3407
|
-
/**
|
|
3408
|
-
* Creates a mapping between old supplier id and new supplier id.
|
|
3409
|
-
*/
|
|
3410
|
-
createSupplierMapping(request: CreateSupplierMapping): Promise<void>;
|
|
3411
|
-
/**
|
|
3412
|
-
* Delete all supplier mappings between old supplier ids and new supplier ids.
|
|
3413
|
-
*/
|
|
3414
|
-
deleteSupplierMappings(): Promise<void>;
|
|
3415
|
-
}
|
|
3416
|
-
export declare class SuppliersClient extends AuthorizedApiBase implements ISuppliersClient {
|
|
3417
|
-
private http;
|
|
3418
|
-
private baseUrl;
|
|
3419
|
-
constructor(configuration: IAccessTokenProvider, baseUrl?: string, http?: {
|
|
3420
|
-
fetch(url: RequestInfo, init?: RequestInit): Promise<Response>;
|
|
3421
|
-
});
|
|
3422
|
-
listSupplierInvites(): Promise<SupplierInviteDto[]>;
|
|
3423
|
-
protected processListSupplierInvites(response: Response): Promise<SupplierInviteDto[]>;
|
|
3424
|
-
createSupplierInvite(request: CreateSupplierInviteRequest): Promise<SupplierInviteDto>;
|
|
3425
|
-
protected processCreateSupplierInvite(response: Response): Promise<SupplierInviteDto>;
|
|
3426
|
-
deleteSupplierInvite(id: string): Promise<void>;
|
|
3427
|
-
protected processDeleteSupplierInvite(response: Response): Promise<void>;
|
|
3428
|
-
listSuppliers(): Promise<ExternalSupplierDto[]>;
|
|
3429
|
-
protected processListSuppliers(response: Response): Promise<ExternalSupplierDto[]>;
|
|
3430
|
-
deleteSupplier(id: string): Promise<void>;
|
|
3431
|
-
protected processDeleteSupplier(response: Response): Promise<void>;
|
|
3432
|
-
/**
|
|
3433
|
-
* Creates a mapping between old supplier id and new supplier id.
|
|
3434
|
-
*/
|
|
3435
|
-
createSupplierMapping(request: CreateSupplierMapping): Promise<void>;
|
|
3436
|
-
protected processCreateSupplierMapping(response: Response): Promise<void>;
|
|
3437
|
-
/**
|
|
3438
|
-
* Delete all supplier mappings between old supplier ids and new supplier ids.
|
|
3439
|
-
*/
|
|
3440
|
-
deleteSupplierMappings(): Promise<void>;
|
|
3441
|
-
protected processDeleteSupplierMappings(response: Response): Promise<void>;
|
|
3442
|
-
}
|
|
3443
3428
|
export interface AzureRegionDto {
|
|
3444
3429
|
displayName: string;
|
|
3445
3430
|
name: string;
|
|
@@ -3750,9 +3735,6 @@ export interface UserDetailsDto {
|
|
|
3750
3735
|
isExternalUser?: boolean;
|
|
3751
3736
|
isBetaTester?: boolean | null;
|
|
3752
3737
|
hasAccessToIgnos?: boolean;
|
|
3753
|
-
isInvitedUser?: boolean;
|
|
3754
|
-
isSupplier?: boolean;
|
|
3755
|
-
companyId?: string | null;
|
|
3756
3738
|
}
|
|
3757
3739
|
export interface UserDto {
|
|
3758
3740
|
id?: string | null;
|
|
@@ -4745,6 +4727,7 @@ export interface MrbContentDto {
|
|
|
4745
4727
|
traceNumbers: CustomerOrderLineTraceItemDto[];
|
|
4746
4728
|
contents: MrbContentItemDto[];
|
|
4747
4729
|
extraDocuments: MrbExtraDocumentDto[];
|
|
4730
|
+
documentStatus: MrbContentDocumentStatusDto;
|
|
4748
4731
|
}
|
|
4749
4732
|
export interface MrbContentItemDto {
|
|
4750
4733
|
id: string;
|
|
@@ -4753,8 +4736,10 @@ export interface MrbContentItemDto {
|
|
|
4753
4736
|
included: boolean;
|
|
4754
4737
|
documentType: string;
|
|
4755
4738
|
templatePageNumber?: number | null;
|
|
4756
|
-
url: string;
|
|
4739
|
+
url: string | null;
|
|
4757
4740
|
elementType: MrbElementType;
|
|
4741
|
+
required: boolean;
|
|
4742
|
+
missing: boolean;
|
|
4758
4743
|
}
|
|
4759
4744
|
export type MrbElementType = "MrbTemplatePage" | "MrbGeneratedDocuments" | "MrbChapter" | "MrbChapterDocuments" | "MrbProduct";
|
|
4760
4745
|
export interface MrbExtraDocumentDto {
|
|
@@ -4764,6 +4749,12 @@ export interface MrbExtraDocumentDto {
|
|
|
4764
4749
|
url: string;
|
|
4765
4750
|
documentType: string;
|
|
4766
4751
|
}
|
|
4752
|
+
export interface MrbContentDocumentStatusDto {
|
|
4753
|
+
total: number;
|
|
4754
|
+
ready: number;
|
|
4755
|
+
missing: number;
|
|
4756
|
+
optional: number;
|
|
4757
|
+
}
|
|
4767
4758
|
export interface MrbPdfExportJobDto {
|
|
4768
4759
|
jobId: string;
|
|
4769
4760
|
mrbInstanceId: string;
|
|
@@ -5720,6 +5711,97 @@ export interface DocumentGeneratorTypeDto {
|
|
|
5720
5711
|
key: string;
|
|
5721
5712
|
description: string;
|
|
5722
5713
|
}
|
|
5714
|
+
export interface CompanyUserDto {
|
|
5715
|
+
companyId?: string | null;
|
|
5716
|
+
username?: string | null;
|
|
5717
|
+
name?: string | null;
|
|
5718
|
+
roles?: string[] | null;
|
|
5719
|
+
}
|
|
5720
|
+
export interface CreateCompanyUserRequest {
|
|
5721
|
+
username: string;
|
|
5722
|
+
name: string;
|
|
5723
|
+
roles: string[];
|
|
5724
|
+
companyId?: string | null;
|
|
5725
|
+
}
|
|
5726
|
+
export interface UpdateCompanyUserRequest {
|
|
5727
|
+
name: string;
|
|
5728
|
+
roles: string[];
|
|
5729
|
+
companyId?: string | null;
|
|
5730
|
+
}
|
|
5731
|
+
export interface ExternalRoleDto {
|
|
5732
|
+
id: string;
|
|
5733
|
+
name: string;
|
|
5734
|
+
}
|
|
5735
|
+
export interface CompanyCustomerDto {
|
|
5736
|
+
customerTenantId?: string | null;
|
|
5737
|
+
customerAzureAdTenantId?: string | null;
|
|
5738
|
+
customerName?: string | null;
|
|
5739
|
+
supplierId?: string | null;
|
|
5740
|
+
supplierName?: string | null;
|
|
5741
|
+
}
|
|
5742
|
+
export interface InviteDto {
|
|
5743
|
+
tenantId: string;
|
|
5744
|
+
companyName: string;
|
|
5745
|
+
id: string;
|
|
5746
|
+
supplierId: string;
|
|
5747
|
+
supplierName: string;
|
|
5748
|
+
username: string;
|
|
5749
|
+
deadline: Date;
|
|
5750
|
+
createdTime: Date;
|
|
5751
|
+
createdBy: string;
|
|
5752
|
+
}
|
|
5753
|
+
export interface CompanyDto {
|
|
5754
|
+
id?: string | null;
|
|
5755
|
+
name?: string | null;
|
|
5756
|
+
organizationNumber?: string | null;
|
|
5757
|
+
country?: string | null;
|
|
5758
|
+
tenantId?: string | null;
|
|
5759
|
+
}
|
|
5760
|
+
export interface AcceptSupplierInviteRequest {
|
|
5761
|
+
tenantId: string;
|
|
5762
|
+
existingCompanyId?: string | null;
|
|
5763
|
+
companyName?: string | null;
|
|
5764
|
+
organizationNumber?: string | null;
|
|
5765
|
+
threeLetterIsoCountry?: string | null;
|
|
5766
|
+
}
|
|
5767
|
+
export interface SupplierInviteDto {
|
|
5768
|
+
id: string;
|
|
5769
|
+
supplierId: string;
|
|
5770
|
+
name: string;
|
|
5771
|
+
username: string;
|
|
5772
|
+
deadline: Date;
|
|
5773
|
+
createdTime: Date;
|
|
5774
|
+
createdBy: string;
|
|
5775
|
+
}
|
|
5776
|
+
export interface CreateSupplierInvite {
|
|
5777
|
+
supplierId: string;
|
|
5778
|
+
name: string;
|
|
5779
|
+
username: string;
|
|
5780
|
+
deadline: Date;
|
|
5781
|
+
}
|
|
5782
|
+
export interface ExternalSupplierDto {
|
|
5783
|
+
id: string;
|
|
5784
|
+
name: string;
|
|
5785
|
+
companyId: string;
|
|
5786
|
+
active: boolean;
|
|
5787
|
+
}
|
|
5788
|
+
export interface ImportSupplier {
|
|
5789
|
+
supplierId: string;
|
|
5790
|
+
name: string;
|
|
5791
|
+
organizationNumber?: string | null;
|
|
5792
|
+
threeLetterIsoCountry: string;
|
|
5793
|
+
users: ImportSupplierUserDto[];
|
|
5794
|
+
}
|
|
5795
|
+
export interface ImportSupplierUserDto {
|
|
5796
|
+
username: string;
|
|
5797
|
+
name: string;
|
|
5798
|
+
roles: string[];
|
|
5799
|
+
}
|
|
5800
|
+
export interface CreateSupplierMapping {
|
|
5801
|
+
companyId: string;
|
|
5802
|
+
existingSupplierId: string;
|
|
5803
|
+
newSupplierId: string;
|
|
5804
|
+
}
|
|
5723
5805
|
export interface CncMachineTransferDto {
|
|
5724
5806
|
id: string;
|
|
5725
5807
|
cncMachineOperationId?: string | null;
|
|
@@ -8953,6 +9035,7 @@ export interface ListMeasurementFormsRequest {
|
|
|
8953
9035
|
pageSize?: number | null;
|
|
8954
9036
|
search?: string | null;
|
|
8955
9037
|
continuationToken?: string | null;
|
|
9038
|
+
tenantId?: string | null;
|
|
8956
9039
|
inactive?: boolean | null;
|
|
8957
9040
|
includeInactiveSupplierAccess?: boolean | null;
|
|
8958
9041
|
}
|
|
@@ -9148,6 +9231,7 @@ export interface UpsertSupplierToMeasurementFormInstanceRequest {
|
|
|
9148
9231
|
externalOrderNumber?: string | null;
|
|
9149
9232
|
}
|
|
9150
9233
|
export interface ExportDimensionReportV2Request {
|
|
9234
|
+
tenantId?: string | null;
|
|
9151
9235
|
type: DimensionReportType;
|
|
9152
9236
|
extras?: DimensionReportExtras | null;
|
|
9153
9237
|
specificSerialNumbers?: string[] | null;
|
|
@@ -9488,87 +9572,6 @@ export interface SetDiscussionLastReadRequest {
|
|
|
9488
9572
|
operationId?: string | null;
|
|
9489
9573
|
resourceId?: string | null;
|
|
9490
9574
|
}
|
|
9491
|
-
export interface CompanyUserDto {
|
|
9492
|
-
companyId: string;
|
|
9493
|
-
userObjectId: string;
|
|
9494
|
-
username?: string | null;
|
|
9495
|
-
name?: string | null;
|
|
9496
|
-
roles: string[];
|
|
9497
|
-
}
|
|
9498
|
-
export interface CreateCompanyUser {
|
|
9499
|
-
username: string;
|
|
9500
|
-
name: string;
|
|
9501
|
-
roles: string[];
|
|
9502
|
-
companyId?: string | null;
|
|
9503
|
-
}
|
|
9504
|
-
export interface UpdateCompanyUserRequest {
|
|
9505
|
-
roles: string[];
|
|
9506
|
-
companyId?: string | null;
|
|
9507
|
-
}
|
|
9508
|
-
export interface ExternalRoleDto {
|
|
9509
|
-
id: string;
|
|
9510
|
-
name: string;
|
|
9511
|
-
}
|
|
9512
|
-
export interface CompanyCustomerDto {
|
|
9513
|
-
customerTenantId?: string | null;
|
|
9514
|
-
customerAzureAdTenantId?: string | null;
|
|
9515
|
-
customerName?: string | null;
|
|
9516
|
-
supplierId?: string | null;
|
|
9517
|
-
supplierName?: string | null;
|
|
9518
|
-
customerIgnosPortalPrefix?: string | null;
|
|
9519
|
-
}
|
|
9520
|
-
export interface CompanyDto {
|
|
9521
|
-
id: string;
|
|
9522
|
-
name: string;
|
|
9523
|
-
organizationNumber?: string | null;
|
|
9524
|
-
country: string;
|
|
9525
|
-
tenantId?: string | null;
|
|
9526
|
-
}
|
|
9527
|
-
export interface SupplierInviteDto {
|
|
9528
|
-
id: string;
|
|
9529
|
-
supplierId: string;
|
|
9530
|
-
supplierName?: string | null;
|
|
9531
|
-
customerName?: string | null;
|
|
9532
|
-
userId: string;
|
|
9533
|
-
userName?: string | null;
|
|
9534
|
-
acceptedTimestamp?: Date | null;
|
|
9535
|
-
createdTime: Date;
|
|
9536
|
-
createdBy: string;
|
|
9537
|
-
}
|
|
9538
|
-
export interface AcceptSupplierInviteNewCompany {
|
|
9539
|
-
companyName?: string;
|
|
9540
|
-
organizationNumber?: string;
|
|
9541
|
-
threeLetterIsoCountry?: string;
|
|
9542
|
-
}
|
|
9543
|
-
export interface AcceptSupplierInviteExistingCompany {
|
|
9544
|
-
companyId?: string;
|
|
9545
|
-
}
|
|
9546
|
-
export interface AcceptSupplierInviteCustomer {
|
|
9547
|
-
tenantId?: string;
|
|
9548
|
-
organizationNumber?: string;
|
|
9549
|
-
}
|
|
9550
|
-
export interface TenantWithSupplierDto {
|
|
9551
|
-
tenantId: string;
|
|
9552
|
-
customerName: string;
|
|
9553
|
-
supplierTenantEntraId: string;
|
|
9554
|
-
}
|
|
9555
|
-
export interface CreateSupplierInviteRequest {
|
|
9556
|
-
supplierId: string;
|
|
9557
|
-
supplierName?: string | null;
|
|
9558
|
-
username: string;
|
|
9559
|
-
invitedName: string;
|
|
9560
|
-
}
|
|
9561
|
-
export interface ExternalSupplierDto {
|
|
9562
|
-
id: string;
|
|
9563
|
-
name: string;
|
|
9564
|
-
companyId: string;
|
|
9565
|
-
active: boolean;
|
|
9566
|
-
}
|
|
9567
|
-
export interface CreateSupplierMapping {
|
|
9568
|
-
companyId: string;
|
|
9569
|
-
existingSupplierId: string;
|
|
9570
|
-
newSupplierId: string;
|
|
9571
|
-
}
|
|
9572
9575
|
export type FeatureCollectionType = "FeatureCollection";
|
|
9573
9576
|
export interface Features {
|
|
9574
9577
|
type: FeaturesType;
|