theragist-ts 1.0.22 → 1.0.23
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/home/message.d.ts +21 -0
- package/dist/home/message.js +306 -1
- package/dist/home/service.d.ts +13 -1
- package/dist/home/service.js +12 -0
- package/dist/index.d.ts +6 -6
- package/dist/index.js +45 -16
- package/dist/post/message.d.ts +30 -0
- package/dist/post/message.js +407 -1
- package/dist/post/service.d.ts +37 -1
- package/dist/post/service.js +169 -0
- package/dist/session/message.d.ts +9 -0
- package/dist/session/message.js +151 -1
- package/dist/settings/message.d.ts +17 -0
- package/dist/settings/message.js +214 -1
- package/dist/settings/service.d.ts +13 -1
- package/dist/settings/service.js +37 -0
- package/dist/soundscape/message.d.ts +9 -0
- package/dist/soundscape/message.js +90 -5
- package/dist/therapist/message.d.ts +4 -2
- package/dist/therapist/message.js +45 -15
- package/dist/user/message.d.ts +46 -5
- package/dist/user/message.js +691 -116
- package/dist/user/service.d.ts +37 -1
- package/dist/user/service.js +139 -0
- package/dist/wallet/message.d.ts +146 -4
- package/dist/wallet/message.js +2350 -109
- package/package.json +1 -1
package/dist/home/message.d.ts
CHANGED
|
@@ -196,6 +196,24 @@ export interface GetMyTherapistResponse {
|
|
|
196
196
|
stats: PaginationStats | undefined;
|
|
197
197
|
therapists: TherapistItem[];
|
|
198
198
|
}
|
|
199
|
+
export interface ListUsersRequest {
|
|
200
|
+
search: string;
|
|
201
|
+
page: number;
|
|
202
|
+
pageSize: number;
|
|
203
|
+
}
|
|
204
|
+
export interface UserItem {
|
|
205
|
+
id: string;
|
|
206
|
+
username: string;
|
|
207
|
+
fullName: string;
|
|
208
|
+
avatarUrl: string;
|
|
209
|
+
avatarEmoji: string;
|
|
210
|
+
role: string;
|
|
211
|
+
accountType: string;
|
|
212
|
+
createdAt: string;
|
|
213
|
+
}
|
|
214
|
+
export interface ListUsersResponse {
|
|
215
|
+
users: UserItem[];
|
|
216
|
+
}
|
|
199
217
|
export declare const UpcomingSessionItem: MessageFns<UpcomingSessionItem>;
|
|
200
218
|
export declare const WalletSummary: MessageFns<WalletSummary>;
|
|
201
219
|
export declare const RecentMood: MessageFns<RecentMood>;
|
|
@@ -219,6 +237,9 @@ export declare const GetMyClientsRequest: MessageFns<GetMyClientsRequest>;
|
|
|
219
237
|
export declare const GetMyClientsResponse: MessageFns<GetMyClientsResponse>;
|
|
220
238
|
export declare const GetMyTherapistRequest: MessageFns<GetMyTherapistRequest>;
|
|
221
239
|
export declare const GetMyTherapistResponse: MessageFns<GetMyTherapistResponse>;
|
|
240
|
+
export declare const ListUsersRequest: MessageFns<ListUsersRequest>;
|
|
241
|
+
export declare const UserItem: MessageFns<UserItem>;
|
|
242
|
+
export declare const ListUsersResponse: MessageFns<ListUsersResponse>;
|
|
222
243
|
type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
|
|
223
244
|
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 {} ? {
|
|
224
245
|
[K in keyof T]?: DeepPartial<T[K]>;
|
package/dist/home/message.js
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
// protoc v5.28.3
|
|
6
6
|
// source: home/message.proto
|
|
7
7
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
|
-
exports.GetMyTherapistResponse = exports.GetMyTherapistRequest = exports.GetMyClientsResponse = exports.GetMyClientsRequest = exports.PaginationStats = exports.TherapistItem = exports.ClientItem = exports.SessionSummary = exports.GetHomeStatsResponse = exports.GetHomeStatsRequest = exports.GetHomeResponse = exports.GetHomeRequest = exports.ClientHomeSummary = exports.TherapistPerformanceStats = exports.TherapistHomeSummary = exports.TherapistPerformance = exports.RecentActivity = exports.CommunityPost = exports.TopRatedTherapist = exports.CurrentSeason = exports.RecentMood = exports.WalletSummary = exports.UpcomingSessionItem = exports.protobufPackage = void 0;
|
|
8
|
+
exports.ListUsersResponse = exports.UserItem = exports.ListUsersRequest = exports.GetMyTherapistResponse = exports.GetMyTherapistRequest = exports.GetMyClientsResponse = exports.GetMyClientsRequest = exports.PaginationStats = exports.TherapistItem = exports.ClientItem = exports.SessionSummary = exports.GetHomeStatsResponse = exports.GetHomeStatsRequest = exports.GetHomeResponse = exports.GetHomeRequest = exports.ClientHomeSummary = exports.TherapistPerformanceStats = exports.TherapistHomeSummary = exports.TherapistPerformance = exports.RecentActivity = exports.CommunityPost = exports.TopRatedTherapist = exports.CurrentSeason = exports.RecentMood = exports.WalletSummary = exports.UpcomingSessionItem = exports.protobufPackage = void 0;
|
|
9
9
|
/* eslint-disable */
|
|
10
10
|
const wire_1 = require("@bufbuild/protobuf/wire");
|
|
11
11
|
const common_1 = require("../common");
|
|
@@ -3066,6 +3066,311 @@ exports.GetMyTherapistResponse = {
|
|
|
3066
3066
|
return message;
|
|
3067
3067
|
},
|
|
3068
3068
|
};
|
|
3069
|
+
function createBaseListUsersRequest() {
|
|
3070
|
+
return { search: "", page: 0, pageSize: 0 };
|
|
3071
|
+
}
|
|
3072
|
+
exports.ListUsersRequest = {
|
|
3073
|
+
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
3074
|
+
if (message.search !== "") {
|
|
3075
|
+
writer.uint32(10).string(message.search);
|
|
3076
|
+
}
|
|
3077
|
+
if (message.page !== 0) {
|
|
3078
|
+
writer.uint32(16).int32(message.page);
|
|
3079
|
+
}
|
|
3080
|
+
if (message.pageSize !== 0) {
|
|
3081
|
+
writer.uint32(24).int32(message.pageSize);
|
|
3082
|
+
}
|
|
3083
|
+
return writer;
|
|
3084
|
+
},
|
|
3085
|
+
decode(input, length) {
|
|
3086
|
+
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
3087
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
3088
|
+
const message = createBaseListUsersRequest();
|
|
3089
|
+
while (reader.pos < end) {
|
|
3090
|
+
const tag = reader.uint32();
|
|
3091
|
+
switch (tag >>> 3) {
|
|
3092
|
+
case 1: {
|
|
3093
|
+
if (tag !== 10) {
|
|
3094
|
+
break;
|
|
3095
|
+
}
|
|
3096
|
+
message.search = reader.string();
|
|
3097
|
+
continue;
|
|
3098
|
+
}
|
|
3099
|
+
case 2: {
|
|
3100
|
+
if (tag !== 16) {
|
|
3101
|
+
break;
|
|
3102
|
+
}
|
|
3103
|
+
message.page = reader.int32();
|
|
3104
|
+
continue;
|
|
3105
|
+
}
|
|
3106
|
+
case 3: {
|
|
3107
|
+
if (tag !== 24) {
|
|
3108
|
+
break;
|
|
3109
|
+
}
|
|
3110
|
+
message.pageSize = reader.int32();
|
|
3111
|
+
continue;
|
|
3112
|
+
}
|
|
3113
|
+
}
|
|
3114
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
3115
|
+
break;
|
|
3116
|
+
}
|
|
3117
|
+
reader.skip(tag & 7);
|
|
3118
|
+
}
|
|
3119
|
+
return message;
|
|
3120
|
+
},
|
|
3121
|
+
fromJSON(object) {
|
|
3122
|
+
return {
|
|
3123
|
+
search: isSet(object.search) ? globalThis.String(object.search) : "",
|
|
3124
|
+
page: isSet(object.page) ? globalThis.Number(object.page) : 0,
|
|
3125
|
+
pageSize: isSet(object.pageSize) ? globalThis.Number(object.pageSize) : 0,
|
|
3126
|
+
};
|
|
3127
|
+
},
|
|
3128
|
+
toJSON(message) {
|
|
3129
|
+
const obj = {};
|
|
3130
|
+
if (message.search !== "") {
|
|
3131
|
+
obj.search = message.search;
|
|
3132
|
+
}
|
|
3133
|
+
if (message.page !== 0) {
|
|
3134
|
+
obj.page = Math.round(message.page);
|
|
3135
|
+
}
|
|
3136
|
+
if (message.pageSize !== 0) {
|
|
3137
|
+
obj.pageSize = Math.round(message.pageSize);
|
|
3138
|
+
}
|
|
3139
|
+
return obj;
|
|
3140
|
+
},
|
|
3141
|
+
create(base) {
|
|
3142
|
+
return exports.ListUsersRequest.fromPartial(base !== null && base !== void 0 ? base : {});
|
|
3143
|
+
},
|
|
3144
|
+
fromPartial(object) {
|
|
3145
|
+
var _a, _b, _c;
|
|
3146
|
+
const message = createBaseListUsersRequest();
|
|
3147
|
+
message.search = (_a = object.search) !== null && _a !== void 0 ? _a : "";
|
|
3148
|
+
message.page = (_b = object.page) !== null && _b !== void 0 ? _b : 0;
|
|
3149
|
+
message.pageSize = (_c = object.pageSize) !== null && _c !== void 0 ? _c : 0;
|
|
3150
|
+
return message;
|
|
3151
|
+
},
|
|
3152
|
+
};
|
|
3153
|
+
function createBaseUserItem() {
|
|
3154
|
+
return {
|
|
3155
|
+
id: "",
|
|
3156
|
+
username: "",
|
|
3157
|
+
fullName: "",
|
|
3158
|
+
avatarUrl: "",
|
|
3159
|
+
avatarEmoji: "",
|
|
3160
|
+
role: "",
|
|
3161
|
+
accountType: "",
|
|
3162
|
+
createdAt: "",
|
|
3163
|
+
};
|
|
3164
|
+
}
|
|
3165
|
+
exports.UserItem = {
|
|
3166
|
+
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
3167
|
+
if (message.id !== "") {
|
|
3168
|
+
writer.uint32(10).string(message.id);
|
|
3169
|
+
}
|
|
3170
|
+
if (message.username !== "") {
|
|
3171
|
+
writer.uint32(18).string(message.username);
|
|
3172
|
+
}
|
|
3173
|
+
if (message.fullName !== "") {
|
|
3174
|
+
writer.uint32(26).string(message.fullName);
|
|
3175
|
+
}
|
|
3176
|
+
if (message.avatarUrl !== "") {
|
|
3177
|
+
writer.uint32(34).string(message.avatarUrl);
|
|
3178
|
+
}
|
|
3179
|
+
if (message.avatarEmoji !== "") {
|
|
3180
|
+
writer.uint32(42).string(message.avatarEmoji);
|
|
3181
|
+
}
|
|
3182
|
+
if (message.role !== "") {
|
|
3183
|
+
writer.uint32(50).string(message.role);
|
|
3184
|
+
}
|
|
3185
|
+
if (message.accountType !== "") {
|
|
3186
|
+
writer.uint32(58).string(message.accountType);
|
|
3187
|
+
}
|
|
3188
|
+
if (message.createdAt !== "") {
|
|
3189
|
+
writer.uint32(66).string(message.createdAt);
|
|
3190
|
+
}
|
|
3191
|
+
return writer;
|
|
3192
|
+
},
|
|
3193
|
+
decode(input, length) {
|
|
3194
|
+
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
3195
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
3196
|
+
const message = createBaseUserItem();
|
|
3197
|
+
while (reader.pos < end) {
|
|
3198
|
+
const tag = reader.uint32();
|
|
3199
|
+
switch (tag >>> 3) {
|
|
3200
|
+
case 1: {
|
|
3201
|
+
if (tag !== 10) {
|
|
3202
|
+
break;
|
|
3203
|
+
}
|
|
3204
|
+
message.id = reader.string();
|
|
3205
|
+
continue;
|
|
3206
|
+
}
|
|
3207
|
+
case 2: {
|
|
3208
|
+
if (tag !== 18) {
|
|
3209
|
+
break;
|
|
3210
|
+
}
|
|
3211
|
+
message.username = reader.string();
|
|
3212
|
+
continue;
|
|
3213
|
+
}
|
|
3214
|
+
case 3: {
|
|
3215
|
+
if (tag !== 26) {
|
|
3216
|
+
break;
|
|
3217
|
+
}
|
|
3218
|
+
message.fullName = reader.string();
|
|
3219
|
+
continue;
|
|
3220
|
+
}
|
|
3221
|
+
case 4: {
|
|
3222
|
+
if (tag !== 34) {
|
|
3223
|
+
break;
|
|
3224
|
+
}
|
|
3225
|
+
message.avatarUrl = reader.string();
|
|
3226
|
+
continue;
|
|
3227
|
+
}
|
|
3228
|
+
case 5: {
|
|
3229
|
+
if (tag !== 42) {
|
|
3230
|
+
break;
|
|
3231
|
+
}
|
|
3232
|
+
message.avatarEmoji = reader.string();
|
|
3233
|
+
continue;
|
|
3234
|
+
}
|
|
3235
|
+
case 6: {
|
|
3236
|
+
if (tag !== 50) {
|
|
3237
|
+
break;
|
|
3238
|
+
}
|
|
3239
|
+
message.role = reader.string();
|
|
3240
|
+
continue;
|
|
3241
|
+
}
|
|
3242
|
+
case 7: {
|
|
3243
|
+
if (tag !== 58) {
|
|
3244
|
+
break;
|
|
3245
|
+
}
|
|
3246
|
+
message.accountType = reader.string();
|
|
3247
|
+
continue;
|
|
3248
|
+
}
|
|
3249
|
+
case 8: {
|
|
3250
|
+
if (tag !== 66) {
|
|
3251
|
+
break;
|
|
3252
|
+
}
|
|
3253
|
+
message.createdAt = reader.string();
|
|
3254
|
+
continue;
|
|
3255
|
+
}
|
|
3256
|
+
}
|
|
3257
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
3258
|
+
break;
|
|
3259
|
+
}
|
|
3260
|
+
reader.skip(tag & 7);
|
|
3261
|
+
}
|
|
3262
|
+
return message;
|
|
3263
|
+
},
|
|
3264
|
+
fromJSON(object) {
|
|
3265
|
+
return {
|
|
3266
|
+
id: isSet(object.id) ? globalThis.String(object.id) : "",
|
|
3267
|
+
username: isSet(object.username) ? globalThis.String(object.username) : "",
|
|
3268
|
+
fullName: isSet(object.fullName) ? globalThis.String(object.fullName) : "",
|
|
3269
|
+
avatarUrl: isSet(object.avatarUrl) ? globalThis.String(object.avatarUrl) : "",
|
|
3270
|
+
avatarEmoji: isSet(object.avatarEmoji) ? globalThis.String(object.avatarEmoji) : "",
|
|
3271
|
+
role: isSet(object.role) ? globalThis.String(object.role) : "",
|
|
3272
|
+
accountType: isSet(object.accountType) ? globalThis.String(object.accountType) : "",
|
|
3273
|
+
createdAt: isSet(object.createdAt) ? globalThis.String(object.createdAt) : "",
|
|
3274
|
+
};
|
|
3275
|
+
},
|
|
3276
|
+
toJSON(message) {
|
|
3277
|
+
const obj = {};
|
|
3278
|
+
if (message.id !== "") {
|
|
3279
|
+
obj.id = message.id;
|
|
3280
|
+
}
|
|
3281
|
+
if (message.username !== "") {
|
|
3282
|
+
obj.username = message.username;
|
|
3283
|
+
}
|
|
3284
|
+
if (message.fullName !== "") {
|
|
3285
|
+
obj.fullName = message.fullName;
|
|
3286
|
+
}
|
|
3287
|
+
if (message.avatarUrl !== "") {
|
|
3288
|
+
obj.avatarUrl = message.avatarUrl;
|
|
3289
|
+
}
|
|
3290
|
+
if (message.avatarEmoji !== "") {
|
|
3291
|
+
obj.avatarEmoji = message.avatarEmoji;
|
|
3292
|
+
}
|
|
3293
|
+
if (message.role !== "") {
|
|
3294
|
+
obj.role = message.role;
|
|
3295
|
+
}
|
|
3296
|
+
if (message.accountType !== "") {
|
|
3297
|
+
obj.accountType = message.accountType;
|
|
3298
|
+
}
|
|
3299
|
+
if (message.createdAt !== "") {
|
|
3300
|
+
obj.createdAt = message.createdAt;
|
|
3301
|
+
}
|
|
3302
|
+
return obj;
|
|
3303
|
+
},
|
|
3304
|
+
create(base) {
|
|
3305
|
+
return exports.UserItem.fromPartial(base !== null && base !== void 0 ? base : {});
|
|
3306
|
+
},
|
|
3307
|
+
fromPartial(object) {
|
|
3308
|
+
var _a, _b, _c, _d, _e, _f, _g, _h;
|
|
3309
|
+
const message = createBaseUserItem();
|
|
3310
|
+
message.id = (_a = object.id) !== null && _a !== void 0 ? _a : "";
|
|
3311
|
+
message.username = (_b = object.username) !== null && _b !== void 0 ? _b : "";
|
|
3312
|
+
message.fullName = (_c = object.fullName) !== null && _c !== void 0 ? _c : "";
|
|
3313
|
+
message.avatarUrl = (_d = object.avatarUrl) !== null && _d !== void 0 ? _d : "";
|
|
3314
|
+
message.avatarEmoji = (_e = object.avatarEmoji) !== null && _e !== void 0 ? _e : "";
|
|
3315
|
+
message.role = (_f = object.role) !== null && _f !== void 0 ? _f : "";
|
|
3316
|
+
message.accountType = (_g = object.accountType) !== null && _g !== void 0 ? _g : "";
|
|
3317
|
+
message.createdAt = (_h = object.createdAt) !== null && _h !== void 0 ? _h : "";
|
|
3318
|
+
return message;
|
|
3319
|
+
},
|
|
3320
|
+
};
|
|
3321
|
+
function createBaseListUsersResponse() {
|
|
3322
|
+
return { users: [] };
|
|
3323
|
+
}
|
|
3324
|
+
exports.ListUsersResponse = {
|
|
3325
|
+
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
3326
|
+
for (const v of message.users) {
|
|
3327
|
+
exports.UserItem.encode(v, writer.uint32(10).fork()).join();
|
|
3328
|
+
}
|
|
3329
|
+
return writer;
|
|
3330
|
+
},
|
|
3331
|
+
decode(input, length) {
|
|
3332
|
+
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
3333
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
3334
|
+
const message = createBaseListUsersResponse();
|
|
3335
|
+
while (reader.pos < end) {
|
|
3336
|
+
const tag = reader.uint32();
|
|
3337
|
+
switch (tag >>> 3) {
|
|
3338
|
+
case 1: {
|
|
3339
|
+
if (tag !== 10) {
|
|
3340
|
+
break;
|
|
3341
|
+
}
|
|
3342
|
+
message.users.push(exports.UserItem.decode(reader, reader.uint32()));
|
|
3343
|
+
continue;
|
|
3344
|
+
}
|
|
3345
|
+
}
|
|
3346
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
3347
|
+
break;
|
|
3348
|
+
}
|
|
3349
|
+
reader.skip(tag & 7);
|
|
3350
|
+
}
|
|
3351
|
+
return message;
|
|
3352
|
+
},
|
|
3353
|
+
fromJSON(object) {
|
|
3354
|
+
return { users: globalThis.Array.isArray(object === null || object === void 0 ? void 0 : object.users) ? object.users.map((e) => exports.UserItem.fromJSON(e)) : [] };
|
|
3355
|
+
},
|
|
3356
|
+
toJSON(message) {
|
|
3357
|
+
var _a;
|
|
3358
|
+
const obj = {};
|
|
3359
|
+
if ((_a = message.users) === null || _a === void 0 ? void 0 : _a.length) {
|
|
3360
|
+
obj.users = message.users.map((e) => exports.UserItem.toJSON(e));
|
|
3361
|
+
}
|
|
3362
|
+
return obj;
|
|
3363
|
+
},
|
|
3364
|
+
create(base) {
|
|
3365
|
+
return exports.ListUsersResponse.fromPartial(base !== null && base !== void 0 ? base : {});
|
|
3366
|
+
},
|
|
3367
|
+
fromPartial(object) {
|
|
3368
|
+
var _a;
|
|
3369
|
+
const message = createBaseListUsersResponse();
|
|
3370
|
+
message.users = ((_a = object.users) === null || _a === void 0 ? void 0 : _a.map((e) => exports.UserItem.fromPartial(e))) || [];
|
|
3371
|
+
return message;
|
|
3372
|
+
},
|
|
3373
|
+
};
|
|
3069
3374
|
function longToNumber(int64) {
|
|
3070
3375
|
const num = globalThis.Number(int64.toString());
|
|
3071
3376
|
if (num > globalThis.Number.MAX_SAFE_INTEGER) {
|
package/dist/home/service.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { GetHomeRequest, GetHomeResponse, GetHomeStatsRequest, GetHomeStatsResponse, GetMyClientsRequest, GetMyClientsResponse, GetMyTherapistRequest, GetMyTherapistResponse } from "./message";
|
|
1
|
+
import { GetHomeRequest, GetHomeResponse, GetHomeStatsRequest, GetHomeStatsResponse, GetMyClientsRequest, GetMyClientsResponse, GetMyTherapistRequest, GetMyTherapistResponse, ListUsersRequest, ListUsersResponse } from "./message";
|
|
2
2
|
export declare const protobufPackage = "home";
|
|
3
3
|
export type HomeServiceDefinition = typeof HomeServiceDefinition;
|
|
4
4
|
export declare const HomeServiceDefinition: {
|
|
@@ -69,5 +69,17 @@ export declare const HomeServiceDefinition: {
|
|
|
69
69
|
};
|
|
70
70
|
};
|
|
71
71
|
};
|
|
72
|
+
readonly listUsers: {
|
|
73
|
+
readonly name: "ListUsers";
|
|
74
|
+
readonly requestType: import("./message").MessageFns<ListUsersRequest>;
|
|
75
|
+
readonly requestStream: false;
|
|
76
|
+
readonly responseType: import("./message").MessageFns<ListUsersResponse>;
|
|
77
|
+
readonly responseStream: false;
|
|
78
|
+
readonly options: {
|
|
79
|
+
readonly _unknownFields: {
|
|
80
|
+
readonly 578365826: readonly [Uint8Array<ArrayBuffer>];
|
|
81
|
+
};
|
|
82
|
+
};
|
|
83
|
+
};
|
|
72
84
|
};
|
|
73
85
|
};
|
package/dist/home/service.js
CHANGED
|
@@ -161,5 +161,17 @@ exports.HomeServiceDefinition = {
|
|
|
161
161
|
},
|
|
162
162
|
},
|
|
163
163
|
},
|
|
164
|
+
listUsers: {
|
|
165
|
+
name: "ListUsers",
|
|
166
|
+
requestType: message_1.ListUsersRequest,
|
|
167
|
+
requestStream: false,
|
|
168
|
+
responseType: message_1.ListUsersResponse,
|
|
169
|
+
responseStream: false,
|
|
170
|
+
options: {
|
|
171
|
+
_unknownFields: {
|
|
172
|
+
578365826: [new Uint8Array([15, 18, 13, 47, 97, 112, 105, 47, 118, 49, 47, 117, 115, 101, 114, 115])],
|
|
173
|
+
},
|
|
174
|
+
},
|
|
175
|
+
},
|
|
164
176
|
},
|
|
165
177
|
};
|
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export { AccountSettings, AvailabilitySlot, AvailabilitySlotInput, BadgeInfo, BadgeProgressInfo, BadgeRef, BadgeStats, ChangePasswordRequest, CommunityAlias, CommunityPostStats, CreateJournalRequest, CreateJournalResponse, CreateMoodEntryRequest, CreateMoodEntryResponse, CurrentSeasonInfo, DeleteJournalRequest, DeleteJournalResponse, DeleteMoodEntryRequest, DeleteMoodEntryResponse, EducationEntry, GetBadgeProgressRequest, GetBadgeProgressResponse, GetJournalRequest, GetJournalResponse, GetLatestMoodEntryRequest, GetLatestMoodEntryResponse, GetMoodEntriesByDateRangeRequest, GetMoodEntriesByDateRangeResponse, GetMoodEntryRequest, GetMoodEntryResponse, GetMoodStatsRequest, GetMoodStatsResponse, GetReferAndEarnRequest, GetReferAndEarnResponse, GetUserBadgesRequest, GetUserBadgesResponse, Journal, ListJournalsRequest, ListJournalsResponse, ListMoodEntriesRequest, ListMoodEntriesResponse, ListMyBadgesRequest, ListMyBadgesResponse, ListSessionsResponse, Location, MoodEntry, MoodStat, OnboardingData, PrivacySettings, ReferralEntry, RegisterDeviceTokenRequest, RegisterDeviceTokenResponse, RevokeSessionRequest, ScheduledSessions, SearchJournalsRequest, SearchJournalsResponse, Session, SessionInfo, SessionLocation, SessionPrice, SessionSettings, SessionSettingsInput, TcEarned, TherapistProfile, TherapistStats, UnregisterDeviceTokenRequest, UnregisterDeviceTokenResponse, UpcomingSession, UpdateAvatarRequest, UpdateAvatarResponse, UpdateJournalRequest, UpdateJournalResponse, UpdateSessionSettingsRequest, UpdateSessionSettingsResponse, UpdateUserRequest, User, UserAchievement, UserBadgeItem, UserPreferences, WalletInfo } from './user/message';
|
|
2
|
-
export { AchievementItem, AddPaymentMethodRequest, AddPaymentMethodResponse, ApplyReferralCodeRequest, ApplyReferralCodeResponse, CreateRefundRequest, CreateRefundResponse, CreateTopUpRequest, CreateTopUpResponse, DeletePaymentMethodRequest, DeletePaymentMethodResponse, EarnHistoryItem, EarnMetrics, EarnWay, GetCheckoutSummaryRequest, GetCheckoutSummaryResponse, GetEarnPreviewRequest, GetEarnPreviewResponse, GetPaymentStatusRequest, GetPaymentStatusResponse, GetRefundStatusRequest, GetRefundStatusResponse, GetTopUpStatusRequest, GetTopUpStatusResponse, GetTransactionRequest, GetTransactionResponse, GetWalletRequest, GetWalletResponse, ListAchievementsRequest, ListAchievementsResponse, ListBundlesRequest, ListBundlesResponse, ListEarnHistoryRequest, ListEarnHistoryResponse, ListEarnWaysRequest, ListEarnWaysResponse, ListPaymentMethodsRequest, ListPaymentMethodsResponse, ListReferralsRequest, ListReferralsResponse, ListTransactionsRequest, ListTransactionsResponse, PayForBookingRequest, PayForBookingResponse, PaymentMethodItem, PaymentSummary, Price, ReferralItem, SendReferralRequest, SendReferralResponse, ServiceInfo, SetDefaultPaymentMethodRequest, SetDefaultPaymentMethodResponse, TcBundle, TransactionItem, TransferRequest, TransferResponse, WalletStats } from './wallet/message';
|
|
1
|
+
export { AccountSettings, AvailabilitySlot, AvailabilitySlotInput, BadgeInfo, BadgeProgressInfo, BadgeRef, BadgeStats, BlockUserRequest, BlockUserResponse, BlockedUserItem, ChangePasswordRequest, CommunityAlias, CommunityPostStats, CreateJournalRequest, CreateJournalResponse, CreateMoodEntryRequest, CreateMoodEntryResponse, CurrentSeasonInfo, DeleteJournalRequest, DeleteJournalResponse, DeleteMoodEntryRequest, DeleteMoodEntryResponse, EducationEntry, GetBadgeProgressRequest, GetBadgeProgressResponse, GetJournalRequest, GetJournalResponse, GetLatestMoodEntryRequest, GetLatestMoodEntryResponse, GetMoodEntriesByDateRangeRequest, GetMoodEntriesByDateRangeResponse, GetMoodEntryRequest, GetMoodEntryResponse, GetMoodStatsRequest, GetMoodStatsResponse, GetReferAndEarnRequest, GetReferAndEarnResponse, GetUserBadgesRequest, GetUserBadgesResponse, Journal, ListBlockedUsersRequest, ListBlockedUsersResponse, ListJournalsRequest, ListJournalsResponse, ListMoodEntriesRequest, ListMoodEntriesResponse, ListMyBadgesRequest, ListMyBadgesResponse, ListSessionsResponse, Location, MoodEntry, MoodStat, OnboardingData, PrivacySettings, ReferralEntry, RegisterDeviceTokenRequest, RegisterDeviceTokenResponse, RevokeSessionRequest, ScheduledSessions, SearchJournalsRequest, SearchJournalsResponse, Session, SessionInfo, SessionLocation, SessionPrice, SessionSettings, SessionSettingsInput, TcEarned, TherapistProfile, TherapistStats, UnblockUserRequest, UnblockUserResponse, UnregisterDeviceTokenRequest, UnregisterDeviceTokenResponse, UpcomingSession, UpdateAvatarRequest, UpdateAvatarResponse, UpdateJournalRequest, UpdateJournalResponse, UpdateSessionSettingsRequest, UpdateSessionSettingsResponse, UpdateUserRequest, User, UserAchievement, UserBadgeItem, UserPreferences, WalletInfo } from './user/message';
|
|
2
|
+
export { AchievementItem, AddPaymentMethodRequest, AddPaymentMethodResponse, ApplyReferralCodeRequest, ApplyReferralCodeResponse, CreateRefundRequest, CreateRefundResponse, CreateTopUpRequest, CreateTopUpResponse, DeletePaymentMethodRequest, DeletePaymentMethodResponse, EarnHistoryItem, EarnMetrics, EarnRef, EarnWay, GetCheckoutSummaryRequest, GetCheckoutSummaryResponse, GetEarnPreviewRequest, GetEarnPreviewResponse, GetPaymentStatusRequest, GetPaymentStatusResponse, GetRefundStatusRequest, GetRefundStatusResponse, GetTopUpStatusRequest, GetTopUpStatusResponse, GetTransactionRequest, GetTransactionResponse, GetWalletRequest, GetWalletResponse, ListAchievementsRequest, ListAchievementsResponse, ListBundlesRequest, ListBundlesResponse, ListEarnHistoryRequest, ListEarnHistoryResponse, ListEarnWaysRequest, ListEarnWaysResponse, ListPaymentMethodsRequest, ListPaymentMethodsResponse, ListReferralsRequest, ListReferralsResponse, ListTransactionsRequest, ListTransactionsResponse, PayForBookingRequest, PayForBookingResponse, PaymentMethodItem, PaymentMethodMeta, PaymentSummary, Price, ReferralItem, SendReferralRequest, SendReferralResponse, ServiceInfo, SessionPaymentRef, SetDefaultPaymentMethodRequest, SetDefaultPaymentMethodResponse, SoundscapeRef, SoundscapeSubscriptionRef, TcBundle, TopUpRef, TransactionItem, TransactionReference, TransferRef, TransferRequest, TransferResponse, UserReferralRef, WalletStats } from './wallet/message';
|
|
3
3
|
export { AddClinicalNoteRequest, AddClinicalNoteResponse, ClientDetailStats, ClinicalNoteContent, ClinicalNoteItem, GetClientClinicalNotesRequest, GetClientClinicalNotesResponse, GetClientDetailRequest, GetClientDetailResponse, GetSessionHistoryRequest, GetSessionHistoryResponse, RecentSessionItem, SessionHistoryItem, SessionHistoryStats, TreatmentPlanGoal, TreatmentPlanItem } from './clients/message';
|
|
4
4
|
export { AddCommunityMembersRequest, AddCommunityMembersResponse, Community, CreateCommunityRequest, CreateCommunityResponse, GetCommunitiesRequest, GetCommunitiesResponse, GetCommunityRequest, GetCommunityResponse, GetUserCommunitiesRequest, GetUserCommunitiesResponse, Invitation, JoinCommunityRequest, JoinCommunityResponse, LeaveCommunityRequest, LeaveCommunityResponse, ListInvitationsRequest, ListInvitationsResponse, RespondInvitationRequest, RespondInvitationResponse } from './community/message';
|
|
5
5
|
export { AddEmergencyContactRequest, AddEmergencyContactResponse, BreathingPhase, ContactMethods, ContactSupportRequest, ContactSupportResponse, CrisisChatHotline, CrisisResource, EmergencyContact, EmergencyFlowOption, EmergencyFlowStep1, EmergencyFlowStep2, GetBreathingExerciseRequest, GetBreathingExerciseResponse, GetEmergencyFlowRequest, GetEmergencyFlowResponse, GetSafetySuggestionRequest, GetSafetySuggestionResponse, GroundingExercise, HelpTopic, ListCrisisResourcesRequest, ListCrisisResourcesResponse, ListEmergencyContactsRequest, ListEmergencyContactsResponse, ListHelpTopicsRequest, ListHelpTopicsResponse, ReachOutRequest, ReachOutResponse, RemoveEmergencyContactRequest, RemoveEmergencyContactResponse, RequestCrisisChatRequest, RequestCrisisChatResponse } from './crisis/message';
|
|
@@ -11,24 +11,24 @@ export { AuthServiceDefinition } from './auth/service';
|
|
|
11
11
|
export { AuthUser, DeviceInfo, ForgotPasswordRequest, GetKycStatusRequest, GetKycStatusResponse, GetOnboardingRequest, GetOnboardingResponse, GetTherapistOnboardingRequest, GetTherapistOnboardingResponse, KycDocument, LoginRequest, LoginResponse, LogoutRequest, RefreshTokenRequest, RefreshTokenResponse, ResendEmailVerificationRequest, ResendEmailVerificationResponse, ResetPasswordRequest, SignUpRequest, SignUpResponse, SocialLinkRequest, SocialLinkResponse, SocialLoginRequest, SocialLoginResponse, SocialUnlinkRequest, SocialUnlinkResponse, SubmitKycRequest, SubmitKycResponse, UpdateOnboardingRequest, UpdateOnboardingResponse, UpdateTherapistOnboardingRequest, UpdateTherapistOnboardingResponse, UploadKycDocumentRequest, UploadKycDocumentResponse, VerifyEmailRequest, VerifyEmailResponse } from './auth/message';
|
|
12
12
|
export { BadgeCategory, BadgeItem, CreateGroupCategoryRequest, CreateGroupCategoryResponse, GetCurrentSeasonRequest, GetGroupCategoriesRequest, GetGroupCategoriesResponse, GetGroupCategoryRequest, GetGroupCategoryResponse, GroupCategory, ListBadgeCategoriesRequest, ListBadgeCategoriesResponse, ListBadgesRequest, ListBadgesResponse, ListMoodTypesRequest, ListMoodTypesResponse, ListSeasonsRequest, ListSeasonsResponse, MoodType, SeasonInfo, UpdateGroupCategoryRequest, UpdateGroupCategoryResponse } from './lookup/message';
|
|
13
13
|
export { BaseListRequest, DeleteResponse, Empty, Error, GetIDRequest, HealthCheckRequest, HealthCheckResponse, HealthServiceDefinition, Metadata, SuccessResponse } from './common';
|
|
14
|
-
export { BookmarkPostRequest, BookmarkPostResponse, Comment, CreateCommentRequest, CreateCommentResponse, CreatePostRequest, CreatePostResponse, DeleteCommentRequest, DeleteCommentResponse, DeletePostRequest, DeletePostResponse, GetMyPostsRequest, GetMyPostsResponse, GetNodStatsRequest, GetNodStatsResponse, GetPostRequest, GetPostResponse, GetUserBookmarksRequest, GetUserBookmarksResponse, LikeCommentRequest, LikeCommentResponse, LikePostRequest, LikePostResponse, ListCommentRepliesRequest, ListCommentRepliesResponse, ListCommentsRequest, ListCommentsResponse, ListPostsRequest, ListPostsResponse, NodCategoryStat, NodCommentRequest, NodCommentResponse, NodPostRequest, NodPostResponse, PinPostRequest, PinPostResponse, Post, PostAuthor, SharePostRequest, SharePostResponse, UnbookmarkPostRequest, UnbookmarkPostResponse, UnlikeCommentRequest, UnlikeCommentResponse, UnlikePostRequest, UnlikePostResponse, UnnodCommentRequest, UnnodCommentResponse, UnnodPostRequest, UnnodPostResponse, UpdateCommentRequest, UpdateCommentResponse, UpdatePostRequest, UpdatePostResponse } from './post/message';
|
|
14
|
+
export { BookmarkPostRequest, BookmarkPostResponse, Comment, CreateCommentRequest, CreateCommentResponse, CreatePostRequest, CreatePostResponse, DeleteCommentRequest, DeleteCommentResponse, DeletePostRequest, DeletePostResponse, GetMyPostsRequest, GetMyPostsResponse, GetNodStatsRequest, GetNodStatsResponse, GetPostRequest, GetPostResponse, GetUserBookmarksRequest, GetUserBookmarksResponse, HidePostRequest, HidePostResponse, LikeCommentRequest, LikeCommentResponse, LikePostRequest, LikePostResponse, ListCommentRepliesRequest, ListCommentRepliesResponse, ListCommentsRequest, ListCommentsResponse, ListPostsRequest, ListPostsResponse, NodCategoryStat, NodCommentRequest, NodCommentResponse, NodPostRequest, NodPostResponse, PinPostRequest, PinPostResponse, Post, PostAuthor, ReportContentRequest, ReportContentResponse, SharePostRequest, SharePostResponse, UnbookmarkPostRequest, UnbookmarkPostResponse, UnhidePostRequest, UnhidePostResponse, UnlikeCommentRequest, UnlikeCommentResponse, UnlikePostRequest, UnlikePostResponse, UnnodCommentRequest, UnnodCommentResponse, UnnodPostRequest, UnnodPostResponse, UpdateCommentRequest, UpdateCommentResponse, UpdatePostRequest, UpdatePostResponse } from './post/message';
|
|
15
15
|
export { BoolValue, BytesValue, DoubleValue, FloatValue, Int32Value, Int64Value, StringValue, UInt32Value, UInt64Value } from './google/protobuf/wrappers';
|
|
16
16
|
export { CalendarEvent, CalendarStats, CreateCalendarEventRequest, CreateCalendarEventResponse, GetCalendarEventsRequest, GetCalendarEventsResponse } from './calendar/message';
|
|
17
17
|
export { CalendarServiceDefinition } from './calendar/service';
|
|
18
18
|
export { CallHistoryItem, CallInvitation, CallParticipant, CallRoom, EndCallRequest, EndCallResponse, GetCallHistoryRequest, GetCallHistoryResponse, GetCallStatusRequest, GetCallStatusResponse, GetCallTokenRequest, GetCallTokenResponse, InitiateCallRequest, InitiateCallResponse, JoinCallRequest, JoinCallResponse, LeaveCallRequest, LeaveCallResponse, ListActiveCallsRequest, ListActiveCallsResponse, ListPendingInvitationsRequest, ListPendingInvitationsResponse, RespondToInvitationRequest, RespondToInvitationResponse } from './call/message';
|
|
19
19
|
export { CallServiceDefinition } from './call/service';
|
|
20
|
-
export { CancelSessionRequest, CreateSessionRequest, EndLiveSessionRequest, GetLiveSessionRequest, GetSessionRequest, ListTherapySessionsRequest, ListTherapySessionsResponse, LiveSessionItem, RescheduleSessionRequest, SessionItem, StartLiveSessionRequest, UpdateSessionRequest } from './session/message';
|
|
20
|
+
export { CancelSessionRequest, CreateSessionRequest, EndLiveSessionRequest, GetLiveSessionRequest, GetSessionRequest, ListTherapySessionsRequest, ListTherapySessionsResponse, LiveSessionItem, PaymentInput, RescheduleSessionRequest, SessionItem, StartLiveSessionRequest, UpdateSessionRequest } from './session/message';
|
|
21
21
|
export { CancelSubscriptionRequest, CancelSubscriptionResponse, CreateRecommendationRequest, CreateRecommendationResponse, GetDownloadUrlRequest, GetDownloadUrlResponse, GetPlaybackUrlRequest, GetPlaybackUrlResponse, GetSubscriptionRequest, GetSubscriptionResponse, GetTrackRequest, GetTrackResponse, GiftSubscriptionRequest, GiftSubscriptionResponse, ListCategoriesRequest, ListCategoriesResponse, ListPlansRequest, ListPlansResponse, ListRecommendationsRequest, ListRecommendationsResponse, ListTracksRequest, ListTracksResponse, RecommendationItem, SoundscapeCategory, SoundscapePlan, SoundscapeTrack, SubscribeRequest, SubscribeResponse, UnlockTrackRequest, UnlockTrackResponse } from './soundscape/message';
|
|
22
22
|
export { ChatServiceDefinition } from './chat/service';
|
|
23
23
|
export { ChatUser, Conversation, DeleteMessageRequest, DeleteMessageResponse, DirectMessage, ListConversationsRequest, ListConversationsResponse, ListDirectMessagesRequest, ListDirectMessagesResponse, MarkDirectMessagesReadRequest, MarkDirectMessagesReadResponse, SendDirectMessageRequest, SendDirectMessageResponse } from './chat/message';
|
|
24
|
-
export { ClientHomeSummary, ClientItem, CommunityPost, CurrentSeason, GetHomeRequest, GetHomeResponse, GetHomeStatsRequest, GetHomeStatsResponse, GetMyClientsRequest, GetMyClientsResponse, GetMyTherapistRequest, GetMyTherapistResponse, PaginationStats, RecentActivity, RecentMood, SessionSummary, TherapistHomeSummary, TherapistItem, TherapistPerformance, TherapistPerformanceStats, TopRatedTherapist, UpcomingSessionItem, WalletSummary } from './home/message';
|
|
24
|
+
export { ClientHomeSummary, ClientItem, CommunityPost, CurrentSeason, GetHomeRequest, GetHomeResponse, GetHomeStatsRequest, GetHomeStatsResponse, GetMyClientsRequest, GetMyClientsResponse, GetMyTherapistRequest, GetMyTherapistResponse, ListUsersRequest, ListUsersResponse, PaginationStats, RecentActivity, RecentMood, SessionSummary, TherapistHomeSummary, TherapistItem, TherapistPerformance, TherapistPerformanceStats, TopRatedTherapist, UpcomingSessionItem, UserItem, WalletSummary } from './home/message';
|
|
25
25
|
export { ClientsServiceDefinition } from './clients/service';
|
|
26
26
|
export { CommunityServiceDefinition } from './community/service';
|
|
27
27
|
export { CrisisServiceDefinition } from './crisis/service';
|
|
28
28
|
export { CustomHttpPattern, Http, HttpRule } from './google/api/http';
|
|
29
29
|
export { DescriptorProto, DescriptorProto_ExtensionRange, DescriptorProto_ReservedRange, Edition, EnumDescriptorProto, EnumDescriptorProto_EnumReservedRange, EnumOptions, EnumValueDescriptorProto, EnumValueOptions, ExtensionRangeOptions, ExtensionRangeOptions_Declaration, ExtensionRangeOptions_VerificationState, FeatureSet, FeatureSetDefaults, FeatureSetDefaults_FeatureSetEditionDefault, FeatureSet_EnumType, FeatureSet_FieldPresence, FeatureSet_JsonFormat, FeatureSet_MessageEncoding, FeatureSet_RepeatedFieldEncoding, FeatureSet_Utf8Validation, FieldDescriptorProto, FieldDescriptorProto_Label, FieldDescriptorProto_Type, FieldOptions, FieldOptions_CType, FieldOptions_EditionDefault, FieldOptions_FeatureSupport, FieldOptions_JSType, FieldOptions_OptionRetention, FieldOptions_OptionTargetType, FileDescriptorProto, FileDescriptorSet, FileOptions, FileOptions_OptimizeMode, GeneratedCodeInfo, GeneratedCodeInfo_Annotation, GeneratedCodeInfo_Annotation_Semantic, MessageOptions, MethodDescriptorProto, MethodOptions, MethodOptions_IdempotencyLevel, OneofDescriptorProto, OneofOptions, ServiceDescriptorProto, ServiceOptions, SourceCodeInfo, SourceCodeInfo_Location, UninterpretedOption, UninterpretedOption_NamePart, editionFromJSON, editionToJSON, extensionRangeOptions_VerificationStateFromJSON, extensionRangeOptions_VerificationStateToJSON, featureSet_EnumTypeFromJSON, featureSet_EnumTypeToJSON, featureSet_FieldPresenceFromJSON, featureSet_FieldPresenceToJSON, featureSet_JsonFormatFromJSON, featureSet_JsonFormatToJSON, featureSet_MessageEncodingFromJSON, featureSet_MessageEncodingToJSON, featureSet_RepeatedFieldEncodingFromJSON, featureSet_RepeatedFieldEncodingToJSON, featureSet_Utf8ValidationFromJSON, featureSet_Utf8ValidationToJSON, fieldDescriptorProto_LabelFromJSON, fieldDescriptorProto_LabelToJSON, fieldDescriptorProto_TypeFromJSON, fieldDescriptorProto_TypeToJSON, fieldOptions_CTypeFromJSON, fieldOptions_CTypeToJSON, fieldOptions_JSTypeFromJSON, fieldOptions_JSTypeToJSON, fieldOptions_OptionRetentionFromJSON, fieldOptions_OptionRetentionToJSON, fieldOptions_OptionTargetTypeFromJSON, fieldOptions_OptionTargetTypeToJSON, fileOptions_OptimizeModeFromJSON, fileOptions_OptimizeModeToJSON, generatedCodeInfo_Annotation_SemanticFromJSON, generatedCodeInfo_Annotation_SemanticToJSON, methodOptions_IdempotencyLevelFromJSON, methodOptions_IdempotencyLevelToJSON } from './google/protobuf/descriptor';
|
|
30
30
|
export { GetAvailabilityRequest, GetAvailabilityResponse, SearchTherapistsRequest, SearchTherapistsResponse, TherapistSearchResult, TimeSlot } from './therapist/message';
|
|
31
|
-
export { GetPublicSettingsRequest, GetPublicSettingsResponse, GetSettingsRequest, GetSettingsResponse, SettingItem } from './settings/message';
|
|
31
|
+
export { GetPublicSettingsRequest, GetPublicSettingsResponse, GetSettingsRequest, GetSettingsResponse, SettingItem, UpdateSettingItem, UpdateSettingsRequest, UpdateSettingsResponse } from './settings/message';
|
|
32
32
|
export { GetUnreadCountRequest, GetUnreadCountResponse, ListNotificationsRequest, ListNotificationsResponse, MarkAllNotificationsReadRequest, MarkAllNotificationsReadResponse, MarkNotificationReadRequest, MarkNotificationReadResponse, Notification } from './notification/message';
|
|
33
33
|
export { GroupServiceDefinition } from './group/service';
|
|
34
34
|
export { HomeServiceDefinition } from './home/service';
|