@ignos/api-client 20260706.175.1 → 20260707.177.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 +238 -214
- package/lib/ignosportal-api.js +4466 -4305
- package/package.json +1 -1
- package/src/ignosportal-api.ts +6275 -6100
package/lib/ignosportal-api.d.ts
CHANGED
|
@@ -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>;
|
|
@@ -3069,22 +2979,22 @@ export declare class MeasurementFormsInstancesAdminClient extends AuthorizedApiB
|
|
|
3069
2979
|
protected processExportDimensionReportValues(response: Response): Promise<DownloadDto>;
|
|
3070
2980
|
}
|
|
3071
2981
|
export interface IMeasurementFormsInstancesClient {
|
|
3072
|
-
listMeasurementForms(pageSize: number | undefined, search: string | null | undefined, continuationToken: string | null | undefined,
|
|
2982
|
+
listMeasurementForms(pageSize: number | undefined, search: string | null | undefined, continuationToken: string | null | undefined, inactive: boolean | null | undefined, includeInactiveSupplierAccess: boolean | null | undefined): Promise<PagedResultOfMeasurementFormInstanceOverviewDto>;
|
|
3073
2983
|
postListMeasurementForms(request: ListMeasurementFormsRequest | undefined): Promise<PagedResultOfMeasurementFormInstanceOverviewDto>;
|
|
3074
|
-
getMeasurementFormInstance(id: string
|
|
2984
|
+
getMeasurementFormInstance(id: string): Promise<MeasurementFormInstanceDto>;
|
|
3075
2985
|
listMeasurementFormInstanceFeedback(id: string): Promise<MeasurementFormInstanceFeedbackDto[]>;
|
|
3076
|
-
completeMeasurementFormInstance(id: string
|
|
3077
|
-
completeMeasurementFormInstanceV2(id: string
|
|
3078
|
-
getMeasurementFormInstanceSchema(id: string, schemaId: string, serialNumber: string | null | undefined
|
|
3079
|
-
getWorkorderMeasurementFormProgress(id: string
|
|
3080
|
-
getAuditLog(id: string,
|
|
2986
|
+
completeMeasurementFormInstance(id: string): Promise<MeasurementFormInstanceDto>;
|
|
2987
|
+
completeMeasurementFormInstanceV2(id: string): Promise<CompleteMeasurementFormInstanceResult>;
|
|
2988
|
+
getMeasurementFormInstanceSchema(id: string, schemaId: string, serialNumber: string | null | undefined): Promise<MeasurementFormInstanceSchemaDto>;
|
|
2989
|
+
getWorkorderMeasurementFormProgress(id: string): Promise<MeasurementFormInstanceProgressDto>;
|
|
2990
|
+
getAuditLog(id: string, schemaId: string | null | undefined, serialNumber: string | null | undefined, elementId: string | null | undefined): Promise<MeasurementFormElementValueAuditDto[]>;
|
|
3081
2991
|
getValidationRules(): Promise<ValidationRuleDto[]>;
|
|
3082
|
-
saveValue(id: string,
|
|
3083
|
-
saveTool(id: string,
|
|
3084
|
-
saveComment(id: string,
|
|
3085
|
-
batchInsertValues(id: string,
|
|
3086
|
-
saveMeasurementFormInstanceSchemaComment(id: string, schemaId: string,
|
|
3087
|
-
createMeasurementFormInstanceSchemaFeedback(id: string, schemaId: string,
|
|
2992
|
+
saveValue(id: string, request: SaveValueRequest): Promise<SaveValueResponseDto>;
|
|
2993
|
+
saveTool(id: string, request: SaveToolRequest): Promise<SaveValueResponseDto>;
|
|
2994
|
+
saveComment(id: string, request: SaveCommentRequest): Promise<void>;
|
|
2995
|
+
batchInsertValues(id: string, request: BatchInsertValueRequest): Promise<BatchInsertValuesResponseDto>;
|
|
2996
|
+
saveMeasurementFormInstanceSchemaComment(id: string, schemaId: string, request: SaveMeasurementFormInstanceSchemaCommentRequest): Promise<void>;
|
|
2997
|
+
createMeasurementFormInstanceSchemaFeedback(id: string, schemaId: string, request: CreateMeasurementFormSchemaFeedbackRequest): Promise<SchemaFeedbackCreatedDto>;
|
|
3088
2998
|
listSupplierMeasurementFormInstances(supplierId: string): Promise<MeasurementFormSupplierAccessInstanceDto[]>;
|
|
3089
2999
|
upsertSupplierToMeasurmentFormInstance(id: string, supplierId: string, request: UpsertSupplierToMeasurementFormInstanceRequest): Promise<void>;
|
|
3090
3000
|
removeSupplierFromMeasurmentFormInstance(id: string, supplierId: string): Promise<void>;
|
|
@@ -3100,37 +3010,37 @@ export declare class MeasurementFormsInstancesClient extends AuthorizedApiBase i
|
|
|
3100
3010
|
constructor(configuration: IApiClientConfig, baseUrl?: string, http?: {
|
|
3101
3011
|
fetch(url: RequestInfo, init?: RequestInit): Promise<Response>;
|
|
3102
3012
|
});
|
|
3103
|
-
listMeasurementForms(pageSize: number | undefined, search: string | null | undefined, continuationToken: string | null | undefined,
|
|
3013
|
+
listMeasurementForms(pageSize: number | undefined, search: string | null | undefined, continuationToken: string | null | undefined, inactive: boolean | null | undefined, includeInactiveSupplierAccess: boolean | null | undefined): Promise<PagedResultOfMeasurementFormInstanceOverviewDto>;
|
|
3104
3014
|
protected processListMeasurementForms(response: Response): Promise<PagedResultOfMeasurementFormInstanceOverviewDto>;
|
|
3105
3015
|
postListMeasurementForms(request: ListMeasurementFormsRequest | undefined): Promise<PagedResultOfMeasurementFormInstanceOverviewDto>;
|
|
3106
3016
|
protected processPostListMeasurementForms(response: Response): Promise<PagedResultOfMeasurementFormInstanceOverviewDto>;
|
|
3107
|
-
getMeasurementFormInstance(id: string
|
|
3017
|
+
getMeasurementFormInstance(id: string): Promise<MeasurementFormInstanceDto>;
|
|
3108
3018
|
protected processGetMeasurementFormInstance(response: Response): Promise<MeasurementFormInstanceDto>;
|
|
3109
3019
|
listMeasurementFormInstanceFeedback(id: string): Promise<MeasurementFormInstanceFeedbackDto[]>;
|
|
3110
3020
|
protected processListMeasurementFormInstanceFeedback(response: Response): Promise<MeasurementFormInstanceFeedbackDto[]>;
|
|
3111
|
-
completeMeasurementFormInstance(id: string
|
|
3021
|
+
completeMeasurementFormInstance(id: string): Promise<MeasurementFormInstanceDto>;
|
|
3112
3022
|
protected processCompleteMeasurementFormInstance(response: Response): Promise<MeasurementFormInstanceDto>;
|
|
3113
|
-
completeMeasurementFormInstanceV2(id: string
|
|
3023
|
+
completeMeasurementFormInstanceV2(id: string): Promise<CompleteMeasurementFormInstanceResult>;
|
|
3114
3024
|
protected processCompleteMeasurementFormInstanceV2(response: Response): Promise<CompleteMeasurementFormInstanceResult>;
|
|
3115
|
-
getMeasurementFormInstanceSchema(id: string, schemaId: string, serialNumber: string | null | undefined
|
|
3025
|
+
getMeasurementFormInstanceSchema(id: string, schemaId: string, serialNumber: string | null | undefined): Promise<MeasurementFormInstanceSchemaDto>;
|
|
3116
3026
|
protected processGetMeasurementFormInstanceSchema(response: Response): Promise<MeasurementFormInstanceSchemaDto>;
|
|
3117
|
-
getWorkorderMeasurementFormProgress(id: string
|
|
3027
|
+
getWorkorderMeasurementFormProgress(id: string): Promise<MeasurementFormInstanceProgressDto>;
|
|
3118
3028
|
protected processGetWorkorderMeasurementFormProgress(response: Response): Promise<MeasurementFormInstanceProgressDto>;
|
|
3119
|
-
getAuditLog(id: string,
|
|
3029
|
+
getAuditLog(id: string, schemaId: string | null | undefined, serialNumber: string | null | undefined, elementId: string | null | undefined): Promise<MeasurementFormElementValueAuditDto[]>;
|
|
3120
3030
|
protected processGetAuditLog(response: Response): Promise<MeasurementFormElementValueAuditDto[]>;
|
|
3121
3031
|
getValidationRules(): Promise<ValidationRuleDto[]>;
|
|
3122
3032
|
protected processGetValidationRules(response: Response): Promise<ValidationRuleDto[]>;
|
|
3123
|
-
saveValue(id: string,
|
|
3033
|
+
saveValue(id: string, request: SaveValueRequest): Promise<SaveValueResponseDto>;
|
|
3124
3034
|
protected processSaveValue(response: Response): Promise<SaveValueResponseDto>;
|
|
3125
|
-
saveTool(id: string,
|
|
3035
|
+
saveTool(id: string, request: SaveToolRequest): Promise<SaveValueResponseDto>;
|
|
3126
3036
|
protected processSaveTool(response: Response): Promise<SaveValueResponseDto>;
|
|
3127
|
-
saveComment(id: string,
|
|
3037
|
+
saveComment(id: string, request: SaveCommentRequest): Promise<void>;
|
|
3128
3038
|
protected processSaveComment(response: Response): Promise<void>;
|
|
3129
|
-
batchInsertValues(id: string,
|
|
3039
|
+
batchInsertValues(id: string, request: BatchInsertValueRequest): Promise<BatchInsertValuesResponseDto>;
|
|
3130
3040
|
protected processBatchInsertValues(response: Response): Promise<BatchInsertValuesResponseDto>;
|
|
3131
|
-
saveMeasurementFormInstanceSchemaComment(id: string, schemaId: string,
|
|
3041
|
+
saveMeasurementFormInstanceSchemaComment(id: string, schemaId: string, request: SaveMeasurementFormInstanceSchemaCommentRequest): Promise<void>;
|
|
3132
3042
|
protected processSaveMeasurementFormInstanceSchemaComment(response: Response): Promise<void>;
|
|
3133
|
-
createMeasurementFormInstanceSchemaFeedback(id: string, schemaId: string,
|
|
3043
|
+
createMeasurementFormInstanceSchemaFeedback(id: string, schemaId: string, request: CreateMeasurementFormSchemaFeedbackRequest): Promise<SchemaFeedbackCreatedDto>;
|
|
3134
3044
|
protected processCreateMeasurementFormInstanceSchemaFeedback(response: Response): Promise<SchemaFeedbackCreatedDto>;
|
|
3135
3045
|
listSupplierMeasurementFormInstances(supplierId: string): Promise<MeasurementFormSupplierAccessInstanceDto[]>;
|
|
3136
3046
|
protected processListSupplierMeasurementFormInstances(response: Response): Promise<MeasurementFormSupplierAccessInstanceDto[]>;
|
|
@@ -3155,7 +3065,7 @@ export interface IMeasurementFormsInstancesInstanceAdminClient {
|
|
|
3155
3065
|
createMeasurementFormInstance2(id: string, request: CreateMeasurementFormInstanceRequest): Promise<MeasurementFormInstanceDto>;
|
|
3156
3066
|
reactivateMeasurementFormInstance(id: string): Promise<MeasurementFormInstanceDto>;
|
|
3157
3067
|
cancelMeasurementFormInstance(id: string): Promise<MeasurementFormInstanceDto>;
|
|
3158
|
-
toggleSchemaInstanceElementDocumentedExternallyOverride(id: string, schemaId: string, elementId: string
|
|
3068
|
+
toggleSchemaInstanceElementDocumentedExternallyOverride(id: string, schemaId: string, elementId: string): Promise<void>;
|
|
3159
3069
|
}
|
|
3160
3070
|
export declare class MeasurementFormsInstancesInstanceAdminClient extends AuthorizedApiBase implements IMeasurementFormsInstancesInstanceAdminClient {
|
|
3161
3071
|
private http;
|
|
@@ -3179,7 +3089,7 @@ export declare class MeasurementFormsInstancesInstanceAdminClient extends Author
|
|
|
3179
3089
|
protected processReactivateMeasurementFormInstance(response: Response): Promise<MeasurementFormInstanceDto>;
|
|
3180
3090
|
cancelMeasurementFormInstance(id: string): Promise<MeasurementFormInstanceDto>;
|
|
3181
3091
|
protected processCancelMeasurementFormInstance(response: Response): Promise<MeasurementFormInstanceDto>;
|
|
3182
|
-
toggleSchemaInstanceElementDocumentedExternallyOverride(id: string, schemaId: string, elementId: string
|
|
3092
|
+
toggleSchemaInstanceElementDocumentedExternallyOverride(id: string, schemaId: string, elementId: string): Promise<void>;
|
|
3183
3093
|
protected processToggleSchemaInstanceElementDocumentedExternallyOverride(response: Response): Promise<void>;
|
|
3184
3094
|
}
|
|
3185
3095
|
export interface ICompaniesClient {
|
|
@@ -3519,6 +3429,111 @@ export declare class WorkordersClient extends AuthorizedApiBase implements IWork
|
|
|
3519
3429
|
generateContentPartsForDiscussions(): Promise<WorkorderDiscussionMessageDto[]>;
|
|
3520
3430
|
protected processGenerateContentPartsForDiscussions(response: Response): Promise<WorkorderDiscussionMessageDto[]>;
|
|
3521
3431
|
}
|
|
3432
|
+
export interface IExternalAccessClient {
|
|
3433
|
+
listUsers(companyId: string | null | undefined): Promise<CompanyUserDto[]>;
|
|
3434
|
+
createCompanyUser(request: CreateCompanyUser): Promise<CompanyUserDto>;
|
|
3435
|
+
updateCompanyUser(id: string, request: UpdateCompanyUserRequest): Promise<CompanyUserDto>;
|
|
3436
|
+
deleteCompanyUser(id: string, companyId: string | null | undefined): Promise<void>;
|
|
3437
|
+
migrateLegacyCompanyUsersToEntra(): Promise<CompanyUserDto[]>;
|
|
3438
|
+
listRoles(): Promise<ExternalRoleDto[]>;
|
|
3439
|
+
listCompanyCustomers(): Promise<CompanyCustomerDto[]>;
|
|
3440
|
+
deleteCompanyCustomer(tenantId: string): Promise<void>;
|
|
3441
|
+
}
|
|
3442
|
+
export declare class ExternalAccessClient extends AuthorizedApiBase implements IExternalAccessClient {
|
|
3443
|
+
private http;
|
|
3444
|
+
private baseUrl;
|
|
3445
|
+
constructor(configuration: IApiClientConfig, baseUrl?: string, http?: {
|
|
3446
|
+
fetch(url: RequestInfo, init?: RequestInit): Promise<Response>;
|
|
3447
|
+
});
|
|
3448
|
+
listUsers(companyId: string | null | undefined): Promise<CompanyUserDto[]>;
|
|
3449
|
+
protected processListUsers(response: Response): Promise<CompanyUserDto[]>;
|
|
3450
|
+
createCompanyUser(request: CreateCompanyUser): Promise<CompanyUserDto>;
|
|
3451
|
+
protected processCreateCompanyUser(response: Response): Promise<CompanyUserDto>;
|
|
3452
|
+
updateCompanyUser(id: string, request: UpdateCompanyUserRequest): Promise<CompanyUserDto>;
|
|
3453
|
+
protected processUpdateCompanyUser(response: Response): Promise<CompanyUserDto>;
|
|
3454
|
+
deleteCompanyUser(id: string, companyId: string | null | undefined): Promise<void>;
|
|
3455
|
+
protected processDeleteCompanyUser(response: Response): Promise<void>;
|
|
3456
|
+
migrateLegacyCompanyUsersToEntra(): Promise<CompanyUserDto[]>;
|
|
3457
|
+
protected processMigrateLegacyCompanyUsersToEntra(response: Response): Promise<CompanyUserDto[]>;
|
|
3458
|
+
listRoles(): Promise<ExternalRoleDto[]>;
|
|
3459
|
+
protected processListRoles(response: Response): Promise<ExternalRoleDto[]>;
|
|
3460
|
+
listCompanyCustomers(): Promise<CompanyCustomerDto[]>;
|
|
3461
|
+
protected processListCompanyCustomers(response: Response): Promise<CompanyCustomerDto[]>;
|
|
3462
|
+
deleteCompanyCustomer(tenantId: string): Promise<void>;
|
|
3463
|
+
protected processDeleteCompanyCustomer(response: Response): Promise<void>;
|
|
3464
|
+
}
|
|
3465
|
+
export interface IExternalClient {
|
|
3466
|
+
listCompanies(): Promise<CompanyDto[]>;
|
|
3467
|
+
getCompany(id: string): Promise<CompanyDto>;
|
|
3468
|
+
getCurrentSupplierInvite(): Promise<CurrentSupplierInviteDto>;
|
|
3469
|
+
acceptSupplierInvite(): Promise<SupplierInviteDto>;
|
|
3470
|
+
listTenantsWithSuppliers(): Promise<TenantWithSupplierDto[]>;
|
|
3471
|
+
}
|
|
3472
|
+
export declare class ExternalClient extends AuthorizedApiBase implements IExternalClient {
|
|
3473
|
+
private http;
|
|
3474
|
+
private baseUrl;
|
|
3475
|
+
constructor(configuration: IApiClientConfig, baseUrl?: string, http?: {
|
|
3476
|
+
fetch(url: RequestInfo, init?: RequestInit): Promise<Response>;
|
|
3477
|
+
});
|
|
3478
|
+
listCompanies(): Promise<CompanyDto[]>;
|
|
3479
|
+
protected processListCompanies(response: Response): Promise<CompanyDto[]>;
|
|
3480
|
+
getCompany(id: string): Promise<CompanyDto>;
|
|
3481
|
+
protected processGetCompany(response: Response): Promise<CompanyDto>;
|
|
3482
|
+
getCurrentSupplierInvite(): Promise<CurrentSupplierInviteDto>;
|
|
3483
|
+
protected processGetCurrentSupplierInvite(response: Response): Promise<CurrentSupplierInviteDto>;
|
|
3484
|
+
acceptSupplierInvite(): Promise<SupplierInviteDto>;
|
|
3485
|
+
protected processAcceptSupplierInvite(response: Response): Promise<SupplierInviteDto>;
|
|
3486
|
+
listTenantsWithSuppliers(): Promise<TenantWithSupplierDto[]>;
|
|
3487
|
+
protected processListTenantsWithSuppliers(response: Response): Promise<TenantWithSupplierDto[]>;
|
|
3488
|
+
}
|
|
3489
|
+
export interface ISuppliersClient {
|
|
3490
|
+
listSupplierInvites(): Promise<SupplierInviteDto[]>;
|
|
3491
|
+
createSupplierInvite(request: CreateSupplierInviteRequest): Promise<SupplierInviteDto>;
|
|
3492
|
+
deleteSupplierInvite(id: string): Promise<void>;
|
|
3493
|
+
listSuppliers(): Promise<ExternalSupplierDto[]>;
|
|
3494
|
+
deleteSupplier(id: string): Promise<void>;
|
|
3495
|
+
/**
|
|
3496
|
+
* Creates a mapping between old supplier id and new supplier id.
|
|
3497
|
+
*/
|
|
3498
|
+
createSupplierMapping(request: CreateSupplierMapping): Promise<void>;
|
|
3499
|
+
/**
|
|
3500
|
+
* Delete all supplier mappings between old supplier ids and new supplier ids.
|
|
3501
|
+
*/
|
|
3502
|
+
deleteSupplierMappings(): Promise<void>;
|
|
3503
|
+
lookupOrganization(threeLetterIsoCountry: string | undefined, organizationNumber: string | undefined): Promise<OrganizationDto>;
|
|
3504
|
+
getOrganizationLookupSupportedCountries(): Promise<CountryDto[]>;
|
|
3505
|
+
}
|
|
3506
|
+
export declare class SuppliersClient extends AuthorizedApiBase implements ISuppliersClient {
|
|
3507
|
+
private http;
|
|
3508
|
+
private baseUrl;
|
|
3509
|
+
constructor(configuration: IApiClientConfig, baseUrl?: string, http?: {
|
|
3510
|
+
fetch(url: RequestInfo, init?: RequestInit): Promise<Response>;
|
|
3511
|
+
});
|
|
3512
|
+
listSupplierInvites(): Promise<SupplierInviteDto[]>;
|
|
3513
|
+
protected processListSupplierInvites(response: Response): Promise<SupplierInviteDto[]>;
|
|
3514
|
+
createSupplierInvite(request: CreateSupplierInviteRequest): Promise<SupplierInviteDto>;
|
|
3515
|
+
protected processCreateSupplierInvite(response: Response): Promise<SupplierInviteDto>;
|
|
3516
|
+
deleteSupplierInvite(id: string): Promise<void>;
|
|
3517
|
+
protected processDeleteSupplierInvite(response: Response): Promise<void>;
|
|
3518
|
+
listSuppliers(): Promise<ExternalSupplierDto[]>;
|
|
3519
|
+
protected processListSuppliers(response: Response): Promise<ExternalSupplierDto[]>;
|
|
3520
|
+
deleteSupplier(id: string): Promise<void>;
|
|
3521
|
+
protected processDeleteSupplier(response: Response): Promise<void>;
|
|
3522
|
+
/**
|
|
3523
|
+
* Creates a mapping between old supplier id and new supplier id.
|
|
3524
|
+
*/
|
|
3525
|
+
createSupplierMapping(request: CreateSupplierMapping): Promise<void>;
|
|
3526
|
+
protected processCreateSupplierMapping(response: Response): Promise<void>;
|
|
3527
|
+
/**
|
|
3528
|
+
* Delete all supplier mappings between old supplier ids and new supplier ids.
|
|
3529
|
+
*/
|
|
3530
|
+
deleteSupplierMappings(): Promise<void>;
|
|
3531
|
+
protected processDeleteSupplierMappings(response: Response): Promise<void>;
|
|
3532
|
+
lookupOrganization(threeLetterIsoCountry: string | undefined, organizationNumber: string | undefined): Promise<OrganizationDto>;
|
|
3533
|
+
protected processLookupOrganization(response: Response): Promise<OrganizationDto>;
|
|
3534
|
+
getOrganizationLookupSupportedCountries(): Promise<CountryDto[]>;
|
|
3535
|
+
protected processGetOrganizationLookupSupportedCountries(response: Response): Promise<CountryDto[]>;
|
|
3536
|
+
}
|
|
3522
3537
|
export interface AzureRegionDto {
|
|
3523
3538
|
displayName: string;
|
|
3524
3539
|
name: string;
|
|
@@ -3830,6 +3845,9 @@ export interface UserDetailsDto {
|
|
|
3830
3845
|
isExternalUser?: boolean;
|
|
3831
3846
|
isBetaTester?: boolean | null;
|
|
3832
3847
|
hasAccessToIgnos?: boolean;
|
|
3848
|
+
isInvitedUser?: boolean;
|
|
3849
|
+
isSupplier?: boolean;
|
|
3850
|
+
companyId?: string | null;
|
|
3833
3851
|
}
|
|
3834
3852
|
export interface UserDto {
|
|
3835
3853
|
id?: string | null;
|
|
@@ -5850,97 +5868,6 @@ export interface DocumentGeneratorTypeDto {
|
|
|
5850
5868
|
key: string;
|
|
5851
5869
|
description: string;
|
|
5852
5870
|
}
|
|
5853
|
-
export interface CompanyUserDto {
|
|
5854
|
-
companyId?: string | null;
|
|
5855
|
-
username?: string | null;
|
|
5856
|
-
name?: string | null;
|
|
5857
|
-
roles?: string[] | null;
|
|
5858
|
-
}
|
|
5859
|
-
export interface CreateCompanyUserRequest {
|
|
5860
|
-
username: string;
|
|
5861
|
-
name: string;
|
|
5862
|
-
roles: string[];
|
|
5863
|
-
companyId?: string | null;
|
|
5864
|
-
}
|
|
5865
|
-
export interface UpdateCompanyUserRequest {
|
|
5866
|
-
name: string;
|
|
5867
|
-
roles: string[];
|
|
5868
|
-
companyId?: string | null;
|
|
5869
|
-
}
|
|
5870
|
-
export interface ExternalRoleDto {
|
|
5871
|
-
id: string;
|
|
5872
|
-
name: string;
|
|
5873
|
-
}
|
|
5874
|
-
export interface CompanyCustomerDto {
|
|
5875
|
-
customerTenantId?: string | null;
|
|
5876
|
-
customerAzureAdTenantId?: string | null;
|
|
5877
|
-
customerName?: string | null;
|
|
5878
|
-
supplierId?: string | null;
|
|
5879
|
-
supplierName?: string | null;
|
|
5880
|
-
}
|
|
5881
|
-
export interface InviteDto {
|
|
5882
|
-
tenantId: string;
|
|
5883
|
-
companyName: string;
|
|
5884
|
-
id: string;
|
|
5885
|
-
supplierId: string;
|
|
5886
|
-
supplierName: string;
|
|
5887
|
-
username: string;
|
|
5888
|
-
deadline: Date;
|
|
5889
|
-
createdTime: Date;
|
|
5890
|
-
createdBy: string;
|
|
5891
|
-
}
|
|
5892
|
-
export interface CompanyDto {
|
|
5893
|
-
id?: string | null;
|
|
5894
|
-
name?: string | null;
|
|
5895
|
-
organizationNumber?: string | null;
|
|
5896
|
-
country?: string | null;
|
|
5897
|
-
tenantId?: string | null;
|
|
5898
|
-
}
|
|
5899
|
-
export interface AcceptSupplierInviteRequest {
|
|
5900
|
-
tenantId: string;
|
|
5901
|
-
existingCompanyId?: string | null;
|
|
5902
|
-
companyName?: string | null;
|
|
5903
|
-
organizationNumber?: string | null;
|
|
5904
|
-
threeLetterIsoCountry?: string | null;
|
|
5905
|
-
}
|
|
5906
|
-
export interface SupplierInviteDto {
|
|
5907
|
-
id: string;
|
|
5908
|
-
supplierId: string;
|
|
5909
|
-
name: string;
|
|
5910
|
-
username: string;
|
|
5911
|
-
deadline: Date;
|
|
5912
|
-
createdTime: Date;
|
|
5913
|
-
createdBy: string;
|
|
5914
|
-
}
|
|
5915
|
-
export interface CreateSupplierInvite {
|
|
5916
|
-
supplierId: string;
|
|
5917
|
-
name: string;
|
|
5918
|
-
username: string;
|
|
5919
|
-
deadline: Date;
|
|
5920
|
-
}
|
|
5921
|
-
export interface ExternalSupplierDto {
|
|
5922
|
-
id: string;
|
|
5923
|
-
name: string;
|
|
5924
|
-
companyId: string;
|
|
5925
|
-
active: boolean;
|
|
5926
|
-
}
|
|
5927
|
-
export interface ImportSupplier {
|
|
5928
|
-
supplierId: string;
|
|
5929
|
-
name: string;
|
|
5930
|
-
organizationNumber?: string | null;
|
|
5931
|
-
threeLetterIsoCountry: string;
|
|
5932
|
-
users: ImportSupplierUserDto[];
|
|
5933
|
-
}
|
|
5934
|
-
export interface ImportSupplierUserDto {
|
|
5935
|
-
username: string;
|
|
5936
|
-
name: string;
|
|
5937
|
-
roles: string[];
|
|
5938
|
-
}
|
|
5939
|
-
export interface CreateSupplierMapping {
|
|
5940
|
-
companyId: string;
|
|
5941
|
-
existingSupplierId: string;
|
|
5942
|
-
newSupplierId: string;
|
|
5943
|
-
}
|
|
5944
5871
|
export interface CncMachineTransferDto {
|
|
5945
5872
|
id: string;
|
|
5946
5873
|
cncMachineOperationId?: string | null;
|
|
@@ -9261,7 +9188,6 @@ export interface ListMeasurementFormsRequest {
|
|
|
9261
9188
|
pageSize?: number | null;
|
|
9262
9189
|
search?: string | null;
|
|
9263
9190
|
continuationToken?: string | null;
|
|
9264
|
-
tenantId?: string | null;
|
|
9265
9191
|
inactive?: boolean | null;
|
|
9266
9192
|
includeInactiveSupplierAccess?: boolean | null;
|
|
9267
9193
|
}
|
|
@@ -9457,7 +9383,6 @@ export interface UpsertSupplierToMeasurementFormInstanceRequest {
|
|
|
9457
9383
|
externalOrderNumber?: string | null;
|
|
9458
9384
|
}
|
|
9459
9385
|
export interface ExportDimensionReportV2Request {
|
|
9460
|
-
tenantId?: string | null;
|
|
9461
9386
|
type: DimensionReportType;
|
|
9462
9387
|
extras?: DimensionReportExtras | null;
|
|
9463
9388
|
specificSerialNumbers?: string[] | null;
|
|
@@ -9800,6 +9725,105 @@ export interface SetDiscussionLastReadRequest {
|
|
|
9800
9725
|
operationId?: string | null;
|
|
9801
9726
|
resourceId?: string | null;
|
|
9802
9727
|
}
|
|
9728
|
+
export interface CompanyUserDto {
|
|
9729
|
+
companyId: string;
|
|
9730
|
+
userObjectId: string;
|
|
9731
|
+
username?: string | null;
|
|
9732
|
+
name?: string | null;
|
|
9733
|
+
roles: string[];
|
|
9734
|
+
}
|
|
9735
|
+
export interface CreateCompanyUser {
|
|
9736
|
+
username: string;
|
|
9737
|
+
name: string;
|
|
9738
|
+
roles: string[];
|
|
9739
|
+
companyId?: string | null;
|
|
9740
|
+
}
|
|
9741
|
+
export interface UpdateCompanyUserRequest {
|
|
9742
|
+
roles: string[];
|
|
9743
|
+
companyId?: string | null;
|
|
9744
|
+
}
|
|
9745
|
+
export interface ExternalRoleDto {
|
|
9746
|
+
id: string;
|
|
9747
|
+
name: string;
|
|
9748
|
+
}
|
|
9749
|
+
export interface CompanyCustomerDto {
|
|
9750
|
+
customerTenantId?: string | null;
|
|
9751
|
+
customerAzureAdTenantId?: string | null;
|
|
9752
|
+
customerName?: string | null;
|
|
9753
|
+
supplierId?: string | null;
|
|
9754
|
+
supplierName?: string | null;
|
|
9755
|
+
customerIgnosPortalPrefix?: string | null;
|
|
9756
|
+
}
|
|
9757
|
+
export interface CompanyDto {
|
|
9758
|
+
id: string;
|
|
9759
|
+
name: string;
|
|
9760
|
+
organizationNumber?: string | null;
|
|
9761
|
+
country: string;
|
|
9762
|
+
tenantId?: string | null;
|
|
9763
|
+
}
|
|
9764
|
+
export interface SupplierInviteDto {
|
|
9765
|
+
id: string;
|
|
9766
|
+
supplierId: string;
|
|
9767
|
+
threeLetterIsoCountry: string;
|
|
9768
|
+
organizationNumber: string;
|
|
9769
|
+
supplierName?: string | null;
|
|
9770
|
+
userId: string;
|
|
9771
|
+
userName?: string | null;
|
|
9772
|
+
acceptedTimestamp?: Date | null;
|
|
9773
|
+
createdTime: Date;
|
|
9774
|
+
createdBy: string;
|
|
9775
|
+
}
|
|
9776
|
+
export interface CurrentSupplierInviteDto extends SupplierInviteDto {
|
|
9777
|
+
matchingCustomerOrCompany?: MatchingCustomerOrCompany | null;
|
|
9778
|
+
}
|
|
9779
|
+
export interface MatchingCustomerOrCompany {
|
|
9780
|
+
customer?: IgnosCustomerDto | null;
|
|
9781
|
+
company?: CompanyDto | null;
|
|
9782
|
+
companyCustomers?: CompanyCustomerDto[];
|
|
9783
|
+
}
|
|
9784
|
+
export interface IgnosCustomerDto {
|
|
9785
|
+
id: string;
|
|
9786
|
+
name: string;
|
|
9787
|
+
contactPerson: ContactPersonDto;
|
|
9788
|
+
threeLetterIsoCountry: string;
|
|
9789
|
+
organizationNumber: string;
|
|
9790
|
+
country: string;
|
|
9791
|
+
tenants: AvailableTenantDto[];
|
|
9792
|
+
}
|
|
9793
|
+
export interface ContactPersonDto {
|
|
9794
|
+
name: string;
|
|
9795
|
+
phone: string;
|
|
9796
|
+
email: string;
|
|
9797
|
+
}
|
|
9798
|
+
export interface TenantWithSupplierDto {
|
|
9799
|
+
tenantId: string;
|
|
9800
|
+
customerName: string;
|
|
9801
|
+
supplierTenantEntraId: string;
|
|
9802
|
+
}
|
|
9803
|
+
export interface CreateSupplierInviteRequest {
|
|
9804
|
+
supplierId: string;
|
|
9805
|
+
threeLetterIsoCountry: string;
|
|
9806
|
+
organizationNumber: string;
|
|
9807
|
+
supplierName?: string | null;
|
|
9808
|
+
username: string;
|
|
9809
|
+
invitedName: string;
|
|
9810
|
+
}
|
|
9811
|
+
export interface ExternalSupplierDto {
|
|
9812
|
+
id: string;
|
|
9813
|
+
name: string;
|
|
9814
|
+
companyId: string;
|
|
9815
|
+
active: boolean;
|
|
9816
|
+
}
|
|
9817
|
+
export interface CreateSupplierMapping {
|
|
9818
|
+
companyId: string;
|
|
9819
|
+
existingSupplierId: string;
|
|
9820
|
+
newSupplierId: string;
|
|
9821
|
+
}
|
|
9822
|
+
export interface OrganizationDto {
|
|
9823
|
+
name?: string;
|
|
9824
|
+
postalAddress?: string | null;
|
|
9825
|
+
registeredAddress?: string | null;
|
|
9826
|
+
}
|
|
9803
9827
|
export type FeatureCollectionType = "FeatureCollection";
|
|
9804
9828
|
export interface Features {
|
|
9805
9829
|
type: FeaturesType;
|