@nest-cinema/contracts 1.0.12 → 1.1.0
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/dist/events/auth/index.d.ts +1 -0
- package/dist/events/auth/index.js +17 -0
- package/dist/events/auth/otp-requested.interface.d.ts +5 -0
- package/dist/events/auth/otp-requested.interface.js +2 -0
- package/dist/events/index.d.ts +1 -0
- package/dist/events/index.js +17 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +1 -0
- package/gen/auth.ts +6 -7
- package/package.json +1 -1
- package/proto/auth.proto +1 -7
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './otp-requested.interface';
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./otp-requested.interface"), exports);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './auth';
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./auth"), exports);
|
package/dist/index.d.ts
CHANGED
package/dist/index.js
CHANGED
package/gen/auth.ts
CHANGED
|
@@ -45,13 +45,12 @@ export interface TelegramInitResponse {
|
|
|
45
45
|
}
|
|
46
46
|
|
|
47
47
|
export interface TelegramVerifyRequest {
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
hash: string;
|
|
48
|
+
query: { [key: string]: string };
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
export interface TelegramVerifyRequest_QueryEntry {
|
|
52
|
+
key: string;
|
|
53
|
+
value: string;
|
|
55
54
|
}
|
|
56
55
|
|
|
57
56
|
export interface TelegramVerifyResponse {
|
package/package.json
CHANGED
package/proto/auth.proto
CHANGED
|
@@ -49,13 +49,7 @@ message TelegramInitResponse {
|
|
|
49
49
|
}
|
|
50
50
|
|
|
51
51
|
message TelegramVerifyRequest {
|
|
52
|
-
|
|
53
|
-
string first_name = 2;
|
|
54
|
-
optional string last_name = 3;
|
|
55
|
-
optional string username = 4;
|
|
56
|
-
optional string photo_url = 5;
|
|
57
|
-
int64 auth_date = 6;
|
|
58
|
-
string hash = 7;
|
|
52
|
+
map<string, string> query = 1;
|
|
59
53
|
}
|
|
60
54
|
message TelegramVerifyResponse {
|
|
61
55
|
oneof result {
|