@ignos/api-client 20260612.151.1-alpha → 20260615.153.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 +229 -214
- package/lib/ignosportal-api.js +4347 -4141
- package/package.json +1 -1
- package/src/ignosportal-api.ts +6144 -5933
package/lib/ignosportal-api.d.ts
CHANGED
|
@@ -127,6 +127,7 @@ 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>;
|
|
130
131
|
}
|
|
131
132
|
export declare class GuestsClient extends AuthorizedApiBase implements IGuestsClient {
|
|
132
133
|
private http;
|
|
@@ -136,6 +137,8 @@ export declare class GuestsClient extends AuthorizedApiBase implements IGuestsCl
|
|
|
136
137
|
});
|
|
137
138
|
getGuestLoginInfo(search: string | undefined): Promise<GuestLoginInfoDto>;
|
|
138
139
|
protected processGetGuestLoginInfo(response: Response): Promise<GuestLoginInfoDto>;
|
|
140
|
+
getSupplierLoginInfo(search: string | undefined): Promise<GuestLoginInfoDto>;
|
|
141
|
+
protected processGetSupplierLoginInfo(response: Response): Promise<GuestLoginInfoDto>;
|
|
139
142
|
}
|
|
140
143
|
export interface IPresentationClient {
|
|
141
144
|
getComponentSettings(componentId: string): Promise<ComponentSettingsDto>;
|
|
@@ -1499,99 +1502,6 @@ export declare class DocumentTypesClient extends AuthorizedApiBase implements ID
|
|
|
1499
1502
|
listDocumentGenerators(): Promise<DocumentGeneratorTypeDto[]>;
|
|
1500
1503
|
protected processListDocumentGenerators(response: Response): Promise<DocumentGeneratorTypeDto[]>;
|
|
1501
1504
|
}
|
|
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
|
-
}
|
|
1595
1505
|
export interface ICncFileTransferClient {
|
|
1596
1506
|
startCncMachineOperationTransferToCloud(id: string): Promise<CncMachineTransferDto>;
|
|
1597
1507
|
startCncMachineOperationTransferToMachine(id: string, request: TransferToMachineRequest | undefined): Promise<CncMachineTransferDto>;
|
|
@@ -2996,22 +2906,22 @@ export declare class MeasurementFormsInstancesAdminClient extends AuthorizedApiB
|
|
|
2996
2906
|
protected processExportDimensionReportValues(response: Response): Promise<DownloadDto>;
|
|
2997
2907
|
}
|
|
2998
2908
|
export interface IMeasurementFormsInstancesClient {
|
|
2999
|
-
listMeasurementForms(pageSize: number | undefined, search: string | null | undefined, continuationToken: string | null | undefined,
|
|
2909
|
+
listMeasurementForms(pageSize: number | undefined, search: string | null | undefined, continuationToken: string | null | undefined, inactive: boolean | null | undefined, includeInactiveSupplierAccess: boolean | null | undefined): Promise<PagedResultOfMeasurementFormInstanceOverviewDto>;
|
|
3000
2910
|
postListMeasurementForms(request: ListMeasurementFormsRequest | undefined): Promise<PagedResultOfMeasurementFormInstanceOverviewDto>;
|
|
3001
|
-
getMeasurementFormInstance(id: string
|
|
2911
|
+
getMeasurementFormInstance(id: string): Promise<MeasurementFormInstanceDto>;
|
|
3002
2912
|
listMeasurementFormInstanceFeedback(id: string): Promise<MeasurementFormInstanceFeedbackDto[]>;
|
|
3003
|
-
completeMeasurementFormInstance(id: string
|
|
3004
|
-
completeMeasurementFormInstanceV2(id: string
|
|
3005
|
-
getMeasurementFormInstanceSchema(id: string, schemaId: string, serialNumber: string | null | undefined
|
|
3006
|
-
getWorkorderMeasurementFormProgress(id: string
|
|
3007
|
-
getAuditLog(id: string,
|
|
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[]>;
|
|
3008
2918
|
getValidationRules(): Promise<ValidationRuleDto[]>;
|
|
3009
|
-
saveValue(id: string,
|
|
3010
|
-
saveTool(id: string,
|
|
3011
|
-
saveComment(id: string,
|
|
3012
|
-
batchInsertValues(id: string,
|
|
3013
|
-
saveMeasurementFormInstanceSchemaComment(id: string, schemaId: string,
|
|
3014
|
-
createMeasurementFormInstanceSchemaFeedback(id: string, schemaId: string,
|
|
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>;
|
|
3015
2925
|
listSupplierMeasurementFormInstances(supplierId: string): Promise<MeasurementFormSupplierAccessInstanceDto[]>;
|
|
3016
2926
|
upsertSupplierToMeasurmentFormInstance(id: string, supplierId: string, request: UpsertSupplierToMeasurementFormInstanceRequest): Promise<void>;
|
|
3017
2927
|
removeSupplierFromMeasurmentFormInstance(id: string, supplierId: string): Promise<void>;
|
|
@@ -3027,37 +2937,37 @@ export declare class MeasurementFormsInstancesClient extends AuthorizedApiBase i
|
|
|
3027
2937
|
constructor(configuration: IApiClientConfig, baseUrl?: string, http?: {
|
|
3028
2938
|
fetch(url: RequestInfo, init?: RequestInit): Promise<Response>;
|
|
3029
2939
|
});
|
|
3030
|
-
listMeasurementForms(pageSize: number | undefined, search: string | null | undefined, continuationToken: string | null | undefined,
|
|
2940
|
+
listMeasurementForms(pageSize: number | undefined, search: string | null | undefined, continuationToken: string | null | undefined, inactive: boolean | null | undefined, includeInactiveSupplierAccess: boolean | null | undefined): Promise<PagedResultOfMeasurementFormInstanceOverviewDto>;
|
|
3031
2941
|
protected processListMeasurementForms(response: Response): Promise<PagedResultOfMeasurementFormInstanceOverviewDto>;
|
|
3032
2942
|
postListMeasurementForms(request: ListMeasurementFormsRequest | undefined): Promise<PagedResultOfMeasurementFormInstanceOverviewDto>;
|
|
3033
2943
|
protected processPostListMeasurementForms(response: Response): Promise<PagedResultOfMeasurementFormInstanceOverviewDto>;
|
|
3034
|
-
getMeasurementFormInstance(id: string
|
|
2944
|
+
getMeasurementFormInstance(id: string): Promise<MeasurementFormInstanceDto>;
|
|
3035
2945
|
protected processGetMeasurementFormInstance(response: Response): Promise<MeasurementFormInstanceDto>;
|
|
3036
2946
|
listMeasurementFormInstanceFeedback(id: string): Promise<MeasurementFormInstanceFeedbackDto[]>;
|
|
3037
2947
|
protected processListMeasurementFormInstanceFeedback(response: Response): Promise<MeasurementFormInstanceFeedbackDto[]>;
|
|
3038
|
-
completeMeasurementFormInstance(id: string
|
|
2948
|
+
completeMeasurementFormInstance(id: string): Promise<MeasurementFormInstanceDto>;
|
|
3039
2949
|
protected processCompleteMeasurementFormInstance(response: Response): Promise<MeasurementFormInstanceDto>;
|
|
3040
|
-
completeMeasurementFormInstanceV2(id: string
|
|
2950
|
+
completeMeasurementFormInstanceV2(id: string): Promise<CompleteMeasurementFormInstanceResult>;
|
|
3041
2951
|
protected processCompleteMeasurementFormInstanceV2(response: Response): Promise<CompleteMeasurementFormInstanceResult>;
|
|
3042
|
-
getMeasurementFormInstanceSchema(id: string, schemaId: string, serialNumber: string | null | undefined
|
|
2952
|
+
getMeasurementFormInstanceSchema(id: string, schemaId: string, serialNumber: string | null | undefined): Promise<MeasurementFormInstanceSchemaDto>;
|
|
3043
2953
|
protected processGetMeasurementFormInstanceSchema(response: Response): Promise<MeasurementFormInstanceSchemaDto>;
|
|
3044
|
-
getWorkorderMeasurementFormProgress(id: string
|
|
2954
|
+
getWorkorderMeasurementFormProgress(id: string): Promise<MeasurementFormInstanceProgressDto>;
|
|
3045
2955
|
protected processGetWorkorderMeasurementFormProgress(response: Response): Promise<MeasurementFormInstanceProgressDto>;
|
|
3046
|
-
getAuditLog(id: string,
|
|
2956
|
+
getAuditLog(id: string, schemaId: string | null | undefined, serialNumber: string | null | undefined, elementId: string | null | undefined): Promise<MeasurementFormElementValueAuditDto[]>;
|
|
3047
2957
|
protected processGetAuditLog(response: Response): Promise<MeasurementFormElementValueAuditDto[]>;
|
|
3048
2958
|
getValidationRules(): Promise<ValidationRuleDto[]>;
|
|
3049
2959
|
protected processGetValidationRules(response: Response): Promise<ValidationRuleDto[]>;
|
|
3050
|
-
saveValue(id: string,
|
|
2960
|
+
saveValue(id: string, request: SaveValueRequest): Promise<SaveValueResponseDto>;
|
|
3051
2961
|
protected processSaveValue(response: Response): Promise<SaveValueResponseDto>;
|
|
3052
|
-
saveTool(id: string,
|
|
2962
|
+
saveTool(id: string, request: SaveToolRequest): Promise<SaveValueResponseDto>;
|
|
3053
2963
|
protected processSaveTool(response: Response): Promise<SaveValueResponseDto>;
|
|
3054
|
-
saveComment(id: string,
|
|
2964
|
+
saveComment(id: string, request: SaveCommentRequest): Promise<void>;
|
|
3055
2965
|
protected processSaveComment(response: Response): Promise<void>;
|
|
3056
|
-
batchInsertValues(id: string,
|
|
2966
|
+
batchInsertValues(id: string, request: BatchInsertValueRequest): Promise<BatchInsertValuesResponseDto>;
|
|
3057
2967
|
protected processBatchInsertValues(response: Response): Promise<BatchInsertValuesResponseDto>;
|
|
3058
|
-
saveMeasurementFormInstanceSchemaComment(id: string, schemaId: string,
|
|
2968
|
+
saveMeasurementFormInstanceSchemaComment(id: string, schemaId: string, request: SaveMeasurementFormInstanceSchemaCommentRequest): Promise<void>;
|
|
3059
2969
|
protected processSaveMeasurementFormInstanceSchemaComment(response: Response): Promise<void>;
|
|
3060
|
-
createMeasurementFormInstanceSchemaFeedback(id: string, schemaId: string,
|
|
2970
|
+
createMeasurementFormInstanceSchemaFeedback(id: string, schemaId: string, request: CreateMeasurementFormSchemaFeedbackRequest): Promise<SchemaFeedbackCreatedDto>;
|
|
3061
2971
|
protected processCreateMeasurementFormInstanceSchemaFeedback(response: Response): Promise<SchemaFeedbackCreatedDto>;
|
|
3062
2972
|
listSupplierMeasurementFormInstances(supplierId: string): Promise<MeasurementFormSupplierAccessInstanceDto[]>;
|
|
3063
2973
|
protected processListSupplierMeasurementFormInstances(response: Response): Promise<MeasurementFormSupplierAccessInstanceDto[]>;
|
|
@@ -3082,7 +2992,7 @@ export interface IMeasurementFormsInstancesInstanceAdminClient {
|
|
|
3082
2992
|
createMeasurementFormInstance2(id: string, request: CreateMeasurementFormInstanceRequest): Promise<MeasurementFormInstanceDto>;
|
|
3083
2993
|
reactivateMeasurementFormInstance(id: string): Promise<MeasurementFormInstanceDto>;
|
|
3084
2994
|
cancelMeasurementFormInstance(id: string): Promise<MeasurementFormInstanceDto>;
|
|
3085
|
-
toggleSchemaInstanceElementDocumentedExternallyOverride(id: string, schemaId: string, elementId: string
|
|
2995
|
+
toggleSchemaInstanceElementDocumentedExternallyOverride(id: string, schemaId: string, elementId: string): Promise<void>;
|
|
3086
2996
|
}
|
|
3087
2997
|
export declare class MeasurementFormsInstancesInstanceAdminClient extends AuthorizedApiBase implements IMeasurementFormsInstancesInstanceAdminClient {
|
|
3088
2998
|
private http;
|
|
@@ -3106,7 +3016,7 @@ export declare class MeasurementFormsInstancesInstanceAdminClient extends Author
|
|
|
3106
3016
|
protected processReactivateMeasurementFormInstance(response: Response): Promise<MeasurementFormInstanceDto>;
|
|
3107
3017
|
cancelMeasurementFormInstance(id: string): Promise<MeasurementFormInstanceDto>;
|
|
3108
3018
|
protected processCancelMeasurementFormInstance(response: Response): Promise<MeasurementFormInstanceDto>;
|
|
3109
|
-
toggleSchemaInstanceElementDocumentedExternallyOverride(id: string, schemaId: string, elementId: string
|
|
3019
|
+
toggleSchemaInstanceElementDocumentedExternallyOverride(id: string, schemaId: string, elementId: string): Promise<void>;
|
|
3110
3020
|
protected processToggleSchemaInstanceElementDocumentedExternallyOverride(response: Response): Promise<void>;
|
|
3111
3021
|
}
|
|
3112
3022
|
export interface ICompaniesClient {
|
|
@@ -3446,6 +3356,114 @@ export declare class WorkordersClient extends AuthorizedApiBase implements IWork
|
|
|
3446
3356
|
generateContentPartsForDiscussions(): Promise<WorkorderDiscussionMessageDto[]>;
|
|
3447
3357
|
protected processGenerateContentPartsForDiscussions(response: Response): Promise<WorkorderDiscussionMessageDto[]>;
|
|
3448
3358
|
}
|
|
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
|
+
lookupOrganization(threeLetterIsoCountry: string | undefined, organizationNumber: string | undefined): Promise<OrganizationDto>;
|
|
3437
|
+
}
|
|
3438
|
+
export declare class SuppliersClient extends AuthorizedApiBase implements ISuppliersClient {
|
|
3439
|
+
private http;
|
|
3440
|
+
private baseUrl;
|
|
3441
|
+
constructor(configuration: IApiClientConfig, baseUrl?: string, http?: {
|
|
3442
|
+
fetch(url: RequestInfo, init?: RequestInit): Promise<Response>;
|
|
3443
|
+
});
|
|
3444
|
+
listSupplierInvites(): Promise<SupplierInviteDto[]>;
|
|
3445
|
+
protected processListSupplierInvites(response: Response): Promise<SupplierInviteDto[]>;
|
|
3446
|
+
createSupplierInvite(request: CreateSupplierInviteRequest): Promise<SupplierInviteDto>;
|
|
3447
|
+
protected processCreateSupplierInvite(response: Response): Promise<SupplierInviteDto>;
|
|
3448
|
+
deleteSupplierInvite(id: string): Promise<void>;
|
|
3449
|
+
protected processDeleteSupplierInvite(response: Response): Promise<void>;
|
|
3450
|
+
listSuppliers(): Promise<ExternalSupplierDto[]>;
|
|
3451
|
+
protected processListSuppliers(response: Response): Promise<ExternalSupplierDto[]>;
|
|
3452
|
+
deleteSupplier(id: string): Promise<void>;
|
|
3453
|
+
protected processDeleteSupplier(response: Response): Promise<void>;
|
|
3454
|
+
/**
|
|
3455
|
+
* Creates a mapping between old supplier id and new supplier id.
|
|
3456
|
+
*/
|
|
3457
|
+
createSupplierMapping(request: CreateSupplierMapping): Promise<void>;
|
|
3458
|
+
protected processCreateSupplierMapping(response: Response): Promise<void>;
|
|
3459
|
+
/**
|
|
3460
|
+
* Delete all supplier mappings between old supplier ids and new supplier ids.
|
|
3461
|
+
*/
|
|
3462
|
+
deleteSupplierMappings(): Promise<void>;
|
|
3463
|
+
protected processDeleteSupplierMappings(response: Response): Promise<void>;
|
|
3464
|
+
lookupOrganization(threeLetterIsoCountry: string | undefined, organizationNumber: string | undefined): Promise<OrganizationDto>;
|
|
3465
|
+
protected processLookupOrganization(response: Response): Promise<OrganizationDto>;
|
|
3466
|
+
}
|
|
3449
3467
|
export interface AzureRegionDto {
|
|
3450
3468
|
displayName: string;
|
|
3451
3469
|
name: string;
|
|
@@ -3757,6 +3775,9 @@ export interface UserDetailsDto {
|
|
|
3757
3775
|
isExternalUser?: boolean;
|
|
3758
3776
|
isBetaTester?: boolean | null;
|
|
3759
3777
|
hasAccessToIgnos?: boolean;
|
|
3778
|
+
isInvitedUser?: boolean;
|
|
3779
|
+
isSupplier?: boolean;
|
|
3780
|
+
companyId?: string | null;
|
|
3760
3781
|
}
|
|
3761
3782
|
export interface UserDto {
|
|
3762
3783
|
id?: string | null;
|
|
@@ -5735,97 +5756,6 @@ export interface DocumentGeneratorTypeDto {
|
|
|
5735
5756
|
key: string;
|
|
5736
5757
|
description: string;
|
|
5737
5758
|
}
|
|
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
|
-
}
|
|
5829
5759
|
export interface CncMachineTransferDto {
|
|
5830
5760
|
id: string;
|
|
5831
5761
|
cncMachineOperationId?: string | null;
|
|
@@ -9126,7 +9056,6 @@ export interface ListMeasurementFormsRequest {
|
|
|
9126
9056
|
pageSize?: number | null;
|
|
9127
9057
|
search?: string | null;
|
|
9128
9058
|
continuationToken?: string | null;
|
|
9129
|
-
tenantId?: string | null;
|
|
9130
9059
|
inactive?: boolean | null;
|
|
9131
9060
|
includeInactiveSupplierAccess?: boolean | null;
|
|
9132
9061
|
}
|
|
@@ -9322,7 +9251,6 @@ export interface UpsertSupplierToMeasurementFormInstanceRequest {
|
|
|
9322
9251
|
externalOrderNumber?: string | null;
|
|
9323
9252
|
}
|
|
9324
9253
|
export interface ExportDimensionReportV2Request {
|
|
9325
|
-
tenantId?: string | null;
|
|
9326
9254
|
type: DimensionReportType;
|
|
9327
9255
|
extras?: DimensionReportExtras | null;
|
|
9328
9256
|
specificSerialNumbers?: string[] | null;
|
|
@@ -9665,6 +9593,93 @@ export interface SetDiscussionLastReadRequest {
|
|
|
9665
9593
|
operationId?: string | null;
|
|
9666
9594
|
resourceId?: string | null;
|
|
9667
9595
|
}
|
|
9596
|
+
export interface CompanyUserDto {
|
|
9597
|
+
companyId: string;
|
|
9598
|
+
userObjectId: string;
|
|
9599
|
+
username?: string | null;
|
|
9600
|
+
name?: string | null;
|
|
9601
|
+
roles: string[];
|
|
9602
|
+
}
|
|
9603
|
+
export interface CreateCompanyUser {
|
|
9604
|
+
username: string;
|
|
9605
|
+
name: string;
|
|
9606
|
+
roles: string[];
|
|
9607
|
+
companyId?: string | null;
|
|
9608
|
+
}
|
|
9609
|
+
export interface UpdateCompanyUserRequest {
|
|
9610
|
+
roles: string[];
|
|
9611
|
+
companyId?: string | null;
|
|
9612
|
+
}
|
|
9613
|
+
export interface ExternalRoleDto {
|
|
9614
|
+
id: string;
|
|
9615
|
+
name: string;
|
|
9616
|
+
}
|
|
9617
|
+
export interface CompanyCustomerDto {
|
|
9618
|
+
customerTenantId?: string | null;
|
|
9619
|
+
customerAzureAdTenantId?: string | null;
|
|
9620
|
+
customerName?: string | null;
|
|
9621
|
+
supplierId?: string | null;
|
|
9622
|
+
supplierName?: string | null;
|
|
9623
|
+
customerIgnosPortalPrefix?: string | null;
|
|
9624
|
+
}
|
|
9625
|
+
export interface CompanyDto {
|
|
9626
|
+
id: string;
|
|
9627
|
+
name: string;
|
|
9628
|
+
organizationNumber?: string | null;
|
|
9629
|
+
country: string;
|
|
9630
|
+
tenantId?: string | null;
|
|
9631
|
+
}
|
|
9632
|
+
export interface SupplierInviteDto {
|
|
9633
|
+
id: string;
|
|
9634
|
+
supplierId: string;
|
|
9635
|
+
supplierName?: string | null;
|
|
9636
|
+
customerName?: string | null;
|
|
9637
|
+
userId: string;
|
|
9638
|
+
userName?: string | null;
|
|
9639
|
+
acceptedTimestamp?: Date | null;
|
|
9640
|
+
createdTime: Date;
|
|
9641
|
+
createdBy: string;
|
|
9642
|
+
}
|
|
9643
|
+
export interface AcceptSupplierInviteNewCompany {
|
|
9644
|
+
companyName?: string;
|
|
9645
|
+
organizationNumber?: string;
|
|
9646
|
+
threeLetterIsoCountry?: string;
|
|
9647
|
+
}
|
|
9648
|
+
export interface AcceptSupplierInviteExistingCompany {
|
|
9649
|
+
companyId?: string;
|
|
9650
|
+
}
|
|
9651
|
+
export interface AcceptSupplierInviteCustomer {
|
|
9652
|
+
tenantId?: string;
|
|
9653
|
+
organizationNumber?: string;
|
|
9654
|
+
}
|
|
9655
|
+
export interface TenantWithSupplierDto {
|
|
9656
|
+
tenantId: string;
|
|
9657
|
+
customerName: string;
|
|
9658
|
+
supplierTenantEntraId: string;
|
|
9659
|
+
}
|
|
9660
|
+
export interface CreateSupplierInviteRequest {
|
|
9661
|
+
supplierId: string;
|
|
9662
|
+
threeLetterIsoCountry: string;
|
|
9663
|
+
organizationNumber: string;
|
|
9664
|
+
username: string;
|
|
9665
|
+
invitedName: string;
|
|
9666
|
+
}
|
|
9667
|
+
export interface ExternalSupplierDto {
|
|
9668
|
+
id: string;
|
|
9669
|
+
name: string;
|
|
9670
|
+
companyId: string;
|
|
9671
|
+
active: boolean;
|
|
9672
|
+
}
|
|
9673
|
+
export interface CreateSupplierMapping {
|
|
9674
|
+
companyId: string;
|
|
9675
|
+
existingSupplierId: string;
|
|
9676
|
+
newSupplierId: string;
|
|
9677
|
+
}
|
|
9678
|
+
export interface OrganizationDto {
|
|
9679
|
+
name?: string;
|
|
9680
|
+
postalAddress?: string | null;
|
|
9681
|
+
registeredAddress?: string | null;
|
|
9682
|
+
}
|
|
9668
9683
|
export type FeatureCollectionType = "FeatureCollection";
|
|
9669
9684
|
export interface Features {
|
|
9670
9685
|
type: FeaturesType;
|