@technova-tech/olive-proto-lib 1.8.7 → 1.8.9
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 +480 -0
- package/terminal/terminal.js +180 -0
- package/types/pos.v1/terminals.d.ts +121 -0
- package/types/terminal/terminal.d.ts +54 -0
|
@@ -437,6 +437,7 @@ export declare namespace com.pkg.terminal {
|
|
|
437
437
|
updatedAt?: string | undefined;
|
|
438
438
|
} | undefined;
|
|
439
439
|
processorTid?: string | undefined;
|
|
440
|
+
category?: string | undefined;
|
|
440
441
|
} | undefined;
|
|
441
442
|
firstName?: string | undefined;
|
|
442
443
|
lastName?: string | undefined;
|
|
@@ -692,6 +693,7 @@ export declare namespace com.pkg.terminal {
|
|
|
692
693
|
updatedAt?: string | undefined;
|
|
693
694
|
} | undefined;
|
|
694
695
|
processorTid?: string | undefined;
|
|
696
|
+
category?: string | undefined;
|
|
695
697
|
} | undefined;
|
|
696
698
|
firstName?: string | undefined;
|
|
697
699
|
lastName?: string | undefined;
|
|
@@ -933,6 +935,7 @@ export declare namespace com.pkg.terminal {
|
|
|
933
935
|
compatibleSoftware?: string[];
|
|
934
936
|
warrantyMonths?: number;
|
|
935
937
|
createdBy?: string;
|
|
938
|
+
auditContext?: string;
|
|
936
939
|
});
|
|
937
940
|
get deviceType(): string;
|
|
938
941
|
set deviceType(value: string);
|
|
@@ -962,6 +965,8 @@ export declare namespace com.pkg.terminal {
|
|
|
962
965
|
set warrantyMonths(value: number);
|
|
963
966
|
get createdBy(): string;
|
|
964
967
|
set createdBy(value: string);
|
|
968
|
+
get auditContext(): string;
|
|
969
|
+
set auditContext(value: string);
|
|
965
970
|
static fromObject(data: {
|
|
966
971
|
deviceType?: string;
|
|
967
972
|
manufacturer?: string;
|
|
@@ -977,6 +982,7 @@ export declare namespace com.pkg.terminal {
|
|
|
977
982
|
compatibleSoftware?: string[];
|
|
978
983
|
warrantyMonths?: number;
|
|
979
984
|
createdBy?: string;
|
|
985
|
+
auditContext?: string;
|
|
980
986
|
}): AddTerminalTypeRequest;
|
|
981
987
|
toObject(): {
|
|
982
988
|
deviceType?: string | undefined;
|
|
@@ -993,6 +999,7 @@ export declare namespace com.pkg.terminal {
|
|
|
993
999
|
compatibleSoftware?: string[] | undefined;
|
|
994
1000
|
warrantyMonths?: number | undefined;
|
|
995
1001
|
createdBy?: string | undefined;
|
|
1002
|
+
auditContext?: string | undefined;
|
|
996
1003
|
};
|
|
997
1004
|
serialize(): Uint8Array;
|
|
998
1005
|
serialize(w: pb_1.BinaryWriter): void;
|
|
@@ -1084,6 +1091,7 @@ export declare namespace com.pkg.terminal {
|
|
|
1084
1091
|
warrantyMonths?: number;
|
|
1085
1092
|
discontinuedReason?: string;
|
|
1086
1093
|
updatedBy?: string;
|
|
1094
|
+
auditContext?: string;
|
|
1087
1095
|
});
|
|
1088
1096
|
get id(): string;
|
|
1089
1097
|
set id(value: string);
|
|
@@ -1111,6 +1119,8 @@ export declare namespace com.pkg.terminal {
|
|
|
1111
1119
|
set discontinuedReason(value: string);
|
|
1112
1120
|
get updatedBy(): string;
|
|
1113
1121
|
set updatedBy(value: string);
|
|
1122
|
+
get auditContext(): string;
|
|
1123
|
+
set auditContext(value: string);
|
|
1114
1124
|
static fromObject(data: {
|
|
1115
1125
|
id?: string;
|
|
1116
1126
|
price?: number;
|
|
@@ -1125,6 +1135,7 @@ export declare namespace com.pkg.terminal {
|
|
|
1125
1135
|
warrantyMonths?: number;
|
|
1126
1136
|
discontinuedReason?: string;
|
|
1127
1137
|
updatedBy?: string;
|
|
1138
|
+
auditContext?: string;
|
|
1128
1139
|
}): UpdateTerminalTypeRequest;
|
|
1129
1140
|
toObject(): {
|
|
1130
1141
|
id?: string | undefined;
|
|
@@ -1140,6 +1151,7 @@ export declare namespace com.pkg.terminal {
|
|
|
1140
1151
|
warrantyMonths?: number | undefined;
|
|
1141
1152
|
discontinuedReason?: string | undefined;
|
|
1142
1153
|
updatedBy?: string | undefined;
|
|
1154
|
+
auditContext?: string | undefined;
|
|
1143
1155
|
};
|
|
1144
1156
|
serialize(): Uint8Array;
|
|
1145
1157
|
serialize(w: pb_1.BinaryWriter): void;
|
|
@@ -1153,6 +1165,7 @@ export declare namespace com.pkg.terminal {
|
|
|
1153
1165
|
id?: string;
|
|
1154
1166
|
reason?: string;
|
|
1155
1167
|
discontinuedBy?: string;
|
|
1168
|
+
auditContext?: string;
|
|
1156
1169
|
});
|
|
1157
1170
|
get id(): string;
|
|
1158
1171
|
set id(value: string);
|
|
@@ -1160,15 +1173,19 @@ export declare namespace com.pkg.terminal {
|
|
|
1160
1173
|
set reason(value: string);
|
|
1161
1174
|
get discontinuedBy(): string;
|
|
1162
1175
|
set discontinuedBy(value: string);
|
|
1176
|
+
get auditContext(): string;
|
|
1177
|
+
set auditContext(value: string);
|
|
1163
1178
|
static fromObject(data: {
|
|
1164
1179
|
id?: string;
|
|
1165
1180
|
reason?: string;
|
|
1166
1181
|
discontinuedBy?: string;
|
|
1182
|
+
auditContext?: string;
|
|
1167
1183
|
}): DiscontinueRequest;
|
|
1168
1184
|
toObject(): {
|
|
1169
1185
|
id?: string | undefined;
|
|
1170
1186
|
reason?: string | undefined;
|
|
1171
1187
|
discontinuedBy?: string | undefined;
|
|
1188
|
+
auditContext?: string | undefined;
|
|
1172
1189
|
};
|
|
1173
1190
|
serialize(): Uint8Array;
|
|
1174
1191
|
serialize(w: pb_1.BinaryWriter): void;
|
|
@@ -1182,6 +1199,7 @@ export declare namespace com.pkg.terminal {
|
|
|
1182
1199
|
id?: string;
|
|
1183
1200
|
quantity?: number;
|
|
1184
1201
|
updatedBy?: string;
|
|
1202
|
+
auditContext?: string;
|
|
1185
1203
|
});
|
|
1186
1204
|
get id(): string;
|
|
1187
1205
|
set id(value: string);
|
|
@@ -1189,15 +1207,19 @@ export declare namespace com.pkg.terminal {
|
|
|
1189
1207
|
set quantity(value: number);
|
|
1190
1208
|
get updatedBy(): string;
|
|
1191
1209
|
set updatedBy(value: string);
|
|
1210
|
+
get auditContext(): string;
|
|
1211
|
+
set auditContext(value: string);
|
|
1192
1212
|
static fromObject(data: {
|
|
1193
1213
|
id?: string;
|
|
1194
1214
|
quantity?: number;
|
|
1195
1215
|
updatedBy?: string;
|
|
1216
|
+
auditContext?: string;
|
|
1196
1217
|
}): UpdateStockRequest;
|
|
1197
1218
|
toObject(): {
|
|
1198
1219
|
id?: string | undefined;
|
|
1199
1220
|
quantity?: number | undefined;
|
|
1200
1221
|
updatedBy?: string | undefined;
|
|
1222
|
+
auditContext?: string | undefined;
|
|
1201
1223
|
};
|
|
1202
1224
|
serialize(): Uint8Array;
|
|
1203
1225
|
serialize(w: pb_1.BinaryWriter): void;
|
|
@@ -1211,6 +1233,7 @@ export declare namespace com.pkg.terminal {
|
|
|
1211
1233
|
deviceType?: string;
|
|
1212
1234
|
quantity?: number;
|
|
1213
1235
|
reservedBy?: string;
|
|
1236
|
+
auditContext?: string;
|
|
1214
1237
|
});
|
|
1215
1238
|
get deviceType(): string;
|
|
1216
1239
|
set deviceType(value: string);
|
|
@@ -1218,15 +1241,19 @@ export declare namespace com.pkg.terminal {
|
|
|
1218
1241
|
set quantity(value: number);
|
|
1219
1242
|
get reservedBy(): string;
|
|
1220
1243
|
set reservedBy(value: string);
|
|
1244
|
+
get auditContext(): string;
|
|
1245
|
+
set auditContext(value: string);
|
|
1221
1246
|
static fromObject(data: {
|
|
1222
1247
|
deviceType?: string;
|
|
1223
1248
|
quantity?: number;
|
|
1224
1249
|
reservedBy?: string;
|
|
1250
|
+
auditContext?: string;
|
|
1225
1251
|
}): ReserveStockRequest;
|
|
1226
1252
|
toObject(): {
|
|
1227
1253
|
deviceType?: string | undefined;
|
|
1228
1254
|
quantity?: number | undefined;
|
|
1229
1255
|
reservedBy?: string | undefined;
|
|
1256
|
+
auditContext?: string | undefined;
|
|
1230
1257
|
};
|
|
1231
1258
|
serialize(): Uint8Array;
|
|
1232
1259
|
serialize(w: pb_1.BinaryWriter): void;
|
|
@@ -1240,6 +1267,7 @@ export declare namespace com.pkg.terminal {
|
|
|
1240
1267
|
deviceType?: string;
|
|
1241
1268
|
quantity?: number;
|
|
1242
1269
|
releasedBy?: string;
|
|
1270
|
+
auditContext?: string;
|
|
1243
1271
|
});
|
|
1244
1272
|
get deviceType(): string;
|
|
1245
1273
|
set deviceType(value: string);
|
|
@@ -1247,15 +1275,19 @@ export declare namespace com.pkg.terminal {
|
|
|
1247
1275
|
set quantity(value: number);
|
|
1248
1276
|
get releasedBy(): string;
|
|
1249
1277
|
set releasedBy(value: string);
|
|
1278
|
+
get auditContext(): string;
|
|
1279
|
+
set auditContext(value: string);
|
|
1250
1280
|
static fromObject(data: {
|
|
1251
1281
|
deviceType?: string;
|
|
1252
1282
|
quantity?: number;
|
|
1253
1283
|
releasedBy?: string;
|
|
1284
|
+
auditContext?: string;
|
|
1254
1285
|
}): ReleaseStockRequest;
|
|
1255
1286
|
toObject(): {
|
|
1256
1287
|
deviceType?: string | undefined;
|
|
1257
1288
|
quantity?: number | undefined;
|
|
1258
1289
|
releasedBy?: string | undefined;
|
|
1290
|
+
auditContext?: string | undefined;
|
|
1259
1291
|
};
|
|
1260
1292
|
serialize(): Uint8Array;
|
|
1261
1293
|
serialize(w: pb_1.BinaryWriter): void;
|
|
@@ -2035,14 +2067,19 @@ export declare namespace com.pkg.terminal {
|
|
|
2035
2067
|
#private;
|
|
2036
2068
|
constructor(data?: any[] | {
|
|
2037
2069
|
terminalId?: string;
|
|
2070
|
+
auditContext?: string;
|
|
2038
2071
|
});
|
|
2039
2072
|
get terminalId(): string;
|
|
2040
2073
|
set terminalId(value: string);
|
|
2074
|
+
get auditContext(): string;
|
|
2075
|
+
set auditContext(value: string);
|
|
2041
2076
|
static fromObject(data: {
|
|
2042
2077
|
terminalId?: string;
|
|
2078
|
+
auditContext?: string;
|
|
2043
2079
|
}): UnassignTerminalRequest;
|
|
2044
2080
|
toObject(): {
|
|
2045
2081
|
terminalId?: string | undefined;
|
|
2082
|
+
auditContext?: string | undefined;
|
|
2046
2083
|
};
|
|
2047
2084
|
serialize(): Uint8Array;
|
|
2048
2085
|
serialize(w: pb_1.BinaryWriter): void;
|
|
@@ -2201,6 +2238,7 @@ export declare namespace com.pkg.terminal {
|
|
|
2201
2238
|
serialNumber?: string;
|
|
2202
2239
|
terminalType?: TerminalTypeData;
|
|
2203
2240
|
processorTid?: string;
|
|
2241
|
+
category?: string;
|
|
2204
2242
|
});
|
|
2205
2243
|
get tid(): string;
|
|
2206
2244
|
set tid(value: string);
|
|
@@ -2237,6 +2275,8 @@ export declare namespace com.pkg.terminal {
|
|
|
2237
2275
|
get hasTerminalType(): boolean;
|
|
2238
2276
|
get processorTid(): string;
|
|
2239
2277
|
set processorTid(value: string);
|
|
2278
|
+
get category(): string;
|
|
2279
|
+
set category(value: string);
|
|
2240
2280
|
static fromObject(data: {
|
|
2241
2281
|
tid?: string;
|
|
2242
2282
|
outlet?: ReturnType<typeof OutletData.prototype.toObject>;
|
|
@@ -2256,6 +2296,7 @@ export declare namespace com.pkg.terminal {
|
|
|
2256
2296
|
serialNumber?: string;
|
|
2257
2297
|
terminalType?: ReturnType<typeof TerminalTypeData.prototype.toObject>;
|
|
2258
2298
|
processorTid?: string;
|
|
2299
|
+
category?: string;
|
|
2259
2300
|
}): TerminalData;
|
|
2260
2301
|
toObject(): {
|
|
2261
2302
|
tid?: string | undefined;
|
|
@@ -2381,6 +2422,7 @@ export declare namespace com.pkg.terminal {
|
|
|
2381
2422
|
updatedAt?: string | undefined;
|
|
2382
2423
|
} | undefined;
|
|
2383
2424
|
processorTid?: string | undefined;
|
|
2425
|
+
category?: string | undefined;
|
|
2384
2426
|
};
|
|
2385
2427
|
serialize(): Uint8Array;
|
|
2386
2428
|
serialize(w: pb_1.BinaryWriter): void;
|
|
@@ -2546,6 +2588,7 @@ export declare namespace com.pkg.terminal {
|
|
|
2546
2588
|
updatedAt?: string | undefined;
|
|
2547
2589
|
} | undefined;
|
|
2548
2590
|
processorTid?: string | undefined;
|
|
2591
|
+
category?: string | undefined;
|
|
2549
2592
|
} | undefined;
|
|
2550
2593
|
error?: string | undefined;
|
|
2551
2594
|
message?: string | undefined;
|
|
@@ -2717,6 +2760,7 @@ export declare namespace com.pkg.terminal {
|
|
|
2717
2760
|
updatedAt?: string | undefined;
|
|
2718
2761
|
} | undefined;
|
|
2719
2762
|
processorTid?: string | undefined;
|
|
2763
|
+
category?: string | undefined;
|
|
2720
2764
|
}[] | undefined;
|
|
2721
2765
|
error?: string | undefined;
|
|
2722
2766
|
message?: string | undefined;
|
|
@@ -3188,6 +3232,7 @@ export declare namespace com.pkg.terminal {
|
|
|
3188
3232
|
updatedAt?: string | undefined;
|
|
3189
3233
|
} | undefined;
|
|
3190
3234
|
processorTid?: string | undefined;
|
|
3235
|
+
category?: string | undefined;
|
|
3191
3236
|
}[] | undefined;
|
|
3192
3237
|
error?: string | undefined;
|
|
3193
3238
|
message?: string | undefined;
|
|
@@ -3425,6 +3470,7 @@ export declare namespace com.pkg.terminal {
|
|
|
3425
3470
|
notes?: string;
|
|
3426
3471
|
contractId?: string;
|
|
3427
3472
|
metadata?: Map<string, string>;
|
|
3473
|
+
auditContext?: string;
|
|
3428
3474
|
});
|
|
3429
3475
|
get serialNumber(): string;
|
|
3430
3476
|
set serialNumber(value: string);
|
|
@@ -3451,6 +3497,8 @@ export declare namespace com.pkg.terminal {
|
|
|
3451
3497
|
set contractId(value: string);
|
|
3452
3498
|
get metadata(): Map<string, string>;
|
|
3453
3499
|
set metadata(value: Map<string, string>);
|
|
3500
|
+
get auditContext(): string;
|
|
3501
|
+
set auditContext(value: string);
|
|
3454
3502
|
static fromObject(data: {
|
|
3455
3503
|
serialNumber?: string;
|
|
3456
3504
|
businessId?: string;
|
|
@@ -3466,6 +3514,7 @@ export declare namespace com.pkg.terminal {
|
|
|
3466
3514
|
metadata?: {
|
|
3467
3515
|
[key: string]: string;
|
|
3468
3516
|
};
|
|
3517
|
+
auditContext?: string;
|
|
3469
3518
|
}): TerminalAssignmentRequest;
|
|
3470
3519
|
toObject(): {
|
|
3471
3520
|
serialNumber?: string | undefined;
|
|
@@ -3487,6 +3536,7 @@ export declare namespace com.pkg.terminal {
|
|
|
3487
3536
|
metadata?: {
|
|
3488
3537
|
[key: string]: string;
|
|
3489
3538
|
} | undefined;
|
|
3539
|
+
auditContext?: string | undefined;
|
|
3490
3540
|
};
|
|
3491
3541
|
serialize(): Uint8Array;
|
|
3492
3542
|
serialize(w: pb_1.BinaryWriter): void;
|
|
@@ -3715,6 +3765,7 @@ export declare namespace com.pkg.terminal {
|
|
|
3715
3765
|
updatedAt?: string | undefined;
|
|
3716
3766
|
} | undefined;
|
|
3717
3767
|
processorTid?: string | undefined;
|
|
3768
|
+
category?: string | undefined;
|
|
3718
3769
|
} | undefined;
|
|
3719
3770
|
};
|
|
3720
3771
|
serialize(): Uint8Array;
|
|
@@ -3904,6 +3955,7 @@ export declare namespace com.pkg.terminal {
|
|
|
3904
3955
|
updatedAt?: string | undefined;
|
|
3905
3956
|
} | undefined;
|
|
3906
3957
|
processorTid?: string | undefined;
|
|
3958
|
+
category?: string | undefined;
|
|
3907
3959
|
} | undefined;
|
|
3908
3960
|
} | undefined;
|
|
3909
3961
|
error?: string | undefined;
|
|
@@ -4169,6 +4221,7 @@ export declare namespace com.pkg.terminal {
|
|
|
4169
4221
|
updatedAt?: string | undefined;
|
|
4170
4222
|
} | undefined;
|
|
4171
4223
|
processorTid?: string | undefined;
|
|
4224
|
+
category?: string | undefined;
|
|
4172
4225
|
} | undefined;
|
|
4173
4226
|
}[] | undefined;
|
|
4174
4227
|
error?: string | undefined;
|
|
@@ -4405,6 +4458,7 @@ export declare namespace com.pkg.terminal {
|
|
|
4405
4458
|
updatedAt?: string | undefined;
|
|
4406
4459
|
} | undefined;
|
|
4407
4460
|
processorTid?: string | undefined;
|
|
4461
|
+
category?: string | undefined;
|
|
4408
4462
|
}[] | undefined;
|
|
4409
4463
|
error?: string | undefined;
|
|
4410
4464
|
message?: string | undefined;
|