@technova-tech/olive-proto-lib 1.9.9 → 2.0.1
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/package.json +1 -1
- package/pos.v1/terminals.js +151 -1
- package/types/pos.v1/terminals.d.ts +50 -2
package/package.json
CHANGED
package/pos.v1/terminals.js
CHANGED
|
@@ -946,7 +946,7 @@ var com;
|
|
|
946
946
|
}
|
|
947
947
|
terminals.GetTerminalInstanceResponse = GetTerminalInstanceResponse;
|
|
948
948
|
class UpdateTerminalInstanceRequest extends pb_1.Message {
|
|
949
|
-
#one_of_decls = [];
|
|
949
|
+
#one_of_decls = [[12]];
|
|
950
950
|
constructor(data) {
|
|
951
951
|
super();
|
|
952
952
|
pb_1.Message.initialize(this, Array.isArray(data) ? data : [], 0, -1, [], this.#one_of_decls);
|
|
@@ -984,6 +984,9 @@ var com;
|
|
|
984
984
|
if ("auditContext" in data && data.auditContext != undefined) {
|
|
985
985
|
this.auditContext = data.auditContext;
|
|
986
986
|
}
|
|
987
|
+
if ("active" in data && data.active != undefined) {
|
|
988
|
+
this.active = data.active;
|
|
989
|
+
}
|
|
987
990
|
}
|
|
988
991
|
if (!this.deviceConfiguration)
|
|
989
992
|
this.deviceConfiguration = new Map();
|
|
@@ -1054,6 +1057,22 @@ var com;
|
|
|
1054
1057
|
set auditContext(value) {
|
|
1055
1058
|
pb_1.Message.setField(this, 11, value);
|
|
1056
1059
|
}
|
|
1060
|
+
get active() {
|
|
1061
|
+
return pb_1.Message.getFieldWithDefault(this, 12, false);
|
|
1062
|
+
}
|
|
1063
|
+
set active(value) {
|
|
1064
|
+
pb_1.Message.setOneofField(this, 12, this.#one_of_decls[0], value);
|
|
1065
|
+
}
|
|
1066
|
+
get hasActive() {
|
|
1067
|
+
return pb_1.Message.getField(this, 12) != null;
|
|
1068
|
+
}
|
|
1069
|
+
get _active() {
|
|
1070
|
+
const cases = {
|
|
1071
|
+
0: "none",
|
|
1072
|
+
12: "active"
|
|
1073
|
+
};
|
|
1074
|
+
return cases[pb_1.Message.computeOneofCase(this, [12])];
|
|
1075
|
+
}
|
|
1057
1076
|
static fromObject(data) {
|
|
1058
1077
|
const message = new UpdateTerminalInstanceRequest({});
|
|
1059
1078
|
if (data.instanceId != null) {
|
|
@@ -1089,6 +1108,9 @@ var com;
|
|
|
1089
1108
|
if (data.auditContext != null) {
|
|
1090
1109
|
message.auditContext = data.auditContext;
|
|
1091
1110
|
}
|
|
1111
|
+
if (data.active != null) {
|
|
1112
|
+
message.active = data.active;
|
|
1113
|
+
}
|
|
1092
1114
|
return message;
|
|
1093
1115
|
}
|
|
1094
1116
|
toObject() {
|
|
@@ -1126,6 +1148,9 @@ var com;
|
|
|
1126
1148
|
if (this.auditContext != null) {
|
|
1127
1149
|
data.auditContext = this.auditContext;
|
|
1128
1150
|
}
|
|
1151
|
+
if (this.active != null) {
|
|
1152
|
+
data.active = this.active;
|
|
1153
|
+
}
|
|
1129
1154
|
return data;
|
|
1130
1155
|
}
|
|
1131
1156
|
serialize(w) {
|
|
@@ -1156,6 +1181,8 @@ var com;
|
|
|
1156
1181
|
writer.writeString(10, this.processorTid);
|
|
1157
1182
|
if (this.auditContext.length)
|
|
1158
1183
|
writer.writeString(11, this.auditContext);
|
|
1184
|
+
if (this.hasActive)
|
|
1185
|
+
writer.writeBool(12, this.active);
|
|
1159
1186
|
if (!w)
|
|
1160
1187
|
return writer.getResultBuffer();
|
|
1161
1188
|
}
|
|
@@ -1198,6 +1225,9 @@ var com;
|
|
|
1198
1225
|
case 11:
|
|
1199
1226
|
message.auditContext = reader.readString();
|
|
1200
1227
|
break;
|
|
1228
|
+
case 12:
|
|
1229
|
+
message.active = reader.readBool();
|
|
1230
|
+
break;
|
|
1201
1231
|
default: reader.skipField();
|
|
1202
1232
|
}
|
|
1203
1233
|
}
|
|
@@ -1511,6 +1541,9 @@ var com;
|
|
|
1511
1541
|
if ("processorTid" in data && data.processorTid != undefined) {
|
|
1512
1542
|
this.processorTid = data.processorTid;
|
|
1513
1543
|
}
|
|
1544
|
+
if ("active" in data && data.active != undefined) {
|
|
1545
|
+
this.active = data.active;
|
|
1546
|
+
}
|
|
1514
1547
|
}
|
|
1515
1548
|
}
|
|
1516
1549
|
get id() {
|
|
@@ -1609,6 +1642,12 @@ var com;
|
|
|
1609
1642
|
set processorTid(value) {
|
|
1610
1643
|
pb_1.Message.setField(this, 16, value);
|
|
1611
1644
|
}
|
|
1645
|
+
get active() {
|
|
1646
|
+
return pb_1.Message.getFieldWithDefault(this, 17, false);
|
|
1647
|
+
}
|
|
1648
|
+
set active(value) {
|
|
1649
|
+
pb_1.Message.setField(this, 17, value);
|
|
1650
|
+
}
|
|
1612
1651
|
static fromObject(data) {
|
|
1613
1652
|
const message = new TerminalInstanceDetails({});
|
|
1614
1653
|
if (data.id != null) {
|
|
@@ -1659,6 +1698,9 @@ var com;
|
|
|
1659
1698
|
if (data.processorTid != null) {
|
|
1660
1699
|
message.processorTid = data.processorTid;
|
|
1661
1700
|
}
|
|
1701
|
+
if (data.active != null) {
|
|
1702
|
+
message.active = data.active;
|
|
1703
|
+
}
|
|
1662
1704
|
return message;
|
|
1663
1705
|
}
|
|
1664
1706
|
toObject() {
|
|
@@ -1711,6 +1753,9 @@ var com;
|
|
|
1711
1753
|
if (this.processorTid != null) {
|
|
1712
1754
|
data.processorTid = this.processorTid;
|
|
1713
1755
|
}
|
|
1756
|
+
if (this.active != null) {
|
|
1757
|
+
data.active = this.active;
|
|
1758
|
+
}
|
|
1714
1759
|
return data;
|
|
1715
1760
|
}
|
|
1716
1761
|
serialize(w) {
|
|
@@ -1747,6 +1792,8 @@ var com;
|
|
|
1747
1792
|
writer.writeRepeatedMessage(15, this.functions, (item) => item.serialize(writer));
|
|
1748
1793
|
if (this.processorTid.length)
|
|
1749
1794
|
writer.writeString(16, this.processorTid);
|
|
1795
|
+
if (this.active != false)
|
|
1796
|
+
writer.writeBool(17, this.active);
|
|
1750
1797
|
if (!w)
|
|
1751
1798
|
return writer.getResultBuffer();
|
|
1752
1799
|
}
|
|
@@ -1804,6 +1851,9 @@ var com;
|
|
|
1804
1851
|
case 16:
|
|
1805
1852
|
message.processorTid = reader.readString();
|
|
1806
1853
|
break;
|
|
1854
|
+
case 17:
|
|
1855
|
+
message.active = reader.readBool();
|
|
1856
|
+
break;
|
|
1807
1857
|
default: reader.skipField();
|
|
1808
1858
|
}
|
|
1809
1859
|
}
|
|
@@ -5264,6 +5314,9 @@ var com;
|
|
|
5264
5314
|
if ("category" in data && data.category != undefined) {
|
|
5265
5315
|
this.category = data.category;
|
|
5266
5316
|
}
|
|
5317
|
+
if ("active" in data && data.active != undefined) {
|
|
5318
|
+
this.active = data.active;
|
|
5319
|
+
}
|
|
5267
5320
|
}
|
|
5268
5321
|
}
|
|
5269
5322
|
get instanceId() {
|
|
@@ -5341,6 +5394,12 @@ var com;
|
|
|
5341
5394
|
set category(value) {
|
|
5342
5395
|
pb_1.Message.setField(this, 12, value);
|
|
5343
5396
|
}
|
|
5397
|
+
get active() {
|
|
5398
|
+
return pb_1.Message.getFieldWithDefault(this, 13, false);
|
|
5399
|
+
}
|
|
5400
|
+
set active(value) {
|
|
5401
|
+
pb_1.Message.setField(this, 13, value);
|
|
5402
|
+
}
|
|
5344
5403
|
static fromObject(data) {
|
|
5345
5404
|
const message = new AvailableTerminalData({});
|
|
5346
5405
|
if (data.instanceId != null) {
|
|
@@ -5379,6 +5438,9 @@ var com;
|
|
|
5379
5438
|
if (data.category != null) {
|
|
5380
5439
|
message.category = data.category;
|
|
5381
5440
|
}
|
|
5441
|
+
if (data.active != null) {
|
|
5442
|
+
message.active = data.active;
|
|
5443
|
+
}
|
|
5382
5444
|
return message;
|
|
5383
5445
|
}
|
|
5384
5446
|
toObject() {
|
|
@@ -5419,6 +5481,9 @@ var com;
|
|
|
5419
5481
|
if (this.category != null) {
|
|
5420
5482
|
data.category = this.category;
|
|
5421
5483
|
}
|
|
5484
|
+
if (this.active != null) {
|
|
5485
|
+
data.active = this.active;
|
|
5486
|
+
}
|
|
5422
5487
|
return data;
|
|
5423
5488
|
}
|
|
5424
5489
|
serialize(w) {
|
|
@@ -5447,6 +5512,8 @@ var com;
|
|
|
5447
5512
|
writer.writeString(11, this.processorTid);
|
|
5448
5513
|
if (this.category.length)
|
|
5449
5514
|
writer.writeString(12, this.category);
|
|
5515
|
+
if (this.active != false)
|
|
5516
|
+
writer.writeBool(13, this.active);
|
|
5450
5517
|
if (!w)
|
|
5451
5518
|
return writer.getResultBuffer();
|
|
5452
5519
|
}
|
|
@@ -5492,6 +5559,9 @@ var com;
|
|
|
5492
5559
|
case 12:
|
|
5493
5560
|
message.category = reader.readString();
|
|
5494
5561
|
break;
|
|
5562
|
+
case 13:
|
|
5563
|
+
message.active = reader.readBool();
|
|
5564
|
+
break;
|
|
5495
5565
|
default: reader.skipField();
|
|
5496
5566
|
}
|
|
5497
5567
|
}
|
|
@@ -10093,6 +10163,18 @@ var com;
|
|
|
10093
10163
|
if ("virtualAccount" in data && data.virtualAccount != undefined) {
|
|
10094
10164
|
this.virtualAccount = data.virtualAccount;
|
|
10095
10165
|
}
|
|
10166
|
+
if ("token" in data && data.token != undefined) {
|
|
10167
|
+
this.token = data.token;
|
|
10168
|
+
}
|
|
10169
|
+
if ("sessionId" in data && data.sessionId != undefined) {
|
|
10170
|
+
this.sessionId = data.sessionId;
|
|
10171
|
+
}
|
|
10172
|
+
if ("tokenExpiresAt" in data && data.tokenExpiresAt != undefined) {
|
|
10173
|
+
this.tokenExpiresAt = data.tokenExpiresAt;
|
|
10174
|
+
}
|
|
10175
|
+
if ("sessionExpiresAt" in data && data.sessionExpiresAt != undefined) {
|
|
10176
|
+
this.sessionExpiresAt = data.sessionExpiresAt;
|
|
10177
|
+
}
|
|
10096
10178
|
}
|
|
10097
10179
|
}
|
|
10098
10180
|
get businessContextToken() {
|
|
@@ -10164,6 +10246,30 @@ var com;
|
|
|
10164
10246
|
get hasVirtualAccount() {
|
|
10165
10247
|
return pb_1.Message.getField(this, 10) != null;
|
|
10166
10248
|
}
|
|
10249
|
+
get token() {
|
|
10250
|
+
return pb_1.Message.getFieldWithDefault(this, 11, "");
|
|
10251
|
+
}
|
|
10252
|
+
set token(value) {
|
|
10253
|
+
pb_1.Message.setField(this, 11, value);
|
|
10254
|
+
}
|
|
10255
|
+
get sessionId() {
|
|
10256
|
+
return pb_1.Message.getFieldWithDefault(this, 12, "");
|
|
10257
|
+
}
|
|
10258
|
+
set sessionId(value) {
|
|
10259
|
+
pb_1.Message.setField(this, 12, value);
|
|
10260
|
+
}
|
|
10261
|
+
get tokenExpiresAt() {
|
|
10262
|
+
return pb_1.Message.getFieldWithDefault(this, 13, "");
|
|
10263
|
+
}
|
|
10264
|
+
set tokenExpiresAt(value) {
|
|
10265
|
+
pb_1.Message.setField(this, 13, value);
|
|
10266
|
+
}
|
|
10267
|
+
get sessionExpiresAt() {
|
|
10268
|
+
return pb_1.Message.getFieldWithDefault(this, 14, "");
|
|
10269
|
+
}
|
|
10270
|
+
set sessionExpiresAt(value) {
|
|
10271
|
+
pb_1.Message.setField(this, 14, value);
|
|
10272
|
+
}
|
|
10167
10273
|
static fromObject(data) {
|
|
10168
10274
|
const message = new BusinessContextData({});
|
|
10169
10275
|
if (data.businessContextToken != null) {
|
|
@@ -10196,6 +10302,18 @@ var com;
|
|
|
10196
10302
|
if (data.virtualAccount != null) {
|
|
10197
10303
|
message.virtualAccount = VirtualAccountInfo.fromObject(data.virtualAccount);
|
|
10198
10304
|
}
|
|
10305
|
+
if (data.token != null) {
|
|
10306
|
+
message.token = data.token;
|
|
10307
|
+
}
|
|
10308
|
+
if (data.sessionId != null) {
|
|
10309
|
+
message.sessionId = data.sessionId;
|
|
10310
|
+
}
|
|
10311
|
+
if (data.tokenExpiresAt != null) {
|
|
10312
|
+
message.tokenExpiresAt = data.tokenExpiresAt;
|
|
10313
|
+
}
|
|
10314
|
+
if (data.sessionExpiresAt != null) {
|
|
10315
|
+
message.sessionExpiresAt = data.sessionExpiresAt;
|
|
10316
|
+
}
|
|
10199
10317
|
return message;
|
|
10200
10318
|
}
|
|
10201
10319
|
toObject() {
|
|
@@ -10230,6 +10348,18 @@ var com;
|
|
|
10230
10348
|
if (this.virtualAccount != null) {
|
|
10231
10349
|
data.virtualAccount = this.virtualAccount.toObject();
|
|
10232
10350
|
}
|
|
10351
|
+
if (this.token != null) {
|
|
10352
|
+
data.token = this.token;
|
|
10353
|
+
}
|
|
10354
|
+
if (this.sessionId != null) {
|
|
10355
|
+
data.sessionId = this.sessionId;
|
|
10356
|
+
}
|
|
10357
|
+
if (this.tokenExpiresAt != null) {
|
|
10358
|
+
data.tokenExpiresAt = this.tokenExpiresAt;
|
|
10359
|
+
}
|
|
10360
|
+
if (this.sessionExpiresAt != null) {
|
|
10361
|
+
data.sessionExpiresAt = this.sessionExpiresAt;
|
|
10362
|
+
}
|
|
10233
10363
|
return data;
|
|
10234
10364
|
}
|
|
10235
10365
|
serialize(w) {
|
|
@@ -10254,6 +10384,14 @@ var com;
|
|
|
10254
10384
|
writer.writeString(9, this.processorName);
|
|
10255
10385
|
if (this.hasVirtualAccount)
|
|
10256
10386
|
writer.writeMessage(10, this.virtualAccount, () => this.virtualAccount.serialize(writer));
|
|
10387
|
+
if (this.token.length)
|
|
10388
|
+
writer.writeString(11, this.token);
|
|
10389
|
+
if (this.sessionId.length)
|
|
10390
|
+
writer.writeString(12, this.sessionId);
|
|
10391
|
+
if (this.tokenExpiresAt.length)
|
|
10392
|
+
writer.writeString(13, this.tokenExpiresAt);
|
|
10393
|
+
if (this.sessionExpiresAt.length)
|
|
10394
|
+
writer.writeString(14, this.sessionExpiresAt);
|
|
10257
10395
|
if (!w)
|
|
10258
10396
|
return writer.getResultBuffer();
|
|
10259
10397
|
}
|
|
@@ -10293,6 +10431,18 @@ var com;
|
|
|
10293
10431
|
case 10:
|
|
10294
10432
|
reader.readMessage(message.virtualAccount, () => message.virtualAccount = VirtualAccountInfo.deserialize(reader));
|
|
10295
10433
|
break;
|
|
10434
|
+
case 11:
|
|
10435
|
+
message.token = reader.readString();
|
|
10436
|
+
break;
|
|
10437
|
+
case 12:
|
|
10438
|
+
message.sessionId = reader.readString();
|
|
10439
|
+
break;
|
|
10440
|
+
case 13:
|
|
10441
|
+
message.tokenExpiresAt = reader.readString();
|
|
10442
|
+
break;
|
|
10443
|
+
case 14:
|
|
10444
|
+
message.sessionExpiresAt = reader.readString();
|
|
10445
|
+
break;
|
|
10296
10446
|
default: reader.skipField();
|
|
10297
10447
|
}
|
|
10298
10448
|
}
|
|
@@ -208,6 +208,7 @@ export declare namespace com.pkg.posv1.terminals {
|
|
|
208
208
|
enabled?: boolean | undefined;
|
|
209
209
|
}[] | undefined;
|
|
210
210
|
processorTid?: string | undefined;
|
|
211
|
+
active?: boolean | undefined;
|
|
211
212
|
}[] | undefined;
|
|
212
213
|
terminalType?: {
|
|
213
214
|
id?: string | undefined;
|
|
@@ -303,6 +304,7 @@ export declare namespace com.pkg.posv1.terminals {
|
|
|
303
304
|
enabled?: boolean | undefined;
|
|
304
305
|
}[] | undefined;
|
|
305
306
|
processorTid?: string | undefined;
|
|
307
|
+
active?: boolean | undefined;
|
|
306
308
|
} | undefined;
|
|
307
309
|
errors?: string[] | undefined;
|
|
308
310
|
};
|
|
@@ -314,7 +316,7 @@ export declare namespace com.pkg.posv1.terminals {
|
|
|
314
316
|
}
|
|
315
317
|
export class UpdateTerminalInstanceRequest extends pb_1.Message {
|
|
316
318
|
#private;
|
|
317
|
-
constructor(data?: any[] | {
|
|
319
|
+
constructor(data?: any[] | ({
|
|
318
320
|
instanceId?: string;
|
|
319
321
|
status?: string;
|
|
320
322
|
condition?: string;
|
|
@@ -326,7 +328,9 @@ export declare namespace com.pkg.posv1.terminals {
|
|
|
326
328
|
notes?: string;
|
|
327
329
|
processorTid?: string;
|
|
328
330
|
auditContext?: string;
|
|
329
|
-
}
|
|
331
|
+
} & (({
|
|
332
|
+
active?: boolean;
|
|
333
|
+
}))));
|
|
330
334
|
get instanceId(): string;
|
|
331
335
|
set instanceId(value: string);
|
|
332
336
|
get status(): string;
|
|
@@ -349,6 +353,10 @@ export declare namespace com.pkg.posv1.terminals {
|
|
|
349
353
|
set processorTid(value: string);
|
|
350
354
|
get auditContext(): string;
|
|
351
355
|
set auditContext(value: string);
|
|
356
|
+
get active(): boolean;
|
|
357
|
+
set active(value: boolean);
|
|
358
|
+
get hasActive(): boolean;
|
|
359
|
+
get _active(): "active" | "none";
|
|
352
360
|
static fromObject(data: {
|
|
353
361
|
instanceId?: string;
|
|
354
362
|
status?: string;
|
|
@@ -363,6 +371,7 @@ export declare namespace com.pkg.posv1.terminals {
|
|
|
363
371
|
notes?: string;
|
|
364
372
|
processorTid?: string;
|
|
365
373
|
auditContext?: string;
|
|
374
|
+
active?: boolean;
|
|
366
375
|
}): UpdateTerminalInstanceRequest;
|
|
367
376
|
toObject(): {
|
|
368
377
|
instanceId?: string | undefined;
|
|
@@ -378,6 +387,7 @@ export declare namespace com.pkg.posv1.terminals {
|
|
|
378
387
|
notes?: string | undefined;
|
|
379
388
|
processorTid?: string | undefined;
|
|
380
389
|
auditContext?: string | undefined;
|
|
390
|
+
active?: boolean | undefined;
|
|
381
391
|
};
|
|
382
392
|
serialize(): Uint8Array;
|
|
383
393
|
serialize(w: pb_1.BinaryWriter): void;
|
|
@@ -433,6 +443,7 @@ export declare namespace com.pkg.posv1.terminals {
|
|
|
433
443
|
enabled?: boolean | undefined;
|
|
434
444
|
}[] | undefined;
|
|
435
445
|
processorTid?: string | undefined;
|
|
446
|
+
active?: boolean | undefined;
|
|
436
447
|
} | undefined;
|
|
437
448
|
errors?: string[] | undefined;
|
|
438
449
|
};
|
|
@@ -488,6 +499,7 @@ export declare namespace com.pkg.posv1.terminals {
|
|
|
488
499
|
enabled?: boolean | undefined;
|
|
489
500
|
}[] | undefined;
|
|
490
501
|
processorTid?: string | undefined;
|
|
502
|
+
active?: boolean | undefined;
|
|
491
503
|
}[] | undefined;
|
|
492
504
|
terminalType?: {
|
|
493
505
|
id?: string | undefined;
|
|
@@ -523,6 +535,7 @@ export declare namespace com.pkg.posv1.terminals {
|
|
|
523
535
|
updatedAt?: string;
|
|
524
536
|
functions?: TerminalFunction[];
|
|
525
537
|
processorTid?: string;
|
|
538
|
+
active?: boolean;
|
|
526
539
|
});
|
|
527
540
|
get id(): string;
|
|
528
541
|
set id(value: string);
|
|
@@ -556,6 +569,8 @@ export declare namespace com.pkg.posv1.terminals {
|
|
|
556
569
|
set functions(value: TerminalFunction[]);
|
|
557
570
|
get processorTid(): string;
|
|
558
571
|
set processorTid(value: string);
|
|
572
|
+
get active(): boolean;
|
|
573
|
+
set active(value: boolean);
|
|
559
574
|
static fromObject(data: {
|
|
560
575
|
id?: string;
|
|
561
576
|
terminalInstanceId?: string;
|
|
@@ -573,6 +588,7 @@ export declare namespace com.pkg.posv1.terminals {
|
|
|
573
588
|
updatedAt?: string;
|
|
574
589
|
functions?: ReturnType<typeof TerminalFunction.prototype.toObject>[];
|
|
575
590
|
processorTid?: string;
|
|
591
|
+
active?: boolean;
|
|
576
592
|
}): TerminalInstanceDetails;
|
|
577
593
|
toObject(): {
|
|
578
594
|
id?: string | undefined;
|
|
@@ -596,6 +612,7 @@ export declare namespace com.pkg.posv1.terminals {
|
|
|
596
612
|
enabled?: boolean | undefined;
|
|
597
613
|
}[] | undefined;
|
|
598
614
|
processorTid?: string | undefined;
|
|
615
|
+
active?: boolean | undefined;
|
|
599
616
|
};
|
|
600
617
|
serialize(): Uint8Array;
|
|
601
618
|
serialize(w: pb_1.BinaryWriter): void;
|
|
@@ -1364,6 +1381,7 @@ export declare namespace com.pkg.posv1.terminals {
|
|
|
1364
1381
|
createdAt?: string | undefined;
|
|
1365
1382
|
processorTid?: string | undefined;
|
|
1366
1383
|
category?: string | undefined;
|
|
1384
|
+
active?: boolean | undefined;
|
|
1367
1385
|
}[] | undefined;
|
|
1368
1386
|
pagination?: {
|
|
1369
1387
|
currentPage?: number | undefined;
|
|
@@ -1917,6 +1935,7 @@ export declare namespace com.pkg.posv1.terminals {
|
|
|
1917
1935
|
createdAt?: string;
|
|
1918
1936
|
processorTid?: string;
|
|
1919
1937
|
category?: string;
|
|
1938
|
+
active?: boolean;
|
|
1920
1939
|
});
|
|
1921
1940
|
get instanceId(): string;
|
|
1922
1941
|
set instanceId(value: string);
|
|
@@ -1943,6 +1962,8 @@ export declare namespace com.pkg.posv1.terminals {
|
|
|
1943
1962
|
set processorTid(value: string);
|
|
1944
1963
|
get category(): string;
|
|
1945
1964
|
set category(value: string);
|
|
1965
|
+
get active(): boolean;
|
|
1966
|
+
set active(value: boolean);
|
|
1946
1967
|
static fromObject(data: {
|
|
1947
1968
|
instanceId?: string;
|
|
1948
1969
|
serialNumber?: string;
|
|
@@ -1956,6 +1977,7 @@ export declare namespace com.pkg.posv1.terminals {
|
|
|
1956
1977
|
createdAt?: string;
|
|
1957
1978
|
processorTid?: string;
|
|
1958
1979
|
category?: string;
|
|
1980
|
+
active?: boolean;
|
|
1959
1981
|
}): AvailableTerminalData;
|
|
1960
1982
|
toObject(): {
|
|
1961
1983
|
instanceId?: string | undefined;
|
|
@@ -1975,6 +1997,7 @@ export declare namespace com.pkg.posv1.terminals {
|
|
|
1975
1997
|
createdAt?: string | undefined;
|
|
1976
1998
|
processorTid?: string | undefined;
|
|
1977
1999
|
category?: string | undefined;
|
|
2000
|
+
active?: boolean | undefined;
|
|
1978
2001
|
};
|
|
1979
2002
|
serialize(): Uint8Array;
|
|
1980
2003
|
serialize(w: pb_1.BinaryWriter): void;
|
|
@@ -3606,6 +3629,10 @@ export declare namespace com.pkg.posv1.terminals {
|
|
|
3606
3629
|
processorTid?: string;
|
|
3607
3630
|
processorName?: string;
|
|
3608
3631
|
virtualAccount?: VirtualAccountInfo;
|
|
3632
|
+
token?: string;
|
|
3633
|
+
sessionId?: string;
|
|
3634
|
+
tokenExpiresAt?: string;
|
|
3635
|
+
sessionExpiresAt?: string;
|
|
3609
3636
|
});
|
|
3610
3637
|
get businessContextToken(): string;
|
|
3611
3638
|
set businessContextToken(value: string);
|
|
@@ -3630,6 +3657,14 @@ export declare namespace com.pkg.posv1.terminals {
|
|
|
3630
3657
|
get virtualAccount(): VirtualAccountInfo;
|
|
3631
3658
|
set virtualAccount(value: VirtualAccountInfo);
|
|
3632
3659
|
get hasVirtualAccount(): boolean;
|
|
3660
|
+
get token(): string;
|
|
3661
|
+
set token(value: string);
|
|
3662
|
+
get sessionId(): string;
|
|
3663
|
+
set sessionId(value: string);
|
|
3664
|
+
get tokenExpiresAt(): string;
|
|
3665
|
+
set tokenExpiresAt(value: string);
|
|
3666
|
+
get sessionExpiresAt(): string;
|
|
3667
|
+
set sessionExpiresAt(value: string);
|
|
3633
3668
|
static fromObject(data: {
|
|
3634
3669
|
businessContextToken?: string;
|
|
3635
3670
|
businessId?: string;
|
|
@@ -3641,6 +3676,10 @@ export declare namespace com.pkg.posv1.terminals {
|
|
|
3641
3676
|
processorTid?: string;
|
|
3642
3677
|
processorName?: string;
|
|
3643
3678
|
virtualAccount?: ReturnType<typeof VirtualAccountInfo.prototype.toObject>;
|
|
3679
|
+
token?: string;
|
|
3680
|
+
sessionId?: string;
|
|
3681
|
+
tokenExpiresAt?: string;
|
|
3682
|
+
sessionExpiresAt?: string;
|
|
3644
3683
|
}): BusinessContextData;
|
|
3645
3684
|
toObject(): {
|
|
3646
3685
|
businessContextToken?: string | undefined;
|
|
@@ -3679,6 +3718,10 @@ export declare namespace com.pkg.posv1.terminals {
|
|
|
3679
3718
|
accountNumber?: string | undefined;
|
|
3680
3719
|
merchantName?: string | undefined;
|
|
3681
3720
|
} | undefined;
|
|
3721
|
+
token?: string | undefined;
|
|
3722
|
+
sessionId?: string | undefined;
|
|
3723
|
+
tokenExpiresAt?: string | undefined;
|
|
3724
|
+
sessionExpiresAt?: string | undefined;
|
|
3682
3725
|
};
|
|
3683
3726
|
serialize(): Uint8Array;
|
|
3684
3727
|
serialize(w: pb_1.BinaryWriter): void;
|
|
@@ -7203,6 +7246,10 @@ export declare namespace com.pkg.posv1.terminals {
|
|
|
7203
7246
|
accountNumber?: string | undefined;
|
|
7204
7247
|
merchantName?: string | undefined;
|
|
7205
7248
|
} | undefined;
|
|
7249
|
+
token?: string | undefined;
|
|
7250
|
+
sessionId?: string | undefined;
|
|
7251
|
+
tokenExpiresAt?: string | undefined;
|
|
7252
|
+
sessionExpiresAt?: string | undefined;
|
|
7206
7253
|
} | undefined;
|
|
7207
7254
|
error?: string | undefined;
|
|
7208
7255
|
};
|
|
@@ -10333,6 +10380,7 @@ export declare namespace com.pkg.posv1.terminals {
|
|
|
10333
10380
|
enabled?: boolean | undefined;
|
|
10334
10381
|
}[] | undefined;
|
|
10335
10382
|
processorTid?: string | undefined;
|
|
10383
|
+
active?: boolean | undefined;
|
|
10336
10384
|
}[] | undefined;
|
|
10337
10385
|
pagination?: {
|
|
10338
10386
|
currentPage?: number | undefined;
|