@wix/auto_sdk_members_members-about 1.0.34 → 1.0.36
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.js +16 -0
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +2 -25
- package/build/cjs/index.typings.js +16 -0
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.js +16 -0
- package/build/cjs/meta.js.map +1 -1
- package/build/es/index.mjs +16 -0
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +2 -25
- package/build/es/index.typings.mjs +16 -0
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.mjs +16 -0
- package/build/es/meta.mjs.map +1 -1
- package/build/internal/cjs/index.js +16 -0
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +2 -25
- package/build/internal/cjs/index.typings.js +16 -0
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/cjs/meta.js +16 -0
- package/build/internal/cjs/meta.js.map +1 -1
- package/build/internal/es/index.mjs +16 -0
- package/build/internal/es/index.mjs.map +1 -1
- package/build/internal/es/index.typings.d.mts +2 -25
- package/build/internal/es/index.typings.mjs +16 -0
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/build/internal/es/meta.mjs +16 -0
- package/build/internal/es/meta.mjs.map +1 -1
- package/package.json +2 -2
|
@@ -2183,7 +2183,6 @@ interface MemberAboutCreatedEnvelope {
|
|
|
2183
2183
|
* @eventType wix.members.about.v2.member_about_created
|
|
2184
2184
|
* @serviceIdentifier wix.members.about.v2.MembersAbout
|
|
2185
2185
|
* @slug created
|
|
2186
|
-
* @documentationMaturity preview
|
|
2187
2186
|
*/
|
|
2188
2187
|
declare function onMemberAboutCreated(handler: (event: MemberAboutCreatedEnvelope) => void | Promise<void>): void;
|
|
2189
2188
|
interface MemberAboutDeletedEnvelope {
|
|
@@ -2206,7 +2205,6 @@ interface MemberAboutDeletedEnvelope {
|
|
|
2206
2205
|
* @eventType wix.members.about.v2.member_about_deleted
|
|
2207
2206
|
* @serviceIdentifier wix.members.about.v2.MembersAbout
|
|
2208
2207
|
* @slug deleted
|
|
2209
|
-
* @documentationMaturity preview
|
|
2210
2208
|
*/
|
|
2211
2209
|
declare function onMemberAboutDeleted(handler: (event: MemberAboutDeletedEnvelope) => void | Promise<void>): void;
|
|
2212
2210
|
interface MemberAboutUpdatedEnvelope {
|
|
@@ -2237,7 +2235,6 @@ declare function onMemberAboutUpdated(handler: (event: MemberAboutUpdatedEnvelop
|
|
|
2237
2235
|
* Creates the "About" section content for a member.
|
|
2238
2236
|
* @param memberAbout - The "About" section content to create.
|
|
2239
2237
|
* @public
|
|
2240
|
-
* @documentationMaturity preview
|
|
2241
2238
|
* @requiredField memberAbout
|
|
2242
2239
|
* @requiredField memberAbout.content
|
|
2243
2240
|
* @permissionId MEMBERS.MEMBER_ABOUT_CREATE
|
|
@@ -2253,7 +2250,6 @@ declare function createMemberAbout(memberAbout: NonNullablePaths<MemberAbout, `c
|
|
|
2253
2250
|
* Each time the "About" section content is updated, `revision` increments by 1. The existing `revision` must be included when updating the "About" section content. This ensures you're working with the latest "About" section and prevents unintended overwrites.
|
|
2254
2251
|
* @param _id - ID of the "About" section content.
|
|
2255
2252
|
* @public
|
|
2256
|
-
* @documentationMaturity preview
|
|
2257
2253
|
* @requiredField _id
|
|
2258
2254
|
* @requiredField memberAbout
|
|
2259
2255
|
* @requiredField memberAbout.content
|
|
@@ -2286,7 +2282,6 @@ interface UpdateMemberAbout {
|
|
|
2286
2282
|
* Deletes the "About" section content for a member.
|
|
2287
2283
|
* @param _id - ID of the "About" section content to delete.
|
|
2288
2284
|
* @public
|
|
2289
|
-
* @documentationMaturity preview
|
|
2290
2285
|
* @requiredField _id
|
|
2291
2286
|
* @permissionId MEMBERS.MEMBER_ABOUT_DELETE
|
|
2292
2287
|
* @applicableIdentity APP
|
|
@@ -2298,7 +2293,6 @@ declare function deleteMemberAbout(_id: string): Promise<void>;
|
|
|
2298
2293
|
* Retrieves a member's "About" section content.
|
|
2299
2294
|
* @param _id - ID of the "About" section content to retrieve.
|
|
2300
2295
|
* @public
|
|
2301
|
-
* @documentationMaturity preview
|
|
2302
2296
|
* @requiredField _id
|
|
2303
2297
|
* @permissionId MEMBERS.MEMBER_ABOUT_READ
|
|
2304
2298
|
* @applicableIdentity APP
|
|
@@ -2312,7 +2306,6 @@ declare function getMemberAbout(_id: string): Promise<MemberAbout>;
|
|
|
2312
2306
|
* >**Note:**
|
|
2313
2307
|
* >This method requires [visitor or member authentication](https://dev.wix.com/docs/build-apps/develop-your-app/access/about-identities).
|
|
2314
2308
|
* @public
|
|
2315
|
-
* @documentationMaturity preview
|
|
2316
2309
|
* @permissionId MEMBERS.MEMBER_ABOUT_READ
|
|
2317
2310
|
* @applicableIdentity APP
|
|
2318
2311
|
* @fqn wix.members.about.v2.MembersAbout.GetMyMemberAbout
|
|
@@ -2331,7 +2324,6 @@ declare function getMyMemberAbout(): Promise<GetMyMemberAboutResponse>;
|
|
|
2331
2324
|
*
|
|
2332
2325
|
* - [`limit(50)`](https://dev.wix.com/docs/sdk/backend-modules/members/members-about/member-abouts-query-builder/limit)
|
|
2333
2326
|
* @public
|
|
2334
|
-
* @documentationMaturity preview
|
|
2335
2327
|
* @permissionId MEMBERS.MEMBER_ABOUT_READ
|
|
2336
2328
|
* @applicableIdentity APP
|
|
2337
2329
|
* @fqn wix.members.about.v2.MembersAbout.QueryMemberAbouts
|
|
@@ -2353,57 +2345,42 @@ interface MemberAboutsQueryResult extends QueryCursorResult {
|
|
|
2353
2345
|
interface MemberAboutsQueryBuilder {
|
|
2354
2346
|
/** @param propertyName - Property whose value is compared with `value`.
|
|
2355
2347
|
* @param value - Value to compare against.
|
|
2356
|
-
* @documentationMaturity preview
|
|
2357
2348
|
*/
|
|
2358
2349
|
eq: (propertyName: '_id' | 'memberId', value: any) => MemberAboutsQueryBuilder;
|
|
2359
2350
|
/** @param propertyName - Property whose value is compared with `value`.
|
|
2360
2351
|
* @param value - Value to compare against.
|
|
2361
|
-
* @documentationMaturity preview
|
|
2362
2352
|
*/
|
|
2363
2353
|
ne: (propertyName: '_id' | 'memberId', value: any) => MemberAboutsQueryBuilder;
|
|
2364
2354
|
/** @param propertyName - Property whose value is compared with `value`.
|
|
2365
2355
|
* @param value - Value to compare against.
|
|
2366
|
-
* @documentationMaturity preview
|
|
2367
2356
|
*/
|
|
2368
2357
|
ge: (propertyName: '_id' | 'memberId', value: any) => MemberAboutsQueryBuilder;
|
|
2369
2358
|
/** @param propertyName - Property whose value is compared with `value`.
|
|
2370
2359
|
* @param value - Value to compare against.
|
|
2371
|
-
* @documentationMaturity preview
|
|
2372
2360
|
*/
|
|
2373
2361
|
gt: (propertyName: '_id' | 'memberId', value: any) => MemberAboutsQueryBuilder;
|
|
2374
2362
|
/** @param propertyName - Property whose value is compared with `value`.
|
|
2375
2363
|
* @param value - Value to compare against.
|
|
2376
|
-
* @documentationMaturity preview
|
|
2377
2364
|
*/
|
|
2378
2365
|
le: (propertyName: '_id' | 'memberId', value: any) => MemberAboutsQueryBuilder;
|
|
2379
2366
|
/** @param propertyName - Property whose value is compared with `value`.
|
|
2380
2367
|
* @param value - Value to compare against.
|
|
2381
|
-
* @documentationMaturity preview
|
|
2382
2368
|
*/
|
|
2383
2369
|
lt: (propertyName: '_id' | 'memberId', value: any) => MemberAboutsQueryBuilder;
|
|
2384
2370
|
/** @param propertyName - Property whose value is compared with `string`.
|
|
2385
2371
|
* @param string - String to compare against. Case-insensitive.
|
|
2386
|
-
* @documentationMaturity preview
|
|
2387
2372
|
*/
|
|
2388
2373
|
startsWith: (propertyName: '_id' | 'memberId', value: string) => MemberAboutsQueryBuilder;
|
|
2389
2374
|
/** @param propertyName - Property whose value is compared with `values`.
|
|
2390
2375
|
* @param values - List of values to compare against.
|
|
2391
|
-
* @documentationMaturity preview
|
|
2392
2376
|
*/
|
|
2393
2377
|
hasSome: (propertyName: '_id' | 'memberId', value: any[]) => MemberAboutsQueryBuilder;
|
|
2394
|
-
/** @documentationMaturity preview */
|
|
2395
2378
|
in: (propertyName: '_id' | 'memberId', value: any) => MemberAboutsQueryBuilder;
|
|
2396
|
-
/** @documentationMaturity preview */
|
|
2397
2379
|
exists: (propertyName: '_id' | 'memberId', value: boolean) => MemberAboutsQueryBuilder;
|
|
2398
|
-
/** @param limit - Number of items to return, which is also the `pageSize` of the results object.
|
|
2399
|
-
* @documentationMaturity preview
|
|
2400
|
-
*/
|
|
2380
|
+
/** @param limit - Number of items to return, which is also the `pageSize` of the results object. */
|
|
2401
2381
|
limit: (limit: number) => MemberAboutsQueryBuilder;
|
|
2402
|
-
/** @param cursor - A pointer to specific record
|
|
2403
|
-
* @documentationMaturity preview
|
|
2404
|
-
*/
|
|
2382
|
+
/** @param cursor - A pointer to specific record */
|
|
2405
2383
|
skipTo: (cursor: string) => MemberAboutsQueryBuilder;
|
|
2406
|
-
/** @documentationMaturity preview */
|
|
2407
2384
|
find: () => Promise<MemberAboutsQueryResult>;
|
|
2408
2385
|
}
|
|
2409
2386
|
|
|
@@ -121,6 +121,22 @@ function resolveWixMembersAboutV2MembersAboutUrl(opts) {
|
|
|
121
121
|
{
|
|
122
122
|
srcPath: "/members/v2/abouts",
|
|
123
123
|
destPath: "/v2/abouts"
|
|
124
|
+
},
|
|
125
|
+
{
|
|
126
|
+
srcPath: "/_api/members/v2/abouts",
|
|
127
|
+
destPath: "/v2/abouts"
|
|
128
|
+
}
|
|
129
|
+
],
|
|
130
|
+
"*.dev.wix-code.com": [
|
|
131
|
+
{
|
|
132
|
+
srcPath: "/_api/members/v2/abouts",
|
|
133
|
+
destPath: "/v2/abouts"
|
|
134
|
+
}
|
|
135
|
+
],
|
|
136
|
+
_: [
|
|
137
|
+
{
|
|
138
|
+
srcPath: "/_api/members/v2/abouts",
|
|
139
|
+
destPath: "/v2/abouts"
|
|
124
140
|
}
|
|
125
141
|
]
|
|
126
142
|
};
|