@ignos/api-client 20260413.104.1 → 20260415.106.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 +201 -214
- package/lib/ignosportal-api.js +4146 -4134
- package/package.json +1 -1
- package/src/ignosportal-api.ts +5941 -5948
package/lib/ignosportal-api.d.ts
CHANGED
|
@@ -124,6 +124,7 @@ export declare class CustomersClient extends AuthorizedApiBase implements ICusto
|
|
|
124
124
|
}
|
|
125
125
|
export interface IGuestsClient {
|
|
126
126
|
getGuestLoginInfo(search: string | undefined): Promise<GuestLoginInfoDto>;
|
|
127
|
+
getSupplierLoginInfo(search: string | undefined): Promise<GuestLoginInfoDto>;
|
|
127
128
|
}
|
|
128
129
|
export declare class GuestsClient extends AuthorizedApiBase implements IGuestsClient {
|
|
129
130
|
private http;
|
|
@@ -133,6 +134,8 @@ export declare class GuestsClient extends AuthorizedApiBase implements IGuestsCl
|
|
|
133
134
|
});
|
|
134
135
|
getGuestLoginInfo(search: string | undefined): Promise<GuestLoginInfoDto>;
|
|
135
136
|
protected processGetGuestLoginInfo(response: Response): Promise<GuestLoginInfoDto>;
|
|
137
|
+
getSupplierLoginInfo(search: string | undefined): Promise<GuestLoginInfoDto>;
|
|
138
|
+
protected processGetSupplierLoginInfo(response: Response): Promise<GuestLoginInfoDto>;
|
|
136
139
|
}
|
|
137
140
|
export interface IPresentationClient {
|
|
138
141
|
getComponentSettings(componentId: string): Promise<ComponentSettingsDto>;
|
|
@@ -1491,99 +1494,6 @@ export declare class DocumentTypesClient extends AuthorizedApiBase implements ID
|
|
|
1491
1494
|
listDocumentGenerators(): Promise<DocumentGeneratorTypeDto[]>;
|
|
1492
1495
|
protected processListDocumentGenerators(response: Response): Promise<DocumentGeneratorTypeDto[]>;
|
|
1493
1496
|
}
|
|
1494
|
-
export interface IExternalAccessClient {
|
|
1495
|
-
listUsers(companyId: string | null | undefined): Promise<CompanyUserDto[]>;
|
|
1496
|
-
createCompanyUser(request: CreateCompanyUserRequest): Promise<CompanyUserDto>;
|
|
1497
|
-
updateCompanyUser(id: string, request: UpdateCompanyUserRequest): Promise<CompanyUserDto>;
|
|
1498
|
-
deleteCompanyUser(id: string, companyId: string | null | undefined): Promise<void>;
|
|
1499
|
-
listRoles(): Promise<ExternalRoleDto[]>;
|
|
1500
|
-
listCompanyCustomers(): Promise<CompanyCustomerDto[]>;
|
|
1501
|
-
deleteCompanyCustomer(tenantId: string): Promise<void>;
|
|
1502
|
-
}
|
|
1503
|
-
export declare class ExternalAccessClient extends AuthorizedApiBase implements IExternalAccessClient {
|
|
1504
|
-
private http;
|
|
1505
|
-
private baseUrl;
|
|
1506
|
-
constructor(configuration: IAccessTokenProvider, baseUrl?: string, http?: {
|
|
1507
|
-
fetch(url: RequestInfo, init?: RequestInit): Promise<Response>;
|
|
1508
|
-
});
|
|
1509
|
-
listUsers(companyId: string | null | undefined): Promise<CompanyUserDto[]>;
|
|
1510
|
-
protected processListUsers(response: Response): Promise<CompanyUserDto[]>;
|
|
1511
|
-
createCompanyUser(request: CreateCompanyUserRequest): Promise<CompanyUserDto>;
|
|
1512
|
-
protected processCreateCompanyUser(response: Response): Promise<CompanyUserDto>;
|
|
1513
|
-
updateCompanyUser(id: string, request: UpdateCompanyUserRequest): Promise<CompanyUserDto>;
|
|
1514
|
-
protected processUpdateCompanyUser(response: Response): Promise<CompanyUserDto>;
|
|
1515
|
-
deleteCompanyUser(id: string, companyId: string | null | undefined): Promise<void>;
|
|
1516
|
-
protected processDeleteCompanyUser(response: Response): Promise<void>;
|
|
1517
|
-
listRoles(): Promise<ExternalRoleDto[]>;
|
|
1518
|
-
protected processListRoles(response: Response): Promise<ExternalRoleDto[]>;
|
|
1519
|
-
listCompanyCustomers(): Promise<CompanyCustomerDto[]>;
|
|
1520
|
-
protected processListCompanyCustomers(response: Response): Promise<CompanyCustomerDto[]>;
|
|
1521
|
-
deleteCompanyCustomer(tenantId: string): Promise<void>;
|
|
1522
|
-
protected processDeleteCompanyCustomer(response: Response): Promise<void>;
|
|
1523
|
-
}
|
|
1524
|
-
export interface IExternalClient {
|
|
1525
|
-
listInvites(): Promise<InviteDto[]>;
|
|
1526
|
-
acceptSupplierInvite(request: AcceptSupplierInviteRequest): Promise<CompanyDto>;
|
|
1527
|
-
listCompanies(): Promise<CompanyDto[]>;
|
|
1528
|
-
}
|
|
1529
|
-
export declare class ExternalClient extends AuthorizedApiBase implements IExternalClient {
|
|
1530
|
-
private http;
|
|
1531
|
-
private baseUrl;
|
|
1532
|
-
constructor(configuration: IAccessTokenProvider, baseUrl?: string, http?: {
|
|
1533
|
-
fetch(url: RequestInfo, init?: RequestInit): Promise<Response>;
|
|
1534
|
-
});
|
|
1535
|
-
listInvites(): Promise<InviteDto[]>;
|
|
1536
|
-
protected processListInvites(response: Response): Promise<InviteDto[]>;
|
|
1537
|
-
acceptSupplierInvite(request: AcceptSupplierInviteRequest): Promise<CompanyDto>;
|
|
1538
|
-
protected processAcceptSupplierInvite(response: Response): Promise<CompanyDto>;
|
|
1539
|
-
listCompanies(): Promise<CompanyDto[]>;
|
|
1540
|
-
protected processListCompanies(response: Response): Promise<CompanyDto[]>;
|
|
1541
|
-
}
|
|
1542
|
-
export interface ISuppliersClient {
|
|
1543
|
-
listSupplierInvites(): Promise<SupplierInviteDto[]>;
|
|
1544
|
-
createSupplierInvite(request: CreateSupplierInvite): Promise<SupplierInviteDto>;
|
|
1545
|
-
deleteSupplierInvite(id: string): Promise<void>;
|
|
1546
|
-
listSuppliers(): Promise<ExternalSupplierDto[]>;
|
|
1547
|
-
deleteSupplier(id: string): Promise<void>;
|
|
1548
|
-
importSupplier(importSupplier: ImportSupplier): Promise<ExternalSupplierDto>;
|
|
1549
|
-
/**
|
|
1550
|
-
* Creates a mapping between old supplier id and new supplier id.
|
|
1551
|
-
*/
|
|
1552
|
-
createSupplierMapping(request: CreateSupplierMapping): Promise<void>;
|
|
1553
|
-
/**
|
|
1554
|
-
* Delete all supplier mappings between old supplier ids and new supplier ids.
|
|
1555
|
-
*/
|
|
1556
|
-
deleteSupplierMappings(): Promise<void>;
|
|
1557
|
-
}
|
|
1558
|
-
export declare class SuppliersClient extends AuthorizedApiBase implements ISuppliersClient {
|
|
1559
|
-
private http;
|
|
1560
|
-
private baseUrl;
|
|
1561
|
-
constructor(configuration: IAccessTokenProvider, baseUrl?: string, http?: {
|
|
1562
|
-
fetch(url: RequestInfo, init?: RequestInit): Promise<Response>;
|
|
1563
|
-
});
|
|
1564
|
-
listSupplierInvites(): Promise<SupplierInviteDto[]>;
|
|
1565
|
-
protected processListSupplierInvites(response: Response): Promise<SupplierInviteDto[]>;
|
|
1566
|
-
createSupplierInvite(request: CreateSupplierInvite): Promise<SupplierInviteDto>;
|
|
1567
|
-
protected processCreateSupplierInvite(response: Response): Promise<SupplierInviteDto>;
|
|
1568
|
-
deleteSupplierInvite(id: string): Promise<void>;
|
|
1569
|
-
protected processDeleteSupplierInvite(response: Response): Promise<void>;
|
|
1570
|
-
listSuppliers(): Promise<ExternalSupplierDto[]>;
|
|
1571
|
-
protected processListSuppliers(response: Response): Promise<ExternalSupplierDto[]>;
|
|
1572
|
-
deleteSupplier(id: string): Promise<void>;
|
|
1573
|
-
protected processDeleteSupplier(response: Response): Promise<void>;
|
|
1574
|
-
importSupplier(importSupplier: ImportSupplier): Promise<ExternalSupplierDto>;
|
|
1575
|
-
protected processImportSupplier(response: Response): Promise<ExternalSupplierDto>;
|
|
1576
|
-
/**
|
|
1577
|
-
* Creates a mapping between old supplier id and new supplier id.
|
|
1578
|
-
*/
|
|
1579
|
-
createSupplierMapping(request: CreateSupplierMapping): Promise<void>;
|
|
1580
|
-
protected processCreateSupplierMapping(response: Response): Promise<void>;
|
|
1581
|
-
/**
|
|
1582
|
-
* Delete all supplier mappings between old supplier ids and new supplier ids.
|
|
1583
|
-
*/
|
|
1584
|
-
deleteSupplierMappings(): Promise<void>;
|
|
1585
|
-
protected processDeleteSupplierMappings(response: Response): Promise<void>;
|
|
1586
|
-
}
|
|
1587
1497
|
export interface ICncFileTransferClient {
|
|
1588
1498
|
startCncMachineOperationTransferToCloud(id: string): Promise<CncMachineTransferDto>;
|
|
1589
1499
|
startCncMachineOperationTransferToMachine(id: string, request: TransferToMachineRequest | undefined): Promise<CncMachineTransferDto>;
|
|
@@ -2955,22 +2865,22 @@ export declare class MeasurementFormsInstancesAdminClient extends AuthorizedApiB
|
|
|
2955
2865
|
protected processExportDimensionReportValues(response: Response): Promise<DownloadDto>;
|
|
2956
2866
|
}
|
|
2957
2867
|
export interface IMeasurementFormsInstancesClient {
|
|
2958
|
-
listMeasurementForms(pageSize: number | undefined, search: string | null | undefined, continuationToken: string | null | undefined,
|
|
2868
|
+
listMeasurementForms(pageSize: number | undefined, search: string | null | undefined, continuationToken: string | null | undefined, inactive: boolean | null | undefined, includeInactiveSupplierAccess: boolean | null | undefined): Promise<PagedResultOfMeasurementFormInstanceOverviewDto>;
|
|
2959
2869
|
postListMeasurementForms(request: ListMeasurementFormsRequest | undefined): Promise<PagedResultOfMeasurementFormInstanceOverviewDto>;
|
|
2960
|
-
getMeasurementFormInstance(id: string
|
|
2870
|
+
getMeasurementFormInstance(id: string): Promise<MeasurementFormInstanceDto>;
|
|
2961
2871
|
listMeasurementFormInstanceFeedback(id: string): Promise<MeasurementFormInstanceFeedbackDto[]>;
|
|
2962
|
-
completeMeasurementFormInstance(id: string
|
|
2963
|
-
completeMeasurementFormInstanceV2(id: string
|
|
2964
|
-
getMeasurementFormInstanceSchema(id: string, schemaId: string, serialNumber: string | null | undefined
|
|
2965
|
-
getWorkorderMeasurementFormProgress(id: string
|
|
2966
|
-
getAuditLog(id: string,
|
|
2872
|
+
completeMeasurementFormInstance(id: string): Promise<MeasurementFormInstanceDto>;
|
|
2873
|
+
completeMeasurementFormInstanceV2(id: string): Promise<CompleteMeasurementFormInstanceResult>;
|
|
2874
|
+
getMeasurementFormInstanceSchema(id: string, schemaId: string, serialNumber: string | null | undefined): Promise<MeasurementFormInstanceSchemaDto>;
|
|
2875
|
+
getWorkorderMeasurementFormProgress(id: string): Promise<MeasurementFormInstanceProgressDto>;
|
|
2876
|
+
getAuditLog(id: string, schemaId: string | null | undefined, serialNumber: string | null | undefined, elementId: string | null | undefined): Promise<MeasurementFormElementValueAuditDto[]>;
|
|
2967
2877
|
getValidationRules(): Promise<ValidationRuleDto[]>;
|
|
2968
|
-
saveValue(id: string,
|
|
2969
|
-
saveTool(id: string,
|
|
2970
|
-
saveComment(id: string,
|
|
2971
|
-
batchInsertValues(id: string,
|
|
2972
|
-
saveMeasurementFormInstanceSchemaComment(id: string, schemaId: string,
|
|
2973
|
-
createMeasurementFormInstanceSchemaFeedback(id: string, schemaId: string,
|
|
2878
|
+
saveValue(id: string, request: SaveValueRequest): Promise<SaveValueResponseDto>;
|
|
2879
|
+
saveTool(id: string, request: SaveToolRequest): Promise<SaveValueResponseDto>;
|
|
2880
|
+
saveComment(id: string, request: SaveCommentRequest): Promise<void>;
|
|
2881
|
+
batchInsertValues(id: string, request: BatchInsertValueRequest): Promise<BatchInsertValuesResponseDto>;
|
|
2882
|
+
saveMeasurementFormInstanceSchemaComment(id: string, schemaId: string, request: SaveMeasurementFormInstanceSchemaCommentRequest): Promise<void>;
|
|
2883
|
+
createMeasurementFormInstanceSchemaFeedback(id: string, schemaId: string, request: CreateMeasurementFormSchemaFeedbackRequest): Promise<SchemaFeedbackCreatedDto>;
|
|
2974
2884
|
listSupplierMeasurementFormInstances(supplierId: string): Promise<MeasurementFormSupplierAccessInstanceDto[]>;
|
|
2975
2885
|
upsertSupplierToMeasurmentFormInstance(id: string, supplierId: string, request: UpsertSupplierToMeasurementFormInstanceRequest): Promise<void>;
|
|
2976
2886
|
removeSupplierFromMeasurmentFormInstance(id: string, supplierId: string): Promise<void>;
|
|
@@ -2986,37 +2896,37 @@ export declare class MeasurementFormsInstancesClient extends AuthorizedApiBase i
|
|
|
2986
2896
|
constructor(configuration: IAccessTokenProvider, baseUrl?: string, http?: {
|
|
2987
2897
|
fetch(url: RequestInfo, init?: RequestInit): Promise<Response>;
|
|
2988
2898
|
});
|
|
2989
|
-
listMeasurementForms(pageSize: number | undefined, search: string | null | undefined, continuationToken: string | null | undefined,
|
|
2899
|
+
listMeasurementForms(pageSize: number | undefined, search: string | null | undefined, continuationToken: string | null | undefined, inactive: boolean | null | undefined, includeInactiveSupplierAccess: boolean | null | undefined): Promise<PagedResultOfMeasurementFormInstanceOverviewDto>;
|
|
2990
2900
|
protected processListMeasurementForms(response: Response): Promise<PagedResultOfMeasurementFormInstanceOverviewDto>;
|
|
2991
2901
|
postListMeasurementForms(request: ListMeasurementFormsRequest | undefined): Promise<PagedResultOfMeasurementFormInstanceOverviewDto>;
|
|
2992
2902
|
protected processPostListMeasurementForms(response: Response): Promise<PagedResultOfMeasurementFormInstanceOverviewDto>;
|
|
2993
|
-
getMeasurementFormInstance(id: string
|
|
2903
|
+
getMeasurementFormInstance(id: string): Promise<MeasurementFormInstanceDto>;
|
|
2994
2904
|
protected processGetMeasurementFormInstance(response: Response): Promise<MeasurementFormInstanceDto>;
|
|
2995
2905
|
listMeasurementFormInstanceFeedback(id: string): Promise<MeasurementFormInstanceFeedbackDto[]>;
|
|
2996
2906
|
protected processListMeasurementFormInstanceFeedback(response: Response): Promise<MeasurementFormInstanceFeedbackDto[]>;
|
|
2997
|
-
completeMeasurementFormInstance(id: string
|
|
2907
|
+
completeMeasurementFormInstance(id: string): Promise<MeasurementFormInstanceDto>;
|
|
2998
2908
|
protected processCompleteMeasurementFormInstance(response: Response): Promise<MeasurementFormInstanceDto>;
|
|
2999
|
-
completeMeasurementFormInstanceV2(id: string
|
|
2909
|
+
completeMeasurementFormInstanceV2(id: string): Promise<CompleteMeasurementFormInstanceResult>;
|
|
3000
2910
|
protected processCompleteMeasurementFormInstanceV2(response: Response): Promise<CompleteMeasurementFormInstanceResult>;
|
|
3001
|
-
getMeasurementFormInstanceSchema(id: string, schemaId: string, serialNumber: string | null | undefined
|
|
2911
|
+
getMeasurementFormInstanceSchema(id: string, schemaId: string, serialNumber: string | null | undefined): Promise<MeasurementFormInstanceSchemaDto>;
|
|
3002
2912
|
protected processGetMeasurementFormInstanceSchema(response: Response): Promise<MeasurementFormInstanceSchemaDto>;
|
|
3003
|
-
getWorkorderMeasurementFormProgress(id: string
|
|
2913
|
+
getWorkorderMeasurementFormProgress(id: string): Promise<MeasurementFormInstanceProgressDto>;
|
|
3004
2914
|
protected processGetWorkorderMeasurementFormProgress(response: Response): Promise<MeasurementFormInstanceProgressDto>;
|
|
3005
|
-
getAuditLog(id: string,
|
|
2915
|
+
getAuditLog(id: string, schemaId: string | null | undefined, serialNumber: string | null | undefined, elementId: string | null | undefined): Promise<MeasurementFormElementValueAuditDto[]>;
|
|
3006
2916
|
protected processGetAuditLog(response: Response): Promise<MeasurementFormElementValueAuditDto[]>;
|
|
3007
2917
|
getValidationRules(): Promise<ValidationRuleDto[]>;
|
|
3008
2918
|
protected processGetValidationRules(response: Response): Promise<ValidationRuleDto[]>;
|
|
3009
|
-
saveValue(id: string,
|
|
2919
|
+
saveValue(id: string, request: SaveValueRequest): Promise<SaveValueResponseDto>;
|
|
3010
2920
|
protected processSaveValue(response: Response): Promise<SaveValueResponseDto>;
|
|
3011
|
-
saveTool(id: string,
|
|
2921
|
+
saveTool(id: string, request: SaveToolRequest): Promise<SaveValueResponseDto>;
|
|
3012
2922
|
protected processSaveTool(response: Response): Promise<SaveValueResponseDto>;
|
|
3013
|
-
saveComment(id: string,
|
|
2923
|
+
saveComment(id: string, request: SaveCommentRequest): Promise<void>;
|
|
3014
2924
|
protected processSaveComment(response: Response): Promise<void>;
|
|
3015
|
-
batchInsertValues(id: string,
|
|
2925
|
+
batchInsertValues(id: string, request: BatchInsertValueRequest): Promise<BatchInsertValuesResponseDto>;
|
|
3016
2926
|
protected processBatchInsertValues(response: Response): Promise<BatchInsertValuesResponseDto>;
|
|
3017
|
-
saveMeasurementFormInstanceSchemaComment(id: string, schemaId: string,
|
|
2927
|
+
saveMeasurementFormInstanceSchemaComment(id: string, schemaId: string, request: SaveMeasurementFormInstanceSchemaCommentRequest): Promise<void>;
|
|
3018
2928
|
protected processSaveMeasurementFormInstanceSchemaComment(response: Response): Promise<void>;
|
|
3019
|
-
createMeasurementFormInstanceSchemaFeedback(id: string, schemaId: string,
|
|
2929
|
+
createMeasurementFormInstanceSchemaFeedback(id: string, schemaId: string, request: CreateMeasurementFormSchemaFeedbackRequest): Promise<SchemaFeedbackCreatedDto>;
|
|
3020
2930
|
protected processCreateMeasurementFormInstanceSchemaFeedback(response: Response): Promise<SchemaFeedbackCreatedDto>;
|
|
3021
2931
|
listSupplierMeasurementFormInstances(supplierId: string): Promise<MeasurementFormSupplierAccessInstanceDto[]>;
|
|
3022
2932
|
protected processListSupplierMeasurementFormInstances(response: Response): Promise<MeasurementFormSupplierAccessInstanceDto[]>;
|
|
@@ -3041,7 +2951,7 @@ export interface IMeasurementFormsInstancesInstanceAdminClient {
|
|
|
3041
2951
|
createMeasurementFormInstance2(id: string, request: CreateMeasurementFormInstanceRequest): Promise<MeasurementFormInstanceDto>;
|
|
3042
2952
|
reactivateMeasurementFormInstance(id: string): Promise<MeasurementFormInstanceDto>;
|
|
3043
2953
|
cancelMeasurementFormInstance(id: string): Promise<MeasurementFormInstanceDto>;
|
|
3044
|
-
toggleSchemaInstanceElementDocumentedExternallyOverride(id: string, schemaId: string, elementId: string
|
|
2954
|
+
toggleSchemaInstanceElementDocumentedExternallyOverride(id: string, schemaId: string, elementId: string): Promise<void>;
|
|
3045
2955
|
}
|
|
3046
2956
|
export declare class MeasurementFormsInstancesInstanceAdminClient extends AuthorizedApiBase implements IMeasurementFormsInstancesInstanceAdminClient {
|
|
3047
2957
|
private http;
|
|
@@ -3065,7 +2975,7 @@ export declare class MeasurementFormsInstancesInstanceAdminClient extends Author
|
|
|
3065
2975
|
protected processReactivateMeasurementFormInstance(response: Response): Promise<MeasurementFormInstanceDto>;
|
|
3066
2976
|
cancelMeasurementFormInstance(id: string): Promise<MeasurementFormInstanceDto>;
|
|
3067
2977
|
protected processCancelMeasurementFormInstance(response: Response): Promise<MeasurementFormInstanceDto>;
|
|
3068
|
-
toggleSchemaInstanceElementDocumentedExternallyOverride(id: string, schemaId: string, elementId: string
|
|
2978
|
+
toggleSchemaInstanceElementDocumentedExternallyOverride(id: string, schemaId: string, elementId: string): Promise<void>;
|
|
3069
2979
|
protected processToggleSchemaInstanceElementDocumentedExternallyOverride(response: Response): Promise<void>;
|
|
3070
2980
|
}
|
|
3071
2981
|
export interface ICompaniesClient {
|
|
@@ -3405,6 +3315,99 @@ export declare class WorkordersClient extends AuthorizedApiBase implements IWork
|
|
|
3405
3315
|
generateContentPartsForDiscussions(): Promise<WorkorderDiscussionMessageDto[]>;
|
|
3406
3316
|
protected processGenerateContentPartsForDiscussions(response: Response): Promise<WorkorderDiscussionMessageDto[]>;
|
|
3407
3317
|
}
|
|
3318
|
+
export interface IExternalAccessClient {
|
|
3319
|
+
listUsers(companyId: string | null | undefined): Promise<CompanyUserDto[]>;
|
|
3320
|
+
createCompanyUser(request: CreateCompanyUser): Promise<CompanyUserDto>;
|
|
3321
|
+
updateCompanyUser(id: string, request: UpdateCompanyUserRequest): Promise<CompanyUserDto>;
|
|
3322
|
+
deleteCompanyUser(id: string, companyId: string | null | undefined): Promise<void>;
|
|
3323
|
+
listRoles(): Promise<ExternalRoleDto[]>;
|
|
3324
|
+
listCompanyCustomers(): Promise<CompanyCustomerDto[]>;
|
|
3325
|
+
deleteCompanyCustomer(tenantId: string): Promise<void>;
|
|
3326
|
+
}
|
|
3327
|
+
export declare class ExternalAccessClient extends AuthorizedApiBase implements IExternalAccessClient {
|
|
3328
|
+
private http;
|
|
3329
|
+
private baseUrl;
|
|
3330
|
+
constructor(configuration: IAccessTokenProvider, baseUrl?: string, http?: {
|
|
3331
|
+
fetch(url: RequestInfo, init?: RequestInit): Promise<Response>;
|
|
3332
|
+
});
|
|
3333
|
+
listUsers(companyId: string | null | undefined): Promise<CompanyUserDto[]>;
|
|
3334
|
+
protected processListUsers(response: Response): Promise<CompanyUserDto[]>;
|
|
3335
|
+
createCompanyUser(request: CreateCompanyUser): Promise<CompanyUserDto>;
|
|
3336
|
+
protected processCreateCompanyUser(response: Response): Promise<CompanyUserDto>;
|
|
3337
|
+
updateCompanyUser(id: string, request: UpdateCompanyUserRequest): Promise<CompanyUserDto>;
|
|
3338
|
+
protected processUpdateCompanyUser(response: Response): Promise<CompanyUserDto>;
|
|
3339
|
+
deleteCompanyUser(id: string, companyId: string | null | undefined): Promise<void>;
|
|
3340
|
+
protected processDeleteCompanyUser(response: Response): Promise<void>;
|
|
3341
|
+
listRoles(): Promise<ExternalRoleDto[]>;
|
|
3342
|
+
protected processListRoles(response: Response): Promise<ExternalRoleDto[]>;
|
|
3343
|
+
listCompanyCustomers(): Promise<CompanyCustomerDto[]>;
|
|
3344
|
+
protected processListCompanyCustomers(response: Response): Promise<CompanyCustomerDto[]>;
|
|
3345
|
+
deleteCompanyCustomer(tenantId: string): Promise<void>;
|
|
3346
|
+
protected processDeleteCompanyCustomer(response: Response): Promise<void>;
|
|
3347
|
+
}
|
|
3348
|
+
export interface IExternalClient {
|
|
3349
|
+
listCompanies(): Promise<CompanyDto[]>;
|
|
3350
|
+
getCompany(id: string): Promise<CompanyDto>;
|
|
3351
|
+
getCurrentSupplierInvite(): Promise<SupplierInviteDto>;
|
|
3352
|
+
acceptSupplierInvite(request: AcceptSupplierInvite): Promise<SupplierInviteDto>;
|
|
3353
|
+
}
|
|
3354
|
+
export declare class ExternalClient extends AuthorizedApiBase implements IExternalClient {
|
|
3355
|
+
private http;
|
|
3356
|
+
private baseUrl;
|
|
3357
|
+
constructor(configuration: IAccessTokenProvider, baseUrl?: string, http?: {
|
|
3358
|
+
fetch(url: RequestInfo, init?: RequestInit): Promise<Response>;
|
|
3359
|
+
});
|
|
3360
|
+
listCompanies(): Promise<CompanyDto[]>;
|
|
3361
|
+
protected processListCompanies(response: Response): Promise<CompanyDto[]>;
|
|
3362
|
+
getCompany(id: string): Promise<CompanyDto>;
|
|
3363
|
+
protected processGetCompany(response: Response): Promise<CompanyDto>;
|
|
3364
|
+
getCurrentSupplierInvite(): Promise<SupplierInviteDto>;
|
|
3365
|
+
protected processGetCurrentSupplierInvite(response: Response): Promise<SupplierInviteDto>;
|
|
3366
|
+
acceptSupplierInvite(request: AcceptSupplierInvite): Promise<SupplierInviteDto>;
|
|
3367
|
+
protected processAcceptSupplierInvite(response: Response): Promise<SupplierInviteDto>;
|
|
3368
|
+
}
|
|
3369
|
+
export interface ISuppliersClient {
|
|
3370
|
+
listSupplierInvites(): Promise<SupplierInviteDto[]>;
|
|
3371
|
+
createSupplierInvite(request: CreateSupplierInvite): Promise<SupplierInviteDto>;
|
|
3372
|
+
deleteSupplierInvite(id: string): Promise<void>;
|
|
3373
|
+
listSuppliers(): Promise<ExternalSupplierDto[]>;
|
|
3374
|
+
deleteSupplier(id: string): Promise<void>;
|
|
3375
|
+
/**
|
|
3376
|
+
* Creates a mapping between old supplier id and new supplier id.
|
|
3377
|
+
*/
|
|
3378
|
+
createSupplierMapping(request: CreateSupplierMapping): Promise<void>;
|
|
3379
|
+
/**
|
|
3380
|
+
* Delete all supplier mappings between old supplier ids and new supplier ids.
|
|
3381
|
+
*/
|
|
3382
|
+
deleteSupplierMappings(): Promise<void>;
|
|
3383
|
+
}
|
|
3384
|
+
export declare class SuppliersClient extends AuthorizedApiBase implements ISuppliersClient {
|
|
3385
|
+
private http;
|
|
3386
|
+
private baseUrl;
|
|
3387
|
+
constructor(configuration: IAccessTokenProvider, baseUrl?: string, http?: {
|
|
3388
|
+
fetch(url: RequestInfo, init?: RequestInit): Promise<Response>;
|
|
3389
|
+
});
|
|
3390
|
+
listSupplierInvites(): Promise<SupplierInviteDto[]>;
|
|
3391
|
+
protected processListSupplierInvites(response: Response): Promise<SupplierInviteDto[]>;
|
|
3392
|
+
createSupplierInvite(request: CreateSupplierInvite): Promise<SupplierInviteDto>;
|
|
3393
|
+
protected processCreateSupplierInvite(response: Response): Promise<SupplierInviteDto>;
|
|
3394
|
+
deleteSupplierInvite(id: string): Promise<void>;
|
|
3395
|
+
protected processDeleteSupplierInvite(response: Response): Promise<void>;
|
|
3396
|
+
listSuppliers(): Promise<ExternalSupplierDto[]>;
|
|
3397
|
+
protected processListSuppliers(response: Response): Promise<ExternalSupplierDto[]>;
|
|
3398
|
+
deleteSupplier(id: string): Promise<void>;
|
|
3399
|
+
protected processDeleteSupplier(response: Response): Promise<void>;
|
|
3400
|
+
/**
|
|
3401
|
+
* Creates a mapping between old supplier id and new supplier id.
|
|
3402
|
+
*/
|
|
3403
|
+
createSupplierMapping(request: CreateSupplierMapping): Promise<void>;
|
|
3404
|
+
protected processCreateSupplierMapping(response: Response): Promise<void>;
|
|
3405
|
+
/**
|
|
3406
|
+
* Delete all supplier mappings between old supplier ids and new supplier ids.
|
|
3407
|
+
*/
|
|
3408
|
+
deleteSupplierMappings(): Promise<void>;
|
|
3409
|
+
protected processDeleteSupplierMappings(response: Response): Promise<void>;
|
|
3410
|
+
}
|
|
3408
3411
|
export interface AzureRegionDto {
|
|
3409
3412
|
displayName: string;
|
|
3410
3413
|
name: string;
|
|
@@ -3708,6 +3711,8 @@ export interface UserDetailsDto {
|
|
|
3708
3711
|
isExternalUser?: boolean;
|
|
3709
3712
|
isBetaTester?: boolean | null;
|
|
3710
3713
|
hasAccessToIgnos?: boolean;
|
|
3714
|
+
isInvitedUser?: boolean;
|
|
3715
|
+
isSupplier?: boolean;
|
|
3711
3716
|
}
|
|
3712
3717
|
export interface UserDto {
|
|
3713
3718
|
id?: string | null;
|
|
@@ -4241,6 +4246,7 @@ export interface PartDto {
|
|
|
4241
4246
|
drawingRevision?: string | null;
|
|
4242
4247
|
material?: string | null;
|
|
4243
4248
|
planner?: UserDto | null;
|
|
4249
|
+
documentRequirements?: string[] | null;
|
|
4244
4250
|
}
|
|
4245
4251
|
export interface WorkorderCustomerOrderReferenceDto {
|
|
4246
4252
|
customerOrder?: string | null;
|
|
@@ -5582,97 +5588,6 @@ export interface DocumentGeneratorTypeDto {
|
|
|
5582
5588
|
key: string;
|
|
5583
5589
|
description: string;
|
|
5584
5590
|
}
|
|
5585
|
-
export interface CompanyUserDto {
|
|
5586
|
-
companyId?: string | null;
|
|
5587
|
-
username?: string | null;
|
|
5588
|
-
name?: string | null;
|
|
5589
|
-
roles?: string[] | null;
|
|
5590
|
-
}
|
|
5591
|
-
export interface CreateCompanyUserRequest {
|
|
5592
|
-
username: string;
|
|
5593
|
-
name: string;
|
|
5594
|
-
roles: string[];
|
|
5595
|
-
companyId?: string | null;
|
|
5596
|
-
}
|
|
5597
|
-
export interface UpdateCompanyUserRequest {
|
|
5598
|
-
name: string;
|
|
5599
|
-
roles: string[];
|
|
5600
|
-
companyId?: string | null;
|
|
5601
|
-
}
|
|
5602
|
-
export interface ExternalRoleDto {
|
|
5603
|
-
id: string;
|
|
5604
|
-
name: string;
|
|
5605
|
-
}
|
|
5606
|
-
export interface CompanyCustomerDto {
|
|
5607
|
-
customerTenantId?: string | null;
|
|
5608
|
-
customerAzureAdTenantId?: string | null;
|
|
5609
|
-
customerName?: string | null;
|
|
5610
|
-
supplierId?: string | null;
|
|
5611
|
-
supplierName?: string | null;
|
|
5612
|
-
}
|
|
5613
|
-
export interface InviteDto {
|
|
5614
|
-
tenantId: string;
|
|
5615
|
-
companyName: string;
|
|
5616
|
-
id: string;
|
|
5617
|
-
supplierId: string;
|
|
5618
|
-
supplierName: string;
|
|
5619
|
-
username: string;
|
|
5620
|
-
deadline: Date;
|
|
5621
|
-
createdTime: Date;
|
|
5622
|
-
createdBy: string;
|
|
5623
|
-
}
|
|
5624
|
-
export interface CompanyDto {
|
|
5625
|
-
id?: string | null;
|
|
5626
|
-
name?: string | null;
|
|
5627
|
-
organizationNumber?: string | null;
|
|
5628
|
-
country?: string | null;
|
|
5629
|
-
tenantId?: string | null;
|
|
5630
|
-
}
|
|
5631
|
-
export interface AcceptSupplierInviteRequest {
|
|
5632
|
-
tenantId: string;
|
|
5633
|
-
existingCompanyId?: string | null;
|
|
5634
|
-
companyName?: string | null;
|
|
5635
|
-
organizationNumber?: string | null;
|
|
5636
|
-
threeLetterIsoCountry?: string | null;
|
|
5637
|
-
}
|
|
5638
|
-
export interface SupplierInviteDto {
|
|
5639
|
-
id: string;
|
|
5640
|
-
supplierId: string;
|
|
5641
|
-
name: string;
|
|
5642
|
-
username: string;
|
|
5643
|
-
deadline: Date;
|
|
5644
|
-
createdTime: Date;
|
|
5645
|
-
createdBy: string;
|
|
5646
|
-
}
|
|
5647
|
-
export interface CreateSupplierInvite {
|
|
5648
|
-
supplierId: string;
|
|
5649
|
-
name: string;
|
|
5650
|
-
username: string;
|
|
5651
|
-
deadline: Date;
|
|
5652
|
-
}
|
|
5653
|
-
export interface ExternalSupplierDto {
|
|
5654
|
-
id: string;
|
|
5655
|
-
name: string;
|
|
5656
|
-
companyId: string;
|
|
5657
|
-
active: boolean;
|
|
5658
|
-
}
|
|
5659
|
-
export interface ImportSupplier {
|
|
5660
|
-
supplierId: string;
|
|
5661
|
-
name: string;
|
|
5662
|
-
organizationNumber?: string | null;
|
|
5663
|
-
threeLetterIsoCountry: string;
|
|
5664
|
-
users: ImportSupplierUserDto[];
|
|
5665
|
-
}
|
|
5666
|
-
export interface ImportSupplierUserDto {
|
|
5667
|
-
username: string;
|
|
5668
|
-
name: string;
|
|
5669
|
-
roles: string[];
|
|
5670
|
-
}
|
|
5671
|
-
export interface CreateSupplierMapping {
|
|
5672
|
-
companyId: string;
|
|
5673
|
-
existingSupplierId: string;
|
|
5674
|
-
newSupplierId: string;
|
|
5675
|
-
}
|
|
5676
5591
|
export interface CncMachineTransferDto {
|
|
5677
5592
|
id: string;
|
|
5678
5593
|
cncMachineOperationId?: string | null;
|
|
@@ -8209,6 +8124,7 @@ export interface Part {
|
|
|
8209
8124
|
drawingReference?: string | null;
|
|
8210
8125
|
material?: string | null;
|
|
8211
8126
|
planner?: User | null;
|
|
8127
|
+
documentRequirements?: string[];
|
|
8212
8128
|
}
|
|
8213
8129
|
export interface User {
|
|
8214
8130
|
id?: string | null;
|
|
@@ -8883,7 +8799,6 @@ export interface ListMeasurementFormsRequest {
|
|
|
8883
8799
|
pageSize?: number | null;
|
|
8884
8800
|
search?: string | null;
|
|
8885
8801
|
continuationToken?: string | null;
|
|
8886
|
-
tenantId?: string | null;
|
|
8887
8802
|
inactive?: boolean | null;
|
|
8888
8803
|
includeInactiveSupplierAccess?: boolean | null;
|
|
8889
8804
|
}
|
|
@@ -9079,7 +8994,6 @@ export interface UpsertSupplierToMeasurementFormInstanceRequest {
|
|
|
9079
8994
|
externalOrderNumber?: string | null;
|
|
9080
8995
|
}
|
|
9081
8996
|
export interface ExportDimensionReportV2Request {
|
|
9082
|
-
tenantId?: string | null;
|
|
9083
8997
|
type: DimensionReportType;
|
|
9084
8998
|
extras?: DimensionReportExtras | null;
|
|
9085
8999
|
specificSerialNumbers?: string[] | null;
|
|
@@ -9420,6 +9334,79 @@ export interface SetDiscussionLastReadRequest {
|
|
|
9420
9334
|
operationId?: string | null;
|
|
9421
9335
|
resourceId?: string | null;
|
|
9422
9336
|
}
|
|
9337
|
+
export interface CompanyUserDto {
|
|
9338
|
+
companyId: string;
|
|
9339
|
+
userObjectId: string;
|
|
9340
|
+
username?: string | null;
|
|
9341
|
+
name?: string | null;
|
|
9342
|
+
roles: string[];
|
|
9343
|
+
}
|
|
9344
|
+
export interface CreateCompanyUser {
|
|
9345
|
+
username: string;
|
|
9346
|
+
name: string;
|
|
9347
|
+
roles: string[];
|
|
9348
|
+
companyId?: string | null;
|
|
9349
|
+
}
|
|
9350
|
+
export interface UpdateCompanyUserRequest {
|
|
9351
|
+
roles: string[];
|
|
9352
|
+
companyId?: string | null;
|
|
9353
|
+
}
|
|
9354
|
+
export interface ExternalRoleDto {
|
|
9355
|
+
id: string;
|
|
9356
|
+
name: string;
|
|
9357
|
+
}
|
|
9358
|
+
export interface CompanyCustomerDto {
|
|
9359
|
+
customerTenantId?: string | null;
|
|
9360
|
+
customerAzureAdTenantId?: string | null;
|
|
9361
|
+
customerName?: string | null;
|
|
9362
|
+
supplierId?: string | null;
|
|
9363
|
+
supplierName?: string | null;
|
|
9364
|
+
customerIgnosPortalPrefix?: string | null;
|
|
9365
|
+
}
|
|
9366
|
+
export interface CompanyDto {
|
|
9367
|
+
id?: string;
|
|
9368
|
+
name?: string;
|
|
9369
|
+
organizationNumber?: string | null;
|
|
9370
|
+
country?: string;
|
|
9371
|
+
tenantId?: string | null;
|
|
9372
|
+
}
|
|
9373
|
+
export interface SupplierInviteDto {
|
|
9374
|
+
id: string;
|
|
9375
|
+
supplierId: string;
|
|
9376
|
+
supplierName?: string | null;
|
|
9377
|
+
customerName?: string | null;
|
|
9378
|
+
userId: string;
|
|
9379
|
+
userName?: string | null;
|
|
9380
|
+
companyId?: string | null;
|
|
9381
|
+
deadline: Date;
|
|
9382
|
+
acceptedTimestamp?: Date | null;
|
|
9383
|
+
createdTime: Date;
|
|
9384
|
+
createdBy: string;
|
|
9385
|
+
}
|
|
9386
|
+
export interface AcceptSupplierInvite {
|
|
9387
|
+
companyName?: string;
|
|
9388
|
+
organizationNumber?: string;
|
|
9389
|
+
threeLetterIsoCountry?: string;
|
|
9390
|
+
}
|
|
9391
|
+
export interface CreateSupplierInvite {
|
|
9392
|
+
supplierId: string;
|
|
9393
|
+
supplierName?: string | null;
|
|
9394
|
+
username: string;
|
|
9395
|
+
invitedName: string;
|
|
9396
|
+
deadline: Date;
|
|
9397
|
+
existingCompanyId?: string | null;
|
|
9398
|
+
}
|
|
9399
|
+
export interface ExternalSupplierDto {
|
|
9400
|
+
id: string;
|
|
9401
|
+
name: string;
|
|
9402
|
+
companyId: string;
|
|
9403
|
+
active: boolean;
|
|
9404
|
+
}
|
|
9405
|
+
export interface CreateSupplierMapping {
|
|
9406
|
+
companyId: string;
|
|
9407
|
+
existingSupplierId: string;
|
|
9408
|
+
newSupplierId: string;
|
|
9409
|
+
}
|
|
9423
9410
|
export type FeatureCollectionType = "FeatureCollection";
|
|
9424
9411
|
export interface Features {
|
|
9425
9412
|
type: FeaturesType;
|