@ignos/api-client 20260505.121.1 → 20260507.123.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.
@@ -615,6 +615,51 @@ export declare class KpiAdminResourceClient extends AuthorizedApiBase implements
615
615
  updateCalendarSettings(cmd: UpdateCalendarSettingsCommand): Promise<CalendarSettingsDto>;
616
616
  protected processUpdateCalendarSettings(response: Response): Promise<CalendarSettingsDto>;
617
617
  }
618
+ export interface IKpiCalendarClient {
619
+ listCalendarDefinitions(): Promise<CalendarDefinitionDto[]>;
620
+ createCalendarDefinition(request: CreateCalendarDefinition): Promise<CalendarDefinitionDto>;
621
+ updateCalendarDefinition(id: string, request: UpdateCalendarDefinition): Promise<CalendarDefinitionDto>;
622
+ deleteCalendarDefinition(id: string): Promise<FileResponse>;
623
+ listResourceCalendarPeriods(): Promise<ResourceCalendarPeriodGroupDto[]>;
624
+ addResourceCalendarPeriod(request: AddResourceCalendarPeriod): Promise<ResourceCalendarPeriodDto>;
625
+ updateResourceCalendarPeriod(id: string, request: UpdateResourceCalendarPeriod): Promise<ResourceCalendarPeriodDto>;
626
+ deleteResourceCalendarPeriod(id: string): Promise<FileResponse>;
627
+ bulkAddResourceCalendarPeriods(request: BulkAddResourceCalendarPeriods): Promise<ResourceCalendarPeriodDto[]>;
628
+ copyResourceCalendarPeriod(id: string, request: CopyResourceCalendarPeriod): Promise<ResourceCalendarPeriodDto>;
629
+ migrateResourceCapacity(): Promise<MigrationResultDto>;
630
+ migrateCalendarIds(): Promise<MigrationResultDto>;
631
+ }
632
+ export declare class KpiCalendarClient extends AuthorizedApiBase implements IKpiCalendarClient {
633
+ private http;
634
+ private baseUrl;
635
+ constructor(configuration: IAccessTokenProvider, baseUrl?: string, http?: {
636
+ fetch(url: RequestInfo, init?: RequestInit): Promise<Response>;
637
+ });
638
+ listCalendarDefinitions(): Promise<CalendarDefinitionDto[]>;
639
+ protected processListCalendarDefinitions(response: Response): Promise<CalendarDefinitionDto[]>;
640
+ createCalendarDefinition(request: CreateCalendarDefinition): Promise<CalendarDefinitionDto>;
641
+ protected processCreateCalendarDefinition(response: Response): Promise<CalendarDefinitionDto>;
642
+ updateCalendarDefinition(id: string, request: UpdateCalendarDefinition): Promise<CalendarDefinitionDto>;
643
+ protected processUpdateCalendarDefinition(response: Response): Promise<CalendarDefinitionDto>;
644
+ deleteCalendarDefinition(id: string): Promise<FileResponse>;
645
+ protected processDeleteCalendarDefinition(response: Response): Promise<FileResponse>;
646
+ listResourceCalendarPeriods(): Promise<ResourceCalendarPeriodGroupDto[]>;
647
+ protected processListResourceCalendarPeriods(response: Response): Promise<ResourceCalendarPeriodGroupDto[]>;
648
+ addResourceCalendarPeriod(request: AddResourceCalendarPeriod): Promise<ResourceCalendarPeriodDto>;
649
+ protected processAddResourceCalendarPeriod(response: Response): Promise<ResourceCalendarPeriodDto>;
650
+ updateResourceCalendarPeriod(id: string, request: UpdateResourceCalendarPeriod): Promise<ResourceCalendarPeriodDto>;
651
+ protected processUpdateResourceCalendarPeriod(response: Response): Promise<ResourceCalendarPeriodDto>;
652
+ deleteResourceCalendarPeriod(id: string): Promise<FileResponse>;
653
+ protected processDeleteResourceCalendarPeriod(response: Response): Promise<FileResponse>;
654
+ bulkAddResourceCalendarPeriods(request: BulkAddResourceCalendarPeriods): Promise<ResourceCalendarPeriodDto[]>;
655
+ protected processBulkAddResourceCalendarPeriods(response: Response): Promise<ResourceCalendarPeriodDto[]>;
656
+ copyResourceCalendarPeriod(id: string, request: CopyResourceCalendarPeriod): Promise<ResourceCalendarPeriodDto>;
657
+ protected processCopyResourceCalendarPeriod(response: Response): Promise<ResourceCalendarPeriodDto>;
658
+ migrateResourceCapacity(): Promise<MigrationResultDto>;
659
+ protected processMigrateResourceCapacity(response: Response): Promise<MigrationResultDto>;
660
+ migrateCalendarIds(): Promise<MigrationResultDto>;
661
+ protected processMigrateCalendarIds(response: Response): Promise<MigrationResultDto>;
662
+ }
618
663
  export interface IKpiResourceClient {
619
664
  getResourceKpi(resourceExternalId: string | undefined, previousPeriodStartDate: Date | undefined, startDate: Date | undefined, endDate: Date | undefined, utcOffset: number | undefined): Promise<ResourceKpiDto>;
620
665
  getResourceDailyUptime(resourceExternalId: string | undefined, date: Date | undefined, utcOffset: number | undefined): Promise<ResourceDailyUptimeDto>;
@@ -2616,7 +2661,7 @@ export declare class InspectMatchMaterialChecksAdminClient extends AuthorizedApi
2616
2661
  }
2617
2662
  export interface IInspectMatchMaterialChecksClient {
2618
2663
  getMaterialCheck(id: string): Promise<ImaMaterialCheckDto>;
2619
- listMaterialChecks(pageSize: number | null | undefined, continuationToken: string | null | undefined, request: ImaMaterialChecksPageRequestDto): Promise<PagedResultOfImaMaterialCheckLiteDto>;
2664
+ listMaterialChecks(request: ImaMaterialChecksPageRequestDto): Promise<PagedResultOfImaMaterialCheckLiteDto>;
2620
2665
  processMaterialCertificate(certificatesRequest: ProcessMaterialCertificate): Promise<void>;
2621
2666
  }
2622
2667
  export declare class InspectMatchMaterialChecksClient extends AuthorizedApiBase implements IInspectMatchMaterialChecksClient {
@@ -2627,7 +2672,7 @@ export declare class InspectMatchMaterialChecksClient extends AuthorizedApiBase
2627
2672
  });
2628
2673
  getMaterialCheck(id: string): Promise<ImaMaterialCheckDto>;
2629
2674
  protected processGetMaterialCheck(response: Response): Promise<ImaMaterialCheckDto>;
2630
- listMaterialChecks(pageSize: number | null | undefined, continuationToken: string | null | undefined, request: ImaMaterialChecksPageRequestDto): Promise<PagedResultOfImaMaterialCheckLiteDto>;
2675
+ listMaterialChecks(request: ImaMaterialChecksPageRequestDto): Promise<PagedResultOfImaMaterialCheckLiteDto>;
2631
2676
  protected processListMaterialChecks(response: Response): Promise<PagedResultOfImaMaterialCheckLiteDto>;
2632
2677
  processMaterialCertificate(certificatesRequest: ProcessMaterialCertificate): Promise<void>;
2633
2678
  protected processProcessMaterialCertificate(response: Response): Promise<void>;
@@ -4112,6 +4157,77 @@ export interface UpdateCalendarSettingsCommand {
4112
4157
  holidayHours?: number;
4113
4158
  defaultPerformancePercent?: number | null;
4114
4159
  }
4160
+ export interface CalendarDefinitionDto {
4161
+ id?: string;
4162
+ name?: string;
4163
+ hoursPerWeekday?: {
4164
+ [key in DayOfWeek]?: number;
4165
+ };
4166
+ created?: Date | null;
4167
+ updatedBy?: string | null;
4168
+ }
4169
+ export interface CreateCalendarDefinition {
4170
+ name: string;
4171
+ hoursPerWeekday: {
4172
+ [key in DayOfWeek]?: number;
4173
+ };
4174
+ }
4175
+ export interface UpdateCalendarDefinition {
4176
+ id: string;
4177
+ name?: string | null;
4178
+ hoursPerWeekday?: {
4179
+ [key in DayOfWeek]?: number;
4180
+ } | null;
4181
+ }
4182
+ export interface ResourceCalendarPeriodGroupDto {
4183
+ department?: string | null;
4184
+ resources?: ResourceCalendarPeriodsDto[];
4185
+ }
4186
+ export interface ResourceCalendarPeriodsDto {
4187
+ resourceExternalId?: string;
4188
+ resourceName?: string;
4189
+ periods?: ResourceCalendarPeriodDto[];
4190
+ }
4191
+ export interface ResourceCalendarPeriodDto {
4192
+ id?: string;
4193
+ resourceExternalId?: string;
4194
+ calendarDefinitionId?: string;
4195
+ calendarDefinitionName?: string;
4196
+ effectiveFrom?: string;
4197
+ effectiveTo?: string | null;
4198
+ targetPercent?: number;
4199
+ comment?: string | null;
4200
+ }
4201
+ export interface AddResourceCalendarPeriod {
4202
+ resourceExternalId: string;
4203
+ calendarDefinitionId: string;
4204
+ effectiveFrom: string;
4205
+ targetPercent: number;
4206
+ comment?: string | null;
4207
+ }
4208
+ export interface UpdateResourceCalendarPeriod {
4209
+ id: string;
4210
+ calendarDefinitionId?: string | null;
4211
+ targetPercent?: number | null;
4212
+ effectiveFrom?: string | null;
4213
+ comment?: string | null;
4214
+ }
4215
+ export interface BulkAddResourceCalendarPeriods {
4216
+ resourceExternalIds: string[];
4217
+ calendarDefinitionId: string;
4218
+ effectiveFrom: string;
4219
+ targetPercent: number;
4220
+ comment?: string | null;
4221
+ }
4222
+ export interface CopyResourceCalendarPeriod {
4223
+ sourcePeriodId: string;
4224
+ targetResourceExternalId: string;
4225
+ effectiveFrom: string;
4226
+ }
4227
+ export interface MigrationResultDto {
4228
+ created?: number;
4229
+ skipped?: number;
4230
+ }
4115
4231
  export interface ResourceKpiDto {
4116
4232
  uptimeToNow: number;
4117
4233
  uptimeToNowPreviousPeriod: number;
@@ -4152,6 +4268,7 @@ export interface ApplicationResourcesResourceGroupDto {
4152
4268
  id: string;
4153
4269
  name: string;
4154
4270
  companyId?: string | null;
4271
+ department?: string | null;
4155
4272
  resources: ResourceGroupMemberDto[];
4156
4273
  }
4157
4274
  export interface ResourceGroupMemberDto {
@@ -7828,6 +7945,7 @@ export interface ImaCertificateTypeLiteDto extends ImaCdfEntityReadBase {
7828
7945
  }
7829
7946
  export interface ImaMaterialCheckDto {
7830
7947
  materialCheckId: string;
7948
+ fileName: string;
7831
7949
  originalMaterialCertificate: FileDto;
7832
7950
  generatedMaterialCertificate?: FileDto | null;
7833
7951
  customerOrder?: string | null;
@@ -8125,6 +8243,7 @@ export interface PagedResultOfImaMaterialCheckLiteDto {
8125
8243
  }
8126
8244
  export interface ImaMaterialCheckLiteDto {
8127
8245
  materialCheckId: string;
8246
+ fileName: string;
8128
8247
  originalMaterialCertificate: FileDto;
8129
8248
  generatedMaterialCertificate?: FileDto | null;
8130
8249
  customerOrder?: string | null;
@@ -8157,25 +8276,32 @@ export interface ImaMaterialCheckLiteDto {
8157
8276
  }
8158
8277
  export interface ImaMaterialChecksPageRequestDto {
8159
8278
  pageSize?: number | null;
8160
- orderBy?: ImaMaterialChecksOrderByColumn | null;
8161
- searchTerm?: string | null;
8162
- originalReportFilter?: string | null;
8163
- generatedReportFilter?: string | null;
8164
- customerFilter?: string | null;
8279
+ orderBy?: ImaMaterialChecksPageOrderRequestDto[] | null;
8280
+ searchQuery?: string | null;
8281
+ fileNameFilter?: string | null;
8282
+ specificationFilter?: string | null;
8283
+ customerOrderFilter?: string | null;
8165
8284
  projectFilter?: string | null;
8166
8285
  purchaseOrderFilter?: string | null;
8167
8286
  workOrderFilter?: string | null;
8168
8287
  certificateTypeFilter?: string | null;
8169
- lineFilter?: string | null;
8170
- itemFilter?: string | null;
8288
+ purchaseOrderLineFilter?: number | null;
8171
8289
  heatFilter?: string | null;
8172
- lotFilter?: string | null;
8290
+ vendorBatchesFilter?: string[] | null;
8291
+ purchaseOrderPartNameFilter?: string | null;
8292
+ purchaseOrderPartNumberFilter?: string | null;
8293
+ purchaseOrderDrawingFilter?: string | null;
8173
8294
  dateFromFilter?: Date | null;
8174
8295
  dateToFilter?: Date | null;
8175
8296
  statusFilter?: ImaMaterialCheckStatus[] | null;
8176
8297
  continuationToken?: string | null;
8177
8298
  }
8178
- export type ImaMaterialChecksOrderByColumn = "OriginalReport" | "GeneratedReport" | "Customer" | "Project" | "PurchaseOrder" | "WorkOrder" | "CertificateType" | "Line" | "Item" | "Heat" | "Lot" | "Date" | "Status" | "NotSet";
8299
+ export interface ImaMaterialChecksPageOrderRequestDto {
8300
+ column?: ImaMaterialChecksOrderByColumn;
8301
+ direction?: ImaOrderDirection;
8302
+ }
8303
+ export type ImaMaterialChecksOrderByColumn = "FileName" | "PurchaseOrder" | "Line" | "VendorBatch" | "Part" | "Drawing" | "Heat" | "CertificateType" | "Specification" | "GeneratedReport" | "Project" | "CustomerOrder" | "WorkOrder" | "Date" | "Status";
8304
+ export type ImaOrderDirection = "Asc" | "Desc";
8179
8305
  export interface ProcessMaterialCertificate {
8180
8306
  files: UploadFileCdfDto[];
8181
8307
  specificationId: string;