protobuf-platform 1.2.715 → 1.2.716
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 +1 -1
- package/payment/payment.proto +8 -0
- package/payment/payment_pb.js +98 -2
package/package.json
CHANGED
package/payment/payment.proto
CHANGED
|
@@ -643,6 +643,8 @@ message GetWithdrawalRequest {
|
|
|
643
643
|
int32 id = 1;
|
|
644
644
|
optional string status_code = 2;
|
|
645
645
|
optional int32 maker_id = 3;
|
|
646
|
+
// Manual status-change note. A transition to declined requires this non-empty
|
|
647
|
+
// operator decline reason. It is not a PSP error, provider rejection, or player-facing text.
|
|
646
648
|
optional string reason = 4;
|
|
647
649
|
}
|
|
648
650
|
message WithdrawalResponse {
|
|
@@ -669,6 +671,9 @@ message WithdrawalResponse {
|
|
|
669
671
|
optional string origin = 21;
|
|
670
672
|
optional string canonical_status = 22;
|
|
671
673
|
repeated string allowed_status_actions = 23;
|
|
674
|
+
// Operator-provided manual decline reason. Internal back-office data.
|
|
675
|
+
// Absent for historical declines and automatic PSP failures.
|
|
676
|
+
optional string operator_decline_reason = 24;
|
|
672
677
|
}
|
|
673
678
|
message WithdrawalItem {
|
|
674
679
|
int32 id = 1;
|
|
@@ -695,6 +700,9 @@ message WithdrawalItem {
|
|
|
695
700
|
optional string origin = 22;
|
|
696
701
|
optional string canonical_status = 23;
|
|
697
702
|
repeated string allowed_status_actions = 24;
|
|
703
|
+
// Operator-provided manual decline reason. Internal back-office data.
|
|
704
|
+
// Absent for historical declines and automatic PSP failures.
|
|
705
|
+
optional string operator_decline_reason = 25;
|
|
698
706
|
}
|
|
699
707
|
message WithdrawalItemsResponse {
|
|
700
708
|
repeated WithdrawalItem items = 1;
|
package/payment/payment_pb.js
CHANGED
|
@@ -27786,7 +27786,8 @@ proto.payment.WithdrawalResponse.toObject = function(includeInstance, msg) {
|
|
|
27786
27786
|
paymentMethodImageCdn: jspb.Message.getFieldWithDefault(msg, 20, ""),
|
|
27787
27787
|
origin: jspb.Message.getFieldWithDefault(msg, 21, ""),
|
|
27788
27788
|
canonicalStatus: jspb.Message.getFieldWithDefault(msg, 22, ""),
|
|
27789
|
-
allowedStatusActionsList: (f = jspb.Message.getRepeatedField(msg, 23)) == null ? undefined : f
|
|
27789
|
+
allowedStatusActionsList: (f = jspb.Message.getRepeatedField(msg, 23)) == null ? undefined : f,
|
|
27790
|
+
operatorDeclineReason: jspb.Message.getFieldWithDefault(msg, 24, "")
|
|
27790
27791
|
};
|
|
27791
27792
|
|
|
27792
27793
|
if (includeInstance) {
|
|
@@ -27915,6 +27916,10 @@ proto.payment.WithdrawalResponse.deserializeBinaryFromReader = function(msg, rea
|
|
|
27915
27916
|
var value = /** @type {string} */ (reader.readString());
|
|
27916
27917
|
msg.addAllowedStatusActions(value);
|
|
27917
27918
|
break;
|
|
27919
|
+
case 24:
|
|
27920
|
+
var value = /** @type {string} */ (reader.readString());
|
|
27921
|
+
msg.setOperatorDeclineReason(value);
|
|
27922
|
+
break;
|
|
27918
27923
|
default:
|
|
27919
27924
|
reader.skipField();
|
|
27920
27925
|
break;
|
|
@@ -28105,6 +28110,13 @@ proto.payment.WithdrawalResponse.serializeBinaryToWriter = function(message, wri
|
|
|
28105
28110
|
f
|
|
28106
28111
|
);
|
|
28107
28112
|
}
|
|
28113
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 24));
|
|
28114
|
+
if (f != null) {
|
|
28115
|
+
writer.writeString(
|
|
28116
|
+
24,
|
|
28117
|
+
f
|
|
28118
|
+
);
|
|
28119
|
+
}
|
|
28108
28120
|
};
|
|
28109
28121
|
|
|
28110
28122
|
|
|
@@ -28919,6 +28931,42 @@ proto.payment.WithdrawalResponse.prototype.clearAllowedStatusActionsList = funct
|
|
|
28919
28931
|
};
|
|
28920
28932
|
|
|
28921
28933
|
|
|
28934
|
+
/**
|
|
28935
|
+
* optional string operator_decline_reason = 24;
|
|
28936
|
+
* @return {string}
|
|
28937
|
+
*/
|
|
28938
|
+
proto.payment.WithdrawalResponse.prototype.getOperatorDeclineReason = function() {
|
|
28939
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 24, ""));
|
|
28940
|
+
};
|
|
28941
|
+
|
|
28942
|
+
|
|
28943
|
+
/**
|
|
28944
|
+
* @param {string} value
|
|
28945
|
+
* @return {!proto.payment.WithdrawalResponse} returns this
|
|
28946
|
+
*/
|
|
28947
|
+
proto.payment.WithdrawalResponse.prototype.setOperatorDeclineReason = function(value) {
|
|
28948
|
+
return jspb.Message.setField(this, 24, value);
|
|
28949
|
+
};
|
|
28950
|
+
|
|
28951
|
+
|
|
28952
|
+
/**
|
|
28953
|
+
* Clears the field making it undefined.
|
|
28954
|
+
* @return {!proto.payment.WithdrawalResponse} returns this
|
|
28955
|
+
*/
|
|
28956
|
+
proto.payment.WithdrawalResponse.prototype.clearOperatorDeclineReason = function() {
|
|
28957
|
+
return jspb.Message.setField(this, 24, undefined);
|
|
28958
|
+
};
|
|
28959
|
+
|
|
28960
|
+
|
|
28961
|
+
/**
|
|
28962
|
+
* Returns whether this field is set.
|
|
28963
|
+
* @return {boolean}
|
|
28964
|
+
*/
|
|
28965
|
+
proto.payment.WithdrawalResponse.prototype.hasOperatorDeclineReason = function() {
|
|
28966
|
+
return jspb.Message.getField(this, 24) != null;
|
|
28967
|
+
};
|
|
28968
|
+
|
|
28969
|
+
|
|
28922
28970
|
|
|
28923
28971
|
/**
|
|
28924
28972
|
* List of repeated fields within this message type.
|
|
@@ -28981,7 +29029,8 @@ proto.payment.WithdrawalItem.toObject = function(includeInstance, msg) {
|
|
|
28981
29029
|
completedAt: jspb.Message.getFieldWithDefault(msg, 21, ""),
|
|
28982
29030
|
origin: jspb.Message.getFieldWithDefault(msg, 22, ""),
|
|
28983
29031
|
canonicalStatus: jspb.Message.getFieldWithDefault(msg, 23, ""),
|
|
28984
|
-
allowedStatusActionsList: (f = jspb.Message.getRepeatedField(msg, 24)) == null ? undefined : f
|
|
29032
|
+
allowedStatusActionsList: (f = jspb.Message.getRepeatedField(msg, 24)) == null ? undefined : f,
|
|
29033
|
+
operatorDeclineReason: jspb.Message.getFieldWithDefault(msg, 25, "")
|
|
28985
29034
|
};
|
|
28986
29035
|
|
|
28987
29036
|
if (includeInstance) {
|
|
@@ -29114,6 +29163,10 @@ proto.payment.WithdrawalItem.deserializeBinaryFromReader = function(msg, reader)
|
|
|
29114
29163
|
var value = /** @type {string} */ (reader.readString());
|
|
29115
29164
|
msg.addAllowedStatusActions(value);
|
|
29116
29165
|
break;
|
|
29166
|
+
case 25:
|
|
29167
|
+
var value = /** @type {string} */ (reader.readString());
|
|
29168
|
+
msg.setOperatorDeclineReason(value);
|
|
29169
|
+
break;
|
|
29117
29170
|
default:
|
|
29118
29171
|
reader.skipField();
|
|
29119
29172
|
break;
|
|
@@ -29311,6 +29364,13 @@ proto.payment.WithdrawalItem.serializeBinaryToWriter = function(message, writer)
|
|
|
29311
29364
|
f
|
|
29312
29365
|
);
|
|
29313
29366
|
}
|
|
29367
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 25));
|
|
29368
|
+
if (f != null) {
|
|
29369
|
+
writer.writeString(
|
|
29370
|
+
25,
|
|
29371
|
+
f
|
|
29372
|
+
);
|
|
29373
|
+
}
|
|
29314
29374
|
};
|
|
29315
29375
|
|
|
29316
29376
|
|
|
@@ -30071,6 +30131,42 @@ proto.payment.WithdrawalItem.prototype.clearAllowedStatusActionsList = function(
|
|
|
30071
30131
|
};
|
|
30072
30132
|
|
|
30073
30133
|
|
|
30134
|
+
/**
|
|
30135
|
+
* optional string operator_decline_reason = 25;
|
|
30136
|
+
* @return {string}
|
|
30137
|
+
*/
|
|
30138
|
+
proto.payment.WithdrawalItem.prototype.getOperatorDeclineReason = function() {
|
|
30139
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 25, ""));
|
|
30140
|
+
};
|
|
30141
|
+
|
|
30142
|
+
|
|
30143
|
+
/**
|
|
30144
|
+
* @param {string} value
|
|
30145
|
+
* @return {!proto.payment.WithdrawalItem} returns this
|
|
30146
|
+
*/
|
|
30147
|
+
proto.payment.WithdrawalItem.prototype.setOperatorDeclineReason = function(value) {
|
|
30148
|
+
return jspb.Message.setField(this, 25, value);
|
|
30149
|
+
};
|
|
30150
|
+
|
|
30151
|
+
|
|
30152
|
+
/**
|
|
30153
|
+
* Clears the field making it undefined.
|
|
30154
|
+
* @return {!proto.payment.WithdrawalItem} returns this
|
|
30155
|
+
*/
|
|
30156
|
+
proto.payment.WithdrawalItem.prototype.clearOperatorDeclineReason = function() {
|
|
30157
|
+
return jspb.Message.setField(this, 25, undefined);
|
|
30158
|
+
};
|
|
30159
|
+
|
|
30160
|
+
|
|
30161
|
+
/**
|
|
30162
|
+
* Returns whether this field is set.
|
|
30163
|
+
* @return {boolean}
|
|
30164
|
+
*/
|
|
30165
|
+
proto.payment.WithdrawalItem.prototype.hasOperatorDeclineReason = function() {
|
|
30166
|
+
return jspb.Message.getField(this, 25) != null;
|
|
30167
|
+
};
|
|
30168
|
+
|
|
30169
|
+
|
|
30074
30170
|
|
|
30075
30171
|
/**
|
|
30076
30172
|
* List of repeated fields within this message type.
|