@nomalism-com/types 0.46.29 → 0.46.32
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.cjs
CHANGED
|
@@ -473,6 +473,7 @@ var IBrokerTopic = /* @__PURE__ */ ((IBrokerTopic2) => {
|
|
|
473
473
|
IBrokerTopic2["push_notification"] = "push_notification";
|
|
474
474
|
IBrokerTopic2["portal_subscriber_events"] = "portal_subscriber_events";
|
|
475
475
|
IBrokerTopic2["sidemenu_highlight_changed"] = "sidemenu_highlight_changed";
|
|
476
|
+
IBrokerTopic2["proposta_sheets_import_status"] = "proposta_sheets_import_status";
|
|
476
477
|
IBrokerTopic2["user_send_email_password"] = "user_send_email_password";
|
|
477
478
|
IBrokerTopic2["grant_access"] = "grant_access";
|
|
478
479
|
IBrokerTopic2["remove_access"] = "remove_access";
|
package/dist/index.js
CHANGED
|
@@ -473,6 +473,7 @@ var IBrokerTopic = /* @__PURE__ */ ((IBrokerTopic2) => {
|
|
|
473
473
|
IBrokerTopic2["push_notification"] = "push_notification";
|
|
474
474
|
IBrokerTopic2["portal_subscriber_events"] = "portal_subscriber_events";
|
|
475
475
|
IBrokerTopic2["sidemenu_highlight_changed"] = "sidemenu_highlight_changed";
|
|
476
|
+
IBrokerTopic2["proposta_sheets_import_status"] = "proposta_sheets_import_status";
|
|
476
477
|
IBrokerTopic2["user_send_email_password"] = "user_send_email_password";
|
|
477
478
|
IBrokerTopic2["grant_access"] = "grant_access";
|
|
478
479
|
IBrokerTopic2["remove_access"] = "remove_access";
|
|
@@ -10,14 +10,11 @@ export interface ICreateRequest {
|
|
|
10
10
|
name: string;
|
|
11
11
|
message: string;
|
|
12
12
|
variables?: SmsTemplateVariables;
|
|
13
|
-
created_by: string;
|
|
14
|
-
updated_by: string;
|
|
15
13
|
}
|
|
16
14
|
export interface IUpdateRequest {
|
|
17
15
|
name?: string;
|
|
18
16
|
message?: string;
|
|
19
17
|
variables?: SmsTemplateVariables;
|
|
20
|
-
updated_by: string;
|
|
21
18
|
}
|
|
22
19
|
export interface IRepository {
|
|
23
20
|
find(): Promise<IEntity[]>;
|
|
@@ -65,6 +65,14 @@ export interface ITicketsChanged extends IEvent {
|
|
|
65
65
|
remaining_today_tickets_to_call: IRemainingTodayTickets[];
|
|
66
66
|
}
|
|
67
67
|
export type TicketsSocketEvent = ITicketsChanged | IPing | IPong;
|
|
68
|
+
export interface IPropostaSheetsImportStatus extends IEvent {
|
|
69
|
+
type: 'proposta_sheets.import.status';
|
|
70
|
+
document_header_id: string;
|
|
71
|
+
google_sheet_id: string;
|
|
72
|
+
is_processing: boolean;
|
|
73
|
+
error: string | null;
|
|
74
|
+
}
|
|
75
|
+
export type PropostaSheetsSocketEvent = IPropostaSheetsImportStatus | IPing | IPong;
|
|
68
76
|
export interface IPushNotificationEvent extends IEvent {
|
|
69
77
|
type: 'push_notification';
|
|
70
78
|
counts: Record<string, number>;
|
|
@@ -146,6 +146,7 @@ export declare enum IBrokerTopic {
|
|
|
146
146
|
push_notification = "push_notification",
|
|
147
147
|
portal_subscriber_events = "portal_subscriber_events",
|
|
148
148
|
sidemenu_highlight_changed = "sidemenu_highlight_changed",
|
|
149
|
+
proposta_sheets_import_status = "proposta_sheets_import_status",
|
|
149
150
|
user_send_email_password = "user_send_email_password",
|
|
150
151
|
grant_access = "grant_access",
|
|
151
152
|
remove_access = "remove_access",
|
|
@@ -313,6 +314,12 @@ export type IBrokerTopicPayload = {
|
|
|
313
314
|
values: string[];
|
|
314
315
|
timestamp: string;
|
|
315
316
|
};
|
|
317
|
+
[IBrokerTopic.proposta_sheets_import_status]: {
|
|
318
|
+
document_header_id: string;
|
|
319
|
+
google_sheet_id: string;
|
|
320
|
+
is_processing: boolean;
|
|
321
|
+
error: string | null;
|
|
322
|
+
};
|
|
316
323
|
[IBrokerTopic.import_master_artigos]: {};
|
|
317
324
|
[IBrokerTopic.kafka_log]: {
|
|
318
325
|
id: string;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nomalism-com/types",
|
|
3
3
|
"description": "A nomalism package with all necessary types and validations for developing APIs",
|
|
4
|
-
"version": "0.46.
|
|
4
|
+
"version": "0.46.32",
|
|
5
5
|
"author": "Nomalism <it.nomalism@gmail.com> (https://nomalism.com/)",
|
|
6
6
|
"license": "UNLICENSED",
|
|
7
7
|
"type": "module",
|