@ignos/api-client 20260629.161.1-alpha → 20260702.163.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -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>;
@@ -609,7 +606,7 @@ export interface IKpiAdminResourceClient {
609
606
  addShiftSettingPeriods(request: AddShiftSettingPeriods): Promise<ShiftSettingsPeriodDto[]>;
610
607
  deleteShiftSettingPeriods(request: DeleteShiftSettingsPeriod): Promise<FileResponse>;
611
608
  updateShiftSettingsPeriod(resourceExternalId: string, effectiveFrom: string, request: UpdateShiftSettingsPeriodRequest): Promise<ShiftSettingsPeriodDto>;
612
- copyShiftSettingsPeriod(sourceResourceExternalId: string, sourceEffectiveFrom: string, request: CopyShiftSettingsPeriodRequest): Promise<ShiftSettingsPeriodDto>;
609
+ copyShiftSettingsPeriod(resourceExternalId: string, request: CopyShiftSettingsPeriodRequest): Promise<ShiftSettingsPeriodDto[]>;
613
610
  migrateCapacityToSettings(): Promise<MigrationResultDto>;
614
611
  }
615
612
  export declare class KpiAdminResourceClient extends AuthorizedApiBase implements IKpiAdminResourceClient {
@@ -646,8 +643,8 @@ export declare class KpiAdminResourceClient extends AuthorizedApiBase implements
646
643
  protected processDeleteShiftSettingPeriods(response: Response): Promise<FileResponse>;
647
644
  updateShiftSettingsPeriod(resourceExternalId: string, effectiveFrom: string, request: UpdateShiftSettingsPeriodRequest): Promise<ShiftSettingsPeriodDto>;
648
645
  protected processUpdateShiftSettingsPeriod(response: Response): Promise<ShiftSettingsPeriodDto>;
649
- copyShiftSettingsPeriod(sourceResourceExternalId: string, sourceEffectiveFrom: string, request: CopyShiftSettingsPeriodRequest): Promise<ShiftSettingsPeriodDto>;
650
- protected processCopyShiftSettingsPeriod(response: Response): Promise<ShiftSettingsPeriodDto>;
646
+ copyShiftSettingsPeriod(resourceExternalId: string, request: CopyShiftSettingsPeriodRequest): Promise<ShiftSettingsPeriodDto[]>;
647
+ protected processCopyShiftSettingsPeriod(response: Response): Promise<ShiftSettingsPeriodDto[]>;
651
648
  migrateCapacityToSettings(): Promise<MigrationResultDto>;
652
649
  protected processMigrateCapacityToSettings(response: Response): Promise<MigrationResultDto>;
653
650
  }
@@ -1520,6 +1517,99 @@ export declare class DocumentTypesClient extends AuthorizedApiBase implements ID
1520
1517
  listDocumentGenerators(): Promise<DocumentGeneratorTypeDto[]>;
1521
1518
  protected processListDocumentGenerators(response: Response): Promise<DocumentGeneratorTypeDto[]>;
1522
1519
  }
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
+ }
1523
1613
  export interface ICncFileTransferClient {
1524
1614
  startCncMachineOperationTransferToCloud(id: string): Promise<CncMachineTransferDto>;
1525
1615
  startCncMachineOperationTransferToMachine(id: string, request: TransferToMachineRequest | undefined): Promise<CncMachineTransferDto>;
@@ -2381,6 +2471,14 @@ export declare class MesOrMoveClient extends AuthorizedApiBase implements IMesOr
2381
2471
  protected processGetPrintableLabels(response: Response): Promise<DownloadDto>;
2382
2472
  }
2383
2473
  export interface IMesProductionOrderAttachmentClient {
2474
+ /**
2475
+ * Upload a new attachment (with or without a file)
2476
+ * @param type (optional)
2477
+ * @param description (optional)
2478
+ * @param file (optional)
2479
+ * @param notes (optional)
2480
+ * @param url (optional)
2481
+ */
2384
2482
  upload(id: string, type: ProductionOrderAttachmentType | undefined, description: string | null | undefined, file: FileParameter | null | undefined, notes: string | null | undefined, url: string | null | undefined): Promise<FileResponse>;
2385
2483
  getAttachments(id: string): Promise<WorkOrderAttachmentDto[]>;
2386
2484
  getAttachmentFile(id: string, attachmentId: number): Promise<FileResponse>;
@@ -2392,6 +2490,14 @@ export declare class MesProductionOrderAttachmentClient extends AuthorizedApiBas
2392
2490
  constructor(configuration: IApiClientConfig, baseUrl?: string, http?: {
2393
2491
  fetch(url: RequestInfo, init?: RequestInit): Promise<Response>;
2394
2492
  });
2493
+ /**
2494
+ * Upload a new attachment (with or without a file)
2495
+ * @param type (optional)
2496
+ * @param description (optional)
2497
+ * @param file (optional)
2498
+ * @param notes (optional)
2499
+ * @param url (optional)
2500
+ */
2395
2501
  upload(id: string, type: ProductionOrderAttachmentType | undefined, description: string | null | undefined, file: FileParameter | null | undefined, notes: string | null | undefined, url: string | null | undefined): Promise<FileResponse>;
2396
2502
  protected processUpload(response: Response): Promise<FileResponse>;
2397
2503
  getAttachments(id: string): Promise<WorkOrderAttachmentDto[]>;
@@ -2963,22 +3069,22 @@ export declare class MeasurementFormsInstancesAdminClient extends AuthorizedApiB
2963
3069
  protected processExportDimensionReportValues(response: Response): Promise<DownloadDto>;
2964
3070
  }
2965
3071
  export interface IMeasurementFormsInstancesClient {
2966
- listMeasurementForms(pageSize: number | undefined, search: string | null | undefined, continuationToken: string | null | undefined, inactive: boolean | null | undefined, includeInactiveSupplierAccess: boolean | null | undefined): Promise<PagedResultOfMeasurementFormInstanceOverviewDto>;
3072
+ 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>;
2967
3073
  postListMeasurementForms(request: ListMeasurementFormsRequest | undefined): Promise<PagedResultOfMeasurementFormInstanceOverviewDto>;
2968
- getMeasurementFormInstance(id: string): Promise<MeasurementFormInstanceDto>;
3074
+ getMeasurementFormInstance(id: string, tenantId: string | null | undefined): Promise<MeasurementFormInstanceDto>;
2969
3075
  listMeasurementFormInstanceFeedback(id: string): Promise<MeasurementFormInstanceFeedbackDto[]>;
2970
- completeMeasurementFormInstance(id: string): Promise<MeasurementFormInstanceDto>;
2971
- completeMeasurementFormInstanceV2(id: string): Promise<CompleteMeasurementFormInstanceResult>;
2972
- getMeasurementFormInstanceSchema(id: string, schemaId: string, serialNumber: string | null | undefined): Promise<MeasurementFormInstanceSchemaDto>;
2973
- getWorkorderMeasurementFormProgress(id: string): Promise<MeasurementFormInstanceProgressDto>;
2974
- getAuditLog(id: string, schemaId: string | null | undefined, serialNumber: string | null | undefined, elementId: string | null | undefined): Promise<MeasurementFormElementValueAuditDto[]>;
3076
+ completeMeasurementFormInstance(id: string, tenantId: string | null | undefined): Promise<MeasurementFormInstanceDto>;
3077
+ completeMeasurementFormInstanceV2(id: string, tenantId: string | null | undefined): Promise<CompleteMeasurementFormInstanceResult>;
3078
+ getMeasurementFormInstanceSchema(id: string, schemaId: string, serialNumber: string | null | undefined, tenantId: string | null | undefined): Promise<MeasurementFormInstanceSchemaDto>;
3079
+ getWorkorderMeasurementFormProgress(id: string, tenantId: string | null | undefined): Promise<MeasurementFormInstanceProgressDto>;
3080
+ getAuditLog(id: string, tenantId: string | null | undefined, schemaId: string | null | undefined, serialNumber: string | null | undefined, elementId: string | null | undefined): Promise<MeasurementFormElementValueAuditDto[]>;
2975
3081
  getValidationRules(): Promise<ValidationRuleDto[]>;
2976
- saveValue(id: string, request: SaveValueRequest): Promise<SaveValueResponseDto>;
2977
- saveTool(id: string, request: SaveToolRequest): Promise<SaveValueResponseDto>;
2978
- saveComment(id: string, request: SaveCommentRequest): Promise<void>;
2979
- batchInsertValues(id: string, request: BatchInsertValueRequest): Promise<BatchInsertValuesResponseDto>;
2980
- saveMeasurementFormInstanceSchemaComment(id: string, schemaId: string, request: SaveMeasurementFormInstanceSchemaCommentRequest): Promise<void>;
2981
- createMeasurementFormInstanceSchemaFeedback(id: string, schemaId: string, request: CreateMeasurementFormSchemaFeedbackRequest): Promise<SchemaFeedbackCreatedDto>;
3082
+ saveValue(id: string, tenantId: string | null | undefined, request: SaveValueRequest): Promise<SaveValueResponseDto>;
3083
+ saveTool(id: string, tenantId: string | null | undefined, request: SaveToolRequest): Promise<SaveValueResponseDto>;
3084
+ saveComment(id: string, tenantId: string | null | undefined, request: SaveCommentRequest): Promise<void>;
3085
+ batchInsertValues(id: string, tenantId: string | null | undefined, request: BatchInsertValueRequest): Promise<BatchInsertValuesResponseDto>;
3086
+ saveMeasurementFormInstanceSchemaComment(id: string, schemaId: string, tenantId: string | null | undefined, request: SaveMeasurementFormInstanceSchemaCommentRequest): Promise<void>;
3087
+ createMeasurementFormInstanceSchemaFeedback(id: string, schemaId: string, tenantId: string | null | undefined, request: CreateMeasurementFormSchemaFeedbackRequest): Promise<SchemaFeedbackCreatedDto>;
2982
3088
  listSupplierMeasurementFormInstances(supplierId: string): Promise<MeasurementFormSupplierAccessInstanceDto[]>;
2983
3089
  upsertSupplierToMeasurmentFormInstance(id: string, supplierId: string, request: UpsertSupplierToMeasurementFormInstanceRequest): Promise<void>;
2984
3090
  removeSupplierFromMeasurmentFormInstance(id: string, supplierId: string): Promise<void>;
@@ -2994,37 +3100,37 @@ export declare class MeasurementFormsInstancesClient extends AuthorizedApiBase i
2994
3100
  constructor(configuration: IApiClientConfig, baseUrl?: string, http?: {
2995
3101
  fetch(url: RequestInfo, init?: RequestInit): Promise<Response>;
2996
3102
  });
2997
- listMeasurementForms(pageSize: number | undefined, search: string | null | undefined, continuationToken: string | null | undefined, inactive: boolean | null | undefined, includeInactiveSupplierAccess: boolean | null | undefined): Promise<PagedResultOfMeasurementFormInstanceOverviewDto>;
3103
+ 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>;
2998
3104
  protected processListMeasurementForms(response: Response): Promise<PagedResultOfMeasurementFormInstanceOverviewDto>;
2999
3105
  postListMeasurementForms(request: ListMeasurementFormsRequest | undefined): Promise<PagedResultOfMeasurementFormInstanceOverviewDto>;
3000
3106
  protected processPostListMeasurementForms(response: Response): Promise<PagedResultOfMeasurementFormInstanceOverviewDto>;
3001
- getMeasurementFormInstance(id: string): Promise<MeasurementFormInstanceDto>;
3107
+ getMeasurementFormInstance(id: string, tenantId: string | null | undefined): Promise<MeasurementFormInstanceDto>;
3002
3108
  protected processGetMeasurementFormInstance(response: Response): Promise<MeasurementFormInstanceDto>;
3003
3109
  listMeasurementFormInstanceFeedback(id: string): Promise<MeasurementFormInstanceFeedbackDto[]>;
3004
3110
  protected processListMeasurementFormInstanceFeedback(response: Response): Promise<MeasurementFormInstanceFeedbackDto[]>;
3005
- completeMeasurementFormInstance(id: string): Promise<MeasurementFormInstanceDto>;
3111
+ completeMeasurementFormInstance(id: string, tenantId: string | null | undefined): Promise<MeasurementFormInstanceDto>;
3006
3112
  protected processCompleteMeasurementFormInstance(response: Response): Promise<MeasurementFormInstanceDto>;
3007
- completeMeasurementFormInstanceV2(id: string): Promise<CompleteMeasurementFormInstanceResult>;
3113
+ completeMeasurementFormInstanceV2(id: string, tenantId: string | null | undefined): Promise<CompleteMeasurementFormInstanceResult>;
3008
3114
  protected processCompleteMeasurementFormInstanceV2(response: Response): Promise<CompleteMeasurementFormInstanceResult>;
3009
- getMeasurementFormInstanceSchema(id: string, schemaId: string, serialNumber: string | null | undefined): Promise<MeasurementFormInstanceSchemaDto>;
3115
+ getMeasurementFormInstanceSchema(id: string, schemaId: string, serialNumber: string | null | undefined, tenantId: string | null | undefined): Promise<MeasurementFormInstanceSchemaDto>;
3010
3116
  protected processGetMeasurementFormInstanceSchema(response: Response): Promise<MeasurementFormInstanceSchemaDto>;
3011
- getWorkorderMeasurementFormProgress(id: string): Promise<MeasurementFormInstanceProgressDto>;
3117
+ getWorkorderMeasurementFormProgress(id: string, tenantId: string | null | undefined): Promise<MeasurementFormInstanceProgressDto>;
3012
3118
  protected processGetWorkorderMeasurementFormProgress(response: Response): Promise<MeasurementFormInstanceProgressDto>;
3013
- getAuditLog(id: string, schemaId: string | null | undefined, serialNumber: string | null | undefined, elementId: string | null | undefined): Promise<MeasurementFormElementValueAuditDto[]>;
3119
+ getAuditLog(id: string, tenantId: string | null | undefined, schemaId: string | null | undefined, serialNumber: string | null | undefined, elementId: string | null | undefined): Promise<MeasurementFormElementValueAuditDto[]>;
3014
3120
  protected processGetAuditLog(response: Response): Promise<MeasurementFormElementValueAuditDto[]>;
3015
3121
  getValidationRules(): Promise<ValidationRuleDto[]>;
3016
3122
  protected processGetValidationRules(response: Response): Promise<ValidationRuleDto[]>;
3017
- saveValue(id: string, request: SaveValueRequest): Promise<SaveValueResponseDto>;
3123
+ saveValue(id: string, tenantId: string | null | undefined, request: SaveValueRequest): Promise<SaveValueResponseDto>;
3018
3124
  protected processSaveValue(response: Response): Promise<SaveValueResponseDto>;
3019
- saveTool(id: string, request: SaveToolRequest): Promise<SaveValueResponseDto>;
3125
+ saveTool(id: string, tenantId: string | null | undefined, request: SaveToolRequest): Promise<SaveValueResponseDto>;
3020
3126
  protected processSaveTool(response: Response): Promise<SaveValueResponseDto>;
3021
- saveComment(id: string, request: SaveCommentRequest): Promise<void>;
3127
+ saveComment(id: string, tenantId: string | null | undefined, request: SaveCommentRequest): Promise<void>;
3022
3128
  protected processSaveComment(response: Response): Promise<void>;
3023
- batchInsertValues(id: string, request: BatchInsertValueRequest): Promise<BatchInsertValuesResponseDto>;
3129
+ batchInsertValues(id: string, tenantId: string | null | undefined, request: BatchInsertValueRequest): Promise<BatchInsertValuesResponseDto>;
3024
3130
  protected processBatchInsertValues(response: Response): Promise<BatchInsertValuesResponseDto>;
3025
- saveMeasurementFormInstanceSchemaComment(id: string, schemaId: string, request: SaveMeasurementFormInstanceSchemaCommentRequest): Promise<void>;
3131
+ saveMeasurementFormInstanceSchemaComment(id: string, schemaId: string, tenantId: string | null | undefined, request: SaveMeasurementFormInstanceSchemaCommentRequest): Promise<void>;
3026
3132
  protected processSaveMeasurementFormInstanceSchemaComment(response: Response): Promise<void>;
3027
- createMeasurementFormInstanceSchemaFeedback(id: string, schemaId: string, request: CreateMeasurementFormSchemaFeedbackRequest): Promise<SchemaFeedbackCreatedDto>;
3133
+ createMeasurementFormInstanceSchemaFeedback(id: string, schemaId: string, tenantId: string | null | undefined, request: CreateMeasurementFormSchemaFeedbackRequest): Promise<SchemaFeedbackCreatedDto>;
3028
3134
  protected processCreateMeasurementFormInstanceSchemaFeedback(response: Response): Promise<SchemaFeedbackCreatedDto>;
3029
3135
  listSupplierMeasurementFormInstances(supplierId: string): Promise<MeasurementFormSupplierAccessInstanceDto[]>;
3030
3136
  protected processListSupplierMeasurementFormInstances(response: Response): Promise<MeasurementFormSupplierAccessInstanceDto[]>;
@@ -3049,7 +3155,7 @@ export interface IMeasurementFormsInstancesInstanceAdminClient {
3049
3155
  createMeasurementFormInstance2(id: string, request: CreateMeasurementFormInstanceRequest): Promise<MeasurementFormInstanceDto>;
3050
3156
  reactivateMeasurementFormInstance(id: string): Promise<MeasurementFormInstanceDto>;
3051
3157
  cancelMeasurementFormInstance(id: string): Promise<MeasurementFormInstanceDto>;
3052
- toggleSchemaInstanceElementDocumentedExternallyOverride(id: string, schemaId: string, elementId: string): Promise<void>;
3158
+ toggleSchemaInstanceElementDocumentedExternallyOverride(id: string, schemaId: string, elementId: string, tenantId: string | null | undefined): Promise<void>;
3053
3159
  }
3054
3160
  export declare class MeasurementFormsInstancesInstanceAdminClient extends AuthorizedApiBase implements IMeasurementFormsInstancesInstanceAdminClient {
3055
3161
  private http;
@@ -3073,7 +3179,7 @@ export declare class MeasurementFormsInstancesInstanceAdminClient extends Author
3073
3179
  protected processReactivateMeasurementFormInstance(response: Response): Promise<MeasurementFormInstanceDto>;
3074
3180
  cancelMeasurementFormInstance(id: string): Promise<MeasurementFormInstanceDto>;
3075
3181
  protected processCancelMeasurementFormInstance(response: Response): Promise<MeasurementFormInstanceDto>;
3076
- toggleSchemaInstanceElementDocumentedExternallyOverride(id: string, schemaId: string, elementId: string): Promise<void>;
3182
+ toggleSchemaInstanceElementDocumentedExternallyOverride(id: string, schemaId: string, elementId: string, tenantId: string | null | undefined): Promise<void>;
3077
3183
  protected processToggleSchemaInstanceElementDocumentedExternallyOverride(response: Response): Promise<void>;
3078
3184
  }
3079
3185
  export interface ICompaniesClient {
@@ -3413,117 +3519,6 @@ export declare class WorkordersClient extends AuthorizedApiBase implements IWork
3413
3519
  generateContentPartsForDiscussions(): Promise<WorkorderDiscussionMessageDto[]>;
3414
3520
  protected processGenerateContentPartsForDiscussions(response: Response): Promise<WorkorderDiscussionMessageDto[]>;
3415
3521
  }
3416
- export interface IExternalAccessClient {
3417
- listUsers(companyId: string | null | undefined): Promise<CompanyUserDto[]>;
3418
- createCompanyUser(request: CreateCompanyUser): Promise<CompanyUserDto>;
3419
- updateCompanyUser(id: string, request: UpdateCompanyUserRequest): Promise<CompanyUserDto>;
3420
- deleteCompanyUser(id: string, companyId: string | null | undefined): Promise<void>;
3421
- migrateLegacyCompanyUsersToEntra(): Promise<CompanyUserDto[]>;
3422
- listRoles(): Promise<ExternalRoleDto[]>;
3423
- listCompanyCustomers(): Promise<CompanyCustomerDto[]>;
3424
- deleteCompanyCustomer(tenantId: string): Promise<void>;
3425
- }
3426
- export declare class ExternalAccessClient extends AuthorizedApiBase implements IExternalAccessClient {
3427
- private http;
3428
- private baseUrl;
3429
- constructor(configuration: IApiClientConfig, baseUrl?: string, http?: {
3430
- fetch(url: RequestInfo, init?: RequestInit): Promise<Response>;
3431
- });
3432
- listUsers(companyId: string | null | undefined): Promise<CompanyUserDto[]>;
3433
- protected processListUsers(response: Response): Promise<CompanyUserDto[]>;
3434
- createCompanyUser(request: CreateCompanyUser): Promise<CompanyUserDto>;
3435
- protected processCreateCompanyUser(response: Response): Promise<CompanyUserDto>;
3436
- updateCompanyUser(id: string, request: UpdateCompanyUserRequest): Promise<CompanyUserDto>;
3437
- protected processUpdateCompanyUser(response: Response): Promise<CompanyUserDto>;
3438
- deleteCompanyUser(id: string, companyId: string | null | undefined): Promise<void>;
3439
- protected processDeleteCompanyUser(response: Response): Promise<void>;
3440
- migrateLegacyCompanyUsersToEntra(): Promise<CompanyUserDto[]>;
3441
- protected processMigrateLegacyCompanyUsersToEntra(response: Response): Promise<CompanyUserDto[]>;
3442
- listRoles(): Promise<ExternalRoleDto[]>;
3443
- protected processListRoles(response: Response): Promise<ExternalRoleDto[]>;
3444
- listCompanyCustomers(): Promise<CompanyCustomerDto[]>;
3445
- protected processListCompanyCustomers(response: Response): Promise<CompanyCustomerDto[]>;
3446
- deleteCompanyCustomer(tenantId: string): Promise<void>;
3447
- protected processDeleteCompanyCustomer(response: Response): Promise<void>;
3448
- }
3449
- export interface IExternalClient {
3450
- listCompanies(): Promise<CompanyDto[]>;
3451
- getCompany(id: string): Promise<CompanyDto>;
3452
- getCurrentSupplierInvite(): Promise<SupplierInviteDto>;
3453
- acceptSupplierInviteNewCompany(request: AcceptSupplierInviteNewCompany): Promise<SupplierInviteDto>;
3454
- acceptSupplierInviteExistingCompany(request: AcceptSupplierInviteExistingCompany): Promise<SupplierInviteDto>;
3455
- acceptSupplierInviteCustomer(request: AcceptSupplierInviteCustomer): Promise<SupplierInviteDto>;
3456
- listTenantsWithSuppliers(): Promise<TenantWithSupplierDto[]>;
3457
- }
3458
- export declare class ExternalClient extends AuthorizedApiBase implements IExternalClient {
3459
- private http;
3460
- private baseUrl;
3461
- constructor(configuration: IApiClientConfig, baseUrl?: string, http?: {
3462
- fetch(url: RequestInfo, init?: RequestInit): Promise<Response>;
3463
- });
3464
- listCompanies(): Promise<CompanyDto[]>;
3465
- protected processListCompanies(response: Response): Promise<CompanyDto[]>;
3466
- getCompany(id: string): Promise<CompanyDto>;
3467
- protected processGetCompany(response: Response): Promise<CompanyDto>;
3468
- getCurrentSupplierInvite(): Promise<SupplierInviteDto>;
3469
- protected processGetCurrentSupplierInvite(response: Response): Promise<SupplierInviteDto>;
3470
- acceptSupplierInviteNewCompany(request: AcceptSupplierInviteNewCompany): Promise<SupplierInviteDto>;
3471
- protected processAcceptSupplierInviteNewCompany(response: Response): Promise<SupplierInviteDto>;
3472
- acceptSupplierInviteExistingCompany(request: AcceptSupplierInviteExistingCompany): Promise<SupplierInviteDto>;
3473
- protected processAcceptSupplierInviteExistingCompany(response: Response): Promise<SupplierInviteDto>;
3474
- acceptSupplierInviteCustomer(request: AcceptSupplierInviteCustomer): Promise<SupplierInviteDto>;
3475
- protected processAcceptSupplierInviteCustomer(response: Response): Promise<SupplierInviteDto>;
3476
- listTenantsWithSuppliers(): Promise<TenantWithSupplierDto[]>;
3477
- protected processListTenantsWithSuppliers(response: Response): Promise<TenantWithSupplierDto[]>;
3478
- }
3479
- export interface ISuppliersClient {
3480
- listSupplierInvites(): Promise<SupplierInviteDto[]>;
3481
- createSupplierInvite(request: CreateSupplierInviteRequest): Promise<SupplierInviteDto>;
3482
- deleteSupplierInvite(id: string): Promise<void>;
3483
- listSuppliers(): Promise<ExternalSupplierDto[]>;
3484
- deleteSupplier(id: string): Promise<void>;
3485
- /**
3486
- * Creates a mapping between old supplier id and new supplier id.
3487
- */
3488
- createSupplierMapping(request: CreateSupplierMapping): Promise<void>;
3489
- /**
3490
- * Delete all supplier mappings between old supplier ids and new supplier ids.
3491
- */
3492
- deleteSupplierMappings(): Promise<void>;
3493
- lookupOrganization(threeLetterIsoCountry: string | undefined, organizationNumber: string | undefined): Promise<OrganizationDto>;
3494
- getOrganizationLookupSupportedCountries(): Promise<CountryDto[]>;
3495
- }
3496
- export declare class SuppliersClient extends AuthorizedApiBase implements ISuppliersClient {
3497
- private http;
3498
- private baseUrl;
3499
- constructor(configuration: IApiClientConfig, baseUrl?: string, http?: {
3500
- fetch(url: RequestInfo, init?: RequestInit): Promise<Response>;
3501
- });
3502
- listSupplierInvites(): Promise<SupplierInviteDto[]>;
3503
- protected processListSupplierInvites(response: Response): Promise<SupplierInviteDto[]>;
3504
- createSupplierInvite(request: CreateSupplierInviteRequest): Promise<SupplierInviteDto>;
3505
- protected processCreateSupplierInvite(response: Response): Promise<SupplierInviteDto>;
3506
- deleteSupplierInvite(id: string): Promise<void>;
3507
- protected processDeleteSupplierInvite(response: Response): Promise<void>;
3508
- listSuppliers(): Promise<ExternalSupplierDto[]>;
3509
- protected processListSuppliers(response: Response): Promise<ExternalSupplierDto[]>;
3510
- deleteSupplier(id: string): Promise<void>;
3511
- protected processDeleteSupplier(response: Response): Promise<void>;
3512
- /**
3513
- * Creates a mapping between old supplier id and new supplier id.
3514
- */
3515
- createSupplierMapping(request: CreateSupplierMapping): Promise<void>;
3516
- protected processCreateSupplierMapping(response: Response): Promise<void>;
3517
- /**
3518
- * Delete all supplier mappings between old supplier ids and new supplier ids.
3519
- */
3520
- deleteSupplierMappings(): Promise<void>;
3521
- protected processDeleteSupplierMappings(response: Response): Promise<void>;
3522
- lookupOrganization(threeLetterIsoCountry: string | undefined, organizationNumber: string | undefined): Promise<OrganizationDto>;
3523
- protected processLookupOrganization(response: Response): Promise<OrganizationDto>;
3524
- getOrganizationLookupSupportedCountries(): Promise<CountryDto[]>;
3525
- protected processGetOrganizationLookupSupportedCountries(response: Response): Promise<CountryDto[]>;
3526
- }
3527
3522
  export interface AzureRegionDto {
3528
3523
  displayName: string;
3529
3524
  name: string;
@@ -3835,9 +3830,6 @@ export interface UserDetailsDto {
3835
3830
  isExternalUser?: boolean;
3836
3831
  isBetaTester?: boolean | null;
3837
3832
  hasAccessToIgnos?: boolean;
3838
- isInvitedUser?: boolean;
3839
- isSupplier?: boolean;
3840
- companyId?: string | null;
3841
3833
  }
3842
3834
  export interface UserDto {
3843
3835
  id?: string | null;
@@ -4258,7 +4250,7 @@ export interface UpdateCalendarSettingsCommand {
4258
4250
  }
4259
4251
  export interface ShiftPlansDto {
4260
4252
  active: ShiftPlanDto[];
4261
- archived: ShiftPlanDto[];
4253
+ archived: ArchivedShiftPlanDto[];
4262
4254
  }
4263
4255
  export interface ShiftPlanDto {
4264
4256
  id: string;
@@ -4270,6 +4262,27 @@ export interface ShiftPlanDto {
4270
4262
  updatedBy?: string | null;
4271
4263
  isArchived?: boolean;
4272
4264
  }
4265
+ export interface ArchivedShiftPlanDto extends ShiftPlanDto {
4266
+ usage: ShiftSettingPeriodsDto[];
4267
+ }
4268
+ export interface ShiftSettingPeriodsDto {
4269
+ resourceExternalId: string;
4270
+ resourceName: string;
4271
+ resourceDescription?: string | null;
4272
+ periods: ShiftSettingsPeriodDto[];
4273
+ }
4274
+ export interface ShiftSettingsPeriodDto {
4275
+ resourceExternalId: string;
4276
+ shiftPlanId: string;
4277
+ shiftPlanName: string;
4278
+ effectiveFrom: string;
4279
+ effectiveTo?: string | null;
4280
+ targetPercent: number;
4281
+ comment?: string | null;
4282
+ hoursPerWeekday: {
4283
+ [key in DayOfWeek]?: number;
4284
+ };
4285
+ }
4273
4286
  export interface CreateShiftPlan {
4274
4287
  name: string;
4275
4288
  hoursPerWeekday: {
@@ -4291,23 +4304,6 @@ export interface ShiftSettingsPeriodGroupDto {
4291
4304
  resourceGroupName: string;
4292
4305
  resources: ShiftSettingPeriodsDto[];
4293
4306
  }
4294
- export interface ShiftSettingPeriodsDto {
4295
- resourceExternalId: string;
4296
- resourceName: string;
4297
- periods: ShiftSettingsPeriodDto[];
4298
- }
4299
- export interface ShiftSettingsPeriodDto {
4300
- resourceExternalId: string;
4301
- shiftPlanId: string;
4302
- shiftPlanName: string;
4303
- effectiveFrom: string;
4304
- effectiveTo?: string | null;
4305
- targetPercent: number;
4306
- comment?: string | null;
4307
- hoursPerWeekday: {
4308
- [key in DayOfWeek]?: number;
4309
- };
4310
- }
4311
4307
  export interface AddShiftSettingPeriods {
4312
4308
  resourceExternalIds: string[];
4313
4309
  shiftPlanId: string;
@@ -4329,8 +4325,11 @@ export interface PeriodKey {
4329
4325
  effectiveFrom: string;
4330
4326
  }
4331
4327
  export interface CopyShiftSettingsPeriodRequest {
4332
- targetResourceExternalId: string;
4333
- effectiveFrom: string;
4328
+ sourceShiftSettingPeriods: SourceShiftSettingPeriod[];
4329
+ }
4330
+ export interface SourceShiftSettingPeriod {
4331
+ sourceResourceExternalId: string;
4332
+ sourceEffectiveFrom: string;
4334
4333
  }
4335
4334
  export interface MigrationResultDto {
4336
4335
  created?: number;
@@ -5735,7 +5734,7 @@ export interface ImportDocument {
5735
5734
  lots: string[];
5736
5735
  frontPageDocumentId?: string | null;
5737
5736
  documentSource: DocumentSource;
5738
- uploadKey: string;
5737
+ uploadKey?: string | null;
5739
5738
  created?: Date | null;
5740
5739
  createdBy?: string | null;
5741
5740
  createdById?: string | null;
@@ -5767,7 +5766,8 @@ export interface ImportDocumentRevisionDto {
5767
5766
  approvals: DocumentRevisionApprovalDto[];
5768
5767
  }
5769
5768
  export interface ImportDocumentRevisionContentDto {
5770
- uploadFilename: string;
5769
+ uploadFilename?: string | null;
5770
+ sourceUrl?: string | null;
5771
5771
  originalFilename: string;
5772
5772
  extension: string;
5773
5773
  }
@@ -5850,6 +5850,97 @@ export interface DocumentGeneratorTypeDto {
5850
5850
  key: string;
5851
5851
  description: string;
5852
5852
  }
5853
+ export interface CompanyUserDto {
5854
+ companyId?: string | null;
5855
+ username?: string | null;
5856
+ name?: string | null;
5857
+ roles?: string[] | null;
5858
+ }
5859
+ export interface CreateCompanyUserRequest {
5860
+ username: string;
5861
+ name: string;
5862
+ roles: string[];
5863
+ companyId?: string | null;
5864
+ }
5865
+ export interface UpdateCompanyUserRequest {
5866
+ name: string;
5867
+ roles: string[];
5868
+ companyId?: string | null;
5869
+ }
5870
+ export interface ExternalRoleDto {
5871
+ id: string;
5872
+ name: string;
5873
+ }
5874
+ export interface CompanyCustomerDto {
5875
+ customerTenantId?: string | null;
5876
+ customerAzureAdTenantId?: string | null;
5877
+ customerName?: string | null;
5878
+ supplierId?: string | null;
5879
+ supplierName?: string | null;
5880
+ }
5881
+ export interface InviteDto {
5882
+ tenantId: string;
5883
+ companyName: string;
5884
+ id: string;
5885
+ supplierId: string;
5886
+ supplierName: string;
5887
+ username: string;
5888
+ deadline: Date;
5889
+ createdTime: Date;
5890
+ createdBy: string;
5891
+ }
5892
+ export interface CompanyDto {
5893
+ id?: string | null;
5894
+ name?: string | null;
5895
+ organizationNumber?: string | null;
5896
+ country?: string | null;
5897
+ tenantId?: string | null;
5898
+ }
5899
+ export interface AcceptSupplierInviteRequest {
5900
+ tenantId: string;
5901
+ existingCompanyId?: string | null;
5902
+ companyName?: string | null;
5903
+ organizationNumber?: string | null;
5904
+ threeLetterIsoCountry?: string | null;
5905
+ }
5906
+ export interface SupplierInviteDto {
5907
+ id: string;
5908
+ supplierId: string;
5909
+ name: string;
5910
+ username: string;
5911
+ deadline: Date;
5912
+ createdTime: Date;
5913
+ createdBy: string;
5914
+ }
5915
+ export interface CreateSupplierInvite {
5916
+ supplierId: string;
5917
+ name: string;
5918
+ username: string;
5919
+ deadline: Date;
5920
+ }
5921
+ export interface ExternalSupplierDto {
5922
+ id: string;
5923
+ name: string;
5924
+ companyId: string;
5925
+ active: boolean;
5926
+ }
5927
+ export interface ImportSupplier {
5928
+ supplierId: string;
5929
+ name: string;
5930
+ organizationNumber?: string | null;
5931
+ threeLetterIsoCountry: string;
5932
+ users: ImportSupplierUserDto[];
5933
+ }
5934
+ export interface ImportSupplierUserDto {
5935
+ username: string;
5936
+ name: string;
5937
+ roles: string[];
5938
+ }
5939
+ export interface CreateSupplierMapping {
5940
+ companyId: string;
5941
+ existingSupplierId: string;
5942
+ newSupplierId: string;
5943
+ }
5853
5944
  export interface CncMachineTransferDto {
5854
5945
  id: string;
5855
5946
  cncMachineOperationId?: string | null;
@@ -9170,6 +9261,7 @@ export interface ListMeasurementFormsRequest {
9170
9261
  pageSize?: number | null;
9171
9262
  search?: string | null;
9172
9263
  continuationToken?: string | null;
9264
+ tenantId?: string | null;
9173
9265
  inactive?: boolean | null;
9174
9266
  includeInactiveSupplierAccess?: boolean | null;
9175
9267
  }
@@ -9365,6 +9457,7 @@ export interface UpsertSupplierToMeasurementFormInstanceRequest {
9365
9457
  externalOrderNumber?: string | null;
9366
9458
  }
9367
9459
  export interface ExportDimensionReportV2Request {
9460
+ tenantId?: string | null;
9368
9461
  type: DimensionReportType;
9369
9462
  extras?: DimensionReportExtras | null;
9370
9463
  specificSerialNumbers?: string[] | null;
@@ -9707,94 +9800,6 @@ export interface SetDiscussionLastReadRequest {
9707
9800
  operationId?: string | null;
9708
9801
  resourceId?: string | null;
9709
9802
  }
9710
- export interface CompanyUserDto {
9711
- companyId: string;
9712
- userObjectId: string;
9713
- username?: string | null;
9714
- name?: string | null;
9715
- roles: string[];
9716
- }
9717
- export interface CreateCompanyUser {
9718
- username: string;
9719
- name: string;
9720
- roles: string[];
9721
- companyId?: string | null;
9722
- }
9723
- export interface UpdateCompanyUserRequest {
9724
- roles: string[];
9725
- companyId?: string | null;
9726
- }
9727
- export interface ExternalRoleDto {
9728
- id: string;
9729
- name: string;
9730
- }
9731
- export interface CompanyCustomerDto {
9732
- customerTenantId?: string | null;
9733
- customerAzureAdTenantId?: string | null;
9734
- customerName?: string | null;
9735
- supplierId?: string | null;
9736
- supplierName?: string | null;
9737
- customerIgnosPortalPrefix?: string | null;
9738
- }
9739
- export interface CompanyDto {
9740
- id: string;
9741
- name: string;
9742
- organizationNumber?: string | null;
9743
- country: string;
9744
- tenantId?: string | null;
9745
- }
9746
- export interface SupplierInviteDto {
9747
- id: string;
9748
- supplierId: string;
9749
- supplierName?: string | null;
9750
- customerName?: string | null;
9751
- userId: string;
9752
- userName?: string | null;
9753
- acceptedTimestamp?: Date | null;
9754
- createdTime: Date;
9755
- createdBy: string;
9756
- }
9757
- export interface AcceptSupplierInviteNewCompany {
9758
- companyName?: string;
9759
- organizationNumber?: string;
9760
- threeLetterIsoCountry?: string;
9761
- }
9762
- export interface AcceptSupplierInviteExistingCompany {
9763
- companyId?: string;
9764
- }
9765
- export interface AcceptSupplierInviteCustomer {
9766
- tenantId?: string;
9767
- organizationNumber?: string;
9768
- }
9769
- export interface TenantWithSupplierDto {
9770
- tenantId: string;
9771
- customerName: string;
9772
- supplierTenantEntraId: string;
9773
- }
9774
- export interface CreateSupplierInviteRequest {
9775
- supplierId: string;
9776
- threeLetterIsoCountry: string;
9777
- organizationNumber: string;
9778
- supplierName?: string | null;
9779
- username: string;
9780
- invitedName: string;
9781
- }
9782
- export interface ExternalSupplierDto {
9783
- id: string;
9784
- name: string;
9785
- companyId: string;
9786
- active: boolean;
9787
- }
9788
- export interface CreateSupplierMapping {
9789
- companyId: string;
9790
- existingSupplierId: string;
9791
- newSupplierId: string;
9792
- }
9793
- export interface OrganizationDto {
9794
- name?: string;
9795
- postalAddress?: string | null;
9796
- registeredAddress?: string | null;
9797
- }
9798
9803
  export type FeatureCollectionType = "FeatureCollection";
9799
9804
  export interface Features {
9800
9805
  type: FeaturesType;