@candesk/contracts 6.15.0 → 6.17.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/gen/account.d.ts +1 -0
- package/dist/gen/account.js +3 -2
- package/dist/gen/auth.d.ts +4 -0
- package/dist/gen/auth.js +3 -2
- package/dist/gen/google/protobuf/empty.d.ts +1 -0
- package/dist/gen/google/protobuf/empty.js +3 -2
- package/dist/gen/kyc.d.ts +1 -0
- package/dist/gen/kyc.js +3 -2
- package/dist/gen/media.d.ts +1 -0
- package/dist/gen/media.js +3 -2
- package/dist/gen/payment.d.ts +1 -0
- package/dist/gen/payment.js +3 -2
- package/dist/gen/treatment.d.ts +1 -0
- package/dist/gen/treatment.js +3 -2
- package/dist/gen/user.d.ts +1 -0
- package/dist/gen/user.js +3 -2
- package/dist/nest/account.d.ts +1 -0
- package/dist/nest/account.js +3 -2
- package/dist/nest/auth.d.ts +7 -0
- package/dist/nest/auth.js +6 -2
- package/dist/nest/google/protobuf/empty.d.ts +1 -0
- package/dist/nest/google/protobuf/empty.js +3 -2
- package/dist/nest/kyc.d.ts +1 -0
- package/dist/nest/kyc.js +3 -2
- package/dist/nest/media.d.ts +1 -0
- package/dist/nest/media.js +3 -2
- package/dist/nest/payment.d.ts +1 -0
- package/dist/nest/payment.js +3 -2
- package/dist/nest/treatment.d.ts +1 -0
- package/dist/nest/treatment.js +3 -2
- package/dist/nest/user.d.ts +1 -0
- package/dist/nest/user.js +3 -2
- package/package.json +1 -1
- package/proto/auth.proto +4 -0
package/dist/gen/account.d.ts
CHANGED
package/dist/gen/account.js
CHANGED
|
@@ -1,13 +1,14 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
3
3
|
// versions:
|
|
4
|
-
// protoc-gen-ts_proto v2.
|
|
4
|
+
// protoc-gen-ts_proto v2.18.0
|
|
5
5
|
// protoc v3.21.12
|
|
6
6
|
// source: account.proto
|
|
7
7
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
|
-
exports.Role = exports.protobufPackage = void 0;
|
|
8
|
+
exports.Role = exports.protobufFileName = exports.protobufPackage = void 0;
|
|
9
9
|
/* eslint-disable */
|
|
10
10
|
exports.protobufPackage = "account.v1";
|
|
11
|
+
exports.protobufFileName = "account.proto";
|
|
11
12
|
var Role;
|
|
12
13
|
(function (Role) {
|
|
13
14
|
Role[Role["PATIENT"] = 0] = "PATIENT";
|
package/dist/gen/auth.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import type { Empty } from "./google/protobuf/empty";
|
|
2
2
|
export declare const protobufPackage = "auth.v1";
|
|
3
|
+
export declare const protobufFileName = "auth.proto";
|
|
3
4
|
export interface SendOtpRequest {
|
|
4
5
|
email: string;
|
|
5
6
|
}
|
|
@@ -87,6 +88,9 @@ export interface AuthService {
|
|
|
87
88
|
verifyOtp(request: VerifyOtpRequest): Promise<VerifyOtpResponse>;
|
|
88
89
|
refresh(request: RefreshRequest): Promise<RefreshResponse>;
|
|
89
90
|
logout(request: LogoutRequest): Promise<LogoutResponse>;
|
|
91
|
+
sendStaffOtp(request: SendOtpRequest): Promise<SendOtpResponse>;
|
|
92
|
+
verifyStaffOtp(request: VerifyOtpRequest): Promise<VerifyOtpResponse>;
|
|
93
|
+
refreshStaff(request: RefreshRequest): Promise<RefreshResponse>;
|
|
90
94
|
telegramInit(request: Empty): Promise<TelegramInitResponse>;
|
|
91
95
|
telegramVerify(request: TelegramVerifyRequest): Promise<TelegramVerifyResponse>;
|
|
92
96
|
telegramComplete(request: TelegramCompleteRequest): Promise<TelegramCompleteResponse>;
|
package/dist/gen/auth.js
CHANGED
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
3
3
|
// versions:
|
|
4
|
-
// protoc-gen-ts_proto v2.
|
|
4
|
+
// protoc-gen-ts_proto v2.18.0
|
|
5
5
|
// protoc v3.21.12
|
|
6
6
|
// source: auth.proto
|
|
7
7
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
|
-
exports.protobufPackage = void 0;
|
|
8
|
+
exports.protobufFileName = exports.protobufPackage = void 0;
|
|
9
9
|
exports.protobufPackage = "auth.v1";
|
|
10
|
+
exports.protobufFileName = "auth.proto";
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
export declare const protobufPackage = "google.protobuf";
|
|
2
|
+
export declare const protobufFileName = "google/protobuf/empty.proto";
|
|
2
3
|
/**
|
|
3
4
|
* A generic empty message that you can re-use to avoid defining duplicated
|
|
4
5
|
* empty messages in your APIs. A typical example is to use it as the request
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
3
3
|
// versions:
|
|
4
|
-
// protoc-gen-ts_proto v2.
|
|
4
|
+
// protoc-gen-ts_proto v2.18.0
|
|
5
5
|
// protoc v3.21.12
|
|
6
6
|
// source: google/protobuf/empty.proto
|
|
7
7
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
|
-
exports.protobufPackage = void 0;
|
|
8
|
+
exports.protobufFileName = exports.protobufPackage = void 0;
|
|
9
9
|
/* eslint-disable */
|
|
10
10
|
exports.protobufPackage = "google.protobuf";
|
|
11
|
+
exports.protobufFileName = "google/protobuf/empty.proto";
|
package/dist/gen/kyc.d.ts
CHANGED
package/dist/gen/kyc.js
CHANGED
|
@@ -1,13 +1,14 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
3
3
|
// versions:
|
|
4
|
-
// protoc-gen-ts_proto v2.
|
|
4
|
+
// protoc-gen-ts_proto v2.18.0
|
|
5
5
|
// protoc v3.21.12
|
|
6
6
|
// source: kyc.proto
|
|
7
7
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
|
-
exports.VerificationStatus = exports.protobufPackage = void 0;
|
|
8
|
+
exports.VerificationStatus = exports.protobufFileName = exports.protobufPackage = void 0;
|
|
9
9
|
/* eslint-disable */
|
|
10
10
|
exports.protobufPackage = "kyc.v1";
|
|
11
|
+
exports.protobufFileName = "kyc.proto";
|
|
11
12
|
var VerificationStatus;
|
|
12
13
|
(function (VerificationStatus) {
|
|
13
14
|
VerificationStatus[VerificationStatus["VERIFICATION_STATUS_UNSPECIFIED"] = 0] = "VERIFICATION_STATUS_UNSPECIFIED";
|
package/dist/gen/media.d.ts
CHANGED
package/dist/gen/media.js
CHANGED
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
3
3
|
// versions:
|
|
4
|
-
// protoc-gen-ts_proto v2.
|
|
4
|
+
// protoc-gen-ts_proto v2.18.0
|
|
5
5
|
// protoc v3.21.12
|
|
6
6
|
// source: media.proto
|
|
7
7
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
|
-
exports.MediaKind = exports.protobufPackage = void 0;
|
|
8
|
+
exports.MediaKind = exports.protobufFileName = exports.protobufPackage = void 0;
|
|
9
9
|
exports.protobufPackage = "media.v1";
|
|
10
|
+
exports.protobufFileName = "media.proto";
|
|
10
11
|
var MediaKind;
|
|
11
12
|
(function (MediaKind) {
|
|
12
13
|
MediaKind[MediaKind["MEDIA_KIND_UNSPECIFIED"] = 0] = "MEDIA_KIND_UNSPECIFIED";
|
package/dist/gen/payment.d.ts
CHANGED
package/dist/gen/payment.js
CHANGED
|
@@ -1,13 +1,14 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
3
3
|
// versions:
|
|
4
|
-
// protoc-gen-ts_proto v2.
|
|
4
|
+
// protoc-gen-ts_proto v2.18.0
|
|
5
5
|
// protoc v3.21.12
|
|
6
6
|
// source: payment.proto
|
|
7
7
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
|
-
exports.PaymentProvider = exports.PaymentStatus = exports.protobufPackage = void 0;
|
|
8
|
+
exports.PaymentProvider = exports.PaymentStatus = exports.protobufFileName = exports.protobufPackage = void 0;
|
|
9
9
|
/* eslint-disable */
|
|
10
10
|
exports.protobufPackage = "payment.v1";
|
|
11
|
+
exports.protobufFileName = "payment.proto";
|
|
11
12
|
var PaymentStatus;
|
|
12
13
|
(function (PaymentStatus) {
|
|
13
14
|
PaymentStatus[PaymentStatus["PAYMENT_STATUS_UNSPECIFIED"] = 0] = "PAYMENT_STATUS_UNSPECIFIED";
|
package/dist/gen/treatment.d.ts
CHANGED
package/dist/gen/treatment.js
CHANGED
|
@@ -1,13 +1,14 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
3
3
|
// versions:
|
|
4
|
-
// protoc-gen-ts_proto v2.
|
|
4
|
+
// protoc-gen-ts_proto v2.18.0
|
|
5
5
|
// protoc v3.21.12
|
|
6
6
|
// source: treatment.proto
|
|
7
7
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
|
-
exports.TreatmentRequestStatus = exports.TreatmentType = exports.IntakeMethod = exports.SymptomDuration = exports.Symptom = exports.QuestionnaireStatus = exports.protobufPackage = void 0;
|
|
8
|
+
exports.TreatmentRequestStatus = exports.TreatmentType = exports.IntakeMethod = exports.SymptomDuration = exports.Symptom = exports.QuestionnaireStatus = exports.protobufFileName = exports.protobufPackage = void 0;
|
|
9
9
|
/* eslint-disable */
|
|
10
10
|
exports.protobufPackage = "treatment.v1";
|
|
11
|
+
exports.protobufFileName = "treatment.proto";
|
|
11
12
|
var QuestionnaireStatus;
|
|
12
13
|
(function (QuestionnaireStatus) {
|
|
13
14
|
QuestionnaireStatus[QuestionnaireStatus["QUESTIONNAIRE_STATUS_UNSPECIFIED"] = 0] = "QUESTIONNAIRE_STATUS_UNSPECIFIED";
|
package/dist/gen/user.d.ts
CHANGED
package/dist/gen/user.js
CHANGED
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
3
3
|
// versions:
|
|
4
|
-
// protoc-gen-ts_proto v2.
|
|
4
|
+
// protoc-gen-ts_proto v2.18.0
|
|
5
5
|
// protoc v3.21.12
|
|
6
6
|
// source: user.proto
|
|
7
7
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
|
-
exports.protobufPackage = void 0;
|
|
8
|
+
exports.protobufFileName = exports.protobufPackage = void 0;
|
|
9
9
|
/* eslint-disable */
|
|
10
10
|
exports.protobufPackage = "user.v1";
|
|
11
|
+
exports.protobufFileName = "user.proto";
|
package/dist/nest/account.d.ts
CHANGED
package/dist/nest/account.js
CHANGED
|
@@ -1,15 +1,16 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
3
3
|
// versions:
|
|
4
|
-
// protoc-gen-ts_proto v2.
|
|
4
|
+
// protoc-gen-ts_proto v2.18.0
|
|
5
5
|
// protoc v3.21.12
|
|
6
6
|
// source: account.proto
|
|
7
7
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
|
-
exports.ACCOUNT_SERVICE_NAME = exports.ACCOUNT_V1_PACKAGE_NAME = exports.Role = exports.protobufPackage = void 0;
|
|
8
|
+
exports.ACCOUNT_SERVICE_NAME = exports.ACCOUNT_V1_PACKAGE_NAME = exports.Role = exports.protobufFileName = exports.protobufPackage = void 0;
|
|
9
9
|
exports.AccountServiceControllerMethods = AccountServiceControllerMethods;
|
|
10
10
|
/* eslint-disable */
|
|
11
11
|
const microservices_1 = require("@nestjs/microservices");
|
|
12
12
|
exports.protobufPackage = "account.v1";
|
|
13
|
+
exports.protobufFileName = "account.proto";
|
|
13
14
|
var Role;
|
|
14
15
|
(function (Role) {
|
|
15
16
|
Role[Role["PATIENT"] = 0] = "PATIENT";
|
package/dist/nest/auth.d.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { Observable } from "rxjs";
|
|
2
2
|
import { Empty } from "./google/protobuf/empty";
|
|
3
3
|
export declare const protobufPackage = "auth.v1";
|
|
4
|
+
export declare const protobufFileName = "auth.proto";
|
|
4
5
|
export interface SendOtpRequest {
|
|
5
6
|
email: string;
|
|
6
7
|
}
|
|
@@ -89,6 +90,9 @@ export interface AuthServiceClient {
|
|
|
89
90
|
verifyOtp(request: VerifyOtpRequest): Observable<VerifyOtpResponse>;
|
|
90
91
|
refresh(request: RefreshRequest): Observable<RefreshResponse>;
|
|
91
92
|
logout(request: LogoutRequest): Observable<LogoutResponse>;
|
|
93
|
+
sendStaffOtp(request: SendOtpRequest): Observable<SendOtpResponse>;
|
|
94
|
+
verifyStaffOtp(request: VerifyOtpRequest): Observable<VerifyOtpResponse>;
|
|
95
|
+
refreshStaff(request: RefreshRequest): Observable<RefreshResponse>;
|
|
92
96
|
telegramInit(request: Empty): Observable<TelegramInitResponse>;
|
|
93
97
|
telegramVerify(request: TelegramVerifyRequest): Observable<TelegramVerifyResponse>;
|
|
94
98
|
telegramComplete(request: TelegramCompleteRequest): Observable<TelegramCompleteResponse>;
|
|
@@ -101,6 +105,9 @@ export interface AuthServiceController {
|
|
|
101
105
|
verifyOtp(request: VerifyOtpRequest): Promise<VerifyOtpResponse> | Observable<VerifyOtpResponse> | VerifyOtpResponse;
|
|
102
106
|
refresh(request: RefreshRequest): Promise<RefreshResponse> | Observable<RefreshResponse> | RefreshResponse;
|
|
103
107
|
logout(request: LogoutRequest): Promise<LogoutResponse> | Observable<LogoutResponse> | LogoutResponse;
|
|
108
|
+
sendStaffOtp(request: SendOtpRequest): Promise<SendOtpResponse> | Observable<SendOtpResponse> | SendOtpResponse;
|
|
109
|
+
verifyStaffOtp(request: VerifyOtpRequest): Promise<VerifyOtpResponse> | Observable<VerifyOtpResponse> | VerifyOtpResponse;
|
|
110
|
+
refreshStaff(request: RefreshRequest): Promise<RefreshResponse> | Observable<RefreshResponse> | RefreshResponse;
|
|
104
111
|
telegramInit(request: Empty): Promise<TelegramInitResponse> | Observable<TelegramInitResponse> | TelegramInitResponse;
|
|
105
112
|
telegramVerify(request: TelegramVerifyRequest): Promise<TelegramVerifyResponse> | Observable<TelegramVerifyResponse> | TelegramVerifyResponse;
|
|
106
113
|
telegramComplete(request: TelegramCompleteRequest): Promise<TelegramCompleteResponse> | Observable<TelegramCompleteResponse> | TelegramCompleteResponse;
|
package/dist/nest/auth.js
CHANGED
|
@@ -1,15 +1,16 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
3
3
|
// versions:
|
|
4
|
-
// protoc-gen-ts_proto v2.
|
|
4
|
+
// protoc-gen-ts_proto v2.18.0
|
|
5
5
|
// protoc v3.21.12
|
|
6
6
|
// source: auth.proto
|
|
7
7
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
|
-
exports.AUTH_SERVICE_NAME = exports.AUTH_V1_PACKAGE_NAME = exports.protobufPackage = void 0;
|
|
8
|
+
exports.AUTH_SERVICE_NAME = exports.AUTH_V1_PACKAGE_NAME = exports.protobufFileName = exports.protobufPackage = void 0;
|
|
9
9
|
exports.AuthServiceControllerMethods = AuthServiceControllerMethods;
|
|
10
10
|
/* eslint-disable */
|
|
11
11
|
const microservices_1 = require("@nestjs/microservices");
|
|
12
12
|
exports.protobufPackage = "auth.v1";
|
|
13
|
+
exports.protobufFileName = "auth.proto";
|
|
13
14
|
exports.AUTH_V1_PACKAGE_NAME = "auth.v1";
|
|
14
15
|
function AuthServiceControllerMethods() {
|
|
15
16
|
return function (constructor) {
|
|
@@ -18,6 +19,9 @@ function AuthServiceControllerMethods() {
|
|
|
18
19
|
"verifyOtp",
|
|
19
20
|
"refresh",
|
|
20
21
|
"logout",
|
|
22
|
+
"sendStaffOtp",
|
|
23
|
+
"verifyStaffOtp",
|
|
24
|
+
"refreshStaff",
|
|
21
25
|
"telegramInit",
|
|
22
26
|
"telegramVerify",
|
|
23
27
|
"telegramComplete",
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
export declare const protobufPackage = "google.protobuf";
|
|
2
|
+
export declare const protobufFileName = "google/protobuf/empty.proto";
|
|
2
3
|
/**
|
|
3
4
|
* A generic empty message that you can re-use to avoid defining duplicated
|
|
4
5
|
* empty messages in your APIs. A typical example is to use it as the request
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
3
3
|
// versions:
|
|
4
|
-
// protoc-gen-ts_proto v2.
|
|
4
|
+
// protoc-gen-ts_proto v2.18.0
|
|
5
5
|
// protoc v3.21.12
|
|
6
6
|
// source: google/protobuf/empty.proto
|
|
7
7
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
|
-
exports.GOOGLE_PROTOBUF_PACKAGE_NAME = exports.protobufPackage = void 0;
|
|
8
|
+
exports.GOOGLE_PROTOBUF_PACKAGE_NAME = exports.protobufFileName = exports.protobufPackage = void 0;
|
|
9
9
|
/* eslint-disable */
|
|
10
10
|
exports.protobufPackage = "google.protobuf";
|
|
11
|
+
exports.protobufFileName = "google/protobuf/empty.proto";
|
|
11
12
|
exports.GOOGLE_PROTOBUF_PACKAGE_NAME = "google.protobuf";
|
package/dist/nest/kyc.d.ts
CHANGED
package/dist/nest/kyc.js
CHANGED
|
@@ -1,15 +1,16 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
3
3
|
// versions:
|
|
4
|
-
// protoc-gen-ts_proto v2.
|
|
4
|
+
// protoc-gen-ts_proto v2.18.0
|
|
5
5
|
// protoc v3.21.12
|
|
6
6
|
// source: kyc.proto
|
|
7
7
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
|
-
exports.KYC_SERVICE_NAME = exports.KYC_V1_PACKAGE_NAME = exports.VerificationStatus = exports.protobufPackage = void 0;
|
|
8
|
+
exports.KYC_SERVICE_NAME = exports.KYC_V1_PACKAGE_NAME = exports.VerificationStatus = exports.protobufFileName = exports.protobufPackage = void 0;
|
|
9
9
|
exports.KycServiceControllerMethods = KycServiceControllerMethods;
|
|
10
10
|
/* eslint-disable */
|
|
11
11
|
const microservices_1 = require("@nestjs/microservices");
|
|
12
12
|
exports.protobufPackage = "kyc.v1";
|
|
13
|
+
exports.protobufFileName = "kyc.proto";
|
|
13
14
|
var VerificationStatus;
|
|
14
15
|
(function (VerificationStatus) {
|
|
15
16
|
VerificationStatus[VerificationStatus["VERIFICATION_STATUS_UNSPECIFIED"] = 0] = "VERIFICATION_STATUS_UNSPECIFIED";
|
package/dist/nest/media.d.ts
CHANGED
package/dist/nest/media.js
CHANGED
|
@@ -1,15 +1,16 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
3
3
|
// versions:
|
|
4
|
-
// protoc-gen-ts_proto v2.
|
|
4
|
+
// protoc-gen-ts_proto v2.18.0
|
|
5
5
|
// protoc v3.21.12
|
|
6
6
|
// source: media.proto
|
|
7
7
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
|
-
exports.MEDIA_SERVICE_NAME = exports.MEDIA_V1_PACKAGE_NAME = exports.MediaKind = exports.protobufPackage = void 0;
|
|
8
|
+
exports.MEDIA_SERVICE_NAME = exports.MEDIA_V1_PACKAGE_NAME = exports.MediaKind = exports.protobufFileName = exports.protobufPackage = void 0;
|
|
9
9
|
exports.MediaServiceControllerMethods = MediaServiceControllerMethods;
|
|
10
10
|
/* eslint-disable */
|
|
11
11
|
const microservices_1 = require("@nestjs/microservices");
|
|
12
12
|
exports.protobufPackage = "media.v1";
|
|
13
|
+
exports.protobufFileName = "media.proto";
|
|
13
14
|
var MediaKind;
|
|
14
15
|
(function (MediaKind) {
|
|
15
16
|
MediaKind[MediaKind["MEDIA_KIND_UNSPECIFIED"] = 0] = "MEDIA_KIND_UNSPECIFIED";
|
package/dist/nest/payment.d.ts
CHANGED
package/dist/nest/payment.js
CHANGED
|
@@ -1,15 +1,16 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
3
3
|
// versions:
|
|
4
|
-
// protoc-gen-ts_proto v2.
|
|
4
|
+
// protoc-gen-ts_proto v2.18.0
|
|
5
5
|
// protoc v3.21.12
|
|
6
6
|
// source: payment.proto
|
|
7
7
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
|
-
exports.PAYMENT_SERVICE_NAME = exports.PAYMENT_V1_PACKAGE_NAME = exports.PaymentProvider = exports.PaymentStatus = exports.protobufPackage = void 0;
|
|
8
|
+
exports.PAYMENT_SERVICE_NAME = exports.PAYMENT_V1_PACKAGE_NAME = exports.PaymentProvider = exports.PaymentStatus = exports.protobufFileName = exports.protobufPackage = void 0;
|
|
9
9
|
exports.PaymentServiceControllerMethods = PaymentServiceControllerMethods;
|
|
10
10
|
/* eslint-disable */
|
|
11
11
|
const microservices_1 = require("@nestjs/microservices");
|
|
12
12
|
exports.protobufPackage = "payment.v1";
|
|
13
|
+
exports.protobufFileName = "payment.proto";
|
|
13
14
|
var PaymentStatus;
|
|
14
15
|
(function (PaymentStatus) {
|
|
15
16
|
PaymentStatus[PaymentStatus["PAYMENT_STATUS_UNSPECIFIED"] = 0] = "PAYMENT_STATUS_UNSPECIFIED";
|
package/dist/nest/treatment.d.ts
CHANGED
package/dist/nest/treatment.js
CHANGED
|
@@ -1,15 +1,16 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
3
3
|
// versions:
|
|
4
|
-
// protoc-gen-ts_proto v2.
|
|
4
|
+
// protoc-gen-ts_proto v2.18.0
|
|
5
5
|
// protoc v3.21.12
|
|
6
6
|
// source: treatment.proto
|
|
7
7
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
|
-
exports.TREATMENT_SERVICE_NAME = exports.TREATMENT_V1_PACKAGE_NAME = exports.TreatmentRequestStatus = exports.TreatmentType = exports.IntakeMethod = exports.SymptomDuration = exports.Symptom = exports.QuestionnaireStatus = exports.protobufPackage = void 0;
|
|
8
|
+
exports.TREATMENT_SERVICE_NAME = exports.TREATMENT_V1_PACKAGE_NAME = exports.TreatmentRequestStatus = exports.TreatmentType = exports.IntakeMethod = exports.SymptomDuration = exports.Symptom = exports.QuestionnaireStatus = exports.protobufFileName = exports.protobufPackage = void 0;
|
|
9
9
|
exports.TreatmentServiceControllerMethods = TreatmentServiceControllerMethods;
|
|
10
10
|
/* eslint-disable */
|
|
11
11
|
const microservices_1 = require("@nestjs/microservices");
|
|
12
12
|
exports.protobufPackage = "treatment.v1";
|
|
13
|
+
exports.protobufFileName = "treatment.proto";
|
|
13
14
|
var QuestionnaireStatus;
|
|
14
15
|
(function (QuestionnaireStatus) {
|
|
15
16
|
QuestionnaireStatus[QuestionnaireStatus["QUESTIONNAIRE_STATUS_UNSPECIFIED"] = 0] = "QUESTIONNAIRE_STATUS_UNSPECIFIED";
|
package/dist/nest/user.d.ts
CHANGED
package/dist/nest/user.js
CHANGED
|
@@ -1,15 +1,16 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
3
3
|
// versions:
|
|
4
|
-
// protoc-gen-ts_proto v2.
|
|
4
|
+
// protoc-gen-ts_proto v2.18.0
|
|
5
5
|
// protoc v3.21.12
|
|
6
6
|
// source: user.proto
|
|
7
7
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
|
-
exports.USER_SERVICE_NAME = exports.USER_V1_PACKAGE_NAME = exports.protobufPackage = void 0;
|
|
8
|
+
exports.USER_SERVICE_NAME = exports.USER_V1_PACKAGE_NAME = exports.protobufFileName = exports.protobufPackage = void 0;
|
|
9
9
|
exports.UserServiceControllerMethods = UserServiceControllerMethods;
|
|
10
10
|
/* eslint-disable */
|
|
11
11
|
const microservices_1 = require("@nestjs/microservices");
|
|
12
12
|
exports.protobufPackage = "user.v1";
|
|
13
|
+
exports.protobufFileName = "user.proto";
|
|
13
14
|
exports.USER_V1_PACKAGE_NAME = "user.v1";
|
|
14
15
|
function UserServiceControllerMethods() {
|
|
15
16
|
return function (constructor) {
|
package/package.json
CHANGED
package/proto/auth.proto
CHANGED
|
@@ -10,6 +10,10 @@ service AuthService {
|
|
|
10
10
|
rpc Refresh (RefreshRequest) returns (RefreshResponse);
|
|
11
11
|
rpc Logout (LogoutRequest) returns (LogoutResponse);
|
|
12
12
|
|
|
13
|
+
rpc SendStaffOtp (SendOtpRequest) returns (SendOtpResponse);
|
|
14
|
+
rpc VerifyStaffOtp (VerifyOtpRequest) returns (VerifyOtpResponse);
|
|
15
|
+
rpc RefreshStaff (RefreshRequest) returns (RefreshResponse);
|
|
16
|
+
|
|
13
17
|
rpc TelegramInit (google.protobuf.Empty) returns (TelegramInitResponse);
|
|
14
18
|
rpc TelegramVerify (TelegramVerifyRequest) returns (TelegramVerifyResponse);
|
|
15
19
|
rpc TelegramComplete (TelegramCompleteRequest) returns (TelegramCompleteResponse);
|