sms77-client
Advanced tools
Comparing version 1.9.1 to 1.9.2
"use strict"; | ||
exports.__esModule = true; | ||
exports.CONTACTS_ACTIONS = void 0; | ||
var CONTACTS_ACTIONS; | ||
@@ -4,0 +5,0 @@ (function (CONTACTS_ACTIONS) { |
"use strict"; | ||
exports.__esModule = true; | ||
exports.ERROR_CODES = void 0; | ||
exports.ERROR_CODES = new Map([ | ||
@@ -4,0 +5,0 @@ [201, 'Country code invalid.'], |
"use strict"; | ||
exports.__esModule = true; | ||
exports.GSM_CODES = void 0; | ||
var util_1 = require("../util"); | ||
exports.GSM_CODES = util_1.tuple('0', '1', '2', '3', '5', '6', '7', '8', '9', 'a', 'b', 'c', 'd', 'e', 'f', '10', '11', '12', '13', '14', '15', '17', '18', '19', '1a', '1b', '1c', '1d', '1e', '1f', '20', '21', '22', '23', '24', '25', '26', '27', '28', '2b', '2c', '2d', '2e', '2f', '30', '31', '32', '33', '34', '35', '36', '3a', '47', '48', '56', '2100', '2101', '2102', '2200', '2201', '2202', '2203', '2204', '2205', '2206', '2207', '2300', '2301', '2302', '2400', '2401', '2402', '2403', '2404', '6000', '6xxx', '6001', '6002', '6003', '6004', '6005', '6006', '8000', '8001', '8002', '8003', '8004', '8008', '800b', '8010', 'a001', 'a002', 'cxxx', 'c000', 'c001', 'c002', 'c003', 'c004', 'c005', 'c006', 'c007', 'c008', 'c009', 'c00a', 'c00b', 'c00d', 'd000', 'd001', 'd002', 'd004', 'd00a', 'd00c', 'd010', 'd020', 'e010', 'e040', 'e082', 'fc0a', 'fc06', 'fc07', 'fc08', 'ffdd', 'ffde', 'ffdf', 'ffe0', 'ffe1', 'ffe5', 'fff0', 'ffff', '4xxx', '81xx', '82xx', '83xx', '84xx', '85xx', '86xx', '87xx', '88xx', '8axx', '89xx', '8cxx', 'exxx', 'e140'); |
"use strict"; | ||
exports.__esModule = true; | ||
exports.LOOKUP_TYPES = void 0; | ||
var LOOKUP_TYPES; | ||
@@ -4,0 +5,0 @@ (function (LOOKUP_TYPES) { |
"use strict"; | ||
exports.__esModule = true; | ||
exports.NETWORK_TYPES = void 0; | ||
var NETWORK_TYPES; | ||
@@ -4,0 +5,0 @@ (function (NETWORK_TYPES) { |
"use strict"; | ||
exports.__esModule = true; | ||
exports.PROVIDER_NAMES = void 0; | ||
var PROVIDER_NAMES; | ||
@@ -4,0 +5,0 @@ (function (PROVIDER_NAMES) { |
"use strict"; | ||
exports.__esModule = true; | ||
exports.STATUS_REPORT_CODES = void 0; | ||
var STATUS_REPORT_CODES; | ||
@@ -4,0 +5,0 @@ (function (STATUS_REPORT_CODES) { |
"use strict"; | ||
exports.__esModule = true; | ||
exports.SUCCESS_CODES = void 0; | ||
exports.SUCCESS_CODES = new Map([ | ||
@@ -4,0 +5,0 @@ [151, 'Contacts updated/created/deleted with CSV response.'], |
@@ -117,2 +117,12 @@ (function(f){if(typeof exports==="object"&&typeof module!=="undefined"){module.exports=f()}else if(typeof define==="function"&&define.amd){define([],f)}else{var g;if(typeof window!=="undefined"){g=window}else if(typeof global!=="undefined"){g=global}else if(typeof self!=="undefined"){g=self}else{g=this}g.Sms77Client = f()}})(function(){var define,module,exports;return (function(){function r(e,n,t){function o(i,f){if(!n[i]){if(!e[i]){var c="function"==typeof require&&require;if(!f&&c)return c(i,!0);if(u)return u(i,!0);var a=new Error("Cannot find module '"+i+"'");throw a.code="MODULE_NOT_FOUND",a}var p=n[i]={exports:{}};e[i][0].call(p.exports,function(r){var n=e[i][1][r];return o(n||r)},p,p.exports,r,e,n,t)}return n[i].exports}for(var u="function"==typeof require&&require,i=0;i<t.length;i++)o(t[i]);return o}return r})()({1:[function(require,module,exports){ | ||
})(); | ||
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { | ||
if (k2 === undefined) k2 = k; | ||
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } }); | ||
}) : (function(o, m, k, k2) { | ||
if (k2 === undefined) k2 = k; | ||
o[k2] = m[k]; | ||
})); | ||
var __exportStar = (this && this.__exportStar) || function(m, exports) { | ||
for (var p in m) if (p !== "default" && !exports.hasOwnProperty(p)) __createBinding(exports, m, p); | ||
}; | ||
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { | ||
@@ -158,2 +168,3 @@ function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); } | ||
exports.__esModule = true; | ||
__exportStar(require("./types"), exports); | ||
var SUCCESS_CODES_1 = require("./constants/SUCCESS_CODES"); | ||
@@ -301,5 +312,6 @@ var BaseClient_1 = __importDefault(require("./BaseClient")); | ||
},{"./BaseClient":2,"./constants/SUCCESS_CODES":5}],4:[function(require,module,exports){ | ||
},{"./BaseClient":2,"./constants/SUCCESS_CODES":5,"./types":6}],4:[function(require,module,exports){ | ||
"use strict"; | ||
exports.__esModule = true; | ||
exports.ERROR_CODES = void 0; | ||
exports.ERROR_CODES = new Map([ | ||
@@ -332,2 +344,3 @@ [201, 'Country code invalid.'], | ||
exports.__esModule = true; | ||
exports.SUCCESS_CODES = void 0; | ||
exports.SUCCESS_CODES = new Map([ | ||
@@ -338,3 +351,7 @@ [151, 'Contacts updated/created/deleted with CSV response.'], | ||
},{}],6:[function(require,module,exports){ | ||
"use strict"; | ||
exports.__esModule = true; | ||
},{}]},{},[1])(1) | ||
}); |
@@ -25,6 +25,9 @@ import { GSM_CODES } from './constants/GSM_CODES'; | ||
export declare type Contact = { | ||
email: string; | ||
id: number; | ||
nick: string; | ||
number: string; | ||
email?: string; | ||
id?: number; | ||
ID?: string; | ||
Name?: string; | ||
number?: string; | ||
Number?: string; | ||
nick?: string; | ||
}; | ||
@@ -31,0 +34,0 @@ export declare type Format = { |
@@ -6,4 +6,4 @@ { | ||
"browserify": "^16.5.1", | ||
"tsify": "^4.0.1", | ||
"typescript": "^3.8.3" | ||
"tsify": "^4.0.2", | ||
"typescript": "^3.9.6" | ||
}, | ||
@@ -31,4 +31,4 @@ "files": [ | ||
"types": "dist/Sms77Client.d.ts", | ||
"version": "1.9.1", | ||
"version": "1.9.2", | ||
"homepage": "https://www.sms77.io/en/docs/gateway/http-api/" | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Minified code
QualityThis package contains minified code. This may be harmless in some cases where minified code is included in packaged libraries, however packages on npm should not minify code.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Minified code
QualityThis package contains minified code. This may be harmless in some cases where minified code is included in packaged libraries, however packages on npm should not minify code.
Found 1 instance in 1 package
34482
733