@ignos/api-client 20260626.160.1 → 20260629.161.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 +266 -223
- package/lib/ignosportal-api.js +4620 -4177
- package/package.json +1 -1
- package/src/ignosportal-api.ts +6505 -6042
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>;
|
|
@@ -1517,99 +1520,6 @@ export declare class DocumentTypesClient extends AuthorizedApiBase implements ID
|
|
|
1517
1520
|
listDocumentGenerators(): Promise<DocumentGeneratorTypeDto[]>;
|
|
1518
1521
|
protected processListDocumentGenerators(response: Response): Promise<DocumentGeneratorTypeDto[]>;
|
|
1519
1522
|
}
|
|
1520
|
-
export interface IExternalAccessClient {
|
|
1521
|
-
listUsers(companyId: string | null | undefined): Promise<CompanyUserDto[]>;
|
|
1522
|
-
createCompanyUser(request: CreateCompanyUserRequest): Promise<CompanyUserDto>;
|
|
1523
|
-
updateCompanyUser(id: string, request: UpdateCompanyUserRequest): Promise<CompanyUserDto>;
|
|
1524
|
-
deleteCompanyUser(id: string, companyId: string | null | undefined): Promise<void>;
|
|
1525
|
-
listRoles(): Promise<ExternalRoleDto[]>;
|
|
1526
|
-
listCompanyCustomers(): Promise<CompanyCustomerDto[]>;
|
|
1527
|
-
deleteCompanyCustomer(tenantId: string): Promise<void>;
|
|
1528
|
-
}
|
|
1529
|
-
export declare class ExternalAccessClient extends AuthorizedApiBase implements IExternalAccessClient {
|
|
1530
|
-
private http;
|
|
1531
|
-
private baseUrl;
|
|
1532
|
-
constructor(configuration: IApiClientConfig, baseUrl?: string, http?: {
|
|
1533
|
-
fetch(url: RequestInfo, init?: RequestInit): Promise<Response>;
|
|
1534
|
-
});
|
|
1535
|
-
listUsers(companyId: string | null | undefined): Promise<CompanyUserDto[]>;
|
|
1536
|
-
protected processListUsers(response: Response): Promise<CompanyUserDto[]>;
|
|
1537
|
-
createCompanyUser(request: CreateCompanyUserRequest): Promise<CompanyUserDto>;
|
|
1538
|
-
protected processCreateCompanyUser(response: Response): Promise<CompanyUserDto>;
|
|
1539
|
-
updateCompanyUser(id: string, request: UpdateCompanyUserRequest): Promise<CompanyUserDto>;
|
|
1540
|
-
protected processUpdateCompanyUser(response: Response): Promise<CompanyUserDto>;
|
|
1541
|
-
deleteCompanyUser(id: string, companyId: string | null | undefined): Promise<void>;
|
|
1542
|
-
protected processDeleteCompanyUser(response: Response): Promise<void>;
|
|
1543
|
-
listRoles(): Promise<ExternalRoleDto[]>;
|
|
1544
|
-
protected processListRoles(response: Response): Promise<ExternalRoleDto[]>;
|
|
1545
|
-
listCompanyCustomers(): Promise<CompanyCustomerDto[]>;
|
|
1546
|
-
protected processListCompanyCustomers(response: Response): Promise<CompanyCustomerDto[]>;
|
|
1547
|
-
deleteCompanyCustomer(tenantId: string): Promise<void>;
|
|
1548
|
-
protected processDeleteCompanyCustomer(response: Response): Promise<void>;
|
|
1549
|
-
}
|
|
1550
|
-
export interface IExternalClient {
|
|
1551
|
-
listInvites(): Promise<InviteDto[]>;
|
|
1552
|
-
acceptSupplierInvite(request: AcceptSupplierInviteRequest): Promise<CompanyDto>;
|
|
1553
|
-
listCompanies(): Promise<CompanyDto[]>;
|
|
1554
|
-
}
|
|
1555
|
-
export declare class ExternalClient extends AuthorizedApiBase implements IExternalClient {
|
|
1556
|
-
private http;
|
|
1557
|
-
private baseUrl;
|
|
1558
|
-
constructor(configuration: IApiClientConfig, baseUrl?: string, http?: {
|
|
1559
|
-
fetch(url: RequestInfo, init?: RequestInit): Promise<Response>;
|
|
1560
|
-
});
|
|
1561
|
-
listInvites(): Promise<InviteDto[]>;
|
|
1562
|
-
protected processListInvites(response: Response): Promise<InviteDto[]>;
|
|
1563
|
-
acceptSupplierInvite(request: AcceptSupplierInviteRequest): Promise<CompanyDto>;
|
|
1564
|
-
protected processAcceptSupplierInvite(response: Response): Promise<CompanyDto>;
|
|
1565
|
-
listCompanies(): Promise<CompanyDto[]>;
|
|
1566
|
-
protected processListCompanies(response: Response): Promise<CompanyDto[]>;
|
|
1567
|
-
}
|
|
1568
|
-
export interface ISuppliersClient {
|
|
1569
|
-
listSupplierInvites(): Promise<SupplierInviteDto[]>;
|
|
1570
|
-
createSupplierInvite(request: CreateSupplierInvite): Promise<SupplierInviteDto>;
|
|
1571
|
-
deleteSupplierInvite(id: string): Promise<void>;
|
|
1572
|
-
listSuppliers(): Promise<ExternalSupplierDto[]>;
|
|
1573
|
-
deleteSupplier(id: string): Promise<void>;
|
|
1574
|
-
importSupplier(importSupplier: ImportSupplier): Promise<ExternalSupplierDto>;
|
|
1575
|
-
/**
|
|
1576
|
-
* Creates a mapping between old supplier id and new supplier id.
|
|
1577
|
-
*/
|
|
1578
|
-
createSupplierMapping(request: CreateSupplierMapping): Promise<void>;
|
|
1579
|
-
/**
|
|
1580
|
-
* Delete all supplier mappings between old supplier ids and new supplier ids.
|
|
1581
|
-
*/
|
|
1582
|
-
deleteSupplierMappings(): Promise<void>;
|
|
1583
|
-
}
|
|
1584
|
-
export declare class SuppliersClient extends AuthorizedApiBase implements ISuppliersClient {
|
|
1585
|
-
private http;
|
|
1586
|
-
private baseUrl;
|
|
1587
|
-
constructor(configuration: IApiClientConfig, baseUrl?: string, http?: {
|
|
1588
|
-
fetch(url: RequestInfo, init?: RequestInit): Promise<Response>;
|
|
1589
|
-
});
|
|
1590
|
-
listSupplierInvites(): Promise<SupplierInviteDto[]>;
|
|
1591
|
-
protected processListSupplierInvites(response: Response): Promise<SupplierInviteDto[]>;
|
|
1592
|
-
createSupplierInvite(request: CreateSupplierInvite): Promise<SupplierInviteDto>;
|
|
1593
|
-
protected processCreateSupplierInvite(response: Response): Promise<SupplierInviteDto>;
|
|
1594
|
-
deleteSupplierInvite(id: string): Promise<void>;
|
|
1595
|
-
protected processDeleteSupplierInvite(response: Response): Promise<void>;
|
|
1596
|
-
listSuppliers(): Promise<ExternalSupplierDto[]>;
|
|
1597
|
-
protected processListSuppliers(response: Response): Promise<ExternalSupplierDto[]>;
|
|
1598
|
-
deleteSupplier(id: string): Promise<void>;
|
|
1599
|
-
protected processDeleteSupplier(response: Response): Promise<void>;
|
|
1600
|
-
importSupplier(importSupplier: ImportSupplier): Promise<ExternalSupplierDto>;
|
|
1601
|
-
protected processImportSupplier(response: Response): Promise<ExternalSupplierDto>;
|
|
1602
|
-
/**
|
|
1603
|
-
* Creates a mapping between old supplier id and new supplier id.
|
|
1604
|
-
*/
|
|
1605
|
-
createSupplierMapping(request: CreateSupplierMapping): Promise<void>;
|
|
1606
|
-
protected processCreateSupplierMapping(response: Response): Promise<void>;
|
|
1607
|
-
/**
|
|
1608
|
-
* Delete all supplier mappings between old supplier ids and new supplier ids.
|
|
1609
|
-
*/
|
|
1610
|
-
deleteSupplierMappings(): Promise<void>;
|
|
1611
|
-
protected processDeleteSupplierMappings(response: Response): Promise<void>;
|
|
1612
|
-
}
|
|
1613
1523
|
export interface ICncFileTransferClient {
|
|
1614
1524
|
startCncMachineOperationTransferToCloud(id: string): Promise<CncMachineTransferDto>;
|
|
1615
1525
|
startCncMachineOperationTransferToMachine(id: string, request: TransferToMachineRequest | undefined): Promise<CncMachineTransferDto>;
|
|
@@ -2470,6 +2380,27 @@ export declare class MesOrMoveClient extends AuthorizedApiBase implements IMesOr
|
|
|
2470
2380
|
getPrintableLabels(request: GeneratePrintableLabel): Promise<DownloadDto>;
|
|
2471
2381
|
protected processGetPrintableLabels(response: Response): Promise<DownloadDto>;
|
|
2472
2382
|
}
|
|
2383
|
+
export interface IMesProductionOrderAttachmentClient {
|
|
2384
|
+
upload(id: string, type: ProductionOrderAttachmentType | undefined, description: string | null | undefined, file: FileParameter | null | undefined, notes: string | null | undefined, url: string | null | undefined): Promise<FileResponse>;
|
|
2385
|
+
getAttachments(id: string): Promise<WorkOrderAttachmentDto[]>;
|
|
2386
|
+
getAttachmentFile(id: string, attachmentId: number): Promise<FileResponse>;
|
|
2387
|
+
deleteAttachment(id: string, attachmentId: number): Promise<FileResponse>;
|
|
2388
|
+
}
|
|
2389
|
+
export declare class MesProductionOrderAttachmentClient extends AuthorizedApiBase implements IMesProductionOrderAttachmentClient {
|
|
2390
|
+
private http;
|
|
2391
|
+
private baseUrl;
|
|
2392
|
+
constructor(configuration: IApiClientConfig, baseUrl?: string, http?: {
|
|
2393
|
+
fetch(url: RequestInfo, init?: RequestInit): Promise<Response>;
|
|
2394
|
+
});
|
|
2395
|
+
upload(id: string, type: ProductionOrderAttachmentType | undefined, description: string | null | undefined, file: FileParameter | null | undefined, notes: string | null | undefined, url: string | null | undefined): Promise<FileResponse>;
|
|
2396
|
+
protected processUpload(response: Response): Promise<FileResponse>;
|
|
2397
|
+
getAttachments(id: string): Promise<WorkOrderAttachmentDto[]>;
|
|
2398
|
+
protected processGetAttachments(response: Response): Promise<WorkOrderAttachmentDto[]>;
|
|
2399
|
+
getAttachmentFile(id: string, attachmentId: number): Promise<FileResponse>;
|
|
2400
|
+
protected processGetAttachmentFile(response: Response): Promise<FileResponse>;
|
|
2401
|
+
deleteAttachment(id: string, attachmentId: number): Promise<FileResponse>;
|
|
2402
|
+
protected processDeleteAttachment(response: Response): Promise<FileResponse>;
|
|
2403
|
+
}
|
|
2473
2404
|
export interface IMesProductionOrderClient {
|
|
2474
2405
|
getProductionOrder(id: string): Promise<ProductionOrderDto>;
|
|
2475
2406
|
getProductionOrderBom(id: string, operation: number | null | undefined): Promise<ProductionOrderBomDto[]>;
|
|
@@ -3032,22 +2963,22 @@ export declare class MeasurementFormsInstancesAdminClient extends AuthorizedApiB
|
|
|
3032
2963
|
protected processExportDimensionReportValues(response: Response): Promise<DownloadDto>;
|
|
3033
2964
|
}
|
|
3034
2965
|
export interface IMeasurementFormsInstancesClient {
|
|
3035
|
-
listMeasurementForms(pageSize: number | undefined, search: string | null | undefined, continuationToken: string | null | undefined,
|
|
2966
|
+
listMeasurementForms(pageSize: number | undefined, search: string | null | undefined, continuationToken: string | null | undefined, inactive: boolean | null | undefined, includeInactiveSupplierAccess: boolean | null | undefined): Promise<PagedResultOfMeasurementFormInstanceOverviewDto>;
|
|
3036
2967
|
postListMeasurementForms(request: ListMeasurementFormsRequest | undefined): Promise<PagedResultOfMeasurementFormInstanceOverviewDto>;
|
|
3037
|
-
getMeasurementFormInstance(id: string
|
|
2968
|
+
getMeasurementFormInstance(id: string): Promise<MeasurementFormInstanceDto>;
|
|
3038
2969
|
listMeasurementFormInstanceFeedback(id: string): Promise<MeasurementFormInstanceFeedbackDto[]>;
|
|
3039
|
-
completeMeasurementFormInstance(id: string
|
|
3040
|
-
completeMeasurementFormInstanceV2(id: string
|
|
3041
|
-
getMeasurementFormInstanceSchema(id: string, schemaId: string, serialNumber: string | null | undefined
|
|
3042
|
-
getWorkorderMeasurementFormProgress(id: string
|
|
3043
|
-
getAuditLog(id: string,
|
|
2970
|
+
completeMeasurementFormInstance(id: string): Promise<MeasurementFormInstanceDto>;
|
|
2971
|
+
completeMeasurementFormInstanceV2(id: string): Promise<CompleteMeasurementFormInstanceResult>;
|
|
2972
|
+
getMeasurementFormInstanceSchema(id: string, schemaId: string, serialNumber: string | null | undefined): Promise<MeasurementFormInstanceSchemaDto>;
|
|
2973
|
+
getWorkorderMeasurementFormProgress(id: string): Promise<MeasurementFormInstanceProgressDto>;
|
|
2974
|
+
getAuditLog(id: string, schemaId: string | null | undefined, serialNumber: string | null | undefined, elementId: string | null | undefined): Promise<MeasurementFormElementValueAuditDto[]>;
|
|
3044
2975
|
getValidationRules(): Promise<ValidationRuleDto[]>;
|
|
3045
|
-
saveValue(id: string,
|
|
3046
|
-
saveTool(id: string,
|
|
3047
|
-
saveComment(id: string,
|
|
3048
|
-
batchInsertValues(id: string,
|
|
3049
|
-
saveMeasurementFormInstanceSchemaComment(id: string, schemaId: string,
|
|
3050
|
-
createMeasurementFormInstanceSchemaFeedback(id: string, schemaId: string,
|
|
2976
|
+
saveValue(id: string, request: SaveValueRequest): Promise<SaveValueResponseDto>;
|
|
2977
|
+
saveTool(id: string, request: SaveToolRequest): Promise<SaveValueResponseDto>;
|
|
2978
|
+
saveComment(id: string, request: SaveCommentRequest): Promise<void>;
|
|
2979
|
+
batchInsertValues(id: string, request: BatchInsertValueRequest): Promise<BatchInsertValuesResponseDto>;
|
|
2980
|
+
saveMeasurementFormInstanceSchemaComment(id: string, schemaId: string, request: SaveMeasurementFormInstanceSchemaCommentRequest): Promise<void>;
|
|
2981
|
+
createMeasurementFormInstanceSchemaFeedback(id: string, schemaId: string, request: CreateMeasurementFormSchemaFeedbackRequest): Promise<SchemaFeedbackCreatedDto>;
|
|
3051
2982
|
listSupplierMeasurementFormInstances(supplierId: string): Promise<MeasurementFormSupplierAccessInstanceDto[]>;
|
|
3052
2983
|
upsertSupplierToMeasurmentFormInstance(id: string, supplierId: string, request: UpsertSupplierToMeasurementFormInstanceRequest): Promise<void>;
|
|
3053
2984
|
removeSupplierFromMeasurmentFormInstance(id: string, supplierId: string): Promise<void>;
|
|
@@ -3063,37 +2994,37 @@ export declare class MeasurementFormsInstancesClient extends AuthorizedApiBase i
|
|
|
3063
2994
|
constructor(configuration: IApiClientConfig, baseUrl?: string, http?: {
|
|
3064
2995
|
fetch(url: RequestInfo, init?: RequestInit): Promise<Response>;
|
|
3065
2996
|
});
|
|
3066
|
-
listMeasurementForms(pageSize: number | undefined, search: string | null | undefined, continuationToken: string | null | undefined,
|
|
2997
|
+
listMeasurementForms(pageSize: number | undefined, search: string | null | undefined, continuationToken: string | null | undefined, inactive: boolean | null | undefined, includeInactiveSupplierAccess: boolean | null | undefined): Promise<PagedResultOfMeasurementFormInstanceOverviewDto>;
|
|
3067
2998
|
protected processListMeasurementForms(response: Response): Promise<PagedResultOfMeasurementFormInstanceOverviewDto>;
|
|
3068
2999
|
postListMeasurementForms(request: ListMeasurementFormsRequest | undefined): Promise<PagedResultOfMeasurementFormInstanceOverviewDto>;
|
|
3069
3000
|
protected processPostListMeasurementForms(response: Response): Promise<PagedResultOfMeasurementFormInstanceOverviewDto>;
|
|
3070
|
-
getMeasurementFormInstance(id: string
|
|
3001
|
+
getMeasurementFormInstance(id: string): Promise<MeasurementFormInstanceDto>;
|
|
3071
3002
|
protected processGetMeasurementFormInstance(response: Response): Promise<MeasurementFormInstanceDto>;
|
|
3072
3003
|
listMeasurementFormInstanceFeedback(id: string): Promise<MeasurementFormInstanceFeedbackDto[]>;
|
|
3073
3004
|
protected processListMeasurementFormInstanceFeedback(response: Response): Promise<MeasurementFormInstanceFeedbackDto[]>;
|
|
3074
|
-
completeMeasurementFormInstance(id: string
|
|
3005
|
+
completeMeasurementFormInstance(id: string): Promise<MeasurementFormInstanceDto>;
|
|
3075
3006
|
protected processCompleteMeasurementFormInstance(response: Response): Promise<MeasurementFormInstanceDto>;
|
|
3076
|
-
completeMeasurementFormInstanceV2(id: string
|
|
3007
|
+
completeMeasurementFormInstanceV2(id: string): Promise<CompleteMeasurementFormInstanceResult>;
|
|
3077
3008
|
protected processCompleteMeasurementFormInstanceV2(response: Response): Promise<CompleteMeasurementFormInstanceResult>;
|
|
3078
|
-
getMeasurementFormInstanceSchema(id: string, schemaId: string, serialNumber: string | null | undefined
|
|
3009
|
+
getMeasurementFormInstanceSchema(id: string, schemaId: string, serialNumber: string | null | undefined): Promise<MeasurementFormInstanceSchemaDto>;
|
|
3079
3010
|
protected processGetMeasurementFormInstanceSchema(response: Response): Promise<MeasurementFormInstanceSchemaDto>;
|
|
3080
|
-
getWorkorderMeasurementFormProgress(id: string
|
|
3011
|
+
getWorkorderMeasurementFormProgress(id: string): Promise<MeasurementFormInstanceProgressDto>;
|
|
3081
3012
|
protected processGetWorkorderMeasurementFormProgress(response: Response): Promise<MeasurementFormInstanceProgressDto>;
|
|
3082
|
-
getAuditLog(id: string,
|
|
3013
|
+
getAuditLog(id: string, schemaId: string | null | undefined, serialNumber: string | null | undefined, elementId: string | null | undefined): Promise<MeasurementFormElementValueAuditDto[]>;
|
|
3083
3014
|
protected processGetAuditLog(response: Response): Promise<MeasurementFormElementValueAuditDto[]>;
|
|
3084
3015
|
getValidationRules(): Promise<ValidationRuleDto[]>;
|
|
3085
3016
|
protected processGetValidationRules(response: Response): Promise<ValidationRuleDto[]>;
|
|
3086
|
-
saveValue(id: string,
|
|
3017
|
+
saveValue(id: string, request: SaveValueRequest): Promise<SaveValueResponseDto>;
|
|
3087
3018
|
protected processSaveValue(response: Response): Promise<SaveValueResponseDto>;
|
|
3088
|
-
saveTool(id: string,
|
|
3019
|
+
saveTool(id: string, request: SaveToolRequest): Promise<SaveValueResponseDto>;
|
|
3089
3020
|
protected processSaveTool(response: Response): Promise<SaveValueResponseDto>;
|
|
3090
|
-
saveComment(id: string,
|
|
3021
|
+
saveComment(id: string, request: SaveCommentRequest): Promise<void>;
|
|
3091
3022
|
protected processSaveComment(response: Response): Promise<void>;
|
|
3092
|
-
batchInsertValues(id: string,
|
|
3023
|
+
batchInsertValues(id: string, request: BatchInsertValueRequest): Promise<BatchInsertValuesResponseDto>;
|
|
3093
3024
|
protected processBatchInsertValues(response: Response): Promise<BatchInsertValuesResponseDto>;
|
|
3094
|
-
saveMeasurementFormInstanceSchemaComment(id: string, schemaId: string,
|
|
3025
|
+
saveMeasurementFormInstanceSchemaComment(id: string, schemaId: string, request: SaveMeasurementFormInstanceSchemaCommentRequest): Promise<void>;
|
|
3095
3026
|
protected processSaveMeasurementFormInstanceSchemaComment(response: Response): Promise<void>;
|
|
3096
|
-
createMeasurementFormInstanceSchemaFeedback(id: string, schemaId: string,
|
|
3027
|
+
createMeasurementFormInstanceSchemaFeedback(id: string, schemaId: string, request: CreateMeasurementFormSchemaFeedbackRequest): Promise<SchemaFeedbackCreatedDto>;
|
|
3097
3028
|
protected processCreateMeasurementFormInstanceSchemaFeedback(response: Response): Promise<SchemaFeedbackCreatedDto>;
|
|
3098
3029
|
listSupplierMeasurementFormInstances(supplierId: string): Promise<MeasurementFormSupplierAccessInstanceDto[]>;
|
|
3099
3030
|
protected processListSupplierMeasurementFormInstances(response: Response): Promise<MeasurementFormSupplierAccessInstanceDto[]>;
|
|
@@ -3118,7 +3049,7 @@ export interface IMeasurementFormsInstancesInstanceAdminClient {
|
|
|
3118
3049
|
createMeasurementFormInstance2(id: string, request: CreateMeasurementFormInstanceRequest): Promise<MeasurementFormInstanceDto>;
|
|
3119
3050
|
reactivateMeasurementFormInstance(id: string): Promise<MeasurementFormInstanceDto>;
|
|
3120
3051
|
cancelMeasurementFormInstance(id: string): Promise<MeasurementFormInstanceDto>;
|
|
3121
|
-
toggleSchemaInstanceElementDocumentedExternallyOverride(id: string, schemaId: string, elementId: string
|
|
3052
|
+
toggleSchemaInstanceElementDocumentedExternallyOverride(id: string, schemaId: string, elementId: string): Promise<void>;
|
|
3122
3053
|
}
|
|
3123
3054
|
export declare class MeasurementFormsInstancesInstanceAdminClient extends AuthorizedApiBase implements IMeasurementFormsInstancesInstanceAdminClient {
|
|
3124
3055
|
private http;
|
|
@@ -3142,7 +3073,7 @@ export declare class MeasurementFormsInstancesInstanceAdminClient extends Author
|
|
|
3142
3073
|
protected processReactivateMeasurementFormInstance(response: Response): Promise<MeasurementFormInstanceDto>;
|
|
3143
3074
|
cancelMeasurementFormInstance(id: string): Promise<MeasurementFormInstanceDto>;
|
|
3144
3075
|
protected processCancelMeasurementFormInstance(response: Response): Promise<MeasurementFormInstanceDto>;
|
|
3145
|
-
toggleSchemaInstanceElementDocumentedExternallyOverride(id: string, schemaId: string, elementId: string
|
|
3076
|
+
toggleSchemaInstanceElementDocumentedExternallyOverride(id: string, schemaId: string, elementId: string): Promise<void>;
|
|
3146
3077
|
protected processToggleSchemaInstanceElementDocumentedExternallyOverride(response: Response): Promise<void>;
|
|
3147
3078
|
}
|
|
3148
3079
|
export interface ICompaniesClient {
|
|
@@ -3482,6 +3413,117 @@ export declare class WorkordersClient extends AuthorizedApiBase implements IWork
|
|
|
3482
3413
|
generateContentPartsForDiscussions(): Promise<WorkorderDiscussionMessageDto[]>;
|
|
3483
3414
|
protected processGenerateContentPartsForDiscussions(response: Response): Promise<WorkorderDiscussionMessageDto[]>;
|
|
3484
3415
|
}
|
|
3416
|
+
export interface IExternalAccessClient {
|
|
3417
|
+
listUsers(companyId: string | null | undefined): Promise<CompanyUserDto[]>;
|
|
3418
|
+
createCompanyUser(request: CreateCompanyUser): Promise<CompanyUserDto>;
|
|
3419
|
+
updateCompanyUser(id: string, request: UpdateCompanyUserRequest): Promise<CompanyUserDto>;
|
|
3420
|
+
deleteCompanyUser(id: string, companyId: string | null | undefined): Promise<void>;
|
|
3421
|
+
migrateLegacyCompanyUsersToEntra(): Promise<CompanyUserDto[]>;
|
|
3422
|
+
listRoles(): Promise<ExternalRoleDto[]>;
|
|
3423
|
+
listCompanyCustomers(): Promise<CompanyCustomerDto[]>;
|
|
3424
|
+
deleteCompanyCustomer(tenantId: string): Promise<void>;
|
|
3425
|
+
}
|
|
3426
|
+
export declare class ExternalAccessClient extends AuthorizedApiBase implements IExternalAccessClient {
|
|
3427
|
+
private http;
|
|
3428
|
+
private baseUrl;
|
|
3429
|
+
constructor(configuration: IApiClientConfig, baseUrl?: string, http?: {
|
|
3430
|
+
fetch(url: RequestInfo, init?: RequestInit): Promise<Response>;
|
|
3431
|
+
});
|
|
3432
|
+
listUsers(companyId: string | null | undefined): Promise<CompanyUserDto[]>;
|
|
3433
|
+
protected processListUsers(response: Response): Promise<CompanyUserDto[]>;
|
|
3434
|
+
createCompanyUser(request: CreateCompanyUser): Promise<CompanyUserDto>;
|
|
3435
|
+
protected processCreateCompanyUser(response: Response): Promise<CompanyUserDto>;
|
|
3436
|
+
updateCompanyUser(id: string, request: UpdateCompanyUserRequest): Promise<CompanyUserDto>;
|
|
3437
|
+
protected processUpdateCompanyUser(response: Response): Promise<CompanyUserDto>;
|
|
3438
|
+
deleteCompanyUser(id: string, companyId: string | null | undefined): Promise<void>;
|
|
3439
|
+
protected processDeleteCompanyUser(response: Response): Promise<void>;
|
|
3440
|
+
migrateLegacyCompanyUsersToEntra(): Promise<CompanyUserDto[]>;
|
|
3441
|
+
protected processMigrateLegacyCompanyUsersToEntra(response: Response): Promise<CompanyUserDto[]>;
|
|
3442
|
+
listRoles(): Promise<ExternalRoleDto[]>;
|
|
3443
|
+
protected processListRoles(response: Response): Promise<ExternalRoleDto[]>;
|
|
3444
|
+
listCompanyCustomers(): Promise<CompanyCustomerDto[]>;
|
|
3445
|
+
protected processListCompanyCustomers(response: Response): Promise<CompanyCustomerDto[]>;
|
|
3446
|
+
deleteCompanyCustomer(tenantId: string): Promise<void>;
|
|
3447
|
+
protected processDeleteCompanyCustomer(response: Response): Promise<void>;
|
|
3448
|
+
}
|
|
3449
|
+
export interface IExternalClient {
|
|
3450
|
+
listCompanies(): Promise<CompanyDto[]>;
|
|
3451
|
+
getCompany(id: string): Promise<CompanyDto>;
|
|
3452
|
+
getCurrentSupplierInvite(): Promise<SupplierInviteDto>;
|
|
3453
|
+
acceptSupplierInviteNewCompany(request: AcceptSupplierInviteNewCompany): Promise<SupplierInviteDto>;
|
|
3454
|
+
acceptSupplierInviteExistingCompany(request: AcceptSupplierInviteExistingCompany): Promise<SupplierInviteDto>;
|
|
3455
|
+
acceptSupplierInviteCustomer(request: AcceptSupplierInviteCustomer): Promise<SupplierInviteDto>;
|
|
3456
|
+
listTenantsWithSuppliers(): Promise<TenantWithSupplierDto[]>;
|
|
3457
|
+
}
|
|
3458
|
+
export declare class ExternalClient extends AuthorizedApiBase implements IExternalClient {
|
|
3459
|
+
private http;
|
|
3460
|
+
private baseUrl;
|
|
3461
|
+
constructor(configuration: IApiClientConfig, baseUrl?: string, http?: {
|
|
3462
|
+
fetch(url: RequestInfo, init?: RequestInit): Promise<Response>;
|
|
3463
|
+
});
|
|
3464
|
+
listCompanies(): Promise<CompanyDto[]>;
|
|
3465
|
+
protected processListCompanies(response: Response): Promise<CompanyDto[]>;
|
|
3466
|
+
getCompany(id: string): Promise<CompanyDto>;
|
|
3467
|
+
protected processGetCompany(response: Response): Promise<CompanyDto>;
|
|
3468
|
+
getCurrentSupplierInvite(): Promise<SupplierInviteDto>;
|
|
3469
|
+
protected processGetCurrentSupplierInvite(response: Response): Promise<SupplierInviteDto>;
|
|
3470
|
+
acceptSupplierInviteNewCompany(request: AcceptSupplierInviteNewCompany): Promise<SupplierInviteDto>;
|
|
3471
|
+
protected processAcceptSupplierInviteNewCompany(response: Response): Promise<SupplierInviteDto>;
|
|
3472
|
+
acceptSupplierInviteExistingCompany(request: AcceptSupplierInviteExistingCompany): Promise<SupplierInviteDto>;
|
|
3473
|
+
protected processAcceptSupplierInviteExistingCompany(response: Response): Promise<SupplierInviteDto>;
|
|
3474
|
+
acceptSupplierInviteCustomer(request: AcceptSupplierInviteCustomer): Promise<SupplierInviteDto>;
|
|
3475
|
+
protected processAcceptSupplierInviteCustomer(response: Response): Promise<SupplierInviteDto>;
|
|
3476
|
+
listTenantsWithSuppliers(): Promise<TenantWithSupplierDto[]>;
|
|
3477
|
+
protected processListTenantsWithSuppliers(response: Response): Promise<TenantWithSupplierDto[]>;
|
|
3478
|
+
}
|
|
3479
|
+
export interface ISuppliersClient {
|
|
3480
|
+
listSupplierInvites(): Promise<SupplierInviteDto[]>;
|
|
3481
|
+
createSupplierInvite(request: CreateSupplierInviteRequest): Promise<SupplierInviteDto>;
|
|
3482
|
+
deleteSupplierInvite(id: string): Promise<void>;
|
|
3483
|
+
listSuppliers(): Promise<ExternalSupplierDto[]>;
|
|
3484
|
+
deleteSupplier(id: string): Promise<void>;
|
|
3485
|
+
/**
|
|
3486
|
+
* Creates a mapping between old supplier id and new supplier id.
|
|
3487
|
+
*/
|
|
3488
|
+
createSupplierMapping(request: CreateSupplierMapping): Promise<void>;
|
|
3489
|
+
/**
|
|
3490
|
+
* Delete all supplier mappings between old supplier ids and new supplier ids.
|
|
3491
|
+
*/
|
|
3492
|
+
deleteSupplierMappings(): Promise<void>;
|
|
3493
|
+
lookupOrganization(threeLetterIsoCountry: string | undefined, organizationNumber: string | undefined): Promise<OrganizationDto>;
|
|
3494
|
+
getOrganizationLookupSupportedCountries(): Promise<CountryDto[]>;
|
|
3495
|
+
}
|
|
3496
|
+
export declare class SuppliersClient extends AuthorizedApiBase implements ISuppliersClient {
|
|
3497
|
+
private http;
|
|
3498
|
+
private baseUrl;
|
|
3499
|
+
constructor(configuration: IApiClientConfig, baseUrl?: string, http?: {
|
|
3500
|
+
fetch(url: RequestInfo, init?: RequestInit): Promise<Response>;
|
|
3501
|
+
});
|
|
3502
|
+
listSupplierInvites(): Promise<SupplierInviteDto[]>;
|
|
3503
|
+
protected processListSupplierInvites(response: Response): Promise<SupplierInviteDto[]>;
|
|
3504
|
+
createSupplierInvite(request: CreateSupplierInviteRequest): Promise<SupplierInviteDto>;
|
|
3505
|
+
protected processCreateSupplierInvite(response: Response): Promise<SupplierInviteDto>;
|
|
3506
|
+
deleteSupplierInvite(id: string): Promise<void>;
|
|
3507
|
+
protected processDeleteSupplierInvite(response: Response): Promise<void>;
|
|
3508
|
+
listSuppliers(): Promise<ExternalSupplierDto[]>;
|
|
3509
|
+
protected processListSuppliers(response: Response): Promise<ExternalSupplierDto[]>;
|
|
3510
|
+
deleteSupplier(id: string): Promise<void>;
|
|
3511
|
+
protected processDeleteSupplier(response: Response): Promise<void>;
|
|
3512
|
+
/**
|
|
3513
|
+
* Creates a mapping between old supplier id and new supplier id.
|
|
3514
|
+
*/
|
|
3515
|
+
createSupplierMapping(request: CreateSupplierMapping): Promise<void>;
|
|
3516
|
+
protected processCreateSupplierMapping(response: Response): Promise<void>;
|
|
3517
|
+
/**
|
|
3518
|
+
* Delete all supplier mappings between old supplier ids and new supplier ids.
|
|
3519
|
+
*/
|
|
3520
|
+
deleteSupplierMappings(): Promise<void>;
|
|
3521
|
+
protected processDeleteSupplierMappings(response: Response): Promise<void>;
|
|
3522
|
+
lookupOrganization(threeLetterIsoCountry: string | undefined, organizationNumber: string | undefined): Promise<OrganizationDto>;
|
|
3523
|
+
protected processLookupOrganization(response: Response): Promise<OrganizationDto>;
|
|
3524
|
+
getOrganizationLookupSupportedCountries(): Promise<CountryDto[]>;
|
|
3525
|
+
protected processGetOrganizationLookupSupportedCountries(response: Response): Promise<CountryDto[]>;
|
|
3526
|
+
}
|
|
3485
3527
|
export interface AzureRegionDto {
|
|
3486
3528
|
displayName: string;
|
|
3487
3529
|
name: string;
|
|
@@ -3793,6 +3835,9 @@ export interface UserDetailsDto {
|
|
|
3793
3835
|
isExternalUser?: boolean;
|
|
3794
3836
|
isBetaTester?: boolean | null;
|
|
3795
3837
|
hasAccessToIgnos?: boolean;
|
|
3838
|
+
isInvitedUser?: boolean;
|
|
3839
|
+
isSupplier?: boolean;
|
|
3840
|
+
companyId?: string | null;
|
|
3796
3841
|
}
|
|
3797
3842
|
export interface UserDto {
|
|
3798
3843
|
id?: string | null;
|
|
@@ -5805,97 +5850,6 @@ export interface DocumentGeneratorTypeDto {
|
|
|
5805
5850
|
key: string;
|
|
5806
5851
|
description: string;
|
|
5807
5852
|
}
|
|
5808
|
-
export interface CompanyUserDto {
|
|
5809
|
-
companyId?: string | null;
|
|
5810
|
-
username?: string | null;
|
|
5811
|
-
name?: string | null;
|
|
5812
|
-
roles?: string[] | null;
|
|
5813
|
-
}
|
|
5814
|
-
export interface CreateCompanyUserRequest {
|
|
5815
|
-
username: string;
|
|
5816
|
-
name: string;
|
|
5817
|
-
roles: string[];
|
|
5818
|
-
companyId?: string | null;
|
|
5819
|
-
}
|
|
5820
|
-
export interface UpdateCompanyUserRequest {
|
|
5821
|
-
name: string;
|
|
5822
|
-
roles: string[];
|
|
5823
|
-
companyId?: string | null;
|
|
5824
|
-
}
|
|
5825
|
-
export interface ExternalRoleDto {
|
|
5826
|
-
id: string;
|
|
5827
|
-
name: string;
|
|
5828
|
-
}
|
|
5829
|
-
export interface CompanyCustomerDto {
|
|
5830
|
-
customerTenantId?: string | null;
|
|
5831
|
-
customerAzureAdTenantId?: string | null;
|
|
5832
|
-
customerName?: string | null;
|
|
5833
|
-
supplierId?: string | null;
|
|
5834
|
-
supplierName?: string | null;
|
|
5835
|
-
}
|
|
5836
|
-
export interface InviteDto {
|
|
5837
|
-
tenantId: string;
|
|
5838
|
-
companyName: string;
|
|
5839
|
-
id: string;
|
|
5840
|
-
supplierId: string;
|
|
5841
|
-
supplierName: string;
|
|
5842
|
-
username: string;
|
|
5843
|
-
deadline: Date;
|
|
5844
|
-
createdTime: Date;
|
|
5845
|
-
createdBy: string;
|
|
5846
|
-
}
|
|
5847
|
-
export interface CompanyDto {
|
|
5848
|
-
id?: string | null;
|
|
5849
|
-
name?: string | null;
|
|
5850
|
-
organizationNumber?: string | null;
|
|
5851
|
-
country?: string | null;
|
|
5852
|
-
tenantId?: string | null;
|
|
5853
|
-
}
|
|
5854
|
-
export interface AcceptSupplierInviteRequest {
|
|
5855
|
-
tenantId: string;
|
|
5856
|
-
existingCompanyId?: string | null;
|
|
5857
|
-
companyName?: string | null;
|
|
5858
|
-
organizationNumber?: string | null;
|
|
5859
|
-
threeLetterIsoCountry?: string | null;
|
|
5860
|
-
}
|
|
5861
|
-
export interface SupplierInviteDto {
|
|
5862
|
-
id: string;
|
|
5863
|
-
supplierId: string;
|
|
5864
|
-
name: string;
|
|
5865
|
-
username: string;
|
|
5866
|
-
deadline: Date;
|
|
5867
|
-
createdTime: Date;
|
|
5868
|
-
createdBy: string;
|
|
5869
|
-
}
|
|
5870
|
-
export interface CreateSupplierInvite {
|
|
5871
|
-
supplierId: string;
|
|
5872
|
-
name: string;
|
|
5873
|
-
username: string;
|
|
5874
|
-
deadline: Date;
|
|
5875
|
-
}
|
|
5876
|
-
export interface ExternalSupplierDto {
|
|
5877
|
-
id: string;
|
|
5878
|
-
name: string;
|
|
5879
|
-
companyId: string;
|
|
5880
|
-
active: boolean;
|
|
5881
|
-
}
|
|
5882
|
-
export interface ImportSupplier {
|
|
5883
|
-
supplierId: string;
|
|
5884
|
-
name: string;
|
|
5885
|
-
organizationNumber?: string | null;
|
|
5886
|
-
threeLetterIsoCountry: string;
|
|
5887
|
-
users: ImportSupplierUserDto[];
|
|
5888
|
-
}
|
|
5889
|
-
export interface ImportSupplierUserDto {
|
|
5890
|
-
username: string;
|
|
5891
|
-
name: string;
|
|
5892
|
-
roles: string[];
|
|
5893
|
-
}
|
|
5894
|
-
export interface CreateSupplierMapping {
|
|
5895
|
-
companyId: string;
|
|
5896
|
-
existingSupplierId: string;
|
|
5897
|
-
newSupplierId: string;
|
|
5898
|
-
}
|
|
5899
5853
|
export interface CncMachineTransferDto {
|
|
5900
5854
|
id: string;
|
|
5901
5855
|
cncMachineOperationId?: string | null;
|
|
@@ -7302,6 +7256,18 @@ export interface LabelId {
|
|
|
7302
7256
|
parcelId: string;
|
|
7303
7257
|
trackingId?: string | null;
|
|
7304
7258
|
}
|
|
7259
|
+
export type ProductionOrderAttachmentType = "Url" | "Note" | "Image" | "File";
|
|
7260
|
+
export interface WorkOrderAttachmentDto {
|
|
7261
|
+
createdBy?: UserDto | null;
|
|
7262
|
+
created?: Date | null;
|
|
7263
|
+
modifiedBy?: UserDto | null;
|
|
7264
|
+
modified?: Date | null;
|
|
7265
|
+
attachmentId?: number | null;
|
|
7266
|
+
name?: string | null;
|
|
7267
|
+
fileName?: string | null;
|
|
7268
|
+
notes?: string | null;
|
|
7269
|
+
attachmentType?: string | null;
|
|
7270
|
+
}
|
|
7305
7271
|
export interface ProductionOrderDto {
|
|
7306
7272
|
id: string;
|
|
7307
7273
|
companyId: string;
|
|
@@ -7360,15 +7326,6 @@ export interface ProductionOrderOperationDto {
|
|
|
7360
7326
|
productionStatus: OperationStatusDto;
|
|
7361
7327
|
setupStatus?: OperationStatusDto | null;
|
|
7362
7328
|
}
|
|
7363
|
-
export interface WorkOrderAttachmentDto {
|
|
7364
|
-
createdBy?: UserDto | null;
|
|
7365
|
-
created?: Date | null;
|
|
7366
|
-
modifiedBy?: UserDto | null;
|
|
7367
|
-
modified?: Date | null;
|
|
7368
|
-
name?: string | null;
|
|
7369
|
-
notes?: string | null;
|
|
7370
|
-
attachmentType?: string | null;
|
|
7371
|
-
}
|
|
7372
7329
|
export interface DrawingDto {
|
|
7373
7330
|
drawingNumber: string;
|
|
7374
7331
|
revision: string;
|
|
@@ -9213,7 +9170,6 @@ export interface ListMeasurementFormsRequest {
|
|
|
9213
9170
|
pageSize?: number | null;
|
|
9214
9171
|
search?: string | null;
|
|
9215
9172
|
continuationToken?: string | null;
|
|
9216
|
-
tenantId?: string | null;
|
|
9217
9173
|
inactive?: boolean | null;
|
|
9218
9174
|
includeInactiveSupplierAccess?: boolean | null;
|
|
9219
9175
|
}
|
|
@@ -9409,7 +9365,6 @@ export interface UpsertSupplierToMeasurementFormInstanceRequest {
|
|
|
9409
9365
|
externalOrderNumber?: string | null;
|
|
9410
9366
|
}
|
|
9411
9367
|
export interface ExportDimensionReportV2Request {
|
|
9412
|
-
tenantId?: string | null;
|
|
9413
9368
|
type: DimensionReportType;
|
|
9414
9369
|
extras?: DimensionReportExtras | null;
|
|
9415
9370
|
specificSerialNumbers?: string[] | null;
|
|
@@ -9752,6 +9707,94 @@ export interface SetDiscussionLastReadRequest {
|
|
|
9752
9707
|
operationId?: string | null;
|
|
9753
9708
|
resourceId?: string | null;
|
|
9754
9709
|
}
|
|
9710
|
+
export interface CompanyUserDto {
|
|
9711
|
+
companyId: string;
|
|
9712
|
+
userObjectId: string;
|
|
9713
|
+
username?: string | null;
|
|
9714
|
+
name?: string | null;
|
|
9715
|
+
roles: string[];
|
|
9716
|
+
}
|
|
9717
|
+
export interface CreateCompanyUser {
|
|
9718
|
+
username: string;
|
|
9719
|
+
name: string;
|
|
9720
|
+
roles: string[];
|
|
9721
|
+
companyId?: string | null;
|
|
9722
|
+
}
|
|
9723
|
+
export interface UpdateCompanyUserRequest {
|
|
9724
|
+
roles: string[];
|
|
9725
|
+
companyId?: string | null;
|
|
9726
|
+
}
|
|
9727
|
+
export interface ExternalRoleDto {
|
|
9728
|
+
id: string;
|
|
9729
|
+
name: string;
|
|
9730
|
+
}
|
|
9731
|
+
export interface CompanyCustomerDto {
|
|
9732
|
+
customerTenantId?: string | null;
|
|
9733
|
+
customerAzureAdTenantId?: string | null;
|
|
9734
|
+
customerName?: string | null;
|
|
9735
|
+
supplierId?: string | null;
|
|
9736
|
+
supplierName?: string | null;
|
|
9737
|
+
customerIgnosPortalPrefix?: string | null;
|
|
9738
|
+
}
|
|
9739
|
+
export interface CompanyDto {
|
|
9740
|
+
id: string;
|
|
9741
|
+
name: string;
|
|
9742
|
+
organizationNumber?: string | null;
|
|
9743
|
+
country: string;
|
|
9744
|
+
tenantId?: string | null;
|
|
9745
|
+
}
|
|
9746
|
+
export interface SupplierInviteDto {
|
|
9747
|
+
id: string;
|
|
9748
|
+
supplierId: string;
|
|
9749
|
+
supplierName?: string | null;
|
|
9750
|
+
customerName?: string | null;
|
|
9751
|
+
userId: string;
|
|
9752
|
+
userName?: string | null;
|
|
9753
|
+
acceptedTimestamp?: Date | null;
|
|
9754
|
+
createdTime: Date;
|
|
9755
|
+
createdBy: string;
|
|
9756
|
+
}
|
|
9757
|
+
export interface AcceptSupplierInviteNewCompany {
|
|
9758
|
+
companyName?: string;
|
|
9759
|
+
organizationNumber?: string;
|
|
9760
|
+
threeLetterIsoCountry?: string;
|
|
9761
|
+
}
|
|
9762
|
+
export interface AcceptSupplierInviteExistingCompany {
|
|
9763
|
+
companyId?: string;
|
|
9764
|
+
}
|
|
9765
|
+
export interface AcceptSupplierInviteCustomer {
|
|
9766
|
+
tenantId?: string;
|
|
9767
|
+
organizationNumber?: string;
|
|
9768
|
+
}
|
|
9769
|
+
export interface TenantWithSupplierDto {
|
|
9770
|
+
tenantId: string;
|
|
9771
|
+
customerName: string;
|
|
9772
|
+
supplierTenantEntraId: string;
|
|
9773
|
+
}
|
|
9774
|
+
export interface CreateSupplierInviteRequest {
|
|
9775
|
+
supplierId: string;
|
|
9776
|
+
threeLetterIsoCountry: string;
|
|
9777
|
+
organizationNumber: string;
|
|
9778
|
+
supplierName?: string | null;
|
|
9779
|
+
username: string;
|
|
9780
|
+
invitedName: string;
|
|
9781
|
+
}
|
|
9782
|
+
export interface ExternalSupplierDto {
|
|
9783
|
+
id: string;
|
|
9784
|
+
name: string;
|
|
9785
|
+
companyId: string;
|
|
9786
|
+
active: boolean;
|
|
9787
|
+
}
|
|
9788
|
+
export interface CreateSupplierMapping {
|
|
9789
|
+
companyId: string;
|
|
9790
|
+
existingSupplierId: string;
|
|
9791
|
+
newSupplierId: string;
|
|
9792
|
+
}
|
|
9793
|
+
export interface OrganizationDto {
|
|
9794
|
+
name?: string;
|
|
9795
|
+
postalAddress?: string | null;
|
|
9796
|
+
registeredAddress?: string | null;
|
|
9797
|
+
}
|
|
9755
9798
|
export type FeatureCollectionType = "FeatureCollection";
|
|
9756
9799
|
export interface Features {
|
|
9757
9800
|
type: FeaturesType;
|