@ignos/api-client 20260302.67.1 → 20260303.68.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.
- package/lib/ignosportal-api.d.ts +170 -184
- package/lib/ignosportal-api.js +3901 -3861
- package/package.json +1 -1
- package/src/ignosportal-api.ts +5486 -5466
package/lib/ignosportal-api.d.ts
CHANGED
|
@@ -124,6 +124,7 @@ 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>;
|
|
127
128
|
}
|
|
128
129
|
export declare class GuestsClient extends AuthorizedApiBase implements IGuestsClient {
|
|
129
130
|
private http;
|
|
@@ -133,6 +134,8 @@ export declare class GuestsClient extends AuthorizedApiBase implements IGuestsCl
|
|
|
133
134
|
});
|
|
134
135
|
getGuestLoginInfo(search: string | undefined): Promise<GuestLoginInfoDto>;
|
|
135
136
|
protected processGetGuestLoginInfo(response: Response): Promise<GuestLoginInfoDto>;
|
|
137
|
+
getSupplierLoginInfo(search: string | undefined): Promise<GuestLoginInfoDto>;
|
|
138
|
+
protected processGetSupplierLoginInfo(response: Response): Promise<GuestLoginInfoDto>;
|
|
136
139
|
}
|
|
137
140
|
export interface IPresentationClient {
|
|
138
141
|
getComponentSettings(componentId: string): Promise<ComponentSettingsDto>;
|
|
@@ -1425,99 +1428,6 @@ export declare class DocumentTypesClient extends AuthorizedApiBase implements ID
|
|
|
1425
1428
|
listDocumentGenerators(): Promise<DocumentGeneratorTypeDto[]>;
|
|
1426
1429
|
protected processListDocumentGenerators(response: Response): Promise<DocumentGeneratorTypeDto[]>;
|
|
1427
1430
|
}
|
|
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
|
-
}
|
|
1521
1431
|
export interface ICncFileTransferClient {
|
|
1522
1432
|
startCncMachineOperationTransferToCloud(id: string): Promise<CncMachineTransferDto>;
|
|
1523
1433
|
startCncMachineOperationTransferToMachine(id: string): Promise<CncMachineTransferDto>;
|
|
@@ -3189,6 +3099,99 @@ export declare class WorkordersClient extends AuthorizedApiBase implements IWork
|
|
|
3189
3099
|
generateContentPartsForDiscussions(): Promise<WorkorderDiscussionMessageDto[]>;
|
|
3190
3100
|
protected processGenerateContentPartsForDiscussions(response: Response): Promise<WorkorderDiscussionMessageDto[]>;
|
|
3191
3101
|
}
|
|
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
|
+
}
|
|
3192
3195
|
export interface IMaterialCertificateChecksClient {
|
|
3193
3196
|
listMaterialCertificateChecks(request: AmcMaterialChecksPageRequestDto): Promise<AmcMaterialChecksPageDto>;
|
|
3194
3197
|
getMaterialCertificateCheck(id: string): Promise<AmcMaterialCheckDto>;
|
|
@@ -3491,6 +3494,7 @@ export interface UserDetailsDto {
|
|
|
3491
3494
|
isExternalUser?: boolean;
|
|
3492
3495
|
isBetaTester?: boolean | null;
|
|
3493
3496
|
hasAccessToIgnos?: boolean;
|
|
3497
|
+
isInvitedUser?: boolean;
|
|
3494
3498
|
}
|
|
3495
3499
|
export interface UserDto {
|
|
3496
3500
|
id?: string | null;
|
|
@@ -3890,6 +3894,7 @@ export interface CalendarSettingsDto {
|
|
|
3890
3894
|
};
|
|
3891
3895
|
halfDayHours?: number;
|
|
3892
3896
|
holidayHours?: number;
|
|
3897
|
+
defaultPerformancePercent?: number;
|
|
3893
3898
|
}
|
|
3894
3899
|
export type DayOfWeek = 0 | 1 | 2 | 3 | 4 | 5 | 6;
|
|
3895
3900
|
export interface UpdateCalendarSettingsCommand {
|
|
@@ -5355,97 +5360,6 @@ export interface DocumentGeneratorTypeDto {
|
|
|
5355
5360
|
key: string;
|
|
5356
5361
|
description: string;
|
|
5357
5362
|
}
|
|
5358
|
-
export interface CompanyUserDto {
|
|
5359
|
-
companyId?: string | null;
|
|
5360
|
-
username?: string | null;
|
|
5361
|
-
name?: string | null;
|
|
5362
|
-
roles?: string[] | null;
|
|
5363
|
-
}
|
|
5364
|
-
export interface CreateCompanyUserRequest {
|
|
5365
|
-
username: string;
|
|
5366
|
-
name: string;
|
|
5367
|
-
roles: string[];
|
|
5368
|
-
companyId?: string | null;
|
|
5369
|
-
}
|
|
5370
|
-
export interface UpdateCompanyUserRequest {
|
|
5371
|
-
name: string;
|
|
5372
|
-
roles: string[];
|
|
5373
|
-
companyId?: string | null;
|
|
5374
|
-
}
|
|
5375
|
-
export interface ExternalRoleDto {
|
|
5376
|
-
id: string;
|
|
5377
|
-
name: string;
|
|
5378
|
-
}
|
|
5379
|
-
export interface CompanyCustomerDto {
|
|
5380
|
-
customerTenantId?: string | null;
|
|
5381
|
-
customerAzureAdTenantId?: string | null;
|
|
5382
|
-
customerName?: string | null;
|
|
5383
|
-
supplierId?: string | null;
|
|
5384
|
-
supplierName?: string | null;
|
|
5385
|
-
}
|
|
5386
|
-
export interface InviteDto {
|
|
5387
|
-
tenantId: string;
|
|
5388
|
-
companyName: string;
|
|
5389
|
-
id: string;
|
|
5390
|
-
supplierId: string;
|
|
5391
|
-
supplierName: string;
|
|
5392
|
-
username: string;
|
|
5393
|
-
deadline: Date;
|
|
5394
|
-
createdTime: Date;
|
|
5395
|
-
createdBy: string;
|
|
5396
|
-
}
|
|
5397
|
-
export interface CompanyDto {
|
|
5398
|
-
id?: string | null;
|
|
5399
|
-
name?: string | null;
|
|
5400
|
-
organizationNumber?: string | null;
|
|
5401
|
-
country?: string | null;
|
|
5402
|
-
tenantId?: string | null;
|
|
5403
|
-
}
|
|
5404
|
-
export interface AcceptSupplierInviteRequest {
|
|
5405
|
-
tenantId: string;
|
|
5406
|
-
existingCompanyId?: string | null;
|
|
5407
|
-
companyName?: string | null;
|
|
5408
|
-
organizationNumber?: string | null;
|
|
5409
|
-
threeLetterIsoCountry?: string | null;
|
|
5410
|
-
}
|
|
5411
|
-
export interface SupplierInviteDto {
|
|
5412
|
-
id: string;
|
|
5413
|
-
supplierId: string;
|
|
5414
|
-
name: string;
|
|
5415
|
-
username: string;
|
|
5416
|
-
deadline: Date;
|
|
5417
|
-
createdTime: Date;
|
|
5418
|
-
createdBy: string;
|
|
5419
|
-
}
|
|
5420
|
-
export interface CreateSupplierInvite {
|
|
5421
|
-
supplierId: string;
|
|
5422
|
-
name: string;
|
|
5423
|
-
username: string;
|
|
5424
|
-
deadline: Date;
|
|
5425
|
-
}
|
|
5426
|
-
export interface ExternalSupplierDto {
|
|
5427
|
-
id: string;
|
|
5428
|
-
name: string;
|
|
5429
|
-
companyId: string;
|
|
5430
|
-
active: boolean;
|
|
5431
|
-
}
|
|
5432
|
-
export interface ImportSupplier {
|
|
5433
|
-
supplierId: string;
|
|
5434
|
-
name: string;
|
|
5435
|
-
organizationNumber?: string | null;
|
|
5436
|
-
threeLetterIsoCountry: string;
|
|
5437
|
-
users: ImportSupplierUserDto[];
|
|
5438
|
-
}
|
|
5439
|
-
export interface ImportSupplierUserDto {
|
|
5440
|
-
username: string;
|
|
5441
|
-
name: string;
|
|
5442
|
-
roles: string[];
|
|
5443
|
-
}
|
|
5444
|
-
export interface CreateSupplierMapping {
|
|
5445
|
-
companyId: string;
|
|
5446
|
-
existingSupplierId: string;
|
|
5447
|
-
newSupplierId: string;
|
|
5448
|
-
}
|
|
5449
5363
|
export interface CncMachineTransferDto {
|
|
5450
5364
|
id: string;
|
|
5451
5365
|
cncMachineOperationId?: string | null;
|
|
@@ -8449,6 +8363,78 @@ export interface SetDiscussionLastReadRequest {
|
|
|
8449
8363
|
operationId?: string | null;
|
|
8450
8364
|
resourceId?: string | null;
|
|
8451
8365
|
}
|
|
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
|
+
}
|
|
8452
8438
|
export interface AmcMaterialChecksPageDto {
|
|
8453
8439
|
items: AmcMaterialCheckLiteDto[];
|
|
8454
8440
|
continuationToken?: string | null;
|