@ignos/api-client 20260702.165.1 → 20260702.166.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.
@@ -127,6 +127,7 @@ export declare class CustomersClient extends AuthorizedApiBase implements ICusto
127
127
  }
128
128
  export interface IGuestsClient {
129
129
  getGuestLoginInfo(search: string | undefined): Promise<GuestLoginInfoDto>;
130
+ getSupplierLoginInfo(search: string | undefined): Promise<GuestLoginInfoDto>;
130
131
  }
131
132
  export declare class GuestsClient extends AuthorizedApiBase implements IGuestsClient {
132
133
  private http;
@@ -136,6 +137,8 @@ export declare class GuestsClient extends AuthorizedApiBase implements IGuestsCl
136
137
  });
137
138
  getGuestLoginInfo(search: string | undefined): Promise<GuestLoginInfoDto>;
138
139
  protected processGetGuestLoginInfo(response: Response): Promise<GuestLoginInfoDto>;
140
+ getSupplierLoginInfo(search: string | undefined): Promise<GuestLoginInfoDto>;
141
+ protected processGetSupplierLoginInfo(response: Response): Promise<GuestLoginInfoDto>;
139
142
  }
140
143
  export interface IPresentationClient {
141
144
  getComponentSettings(componentId: string): Promise<ComponentSettingsDto>;
@@ -1517,99 +1520,6 @@ export declare class DocumentTypesClient extends AuthorizedApiBase implements ID
1517
1520
  listDocumentGenerators(): Promise<DocumentGeneratorTypeDto[]>;
1518
1521
  protected processListDocumentGenerators(response: Response): Promise<DocumentGeneratorTypeDto[]>;
1519
1522
  }
1520
- export interface IExternalAccessClient {
1521
- listUsers(companyId: string | null | undefined): Promise<CompanyUserDto[]>;
1522
- createCompanyUser(request: CreateCompanyUserRequest): Promise<CompanyUserDto>;
1523
- updateCompanyUser(id: string, request: UpdateCompanyUserRequest): Promise<CompanyUserDto>;
1524
- deleteCompanyUser(id: string, companyId: string | null | undefined): Promise<void>;
1525
- listRoles(): Promise<ExternalRoleDto[]>;
1526
- listCompanyCustomers(): Promise<CompanyCustomerDto[]>;
1527
- deleteCompanyCustomer(tenantId: string): Promise<void>;
1528
- }
1529
- export declare class ExternalAccessClient extends AuthorizedApiBase implements IExternalAccessClient {
1530
- private http;
1531
- private baseUrl;
1532
- constructor(configuration: IApiClientConfig, baseUrl?: string, http?: {
1533
- fetch(url: RequestInfo, init?: RequestInit): Promise<Response>;
1534
- });
1535
- listUsers(companyId: string | null | undefined): Promise<CompanyUserDto[]>;
1536
- protected processListUsers(response: Response): Promise<CompanyUserDto[]>;
1537
- createCompanyUser(request: CreateCompanyUserRequest): Promise<CompanyUserDto>;
1538
- protected processCreateCompanyUser(response: Response): Promise<CompanyUserDto>;
1539
- updateCompanyUser(id: string, request: UpdateCompanyUserRequest): Promise<CompanyUserDto>;
1540
- protected processUpdateCompanyUser(response: Response): Promise<CompanyUserDto>;
1541
- deleteCompanyUser(id: string, companyId: string | null | undefined): Promise<void>;
1542
- protected processDeleteCompanyUser(response: Response): Promise<void>;
1543
- listRoles(): Promise<ExternalRoleDto[]>;
1544
- protected processListRoles(response: Response): Promise<ExternalRoleDto[]>;
1545
- listCompanyCustomers(): Promise<CompanyCustomerDto[]>;
1546
- protected processListCompanyCustomers(response: Response): Promise<CompanyCustomerDto[]>;
1547
- deleteCompanyCustomer(tenantId: string): Promise<void>;
1548
- protected processDeleteCompanyCustomer(response: Response): Promise<void>;
1549
- }
1550
- export interface IExternalClient {
1551
- listInvites(): Promise<InviteDto[]>;
1552
- acceptSupplierInvite(request: AcceptSupplierInviteRequest): Promise<CompanyDto>;
1553
- listCompanies(): Promise<CompanyDto[]>;
1554
- }
1555
- export declare class ExternalClient extends AuthorizedApiBase implements IExternalClient {
1556
- private http;
1557
- private baseUrl;
1558
- constructor(configuration: IApiClientConfig, baseUrl?: string, http?: {
1559
- fetch(url: RequestInfo, init?: RequestInit): Promise<Response>;
1560
- });
1561
- listInvites(): Promise<InviteDto[]>;
1562
- protected processListInvites(response: Response): Promise<InviteDto[]>;
1563
- acceptSupplierInvite(request: AcceptSupplierInviteRequest): Promise<CompanyDto>;
1564
- protected processAcceptSupplierInvite(response: Response): Promise<CompanyDto>;
1565
- listCompanies(): Promise<CompanyDto[]>;
1566
- protected processListCompanies(response: Response): Promise<CompanyDto[]>;
1567
- }
1568
- export interface ISuppliersClient {
1569
- listSupplierInvites(): Promise<SupplierInviteDto[]>;
1570
- createSupplierInvite(request: CreateSupplierInvite): Promise<SupplierInviteDto>;
1571
- deleteSupplierInvite(id: string): Promise<void>;
1572
- listSuppliers(): Promise<ExternalSupplierDto[]>;
1573
- deleteSupplier(id: string): Promise<void>;
1574
- importSupplier(importSupplier: ImportSupplier): Promise<ExternalSupplierDto>;
1575
- /**
1576
- * Creates a mapping between old supplier id and new supplier id.
1577
- */
1578
- createSupplierMapping(request: CreateSupplierMapping): Promise<void>;
1579
- /**
1580
- * Delete all supplier mappings between old supplier ids and new supplier ids.
1581
- */
1582
- deleteSupplierMappings(): Promise<void>;
1583
- }
1584
- export declare class SuppliersClient extends AuthorizedApiBase implements ISuppliersClient {
1585
- private http;
1586
- private baseUrl;
1587
- constructor(configuration: IApiClientConfig, baseUrl?: string, http?: {
1588
- fetch(url: RequestInfo, init?: RequestInit): Promise<Response>;
1589
- });
1590
- listSupplierInvites(): Promise<SupplierInviteDto[]>;
1591
- protected processListSupplierInvites(response: Response): Promise<SupplierInviteDto[]>;
1592
- createSupplierInvite(request: CreateSupplierInvite): Promise<SupplierInviteDto>;
1593
- protected processCreateSupplierInvite(response: Response): Promise<SupplierInviteDto>;
1594
- deleteSupplierInvite(id: string): Promise<void>;
1595
- protected processDeleteSupplierInvite(response: Response): Promise<void>;
1596
- listSuppliers(): Promise<ExternalSupplierDto[]>;
1597
- protected processListSuppliers(response: Response): Promise<ExternalSupplierDto[]>;
1598
- deleteSupplier(id: string): Promise<void>;
1599
- protected processDeleteSupplier(response: Response): Promise<void>;
1600
- importSupplier(importSupplier: ImportSupplier): Promise<ExternalSupplierDto>;
1601
- protected processImportSupplier(response: Response): Promise<ExternalSupplierDto>;
1602
- /**
1603
- * Creates a mapping between old supplier id and new supplier id.
1604
- */
1605
- createSupplierMapping(request: CreateSupplierMapping): Promise<void>;
1606
- protected processCreateSupplierMapping(response: Response): Promise<void>;
1607
- /**
1608
- * Delete all supplier mappings between old supplier ids and new supplier ids.
1609
- */
1610
- deleteSupplierMappings(): Promise<void>;
1611
- protected processDeleteSupplierMappings(response: Response): Promise<void>;
1612
- }
1613
1523
  export interface ICncFileTransferClient {
1614
1524
  startCncMachineOperationTransferToCloud(id: string): Promise<CncMachineTransferDto>;
1615
1525
  startCncMachineOperationTransferToMachine(id: string, request: TransferToMachineRequest | undefined): Promise<CncMachineTransferDto>;
@@ -3069,22 +2979,22 @@ export declare class MeasurementFormsInstancesAdminClient extends AuthorizedApiB
3069
2979
  protected processExportDimensionReportValues(response: Response): Promise<DownloadDto>;
3070
2980
  }
3071
2981
  export interface IMeasurementFormsInstancesClient {
3072
- 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>;
2982
+ listMeasurementForms(pageSize: number | undefined, search: string | null | undefined, continuationToken: string | null | undefined, inactive: boolean | null | undefined, includeInactiveSupplierAccess: boolean | null | undefined): Promise<PagedResultOfMeasurementFormInstanceOverviewDto>;
3073
2983
  postListMeasurementForms(request: ListMeasurementFormsRequest | undefined): Promise<PagedResultOfMeasurementFormInstanceOverviewDto>;
3074
- getMeasurementFormInstance(id: string, tenantId: string | null | undefined): Promise<MeasurementFormInstanceDto>;
2984
+ getMeasurementFormInstance(id: string): Promise<MeasurementFormInstanceDto>;
3075
2985
  listMeasurementFormInstanceFeedback(id: string): Promise<MeasurementFormInstanceFeedbackDto[]>;
3076
- completeMeasurementFormInstance(id: string, tenantId: string | null | undefined): Promise<MeasurementFormInstanceDto>;
3077
- completeMeasurementFormInstanceV2(id: string, tenantId: string | null | undefined): Promise<CompleteMeasurementFormInstanceResult>;
3078
- getMeasurementFormInstanceSchema(id: string, schemaId: string, serialNumber: string | null | undefined, tenantId: string | null | undefined): Promise<MeasurementFormInstanceSchemaDto>;
3079
- getWorkorderMeasurementFormProgress(id: string, tenantId: string | null | undefined): Promise<MeasurementFormInstanceProgressDto>;
3080
- getAuditLog(id: string, tenantId: string | null | undefined, schemaId: string | null | undefined, serialNumber: string | null | undefined, elementId: string | null | undefined): Promise<MeasurementFormElementValueAuditDto[]>;
2986
+ completeMeasurementFormInstance(id: string): Promise<MeasurementFormInstanceDto>;
2987
+ completeMeasurementFormInstanceV2(id: string): Promise<CompleteMeasurementFormInstanceResult>;
2988
+ getMeasurementFormInstanceSchema(id: string, schemaId: string, serialNumber: string | null | undefined): Promise<MeasurementFormInstanceSchemaDto>;
2989
+ getWorkorderMeasurementFormProgress(id: string): Promise<MeasurementFormInstanceProgressDto>;
2990
+ getAuditLog(id: string, schemaId: string | null | undefined, serialNumber: string | null | undefined, elementId: string | null | undefined): Promise<MeasurementFormElementValueAuditDto[]>;
3081
2991
  getValidationRules(): Promise<ValidationRuleDto[]>;
3082
- saveValue(id: string, tenantId: string | null | undefined, request: SaveValueRequest): Promise<SaveValueResponseDto>;
3083
- saveTool(id: string, tenantId: string | null | undefined, request: SaveToolRequest): Promise<SaveValueResponseDto>;
3084
- saveComment(id: string, tenantId: string | null | undefined, request: SaveCommentRequest): Promise<void>;
3085
- batchInsertValues(id: string, tenantId: string | null | undefined, request: BatchInsertValueRequest): Promise<BatchInsertValuesResponseDto>;
3086
- saveMeasurementFormInstanceSchemaComment(id: string, schemaId: string, tenantId: string | null | undefined, request: SaveMeasurementFormInstanceSchemaCommentRequest): Promise<void>;
3087
- createMeasurementFormInstanceSchemaFeedback(id: string, schemaId: string, tenantId: string | null | undefined, request: CreateMeasurementFormSchemaFeedbackRequest): Promise<SchemaFeedbackCreatedDto>;
2992
+ saveValue(id: string, request: SaveValueRequest): Promise<SaveValueResponseDto>;
2993
+ saveTool(id: string, request: SaveToolRequest): Promise<SaveValueResponseDto>;
2994
+ saveComment(id: string, request: SaveCommentRequest): Promise<void>;
2995
+ batchInsertValues(id: string, request: BatchInsertValueRequest): Promise<BatchInsertValuesResponseDto>;
2996
+ saveMeasurementFormInstanceSchemaComment(id: string, schemaId: string, request: SaveMeasurementFormInstanceSchemaCommentRequest): Promise<void>;
2997
+ createMeasurementFormInstanceSchemaFeedback(id: string, schemaId: string, request: CreateMeasurementFormSchemaFeedbackRequest): Promise<SchemaFeedbackCreatedDto>;
3088
2998
  listSupplierMeasurementFormInstances(supplierId: string): Promise<MeasurementFormSupplierAccessInstanceDto[]>;
3089
2999
  upsertSupplierToMeasurmentFormInstance(id: string, supplierId: string, request: UpsertSupplierToMeasurementFormInstanceRequest): Promise<void>;
3090
3000
  removeSupplierFromMeasurmentFormInstance(id: string, supplierId: string): Promise<void>;
@@ -3100,37 +3010,37 @@ export declare class MeasurementFormsInstancesClient extends AuthorizedApiBase i
3100
3010
  constructor(configuration: IApiClientConfig, baseUrl?: string, http?: {
3101
3011
  fetch(url: RequestInfo, init?: RequestInit): Promise<Response>;
3102
3012
  });
3103
- 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>;
3013
+ listMeasurementForms(pageSize: number | undefined, search: string | null | undefined, continuationToken: string | null | undefined, inactive: boolean | null | undefined, includeInactiveSupplierAccess: boolean | null | undefined): Promise<PagedResultOfMeasurementFormInstanceOverviewDto>;
3104
3014
  protected processListMeasurementForms(response: Response): Promise<PagedResultOfMeasurementFormInstanceOverviewDto>;
3105
3015
  postListMeasurementForms(request: ListMeasurementFormsRequest | undefined): Promise<PagedResultOfMeasurementFormInstanceOverviewDto>;
3106
3016
  protected processPostListMeasurementForms(response: Response): Promise<PagedResultOfMeasurementFormInstanceOverviewDto>;
3107
- getMeasurementFormInstance(id: string, tenantId: string | null | undefined): Promise<MeasurementFormInstanceDto>;
3017
+ getMeasurementFormInstance(id: string): Promise<MeasurementFormInstanceDto>;
3108
3018
  protected processGetMeasurementFormInstance(response: Response): Promise<MeasurementFormInstanceDto>;
3109
3019
  listMeasurementFormInstanceFeedback(id: string): Promise<MeasurementFormInstanceFeedbackDto[]>;
3110
3020
  protected processListMeasurementFormInstanceFeedback(response: Response): Promise<MeasurementFormInstanceFeedbackDto[]>;
3111
- completeMeasurementFormInstance(id: string, tenantId: string | null | undefined): Promise<MeasurementFormInstanceDto>;
3021
+ completeMeasurementFormInstance(id: string): Promise<MeasurementFormInstanceDto>;
3112
3022
  protected processCompleteMeasurementFormInstance(response: Response): Promise<MeasurementFormInstanceDto>;
3113
- completeMeasurementFormInstanceV2(id: string, tenantId: string | null | undefined): Promise<CompleteMeasurementFormInstanceResult>;
3023
+ completeMeasurementFormInstanceV2(id: string): Promise<CompleteMeasurementFormInstanceResult>;
3114
3024
  protected processCompleteMeasurementFormInstanceV2(response: Response): Promise<CompleteMeasurementFormInstanceResult>;
3115
- getMeasurementFormInstanceSchema(id: string, schemaId: string, serialNumber: string | null | undefined, tenantId: string | null | undefined): Promise<MeasurementFormInstanceSchemaDto>;
3025
+ getMeasurementFormInstanceSchema(id: string, schemaId: string, serialNumber: string | null | undefined): Promise<MeasurementFormInstanceSchemaDto>;
3116
3026
  protected processGetMeasurementFormInstanceSchema(response: Response): Promise<MeasurementFormInstanceSchemaDto>;
3117
- getWorkorderMeasurementFormProgress(id: string, tenantId: string | null | undefined): Promise<MeasurementFormInstanceProgressDto>;
3027
+ getWorkorderMeasurementFormProgress(id: string): Promise<MeasurementFormInstanceProgressDto>;
3118
3028
  protected processGetWorkorderMeasurementFormProgress(response: Response): Promise<MeasurementFormInstanceProgressDto>;
3119
- getAuditLog(id: string, tenantId: string | null | undefined, schemaId: string | null | undefined, serialNumber: string | null | undefined, elementId: string | null | undefined): Promise<MeasurementFormElementValueAuditDto[]>;
3029
+ getAuditLog(id: string, schemaId: string | null | undefined, serialNumber: string | null | undefined, elementId: string | null | undefined): Promise<MeasurementFormElementValueAuditDto[]>;
3120
3030
  protected processGetAuditLog(response: Response): Promise<MeasurementFormElementValueAuditDto[]>;
3121
3031
  getValidationRules(): Promise<ValidationRuleDto[]>;
3122
3032
  protected processGetValidationRules(response: Response): Promise<ValidationRuleDto[]>;
3123
- saveValue(id: string, tenantId: string | null | undefined, request: SaveValueRequest): Promise<SaveValueResponseDto>;
3033
+ saveValue(id: string, request: SaveValueRequest): Promise<SaveValueResponseDto>;
3124
3034
  protected processSaveValue(response: Response): Promise<SaveValueResponseDto>;
3125
- saveTool(id: string, tenantId: string | null | undefined, request: SaveToolRequest): Promise<SaveValueResponseDto>;
3035
+ saveTool(id: string, request: SaveToolRequest): Promise<SaveValueResponseDto>;
3126
3036
  protected processSaveTool(response: Response): Promise<SaveValueResponseDto>;
3127
- saveComment(id: string, tenantId: string | null | undefined, request: SaveCommentRequest): Promise<void>;
3037
+ saveComment(id: string, request: SaveCommentRequest): Promise<void>;
3128
3038
  protected processSaveComment(response: Response): Promise<void>;
3129
- batchInsertValues(id: string, tenantId: string | null | undefined, request: BatchInsertValueRequest): Promise<BatchInsertValuesResponseDto>;
3039
+ batchInsertValues(id: string, request: BatchInsertValueRequest): Promise<BatchInsertValuesResponseDto>;
3130
3040
  protected processBatchInsertValues(response: Response): Promise<BatchInsertValuesResponseDto>;
3131
- saveMeasurementFormInstanceSchemaComment(id: string, schemaId: string, tenantId: string | null | undefined, request: SaveMeasurementFormInstanceSchemaCommentRequest): Promise<void>;
3041
+ saveMeasurementFormInstanceSchemaComment(id: string, schemaId: string, request: SaveMeasurementFormInstanceSchemaCommentRequest): Promise<void>;
3132
3042
  protected processSaveMeasurementFormInstanceSchemaComment(response: Response): Promise<void>;
3133
- createMeasurementFormInstanceSchemaFeedback(id: string, schemaId: string, tenantId: string | null | undefined, request: CreateMeasurementFormSchemaFeedbackRequest): Promise<SchemaFeedbackCreatedDto>;
3043
+ createMeasurementFormInstanceSchemaFeedback(id: string, schemaId: string, request: CreateMeasurementFormSchemaFeedbackRequest): Promise<SchemaFeedbackCreatedDto>;
3134
3044
  protected processCreateMeasurementFormInstanceSchemaFeedback(response: Response): Promise<SchemaFeedbackCreatedDto>;
3135
3045
  listSupplierMeasurementFormInstances(supplierId: string): Promise<MeasurementFormSupplierAccessInstanceDto[]>;
3136
3046
  protected processListSupplierMeasurementFormInstances(response: Response): Promise<MeasurementFormSupplierAccessInstanceDto[]>;
@@ -3155,7 +3065,7 @@ export interface IMeasurementFormsInstancesInstanceAdminClient {
3155
3065
  createMeasurementFormInstance2(id: string, request: CreateMeasurementFormInstanceRequest): Promise<MeasurementFormInstanceDto>;
3156
3066
  reactivateMeasurementFormInstance(id: string): Promise<MeasurementFormInstanceDto>;
3157
3067
  cancelMeasurementFormInstance(id: string): Promise<MeasurementFormInstanceDto>;
3158
- toggleSchemaInstanceElementDocumentedExternallyOverride(id: string, schemaId: string, elementId: string, tenantId: string | null | undefined): Promise<void>;
3068
+ toggleSchemaInstanceElementDocumentedExternallyOverride(id: string, schemaId: string, elementId: string): Promise<void>;
3159
3069
  }
3160
3070
  export declare class MeasurementFormsInstancesInstanceAdminClient extends AuthorizedApiBase implements IMeasurementFormsInstancesInstanceAdminClient {
3161
3071
  private http;
@@ -3179,7 +3089,7 @@ export declare class MeasurementFormsInstancesInstanceAdminClient extends Author
3179
3089
  protected processReactivateMeasurementFormInstance(response: Response): Promise<MeasurementFormInstanceDto>;
3180
3090
  cancelMeasurementFormInstance(id: string): Promise<MeasurementFormInstanceDto>;
3181
3091
  protected processCancelMeasurementFormInstance(response: Response): Promise<MeasurementFormInstanceDto>;
3182
- toggleSchemaInstanceElementDocumentedExternallyOverride(id: string, schemaId: string, elementId: string, tenantId: string | null | undefined): Promise<void>;
3092
+ toggleSchemaInstanceElementDocumentedExternallyOverride(id: string, schemaId: string, elementId: string): Promise<void>;
3183
3093
  protected processToggleSchemaInstanceElementDocumentedExternallyOverride(response: Response): Promise<void>;
3184
3094
  }
3185
3095
  export interface ICompaniesClient {
@@ -3519,6 +3429,117 @@ export declare class WorkordersClient extends AuthorizedApiBase implements IWork
3519
3429
  generateContentPartsForDiscussions(): Promise<WorkorderDiscussionMessageDto[]>;
3520
3430
  protected processGenerateContentPartsForDiscussions(response: Response): Promise<WorkorderDiscussionMessageDto[]>;
3521
3431
  }
3432
+ export interface IExternalAccessClient {
3433
+ listUsers(companyId: string | null | undefined): Promise<CompanyUserDto[]>;
3434
+ createCompanyUser(request: CreateCompanyUser): Promise<CompanyUserDto>;
3435
+ updateCompanyUser(id: string, request: UpdateCompanyUserRequest): Promise<CompanyUserDto>;
3436
+ deleteCompanyUser(id: string, companyId: string | null | undefined): Promise<void>;
3437
+ migrateLegacyCompanyUsersToEntra(): Promise<CompanyUserDto[]>;
3438
+ listRoles(): Promise<ExternalRoleDto[]>;
3439
+ listCompanyCustomers(): Promise<CompanyCustomerDto[]>;
3440
+ deleteCompanyCustomer(tenantId: string): Promise<void>;
3441
+ }
3442
+ export declare class ExternalAccessClient extends AuthorizedApiBase implements IExternalAccessClient {
3443
+ private http;
3444
+ private baseUrl;
3445
+ constructor(configuration: IApiClientConfig, baseUrl?: string, http?: {
3446
+ fetch(url: RequestInfo, init?: RequestInit): Promise<Response>;
3447
+ });
3448
+ listUsers(companyId: string | null | undefined): Promise<CompanyUserDto[]>;
3449
+ protected processListUsers(response: Response): Promise<CompanyUserDto[]>;
3450
+ createCompanyUser(request: CreateCompanyUser): Promise<CompanyUserDto>;
3451
+ protected processCreateCompanyUser(response: Response): Promise<CompanyUserDto>;
3452
+ updateCompanyUser(id: string, request: UpdateCompanyUserRequest): Promise<CompanyUserDto>;
3453
+ protected processUpdateCompanyUser(response: Response): Promise<CompanyUserDto>;
3454
+ deleteCompanyUser(id: string, companyId: string | null | undefined): Promise<void>;
3455
+ protected processDeleteCompanyUser(response: Response): Promise<void>;
3456
+ migrateLegacyCompanyUsersToEntra(): Promise<CompanyUserDto[]>;
3457
+ protected processMigrateLegacyCompanyUsersToEntra(response: Response): Promise<CompanyUserDto[]>;
3458
+ listRoles(): Promise<ExternalRoleDto[]>;
3459
+ protected processListRoles(response: Response): Promise<ExternalRoleDto[]>;
3460
+ listCompanyCustomers(): Promise<CompanyCustomerDto[]>;
3461
+ protected processListCompanyCustomers(response: Response): Promise<CompanyCustomerDto[]>;
3462
+ deleteCompanyCustomer(tenantId: string): Promise<void>;
3463
+ protected processDeleteCompanyCustomer(response: Response): Promise<void>;
3464
+ }
3465
+ export interface IExternalClient {
3466
+ listCompanies(): Promise<CompanyDto[]>;
3467
+ getCompany(id: string): Promise<CompanyDto>;
3468
+ getCurrentSupplierInvite(): Promise<SupplierInviteDto>;
3469
+ acceptSupplierInviteNewCompany(request: AcceptSupplierInviteNewCompany): Promise<SupplierInviteDto>;
3470
+ acceptSupplierInviteExistingCompany(request: AcceptSupplierInviteExistingCompany): Promise<SupplierInviteDto>;
3471
+ acceptSupplierInviteCustomer(request: AcceptSupplierInviteCustomer): Promise<SupplierInviteDto>;
3472
+ listTenantsWithSuppliers(): Promise<TenantWithSupplierDto[]>;
3473
+ }
3474
+ export declare class ExternalClient extends AuthorizedApiBase implements IExternalClient {
3475
+ private http;
3476
+ private baseUrl;
3477
+ constructor(configuration: IApiClientConfig, baseUrl?: string, http?: {
3478
+ fetch(url: RequestInfo, init?: RequestInit): Promise<Response>;
3479
+ });
3480
+ listCompanies(): Promise<CompanyDto[]>;
3481
+ protected processListCompanies(response: Response): Promise<CompanyDto[]>;
3482
+ getCompany(id: string): Promise<CompanyDto>;
3483
+ protected processGetCompany(response: Response): Promise<CompanyDto>;
3484
+ getCurrentSupplierInvite(): Promise<SupplierInviteDto>;
3485
+ protected processGetCurrentSupplierInvite(response: Response): Promise<SupplierInviteDto>;
3486
+ acceptSupplierInviteNewCompany(request: AcceptSupplierInviteNewCompany): Promise<SupplierInviteDto>;
3487
+ protected processAcceptSupplierInviteNewCompany(response: Response): Promise<SupplierInviteDto>;
3488
+ acceptSupplierInviteExistingCompany(request: AcceptSupplierInviteExistingCompany): Promise<SupplierInviteDto>;
3489
+ protected processAcceptSupplierInviteExistingCompany(response: Response): Promise<SupplierInviteDto>;
3490
+ acceptSupplierInviteCustomer(request: AcceptSupplierInviteCustomer): Promise<SupplierInviteDto>;
3491
+ protected processAcceptSupplierInviteCustomer(response: Response): Promise<SupplierInviteDto>;
3492
+ listTenantsWithSuppliers(): Promise<TenantWithSupplierDto[]>;
3493
+ protected processListTenantsWithSuppliers(response: Response): Promise<TenantWithSupplierDto[]>;
3494
+ }
3495
+ export interface ISuppliersClient {
3496
+ listSupplierInvites(): Promise<SupplierInviteDto[]>;
3497
+ createSupplierInvite(request: CreateSupplierInviteRequest): Promise<SupplierInviteDto>;
3498
+ deleteSupplierInvite(id: string): Promise<void>;
3499
+ listSuppliers(): Promise<ExternalSupplierDto[]>;
3500
+ deleteSupplier(id: string): Promise<void>;
3501
+ /**
3502
+ * Creates a mapping between old supplier id and new supplier id.
3503
+ */
3504
+ createSupplierMapping(request: CreateSupplierMapping): Promise<void>;
3505
+ /**
3506
+ * Delete all supplier mappings between old supplier ids and new supplier ids.
3507
+ */
3508
+ deleteSupplierMappings(): Promise<void>;
3509
+ lookupOrganization(threeLetterIsoCountry: string | undefined, organizationNumber: string | undefined): Promise<OrganizationDto>;
3510
+ getOrganizationLookupSupportedCountries(): Promise<CountryDto[]>;
3511
+ }
3512
+ export declare class SuppliersClient extends AuthorizedApiBase implements ISuppliersClient {
3513
+ private http;
3514
+ private baseUrl;
3515
+ constructor(configuration: IApiClientConfig, baseUrl?: string, http?: {
3516
+ fetch(url: RequestInfo, init?: RequestInit): Promise<Response>;
3517
+ });
3518
+ listSupplierInvites(): Promise<SupplierInviteDto[]>;
3519
+ protected processListSupplierInvites(response: Response): Promise<SupplierInviteDto[]>;
3520
+ createSupplierInvite(request: CreateSupplierInviteRequest): Promise<SupplierInviteDto>;
3521
+ protected processCreateSupplierInvite(response: Response): Promise<SupplierInviteDto>;
3522
+ deleteSupplierInvite(id: string): Promise<void>;
3523
+ protected processDeleteSupplierInvite(response: Response): Promise<void>;
3524
+ listSuppliers(): Promise<ExternalSupplierDto[]>;
3525
+ protected processListSuppliers(response: Response): Promise<ExternalSupplierDto[]>;
3526
+ deleteSupplier(id: string): Promise<void>;
3527
+ protected processDeleteSupplier(response: Response): Promise<void>;
3528
+ /**
3529
+ * Creates a mapping between old supplier id and new supplier id.
3530
+ */
3531
+ createSupplierMapping(request: CreateSupplierMapping): Promise<void>;
3532
+ protected processCreateSupplierMapping(response: Response): Promise<void>;
3533
+ /**
3534
+ * Delete all supplier mappings between old supplier ids and new supplier ids.
3535
+ */
3536
+ deleteSupplierMappings(): Promise<void>;
3537
+ protected processDeleteSupplierMappings(response: Response): Promise<void>;
3538
+ lookupOrganization(threeLetterIsoCountry: string | undefined, organizationNumber: string | undefined): Promise<OrganizationDto>;
3539
+ protected processLookupOrganization(response: Response): Promise<OrganizationDto>;
3540
+ getOrganizationLookupSupportedCountries(): Promise<CountryDto[]>;
3541
+ protected processGetOrganizationLookupSupportedCountries(response: Response): Promise<CountryDto[]>;
3542
+ }
3522
3543
  export interface AzureRegionDto {
3523
3544
  displayName: string;
3524
3545
  name: string;
@@ -3830,6 +3851,9 @@ export interface UserDetailsDto {
3830
3851
  isExternalUser?: boolean;
3831
3852
  isBetaTester?: boolean | null;
3832
3853
  hasAccessToIgnos?: boolean;
3854
+ isInvitedUser?: boolean;
3855
+ isSupplier?: boolean;
3856
+ companyId?: string | null;
3833
3857
  }
3834
3858
  export interface UserDto {
3835
3859
  id?: string | null;
@@ -5850,97 +5874,6 @@ export interface DocumentGeneratorTypeDto {
5850
5874
  key: string;
5851
5875
  description: string;
5852
5876
  }
5853
- export interface CompanyUserDto {
5854
- companyId?: string | null;
5855
- username?: string | null;
5856
- name?: string | null;
5857
- roles?: string[] | null;
5858
- }
5859
- export interface CreateCompanyUserRequest {
5860
- username: string;
5861
- name: string;
5862
- roles: string[];
5863
- companyId?: string | null;
5864
- }
5865
- export interface UpdateCompanyUserRequest {
5866
- name: string;
5867
- roles: string[];
5868
- companyId?: string | null;
5869
- }
5870
- export interface ExternalRoleDto {
5871
- id: string;
5872
- name: string;
5873
- }
5874
- export interface CompanyCustomerDto {
5875
- customerTenantId?: string | null;
5876
- customerAzureAdTenantId?: string | null;
5877
- customerName?: string | null;
5878
- supplierId?: string | null;
5879
- supplierName?: string | null;
5880
- }
5881
- export interface InviteDto {
5882
- tenantId: string;
5883
- companyName: string;
5884
- id: string;
5885
- supplierId: string;
5886
- supplierName: string;
5887
- username: string;
5888
- deadline: Date;
5889
- createdTime: Date;
5890
- createdBy: string;
5891
- }
5892
- export interface CompanyDto {
5893
- id?: string | null;
5894
- name?: string | null;
5895
- organizationNumber?: string | null;
5896
- country?: string | null;
5897
- tenantId?: string | null;
5898
- }
5899
- export interface AcceptSupplierInviteRequest {
5900
- tenantId: string;
5901
- existingCompanyId?: string | null;
5902
- companyName?: string | null;
5903
- organizationNumber?: string | null;
5904
- threeLetterIsoCountry?: string | null;
5905
- }
5906
- export interface SupplierInviteDto {
5907
- id: string;
5908
- supplierId: string;
5909
- name: string;
5910
- username: string;
5911
- deadline: Date;
5912
- createdTime: Date;
5913
- createdBy: string;
5914
- }
5915
- export interface CreateSupplierInvite {
5916
- supplierId: string;
5917
- name: string;
5918
- username: string;
5919
- deadline: Date;
5920
- }
5921
- export interface ExternalSupplierDto {
5922
- id: string;
5923
- name: string;
5924
- companyId: string;
5925
- active: boolean;
5926
- }
5927
- export interface ImportSupplier {
5928
- supplierId: string;
5929
- name: string;
5930
- organizationNumber?: string | null;
5931
- threeLetterIsoCountry: string;
5932
- users: ImportSupplierUserDto[];
5933
- }
5934
- export interface ImportSupplierUserDto {
5935
- username: string;
5936
- name: string;
5937
- roles: string[];
5938
- }
5939
- export interface CreateSupplierMapping {
5940
- companyId: string;
5941
- existingSupplierId: string;
5942
- newSupplierId: string;
5943
- }
5944
5877
  export interface CncMachineTransferDto {
5945
5878
  id: string;
5946
5879
  cncMachineOperationId?: string | null;
@@ -9261,7 +9194,6 @@ export interface ListMeasurementFormsRequest {
9261
9194
  pageSize?: number | null;
9262
9195
  search?: string | null;
9263
9196
  continuationToken?: string | null;
9264
- tenantId?: string | null;
9265
9197
  inactive?: boolean | null;
9266
9198
  includeInactiveSupplierAccess?: boolean | null;
9267
9199
  }
@@ -9457,7 +9389,6 @@ export interface UpsertSupplierToMeasurementFormInstanceRequest {
9457
9389
  externalOrderNumber?: string | null;
9458
9390
  }
9459
9391
  export interface ExportDimensionReportV2Request {
9460
- tenantId?: string | null;
9461
9392
  type: DimensionReportType;
9462
9393
  extras?: DimensionReportExtras | null;
9463
9394
  specificSerialNumbers?: string[] | null;
@@ -9800,6 +9731,94 @@ export interface SetDiscussionLastReadRequest {
9800
9731
  operationId?: string | null;
9801
9732
  resourceId?: string | null;
9802
9733
  }
9734
+ export interface CompanyUserDto {
9735
+ companyId: string;
9736
+ userObjectId: string;
9737
+ username?: string | null;
9738
+ name?: string | null;
9739
+ roles: string[];
9740
+ }
9741
+ export interface CreateCompanyUser {
9742
+ username: string;
9743
+ name: string;
9744
+ roles: string[];
9745
+ companyId?: string | null;
9746
+ }
9747
+ export interface UpdateCompanyUserRequest {
9748
+ roles: string[];
9749
+ companyId?: string | null;
9750
+ }
9751
+ export interface ExternalRoleDto {
9752
+ id: string;
9753
+ name: string;
9754
+ }
9755
+ export interface CompanyCustomerDto {
9756
+ customerTenantId?: string | null;
9757
+ customerAzureAdTenantId?: string | null;
9758
+ customerName?: string | null;
9759
+ supplierId?: string | null;
9760
+ supplierName?: string | null;
9761
+ customerIgnosPortalPrefix?: string | null;
9762
+ }
9763
+ export interface CompanyDto {
9764
+ id: string;
9765
+ name: string;
9766
+ organizationNumber?: string | null;
9767
+ country: string;
9768
+ tenantId?: string | null;
9769
+ }
9770
+ export interface SupplierInviteDto {
9771
+ id: string;
9772
+ supplierId: string;
9773
+ supplierName?: string | null;
9774
+ customerName?: string | null;
9775
+ userId: string;
9776
+ userName?: string | null;
9777
+ acceptedTimestamp?: Date | null;
9778
+ createdTime: Date;
9779
+ createdBy: string;
9780
+ }
9781
+ export interface AcceptSupplierInviteNewCompany {
9782
+ companyName?: string;
9783
+ organizationNumber?: string;
9784
+ threeLetterIsoCountry?: string;
9785
+ }
9786
+ export interface AcceptSupplierInviteExistingCompany {
9787
+ companyId?: string;
9788
+ }
9789
+ export interface AcceptSupplierInviteCustomer {
9790
+ tenantId?: string;
9791
+ organizationNumber?: string;
9792
+ }
9793
+ export interface TenantWithSupplierDto {
9794
+ tenantId: string;
9795
+ customerName: string;
9796
+ supplierTenantEntraId: string;
9797
+ }
9798
+ export interface CreateSupplierInviteRequest {
9799
+ supplierId: string;
9800
+ threeLetterIsoCountry: string;
9801
+ organizationNumber: string;
9802
+ supplierName?: string | null;
9803
+ username: string;
9804
+ invitedName: string;
9805
+ }
9806
+ export interface ExternalSupplierDto {
9807
+ id: string;
9808
+ name: string;
9809
+ companyId: string;
9810
+ active: boolean;
9811
+ }
9812
+ export interface CreateSupplierMapping {
9813
+ companyId: string;
9814
+ existingSupplierId: string;
9815
+ newSupplierId: string;
9816
+ }
9817
+ export interface OrganizationDto {
9818
+ name?: string;
9819
+ postalAddress?: string | null;
9820
+ registeredAddress?: string | null;
9821
+ }
9803
9822
  export type FeatureCollectionType = "FeatureCollection";
9804
9823
  export interface Features {
9805
9824
  type: FeaturesType;