protobuf-platform 1.2.702 → 1.2.704

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/cms/cms.proto CHANGED
@@ -12,6 +12,8 @@ service CMS {
12
12
  rpc setCasinoPageWidget(CommonWidgetRequest) returns (CasinoPageWidgetItem);
13
13
  rpc getCasinoPageWidget(GetCasinoPageWidgetRequest) returns (CasinoPageWidgetItem);
14
14
  rpc getCasinoPageWidgetList(GetCasinoPageWidgetRequest) returns (CasinoPageWidgetResponse);
15
+ rpc setLiveCasinoPageWidget(CommonWidgetRequest) returns (CasinoPageWidgetItem);
16
+ rpc getLiveCasinoPageWidget(GetCasinoPageWidgetRequest) returns (CasinoPageWidgetItem);
15
17
  rpc setBurgerMenuWidget(CommonWidgetRequest) returns (BurgerMenuWidgetItem);
16
18
  rpc getBurgerMenuWidget(GetBurgerMenuWidgetRequest) returns (BurgerMenuWidgetItem);
17
19
  rpc setSignUpFormWidget(CommonWidgetRequest) returns (SignUpFormWidgetItem);
@@ -1679,6 +1679,28 @@ setMainPageWidget: {
1679
1679
  responseSerialize: serialize_cms_CasinoPageWidgetResponse,
1680
1680
  responseDeserialize: deserialize_cms_CasinoPageWidgetResponse,
1681
1681
  },
1682
+ setLiveCasinoPageWidget: {
1683
+ path: '/cms.CMS/setLiveCasinoPageWidget',
1684
+ requestStream: false,
1685
+ responseStream: false,
1686
+ requestType: cms_pb.CommonWidgetRequest,
1687
+ responseType: cms_pb.CasinoPageWidgetItem,
1688
+ requestSerialize: serialize_cms_CommonWidgetRequest,
1689
+ requestDeserialize: deserialize_cms_CommonWidgetRequest,
1690
+ responseSerialize: serialize_cms_CasinoPageWidgetItem,
1691
+ responseDeserialize: deserialize_cms_CasinoPageWidgetItem,
1692
+ },
1693
+ getLiveCasinoPageWidget: {
1694
+ path: '/cms.CMS/getLiveCasinoPageWidget',
1695
+ requestStream: false,
1696
+ responseStream: false,
1697
+ requestType: cms_pb.GetCasinoPageWidgetRequest,
1698
+ responseType: cms_pb.CasinoPageWidgetItem,
1699
+ requestSerialize: serialize_cms_GetCasinoPageWidgetRequest,
1700
+ requestDeserialize: deserialize_cms_GetCasinoPageWidgetRequest,
1701
+ responseSerialize: serialize_cms_CasinoPageWidgetItem,
1702
+ responseDeserialize: deserialize_cms_CasinoPageWidgetItem,
1703
+ },
1682
1704
  setBurgerMenuWidget: {
1683
1705
  path: '/cms.CMS/setBurgerMenuWidget',
1684
1706
  requestStream: false,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "protobuf-platform",
3
- "version": "1.2.702",
3
+ "version": "1.2.704",
4
4
  "description": "Protobuf structures",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -94,6 +94,8 @@ service Payment {
94
94
  rpc reverseBonusBalanceReward(BonusBalanceRewardReversalRequest) returns (BonusBalanceRewardOperationResponse);
95
95
  rpc prepareGameplayPrecisionCommand(PrepareGameplayPrecisionCommandRequest)
96
96
  returns (PrepareGameplayPrecisionCommandResponse);
97
+ // RTP wallet-operation history. Additive; does not change userPaymentHistory.
98
+ rpc userWalletOperationHistory(GetUserPaymentsInfoRequest) returns (UserWalletOperationHistoryItemsResponse);
97
99
  }
98
100
  //Technical
99
101
  message PingRequest { string ping = 1; }
@@ -831,6 +833,52 @@ message UserPaymentHistoryItemsResponse {
831
833
  optional int32 total_pages = 2;
832
834
  optional int32 total_items = 3;
833
835
  }
836
+ // One posted reward rendered inside its deposit. Grouping is presentation-only.
837
+ message UserWalletOperationHistoryReward {
838
+ string operation_id = 1;
839
+ string public_id = 2;
840
+ string kind = 3;
841
+ string amount = 4;
842
+ string currency = 5;
843
+ optional string currency_type = 6;
844
+ optional int32 currency_scale = 7;
845
+ optional string fiat_amount = 8;
846
+ optional string fiat_currency = 9;
847
+ optional string source_amount = 10;
848
+ optional string source_currency = 11;
849
+ optional string percent = 12;
850
+ optional string status = 13;
851
+ }
852
+ message UserWalletOperationHistoryItem {
853
+ string operation_id = 1;
854
+ string public_id = 2;
855
+ string type = 3;
856
+ string status = 4;
857
+ string amount = 5;
858
+ string currency = 6;
859
+ optional string currency_type = 7;
860
+ optional int32 currency_scale = 8;
861
+ optional string fiat_amount = 9;
862
+ optional string fiat_currency = 10;
863
+ optional string source_amount = 11;
864
+ optional string source_currency = 12;
865
+ optional string created = 13;
866
+ optional string external_ref = 14;
867
+ optional string txid = 15;
868
+ optional string amount_attempt = 16;
869
+ optional string amount_paid = 17;
870
+ optional int32 status_id = 18;
871
+ optional string payment_method_title = 19;
872
+ optional string payment_provider_title = 20;
873
+ optional string payment_provider_image = 21;
874
+ optional string payment_provider_image_cdn = 22;
875
+ repeated UserWalletOperationHistoryReward rewards = 23;
876
+ }
877
+ message UserWalletOperationHistoryItemsResponse {
878
+ repeated UserWalletOperationHistoryItem items = 1;
879
+ optional int32 total_pages = 2;
880
+ optional int32 total_items = 3;
881
+ }
834
882
  //Users
835
883
  message UserPaymentMethodItem {
836
884
  int32 method_id = 1;
@@ -1093,6 +1093,17 @@ function deserialize_payment_UserPaymentsInfoResponse(buffer_arg) {
1093
1093
  return payment_pb.UserPaymentsInfoResponse.deserializeBinary(new Uint8Array(buffer_arg));
1094
1094
  }
1095
1095
 
1096
+ function serialize_payment_UserWalletOperationHistoryItemsResponse(arg) {
1097
+ if (!(arg instanceof payment_pb.UserWalletOperationHistoryItemsResponse)) {
1098
+ throw new Error('Expected argument of type payment.UserWalletOperationHistoryItemsResponse');
1099
+ }
1100
+ return Buffer.from(arg.serializeBinary());
1101
+ }
1102
+
1103
+ function deserialize_payment_UserWalletOperationHistoryItemsResponse(buffer_arg) {
1104
+ return payment_pb.UserWalletOperationHistoryItemsResponse.deserializeBinary(new Uint8Array(buffer_arg));
1105
+ }
1106
+
1096
1107
  function serialize_payment_UserWithdrawalItemsResponse(arg) {
1097
1108
  if (!(arg instanceof payment_pb.UserWithdrawalItemsResponse)) {
1098
1109
  throw new Error('Expected argument of type payment.UserWithdrawalItemsResponse');
@@ -1979,6 +1990,18 @@ issueBonusBalanceReward: {
1979
1990
  responseSerialize: serialize_payment_PrepareGameplayPrecisionCommandResponse,
1980
1991
  responseDeserialize: deserialize_payment_PrepareGameplayPrecisionCommandResponse,
1981
1992
  },
1993
+ // RTP wallet-operation history. Additive; does not change userPaymentHistory.
1994
+ userWalletOperationHistory: {
1995
+ path: '/payment.Payment/userWalletOperationHistory',
1996
+ requestStream: false,
1997
+ responseStream: false,
1998
+ requestType: payment_pb.GetUserPaymentsInfoRequest,
1999
+ responseType: payment_pb.UserWalletOperationHistoryItemsResponse,
2000
+ requestSerialize: serialize_payment_GetUserPaymentsInfoRequest,
2001
+ requestDeserialize: deserialize_payment_GetUserPaymentsInfoRequest,
2002
+ responseSerialize: serialize_payment_UserWalletOperationHistoryItemsResponse,
2003
+ responseDeserialize: deserialize_payment_UserWalletOperationHistoryItemsResponse,
2004
+ },
1982
2005
  };
1983
2006
 
1984
2007
  exports.PaymentClient = grpc.makeGenericClientConstructor(PaymentService, 'Payment');