@ignos/api-client 20260417.111.1 → 20260417.112.1-alpha

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -124,6 +124,7 @@ export declare class CustomersClient extends AuthorizedApiBase implements ICusto
124
124
  }
125
125
  export interface IGuestsClient {
126
126
  getGuestLoginInfo(search: string | undefined): Promise<GuestLoginInfoDto>;
127
+ getSupplierLoginInfo(search: string | undefined): Promise<GuestLoginInfoDto>;
127
128
  }
128
129
  export declare class GuestsClient extends AuthorizedApiBase implements IGuestsClient {
129
130
  private http;
@@ -133,6 +134,8 @@ export declare class GuestsClient extends AuthorizedApiBase implements IGuestsCl
133
134
  });
134
135
  getGuestLoginInfo(search: string | undefined): Promise<GuestLoginInfoDto>;
135
136
  protected processGetGuestLoginInfo(response: Response): Promise<GuestLoginInfoDto>;
137
+ getSupplierLoginInfo(search: string | undefined): Promise<GuestLoginInfoDto>;
138
+ protected processGetSupplierLoginInfo(response: Response): Promise<GuestLoginInfoDto>;
136
139
  }
137
140
  export interface IPresentationClient {
138
141
  getComponentSettings(componentId: string): Promise<ComponentSettingsDto>;
@@ -1491,99 +1494,6 @@ export declare class DocumentTypesClient extends AuthorizedApiBase implements ID
1491
1494
  listDocumentGenerators(): Promise<DocumentGeneratorTypeDto[]>;
1492
1495
  protected processListDocumentGenerators(response: Response): Promise<DocumentGeneratorTypeDto[]>;
1493
1496
  }
1494
- export interface IExternalAccessClient {
1495
- listUsers(companyId: string | null | undefined): Promise<CompanyUserDto[]>;
1496
- createCompanyUser(request: CreateCompanyUserRequest): Promise<CompanyUserDto>;
1497
- updateCompanyUser(id: string, request: UpdateCompanyUserRequest): Promise<CompanyUserDto>;
1498
- deleteCompanyUser(id: string, companyId: string | null | undefined): Promise<void>;
1499
- listRoles(): Promise<ExternalRoleDto[]>;
1500
- listCompanyCustomers(): Promise<CompanyCustomerDto[]>;
1501
- deleteCompanyCustomer(tenantId: string): Promise<void>;
1502
- }
1503
- export declare class ExternalAccessClient extends AuthorizedApiBase implements IExternalAccessClient {
1504
- private http;
1505
- private baseUrl;
1506
- constructor(configuration: IAccessTokenProvider, baseUrl?: string, http?: {
1507
- fetch(url: RequestInfo, init?: RequestInit): Promise<Response>;
1508
- });
1509
- listUsers(companyId: string | null | undefined): Promise<CompanyUserDto[]>;
1510
- protected processListUsers(response: Response): Promise<CompanyUserDto[]>;
1511
- createCompanyUser(request: CreateCompanyUserRequest): Promise<CompanyUserDto>;
1512
- protected processCreateCompanyUser(response: Response): Promise<CompanyUserDto>;
1513
- updateCompanyUser(id: string, request: UpdateCompanyUserRequest): Promise<CompanyUserDto>;
1514
- protected processUpdateCompanyUser(response: Response): Promise<CompanyUserDto>;
1515
- deleteCompanyUser(id: string, companyId: string | null | undefined): Promise<void>;
1516
- protected processDeleteCompanyUser(response: Response): Promise<void>;
1517
- listRoles(): Promise<ExternalRoleDto[]>;
1518
- protected processListRoles(response: Response): Promise<ExternalRoleDto[]>;
1519
- listCompanyCustomers(): Promise<CompanyCustomerDto[]>;
1520
- protected processListCompanyCustomers(response: Response): Promise<CompanyCustomerDto[]>;
1521
- deleteCompanyCustomer(tenantId: string): Promise<void>;
1522
- protected processDeleteCompanyCustomer(response: Response): Promise<void>;
1523
- }
1524
- export interface IExternalClient {
1525
- listInvites(): Promise<InviteDto[]>;
1526
- acceptSupplierInvite(request: AcceptSupplierInviteRequest): Promise<CompanyDto>;
1527
- listCompanies(): Promise<CompanyDto[]>;
1528
- }
1529
- export declare class ExternalClient extends AuthorizedApiBase implements IExternalClient {
1530
- private http;
1531
- private baseUrl;
1532
- constructor(configuration: IAccessTokenProvider, baseUrl?: string, http?: {
1533
- fetch(url: RequestInfo, init?: RequestInit): Promise<Response>;
1534
- });
1535
- listInvites(): Promise<InviteDto[]>;
1536
- protected processListInvites(response: Response): Promise<InviteDto[]>;
1537
- acceptSupplierInvite(request: AcceptSupplierInviteRequest): Promise<CompanyDto>;
1538
- protected processAcceptSupplierInvite(response: Response): Promise<CompanyDto>;
1539
- listCompanies(): Promise<CompanyDto[]>;
1540
- protected processListCompanies(response: Response): Promise<CompanyDto[]>;
1541
- }
1542
- export interface ISuppliersClient {
1543
- listSupplierInvites(): Promise<SupplierInviteDto[]>;
1544
- createSupplierInvite(request: CreateSupplierInvite): Promise<SupplierInviteDto>;
1545
- deleteSupplierInvite(id: string): Promise<void>;
1546
- listSuppliers(): Promise<ExternalSupplierDto[]>;
1547
- deleteSupplier(id: string): Promise<void>;
1548
- importSupplier(importSupplier: ImportSupplier): Promise<ExternalSupplierDto>;
1549
- /**
1550
- * Creates a mapping between old supplier id and new supplier id.
1551
- */
1552
- createSupplierMapping(request: CreateSupplierMapping): Promise<void>;
1553
- /**
1554
- * Delete all supplier mappings between old supplier ids and new supplier ids.
1555
- */
1556
- deleteSupplierMappings(): Promise<void>;
1557
- }
1558
- export declare class SuppliersClient extends AuthorizedApiBase implements ISuppliersClient {
1559
- private http;
1560
- private baseUrl;
1561
- constructor(configuration: IAccessTokenProvider, baseUrl?: string, http?: {
1562
- fetch(url: RequestInfo, init?: RequestInit): Promise<Response>;
1563
- });
1564
- listSupplierInvites(): Promise<SupplierInviteDto[]>;
1565
- protected processListSupplierInvites(response: Response): Promise<SupplierInviteDto[]>;
1566
- createSupplierInvite(request: CreateSupplierInvite): Promise<SupplierInviteDto>;
1567
- protected processCreateSupplierInvite(response: Response): Promise<SupplierInviteDto>;
1568
- deleteSupplierInvite(id: string): Promise<void>;
1569
- protected processDeleteSupplierInvite(response: Response): Promise<void>;
1570
- listSuppliers(): Promise<ExternalSupplierDto[]>;
1571
- protected processListSuppliers(response: Response): Promise<ExternalSupplierDto[]>;
1572
- deleteSupplier(id: string): Promise<void>;
1573
- protected processDeleteSupplier(response: Response): Promise<void>;
1574
- importSupplier(importSupplier: ImportSupplier): Promise<ExternalSupplierDto>;
1575
- protected processImportSupplier(response: Response): Promise<ExternalSupplierDto>;
1576
- /**
1577
- * Creates a mapping between old supplier id and new supplier id.
1578
- */
1579
- createSupplierMapping(request: CreateSupplierMapping): Promise<void>;
1580
- protected processCreateSupplierMapping(response: Response): Promise<void>;
1581
- /**
1582
- * Delete all supplier mappings between old supplier ids and new supplier ids.
1583
- */
1584
- deleteSupplierMappings(): Promise<void>;
1585
- protected processDeleteSupplierMappings(response: Response): Promise<void>;
1586
- }
1587
1497
  export interface ICncFileTransferClient {
1588
1498
  startCncMachineOperationTransferToCloud(id: string): Promise<CncMachineTransferDto>;
1589
1499
  startCncMachineOperationTransferToMachine(id: string, request: TransferToMachineRequest | undefined): Promise<CncMachineTransferDto>;
@@ -2955,22 +2865,22 @@ export declare class MeasurementFormsInstancesAdminClient extends AuthorizedApiB
2955
2865
  protected processExportDimensionReportValues(response: Response): Promise<DownloadDto>;
2956
2866
  }
2957
2867
  export interface IMeasurementFormsInstancesClient {
2958
- listMeasurementForms(pageSize: number | undefined, search: string | null | undefined, continuationToken: string | null | undefined, tenantId: string | null | undefined, inactive: boolean | null | undefined, includeInactiveSupplierAccess: boolean | null | undefined): Promise<PagedResultOfMeasurementFormInstanceOverviewDto>;
2868
+ listMeasurementForms(pageSize: number | undefined, search: string | null | undefined, continuationToken: string | null | undefined, inactive: boolean | null | undefined, includeInactiveSupplierAccess: boolean | null | undefined): Promise<PagedResultOfMeasurementFormInstanceOverviewDto>;
2959
2869
  postListMeasurementForms(request: ListMeasurementFormsRequest | undefined): Promise<PagedResultOfMeasurementFormInstanceOverviewDto>;
2960
- getMeasurementFormInstance(id: string, tenantId: string | null | undefined): Promise<MeasurementFormInstanceDto>;
2870
+ getMeasurementFormInstance(id: string): Promise<MeasurementFormInstanceDto>;
2961
2871
  listMeasurementFormInstanceFeedback(id: string): Promise<MeasurementFormInstanceFeedbackDto[]>;
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[]>;
2872
+ completeMeasurementFormInstance(id: string): Promise<MeasurementFormInstanceDto>;
2873
+ completeMeasurementFormInstanceV2(id: string): Promise<CompleteMeasurementFormInstanceResult>;
2874
+ getMeasurementFormInstanceSchema(id: string, schemaId: string, serialNumber: string | null | undefined): Promise<MeasurementFormInstanceSchemaDto>;
2875
+ getWorkorderMeasurementFormProgress(id: string): Promise<MeasurementFormInstanceProgressDto>;
2876
+ getAuditLog(id: string, schemaId: string | null | undefined, serialNumber: string | null | undefined, elementId: string | null | undefined): Promise<MeasurementFormElementValueAuditDto[]>;
2967
2877
  getValidationRules(): Promise<ValidationRuleDto[]>;
2968
- saveValue(id: string, 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>;
2878
+ saveValue(id: string, request: SaveValueRequest): Promise<SaveValueResponseDto>;
2879
+ saveTool(id: string, request: SaveToolRequest): Promise<SaveValueResponseDto>;
2880
+ saveComment(id: string, request: SaveCommentRequest): Promise<void>;
2881
+ batchInsertValues(id: string, request: BatchInsertValueRequest): Promise<BatchInsertValuesResponseDto>;
2882
+ saveMeasurementFormInstanceSchemaComment(id: string, schemaId: string, request: SaveMeasurementFormInstanceSchemaCommentRequest): Promise<void>;
2883
+ createMeasurementFormInstanceSchemaFeedback(id: string, schemaId: string, request: CreateMeasurementFormSchemaFeedbackRequest): Promise<SchemaFeedbackCreatedDto>;
2974
2884
  listSupplierMeasurementFormInstances(supplierId: string): Promise<MeasurementFormSupplierAccessInstanceDto[]>;
2975
2885
  upsertSupplierToMeasurmentFormInstance(id: string, supplierId: string, request: UpsertSupplierToMeasurementFormInstanceRequest): Promise<void>;
2976
2886
  removeSupplierFromMeasurmentFormInstance(id: string, supplierId: string): Promise<void>;
@@ -2986,37 +2896,37 @@ export declare class MeasurementFormsInstancesClient extends AuthorizedApiBase i
2986
2896
  constructor(configuration: IAccessTokenProvider, baseUrl?: string, http?: {
2987
2897
  fetch(url: RequestInfo, init?: RequestInit): Promise<Response>;
2988
2898
  });
2989
- listMeasurementForms(pageSize: number | undefined, search: string | null | undefined, continuationToken: string | null | undefined, tenantId: string | null | undefined, inactive: boolean | null | undefined, includeInactiveSupplierAccess: boolean | null | undefined): Promise<PagedResultOfMeasurementFormInstanceOverviewDto>;
2899
+ listMeasurementForms(pageSize: number | undefined, search: string | null | undefined, continuationToken: string | null | undefined, inactive: boolean | null | undefined, includeInactiveSupplierAccess: boolean | null | undefined): Promise<PagedResultOfMeasurementFormInstanceOverviewDto>;
2990
2900
  protected processListMeasurementForms(response: Response): Promise<PagedResultOfMeasurementFormInstanceOverviewDto>;
2991
2901
  postListMeasurementForms(request: ListMeasurementFormsRequest | undefined): Promise<PagedResultOfMeasurementFormInstanceOverviewDto>;
2992
2902
  protected processPostListMeasurementForms(response: Response): Promise<PagedResultOfMeasurementFormInstanceOverviewDto>;
2993
- getMeasurementFormInstance(id: string, tenantId: string | null | undefined): Promise<MeasurementFormInstanceDto>;
2903
+ getMeasurementFormInstance(id: string): Promise<MeasurementFormInstanceDto>;
2994
2904
  protected processGetMeasurementFormInstance(response: Response): Promise<MeasurementFormInstanceDto>;
2995
2905
  listMeasurementFormInstanceFeedback(id: string): Promise<MeasurementFormInstanceFeedbackDto[]>;
2996
2906
  protected processListMeasurementFormInstanceFeedback(response: Response): Promise<MeasurementFormInstanceFeedbackDto[]>;
2997
- completeMeasurementFormInstance(id: string, tenantId: string | null | undefined): Promise<MeasurementFormInstanceDto>;
2907
+ completeMeasurementFormInstance(id: string): Promise<MeasurementFormInstanceDto>;
2998
2908
  protected processCompleteMeasurementFormInstance(response: Response): Promise<MeasurementFormInstanceDto>;
2999
- completeMeasurementFormInstanceV2(id: string, tenantId: string | null | undefined): Promise<CompleteMeasurementFormInstanceResult>;
2909
+ completeMeasurementFormInstanceV2(id: string): Promise<CompleteMeasurementFormInstanceResult>;
3000
2910
  protected processCompleteMeasurementFormInstanceV2(response: Response): Promise<CompleteMeasurementFormInstanceResult>;
3001
- getMeasurementFormInstanceSchema(id: string, schemaId: string, serialNumber: string | null | undefined, tenantId: string | null | undefined): Promise<MeasurementFormInstanceSchemaDto>;
2911
+ getMeasurementFormInstanceSchema(id: string, schemaId: string, serialNumber: string | null | undefined): Promise<MeasurementFormInstanceSchemaDto>;
3002
2912
  protected processGetMeasurementFormInstanceSchema(response: Response): Promise<MeasurementFormInstanceSchemaDto>;
3003
- getWorkorderMeasurementFormProgress(id: string, tenantId: string | null | undefined): Promise<MeasurementFormInstanceProgressDto>;
2913
+ getWorkorderMeasurementFormProgress(id: string): Promise<MeasurementFormInstanceProgressDto>;
3004
2914
  protected processGetWorkorderMeasurementFormProgress(response: Response): Promise<MeasurementFormInstanceProgressDto>;
3005
- getAuditLog(id: string, tenantId: string | null | undefined, schemaId: string | null | undefined, serialNumber: string | null | undefined, elementId: string | null | undefined): Promise<MeasurementFormElementValueAuditDto[]>;
2915
+ getAuditLog(id: string, schemaId: string | null | undefined, serialNumber: string | null | undefined, elementId: string | null | undefined): Promise<MeasurementFormElementValueAuditDto[]>;
3006
2916
  protected processGetAuditLog(response: Response): Promise<MeasurementFormElementValueAuditDto[]>;
3007
2917
  getValidationRules(): Promise<ValidationRuleDto[]>;
3008
2918
  protected processGetValidationRules(response: Response): Promise<ValidationRuleDto[]>;
3009
- saveValue(id: string, tenantId: string | null | undefined, request: SaveValueRequest): Promise<SaveValueResponseDto>;
2919
+ saveValue(id: string, request: SaveValueRequest): Promise<SaveValueResponseDto>;
3010
2920
  protected processSaveValue(response: Response): Promise<SaveValueResponseDto>;
3011
- saveTool(id: string, tenantId: string | null | undefined, request: SaveToolRequest): Promise<SaveValueResponseDto>;
2921
+ saveTool(id: string, request: SaveToolRequest): Promise<SaveValueResponseDto>;
3012
2922
  protected processSaveTool(response: Response): Promise<SaveValueResponseDto>;
3013
- saveComment(id: string, tenantId: string | null | undefined, request: SaveCommentRequest): Promise<void>;
2923
+ saveComment(id: string, request: SaveCommentRequest): Promise<void>;
3014
2924
  protected processSaveComment(response: Response): Promise<void>;
3015
- batchInsertValues(id: string, tenantId: string | null | undefined, request: BatchInsertValueRequest): Promise<BatchInsertValuesResponseDto>;
2925
+ batchInsertValues(id: string, request: BatchInsertValueRequest): Promise<BatchInsertValuesResponseDto>;
3016
2926
  protected processBatchInsertValues(response: Response): Promise<BatchInsertValuesResponseDto>;
3017
- saveMeasurementFormInstanceSchemaComment(id: string, schemaId: string, tenantId: string | null | undefined, request: SaveMeasurementFormInstanceSchemaCommentRequest): Promise<void>;
2927
+ saveMeasurementFormInstanceSchemaComment(id: string, schemaId: string, request: SaveMeasurementFormInstanceSchemaCommentRequest): Promise<void>;
3018
2928
  protected processSaveMeasurementFormInstanceSchemaComment(response: Response): Promise<void>;
3019
- createMeasurementFormInstanceSchemaFeedback(id: string, schemaId: string, tenantId: string | null | undefined, request: CreateMeasurementFormSchemaFeedbackRequest): Promise<SchemaFeedbackCreatedDto>;
2929
+ createMeasurementFormInstanceSchemaFeedback(id: string, schemaId: string, request: CreateMeasurementFormSchemaFeedbackRequest): Promise<SchemaFeedbackCreatedDto>;
3020
2930
  protected processCreateMeasurementFormInstanceSchemaFeedback(response: Response): Promise<SchemaFeedbackCreatedDto>;
3021
2931
  listSupplierMeasurementFormInstances(supplierId: string): Promise<MeasurementFormSupplierAccessInstanceDto[]>;
3022
2932
  protected processListSupplierMeasurementFormInstances(response: Response): Promise<MeasurementFormSupplierAccessInstanceDto[]>;
@@ -3041,7 +2951,7 @@ export interface IMeasurementFormsInstancesInstanceAdminClient {
3041
2951
  createMeasurementFormInstance2(id: string, request: CreateMeasurementFormInstanceRequest): Promise<MeasurementFormInstanceDto>;
3042
2952
  reactivateMeasurementFormInstance(id: string): Promise<MeasurementFormInstanceDto>;
3043
2953
  cancelMeasurementFormInstance(id: string): Promise<MeasurementFormInstanceDto>;
3044
- toggleSchemaInstanceElementDocumentedExternallyOverride(id: string, schemaId: string, elementId: string, tenantId: string | null | undefined): Promise<void>;
2954
+ toggleSchemaInstanceElementDocumentedExternallyOverride(id: string, schemaId: string, elementId: string): Promise<void>;
3045
2955
  }
3046
2956
  export declare class MeasurementFormsInstancesInstanceAdminClient extends AuthorizedApiBase implements IMeasurementFormsInstancesInstanceAdminClient {
3047
2957
  private http;
@@ -3065,7 +2975,7 @@ export declare class MeasurementFormsInstancesInstanceAdminClient extends Author
3065
2975
  protected processReactivateMeasurementFormInstance(response: Response): Promise<MeasurementFormInstanceDto>;
3066
2976
  cancelMeasurementFormInstance(id: string): Promise<MeasurementFormInstanceDto>;
3067
2977
  protected processCancelMeasurementFormInstance(response: Response): Promise<MeasurementFormInstanceDto>;
3068
- toggleSchemaInstanceElementDocumentedExternallyOverride(id: string, schemaId: string, elementId: string, tenantId: string | null | undefined): Promise<void>;
2978
+ toggleSchemaInstanceElementDocumentedExternallyOverride(id: string, schemaId: string, elementId: string): Promise<void>;
3069
2979
  protected processToggleSchemaInstanceElementDocumentedExternallyOverride(response: Response): Promise<void>;
3070
2980
  }
3071
2981
  export interface ICompaniesClient {
@@ -3405,6 +3315,105 @@ export declare class WorkordersClient extends AuthorizedApiBase implements IWork
3405
3315
  generateContentPartsForDiscussions(): Promise<WorkorderDiscussionMessageDto[]>;
3406
3316
  protected processGenerateContentPartsForDiscussions(response: Response): Promise<WorkorderDiscussionMessageDto[]>;
3407
3317
  }
3318
+ export interface IExternalAccessClient {
3319
+ listUsers(companyId: string | null | undefined): Promise<CompanyUserDto[]>;
3320
+ createCompanyUser(request: CreateCompanyUser): Promise<CompanyUserDto>;
3321
+ updateCompanyUser(id: string, request: UpdateCompanyUserRequest): Promise<CompanyUserDto>;
3322
+ deleteCompanyUser(id: string, companyId: string | null | undefined): Promise<void>;
3323
+ listRoles(): Promise<ExternalRoleDto[]>;
3324
+ listCompanyCustomers(): Promise<CompanyCustomerDto[]>;
3325
+ deleteCompanyCustomer(tenantId: string): Promise<void>;
3326
+ }
3327
+ export declare class ExternalAccessClient extends AuthorizedApiBase implements IExternalAccessClient {
3328
+ private http;
3329
+ private baseUrl;
3330
+ constructor(configuration: IAccessTokenProvider, baseUrl?: string, http?: {
3331
+ fetch(url: RequestInfo, init?: RequestInit): Promise<Response>;
3332
+ });
3333
+ listUsers(companyId: string | null | undefined): Promise<CompanyUserDto[]>;
3334
+ protected processListUsers(response: Response): Promise<CompanyUserDto[]>;
3335
+ createCompanyUser(request: CreateCompanyUser): Promise<CompanyUserDto>;
3336
+ protected processCreateCompanyUser(response: Response): Promise<CompanyUserDto>;
3337
+ updateCompanyUser(id: string, request: UpdateCompanyUserRequest): Promise<CompanyUserDto>;
3338
+ protected processUpdateCompanyUser(response: Response): Promise<CompanyUserDto>;
3339
+ deleteCompanyUser(id: string, companyId: string | null | undefined): Promise<void>;
3340
+ protected processDeleteCompanyUser(response: Response): Promise<void>;
3341
+ listRoles(): Promise<ExternalRoleDto[]>;
3342
+ protected processListRoles(response: Response): Promise<ExternalRoleDto[]>;
3343
+ listCompanyCustomers(): Promise<CompanyCustomerDto[]>;
3344
+ protected processListCompanyCustomers(response: Response): Promise<CompanyCustomerDto[]>;
3345
+ deleteCompanyCustomer(tenantId: string): Promise<void>;
3346
+ protected processDeleteCompanyCustomer(response: Response): Promise<void>;
3347
+ }
3348
+ export interface IExternalClient {
3349
+ listCompanies(): Promise<CompanyDto[]>;
3350
+ getCompany(id: string): Promise<CompanyDto>;
3351
+ getCurrentSupplierInvite(): Promise<SupplierInviteDto>;
3352
+ acceptSupplierInviteNewCompany(request: AcceptSupplierInviteNewCompany): Promise<SupplierInviteDto>;
3353
+ acceptSupplierInviteExistingCompany(request: AcceptSupplierInviteExistingCompany): Promise<SupplierInviteDto>;
3354
+ acceptSupplierInviteCustomer(request: AcceptSupplierInviteCustomer): Promise<SupplierInviteDto>;
3355
+ }
3356
+ export declare class ExternalClient extends AuthorizedApiBase implements IExternalClient {
3357
+ private http;
3358
+ private baseUrl;
3359
+ constructor(configuration: IAccessTokenProvider, baseUrl?: string, http?: {
3360
+ fetch(url: RequestInfo, init?: RequestInit): Promise<Response>;
3361
+ });
3362
+ listCompanies(): Promise<CompanyDto[]>;
3363
+ protected processListCompanies(response: Response): Promise<CompanyDto[]>;
3364
+ getCompany(id: string): Promise<CompanyDto>;
3365
+ protected processGetCompany(response: Response): Promise<CompanyDto>;
3366
+ getCurrentSupplierInvite(): Promise<SupplierInviteDto>;
3367
+ protected processGetCurrentSupplierInvite(response: Response): Promise<SupplierInviteDto>;
3368
+ acceptSupplierInviteNewCompany(request: AcceptSupplierInviteNewCompany): Promise<SupplierInviteDto>;
3369
+ protected processAcceptSupplierInviteNewCompany(response: Response): Promise<SupplierInviteDto>;
3370
+ acceptSupplierInviteExistingCompany(request: AcceptSupplierInviteExistingCompany): Promise<SupplierInviteDto>;
3371
+ protected processAcceptSupplierInviteExistingCompany(response: Response): Promise<SupplierInviteDto>;
3372
+ acceptSupplierInviteCustomer(request: AcceptSupplierInviteCustomer): Promise<SupplierInviteDto>;
3373
+ protected processAcceptSupplierInviteCustomer(response: Response): Promise<SupplierInviteDto>;
3374
+ }
3375
+ export interface ISuppliersClient {
3376
+ listSupplierInvites(): Promise<SupplierInviteDto[]>;
3377
+ createSupplierInvite(request: CreateSupplierInvite): Promise<SupplierInviteDto>;
3378
+ deleteSupplierInvite(id: string): Promise<void>;
3379
+ listSuppliers(): Promise<ExternalSupplierDto[]>;
3380
+ deleteSupplier(id: string): Promise<void>;
3381
+ /**
3382
+ * Creates a mapping between old supplier id and new supplier id.
3383
+ */
3384
+ createSupplierMapping(request: CreateSupplierMapping): Promise<void>;
3385
+ /**
3386
+ * Delete all supplier mappings between old supplier ids and new supplier ids.
3387
+ */
3388
+ deleteSupplierMappings(): Promise<void>;
3389
+ }
3390
+ export declare class SuppliersClient extends AuthorizedApiBase implements ISuppliersClient {
3391
+ private http;
3392
+ private baseUrl;
3393
+ constructor(configuration: IAccessTokenProvider, baseUrl?: string, http?: {
3394
+ fetch(url: RequestInfo, init?: RequestInit): Promise<Response>;
3395
+ });
3396
+ listSupplierInvites(): Promise<SupplierInviteDto[]>;
3397
+ protected processListSupplierInvites(response: Response): Promise<SupplierInviteDto[]>;
3398
+ createSupplierInvite(request: CreateSupplierInvite): Promise<SupplierInviteDto>;
3399
+ protected processCreateSupplierInvite(response: Response): Promise<SupplierInviteDto>;
3400
+ deleteSupplierInvite(id: string): Promise<void>;
3401
+ protected processDeleteSupplierInvite(response: Response): Promise<void>;
3402
+ listSuppliers(): Promise<ExternalSupplierDto[]>;
3403
+ protected processListSuppliers(response: Response): Promise<ExternalSupplierDto[]>;
3404
+ deleteSupplier(id: string): Promise<void>;
3405
+ protected processDeleteSupplier(response: Response): Promise<void>;
3406
+ /**
3407
+ * Creates a mapping between old supplier id and new supplier id.
3408
+ */
3409
+ createSupplierMapping(request: CreateSupplierMapping): Promise<void>;
3410
+ protected processCreateSupplierMapping(response: Response): Promise<void>;
3411
+ /**
3412
+ * Delete all supplier mappings between old supplier ids and new supplier ids.
3413
+ */
3414
+ deleteSupplierMappings(): Promise<void>;
3415
+ protected processDeleteSupplierMappings(response: Response): Promise<void>;
3416
+ }
3408
3417
  export interface AzureRegionDto {
3409
3418
  displayName: string;
3410
3419
  name: string;
@@ -3708,6 +3717,9 @@ export interface UserDetailsDto {
3708
3717
  isExternalUser?: boolean;
3709
3718
  isBetaTester?: boolean | null;
3710
3719
  hasAccessToIgnos?: boolean;
3720
+ isInvitedUser?: boolean;
3721
+ isSupplier?: boolean;
3722
+ companyId?: string | null;
3711
3723
  }
3712
3724
  export interface UserDto {
3713
3725
  id?: string | null;
@@ -5583,97 +5595,6 @@ export interface DocumentGeneratorTypeDto {
5583
5595
  key: string;
5584
5596
  description: string;
5585
5597
  }
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
- }
5677
5598
  export interface CncMachineTransferDto {
5678
5599
  id: string;
5679
5600
  cncMachineOperationId?: string | null;
@@ -7654,19 +7575,15 @@ export interface ImaMaterialCheckLiteDto {
7654
7575
  specificationName: string;
7655
7576
  purchaseOrder?: string | null;
7656
7577
  purchaseOrderLine?: number | null;
7657
- purchaseOrderVendorBatches?: string[] | null;
7658
- purchaseOrderPartName?: string | null;
7659
- purchaseOrderPartNumber?: string | null;
7660
- purchaseOrderDrawing?: string | null;
7661
- heatNumber?: string | null;
7578
+ purchaseOrderItem?: string | null;
7579
+ purchaseOrderOrMaterialCertificateHeatNumber?: string | null;
7580
+ purchaseOrderLot?: string | null;
7662
7581
  status: ImaMaterialCheckStatus;
7663
7582
  created: Date;
7664
7583
  createdBy: string;
7665
7584
  createdById: string;
7666
- createdByName: string;
7667
- updatedBy: string;
7668
- updatedById: string;
7669
- updatedByName: string;
7585
+ updatedBy?: string | null;
7586
+ updatedById?: string | null;
7670
7587
  isDeleted?: boolean;
7671
7588
  }
7672
7589
  export type ImaMaterialCheckStatus = "Processing" | "Draft" | "Approved" | "Rejected" | "NotSet";
@@ -7687,7 +7604,7 @@ export interface ImaMaterialChecksPageRequestDto {
7687
7604
  lotFilter?: string | null;
7688
7605
  dateFromFilter?: Date | null;
7689
7606
  dateToFilter?: Date | null;
7690
- statusFilter?: ImaMaterialCheckStatus[] | null;
7607
+ statusFilter: ImaMaterialCheckStatus[];
7691
7608
  continuationToken?: string | null;
7692
7609
  }
7693
7610
  export type ImaMaterialChecksOrderByColumn = "OriginalReport" | "GeneratedReport" | "Customer" | "Project" | "PurchaseOrder" | "WorkOrder" | "CertificateType" | "Line" | "Item" | "Heat" | "Lot" | "Date" | "Status" | "NotSet";
@@ -7706,19 +7623,15 @@ export interface ImaMaterialCheckDto {
7706
7623
  specificationName: string;
7707
7624
  purchaseOrder?: string | null;
7708
7625
  purchaseOrderLine?: number | null;
7709
- purchaseOrderVendorBatches?: string[] | null;
7710
- purchaseOrderPartName?: string | null;
7711
- purchaseOrderPartNumber?: string | null;
7712
- purchaseOrderDrawing?: string | null;
7713
- heatNumber?: string | null;
7626
+ purchaseOrderItem?: string | null;
7627
+ purchaseOrderOrMaterialCertificateHeatNumber?: string | null;
7628
+ purchaseOrderLot?: string | null;
7714
7629
  status: ImaMaterialCheckStatus;
7715
7630
  created: Date;
7716
7631
  createdBy: string;
7717
7632
  createdById: string;
7718
- createdByName: string;
7719
- updatedBy: string;
7720
- updatedById: string;
7721
- updatedByName: string;
7633
+ updatedBy?: string | null;
7634
+ updatedById?: string | null;
7722
7635
  isDeleted?: boolean;
7723
7636
  certificateTypeResults: ImaCertificateTypeResultsDto;
7724
7637
  specificationChemistry: ImaSpecificationChemistryResultsDto;
@@ -7822,12 +7735,15 @@ export interface ImaSpecificationChemistryResultsDto {
7822
7735
  iron?: ImaSpecificationResultLineDto | null;
7823
7736
  }
7824
7737
  export interface ImaSpecificationResultLineDto {
7825
- specificationMin?: number | null;
7826
- specificationMax?: number | null;
7738
+ specificationOperator?: string | null;
7739
+ specificationValue1?: number | null;
7740
+ specificationValue2?: number | null;
7741
+ specificationUnit?: ImaSpecificationUnit | null;
7827
7742
  readValue?: string | null;
7828
7743
  status: ImaSpecificationResultLineStatus;
7829
7744
  override?: ImaResultLineOverrideDto | null;
7830
7745
  }
7746
+ export type ImaSpecificationUnit = "Percentage" | "Joule" | "Celsius" | "Fahrenheit" | "Mpa" | "Hbw" | "Minutes" | "NotSet";
7831
7747
  export type ImaSpecificationResultLineStatus = "NotFound" | "NotOk" | "Ok" | "NotSet";
7832
7748
  export interface ImaSpecificationMechanicalResultsDto {
7833
7749
  yieldStrength?: ImaSpecificationResultLineDto | null;
@@ -8007,10 +7923,8 @@ export interface ImaCertificateTypeDto extends ImaCdfEntityReadBase {
8007
7923
  created: Date;
8008
7924
  createdBy: string;
8009
7925
  createdById: string;
8010
- createdByName: string;
8011
- updatedBy: string;
8012
- updatedById: string;
8013
- updatedByName: string;
7926
+ updatedBy?: string | null;
7927
+ updatedById?: string | null;
8014
7928
  updated: Date;
8015
7929
  isDeleted: boolean;
8016
7930
  requirements: ImaCertificateTypeRequirementsDto;
@@ -8181,10 +8095,8 @@ export interface ImaCertificateTypeLiteDto extends ImaCdfEntityReadBase {
8181
8095
  created: Date;
8182
8096
  createdBy: string;
8183
8097
  createdById: string;
8184
- createdByName: string;
8185
- updatedBy: string;
8186
- updatedById: string;
8187
- updatedByName: string;
8098
+ updatedBy?: string | null;
8099
+ updatedById?: string | null;
8188
8100
  updated: Date;
8189
8101
  isDeleted: boolean;
8190
8102
  }
@@ -8241,10 +8153,8 @@ export interface ImaSpecificationDto extends ImaCdfEntityReadBase {
8241
8153
  created: Date;
8242
8154
  createdBy: string;
8243
8155
  createdById: string;
8244
- createdByName: string;
8245
8156
  updatedBy: string;
8246
8157
  updatedById: string;
8247
- updatedByName: string;
8248
8158
  updated: Date;
8249
8159
  isDeleted: boolean;
8250
8160
  chemistrySpecification: ImaChemistrySpecificationDto;
@@ -8272,9 +8182,12 @@ export interface ImaChemistrySpecificationDto extends ImaCdfEntityReadBase {
8272
8182
  iron?: ImaSpecificationLineDto | null;
8273
8183
  }
8274
8184
  export interface ImaSpecificationLineDto extends ImaCdfEntityReadBase {
8275
- min?: number | null;
8276
- max?: number | null;
8185
+ operator: ImaSpecificationOperator;
8186
+ value1: number;
8187
+ value2?: number | null;
8188
+ unit: ImaSpecificationUnit;
8277
8189
  }
8190
+ export type ImaSpecificationOperator = "Min" | "Max" | "Between" | "NotSet";
8278
8191
  export interface ImaMechanicalSpecificationDto extends ImaCdfEntityReadBase {
8279
8192
  yieldStrength?: ImaSpecificationLineDto | null;
8280
8193
  tensileStrength?: ImaSpecificationLineDto | null;
@@ -8304,15 +8217,15 @@ export interface ImaHeatTreatmentSpecificationHeatingDto extends ImaCdfEntityRea
8304
8217
  }
8305
8218
  export type ImaHeatTreatmentHeatingMethod = "Annealing" | "Normalizing" | "Quenching" | "Tempering" | "StressRelieving" | "SolutionTreating" | "Aging" | "Austempering" | "Martempering" | "NotSet";
8306
8219
  export interface ImaCreateSpecificationRequestDto {
8307
- name: string;
8308
- number: string;
8220
+ specificationName: string;
8221
+ specificationNumber: string;
8309
8222
  revision: string;
8310
8223
  date: Date;
8311
8224
  specificationFile?: UploadFileDto | null;
8312
8225
  }
8313
8226
  export interface ImaCopySpecificationRequestDto {
8314
- name: string;
8315
- number: string;
8227
+ specificationName: string;
8228
+ specificationNumber: string;
8316
8229
  revision: string;
8317
8230
  date: Date;
8318
8231
  }
@@ -8341,10 +8254,8 @@ export interface ImaSpecificationLiteDto extends ImaCdfEntityReadBase {
8341
8254
  created: Date;
8342
8255
  createdBy: string;
8343
8256
  createdById: string;
8344
- createdByName: string;
8345
8257
  updatedBy: string;
8346
8258
  updatedById: string;
8347
- updatedByName: string;
8348
8259
  isDeleted: boolean;
8349
8260
  }
8350
8261
  export interface MeasurementFormSchemaDto {
@@ -8895,7 +8806,6 @@ export interface ListMeasurementFormsRequest {
8895
8806
  pageSize?: number | null;
8896
8807
  search?: string | null;
8897
8808
  continuationToken?: string | null;
8898
- tenantId?: string | null;
8899
8809
  inactive?: boolean | null;
8900
8810
  includeInactiveSupplierAccess?: boolean | null;
8901
8811
  }
@@ -9091,7 +9001,6 @@ export interface UpsertSupplierToMeasurementFormInstanceRequest {
9091
9001
  externalOrderNumber?: string | null;
9092
9002
  }
9093
9003
  export interface ExportDimensionReportV2Request {
9094
- tenantId?: string | null;
9095
9004
  type: DimensionReportType;
9096
9005
  extras?: DimensionReportExtras | null;
9097
9006
  specificSerialNumbers?: string[] | null;
@@ -9432,6 +9341,84 @@ export interface SetDiscussionLastReadRequest {
9432
9341
  operationId?: string | null;
9433
9342
  resourceId?: string | null;
9434
9343
  }
9344
+ export interface CompanyUserDto {
9345
+ companyId: string;
9346
+ userObjectId: string;
9347
+ username?: string | null;
9348
+ name?: string | null;
9349
+ roles: string[];
9350
+ }
9351
+ export interface CreateCompanyUser {
9352
+ username: string;
9353
+ name: string;
9354
+ roles: string[];
9355
+ companyId?: string | null;
9356
+ }
9357
+ export interface UpdateCompanyUserRequest {
9358
+ roles: string[];
9359
+ companyId?: string | null;
9360
+ }
9361
+ export interface ExternalRoleDto {
9362
+ id: string;
9363
+ name: string;
9364
+ }
9365
+ export interface CompanyCustomerDto {
9366
+ customerTenantId?: string | null;
9367
+ customerAzureAdTenantId?: string | null;
9368
+ customerName?: string | null;
9369
+ supplierId?: string | null;
9370
+ supplierName?: string | null;
9371
+ customerIgnosPortalPrefix?: string | null;
9372
+ }
9373
+ export interface CompanyDto {
9374
+ id?: string;
9375
+ name?: string;
9376
+ organizationNumber?: string | null;
9377
+ country?: string;
9378
+ tenantId?: string | null;
9379
+ }
9380
+ export interface SupplierInviteDto {
9381
+ id: string;
9382
+ supplierId: string;
9383
+ supplierName?: string | null;
9384
+ customerName?: string | null;
9385
+ userId: string;
9386
+ userName?: string | null;
9387
+ deadline: Date;
9388
+ acceptedTimestamp?: Date | null;
9389
+ createdTime: Date;
9390
+ createdBy: string;
9391
+ }
9392
+ export interface AcceptSupplierInviteNewCompany {
9393
+ companyName?: string;
9394
+ organizationNumber?: string;
9395
+ threeLetterIsoCountry?: string;
9396
+ }
9397
+ export interface AcceptSupplierInviteExistingCompany {
9398
+ companyId?: string;
9399
+ }
9400
+ export interface AcceptSupplierInviteCustomer {
9401
+ tenantId?: string;
9402
+ organizationNumber?: string;
9403
+ }
9404
+ export interface CreateSupplierInvite {
9405
+ supplierId: string;
9406
+ supplierName?: string | null;
9407
+ username: string;
9408
+ invitedName: string;
9409
+ deadline: Date;
9410
+ }
9411
+ export interface ExternalSupplierDto {
9412
+ id: string;
9413
+ name: string;
9414
+ companyId: string;
9415
+ active: boolean;
9416
+ }
9417
+ export interface CreateSupplierMapping {
9418
+ companyId: string;
9419
+ existingSupplierId: string;
9420
+ newSupplierId: string;
9421
+ }
9435
9422
  export type FeatureCollectionType = "FeatureCollection";
9436
9423
  export interface Features {
9437
9424
  type: FeaturesType;