@ignos/api-client 20260323.90.1-alpha → 20260326.91.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>;
@@ -1428,6 +1425,99 @@ export declare class DocumentTypesClient extends AuthorizedApiBase implements ID
1428
1425
  listDocumentGenerators(): Promise<DocumentGeneratorTypeDto[]>;
1429
1426
  protected processListDocumentGenerators(response: Response): Promise<DocumentGeneratorTypeDto[]>;
1430
1427
  }
1428
+ export interface IExternalAccessClient {
1429
+ listUsers(companyId: string | null | undefined): Promise<CompanyUserDto[]>;
1430
+ createCompanyUser(request: CreateCompanyUserRequest): Promise<CompanyUserDto>;
1431
+ updateCompanyUser(id: string, request: UpdateCompanyUserRequest): Promise<CompanyUserDto>;
1432
+ deleteCompanyUser(id: string, companyId: string | null | undefined): Promise<void>;
1433
+ listRoles(): Promise<ExternalRoleDto[]>;
1434
+ listCompanyCustomers(): Promise<CompanyCustomerDto[]>;
1435
+ deleteCompanyCustomer(tenantId: string): Promise<void>;
1436
+ }
1437
+ export declare class ExternalAccessClient extends AuthorizedApiBase implements IExternalAccessClient {
1438
+ private http;
1439
+ private baseUrl;
1440
+ constructor(configuration: IAccessTokenProvider, baseUrl?: string, http?: {
1441
+ fetch(url: RequestInfo, init?: RequestInit): Promise<Response>;
1442
+ });
1443
+ listUsers(companyId: string | null | undefined): Promise<CompanyUserDto[]>;
1444
+ protected processListUsers(response: Response): Promise<CompanyUserDto[]>;
1445
+ createCompanyUser(request: CreateCompanyUserRequest): Promise<CompanyUserDto>;
1446
+ protected processCreateCompanyUser(response: Response): Promise<CompanyUserDto>;
1447
+ updateCompanyUser(id: string, request: UpdateCompanyUserRequest): Promise<CompanyUserDto>;
1448
+ protected processUpdateCompanyUser(response: Response): Promise<CompanyUserDto>;
1449
+ deleteCompanyUser(id: string, companyId: string | null | undefined): Promise<void>;
1450
+ protected processDeleteCompanyUser(response: Response): Promise<void>;
1451
+ listRoles(): Promise<ExternalRoleDto[]>;
1452
+ protected processListRoles(response: Response): Promise<ExternalRoleDto[]>;
1453
+ listCompanyCustomers(): Promise<CompanyCustomerDto[]>;
1454
+ protected processListCompanyCustomers(response: Response): Promise<CompanyCustomerDto[]>;
1455
+ deleteCompanyCustomer(tenantId: string): Promise<void>;
1456
+ protected processDeleteCompanyCustomer(response: Response): Promise<void>;
1457
+ }
1458
+ export interface IExternalClient {
1459
+ listInvites(): Promise<InviteDto[]>;
1460
+ acceptSupplierInvite(request: AcceptSupplierInviteRequest): Promise<CompanyDto>;
1461
+ listCompanies(): Promise<CompanyDto[]>;
1462
+ }
1463
+ export declare class ExternalClient extends AuthorizedApiBase implements IExternalClient {
1464
+ private http;
1465
+ private baseUrl;
1466
+ constructor(configuration: IAccessTokenProvider, baseUrl?: string, http?: {
1467
+ fetch(url: RequestInfo, init?: RequestInit): Promise<Response>;
1468
+ });
1469
+ listInvites(): Promise<InviteDto[]>;
1470
+ protected processListInvites(response: Response): Promise<InviteDto[]>;
1471
+ acceptSupplierInvite(request: AcceptSupplierInviteRequest): Promise<CompanyDto>;
1472
+ protected processAcceptSupplierInvite(response: Response): Promise<CompanyDto>;
1473
+ listCompanies(): Promise<CompanyDto[]>;
1474
+ protected processListCompanies(response: Response): Promise<CompanyDto[]>;
1475
+ }
1476
+ export interface ISuppliersClient {
1477
+ listSupplierInvites(): Promise<SupplierInviteDto[]>;
1478
+ createSupplierInvite(request: CreateSupplierInvite): Promise<SupplierInviteDto>;
1479
+ deleteSupplierInvite(id: string): Promise<void>;
1480
+ listSuppliers(): Promise<ExternalSupplierDto[]>;
1481
+ deleteSupplier(id: string): Promise<void>;
1482
+ importSupplier(importSupplier: ImportSupplier): Promise<ExternalSupplierDto>;
1483
+ /**
1484
+ * Creates a mapping between old supplier id and new supplier id.
1485
+ */
1486
+ createSupplierMapping(request: CreateSupplierMapping): Promise<void>;
1487
+ /**
1488
+ * Delete all supplier mappings between old supplier ids and new supplier ids.
1489
+ */
1490
+ deleteSupplierMappings(): Promise<void>;
1491
+ }
1492
+ export declare class SuppliersClient extends AuthorizedApiBase implements ISuppliersClient {
1493
+ private http;
1494
+ private baseUrl;
1495
+ constructor(configuration: IAccessTokenProvider, baseUrl?: string, http?: {
1496
+ fetch(url: RequestInfo, init?: RequestInit): Promise<Response>;
1497
+ });
1498
+ listSupplierInvites(): Promise<SupplierInviteDto[]>;
1499
+ protected processListSupplierInvites(response: Response): Promise<SupplierInviteDto[]>;
1500
+ createSupplierInvite(request: CreateSupplierInvite): Promise<SupplierInviteDto>;
1501
+ protected processCreateSupplierInvite(response: Response): Promise<SupplierInviteDto>;
1502
+ deleteSupplierInvite(id: string): Promise<void>;
1503
+ protected processDeleteSupplierInvite(response: Response): Promise<void>;
1504
+ listSuppliers(): Promise<ExternalSupplierDto[]>;
1505
+ protected processListSuppliers(response: Response): Promise<ExternalSupplierDto[]>;
1506
+ deleteSupplier(id: string): Promise<void>;
1507
+ protected processDeleteSupplier(response: Response): Promise<void>;
1508
+ importSupplier(importSupplier: ImportSupplier): Promise<ExternalSupplierDto>;
1509
+ protected processImportSupplier(response: Response): Promise<ExternalSupplierDto>;
1510
+ /**
1511
+ * Creates a mapping between old supplier id and new supplier id.
1512
+ */
1513
+ createSupplierMapping(request: CreateSupplierMapping): Promise<void>;
1514
+ protected processCreateSupplierMapping(response: Response): Promise<void>;
1515
+ /**
1516
+ * Delete all supplier mappings between old supplier ids and new supplier ids.
1517
+ */
1518
+ deleteSupplierMappings(): Promise<void>;
1519
+ protected processDeleteSupplierMappings(response: Response): Promise<void>;
1520
+ }
1431
1521
  export interface ICncFileTransferClient {
1432
1522
  startCncMachineOperationTransferToCloud(id: string): Promise<CncMachineTransferDto>;
1433
1523
  startCncMachineOperationTransferToMachine(id: string): Promise<CncMachineTransferDto>;
@@ -2763,22 +2853,22 @@ export declare class MeasurementFormsInstancesAdminClient extends AuthorizedApiB
2763
2853
  protected processExportDimensionReportValues(response: Response): Promise<DownloadDto>;
2764
2854
  }
2765
2855
  export interface IMeasurementFormsInstancesClient {
2766
- listMeasurementForms(pageSize: number | undefined, search: string | null | undefined, continuationToken: string | null | undefined, inactive: boolean | null | undefined, includeInactiveSupplierAccess: boolean | null | undefined): Promise<PagedResultOfMeasurementFormInstanceOverviewDto>;
2856
+ 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>;
2767
2857
  postListMeasurementForms(request: ListMeasurementFormsRequest | undefined): Promise<PagedResultOfMeasurementFormInstanceOverviewDto>;
2768
- getMeasurementFormInstance(id: string): Promise<MeasurementFormInstanceDto>;
2858
+ getMeasurementFormInstance(id: string, tenantId: string | null | undefined): Promise<MeasurementFormInstanceDto>;
2769
2859
  listMeasurementFormInstanceFeedback(id: string): Promise<MeasurementFormInstanceFeedbackDto[]>;
2770
- completeMeasurementFormInstance(id: string): Promise<MeasurementFormInstanceDto>;
2771
- completeMeasurementFormInstanceV2(id: string): Promise<CompleteMeasurementFormInstanceResult>;
2772
- getMeasurementFormInstanceSchema(id: string, schemaId: string, serialNumber: string | null | undefined): Promise<MeasurementFormInstanceSchemaDto>;
2773
- getWorkorderMeasurementFormProgress(id: string): Promise<MeasurementFormInstanceProgressDto>;
2774
- getAuditLog(id: string, schemaId: string | null | undefined, serialNumber: string | null | undefined, elementId: string | null | undefined): Promise<MeasurementFormElementValueAuditDto[]>;
2860
+ completeMeasurementFormInstance(id: string, tenantId: string | null | undefined): Promise<MeasurementFormInstanceDto>;
2861
+ completeMeasurementFormInstanceV2(id: string, tenantId: string | null | undefined): Promise<CompleteMeasurementFormInstanceResult>;
2862
+ getMeasurementFormInstanceSchema(id: string, schemaId: string, serialNumber: string | null | undefined, tenantId: string | null | undefined): Promise<MeasurementFormInstanceSchemaDto>;
2863
+ getWorkorderMeasurementFormProgress(id: string, tenantId: string | null | undefined): Promise<MeasurementFormInstanceProgressDto>;
2864
+ getAuditLog(id: string, tenantId: string | null | undefined, schemaId: string | null | undefined, serialNumber: string | null | undefined, elementId: string | null | undefined): Promise<MeasurementFormElementValueAuditDto[]>;
2775
2865
  getValidationRules(): Promise<ValidationRuleDto[]>;
2776
- saveValue(id: string, request: SaveValueRequest): Promise<SaveValueResponseDto>;
2777
- saveTool(id: string, request: SaveToolRequest): Promise<SaveValueResponseDto>;
2778
- saveComment(id: string, request: SaveCommentRequest): Promise<void>;
2779
- batchInsertValues(id: string, request: BatchInsertValueRequest): Promise<BatchInsertValuesResponseDto>;
2780
- saveMeasurementFormInstanceSchemaComment(id: string, schemaId: string, request: SaveMeasurementFormInstanceSchemaCommentRequest): Promise<void>;
2781
- createMeasurementFormInstanceSchemaFeedback(id: string, schemaId: string, request: CreateMeasurementFormSchemaFeedbackRequest): Promise<SchemaFeedbackCreatedDto>;
2866
+ saveValue(id: string, tenantId: string | null | undefined, request: SaveValueRequest): Promise<SaveValueResponseDto>;
2867
+ saveTool(id: string, tenantId: string | null | undefined, request: SaveToolRequest): Promise<SaveValueResponseDto>;
2868
+ saveComment(id: string, tenantId: string | null | undefined, request: SaveCommentRequest): Promise<void>;
2869
+ batchInsertValues(id: string, tenantId: string | null | undefined, request: BatchInsertValueRequest): Promise<BatchInsertValuesResponseDto>;
2870
+ saveMeasurementFormInstanceSchemaComment(id: string, schemaId: string, tenantId: string | null | undefined, request: SaveMeasurementFormInstanceSchemaCommentRequest): Promise<void>;
2871
+ createMeasurementFormInstanceSchemaFeedback(id: string, schemaId: string, tenantId: string | null | undefined, request: CreateMeasurementFormSchemaFeedbackRequest): Promise<SchemaFeedbackCreatedDto>;
2782
2872
  listSupplierMeasurementFormInstances(supplierId: string): Promise<MeasurementFormSupplierAccessInstanceDto[]>;
2783
2873
  upsertSupplierToMeasurmentFormInstance(id: string, supplierId: string, request: UpsertSupplierToMeasurementFormInstanceRequest): Promise<void>;
2784
2874
  removeSupplierFromMeasurmentFormInstance(id: string, supplierId: string): Promise<void>;
@@ -2794,37 +2884,37 @@ export declare class MeasurementFormsInstancesClient extends AuthorizedApiBase i
2794
2884
  constructor(configuration: IAccessTokenProvider, baseUrl?: string, http?: {
2795
2885
  fetch(url: RequestInfo, init?: RequestInit): Promise<Response>;
2796
2886
  });
2797
- listMeasurementForms(pageSize: number | undefined, search: string | null | undefined, continuationToken: string | null | undefined, inactive: boolean | null | undefined, includeInactiveSupplierAccess: boolean | null | undefined): Promise<PagedResultOfMeasurementFormInstanceOverviewDto>;
2887
+ 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>;
2798
2888
  protected processListMeasurementForms(response: Response): Promise<PagedResultOfMeasurementFormInstanceOverviewDto>;
2799
2889
  postListMeasurementForms(request: ListMeasurementFormsRequest | undefined): Promise<PagedResultOfMeasurementFormInstanceOverviewDto>;
2800
2890
  protected processPostListMeasurementForms(response: Response): Promise<PagedResultOfMeasurementFormInstanceOverviewDto>;
2801
- getMeasurementFormInstance(id: string): Promise<MeasurementFormInstanceDto>;
2891
+ getMeasurementFormInstance(id: string, tenantId: string | null | undefined): Promise<MeasurementFormInstanceDto>;
2802
2892
  protected processGetMeasurementFormInstance(response: Response): Promise<MeasurementFormInstanceDto>;
2803
2893
  listMeasurementFormInstanceFeedback(id: string): Promise<MeasurementFormInstanceFeedbackDto[]>;
2804
2894
  protected processListMeasurementFormInstanceFeedback(response: Response): Promise<MeasurementFormInstanceFeedbackDto[]>;
2805
- completeMeasurementFormInstance(id: string): Promise<MeasurementFormInstanceDto>;
2895
+ completeMeasurementFormInstance(id: string, tenantId: string | null | undefined): Promise<MeasurementFormInstanceDto>;
2806
2896
  protected processCompleteMeasurementFormInstance(response: Response): Promise<MeasurementFormInstanceDto>;
2807
- completeMeasurementFormInstanceV2(id: string): Promise<CompleteMeasurementFormInstanceResult>;
2897
+ completeMeasurementFormInstanceV2(id: string, tenantId: string | null | undefined): Promise<CompleteMeasurementFormInstanceResult>;
2808
2898
  protected processCompleteMeasurementFormInstanceV2(response: Response): Promise<CompleteMeasurementFormInstanceResult>;
2809
- getMeasurementFormInstanceSchema(id: string, schemaId: string, serialNumber: string | null | undefined): Promise<MeasurementFormInstanceSchemaDto>;
2899
+ getMeasurementFormInstanceSchema(id: string, schemaId: string, serialNumber: string | null | undefined, tenantId: string | null | undefined): Promise<MeasurementFormInstanceSchemaDto>;
2810
2900
  protected processGetMeasurementFormInstanceSchema(response: Response): Promise<MeasurementFormInstanceSchemaDto>;
2811
- getWorkorderMeasurementFormProgress(id: string): Promise<MeasurementFormInstanceProgressDto>;
2901
+ getWorkorderMeasurementFormProgress(id: string, tenantId: string | null | undefined): Promise<MeasurementFormInstanceProgressDto>;
2812
2902
  protected processGetWorkorderMeasurementFormProgress(response: Response): Promise<MeasurementFormInstanceProgressDto>;
2813
- getAuditLog(id: string, schemaId: string | null | undefined, serialNumber: string | null | undefined, elementId: string | null | undefined): Promise<MeasurementFormElementValueAuditDto[]>;
2903
+ getAuditLog(id: string, tenantId: string | null | undefined, schemaId: string | null | undefined, serialNumber: string | null | undefined, elementId: string | null | undefined): Promise<MeasurementFormElementValueAuditDto[]>;
2814
2904
  protected processGetAuditLog(response: Response): Promise<MeasurementFormElementValueAuditDto[]>;
2815
2905
  getValidationRules(): Promise<ValidationRuleDto[]>;
2816
2906
  protected processGetValidationRules(response: Response): Promise<ValidationRuleDto[]>;
2817
- saveValue(id: string, request: SaveValueRequest): Promise<SaveValueResponseDto>;
2907
+ saveValue(id: string, tenantId: string | null | undefined, request: SaveValueRequest): Promise<SaveValueResponseDto>;
2818
2908
  protected processSaveValue(response: Response): Promise<SaveValueResponseDto>;
2819
- saveTool(id: string, request: SaveToolRequest): Promise<SaveValueResponseDto>;
2909
+ saveTool(id: string, tenantId: string | null | undefined, request: SaveToolRequest): Promise<SaveValueResponseDto>;
2820
2910
  protected processSaveTool(response: Response): Promise<SaveValueResponseDto>;
2821
- saveComment(id: string, request: SaveCommentRequest): Promise<void>;
2911
+ saveComment(id: string, tenantId: string | null | undefined, request: SaveCommentRequest): Promise<void>;
2822
2912
  protected processSaveComment(response: Response): Promise<void>;
2823
- batchInsertValues(id: string, request: BatchInsertValueRequest): Promise<BatchInsertValuesResponseDto>;
2913
+ batchInsertValues(id: string, tenantId: string | null | undefined, request: BatchInsertValueRequest): Promise<BatchInsertValuesResponseDto>;
2824
2914
  protected processBatchInsertValues(response: Response): Promise<BatchInsertValuesResponseDto>;
2825
- saveMeasurementFormInstanceSchemaComment(id: string, schemaId: string, request: SaveMeasurementFormInstanceSchemaCommentRequest): Promise<void>;
2915
+ saveMeasurementFormInstanceSchemaComment(id: string, schemaId: string, tenantId: string | null | undefined, request: SaveMeasurementFormInstanceSchemaCommentRequest): Promise<void>;
2826
2916
  protected processSaveMeasurementFormInstanceSchemaComment(response: Response): Promise<void>;
2827
- createMeasurementFormInstanceSchemaFeedback(id: string, schemaId: string, request: CreateMeasurementFormSchemaFeedbackRequest): Promise<SchemaFeedbackCreatedDto>;
2917
+ createMeasurementFormInstanceSchemaFeedback(id: string, schemaId: string, tenantId: string | null | undefined, request: CreateMeasurementFormSchemaFeedbackRequest): Promise<SchemaFeedbackCreatedDto>;
2828
2918
  protected processCreateMeasurementFormInstanceSchemaFeedback(response: Response): Promise<SchemaFeedbackCreatedDto>;
2829
2919
  listSupplierMeasurementFormInstances(supplierId: string): Promise<MeasurementFormSupplierAccessInstanceDto[]>;
2830
2920
  protected processListSupplierMeasurementFormInstances(response: Response): Promise<MeasurementFormSupplierAccessInstanceDto[]>;
@@ -2849,7 +2939,7 @@ export interface IMeasurementFormsInstancesInstanceAdminClient {
2849
2939
  createMeasurementFormInstance2(id: string, request: CreateMeasurementFormInstanceRequest): Promise<MeasurementFormInstanceDto>;
2850
2940
  reactivateMeasurementFormInstance(id: string): Promise<MeasurementFormInstanceDto>;
2851
2941
  cancelMeasurementFormInstance(id: string): Promise<MeasurementFormInstanceDto>;
2852
- toggleSchemaInstanceElementDocumentedExternallyOverride(id: string, schemaId: string, elementId: string): Promise<void>;
2942
+ toggleSchemaInstanceElementDocumentedExternallyOverride(id: string, schemaId: string, elementId: string, tenantId: string | null | undefined): Promise<void>;
2853
2943
  }
2854
2944
  export declare class MeasurementFormsInstancesInstanceAdminClient extends AuthorizedApiBase implements IMeasurementFormsInstancesInstanceAdminClient {
2855
2945
  private http;
@@ -2873,7 +2963,7 @@ export declare class MeasurementFormsInstancesInstanceAdminClient extends Author
2873
2963
  protected processReactivateMeasurementFormInstance(response: Response): Promise<MeasurementFormInstanceDto>;
2874
2964
  cancelMeasurementFormInstance(id: string): Promise<MeasurementFormInstanceDto>;
2875
2965
  protected processCancelMeasurementFormInstance(response: Response): Promise<MeasurementFormInstanceDto>;
2876
- toggleSchemaInstanceElementDocumentedExternallyOverride(id: string, schemaId: string, elementId: string): Promise<void>;
2966
+ toggleSchemaInstanceElementDocumentedExternallyOverride(id: string, schemaId: string, elementId: string, tenantId: string | null | undefined): Promise<void>;
2877
2967
  protected processToggleSchemaInstanceElementDocumentedExternallyOverride(response: Response): Promise<void>;
2878
2968
  }
2879
2969
  export interface ICompaniesClient {
@@ -3213,99 +3303,6 @@ export declare class WorkordersClient extends AuthorizedApiBase implements IWork
3213
3303
  generateContentPartsForDiscussions(): Promise<WorkorderDiscussionMessageDto[]>;
3214
3304
  protected processGenerateContentPartsForDiscussions(response: Response): Promise<WorkorderDiscussionMessageDto[]>;
3215
3305
  }
3216
- export interface IExternalAccessClient {
3217
- listUsers(companyId: string | null | undefined): Promise<CompanyUserDto[]>;
3218
- createCompanyUser(request: CreateCompanyUser): Promise<CompanyUserDto>;
3219
- updateCompanyUser(id: string, request: UpdateCompanyUserRequest): Promise<CompanyUserDto>;
3220
- deleteCompanyUser(id: string, companyId: string | null | undefined): Promise<void>;
3221
- listRoles(): Promise<ExternalRoleDto[]>;
3222
- listCompanyCustomers(): Promise<CompanyCustomerDto[]>;
3223
- deleteCompanyCustomer(tenantId: string): Promise<void>;
3224
- }
3225
- export declare class ExternalAccessClient extends AuthorizedApiBase implements IExternalAccessClient {
3226
- private http;
3227
- private baseUrl;
3228
- constructor(configuration: IAccessTokenProvider, baseUrl?: string, http?: {
3229
- fetch(url: RequestInfo, init?: RequestInit): Promise<Response>;
3230
- });
3231
- listUsers(companyId: string | null | undefined): Promise<CompanyUserDto[]>;
3232
- protected processListUsers(response: Response): Promise<CompanyUserDto[]>;
3233
- createCompanyUser(request: CreateCompanyUser): Promise<CompanyUserDto>;
3234
- protected processCreateCompanyUser(response: Response): Promise<CompanyUserDto>;
3235
- updateCompanyUser(id: string, request: UpdateCompanyUserRequest): Promise<CompanyUserDto>;
3236
- protected processUpdateCompanyUser(response: Response): Promise<CompanyUserDto>;
3237
- deleteCompanyUser(id: string, companyId: string | null | undefined): Promise<void>;
3238
- protected processDeleteCompanyUser(response: Response): Promise<void>;
3239
- listRoles(): Promise<ExternalRoleDto[]>;
3240
- protected processListRoles(response: Response): Promise<ExternalRoleDto[]>;
3241
- listCompanyCustomers(): Promise<CompanyCustomerDto[]>;
3242
- protected processListCompanyCustomers(response: Response): Promise<CompanyCustomerDto[]>;
3243
- deleteCompanyCustomer(tenantId: string): Promise<void>;
3244
- protected processDeleteCompanyCustomer(response: Response): Promise<void>;
3245
- }
3246
- export interface IExternalClient {
3247
- listCompanies(): Promise<CompanyDto[]>;
3248
- getCompany(id: string): Promise<CompanyDto>;
3249
- getCurrentSupplierInvite(): Promise<SupplierInviteDto>;
3250
- acceptSupplierInvite(request: AcceptSupplierInvite): Promise<SupplierInviteDto>;
3251
- }
3252
- export declare class ExternalClient extends AuthorizedApiBase implements IExternalClient {
3253
- private http;
3254
- private baseUrl;
3255
- constructor(configuration: IAccessTokenProvider, baseUrl?: string, http?: {
3256
- fetch(url: RequestInfo, init?: RequestInit): Promise<Response>;
3257
- });
3258
- listCompanies(): Promise<CompanyDto[]>;
3259
- protected processListCompanies(response: Response): Promise<CompanyDto[]>;
3260
- getCompany(id: string): Promise<CompanyDto>;
3261
- protected processGetCompany(response: Response): Promise<CompanyDto>;
3262
- getCurrentSupplierInvite(): Promise<SupplierInviteDto>;
3263
- protected processGetCurrentSupplierInvite(response: Response): Promise<SupplierInviteDto>;
3264
- acceptSupplierInvite(request: AcceptSupplierInvite): Promise<SupplierInviteDto>;
3265
- protected processAcceptSupplierInvite(response: Response): Promise<SupplierInviteDto>;
3266
- }
3267
- export interface ISuppliersClient {
3268
- listSupplierInvites(): Promise<SupplierInviteDto[]>;
3269
- createSupplierInvite(request: CreateSupplierInvite): Promise<SupplierInviteDto>;
3270
- deleteSupplierInvite(id: string): Promise<void>;
3271
- listSuppliers(): Promise<ExternalSupplierDto[]>;
3272
- deleteSupplier(id: string): Promise<void>;
3273
- /**
3274
- * Creates a mapping between old supplier id and new supplier id.
3275
- */
3276
- createSupplierMapping(request: CreateSupplierMapping): Promise<void>;
3277
- /**
3278
- * Delete all supplier mappings between old supplier ids and new supplier ids.
3279
- */
3280
- deleteSupplierMappings(): Promise<void>;
3281
- }
3282
- export declare class SuppliersClient extends AuthorizedApiBase implements ISuppliersClient {
3283
- private http;
3284
- private baseUrl;
3285
- constructor(configuration: IAccessTokenProvider, baseUrl?: string, http?: {
3286
- fetch(url: RequestInfo, init?: RequestInit): Promise<Response>;
3287
- });
3288
- listSupplierInvites(): Promise<SupplierInviteDto[]>;
3289
- protected processListSupplierInvites(response: Response): Promise<SupplierInviteDto[]>;
3290
- createSupplierInvite(request: CreateSupplierInvite): Promise<SupplierInviteDto>;
3291
- protected processCreateSupplierInvite(response: Response): Promise<SupplierInviteDto>;
3292
- deleteSupplierInvite(id: string): Promise<void>;
3293
- protected processDeleteSupplierInvite(response: Response): Promise<void>;
3294
- listSuppliers(): Promise<ExternalSupplierDto[]>;
3295
- protected processListSuppliers(response: Response): Promise<ExternalSupplierDto[]>;
3296
- deleteSupplier(id: string): Promise<void>;
3297
- protected processDeleteSupplier(response: Response): Promise<void>;
3298
- /**
3299
- * Creates a mapping between old supplier id and new supplier id.
3300
- */
3301
- createSupplierMapping(request: CreateSupplierMapping): Promise<void>;
3302
- protected processCreateSupplierMapping(response: Response): Promise<void>;
3303
- /**
3304
- * Delete all supplier mappings between old supplier ids and new supplier ids.
3305
- */
3306
- deleteSupplierMappings(): Promise<void>;
3307
- protected processDeleteSupplierMappings(response: Response): Promise<void>;
3308
- }
3309
3306
  export interface AzureRegionDto {
3310
3307
  displayName: string;
3311
3308
  name: string;
@@ -3539,8 +3536,6 @@ export interface UserDetailsDto {
3539
3536
  isExternalUser?: boolean;
3540
3537
  isBetaTester?: boolean | null;
3541
3538
  hasAccessToIgnos?: boolean;
3542
- isInvitedUser?: boolean;
3543
- isSupplier?: boolean;
3544
3539
  }
3545
3540
  export interface UserDto {
3546
3541
  id?: string | null;
@@ -5408,6 +5403,97 @@ export interface DocumentGeneratorTypeDto {
5408
5403
  key: string;
5409
5404
  description: string;
5410
5405
  }
5406
+ export interface CompanyUserDto {
5407
+ companyId?: string | null;
5408
+ username?: string | null;
5409
+ name?: string | null;
5410
+ roles?: string[] | null;
5411
+ }
5412
+ export interface CreateCompanyUserRequest {
5413
+ username: string;
5414
+ name: string;
5415
+ roles: string[];
5416
+ companyId?: string | null;
5417
+ }
5418
+ export interface UpdateCompanyUserRequest {
5419
+ name: string;
5420
+ roles: string[];
5421
+ companyId?: string | null;
5422
+ }
5423
+ export interface ExternalRoleDto {
5424
+ id: string;
5425
+ name: string;
5426
+ }
5427
+ export interface CompanyCustomerDto {
5428
+ customerTenantId?: string | null;
5429
+ customerAzureAdTenantId?: string | null;
5430
+ customerName?: string | null;
5431
+ supplierId?: string | null;
5432
+ supplierName?: string | null;
5433
+ }
5434
+ export interface InviteDto {
5435
+ tenantId: string;
5436
+ companyName: string;
5437
+ id: string;
5438
+ supplierId: string;
5439
+ supplierName: string;
5440
+ username: string;
5441
+ deadline: Date;
5442
+ createdTime: Date;
5443
+ createdBy: string;
5444
+ }
5445
+ export interface CompanyDto {
5446
+ id?: string | null;
5447
+ name?: string | null;
5448
+ organizationNumber?: string | null;
5449
+ country?: string | null;
5450
+ tenantId?: string | null;
5451
+ }
5452
+ export interface AcceptSupplierInviteRequest {
5453
+ tenantId: string;
5454
+ existingCompanyId?: string | null;
5455
+ companyName?: string | null;
5456
+ organizationNumber?: string | null;
5457
+ threeLetterIsoCountry?: string | null;
5458
+ }
5459
+ export interface SupplierInviteDto {
5460
+ id: string;
5461
+ supplierId: string;
5462
+ name: string;
5463
+ username: string;
5464
+ deadline: Date;
5465
+ createdTime: Date;
5466
+ createdBy: string;
5467
+ }
5468
+ export interface CreateSupplierInvite {
5469
+ supplierId: string;
5470
+ name: string;
5471
+ username: string;
5472
+ deadline: Date;
5473
+ }
5474
+ export interface ExternalSupplierDto {
5475
+ id: string;
5476
+ name: string;
5477
+ companyId: string;
5478
+ active: boolean;
5479
+ }
5480
+ export interface ImportSupplier {
5481
+ supplierId: string;
5482
+ name: string;
5483
+ organizationNumber?: string | null;
5484
+ threeLetterIsoCountry: string;
5485
+ users: ImportSupplierUserDto[];
5486
+ }
5487
+ export interface ImportSupplierUserDto {
5488
+ username: string;
5489
+ name: string;
5490
+ roles: string[];
5491
+ }
5492
+ export interface CreateSupplierMapping {
5493
+ companyId: string;
5494
+ existingSupplierId: string;
5495
+ newSupplierId: string;
5496
+ }
5411
5497
  export interface CncMachineTransferDto {
5412
5498
  id: string;
5413
5499
  cncMachineOperationId?: string | null;
@@ -7545,7 +7631,7 @@ export interface ImaSpecificationResultLineDto {
7545
7631
  status: ImaSpecificationResultLineStatus;
7546
7632
  override?: ImaResultLineOverrideDto | null;
7547
7633
  }
7548
- export type ImaSpecificationUnit = "Percentage" | "Joule" | "Celsius" | "Fahrenheit" | "Mpa" | "Hbw" | "NotSet";
7634
+ export type ImaSpecificationUnit = "Percentage" | "Joule" | "Celsius" | "Fahrenheit" | "Mpa" | "Hbw" | "Minutes" | "NotSet";
7549
7635
  export type ImaSpecificationResultLineStatus = "NotFound" | "NotOk" | "Ok" | "NotSet";
7550
7636
  export interface ImaSpecificationMechanicalResultsDto {
7551
7637
  yieldStrength?: ImaSpecificationResultLineDto | null;
@@ -8565,6 +8651,7 @@ export interface ListMeasurementFormsRequest {
8565
8651
  pageSize?: number | null;
8566
8652
  search?: string | null;
8567
8653
  continuationToken?: string | null;
8654
+ tenantId?: string | null;
8568
8655
  inactive?: boolean | null;
8569
8656
  includeInactiveSupplierAccess?: boolean | null;
8570
8657
  }
@@ -8760,6 +8847,7 @@ export interface UpsertSupplierToMeasurementFormInstanceRequest {
8760
8847
  externalOrderNumber?: string | null;
8761
8848
  }
8762
8849
  export interface ExportDimensionReportV2Request {
8850
+ tenantId?: string | null;
8763
8851
  type: DimensionReportType;
8764
8852
  extras?: DimensionReportExtras | null;
8765
8853
  specificSerialNumbers?: string[] | null;
@@ -9100,79 +9188,6 @@ export interface SetDiscussionLastReadRequest {
9100
9188
  operationId?: string | null;
9101
9189
  resourceId?: string | null;
9102
9190
  }
9103
- export interface CompanyUserDto {
9104
- companyId: string;
9105
- userObjectId: string;
9106
- username?: string | null;
9107
- name?: string | null;
9108
- roles: string[];
9109
- }
9110
- export interface CreateCompanyUser {
9111
- username: string;
9112
- name: string;
9113
- roles: string[];
9114
- companyId?: string | null;
9115
- }
9116
- export interface UpdateCompanyUserRequest {
9117
- roles: string[];
9118
- companyId?: string | null;
9119
- }
9120
- export interface ExternalRoleDto {
9121
- id: string;
9122
- name: string;
9123
- }
9124
- export interface CompanyCustomerDto {
9125
- customerTenantId?: string | null;
9126
- customerAzureAdTenantId?: string | null;
9127
- customerName?: string | null;
9128
- supplierId?: string | null;
9129
- supplierName?: string | null;
9130
- customerIgnosPortalPrefix?: string | null;
9131
- }
9132
- export interface CompanyDto {
9133
- id?: string;
9134
- name?: string;
9135
- organizationNumber?: string | null;
9136
- country?: string;
9137
- tenantId?: string | null;
9138
- }
9139
- export interface SupplierInviteDto {
9140
- id: string;
9141
- supplierId: string;
9142
- supplierName?: string | null;
9143
- customerName?: string | null;
9144
- userId: string;
9145
- userName?: string | null;
9146
- companyId?: string | null;
9147
- deadline: Date;
9148
- acceptedTimestamp?: Date | null;
9149
- createdTime: Date;
9150
- createdBy: string;
9151
- }
9152
- export interface AcceptSupplierInvite {
9153
- companyName?: string;
9154
- organizationNumber?: string;
9155
- threeLetterIsoCountry?: string;
9156
- }
9157
- export interface CreateSupplierInvite {
9158
- supplierId: string;
9159
- supplierName?: string | null;
9160
- username: string;
9161
- invitedName: string;
9162
- deadline: Date;
9163
- existingCompanyId?: string | null;
9164
- }
9165
- export interface ExternalSupplierDto {
9166
- id: string;
9167
- name: string;
9168
- companyId: string;
9169
- active: boolean;
9170
- }
9171
- export interface CreateSupplierMapping {
9172
- companyId: string;
9173
- existingSupplierId: string;
9174
- newSupplierId: string;
9175
- }
9176
9191
  export interface FileParameter {
9177
9192
  data: any;
9178
9193
  fileName: string;