core-3nweb-client-lib 0.28.1 → 0.28.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.
Files changed (38) hide show
  1. package/build/api-defs/asmail.d.ts +30 -12
  2. package/build/{ipc-via-protobuf/asmail-cap.d.ts → core/asmail/asmail-cap-ipc.d.ts} +1 -1
  3. package/build/{ipc-via-protobuf/asmail-cap.js → core/asmail/asmail-cap-ipc.js} +33 -11
  4. package/build/core/asmail/delivery/common.d.ts +2 -0
  5. package/build/core/asmail/delivery/index.js +9 -7
  6. package/build/core/asmail/delivery/msg.d.ts +4 -2
  7. package/build/core/asmail/delivery/msg.js +33 -16
  8. package/build/core/asmail/delivery/per-recipient-wip.js +3 -3
  9. package/build/core/asmail/inbox/msg-indexing.js +57 -48
  10. package/build/core/id-manager/index.d.ts +1 -1
  11. package/build/{ipc-via-protobuf/mailerid.d.ts → core/id-manager/mailerid-cap-ipc.d.ts} +1 -1
  12. package/build/{ipc-via-protobuf/mailerid.js → core/id-manager/mailerid-cap-ipc.js} +4 -4
  13. package/build/core/index.js +2 -2
  14. package/build/core/{sign-in.d.ts → startup/sign-in.d.ts} +5 -5
  15. package/build/core/{sign-in.js → startup/sign-in.js} +2 -2
  16. package/build/core/{sign-up.d.ts → startup/sign-up.d.ts} +6 -6
  17. package/build/core/{sign-up.js → startup/sign-up.js} +7 -7
  18. package/build/{ipc-via-protobuf → core/startup}/startup-cap.d.ts +1 -1
  19. package/build/{ipc-via-protobuf → core/startup}/startup-cap.js +4 -4
  20. package/build/core/storage/index.d.ts +1 -1
  21. package/build/{ipc-via-protobuf/storage-cap.d.ts → core/storage/storage-cap-ipc.d.ts} +1 -1
  22. package/build/{ipc-via-protobuf/storage-cap.js → core/storage/storage-cap-ipc.js} +4 -4
  23. package/build/{ipc-via-protobuf → core-ipc}/bytes.d.ts +2 -2
  24. package/build/{ipc-via-protobuf → core-ipc}/bytes.js +2 -2
  25. package/build/core-ipc/common-caps.js +14 -14
  26. package/build/{ipc-via-protobuf → core-ipc}/file.d.ts +2 -2
  27. package/build/{ipc-via-protobuf → core-ipc}/file.js +2 -2
  28. package/build/{ipc-via-protobuf → core-ipc}/fs.d.ts +2 -2
  29. package/build/{ipc-via-protobuf → core-ipc}/fs.js +2 -2
  30. package/build/{ipc-via-protobuf → core-ipc}/log-cap.js +1 -1
  31. package/build/core-ipc/startup-caps.js +1 -1
  32. package/build/ipc.d.ts +4 -4
  33. package/build/ipc.js +4 -4
  34. package/build/lib-common/weak-cache.js +3 -0
  35. package/build/protos/asmail.proto.js +272 -12
  36. package/package.json +1 -1
  37. package/protos/asmail.proto +6 -1
  38. /package/build/{ipc-via-protobuf → core-ipc}/log-cap.d.ts +0 -0
@@ -2067,6 +2067,7 @@ $root.asmail = (function() {
2067
2067
  * @property {string|null} [id] AddMsgRequestBody id
2068
2068
  * @property {common.IBooleanValue|null} [sendImmediately] AddMsgRequestBody sendImmediately
2069
2069
  * @property {common.IAnyValue|null} [localMeta] AddMsgRequestBody localMeta
2070
+ * @property {asmail.AddMsgRequestBody.IRetryOpt|null} [retryRecipient] AddMsgRequestBody retryRecipient
2070
2071
  */
2071
2072
 
2072
2073
  /**
@@ -2125,6 +2126,14 @@ $root.asmail = (function() {
2125
2126
  */
2126
2127
  AddMsgRequestBody.prototype.localMeta = null;
2127
2128
 
2129
+ /**
2130
+ * AddMsgRequestBody retryRecipient.
2131
+ * @member {asmail.AddMsgRequestBody.IRetryOpt|null|undefined} retryRecipient
2132
+ * @memberof asmail.AddMsgRequestBody
2133
+ * @instance
2134
+ */
2135
+ AddMsgRequestBody.prototype.retryRecipient = null;
2136
+
2128
2137
  /**
2129
2138
  * Creates a new AddMsgRequestBody instance using the specified properties.
2130
2139
  * @function create
@@ -2160,6 +2169,8 @@ $root.asmail = (function() {
2160
2169
  $root.common.BooleanValue.encode(message.sendImmediately, writer.uint32(/* id 4, wireType 2 =*/34).fork()).ldelim();
2161
2170
  if (message.localMeta != null && Object.hasOwnProperty.call(message, "localMeta"))
2162
2171
  $root.common.AnyValue.encode(message.localMeta, writer.uint32(/* id 5, wireType 2 =*/42).fork()).ldelim();
2172
+ if (message.retryRecipient != null && Object.hasOwnProperty.call(message, "retryRecipient"))
2173
+ $root.asmail.AddMsgRequestBody.RetryOpt.encode(message.retryRecipient, writer.uint32(/* id 6, wireType 2 =*/50).fork()).ldelim();
2163
2174
  return writer;
2164
2175
  };
2165
2176
 
@@ -2216,6 +2227,10 @@ $root.asmail = (function() {
2216
2227
  message.localMeta = $root.common.AnyValue.decode(reader, reader.uint32());
2217
2228
  break;
2218
2229
  }
2230
+ case 6: {
2231
+ message.retryRecipient = $root.asmail.AddMsgRequestBody.RetryOpt.decode(reader, reader.uint32());
2232
+ break;
2233
+ }
2219
2234
  default:
2220
2235
  reader.skipType(tag & 7);
2221
2236
  break;
@@ -2276,6 +2291,11 @@ $root.asmail = (function() {
2276
2291
  if (error)
2277
2292
  return "localMeta." + error;
2278
2293
  }
2294
+ if (message.retryRecipient != null && message.hasOwnProperty("retryRecipient")) {
2295
+ var error = $root.asmail.AddMsgRequestBody.RetryOpt.verify(message.retryRecipient);
2296
+ if (error)
2297
+ return "retryRecipient." + error;
2298
+ }
2279
2299
  return null;
2280
2300
  };
2281
2301
 
@@ -2315,6 +2335,11 @@ $root.asmail = (function() {
2315
2335
  throw TypeError(".asmail.AddMsgRequestBody.localMeta: object expected");
2316
2336
  message.localMeta = $root.common.AnyValue.fromObject(object.localMeta);
2317
2337
  }
2338
+ if (object.retryRecipient != null) {
2339
+ if (typeof object.retryRecipient !== "object")
2340
+ throw TypeError(".asmail.AddMsgRequestBody.retryRecipient: object expected");
2341
+ message.retryRecipient = $root.asmail.AddMsgRequestBody.RetryOpt.fromObject(object.retryRecipient);
2342
+ }
2318
2343
  return message;
2319
2344
  };
2320
2345
 
@@ -2338,6 +2363,7 @@ $root.asmail = (function() {
2338
2363
  object.id = "";
2339
2364
  object.sendImmediately = null;
2340
2365
  object.localMeta = null;
2366
+ object.retryRecipient = null;
2341
2367
  }
2342
2368
  if (message.recipients && message.recipients.length) {
2343
2369
  object.recipients = [];
@@ -2352,6 +2378,8 @@ $root.asmail = (function() {
2352
2378
  object.sendImmediately = $root.common.BooleanValue.toObject(message.sendImmediately, options);
2353
2379
  if (message.localMeta != null && message.hasOwnProperty("localMeta"))
2354
2380
  object.localMeta = $root.common.AnyValue.toObject(message.localMeta, options);
2381
+ if (message.retryRecipient != null && message.hasOwnProperty("retryRecipient"))
2382
+ object.retryRecipient = $root.asmail.AddMsgRequestBody.RetryOpt.toObject(message.retryRecipient, options);
2355
2383
  return object;
2356
2384
  };
2357
2385
 
@@ -2381,6 +2409,233 @@ $root.asmail = (function() {
2381
2409
  return typeUrlPrefix + "/asmail.AddMsgRequestBody";
2382
2410
  };
2383
2411
 
2412
+ AddMsgRequestBody.RetryOpt = (function() {
2413
+
2414
+ /**
2415
+ * Properties of a RetryOpt.
2416
+ * @memberof asmail.AddMsgRequestBody
2417
+ * @interface IRetryOpt
2418
+ * @property {number|null} [numOfAttempts] RetryOpt numOfAttempts
2419
+ * @property {number|null} [timeBetweenAttempts] RetryOpt timeBetweenAttempts
2420
+ */
2421
+
2422
+ /**
2423
+ * Constructs a new RetryOpt.
2424
+ * @memberof asmail.AddMsgRequestBody
2425
+ * @classdesc Represents a RetryOpt.
2426
+ * @implements IRetryOpt
2427
+ * @constructor
2428
+ * @param {asmail.AddMsgRequestBody.IRetryOpt=} [properties] Properties to set
2429
+ */
2430
+ function RetryOpt(properties) {
2431
+ if (properties)
2432
+ for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
2433
+ if (properties[keys[i]] != null)
2434
+ this[keys[i]] = properties[keys[i]];
2435
+ }
2436
+
2437
+ /**
2438
+ * RetryOpt numOfAttempts.
2439
+ * @member {number} numOfAttempts
2440
+ * @memberof asmail.AddMsgRequestBody.RetryOpt
2441
+ * @instance
2442
+ */
2443
+ RetryOpt.prototype.numOfAttempts = 0;
2444
+
2445
+ /**
2446
+ * RetryOpt timeBetweenAttempts.
2447
+ * @member {number} timeBetweenAttempts
2448
+ * @memberof asmail.AddMsgRequestBody.RetryOpt
2449
+ * @instance
2450
+ */
2451
+ RetryOpt.prototype.timeBetweenAttempts = 0;
2452
+
2453
+ /**
2454
+ * Creates a new RetryOpt instance using the specified properties.
2455
+ * @function create
2456
+ * @memberof asmail.AddMsgRequestBody.RetryOpt
2457
+ * @static
2458
+ * @param {asmail.AddMsgRequestBody.IRetryOpt=} [properties] Properties to set
2459
+ * @returns {asmail.AddMsgRequestBody.RetryOpt} RetryOpt instance
2460
+ */
2461
+ RetryOpt.create = function create(properties) {
2462
+ return new RetryOpt(properties);
2463
+ };
2464
+
2465
+ /**
2466
+ * Encodes the specified RetryOpt message. Does not implicitly {@link asmail.AddMsgRequestBody.RetryOpt.verify|verify} messages.
2467
+ * @function encode
2468
+ * @memberof asmail.AddMsgRequestBody.RetryOpt
2469
+ * @static
2470
+ * @param {asmail.AddMsgRequestBody.IRetryOpt} message RetryOpt message or plain object to encode
2471
+ * @param {$protobuf.Writer} [writer] Writer to encode to
2472
+ * @returns {$protobuf.Writer} Writer
2473
+ */
2474
+ RetryOpt.encode = function encode(message, writer) {
2475
+ if (!writer)
2476
+ writer = $Writer.create();
2477
+ if (message.numOfAttempts != null && Object.hasOwnProperty.call(message, "numOfAttempts"))
2478
+ writer.uint32(/* id 1, wireType 0 =*/8).uint32(message.numOfAttempts);
2479
+ if (message.timeBetweenAttempts != null && Object.hasOwnProperty.call(message, "timeBetweenAttempts"))
2480
+ writer.uint32(/* id 2, wireType 0 =*/16).uint32(message.timeBetweenAttempts);
2481
+ return writer;
2482
+ };
2483
+
2484
+ /**
2485
+ * Encodes the specified RetryOpt message, length delimited. Does not implicitly {@link asmail.AddMsgRequestBody.RetryOpt.verify|verify} messages.
2486
+ * @function encodeDelimited
2487
+ * @memberof asmail.AddMsgRequestBody.RetryOpt
2488
+ * @static
2489
+ * @param {asmail.AddMsgRequestBody.IRetryOpt} message RetryOpt message or plain object to encode
2490
+ * @param {$protobuf.Writer} [writer] Writer to encode to
2491
+ * @returns {$protobuf.Writer} Writer
2492
+ */
2493
+ RetryOpt.encodeDelimited = function encodeDelimited(message, writer) {
2494
+ return this.encode(message, writer).ldelim();
2495
+ };
2496
+
2497
+ /**
2498
+ * Decodes a RetryOpt message from the specified reader or buffer.
2499
+ * @function decode
2500
+ * @memberof asmail.AddMsgRequestBody.RetryOpt
2501
+ * @static
2502
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
2503
+ * @param {number} [length] Message length if known beforehand
2504
+ * @returns {asmail.AddMsgRequestBody.RetryOpt} RetryOpt
2505
+ * @throws {Error} If the payload is not a reader or valid buffer
2506
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
2507
+ */
2508
+ RetryOpt.decode = function decode(reader, length) {
2509
+ if (!(reader instanceof $Reader))
2510
+ reader = $Reader.create(reader);
2511
+ var end = length === undefined ? reader.len : reader.pos + length, message = new $root.asmail.AddMsgRequestBody.RetryOpt();
2512
+ while (reader.pos < end) {
2513
+ var tag = reader.uint32();
2514
+ switch (tag >>> 3) {
2515
+ case 1: {
2516
+ message.numOfAttempts = reader.uint32();
2517
+ break;
2518
+ }
2519
+ case 2: {
2520
+ message.timeBetweenAttempts = reader.uint32();
2521
+ break;
2522
+ }
2523
+ default:
2524
+ reader.skipType(tag & 7);
2525
+ break;
2526
+ }
2527
+ }
2528
+ return message;
2529
+ };
2530
+
2531
+ /**
2532
+ * Decodes a RetryOpt message from the specified reader or buffer, length delimited.
2533
+ * @function decodeDelimited
2534
+ * @memberof asmail.AddMsgRequestBody.RetryOpt
2535
+ * @static
2536
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
2537
+ * @returns {asmail.AddMsgRequestBody.RetryOpt} RetryOpt
2538
+ * @throws {Error} If the payload is not a reader or valid buffer
2539
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
2540
+ */
2541
+ RetryOpt.decodeDelimited = function decodeDelimited(reader) {
2542
+ if (!(reader instanceof $Reader))
2543
+ reader = new $Reader(reader);
2544
+ return this.decode(reader, reader.uint32());
2545
+ };
2546
+
2547
+ /**
2548
+ * Verifies a RetryOpt message.
2549
+ * @function verify
2550
+ * @memberof asmail.AddMsgRequestBody.RetryOpt
2551
+ * @static
2552
+ * @param {Object.<string,*>} message Plain object to verify
2553
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
2554
+ */
2555
+ RetryOpt.verify = function verify(message) {
2556
+ if (typeof message !== "object" || message === null)
2557
+ return "object expected";
2558
+ if (message.numOfAttempts != null && message.hasOwnProperty("numOfAttempts"))
2559
+ if (!$util.isInteger(message.numOfAttempts))
2560
+ return "numOfAttempts: integer expected";
2561
+ if (message.timeBetweenAttempts != null && message.hasOwnProperty("timeBetweenAttempts"))
2562
+ if (!$util.isInteger(message.timeBetweenAttempts))
2563
+ return "timeBetweenAttempts: integer expected";
2564
+ return null;
2565
+ };
2566
+
2567
+ /**
2568
+ * Creates a RetryOpt message from a plain object. Also converts values to their respective internal types.
2569
+ * @function fromObject
2570
+ * @memberof asmail.AddMsgRequestBody.RetryOpt
2571
+ * @static
2572
+ * @param {Object.<string,*>} object Plain object
2573
+ * @returns {asmail.AddMsgRequestBody.RetryOpt} RetryOpt
2574
+ */
2575
+ RetryOpt.fromObject = function fromObject(object) {
2576
+ if (object instanceof $root.asmail.AddMsgRequestBody.RetryOpt)
2577
+ return object;
2578
+ var message = new $root.asmail.AddMsgRequestBody.RetryOpt();
2579
+ if (object.numOfAttempts != null)
2580
+ message.numOfAttempts = object.numOfAttempts >>> 0;
2581
+ if (object.timeBetweenAttempts != null)
2582
+ message.timeBetweenAttempts = object.timeBetweenAttempts >>> 0;
2583
+ return message;
2584
+ };
2585
+
2586
+ /**
2587
+ * Creates a plain object from a RetryOpt message. Also converts values to other types if specified.
2588
+ * @function toObject
2589
+ * @memberof asmail.AddMsgRequestBody.RetryOpt
2590
+ * @static
2591
+ * @param {asmail.AddMsgRequestBody.RetryOpt} message RetryOpt
2592
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
2593
+ * @returns {Object.<string,*>} Plain object
2594
+ */
2595
+ RetryOpt.toObject = function toObject(message, options) {
2596
+ if (!options)
2597
+ options = {};
2598
+ var object = {};
2599
+ if (options.defaults) {
2600
+ object.numOfAttempts = 0;
2601
+ object.timeBetweenAttempts = 0;
2602
+ }
2603
+ if (message.numOfAttempts != null && message.hasOwnProperty("numOfAttempts"))
2604
+ object.numOfAttempts = message.numOfAttempts;
2605
+ if (message.timeBetweenAttempts != null && message.hasOwnProperty("timeBetweenAttempts"))
2606
+ object.timeBetweenAttempts = message.timeBetweenAttempts;
2607
+ return object;
2608
+ };
2609
+
2610
+ /**
2611
+ * Converts this RetryOpt to JSON.
2612
+ * @function toJSON
2613
+ * @memberof asmail.AddMsgRequestBody.RetryOpt
2614
+ * @instance
2615
+ * @returns {Object.<string,*>} JSON object
2616
+ */
2617
+ RetryOpt.prototype.toJSON = function toJSON() {
2618
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
2619
+ };
2620
+
2621
+ /**
2622
+ * Gets the default type url for RetryOpt
2623
+ * @function getTypeUrl
2624
+ * @memberof asmail.AddMsgRequestBody.RetryOpt
2625
+ * @static
2626
+ * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
2627
+ * @returns {string} The default type url
2628
+ */
2629
+ RetryOpt.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
2630
+ if (typeUrlPrefix === undefined) {
2631
+ typeUrlPrefix = "type.googleapis.com";
2632
+ }
2633
+ return typeUrlPrefix + "/asmail.AddMsgRequestBody.RetryOpt";
2634
+ };
2635
+
2636
+ return RetryOpt;
2637
+ })();
2638
+
2384
2639
  return AddMsgRequestBody;
2385
2640
  })();
2386
2641
 
@@ -3800,7 +4055,7 @@ $root.asmail = (function() {
3800
4055
  * @memberof asmail
3801
4056
  * @interface IDeliveryProgressMsg
3802
4057
  * @property {common.IBooleanValue|null} [notConnected] DeliveryProgressMsg notConnected
3803
- * @property {boolean|null} [allDone] DeliveryProgressMsg allDone
4058
+ * @property {common.IStringValue|null} [allDone] DeliveryProgressMsg allDone
3804
4059
  * @property {number|Long|null} [msgSize] DeliveryProgressMsg msgSize
3805
4060
  * @property {common.IAnyValue|null} [localMeta] DeliveryProgressMsg localMeta
3806
4061
  * @property {Array.<asmail.DeliveryProgressMsg.IAddrAndDeliveryInfo>|null} [recipients] DeliveryProgressMsg recipients
@@ -3832,11 +4087,11 @@ $root.asmail = (function() {
3832
4087
 
3833
4088
  /**
3834
4089
  * DeliveryProgressMsg allDone.
3835
- * @member {boolean} allDone
4090
+ * @member {common.IStringValue|null|undefined} allDone
3836
4091
  * @memberof asmail.DeliveryProgressMsg
3837
4092
  * @instance
3838
4093
  */
3839
- DeliveryProgressMsg.prototype.allDone = false;
4094
+ DeliveryProgressMsg.prototype.allDone = null;
3840
4095
 
3841
4096
  /**
3842
4097
  * DeliveryProgressMsg msgSize.
@@ -3889,7 +4144,7 @@ $root.asmail = (function() {
3889
4144
  if (message.notConnected != null && Object.hasOwnProperty.call(message, "notConnected"))
3890
4145
  $root.common.BooleanValue.encode(message.notConnected, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim();
3891
4146
  if (message.allDone != null && Object.hasOwnProperty.call(message, "allDone"))
3892
- writer.uint32(/* id 2, wireType 0 =*/16).bool(message.allDone);
4147
+ $root.common.StringValue.encode(message.allDone, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim();
3893
4148
  if (message.msgSize != null && Object.hasOwnProperty.call(message, "msgSize"))
3894
4149
  writer.uint32(/* id 3, wireType 0 =*/24).uint64(message.msgSize);
3895
4150
  if (message.localMeta != null && Object.hasOwnProperty.call(message, "localMeta"))
@@ -3936,7 +4191,7 @@ $root.asmail = (function() {
3936
4191
  break;
3937
4192
  }
3938
4193
  case 2: {
3939
- message.allDone = reader.bool();
4194
+ message.allDone = $root.common.StringValue.decode(reader, reader.uint32());
3940
4195
  break;
3941
4196
  }
3942
4197
  case 3: {
@@ -3993,9 +4248,11 @@ $root.asmail = (function() {
3993
4248
  if (error)
3994
4249
  return "notConnected." + error;
3995
4250
  }
3996
- if (message.allDone != null && message.hasOwnProperty("allDone"))
3997
- if (typeof message.allDone !== "boolean")
3998
- return "allDone: boolean expected";
4251
+ if (message.allDone != null && message.hasOwnProperty("allDone")) {
4252
+ var error = $root.common.StringValue.verify(message.allDone);
4253
+ if (error)
4254
+ return "allDone." + error;
4255
+ }
3999
4256
  if (message.msgSize != null && message.hasOwnProperty("msgSize"))
4000
4257
  if (!$util.isInteger(message.msgSize) && !(message.msgSize && $util.isInteger(message.msgSize.low) && $util.isInteger(message.msgSize.high)))
4001
4258
  return "msgSize: integer|Long expected";
@@ -4033,8 +4290,11 @@ $root.asmail = (function() {
4033
4290
  throw TypeError(".asmail.DeliveryProgressMsg.notConnected: object expected");
4034
4291
  message.notConnected = $root.common.BooleanValue.fromObject(object.notConnected);
4035
4292
  }
4036
- if (object.allDone != null)
4037
- message.allDone = Boolean(object.allDone);
4293
+ if (object.allDone != null) {
4294
+ if (typeof object.allDone !== "object")
4295
+ throw TypeError(".asmail.DeliveryProgressMsg.allDone: object expected");
4296
+ message.allDone = $root.common.StringValue.fromObject(object.allDone);
4297
+ }
4038
4298
  if (object.msgSize != null)
4039
4299
  if ($util.Long)
4040
4300
  (message.msgSize = $util.Long.fromValue(object.msgSize)).unsigned = true;
@@ -4079,7 +4339,7 @@ $root.asmail = (function() {
4079
4339
  object.recipients = [];
4080
4340
  if (options.defaults) {
4081
4341
  object.notConnected = null;
4082
- object.allDone = false;
4342
+ object.allDone = null;
4083
4343
  if ($util.Long) {
4084
4344
  var long = new $util.Long(0, 0, true);
4085
4345
  object.msgSize = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
@@ -4090,7 +4350,7 @@ $root.asmail = (function() {
4090
4350
  if (message.notConnected != null && message.hasOwnProperty("notConnected"))
4091
4351
  object.notConnected = $root.common.BooleanValue.toObject(message.notConnected, options);
4092
4352
  if (message.allDone != null && message.hasOwnProperty("allDone"))
4093
- object.allDone = message.allDone;
4353
+ object.allDone = $root.common.StringValue.toObject(message.allDone, options);
4094
4354
  if (message.msgSize != null && message.hasOwnProperty("msgSize"))
4095
4355
  if (typeof message.msgSize === "number")
4096
4356
  object.msgSize = options.longs === String ? String(message.msgSize) : message.msgSize;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "core-3nweb-client-lib",
3
- "version": "0.28.1",
3
+ "version": "0.28.3",
4
4
  "description": "3NWeb client core library, embeddable into different environments",
5
5
  "main": "build/lib-index.js",
6
6
  "types": "build/lib-index.d.ts",
@@ -74,11 +74,16 @@ message PreFlightRequestBody {
74
74
  // --- delivery.addMsg ---
75
75
  // Reply has only status and body is empty
76
76
  message AddMsgRequestBody {
77
+ message RetryOpt {
78
+ uint32 num_of_attempts = 1;
79
+ uint32 time_between_attempts = 2;
80
+ }
77
81
  repeated string recipients = 1;
78
82
  OutgoingMessageMsg msg = 2;
79
83
  string id = 3;
80
84
  common.BooleanValue send_immediately = 4;
81
85
  common.AnyValue local_meta = 5;
86
+ RetryOpt retry_recipient = 6;
82
87
  }
83
88
 
84
89
  message OutgoingMessageMsg {
@@ -125,7 +130,7 @@ message DeliveryProgressMsg {
125
130
  DeliveryInfo info = 2;
126
131
  }
127
132
  common.BooleanValue not_connected = 1;
128
- bool all_done = 2;
133
+ common.StringValue all_done = 2;
129
134
  uint64 msg_size = 3;
130
135
  common.AnyValue local_meta = 4;
131
136
  repeated AddrAndDeliveryInfo recipients = 5;