store-scrapper-js-common 1.0.90 → 1.0.94
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/classes/index.d.ts +2 -1
- package/dist/classes/index.js +3 -1
- package/dist/classes/index.js.map +1 -1
- package/dist/dto/index.d.ts +2 -1
- package/dist/dto/index.js +3 -1
- package/dist/dto/index.js.map +1 -1
- package/dist/dto/telegram-queue-command.dto.d.ts +1 -4
- package/dist/dto/telegram-queue-command.dto.js.map +1 -1
- package/dist/enums/index.d.ts +3 -1
- package/dist/enums/index.js +3 -1
- package/dist/enums/index.js.map +1 -1
- package/dist/enums/telegram-message-type.d.ts +4 -0
- package/dist/enums/telegram-message-type.js +3 -0
- package/dist/enums/telegram-message-type.js.map +1 -0
- package/package.json +1 -1
- package/src/classes/index.ts +2 -1
- package/src/dto/index.ts +2 -1
- package/src/dto/telegram-queue-command.dto.ts +1 -5
- package/src/enums/index.ts +5 -1
- package/src/enums/telegram-message-type.ts +4 -0
package/dist/classes/index.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { Command, getCommandsStep, createCommand, getNextSQSUrl, SQSCommandNames, SQSPersistenceName, SQSCommandName } from './command';
|
|
2
|
+
import { HttpRequest } from './http-request';
|
|
2
3
|
import { ObjectLiteral } from './object-literal';
|
|
3
4
|
import { Response, getResultFromResponse, ResponseInterface } from './response';
|
|
4
|
-
export { Command, getCommandsStep, createCommand, getNextSQSUrl, SQSCommandNames, SQSPersistenceName, SQSCommandName, ObjectLiteral, Response, getResultFromResponse, ResponseInterface, };
|
|
5
|
+
export { Command, getCommandsStep, createCommand, getNextSQSUrl, SQSCommandNames, SQSPersistenceName, SQSCommandName, ObjectLiteral, Response, getResultFromResponse, ResponseInterface, HttpRequest, };
|
package/dist/classes/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.getResultFromResponse = exports.Response = exports.SQSCommandName = exports.SQSPersistenceName = exports.SQSCommandNames = exports.getNextSQSUrl = exports.createCommand = exports.getCommandsStep = exports.Command = void 0;
|
|
3
|
+
exports.HttpRequest = exports.getResultFromResponse = exports.Response = exports.SQSCommandName = exports.SQSPersistenceName = exports.SQSCommandNames = exports.getNextSQSUrl = exports.createCommand = exports.getCommandsStep = exports.Command = void 0;
|
|
4
4
|
const command_1 = require("./command");
|
|
5
5
|
Object.defineProperty(exports, "Command", { enumerable: true, get: function () { return command_1.Command; } });
|
|
6
6
|
Object.defineProperty(exports, "getCommandsStep", { enumerable: true, get: function () { return command_1.getCommandsStep; } });
|
|
@@ -9,6 +9,8 @@ Object.defineProperty(exports, "getNextSQSUrl", { enumerable: true, get: functio
|
|
|
9
9
|
Object.defineProperty(exports, "SQSCommandNames", { enumerable: true, get: function () { return command_1.SQSCommandNames; } });
|
|
10
10
|
Object.defineProperty(exports, "SQSPersistenceName", { enumerable: true, get: function () { return command_1.SQSPersistenceName; } });
|
|
11
11
|
Object.defineProperty(exports, "SQSCommandName", { enumerable: true, get: function () { return command_1.SQSCommandName; } });
|
|
12
|
+
const http_request_1 = require("./http-request");
|
|
13
|
+
Object.defineProperty(exports, "HttpRequest", { enumerable: true, get: function () { return http_request_1.HttpRequest; } });
|
|
12
14
|
const response_1 = require("./response");
|
|
13
15
|
Object.defineProperty(exports, "Response", { enumerable: true, get: function () { return response_1.Response; } });
|
|
14
16
|
Object.defineProperty(exports, "getResultFromResponse", { enumerable: true, get: function () { return response_1.getResultFromResponse; } });
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"/","sources":["classes/index.ts"],"names":[],"mappings":";;;AAAA,uCAEmB;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"/","sources":["classes/index.ts"],"names":[],"mappings":";;;AAAA,uCAEmB;AAMjB,wFAPA,iBAAO,OAOA;AAAE,gGAPA,yBAAe,OAOA;AAAE,8FAPA,uBAAa,OAOA;AAAE,8FAPA,uBAAa,OAOA;AAAE,gGAPA,yBAAe,OAOA;AAAE,mGAPA,4BAAkB,OAOA;AAAE,+FAPA,wBAAc,OAOA;AAL7G,iDAA6C;AAOS,4FAP7C,0BAAW,OAO6C;AALjE,yCAAgF;AAK9E,yFALO,mBAAQ,OAKP;AAAE,sGALO,gCAAqB,OAKP","sourcesContent":["import {\n Command, getCommandsStep, createCommand, getNextSQSUrl, SQSCommandNames, SQSPersistenceName, SQSCommandName,\n} from './command';\nimport { HttpRequest } from './http-request';\nimport { ObjectLiteral } from './object-literal';\nimport { Response, getResultFromResponse, ResponseInterface } from './response';\n\nexport {\n Command, getCommandsStep, createCommand, getNextSQSUrl, SQSCommandNames, SQSPersistenceName, SQSCommandName,\n ObjectLiteral,\n Response, getResultFromResponse, ResponseInterface, HttpRequest,\n};\n"]}
|
package/dist/dto/index.d.ts
CHANGED
package/dist/dto/index.js
CHANGED
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.ProcessProductCategoryDto = void 0;
|
|
3
|
+
exports.TelegramQueueCommandDto = exports.ProcessProductCategoryDto = void 0;
|
|
4
4
|
const process_product_category_dto_1 = require("./process-product-category.dto");
|
|
5
5
|
Object.defineProperty(exports, "ProcessProductCategoryDto", { enumerable: true, get: function () { return process_product_category_dto_1.ProcessProductCategoryDto; } });
|
|
6
|
+
const telegram_queue_command_dto_1 = require("./telegram-queue-command.dto");
|
|
7
|
+
Object.defineProperty(exports, "TelegramQueueCommandDto", { enumerable: true, get: function () { return telegram_queue_command_dto_1.TelegramQueueCommandDto; } });
|
|
6
8
|
//# sourceMappingURL=index.js.map
|
package/dist/dto/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"/","sources":["dto/index.ts"],"names":[],"mappings":";;;AAAA,iFAA2E;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"/","sources":["dto/index.ts"],"names":[],"mappings":";;;AAAA,iFAA2E;AAGlE,0GAHA,wDAAyB,OAGA;AAFlC,6EAAuE;AAEnC,wGAF3B,oDAAuB,OAE2B","sourcesContent":["import { ProcessProductCategoryDto } from './process-product-category.dto';\nimport { TelegramQueueCommandDto } from './telegram-queue-command.dto';\n\nexport { ProcessProductCategoryDto, TelegramQueueCommandDto };\n"]}
|
|
@@ -1,9 +1,6 @@
|
|
|
1
1
|
import { ObjectLiteral } from '../classes';
|
|
2
2
|
import { TelegramQueueCommandEnum } from '../enums/telegram-queue-command.enum';
|
|
3
|
-
|
|
4
|
-
MESSAGE = "message",
|
|
5
|
-
IMAGE = "image"
|
|
6
|
-
}
|
|
3
|
+
import { TelegramMessageType } from '../enums/telegram-message-type';
|
|
7
4
|
export declare class TelegramQueueCommandDto {
|
|
8
5
|
message: string;
|
|
9
6
|
telegramChatId: string | number;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"telegram-queue-command.dto.js","sourceRoot":"/","sources":["dto/telegram-queue-command.dto.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"telegram-queue-command.dto.js","sourceRoot":"/","sources":["dto/telegram-queue-command.dto.ts"],"names":[],"mappings":";;;AAIA,MAAa,uBAAuB;CAcnC;AAdD,0DAcC","sourcesContent":["import { ObjectLiteral } from '../classes';\nimport { TelegramQueueCommandEnum } from '../enums/telegram-queue-command.enum';\nimport { TelegramMessageType } from '../enums/telegram-message-type';\n\nexport class TelegramQueueCommandDto {\n message: string;\n\n telegramChatId: string | number;\n\n options?: { [key: string]: any };\n\n namedJob?: TelegramQueueCommandEnum;\n\n telegramClientId: string;\n\n type?: TelegramMessageType;\n\n imageOpts?: ObjectLiteral;\n}\n"]}
|
package/dist/enums/index.d.ts
CHANGED
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
import { RequestTypeEnum } from './request-type.enum';
|
|
2
2
|
import { TelegramClientEnum } from './telegram-client.enum';
|
|
3
|
+
import { TelegramMessageType } from './telegram-message-type';
|
|
4
|
+
import { TelegramQueueCommandEnum } from './telegram-queue-command.enum';
|
|
3
5
|
import { TelegramQueueEnum } from './telegram-queue.enum';
|
|
4
|
-
export { RequestTypeEnum, TelegramClientEnum, TelegramQueueEnum };
|
|
6
|
+
export { RequestTypeEnum, TelegramClientEnum, TelegramQueueEnum, TelegramQueueCommandEnum, TelegramMessageType, };
|
package/dist/enums/index.js
CHANGED
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.TelegramQueueEnum = exports.TelegramClientEnum = exports.RequestTypeEnum = void 0;
|
|
3
|
+
exports.TelegramQueueCommandEnum = exports.TelegramQueueEnum = exports.TelegramClientEnum = exports.RequestTypeEnum = void 0;
|
|
4
4
|
const request_type_enum_1 = require("./request-type.enum");
|
|
5
5
|
Object.defineProperty(exports, "RequestTypeEnum", { enumerable: true, get: function () { return request_type_enum_1.RequestTypeEnum; } });
|
|
6
6
|
const telegram_client_enum_1 = require("./telegram-client.enum");
|
|
7
7
|
Object.defineProperty(exports, "TelegramClientEnum", { enumerable: true, get: function () { return telegram_client_enum_1.TelegramClientEnum; } });
|
|
8
|
+
const telegram_queue_command_enum_1 = require("./telegram-queue-command.enum");
|
|
9
|
+
Object.defineProperty(exports, "TelegramQueueCommandEnum", { enumerable: true, get: function () { return telegram_queue_command_enum_1.TelegramQueueCommandEnum; } });
|
|
8
10
|
const telegram_queue_enum_1 = require("./telegram-queue.enum");
|
|
9
11
|
Object.defineProperty(exports, "TelegramQueueEnum", { enumerable: true, get: function () { return telegram_queue_enum_1.TelegramQueueEnum; } });
|
|
10
12
|
//# sourceMappingURL=index.js.map
|
package/dist/enums/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"/","sources":["enums/index.ts"],"names":[],"mappings":";;;AAAA,2DAAsD;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"/","sources":["enums/index.ts"],"names":[],"mappings":";;;AAAA,2DAAsD;AAOpD,gGAPO,mCAAe,OAOP;AANjB,iEAA4D;AAMzC,mGANV,yCAAkB,OAMU;AAJrC,+EAAyE;AAIf,yGAJjD,sDAAwB,OAIiD;AAHlF,+DAA0D;AAGnB,kGAH9B,uCAAiB,OAG8B","sourcesContent":["import { RequestTypeEnum } from './request-type.enum';\nimport { TelegramClientEnum } from './telegram-client.enum';\nimport { TelegramMessageType } from './telegram-message-type';\nimport { TelegramQueueCommandEnum } from './telegram-queue-command.enum';\nimport { TelegramQueueEnum } from './telegram-queue.enum';\n\nexport {\n RequestTypeEnum, TelegramClientEnum, TelegramQueueEnum, TelegramQueueCommandEnum, TelegramMessageType,\n};\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"telegram-message-type.js","sourceRoot":"/","sources":["enums/telegram-message-type.ts"],"names":[],"mappings":"","sourcesContent":["export const enum TelegramMessageType {\n MESSAGE = 'message',\n IMAGE = 'image',\n}\n"]}
|
package/package.json
CHANGED
package/src/classes/index.ts
CHANGED
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Command, getCommandsStep, createCommand, getNextSQSUrl, SQSCommandNames, SQSPersistenceName, SQSCommandName,
|
|
3
3
|
} from './command';
|
|
4
|
+
import { HttpRequest } from './http-request';
|
|
4
5
|
import { ObjectLiteral } from './object-literal';
|
|
5
6
|
import { Response, getResultFromResponse, ResponseInterface } from './response';
|
|
6
7
|
|
|
7
8
|
export {
|
|
8
9
|
Command, getCommandsStep, createCommand, getNextSQSUrl, SQSCommandNames, SQSPersistenceName, SQSCommandName,
|
|
9
10
|
ObjectLiteral,
|
|
10
|
-
Response, getResultFromResponse, ResponseInterface,
|
|
11
|
+
Response, getResultFromResponse, ResponseInterface, HttpRequest,
|
|
11
12
|
};
|
package/src/dto/index.ts
CHANGED
|
@@ -1,10 +1,6 @@
|
|
|
1
1
|
import { ObjectLiteral } from '../classes';
|
|
2
2
|
import { TelegramQueueCommandEnum } from '../enums/telegram-queue-command.enum';
|
|
3
|
-
|
|
4
|
-
export const enum TelegramMessageType {
|
|
5
|
-
MESSAGE = 'message',
|
|
6
|
-
IMAGE = 'image',
|
|
7
|
-
}
|
|
3
|
+
import { TelegramMessageType } from '../enums/telegram-message-type';
|
|
8
4
|
|
|
9
5
|
export class TelegramQueueCommandDto {
|
|
10
6
|
message: string;
|
package/src/enums/index.ts
CHANGED
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
import { RequestTypeEnum } from './request-type.enum';
|
|
2
2
|
import { TelegramClientEnum } from './telegram-client.enum';
|
|
3
|
+
import { TelegramMessageType } from './telegram-message-type';
|
|
4
|
+
import { TelegramQueueCommandEnum } from './telegram-queue-command.enum';
|
|
3
5
|
import { TelegramQueueEnum } from './telegram-queue.enum';
|
|
4
6
|
|
|
5
|
-
export {
|
|
7
|
+
export {
|
|
8
|
+
RequestTypeEnum, TelegramClientEnum, TelegramQueueEnum, TelegramQueueCommandEnum, TelegramMessageType,
|
|
9
|
+
};
|