protobuf-platform 1.2.390 → 1.2.392

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/bonus/bonus.proto CHANGED
@@ -281,6 +281,7 @@ message FreeSpinItem {
281
281
  optional string game_provider_slug = 12;
282
282
  optional string provider_campaign_id = 13;
283
283
  optional string provider_status = 14;
284
+ optional string game_image = 15;
284
285
  }
285
286
  message GameItem {
286
287
  int32 game_id = 1;
package/bonus/bonus_pb.js CHANGED
@@ -11642,7 +11642,8 @@ proto.bonus.FreeSpinItem.toObject = function(includeInstance, msg) {
11642
11642
  gameProviderTitle: jspb.Message.getFieldWithDefault(msg, 11, ""),
11643
11643
  gameProviderSlug: jspb.Message.getFieldWithDefault(msg, 12, ""),
11644
11644
  providerCampaignId: jspb.Message.getFieldWithDefault(msg, 13, ""),
11645
- providerStatus: jspb.Message.getFieldWithDefault(msg, 14, "")
11645
+ providerStatus: jspb.Message.getFieldWithDefault(msg, 14, ""),
11646
+ gameImage: jspb.Message.getFieldWithDefault(msg, 15, "")
11646
11647
  };
11647
11648
 
11648
11649
  if (includeInstance) {
@@ -11735,6 +11736,10 @@ proto.bonus.FreeSpinItem.deserializeBinaryFromReader = function(msg, reader) {
11735
11736
  var value = /** @type {string} */ (reader.readString());
11736
11737
  msg.setProviderStatus(value);
11737
11738
  break;
11739
+ case 15:
11740
+ var value = /** @type {string} */ (reader.readString());
11741
+ msg.setGameImage(value);
11742
+ break;
11738
11743
  default:
11739
11744
  reader.skipField();
11740
11745
  break;
@@ -11862,6 +11867,13 @@ proto.bonus.FreeSpinItem.serializeBinaryToWriter = function(message, writer) {
11862
11867
  f
11863
11868
  );
11864
11869
  }
11870
+ f = /** @type {string} */ (jspb.Message.getField(message, 15));
11871
+ if (f != null) {
11872
+ writer.writeString(
11873
+ 15,
11874
+ f
11875
+ );
11876
+ }
11865
11877
  };
11866
11878
 
11867
11879
 
@@ -12315,6 +12327,42 @@ proto.bonus.FreeSpinItem.prototype.hasProviderStatus = function() {
12315
12327
  };
12316
12328
 
12317
12329
 
12330
+ /**
12331
+ * optional string game_image = 15;
12332
+ * @return {string}
12333
+ */
12334
+ proto.bonus.FreeSpinItem.prototype.getGameImage = function() {
12335
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 15, ""));
12336
+ };
12337
+
12338
+
12339
+ /**
12340
+ * @param {string} value
12341
+ * @return {!proto.bonus.FreeSpinItem} returns this
12342
+ */
12343
+ proto.bonus.FreeSpinItem.prototype.setGameImage = function(value) {
12344
+ return jspb.Message.setField(this, 15, value);
12345
+ };
12346
+
12347
+
12348
+ /**
12349
+ * Clears the field making it undefined.
12350
+ * @return {!proto.bonus.FreeSpinItem} returns this
12351
+ */
12352
+ proto.bonus.FreeSpinItem.prototype.clearGameImage = function() {
12353
+ return jspb.Message.setField(this, 15, undefined);
12354
+ };
12355
+
12356
+
12357
+ /**
12358
+ * Returns whether this field is set.
12359
+ * @return {boolean}
12360
+ */
12361
+ proto.bonus.FreeSpinItem.prototype.hasGameImage = function() {
12362
+ return jspb.Message.getField(this, 15) != null;
12363
+ };
12364
+
12365
+
12318
12366
 
12319
12367
 
12320
12368
 
@@ -16,6 +16,8 @@ service Config {
16
16
  rpc getCurrencyRate(CurrencyRateRequest) returns (CurrencyRateResponse);
17
17
  rpc getCurrenciesRates(CurrenciesRatesRequest) returns (CurrenciesRatesResponse);
18
18
  rpc refreshCurrenciesRates(RefreshCurrenciesRatesRequest) returns (CurrenciesRatesResponse);
19
+ rpc getCurrencyRatesMap(CurrencyRatesMapRequest) returns (CurrencyRatesMapResponse);
20
+ rpc setManualCurrencyRate(SetManualCurrencyRateRequest) returns (CurrencyRateItemResponse);
19
21
  //Countries
20
22
  rpc getCountriesList(PaginationRequest) returns (CountriesResponse);
21
23
  //OpenAI
@@ -123,6 +125,17 @@ message CurrencyRateRequest {
123
125
  }
124
126
  message CurrencyRateResponse {
125
127
  float rate = 1;
128
+ optional string currency_from = 2;
129
+ optional string currency_to = 3;
130
+ optional string base_currency = 4;
131
+ optional string source = 5;
132
+ optional string provider = 6;
133
+ optional string fetched_at = 7;
134
+ optional string updated_at = 8;
135
+ optional string valid_until = 9;
136
+ optional bool is_manual = 10;
137
+ optional string status = 11;
138
+ optional string error_code = 12;
126
139
  }
127
140
  message CurrenciesRatesRequest {
128
141
  string environment = 1;
@@ -145,11 +158,45 @@ message CurrencyRateItem {
145
158
  optional string source = 4;
146
159
  optional string fetched_at = 5;
147
160
  optional string updated_at = 6;
161
+ optional string provider = 7;
162
+ optional string base_currency = 8;
163
+ optional string valid_until = 9;
164
+ optional bool is_manual = 10;
165
+ optional string status = 11;
166
+ optional string error_code = 12;
148
167
  }
149
168
 
150
169
  message CurrenciesRatesResponse {
151
170
  repeated CurrencyRateItem items = 1;
152
171
  }
172
+
173
+ message CurrencyRatesMapRequest {
174
+ string environment = 1;
175
+ string customer = 2;
176
+ optional string base_currency = 3;
177
+ repeated string currency_from = 4;
178
+ optional int32 include_missing = 5;
179
+ }
180
+
181
+ message CurrencyRatesMapResponse {
182
+ string base_currency = 1;
183
+ repeated CurrencyRateItem items = 2;
184
+ }
185
+
186
+ message SetManualCurrencyRateRequest {
187
+ string environment = 1;
188
+ string customer = 2;
189
+ string currency_from = 3;
190
+ optional string currency_to = 4;
191
+ optional string base_currency = 5;
192
+ double rate = 6;
193
+ int32 expires_in_minutes = 7;
194
+ optional string updated_by = 8;
195
+ }
196
+
197
+ message CurrencyRateItemResponse {
198
+ CurrencyRateItem data = 1;
199
+ }
153
200
  //OpenAI
154
201
  message PromptRequest {
155
202
  string environment = 1;
@@ -103,6 +103,17 @@ function deserialize_config_CurrenciesRatesResponse(buffer_arg) {
103
103
  return config_pb.CurrenciesRatesResponse.deserializeBinary(new Uint8Array(buffer_arg));
104
104
  }
105
105
 
106
+ function serialize_config_CurrencyRateItemResponse(arg) {
107
+ if (!(arg instanceof config_pb.CurrencyRateItemResponse)) {
108
+ throw new Error('Expected argument of type config.CurrencyRateItemResponse');
109
+ }
110
+ return Buffer.from(arg.serializeBinary());
111
+ }
112
+
113
+ function deserialize_config_CurrencyRateItemResponse(buffer_arg) {
114
+ return config_pb.CurrencyRateItemResponse.deserializeBinary(new Uint8Array(buffer_arg));
115
+ }
116
+
106
117
  function serialize_config_CurrencyRateRequest(arg) {
107
118
  if (!(arg instanceof config_pb.CurrencyRateRequest)) {
108
119
  throw new Error('Expected argument of type config.CurrencyRateRequest');
@@ -125,6 +136,28 @@ function deserialize_config_CurrencyRateResponse(buffer_arg) {
125
136
  return config_pb.CurrencyRateResponse.deserializeBinary(new Uint8Array(buffer_arg));
126
137
  }
127
138
 
139
+ function serialize_config_CurrencyRatesMapRequest(arg) {
140
+ if (!(arg instanceof config_pb.CurrencyRatesMapRequest)) {
141
+ throw new Error('Expected argument of type config.CurrencyRatesMapRequest');
142
+ }
143
+ return Buffer.from(arg.serializeBinary());
144
+ }
145
+
146
+ function deserialize_config_CurrencyRatesMapRequest(buffer_arg) {
147
+ return config_pb.CurrencyRatesMapRequest.deserializeBinary(new Uint8Array(buffer_arg));
148
+ }
149
+
150
+ function serialize_config_CurrencyRatesMapResponse(arg) {
151
+ if (!(arg instanceof config_pb.CurrencyRatesMapResponse)) {
152
+ throw new Error('Expected argument of type config.CurrencyRatesMapResponse');
153
+ }
154
+ return Buffer.from(arg.serializeBinary());
155
+ }
156
+
157
+ function deserialize_config_CurrencyRatesMapResponse(buffer_arg) {
158
+ return config_pb.CurrencyRatesMapResponse.deserializeBinary(new Uint8Array(buffer_arg));
159
+ }
160
+
128
161
  function serialize_config_ErrorRequest(arg) {
129
162
  if (!(arg instanceof config_pb.ErrorRequest)) {
130
163
  throw new Error('Expected argument of type config.ErrorRequest');
@@ -389,6 +422,17 @@ function deserialize_config_RefreshCurrenciesRatesRequest(buffer_arg) {
389
422
  return config_pb.RefreshCurrenciesRatesRequest.deserializeBinary(new Uint8Array(buffer_arg));
390
423
  }
391
424
 
425
+ function serialize_config_SetManualCurrencyRateRequest(arg) {
426
+ if (!(arg instanceof config_pb.SetManualCurrencyRateRequest)) {
427
+ throw new Error('Expected argument of type config.SetManualCurrencyRateRequest');
428
+ }
429
+ return Buffer.from(arg.serializeBinary());
430
+ }
431
+
432
+ function deserialize_config_SetManualCurrencyRateRequest(buffer_arg) {
433
+ return config_pb.SetManualCurrencyRateRequest.deserializeBinary(new Uint8Array(buffer_arg));
434
+ }
435
+
392
436
  function serialize_config_SettingsRequest(arg) {
393
437
  if (!(arg instanceof config_pb.SettingsRequest)) {
394
438
  throw new Error('Expected argument of type config.SettingsRequest');
@@ -571,6 +615,28 @@ getCurrencyRate: {
571
615
  responseSerialize: serialize_config_CurrenciesRatesResponse,
572
616
  responseDeserialize: deserialize_config_CurrenciesRatesResponse,
573
617
  },
618
+ getCurrencyRatesMap: {
619
+ path: '/config.Config/getCurrencyRatesMap',
620
+ requestStream: false,
621
+ responseStream: false,
622
+ requestType: config_pb.CurrencyRatesMapRequest,
623
+ responseType: config_pb.CurrencyRatesMapResponse,
624
+ requestSerialize: serialize_config_CurrencyRatesMapRequest,
625
+ requestDeserialize: deserialize_config_CurrencyRatesMapRequest,
626
+ responseSerialize: serialize_config_CurrencyRatesMapResponse,
627
+ responseDeserialize: deserialize_config_CurrencyRatesMapResponse,
628
+ },
629
+ setManualCurrencyRate: {
630
+ path: '/config.Config/setManualCurrencyRate',
631
+ requestStream: false,
632
+ responseStream: false,
633
+ requestType: config_pb.SetManualCurrencyRateRequest,
634
+ responseType: config_pb.CurrencyRateItemResponse,
635
+ requestSerialize: serialize_config_SetManualCurrencyRateRequest,
636
+ requestDeserialize: deserialize_config_SetManualCurrencyRateRequest,
637
+ responseSerialize: serialize_config_CurrencyRateItemResponse,
638
+ responseDeserialize: deserialize_config_CurrencyRateItemResponse,
639
+ },
574
640
  // Countries
575
641
  getCountriesList: {
576
642
  path: '/config.Config/getCountriesList',