@ignos/api-client 20260812.220.1 → 20260812.221.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 +4618 -4455
- package/package.json +1 -1
- package/src/ignosportal-api.ts +6408 -6231
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>;
|
|
@@ -3123,22 +3033,22 @@ export declare class MeasurementFormsInstancesAdminClient extends AuthorizedApiB
|
|
|
3123
3033
|
protected processExportDimensionReportValues(response: Response): Promise<DownloadDto>;
|
|
3124
3034
|
}
|
|
3125
3035
|
export interface IMeasurementFormsInstancesClient {
|
|
3126
|
-
listMeasurementForms(pageSize: number | undefined, search: string | null | undefined, continuationToken: string | null | undefined,
|
|
3036
|
+
listMeasurementForms(pageSize: number | undefined, search: string | null | undefined, continuationToken: string | null | undefined, inactive: boolean | null | undefined, includeInactiveSupplierAccess: boolean | null | undefined): Promise<PagedResultOfMeasurementFormInstanceOverviewDto>;
|
|
3127
3037
|
postListMeasurementForms(request: ListMeasurementFormsRequest | undefined): Promise<PagedResultOfMeasurementFormInstanceOverviewDto>;
|
|
3128
|
-
getMeasurementFormInstance(id: string
|
|
3038
|
+
getMeasurementFormInstance(id: string): Promise<MeasurementFormInstanceDto>;
|
|
3129
3039
|
listMeasurementFormInstanceFeedback(id: string): Promise<MeasurementFormInstanceFeedbackDto[]>;
|
|
3130
|
-
completeMeasurementFormInstance(id: string
|
|
3131
|
-
completeMeasurementFormInstanceV2(id: string
|
|
3132
|
-
getMeasurementFormInstanceSchema(id: string, schemaId: string, serialNumber: string | null | undefined
|
|
3133
|
-
getWorkorderMeasurementFormProgress(id: string
|
|
3134
|
-
getAuditLog(id: string,
|
|
3040
|
+
completeMeasurementFormInstance(id: string): Promise<MeasurementFormInstanceDto>;
|
|
3041
|
+
completeMeasurementFormInstanceV2(id: string): Promise<CompleteMeasurementFormInstanceResult>;
|
|
3042
|
+
getMeasurementFormInstanceSchema(id: string, schemaId: string, serialNumber: string | null | undefined): Promise<MeasurementFormInstanceSchemaDto>;
|
|
3043
|
+
getWorkorderMeasurementFormProgress(id: string): Promise<MeasurementFormInstanceProgressDto>;
|
|
3044
|
+
getAuditLog(id: string, schemaId: string | null | undefined, serialNumber: string | null | undefined, elementId: string | null | undefined): Promise<MeasurementFormElementValueAuditDto[]>;
|
|
3135
3045
|
getValidationRules(): Promise<ValidationRuleDto[]>;
|
|
3136
|
-
saveValue(id: string,
|
|
3137
|
-
saveTool(id: string,
|
|
3138
|
-
saveComment(id: string,
|
|
3139
|
-
batchInsertValues(id: string,
|
|
3140
|
-
saveMeasurementFormInstanceSchemaComment(id: string, schemaId: string,
|
|
3141
|
-
createMeasurementFormInstanceSchemaFeedback(id: string, schemaId: string,
|
|
3046
|
+
saveValue(id: string, request: SaveValueRequest): Promise<SaveValueResponseDto>;
|
|
3047
|
+
saveTool(id: string, request: SaveToolRequest): Promise<SaveValueResponseDto>;
|
|
3048
|
+
saveComment(id: string, request: SaveCommentRequest): Promise<void>;
|
|
3049
|
+
batchInsertValues(id: string, request: BatchInsertValueRequest): Promise<BatchInsertValuesResponseDto>;
|
|
3050
|
+
saveMeasurementFormInstanceSchemaComment(id: string, schemaId: string, request: SaveMeasurementFormInstanceSchemaCommentRequest): Promise<void>;
|
|
3051
|
+
createMeasurementFormInstanceSchemaFeedback(id: string, schemaId: string, request: CreateMeasurementFormSchemaFeedbackRequest): Promise<SchemaFeedbackCreatedDto>;
|
|
3142
3052
|
listSupplierMeasurementFormInstances(supplierId: string): Promise<MeasurementFormSupplierAccessInstanceDto[]>;
|
|
3143
3053
|
upsertSupplierToMeasurmentFormInstance(id: string, supplierId: string, request: UpsertSupplierToMeasurementFormInstanceRequest): Promise<void>;
|
|
3144
3054
|
removeSupplierFromMeasurmentFormInstance(id: string, supplierId: string): Promise<void>;
|
|
@@ -3154,37 +3064,37 @@ export declare class MeasurementFormsInstancesClient extends AuthorizedApiBase i
|
|
|
3154
3064
|
constructor(configuration: IApiClientConfig, baseUrl?: string, http?: {
|
|
3155
3065
|
fetch(url: RequestInfo, init?: RequestInit): Promise<Response>;
|
|
3156
3066
|
});
|
|
3157
|
-
listMeasurementForms(pageSize: number | undefined, search: string | null | undefined, continuationToken: string | null | undefined,
|
|
3067
|
+
listMeasurementForms(pageSize: number | undefined, search: string | null | undefined, continuationToken: string | null | undefined, inactive: boolean | null | undefined, includeInactiveSupplierAccess: boolean | null | undefined): Promise<PagedResultOfMeasurementFormInstanceOverviewDto>;
|
|
3158
3068
|
protected processListMeasurementForms(response: Response): Promise<PagedResultOfMeasurementFormInstanceOverviewDto>;
|
|
3159
3069
|
postListMeasurementForms(request: ListMeasurementFormsRequest | undefined): Promise<PagedResultOfMeasurementFormInstanceOverviewDto>;
|
|
3160
3070
|
protected processPostListMeasurementForms(response: Response): Promise<PagedResultOfMeasurementFormInstanceOverviewDto>;
|
|
3161
|
-
getMeasurementFormInstance(id: string
|
|
3071
|
+
getMeasurementFormInstance(id: string): Promise<MeasurementFormInstanceDto>;
|
|
3162
3072
|
protected processGetMeasurementFormInstance(response: Response): Promise<MeasurementFormInstanceDto>;
|
|
3163
3073
|
listMeasurementFormInstanceFeedback(id: string): Promise<MeasurementFormInstanceFeedbackDto[]>;
|
|
3164
3074
|
protected processListMeasurementFormInstanceFeedback(response: Response): Promise<MeasurementFormInstanceFeedbackDto[]>;
|
|
3165
|
-
completeMeasurementFormInstance(id: string
|
|
3075
|
+
completeMeasurementFormInstance(id: string): Promise<MeasurementFormInstanceDto>;
|
|
3166
3076
|
protected processCompleteMeasurementFormInstance(response: Response): Promise<MeasurementFormInstanceDto>;
|
|
3167
|
-
completeMeasurementFormInstanceV2(id: string
|
|
3077
|
+
completeMeasurementFormInstanceV2(id: string): Promise<CompleteMeasurementFormInstanceResult>;
|
|
3168
3078
|
protected processCompleteMeasurementFormInstanceV2(response: Response): Promise<CompleteMeasurementFormInstanceResult>;
|
|
3169
|
-
getMeasurementFormInstanceSchema(id: string, schemaId: string, serialNumber: string | null | undefined
|
|
3079
|
+
getMeasurementFormInstanceSchema(id: string, schemaId: string, serialNumber: string | null | undefined): Promise<MeasurementFormInstanceSchemaDto>;
|
|
3170
3080
|
protected processGetMeasurementFormInstanceSchema(response: Response): Promise<MeasurementFormInstanceSchemaDto>;
|
|
3171
|
-
getWorkorderMeasurementFormProgress(id: string
|
|
3081
|
+
getWorkorderMeasurementFormProgress(id: string): Promise<MeasurementFormInstanceProgressDto>;
|
|
3172
3082
|
protected processGetWorkorderMeasurementFormProgress(response: Response): Promise<MeasurementFormInstanceProgressDto>;
|
|
3173
|
-
getAuditLog(id: string,
|
|
3083
|
+
getAuditLog(id: string, schemaId: string | null | undefined, serialNumber: string | null | undefined, elementId: string | null | undefined): Promise<MeasurementFormElementValueAuditDto[]>;
|
|
3174
3084
|
protected processGetAuditLog(response: Response): Promise<MeasurementFormElementValueAuditDto[]>;
|
|
3175
3085
|
getValidationRules(): Promise<ValidationRuleDto[]>;
|
|
3176
3086
|
protected processGetValidationRules(response: Response): Promise<ValidationRuleDto[]>;
|
|
3177
|
-
saveValue(id: string,
|
|
3087
|
+
saveValue(id: string, request: SaveValueRequest): Promise<SaveValueResponseDto>;
|
|
3178
3088
|
protected processSaveValue(response: Response): Promise<SaveValueResponseDto>;
|
|
3179
|
-
saveTool(id: string,
|
|
3089
|
+
saveTool(id: string, request: SaveToolRequest): Promise<SaveValueResponseDto>;
|
|
3180
3090
|
protected processSaveTool(response: Response): Promise<SaveValueResponseDto>;
|
|
3181
|
-
saveComment(id: string,
|
|
3091
|
+
saveComment(id: string, request: SaveCommentRequest): Promise<void>;
|
|
3182
3092
|
protected processSaveComment(response: Response): Promise<void>;
|
|
3183
|
-
batchInsertValues(id: string,
|
|
3093
|
+
batchInsertValues(id: string, request: BatchInsertValueRequest): Promise<BatchInsertValuesResponseDto>;
|
|
3184
3094
|
protected processBatchInsertValues(response: Response): Promise<BatchInsertValuesResponseDto>;
|
|
3185
|
-
saveMeasurementFormInstanceSchemaComment(id: string, schemaId: string,
|
|
3095
|
+
saveMeasurementFormInstanceSchemaComment(id: string, schemaId: string, request: SaveMeasurementFormInstanceSchemaCommentRequest): Promise<void>;
|
|
3186
3096
|
protected processSaveMeasurementFormInstanceSchemaComment(response: Response): Promise<void>;
|
|
3187
|
-
createMeasurementFormInstanceSchemaFeedback(id: string, schemaId: string,
|
|
3097
|
+
createMeasurementFormInstanceSchemaFeedback(id: string, schemaId: string, request: CreateMeasurementFormSchemaFeedbackRequest): Promise<SchemaFeedbackCreatedDto>;
|
|
3188
3098
|
protected processCreateMeasurementFormInstanceSchemaFeedback(response: Response): Promise<SchemaFeedbackCreatedDto>;
|
|
3189
3099
|
listSupplierMeasurementFormInstances(supplierId: string): Promise<MeasurementFormSupplierAccessInstanceDto[]>;
|
|
3190
3100
|
protected processListSupplierMeasurementFormInstances(response: Response): Promise<MeasurementFormSupplierAccessInstanceDto[]>;
|
|
@@ -3209,7 +3119,7 @@ export interface IMeasurementFormsInstancesInstanceAdminClient {
|
|
|
3209
3119
|
createMeasurementFormInstance2(id: string, request: CreateMeasurementFormInstanceRequest): Promise<MeasurementFormInstanceDto>;
|
|
3210
3120
|
reactivateMeasurementFormInstance(id: string): Promise<MeasurementFormInstanceDto>;
|
|
3211
3121
|
cancelMeasurementFormInstance(id: string): Promise<MeasurementFormInstanceDto>;
|
|
3212
|
-
toggleSchemaInstanceElementDocumentedExternallyOverride(id: string, schemaId: string, elementId: string
|
|
3122
|
+
toggleSchemaInstanceElementDocumentedExternallyOverride(id: string, schemaId: string, elementId: string): Promise<void>;
|
|
3213
3123
|
}
|
|
3214
3124
|
export declare class MeasurementFormsInstancesInstanceAdminClient extends AuthorizedApiBase implements IMeasurementFormsInstancesInstanceAdminClient {
|
|
3215
3125
|
private http;
|
|
@@ -3233,7 +3143,7 @@ export declare class MeasurementFormsInstancesInstanceAdminClient extends Author
|
|
|
3233
3143
|
protected processReactivateMeasurementFormInstance(response: Response): Promise<MeasurementFormInstanceDto>;
|
|
3234
3144
|
cancelMeasurementFormInstance(id: string): Promise<MeasurementFormInstanceDto>;
|
|
3235
3145
|
protected processCancelMeasurementFormInstance(response: Response): Promise<MeasurementFormInstanceDto>;
|
|
3236
|
-
toggleSchemaInstanceElementDocumentedExternallyOverride(id: string, schemaId: string, elementId: string
|
|
3146
|
+
toggleSchemaInstanceElementDocumentedExternallyOverride(id: string, schemaId: string, elementId: string): Promise<void>;
|
|
3237
3147
|
protected processToggleSchemaInstanceElementDocumentedExternallyOverride(response: Response): Promise<void>;
|
|
3238
3148
|
}
|
|
3239
3149
|
export interface ICompaniesClient {
|
|
@@ -3573,6 +3483,111 @@ export declare class WorkordersClient extends AuthorizedApiBase implements IWork
|
|
|
3573
3483
|
generateContentPartsForDiscussions(): Promise<WorkorderDiscussionMessageDto[]>;
|
|
3574
3484
|
protected processGenerateContentPartsForDiscussions(response: Response): Promise<WorkorderDiscussionMessageDto[]>;
|
|
3575
3485
|
}
|
|
3486
|
+
export interface IExternalAccessClient {
|
|
3487
|
+
listUsers(companyId: string | null | undefined): Promise<CompanyUserDto[]>;
|
|
3488
|
+
createCompanyUser(request: CreateCompanyUser): Promise<CompanyUserDto>;
|
|
3489
|
+
updateCompanyUser(id: string, request: UpdateCompanyUserRequest): Promise<CompanyUserDto>;
|
|
3490
|
+
deleteCompanyUser(id: string, companyId: string | null | undefined): Promise<void>;
|
|
3491
|
+
migrateLegacyCompanyUsersToEntra(): Promise<CompanyUserDto[]>;
|
|
3492
|
+
listRoles(): Promise<ExternalRoleDto[]>;
|
|
3493
|
+
listCompanyCustomers(): Promise<CompanyCustomerDto[]>;
|
|
3494
|
+
deleteCompanyCustomer(tenantId: string): Promise<void>;
|
|
3495
|
+
}
|
|
3496
|
+
export declare class ExternalAccessClient extends AuthorizedApiBase implements IExternalAccessClient {
|
|
3497
|
+
private http;
|
|
3498
|
+
private baseUrl;
|
|
3499
|
+
constructor(configuration: IApiClientConfig, baseUrl?: string, http?: {
|
|
3500
|
+
fetch(url: RequestInfo, init?: RequestInit): Promise<Response>;
|
|
3501
|
+
});
|
|
3502
|
+
listUsers(companyId: string | null | undefined): Promise<CompanyUserDto[]>;
|
|
3503
|
+
protected processListUsers(response: Response): Promise<CompanyUserDto[]>;
|
|
3504
|
+
createCompanyUser(request: CreateCompanyUser): Promise<CompanyUserDto>;
|
|
3505
|
+
protected processCreateCompanyUser(response: Response): Promise<CompanyUserDto>;
|
|
3506
|
+
updateCompanyUser(id: string, request: UpdateCompanyUserRequest): Promise<CompanyUserDto>;
|
|
3507
|
+
protected processUpdateCompanyUser(response: Response): Promise<CompanyUserDto>;
|
|
3508
|
+
deleteCompanyUser(id: string, companyId: string | null | undefined): Promise<void>;
|
|
3509
|
+
protected processDeleteCompanyUser(response: Response): Promise<void>;
|
|
3510
|
+
migrateLegacyCompanyUsersToEntra(): Promise<CompanyUserDto[]>;
|
|
3511
|
+
protected processMigrateLegacyCompanyUsersToEntra(response: Response): Promise<CompanyUserDto[]>;
|
|
3512
|
+
listRoles(): Promise<ExternalRoleDto[]>;
|
|
3513
|
+
protected processListRoles(response: Response): Promise<ExternalRoleDto[]>;
|
|
3514
|
+
listCompanyCustomers(): Promise<CompanyCustomerDto[]>;
|
|
3515
|
+
protected processListCompanyCustomers(response: Response): Promise<CompanyCustomerDto[]>;
|
|
3516
|
+
deleteCompanyCustomer(tenantId: string): Promise<void>;
|
|
3517
|
+
protected processDeleteCompanyCustomer(response: Response): Promise<void>;
|
|
3518
|
+
}
|
|
3519
|
+
export interface IExternalClient {
|
|
3520
|
+
listCompanies(): Promise<CompanyDto[]>;
|
|
3521
|
+
getCompany(id: string): Promise<CompanyDto>;
|
|
3522
|
+
getCurrentSupplierInvite(): Promise<CurrentSupplierInviteDto>;
|
|
3523
|
+
acceptSupplierInvite(acceptingTenantId: string | null | undefined): Promise<SupplierInviteDto>;
|
|
3524
|
+
listTenantsWithSuppliers(): Promise<TenantWithSupplierDto[]>;
|
|
3525
|
+
}
|
|
3526
|
+
export declare class ExternalClient extends AuthorizedApiBase implements IExternalClient {
|
|
3527
|
+
private http;
|
|
3528
|
+
private baseUrl;
|
|
3529
|
+
constructor(configuration: IApiClientConfig, baseUrl?: string, http?: {
|
|
3530
|
+
fetch(url: RequestInfo, init?: RequestInit): Promise<Response>;
|
|
3531
|
+
});
|
|
3532
|
+
listCompanies(): Promise<CompanyDto[]>;
|
|
3533
|
+
protected processListCompanies(response: Response): Promise<CompanyDto[]>;
|
|
3534
|
+
getCompany(id: string): Promise<CompanyDto>;
|
|
3535
|
+
protected processGetCompany(response: Response): Promise<CompanyDto>;
|
|
3536
|
+
getCurrentSupplierInvite(): Promise<CurrentSupplierInviteDto>;
|
|
3537
|
+
protected processGetCurrentSupplierInvite(response: Response): Promise<CurrentSupplierInviteDto>;
|
|
3538
|
+
acceptSupplierInvite(acceptingTenantId: string | null | undefined): Promise<SupplierInviteDto>;
|
|
3539
|
+
protected processAcceptSupplierInvite(response: Response): Promise<SupplierInviteDto>;
|
|
3540
|
+
listTenantsWithSuppliers(): Promise<TenantWithSupplierDto[]>;
|
|
3541
|
+
protected processListTenantsWithSuppliers(response: Response): Promise<TenantWithSupplierDto[]>;
|
|
3542
|
+
}
|
|
3543
|
+
export interface ISuppliersClient {
|
|
3544
|
+
listSupplierInvites(): Promise<SupplierInviteDto[]>;
|
|
3545
|
+
createSupplierInvite(request: CreateSupplierInviteRequest): Promise<SupplierInviteDto>;
|
|
3546
|
+
deleteSupplierInvite(id: string): Promise<void>;
|
|
3547
|
+
listSuppliers(): Promise<ExternalSupplierDto[]>;
|
|
3548
|
+
deleteSupplier(id: string): Promise<void>;
|
|
3549
|
+
/**
|
|
3550
|
+
* Creates a mapping between old supplier id and new supplier id.
|
|
3551
|
+
*/
|
|
3552
|
+
createSupplierMapping(request: CreateSupplierMapping): Promise<void>;
|
|
3553
|
+
/**
|
|
3554
|
+
* Delete all supplier mappings between old supplier ids and new supplier ids.
|
|
3555
|
+
*/
|
|
3556
|
+
deleteSupplierMappings(): Promise<void>;
|
|
3557
|
+
lookupOrganization(threeLetterIsoCountry: string | undefined, organizationNumber: string | undefined): Promise<OrganizationDto>;
|
|
3558
|
+
getOrganizationLookupSupportedCountries(): Promise<CountryDto[]>;
|
|
3559
|
+
}
|
|
3560
|
+
export declare class SuppliersClient extends AuthorizedApiBase implements ISuppliersClient {
|
|
3561
|
+
private http;
|
|
3562
|
+
private baseUrl;
|
|
3563
|
+
constructor(configuration: IApiClientConfig, baseUrl?: string, http?: {
|
|
3564
|
+
fetch(url: RequestInfo, init?: RequestInit): Promise<Response>;
|
|
3565
|
+
});
|
|
3566
|
+
listSupplierInvites(): Promise<SupplierInviteDto[]>;
|
|
3567
|
+
protected processListSupplierInvites(response: Response): Promise<SupplierInviteDto[]>;
|
|
3568
|
+
createSupplierInvite(request: CreateSupplierInviteRequest): Promise<SupplierInviteDto>;
|
|
3569
|
+
protected processCreateSupplierInvite(response: Response): Promise<SupplierInviteDto>;
|
|
3570
|
+
deleteSupplierInvite(id: string): Promise<void>;
|
|
3571
|
+
protected processDeleteSupplierInvite(response: Response): Promise<void>;
|
|
3572
|
+
listSuppliers(): Promise<ExternalSupplierDto[]>;
|
|
3573
|
+
protected processListSuppliers(response: Response): Promise<ExternalSupplierDto[]>;
|
|
3574
|
+
deleteSupplier(id: string): Promise<void>;
|
|
3575
|
+
protected processDeleteSupplier(response: Response): Promise<void>;
|
|
3576
|
+
/**
|
|
3577
|
+
* Creates a mapping between old supplier id and new supplier id.
|
|
3578
|
+
*/
|
|
3579
|
+
createSupplierMapping(request: CreateSupplierMapping): Promise<void>;
|
|
3580
|
+
protected processCreateSupplierMapping(response: Response): Promise<void>;
|
|
3581
|
+
/**
|
|
3582
|
+
* Delete all supplier mappings between old supplier ids and new supplier ids.
|
|
3583
|
+
*/
|
|
3584
|
+
deleteSupplierMappings(): Promise<void>;
|
|
3585
|
+
protected processDeleteSupplierMappings(response: Response): Promise<void>;
|
|
3586
|
+
lookupOrganization(threeLetterIsoCountry: string | undefined, organizationNumber: string | undefined): Promise<OrganizationDto>;
|
|
3587
|
+
protected processLookupOrganization(response: Response): Promise<OrganizationDto>;
|
|
3588
|
+
getOrganizationLookupSupportedCountries(): Promise<CountryDto[]>;
|
|
3589
|
+
protected processGetOrganizationLookupSupportedCountries(response: Response): Promise<CountryDto[]>;
|
|
3590
|
+
}
|
|
3576
3591
|
export interface AzureRegionDto {
|
|
3577
3592
|
displayName: string;
|
|
3578
3593
|
name: string;
|
|
@@ -3884,6 +3899,9 @@ export interface UserDetailsDto {
|
|
|
3884
3899
|
isExternalUser?: boolean;
|
|
3885
3900
|
isBetaTester?: boolean | null;
|
|
3886
3901
|
hasAccessToIgnos?: boolean;
|
|
3902
|
+
isInvitedUser?: boolean;
|
|
3903
|
+
isSupplier?: boolean;
|
|
3904
|
+
companyId?: string | null;
|
|
3887
3905
|
}
|
|
3888
3906
|
export interface UserDto {
|
|
3889
3907
|
id?: string | null;
|
|
@@ -5907,97 +5925,6 @@ export interface DocumentGeneratorTypeDto {
|
|
|
5907
5925
|
key: string;
|
|
5908
5926
|
description: string;
|
|
5909
5927
|
}
|
|
5910
|
-
export interface CompanyUserDto {
|
|
5911
|
-
companyId?: string | null;
|
|
5912
|
-
username?: string | null;
|
|
5913
|
-
name?: string | null;
|
|
5914
|
-
roles?: string[] | null;
|
|
5915
|
-
}
|
|
5916
|
-
export interface CreateCompanyUserRequest {
|
|
5917
|
-
username: string;
|
|
5918
|
-
name: string;
|
|
5919
|
-
roles: string[];
|
|
5920
|
-
companyId?: string | null;
|
|
5921
|
-
}
|
|
5922
|
-
export interface UpdateCompanyUserRequest {
|
|
5923
|
-
name: string;
|
|
5924
|
-
roles: string[];
|
|
5925
|
-
companyId?: string | null;
|
|
5926
|
-
}
|
|
5927
|
-
export interface ExternalRoleDto {
|
|
5928
|
-
id: string;
|
|
5929
|
-
name: string;
|
|
5930
|
-
}
|
|
5931
|
-
export interface CompanyCustomerDto {
|
|
5932
|
-
customerTenantId?: string | null;
|
|
5933
|
-
customerAzureAdTenantId?: string | null;
|
|
5934
|
-
customerName?: string | null;
|
|
5935
|
-
supplierId?: string | null;
|
|
5936
|
-
supplierName?: string | null;
|
|
5937
|
-
}
|
|
5938
|
-
export interface InviteDto {
|
|
5939
|
-
tenantId: string;
|
|
5940
|
-
companyName: string;
|
|
5941
|
-
id: string;
|
|
5942
|
-
supplierId: string;
|
|
5943
|
-
supplierName: string;
|
|
5944
|
-
username: string;
|
|
5945
|
-
deadline: Date;
|
|
5946
|
-
createdTime: Date;
|
|
5947
|
-
createdBy: string;
|
|
5948
|
-
}
|
|
5949
|
-
export interface CompanyDto {
|
|
5950
|
-
id?: string | null;
|
|
5951
|
-
name?: string | null;
|
|
5952
|
-
organizationNumber?: string | null;
|
|
5953
|
-
country?: string | null;
|
|
5954
|
-
tenantId?: string | null;
|
|
5955
|
-
}
|
|
5956
|
-
export interface AcceptSupplierInviteRequest {
|
|
5957
|
-
tenantId: string;
|
|
5958
|
-
existingCompanyId?: string | null;
|
|
5959
|
-
companyName?: string | null;
|
|
5960
|
-
organizationNumber?: string | null;
|
|
5961
|
-
threeLetterIsoCountry?: string | null;
|
|
5962
|
-
}
|
|
5963
|
-
export interface SupplierInviteDto {
|
|
5964
|
-
id: string;
|
|
5965
|
-
supplierId: string;
|
|
5966
|
-
name: string;
|
|
5967
|
-
username: string;
|
|
5968
|
-
deadline: Date;
|
|
5969
|
-
createdTime: Date;
|
|
5970
|
-
createdBy: string;
|
|
5971
|
-
}
|
|
5972
|
-
export interface CreateSupplierInvite {
|
|
5973
|
-
supplierId: string;
|
|
5974
|
-
name: string;
|
|
5975
|
-
username: string;
|
|
5976
|
-
deadline: Date;
|
|
5977
|
-
}
|
|
5978
|
-
export interface ExternalSupplierDto {
|
|
5979
|
-
id: string;
|
|
5980
|
-
name: string;
|
|
5981
|
-
companyId: string;
|
|
5982
|
-
active: boolean;
|
|
5983
|
-
}
|
|
5984
|
-
export interface ImportSupplier {
|
|
5985
|
-
supplierId: string;
|
|
5986
|
-
name: string;
|
|
5987
|
-
organizationNumber?: string | null;
|
|
5988
|
-
threeLetterIsoCountry: string;
|
|
5989
|
-
users: ImportSupplierUserDto[];
|
|
5990
|
-
}
|
|
5991
|
-
export interface ImportSupplierUserDto {
|
|
5992
|
-
username: string;
|
|
5993
|
-
name: string;
|
|
5994
|
-
roles: string[];
|
|
5995
|
-
}
|
|
5996
|
-
export interface CreateSupplierMapping {
|
|
5997
|
-
companyId: string;
|
|
5998
|
-
existingSupplierId: string;
|
|
5999
|
-
newSupplierId: string;
|
|
6000
|
-
}
|
|
6001
5928
|
export interface CncMachineTransferDto {
|
|
6002
5929
|
id: string;
|
|
6003
5930
|
cncMachineOperationId?: string | null;
|
|
@@ -9655,7 +9582,6 @@ export interface ListMeasurementFormsRequest {
|
|
|
9655
9582
|
pageSize?: number | null;
|
|
9656
9583
|
search?: string | null;
|
|
9657
9584
|
continuationToken?: string | null;
|
|
9658
|
-
tenantId?: string | null;
|
|
9659
9585
|
inactive?: boolean | null;
|
|
9660
9586
|
includeInactiveSupplierAccess?: boolean | null;
|
|
9661
9587
|
}
|
|
@@ -9851,7 +9777,6 @@ export interface UpsertSupplierToMeasurementFormInstanceRequest {
|
|
|
9851
9777
|
externalOrderNumber?: string | null;
|
|
9852
9778
|
}
|
|
9853
9779
|
export interface ExportDimensionReportV2Request {
|
|
9854
|
-
tenantId?: string | null;
|
|
9855
9780
|
type: DimensionReportType;
|
|
9856
9781
|
extras?: DimensionReportExtras | null;
|
|
9857
9782
|
specificSerialNumbers?: string[] | null;
|
|
@@ -10197,6 +10122,105 @@ export interface SetDiscussionLastReadRequest {
|
|
|
10197
10122
|
operationId?: string | null;
|
|
10198
10123
|
resourceId?: string | null;
|
|
10199
10124
|
}
|
|
10125
|
+
export interface CompanyUserDto {
|
|
10126
|
+
companyId: string;
|
|
10127
|
+
userObjectId: string;
|
|
10128
|
+
username?: string | null;
|
|
10129
|
+
name?: string | null;
|
|
10130
|
+
roles: string[];
|
|
10131
|
+
}
|
|
10132
|
+
export interface CreateCompanyUser {
|
|
10133
|
+
username: string;
|
|
10134
|
+
name: string;
|
|
10135
|
+
roles: string[];
|
|
10136
|
+
companyId?: string | null;
|
|
10137
|
+
}
|
|
10138
|
+
export interface UpdateCompanyUserRequest {
|
|
10139
|
+
roles: string[];
|
|
10140
|
+
companyId?: string | null;
|
|
10141
|
+
}
|
|
10142
|
+
export interface ExternalRoleDto {
|
|
10143
|
+
id: string;
|
|
10144
|
+
name: string;
|
|
10145
|
+
}
|
|
10146
|
+
export interface CompanyCustomerDto {
|
|
10147
|
+
customerTenantId?: string | null;
|
|
10148
|
+
customerAzureAdTenantId?: string | null;
|
|
10149
|
+
customerName?: string | null;
|
|
10150
|
+
supplierId?: string | null;
|
|
10151
|
+
supplierName?: string | null;
|
|
10152
|
+
customerIgnosPortalPrefix?: string | null;
|
|
10153
|
+
}
|
|
10154
|
+
export interface CompanyDto {
|
|
10155
|
+
id: string;
|
|
10156
|
+
name: string;
|
|
10157
|
+
organizationNumber?: string | null;
|
|
10158
|
+
country: string;
|
|
10159
|
+
tenantId?: string | null;
|
|
10160
|
+
}
|
|
10161
|
+
export interface SupplierInviteDto {
|
|
10162
|
+
id: string;
|
|
10163
|
+
supplierId: string;
|
|
10164
|
+
threeLetterIsoCountry: string;
|
|
10165
|
+
organizationNumber: string;
|
|
10166
|
+
supplierName?: string | null;
|
|
10167
|
+
userId: string;
|
|
10168
|
+
userName?: string | null;
|
|
10169
|
+
acceptedTimestamp?: Date | null;
|
|
10170
|
+
createdTime: Date;
|
|
10171
|
+
createdBy: string;
|
|
10172
|
+
}
|
|
10173
|
+
export interface CurrentSupplierInviteDto extends SupplierInviteDto {
|
|
10174
|
+
matchingCustomerOrCompany?: MatchingCustomerOrCompany | null;
|
|
10175
|
+
}
|
|
10176
|
+
export interface MatchingCustomerOrCompany {
|
|
10177
|
+
customer?: IgnosCustomerDto | null;
|
|
10178
|
+
company?: CompanyDto | null;
|
|
10179
|
+
companyCustomers?: CompanyCustomerDto[];
|
|
10180
|
+
}
|
|
10181
|
+
export interface IgnosCustomerDto {
|
|
10182
|
+
id: string;
|
|
10183
|
+
name: string;
|
|
10184
|
+
contactPerson: ContactPersonDto;
|
|
10185
|
+
threeLetterIsoCountry: string;
|
|
10186
|
+
organizationNumber: string;
|
|
10187
|
+
country: string;
|
|
10188
|
+
tenants: AvailableTenantDto[];
|
|
10189
|
+
}
|
|
10190
|
+
export interface ContactPersonDto {
|
|
10191
|
+
name: string;
|
|
10192
|
+
phone: string;
|
|
10193
|
+
email: string;
|
|
10194
|
+
}
|
|
10195
|
+
export interface TenantWithSupplierDto {
|
|
10196
|
+
tenantId: string;
|
|
10197
|
+
customerName: string;
|
|
10198
|
+
supplierTenantEntraId: string;
|
|
10199
|
+
}
|
|
10200
|
+
export interface CreateSupplierInviteRequest {
|
|
10201
|
+
supplierId: string;
|
|
10202
|
+
threeLetterIsoCountry: string;
|
|
10203
|
+
organizationNumber: string;
|
|
10204
|
+
supplierName?: string | null;
|
|
10205
|
+
username: string;
|
|
10206
|
+
invitedName: string;
|
|
10207
|
+
}
|
|
10208
|
+
export interface ExternalSupplierDto {
|
|
10209
|
+
id: string;
|
|
10210
|
+
name: string;
|
|
10211
|
+
companyId: string;
|
|
10212
|
+
active: boolean;
|
|
10213
|
+
}
|
|
10214
|
+
export interface CreateSupplierMapping {
|
|
10215
|
+
companyId: string;
|
|
10216
|
+
existingSupplierId: string;
|
|
10217
|
+
newSupplierId: string;
|
|
10218
|
+
}
|
|
10219
|
+
export interface OrganizationDto {
|
|
10220
|
+
name?: string;
|
|
10221
|
+
postalAddress?: string | null;
|
|
10222
|
+
registeredAddress?: string | null;
|
|
10223
|
+
}
|
|
10200
10224
|
export type FeatureCollectionType = "FeatureCollection";
|
|
10201
10225
|
export interface Features {
|
|
10202
10226
|
type: FeaturesType;
|