@aldiokta/protocgen 1.1.24 → 1.1.25
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
|
@@ -2054,7 +2054,7 @@ proto.ItemTransactionPriceCondition.prototype.toObject = function(opt_includeIns
|
|
|
2054
2054
|
proto.ItemTransactionPriceCondition.toObject = function(includeInstance, msg) {
|
|
2055
2055
|
var f, obj = {
|
|
2056
2056
|
id: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
2057
|
-
amount: jspb.Message.
|
|
2057
|
+
amount: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
2058
2058
|
operator: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
2059
2059
|
divide: jspb.Message.getFloatingPointFieldWithDefault(msg, 4, 0.0),
|
|
2060
2060
|
type: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
@@ -2064,7 +2064,8 @@ referencesId: jspb.Message.getFieldWithDefault(msg, 8, ""),
|
|
|
2064
2064
|
createdAt: jspb.Message.getFieldWithDefault(msg, 9, ""),
|
|
2065
2065
|
updatedAt: jspb.Message.getFieldWithDefault(msg, 10, ""),
|
|
2066
2066
|
code: jspb.Message.getFieldWithDefault(msg, 11, ""),
|
|
2067
|
-
isGeneral: jspb.Message.getBooleanFieldWithDefault(msg, 12, false)
|
|
2067
|
+
isGeneral: jspb.Message.getBooleanFieldWithDefault(msg, 12, false),
|
|
2068
|
+
properties: jspb.Message.getFieldWithDefault(msg, 13, "")
|
|
2068
2069
|
};
|
|
2069
2070
|
|
|
2070
2071
|
if (includeInstance) {
|
|
@@ -2106,7 +2107,7 @@ proto.ItemTransactionPriceCondition.deserializeBinaryFromReader = function(msg,
|
|
|
2106
2107
|
msg.setId(value);
|
|
2107
2108
|
break;
|
|
2108
2109
|
case 2:
|
|
2109
|
-
var value = /** @type {
|
|
2110
|
+
var value = /** @type {string} */ (reader.readString());
|
|
2110
2111
|
msg.setAmount(value);
|
|
2111
2112
|
break;
|
|
2112
2113
|
case 3:
|
|
@@ -2149,6 +2150,10 @@ proto.ItemTransactionPriceCondition.deserializeBinaryFromReader = function(msg,
|
|
|
2149
2150
|
var value = /** @type {boolean} */ (reader.readBool());
|
|
2150
2151
|
msg.setIsGeneral(value);
|
|
2151
2152
|
break;
|
|
2153
|
+
case 13:
|
|
2154
|
+
var value = /** @type {string} */ (reader.readString());
|
|
2155
|
+
msg.setProperties(value);
|
|
2156
|
+
break;
|
|
2152
2157
|
default:
|
|
2153
2158
|
reader.skipField();
|
|
2154
2159
|
break;
|
|
@@ -2186,8 +2191,8 @@ proto.ItemTransactionPriceCondition.serializeBinaryToWriter = function(message,
|
|
|
2186
2191
|
);
|
|
2187
2192
|
}
|
|
2188
2193
|
f = message.getAmount();
|
|
2189
|
-
if (f
|
|
2190
|
-
writer.
|
|
2194
|
+
if (f.length > 0) {
|
|
2195
|
+
writer.writeString(
|
|
2191
2196
|
2,
|
|
2192
2197
|
f
|
|
2193
2198
|
);
|
|
@@ -2262,6 +2267,13 @@ proto.ItemTransactionPriceCondition.serializeBinaryToWriter = function(message,
|
|
|
2262
2267
|
f
|
|
2263
2268
|
);
|
|
2264
2269
|
}
|
|
2270
|
+
f = message.getProperties();
|
|
2271
|
+
if (f.length > 0) {
|
|
2272
|
+
writer.writeString(
|
|
2273
|
+
13,
|
|
2274
|
+
f
|
|
2275
|
+
);
|
|
2276
|
+
}
|
|
2265
2277
|
};
|
|
2266
2278
|
|
|
2267
2279
|
|
|
@@ -2284,20 +2296,20 @@ proto.ItemTransactionPriceCondition.prototype.setId = function(value) {
|
|
|
2284
2296
|
|
|
2285
2297
|
|
|
2286
2298
|
/**
|
|
2287
|
-
* optional
|
|
2288
|
-
* @return {
|
|
2299
|
+
* optional string amount = 2;
|
|
2300
|
+
* @return {string}
|
|
2289
2301
|
*/
|
|
2290
2302
|
proto.ItemTransactionPriceCondition.prototype.getAmount = function() {
|
|
2291
|
-
return /** @type {
|
|
2303
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
2292
2304
|
};
|
|
2293
2305
|
|
|
2294
2306
|
|
|
2295
2307
|
/**
|
|
2296
|
-
* @param {
|
|
2308
|
+
* @param {string} value
|
|
2297
2309
|
* @return {!proto.ItemTransactionPriceCondition} returns this
|
|
2298
2310
|
*/
|
|
2299
2311
|
proto.ItemTransactionPriceCondition.prototype.setAmount = function(value) {
|
|
2300
|
-
return jspb.Message.
|
|
2312
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
|
2301
2313
|
};
|
|
2302
2314
|
|
|
2303
2315
|
|
|
@@ -2481,6 +2493,24 @@ proto.ItemTransactionPriceCondition.prototype.setIsGeneral = function(value) {
|
|
|
2481
2493
|
};
|
|
2482
2494
|
|
|
2483
2495
|
|
|
2496
|
+
/**
|
|
2497
|
+
* optional string properties = 13;
|
|
2498
|
+
* @return {string}
|
|
2499
|
+
*/
|
|
2500
|
+
proto.ItemTransactionPriceCondition.prototype.getProperties = function() {
|
|
2501
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 13, ""));
|
|
2502
|
+
};
|
|
2503
|
+
|
|
2504
|
+
|
|
2505
|
+
/**
|
|
2506
|
+
* @param {string} value
|
|
2507
|
+
* @return {!proto.ItemTransactionPriceCondition} returns this
|
|
2508
|
+
*/
|
|
2509
|
+
proto.ItemTransactionPriceCondition.prototype.setProperties = function(value) {
|
|
2510
|
+
return jspb.Message.setProto3StringField(this, 13, value);
|
|
2511
|
+
};
|
|
2512
|
+
|
|
2513
|
+
|
|
2484
2514
|
|
|
2485
2515
|
/**
|
|
2486
2516
|
* List of repeated fields within this message type.
|
|
@@ -3959,14 +3989,15 @@ proto.BaseItemTransactionPriceCondition.prototype.toObject = function(opt_includ
|
|
|
3959
3989
|
*/
|
|
3960
3990
|
proto.BaseItemTransactionPriceCondition.toObject = function(includeInstance, msg) {
|
|
3961
3991
|
var f, obj = {
|
|
3962
|
-
amount: jspb.Message.
|
|
3992
|
+
amount: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
3963
3993
|
operator: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
3964
3994
|
divide: jspb.Message.getFloatingPointFieldWithDefault(msg, 3, 0.0),
|
|
3965
3995
|
type: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
3966
3996
|
name: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
3967
3997
|
itemTransactionRef: jspb.Message.getFieldWithDefault(msg, 6, ""),
|
|
3968
3998
|
code: jspb.Message.getFieldWithDefault(msg, 7, ""),
|
|
3969
|
-
isGeneral: jspb.Message.getBooleanFieldWithDefault(msg, 8, false)
|
|
3999
|
+
isGeneral: jspb.Message.getBooleanFieldWithDefault(msg, 8, false),
|
|
4000
|
+
properties: jspb.Message.getFieldWithDefault(msg, 9, "")
|
|
3970
4001
|
};
|
|
3971
4002
|
|
|
3972
4003
|
if (includeInstance) {
|
|
@@ -4004,7 +4035,7 @@ proto.BaseItemTransactionPriceCondition.deserializeBinaryFromReader = function(m
|
|
|
4004
4035
|
var field = reader.getFieldNumber();
|
|
4005
4036
|
switch (field) {
|
|
4006
4037
|
case 1:
|
|
4007
|
-
var value = /** @type {
|
|
4038
|
+
var value = /** @type {string} */ (reader.readString());
|
|
4008
4039
|
msg.setAmount(value);
|
|
4009
4040
|
break;
|
|
4010
4041
|
case 2:
|
|
@@ -4035,6 +4066,10 @@ proto.BaseItemTransactionPriceCondition.deserializeBinaryFromReader = function(m
|
|
|
4035
4066
|
var value = /** @type {boolean} */ (reader.readBool());
|
|
4036
4067
|
msg.setIsGeneral(value);
|
|
4037
4068
|
break;
|
|
4069
|
+
case 9:
|
|
4070
|
+
var value = /** @type {string} */ (reader.readString());
|
|
4071
|
+
msg.setProperties(value);
|
|
4072
|
+
break;
|
|
4038
4073
|
default:
|
|
4039
4074
|
reader.skipField();
|
|
4040
4075
|
break;
|
|
@@ -4065,8 +4100,8 @@ proto.BaseItemTransactionPriceCondition.prototype.serializeBinary = function() {
|
|
|
4065
4100
|
proto.BaseItemTransactionPriceCondition.serializeBinaryToWriter = function(message, writer) {
|
|
4066
4101
|
var f = undefined;
|
|
4067
4102
|
f = message.getAmount();
|
|
4068
|
-
if (f
|
|
4069
|
-
writer.
|
|
4103
|
+
if (f.length > 0) {
|
|
4104
|
+
writer.writeString(
|
|
4070
4105
|
1,
|
|
4071
4106
|
f
|
|
4072
4107
|
);
|
|
@@ -4120,24 +4155,31 @@ proto.BaseItemTransactionPriceCondition.serializeBinaryToWriter = function(messa
|
|
|
4120
4155
|
f
|
|
4121
4156
|
);
|
|
4122
4157
|
}
|
|
4158
|
+
f = message.getProperties();
|
|
4159
|
+
if (f.length > 0) {
|
|
4160
|
+
writer.writeString(
|
|
4161
|
+
9,
|
|
4162
|
+
f
|
|
4163
|
+
);
|
|
4164
|
+
}
|
|
4123
4165
|
};
|
|
4124
4166
|
|
|
4125
4167
|
|
|
4126
4168
|
/**
|
|
4127
|
-
* optional
|
|
4128
|
-
* @return {
|
|
4169
|
+
* optional string amount = 1;
|
|
4170
|
+
* @return {string}
|
|
4129
4171
|
*/
|
|
4130
4172
|
proto.BaseItemTransactionPriceCondition.prototype.getAmount = function() {
|
|
4131
|
-
return /** @type {
|
|
4173
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
4132
4174
|
};
|
|
4133
4175
|
|
|
4134
4176
|
|
|
4135
4177
|
/**
|
|
4136
|
-
* @param {
|
|
4178
|
+
* @param {string} value
|
|
4137
4179
|
* @return {!proto.BaseItemTransactionPriceCondition} returns this
|
|
4138
4180
|
*/
|
|
4139
4181
|
proto.BaseItemTransactionPriceCondition.prototype.setAmount = function(value) {
|
|
4140
|
-
return jspb.Message.
|
|
4182
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
4141
4183
|
};
|
|
4142
4184
|
|
|
4143
4185
|
|
|
@@ -4267,4 +4309,22 @@ proto.BaseItemTransactionPriceCondition.prototype.setIsGeneral = function(value)
|
|
|
4267
4309
|
};
|
|
4268
4310
|
|
|
4269
4311
|
|
|
4312
|
+
/**
|
|
4313
|
+
* optional string properties = 9;
|
|
4314
|
+
* @return {string}
|
|
4315
|
+
*/
|
|
4316
|
+
proto.BaseItemTransactionPriceCondition.prototype.getProperties = function() {
|
|
4317
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 9, ""));
|
|
4318
|
+
};
|
|
4319
|
+
|
|
4320
|
+
|
|
4321
|
+
/**
|
|
4322
|
+
* @param {string} value
|
|
4323
|
+
* @return {!proto.BaseItemTransactionPriceCondition} returns this
|
|
4324
|
+
*/
|
|
4325
|
+
proto.BaseItemTransactionPriceCondition.prototype.setProperties = function(value) {
|
|
4326
|
+
return jspb.Message.setProto3StringField(this, 9, value);
|
|
4327
|
+
};
|
|
4328
|
+
|
|
4329
|
+
|
|
4270
4330
|
goog.object.extend(exports, proto);
|
|
@@ -256,7 +256,7 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
256
256
|
* @constructor
|
|
257
257
|
*/
|
|
258
258
|
proto.DeleteEmailTemplateRequest = function(opt_data) {
|
|
259
|
-
jspb.Message.initialize(this, opt_data, 0, -1,
|
|
259
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.DeleteEmailTemplateRequest.repeatedFields_, null);
|
|
260
260
|
};
|
|
261
261
|
goog.inherits(proto.DeleteEmailTemplateRequest, jspb.Message);
|
|
262
262
|
if (goog.DEBUG && !COMPILED) {
|
|
@@ -277,7 +277,7 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
277
277
|
* @constructor
|
|
278
278
|
*/
|
|
279
279
|
proto.DeleteEmailTemplateResponse = function(opt_data) {
|
|
280
|
-
jspb.Message.initialize(this, opt_data, 0, -1,
|
|
280
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.DeleteEmailTemplateResponse.repeatedFields_, null);
|
|
281
281
|
};
|
|
282
282
|
goog.inherits(proto.DeleteEmailTemplateResponse, jspb.Message);
|
|
283
283
|
if (goog.DEBUG && !COMPILED) {
|
|
@@ -325,7 +325,8 @@ body: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
|
325
325
|
referencesId: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
326
326
|
companiesReferencesId: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
327
327
|
createdAt: jspb.Message.getFieldWithDefault(msg, 6, ""),
|
|
328
|
-
updatedAt: jspb.Message.getFieldWithDefault(msg, 7, "")
|
|
328
|
+
updatedAt: jspb.Message.getFieldWithDefault(msg, 7, ""),
|
|
329
|
+
type: jspb.Message.getFieldWithDefault(msg, 8, "")
|
|
329
330
|
};
|
|
330
331
|
|
|
331
332
|
if (includeInstance) {
|
|
@@ -390,6 +391,10 @@ proto.EmailTemplate.deserializeBinaryFromReader = function(msg, reader) {
|
|
|
390
391
|
var value = /** @type {string} */ (reader.readString());
|
|
391
392
|
msg.setUpdatedAt(value);
|
|
392
393
|
break;
|
|
394
|
+
case 8:
|
|
395
|
+
var value = /** @type {string} */ (reader.readString());
|
|
396
|
+
msg.setType(value);
|
|
397
|
+
break;
|
|
393
398
|
default:
|
|
394
399
|
reader.skipField();
|
|
395
400
|
break;
|
|
@@ -468,6 +473,13 @@ proto.EmailTemplate.serializeBinaryToWriter = function(message, writer) {
|
|
|
468
473
|
f
|
|
469
474
|
);
|
|
470
475
|
}
|
|
476
|
+
f = message.getType();
|
|
477
|
+
if (f.length > 0) {
|
|
478
|
+
writer.writeString(
|
|
479
|
+
8,
|
|
480
|
+
f
|
|
481
|
+
);
|
|
482
|
+
}
|
|
471
483
|
};
|
|
472
484
|
|
|
473
485
|
|
|
@@ -597,6 +609,24 @@ proto.EmailTemplate.prototype.setUpdatedAt = function(value) {
|
|
|
597
609
|
};
|
|
598
610
|
|
|
599
611
|
|
|
612
|
+
/**
|
|
613
|
+
* optional string type = 8;
|
|
614
|
+
* @return {string}
|
|
615
|
+
*/
|
|
616
|
+
proto.EmailTemplate.prototype.getType = function() {
|
|
617
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 8, ""));
|
|
618
|
+
};
|
|
619
|
+
|
|
620
|
+
|
|
621
|
+
/**
|
|
622
|
+
* @param {string} value
|
|
623
|
+
* @return {!proto.EmailTemplate} returns this
|
|
624
|
+
*/
|
|
625
|
+
proto.EmailTemplate.prototype.setType = function(value) {
|
|
626
|
+
return jspb.Message.setProto3StringField(this, 8, value);
|
|
627
|
+
};
|
|
628
|
+
|
|
629
|
+
|
|
600
630
|
|
|
601
631
|
|
|
602
632
|
|
|
@@ -630,7 +660,8 @@ proto.BaseEmailTemplateRequest.prototype.toObject = function(opt_includeInstance
|
|
|
630
660
|
proto.BaseEmailTemplateRequest.toObject = function(includeInstance, msg) {
|
|
631
661
|
var f, obj = {
|
|
632
662
|
subject: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
633
|
-
body: jspb.Message.getFieldWithDefault(msg, 2, "")
|
|
663
|
+
body: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
664
|
+
type: jspb.Message.getFieldWithDefault(msg, 3, "")
|
|
634
665
|
};
|
|
635
666
|
|
|
636
667
|
if (includeInstance) {
|
|
@@ -675,6 +706,10 @@ proto.BaseEmailTemplateRequest.deserializeBinaryFromReader = function(msg, reade
|
|
|
675
706
|
var value = /** @type {string} */ (reader.readString());
|
|
676
707
|
msg.setBody(value);
|
|
677
708
|
break;
|
|
709
|
+
case 3:
|
|
710
|
+
var value = /** @type {string} */ (reader.readString());
|
|
711
|
+
msg.setType(value);
|
|
712
|
+
break;
|
|
678
713
|
default:
|
|
679
714
|
reader.skipField();
|
|
680
715
|
break;
|
|
@@ -718,6 +753,13 @@ proto.BaseEmailTemplateRequest.serializeBinaryToWriter = function(message, write
|
|
|
718
753
|
f
|
|
719
754
|
);
|
|
720
755
|
}
|
|
756
|
+
f = message.getType();
|
|
757
|
+
if (f.length > 0) {
|
|
758
|
+
writer.writeString(
|
|
759
|
+
3,
|
|
760
|
+
f
|
|
761
|
+
);
|
|
762
|
+
}
|
|
721
763
|
};
|
|
722
764
|
|
|
723
765
|
|
|
@@ -757,6 +799,24 @@ proto.BaseEmailTemplateRequest.prototype.setBody = function(value) {
|
|
|
757
799
|
};
|
|
758
800
|
|
|
759
801
|
|
|
802
|
+
/**
|
|
803
|
+
* optional string type = 3;
|
|
804
|
+
* @return {string}
|
|
805
|
+
*/
|
|
806
|
+
proto.BaseEmailTemplateRequest.prototype.getType = function() {
|
|
807
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
808
|
+
};
|
|
809
|
+
|
|
810
|
+
|
|
811
|
+
/**
|
|
812
|
+
* @param {string} value
|
|
813
|
+
* @return {!proto.BaseEmailTemplateRequest} returns this
|
|
814
|
+
*/
|
|
815
|
+
proto.BaseEmailTemplateRequest.prototype.setType = function(value) {
|
|
816
|
+
return jspb.Message.setProto3StringField(this, 3, value);
|
|
817
|
+
};
|
|
818
|
+
|
|
819
|
+
|
|
760
820
|
|
|
761
821
|
|
|
762
822
|
|
|
@@ -2239,6 +2299,13 @@ proto.UpdateEmailTemplateResponse.prototype.hasEmailTemplate = function() {
|
|
|
2239
2299
|
|
|
2240
2300
|
|
|
2241
2301
|
|
|
2302
|
+
/**
|
|
2303
|
+
* List of repeated fields within this message type.
|
|
2304
|
+
* @private {!Array<number>}
|
|
2305
|
+
* @const
|
|
2306
|
+
*/
|
|
2307
|
+
proto.DeleteEmailTemplateRequest.repeatedFields_ = [1];
|
|
2308
|
+
|
|
2242
2309
|
|
|
2243
2310
|
|
|
2244
2311
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
@@ -2270,7 +2337,7 @@ proto.DeleteEmailTemplateRequest.prototype.toObject = function(opt_includeInstan
|
|
|
2270
2337
|
*/
|
|
2271
2338
|
proto.DeleteEmailTemplateRequest.toObject = function(includeInstance, msg) {
|
|
2272
2339
|
var f, obj = {
|
|
2273
|
-
|
|
2340
|
+
referenceIdsList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f
|
|
2274
2341
|
};
|
|
2275
2342
|
|
|
2276
2343
|
if (includeInstance) {
|
|
@@ -2309,7 +2376,7 @@ proto.DeleteEmailTemplateRequest.deserializeBinaryFromReader = function(msg, rea
|
|
|
2309
2376
|
switch (field) {
|
|
2310
2377
|
case 1:
|
|
2311
2378
|
var value = /** @type {string} */ (reader.readString());
|
|
2312
|
-
msg.
|
|
2379
|
+
msg.addReferenceIds(value);
|
|
2313
2380
|
break;
|
|
2314
2381
|
default:
|
|
2315
2382
|
reader.skipField();
|
|
@@ -2340,9 +2407,9 @@ proto.DeleteEmailTemplateRequest.prototype.serializeBinary = function() {
|
|
|
2340
2407
|
*/
|
|
2341
2408
|
proto.DeleteEmailTemplateRequest.serializeBinaryToWriter = function(message, writer) {
|
|
2342
2409
|
var f = undefined;
|
|
2343
|
-
f = message.
|
|
2410
|
+
f = message.getReferenceIdsList();
|
|
2344
2411
|
if (f.length > 0) {
|
|
2345
|
-
writer.
|
|
2412
|
+
writer.writeRepeatedString(
|
|
2346
2413
|
1,
|
|
2347
2414
|
f
|
|
2348
2415
|
);
|
|
@@ -2351,23 +2418,49 @@ proto.DeleteEmailTemplateRequest.serializeBinaryToWriter = function(message, wri
|
|
|
2351
2418
|
|
|
2352
2419
|
|
|
2353
2420
|
/**
|
|
2354
|
-
*
|
|
2355
|
-
* @return {string}
|
|
2421
|
+
* repeated string reference_ids = 1;
|
|
2422
|
+
* @return {!Array<string>}
|
|
2356
2423
|
*/
|
|
2357
|
-
proto.DeleteEmailTemplateRequest.prototype.
|
|
2358
|
-
return /** @type {string} */ (jspb.Message.
|
|
2424
|
+
proto.DeleteEmailTemplateRequest.prototype.getReferenceIdsList = function() {
|
|
2425
|
+
return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 1));
|
|
2426
|
+
};
|
|
2427
|
+
|
|
2428
|
+
|
|
2429
|
+
/**
|
|
2430
|
+
* @param {!Array<string>} value
|
|
2431
|
+
* @return {!proto.DeleteEmailTemplateRequest} returns this
|
|
2432
|
+
*/
|
|
2433
|
+
proto.DeleteEmailTemplateRequest.prototype.setReferenceIdsList = function(value) {
|
|
2434
|
+
return jspb.Message.setField(this, 1, value || []);
|
|
2359
2435
|
};
|
|
2360
2436
|
|
|
2361
2437
|
|
|
2362
2438
|
/**
|
|
2363
2439
|
* @param {string} value
|
|
2440
|
+
* @param {number=} opt_index
|
|
2364
2441
|
* @return {!proto.DeleteEmailTemplateRequest} returns this
|
|
2365
2442
|
*/
|
|
2366
|
-
proto.DeleteEmailTemplateRequest.prototype.
|
|
2367
|
-
return jspb.Message.
|
|
2443
|
+
proto.DeleteEmailTemplateRequest.prototype.addReferenceIds = function(value, opt_index) {
|
|
2444
|
+
return jspb.Message.addToRepeatedField(this, 1, value, opt_index);
|
|
2368
2445
|
};
|
|
2369
2446
|
|
|
2370
2447
|
|
|
2448
|
+
/**
|
|
2449
|
+
* Clears the list making it empty but non-null.
|
|
2450
|
+
* @return {!proto.DeleteEmailTemplateRequest} returns this
|
|
2451
|
+
*/
|
|
2452
|
+
proto.DeleteEmailTemplateRequest.prototype.clearReferenceIdsList = function() {
|
|
2453
|
+
return this.setReferenceIdsList([]);
|
|
2454
|
+
};
|
|
2455
|
+
|
|
2456
|
+
|
|
2457
|
+
|
|
2458
|
+
/**
|
|
2459
|
+
* List of repeated fields within this message type.
|
|
2460
|
+
* @private {!Array<number>}
|
|
2461
|
+
* @const
|
|
2462
|
+
*/
|
|
2463
|
+
proto.DeleteEmailTemplateResponse.repeatedFields_ = [1];
|
|
2371
2464
|
|
|
2372
2465
|
|
|
2373
2466
|
|
|
@@ -2400,8 +2493,8 @@ proto.DeleteEmailTemplateResponse.prototype.toObject = function(opt_includeInsta
|
|
|
2400
2493
|
*/
|
|
2401
2494
|
proto.DeleteEmailTemplateResponse.toObject = function(includeInstance, msg) {
|
|
2402
2495
|
var f, obj = {
|
|
2403
|
-
|
|
2404
|
-
|
|
2496
|
+
referenceIdsList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f,
|
|
2497
|
+
meta: (f = msg.getMeta()) && prisca_v1_global_meta_meta_pb.Meta.toObject(includeInstance, f)
|
|
2405
2498
|
};
|
|
2406
2499
|
|
|
2407
2500
|
if (includeInstance) {
|
|
@@ -2439,14 +2532,14 @@ proto.DeleteEmailTemplateResponse.deserializeBinaryFromReader = function(msg, re
|
|
|
2439
2532
|
var field = reader.getFieldNumber();
|
|
2440
2533
|
switch (field) {
|
|
2441
2534
|
case 1:
|
|
2535
|
+
var value = /** @type {string} */ (reader.readString());
|
|
2536
|
+
msg.addReferenceIds(value);
|
|
2537
|
+
break;
|
|
2538
|
+
case 2:
|
|
2442
2539
|
var value = new prisca_v1_global_meta_meta_pb.Meta;
|
|
2443
2540
|
reader.readMessage(value,prisca_v1_global_meta_meta_pb.Meta.deserializeBinaryFromReader);
|
|
2444
2541
|
msg.setMeta(value);
|
|
2445
2542
|
break;
|
|
2446
|
-
case 2:
|
|
2447
|
-
var value = /** @type {string} */ (reader.readString());
|
|
2448
|
-
msg.setReferencesId(value);
|
|
2449
|
-
break;
|
|
2450
2543
|
default:
|
|
2451
2544
|
reader.skipField();
|
|
2452
2545
|
break;
|
|
@@ -2476,31 +2569,68 @@ proto.DeleteEmailTemplateResponse.prototype.serializeBinary = function() {
|
|
|
2476
2569
|
*/
|
|
2477
2570
|
proto.DeleteEmailTemplateResponse.serializeBinaryToWriter = function(message, writer) {
|
|
2478
2571
|
var f = undefined;
|
|
2572
|
+
f = message.getReferenceIdsList();
|
|
2573
|
+
if (f.length > 0) {
|
|
2574
|
+
writer.writeRepeatedString(
|
|
2575
|
+
1,
|
|
2576
|
+
f
|
|
2577
|
+
);
|
|
2578
|
+
}
|
|
2479
2579
|
f = message.getMeta();
|
|
2480
2580
|
if (f != null) {
|
|
2481
2581
|
writer.writeMessage(
|
|
2482
|
-
|
|
2582
|
+
2,
|
|
2483
2583
|
f,
|
|
2484
2584
|
prisca_v1_global_meta_meta_pb.Meta.serializeBinaryToWriter
|
|
2485
2585
|
);
|
|
2486
2586
|
}
|
|
2487
|
-
f = message.getReferencesId();
|
|
2488
|
-
if (f.length > 0) {
|
|
2489
|
-
writer.writeString(
|
|
2490
|
-
2,
|
|
2491
|
-
f
|
|
2492
|
-
);
|
|
2493
|
-
}
|
|
2494
2587
|
};
|
|
2495
2588
|
|
|
2496
2589
|
|
|
2497
2590
|
/**
|
|
2498
|
-
*
|
|
2591
|
+
* repeated string reference_ids = 1;
|
|
2592
|
+
* @return {!Array<string>}
|
|
2593
|
+
*/
|
|
2594
|
+
proto.DeleteEmailTemplateResponse.prototype.getReferenceIdsList = function() {
|
|
2595
|
+
return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 1));
|
|
2596
|
+
};
|
|
2597
|
+
|
|
2598
|
+
|
|
2599
|
+
/**
|
|
2600
|
+
* @param {!Array<string>} value
|
|
2601
|
+
* @return {!proto.DeleteEmailTemplateResponse} returns this
|
|
2602
|
+
*/
|
|
2603
|
+
proto.DeleteEmailTemplateResponse.prototype.setReferenceIdsList = function(value) {
|
|
2604
|
+
return jspb.Message.setField(this, 1, value || []);
|
|
2605
|
+
};
|
|
2606
|
+
|
|
2607
|
+
|
|
2608
|
+
/**
|
|
2609
|
+
* @param {string} value
|
|
2610
|
+
* @param {number=} opt_index
|
|
2611
|
+
* @return {!proto.DeleteEmailTemplateResponse} returns this
|
|
2612
|
+
*/
|
|
2613
|
+
proto.DeleteEmailTemplateResponse.prototype.addReferenceIds = function(value, opt_index) {
|
|
2614
|
+
return jspb.Message.addToRepeatedField(this, 1, value, opt_index);
|
|
2615
|
+
};
|
|
2616
|
+
|
|
2617
|
+
|
|
2618
|
+
/**
|
|
2619
|
+
* Clears the list making it empty but non-null.
|
|
2620
|
+
* @return {!proto.DeleteEmailTemplateResponse} returns this
|
|
2621
|
+
*/
|
|
2622
|
+
proto.DeleteEmailTemplateResponse.prototype.clearReferenceIdsList = function() {
|
|
2623
|
+
return this.setReferenceIdsList([]);
|
|
2624
|
+
};
|
|
2625
|
+
|
|
2626
|
+
|
|
2627
|
+
/**
|
|
2628
|
+
* optional prisca.v1.global.meta.Meta meta = 2;
|
|
2499
2629
|
* @return {?proto.prisca.v1.global.meta.Meta}
|
|
2500
2630
|
*/
|
|
2501
2631
|
proto.DeleteEmailTemplateResponse.prototype.getMeta = function() {
|
|
2502
2632
|
return /** @type{?proto.prisca.v1.global.meta.Meta} */ (
|
|
2503
|
-
jspb.Message.getWrapperField(this, prisca_v1_global_meta_meta_pb.Meta,
|
|
2633
|
+
jspb.Message.getWrapperField(this, prisca_v1_global_meta_meta_pb.Meta, 2));
|
|
2504
2634
|
};
|
|
2505
2635
|
|
|
2506
2636
|
|
|
@@ -2509,7 +2639,7 @@ proto.DeleteEmailTemplateResponse.prototype.getMeta = function() {
|
|
|
2509
2639
|
* @return {!proto.DeleteEmailTemplateResponse} returns this
|
|
2510
2640
|
*/
|
|
2511
2641
|
proto.DeleteEmailTemplateResponse.prototype.setMeta = function(value) {
|
|
2512
|
-
return jspb.Message.setWrapperField(this,
|
|
2642
|
+
return jspb.Message.setWrapperField(this, 2, value);
|
|
2513
2643
|
};
|
|
2514
2644
|
|
|
2515
2645
|
|
|
@@ -2527,25 +2657,7 @@ proto.DeleteEmailTemplateResponse.prototype.clearMeta = function() {
|
|
|
2527
2657
|
* @return {boolean}
|
|
2528
2658
|
*/
|
|
2529
2659
|
proto.DeleteEmailTemplateResponse.prototype.hasMeta = function() {
|
|
2530
|
-
return jspb.Message.getField(this,
|
|
2531
|
-
};
|
|
2532
|
-
|
|
2533
|
-
|
|
2534
|
-
/**
|
|
2535
|
-
* optional string references_id = 2;
|
|
2536
|
-
* @return {string}
|
|
2537
|
-
*/
|
|
2538
|
-
proto.DeleteEmailTemplateResponse.prototype.getReferencesId = function() {
|
|
2539
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
2540
|
-
};
|
|
2541
|
-
|
|
2542
|
-
|
|
2543
|
-
/**
|
|
2544
|
-
* @param {string} value
|
|
2545
|
-
* @return {!proto.DeleteEmailTemplateResponse} returns this
|
|
2546
|
-
*/
|
|
2547
|
-
proto.DeleteEmailTemplateResponse.prototype.setReferencesId = function(value) {
|
|
2548
|
-
return jspb.Message.setProto3StringField(this, 2, value);
|
|
2660
|
+
return jspb.Message.getField(this, 2) != null;
|
|
2549
2661
|
};
|
|
2550
2662
|
|
|
2551
2663
|
|