@01.software/sdk 0.16.0 → 0.18.0
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/README.md +38 -24
- package/dist/{const-BLwHrFZ-.d.cts → const-_gW__LA1.d.ts} +3 -3
- package/dist/{const-RMD3ZVaS.d.ts → const-zEoxAfGX.d.cts} +3 -3
- package/dist/index.cjs +38 -23
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +6 -15
- package/dist/index.d.ts +6 -15
- package/dist/index.js +38 -23
- package/dist/index.js.map +1 -1
- package/dist/{payload-types-DRvL_bS2.d.cts → payload-types-Cwnj_qN4.d.cts} +840 -276
- package/dist/{payload-types-DRvL_bS2.d.ts → payload-types-Cwnj_qN4.d.ts} +840 -276
- package/dist/realtime.d.cts +2 -2
- package/dist/realtime.d.ts +2 -2
- package/dist/ui/form.d.cts +1 -1
- package/dist/ui/form.d.ts +1 -1
- package/dist/ui/video.d.cts +1 -1
- package/dist/ui/video.d.ts +1 -1
- package/dist/webhook-Ce9uNv5c.d.cts +58 -0
- package/dist/webhook-ger4JSeS.d.ts +58 -0
- package/dist/webhook.cjs +29 -1
- package/dist/webhook.cjs.map +1 -1
- package/dist/webhook.d.cts +3 -3
- package/dist/webhook.d.ts +3 -3
- package/dist/webhook.js +29 -1
- package/dist/webhook.js.map +1 -1
- package/package.json +1 -1
- package/dist/webhook-7_KR18M-.d.ts +0 -20
- package/dist/webhook-CIcWL95t.d.cts +0 -20
|
@@ -22,8 +22,6 @@ interface Config {
|
|
|
22
22
|
'webhook-deliveries': WebhookDelivery;
|
|
23
23
|
tenants: Tenant;
|
|
24
24
|
'tenant-metadata': TenantMetadatum;
|
|
25
|
-
'tenant-auth-settings': TenantAuthSetting;
|
|
26
|
-
'tenant-community-settings': TenantCommunitySetting;
|
|
27
25
|
'api-usage': ApiUsage;
|
|
28
26
|
'tenant-analytics-daily': TenantAnalyticsDaily;
|
|
29
27
|
'analytics-event-schemas': AnalyticsEventSchema;
|
|
@@ -52,6 +50,7 @@ interface Config {
|
|
|
52
50
|
'return-items': ReturnItem;
|
|
53
51
|
'shipping-policies': ShippingPolicy;
|
|
54
52
|
customers: Customer;
|
|
53
|
+
'customer-profiles': CustomerProfile;
|
|
55
54
|
'customer-addresses': CustomerAddress;
|
|
56
55
|
'customer-groups': CustomerGroup;
|
|
57
56
|
carts: Cart;
|
|
@@ -98,6 +97,11 @@ interface Config {
|
|
|
98
97
|
'thread-categories': ThreadCategory;
|
|
99
98
|
reports: Report;
|
|
100
99
|
'community-bans': CommunityBan;
|
|
100
|
+
'event-calendars': EventCalendar;
|
|
101
|
+
events: Event;
|
|
102
|
+
'event-tags': EventTag;
|
|
103
|
+
'event-occurrences': EventOccurrence;
|
|
104
|
+
'event-registrations': EventRegistration;
|
|
101
105
|
forms: Form;
|
|
102
106
|
'form-submissions': FormSubmission;
|
|
103
107
|
'payload-kv': PayloadKv;
|
|
@@ -132,6 +136,7 @@ interface Config {
|
|
|
132
136
|
customers: {
|
|
133
137
|
orders: 'orders';
|
|
134
138
|
addresses: 'customer-addresses';
|
|
139
|
+
profile: 'customer-profiles';
|
|
135
140
|
};
|
|
136
141
|
'customer-groups': {
|
|
137
142
|
customers: 'customers';
|
|
@@ -163,8 +168,6 @@ interface Config {
|
|
|
163
168
|
'webhook-deliveries': WebhookDeliveriesSelect<false> | WebhookDeliveriesSelect<true>;
|
|
164
169
|
tenants: TenantsSelect<false> | TenantsSelect<true>;
|
|
165
170
|
'tenant-metadata': TenantMetadataSelect<false> | TenantMetadataSelect<true>;
|
|
166
|
-
'tenant-auth-settings': TenantAuthSettingsSelect<false> | TenantAuthSettingsSelect<true>;
|
|
167
|
-
'tenant-community-settings': TenantCommunitySettingsSelect<false> | TenantCommunitySettingsSelect<true>;
|
|
168
171
|
'api-usage': ApiUsageSelect<false> | ApiUsageSelect<true>;
|
|
169
172
|
'tenant-analytics-daily': TenantAnalyticsDailySelect<false> | TenantAnalyticsDailySelect<true>;
|
|
170
173
|
'analytics-event-schemas': AnalyticsEventSchemasSelect<false> | AnalyticsEventSchemasSelect<true>;
|
|
@@ -193,6 +196,7 @@ interface Config {
|
|
|
193
196
|
'return-items': ReturnItemsSelect<false> | ReturnItemsSelect<true>;
|
|
194
197
|
'shipping-policies': ShippingPoliciesSelect<false> | ShippingPoliciesSelect<true>;
|
|
195
198
|
customers: CustomersSelect<false> | CustomersSelect<true>;
|
|
199
|
+
'customer-profiles': CustomerProfilesSelect<false> | CustomerProfilesSelect<true>;
|
|
196
200
|
'customer-addresses': CustomerAddressesSelect<false> | CustomerAddressesSelect<true>;
|
|
197
201
|
'customer-groups': CustomerGroupsSelect<false> | CustomerGroupsSelect<true>;
|
|
198
202
|
carts: CartsSelect<false> | CartsSelect<true>;
|
|
@@ -239,6 +243,11 @@ interface Config {
|
|
|
239
243
|
'thread-categories': ThreadCategoriesSelect<false> | ThreadCategoriesSelect<true>;
|
|
240
244
|
reports: ReportsSelect<false> | ReportsSelect<true>;
|
|
241
245
|
'community-bans': CommunityBansSelect<false> | CommunityBansSelect<true>;
|
|
246
|
+
'event-calendars': EventCalendarsSelect<false> | EventCalendarsSelect<true>;
|
|
247
|
+
events: EventsSelect<false> | EventsSelect<true>;
|
|
248
|
+
'event-tags': EventTagsSelect<false> | EventTagsSelect<true>;
|
|
249
|
+
'event-occurrences': EventOccurrencesSelect<false> | EventOccurrencesSelect<true>;
|
|
250
|
+
'event-registrations': EventRegistrationsSelect<false> | EventRegistrationsSelect<true>;
|
|
242
251
|
forms: FormsSelect<false> | FormsSelect<true>;
|
|
243
252
|
'form-submissions': FormSubmissionsSelect<false> | FormSubmissionsSelect<true>;
|
|
244
253
|
'payload-kv': PayloadKvSelect<false> | PayloadKvSelect<true>;
|
|
@@ -405,14 +414,14 @@ interface Tenant {
|
|
|
405
414
|
* Features available to this tenant. Determined automatically by the plan.
|
|
406
415
|
*/
|
|
407
416
|
features?: {
|
|
408
|
-
feature: 'ecommerce' | 'customers' | 'playlists' | 'galleries' | 'links' | 'forms' | 'posts' | 'documents' | 'canvas' | 'videos' | 'live-streaming' | 'community';
|
|
417
|
+
feature: 'ecommerce' | 'customers' | 'playlists' | 'galleries' | 'links' | 'forms' | 'posts' | 'documents' | 'canvas' | 'videos' | 'live-streaming' | 'community' | 'events';
|
|
409
418
|
provenance: string;
|
|
410
419
|
id?: string | null;
|
|
411
420
|
}[] | null;
|
|
412
421
|
/**
|
|
413
422
|
* Features this tenant has opted out of. Only effective for features granted by the plan.
|
|
414
423
|
*/
|
|
415
|
-
disabledFeatures?: ('ecommerce' | 'customers' | 'playlists' | 'galleries' | 'links' | 'forms' | 'posts' | 'documents' | 'canvas' | 'videos' | 'live-streaming' | 'community')[] | null;
|
|
424
|
+
disabledFeatures?: ('ecommerce' | 'customers' | 'playlists' | 'galleries' | 'links' | 'forms' | 'posts' | 'documents' | 'canvas' | 'videos' | 'live-streaming' | 'community' | 'events')[] | null;
|
|
416
425
|
/**
|
|
417
426
|
* Dev mode shows configuration tools like the field settings panel. Turn off after setup for a clean production UI.
|
|
418
427
|
*/
|
|
@@ -437,10 +446,6 @@ interface Tenant {
|
|
|
437
446
|
* e.g. Main Server, Analytics
|
|
438
447
|
*/
|
|
439
448
|
name?: string | null;
|
|
440
|
-
/**
|
|
441
|
-
* Choose what this webhook should receive. Leave empty to receive every change notification.
|
|
442
|
-
*/
|
|
443
|
-
purpose?: ('events' | 'verification' | 'password-reset') | null;
|
|
444
449
|
/**
|
|
445
450
|
* The URL to send webhooks to. Must be HTTPS.
|
|
446
451
|
*/
|
|
@@ -490,11 +495,6 @@ interface Image {
|
|
|
490
495
|
id: string;
|
|
491
496
|
tenant?: (string | null) | Tenant;
|
|
492
497
|
alt?: string | null;
|
|
493
|
-
caption?: string | null;
|
|
494
|
-
/**
|
|
495
|
-
* Photographer or source attribution
|
|
496
|
-
*/
|
|
497
|
-
credit?: string | null;
|
|
498
498
|
/**
|
|
499
499
|
* Low quality image placeholder
|
|
500
500
|
*/
|
|
@@ -570,7 +570,7 @@ interface Image {
|
|
|
570
570
|
interface FieldConfig {
|
|
571
571
|
id: string;
|
|
572
572
|
tenant?: (string | null) | Tenant;
|
|
573
|
-
collectionSlug: 'products' | 'product-variants' | 'product-options' | 'product-option-values' | 'product-collections' | 'product-categories' | 'product-tags' | 'brands' | 'discounts' | 'shipping-policies' | 'orders' | 'carts' | 'transactions' | 'fulfillments' | 'returns' | 'customers' | 'customer-groups' | 'post-authors' | 'posts' | 'post-categories' | 'post-tags' | 'documents' | 'document-categories' | 'document-types' | 'playlists' | 'playlist-categories' | 'playlist-tags' | 'tracks' | 'track-categories' | 'track-tags' | 'galleries' | 'gallery-categories' | 'gallery-tags' | 'gallery-items' | 'links' | 'link-categories' | 'link-tags' | 'canvases' | 'canvas-categories' | 'canvas-tags' | 'canvas-node-types' | 'canvas-edge-types' | 'videos' | 'video-categories' | 'video-tags' | 'live-streams' | 'forms' | 'threads' | 'comments' | 'reactions' | 'reaction-types' | 'bookmarks' | 'thread-categories';
|
|
573
|
+
collectionSlug: 'products' | 'product-variants' | 'product-options' | 'product-option-values' | 'product-collections' | 'product-categories' | 'product-tags' | 'brands' | 'discounts' | 'shipping-policies' | 'orders' | 'carts' | 'transactions' | 'fulfillments' | 'returns' | 'customers' | 'customer-groups' | 'customer-profiles' | 'post-authors' | 'posts' | 'post-categories' | 'post-tags' | 'documents' | 'document-categories' | 'document-types' | 'playlists' | 'playlist-categories' | 'playlist-tags' | 'tracks' | 'track-categories' | 'track-tags' | 'galleries' | 'gallery-categories' | 'gallery-tags' | 'gallery-items' | 'links' | 'link-categories' | 'link-tags' | 'canvases' | 'canvas-categories' | 'canvas-tags' | 'canvas-node-types' | 'canvas-edge-types' | 'videos' | 'video-categories' | 'video-tags' | 'live-streams' | 'forms' | 'threads' | 'comments' | 'reactions' | 'reaction-types' | 'bookmarks' | 'thread-categories' | 'event-calendars' | 'events' | 'event-tags' | 'event-occurrences' | 'event-registrations';
|
|
574
574
|
isHidden?: boolean | null;
|
|
575
575
|
hiddenFields?: {
|
|
576
576
|
[k: string]: unknown;
|
|
@@ -957,11 +957,6 @@ interface BrandLogo {
|
|
|
957
957
|
id: string;
|
|
958
958
|
tenant?: (string | null) | Tenant;
|
|
959
959
|
alt?: string | null;
|
|
960
|
-
caption?: string | null;
|
|
961
|
-
/**
|
|
962
|
-
* Photographer or source attribution
|
|
963
|
-
*/
|
|
964
|
-
credit?: string | null;
|
|
965
960
|
/**
|
|
966
961
|
* Low quality image placeholder
|
|
967
962
|
*/
|
|
@@ -1046,36 +1041,6 @@ interface BrandLogo {
|
|
|
1046
1041
|
};
|
|
1047
1042
|
};
|
|
1048
1043
|
}
|
|
1049
|
-
/**
|
|
1050
|
-
* This interface was referenced by `Config`'s JSON-Schema
|
|
1051
|
-
* via the `definition` "tenant-auth-settings".
|
|
1052
|
-
*/
|
|
1053
|
-
interface TenantAuthSetting {
|
|
1054
|
-
id: string;
|
|
1055
|
-
tenant?: (string | null) | Tenant;
|
|
1056
|
-
/**
|
|
1057
|
-
* Require customer email verification before registration-dependent auth flows proceed.
|
|
1058
|
-
*/
|
|
1059
|
-
requiresEmailVerification?: boolean | null;
|
|
1060
|
-
updatedAt: string;
|
|
1061
|
-
createdAt: string;
|
|
1062
|
-
deletedAt?: string | null;
|
|
1063
|
-
}
|
|
1064
|
-
/**
|
|
1065
|
-
* This interface was referenced by `Config`'s JSON-Schema
|
|
1066
|
-
* via the `definition` "tenant-community-settings".
|
|
1067
|
-
*/
|
|
1068
|
-
interface TenantCommunitySetting {
|
|
1069
|
-
id: string;
|
|
1070
|
-
tenant?: (string | null) | Tenant;
|
|
1071
|
-
/**
|
|
1072
|
-
* When enabled, new customer-created threads remain pending until approved by an admin.
|
|
1073
|
-
*/
|
|
1074
|
-
requiresPostApproval?: boolean | null;
|
|
1075
|
-
updatedAt: string;
|
|
1076
|
-
createdAt: string;
|
|
1077
|
-
deletedAt?: string | null;
|
|
1078
|
-
}
|
|
1079
1044
|
/**
|
|
1080
1045
|
* This interface was referenced by `Config`'s JSON-Schema
|
|
1081
1046
|
* via the `definition` "api-usage".
|
|
@@ -1167,11 +1132,11 @@ interface TenantAnalyticsDaily {
|
|
|
1167
1132
|
};
|
|
1168
1133
|
snapshottedAt?: string | null;
|
|
1169
1134
|
/**
|
|
1170
|
-
*
|
|
1135
|
+
* Tenant timezone used to bucket this snapshot's date.
|
|
1171
1136
|
*/
|
|
1172
1137
|
bucketTz: string;
|
|
1173
1138
|
/**
|
|
1174
|
-
*
|
|
1139
|
+
* Hash of the dimension key set in this aggregate (shape mismatch detection). "pageview-only" when no custom events exist.
|
|
1175
1140
|
*/
|
|
1176
1141
|
schemaShape: string;
|
|
1177
1142
|
/**
|
|
@@ -1382,7 +1347,7 @@ interface Plan {
|
|
|
1382
1347
|
/**
|
|
1383
1348
|
* Features allowed for this plan
|
|
1384
1349
|
*/
|
|
1385
|
-
featuresAllowed?: ('ecommerce' | 'customers' | 'playlists' | 'galleries' | 'links' | 'forms' | 'posts' | 'documents' | 'canvas' | 'videos' | 'live-streaming' | 'community')[] | null;
|
|
1350
|
+
featuresAllowed?: ('ecommerce' | 'customers' | 'playlists' | 'galleries' | 'links' | 'forms' | 'posts' | 'documents' | 'canvas' | 'videos' | 'live-streaming' | 'community' | 'events')[] | null;
|
|
1386
1351
|
/**
|
|
1387
1352
|
* Quota limits (storageBytes, apiPerMonth, ...)
|
|
1388
1353
|
*/
|
|
@@ -1433,11 +1398,6 @@ interface TenantLogo {
|
|
|
1433
1398
|
id: string;
|
|
1434
1399
|
tenant?: (string | null) | Tenant;
|
|
1435
1400
|
alt?: string | null;
|
|
1436
|
-
caption?: string | null;
|
|
1437
|
-
/**
|
|
1438
|
-
* Photographer or source attribution
|
|
1439
|
-
*/
|
|
1440
|
-
credit?: string | null;
|
|
1441
1401
|
/**
|
|
1442
1402
|
* Low quality image placeholder
|
|
1443
1403
|
*/
|
|
@@ -2367,16 +2327,23 @@ interface Customer {
|
|
|
2367
2327
|
email?: string | null;
|
|
2368
2328
|
phone?: string | null;
|
|
2369
2329
|
groups?: (string | CustomerGroup)[] | null;
|
|
2370
|
-
/**
|
|
2371
|
-
* External provider user ID
|
|
2372
|
-
*/
|
|
2373
|
-
providerUserId?: string | null;
|
|
2374
2330
|
/**
|
|
2375
2331
|
* Internal notes (not visible to customers)
|
|
2376
2332
|
*/
|
|
2377
2333
|
note?: string | null;
|
|
2378
2334
|
birthDate?: string | null;
|
|
2379
2335
|
gender?: ('male' | 'female' | 'other' | 'prefer_not_to_say') | null;
|
|
2336
|
+
isGuest?: boolean | null;
|
|
2337
|
+
authProvider?: ('local' | 'google' | 'apple' | 'kakao' | 'naver') | null;
|
|
2338
|
+
/**
|
|
2339
|
+
* External provider user ID
|
|
2340
|
+
*/
|
|
2341
|
+
providerUserId?: string | null;
|
|
2342
|
+
lastLoginAt?: string | null;
|
|
2343
|
+
/**
|
|
2344
|
+
* Last password change timestamp (used for JWT revocation)
|
|
2345
|
+
*/
|
|
2346
|
+
passwordChangedAt?: string | null;
|
|
2380
2347
|
orders?: {
|
|
2381
2348
|
docs?: (string | Order)[];
|
|
2382
2349
|
hasNextPage?: boolean;
|
|
@@ -2387,6 +2354,21 @@ interface Customer {
|
|
|
2387
2354
|
hasNextPage?: boolean;
|
|
2388
2355
|
totalDocs?: number;
|
|
2389
2356
|
};
|
|
2357
|
+
defaultShippingAddress?: (string | null) | CustomerAddress;
|
|
2358
|
+
defaultBillingAddress?: (string | null) | CustomerAddress;
|
|
2359
|
+
totalOrderCount?: number | null;
|
|
2360
|
+
lifetimeValue?: number | null;
|
|
2361
|
+
firstOrderAt?: string | null;
|
|
2362
|
+
lastOrderAt?: string | null;
|
|
2363
|
+
profile?: {
|
|
2364
|
+
docs?: (string | CustomerProfile)[];
|
|
2365
|
+
hasNextPage?: boolean;
|
|
2366
|
+
totalDocs?: number;
|
|
2367
|
+
};
|
|
2368
|
+
threadCount?: number | null;
|
|
2369
|
+
commentCount?: number | null;
|
|
2370
|
+
reactionCount?: number | null;
|
|
2371
|
+
isMinor?: boolean | null;
|
|
2390
2372
|
marketingConsent?: {
|
|
2391
2373
|
email?: {
|
|
2392
2374
|
isConsented?: boolean | null;
|
|
@@ -2417,6 +2399,8 @@ interface Customer {
|
|
|
2417
2399
|
guardianPhone?: string | null;
|
|
2418
2400
|
guardianConsentedAt?: string | null;
|
|
2419
2401
|
};
|
|
2402
|
+
acceptsTos?: boolean | null;
|
|
2403
|
+
tosVersion?: string | null;
|
|
2420
2404
|
/**
|
|
2421
2405
|
* Withdrawal reason (internal)
|
|
2422
2406
|
*/
|
|
@@ -2429,35 +2413,14 @@ interface Customer {
|
|
|
2429
2413
|
anonymizedAt?: string | null;
|
|
2430
2414
|
hashedPassword?: string | null;
|
|
2431
2415
|
salt?: string | null;
|
|
2432
|
-
verificationToken?: string | null;
|
|
2433
2416
|
resetPasswordToken?: string | null;
|
|
2434
2417
|
resetPasswordExpiresAt?: string | null;
|
|
2435
2418
|
loginAttemptCount?: number | null;
|
|
2436
2419
|
lockedUntil?: string | null;
|
|
2437
|
-
authProvider?: ('local' | 'google' | 'apple' | 'kakao' | 'naver') | null;
|
|
2438
|
-
isGuest?: boolean | null;
|
|
2439
2420
|
/**
|
|
2440
2421
|
* Account suspension
|
|
2441
2422
|
*/
|
|
2442
2423
|
isSuspended?: boolean | null;
|
|
2443
|
-
/**
|
|
2444
|
-
* Last password change timestamp (used for JWT revocation)
|
|
2445
|
-
*/
|
|
2446
|
-
passwordChangedAt?: string | null;
|
|
2447
|
-
isEmailVerified?: boolean | null;
|
|
2448
|
-
lastLoginAt?: string | null;
|
|
2449
|
-
isMinor?: boolean | null;
|
|
2450
|
-
acceptsTos?: boolean | null;
|
|
2451
|
-
tosVersion?: string | null;
|
|
2452
|
-
defaultShippingAddress?: (string | null) | CustomerAddress;
|
|
2453
|
-
defaultBillingAddress?: (string | null) | CustomerAddress;
|
|
2454
|
-
totalOrderCount?: number | null;
|
|
2455
|
-
lifetimeValue?: number | null;
|
|
2456
|
-
firstOrderAt?: string | null;
|
|
2457
|
-
lastOrderAt?: string | null;
|
|
2458
|
-
threadCount?: number | null;
|
|
2459
|
-
commentCount?: number | null;
|
|
2460
|
-
reactionCount?: number | null;
|
|
2461
2424
|
metadata?: {
|
|
2462
2425
|
[k: string]: unknown;
|
|
2463
2426
|
} | unknown[] | string | number | boolean | null;
|
|
@@ -2552,6 +2515,43 @@ interface CustomerAddress {
|
|
|
2552
2515
|
createdAt: string;
|
|
2553
2516
|
deletedAt?: string | null;
|
|
2554
2517
|
}
|
|
2518
|
+
/**
|
|
2519
|
+
* This interface was referenced by `Config`'s JSON-Schema
|
|
2520
|
+
* via the `definition` "customer-profiles".
|
|
2521
|
+
*/
|
|
2522
|
+
interface CustomerProfile {
|
|
2523
|
+
id: string;
|
|
2524
|
+
tenant?: (string | null) | Tenant;
|
|
2525
|
+
customer: string | Customer;
|
|
2526
|
+
/**
|
|
2527
|
+
* Public username shown like @01works.
|
|
2528
|
+
*/
|
|
2529
|
+
handle?: string | null;
|
|
2530
|
+
displayName?: string | null;
|
|
2531
|
+
avatar?: (string | null) | Image;
|
|
2532
|
+
bio?: string | null;
|
|
2533
|
+
bioRichText?: {
|
|
2534
|
+
root: {
|
|
2535
|
+
type: string;
|
|
2536
|
+
children: {
|
|
2537
|
+
type: any;
|
|
2538
|
+
version: number;
|
|
2539
|
+
[k: string]: unknown;
|
|
2540
|
+
}[];
|
|
2541
|
+
direction: ('ltr' | 'rtl') | null;
|
|
2542
|
+
format: 'left' | 'start' | 'center' | 'right' | 'end' | 'justify' | '';
|
|
2543
|
+
indent: number;
|
|
2544
|
+
version: number;
|
|
2545
|
+
};
|
|
2546
|
+
[k: string]: unknown;
|
|
2547
|
+
} | null;
|
|
2548
|
+
joinedAt?: string | null;
|
|
2549
|
+
isPublic?: boolean | null;
|
|
2550
|
+
anonymizedAt?: string | null;
|
|
2551
|
+
metadata?: {
|
|
2552
|
+
[k: string]: unknown;
|
|
2553
|
+
} | unknown[] | string | number | boolean | null;
|
|
2554
|
+
}
|
|
2555
2555
|
/**
|
|
2556
2556
|
* This interface was referenced by `Config`'s JSON-Schema
|
|
2557
2557
|
* via the `definition` "order-items".
|
|
@@ -2915,7 +2915,7 @@ interface Discount {
|
|
|
2915
2915
|
productSelection?: {
|
|
2916
2916
|
type?: ('all' | 'included' | 'excluded') | null;
|
|
2917
2917
|
products?: (string | Product)[] | null;
|
|
2918
|
-
|
|
2918
|
+
collections?: (string | ProductCollection)[] | null;
|
|
2919
2919
|
};
|
|
2920
2920
|
/**
|
|
2921
2921
|
* Total usage limit (empty = unlimited)
|
|
@@ -3366,7 +3366,6 @@ interface Playlist {
|
|
|
3366
3366
|
thumbnail?: (string | null) | Image;
|
|
3367
3367
|
coverArt?: (string | null) | Image;
|
|
3368
3368
|
isCollaborative?: boolean | null;
|
|
3369
|
-
customer?: (string | null) | Customer;
|
|
3370
3369
|
/**
|
|
3371
3370
|
* When enabled, the slug will auto-generate from the title field on save and autosave.
|
|
3372
3371
|
*/
|
|
@@ -4149,7 +4148,13 @@ interface Thread {
|
|
|
4149
4148
|
generateSlug?: boolean | null;
|
|
4150
4149
|
slug?: string | null;
|
|
4151
4150
|
thumbnail?: (string | null) | Image;
|
|
4152
|
-
|
|
4151
|
+
authorProfile: string | CustomerProfile;
|
|
4152
|
+
authorSnapshot: {
|
|
4153
|
+
displayName: string;
|
|
4154
|
+
handle?: string | null;
|
|
4155
|
+
avatar?: (string | null) | Image;
|
|
4156
|
+
avatarUrl?: string | null;
|
|
4157
|
+
};
|
|
4153
4158
|
moderationStatus?: ('pending' | 'approved' | 'rejected' | 'reported' | 'hidden') | null;
|
|
4154
4159
|
viewCount?: number | null;
|
|
4155
4160
|
commentCount?: number | null;
|
|
@@ -4163,7 +4168,7 @@ interface Thread {
|
|
|
4163
4168
|
*/
|
|
4164
4169
|
isLocked?: boolean | null;
|
|
4165
4170
|
lastActivityAt?: string | null;
|
|
4166
|
-
|
|
4171
|
+
lastCommentByProfile?: (string | null) | CustomerProfile;
|
|
4167
4172
|
isFeatured?: boolean | null;
|
|
4168
4173
|
publishedAt?: string | null;
|
|
4169
4174
|
metadata?: {
|
|
@@ -4206,7 +4211,13 @@ interface Comment {
|
|
|
4206
4211
|
id: string;
|
|
4207
4212
|
tenant?: (string | null) | Tenant;
|
|
4208
4213
|
thread: string | Thread;
|
|
4209
|
-
|
|
4214
|
+
authorProfile: string | CustomerProfile;
|
|
4215
|
+
authorSnapshot: {
|
|
4216
|
+
displayName: string;
|
|
4217
|
+
handle?: string | null;
|
|
4218
|
+
avatar?: (string | null) | Image;
|
|
4219
|
+
avatarUrl?: string | null;
|
|
4220
|
+
};
|
|
4210
4221
|
body?: string | null;
|
|
4211
4222
|
parent?: (string | null) | Comment;
|
|
4212
4223
|
depth?: number | null;
|
|
@@ -4234,7 +4245,7 @@ interface Reaction {
|
|
|
4234
4245
|
tenant?: (string | null) | Tenant;
|
|
4235
4246
|
thread?: (string | null) | Thread;
|
|
4236
4247
|
comment?: (string | null) | Comment;
|
|
4237
|
-
|
|
4248
|
+
actorProfile: string | CustomerProfile;
|
|
4238
4249
|
type: string | ReactionType;
|
|
4239
4250
|
metadata?: {
|
|
4240
4251
|
[k: string]: unknown;
|
|
@@ -4338,9 +4349,9 @@ interface CommunityBan {
|
|
|
4338
4349
|
}
|
|
4339
4350
|
/**
|
|
4340
4351
|
* This interface was referenced by `Config`'s JSON-Schema
|
|
4341
|
-
* via the `definition` "
|
|
4352
|
+
* via the `definition` "event-calendars".
|
|
4342
4353
|
*/
|
|
4343
|
-
interface
|
|
4354
|
+
interface EventCalendar {
|
|
4344
4355
|
id: string;
|
|
4345
4356
|
_order?: string | null;
|
|
4346
4357
|
tenant?: (string | null) | Tenant;
|
|
@@ -4349,114 +4360,7 @@ interface Form {
|
|
|
4349
4360
|
* Short summary for listing/cards
|
|
4350
4361
|
*/
|
|
4351
4362
|
description?: string | null;
|
|
4352
|
-
|
|
4353
|
-
/**
|
|
4354
|
-
* When enabled, the slug will auto-generate from the title field on save and autosave.
|
|
4355
|
-
*/
|
|
4356
|
-
generateSlug?: boolean | null;
|
|
4357
|
-
slug?: string | null;
|
|
4358
|
-
fields?: ({
|
|
4359
|
-
name: string;
|
|
4360
|
-
label?: string | null;
|
|
4361
|
-
width?: number | null;
|
|
4362
|
-
required?: boolean | null;
|
|
4363
|
-
defaultValue?: boolean | null;
|
|
4364
|
-
id?: string | null;
|
|
4365
|
-
blockName?: string | null;
|
|
4366
|
-
blockType: 'checkbox';
|
|
4367
|
-
} | {
|
|
4368
|
-
name: string;
|
|
4369
|
-
label?: string | null;
|
|
4370
|
-
width?: number | null;
|
|
4371
|
-
required?: boolean | null;
|
|
4372
|
-
id?: string | null;
|
|
4373
|
-
blockName?: string | null;
|
|
4374
|
-
blockType: 'country';
|
|
4375
|
-
} | {
|
|
4376
|
-
name: string;
|
|
4377
|
-
label?: string | null;
|
|
4378
|
-
width?: number | null;
|
|
4379
|
-
required?: boolean | null;
|
|
4380
|
-
id?: string | null;
|
|
4381
|
-
blockName?: string | null;
|
|
4382
|
-
blockType: 'email';
|
|
4383
|
-
} | {
|
|
4384
|
-
message?: {
|
|
4385
|
-
root: {
|
|
4386
|
-
type: string;
|
|
4387
|
-
children: {
|
|
4388
|
-
type: any;
|
|
4389
|
-
version: number;
|
|
4390
|
-
[k: string]: unknown;
|
|
4391
|
-
}[];
|
|
4392
|
-
direction: ('ltr' | 'rtl') | null;
|
|
4393
|
-
format: 'left' | 'start' | 'center' | 'right' | 'end' | 'justify' | '';
|
|
4394
|
-
indent: number;
|
|
4395
|
-
version: number;
|
|
4396
|
-
};
|
|
4397
|
-
[k: string]: unknown;
|
|
4398
|
-
} | null;
|
|
4399
|
-
id?: string | null;
|
|
4400
|
-
blockName?: string | null;
|
|
4401
|
-
blockType: 'message';
|
|
4402
|
-
} | {
|
|
4403
|
-
name: string;
|
|
4404
|
-
label?: string | null;
|
|
4405
|
-
width?: number | null;
|
|
4406
|
-
defaultValue?: number | null;
|
|
4407
|
-
required?: boolean | null;
|
|
4408
|
-
id?: string | null;
|
|
4409
|
-
blockName?: string | null;
|
|
4410
|
-
blockType: 'number';
|
|
4411
|
-
} | {
|
|
4412
|
-
name: string;
|
|
4413
|
-
label?: string | null;
|
|
4414
|
-
width?: number | null;
|
|
4415
|
-
defaultValue?: string | null;
|
|
4416
|
-
placeholder?: string | null;
|
|
4417
|
-
options?: {
|
|
4418
|
-
label: string;
|
|
4419
|
-
value: string;
|
|
4420
|
-
id?: string | null;
|
|
4421
|
-
}[] | null;
|
|
4422
|
-
required?: boolean | null;
|
|
4423
|
-
id?: string | null;
|
|
4424
|
-
blockName?: string | null;
|
|
4425
|
-
blockType: 'select';
|
|
4426
|
-
} | {
|
|
4427
|
-
name: string;
|
|
4428
|
-
label?: string | null;
|
|
4429
|
-
width?: number | null;
|
|
4430
|
-
required?: boolean | null;
|
|
4431
|
-
id?: string | null;
|
|
4432
|
-
blockName?: string | null;
|
|
4433
|
-
blockType: 'state';
|
|
4434
|
-
} | {
|
|
4435
|
-
name: string;
|
|
4436
|
-
label?: string | null;
|
|
4437
|
-
width?: number | null;
|
|
4438
|
-
defaultValue?: string | null;
|
|
4439
|
-
required?: boolean | null;
|
|
4440
|
-
placeholder?: string | null;
|
|
4441
|
-
id?: string | null;
|
|
4442
|
-
blockName?: string | null;
|
|
4443
|
-
blockType: 'text';
|
|
4444
|
-
} | {
|
|
4445
|
-
name: string;
|
|
4446
|
-
label?: string | null;
|
|
4447
|
-
width?: number | null;
|
|
4448
|
-
defaultValue?: string | null;
|
|
4449
|
-
required?: boolean | null;
|
|
4450
|
-
id?: string | null;
|
|
4451
|
-
blockName?: string | null;
|
|
4452
|
-
blockType: 'textarea';
|
|
4453
|
-
})[] | null;
|
|
4454
|
-
submitButtonLabel?: string | null;
|
|
4455
|
-
/**
|
|
4456
|
-
* Choose whether to display an on-page message or redirect to a different page after they submit the form.
|
|
4457
|
-
*/
|
|
4458
|
-
confirmationType?: ('message' | 'redirect') | null;
|
|
4459
|
-
confirmationMessage?: {
|
|
4363
|
+
content?: {
|
|
4460
4364
|
root: {
|
|
4461
4365
|
type: string;
|
|
4462
4366
|
children: {
|
|
@@ -4471,24 +4375,456 @@ interface Form {
|
|
|
4471
4375
|
};
|
|
4472
4376
|
[k: string]: unknown;
|
|
4473
4377
|
} | null;
|
|
4474
|
-
|
|
4475
|
-
|
|
4378
|
+
publicListing?: {
|
|
4379
|
+
showPastOccurrences?: boolean | null;
|
|
4380
|
+
defaultRangeMonths?: number | null;
|
|
4476
4381
|
};
|
|
4477
|
-
|
|
4478
|
-
|
|
4479
|
-
|
|
4480
|
-
|
|
4481
|
-
|
|
4482
|
-
|
|
4483
|
-
|
|
4484
|
-
|
|
4485
|
-
|
|
4486
|
-
|
|
4382
|
+
defaultLocation?: {
|
|
4383
|
+
name?: string | null;
|
|
4384
|
+
address?: string | null;
|
|
4385
|
+
onlineUrl?: string | null;
|
|
4386
|
+
};
|
|
4387
|
+
defaultRegistration?: {
|
|
4388
|
+
policy?: ('none' | 'rsvp' | 'approval' | 'external') | null;
|
|
4389
|
+
capacity?: number | null;
|
|
4390
|
+
};
|
|
4391
|
+
seo?: {
|
|
4487
4392
|
/**
|
|
4488
|
-
*
|
|
4393
|
+
* Search result title (falls back to document title)
|
|
4489
4394
|
*/
|
|
4490
|
-
|
|
4491
|
-
|
|
4395
|
+
title?: string | null;
|
|
4396
|
+
/**
|
|
4397
|
+
* Search result description
|
|
4398
|
+
*/
|
|
4399
|
+
description?: string | null;
|
|
4400
|
+
/**
|
|
4401
|
+
* Block search engine indexing
|
|
4402
|
+
*/
|
|
4403
|
+
noIndex?: boolean | null;
|
|
4404
|
+
/**
|
|
4405
|
+
* Canonical URL (prevents duplicate content)
|
|
4406
|
+
*/
|
|
4407
|
+
canonical?: string | null;
|
|
4408
|
+
openGraph?: {
|
|
4409
|
+
/**
|
|
4410
|
+
* OG title (falls back to seo.title)
|
|
4411
|
+
*/
|
|
4412
|
+
title?: string | null;
|
|
4413
|
+
/**
|
|
4414
|
+
* OG description (falls back to seo.description)
|
|
4415
|
+
*/
|
|
4416
|
+
description?: string | null;
|
|
4417
|
+
/**
|
|
4418
|
+
* OG / Twitter Card image (1200×630 recommended)
|
|
4419
|
+
*/
|
|
4420
|
+
image?: (string | null) | Image;
|
|
4421
|
+
};
|
|
4422
|
+
};
|
|
4423
|
+
/**
|
|
4424
|
+
* When enabled, the slug will auto-generate from the title field on save and autosave.
|
|
4425
|
+
*/
|
|
4426
|
+
generateSlug?: boolean | null;
|
|
4427
|
+
slug?: string | null;
|
|
4428
|
+
timezone: string;
|
|
4429
|
+
color?: string | null;
|
|
4430
|
+
visibility: 'public' | 'unlisted' | 'members' | 'private';
|
|
4431
|
+
publishedAt?: string | null;
|
|
4432
|
+
metadata?: {
|
|
4433
|
+
[k: string]: unknown;
|
|
4434
|
+
} | unknown[] | string | number | boolean | null;
|
|
4435
|
+
updatedAt: string;
|
|
4436
|
+
createdAt: string;
|
|
4437
|
+
deletedAt?: string | null;
|
|
4438
|
+
_status?: ('draft' | 'published') | null;
|
|
4439
|
+
}
|
|
4440
|
+
/**
|
|
4441
|
+
* This interface was referenced by `Config`'s JSON-Schema
|
|
4442
|
+
* via the `definition` "events".
|
|
4443
|
+
*/
|
|
4444
|
+
interface Event {
|
|
4445
|
+
id: string;
|
|
4446
|
+
_order?: string | null;
|
|
4447
|
+
tenant?: (string | null) | Tenant;
|
|
4448
|
+
title: string;
|
|
4449
|
+
/**
|
|
4450
|
+
* Short summary for listing/cards
|
|
4451
|
+
*/
|
|
4452
|
+
description?: string | null;
|
|
4453
|
+
content?: {
|
|
4454
|
+
root: {
|
|
4455
|
+
type: string;
|
|
4456
|
+
children: {
|
|
4457
|
+
type: any;
|
|
4458
|
+
version: number;
|
|
4459
|
+
[k: string]: unknown;
|
|
4460
|
+
}[];
|
|
4461
|
+
direction: ('ltr' | 'rtl') | null;
|
|
4462
|
+
format: 'left' | 'start' | 'center' | 'right' | 'end' | 'justify' | '';
|
|
4463
|
+
indent: number;
|
|
4464
|
+
version: number;
|
|
4465
|
+
};
|
|
4466
|
+
[k: string]: unknown;
|
|
4467
|
+
} | null;
|
|
4468
|
+
eventCalendars: (string | EventCalendar)[];
|
|
4469
|
+
tags?: (string | EventTag)[] | null;
|
|
4470
|
+
organizer?: {
|
|
4471
|
+
name?: string | null;
|
|
4472
|
+
url?: string | null;
|
|
4473
|
+
user?: (string | null) | User;
|
|
4474
|
+
};
|
|
4475
|
+
startsAt: string;
|
|
4476
|
+
endsAt: string;
|
|
4477
|
+
timezone: string;
|
|
4478
|
+
isAllDay?: boolean | null;
|
|
4479
|
+
recurrence?: {
|
|
4480
|
+
/**
|
|
4481
|
+
* RFC 5545 RRULE string
|
|
4482
|
+
*/
|
|
4483
|
+
rrule?: string | null;
|
|
4484
|
+
rdates?: {
|
|
4485
|
+
date?: string | null;
|
|
4486
|
+
id?: string | null;
|
|
4487
|
+
}[] | null;
|
|
4488
|
+
exdates?: {
|
|
4489
|
+
date?: string | null;
|
|
4490
|
+
id?: string | null;
|
|
4491
|
+
}[] | null;
|
|
4492
|
+
materializationMonths?: number | null;
|
|
4493
|
+
};
|
|
4494
|
+
location?: {
|
|
4495
|
+
type?: ('physical' | 'online' | 'hybrid' | 'hidden') | null;
|
|
4496
|
+
name?: string | null;
|
|
4497
|
+
address?: string | null;
|
|
4498
|
+
onlineUrl?: string | null;
|
|
4499
|
+
onlineNote?: string | null;
|
|
4500
|
+
privateNote?: string | null;
|
|
4501
|
+
};
|
|
4502
|
+
registrationPolicy?: ('none' | 'rsvp' | 'approval' | 'external') | null;
|
|
4503
|
+
waitlistPolicy: 'disabled' | 'auto_waitlist';
|
|
4504
|
+
externalRegistrationUrl?: string | null;
|
|
4505
|
+
seo?: {
|
|
4506
|
+
/**
|
|
4507
|
+
* Search result title (falls back to document title)
|
|
4508
|
+
*/
|
|
4509
|
+
title?: string | null;
|
|
4510
|
+
/**
|
|
4511
|
+
* Search result description
|
|
4512
|
+
*/
|
|
4513
|
+
description?: string | null;
|
|
4514
|
+
/**
|
|
4515
|
+
* Block search engine indexing
|
|
4516
|
+
*/
|
|
4517
|
+
noIndex?: boolean | null;
|
|
4518
|
+
/**
|
|
4519
|
+
* Canonical URL (prevents duplicate content)
|
|
4520
|
+
*/
|
|
4521
|
+
canonical?: string | null;
|
|
4522
|
+
openGraph?: {
|
|
4523
|
+
/**
|
|
4524
|
+
* OG title (falls back to seo.title)
|
|
4525
|
+
*/
|
|
4526
|
+
title?: string | null;
|
|
4527
|
+
/**
|
|
4528
|
+
* OG description (falls back to seo.description)
|
|
4529
|
+
*/
|
|
4530
|
+
description?: string | null;
|
|
4531
|
+
/**
|
|
4532
|
+
* OG / Twitter Card image (1200×630 recommended)
|
|
4533
|
+
*/
|
|
4534
|
+
image?: (string | null) | Image;
|
|
4535
|
+
};
|
|
4536
|
+
};
|
|
4537
|
+
/**
|
|
4538
|
+
* When enabled, the slug will auto-generate from the title field on save and autosave.
|
|
4539
|
+
*/
|
|
4540
|
+
generateSlug?: boolean | null;
|
|
4541
|
+
slug?: string | null;
|
|
4542
|
+
status: 'draft' | 'published' | 'archived' | 'canceled';
|
|
4543
|
+
coverImage?: (string | null) | Image;
|
|
4544
|
+
visibility: 'inherit' | 'public' | 'unlisted' | 'members' | 'private';
|
|
4545
|
+
sourceType: 'native' | 'external';
|
|
4546
|
+
externalSource?: {
|
|
4547
|
+
provider?: string | null;
|
|
4548
|
+
sourceId?: string | null;
|
|
4549
|
+
url?: string | null;
|
|
4550
|
+
};
|
|
4551
|
+
publishedAt?: string | null;
|
|
4552
|
+
metadata?: {
|
|
4553
|
+
[k: string]: unknown;
|
|
4554
|
+
} | unknown[] | string | number | boolean | null;
|
|
4555
|
+
updatedAt: string;
|
|
4556
|
+
createdAt: string;
|
|
4557
|
+
deletedAt?: string | null;
|
|
4558
|
+
_status?: ('draft' | 'published') | null;
|
|
4559
|
+
}
|
|
4560
|
+
/**
|
|
4561
|
+
* This interface was referenced by `Config`'s JSON-Schema
|
|
4562
|
+
* via the `definition` "event-tags".
|
|
4563
|
+
*/
|
|
4564
|
+
interface EventTag {
|
|
4565
|
+
id: string;
|
|
4566
|
+
_order?: string | null;
|
|
4567
|
+
tenant?: (string | null) | Tenant;
|
|
4568
|
+
title: string;
|
|
4569
|
+
/**
|
|
4570
|
+
* When enabled, the slug will auto-generate from the title field on save and autosave.
|
|
4571
|
+
*/
|
|
4572
|
+
generateSlug?: boolean | null;
|
|
4573
|
+
slug?: string | null;
|
|
4574
|
+
/**
|
|
4575
|
+
* Short summary for listing/cards
|
|
4576
|
+
*/
|
|
4577
|
+
description?: string | null;
|
|
4578
|
+
image?: (string | null) | Image;
|
|
4579
|
+
parent?: (string | null) | EventTag;
|
|
4580
|
+
color?: string | null;
|
|
4581
|
+
updatedAt: string;
|
|
4582
|
+
createdAt: string;
|
|
4583
|
+
deletedAt?: string | null;
|
|
4584
|
+
}
|
|
4585
|
+
/**
|
|
4586
|
+
* This interface was referenced by `Config`'s JSON-Schema
|
|
4587
|
+
* via the `definition` "event-occurrences".
|
|
4588
|
+
*/
|
|
4589
|
+
interface EventOccurrence {
|
|
4590
|
+
id: string;
|
|
4591
|
+
tenant?: (string | null) | Tenant;
|
|
4592
|
+
event: string | Event;
|
|
4593
|
+
/**
|
|
4594
|
+
* RECURRENCE-ID based on original DTSTART
|
|
4595
|
+
*/
|
|
4596
|
+
instanceKey: string;
|
|
4597
|
+
startsAt: string;
|
|
4598
|
+
endsAt: string;
|
|
4599
|
+
timezone: string;
|
|
4600
|
+
isAllDay?: boolean | null;
|
|
4601
|
+
status: 'scheduled' | 'canceled' | 'completed';
|
|
4602
|
+
locationOverride?: {
|
|
4603
|
+
name?: string | null;
|
|
4604
|
+
address?: string | null;
|
|
4605
|
+
onlineUrl?: string | null;
|
|
4606
|
+
note?: string | null;
|
|
4607
|
+
privateNote?: string | null;
|
|
4608
|
+
};
|
|
4609
|
+
capacity?: number | null;
|
|
4610
|
+
registrationCount?: number | null;
|
|
4611
|
+
waitlistCount?: number | null;
|
|
4612
|
+
checkInWindow?: {
|
|
4613
|
+
opensAt?: string | null;
|
|
4614
|
+
closesAt?: string | null;
|
|
4615
|
+
};
|
|
4616
|
+
cancellation?: {
|
|
4617
|
+
canceledAt?: string | null;
|
|
4618
|
+
reason?: string | null;
|
|
4619
|
+
};
|
|
4620
|
+
metadata?: {
|
|
4621
|
+
[k: string]: unknown;
|
|
4622
|
+
} | unknown[] | string | number | boolean | null;
|
|
4623
|
+
updatedAt: string;
|
|
4624
|
+
createdAt: string;
|
|
4625
|
+
deletedAt?: string | null;
|
|
4626
|
+
}
|
|
4627
|
+
/**
|
|
4628
|
+
* This interface was referenced by `Config`'s JSON-Schema
|
|
4629
|
+
* via the `definition` "event-registrations".
|
|
4630
|
+
*/
|
|
4631
|
+
interface EventRegistration {
|
|
4632
|
+
id: string;
|
|
4633
|
+
tenant?: (string | null) | Tenant;
|
|
4634
|
+
event: string | Event;
|
|
4635
|
+
occurrence: string | EventOccurrence;
|
|
4636
|
+
customer?: (string | null) | Customer;
|
|
4637
|
+
registrationStatus: 'pending' | 'going' | 'waitlisted' | 'declined' | 'canceled';
|
|
4638
|
+
attendanceStatus: 'not_checked_in' | 'checked_in' | 'no_show';
|
|
4639
|
+
quantity: number;
|
|
4640
|
+
attendeeSnapshot?: {
|
|
4641
|
+
name?: string | null;
|
|
4642
|
+
email?: string | null;
|
|
4643
|
+
phone?: string | null;
|
|
4644
|
+
};
|
|
4645
|
+
attendeeEmail?: string | null;
|
|
4646
|
+
answers?: {
|
|
4647
|
+
question?: string | null;
|
|
4648
|
+
answer?: string | null;
|
|
4649
|
+
id?: string | null;
|
|
4650
|
+
}[] | null;
|
|
4651
|
+
approval?: {
|
|
4652
|
+
approvedAt?: string | null;
|
|
4653
|
+
approvedBy?: (string | null) | User;
|
|
4654
|
+
note?: string | null;
|
|
4655
|
+
};
|
|
4656
|
+
cancellation?: {
|
|
4657
|
+
canceledAt?: string | null;
|
|
4658
|
+
reason?: string | null;
|
|
4659
|
+
};
|
|
4660
|
+
checkIn?: {
|
|
4661
|
+
checkedInAt?: string | null;
|
|
4662
|
+
checkedInBy?: (string | null) | User;
|
|
4663
|
+
};
|
|
4664
|
+
guestTokenHash?: string | null;
|
|
4665
|
+
guestTokenExpiresAt?: string | null;
|
|
4666
|
+
piiRetentionUntil?: string | null;
|
|
4667
|
+
piiRedactedAt?: string | null;
|
|
4668
|
+
metadata?: {
|
|
4669
|
+
[k: string]: unknown;
|
|
4670
|
+
} | unknown[] | string | number | boolean | null;
|
|
4671
|
+
updatedAt: string;
|
|
4672
|
+
createdAt: string;
|
|
4673
|
+
deletedAt?: string | null;
|
|
4674
|
+
}
|
|
4675
|
+
/**
|
|
4676
|
+
* This interface was referenced by `Config`'s JSON-Schema
|
|
4677
|
+
* via the `definition` "forms".
|
|
4678
|
+
*/
|
|
4679
|
+
interface Form {
|
|
4680
|
+
id: string;
|
|
4681
|
+
_order?: string | null;
|
|
4682
|
+
tenant?: (string | null) | Tenant;
|
|
4683
|
+
title: string;
|
|
4684
|
+
/**
|
|
4685
|
+
* Short summary for listing/cards
|
|
4686
|
+
*/
|
|
4687
|
+
description?: string | null;
|
|
4688
|
+
isActive?: boolean | null;
|
|
4689
|
+
/**
|
|
4690
|
+
* When enabled, the slug will auto-generate from the title field on save and autosave.
|
|
4691
|
+
*/
|
|
4692
|
+
generateSlug?: boolean | null;
|
|
4693
|
+
slug?: string | null;
|
|
4694
|
+
fields?: ({
|
|
4695
|
+
name: string;
|
|
4696
|
+
label?: string | null;
|
|
4697
|
+
width?: number | null;
|
|
4698
|
+
required?: boolean | null;
|
|
4699
|
+
defaultValue?: boolean | null;
|
|
4700
|
+
id?: string | null;
|
|
4701
|
+
blockName?: string | null;
|
|
4702
|
+
blockType: 'checkbox';
|
|
4703
|
+
} | {
|
|
4704
|
+
name: string;
|
|
4705
|
+
label?: string | null;
|
|
4706
|
+
width?: number | null;
|
|
4707
|
+
required?: boolean | null;
|
|
4708
|
+
id?: string | null;
|
|
4709
|
+
blockName?: string | null;
|
|
4710
|
+
blockType: 'country';
|
|
4711
|
+
} | {
|
|
4712
|
+
name: string;
|
|
4713
|
+
label?: string | null;
|
|
4714
|
+
width?: number | null;
|
|
4715
|
+
required?: boolean | null;
|
|
4716
|
+
id?: string | null;
|
|
4717
|
+
blockName?: string | null;
|
|
4718
|
+
blockType: 'email';
|
|
4719
|
+
} | {
|
|
4720
|
+
message?: {
|
|
4721
|
+
root: {
|
|
4722
|
+
type: string;
|
|
4723
|
+
children: {
|
|
4724
|
+
type: any;
|
|
4725
|
+
version: number;
|
|
4726
|
+
[k: string]: unknown;
|
|
4727
|
+
}[];
|
|
4728
|
+
direction: ('ltr' | 'rtl') | null;
|
|
4729
|
+
format: 'left' | 'start' | 'center' | 'right' | 'end' | 'justify' | '';
|
|
4730
|
+
indent: number;
|
|
4731
|
+
version: number;
|
|
4732
|
+
};
|
|
4733
|
+
[k: string]: unknown;
|
|
4734
|
+
} | null;
|
|
4735
|
+
id?: string | null;
|
|
4736
|
+
blockName?: string | null;
|
|
4737
|
+
blockType: 'message';
|
|
4738
|
+
} | {
|
|
4739
|
+
name: string;
|
|
4740
|
+
label?: string | null;
|
|
4741
|
+
width?: number | null;
|
|
4742
|
+
defaultValue?: number | null;
|
|
4743
|
+
required?: boolean | null;
|
|
4744
|
+
id?: string | null;
|
|
4745
|
+
blockName?: string | null;
|
|
4746
|
+
blockType: 'number';
|
|
4747
|
+
} | {
|
|
4748
|
+
name: string;
|
|
4749
|
+
label?: string | null;
|
|
4750
|
+
width?: number | null;
|
|
4751
|
+
defaultValue?: string | null;
|
|
4752
|
+
placeholder?: string | null;
|
|
4753
|
+
options?: {
|
|
4754
|
+
label: string;
|
|
4755
|
+
value: string;
|
|
4756
|
+
id?: string | null;
|
|
4757
|
+
}[] | null;
|
|
4758
|
+
required?: boolean | null;
|
|
4759
|
+
id?: string | null;
|
|
4760
|
+
blockName?: string | null;
|
|
4761
|
+
blockType: 'select';
|
|
4762
|
+
} | {
|
|
4763
|
+
name: string;
|
|
4764
|
+
label?: string | null;
|
|
4765
|
+
width?: number | null;
|
|
4766
|
+
required?: boolean | null;
|
|
4767
|
+
id?: string | null;
|
|
4768
|
+
blockName?: string | null;
|
|
4769
|
+
blockType: 'state';
|
|
4770
|
+
} | {
|
|
4771
|
+
name: string;
|
|
4772
|
+
label?: string | null;
|
|
4773
|
+
width?: number | null;
|
|
4774
|
+
defaultValue?: string | null;
|
|
4775
|
+
required?: boolean | null;
|
|
4776
|
+
placeholder?: string | null;
|
|
4777
|
+
id?: string | null;
|
|
4778
|
+
blockName?: string | null;
|
|
4779
|
+
blockType: 'text';
|
|
4780
|
+
} | {
|
|
4781
|
+
name: string;
|
|
4782
|
+
label?: string | null;
|
|
4783
|
+
width?: number | null;
|
|
4784
|
+
defaultValue?: string | null;
|
|
4785
|
+
required?: boolean | null;
|
|
4786
|
+
id?: string | null;
|
|
4787
|
+
blockName?: string | null;
|
|
4788
|
+
blockType: 'textarea';
|
|
4789
|
+
})[] | null;
|
|
4790
|
+
submitButtonLabel?: string | null;
|
|
4791
|
+
/**
|
|
4792
|
+
* Choose whether to display an on-page message or redirect to a different page after they submit the form.
|
|
4793
|
+
*/
|
|
4794
|
+
confirmationType?: ('message' | 'redirect') | null;
|
|
4795
|
+
confirmationMessage?: {
|
|
4796
|
+
root: {
|
|
4797
|
+
type: string;
|
|
4798
|
+
children: {
|
|
4799
|
+
type: any;
|
|
4800
|
+
version: number;
|
|
4801
|
+
[k: string]: unknown;
|
|
4802
|
+
}[];
|
|
4803
|
+
direction: ('ltr' | 'rtl') | null;
|
|
4804
|
+
format: 'left' | 'start' | 'center' | 'right' | 'end' | 'justify' | '';
|
|
4805
|
+
indent: number;
|
|
4806
|
+
version: number;
|
|
4807
|
+
};
|
|
4808
|
+
[k: string]: unknown;
|
|
4809
|
+
} | null;
|
|
4810
|
+
redirect?: {
|
|
4811
|
+
url: string;
|
|
4812
|
+
};
|
|
4813
|
+
/**
|
|
4814
|
+
* Send custom emails when the form submits. Use comma separated lists to send the same email to multiple recipients. To reference a value from this form, wrap that field's name with double curly brackets, i.e. {{firstName}}. You can use a wildcard {{*}} to output all data and {{*:table}} to format it as an HTML table in the email.
|
|
4815
|
+
*/
|
|
4816
|
+
emails?: {
|
|
4817
|
+
emailTo?: string | null;
|
|
4818
|
+
cc?: string | null;
|
|
4819
|
+
bcc?: string | null;
|
|
4820
|
+
replyTo?: string | null;
|
|
4821
|
+
emailFrom?: string | null;
|
|
4822
|
+
subject: string;
|
|
4823
|
+
/**
|
|
4824
|
+
* Enter the message that should be sent in this email.
|
|
4825
|
+
*/
|
|
4826
|
+
message?: {
|
|
4827
|
+
root: {
|
|
4492
4828
|
type: string;
|
|
4493
4829
|
children: {
|
|
4494
4830
|
type: any;
|
|
@@ -4581,12 +4917,6 @@ interface PayloadLockedDocument {
|
|
|
4581
4917
|
} | null) | ({
|
|
4582
4918
|
relationTo: 'tenant-metadata';
|
|
4583
4919
|
value: string | TenantMetadatum;
|
|
4584
|
-
} | null) | ({
|
|
4585
|
-
relationTo: 'tenant-auth-settings';
|
|
4586
|
-
value: string | TenantAuthSetting;
|
|
4587
|
-
} | null) | ({
|
|
4588
|
-
relationTo: 'tenant-community-settings';
|
|
4589
|
-
value: string | TenantCommunitySetting;
|
|
4590
4920
|
} | null) | ({
|
|
4591
4921
|
relationTo: 'api-usage';
|
|
4592
4922
|
value: string | ApiUsage;
|
|
@@ -4671,6 +5001,9 @@ interface PayloadLockedDocument {
|
|
|
4671
5001
|
} | null) | ({
|
|
4672
5002
|
relationTo: 'customers';
|
|
4673
5003
|
value: string | Customer;
|
|
5004
|
+
} | null) | ({
|
|
5005
|
+
relationTo: 'customer-profiles';
|
|
5006
|
+
value: string | CustomerProfile;
|
|
4674
5007
|
} | null) | ({
|
|
4675
5008
|
relationTo: 'customer-addresses';
|
|
4676
5009
|
value: string | CustomerAddress;
|
|
@@ -4809,6 +5142,21 @@ interface PayloadLockedDocument {
|
|
|
4809
5142
|
} | null) | ({
|
|
4810
5143
|
relationTo: 'community-bans';
|
|
4811
5144
|
value: string | CommunityBan;
|
|
5145
|
+
} | null) | ({
|
|
5146
|
+
relationTo: 'event-calendars';
|
|
5147
|
+
value: string | EventCalendar;
|
|
5148
|
+
} | null) | ({
|
|
5149
|
+
relationTo: 'events';
|
|
5150
|
+
value: string | Event;
|
|
5151
|
+
} | null) | ({
|
|
5152
|
+
relationTo: 'event-tags';
|
|
5153
|
+
value: string | EventTag;
|
|
5154
|
+
} | null) | ({
|
|
5155
|
+
relationTo: 'event-occurrences';
|
|
5156
|
+
value: string | EventOccurrence;
|
|
5157
|
+
} | null) | ({
|
|
5158
|
+
relationTo: 'event-registrations';
|
|
5159
|
+
value: string | EventRegistration;
|
|
4812
5160
|
} | null) | ({
|
|
4813
5161
|
relationTo: 'forms';
|
|
4814
5162
|
value: string | Form;
|
|
@@ -4925,8 +5273,6 @@ interface FieldConfigsSelect<T extends boolean = true> {
|
|
|
4925
5273
|
interface ImagesSelect<T extends boolean = true> {
|
|
4926
5274
|
tenant?: T;
|
|
4927
5275
|
alt?: T;
|
|
4928
|
-
caption?: T;
|
|
4929
|
-
credit?: T;
|
|
4930
5276
|
lqip?: T;
|
|
4931
5277
|
palette?: T | {
|
|
4932
5278
|
vibrant?: T;
|
|
@@ -5157,7 +5503,6 @@ interface TenantsSelect<T extends boolean = true> {
|
|
|
5157
5503
|
};
|
|
5158
5504
|
webhooks?: T | {
|
|
5159
5505
|
name?: T;
|
|
5160
|
-
purpose?: T;
|
|
5161
5506
|
url?: T;
|
|
5162
5507
|
secret?: T;
|
|
5163
5508
|
isEnabled?: T;
|
|
@@ -5242,28 +5587,6 @@ interface TenantMetadataSelect<T extends boolean = true> {
|
|
|
5242
5587
|
createdAt?: T;
|
|
5243
5588
|
deletedAt?: T;
|
|
5244
5589
|
}
|
|
5245
|
-
/**
|
|
5246
|
-
* This interface was referenced by `Config`'s JSON-Schema
|
|
5247
|
-
* via the `definition` "tenant-auth-settings_select".
|
|
5248
|
-
*/
|
|
5249
|
-
interface TenantAuthSettingsSelect<T extends boolean = true> {
|
|
5250
|
-
tenant?: T;
|
|
5251
|
-
requiresEmailVerification?: T;
|
|
5252
|
-
updatedAt?: T;
|
|
5253
|
-
createdAt?: T;
|
|
5254
|
-
deletedAt?: T;
|
|
5255
|
-
}
|
|
5256
|
-
/**
|
|
5257
|
-
* This interface was referenced by `Config`'s JSON-Schema
|
|
5258
|
-
* via the `definition` "tenant-community-settings_select".
|
|
5259
|
-
*/
|
|
5260
|
-
interface TenantCommunitySettingsSelect<T extends boolean = true> {
|
|
5261
|
-
tenant?: T;
|
|
5262
|
-
requiresPostApproval?: T;
|
|
5263
|
-
updatedAt?: T;
|
|
5264
|
-
createdAt?: T;
|
|
5265
|
-
deletedAt?: T;
|
|
5266
|
-
}
|
|
5267
5590
|
/**
|
|
5268
5591
|
* This interface was referenced by `Config`'s JSON-Schema
|
|
5269
5592
|
* via the `definition` "api-usage_select".
|
|
@@ -5495,8 +5818,6 @@ interface WebhooksSelect<T extends boolean = true> {
|
|
|
5495
5818
|
interface TenantLogosSelect<T extends boolean = true> {
|
|
5496
5819
|
tenant?: T;
|
|
5497
5820
|
alt?: T;
|
|
5498
|
-
caption?: T;
|
|
5499
|
-
credit?: T;
|
|
5500
5821
|
lqip?: T;
|
|
5501
5822
|
palette?: T | {
|
|
5502
5823
|
vibrant?: T;
|
|
@@ -5813,8 +6134,6 @@ interface BrandsSelect<T extends boolean = true> {
|
|
|
5813
6134
|
interface BrandLogosSelect<T extends boolean = true> {
|
|
5814
6135
|
tenant?: T;
|
|
5815
6136
|
alt?: T;
|
|
5816
|
-
caption?: T;
|
|
5817
|
-
credit?: T;
|
|
5818
6137
|
lqip?: T;
|
|
5819
6138
|
palette?: T | {
|
|
5820
6139
|
vibrant?: T;
|
|
@@ -6144,12 +6463,27 @@ interface CustomersSelect<T extends boolean = true> {
|
|
|
6144
6463
|
email?: T;
|
|
6145
6464
|
phone?: T;
|
|
6146
6465
|
groups?: T;
|
|
6147
|
-
providerUserId?: T;
|
|
6148
6466
|
note?: T;
|
|
6149
6467
|
birthDate?: T;
|
|
6150
6468
|
gender?: T;
|
|
6469
|
+
isGuest?: T;
|
|
6470
|
+
authProvider?: T;
|
|
6471
|
+
providerUserId?: T;
|
|
6472
|
+
lastLoginAt?: T;
|
|
6473
|
+
passwordChangedAt?: T;
|
|
6151
6474
|
orders?: T;
|
|
6152
6475
|
addresses?: T;
|
|
6476
|
+
defaultShippingAddress?: T;
|
|
6477
|
+
defaultBillingAddress?: T;
|
|
6478
|
+
totalOrderCount?: T;
|
|
6479
|
+
lifetimeValue?: T;
|
|
6480
|
+
firstOrderAt?: T;
|
|
6481
|
+
lastOrderAt?: T;
|
|
6482
|
+
profile?: T;
|
|
6483
|
+
threadCount?: T;
|
|
6484
|
+
commentCount?: T;
|
|
6485
|
+
reactionCount?: T;
|
|
6486
|
+
isMinor?: T;
|
|
6153
6487
|
marketingConsent?: T | {
|
|
6154
6488
|
email?: T | {
|
|
6155
6489
|
isConsented?: T;
|
|
@@ -6177,40 +6511,41 @@ interface CustomersSelect<T extends boolean = true> {
|
|
|
6177
6511
|
guardianPhone?: T;
|
|
6178
6512
|
guardianConsentedAt?: T;
|
|
6179
6513
|
};
|
|
6514
|
+
acceptsTos?: T;
|
|
6515
|
+
tosVersion?: T;
|
|
6180
6516
|
withdrawReason?: T;
|
|
6181
6517
|
withdrawnAt?: T;
|
|
6182
6518
|
retainUntil?: T;
|
|
6183
6519
|
anonymizedAt?: T;
|
|
6184
6520
|
hashedPassword?: T;
|
|
6185
6521
|
salt?: T;
|
|
6186
|
-
verificationToken?: T;
|
|
6187
6522
|
resetPasswordToken?: T;
|
|
6188
6523
|
resetPasswordExpiresAt?: T;
|
|
6189
6524
|
loginAttemptCount?: T;
|
|
6190
6525
|
lockedUntil?: T;
|
|
6191
|
-
authProvider?: T;
|
|
6192
|
-
isGuest?: T;
|
|
6193
6526
|
isSuspended?: T;
|
|
6194
|
-
passwordChangedAt?: T;
|
|
6195
|
-
isEmailVerified?: T;
|
|
6196
|
-
lastLoginAt?: T;
|
|
6197
|
-
isMinor?: T;
|
|
6198
|
-
acceptsTos?: T;
|
|
6199
|
-
tosVersion?: T;
|
|
6200
|
-
defaultShippingAddress?: T;
|
|
6201
|
-
defaultBillingAddress?: T;
|
|
6202
|
-
totalOrderCount?: T;
|
|
6203
|
-
lifetimeValue?: T;
|
|
6204
|
-
firstOrderAt?: T;
|
|
6205
|
-
lastOrderAt?: T;
|
|
6206
|
-
threadCount?: T;
|
|
6207
|
-
commentCount?: T;
|
|
6208
|
-
reactionCount?: T;
|
|
6209
6527
|
metadata?: T;
|
|
6210
6528
|
updatedAt?: T;
|
|
6211
6529
|
createdAt?: T;
|
|
6212
6530
|
deletedAt?: T;
|
|
6213
6531
|
}
|
|
6532
|
+
/**
|
|
6533
|
+
* This interface was referenced by `Config`'s JSON-Schema
|
|
6534
|
+
* via the `definition` "customer-profiles_select".
|
|
6535
|
+
*/
|
|
6536
|
+
interface CustomerProfilesSelect<T extends boolean = true> {
|
|
6537
|
+
tenant?: T;
|
|
6538
|
+
customer?: T;
|
|
6539
|
+
handle?: T;
|
|
6540
|
+
displayName?: T;
|
|
6541
|
+
avatar?: T;
|
|
6542
|
+
bio?: T;
|
|
6543
|
+
bioRichText?: T;
|
|
6544
|
+
joinedAt?: T;
|
|
6545
|
+
isPublic?: T;
|
|
6546
|
+
anonymizedAt?: T;
|
|
6547
|
+
metadata?: T;
|
|
6548
|
+
}
|
|
6214
6549
|
/**
|
|
6215
6550
|
* This interface was referenced by `Config`'s JSON-Schema
|
|
6216
6551
|
* via the `definition` "customer-addresses_select".
|
|
@@ -6335,7 +6670,7 @@ interface DiscountsSelect<T extends boolean = true> {
|
|
|
6335
6670
|
productSelection?: T | {
|
|
6336
6671
|
type?: T;
|
|
6337
6672
|
products?: T;
|
|
6338
|
-
|
|
6673
|
+
collections?: T;
|
|
6339
6674
|
};
|
|
6340
6675
|
maxUses?: T;
|
|
6341
6676
|
usesCount?: T;
|
|
@@ -6578,7 +6913,6 @@ interface PlaylistsSelect<T extends boolean = true> {
|
|
|
6578
6913
|
thumbnail?: T;
|
|
6579
6914
|
coverArt?: T;
|
|
6580
6915
|
isCollaborative?: T;
|
|
6581
|
-
customer?: T;
|
|
6582
6916
|
generateSlug?: T;
|
|
6583
6917
|
slug?: T;
|
|
6584
6918
|
status?: T;
|
|
@@ -7188,7 +7522,13 @@ interface ThreadsSelect<T extends boolean = true> {
|
|
|
7188
7522
|
generateSlug?: T;
|
|
7189
7523
|
slug?: T;
|
|
7190
7524
|
thumbnail?: T;
|
|
7191
|
-
|
|
7525
|
+
authorProfile?: T;
|
|
7526
|
+
authorSnapshot?: T | {
|
|
7527
|
+
displayName?: T;
|
|
7528
|
+
handle?: T;
|
|
7529
|
+
avatar?: T;
|
|
7530
|
+
avatarUrl?: T;
|
|
7531
|
+
};
|
|
7192
7532
|
moderationStatus?: T;
|
|
7193
7533
|
viewCount?: T;
|
|
7194
7534
|
commentCount?: T;
|
|
@@ -7199,7 +7539,7 @@ interface ThreadsSelect<T extends boolean = true> {
|
|
|
7199
7539
|
visibility?: T;
|
|
7200
7540
|
isLocked?: T;
|
|
7201
7541
|
lastActivityAt?: T;
|
|
7202
|
-
|
|
7542
|
+
lastCommentByProfile?: T;
|
|
7203
7543
|
isFeatured?: T;
|
|
7204
7544
|
publishedAt?: T;
|
|
7205
7545
|
metadata?: T;
|
|
@@ -7214,7 +7554,13 @@ interface ThreadsSelect<T extends boolean = true> {
|
|
|
7214
7554
|
interface CommentsSelect<T extends boolean = true> {
|
|
7215
7555
|
tenant?: T;
|
|
7216
7556
|
thread?: T;
|
|
7217
|
-
|
|
7557
|
+
authorProfile?: T;
|
|
7558
|
+
authorSnapshot?: T | {
|
|
7559
|
+
displayName?: T;
|
|
7560
|
+
handle?: T;
|
|
7561
|
+
avatar?: T;
|
|
7562
|
+
avatarUrl?: T;
|
|
7563
|
+
};
|
|
7218
7564
|
body?: T;
|
|
7219
7565
|
parent?: T;
|
|
7220
7566
|
depth?: T;
|
|
@@ -7239,7 +7585,7 @@ interface ReactionsSelect<T extends boolean = true> {
|
|
|
7239
7585
|
tenant?: T;
|
|
7240
7586
|
thread?: T;
|
|
7241
7587
|
comment?: T;
|
|
7242
|
-
|
|
7588
|
+
actorProfile?: T;
|
|
7243
7589
|
type?: T;
|
|
7244
7590
|
metadata?: T;
|
|
7245
7591
|
updatedAt?: T;
|
|
@@ -7325,6 +7671,224 @@ interface CommunityBansSelect<T extends boolean = true> {
|
|
|
7325
7671
|
updatedAt?: T;
|
|
7326
7672
|
createdAt?: T;
|
|
7327
7673
|
}
|
|
7674
|
+
/**
|
|
7675
|
+
* This interface was referenced by `Config`'s JSON-Schema
|
|
7676
|
+
* via the `definition` "event-calendars_select".
|
|
7677
|
+
*/
|
|
7678
|
+
interface EventCalendarsSelect<T extends boolean = true> {
|
|
7679
|
+
_order?: T;
|
|
7680
|
+
tenant?: T;
|
|
7681
|
+
title?: T;
|
|
7682
|
+
description?: T;
|
|
7683
|
+
content?: T;
|
|
7684
|
+
publicListing?: T | {
|
|
7685
|
+
showPastOccurrences?: T;
|
|
7686
|
+
defaultRangeMonths?: T;
|
|
7687
|
+
};
|
|
7688
|
+
defaultLocation?: T | {
|
|
7689
|
+
name?: T;
|
|
7690
|
+
address?: T;
|
|
7691
|
+
onlineUrl?: T;
|
|
7692
|
+
};
|
|
7693
|
+
defaultRegistration?: T | {
|
|
7694
|
+
policy?: T;
|
|
7695
|
+
capacity?: T;
|
|
7696
|
+
};
|
|
7697
|
+
seo?: T | {
|
|
7698
|
+
title?: T;
|
|
7699
|
+
description?: T;
|
|
7700
|
+
noIndex?: T;
|
|
7701
|
+
canonical?: T;
|
|
7702
|
+
openGraph?: T | {
|
|
7703
|
+
title?: T;
|
|
7704
|
+
description?: T;
|
|
7705
|
+
image?: T;
|
|
7706
|
+
};
|
|
7707
|
+
};
|
|
7708
|
+
generateSlug?: T;
|
|
7709
|
+
slug?: T;
|
|
7710
|
+
timezone?: T;
|
|
7711
|
+
color?: T;
|
|
7712
|
+
visibility?: T;
|
|
7713
|
+
publishedAt?: T;
|
|
7714
|
+
metadata?: T;
|
|
7715
|
+
updatedAt?: T;
|
|
7716
|
+
createdAt?: T;
|
|
7717
|
+
deletedAt?: T;
|
|
7718
|
+
_status?: T;
|
|
7719
|
+
}
|
|
7720
|
+
/**
|
|
7721
|
+
* This interface was referenced by `Config`'s JSON-Schema
|
|
7722
|
+
* via the `definition` "events_select".
|
|
7723
|
+
*/
|
|
7724
|
+
interface EventsSelect<T extends boolean = true> {
|
|
7725
|
+
_order?: T;
|
|
7726
|
+
tenant?: T;
|
|
7727
|
+
title?: T;
|
|
7728
|
+
description?: T;
|
|
7729
|
+
content?: T;
|
|
7730
|
+
eventCalendars?: T;
|
|
7731
|
+
tags?: T;
|
|
7732
|
+
organizer?: T | {
|
|
7733
|
+
name?: T;
|
|
7734
|
+
url?: T;
|
|
7735
|
+
user?: T;
|
|
7736
|
+
};
|
|
7737
|
+
startsAt?: T;
|
|
7738
|
+
endsAt?: T;
|
|
7739
|
+
timezone?: T;
|
|
7740
|
+
isAllDay?: T;
|
|
7741
|
+
recurrence?: T | {
|
|
7742
|
+
rrule?: T;
|
|
7743
|
+
rdates?: T | {
|
|
7744
|
+
date?: T;
|
|
7745
|
+
id?: T;
|
|
7746
|
+
};
|
|
7747
|
+
exdates?: T | {
|
|
7748
|
+
date?: T;
|
|
7749
|
+
id?: T;
|
|
7750
|
+
};
|
|
7751
|
+
materializationMonths?: T;
|
|
7752
|
+
};
|
|
7753
|
+
location?: T | {
|
|
7754
|
+
type?: T;
|
|
7755
|
+
name?: T;
|
|
7756
|
+
address?: T;
|
|
7757
|
+
onlineUrl?: T;
|
|
7758
|
+
onlineNote?: T;
|
|
7759
|
+
privateNote?: T;
|
|
7760
|
+
};
|
|
7761
|
+
registrationPolicy?: T;
|
|
7762
|
+
waitlistPolicy?: T;
|
|
7763
|
+
externalRegistrationUrl?: T;
|
|
7764
|
+
seo?: T | {
|
|
7765
|
+
title?: T;
|
|
7766
|
+
description?: T;
|
|
7767
|
+
noIndex?: T;
|
|
7768
|
+
canonical?: T;
|
|
7769
|
+
openGraph?: T | {
|
|
7770
|
+
title?: T;
|
|
7771
|
+
description?: T;
|
|
7772
|
+
image?: T;
|
|
7773
|
+
};
|
|
7774
|
+
};
|
|
7775
|
+
generateSlug?: T;
|
|
7776
|
+
slug?: T;
|
|
7777
|
+
status?: T;
|
|
7778
|
+
coverImage?: T;
|
|
7779
|
+
visibility?: T;
|
|
7780
|
+
sourceType?: T;
|
|
7781
|
+
externalSource?: T | {
|
|
7782
|
+
provider?: T;
|
|
7783
|
+
sourceId?: T;
|
|
7784
|
+
url?: T;
|
|
7785
|
+
};
|
|
7786
|
+
publishedAt?: T;
|
|
7787
|
+
metadata?: T;
|
|
7788
|
+
updatedAt?: T;
|
|
7789
|
+
createdAt?: T;
|
|
7790
|
+
deletedAt?: T;
|
|
7791
|
+
_status?: T;
|
|
7792
|
+
}
|
|
7793
|
+
/**
|
|
7794
|
+
* This interface was referenced by `Config`'s JSON-Schema
|
|
7795
|
+
* via the `definition` "event-tags_select".
|
|
7796
|
+
*/
|
|
7797
|
+
interface EventTagsSelect<T extends boolean = true> {
|
|
7798
|
+
_order?: T;
|
|
7799
|
+
tenant?: T;
|
|
7800
|
+
title?: T;
|
|
7801
|
+
generateSlug?: T;
|
|
7802
|
+
slug?: T;
|
|
7803
|
+
description?: T;
|
|
7804
|
+
image?: T;
|
|
7805
|
+
parent?: T;
|
|
7806
|
+
color?: T;
|
|
7807
|
+
updatedAt?: T;
|
|
7808
|
+
createdAt?: T;
|
|
7809
|
+
deletedAt?: T;
|
|
7810
|
+
}
|
|
7811
|
+
/**
|
|
7812
|
+
* This interface was referenced by `Config`'s JSON-Schema
|
|
7813
|
+
* via the `definition` "event-occurrences_select".
|
|
7814
|
+
*/
|
|
7815
|
+
interface EventOccurrencesSelect<T extends boolean = true> {
|
|
7816
|
+
tenant?: T;
|
|
7817
|
+
event?: T;
|
|
7818
|
+
instanceKey?: T;
|
|
7819
|
+
startsAt?: T;
|
|
7820
|
+
endsAt?: T;
|
|
7821
|
+
timezone?: T;
|
|
7822
|
+
isAllDay?: T;
|
|
7823
|
+
status?: T;
|
|
7824
|
+
locationOverride?: T | {
|
|
7825
|
+
name?: T;
|
|
7826
|
+
address?: T;
|
|
7827
|
+
onlineUrl?: T;
|
|
7828
|
+
note?: T;
|
|
7829
|
+
privateNote?: T;
|
|
7830
|
+
};
|
|
7831
|
+
capacity?: T;
|
|
7832
|
+
registrationCount?: T;
|
|
7833
|
+
waitlistCount?: T;
|
|
7834
|
+
checkInWindow?: T | {
|
|
7835
|
+
opensAt?: T;
|
|
7836
|
+
closesAt?: T;
|
|
7837
|
+
};
|
|
7838
|
+
cancellation?: T | {
|
|
7839
|
+
canceledAt?: T;
|
|
7840
|
+
reason?: T;
|
|
7841
|
+
};
|
|
7842
|
+
metadata?: T;
|
|
7843
|
+
updatedAt?: T;
|
|
7844
|
+
createdAt?: T;
|
|
7845
|
+
deletedAt?: T;
|
|
7846
|
+
}
|
|
7847
|
+
/**
|
|
7848
|
+
* This interface was referenced by `Config`'s JSON-Schema
|
|
7849
|
+
* via the `definition` "event-registrations_select".
|
|
7850
|
+
*/
|
|
7851
|
+
interface EventRegistrationsSelect<T extends boolean = true> {
|
|
7852
|
+
tenant?: T;
|
|
7853
|
+
event?: T;
|
|
7854
|
+
occurrence?: T;
|
|
7855
|
+
customer?: T;
|
|
7856
|
+
registrationStatus?: T;
|
|
7857
|
+
attendanceStatus?: T;
|
|
7858
|
+
quantity?: T;
|
|
7859
|
+
attendeeSnapshot?: T | {
|
|
7860
|
+
name?: T;
|
|
7861
|
+
email?: T;
|
|
7862
|
+
phone?: T;
|
|
7863
|
+
};
|
|
7864
|
+
attendeeEmail?: T;
|
|
7865
|
+
answers?: T | {
|
|
7866
|
+
question?: T;
|
|
7867
|
+
answer?: T;
|
|
7868
|
+
id?: T;
|
|
7869
|
+
};
|
|
7870
|
+
approval?: T | {
|
|
7871
|
+
approvedAt?: T;
|
|
7872
|
+
approvedBy?: T;
|
|
7873
|
+
note?: T;
|
|
7874
|
+
};
|
|
7875
|
+
cancellation?: T | {
|
|
7876
|
+
canceledAt?: T;
|
|
7877
|
+
reason?: T;
|
|
7878
|
+
};
|
|
7879
|
+
checkIn?: T | {
|
|
7880
|
+
checkedInAt?: T;
|
|
7881
|
+
checkedInBy?: T;
|
|
7882
|
+
};
|
|
7883
|
+
guestTokenHash?: T;
|
|
7884
|
+
guestTokenExpiresAt?: T;
|
|
7885
|
+
piiRetentionUntil?: T;
|
|
7886
|
+
piiRedactedAt?: T;
|
|
7887
|
+
metadata?: T;
|
|
7888
|
+
updatedAt?: T;
|
|
7889
|
+
createdAt?: T;
|
|
7890
|
+
deletedAt?: T;
|
|
7891
|
+
}
|
|
7328
7892
|
/**
|
|
7329
7893
|
* This interface was referenced by `Config`'s JSON-Schema
|
|
7330
7894
|
* via the `definition` "forms_select".
|
|
@@ -7511,4 +8075,4 @@ declare module 'payload' {
|
|
|
7511
8075
|
}
|
|
7512
8076
|
}
|
|
7513
8077
|
|
|
7514
|
-
export type { Config as C, Document as D, Form as F, Image as I, Order as O, Product as P, Return as R, Transaction as T, Video as V, Cart as a, CartItem as b, OrderItem as c, Fulfillment as d, Post as e, PostCategory as f, PostTag as g, ProductVariant as h, Tenant as i };
|
|
8078
|
+
export type { Config as C, Document as D, Form as F, Image as I, Order as O, Product as P, Return as R, Transaction as T, Video as V, Cart as a, CartItem as b, OrderItem as c, Fulfillment as d, Post as e, PostCategory as f, PostTag as g, ProductVariant as h, Tenant as i, CustomerProfile as j, Thread as k, Comment as l, Reaction as m };
|