@cristian-israel/giganet_lib_conecta 1.0.96 → 1.0.97
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/dist/index.d.mts +97 -1
- package/dist/index.d.ts +97 -1
- package/dist/index.js +55 -0
- package/dist/index.mjs +55 -0
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -11411,6 +11411,97 @@ declare class RoutinesLogsResource {
|
|
|
11411
11411
|
findAll(): Promise<RoutinesLogsResponse[]>;
|
|
11412
11412
|
}
|
|
11413
11413
|
|
|
11414
|
+
declare const RoutinesProblemsIssuesOSSchema: Schema<any, mongoose.Model<any, any, any, any, any, any, any>, {}, {}, {}, {}, {
|
|
11415
|
+
timestamps: true;
|
|
11416
|
+
}, {
|
|
11417
|
+
id_assunto: number;
|
|
11418
|
+
name: string;
|
|
11419
|
+
description: string;
|
|
11420
|
+
is_active: boolean;
|
|
11421
|
+
} & mongoose.DefaultTimestampProps, mongoose.Document<unknown, {}, {
|
|
11422
|
+
id_assunto: number;
|
|
11423
|
+
name: string;
|
|
11424
|
+
description: string;
|
|
11425
|
+
is_active: boolean;
|
|
11426
|
+
} & mongoose.DefaultTimestampProps, {
|
|
11427
|
+
id: string;
|
|
11428
|
+
}, Omit<mongoose.DefaultSchemaOptions, "timestamps"> & {
|
|
11429
|
+
timestamps: true;
|
|
11430
|
+
}> & Omit<{
|
|
11431
|
+
id_assunto: number;
|
|
11432
|
+
name: string;
|
|
11433
|
+
description: string;
|
|
11434
|
+
is_active: boolean;
|
|
11435
|
+
} & mongoose.DefaultTimestampProps & {
|
|
11436
|
+
_id: mongoose.Types.ObjectId;
|
|
11437
|
+
} & {
|
|
11438
|
+
__v: number;
|
|
11439
|
+
}, "id"> & {
|
|
11440
|
+
id: string;
|
|
11441
|
+
}, unknown, {
|
|
11442
|
+
id_assunto: number;
|
|
11443
|
+
name: string;
|
|
11444
|
+
description: string;
|
|
11445
|
+
is_active: boolean;
|
|
11446
|
+
createdAt: NativeDate;
|
|
11447
|
+
updatedAt: NativeDate;
|
|
11448
|
+
} & {
|
|
11449
|
+
_id: mongoose.Types.ObjectId;
|
|
11450
|
+
} & {
|
|
11451
|
+
__v: number;
|
|
11452
|
+
}>;
|
|
11453
|
+
interface RoutinesProblemsIssuesOSSResponse extends HydratedDocument<InferSchemaType<typeof RoutinesProblemsIssuesOSSchema>> {
|
|
11454
|
+
}
|
|
11455
|
+
|
|
11456
|
+
interface RoutinesProblemsIssuesOSInput {
|
|
11457
|
+
triggered_by: Types.ObjectId;
|
|
11458
|
+
}
|
|
11459
|
+
interface RoutinesProblemsIssuesOSCreateInput extends RoutinesProblemsIssuesOSInput {
|
|
11460
|
+
name: string;
|
|
11461
|
+
description: string;
|
|
11462
|
+
id_assunto: number;
|
|
11463
|
+
}
|
|
11464
|
+
interface RoutinesProblemsIssuesOSUpdateInput extends RoutinesProblemsIssuesOSInput {
|
|
11465
|
+
name?: string;
|
|
11466
|
+
description?: string;
|
|
11467
|
+
id_assunto?: number;
|
|
11468
|
+
is_active?: boolean;
|
|
11469
|
+
}
|
|
11470
|
+
interface RoutinesProblemsIssuesOSToggleActiveInput extends RoutinesProblemsIssuesOSInput {
|
|
11471
|
+
is_active: boolean;
|
|
11472
|
+
}
|
|
11473
|
+
|
|
11474
|
+
declare class RoutinesProblemsIssuesOSResource {
|
|
11475
|
+
private readonly client;
|
|
11476
|
+
private readonly endpoint;
|
|
11477
|
+
constructor(client: APIClient);
|
|
11478
|
+
/**
|
|
11479
|
+
* POST /v1/problems-issues-os
|
|
11480
|
+
* Cria um novo assunto de OS de problemas.
|
|
11481
|
+
*/
|
|
11482
|
+
create(data: RoutinesProblemsIssuesOSCreateInput): Promise<RoutinesProblemsIssuesOSSResponse>;
|
|
11483
|
+
/**
|
|
11484
|
+
* GET /v1/problems-issues-os
|
|
11485
|
+
* Lista todos os assuntos de OS de problemas.
|
|
11486
|
+
*/
|
|
11487
|
+
findAll(): Promise<RoutinesProblemsIssuesOSSResponse[]>;
|
|
11488
|
+
/**
|
|
11489
|
+
* GET /v1/problems-issues-os/:_id
|
|
11490
|
+
* Busca um assunto de OS de problemas pelo ID.
|
|
11491
|
+
*/
|
|
11492
|
+
findById(_id: Types.ObjectId): Promise<RoutinesProblemsIssuesOSSResponse>;
|
|
11493
|
+
/**
|
|
11494
|
+
* PATCH /v1/problems-issues-os/:_id
|
|
11495
|
+
* Atualiza um assunto de OS de problemas existente.
|
|
11496
|
+
*/
|
|
11497
|
+
update(_id: Types.ObjectId, data: RoutinesProblemsIssuesOSUpdateInput): Promise<RoutinesProblemsIssuesOSSResponse>;
|
|
11498
|
+
/**
|
|
11499
|
+
* PATCH /v1/problems-issues-os/:_id/toggle-active
|
|
11500
|
+
* Ativa ou desativa um assunto de OS de problemas.
|
|
11501
|
+
*/
|
|
11502
|
+
toggleActive(_id: Types.ObjectId, data: RoutinesProblemsIssuesOSToggleActiveInput): Promise<RoutinesProblemsIssuesOSSResponse>;
|
|
11503
|
+
}
|
|
11504
|
+
|
|
11414
11505
|
interface RoutinesTasksInput {
|
|
11415
11506
|
triggered_by: Types.ObjectId;
|
|
11416
11507
|
}
|
|
@@ -11557,6 +11648,7 @@ declare class RoutinesTasksResource {
|
|
|
11557
11648
|
declare class RoutinesAPIClient extends APIClient {
|
|
11558
11649
|
readonly routinesTasksResource: RoutinesTasksResource;
|
|
11559
11650
|
readonly routinesLogsResource: RoutinesLogsResource;
|
|
11651
|
+
readonly routinesProblemsIssuesOSResource: RoutinesProblemsIssuesOSResource;
|
|
11560
11652
|
readonly routinesCancellationAnalysisResource: RoutinesCancellationAnalysisResource;
|
|
11561
11653
|
constructor(config: APIConfigType);
|
|
11562
11654
|
}
|
|
@@ -11579,13 +11671,17 @@ type routinesApi_types_CancellationAnalysisTipo = CancellationAnalysisTipo;
|
|
|
11579
11671
|
type routinesApi_types_CancellationAnalysisWeeklyReportQuery = CancellationAnalysisWeeklyReportQuery;
|
|
11580
11672
|
type routinesApi_types_CancellationAnalysisWeeklyReportQueryMode = CancellationAnalysisWeeklyReportQueryMode;
|
|
11581
11673
|
type routinesApi_types_ListCancellationAnalysisQuery = ListCancellationAnalysisQuery;
|
|
11674
|
+
type routinesApi_types_RoutinesProblemsIssuesOSCreateInput = RoutinesProblemsIssuesOSCreateInput;
|
|
11675
|
+
type routinesApi_types_RoutinesProblemsIssuesOSInput = RoutinesProblemsIssuesOSInput;
|
|
11676
|
+
type routinesApi_types_RoutinesProblemsIssuesOSToggleActiveInput = RoutinesProblemsIssuesOSToggleActiveInput;
|
|
11677
|
+
type routinesApi_types_RoutinesProblemsIssuesOSUpdateInput = RoutinesProblemsIssuesOSUpdateInput;
|
|
11582
11678
|
type routinesApi_types_RoutinesTasksCreateInput = RoutinesTasksCreateInput;
|
|
11583
11679
|
type routinesApi_types_RoutinesTasksInput = RoutinesTasksInput;
|
|
11584
11680
|
type routinesApi_types_RoutinesTasksSyncJobsResponse = RoutinesTasksSyncJobsResponse;
|
|
11585
11681
|
type routinesApi_types_RoutinesTasksToggleActiveInput = RoutinesTasksToggleActiveInput;
|
|
11586
11682
|
type routinesApi_types_RoutinesTasksUpdateInput = RoutinesTasksUpdateInput;
|
|
11587
11683
|
declare namespace routinesApi_types {
|
|
11588
|
-
export type { routinesApi_types_CancellationAnalysisAttendantSnapshot as CancellationAnalysisAttendantSnapshot, routinesApi_types_CancellationAnalysisDailyReportQuery as CancellationAnalysisDailyReportQuery, routinesApi_types_CancellationAnalysisDashboardResponse as CancellationAnalysisDashboardResponse, routinesApi_types_CancellationAnalysisDashboardSummary as CancellationAnalysisDashboardSummary, routinesApi_types_CancellationAnalysisDetailResponse as CancellationAnalysisDetailResponse, routinesApi_types_CancellationAnalysisListItem as CancellationAnalysisListItem, routinesApi_types_CancellationAnalysisListResponse as CancellationAnalysisListResponse, routinesApi_types_CancellationAnalysisMonthlyReportQuery as CancellationAnalysisMonthlyReportQuery, routinesApi_types_CancellationAnalysisOrderBy as CancellationAnalysisOrderBy, routinesApi_types_CancellationAnalysisOrderDirection as CancellationAnalysisOrderDirection, routinesApi_types_CancellationAnalysisRegionSnapshot as CancellationAnalysisRegionSnapshot, routinesApi_types_CancellationAnalysisRequestLog as CancellationAnalysisRequestLog, routinesApi_types_CancellationAnalysisRequestLogStatus as CancellationAnalysisRequestLogStatus, routinesApi_types_CancellationAnalysisStatus as CancellationAnalysisStatus, routinesApi_types_CancellationAnalysisTipo as CancellationAnalysisTipo, routinesApi_types_CancellationAnalysisWeeklyReportQuery as CancellationAnalysisWeeklyReportQuery, routinesApi_types_CancellationAnalysisWeeklyReportQueryMode as CancellationAnalysisWeeklyReportQueryMode, routinesApi_types_ListCancellationAnalysisQuery as ListCancellationAnalysisQuery, routinesApi_types_RoutinesTasksCreateInput as RoutinesTasksCreateInput, routinesApi_types_RoutinesTasksInput as RoutinesTasksInput, routinesApi_types_RoutinesTasksSyncJobsResponse as RoutinesTasksSyncJobsResponse, routinesApi_types_RoutinesTasksToggleActiveInput as RoutinesTasksToggleActiveInput, routinesApi_types_RoutinesTasksUpdateInput as RoutinesTasksUpdateInput };
|
|
11684
|
+
export type { routinesApi_types_CancellationAnalysisAttendantSnapshot as CancellationAnalysisAttendantSnapshot, routinesApi_types_CancellationAnalysisDailyReportQuery as CancellationAnalysisDailyReportQuery, routinesApi_types_CancellationAnalysisDashboardResponse as CancellationAnalysisDashboardResponse, routinesApi_types_CancellationAnalysisDashboardSummary as CancellationAnalysisDashboardSummary, routinesApi_types_CancellationAnalysisDetailResponse as CancellationAnalysisDetailResponse, routinesApi_types_CancellationAnalysisListItem as CancellationAnalysisListItem, routinesApi_types_CancellationAnalysisListResponse as CancellationAnalysisListResponse, routinesApi_types_CancellationAnalysisMonthlyReportQuery as CancellationAnalysisMonthlyReportQuery, routinesApi_types_CancellationAnalysisOrderBy as CancellationAnalysisOrderBy, routinesApi_types_CancellationAnalysisOrderDirection as CancellationAnalysisOrderDirection, routinesApi_types_CancellationAnalysisRegionSnapshot as CancellationAnalysisRegionSnapshot, routinesApi_types_CancellationAnalysisRequestLog as CancellationAnalysisRequestLog, routinesApi_types_CancellationAnalysisRequestLogStatus as CancellationAnalysisRequestLogStatus, routinesApi_types_CancellationAnalysisStatus as CancellationAnalysisStatus, routinesApi_types_CancellationAnalysisTipo as CancellationAnalysisTipo, routinesApi_types_CancellationAnalysisWeeklyReportQuery as CancellationAnalysisWeeklyReportQuery, routinesApi_types_CancellationAnalysisWeeklyReportQueryMode as CancellationAnalysisWeeklyReportQueryMode, routinesApi_types_ListCancellationAnalysisQuery as ListCancellationAnalysisQuery, routinesApi_types_RoutinesProblemsIssuesOSCreateInput as RoutinesProblemsIssuesOSCreateInput, routinesApi_types_RoutinesProblemsIssuesOSInput as RoutinesProblemsIssuesOSInput, routinesApi_types_RoutinesProblemsIssuesOSToggleActiveInput as RoutinesProblemsIssuesOSToggleActiveInput, routinesApi_types_RoutinesProblemsIssuesOSUpdateInput as RoutinesProblemsIssuesOSUpdateInput, routinesApi_types_RoutinesTasksCreateInput as RoutinesTasksCreateInput, routinesApi_types_RoutinesTasksInput as RoutinesTasksInput, routinesApi_types_RoutinesTasksSyncJobsResponse as RoutinesTasksSyncJobsResponse, routinesApi_types_RoutinesTasksToggleActiveInput as RoutinesTasksToggleActiveInput, routinesApi_types_RoutinesTasksUpdateInput as RoutinesTasksUpdateInput };
|
|
11589
11685
|
}
|
|
11590
11686
|
|
|
11591
11687
|
type NtfyPriority = "max" | "high" | "default" | "low" | "min";
|
package/dist/index.d.ts
CHANGED
|
@@ -11411,6 +11411,97 @@ declare class RoutinesLogsResource {
|
|
|
11411
11411
|
findAll(): Promise<RoutinesLogsResponse[]>;
|
|
11412
11412
|
}
|
|
11413
11413
|
|
|
11414
|
+
declare const RoutinesProblemsIssuesOSSchema: Schema<any, mongoose.Model<any, any, any, any, any, any, any>, {}, {}, {}, {}, {
|
|
11415
|
+
timestamps: true;
|
|
11416
|
+
}, {
|
|
11417
|
+
id_assunto: number;
|
|
11418
|
+
name: string;
|
|
11419
|
+
description: string;
|
|
11420
|
+
is_active: boolean;
|
|
11421
|
+
} & mongoose.DefaultTimestampProps, mongoose.Document<unknown, {}, {
|
|
11422
|
+
id_assunto: number;
|
|
11423
|
+
name: string;
|
|
11424
|
+
description: string;
|
|
11425
|
+
is_active: boolean;
|
|
11426
|
+
} & mongoose.DefaultTimestampProps, {
|
|
11427
|
+
id: string;
|
|
11428
|
+
}, Omit<mongoose.DefaultSchemaOptions, "timestamps"> & {
|
|
11429
|
+
timestamps: true;
|
|
11430
|
+
}> & Omit<{
|
|
11431
|
+
id_assunto: number;
|
|
11432
|
+
name: string;
|
|
11433
|
+
description: string;
|
|
11434
|
+
is_active: boolean;
|
|
11435
|
+
} & mongoose.DefaultTimestampProps & {
|
|
11436
|
+
_id: mongoose.Types.ObjectId;
|
|
11437
|
+
} & {
|
|
11438
|
+
__v: number;
|
|
11439
|
+
}, "id"> & {
|
|
11440
|
+
id: string;
|
|
11441
|
+
}, unknown, {
|
|
11442
|
+
id_assunto: number;
|
|
11443
|
+
name: string;
|
|
11444
|
+
description: string;
|
|
11445
|
+
is_active: boolean;
|
|
11446
|
+
createdAt: NativeDate;
|
|
11447
|
+
updatedAt: NativeDate;
|
|
11448
|
+
} & {
|
|
11449
|
+
_id: mongoose.Types.ObjectId;
|
|
11450
|
+
} & {
|
|
11451
|
+
__v: number;
|
|
11452
|
+
}>;
|
|
11453
|
+
interface RoutinesProblemsIssuesOSSResponse extends HydratedDocument<InferSchemaType<typeof RoutinesProblemsIssuesOSSchema>> {
|
|
11454
|
+
}
|
|
11455
|
+
|
|
11456
|
+
interface RoutinesProblemsIssuesOSInput {
|
|
11457
|
+
triggered_by: Types.ObjectId;
|
|
11458
|
+
}
|
|
11459
|
+
interface RoutinesProblemsIssuesOSCreateInput extends RoutinesProblemsIssuesOSInput {
|
|
11460
|
+
name: string;
|
|
11461
|
+
description: string;
|
|
11462
|
+
id_assunto: number;
|
|
11463
|
+
}
|
|
11464
|
+
interface RoutinesProblemsIssuesOSUpdateInput extends RoutinesProblemsIssuesOSInput {
|
|
11465
|
+
name?: string;
|
|
11466
|
+
description?: string;
|
|
11467
|
+
id_assunto?: number;
|
|
11468
|
+
is_active?: boolean;
|
|
11469
|
+
}
|
|
11470
|
+
interface RoutinesProblemsIssuesOSToggleActiveInput extends RoutinesProblemsIssuesOSInput {
|
|
11471
|
+
is_active: boolean;
|
|
11472
|
+
}
|
|
11473
|
+
|
|
11474
|
+
declare class RoutinesProblemsIssuesOSResource {
|
|
11475
|
+
private readonly client;
|
|
11476
|
+
private readonly endpoint;
|
|
11477
|
+
constructor(client: APIClient);
|
|
11478
|
+
/**
|
|
11479
|
+
* POST /v1/problems-issues-os
|
|
11480
|
+
* Cria um novo assunto de OS de problemas.
|
|
11481
|
+
*/
|
|
11482
|
+
create(data: RoutinesProblemsIssuesOSCreateInput): Promise<RoutinesProblemsIssuesOSSResponse>;
|
|
11483
|
+
/**
|
|
11484
|
+
* GET /v1/problems-issues-os
|
|
11485
|
+
* Lista todos os assuntos de OS de problemas.
|
|
11486
|
+
*/
|
|
11487
|
+
findAll(): Promise<RoutinesProblemsIssuesOSSResponse[]>;
|
|
11488
|
+
/**
|
|
11489
|
+
* GET /v1/problems-issues-os/:_id
|
|
11490
|
+
* Busca um assunto de OS de problemas pelo ID.
|
|
11491
|
+
*/
|
|
11492
|
+
findById(_id: Types.ObjectId): Promise<RoutinesProblemsIssuesOSSResponse>;
|
|
11493
|
+
/**
|
|
11494
|
+
* PATCH /v1/problems-issues-os/:_id
|
|
11495
|
+
* Atualiza um assunto de OS de problemas existente.
|
|
11496
|
+
*/
|
|
11497
|
+
update(_id: Types.ObjectId, data: RoutinesProblemsIssuesOSUpdateInput): Promise<RoutinesProblemsIssuesOSSResponse>;
|
|
11498
|
+
/**
|
|
11499
|
+
* PATCH /v1/problems-issues-os/:_id/toggle-active
|
|
11500
|
+
* Ativa ou desativa um assunto de OS de problemas.
|
|
11501
|
+
*/
|
|
11502
|
+
toggleActive(_id: Types.ObjectId, data: RoutinesProblemsIssuesOSToggleActiveInput): Promise<RoutinesProblemsIssuesOSSResponse>;
|
|
11503
|
+
}
|
|
11504
|
+
|
|
11414
11505
|
interface RoutinesTasksInput {
|
|
11415
11506
|
triggered_by: Types.ObjectId;
|
|
11416
11507
|
}
|
|
@@ -11557,6 +11648,7 @@ declare class RoutinesTasksResource {
|
|
|
11557
11648
|
declare class RoutinesAPIClient extends APIClient {
|
|
11558
11649
|
readonly routinesTasksResource: RoutinesTasksResource;
|
|
11559
11650
|
readonly routinesLogsResource: RoutinesLogsResource;
|
|
11651
|
+
readonly routinesProblemsIssuesOSResource: RoutinesProblemsIssuesOSResource;
|
|
11560
11652
|
readonly routinesCancellationAnalysisResource: RoutinesCancellationAnalysisResource;
|
|
11561
11653
|
constructor(config: APIConfigType);
|
|
11562
11654
|
}
|
|
@@ -11579,13 +11671,17 @@ type routinesApi_types_CancellationAnalysisTipo = CancellationAnalysisTipo;
|
|
|
11579
11671
|
type routinesApi_types_CancellationAnalysisWeeklyReportQuery = CancellationAnalysisWeeklyReportQuery;
|
|
11580
11672
|
type routinesApi_types_CancellationAnalysisWeeklyReportQueryMode = CancellationAnalysisWeeklyReportQueryMode;
|
|
11581
11673
|
type routinesApi_types_ListCancellationAnalysisQuery = ListCancellationAnalysisQuery;
|
|
11674
|
+
type routinesApi_types_RoutinesProblemsIssuesOSCreateInput = RoutinesProblemsIssuesOSCreateInput;
|
|
11675
|
+
type routinesApi_types_RoutinesProblemsIssuesOSInput = RoutinesProblemsIssuesOSInput;
|
|
11676
|
+
type routinesApi_types_RoutinesProblemsIssuesOSToggleActiveInput = RoutinesProblemsIssuesOSToggleActiveInput;
|
|
11677
|
+
type routinesApi_types_RoutinesProblemsIssuesOSUpdateInput = RoutinesProblemsIssuesOSUpdateInput;
|
|
11582
11678
|
type routinesApi_types_RoutinesTasksCreateInput = RoutinesTasksCreateInput;
|
|
11583
11679
|
type routinesApi_types_RoutinesTasksInput = RoutinesTasksInput;
|
|
11584
11680
|
type routinesApi_types_RoutinesTasksSyncJobsResponse = RoutinesTasksSyncJobsResponse;
|
|
11585
11681
|
type routinesApi_types_RoutinesTasksToggleActiveInput = RoutinesTasksToggleActiveInput;
|
|
11586
11682
|
type routinesApi_types_RoutinesTasksUpdateInput = RoutinesTasksUpdateInput;
|
|
11587
11683
|
declare namespace routinesApi_types {
|
|
11588
|
-
export type { routinesApi_types_CancellationAnalysisAttendantSnapshot as CancellationAnalysisAttendantSnapshot, routinesApi_types_CancellationAnalysisDailyReportQuery as CancellationAnalysisDailyReportQuery, routinesApi_types_CancellationAnalysisDashboardResponse as CancellationAnalysisDashboardResponse, routinesApi_types_CancellationAnalysisDashboardSummary as CancellationAnalysisDashboardSummary, routinesApi_types_CancellationAnalysisDetailResponse as CancellationAnalysisDetailResponse, routinesApi_types_CancellationAnalysisListItem as CancellationAnalysisListItem, routinesApi_types_CancellationAnalysisListResponse as CancellationAnalysisListResponse, routinesApi_types_CancellationAnalysisMonthlyReportQuery as CancellationAnalysisMonthlyReportQuery, routinesApi_types_CancellationAnalysisOrderBy as CancellationAnalysisOrderBy, routinesApi_types_CancellationAnalysisOrderDirection as CancellationAnalysisOrderDirection, routinesApi_types_CancellationAnalysisRegionSnapshot as CancellationAnalysisRegionSnapshot, routinesApi_types_CancellationAnalysisRequestLog as CancellationAnalysisRequestLog, routinesApi_types_CancellationAnalysisRequestLogStatus as CancellationAnalysisRequestLogStatus, routinesApi_types_CancellationAnalysisStatus as CancellationAnalysisStatus, routinesApi_types_CancellationAnalysisTipo as CancellationAnalysisTipo, routinesApi_types_CancellationAnalysisWeeklyReportQuery as CancellationAnalysisWeeklyReportQuery, routinesApi_types_CancellationAnalysisWeeklyReportQueryMode as CancellationAnalysisWeeklyReportQueryMode, routinesApi_types_ListCancellationAnalysisQuery as ListCancellationAnalysisQuery, routinesApi_types_RoutinesTasksCreateInput as RoutinesTasksCreateInput, routinesApi_types_RoutinesTasksInput as RoutinesTasksInput, routinesApi_types_RoutinesTasksSyncJobsResponse as RoutinesTasksSyncJobsResponse, routinesApi_types_RoutinesTasksToggleActiveInput as RoutinesTasksToggleActiveInput, routinesApi_types_RoutinesTasksUpdateInput as RoutinesTasksUpdateInput };
|
|
11684
|
+
export type { routinesApi_types_CancellationAnalysisAttendantSnapshot as CancellationAnalysisAttendantSnapshot, routinesApi_types_CancellationAnalysisDailyReportQuery as CancellationAnalysisDailyReportQuery, routinesApi_types_CancellationAnalysisDashboardResponse as CancellationAnalysisDashboardResponse, routinesApi_types_CancellationAnalysisDashboardSummary as CancellationAnalysisDashboardSummary, routinesApi_types_CancellationAnalysisDetailResponse as CancellationAnalysisDetailResponse, routinesApi_types_CancellationAnalysisListItem as CancellationAnalysisListItem, routinesApi_types_CancellationAnalysisListResponse as CancellationAnalysisListResponse, routinesApi_types_CancellationAnalysisMonthlyReportQuery as CancellationAnalysisMonthlyReportQuery, routinesApi_types_CancellationAnalysisOrderBy as CancellationAnalysisOrderBy, routinesApi_types_CancellationAnalysisOrderDirection as CancellationAnalysisOrderDirection, routinesApi_types_CancellationAnalysisRegionSnapshot as CancellationAnalysisRegionSnapshot, routinesApi_types_CancellationAnalysisRequestLog as CancellationAnalysisRequestLog, routinesApi_types_CancellationAnalysisRequestLogStatus as CancellationAnalysisRequestLogStatus, routinesApi_types_CancellationAnalysisStatus as CancellationAnalysisStatus, routinesApi_types_CancellationAnalysisTipo as CancellationAnalysisTipo, routinesApi_types_CancellationAnalysisWeeklyReportQuery as CancellationAnalysisWeeklyReportQuery, routinesApi_types_CancellationAnalysisWeeklyReportQueryMode as CancellationAnalysisWeeklyReportQueryMode, routinesApi_types_ListCancellationAnalysisQuery as ListCancellationAnalysisQuery, routinesApi_types_RoutinesProblemsIssuesOSCreateInput as RoutinesProblemsIssuesOSCreateInput, routinesApi_types_RoutinesProblemsIssuesOSInput as RoutinesProblemsIssuesOSInput, routinesApi_types_RoutinesProblemsIssuesOSToggleActiveInput as RoutinesProblemsIssuesOSToggleActiveInput, routinesApi_types_RoutinesProblemsIssuesOSUpdateInput as RoutinesProblemsIssuesOSUpdateInput, routinesApi_types_RoutinesTasksCreateInput as RoutinesTasksCreateInput, routinesApi_types_RoutinesTasksInput as RoutinesTasksInput, routinesApi_types_RoutinesTasksSyncJobsResponse as RoutinesTasksSyncJobsResponse, routinesApi_types_RoutinesTasksToggleActiveInput as RoutinesTasksToggleActiveInput, routinesApi_types_RoutinesTasksUpdateInput as RoutinesTasksUpdateInput };
|
|
11589
11685
|
}
|
|
11590
11686
|
|
|
11591
11687
|
type NtfyPriority = "max" | "high" | "default" | "low" | "min";
|
package/dist/index.js
CHANGED
|
@@ -706,6 +706,60 @@ var RoutinesLogsResource = class {
|
|
|
706
706
|
}
|
|
707
707
|
};
|
|
708
708
|
|
|
709
|
+
// src/apis/clients/routines/resources/problems-issues-os/routines-problems-issues-os.resource.ts
|
|
710
|
+
var RoutinesProblemsIssuesOSResource = class {
|
|
711
|
+
constructor(client) {
|
|
712
|
+
this.client = client;
|
|
713
|
+
this.endpoint = "/v1/problems-issues-os";
|
|
714
|
+
}
|
|
715
|
+
/**
|
|
716
|
+
* POST /v1/problems-issues-os
|
|
717
|
+
* Cria um novo assunto de OS de problemas.
|
|
718
|
+
*/
|
|
719
|
+
async create(data) {
|
|
720
|
+
return this.client.post(
|
|
721
|
+
this.endpoint,
|
|
722
|
+
data
|
|
723
|
+
);
|
|
724
|
+
}
|
|
725
|
+
/**
|
|
726
|
+
* GET /v1/problems-issues-os
|
|
727
|
+
* Lista todos os assuntos de OS de problemas.
|
|
728
|
+
*/
|
|
729
|
+
async findAll() {
|
|
730
|
+
return this.client.get(this.endpoint);
|
|
731
|
+
}
|
|
732
|
+
/**
|
|
733
|
+
* GET /v1/problems-issues-os/:_id
|
|
734
|
+
* Busca um assunto de OS de problemas pelo ID.
|
|
735
|
+
*/
|
|
736
|
+
async findById(_id) {
|
|
737
|
+
return this.client.get(
|
|
738
|
+
`${this.endpoint}/${_id}`
|
|
739
|
+
);
|
|
740
|
+
}
|
|
741
|
+
/**
|
|
742
|
+
* PATCH /v1/problems-issues-os/:_id
|
|
743
|
+
* Atualiza um assunto de OS de problemas existente.
|
|
744
|
+
*/
|
|
745
|
+
async update(_id, data) {
|
|
746
|
+
return this.client.patch(
|
|
747
|
+
`${this.endpoint}/${_id}`,
|
|
748
|
+
data
|
|
749
|
+
);
|
|
750
|
+
}
|
|
751
|
+
/**
|
|
752
|
+
* PATCH /v1/problems-issues-os/:_id/toggle-active
|
|
753
|
+
* Ativa ou desativa um assunto de OS de problemas.
|
|
754
|
+
*/
|
|
755
|
+
async toggleActive(_id, data) {
|
|
756
|
+
return this.client.patch(
|
|
757
|
+
`${this.endpoint}/${_id}/toggle-active`,
|
|
758
|
+
data
|
|
759
|
+
);
|
|
760
|
+
}
|
|
761
|
+
};
|
|
762
|
+
|
|
709
763
|
// src/apis/clients/routines/resources/tasks/routines-tasks.resource.ts
|
|
710
764
|
var RoutinesTasksResource = class {
|
|
711
765
|
constructor(client) {
|
|
@@ -796,6 +850,7 @@ var RoutinesAPIClient = class extends APIClient {
|
|
|
796
850
|
});
|
|
797
851
|
this.routinesTasksResource = new RoutinesTasksResource(this);
|
|
798
852
|
this.routinesLogsResource = new RoutinesLogsResource(this);
|
|
853
|
+
this.routinesProblemsIssuesOSResource = new RoutinesProblemsIssuesOSResource(this);
|
|
799
854
|
this.routinesCancellationAnalysisResource = new RoutinesCancellationAnalysisResource(this);
|
|
800
855
|
}
|
|
801
856
|
};
|
package/dist/index.mjs
CHANGED
|
@@ -658,6 +658,60 @@ var RoutinesLogsResource = class {
|
|
|
658
658
|
}
|
|
659
659
|
};
|
|
660
660
|
|
|
661
|
+
// src/apis/clients/routines/resources/problems-issues-os/routines-problems-issues-os.resource.ts
|
|
662
|
+
var RoutinesProblemsIssuesOSResource = class {
|
|
663
|
+
constructor(client) {
|
|
664
|
+
this.client = client;
|
|
665
|
+
this.endpoint = "/v1/problems-issues-os";
|
|
666
|
+
}
|
|
667
|
+
/**
|
|
668
|
+
* POST /v1/problems-issues-os
|
|
669
|
+
* Cria um novo assunto de OS de problemas.
|
|
670
|
+
*/
|
|
671
|
+
async create(data) {
|
|
672
|
+
return this.client.post(
|
|
673
|
+
this.endpoint,
|
|
674
|
+
data
|
|
675
|
+
);
|
|
676
|
+
}
|
|
677
|
+
/**
|
|
678
|
+
* GET /v1/problems-issues-os
|
|
679
|
+
* Lista todos os assuntos de OS de problemas.
|
|
680
|
+
*/
|
|
681
|
+
async findAll() {
|
|
682
|
+
return this.client.get(this.endpoint);
|
|
683
|
+
}
|
|
684
|
+
/**
|
|
685
|
+
* GET /v1/problems-issues-os/:_id
|
|
686
|
+
* Busca um assunto de OS de problemas pelo ID.
|
|
687
|
+
*/
|
|
688
|
+
async findById(_id) {
|
|
689
|
+
return this.client.get(
|
|
690
|
+
`${this.endpoint}/${_id}`
|
|
691
|
+
);
|
|
692
|
+
}
|
|
693
|
+
/**
|
|
694
|
+
* PATCH /v1/problems-issues-os/:_id
|
|
695
|
+
* Atualiza um assunto de OS de problemas existente.
|
|
696
|
+
*/
|
|
697
|
+
async update(_id, data) {
|
|
698
|
+
return this.client.patch(
|
|
699
|
+
`${this.endpoint}/${_id}`,
|
|
700
|
+
data
|
|
701
|
+
);
|
|
702
|
+
}
|
|
703
|
+
/**
|
|
704
|
+
* PATCH /v1/problems-issues-os/:_id/toggle-active
|
|
705
|
+
* Ativa ou desativa um assunto de OS de problemas.
|
|
706
|
+
*/
|
|
707
|
+
async toggleActive(_id, data) {
|
|
708
|
+
return this.client.patch(
|
|
709
|
+
`${this.endpoint}/${_id}/toggle-active`,
|
|
710
|
+
data
|
|
711
|
+
);
|
|
712
|
+
}
|
|
713
|
+
};
|
|
714
|
+
|
|
661
715
|
// src/apis/clients/routines/resources/tasks/routines-tasks.resource.ts
|
|
662
716
|
var RoutinesTasksResource = class {
|
|
663
717
|
constructor(client) {
|
|
@@ -748,6 +802,7 @@ var RoutinesAPIClient = class extends APIClient {
|
|
|
748
802
|
});
|
|
749
803
|
this.routinesTasksResource = new RoutinesTasksResource(this);
|
|
750
804
|
this.routinesLogsResource = new RoutinesLogsResource(this);
|
|
805
|
+
this.routinesProblemsIssuesOSResource = new RoutinesProblemsIssuesOSResource(this);
|
|
751
806
|
this.routinesCancellationAnalysisResource = new RoutinesCancellationAnalysisResource(this);
|
|
752
807
|
}
|
|
753
808
|
};
|