@arbiwallet/contracts 1.0.92 → 1.0.93

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.
@@ -181,6 +181,28 @@ export interface SetCrmPromocodeTextsResponse {
181
181
  items: CrmPromocodeTextsItem[];
182
182
  }
183
183
 
184
+ export interface CrmReferralTextsItem {
185
+ language: string;
186
+ referralInfoText: string;
187
+ referralLinkLineTemplate: string;
188
+ referralUnavailableText: string;
189
+ }
190
+
191
+ export interface GetCrmReferralTextsRequest {
192
+ }
193
+
194
+ export interface GetCrmReferralTextsResponse {
195
+ items: CrmReferralTextsItem[];
196
+ }
197
+
198
+ export interface SetCrmReferralTextsRequest {
199
+ items: CrmReferralTextsItem[];
200
+ }
201
+
202
+ export interface SetCrmReferralTextsResponse {
203
+ items: CrmReferralTextsItem[];
204
+ }
205
+
184
206
  export interface GetCrmLinksRequest {
185
207
  }
186
208
 
@@ -288,6 +310,10 @@ export interface TelegramBotServiceClient {
288
310
 
289
311
  setCrmPromocodeTexts(request: SetCrmPromocodeTextsRequest): Observable<SetCrmPromocodeTextsResponse>;
290
312
 
313
+ getCrmReferralTexts(request: GetCrmReferralTextsRequest): Observable<GetCrmReferralTextsResponse>;
314
+
315
+ setCrmReferralTexts(request: SetCrmReferralTextsRequest): Observable<SetCrmReferralTextsResponse>;
316
+
291
317
  getCrmLinks(request: GetCrmLinksRequest): Observable<GetCrmLinksResponse>;
292
318
 
293
319
  setCrmLinks(request: SetCrmLinksRequest): Observable<SetCrmLinksResponse>;
@@ -373,6 +399,14 @@ export interface TelegramBotServiceController {
373
399
  request: SetCrmPromocodeTextsRequest,
374
400
  ): Promise<SetCrmPromocodeTextsResponse> | Observable<SetCrmPromocodeTextsResponse> | SetCrmPromocodeTextsResponse;
375
401
 
402
+ getCrmReferralTexts(
403
+ request: GetCrmReferralTextsRequest,
404
+ ): Promise<GetCrmReferralTextsResponse> | Observable<GetCrmReferralTextsResponse> | GetCrmReferralTextsResponse;
405
+
406
+ setCrmReferralTexts(
407
+ request: SetCrmReferralTextsRequest,
408
+ ): Promise<SetCrmReferralTextsResponse> | Observable<SetCrmReferralTextsResponse> | SetCrmReferralTextsResponse;
409
+
376
410
  getCrmLinks(
377
411
  request: GetCrmLinksRequest,
378
412
  ): Promise<GetCrmLinksResponse> | Observable<GetCrmLinksResponse> | GetCrmLinksResponse;
@@ -440,6 +474,8 @@ export function TelegramBotServiceControllerMethods() {
440
474
  "setCrmExchangeTexts",
441
475
  "getCrmPromocodeTexts",
442
476
  "setCrmPromocodeTexts",
477
+ "getCrmReferralTexts",
478
+ "setCrmReferralTexts",
443
479
  "getCrmLinks",
444
480
  "setCrmLinks",
445
481
  "getCrmExchangeCurrencies",
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.92",
4
+ "version": "1.0.93",
5
5
  "scripts": {
6
6
  "generate": "protoc -I ./proto ./proto/*.proto --ts_proto_out=./gen --ts_proto_opt=nestJs=true,package=omit"
7
7
  },
@@ -16,6 +16,8 @@ service TelegramBotService {
16
16
  rpc SetCrmExchangeTexts (SetCrmExchangeTextsRequest) returns (SetCrmExchangeTextsResponse);
17
17
  rpc GetCrmPromocodeTexts (GetCrmPromocodeTextsRequest) returns (GetCrmPromocodeTextsResponse);
18
18
  rpc SetCrmPromocodeTexts (SetCrmPromocodeTextsRequest) returns (SetCrmPromocodeTextsResponse);
19
+ rpc GetCrmReferralTexts (GetCrmReferralTextsRequest) returns (GetCrmReferralTextsResponse);
20
+ rpc SetCrmReferralTexts (SetCrmReferralTextsRequest) returns (SetCrmReferralTextsResponse);
19
21
  rpc GetCrmLinks (GetCrmLinksRequest) returns (GetCrmLinksResponse);
20
22
  rpc SetCrmLinks (SetCrmLinksRequest) returns (SetCrmLinksResponse);
21
23
  rpc GetCrmExchangeCurrencies (GetCrmExchangeCurrenciesRequest) returns (GetCrmExchangeCurrenciesResponse);
@@ -189,6 +191,27 @@ message SetCrmPromocodeTextsResponse {
189
191
  repeated CrmPromocodeTextsItem items = 1;
190
192
  }
191
193
 
194
+ message CrmReferralTextsItem {
195
+ string language = 1;
196
+ string referral_info_text = 2;
197
+ string referral_link_line_template = 3;
198
+ string referral_unavailable_text = 4;
199
+ }
200
+
201
+ message GetCrmReferralTextsRequest {}
202
+
203
+ message GetCrmReferralTextsResponse {
204
+ repeated CrmReferralTextsItem items = 1;
205
+ }
206
+
207
+ message SetCrmReferralTextsRequest {
208
+ repeated CrmReferralTextsItem items = 1;
209
+ }
210
+
211
+ message SetCrmReferralTextsResponse {
212
+ repeated CrmReferralTextsItem items = 1;
213
+ }
214
+
192
215
  message GetCrmLinksRequest {}
193
216
 
194
217
  message GetCrmLinksResponse {