@cristian-israel/giganet_lib_conecta 1.0.97 → 1.0.99
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 +62 -1
- package/dist/index.d.ts +62 -1
- package/dist/index.js +55 -0
- package/dist/index.mjs +53 -0
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -11742,6 +11742,67 @@ declare class NtfyAPIClient extends APIClient {
|
|
|
11742
11742
|
});
|
|
11743
11743
|
}
|
|
11744
11744
|
|
|
11745
|
+
interface NetpulseClientsSearchParams {
|
|
11746
|
+
/** Filtro de busca por nome ou ID do cliente. */
|
|
11747
|
+
q?: string;
|
|
11748
|
+
}
|
|
11749
|
+
interface NetpulseClient {
|
|
11750
|
+
_id: number;
|
|
11751
|
+
name: string;
|
|
11752
|
+
email: string;
|
|
11753
|
+
isActive: boolean;
|
|
11754
|
+
}
|
|
11755
|
+
|
|
11756
|
+
declare class NetpulseClientsResource {
|
|
11757
|
+
private readonly client;
|
|
11758
|
+
private readonly endpoint;
|
|
11759
|
+
constructor(client: APIClient);
|
|
11760
|
+
/**
|
|
11761
|
+
* GET /api/public/clients
|
|
11762
|
+
* Busca e lista clientes cadastrados no sistema.
|
|
11763
|
+
*/
|
|
11764
|
+
findAll(params?: NetpulseClientsSearchParams): Promise<NetpulseClient[]>;
|
|
11765
|
+
}
|
|
11766
|
+
|
|
11767
|
+
interface NetpulseTicketsSearchParams {
|
|
11768
|
+
/** Filtro de busca textual nos tickets. */
|
|
11769
|
+
q?: string;
|
|
11770
|
+
}
|
|
11771
|
+
interface NetpulseTicket {
|
|
11772
|
+
_id: string;
|
|
11773
|
+
title: string;
|
|
11774
|
+
description: string;
|
|
11775
|
+
status: string;
|
|
11776
|
+
priority: string;
|
|
11777
|
+
clients: number[];
|
|
11778
|
+
createdAt: string;
|
|
11779
|
+
}
|
|
11780
|
+
|
|
11781
|
+
declare class NetpulseTicketsResource {
|
|
11782
|
+
private readonly client;
|
|
11783
|
+
private readonly endpoint;
|
|
11784
|
+
constructor(client: APIClient);
|
|
11785
|
+
/**
|
|
11786
|
+
* GET /api/public/tickets
|
|
11787
|
+
* Lista os tickets abertos e não finalizados no sistema.
|
|
11788
|
+
*/
|
|
11789
|
+
findAll(params?: NetpulseTicketsSearchParams): Promise<NetpulseTicket[]>;
|
|
11790
|
+
}
|
|
11791
|
+
|
|
11792
|
+
declare class NetpulseAPIClient extends APIClient {
|
|
11793
|
+
readonly clients: NetpulseClientsResource;
|
|
11794
|
+
readonly tickets: NetpulseTicketsResource;
|
|
11795
|
+
constructor(config: APIConfigType);
|
|
11796
|
+
}
|
|
11797
|
+
|
|
11798
|
+
type netpulseApi_types_NetpulseClient = NetpulseClient;
|
|
11799
|
+
type netpulseApi_types_NetpulseClientsSearchParams = NetpulseClientsSearchParams;
|
|
11800
|
+
type netpulseApi_types_NetpulseTicket = NetpulseTicket;
|
|
11801
|
+
type netpulseApi_types_NetpulseTicketsSearchParams = NetpulseTicketsSearchParams;
|
|
11802
|
+
declare namespace netpulseApi_types {
|
|
11803
|
+
export type { netpulseApi_types_NetpulseClient as NetpulseClient, netpulseApi_types_NetpulseClientsSearchParams as NetpulseClientsSearchParams, netpulseApi_types_NetpulseTicket as NetpulseTicket, netpulseApi_types_NetpulseTicketsSearchParams as NetpulseTicketsSearchParams };
|
|
11804
|
+
}
|
|
11805
|
+
|
|
11745
11806
|
type GenerateContentRequest = GenerateContentRequest$1;
|
|
11746
11807
|
type GenerationConfig = GenerationConfig$1;
|
|
11747
11808
|
type SafetySetting = SafetySetting$1;
|
|
@@ -38560,4 +38621,4 @@ declare class RoutinesRedisService {
|
|
|
38560
38621
|
getStore<K extends keyof RoutinesRedisStores>(key: K): RoutinesRedisStores[K];
|
|
38561
38622
|
}
|
|
38562
38623
|
|
|
38563
|
-
export { type ExpensesFleetMongoCollectionsModels, type ExpensesFleetMongoDocuments, ExpensesFleetMongoService, GeminiLIBClient, geminiLib_types as GeminiLIBTypes, type GigacenterMongoCollectionsModels, type GigacenterMongoDocuments, GigacenterMongoService, IXCSoftAPIClient, ixcSoftApi_types as IXCSoftAPITypes, type IXCSoftMysqlModels, type IXCSoftMysqlModelsAttributes, IXCSoftMysqlService, type MCPGiganetMongoCollectionsModels, type MCPGiganetMongoDocuments, MCPGiganetMongoService, NtfyAPIClient, ntfyApi_types as NtfyAPITypes, type OPASuiteMongoCollectionsModels, type OPASuiteMongoDocuments, OPASuiteMongoService, RoutinesAPIClient, routinesApi_types as RoutinesAPITypes, type RoutinesMongoCollectionsModels, type RoutinesMongoDocuments, RoutinesMongoService, type RoutinesMysqlModels, type RoutinesMysqlModelsAttributes, RoutinesMysqlService, RoutinesRedisService, type RoutinesRedisStores, type ToolsMongoCollectionsModels, type ToolsMongoDocuments, ToolsMongoService, loger, printSignature };
|
|
38624
|
+
export { type ExpensesFleetMongoCollectionsModels, type ExpensesFleetMongoDocuments, ExpensesFleetMongoService, GeminiLIBClient, geminiLib_types as GeminiLIBTypes, type GigacenterMongoCollectionsModels, type GigacenterMongoDocuments, GigacenterMongoService, IXCSoftAPIClient, ixcSoftApi_types as IXCSoftAPITypes, type IXCSoftMysqlModels, type IXCSoftMysqlModelsAttributes, IXCSoftMysqlService, type MCPGiganetMongoCollectionsModels, type MCPGiganetMongoDocuments, MCPGiganetMongoService, NetpulseAPIClient, netpulseApi_types as NetpulseAPITypes, NtfyAPIClient, ntfyApi_types as NtfyAPITypes, type OPASuiteMongoCollectionsModels, type OPASuiteMongoDocuments, OPASuiteMongoService, RoutinesAPIClient, routinesApi_types as RoutinesAPITypes, type RoutinesMongoCollectionsModels, type RoutinesMongoDocuments, RoutinesMongoService, type RoutinesMysqlModels, type RoutinesMysqlModelsAttributes, RoutinesMysqlService, RoutinesRedisService, type RoutinesRedisStores, type ToolsMongoCollectionsModels, type ToolsMongoDocuments, ToolsMongoService, loger, printSignature };
|
package/dist/index.d.ts
CHANGED
|
@@ -11742,6 +11742,67 @@ declare class NtfyAPIClient extends APIClient {
|
|
|
11742
11742
|
});
|
|
11743
11743
|
}
|
|
11744
11744
|
|
|
11745
|
+
interface NetpulseClientsSearchParams {
|
|
11746
|
+
/** Filtro de busca por nome ou ID do cliente. */
|
|
11747
|
+
q?: string;
|
|
11748
|
+
}
|
|
11749
|
+
interface NetpulseClient {
|
|
11750
|
+
_id: number;
|
|
11751
|
+
name: string;
|
|
11752
|
+
email: string;
|
|
11753
|
+
isActive: boolean;
|
|
11754
|
+
}
|
|
11755
|
+
|
|
11756
|
+
declare class NetpulseClientsResource {
|
|
11757
|
+
private readonly client;
|
|
11758
|
+
private readonly endpoint;
|
|
11759
|
+
constructor(client: APIClient);
|
|
11760
|
+
/**
|
|
11761
|
+
* GET /api/public/clients
|
|
11762
|
+
* Busca e lista clientes cadastrados no sistema.
|
|
11763
|
+
*/
|
|
11764
|
+
findAll(params?: NetpulseClientsSearchParams): Promise<NetpulseClient[]>;
|
|
11765
|
+
}
|
|
11766
|
+
|
|
11767
|
+
interface NetpulseTicketsSearchParams {
|
|
11768
|
+
/** Filtro de busca textual nos tickets. */
|
|
11769
|
+
q?: string;
|
|
11770
|
+
}
|
|
11771
|
+
interface NetpulseTicket {
|
|
11772
|
+
_id: string;
|
|
11773
|
+
title: string;
|
|
11774
|
+
description: string;
|
|
11775
|
+
status: string;
|
|
11776
|
+
priority: string;
|
|
11777
|
+
clients: number[];
|
|
11778
|
+
createdAt: string;
|
|
11779
|
+
}
|
|
11780
|
+
|
|
11781
|
+
declare class NetpulseTicketsResource {
|
|
11782
|
+
private readonly client;
|
|
11783
|
+
private readonly endpoint;
|
|
11784
|
+
constructor(client: APIClient);
|
|
11785
|
+
/**
|
|
11786
|
+
* GET /api/public/tickets
|
|
11787
|
+
* Lista os tickets abertos e não finalizados no sistema.
|
|
11788
|
+
*/
|
|
11789
|
+
findAll(params?: NetpulseTicketsSearchParams): Promise<NetpulseTicket[]>;
|
|
11790
|
+
}
|
|
11791
|
+
|
|
11792
|
+
declare class NetpulseAPIClient extends APIClient {
|
|
11793
|
+
readonly clients: NetpulseClientsResource;
|
|
11794
|
+
readonly tickets: NetpulseTicketsResource;
|
|
11795
|
+
constructor(config: APIConfigType);
|
|
11796
|
+
}
|
|
11797
|
+
|
|
11798
|
+
type netpulseApi_types_NetpulseClient = NetpulseClient;
|
|
11799
|
+
type netpulseApi_types_NetpulseClientsSearchParams = NetpulseClientsSearchParams;
|
|
11800
|
+
type netpulseApi_types_NetpulseTicket = NetpulseTicket;
|
|
11801
|
+
type netpulseApi_types_NetpulseTicketsSearchParams = NetpulseTicketsSearchParams;
|
|
11802
|
+
declare namespace netpulseApi_types {
|
|
11803
|
+
export type { netpulseApi_types_NetpulseClient as NetpulseClient, netpulseApi_types_NetpulseClientsSearchParams as NetpulseClientsSearchParams, netpulseApi_types_NetpulseTicket as NetpulseTicket, netpulseApi_types_NetpulseTicketsSearchParams as NetpulseTicketsSearchParams };
|
|
11804
|
+
}
|
|
11805
|
+
|
|
11745
11806
|
type GenerateContentRequest = GenerateContentRequest$1;
|
|
11746
11807
|
type GenerationConfig = GenerationConfig$1;
|
|
11747
11808
|
type SafetySetting = SafetySetting$1;
|
|
@@ -38560,4 +38621,4 @@ declare class RoutinesRedisService {
|
|
|
38560
38621
|
getStore<K extends keyof RoutinesRedisStores>(key: K): RoutinesRedisStores[K];
|
|
38561
38622
|
}
|
|
38562
38623
|
|
|
38563
|
-
export { type ExpensesFleetMongoCollectionsModels, type ExpensesFleetMongoDocuments, ExpensesFleetMongoService, GeminiLIBClient, geminiLib_types as GeminiLIBTypes, type GigacenterMongoCollectionsModels, type GigacenterMongoDocuments, GigacenterMongoService, IXCSoftAPIClient, ixcSoftApi_types as IXCSoftAPITypes, type IXCSoftMysqlModels, type IXCSoftMysqlModelsAttributes, IXCSoftMysqlService, type MCPGiganetMongoCollectionsModels, type MCPGiganetMongoDocuments, MCPGiganetMongoService, NtfyAPIClient, ntfyApi_types as NtfyAPITypes, type OPASuiteMongoCollectionsModels, type OPASuiteMongoDocuments, OPASuiteMongoService, RoutinesAPIClient, routinesApi_types as RoutinesAPITypes, type RoutinesMongoCollectionsModels, type RoutinesMongoDocuments, RoutinesMongoService, type RoutinesMysqlModels, type RoutinesMysqlModelsAttributes, RoutinesMysqlService, RoutinesRedisService, type RoutinesRedisStores, type ToolsMongoCollectionsModels, type ToolsMongoDocuments, ToolsMongoService, loger, printSignature };
|
|
38624
|
+
export { type ExpensesFleetMongoCollectionsModels, type ExpensesFleetMongoDocuments, ExpensesFleetMongoService, GeminiLIBClient, geminiLib_types as GeminiLIBTypes, type GigacenterMongoCollectionsModels, type GigacenterMongoDocuments, GigacenterMongoService, IXCSoftAPIClient, ixcSoftApi_types as IXCSoftAPITypes, type IXCSoftMysqlModels, type IXCSoftMysqlModelsAttributes, IXCSoftMysqlService, type MCPGiganetMongoCollectionsModels, type MCPGiganetMongoDocuments, MCPGiganetMongoService, NetpulseAPIClient, netpulseApi_types as NetpulseAPITypes, NtfyAPIClient, ntfyApi_types as NtfyAPITypes, type OPASuiteMongoCollectionsModels, type OPASuiteMongoDocuments, OPASuiteMongoService, RoutinesAPIClient, routinesApi_types as RoutinesAPITypes, type RoutinesMongoCollectionsModels, type RoutinesMongoDocuments, RoutinesMongoService, type RoutinesMysqlModels, type RoutinesMysqlModelsAttributes, RoutinesMysqlService, RoutinesRedisService, type RoutinesRedisStores, type ToolsMongoCollectionsModels, type ToolsMongoDocuments, ToolsMongoService, loger, printSignature };
|
package/dist/index.js
CHANGED
|
@@ -38,6 +38,8 @@ __export(index_exports, {
|
|
|
38
38
|
IXCSoftAPITypes: () => ixc_soft_api_types_exports,
|
|
39
39
|
IXCSoftMysqlService: () => IXCSoftMysqlService,
|
|
40
40
|
MCPGiganetMongoService: () => MCPGiganetMongoService,
|
|
41
|
+
NetpulseAPIClient: () => NetpulseAPIClient,
|
|
42
|
+
NetpulseAPITypes: () => netpulse_api_types_exports,
|
|
41
43
|
NtfyAPIClient: () => NtfyAPIClient,
|
|
42
44
|
NtfyAPITypes: () => ntfy_api_types_exports,
|
|
43
45
|
OPASuiteMongoService: () => OPASuiteMongoService,
|
|
@@ -945,6 +947,57 @@ var NtfyAPIClient = class extends APIClient {
|
|
|
945
947
|
// src/apis/clients/ntfy/ntfy-api.types.ts
|
|
946
948
|
var ntfy_api_types_exports = {};
|
|
947
949
|
|
|
950
|
+
// src/apis/clients/netpulse/resources/clients/netpulse-clients.resource.ts
|
|
951
|
+
var NetpulseClientsResource = class {
|
|
952
|
+
constructor(client) {
|
|
953
|
+
this.client = client;
|
|
954
|
+
this.endpoint = "/api/public/clients";
|
|
955
|
+
}
|
|
956
|
+
/**
|
|
957
|
+
* GET /api/public/clients
|
|
958
|
+
* Busca e lista clientes cadastrados no sistema.
|
|
959
|
+
*/
|
|
960
|
+
async findAll(params) {
|
|
961
|
+
return this.client.get(this.endpoint, { params });
|
|
962
|
+
}
|
|
963
|
+
};
|
|
964
|
+
|
|
965
|
+
// src/apis/clients/netpulse/resources/tickets/netpulse-tickets.resource.ts
|
|
966
|
+
var NetpulseTicketsResource = class {
|
|
967
|
+
constructor(client) {
|
|
968
|
+
this.client = client;
|
|
969
|
+
this.endpoint = "/api/public/tickets";
|
|
970
|
+
}
|
|
971
|
+
/**
|
|
972
|
+
* GET /api/public/tickets
|
|
973
|
+
* Lista os tickets abertos e não finalizados no sistema.
|
|
974
|
+
*/
|
|
975
|
+
async findAll(params) {
|
|
976
|
+
return this.client.get(this.endpoint, { params });
|
|
977
|
+
}
|
|
978
|
+
};
|
|
979
|
+
|
|
980
|
+
// src/apis/clients/netpulse/netpulse-api.client.ts
|
|
981
|
+
var NetpulseAPIClient = class extends APIClient {
|
|
982
|
+
constructor(config) {
|
|
983
|
+
if (!config.baseURL || !config.token) {
|
|
984
|
+
throw new Error("Base URL and Token are required");
|
|
985
|
+
}
|
|
986
|
+
super({
|
|
987
|
+
baseURL: config.baseURL,
|
|
988
|
+
auth: {
|
|
989
|
+
type: "bearer",
|
|
990
|
+
token: config.token
|
|
991
|
+
}
|
|
992
|
+
});
|
|
993
|
+
this.clients = new NetpulseClientsResource(this);
|
|
994
|
+
this.tickets = new NetpulseTicketsResource(this);
|
|
995
|
+
}
|
|
996
|
+
};
|
|
997
|
+
|
|
998
|
+
// src/apis/clients/netpulse/netpulse-api.types.ts
|
|
999
|
+
var netpulse_api_types_exports = {};
|
|
1000
|
+
|
|
948
1001
|
// src/libs/gemini/gemini-lib.client.ts
|
|
949
1002
|
var import_generative_ai = require("@google/generative-ai");
|
|
950
1003
|
|
|
@@ -93180,6 +93233,8 @@ var RoutinesRedisService = class _RoutinesRedisService {
|
|
|
93180
93233
|
IXCSoftAPITypes,
|
|
93181
93234
|
IXCSoftMysqlService,
|
|
93182
93235
|
MCPGiganetMongoService,
|
|
93236
|
+
NetpulseAPIClient,
|
|
93237
|
+
NetpulseAPITypes,
|
|
93183
93238
|
NtfyAPIClient,
|
|
93184
93239
|
NtfyAPITypes,
|
|
93185
93240
|
OPASuiteMongoService,
|
package/dist/index.mjs
CHANGED
|
@@ -897,6 +897,57 @@ var NtfyAPIClient = class extends APIClient {
|
|
|
897
897
|
// src/apis/clients/ntfy/ntfy-api.types.ts
|
|
898
898
|
var ntfy_api_types_exports = {};
|
|
899
899
|
|
|
900
|
+
// src/apis/clients/netpulse/resources/clients/netpulse-clients.resource.ts
|
|
901
|
+
var NetpulseClientsResource = class {
|
|
902
|
+
constructor(client) {
|
|
903
|
+
this.client = client;
|
|
904
|
+
this.endpoint = "/api/public/clients";
|
|
905
|
+
}
|
|
906
|
+
/**
|
|
907
|
+
* GET /api/public/clients
|
|
908
|
+
* Busca e lista clientes cadastrados no sistema.
|
|
909
|
+
*/
|
|
910
|
+
async findAll(params) {
|
|
911
|
+
return this.client.get(this.endpoint, { params });
|
|
912
|
+
}
|
|
913
|
+
};
|
|
914
|
+
|
|
915
|
+
// src/apis/clients/netpulse/resources/tickets/netpulse-tickets.resource.ts
|
|
916
|
+
var NetpulseTicketsResource = class {
|
|
917
|
+
constructor(client) {
|
|
918
|
+
this.client = client;
|
|
919
|
+
this.endpoint = "/api/public/tickets";
|
|
920
|
+
}
|
|
921
|
+
/**
|
|
922
|
+
* GET /api/public/tickets
|
|
923
|
+
* Lista os tickets abertos e não finalizados no sistema.
|
|
924
|
+
*/
|
|
925
|
+
async findAll(params) {
|
|
926
|
+
return this.client.get(this.endpoint, { params });
|
|
927
|
+
}
|
|
928
|
+
};
|
|
929
|
+
|
|
930
|
+
// src/apis/clients/netpulse/netpulse-api.client.ts
|
|
931
|
+
var NetpulseAPIClient = class extends APIClient {
|
|
932
|
+
constructor(config) {
|
|
933
|
+
if (!config.baseURL || !config.token) {
|
|
934
|
+
throw new Error("Base URL and Token are required");
|
|
935
|
+
}
|
|
936
|
+
super({
|
|
937
|
+
baseURL: config.baseURL,
|
|
938
|
+
auth: {
|
|
939
|
+
type: "bearer",
|
|
940
|
+
token: config.token
|
|
941
|
+
}
|
|
942
|
+
});
|
|
943
|
+
this.clients = new NetpulseClientsResource(this);
|
|
944
|
+
this.tickets = new NetpulseTicketsResource(this);
|
|
945
|
+
}
|
|
946
|
+
};
|
|
947
|
+
|
|
948
|
+
// src/apis/clients/netpulse/netpulse-api.types.ts
|
|
949
|
+
var netpulse_api_types_exports = {};
|
|
950
|
+
|
|
900
951
|
// src/libs/gemini/gemini-lib.client.ts
|
|
901
952
|
import { GoogleGenerativeAI } from "@google/generative-ai";
|
|
902
953
|
|
|
@@ -93131,6 +93182,8 @@ export {
|
|
|
93131
93182
|
ixc_soft_api_types_exports as IXCSoftAPITypes,
|
|
93132
93183
|
IXCSoftMysqlService,
|
|
93133
93184
|
MCPGiganetMongoService,
|
|
93185
|
+
NetpulseAPIClient,
|
|
93186
|
+
netpulse_api_types_exports as NetpulseAPITypes,
|
|
93134
93187
|
NtfyAPIClient,
|
|
93135
93188
|
ntfy_api_types_exports as NtfyAPITypes,
|
|
93136
93189
|
OPASuiteMongoService,
|