@ignos/api-client 20261104.347.1-alpha → 20261105.348.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 +478 -256
- package/lib/ignosportal-api.js +5008 -4713
- package/package.json +1 -1
- package/src/ignosportal-api.ts +7230 -6709
package/lib/ignosportal-api.d.ts
CHANGED
|
@@ -127,7 +127,6 @@ 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>;
|
|
131
130
|
}
|
|
132
131
|
export declare class GuestsClient extends AuthorizedApiBase implements IGuestsClient {
|
|
133
132
|
private http;
|
|
@@ -137,8 +136,6 @@ export declare class GuestsClient extends AuthorizedApiBase implements IGuestsCl
|
|
|
137
136
|
});
|
|
138
137
|
getGuestLoginInfo(search: string | undefined): Promise<GuestLoginInfoDto>;
|
|
139
138
|
protected processGetGuestLoginInfo(response: Response): Promise<GuestLoginInfoDto>;
|
|
140
|
-
getSupplierLoginInfo(search: string | undefined): Promise<GuestLoginInfoDto>;
|
|
141
|
-
protected processGetSupplierLoginInfo(response: Response): Promise<GuestLoginInfoDto>;
|
|
142
139
|
}
|
|
143
140
|
export interface IPresentationClient {
|
|
144
141
|
getComponentSettings(componentId: string): Promise<ComponentSettingsDto>;
|
|
@@ -1619,6 +1616,99 @@ export declare class DocumentTypesClient extends AuthorizedApiBase implements ID
|
|
|
1619
1616
|
listDocumentGenerators(): Promise<DocumentGeneratorTypeDto[]>;
|
|
1620
1617
|
protected processListDocumentGenerators(response: Response): Promise<DocumentGeneratorTypeDto[]>;
|
|
1621
1618
|
}
|
|
1619
|
+
export interface IExternalAccessClient {
|
|
1620
|
+
listUsers(companyId: string | null | undefined): Promise<CompanyUserDto[]>;
|
|
1621
|
+
createCompanyUser(request: CreateCompanyUserRequest): Promise<CompanyUserDto>;
|
|
1622
|
+
updateCompanyUser(id: string, request: UpdateCompanyUserRequest): Promise<CompanyUserDto>;
|
|
1623
|
+
deleteCompanyUser(id: string, companyId: string | null | undefined): Promise<void>;
|
|
1624
|
+
listRoles(): Promise<ExternalRoleDto[]>;
|
|
1625
|
+
listCompanyCustomers(): Promise<CompanyCustomerDto[]>;
|
|
1626
|
+
deleteCompanyCustomer(tenantId: string): Promise<void>;
|
|
1627
|
+
}
|
|
1628
|
+
export declare class ExternalAccessClient extends AuthorizedApiBase implements IExternalAccessClient {
|
|
1629
|
+
private http;
|
|
1630
|
+
private baseUrl;
|
|
1631
|
+
constructor(configuration: IApiClientConfig, baseUrl?: string, http?: {
|
|
1632
|
+
fetch(url: RequestInfo, init?: RequestInit): Promise<Response>;
|
|
1633
|
+
});
|
|
1634
|
+
listUsers(companyId: string | null | undefined): Promise<CompanyUserDto[]>;
|
|
1635
|
+
protected processListUsers(response: Response): Promise<CompanyUserDto[]>;
|
|
1636
|
+
createCompanyUser(request: CreateCompanyUserRequest): Promise<CompanyUserDto>;
|
|
1637
|
+
protected processCreateCompanyUser(response: Response): Promise<CompanyUserDto>;
|
|
1638
|
+
updateCompanyUser(id: string, request: UpdateCompanyUserRequest): Promise<CompanyUserDto>;
|
|
1639
|
+
protected processUpdateCompanyUser(response: Response): Promise<CompanyUserDto>;
|
|
1640
|
+
deleteCompanyUser(id: string, companyId: string | null | undefined): Promise<void>;
|
|
1641
|
+
protected processDeleteCompanyUser(response: Response): Promise<void>;
|
|
1642
|
+
listRoles(): Promise<ExternalRoleDto[]>;
|
|
1643
|
+
protected processListRoles(response: Response): Promise<ExternalRoleDto[]>;
|
|
1644
|
+
listCompanyCustomers(): Promise<CompanyCustomerDto[]>;
|
|
1645
|
+
protected processListCompanyCustomers(response: Response): Promise<CompanyCustomerDto[]>;
|
|
1646
|
+
deleteCompanyCustomer(tenantId: string): Promise<void>;
|
|
1647
|
+
protected processDeleteCompanyCustomer(response: Response): Promise<void>;
|
|
1648
|
+
}
|
|
1649
|
+
export interface IExternalClient {
|
|
1650
|
+
listInvites(): Promise<InviteDto[]>;
|
|
1651
|
+
acceptSupplierInvite(request: AcceptSupplierInviteRequest): Promise<CompanyDto>;
|
|
1652
|
+
listCompanies(): Promise<CompanyDto[]>;
|
|
1653
|
+
}
|
|
1654
|
+
export declare class ExternalClient extends AuthorizedApiBase implements IExternalClient {
|
|
1655
|
+
private http;
|
|
1656
|
+
private baseUrl;
|
|
1657
|
+
constructor(configuration: IApiClientConfig, baseUrl?: string, http?: {
|
|
1658
|
+
fetch(url: RequestInfo, init?: RequestInit): Promise<Response>;
|
|
1659
|
+
});
|
|
1660
|
+
listInvites(): Promise<InviteDto[]>;
|
|
1661
|
+
protected processListInvites(response: Response): Promise<InviteDto[]>;
|
|
1662
|
+
acceptSupplierInvite(request: AcceptSupplierInviteRequest): Promise<CompanyDto>;
|
|
1663
|
+
protected processAcceptSupplierInvite(response: Response): Promise<CompanyDto>;
|
|
1664
|
+
listCompanies(): Promise<CompanyDto[]>;
|
|
1665
|
+
protected processListCompanies(response: Response): Promise<CompanyDto[]>;
|
|
1666
|
+
}
|
|
1667
|
+
export interface ISuppliersClient {
|
|
1668
|
+
listSupplierInvites(): Promise<SupplierInviteDto[]>;
|
|
1669
|
+
createSupplierInvite(request: CreateSupplierInvite): Promise<SupplierInviteDto>;
|
|
1670
|
+
deleteSupplierInvite(id: string): Promise<void>;
|
|
1671
|
+
listSuppliers(): Promise<ExternalSupplierDto[]>;
|
|
1672
|
+
deleteSupplier(id: string): Promise<void>;
|
|
1673
|
+
importSupplier(importSupplier: ImportSupplier): Promise<ExternalSupplierDto>;
|
|
1674
|
+
/**
|
|
1675
|
+
* Creates a mapping between old supplier id and new supplier id.
|
|
1676
|
+
*/
|
|
1677
|
+
createSupplierMapping(request: CreateSupplierMapping): Promise<void>;
|
|
1678
|
+
/**
|
|
1679
|
+
* Delete all supplier mappings between old supplier ids and new supplier ids.
|
|
1680
|
+
*/
|
|
1681
|
+
deleteSupplierMappings(): Promise<void>;
|
|
1682
|
+
}
|
|
1683
|
+
export declare class SuppliersClient extends AuthorizedApiBase implements ISuppliersClient {
|
|
1684
|
+
private http;
|
|
1685
|
+
private baseUrl;
|
|
1686
|
+
constructor(configuration: IApiClientConfig, baseUrl?: string, http?: {
|
|
1687
|
+
fetch(url: RequestInfo, init?: RequestInit): Promise<Response>;
|
|
1688
|
+
});
|
|
1689
|
+
listSupplierInvites(): Promise<SupplierInviteDto[]>;
|
|
1690
|
+
protected processListSupplierInvites(response: Response): Promise<SupplierInviteDto[]>;
|
|
1691
|
+
createSupplierInvite(request: CreateSupplierInvite): Promise<SupplierInviteDto>;
|
|
1692
|
+
protected processCreateSupplierInvite(response: Response): Promise<SupplierInviteDto>;
|
|
1693
|
+
deleteSupplierInvite(id: string): Promise<void>;
|
|
1694
|
+
protected processDeleteSupplierInvite(response: Response): Promise<void>;
|
|
1695
|
+
listSuppliers(): Promise<ExternalSupplierDto[]>;
|
|
1696
|
+
protected processListSuppliers(response: Response): Promise<ExternalSupplierDto[]>;
|
|
1697
|
+
deleteSupplier(id: string): Promise<void>;
|
|
1698
|
+
protected processDeleteSupplier(response: Response): Promise<void>;
|
|
1699
|
+
importSupplier(importSupplier: ImportSupplier): Promise<ExternalSupplierDto>;
|
|
1700
|
+
protected processImportSupplier(response: Response): Promise<ExternalSupplierDto>;
|
|
1701
|
+
/**
|
|
1702
|
+
* Creates a mapping between old supplier id and new supplier id.
|
|
1703
|
+
*/
|
|
1704
|
+
createSupplierMapping(request: CreateSupplierMapping): Promise<void>;
|
|
1705
|
+
protected processCreateSupplierMapping(response: Response): Promise<void>;
|
|
1706
|
+
/**
|
|
1707
|
+
* Delete all supplier mappings between old supplier ids and new supplier ids.
|
|
1708
|
+
*/
|
|
1709
|
+
deleteSupplierMappings(): Promise<void>;
|
|
1710
|
+
protected processDeleteSupplierMappings(response: Response): Promise<void>;
|
|
1711
|
+
}
|
|
1622
1712
|
export interface ICncFileTransferClient {
|
|
1623
1713
|
startCncMachineOperationTransferToCloud(id: string): Promise<CncMachineTransferDto>;
|
|
1624
1714
|
startCncMachineOperationTransferToMachine(id: string, request: TransferToMachineRequest | undefined): Promise<CncMachineTransferDto>;
|
|
@@ -2060,6 +2150,24 @@ export declare class CdfClient extends AuthorizedApiBase implements ICdfClient {
|
|
|
2060
2150
|
updateCdfConfig(request: UpdateCdfConfig): Promise<CdfConfigDto>;
|
|
2061
2151
|
protected processUpdateCdfConfig(response: Response): Promise<CdfConfigDto>;
|
|
2062
2152
|
}
|
|
2153
|
+
export interface IInspectAdminClient {
|
|
2154
|
+
/**
|
|
2155
|
+
* One-off: flags the current tenant's schema versions that have a schema creator document.
|
|
2156
|
+
*/
|
|
2157
|
+
backfillSchemaCreatorFlags(): Promise<SchemaCreatorFlagBackfillDto>;
|
|
2158
|
+
}
|
|
2159
|
+
export declare class InspectAdminClient extends AuthorizedApiBase implements IInspectAdminClient {
|
|
2160
|
+
private http;
|
|
2161
|
+
private baseUrl;
|
|
2162
|
+
constructor(configuration: IApiClientConfig, baseUrl?: string, http?: {
|
|
2163
|
+
fetch(url: RequestInfo, init?: RequestInit): Promise<Response>;
|
|
2164
|
+
});
|
|
2165
|
+
/**
|
|
2166
|
+
* One-off: flags the current tenant's schema versions that have a schema creator document.
|
|
2167
|
+
*/
|
|
2168
|
+
backfillSchemaCreatorFlags(): Promise<SchemaCreatorFlagBackfillDto>;
|
|
2169
|
+
protected processBackfillSchemaCreatorFlags(response: Response): Promise<SchemaCreatorFlagBackfillDto>;
|
|
2170
|
+
}
|
|
2063
2171
|
export interface IWorkspaceDefaultsAdminClient {
|
|
2064
2172
|
getDefaults(): Promise<WorkspaceDefaultsDto>;
|
|
2065
2173
|
setMachineDefault(machineId: string, templateId: string): Promise<WorkspaceDefaultsDto>;
|
|
@@ -2924,6 +3032,10 @@ export interface IInspectSchemaCreatorClient {
|
|
|
2924
3032
|
drawing to derive it from.
|
|
2925
3033
|
*/
|
|
2926
3034
|
getSchemaCreatorXmlGeometry(schemaVersionId: string): Promise<SchemaCreatorXmlGeometryDto[]>;
|
|
3035
|
+
/**
|
|
3036
|
+
* Replaces the page grids; the response is the whole state with recomputed sheet zones.
|
|
3037
|
+
*/
|
|
3038
|
+
saveSchemaCreatorGrids(schemaVersionId: string, grids: SchemaCreatorPageGridDto[]): Promise<SchemaCreatorStateDto>;
|
|
2927
3039
|
/**
|
|
2928
3040
|
* Starts a full drawing AI parse: clears every element and locks the
|
|
2929
3041
|
schema for every viewer until it completes. If one is already in
|
|
@@ -2931,7 +3043,7 @@ export interface IInspectSchemaCreatorClient {
|
|
|
2931
3043
|
*/
|
|
2932
3044
|
requestSchemaCreatorDocumentParse(schemaVersionId: string): Promise<SchemaCreatorStateDto>;
|
|
2933
3045
|
/**
|
|
2934
|
-
* Stamps the creator state's balloons onto the schema's drawing PDF and
|
|
3046
|
+
* Stamps the creator state's grids and balloons onto the schema's drawing PDF and
|
|
2935
3047
|
returns a temporary download link.
|
|
2936
3048
|
*/
|
|
2937
3049
|
exportSchemaCreatorDrawing(schemaVersionId: string): Promise<DownloadDto>;
|
|
@@ -2970,6 +3082,11 @@ export declare class InspectSchemaCreatorClient extends AuthorizedApiBase implem
|
|
|
2970
3082
|
*/
|
|
2971
3083
|
getSchemaCreatorXmlGeometry(schemaVersionId: string): Promise<SchemaCreatorXmlGeometryDto[]>;
|
|
2972
3084
|
protected processGetSchemaCreatorXmlGeometry(response: Response): Promise<SchemaCreatorXmlGeometryDto[]>;
|
|
3085
|
+
/**
|
|
3086
|
+
* Replaces the page grids; the response is the whole state with recomputed sheet zones.
|
|
3087
|
+
*/
|
|
3088
|
+
saveSchemaCreatorGrids(schemaVersionId: string, grids: SchemaCreatorPageGridDto[]): Promise<SchemaCreatorStateDto>;
|
|
3089
|
+
protected processSaveSchemaCreatorGrids(response: Response): Promise<SchemaCreatorStateDto>;
|
|
2973
3090
|
/**
|
|
2974
3091
|
* Starts a full drawing AI parse: clears every element and locks the
|
|
2975
3092
|
schema for every viewer until it completes. If one is already in
|
|
@@ -2978,7 +3095,7 @@ export declare class InspectSchemaCreatorClient extends AuthorizedApiBase implem
|
|
|
2978
3095
|
requestSchemaCreatorDocumentParse(schemaVersionId: string): Promise<SchemaCreatorStateDto>;
|
|
2979
3096
|
protected processRequestSchemaCreatorDocumentParse(response: Response): Promise<SchemaCreatorStateDto>;
|
|
2980
3097
|
/**
|
|
2981
|
-
* Stamps the creator state's balloons onto the schema's drawing PDF and
|
|
3098
|
+
* Stamps the creator state's grids and balloons onto the schema's drawing PDF and
|
|
2982
3099
|
returns a temporary download link.
|
|
2983
3100
|
*/
|
|
2984
3101
|
exportSchemaCreatorDrawing(schemaVersionId: string): Promise<DownloadDto>;
|
|
@@ -3195,7 +3312,11 @@ export declare class MeasurementFormSchemasAdminClient extends AuthorizedApiBase
|
|
|
3195
3312
|
}
|
|
3196
3313
|
export interface IMeasurementFormSchemasClient {
|
|
3197
3314
|
getMeasurementFormSchema(id: string): Promise<MeasurementFormSchemaDto>;
|
|
3198
|
-
postListMeasurementFormSchemas(request: ListMeasurementFormSchemasRequest | undefined): Promise<
|
|
3315
|
+
postListMeasurementFormSchemas(request: ListMeasurementFormSchemasRequest | undefined): Promise<PagedResultOfMeasurementFormSchemaOverviewDto>;
|
|
3316
|
+
postCountMeasurementFormSchemas(request: CountMeasurementFormSchemasRequest | undefined): Promise<MeasurementFormSchemaCountsDto>;
|
|
3317
|
+
listMeasurementFormSchemaVersions(id: string): Promise<MeasurementFormSchemaVersionDto[]>;
|
|
3318
|
+
listMeasurementFormSchemaInstances(id: string): Promise<MeasurementFormSchemaInstanceDto[]>;
|
|
3319
|
+
listMeasurementFormSchemaVersionChanges(id: string): Promise<MeasurementFormSchemaVersionChangesDto[]>;
|
|
3199
3320
|
listFrequencies(): Promise<MeasurementFrequencyDto[]>;
|
|
3200
3321
|
/**
|
|
3201
3322
|
* Calculates +/- tolerance for an ISO fit designation (e.g. "12H7") typed into a Nominal Text field.
|
|
@@ -3218,8 +3339,16 @@ export declare class MeasurementFormSchemasClient extends AuthorizedApiBase impl
|
|
|
3218
3339
|
});
|
|
3219
3340
|
getMeasurementFormSchema(id: string): Promise<MeasurementFormSchemaDto>;
|
|
3220
3341
|
protected processGetMeasurementFormSchema(response: Response): Promise<MeasurementFormSchemaDto>;
|
|
3221
|
-
postListMeasurementFormSchemas(request: ListMeasurementFormSchemasRequest | undefined): Promise<
|
|
3222
|
-
protected processPostListMeasurementFormSchemas(response: Response): Promise<
|
|
3342
|
+
postListMeasurementFormSchemas(request: ListMeasurementFormSchemasRequest | undefined): Promise<PagedResultOfMeasurementFormSchemaOverviewDto>;
|
|
3343
|
+
protected processPostListMeasurementFormSchemas(response: Response): Promise<PagedResultOfMeasurementFormSchemaOverviewDto>;
|
|
3344
|
+
postCountMeasurementFormSchemas(request: CountMeasurementFormSchemasRequest | undefined): Promise<MeasurementFormSchemaCountsDto>;
|
|
3345
|
+
protected processPostCountMeasurementFormSchemas(response: Response): Promise<MeasurementFormSchemaCountsDto>;
|
|
3346
|
+
listMeasurementFormSchemaVersions(id: string): Promise<MeasurementFormSchemaVersionDto[]>;
|
|
3347
|
+
protected processListMeasurementFormSchemaVersions(response: Response): Promise<MeasurementFormSchemaVersionDto[]>;
|
|
3348
|
+
listMeasurementFormSchemaInstances(id: string): Promise<MeasurementFormSchemaInstanceDto[]>;
|
|
3349
|
+
protected processListMeasurementFormSchemaInstances(response: Response): Promise<MeasurementFormSchemaInstanceDto[]>;
|
|
3350
|
+
listMeasurementFormSchemaVersionChanges(id: string): Promise<MeasurementFormSchemaVersionChangesDto[]>;
|
|
3351
|
+
protected processListMeasurementFormSchemaVersionChanges(response: Response): Promise<MeasurementFormSchemaVersionChangesDto[]>;
|
|
3223
3352
|
listFrequencies(): Promise<MeasurementFrequencyDto[]>;
|
|
3224
3353
|
protected processListFrequencies(response: Response): Promise<MeasurementFrequencyDto[]>;
|
|
3225
3354
|
/**
|
|
@@ -3278,23 +3407,23 @@ export declare class MeasurementFormsInstancesAdminClient extends AuthorizedApiB
|
|
|
3278
3407
|
protected processExportDimensionReportValues(response: Response): Promise<DownloadDto>;
|
|
3279
3408
|
}
|
|
3280
3409
|
export interface IMeasurementFormsInstancesClient {
|
|
3281
|
-
listMeasurementForms(pageSize: number | undefined, search: string | null | undefined, continuationToken: string | null | undefined, inactive: boolean | null | undefined, includeInactiveSupplierAccess: boolean | null | undefined): Promise<PagedResultOfMeasurementFormInstanceOverviewDto>;
|
|
3410
|
+
listMeasurementForms(pageSize: number | undefined, search: string | null | undefined, continuationToken: string | null | undefined, tenantId: string | null | undefined, inactive: boolean | null | undefined, includeInactiveSupplierAccess: boolean | null | undefined): Promise<PagedResultOfMeasurementFormInstanceOverviewDto>;
|
|
3282
3411
|
postListMeasurementForms(request: ListMeasurementFormsRequest | undefined): Promise<PagedResultOfMeasurementFormInstanceOverviewDto>;
|
|
3283
|
-
getMeasurementFormInstance(id: string): Promise<MeasurementFormInstanceDto>;
|
|
3412
|
+
getMeasurementFormInstance(id: string, tenantId: string | null | undefined): Promise<MeasurementFormInstanceDto>;
|
|
3284
3413
|
listMeasurementFormInstanceFeedback(id: string): Promise<MeasurementFormInstanceFeedbackDto[]>;
|
|
3285
|
-
completeMeasurementFormInstance(id: string): Promise<MeasurementFormInstanceDto>;
|
|
3286
|
-
completeMeasurementFormInstanceV2(id: string): Promise<CompleteMeasurementFormInstanceResult>;
|
|
3287
|
-
getMeasurementFormInstanceSchema(id: string, schemaId: string, serialNumber: string | null | undefined): Promise<MeasurementFormInstanceSchemaDto>;
|
|
3288
|
-
getMeasurementFormInstanceSchemaCreatorState(id: string, schemaId: string): Promise<SchemaCreatorStateDto>;
|
|
3289
|
-
getWorkorderMeasurementFormProgress(id: string): Promise<MeasurementFormInstanceProgressDto>;
|
|
3290
|
-
getAuditLog(id: string, schemaId: string | null | undefined, serialNumber: string | null | undefined, elementId: string | null | undefined): Promise<MeasurementFormElementValueAuditDto[]>;
|
|
3414
|
+
completeMeasurementFormInstance(id: string, tenantId: string | null | undefined): Promise<MeasurementFormInstanceDto>;
|
|
3415
|
+
completeMeasurementFormInstanceV2(id: string, tenantId: string | null | undefined): Promise<CompleteMeasurementFormInstanceResult>;
|
|
3416
|
+
getMeasurementFormInstanceSchema(id: string, schemaId: string, serialNumber: string | null | undefined, tenantId: string | null | undefined): Promise<MeasurementFormInstanceSchemaDto>;
|
|
3417
|
+
getMeasurementFormInstanceSchemaCreatorState(id: string, schemaId: string, tenantId: string | null | undefined): Promise<SchemaCreatorStateDto>;
|
|
3418
|
+
getWorkorderMeasurementFormProgress(id: string, tenantId: string | null | undefined): Promise<MeasurementFormInstanceProgressDto>;
|
|
3419
|
+
getAuditLog(id: string, tenantId: string | null | undefined, schemaId: string | null | undefined, serialNumber: string | null | undefined, elementId: string | null | undefined): Promise<MeasurementFormElementValueAuditDto[]>;
|
|
3291
3420
|
getValidationRules(): Promise<ValidationRuleDto[]>;
|
|
3292
|
-
saveValue(id: string, request: SaveValueRequest): Promise<SaveValueResponseDto>;
|
|
3293
|
-
saveTool(id: string, request: SaveToolRequest): Promise<SaveValueResponseDto>;
|
|
3294
|
-
saveComment(id: string, request: SaveCommentRequest): Promise<void>;
|
|
3295
|
-
batchInsertValues(id: string, request: BatchInsertValueRequest): Promise<BatchInsertValuesResponseDto>;
|
|
3296
|
-
saveMeasurementFormInstanceSchemaComment(id: string, schemaId: string, request: SaveMeasurementFormInstanceSchemaCommentRequest): Promise<void>;
|
|
3297
|
-
createMeasurementFormInstanceSchemaFeedback(id: string, schemaId: string, request: CreateMeasurementFormSchemaFeedbackRequest): Promise<SchemaFeedbackCreatedDto>;
|
|
3421
|
+
saveValue(id: string, tenantId: string | null | undefined, request: SaveValueRequest): Promise<SaveValueResponseDto>;
|
|
3422
|
+
saveTool(id: string, tenantId: string | null | undefined, request: SaveToolRequest): Promise<SaveValueResponseDto>;
|
|
3423
|
+
saveComment(id: string, tenantId: string | null | undefined, request: SaveCommentRequest): Promise<void>;
|
|
3424
|
+
batchInsertValues(id: string, tenantId: string | null | undefined, request: BatchInsertValueRequest): Promise<BatchInsertValuesResponseDto>;
|
|
3425
|
+
saveMeasurementFormInstanceSchemaComment(id: string, schemaId: string, tenantId: string | null | undefined, request: SaveMeasurementFormInstanceSchemaCommentRequest): Promise<void>;
|
|
3426
|
+
createMeasurementFormInstanceSchemaFeedback(id: string, schemaId: string, tenantId: string | null | undefined, request: CreateMeasurementFormSchemaFeedbackRequest): Promise<SchemaFeedbackCreatedDto>;
|
|
3298
3427
|
listSupplierMeasurementFormInstances(supplierId: string): Promise<MeasurementFormSupplierAccessInstanceDto[]>;
|
|
3299
3428
|
upsertSupplierToMeasurmentFormInstance(id: string, supplierId: string, request: UpsertSupplierToMeasurementFormInstanceRequest): Promise<void>;
|
|
3300
3429
|
removeSupplierFromMeasurmentFormInstance(id: string, supplierId: string): Promise<void>;
|
|
@@ -3310,39 +3439,39 @@ export declare class MeasurementFormsInstancesClient extends AuthorizedApiBase i
|
|
|
3310
3439
|
constructor(configuration: IApiClientConfig, baseUrl?: string, http?: {
|
|
3311
3440
|
fetch(url: RequestInfo, init?: RequestInit): Promise<Response>;
|
|
3312
3441
|
});
|
|
3313
|
-
listMeasurementForms(pageSize: number | undefined, search: string | null | undefined, continuationToken: string | null | undefined, inactive: boolean | null | undefined, includeInactiveSupplierAccess: boolean | null | undefined): Promise<PagedResultOfMeasurementFormInstanceOverviewDto>;
|
|
3442
|
+
listMeasurementForms(pageSize: number | undefined, search: string | null | undefined, continuationToken: string | null | undefined, tenantId: string | null | undefined, inactive: boolean | null | undefined, includeInactiveSupplierAccess: boolean | null | undefined): Promise<PagedResultOfMeasurementFormInstanceOverviewDto>;
|
|
3314
3443
|
protected processListMeasurementForms(response: Response): Promise<PagedResultOfMeasurementFormInstanceOverviewDto>;
|
|
3315
3444
|
postListMeasurementForms(request: ListMeasurementFormsRequest | undefined): Promise<PagedResultOfMeasurementFormInstanceOverviewDto>;
|
|
3316
3445
|
protected processPostListMeasurementForms(response: Response): Promise<PagedResultOfMeasurementFormInstanceOverviewDto>;
|
|
3317
|
-
getMeasurementFormInstance(id: string): Promise<MeasurementFormInstanceDto>;
|
|
3446
|
+
getMeasurementFormInstance(id: string, tenantId: string | null | undefined): Promise<MeasurementFormInstanceDto>;
|
|
3318
3447
|
protected processGetMeasurementFormInstance(response: Response): Promise<MeasurementFormInstanceDto>;
|
|
3319
3448
|
listMeasurementFormInstanceFeedback(id: string): Promise<MeasurementFormInstanceFeedbackDto[]>;
|
|
3320
3449
|
protected processListMeasurementFormInstanceFeedback(response: Response): Promise<MeasurementFormInstanceFeedbackDto[]>;
|
|
3321
|
-
completeMeasurementFormInstance(id: string): Promise<MeasurementFormInstanceDto>;
|
|
3450
|
+
completeMeasurementFormInstance(id: string, tenantId: string | null | undefined): Promise<MeasurementFormInstanceDto>;
|
|
3322
3451
|
protected processCompleteMeasurementFormInstance(response: Response): Promise<MeasurementFormInstanceDto>;
|
|
3323
|
-
completeMeasurementFormInstanceV2(id: string): Promise<CompleteMeasurementFormInstanceResult>;
|
|
3452
|
+
completeMeasurementFormInstanceV2(id: string, tenantId: string | null | undefined): Promise<CompleteMeasurementFormInstanceResult>;
|
|
3324
3453
|
protected processCompleteMeasurementFormInstanceV2(response: Response): Promise<CompleteMeasurementFormInstanceResult>;
|
|
3325
|
-
getMeasurementFormInstanceSchema(id: string, schemaId: string, serialNumber: string | null | undefined): Promise<MeasurementFormInstanceSchemaDto>;
|
|
3454
|
+
getMeasurementFormInstanceSchema(id: string, schemaId: string, serialNumber: string | null | undefined, tenantId: string | null | undefined): Promise<MeasurementFormInstanceSchemaDto>;
|
|
3326
3455
|
protected processGetMeasurementFormInstanceSchema(response: Response): Promise<MeasurementFormInstanceSchemaDto>;
|
|
3327
|
-
getMeasurementFormInstanceSchemaCreatorState(id: string, schemaId: string): Promise<SchemaCreatorStateDto>;
|
|
3456
|
+
getMeasurementFormInstanceSchemaCreatorState(id: string, schemaId: string, tenantId: string | null | undefined): Promise<SchemaCreatorStateDto>;
|
|
3328
3457
|
protected processGetMeasurementFormInstanceSchemaCreatorState(response: Response): Promise<SchemaCreatorStateDto>;
|
|
3329
|
-
getWorkorderMeasurementFormProgress(id: string): Promise<MeasurementFormInstanceProgressDto>;
|
|
3458
|
+
getWorkorderMeasurementFormProgress(id: string, tenantId: string | null | undefined): Promise<MeasurementFormInstanceProgressDto>;
|
|
3330
3459
|
protected processGetWorkorderMeasurementFormProgress(response: Response): Promise<MeasurementFormInstanceProgressDto>;
|
|
3331
|
-
getAuditLog(id: string, schemaId: string | null | undefined, serialNumber: string | null | undefined, elementId: string | null | undefined): Promise<MeasurementFormElementValueAuditDto[]>;
|
|
3460
|
+
getAuditLog(id: string, tenantId: string | null | undefined, schemaId: string | null | undefined, serialNumber: string | null | undefined, elementId: string | null | undefined): Promise<MeasurementFormElementValueAuditDto[]>;
|
|
3332
3461
|
protected processGetAuditLog(response: Response): Promise<MeasurementFormElementValueAuditDto[]>;
|
|
3333
3462
|
getValidationRules(): Promise<ValidationRuleDto[]>;
|
|
3334
3463
|
protected processGetValidationRules(response: Response): Promise<ValidationRuleDto[]>;
|
|
3335
|
-
saveValue(id: string, request: SaveValueRequest): Promise<SaveValueResponseDto>;
|
|
3464
|
+
saveValue(id: string, tenantId: string | null | undefined, request: SaveValueRequest): Promise<SaveValueResponseDto>;
|
|
3336
3465
|
protected processSaveValue(response: Response): Promise<SaveValueResponseDto>;
|
|
3337
|
-
saveTool(id: string, request: SaveToolRequest): Promise<SaveValueResponseDto>;
|
|
3466
|
+
saveTool(id: string, tenantId: string | null | undefined, request: SaveToolRequest): Promise<SaveValueResponseDto>;
|
|
3338
3467
|
protected processSaveTool(response: Response): Promise<SaveValueResponseDto>;
|
|
3339
|
-
saveComment(id: string, request: SaveCommentRequest): Promise<void>;
|
|
3468
|
+
saveComment(id: string, tenantId: string | null | undefined, request: SaveCommentRequest): Promise<void>;
|
|
3340
3469
|
protected processSaveComment(response: Response): Promise<void>;
|
|
3341
|
-
batchInsertValues(id: string, request: BatchInsertValueRequest): Promise<BatchInsertValuesResponseDto>;
|
|
3470
|
+
batchInsertValues(id: string, tenantId: string | null | undefined, request: BatchInsertValueRequest): Promise<BatchInsertValuesResponseDto>;
|
|
3342
3471
|
protected processBatchInsertValues(response: Response): Promise<BatchInsertValuesResponseDto>;
|
|
3343
|
-
saveMeasurementFormInstanceSchemaComment(id: string, schemaId: string, request: SaveMeasurementFormInstanceSchemaCommentRequest): Promise<void>;
|
|
3472
|
+
saveMeasurementFormInstanceSchemaComment(id: string, schemaId: string, tenantId: string | null | undefined, request: SaveMeasurementFormInstanceSchemaCommentRequest): Promise<void>;
|
|
3344
3473
|
protected processSaveMeasurementFormInstanceSchemaComment(response: Response): Promise<void>;
|
|
3345
|
-
createMeasurementFormInstanceSchemaFeedback(id: string, schemaId: string, request: CreateMeasurementFormSchemaFeedbackRequest): Promise<SchemaFeedbackCreatedDto>;
|
|
3474
|
+
createMeasurementFormInstanceSchemaFeedback(id: string, schemaId: string, tenantId: string | null | undefined, request: CreateMeasurementFormSchemaFeedbackRequest): Promise<SchemaFeedbackCreatedDto>;
|
|
3346
3475
|
protected processCreateMeasurementFormInstanceSchemaFeedback(response: Response): Promise<SchemaFeedbackCreatedDto>;
|
|
3347
3476
|
listSupplierMeasurementFormInstances(supplierId: string): Promise<MeasurementFormSupplierAccessInstanceDto[]>;
|
|
3348
3477
|
protected processListSupplierMeasurementFormInstances(response: Response): Promise<MeasurementFormSupplierAccessInstanceDto[]>;
|
|
@@ -3360,14 +3489,25 @@ export declare class MeasurementFormsInstancesClient extends AuthorizedApiBase i
|
|
|
3360
3489
|
}
|
|
3361
3490
|
export interface IMeasurementFormsInstancesInstanceAdminClient {
|
|
3362
3491
|
createMeasurementFormInstance(id: string): Promise<MeasurementFormInstanceDto>;
|
|
3492
|
+
/**
|
|
3493
|
+
* @deprecated
|
|
3494
|
+
*/
|
|
3363
3495
|
updateMeasurementFormInstance(id: string, request: UpdateMeasurementFormInstanceRequest): Promise<MeasurementFormInstanceDto>;
|
|
3364
3496
|
listMeasurementFormsByStatus(status: MeasurementFormInstanceStatus | undefined, statusChangedSince: Date | null | undefined, onlyWithReports: boolean | null | undefined, pageSize: number | undefined, search: string | null | undefined, continuationToken: string | null | undefined): Promise<PagedResultOfMeasurementFormInstanceDto>;
|
|
3365
3497
|
postListMeasurementFormsByStatus(request: ListMeasurementFormsByStatusRequest | undefined): Promise<PagedResultOfMeasurementFormInstanceDto>;
|
|
3366
3498
|
deleteInstancesBulk(request: DeleteMeasurementFormsInstancesBulkRequest): Promise<void>;
|
|
3499
|
+
postCountMeasurementFormsByStatus(request: CountMeasurementFormInstancesRequest | undefined): Promise<MeasurementFormInstanceCountsDto>;
|
|
3500
|
+
postListMeasurementFormsByStatusV2(request: ListMeasurementFormsByStatusesRequest | undefined): Promise<PagedResultOfMeasurementFormInstanceDto>;
|
|
3367
3501
|
createMeasurementFormInstance2(id: string, request: CreateMeasurementFormInstanceRequest): Promise<MeasurementFormInstanceDto>;
|
|
3502
|
+
editMeasurementFormInstance(id: string, request: EditMeasurementFormInstanceRequest): Promise<MeasurementFormInstanceDto>;
|
|
3503
|
+
/**
|
|
3504
|
+
* What saving the edited serial numbers would do to them and their measurements, without saving.
|
|
3505
|
+
*/
|
|
3506
|
+
previewMeasurementFormInstanceEdit(id: string, request: PreviewMeasurementFormInstanceEditRequest): Promise<SerialNumberEditPreviewDto>;
|
|
3507
|
+
getSerialNumberMeasurements(id: string): Promise<SerialNumberMeasurementsDto[]>;
|
|
3368
3508
|
reactivateMeasurementFormInstance(id: string): Promise<MeasurementFormInstanceDto>;
|
|
3369
3509
|
cancelMeasurementFormInstance(id: string): Promise<MeasurementFormInstanceDto>;
|
|
3370
|
-
toggleSchemaInstanceElementDocumentedExternallyOverride(id: string, schemaId: string, elementId: string): Promise<void>;
|
|
3510
|
+
toggleSchemaInstanceElementDocumentedExternallyOverride(id: string, schemaId: string, elementId: string, tenantId: string | null | undefined): Promise<void>;
|
|
3371
3511
|
}
|
|
3372
3512
|
export declare class MeasurementFormsInstancesInstanceAdminClient extends AuthorizedApiBase implements IMeasurementFormsInstancesInstanceAdminClient {
|
|
3373
3513
|
private http;
|
|
@@ -3377,6 +3517,9 @@ export declare class MeasurementFormsInstancesInstanceAdminClient extends Author
|
|
|
3377
3517
|
});
|
|
3378
3518
|
createMeasurementFormInstance(id: string): Promise<MeasurementFormInstanceDto>;
|
|
3379
3519
|
protected processCreateMeasurementFormInstance(response: Response): Promise<MeasurementFormInstanceDto>;
|
|
3520
|
+
/**
|
|
3521
|
+
* @deprecated
|
|
3522
|
+
*/
|
|
3380
3523
|
updateMeasurementFormInstance(id: string, request: UpdateMeasurementFormInstanceRequest): Promise<MeasurementFormInstanceDto>;
|
|
3381
3524
|
protected processUpdateMeasurementFormInstance(response: Response): Promise<MeasurementFormInstanceDto>;
|
|
3382
3525
|
listMeasurementFormsByStatus(status: MeasurementFormInstanceStatus | undefined, statusChangedSince: Date | null | undefined, onlyWithReports: boolean | null | undefined, pageSize: number | undefined, search: string | null | undefined, continuationToken: string | null | undefined): Promise<PagedResultOfMeasurementFormInstanceDto>;
|
|
@@ -3385,13 +3528,26 @@ export declare class MeasurementFormsInstancesInstanceAdminClient extends Author
|
|
|
3385
3528
|
protected processPostListMeasurementFormsByStatus(response: Response): Promise<PagedResultOfMeasurementFormInstanceDto>;
|
|
3386
3529
|
deleteInstancesBulk(request: DeleteMeasurementFormsInstancesBulkRequest): Promise<void>;
|
|
3387
3530
|
protected processDeleteInstancesBulk(response: Response): Promise<void>;
|
|
3531
|
+
postCountMeasurementFormsByStatus(request: CountMeasurementFormInstancesRequest | undefined): Promise<MeasurementFormInstanceCountsDto>;
|
|
3532
|
+
protected processPostCountMeasurementFormsByStatus(response: Response): Promise<MeasurementFormInstanceCountsDto>;
|
|
3533
|
+
postListMeasurementFormsByStatusV2(request: ListMeasurementFormsByStatusesRequest | undefined): Promise<PagedResultOfMeasurementFormInstanceDto>;
|
|
3534
|
+
protected processPostListMeasurementFormsByStatusV2(response: Response): Promise<PagedResultOfMeasurementFormInstanceDto>;
|
|
3388
3535
|
createMeasurementFormInstance2(id: string, request: CreateMeasurementFormInstanceRequest): Promise<MeasurementFormInstanceDto>;
|
|
3389
3536
|
protected processCreateMeasurementFormInstance2(response: Response): Promise<MeasurementFormInstanceDto>;
|
|
3537
|
+
editMeasurementFormInstance(id: string, request: EditMeasurementFormInstanceRequest): Promise<MeasurementFormInstanceDto>;
|
|
3538
|
+
protected processEditMeasurementFormInstance(response: Response): Promise<MeasurementFormInstanceDto>;
|
|
3539
|
+
/**
|
|
3540
|
+
* What saving the edited serial numbers would do to them and their measurements, without saving.
|
|
3541
|
+
*/
|
|
3542
|
+
previewMeasurementFormInstanceEdit(id: string, request: PreviewMeasurementFormInstanceEditRequest): Promise<SerialNumberEditPreviewDto>;
|
|
3543
|
+
protected processPreviewMeasurementFormInstanceEdit(response: Response): Promise<SerialNumberEditPreviewDto>;
|
|
3544
|
+
getSerialNumberMeasurements(id: string): Promise<SerialNumberMeasurementsDto[]>;
|
|
3545
|
+
protected processGetSerialNumberMeasurements(response: Response): Promise<SerialNumberMeasurementsDto[]>;
|
|
3390
3546
|
reactivateMeasurementFormInstance(id: string): Promise<MeasurementFormInstanceDto>;
|
|
3391
3547
|
protected processReactivateMeasurementFormInstance(response: Response): Promise<MeasurementFormInstanceDto>;
|
|
3392
3548
|
cancelMeasurementFormInstance(id: string): Promise<MeasurementFormInstanceDto>;
|
|
3393
3549
|
protected processCancelMeasurementFormInstance(response: Response): Promise<MeasurementFormInstanceDto>;
|
|
3394
|
-
toggleSchemaInstanceElementDocumentedExternallyOverride(id: string, schemaId: string, elementId: string): Promise<void>;
|
|
3550
|
+
toggleSchemaInstanceElementDocumentedExternallyOverride(id: string, schemaId: string, elementId: string, tenantId: string | null | undefined): Promise<void>;
|
|
3395
3551
|
protected processToggleSchemaInstanceElementDocumentedExternallyOverride(response: Response): Promise<void>;
|
|
3396
3552
|
}
|
|
3397
3553
|
export interface ICompaniesClient {
|
|
@@ -3731,111 +3887,6 @@ export declare class WorkordersClient extends AuthorizedApiBase implements IWork
|
|
|
3731
3887
|
generateContentPartsForDiscussions(): Promise<WorkorderDiscussionMessageDto[]>;
|
|
3732
3888
|
protected processGenerateContentPartsForDiscussions(response: Response): Promise<WorkorderDiscussionMessageDto[]>;
|
|
3733
3889
|
}
|
|
3734
|
-
export interface IExternalAccessClient {
|
|
3735
|
-
listUsers(companyId: string | null | undefined): Promise<CompanyUserDto[]>;
|
|
3736
|
-
createCompanyUser(request: CreateCompanyUser): Promise<CompanyUserDto>;
|
|
3737
|
-
updateCompanyUser(id: string, request: UpdateCompanyUserRequest): Promise<CompanyUserDto>;
|
|
3738
|
-
deleteCompanyUser(id: string, companyId: string | null | undefined): Promise<void>;
|
|
3739
|
-
migrateLegacyCompanyUsersToEntra(): Promise<CompanyUserDto[]>;
|
|
3740
|
-
listRoles(): Promise<ExternalRoleDto[]>;
|
|
3741
|
-
listCompanyCustomers(): Promise<CompanyCustomersDto>;
|
|
3742
|
-
deleteCompanyCustomer(tenantId: string): Promise<void>;
|
|
3743
|
-
}
|
|
3744
|
-
export declare class ExternalAccessClient extends AuthorizedApiBase implements IExternalAccessClient {
|
|
3745
|
-
private http;
|
|
3746
|
-
private baseUrl;
|
|
3747
|
-
constructor(configuration: IApiClientConfig, baseUrl?: string, http?: {
|
|
3748
|
-
fetch(url: RequestInfo, init?: RequestInit): Promise<Response>;
|
|
3749
|
-
});
|
|
3750
|
-
listUsers(companyId: string | null | undefined): Promise<CompanyUserDto[]>;
|
|
3751
|
-
protected processListUsers(response: Response): Promise<CompanyUserDto[]>;
|
|
3752
|
-
createCompanyUser(request: CreateCompanyUser): Promise<CompanyUserDto>;
|
|
3753
|
-
protected processCreateCompanyUser(response: Response): Promise<CompanyUserDto>;
|
|
3754
|
-
updateCompanyUser(id: string, request: UpdateCompanyUserRequest): Promise<CompanyUserDto>;
|
|
3755
|
-
protected processUpdateCompanyUser(response: Response): Promise<CompanyUserDto>;
|
|
3756
|
-
deleteCompanyUser(id: string, companyId: string | null | undefined): Promise<void>;
|
|
3757
|
-
protected processDeleteCompanyUser(response: Response): Promise<void>;
|
|
3758
|
-
migrateLegacyCompanyUsersToEntra(): Promise<CompanyUserDto[]>;
|
|
3759
|
-
protected processMigrateLegacyCompanyUsersToEntra(response: Response): Promise<CompanyUserDto[]>;
|
|
3760
|
-
listRoles(): Promise<ExternalRoleDto[]>;
|
|
3761
|
-
protected processListRoles(response: Response): Promise<ExternalRoleDto[]>;
|
|
3762
|
-
listCompanyCustomers(): Promise<CompanyCustomersDto>;
|
|
3763
|
-
protected processListCompanyCustomers(response: Response): Promise<CompanyCustomersDto>;
|
|
3764
|
-
deleteCompanyCustomer(tenantId: string): Promise<void>;
|
|
3765
|
-
protected processDeleteCompanyCustomer(response: Response): Promise<void>;
|
|
3766
|
-
}
|
|
3767
|
-
export interface IExternalClient {
|
|
3768
|
-
listCompanies(): Promise<CompanyDto[]>;
|
|
3769
|
-
getCompany(id: string): Promise<CompanyDto>;
|
|
3770
|
-
getCurrentSupplierInvite(): Promise<CurrentSupplierInviteDto>;
|
|
3771
|
-
acceptSupplierInvite(acceptingTenantId: string | null | undefined): Promise<SupplierInviteDto>;
|
|
3772
|
-
listTenantsWithSuppliers(): Promise<TenantWithSupplierDto[]>;
|
|
3773
|
-
}
|
|
3774
|
-
export declare class ExternalClient extends AuthorizedApiBase implements IExternalClient {
|
|
3775
|
-
private http;
|
|
3776
|
-
private baseUrl;
|
|
3777
|
-
constructor(configuration: IApiClientConfig, baseUrl?: string, http?: {
|
|
3778
|
-
fetch(url: RequestInfo, init?: RequestInit): Promise<Response>;
|
|
3779
|
-
});
|
|
3780
|
-
listCompanies(): Promise<CompanyDto[]>;
|
|
3781
|
-
protected processListCompanies(response: Response): Promise<CompanyDto[]>;
|
|
3782
|
-
getCompany(id: string): Promise<CompanyDto>;
|
|
3783
|
-
protected processGetCompany(response: Response): Promise<CompanyDto>;
|
|
3784
|
-
getCurrentSupplierInvite(): Promise<CurrentSupplierInviteDto>;
|
|
3785
|
-
protected processGetCurrentSupplierInvite(response: Response): Promise<CurrentSupplierInviteDto>;
|
|
3786
|
-
acceptSupplierInvite(acceptingTenantId: string | null | undefined): Promise<SupplierInviteDto>;
|
|
3787
|
-
protected processAcceptSupplierInvite(response: Response): Promise<SupplierInviteDto>;
|
|
3788
|
-
listTenantsWithSuppliers(): Promise<TenantWithSupplierDto[]>;
|
|
3789
|
-
protected processListTenantsWithSuppliers(response: Response): Promise<TenantWithSupplierDto[]>;
|
|
3790
|
-
}
|
|
3791
|
-
export interface ISuppliersClient {
|
|
3792
|
-
listSupplierInvites(): Promise<SupplierInviteDto[]>;
|
|
3793
|
-
createSupplierInvite(request: CreateSupplierInviteRequest): Promise<SupplierInviteDto>;
|
|
3794
|
-
deleteSupplierInvite(id: string): Promise<void>;
|
|
3795
|
-
listSuppliers(): Promise<ExternalSupplierDto[]>;
|
|
3796
|
-
deleteSupplier(id: string): Promise<void>;
|
|
3797
|
-
/**
|
|
3798
|
-
* Creates a mapping between old supplier id and new supplier id.
|
|
3799
|
-
*/
|
|
3800
|
-
createSupplierMapping(request: CreateSupplierMapping): Promise<void>;
|
|
3801
|
-
/**
|
|
3802
|
-
* Delete all supplier mappings between old supplier ids and new supplier ids.
|
|
3803
|
-
*/
|
|
3804
|
-
deleteSupplierMappings(): Promise<void>;
|
|
3805
|
-
lookupOrganization(threeLetterIsoCountry: string | undefined, organizationNumber: string | undefined): Promise<OrganizationDto>;
|
|
3806
|
-
getOrganizationLookupSupportedCountries(): Promise<CountryDto[]>;
|
|
3807
|
-
}
|
|
3808
|
-
export declare class SuppliersClient extends AuthorizedApiBase implements ISuppliersClient {
|
|
3809
|
-
private http;
|
|
3810
|
-
private baseUrl;
|
|
3811
|
-
constructor(configuration: IApiClientConfig, baseUrl?: string, http?: {
|
|
3812
|
-
fetch(url: RequestInfo, init?: RequestInit): Promise<Response>;
|
|
3813
|
-
});
|
|
3814
|
-
listSupplierInvites(): Promise<SupplierInviteDto[]>;
|
|
3815
|
-
protected processListSupplierInvites(response: Response): Promise<SupplierInviteDto[]>;
|
|
3816
|
-
createSupplierInvite(request: CreateSupplierInviteRequest): Promise<SupplierInviteDto>;
|
|
3817
|
-
protected processCreateSupplierInvite(response: Response): Promise<SupplierInviteDto>;
|
|
3818
|
-
deleteSupplierInvite(id: string): Promise<void>;
|
|
3819
|
-
protected processDeleteSupplierInvite(response: Response): Promise<void>;
|
|
3820
|
-
listSuppliers(): Promise<ExternalSupplierDto[]>;
|
|
3821
|
-
protected processListSuppliers(response: Response): Promise<ExternalSupplierDto[]>;
|
|
3822
|
-
deleteSupplier(id: string): Promise<void>;
|
|
3823
|
-
protected processDeleteSupplier(response: Response): Promise<void>;
|
|
3824
|
-
/**
|
|
3825
|
-
* Creates a mapping between old supplier id and new supplier id.
|
|
3826
|
-
*/
|
|
3827
|
-
createSupplierMapping(request: CreateSupplierMapping): Promise<void>;
|
|
3828
|
-
protected processCreateSupplierMapping(response: Response): Promise<void>;
|
|
3829
|
-
/**
|
|
3830
|
-
* Delete all supplier mappings between old supplier ids and new supplier ids.
|
|
3831
|
-
*/
|
|
3832
|
-
deleteSupplierMappings(): Promise<void>;
|
|
3833
|
-
protected processDeleteSupplierMappings(response: Response): Promise<void>;
|
|
3834
|
-
lookupOrganization(threeLetterIsoCountry: string | undefined, organizationNumber: string | undefined): Promise<OrganizationDto>;
|
|
3835
|
-
protected processLookupOrganization(response: Response): Promise<OrganizationDto>;
|
|
3836
|
-
getOrganizationLookupSupportedCountries(): Promise<CountryDto[]>;
|
|
3837
|
-
protected processGetOrganizationLookupSupportedCountries(response: Response): Promise<CountryDto[]>;
|
|
3838
|
-
}
|
|
3839
3890
|
export interface AzureRegionDto {
|
|
3840
3891
|
displayName: string;
|
|
3841
3892
|
name: string;
|
|
@@ -3849,7 +3900,6 @@ export interface CountryDto {
|
|
|
3849
3900
|
export interface CurrentCustomerDto {
|
|
3850
3901
|
name?: string | null;
|
|
3851
3902
|
logoUrl?: string | null;
|
|
3852
|
-
supplierSubdomain?: string | null;
|
|
3853
3903
|
}
|
|
3854
3904
|
export interface AvailableTenantDto {
|
|
3855
3905
|
tenantId: string;
|
|
@@ -4148,11 +4198,6 @@ export interface UserDetailsDto {
|
|
|
4148
4198
|
isExternalUser?: boolean;
|
|
4149
4199
|
isBetaTester?: boolean | null;
|
|
4150
4200
|
hasAccessToIgnos?: boolean;
|
|
4151
|
-
isInvitedUser?: boolean;
|
|
4152
|
-
isSupplier?: boolean;
|
|
4153
|
-
companyId?: string | null;
|
|
4154
|
-
entraTenantId?: string | null;
|
|
4155
|
-
homeEntraTenantId?: string | null;
|
|
4156
4201
|
}
|
|
4157
4202
|
export interface UserDto {
|
|
4158
4203
|
id?: string | null;
|
|
@@ -6337,6 +6382,97 @@ export interface DocumentGeneratorTypeDto {
|
|
|
6337
6382
|
key: string;
|
|
6338
6383
|
description: string;
|
|
6339
6384
|
}
|
|
6385
|
+
export interface CompanyUserDto {
|
|
6386
|
+
companyId?: string | null;
|
|
6387
|
+
username?: string | null;
|
|
6388
|
+
name?: string | null;
|
|
6389
|
+
roles?: string[] | null;
|
|
6390
|
+
}
|
|
6391
|
+
export interface CreateCompanyUserRequest {
|
|
6392
|
+
username: string;
|
|
6393
|
+
name: string;
|
|
6394
|
+
roles: string[];
|
|
6395
|
+
companyId?: string | null;
|
|
6396
|
+
}
|
|
6397
|
+
export interface UpdateCompanyUserRequest {
|
|
6398
|
+
name: string;
|
|
6399
|
+
roles: string[];
|
|
6400
|
+
companyId?: string | null;
|
|
6401
|
+
}
|
|
6402
|
+
export interface ExternalRoleDto {
|
|
6403
|
+
id: string;
|
|
6404
|
+
name: string;
|
|
6405
|
+
}
|
|
6406
|
+
export interface CompanyCustomerDto {
|
|
6407
|
+
customerTenantId?: string | null;
|
|
6408
|
+
customerAzureAdTenantId?: string | null;
|
|
6409
|
+
customerName?: string | null;
|
|
6410
|
+
supplierId?: string | null;
|
|
6411
|
+
supplierName?: string | null;
|
|
6412
|
+
}
|
|
6413
|
+
export interface InviteDto {
|
|
6414
|
+
tenantId: string;
|
|
6415
|
+
companyName: string;
|
|
6416
|
+
id: string;
|
|
6417
|
+
supplierId: string;
|
|
6418
|
+
supplierName: string;
|
|
6419
|
+
username: string;
|
|
6420
|
+
deadline: Date;
|
|
6421
|
+
createdTime: Date;
|
|
6422
|
+
createdBy: string;
|
|
6423
|
+
}
|
|
6424
|
+
export interface CompanyDto {
|
|
6425
|
+
id?: string | null;
|
|
6426
|
+
name?: string | null;
|
|
6427
|
+
organizationNumber?: string | null;
|
|
6428
|
+
country?: string | null;
|
|
6429
|
+
tenantId?: string | null;
|
|
6430
|
+
}
|
|
6431
|
+
export interface AcceptSupplierInviteRequest {
|
|
6432
|
+
tenantId: string;
|
|
6433
|
+
existingCompanyId?: string | null;
|
|
6434
|
+
companyName?: string | null;
|
|
6435
|
+
organizationNumber?: string | null;
|
|
6436
|
+
threeLetterIsoCountry?: string | null;
|
|
6437
|
+
}
|
|
6438
|
+
export interface SupplierInviteDto {
|
|
6439
|
+
id: string;
|
|
6440
|
+
supplierId: string;
|
|
6441
|
+
name: string;
|
|
6442
|
+
username: string;
|
|
6443
|
+
deadline: Date;
|
|
6444
|
+
createdTime: Date;
|
|
6445
|
+
createdBy: string;
|
|
6446
|
+
}
|
|
6447
|
+
export interface CreateSupplierInvite {
|
|
6448
|
+
supplierId: string;
|
|
6449
|
+
name: string;
|
|
6450
|
+
username: string;
|
|
6451
|
+
deadline: Date;
|
|
6452
|
+
}
|
|
6453
|
+
export interface ExternalSupplierDto {
|
|
6454
|
+
id: string;
|
|
6455
|
+
name: string;
|
|
6456
|
+
companyId: string;
|
|
6457
|
+
active: boolean;
|
|
6458
|
+
}
|
|
6459
|
+
export interface ImportSupplier {
|
|
6460
|
+
supplierId: string;
|
|
6461
|
+
name: string;
|
|
6462
|
+
organizationNumber?: string | null;
|
|
6463
|
+
threeLetterIsoCountry: string;
|
|
6464
|
+
users: ImportSupplierUserDto[];
|
|
6465
|
+
}
|
|
6466
|
+
export interface ImportSupplierUserDto {
|
|
6467
|
+
username: string;
|
|
6468
|
+
name: string;
|
|
6469
|
+
roles: string[];
|
|
6470
|
+
}
|
|
6471
|
+
export interface CreateSupplierMapping {
|
|
6472
|
+
companyId: string;
|
|
6473
|
+
existingSupplierId: string;
|
|
6474
|
+
newSupplierId: string;
|
|
6475
|
+
}
|
|
6340
6476
|
export interface CncMachineTransferDto {
|
|
6341
6477
|
id: string;
|
|
6342
6478
|
cncMachineOperationId?: string | null;
|
|
@@ -7199,6 +7335,10 @@ export interface UpdateCdfConfig {
|
|
|
7199
7335
|
clientId: string;
|
|
7200
7336
|
clientSecret?: string | null;
|
|
7201
7337
|
}
|
|
7338
|
+
export interface SchemaCreatorFlagBackfillDto {
|
|
7339
|
+
flagged: number;
|
|
7340
|
+
withoutSchema: number;
|
|
7341
|
+
}
|
|
7202
7342
|
export interface WorkspaceDefaultsDto {
|
|
7203
7343
|
machineTemplateOverrides?: {
|
|
7204
7344
|
[key: string]: string;
|
|
@@ -9530,6 +9670,7 @@ export interface ImaSpecificationLiteDto {
|
|
|
9530
9670
|
export interface SchemaCreatorStateDto {
|
|
9531
9671
|
settings: SchemaCreatorSettingsDto;
|
|
9532
9672
|
elements: SchemaCreatorElementDto[];
|
|
9673
|
+
grids?: SchemaCreatorPageGridDto[];
|
|
9533
9674
|
documentParseStatus?: SchemaCreatorDocumentParseStatusDto | null;
|
|
9534
9675
|
isAutoGenerated?: boolean;
|
|
9535
9676
|
createdBy?: SchemaCreatorAuditInfoDto | null;
|
|
@@ -9542,6 +9683,7 @@ export interface SchemaCreatorSettingsDto {
|
|
|
9542
9683
|
tolerance?: GeneralToleranceDto;
|
|
9543
9684
|
balloonSize?: number;
|
|
9544
9685
|
transparentBalloons?: boolean;
|
|
9686
|
+
gridOnMarkedDrawing?: boolean;
|
|
9545
9687
|
}
|
|
9546
9688
|
export type SchemaCreatorUnitOfMeasureDto = "Millimeter" | "Inch" | "Mixed";
|
|
9547
9689
|
export type GeneralToleranceDto = "NotSet" | "Fine" | "Medium" | "Coarse" | "VeryCoarse";
|
|
@@ -9584,6 +9726,7 @@ export interface SchemaCreatorSizeDto {
|
|
|
9584
9726
|
}
|
|
9585
9727
|
export interface SchemaCreatorElementValuesDto {
|
|
9586
9728
|
reference: number;
|
|
9729
|
+
sheetZone?: string | null;
|
|
9587
9730
|
group?: string | null;
|
|
9588
9731
|
unit?: UnitOfMeasureDto | null;
|
|
9589
9732
|
nominal?: number | null;
|
|
@@ -9617,6 +9760,20 @@ export interface SchemaCreatorAuditInfoDto {
|
|
|
9617
9760
|
userId: string;
|
|
9618
9761
|
userFullName?: string | null;
|
|
9619
9762
|
}
|
|
9763
|
+
export interface SchemaCreatorPageGridDto {
|
|
9764
|
+
pageIndex: number;
|
|
9765
|
+
rows: number;
|
|
9766
|
+
columns: number;
|
|
9767
|
+
columnStartValue: number;
|
|
9768
|
+
columnOrder: SchemaCreatorGridOrderDto;
|
|
9769
|
+
rowStartValue: number;
|
|
9770
|
+
rowOrder: SchemaCreatorGridOrderDto;
|
|
9771
|
+
fontSize: number;
|
|
9772
|
+
labelPlacement?: SchemaCreatorGridLabelPlacementDto;
|
|
9773
|
+
frame: SchemaCreatorRectDto;
|
|
9774
|
+
}
|
|
9775
|
+
export type SchemaCreatorGridOrderDto = "Ascending" | "Descending";
|
|
9776
|
+
export type SchemaCreatorGridLabelPlacementDto = "Inside" | "Outside";
|
|
9620
9777
|
export interface SchemaCreatorDocumentParseStatusDto {
|
|
9621
9778
|
inProgress: boolean;
|
|
9622
9779
|
attempt?: SchemaCreatorParseAttemptDto | null;
|
|
@@ -10075,6 +10232,21 @@ export interface ListMeasurementFormSchemasWithHistoryRequest {
|
|
|
10075
10232
|
version?: number | null;
|
|
10076
10233
|
continuationToken?: string | null;
|
|
10077
10234
|
}
|
|
10235
|
+
export interface PagedResultOfMeasurementFormSchemaOverviewDto {
|
|
10236
|
+
results: MeasurementFormSchemaOverviewDto[];
|
|
10237
|
+
continuationToken?: string | null;
|
|
10238
|
+
}
|
|
10239
|
+
export interface MeasurementFormSchemaOverviewDto extends MeasurementFormListDto {
|
|
10240
|
+
referenceCount: number;
|
|
10241
|
+
instanceCount: number;
|
|
10242
|
+
instanceStatusCounts: MeasurementFormInstanceStatusCountDto[];
|
|
10243
|
+
hasSchemaCreator: boolean;
|
|
10244
|
+
}
|
|
10245
|
+
export interface MeasurementFormInstanceStatusCountDto {
|
|
10246
|
+
status: MeasurementFormInstanceStatus;
|
|
10247
|
+
count: number;
|
|
10248
|
+
}
|
|
10249
|
+
export type MeasurementFormInstanceStatus = "Active" | "Cancelled" | "Completed" | "Approved" | "MissingCompletion";
|
|
10078
10250
|
export interface ListMeasurementFormSchemasRequest {
|
|
10079
10251
|
pageSize?: number | null;
|
|
10080
10252
|
customerId?: string | null;
|
|
@@ -10086,6 +10258,58 @@ export interface ListMeasurementFormSchemasRequest {
|
|
|
10086
10258
|
drawingRevision?: string | null;
|
|
10087
10259
|
filter?: string | null;
|
|
10088
10260
|
continuationToken?: string | null;
|
|
10261
|
+
statuses?: MeasurementFormStatus[] | null;
|
|
10262
|
+
/** Schemas for any of these customers. */
|
|
10263
|
+
customerIds?: string[] | null;
|
|
10264
|
+
/** Also schemas without a customer. */
|
|
10265
|
+
withoutCustomer?: boolean | null;
|
|
10266
|
+
/** Schemas with, or without, a schema creator document. */
|
|
10267
|
+
schemaCreator?: boolean | null;
|
|
10268
|
+
}
|
|
10269
|
+
export interface MeasurementFormSchemaCountsDto {
|
|
10270
|
+
total: number;
|
|
10271
|
+
draft: number;
|
|
10272
|
+
released: number;
|
|
10273
|
+
revoked: number;
|
|
10274
|
+
schemaCreator: number;
|
|
10275
|
+
withoutCustomer: number;
|
|
10276
|
+
customers: CustomerSchemaCountDto[];
|
|
10277
|
+
}
|
|
10278
|
+
export interface CustomerSchemaCountDto {
|
|
10279
|
+
customerId: string;
|
|
10280
|
+
customerName: string;
|
|
10281
|
+
count: number;
|
|
10282
|
+
}
|
|
10283
|
+
export interface CountMeasurementFormSchemasRequest {
|
|
10284
|
+
filter?: string | null;
|
|
10285
|
+
statuses?: MeasurementFormStatus[] | null;
|
|
10286
|
+
customerIds?: string[] | null;
|
|
10287
|
+
withoutCustomer?: boolean | null;
|
|
10288
|
+
schemaCreator?: boolean | null;
|
|
10289
|
+
}
|
|
10290
|
+
export interface MeasurementFormSchemaVersionDto {
|
|
10291
|
+
id: string;
|
|
10292
|
+
versionId: number;
|
|
10293
|
+
status: MeasurementFormStatus;
|
|
10294
|
+
drawingUrl?: string | null;
|
|
10295
|
+
created: Date;
|
|
10296
|
+
released?: Date | null;
|
|
10297
|
+
drawingChanged?: boolean | null;
|
|
10298
|
+
}
|
|
10299
|
+
export interface MeasurementFormSchemaInstanceDto {
|
|
10300
|
+
id: string;
|
|
10301
|
+
schemaId: string;
|
|
10302
|
+
versionId: number;
|
|
10303
|
+
status: MeasurementFormInstanceStatus;
|
|
10304
|
+
progress: number;
|
|
10305
|
+
created: Date;
|
|
10306
|
+
}
|
|
10307
|
+
export interface MeasurementFormSchemaVersionChangesDto {
|
|
10308
|
+
versionId: number;
|
|
10309
|
+
added: number;
|
|
10310
|
+
removed: number;
|
|
10311
|
+
changed: number;
|
|
10312
|
+
renumbered: boolean;
|
|
10089
10313
|
}
|
|
10090
10314
|
export interface MeasurementFrequencyDto {
|
|
10091
10315
|
id: number;
|
|
@@ -10140,6 +10364,7 @@ export interface MeasurementFormInstanceDto {
|
|
|
10140
10364
|
drawingRevision?: string | null;
|
|
10141
10365
|
customerId?: string | null;
|
|
10142
10366
|
customerName?: string | null;
|
|
10367
|
+
purchaseOrder?: string | null;
|
|
10143
10368
|
quantity: number;
|
|
10144
10369
|
status: MeasurementFormInstanceStatus;
|
|
10145
10370
|
statusChangedDate?: Date | null;
|
|
@@ -10151,7 +10376,6 @@ export interface MeasurementFormInstanceDto {
|
|
|
10151
10376
|
approvedReportUrl?: string | null;
|
|
10152
10377
|
currentResource?: ResourceDto | null;
|
|
10153
10378
|
}
|
|
10154
|
-
export type MeasurementFormInstanceStatus = "Active" | "Cancelled" | "Completed" | "Approved" | "MissingCompletion";
|
|
10155
10379
|
export interface MeasurementFormWorkorderSchemaDto {
|
|
10156
10380
|
id: string;
|
|
10157
10381
|
partNumber?: string | null;
|
|
@@ -10165,6 +10389,7 @@ export interface MeasurementFormWorkorderSchemaDto {
|
|
|
10165
10389
|
excludeDrawingFromCustomerDocumentation: boolean;
|
|
10166
10390
|
versionId: number;
|
|
10167
10391
|
specification?: string | null;
|
|
10392
|
+
hasComment: boolean;
|
|
10168
10393
|
progress: MeasurementFormProgressDto;
|
|
10169
10394
|
}
|
|
10170
10395
|
export interface MeasurementFormProgressDto {
|
|
@@ -10172,6 +10397,8 @@ export interface MeasurementFormProgressDto {
|
|
|
10172
10397
|
requiredValues: number;
|
|
10173
10398
|
values: number;
|
|
10174
10399
|
progress: number;
|
|
10400
|
+
valuesOutsideTolerance: number;
|
|
10401
|
+
comments: number;
|
|
10175
10402
|
}
|
|
10176
10403
|
export interface MeasurementFormWorkorderSequenceDto {
|
|
10177
10404
|
lot?: string | null;
|
|
@@ -10214,6 +10441,7 @@ export interface MeasurementFormInstanceOverviewDto {
|
|
|
10214
10441
|
}
|
|
10215
10442
|
export interface MeasurementFormInstanceSchemaOverviewDto {
|
|
10216
10443
|
id: string;
|
|
10444
|
+
hasComment: boolean;
|
|
10217
10445
|
}
|
|
10218
10446
|
export interface MeasurementFormInstanceSupplierDto {
|
|
10219
10447
|
supplierId: string;
|
|
@@ -10227,6 +10455,7 @@ export interface ListMeasurementFormsRequest {
|
|
|
10227
10455
|
pageSize?: number | null;
|
|
10228
10456
|
search?: string | null;
|
|
10229
10457
|
continuationToken?: string | null;
|
|
10458
|
+
tenantId?: string | null;
|
|
10230
10459
|
inactive?: boolean | null;
|
|
10231
10460
|
includeInactiveSupplierAccess?: boolean | null;
|
|
10232
10461
|
}
|
|
@@ -10423,6 +10652,7 @@ export interface UpsertSupplierToMeasurementFormInstanceRequest {
|
|
|
10423
10652
|
externalOrderNumber?: string | null;
|
|
10424
10653
|
}
|
|
10425
10654
|
export interface ExportDimensionReportV2Request {
|
|
10655
|
+
tenantId?: string | null;
|
|
10426
10656
|
type: DimensionReportType;
|
|
10427
10657
|
extras?: DimensionReportExtras | null;
|
|
10428
10658
|
specificSerialNumbers?: string[] | null;
|
|
@@ -10448,6 +10678,48 @@ export interface ListMeasurementFormsByStatusRequest {
|
|
|
10448
10678
|
search?: string | null;
|
|
10449
10679
|
continuationToken?: string | null;
|
|
10450
10680
|
}
|
|
10681
|
+
export interface MeasurementFormInstanceCountsDto {
|
|
10682
|
+
total: number;
|
|
10683
|
+
active: number;
|
|
10684
|
+
completed: number;
|
|
10685
|
+
approved: number;
|
|
10686
|
+
cancelled: number;
|
|
10687
|
+
missingCompletion: number;
|
|
10688
|
+
outsideTolerance: number;
|
|
10689
|
+
comments: number;
|
|
10690
|
+
schemaComment: number;
|
|
10691
|
+
notSharedWithSuppliers: number;
|
|
10692
|
+
suppliers: SupplierInstanceCountDto[];
|
|
10693
|
+
}
|
|
10694
|
+
export interface SupplierInstanceCountDto {
|
|
10695
|
+
supplierId: string;
|
|
10696
|
+
supplierName: string;
|
|
10697
|
+
count: number;
|
|
10698
|
+
}
|
|
10699
|
+
export interface CountMeasurementFormInstancesRequest {
|
|
10700
|
+
statuses?: MeasurementFormInstanceStatus[];
|
|
10701
|
+
search?: string | null;
|
|
10702
|
+
outsideTolerance?: boolean | null;
|
|
10703
|
+
comments?: boolean | null;
|
|
10704
|
+
schemaComment?: boolean | null;
|
|
10705
|
+
supplierIds?: string[] | null;
|
|
10706
|
+
notSharedWithSuppliers?: boolean | null;
|
|
10707
|
+
}
|
|
10708
|
+
export interface ListMeasurementFormsByStatusesRequest {
|
|
10709
|
+
statuses?: MeasurementFormInstanceStatus[];
|
|
10710
|
+
statusChangedSince?: Date | null;
|
|
10711
|
+
onlyWithReports?: boolean | null;
|
|
10712
|
+
pageSize?: number | null;
|
|
10713
|
+
search?: string | null;
|
|
10714
|
+
continuationToken?: string | null;
|
|
10715
|
+
outsideTolerance?: boolean | null;
|
|
10716
|
+
comments?: boolean | null;
|
|
10717
|
+
schemaComment?: boolean | null;
|
|
10718
|
+
/** Instances shared with any of these suppliers. */
|
|
10719
|
+
supplierIds?: string[] | null;
|
|
10720
|
+
/** Also instances shared with no supplier. */
|
|
10721
|
+
notSharedWithSuppliers?: boolean | null;
|
|
10722
|
+
}
|
|
10451
10723
|
export interface CreateMeasurementFormInstanceRequest {
|
|
10452
10724
|
schemaId: string;
|
|
10453
10725
|
customerId?: string | null;
|
|
@@ -10469,6 +10741,62 @@ export interface UpdateMeasurementFormInstanceRequest {
|
|
|
10469
10741
|
serialNumbers: MeasurementFormWorkorderSerialNumberDto[];
|
|
10470
10742
|
suppliers: MeasurementFormWorkorderSupplierDto[];
|
|
10471
10743
|
}
|
|
10744
|
+
export interface EditMeasurementFormInstanceRequest {
|
|
10745
|
+
customerId?: string | null;
|
|
10746
|
+
customerName?: string | null;
|
|
10747
|
+
purchaseOrder?: string | null;
|
|
10748
|
+
serialNumbers: EditMeasurementFormInstanceSerialNumberDto[];
|
|
10749
|
+
suppliers: MeasurementFormWorkorderSupplierDto[];
|
|
10750
|
+
}
|
|
10751
|
+
export interface EditMeasurementFormInstanceSerialNumberDto extends MeasurementFormWorkorderSerialNumberDto {
|
|
10752
|
+
originalSerialNumber?: string | null;
|
|
10753
|
+
usePreviousMeasurements?: boolean | null;
|
|
10754
|
+
}
|
|
10755
|
+
export interface SerialNumberEditPreviewDto {
|
|
10756
|
+
rows: SerialNumberEditPreviewRowDto[];
|
|
10757
|
+
removed: SerialNumberEditPreviewRemovedDto[];
|
|
10758
|
+
}
|
|
10759
|
+
export interface SerialNumberEditPreviewRowDto {
|
|
10760
|
+
serialNumber: string;
|
|
10761
|
+
originalSerialNumber?: string | null;
|
|
10762
|
+
outcome?: SerialNumberEditOutcomeDto | null;
|
|
10763
|
+
previous?: SerialNumberEditPreviousDto | null;
|
|
10764
|
+
}
|
|
10765
|
+
export interface SerialNumberEditOutcomeDto {
|
|
10766
|
+
change: SerialNumberEditChange;
|
|
10767
|
+
measurementCount: number;
|
|
10768
|
+
measuredBy: SerialNumberMeasurerDto[];
|
|
10769
|
+
archivedCount: number;
|
|
10770
|
+
}
|
|
10771
|
+
export type SerialNumberEditChange = "Unchanged" | "Updated" | "Added" | "Restored" | "Renamed" | "Removed" | "Replaced";
|
|
10772
|
+
export interface SerialNumberMeasurerDto {
|
|
10773
|
+
userId: string;
|
|
10774
|
+
name: string;
|
|
10775
|
+
measurementCount: number;
|
|
10776
|
+
}
|
|
10777
|
+
export interface SerialNumberEditPreviousDto {
|
|
10778
|
+
measurementCount: number;
|
|
10779
|
+
archivedAt?: Date | null;
|
|
10780
|
+
ifRestored: SerialNumberEditOutcomeDto;
|
|
10781
|
+
ifNotRestored: SerialNumberEditOutcomeDto;
|
|
10782
|
+
}
|
|
10783
|
+
export interface SerialNumberEditPreviewRemovedDto {
|
|
10784
|
+
serialNumber: string;
|
|
10785
|
+
replacedBy?: string | null;
|
|
10786
|
+
outcome: SerialNumberEditOutcomeDto;
|
|
10787
|
+
}
|
|
10788
|
+
export interface PreviewMeasurementFormInstanceEditRequest {
|
|
10789
|
+
serialNumbers: EditMeasurementFormInstanceSerialNumberDto[];
|
|
10790
|
+
}
|
|
10791
|
+
export interface SerialNumberMeasurementsDto {
|
|
10792
|
+
serialNumber: string;
|
|
10793
|
+
key: string;
|
|
10794
|
+
active: boolean;
|
|
10795
|
+
measurementCount: number;
|
|
10796
|
+
previousMeasurementCount: number;
|
|
10797
|
+
measuredBy: SerialNumberMeasurerDto[];
|
|
10798
|
+
archivedAt?: Date | null;
|
|
10799
|
+
}
|
|
10472
10800
|
export interface ProductionCompanyDto {
|
|
10473
10801
|
id: string;
|
|
10474
10802
|
name: string;
|
|
@@ -10771,112 +11099,6 @@ export interface SetDiscussionLastReadRequest {
|
|
|
10771
11099
|
operationId?: string | null;
|
|
10772
11100
|
resourceId?: string | null;
|
|
10773
11101
|
}
|
|
10774
|
-
export interface CompanyUserDto {
|
|
10775
|
-
companyId: string;
|
|
10776
|
-
userObjectId: string;
|
|
10777
|
-
username?: string | null;
|
|
10778
|
-
name?: string | null;
|
|
10779
|
-
roles: string[];
|
|
10780
|
-
}
|
|
10781
|
-
export interface CreateCompanyUser {
|
|
10782
|
-
username: string;
|
|
10783
|
-
name: string;
|
|
10784
|
-
roles: string[];
|
|
10785
|
-
companyId?: string | null;
|
|
10786
|
-
}
|
|
10787
|
-
export interface UpdateCompanyUserRequest {
|
|
10788
|
-
roles: string[];
|
|
10789
|
-
companyId?: string | null;
|
|
10790
|
-
}
|
|
10791
|
-
export interface ExternalRoleDto {
|
|
10792
|
-
id: string;
|
|
10793
|
-
name: string;
|
|
10794
|
-
}
|
|
10795
|
-
export interface CompanyCustomersDto {
|
|
10796
|
-
customers: CompanyCustomerWithSubdomainDto[];
|
|
10797
|
-
homeEntraTenant?: HomeEntraTenantDto | null;
|
|
10798
|
-
}
|
|
10799
|
-
export interface CompanyCustomerWithSubdomainDto {
|
|
10800
|
-
customer: CompanyCustomerDto;
|
|
10801
|
-
supplierSubdomain?: string | null;
|
|
10802
|
-
}
|
|
10803
|
-
export interface CompanyCustomerDto {
|
|
10804
|
-
customerTenantId?: string | null;
|
|
10805
|
-
customerAzureAdTenantId?: string | null;
|
|
10806
|
-
customerName?: string | null;
|
|
10807
|
-
supplierId?: string | null;
|
|
10808
|
-
supplierName?: string | null;
|
|
10809
|
-
customerIgnosPortalPrefix?: string | null;
|
|
10810
|
-
}
|
|
10811
|
-
export interface HomeEntraTenantDto {
|
|
10812
|
-
entraTenantId: string;
|
|
10813
|
-
isIgnosCustomer: boolean;
|
|
10814
|
-
}
|
|
10815
|
-
export interface CompanyDto {
|
|
10816
|
-
id: string;
|
|
10817
|
-
name: string;
|
|
10818
|
-
organizationNumber?: string | null;
|
|
10819
|
-
country: string;
|
|
10820
|
-
tenantId?: string | null;
|
|
10821
|
-
}
|
|
10822
|
-
export interface SupplierInviteDto {
|
|
10823
|
-
id: string;
|
|
10824
|
-
supplierId: string;
|
|
10825
|
-
threeLetterIsoCountry: string;
|
|
10826
|
-
organizationNumber: string;
|
|
10827
|
-
supplierName?: string | null;
|
|
10828
|
-
userId: string;
|
|
10829
|
-
userName?: string | null;
|
|
10830
|
-
acceptedTimestamp?: Date | null;
|
|
10831
|
-
createdTime: Date;
|
|
10832
|
-
createdBy: string;
|
|
10833
|
-
}
|
|
10834
|
-
export interface CurrentSupplierInviteDto extends SupplierInviteDto {
|
|
10835
|
-
matchingCustomerOrCompany?: MatchingCustomerOrCompany | null;
|
|
10836
|
-
}
|
|
10837
|
-
export interface MatchingCustomerOrCompany {
|
|
10838
|
-
customer?: IgnosCustomerDto | null;
|
|
10839
|
-
company?: CompanyDto | null;
|
|
10840
|
-
companyCustomers?: CompanyCustomerDto[];
|
|
10841
|
-
}
|
|
10842
|
-
export interface IgnosCustomerDto {
|
|
10843
|
-
id: string;
|
|
10844
|
-
name: string;
|
|
10845
|
-
contactPerson: ContactPersonDto;
|
|
10846
|
-
threeLetterIsoCountry: string;
|
|
10847
|
-
organizationNumber: string;
|
|
10848
|
-
country: string;
|
|
10849
|
-
tenants: AvailableTenantDto[];
|
|
10850
|
-
}
|
|
10851
|
-
export interface TenantWithSupplierDto {
|
|
10852
|
-
tenantId: string;
|
|
10853
|
-
customerName: string;
|
|
10854
|
-
supplierTenantEntraId: string;
|
|
10855
|
-
}
|
|
10856
|
-
export interface CreateSupplierInviteRequest {
|
|
10857
|
-
supplierId: string;
|
|
10858
|
-
threeLetterIsoCountry: string;
|
|
10859
|
-
organizationNumber: string;
|
|
10860
|
-
supplierName?: string | null;
|
|
10861
|
-
username: string;
|
|
10862
|
-
invitedName: string;
|
|
10863
|
-
}
|
|
10864
|
-
export interface ExternalSupplierDto {
|
|
10865
|
-
id: string;
|
|
10866
|
-
name: string;
|
|
10867
|
-
companyId: string;
|
|
10868
|
-
active: boolean;
|
|
10869
|
-
}
|
|
10870
|
-
export interface CreateSupplierMapping {
|
|
10871
|
-
companyId: string;
|
|
10872
|
-
existingSupplierId: string;
|
|
10873
|
-
newSupplierId: string;
|
|
10874
|
-
}
|
|
10875
|
-
export interface OrganizationDto {
|
|
10876
|
-
name?: string;
|
|
10877
|
-
postalAddress?: string | null;
|
|
10878
|
-
registeredAddress?: string | null;
|
|
10879
|
-
}
|
|
10880
11102
|
export type FeatureCollectionType = "FeatureCollection";
|
|
10881
11103
|
export interface Features {
|
|
10882
11104
|
type: FeaturesType;
|