@ignos/api-client 20260827.248.1 → 20260827.250.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>;
@@ -3129,22 +3039,22 @@ export declare class MeasurementFormsInstancesAdminClient extends AuthorizedApiB
3129
3039
  protected processExportDimensionReportValues(response: Response): Promise<DownloadDto>;
3130
3040
  }
3131
3041
  export interface IMeasurementFormsInstancesClient {
3132
- 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>;
3042
+ listMeasurementForms(pageSize: number | undefined, search: string | null | undefined, continuationToken: string | null | undefined, inactive: boolean | null | undefined, includeInactiveSupplierAccess: boolean | null | undefined): Promise<PagedResultOfMeasurementFormInstanceOverviewDto>;
3133
3043
  postListMeasurementForms(request: ListMeasurementFormsRequest | undefined): Promise<PagedResultOfMeasurementFormInstanceOverviewDto>;
3134
- getMeasurementFormInstance(id: string, tenantId: string | null | undefined): Promise<MeasurementFormInstanceDto>;
3044
+ getMeasurementFormInstance(id: string): Promise<MeasurementFormInstanceDto>;
3135
3045
  listMeasurementFormInstanceFeedback(id: string): Promise<MeasurementFormInstanceFeedbackDto[]>;
3136
- completeMeasurementFormInstance(id: string, tenantId: string | null | undefined): Promise<MeasurementFormInstanceDto>;
3137
- completeMeasurementFormInstanceV2(id: string, tenantId: string | null | undefined): Promise<CompleteMeasurementFormInstanceResult>;
3138
- getMeasurementFormInstanceSchema(id: string, schemaId: string, serialNumber: string | null | undefined, tenantId: string | null | undefined): Promise<MeasurementFormInstanceSchemaDto>;
3139
- getWorkorderMeasurementFormProgress(id: string, tenantId: string | null | undefined): Promise<MeasurementFormInstanceProgressDto>;
3140
- getAuditLog(id: string, tenantId: string | null | undefined, schemaId: string | null | undefined, serialNumber: string | null | undefined, elementId: string | null | undefined): Promise<MeasurementFormElementValueAuditDto[]>;
3046
+ completeMeasurementFormInstance(id: string): Promise<MeasurementFormInstanceDto>;
3047
+ completeMeasurementFormInstanceV2(id: string): Promise<CompleteMeasurementFormInstanceResult>;
3048
+ getMeasurementFormInstanceSchema(id: string, schemaId: string, serialNumber: string | null | undefined): Promise<MeasurementFormInstanceSchemaDto>;
3049
+ getWorkorderMeasurementFormProgress(id: string): Promise<MeasurementFormInstanceProgressDto>;
3050
+ getAuditLog(id: string, schemaId: string | null | undefined, serialNumber: string | null | undefined, elementId: string | null | undefined): Promise<MeasurementFormElementValueAuditDto[]>;
3141
3051
  getValidationRules(): Promise<ValidationRuleDto[]>;
3142
- saveValue(id: string, tenantId: string | null | undefined, request: SaveValueRequest): Promise<SaveValueResponseDto>;
3143
- saveTool(id: string, tenantId: string | null | undefined, request: SaveToolRequest): Promise<SaveValueResponseDto>;
3144
- saveComment(id: string, tenantId: string | null | undefined, request: SaveCommentRequest): Promise<void>;
3145
- batchInsertValues(id: string, tenantId: string | null | undefined, request: BatchInsertValueRequest): Promise<BatchInsertValuesResponseDto>;
3146
- saveMeasurementFormInstanceSchemaComment(id: string, schemaId: string, tenantId: string | null | undefined, request: SaveMeasurementFormInstanceSchemaCommentRequest): Promise<void>;
3147
- createMeasurementFormInstanceSchemaFeedback(id: string, schemaId: string, tenantId: string | null | undefined, request: CreateMeasurementFormSchemaFeedbackRequest): Promise<SchemaFeedbackCreatedDto>;
3052
+ saveValue(id: string, request: SaveValueRequest): Promise<SaveValueResponseDto>;
3053
+ saveTool(id: string, request: SaveToolRequest): Promise<SaveValueResponseDto>;
3054
+ saveComment(id: string, request: SaveCommentRequest): Promise<void>;
3055
+ batchInsertValues(id: string, request: BatchInsertValueRequest): Promise<BatchInsertValuesResponseDto>;
3056
+ saveMeasurementFormInstanceSchemaComment(id: string, schemaId: string, request: SaveMeasurementFormInstanceSchemaCommentRequest): Promise<void>;
3057
+ createMeasurementFormInstanceSchemaFeedback(id: string, schemaId: string, request: CreateMeasurementFormSchemaFeedbackRequest): Promise<SchemaFeedbackCreatedDto>;
3148
3058
  listSupplierMeasurementFormInstances(supplierId: string): Promise<MeasurementFormSupplierAccessInstanceDto[]>;
3149
3059
  upsertSupplierToMeasurmentFormInstance(id: string, supplierId: string, request: UpsertSupplierToMeasurementFormInstanceRequest): Promise<void>;
3150
3060
  removeSupplierFromMeasurmentFormInstance(id: string, supplierId: string): Promise<void>;
@@ -3160,37 +3070,37 @@ export declare class MeasurementFormsInstancesClient extends AuthorizedApiBase i
3160
3070
  constructor(configuration: IApiClientConfig, baseUrl?: string, http?: {
3161
3071
  fetch(url: RequestInfo, init?: RequestInit): Promise<Response>;
3162
3072
  });
3163
- 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>;
3073
+ listMeasurementForms(pageSize: number | undefined, search: string | null | undefined, continuationToken: string | null | undefined, inactive: boolean | null | undefined, includeInactiveSupplierAccess: boolean | null | undefined): Promise<PagedResultOfMeasurementFormInstanceOverviewDto>;
3164
3074
  protected processListMeasurementForms(response: Response): Promise<PagedResultOfMeasurementFormInstanceOverviewDto>;
3165
3075
  postListMeasurementForms(request: ListMeasurementFormsRequest | undefined): Promise<PagedResultOfMeasurementFormInstanceOverviewDto>;
3166
3076
  protected processPostListMeasurementForms(response: Response): Promise<PagedResultOfMeasurementFormInstanceOverviewDto>;
3167
- getMeasurementFormInstance(id: string, tenantId: string | null | undefined): Promise<MeasurementFormInstanceDto>;
3077
+ getMeasurementFormInstance(id: string): Promise<MeasurementFormInstanceDto>;
3168
3078
  protected processGetMeasurementFormInstance(response: Response): Promise<MeasurementFormInstanceDto>;
3169
3079
  listMeasurementFormInstanceFeedback(id: string): Promise<MeasurementFormInstanceFeedbackDto[]>;
3170
3080
  protected processListMeasurementFormInstanceFeedback(response: Response): Promise<MeasurementFormInstanceFeedbackDto[]>;
3171
- completeMeasurementFormInstance(id: string, tenantId: string | null | undefined): Promise<MeasurementFormInstanceDto>;
3081
+ completeMeasurementFormInstance(id: string): Promise<MeasurementFormInstanceDto>;
3172
3082
  protected processCompleteMeasurementFormInstance(response: Response): Promise<MeasurementFormInstanceDto>;
3173
- completeMeasurementFormInstanceV2(id: string, tenantId: string | null | undefined): Promise<CompleteMeasurementFormInstanceResult>;
3083
+ completeMeasurementFormInstanceV2(id: string): Promise<CompleteMeasurementFormInstanceResult>;
3174
3084
  protected processCompleteMeasurementFormInstanceV2(response: Response): Promise<CompleteMeasurementFormInstanceResult>;
3175
- getMeasurementFormInstanceSchema(id: string, schemaId: string, serialNumber: string | null | undefined, tenantId: string | null | undefined): Promise<MeasurementFormInstanceSchemaDto>;
3085
+ getMeasurementFormInstanceSchema(id: string, schemaId: string, serialNumber: string | null | undefined): Promise<MeasurementFormInstanceSchemaDto>;
3176
3086
  protected processGetMeasurementFormInstanceSchema(response: Response): Promise<MeasurementFormInstanceSchemaDto>;
3177
- getWorkorderMeasurementFormProgress(id: string, tenantId: string | null | undefined): Promise<MeasurementFormInstanceProgressDto>;
3087
+ getWorkorderMeasurementFormProgress(id: string): Promise<MeasurementFormInstanceProgressDto>;
3178
3088
  protected processGetWorkorderMeasurementFormProgress(response: Response): Promise<MeasurementFormInstanceProgressDto>;
3179
- getAuditLog(id: string, tenantId: string | null | undefined, schemaId: string | null | undefined, serialNumber: string | null | undefined, elementId: string | null | undefined): Promise<MeasurementFormElementValueAuditDto[]>;
3089
+ getAuditLog(id: string, schemaId: string | null | undefined, serialNumber: string | null | undefined, elementId: string | null | undefined): Promise<MeasurementFormElementValueAuditDto[]>;
3180
3090
  protected processGetAuditLog(response: Response): Promise<MeasurementFormElementValueAuditDto[]>;
3181
3091
  getValidationRules(): Promise<ValidationRuleDto[]>;
3182
3092
  protected processGetValidationRules(response: Response): Promise<ValidationRuleDto[]>;
3183
- saveValue(id: string, tenantId: string | null | undefined, request: SaveValueRequest): Promise<SaveValueResponseDto>;
3093
+ saveValue(id: string, request: SaveValueRequest): Promise<SaveValueResponseDto>;
3184
3094
  protected processSaveValue(response: Response): Promise<SaveValueResponseDto>;
3185
- saveTool(id: string, tenantId: string | null | undefined, request: SaveToolRequest): Promise<SaveValueResponseDto>;
3095
+ saveTool(id: string, request: SaveToolRequest): Promise<SaveValueResponseDto>;
3186
3096
  protected processSaveTool(response: Response): Promise<SaveValueResponseDto>;
3187
- saveComment(id: string, tenantId: string | null | undefined, request: SaveCommentRequest): Promise<void>;
3097
+ saveComment(id: string, request: SaveCommentRequest): Promise<void>;
3188
3098
  protected processSaveComment(response: Response): Promise<void>;
3189
- batchInsertValues(id: string, tenantId: string | null | undefined, request: BatchInsertValueRequest): Promise<BatchInsertValuesResponseDto>;
3099
+ batchInsertValues(id: string, request: BatchInsertValueRequest): Promise<BatchInsertValuesResponseDto>;
3190
3100
  protected processBatchInsertValues(response: Response): Promise<BatchInsertValuesResponseDto>;
3191
- saveMeasurementFormInstanceSchemaComment(id: string, schemaId: string, tenantId: string | null | undefined, request: SaveMeasurementFormInstanceSchemaCommentRequest): Promise<void>;
3101
+ saveMeasurementFormInstanceSchemaComment(id: string, schemaId: string, request: SaveMeasurementFormInstanceSchemaCommentRequest): Promise<void>;
3192
3102
  protected processSaveMeasurementFormInstanceSchemaComment(response: Response): Promise<void>;
3193
- createMeasurementFormInstanceSchemaFeedback(id: string, schemaId: string, tenantId: string | null | undefined, request: CreateMeasurementFormSchemaFeedbackRequest): Promise<SchemaFeedbackCreatedDto>;
3103
+ createMeasurementFormInstanceSchemaFeedback(id: string, schemaId: string, request: CreateMeasurementFormSchemaFeedbackRequest): Promise<SchemaFeedbackCreatedDto>;
3194
3104
  protected processCreateMeasurementFormInstanceSchemaFeedback(response: Response): Promise<SchemaFeedbackCreatedDto>;
3195
3105
  listSupplierMeasurementFormInstances(supplierId: string): Promise<MeasurementFormSupplierAccessInstanceDto[]>;
3196
3106
  protected processListSupplierMeasurementFormInstances(response: Response): Promise<MeasurementFormSupplierAccessInstanceDto[]>;
@@ -3215,7 +3125,7 @@ export interface IMeasurementFormsInstancesInstanceAdminClient {
3215
3125
  createMeasurementFormInstance2(id: string, request: CreateMeasurementFormInstanceRequest): Promise<MeasurementFormInstanceDto>;
3216
3126
  reactivateMeasurementFormInstance(id: string): Promise<MeasurementFormInstanceDto>;
3217
3127
  cancelMeasurementFormInstance(id: string): Promise<MeasurementFormInstanceDto>;
3218
- toggleSchemaInstanceElementDocumentedExternallyOverride(id: string, schemaId: string, elementId: string, tenantId: string | null | undefined): Promise<void>;
3128
+ toggleSchemaInstanceElementDocumentedExternallyOverride(id: string, schemaId: string, elementId: string): Promise<void>;
3219
3129
  }
3220
3130
  export declare class MeasurementFormsInstancesInstanceAdminClient extends AuthorizedApiBase implements IMeasurementFormsInstancesInstanceAdminClient {
3221
3131
  private http;
@@ -3239,7 +3149,7 @@ export declare class MeasurementFormsInstancesInstanceAdminClient extends Author
3239
3149
  protected processReactivateMeasurementFormInstance(response: Response): Promise<MeasurementFormInstanceDto>;
3240
3150
  cancelMeasurementFormInstance(id: string): Promise<MeasurementFormInstanceDto>;
3241
3151
  protected processCancelMeasurementFormInstance(response: Response): Promise<MeasurementFormInstanceDto>;
3242
- toggleSchemaInstanceElementDocumentedExternallyOverride(id: string, schemaId: string, elementId: string, tenantId: string | null | undefined): Promise<void>;
3152
+ toggleSchemaInstanceElementDocumentedExternallyOverride(id: string, schemaId: string, elementId: string): Promise<void>;
3243
3153
  protected processToggleSchemaInstanceElementDocumentedExternallyOverride(response: Response): Promise<void>;
3244
3154
  }
3245
3155
  export interface ICompaniesClient {
@@ -3579,6 +3489,111 @@ export declare class WorkordersClient extends AuthorizedApiBase implements IWork
3579
3489
  generateContentPartsForDiscussions(): Promise<WorkorderDiscussionMessageDto[]>;
3580
3490
  protected processGenerateContentPartsForDiscussions(response: Response): Promise<WorkorderDiscussionMessageDto[]>;
3581
3491
  }
3492
+ export interface IExternalAccessClient {
3493
+ listUsers(companyId: string | null | undefined): Promise<CompanyUserDto[]>;
3494
+ createCompanyUser(request: CreateCompanyUser): Promise<CompanyUserDto>;
3495
+ updateCompanyUser(id: string, request: UpdateCompanyUserRequest): Promise<CompanyUserDto>;
3496
+ deleteCompanyUser(id: string, companyId: string | null | undefined): Promise<void>;
3497
+ migrateLegacyCompanyUsersToEntra(): Promise<CompanyUserDto[]>;
3498
+ listRoles(): Promise<ExternalRoleDto[]>;
3499
+ listCompanyCustomers(): Promise<CompanyCustomerDto[]>;
3500
+ deleteCompanyCustomer(tenantId: string): Promise<void>;
3501
+ }
3502
+ export declare class ExternalAccessClient extends AuthorizedApiBase implements IExternalAccessClient {
3503
+ private http;
3504
+ private baseUrl;
3505
+ constructor(configuration: IApiClientConfig, baseUrl?: string, http?: {
3506
+ fetch(url: RequestInfo, init?: RequestInit): Promise<Response>;
3507
+ });
3508
+ listUsers(companyId: string | null | undefined): Promise<CompanyUserDto[]>;
3509
+ protected processListUsers(response: Response): Promise<CompanyUserDto[]>;
3510
+ createCompanyUser(request: CreateCompanyUser): Promise<CompanyUserDto>;
3511
+ protected processCreateCompanyUser(response: Response): Promise<CompanyUserDto>;
3512
+ updateCompanyUser(id: string, request: UpdateCompanyUserRequest): Promise<CompanyUserDto>;
3513
+ protected processUpdateCompanyUser(response: Response): Promise<CompanyUserDto>;
3514
+ deleteCompanyUser(id: string, companyId: string | null | undefined): Promise<void>;
3515
+ protected processDeleteCompanyUser(response: Response): Promise<void>;
3516
+ migrateLegacyCompanyUsersToEntra(): Promise<CompanyUserDto[]>;
3517
+ protected processMigrateLegacyCompanyUsersToEntra(response: Response): Promise<CompanyUserDto[]>;
3518
+ listRoles(): Promise<ExternalRoleDto[]>;
3519
+ protected processListRoles(response: Response): Promise<ExternalRoleDto[]>;
3520
+ listCompanyCustomers(): Promise<CompanyCustomerDto[]>;
3521
+ protected processListCompanyCustomers(response: Response): Promise<CompanyCustomerDto[]>;
3522
+ deleteCompanyCustomer(tenantId: string): Promise<void>;
3523
+ protected processDeleteCompanyCustomer(response: Response): Promise<void>;
3524
+ }
3525
+ export interface IExternalClient {
3526
+ listCompanies(): Promise<CompanyDto[]>;
3527
+ getCompany(id: string): Promise<CompanyDto>;
3528
+ getCurrentSupplierInvite(): Promise<CurrentSupplierInviteDto>;
3529
+ acceptSupplierInvite(acceptingTenantId: string | null | undefined): Promise<SupplierInviteDto>;
3530
+ listTenantsWithSuppliers(): Promise<TenantWithSupplierDto[]>;
3531
+ }
3532
+ export declare class ExternalClient extends AuthorizedApiBase implements IExternalClient {
3533
+ private http;
3534
+ private baseUrl;
3535
+ constructor(configuration: IApiClientConfig, baseUrl?: string, http?: {
3536
+ fetch(url: RequestInfo, init?: RequestInit): Promise<Response>;
3537
+ });
3538
+ listCompanies(): Promise<CompanyDto[]>;
3539
+ protected processListCompanies(response: Response): Promise<CompanyDto[]>;
3540
+ getCompany(id: string): Promise<CompanyDto>;
3541
+ protected processGetCompany(response: Response): Promise<CompanyDto>;
3542
+ getCurrentSupplierInvite(): Promise<CurrentSupplierInviteDto>;
3543
+ protected processGetCurrentSupplierInvite(response: Response): Promise<CurrentSupplierInviteDto>;
3544
+ acceptSupplierInvite(acceptingTenantId: string | null | undefined): Promise<SupplierInviteDto>;
3545
+ protected processAcceptSupplierInvite(response: Response): Promise<SupplierInviteDto>;
3546
+ listTenantsWithSuppliers(): Promise<TenantWithSupplierDto[]>;
3547
+ protected processListTenantsWithSuppliers(response: Response): Promise<TenantWithSupplierDto[]>;
3548
+ }
3549
+ export interface ISuppliersClient {
3550
+ listSupplierInvites(): Promise<SupplierInviteDto[]>;
3551
+ createSupplierInvite(request: CreateSupplierInviteRequest): Promise<SupplierInviteDto>;
3552
+ deleteSupplierInvite(id: string): Promise<void>;
3553
+ listSuppliers(): Promise<ExternalSupplierDto[]>;
3554
+ deleteSupplier(id: string): Promise<void>;
3555
+ /**
3556
+ * Creates a mapping between old supplier id and new supplier id.
3557
+ */
3558
+ createSupplierMapping(request: CreateSupplierMapping): Promise<void>;
3559
+ /**
3560
+ * Delete all supplier mappings between old supplier ids and new supplier ids.
3561
+ */
3562
+ deleteSupplierMappings(): Promise<void>;
3563
+ lookupOrganization(threeLetterIsoCountry: string | undefined, organizationNumber: string | undefined): Promise<OrganizationDto>;
3564
+ getOrganizationLookupSupportedCountries(): Promise<CountryDto[]>;
3565
+ }
3566
+ export declare class SuppliersClient extends AuthorizedApiBase implements ISuppliersClient {
3567
+ private http;
3568
+ private baseUrl;
3569
+ constructor(configuration: IApiClientConfig, baseUrl?: string, http?: {
3570
+ fetch(url: RequestInfo, init?: RequestInit): Promise<Response>;
3571
+ });
3572
+ listSupplierInvites(): Promise<SupplierInviteDto[]>;
3573
+ protected processListSupplierInvites(response: Response): Promise<SupplierInviteDto[]>;
3574
+ createSupplierInvite(request: CreateSupplierInviteRequest): Promise<SupplierInviteDto>;
3575
+ protected processCreateSupplierInvite(response: Response): Promise<SupplierInviteDto>;
3576
+ deleteSupplierInvite(id: string): Promise<void>;
3577
+ protected processDeleteSupplierInvite(response: Response): Promise<void>;
3578
+ listSuppliers(): Promise<ExternalSupplierDto[]>;
3579
+ protected processListSuppliers(response: Response): Promise<ExternalSupplierDto[]>;
3580
+ deleteSupplier(id: string): Promise<void>;
3581
+ protected processDeleteSupplier(response: Response): Promise<void>;
3582
+ /**
3583
+ * Creates a mapping between old supplier id and new supplier id.
3584
+ */
3585
+ createSupplierMapping(request: CreateSupplierMapping): Promise<void>;
3586
+ protected processCreateSupplierMapping(response: Response): Promise<void>;
3587
+ /**
3588
+ * Delete all supplier mappings between old supplier ids and new supplier ids.
3589
+ */
3590
+ deleteSupplierMappings(): Promise<void>;
3591
+ protected processDeleteSupplierMappings(response: Response): Promise<void>;
3592
+ lookupOrganization(threeLetterIsoCountry: string | undefined, organizationNumber: string | undefined): Promise<OrganizationDto>;
3593
+ protected processLookupOrganization(response: Response): Promise<OrganizationDto>;
3594
+ getOrganizationLookupSupportedCountries(): Promise<CountryDto[]>;
3595
+ protected processGetOrganizationLookupSupportedCountries(response: Response): Promise<CountryDto[]>;
3596
+ }
3582
3597
  export interface AzureRegionDto {
3583
3598
  displayName: string;
3584
3599
  name: string;
@@ -3890,6 +3905,9 @@ export interface UserDetailsDto {
3890
3905
  isExternalUser?: boolean;
3891
3906
  isBetaTester?: boolean | null;
3892
3907
  hasAccessToIgnos?: boolean;
3908
+ isInvitedUser?: boolean;
3909
+ isSupplier?: boolean;
3910
+ companyId?: string | null;
3893
3911
  }
3894
3912
  export interface UserDto {
3895
3913
  id?: string | null;
@@ -5916,97 +5934,6 @@ export interface DocumentGeneratorTypeDto {
5916
5934
  key: string;
5917
5935
  description: string;
5918
5936
  }
5919
- export interface CompanyUserDto {
5920
- companyId?: string | null;
5921
- username?: string | null;
5922
- name?: string | null;
5923
- roles?: string[] | null;
5924
- }
5925
- export interface CreateCompanyUserRequest {
5926
- username: string;
5927
- name: string;
5928
- roles: string[];
5929
- companyId?: string | null;
5930
- }
5931
- export interface UpdateCompanyUserRequest {
5932
- name: string;
5933
- roles: string[];
5934
- companyId?: string | null;
5935
- }
5936
- export interface ExternalRoleDto {
5937
- id: string;
5938
- name: string;
5939
- }
5940
- export interface CompanyCustomerDto {
5941
- customerTenantId?: string | null;
5942
- customerAzureAdTenantId?: string | null;
5943
- customerName?: string | null;
5944
- supplierId?: string | null;
5945
- supplierName?: string | null;
5946
- }
5947
- export interface InviteDto {
5948
- tenantId: string;
5949
- companyName: string;
5950
- id: string;
5951
- supplierId: string;
5952
- supplierName: string;
5953
- username: string;
5954
- deadline: Date;
5955
- createdTime: Date;
5956
- createdBy: string;
5957
- }
5958
- export interface CompanyDto {
5959
- id?: string | null;
5960
- name?: string | null;
5961
- organizationNumber?: string | null;
5962
- country?: string | null;
5963
- tenantId?: string | null;
5964
- }
5965
- export interface AcceptSupplierInviteRequest {
5966
- tenantId: string;
5967
- existingCompanyId?: string | null;
5968
- companyName?: string | null;
5969
- organizationNumber?: string | null;
5970
- threeLetterIsoCountry?: string | null;
5971
- }
5972
- export interface SupplierInviteDto {
5973
- id: string;
5974
- supplierId: string;
5975
- name: string;
5976
- username: string;
5977
- deadline: Date;
5978
- createdTime: Date;
5979
- createdBy: string;
5980
- }
5981
- export interface CreateSupplierInvite {
5982
- supplierId: string;
5983
- name: string;
5984
- username: string;
5985
- deadline: Date;
5986
- }
5987
- export interface ExternalSupplierDto {
5988
- id: string;
5989
- name: string;
5990
- companyId: string;
5991
- active: boolean;
5992
- }
5993
- export interface ImportSupplier {
5994
- supplierId: string;
5995
- name: string;
5996
- organizationNumber?: string | null;
5997
- threeLetterIsoCountry: string;
5998
- users: ImportSupplierUserDto[];
5999
- }
6000
- export interface ImportSupplierUserDto {
6001
- username: string;
6002
- name: string;
6003
- roles: string[];
6004
- }
6005
- export interface CreateSupplierMapping {
6006
- companyId: string;
6007
- existingSupplierId: string;
6008
- newSupplierId: string;
6009
- }
6010
5937
  export interface CncMachineTransferDto {
6011
5938
  id: string;
6012
5939
  cncMachineOperationId?: string | null;
@@ -9701,7 +9628,6 @@ export interface ListMeasurementFormsRequest {
9701
9628
  pageSize?: number | null;
9702
9629
  search?: string | null;
9703
9630
  continuationToken?: string | null;
9704
- tenantId?: string | null;
9705
9631
  inactive?: boolean | null;
9706
9632
  includeInactiveSupplierAccess?: boolean | null;
9707
9633
  }
@@ -9897,7 +9823,6 @@ export interface UpsertSupplierToMeasurementFormInstanceRequest {
9897
9823
  externalOrderNumber?: string | null;
9898
9824
  }
9899
9825
  export interface ExportDimensionReportV2Request {
9900
- tenantId?: string | null;
9901
9826
  type: DimensionReportType;
9902
9827
  extras?: DimensionReportExtras | null;
9903
9828
  specificSerialNumbers?: string[] | null;
@@ -10243,6 +10168,105 @@ export interface SetDiscussionLastReadRequest {
10243
10168
  operationId?: string | null;
10244
10169
  resourceId?: string | null;
10245
10170
  }
10171
+ export interface CompanyUserDto {
10172
+ companyId: string;
10173
+ userObjectId: string;
10174
+ username?: string | null;
10175
+ name?: string | null;
10176
+ roles: string[];
10177
+ }
10178
+ export interface CreateCompanyUser {
10179
+ username: string;
10180
+ name: string;
10181
+ roles: string[];
10182
+ companyId?: string | null;
10183
+ }
10184
+ export interface UpdateCompanyUserRequest {
10185
+ roles: string[];
10186
+ companyId?: string | null;
10187
+ }
10188
+ export interface ExternalRoleDto {
10189
+ id: string;
10190
+ name: string;
10191
+ }
10192
+ export interface CompanyCustomerDto {
10193
+ customerTenantId?: string | null;
10194
+ customerAzureAdTenantId?: string | null;
10195
+ customerName?: string | null;
10196
+ supplierId?: string | null;
10197
+ supplierName?: string | null;
10198
+ customerIgnosPortalPrefix?: string | null;
10199
+ }
10200
+ export interface CompanyDto {
10201
+ id: string;
10202
+ name: string;
10203
+ organizationNumber?: string | null;
10204
+ country: string;
10205
+ tenantId?: string | null;
10206
+ }
10207
+ export interface SupplierInviteDto {
10208
+ id: string;
10209
+ supplierId: string;
10210
+ threeLetterIsoCountry: string;
10211
+ organizationNumber: string;
10212
+ supplierName?: string | null;
10213
+ userId: string;
10214
+ userName?: string | null;
10215
+ acceptedTimestamp?: Date | null;
10216
+ createdTime: Date;
10217
+ createdBy: string;
10218
+ }
10219
+ export interface CurrentSupplierInviteDto extends SupplierInviteDto {
10220
+ matchingCustomerOrCompany?: MatchingCustomerOrCompany | null;
10221
+ }
10222
+ export interface MatchingCustomerOrCompany {
10223
+ customer?: IgnosCustomerDto | null;
10224
+ company?: CompanyDto | null;
10225
+ companyCustomers?: CompanyCustomerDto[];
10226
+ }
10227
+ export interface IgnosCustomerDto {
10228
+ id: string;
10229
+ name: string;
10230
+ contactPerson: ContactPersonDto;
10231
+ threeLetterIsoCountry: string;
10232
+ organizationNumber: string;
10233
+ country: string;
10234
+ tenants: AvailableTenantDto[];
10235
+ }
10236
+ export interface ContactPersonDto {
10237
+ name: string;
10238
+ phone: string;
10239
+ email: string;
10240
+ }
10241
+ export interface TenantWithSupplierDto {
10242
+ tenantId: string;
10243
+ customerName: string;
10244
+ supplierTenantEntraId: string;
10245
+ }
10246
+ export interface CreateSupplierInviteRequest {
10247
+ supplierId: string;
10248
+ threeLetterIsoCountry: string;
10249
+ organizationNumber: string;
10250
+ supplierName?: string | null;
10251
+ username: string;
10252
+ invitedName: string;
10253
+ }
10254
+ export interface ExternalSupplierDto {
10255
+ id: string;
10256
+ name: string;
10257
+ companyId: string;
10258
+ active: boolean;
10259
+ }
10260
+ export interface CreateSupplierMapping {
10261
+ companyId: string;
10262
+ existingSupplierId: string;
10263
+ newSupplierId: string;
10264
+ }
10265
+ export interface OrganizationDto {
10266
+ name?: string;
10267
+ postalAddress?: string | null;
10268
+ registeredAddress?: string | null;
10269
+ }
10246
10270
  export type FeatureCollectionType = "FeatureCollection";
10247
10271
  export interface Features {
10248
10272
  type: FeaturesType;