@technova-tech/olive-proto-lib 2.0.4 → 2.0.5

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 CHANGED
@@ -11,7 +11,7 @@
11
11
  "compile": "tsc -p tsconfig.json"
12
12
  },
13
13
  "license": "MIT",
14
- "version": "2.0.4",
14
+ "version": "2.0.5",
15
15
  "devDependencies": {
16
16
  "@types/google-protobuf": "^3.15.12",
17
17
  "protoc-gen-ts": "^0.8.7",
@@ -30997,6 +30997,386 @@ var com;
30997
30997
  }
30998
30998
  }
30999
30999
  terminals.GetMfbTerminalsResponse = GetMfbTerminalsResponse;
31000
+ class ProvisionMerchantBranchTerminalRequest extends pb_1.Message {
31001
+ #one_of_decls = [];
31002
+ constructor(data) {
31003
+ super();
31004
+ pb_1.Message.initialize(this, Array.isArray(data) ? data : [], 0, -1, [], this.#one_of_decls);
31005
+ if (!Array.isArray(data) && typeof data == "object") {
31006
+ if ("serialNumber" in data && data.serialNumber != undefined) {
31007
+ this.serialNumber = data.serialNumber;
31008
+ }
31009
+ if ("merchantId" in data && data.merchantId != undefined) {
31010
+ this.merchantId = data.merchantId;
31011
+ }
31012
+ if ("branchId" in data && data.branchId != undefined) {
31013
+ this.branchId = data.branchId;
31014
+ }
31015
+ if ("merchantName" in data && data.merchantName != undefined) {
31016
+ this.merchantName = data.merchantName;
31017
+ }
31018
+ if ("merchantAccountNumber" in data && data.merchantAccountNumber != undefined) {
31019
+ this.merchantAccountNumber = data.merchantAccountNumber;
31020
+ }
31021
+ if ("bvn" in data && data.bvn != undefined) {
31022
+ this.bvn = data.bvn;
31023
+ }
31024
+ if ("assignedBy" in data && data.assignedBy != undefined) {
31025
+ this.assignedBy = data.assignedBy;
31026
+ }
31027
+ if ("phoneNumber" in data && data.phoneNumber != undefined) {
31028
+ this.phoneNumber = data.phoneNumber;
31029
+ }
31030
+ if ("assignmentReason" in data && data.assignmentReason != undefined) {
31031
+ this.assignmentReason = data.assignmentReason;
31032
+ }
31033
+ if ("auditContext" in data && data.auditContext != undefined) {
31034
+ this.auditContext = data.auditContext;
31035
+ }
31036
+ }
31037
+ }
31038
+ get serialNumber() {
31039
+ return pb_1.Message.getFieldWithDefault(this, 1, "");
31040
+ }
31041
+ set serialNumber(value) {
31042
+ pb_1.Message.setField(this, 1, value);
31043
+ }
31044
+ get merchantId() {
31045
+ return pb_1.Message.getFieldWithDefault(this, 2, "");
31046
+ }
31047
+ set merchantId(value) {
31048
+ pb_1.Message.setField(this, 2, value);
31049
+ }
31050
+ get branchId() {
31051
+ return pb_1.Message.getFieldWithDefault(this, 3, "");
31052
+ }
31053
+ set branchId(value) {
31054
+ pb_1.Message.setField(this, 3, value);
31055
+ }
31056
+ get merchantName() {
31057
+ return pb_1.Message.getFieldWithDefault(this, 4, "");
31058
+ }
31059
+ set merchantName(value) {
31060
+ pb_1.Message.setField(this, 4, value);
31061
+ }
31062
+ get merchantAccountNumber() {
31063
+ return pb_1.Message.getFieldWithDefault(this, 5, "");
31064
+ }
31065
+ set merchantAccountNumber(value) {
31066
+ pb_1.Message.setField(this, 5, value);
31067
+ }
31068
+ get bvn() {
31069
+ return pb_1.Message.getFieldWithDefault(this, 6, "");
31070
+ }
31071
+ set bvn(value) {
31072
+ pb_1.Message.setField(this, 6, value);
31073
+ }
31074
+ get assignedBy() {
31075
+ return pb_1.Message.getFieldWithDefault(this, 7, "");
31076
+ }
31077
+ set assignedBy(value) {
31078
+ pb_1.Message.setField(this, 7, value);
31079
+ }
31080
+ get phoneNumber() {
31081
+ return pb_1.Message.getFieldWithDefault(this, 8, "");
31082
+ }
31083
+ set phoneNumber(value) {
31084
+ pb_1.Message.setField(this, 8, value);
31085
+ }
31086
+ get assignmentReason() {
31087
+ return pb_1.Message.getFieldWithDefault(this, 9, "");
31088
+ }
31089
+ set assignmentReason(value) {
31090
+ pb_1.Message.setField(this, 9, value);
31091
+ }
31092
+ get auditContext() {
31093
+ return pb_1.Message.getFieldWithDefault(this, 10, "");
31094
+ }
31095
+ set auditContext(value) {
31096
+ pb_1.Message.setField(this, 10, value);
31097
+ }
31098
+ static fromObject(data) {
31099
+ const message = new ProvisionMerchantBranchTerminalRequest({});
31100
+ if (data.serialNumber != null) {
31101
+ message.serialNumber = data.serialNumber;
31102
+ }
31103
+ if (data.merchantId != null) {
31104
+ message.merchantId = data.merchantId;
31105
+ }
31106
+ if (data.branchId != null) {
31107
+ message.branchId = data.branchId;
31108
+ }
31109
+ if (data.merchantName != null) {
31110
+ message.merchantName = data.merchantName;
31111
+ }
31112
+ if (data.merchantAccountNumber != null) {
31113
+ message.merchantAccountNumber = data.merchantAccountNumber;
31114
+ }
31115
+ if (data.bvn != null) {
31116
+ message.bvn = data.bvn;
31117
+ }
31118
+ if (data.assignedBy != null) {
31119
+ message.assignedBy = data.assignedBy;
31120
+ }
31121
+ if (data.phoneNumber != null) {
31122
+ message.phoneNumber = data.phoneNumber;
31123
+ }
31124
+ if (data.assignmentReason != null) {
31125
+ message.assignmentReason = data.assignmentReason;
31126
+ }
31127
+ if (data.auditContext != null) {
31128
+ message.auditContext = data.auditContext;
31129
+ }
31130
+ return message;
31131
+ }
31132
+ toObject() {
31133
+ const data = {};
31134
+ if (this.serialNumber != null) {
31135
+ data.serialNumber = this.serialNumber;
31136
+ }
31137
+ if (this.merchantId != null) {
31138
+ data.merchantId = this.merchantId;
31139
+ }
31140
+ if (this.branchId != null) {
31141
+ data.branchId = this.branchId;
31142
+ }
31143
+ if (this.merchantName != null) {
31144
+ data.merchantName = this.merchantName;
31145
+ }
31146
+ if (this.merchantAccountNumber != null) {
31147
+ data.merchantAccountNumber = this.merchantAccountNumber;
31148
+ }
31149
+ if (this.bvn != null) {
31150
+ data.bvn = this.bvn;
31151
+ }
31152
+ if (this.assignedBy != null) {
31153
+ data.assignedBy = this.assignedBy;
31154
+ }
31155
+ if (this.phoneNumber != null) {
31156
+ data.phoneNumber = this.phoneNumber;
31157
+ }
31158
+ if (this.assignmentReason != null) {
31159
+ data.assignmentReason = this.assignmentReason;
31160
+ }
31161
+ if (this.auditContext != null) {
31162
+ data.auditContext = this.auditContext;
31163
+ }
31164
+ return data;
31165
+ }
31166
+ serialize(w) {
31167
+ const writer = w || new pb_1.BinaryWriter();
31168
+ if (this.serialNumber.length)
31169
+ writer.writeString(1, this.serialNumber);
31170
+ if (this.merchantId.length)
31171
+ writer.writeString(2, this.merchantId);
31172
+ if (this.branchId.length)
31173
+ writer.writeString(3, this.branchId);
31174
+ if (this.merchantName.length)
31175
+ writer.writeString(4, this.merchantName);
31176
+ if (this.merchantAccountNumber.length)
31177
+ writer.writeString(5, this.merchantAccountNumber);
31178
+ if (this.bvn.length)
31179
+ writer.writeString(6, this.bvn);
31180
+ if (this.assignedBy.length)
31181
+ writer.writeString(7, this.assignedBy);
31182
+ if (this.phoneNumber.length)
31183
+ writer.writeString(8, this.phoneNumber);
31184
+ if (this.assignmentReason.length)
31185
+ writer.writeString(9, this.assignmentReason);
31186
+ if (this.auditContext.length)
31187
+ writer.writeString(10, this.auditContext);
31188
+ if (!w)
31189
+ return writer.getResultBuffer();
31190
+ }
31191
+ static deserialize(bytes) {
31192
+ const reader = bytes instanceof pb_1.BinaryReader ? bytes : new pb_1.BinaryReader(bytes), message = new ProvisionMerchantBranchTerminalRequest();
31193
+ while (reader.nextField()) {
31194
+ if (reader.isEndGroup())
31195
+ break;
31196
+ switch (reader.getFieldNumber()) {
31197
+ case 1:
31198
+ message.serialNumber = reader.readString();
31199
+ break;
31200
+ case 2:
31201
+ message.merchantId = reader.readString();
31202
+ break;
31203
+ case 3:
31204
+ message.branchId = reader.readString();
31205
+ break;
31206
+ case 4:
31207
+ message.merchantName = reader.readString();
31208
+ break;
31209
+ case 5:
31210
+ message.merchantAccountNumber = reader.readString();
31211
+ break;
31212
+ case 6:
31213
+ message.bvn = reader.readString();
31214
+ break;
31215
+ case 7:
31216
+ message.assignedBy = reader.readString();
31217
+ break;
31218
+ case 8:
31219
+ message.phoneNumber = reader.readString();
31220
+ break;
31221
+ case 9:
31222
+ message.assignmentReason = reader.readString();
31223
+ break;
31224
+ case 10:
31225
+ message.auditContext = reader.readString();
31226
+ break;
31227
+ default: reader.skipField();
31228
+ }
31229
+ }
31230
+ return message;
31231
+ }
31232
+ serializeBinary() {
31233
+ return this.serialize();
31234
+ }
31235
+ static deserializeBinary(bytes) {
31236
+ return ProvisionMerchantBranchTerminalRequest.deserialize(bytes);
31237
+ }
31238
+ }
31239
+ terminals.ProvisionMerchantBranchTerminalRequest = ProvisionMerchantBranchTerminalRequest;
31240
+ class ProvisionMerchantBranchTerminalResponse extends pb_1.Message {
31241
+ #one_of_decls = [];
31242
+ constructor(data) {
31243
+ super();
31244
+ pb_1.Message.initialize(this, Array.isArray(data) ? data : [], 0, -1, [], this.#one_of_decls);
31245
+ if (!Array.isArray(data) && typeof data == "object") {
31246
+ if ("success" in data && data.success != undefined) {
31247
+ this.success = data.success;
31248
+ }
31249
+ if ("message" in data && data.message != undefined) {
31250
+ this.message = data.message;
31251
+ }
31252
+ if ("terminalInstanceId" in data && data.terminalInstanceId != undefined) {
31253
+ this.terminalInstanceId = data.terminalInstanceId;
31254
+ }
31255
+ if ("processorTid" in data && data.processorTid != undefined) {
31256
+ this.processorTid = data.processorTid;
31257
+ }
31258
+ if ("virtualAccountId" in data && data.virtualAccountId != undefined) {
31259
+ this.virtualAccountId = data.virtualAccountId;
31260
+ }
31261
+ }
31262
+ }
31263
+ get success() {
31264
+ return pb_1.Message.getFieldWithDefault(this, 1, false);
31265
+ }
31266
+ set success(value) {
31267
+ pb_1.Message.setField(this, 1, value);
31268
+ }
31269
+ get message() {
31270
+ return pb_1.Message.getFieldWithDefault(this, 2, "");
31271
+ }
31272
+ set message(value) {
31273
+ pb_1.Message.setField(this, 2, value);
31274
+ }
31275
+ get terminalInstanceId() {
31276
+ return pb_1.Message.getFieldWithDefault(this, 3, "");
31277
+ }
31278
+ set terminalInstanceId(value) {
31279
+ pb_1.Message.setField(this, 3, value);
31280
+ }
31281
+ get processorTid() {
31282
+ return pb_1.Message.getFieldWithDefault(this, 4, "");
31283
+ }
31284
+ set processorTid(value) {
31285
+ pb_1.Message.setField(this, 4, value);
31286
+ }
31287
+ get virtualAccountId() {
31288
+ return pb_1.Message.getFieldWithDefault(this, 5, "");
31289
+ }
31290
+ set virtualAccountId(value) {
31291
+ pb_1.Message.setField(this, 5, value);
31292
+ }
31293
+ static fromObject(data) {
31294
+ const message = new ProvisionMerchantBranchTerminalResponse({});
31295
+ if (data.success != null) {
31296
+ message.success = data.success;
31297
+ }
31298
+ if (data.message != null) {
31299
+ message.message = data.message;
31300
+ }
31301
+ if (data.terminalInstanceId != null) {
31302
+ message.terminalInstanceId = data.terminalInstanceId;
31303
+ }
31304
+ if (data.processorTid != null) {
31305
+ message.processorTid = data.processorTid;
31306
+ }
31307
+ if (data.virtualAccountId != null) {
31308
+ message.virtualAccountId = data.virtualAccountId;
31309
+ }
31310
+ return message;
31311
+ }
31312
+ toObject() {
31313
+ const data = {};
31314
+ if (this.success != null) {
31315
+ data.success = this.success;
31316
+ }
31317
+ if (this.message != null) {
31318
+ data.message = this.message;
31319
+ }
31320
+ if (this.terminalInstanceId != null) {
31321
+ data.terminalInstanceId = this.terminalInstanceId;
31322
+ }
31323
+ if (this.processorTid != null) {
31324
+ data.processorTid = this.processorTid;
31325
+ }
31326
+ if (this.virtualAccountId != null) {
31327
+ data.virtualAccountId = this.virtualAccountId;
31328
+ }
31329
+ return data;
31330
+ }
31331
+ serialize(w) {
31332
+ const writer = w || new pb_1.BinaryWriter();
31333
+ if (this.success != false)
31334
+ writer.writeBool(1, this.success);
31335
+ if (this.message.length)
31336
+ writer.writeString(2, this.message);
31337
+ if (this.terminalInstanceId.length)
31338
+ writer.writeString(3, this.terminalInstanceId);
31339
+ if (this.processorTid.length)
31340
+ writer.writeString(4, this.processorTid);
31341
+ if (this.virtualAccountId.length)
31342
+ writer.writeString(5, this.virtualAccountId);
31343
+ if (!w)
31344
+ return writer.getResultBuffer();
31345
+ }
31346
+ static deserialize(bytes) {
31347
+ const reader = bytes instanceof pb_1.BinaryReader ? bytes : new pb_1.BinaryReader(bytes), message = new ProvisionMerchantBranchTerminalResponse();
31348
+ while (reader.nextField()) {
31349
+ if (reader.isEndGroup())
31350
+ break;
31351
+ switch (reader.getFieldNumber()) {
31352
+ case 1:
31353
+ message.success = reader.readBool();
31354
+ break;
31355
+ case 2:
31356
+ message.message = reader.readString();
31357
+ break;
31358
+ case 3:
31359
+ message.terminalInstanceId = reader.readString();
31360
+ break;
31361
+ case 4:
31362
+ message.processorTid = reader.readString();
31363
+ break;
31364
+ case 5:
31365
+ message.virtualAccountId = reader.readString();
31366
+ break;
31367
+ default: reader.skipField();
31368
+ }
31369
+ }
31370
+ return message;
31371
+ }
31372
+ serializeBinary() {
31373
+ return this.serialize();
31374
+ }
31375
+ static deserializeBinary(bytes) {
31376
+ return ProvisionMerchantBranchTerminalResponse.deserialize(bytes);
31377
+ }
31378
+ }
31379
+ terminals.ProvisionMerchantBranchTerminalResponse = ProvisionMerchantBranchTerminalResponse;
31000
31380
  class UnimplementedTerminalServiceService {
31001
31381
  static definition = {
31002
31382
  AddTerminalInstance: {
@@ -31592,6 +31972,15 @@ var com;
31592
31972
  requestDeserialize: (bytes) => GetMfbTerminalsRequest.deserialize(new Uint8Array(bytes)),
31593
31973
  responseSerialize: (message) => Buffer.from(message.serialize()),
31594
31974
  responseDeserialize: (bytes) => GetMfbTerminalsResponse.deserialize(new Uint8Array(bytes))
31975
+ },
31976
+ ProvisionMerchantBranchTerminal: {
31977
+ path: "/com.pkg.posv1.terminals.TerminalService/ProvisionMerchantBranchTerminal",
31978
+ requestStream: false,
31979
+ responseStream: false,
31980
+ requestSerialize: (message) => Buffer.from(message.serialize()),
31981
+ requestDeserialize: (bytes) => ProvisionMerchantBranchTerminalRequest.deserialize(new Uint8Array(bytes)),
31982
+ responseSerialize: (message) => Buffer.from(message.serialize()),
31983
+ responseDeserialize: (bytes) => ProvisionMerchantBranchTerminalResponse.deserialize(new Uint8Array(bytes))
31595
31984
  }
31596
31985
  };
31597
31986
  }
@@ -32656,6 +33045,22 @@ var com;
32656
33045
  }
32657
33046
  }));
32658
33047
  };
33048
+ ProvisionMerchantBranchTerminal = (message, metadata, options) => {
33049
+ if (!metadata) {
33050
+ metadata = new grpc_1.Metadata;
33051
+ }
33052
+ if (!options) {
33053
+ options = {};
33054
+ }
33055
+ return new Promise((resolve, reject) => super.ProvisionMerchantBranchTerminal(message, metadata, options, (error, response) => {
33056
+ if (error) {
33057
+ reject(error);
33058
+ }
33059
+ else {
33060
+ resolve(response);
33061
+ }
33062
+ }));
33063
+ };
32659
33064
  }
32660
33065
  terminals.TerminalServiceClient = TerminalServiceClient;
32661
33066
  class UnimplementedBusinessContextServiceService {
@@ -10403,6 +10403,109 @@ export declare namespace com.pkg.posv1.terminals {
10403
10403
  serializeBinary(): Uint8Array;
10404
10404
  static deserializeBinary(bytes: Uint8Array): GetMfbTerminalsResponse;
10405
10405
  }
10406
+ export class ProvisionMerchantBranchTerminalRequest extends pb_1.Message {
10407
+ #private;
10408
+ constructor(data?: any[] | {
10409
+ serialNumber?: string;
10410
+ merchantId?: string;
10411
+ branchId?: string;
10412
+ merchantName?: string;
10413
+ merchantAccountNumber?: string;
10414
+ bvn?: string;
10415
+ assignedBy?: string;
10416
+ phoneNumber?: string;
10417
+ assignmentReason?: string;
10418
+ auditContext?: string;
10419
+ });
10420
+ get serialNumber(): string;
10421
+ set serialNumber(value: string);
10422
+ get merchantId(): string;
10423
+ set merchantId(value: string);
10424
+ get branchId(): string;
10425
+ set branchId(value: string);
10426
+ get merchantName(): string;
10427
+ set merchantName(value: string);
10428
+ get merchantAccountNumber(): string;
10429
+ set merchantAccountNumber(value: string);
10430
+ get bvn(): string;
10431
+ set bvn(value: string);
10432
+ get assignedBy(): string;
10433
+ set assignedBy(value: string);
10434
+ get phoneNumber(): string;
10435
+ set phoneNumber(value: string);
10436
+ get assignmentReason(): string;
10437
+ set assignmentReason(value: string);
10438
+ get auditContext(): string;
10439
+ set auditContext(value: string);
10440
+ static fromObject(data: {
10441
+ serialNumber?: string;
10442
+ merchantId?: string;
10443
+ branchId?: string;
10444
+ merchantName?: string;
10445
+ merchantAccountNumber?: string;
10446
+ bvn?: string;
10447
+ assignedBy?: string;
10448
+ phoneNumber?: string;
10449
+ assignmentReason?: string;
10450
+ auditContext?: string;
10451
+ }): ProvisionMerchantBranchTerminalRequest;
10452
+ toObject(): {
10453
+ serialNumber?: string | undefined;
10454
+ merchantId?: string | undefined;
10455
+ branchId?: string | undefined;
10456
+ merchantName?: string | undefined;
10457
+ merchantAccountNumber?: string | undefined;
10458
+ bvn?: string | undefined;
10459
+ assignedBy?: string | undefined;
10460
+ phoneNumber?: string | undefined;
10461
+ assignmentReason?: string | undefined;
10462
+ auditContext?: string | undefined;
10463
+ };
10464
+ serialize(): Uint8Array;
10465
+ serialize(w: pb_1.BinaryWriter): void;
10466
+ static deserialize(bytes: Uint8Array | pb_1.BinaryReader): ProvisionMerchantBranchTerminalRequest;
10467
+ serializeBinary(): Uint8Array;
10468
+ static deserializeBinary(bytes: Uint8Array): ProvisionMerchantBranchTerminalRequest;
10469
+ }
10470
+ export class ProvisionMerchantBranchTerminalResponse extends pb_1.Message {
10471
+ #private;
10472
+ constructor(data?: any[] | {
10473
+ success?: boolean;
10474
+ message?: string;
10475
+ terminalInstanceId?: string;
10476
+ processorTid?: string;
10477
+ virtualAccountId?: string;
10478
+ });
10479
+ get success(): boolean;
10480
+ set success(value: boolean);
10481
+ get message(): string;
10482
+ set message(value: string);
10483
+ get terminalInstanceId(): string;
10484
+ set terminalInstanceId(value: string);
10485
+ get processorTid(): string;
10486
+ set processorTid(value: string);
10487
+ get virtualAccountId(): string;
10488
+ set virtualAccountId(value: string);
10489
+ static fromObject(data: {
10490
+ success?: boolean;
10491
+ message?: string;
10492
+ terminalInstanceId?: string;
10493
+ processorTid?: string;
10494
+ virtualAccountId?: string;
10495
+ }): ProvisionMerchantBranchTerminalResponse;
10496
+ toObject(): {
10497
+ success?: boolean | undefined;
10498
+ message?: string | undefined;
10499
+ terminalInstanceId?: string | undefined;
10500
+ processorTid?: string | undefined;
10501
+ virtualAccountId?: string | undefined;
10502
+ };
10503
+ serialize(): Uint8Array;
10504
+ serialize(w: pb_1.BinaryWriter): void;
10505
+ static deserialize(bytes: Uint8Array | pb_1.BinaryReader): ProvisionMerchantBranchTerminalResponse;
10506
+ serializeBinary(): Uint8Array;
10507
+ static deserializeBinary(bytes: Uint8Array): ProvisionMerchantBranchTerminalResponse;
10508
+ }
10406
10509
  interface GrpcPromiseServiceInterface<P, R> {
10407
10510
  (message: P, metadata: grpc_1.Metadata, options?: grpc_1.CallOptions): Promise<R>;
10408
10511
  (message: P, options?: grpc_1.CallOptions): Promise<R>;
@@ -11003,6 +11106,15 @@ export declare namespace com.pkg.posv1.terminals {
11003
11106
  responseSerialize: (message: GetMfbTerminalsResponse) => Buffer;
11004
11107
  responseDeserialize: (bytes: Buffer) => GetMfbTerminalsResponse;
11005
11108
  };
11109
+ ProvisionMerchantBranchTerminal: {
11110
+ path: string;
11111
+ requestStream: boolean;
11112
+ responseStream: boolean;
11113
+ requestSerialize: (message: ProvisionMerchantBranchTerminalRequest) => Buffer;
11114
+ requestDeserialize: (bytes: Buffer) => ProvisionMerchantBranchTerminalRequest;
11115
+ responseSerialize: (message: ProvisionMerchantBranchTerminalResponse) => Buffer;
11116
+ responseDeserialize: (bytes: Buffer) => ProvisionMerchantBranchTerminalResponse;
11117
+ };
11006
11118
  };
11007
11119
  [method: string]: grpc_1.UntypedHandleCall;
11008
11120
  abstract AddTerminalInstance(call: grpc_1.ServerUnaryCall<AddTerminalInstanceRequest, AddTerminalInstanceResponse>, callback: grpc_1.sendUnaryData<AddTerminalInstanceResponse>): void;
@@ -11071,6 +11183,7 @@ export declare namespace com.pkg.posv1.terminals {
11071
11183
  abstract AllocateMfbTerminals(call: grpc_1.ServerUnaryCall<AllocateMfbTerminalsRequest, AllocateMfbTerminalsResponse>, callback: grpc_1.sendUnaryData<AllocateMfbTerminalsResponse>): void;
11072
11184
  abstract DeallocateMfbTerminals(call: grpc_1.ServerUnaryCall<DeallocateMfbTerminalsRequest, DeallocateMfbTerminalsResponse>, callback: grpc_1.sendUnaryData<DeallocateMfbTerminalsResponse>): void;
11073
11185
  abstract GetMfbTerminals(call: grpc_1.ServerUnaryCall<GetMfbTerminalsRequest, GetMfbTerminalsResponse>, callback: grpc_1.sendUnaryData<GetMfbTerminalsResponse>): void;
11186
+ abstract ProvisionMerchantBranchTerminal(call: grpc_1.ServerUnaryCall<ProvisionMerchantBranchTerminalRequest, ProvisionMerchantBranchTerminalResponse>, callback: grpc_1.sendUnaryData<ProvisionMerchantBranchTerminalResponse>): void;
11074
11187
  }
11075
11188
  const TerminalServiceClient_base: grpc_1.ServiceClientConstructor;
11076
11189
  export class TerminalServiceClient extends TerminalServiceClient_base {
@@ -11141,6 +11254,7 @@ export declare namespace com.pkg.posv1.terminals {
11141
11254
  AllocateMfbTerminals: GrpcPromiseServiceInterface<AllocateMfbTerminalsRequest, AllocateMfbTerminalsResponse>;
11142
11255
  DeallocateMfbTerminals: GrpcPromiseServiceInterface<DeallocateMfbTerminalsRequest, DeallocateMfbTerminalsResponse>;
11143
11256
  GetMfbTerminals: GrpcPromiseServiceInterface<GetMfbTerminalsRequest, GetMfbTerminalsResponse>;
11257
+ ProvisionMerchantBranchTerminal: GrpcPromiseServiceInterface<ProvisionMerchantBranchTerminalRequest, ProvisionMerchantBranchTerminalResponse>;
11144
11258
  }
11145
11259
  export abstract class UnimplementedBusinessContextServiceService {
11146
11260
  static definition: {
@@ -1,113 +0,0 @@
1
- "use strict";
2
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
- if (k2 === undefined) k2 = k;
4
- var desc = Object.getOwnPropertyDescriptor(m, k);
5
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
- desc = { enumerable: true, get: function() { return m[k]; } };
7
- }
8
- Object.defineProperty(o, k2, desc);
9
- }) : (function(o, m, k, k2) {
10
- if (k2 === undefined) k2 = k;
11
- o[k2] = m[k];
12
- }));
13
- var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
- Object.defineProperty(o, "default", { enumerable: true, value: v });
15
- }) : function(o, v) {
16
- o["default"] = v;
17
- });
18
- var __importStar = (this && this.__importStar) || function (mod) {
19
- if (mod && mod.__esModule) return mod;
20
- var result = {};
21
- if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
22
- __setModuleDefault(result, mod);
23
- return result;
24
- };
25
- Object.defineProperty(exports, "__esModule", { value: true });
26
- exports.google = void 0;
27
- const pb_1 = __importStar(require("google-protobuf"));
28
- var google;
29
- (function (google) {
30
- var protobuf;
31
- (function (protobuf) {
32
- class Any extends pb_1.Message {
33
- #one_of_decls = [];
34
- constructor(data) {
35
- super();
36
- pb_1.Message.initialize(this, Array.isArray(data) ? data : [], 0, -1, [], this.#one_of_decls);
37
- if (!Array.isArray(data) && typeof data == "object") {
38
- if ("typeUrl" in data && data.typeUrl != undefined) {
39
- this.typeUrl = data.typeUrl;
40
- }
41
- if ("value" in data && data.value != undefined) {
42
- this.value = data.value;
43
- }
44
- }
45
- }
46
- get typeUrl() {
47
- return pb_1.Message.getFieldWithDefault(this, 1, "");
48
- }
49
- set typeUrl(value) {
50
- pb_1.Message.setField(this, 1, value);
51
- }
52
- get value() {
53
- return pb_1.Message.getFieldWithDefault(this, 2, new Uint8Array(0));
54
- }
55
- set value(value) {
56
- pb_1.Message.setField(this, 2, value);
57
- }
58
- static fromObject(data) {
59
- const message = new Any({});
60
- if (data.typeUrl != null) {
61
- message.typeUrl = data.typeUrl;
62
- }
63
- if (data.value != null) {
64
- message.value = data.value;
65
- }
66
- return message;
67
- }
68
- toObject() {
69
- const data = {};
70
- if (this.typeUrl != null) {
71
- data.typeUrl = this.typeUrl;
72
- }
73
- if (this.value != null) {
74
- data.value = this.value;
75
- }
76
- return data;
77
- }
78
- serialize(w) {
79
- const writer = w || new pb_1.BinaryWriter();
80
- if (this.typeUrl.length)
81
- writer.writeString(1, this.typeUrl);
82
- if (this.value.length)
83
- writer.writeBytes(2, this.value);
84
- if (!w)
85
- return writer.getResultBuffer();
86
- }
87
- static deserialize(bytes) {
88
- const reader = bytes instanceof pb_1.BinaryReader ? bytes : new pb_1.BinaryReader(bytes), message = new Any();
89
- while (reader.nextField()) {
90
- if (reader.isEndGroup())
91
- break;
92
- switch (reader.getFieldNumber()) {
93
- case 1:
94
- message.typeUrl = reader.readString();
95
- break;
96
- case 2:
97
- message.value = reader.readBytes();
98
- break;
99
- default: reader.skipField();
100
- }
101
- }
102
- return message;
103
- }
104
- serializeBinary() {
105
- return this.serialize();
106
- }
107
- static deserializeBinary(bytes) {
108
- return Any.deserialize(bytes);
109
- }
110
- }
111
- protobuf.Any = Any;
112
- })(protobuf = google.protobuf || (google.protobuf = {}));
113
- })(google || (exports.google = google = {}));
@@ -1,357 +0,0 @@
1
- "use strict";
2
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
- if (k2 === undefined) k2 = k;
4
- var desc = Object.getOwnPropertyDescriptor(m, k);
5
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
- desc = { enumerable: true, get: function() { return m[k]; } };
7
- }
8
- Object.defineProperty(o, k2, desc);
9
- }) : (function(o, m, k, k2) {
10
- if (k2 === undefined) k2 = k;
11
- o[k2] = m[k];
12
- }));
13
- var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
- Object.defineProperty(o, "default", { enumerable: true, value: v });
15
- }) : function(o, v) {
16
- o["default"] = v;
17
- });
18
- var __importStar = (this && this.__importStar) || function (mod) {
19
- if (mod && mod.__esModule) return mod;
20
- var result = {};
21
- if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
22
- __setModuleDefault(result, mod);
23
- return result;
24
- };
25
- Object.defineProperty(exports, "__esModule", { value: true });
26
- exports.google = void 0;
27
- const pb_1 = __importStar(require("google-protobuf"));
28
- var google;
29
- (function (google) {
30
- var protobuf;
31
- (function (protobuf) {
32
- let NullValue;
33
- (function (NullValue) {
34
- NullValue[NullValue["NULL_VALUE"] = 0] = "NULL_VALUE";
35
- })(NullValue = protobuf.NullValue || (protobuf.NullValue = {}));
36
- class Struct extends pb_1.Message {
37
- #one_of_decls = [];
38
- constructor(data) {
39
- super();
40
- pb_1.Message.initialize(this, Array.isArray(data) ? data : [], 0, -1, [], this.#one_of_decls);
41
- if (!Array.isArray(data) && typeof data == "object") {
42
- if ("fields" in data && data.fields != undefined) {
43
- this.fields = data.fields;
44
- }
45
- }
46
- if (!this.fields)
47
- this.fields = new Map();
48
- }
49
- get fields() {
50
- return pb_1.Message.getField(this, 1);
51
- }
52
- set fields(value) {
53
- pb_1.Message.setField(this, 1, value);
54
- }
55
- static fromObject(data) {
56
- const message = new Struct({});
57
- if (typeof data.fields == "object") {
58
- message.fields = new Map(Object.entries(data.fields).map(([key, value]) => [key, Value.fromObject(value)]));
59
- }
60
- return message;
61
- }
62
- toObject() {
63
- const data = {};
64
- if (this.fields != null) {
65
- data.fields = (Object.fromEntries)((Array.from)(this.fields).map(([key, value]) => [key, value.toObject()]));
66
- }
67
- return data;
68
- }
69
- serialize(w) {
70
- const writer = w || new pb_1.BinaryWriter();
71
- for (const [key, value] of this.fields) {
72
- writer.writeMessage(1, this.fields, () => {
73
- writer.writeString(1, key);
74
- writer.writeMessage(2, value, () => value.serialize(writer));
75
- });
76
- }
77
- if (!w)
78
- return writer.getResultBuffer();
79
- }
80
- static deserialize(bytes) {
81
- const reader = bytes instanceof pb_1.BinaryReader ? bytes : new pb_1.BinaryReader(bytes), message = new Struct();
82
- while (reader.nextField()) {
83
- if (reader.isEndGroup())
84
- break;
85
- switch (reader.getFieldNumber()) {
86
- case 1:
87
- reader.readMessage(message, () => pb_1.Map.deserializeBinary(message.fields, reader, reader.readString, () => {
88
- let value;
89
- reader.readMessage(message, () => value = Value.deserialize(reader));
90
- return value;
91
- }));
92
- break;
93
- default: reader.skipField();
94
- }
95
- }
96
- return message;
97
- }
98
- serializeBinary() {
99
- return this.serialize();
100
- }
101
- static deserializeBinary(bytes) {
102
- return Struct.deserialize(bytes);
103
- }
104
- }
105
- protobuf.Struct = Struct;
106
- class Value extends pb_1.Message {
107
- #one_of_decls = [[1, 2, 3, 4, 5, 6]];
108
- constructor(data) {
109
- super();
110
- pb_1.Message.initialize(this, Array.isArray(data) ? data : [], 0, -1, [], this.#one_of_decls);
111
- if (!Array.isArray(data) && typeof data == "object") {
112
- if ("nullValue" in data && data.nullValue != undefined) {
113
- this.nullValue = data.nullValue;
114
- }
115
- if ("numberValue" in data && data.numberValue != undefined) {
116
- this.numberValue = data.numberValue;
117
- }
118
- if ("stringValue" in data && data.stringValue != undefined) {
119
- this.stringValue = data.stringValue;
120
- }
121
- if ("boolValue" in data && data.boolValue != undefined) {
122
- this.boolValue = data.boolValue;
123
- }
124
- if ("structValue" in data && data.structValue != undefined) {
125
- this.structValue = data.structValue;
126
- }
127
- if ("listValue" in data && data.listValue != undefined) {
128
- this.listValue = data.listValue;
129
- }
130
- }
131
- }
132
- get nullValue() {
133
- return pb_1.Message.getFieldWithDefault(this, 1, NullValue.NULL_VALUE);
134
- }
135
- set nullValue(value) {
136
- pb_1.Message.setOneofField(this, 1, this.#one_of_decls[0], value);
137
- }
138
- get hasNullValue() {
139
- return pb_1.Message.getField(this, 1) != null;
140
- }
141
- get numberValue() {
142
- return pb_1.Message.getFieldWithDefault(this, 2, 0);
143
- }
144
- set numberValue(value) {
145
- pb_1.Message.setOneofField(this, 2, this.#one_of_decls[0], value);
146
- }
147
- get hasNumberValue() {
148
- return pb_1.Message.getField(this, 2) != null;
149
- }
150
- get stringValue() {
151
- return pb_1.Message.getFieldWithDefault(this, 3, "");
152
- }
153
- set stringValue(value) {
154
- pb_1.Message.setOneofField(this, 3, this.#one_of_decls[0], value);
155
- }
156
- get hasStringValue() {
157
- return pb_1.Message.getField(this, 3) != null;
158
- }
159
- get boolValue() {
160
- return pb_1.Message.getFieldWithDefault(this, 4, false);
161
- }
162
- set boolValue(value) {
163
- pb_1.Message.setOneofField(this, 4, this.#one_of_decls[0], value);
164
- }
165
- get hasBoolValue() {
166
- return pb_1.Message.getField(this, 4) != null;
167
- }
168
- get structValue() {
169
- return pb_1.Message.getWrapperField(this, Struct, 5);
170
- }
171
- set structValue(value) {
172
- pb_1.Message.setOneofWrapperField(this, 5, this.#one_of_decls[0], value);
173
- }
174
- get hasStructValue() {
175
- return pb_1.Message.getField(this, 5) != null;
176
- }
177
- get listValue() {
178
- return pb_1.Message.getWrapperField(this, ListValue, 6);
179
- }
180
- set listValue(value) {
181
- pb_1.Message.setOneofWrapperField(this, 6, this.#one_of_decls[0], value);
182
- }
183
- get hasListValue() {
184
- return pb_1.Message.getField(this, 6) != null;
185
- }
186
- get kind() {
187
- const cases = {
188
- 0: "none",
189
- 1: "nullValue",
190
- 2: "numberValue",
191
- 3: "stringValue",
192
- 4: "boolValue",
193
- 5: "structValue",
194
- 6: "listValue"
195
- };
196
- return cases[pb_1.Message.computeOneofCase(this, [1, 2, 3, 4, 5, 6])];
197
- }
198
- static fromObject(data) {
199
- const message = new Value({});
200
- if (data.nullValue != null) {
201
- message.nullValue = data.nullValue;
202
- }
203
- if (data.numberValue != null) {
204
- message.numberValue = data.numberValue;
205
- }
206
- if (data.stringValue != null) {
207
- message.stringValue = data.stringValue;
208
- }
209
- if (data.boolValue != null) {
210
- message.boolValue = data.boolValue;
211
- }
212
- if (data.structValue != null) {
213
- message.structValue = Struct.fromObject(data.structValue);
214
- }
215
- if (data.listValue != null) {
216
- message.listValue = ListValue.fromObject(data.listValue);
217
- }
218
- return message;
219
- }
220
- toObject() {
221
- const data = {};
222
- if (this.nullValue != null) {
223
- data.nullValue = this.nullValue;
224
- }
225
- if (this.numberValue != null) {
226
- data.numberValue = this.numberValue;
227
- }
228
- if (this.stringValue != null) {
229
- data.stringValue = this.stringValue;
230
- }
231
- if (this.boolValue != null) {
232
- data.boolValue = this.boolValue;
233
- }
234
- if (this.structValue != null) {
235
- data.structValue = this.structValue.toObject();
236
- }
237
- if (this.listValue != null) {
238
- data.listValue = this.listValue.toObject();
239
- }
240
- return data;
241
- }
242
- serialize(w) {
243
- const writer = w || new pb_1.BinaryWriter();
244
- if (this.hasNullValue)
245
- writer.writeEnum(1, this.nullValue);
246
- if (this.hasNumberValue)
247
- writer.writeDouble(2, this.numberValue);
248
- if (this.hasStringValue)
249
- writer.writeString(3, this.stringValue);
250
- if (this.hasBoolValue)
251
- writer.writeBool(4, this.boolValue);
252
- if (this.hasStructValue)
253
- writer.writeMessage(5, this.structValue, () => this.structValue.serialize(writer));
254
- if (this.hasListValue)
255
- writer.writeMessage(6, this.listValue, () => this.listValue.serialize(writer));
256
- if (!w)
257
- return writer.getResultBuffer();
258
- }
259
- static deserialize(bytes) {
260
- const reader = bytes instanceof pb_1.BinaryReader ? bytes : new pb_1.BinaryReader(bytes), message = new Value();
261
- while (reader.nextField()) {
262
- if (reader.isEndGroup())
263
- break;
264
- switch (reader.getFieldNumber()) {
265
- case 1:
266
- message.nullValue = reader.readEnum();
267
- break;
268
- case 2:
269
- message.numberValue = reader.readDouble();
270
- break;
271
- case 3:
272
- message.stringValue = reader.readString();
273
- break;
274
- case 4:
275
- message.boolValue = reader.readBool();
276
- break;
277
- case 5:
278
- reader.readMessage(message.structValue, () => message.structValue = Struct.deserialize(reader));
279
- break;
280
- case 6:
281
- reader.readMessage(message.listValue, () => message.listValue = ListValue.deserialize(reader));
282
- break;
283
- default: reader.skipField();
284
- }
285
- }
286
- return message;
287
- }
288
- serializeBinary() {
289
- return this.serialize();
290
- }
291
- static deserializeBinary(bytes) {
292
- return Value.deserialize(bytes);
293
- }
294
- }
295
- protobuf.Value = Value;
296
- class ListValue extends pb_1.Message {
297
- #one_of_decls = [];
298
- constructor(data) {
299
- super();
300
- pb_1.Message.initialize(this, Array.isArray(data) ? data : [], 0, -1, [1], this.#one_of_decls);
301
- if (!Array.isArray(data) && typeof data == "object") {
302
- if ("values" in data && data.values != undefined) {
303
- this.values = data.values;
304
- }
305
- }
306
- }
307
- get values() {
308
- return pb_1.Message.getRepeatedWrapperField(this, Value, 1);
309
- }
310
- set values(value) {
311
- pb_1.Message.setRepeatedWrapperField(this, 1, value);
312
- }
313
- static fromObject(data) {
314
- const message = new ListValue({});
315
- if (data.values != null) {
316
- message.values = data.values.map(item => Value.fromObject(item));
317
- }
318
- return message;
319
- }
320
- toObject() {
321
- const data = {};
322
- if (this.values != null) {
323
- data.values = this.values.map((item) => item.toObject());
324
- }
325
- return data;
326
- }
327
- serialize(w) {
328
- const writer = w || new pb_1.BinaryWriter();
329
- if (this.values.length)
330
- writer.writeRepeatedMessage(1, this.values, (item) => item.serialize(writer));
331
- if (!w)
332
- return writer.getResultBuffer();
333
- }
334
- static deserialize(bytes) {
335
- const reader = bytes instanceof pb_1.BinaryReader ? bytes : new pb_1.BinaryReader(bytes), message = new ListValue();
336
- while (reader.nextField()) {
337
- if (reader.isEndGroup())
338
- break;
339
- switch (reader.getFieldNumber()) {
340
- case 1:
341
- reader.readMessage(message.values, () => pb_1.Message.addToRepeatedWrapperField(message, 1, Value.deserialize(reader), Value));
342
- break;
343
- default: reader.skipField();
344
- }
345
- }
346
- return message;
347
- }
348
- serializeBinary() {
349
- return this.serialize();
350
- }
351
- static deserializeBinary(bytes) {
352
- return ListValue.deserialize(bytes);
353
- }
354
- }
355
- protobuf.ListValue = ListValue;
356
- })(protobuf = google.protobuf || (google.protobuf = {}));
357
- })(google || (exports.google = google = {}));
@@ -1,27 +0,0 @@
1
- import * as pb_1 from "google-protobuf";
2
- export declare namespace google.protobuf {
3
- class Any extends pb_1.Message {
4
- #private;
5
- constructor(data?: any[] | {
6
- typeUrl?: string;
7
- value?: Uint8Array;
8
- });
9
- get typeUrl(): string;
10
- set typeUrl(value: string);
11
- get value(): Uint8Array;
12
- set value(value: Uint8Array);
13
- static fromObject(data: {
14
- typeUrl?: string;
15
- value?: Uint8Array;
16
- }): Any;
17
- toObject(): {
18
- typeUrl?: string | undefined;
19
- value?: Uint8Array | undefined;
20
- };
21
- serialize(): Uint8Array;
22
- serialize(w: pb_1.BinaryWriter): void;
23
- static deserialize(bytes: Uint8Array | pb_1.BinaryReader): Any;
24
- serializeBinary(): Uint8Array;
25
- static deserializeBinary(bytes: Uint8Array): Any;
26
- }
27
- }
@@ -1,175 +0,0 @@
1
- import * as pb_1 from "google-protobuf";
2
- export declare namespace google.protobuf {
3
- enum NullValue {
4
- NULL_VALUE = 0
5
- }
6
- class Struct extends pb_1.Message {
7
- #private;
8
- constructor(data?: any[] | {
9
- fields?: Map<string, Value>;
10
- });
11
- get fields(): Map<string, Value>;
12
- set fields(value: Map<string, Value>);
13
- static fromObject(data: {
14
- fields?: {
15
- [key: string]: ReturnType<typeof Value.prototype.toObject>;
16
- };
17
- }): Struct;
18
- toObject(): {
19
- fields?: {
20
- [key: string]: {
21
- nullValue?: NullValue | undefined;
22
- numberValue?: number | undefined;
23
- stringValue?: string | undefined;
24
- boolValue?: boolean | undefined;
25
- structValue?: {
26
- fields?: {
27
- [key: string]: any;
28
- } | undefined;
29
- } | undefined;
30
- listValue?: {
31
- values?: any[] | undefined;
32
- } | undefined;
33
- };
34
- } | undefined;
35
- };
36
- serialize(): Uint8Array;
37
- serialize(w: pb_1.BinaryWriter): void;
38
- static deserialize(bytes: Uint8Array | pb_1.BinaryReader): Struct;
39
- serializeBinary(): Uint8Array;
40
- static deserializeBinary(bytes: Uint8Array): Struct;
41
- }
42
- class Value extends pb_1.Message {
43
- #private;
44
- constructor(data?: any[] | ({} & (({
45
- nullValue?: NullValue;
46
- numberValue?: never;
47
- stringValue?: never;
48
- boolValue?: never;
49
- structValue?: never;
50
- listValue?: never;
51
- } | {
52
- nullValue?: never;
53
- numberValue?: number;
54
- stringValue?: never;
55
- boolValue?: never;
56
- structValue?: never;
57
- listValue?: never;
58
- } | {
59
- nullValue?: never;
60
- numberValue?: never;
61
- stringValue?: string;
62
- boolValue?: never;
63
- structValue?: never;
64
- listValue?: never;
65
- } | {
66
- nullValue?: never;
67
- numberValue?: never;
68
- stringValue?: never;
69
- boolValue?: boolean;
70
- structValue?: never;
71
- listValue?: never;
72
- } | {
73
- nullValue?: never;
74
- numberValue?: never;
75
- stringValue?: never;
76
- boolValue?: never;
77
- structValue?: Struct;
78
- listValue?: never;
79
- } | {
80
- nullValue?: never;
81
- numberValue?: never;
82
- stringValue?: never;
83
- boolValue?: never;
84
- structValue?: never;
85
- listValue?: ListValue;
86
- }))));
87
- get nullValue(): NullValue;
88
- set nullValue(value: NullValue);
89
- get hasNullValue(): boolean;
90
- get numberValue(): number;
91
- set numberValue(value: number);
92
- get hasNumberValue(): boolean;
93
- get stringValue(): string;
94
- set stringValue(value: string);
95
- get hasStringValue(): boolean;
96
- get boolValue(): boolean;
97
- set boolValue(value: boolean);
98
- get hasBoolValue(): boolean;
99
- get structValue(): Struct;
100
- set structValue(value: Struct);
101
- get hasStructValue(): boolean;
102
- get listValue(): ListValue;
103
- set listValue(value: ListValue);
104
- get hasListValue(): boolean;
105
- get kind(): "none" | "nullValue" | "numberValue" | "stringValue" | "boolValue" | "structValue" | "listValue";
106
- static fromObject(data: {
107
- nullValue?: NullValue;
108
- numberValue?: number;
109
- stringValue?: string;
110
- boolValue?: boolean;
111
- structValue?: ReturnType<typeof Struct.prototype.toObject>;
112
- listValue?: ReturnType<typeof ListValue.prototype.toObject>;
113
- }): Value;
114
- toObject(): {
115
- nullValue?: NullValue | undefined;
116
- numberValue?: number | undefined;
117
- stringValue?: string | undefined;
118
- boolValue?: boolean | undefined;
119
- structValue?: {
120
- fields?: {
121
- [key: string]: {
122
- nullValue?: NullValue | undefined;
123
- numberValue?: number | undefined;
124
- stringValue?: string | undefined;
125
- boolValue?: boolean | undefined;
126
- structValue?: any | undefined;
127
- listValue?: {
128
- values?: any[] | undefined;
129
- } | undefined;
130
- };
131
- } | undefined;
132
- } | undefined;
133
- listValue?: {
134
- values?: any[] | undefined;
135
- } | undefined;
136
- };
137
- serialize(): Uint8Array;
138
- serialize(w: pb_1.BinaryWriter): void;
139
- static deserialize(bytes: Uint8Array | pb_1.BinaryReader): Value;
140
- serializeBinary(): Uint8Array;
141
- static deserializeBinary(bytes: Uint8Array): Value;
142
- }
143
- class ListValue extends pb_1.Message {
144
- #private;
145
- constructor(data?: any[] | {
146
- values?: Value[];
147
- });
148
- get values(): Value[];
149
- set values(value: Value[]);
150
- static fromObject(data: {
151
- values?: ReturnType<typeof Value.prototype.toObject>[];
152
- }): ListValue;
153
- toObject(): {
154
- values?: {
155
- nullValue?: NullValue | undefined;
156
- numberValue?: number | undefined;
157
- stringValue?: string | undefined;
158
- boolValue?: boolean | undefined;
159
- structValue?: {
160
- fields?: {
161
- [key: string]: any;
162
- } | undefined;
163
- } | undefined;
164
- listValue?: {
165
- values?: any[] | undefined;
166
- } | undefined;
167
- }[] | undefined;
168
- };
169
- serialize(): Uint8Array;
170
- serialize(w: pb_1.BinaryWriter): void;
171
- static deserialize(bytes: Uint8Array | pb_1.BinaryReader): ListValue;
172
- serializeBinary(): Uint8Array;
173
- static deserializeBinary(bytes: Uint8Array): ListValue;
174
- }
175
- }