@wix/auto_sdk_members_badges 1.0.45 → 1.0.47

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.
@@ -0,0 +1,167 @@
1
+ import * as z from 'zod';
2
+
3
+ declare const CreateBadgeRequest: z.ZodObject<{
4
+ badge: z.ZodObject<{
5
+ _id: z.ZodOptional<z.ZodString>;
6
+ title: z.ZodString;
7
+ description: z.ZodNullable<z.ZodOptional<z.ZodString>>;
8
+ backgroundColor: z.ZodString;
9
+ textColor: z.ZodString;
10
+ icon: z.ZodNullable<z.ZodOptional<z.ZodString>>;
11
+ permissionsEnabled: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
12
+ slug: z.ZodNullable<z.ZodOptional<z.ZodString>>;
13
+ _createdDate: z.ZodNullable<z.ZodOptional<z.ZodDate>>;
14
+ _updatedDate: z.ZodNullable<z.ZodOptional<z.ZodDate>>;
15
+ }, z.core.$strip>;
16
+ }, z.core.$strip>;
17
+ declare const CreateBadgeResponse: z.ZodObject<{
18
+ _id: z.ZodOptional<z.ZodString>;
19
+ title: z.ZodNullable<z.ZodOptional<z.ZodString>>;
20
+ description: z.ZodNullable<z.ZodOptional<z.ZodString>>;
21
+ backgroundColor: z.ZodNullable<z.ZodOptional<z.ZodString>>;
22
+ textColor: z.ZodNullable<z.ZodOptional<z.ZodString>>;
23
+ icon: z.ZodNullable<z.ZodOptional<z.ZodString>>;
24
+ permissionsEnabled: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
25
+ slug: z.ZodNullable<z.ZodOptional<z.ZodString>>;
26
+ _createdDate: z.ZodNullable<z.ZodOptional<z.ZodDate>>;
27
+ _updatedDate: z.ZodNullable<z.ZodOptional<z.ZodDate>>;
28
+ }, z.core.$strip>;
29
+ declare const UpdateBadgeRequest: z.ZodObject<{
30
+ _id: z.ZodString;
31
+ badge: z.ZodObject<{
32
+ _id: z.ZodOptional<z.ZodString>;
33
+ title: z.ZodNullable<z.ZodOptional<z.ZodString>>;
34
+ description: z.ZodNullable<z.ZodOptional<z.ZodString>>;
35
+ backgroundColor: z.ZodNullable<z.ZodOptional<z.ZodString>>;
36
+ textColor: z.ZodNullable<z.ZodOptional<z.ZodString>>;
37
+ icon: z.ZodNullable<z.ZodOptional<z.ZodString>>;
38
+ permissionsEnabled: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
39
+ slug: z.ZodNullable<z.ZodOptional<z.ZodString>>;
40
+ _createdDate: z.ZodNullable<z.ZodOptional<z.ZodDate>>;
41
+ _updatedDate: z.ZodNullable<z.ZodOptional<z.ZodDate>>;
42
+ }, z.core.$strip>;
43
+ }, z.core.$strip>;
44
+ declare const UpdateBadgeResponse: z.ZodObject<{
45
+ _id: z.ZodOptional<z.ZodString>;
46
+ title: z.ZodNullable<z.ZodOptional<z.ZodString>>;
47
+ description: z.ZodNullable<z.ZodOptional<z.ZodString>>;
48
+ backgroundColor: z.ZodNullable<z.ZodOptional<z.ZodString>>;
49
+ textColor: z.ZodNullable<z.ZodOptional<z.ZodString>>;
50
+ icon: z.ZodNullable<z.ZodOptional<z.ZodString>>;
51
+ permissionsEnabled: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
52
+ slug: z.ZodNullable<z.ZodOptional<z.ZodString>>;
53
+ _createdDate: z.ZodNullable<z.ZodOptional<z.ZodDate>>;
54
+ _updatedDate: z.ZodNullable<z.ZodOptional<z.ZodDate>>;
55
+ }, z.core.$strip>;
56
+ declare const ListBadgesRequest: z.ZodObject<{
57
+ options: z.ZodOptional<z.ZodObject<{
58
+ paging: z.ZodOptional<z.ZodObject<{
59
+ limit: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
60
+ offset: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
61
+ }, z.core.$strip>>;
62
+ }, z.core.$strip>>;
63
+ }, z.core.$strip>;
64
+ declare const ListBadgesResponse: z.ZodObject<{
65
+ badges: z.ZodOptional<z.ZodArray<z.ZodObject<{
66
+ _id: z.ZodOptional<z.ZodString>;
67
+ title: z.ZodNullable<z.ZodOptional<z.ZodString>>;
68
+ description: z.ZodNullable<z.ZodOptional<z.ZodString>>;
69
+ backgroundColor: z.ZodNullable<z.ZodOptional<z.ZodString>>;
70
+ textColor: z.ZodNullable<z.ZodOptional<z.ZodString>>;
71
+ icon: z.ZodNullable<z.ZodOptional<z.ZodString>>;
72
+ permissionsEnabled: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
73
+ slug: z.ZodNullable<z.ZodOptional<z.ZodString>>;
74
+ _createdDate: z.ZodNullable<z.ZodOptional<z.ZodDate>>;
75
+ _updatedDate: z.ZodNullable<z.ZodOptional<z.ZodDate>>;
76
+ }, z.core.$strip>>>;
77
+ metadata: z.ZodOptional<z.ZodObject<{
78
+ count: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
79
+ offset: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
80
+ total: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
81
+ tooManyToCount: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
82
+ }, z.core.$strip>>;
83
+ }, z.core.$strip>;
84
+ declare const GetBadgeRequest: z.ZodObject<{
85
+ _id: z.ZodString;
86
+ }, z.core.$strip>;
87
+ declare const GetBadgeResponse: z.ZodObject<{
88
+ _id: z.ZodOptional<z.ZodString>;
89
+ title: z.ZodNullable<z.ZodOptional<z.ZodString>>;
90
+ description: z.ZodNullable<z.ZodOptional<z.ZodString>>;
91
+ backgroundColor: z.ZodNullable<z.ZodOptional<z.ZodString>>;
92
+ textColor: z.ZodNullable<z.ZodOptional<z.ZodString>>;
93
+ icon: z.ZodNullable<z.ZodOptional<z.ZodString>>;
94
+ permissionsEnabled: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
95
+ slug: z.ZodNullable<z.ZodOptional<z.ZodString>>;
96
+ _createdDate: z.ZodNullable<z.ZodOptional<z.ZodDate>>;
97
+ _updatedDate: z.ZodNullable<z.ZodOptional<z.ZodDate>>;
98
+ }, z.core.$strip>;
99
+ declare const DeleteBadgeRequest: z.ZodObject<{
100
+ _id: z.ZodString;
101
+ }, z.core.$strip>;
102
+ declare const DeleteBadgeResponse: z.ZodObject<{}, z.core.$strip>;
103
+ declare const AssignBadgeRequest: z.ZodObject<{
104
+ _id: z.ZodString;
105
+ memberIds: z.ZodArray<z.ZodString>;
106
+ }, z.core.$strip>;
107
+ declare const AssignBadgeResponse: z.ZodObject<{
108
+ memberIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
109
+ }, z.core.$strip>;
110
+ declare const UnassignBadgeRequest: z.ZodObject<{
111
+ _id: z.ZodString;
112
+ memberIds: z.ZodArray<z.ZodString>;
113
+ }, z.core.$strip>;
114
+ declare const UnassignBadgeResponse: z.ZodObject<{}, z.core.$strip>;
115
+ declare const ListMembersByBadgeRequest: z.ZodObject<{
116
+ _id: z.ZodString;
117
+ options: z.ZodOptional<z.ZodObject<{
118
+ paging: z.ZodOptional<z.ZodObject<{
119
+ limit: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
120
+ offset: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
121
+ }, z.core.$strip>>;
122
+ }, z.core.$strip>>;
123
+ }, z.core.$strip>;
124
+ declare const ListMembersByBadgeResponse: z.ZodObject<{
125
+ memberIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
126
+ metadata: z.ZodOptional<z.ZodObject<{
127
+ count: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
128
+ offset: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
129
+ total: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
130
+ tooManyToCount: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
131
+ }, z.core.$strip>>;
132
+ }, z.core.$strip>;
133
+ declare const ListBadgesPerMemberRequest: z.ZodObject<{
134
+ memberIds: z.ZodArray<z.ZodString>;
135
+ }, z.core.$strip>;
136
+ declare const ListBadgesPerMemberResponse: z.ZodObject<{
137
+ memberBadgeIds: z.ZodOptional<z.ZodArray<z.ZodObject<{
138
+ memberId: z.ZodOptional<z.ZodString>;
139
+ badgeIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
140
+ }, z.core.$strip>>>;
141
+ }, z.core.$strip>;
142
+ declare const GetMemberCountsPerBadgeRequest: z.ZodObject<{}, z.core.$strip>;
143
+ declare const GetMemberCountsPerBadgeResponse: z.ZodObject<{
144
+ badgeMemberCounts: z.ZodOptional<z.ZodArray<z.ZodObject<{
145
+ badgeId: z.ZodOptional<z.ZodString>;
146
+ memberCount: z.ZodOptional<z.ZodNumber>;
147
+ }, z.core.$strip>>>;
148
+ }, z.core.$strip>;
149
+ declare const UpdateBadgesDisplayOrderRequest: z.ZodObject<{
150
+ badgeIds: z.ZodArray<z.ZodString>;
151
+ }, z.core.$strip>;
152
+ declare const UpdateBadgesDisplayOrderResponse: z.ZodObject<{
153
+ badges: z.ZodOptional<z.ZodArray<z.ZodObject<{
154
+ _id: z.ZodOptional<z.ZodString>;
155
+ title: z.ZodNullable<z.ZodOptional<z.ZodString>>;
156
+ description: z.ZodNullable<z.ZodOptional<z.ZodString>>;
157
+ backgroundColor: z.ZodNullable<z.ZodOptional<z.ZodString>>;
158
+ textColor: z.ZodNullable<z.ZodOptional<z.ZodString>>;
159
+ icon: z.ZodNullable<z.ZodOptional<z.ZodString>>;
160
+ permissionsEnabled: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
161
+ slug: z.ZodNullable<z.ZodOptional<z.ZodString>>;
162
+ _createdDate: z.ZodNullable<z.ZodOptional<z.ZodDate>>;
163
+ _updatedDate: z.ZodNullable<z.ZodOptional<z.ZodDate>>;
164
+ }, z.core.$strip>>>;
165
+ }, z.core.$strip>;
166
+
167
+ export { AssignBadgeRequest, AssignBadgeResponse, CreateBadgeRequest, CreateBadgeResponse, DeleteBadgeRequest, DeleteBadgeResponse, GetBadgeRequest, GetBadgeResponse, GetMemberCountsPerBadgeRequest, GetMemberCountsPerBadgeResponse, ListBadgesPerMemberRequest, ListBadgesPerMemberResponse, ListBadgesRequest, ListBadgesResponse, ListMembersByBadgeRequest, ListMembersByBadgeResponse, UnassignBadgeRequest, UnassignBadgeResponse, UpdateBadgeRequest, UpdateBadgeResponse, UpdateBadgesDisplayOrderRequest, UpdateBadgesDisplayOrderResponse };
@@ -0,0 +1,365 @@
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
+ AssignBadgeRequest: () => AssignBadgeRequest,
34
+ AssignBadgeResponse: () => AssignBadgeResponse,
35
+ CreateBadgeRequest: () => CreateBadgeRequest,
36
+ CreateBadgeResponse: () => CreateBadgeResponse,
37
+ DeleteBadgeRequest: () => DeleteBadgeRequest,
38
+ DeleteBadgeResponse: () => DeleteBadgeResponse,
39
+ GetBadgeRequest: () => GetBadgeRequest,
40
+ GetBadgeResponse: () => GetBadgeResponse,
41
+ GetMemberCountsPerBadgeRequest: () => GetMemberCountsPerBadgeRequest,
42
+ GetMemberCountsPerBadgeResponse: () => GetMemberCountsPerBadgeResponse,
43
+ ListBadgesPerMemberRequest: () => ListBadgesPerMemberRequest,
44
+ ListBadgesPerMemberResponse: () => ListBadgesPerMemberResponse,
45
+ ListBadgesRequest: () => ListBadgesRequest,
46
+ ListBadgesResponse: () => ListBadgesResponse,
47
+ ListMembersByBadgeRequest: () => ListMembersByBadgeRequest,
48
+ ListMembersByBadgeResponse: () => ListMembersByBadgeResponse,
49
+ UnassignBadgeRequest: () => UnassignBadgeRequest,
50
+ UnassignBadgeResponse: () => UnassignBadgeResponse,
51
+ UpdateBadgeRequest: () => UpdateBadgeRequest,
52
+ UpdateBadgeResponse: () => UpdateBadgeResponse,
53
+ UpdateBadgesDisplayOrderRequest: () => UpdateBadgesDisplayOrderRequest,
54
+ UpdateBadgesDisplayOrderResponse: () => UpdateBadgesDisplayOrderResponse
55
+ });
56
+ module.exports = __toCommonJS(schemas_exports);
57
+
58
+ // src/badges-v3-badge-badges.schemas.ts
59
+ var z = __toESM(require("zod"));
60
+ var CreateBadgeRequest = z.object({
61
+ badge: z.object({
62
+ _id: z.string().describe("Badge ID.").regex(
63
+ /^[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}$/,
64
+ "Must be a valid GUID"
65
+ ).optional(),
66
+ title: z.string().describe("Text displayed on the badge."),
67
+ description: z.string().describe("Badge description.").optional().nullable(),
68
+ backgroundColor: z.string().describe(
69
+ "Badge background color in hexadecimal RGB format. <br/><br/>\nUppercase letters only.<br/>\nExample: `#FFFFFF`."
70
+ ),
71
+ textColor: z.string().describe(
72
+ "Badge text color in hexadecimal RGB format. <br/><br/>\nUppercase letters only.<br/>\nExample: `#C81B53`."
73
+ ),
74
+ icon: z.string().describe(
75
+ "URL of the badge icon image. <br/><br/>\n\nIt is recommended to use an `SVG` image format as it's resolution independent and looks good at any scale."
76
+ ).optional().nullable(),
77
+ permissionsEnabled: z.boolean().describe(
78
+ "Whether the badge has special permissions\nto access specific members-only pages. <br/><br/>\nWhen `true`, members with the badge receive special permissions,\nand Wix users can\n[manage badge permissions in the dashboard](https://support.wix.com/en/article/site-members-creating-and-managing-member-badges?tabs=Dashboard-2#managing-member-badges).\nWhen `false`, members with the badge receive no special permissions."
79
+ ).optional().nullable(),
80
+ slug: z.string().describe("Slugified name. Used to represent the badge in a URL.").optional().nullable(),
81
+ _createdDate: z.date().describe("Date the badge was created.").optional().nullable(),
82
+ _updatedDate: z.date().describe("Date the badge was updated.").optional().nullable()
83
+ }).describe("Badge to create.")
84
+ });
85
+ var CreateBadgeResponse = z.object({
86
+ _id: z.string().describe("Badge ID.").regex(
87
+ /^[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}$/,
88
+ "Must be a valid GUID"
89
+ ).optional(),
90
+ title: z.string().describe("Text displayed on the badge.").optional().nullable(),
91
+ description: z.string().describe("Badge description.").optional().nullable(),
92
+ backgroundColor: z.string().describe(
93
+ "Badge background color in hexadecimal RGB format. <br/><br/>\nUppercase letters only.<br/>\nExample: `#FFFFFF`."
94
+ ).optional().nullable(),
95
+ textColor: z.string().describe(
96
+ "Badge text color in hexadecimal RGB format. <br/><br/>\nUppercase letters only.<br/>\nExample: `#C81B53`."
97
+ ).optional().nullable(),
98
+ icon: z.string().describe(
99
+ "URL of the badge icon image. <br/><br/>\n\nIt is recommended to use an `SVG` image format as it's resolution independent and looks good at any scale."
100
+ ).optional().nullable(),
101
+ permissionsEnabled: z.boolean().describe(
102
+ "Whether the badge has special permissions\nto access specific members-only pages. <br/><br/>\nWhen `true`, members with the badge receive special permissions,\nand Wix users can\n[manage badge permissions in the dashboard](https://support.wix.com/en/article/site-members-creating-and-managing-member-badges?tabs=Dashboard-2#managing-member-badges).\nWhen `false`, members with the badge receive no special permissions."
103
+ ).optional().nullable(),
104
+ slug: z.string().describe("Slugified name. Used to represent the badge in a URL.").optional().nullable(),
105
+ _createdDate: z.date().describe("Date the badge was created.").optional().nullable(),
106
+ _updatedDate: z.date().describe("Date the badge was updated.").optional().nullable()
107
+ });
108
+ var UpdateBadgeRequest = z.object({
109
+ _id: z.string().describe("Badge ID.").regex(
110
+ /^[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}$/,
111
+ "Must be a valid GUID"
112
+ ),
113
+ badge: z.object({
114
+ _id: z.string().describe("Badge ID.").regex(
115
+ /^[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}$/,
116
+ "Must be a valid GUID"
117
+ ).optional(),
118
+ title: z.string().describe("Text displayed on the badge.").optional().nullable(),
119
+ description: z.string().describe("Badge description.").optional().nullable(),
120
+ backgroundColor: z.string().describe(
121
+ "Badge background color in hexadecimal RGB format. <br/><br/>\nUppercase letters only.<br/>\nExample: `#FFFFFF`."
122
+ ).optional().nullable(),
123
+ textColor: z.string().describe(
124
+ "Badge text color in hexadecimal RGB format. <br/><br/>\nUppercase letters only.<br/>\nExample: `#C81B53`."
125
+ ).optional().nullable(),
126
+ icon: z.string().describe(
127
+ "URL of the badge icon image. <br/><br/>\n\nIt is recommended to use an `SVG` image format as it's resolution independent and looks good at any scale."
128
+ ).optional().nullable(),
129
+ permissionsEnabled: z.boolean().describe(
130
+ "Whether the badge has special permissions\nto access specific members-only pages. <br/><br/>\nWhen `true`, members with the badge receive special permissions,\nand Wix users can\n[manage badge permissions in the dashboard](https://support.wix.com/en/article/site-members-creating-and-managing-member-badges?tabs=Dashboard-2#managing-member-badges).\nWhen `false`, members with the badge receive no special permissions."
131
+ ).optional().nullable(),
132
+ slug: z.string().describe("Slugified name. Used to represent the badge in a URL.").optional().nullable(),
133
+ _createdDate: z.date().describe("Date the badge was created.").optional().nullable(),
134
+ _updatedDate: z.date().describe("Date the badge was updated.").optional().nullable()
135
+ }).describe("Badge to update.")
136
+ });
137
+ var UpdateBadgeResponse = z.object({
138
+ _id: z.string().describe("Badge ID.").regex(
139
+ /^[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}$/,
140
+ "Must be a valid GUID"
141
+ ).optional(),
142
+ title: z.string().describe("Text displayed on the badge.").optional().nullable(),
143
+ description: z.string().describe("Badge description.").optional().nullable(),
144
+ backgroundColor: z.string().describe(
145
+ "Badge background color in hexadecimal RGB format. <br/><br/>\nUppercase letters only.<br/>\nExample: `#FFFFFF`."
146
+ ).optional().nullable(),
147
+ textColor: z.string().describe(
148
+ "Badge text color in hexadecimal RGB format. <br/><br/>\nUppercase letters only.<br/>\nExample: `#C81B53`."
149
+ ).optional().nullable(),
150
+ icon: z.string().describe(
151
+ "URL of the badge icon image. <br/><br/>\n\nIt is recommended to use an `SVG` image format as it's resolution independent and looks good at any scale."
152
+ ).optional().nullable(),
153
+ permissionsEnabled: z.boolean().describe(
154
+ "Whether the badge has special permissions\nto access specific members-only pages. <br/><br/>\nWhen `true`, members with the badge receive special permissions,\nand Wix users can\n[manage badge permissions in the dashboard](https://support.wix.com/en/article/site-members-creating-and-managing-member-badges?tabs=Dashboard-2#managing-member-badges).\nWhen `false`, members with the badge receive no special permissions."
155
+ ).optional().nullable(),
156
+ slug: z.string().describe("Slugified name. Used to represent the badge in a URL.").optional().nullable(),
157
+ _createdDate: z.date().describe("Date the badge was created.").optional().nullable(),
158
+ _updatedDate: z.date().describe("Date the badge was updated.").optional().nullable()
159
+ });
160
+ var ListBadgesRequest = z.object({
161
+ options: z.object({
162
+ paging: z.object({
163
+ limit: z.number().int().describe("Number of items to load.").min(0).optional().nullable(),
164
+ offset: z.number().int().describe("Number of items to skip in the current sort order.").min(0).optional().nullable()
165
+ }).describe(
166
+ "Pagination options. For more information, see\n[API Query Language: Paging](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language#paging)."
167
+ ).optional()
168
+ }).optional()
169
+ });
170
+ var ListBadgesResponse = z.object({
171
+ badges: z.array(
172
+ z.object({
173
+ _id: z.string().describe("Badge ID.").regex(
174
+ /^[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}$/,
175
+ "Must be a valid GUID"
176
+ ).optional(),
177
+ title: z.string().describe("Text displayed on the badge.").optional().nullable(),
178
+ description: z.string().describe("Badge description.").optional().nullable(),
179
+ backgroundColor: z.string().describe(
180
+ "Badge background color in hexadecimal RGB format. <br/><br/>\nUppercase letters only.<br/>\nExample: `#FFFFFF`."
181
+ ).optional().nullable(),
182
+ textColor: z.string().describe(
183
+ "Badge text color in hexadecimal RGB format. <br/><br/>\nUppercase letters only.<br/>\nExample: `#C81B53`."
184
+ ).optional().nullable(),
185
+ icon: z.string().describe(
186
+ "URL of the badge icon image. <br/><br/>\n\nIt is recommended to use an `SVG` image format as it's resolution independent and looks good at any scale."
187
+ ).optional().nullable(),
188
+ permissionsEnabled: z.boolean().describe(
189
+ "Whether the badge has special permissions\nto access specific members-only pages. <br/><br/>\nWhen `true`, members with the badge receive special permissions,\nand Wix users can\n[manage badge permissions in the dashboard](https://support.wix.com/en/article/site-members-creating-and-managing-member-badges?tabs=Dashboard-2#managing-member-badges).\nWhen `false`, members with the badge receive no special permissions."
190
+ ).optional().nullable(),
191
+ slug: z.string().describe("Slugified name. Used to represent the badge in a URL.").optional().nullable(),
192
+ _createdDate: z.date().describe("Date the badge was created.").optional().nullable(),
193
+ _updatedDate: z.date().describe("Date the badge was updated.").optional().nullable()
194
+ })
195
+ ).optional(),
196
+ metadata: z.object({
197
+ count: z.number().int().describe("Number of items returned in the response.").optional().nullable(),
198
+ offset: z.number().int().describe("Offset that was requested.").optional().nullable(),
199
+ total: z.number().int().describe("Total number of items that match the query.").optional().nullable(),
200
+ tooManyToCount: z.boolean().describe(
201
+ "Flag that indicates the server failed to calculate the `total` field."
202
+ ).optional().nullable()
203
+ }).describe("Metadata for the paginated results.").optional()
204
+ });
205
+ var GetBadgeRequest = z.object({
206
+ _id: z.string().describe("Badge ID.").regex(
207
+ /^[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}$/,
208
+ "Must be a valid GUID"
209
+ )
210
+ });
211
+ var GetBadgeResponse = z.object({
212
+ _id: z.string().describe("Badge ID.").regex(
213
+ /^[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}$/,
214
+ "Must be a valid GUID"
215
+ ).optional(),
216
+ title: z.string().describe("Text displayed on the badge.").optional().nullable(),
217
+ description: z.string().describe("Badge description.").optional().nullable(),
218
+ backgroundColor: z.string().describe(
219
+ "Badge background color in hexadecimal RGB format. <br/><br/>\nUppercase letters only.<br/>\nExample: `#FFFFFF`."
220
+ ).optional().nullable(),
221
+ textColor: z.string().describe(
222
+ "Badge text color in hexadecimal RGB format. <br/><br/>\nUppercase letters only.<br/>\nExample: `#C81B53`."
223
+ ).optional().nullable(),
224
+ icon: z.string().describe(
225
+ "URL of the badge icon image. <br/><br/>\n\nIt is recommended to use an `SVG` image format as it's resolution independent and looks good at any scale."
226
+ ).optional().nullable(),
227
+ permissionsEnabled: z.boolean().describe(
228
+ "Whether the badge has special permissions\nto access specific members-only pages. <br/><br/>\nWhen `true`, members with the badge receive special permissions,\nand Wix users can\n[manage badge permissions in the dashboard](https://support.wix.com/en/article/site-members-creating-and-managing-member-badges?tabs=Dashboard-2#managing-member-badges).\nWhen `false`, members with the badge receive no special permissions."
229
+ ).optional().nullable(),
230
+ slug: z.string().describe("Slugified name. Used to represent the badge in a URL.").optional().nullable(),
231
+ _createdDate: z.date().describe("Date the badge was created.").optional().nullable(),
232
+ _updatedDate: z.date().describe("Date the badge was updated.").optional().nullable()
233
+ });
234
+ var DeleteBadgeRequest = z.object({
235
+ _id: z.string().describe("Badge ID.").regex(
236
+ /^[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}$/,
237
+ "Must be a valid GUID"
238
+ )
239
+ });
240
+ var DeleteBadgeResponse = z.object({});
241
+ var AssignBadgeRequest = z.object({
242
+ _id: z.string().describe("Badge ID.").regex(
243
+ /^[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}$/,
244
+ "Must be a valid GUID"
245
+ ),
246
+ memberIds: z.array(z.string())
247
+ });
248
+ var AssignBadgeResponse = z.object({
249
+ memberIds: z.array(z.string()).optional()
250
+ });
251
+ var UnassignBadgeRequest = z.object({
252
+ _id: z.string().describe("Badge ID.").regex(
253
+ /^[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}$/,
254
+ "Must be a valid GUID"
255
+ ),
256
+ memberIds: z.array(z.string())
257
+ });
258
+ var UnassignBadgeResponse = z.object({});
259
+ var ListMembersByBadgeRequest = z.object({
260
+ _id: z.string().describe("Badge ID.").regex(
261
+ /^[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}$/,
262
+ "Must be a valid GUID"
263
+ ),
264
+ options: z.object({
265
+ paging: z.object({
266
+ limit: z.number().int().describe("Number of items to load.").min(0).optional().nullable(),
267
+ offset: z.number().int().describe("Number of items to skip in the current sort order.").min(0).optional().nullable()
268
+ }).describe(
269
+ "Pagination options. For more information, see\n[API Query Language: Paging](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language#paging)."
270
+ ).optional()
271
+ }).optional()
272
+ });
273
+ var ListMembersByBadgeResponse = z.object({
274
+ memberIds: z.array(z.string()).optional(),
275
+ metadata: z.object({
276
+ count: z.number().int().describe("Number of items returned in the response.").optional().nullable(),
277
+ offset: z.number().int().describe("Offset that was requested.").optional().nullable(),
278
+ total: z.number().int().describe("Total number of items that match the query.").optional().nullable(),
279
+ tooManyToCount: z.boolean().describe(
280
+ "Flag that indicates the server failed to calculate the `total` field."
281
+ ).optional().nullable()
282
+ }).describe("Metadata for the paginated results.").optional()
283
+ });
284
+ var ListBadgesPerMemberRequest = z.object({
285
+ memberIds: z.array(z.string()).min(1).max(100)
286
+ });
287
+ var ListBadgesPerMemberResponse = z.object({
288
+ memberBadgeIds: z.array(
289
+ z.object({
290
+ memberId: z.string().describe("Member ID.").regex(
291
+ /^[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}$/,
292
+ "Must be a valid GUID"
293
+ ).optional(),
294
+ badgeIds: z.array(z.string()).optional()
295
+ })
296
+ ).optional()
297
+ });
298
+ var GetMemberCountsPerBadgeRequest = z.object({});
299
+ var GetMemberCountsPerBadgeResponse = z.object({
300
+ badgeMemberCounts: z.array(
301
+ z.object({
302
+ badgeId: z.string().describe("Badge ID.").regex(
303
+ /^[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}$/,
304
+ "Must be a valid GUID"
305
+ ).optional(),
306
+ memberCount: z.number().int().describe("Badge member count.").optional()
307
+ })
308
+ ).optional()
309
+ });
310
+ var UpdateBadgesDisplayOrderRequest = z.object({
311
+ badgeIds: z.array(z.string()).min(1)
312
+ });
313
+ var UpdateBadgesDisplayOrderResponse = z.object({
314
+ badges: z.array(
315
+ z.object({
316
+ _id: z.string().describe("Badge ID.").regex(
317
+ /^[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}$/,
318
+ "Must be a valid GUID"
319
+ ).optional(),
320
+ title: z.string().describe("Text displayed on the badge.").optional().nullable(),
321
+ description: z.string().describe("Badge description.").optional().nullable(),
322
+ backgroundColor: z.string().describe(
323
+ "Badge background color in hexadecimal RGB format. <br/><br/>\nUppercase letters only.<br/>\nExample: `#FFFFFF`."
324
+ ).optional().nullable(),
325
+ textColor: z.string().describe(
326
+ "Badge text color in hexadecimal RGB format. <br/><br/>\nUppercase letters only.<br/>\nExample: `#C81B53`."
327
+ ).optional().nullable(),
328
+ icon: z.string().describe(
329
+ "URL of the badge icon image. <br/><br/>\n\nIt is recommended to use an `SVG` image format as it's resolution independent and looks good at any scale."
330
+ ).optional().nullable(),
331
+ permissionsEnabled: z.boolean().describe(
332
+ "Whether the badge has special permissions\nto access specific members-only pages. <br/><br/>\nWhen `true`, members with the badge receive special permissions,\nand Wix users can\n[manage badge permissions in the dashboard](https://support.wix.com/en/article/site-members-creating-and-managing-member-badges?tabs=Dashboard-2#managing-member-badges).\nWhen `false`, members with the badge receive no special permissions."
333
+ ).optional().nullable(),
334
+ slug: z.string().describe("Slugified name. Used to represent the badge in a URL.").optional().nullable(),
335
+ _createdDate: z.date().describe("Date the badge was created.").optional().nullable(),
336
+ _updatedDate: z.date().describe("Date the badge was updated.").optional().nullable()
337
+ })
338
+ ).optional()
339
+ });
340
+ // Annotate the CommonJS export names for ESM import in node:
341
+ 0 && (module.exports = {
342
+ AssignBadgeRequest,
343
+ AssignBadgeResponse,
344
+ CreateBadgeRequest,
345
+ CreateBadgeResponse,
346
+ DeleteBadgeRequest,
347
+ DeleteBadgeResponse,
348
+ GetBadgeRequest,
349
+ GetBadgeResponse,
350
+ GetMemberCountsPerBadgeRequest,
351
+ GetMemberCountsPerBadgeResponse,
352
+ ListBadgesPerMemberRequest,
353
+ ListBadgesPerMemberResponse,
354
+ ListBadgesRequest,
355
+ ListBadgesResponse,
356
+ ListMembersByBadgeRequest,
357
+ ListMembersByBadgeResponse,
358
+ UnassignBadgeRequest,
359
+ UnassignBadgeResponse,
360
+ UpdateBadgeRequest,
361
+ UpdateBadgeResponse,
362
+ UpdateBadgesDisplayOrderRequest,
363
+ UpdateBadgesDisplayOrderResponse
364
+ });
365
+ //# sourceMappingURL=schemas.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../schemas.ts","../../src/badges-v3-badge-badges.schemas.ts"],"sourcesContent":["export * from './src/badges-v3-badge-badges.schemas.js';\n","import * as z from 'zod';\n\nexport const CreateBadgeRequest = z.object({\n badge: z\n .object({\n _id: z\n .string()\n .describe('Badge 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 title: z.string().describe('Text displayed on the badge.'),\n description: z\n .string()\n .describe('Badge description.')\n .optional()\n .nullable(),\n backgroundColor: z\n .string()\n .describe(\n 'Badge background color in hexadecimal RGB format. <br/><br/>\\nUppercase letters only.<br/>\\nExample: `#FFFFFF`.'\n ),\n textColor: z\n .string()\n .describe(\n 'Badge text color in hexadecimal RGB format. <br/><br/>\\nUppercase letters only.<br/>\\nExample: `#C81B53`.'\n ),\n icon: z\n .string()\n .describe(\n \"URL of the badge icon image. <br/><br/>\\n\\nIt is recommended to use an `SVG` image format as it's resolution independent and looks good at any scale.\"\n )\n .optional()\n .nullable(),\n permissionsEnabled: z\n .boolean()\n .describe(\n 'Whether the badge has special permissions\\nto access specific members-only pages. <br/><br/>\\nWhen `true`, members with the badge receive special permissions,\\nand Wix users can\\n[manage badge permissions in the dashboard](https://support.wix.com/en/article/site-members-creating-and-managing-member-badges?tabs=Dashboard-2#managing-member-badges).\\nWhen `false`, members with the badge receive no special permissions.'\n )\n .optional()\n .nullable(),\n slug: z\n .string()\n .describe('Slugified name. Used to represent the badge in a URL.')\n .optional()\n .nullable(),\n _createdDate: z\n .date()\n .describe('Date the badge was created.')\n .optional()\n .nullable(),\n _updatedDate: z\n .date()\n .describe('Date the badge was updated.')\n .optional()\n .nullable(),\n })\n .describe('Badge to create.'),\n});\nexport const CreateBadgeResponse = z.object({\n _id: z\n .string()\n .describe('Badge 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 title: z\n .string()\n .describe('Text displayed on the badge.')\n .optional()\n .nullable(),\n description: z.string().describe('Badge description.').optional().nullable(),\n backgroundColor: z\n .string()\n .describe(\n 'Badge background color in hexadecimal RGB format. <br/><br/>\\nUppercase letters only.<br/>\\nExample: `#FFFFFF`.'\n )\n .optional()\n .nullable(),\n textColor: z\n .string()\n .describe(\n 'Badge text color in hexadecimal RGB format. <br/><br/>\\nUppercase letters only.<br/>\\nExample: `#C81B53`.'\n )\n .optional()\n .nullable(),\n icon: z\n .string()\n .describe(\n \"URL of the badge icon image. <br/><br/>\\n\\nIt is recommended to use an `SVG` image format as it's resolution independent and looks good at any scale.\"\n )\n .optional()\n .nullable(),\n permissionsEnabled: z\n .boolean()\n .describe(\n 'Whether the badge has special permissions\\nto access specific members-only pages. <br/><br/>\\nWhen `true`, members with the badge receive special permissions,\\nand Wix users can\\n[manage badge permissions in the dashboard](https://support.wix.com/en/article/site-members-creating-and-managing-member-badges?tabs=Dashboard-2#managing-member-badges).\\nWhen `false`, members with the badge receive no special permissions.'\n )\n .optional()\n .nullable(),\n slug: z\n .string()\n .describe('Slugified name. Used to represent the badge in a URL.')\n .optional()\n .nullable(),\n _createdDate: z\n .date()\n .describe('Date the badge was created.')\n .optional()\n .nullable(),\n _updatedDate: z\n .date()\n .describe('Date the badge was updated.')\n .optional()\n .nullable(),\n});\nexport const UpdateBadgeRequest = z.object({\n _id: z\n .string()\n .describe('Badge 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 badge: z\n .object({\n _id: z\n .string()\n .describe('Badge 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 title: z\n .string()\n .describe('Text displayed on the badge.')\n .optional()\n .nullable(),\n description: z\n .string()\n .describe('Badge description.')\n .optional()\n .nullable(),\n backgroundColor: z\n .string()\n .describe(\n 'Badge background color in hexadecimal RGB format. <br/><br/>\\nUppercase letters only.<br/>\\nExample: `#FFFFFF`.'\n )\n .optional()\n .nullable(),\n textColor: z\n .string()\n .describe(\n 'Badge text color in hexadecimal RGB format. <br/><br/>\\nUppercase letters only.<br/>\\nExample: `#C81B53`.'\n )\n .optional()\n .nullable(),\n icon: z\n .string()\n .describe(\n \"URL of the badge icon image. <br/><br/>\\n\\nIt is recommended to use an `SVG` image format as it's resolution independent and looks good at any scale.\"\n )\n .optional()\n .nullable(),\n permissionsEnabled: z\n .boolean()\n .describe(\n 'Whether the badge has special permissions\\nto access specific members-only pages. <br/><br/>\\nWhen `true`, members with the badge receive special permissions,\\nand Wix users can\\n[manage badge permissions in the dashboard](https://support.wix.com/en/article/site-members-creating-and-managing-member-badges?tabs=Dashboard-2#managing-member-badges).\\nWhen `false`, members with the badge receive no special permissions.'\n )\n .optional()\n .nullable(),\n slug: z\n .string()\n .describe('Slugified name. Used to represent the badge in a URL.')\n .optional()\n .nullable(),\n _createdDate: z\n .date()\n .describe('Date the badge was created.')\n .optional()\n .nullable(),\n _updatedDate: z\n .date()\n .describe('Date the badge was updated.')\n .optional()\n .nullable(),\n })\n .describe('Badge to update.'),\n});\nexport const UpdateBadgeResponse = z.object({\n _id: z\n .string()\n .describe('Badge 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 title: z\n .string()\n .describe('Text displayed on the badge.')\n .optional()\n .nullable(),\n description: z.string().describe('Badge description.').optional().nullable(),\n backgroundColor: z\n .string()\n .describe(\n 'Badge background color in hexadecimal RGB format. <br/><br/>\\nUppercase letters only.<br/>\\nExample: `#FFFFFF`.'\n )\n .optional()\n .nullable(),\n textColor: z\n .string()\n .describe(\n 'Badge text color in hexadecimal RGB format. <br/><br/>\\nUppercase letters only.<br/>\\nExample: `#C81B53`.'\n )\n .optional()\n .nullable(),\n icon: z\n .string()\n .describe(\n \"URL of the badge icon image. <br/><br/>\\n\\nIt is recommended to use an `SVG` image format as it's resolution independent and looks good at any scale.\"\n )\n .optional()\n .nullable(),\n permissionsEnabled: z\n .boolean()\n .describe(\n 'Whether the badge has special permissions\\nto access specific members-only pages. <br/><br/>\\nWhen `true`, members with the badge receive special permissions,\\nand Wix users can\\n[manage badge permissions in the dashboard](https://support.wix.com/en/article/site-members-creating-and-managing-member-badges?tabs=Dashboard-2#managing-member-badges).\\nWhen `false`, members with the badge receive no special permissions.'\n )\n .optional()\n .nullable(),\n slug: z\n .string()\n .describe('Slugified name. Used to represent the badge in a URL.')\n .optional()\n .nullable(),\n _createdDate: z\n .date()\n .describe('Date the badge was created.')\n .optional()\n .nullable(),\n _updatedDate: z\n .date()\n .describe('Date the badge was updated.')\n .optional()\n .nullable(),\n});\nexport const ListBadgesRequest = z.object({\n options: z\n .object({\n paging: z\n .object({\n limit: z\n .number()\n .int()\n .describe('Number of items to load.')\n .min(0)\n .optional()\n .nullable(),\n offset: z\n .number()\n .int()\n .describe('Number of items to skip in the current sort order.')\n .min(0)\n .optional()\n .nullable(),\n })\n .describe(\n 'Pagination options. For more information, see\\n[API Query Language: Paging](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language#paging).'\n )\n .optional(),\n })\n .optional(),\n});\nexport const ListBadgesResponse = z.object({\n badges: z\n .array(\n z.object({\n _id: z\n .string()\n .describe('Badge 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 title: z\n .string()\n .describe('Text displayed on the badge.')\n .optional()\n .nullable(),\n description: z\n .string()\n .describe('Badge description.')\n .optional()\n .nullable(),\n backgroundColor: z\n .string()\n .describe(\n 'Badge background color in hexadecimal RGB format. <br/><br/>\\nUppercase letters only.<br/>\\nExample: `#FFFFFF`.'\n )\n .optional()\n .nullable(),\n textColor: z\n .string()\n .describe(\n 'Badge text color in hexadecimal RGB format. <br/><br/>\\nUppercase letters only.<br/>\\nExample: `#C81B53`.'\n )\n .optional()\n .nullable(),\n icon: z\n .string()\n .describe(\n \"URL of the badge icon image. <br/><br/>\\n\\nIt is recommended to use an `SVG` image format as it's resolution independent and looks good at any scale.\"\n )\n .optional()\n .nullable(),\n permissionsEnabled: z\n .boolean()\n .describe(\n 'Whether the badge has special permissions\\nto access specific members-only pages. <br/><br/>\\nWhen `true`, members with the badge receive special permissions,\\nand Wix users can\\n[manage badge permissions in the dashboard](https://support.wix.com/en/article/site-members-creating-and-managing-member-badges?tabs=Dashboard-2#managing-member-badges).\\nWhen `false`, members with the badge receive no special permissions.'\n )\n .optional()\n .nullable(),\n slug: z\n .string()\n .describe('Slugified name. Used to represent the badge in a URL.')\n .optional()\n .nullable(),\n _createdDate: z\n .date()\n .describe('Date the badge was created.')\n .optional()\n .nullable(),\n _updatedDate: z\n .date()\n .describe('Date the badge was updated.')\n .optional()\n .nullable(),\n })\n )\n .optional(),\n metadata: z\n .object({\n count: z\n .number()\n .int()\n .describe('Number of items returned in the response.')\n .optional()\n .nullable(),\n offset: z\n .number()\n .int()\n .describe('Offset that was requested.')\n .optional()\n .nullable(),\n total: z\n .number()\n .int()\n .describe('Total number of items that match the query.')\n .optional()\n .nullable(),\n tooManyToCount: z\n .boolean()\n .describe(\n 'Flag that indicates the server failed to calculate the `total` field.'\n )\n .optional()\n .nullable(),\n })\n .describe('Metadata for the paginated results.')\n .optional(),\n});\nexport const GetBadgeRequest = z.object({\n _id: z\n .string()\n .describe('Badge 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});\nexport const GetBadgeResponse = z.object({\n _id: z\n .string()\n .describe('Badge 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 title: z\n .string()\n .describe('Text displayed on the badge.')\n .optional()\n .nullable(),\n description: z.string().describe('Badge description.').optional().nullable(),\n backgroundColor: z\n .string()\n .describe(\n 'Badge background color in hexadecimal RGB format. <br/><br/>\\nUppercase letters only.<br/>\\nExample: `#FFFFFF`.'\n )\n .optional()\n .nullable(),\n textColor: z\n .string()\n .describe(\n 'Badge text color in hexadecimal RGB format. <br/><br/>\\nUppercase letters only.<br/>\\nExample: `#C81B53`.'\n )\n .optional()\n .nullable(),\n icon: z\n .string()\n .describe(\n \"URL of the badge icon image. <br/><br/>\\n\\nIt is recommended to use an `SVG` image format as it's resolution independent and looks good at any scale.\"\n )\n .optional()\n .nullable(),\n permissionsEnabled: z\n .boolean()\n .describe(\n 'Whether the badge has special permissions\\nto access specific members-only pages. <br/><br/>\\nWhen `true`, members with the badge receive special permissions,\\nand Wix users can\\n[manage badge permissions in the dashboard](https://support.wix.com/en/article/site-members-creating-and-managing-member-badges?tabs=Dashboard-2#managing-member-badges).\\nWhen `false`, members with the badge receive no special permissions.'\n )\n .optional()\n .nullable(),\n slug: z\n .string()\n .describe('Slugified name. Used to represent the badge in a URL.')\n .optional()\n .nullable(),\n _createdDate: z\n .date()\n .describe('Date the badge was created.')\n .optional()\n .nullable(),\n _updatedDate: z\n .date()\n .describe('Date the badge was updated.')\n .optional()\n .nullable(),\n});\nexport const DeleteBadgeRequest = z.object({\n _id: z\n .string()\n .describe('Badge 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});\nexport const DeleteBadgeResponse = z.object({});\nexport const AssignBadgeRequest = z.object({\n _id: z\n .string()\n .describe('Badge 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 memberIds: z.array(z.string()),\n});\nexport const AssignBadgeResponse = z.object({\n memberIds: z.array(z.string()).optional(),\n});\nexport const UnassignBadgeRequest = z.object({\n _id: z\n .string()\n .describe('Badge 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 memberIds: z.array(z.string()),\n});\nexport const UnassignBadgeResponse = z.object({});\nexport const ListMembersByBadgeRequest = z.object({\n _id: z\n .string()\n .describe('Badge 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 options: z\n .object({\n paging: z\n .object({\n limit: z\n .number()\n .int()\n .describe('Number of items to load.')\n .min(0)\n .optional()\n .nullable(),\n offset: z\n .number()\n .int()\n .describe('Number of items to skip in the current sort order.')\n .min(0)\n .optional()\n .nullable(),\n })\n .describe(\n 'Pagination options. For more information, see\\n[API Query Language: Paging](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language#paging).'\n )\n .optional(),\n })\n .optional(),\n});\nexport const ListMembersByBadgeResponse = z.object({\n memberIds: z.array(z.string()).optional(),\n metadata: z\n .object({\n count: z\n .number()\n .int()\n .describe('Number of items returned in the response.')\n .optional()\n .nullable(),\n offset: z\n .number()\n .int()\n .describe('Offset that was requested.')\n .optional()\n .nullable(),\n total: z\n .number()\n .int()\n .describe('Total number of items that match the query.')\n .optional()\n .nullable(),\n tooManyToCount: z\n .boolean()\n .describe(\n 'Flag that indicates the server failed to calculate the `total` field.'\n )\n .optional()\n .nullable(),\n })\n .describe('Metadata for the paginated results.')\n .optional(),\n});\nexport const ListBadgesPerMemberRequest = z.object({\n memberIds: z.array(z.string()).min(1).max(100),\n});\nexport const ListBadgesPerMemberResponse = z.object({\n memberBadgeIds: z\n .array(\n z.object({\n memberId: z\n .string()\n .describe('Member 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 badgeIds: z.array(z.string()).optional(),\n })\n )\n .optional(),\n});\nexport const GetMemberCountsPerBadgeRequest = z.object({});\nexport const GetMemberCountsPerBadgeResponse = z.object({\n badgeMemberCounts: z\n .array(\n z.object({\n badgeId: z\n .string()\n .describe('Badge 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 memberCount: z\n .number()\n .int()\n .describe('Badge member count.')\n .optional(),\n })\n )\n .optional(),\n});\nexport const UpdateBadgesDisplayOrderRequest = z.object({\n badgeIds: z.array(z.string()).min(1),\n});\nexport const UpdateBadgesDisplayOrderResponse = z.object({\n badges: z\n .array(\n z.object({\n _id: z\n .string()\n .describe('Badge 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 title: z\n .string()\n .describe('Text displayed on the badge.')\n .optional()\n .nullable(),\n description: z\n .string()\n .describe('Badge description.')\n .optional()\n .nullable(),\n backgroundColor: z\n .string()\n .describe(\n 'Badge background color in hexadecimal RGB format. <br/><br/>\\nUppercase letters only.<br/>\\nExample: `#FFFFFF`.'\n )\n .optional()\n .nullable(),\n textColor: z\n .string()\n .describe(\n 'Badge text color in hexadecimal RGB format. <br/><br/>\\nUppercase letters only.<br/>\\nExample: `#C81B53`.'\n )\n .optional()\n .nullable(),\n icon: z\n .string()\n .describe(\n \"URL of the badge icon image. <br/><br/>\\n\\nIt is recommended to use an `SVG` image format as it's resolution independent and looks good at any scale.\"\n )\n .optional()\n .nullable(),\n permissionsEnabled: z\n .boolean()\n .describe(\n 'Whether the badge has special permissions\\nto access specific members-only pages. <br/><br/>\\nWhen `true`, members with the badge receive special permissions,\\nand Wix users can\\n[manage badge permissions in the dashboard](https://support.wix.com/en/article/site-members-creating-and-managing-member-badges?tabs=Dashboard-2#managing-member-badges).\\nWhen `false`, members with the badge receive no special permissions.'\n )\n .optional()\n .nullable(),\n slug: z\n .string()\n .describe('Slugified name. Used to represent the badge in a URL.')\n .optional()\n .nullable(),\n _createdDate: z\n .date()\n .describe('Date the badge was created.')\n .optional()\n .nullable(),\n _updatedDate: z\n .date()\n .describe('Date the badge was updated.')\n .optional()\n .nullable(),\n })\n )\n .optional(),\n});\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;ACAA,QAAmB;AA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