@aldiokta/protocgen 1.1.54 → 1.1.56
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
|
@@ -193,7 +193,7 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
193
193
|
* @constructor
|
|
194
194
|
*/
|
|
195
195
|
proto.PolicyAction = function(opt_data) {
|
|
196
|
-
jspb.Message.initialize(this, opt_data, 0, -1,
|
|
196
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.PolicyAction.repeatedFields_, null);
|
|
197
197
|
};
|
|
198
198
|
goog.inherits(proto.PolicyAction, jspb.Message);
|
|
199
199
|
if (goog.DEBUG && !COMPILED) {
|
|
@@ -2684,6 +2684,13 @@ proto.Policy.prototype.clearPoliciesActionsList = function() {
|
|
|
2684
2684
|
|
|
2685
2685
|
|
|
2686
2686
|
|
|
2687
|
+
/**
|
|
2688
|
+
* List of repeated fields within this message type.
|
|
2689
|
+
* @private {!Array<number>}
|
|
2690
|
+
* @const
|
|
2691
|
+
*/
|
|
2692
|
+
proto.PolicyAction.repeatedFields_ = [11];
|
|
2693
|
+
|
|
2687
2694
|
|
|
2688
2695
|
|
|
2689
2696
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
@@ -2725,7 +2732,8 @@ createdBy: jspb.Message.getFieldWithDefault(msg, 7, ""),
|
|
|
2725
2732
|
updatedBy: jspb.Message.getFieldWithDefault(msg, 8, ""),
|
|
2726
2733
|
companiesReferencesId: jspb.Message.getFieldWithDefault(msg, 9, ""),
|
|
2727
2734
|
resourceReferencesId: jspb.Message.getFieldWithDefault(msg, 10, ""),
|
|
2728
|
-
|
|
2735
|
+
actionsList: jspb.Message.toObjectList(msg.getActionsList(),
|
|
2736
|
+
proto.Action.toObject, includeInstance),
|
|
2729
2737
|
resource: (f = msg.getResource()) && proto.Resource.toObject(includeInstance, f)
|
|
2730
2738
|
};
|
|
2731
2739
|
|
|
@@ -2806,7 +2814,7 @@ proto.PolicyAction.deserializeBinaryFromReader = function(msg, reader) {
|
|
|
2806
2814
|
case 11:
|
|
2807
2815
|
var value = new proto.Action;
|
|
2808
2816
|
reader.readMessage(value,proto.Action.deserializeBinaryFromReader);
|
|
2809
|
-
msg.
|
|
2817
|
+
msg.addActions(value);
|
|
2810
2818
|
break;
|
|
2811
2819
|
case 12:
|
|
2812
2820
|
var value = new proto.Resource;
|
|
@@ -2912,9 +2920,9 @@ proto.PolicyAction.serializeBinaryToWriter = function(message, writer) {
|
|
|
2912
2920
|
f
|
|
2913
2921
|
);
|
|
2914
2922
|
}
|
|
2915
|
-
f = message.
|
|
2916
|
-
if (f
|
|
2917
|
-
writer.
|
|
2923
|
+
f = message.getActionsList();
|
|
2924
|
+
if (f.length > 0) {
|
|
2925
|
+
writer.writeRepeatedMessage(
|
|
2918
2926
|
11,
|
|
2919
2927
|
f,
|
|
2920
2928
|
proto.Action.serializeBinaryToWriter
|
|
@@ -3112,39 +3120,40 @@ proto.PolicyAction.prototype.setResourceReferencesId = function(value) {
|
|
|
3112
3120
|
|
|
3113
3121
|
|
|
3114
3122
|
/**
|
|
3115
|
-
*
|
|
3116
|
-
* @return {
|
|
3123
|
+
* repeated Action actions = 11;
|
|
3124
|
+
* @return {!Array<!proto.Action>}
|
|
3117
3125
|
*/
|
|
3118
|
-
proto.PolicyAction.prototype.
|
|
3119
|
-
return /** @type{
|
|
3120
|
-
jspb.Message.
|
|
3126
|
+
proto.PolicyAction.prototype.getActionsList = function() {
|
|
3127
|
+
return /** @type{!Array<!proto.Action>} */ (
|
|
3128
|
+
jspb.Message.getRepeatedWrapperField(this, proto.Action, 11));
|
|
3121
3129
|
};
|
|
3122
3130
|
|
|
3123
3131
|
|
|
3124
3132
|
/**
|
|
3125
|
-
* @param {
|
|
3133
|
+
* @param {!Array<!proto.Action>} value
|
|
3126
3134
|
* @return {!proto.PolicyAction} returns this
|
|
3127
3135
|
*/
|
|
3128
|
-
proto.PolicyAction.prototype.
|
|
3129
|
-
return jspb.Message.
|
|
3136
|
+
proto.PolicyAction.prototype.setActionsList = function(value) {
|
|
3137
|
+
return jspb.Message.setRepeatedWrapperField(this, 11, value);
|
|
3130
3138
|
};
|
|
3131
3139
|
|
|
3132
3140
|
|
|
3133
3141
|
/**
|
|
3134
|
-
*
|
|
3135
|
-
* @
|
|
3142
|
+
* @param {!proto.Action=} opt_value
|
|
3143
|
+
* @param {number=} opt_index
|
|
3144
|
+
* @return {!proto.Action}
|
|
3136
3145
|
*/
|
|
3137
|
-
proto.PolicyAction.prototype.
|
|
3138
|
-
return this.
|
|
3146
|
+
proto.PolicyAction.prototype.addActions = function(opt_value, opt_index) {
|
|
3147
|
+
return jspb.Message.addToRepeatedWrapperField(this, 11, opt_value, proto.Action, opt_index);
|
|
3139
3148
|
};
|
|
3140
3149
|
|
|
3141
3150
|
|
|
3142
3151
|
/**
|
|
3143
|
-
*
|
|
3144
|
-
* @return {
|
|
3152
|
+
* Clears the list making it empty but non-null.
|
|
3153
|
+
* @return {!proto.PolicyAction} returns this
|
|
3145
3154
|
*/
|
|
3146
|
-
proto.PolicyAction.prototype.
|
|
3147
|
-
return
|
|
3155
|
+
proto.PolicyAction.prototype.clearActionsList = function() {
|
|
3156
|
+
return this.setActionsList([]);
|
|
3148
3157
|
};
|
|
3149
3158
|
|
|
3150
3159
|
|
|
@@ -2801,7 +2801,10 @@ filesList: jspb.Message.toObjectList(msg.getFilesList(),
|
|
|
2801
2801
|
itemTransactionServicePriceConditionList: jspb.Message.toObjectList(msg.getItemTransactionServicePriceConditionList(),
|
|
2802
2802
|
proto.ItemTransactionServicePriceCondition.toObject, includeInstance),
|
|
2803
2803
|
previousReferences: jspb.Message.getFieldWithDefault(msg, 13, ""),
|
|
2804
|
-
remainingQuantity: jspb.Message.getFieldWithDefault(msg, 14, "")
|
|
2804
|
+
remainingQuantity: jspb.Message.getFieldWithDefault(msg, 14, ""),
|
|
2805
|
+
goodsReceiptQuantity: jspb.Message.getFieldWithDefault(msg, 15, ""),
|
|
2806
|
+
invoiceQuantity: jspb.Message.getFieldWithDefault(msg, 16, ""),
|
|
2807
|
+
purchaseOrderQuantity: jspb.Message.getFieldWithDefault(msg, 17, "")
|
|
2805
2808
|
};
|
|
2806
2809
|
|
|
2807
2810
|
if (includeInstance) {
|
|
@@ -2896,6 +2899,18 @@ proto.ItemTransactionService.deserializeBinaryFromReader = function(msg, reader)
|
|
|
2896
2899
|
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
2897
2900
|
msg.setRemainingQuantity(value);
|
|
2898
2901
|
break;
|
|
2902
|
+
case 15:
|
|
2903
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
2904
|
+
msg.setGoodsReceiptQuantity(value);
|
|
2905
|
+
break;
|
|
2906
|
+
case 16:
|
|
2907
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
2908
|
+
msg.setInvoiceQuantity(value);
|
|
2909
|
+
break;
|
|
2910
|
+
case 17:
|
|
2911
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
2912
|
+
msg.setPurchaseOrderQuantity(value);
|
|
2913
|
+
break;
|
|
2899
2914
|
default:
|
|
2900
2915
|
reader.skipField();
|
|
2901
2916
|
break;
|
|
@@ -3025,6 +3040,27 @@ proto.ItemTransactionService.serializeBinaryToWriter = function(message, writer)
|
|
|
3025
3040
|
f
|
|
3026
3041
|
);
|
|
3027
3042
|
}
|
|
3043
|
+
f = message.getGoodsReceiptQuantity();
|
|
3044
|
+
if (f.length > 0) {
|
|
3045
|
+
writer.writeString(
|
|
3046
|
+
15,
|
|
3047
|
+
f
|
|
3048
|
+
);
|
|
3049
|
+
}
|
|
3050
|
+
f = message.getInvoiceQuantity();
|
|
3051
|
+
if (f.length > 0) {
|
|
3052
|
+
writer.writeString(
|
|
3053
|
+
16,
|
|
3054
|
+
f
|
|
3055
|
+
);
|
|
3056
|
+
}
|
|
3057
|
+
f = message.getPurchaseOrderQuantity();
|
|
3058
|
+
if (f.length > 0) {
|
|
3059
|
+
writer.writeString(
|
|
3060
|
+
17,
|
|
3061
|
+
f
|
|
3062
|
+
);
|
|
3063
|
+
}
|
|
3028
3064
|
};
|
|
3029
3065
|
|
|
3030
3066
|
|
|
@@ -3320,6 +3356,60 @@ proto.ItemTransactionService.prototype.setRemainingQuantity = function(value) {
|
|
|
3320
3356
|
};
|
|
3321
3357
|
|
|
3322
3358
|
|
|
3359
|
+
/**
|
|
3360
|
+
* optional string goods_receipt_quantity = 15;
|
|
3361
|
+
* @return {string}
|
|
3362
|
+
*/
|
|
3363
|
+
proto.ItemTransactionService.prototype.getGoodsReceiptQuantity = function() {
|
|
3364
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 15, ""));
|
|
3365
|
+
};
|
|
3366
|
+
|
|
3367
|
+
|
|
3368
|
+
/**
|
|
3369
|
+
* @param {string} value
|
|
3370
|
+
* @return {!proto.ItemTransactionService} returns this
|
|
3371
|
+
*/
|
|
3372
|
+
proto.ItemTransactionService.prototype.setGoodsReceiptQuantity = function(value) {
|
|
3373
|
+
return jspb.Message.setProto3StringField(this, 15, value);
|
|
3374
|
+
};
|
|
3375
|
+
|
|
3376
|
+
|
|
3377
|
+
/**
|
|
3378
|
+
* optional string invoice_quantity = 16;
|
|
3379
|
+
* @return {string}
|
|
3380
|
+
*/
|
|
3381
|
+
proto.ItemTransactionService.prototype.getInvoiceQuantity = function() {
|
|
3382
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 16, ""));
|
|
3383
|
+
};
|
|
3384
|
+
|
|
3385
|
+
|
|
3386
|
+
/**
|
|
3387
|
+
* @param {string} value
|
|
3388
|
+
* @return {!proto.ItemTransactionService} returns this
|
|
3389
|
+
*/
|
|
3390
|
+
proto.ItemTransactionService.prototype.setInvoiceQuantity = function(value) {
|
|
3391
|
+
return jspb.Message.setProto3StringField(this, 16, value);
|
|
3392
|
+
};
|
|
3393
|
+
|
|
3394
|
+
|
|
3395
|
+
/**
|
|
3396
|
+
* optional string purchase_order_quantity = 17;
|
|
3397
|
+
* @return {string}
|
|
3398
|
+
*/
|
|
3399
|
+
proto.ItemTransactionService.prototype.getPurchaseOrderQuantity = function() {
|
|
3400
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 17, ""));
|
|
3401
|
+
};
|
|
3402
|
+
|
|
3403
|
+
|
|
3404
|
+
/**
|
|
3405
|
+
* @param {string} value
|
|
3406
|
+
* @return {!proto.ItemTransactionService} returns this
|
|
3407
|
+
*/
|
|
3408
|
+
proto.ItemTransactionService.prototype.setPurchaseOrderQuantity = function(value) {
|
|
3409
|
+
return jspb.Message.setProto3StringField(this, 17, value);
|
|
3410
|
+
};
|
|
3411
|
+
|
|
3412
|
+
|
|
3323
3413
|
|
|
3324
3414
|
|
|
3325
3415
|
|