@ignos/api-client 20260417.111.1 → 20260417.113.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,108 @@ 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
+ listTenantsWithSuppliers(): Promise<TenantWithSupplierDto[]>;
3356
+ }
3357
+ export declare class ExternalClient extends AuthorizedApiBase implements IExternalClient {
3358
+ private http;
3359
+ private baseUrl;
3360
+ constructor(configuration: IAccessTokenProvider, baseUrl?: string, http?: {
3361
+ fetch(url: RequestInfo, init?: RequestInit): Promise<Response>;
3362
+ });
3363
+ listCompanies(): Promise<CompanyDto[]>;
3364
+ protected processListCompanies(response: Response): Promise<CompanyDto[]>;
3365
+ getCompany(id: string): Promise<CompanyDto>;
3366
+ protected processGetCompany(response: Response): Promise<CompanyDto>;
3367
+ getCurrentSupplierInvite(): Promise<SupplierInviteDto>;
3368
+ protected processGetCurrentSupplierInvite(response: Response): Promise<SupplierInviteDto>;
3369
+ acceptSupplierInviteNewCompany(request: AcceptSupplierInviteNewCompany): Promise<SupplierInviteDto>;
3370
+ protected processAcceptSupplierInviteNewCompany(response: Response): Promise<SupplierInviteDto>;
3371
+ acceptSupplierInviteExistingCompany(request: AcceptSupplierInviteExistingCompany): Promise<SupplierInviteDto>;
3372
+ protected processAcceptSupplierInviteExistingCompany(response: Response): Promise<SupplierInviteDto>;
3373
+ acceptSupplierInviteCustomer(request: AcceptSupplierInviteCustomer): Promise<SupplierInviteDto>;
3374
+ protected processAcceptSupplierInviteCustomer(response: Response): Promise<SupplierInviteDto>;
3375
+ listTenantsWithSuppliers(): Promise<TenantWithSupplierDto[]>;
3376
+ protected processListTenantsWithSuppliers(response: Response): Promise<TenantWithSupplierDto[]>;
3377
+ }
3378
+ export interface ISuppliersClient {
3379
+ listSupplierInvites(): Promise<SupplierInviteDto[]>;
3380
+ createSupplierInvite(request: CreateSupplierInvite): Promise<SupplierInviteDto>;
3381
+ deleteSupplierInvite(id: string): Promise<void>;
3382
+ listSuppliers(): Promise<ExternalSupplierDto[]>;
3383
+ deleteSupplier(id: string): Promise<void>;
3384
+ /**
3385
+ * Creates a mapping between old supplier id and new supplier id.
3386
+ */
3387
+ createSupplierMapping(request: CreateSupplierMapping): Promise<void>;
3388
+ /**
3389
+ * Delete all supplier mappings between old supplier ids and new supplier ids.
3390
+ */
3391
+ deleteSupplierMappings(): Promise<void>;
3392
+ }
3393
+ export declare class SuppliersClient extends AuthorizedApiBase implements ISuppliersClient {
3394
+ private http;
3395
+ private baseUrl;
3396
+ constructor(configuration: IAccessTokenProvider, baseUrl?: string, http?: {
3397
+ fetch(url: RequestInfo, init?: RequestInit): Promise<Response>;
3398
+ });
3399
+ listSupplierInvites(): Promise<SupplierInviteDto[]>;
3400
+ protected processListSupplierInvites(response: Response): Promise<SupplierInviteDto[]>;
3401
+ createSupplierInvite(request: CreateSupplierInvite): Promise<SupplierInviteDto>;
3402
+ protected processCreateSupplierInvite(response: Response): Promise<SupplierInviteDto>;
3403
+ deleteSupplierInvite(id: string): Promise<void>;
3404
+ protected processDeleteSupplierInvite(response: Response): Promise<void>;
3405
+ listSuppliers(): Promise<ExternalSupplierDto[]>;
3406
+ protected processListSuppliers(response: Response): Promise<ExternalSupplierDto[]>;
3407
+ deleteSupplier(id: string): Promise<void>;
3408
+ protected processDeleteSupplier(response: Response): Promise<void>;
3409
+ /**
3410
+ * Creates a mapping between old supplier id and new supplier id.
3411
+ */
3412
+ createSupplierMapping(request: CreateSupplierMapping): Promise<void>;
3413
+ protected processCreateSupplierMapping(response: Response): Promise<void>;
3414
+ /**
3415
+ * Delete all supplier mappings between old supplier ids and new supplier ids.
3416
+ */
3417
+ deleteSupplierMappings(): Promise<void>;
3418
+ protected processDeleteSupplierMappings(response: Response): Promise<void>;
3419
+ }
3408
3420
  export interface AzureRegionDto {
3409
3421
  displayName: string;
3410
3422
  name: string;
@@ -3708,6 +3720,9 @@ export interface UserDetailsDto {
3708
3720
  isExternalUser?: boolean;
3709
3721
  isBetaTester?: boolean | null;
3710
3722
  hasAccessToIgnos?: boolean;
3723
+ isInvitedUser?: boolean;
3724
+ isSupplier?: boolean;
3725
+ companyId?: string | null;
3711
3726
  }
3712
3727
  export interface UserDto {
3713
3728
  id?: string | null;
@@ -5583,97 +5598,6 @@ export interface DocumentGeneratorTypeDto {
5583
5598
  key: string;
5584
5599
  description: string;
5585
5600
  }
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
5601
  export interface CncMachineTransferDto {
5678
5602
  id: string;
5679
5603
  cncMachineOperationId?: string | null;
@@ -7654,19 +7578,15 @@ export interface ImaMaterialCheckLiteDto {
7654
7578
  specificationName: string;
7655
7579
  purchaseOrder?: string | null;
7656
7580
  purchaseOrderLine?: number | null;
7657
- purchaseOrderVendorBatches?: string[] | null;
7658
- purchaseOrderPartName?: string | null;
7659
- purchaseOrderPartNumber?: string | null;
7660
- purchaseOrderDrawing?: string | null;
7661
- heatNumber?: string | null;
7581
+ purchaseOrderItem?: string | null;
7582
+ purchaseOrderOrMaterialCertificateHeatNumber?: string | null;
7583
+ purchaseOrderLot?: string | null;
7662
7584
  status: ImaMaterialCheckStatus;
7663
7585
  created: Date;
7664
7586
  createdBy: string;
7665
7587
  createdById: string;
7666
- createdByName: string;
7667
- updatedBy: string;
7668
- updatedById: string;
7669
- updatedByName: string;
7588
+ updatedBy?: string | null;
7589
+ updatedById?: string | null;
7670
7590
  isDeleted?: boolean;
7671
7591
  }
7672
7592
  export type ImaMaterialCheckStatus = "Processing" | "Draft" | "Approved" | "Rejected" | "NotSet";
@@ -7687,7 +7607,7 @@ export interface ImaMaterialChecksPageRequestDto {
7687
7607
  lotFilter?: string | null;
7688
7608
  dateFromFilter?: Date | null;
7689
7609
  dateToFilter?: Date | null;
7690
- statusFilter?: ImaMaterialCheckStatus[] | null;
7610
+ statusFilter: ImaMaterialCheckStatus[];
7691
7611
  continuationToken?: string | null;
7692
7612
  }
7693
7613
  export type ImaMaterialChecksOrderByColumn = "OriginalReport" | "GeneratedReport" | "Customer" | "Project" | "PurchaseOrder" | "WorkOrder" | "CertificateType" | "Line" | "Item" | "Heat" | "Lot" | "Date" | "Status" | "NotSet";
@@ -7706,19 +7626,15 @@ export interface ImaMaterialCheckDto {
7706
7626
  specificationName: string;
7707
7627
  purchaseOrder?: string | null;
7708
7628
  purchaseOrderLine?: number | null;
7709
- purchaseOrderVendorBatches?: string[] | null;
7710
- purchaseOrderPartName?: string | null;
7711
- purchaseOrderPartNumber?: string | null;
7712
- purchaseOrderDrawing?: string | null;
7713
- heatNumber?: string | null;
7629
+ purchaseOrderItem?: string | null;
7630
+ purchaseOrderOrMaterialCertificateHeatNumber?: string | null;
7631
+ purchaseOrderLot?: string | null;
7714
7632
  status: ImaMaterialCheckStatus;
7715
7633
  created: Date;
7716
7634
  createdBy: string;
7717
7635
  createdById: string;
7718
- createdByName: string;
7719
- updatedBy: string;
7720
- updatedById: string;
7721
- updatedByName: string;
7636
+ updatedBy?: string | null;
7637
+ updatedById?: string | null;
7722
7638
  isDeleted?: boolean;
7723
7639
  certificateTypeResults: ImaCertificateTypeResultsDto;
7724
7640
  specificationChemistry: ImaSpecificationChemistryResultsDto;
@@ -7822,12 +7738,15 @@ export interface ImaSpecificationChemistryResultsDto {
7822
7738
  iron?: ImaSpecificationResultLineDto | null;
7823
7739
  }
7824
7740
  export interface ImaSpecificationResultLineDto {
7825
- specificationMin?: number | null;
7826
- specificationMax?: number | null;
7741
+ specificationOperator?: string | null;
7742
+ specificationValue1?: number | null;
7743
+ specificationValue2?: number | null;
7744
+ specificationUnit?: ImaSpecificationUnit | null;
7827
7745
  readValue?: string | null;
7828
7746
  status: ImaSpecificationResultLineStatus;
7829
7747
  override?: ImaResultLineOverrideDto | null;
7830
7748
  }
7749
+ export type ImaSpecificationUnit = "Percentage" | "Joule" | "Celsius" | "Fahrenheit" | "Mpa" | "Hbw" | "Minutes" | "NotSet";
7831
7750
  export type ImaSpecificationResultLineStatus = "NotFound" | "NotOk" | "Ok" | "NotSet";
7832
7751
  export interface ImaSpecificationMechanicalResultsDto {
7833
7752
  yieldStrength?: ImaSpecificationResultLineDto | null;
@@ -8007,10 +7926,8 @@ export interface ImaCertificateTypeDto extends ImaCdfEntityReadBase {
8007
7926
  created: Date;
8008
7927
  createdBy: string;
8009
7928
  createdById: string;
8010
- createdByName: string;
8011
- updatedBy: string;
8012
- updatedById: string;
8013
- updatedByName: string;
7929
+ updatedBy?: string | null;
7930
+ updatedById?: string | null;
8014
7931
  updated: Date;
8015
7932
  isDeleted: boolean;
8016
7933
  requirements: ImaCertificateTypeRequirementsDto;
@@ -8181,10 +8098,8 @@ export interface ImaCertificateTypeLiteDto extends ImaCdfEntityReadBase {
8181
8098
  created: Date;
8182
8099
  createdBy: string;
8183
8100
  createdById: string;
8184
- createdByName: string;
8185
- updatedBy: string;
8186
- updatedById: string;
8187
- updatedByName: string;
8101
+ updatedBy?: string | null;
8102
+ updatedById?: string | null;
8188
8103
  updated: Date;
8189
8104
  isDeleted: boolean;
8190
8105
  }
@@ -8241,10 +8156,8 @@ export interface ImaSpecificationDto extends ImaCdfEntityReadBase {
8241
8156
  created: Date;
8242
8157
  createdBy: string;
8243
8158
  createdById: string;
8244
- createdByName: string;
8245
8159
  updatedBy: string;
8246
8160
  updatedById: string;
8247
- updatedByName: string;
8248
8161
  updated: Date;
8249
8162
  isDeleted: boolean;
8250
8163
  chemistrySpecification: ImaChemistrySpecificationDto;
@@ -8272,9 +8185,12 @@ export interface ImaChemistrySpecificationDto extends ImaCdfEntityReadBase {
8272
8185
  iron?: ImaSpecificationLineDto | null;
8273
8186
  }
8274
8187
  export interface ImaSpecificationLineDto extends ImaCdfEntityReadBase {
8275
- min?: number | null;
8276
- max?: number | null;
8188
+ operator: ImaSpecificationOperator;
8189
+ value1: number;
8190
+ value2?: number | null;
8191
+ unit: ImaSpecificationUnit;
8277
8192
  }
8193
+ export type ImaSpecificationOperator = "Min" | "Max" | "Between" | "NotSet";
8278
8194
  export interface ImaMechanicalSpecificationDto extends ImaCdfEntityReadBase {
8279
8195
  yieldStrength?: ImaSpecificationLineDto | null;
8280
8196
  tensileStrength?: ImaSpecificationLineDto | null;
@@ -8304,15 +8220,15 @@ export interface ImaHeatTreatmentSpecificationHeatingDto extends ImaCdfEntityRea
8304
8220
  }
8305
8221
  export type ImaHeatTreatmentHeatingMethod = "Annealing" | "Normalizing" | "Quenching" | "Tempering" | "StressRelieving" | "SolutionTreating" | "Aging" | "Austempering" | "Martempering" | "NotSet";
8306
8222
  export interface ImaCreateSpecificationRequestDto {
8307
- name: string;
8308
- number: string;
8223
+ specificationName: string;
8224
+ specificationNumber: string;
8309
8225
  revision: string;
8310
8226
  date: Date;
8311
8227
  specificationFile?: UploadFileDto | null;
8312
8228
  }
8313
8229
  export interface ImaCopySpecificationRequestDto {
8314
- name: string;
8315
- number: string;
8230
+ specificationName: string;
8231
+ specificationNumber: string;
8316
8232
  revision: string;
8317
8233
  date: Date;
8318
8234
  }
@@ -8341,10 +8257,8 @@ export interface ImaSpecificationLiteDto extends ImaCdfEntityReadBase {
8341
8257
  created: Date;
8342
8258
  createdBy: string;
8343
8259
  createdById: string;
8344
- createdByName: string;
8345
8260
  updatedBy: string;
8346
8261
  updatedById: string;
8347
- updatedByName: string;
8348
8262
  isDeleted: boolean;
8349
8263
  }
8350
8264
  export interface MeasurementFormSchemaDto {
@@ -8895,7 +8809,6 @@ export interface ListMeasurementFormsRequest {
8895
8809
  pageSize?: number | null;
8896
8810
  search?: string | null;
8897
8811
  continuationToken?: string | null;
8898
- tenantId?: string | null;
8899
8812
  inactive?: boolean | null;
8900
8813
  includeInactiveSupplierAccess?: boolean | null;
8901
8814
  }
@@ -9091,7 +9004,6 @@ export interface UpsertSupplierToMeasurementFormInstanceRequest {
9091
9004
  externalOrderNumber?: string | null;
9092
9005
  }
9093
9006
  export interface ExportDimensionReportV2Request {
9094
- tenantId?: string | null;
9095
9007
  type: DimensionReportType;
9096
9008
  extras?: DimensionReportExtras | null;
9097
9009
  specificSerialNumbers?: string[] | null;
@@ -9432,6 +9344,89 @@ export interface SetDiscussionLastReadRequest {
9432
9344
  operationId?: string | null;
9433
9345
  resourceId?: string | null;
9434
9346
  }
9347
+ export interface CompanyUserDto {
9348
+ companyId: string;
9349
+ userObjectId: string;
9350
+ username?: string | null;
9351
+ name?: string | null;
9352
+ roles: string[];
9353
+ }
9354
+ export interface CreateCompanyUser {
9355
+ username: string;
9356
+ name: string;
9357
+ roles: string[];
9358
+ companyId?: string | null;
9359
+ }
9360
+ export interface UpdateCompanyUserRequest {
9361
+ roles: string[];
9362
+ companyId?: string | null;
9363
+ }
9364
+ export interface ExternalRoleDto {
9365
+ id: string;
9366
+ name: string;
9367
+ }
9368
+ export interface CompanyCustomerDto {
9369
+ customerTenantId?: string | null;
9370
+ customerAzureAdTenantId?: string | null;
9371
+ customerName?: string | null;
9372
+ supplierId?: string | null;
9373
+ supplierName?: string | null;
9374
+ customerIgnosPortalPrefix?: string | null;
9375
+ }
9376
+ export interface CompanyDto {
9377
+ id?: string;
9378
+ name?: string;
9379
+ organizationNumber?: string | null;
9380
+ country?: string;
9381
+ tenantId?: string | null;
9382
+ }
9383
+ export interface SupplierInviteDto {
9384
+ id: string;
9385
+ supplierId: string;
9386
+ supplierName?: string | null;
9387
+ customerName?: string | null;
9388
+ userId: string;
9389
+ userName?: string | null;
9390
+ deadline: Date;
9391
+ acceptedTimestamp?: Date | null;
9392
+ createdTime: Date;
9393
+ createdBy: string;
9394
+ }
9395
+ export interface AcceptSupplierInviteNewCompany {
9396
+ companyName?: string;
9397
+ organizationNumber?: string;
9398
+ threeLetterIsoCountry?: string;
9399
+ }
9400
+ export interface AcceptSupplierInviteExistingCompany {
9401
+ companyId?: string;
9402
+ }
9403
+ export interface AcceptSupplierInviteCustomer {
9404
+ tenantId?: string;
9405
+ organizationNumber?: string;
9406
+ }
9407
+ export interface TenantWithSupplierDto {
9408
+ tenantId: string;
9409
+ customerName: string;
9410
+ supplierTenantEntraId: string;
9411
+ }
9412
+ export interface CreateSupplierInvite {
9413
+ supplierId: string;
9414
+ supplierName?: string | null;
9415
+ username: string;
9416
+ invitedName: string;
9417
+ deadline: Date;
9418
+ }
9419
+ export interface ExternalSupplierDto {
9420
+ id: string;
9421
+ name: string;
9422
+ companyId: string;
9423
+ active: boolean;
9424
+ }
9425
+ export interface CreateSupplierMapping {
9426
+ companyId: string;
9427
+ existingSupplierId: string;
9428
+ newSupplierId: string;
9429
+ }
9435
9430
  export type FeatureCollectionType = "FeatureCollection";
9436
9431
  export interface Features {
9437
9432
  type: FeaturesType;