@ignos/api-client 20260303.68.1-alpha → 20260304.70.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -124,7 +124,6 @@ export declare class CustomersClient extends AuthorizedApiBase implements ICusto
124
124
  }
125
125
  export interface IGuestsClient {
126
126
  getGuestLoginInfo(search: string | undefined): Promise<GuestLoginInfoDto>;
127
- getSupplierLoginInfo(search: string | undefined): Promise<GuestLoginInfoDto>;
128
127
  }
129
128
  export declare class GuestsClient extends AuthorizedApiBase implements IGuestsClient {
130
129
  private http;
@@ -134,8 +133,6 @@ export declare class GuestsClient extends AuthorizedApiBase implements IGuestsCl
134
133
  });
135
134
  getGuestLoginInfo(search: string | undefined): Promise<GuestLoginInfoDto>;
136
135
  protected processGetGuestLoginInfo(response: Response): Promise<GuestLoginInfoDto>;
137
- getSupplierLoginInfo(search: string | undefined): Promise<GuestLoginInfoDto>;
138
- protected processGetSupplierLoginInfo(response: Response): Promise<GuestLoginInfoDto>;
139
136
  }
140
137
  export interface IPresentationClient {
141
138
  getComponentSettings(componentId: string): Promise<ComponentSettingsDto>;
@@ -1428,6 +1425,99 @@ export declare class DocumentTypesClient extends AuthorizedApiBase implements ID
1428
1425
  listDocumentGenerators(): Promise<DocumentGeneratorTypeDto[]>;
1429
1426
  protected processListDocumentGenerators(response: Response): Promise<DocumentGeneratorTypeDto[]>;
1430
1427
  }
1428
+ export interface IExternalAccessClient {
1429
+ listUsers(companyId: string | null | undefined): Promise<CompanyUserDto[]>;
1430
+ createCompanyUser(request: CreateCompanyUserRequest): Promise<CompanyUserDto>;
1431
+ updateCompanyUser(id: string, request: UpdateCompanyUserRequest): Promise<CompanyUserDto>;
1432
+ deleteCompanyUser(id: string, companyId: string | null | undefined): Promise<void>;
1433
+ listRoles(): Promise<ExternalRoleDto[]>;
1434
+ listCompanyCustomers(): Promise<CompanyCustomerDto[]>;
1435
+ deleteCompanyCustomer(tenantId: string): Promise<void>;
1436
+ }
1437
+ export declare class ExternalAccessClient extends AuthorizedApiBase implements IExternalAccessClient {
1438
+ private http;
1439
+ private baseUrl;
1440
+ constructor(configuration: IAccessTokenProvider, baseUrl?: string, http?: {
1441
+ fetch(url: RequestInfo, init?: RequestInit): Promise<Response>;
1442
+ });
1443
+ listUsers(companyId: string | null | undefined): Promise<CompanyUserDto[]>;
1444
+ protected processListUsers(response: Response): Promise<CompanyUserDto[]>;
1445
+ createCompanyUser(request: CreateCompanyUserRequest): Promise<CompanyUserDto>;
1446
+ protected processCreateCompanyUser(response: Response): Promise<CompanyUserDto>;
1447
+ updateCompanyUser(id: string, request: UpdateCompanyUserRequest): Promise<CompanyUserDto>;
1448
+ protected processUpdateCompanyUser(response: Response): Promise<CompanyUserDto>;
1449
+ deleteCompanyUser(id: string, companyId: string | null | undefined): Promise<void>;
1450
+ protected processDeleteCompanyUser(response: Response): Promise<void>;
1451
+ listRoles(): Promise<ExternalRoleDto[]>;
1452
+ protected processListRoles(response: Response): Promise<ExternalRoleDto[]>;
1453
+ listCompanyCustomers(): Promise<CompanyCustomerDto[]>;
1454
+ protected processListCompanyCustomers(response: Response): Promise<CompanyCustomerDto[]>;
1455
+ deleteCompanyCustomer(tenantId: string): Promise<void>;
1456
+ protected processDeleteCompanyCustomer(response: Response): Promise<void>;
1457
+ }
1458
+ export interface IExternalClient {
1459
+ listInvites(): Promise<InviteDto[]>;
1460
+ acceptSupplierInvite(request: AcceptSupplierInviteRequest): Promise<CompanyDto>;
1461
+ listCompanies(): Promise<CompanyDto[]>;
1462
+ }
1463
+ export declare class ExternalClient extends AuthorizedApiBase implements IExternalClient {
1464
+ private http;
1465
+ private baseUrl;
1466
+ constructor(configuration: IAccessTokenProvider, baseUrl?: string, http?: {
1467
+ fetch(url: RequestInfo, init?: RequestInit): Promise<Response>;
1468
+ });
1469
+ listInvites(): Promise<InviteDto[]>;
1470
+ protected processListInvites(response: Response): Promise<InviteDto[]>;
1471
+ acceptSupplierInvite(request: AcceptSupplierInviteRequest): Promise<CompanyDto>;
1472
+ protected processAcceptSupplierInvite(response: Response): Promise<CompanyDto>;
1473
+ listCompanies(): Promise<CompanyDto[]>;
1474
+ protected processListCompanies(response: Response): Promise<CompanyDto[]>;
1475
+ }
1476
+ export interface ISuppliersClient {
1477
+ listSupplierInvites(): Promise<SupplierInviteDto[]>;
1478
+ createSupplierInvite(request: CreateSupplierInvite): Promise<SupplierInviteDto>;
1479
+ deleteSupplierInvite(id: string): Promise<void>;
1480
+ listSuppliers(): Promise<ExternalSupplierDto[]>;
1481
+ deleteSupplier(id: string): Promise<void>;
1482
+ importSupplier(importSupplier: ImportSupplier): Promise<ExternalSupplierDto>;
1483
+ /**
1484
+ * Creates a mapping between old supplier id and new supplier id.
1485
+ */
1486
+ createSupplierMapping(request: CreateSupplierMapping): Promise<void>;
1487
+ /**
1488
+ * Delete all supplier mappings between old supplier ids and new supplier ids.
1489
+ */
1490
+ deleteSupplierMappings(): Promise<void>;
1491
+ }
1492
+ export declare class SuppliersClient extends AuthorizedApiBase implements ISuppliersClient {
1493
+ private http;
1494
+ private baseUrl;
1495
+ constructor(configuration: IAccessTokenProvider, baseUrl?: string, http?: {
1496
+ fetch(url: RequestInfo, init?: RequestInit): Promise<Response>;
1497
+ });
1498
+ listSupplierInvites(): Promise<SupplierInviteDto[]>;
1499
+ protected processListSupplierInvites(response: Response): Promise<SupplierInviteDto[]>;
1500
+ createSupplierInvite(request: CreateSupplierInvite): Promise<SupplierInviteDto>;
1501
+ protected processCreateSupplierInvite(response: Response): Promise<SupplierInviteDto>;
1502
+ deleteSupplierInvite(id: string): Promise<void>;
1503
+ protected processDeleteSupplierInvite(response: Response): Promise<void>;
1504
+ listSuppliers(): Promise<ExternalSupplierDto[]>;
1505
+ protected processListSuppliers(response: Response): Promise<ExternalSupplierDto[]>;
1506
+ deleteSupplier(id: string): Promise<void>;
1507
+ protected processDeleteSupplier(response: Response): Promise<void>;
1508
+ importSupplier(importSupplier: ImportSupplier): Promise<ExternalSupplierDto>;
1509
+ protected processImportSupplier(response: Response): Promise<ExternalSupplierDto>;
1510
+ /**
1511
+ * Creates a mapping between old supplier id and new supplier id.
1512
+ */
1513
+ createSupplierMapping(request: CreateSupplierMapping): Promise<void>;
1514
+ protected processCreateSupplierMapping(response: Response): Promise<void>;
1515
+ /**
1516
+ * Delete all supplier mappings between old supplier ids and new supplier ids.
1517
+ */
1518
+ deleteSupplierMappings(): Promise<void>;
1519
+ protected processDeleteSupplierMappings(response: Response): Promise<void>;
1520
+ }
1431
1521
  export interface ICncFileTransferClient {
1432
1522
  startCncMachineOperationTransferToCloud(id: string): Promise<CncMachineTransferDto>;
1433
1523
  startCncMachineOperationTransferToMachine(id: string): Promise<CncMachineTransferDto>;
@@ -1869,6 +1959,24 @@ export declare class CdfClient extends AuthorizedApiBase implements ICdfClient {
1869
1959
  updateCdfConfig(request: UpdateCdfConfig): Promise<CdfConfigDto>;
1870
1960
  protected processUpdateCdfConfig(response: Response): Promise<CdfConfigDto>;
1871
1961
  }
1962
+ export interface IWorkspaceDefaultsAdminClient {
1963
+ getDefaults(): Promise<WorkspaceDefaultsDto>;
1964
+ setMachineDefault(machineId: string, templateId: string): Promise<WorkspaceDefaultsDto>;
1965
+ deleteMachineDefault(machineId: string): Promise<void>;
1966
+ }
1967
+ export declare class WorkspaceDefaultsAdminClient extends AuthorizedApiBase implements IWorkspaceDefaultsAdminClient {
1968
+ private http;
1969
+ private baseUrl;
1970
+ constructor(configuration: IAccessTokenProvider, baseUrl?: string, http?: {
1971
+ fetch(url: RequestInfo, init?: RequestInit): Promise<Response>;
1972
+ });
1973
+ getDefaults(): Promise<WorkspaceDefaultsDto>;
1974
+ protected processGetDefaults(response: Response): Promise<WorkspaceDefaultsDto>;
1975
+ setMachineDefault(machineId: string, templateId: string): Promise<WorkspaceDefaultsDto>;
1976
+ protected processSetMachineDefault(response: Response): Promise<WorkspaceDefaultsDto>;
1977
+ deleteMachineDefault(machineId: string): Promise<void>;
1978
+ protected processDeleteMachineDefault(response: Response): Promise<void>;
1979
+ }
1872
1980
  export interface IWorkspacesClient {
1873
1981
  getMyWorkspaces(): Promise<WorkspaceListDto[]>;
1874
1982
  createWorkspace(createWorkspace: CreateWorkspace): Promise<WorkspaceDto>;
@@ -1879,6 +1987,7 @@ export interface IWorkspacesClient {
1879
1987
  updateWorkspaceWidgets(id: string, request: UpdateWorkspaceWidgetsRequest): Promise<WorkspaceDto>;
1880
1988
  updateWorkspaceWidgetSettings(id: string, widgetId: string, request: UpdateWorkspaceWidgetSettingsRequest): Promise<WorkspaceDto>;
1881
1989
  deleteWorkspaceWidget(id: string, widgetId: string): Promise<WorkspaceDto>;
1990
+ resolveDefault(request: ResolveDefaultWorkspaceRequestDto): Promise<ResolveDefaultWorkspaceDto>;
1882
1991
  }
1883
1992
  export declare class WorkspacesClient extends AuthorizedApiBase implements IWorkspacesClient {
1884
1993
  private http;
@@ -1904,6 +2013,8 @@ export declare class WorkspacesClient extends AuthorizedApiBase implements IWork
1904
2013
  protected processUpdateWorkspaceWidgetSettings(response: Response): Promise<WorkspaceDto>;
1905
2014
  deleteWorkspaceWidget(id: string, widgetId: string): Promise<WorkspaceDto>;
1906
2015
  protected processDeleteWorkspaceWidget(response: Response): Promise<WorkspaceDto>;
2016
+ resolveDefault(request: ResolveDefaultWorkspaceRequestDto): Promise<ResolveDefaultWorkspaceDto>;
2017
+ protected processResolveDefault(response: Response): Promise<ResolveDefaultWorkspaceDto>;
1907
2018
  }
1908
2019
  export interface IWorkspaceTemplatesAdminClient {
1909
2020
  createWorkspaceTemplate(createWorkspaceTemplate: CreateWorkspaceTemplate): Promise<WorkspaceDto>;
@@ -3099,99 +3210,6 @@ export declare class WorkordersClient extends AuthorizedApiBase implements IWork
3099
3210
  generateContentPartsForDiscussions(): Promise<WorkorderDiscussionMessageDto[]>;
3100
3211
  protected processGenerateContentPartsForDiscussions(response: Response): Promise<WorkorderDiscussionMessageDto[]>;
3101
3212
  }
3102
- export interface IExternalAccessClient {
3103
- listUsers(companyId: string | null | undefined): Promise<CompanyUserDto[]>;
3104
- createCompanyUser(request: CreateCompanyUser): Promise<CompanyUserDto>;
3105
- updateCompanyUser(id: string, request: UpdateCompanyUserRequest): Promise<CompanyUserDto>;
3106
- deleteCompanyUser(id: string, companyId: string | null | undefined): Promise<void>;
3107
- listRoles(): Promise<ExternalRoleDto[]>;
3108
- listCompanyCustomers(): Promise<CompanyCustomerDto[]>;
3109
- deleteCompanyCustomer(tenantId: string): Promise<void>;
3110
- }
3111
- export declare class ExternalAccessClient extends AuthorizedApiBase implements IExternalAccessClient {
3112
- private http;
3113
- private baseUrl;
3114
- constructor(configuration: IAccessTokenProvider, baseUrl?: string, http?: {
3115
- fetch(url: RequestInfo, init?: RequestInit): Promise<Response>;
3116
- });
3117
- listUsers(companyId: string | null | undefined): Promise<CompanyUserDto[]>;
3118
- protected processListUsers(response: Response): Promise<CompanyUserDto[]>;
3119
- createCompanyUser(request: CreateCompanyUser): Promise<CompanyUserDto>;
3120
- protected processCreateCompanyUser(response: Response): Promise<CompanyUserDto>;
3121
- updateCompanyUser(id: string, request: UpdateCompanyUserRequest): Promise<CompanyUserDto>;
3122
- protected processUpdateCompanyUser(response: Response): Promise<CompanyUserDto>;
3123
- deleteCompanyUser(id: string, companyId: string | null | undefined): Promise<void>;
3124
- protected processDeleteCompanyUser(response: Response): Promise<void>;
3125
- listRoles(): Promise<ExternalRoleDto[]>;
3126
- protected processListRoles(response: Response): Promise<ExternalRoleDto[]>;
3127
- listCompanyCustomers(): Promise<CompanyCustomerDto[]>;
3128
- protected processListCompanyCustomers(response: Response): Promise<CompanyCustomerDto[]>;
3129
- deleteCompanyCustomer(tenantId: string): Promise<void>;
3130
- protected processDeleteCompanyCustomer(response: Response): Promise<void>;
3131
- }
3132
- export interface IExternalClient {
3133
- listCompanies(): Promise<CompanyDto[]>;
3134
- getCompany(id: string): Promise<CompanyDto>;
3135
- getCurrentSupplierInvite(): Promise<SupplierInviteDto>;
3136
- acceptSupplierInvite(request: AcceptSupplierInvite): Promise<SupplierInviteDto>;
3137
- }
3138
- export declare class ExternalClient extends AuthorizedApiBase implements IExternalClient {
3139
- private http;
3140
- private baseUrl;
3141
- constructor(configuration: IAccessTokenProvider, baseUrl?: string, http?: {
3142
- fetch(url: RequestInfo, init?: RequestInit): Promise<Response>;
3143
- });
3144
- listCompanies(): Promise<CompanyDto[]>;
3145
- protected processListCompanies(response: Response): Promise<CompanyDto[]>;
3146
- getCompany(id: string): Promise<CompanyDto>;
3147
- protected processGetCompany(response: Response): Promise<CompanyDto>;
3148
- getCurrentSupplierInvite(): Promise<SupplierInviteDto>;
3149
- protected processGetCurrentSupplierInvite(response: Response): Promise<SupplierInviteDto>;
3150
- acceptSupplierInvite(request: AcceptSupplierInvite): Promise<SupplierInviteDto>;
3151
- protected processAcceptSupplierInvite(response: Response): Promise<SupplierInviteDto>;
3152
- }
3153
- export interface ISuppliersClient {
3154
- listSupplierInvites(): Promise<SupplierInviteDto[]>;
3155
- createSupplierInvite(request: CreateSupplierInvite): Promise<SupplierInviteDto>;
3156
- deleteSupplierInvite(id: string): Promise<void>;
3157
- listSuppliers(): Promise<ExternalSupplierDto[]>;
3158
- deleteSupplier(id: string): Promise<void>;
3159
- /**
3160
- * Creates a mapping between old supplier id and new supplier id.
3161
- */
3162
- createSupplierMapping(request: CreateSupplierMapping): Promise<void>;
3163
- /**
3164
- * Delete all supplier mappings between old supplier ids and new supplier ids.
3165
- */
3166
- deleteSupplierMappings(): Promise<void>;
3167
- }
3168
- export declare class SuppliersClient extends AuthorizedApiBase implements ISuppliersClient {
3169
- private http;
3170
- private baseUrl;
3171
- constructor(configuration: IAccessTokenProvider, baseUrl?: string, http?: {
3172
- fetch(url: RequestInfo, init?: RequestInit): Promise<Response>;
3173
- });
3174
- listSupplierInvites(): Promise<SupplierInviteDto[]>;
3175
- protected processListSupplierInvites(response: Response): Promise<SupplierInviteDto[]>;
3176
- createSupplierInvite(request: CreateSupplierInvite): Promise<SupplierInviteDto>;
3177
- protected processCreateSupplierInvite(response: Response): Promise<SupplierInviteDto>;
3178
- deleteSupplierInvite(id: string): Promise<void>;
3179
- protected processDeleteSupplierInvite(response: Response): Promise<void>;
3180
- listSuppliers(): Promise<ExternalSupplierDto[]>;
3181
- protected processListSuppliers(response: Response): Promise<ExternalSupplierDto[]>;
3182
- deleteSupplier(id: string): Promise<void>;
3183
- protected processDeleteSupplier(response: Response): Promise<void>;
3184
- /**
3185
- * Creates a mapping between old supplier id and new supplier id.
3186
- */
3187
- createSupplierMapping(request: CreateSupplierMapping): Promise<void>;
3188
- protected processCreateSupplierMapping(response: Response): Promise<void>;
3189
- /**
3190
- * Delete all supplier mappings between old supplier ids and new supplier ids.
3191
- */
3192
- deleteSupplierMappings(): Promise<void>;
3193
- protected processDeleteSupplierMappings(response: Response): Promise<void>;
3194
- }
3195
3213
  export interface IMaterialCertificateChecksClient {
3196
3214
  listMaterialCertificateChecks(request: AmcMaterialChecksPageRequestDto): Promise<AmcMaterialChecksPageDto>;
3197
3215
  getMaterialCertificateCheck(id: string): Promise<AmcMaterialCheckDto>;
@@ -3216,7 +3234,7 @@ export declare class MaterialCertificateChecksClient extends AuthorizedApiBase i
3216
3234
  export interface IMaterialCertificateSpecificationsClient {
3217
3235
  listSpecifications(): Promise<AmcSpecificationLiteDto[]>;
3218
3236
  getSpecification(id: string, version: number | null | undefined): Promise<AmcSpecificationDto>;
3219
- createSpecifications(specificationsRequest: CreateAmcSpecificationDto): Promise<AmcSpecificationDto>;
3237
+ createSpecifications(createDto: CreateAmcSpecificationDto): Promise<AmcSpecificationDto>;
3220
3238
  updateSpecifications(specificationsRequest: UpdateAmcSpecificationDto): Promise<AmcSpecificationDto>;
3221
3239
  deleteMaterialCertificateTypes(materialCertificateSpecificationId: string, version: string): Promise<void>;
3222
3240
  }
@@ -3230,7 +3248,7 @@ export declare class MaterialCertificateSpecificationsClient extends AuthorizedA
3230
3248
  protected processListSpecifications(response: Response): Promise<AmcSpecificationLiteDto[]>;
3231
3249
  getSpecification(id: string, version: number | null | undefined): Promise<AmcSpecificationDto>;
3232
3250
  protected processGetSpecification(response: Response): Promise<AmcSpecificationDto>;
3233
- createSpecifications(specificationsRequest: CreateAmcSpecificationDto): Promise<AmcSpecificationDto>;
3251
+ createSpecifications(createDto: CreateAmcSpecificationDto): Promise<AmcSpecificationDto>;
3234
3252
  protected processCreateSpecifications(response: Response): Promise<AmcSpecificationDto>;
3235
3253
  updateSpecifications(specificationsRequest: UpdateAmcSpecificationDto): Promise<AmcSpecificationDto>;
3236
3254
  protected processUpdateSpecifications(response: Response): Promise<AmcSpecificationDto>;
@@ -3494,7 +3512,6 @@ export interface UserDetailsDto {
3494
3512
  isExternalUser?: boolean;
3495
3513
  isBetaTester?: boolean | null;
3496
3514
  hasAccessToIgnos?: boolean;
3497
- isInvitedUser?: boolean;
3498
3515
  }
3499
3516
  export interface UserDto {
3500
3517
  id?: string | null;
@@ -3903,6 +3920,7 @@ export interface UpdateCalendarSettingsCommand {
3903
3920
  };
3904
3921
  halfDayHours?: number;
3905
3922
  holidayHours?: number;
3923
+ defaultPerformancePercent?: number | null;
3906
3924
  }
3907
3925
  export interface ResourceKpiDto {
3908
3926
  uptimeToNow: number;
@@ -4216,6 +4234,7 @@ export interface UtilizationDetailsV2Dto {
4216
4234
  uptimeInMilliseconds?: number | null;
4217
4235
  downtimeInMilliseconds?: number | null;
4218
4236
  totalTimeInMilliseconds?: number | null;
4237
+ performancePercent?: number | null;
4219
4238
  }
4220
4239
  export interface MachineGroupUtilizationV2Dto {
4221
4240
  name: string;
@@ -5360,6 +5379,97 @@ export interface DocumentGeneratorTypeDto {
5360
5379
  key: string;
5361
5380
  description: string;
5362
5381
  }
5382
+ export interface CompanyUserDto {
5383
+ companyId?: string | null;
5384
+ username?: string | null;
5385
+ name?: string | null;
5386
+ roles?: string[] | null;
5387
+ }
5388
+ export interface CreateCompanyUserRequest {
5389
+ username: string;
5390
+ name: string;
5391
+ roles: string[];
5392
+ companyId?: string | null;
5393
+ }
5394
+ export interface UpdateCompanyUserRequest {
5395
+ name: string;
5396
+ roles: string[];
5397
+ companyId?: string | null;
5398
+ }
5399
+ export interface ExternalRoleDto {
5400
+ id: string;
5401
+ name: string;
5402
+ }
5403
+ export interface CompanyCustomerDto {
5404
+ customerTenantId?: string | null;
5405
+ customerAzureAdTenantId?: string | null;
5406
+ customerName?: string | null;
5407
+ supplierId?: string | null;
5408
+ supplierName?: string | null;
5409
+ }
5410
+ export interface InviteDto {
5411
+ tenantId: string;
5412
+ companyName: string;
5413
+ id: string;
5414
+ supplierId: string;
5415
+ supplierName: string;
5416
+ username: string;
5417
+ deadline: Date;
5418
+ createdTime: Date;
5419
+ createdBy: string;
5420
+ }
5421
+ export interface CompanyDto {
5422
+ id?: string | null;
5423
+ name?: string | null;
5424
+ organizationNumber?: string | null;
5425
+ country?: string | null;
5426
+ tenantId?: string | null;
5427
+ }
5428
+ export interface AcceptSupplierInviteRequest {
5429
+ tenantId: string;
5430
+ existingCompanyId?: string | null;
5431
+ companyName?: string | null;
5432
+ organizationNumber?: string | null;
5433
+ threeLetterIsoCountry?: string | null;
5434
+ }
5435
+ export interface SupplierInviteDto {
5436
+ id: string;
5437
+ supplierId: string;
5438
+ name: string;
5439
+ username: string;
5440
+ deadline: Date;
5441
+ createdTime: Date;
5442
+ createdBy: string;
5443
+ }
5444
+ export interface CreateSupplierInvite {
5445
+ supplierId: string;
5446
+ name: string;
5447
+ username: string;
5448
+ deadline: Date;
5449
+ }
5450
+ export interface ExternalSupplierDto {
5451
+ id: string;
5452
+ name: string;
5453
+ companyId: string;
5454
+ active: boolean;
5455
+ }
5456
+ export interface ImportSupplier {
5457
+ supplierId: string;
5458
+ name: string;
5459
+ organizationNumber?: string | null;
5460
+ threeLetterIsoCountry: string;
5461
+ users: ImportSupplierUserDto[];
5462
+ }
5463
+ export interface ImportSupplierUserDto {
5464
+ username: string;
5465
+ name: string;
5466
+ roles: string[];
5467
+ }
5468
+ export interface CreateSupplierMapping {
5469
+ companyId: string;
5470
+ existingSupplierId: string;
5471
+ newSupplierId: string;
5472
+ }
5363
5473
  export interface CncMachineTransferDto {
5364
5474
  id: string;
5365
5475
  cncMachineOperationId?: string | null;
@@ -6212,6 +6322,11 @@ export interface UpdateCdfConfig {
6212
6322
  clientId: string;
6213
6323
  clientSecret?: string | null;
6214
6324
  }
6325
+ export interface WorkspaceDefaultsDto {
6326
+ machineTemplateOverrides?: {
6327
+ [key: string]: string;
6328
+ };
6329
+ }
6215
6330
  export interface WorkspaceListDto {
6216
6331
  id: string;
6217
6332
  name: string;
@@ -6261,6 +6376,12 @@ export interface UpdateWorkspaceWidgetsRequest {
6261
6376
  export interface UpdateWorkspaceWidgetSettingsRequest {
6262
6377
  settings: string;
6263
6378
  }
6379
+ export interface ResolveDefaultWorkspaceDto {
6380
+ workspaceId?: string | null;
6381
+ }
6382
+ export interface ResolveDefaultWorkspaceRequestDto {
6383
+ machineId: string;
6384
+ }
6264
6385
  export interface CreateWorkspaceTemplate {
6265
6386
  name: string;
6266
6387
  description?: string | null;
@@ -8363,78 +8484,6 @@ export interface SetDiscussionLastReadRequest {
8363
8484
  operationId?: string | null;
8364
8485
  resourceId?: string | null;
8365
8486
  }
8366
- export interface CompanyUserDto {
8367
- companyId: string;
8368
- userObjectId: string;
8369
- username?: string | null;
8370
- name?: string | null;
8371
- roles: string[];
8372
- }
8373
- export interface CreateCompanyUser {
8374
- username: string;
8375
- name: string;
8376
- roles: string[];
8377
- companyId?: string | null;
8378
- }
8379
- export interface UpdateCompanyUserRequest {
8380
- roles: string[];
8381
- companyId?: string | null;
8382
- }
8383
- export interface ExternalRoleDto {
8384
- id: string;
8385
- name: string;
8386
- }
8387
- export interface CompanyCustomerDto {
8388
- customerTenantId?: string | null;
8389
- customerAzureAdTenantId?: string | null;
8390
- customerName?: string | null;
8391
- supplierId?: string | null;
8392
- supplierName?: string | null;
8393
- }
8394
- export interface CompanyDto {
8395
- id?: string;
8396
- name?: string;
8397
- organizationNumber?: string | null;
8398
- country?: string;
8399
- tenantId?: string | null;
8400
- }
8401
- export interface SupplierInviteDto {
8402
- id: string;
8403
- supplierId: string;
8404
- supplierName?: string | null;
8405
- customerName?: string | null;
8406
- userId: string;
8407
- userName?: string | null;
8408
- companyId?: string | null;
8409
- deadline: Date;
8410
- acceptedTimestamp?: Date | null;
8411
- createdTime: Date;
8412
- createdBy: string;
8413
- }
8414
- export interface AcceptSupplierInvite {
8415
- companyName?: string;
8416
- organizationNumber?: string;
8417
- threeLetterIsoCountry?: string;
8418
- }
8419
- export interface CreateSupplierInvite {
8420
- supplierId: string;
8421
- supplierName?: string | null;
8422
- username: string;
8423
- invitedName: string;
8424
- deadline: Date;
8425
- existingCompanyId?: string | null;
8426
- }
8427
- export interface ExternalSupplierDto {
8428
- id: string;
8429
- name: string;
8430
- companyId: string;
8431
- active: boolean;
8432
- }
8433
- export interface CreateSupplierMapping {
8434
- companyId: string;
8435
- existingSupplierId: string;
8436
- newSupplierId: string;
8437
- }
8438
8487
  export interface AmcMaterialChecksPageDto {
8439
8488
  items: AmcMaterialCheckLiteDto[];
8440
8489
  continuationToken?: string | null;
@@ -8485,7 +8534,7 @@ export interface AmcMaterialChecksPageRequestDto {
8485
8534
  statusFilter: AmcMaterialCheckStatus[];
8486
8535
  continuationToken?: string | null;
8487
8536
  }
8488
- export type AmcMaterialChecksOrderByColumn = "OriginalReport" | "GeneratedReport" | "Customer" | "Project" | "PurchaseOrder" | "WorkOrder" | "CertificateType" | "Line" | "Item" | "Heat" | "Lot" | "Date" | "Status";
8537
+ export type AmcMaterialChecksOrderByColumn = "OriginalReport" | "GeneratedReport" | "Customer" | "Project" | "PurchaseOrder" | "WorkOrder" | "CertificateType" | "Line" | "Item" | "Heat" | "Lot" | "Date" | "Status" | "NotSet";
8489
8538
  export interface AmcMaterialCheckDto {
8490
8539
  materialCheckId: string;
8491
8540
  originalMaterialCertificate: FileDto;
@@ -8660,8 +8709,8 @@ export interface AmcSpecificationHeatTreatmentsResultLineDto {
8660
8709
  status: AmcSpecificationResultLineStatus;
8661
8710
  override?: AmcResultLineOverrideDto | null;
8662
8711
  }
8663
- export type AmcHeatingTreatmentMethod = "Annealing" | "Normalizing" | "Quenching" | "Tempering" | "StressRelieving" | "SolutionTreating" | "Aging" | "Austempering" | "Martempering";
8664
- export type AmcCoolingTreatmentMethod = "AirCooling" | "OilQuenching" | "WaterQuenching" | "FurnaceCooling" | "AirBlastCooling" | "PolymerQuenching";
8712
+ export type AmcHeatingTreatmentMethod = "Annealing" | "Normalizing" | "Quenching" | "Tempering" | "StressRelieving" | "SolutionTreating" | "Aging" | "Austempering" | "Martempering" | "NotSet";
8713
+ export type AmcCoolingTreatmentMethod = "AirCooling" | "OilQuenching" | "WaterQuenching" | "FurnaceCooling" | "AirBlastCooling" | "PolymerQuenching" | "NotSet";
8665
8714
  export interface ProcessAmcCheckRequestDto {
8666
8715
  files: UploadFileDto[];
8667
8716
  specificationId: string;
@@ -8786,7 +8835,9 @@ export interface AmcUpdateSpecificationFerriteResultsDto {
8786
8835
  export interface AmcUpdateSpecificationHeatTreatmentResultsDto {
8787
8836
  heatTreatmentOverrides: (AmcUpdateSpecificationResultLineDto | null)[];
8788
8837
  }
8789
- export interface AmcSpecificationLiteDto {
8838
+ export interface AmcCdfEntityReadBase {
8839
+ }
8840
+ export interface AmcSpecificationLiteDto extends AmcCdfEntityReadBase {
8790
8841
  specificationId: string;
8791
8842
  version: number;
8792
8843
  name: string;
@@ -8799,11 +8850,11 @@ export interface AmcSpecificationLiteDto {
8799
8850
  created: Date;
8800
8851
  createdBy: string;
8801
8852
  createdById: string;
8802
- updatedBy?: string | null;
8803
- updatedById?: string | null;
8853
+ updatedBy: string;
8854
+ updatedById: string;
8804
8855
  }
8805
8856
  export type AmcSpecificationStatus = "Draft" | "Released" | "Expired" | "Rejected" | "NotSet";
8806
- export interface AmcSpecificationDto {
8857
+ export interface AmcSpecificationDto extends AmcCdfEntityReadBase {
8807
8858
  specificationId: string;
8808
8859
  version: number;
8809
8860
  allVersions: AmcSpecificationVersionDto[];
@@ -8817,12 +8868,13 @@ export interface AmcSpecificationDto {
8817
8868
  created: Date;
8818
8869
  createdBy: string;
8819
8870
  createdById: string;
8820
- updatedBy?: string | null;
8821
- updatedById?: string | null;
8822
- chemistrySpecification: AmcChemistrySpecificationDto;
8823
- mechanicalSpecification: AmcMechanicalSpecificationDto;
8824
- ferriteSpecification: AmcFerriteSpecificationDto;
8825
- heatSpecification: AmcHeatTreatmentSpecificationDto;
8871
+ updatedBy: string;
8872
+ updatedById: string;
8873
+ updated: Date;
8874
+ chemistrySpecification?: AmcChemistrySpecificationDto | null;
8875
+ mechanicalSpecification?: AmcMechanicalSpecificationDto | null;
8876
+ ferriteSpecification?: AmcFerriteSpecificationDto | null;
8877
+ heatSpecification?: AmcHeatTreatmentSpecificationDto | null;
8826
8878
  }
8827
8879
  export interface AmcSpecificationVersionDto {
8828
8880
  version?: number;
@@ -8842,14 +8894,14 @@ export interface AmcChemistrySpecificationDto {
8842
8894
  wolfram?: AmcSpecificationLineDto | null;
8843
8895
  iron?: AmcSpecificationLineDto | null;
8844
8896
  }
8845
- export interface AmcSpecificationLineDto {
8897
+ export interface AmcSpecificationLineDto extends AmcCdfEntityReadBase {
8846
8898
  operator: AmcSpecificationOperator;
8847
8899
  value1?: number | null;
8848
8900
  value2?: number | null;
8849
8901
  symbol: AmcSpecificationSymbol;
8850
8902
  }
8851
8903
  export type AmcSpecificationOperator = "Equal" | "GreaterThan" | "LessThan" | "GreaterThanOrEqual" | "LessThanOrEqual" | "Min" | "Max" | "Between" | "NotSet";
8852
- export type AmcSpecificationSymbol = "None" | "Percentage" | "Joule" | "Celsius" | "Farenheit" | "Mpa" | "Hbw";
8904
+ export type AmcSpecificationSymbol = "Percentage" | "Joule" | "Celsius" | "Farenheit" | "Mpa" | "Hbw" | "NotSet";
8853
8905
  export interface AmcMechanicalSpecificationDto {
8854
8906
  yieldStrength?: AmcSpecificationLineDto | null;
8855
8907
  tensileStrength?: AmcSpecificationLineDto | null;
@@ -8873,13 +8925,10 @@ export interface AmcHeatTreatmentsSpecificationDto {
8873
8925
  coolingHoldingTime?: number | null;
8874
8926
  }
8875
8927
  export interface CreateAmcSpecificationDto {
8876
- name: string;
8877
- number: string;
8928
+ specificationName: string;
8929
+ specificationNumber: string;
8878
8930
  revision: string;
8879
8931
  date: Date;
8880
- createCopy: boolean;
8881
- specificationId?: string | null;
8882
- specificationVersion?: string | null;
8883
8932
  specificationFile?: UploadFileDto | null;
8884
8933
  }
8885
8934
  export interface UpdateAmcSpecificationDto {
@@ -8894,8 +8943,6 @@ export interface UpdateAmcSpecificationDto {
8894
8943
  heatSpecification: AmcHeatTreatmentSpecificationDto;
8895
8944
  }
8896
8945
  export type AmcSpecificationStatusUpdate = "NotModified" | "Released" | "Obsolete";
8897
- export interface AmcCdfEntityReadBase {
8898
- }
8899
8946
  export interface AmcCertificateTypeLiteDto extends AmcCdfEntityReadBase {
8900
8947
  certificateTypeId: string;
8901
8948
  version: number;