@ignos/api-client 20260303.68.1-alpha → 20260303.69.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;
@@ -3894,7 +3911,6 @@ export interface CalendarSettingsDto {
3894
3911
  };
3895
3912
  halfDayHours?: number;
3896
3913
  holidayHours?: number;
3897
- defaultPerformancePercent?: number;
3898
3914
  }
3899
3915
  export type DayOfWeek = 0 | 1 | 2 | 3 | 4 | 5 | 6;
3900
3916
  export interface UpdateCalendarSettingsCommand {
@@ -5360,6 +5376,97 @@ export interface DocumentGeneratorTypeDto {
5360
5376
  key: string;
5361
5377
  description: string;
5362
5378
  }
5379
+ export interface CompanyUserDto {
5380
+ companyId?: string | null;
5381
+ username?: string | null;
5382
+ name?: string | null;
5383
+ roles?: string[] | null;
5384
+ }
5385
+ export interface CreateCompanyUserRequest {
5386
+ username: string;
5387
+ name: string;
5388
+ roles: string[];
5389
+ companyId?: string | null;
5390
+ }
5391
+ export interface UpdateCompanyUserRequest {
5392
+ name: string;
5393
+ roles: string[];
5394
+ companyId?: string | null;
5395
+ }
5396
+ export interface ExternalRoleDto {
5397
+ id: string;
5398
+ name: string;
5399
+ }
5400
+ export interface CompanyCustomerDto {
5401
+ customerTenantId?: string | null;
5402
+ customerAzureAdTenantId?: string | null;
5403
+ customerName?: string | null;
5404
+ supplierId?: string | null;
5405
+ supplierName?: string | null;
5406
+ }
5407
+ export interface InviteDto {
5408
+ tenantId: string;
5409
+ companyName: string;
5410
+ id: string;
5411
+ supplierId: string;
5412
+ supplierName: string;
5413
+ username: string;
5414
+ deadline: Date;
5415
+ createdTime: Date;
5416
+ createdBy: string;
5417
+ }
5418
+ export interface CompanyDto {
5419
+ id?: string | null;
5420
+ name?: string | null;
5421
+ organizationNumber?: string | null;
5422
+ country?: string | null;
5423
+ tenantId?: string | null;
5424
+ }
5425
+ export interface AcceptSupplierInviteRequest {
5426
+ tenantId: string;
5427
+ existingCompanyId?: string | null;
5428
+ companyName?: string | null;
5429
+ organizationNumber?: string | null;
5430
+ threeLetterIsoCountry?: string | null;
5431
+ }
5432
+ export interface SupplierInviteDto {
5433
+ id: string;
5434
+ supplierId: string;
5435
+ name: string;
5436
+ username: string;
5437
+ deadline: Date;
5438
+ createdTime: Date;
5439
+ createdBy: string;
5440
+ }
5441
+ export interface CreateSupplierInvite {
5442
+ supplierId: string;
5443
+ name: string;
5444
+ username: string;
5445
+ deadline: Date;
5446
+ }
5447
+ export interface ExternalSupplierDto {
5448
+ id: string;
5449
+ name: string;
5450
+ companyId: string;
5451
+ active: boolean;
5452
+ }
5453
+ export interface ImportSupplier {
5454
+ supplierId: string;
5455
+ name: string;
5456
+ organizationNumber?: string | null;
5457
+ threeLetterIsoCountry: string;
5458
+ users: ImportSupplierUserDto[];
5459
+ }
5460
+ export interface ImportSupplierUserDto {
5461
+ username: string;
5462
+ name: string;
5463
+ roles: string[];
5464
+ }
5465
+ export interface CreateSupplierMapping {
5466
+ companyId: string;
5467
+ existingSupplierId: string;
5468
+ newSupplierId: string;
5469
+ }
5363
5470
  export interface CncMachineTransferDto {
5364
5471
  id: string;
5365
5472
  cncMachineOperationId?: string | null;
@@ -6212,6 +6319,11 @@ export interface UpdateCdfConfig {
6212
6319
  clientId: string;
6213
6320
  clientSecret?: string | null;
6214
6321
  }
6322
+ export interface WorkspaceDefaultsDto {
6323
+ machineTemplateOverrides?: {
6324
+ [key: string]: string;
6325
+ };
6326
+ }
6215
6327
  export interface WorkspaceListDto {
6216
6328
  id: string;
6217
6329
  name: string;
@@ -6261,6 +6373,12 @@ export interface UpdateWorkspaceWidgetsRequest {
6261
6373
  export interface UpdateWorkspaceWidgetSettingsRequest {
6262
6374
  settings: string;
6263
6375
  }
6376
+ export interface ResolveDefaultWorkspaceDto {
6377
+ workspaceId?: string | null;
6378
+ }
6379
+ export interface ResolveDefaultWorkspaceRequestDto {
6380
+ machineId: string;
6381
+ }
6264
6382
  export interface CreateWorkspaceTemplate {
6265
6383
  name: string;
6266
6384
  description?: string | null;
@@ -8363,78 +8481,6 @@ export interface SetDiscussionLastReadRequest {
8363
8481
  operationId?: string | null;
8364
8482
  resourceId?: string | null;
8365
8483
  }
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
8484
  export interface AmcMaterialChecksPageDto {
8439
8485
  items: AmcMaterialCheckLiteDto[];
8440
8486
  continuationToken?: string | null;
@@ -8485,7 +8531,7 @@ export interface AmcMaterialChecksPageRequestDto {
8485
8531
  statusFilter: AmcMaterialCheckStatus[];
8486
8532
  continuationToken?: string | null;
8487
8533
  }
8488
- export type AmcMaterialChecksOrderByColumn = "OriginalReport" | "GeneratedReport" | "Customer" | "Project" | "PurchaseOrder" | "WorkOrder" | "CertificateType" | "Line" | "Item" | "Heat" | "Lot" | "Date" | "Status";
8534
+ export type AmcMaterialChecksOrderByColumn = "OriginalReport" | "GeneratedReport" | "Customer" | "Project" | "PurchaseOrder" | "WorkOrder" | "CertificateType" | "Line" | "Item" | "Heat" | "Lot" | "Date" | "Status" | "NotSet";
8489
8535
  export interface AmcMaterialCheckDto {
8490
8536
  materialCheckId: string;
8491
8537
  originalMaterialCertificate: FileDto;
@@ -8660,8 +8706,8 @@ export interface AmcSpecificationHeatTreatmentsResultLineDto {
8660
8706
  status: AmcSpecificationResultLineStatus;
8661
8707
  override?: AmcResultLineOverrideDto | null;
8662
8708
  }
8663
- export type AmcHeatingTreatmentMethod = "Annealing" | "Normalizing" | "Quenching" | "Tempering" | "StressRelieving" | "SolutionTreating" | "Aging" | "Austempering" | "Martempering";
8664
- export type AmcCoolingTreatmentMethod = "AirCooling" | "OilQuenching" | "WaterQuenching" | "FurnaceCooling" | "AirBlastCooling" | "PolymerQuenching";
8709
+ export type AmcHeatingTreatmentMethod = "Annealing" | "Normalizing" | "Quenching" | "Tempering" | "StressRelieving" | "SolutionTreating" | "Aging" | "Austempering" | "Martempering" | "NotSet";
8710
+ export type AmcCoolingTreatmentMethod = "AirCooling" | "OilQuenching" | "WaterQuenching" | "FurnaceCooling" | "AirBlastCooling" | "PolymerQuenching" | "NotSet";
8665
8711
  export interface ProcessAmcCheckRequestDto {
8666
8712
  files: UploadFileDto[];
8667
8713
  specificationId: string;
@@ -8786,7 +8832,9 @@ export interface AmcUpdateSpecificationFerriteResultsDto {
8786
8832
  export interface AmcUpdateSpecificationHeatTreatmentResultsDto {
8787
8833
  heatTreatmentOverrides: (AmcUpdateSpecificationResultLineDto | null)[];
8788
8834
  }
8789
- export interface AmcSpecificationLiteDto {
8835
+ export interface AmcCdfEntityReadBase {
8836
+ }
8837
+ export interface AmcSpecificationLiteDto extends AmcCdfEntityReadBase {
8790
8838
  specificationId: string;
8791
8839
  version: number;
8792
8840
  name: string;
@@ -8799,11 +8847,11 @@ export interface AmcSpecificationLiteDto {
8799
8847
  created: Date;
8800
8848
  createdBy: string;
8801
8849
  createdById: string;
8802
- updatedBy?: string | null;
8803
- updatedById?: string | null;
8850
+ updatedBy: string;
8851
+ updatedById: string;
8804
8852
  }
8805
8853
  export type AmcSpecificationStatus = "Draft" | "Released" | "Expired" | "Rejected" | "NotSet";
8806
- export interface AmcSpecificationDto {
8854
+ export interface AmcSpecificationDto extends AmcCdfEntityReadBase {
8807
8855
  specificationId: string;
8808
8856
  version: number;
8809
8857
  allVersions: AmcSpecificationVersionDto[];
@@ -8817,12 +8865,13 @@ export interface AmcSpecificationDto {
8817
8865
  created: Date;
8818
8866
  createdBy: string;
8819
8867
  createdById: string;
8820
- updatedBy?: string | null;
8821
- updatedById?: string | null;
8822
- chemistrySpecification: AmcChemistrySpecificationDto;
8823
- mechanicalSpecification: AmcMechanicalSpecificationDto;
8824
- ferriteSpecification: AmcFerriteSpecificationDto;
8825
- heatSpecification: AmcHeatTreatmentSpecificationDto;
8868
+ updatedBy: string;
8869
+ updatedById: string;
8870
+ updated: Date;
8871
+ chemistrySpecification?: AmcChemistrySpecificationDto | null;
8872
+ mechanicalSpecification?: AmcMechanicalSpecificationDto | null;
8873
+ ferriteSpecification?: AmcFerriteSpecificationDto | null;
8874
+ heatSpecification?: AmcHeatTreatmentSpecificationDto | null;
8826
8875
  }
8827
8876
  export interface AmcSpecificationVersionDto {
8828
8877
  version?: number;
@@ -8842,14 +8891,14 @@ export interface AmcChemistrySpecificationDto {
8842
8891
  wolfram?: AmcSpecificationLineDto | null;
8843
8892
  iron?: AmcSpecificationLineDto | null;
8844
8893
  }
8845
- export interface AmcSpecificationLineDto {
8894
+ export interface AmcSpecificationLineDto extends AmcCdfEntityReadBase {
8846
8895
  operator: AmcSpecificationOperator;
8847
8896
  value1?: number | null;
8848
8897
  value2?: number | null;
8849
8898
  symbol: AmcSpecificationSymbol;
8850
8899
  }
8851
8900
  export type AmcSpecificationOperator = "Equal" | "GreaterThan" | "LessThan" | "GreaterThanOrEqual" | "LessThanOrEqual" | "Min" | "Max" | "Between" | "NotSet";
8852
- export type AmcSpecificationSymbol = "None" | "Percentage" | "Joule" | "Celsius" | "Farenheit" | "Mpa" | "Hbw";
8901
+ export type AmcSpecificationSymbol = "Percentage" | "Joule" | "Celsius" | "Farenheit" | "Mpa" | "Hbw" | "NotSet";
8853
8902
  export interface AmcMechanicalSpecificationDto {
8854
8903
  yieldStrength?: AmcSpecificationLineDto | null;
8855
8904
  tensileStrength?: AmcSpecificationLineDto | null;
@@ -8873,13 +8922,10 @@ export interface AmcHeatTreatmentsSpecificationDto {
8873
8922
  coolingHoldingTime?: number | null;
8874
8923
  }
8875
8924
  export interface CreateAmcSpecificationDto {
8876
- name: string;
8877
- number: string;
8925
+ specificationName: string;
8926
+ specificationNumber: string;
8878
8927
  revision: string;
8879
8928
  date: Date;
8880
- createCopy: boolean;
8881
- specificationId?: string | null;
8882
- specificationVersion?: string | null;
8883
8929
  specificationFile?: UploadFileDto | null;
8884
8930
  }
8885
8931
  export interface UpdateAmcSpecificationDto {
@@ -8894,8 +8940,6 @@ export interface UpdateAmcSpecificationDto {
8894
8940
  heatSpecification: AmcHeatTreatmentSpecificationDto;
8895
8941
  }
8896
8942
  export type AmcSpecificationStatusUpdate = "NotModified" | "Released" | "Obsolete";
8897
- export interface AmcCdfEntityReadBase {
8898
- }
8899
8943
  export interface AmcCertificateTypeLiteDto extends AmcCdfEntityReadBase {
8900
8944
  certificateTypeId: string;
8901
8945
  version: number;