automation-lib 6.3.21 → 6.3.23
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.d.mts +199 -200
- package/dist/index.d.ts +199 -200
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -5043,6 +5043,19 @@ interface IAccountVPN extends IBaseModel, IAssignUser, ITrackingModel {
|
|
|
5043
5043
|
note: string;
|
|
5044
5044
|
}
|
|
5045
5045
|
|
|
5046
|
+
interface IAccountVPSGroup extends IBaseModel, ITrackingModel {
|
|
5047
|
+
name: string;
|
|
5048
|
+
description: string;
|
|
5049
|
+
}
|
|
5050
|
+
|
|
5051
|
+
interface IAccountVPSListJob extends IBaseModel {
|
|
5052
|
+
nameJob: string;
|
|
5053
|
+
}
|
|
5054
|
+
|
|
5055
|
+
interface IAccountVPSProvider extends IBaseModel {
|
|
5056
|
+
name: string;
|
|
5057
|
+
}
|
|
5058
|
+
|
|
5046
5059
|
declare enum EVPSStatus {
|
|
5047
5060
|
New = "New",
|
|
5048
5061
|
Active = "Active",
|
|
@@ -5110,29 +5123,11 @@ declare enum EVPSStatusGpmLoginEmail {
|
|
|
5110
5123
|
Verify = "Verify"
|
|
5111
5124
|
}
|
|
5112
5125
|
|
|
5113
|
-
interface IAccountVPSGroup extends IBaseModel, ITrackingModel {
|
|
5114
|
-
name: string;
|
|
5115
|
-
description: string;
|
|
5116
|
-
}
|
|
5117
|
-
|
|
5118
|
-
interface IAccountVPSListJob extends IBaseModel {
|
|
5119
|
-
nameJob: string;
|
|
5120
|
-
}
|
|
5121
|
-
|
|
5122
|
-
interface IAccountVPSProvider extends IBaseModel {
|
|
5123
|
-
name: string;
|
|
5124
|
-
}
|
|
5125
|
-
|
|
5126
|
-
interface IAccountVPSSocial extends IBaseModel {
|
|
5127
|
-
accountVPS: string | IAccountVPS;
|
|
5128
|
-
typeSocial: ETypeSocial;
|
|
5129
|
-
}
|
|
5130
|
-
|
|
5131
5126
|
interface IAccountVPS extends IBaseModel, ITrackingModel {
|
|
5132
5127
|
group: string | IAccountVPSGroup;
|
|
5133
5128
|
listTypeSocial: string[] | IAccountVPSSocial[];
|
|
5134
5129
|
listJob: string[] | IAccountVPSListJob[];
|
|
5135
|
-
|
|
5130
|
+
providerIds: string[] | IAccountVPSProvider[];
|
|
5136
5131
|
ip: string;
|
|
5137
5132
|
port: string;
|
|
5138
5133
|
username: string;
|
|
@@ -5201,6 +5196,191 @@ interface IAccountVPS extends IBaseModel, ITrackingModel {
|
|
|
5201
5196
|
};
|
|
5202
5197
|
}
|
|
5203
5198
|
|
|
5199
|
+
interface IAccountVPSSocial extends IBaseModel {
|
|
5200
|
+
accountVPS: string | IAccountVPS;
|
|
5201
|
+
typeSocial: ETypeSocial;
|
|
5202
|
+
}
|
|
5203
|
+
|
|
5204
|
+
interface ImportAccountVPSDto {
|
|
5205
|
+
sheetName: string;
|
|
5206
|
+
sheetUrl: string;
|
|
5207
|
+
departmentAssigned: string;
|
|
5208
|
+
teamAssigned: string;
|
|
5209
|
+
}
|
|
5210
|
+
interface CreateAccountVPSDto {
|
|
5211
|
+
ip: string;
|
|
5212
|
+
port: string;
|
|
5213
|
+
username: string;
|
|
5214
|
+
password: string;
|
|
5215
|
+
core: EVPSCore;
|
|
5216
|
+
ram: EVPSRam;
|
|
5217
|
+
os: EVPSOs;
|
|
5218
|
+
numberDayUse: number;
|
|
5219
|
+
displayName: string;
|
|
5220
|
+
listTypeSocial: string[] | IAccountVPSSocial[];
|
|
5221
|
+
status: EVPSStatus;
|
|
5222
|
+
statusConnect: EVPSStatusConnection;
|
|
5223
|
+
statusExtension: EVPSExtension;
|
|
5224
|
+
numberHourForReset: EVPSTimeRestart;
|
|
5225
|
+
groupId: string;
|
|
5226
|
+
providerIds: string[];
|
|
5227
|
+
price: string;
|
|
5228
|
+
departmentAssigned: string | IDepartment;
|
|
5229
|
+
teamAssigned: string | ITeam;
|
|
5230
|
+
listJobsID: string[];
|
|
5231
|
+
settingDescription: string;
|
|
5232
|
+
description: string;
|
|
5233
|
+
}
|
|
5234
|
+
interface UpdateAccountVPSDto extends CreateAccountVPSDto {
|
|
5235
|
+
}
|
|
5236
|
+
interface FindAccountVPSDto extends IFindBaseDto {
|
|
5237
|
+
status: {
|
|
5238
|
+
value: EVPSStatus;
|
|
5239
|
+
timeChange: Date;
|
|
5240
|
+
};
|
|
5241
|
+
statusExtension: {
|
|
5242
|
+
value: EVPSExtension;
|
|
5243
|
+
time: Date;
|
|
5244
|
+
numberDayUse: number;
|
|
5245
|
+
dayExpired: Date;
|
|
5246
|
+
};
|
|
5247
|
+
statusConnect: {
|
|
5248
|
+
value: EVPSStatusConnection;
|
|
5249
|
+
time: Date;
|
|
5250
|
+
};
|
|
5251
|
+
statusRestart: {
|
|
5252
|
+
value: EVPSStatusRestart;
|
|
5253
|
+
time: Date;
|
|
5254
|
+
count: number;
|
|
5255
|
+
};
|
|
5256
|
+
statusReplace: {
|
|
5257
|
+
value: EVPSStatusReplace;
|
|
5258
|
+
time: Date;
|
|
5259
|
+
count: number;
|
|
5260
|
+
};
|
|
5261
|
+
noteFix: string;
|
|
5262
|
+
listTypeSocial: string[] | IAccountVPSSocial[];
|
|
5263
|
+
listJob: string[] | IAccountVPSListJob[];
|
|
5264
|
+
numberHourForReset: EVPSTimeRestart;
|
|
5265
|
+
group: string | IAccountVPSGroup;
|
|
5266
|
+
ip: string;
|
|
5267
|
+
port: string;
|
|
5268
|
+
username: string;
|
|
5269
|
+
password: string;
|
|
5270
|
+
displayName: string;
|
|
5271
|
+
providerIds: string[] | IAccountVPSProvider[];
|
|
5272
|
+
price: string;
|
|
5273
|
+
core: EVPSCore;
|
|
5274
|
+
ram: EVPSRam;
|
|
5275
|
+
os: EVPSOs;
|
|
5276
|
+
timeRaw: Date;
|
|
5277
|
+
timeRun: Date;
|
|
5278
|
+
departmentAssigned: IDepartment | string;
|
|
5279
|
+
teamAssigned: ITeam | string;
|
|
5280
|
+
numberListGPMProfiles: number;
|
|
5281
|
+
settingDescription: string;
|
|
5282
|
+
description: string;
|
|
5283
|
+
}
|
|
5284
|
+
interface ViewListGPMProfileDto {
|
|
5285
|
+
id: string;
|
|
5286
|
+
email: string;
|
|
5287
|
+
profileName: string;
|
|
5288
|
+
typeBrowser: ETypeBrowser;
|
|
5289
|
+
userAgent: string;
|
|
5290
|
+
language: string;
|
|
5291
|
+
hardware: string;
|
|
5292
|
+
proxyType: ETypeProxy;
|
|
5293
|
+
proxyStringOld: string;
|
|
5294
|
+
proxyStringNew: string;
|
|
5295
|
+
proxyStatus: EStatusProxyChecked;
|
|
5296
|
+
}
|
|
5297
|
+
interface ReplaceAccountVSPDto {
|
|
5298
|
+
ip: string;
|
|
5299
|
+
port: string;
|
|
5300
|
+
username: string;
|
|
5301
|
+
password: string;
|
|
5302
|
+
}
|
|
5303
|
+
interface FindOverviewAccountVPSDto {
|
|
5304
|
+
totalDepartments: number;
|
|
5305
|
+
totalLeaders: number;
|
|
5306
|
+
totalTeams: number;
|
|
5307
|
+
totalUsers: number;
|
|
5308
|
+
totalGroups: number;
|
|
5309
|
+
totalVPS: number;
|
|
5310
|
+
totalPrice: number;
|
|
5311
|
+
statusVPS: {
|
|
5312
|
+
[EVPSStatus.Active]: number;
|
|
5313
|
+
[EVPSStatus.Error]: number;
|
|
5314
|
+
[EVPSStatus.New]: number;
|
|
5315
|
+
[EVPSStatus.NA]: number;
|
|
5316
|
+
total: number;
|
|
5317
|
+
};
|
|
5318
|
+
statusConnect: {
|
|
5319
|
+
[EVPSStatusConnection.Connected]: number;
|
|
5320
|
+
[EVPSStatusConnection.Disconnected]: number;
|
|
5321
|
+
[EVPSStatusConnection.Error]: number;
|
|
5322
|
+
total: number;
|
|
5323
|
+
};
|
|
5324
|
+
statusReplace: {
|
|
5325
|
+
[EVPSStatusReplace.Done]: number;
|
|
5326
|
+
[EVPSStatusReplace.Error]: number;
|
|
5327
|
+
total: number;
|
|
5328
|
+
};
|
|
5329
|
+
statusRestart: {
|
|
5330
|
+
[EVPSStatusRestart.Restarted]: number;
|
|
5331
|
+
[EVPSStatusRestart.Restarting]: number;
|
|
5332
|
+
[EVPSStatusRestart.Error]: number;
|
|
5333
|
+
[EVPSStatusRestart.NA]: number;
|
|
5334
|
+
total: number;
|
|
5335
|
+
};
|
|
5336
|
+
statusExtension: {
|
|
5337
|
+
[EVPSExtension.Cancelled]: number;
|
|
5338
|
+
[EVPSExtension.Expired]: number;
|
|
5339
|
+
[EVPSExtension.Renewed]: number;
|
|
5340
|
+
total: number;
|
|
5341
|
+
};
|
|
5342
|
+
socials: {
|
|
5343
|
+
[ETypeSocial.Facebook]: number;
|
|
5344
|
+
[ETypeSocial.FacebookGroup]: number;
|
|
5345
|
+
[ETypeSocial.FacebookFanPage]: number;
|
|
5346
|
+
[ETypeSocial.Instagram]: number;
|
|
5347
|
+
[ETypeSocial.Tiktok]: number;
|
|
5348
|
+
[ETypeSocial.Twitter]: number;
|
|
5349
|
+
[ETypeSocial.Youtube]: number;
|
|
5350
|
+
[ETypeSocial.Medium]: number;
|
|
5351
|
+
[ETypeSocial.Reddit]: number;
|
|
5352
|
+
[ETypeSocial.Tumblr]: number;
|
|
5353
|
+
[ETypeSocial.Pinterest]: number;
|
|
5354
|
+
[ETypeSocial.Quora]: number;
|
|
5355
|
+
[ETypeSocial.Threads]: number;
|
|
5356
|
+
total: number;
|
|
5357
|
+
};
|
|
5358
|
+
statusProxy: {
|
|
5359
|
+
[ETypeProxyNewIP.Active]: number;
|
|
5360
|
+
[ETypeProxyNewIP.Error]: number;
|
|
5361
|
+
[ETypeProxyNewIP.NA]: number;
|
|
5362
|
+
total: number;
|
|
5363
|
+
};
|
|
5364
|
+
gpmLoginEmailStatus: {
|
|
5365
|
+
[EVPSStatusGpmLoginEmail.Active]: number;
|
|
5366
|
+
[EVPSStatusGpmLoginEmail.Error]: number;
|
|
5367
|
+
[EVPSStatusGpmLoginEmail.Verify]: number;
|
|
5368
|
+
[EVPSStatusGpmLoginEmail.Pending]: number;
|
|
5369
|
+
total: number;
|
|
5370
|
+
};
|
|
5371
|
+
}
|
|
5372
|
+
interface FilterAccountVPSDto extends IFilterBaseDto {
|
|
5373
|
+
accountVPSGroup: string[];
|
|
5374
|
+
listTypeSocial: ETypeSocial[];
|
|
5375
|
+
provider: string[];
|
|
5376
|
+
core: EVPSCore[];
|
|
5377
|
+
ram: EVPSRam[];
|
|
5378
|
+
status: EVPSStatus[];
|
|
5379
|
+
statusConnect: EVPSStatusConnection[];
|
|
5380
|
+
statusRestart: EVPSStatusRestart[];
|
|
5381
|
+
statusReplace: EVPSStatusReplace[];
|
|
5382
|
+
}
|
|
5383
|
+
|
|
5204
5384
|
declare enum EStatusEmailManager {
|
|
5205
5385
|
New = "New",// Chưa login
|
|
5206
5386
|
PendingLogin = "PendingLogin",// Chờ login
|
|
@@ -5906,187 +6086,6 @@ interface IAccountVpsChange extends IBaseModel {
|
|
|
5906
6086
|
noteFix: string;
|
|
5907
6087
|
}
|
|
5908
6088
|
|
|
5909
|
-
interface ImportAccountVPSDto {
|
|
5910
|
-
sheetName: string;
|
|
5911
|
-
sheetUrl: string;
|
|
5912
|
-
departmentAssigned: string;
|
|
5913
|
-
teamAssigned: string;
|
|
5914
|
-
}
|
|
5915
|
-
interface CreateAccountVPSDto {
|
|
5916
|
-
ip: string;
|
|
5917
|
-
port: string;
|
|
5918
|
-
username: string;
|
|
5919
|
-
password: string;
|
|
5920
|
-
core: EVPSCore;
|
|
5921
|
-
ram: EVPSRam;
|
|
5922
|
-
os: EVPSOs;
|
|
5923
|
-
numberDayUse: number;
|
|
5924
|
-
displayName: string;
|
|
5925
|
-
listTypeSocial: string[] | IAccountVPSSocial[];
|
|
5926
|
-
status: EVPSStatus;
|
|
5927
|
-
statusConnect: EVPSStatusConnection;
|
|
5928
|
-
statusExtension: EVPSExtension;
|
|
5929
|
-
numberHourForReset: EVPSTimeRestart;
|
|
5930
|
-
groupId: string;
|
|
5931
|
-
providerIds: string[];
|
|
5932
|
-
provider: string | string[];
|
|
5933
|
-
price: string;
|
|
5934
|
-
departmentAssigned: string | IDepartment;
|
|
5935
|
-
teamAssigned: string | ITeam;
|
|
5936
|
-
listJobsID: string[];
|
|
5937
|
-
settingDescription: string;
|
|
5938
|
-
description: string;
|
|
5939
|
-
}
|
|
5940
|
-
interface UpdateAccountVPSDto extends CreateAccountVPSDto {
|
|
5941
|
-
}
|
|
5942
|
-
interface FindAccountVPSDto extends IFindBaseDto {
|
|
5943
|
-
status: {
|
|
5944
|
-
value: EVPSStatus;
|
|
5945
|
-
timeChange: Date;
|
|
5946
|
-
};
|
|
5947
|
-
statusExtension: {
|
|
5948
|
-
value: EVPSExtension;
|
|
5949
|
-
time: Date;
|
|
5950
|
-
numberDayUse: number;
|
|
5951
|
-
dayExpired: Date;
|
|
5952
|
-
};
|
|
5953
|
-
statusConnect: {
|
|
5954
|
-
value: EVPSStatusConnection;
|
|
5955
|
-
time: Date;
|
|
5956
|
-
};
|
|
5957
|
-
statusRestart: {
|
|
5958
|
-
value: EVPSStatusRestart;
|
|
5959
|
-
time: Date;
|
|
5960
|
-
count: number;
|
|
5961
|
-
};
|
|
5962
|
-
statusReplace: {
|
|
5963
|
-
value: EVPSStatusReplace;
|
|
5964
|
-
time: Date;
|
|
5965
|
-
count: number;
|
|
5966
|
-
};
|
|
5967
|
-
noteFix: string;
|
|
5968
|
-
listTypeSocial: string[] | IAccountVPSSocial[];
|
|
5969
|
-
listJob: string[] | IAccountVPSListJob[];
|
|
5970
|
-
numberHourForReset: EVPSTimeRestart;
|
|
5971
|
-
group: string | IAccountVPSGroup;
|
|
5972
|
-
ip: string;
|
|
5973
|
-
port: string;
|
|
5974
|
-
username: string;
|
|
5975
|
-
password: string;
|
|
5976
|
-
displayName: string;
|
|
5977
|
-
provider: any;
|
|
5978
|
-
price: string;
|
|
5979
|
-
core: EVPSCore;
|
|
5980
|
-
ram: EVPSRam;
|
|
5981
|
-
os: EVPSOs;
|
|
5982
|
-
timeRaw: Date;
|
|
5983
|
-
timeRun: Date;
|
|
5984
|
-
departmentAssigned: IDepartment | string;
|
|
5985
|
-
teamAssigned: ITeam | string;
|
|
5986
|
-
numberListGPMProfiles: number;
|
|
5987
|
-
settingDescription: string;
|
|
5988
|
-
description: string;
|
|
5989
|
-
}
|
|
5990
|
-
interface ViewListGPMProfileDto {
|
|
5991
|
-
id: string;
|
|
5992
|
-
email: string;
|
|
5993
|
-
profileName: string;
|
|
5994
|
-
typeBrowser: ETypeBrowser;
|
|
5995
|
-
userAgent: string;
|
|
5996
|
-
language: string;
|
|
5997
|
-
hardware: string;
|
|
5998
|
-
proxyType: ETypeProxy;
|
|
5999
|
-
proxyStringOld: string;
|
|
6000
|
-
proxyStringNew: string;
|
|
6001
|
-
proxyStatus: EStatusProxyChecked;
|
|
6002
|
-
}
|
|
6003
|
-
interface ReplaceAccountVSPDto {
|
|
6004
|
-
ip: string;
|
|
6005
|
-
port: string;
|
|
6006
|
-
username: string;
|
|
6007
|
-
password: string;
|
|
6008
|
-
}
|
|
6009
|
-
interface FindOverviewAccountVPSDto {
|
|
6010
|
-
totalDepartments: number;
|
|
6011
|
-
totalLeaders: number;
|
|
6012
|
-
totalTeams: number;
|
|
6013
|
-
totalUsers: number;
|
|
6014
|
-
totalGroups: number;
|
|
6015
|
-
totalVPS: number;
|
|
6016
|
-
totalPrice: number;
|
|
6017
|
-
statusVPS: {
|
|
6018
|
-
[EVPSStatus.Active]: number;
|
|
6019
|
-
[EVPSStatus.Error]: number;
|
|
6020
|
-
[EVPSStatus.New]: number;
|
|
6021
|
-
[EVPSStatus.NA]: number;
|
|
6022
|
-
total: number;
|
|
6023
|
-
};
|
|
6024
|
-
statusConnect: {
|
|
6025
|
-
[EVPSStatusConnection.Connected]: number;
|
|
6026
|
-
[EVPSStatusConnection.Disconnected]: number;
|
|
6027
|
-
[EVPSStatusConnection.Error]: number;
|
|
6028
|
-
total: number;
|
|
6029
|
-
};
|
|
6030
|
-
statusReplace: {
|
|
6031
|
-
[EVPSStatusReplace.Done]: number;
|
|
6032
|
-
[EVPSStatusReplace.Error]: number;
|
|
6033
|
-
total: number;
|
|
6034
|
-
};
|
|
6035
|
-
statusRestart: {
|
|
6036
|
-
[EVPSStatusRestart.Restarted]: number;
|
|
6037
|
-
[EVPSStatusRestart.Restarting]: number;
|
|
6038
|
-
[EVPSStatusRestart.Error]: number;
|
|
6039
|
-
[EVPSStatusRestart.NA]: number;
|
|
6040
|
-
total: number;
|
|
6041
|
-
};
|
|
6042
|
-
statusExtension: {
|
|
6043
|
-
[EVPSExtension.Cancelled]: number;
|
|
6044
|
-
[EVPSExtension.Expired]: number;
|
|
6045
|
-
[EVPSExtension.Renewed]: number;
|
|
6046
|
-
total: number;
|
|
6047
|
-
};
|
|
6048
|
-
socials: {
|
|
6049
|
-
[ETypeSocial.Facebook]: number;
|
|
6050
|
-
[ETypeSocial.FacebookGroup]: number;
|
|
6051
|
-
[ETypeSocial.FacebookFanPage]: number;
|
|
6052
|
-
[ETypeSocial.Instagram]: number;
|
|
6053
|
-
[ETypeSocial.Tiktok]: number;
|
|
6054
|
-
[ETypeSocial.Twitter]: number;
|
|
6055
|
-
[ETypeSocial.Youtube]: number;
|
|
6056
|
-
[ETypeSocial.Medium]: number;
|
|
6057
|
-
[ETypeSocial.Reddit]: number;
|
|
6058
|
-
[ETypeSocial.Tumblr]: number;
|
|
6059
|
-
[ETypeSocial.Pinterest]: number;
|
|
6060
|
-
[ETypeSocial.Quora]: number;
|
|
6061
|
-
[ETypeSocial.Threads]: number;
|
|
6062
|
-
total: number;
|
|
6063
|
-
};
|
|
6064
|
-
statusProxy: {
|
|
6065
|
-
[ETypeProxyNewIP.Active]: number;
|
|
6066
|
-
[ETypeProxyNewIP.Error]: number;
|
|
6067
|
-
[ETypeProxyNewIP.NA]: number;
|
|
6068
|
-
total: number;
|
|
6069
|
-
};
|
|
6070
|
-
gpmLoginEmailStatus: {
|
|
6071
|
-
[EVPSStatusGpmLoginEmail.Active]: number;
|
|
6072
|
-
[EVPSStatusGpmLoginEmail.Error]: number;
|
|
6073
|
-
[EVPSStatusGpmLoginEmail.Verify]: number;
|
|
6074
|
-
[EVPSStatusGpmLoginEmail.Pending]: number;
|
|
6075
|
-
total: number;
|
|
6076
|
-
};
|
|
6077
|
-
}
|
|
6078
|
-
interface FilterAccountVPSDto extends IFilterBaseDto {
|
|
6079
|
-
accountVPSGroup: string[];
|
|
6080
|
-
listTypeSocial: ETypeSocial[];
|
|
6081
|
-
provider: string[];
|
|
6082
|
-
core: EVPSCore[];
|
|
6083
|
-
ram: EVPSRam[];
|
|
6084
|
-
status: EVPSStatus[];
|
|
6085
|
-
statusConnect: EVPSStatusConnection[];
|
|
6086
|
-
statusRestart: EVPSStatusRestart[];
|
|
6087
|
-
statusReplace: EVPSStatusReplace[];
|
|
6088
|
-
}
|
|
6089
|
-
|
|
6090
6089
|
interface FindAccountVPSGroupDto extends IFindBaseDto, IAccountVPSGroup {
|
|
6091
6090
|
numberAccountVPS: number;
|
|
6092
6091
|
}
|
package/dist/index.d.ts
CHANGED
|
@@ -5043,6 +5043,19 @@ interface IAccountVPN extends IBaseModel, IAssignUser, ITrackingModel {
|
|
|
5043
5043
|
note: string;
|
|
5044
5044
|
}
|
|
5045
5045
|
|
|
5046
|
+
interface IAccountVPSGroup extends IBaseModel, ITrackingModel {
|
|
5047
|
+
name: string;
|
|
5048
|
+
description: string;
|
|
5049
|
+
}
|
|
5050
|
+
|
|
5051
|
+
interface IAccountVPSListJob extends IBaseModel {
|
|
5052
|
+
nameJob: string;
|
|
5053
|
+
}
|
|
5054
|
+
|
|
5055
|
+
interface IAccountVPSProvider extends IBaseModel {
|
|
5056
|
+
name: string;
|
|
5057
|
+
}
|
|
5058
|
+
|
|
5046
5059
|
declare enum EVPSStatus {
|
|
5047
5060
|
New = "New",
|
|
5048
5061
|
Active = "Active",
|
|
@@ -5110,29 +5123,11 @@ declare enum EVPSStatusGpmLoginEmail {
|
|
|
5110
5123
|
Verify = "Verify"
|
|
5111
5124
|
}
|
|
5112
5125
|
|
|
5113
|
-
interface IAccountVPSGroup extends IBaseModel, ITrackingModel {
|
|
5114
|
-
name: string;
|
|
5115
|
-
description: string;
|
|
5116
|
-
}
|
|
5117
|
-
|
|
5118
|
-
interface IAccountVPSListJob extends IBaseModel {
|
|
5119
|
-
nameJob: string;
|
|
5120
|
-
}
|
|
5121
|
-
|
|
5122
|
-
interface IAccountVPSProvider extends IBaseModel {
|
|
5123
|
-
name: string;
|
|
5124
|
-
}
|
|
5125
|
-
|
|
5126
|
-
interface IAccountVPSSocial extends IBaseModel {
|
|
5127
|
-
accountVPS: string | IAccountVPS;
|
|
5128
|
-
typeSocial: ETypeSocial;
|
|
5129
|
-
}
|
|
5130
|
-
|
|
5131
5126
|
interface IAccountVPS extends IBaseModel, ITrackingModel {
|
|
5132
5127
|
group: string | IAccountVPSGroup;
|
|
5133
5128
|
listTypeSocial: string[] | IAccountVPSSocial[];
|
|
5134
5129
|
listJob: string[] | IAccountVPSListJob[];
|
|
5135
|
-
|
|
5130
|
+
providerIds: string[] | IAccountVPSProvider[];
|
|
5136
5131
|
ip: string;
|
|
5137
5132
|
port: string;
|
|
5138
5133
|
username: string;
|
|
@@ -5201,6 +5196,191 @@ interface IAccountVPS extends IBaseModel, ITrackingModel {
|
|
|
5201
5196
|
};
|
|
5202
5197
|
}
|
|
5203
5198
|
|
|
5199
|
+
interface IAccountVPSSocial extends IBaseModel {
|
|
5200
|
+
accountVPS: string | IAccountVPS;
|
|
5201
|
+
typeSocial: ETypeSocial;
|
|
5202
|
+
}
|
|
5203
|
+
|
|
5204
|
+
interface ImportAccountVPSDto {
|
|
5205
|
+
sheetName: string;
|
|
5206
|
+
sheetUrl: string;
|
|
5207
|
+
departmentAssigned: string;
|
|
5208
|
+
teamAssigned: string;
|
|
5209
|
+
}
|
|
5210
|
+
interface CreateAccountVPSDto {
|
|
5211
|
+
ip: string;
|
|
5212
|
+
port: string;
|
|
5213
|
+
username: string;
|
|
5214
|
+
password: string;
|
|
5215
|
+
core: EVPSCore;
|
|
5216
|
+
ram: EVPSRam;
|
|
5217
|
+
os: EVPSOs;
|
|
5218
|
+
numberDayUse: number;
|
|
5219
|
+
displayName: string;
|
|
5220
|
+
listTypeSocial: string[] | IAccountVPSSocial[];
|
|
5221
|
+
status: EVPSStatus;
|
|
5222
|
+
statusConnect: EVPSStatusConnection;
|
|
5223
|
+
statusExtension: EVPSExtension;
|
|
5224
|
+
numberHourForReset: EVPSTimeRestart;
|
|
5225
|
+
groupId: string;
|
|
5226
|
+
providerIds: string[];
|
|
5227
|
+
price: string;
|
|
5228
|
+
departmentAssigned: string | IDepartment;
|
|
5229
|
+
teamAssigned: string | ITeam;
|
|
5230
|
+
listJobsID: string[];
|
|
5231
|
+
settingDescription: string;
|
|
5232
|
+
description: string;
|
|
5233
|
+
}
|
|
5234
|
+
interface UpdateAccountVPSDto extends CreateAccountVPSDto {
|
|
5235
|
+
}
|
|
5236
|
+
interface FindAccountVPSDto extends IFindBaseDto {
|
|
5237
|
+
status: {
|
|
5238
|
+
value: EVPSStatus;
|
|
5239
|
+
timeChange: Date;
|
|
5240
|
+
};
|
|
5241
|
+
statusExtension: {
|
|
5242
|
+
value: EVPSExtension;
|
|
5243
|
+
time: Date;
|
|
5244
|
+
numberDayUse: number;
|
|
5245
|
+
dayExpired: Date;
|
|
5246
|
+
};
|
|
5247
|
+
statusConnect: {
|
|
5248
|
+
value: EVPSStatusConnection;
|
|
5249
|
+
time: Date;
|
|
5250
|
+
};
|
|
5251
|
+
statusRestart: {
|
|
5252
|
+
value: EVPSStatusRestart;
|
|
5253
|
+
time: Date;
|
|
5254
|
+
count: number;
|
|
5255
|
+
};
|
|
5256
|
+
statusReplace: {
|
|
5257
|
+
value: EVPSStatusReplace;
|
|
5258
|
+
time: Date;
|
|
5259
|
+
count: number;
|
|
5260
|
+
};
|
|
5261
|
+
noteFix: string;
|
|
5262
|
+
listTypeSocial: string[] | IAccountVPSSocial[];
|
|
5263
|
+
listJob: string[] | IAccountVPSListJob[];
|
|
5264
|
+
numberHourForReset: EVPSTimeRestart;
|
|
5265
|
+
group: string | IAccountVPSGroup;
|
|
5266
|
+
ip: string;
|
|
5267
|
+
port: string;
|
|
5268
|
+
username: string;
|
|
5269
|
+
password: string;
|
|
5270
|
+
displayName: string;
|
|
5271
|
+
providerIds: string[] | IAccountVPSProvider[];
|
|
5272
|
+
price: string;
|
|
5273
|
+
core: EVPSCore;
|
|
5274
|
+
ram: EVPSRam;
|
|
5275
|
+
os: EVPSOs;
|
|
5276
|
+
timeRaw: Date;
|
|
5277
|
+
timeRun: Date;
|
|
5278
|
+
departmentAssigned: IDepartment | string;
|
|
5279
|
+
teamAssigned: ITeam | string;
|
|
5280
|
+
numberListGPMProfiles: number;
|
|
5281
|
+
settingDescription: string;
|
|
5282
|
+
description: string;
|
|
5283
|
+
}
|
|
5284
|
+
interface ViewListGPMProfileDto {
|
|
5285
|
+
id: string;
|
|
5286
|
+
email: string;
|
|
5287
|
+
profileName: string;
|
|
5288
|
+
typeBrowser: ETypeBrowser;
|
|
5289
|
+
userAgent: string;
|
|
5290
|
+
language: string;
|
|
5291
|
+
hardware: string;
|
|
5292
|
+
proxyType: ETypeProxy;
|
|
5293
|
+
proxyStringOld: string;
|
|
5294
|
+
proxyStringNew: string;
|
|
5295
|
+
proxyStatus: EStatusProxyChecked;
|
|
5296
|
+
}
|
|
5297
|
+
interface ReplaceAccountVSPDto {
|
|
5298
|
+
ip: string;
|
|
5299
|
+
port: string;
|
|
5300
|
+
username: string;
|
|
5301
|
+
password: string;
|
|
5302
|
+
}
|
|
5303
|
+
interface FindOverviewAccountVPSDto {
|
|
5304
|
+
totalDepartments: number;
|
|
5305
|
+
totalLeaders: number;
|
|
5306
|
+
totalTeams: number;
|
|
5307
|
+
totalUsers: number;
|
|
5308
|
+
totalGroups: number;
|
|
5309
|
+
totalVPS: number;
|
|
5310
|
+
totalPrice: number;
|
|
5311
|
+
statusVPS: {
|
|
5312
|
+
[EVPSStatus.Active]: number;
|
|
5313
|
+
[EVPSStatus.Error]: number;
|
|
5314
|
+
[EVPSStatus.New]: number;
|
|
5315
|
+
[EVPSStatus.NA]: number;
|
|
5316
|
+
total: number;
|
|
5317
|
+
};
|
|
5318
|
+
statusConnect: {
|
|
5319
|
+
[EVPSStatusConnection.Connected]: number;
|
|
5320
|
+
[EVPSStatusConnection.Disconnected]: number;
|
|
5321
|
+
[EVPSStatusConnection.Error]: number;
|
|
5322
|
+
total: number;
|
|
5323
|
+
};
|
|
5324
|
+
statusReplace: {
|
|
5325
|
+
[EVPSStatusReplace.Done]: number;
|
|
5326
|
+
[EVPSStatusReplace.Error]: number;
|
|
5327
|
+
total: number;
|
|
5328
|
+
};
|
|
5329
|
+
statusRestart: {
|
|
5330
|
+
[EVPSStatusRestart.Restarted]: number;
|
|
5331
|
+
[EVPSStatusRestart.Restarting]: number;
|
|
5332
|
+
[EVPSStatusRestart.Error]: number;
|
|
5333
|
+
[EVPSStatusRestart.NA]: number;
|
|
5334
|
+
total: number;
|
|
5335
|
+
};
|
|
5336
|
+
statusExtension: {
|
|
5337
|
+
[EVPSExtension.Cancelled]: number;
|
|
5338
|
+
[EVPSExtension.Expired]: number;
|
|
5339
|
+
[EVPSExtension.Renewed]: number;
|
|
5340
|
+
total: number;
|
|
5341
|
+
};
|
|
5342
|
+
socials: {
|
|
5343
|
+
[ETypeSocial.Facebook]: number;
|
|
5344
|
+
[ETypeSocial.FacebookGroup]: number;
|
|
5345
|
+
[ETypeSocial.FacebookFanPage]: number;
|
|
5346
|
+
[ETypeSocial.Instagram]: number;
|
|
5347
|
+
[ETypeSocial.Tiktok]: number;
|
|
5348
|
+
[ETypeSocial.Twitter]: number;
|
|
5349
|
+
[ETypeSocial.Youtube]: number;
|
|
5350
|
+
[ETypeSocial.Medium]: number;
|
|
5351
|
+
[ETypeSocial.Reddit]: number;
|
|
5352
|
+
[ETypeSocial.Tumblr]: number;
|
|
5353
|
+
[ETypeSocial.Pinterest]: number;
|
|
5354
|
+
[ETypeSocial.Quora]: number;
|
|
5355
|
+
[ETypeSocial.Threads]: number;
|
|
5356
|
+
total: number;
|
|
5357
|
+
};
|
|
5358
|
+
statusProxy: {
|
|
5359
|
+
[ETypeProxyNewIP.Active]: number;
|
|
5360
|
+
[ETypeProxyNewIP.Error]: number;
|
|
5361
|
+
[ETypeProxyNewIP.NA]: number;
|
|
5362
|
+
total: number;
|
|
5363
|
+
};
|
|
5364
|
+
gpmLoginEmailStatus: {
|
|
5365
|
+
[EVPSStatusGpmLoginEmail.Active]: number;
|
|
5366
|
+
[EVPSStatusGpmLoginEmail.Error]: number;
|
|
5367
|
+
[EVPSStatusGpmLoginEmail.Verify]: number;
|
|
5368
|
+
[EVPSStatusGpmLoginEmail.Pending]: number;
|
|
5369
|
+
total: number;
|
|
5370
|
+
};
|
|
5371
|
+
}
|
|
5372
|
+
interface FilterAccountVPSDto extends IFilterBaseDto {
|
|
5373
|
+
accountVPSGroup: string[];
|
|
5374
|
+
listTypeSocial: ETypeSocial[];
|
|
5375
|
+
provider: string[];
|
|
5376
|
+
core: EVPSCore[];
|
|
5377
|
+
ram: EVPSRam[];
|
|
5378
|
+
status: EVPSStatus[];
|
|
5379
|
+
statusConnect: EVPSStatusConnection[];
|
|
5380
|
+
statusRestart: EVPSStatusRestart[];
|
|
5381
|
+
statusReplace: EVPSStatusReplace[];
|
|
5382
|
+
}
|
|
5383
|
+
|
|
5204
5384
|
declare enum EStatusEmailManager {
|
|
5205
5385
|
New = "New",// Chưa login
|
|
5206
5386
|
PendingLogin = "PendingLogin",// Chờ login
|
|
@@ -5906,187 +6086,6 @@ interface IAccountVpsChange extends IBaseModel {
|
|
|
5906
6086
|
noteFix: string;
|
|
5907
6087
|
}
|
|
5908
6088
|
|
|
5909
|
-
interface ImportAccountVPSDto {
|
|
5910
|
-
sheetName: string;
|
|
5911
|
-
sheetUrl: string;
|
|
5912
|
-
departmentAssigned: string;
|
|
5913
|
-
teamAssigned: string;
|
|
5914
|
-
}
|
|
5915
|
-
interface CreateAccountVPSDto {
|
|
5916
|
-
ip: string;
|
|
5917
|
-
port: string;
|
|
5918
|
-
username: string;
|
|
5919
|
-
password: string;
|
|
5920
|
-
core: EVPSCore;
|
|
5921
|
-
ram: EVPSRam;
|
|
5922
|
-
os: EVPSOs;
|
|
5923
|
-
numberDayUse: number;
|
|
5924
|
-
displayName: string;
|
|
5925
|
-
listTypeSocial: string[] | IAccountVPSSocial[];
|
|
5926
|
-
status: EVPSStatus;
|
|
5927
|
-
statusConnect: EVPSStatusConnection;
|
|
5928
|
-
statusExtension: EVPSExtension;
|
|
5929
|
-
numberHourForReset: EVPSTimeRestart;
|
|
5930
|
-
groupId: string;
|
|
5931
|
-
providerIds: string[];
|
|
5932
|
-
provider: string | string[];
|
|
5933
|
-
price: string;
|
|
5934
|
-
departmentAssigned: string | IDepartment;
|
|
5935
|
-
teamAssigned: string | ITeam;
|
|
5936
|
-
listJobsID: string[];
|
|
5937
|
-
settingDescription: string;
|
|
5938
|
-
description: string;
|
|
5939
|
-
}
|
|
5940
|
-
interface UpdateAccountVPSDto extends CreateAccountVPSDto {
|
|
5941
|
-
}
|
|
5942
|
-
interface FindAccountVPSDto extends IFindBaseDto {
|
|
5943
|
-
status: {
|
|
5944
|
-
value: EVPSStatus;
|
|
5945
|
-
timeChange: Date;
|
|
5946
|
-
};
|
|
5947
|
-
statusExtension: {
|
|
5948
|
-
value: EVPSExtension;
|
|
5949
|
-
time: Date;
|
|
5950
|
-
numberDayUse: number;
|
|
5951
|
-
dayExpired: Date;
|
|
5952
|
-
};
|
|
5953
|
-
statusConnect: {
|
|
5954
|
-
value: EVPSStatusConnection;
|
|
5955
|
-
time: Date;
|
|
5956
|
-
};
|
|
5957
|
-
statusRestart: {
|
|
5958
|
-
value: EVPSStatusRestart;
|
|
5959
|
-
time: Date;
|
|
5960
|
-
count: number;
|
|
5961
|
-
};
|
|
5962
|
-
statusReplace: {
|
|
5963
|
-
value: EVPSStatusReplace;
|
|
5964
|
-
time: Date;
|
|
5965
|
-
count: number;
|
|
5966
|
-
};
|
|
5967
|
-
noteFix: string;
|
|
5968
|
-
listTypeSocial: string[] | IAccountVPSSocial[];
|
|
5969
|
-
listJob: string[] | IAccountVPSListJob[];
|
|
5970
|
-
numberHourForReset: EVPSTimeRestart;
|
|
5971
|
-
group: string | IAccountVPSGroup;
|
|
5972
|
-
ip: string;
|
|
5973
|
-
port: string;
|
|
5974
|
-
username: string;
|
|
5975
|
-
password: string;
|
|
5976
|
-
displayName: string;
|
|
5977
|
-
provider: any;
|
|
5978
|
-
price: string;
|
|
5979
|
-
core: EVPSCore;
|
|
5980
|
-
ram: EVPSRam;
|
|
5981
|
-
os: EVPSOs;
|
|
5982
|
-
timeRaw: Date;
|
|
5983
|
-
timeRun: Date;
|
|
5984
|
-
departmentAssigned: IDepartment | string;
|
|
5985
|
-
teamAssigned: ITeam | string;
|
|
5986
|
-
numberListGPMProfiles: number;
|
|
5987
|
-
settingDescription: string;
|
|
5988
|
-
description: string;
|
|
5989
|
-
}
|
|
5990
|
-
interface ViewListGPMProfileDto {
|
|
5991
|
-
id: string;
|
|
5992
|
-
email: string;
|
|
5993
|
-
profileName: string;
|
|
5994
|
-
typeBrowser: ETypeBrowser;
|
|
5995
|
-
userAgent: string;
|
|
5996
|
-
language: string;
|
|
5997
|
-
hardware: string;
|
|
5998
|
-
proxyType: ETypeProxy;
|
|
5999
|
-
proxyStringOld: string;
|
|
6000
|
-
proxyStringNew: string;
|
|
6001
|
-
proxyStatus: EStatusProxyChecked;
|
|
6002
|
-
}
|
|
6003
|
-
interface ReplaceAccountVSPDto {
|
|
6004
|
-
ip: string;
|
|
6005
|
-
port: string;
|
|
6006
|
-
username: string;
|
|
6007
|
-
password: string;
|
|
6008
|
-
}
|
|
6009
|
-
interface FindOverviewAccountVPSDto {
|
|
6010
|
-
totalDepartments: number;
|
|
6011
|
-
totalLeaders: number;
|
|
6012
|
-
totalTeams: number;
|
|
6013
|
-
totalUsers: number;
|
|
6014
|
-
totalGroups: number;
|
|
6015
|
-
totalVPS: number;
|
|
6016
|
-
totalPrice: number;
|
|
6017
|
-
statusVPS: {
|
|
6018
|
-
[EVPSStatus.Active]: number;
|
|
6019
|
-
[EVPSStatus.Error]: number;
|
|
6020
|
-
[EVPSStatus.New]: number;
|
|
6021
|
-
[EVPSStatus.NA]: number;
|
|
6022
|
-
total: number;
|
|
6023
|
-
};
|
|
6024
|
-
statusConnect: {
|
|
6025
|
-
[EVPSStatusConnection.Connected]: number;
|
|
6026
|
-
[EVPSStatusConnection.Disconnected]: number;
|
|
6027
|
-
[EVPSStatusConnection.Error]: number;
|
|
6028
|
-
total: number;
|
|
6029
|
-
};
|
|
6030
|
-
statusReplace: {
|
|
6031
|
-
[EVPSStatusReplace.Done]: number;
|
|
6032
|
-
[EVPSStatusReplace.Error]: number;
|
|
6033
|
-
total: number;
|
|
6034
|
-
};
|
|
6035
|
-
statusRestart: {
|
|
6036
|
-
[EVPSStatusRestart.Restarted]: number;
|
|
6037
|
-
[EVPSStatusRestart.Restarting]: number;
|
|
6038
|
-
[EVPSStatusRestart.Error]: number;
|
|
6039
|
-
[EVPSStatusRestart.NA]: number;
|
|
6040
|
-
total: number;
|
|
6041
|
-
};
|
|
6042
|
-
statusExtension: {
|
|
6043
|
-
[EVPSExtension.Cancelled]: number;
|
|
6044
|
-
[EVPSExtension.Expired]: number;
|
|
6045
|
-
[EVPSExtension.Renewed]: number;
|
|
6046
|
-
total: number;
|
|
6047
|
-
};
|
|
6048
|
-
socials: {
|
|
6049
|
-
[ETypeSocial.Facebook]: number;
|
|
6050
|
-
[ETypeSocial.FacebookGroup]: number;
|
|
6051
|
-
[ETypeSocial.FacebookFanPage]: number;
|
|
6052
|
-
[ETypeSocial.Instagram]: number;
|
|
6053
|
-
[ETypeSocial.Tiktok]: number;
|
|
6054
|
-
[ETypeSocial.Twitter]: number;
|
|
6055
|
-
[ETypeSocial.Youtube]: number;
|
|
6056
|
-
[ETypeSocial.Medium]: number;
|
|
6057
|
-
[ETypeSocial.Reddit]: number;
|
|
6058
|
-
[ETypeSocial.Tumblr]: number;
|
|
6059
|
-
[ETypeSocial.Pinterest]: number;
|
|
6060
|
-
[ETypeSocial.Quora]: number;
|
|
6061
|
-
[ETypeSocial.Threads]: number;
|
|
6062
|
-
total: number;
|
|
6063
|
-
};
|
|
6064
|
-
statusProxy: {
|
|
6065
|
-
[ETypeProxyNewIP.Active]: number;
|
|
6066
|
-
[ETypeProxyNewIP.Error]: number;
|
|
6067
|
-
[ETypeProxyNewIP.NA]: number;
|
|
6068
|
-
total: number;
|
|
6069
|
-
};
|
|
6070
|
-
gpmLoginEmailStatus: {
|
|
6071
|
-
[EVPSStatusGpmLoginEmail.Active]: number;
|
|
6072
|
-
[EVPSStatusGpmLoginEmail.Error]: number;
|
|
6073
|
-
[EVPSStatusGpmLoginEmail.Verify]: number;
|
|
6074
|
-
[EVPSStatusGpmLoginEmail.Pending]: number;
|
|
6075
|
-
total: number;
|
|
6076
|
-
};
|
|
6077
|
-
}
|
|
6078
|
-
interface FilterAccountVPSDto extends IFilterBaseDto {
|
|
6079
|
-
accountVPSGroup: string[];
|
|
6080
|
-
listTypeSocial: ETypeSocial[];
|
|
6081
|
-
provider: string[];
|
|
6082
|
-
core: EVPSCore[];
|
|
6083
|
-
ram: EVPSRam[];
|
|
6084
|
-
status: EVPSStatus[];
|
|
6085
|
-
statusConnect: EVPSStatusConnection[];
|
|
6086
|
-
statusRestart: EVPSStatusRestart[];
|
|
6087
|
-
statusReplace: EVPSStatusReplace[];
|
|
6088
|
-
}
|
|
6089
|
-
|
|
6090
6089
|
interface FindAccountVPSGroupDto extends IFindBaseDto, IAccountVPSGroup {
|
|
6091
6090
|
numberAccountVPS: number;
|
|
6092
6091
|
}
|