@ignos/api-client 20261110.357.1-alpha → 20261110.358.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/ignosportal-api.d.ts +216 -250
- package/lib/ignosportal-api.js +4816 -4977
- package/package.json +1 -1
- package/src/ignosportal-api.ts +6803 -6990
package/lib/ignosportal-api.d.ts
CHANGED
|
@@ -127,7 +127,6 @@ export declare class CustomersClient extends AuthorizedApiBase implements ICusto
|
|
|
127
127
|
}
|
|
128
128
|
export interface IGuestsClient {
|
|
129
129
|
getGuestLoginInfo(search: string | undefined): Promise<GuestLoginInfoDto>;
|
|
130
|
-
getSupplierLoginInfo(search: string | undefined): Promise<GuestLoginInfoDto>;
|
|
131
130
|
}
|
|
132
131
|
export declare class GuestsClient extends AuthorizedApiBase implements IGuestsClient {
|
|
133
132
|
private http;
|
|
@@ -137,8 +136,6 @@ export declare class GuestsClient extends AuthorizedApiBase implements IGuestsCl
|
|
|
137
136
|
});
|
|
138
137
|
getGuestLoginInfo(search: string | undefined): Promise<GuestLoginInfoDto>;
|
|
139
138
|
protected processGetGuestLoginInfo(response: Response): Promise<GuestLoginInfoDto>;
|
|
140
|
-
getSupplierLoginInfo(search: string | undefined): Promise<GuestLoginInfoDto>;
|
|
141
|
-
protected processGetSupplierLoginInfo(response: Response): Promise<GuestLoginInfoDto>;
|
|
142
139
|
}
|
|
143
140
|
export interface IPresentationClient {
|
|
144
141
|
getComponentSettings(componentId: string): Promise<ComponentSettingsDto>;
|
|
@@ -1626,6 +1623,99 @@ export declare class DocumentTypesClient extends AuthorizedApiBase implements ID
|
|
|
1626
1623
|
listDocumentGenerators(): Promise<DocumentGeneratorTypeDto[]>;
|
|
1627
1624
|
protected processListDocumentGenerators(response: Response): Promise<DocumentGeneratorTypeDto[]>;
|
|
1628
1625
|
}
|
|
1626
|
+
export interface IExternalAccessClient {
|
|
1627
|
+
listUsers(companyId: string | null | undefined): Promise<CompanyUserDto[]>;
|
|
1628
|
+
createCompanyUser(request: CreateCompanyUserRequest): Promise<CompanyUserDto>;
|
|
1629
|
+
updateCompanyUser(id: string, request: UpdateCompanyUserRequest): Promise<CompanyUserDto>;
|
|
1630
|
+
deleteCompanyUser(id: string, companyId: string | null | undefined): Promise<void>;
|
|
1631
|
+
listRoles(): Promise<ExternalRoleDto[]>;
|
|
1632
|
+
listCompanyCustomers(): Promise<CompanyCustomerDto[]>;
|
|
1633
|
+
deleteCompanyCustomer(tenantId: string): Promise<void>;
|
|
1634
|
+
}
|
|
1635
|
+
export declare class ExternalAccessClient extends AuthorizedApiBase implements IExternalAccessClient {
|
|
1636
|
+
private http;
|
|
1637
|
+
private baseUrl;
|
|
1638
|
+
constructor(configuration: IApiClientConfig, baseUrl?: string, http?: {
|
|
1639
|
+
fetch(url: RequestInfo, init?: RequestInit): Promise<Response>;
|
|
1640
|
+
});
|
|
1641
|
+
listUsers(companyId: string | null | undefined): Promise<CompanyUserDto[]>;
|
|
1642
|
+
protected processListUsers(response: Response): Promise<CompanyUserDto[]>;
|
|
1643
|
+
createCompanyUser(request: CreateCompanyUserRequest): Promise<CompanyUserDto>;
|
|
1644
|
+
protected processCreateCompanyUser(response: Response): Promise<CompanyUserDto>;
|
|
1645
|
+
updateCompanyUser(id: string, request: UpdateCompanyUserRequest): Promise<CompanyUserDto>;
|
|
1646
|
+
protected processUpdateCompanyUser(response: Response): Promise<CompanyUserDto>;
|
|
1647
|
+
deleteCompanyUser(id: string, companyId: string | null | undefined): Promise<void>;
|
|
1648
|
+
protected processDeleteCompanyUser(response: Response): Promise<void>;
|
|
1649
|
+
listRoles(): Promise<ExternalRoleDto[]>;
|
|
1650
|
+
protected processListRoles(response: Response): Promise<ExternalRoleDto[]>;
|
|
1651
|
+
listCompanyCustomers(): Promise<CompanyCustomerDto[]>;
|
|
1652
|
+
protected processListCompanyCustomers(response: Response): Promise<CompanyCustomerDto[]>;
|
|
1653
|
+
deleteCompanyCustomer(tenantId: string): Promise<void>;
|
|
1654
|
+
protected processDeleteCompanyCustomer(response: Response): Promise<void>;
|
|
1655
|
+
}
|
|
1656
|
+
export interface IExternalClient {
|
|
1657
|
+
listInvites(): Promise<InviteDto[]>;
|
|
1658
|
+
acceptSupplierInvite(request: AcceptSupplierInviteRequest): Promise<CompanyDto>;
|
|
1659
|
+
listCompanies(): Promise<CompanyDto[]>;
|
|
1660
|
+
}
|
|
1661
|
+
export declare class ExternalClient extends AuthorizedApiBase implements IExternalClient {
|
|
1662
|
+
private http;
|
|
1663
|
+
private baseUrl;
|
|
1664
|
+
constructor(configuration: IApiClientConfig, baseUrl?: string, http?: {
|
|
1665
|
+
fetch(url: RequestInfo, init?: RequestInit): Promise<Response>;
|
|
1666
|
+
});
|
|
1667
|
+
listInvites(): Promise<InviteDto[]>;
|
|
1668
|
+
protected processListInvites(response: Response): Promise<InviteDto[]>;
|
|
1669
|
+
acceptSupplierInvite(request: AcceptSupplierInviteRequest): Promise<CompanyDto>;
|
|
1670
|
+
protected processAcceptSupplierInvite(response: Response): Promise<CompanyDto>;
|
|
1671
|
+
listCompanies(): Promise<CompanyDto[]>;
|
|
1672
|
+
protected processListCompanies(response: Response): Promise<CompanyDto[]>;
|
|
1673
|
+
}
|
|
1674
|
+
export interface ISuppliersClient {
|
|
1675
|
+
listSupplierInvites(): Promise<SupplierInviteDto[]>;
|
|
1676
|
+
createSupplierInvite(request: CreateSupplierInvite): Promise<SupplierInviteDto>;
|
|
1677
|
+
deleteSupplierInvite(id: string): Promise<void>;
|
|
1678
|
+
listSuppliers(): Promise<ExternalSupplierDto[]>;
|
|
1679
|
+
deleteSupplier(id: string): Promise<void>;
|
|
1680
|
+
importSupplier(importSupplier: ImportSupplier): Promise<ExternalSupplierDto>;
|
|
1681
|
+
/**
|
|
1682
|
+
* Creates a mapping between old supplier id and new supplier id.
|
|
1683
|
+
*/
|
|
1684
|
+
createSupplierMapping(request: CreateSupplierMapping): Promise<void>;
|
|
1685
|
+
/**
|
|
1686
|
+
* Delete all supplier mappings between old supplier ids and new supplier ids.
|
|
1687
|
+
*/
|
|
1688
|
+
deleteSupplierMappings(): Promise<void>;
|
|
1689
|
+
}
|
|
1690
|
+
export declare class SuppliersClient extends AuthorizedApiBase implements ISuppliersClient {
|
|
1691
|
+
private http;
|
|
1692
|
+
private baseUrl;
|
|
1693
|
+
constructor(configuration: IApiClientConfig, baseUrl?: string, http?: {
|
|
1694
|
+
fetch(url: RequestInfo, init?: RequestInit): Promise<Response>;
|
|
1695
|
+
});
|
|
1696
|
+
listSupplierInvites(): Promise<SupplierInviteDto[]>;
|
|
1697
|
+
protected processListSupplierInvites(response: Response): Promise<SupplierInviteDto[]>;
|
|
1698
|
+
createSupplierInvite(request: CreateSupplierInvite): Promise<SupplierInviteDto>;
|
|
1699
|
+
protected processCreateSupplierInvite(response: Response): Promise<SupplierInviteDto>;
|
|
1700
|
+
deleteSupplierInvite(id: string): Promise<void>;
|
|
1701
|
+
protected processDeleteSupplierInvite(response: Response): Promise<void>;
|
|
1702
|
+
listSuppliers(): Promise<ExternalSupplierDto[]>;
|
|
1703
|
+
protected processListSuppliers(response: Response): Promise<ExternalSupplierDto[]>;
|
|
1704
|
+
deleteSupplier(id: string): Promise<void>;
|
|
1705
|
+
protected processDeleteSupplier(response: Response): Promise<void>;
|
|
1706
|
+
importSupplier(importSupplier: ImportSupplier): Promise<ExternalSupplierDto>;
|
|
1707
|
+
protected processImportSupplier(response: Response): Promise<ExternalSupplierDto>;
|
|
1708
|
+
/**
|
|
1709
|
+
* Creates a mapping between old supplier id and new supplier id.
|
|
1710
|
+
*/
|
|
1711
|
+
createSupplierMapping(request: CreateSupplierMapping): Promise<void>;
|
|
1712
|
+
protected processCreateSupplierMapping(response: Response): Promise<void>;
|
|
1713
|
+
/**
|
|
1714
|
+
* Delete all supplier mappings between old supplier ids and new supplier ids.
|
|
1715
|
+
*/
|
|
1716
|
+
deleteSupplierMappings(): Promise<void>;
|
|
1717
|
+
protected processDeleteSupplierMappings(response: Response): Promise<void>;
|
|
1718
|
+
}
|
|
1629
1719
|
export interface ICncFileTransferClient {
|
|
1630
1720
|
startCncMachineOperationTransferToCloud(id: string): Promise<CncMachineTransferDto>;
|
|
1631
1721
|
startCncMachineOperationTransferToMachine(id: string, request: TransferToMachineRequest | undefined): Promise<CncMachineTransferDto>;
|
|
@@ -3312,23 +3402,23 @@ export declare class MeasurementFormsInstancesAdminClient extends AuthorizedApiB
|
|
|
3312
3402
|
protected processExportDimensionReportValues(response: Response): Promise<DownloadDto>;
|
|
3313
3403
|
}
|
|
3314
3404
|
export interface IMeasurementFormsInstancesClient {
|
|
3315
|
-
listMeasurementForms(pageSize: number | undefined, search: string | null | undefined, continuationToken: string | null | undefined, inactive: boolean | null | undefined, includeInactiveSupplierAccess: boolean | null | undefined): Promise<PagedResultOfMeasurementFormInstanceOverviewDto>;
|
|
3405
|
+
listMeasurementForms(pageSize: number | undefined, search: string | null | undefined, continuationToken: string | null | undefined, tenantId: string | null | undefined, inactive: boolean | null | undefined, includeInactiveSupplierAccess: boolean | null | undefined): Promise<PagedResultOfMeasurementFormInstanceOverviewDto>;
|
|
3316
3406
|
postListMeasurementForms(request: ListMeasurementFormsRequest | undefined): Promise<PagedResultOfMeasurementFormInstanceOverviewDto>;
|
|
3317
|
-
getMeasurementFormInstance(id: string): Promise<MeasurementFormInstanceDto>;
|
|
3407
|
+
getMeasurementFormInstance(id: string, tenantId: string | null | undefined): Promise<MeasurementFormInstanceDto>;
|
|
3318
3408
|
listMeasurementFormInstanceFeedback(id: string): Promise<MeasurementFormInstanceFeedbackDto[]>;
|
|
3319
|
-
completeMeasurementFormInstance(id: string): Promise<MeasurementFormInstanceDto>;
|
|
3320
|
-
completeMeasurementFormInstanceV2(id: string): Promise<CompleteMeasurementFormInstanceResult>;
|
|
3321
|
-
getMeasurementFormInstanceSchema(id: string, schemaId: string, serialNumber: string | null | undefined): Promise<MeasurementFormInstanceSchemaDto>;
|
|
3322
|
-
getMeasurementFormInstanceSchemaCreatorState(id: string, schemaId: string): Promise<SchemaCreatorStateDto>;
|
|
3323
|
-
getWorkorderMeasurementFormProgress(id: string): Promise<MeasurementFormInstanceProgressDto>;
|
|
3324
|
-
getAuditLog(id: string, schemaId: string | null | undefined, serialNumber: string | null | undefined, elementId: string | null | undefined): Promise<MeasurementFormElementValueAuditDto[]>;
|
|
3409
|
+
completeMeasurementFormInstance(id: string, tenantId: string | null | undefined): Promise<MeasurementFormInstanceDto>;
|
|
3410
|
+
completeMeasurementFormInstanceV2(id: string, tenantId: string | null | undefined): Promise<CompleteMeasurementFormInstanceResult>;
|
|
3411
|
+
getMeasurementFormInstanceSchema(id: string, schemaId: string, serialNumber: string | null | undefined, tenantId: string | null | undefined): Promise<MeasurementFormInstanceSchemaDto>;
|
|
3412
|
+
getMeasurementFormInstanceSchemaCreatorState(id: string, schemaId: string, tenantId: string | null | undefined): Promise<SchemaCreatorStateDto>;
|
|
3413
|
+
getWorkorderMeasurementFormProgress(id: string, tenantId: string | null | undefined): Promise<MeasurementFormInstanceProgressDto>;
|
|
3414
|
+
getAuditLog(id: string, tenantId: string | null | undefined, schemaId: string | null | undefined, serialNumber: string | null | undefined, elementId: string | null | undefined): Promise<MeasurementFormElementValueAuditDto[]>;
|
|
3325
3415
|
getValidationRules(): Promise<ValidationRuleDto[]>;
|
|
3326
|
-
saveValue(id: string, request: SaveValueRequest): Promise<SaveValueResponseDto>;
|
|
3327
|
-
saveTool(id: string, request: SaveToolRequest): Promise<SaveValueResponseDto>;
|
|
3328
|
-
saveComment(id: string, request: SaveCommentRequest): Promise<void>;
|
|
3329
|
-
batchInsertValues(id: string, request: BatchInsertValueRequest): Promise<BatchInsertValuesResponseDto>;
|
|
3330
|
-
saveMeasurementFormInstanceSchemaComment(id: string, schemaId: string, request: SaveMeasurementFormInstanceSchemaCommentRequest): Promise<void>;
|
|
3331
|
-
createMeasurementFormInstanceSchemaFeedback(id: string, schemaId: string, request: CreateMeasurementFormSchemaFeedbackRequest): Promise<SchemaFeedbackCreatedDto>;
|
|
3416
|
+
saveValue(id: string, tenantId: string | null | undefined, request: SaveValueRequest): Promise<SaveValueResponseDto>;
|
|
3417
|
+
saveTool(id: string, tenantId: string | null | undefined, request: SaveToolRequest): Promise<SaveValueResponseDto>;
|
|
3418
|
+
saveComment(id: string, tenantId: string | null | undefined, request: SaveCommentRequest): Promise<void>;
|
|
3419
|
+
batchInsertValues(id: string, tenantId: string | null | undefined, request: BatchInsertValueRequest): Promise<BatchInsertValuesResponseDto>;
|
|
3420
|
+
saveMeasurementFormInstanceSchemaComment(id: string, schemaId: string, tenantId: string | null | undefined, request: SaveMeasurementFormInstanceSchemaCommentRequest): Promise<void>;
|
|
3421
|
+
createMeasurementFormInstanceSchemaFeedback(id: string, schemaId: string, tenantId: string | null | undefined, request: CreateMeasurementFormSchemaFeedbackRequest): Promise<SchemaFeedbackCreatedDto>;
|
|
3332
3422
|
listSupplierMeasurementFormInstances(supplierId: string): Promise<MeasurementFormSupplierAccessInstanceDto[]>;
|
|
3333
3423
|
upsertSupplierToMeasurmentFormInstance(id: string, supplierId: string, request: UpsertSupplierToMeasurementFormInstanceRequest): Promise<void>;
|
|
3334
3424
|
removeSupplierFromMeasurmentFormInstance(id: string, supplierId: string): Promise<void>;
|
|
@@ -3344,39 +3434,39 @@ export declare class MeasurementFormsInstancesClient extends AuthorizedApiBase i
|
|
|
3344
3434
|
constructor(configuration: IApiClientConfig, baseUrl?: string, http?: {
|
|
3345
3435
|
fetch(url: RequestInfo, init?: RequestInit): Promise<Response>;
|
|
3346
3436
|
});
|
|
3347
|
-
listMeasurementForms(pageSize: number | undefined, search: string | null | undefined, continuationToken: string | null | undefined, inactive: boolean | null | undefined, includeInactiveSupplierAccess: boolean | null | undefined): Promise<PagedResultOfMeasurementFormInstanceOverviewDto>;
|
|
3437
|
+
listMeasurementForms(pageSize: number | undefined, search: string | null | undefined, continuationToken: string | null | undefined, tenantId: string | null | undefined, inactive: boolean | null | undefined, includeInactiveSupplierAccess: boolean | null | undefined): Promise<PagedResultOfMeasurementFormInstanceOverviewDto>;
|
|
3348
3438
|
protected processListMeasurementForms(response: Response): Promise<PagedResultOfMeasurementFormInstanceOverviewDto>;
|
|
3349
3439
|
postListMeasurementForms(request: ListMeasurementFormsRequest | undefined): Promise<PagedResultOfMeasurementFormInstanceOverviewDto>;
|
|
3350
3440
|
protected processPostListMeasurementForms(response: Response): Promise<PagedResultOfMeasurementFormInstanceOverviewDto>;
|
|
3351
|
-
getMeasurementFormInstance(id: string): Promise<MeasurementFormInstanceDto>;
|
|
3441
|
+
getMeasurementFormInstance(id: string, tenantId: string | null | undefined): Promise<MeasurementFormInstanceDto>;
|
|
3352
3442
|
protected processGetMeasurementFormInstance(response: Response): Promise<MeasurementFormInstanceDto>;
|
|
3353
3443
|
listMeasurementFormInstanceFeedback(id: string): Promise<MeasurementFormInstanceFeedbackDto[]>;
|
|
3354
3444
|
protected processListMeasurementFormInstanceFeedback(response: Response): Promise<MeasurementFormInstanceFeedbackDto[]>;
|
|
3355
|
-
completeMeasurementFormInstance(id: string): Promise<MeasurementFormInstanceDto>;
|
|
3445
|
+
completeMeasurementFormInstance(id: string, tenantId: string | null | undefined): Promise<MeasurementFormInstanceDto>;
|
|
3356
3446
|
protected processCompleteMeasurementFormInstance(response: Response): Promise<MeasurementFormInstanceDto>;
|
|
3357
|
-
completeMeasurementFormInstanceV2(id: string): Promise<CompleteMeasurementFormInstanceResult>;
|
|
3447
|
+
completeMeasurementFormInstanceV2(id: string, tenantId: string | null | undefined): Promise<CompleteMeasurementFormInstanceResult>;
|
|
3358
3448
|
protected processCompleteMeasurementFormInstanceV2(response: Response): Promise<CompleteMeasurementFormInstanceResult>;
|
|
3359
|
-
getMeasurementFormInstanceSchema(id: string, schemaId: string, serialNumber: string | null | undefined): Promise<MeasurementFormInstanceSchemaDto>;
|
|
3449
|
+
getMeasurementFormInstanceSchema(id: string, schemaId: string, serialNumber: string | null | undefined, tenantId: string | null | undefined): Promise<MeasurementFormInstanceSchemaDto>;
|
|
3360
3450
|
protected processGetMeasurementFormInstanceSchema(response: Response): Promise<MeasurementFormInstanceSchemaDto>;
|
|
3361
|
-
getMeasurementFormInstanceSchemaCreatorState(id: string, schemaId: string): Promise<SchemaCreatorStateDto>;
|
|
3451
|
+
getMeasurementFormInstanceSchemaCreatorState(id: string, schemaId: string, tenantId: string | null | undefined): Promise<SchemaCreatorStateDto>;
|
|
3362
3452
|
protected processGetMeasurementFormInstanceSchemaCreatorState(response: Response): Promise<SchemaCreatorStateDto>;
|
|
3363
|
-
getWorkorderMeasurementFormProgress(id: string): Promise<MeasurementFormInstanceProgressDto>;
|
|
3453
|
+
getWorkorderMeasurementFormProgress(id: string, tenantId: string | null | undefined): Promise<MeasurementFormInstanceProgressDto>;
|
|
3364
3454
|
protected processGetWorkorderMeasurementFormProgress(response: Response): Promise<MeasurementFormInstanceProgressDto>;
|
|
3365
|
-
getAuditLog(id: string, schemaId: string | null | undefined, serialNumber: string | null | undefined, elementId: string | null | undefined): Promise<MeasurementFormElementValueAuditDto[]>;
|
|
3455
|
+
getAuditLog(id: string, tenantId: string | null | undefined, schemaId: string | null | undefined, serialNumber: string | null | undefined, elementId: string | null | undefined): Promise<MeasurementFormElementValueAuditDto[]>;
|
|
3366
3456
|
protected processGetAuditLog(response: Response): Promise<MeasurementFormElementValueAuditDto[]>;
|
|
3367
3457
|
getValidationRules(): Promise<ValidationRuleDto[]>;
|
|
3368
3458
|
protected processGetValidationRules(response: Response): Promise<ValidationRuleDto[]>;
|
|
3369
|
-
saveValue(id: string, request: SaveValueRequest): Promise<SaveValueResponseDto>;
|
|
3459
|
+
saveValue(id: string, tenantId: string | null | undefined, request: SaveValueRequest): Promise<SaveValueResponseDto>;
|
|
3370
3460
|
protected processSaveValue(response: Response): Promise<SaveValueResponseDto>;
|
|
3371
|
-
saveTool(id: string, request: SaveToolRequest): Promise<SaveValueResponseDto>;
|
|
3461
|
+
saveTool(id: string, tenantId: string | null | undefined, request: SaveToolRequest): Promise<SaveValueResponseDto>;
|
|
3372
3462
|
protected processSaveTool(response: Response): Promise<SaveValueResponseDto>;
|
|
3373
|
-
saveComment(id: string, request: SaveCommentRequest): Promise<void>;
|
|
3463
|
+
saveComment(id: string, tenantId: string | null | undefined, request: SaveCommentRequest): Promise<void>;
|
|
3374
3464
|
protected processSaveComment(response: Response): Promise<void>;
|
|
3375
|
-
batchInsertValues(id: string, request: BatchInsertValueRequest): Promise<BatchInsertValuesResponseDto>;
|
|
3465
|
+
batchInsertValues(id: string, tenantId: string | null | undefined, request: BatchInsertValueRequest): Promise<BatchInsertValuesResponseDto>;
|
|
3376
3466
|
protected processBatchInsertValues(response: Response): Promise<BatchInsertValuesResponseDto>;
|
|
3377
|
-
saveMeasurementFormInstanceSchemaComment(id: string, schemaId: string, request: SaveMeasurementFormInstanceSchemaCommentRequest): Promise<void>;
|
|
3467
|
+
saveMeasurementFormInstanceSchemaComment(id: string, schemaId: string, tenantId: string | null | undefined, request: SaveMeasurementFormInstanceSchemaCommentRequest): Promise<void>;
|
|
3378
3468
|
protected processSaveMeasurementFormInstanceSchemaComment(response: Response): Promise<void>;
|
|
3379
|
-
createMeasurementFormInstanceSchemaFeedback(id: string, schemaId: string, request: CreateMeasurementFormSchemaFeedbackRequest): Promise<SchemaFeedbackCreatedDto>;
|
|
3469
|
+
createMeasurementFormInstanceSchemaFeedback(id: string, schemaId: string, tenantId: string | null | undefined, request: CreateMeasurementFormSchemaFeedbackRequest): Promise<SchemaFeedbackCreatedDto>;
|
|
3380
3470
|
protected processCreateMeasurementFormInstanceSchemaFeedback(response: Response): Promise<SchemaFeedbackCreatedDto>;
|
|
3381
3471
|
listSupplierMeasurementFormInstances(supplierId: string): Promise<MeasurementFormSupplierAccessInstanceDto[]>;
|
|
3382
3472
|
protected processListSupplierMeasurementFormInstances(response: Response): Promise<MeasurementFormSupplierAccessInstanceDto[]>;
|
|
@@ -3412,7 +3502,7 @@ export interface IMeasurementFormsInstancesInstanceAdminClient {
|
|
|
3412
3502
|
getSerialNumberMeasurements(id: string): Promise<SerialNumberMeasurementsDto[]>;
|
|
3413
3503
|
reactivateMeasurementFormInstance(id: string): Promise<MeasurementFormInstanceDto>;
|
|
3414
3504
|
cancelMeasurementFormInstance(id: string): Promise<MeasurementFormInstanceDto>;
|
|
3415
|
-
toggleSchemaInstanceElementDocumentedExternallyOverride(id: string, schemaId: string, elementId: string): Promise<void>;
|
|
3505
|
+
toggleSchemaInstanceElementDocumentedExternallyOverride(id: string, schemaId: string, elementId: string, tenantId: string | null | undefined): Promise<void>;
|
|
3416
3506
|
}
|
|
3417
3507
|
export declare class MeasurementFormsInstancesInstanceAdminClient extends AuthorizedApiBase implements IMeasurementFormsInstancesInstanceAdminClient {
|
|
3418
3508
|
private http;
|
|
@@ -3452,7 +3542,7 @@ export declare class MeasurementFormsInstancesInstanceAdminClient extends Author
|
|
|
3452
3542
|
protected processReactivateMeasurementFormInstance(response: Response): Promise<MeasurementFormInstanceDto>;
|
|
3453
3543
|
cancelMeasurementFormInstance(id: string): Promise<MeasurementFormInstanceDto>;
|
|
3454
3544
|
protected processCancelMeasurementFormInstance(response: Response): Promise<MeasurementFormInstanceDto>;
|
|
3455
|
-
toggleSchemaInstanceElementDocumentedExternallyOverride(id: string, schemaId: string, elementId: string): Promise<void>;
|
|
3545
|
+
toggleSchemaInstanceElementDocumentedExternallyOverride(id: string, schemaId: string, elementId: string, tenantId: string | null | undefined): Promise<void>;
|
|
3456
3546
|
protected processToggleSchemaInstanceElementDocumentedExternallyOverride(response: Response): Promise<void>;
|
|
3457
3547
|
}
|
|
3458
3548
|
export interface ICompaniesClient {
|
|
@@ -3792,111 +3882,6 @@ export declare class WorkordersClient extends AuthorizedApiBase implements IWork
|
|
|
3792
3882
|
generateContentPartsForDiscussions(): Promise<WorkorderDiscussionMessageDto[]>;
|
|
3793
3883
|
protected processGenerateContentPartsForDiscussions(response: Response): Promise<WorkorderDiscussionMessageDto[]>;
|
|
3794
3884
|
}
|
|
3795
|
-
export interface IExternalAccessClient {
|
|
3796
|
-
listUsers(companyId: string | null | undefined): Promise<CompanyUserDto[]>;
|
|
3797
|
-
createCompanyUser(request: CreateCompanyUser): Promise<CompanyUserDto>;
|
|
3798
|
-
updateCompanyUser(id: string, request: UpdateCompanyUserRequest): Promise<CompanyUserDto>;
|
|
3799
|
-
deleteCompanyUser(id: string, companyId: string | null | undefined): Promise<void>;
|
|
3800
|
-
migrateLegacyCompanyUsersToEntra(): Promise<CompanyUserDto[]>;
|
|
3801
|
-
listRoles(): Promise<ExternalRoleDto[]>;
|
|
3802
|
-
listCompanyCustomers(): Promise<CompanyCustomersDto>;
|
|
3803
|
-
deleteCompanyCustomer(tenantId: string): Promise<void>;
|
|
3804
|
-
}
|
|
3805
|
-
export declare class ExternalAccessClient extends AuthorizedApiBase implements IExternalAccessClient {
|
|
3806
|
-
private http;
|
|
3807
|
-
private baseUrl;
|
|
3808
|
-
constructor(configuration: IApiClientConfig, baseUrl?: string, http?: {
|
|
3809
|
-
fetch(url: RequestInfo, init?: RequestInit): Promise<Response>;
|
|
3810
|
-
});
|
|
3811
|
-
listUsers(companyId: string | null | undefined): Promise<CompanyUserDto[]>;
|
|
3812
|
-
protected processListUsers(response: Response): Promise<CompanyUserDto[]>;
|
|
3813
|
-
createCompanyUser(request: CreateCompanyUser): Promise<CompanyUserDto>;
|
|
3814
|
-
protected processCreateCompanyUser(response: Response): Promise<CompanyUserDto>;
|
|
3815
|
-
updateCompanyUser(id: string, request: UpdateCompanyUserRequest): Promise<CompanyUserDto>;
|
|
3816
|
-
protected processUpdateCompanyUser(response: Response): Promise<CompanyUserDto>;
|
|
3817
|
-
deleteCompanyUser(id: string, companyId: string | null | undefined): Promise<void>;
|
|
3818
|
-
protected processDeleteCompanyUser(response: Response): Promise<void>;
|
|
3819
|
-
migrateLegacyCompanyUsersToEntra(): Promise<CompanyUserDto[]>;
|
|
3820
|
-
protected processMigrateLegacyCompanyUsersToEntra(response: Response): Promise<CompanyUserDto[]>;
|
|
3821
|
-
listRoles(): Promise<ExternalRoleDto[]>;
|
|
3822
|
-
protected processListRoles(response: Response): Promise<ExternalRoleDto[]>;
|
|
3823
|
-
listCompanyCustomers(): Promise<CompanyCustomersDto>;
|
|
3824
|
-
protected processListCompanyCustomers(response: Response): Promise<CompanyCustomersDto>;
|
|
3825
|
-
deleteCompanyCustomer(tenantId: string): Promise<void>;
|
|
3826
|
-
protected processDeleteCompanyCustomer(response: Response): Promise<void>;
|
|
3827
|
-
}
|
|
3828
|
-
export interface IExternalClient {
|
|
3829
|
-
listCompanies(): Promise<CompanyDto[]>;
|
|
3830
|
-
getCompany(id: string): Promise<CompanyDto>;
|
|
3831
|
-
getCurrentSupplierInvite(): Promise<CurrentSupplierInviteDto>;
|
|
3832
|
-
acceptSupplierInvite(acceptingTenantId: string | null | undefined): Promise<SupplierInviteDto>;
|
|
3833
|
-
listTenantsWithSuppliers(): Promise<TenantWithSupplierDto[]>;
|
|
3834
|
-
}
|
|
3835
|
-
export declare class ExternalClient extends AuthorizedApiBase implements IExternalClient {
|
|
3836
|
-
private http;
|
|
3837
|
-
private baseUrl;
|
|
3838
|
-
constructor(configuration: IApiClientConfig, baseUrl?: string, http?: {
|
|
3839
|
-
fetch(url: RequestInfo, init?: RequestInit): Promise<Response>;
|
|
3840
|
-
});
|
|
3841
|
-
listCompanies(): Promise<CompanyDto[]>;
|
|
3842
|
-
protected processListCompanies(response: Response): Promise<CompanyDto[]>;
|
|
3843
|
-
getCompany(id: string): Promise<CompanyDto>;
|
|
3844
|
-
protected processGetCompany(response: Response): Promise<CompanyDto>;
|
|
3845
|
-
getCurrentSupplierInvite(): Promise<CurrentSupplierInviteDto>;
|
|
3846
|
-
protected processGetCurrentSupplierInvite(response: Response): Promise<CurrentSupplierInviteDto>;
|
|
3847
|
-
acceptSupplierInvite(acceptingTenantId: string | null | undefined): Promise<SupplierInviteDto>;
|
|
3848
|
-
protected processAcceptSupplierInvite(response: Response): Promise<SupplierInviteDto>;
|
|
3849
|
-
listTenantsWithSuppliers(): Promise<TenantWithSupplierDto[]>;
|
|
3850
|
-
protected processListTenantsWithSuppliers(response: Response): Promise<TenantWithSupplierDto[]>;
|
|
3851
|
-
}
|
|
3852
|
-
export interface ISuppliersClient {
|
|
3853
|
-
listSupplierInvites(): Promise<SupplierInviteDto[]>;
|
|
3854
|
-
createSupplierInvite(request: CreateSupplierInviteRequest): Promise<SupplierInviteDto>;
|
|
3855
|
-
deleteSupplierInvite(id: string): Promise<void>;
|
|
3856
|
-
listSuppliers(): Promise<ExternalSupplierDto[]>;
|
|
3857
|
-
deleteSupplier(id: string): Promise<void>;
|
|
3858
|
-
/**
|
|
3859
|
-
* Creates a mapping between old supplier id and new supplier id.
|
|
3860
|
-
*/
|
|
3861
|
-
createSupplierMapping(request: CreateSupplierMapping): Promise<void>;
|
|
3862
|
-
/**
|
|
3863
|
-
* Delete all supplier mappings between old supplier ids and new supplier ids.
|
|
3864
|
-
*/
|
|
3865
|
-
deleteSupplierMappings(): Promise<void>;
|
|
3866
|
-
lookupOrganization(threeLetterIsoCountry: string | undefined, organizationNumber: string | undefined): Promise<OrganizationDto>;
|
|
3867
|
-
getOrganizationLookupSupportedCountries(): Promise<CountryDto[]>;
|
|
3868
|
-
}
|
|
3869
|
-
export declare class SuppliersClient extends AuthorizedApiBase implements ISuppliersClient {
|
|
3870
|
-
private http;
|
|
3871
|
-
private baseUrl;
|
|
3872
|
-
constructor(configuration: IApiClientConfig, baseUrl?: string, http?: {
|
|
3873
|
-
fetch(url: RequestInfo, init?: RequestInit): Promise<Response>;
|
|
3874
|
-
});
|
|
3875
|
-
listSupplierInvites(): Promise<SupplierInviteDto[]>;
|
|
3876
|
-
protected processListSupplierInvites(response: Response): Promise<SupplierInviteDto[]>;
|
|
3877
|
-
createSupplierInvite(request: CreateSupplierInviteRequest): Promise<SupplierInviteDto>;
|
|
3878
|
-
protected processCreateSupplierInvite(response: Response): Promise<SupplierInviteDto>;
|
|
3879
|
-
deleteSupplierInvite(id: string): Promise<void>;
|
|
3880
|
-
protected processDeleteSupplierInvite(response: Response): Promise<void>;
|
|
3881
|
-
listSuppliers(): Promise<ExternalSupplierDto[]>;
|
|
3882
|
-
protected processListSuppliers(response: Response): Promise<ExternalSupplierDto[]>;
|
|
3883
|
-
deleteSupplier(id: string): Promise<void>;
|
|
3884
|
-
protected processDeleteSupplier(response: Response): Promise<void>;
|
|
3885
|
-
/**
|
|
3886
|
-
* Creates a mapping between old supplier id and new supplier id.
|
|
3887
|
-
*/
|
|
3888
|
-
createSupplierMapping(request: CreateSupplierMapping): Promise<void>;
|
|
3889
|
-
protected processCreateSupplierMapping(response: Response): Promise<void>;
|
|
3890
|
-
/**
|
|
3891
|
-
* Delete all supplier mappings between old supplier ids and new supplier ids.
|
|
3892
|
-
*/
|
|
3893
|
-
deleteSupplierMappings(): Promise<void>;
|
|
3894
|
-
protected processDeleteSupplierMappings(response: Response): Promise<void>;
|
|
3895
|
-
lookupOrganization(threeLetterIsoCountry: string | undefined, organizationNumber: string | undefined): Promise<OrganizationDto>;
|
|
3896
|
-
protected processLookupOrganization(response: Response): Promise<OrganizationDto>;
|
|
3897
|
-
getOrganizationLookupSupportedCountries(): Promise<CountryDto[]>;
|
|
3898
|
-
protected processGetOrganizationLookupSupportedCountries(response: Response): Promise<CountryDto[]>;
|
|
3899
|
-
}
|
|
3900
3885
|
export interface AzureRegionDto {
|
|
3901
3886
|
displayName: string;
|
|
3902
3887
|
name: string;
|
|
@@ -3910,7 +3895,6 @@ export interface CountryDto {
|
|
|
3910
3895
|
export interface CurrentCustomerDto {
|
|
3911
3896
|
name?: string | null;
|
|
3912
3897
|
logoUrl?: string | null;
|
|
3913
|
-
supplierSubdomain?: string | null;
|
|
3914
3898
|
}
|
|
3915
3899
|
export interface AvailableTenantDto {
|
|
3916
3900
|
tenantId: string;
|
|
@@ -4213,11 +4197,6 @@ export interface UserDetailsDto {
|
|
|
4213
4197
|
isExternalUser?: boolean;
|
|
4214
4198
|
isBetaTester?: boolean | null;
|
|
4215
4199
|
hasAccessToIgnos?: boolean;
|
|
4216
|
-
isInvitedUser?: boolean;
|
|
4217
|
-
isSupplier?: boolean;
|
|
4218
|
-
companyId?: string | null;
|
|
4219
|
-
entraTenantId?: string | null;
|
|
4220
|
-
homeEntraTenantId?: string | null;
|
|
4221
4200
|
}
|
|
4222
4201
|
export interface UserDto {
|
|
4223
4202
|
id?: string | null;
|
|
@@ -6420,6 +6399,97 @@ export interface DocumentGeneratorTypeDto {
|
|
|
6420
6399
|
key: string;
|
|
6421
6400
|
description: string;
|
|
6422
6401
|
}
|
|
6402
|
+
export interface CompanyUserDto {
|
|
6403
|
+
companyId?: string | null;
|
|
6404
|
+
username?: string | null;
|
|
6405
|
+
name?: string | null;
|
|
6406
|
+
roles?: string[] | null;
|
|
6407
|
+
}
|
|
6408
|
+
export interface CreateCompanyUserRequest {
|
|
6409
|
+
username: string;
|
|
6410
|
+
name: string;
|
|
6411
|
+
roles: string[];
|
|
6412
|
+
companyId?: string | null;
|
|
6413
|
+
}
|
|
6414
|
+
export interface UpdateCompanyUserRequest {
|
|
6415
|
+
name: string;
|
|
6416
|
+
roles: string[];
|
|
6417
|
+
companyId?: string | null;
|
|
6418
|
+
}
|
|
6419
|
+
export interface ExternalRoleDto {
|
|
6420
|
+
id: string;
|
|
6421
|
+
name: string;
|
|
6422
|
+
}
|
|
6423
|
+
export interface CompanyCustomerDto {
|
|
6424
|
+
customerTenantId?: string | null;
|
|
6425
|
+
customerAzureAdTenantId?: string | null;
|
|
6426
|
+
customerName?: string | null;
|
|
6427
|
+
supplierId?: string | null;
|
|
6428
|
+
supplierName?: string | null;
|
|
6429
|
+
}
|
|
6430
|
+
export interface InviteDto {
|
|
6431
|
+
tenantId: string;
|
|
6432
|
+
companyName: string;
|
|
6433
|
+
id: string;
|
|
6434
|
+
supplierId: string;
|
|
6435
|
+
supplierName: string;
|
|
6436
|
+
username: string;
|
|
6437
|
+
deadline: Date;
|
|
6438
|
+
createdTime: Date;
|
|
6439
|
+
createdBy: string;
|
|
6440
|
+
}
|
|
6441
|
+
export interface CompanyDto {
|
|
6442
|
+
id?: string | null;
|
|
6443
|
+
name?: string | null;
|
|
6444
|
+
organizationNumber?: string | null;
|
|
6445
|
+
country?: string | null;
|
|
6446
|
+
tenantId?: string | null;
|
|
6447
|
+
}
|
|
6448
|
+
export interface AcceptSupplierInviteRequest {
|
|
6449
|
+
tenantId: string;
|
|
6450
|
+
existingCompanyId?: string | null;
|
|
6451
|
+
companyName?: string | null;
|
|
6452
|
+
organizationNumber?: string | null;
|
|
6453
|
+
threeLetterIsoCountry?: string | null;
|
|
6454
|
+
}
|
|
6455
|
+
export interface SupplierInviteDto {
|
|
6456
|
+
id: string;
|
|
6457
|
+
supplierId: string;
|
|
6458
|
+
name: string;
|
|
6459
|
+
username: string;
|
|
6460
|
+
deadline: Date;
|
|
6461
|
+
createdTime: Date;
|
|
6462
|
+
createdBy: string;
|
|
6463
|
+
}
|
|
6464
|
+
export interface CreateSupplierInvite {
|
|
6465
|
+
supplierId: string;
|
|
6466
|
+
name: string;
|
|
6467
|
+
username: string;
|
|
6468
|
+
deadline: Date;
|
|
6469
|
+
}
|
|
6470
|
+
export interface ExternalSupplierDto {
|
|
6471
|
+
id: string;
|
|
6472
|
+
name: string;
|
|
6473
|
+
companyId: string;
|
|
6474
|
+
active: boolean;
|
|
6475
|
+
}
|
|
6476
|
+
export interface ImportSupplier {
|
|
6477
|
+
supplierId: string;
|
|
6478
|
+
name: string;
|
|
6479
|
+
organizationNumber?: string | null;
|
|
6480
|
+
threeLetterIsoCountry: string;
|
|
6481
|
+
users: ImportSupplierUserDto[];
|
|
6482
|
+
}
|
|
6483
|
+
export interface ImportSupplierUserDto {
|
|
6484
|
+
username: string;
|
|
6485
|
+
name: string;
|
|
6486
|
+
roles: string[];
|
|
6487
|
+
}
|
|
6488
|
+
export interface CreateSupplierMapping {
|
|
6489
|
+
companyId: string;
|
|
6490
|
+
existingSupplierId: string;
|
|
6491
|
+
newSupplierId: string;
|
|
6492
|
+
}
|
|
6423
6493
|
export interface CncMachineTransferDto {
|
|
6424
6494
|
id: string;
|
|
6425
6495
|
cncMachineOperationId?: string | null;
|
|
@@ -10411,6 +10481,7 @@ export interface ListMeasurementFormsRequest {
|
|
|
10411
10481
|
pageSize?: number | null;
|
|
10412
10482
|
search?: string | null;
|
|
10413
10483
|
continuationToken?: string | null;
|
|
10484
|
+
tenantId?: string | null;
|
|
10414
10485
|
inactive?: boolean | null;
|
|
10415
10486
|
includeInactiveSupplierAccess?: boolean | null;
|
|
10416
10487
|
}
|
|
@@ -10607,6 +10678,7 @@ export interface UpsertSupplierToMeasurementFormInstanceRequest {
|
|
|
10607
10678
|
externalOrderNumber?: string | null;
|
|
10608
10679
|
}
|
|
10609
10680
|
export interface ExportDimensionReportV2Request {
|
|
10681
|
+
tenantId?: string | null;
|
|
10610
10682
|
type: DimensionReportType;
|
|
10611
10683
|
extras?: DimensionReportExtras | null;
|
|
10612
10684
|
specificSerialNumbers?: string[] | null;
|
|
@@ -11053,112 +11125,6 @@ export interface SetDiscussionLastReadRequest {
|
|
|
11053
11125
|
operationId?: string | null;
|
|
11054
11126
|
resourceId?: string | null;
|
|
11055
11127
|
}
|
|
11056
|
-
export interface CompanyUserDto {
|
|
11057
|
-
companyId: string;
|
|
11058
|
-
userObjectId: string;
|
|
11059
|
-
username?: string | null;
|
|
11060
|
-
name?: string | null;
|
|
11061
|
-
roles: string[];
|
|
11062
|
-
}
|
|
11063
|
-
export interface CreateCompanyUser {
|
|
11064
|
-
username: string;
|
|
11065
|
-
name: string;
|
|
11066
|
-
roles: string[];
|
|
11067
|
-
companyId?: string | null;
|
|
11068
|
-
}
|
|
11069
|
-
export interface UpdateCompanyUserRequest {
|
|
11070
|
-
roles: string[];
|
|
11071
|
-
companyId?: string | null;
|
|
11072
|
-
}
|
|
11073
|
-
export interface ExternalRoleDto {
|
|
11074
|
-
id: string;
|
|
11075
|
-
name: string;
|
|
11076
|
-
}
|
|
11077
|
-
export interface CompanyCustomersDto {
|
|
11078
|
-
customers: CompanyCustomerWithSubdomainDto[];
|
|
11079
|
-
homeEntraTenant?: HomeEntraTenantDto | null;
|
|
11080
|
-
}
|
|
11081
|
-
export interface CompanyCustomerWithSubdomainDto {
|
|
11082
|
-
customer: CompanyCustomerDto;
|
|
11083
|
-
supplierSubdomain?: string | null;
|
|
11084
|
-
}
|
|
11085
|
-
export interface CompanyCustomerDto {
|
|
11086
|
-
customerTenantId?: string | null;
|
|
11087
|
-
customerAzureAdTenantId?: string | null;
|
|
11088
|
-
customerName?: string | null;
|
|
11089
|
-
supplierId?: string | null;
|
|
11090
|
-
supplierName?: string | null;
|
|
11091
|
-
customerIgnosPortalPrefix?: string | null;
|
|
11092
|
-
}
|
|
11093
|
-
export interface HomeEntraTenantDto {
|
|
11094
|
-
entraTenantId: string;
|
|
11095
|
-
isIgnosCustomer: boolean;
|
|
11096
|
-
}
|
|
11097
|
-
export interface CompanyDto {
|
|
11098
|
-
id: string;
|
|
11099
|
-
name: string;
|
|
11100
|
-
organizationNumber?: string | null;
|
|
11101
|
-
country: string;
|
|
11102
|
-
tenantId?: string | null;
|
|
11103
|
-
}
|
|
11104
|
-
export interface SupplierInviteDto {
|
|
11105
|
-
id: string;
|
|
11106
|
-
supplierId: string;
|
|
11107
|
-
threeLetterIsoCountry: string;
|
|
11108
|
-
organizationNumber: string;
|
|
11109
|
-
supplierName?: string | null;
|
|
11110
|
-
userId: string;
|
|
11111
|
-
userName?: string | null;
|
|
11112
|
-
acceptedTimestamp?: Date | null;
|
|
11113
|
-
createdTime: Date;
|
|
11114
|
-
createdBy: string;
|
|
11115
|
-
}
|
|
11116
|
-
export interface CurrentSupplierInviteDto extends SupplierInviteDto {
|
|
11117
|
-
matchingCustomerOrCompany?: MatchingCustomerOrCompany | null;
|
|
11118
|
-
}
|
|
11119
|
-
export interface MatchingCustomerOrCompany {
|
|
11120
|
-
customer?: IgnosCustomerDto | null;
|
|
11121
|
-
company?: CompanyDto | null;
|
|
11122
|
-
companyCustomers?: CompanyCustomerDto[];
|
|
11123
|
-
}
|
|
11124
|
-
export interface IgnosCustomerDto {
|
|
11125
|
-
id: string;
|
|
11126
|
-
name: string;
|
|
11127
|
-
contactPerson: ContactPersonDto;
|
|
11128
|
-
threeLetterIsoCountry: string;
|
|
11129
|
-
organizationNumber: string;
|
|
11130
|
-
country: string;
|
|
11131
|
-
tenants: AvailableTenantDto[];
|
|
11132
|
-
}
|
|
11133
|
-
export interface TenantWithSupplierDto {
|
|
11134
|
-
tenantId: string;
|
|
11135
|
-
customerName: string;
|
|
11136
|
-
supplierTenantEntraId: string;
|
|
11137
|
-
}
|
|
11138
|
-
export interface CreateSupplierInviteRequest {
|
|
11139
|
-
supplierId: string;
|
|
11140
|
-
threeLetterIsoCountry: string;
|
|
11141
|
-
organizationNumber: string;
|
|
11142
|
-
supplierName?: string | null;
|
|
11143
|
-
username: string;
|
|
11144
|
-
invitedName: string;
|
|
11145
|
-
}
|
|
11146
|
-
export interface ExternalSupplierDto {
|
|
11147
|
-
id: string;
|
|
11148
|
-
name: string;
|
|
11149
|
-
companyId: string;
|
|
11150
|
-
active: boolean;
|
|
11151
|
-
}
|
|
11152
|
-
export interface CreateSupplierMapping {
|
|
11153
|
-
companyId: string;
|
|
11154
|
-
existingSupplierId: string;
|
|
11155
|
-
newSupplierId: string;
|
|
11156
|
-
}
|
|
11157
|
-
export interface OrganizationDto {
|
|
11158
|
-
name?: string;
|
|
11159
|
-
postalAddress?: string | null;
|
|
11160
|
-
registeredAddress?: string | null;
|
|
11161
|
-
}
|
|
11162
11128
|
export type FeatureCollectionType = "FeatureCollection";
|
|
11163
11129
|
export interface Features {
|
|
11164
11130
|
type: FeaturesType;
|