sim-node-lib 0.0.32 → 0.0.33
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/Class/GooglePubSubPublish.js +1 -0
- package/dist/Class/GooglePubSubSubscription.js +1 -0
- package/dist/Enums/PubSubActionEnum.js +1 -0
- package/dist/Enums/PubSubTableEnum.d.ts +1 -0
- package/dist/Enums/PubSubTableEnum.js +2 -0
- package/dist/Handlers/PubSubHandlerAction.js +1 -0
- package/dist/Helpers/CryptHelper.js +1 -0
- package/dist/Helpers/HashHelper.js +1 -0
- package/dist/Helpers/NumberHelper.js +1 -0
- package/dist/Helpers/PromiseHelper.js +1 -0
- package/dist/Helpers/StringHelper.js +1 -0
- package/dist/Models/PubSubModel.js +1 -0
- package/dist/index.js +4 -3
- package/package.json +5 -1
|
@@ -9,6 +9,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
9
9
|
});
|
|
10
10
|
};
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
exports.GooglePubSubPublish = void 0;
|
|
12
13
|
const pubsub_1 = require("@google-cloud/pubsub");
|
|
13
14
|
const PubSubModel_1 = require("../Models/PubSubModel");
|
|
14
15
|
class GooglePubSubPublish {
|
|
@@ -9,6 +9,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
9
9
|
});
|
|
10
10
|
};
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
exports.GooglePubSubSubscription = void 0;
|
|
12
13
|
const pubsub_1 = require("@google-cloud/pubsub");
|
|
13
14
|
const PubSubModel_1 = require("../Models/PubSubModel");
|
|
14
15
|
class GooglePubSubSubscription {
|
|
@@ -4,6 +4,7 @@ export declare enum PubSubTableEnum {
|
|
|
4
4
|
clienteEndereco = "cliente_endereco",
|
|
5
5
|
clientePendente = "cliente_pendente",
|
|
6
6
|
configuracao = "configuracao",
|
|
7
|
+
concorrentes = "concorrentes",
|
|
7
8
|
empresa = "empresa",
|
|
8
9
|
empresaHorario = "empresa_horario",
|
|
9
10
|
empresaServico = "empresa_servico",
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.PubSubTableEnum = void 0;
|
|
3
4
|
var PubSubTableEnum;
|
|
4
5
|
(function (PubSubTableEnum) {
|
|
5
6
|
PubSubTableEnum["bandeira"] = "bandeira";
|
|
@@ -7,6 +8,7 @@ var PubSubTableEnum;
|
|
|
7
8
|
PubSubTableEnum["clienteEndereco"] = "cliente_endereco";
|
|
8
9
|
PubSubTableEnum["clientePendente"] = "cliente_pendente";
|
|
9
10
|
PubSubTableEnum["configuracao"] = "configuracao";
|
|
11
|
+
PubSubTableEnum["concorrentes"] = "concorrentes";
|
|
10
12
|
PubSubTableEnum["empresa"] = "empresa";
|
|
11
13
|
PubSubTableEnum["empresaHorario"] = "empresa_horario";
|
|
12
14
|
PubSubTableEnum["empresaServico"] = "empresa_servico";
|
|
@@ -9,6 +9,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
9
9
|
});
|
|
10
10
|
};
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
exports.PubSubHandlerAction = void 0;
|
|
12
13
|
class PubSubHandlerAction {
|
|
13
14
|
constructor(pubsubModel) {
|
|
14
15
|
this._pubsubValueModel = pubsubModel;
|
package/dist/index.js
CHANGED
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.GooglePubSubPublish = exports.GooglePubSubSubscription = exports.PubSubHandlerAction = void 0;
|
|
3
4
|
var PubSubHandlerAction_1 = require("./Handlers/PubSubHandlerAction");
|
|
4
|
-
exports
|
|
5
|
+
Object.defineProperty(exports, "PubSubHandlerAction", { enumerable: true, get: function () { return PubSubHandlerAction_1.PubSubHandlerAction; } });
|
|
5
6
|
var GooglePubSubSubscription_1 = require("./Class/GooglePubSubSubscription");
|
|
6
|
-
exports
|
|
7
|
+
Object.defineProperty(exports, "GooglePubSubSubscription", { enumerable: true, get: function () { return GooglePubSubSubscription_1.GooglePubSubSubscription; } });
|
|
7
8
|
var GooglePubSubPublish_1 = require("./Class/GooglePubSubPublish");
|
|
8
|
-
exports
|
|
9
|
+
Object.defineProperty(exports, "GooglePubSubPublish", { enumerable: true, get: function () { return GooglePubSubPublish_1.GooglePubSubPublish; } });
|
package/package.json
CHANGED
|
@@ -1,12 +1,16 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "sim-node-lib",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.33",
|
|
4
4
|
"description": "Library from SIMLabs",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
7
7
|
"files": [
|
|
8
8
|
"/dist"
|
|
9
9
|
],
|
|
10
|
+
"scripts": {
|
|
11
|
+
"tsc": "tsc",
|
|
12
|
+
"pub": "tsc && yarn publish"
|
|
13
|
+
},
|
|
10
14
|
"license": "ISC",
|
|
11
15
|
"dependencies": {
|
|
12
16
|
"@google-cloud/pubsub": "^3.0.1",
|