@01.software/sdk 0.15.0 → 0.17.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 +39 -18
- package/dist/const-D2K5HxpP.d.cts +24 -0
- package/dist/const-DG8TrouX.d.ts +24 -0
- package/dist/index.cjs +33 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +6 -6
- package/dist/index.d.ts +6 -6
- package/dist/index.js +33 -0
- package/dist/index.js.map +1 -1
- package/dist/{payload-types-Cjbr7XZZ.d.cts → payload-types-CMoyAOjJ.d.cts} +614 -95
- package/dist/{payload-types-Cjbr7XZZ.d.ts → payload-types-CMoyAOjJ.d.ts} +614 -95
- package/dist/realtime.d.cts +2 -2
- package/dist/realtime.d.ts +2 -2
- package/dist/ui/canvas.cjs +4 -14
- package/dist/ui/canvas.cjs.map +1 -1
- package/dist/ui/canvas.js +4 -14
- package/dist/ui/canvas.js.map +1 -1
- 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-BVA28ptL.d.cts → webhook-Dm2zz7FQ.d.cts} +2 -2
- package/dist/{webhook-2zxdCwB4.d.ts → webhook-IhuUWnt5.d.ts} +2 -2
- package/dist/webhook.d.cts +3 -3
- package/dist/webhook.d.ts +3 -3
- package/package.json +1 -1
- package/dist/const-9RunqFfj.d.cts +0 -19
- package/dist/const-ovU3MmND.d.ts +0 -19
|
@@ -17,6 +17,9 @@ interface Config {
|
|
|
17
17
|
'email-logs': EmailLog;
|
|
18
18
|
'api-keys': ApiKey;
|
|
19
19
|
'personal-access-tokens': PersonalAccessToken;
|
|
20
|
+
'audit-logs': AuditLog;
|
|
21
|
+
'webhook-events': WebhookEvent;
|
|
22
|
+
'webhook-deliveries': WebhookDelivery;
|
|
20
23
|
tenants: Tenant;
|
|
21
24
|
'tenant-metadata': TenantMetadatum;
|
|
22
25
|
'tenant-auth-settings': TenantAuthSetting;
|
|
@@ -27,6 +30,8 @@ interface Config {
|
|
|
27
30
|
'tenant-entitlements': TenantEntitlement;
|
|
28
31
|
subscriptions: Subscription;
|
|
29
32
|
'billing-history': BillingHistory;
|
|
33
|
+
plans: Plan;
|
|
34
|
+
webhooks: Webhook;
|
|
30
35
|
'tenant-logos': TenantLogo;
|
|
31
36
|
products: Product;
|
|
32
37
|
'product-variants': ProductVariant;
|
|
@@ -47,11 +52,13 @@ interface Config {
|
|
|
47
52
|
'return-items': ReturnItem;
|
|
48
53
|
'shipping-policies': ShippingPolicy;
|
|
49
54
|
customers: Customer;
|
|
55
|
+
'customer-profiles': CustomerProfile;
|
|
50
56
|
'customer-addresses': CustomerAddress;
|
|
51
57
|
'customer-groups': CustomerGroup;
|
|
52
58
|
carts: Cart;
|
|
53
59
|
'cart-items': CartItem;
|
|
54
60
|
discounts: Discount;
|
|
61
|
+
promotions: Promotion;
|
|
55
62
|
posts: Post;
|
|
56
63
|
'post-authors': PostAuthor;
|
|
57
64
|
'post-categories': PostCategory;
|
|
@@ -78,6 +85,8 @@ interface Config {
|
|
|
78
85
|
'canvas-edge-types': CanvasEdgeType;
|
|
79
86
|
'canvas-categories': CanvasCategory;
|
|
80
87
|
'canvas-tags': CanvasTag;
|
|
88
|
+
'canvas-nodes': CanvasNode;
|
|
89
|
+
'canvas-edges': CanvasEdge;
|
|
81
90
|
videos: Video;
|
|
82
91
|
'video-categories': VideoCategory;
|
|
83
92
|
'video-tags': VideoTag;
|
|
@@ -124,6 +133,7 @@ interface Config {
|
|
|
124
133
|
customers: {
|
|
125
134
|
orders: 'orders';
|
|
126
135
|
addresses: 'customer-addresses';
|
|
136
|
+
profile: 'customer-profiles';
|
|
127
137
|
};
|
|
128
138
|
'customer-groups': {
|
|
129
139
|
customers: 'customers';
|
|
@@ -150,6 +160,9 @@ interface Config {
|
|
|
150
160
|
'email-logs': EmailLogsSelect<false> | EmailLogsSelect<true>;
|
|
151
161
|
'api-keys': ApiKeysSelect<false> | ApiKeysSelect<true>;
|
|
152
162
|
'personal-access-tokens': PersonalAccessTokensSelect<false> | PersonalAccessTokensSelect<true>;
|
|
163
|
+
'audit-logs': AuditLogsSelect<false> | AuditLogsSelect<true>;
|
|
164
|
+
'webhook-events': WebhookEventsSelect<false> | WebhookEventsSelect<true>;
|
|
165
|
+
'webhook-deliveries': WebhookDeliveriesSelect<false> | WebhookDeliveriesSelect<true>;
|
|
153
166
|
tenants: TenantsSelect<false> | TenantsSelect<true>;
|
|
154
167
|
'tenant-metadata': TenantMetadataSelect<false> | TenantMetadataSelect<true>;
|
|
155
168
|
'tenant-auth-settings': TenantAuthSettingsSelect<false> | TenantAuthSettingsSelect<true>;
|
|
@@ -160,6 +173,8 @@ interface Config {
|
|
|
160
173
|
'tenant-entitlements': TenantEntitlementsSelect<false> | TenantEntitlementsSelect<true>;
|
|
161
174
|
subscriptions: SubscriptionsSelect<false> | SubscriptionsSelect<true>;
|
|
162
175
|
'billing-history': BillingHistorySelect<false> | BillingHistorySelect<true>;
|
|
176
|
+
plans: PlansSelect<false> | PlansSelect<true>;
|
|
177
|
+
webhooks: WebhooksSelect<false> | WebhooksSelect<true>;
|
|
163
178
|
'tenant-logos': TenantLogosSelect<false> | TenantLogosSelect<true>;
|
|
164
179
|
products: ProductsSelect<false> | ProductsSelect<true>;
|
|
165
180
|
'product-variants': ProductVariantsSelect<false> | ProductVariantsSelect<true>;
|
|
@@ -180,11 +195,13 @@ interface Config {
|
|
|
180
195
|
'return-items': ReturnItemsSelect<false> | ReturnItemsSelect<true>;
|
|
181
196
|
'shipping-policies': ShippingPoliciesSelect<false> | ShippingPoliciesSelect<true>;
|
|
182
197
|
customers: CustomersSelect<false> | CustomersSelect<true>;
|
|
198
|
+
'customer-profiles': CustomerProfilesSelect<false> | CustomerProfilesSelect<true>;
|
|
183
199
|
'customer-addresses': CustomerAddressesSelect<false> | CustomerAddressesSelect<true>;
|
|
184
200
|
'customer-groups': CustomerGroupsSelect<false> | CustomerGroupsSelect<true>;
|
|
185
201
|
carts: CartsSelect<false> | CartsSelect<true>;
|
|
186
202
|
'cart-items': CartItemsSelect<false> | CartItemsSelect<true>;
|
|
187
203
|
discounts: DiscountsSelect<false> | DiscountsSelect<true>;
|
|
204
|
+
promotions: PromotionsSelect<false> | PromotionsSelect<true>;
|
|
188
205
|
posts: PostsSelect<false> | PostsSelect<true>;
|
|
189
206
|
'post-authors': PostAuthorsSelect<false> | PostAuthorsSelect<true>;
|
|
190
207
|
'post-categories': PostCategoriesSelect<false> | PostCategoriesSelect<true>;
|
|
@@ -211,6 +228,8 @@ interface Config {
|
|
|
211
228
|
'canvas-edge-types': CanvasEdgeTypesSelect<false> | CanvasEdgeTypesSelect<true>;
|
|
212
229
|
'canvas-categories': CanvasCategoriesSelect<false> | CanvasCategoriesSelect<true>;
|
|
213
230
|
'canvas-tags': CanvasTagsSelect<false> | CanvasTagsSelect<true>;
|
|
231
|
+
'canvas-nodes': CanvasNodesSelect<false> | CanvasNodesSelect<true>;
|
|
232
|
+
'canvas-edges': CanvasEdgesSelect<false> | CanvasEdgesSelect<true>;
|
|
214
233
|
videos: VideosSelect<false> | VideosSelect<true>;
|
|
215
234
|
'video-categories': VideoCategoriesSelect<false> | VideoCategoriesSelect<true>;
|
|
216
235
|
'video-tags': VideoTagsSelect<false> | VideoTagsSelect<true>;
|
|
@@ -386,7 +405,7 @@ interface Tenant {
|
|
|
386
405
|
*/
|
|
387
406
|
owner: string | User;
|
|
388
407
|
/**
|
|
389
|
-
*
|
|
408
|
+
* Features available to this tenant. Determined automatically by the plan.
|
|
390
409
|
*/
|
|
391
410
|
features?: {
|
|
392
411
|
feature: 'ecommerce' | 'customers' | 'playlists' | 'galleries' | 'links' | 'forms' | 'posts' | 'documents' | 'canvas' | 'videos' | 'live-streaming' | 'community';
|
|
@@ -403,11 +422,11 @@ interface Tenant {
|
|
|
403
422
|
isDevMode?: boolean | null;
|
|
404
423
|
status?: ('active' | 'paused' | 'past_due' | 'canceled' | 'pending_deletion') | null;
|
|
405
424
|
/**
|
|
406
|
-
*
|
|
425
|
+
* A public key that is safe to include in browser code. (Starts with pk01_)
|
|
407
426
|
*/
|
|
408
427
|
publishableKey: string;
|
|
409
428
|
/**
|
|
410
|
-
*
|
|
429
|
+
* Domains allowed to call this tenant’s API from a browser. Leave empty to allow every domain.
|
|
411
430
|
*/
|
|
412
431
|
cors?: {
|
|
413
432
|
origin: string;
|
|
@@ -422,7 +441,7 @@ interface Tenant {
|
|
|
422
441
|
*/
|
|
423
442
|
name?: string | null;
|
|
424
443
|
/**
|
|
425
|
-
*
|
|
444
|
+
* Choose what this webhook should receive. Leave empty to receive every change notification.
|
|
426
445
|
*/
|
|
427
446
|
purpose?: ('events' | 'verification' | 'password-reset') | null;
|
|
428
447
|
/**
|
|
@@ -430,7 +449,7 @@ interface Tenant {
|
|
|
430
449
|
*/
|
|
431
450
|
url: string;
|
|
432
451
|
/**
|
|
433
|
-
*
|
|
452
|
+
* Used to verify that webhook payloads really came from us. We sign every payload with this secret.
|
|
434
453
|
*/
|
|
435
454
|
secret?: string | null;
|
|
436
455
|
isEnabled?: boolean | null;
|
|
@@ -447,23 +466,24 @@ interface Tenant {
|
|
|
447
466
|
webAnalytics: {
|
|
448
467
|
enabled?: boolean | null;
|
|
449
468
|
/**
|
|
450
|
-
*
|
|
469
|
+
* Domains allowed to send analytics events. If empty, browser analytics is blocked.
|
|
451
470
|
*/
|
|
452
471
|
allowedOrigins?: {
|
|
453
472
|
origin: string;
|
|
454
473
|
id?: string | null;
|
|
455
474
|
}[] | null;
|
|
456
475
|
/**
|
|
457
|
-
* Timezone
|
|
476
|
+
* Timezone used to group daily analytics. Once data starts coming in, this is locked and cannot be changed.
|
|
458
477
|
*/
|
|
459
478
|
timezone: string;
|
|
460
479
|
/**
|
|
461
|
-
* Automatically
|
|
480
|
+
* Automatically locked once the first analytics record is saved. Contact support to unlock.
|
|
462
481
|
*/
|
|
463
482
|
tzLocked?: boolean | null;
|
|
464
483
|
};
|
|
465
484
|
updatedAt: string;
|
|
466
485
|
createdAt: string;
|
|
486
|
+
deletedAt?: string | null;
|
|
467
487
|
}
|
|
468
488
|
/**
|
|
469
489
|
* This interface was referenced by `Config`'s JSON-Schema
|
|
@@ -473,11 +493,6 @@ interface Image {
|
|
|
473
493
|
id: string;
|
|
474
494
|
tenant?: (string | null) | Tenant;
|
|
475
495
|
alt?: string | null;
|
|
476
|
-
caption?: string | null;
|
|
477
|
-
/**
|
|
478
|
-
* Photographer or source attribution
|
|
479
|
-
*/
|
|
480
|
-
credit?: string | null;
|
|
481
496
|
/**
|
|
482
497
|
* Low quality image placeholder
|
|
483
498
|
*/
|
|
@@ -493,6 +508,7 @@ interface Image {
|
|
|
493
508
|
prefix?: string | null;
|
|
494
509
|
updatedAt: string;
|
|
495
510
|
createdAt: string;
|
|
511
|
+
deletedAt?: string | null;
|
|
496
512
|
url?: string | null;
|
|
497
513
|
thumbnailURL?: string | null;
|
|
498
514
|
filename?: string | null;
|
|
@@ -552,13 +568,14 @@ interface Image {
|
|
|
552
568
|
interface FieldConfig {
|
|
553
569
|
id: string;
|
|
554
570
|
tenant?: (string | null) | Tenant;
|
|
555
|
-
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';
|
|
571
|
+
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';
|
|
556
572
|
isHidden?: boolean | null;
|
|
557
573
|
hiddenFields?: {
|
|
558
574
|
[k: string]: unknown;
|
|
559
575
|
} | unknown[] | string | number | boolean | null;
|
|
560
576
|
updatedAt: string;
|
|
561
577
|
createdAt: string;
|
|
578
|
+
deletedAt?: string | null;
|
|
562
579
|
}
|
|
563
580
|
/**
|
|
564
581
|
* This interface was referenced by `Config`'s JSON-Schema
|
|
@@ -575,6 +592,7 @@ interface SystemMedia {
|
|
|
575
592
|
prefix?: string | null;
|
|
576
593
|
updatedAt: string;
|
|
577
594
|
createdAt: string;
|
|
595
|
+
deletedAt?: string | null;
|
|
578
596
|
url?: string | null;
|
|
579
597
|
thumbnailURL?: string | null;
|
|
580
598
|
filename?: string | null;
|
|
@@ -605,6 +623,7 @@ interface Audience {
|
|
|
605
623
|
resendContactId?: string | null;
|
|
606
624
|
updatedAt: string;
|
|
607
625
|
createdAt: string;
|
|
626
|
+
deletedAt?: string | null;
|
|
608
627
|
}
|
|
609
628
|
/**
|
|
610
629
|
* This interface was referenced by `Config`'s JSON-Schema
|
|
@@ -652,11 +671,9 @@ interface ApiKey {
|
|
|
652
671
|
displayPrefix: string;
|
|
653
672
|
displaySuffix: string;
|
|
654
673
|
/**
|
|
655
|
-
*
|
|
674
|
+
* Capability scopes. Default is read+write; webhook dispatch requires webhook, analytics writes require analytics.
|
|
656
675
|
*/
|
|
657
|
-
scopes?:
|
|
658
|
-
[k: string]: unknown;
|
|
659
|
-
} | unknown[] | string | number | boolean | null;
|
|
676
|
+
scopes?: ('read' | 'write' | 'webhook' | 'analytics' | 'super-admin')[] | null;
|
|
660
677
|
createdBy?: (string | null) | User;
|
|
661
678
|
createdByIp?: string | null;
|
|
662
679
|
lastUsedAt?: string | null;
|
|
@@ -669,6 +686,7 @@ interface ApiKey {
|
|
|
669
686
|
expiresAt?: string | null;
|
|
670
687
|
updatedAt: string;
|
|
671
688
|
createdAt: string;
|
|
689
|
+
deletedAt?: string | null;
|
|
672
690
|
}
|
|
673
691
|
/**
|
|
674
692
|
* This interface was referenced by `Config`'s JSON-Schema
|
|
@@ -699,6 +717,67 @@ interface PersonalAccessToken {
|
|
|
699
717
|
expiresAt?: string | null;
|
|
700
718
|
updatedAt: string;
|
|
701
719
|
createdAt: string;
|
|
720
|
+
deletedAt?: string | null;
|
|
721
|
+
}
|
|
722
|
+
/**
|
|
723
|
+
* This interface was referenced by `Config`'s JSON-Schema
|
|
724
|
+
* via the `definition` "audit-logs".
|
|
725
|
+
*/
|
|
726
|
+
interface AuditLog {
|
|
727
|
+
id: string;
|
|
728
|
+
tenant?: (string | null) | Tenant;
|
|
729
|
+
/**
|
|
730
|
+
* Event type
|
|
731
|
+
*/
|
|
732
|
+
eventType: string;
|
|
733
|
+
/**
|
|
734
|
+
* Actor ID
|
|
735
|
+
*/
|
|
736
|
+
actorId?: string | null;
|
|
737
|
+
/**
|
|
738
|
+
* Event payload
|
|
739
|
+
*/
|
|
740
|
+
payload?: {
|
|
741
|
+
[k: string]: unknown;
|
|
742
|
+
} | unknown[] | string | number | boolean | null;
|
|
743
|
+
updatedAt: string;
|
|
744
|
+
createdAt: string;
|
|
745
|
+
}
|
|
746
|
+
/**
|
|
747
|
+
* This interface was referenced by `Config`'s JSON-Schema
|
|
748
|
+
* via the `definition` "webhook-events".
|
|
749
|
+
*/
|
|
750
|
+
interface WebhookEvent {
|
|
751
|
+
id: string;
|
|
752
|
+
tenant?: (string | null) | Tenant;
|
|
753
|
+
/**
|
|
754
|
+
* Provider
|
|
755
|
+
*/
|
|
756
|
+
provider: string;
|
|
757
|
+
/**
|
|
758
|
+
* Event ID
|
|
759
|
+
*/
|
|
760
|
+
eventId: string;
|
|
761
|
+
receivedAt?: string | null;
|
|
762
|
+
payload?: {
|
|
763
|
+
[k: string]: unknown;
|
|
764
|
+
} | unknown[] | string | number | boolean | null;
|
|
765
|
+
updatedAt: string;
|
|
766
|
+
createdAt: string;
|
|
767
|
+
}
|
|
768
|
+
/**
|
|
769
|
+
* This interface was referenced by `Config`'s JSON-Schema
|
|
770
|
+
* via the `definition` "webhook-deliveries".
|
|
771
|
+
*/
|
|
772
|
+
interface WebhookDelivery {
|
|
773
|
+
id: string;
|
|
774
|
+
tenant?: (string | null) | Tenant;
|
|
775
|
+
webhookEventId?: (string | null) | WebhookEvent;
|
|
776
|
+
attempt: number;
|
|
777
|
+
status: 'pending' | 'success' | 'failed' | 'dead';
|
|
778
|
+
dispatchedAt?: string | null;
|
|
779
|
+
updatedAt: string;
|
|
780
|
+
createdAt: string;
|
|
702
781
|
}
|
|
703
782
|
/**
|
|
704
783
|
* This interface was referenced by `Config`'s JSON-Schema
|
|
@@ -866,6 +945,7 @@ interface TenantMetadatum {
|
|
|
866
945
|
};
|
|
867
946
|
updatedAt: string;
|
|
868
947
|
createdAt: string;
|
|
948
|
+
deletedAt?: string | null;
|
|
869
949
|
}
|
|
870
950
|
/**
|
|
871
951
|
* This interface was referenced by `Config`'s JSON-Schema
|
|
@@ -875,11 +955,6 @@ interface BrandLogo {
|
|
|
875
955
|
id: string;
|
|
876
956
|
tenant?: (string | null) | Tenant;
|
|
877
957
|
alt?: string | null;
|
|
878
|
-
caption?: string | null;
|
|
879
|
-
/**
|
|
880
|
-
* Photographer or source attribution
|
|
881
|
-
*/
|
|
882
|
-
credit?: string | null;
|
|
883
958
|
/**
|
|
884
959
|
* Low quality image placeholder
|
|
885
960
|
*/
|
|
@@ -895,6 +970,7 @@ interface BrandLogo {
|
|
|
895
970
|
prefix?: string | null;
|
|
896
971
|
updatedAt: string;
|
|
897
972
|
createdAt: string;
|
|
973
|
+
deletedAt?: string | null;
|
|
898
974
|
url?: string | null;
|
|
899
975
|
thumbnailURL?: string | null;
|
|
900
976
|
filename?: string | null;
|
|
@@ -976,6 +1052,7 @@ interface TenantAuthSetting {
|
|
|
976
1052
|
requiresEmailVerification?: boolean | null;
|
|
977
1053
|
updatedAt: string;
|
|
978
1054
|
createdAt: string;
|
|
1055
|
+
deletedAt?: string | null;
|
|
979
1056
|
}
|
|
980
1057
|
/**
|
|
981
1058
|
* This interface was referenced by `Config`'s JSON-Schema
|
|
@@ -990,6 +1067,7 @@ interface TenantCommunitySetting {
|
|
|
990
1067
|
requiresPostApproval?: boolean | null;
|
|
991
1068
|
updatedAt: string;
|
|
992
1069
|
createdAt: string;
|
|
1070
|
+
deletedAt?: string | null;
|
|
993
1071
|
}
|
|
994
1072
|
/**
|
|
995
1073
|
* This interface was referenced by `Config`'s JSON-Schema
|
|
@@ -1082,11 +1160,11 @@ interface TenantAnalyticsDaily {
|
|
|
1082
1160
|
};
|
|
1083
1161
|
snapshottedAt?: string | null;
|
|
1084
1162
|
/**
|
|
1085
|
-
*
|
|
1163
|
+
* Tenant timezone used to bucket this snapshot's date.
|
|
1086
1164
|
*/
|
|
1087
1165
|
bucketTz: string;
|
|
1088
1166
|
/**
|
|
1089
|
-
*
|
|
1167
|
+
* Hash of the dimension key set in this aggregate (shape mismatch detection). "pageview-only" when no custom events exist.
|
|
1090
1168
|
*/
|
|
1091
1169
|
schemaShape: string;
|
|
1092
1170
|
/**
|
|
@@ -1134,7 +1212,7 @@ interface AnalyticsEventSchema {
|
|
|
1134
1212
|
key: string;
|
|
1135
1213
|
type: 'enum' | 'boolean';
|
|
1136
1214
|
/**
|
|
1137
|
-
* Comma-separated. Required when type=enum. Boolean auto-derives {true,false}. Max 20
|
|
1215
|
+
* Comma-separated values. Required when type=enum, optional otherwise. Boolean auto-derives {true,false}. Max 20 per key.
|
|
1138
1216
|
*/
|
|
1139
1217
|
allowedValues?: string | null;
|
|
1140
1218
|
description?: string | null;
|
|
@@ -1144,6 +1222,7 @@ interface AnalyticsEventSchema {
|
|
|
1144
1222
|
updatedBy?: (string | null) | User;
|
|
1145
1223
|
updatedAt: string;
|
|
1146
1224
|
createdAt: string;
|
|
1225
|
+
deletedAt?: string | null;
|
|
1147
1226
|
}
|
|
1148
1227
|
/**
|
|
1149
1228
|
* This interface was referenced by `Config`'s JSON-Schema
|
|
@@ -1158,6 +1237,9 @@ interface TenantEntitlement {
|
|
|
1158
1237
|
sourceSubscription?: (string | null) | Subscription;
|
|
1159
1238
|
priority: number;
|
|
1160
1239
|
startsAt: string;
|
|
1240
|
+
/**
|
|
1241
|
+
* Entitlement end date. Required for promo / trial / legacy_migration sources, optional otherwise.
|
|
1242
|
+
*/
|
|
1161
1243
|
endsAt?: string | null;
|
|
1162
1244
|
reason?: string | null;
|
|
1163
1245
|
grantedBy?: (string | null) | User;
|
|
@@ -1165,6 +1247,7 @@ interface TenantEntitlement {
|
|
|
1165
1247
|
revokedBy?: (string | null) | User;
|
|
1166
1248
|
updatedAt: string;
|
|
1167
1249
|
createdAt: string;
|
|
1250
|
+
deletedAt?: string | null;
|
|
1168
1251
|
}
|
|
1169
1252
|
/**
|
|
1170
1253
|
* This interface was referenced by `Config`'s JSON-Schema
|
|
@@ -1226,6 +1309,7 @@ interface Subscription {
|
|
|
1226
1309
|
};
|
|
1227
1310
|
updatedAt: string;
|
|
1228
1311
|
createdAt: string;
|
|
1312
|
+
deletedAt?: string | null;
|
|
1229
1313
|
}
|
|
1230
1314
|
/**
|
|
1231
1315
|
* This interface was referenced by `Config`'s JSON-Schema
|
|
@@ -1272,6 +1356,67 @@ interface BillingHistory {
|
|
|
1272
1356
|
retryOf?: (string | null) | BillingHistory;
|
|
1273
1357
|
updatedAt: string;
|
|
1274
1358
|
createdAt: string;
|
|
1359
|
+
deletedAt?: string | null;
|
|
1360
|
+
}
|
|
1361
|
+
/**
|
|
1362
|
+
* This interface was referenced by `Config`'s JSON-Schema
|
|
1363
|
+
* via the `definition` "plans".
|
|
1364
|
+
*/
|
|
1365
|
+
interface Plan {
|
|
1366
|
+
id: string;
|
|
1367
|
+
/**
|
|
1368
|
+
* Plan identifier (free, starter, basic, pro, enterprise)
|
|
1369
|
+
*/
|
|
1370
|
+
key: string;
|
|
1371
|
+
/**
|
|
1372
|
+
* Plan display name
|
|
1373
|
+
*/
|
|
1374
|
+
name: string;
|
|
1375
|
+
/**
|
|
1376
|
+
* Features allowed for this plan
|
|
1377
|
+
*/
|
|
1378
|
+
featuresAllowed?: ('ecommerce' | 'customers' | 'playlists' | 'galleries' | 'links' | 'forms' | 'posts' | 'documents' | 'canvas' | 'videos' | 'live-streaming' | 'community')[] | null;
|
|
1379
|
+
/**
|
|
1380
|
+
* Quota limits (storageBytes, apiPerMonth, ...)
|
|
1381
|
+
*/
|
|
1382
|
+
quotas?: {
|
|
1383
|
+
[k: string]: unknown;
|
|
1384
|
+
} | unknown[] | string | number | boolean | null;
|
|
1385
|
+
updatedAt: string;
|
|
1386
|
+
createdAt: string;
|
|
1387
|
+
deletedAt?: string | null;
|
|
1388
|
+
}
|
|
1389
|
+
/**
|
|
1390
|
+
* This interface was referenced by `Config`'s JSON-Schema
|
|
1391
|
+
* via the `definition` "webhooks".
|
|
1392
|
+
*/
|
|
1393
|
+
interface Webhook {
|
|
1394
|
+
id: string;
|
|
1395
|
+
tenant?: (string | null) | Tenant;
|
|
1396
|
+
/**
|
|
1397
|
+
* Webhook name
|
|
1398
|
+
*/
|
|
1399
|
+
name: string;
|
|
1400
|
+
/**
|
|
1401
|
+
* Webhook endpoint URL (http/https only)
|
|
1402
|
+
*/
|
|
1403
|
+
url: string;
|
|
1404
|
+
/**
|
|
1405
|
+
* HMAC signing secret (immutable once set)
|
|
1406
|
+
*/
|
|
1407
|
+
secret: string;
|
|
1408
|
+
/**
|
|
1409
|
+
* Subscribed event names
|
|
1410
|
+
*/
|
|
1411
|
+
subscriptions?: {
|
|
1412
|
+
event: string;
|
|
1413
|
+
id?: string | null;
|
|
1414
|
+
}[] | null;
|
|
1415
|
+
isActive?: boolean | null;
|
|
1416
|
+
lastDispatchedAt?: string | null;
|
|
1417
|
+
updatedAt: string;
|
|
1418
|
+
createdAt: string;
|
|
1419
|
+
deletedAt?: string | null;
|
|
1275
1420
|
}
|
|
1276
1421
|
/**
|
|
1277
1422
|
* This interface was referenced by `Config`'s JSON-Schema
|
|
@@ -1281,11 +1426,6 @@ interface TenantLogo {
|
|
|
1281
1426
|
id: string;
|
|
1282
1427
|
tenant?: (string | null) | Tenant;
|
|
1283
1428
|
alt?: string | null;
|
|
1284
|
-
caption?: string | null;
|
|
1285
|
-
/**
|
|
1286
|
-
* Photographer or source attribution
|
|
1287
|
-
*/
|
|
1288
|
-
credit?: string | null;
|
|
1289
1429
|
/**
|
|
1290
1430
|
* Low quality image placeholder
|
|
1291
1431
|
*/
|
|
@@ -1301,6 +1441,7 @@ interface TenantLogo {
|
|
|
1301
1441
|
prefix?: string | null;
|
|
1302
1442
|
updatedAt: string;
|
|
1303
1443
|
createdAt: string;
|
|
1444
|
+
deletedAt?: string | null;
|
|
1304
1445
|
url?: string | null;
|
|
1305
1446
|
thumbnailURL?: string | null;
|
|
1306
1447
|
filename?: string | null;
|
|
@@ -2117,7 +2258,7 @@ interface Order {
|
|
|
2117
2258
|
tenant?: (string | null) | Tenant;
|
|
2118
2259
|
orderNumber: string;
|
|
2119
2260
|
cartToken?: string | null;
|
|
2120
|
-
status: 'pending' | 'paid' | 'failed' | 'canceled' | 'preparing' | 'shipped' | 'delivered' | 'confirmed' | 'return_requested' | 'return_processing' | 'returned';
|
|
2261
|
+
status: 'pending' | 'paid' | 'failed' | 'canceled' | 'refunded' | 'preparing' | 'shipped' | 'delivered' | 'confirmed' | 'return_requested' | 'return_processing' | 'returned';
|
|
2121
2262
|
totalAmount?: number | null;
|
|
2122
2263
|
discountCode?: string | null;
|
|
2123
2264
|
discountAmount?: number | null;
|
|
@@ -2194,6 +2335,9 @@ interface Order {
|
|
|
2194
2335
|
metadata?: {
|
|
2195
2336
|
[k: string]: unknown;
|
|
2196
2337
|
} | unknown[] | string | number | boolean | null;
|
|
2338
|
+
nextRefundSeq?: number | null;
|
|
2339
|
+
nextCaptureSeq?: number | null;
|
|
2340
|
+
nextVoidSeq?: number | null;
|
|
2197
2341
|
updatedAt: string;
|
|
2198
2342
|
createdAt: string;
|
|
2199
2343
|
deletedAt?: string | null;
|
|
@@ -2211,16 +2355,24 @@ interface Customer {
|
|
|
2211
2355
|
email?: string | null;
|
|
2212
2356
|
phone?: string | null;
|
|
2213
2357
|
groups?: (string | CustomerGroup)[] | null;
|
|
2214
|
-
/**
|
|
2215
|
-
* External provider user ID
|
|
2216
|
-
*/
|
|
2217
|
-
providerUserId?: string | null;
|
|
2218
2358
|
/**
|
|
2219
2359
|
* Internal notes (not visible to customers)
|
|
2220
2360
|
*/
|
|
2221
2361
|
note?: string | null;
|
|
2222
2362
|
birthDate?: string | null;
|
|
2223
2363
|
gender?: ('male' | 'female' | 'other' | 'prefer_not_to_say') | null;
|
|
2364
|
+
isGuest?: boolean | null;
|
|
2365
|
+
authProvider?: ('local' | 'google' | 'apple' | 'kakao' | 'naver') | null;
|
|
2366
|
+
/**
|
|
2367
|
+
* External provider user ID
|
|
2368
|
+
*/
|
|
2369
|
+
providerUserId?: string | null;
|
|
2370
|
+
isEmailVerified?: boolean | null;
|
|
2371
|
+
lastLoginAt?: string | null;
|
|
2372
|
+
/**
|
|
2373
|
+
* Last password change timestamp (used for JWT revocation)
|
|
2374
|
+
*/
|
|
2375
|
+
passwordChangedAt?: string | null;
|
|
2224
2376
|
orders?: {
|
|
2225
2377
|
docs?: (string | Order)[];
|
|
2226
2378
|
hasNextPage?: boolean;
|
|
@@ -2231,6 +2383,21 @@ interface Customer {
|
|
|
2231
2383
|
hasNextPage?: boolean;
|
|
2232
2384
|
totalDocs?: number;
|
|
2233
2385
|
};
|
|
2386
|
+
defaultShippingAddress?: (string | null) | CustomerAddress;
|
|
2387
|
+
defaultBillingAddress?: (string | null) | CustomerAddress;
|
|
2388
|
+
totalOrderCount?: number | null;
|
|
2389
|
+
lifetimeValue?: number | null;
|
|
2390
|
+
firstOrderAt?: string | null;
|
|
2391
|
+
lastOrderAt?: string | null;
|
|
2392
|
+
profile?: {
|
|
2393
|
+
docs?: (string | CustomerProfile)[];
|
|
2394
|
+
hasNextPage?: boolean;
|
|
2395
|
+
totalDocs?: number;
|
|
2396
|
+
};
|
|
2397
|
+
threadCount?: number | null;
|
|
2398
|
+
commentCount?: number | null;
|
|
2399
|
+
reactionCount?: number | null;
|
|
2400
|
+
isMinor?: boolean | null;
|
|
2234
2401
|
marketingConsent?: {
|
|
2235
2402
|
email?: {
|
|
2236
2403
|
isConsented?: boolean | null;
|
|
@@ -2261,6 +2428,8 @@ interface Customer {
|
|
|
2261
2428
|
guardianPhone?: string | null;
|
|
2262
2429
|
guardianConsentedAt?: string | null;
|
|
2263
2430
|
};
|
|
2431
|
+
acceptsTos?: boolean | null;
|
|
2432
|
+
tosVersion?: string | null;
|
|
2264
2433
|
/**
|
|
2265
2434
|
* Withdrawal reason (internal)
|
|
2266
2435
|
*/
|
|
@@ -2278,22 +2447,10 @@ interface Customer {
|
|
|
2278
2447
|
resetPasswordExpiresAt?: string | null;
|
|
2279
2448
|
loginAttemptCount?: number | null;
|
|
2280
2449
|
lockedUntil?: string | null;
|
|
2281
|
-
|
|
2282
|
-
|
|
2283
|
-
|
|
2284
|
-
|
|
2285
|
-
isMinor?: boolean | null;
|
|
2286
|
-
acceptsTos?: boolean | null;
|
|
2287
|
-
tosVersion?: string | null;
|
|
2288
|
-
defaultShippingAddress?: (string | null) | CustomerAddress;
|
|
2289
|
-
defaultBillingAddress?: (string | null) | CustomerAddress;
|
|
2290
|
-
totalOrderCount?: number | null;
|
|
2291
|
-
lifetimeValue?: number | null;
|
|
2292
|
-
firstOrderAt?: string | null;
|
|
2293
|
-
lastOrderAt?: string | null;
|
|
2294
|
-
threadCount?: number | null;
|
|
2295
|
-
commentCount?: number | null;
|
|
2296
|
-
reactionCount?: number | null;
|
|
2450
|
+
/**
|
|
2451
|
+
* Account suspension
|
|
2452
|
+
*/
|
|
2453
|
+
isSuspended?: boolean | null;
|
|
2297
2454
|
metadata?: {
|
|
2298
2455
|
[k: string]: unknown;
|
|
2299
2456
|
} | unknown[] | string | number | boolean | null;
|
|
@@ -2347,10 +2504,28 @@ interface CustomerAddress {
|
|
|
2347
2504
|
recipientName?: string | null;
|
|
2348
2505
|
phone?: string | null;
|
|
2349
2506
|
postalCode?: string | null;
|
|
2507
|
+
/**
|
|
2508
|
+
* Road-name address (returned by Daum/Naver postal code pickers)
|
|
2509
|
+
*/
|
|
2350
2510
|
address1?: string | null;
|
|
2511
|
+
/**
|
|
2512
|
+
* Detail address (unit / floor / building name)
|
|
2513
|
+
*/
|
|
2351
2514
|
address2?: string | null;
|
|
2352
2515
|
/**
|
|
2353
|
-
*
|
|
2516
|
+
* Jibun (legacy lot-based) address. Stored alongside the road-name `address1` so we can fall back when 도로명 is missing or for delivery providers that require 지번.
|
|
2517
|
+
*/
|
|
2518
|
+
jibunAddress?: string | null;
|
|
2519
|
+
/**
|
|
2520
|
+
* City (KR: 시/군 — e.g. "Seoul", "Busan"; non-KR: city/town).
|
|
2521
|
+
*/
|
|
2522
|
+
city?: string | null;
|
|
2523
|
+
/**
|
|
2524
|
+
* Administrative area (KR: 시/도 — usually folded into `city`; non-KR: state / province / region).
|
|
2525
|
+
*/
|
|
2526
|
+
administrativeArea?: string | null;
|
|
2527
|
+
/**
|
|
2528
|
+
* Which address form to print on the shipping label (default: road).
|
|
2354
2529
|
*/
|
|
2355
2530
|
addressType?: ('road' | 'jibun') | null;
|
|
2356
2531
|
/**
|
|
@@ -2359,11 +2534,50 @@ interface CustomerAddress {
|
|
|
2359
2534
|
country?: string | null;
|
|
2360
2535
|
isDefault?: boolean | null;
|
|
2361
2536
|
/**
|
|
2362
|
-
*
|
|
2537
|
+
* Delivery request preset. Pick "Other" to switch to a free-form deliveryNote.
|
|
2538
|
+
*/
|
|
2539
|
+
deliveryRequest?: ('security_office' | 'handoff_in_person' | 'call_before' | 'leave_at_door' | 'other') | null;
|
|
2540
|
+
/**
|
|
2541
|
+
* Free-form delivery note. Prefer the deliveryRequest preset when one of the choices fits; reserve this for actually-custom instructions.
|
|
2363
2542
|
*/
|
|
2364
|
-
|
|
2543
|
+
deliveryNote?: string | null;
|
|
2365
2544
|
updatedAt: string;
|
|
2366
2545
|
createdAt: string;
|
|
2546
|
+
deletedAt?: string | null;
|
|
2547
|
+
}
|
|
2548
|
+
/**
|
|
2549
|
+
* This interface was referenced by `Config`'s JSON-Schema
|
|
2550
|
+
* via the `definition` "customer-profiles".
|
|
2551
|
+
*/
|
|
2552
|
+
interface CustomerProfile {
|
|
2553
|
+
id: string;
|
|
2554
|
+
tenant?: (string | null) | Tenant;
|
|
2555
|
+
customer: string | Customer;
|
|
2556
|
+
handle?: string | null;
|
|
2557
|
+
displayName: string;
|
|
2558
|
+
avatar?: (string | null) | Image;
|
|
2559
|
+
bio?: string | null;
|
|
2560
|
+
bioRichText?: {
|
|
2561
|
+
root: {
|
|
2562
|
+
type: string;
|
|
2563
|
+
children: {
|
|
2564
|
+
type: any;
|
|
2565
|
+
version: number;
|
|
2566
|
+
[k: string]: unknown;
|
|
2567
|
+
}[];
|
|
2568
|
+
direction: ('ltr' | 'rtl') | null;
|
|
2569
|
+
format: 'left' | 'start' | 'center' | 'right' | 'end' | 'justify' | '';
|
|
2570
|
+
indent: number;
|
|
2571
|
+
version: number;
|
|
2572
|
+
};
|
|
2573
|
+
[k: string]: unknown;
|
|
2574
|
+
} | null;
|
|
2575
|
+
joinedAt: string;
|
|
2576
|
+
isPublic?: boolean | null;
|
|
2577
|
+
anonymizedAt?: string | null;
|
|
2578
|
+
metadata?: {
|
|
2579
|
+
[k: string]: unknown;
|
|
2580
|
+
} | unknown[] | string | number | boolean | null;
|
|
2367
2581
|
}
|
|
2368
2582
|
/**
|
|
2369
2583
|
* This interface was referenced by `Config`'s JSON-Schema
|
|
@@ -2390,8 +2604,17 @@ interface OrderItem {
|
|
|
2390
2604
|
*/
|
|
2391
2605
|
totalPrice: number;
|
|
2392
2606
|
productTitle?: string | null;
|
|
2607
|
+
/**
|
|
2608
|
+
* Tax rate at time of order (%)
|
|
2609
|
+
*/
|
|
2610
|
+
taxRate?: number | null;
|
|
2611
|
+
/**
|
|
2612
|
+
* Currency at time of order (ISO-4217)
|
|
2613
|
+
*/
|
|
2614
|
+
currency?: string | null;
|
|
2393
2615
|
updatedAt: string;
|
|
2394
2616
|
createdAt: string;
|
|
2617
|
+
deletedAt?: string | null;
|
|
2395
2618
|
}
|
|
2396
2619
|
/**
|
|
2397
2620
|
* This interface was referenced by `Config`'s JSON-Schema
|
|
@@ -2400,8 +2623,9 @@ interface OrderItem {
|
|
|
2400
2623
|
interface Transaction {
|
|
2401
2624
|
id: string;
|
|
2402
2625
|
tenant?: (string | null) | Tenant;
|
|
2626
|
+
_title?: string | null;
|
|
2403
2627
|
type: 'payment' | 'refund';
|
|
2404
|
-
status: 'pending' | 'paid' | 'failed' | 'canceled';
|
|
2628
|
+
status: 'pending' | 'paid' | 'failed' | 'canceled' | 'refunded';
|
|
2405
2629
|
order: string | Order;
|
|
2406
2630
|
amount?: number | null;
|
|
2407
2631
|
paymentMethod?: string | null;
|
|
@@ -2497,6 +2721,7 @@ interface FulfillmentItem {
|
|
|
2497
2721
|
quantity: number;
|
|
2498
2722
|
updatedAt: string;
|
|
2499
2723
|
createdAt: string;
|
|
2724
|
+
deletedAt?: string | null;
|
|
2500
2725
|
}
|
|
2501
2726
|
/**
|
|
2502
2727
|
* This interface was referenced by `Config`'s JSON-Schema
|
|
@@ -2558,6 +2783,7 @@ interface ReturnItem {
|
|
|
2558
2783
|
productTitle?: string | null;
|
|
2559
2784
|
updatedAt: string;
|
|
2560
2785
|
createdAt: string;
|
|
2786
|
+
deletedAt?: string | null;
|
|
2561
2787
|
}
|
|
2562
2788
|
/**
|
|
2563
2789
|
* This interface was referenced by `Config`'s JSON-Schema
|
|
@@ -2567,8 +2793,8 @@ interface OrderStatusLog {
|
|
|
2567
2793
|
id: string;
|
|
2568
2794
|
tenant?: (string | null) | Tenant;
|
|
2569
2795
|
order: string | Order;
|
|
2570
|
-
fromStatus: 'pending' | 'paid' | 'failed' | 'canceled' | 'preparing' | 'shipped' | 'delivered' | 'confirmed' | 'return_requested' | 'return_processing' | 'returned';
|
|
2571
|
-
toStatus: 'pending' | 'paid' | 'failed' | 'canceled' | 'preparing' | 'shipped' | 'delivered' | 'confirmed' | 'return_requested' | 'return_processing' | 'returned';
|
|
2796
|
+
fromStatus: 'pending' | 'paid' | 'failed' | 'canceled' | 'refunded' | 'preparing' | 'shipped' | 'delivered' | 'confirmed' | 'return_requested' | 'return_processing' | 'returned';
|
|
2797
|
+
toStatus: 'pending' | 'paid' | 'failed' | 'canceled' | 'refunded' | 'preparing' | 'shipped' | 'delivered' | 'confirmed' | 'return_requested' | 'return_processing' | 'returned';
|
|
2572
2798
|
/**
|
|
2573
2799
|
* 'user:{id}' | 'api:updateOrder' | 'system:transaction:{paymentId}' | 'system:fulfillment:{id}' | 'system:return:{id}'
|
|
2574
2800
|
*/
|
|
@@ -2579,6 +2805,7 @@ interface OrderStatusLog {
|
|
|
2579
2805
|
} | unknown[] | string | number | boolean | null;
|
|
2580
2806
|
updatedAt: string;
|
|
2581
2807
|
createdAt: string;
|
|
2808
|
+
deletedAt?: string | null;
|
|
2582
2809
|
}
|
|
2583
2810
|
/**
|
|
2584
2811
|
* This interface was referenced by `Config`'s JSON-Schema
|
|
@@ -2679,7 +2906,7 @@ interface Discount {
|
|
|
2679
2906
|
*/
|
|
2680
2907
|
internalNote?: string | null;
|
|
2681
2908
|
/**
|
|
2682
|
-
* Discount rate (%) or fixed amount
|
|
2909
|
+
* Discount rate (%) or fixed amount. Required when discount type is percentage or fixed_amount.
|
|
2683
2910
|
*/
|
|
2684
2911
|
discountValue?: number | null;
|
|
2685
2912
|
/**
|
|
@@ -2715,7 +2942,7 @@ interface Discount {
|
|
|
2715
2942
|
productSelection?: {
|
|
2716
2943
|
type?: ('all' | 'included' | 'excluded') | null;
|
|
2717
2944
|
products?: (string | Product)[] | null;
|
|
2718
|
-
|
|
2945
|
+
collections?: (string | ProductCollection)[] | null;
|
|
2719
2946
|
};
|
|
2720
2947
|
/**
|
|
2721
2948
|
* Total usage limit (empty = unlimited)
|
|
@@ -2747,6 +2974,29 @@ interface Discount {
|
|
|
2747
2974
|
createdAt: string;
|
|
2748
2975
|
deletedAt?: string | null;
|
|
2749
2976
|
}
|
|
2977
|
+
/**
|
|
2978
|
+
* This interface was referenced by `Config`'s JSON-Schema
|
|
2979
|
+
* via the `definition` "promotions".
|
|
2980
|
+
*/
|
|
2981
|
+
interface Promotion {
|
|
2982
|
+
id: string;
|
|
2983
|
+
tenant?: (string | null) | Tenant;
|
|
2984
|
+
/**
|
|
2985
|
+
* Promotion code
|
|
2986
|
+
*/
|
|
2987
|
+
code: string;
|
|
2988
|
+
discountType: 'percent' | 'fixed' | 'free-shipping';
|
|
2989
|
+
/**
|
|
2990
|
+
* Discount value (percent: 0-100, fixed: minor unit)
|
|
2991
|
+
*/
|
|
2992
|
+
discountValue?: number | null;
|
|
2993
|
+
validFrom?: string | null;
|
|
2994
|
+
validUntil?: string | null;
|
|
2995
|
+
status: 'draft' | 'active' | 'paused' | 'expired';
|
|
2996
|
+
updatedAt: string;
|
|
2997
|
+
createdAt: string;
|
|
2998
|
+
deletedAt?: string | null;
|
|
2999
|
+
}
|
|
2750
3000
|
/**
|
|
2751
3001
|
* This interface was referenced by `Config`'s JSON-Schema
|
|
2752
3002
|
* via the `definition` "posts".
|
|
@@ -3143,7 +3393,6 @@ interface Playlist {
|
|
|
3143
3393
|
thumbnail?: (string | null) | Image;
|
|
3144
3394
|
coverArt?: (string | null) | Image;
|
|
3145
3395
|
isCollaborative?: boolean | null;
|
|
3146
|
-
customer?: (string | null) | Customer;
|
|
3147
3396
|
/**
|
|
3148
3397
|
* When enabled, the slug will auto-generate from the title field on save and autosave.
|
|
3149
3398
|
*/
|
|
@@ -3340,6 +3589,7 @@ interface TrackAsset {
|
|
|
3340
3589
|
prefix?: string | null;
|
|
3341
3590
|
updatedAt: string;
|
|
3342
3591
|
createdAt: string;
|
|
3592
|
+
deletedAt?: string | null;
|
|
3343
3593
|
url?: string | null;
|
|
3344
3594
|
thumbnailURL?: string | null;
|
|
3345
3595
|
filename?: string | null;
|
|
@@ -3830,6 +4080,64 @@ interface CanvasEdgeType {
|
|
|
3830
4080
|
createdAt: string;
|
|
3831
4081
|
deletedAt?: string | null;
|
|
3832
4082
|
}
|
|
4083
|
+
/**
|
|
4084
|
+
* This interface was referenced by `Config`'s JSON-Schema
|
|
4085
|
+
* via the `definition` "canvas-nodes".
|
|
4086
|
+
*/
|
|
4087
|
+
interface CanvasNode {
|
|
4088
|
+
id: string;
|
|
4089
|
+
tenant?: (string | null) | Tenant;
|
|
4090
|
+
canvas: string | Canvase;
|
|
4091
|
+
/**
|
|
4092
|
+
* Node type identifier
|
|
4093
|
+
*/
|
|
4094
|
+
nodeType: string;
|
|
4095
|
+
/**
|
|
4096
|
+
* Node position (x, y)
|
|
4097
|
+
*/
|
|
4098
|
+
position?: {
|
|
4099
|
+
[k: string]: unknown;
|
|
4100
|
+
} | unknown[] | string | number | boolean | null;
|
|
4101
|
+
/**
|
|
4102
|
+
* Node data
|
|
4103
|
+
*/
|
|
4104
|
+
data?: {
|
|
4105
|
+
[k: string]: unknown;
|
|
4106
|
+
} | unknown[] | string | number | boolean | null;
|
|
4107
|
+
updatedAt: string;
|
|
4108
|
+
createdAt: string;
|
|
4109
|
+
deletedAt?: string | null;
|
|
4110
|
+
}
|
|
4111
|
+
/**
|
|
4112
|
+
* This interface was referenced by `Config`'s JSON-Schema
|
|
4113
|
+
* via the `definition` "canvas-edges".
|
|
4114
|
+
*/
|
|
4115
|
+
interface CanvasEdge {
|
|
4116
|
+
id: string;
|
|
4117
|
+
tenant?: (string | null) | Tenant;
|
|
4118
|
+
canvas: string | Canvase;
|
|
4119
|
+
/**
|
|
4120
|
+
* Edge type identifier
|
|
4121
|
+
*/
|
|
4122
|
+
edgeType: string;
|
|
4123
|
+
/**
|
|
4124
|
+
* Source node identifier
|
|
4125
|
+
*/
|
|
4126
|
+
source: string;
|
|
4127
|
+
/**
|
|
4128
|
+
* Target node identifier
|
|
4129
|
+
*/
|
|
4130
|
+
target: string;
|
|
4131
|
+
/**
|
|
4132
|
+
* Edge data
|
|
4133
|
+
*/
|
|
4134
|
+
data?: {
|
|
4135
|
+
[k: string]: unknown;
|
|
4136
|
+
} | unknown[] | string | number | boolean | null;
|
|
4137
|
+
updatedAt: string;
|
|
4138
|
+
createdAt: string;
|
|
4139
|
+
deletedAt?: string | null;
|
|
4140
|
+
}
|
|
3833
4141
|
/**
|
|
3834
4142
|
* This interface was referenced by `Config`'s JSON-Schema
|
|
3835
4143
|
* via the `definition` "threads".
|
|
@@ -3867,7 +4175,13 @@ interface Thread {
|
|
|
3867
4175
|
generateSlug?: boolean | null;
|
|
3868
4176
|
slug?: string | null;
|
|
3869
4177
|
thumbnail?: (string | null) | Image;
|
|
3870
|
-
|
|
4178
|
+
authorProfile: string | CustomerProfile;
|
|
4179
|
+
authorSnapshot: {
|
|
4180
|
+
displayName: string;
|
|
4181
|
+
handle?: string | null;
|
|
4182
|
+
avatar?: (string | null) | Image;
|
|
4183
|
+
avatarUrl?: string | null;
|
|
4184
|
+
};
|
|
3871
4185
|
moderationStatus?: ('pending' | 'approved' | 'rejected' | 'reported' | 'hidden') | null;
|
|
3872
4186
|
viewCount?: number | null;
|
|
3873
4187
|
commentCount?: number | null;
|
|
@@ -3881,7 +4195,7 @@ interface Thread {
|
|
|
3881
4195
|
*/
|
|
3882
4196
|
isLocked?: boolean | null;
|
|
3883
4197
|
lastActivityAt?: string | null;
|
|
3884
|
-
|
|
4198
|
+
lastCommentByProfile?: (string | null) | CustomerProfile;
|
|
3885
4199
|
isFeatured?: boolean | null;
|
|
3886
4200
|
publishedAt?: string | null;
|
|
3887
4201
|
metadata?: {
|
|
@@ -3924,7 +4238,13 @@ interface Comment {
|
|
|
3924
4238
|
id: string;
|
|
3925
4239
|
tenant?: (string | null) | Tenant;
|
|
3926
4240
|
thread: string | Thread;
|
|
3927
|
-
|
|
4241
|
+
authorProfile: string | CustomerProfile;
|
|
4242
|
+
authorSnapshot: {
|
|
4243
|
+
displayName: string;
|
|
4244
|
+
handle?: string | null;
|
|
4245
|
+
avatar?: (string | null) | Image;
|
|
4246
|
+
avatarUrl?: string | null;
|
|
4247
|
+
};
|
|
3928
4248
|
body?: string | null;
|
|
3929
4249
|
parent?: (string | null) | Comment;
|
|
3930
4250
|
depth?: number | null;
|
|
@@ -3952,7 +4272,7 @@ interface Reaction {
|
|
|
3952
4272
|
tenant?: (string | null) | Tenant;
|
|
3953
4273
|
thread?: (string | null) | Thread;
|
|
3954
4274
|
comment?: (string | null) | Comment;
|
|
3955
|
-
|
|
4275
|
+
actorProfile: string | CustomerProfile;
|
|
3956
4276
|
type: string | ReactionType;
|
|
3957
4277
|
metadata?: {
|
|
3958
4278
|
[k: string]: unknown;
|
|
@@ -4284,6 +4604,15 @@ interface PayloadLockedDocument {
|
|
|
4284
4604
|
} | null) | ({
|
|
4285
4605
|
relationTo: 'personal-access-tokens';
|
|
4286
4606
|
value: string | PersonalAccessToken;
|
|
4607
|
+
} | null) | ({
|
|
4608
|
+
relationTo: 'audit-logs';
|
|
4609
|
+
value: string | AuditLog;
|
|
4610
|
+
} | null) | ({
|
|
4611
|
+
relationTo: 'webhook-events';
|
|
4612
|
+
value: string | WebhookEvent;
|
|
4613
|
+
} | null) | ({
|
|
4614
|
+
relationTo: 'webhook-deliveries';
|
|
4615
|
+
value: string | WebhookDelivery;
|
|
4287
4616
|
} | null) | ({
|
|
4288
4617
|
relationTo: 'tenants';
|
|
4289
4618
|
value: string | Tenant;
|
|
@@ -4314,6 +4643,12 @@ interface PayloadLockedDocument {
|
|
|
4314
4643
|
} | null) | ({
|
|
4315
4644
|
relationTo: 'billing-history';
|
|
4316
4645
|
value: string | BillingHistory;
|
|
4646
|
+
} | null) | ({
|
|
4647
|
+
relationTo: 'plans';
|
|
4648
|
+
value: string | Plan;
|
|
4649
|
+
} | null) | ({
|
|
4650
|
+
relationTo: 'webhooks';
|
|
4651
|
+
value: string | Webhook;
|
|
4317
4652
|
} | null) | ({
|
|
4318
4653
|
relationTo: 'tenant-logos';
|
|
4319
4654
|
value: string | TenantLogo;
|
|
@@ -4374,6 +4709,9 @@ interface PayloadLockedDocument {
|
|
|
4374
4709
|
} | null) | ({
|
|
4375
4710
|
relationTo: 'customers';
|
|
4376
4711
|
value: string | Customer;
|
|
4712
|
+
} | null) | ({
|
|
4713
|
+
relationTo: 'customer-profiles';
|
|
4714
|
+
value: string | CustomerProfile;
|
|
4377
4715
|
} | null) | ({
|
|
4378
4716
|
relationTo: 'customer-addresses';
|
|
4379
4717
|
value: string | CustomerAddress;
|
|
@@ -4389,6 +4727,9 @@ interface PayloadLockedDocument {
|
|
|
4389
4727
|
} | null) | ({
|
|
4390
4728
|
relationTo: 'discounts';
|
|
4391
4729
|
value: string | Discount;
|
|
4730
|
+
} | null) | ({
|
|
4731
|
+
relationTo: 'promotions';
|
|
4732
|
+
value: string | Promotion;
|
|
4392
4733
|
} | null) | ({
|
|
4393
4734
|
relationTo: 'posts';
|
|
4394
4735
|
value: string | Post;
|
|
@@ -4467,6 +4808,12 @@ interface PayloadLockedDocument {
|
|
|
4467
4808
|
} | null) | ({
|
|
4468
4809
|
relationTo: 'canvas-tags';
|
|
4469
4810
|
value: string | CanvasTag;
|
|
4811
|
+
} | null) | ({
|
|
4812
|
+
relationTo: 'canvas-nodes';
|
|
4813
|
+
value: string | CanvasNode;
|
|
4814
|
+
} | null) | ({
|
|
4815
|
+
relationTo: 'canvas-edges';
|
|
4816
|
+
value: string | CanvasEdge;
|
|
4470
4817
|
} | null) | ({
|
|
4471
4818
|
relationTo: 'videos';
|
|
4472
4819
|
value: string | Video;
|
|
@@ -4610,6 +4957,7 @@ interface FieldConfigsSelect<T extends boolean = true> {
|
|
|
4610
4957
|
hiddenFields?: T;
|
|
4611
4958
|
updatedAt?: T;
|
|
4612
4959
|
createdAt?: T;
|
|
4960
|
+
deletedAt?: T;
|
|
4613
4961
|
}
|
|
4614
4962
|
/**
|
|
4615
4963
|
* This interface was referenced by `Config`'s JSON-Schema
|
|
@@ -4618,8 +4966,6 @@ interface FieldConfigsSelect<T extends boolean = true> {
|
|
|
4618
4966
|
interface ImagesSelect<T extends boolean = true> {
|
|
4619
4967
|
tenant?: T;
|
|
4620
4968
|
alt?: T;
|
|
4621
|
-
caption?: T;
|
|
4622
|
-
credit?: T;
|
|
4623
4969
|
lqip?: T;
|
|
4624
4970
|
palette?: T | {
|
|
4625
4971
|
vibrant?: T;
|
|
@@ -4632,6 +4978,7 @@ interface ImagesSelect<T extends boolean = true> {
|
|
|
4632
4978
|
prefix?: T;
|
|
4633
4979
|
updatedAt?: T;
|
|
4634
4980
|
createdAt?: T;
|
|
4981
|
+
deletedAt?: T;
|
|
4635
4982
|
url?: T;
|
|
4636
4983
|
thumbnailURL?: T;
|
|
4637
4984
|
filename?: T;
|
|
@@ -4695,6 +5042,7 @@ interface SystemMediaSelect<T extends boolean = true> {
|
|
|
4695
5042
|
prefix?: T;
|
|
4696
5043
|
updatedAt?: T;
|
|
4697
5044
|
createdAt?: T;
|
|
5045
|
+
deletedAt?: T;
|
|
4698
5046
|
url?: T;
|
|
4699
5047
|
thumbnailURL?: T;
|
|
4700
5048
|
filename?: T;
|
|
@@ -4721,6 +5069,7 @@ interface AudiencesSelect<T extends boolean = true> {
|
|
|
4721
5069
|
resendContactId?: T;
|
|
4722
5070
|
updatedAt?: T;
|
|
4723
5071
|
createdAt?: T;
|
|
5072
|
+
deletedAt?: T;
|
|
4724
5073
|
}
|
|
4725
5074
|
/**
|
|
4726
5075
|
* This interface was referenced by `Config`'s JSON-Schema
|
|
@@ -4763,6 +5112,7 @@ interface ApiKeysSelect<T extends boolean = true> {
|
|
|
4763
5112
|
expiresAt?: T;
|
|
4764
5113
|
updatedAt?: T;
|
|
4765
5114
|
createdAt?: T;
|
|
5115
|
+
deletedAt?: T;
|
|
4766
5116
|
}
|
|
4767
5117
|
/**
|
|
4768
5118
|
* This interface was referenced by `Config`'s JSON-Schema
|
|
@@ -4783,6 +5133,45 @@ interface PersonalAccessTokensSelect<T extends boolean = true> {
|
|
|
4783
5133
|
expiresAt?: T;
|
|
4784
5134
|
updatedAt?: T;
|
|
4785
5135
|
createdAt?: T;
|
|
5136
|
+
deletedAt?: T;
|
|
5137
|
+
}
|
|
5138
|
+
/**
|
|
5139
|
+
* This interface was referenced by `Config`'s JSON-Schema
|
|
5140
|
+
* via the `definition` "audit-logs_select".
|
|
5141
|
+
*/
|
|
5142
|
+
interface AuditLogsSelect<T extends boolean = true> {
|
|
5143
|
+
tenant?: T;
|
|
5144
|
+
eventType?: T;
|
|
5145
|
+
actorId?: T;
|
|
5146
|
+
payload?: T;
|
|
5147
|
+
updatedAt?: T;
|
|
5148
|
+
createdAt?: T;
|
|
5149
|
+
}
|
|
5150
|
+
/**
|
|
5151
|
+
* This interface was referenced by `Config`'s JSON-Schema
|
|
5152
|
+
* via the `definition` "webhook-events_select".
|
|
5153
|
+
*/
|
|
5154
|
+
interface WebhookEventsSelect<T extends boolean = true> {
|
|
5155
|
+
tenant?: T;
|
|
5156
|
+
provider?: T;
|
|
5157
|
+
eventId?: T;
|
|
5158
|
+
receivedAt?: T;
|
|
5159
|
+
payload?: T;
|
|
5160
|
+
updatedAt?: T;
|
|
5161
|
+
createdAt?: T;
|
|
5162
|
+
}
|
|
5163
|
+
/**
|
|
5164
|
+
* This interface was referenced by `Config`'s JSON-Schema
|
|
5165
|
+
* via the `definition` "webhook-deliveries_select".
|
|
5166
|
+
*/
|
|
5167
|
+
interface WebhookDeliveriesSelect<T extends boolean = true> {
|
|
5168
|
+
tenant?: T;
|
|
5169
|
+
webhookEventId?: T;
|
|
5170
|
+
attempt?: T;
|
|
5171
|
+
status?: T;
|
|
5172
|
+
dispatchedAt?: T;
|
|
5173
|
+
updatedAt?: T;
|
|
5174
|
+
createdAt?: T;
|
|
4786
5175
|
}
|
|
4787
5176
|
/**
|
|
4788
5177
|
* This interface was referenced by `Config`'s JSON-Schema
|
|
@@ -4825,6 +5214,7 @@ interface TenantsSelect<T extends boolean = true> {
|
|
|
4825
5214
|
};
|
|
4826
5215
|
updatedAt?: T;
|
|
4827
5216
|
createdAt?: T;
|
|
5217
|
+
deletedAt?: T;
|
|
4828
5218
|
}
|
|
4829
5219
|
/**
|
|
4830
5220
|
* This interface was referenced by `Config`'s JSON-Schema
|
|
@@ -4889,6 +5279,7 @@ interface TenantMetadataSelect<T extends boolean = true> {
|
|
|
4889
5279
|
};
|
|
4890
5280
|
updatedAt?: T;
|
|
4891
5281
|
createdAt?: T;
|
|
5282
|
+
deletedAt?: T;
|
|
4892
5283
|
}
|
|
4893
5284
|
/**
|
|
4894
5285
|
* This interface was referenced by `Config`'s JSON-Schema
|
|
@@ -4899,6 +5290,7 @@ interface TenantAuthSettingsSelect<T extends boolean = true> {
|
|
|
4899
5290
|
requiresEmailVerification?: T;
|
|
4900
5291
|
updatedAt?: T;
|
|
4901
5292
|
createdAt?: T;
|
|
5293
|
+
deletedAt?: T;
|
|
4902
5294
|
}
|
|
4903
5295
|
/**
|
|
4904
5296
|
* This interface was referenced by `Config`'s JSON-Schema
|
|
@@ -4909,6 +5301,7 @@ interface TenantCommunitySettingsSelect<T extends boolean = true> {
|
|
|
4909
5301
|
requiresPostApproval?: T;
|
|
4910
5302
|
updatedAt?: T;
|
|
4911
5303
|
createdAt?: T;
|
|
5304
|
+
deletedAt?: T;
|
|
4912
5305
|
}
|
|
4913
5306
|
/**
|
|
4914
5307
|
* This interface was referenced by `Config`'s JSON-Schema
|
|
@@ -5012,6 +5405,7 @@ interface AnalyticsEventSchemasSelect<T extends boolean = true> {
|
|
|
5012
5405
|
updatedBy?: T;
|
|
5013
5406
|
updatedAt?: T;
|
|
5014
5407
|
createdAt?: T;
|
|
5408
|
+
deletedAt?: T;
|
|
5015
5409
|
}
|
|
5016
5410
|
/**
|
|
5017
5411
|
* This interface was referenced by `Config`'s JSON-Schema
|
|
@@ -5032,6 +5426,7 @@ interface TenantEntitlementsSelect<T extends boolean = true> {
|
|
|
5032
5426
|
revokedBy?: T;
|
|
5033
5427
|
updatedAt?: T;
|
|
5034
5428
|
createdAt?: T;
|
|
5429
|
+
deletedAt?: T;
|
|
5035
5430
|
}
|
|
5036
5431
|
/**
|
|
5037
5432
|
* This interface was referenced by `Config`'s JSON-Schema
|
|
@@ -5072,6 +5467,7 @@ interface SubscriptionsSelect<T extends boolean = true> {
|
|
|
5072
5467
|
};
|
|
5073
5468
|
updatedAt?: T;
|
|
5074
5469
|
createdAt?: T;
|
|
5470
|
+
deletedAt?: T;
|
|
5075
5471
|
}
|
|
5076
5472
|
/**
|
|
5077
5473
|
* This interface was referenced by `Config`'s JSON-Schema
|
|
@@ -5097,6 +5493,39 @@ interface BillingHistorySelect<T extends boolean = true> {
|
|
|
5097
5493
|
retryOf?: T;
|
|
5098
5494
|
updatedAt?: T;
|
|
5099
5495
|
createdAt?: T;
|
|
5496
|
+
deletedAt?: T;
|
|
5497
|
+
}
|
|
5498
|
+
/**
|
|
5499
|
+
* This interface was referenced by `Config`'s JSON-Schema
|
|
5500
|
+
* via the `definition` "plans_select".
|
|
5501
|
+
*/
|
|
5502
|
+
interface PlansSelect<T extends boolean = true> {
|
|
5503
|
+
key?: T;
|
|
5504
|
+
name?: T;
|
|
5505
|
+
featuresAllowed?: T;
|
|
5506
|
+
quotas?: T;
|
|
5507
|
+
updatedAt?: T;
|
|
5508
|
+
createdAt?: T;
|
|
5509
|
+
deletedAt?: T;
|
|
5510
|
+
}
|
|
5511
|
+
/**
|
|
5512
|
+
* This interface was referenced by `Config`'s JSON-Schema
|
|
5513
|
+
* via the `definition` "webhooks_select".
|
|
5514
|
+
*/
|
|
5515
|
+
interface WebhooksSelect<T extends boolean = true> {
|
|
5516
|
+
tenant?: T;
|
|
5517
|
+
name?: T;
|
|
5518
|
+
url?: T;
|
|
5519
|
+
secret?: T;
|
|
5520
|
+
subscriptions?: T | {
|
|
5521
|
+
event?: T;
|
|
5522
|
+
id?: T;
|
|
5523
|
+
};
|
|
5524
|
+
isActive?: T;
|
|
5525
|
+
lastDispatchedAt?: T;
|
|
5526
|
+
updatedAt?: T;
|
|
5527
|
+
createdAt?: T;
|
|
5528
|
+
deletedAt?: T;
|
|
5100
5529
|
}
|
|
5101
5530
|
/**
|
|
5102
5531
|
* This interface was referenced by `Config`'s JSON-Schema
|
|
@@ -5105,8 +5534,6 @@ interface BillingHistorySelect<T extends boolean = true> {
|
|
|
5105
5534
|
interface TenantLogosSelect<T extends boolean = true> {
|
|
5106
5535
|
tenant?: T;
|
|
5107
5536
|
alt?: T;
|
|
5108
|
-
caption?: T;
|
|
5109
|
-
credit?: T;
|
|
5110
5537
|
lqip?: T;
|
|
5111
5538
|
palette?: T | {
|
|
5112
5539
|
vibrant?: T;
|
|
@@ -5119,6 +5546,7 @@ interface TenantLogosSelect<T extends boolean = true> {
|
|
|
5119
5546
|
prefix?: T;
|
|
5120
5547
|
updatedAt?: T;
|
|
5121
5548
|
createdAt?: T;
|
|
5549
|
+
deletedAt?: T;
|
|
5122
5550
|
url?: T;
|
|
5123
5551
|
thumbnailURL?: T;
|
|
5124
5552
|
filename?: T;
|
|
@@ -5422,8 +5850,6 @@ interface BrandsSelect<T extends boolean = true> {
|
|
|
5422
5850
|
interface BrandLogosSelect<T extends boolean = true> {
|
|
5423
5851
|
tenant?: T;
|
|
5424
5852
|
alt?: T;
|
|
5425
|
-
caption?: T;
|
|
5426
|
-
credit?: T;
|
|
5427
5853
|
lqip?: T;
|
|
5428
5854
|
palette?: T | {
|
|
5429
5855
|
vibrant?: T;
|
|
@@ -5436,6 +5862,7 @@ interface BrandLogosSelect<T extends boolean = true> {
|
|
|
5436
5862
|
prefix?: T;
|
|
5437
5863
|
updatedAt?: T;
|
|
5438
5864
|
createdAt?: T;
|
|
5865
|
+
deletedAt?: T;
|
|
5439
5866
|
url?: T;
|
|
5440
5867
|
thumbnailURL?: T;
|
|
5441
5868
|
filename?: T;
|
|
@@ -5553,6 +5980,9 @@ interface OrdersSelect<T extends boolean = true> {
|
|
|
5553
5980
|
fulfillments?: T;
|
|
5554
5981
|
returns?: T;
|
|
5555
5982
|
metadata?: T;
|
|
5983
|
+
nextRefundSeq?: T;
|
|
5984
|
+
nextCaptureSeq?: T;
|
|
5985
|
+
nextVoidSeq?: T;
|
|
5556
5986
|
updatedAt?: T;
|
|
5557
5987
|
createdAt?: T;
|
|
5558
5988
|
deletedAt?: T;
|
|
@@ -5575,8 +6005,11 @@ interface OrderItemsSelect<T extends boolean = true> {
|
|
|
5575
6005
|
requiresShipping?: T;
|
|
5576
6006
|
totalPrice?: T;
|
|
5577
6007
|
productTitle?: T;
|
|
6008
|
+
taxRate?: T;
|
|
6009
|
+
currency?: T;
|
|
5578
6010
|
updatedAt?: T;
|
|
5579
6011
|
createdAt?: T;
|
|
6012
|
+
deletedAt?: T;
|
|
5580
6013
|
}
|
|
5581
6014
|
/**
|
|
5582
6015
|
* This interface was referenced by `Config`'s JSON-Schema
|
|
@@ -5584,6 +6017,7 @@ interface OrderItemsSelect<T extends boolean = true> {
|
|
|
5584
6017
|
*/
|
|
5585
6018
|
interface TransactionsSelect<T extends boolean = true> {
|
|
5586
6019
|
tenant?: T;
|
|
6020
|
+
_title?: T;
|
|
5587
6021
|
type?: T;
|
|
5588
6022
|
status?: T;
|
|
5589
6023
|
order?: T;
|
|
@@ -5632,6 +6066,7 @@ interface OrderStatusLogsSelect<T extends boolean = true> {
|
|
|
5632
6066
|
metadata?: T;
|
|
5633
6067
|
updatedAt?: T;
|
|
5634
6068
|
createdAt?: T;
|
|
6069
|
+
deletedAt?: T;
|
|
5635
6070
|
}
|
|
5636
6071
|
/**
|
|
5637
6072
|
* This interface was referenced by `Config`'s JSON-Schema
|
|
@@ -5665,6 +6100,7 @@ interface FulfillmentItemsSelect<T extends boolean = true> {
|
|
|
5665
6100
|
quantity?: T;
|
|
5666
6101
|
updatedAt?: T;
|
|
5667
6102
|
createdAt?: T;
|
|
6103
|
+
deletedAt?: T;
|
|
5668
6104
|
}
|
|
5669
6105
|
/**
|
|
5670
6106
|
* This interface was referenced by `Config`'s JSON-Schema
|
|
@@ -5706,6 +6142,7 @@ interface ReturnItemsSelect<T extends boolean = true> {
|
|
|
5706
6142
|
productTitle?: T;
|
|
5707
6143
|
updatedAt?: T;
|
|
5708
6144
|
createdAt?: T;
|
|
6145
|
+
deletedAt?: T;
|
|
5709
6146
|
}
|
|
5710
6147
|
/**
|
|
5711
6148
|
* This interface was referenced by `Config`'s JSON-Schema
|
|
@@ -5742,12 +6179,28 @@ interface CustomersSelect<T extends boolean = true> {
|
|
|
5742
6179
|
email?: T;
|
|
5743
6180
|
phone?: T;
|
|
5744
6181
|
groups?: T;
|
|
5745
|
-
providerUserId?: T;
|
|
5746
6182
|
note?: T;
|
|
5747
6183
|
birthDate?: T;
|
|
5748
6184
|
gender?: T;
|
|
6185
|
+
isGuest?: T;
|
|
6186
|
+
authProvider?: T;
|
|
6187
|
+
providerUserId?: T;
|
|
6188
|
+
isEmailVerified?: T;
|
|
6189
|
+
lastLoginAt?: T;
|
|
6190
|
+
passwordChangedAt?: T;
|
|
5749
6191
|
orders?: T;
|
|
5750
6192
|
addresses?: T;
|
|
6193
|
+
defaultShippingAddress?: T;
|
|
6194
|
+
defaultBillingAddress?: T;
|
|
6195
|
+
totalOrderCount?: T;
|
|
6196
|
+
lifetimeValue?: T;
|
|
6197
|
+
firstOrderAt?: T;
|
|
6198
|
+
lastOrderAt?: T;
|
|
6199
|
+
profile?: T;
|
|
6200
|
+
threadCount?: T;
|
|
6201
|
+
commentCount?: T;
|
|
6202
|
+
reactionCount?: T;
|
|
6203
|
+
isMinor?: T;
|
|
5751
6204
|
marketingConsent?: T | {
|
|
5752
6205
|
email?: T | {
|
|
5753
6206
|
isConsented?: T;
|
|
@@ -5775,6 +6228,8 @@ interface CustomersSelect<T extends boolean = true> {
|
|
|
5775
6228
|
guardianPhone?: T;
|
|
5776
6229
|
guardianConsentedAt?: T;
|
|
5777
6230
|
};
|
|
6231
|
+
acceptsTos?: T;
|
|
6232
|
+
tosVersion?: T;
|
|
5778
6233
|
withdrawReason?: T;
|
|
5779
6234
|
withdrawnAt?: T;
|
|
5780
6235
|
retainUntil?: T;
|
|
@@ -5786,27 +6241,29 @@ interface CustomersSelect<T extends boolean = true> {
|
|
|
5786
6241
|
resetPasswordExpiresAt?: T;
|
|
5787
6242
|
loginAttemptCount?: T;
|
|
5788
6243
|
lockedUntil?: T;
|
|
5789
|
-
|
|
5790
|
-
isGuest?: T;
|
|
5791
|
-
isEmailVerified?: T;
|
|
5792
|
-
lastLoginAt?: T;
|
|
5793
|
-
isMinor?: T;
|
|
5794
|
-
acceptsTos?: T;
|
|
5795
|
-
tosVersion?: T;
|
|
5796
|
-
defaultShippingAddress?: T;
|
|
5797
|
-
defaultBillingAddress?: T;
|
|
5798
|
-
totalOrderCount?: T;
|
|
5799
|
-
lifetimeValue?: T;
|
|
5800
|
-
firstOrderAt?: T;
|
|
5801
|
-
lastOrderAt?: T;
|
|
5802
|
-
threadCount?: T;
|
|
5803
|
-
commentCount?: T;
|
|
5804
|
-
reactionCount?: T;
|
|
6244
|
+
isSuspended?: T;
|
|
5805
6245
|
metadata?: T;
|
|
5806
6246
|
updatedAt?: T;
|
|
5807
6247
|
createdAt?: T;
|
|
5808
6248
|
deletedAt?: T;
|
|
5809
6249
|
}
|
|
6250
|
+
/**
|
|
6251
|
+
* This interface was referenced by `Config`'s JSON-Schema
|
|
6252
|
+
* via the `definition` "customer-profiles_select".
|
|
6253
|
+
*/
|
|
6254
|
+
interface CustomerProfilesSelect<T extends boolean = true> {
|
|
6255
|
+
tenant?: T;
|
|
6256
|
+
customer?: T;
|
|
6257
|
+
handle?: T;
|
|
6258
|
+
displayName?: T;
|
|
6259
|
+
avatar?: T;
|
|
6260
|
+
bio?: T;
|
|
6261
|
+
bioRichText?: T;
|
|
6262
|
+
joinedAt?: T;
|
|
6263
|
+
isPublic?: T;
|
|
6264
|
+
anonymizedAt?: T;
|
|
6265
|
+
metadata?: T;
|
|
6266
|
+
}
|
|
5810
6267
|
/**
|
|
5811
6268
|
* This interface was referenced by `Config`'s JSON-Schema
|
|
5812
6269
|
* via the `definition` "customer-addresses_select".
|
|
@@ -5820,12 +6277,17 @@ interface CustomerAddressesSelect<T extends boolean = true> {
|
|
|
5820
6277
|
postalCode?: T;
|
|
5821
6278
|
address1?: T;
|
|
5822
6279
|
address2?: T;
|
|
6280
|
+
jibunAddress?: T;
|
|
6281
|
+
city?: T;
|
|
6282
|
+
administrativeArea?: T;
|
|
5823
6283
|
addressType?: T;
|
|
5824
6284
|
country?: T;
|
|
5825
6285
|
isDefault?: T;
|
|
5826
|
-
|
|
6286
|
+
deliveryRequest?: T;
|
|
6287
|
+
deliveryNote?: T;
|
|
5827
6288
|
updatedAt?: T;
|
|
5828
6289
|
createdAt?: T;
|
|
6290
|
+
deletedAt?: T;
|
|
5829
6291
|
}
|
|
5830
6292
|
/**
|
|
5831
6293
|
* This interface was referenced by `Config`'s JSON-Schema
|
|
@@ -5926,7 +6388,7 @@ interface DiscountsSelect<T extends boolean = true> {
|
|
|
5926
6388
|
productSelection?: T | {
|
|
5927
6389
|
type?: T;
|
|
5928
6390
|
products?: T;
|
|
5929
|
-
|
|
6391
|
+
collections?: T;
|
|
5930
6392
|
};
|
|
5931
6393
|
maxUses?: T;
|
|
5932
6394
|
usesCount?: T;
|
|
@@ -5941,6 +6403,22 @@ interface DiscountsSelect<T extends boolean = true> {
|
|
|
5941
6403
|
createdAt?: T;
|
|
5942
6404
|
deletedAt?: T;
|
|
5943
6405
|
}
|
|
6406
|
+
/**
|
|
6407
|
+
* This interface was referenced by `Config`'s JSON-Schema
|
|
6408
|
+
* via the `definition` "promotions_select".
|
|
6409
|
+
*/
|
|
6410
|
+
interface PromotionsSelect<T extends boolean = true> {
|
|
6411
|
+
tenant?: T;
|
|
6412
|
+
code?: T;
|
|
6413
|
+
discountType?: T;
|
|
6414
|
+
discountValue?: T;
|
|
6415
|
+
validFrom?: T;
|
|
6416
|
+
validUntil?: T;
|
|
6417
|
+
status?: T;
|
|
6418
|
+
updatedAt?: T;
|
|
6419
|
+
createdAt?: T;
|
|
6420
|
+
deletedAt?: T;
|
|
6421
|
+
}
|
|
5944
6422
|
/**
|
|
5945
6423
|
* This interface was referenced by `Config`'s JSON-Schema
|
|
5946
6424
|
* via the `definition` "posts_select".
|
|
@@ -6153,7 +6631,6 @@ interface PlaylistsSelect<T extends boolean = true> {
|
|
|
6153
6631
|
thumbnail?: T;
|
|
6154
6632
|
coverArt?: T;
|
|
6155
6633
|
isCollaborative?: T;
|
|
6156
|
-
customer?: T;
|
|
6157
6634
|
generateSlug?: T;
|
|
6158
6635
|
slug?: T;
|
|
6159
6636
|
status?: T;
|
|
@@ -6246,6 +6723,7 @@ interface TrackAssetsSelect<T extends boolean = true> {
|
|
|
6246
6723
|
prefix?: T;
|
|
6247
6724
|
updatedAt?: T;
|
|
6248
6725
|
createdAt?: T;
|
|
6726
|
+
deletedAt?: T;
|
|
6249
6727
|
url?: T;
|
|
6250
6728
|
thumbnailURL?: T;
|
|
6251
6729
|
filename?: T;
|
|
@@ -6591,6 +7069,35 @@ interface CanvasTagsSelect<T extends boolean = true> {
|
|
|
6591
7069
|
createdAt?: T;
|
|
6592
7070
|
deletedAt?: T;
|
|
6593
7071
|
}
|
|
7072
|
+
/**
|
|
7073
|
+
* This interface was referenced by `Config`'s JSON-Schema
|
|
7074
|
+
* via the `definition` "canvas-nodes_select".
|
|
7075
|
+
*/
|
|
7076
|
+
interface CanvasNodesSelect<T extends boolean = true> {
|
|
7077
|
+
tenant?: T;
|
|
7078
|
+
canvas?: T;
|
|
7079
|
+
nodeType?: T;
|
|
7080
|
+
position?: T;
|
|
7081
|
+
data?: T;
|
|
7082
|
+
updatedAt?: T;
|
|
7083
|
+
createdAt?: T;
|
|
7084
|
+
deletedAt?: T;
|
|
7085
|
+
}
|
|
7086
|
+
/**
|
|
7087
|
+
* This interface was referenced by `Config`'s JSON-Schema
|
|
7088
|
+
* via the `definition` "canvas-edges_select".
|
|
7089
|
+
*/
|
|
7090
|
+
interface CanvasEdgesSelect<T extends boolean = true> {
|
|
7091
|
+
tenant?: T;
|
|
7092
|
+
canvas?: T;
|
|
7093
|
+
edgeType?: T;
|
|
7094
|
+
source?: T;
|
|
7095
|
+
target?: T;
|
|
7096
|
+
data?: T;
|
|
7097
|
+
updatedAt?: T;
|
|
7098
|
+
createdAt?: T;
|
|
7099
|
+
deletedAt?: T;
|
|
7100
|
+
}
|
|
6594
7101
|
/**
|
|
6595
7102
|
* This interface was referenced by `Config`'s JSON-Schema
|
|
6596
7103
|
* via the `definition` "videos_select".
|
|
@@ -6733,7 +7240,13 @@ interface ThreadsSelect<T extends boolean = true> {
|
|
|
6733
7240
|
generateSlug?: T;
|
|
6734
7241
|
slug?: T;
|
|
6735
7242
|
thumbnail?: T;
|
|
6736
|
-
|
|
7243
|
+
authorProfile?: T;
|
|
7244
|
+
authorSnapshot?: T | {
|
|
7245
|
+
displayName?: T;
|
|
7246
|
+
handle?: T;
|
|
7247
|
+
avatar?: T;
|
|
7248
|
+
avatarUrl?: T;
|
|
7249
|
+
};
|
|
6737
7250
|
moderationStatus?: T;
|
|
6738
7251
|
viewCount?: T;
|
|
6739
7252
|
commentCount?: T;
|
|
@@ -6744,7 +7257,7 @@ interface ThreadsSelect<T extends boolean = true> {
|
|
|
6744
7257
|
visibility?: T;
|
|
6745
7258
|
isLocked?: T;
|
|
6746
7259
|
lastActivityAt?: T;
|
|
6747
|
-
|
|
7260
|
+
lastCommentByProfile?: T;
|
|
6748
7261
|
isFeatured?: T;
|
|
6749
7262
|
publishedAt?: T;
|
|
6750
7263
|
metadata?: T;
|
|
@@ -6759,7 +7272,13 @@ interface ThreadsSelect<T extends boolean = true> {
|
|
|
6759
7272
|
interface CommentsSelect<T extends boolean = true> {
|
|
6760
7273
|
tenant?: T;
|
|
6761
7274
|
thread?: T;
|
|
6762
|
-
|
|
7275
|
+
authorProfile?: T;
|
|
7276
|
+
authorSnapshot?: T | {
|
|
7277
|
+
displayName?: T;
|
|
7278
|
+
handle?: T;
|
|
7279
|
+
avatar?: T;
|
|
7280
|
+
avatarUrl?: T;
|
|
7281
|
+
};
|
|
6763
7282
|
body?: T;
|
|
6764
7283
|
parent?: T;
|
|
6765
7284
|
depth?: T;
|
|
@@ -6784,7 +7303,7 @@ interface ReactionsSelect<T extends boolean = true> {
|
|
|
6784
7303
|
tenant?: T;
|
|
6785
7304
|
thread?: T;
|
|
6786
7305
|
comment?: T;
|
|
6787
|
-
|
|
7306
|
+
actorProfile?: T;
|
|
6788
7307
|
type?: T;
|
|
6789
7308
|
metadata?: T;
|
|
6790
7309
|
updatedAt?: T;
|