@arbiwallet/contracts 1.0.132 → 1.0.133

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
@@ -124,6 +124,28 @@ export interface DeleteFaqItemRequest {
124
124
  export interface DeleteFaqItemResponse {
125
125
  }
126
126
 
127
+ /** --- MIPIF AUTO REPLY --- */
128
+ export interface ListMipifAutoReplyUsersRequest {
129
+ }
130
+
131
+ export interface MipifAutoReplyUser {
132
+ id: number;
133
+ telegramId: string;
134
+ chatId: string;
135
+ username?: string | undefined;
136
+ firstName?: string | undefined;
137
+ lastName?: string | undefined;
138
+ matchedText?: string | undefined;
139
+ firstMatchedAt: string;
140
+ replySentAt: string;
141
+ createdAt: string;
142
+ updatedAt: string;
143
+ }
144
+
145
+ export interface ListMipifAutoReplyUsersResponse {
146
+ users: MipifAutoReplyUser[];
147
+ }
148
+
127
149
  /** --- ABOUT --- */
128
150
  export interface GetAboutRequest {
129
151
  }
@@ -892,3 +914,33 @@ export function StoryServiceControllerMethods() {
892
914
  }
893
915
 
894
916
  export const STORY_SERVICE_NAME = "StoryService";
917
+
918
+ export interface MipifAutoReplyServiceClient {
919
+ listMipifAutoReplyUsers(request: ListMipifAutoReplyUsersRequest): Observable<ListMipifAutoReplyUsersResponse>;
920
+ }
921
+
922
+ export interface MipifAutoReplyServiceController {
923
+ listMipifAutoReplyUsers(
924
+ request: ListMipifAutoReplyUsersRequest,
925
+ ):
926
+ | Promise<ListMipifAutoReplyUsersResponse>
927
+ | Observable<ListMipifAutoReplyUsersResponse>
928
+ | ListMipifAutoReplyUsersResponse;
929
+ }
930
+
931
+ export function MipifAutoReplyServiceControllerMethods() {
932
+ return function (constructor: Function) {
933
+ const grpcMethods: string[] = ["listMipifAutoReplyUsers"];
934
+ for (const method of grpcMethods) {
935
+ const descriptor: any = Reflect.getOwnPropertyDescriptor(constructor.prototype, method);
936
+ GrpcMethod("MipifAutoReplyService", method)(constructor.prototype[method], method, descriptor);
937
+ }
938
+ const grpcStreamMethods: string[] = [];
939
+ for (const method of grpcStreamMethods) {
940
+ const descriptor: any = Reflect.getOwnPropertyDescriptor(constructor.prototype, method);
941
+ GrpcStreamMethod("MipifAutoReplyService", method)(constructor.prototype[method], method, descriptor);
942
+ }
943
+ };
944
+ }
945
+
946
+ export const MIPIF_AUTO_REPLY_SERVICE_NAME = "MipifAutoReplyService";
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.132",
4
+ "version": "1.0.133",
5
5
  "scripts": {
6
6
  "generate": "protoc -I ./proto ./proto/*.proto --ts_proto_out=./gen --ts_proto_opt=nestJs=true,package=omit"
7
7
  },
@@ -73,6 +73,10 @@ service StoryService {
73
73
  rpc ReorderStories (ReorderStoriesRequest) returns (ReorderStoriesResponse);
74
74
  }
75
75
 
76
+ service MipifAutoReplyService {
77
+ rpc ListMipifAutoReplyUsers (ListMipifAutoReplyUsersRequest) returns (ListMipifAutoReplyUsersResponse);
78
+ }
79
+
76
80
  // --- PUBLIC CONTENT MESSAGES ---
77
81
  message GetPublicBannersRequest {}
78
82
 
@@ -181,6 +185,27 @@ message DeleteFaqItemRequest {
181
185
 
182
186
  message DeleteFaqItemResponse {}
183
187
 
188
+ // --- MIPIF AUTO REPLY ---
189
+ message ListMipifAutoReplyUsersRequest {}
190
+
191
+ message MipifAutoReplyUser {
192
+ int32 id = 1;
193
+ string telegram_id = 2;
194
+ string chat_id = 3;
195
+ optional string username = 4;
196
+ optional string first_name = 5;
197
+ optional string last_name = 6;
198
+ optional string matched_text = 7;
199
+ string first_matched_at = 8;
200
+ string reply_sent_at = 9;
201
+ string created_at = 10;
202
+ string updated_at = 11;
203
+ }
204
+
205
+ message ListMipifAutoReplyUsersResponse {
206
+ repeated MipifAutoReplyUser users = 1;
207
+ }
208
+
184
209
  // --- ABOUT ---
185
210
  message GetAboutRequest {}
186
211