@pushwoosh/rpc-v2-http-api-data 0.1.717 → 0.1.719

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/accounts.d.ts CHANGED
@@ -13,6 +13,7 @@ export interface AccountsService {
13
13
  GetBillingInfo(request: GetBillingInfoRequest): Promise<GetBillingInfoResponse>;
14
14
  UpdateBillingInfo(request: UpdateBillingInfoRequest): Promise<UpdateBillingInfoResponse>;
15
15
  ListChild(request: ListChildRequest): Promise<ListChildResponse>;
16
+ GetAuthHistory(request: GetAuthHistoryRequest): Promise<GetAuthHistoryResponse>;
16
17
  }
17
18
  export type GetEmailStatisticCountRequest = {
18
19
  dateFrom?: Date;
@@ -174,6 +175,28 @@ export type ListChildResponse = {
174
175
  perPage: number;
175
176
  total: number;
176
177
  };
178
+ export type GetAuthHistoryRequest_OrderBy = 'DATE';
179
+ export type GetAuthHistoryRequest_OrderDirection = 'DESC' | 'ASC';
180
+ export type GetAuthHistoryRequest = {
181
+ orderBy?: GetAuthHistoryRequest_OrderBy;
182
+ orderDirection?: GetAuthHistoryRequest_OrderDirection;
183
+ page?: number;
184
+ perPage?: number;
185
+ searchByEmail?: string;
186
+ };
187
+ export type GetAuthHistoryResponse_AuthRecord_AuthStatus = 'SUCCESS' | 'FAILED';
188
+ export type GetAuthHistoryResponse_AuthRecord = {
189
+ email: string;
190
+ status: GetAuthHistoryResponse_AuthRecord_AuthStatus;
191
+ ip: string;
192
+ date: Date;
193
+ };
194
+ export type GetAuthHistoryResponse = {
195
+ records: GetAuthHistoryResponse_AuthRecord[];
196
+ page: number;
197
+ perPage: number;
198
+ total: number;
199
+ };
177
200
  export interface EmailTemplatesService {
178
201
  Create(request: CreateEmailTemplateRequest): Promise<CreateEmailTemplateResponse>;
179
202
  Get(request: GetEmailTemplateRequest): Promise<GetEmailTemplateResponse>;
@@ -77,6 +77,10 @@ export type LineConfiguration = {
77
77
  lineChannelId: string;
78
78
  lineChannelSecret: string;
79
79
  };
80
+ export type KakaoConfiguration = {
81
+ kakaoUserCode: string;
82
+ kakaoSecretKey: string;
83
+ };
80
84
  export type WebConfiguration = {
81
85
  webVapidPublicKey: string;
82
86
  webVapidPrivateKey: string;
@@ -142,7 +146,11 @@ export type ConfigurationRequest_kind_webConfiguration = {
142
146
  type: 'webConfiguration';
143
147
  data: WebConfiguration;
144
148
  };
145
- export type ConfigurationRequest_kind = ConfigurationRequest_kind_androidConfiguration | ConfigurationRequest_kind_chromeConfiguration | ConfigurationRequest_kind_emailConfiguration | ConfigurationRequest_kind_huaweiConfiguration | ConfigurationRequest_kind_safariConfiguration | ConfigurationRequest_kind_windowsConfiguration | ConfigurationRequest_kind_amazonConfiguration | ConfigurationRequest_kind_osxConfiguration | ConfigurationRequest_kind_osxTokenConfiguration | ConfigurationRequest_kind_iosConfiguration | ConfigurationRequest_kind_iosTokenConfiguration | ConfigurationRequest_kind_firefoxConfiguration | ConfigurationRequest_kind_baiduConfiguration | ConfigurationRequest_kind_lineConfiguration | ConfigurationRequest_kind_webConfiguration;
149
+ export type ConfigurationRequest_kind_kakaoConfiguration = {
150
+ type: 'kakaoConfiguration';
151
+ data: KakaoConfiguration;
152
+ };
153
+ export type ConfigurationRequest_kind = ConfigurationRequest_kind_androidConfiguration | ConfigurationRequest_kind_chromeConfiguration | ConfigurationRequest_kind_emailConfiguration | ConfigurationRequest_kind_huaweiConfiguration | ConfigurationRequest_kind_safariConfiguration | ConfigurationRequest_kind_windowsConfiguration | ConfigurationRequest_kind_amazonConfiguration | ConfigurationRequest_kind_osxConfiguration | ConfigurationRequest_kind_osxTokenConfiguration | ConfigurationRequest_kind_iosConfiguration | ConfigurationRequest_kind_iosTokenConfiguration | ConfigurationRequest_kind_firefoxConfiguration | ConfigurationRequest_kind_baiduConfiguration | ConfigurationRequest_kind_lineConfiguration | ConfigurationRequest_kind_webConfiguration | ConfigurationRequest_kind_kakaoConfiguration;
146
154
  export type ConfigurationRequest = {
147
155
  code?: string;
148
156
  kind: ConfigurationRequest_kind;
package/data.js CHANGED
@@ -585,6 +585,12 @@ export const data = {
585
585
  "response": "pushwoosh.rpc_v2.accounts.ListChildResponse",
586
586
  "method": "get",
587
587
  "path": "/api/accounts:child"
588
+ },
589
+ "GetAuthHistory": {
590
+ "request": "pushwoosh.rpc_v2.accounts.GetAuthHistoryRequest",
591
+ "response": "pushwoosh.rpc_v2.accounts.GetAuthHistoryResponse",
592
+ "method": "get",
593
+ "path": "/api/accounts/auth_history"
588
594
  }
589
595
  }
590
596
  },
@@ -1062,6 +1068,81 @@ export const data = {
1062
1068
  }
1063
1069
  }
1064
1070
  },
1071
+ "pushwoosh.rpc_v2.accounts.GetAuthHistoryRequest.OrderBy": {
1072
+ "type": "E",
1073
+ "values": [
1074
+ "DATE"
1075
+ ]
1076
+ },
1077
+ "pushwoosh.rpc_v2.accounts.GetAuthHistoryRequest.OrderDirection": {
1078
+ "type": "E",
1079
+ "values": [
1080
+ "DESC",
1081
+ "ASC"
1082
+ ]
1083
+ },
1084
+ "pushwoosh.rpc_v2.accounts.GetAuthHistoryRequest": {
1085
+ "type": "I",
1086
+ "fields": {
1087
+ "orderBy": {
1088
+ "type": "pushwoosh.rpc_v2.accounts.GetAuthHistoryRequest.OrderBy"
1089
+ },
1090
+ "orderDirection": {
1091
+ "type": "pushwoosh.rpc_v2.accounts.GetAuthHistoryRequest.OrderDirection"
1092
+ },
1093
+ "page": {
1094
+ "type": "number"
1095
+ },
1096
+ "perPage": {
1097
+ "type": "number"
1098
+ },
1099
+ "searchByEmail": {
1100
+ "type": "string"
1101
+ }
1102
+ }
1103
+ },
1104
+ "pushwoosh.rpc_v2.accounts.GetAuthHistoryResponse.AuthRecord.AuthStatus": {
1105
+ "type": "E",
1106
+ "values": [
1107
+ "SUCCESS",
1108
+ "FAILED"
1109
+ ]
1110
+ },
1111
+ "pushwoosh.rpc_v2.accounts.GetAuthHistoryResponse.AuthRecord": {
1112
+ "type": "I",
1113
+ "fields": {
1114
+ "email": {
1115
+ "type": "string"
1116
+ },
1117
+ "status": {
1118
+ "type": "pushwoosh.rpc_v2.accounts.GetAuthHistoryResponse.AuthRecord.AuthStatus"
1119
+ },
1120
+ "ip": {
1121
+ "type": "string"
1122
+ },
1123
+ "date": {
1124
+ "type": "Date"
1125
+ }
1126
+ }
1127
+ },
1128
+ "pushwoosh.rpc_v2.accounts.GetAuthHistoryResponse": {
1129
+ "type": "I",
1130
+ "fields": {
1131
+ "records": {
1132
+ "type": "pushwoosh.rpc_v2.accounts.GetAuthHistoryResponse.AuthRecord",
1133
+ "array": true
1134
+ },
1135
+ "page": {
1136
+ "type": "number"
1137
+ },
1138
+ "perPage": {
1139
+ "type": "number"
1140
+ },
1141
+ "total": {
1142
+ "type": "number"
1143
+ }
1144
+ }
1145
+ },
1065
1146
  "pushwoosh.rpc_v2.accounts_get_auth_info.GetAuthInfoService": {
1066
1147
  "type": "S",
1067
1148
  "key": "getAuthInfo",
@@ -2526,6 +2607,17 @@ export const data = {
2526
2607
  }
2527
2608
  }
2528
2609
  },
2610
+ "pushwoosh.rpc_v2.applications_configurations.KakaoConfiguration": {
2611
+ "type": "I",
2612
+ "fields": {
2613
+ "kakaoUserCode": {
2614
+ "type": "string"
2615
+ },
2616
+ "kakaoSecretKey": {
2617
+ "type": "string"
2618
+ }
2619
+ }
2620
+ },
2529
2621
  "pushwoosh.rpc_v2.applications_configurations.WebConfiguration": {
2530
2622
  "type": "I",
2531
2623
  "fields": {
@@ -2590,6 +2682,9 @@ export const data = {
2590
2682
  },
2591
2683
  "webConfiguration": {
2592
2684
  "type": "pushwoosh.rpc_v2.applications_configurations.WebConfiguration"
2685
+ },
2686
+ "kakaoConfiguration": {
2687
+ "type": "pushwoosh.rpc_v2.applications_configurations.KakaoConfiguration"
2593
2688
  }
2594
2689
  },
2595
2690
  "oneofs": {
@@ -2609,7 +2704,8 @@ export const data = {
2609
2704
  "firefoxConfiguration",
2610
2705
  "baiduConfiguration",
2611
2706
  "lineConfiguration",
2612
- "webConfiguration"
2707
+ "webConfiguration",
2708
+ "kakaoConfiguration"
2613
2709
  ]
2614
2710
  }
2615
2711
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pushwoosh/rpc-v2-http-api-data",
3
- "version": "0.1.717",
3
+ "version": "0.1.719",
4
4
  "description": "RPC V2 HTTP API Types and Data",
5
5
  "main": "index.js",
6
6
  "module": "index.js",