@wix/auto_sdk_members_members-about 1.0.15 → 1.0.17
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/index.d.ts +1 -0
- package/build/cjs/index.js +18 -0
- package/build/cjs/index.js.map +1 -0
- package/build/cjs/index.typings.d.ts +1 -0
- package/build/cjs/index.typings.js +18 -0
- package/build/cjs/index.typings.js.map +1 -0
- package/build/cjs/meta.d.ts +1 -0
- package/build/cjs/meta.js +18 -0
- package/build/cjs/meta.js.map +1 -0
- package/build/cjs/src/members-about-v2-member-about-members-about.context.d.ts +26 -0
- package/build/cjs/src/members-about-v2-member-about-members-about.context.js +61 -0
- package/build/cjs/src/members-about-v2-member-about-members-about.context.js.map +1 -0
- package/build/cjs/src/members-about-v2-member-about-members-about.http.d.ts +34 -0
- package/build/cjs/src/members-about-v2-member-about-members-about.http.js +509 -0
- package/build/cjs/src/members-about-v2-member-about-members-about.http.js.map +1 -0
- package/build/cjs/src/members-about-v2-member-about-members-about.meta.d.ts +24 -0
- package/build/cjs/src/members-about-v2-member-about-members-about.meta.js +142 -0
- package/build/cjs/src/members-about-v2-member-about-members-about.meta.js.map +1 -0
- package/build/cjs/src/members-about-v2-member-about-members-about.public.d.ts +73 -0
- package/build/cjs/src/members-about-v2-member-about-members-about.public.js +200 -0
- package/build/cjs/src/members-about-v2-member-about-members-about.public.js.map +1 -0
- package/build/{internal/meta.d.mts → cjs/src/members-about-v2-member-about-members-about.types.d.ts} +302 -168
- package/build/cjs/src/members-about-v2-member-about-members-about.types.js +327 -0
- package/build/cjs/src/members-about-v2-member-about-members-about.types.js.map +1 -0
- package/build/{members-about-v2-member-about-members-about.universal-mKXwvq17.d.mts → cjs/src/members-about-v2-member-about-members-about.universal.d.ts} +350 -164
- package/build/cjs/src/members-about-v2-member-about-members-about.universal.js +631 -0
- package/build/cjs/src/members-about-v2-member-about-members-about.universal.js.map +1 -0
- package/build/es/index.d.ts +1 -0
- package/build/es/index.js +2 -0
- package/build/es/index.js.map +1 -0
- package/build/es/index.typings.d.ts +1 -0
- package/build/es/index.typings.js +2 -0
- package/build/es/index.typings.js.map +1 -0
- package/build/es/meta.d.ts +1 -0
- package/build/es/meta.js +2 -0
- package/build/es/meta.js.map +1 -0
- package/build/es/src/members-about-v2-member-about-members-about.context.d.ts +26 -0
- package/build/es/src/members-about-v2-member-about-members-about.context.js +26 -0
- package/build/es/src/members-about-v2-member-about-members-about.context.js.map +1 -0
- package/build/es/src/members-about-v2-member-about-members-about.http.d.ts +34 -0
- package/build/es/src/members-about-v2-member-about-members-about.http.js +500 -0
- package/build/es/src/members-about-v2-member-about-members-about.http.js.map +1 -0
- package/build/es/src/members-about-v2-member-about-members-about.meta.d.ts +24 -0
- package/build/es/src/members-about-v2-member-about-members-about.meta.js +110 -0
- package/build/es/src/members-about-v2-member-about-members-about.meta.js.map +1 -0
- package/build/es/src/members-about-v2-member-about-members-about.public.d.ts +73 -0
- package/build/es/src/members-about-v2-member-about-members-about.public.js +159 -0
- package/build/es/src/members-about-v2-member-about-members-about.public.js.map +1 -0
- package/build/{meta.d.mts → es/src/members-about-v2-member-about-members-about.types.d.ts} +302 -168
- package/build/es/src/members-about-v2-member-about-members-about.types.js +324 -0
- package/build/es/src/members-about-v2-member-about-members-about.types.js.map +1 -0
- package/build/{internal/members-about-v2-member-about-members-about.universal-mKXwvq17.d.mts → es/src/members-about-v2-member-about-members-about.universal.d.ts} +350 -164
- package/build/es/src/members-about-v2-member-about-members-about.universal.js +599 -0
- package/build/es/src/members-about-v2-member-about-members-about.universal.js.map +1 -0
- package/build/internal/cjs/index.d.ts +1 -0
- package/build/internal/cjs/index.js +18 -0
- package/build/internal/cjs/index.js.map +1 -0
- package/build/internal/cjs/index.typings.d.ts +1 -0
- package/build/internal/cjs/index.typings.js +18 -0
- package/build/internal/cjs/index.typings.js.map +1 -0
- package/build/internal/cjs/meta.d.ts +1 -0
- package/build/internal/cjs/meta.js +18 -0
- package/build/internal/cjs/meta.js.map +1 -0
- package/build/internal/cjs/src/members-about-v2-member-about-members-about.context.d.ts +26 -0
- package/build/internal/cjs/src/members-about-v2-member-about-members-about.context.js +61 -0
- package/build/internal/cjs/src/members-about-v2-member-about-members-about.context.js.map +1 -0
- package/build/internal/cjs/src/members-about-v2-member-about-members-about.http.d.ts +34 -0
- package/build/internal/cjs/src/members-about-v2-member-about-members-about.http.js +509 -0
- package/build/internal/cjs/src/members-about-v2-member-about-members-about.http.js.map +1 -0
- package/build/internal/cjs/src/members-about-v2-member-about-members-about.meta.d.ts +24 -0
- package/build/internal/cjs/src/members-about-v2-member-about-members-about.meta.js +142 -0
- package/build/internal/cjs/src/members-about-v2-member-about-members-about.meta.js.map +1 -0
- package/build/internal/cjs/src/members-about-v2-member-about-members-about.public.d.ts +73 -0
- package/build/internal/cjs/src/members-about-v2-member-about-members-about.public.js +200 -0
- package/build/internal/cjs/src/members-about-v2-member-about-members-about.public.js.map +1 -0
- package/build/{meta.d.ts → internal/cjs/src/members-about-v2-member-about-members-about.types.d.ts} +302 -168
- package/build/internal/cjs/src/members-about-v2-member-about-members-about.types.js +327 -0
- package/build/internal/cjs/src/members-about-v2-member-about-members-about.types.js.map +1 -0
- package/build/internal/{members-about-v2-member-about-members-about.universal-mKXwvq17.d.ts → cjs/src/members-about-v2-member-about-members-about.universal.d.ts} +350 -164
- package/build/internal/cjs/src/members-about-v2-member-about-members-about.universal.js +631 -0
- package/build/internal/cjs/src/members-about-v2-member-about-members-about.universal.js.map +1 -0
- package/build/internal/es/index.d.ts +1 -0
- package/build/internal/es/index.js +2 -0
- package/build/internal/es/index.js.map +1 -0
- package/build/internal/es/index.typings.d.ts +1 -0
- package/build/internal/es/index.typings.js +2 -0
- package/build/internal/es/index.typings.js.map +1 -0
- package/build/internal/es/meta.d.ts +1 -0
- package/build/internal/es/meta.js +2 -0
- package/build/internal/es/meta.js.map +1 -0
- package/build/internal/es/src/members-about-v2-member-about-members-about.context.d.ts +26 -0
- package/build/internal/es/src/members-about-v2-member-about-members-about.context.js +26 -0
- package/build/internal/es/src/members-about-v2-member-about-members-about.context.js.map +1 -0
- package/build/internal/es/src/members-about-v2-member-about-members-about.http.d.ts +34 -0
- package/build/internal/es/src/members-about-v2-member-about-members-about.http.js +500 -0
- package/build/internal/es/src/members-about-v2-member-about-members-about.http.js.map +1 -0
- package/build/internal/es/src/members-about-v2-member-about-members-about.meta.d.ts +24 -0
- package/build/internal/es/src/members-about-v2-member-about-members-about.meta.js +110 -0
- package/build/internal/es/src/members-about-v2-member-about-members-about.meta.js.map +1 -0
- package/build/internal/es/src/members-about-v2-member-about-members-about.public.d.ts +73 -0
- package/build/internal/es/src/members-about-v2-member-about-members-about.public.js +159 -0
- package/build/internal/es/src/members-about-v2-member-about-members-about.public.js.map +1 -0
- package/build/internal/{meta.d.ts → es/src/members-about-v2-member-about-members-about.types.d.ts} +302 -168
- package/build/internal/es/src/members-about-v2-member-about-members-about.types.js +324 -0
- package/build/internal/es/src/members-about-v2-member-about-members-about.types.js.map +1 -0
- package/build/{members-about-v2-member-about-members-about.universal-mKXwvq17.d.ts → internal/es/src/members-about-v2-member-about-members-about.universal.d.ts} +350 -164
- package/build/internal/es/src/members-about-v2-member-about-members-about.universal.js +599 -0
- package/build/internal/es/src/members-about-v2-member-about-members-about.universal.js.map +1 -0
- package/package.json +13 -14
- package/build/index.d.mts +0 -90
- package/build/index.d.ts +0 -90
- package/build/index.js +0 -1188
- package/build/index.js.map +0 -1
- package/build/index.mjs +0 -1124
- package/build/index.mjs.map +0 -1
- package/build/internal/index.d.mts +0 -90
- package/build/internal/index.d.ts +0 -90
- package/build/internal/index.js +0 -1188
- package/build/internal/index.js.map +0 -1
- package/build/internal/index.mjs +0 -1124
- package/build/internal/index.mjs.map +0 -1
- package/build/internal/meta.js +0 -624
- package/build/internal/meta.js.map +0 -1
- package/build/internal/meta.mjs +0 -592
- package/build/internal/meta.mjs.map +0 -1
- package/build/meta.js +0 -624
- package/build/meta.js.map +0 -1
- package/build/meta.mjs +0 -592
- package/build/meta.mjs.map +0 -1
package/build/internal/index.mjs
DELETED
@@ -1,1124 +0,0 @@
|
|
1
|
-
// src/members-about-v2-member-about-members-about.public.ts
|
2
|
-
import { renameKeysFromRESTResponseToSDKResponse as renameKeysFromRESTResponseToSDKResponse2 } from "@wix/sdk-runtime/rename-all-nested-keys";
|
3
|
-
import { transformRESTFloatToSDKFloat as transformRESTFloatToSDKFloat2 } from "@wix/sdk-runtime/transformations/float";
|
4
|
-
import { transformRESTTimestampToSDKTimestamp as transformRESTTimestampToSDKTimestamp2 } from "@wix/sdk-runtime/transformations/timestamp";
|
5
|
-
import { transformPaths as transformPaths2 } from "@wix/sdk-runtime/transformations/transform-paths";
|
6
|
-
import { EventDefinition } from "@wix/sdk-types";
|
7
|
-
|
8
|
-
// src/members-about-v2-member-about-members-about.universal.ts
|
9
|
-
import { transformError as sdkTransformError } from "@wix/sdk-runtime/transform-error";
|
10
|
-
import { queryBuilder } from "@wix/sdk-runtime/query-builder";
|
11
|
-
import {
|
12
|
-
renameKeysFromSDKRequestToRESTRequest,
|
13
|
-
renameKeysFromRESTResponseToSDKResponse
|
14
|
-
} from "@wix/sdk-runtime/rename-all-nested-keys";
|
15
|
-
|
16
|
-
// src/members-about-v2-member-about-members-about.http.ts
|
17
|
-
import { toURLSearchParams } from "@wix/sdk-runtime/rest-modules";
|
18
|
-
import { transformSDKFloatToRESTFloat } from "@wix/sdk-runtime/transformations/float";
|
19
|
-
import { transformRESTFloatToSDKFloat } from "@wix/sdk-runtime/transformations/float";
|
20
|
-
import { transformSDKTimestampToRESTTimestamp } from "@wix/sdk-runtime/transformations/timestamp";
|
21
|
-
import { transformRESTTimestampToSDKTimestamp } from "@wix/sdk-runtime/transformations/timestamp";
|
22
|
-
import { transformPaths } from "@wix/sdk-runtime/transformations/transform-paths";
|
23
|
-
import { resolveUrl } from "@wix/sdk-runtime/rest-modules";
|
24
|
-
function resolveWixMembersAboutV2MembersAboutUrl(opts) {
|
25
|
-
const domainToMappings = {
|
26
|
-
"bo._base_domain_": [
|
27
|
-
{
|
28
|
-
srcPath: "/members-about-api",
|
29
|
-
destPath: ""
|
30
|
-
},
|
31
|
-
{
|
32
|
-
srcPath: "/members/v2/abouts",
|
33
|
-
destPath: "/v2/abouts"
|
34
|
-
}
|
35
|
-
],
|
36
|
-
"wixbo.ai": [
|
37
|
-
{
|
38
|
-
srcPath: "/members-about-api",
|
39
|
-
destPath: ""
|
40
|
-
},
|
41
|
-
{
|
42
|
-
srcPath: "/members/v2/abouts",
|
43
|
-
destPath: "/v2/abouts"
|
44
|
-
}
|
45
|
-
],
|
46
|
-
"wix-bo.com": [
|
47
|
-
{
|
48
|
-
srcPath: "/members-about-api",
|
49
|
-
destPath: ""
|
50
|
-
},
|
51
|
-
{
|
52
|
-
srcPath: "/members/v2/abouts",
|
53
|
-
destPath: "/v2/abouts"
|
54
|
-
}
|
55
|
-
],
|
56
|
-
"www.wixapis.com": [
|
57
|
-
{
|
58
|
-
srcPath: "/members/v2/abouts",
|
59
|
-
destPath: "/v2/abouts"
|
60
|
-
}
|
61
|
-
]
|
62
|
-
};
|
63
|
-
return resolveUrl(Object.assign(opts, { domainToMappings }));
|
64
|
-
}
|
65
|
-
var PACKAGE_NAME = "@wix/auto_sdk_members_members-about";
|
66
|
-
function createMemberAbout(payload) {
|
67
|
-
function __createMemberAbout({ host }) {
|
68
|
-
const serializedData = transformPaths(payload, [
|
69
|
-
{
|
70
|
-
transformFn: transformSDKFloatToRESTFloat,
|
71
|
-
paths: [
|
72
|
-
{
|
73
|
-
path: "memberAbout.content.nodes.galleryData.items.image.media.duration"
|
74
|
-
},
|
75
|
-
{
|
76
|
-
path: "memberAbout.content.nodes.galleryData.items.video.media.duration"
|
77
|
-
},
|
78
|
-
{
|
79
|
-
path: "memberAbout.content.nodes.galleryData.items.video.thumbnail.duration"
|
80
|
-
},
|
81
|
-
{ path: "memberAbout.content.nodes.galleryData.options.item.ratio" },
|
82
|
-
{ path: "memberAbout.content.nodes.imageData.image.duration" },
|
83
|
-
{ path: "memberAbout.content.nodes.mapData.mapSettings.lat" },
|
84
|
-
{ path: "memberAbout.content.nodes.mapData.mapSettings.lng" },
|
85
|
-
{ path: "memberAbout.content.nodes.pollData.poll.image.duration" },
|
86
|
-
{
|
87
|
-
path: "memberAbout.content.nodes.pollData.poll.options.image.duration"
|
88
|
-
},
|
89
|
-
{
|
90
|
-
path: "memberAbout.content.nodes.pollData.design.poll.background.image.duration"
|
91
|
-
},
|
92
|
-
{ path: "memberAbout.content.nodes.appEmbedData.image.duration" },
|
93
|
-
{ path: "memberAbout.content.nodes.videoData.video.duration" },
|
94
|
-
{ path: "memberAbout.content.nodes.videoData.thumbnail.duration" },
|
95
|
-
{ path: "memberAbout.content.nodes.audioData.audio.duration" },
|
96
|
-
{ path: "memberAbout.content.nodes.audioData.coverImage.duration" }
|
97
|
-
]
|
98
|
-
},
|
99
|
-
{
|
100
|
-
transformFn: transformSDKTimestampToRESTTimestamp,
|
101
|
-
paths: [
|
102
|
-
{ path: "memberAbout.content.metadata.createdTimestamp" },
|
103
|
-
{ path: "memberAbout.content.metadata.updatedTimestamp" }
|
104
|
-
]
|
105
|
-
}
|
106
|
-
]);
|
107
|
-
const metadata = {
|
108
|
-
entityFqdn: "wix.members.about.v2.member_about",
|
109
|
-
method: "POST",
|
110
|
-
methodFqn: "wix.members.about.v2.MembersAbout.CreateMemberAbout",
|
111
|
-
packageName: PACKAGE_NAME,
|
112
|
-
url: resolveWixMembersAboutV2MembersAboutUrl({
|
113
|
-
protoPath: "/v2/abouts",
|
114
|
-
data: serializedData,
|
115
|
-
host
|
116
|
-
}),
|
117
|
-
data: serializedData,
|
118
|
-
transformResponse: (payload2) => transformPaths(payload2, [
|
119
|
-
{
|
120
|
-
transformFn: transformRESTFloatToSDKFloat,
|
121
|
-
paths: [
|
122
|
-
{
|
123
|
-
path: "memberAbout.content.nodes.galleryData.items.image.media.duration"
|
124
|
-
},
|
125
|
-
{
|
126
|
-
path: "memberAbout.content.nodes.galleryData.items.video.media.duration"
|
127
|
-
},
|
128
|
-
{
|
129
|
-
path: "memberAbout.content.nodes.galleryData.items.video.thumbnail.duration"
|
130
|
-
},
|
131
|
-
{
|
132
|
-
path: "memberAbout.content.nodes.galleryData.options.item.ratio"
|
133
|
-
},
|
134
|
-
{ path: "memberAbout.content.nodes.imageData.image.duration" },
|
135
|
-
{ path: "memberAbout.content.nodes.mapData.mapSettings.lat" },
|
136
|
-
{ path: "memberAbout.content.nodes.mapData.mapSettings.lng" },
|
137
|
-
{
|
138
|
-
path: "memberAbout.content.nodes.pollData.poll.image.duration"
|
139
|
-
},
|
140
|
-
{
|
141
|
-
path: "memberAbout.content.nodes.pollData.poll.options.image.duration"
|
142
|
-
},
|
143
|
-
{
|
144
|
-
path: "memberAbout.content.nodes.pollData.design.poll.background.image.duration"
|
145
|
-
},
|
146
|
-
{ path: "memberAbout.content.nodes.appEmbedData.image.duration" },
|
147
|
-
{ path: "memberAbout.content.nodes.videoData.video.duration" },
|
148
|
-
{
|
149
|
-
path: "memberAbout.content.nodes.videoData.thumbnail.duration"
|
150
|
-
},
|
151
|
-
{ path: "memberAbout.content.nodes.audioData.audio.duration" },
|
152
|
-
{
|
153
|
-
path: "memberAbout.content.nodes.audioData.coverImage.duration"
|
154
|
-
}
|
155
|
-
]
|
156
|
-
},
|
157
|
-
{
|
158
|
-
transformFn: transformRESTTimestampToSDKTimestamp,
|
159
|
-
paths: [
|
160
|
-
{ path: "memberAbout.content.metadata.createdTimestamp" },
|
161
|
-
{ path: "memberAbout.content.metadata.updatedTimestamp" }
|
162
|
-
]
|
163
|
-
}
|
164
|
-
])
|
165
|
-
};
|
166
|
-
return metadata;
|
167
|
-
}
|
168
|
-
return __createMemberAbout;
|
169
|
-
}
|
170
|
-
function updateMemberAbout(payload) {
|
171
|
-
function __updateMemberAbout({ host }) {
|
172
|
-
const serializedData = transformPaths(payload, [
|
173
|
-
{
|
174
|
-
transformFn: transformSDKFloatToRESTFloat,
|
175
|
-
paths: [
|
176
|
-
{
|
177
|
-
path: "memberAbout.content.nodes.galleryData.items.image.media.duration"
|
178
|
-
},
|
179
|
-
{
|
180
|
-
path: "memberAbout.content.nodes.galleryData.items.video.media.duration"
|
181
|
-
},
|
182
|
-
{
|
183
|
-
path: "memberAbout.content.nodes.galleryData.items.video.thumbnail.duration"
|
184
|
-
},
|
185
|
-
{ path: "memberAbout.content.nodes.galleryData.options.item.ratio" },
|
186
|
-
{ path: "memberAbout.content.nodes.imageData.image.duration" },
|
187
|
-
{ path: "memberAbout.content.nodes.mapData.mapSettings.lat" },
|
188
|
-
{ path: "memberAbout.content.nodes.mapData.mapSettings.lng" },
|
189
|
-
{ path: "memberAbout.content.nodes.pollData.poll.image.duration" },
|
190
|
-
{
|
191
|
-
path: "memberAbout.content.nodes.pollData.poll.options.image.duration"
|
192
|
-
},
|
193
|
-
{
|
194
|
-
path: "memberAbout.content.nodes.pollData.design.poll.background.image.duration"
|
195
|
-
},
|
196
|
-
{ path: "memberAbout.content.nodes.appEmbedData.image.duration" },
|
197
|
-
{ path: "memberAbout.content.nodes.videoData.video.duration" },
|
198
|
-
{ path: "memberAbout.content.nodes.videoData.thumbnail.duration" },
|
199
|
-
{ path: "memberAbout.content.nodes.audioData.audio.duration" },
|
200
|
-
{ path: "memberAbout.content.nodes.audioData.coverImage.duration" }
|
201
|
-
]
|
202
|
-
},
|
203
|
-
{
|
204
|
-
transformFn: transformSDKTimestampToRESTTimestamp,
|
205
|
-
paths: [
|
206
|
-
{ path: "memberAbout.content.metadata.createdTimestamp" },
|
207
|
-
{ path: "memberAbout.content.metadata.updatedTimestamp" }
|
208
|
-
]
|
209
|
-
}
|
210
|
-
]);
|
211
|
-
const metadata = {
|
212
|
-
entityFqdn: "wix.members.about.v2.member_about",
|
213
|
-
method: "PATCH",
|
214
|
-
methodFqn: "wix.members.about.v2.MembersAbout.UpdateMemberAbout",
|
215
|
-
packageName: PACKAGE_NAME,
|
216
|
-
url: resolveWixMembersAboutV2MembersAboutUrl({
|
217
|
-
protoPath: "/v2/abouts/{memberAbout.id}",
|
218
|
-
data: serializedData,
|
219
|
-
host
|
220
|
-
}),
|
221
|
-
data: serializedData,
|
222
|
-
transformResponse: (payload2) => transformPaths(payload2, [
|
223
|
-
{
|
224
|
-
transformFn: transformRESTFloatToSDKFloat,
|
225
|
-
paths: [
|
226
|
-
{
|
227
|
-
path: "memberAbout.content.nodes.galleryData.items.image.media.duration"
|
228
|
-
},
|
229
|
-
{
|
230
|
-
path: "memberAbout.content.nodes.galleryData.items.video.media.duration"
|
231
|
-
},
|
232
|
-
{
|
233
|
-
path: "memberAbout.content.nodes.galleryData.items.video.thumbnail.duration"
|
234
|
-
},
|
235
|
-
{
|
236
|
-
path: "memberAbout.content.nodes.galleryData.options.item.ratio"
|
237
|
-
},
|
238
|
-
{ path: "memberAbout.content.nodes.imageData.image.duration" },
|
239
|
-
{ path: "memberAbout.content.nodes.mapData.mapSettings.lat" },
|
240
|
-
{ path: "memberAbout.content.nodes.mapData.mapSettings.lng" },
|
241
|
-
{
|
242
|
-
path: "memberAbout.content.nodes.pollData.poll.image.duration"
|
243
|
-
},
|
244
|
-
{
|
245
|
-
path: "memberAbout.content.nodes.pollData.poll.options.image.duration"
|
246
|
-
},
|
247
|
-
{
|
248
|
-
path: "memberAbout.content.nodes.pollData.design.poll.background.image.duration"
|
249
|
-
},
|
250
|
-
{ path: "memberAbout.content.nodes.appEmbedData.image.duration" },
|
251
|
-
{ path: "memberAbout.content.nodes.videoData.video.duration" },
|
252
|
-
{
|
253
|
-
path: "memberAbout.content.nodes.videoData.thumbnail.duration"
|
254
|
-
},
|
255
|
-
{ path: "memberAbout.content.nodes.audioData.audio.duration" },
|
256
|
-
{
|
257
|
-
path: "memberAbout.content.nodes.audioData.coverImage.duration"
|
258
|
-
}
|
259
|
-
]
|
260
|
-
},
|
261
|
-
{
|
262
|
-
transformFn: transformRESTTimestampToSDKTimestamp,
|
263
|
-
paths: [
|
264
|
-
{ path: "memberAbout.content.metadata.createdTimestamp" },
|
265
|
-
{ path: "memberAbout.content.metadata.updatedTimestamp" }
|
266
|
-
]
|
267
|
-
}
|
268
|
-
])
|
269
|
-
};
|
270
|
-
return metadata;
|
271
|
-
}
|
272
|
-
return __updateMemberAbout;
|
273
|
-
}
|
274
|
-
function deleteMemberAbout(payload) {
|
275
|
-
function __deleteMemberAbout({ host }) {
|
276
|
-
const metadata = {
|
277
|
-
entityFqdn: "wix.members.about.v2.member_about",
|
278
|
-
method: "DELETE",
|
279
|
-
methodFqn: "wix.members.about.v2.MembersAbout.DeleteMemberAbout",
|
280
|
-
packageName: PACKAGE_NAME,
|
281
|
-
url: resolveWixMembersAboutV2MembersAboutUrl({
|
282
|
-
protoPath: "/v2/abouts/{id}",
|
283
|
-
data: payload,
|
284
|
-
host
|
285
|
-
}),
|
286
|
-
params: toURLSearchParams(payload)
|
287
|
-
};
|
288
|
-
return metadata;
|
289
|
-
}
|
290
|
-
return __deleteMemberAbout;
|
291
|
-
}
|
292
|
-
function getMemberAbout(payload) {
|
293
|
-
function __getMemberAbout({ host }) {
|
294
|
-
const metadata = {
|
295
|
-
entityFqdn: "wix.members.about.v2.member_about",
|
296
|
-
method: "GET",
|
297
|
-
methodFqn: "wix.members.about.v2.MembersAbout.GetMemberAbout",
|
298
|
-
packageName: PACKAGE_NAME,
|
299
|
-
url: resolveWixMembersAboutV2MembersAboutUrl({
|
300
|
-
protoPath: "/v2/abouts/{id}",
|
301
|
-
data: payload,
|
302
|
-
host
|
303
|
-
}),
|
304
|
-
params: toURLSearchParams(payload),
|
305
|
-
transformResponse: (payload2) => transformPaths(payload2, [
|
306
|
-
{
|
307
|
-
transformFn: transformRESTFloatToSDKFloat,
|
308
|
-
paths: [
|
309
|
-
{
|
310
|
-
path: "memberAbout.content.nodes.galleryData.items.image.media.duration"
|
311
|
-
},
|
312
|
-
{
|
313
|
-
path: "memberAbout.content.nodes.galleryData.items.video.media.duration"
|
314
|
-
},
|
315
|
-
{
|
316
|
-
path: "memberAbout.content.nodes.galleryData.items.video.thumbnail.duration"
|
317
|
-
},
|
318
|
-
{
|
319
|
-
path: "memberAbout.content.nodes.galleryData.options.item.ratio"
|
320
|
-
},
|
321
|
-
{ path: "memberAbout.content.nodes.imageData.image.duration" },
|
322
|
-
{ path: "memberAbout.content.nodes.mapData.mapSettings.lat" },
|
323
|
-
{ path: "memberAbout.content.nodes.mapData.mapSettings.lng" },
|
324
|
-
{
|
325
|
-
path: "memberAbout.content.nodes.pollData.poll.image.duration"
|
326
|
-
},
|
327
|
-
{
|
328
|
-
path: "memberAbout.content.nodes.pollData.poll.options.image.duration"
|
329
|
-
},
|
330
|
-
{
|
331
|
-
path: "memberAbout.content.nodes.pollData.design.poll.background.image.duration"
|
332
|
-
},
|
333
|
-
{ path: "memberAbout.content.nodes.appEmbedData.image.duration" },
|
334
|
-
{ path: "memberAbout.content.nodes.videoData.video.duration" },
|
335
|
-
{
|
336
|
-
path: "memberAbout.content.nodes.videoData.thumbnail.duration"
|
337
|
-
},
|
338
|
-
{ path: "memberAbout.content.nodes.audioData.audio.duration" },
|
339
|
-
{
|
340
|
-
path: "memberAbout.content.nodes.audioData.coverImage.duration"
|
341
|
-
}
|
342
|
-
]
|
343
|
-
},
|
344
|
-
{
|
345
|
-
transformFn: transformRESTTimestampToSDKTimestamp,
|
346
|
-
paths: [
|
347
|
-
{ path: "memberAbout.content.metadata.createdTimestamp" },
|
348
|
-
{ path: "memberAbout.content.metadata.updatedTimestamp" }
|
349
|
-
]
|
350
|
-
}
|
351
|
-
])
|
352
|
-
};
|
353
|
-
return metadata;
|
354
|
-
}
|
355
|
-
return __getMemberAbout;
|
356
|
-
}
|
357
|
-
function getMyMemberAbout(payload) {
|
358
|
-
function __getMyMemberAbout({ host }) {
|
359
|
-
const metadata = {
|
360
|
-
entityFqdn: "wix.members.about.v2.member_about",
|
361
|
-
method: "GET",
|
362
|
-
methodFqn: "wix.members.about.v2.MembersAbout.GetMyMemberAbout",
|
363
|
-
packageName: PACKAGE_NAME,
|
364
|
-
url: resolveWixMembersAboutV2MembersAboutUrl({
|
365
|
-
protoPath: "/v2/abouts/my",
|
366
|
-
data: payload,
|
367
|
-
host
|
368
|
-
}),
|
369
|
-
params: toURLSearchParams(payload),
|
370
|
-
transformResponse: (payload2) => transformPaths(payload2, [
|
371
|
-
{
|
372
|
-
transformFn: transformRESTFloatToSDKFloat,
|
373
|
-
paths: [
|
374
|
-
{
|
375
|
-
path: "memberAbout.content.nodes.galleryData.items.image.media.duration"
|
376
|
-
},
|
377
|
-
{
|
378
|
-
path: "memberAbout.content.nodes.galleryData.items.video.media.duration"
|
379
|
-
},
|
380
|
-
{
|
381
|
-
path: "memberAbout.content.nodes.galleryData.items.video.thumbnail.duration"
|
382
|
-
},
|
383
|
-
{
|
384
|
-
path: "memberAbout.content.nodes.galleryData.options.item.ratio"
|
385
|
-
},
|
386
|
-
{ path: "memberAbout.content.nodes.imageData.image.duration" },
|
387
|
-
{ path: "memberAbout.content.nodes.mapData.mapSettings.lat" },
|
388
|
-
{ path: "memberAbout.content.nodes.mapData.mapSettings.lng" },
|
389
|
-
{
|
390
|
-
path: "memberAbout.content.nodes.pollData.poll.image.duration"
|
391
|
-
},
|
392
|
-
{
|
393
|
-
path: "memberAbout.content.nodes.pollData.poll.options.image.duration"
|
394
|
-
},
|
395
|
-
{
|
396
|
-
path: "memberAbout.content.nodes.pollData.design.poll.background.image.duration"
|
397
|
-
},
|
398
|
-
{ path: "memberAbout.content.nodes.appEmbedData.image.duration" },
|
399
|
-
{ path: "memberAbout.content.nodes.videoData.video.duration" },
|
400
|
-
{
|
401
|
-
path: "memberAbout.content.nodes.videoData.thumbnail.duration"
|
402
|
-
},
|
403
|
-
{ path: "memberAbout.content.nodes.audioData.audio.duration" },
|
404
|
-
{
|
405
|
-
path: "memberAbout.content.nodes.audioData.coverImage.duration"
|
406
|
-
}
|
407
|
-
]
|
408
|
-
},
|
409
|
-
{
|
410
|
-
transformFn: transformRESTTimestampToSDKTimestamp,
|
411
|
-
paths: [
|
412
|
-
{ path: "memberAbout.content.metadata.createdTimestamp" },
|
413
|
-
{ path: "memberAbout.content.metadata.updatedTimestamp" }
|
414
|
-
]
|
415
|
-
}
|
416
|
-
])
|
417
|
-
};
|
418
|
-
return metadata;
|
419
|
-
}
|
420
|
-
return __getMyMemberAbout;
|
421
|
-
}
|
422
|
-
function queryMemberAbouts(payload) {
|
423
|
-
function __queryMemberAbouts({ host }) {
|
424
|
-
const metadata = {
|
425
|
-
entityFqdn: "wix.members.about.v2.member_about",
|
426
|
-
method: "POST",
|
427
|
-
methodFqn: "wix.members.about.v2.MembersAbout.QueryMemberAbouts",
|
428
|
-
packageName: PACKAGE_NAME,
|
429
|
-
url: resolveWixMembersAboutV2MembersAboutUrl({
|
430
|
-
protoPath: "/v2/abouts/query",
|
431
|
-
data: payload,
|
432
|
-
host
|
433
|
-
}),
|
434
|
-
data: payload,
|
435
|
-
transformResponse: (payload2) => transformPaths(payload2, [
|
436
|
-
{
|
437
|
-
transformFn: transformRESTFloatToSDKFloat,
|
438
|
-
paths: [
|
439
|
-
{
|
440
|
-
path: "memberAbouts.content.nodes.galleryData.items.image.media.duration"
|
441
|
-
},
|
442
|
-
{
|
443
|
-
path: "memberAbouts.content.nodes.galleryData.items.video.media.duration"
|
444
|
-
},
|
445
|
-
{
|
446
|
-
path: "memberAbouts.content.nodes.galleryData.items.video.thumbnail.duration"
|
447
|
-
},
|
448
|
-
{
|
449
|
-
path: "memberAbouts.content.nodes.galleryData.options.item.ratio"
|
450
|
-
},
|
451
|
-
{ path: "memberAbouts.content.nodes.imageData.image.duration" },
|
452
|
-
{ path: "memberAbouts.content.nodes.mapData.mapSettings.lat" },
|
453
|
-
{ path: "memberAbouts.content.nodes.mapData.mapSettings.lng" },
|
454
|
-
{
|
455
|
-
path: "memberAbouts.content.nodes.pollData.poll.image.duration"
|
456
|
-
},
|
457
|
-
{
|
458
|
-
path: "memberAbouts.content.nodes.pollData.poll.options.image.duration"
|
459
|
-
},
|
460
|
-
{
|
461
|
-
path: "memberAbouts.content.nodes.pollData.design.poll.background.image.duration"
|
462
|
-
},
|
463
|
-
{
|
464
|
-
path: "memberAbouts.content.nodes.appEmbedData.image.duration"
|
465
|
-
},
|
466
|
-
{ path: "memberAbouts.content.nodes.videoData.video.duration" },
|
467
|
-
{
|
468
|
-
path: "memberAbouts.content.nodes.videoData.thumbnail.duration"
|
469
|
-
},
|
470
|
-
{ path: "memberAbouts.content.nodes.audioData.audio.duration" },
|
471
|
-
{
|
472
|
-
path: "memberAbouts.content.nodes.audioData.coverImage.duration"
|
473
|
-
}
|
474
|
-
]
|
475
|
-
},
|
476
|
-
{
|
477
|
-
transformFn: transformRESTTimestampToSDKTimestamp,
|
478
|
-
paths: [
|
479
|
-
{ path: "memberAbouts.content.metadata.createdTimestamp" },
|
480
|
-
{ path: "memberAbouts.content.metadata.updatedTimestamp" }
|
481
|
-
]
|
482
|
-
}
|
483
|
-
])
|
484
|
-
};
|
485
|
-
return metadata;
|
486
|
-
}
|
487
|
-
return __queryMemberAbouts;
|
488
|
-
}
|
489
|
-
|
490
|
-
// src/members-about-v2-member-about-members-about.universal.ts
|
491
|
-
var NodeType = /* @__PURE__ */ ((NodeType2) => {
|
492
|
-
NodeType2["PARAGRAPH"] = "PARAGRAPH";
|
493
|
-
NodeType2["TEXT"] = "TEXT";
|
494
|
-
NodeType2["HEADING"] = "HEADING";
|
495
|
-
NodeType2["BULLETED_LIST"] = "BULLETED_LIST";
|
496
|
-
NodeType2["ORDERED_LIST"] = "ORDERED_LIST";
|
497
|
-
NodeType2["LIST_ITEM"] = "LIST_ITEM";
|
498
|
-
NodeType2["BLOCKQUOTE"] = "BLOCKQUOTE";
|
499
|
-
NodeType2["CODE_BLOCK"] = "CODE_BLOCK";
|
500
|
-
NodeType2["VIDEO"] = "VIDEO";
|
501
|
-
NodeType2["DIVIDER"] = "DIVIDER";
|
502
|
-
NodeType2["FILE"] = "FILE";
|
503
|
-
NodeType2["GALLERY"] = "GALLERY";
|
504
|
-
NodeType2["GIF"] = "GIF";
|
505
|
-
NodeType2["HTML"] = "HTML";
|
506
|
-
NodeType2["IMAGE"] = "IMAGE";
|
507
|
-
NodeType2["LINK_PREVIEW"] = "LINK_PREVIEW";
|
508
|
-
NodeType2["MAP"] = "MAP";
|
509
|
-
NodeType2["POLL"] = "POLL";
|
510
|
-
NodeType2["APP_EMBED"] = "APP_EMBED";
|
511
|
-
NodeType2["BUTTON"] = "BUTTON";
|
512
|
-
NodeType2["COLLAPSIBLE_LIST"] = "COLLAPSIBLE_LIST";
|
513
|
-
NodeType2["TABLE"] = "TABLE";
|
514
|
-
NodeType2["EMBED"] = "EMBED";
|
515
|
-
NodeType2["COLLAPSIBLE_ITEM"] = "COLLAPSIBLE_ITEM";
|
516
|
-
NodeType2["COLLAPSIBLE_ITEM_TITLE"] = "COLLAPSIBLE_ITEM_TITLE";
|
517
|
-
NodeType2["COLLAPSIBLE_ITEM_BODY"] = "COLLAPSIBLE_ITEM_BODY";
|
518
|
-
NodeType2["TABLE_CELL"] = "TABLE_CELL";
|
519
|
-
NodeType2["TABLE_ROW"] = "TABLE_ROW";
|
520
|
-
NodeType2["EXTERNAL"] = "EXTERNAL";
|
521
|
-
NodeType2["AUDIO"] = "AUDIO";
|
522
|
-
NodeType2["CAPTION"] = "CAPTION";
|
523
|
-
NodeType2["LAYOUT"] = "LAYOUT";
|
524
|
-
NodeType2["LAYOUT_CELL"] = "LAYOUT_CELL";
|
525
|
-
return NodeType2;
|
526
|
-
})(NodeType || {});
|
527
|
-
var WidthType = /* @__PURE__ */ ((WidthType2) => {
|
528
|
-
WidthType2["CONTENT"] = "CONTENT";
|
529
|
-
WidthType2["SMALL"] = "SMALL";
|
530
|
-
WidthType2["ORIGINAL"] = "ORIGINAL";
|
531
|
-
WidthType2["FULL_WIDTH"] = "FULL_WIDTH";
|
532
|
-
return WidthType2;
|
533
|
-
})(WidthType || {});
|
534
|
-
var PluginContainerDataAlignment = /* @__PURE__ */ ((PluginContainerDataAlignment2) => {
|
535
|
-
PluginContainerDataAlignment2["CENTER"] = "CENTER";
|
536
|
-
PluginContainerDataAlignment2["LEFT"] = "LEFT";
|
537
|
-
PluginContainerDataAlignment2["RIGHT"] = "RIGHT";
|
538
|
-
return PluginContainerDataAlignment2;
|
539
|
-
})(PluginContainerDataAlignment || {});
|
540
|
-
var Type = /* @__PURE__ */ ((Type2) => {
|
541
|
-
Type2["LINK"] = "LINK";
|
542
|
-
Type2["ACTION"] = "ACTION";
|
543
|
-
return Type2;
|
544
|
-
})(Type || {});
|
545
|
-
var Target = /* @__PURE__ */ ((Target2) => {
|
546
|
-
Target2["SELF"] = "SELF";
|
547
|
-
Target2["BLANK"] = "BLANK";
|
548
|
-
Target2["PARENT"] = "PARENT";
|
549
|
-
Target2["TOP"] = "TOP";
|
550
|
-
return Target2;
|
551
|
-
})(Target || {});
|
552
|
-
var TextAlignment = /* @__PURE__ */ ((TextAlignment2) => {
|
553
|
-
TextAlignment2["AUTO"] = "AUTO";
|
554
|
-
TextAlignment2["LEFT"] = "LEFT";
|
555
|
-
TextAlignment2["RIGHT"] = "RIGHT";
|
556
|
-
TextAlignment2["CENTER"] = "CENTER";
|
557
|
-
TextAlignment2["JUSTIFY"] = "JUSTIFY";
|
558
|
-
return TextAlignment2;
|
559
|
-
})(TextAlignment || {});
|
560
|
-
var LineStyle = /* @__PURE__ */ ((LineStyle2) => {
|
561
|
-
LineStyle2["SINGLE"] = "SINGLE";
|
562
|
-
LineStyle2["DOUBLE"] = "DOUBLE";
|
563
|
-
LineStyle2["DASHED"] = "DASHED";
|
564
|
-
LineStyle2["DOTTED"] = "DOTTED";
|
565
|
-
return LineStyle2;
|
566
|
-
})(LineStyle || {});
|
567
|
-
var Width = /* @__PURE__ */ ((Width2) => {
|
568
|
-
Width2["LARGE"] = "LARGE";
|
569
|
-
Width2["MEDIUM"] = "MEDIUM";
|
570
|
-
Width2["SMALL"] = "SMALL";
|
571
|
-
return Width2;
|
572
|
-
})(Width || {});
|
573
|
-
var Alignment = /* @__PURE__ */ ((Alignment2) => {
|
574
|
-
Alignment2["CENTER"] = "CENTER";
|
575
|
-
Alignment2["LEFT"] = "LEFT";
|
576
|
-
Alignment2["RIGHT"] = "RIGHT";
|
577
|
-
return Alignment2;
|
578
|
-
})(Alignment || {});
|
579
|
-
var ViewMode = /* @__PURE__ */ ((ViewMode2) => {
|
580
|
-
ViewMode2["NONE"] = "NONE";
|
581
|
-
ViewMode2["FULL"] = "FULL";
|
582
|
-
ViewMode2["MINI"] = "MINI";
|
583
|
-
return ViewMode2;
|
584
|
-
})(ViewMode || {});
|
585
|
-
var LayoutType = /* @__PURE__ */ ((LayoutType2) => {
|
586
|
-
LayoutType2["COLLAGE"] = "COLLAGE";
|
587
|
-
LayoutType2["MASONRY"] = "MASONRY";
|
588
|
-
LayoutType2["GRID"] = "GRID";
|
589
|
-
LayoutType2["THUMBNAIL"] = "THUMBNAIL";
|
590
|
-
LayoutType2["SLIDER"] = "SLIDER";
|
591
|
-
LayoutType2["SLIDESHOW"] = "SLIDESHOW";
|
592
|
-
LayoutType2["PANORAMA"] = "PANORAMA";
|
593
|
-
LayoutType2["COLUMN"] = "COLUMN";
|
594
|
-
LayoutType2["MAGIC"] = "MAGIC";
|
595
|
-
LayoutType2["FULLSIZE"] = "FULLSIZE";
|
596
|
-
return LayoutType2;
|
597
|
-
})(LayoutType || {});
|
598
|
-
var Orientation = /* @__PURE__ */ ((Orientation2) => {
|
599
|
-
Orientation2["ROWS"] = "ROWS";
|
600
|
-
Orientation2["COLUMNS"] = "COLUMNS";
|
601
|
-
return Orientation2;
|
602
|
-
})(Orientation || {});
|
603
|
-
var Crop = /* @__PURE__ */ ((Crop2) => {
|
604
|
-
Crop2["FILL"] = "FILL";
|
605
|
-
Crop2["FIT"] = "FIT";
|
606
|
-
return Crop2;
|
607
|
-
})(Crop || {});
|
608
|
-
var ThumbnailsAlignment = /* @__PURE__ */ ((ThumbnailsAlignment2) => {
|
609
|
-
ThumbnailsAlignment2["TOP"] = "TOP";
|
610
|
-
ThumbnailsAlignment2["RIGHT"] = "RIGHT";
|
611
|
-
ThumbnailsAlignment2["BOTTOM"] = "BOTTOM";
|
612
|
-
ThumbnailsAlignment2["LEFT"] = "LEFT";
|
613
|
-
ThumbnailsAlignment2["NONE"] = "NONE";
|
614
|
-
return ThumbnailsAlignment2;
|
615
|
-
})(ThumbnailsAlignment || {});
|
616
|
-
var GIFType = /* @__PURE__ */ ((GIFType2) => {
|
617
|
-
GIFType2["NORMAL"] = "NORMAL";
|
618
|
-
GIFType2["STICKER"] = "STICKER";
|
619
|
-
return GIFType2;
|
620
|
-
})(GIFType || {});
|
621
|
-
var Source = /* @__PURE__ */ ((Source2) => {
|
622
|
-
Source2["HTML"] = "HTML";
|
623
|
-
Source2["ADSENSE"] = "ADSENSE";
|
624
|
-
return Source2;
|
625
|
-
})(Source || {});
|
626
|
-
var Position = /* @__PURE__ */ ((Position2) => {
|
627
|
-
Position2["START"] = "START";
|
628
|
-
Position2["END"] = "END";
|
629
|
-
Position2["TOP"] = "TOP";
|
630
|
-
Position2["HIDDEN"] = "HIDDEN";
|
631
|
-
return Position2;
|
632
|
-
})(Position || {});
|
633
|
-
var MapType = /* @__PURE__ */ ((MapType2) => {
|
634
|
-
MapType2["ROADMAP"] = "ROADMAP";
|
635
|
-
MapType2["SATELITE"] = "SATELITE";
|
636
|
-
MapType2["HYBRID"] = "HYBRID";
|
637
|
-
MapType2["TERRAIN"] = "TERRAIN";
|
638
|
-
return MapType2;
|
639
|
-
})(MapType || {});
|
640
|
-
var ViewRole = /* @__PURE__ */ ((ViewRole2) => {
|
641
|
-
ViewRole2["CREATOR"] = "CREATOR";
|
642
|
-
ViewRole2["VOTERS"] = "VOTERS";
|
643
|
-
ViewRole2["EVERYONE"] = "EVERYONE";
|
644
|
-
return ViewRole2;
|
645
|
-
})(ViewRole || {});
|
646
|
-
var VoteRole = /* @__PURE__ */ ((VoteRole2) => {
|
647
|
-
VoteRole2["SITE_MEMBERS"] = "SITE_MEMBERS";
|
648
|
-
VoteRole2["ALL"] = "ALL";
|
649
|
-
return VoteRole2;
|
650
|
-
})(VoteRole || {});
|
651
|
-
var PollLayoutType = /* @__PURE__ */ ((PollLayoutType2) => {
|
652
|
-
PollLayoutType2["LIST"] = "LIST";
|
653
|
-
PollLayoutType2["GRID"] = "GRID";
|
654
|
-
return PollLayoutType2;
|
655
|
-
})(PollLayoutType || {});
|
656
|
-
var PollLayoutDirection = /* @__PURE__ */ ((PollLayoutDirection2) => {
|
657
|
-
PollLayoutDirection2["LTR"] = "LTR";
|
658
|
-
PollLayoutDirection2["RTL"] = "RTL";
|
659
|
-
return PollLayoutDirection2;
|
660
|
-
})(PollLayoutDirection || {});
|
661
|
-
var BackgroundType = /* @__PURE__ */ ((BackgroundType2) => {
|
662
|
-
BackgroundType2["COLOR"] = "COLOR";
|
663
|
-
BackgroundType2["IMAGE"] = "IMAGE";
|
664
|
-
BackgroundType2["GRADIENT"] = "GRADIENT";
|
665
|
-
return BackgroundType2;
|
666
|
-
})(BackgroundType || {});
|
667
|
-
var DecorationType = /* @__PURE__ */ ((DecorationType2) => {
|
668
|
-
DecorationType2["BOLD"] = "BOLD";
|
669
|
-
DecorationType2["ITALIC"] = "ITALIC";
|
670
|
-
DecorationType2["UNDERLINE"] = "UNDERLINE";
|
671
|
-
DecorationType2["SPOILER"] = "SPOILER";
|
672
|
-
DecorationType2["ANCHOR"] = "ANCHOR";
|
673
|
-
DecorationType2["MENTION"] = "MENTION";
|
674
|
-
DecorationType2["LINK"] = "LINK";
|
675
|
-
DecorationType2["COLOR"] = "COLOR";
|
676
|
-
DecorationType2["FONT_SIZE"] = "FONT_SIZE";
|
677
|
-
DecorationType2["EXTERNAL"] = "EXTERNAL";
|
678
|
-
DecorationType2["STRIKETHROUGH"] = "STRIKETHROUGH";
|
679
|
-
return DecorationType2;
|
680
|
-
})(DecorationType || {});
|
681
|
-
var FontType = /* @__PURE__ */ ((FontType2) => {
|
682
|
-
FontType2["PX"] = "PX";
|
683
|
-
FontType2["EM"] = "EM";
|
684
|
-
return FontType2;
|
685
|
-
})(FontType || {});
|
686
|
-
var AppType = /* @__PURE__ */ ((AppType2) => {
|
687
|
-
AppType2["PRODUCT"] = "PRODUCT";
|
688
|
-
AppType2["EVENT"] = "EVENT";
|
689
|
-
AppType2["BOOKING"] = "BOOKING";
|
690
|
-
return AppType2;
|
691
|
-
})(AppType || {});
|
692
|
-
var InitialExpandedItems = /* @__PURE__ */ ((InitialExpandedItems2) => {
|
693
|
-
InitialExpandedItems2["FIRST"] = "FIRST";
|
694
|
-
InitialExpandedItems2["ALL"] = "ALL";
|
695
|
-
InitialExpandedItems2["NONE"] = "NONE";
|
696
|
-
return InitialExpandedItems2;
|
697
|
-
})(InitialExpandedItems || {});
|
698
|
-
var Direction = /* @__PURE__ */ ((Direction2) => {
|
699
|
-
Direction2["LTR"] = "LTR";
|
700
|
-
Direction2["RTL"] = "RTL";
|
701
|
-
return Direction2;
|
702
|
-
})(Direction || {});
|
703
|
-
var VerticalAlignment = /* @__PURE__ */ ((VerticalAlignment2) => {
|
704
|
-
VerticalAlignment2["TOP"] = "TOP";
|
705
|
-
VerticalAlignment2["MIDDLE"] = "MIDDLE";
|
706
|
-
VerticalAlignment2["BOTTOM"] = "BOTTOM";
|
707
|
-
return VerticalAlignment2;
|
708
|
-
})(VerticalAlignment || {});
|
709
|
-
var NullValue = /* @__PURE__ */ ((NullValue2) => {
|
710
|
-
NullValue2["NULL_VALUE"] = "NULL_VALUE";
|
711
|
-
return NullValue2;
|
712
|
-
})(NullValue || {});
|
713
|
-
var SortOrder = /* @__PURE__ */ ((SortOrder2) => {
|
714
|
-
SortOrder2["ASC"] = "ASC";
|
715
|
-
SortOrder2["DESC"] = "DESC";
|
716
|
-
return SortOrder2;
|
717
|
-
})(SortOrder || {});
|
718
|
-
var WebhookIdentityType = /* @__PURE__ */ ((WebhookIdentityType2) => {
|
719
|
-
WebhookIdentityType2["UNKNOWN"] = "UNKNOWN";
|
720
|
-
WebhookIdentityType2["ANONYMOUS_VISITOR"] = "ANONYMOUS_VISITOR";
|
721
|
-
WebhookIdentityType2["MEMBER"] = "MEMBER";
|
722
|
-
WebhookIdentityType2["WIX_USER"] = "WIX_USER";
|
723
|
-
WebhookIdentityType2["APP"] = "APP";
|
724
|
-
return WebhookIdentityType2;
|
725
|
-
})(WebhookIdentityType || {});
|
726
|
-
async function createMemberAbout2(memberAbout) {
|
727
|
-
const { httpClient, sideEffects } = arguments[1];
|
728
|
-
const payload = renameKeysFromSDKRequestToRESTRequest({
|
729
|
-
memberAbout
|
730
|
-
});
|
731
|
-
const reqOpts = createMemberAbout(payload);
|
732
|
-
sideEffects?.onSiteCall?.();
|
733
|
-
try {
|
734
|
-
const result = await httpClient.request(reqOpts);
|
735
|
-
sideEffects?.onSuccess?.(result);
|
736
|
-
return renameKeysFromRESTResponseToSDKResponse(result.data)?.memberAbout;
|
737
|
-
} catch (err) {
|
738
|
-
const transformedError = sdkTransformError(
|
739
|
-
err,
|
740
|
-
{
|
741
|
-
spreadPathsToArguments: {},
|
742
|
-
explicitPathsToArguments: { memberAbout: "$[0]" },
|
743
|
-
singleArgumentUnchanged: false
|
744
|
-
},
|
745
|
-
["memberAbout"]
|
746
|
-
);
|
747
|
-
sideEffects?.onError?.(err);
|
748
|
-
throw transformedError;
|
749
|
-
}
|
750
|
-
}
|
751
|
-
async function updateMemberAbout2(_id, memberAbout) {
|
752
|
-
const { httpClient, sideEffects } = arguments[2];
|
753
|
-
const payload = renameKeysFromSDKRequestToRESTRequest({
|
754
|
-
memberAbout: { ...memberAbout, id: _id }
|
755
|
-
});
|
756
|
-
const reqOpts = updateMemberAbout(payload);
|
757
|
-
sideEffects?.onSiteCall?.();
|
758
|
-
try {
|
759
|
-
const result = await httpClient.request(reqOpts);
|
760
|
-
sideEffects?.onSuccess?.(result);
|
761
|
-
return renameKeysFromRESTResponseToSDKResponse(result.data)?.memberAbout;
|
762
|
-
} catch (err) {
|
763
|
-
const transformedError = sdkTransformError(
|
764
|
-
err,
|
765
|
-
{
|
766
|
-
spreadPathsToArguments: { memberAbout: "$[1]" },
|
767
|
-
explicitPathsToArguments: { "memberAbout.id": "$[0]" },
|
768
|
-
singleArgumentUnchanged: false
|
769
|
-
},
|
770
|
-
["_id", "memberAbout"]
|
771
|
-
);
|
772
|
-
sideEffects?.onError?.(err);
|
773
|
-
throw transformedError;
|
774
|
-
}
|
775
|
-
}
|
776
|
-
async function deleteMemberAbout2(_id) {
|
777
|
-
const { httpClient, sideEffects } = arguments[1];
|
778
|
-
const payload = renameKeysFromSDKRequestToRESTRequest({ id: _id });
|
779
|
-
const reqOpts = deleteMemberAbout(payload);
|
780
|
-
sideEffects?.onSiteCall?.();
|
781
|
-
try {
|
782
|
-
const result = await httpClient.request(reqOpts);
|
783
|
-
sideEffects?.onSuccess?.(result);
|
784
|
-
} catch (err) {
|
785
|
-
const transformedError = sdkTransformError(
|
786
|
-
err,
|
787
|
-
{
|
788
|
-
spreadPathsToArguments: {},
|
789
|
-
explicitPathsToArguments: { id: "$[0]" },
|
790
|
-
singleArgumentUnchanged: false
|
791
|
-
},
|
792
|
-
["_id"]
|
793
|
-
);
|
794
|
-
sideEffects?.onError?.(err);
|
795
|
-
throw transformedError;
|
796
|
-
}
|
797
|
-
}
|
798
|
-
async function getMemberAbout2(_id) {
|
799
|
-
const { httpClient, sideEffects } = arguments[1];
|
800
|
-
const payload = renameKeysFromSDKRequestToRESTRequest({ id: _id });
|
801
|
-
const reqOpts = getMemberAbout(payload);
|
802
|
-
sideEffects?.onSiteCall?.();
|
803
|
-
try {
|
804
|
-
const result = await httpClient.request(reqOpts);
|
805
|
-
sideEffects?.onSuccess?.(result);
|
806
|
-
return renameKeysFromRESTResponseToSDKResponse(result.data)?.memberAbout;
|
807
|
-
} catch (err) {
|
808
|
-
const transformedError = sdkTransformError(
|
809
|
-
err,
|
810
|
-
{
|
811
|
-
spreadPathsToArguments: {},
|
812
|
-
explicitPathsToArguments: { id: "$[0]" },
|
813
|
-
singleArgumentUnchanged: false
|
814
|
-
},
|
815
|
-
["_id"]
|
816
|
-
);
|
817
|
-
sideEffects?.onError?.(err);
|
818
|
-
throw transformedError;
|
819
|
-
}
|
820
|
-
}
|
821
|
-
async function getMyMemberAbout2() {
|
822
|
-
const { httpClient, sideEffects } = arguments[0];
|
823
|
-
const payload = renameKeysFromSDKRequestToRESTRequest({});
|
824
|
-
const reqOpts = getMyMemberAbout(payload);
|
825
|
-
sideEffects?.onSiteCall?.();
|
826
|
-
try {
|
827
|
-
const result = await httpClient.request(reqOpts);
|
828
|
-
sideEffects?.onSuccess?.(result);
|
829
|
-
return renameKeysFromRESTResponseToSDKResponse(result.data);
|
830
|
-
} catch (err) {
|
831
|
-
const transformedError = sdkTransformError(
|
832
|
-
err,
|
833
|
-
{
|
834
|
-
spreadPathsToArguments: {},
|
835
|
-
explicitPathsToArguments: {},
|
836
|
-
singleArgumentUnchanged: false
|
837
|
-
},
|
838
|
-
[]
|
839
|
-
);
|
840
|
-
sideEffects?.onError?.(err);
|
841
|
-
throw transformedError;
|
842
|
-
}
|
843
|
-
}
|
844
|
-
function queryMemberAbouts2() {
|
845
|
-
const { httpClient, sideEffects } = arguments[0];
|
846
|
-
return queryBuilder({
|
847
|
-
func: async (payload) => {
|
848
|
-
const reqOpts = queryMemberAbouts(payload);
|
849
|
-
sideEffects?.onSiteCall?.();
|
850
|
-
try {
|
851
|
-
const result = await httpClient.request(reqOpts);
|
852
|
-
sideEffects?.onSuccess?.(result);
|
853
|
-
return result;
|
854
|
-
} catch (err) {
|
855
|
-
sideEffects?.onError?.(err);
|
856
|
-
throw err;
|
857
|
-
}
|
858
|
-
},
|
859
|
-
requestTransformer: (query) => {
|
860
|
-
const args = [query, {}];
|
861
|
-
return renameKeysFromSDKRequestToRESTRequest({
|
862
|
-
...args?.[1],
|
863
|
-
query: args?.[0]
|
864
|
-
});
|
865
|
-
},
|
866
|
-
responseTransformer: ({
|
867
|
-
data
|
868
|
-
}) => {
|
869
|
-
const transformedData = renameKeysFromRESTResponseToSDKResponse(data);
|
870
|
-
return {
|
871
|
-
items: transformedData?.memberAbouts,
|
872
|
-
pagingMetadata: transformedData?.metadata
|
873
|
-
};
|
874
|
-
},
|
875
|
-
errorTransformer: (err) => {
|
876
|
-
const transformedError = sdkTransformError(err, {
|
877
|
-
spreadPathsToArguments: {},
|
878
|
-
explicitPathsToArguments: { query: "$[0]" },
|
879
|
-
singleArgumentUnchanged: false
|
880
|
-
});
|
881
|
-
throw transformedError;
|
882
|
-
},
|
883
|
-
pagingMethod: "CURSOR",
|
884
|
-
transformationPaths: {}
|
885
|
-
});
|
886
|
-
}
|
887
|
-
|
888
|
-
// src/members-about-v2-member-about-members-about.public.ts
|
889
|
-
function createMemberAbout3(httpClient) {
|
890
|
-
return (memberAbout) => createMemberAbout2(
|
891
|
-
memberAbout,
|
892
|
-
// @ts-ignore
|
893
|
-
{ httpClient }
|
894
|
-
);
|
895
|
-
}
|
896
|
-
function updateMemberAbout3(httpClient) {
|
897
|
-
return (_id, memberAbout) => updateMemberAbout2(
|
898
|
-
_id,
|
899
|
-
memberAbout,
|
900
|
-
// @ts-ignore
|
901
|
-
{ httpClient }
|
902
|
-
);
|
903
|
-
}
|
904
|
-
function deleteMemberAbout3(httpClient) {
|
905
|
-
return (_id) => deleteMemberAbout2(
|
906
|
-
_id,
|
907
|
-
// @ts-ignore
|
908
|
-
{ httpClient }
|
909
|
-
);
|
910
|
-
}
|
911
|
-
function getMemberAbout3(httpClient) {
|
912
|
-
return (_id) => getMemberAbout2(
|
913
|
-
_id,
|
914
|
-
// @ts-ignore
|
915
|
-
{ httpClient }
|
916
|
-
);
|
917
|
-
}
|
918
|
-
function getMyMemberAbout3(httpClient) {
|
919
|
-
return () => getMyMemberAbout2(
|
920
|
-
// @ts-ignore
|
921
|
-
{ httpClient }
|
922
|
-
);
|
923
|
-
}
|
924
|
-
function queryMemberAbouts3(httpClient) {
|
925
|
-
return () => queryMemberAbouts2(
|
926
|
-
// @ts-ignore
|
927
|
-
{ httpClient }
|
928
|
-
);
|
929
|
-
}
|
930
|
-
var onMemberAboutCreated = EventDefinition(
|
931
|
-
"wix.members.about.v2.member_about_created",
|
932
|
-
true,
|
933
|
-
(event) => renameKeysFromRESTResponseToSDKResponse2(
|
934
|
-
transformPaths2(event, [
|
935
|
-
{
|
936
|
-
transformFn: transformRESTFloatToSDKFloat2,
|
937
|
-
paths: [
|
938
|
-
{
|
939
|
-
path: "entity.content.nodes.galleryData.items.image.media.duration"
|
940
|
-
},
|
941
|
-
{
|
942
|
-
path: "entity.content.nodes.galleryData.items.video.media.duration"
|
943
|
-
},
|
944
|
-
{
|
945
|
-
path: "entity.content.nodes.galleryData.items.video.thumbnail.duration"
|
946
|
-
},
|
947
|
-
{ path: "entity.content.nodes.galleryData.options.item.ratio" },
|
948
|
-
{ path: "entity.content.nodes.imageData.image.duration" },
|
949
|
-
{ path: "entity.content.nodes.mapData.mapSettings.lat" },
|
950
|
-
{ path: "entity.content.nodes.mapData.mapSettings.lng" },
|
951
|
-
{ path: "entity.content.nodes.pollData.poll.image.duration" },
|
952
|
-
{
|
953
|
-
path: "entity.content.nodes.pollData.poll.options.image.duration"
|
954
|
-
},
|
955
|
-
{
|
956
|
-
path: "entity.content.nodes.pollData.design.poll.background.image.duration"
|
957
|
-
},
|
958
|
-
{ path: "entity.content.nodes.appEmbedData.image.duration" },
|
959
|
-
{ path: "entity.content.nodes.videoData.video.duration" },
|
960
|
-
{ path: "entity.content.nodes.videoData.thumbnail.duration" },
|
961
|
-
{ path: "entity.content.nodes.audioData.audio.duration" },
|
962
|
-
{ path: "entity.content.nodes.audioData.coverImage.duration" }
|
963
|
-
]
|
964
|
-
},
|
965
|
-
{
|
966
|
-
transformFn: transformRESTTimestampToSDKTimestamp2,
|
967
|
-
paths: [
|
968
|
-
{ path: "entity.content.metadata.createdTimestamp" },
|
969
|
-
{ path: "entity.content.metadata.updatedTimestamp" },
|
970
|
-
{ path: "metadata.eventTime" }
|
971
|
-
]
|
972
|
-
}
|
973
|
-
])
|
974
|
-
)
|
975
|
-
)();
|
976
|
-
var onMemberAboutDeleted = EventDefinition(
|
977
|
-
"wix.members.about.v2.member_about_deleted",
|
978
|
-
true,
|
979
|
-
(event) => renameKeysFromRESTResponseToSDKResponse2(
|
980
|
-
transformPaths2(event, [
|
981
|
-
{
|
982
|
-
transformFn: transformRESTFloatToSDKFloat2,
|
983
|
-
paths: [
|
984
|
-
{
|
985
|
-
path: "undefined.content.nodes.galleryData.items.image.media.duration"
|
986
|
-
},
|
987
|
-
{
|
988
|
-
path: "undefined.content.nodes.galleryData.items.video.media.duration"
|
989
|
-
},
|
990
|
-
{
|
991
|
-
path: "undefined.content.nodes.galleryData.items.video.thumbnail.duration"
|
992
|
-
},
|
993
|
-
{ path: "undefined.content.nodes.galleryData.options.item.ratio" },
|
994
|
-
{ path: "undefined.content.nodes.imageData.image.duration" },
|
995
|
-
{ path: "undefined.content.nodes.mapData.mapSettings.lat" },
|
996
|
-
{ path: "undefined.content.nodes.mapData.mapSettings.lng" },
|
997
|
-
{ path: "undefined.content.nodes.pollData.poll.image.duration" },
|
998
|
-
{
|
999
|
-
path: "undefined.content.nodes.pollData.poll.options.image.duration"
|
1000
|
-
},
|
1001
|
-
{
|
1002
|
-
path: "undefined.content.nodes.pollData.design.poll.background.image.duration"
|
1003
|
-
},
|
1004
|
-
{ path: "undefined.content.nodes.appEmbedData.image.duration" },
|
1005
|
-
{ path: "undefined.content.nodes.videoData.video.duration" },
|
1006
|
-
{ path: "undefined.content.nodes.videoData.thumbnail.duration" },
|
1007
|
-
{ path: "undefined.content.nodes.audioData.audio.duration" },
|
1008
|
-
{ path: "undefined.content.nodes.audioData.coverImage.duration" }
|
1009
|
-
]
|
1010
|
-
},
|
1011
|
-
{
|
1012
|
-
transformFn: transformRESTTimestampToSDKTimestamp2,
|
1013
|
-
paths: [
|
1014
|
-
{ path: "undefined.content.metadata.createdTimestamp" },
|
1015
|
-
{ path: "undefined.content.metadata.updatedTimestamp" },
|
1016
|
-
{ path: "metadata.eventTime" }
|
1017
|
-
]
|
1018
|
-
}
|
1019
|
-
])
|
1020
|
-
)
|
1021
|
-
)();
|
1022
|
-
var onMemberAboutUpdated = EventDefinition(
|
1023
|
-
"wix.members.about.v2.member_about_updated",
|
1024
|
-
true,
|
1025
|
-
(event) => renameKeysFromRESTResponseToSDKResponse2(
|
1026
|
-
transformPaths2(event, [
|
1027
|
-
{
|
1028
|
-
transformFn: transformRESTFloatToSDKFloat2,
|
1029
|
-
paths: [
|
1030
|
-
{
|
1031
|
-
path: "entity.content.nodes.galleryData.items.image.media.duration"
|
1032
|
-
},
|
1033
|
-
{
|
1034
|
-
path: "entity.content.nodes.galleryData.items.video.media.duration"
|
1035
|
-
},
|
1036
|
-
{
|
1037
|
-
path: "entity.content.nodes.galleryData.items.video.thumbnail.duration"
|
1038
|
-
},
|
1039
|
-
{ path: "entity.content.nodes.galleryData.options.item.ratio" },
|
1040
|
-
{ path: "entity.content.nodes.imageData.image.duration" },
|
1041
|
-
{ path: "entity.content.nodes.mapData.mapSettings.lat" },
|
1042
|
-
{ path: "entity.content.nodes.mapData.mapSettings.lng" },
|
1043
|
-
{ path: "entity.content.nodes.pollData.poll.image.duration" },
|
1044
|
-
{
|
1045
|
-
path: "entity.content.nodes.pollData.poll.options.image.duration"
|
1046
|
-
},
|
1047
|
-
{
|
1048
|
-
path: "entity.content.nodes.pollData.design.poll.background.image.duration"
|
1049
|
-
},
|
1050
|
-
{ path: "entity.content.nodes.appEmbedData.image.duration" },
|
1051
|
-
{ path: "entity.content.nodes.videoData.video.duration" },
|
1052
|
-
{ path: "entity.content.nodes.videoData.thumbnail.duration" },
|
1053
|
-
{ path: "entity.content.nodes.audioData.audio.duration" },
|
1054
|
-
{ path: "entity.content.nodes.audioData.coverImage.duration" }
|
1055
|
-
]
|
1056
|
-
},
|
1057
|
-
{
|
1058
|
-
transformFn: transformRESTTimestampToSDKTimestamp2,
|
1059
|
-
paths: [
|
1060
|
-
{ path: "entity.content.metadata.createdTimestamp" },
|
1061
|
-
{ path: "entity.content.metadata.updatedTimestamp" },
|
1062
|
-
{ path: "metadata.eventTime" }
|
1063
|
-
]
|
1064
|
-
}
|
1065
|
-
])
|
1066
|
-
)
|
1067
|
-
)();
|
1068
|
-
|
1069
|
-
// src/members-about-v2-member-about-members-about.context.ts
|
1070
|
-
import { createRESTModule } from "@wix/sdk-runtime/rest-modules";
|
1071
|
-
import { createEventModule } from "@wix/sdk-runtime/event-definition-modules";
|
1072
|
-
var createMemberAbout4 = /* @__PURE__ */ createRESTModule(createMemberAbout3);
|
1073
|
-
var updateMemberAbout4 = /* @__PURE__ */ createRESTModule(updateMemberAbout3);
|
1074
|
-
var deleteMemberAbout4 = /* @__PURE__ */ createRESTModule(deleteMemberAbout3);
|
1075
|
-
var getMemberAbout4 = /* @__PURE__ */ createRESTModule(getMemberAbout3);
|
1076
|
-
var getMyMemberAbout4 = /* @__PURE__ */ createRESTModule(getMyMemberAbout3);
|
1077
|
-
var queryMemberAbouts4 = /* @__PURE__ */ createRESTModule(queryMemberAbouts3);
|
1078
|
-
var onMemberAboutCreated2 = createEventModule(onMemberAboutCreated);
|
1079
|
-
var onMemberAboutDeleted2 = createEventModule(onMemberAboutDeleted);
|
1080
|
-
var onMemberAboutUpdated2 = createEventModule(onMemberAboutUpdated);
|
1081
|
-
export {
|
1082
|
-
Alignment,
|
1083
|
-
AppType,
|
1084
|
-
BackgroundType,
|
1085
|
-
Crop,
|
1086
|
-
DecorationType,
|
1087
|
-
Direction,
|
1088
|
-
FontType,
|
1089
|
-
GIFType,
|
1090
|
-
InitialExpandedItems,
|
1091
|
-
LayoutType,
|
1092
|
-
LineStyle,
|
1093
|
-
MapType,
|
1094
|
-
NodeType,
|
1095
|
-
NullValue,
|
1096
|
-
Orientation,
|
1097
|
-
PluginContainerDataAlignment,
|
1098
|
-
PollLayoutDirection,
|
1099
|
-
PollLayoutType,
|
1100
|
-
Position,
|
1101
|
-
SortOrder,
|
1102
|
-
Source,
|
1103
|
-
Target,
|
1104
|
-
TextAlignment,
|
1105
|
-
ThumbnailsAlignment,
|
1106
|
-
Type,
|
1107
|
-
VerticalAlignment,
|
1108
|
-
ViewMode,
|
1109
|
-
ViewRole,
|
1110
|
-
VoteRole,
|
1111
|
-
WebhookIdentityType,
|
1112
|
-
Width,
|
1113
|
-
WidthType,
|
1114
|
-
createMemberAbout4 as createMemberAbout,
|
1115
|
-
deleteMemberAbout4 as deleteMemberAbout,
|
1116
|
-
getMemberAbout4 as getMemberAbout,
|
1117
|
-
getMyMemberAbout4 as getMyMemberAbout,
|
1118
|
-
onMemberAboutCreated2 as onMemberAboutCreated,
|
1119
|
-
onMemberAboutDeleted2 as onMemberAboutDeleted,
|
1120
|
-
onMemberAboutUpdated2 as onMemberAboutUpdated,
|
1121
|
-
queryMemberAbouts4 as queryMemberAbouts,
|
1122
|
-
updateMemberAbout4 as updateMemberAbout
|
1123
|
-
};
|
1124
|
-
//# sourceMappingURL=index.mjs.map
|