@nomalism-com/api 0.43.81 → 0.43.83
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.js +53 -21
- package/dist/main.d.ts +26 -21
- package/dist/modules/stock/googleCalendar.d.ts +1 -0
- package/package.json +5 -5
package/dist/index.js
CHANGED
|
@@ -8,64 +8,67 @@ var __export = (target, all) => {
|
|
|
8
8
|
var main_exports = {};
|
|
9
9
|
__export(main_exports, {
|
|
10
10
|
API: () => API,
|
|
11
|
-
|
|
12
|
-
|
|
11
|
+
AccountCode: () => accountCode_exports,
|
|
12
|
+
AdminPanel: () => adminPanel_exports,
|
|
13
13
|
BankData: () => bankData_exports,
|
|
14
14
|
Channel: () => channel_exports,
|
|
15
|
-
|
|
16
|
-
|
|
15
|
+
ChatRapidMessage: () => chatRapidMessage_exports,
|
|
16
|
+
ChatSubscriber: () => chatSubscriber_exports,
|
|
17
17
|
Client: () => clients_exports,
|
|
18
18
|
ClientType: () => clientType_exports,
|
|
19
19
|
Clt: () => clt_exports,
|
|
20
20
|
Commissioner: () => commissioner_exports,
|
|
21
21
|
Country: () => country_exports,
|
|
22
|
-
|
|
23
|
-
|
|
22
|
+
CurrentAccount: () => currentAccount_exports,
|
|
23
|
+
Dashboard: () => dashboard_exports,
|
|
24
24
|
DeliveryMethods: () => deliveryMethods_exports,
|
|
25
25
|
DocumentHeader: () => documentHeader_exports,
|
|
26
26
|
DocumentHeaderHistory: () => documentHeaderHistory_exports,
|
|
27
|
-
|
|
27
|
+
DocumentHeaderSubscriber: () => documentHeaderSubscriber_exports,
|
|
28
|
+
DocumentHeaderSurvey: () => documentHeaderSurvey_exports,
|
|
28
29
|
DocumentLine: () => documentLine_exports,
|
|
29
30
|
DocumentLineAssoc: () => documentLineAssoc_exports,
|
|
30
|
-
|
|
31
|
+
DocumentLineMt: () => documentLineMt_exports,
|
|
31
32
|
DocumentLineNote: () => documentLineNote_exports,
|
|
32
|
-
|
|
33
|
+
DocumentLineRm: () => documentLineRm_exports,
|
|
33
34
|
DocumentSet: () => documentSet_exports,
|
|
34
35
|
DocumentType: () => documentType_exports,
|
|
35
36
|
EmailLog: () => emailLog_exports,
|
|
36
37
|
EmailTemplate: () => emailTemplate_exports,
|
|
37
38
|
EmailTemplateAttachment: () => emailTemplateAttachment_exports,
|
|
38
39
|
EmailVerification: () => emailVerification_exports,
|
|
39
|
-
|
|
40
|
+
ErrorLog: () => errorLog_exports,
|
|
40
41
|
ExternalDocumentHeader: () => externalDocumentHeader_exports,
|
|
41
42
|
ExternalDocumentType: () => externalDocumentType_exports,
|
|
42
43
|
Favorites: () => favorites_exports,
|
|
43
44
|
File: () => file_exports,
|
|
44
|
-
|
|
45
|
+
Gmail: () => gmails_exports,
|
|
46
|
+
GoogleCalendar: () => googleCalendar_exports,
|
|
45
47
|
GoogleFilePermission: () => googleFilePermission_exports,
|
|
48
|
+
GoogleSheetPool: () => googleSheetPool_exports,
|
|
46
49
|
GoogleSheets: () => googleSheets_exports,
|
|
47
50
|
Inventario: () => inventario_exports,
|
|
48
|
-
|
|
51
|
+
LLM: () => llm_exports,
|
|
49
52
|
Language: () => language_exports,
|
|
50
53
|
Location: () => location_exports,
|
|
51
54
|
Logout: () => logout_exports,
|
|
52
55
|
MaterialEntrance: () => materialEntrance_exports,
|
|
53
56
|
MaturityDates: () => maturityDates_exports,
|
|
54
57
|
Multimedia: () => multimedia_exports,
|
|
55
|
-
|
|
56
|
-
|
|
58
|
+
NPF: () => NPF_exports,
|
|
59
|
+
NRCL: () => NRCL_exports,
|
|
57
60
|
Npc: () => npc_exports,
|
|
58
61
|
Observation: () => observation_exports,
|
|
59
62
|
ObservationType: () => observationType_exports,
|
|
60
63
|
Order: () => order_exports,
|
|
61
64
|
OrderManagement: () => orderManagement_exports,
|
|
62
65
|
Password: () => password_exports,
|
|
63
|
-
|
|
66
|
+
PatchNotes: () => patchNotes_exports,
|
|
64
67
|
Payment: () => payment_exports,
|
|
65
|
-
|
|
68
|
+
PaymentBatch: () => paymentBatch_exports,
|
|
66
69
|
PaymentMethods: () => paymentMethods_exports,
|
|
67
70
|
Persona: () => persona_exports,
|
|
68
|
-
|
|
71
|
+
Portal: () => portal_exports,
|
|
69
72
|
PreSale: () => preSale_exports,
|
|
70
73
|
PreSaleProduct: () => preSaleProduct_exports,
|
|
71
74
|
Printer: () => printer_exports,
|
|
@@ -96,17 +99,17 @@ __export(main_exports, {
|
|
|
96
99
|
Sessions: () => sessions_exports,
|
|
97
100
|
Settings: () => settings_exports,
|
|
98
101
|
Shippings: () => shippings_exports,
|
|
99
|
-
|
|
102
|
+
SideMenu: () => sideMenu_exports,
|
|
100
103
|
StartDocumentHeaderLastUpdate: () => startDocumentHeaderLastUpdate_exports,
|
|
101
104
|
StockMovement: () => stockMovement_exports,
|
|
102
105
|
StoreOperator: () => storeOperator_exports,
|
|
103
106
|
Swift: () => swift_exports,
|
|
104
|
-
|
|
107
|
+
Tag: () => tag_exports,
|
|
105
108
|
Task: () => task_exports,
|
|
106
109
|
TaskMessage: () => taskMessage_exports,
|
|
107
|
-
|
|
110
|
+
TaskRead: () => taskRead_exports,
|
|
108
111
|
Tenant: () => tenant_exports,
|
|
109
|
-
|
|
112
|
+
Theme: () => theme_exports,
|
|
110
113
|
Tickets: () => tickets_exports,
|
|
111
114
|
TicketsLanguage: () => language_exports2,
|
|
112
115
|
Transformado: () => transformado_exports,
|
|
@@ -3993,6 +3996,10 @@ var Repository117 = class {
|
|
|
3993
3996
|
};
|
|
3994
3997
|
|
|
3995
3998
|
// src/modules/supply/googleSheetPool.ts
|
|
3999
|
+
var googleSheetPool_exports = {};
|
|
4000
|
+
__export(googleSheetPool_exports, {
|
|
4001
|
+
default: () => Repository118
|
|
4002
|
+
});
|
|
3996
4003
|
var Repository118 = class {
|
|
3997
4004
|
constructor({ api, route }) {
|
|
3998
4005
|
this.api = api;
|
|
@@ -4095,6 +4102,10 @@ var Repository121 = class {
|
|
|
4095
4102
|
};
|
|
4096
4103
|
|
|
4097
4104
|
// src/modules/supply/documentHeaderSurvey.ts
|
|
4105
|
+
var documentHeaderSurvey_exports = {};
|
|
4106
|
+
__export(documentHeaderSurvey_exports, {
|
|
4107
|
+
default: () => Repository122
|
|
4108
|
+
});
|
|
4098
4109
|
var Repository122 = class {
|
|
4099
4110
|
constructor({ api, route }) {
|
|
4100
4111
|
this.api = api;
|
|
@@ -4138,6 +4149,26 @@ var Repository123 = class {
|
|
|
4138
4149
|
}
|
|
4139
4150
|
};
|
|
4140
4151
|
|
|
4152
|
+
// src/modules/stock/googleCalendar.ts
|
|
4153
|
+
var googleCalendar_exports = {};
|
|
4154
|
+
__export(googleCalendar_exports, {
|
|
4155
|
+
default: () => Repository124
|
|
4156
|
+
});
|
|
4157
|
+
var Repository124 = class {
|
|
4158
|
+
constructor({ api, route }) {
|
|
4159
|
+
this.api = api;
|
|
4160
|
+
this.route = route;
|
|
4161
|
+
}
|
|
4162
|
+
async find() {
|
|
4163
|
+
const response = await this.api.get(`${this.route}`);
|
|
4164
|
+
return response.data;
|
|
4165
|
+
}
|
|
4166
|
+
async listEventsInRange(params) {
|
|
4167
|
+
const response = await this.api.get(`${this.route}range`, { params });
|
|
4168
|
+
return response.data;
|
|
4169
|
+
}
|
|
4170
|
+
};
|
|
4171
|
+
|
|
4141
4172
|
// src/main.ts
|
|
4142
4173
|
var API = class {
|
|
4143
4174
|
constructor({ processEnvironment, services, gatewayUrl, apikey, tokenBearer }) {
|
|
@@ -4343,6 +4374,7 @@ var API = class {
|
|
|
4343
4374
|
this.DocumentHeaderSubscriber = new Repository123(
|
|
4344
4375
|
getModuleParams("stock", "document_header_subscriber")
|
|
4345
4376
|
);
|
|
4377
|
+
this.GoogleCalendar = new Repository124(getModuleParams("stock", "google_calendar"));
|
|
4346
4378
|
}
|
|
4347
4379
|
};
|
|
4348
4380
|
|
package/dist/main.d.ts
CHANGED
|
@@ -122,6 +122,7 @@ import LLMClass from './modules/llm/llm';
|
|
|
122
122
|
import PatchNotesClass from './modules/integration/patchNotes';
|
|
123
123
|
import DocumentHeaderSurveyClass from './modules/supply/documentHeaderSurvey';
|
|
124
124
|
import DocumentHeaderSubscriberClass from './modules/supply/documentHeaderSubscriber';
|
|
125
|
+
import GoogleCalendarClass from './modules/stock/googleCalendar';
|
|
125
126
|
export * as BankData from './modules/user/bankData';
|
|
126
127
|
export * as Client from './modules/user/clients';
|
|
127
128
|
export * as ClientType from './modules/user/clientType';
|
|
@@ -214,27 +215,30 @@ export * as ProductGoogleSheets from './modules/stock/productGoogleSheets';
|
|
|
214
215
|
export * as Task from './modules/stock/task';
|
|
215
216
|
export * as TaskMessage from './modules/stock/taskMessage';
|
|
216
217
|
export * as RecurrentTasks from './modules/stock/recurrentTasks';
|
|
217
|
-
export * as
|
|
218
|
-
export * as
|
|
219
|
-
export * as
|
|
220
|
-
export * as
|
|
221
|
-
export * as
|
|
222
|
-
export * as
|
|
223
|
-
export * as
|
|
224
|
-
export * as
|
|
225
|
-
export * as
|
|
226
|
-
export * as
|
|
227
|
-
export * as
|
|
228
|
-
export * as
|
|
229
|
-
export * as
|
|
230
|
-
export * as
|
|
231
|
-
export * as
|
|
232
|
-
export * as
|
|
233
|
-
export * as
|
|
234
|
-
export * as
|
|
235
|
-
export * as
|
|
236
|
-
export * as
|
|
237
|
-
export * as
|
|
218
|
+
export * as TaskRead from './modules/stock/taskRead';
|
|
219
|
+
export * as Theme from './modules/user/theme';
|
|
220
|
+
export * as Dashboard from './modules/stock/dashboard';
|
|
221
|
+
export * as ChatRapidMessage from './modules/stock/chatRapidMessage';
|
|
222
|
+
export * as SideMenu from './modules/ui/sideMenu';
|
|
223
|
+
export * as ErrorLog from './modules/view/errorLog';
|
|
224
|
+
export * as AdminPanel from './modules/view/adminPanel';
|
|
225
|
+
export * as DocumentLineRm from './modules/supply/documentLineRm';
|
|
226
|
+
export * as DocumentLineMt from './modules/supply/documentLineMt';
|
|
227
|
+
export * as ChatSubscriber from './modules/user/chatSubscriber';
|
|
228
|
+
export * as Tag from './modules/stock/tag';
|
|
229
|
+
export * as Gmail from './modules/stock/gmails';
|
|
230
|
+
export * as NPF from './modules/document/NPF';
|
|
231
|
+
export * as NRCL from './modules/document/NRCL';
|
|
232
|
+
export * as CurrentAccount from './modules/supply/currentAccount';
|
|
233
|
+
export * as PaymentBatch from './modules/supply/paymentBatch';
|
|
234
|
+
export * as Portal from './modules/ui/portal';
|
|
235
|
+
export * as GoogleSheetPool from './modules/supply/googleSheetPool';
|
|
236
|
+
export * as AccountCode from './modules/stock/accountCode';
|
|
237
|
+
export * as LLM from './modules/llm/llm';
|
|
238
|
+
export * as PatchNotes from './modules/integration/patchNotes';
|
|
239
|
+
export * as DocumentHeaderSurvey from './modules/supply/documentHeaderSurvey';
|
|
240
|
+
export * as DocumentHeaderSubscriber from './modules/supply/documentHeaderSubscriber';
|
|
241
|
+
export * as GoogleCalendar from './modules/stock/googleCalendar';
|
|
238
242
|
export type IEnvironment = 'production' | 'uat' | 'development' | 'localhost';
|
|
239
243
|
type IService = 'stock' | 'users' | 'integration' | 'documents' | 'view' | 'print' | 'tickets' | 'llm';
|
|
240
244
|
export interface IOptions {
|
|
@@ -375,6 +379,7 @@ export declare class API {
|
|
|
375
379
|
PatchNotes: PatchNotesClass;
|
|
376
380
|
DocumentHeaderSurvey: DocumentHeaderSurveyClass;
|
|
377
381
|
DocumentHeaderSubscriber: DocumentHeaderSubscriberClass;
|
|
382
|
+
GoogleCalendar: GoogleCalendarClass;
|
|
378
383
|
private defaultHeaders;
|
|
379
384
|
constructor({ processEnvironment, services, gatewayUrl, apikey, tokenBearer }: IOptions);
|
|
380
385
|
}
|
|
@@ -5,4 +5,5 @@ export default class Repository implements Nomalism.GoogleCalendar.IRepository {
|
|
|
5
5
|
private api;
|
|
6
6
|
constructor({ api, route }: IModuleConstructor);
|
|
7
7
|
find(): Promise<Nomalism.GoogleCalendar.Entity[]>;
|
|
8
|
+
listEventsInRange(params: Nomalism.GoogleCalendar.IListEventsInRangeRequest): Promise<Nomalism.GoogleCalendar.IListEventsInRangeResponse[]>;
|
|
8
9
|
}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nomalism-com/api",
|
|
3
3
|
"description": "A nomalism API package for performing HTTP requests on API endpoints",
|
|
4
|
-
"version": "0.43.
|
|
4
|
+
"version": "0.43.83",
|
|
5
5
|
"author": "Nomalism <it.nomalism@gmail.com> (https://https://nomalism.com/)",
|
|
6
6
|
"license": "UNLICENSED",
|
|
7
7
|
"type": "module",
|
|
@@ -23,14 +23,14 @@
|
|
|
23
23
|
"prepack": "npm run lint && npm run build"
|
|
24
24
|
},
|
|
25
25
|
"dependencies": {
|
|
26
|
-
"@nomalism-com/types": "^0.43.
|
|
26
|
+
"@nomalism-com/types": "^0.43.108",
|
|
27
27
|
"axios": "^1.15.2"
|
|
28
28
|
},
|
|
29
29
|
"devDependencies": {
|
|
30
|
-
"@swc/core": "^1.15.
|
|
30
|
+
"@swc/core": "^1.15.32",
|
|
31
31
|
"@types/node": "^24.12.2",
|
|
32
|
-
"@typescript-eslint/eslint-plugin": "^8.59.
|
|
33
|
-
"@typescript-eslint/parser": "^8.59.
|
|
32
|
+
"@typescript-eslint/eslint-plugin": "^8.59.1",
|
|
33
|
+
"@typescript-eslint/parser": "^8.59.1",
|
|
34
34
|
"eslint": "^9.39.4",
|
|
35
35
|
"eslint-config-prettier": "^10.1.8",
|
|
36
36
|
"eslint-import-resolver-typescript": "^4.4.4",
|