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