@wix/auto_sdk_members_user-member 1.0.44 → 1.0.46
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/build/cjs/schemas.d.ts +156 -0
- package/build/cjs/schemas.js +213 -0
- package/build/cjs/schemas.js.map +1 -0
- package/build/es/schemas.d.mts +156 -0
- package/build/es/schemas.mjs +175 -0
- package/build/es/schemas.mjs.map +1 -0
- package/build/internal/cjs/schemas.d.ts +156 -0
- package/build/internal/cjs/schemas.js +213 -0
- package/build/internal/cjs/schemas.js.map +1 -0
- package/build/internal/es/schemas.d.mts +156 -0
- package/build/internal/es/schemas.mjs +175 -0
- package/build/internal/es/schemas.mjs.map +1 -0
- package/package.json +12 -5
- package/schemas/package.json +3 -0
|
@@ -0,0 +1,156 @@
|
|
|
1
|
+
import * as z from 'zod';
|
|
2
|
+
|
|
3
|
+
declare const QueryUserMembersRequest: z.ZodObject<{
|
|
4
|
+
query: z.ZodObject<{
|
|
5
|
+
filter: z.ZodOptional<z.ZodObject<{
|
|
6
|
+
memberId: z.ZodOptional<z.ZodObject<{
|
|
7
|
+
$eq: z.ZodOptional<z.ZodString>;
|
|
8
|
+
$exists: z.ZodOptional<z.ZodBoolean>;
|
|
9
|
+
$gt: z.ZodOptional<z.ZodString>;
|
|
10
|
+
$gte: z.ZodOptional<z.ZodString>;
|
|
11
|
+
$hasAll: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
12
|
+
$hasSome: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
13
|
+
$in: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
14
|
+
$lt: z.ZodOptional<z.ZodString>;
|
|
15
|
+
$lte: z.ZodOptional<z.ZodString>;
|
|
16
|
+
$ne: z.ZodOptional<z.ZodString>;
|
|
17
|
+
$nin: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
18
|
+
$startsWith: z.ZodOptional<z.ZodString>;
|
|
19
|
+
}, z.core.$strict>>;
|
|
20
|
+
siteMembersInstanceId: z.ZodOptional<z.ZodObject<{
|
|
21
|
+
$eq: z.ZodOptional<z.ZodString>;
|
|
22
|
+
$exists: z.ZodOptional<z.ZodBoolean>;
|
|
23
|
+
$gt: z.ZodOptional<z.ZodString>;
|
|
24
|
+
$gte: z.ZodOptional<z.ZodString>;
|
|
25
|
+
$hasAll: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
26
|
+
$hasSome: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
27
|
+
$in: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
28
|
+
$lt: z.ZodOptional<z.ZodString>;
|
|
29
|
+
$lte: z.ZodOptional<z.ZodString>;
|
|
30
|
+
$ne: z.ZodOptional<z.ZodString>;
|
|
31
|
+
$nin: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
32
|
+
$startsWith: z.ZodOptional<z.ZodString>;
|
|
33
|
+
}, z.core.$strict>>;
|
|
34
|
+
userId: z.ZodOptional<z.ZodObject<{
|
|
35
|
+
$eq: z.ZodOptional<z.ZodString>;
|
|
36
|
+
$exists: z.ZodOptional<z.ZodBoolean>;
|
|
37
|
+
$gt: z.ZodOptional<z.ZodString>;
|
|
38
|
+
$gte: z.ZodOptional<z.ZodString>;
|
|
39
|
+
$hasAll: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
40
|
+
$hasSome: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
41
|
+
$in: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
42
|
+
$lt: z.ZodOptional<z.ZodString>;
|
|
43
|
+
$lte: z.ZodOptional<z.ZodString>;
|
|
44
|
+
$ne: z.ZodOptional<z.ZodString>;
|
|
45
|
+
$nin: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
46
|
+
$startsWith: z.ZodOptional<z.ZodString>;
|
|
47
|
+
}, z.core.$strict>>;
|
|
48
|
+
metaSiteId: z.ZodOptional<z.ZodObject<{
|
|
49
|
+
$eq: z.ZodOptional<z.ZodString>;
|
|
50
|
+
$exists: z.ZodOptional<z.ZodBoolean>;
|
|
51
|
+
$gt: z.ZodOptional<z.ZodString>;
|
|
52
|
+
$gte: z.ZodOptional<z.ZodString>;
|
|
53
|
+
$hasAll: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
54
|
+
$hasSome: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
55
|
+
$in: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
56
|
+
$lt: z.ZodOptional<z.ZodString>;
|
|
57
|
+
$lte: z.ZodOptional<z.ZodString>;
|
|
58
|
+
$ne: z.ZodOptional<z.ZodString>;
|
|
59
|
+
$nin: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
60
|
+
$startsWith: z.ZodOptional<z.ZodString>;
|
|
61
|
+
}, z.core.$strict>>;
|
|
62
|
+
status: z.ZodOptional<z.ZodObject<{
|
|
63
|
+
$eq: z.ZodOptional<z.ZodString>;
|
|
64
|
+
$exists: z.ZodOptional<z.ZodBoolean>;
|
|
65
|
+
$gt: z.ZodOptional<z.ZodString>;
|
|
66
|
+
$gte: z.ZodOptional<z.ZodString>;
|
|
67
|
+
$hasAll: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
68
|
+
$hasSome: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
69
|
+
$in: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
70
|
+
$lt: z.ZodOptional<z.ZodString>;
|
|
71
|
+
$lte: z.ZodOptional<z.ZodString>;
|
|
72
|
+
$ne: z.ZodOptional<z.ZodString>;
|
|
73
|
+
$nin: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
74
|
+
$startsWith: z.ZodOptional<z.ZodString>;
|
|
75
|
+
}, z.core.$strict>>;
|
|
76
|
+
_createdDate: z.ZodOptional<z.ZodObject<{
|
|
77
|
+
$eq: z.ZodOptional<z.ZodString>;
|
|
78
|
+
$exists: z.ZodOptional<z.ZodBoolean>;
|
|
79
|
+
$gt: z.ZodOptional<z.ZodString>;
|
|
80
|
+
$gte: z.ZodOptional<z.ZodString>;
|
|
81
|
+
$hasAll: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
82
|
+
$hasSome: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
83
|
+
$in: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
84
|
+
$lt: z.ZodOptional<z.ZodString>;
|
|
85
|
+
$lte: z.ZodOptional<z.ZodString>;
|
|
86
|
+
$ne: z.ZodOptional<z.ZodString>;
|
|
87
|
+
$nin: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
88
|
+
$startsWith: z.ZodOptional<z.ZodString>;
|
|
89
|
+
}, z.core.$strict>>;
|
|
90
|
+
$and: z.ZodOptional<z.ZodArray<z.ZodAny>>;
|
|
91
|
+
$or: z.ZodOptional<z.ZodArray<z.ZodAny>>;
|
|
92
|
+
$not: z.ZodOptional<z.ZodAny>;
|
|
93
|
+
}, z.core.$strict>>;
|
|
94
|
+
sort: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
95
|
+
fieldName: z.ZodOptional<z.ZodEnum<{
|
|
96
|
+
_createdDate: "_createdDate";
|
|
97
|
+
memberId: "memberId";
|
|
98
|
+
userId: "userId";
|
|
99
|
+
siteMembersInstanceId: "siteMembersInstanceId";
|
|
100
|
+
metaSiteId: "metaSiteId";
|
|
101
|
+
status: "status";
|
|
102
|
+
}>>;
|
|
103
|
+
order: z.ZodOptional<z.ZodEnum<{
|
|
104
|
+
ASC: "ASC";
|
|
105
|
+
DESC: "DESC";
|
|
106
|
+
}>>;
|
|
107
|
+
}, z.core.$strip>>>;
|
|
108
|
+
}, z.core.$catchall<z.ZodAny>>;
|
|
109
|
+
}, z.core.$strip>;
|
|
110
|
+
declare const QueryUserMembersResponse: z.ZodObject<{
|
|
111
|
+
userMembers: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
112
|
+
memberId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
113
|
+
userId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
114
|
+
contactId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
115
|
+
siteMembersInstanceId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
116
|
+
metaSiteId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
117
|
+
photo: z.ZodOptional<z.ZodObject<{
|
|
118
|
+
_id: z.ZodOptional<z.ZodString>;
|
|
119
|
+
url: z.ZodOptional<z.ZodString>;
|
|
120
|
+
height: z.ZodOptional<z.ZodNumber>;
|
|
121
|
+
width: z.ZodOptional<z.ZodNumber>;
|
|
122
|
+
offsetX: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
123
|
+
offsetY: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
124
|
+
}, z.core.$strip>>;
|
|
125
|
+
nickname: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
126
|
+
privacyStatus: z.ZodOptional<z.ZodEnum<{
|
|
127
|
+
UNKNOWN: "UNKNOWN";
|
|
128
|
+
PRIVATE: "PRIVATE";
|
|
129
|
+
PUBLIC: "PUBLIC";
|
|
130
|
+
}>>;
|
|
131
|
+
_createdDate: z.ZodNullable<z.ZodOptional<z.ZodDate>>;
|
|
132
|
+
_updatedDate: z.ZodNullable<z.ZodOptional<z.ZodDate>>;
|
|
133
|
+
status: z.ZodOptional<z.ZodEnum<{
|
|
134
|
+
UNKNOWN: "UNKNOWN";
|
|
135
|
+
PENDING: "PENDING";
|
|
136
|
+
APPROVED: "APPROVED";
|
|
137
|
+
BLOCKED: "BLOCKED";
|
|
138
|
+
OFFLINE: "OFFLINE";
|
|
139
|
+
}>>;
|
|
140
|
+
activityStatus: z.ZodOptional<z.ZodEnum<{
|
|
141
|
+
UNKNOWN: "UNKNOWN";
|
|
142
|
+
ACTIVE: "ACTIVE";
|
|
143
|
+
MUTED: "MUTED";
|
|
144
|
+
}>>;
|
|
145
|
+
}, z.core.$strip>>>;
|
|
146
|
+
metadata: z.ZodOptional<z.ZodObject<{
|
|
147
|
+
count: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
148
|
+
cursors: z.ZodOptional<z.ZodObject<{
|
|
149
|
+
next: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
150
|
+
prev: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
151
|
+
}, z.core.$strip>>;
|
|
152
|
+
hasNext: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
|
|
153
|
+
}, z.core.$strip>>;
|
|
154
|
+
}, z.core.$strip>;
|
|
155
|
+
|
|
156
|
+
export { QueryUserMembersRequest, QueryUserMembersResponse };
|
|
@@ -0,0 +1,213 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __create = Object.create;
|
|
3
|
+
var __defProp = Object.defineProperty;
|
|
4
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
5
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
6
|
+
var __getProtoOf = Object.getPrototypeOf;
|
|
7
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
8
|
+
var __export = (target, all) => {
|
|
9
|
+
for (var name in all)
|
|
10
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
11
|
+
};
|
|
12
|
+
var __copyProps = (to, from, except, desc) => {
|
|
13
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
14
|
+
for (let key of __getOwnPropNames(from))
|
|
15
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
16
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
17
|
+
}
|
|
18
|
+
return to;
|
|
19
|
+
};
|
|
20
|
+
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
|
21
|
+
// If the importer is in node compatibility mode or this is not an ESM
|
|
22
|
+
// file that has been converted to a CommonJS file using a Babel-
|
|
23
|
+
// compatible transform (i.e. "__esModule" has not been set), then set
|
|
24
|
+
// "default" to the CommonJS "module.exports" for node compatibility.
|
|
25
|
+
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
|
|
26
|
+
mod
|
|
27
|
+
));
|
|
28
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
29
|
+
|
|
30
|
+
// schemas.ts
|
|
31
|
+
var schemas_exports = {};
|
|
32
|
+
__export(schemas_exports, {
|
|
33
|
+
QueryUserMembersRequest: () => QueryUserMembersRequest,
|
|
34
|
+
QueryUserMembersResponse: () => QueryUserMembersResponse
|
|
35
|
+
});
|
|
36
|
+
module.exports = __toCommonJS(schemas_exports);
|
|
37
|
+
|
|
38
|
+
// src/members-usermembers-v1-user-member-user-member.schemas.ts
|
|
39
|
+
var z = __toESM(require("zod"));
|
|
40
|
+
var QueryUserMembersRequest = z.object({
|
|
41
|
+
query: z.object({
|
|
42
|
+
filter: z.object({
|
|
43
|
+
memberId: z.object({
|
|
44
|
+
$eq: z.string(),
|
|
45
|
+
$exists: z.boolean(),
|
|
46
|
+
$gt: z.string(),
|
|
47
|
+
$gte: z.string(),
|
|
48
|
+
$hasAll: z.array(z.string()),
|
|
49
|
+
$hasSome: z.array(z.string()),
|
|
50
|
+
$in: z.array(z.string()),
|
|
51
|
+
$lt: z.string(),
|
|
52
|
+
$lte: z.string(),
|
|
53
|
+
$ne: z.string(),
|
|
54
|
+
$nin: z.array(z.string()),
|
|
55
|
+
$startsWith: z.string()
|
|
56
|
+
}).partial().strict().optional(),
|
|
57
|
+
siteMembersInstanceId: z.object({
|
|
58
|
+
$eq: z.string(),
|
|
59
|
+
$exists: z.boolean(),
|
|
60
|
+
$gt: z.string(),
|
|
61
|
+
$gte: z.string(),
|
|
62
|
+
$hasAll: z.array(z.string()),
|
|
63
|
+
$hasSome: z.array(z.string()),
|
|
64
|
+
$in: z.array(z.string()),
|
|
65
|
+
$lt: z.string(),
|
|
66
|
+
$lte: z.string(),
|
|
67
|
+
$ne: z.string(),
|
|
68
|
+
$nin: z.array(z.string()),
|
|
69
|
+
$startsWith: z.string()
|
|
70
|
+
}).partial().strict().optional(),
|
|
71
|
+
userId: z.object({
|
|
72
|
+
$eq: z.string(),
|
|
73
|
+
$exists: z.boolean(),
|
|
74
|
+
$gt: z.string(),
|
|
75
|
+
$gte: z.string(),
|
|
76
|
+
$hasAll: z.array(z.string()),
|
|
77
|
+
$hasSome: z.array(z.string()),
|
|
78
|
+
$in: z.array(z.string()),
|
|
79
|
+
$lt: z.string(),
|
|
80
|
+
$lte: z.string(),
|
|
81
|
+
$ne: z.string(),
|
|
82
|
+
$nin: z.array(z.string()),
|
|
83
|
+
$startsWith: z.string()
|
|
84
|
+
}).partial().strict().optional(),
|
|
85
|
+
metaSiteId: z.object({
|
|
86
|
+
$eq: z.string(),
|
|
87
|
+
$exists: z.boolean(),
|
|
88
|
+
$gt: z.string(),
|
|
89
|
+
$gte: z.string(),
|
|
90
|
+
$hasAll: z.array(z.string()),
|
|
91
|
+
$hasSome: z.array(z.string()),
|
|
92
|
+
$in: z.array(z.string()),
|
|
93
|
+
$lt: z.string(),
|
|
94
|
+
$lte: z.string(),
|
|
95
|
+
$ne: z.string(),
|
|
96
|
+
$nin: z.array(z.string()),
|
|
97
|
+
$startsWith: z.string()
|
|
98
|
+
}).partial().strict().optional(),
|
|
99
|
+
status: z.object({
|
|
100
|
+
$eq: z.string(),
|
|
101
|
+
$exists: z.boolean(),
|
|
102
|
+
$gt: z.string(),
|
|
103
|
+
$gte: z.string(),
|
|
104
|
+
$hasAll: z.array(z.string()),
|
|
105
|
+
$hasSome: z.array(z.string()),
|
|
106
|
+
$in: z.array(z.string()),
|
|
107
|
+
$lt: z.string(),
|
|
108
|
+
$lte: z.string(),
|
|
109
|
+
$ne: z.string(),
|
|
110
|
+
$nin: z.array(z.string()),
|
|
111
|
+
$startsWith: z.string()
|
|
112
|
+
}).partial().strict().optional(),
|
|
113
|
+
_createdDate: z.object({
|
|
114
|
+
$eq: z.string(),
|
|
115
|
+
$exists: z.boolean(),
|
|
116
|
+
$gt: z.string(),
|
|
117
|
+
$gte: z.string(),
|
|
118
|
+
$hasAll: z.array(z.string()),
|
|
119
|
+
$hasSome: z.array(z.string()),
|
|
120
|
+
$in: z.array(z.string()),
|
|
121
|
+
$lt: z.string(),
|
|
122
|
+
$lte: z.string(),
|
|
123
|
+
$ne: z.string(),
|
|
124
|
+
$nin: z.array(z.string()),
|
|
125
|
+
$startsWith: z.string()
|
|
126
|
+
}).partial().strict().optional(),
|
|
127
|
+
$and: z.array(z.any()).optional(),
|
|
128
|
+
$or: z.array(z.any()).optional(),
|
|
129
|
+
$not: z.any().optional()
|
|
130
|
+
}).strict().optional(),
|
|
131
|
+
sort: z.array(
|
|
132
|
+
z.object({
|
|
133
|
+
fieldName: z.enum([
|
|
134
|
+
"memberId",
|
|
135
|
+
"siteMembersInstanceId",
|
|
136
|
+
"userId",
|
|
137
|
+
"metaSiteId",
|
|
138
|
+
"status",
|
|
139
|
+
"_createdDate"
|
|
140
|
+
]).optional(),
|
|
141
|
+
order: z.enum(["ASC", "DESC"]).optional()
|
|
142
|
+
})
|
|
143
|
+
).optional()
|
|
144
|
+
}).catchall(z.any()).describe(
|
|
145
|
+
"Query options. See [API Query Language](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language) for more details."
|
|
146
|
+
)
|
|
147
|
+
});
|
|
148
|
+
var QueryUserMembersResponse = z.object({
|
|
149
|
+
userMembers: z.array(
|
|
150
|
+
z.object({
|
|
151
|
+
memberId: z.string().describe("Profile ID.").regex(
|
|
152
|
+
/^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/,
|
|
153
|
+
"Must be a valid GUID"
|
|
154
|
+
).optional().nullable(),
|
|
155
|
+
userId: z.string().describe("User ID.").regex(
|
|
156
|
+
/^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/,
|
|
157
|
+
"Must be a valid GUID"
|
|
158
|
+
).optional().nullable(),
|
|
159
|
+
contactId: z.string().describe("Contact ID.").regex(
|
|
160
|
+
/^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/,
|
|
161
|
+
"Must be a valid GUID"
|
|
162
|
+
).optional().nullable(),
|
|
163
|
+
siteMembersInstanceId: z.string().describe(
|
|
164
|
+
"Instance ID of the installed [Wix Members Area app](https://www.wix.com/app-market/web-solution/members-area) on the Wix site."
|
|
165
|
+
).regex(
|
|
166
|
+
/^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/,
|
|
167
|
+
"Must be a valid GUID"
|
|
168
|
+
).optional().nullable(),
|
|
169
|
+
metaSiteId: z.string().describe("Metasite ID.").regex(
|
|
170
|
+
/^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/,
|
|
171
|
+
"Must be a valid GUID"
|
|
172
|
+
).optional().nullable(),
|
|
173
|
+
photo: z.object({
|
|
174
|
+
_id: z.string().describe(
|
|
175
|
+
"Wix Media image ID,\nset when the member selects an image from Wix Media."
|
|
176
|
+
).optional(),
|
|
177
|
+
url: z.string().describe("Image URL.").optional(),
|
|
178
|
+
height: z.number().int().describe("Original image width.").optional(),
|
|
179
|
+
width: z.number().int().describe("Original image height.").optional(),
|
|
180
|
+
offsetX: z.number().int().describe("X-axis offset.\n\nDefault: `0`.").optional().nullable(),
|
|
181
|
+
offsetY: z.number().int().describe("Y-axis offset.\n\nDefault: `0`.").optional().nullable()
|
|
182
|
+
}).describe("User member profile picture.").optional(),
|
|
183
|
+
nickname: z.string().describe("User member nickname.").optional().nullable(),
|
|
184
|
+
privacyStatus: z.enum(["UNKNOWN", "PRIVATE", "PUBLIC"]).describe("User member profile privacy status.").optional(),
|
|
185
|
+
_createdDate: z.date().describe("Date and time the user member was created.").optional().nullable(),
|
|
186
|
+
_updatedDate: z.date().describe("Date and time the user member was updated.").optional().nullable(),
|
|
187
|
+
status: z.enum(["UNKNOWN", "PENDING", "APPROVED", "BLOCKED", "OFFLINE"]).describe("User member site access status.").optional(),
|
|
188
|
+
activityStatus: z.enum(["UNKNOWN", "ACTIVE", "MUTED"]).describe("User member activity status.").optional()
|
|
189
|
+
})
|
|
190
|
+
).optional(),
|
|
191
|
+
metadata: z.object({
|
|
192
|
+
count: z.number().int().describe("Number of items returned in current page.").optional().nullable(),
|
|
193
|
+
cursors: z.object({
|
|
194
|
+
next: z.string().describe(
|
|
195
|
+
"Cursor string pointing to the next page in the list of results."
|
|
196
|
+
).max(16e3).optional().nullable(),
|
|
197
|
+
prev: z.string().describe(
|
|
198
|
+
"Cursor pointing to the previous page in the list of results."
|
|
199
|
+
).max(16e3).optional().nullable()
|
|
200
|
+
}).describe(
|
|
201
|
+
"Cursor strings that point to the next page, previous page, or both."
|
|
202
|
+
).optional(),
|
|
203
|
+
hasNext: z.boolean().describe(
|
|
204
|
+
"Whether there are more pages to retrieve following the current page.\n\n+ `true`: Another page of results can be retrieved.\n+ `false`: This is the last page."
|
|
205
|
+
).optional().nullable()
|
|
206
|
+
}).describe("Metadata for the paginated results.").optional()
|
|
207
|
+
});
|
|
208
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
209
|
+
0 && (module.exports = {
|
|
210
|
+
QueryUserMembersRequest,
|
|
211
|
+
QueryUserMembersResponse
|
|
212
|
+
});
|
|
213
|
+
//# sourceMappingURL=schemas.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../schemas.ts","../../src/members-usermembers-v1-user-member-user-member.schemas.ts"],"sourcesContent":["export * from './src/members-usermembers-v1-user-member-user-member.schemas.js';\n","import * as z from 'zod';\n\nexport const QueryUserMembersRequest = z.object({\n query: z\n .object({\n filter: z\n .object({\n memberId: z\n .object({\n $eq: z.string(),\n $exists: z.boolean(),\n $gt: z.string(),\n $gte: z.string(),\n $hasAll: z.array(z.string()),\n $hasSome: z.array(z.string()),\n $in: z.array(z.string()),\n $lt: z.string(),\n $lte: z.string(),\n $ne: z.string(),\n $nin: z.array(z.string()),\n $startsWith: z.string(),\n })\n .partial()\n .strict()\n .optional(),\n siteMembersInstanceId: z\n .object({\n $eq: z.string(),\n $exists: z.boolean(),\n $gt: z.string(),\n $gte: z.string(),\n $hasAll: z.array(z.string()),\n $hasSome: z.array(z.string()),\n $in: z.array(z.string()),\n $lt: z.string(),\n $lte: z.string(),\n $ne: z.string(),\n $nin: z.array(z.string()),\n $startsWith: z.string(),\n })\n .partial()\n .strict()\n .optional(),\n userId: z\n .object({\n $eq: z.string(),\n $exists: z.boolean(),\n $gt: z.string(),\n $gte: z.string(),\n $hasAll: z.array(z.string()),\n $hasSome: z.array(z.string()),\n $in: z.array(z.string()),\n $lt: z.string(),\n $lte: z.string(),\n $ne: z.string(),\n $nin: z.array(z.string()),\n $startsWith: z.string(),\n })\n .partial()\n .strict()\n .optional(),\n metaSiteId: z\n .object({\n $eq: z.string(),\n $exists: z.boolean(),\n $gt: z.string(),\n $gte: z.string(),\n $hasAll: z.array(z.string()),\n $hasSome: z.array(z.string()),\n $in: z.array(z.string()),\n $lt: z.string(),\n $lte: z.string(),\n $ne: z.string(),\n $nin: z.array(z.string()),\n $startsWith: z.string(),\n })\n .partial()\n .strict()\n .optional(),\n status: z\n .object({\n $eq: z.string(),\n $exists: z.boolean(),\n $gt: z.string(),\n $gte: z.string(),\n $hasAll: z.array(z.string()),\n $hasSome: z.array(z.string()),\n $in: z.array(z.string()),\n $lt: z.string(),\n $lte: z.string(),\n $ne: z.string(),\n $nin: z.array(z.string()),\n $startsWith: z.string(),\n })\n .partial()\n .strict()\n .optional(),\n _createdDate: z\n .object({\n $eq: z.string(),\n $exists: z.boolean(),\n $gt: z.string(),\n $gte: z.string(),\n $hasAll: z.array(z.string()),\n $hasSome: z.array(z.string()),\n $in: z.array(z.string()),\n $lt: z.string(),\n $lte: z.string(),\n $ne: z.string(),\n $nin: z.array(z.string()),\n $startsWith: z.string(),\n })\n .partial()\n .strict()\n .optional(),\n $and: z.array(z.any()).optional(),\n $or: z.array(z.any()).optional(),\n $not: z.any().optional(),\n })\n .strict()\n .optional(),\n sort: z\n .array(\n z.object({\n fieldName: z\n .enum([\n 'memberId',\n 'siteMembersInstanceId',\n 'userId',\n 'metaSiteId',\n 'status',\n '_createdDate',\n ])\n .optional(),\n order: z.enum(['ASC', 'DESC']).optional(),\n })\n )\n .optional(),\n })\n .catchall(z.any())\n .describe(\n 'Query options. See [API Query Language](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language) for more details.'\n ),\n});\nexport const QueryUserMembersResponse = z.object({\n userMembers: z\n .array(\n z.object({\n memberId: z\n .string()\n .describe('Profile ID.')\n .regex(\n /^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/,\n 'Must be a valid GUID'\n )\n .optional()\n .nullable(),\n userId: z\n .string()\n .describe('User ID.')\n .regex(\n /^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/,\n 'Must be a valid GUID'\n )\n .optional()\n .nullable(),\n contactId: z\n .string()\n .describe('Contact ID.')\n .regex(\n /^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/,\n 'Must be a valid GUID'\n )\n .optional()\n .nullable(),\n siteMembersInstanceId: z\n .string()\n .describe(\n 'Instance ID of the installed [Wix Members Area app](https://www.wix.com/app-market/web-solution/members-area) on the Wix site.'\n )\n .regex(\n /^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/,\n 'Must be a valid GUID'\n )\n .optional()\n .nullable(),\n metaSiteId: z\n .string()\n .describe('Metasite ID.')\n .regex(\n /^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/,\n 'Must be a valid GUID'\n )\n .optional()\n .nullable(),\n photo: z\n .object({\n _id: z\n .string()\n .describe(\n 'Wix Media image ID,\\nset when the member selects an image from Wix Media.'\n )\n .optional(),\n url: z.string().describe('Image URL.').optional(),\n height: z\n .number()\n .int()\n .describe('Original image width.')\n .optional(),\n width: z\n .number()\n .int()\n .describe('Original image height.')\n .optional(),\n offsetX: z\n .number()\n .int()\n .describe('X-axis offset.\\n\\nDefault: `0`.')\n .optional()\n .nullable(),\n offsetY: z\n .number()\n .int()\n .describe('Y-axis offset.\\n\\nDefault: `0`.')\n .optional()\n .nullable(),\n })\n .describe('User member profile picture.')\n .optional(),\n nickname: z\n .string()\n .describe('User member nickname.')\n .optional()\n .nullable(),\n privacyStatus: z\n .enum(['UNKNOWN', 'PRIVATE', 'PUBLIC'])\n .describe('User member profile privacy status.')\n .optional(),\n _createdDate: z\n .date()\n .describe('Date and time the user member was created.')\n .optional()\n .nullable(),\n _updatedDate: z\n .date()\n .describe('Date and time the user member was updated.')\n .optional()\n .nullable(),\n status: z\n .enum(['UNKNOWN', 'PENDING', 'APPROVED', 'BLOCKED', 'OFFLINE'])\n .describe('User member site access status.')\n .optional(),\n activityStatus: z\n .enum(['UNKNOWN', 'ACTIVE', 'MUTED'])\n .describe('User member activity status.')\n .optional(),\n })\n )\n .optional(),\n metadata: z\n .object({\n count: z\n .number()\n .int()\n .describe('Number of items returned in current page.')\n .optional()\n .nullable(),\n cursors: z\n .object({\n next: z\n .string()\n .describe(\n 'Cursor string pointing to the next page in the list of results.'\n )\n .max(16000)\n .optional()\n .nullable(),\n prev: z\n .string()\n .describe(\n 'Cursor pointing to the previous page in the list of results.'\n )\n .max(16000)\n .optional()\n .nullable(),\n })\n .describe(\n 'Cursor strings that point to the next page, previous page, or both.'\n )\n .optional(),\n hasNext: z\n .boolean()\n .describe(\n 'Whether there are more pages to retrieve following the current page.\\n\\n+ `true`: Another page of results can be retrieved.\\n+ `false`: This is the last page.'\n )\n .optional()\n .nullable(),\n })\n .describe('Metadata for the paginated results.')\n .optional(),\n});\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;ACAA,QAAmB;AAEZ,IAAM,0BAA4B,SAAO;AAAA,EAC9C,OACG,SAAO;AAAA,IACN,QACG,SAAO;AAAA,MACN,UACG,SAAO;AAAA,QACN,KAAO,SAAO;AAAA,QACd,SAAW,UAAQ;AAAA,QACnB,KAAO,SAAO;AAAA,QACd,MAAQ,SAAO;AAAA,QACf,SAAW,QAAQ,SAAO,CAAC;AAAA,QAC3B,UAAY,QAAQ,SAAO,CAAC;AAAA,QAC5B,KAAO,QAAQ,SAAO,CAAC;AAAA,QACvB,KAAO,SAAO;AAAA,QACd,MAAQ,SAAO;AAAA,QACf,KAAO,SAAO;AAAA,QACd,MAAQ,QAAQ,SAAO,CAAC;AAAA,QACxB,aAAe,SAAO;AAAA,MACxB,CAAC,EACA,QAAQ,EACR,OAAO,EACP,SAAS;AAAA,MACZ,uBACG,SAAO;AAAA,QACN,KAAO,SAAO;AAAA,QACd,SAAW,UAAQ;AAAA,QACnB,KAAO,SAAO;AAAA,QACd,MAAQ,SAAO;AAAA,QACf,SAAW,QAAQ,SAAO,CAAC;AAAA,QAC3B,UAAY,QAAQ,SAAO,CAAC;AAAA,QAC5B,KAAO,QAAQ,SAAO,CAAC;AAAA,QACvB,KAAO,SAAO;AAAA,QACd,MAAQ,SAAO;AAAA,QACf,KAAO,SAAO;AAAA,QAC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AAAA,MACZ,gBACG,OAAK,CAAC,WAAW,UAAU,OAAO,CAAC,EACnC,SAAS,8BAA8B,EACvC,SAAS;AAAA,IACd,CAAC;AAAA,EACH,EACC,SAAS;AAAA,EACZ,UACG,SAAO;AAAA,IACN,OACG,SAAO,EACP,IAAI,EACJ,SAAS,2CAA2C,EACpD,SAAS,EACT,SAAS;AAAA,IACZ,SACG,SAAO;AAAA,MACN,MACG,SAAO,EACP;AAAA,QACC;AAAA,MACF,EACC,IAAI,IAAK,EACT,SAAS,EACT,SAAS;AAAA,MACZ,MACG,SAAO,EACP;AAAA,QACC;AAAA,MACF,EACC,IAAI,IAAK,EACT,SAAS,EACT,SAAS;AAAA,IACd,CAAC,EACA;AAAA,MACC;AAAA,IACF,EACC,SAAS;AAAA,IACZ,SACG,UAAQ,EACR;AAAA,MACC;AAAA,IACF,EACC,SAAS,EACT,SAAS;AAAA,EACd,CAAC,EACA,SAAS,qCAAqC,EAC9C,SAAS;AACd,CAAC;","names":[]}
|
|
@@ -0,0 +1,156 @@
|
|
|
1
|
+
import * as z from 'zod';
|
|
2
|
+
|
|
3
|
+
declare const QueryUserMembersRequest: z.ZodObject<{
|
|
4
|
+
query: z.ZodObject<{
|
|
5
|
+
filter: z.ZodOptional<z.ZodObject<{
|
|
6
|
+
memberId: z.ZodOptional<z.ZodObject<{
|
|
7
|
+
$eq: z.ZodOptional<z.ZodString>;
|
|
8
|
+
$exists: z.ZodOptional<z.ZodBoolean>;
|
|
9
|
+
$gt: z.ZodOptional<z.ZodString>;
|
|
10
|
+
$gte: z.ZodOptional<z.ZodString>;
|
|
11
|
+
$hasAll: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
12
|
+
$hasSome: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
13
|
+
$in: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
14
|
+
$lt: z.ZodOptional<z.ZodString>;
|
|
15
|
+
$lte: z.ZodOptional<z.ZodString>;
|
|
16
|
+
$ne: z.ZodOptional<z.ZodString>;
|
|
17
|
+
$nin: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
18
|
+
$startsWith: z.ZodOptional<z.ZodString>;
|
|
19
|
+
}, z.core.$strict>>;
|
|
20
|
+
siteMembersInstanceId: z.ZodOptional<z.ZodObject<{
|
|
21
|
+
$eq: z.ZodOptional<z.ZodString>;
|
|
22
|
+
$exists: z.ZodOptional<z.ZodBoolean>;
|
|
23
|
+
$gt: z.ZodOptional<z.ZodString>;
|
|
24
|
+
$gte: z.ZodOptional<z.ZodString>;
|
|
25
|
+
$hasAll: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
26
|
+
$hasSome: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
27
|
+
$in: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
28
|
+
$lt: z.ZodOptional<z.ZodString>;
|
|
29
|
+
$lte: z.ZodOptional<z.ZodString>;
|
|
30
|
+
$ne: z.ZodOptional<z.ZodString>;
|
|
31
|
+
$nin: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
32
|
+
$startsWith: z.ZodOptional<z.ZodString>;
|
|
33
|
+
}, z.core.$strict>>;
|
|
34
|
+
userId: z.ZodOptional<z.ZodObject<{
|
|
35
|
+
$eq: z.ZodOptional<z.ZodString>;
|
|
36
|
+
$exists: z.ZodOptional<z.ZodBoolean>;
|
|
37
|
+
$gt: z.ZodOptional<z.ZodString>;
|
|
38
|
+
$gte: z.ZodOptional<z.ZodString>;
|
|
39
|
+
$hasAll: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
40
|
+
$hasSome: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
41
|
+
$in: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
42
|
+
$lt: z.ZodOptional<z.ZodString>;
|
|
43
|
+
$lte: z.ZodOptional<z.ZodString>;
|
|
44
|
+
$ne: z.ZodOptional<z.ZodString>;
|
|
45
|
+
$nin: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
46
|
+
$startsWith: z.ZodOptional<z.ZodString>;
|
|
47
|
+
}, z.core.$strict>>;
|
|
48
|
+
metaSiteId: z.ZodOptional<z.ZodObject<{
|
|
49
|
+
$eq: z.ZodOptional<z.ZodString>;
|
|
50
|
+
$exists: z.ZodOptional<z.ZodBoolean>;
|
|
51
|
+
$gt: z.ZodOptional<z.ZodString>;
|
|
52
|
+
$gte: z.ZodOptional<z.ZodString>;
|
|
53
|
+
$hasAll: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
54
|
+
$hasSome: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
55
|
+
$in: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
56
|
+
$lt: z.ZodOptional<z.ZodString>;
|
|
57
|
+
$lte: z.ZodOptional<z.ZodString>;
|
|
58
|
+
$ne: z.ZodOptional<z.ZodString>;
|
|
59
|
+
$nin: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
60
|
+
$startsWith: z.ZodOptional<z.ZodString>;
|
|
61
|
+
}, z.core.$strict>>;
|
|
62
|
+
status: z.ZodOptional<z.ZodObject<{
|
|
63
|
+
$eq: z.ZodOptional<z.ZodString>;
|
|
64
|
+
$exists: z.ZodOptional<z.ZodBoolean>;
|
|
65
|
+
$gt: z.ZodOptional<z.ZodString>;
|
|
66
|
+
$gte: z.ZodOptional<z.ZodString>;
|
|
67
|
+
$hasAll: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
68
|
+
$hasSome: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
69
|
+
$in: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
70
|
+
$lt: z.ZodOptional<z.ZodString>;
|
|
71
|
+
$lte: z.ZodOptional<z.ZodString>;
|
|
72
|
+
$ne: z.ZodOptional<z.ZodString>;
|
|
73
|
+
$nin: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
74
|
+
$startsWith: z.ZodOptional<z.ZodString>;
|
|
75
|
+
}, z.core.$strict>>;
|
|
76
|
+
_createdDate: z.ZodOptional<z.ZodObject<{
|
|
77
|
+
$eq: z.ZodOptional<z.ZodString>;
|
|
78
|
+
$exists: z.ZodOptional<z.ZodBoolean>;
|
|
79
|
+
$gt: z.ZodOptional<z.ZodString>;
|
|
80
|
+
$gte: z.ZodOptional<z.ZodString>;
|
|
81
|
+
$hasAll: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
82
|
+
$hasSome: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
83
|
+
$in: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
84
|
+
$lt: z.ZodOptional<z.ZodString>;
|
|
85
|
+
$lte: z.ZodOptional<z.ZodString>;
|
|
86
|
+
$ne: z.ZodOptional<z.ZodString>;
|
|
87
|
+
$nin: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
88
|
+
$startsWith: z.ZodOptional<z.ZodString>;
|
|
89
|
+
}, z.core.$strict>>;
|
|
90
|
+
$and: z.ZodOptional<z.ZodArray<z.ZodAny>>;
|
|
91
|
+
$or: z.ZodOptional<z.ZodArray<z.ZodAny>>;
|
|
92
|
+
$not: z.ZodOptional<z.ZodAny>;
|
|
93
|
+
}, z.core.$strict>>;
|
|
94
|
+
sort: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
95
|
+
fieldName: z.ZodOptional<z.ZodEnum<{
|
|
96
|
+
_createdDate: "_createdDate";
|
|
97
|
+
memberId: "memberId";
|
|
98
|
+
userId: "userId";
|
|
99
|
+
siteMembersInstanceId: "siteMembersInstanceId";
|
|
100
|
+
metaSiteId: "metaSiteId";
|
|
101
|
+
status: "status";
|
|
102
|
+
}>>;
|
|
103
|
+
order: z.ZodOptional<z.ZodEnum<{
|
|
104
|
+
ASC: "ASC";
|
|
105
|
+
DESC: "DESC";
|
|
106
|
+
}>>;
|
|
107
|
+
}, z.core.$strip>>>;
|
|
108
|
+
}, z.core.$catchall<z.ZodAny>>;
|
|
109
|
+
}, z.core.$strip>;
|
|
110
|
+
declare const QueryUserMembersResponse: z.ZodObject<{
|
|
111
|
+
userMembers: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
112
|
+
memberId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
113
|
+
userId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
114
|
+
contactId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
115
|
+
siteMembersInstanceId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
116
|
+
metaSiteId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
117
|
+
photo: z.ZodOptional<z.ZodObject<{
|
|
118
|
+
_id: z.ZodOptional<z.ZodString>;
|
|
119
|
+
url: z.ZodOptional<z.ZodString>;
|
|
120
|
+
height: z.ZodOptional<z.ZodNumber>;
|
|
121
|
+
width: z.ZodOptional<z.ZodNumber>;
|
|
122
|
+
offsetX: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
123
|
+
offsetY: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
124
|
+
}, z.core.$strip>>;
|
|
125
|
+
nickname: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
126
|
+
privacyStatus: z.ZodOptional<z.ZodEnum<{
|
|
127
|
+
UNKNOWN: "UNKNOWN";
|
|
128
|
+
PRIVATE: "PRIVATE";
|
|
129
|
+
PUBLIC: "PUBLIC";
|
|
130
|
+
}>>;
|
|
131
|
+
_createdDate: z.ZodNullable<z.ZodOptional<z.ZodDate>>;
|
|
132
|
+
_updatedDate: z.ZodNullable<z.ZodOptional<z.ZodDate>>;
|
|
133
|
+
status: z.ZodOptional<z.ZodEnum<{
|
|
134
|
+
UNKNOWN: "UNKNOWN";
|
|
135
|
+
PENDING: "PENDING";
|
|
136
|
+
APPROVED: "APPROVED";
|
|
137
|
+
BLOCKED: "BLOCKED";
|
|
138
|
+
OFFLINE: "OFFLINE";
|
|
139
|
+
}>>;
|
|
140
|
+
activityStatus: z.ZodOptional<z.ZodEnum<{
|
|
141
|
+
UNKNOWN: "UNKNOWN";
|
|
142
|
+
ACTIVE: "ACTIVE";
|
|
143
|
+
MUTED: "MUTED";
|
|
144
|
+
}>>;
|
|
145
|
+
}, z.core.$strip>>>;
|
|
146
|
+
metadata: z.ZodOptional<z.ZodObject<{
|
|
147
|
+
count: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
148
|
+
cursors: z.ZodOptional<z.ZodObject<{
|
|
149
|
+
next: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
150
|
+
prev: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
151
|
+
}, z.core.$strip>>;
|
|
152
|
+
hasNext: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
|
|
153
|
+
}, z.core.$strip>>;
|
|
154
|
+
}, z.core.$strip>;
|
|
155
|
+
|
|
156
|
+
export { QueryUserMembersRequest, QueryUserMembersResponse };
|