theragist-ts 1.0.8 → 1.0.10
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/auth/message.d.ts +0 -1
- package/dist/auth/service.d.ts +0 -1
- package/dist/auth/service.js +0 -1
- package/dist/calendar/message.d.ts +73 -0
- package/dist/calendar/message.js +750 -0
- package/dist/calendar/service.d.ts +33 -0
- package/dist/calendar/service.js +102 -0
- package/dist/call/message.d.ts +179 -0
- package/dist/call/message.js +2206 -0
- package/dist/call/service.d.ts +129 -0
- package/dist/call/service.js +477 -0
- package/dist/chat/message.d.ts +3 -3
- package/dist/chat/message.js +27 -21
- package/dist/community/message.d.ts +8 -0
- package/dist/community/message.js +106 -1
- package/dist/community/service.d.ts +13 -1
- package/dist/community/service.js +83 -0
- package/dist/group/message.d.ts +1 -1
- package/dist/group/message.js +7 -7
- package/dist/index.d.ts +10 -6
- package/dist/index.js +265 -197
- package/dist/lookup/message.d.ts +60 -2
- package/dist/lookup/message.js +770 -10
- package/dist/lookup/service.d.ts +55 -3
- package/dist/lookup/service.js +218 -10
- package/dist/notification/message.d.ts +1 -1
- package/dist/notification/message.js +9 -7
- package/dist/post/message.d.ts +69 -4
- package/dist/post/message.js +958 -31
- package/dist/post/service.d.ts +61 -1
- package/dist/post/service.js +233 -0
- package/dist/session/message.d.ts +95 -0
- package/dist/{booking → session}/message.js +320 -554
- package/dist/session/service.d.ts +107 -0
- package/dist/session/service.js +403 -0
- package/dist/therapist/message.d.ts +1 -1
- package/dist/therapist/message.js +8 -8
- package/dist/user/message.d.ts +66 -0
- package/dist/user/message.js +918 -1
- package/dist/user/service.d.ts +38 -1
- package/dist/user/service.js +139 -0
- package/package.json +1 -1
- package/dist/booking/message.d.ts +0 -109
- package/dist/booking/service.d.ts +0 -69
- package/dist/booking/service.js +0 -230
package/dist/auth/message.d.ts
CHANGED
|
@@ -112,7 +112,6 @@ export interface UpdateOnboardingResponse {
|
|
|
112
112
|
completedSteps: string[];
|
|
113
113
|
message: string;
|
|
114
114
|
}
|
|
115
|
-
/** Therapist onboarding messages */
|
|
116
115
|
export interface GetTherapistOnboardingRequest {
|
|
117
116
|
}
|
|
118
117
|
export interface GetTherapistOnboardingResponse {
|
package/dist/auth/service.d.ts
CHANGED
|
@@ -162,7 +162,6 @@ export declare const AuthServiceDefinition: {
|
|
|
162
162
|
};
|
|
163
163
|
};
|
|
164
164
|
};
|
|
165
|
-
/** Therapist onboarding endpoints */
|
|
166
165
|
readonly getTherapistOnboarding: {
|
|
167
166
|
readonly name: "GetTherapistOnboarding";
|
|
168
167
|
readonly requestType: import("./message").MessageFns<GetTherapistOnboardingRequest>;
|
package/dist/auth/service.js
CHANGED
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
import { BinaryReader, BinaryWriter } from "@bufbuild/protobuf/wire";
|
|
2
|
+
export declare const protobufPackage = "pb";
|
|
3
|
+
export interface GetCalendarEventsRequest {
|
|
4
|
+
from: string;
|
|
5
|
+
to: string;
|
|
6
|
+
role: string;
|
|
7
|
+
/** day, week, month, year - auto-calculates from/to based on current date */
|
|
8
|
+
filter: string;
|
|
9
|
+
}
|
|
10
|
+
export interface GetCalendarEventsResponse {
|
|
11
|
+
events: CalendarEvent[];
|
|
12
|
+
stats: CalendarStats | undefined;
|
|
13
|
+
}
|
|
14
|
+
export interface CalendarStats {
|
|
15
|
+
totalSessions: number;
|
|
16
|
+
completedSessions: number;
|
|
17
|
+
upcomingSessions: number;
|
|
18
|
+
cancelledSessions: number;
|
|
19
|
+
hoursScheduled: number;
|
|
20
|
+
hoursCompleted: number;
|
|
21
|
+
}
|
|
22
|
+
export interface CreateCalendarEventRequest {
|
|
23
|
+
title: string;
|
|
24
|
+
description: string;
|
|
25
|
+
startAt: string;
|
|
26
|
+
endAt: string;
|
|
27
|
+
/** session, reminder, custom */
|
|
28
|
+
eventType: string;
|
|
29
|
+
location: string;
|
|
30
|
+
reminderMinutes: number;
|
|
31
|
+
}
|
|
32
|
+
export interface CreateCalendarEventResponse {
|
|
33
|
+
event: CalendarEvent | undefined;
|
|
34
|
+
}
|
|
35
|
+
export interface CalendarEvent {
|
|
36
|
+
eventId: string;
|
|
37
|
+
eventType: string;
|
|
38
|
+
sessionId: string;
|
|
39
|
+
startAt: string;
|
|
40
|
+
endAt: string;
|
|
41
|
+
status: string;
|
|
42
|
+
title: string;
|
|
43
|
+
liveSessionId: string;
|
|
44
|
+
liveSessionStatus: string;
|
|
45
|
+
description: string;
|
|
46
|
+
googleEventId: string;
|
|
47
|
+
location: string;
|
|
48
|
+
}
|
|
49
|
+
export declare const GetCalendarEventsRequest: MessageFns<GetCalendarEventsRequest>;
|
|
50
|
+
export declare const GetCalendarEventsResponse: MessageFns<GetCalendarEventsResponse>;
|
|
51
|
+
export declare const CalendarStats: MessageFns<CalendarStats>;
|
|
52
|
+
export declare const CreateCalendarEventRequest: MessageFns<CreateCalendarEventRequest>;
|
|
53
|
+
export declare const CreateCalendarEventResponse: MessageFns<CreateCalendarEventResponse>;
|
|
54
|
+
export declare const CalendarEvent: MessageFns<CalendarEvent>;
|
|
55
|
+
type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
|
|
56
|
+
export type DeepPartial<T> = T extends Builtin ? T : T extends globalThis.Array<infer U> ? globalThis.Array<DeepPartial<U>> : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>> : T extends {} ? {
|
|
57
|
+
[K in keyof T]?: DeepPartial<T[K]>;
|
|
58
|
+
} : Partial<T>;
|
|
59
|
+
type KeysOfUnion<T> = T extends T ? keyof T : never;
|
|
60
|
+
export type Exact<P, I extends P> = P extends Builtin ? P : P & {
|
|
61
|
+
[K in keyof P]: Exact<P[K], I[K]>;
|
|
62
|
+
} & {
|
|
63
|
+
[K in Exclude<keyof I, KeysOfUnion<P>>]: never;
|
|
64
|
+
};
|
|
65
|
+
export interface MessageFns<T> {
|
|
66
|
+
encode(message: T, writer?: BinaryWriter): BinaryWriter;
|
|
67
|
+
decode(input: BinaryReader | Uint8Array, length?: number): T;
|
|
68
|
+
fromJSON(object: any): T;
|
|
69
|
+
toJSON(message: T): unknown;
|
|
70
|
+
create<I extends Exact<DeepPartial<T>, I>>(base?: I): T;
|
|
71
|
+
fromPartial<I extends Exact<DeepPartial<T>, I>>(object: I): T;
|
|
72
|
+
}
|
|
73
|
+
export {};
|