@arbiwallet/contracts 1.0.149 → 1.0.151

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/gen/auth.ts CHANGED
@@ -78,10 +78,16 @@ export interface AccessTokenRequest {
78
78
  accessToken: string;
79
79
  }
80
80
 
81
+ export interface AuthUserProfile {
82
+ firstName?: string | undefined;
83
+ lastName?: string | undefined;
84
+ }
85
+
81
86
  export interface AuthTokensResponse {
82
87
  accessToken: string;
83
88
  refreshToken: string;
84
89
  returnUrl?: string | undefined;
90
+ user?: AuthUserProfile | undefined;
85
91
  }
86
92
 
87
93
  export interface AccessTokenResponse {
package/gen/content.ts CHANGED
@@ -232,8 +232,12 @@ export interface GetPublicFilialsResponse {
232
232
  export interface CreatePartnerRequest {
233
233
  imageUrl: string;
234
234
  title: string;
235
- url: string;
235
+ url?: string | undefined;
236
236
  order: number;
237
+ body?: string | undefined;
238
+ isActive?: boolean | undefined;
239
+ longitude?: number | undefined;
240
+ latitude?: number | undefined;
237
241
  }
238
242
 
239
243
  export interface CreatePartnerResponse {
@@ -435,8 +439,12 @@ export interface Partner {
435
439
  id: number;
436
440
  imageUrl: string;
437
441
  title: string;
438
- url: string;
442
+ url?: string | undefined;
439
443
  order: number;
444
+ body?: string | undefined;
445
+ isActive?: boolean | undefined;
446
+ latitude?: number | undefined;
447
+ longitude?: number | undefined;
440
448
  }
441
449
 
442
450
  export interface Blog {
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.149",
4
+ "version": "1.0.151",
5
5
  "scripts": {
6
6
  "generate": "protoc -I ./proto ./proto/*.proto --ts_proto_out=./gen --ts_proto_opt=nestJs=true,package=omit"
7
7
  },
package/proto/auth.proto CHANGED
@@ -84,10 +84,16 @@ message AccessTokenRequest {
84
84
  string access_token = 1;
85
85
  }
86
86
 
87
+ message AuthUserProfile {
88
+ optional string first_name = 1;
89
+ optional string last_name = 2;
90
+ }
91
+
87
92
  message AuthTokensResponse {
88
93
  string access_token = 1;
89
94
  string refresh_token = 2;
90
95
  optional string return_url = 3;
96
+ optional AuthUserProfile user = 4;
91
97
  }
92
98
 
93
99
  message AccessTokenResponse {
@@ -292,8 +292,12 @@ message GetPublicFilialsResponse {
292
292
  message CreatePartnerRequest {
293
293
  string image_url = 1;
294
294
  string title = 2;
295
- string url = 3;
295
+ optional string url = 3;
296
296
  int32 order = 4;
297
+ optional string body = 5;
298
+ optional bool is_active = 6;
299
+ optional double longitude = 7;
300
+ optional double latitude = 8;
297
301
  }
298
302
 
299
303
  message CreatePartnerResponse {
@@ -489,8 +493,12 @@ message Partner {
489
493
  int32 id = 1;
490
494
  string image_url = 2;
491
495
  string title = 3;
492
- string url = 4;
496
+ optional string url = 4;
493
497
  int32 order = 5;
498
+ optional string body = 6;
499
+ optional bool is_active = 7;
500
+ optional double latitude = 8;
501
+ optional double longitude = 9;
494
502
  }
495
503
 
496
504
  message Blog {