@ignos/api-client 20260416.109.1-alpha → 20260417.111.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.
@@ -124,7 +124,6 @@ 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>;
128
127
  }
129
128
  export declare class GuestsClient extends AuthorizedApiBase implements IGuestsClient {
130
129
  private http;
@@ -134,8 +133,6 @@ export declare class GuestsClient extends AuthorizedApiBase implements IGuestsCl
134
133
  });
135
134
  getGuestLoginInfo(search: string | undefined): Promise<GuestLoginInfoDto>;
136
135
  protected processGetGuestLoginInfo(response: Response): Promise<GuestLoginInfoDto>;
137
- getSupplierLoginInfo(search: string | undefined): Promise<GuestLoginInfoDto>;
138
- protected processGetSupplierLoginInfo(response: Response): Promise<GuestLoginInfoDto>;
139
136
  }
140
137
  export interface IPresentationClient {
141
138
  getComponentSettings(componentId: string): Promise<ComponentSettingsDto>;
@@ -1494,6 +1491,99 @@ export declare class DocumentTypesClient extends AuthorizedApiBase implements ID
1494
1491
  listDocumentGenerators(): Promise<DocumentGeneratorTypeDto[]>;
1495
1492
  protected processListDocumentGenerators(response: Response): Promise<DocumentGeneratorTypeDto[]>;
1496
1493
  }
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
+ }
1497
1587
  export interface ICncFileTransferClient {
1498
1588
  startCncMachineOperationTransferToCloud(id: string): Promise<CncMachineTransferDto>;
1499
1589
  startCncMachineOperationTransferToMachine(id: string, request: TransferToMachineRequest | undefined): Promise<CncMachineTransferDto>;
@@ -2865,22 +2955,22 @@ export declare class MeasurementFormsInstancesAdminClient extends AuthorizedApiB
2865
2955
  protected processExportDimensionReportValues(response: Response): Promise<DownloadDto>;
2866
2956
  }
2867
2957
  export interface IMeasurementFormsInstancesClient {
2868
- listMeasurementForms(pageSize: number | undefined, search: string | null | undefined, continuationToken: string | null | undefined, inactive: boolean | null | undefined, includeInactiveSupplierAccess: boolean | null | undefined): Promise<PagedResultOfMeasurementFormInstanceOverviewDto>;
2958
+ 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>;
2869
2959
  postListMeasurementForms(request: ListMeasurementFormsRequest | undefined): Promise<PagedResultOfMeasurementFormInstanceOverviewDto>;
2870
- getMeasurementFormInstance(id: string): Promise<MeasurementFormInstanceDto>;
2960
+ getMeasurementFormInstance(id: string, tenantId: string | null | undefined): Promise<MeasurementFormInstanceDto>;
2871
2961
  listMeasurementFormInstanceFeedback(id: string): Promise<MeasurementFormInstanceFeedbackDto[]>;
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[]>;
2962
+ completeMeasurementFormInstance(id: string, tenantId: string | null | undefined): Promise<MeasurementFormInstanceDto>;
2963
+ completeMeasurementFormInstanceV2(id: string, tenantId: string | null | undefined): Promise<CompleteMeasurementFormInstanceResult>;
2964
+ getMeasurementFormInstanceSchema(id: string, schemaId: string, serialNumber: string | null | undefined, tenantId: string | null | undefined): Promise<MeasurementFormInstanceSchemaDto>;
2965
+ getWorkorderMeasurementFormProgress(id: string, tenantId: string | null | undefined): Promise<MeasurementFormInstanceProgressDto>;
2966
+ getAuditLog(id: string, tenantId: string | null | undefined, schemaId: string | null | undefined, serialNumber: string | null | undefined, elementId: string | null | undefined): Promise<MeasurementFormElementValueAuditDto[]>;
2877
2967
  getValidationRules(): Promise<ValidationRuleDto[]>;
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>;
2968
+ saveValue(id: string, tenantId: string | null | undefined, request: SaveValueRequest): Promise<SaveValueResponseDto>;
2969
+ saveTool(id: string, tenantId: string | null | undefined, request: SaveToolRequest): Promise<SaveValueResponseDto>;
2970
+ saveComment(id: string, tenantId: string | null | undefined, request: SaveCommentRequest): Promise<void>;
2971
+ batchInsertValues(id: string, tenantId: string | null | undefined, request: BatchInsertValueRequest): Promise<BatchInsertValuesResponseDto>;
2972
+ saveMeasurementFormInstanceSchemaComment(id: string, schemaId: string, tenantId: string | null | undefined, request: SaveMeasurementFormInstanceSchemaCommentRequest): Promise<void>;
2973
+ createMeasurementFormInstanceSchemaFeedback(id: string, schemaId: string, tenantId: string | null | undefined, request: CreateMeasurementFormSchemaFeedbackRequest): Promise<SchemaFeedbackCreatedDto>;
2884
2974
  listSupplierMeasurementFormInstances(supplierId: string): Promise<MeasurementFormSupplierAccessInstanceDto[]>;
2885
2975
  upsertSupplierToMeasurmentFormInstance(id: string, supplierId: string, request: UpsertSupplierToMeasurementFormInstanceRequest): Promise<void>;
2886
2976
  removeSupplierFromMeasurmentFormInstance(id: string, supplierId: string): Promise<void>;
@@ -2896,37 +2986,37 @@ export declare class MeasurementFormsInstancesClient extends AuthorizedApiBase i
2896
2986
  constructor(configuration: IAccessTokenProvider, baseUrl?: string, http?: {
2897
2987
  fetch(url: RequestInfo, init?: RequestInit): Promise<Response>;
2898
2988
  });
2899
- listMeasurementForms(pageSize: number | undefined, search: string | null | undefined, continuationToken: string | null | undefined, inactive: boolean | null | undefined, includeInactiveSupplierAccess: boolean | null | undefined): Promise<PagedResultOfMeasurementFormInstanceOverviewDto>;
2989
+ 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>;
2900
2990
  protected processListMeasurementForms(response: Response): Promise<PagedResultOfMeasurementFormInstanceOverviewDto>;
2901
2991
  postListMeasurementForms(request: ListMeasurementFormsRequest | undefined): Promise<PagedResultOfMeasurementFormInstanceOverviewDto>;
2902
2992
  protected processPostListMeasurementForms(response: Response): Promise<PagedResultOfMeasurementFormInstanceOverviewDto>;
2903
- getMeasurementFormInstance(id: string): Promise<MeasurementFormInstanceDto>;
2993
+ getMeasurementFormInstance(id: string, tenantId: string | null | undefined): Promise<MeasurementFormInstanceDto>;
2904
2994
  protected processGetMeasurementFormInstance(response: Response): Promise<MeasurementFormInstanceDto>;
2905
2995
  listMeasurementFormInstanceFeedback(id: string): Promise<MeasurementFormInstanceFeedbackDto[]>;
2906
2996
  protected processListMeasurementFormInstanceFeedback(response: Response): Promise<MeasurementFormInstanceFeedbackDto[]>;
2907
- completeMeasurementFormInstance(id: string): Promise<MeasurementFormInstanceDto>;
2997
+ completeMeasurementFormInstance(id: string, tenantId: string | null | undefined): Promise<MeasurementFormInstanceDto>;
2908
2998
  protected processCompleteMeasurementFormInstance(response: Response): Promise<MeasurementFormInstanceDto>;
2909
- completeMeasurementFormInstanceV2(id: string): Promise<CompleteMeasurementFormInstanceResult>;
2999
+ completeMeasurementFormInstanceV2(id: string, tenantId: string | null | undefined): Promise<CompleteMeasurementFormInstanceResult>;
2910
3000
  protected processCompleteMeasurementFormInstanceV2(response: Response): Promise<CompleteMeasurementFormInstanceResult>;
2911
- getMeasurementFormInstanceSchema(id: string, schemaId: string, serialNumber: string | null | undefined): Promise<MeasurementFormInstanceSchemaDto>;
3001
+ getMeasurementFormInstanceSchema(id: string, schemaId: string, serialNumber: string | null | undefined, tenantId: string | null | undefined): Promise<MeasurementFormInstanceSchemaDto>;
2912
3002
  protected processGetMeasurementFormInstanceSchema(response: Response): Promise<MeasurementFormInstanceSchemaDto>;
2913
- getWorkorderMeasurementFormProgress(id: string): Promise<MeasurementFormInstanceProgressDto>;
3003
+ getWorkorderMeasurementFormProgress(id: string, tenantId: string | null | undefined): Promise<MeasurementFormInstanceProgressDto>;
2914
3004
  protected processGetWorkorderMeasurementFormProgress(response: Response): Promise<MeasurementFormInstanceProgressDto>;
2915
- getAuditLog(id: string, schemaId: string | null | undefined, serialNumber: string | null | undefined, elementId: string | null | undefined): Promise<MeasurementFormElementValueAuditDto[]>;
3005
+ getAuditLog(id: string, tenantId: string | null | undefined, schemaId: string | null | undefined, serialNumber: string | null | undefined, elementId: string | null | undefined): Promise<MeasurementFormElementValueAuditDto[]>;
2916
3006
  protected processGetAuditLog(response: Response): Promise<MeasurementFormElementValueAuditDto[]>;
2917
3007
  getValidationRules(): Promise<ValidationRuleDto[]>;
2918
3008
  protected processGetValidationRules(response: Response): Promise<ValidationRuleDto[]>;
2919
- saveValue(id: string, request: SaveValueRequest): Promise<SaveValueResponseDto>;
3009
+ saveValue(id: string, tenantId: string | null | undefined, request: SaveValueRequest): Promise<SaveValueResponseDto>;
2920
3010
  protected processSaveValue(response: Response): Promise<SaveValueResponseDto>;
2921
- saveTool(id: string, request: SaveToolRequest): Promise<SaveValueResponseDto>;
3011
+ saveTool(id: string, tenantId: string | null | undefined, request: SaveToolRequest): Promise<SaveValueResponseDto>;
2922
3012
  protected processSaveTool(response: Response): Promise<SaveValueResponseDto>;
2923
- saveComment(id: string, request: SaveCommentRequest): Promise<void>;
3013
+ saveComment(id: string, tenantId: string | null | undefined, request: SaveCommentRequest): Promise<void>;
2924
3014
  protected processSaveComment(response: Response): Promise<void>;
2925
- batchInsertValues(id: string, request: BatchInsertValueRequest): Promise<BatchInsertValuesResponseDto>;
3015
+ batchInsertValues(id: string, tenantId: string | null | undefined, request: BatchInsertValueRequest): Promise<BatchInsertValuesResponseDto>;
2926
3016
  protected processBatchInsertValues(response: Response): Promise<BatchInsertValuesResponseDto>;
2927
- saveMeasurementFormInstanceSchemaComment(id: string, schemaId: string, request: SaveMeasurementFormInstanceSchemaCommentRequest): Promise<void>;
3017
+ saveMeasurementFormInstanceSchemaComment(id: string, schemaId: string, tenantId: string | null | undefined, request: SaveMeasurementFormInstanceSchemaCommentRequest): Promise<void>;
2928
3018
  protected processSaveMeasurementFormInstanceSchemaComment(response: Response): Promise<void>;
2929
- createMeasurementFormInstanceSchemaFeedback(id: string, schemaId: string, request: CreateMeasurementFormSchemaFeedbackRequest): Promise<SchemaFeedbackCreatedDto>;
3019
+ createMeasurementFormInstanceSchemaFeedback(id: string, schemaId: string, tenantId: string | null | undefined, request: CreateMeasurementFormSchemaFeedbackRequest): Promise<SchemaFeedbackCreatedDto>;
2930
3020
  protected processCreateMeasurementFormInstanceSchemaFeedback(response: Response): Promise<SchemaFeedbackCreatedDto>;
2931
3021
  listSupplierMeasurementFormInstances(supplierId: string): Promise<MeasurementFormSupplierAccessInstanceDto[]>;
2932
3022
  protected processListSupplierMeasurementFormInstances(response: Response): Promise<MeasurementFormSupplierAccessInstanceDto[]>;
@@ -2951,7 +3041,7 @@ export interface IMeasurementFormsInstancesInstanceAdminClient {
2951
3041
  createMeasurementFormInstance2(id: string, request: CreateMeasurementFormInstanceRequest): Promise<MeasurementFormInstanceDto>;
2952
3042
  reactivateMeasurementFormInstance(id: string): Promise<MeasurementFormInstanceDto>;
2953
3043
  cancelMeasurementFormInstance(id: string): Promise<MeasurementFormInstanceDto>;
2954
- toggleSchemaInstanceElementDocumentedExternallyOverride(id: string, schemaId: string, elementId: string): Promise<void>;
3044
+ toggleSchemaInstanceElementDocumentedExternallyOverride(id: string, schemaId: string, elementId: string, tenantId: string | null | undefined): Promise<void>;
2955
3045
  }
2956
3046
  export declare class MeasurementFormsInstancesInstanceAdminClient extends AuthorizedApiBase implements IMeasurementFormsInstancesInstanceAdminClient {
2957
3047
  private http;
@@ -2975,7 +3065,7 @@ export declare class MeasurementFormsInstancesInstanceAdminClient extends Author
2975
3065
  protected processReactivateMeasurementFormInstance(response: Response): Promise<MeasurementFormInstanceDto>;
2976
3066
  cancelMeasurementFormInstance(id: string): Promise<MeasurementFormInstanceDto>;
2977
3067
  protected processCancelMeasurementFormInstance(response: Response): Promise<MeasurementFormInstanceDto>;
2978
- toggleSchemaInstanceElementDocumentedExternallyOverride(id: string, schemaId: string, elementId: string): Promise<void>;
3068
+ toggleSchemaInstanceElementDocumentedExternallyOverride(id: string, schemaId: string, elementId: string, tenantId: string | null | undefined): Promise<void>;
2979
3069
  protected processToggleSchemaInstanceElementDocumentedExternallyOverride(response: Response): Promise<void>;
2980
3070
  }
2981
3071
  export interface ICompaniesClient {
@@ -3315,102 +3405,6 @@ export declare class WorkordersClient extends AuthorizedApiBase implements IWork
3315
3405
  generateContentPartsForDiscussions(): Promise<WorkorderDiscussionMessageDto[]>;
3316
3406
  protected processGenerateContentPartsForDiscussions(response: Response): Promise<WorkorderDiscussionMessageDto[]>;
3317
3407
  }
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
- acceptSupplierInviteNewCompany(request: AcceptSupplierInviteNewCompany): Promise<SupplierInviteDto>;
3353
- acceptSupplierInviteExistingCompany(request: AcceptSupplierInviteExistingCompany): Promise<SupplierInviteDto>;
3354
- }
3355
- export declare class ExternalClient extends AuthorizedApiBase implements IExternalClient {
3356
- private http;
3357
- private baseUrl;
3358
- constructor(configuration: IAccessTokenProvider, baseUrl?: string, http?: {
3359
- fetch(url: RequestInfo, init?: RequestInit): Promise<Response>;
3360
- });
3361
- listCompanies(): Promise<CompanyDto[]>;
3362
- protected processListCompanies(response: Response): Promise<CompanyDto[]>;
3363
- getCompany(id: string): Promise<CompanyDto>;
3364
- protected processGetCompany(response: Response): Promise<CompanyDto>;
3365
- getCurrentSupplierInvite(): Promise<SupplierInviteDto>;
3366
- protected processGetCurrentSupplierInvite(response: Response): Promise<SupplierInviteDto>;
3367
- acceptSupplierInviteNewCompany(request: AcceptSupplierInviteNewCompany): Promise<SupplierInviteDto>;
3368
- protected processAcceptSupplierInviteNewCompany(response: Response): Promise<SupplierInviteDto>;
3369
- acceptSupplierInviteExistingCompany(request: AcceptSupplierInviteExistingCompany): Promise<SupplierInviteDto>;
3370
- protected processAcceptSupplierInviteExistingCompany(response: Response): Promise<SupplierInviteDto>;
3371
- }
3372
- export interface ISuppliersClient {
3373
- listSupplierInvites(): Promise<SupplierInviteDto[]>;
3374
- createSupplierInvite(request: CreateSupplierInvite): Promise<SupplierInviteDto>;
3375
- deleteSupplierInvite(id: string): Promise<void>;
3376
- listSuppliers(): Promise<ExternalSupplierDto[]>;
3377
- deleteSupplier(id: string): Promise<void>;
3378
- /**
3379
- * Creates a mapping between old supplier id and new supplier id.
3380
- */
3381
- createSupplierMapping(request: CreateSupplierMapping): Promise<void>;
3382
- /**
3383
- * Delete all supplier mappings between old supplier ids and new supplier ids.
3384
- */
3385
- deleteSupplierMappings(): Promise<void>;
3386
- }
3387
- export declare class SuppliersClient extends AuthorizedApiBase implements ISuppliersClient {
3388
- private http;
3389
- private baseUrl;
3390
- constructor(configuration: IAccessTokenProvider, baseUrl?: string, http?: {
3391
- fetch(url: RequestInfo, init?: RequestInit): Promise<Response>;
3392
- });
3393
- listSupplierInvites(): Promise<SupplierInviteDto[]>;
3394
- protected processListSupplierInvites(response: Response): Promise<SupplierInviteDto[]>;
3395
- createSupplierInvite(request: CreateSupplierInvite): Promise<SupplierInviteDto>;
3396
- protected processCreateSupplierInvite(response: Response): Promise<SupplierInviteDto>;
3397
- deleteSupplierInvite(id: string): Promise<void>;
3398
- protected processDeleteSupplierInvite(response: Response): Promise<void>;
3399
- listSuppliers(): Promise<ExternalSupplierDto[]>;
3400
- protected processListSuppliers(response: Response): Promise<ExternalSupplierDto[]>;
3401
- deleteSupplier(id: string): Promise<void>;
3402
- protected processDeleteSupplier(response: Response): Promise<void>;
3403
- /**
3404
- * Creates a mapping between old supplier id and new supplier id.
3405
- */
3406
- createSupplierMapping(request: CreateSupplierMapping): Promise<void>;
3407
- protected processCreateSupplierMapping(response: Response): Promise<void>;
3408
- /**
3409
- * Delete all supplier mappings between old supplier ids and new supplier ids.
3410
- */
3411
- deleteSupplierMappings(): Promise<void>;
3412
- protected processDeleteSupplierMappings(response: Response): Promise<void>;
3413
- }
3414
3408
  export interface AzureRegionDto {
3415
3409
  displayName: string;
3416
3410
  name: string;
@@ -3714,9 +3708,6 @@ export interface UserDetailsDto {
3714
3708
  isExternalUser?: boolean;
3715
3709
  isBetaTester?: boolean | null;
3716
3710
  hasAccessToIgnos?: boolean;
3717
- isInvitedUser?: boolean;
3718
- isSupplier?: boolean;
3719
- companyId?: string | null;
3720
3711
  }
3721
3712
  export interface UserDto {
3722
3713
  id?: string | null;
@@ -5592,6 +5583,97 @@ export interface DocumentGeneratorTypeDto {
5592
5583
  key: string;
5593
5584
  description: string;
5594
5585
  }
5586
+ export interface CompanyUserDto {
5587
+ companyId?: string | null;
5588
+ username?: string | null;
5589
+ name?: string | null;
5590
+ roles?: string[] | null;
5591
+ }
5592
+ export interface CreateCompanyUserRequest {
5593
+ username: string;
5594
+ name: string;
5595
+ roles: string[];
5596
+ companyId?: string | null;
5597
+ }
5598
+ export interface UpdateCompanyUserRequest {
5599
+ name: string;
5600
+ roles: string[];
5601
+ companyId?: string | null;
5602
+ }
5603
+ export interface ExternalRoleDto {
5604
+ id: string;
5605
+ name: string;
5606
+ }
5607
+ export interface CompanyCustomerDto {
5608
+ customerTenantId?: string | null;
5609
+ customerAzureAdTenantId?: string | null;
5610
+ customerName?: string | null;
5611
+ supplierId?: string | null;
5612
+ supplierName?: string | null;
5613
+ }
5614
+ export interface InviteDto {
5615
+ tenantId: string;
5616
+ companyName: string;
5617
+ id: string;
5618
+ supplierId: string;
5619
+ supplierName: string;
5620
+ username: string;
5621
+ deadline: Date;
5622
+ createdTime: Date;
5623
+ createdBy: string;
5624
+ }
5625
+ export interface CompanyDto {
5626
+ id?: string | null;
5627
+ name?: string | null;
5628
+ organizationNumber?: string | null;
5629
+ country?: string | null;
5630
+ tenantId?: string | null;
5631
+ }
5632
+ export interface AcceptSupplierInviteRequest {
5633
+ tenantId: string;
5634
+ existingCompanyId?: string | null;
5635
+ companyName?: string | null;
5636
+ organizationNumber?: string | null;
5637
+ threeLetterIsoCountry?: string | null;
5638
+ }
5639
+ export interface SupplierInviteDto {
5640
+ id: string;
5641
+ supplierId: string;
5642
+ name: string;
5643
+ username: string;
5644
+ deadline: Date;
5645
+ createdTime: Date;
5646
+ createdBy: string;
5647
+ }
5648
+ export interface CreateSupplierInvite {
5649
+ supplierId: string;
5650
+ name: string;
5651
+ username: string;
5652
+ deadline: Date;
5653
+ }
5654
+ export interface ExternalSupplierDto {
5655
+ id: string;
5656
+ name: string;
5657
+ companyId: string;
5658
+ active: boolean;
5659
+ }
5660
+ export interface ImportSupplier {
5661
+ supplierId: string;
5662
+ name: string;
5663
+ organizationNumber?: string | null;
5664
+ threeLetterIsoCountry: string;
5665
+ users: ImportSupplierUserDto[];
5666
+ }
5667
+ export interface ImportSupplierUserDto {
5668
+ username: string;
5669
+ name: string;
5670
+ roles: string[];
5671
+ }
5672
+ export interface CreateSupplierMapping {
5673
+ companyId: string;
5674
+ existingSupplierId: string;
5675
+ newSupplierId: string;
5676
+ }
5595
5677
  export interface CncMachineTransferDto {
5596
5678
  id: string;
5597
5679
  cncMachineOperationId?: string | null;
@@ -7572,15 +7654,19 @@ export interface ImaMaterialCheckLiteDto {
7572
7654
  specificationName: string;
7573
7655
  purchaseOrder?: string | null;
7574
7656
  purchaseOrderLine?: number | null;
7575
- purchaseOrderItem?: string | null;
7576
- purchaseOrderOrMaterialCertificateHeatNumber?: string | null;
7577
- purchaseOrderLot?: string | null;
7657
+ purchaseOrderVendorBatches?: string[] | null;
7658
+ purchaseOrderPartName?: string | null;
7659
+ purchaseOrderPartNumber?: string | null;
7660
+ purchaseOrderDrawing?: string | null;
7661
+ heatNumber?: string | null;
7578
7662
  status: ImaMaterialCheckStatus;
7579
7663
  created: Date;
7580
7664
  createdBy: string;
7581
7665
  createdById: string;
7582
- updatedBy?: string | null;
7583
- updatedById?: string | null;
7666
+ createdByName: string;
7667
+ updatedBy: string;
7668
+ updatedById: string;
7669
+ updatedByName: string;
7584
7670
  isDeleted?: boolean;
7585
7671
  }
7586
7672
  export type ImaMaterialCheckStatus = "Processing" | "Draft" | "Approved" | "Rejected" | "NotSet";
@@ -7601,7 +7687,7 @@ export interface ImaMaterialChecksPageRequestDto {
7601
7687
  lotFilter?: string | null;
7602
7688
  dateFromFilter?: Date | null;
7603
7689
  dateToFilter?: Date | null;
7604
- statusFilter: ImaMaterialCheckStatus[];
7690
+ statusFilter?: ImaMaterialCheckStatus[] | null;
7605
7691
  continuationToken?: string | null;
7606
7692
  }
7607
7693
  export type ImaMaterialChecksOrderByColumn = "OriginalReport" | "GeneratedReport" | "Customer" | "Project" | "PurchaseOrder" | "WorkOrder" | "CertificateType" | "Line" | "Item" | "Heat" | "Lot" | "Date" | "Status" | "NotSet";
@@ -7620,15 +7706,19 @@ export interface ImaMaterialCheckDto {
7620
7706
  specificationName: string;
7621
7707
  purchaseOrder?: string | null;
7622
7708
  purchaseOrderLine?: number | null;
7623
- purchaseOrderItem?: string | null;
7624
- purchaseOrderOrMaterialCertificateHeatNumber?: string | null;
7625
- purchaseOrderLot?: string | null;
7709
+ purchaseOrderVendorBatches?: string[] | null;
7710
+ purchaseOrderPartName?: string | null;
7711
+ purchaseOrderPartNumber?: string | null;
7712
+ purchaseOrderDrawing?: string | null;
7713
+ heatNumber?: string | null;
7626
7714
  status: ImaMaterialCheckStatus;
7627
7715
  created: Date;
7628
7716
  createdBy: string;
7629
7717
  createdById: string;
7630
- updatedBy?: string | null;
7631
- updatedById?: string | null;
7718
+ createdByName: string;
7719
+ updatedBy: string;
7720
+ updatedById: string;
7721
+ updatedByName: string;
7632
7722
  isDeleted?: boolean;
7633
7723
  certificateTypeResults: ImaCertificateTypeResultsDto;
7634
7724
  specificationChemistry: ImaSpecificationChemistryResultsDto;
@@ -7732,15 +7822,12 @@ export interface ImaSpecificationChemistryResultsDto {
7732
7822
  iron?: ImaSpecificationResultLineDto | null;
7733
7823
  }
7734
7824
  export interface ImaSpecificationResultLineDto {
7735
- specificationOperator?: string | null;
7736
- specificationValue1?: number | null;
7737
- specificationValue2?: number | null;
7738
- specificationUnit?: ImaSpecificationUnit | null;
7825
+ specificationMin?: number | null;
7826
+ specificationMax?: number | null;
7739
7827
  readValue?: string | null;
7740
7828
  status: ImaSpecificationResultLineStatus;
7741
7829
  override?: ImaResultLineOverrideDto | null;
7742
7830
  }
7743
- export type ImaSpecificationUnit = "Percentage" | "Joule" | "Celsius" | "Fahrenheit" | "Mpa" | "Hbw" | "Minutes" | "NotSet";
7744
7831
  export type ImaSpecificationResultLineStatus = "NotFound" | "NotOk" | "Ok" | "NotSet";
7745
7832
  export interface ImaSpecificationMechanicalResultsDto {
7746
7833
  yieldStrength?: ImaSpecificationResultLineDto | null;
@@ -7920,8 +8007,10 @@ export interface ImaCertificateTypeDto extends ImaCdfEntityReadBase {
7920
8007
  created: Date;
7921
8008
  createdBy: string;
7922
8009
  createdById: string;
7923
- updatedBy?: string | null;
7924
- updatedById?: string | null;
8010
+ createdByName: string;
8011
+ updatedBy: string;
8012
+ updatedById: string;
8013
+ updatedByName: string;
7925
8014
  updated: Date;
7926
8015
  isDeleted: boolean;
7927
8016
  requirements: ImaCertificateTypeRequirementsDto;
@@ -8092,8 +8181,10 @@ export interface ImaCertificateTypeLiteDto extends ImaCdfEntityReadBase {
8092
8181
  created: Date;
8093
8182
  createdBy: string;
8094
8183
  createdById: string;
8095
- updatedBy?: string | null;
8096
- updatedById?: string | null;
8184
+ createdByName: string;
8185
+ updatedBy: string;
8186
+ updatedById: string;
8187
+ updatedByName: string;
8097
8188
  updated: Date;
8098
8189
  isDeleted: boolean;
8099
8190
  }
@@ -8150,8 +8241,10 @@ export interface ImaSpecificationDto extends ImaCdfEntityReadBase {
8150
8241
  created: Date;
8151
8242
  createdBy: string;
8152
8243
  createdById: string;
8244
+ createdByName: string;
8153
8245
  updatedBy: string;
8154
8246
  updatedById: string;
8247
+ updatedByName: string;
8155
8248
  updated: Date;
8156
8249
  isDeleted: boolean;
8157
8250
  chemistrySpecification: ImaChemistrySpecificationDto;
@@ -8179,12 +8272,9 @@ export interface ImaChemistrySpecificationDto extends ImaCdfEntityReadBase {
8179
8272
  iron?: ImaSpecificationLineDto | null;
8180
8273
  }
8181
8274
  export interface ImaSpecificationLineDto extends ImaCdfEntityReadBase {
8182
- operator: ImaSpecificationOperator;
8183
- value1: number;
8184
- value2?: number | null;
8185
- unit: ImaSpecificationUnit;
8275
+ min?: number | null;
8276
+ max?: number | null;
8186
8277
  }
8187
- export type ImaSpecificationOperator = "Min" | "Max" | "Between" | "NotSet";
8188
8278
  export interface ImaMechanicalSpecificationDto extends ImaCdfEntityReadBase {
8189
8279
  yieldStrength?: ImaSpecificationLineDto | null;
8190
8280
  tensileStrength?: ImaSpecificationLineDto | null;
@@ -8214,15 +8304,15 @@ export interface ImaHeatTreatmentSpecificationHeatingDto extends ImaCdfEntityRea
8214
8304
  }
8215
8305
  export type ImaHeatTreatmentHeatingMethod = "Annealing" | "Normalizing" | "Quenching" | "Tempering" | "StressRelieving" | "SolutionTreating" | "Aging" | "Austempering" | "Martempering" | "NotSet";
8216
8306
  export interface ImaCreateSpecificationRequestDto {
8217
- specificationName: string;
8218
- specificationNumber: string;
8307
+ name: string;
8308
+ number: string;
8219
8309
  revision: string;
8220
8310
  date: Date;
8221
8311
  specificationFile?: UploadFileDto | null;
8222
8312
  }
8223
8313
  export interface ImaCopySpecificationRequestDto {
8224
- specificationName: string;
8225
- specificationNumber: string;
8314
+ name: string;
8315
+ number: string;
8226
8316
  revision: string;
8227
8317
  date: Date;
8228
8318
  }
@@ -8251,8 +8341,10 @@ export interface ImaSpecificationLiteDto extends ImaCdfEntityReadBase {
8251
8341
  created: Date;
8252
8342
  createdBy: string;
8253
8343
  createdById: string;
8344
+ createdByName: string;
8254
8345
  updatedBy: string;
8255
8346
  updatedById: string;
8347
+ updatedByName: string;
8256
8348
  isDeleted: boolean;
8257
8349
  }
8258
8350
  export interface MeasurementFormSchemaDto {
@@ -8803,6 +8895,7 @@ export interface ListMeasurementFormsRequest {
8803
8895
  pageSize?: number | null;
8804
8896
  search?: string | null;
8805
8897
  continuationToken?: string | null;
8898
+ tenantId?: string | null;
8806
8899
  inactive?: boolean | null;
8807
8900
  includeInactiveSupplierAccess?: boolean | null;
8808
8901
  }
@@ -8998,6 +9091,7 @@ export interface UpsertSupplierToMeasurementFormInstanceRequest {
8998
9091
  externalOrderNumber?: string | null;
8999
9092
  }
9000
9093
  export interface ExportDimensionReportV2Request {
9094
+ tenantId?: string | null;
9001
9095
  type: DimensionReportType;
9002
9096
  extras?: DimensionReportExtras | null;
9003
9097
  specificSerialNumbers?: string[] | null;
@@ -9338,80 +9432,6 @@ export interface SetDiscussionLastReadRequest {
9338
9432
  operationId?: string | null;
9339
9433
  resourceId?: string | null;
9340
9434
  }
9341
- export interface CompanyUserDto {
9342
- companyId: string;
9343
- userObjectId: string;
9344
- username?: string | null;
9345
- name?: string | null;
9346
- roles: string[];
9347
- }
9348
- export interface CreateCompanyUser {
9349
- username: string;
9350
- name: string;
9351
- roles: string[];
9352
- companyId?: string | null;
9353
- }
9354
- export interface UpdateCompanyUserRequest {
9355
- roles: string[];
9356
- companyId?: string | null;
9357
- }
9358
- export interface ExternalRoleDto {
9359
- id: string;
9360
- name: string;
9361
- }
9362
- export interface CompanyCustomerDto {
9363
- customerTenantId?: string | null;
9364
- customerAzureAdTenantId?: string | null;
9365
- customerName?: string | null;
9366
- supplierId?: string | null;
9367
- supplierName?: string | null;
9368
- customerIgnosPortalPrefix?: string | null;
9369
- }
9370
- export interface CompanyDto {
9371
- id?: string;
9372
- name?: string;
9373
- organizationNumber?: string | null;
9374
- country?: string;
9375
- tenantId?: string | null;
9376
- }
9377
- export interface SupplierInviteDto {
9378
- id: string;
9379
- supplierId: string;
9380
- supplierName?: string | null;
9381
- customerName?: string | null;
9382
- userId: string;
9383
- userName?: string | null;
9384
- deadline: Date;
9385
- acceptedTimestamp?: Date | null;
9386
- createdTime: Date;
9387
- createdBy: string;
9388
- }
9389
- export interface AcceptSupplierInviteNewCompany {
9390
- companyName?: string;
9391
- organizationNumber?: string;
9392
- threeLetterIsoCountry?: string;
9393
- }
9394
- export interface AcceptSupplierInviteExistingCompany {
9395
- companyId?: string;
9396
- }
9397
- export interface CreateSupplierInvite {
9398
- supplierId: string;
9399
- supplierName?: string | null;
9400
- username: string;
9401
- invitedName: string;
9402
- deadline: Date;
9403
- }
9404
- export interface ExternalSupplierDto {
9405
- id: string;
9406
- name: string;
9407
- companyId: string;
9408
- active: boolean;
9409
- }
9410
- export interface CreateSupplierMapping {
9411
- companyId: string;
9412
- existingSupplierId: string;
9413
- newSupplierId: string;
9414
- }
9415
9435
  export type FeatureCollectionType = "FeatureCollection";
9416
9436
  export interface Features {
9417
9437
  type: FeaturesType;