@technova-tech/olive-proto-lib 1.7.2 → 1.7.3

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": "1.7.2",
14
+ "version": "1.7.3",
15
15
  "devDependencies": {
16
16
  "@types/google-protobuf": "^3.15.12",
17
17
  "protoc-gen-ts": "^0.8.7",
@@ -9268,6 +9268,15 @@ var com;
9268
9268
  if ("limit" in data && data.limit != undefined) {
9269
9269
  this.limit = data.limit;
9270
9270
  }
9271
+ if ("search" in data && data.search != undefined) {
9272
+ this.search = data.search;
9273
+ }
9274
+ if ("from" in data && data.from != undefined) {
9275
+ this.from = data.from;
9276
+ }
9277
+ if ("to" in data && data.to != undefined) {
9278
+ this.to = data.to;
9279
+ }
9271
9280
  }
9272
9281
  }
9273
9282
  get terminalTypeId() {
@@ -9288,6 +9297,24 @@ var com;
9288
9297
  set limit(value) {
9289
9298
  pb_1.Message.setField(this, 3, value);
9290
9299
  }
9300
+ get search() {
9301
+ return pb_1.Message.getFieldWithDefault(this, 4, "");
9302
+ }
9303
+ set search(value) {
9304
+ pb_1.Message.setField(this, 4, value);
9305
+ }
9306
+ get from() {
9307
+ return pb_1.Message.getFieldWithDefault(this, 5, "");
9308
+ }
9309
+ set from(value) {
9310
+ pb_1.Message.setField(this, 5, value);
9311
+ }
9312
+ get to() {
9313
+ return pb_1.Message.getFieldWithDefault(this, 6, "");
9314
+ }
9315
+ set to(value) {
9316
+ pb_1.Message.setField(this, 6, value);
9317
+ }
9291
9318
  static fromObject(data) {
9292
9319
  const message = new GetAvailableTerminalsRequest({});
9293
9320
  if (data.terminalTypeId != null) {
@@ -9299,6 +9326,15 @@ var com;
9299
9326
  if (data.limit != null) {
9300
9327
  message.limit = data.limit;
9301
9328
  }
9329
+ if (data.search != null) {
9330
+ message.search = data.search;
9331
+ }
9332
+ if (data.from != null) {
9333
+ message.from = data.from;
9334
+ }
9335
+ if (data.to != null) {
9336
+ message.to = data.to;
9337
+ }
9302
9338
  return message;
9303
9339
  }
9304
9340
  toObject() {
@@ -9312,6 +9348,15 @@ var com;
9312
9348
  if (this.limit != null) {
9313
9349
  data.limit = this.limit;
9314
9350
  }
9351
+ if (this.search != null) {
9352
+ data.search = this.search;
9353
+ }
9354
+ if (this.from != null) {
9355
+ data.from = this.from;
9356
+ }
9357
+ if (this.to != null) {
9358
+ data.to = this.to;
9359
+ }
9315
9360
  return data;
9316
9361
  }
9317
9362
  serialize(w) {
@@ -9322,6 +9367,12 @@ var com;
9322
9367
  writer.writeInt32(2, this.page);
9323
9368
  if (this.limit != 0)
9324
9369
  writer.writeInt32(3, this.limit);
9370
+ if (this.search.length)
9371
+ writer.writeString(4, this.search);
9372
+ if (this.from.length)
9373
+ writer.writeString(5, this.from);
9374
+ if (this.to.length)
9375
+ writer.writeString(6, this.to);
9325
9376
  if (!w)
9326
9377
  return writer.getResultBuffer();
9327
9378
  }
@@ -9340,6 +9391,15 @@ var com;
9340
9391
  case 3:
9341
9392
  message.limit = reader.readInt32();
9342
9393
  break;
9394
+ case 4:
9395
+ message.search = reader.readString();
9396
+ break;
9397
+ case 5:
9398
+ message.from = reader.readString();
9399
+ break;
9400
+ case 6:
9401
+ message.to = reader.readString();
9402
+ break;
9343
9403
  default: reader.skipField();
9344
9404
  }
9345
9405
  }
@@ -4170,6 +4170,9 @@ export declare namespace com.pkg.terminal {
4170
4170
  terminalTypeId?: string;
4171
4171
  page?: number;
4172
4172
  limit?: number;
4173
+ search?: string;
4174
+ from?: string;
4175
+ to?: string;
4173
4176
  });
4174
4177
  get terminalTypeId(): string;
4175
4178
  set terminalTypeId(value: string);
@@ -4177,15 +4180,27 @@ export declare namespace com.pkg.terminal {
4177
4180
  set page(value: number);
4178
4181
  get limit(): number;
4179
4182
  set limit(value: number);
4183
+ get search(): string;
4184
+ set search(value: string);
4185
+ get from(): string;
4186
+ set from(value: string);
4187
+ get to(): string;
4188
+ set to(value: string);
4180
4189
  static fromObject(data: {
4181
4190
  terminalTypeId?: string;
4182
4191
  page?: number;
4183
4192
  limit?: number;
4193
+ search?: string;
4194
+ from?: string;
4195
+ to?: string;
4184
4196
  }): GetAvailableTerminalsRequest;
4185
4197
  toObject(): {
4186
4198
  terminalTypeId?: string | undefined;
4187
4199
  page?: number | undefined;
4188
4200
  limit?: number | undefined;
4201
+ search?: string | undefined;
4202
+ from?: string | undefined;
4203
+ to?: string | undefined;
4189
4204
  };
4190
4205
  serialize(): Uint8Array;
4191
4206
  serialize(w: pb_1.BinaryWriter): void;