@arbiwallet/contracts 1.0.89 → 1.0.91

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.
@@ -237,19 +237,24 @@ export interface SetCrmExchangeCurrencyToCurrenciesResponse {
237
237
  item: CrmExchangeCurrencyItem | undefined;
238
238
  }
239
239
 
240
+ export interface CrmExchangeReceiveMethodsItem {
241
+ language: string;
242
+ methods: string[];
243
+ }
244
+
240
245
  export interface GetCrmExchangeReceiveMethodsRequest {
241
246
  }
242
247
 
243
248
  export interface GetCrmExchangeReceiveMethodsResponse {
244
- methods: string[];
249
+ items: CrmExchangeReceiveMethodsItem[];
245
250
  }
246
251
 
247
252
  export interface SetCrmExchangeReceiveMethodsRequest {
248
- methods: string[];
253
+ items: CrmExchangeReceiveMethodsItem[];
249
254
  }
250
255
 
251
256
  export interface SetCrmExchangeReceiveMethodsResponse {
252
- methods: string[];
257
+ items: CrmExchangeReceiveMethodsItem[];
253
258
  }
254
259
 
255
260
  export const TELEGRAM_PACKAGE_NAME = "telegram";
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@arbiwallet/contracts",
3
3
  "descriptions": "Generate and manage smart contracts for ArbiWallet",
4
- "version": "1.0.89",
4
+ "version": "1.0.91",
5
5
  "scripts": {
6
6
  "generate": "protoc -I ./proto ./proto/*.proto --ts_proto_out=./gen --ts_proto_opt=nestJs=true,package=omit"
7
7
  },
@@ -243,16 +243,21 @@ message SetCrmExchangeCurrencyToCurrenciesResponse {
243
243
  CrmExchangeCurrencyItem item = 1;
244
244
  }
245
245
 
246
+ message CrmExchangeReceiveMethodsItem {
247
+ string language = 1;
248
+ repeated string methods = 2;
249
+ }
250
+
246
251
  message GetCrmExchangeReceiveMethodsRequest {}
247
252
 
248
253
  message GetCrmExchangeReceiveMethodsResponse {
249
- repeated string methods = 1;
254
+ repeated CrmExchangeReceiveMethodsItem items = 1;
250
255
  }
251
256
 
252
257
  message SetCrmExchangeReceiveMethodsRequest {
253
- repeated string methods = 1;
258
+ repeated CrmExchangeReceiveMethodsItem items = 1;
254
259
  }
255
260
 
256
261
  message SetCrmExchangeReceiveMethodsResponse {
257
- repeated string methods = 1;
262
+ repeated CrmExchangeReceiveMethodsItem items = 1;
258
263
  }