@technova-tech/olive-proto-lib 1.8.8 → 1.9.0
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 +460 -0
- package/terminal/terminal.js +160 -0
- package/types/pos.v1/terminals.d.ts +115 -0
- package/types/terminal/terminal.d.ts +40 -0
package/terminal/terminal.js
CHANGED
|
@@ -1732,6 +1732,9 @@ var com;
|
|
|
1732
1732
|
if ("createdBy" in data && data.createdBy != undefined) {
|
|
1733
1733
|
this.createdBy = data.createdBy;
|
|
1734
1734
|
}
|
|
1735
|
+
if ("auditContext" in data && data.auditContext != undefined) {
|
|
1736
|
+
this.auditContext = data.auditContext;
|
|
1737
|
+
}
|
|
1735
1738
|
}
|
|
1736
1739
|
}
|
|
1737
1740
|
get deviceType() {
|
|
@@ -1818,6 +1821,12 @@ var com;
|
|
|
1818
1821
|
set createdBy(value) {
|
|
1819
1822
|
pb_1.Message.setField(this, 14, value);
|
|
1820
1823
|
}
|
|
1824
|
+
get auditContext() {
|
|
1825
|
+
return pb_1.Message.getFieldWithDefault(this, 15, "");
|
|
1826
|
+
}
|
|
1827
|
+
set auditContext(value) {
|
|
1828
|
+
pb_1.Message.setField(this, 15, value);
|
|
1829
|
+
}
|
|
1821
1830
|
static fromObject(data) {
|
|
1822
1831
|
const message = new AddTerminalTypeRequest({});
|
|
1823
1832
|
if (data.deviceType != null) {
|
|
@@ -1862,6 +1871,9 @@ var com;
|
|
|
1862
1871
|
if (data.createdBy != null) {
|
|
1863
1872
|
message.createdBy = data.createdBy;
|
|
1864
1873
|
}
|
|
1874
|
+
if (data.auditContext != null) {
|
|
1875
|
+
message.auditContext = data.auditContext;
|
|
1876
|
+
}
|
|
1865
1877
|
return message;
|
|
1866
1878
|
}
|
|
1867
1879
|
toObject() {
|
|
@@ -1908,6 +1920,9 @@ var com;
|
|
|
1908
1920
|
if (this.createdBy != null) {
|
|
1909
1921
|
data.createdBy = this.createdBy;
|
|
1910
1922
|
}
|
|
1923
|
+
if (this.auditContext != null) {
|
|
1924
|
+
data.auditContext = this.auditContext;
|
|
1925
|
+
}
|
|
1911
1926
|
return data;
|
|
1912
1927
|
}
|
|
1913
1928
|
serialize(w) {
|
|
@@ -1940,6 +1955,8 @@ var com;
|
|
|
1940
1955
|
writer.writeInt32(13, this.warrantyMonths);
|
|
1941
1956
|
if (this.createdBy.length)
|
|
1942
1957
|
writer.writeString(14, this.createdBy);
|
|
1958
|
+
if (this.auditContext.length)
|
|
1959
|
+
writer.writeString(15, this.auditContext);
|
|
1943
1960
|
if (!w)
|
|
1944
1961
|
return writer.getResultBuffer();
|
|
1945
1962
|
}
|
|
@@ -1991,6 +2008,9 @@ var com;
|
|
|
1991
2008
|
case 14:
|
|
1992
2009
|
message.createdBy = reader.readString();
|
|
1993
2010
|
break;
|
|
2011
|
+
case 15:
|
|
2012
|
+
message.auditContext = reader.readString();
|
|
2013
|
+
break;
|
|
1994
2014
|
default: reader.skipField();
|
|
1995
2015
|
}
|
|
1996
2016
|
}
|
|
@@ -2289,6 +2309,9 @@ var com;
|
|
|
2289
2309
|
if ("updatedBy" in data && data.updatedBy != undefined) {
|
|
2290
2310
|
this.updatedBy = data.updatedBy;
|
|
2291
2311
|
}
|
|
2312
|
+
if ("auditContext" in data && data.auditContext != undefined) {
|
|
2313
|
+
this.auditContext = data.auditContext;
|
|
2314
|
+
}
|
|
2292
2315
|
}
|
|
2293
2316
|
}
|
|
2294
2317
|
get id() {
|
|
@@ -2369,6 +2392,12 @@ var com;
|
|
|
2369
2392
|
set updatedBy(value) {
|
|
2370
2393
|
pb_1.Message.setField(this, 13, value);
|
|
2371
2394
|
}
|
|
2395
|
+
get auditContext() {
|
|
2396
|
+
return pb_1.Message.getFieldWithDefault(this, 14, "");
|
|
2397
|
+
}
|
|
2398
|
+
set auditContext(value) {
|
|
2399
|
+
pb_1.Message.setField(this, 14, value);
|
|
2400
|
+
}
|
|
2372
2401
|
static fromObject(data) {
|
|
2373
2402
|
const message = new UpdateTerminalTypeRequest({});
|
|
2374
2403
|
if (data.id != null) {
|
|
@@ -2410,6 +2439,9 @@ var com;
|
|
|
2410
2439
|
if (data.updatedBy != null) {
|
|
2411
2440
|
message.updatedBy = data.updatedBy;
|
|
2412
2441
|
}
|
|
2442
|
+
if (data.auditContext != null) {
|
|
2443
|
+
message.auditContext = data.auditContext;
|
|
2444
|
+
}
|
|
2413
2445
|
return message;
|
|
2414
2446
|
}
|
|
2415
2447
|
toObject() {
|
|
@@ -2453,6 +2485,9 @@ var com;
|
|
|
2453
2485
|
if (this.updatedBy != null) {
|
|
2454
2486
|
data.updatedBy = this.updatedBy;
|
|
2455
2487
|
}
|
|
2488
|
+
if (this.auditContext != null) {
|
|
2489
|
+
data.auditContext = this.auditContext;
|
|
2490
|
+
}
|
|
2456
2491
|
return data;
|
|
2457
2492
|
}
|
|
2458
2493
|
serialize(w) {
|
|
@@ -2483,6 +2518,8 @@ var com;
|
|
|
2483
2518
|
writer.writeString(12, this.discontinuedReason);
|
|
2484
2519
|
if (this.updatedBy.length)
|
|
2485
2520
|
writer.writeString(13, this.updatedBy);
|
|
2521
|
+
if (this.auditContext.length)
|
|
2522
|
+
writer.writeString(14, this.auditContext);
|
|
2486
2523
|
if (!w)
|
|
2487
2524
|
return writer.getResultBuffer();
|
|
2488
2525
|
}
|
|
@@ -2531,6 +2568,9 @@ var com;
|
|
|
2531
2568
|
case 13:
|
|
2532
2569
|
message.updatedBy = reader.readString();
|
|
2533
2570
|
break;
|
|
2571
|
+
case 14:
|
|
2572
|
+
message.auditContext = reader.readString();
|
|
2573
|
+
break;
|
|
2534
2574
|
default: reader.skipField();
|
|
2535
2575
|
}
|
|
2536
2576
|
}
|
|
@@ -2559,6 +2599,9 @@ var com;
|
|
|
2559
2599
|
if ("discontinuedBy" in data && data.discontinuedBy != undefined) {
|
|
2560
2600
|
this.discontinuedBy = data.discontinuedBy;
|
|
2561
2601
|
}
|
|
2602
|
+
if ("auditContext" in data && data.auditContext != undefined) {
|
|
2603
|
+
this.auditContext = data.auditContext;
|
|
2604
|
+
}
|
|
2562
2605
|
}
|
|
2563
2606
|
}
|
|
2564
2607
|
get id() {
|
|
@@ -2579,6 +2622,12 @@ var com;
|
|
|
2579
2622
|
set discontinuedBy(value) {
|
|
2580
2623
|
pb_1.Message.setField(this, 3, value);
|
|
2581
2624
|
}
|
|
2625
|
+
get auditContext() {
|
|
2626
|
+
return pb_1.Message.getFieldWithDefault(this, 4, "");
|
|
2627
|
+
}
|
|
2628
|
+
set auditContext(value) {
|
|
2629
|
+
pb_1.Message.setField(this, 4, value);
|
|
2630
|
+
}
|
|
2582
2631
|
static fromObject(data) {
|
|
2583
2632
|
const message = new DiscontinueRequest({});
|
|
2584
2633
|
if (data.id != null) {
|
|
@@ -2590,6 +2639,9 @@ var com;
|
|
|
2590
2639
|
if (data.discontinuedBy != null) {
|
|
2591
2640
|
message.discontinuedBy = data.discontinuedBy;
|
|
2592
2641
|
}
|
|
2642
|
+
if (data.auditContext != null) {
|
|
2643
|
+
message.auditContext = data.auditContext;
|
|
2644
|
+
}
|
|
2593
2645
|
return message;
|
|
2594
2646
|
}
|
|
2595
2647
|
toObject() {
|
|
@@ -2603,6 +2655,9 @@ var com;
|
|
|
2603
2655
|
if (this.discontinuedBy != null) {
|
|
2604
2656
|
data.discontinuedBy = this.discontinuedBy;
|
|
2605
2657
|
}
|
|
2658
|
+
if (this.auditContext != null) {
|
|
2659
|
+
data.auditContext = this.auditContext;
|
|
2660
|
+
}
|
|
2606
2661
|
return data;
|
|
2607
2662
|
}
|
|
2608
2663
|
serialize(w) {
|
|
@@ -2613,6 +2668,8 @@ var com;
|
|
|
2613
2668
|
writer.writeString(2, this.reason);
|
|
2614
2669
|
if (this.discontinuedBy.length)
|
|
2615
2670
|
writer.writeString(3, this.discontinuedBy);
|
|
2671
|
+
if (this.auditContext.length)
|
|
2672
|
+
writer.writeString(4, this.auditContext);
|
|
2616
2673
|
if (!w)
|
|
2617
2674
|
return writer.getResultBuffer();
|
|
2618
2675
|
}
|
|
@@ -2631,6 +2688,9 @@ var com;
|
|
|
2631
2688
|
case 3:
|
|
2632
2689
|
message.discontinuedBy = reader.readString();
|
|
2633
2690
|
break;
|
|
2691
|
+
case 4:
|
|
2692
|
+
message.auditContext = reader.readString();
|
|
2693
|
+
break;
|
|
2634
2694
|
default: reader.skipField();
|
|
2635
2695
|
}
|
|
2636
2696
|
}
|
|
@@ -2659,6 +2719,9 @@ var com;
|
|
|
2659
2719
|
if ("updatedBy" in data && data.updatedBy != undefined) {
|
|
2660
2720
|
this.updatedBy = data.updatedBy;
|
|
2661
2721
|
}
|
|
2722
|
+
if ("auditContext" in data && data.auditContext != undefined) {
|
|
2723
|
+
this.auditContext = data.auditContext;
|
|
2724
|
+
}
|
|
2662
2725
|
}
|
|
2663
2726
|
}
|
|
2664
2727
|
get id() {
|
|
@@ -2679,6 +2742,12 @@ var com;
|
|
|
2679
2742
|
set updatedBy(value) {
|
|
2680
2743
|
pb_1.Message.setField(this, 3, value);
|
|
2681
2744
|
}
|
|
2745
|
+
get auditContext() {
|
|
2746
|
+
return pb_1.Message.getFieldWithDefault(this, 4, "");
|
|
2747
|
+
}
|
|
2748
|
+
set auditContext(value) {
|
|
2749
|
+
pb_1.Message.setField(this, 4, value);
|
|
2750
|
+
}
|
|
2682
2751
|
static fromObject(data) {
|
|
2683
2752
|
const message = new UpdateStockRequest({});
|
|
2684
2753
|
if (data.id != null) {
|
|
@@ -2690,6 +2759,9 @@ var com;
|
|
|
2690
2759
|
if (data.updatedBy != null) {
|
|
2691
2760
|
message.updatedBy = data.updatedBy;
|
|
2692
2761
|
}
|
|
2762
|
+
if (data.auditContext != null) {
|
|
2763
|
+
message.auditContext = data.auditContext;
|
|
2764
|
+
}
|
|
2693
2765
|
return message;
|
|
2694
2766
|
}
|
|
2695
2767
|
toObject() {
|
|
@@ -2703,6 +2775,9 @@ var com;
|
|
|
2703
2775
|
if (this.updatedBy != null) {
|
|
2704
2776
|
data.updatedBy = this.updatedBy;
|
|
2705
2777
|
}
|
|
2778
|
+
if (this.auditContext != null) {
|
|
2779
|
+
data.auditContext = this.auditContext;
|
|
2780
|
+
}
|
|
2706
2781
|
return data;
|
|
2707
2782
|
}
|
|
2708
2783
|
serialize(w) {
|
|
@@ -2713,6 +2788,8 @@ var com;
|
|
|
2713
2788
|
writer.writeInt32(2, this.quantity);
|
|
2714
2789
|
if (this.updatedBy.length)
|
|
2715
2790
|
writer.writeString(3, this.updatedBy);
|
|
2791
|
+
if (this.auditContext.length)
|
|
2792
|
+
writer.writeString(4, this.auditContext);
|
|
2716
2793
|
if (!w)
|
|
2717
2794
|
return writer.getResultBuffer();
|
|
2718
2795
|
}
|
|
@@ -2731,6 +2808,9 @@ var com;
|
|
|
2731
2808
|
case 3:
|
|
2732
2809
|
message.updatedBy = reader.readString();
|
|
2733
2810
|
break;
|
|
2811
|
+
case 4:
|
|
2812
|
+
message.auditContext = reader.readString();
|
|
2813
|
+
break;
|
|
2734
2814
|
default: reader.skipField();
|
|
2735
2815
|
}
|
|
2736
2816
|
}
|
|
@@ -2759,6 +2839,9 @@ var com;
|
|
|
2759
2839
|
if ("reservedBy" in data && data.reservedBy != undefined) {
|
|
2760
2840
|
this.reservedBy = data.reservedBy;
|
|
2761
2841
|
}
|
|
2842
|
+
if ("auditContext" in data && data.auditContext != undefined) {
|
|
2843
|
+
this.auditContext = data.auditContext;
|
|
2844
|
+
}
|
|
2762
2845
|
}
|
|
2763
2846
|
}
|
|
2764
2847
|
get deviceType() {
|
|
@@ -2779,6 +2862,12 @@ var com;
|
|
|
2779
2862
|
set reservedBy(value) {
|
|
2780
2863
|
pb_1.Message.setField(this, 3, value);
|
|
2781
2864
|
}
|
|
2865
|
+
get auditContext() {
|
|
2866
|
+
return pb_1.Message.getFieldWithDefault(this, 4, "");
|
|
2867
|
+
}
|
|
2868
|
+
set auditContext(value) {
|
|
2869
|
+
pb_1.Message.setField(this, 4, value);
|
|
2870
|
+
}
|
|
2782
2871
|
static fromObject(data) {
|
|
2783
2872
|
const message = new ReserveStockRequest({});
|
|
2784
2873
|
if (data.deviceType != null) {
|
|
@@ -2790,6 +2879,9 @@ var com;
|
|
|
2790
2879
|
if (data.reservedBy != null) {
|
|
2791
2880
|
message.reservedBy = data.reservedBy;
|
|
2792
2881
|
}
|
|
2882
|
+
if (data.auditContext != null) {
|
|
2883
|
+
message.auditContext = data.auditContext;
|
|
2884
|
+
}
|
|
2793
2885
|
return message;
|
|
2794
2886
|
}
|
|
2795
2887
|
toObject() {
|
|
@@ -2803,6 +2895,9 @@ var com;
|
|
|
2803
2895
|
if (this.reservedBy != null) {
|
|
2804
2896
|
data.reservedBy = this.reservedBy;
|
|
2805
2897
|
}
|
|
2898
|
+
if (this.auditContext != null) {
|
|
2899
|
+
data.auditContext = this.auditContext;
|
|
2900
|
+
}
|
|
2806
2901
|
return data;
|
|
2807
2902
|
}
|
|
2808
2903
|
serialize(w) {
|
|
@@ -2813,6 +2908,8 @@ var com;
|
|
|
2813
2908
|
writer.writeInt32(2, this.quantity);
|
|
2814
2909
|
if (this.reservedBy.length)
|
|
2815
2910
|
writer.writeString(3, this.reservedBy);
|
|
2911
|
+
if (this.auditContext.length)
|
|
2912
|
+
writer.writeString(4, this.auditContext);
|
|
2816
2913
|
if (!w)
|
|
2817
2914
|
return writer.getResultBuffer();
|
|
2818
2915
|
}
|
|
@@ -2831,6 +2928,9 @@ var com;
|
|
|
2831
2928
|
case 3:
|
|
2832
2929
|
message.reservedBy = reader.readString();
|
|
2833
2930
|
break;
|
|
2931
|
+
case 4:
|
|
2932
|
+
message.auditContext = reader.readString();
|
|
2933
|
+
break;
|
|
2834
2934
|
default: reader.skipField();
|
|
2835
2935
|
}
|
|
2836
2936
|
}
|
|
@@ -2859,6 +2959,9 @@ var com;
|
|
|
2859
2959
|
if ("releasedBy" in data && data.releasedBy != undefined) {
|
|
2860
2960
|
this.releasedBy = data.releasedBy;
|
|
2861
2961
|
}
|
|
2962
|
+
if ("auditContext" in data && data.auditContext != undefined) {
|
|
2963
|
+
this.auditContext = data.auditContext;
|
|
2964
|
+
}
|
|
2862
2965
|
}
|
|
2863
2966
|
}
|
|
2864
2967
|
get deviceType() {
|
|
@@ -2879,6 +2982,12 @@ var com;
|
|
|
2879
2982
|
set releasedBy(value) {
|
|
2880
2983
|
pb_1.Message.setField(this, 3, value);
|
|
2881
2984
|
}
|
|
2985
|
+
get auditContext() {
|
|
2986
|
+
return pb_1.Message.getFieldWithDefault(this, 4, "");
|
|
2987
|
+
}
|
|
2988
|
+
set auditContext(value) {
|
|
2989
|
+
pb_1.Message.setField(this, 4, value);
|
|
2990
|
+
}
|
|
2882
2991
|
static fromObject(data) {
|
|
2883
2992
|
const message = new ReleaseStockRequest({});
|
|
2884
2993
|
if (data.deviceType != null) {
|
|
@@ -2890,6 +2999,9 @@ var com;
|
|
|
2890
2999
|
if (data.releasedBy != null) {
|
|
2891
3000
|
message.releasedBy = data.releasedBy;
|
|
2892
3001
|
}
|
|
3002
|
+
if (data.auditContext != null) {
|
|
3003
|
+
message.auditContext = data.auditContext;
|
|
3004
|
+
}
|
|
2893
3005
|
return message;
|
|
2894
3006
|
}
|
|
2895
3007
|
toObject() {
|
|
@@ -2903,6 +3015,9 @@ var com;
|
|
|
2903
3015
|
if (this.releasedBy != null) {
|
|
2904
3016
|
data.releasedBy = this.releasedBy;
|
|
2905
3017
|
}
|
|
3018
|
+
if (this.auditContext != null) {
|
|
3019
|
+
data.auditContext = this.auditContext;
|
|
3020
|
+
}
|
|
2906
3021
|
return data;
|
|
2907
3022
|
}
|
|
2908
3023
|
serialize(w) {
|
|
@@ -2913,6 +3028,8 @@ var com;
|
|
|
2913
3028
|
writer.writeInt32(2, this.quantity);
|
|
2914
3029
|
if (this.releasedBy.length)
|
|
2915
3030
|
writer.writeString(3, this.releasedBy);
|
|
3031
|
+
if (this.auditContext.length)
|
|
3032
|
+
writer.writeString(4, this.auditContext);
|
|
2916
3033
|
if (!w)
|
|
2917
3034
|
return writer.getResultBuffer();
|
|
2918
3035
|
}
|
|
@@ -2931,6 +3048,9 @@ var com;
|
|
|
2931
3048
|
case 3:
|
|
2932
3049
|
message.releasedBy = reader.readString();
|
|
2933
3050
|
break;
|
|
3051
|
+
case 4:
|
|
3052
|
+
message.auditContext = reader.readString();
|
|
3053
|
+
break;
|
|
2934
3054
|
default: reader.skipField();
|
|
2935
3055
|
}
|
|
2936
3056
|
}
|
|
@@ -5391,6 +5511,9 @@ var com;
|
|
|
5391
5511
|
if ("terminalId" in data && data.terminalId != undefined) {
|
|
5392
5512
|
this.terminalId = data.terminalId;
|
|
5393
5513
|
}
|
|
5514
|
+
if ("auditContext" in data && data.auditContext != undefined) {
|
|
5515
|
+
this.auditContext = data.auditContext;
|
|
5516
|
+
}
|
|
5394
5517
|
}
|
|
5395
5518
|
}
|
|
5396
5519
|
get terminalId() {
|
|
@@ -5399,11 +5522,20 @@ var com;
|
|
|
5399
5522
|
set terminalId(value) {
|
|
5400
5523
|
pb_1.Message.setField(this, 1, value);
|
|
5401
5524
|
}
|
|
5525
|
+
get auditContext() {
|
|
5526
|
+
return pb_1.Message.getFieldWithDefault(this, 2, "");
|
|
5527
|
+
}
|
|
5528
|
+
set auditContext(value) {
|
|
5529
|
+
pb_1.Message.setField(this, 2, value);
|
|
5530
|
+
}
|
|
5402
5531
|
static fromObject(data) {
|
|
5403
5532
|
const message = new UnassignTerminalRequest({});
|
|
5404
5533
|
if (data.terminalId != null) {
|
|
5405
5534
|
message.terminalId = data.terminalId;
|
|
5406
5535
|
}
|
|
5536
|
+
if (data.auditContext != null) {
|
|
5537
|
+
message.auditContext = data.auditContext;
|
|
5538
|
+
}
|
|
5407
5539
|
return message;
|
|
5408
5540
|
}
|
|
5409
5541
|
toObject() {
|
|
@@ -5411,12 +5543,17 @@ var com;
|
|
|
5411
5543
|
if (this.terminalId != null) {
|
|
5412
5544
|
data.terminalId = this.terminalId;
|
|
5413
5545
|
}
|
|
5546
|
+
if (this.auditContext != null) {
|
|
5547
|
+
data.auditContext = this.auditContext;
|
|
5548
|
+
}
|
|
5414
5549
|
return data;
|
|
5415
5550
|
}
|
|
5416
5551
|
serialize(w) {
|
|
5417
5552
|
const writer = w || new pb_1.BinaryWriter();
|
|
5418
5553
|
if (this.terminalId.length)
|
|
5419
5554
|
writer.writeString(1, this.terminalId);
|
|
5555
|
+
if (this.auditContext.length)
|
|
5556
|
+
writer.writeString(2, this.auditContext);
|
|
5420
5557
|
if (!w)
|
|
5421
5558
|
return writer.getResultBuffer();
|
|
5422
5559
|
}
|
|
@@ -5429,6 +5566,9 @@ var com;
|
|
|
5429
5566
|
case 1:
|
|
5430
5567
|
message.terminalId = reader.readString();
|
|
5431
5568
|
break;
|
|
5569
|
+
case 2:
|
|
5570
|
+
message.auditContext = reader.readString();
|
|
5571
|
+
break;
|
|
5432
5572
|
default: reader.skipField();
|
|
5433
5573
|
}
|
|
5434
5574
|
}
|
|
@@ -8131,6 +8271,9 @@ var com;
|
|
|
8131
8271
|
if ("metadata" in data && data.metadata != undefined) {
|
|
8132
8272
|
this.metadata = data.metadata;
|
|
8133
8273
|
}
|
|
8274
|
+
if ("auditContext" in data && data.auditContext != undefined) {
|
|
8275
|
+
this.auditContext = data.auditContext;
|
|
8276
|
+
}
|
|
8134
8277
|
}
|
|
8135
8278
|
if (!this.metadata)
|
|
8136
8279
|
this.metadata = new Map();
|
|
@@ -8210,6 +8353,12 @@ var com;
|
|
|
8210
8353
|
set metadata(value) {
|
|
8211
8354
|
pb_1.Message.setField(this, 12, value);
|
|
8212
8355
|
}
|
|
8356
|
+
get auditContext() {
|
|
8357
|
+
return pb_1.Message.getFieldWithDefault(this, 13, "");
|
|
8358
|
+
}
|
|
8359
|
+
set auditContext(value) {
|
|
8360
|
+
pb_1.Message.setField(this, 13, value);
|
|
8361
|
+
}
|
|
8213
8362
|
static fromObject(data) {
|
|
8214
8363
|
const message = new TerminalAssignmentRequest({});
|
|
8215
8364
|
if (data.serialNumber != null) {
|
|
@@ -8248,6 +8397,9 @@ var com;
|
|
|
8248
8397
|
if (typeof data.metadata == "object") {
|
|
8249
8398
|
message.metadata = new Map(Object.entries(data.metadata));
|
|
8250
8399
|
}
|
|
8400
|
+
if (data.auditContext != null) {
|
|
8401
|
+
message.auditContext = data.auditContext;
|
|
8402
|
+
}
|
|
8251
8403
|
return message;
|
|
8252
8404
|
}
|
|
8253
8405
|
toObject() {
|
|
@@ -8288,6 +8440,9 @@ var com;
|
|
|
8288
8440
|
if (this.metadata != null) {
|
|
8289
8441
|
data.metadata = (Object.fromEntries)(this.metadata);
|
|
8290
8442
|
}
|
|
8443
|
+
if (this.auditContext != null) {
|
|
8444
|
+
data.auditContext = this.auditContext;
|
|
8445
|
+
}
|
|
8291
8446
|
return data;
|
|
8292
8447
|
}
|
|
8293
8448
|
serialize(w) {
|
|
@@ -8320,6 +8475,8 @@ var com;
|
|
|
8320
8475
|
writer.writeString(2, value);
|
|
8321
8476
|
});
|
|
8322
8477
|
}
|
|
8478
|
+
if (this.auditContext.length)
|
|
8479
|
+
writer.writeString(13, this.auditContext);
|
|
8323
8480
|
if (!w)
|
|
8324
8481
|
return writer.getResultBuffer();
|
|
8325
8482
|
}
|
|
@@ -8365,6 +8522,9 @@ var com;
|
|
|
8365
8522
|
case 12:
|
|
8366
8523
|
reader.readMessage(message, () => pb_1.Map.deserializeBinary(message.metadata, reader, reader.readString, reader.readString));
|
|
8367
8524
|
break;
|
|
8525
|
+
case 13:
|
|
8526
|
+
message.auditContext = reader.readString();
|
|
8527
|
+
break;
|
|
8368
8528
|
default: reader.skipField();
|
|
8369
8529
|
}
|
|
8370
8530
|
}
|