protobuf-platform 1.2.669 → 1.2.670
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/AGENTS.md +1 -1
- package/package.json +1 -1
- package/payment/payment.proto +2 -0
- package/payment/payment_pb.js +49 -1
package/AGENTS.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Read [Project Rules](../../platform-rules/PROJECT_RULES.md) for the canonical shared execution policy; this file specializes the protobuf commands.
|
|
4
4
|
|
|
5
|
-
- Repository directory: `protobuf`; npm package: `protobuf-platform`. Work locally on `main`, never switch to local `staging
|
|
5
|
+
- Repository directory: `protobuf`; npm package: `protobuf-platform`. Work locally on `main`, never switch to local `staging`, and never apply the service-staging push flow to this repository. Protobuf `main` mutation, publication and push follow the dedicated lifecycle in Project Rules. This is a contract package, not a running service; it owns no database, queues or migrations.
|
|
6
6
|
- Inspect this repository first for every business master task. Reuse existing contracts when sufficient and record `PROTOBUF_CHANGE_NOT_REQUIRED` when no change is needed.
|
|
7
7
|
- A new/material contract decision or breaking change needs explicit approval of that exact change; additive approval never authorizes breaking compatibility. If approval is missing, report `PROTOBUF_CHANGE_APPROVAL_REQUIRED` with the exact contract, insufficiency, compatibility and affected repositories. Contract work precedes dependent implementation.
|
|
8
8
|
- Sources are domain `*.proto` files; `update_protobuf.sh` writes colocated `*_pb.js` and `*_grpc_pb.js`; `index.js` exports domain bindings.
|
package/package.json
CHANGED
package/payment/payment.proto
CHANGED
|
@@ -614,6 +614,8 @@ message AttemptWithdrawalRequest {
|
|
|
614
614
|
optional string request_currency = 39;
|
|
615
615
|
optional string antifraud_session = 40;
|
|
616
616
|
optional string user_agent = 41;
|
|
617
|
+
// Card security code for the withdrawal attempt. Consumers must keep it transient.
|
|
618
|
+
optional string cvv = 42;
|
|
617
619
|
}
|
|
618
620
|
message GetWithdrawalRequest {
|
|
619
621
|
int32 id = 1;
|
package/payment/payment_pb.js
CHANGED
|
@@ -24791,7 +24791,8 @@ proto.payment.AttemptWithdrawalRequest.toObject = function(includeInstance, msg)
|
|
|
24791
24791
|
cryptoWallet: jspb.Message.getFieldWithDefault(msg, 38, ""),
|
|
24792
24792
|
requestCurrency: jspb.Message.getFieldWithDefault(msg, 39, ""),
|
|
24793
24793
|
antifraudSession: jspb.Message.getFieldWithDefault(msg, 40, ""),
|
|
24794
|
-
userAgent: jspb.Message.getFieldWithDefault(msg, 41, "")
|
|
24794
|
+
userAgent: jspb.Message.getFieldWithDefault(msg, 41, ""),
|
|
24795
|
+
cvv: jspb.Message.getFieldWithDefault(msg, 42, "")
|
|
24795
24796
|
};
|
|
24796
24797
|
|
|
24797
24798
|
if (includeInstance) {
|
|
@@ -24992,6 +24993,10 @@ proto.payment.AttemptWithdrawalRequest.deserializeBinaryFromReader = function(ms
|
|
|
24992
24993
|
var value = /** @type {string} */ (reader.readString());
|
|
24993
24994
|
msg.setUserAgent(value);
|
|
24994
24995
|
break;
|
|
24996
|
+
case 42:
|
|
24997
|
+
var value = /** @type {string} */ (reader.readString());
|
|
24998
|
+
msg.setCvv(value);
|
|
24999
|
+
break;
|
|
24995
25000
|
default:
|
|
24996
25001
|
reader.skipField();
|
|
24997
25002
|
break;
|
|
@@ -25308,6 +25313,13 @@ proto.payment.AttemptWithdrawalRequest.serializeBinaryToWriter = function(messag
|
|
|
25308
25313
|
f
|
|
25309
25314
|
);
|
|
25310
25315
|
}
|
|
25316
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 42));
|
|
25317
|
+
if (f != null) {
|
|
25318
|
+
writer.writeString(
|
|
25319
|
+
42,
|
|
25320
|
+
f
|
|
25321
|
+
);
|
|
25322
|
+
}
|
|
25311
25323
|
};
|
|
25312
25324
|
|
|
25313
25325
|
|
|
@@ -26733,6 +26745,42 @@ proto.payment.AttemptWithdrawalRequest.prototype.hasUserAgent = function() {
|
|
|
26733
26745
|
};
|
|
26734
26746
|
|
|
26735
26747
|
|
|
26748
|
+
/**
|
|
26749
|
+
* optional string cvv = 42;
|
|
26750
|
+
* @return {string}
|
|
26751
|
+
*/
|
|
26752
|
+
proto.payment.AttemptWithdrawalRequest.prototype.getCvv = function() {
|
|
26753
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 42, ""));
|
|
26754
|
+
};
|
|
26755
|
+
|
|
26756
|
+
|
|
26757
|
+
/**
|
|
26758
|
+
* @param {string} value
|
|
26759
|
+
* @return {!proto.payment.AttemptWithdrawalRequest} returns this
|
|
26760
|
+
*/
|
|
26761
|
+
proto.payment.AttemptWithdrawalRequest.prototype.setCvv = function(value) {
|
|
26762
|
+
return jspb.Message.setField(this, 42, value);
|
|
26763
|
+
};
|
|
26764
|
+
|
|
26765
|
+
|
|
26766
|
+
/**
|
|
26767
|
+
* Clears the field making it undefined.
|
|
26768
|
+
* @return {!proto.payment.AttemptWithdrawalRequest} returns this
|
|
26769
|
+
*/
|
|
26770
|
+
proto.payment.AttemptWithdrawalRequest.prototype.clearCvv = function() {
|
|
26771
|
+
return jspb.Message.setField(this, 42, undefined);
|
|
26772
|
+
};
|
|
26773
|
+
|
|
26774
|
+
|
|
26775
|
+
/**
|
|
26776
|
+
* Returns whether this field is set.
|
|
26777
|
+
* @return {boolean}
|
|
26778
|
+
*/
|
|
26779
|
+
proto.payment.AttemptWithdrawalRequest.prototype.hasCvv = function() {
|
|
26780
|
+
return jspb.Message.getField(this, 42) != null;
|
|
26781
|
+
};
|
|
26782
|
+
|
|
26783
|
+
|
|
26736
26784
|
|
|
26737
26785
|
|
|
26738
26786
|
|