namirasoft-sms-sender 1.4.21 → 1.4.22
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/NamirasoftSMSSenderServer.d.ts +1 -1
- package/dist/NamirasoftSMSSenderServer.js +2 -2
- package/dist/NamirasoftSMSSenderServer.js.map +1 -1
- package/dist/command/AWSCreateCommand.js +1 -1
- package/dist/command/AWSCreateCommand.js.map +1 -1
- package/dist/command/AWSUpdateCommand.js +1 -1
- package/dist/command/AWSUpdateCommand.js.map +1 -1
- package/dist/meta/ProviderCategoryMetaTable.js +4 -4
- package/dist/meta/ProviderFieldMetaTable.js +4 -4
- package/dist/meta/ProviderMetaTable.js +3 -3
- package/dist/meta/ProviderTagMetaTable.js +3 -3
- package/dist/meta/SentMetaTable.js +5 -5
- package/package.json +3 -3
- package/src/NamirasoftSMSSenderServer.ts +3 -3
- package/src/command/AWSCreateCommand.ts +1 -1
- package/src/command/AWSUpdateCommand.ts +1 -1
- package/src/meta/ProviderCategoryMetaTable.ts +4 -4
- package/src/meta/ProviderFieldMetaTable.ts +4 -4
- package/src/meta/ProviderMetaTable.ts +3 -3
- package/src/meta/ProviderTagMetaTable.ts +3 -3
- package/src/meta/SentMetaTable.ts +5 -5
|
@@ -17,7 +17,7 @@ export declare class NamirasoftSMSSenderServer extends NSABaseServer {
|
|
|
17
17
|
provider_tag: NamirasoftSMSSenderServerProviderTag;
|
|
18
18
|
s_m_s: NamirasoftSMSSenderServerSMS;
|
|
19
19
|
provider: NamirasoftSMSSenderServerProvider;
|
|
20
|
-
|
|
20
|
+
aws: NamirasoftSMSSenderServerAWS;
|
|
21
21
|
sent: NamirasoftSMSSenderServerSent;
|
|
22
22
|
constructor(base_url: string, manager: TokenManager, onError: (error: Error) => void);
|
|
23
23
|
}
|
|
@@ -13,7 +13,7 @@ const NamirasoftSMSSenderServerSent_1 = require("./NamirasoftSMSSenderServerSent
|
|
|
13
13
|
const NamirasoftSMSSenderServerValue_1 = require("./NamirasoftSMSSenderServerValue");
|
|
14
14
|
class NamirasoftSMSSenderServer extends namirasoft_account_1.NSABaseServer {
|
|
15
15
|
constructor(base_url, manager, onError) {
|
|
16
|
-
super(base_url, `1.4.
|
|
16
|
+
super(base_url, `1.4.22`, manager, onError);
|
|
17
17
|
this.healthz = new NamirasoftSMSSenderServerHealthz_1.NamirasoftSMSSenderServerHealthz(this);
|
|
18
18
|
this.value = new NamirasoftSMSSenderServerValue_1.NamirasoftSMSSenderServerValue(this);
|
|
19
19
|
this.provider_category = new NamirasoftSMSSenderServerProviderCategory_1.NamirasoftSMSSenderServerProviderCategory(this);
|
|
@@ -21,7 +21,7 @@ class NamirasoftSMSSenderServer extends namirasoft_account_1.NSABaseServer {
|
|
|
21
21
|
this.provider_tag = new NamirasoftSMSSenderServerProviderTag_1.NamirasoftSMSSenderServerProviderTag(this);
|
|
22
22
|
this.s_m_s = new NamirasoftSMSSenderServerSMS_1.NamirasoftSMSSenderServerSMS(this);
|
|
23
23
|
this.provider = new NamirasoftSMSSenderServerProvider_1.NamirasoftSMSSenderServerProvider(this);
|
|
24
|
-
this.
|
|
24
|
+
this.aws = new NamirasoftSMSSenderServerAWS_1.NamirasoftSMSSenderServerAWS(this);
|
|
25
25
|
this.sent = new NamirasoftSMSSenderServerSent_1.NamirasoftSMSSenderServerSent(this);
|
|
26
26
|
}
|
|
27
27
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NamirasoftSMSSenderServer.js","sourceRoot":"","sources":["../src/NamirasoftSMSSenderServer.ts"],"names":[],"mappings":";;;AAoBA,2DAAmD;AACnD,iFAA8E;AAC9E,yFAAsF;AACtF,2FAAwF;AACxF,2GAAwG;AACxG,qGAAkG;AAClG,iGAA8F;AAC9F,iFAA8E;AAC9E,mFAAgF;AAChF,qFAAkF;AAGlF,MAAa,yBAA0B,SAAQ,kCAAa;IAWxD,YAAY,QAAgB,EAAE,OAAqB,EAAE,OAA+B;QAEhF,KAAK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AAsC,CAAC,IAAI,CAAC,CAAC;QACvE,IAAI,CAAC,YAAY,GAAG,IAAI,2EAAoC,CAAC,IAAI,CAAC,CAAC;QACnE,IAAI,CAAC,KAAK,GAAG,IAAI,2DAA4B,CAAC,IAAI,CAAC,CAAC;QACpD,IAAI,CAAC,QAAQ,GAAG,IAAI,qEAAiC,CAAC,IAAI,CAAC,CAAC;QAC5D,IAAI,CAAC,GAAG,GAAG,IAAI,2DAA4B,CAAC,IAAI,CAAC,CAAC;QAClD,IAAI,CAAC,IAAI,GAAG,IAAI,6DAA6B,CAAC,IAAI,CAAC,CAAC;IACxD,CAAC;CACJ;AAxBD,8DAwBC;AAAA,CAAC"}
|
|
@@ -125,7 +125,7 @@ class AWSCreateCommand extends namirasoft_node_cli_1.BaseFinalCommand {
|
|
|
125
125
|
manager.setValue(token, false);
|
|
126
126
|
let url = this.app.storage.getItem("ns-sms-sender-server-url");
|
|
127
127
|
let server = new NamirasoftSMSSenderServer_1.NamirasoftSMSSenderServer(url, manager, e => this.app.logger.error(e.message));
|
|
128
|
-
let ans = yield server.
|
|
128
|
+
let ans = yield server.aws.Create({
|
|
129
129
|
workspace_id: this.option_values.workspace_id,
|
|
130
130
|
name: this.option_values.name,
|
|
131
131
|
limit: this.option_values.limit,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AWSCreateCommand.js","sourceRoot":"","sources":["../../src/command/AWSCreateCommand.ts"],"names":[],"mappings":";;;;;;;;;;;;AAoBA,6DAAuD;AACvD,qDAAiD;AACjD,4EAAyE;AACzE,2DAAkD;AAElD,MAAa,gBAAiB,SAAQ,sCAAgB;IAElD,YAAY,IAAc;QAEtB,KAAK,CAAC,IAAI,EAAE,EAAE,EAAE;YACZ;gBACI,IAAI,EAAE,cAAc;gBACpB,KAAK,EAAE,EAAE;gBACT,WAAW,EAAE,8CAA8C;gBAC3D,QAAQ,EAAE,IAAI;gBACd,IAAI,EAAE,CAAC,cAAc,CAAC;gBACtB,QAAQ,EA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YAAY;gBAC7C,IAAI,EAAE,IAAI,CAAC,aAAa,CAAC,IAAI;gBAC7B,KAAK,EAAE,IAAI,CAAC,aAAa,CAAC,KAAK;gBAC/B,WAAW,EAAE,IAAI,CAAC,aAAa,CAAC,WAAW;gBAC3C,eAAe,EAAE,IAAI,CAAC,aAAa,CAAC,eAAe;gBACnD,cAAc,EAAE,IAAI,CAAC,aAAa,CAAC,cAAc;gBACjD,MAAM,EAAE,IAAI,CAAC,aAAa,CAAC,MAAM;gBACjC,UAAU,EAAE,IAAI,CAAC,aAAa,CAAC,UAAU;gBACzC,UAAU,EAAE,IAAI,CAAC,aAAa,CAAC,UAAU;gBACzC,iBAAiB,EAAE,IAAI,CAAC,aAAa,CAAC,iBAAiB;gBACvD,cAAc,EAAE,IAAI,CAAC,aAAa,CAAC,cAAc;gBACjD,YAAY,EAAE,IAAI,CAAC,aAAa,CAAC,YAAY;aAChD,CAAC,CAAC;YACH,IAAI,CAAC,GAAG,CAAC,MAAM,CAAC,OAAO,CAAC,IAAI,CAAC,SAAS,CAAC,GAAG,CAAC,CAAC,CAAC;QACjD,CAAC;KAAA;CACJ;AAjID,4CAiIC;AAAA,CAAC"}
|
|
@@ -125,7 +125,7 @@ class AWSUpdateCommand extends namirasoft_node_cli_1.BaseFinalCommand {
|
|
|
125
125
|
manager.setValue(token, false);
|
|
126
126
|
let url = this.app.storage.getItem("ns-sms-sender-server-url");
|
|
127
127
|
let server = new NamirasoftSMSSenderServer_1.NamirasoftSMSSenderServer(url, manager, e => this.app.logger.error(e.message));
|
|
128
|
-
let ans = yield server.
|
|
128
|
+
let ans = yield server.aws.Update(this.arg_values[0], {
|
|
129
129
|
workspace_id: this.option_values.workspace_id,
|
|
130
130
|
name: this.option_values.name,
|
|
131
131
|
limit: this.option_values.limit,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AWSUpdateCommand.js","sourceRoot":"","sources":["../../src/command/AWSUpdateCommand.ts"],"names":[],"mappings":";;;;;;;;;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provider_category", "Provider Category", new namirasoft_core_1.BaseUUID(""));
|
|
18
18
|
this.columns = {
|
|
19
|
-
id: new namirasoft_core_1.BaseMetaColumn(this, "id", "
|
|
20
|
-
user_id: new namirasoft_core_1.BaseMetaColumn(this, "user_id", "User
|
|
21
|
-
entity_id: new namirasoft_core_1.BaseMetaColumn(this, "entity_id", "Entity
|
|
22
|
-
category_id: new namirasoft_core_1.BaseMetaColumn(this, "category_id", "Category
|
|
19
|
+
id: new namirasoft_core_1.BaseMetaColumn(this, "id", "ID", "Integer", true),
|
|
20
|
+
user_id: new namirasoft_core_1.BaseMetaColumn(this, "user_id", "User ID", "String", true),
|
|
21
|
+
entity_id: new namirasoft_core_1.BaseMetaColumn(this, "entity_id", "Entity ID", "String", true),
|
|
22
|
+
category_id: new namirasoft_core_1.BaseMetaColumn(this, "category_id", "Category ID", "String", true),
|
|
23
23
|
created_at: new namirasoft_core_1.BaseMetaColumn(this, "created_at", "Created At", "DateTime", true),
|
|
24
24
|
updated_at: new namirasoft_core_1.BaseMetaColumn(this, "updated_at", "Updated At", "DateTime", true),
|
|
25
25
|
};
|
|
@@ -16,10 +16,10 @@ class ProviderFieldMetaTable extends namirasoft_site_1.NSBaseMetaTable {
|
|
|
16
16
|
constructor(database) {
|
|
17
17
|
super(database, "provider_field", "Provider Field", new namirasoft_core_1.BaseUUID(""));
|
|
18
18
|
this.columns = {
|
|
19
|
-
id: new namirasoft_core_1.BaseMetaColumn(this, "id", "
|
|
20
|
-
user_id: new namirasoft_core_1.BaseMetaColumn(this, "user_id", "User
|
|
21
|
-
entity_id: new namirasoft_core_1.BaseMetaColumn(this, "entity_id", "Entity
|
|
22
|
-
field_id: new namirasoft_core_1.BaseMetaColumn(this, "field_id", "Field
|
|
19
|
+
id: new namirasoft_core_1.BaseMetaColumn(this, "id", "ID", "Integer", true),
|
|
20
|
+
user_id: new namirasoft_core_1.BaseMetaColumn(this, "user_id", "User ID", "String", true),
|
|
21
|
+
entity_id: new namirasoft_core_1.BaseMetaColumn(this, "entity_id", "Entity ID", "String", true),
|
|
22
|
+
field_id: new namirasoft_core_1.BaseMetaColumn(this, "field_id", "Field ID", "String", true),
|
|
23
23
|
value: new namirasoft_core_1.BaseMetaColumn(this, "value", "Value", "Any", false),
|
|
24
24
|
created_at: new namirasoft_core_1.BaseMetaColumn(this, "created_at", "Created At", "DateTime", true),
|
|
25
25
|
updated_at: new namirasoft_core_1.BaseMetaColumn(this, "updated_at", "Updated At", "DateTime", true),
|
|
@@ -16,9 +16,9 @@ class ProviderMetaTable extends namirasoft_site_1.NSBaseMetaTable {
|
|
|
16
16
|
constructor(database) {
|
|
17
17
|
super(database, "provider", "Provider", new namirasoft_core_1.BaseUUID("sms-snd-pvd"));
|
|
18
18
|
this.columns = {
|
|
19
|
-
id: new namirasoft_core_1.BaseMetaColumn(this, "id", "
|
|
20
|
-
user_id: new namirasoft_core_1.BaseMetaColumn(this, "user_id", "User
|
|
21
|
-
workspace_id: new namirasoft_core_1.BaseMetaColumn(this, "workspace_id", "Workspace
|
|
19
|
+
id: new namirasoft_core_1.BaseMetaColumn(this, "id", "ID", "String", true),
|
|
20
|
+
user_id: new namirasoft_core_1.BaseMetaColumn(this, "user_id", "User ID", "String", true),
|
|
21
|
+
workspace_id: new namirasoft_core_1.BaseMetaColumn(this, "workspace_id", "Workspace ID", "String", true),
|
|
22
22
|
name: new namirasoft_core_1.BaseMetaColumn(this, "name", "Name", "String", true),
|
|
23
23
|
type: new namirasoft_core_1.BaseMetaColumn(this, "type", "Type", "Enum", true),
|
|
24
24
|
p_verified: new namirasoft_core_1.BaseMetaColumn(this, "p_verified", "P Verified", "Boolean", true),
|
|
@@ -16,9 +16,9 @@ class ProviderTagMetaTable extends namirasoft_site_1.NSBaseMetaTable {
|
|
|
16
16
|
constructor(database) {
|
|
17
17
|
super(database, "provider_tag", "Provider Tag", new namirasoft_core_1.BaseUUID(""));
|
|
18
18
|
this.columns = {
|
|
19
|
-
id: new namirasoft_core_1.BaseMetaColumn(this, "id", "
|
|
20
|
-
user_id: new namirasoft_core_1.BaseMetaColumn(this, "user_id", "User
|
|
21
|
-
entity_id: new namirasoft_core_1.BaseMetaColumn(this, "entity_id", "Entity
|
|
19
|
+
id: new namirasoft_core_1.BaseMetaColumn(this, "id", "ID", "Integer", true),
|
|
20
|
+
user_id: new namirasoft_core_1.BaseMetaColumn(this, "user_id", "User ID", "String", true),
|
|
21
|
+
entity_id: new namirasoft_core_1.BaseMetaColumn(this, "entity_id", "Entity ID", "String", true),
|
|
22
22
|
name: new namirasoft_core_1.BaseMetaColumn(this, "name", "Name", "String", true),
|
|
23
23
|
value: new namirasoft_core_1.BaseMetaColumn(this, "value", "Value", "String", false),
|
|
24
24
|
created_at: new namirasoft_core_1.BaseMetaColumn(this, "created_at", "Created At", "DateTime", true),
|
|
@@ -16,11 +16,11 @@ class SentMetaTable extends namirasoft_site_1.NSBaseMetaTable {
|
|
|
16
16
|
constructor(database) {
|
|
17
17
|
super(database, "sent", "Sent", new namirasoft_core_1.BaseUUID(""));
|
|
18
18
|
this.columns = {
|
|
19
|
-
id: new namirasoft_core_1.BaseMetaColumn(this, "id", "
|
|
20
|
-
user_id: new namirasoft_core_1.BaseMetaColumn(this, "user_id", "User
|
|
21
|
-
session_id: new namirasoft_core_1.BaseMetaColumn(this, "session_id", "Session
|
|
22
|
-
workspace_id: new namirasoft_core_1.BaseMetaColumn(this, "workspace_id", "Workspace
|
|
23
|
-
provider_id: new namirasoft_core_1.BaseMetaColumn(this, "provider_id", "Provider
|
|
19
|
+
id: new namirasoft_core_1.BaseMetaColumn(this, "id", "ID", "String", true),
|
|
20
|
+
user_id: new namirasoft_core_1.BaseMetaColumn(this, "user_id", "User ID", "String", true),
|
|
21
|
+
session_id: new namirasoft_core_1.BaseMetaColumn(this, "session_id", "Session ID", "String", true),
|
|
22
|
+
workspace_id: new namirasoft_core_1.BaseMetaColumn(this, "workspace_id", "Workspace ID", "String", false),
|
|
23
|
+
provider_id: new namirasoft_core_1.BaseMetaColumn(this, "provider_id", "Provider ID", "String", true),
|
|
24
24
|
phone: new namirasoft_core_1.BaseMetaColumn(this, "phone", "Phone", "String", true),
|
|
25
25
|
message: new namirasoft_core_1.BaseMetaColumn(this, "message", "Message", "String", true),
|
|
26
26
|
created_at: new namirasoft_core_1.BaseMetaColumn(this, "created_at", "Created At", "DateTime", true),
|
package/package.json
CHANGED
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
"framework": "npm",
|
|
9
9
|
"application": "package",
|
|
10
10
|
"private": false,
|
|
11
|
-
"version": "1.4.
|
|
11
|
+
"version": "1.4.22",
|
|
12
12
|
"author": "Amir Abolhasani",
|
|
13
13
|
"license": "MIT",
|
|
14
14
|
"main": "./dist/index.js",
|
|
@@ -17,10 +17,10 @@
|
|
|
17
17
|
"build": ""
|
|
18
18
|
},
|
|
19
19
|
"dependencies": {
|
|
20
|
-
"namirasoft-core": "^1.4.
|
|
20
|
+
"namirasoft-core": "^1.4.61",
|
|
21
21
|
"namirasoft-site": "^1.4.24",
|
|
22
22
|
"namirasoft-node-cli": "^1.4.5",
|
|
23
|
-
"namirasoft-account": "^1.4.
|
|
23
|
+
"namirasoft-account": "^1.4.69"
|
|
24
24
|
},
|
|
25
25
|
"bin": {
|
|
26
26
|
"ns-sms-sender": "./dist/command/cli.js"
|
|
@@ -39,11 +39,11 @@ export class NamirasoftSMSSenderServer extends NSABaseServer
|
|
|
39
39
|
provider_tag: NamirasoftSMSSenderServerProviderTag;
|
|
40
40
|
s_m_s: NamirasoftSMSSenderServerSMS;
|
|
41
41
|
provider: NamirasoftSMSSenderServerProvider;
|
|
42
|
-
|
|
42
|
+
aws: NamirasoftSMSSenderServerAWS;
|
|
43
43
|
sent: NamirasoftSMSSenderServerSent;
|
|
44
44
|
constructor(base_url: string, manager: TokenManager, onError: (error: Error) => void)
|
|
45
45
|
{
|
|
46
|
-
super(base_url, `1.4.
|
|
46
|
+
super(base_url, `1.4.22`, manager, onError);
|
|
47
47
|
this.healthz = new NamirasoftSMSSenderServerHealthz(this);
|
|
48
48
|
this.value = new NamirasoftSMSSenderServerValue(this);
|
|
49
49
|
this.provider_category = new NamirasoftSMSSenderServerProviderCategory(this);
|
|
@@ -51,7 +51,7 @@ export class NamirasoftSMSSenderServer extends NSABaseServer
|
|
|
51
51
|
this.provider_tag = new NamirasoftSMSSenderServerProviderTag(this);
|
|
52
52
|
this.s_m_s = new NamirasoftSMSSenderServerSMS(this);
|
|
53
53
|
this.provider = new NamirasoftSMSSenderServerProvider(this);
|
|
54
|
-
this.
|
|
54
|
+
this.aws = new NamirasoftSMSSenderServerAWS(this);
|
|
55
55
|
this.sent = new NamirasoftSMSSenderServerSent(this);
|
|
56
56
|
}
|
|
57
57
|
};
|
|
@@ -136,7 +136,7 @@ export class AWSCreateCommand extends BaseFinalCommand
|
|
|
136
136
|
manager.setValue(token, false);
|
|
137
137
|
let url = this.app.storage.getItem("ns-sms-sender-server-url");
|
|
138
138
|
let server = new NamirasoftSMSSenderServer(url, manager, e => this.app.logger.error(e.message));
|
|
139
|
-
let ans = await server.
|
|
139
|
+
let ans = await server.aws.Create({
|
|
140
140
|
workspace_id: this.option_values.workspace_id,
|
|
141
141
|
name: this.option_values.name,
|
|
142
142
|
limit: this.option_values.limit,
|
|
@@ -136,7 +136,7 @@ export class AWSUpdateCommand extends BaseFinalCommand
|
|
|
136
136
|
manager.setValue(token, false);
|
|
137
137
|
let url = this.app.storage.getItem("ns-sms-sender-server-url");
|
|
138
138
|
let server = new NamirasoftSMSSenderServer(url, manager, e => this.app.logger.error(e.message));
|
|
139
|
-
let ans = await server.
|
|
139
|
+
let ans = await server.aws.Update(this.arg_values[0], {
|
|
140
140
|
workspace_id: this.option_values.workspace_id,
|
|
141
141
|
name: this.option_values.name,
|
|
142
142
|
limit: this.option_values.limit,
|
|
@@ -37,10 +37,10 @@ export class ProviderCategoryMetaTable extends NSBaseMetaTable<NamirasoftSMSSend
|
|
|
37
37
|
{
|
|
38
38
|
super(database, "provider_category", "Provider Category", new BaseUUID(""));
|
|
39
39
|
this.columns = {
|
|
40
|
-
id: new BaseMetaColumn(this, "id", "
|
|
41
|
-
user_id: new BaseMetaColumn(this, "user_id", "User
|
|
42
|
-
entity_id: new BaseMetaColumn(this, "entity_id", "Entity
|
|
43
|
-
category_id: new BaseMetaColumn(this, "category_id", "Category
|
|
40
|
+
id: new BaseMetaColumn(this, "id", "ID", "Integer", true),
|
|
41
|
+
user_id: new BaseMetaColumn(this, "user_id", "User ID", "String", true),
|
|
42
|
+
entity_id: new BaseMetaColumn(this, "entity_id", "Entity ID", "String", true),
|
|
43
|
+
category_id: new BaseMetaColumn(this, "category_id", "Category ID", "String", true),
|
|
44
44
|
created_at: new BaseMetaColumn(this, "created_at", "Created At", "DateTime", true),
|
|
45
45
|
updated_at: new BaseMetaColumn(this, "updated_at", "Updated At", "DateTime", true),
|
|
46
46
|
};
|
|
@@ -38,10 +38,10 @@ export class ProviderFieldMetaTable extends NSBaseMetaTable<NamirasoftSMSSenderS
|
|
|
38
38
|
{
|
|
39
39
|
super(database, "provider_field", "Provider Field", new BaseUUID(""));
|
|
40
40
|
this.columns = {
|
|
41
|
-
id: new BaseMetaColumn(this, "id", "
|
|
42
|
-
user_id: new BaseMetaColumn(this, "user_id", "User
|
|
43
|
-
entity_id: new BaseMetaColumn(this, "entity_id", "Entity
|
|
44
|
-
field_id: new BaseMetaColumn(this, "field_id", "Field
|
|
41
|
+
id: new BaseMetaColumn(this, "id", "ID", "Integer", true),
|
|
42
|
+
user_id: new BaseMetaColumn(this, "user_id", "User ID", "String", true),
|
|
43
|
+
entity_id: new BaseMetaColumn(this, "entity_id", "Entity ID", "String", true),
|
|
44
|
+
field_id: new BaseMetaColumn(this, "field_id", "Field ID", "String", true),
|
|
45
45
|
value: new BaseMetaColumn(this, "value", "Value", "Any", false),
|
|
46
46
|
created_at: new BaseMetaColumn(this, "created_at", "Created At", "DateTime", true),
|
|
47
47
|
updated_at: new BaseMetaColumn(this, "updated_at", "Updated At", "DateTime", true),
|
|
@@ -44,9 +44,9 @@ export class ProviderMetaTable extends NSBaseMetaTable<NamirasoftSMSSenderServer
|
|
|
44
44
|
{
|
|
45
45
|
super(database, "provider", "Provider", new BaseUUID("sms-snd-pvd"));
|
|
46
46
|
this.columns = {
|
|
47
|
-
id: new BaseMetaColumn(this, "id", "
|
|
48
|
-
user_id: new BaseMetaColumn(this, "user_id", "User
|
|
49
|
-
workspace_id: new BaseMetaColumn(this, "workspace_id", "Workspace
|
|
47
|
+
id: new BaseMetaColumn(this, "id", "ID", "String", true),
|
|
48
|
+
user_id: new BaseMetaColumn(this, "user_id", "User ID", "String", true),
|
|
49
|
+
workspace_id: new BaseMetaColumn(this, "workspace_id", "Workspace ID", "String", true),
|
|
50
50
|
name: new BaseMetaColumn(this, "name", "Name", "String", true),
|
|
51
51
|
type: new BaseMetaColumn(this, "type", "Type", "Enum", true),
|
|
52
52
|
p_verified: new BaseMetaColumn(this, "p_verified", "P Verified", "Boolean", true),
|
|
@@ -38,9 +38,9 @@ export class ProviderTagMetaTable extends NSBaseMetaTable<NamirasoftSMSSenderSer
|
|
|
38
38
|
{
|
|
39
39
|
super(database, "provider_tag", "Provider Tag", new BaseUUID(""));
|
|
40
40
|
this.columns = {
|
|
41
|
-
id: new BaseMetaColumn(this, "id", "
|
|
42
|
-
user_id: new BaseMetaColumn(this, "user_id", "User
|
|
43
|
-
entity_id: new BaseMetaColumn(this, "entity_id", "Entity
|
|
41
|
+
id: new BaseMetaColumn(this, "id", "ID", "Integer", true),
|
|
42
|
+
user_id: new BaseMetaColumn(this, "user_id", "User ID", "String", true),
|
|
43
|
+
entity_id: new BaseMetaColumn(this, "entity_id", "Entity ID", "String", true),
|
|
44
44
|
name: new BaseMetaColumn(this, "name", "Name", "String", true),
|
|
45
45
|
value: new BaseMetaColumn(this, "value", "Value", "String", false),
|
|
46
46
|
created_at: new BaseMetaColumn(this, "created_at", "Created At", "DateTime", true),
|
|
@@ -42,11 +42,11 @@ export class SentMetaTable extends NSBaseMetaTable<NamirasoftSMSSenderServer, Se
|
|
|
42
42
|
{
|
|
43
43
|
super(database, "sent", "Sent", new BaseUUID(""));
|
|
44
44
|
this.columns = {
|
|
45
|
-
id: new BaseMetaColumn(this, "id", "
|
|
46
|
-
user_id: new BaseMetaColumn(this, "user_id", "User
|
|
47
|
-
session_id: new BaseMetaColumn(this, "session_id", "Session
|
|
48
|
-
workspace_id: new BaseMetaColumn(this, "workspace_id", "Workspace
|
|
49
|
-
provider_id: new BaseMetaColumn(this, "provider_id", "Provider
|
|
45
|
+
id: new BaseMetaColumn(this, "id", "ID", "String", true),
|
|
46
|
+
user_id: new BaseMetaColumn(this, "user_id", "User ID", "String", true),
|
|
47
|
+
session_id: new BaseMetaColumn(this, "session_id", "Session ID", "String", true),
|
|
48
|
+
workspace_id: new BaseMetaColumn(this, "workspace_id", "Workspace ID", "String", false),
|
|
49
|
+
provider_id: new BaseMetaColumn(this, "provider_id", "Provider ID", "String", true),
|
|
50
50
|
phone: new BaseMetaColumn(this, "phone", "Phone", "String", true),
|
|
51
51
|
message: new BaseMetaColumn(this, "message", "Message", "String", true),
|
|
52
52
|
created_at: new BaseMetaColumn(this, "created_at", "Created At", "DateTime", true),
|