@arbiwallet/contracts 1.0.114 → 1.0.116

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/content.ts CHANGED
@@ -40,7 +40,7 @@ export interface GetPublicDocumentsResponse {
40
40
  }
41
41
 
42
42
  export interface GetPublicDocumentRequest {
43
- id: number;
43
+ code: string;
44
44
  }
45
45
 
46
46
  export interface GetPublicDocumentResponse {
@@ -283,6 +283,7 @@ export interface ReorderBlogsResponse {
283
283
  export interface CreateDocumentRequest {
284
284
  title: string;
285
285
  body: string;
286
+ code: string;
286
287
  }
287
288
 
288
289
  export interface CreateDocumentResponse {
@@ -410,6 +411,7 @@ export interface Blog {
410
411
 
411
412
  export interface Document {
412
413
  id: number;
414
+ code: string;
413
415
  title: string;
414
416
  body: string;
415
417
  createdAt: string;
package/gen/user.ts CHANGED
@@ -64,6 +64,8 @@ export interface UserResponse {
64
64
  balances: UserBalance[];
65
65
  kycStatus: UserKycStatus;
66
66
  kyc: UserKycInfo | undefined;
67
+ cardFirstName?: string | undefined;
68
+ cardLastName?: string | undefined;
67
69
  }
68
70
 
69
71
  export interface UpdateUserRequest {
@@ -71,6 +73,8 @@ export interface UpdateUserRequest {
71
73
  firstName?: string | undefined;
72
74
  lastName?: string | undefined;
73
75
  avatar?: string | undefined;
76
+ cardFirstName?: string | undefined;
77
+ cardLastName?: string | undefined;
74
78
  }
75
79
 
76
80
  export interface UpdateUserStatusRequest {
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.114",
4
+ "version": "1.0.116",
5
5
  "scripts": {
6
6
  "generate": "protoc -I ./proto ./proto/*.proto --ts_proto_out=./gen --ts_proto_opt=nestJs=true,package=omit"
7
7
  },
@@ -99,7 +99,7 @@ message GetPublicDocumentsResponse {
99
99
  }
100
100
 
101
101
  message GetPublicDocumentRequest {
102
- int32 id = 1;
102
+ string code = 1;
103
103
  }
104
104
 
105
105
  message GetPublicDocumentResponse {
@@ -334,6 +334,7 @@ message ReorderBlogsResponse {}
334
334
  message CreateDocumentRequest {
335
335
  string title = 1;
336
336
  string body = 2;
337
+ string code = 3;
337
338
  }
338
339
 
339
340
  message CreateDocumentResponse {
@@ -460,10 +461,11 @@ message Blog {
460
461
 
461
462
  message Document {
462
463
  int32 id = 1;
463
- string title = 2;
464
- string body = 3;
465
- string created_at = 4;
466
- string updated_at = 5;
464
+ string code = 2;
465
+ string title = 3;
466
+ string body = 4;
467
+ string created_at = 5;
468
+ string updated_at = 6;
467
469
  }
468
470
 
469
471
  message Story {
package/proto/user.proto CHANGED
@@ -79,6 +79,8 @@ message UserResponse {
79
79
  repeated UserBalance balances = 15;
80
80
  UserKycStatus kyc_status = 16;
81
81
  UserKycInfo kyc = 17;
82
+ optional string card_first_name = 20;
83
+ optional string card_last_name = 21;
82
84
  }
83
85
 
84
86
  message UpdateUserRequest {
@@ -86,6 +88,8 @@ message UpdateUserRequest {
86
88
  optional string first_name = 2;
87
89
  optional string last_name = 3;
88
90
  optional string avatar = 4;
91
+ optional string card_first_name = 5;
92
+ optional string card_last_name = 6;
89
93
  }
90
94
 
91
95
  message UpdateUserStatusRequest {