@01.software/sdk 0.14.0 → 0.16.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 +17 -1
- package/dist/analytics.cjs +4 -2
- package/dist/analytics.cjs.map +1 -1
- package/dist/analytics.js +4 -2
- package/dist/analytics.js.map +1 -1
- package/dist/const-BLwHrFZ-.d.cts +24 -0
- package/dist/const-RMD3ZVaS.d.ts +24 -0
- package/dist/index.cjs +36 -2
- 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 +36 -2
- package/dist/index.js.map +1 -1
- package/dist/{payload-types-DH1fKdM3.d.cts → payload-types-DRvL_bS2.d.cts} +789 -65
- package/dist/{payload-types-DH1fKdM3.d.ts → payload-types-DRvL_bS2.d.ts} +789 -65
- 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-CmJWfLjs.d.ts → webhook-7_KR18M-.d.ts} +2 -2
- package/dist/{webhook-IX2MGQj2.d.cts → webhook-CIcWL95t.d.cts} +2 -2
- package/dist/webhook.d.cts +3 -3
- package/dist/webhook.d.ts +3 -3
- package/package.json +3 -3
- package/dist/const-CigSm8e_.d.ts +0 -19
- package/dist/const-CxpAy8X_.d.cts +0 -19
|
@@ -17,12 +17,21 @@ 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;
|
|
25
|
+
'tenant-auth-settings': TenantAuthSetting;
|
|
26
|
+
'tenant-community-settings': TenantCommunitySetting;
|
|
22
27
|
'api-usage': ApiUsage;
|
|
23
28
|
'tenant-analytics-daily': TenantAnalyticsDaily;
|
|
29
|
+
'analytics-event-schemas': AnalyticsEventSchema;
|
|
30
|
+
'tenant-entitlements': TenantEntitlement;
|
|
24
31
|
subscriptions: Subscription;
|
|
25
32
|
'billing-history': BillingHistory;
|
|
33
|
+
plans: Plan;
|
|
34
|
+
webhooks: Webhook;
|
|
26
35
|
'tenant-logos': TenantLogo;
|
|
27
36
|
products: Product;
|
|
28
37
|
'product-variants': ProductVariant;
|
|
@@ -48,6 +57,7 @@ interface Config {
|
|
|
48
57
|
carts: Cart;
|
|
49
58
|
'cart-items': CartItem;
|
|
50
59
|
discounts: Discount;
|
|
60
|
+
promotions: Promotion;
|
|
51
61
|
posts: Post;
|
|
52
62
|
'post-authors': PostAuthor;
|
|
53
63
|
'post-categories': PostCategory;
|
|
@@ -74,6 +84,8 @@ interface Config {
|
|
|
74
84
|
'canvas-edge-types': CanvasEdgeType;
|
|
75
85
|
'canvas-categories': CanvasCategory;
|
|
76
86
|
'canvas-tags': CanvasTag;
|
|
87
|
+
'canvas-nodes': CanvasNode;
|
|
88
|
+
'canvas-edges': CanvasEdge;
|
|
77
89
|
videos: Video;
|
|
78
90
|
'video-categories': VideoCategory;
|
|
79
91
|
'video-tags': VideoTag;
|
|
@@ -146,12 +158,21 @@ interface Config {
|
|
|
146
158
|
'email-logs': EmailLogsSelect<false> | EmailLogsSelect<true>;
|
|
147
159
|
'api-keys': ApiKeysSelect<false> | ApiKeysSelect<true>;
|
|
148
160
|
'personal-access-tokens': PersonalAccessTokensSelect<false> | PersonalAccessTokensSelect<true>;
|
|
161
|
+
'audit-logs': AuditLogsSelect<false> | AuditLogsSelect<true>;
|
|
162
|
+
'webhook-events': WebhookEventsSelect<false> | WebhookEventsSelect<true>;
|
|
163
|
+
'webhook-deliveries': WebhookDeliveriesSelect<false> | WebhookDeliveriesSelect<true>;
|
|
149
164
|
tenants: TenantsSelect<false> | TenantsSelect<true>;
|
|
150
165
|
'tenant-metadata': TenantMetadataSelect<false> | TenantMetadataSelect<true>;
|
|
166
|
+
'tenant-auth-settings': TenantAuthSettingsSelect<false> | TenantAuthSettingsSelect<true>;
|
|
167
|
+
'tenant-community-settings': TenantCommunitySettingsSelect<false> | TenantCommunitySettingsSelect<true>;
|
|
151
168
|
'api-usage': ApiUsageSelect<false> | ApiUsageSelect<true>;
|
|
152
169
|
'tenant-analytics-daily': TenantAnalyticsDailySelect<false> | TenantAnalyticsDailySelect<true>;
|
|
170
|
+
'analytics-event-schemas': AnalyticsEventSchemasSelect<false> | AnalyticsEventSchemasSelect<true>;
|
|
171
|
+
'tenant-entitlements': TenantEntitlementsSelect<false> | TenantEntitlementsSelect<true>;
|
|
153
172
|
subscriptions: SubscriptionsSelect<false> | SubscriptionsSelect<true>;
|
|
154
173
|
'billing-history': BillingHistorySelect<false> | BillingHistorySelect<true>;
|
|
174
|
+
plans: PlansSelect<false> | PlansSelect<true>;
|
|
175
|
+
webhooks: WebhooksSelect<false> | WebhooksSelect<true>;
|
|
155
176
|
'tenant-logos': TenantLogosSelect<false> | TenantLogosSelect<true>;
|
|
156
177
|
products: ProductsSelect<false> | ProductsSelect<true>;
|
|
157
178
|
'product-variants': ProductVariantsSelect<false> | ProductVariantsSelect<true>;
|
|
@@ -177,6 +198,7 @@ interface Config {
|
|
|
177
198
|
carts: CartsSelect<false> | CartsSelect<true>;
|
|
178
199
|
'cart-items': CartItemsSelect<false> | CartItemsSelect<true>;
|
|
179
200
|
discounts: DiscountsSelect<false> | DiscountsSelect<true>;
|
|
201
|
+
promotions: PromotionsSelect<false> | PromotionsSelect<true>;
|
|
180
202
|
posts: PostsSelect<false> | PostsSelect<true>;
|
|
181
203
|
'post-authors': PostAuthorsSelect<false> | PostAuthorsSelect<true>;
|
|
182
204
|
'post-categories': PostCategoriesSelect<false> | PostCategoriesSelect<true>;
|
|
@@ -203,6 +225,8 @@ interface Config {
|
|
|
203
225
|
'canvas-edge-types': CanvasEdgeTypesSelect<false> | CanvasEdgeTypesSelect<true>;
|
|
204
226
|
'canvas-categories': CanvasCategoriesSelect<false> | CanvasCategoriesSelect<true>;
|
|
205
227
|
'canvas-tags': CanvasTagsSelect<false> | CanvasTagsSelect<true>;
|
|
228
|
+
'canvas-nodes': CanvasNodesSelect<false> | CanvasNodesSelect<true>;
|
|
229
|
+
'canvas-edges': CanvasEdgesSelect<false> | CanvasEdgesSelect<true>;
|
|
206
230
|
videos: VideosSelect<false> | VideosSelect<true>;
|
|
207
231
|
'video-categories': VideoCategoriesSelect<false> | VideoCategoriesSelect<true>;
|
|
208
232
|
'video-tags': VideoTagsSelect<false> | VideoTagsSelect<true>;
|
|
@@ -315,6 +339,7 @@ interface CodeBlock {
|
|
|
315
339
|
*/
|
|
316
340
|
interface User {
|
|
317
341
|
id: string;
|
|
342
|
+
_users_members_order?: string | null;
|
|
318
343
|
roles: ('super-admin' | 'user')[];
|
|
319
344
|
tenants?: {
|
|
320
345
|
tenant: string | Tenant;
|
|
@@ -376,34 +401,34 @@ interface Tenant {
|
|
|
376
401
|
* Tenant owner. Only the owner can delete the tenant or transfer ownership.
|
|
377
402
|
*/
|
|
378
403
|
owner: string | User;
|
|
379
|
-
plan: 'free' | 'starter' | 'basic' | 'pro' | 'enterprise';
|
|
380
|
-
features?: ('ecommerce' | 'customers' | 'playlists' | 'galleries' | 'links' | 'forms' | 'posts' | 'documents' | 'canvas' | 'videos' | 'live-streaming' | 'community')[] | null;
|
|
381
404
|
/**
|
|
382
|
-
*
|
|
405
|
+
* Features available to this tenant. Determined automatically by the plan.
|
|
383
406
|
*/
|
|
384
|
-
|
|
407
|
+
features?: {
|
|
408
|
+
feature: 'ecommerce' | 'customers' | 'playlists' | 'galleries' | 'links' | 'forms' | 'posts' | 'documents' | 'canvas' | 'videos' | 'live-streaming' | 'community';
|
|
409
|
+
provenance: string;
|
|
410
|
+
id?: string | null;
|
|
411
|
+
}[] | null;
|
|
385
412
|
/**
|
|
386
|
-
*
|
|
413
|
+
* Features this tenant has opted out of. Only effective for features granted by the plan.
|
|
387
414
|
*/
|
|
388
|
-
|
|
415
|
+
disabledFeatures?: ('ecommerce' | 'customers' | 'playlists' | 'galleries' | 'links' | 'forms' | 'posts' | 'documents' | 'canvas' | 'videos' | 'live-streaming' | 'community')[] | null;
|
|
389
416
|
/**
|
|
390
417
|
* Dev mode shows configuration tools like the field settings panel. Turn off after setup for a clean production UI.
|
|
391
418
|
*/
|
|
392
419
|
isDevMode?: boolean | null;
|
|
393
420
|
status?: ('active' | 'paused' | 'past_due' | 'canceled' | 'pending_deletion') | null;
|
|
394
|
-
trialEndsAt?: string | null;
|
|
395
|
-
deletionScheduledAt?: string | null;
|
|
396
421
|
/**
|
|
397
|
-
*
|
|
422
|
+
* A public key that is safe to include in browser code. (Starts with pk01_)
|
|
423
|
+
*/
|
|
424
|
+
publishableKey: string;
|
|
425
|
+
/**
|
|
426
|
+
* Domains allowed to call this tenant’s API from a browser. Leave empty to allow every domain.
|
|
398
427
|
*/
|
|
399
428
|
cors?: {
|
|
400
429
|
origin: string;
|
|
401
430
|
id?: string | null;
|
|
402
431
|
}[] | null;
|
|
403
|
-
/**
|
|
404
|
-
* Publishable Key — safe to embed in browser code. Prefix: pk01_
|
|
405
|
-
*/
|
|
406
|
-
publishableKey: string;
|
|
407
432
|
/**
|
|
408
433
|
* Webhook endpoints to notify on data changes.
|
|
409
434
|
*/
|
|
@@ -412,12 +437,16 @@ interface Tenant {
|
|
|
412
437
|
* e.g. Main Server, Analytics
|
|
413
438
|
*/
|
|
414
439
|
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;
|
|
415
444
|
/**
|
|
416
445
|
* The URL to send webhooks to. Must be HTTPS.
|
|
417
446
|
*/
|
|
418
447
|
url: string;
|
|
419
448
|
/**
|
|
420
|
-
*
|
|
449
|
+
* Used to verify that webhook payloads really came from us. We sign every payload with this secret.
|
|
421
450
|
*/
|
|
422
451
|
secret?: string | null;
|
|
423
452
|
isEnabled?: boolean | null;
|
|
@@ -431,18 +460,27 @@ interface Tenant {
|
|
|
431
460
|
hasNextPage?: boolean;
|
|
432
461
|
totalDocs?: number;
|
|
433
462
|
};
|
|
434
|
-
webAnalytics
|
|
463
|
+
webAnalytics: {
|
|
435
464
|
enabled?: boolean | null;
|
|
436
465
|
/**
|
|
437
|
-
*
|
|
466
|
+
* Domains allowed to send analytics events. If empty, browser analytics is blocked.
|
|
438
467
|
*/
|
|
439
468
|
allowedOrigins?: {
|
|
440
469
|
origin: string;
|
|
441
470
|
id?: string | null;
|
|
442
471
|
}[] | null;
|
|
472
|
+
/**
|
|
473
|
+
* Timezone used to group daily analytics. Once data starts coming in, this is locked and cannot be changed.
|
|
474
|
+
*/
|
|
475
|
+
timezone: string;
|
|
476
|
+
/**
|
|
477
|
+
* Automatically locked once the first analytics record is saved. Contact support to unlock.
|
|
478
|
+
*/
|
|
479
|
+
tzLocked?: boolean | null;
|
|
443
480
|
};
|
|
444
481
|
updatedAt: string;
|
|
445
482
|
createdAt: string;
|
|
483
|
+
deletedAt?: string | null;
|
|
446
484
|
}
|
|
447
485
|
/**
|
|
448
486
|
* This interface was referenced by `Config`'s JSON-Schema
|
|
@@ -452,6 +490,11 @@ interface Image {
|
|
|
452
490
|
id: string;
|
|
453
491
|
tenant?: (string | null) | Tenant;
|
|
454
492
|
alt?: string | null;
|
|
493
|
+
caption?: string | null;
|
|
494
|
+
/**
|
|
495
|
+
* Photographer or source attribution
|
|
496
|
+
*/
|
|
497
|
+
credit?: string | null;
|
|
455
498
|
/**
|
|
456
499
|
* Low quality image placeholder
|
|
457
500
|
*/
|
|
@@ -467,6 +510,7 @@ interface Image {
|
|
|
467
510
|
prefix?: string | null;
|
|
468
511
|
updatedAt: string;
|
|
469
512
|
createdAt: string;
|
|
513
|
+
deletedAt?: string | null;
|
|
470
514
|
url?: string | null;
|
|
471
515
|
thumbnailURL?: string | null;
|
|
472
516
|
filename?: string | null;
|
|
@@ -533,6 +577,7 @@ interface FieldConfig {
|
|
|
533
577
|
} | unknown[] | string | number | boolean | null;
|
|
534
578
|
updatedAt: string;
|
|
535
579
|
createdAt: string;
|
|
580
|
+
deletedAt?: string | null;
|
|
536
581
|
}
|
|
537
582
|
/**
|
|
538
583
|
* This interface was referenced by `Config`'s JSON-Schema
|
|
@@ -549,6 +594,7 @@ interface SystemMedia {
|
|
|
549
594
|
prefix?: string | null;
|
|
550
595
|
updatedAt: string;
|
|
551
596
|
createdAt: string;
|
|
597
|
+
deletedAt?: string | null;
|
|
552
598
|
url?: string | null;
|
|
553
599
|
thumbnailURL?: string | null;
|
|
554
600
|
filename?: string | null;
|
|
@@ -579,6 +625,7 @@ interface Audience {
|
|
|
579
625
|
resendContactId?: string | null;
|
|
580
626
|
updatedAt: string;
|
|
581
627
|
createdAt: string;
|
|
628
|
+
deletedAt?: string | null;
|
|
582
629
|
}
|
|
583
630
|
/**
|
|
584
631
|
* This interface was referenced by `Config`'s JSON-Schema
|
|
@@ -626,11 +673,9 @@ interface ApiKey {
|
|
|
626
673
|
displayPrefix: string;
|
|
627
674
|
displaySuffix: string;
|
|
628
675
|
/**
|
|
629
|
-
*
|
|
676
|
+
* Capability scopes. Default is read+write; webhook dispatch requires webhook, analytics writes require analytics.
|
|
630
677
|
*/
|
|
631
|
-
scopes?:
|
|
632
|
-
[k: string]: unknown;
|
|
633
|
-
} | unknown[] | string | number | boolean | null;
|
|
678
|
+
scopes?: ('read' | 'write' | 'webhook' | 'analytics' | 'super-admin')[] | null;
|
|
634
679
|
createdBy?: (string | null) | User;
|
|
635
680
|
createdByIp?: string | null;
|
|
636
681
|
lastUsedAt?: string | null;
|
|
@@ -643,6 +688,7 @@ interface ApiKey {
|
|
|
643
688
|
expiresAt?: string | null;
|
|
644
689
|
updatedAt: string;
|
|
645
690
|
createdAt: string;
|
|
691
|
+
deletedAt?: string | null;
|
|
646
692
|
}
|
|
647
693
|
/**
|
|
648
694
|
* This interface was referenced by `Config`'s JSON-Schema
|
|
@@ -673,6 +719,67 @@ interface PersonalAccessToken {
|
|
|
673
719
|
expiresAt?: string | null;
|
|
674
720
|
updatedAt: string;
|
|
675
721
|
createdAt: string;
|
|
722
|
+
deletedAt?: string | null;
|
|
723
|
+
}
|
|
724
|
+
/**
|
|
725
|
+
* This interface was referenced by `Config`'s JSON-Schema
|
|
726
|
+
* via the `definition` "audit-logs".
|
|
727
|
+
*/
|
|
728
|
+
interface AuditLog {
|
|
729
|
+
id: string;
|
|
730
|
+
tenant?: (string | null) | Tenant;
|
|
731
|
+
/**
|
|
732
|
+
* Event type
|
|
733
|
+
*/
|
|
734
|
+
eventType: string;
|
|
735
|
+
/**
|
|
736
|
+
* Actor ID
|
|
737
|
+
*/
|
|
738
|
+
actorId?: string | null;
|
|
739
|
+
/**
|
|
740
|
+
* Event payload
|
|
741
|
+
*/
|
|
742
|
+
payload?: {
|
|
743
|
+
[k: string]: unknown;
|
|
744
|
+
} | unknown[] | string | number | boolean | null;
|
|
745
|
+
updatedAt: string;
|
|
746
|
+
createdAt: string;
|
|
747
|
+
}
|
|
748
|
+
/**
|
|
749
|
+
* This interface was referenced by `Config`'s JSON-Schema
|
|
750
|
+
* via the `definition` "webhook-events".
|
|
751
|
+
*/
|
|
752
|
+
interface WebhookEvent {
|
|
753
|
+
id: string;
|
|
754
|
+
tenant?: (string | null) | Tenant;
|
|
755
|
+
/**
|
|
756
|
+
* Provider
|
|
757
|
+
*/
|
|
758
|
+
provider: string;
|
|
759
|
+
/**
|
|
760
|
+
* Event ID
|
|
761
|
+
*/
|
|
762
|
+
eventId: string;
|
|
763
|
+
receivedAt?: string | null;
|
|
764
|
+
payload?: {
|
|
765
|
+
[k: string]: unknown;
|
|
766
|
+
} | unknown[] | string | number | boolean | null;
|
|
767
|
+
updatedAt: string;
|
|
768
|
+
createdAt: string;
|
|
769
|
+
}
|
|
770
|
+
/**
|
|
771
|
+
* This interface was referenced by `Config`'s JSON-Schema
|
|
772
|
+
* via the `definition` "webhook-deliveries".
|
|
773
|
+
*/
|
|
774
|
+
interface WebhookDelivery {
|
|
775
|
+
id: string;
|
|
776
|
+
tenant?: (string | null) | Tenant;
|
|
777
|
+
webhookEventId?: (string | null) | WebhookEvent;
|
|
778
|
+
attempt: number;
|
|
779
|
+
status: 'pending' | 'success' | 'failed' | 'dead';
|
|
780
|
+
dispatchedAt?: string | null;
|
|
781
|
+
updatedAt: string;
|
|
782
|
+
createdAt: string;
|
|
676
783
|
}
|
|
677
784
|
/**
|
|
678
785
|
* This interface was referenced by `Config`'s JSON-Schema
|
|
@@ -840,6 +947,7 @@ interface TenantMetadatum {
|
|
|
840
947
|
};
|
|
841
948
|
updatedAt: string;
|
|
842
949
|
createdAt: string;
|
|
950
|
+
deletedAt?: string | null;
|
|
843
951
|
}
|
|
844
952
|
/**
|
|
845
953
|
* This interface was referenced by `Config`'s JSON-Schema
|
|
@@ -849,6 +957,11 @@ interface BrandLogo {
|
|
|
849
957
|
id: string;
|
|
850
958
|
tenant?: (string | null) | Tenant;
|
|
851
959
|
alt?: string | null;
|
|
960
|
+
caption?: string | null;
|
|
961
|
+
/**
|
|
962
|
+
* Photographer or source attribution
|
|
963
|
+
*/
|
|
964
|
+
credit?: string | null;
|
|
852
965
|
/**
|
|
853
966
|
* Low quality image placeholder
|
|
854
967
|
*/
|
|
@@ -864,6 +977,7 @@ interface BrandLogo {
|
|
|
864
977
|
prefix?: string | null;
|
|
865
978
|
updatedAt: string;
|
|
866
979
|
createdAt: string;
|
|
980
|
+
deletedAt?: string | null;
|
|
867
981
|
url?: string | null;
|
|
868
982
|
thumbnailURL?: string | null;
|
|
869
983
|
filename?: string | null;
|
|
@@ -932,6 +1046,36 @@ interface BrandLogo {
|
|
|
932
1046
|
};
|
|
933
1047
|
};
|
|
934
1048
|
}
|
|
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
|
+
}
|
|
935
1079
|
/**
|
|
936
1080
|
* This interface was referenced by `Config`'s JSON-Schema
|
|
937
1081
|
* via the `definition` "api-usage".
|
|
@@ -1015,11 +1159,103 @@ interface TenantAnalyticsDaily {
|
|
|
1015
1159
|
eventsDropped?: {
|
|
1016
1160
|
cardinality?: number | null;
|
|
1017
1161
|
schema?: number | null;
|
|
1162
|
+
late?: number | null;
|
|
1163
|
+
origin?: number | null;
|
|
1164
|
+
key?: number | null;
|
|
1165
|
+
rate?: number | null;
|
|
1166
|
+
disabled?: number | null;
|
|
1018
1167
|
};
|
|
1019
1168
|
snapshottedAt?: string | null;
|
|
1169
|
+
/**
|
|
1170
|
+
* 이 snapshot의 bucket이 계산된 tenant timezone
|
|
1171
|
+
*/
|
|
1172
|
+
bucketTz: string;
|
|
1173
|
+
/**
|
|
1174
|
+
* aggregate의 dimension key 집합 해시 (shape mismatch 감지용). custom event 없는 날은 "pageview-only".
|
|
1175
|
+
*/
|
|
1176
|
+
schemaShape: string;
|
|
1177
|
+
/**
|
|
1178
|
+
* Per-event dimension/page/referrer aggregates. Populated by snapshot cron when registered events have Redis data.
|
|
1179
|
+
*/
|
|
1180
|
+
eventDetails?: {
|
|
1181
|
+
eventName: string;
|
|
1182
|
+
dimensions?: {
|
|
1183
|
+
dimension: string;
|
|
1184
|
+
values?: {
|
|
1185
|
+
value: string;
|
|
1186
|
+
count: number;
|
|
1187
|
+
id?: string | null;
|
|
1188
|
+
}[] | null;
|
|
1189
|
+
id?: string | null;
|
|
1190
|
+
}[] | null;
|
|
1191
|
+
pages?: {
|
|
1192
|
+
pathname: string;
|
|
1193
|
+
count: number;
|
|
1194
|
+
id?: string | null;
|
|
1195
|
+
}[] | null;
|
|
1196
|
+
referrers?: {
|
|
1197
|
+
source: string;
|
|
1198
|
+
count: number;
|
|
1199
|
+
id?: string | null;
|
|
1200
|
+
}[] | null;
|
|
1201
|
+
id?: string | null;
|
|
1202
|
+
}[] | null;
|
|
1020
1203
|
updatedAt: string;
|
|
1021
1204
|
createdAt: string;
|
|
1022
1205
|
}
|
|
1206
|
+
/**
|
|
1207
|
+
* This interface was referenced by `Config`'s JSON-Schema
|
|
1208
|
+
* via the `definition` "analytics-event-schemas".
|
|
1209
|
+
*/
|
|
1210
|
+
interface AnalyticsEventSchema {
|
|
1211
|
+
id: string;
|
|
1212
|
+
tenant?: (string | null) | Tenant;
|
|
1213
|
+
/**
|
|
1214
|
+
* snake_case identifier. Must match /^[a-z][a-z0-9_]*$/
|
|
1215
|
+
*/
|
|
1216
|
+
eventName: string;
|
|
1217
|
+
enabled: boolean;
|
|
1218
|
+
dimensions?: {
|
|
1219
|
+
key: string;
|
|
1220
|
+
type: 'enum' | 'boolean';
|
|
1221
|
+
/**
|
|
1222
|
+
* Comma-separated values. Required when type=enum, optional otherwise. Boolean auto-derives {true,false}. Max 20 per key.
|
|
1223
|
+
*/
|
|
1224
|
+
allowedValues?: string | null;
|
|
1225
|
+
description?: string | null;
|
|
1226
|
+
id?: string | null;
|
|
1227
|
+
}[] | null;
|
|
1228
|
+
createdBy?: (string | null) | User;
|
|
1229
|
+
updatedBy?: (string | null) | User;
|
|
1230
|
+
updatedAt: string;
|
|
1231
|
+
createdAt: string;
|
|
1232
|
+
deletedAt?: string | null;
|
|
1233
|
+
}
|
|
1234
|
+
/**
|
|
1235
|
+
* This interface was referenced by `Config`'s JSON-Schema
|
|
1236
|
+
* via the `definition` "tenant-entitlements".
|
|
1237
|
+
*/
|
|
1238
|
+
interface TenantEntitlement {
|
|
1239
|
+
id: string;
|
|
1240
|
+
tenant: string | Tenant;
|
|
1241
|
+
plan: 'free' | 'starter' | 'basic' | 'pro' | 'enterprise';
|
|
1242
|
+
status: 'active' | 'scheduled' | 'expired' | 'revoked';
|
|
1243
|
+
sourceType: 'subscription' | 'manual' | 'support' | 'promo' | 'trial' | 'legacy_migration' | 'enterprise_contract';
|
|
1244
|
+
sourceSubscription?: (string | null) | Subscription;
|
|
1245
|
+
priority: number;
|
|
1246
|
+
startsAt: string;
|
|
1247
|
+
/**
|
|
1248
|
+
* Entitlement end date. Required for promo / trial / legacy_migration sources, optional otherwise.
|
|
1249
|
+
*/
|
|
1250
|
+
endsAt?: string | null;
|
|
1251
|
+
reason?: string | null;
|
|
1252
|
+
grantedBy?: (string | null) | User;
|
|
1253
|
+
revokedAt?: string | null;
|
|
1254
|
+
revokedBy?: (string | null) | User;
|
|
1255
|
+
updatedAt: string;
|
|
1256
|
+
createdAt: string;
|
|
1257
|
+
deletedAt?: string | null;
|
|
1258
|
+
}
|
|
1023
1259
|
/**
|
|
1024
1260
|
* This interface was referenced by `Config`'s JSON-Schema
|
|
1025
1261
|
* via the `definition` "subscriptions".
|
|
@@ -1035,7 +1271,7 @@ interface Subscription {
|
|
|
1035
1271
|
amount: number;
|
|
1036
1272
|
status: 'active' | 'past_due' | 'canceled' | 'expired' | 'suspended';
|
|
1037
1273
|
currency: 'KRW' | 'USD';
|
|
1038
|
-
provider: 'toss'
|
|
1274
|
+
provider: 'toss';
|
|
1039
1275
|
currentPeriodStart?: string | null;
|
|
1040
1276
|
currentPeriodEnd?: string | null;
|
|
1041
1277
|
trialStartAt?: string | null;
|
|
@@ -1061,14 +1297,6 @@ interface Subscription {
|
|
|
1061
1297
|
number?: string | null;
|
|
1062
1298
|
cardType?: string | null;
|
|
1063
1299
|
};
|
|
1064
|
-
/**
|
|
1065
|
-
* Provider subscription ID
|
|
1066
|
-
*/
|
|
1067
|
-
providerSubscriptionId?: string | null;
|
|
1068
|
-
/**
|
|
1069
|
-
* Provider customer ID
|
|
1070
|
-
*/
|
|
1071
|
-
providerCustomerId?: string | null;
|
|
1072
1300
|
/**
|
|
1073
1301
|
* Additional provider metadata
|
|
1074
1302
|
*/
|
|
@@ -1088,6 +1316,7 @@ interface Subscription {
|
|
|
1088
1316
|
};
|
|
1089
1317
|
updatedAt: string;
|
|
1090
1318
|
createdAt: string;
|
|
1319
|
+
deletedAt?: string | null;
|
|
1091
1320
|
}
|
|
1092
1321
|
/**
|
|
1093
1322
|
* This interface was referenced by `Config`'s JSON-Schema
|
|
@@ -1107,7 +1336,7 @@ interface BillingHistory {
|
|
|
1107
1336
|
* Plan at time of payment
|
|
1108
1337
|
*/
|
|
1109
1338
|
plan: 'starter' | 'basic' | 'pro';
|
|
1110
|
-
provider: 'toss'
|
|
1339
|
+
provider: 'toss';
|
|
1111
1340
|
currency: 'KRW' | 'USD';
|
|
1112
1341
|
billingCycle?: ('monthly' | 'yearly') | null;
|
|
1113
1342
|
periodStart?: string | null;
|
|
@@ -1127,23 +1356,74 @@ interface BillingHistory {
|
|
|
1127
1356
|
tossResponse?: {
|
|
1128
1357
|
[k: string]: unknown;
|
|
1129
1358
|
} | unknown[] | string | number | boolean | null;
|
|
1359
|
+
errorMessage?: string | null;
|
|
1130
1360
|
/**
|
|
1131
|
-
*
|
|
1361
|
+
* Original billing record for retry
|
|
1362
|
+
*/
|
|
1363
|
+
retryOf?: (string | null) | BillingHistory;
|
|
1364
|
+
updatedAt: string;
|
|
1365
|
+
createdAt: string;
|
|
1366
|
+
deletedAt?: string | null;
|
|
1367
|
+
}
|
|
1368
|
+
/**
|
|
1369
|
+
* This interface was referenced by `Config`'s JSON-Schema
|
|
1370
|
+
* via the `definition` "plans".
|
|
1371
|
+
*/
|
|
1372
|
+
interface Plan {
|
|
1373
|
+
id: string;
|
|
1374
|
+
/**
|
|
1375
|
+
* Plan identifier (free, starter, basic, pro, enterprise)
|
|
1376
|
+
*/
|
|
1377
|
+
key: string;
|
|
1378
|
+
/**
|
|
1379
|
+
* Plan display name
|
|
1132
1380
|
*/
|
|
1133
|
-
|
|
1381
|
+
name: string;
|
|
1382
|
+
/**
|
|
1383
|
+
* Features allowed for this plan
|
|
1384
|
+
*/
|
|
1385
|
+
featuresAllowed?: ('ecommerce' | 'customers' | 'playlists' | 'galleries' | 'links' | 'forms' | 'posts' | 'documents' | 'canvas' | 'videos' | 'live-streaming' | 'community')[] | null;
|
|
1134
1386
|
/**
|
|
1135
|
-
*
|
|
1387
|
+
* Quota limits (storageBytes, apiPerMonth, ...)
|
|
1136
1388
|
*/
|
|
1137
|
-
|
|
1389
|
+
quotas?: {
|
|
1138
1390
|
[k: string]: unknown;
|
|
1139
1391
|
} | unknown[] | string | number | boolean | null;
|
|
1140
|
-
|
|
1392
|
+
updatedAt: string;
|
|
1393
|
+
createdAt: string;
|
|
1394
|
+
deletedAt?: string | null;
|
|
1395
|
+
}
|
|
1396
|
+
/**
|
|
1397
|
+
* This interface was referenced by `Config`'s JSON-Schema
|
|
1398
|
+
* via the `definition` "webhooks".
|
|
1399
|
+
*/
|
|
1400
|
+
interface Webhook {
|
|
1401
|
+
id: string;
|
|
1402
|
+
tenant?: (string | null) | Tenant;
|
|
1141
1403
|
/**
|
|
1142
|
-
*
|
|
1404
|
+
* Webhook name
|
|
1143
1405
|
*/
|
|
1144
|
-
|
|
1406
|
+
name: string;
|
|
1407
|
+
/**
|
|
1408
|
+
* Webhook endpoint URL (http/https only)
|
|
1409
|
+
*/
|
|
1410
|
+
url: string;
|
|
1411
|
+
/**
|
|
1412
|
+
* HMAC signing secret (immutable once set)
|
|
1413
|
+
*/
|
|
1414
|
+
secret: string;
|
|
1415
|
+
/**
|
|
1416
|
+
* Subscribed event names
|
|
1417
|
+
*/
|
|
1418
|
+
subscriptions?: {
|
|
1419
|
+
event: string;
|
|
1420
|
+
id?: string | null;
|
|
1421
|
+
}[] | null;
|
|
1422
|
+
isActive?: boolean | null;
|
|
1423
|
+
lastDispatchedAt?: string | null;
|
|
1145
1424
|
updatedAt: string;
|
|
1146
1425
|
createdAt: string;
|
|
1426
|
+
deletedAt?: string | null;
|
|
1147
1427
|
}
|
|
1148
1428
|
/**
|
|
1149
1429
|
* This interface was referenced by `Config`'s JSON-Schema
|
|
@@ -1153,6 +1433,11 @@ interface TenantLogo {
|
|
|
1153
1433
|
id: string;
|
|
1154
1434
|
tenant?: (string | null) | Tenant;
|
|
1155
1435
|
alt?: string | null;
|
|
1436
|
+
caption?: string | null;
|
|
1437
|
+
/**
|
|
1438
|
+
* Photographer or source attribution
|
|
1439
|
+
*/
|
|
1440
|
+
credit?: string | null;
|
|
1156
1441
|
/**
|
|
1157
1442
|
* Low quality image placeholder
|
|
1158
1443
|
*/
|
|
@@ -1168,6 +1453,7 @@ interface TenantLogo {
|
|
|
1168
1453
|
prefix?: string | null;
|
|
1169
1454
|
updatedAt: string;
|
|
1170
1455
|
createdAt: string;
|
|
1456
|
+
deletedAt?: string | null;
|
|
1171
1457
|
url?: string | null;
|
|
1172
1458
|
thumbnailURL?: string | null;
|
|
1173
1459
|
filename?: string | null;
|
|
@@ -1984,7 +2270,7 @@ interface Order {
|
|
|
1984
2270
|
tenant?: (string | null) | Tenant;
|
|
1985
2271
|
orderNumber: string;
|
|
1986
2272
|
cartToken?: string | null;
|
|
1987
|
-
status: 'pending' | 'paid' | 'failed' | 'canceled' | 'preparing' | 'shipped' | 'delivered' | 'confirmed' | 'return_requested' | 'return_processing' | 'returned';
|
|
2273
|
+
status: 'pending' | 'paid' | 'failed' | 'canceled' | 'refunded' | 'preparing' | 'shipped' | 'delivered' | 'confirmed' | 'return_requested' | 'return_processing' | 'returned';
|
|
1988
2274
|
totalAmount?: number | null;
|
|
1989
2275
|
discountCode?: string | null;
|
|
1990
2276
|
discountAmount?: number | null;
|
|
@@ -2061,6 +2347,9 @@ interface Order {
|
|
|
2061
2347
|
metadata?: {
|
|
2062
2348
|
[k: string]: unknown;
|
|
2063
2349
|
} | unknown[] | string | number | boolean | null;
|
|
2350
|
+
nextRefundSeq?: number | null;
|
|
2351
|
+
nextCaptureSeq?: number | null;
|
|
2352
|
+
nextVoidSeq?: number | null;
|
|
2064
2353
|
updatedAt: string;
|
|
2065
2354
|
createdAt: string;
|
|
2066
2355
|
deletedAt?: string | null;
|
|
@@ -2147,6 +2436,14 @@ interface Customer {
|
|
|
2147
2436
|
lockedUntil?: string | null;
|
|
2148
2437
|
authProvider?: ('local' | 'google' | 'apple' | 'kakao' | 'naver') | null;
|
|
2149
2438
|
isGuest?: boolean | null;
|
|
2439
|
+
/**
|
|
2440
|
+
* Account suspension
|
|
2441
|
+
*/
|
|
2442
|
+
isSuspended?: boolean | null;
|
|
2443
|
+
/**
|
|
2444
|
+
* Last password change timestamp (used for JWT revocation)
|
|
2445
|
+
*/
|
|
2446
|
+
passwordChangedAt?: string | null;
|
|
2150
2447
|
isEmailVerified?: boolean | null;
|
|
2151
2448
|
lastLoginAt?: string | null;
|
|
2152
2449
|
isMinor?: boolean | null;
|
|
@@ -2214,15 +2511,46 @@ interface CustomerAddress {
|
|
|
2214
2511
|
recipientName?: string | null;
|
|
2215
2512
|
phone?: string | null;
|
|
2216
2513
|
postalCode?: string | null;
|
|
2514
|
+
/**
|
|
2515
|
+
* Road-name address (returned by Daum/Naver postal code pickers)
|
|
2516
|
+
*/
|
|
2217
2517
|
address1?: string | null;
|
|
2518
|
+
/**
|
|
2519
|
+
* Detail address (unit / floor / building name)
|
|
2520
|
+
*/
|
|
2218
2521
|
address2?: string | null;
|
|
2522
|
+
/**
|
|
2523
|
+
* 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 지번.
|
|
2524
|
+
*/
|
|
2525
|
+
jibunAddress?: string | null;
|
|
2526
|
+
/**
|
|
2527
|
+
* City (KR: 시/군 — e.g. "Seoul", "Busan"; non-KR: city/town).
|
|
2528
|
+
*/
|
|
2529
|
+
city?: string | null;
|
|
2530
|
+
/**
|
|
2531
|
+
* Administrative area (KR: 시/도 — usually folded into `city`; non-KR: state / province / region).
|
|
2532
|
+
*/
|
|
2533
|
+
administrativeArea?: string | null;
|
|
2534
|
+
/**
|
|
2535
|
+
* Which address form to print on the shipping label (default: road).
|
|
2536
|
+
*/
|
|
2537
|
+
addressType?: ('road' | 'jibun') | null;
|
|
2538
|
+
/**
|
|
2539
|
+
* ISO 3166-1 alpha-2 country code
|
|
2540
|
+
*/
|
|
2541
|
+
country?: string | null;
|
|
2219
2542
|
isDefault?: boolean | null;
|
|
2220
2543
|
/**
|
|
2221
|
-
*
|
|
2544
|
+
* Delivery request preset. Pick "Other" to switch to a free-form deliveryNote.
|
|
2545
|
+
*/
|
|
2546
|
+
deliveryRequest?: ('security_office' | 'handoff_in_person' | 'call_before' | 'leave_at_door' | 'other') | null;
|
|
2547
|
+
/**
|
|
2548
|
+
* Free-form delivery note. Prefer the deliveryRequest preset when one of the choices fits; reserve this for actually-custom instructions.
|
|
2222
2549
|
*/
|
|
2223
|
-
|
|
2550
|
+
deliveryNote?: string | null;
|
|
2224
2551
|
updatedAt: string;
|
|
2225
2552
|
createdAt: string;
|
|
2553
|
+
deletedAt?: string | null;
|
|
2226
2554
|
}
|
|
2227
2555
|
/**
|
|
2228
2556
|
* This interface was referenced by `Config`'s JSON-Schema
|
|
@@ -2239,13 +2567,27 @@ interface OrderItem {
|
|
|
2239
2567
|
* Price per unit at time of order
|
|
2240
2568
|
*/
|
|
2241
2569
|
unitPrice: number;
|
|
2570
|
+
variantTitle?: string | null;
|
|
2571
|
+
sku?: string | null;
|
|
2572
|
+
compareAtPrice?: number | null;
|
|
2573
|
+
weight?: number | null;
|
|
2574
|
+
requiresShipping?: boolean | null;
|
|
2242
2575
|
/**
|
|
2243
2576
|
* unitPrice × quantity
|
|
2244
2577
|
*/
|
|
2245
2578
|
totalPrice: number;
|
|
2246
2579
|
productTitle?: string | null;
|
|
2580
|
+
/**
|
|
2581
|
+
* Tax rate at time of order (%)
|
|
2582
|
+
*/
|
|
2583
|
+
taxRate?: number | null;
|
|
2584
|
+
/**
|
|
2585
|
+
* Currency at time of order (ISO-4217)
|
|
2586
|
+
*/
|
|
2587
|
+
currency?: string | null;
|
|
2247
2588
|
updatedAt: string;
|
|
2248
2589
|
createdAt: string;
|
|
2590
|
+
deletedAt?: string | null;
|
|
2249
2591
|
}
|
|
2250
2592
|
/**
|
|
2251
2593
|
* This interface was referenced by `Config`'s JSON-Schema
|
|
@@ -2254,8 +2596,9 @@ interface OrderItem {
|
|
|
2254
2596
|
interface Transaction {
|
|
2255
2597
|
id: string;
|
|
2256
2598
|
tenant?: (string | null) | Tenant;
|
|
2599
|
+
_title?: string | null;
|
|
2257
2600
|
type: 'payment' | 'refund';
|
|
2258
|
-
status: 'pending' | 'paid' | 'failed' | 'canceled';
|
|
2601
|
+
status: 'pending' | 'paid' | 'failed' | 'canceled' | 'refunded';
|
|
2259
2602
|
order: string | Order;
|
|
2260
2603
|
amount?: number | null;
|
|
2261
2604
|
paymentMethod?: string | null;
|
|
@@ -2351,6 +2694,7 @@ interface FulfillmentItem {
|
|
|
2351
2694
|
quantity: number;
|
|
2352
2695
|
updatedAt: string;
|
|
2353
2696
|
createdAt: string;
|
|
2697
|
+
deletedAt?: string | null;
|
|
2354
2698
|
}
|
|
2355
2699
|
/**
|
|
2356
2700
|
* This interface was referenced by `Config`'s JSON-Schema
|
|
@@ -2408,9 +2752,11 @@ interface ReturnItem {
|
|
|
2408
2752
|
product: string | Product;
|
|
2409
2753
|
variant?: (string | null) | ProductVariant;
|
|
2410
2754
|
quantity: number;
|
|
2755
|
+
restockAction: 'return_to_stock' | 'discard';
|
|
2411
2756
|
productTitle?: string | null;
|
|
2412
2757
|
updatedAt: string;
|
|
2413
2758
|
createdAt: string;
|
|
2759
|
+
deletedAt?: string | null;
|
|
2414
2760
|
}
|
|
2415
2761
|
/**
|
|
2416
2762
|
* This interface was referenced by `Config`'s JSON-Schema
|
|
@@ -2420,8 +2766,8 @@ interface OrderStatusLog {
|
|
|
2420
2766
|
id: string;
|
|
2421
2767
|
tenant?: (string | null) | Tenant;
|
|
2422
2768
|
order: string | Order;
|
|
2423
|
-
fromStatus: 'pending' | 'paid' | 'failed' | 'canceled' | 'preparing' | 'shipped' | 'delivered' | 'confirmed' | 'return_requested' | 'return_processing' | 'returned';
|
|
2424
|
-
toStatus: 'pending' | 'paid' | 'failed' | 'canceled' | 'preparing' | 'shipped' | 'delivered' | 'confirmed' | 'return_requested' | 'return_processing' | 'returned';
|
|
2769
|
+
fromStatus: 'pending' | 'paid' | 'failed' | 'canceled' | 'refunded' | 'preparing' | 'shipped' | 'delivered' | 'confirmed' | 'return_requested' | 'return_processing' | 'returned';
|
|
2770
|
+
toStatus: 'pending' | 'paid' | 'failed' | 'canceled' | 'refunded' | 'preparing' | 'shipped' | 'delivered' | 'confirmed' | 'return_requested' | 'return_processing' | 'returned';
|
|
2425
2771
|
/**
|
|
2426
2772
|
* 'user:{id}' | 'api:updateOrder' | 'system:transaction:{paymentId}' | 'system:fulfillment:{id}' | 'system:return:{id}'
|
|
2427
2773
|
*/
|
|
@@ -2432,6 +2778,7 @@ interface OrderStatusLog {
|
|
|
2432
2778
|
} | unknown[] | string | number | boolean | null;
|
|
2433
2779
|
updatedAt: string;
|
|
2434
2780
|
createdAt: string;
|
|
2781
|
+
deletedAt?: string | null;
|
|
2435
2782
|
}
|
|
2436
2783
|
/**
|
|
2437
2784
|
* This interface was referenced by `Config`'s JSON-Schema
|
|
@@ -2475,6 +2822,9 @@ interface Cart {
|
|
|
2475
2822
|
*/
|
|
2476
2823
|
discountAmount?: number | null;
|
|
2477
2824
|
totalAmount?: number | null;
|
|
2825
|
+
/**
|
|
2826
|
+
* Guest cart identity token. Immutable after creation.
|
|
2827
|
+
*/
|
|
2478
2828
|
cartToken?: string | null;
|
|
2479
2829
|
lastActivityAt?: string | null;
|
|
2480
2830
|
abandonedAt?: string | null;
|
|
@@ -2529,7 +2879,7 @@ interface Discount {
|
|
|
2529
2879
|
*/
|
|
2530
2880
|
internalNote?: string | null;
|
|
2531
2881
|
/**
|
|
2532
|
-
* Discount rate (%) or fixed amount
|
|
2882
|
+
* Discount rate (%) or fixed amount. Required when discount type is percentage or fixed_amount.
|
|
2533
2883
|
*/
|
|
2534
2884
|
discountValue?: number | null;
|
|
2535
2885
|
/**
|
|
@@ -2597,6 +2947,29 @@ interface Discount {
|
|
|
2597
2947
|
createdAt: string;
|
|
2598
2948
|
deletedAt?: string | null;
|
|
2599
2949
|
}
|
|
2950
|
+
/**
|
|
2951
|
+
* This interface was referenced by `Config`'s JSON-Schema
|
|
2952
|
+
* via the `definition` "promotions".
|
|
2953
|
+
*/
|
|
2954
|
+
interface Promotion {
|
|
2955
|
+
id: string;
|
|
2956
|
+
tenant?: (string | null) | Tenant;
|
|
2957
|
+
/**
|
|
2958
|
+
* Promotion code
|
|
2959
|
+
*/
|
|
2960
|
+
code: string;
|
|
2961
|
+
discountType: 'percent' | 'fixed' | 'free-shipping';
|
|
2962
|
+
/**
|
|
2963
|
+
* Discount value (percent: 0-100, fixed: minor unit)
|
|
2964
|
+
*/
|
|
2965
|
+
discountValue?: number | null;
|
|
2966
|
+
validFrom?: string | null;
|
|
2967
|
+
validUntil?: string | null;
|
|
2968
|
+
status: 'draft' | 'active' | 'paused' | 'expired';
|
|
2969
|
+
updatedAt: string;
|
|
2970
|
+
createdAt: string;
|
|
2971
|
+
deletedAt?: string | null;
|
|
2972
|
+
}
|
|
2600
2973
|
/**
|
|
2601
2974
|
* This interface was referenced by `Config`'s JSON-Schema
|
|
2602
2975
|
* via the `definition` "posts".
|
|
@@ -2626,7 +2999,7 @@ interface Post {
|
|
|
2626
2999
|
};
|
|
2627
3000
|
[k: string]: unknown;
|
|
2628
3001
|
} | null;
|
|
2629
|
-
|
|
3002
|
+
authors?: (string | PostAuthor)[] | null;
|
|
2630
3003
|
categories?: (string | PostCategory)[] | null;
|
|
2631
3004
|
tags?: (string | PostTag)[] | null;
|
|
2632
3005
|
videos?: (string | Video)[] | null;
|
|
@@ -2670,7 +3043,6 @@ interface Post {
|
|
|
2670
3043
|
thumbnail?: (string | null) | Image;
|
|
2671
3044
|
images?: (string | Image)[] | null;
|
|
2672
3045
|
publishedAt?: string | null;
|
|
2673
|
-
customer?: (string | null) | Customer;
|
|
2674
3046
|
isFeatured?: boolean | null;
|
|
2675
3047
|
/**
|
|
2676
3048
|
* Reading time (minutes)
|
|
@@ -2822,7 +3194,11 @@ interface Document {
|
|
|
2822
3194
|
*/
|
|
2823
3195
|
changeLog?: string | null;
|
|
2824
3196
|
/**
|
|
2825
|
-
*
|
|
3197
|
+
* Audience/timing for required agreement
|
|
3198
|
+
*/
|
|
3199
|
+
agreementScope?: ('all_users' | 'new_users' | 'on_update') | null;
|
|
3200
|
+
/**
|
|
3201
|
+
* Legacy compatibility field; replaced by agreementScope
|
|
2826
3202
|
*/
|
|
2827
3203
|
requiresAgreement?: boolean | null;
|
|
2828
3204
|
/**
|
|
@@ -3113,7 +3489,6 @@ interface Track {
|
|
|
3113
3489
|
*/
|
|
3114
3490
|
sourceProvider?: string | null;
|
|
3115
3491
|
sourceId?: string | null;
|
|
3116
|
-
createdBy?: (string | null) | Customer;
|
|
3117
3492
|
/**
|
|
3118
3493
|
* ISRC
|
|
3119
3494
|
*/
|
|
@@ -3182,13 +3557,13 @@ interface TrackAsset {
|
|
|
3182
3557
|
id: string;
|
|
3183
3558
|
tenant?: (string | null) | Tenant;
|
|
3184
3559
|
title?: string | null;
|
|
3185
|
-
customer?: (string | null) | Customer;
|
|
3186
3560
|
metadata?: {
|
|
3187
3561
|
[k: string]: unknown;
|
|
3188
3562
|
} | unknown[] | string | number | boolean | null;
|
|
3189
3563
|
prefix?: string | null;
|
|
3190
3564
|
updatedAt: string;
|
|
3191
3565
|
createdAt: string;
|
|
3566
|
+
deletedAt?: string | null;
|
|
3192
3567
|
url?: string | null;
|
|
3193
3568
|
thumbnailURL?: string | null;
|
|
3194
3569
|
filename?: string | null;
|
|
@@ -3389,6 +3764,8 @@ interface Link {
|
|
|
3389
3764
|
opensInNewTab?: boolean | null;
|
|
3390
3765
|
noFollow?: boolean | null;
|
|
3391
3766
|
expiresAt?: string | null;
|
|
3767
|
+
clickCount?: number | null;
|
|
3768
|
+
lastClickedAt?: string | null;
|
|
3392
3769
|
status?: ('draft' | 'published' | 'archived') | null;
|
|
3393
3770
|
isFeatured?: boolean | null;
|
|
3394
3771
|
metadata?: {
|
|
@@ -3677,6 +4054,64 @@ interface CanvasEdgeType {
|
|
|
3677
4054
|
createdAt: string;
|
|
3678
4055
|
deletedAt?: string | null;
|
|
3679
4056
|
}
|
|
4057
|
+
/**
|
|
4058
|
+
* This interface was referenced by `Config`'s JSON-Schema
|
|
4059
|
+
* via the `definition` "canvas-nodes".
|
|
4060
|
+
*/
|
|
4061
|
+
interface CanvasNode {
|
|
4062
|
+
id: string;
|
|
4063
|
+
tenant?: (string | null) | Tenant;
|
|
4064
|
+
canvas: string | Canvase;
|
|
4065
|
+
/**
|
|
4066
|
+
* Node type identifier
|
|
4067
|
+
*/
|
|
4068
|
+
nodeType: string;
|
|
4069
|
+
/**
|
|
4070
|
+
* Node position (x, y)
|
|
4071
|
+
*/
|
|
4072
|
+
position?: {
|
|
4073
|
+
[k: string]: unknown;
|
|
4074
|
+
} | unknown[] | string | number | boolean | null;
|
|
4075
|
+
/**
|
|
4076
|
+
* Node data
|
|
4077
|
+
*/
|
|
4078
|
+
data?: {
|
|
4079
|
+
[k: string]: unknown;
|
|
4080
|
+
} | unknown[] | string | number | boolean | null;
|
|
4081
|
+
updatedAt: string;
|
|
4082
|
+
createdAt: string;
|
|
4083
|
+
deletedAt?: string | null;
|
|
4084
|
+
}
|
|
4085
|
+
/**
|
|
4086
|
+
* This interface was referenced by `Config`'s JSON-Schema
|
|
4087
|
+
* via the `definition` "canvas-edges".
|
|
4088
|
+
*/
|
|
4089
|
+
interface CanvasEdge {
|
|
4090
|
+
id: string;
|
|
4091
|
+
tenant?: (string | null) | Tenant;
|
|
4092
|
+
canvas: string | Canvase;
|
|
4093
|
+
/**
|
|
4094
|
+
* Edge type identifier
|
|
4095
|
+
*/
|
|
4096
|
+
edgeType: string;
|
|
4097
|
+
/**
|
|
4098
|
+
* Source node identifier
|
|
4099
|
+
*/
|
|
4100
|
+
source: string;
|
|
4101
|
+
/**
|
|
4102
|
+
* Target node identifier
|
|
4103
|
+
*/
|
|
4104
|
+
target: string;
|
|
4105
|
+
/**
|
|
4106
|
+
* Edge data
|
|
4107
|
+
*/
|
|
4108
|
+
data?: {
|
|
4109
|
+
[k: string]: unknown;
|
|
4110
|
+
} | unknown[] | string | number | boolean | null;
|
|
4111
|
+
updatedAt: string;
|
|
4112
|
+
createdAt: string;
|
|
4113
|
+
deletedAt?: string | null;
|
|
4114
|
+
}
|
|
3680
4115
|
/**
|
|
3681
4116
|
* This interface was referenced by `Config`'s JSON-Schema
|
|
3682
4117
|
* via the `definition` "threads".
|
|
@@ -4131,24 +4566,51 @@ interface PayloadLockedDocument {
|
|
|
4131
4566
|
} | null) | ({
|
|
4132
4567
|
relationTo: 'personal-access-tokens';
|
|
4133
4568
|
value: string | PersonalAccessToken;
|
|
4569
|
+
} | null) | ({
|
|
4570
|
+
relationTo: 'audit-logs';
|
|
4571
|
+
value: string | AuditLog;
|
|
4572
|
+
} | null) | ({
|
|
4573
|
+
relationTo: 'webhook-events';
|
|
4574
|
+
value: string | WebhookEvent;
|
|
4575
|
+
} | null) | ({
|
|
4576
|
+
relationTo: 'webhook-deliveries';
|
|
4577
|
+
value: string | WebhookDelivery;
|
|
4134
4578
|
} | null) | ({
|
|
4135
4579
|
relationTo: 'tenants';
|
|
4136
4580
|
value: string | Tenant;
|
|
4137
4581
|
} | null) | ({
|
|
4138
4582
|
relationTo: 'tenant-metadata';
|
|
4139
4583
|
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;
|
|
4140
4590
|
} | null) | ({
|
|
4141
4591
|
relationTo: 'api-usage';
|
|
4142
4592
|
value: string | ApiUsage;
|
|
4143
4593
|
} | null) | ({
|
|
4144
4594
|
relationTo: 'tenant-analytics-daily';
|
|
4145
4595
|
value: string | TenantAnalyticsDaily;
|
|
4596
|
+
} | null) | ({
|
|
4597
|
+
relationTo: 'analytics-event-schemas';
|
|
4598
|
+
value: string | AnalyticsEventSchema;
|
|
4599
|
+
} | null) | ({
|
|
4600
|
+
relationTo: 'tenant-entitlements';
|
|
4601
|
+
value: string | TenantEntitlement;
|
|
4146
4602
|
} | null) | ({
|
|
4147
4603
|
relationTo: 'subscriptions';
|
|
4148
4604
|
value: string | Subscription;
|
|
4149
4605
|
} | null) | ({
|
|
4150
4606
|
relationTo: 'billing-history';
|
|
4151
4607
|
value: string | BillingHistory;
|
|
4608
|
+
} | null) | ({
|
|
4609
|
+
relationTo: 'plans';
|
|
4610
|
+
value: string | Plan;
|
|
4611
|
+
} | null) | ({
|
|
4612
|
+
relationTo: 'webhooks';
|
|
4613
|
+
value: string | Webhook;
|
|
4152
4614
|
} | null) | ({
|
|
4153
4615
|
relationTo: 'tenant-logos';
|
|
4154
4616
|
value: string | TenantLogo;
|
|
@@ -4224,6 +4686,9 @@ interface PayloadLockedDocument {
|
|
|
4224
4686
|
} | null) | ({
|
|
4225
4687
|
relationTo: 'discounts';
|
|
4226
4688
|
value: string | Discount;
|
|
4689
|
+
} | null) | ({
|
|
4690
|
+
relationTo: 'promotions';
|
|
4691
|
+
value: string | Promotion;
|
|
4227
4692
|
} | null) | ({
|
|
4228
4693
|
relationTo: 'posts';
|
|
4229
4694
|
value: string | Post;
|
|
@@ -4302,6 +4767,12 @@ interface PayloadLockedDocument {
|
|
|
4302
4767
|
} | null) | ({
|
|
4303
4768
|
relationTo: 'canvas-tags';
|
|
4304
4769
|
value: string | CanvasTag;
|
|
4770
|
+
} | null) | ({
|
|
4771
|
+
relationTo: 'canvas-nodes';
|
|
4772
|
+
value: string | CanvasNode;
|
|
4773
|
+
} | null) | ({
|
|
4774
|
+
relationTo: 'canvas-edges';
|
|
4775
|
+
value: string | CanvasEdge;
|
|
4305
4776
|
} | null) | ({
|
|
4306
4777
|
relationTo: 'videos';
|
|
4307
4778
|
value: string | Video;
|
|
@@ -4392,6 +4863,7 @@ interface PayloadMigration {
|
|
|
4392
4863
|
* via the `definition` "users_select".
|
|
4393
4864
|
*/
|
|
4394
4865
|
interface UsersSelect<T extends boolean = true> {
|
|
4866
|
+
_users_members_order?: T;
|
|
4395
4867
|
roles?: T;
|
|
4396
4868
|
tenants?: T | {
|
|
4397
4869
|
tenant?: T;
|
|
@@ -4444,6 +4916,7 @@ interface FieldConfigsSelect<T extends boolean = true> {
|
|
|
4444
4916
|
hiddenFields?: T;
|
|
4445
4917
|
updatedAt?: T;
|
|
4446
4918
|
createdAt?: T;
|
|
4919
|
+
deletedAt?: T;
|
|
4447
4920
|
}
|
|
4448
4921
|
/**
|
|
4449
4922
|
* This interface was referenced by `Config`'s JSON-Schema
|
|
@@ -4452,6 +4925,8 @@ interface FieldConfigsSelect<T extends boolean = true> {
|
|
|
4452
4925
|
interface ImagesSelect<T extends boolean = true> {
|
|
4453
4926
|
tenant?: T;
|
|
4454
4927
|
alt?: T;
|
|
4928
|
+
caption?: T;
|
|
4929
|
+
credit?: T;
|
|
4455
4930
|
lqip?: T;
|
|
4456
4931
|
palette?: T | {
|
|
4457
4932
|
vibrant?: T;
|
|
@@ -4464,6 +4939,7 @@ interface ImagesSelect<T extends boolean = true> {
|
|
|
4464
4939
|
prefix?: T;
|
|
4465
4940
|
updatedAt?: T;
|
|
4466
4941
|
createdAt?: T;
|
|
4942
|
+
deletedAt?: T;
|
|
4467
4943
|
url?: T;
|
|
4468
4944
|
thumbnailURL?: T;
|
|
4469
4945
|
filename?: T;
|
|
@@ -4527,6 +5003,7 @@ interface SystemMediaSelect<T extends boolean = true> {
|
|
|
4527
5003
|
prefix?: T;
|
|
4528
5004
|
updatedAt?: T;
|
|
4529
5005
|
createdAt?: T;
|
|
5006
|
+
deletedAt?: T;
|
|
4530
5007
|
url?: T;
|
|
4531
5008
|
thumbnailURL?: T;
|
|
4532
5009
|
filename?: T;
|
|
@@ -4553,6 +5030,7 @@ interface AudiencesSelect<T extends boolean = true> {
|
|
|
4553
5030
|
resendContactId?: T;
|
|
4554
5031
|
updatedAt?: T;
|
|
4555
5032
|
createdAt?: T;
|
|
5033
|
+
deletedAt?: T;
|
|
4556
5034
|
}
|
|
4557
5035
|
/**
|
|
4558
5036
|
* This interface was referenced by `Config`'s JSON-Schema
|
|
@@ -4595,6 +5073,7 @@ interface ApiKeysSelect<T extends boolean = true> {
|
|
|
4595
5073
|
expiresAt?: T;
|
|
4596
5074
|
updatedAt?: T;
|
|
4597
5075
|
createdAt?: T;
|
|
5076
|
+
deletedAt?: T;
|
|
4598
5077
|
}
|
|
4599
5078
|
/**
|
|
4600
5079
|
* This interface was referenced by `Config`'s JSON-Schema
|
|
@@ -4615,6 +5094,45 @@ interface PersonalAccessTokensSelect<T extends boolean = true> {
|
|
|
4615
5094
|
expiresAt?: T;
|
|
4616
5095
|
updatedAt?: T;
|
|
4617
5096
|
createdAt?: T;
|
|
5097
|
+
deletedAt?: T;
|
|
5098
|
+
}
|
|
5099
|
+
/**
|
|
5100
|
+
* This interface was referenced by `Config`'s JSON-Schema
|
|
5101
|
+
* via the `definition` "audit-logs_select".
|
|
5102
|
+
*/
|
|
5103
|
+
interface AuditLogsSelect<T extends boolean = true> {
|
|
5104
|
+
tenant?: T;
|
|
5105
|
+
eventType?: T;
|
|
5106
|
+
actorId?: T;
|
|
5107
|
+
payload?: T;
|
|
5108
|
+
updatedAt?: T;
|
|
5109
|
+
createdAt?: T;
|
|
5110
|
+
}
|
|
5111
|
+
/**
|
|
5112
|
+
* This interface was referenced by `Config`'s JSON-Schema
|
|
5113
|
+
* via the `definition` "webhook-events_select".
|
|
5114
|
+
*/
|
|
5115
|
+
interface WebhookEventsSelect<T extends boolean = true> {
|
|
5116
|
+
tenant?: T;
|
|
5117
|
+
provider?: T;
|
|
5118
|
+
eventId?: T;
|
|
5119
|
+
receivedAt?: T;
|
|
5120
|
+
payload?: T;
|
|
5121
|
+
updatedAt?: T;
|
|
5122
|
+
createdAt?: T;
|
|
5123
|
+
}
|
|
5124
|
+
/**
|
|
5125
|
+
* This interface was referenced by `Config`'s JSON-Schema
|
|
5126
|
+
* via the `definition` "webhook-deliveries_select".
|
|
5127
|
+
*/
|
|
5128
|
+
interface WebhookDeliveriesSelect<T extends boolean = true> {
|
|
5129
|
+
tenant?: T;
|
|
5130
|
+
webhookEventId?: T;
|
|
5131
|
+
attempt?: T;
|
|
5132
|
+
status?: T;
|
|
5133
|
+
dispatchedAt?: T;
|
|
5134
|
+
updatedAt?: T;
|
|
5135
|
+
createdAt?: T;
|
|
4618
5136
|
}
|
|
4619
5137
|
/**
|
|
4620
5138
|
* This interface was referenced by `Config`'s JSON-Schema
|
|
@@ -4624,21 +5142,22 @@ interface TenantsSelect<T extends boolean = true> {
|
|
|
4624
5142
|
name?: T;
|
|
4625
5143
|
slug?: T;
|
|
4626
5144
|
owner?: T;
|
|
4627
|
-
|
|
4628
|
-
|
|
4629
|
-
|
|
4630
|
-
|
|
5145
|
+
features?: T | {
|
|
5146
|
+
feature?: T;
|
|
5147
|
+
provenance?: T;
|
|
5148
|
+
id?: T;
|
|
5149
|
+
};
|
|
5150
|
+
disabledFeatures?: T;
|
|
4631
5151
|
isDevMode?: T;
|
|
4632
5152
|
status?: T;
|
|
4633
|
-
|
|
4634
|
-
deletionScheduledAt?: T;
|
|
5153
|
+
publishableKey?: T;
|
|
4635
5154
|
cors?: T | {
|
|
4636
5155
|
origin?: T;
|
|
4637
5156
|
id?: T;
|
|
4638
5157
|
};
|
|
4639
|
-
publishableKey?: T;
|
|
4640
5158
|
webhooks?: T | {
|
|
4641
5159
|
name?: T;
|
|
5160
|
+
purpose?: T;
|
|
4642
5161
|
url?: T;
|
|
4643
5162
|
secret?: T;
|
|
4644
5163
|
isEnabled?: T;
|
|
@@ -4651,9 +5170,12 @@ interface TenantsSelect<T extends boolean = true> {
|
|
|
4651
5170
|
origin?: T;
|
|
4652
5171
|
id?: T;
|
|
4653
5172
|
};
|
|
5173
|
+
timezone?: T;
|
|
5174
|
+
tzLocked?: T;
|
|
4654
5175
|
};
|
|
4655
5176
|
updatedAt?: T;
|
|
4656
5177
|
createdAt?: T;
|
|
5178
|
+
deletedAt?: T;
|
|
4657
5179
|
}
|
|
4658
5180
|
/**
|
|
4659
5181
|
* This interface was referenced by `Config`'s JSON-Schema
|
|
@@ -4718,6 +5240,29 @@ interface TenantMetadataSelect<T extends boolean = true> {
|
|
|
4718
5240
|
};
|
|
4719
5241
|
updatedAt?: T;
|
|
4720
5242
|
createdAt?: T;
|
|
5243
|
+
deletedAt?: T;
|
|
5244
|
+
}
|
|
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;
|
|
4721
5266
|
}
|
|
4722
5267
|
/**
|
|
4723
5268
|
* This interface was referenced by `Config`'s JSON-Schema
|
|
@@ -4767,11 +5312,83 @@ interface TenantAnalyticsDailySelect<T extends boolean = true> {
|
|
|
4767
5312
|
eventsDropped?: T | {
|
|
4768
5313
|
cardinality?: T;
|
|
4769
5314
|
schema?: T;
|
|
5315
|
+
late?: T;
|
|
5316
|
+
origin?: T;
|
|
5317
|
+
key?: T;
|
|
5318
|
+
rate?: T;
|
|
5319
|
+
disabled?: T;
|
|
4770
5320
|
};
|
|
4771
5321
|
snapshottedAt?: T;
|
|
5322
|
+
bucketTz?: T;
|
|
5323
|
+
schemaShape?: T;
|
|
5324
|
+
eventDetails?: T | {
|
|
5325
|
+
eventName?: T;
|
|
5326
|
+
dimensions?: T | {
|
|
5327
|
+
dimension?: T;
|
|
5328
|
+
values?: T | {
|
|
5329
|
+
value?: T;
|
|
5330
|
+
count?: T;
|
|
5331
|
+
id?: T;
|
|
5332
|
+
};
|
|
5333
|
+
id?: T;
|
|
5334
|
+
};
|
|
5335
|
+
pages?: T | {
|
|
5336
|
+
pathname?: T;
|
|
5337
|
+
count?: T;
|
|
5338
|
+
id?: T;
|
|
5339
|
+
};
|
|
5340
|
+
referrers?: T | {
|
|
5341
|
+
source?: T;
|
|
5342
|
+
count?: T;
|
|
5343
|
+
id?: T;
|
|
5344
|
+
};
|
|
5345
|
+
id?: T;
|
|
5346
|
+
};
|
|
4772
5347
|
updatedAt?: T;
|
|
4773
5348
|
createdAt?: T;
|
|
4774
5349
|
}
|
|
5350
|
+
/**
|
|
5351
|
+
* This interface was referenced by `Config`'s JSON-Schema
|
|
5352
|
+
* via the `definition` "analytics-event-schemas_select".
|
|
5353
|
+
*/
|
|
5354
|
+
interface AnalyticsEventSchemasSelect<T extends boolean = true> {
|
|
5355
|
+
tenant?: T;
|
|
5356
|
+
eventName?: T;
|
|
5357
|
+
enabled?: T;
|
|
5358
|
+
dimensions?: T | {
|
|
5359
|
+
key?: T;
|
|
5360
|
+
type?: T;
|
|
5361
|
+
allowedValues?: T;
|
|
5362
|
+
description?: T;
|
|
5363
|
+
id?: T;
|
|
5364
|
+
};
|
|
5365
|
+
createdBy?: T;
|
|
5366
|
+
updatedBy?: T;
|
|
5367
|
+
updatedAt?: T;
|
|
5368
|
+
createdAt?: T;
|
|
5369
|
+
deletedAt?: T;
|
|
5370
|
+
}
|
|
5371
|
+
/**
|
|
5372
|
+
* This interface was referenced by `Config`'s JSON-Schema
|
|
5373
|
+
* via the `definition` "tenant-entitlements_select".
|
|
5374
|
+
*/
|
|
5375
|
+
interface TenantEntitlementsSelect<T extends boolean = true> {
|
|
5376
|
+
tenant?: T;
|
|
5377
|
+
plan?: T;
|
|
5378
|
+
status?: T;
|
|
5379
|
+
sourceType?: T;
|
|
5380
|
+
sourceSubscription?: T;
|
|
5381
|
+
priority?: T;
|
|
5382
|
+
startsAt?: T;
|
|
5383
|
+
endsAt?: T;
|
|
5384
|
+
reason?: T;
|
|
5385
|
+
grantedBy?: T;
|
|
5386
|
+
revokedAt?: T;
|
|
5387
|
+
revokedBy?: T;
|
|
5388
|
+
updatedAt?: T;
|
|
5389
|
+
createdAt?: T;
|
|
5390
|
+
deletedAt?: T;
|
|
5391
|
+
}
|
|
4775
5392
|
/**
|
|
4776
5393
|
* This interface was referenced by `Config`'s JSON-Schema
|
|
4777
5394
|
* via the `definition` "subscriptions_select".
|
|
@@ -4797,8 +5414,6 @@ interface SubscriptionsSelect<T extends boolean = true> {
|
|
|
4797
5414
|
number?: T;
|
|
4798
5415
|
cardType?: T;
|
|
4799
5416
|
};
|
|
4800
|
-
providerSubscriptionId?: T;
|
|
4801
|
-
providerCustomerId?: T;
|
|
4802
5417
|
providerMetadata?: T;
|
|
4803
5418
|
cancelAtPeriodEnd?: T;
|
|
4804
5419
|
canceledAt?: T;
|
|
@@ -4813,6 +5428,7 @@ interface SubscriptionsSelect<T extends boolean = true> {
|
|
|
4813
5428
|
};
|
|
4814
5429
|
updatedAt?: T;
|
|
4815
5430
|
createdAt?: T;
|
|
5431
|
+
deletedAt?: T;
|
|
4816
5432
|
}
|
|
4817
5433
|
/**
|
|
4818
5434
|
* This interface was referenced by `Config`'s JSON-Schema
|
|
@@ -4834,12 +5450,43 @@ interface BillingHistorySelect<T extends boolean = true> {
|
|
|
4834
5450
|
orderName?: T;
|
|
4835
5451
|
paymentKey?: T;
|
|
4836
5452
|
tossResponse?: T;
|
|
4837
|
-
polarOrderId?: T;
|
|
4838
|
-
polarResponse?: T;
|
|
4839
5453
|
errorMessage?: T;
|
|
4840
5454
|
retryOf?: T;
|
|
4841
5455
|
updatedAt?: T;
|
|
4842
5456
|
createdAt?: T;
|
|
5457
|
+
deletedAt?: T;
|
|
5458
|
+
}
|
|
5459
|
+
/**
|
|
5460
|
+
* This interface was referenced by `Config`'s JSON-Schema
|
|
5461
|
+
* via the `definition` "plans_select".
|
|
5462
|
+
*/
|
|
5463
|
+
interface PlansSelect<T extends boolean = true> {
|
|
5464
|
+
key?: T;
|
|
5465
|
+
name?: T;
|
|
5466
|
+
featuresAllowed?: T;
|
|
5467
|
+
quotas?: T;
|
|
5468
|
+
updatedAt?: T;
|
|
5469
|
+
createdAt?: T;
|
|
5470
|
+
deletedAt?: T;
|
|
5471
|
+
}
|
|
5472
|
+
/**
|
|
5473
|
+
* This interface was referenced by `Config`'s JSON-Schema
|
|
5474
|
+
* via the `definition` "webhooks_select".
|
|
5475
|
+
*/
|
|
5476
|
+
interface WebhooksSelect<T extends boolean = true> {
|
|
5477
|
+
tenant?: T;
|
|
5478
|
+
name?: T;
|
|
5479
|
+
url?: T;
|
|
5480
|
+
secret?: T;
|
|
5481
|
+
subscriptions?: T | {
|
|
5482
|
+
event?: T;
|
|
5483
|
+
id?: T;
|
|
5484
|
+
};
|
|
5485
|
+
isActive?: T;
|
|
5486
|
+
lastDispatchedAt?: T;
|
|
5487
|
+
updatedAt?: T;
|
|
5488
|
+
createdAt?: T;
|
|
5489
|
+
deletedAt?: T;
|
|
4843
5490
|
}
|
|
4844
5491
|
/**
|
|
4845
5492
|
* This interface was referenced by `Config`'s JSON-Schema
|
|
@@ -4848,6 +5495,8 @@ interface BillingHistorySelect<T extends boolean = true> {
|
|
|
4848
5495
|
interface TenantLogosSelect<T extends boolean = true> {
|
|
4849
5496
|
tenant?: T;
|
|
4850
5497
|
alt?: T;
|
|
5498
|
+
caption?: T;
|
|
5499
|
+
credit?: T;
|
|
4851
5500
|
lqip?: T;
|
|
4852
5501
|
palette?: T | {
|
|
4853
5502
|
vibrant?: T;
|
|
@@ -4860,6 +5509,7 @@ interface TenantLogosSelect<T extends boolean = true> {
|
|
|
4860
5509
|
prefix?: T;
|
|
4861
5510
|
updatedAt?: T;
|
|
4862
5511
|
createdAt?: T;
|
|
5512
|
+
deletedAt?: T;
|
|
4863
5513
|
url?: T;
|
|
4864
5514
|
thumbnailURL?: T;
|
|
4865
5515
|
filename?: T;
|
|
@@ -5163,6 +5813,8 @@ interface BrandsSelect<T extends boolean = true> {
|
|
|
5163
5813
|
interface BrandLogosSelect<T extends boolean = true> {
|
|
5164
5814
|
tenant?: T;
|
|
5165
5815
|
alt?: T;
|
|
5816
|
+
caption?: T;
|
|
5817
|
+
credit?: T;
|
|
5166
5818
|
lqip?: T;
|
|
5167
5819
|
palette?: T | {
|
|
5168
5820
|
vibrant?: T;
|
|
@@ -5175,6 +5827,7 @@ interface BrandLogosSelect<T extends boolean = true> {
|
|
|
5175
5827
|
prefix?: T;
|
|
5176
5828
|
updatedAt?: T;
|
|
5177
5829
|
createdAt?: T;
|
|
5830
|
+
deletedAt?: T;
|
|
5178
5831
|
url?: T;
|
|
5179
5832
|
thumbnailURL?: T;
|
|
5180
5833
|
filename?: T;
|
|
@@ -5292,6 +5945,9 @@ interface OrdersSelect<T extends boolean = true> {
|
|
|
5292
5945
|
fulfillments?: T;
|
|
5293
5946
|
returns?: T;
|
|
5294
5947
|
metadata?: T;
|
|
5948
|
+
nextRefundSeq?: T;
|
|
5949
|
+
nextCaptureSeq?: T;
|
|
5950
|
+
nextVoidSeq?: T;
|
|
5295
5951
|
updatedAt?: T;
|
|
5296
5952
|
createdAt?: T;
|
|
5297
5953
|
deletedAt?: T;
|
|
@@ -5307,10 +5963,18 @@ interface OrderItemsSelect<T extends boolean = true> {
|
|
|
5307
5963
|
variant?: T;
|
|
5308
5964
|
quantity?: T;
|
|
5309
5965
|
unitPrice?: T;
|
|
5966
|
+
variantTitle?: T;
|
|
5967
|
+
sku?: T;
|
|
5968
|
+
compareAtPrice?: T;
|
|
5969
|
+
weight?: T;
|
|
5970
|
+
requiresShipping?: T;
|
|
5310
5971
|
totalPrice?: T;
|
|
5311
5972
|
productTitle?: T;
|
|
5973
|
+
taxRate?: T;
|
|
5974
|
+
currency?: T;
|
|
5312
5975
|
updatedAt?: T;
|
|
5313
5976
|
createdAt?: T;
|
|
5977
|
+
deletedAt?: T;
|
|
5314
5978
|
}
|
|
5315
5979
|
/**
|
|
5316
5980
|
* This interface was referenced by `Config`'s JSON-Schema
|
|
@@ -5318,6 +5982,7 @@ interface OrderItemsSelect<T extends boolean = true> {
|
|
|
5318
5982
|
*/
|
|
5319
5983
|
interface TransactionsSelect<T extends boolean = true> {
|
|
5320
5984
|
tenant?: T;
|
|
5985
|
+
_title?: T;
|
|
5321
5986
|
type?: T;
|
|
5322
5987
|
status?: T;
|
|
5323
5988
|
order?: T;
|
|
@@ -5366,6 +6031,7 @@ interface OrderStatusLogsSelect<T extends boolean = true> {
|
|
|
5366
6031
|
metadata?: T;
|
|
5367
6032
|
updatedAt?: T;
|
|
5368
6033
|
createdAt?: T;
|
|
6034
|
+
deletedAt?: T;
|
|
5369
6035
|
}
|
|
5370
6036
|
/**
|
|
5371
6037
|
* This interface was referenced by `Config`'s JSON-Schema
|
|
@@ -5399,6 +6065,7 @@ interface FulfillmentItemsSelect<T extends boolean = true> {
|
|
|
5399
6065
|
quantity?: T;
|
|
5400
6066
|
updatedAt?: T;
|
|
5401
6067
|
createdAt?: T;
|
|
6068
|
+
deletedAt?: T;
|
|
5402
6069
|
}
|
|
5403
6070
|
/**
|
|
5404
6071
|
* This interface was referenced by `Config`'s JSON-Schema
|
|
@@ -5436,9 +6103,11 @@ interface ReturnItemsSelect<T extends boolean = true> {
|
|
|
5436
6103
|
product?: T;
|
|
5437
6104
|
variant?: T;
|
|
5438
6105
|
quantity?: T;
|
|
6106
|
+
restockAction?: T;
|
|
5439
6107
|
productTitle?: T;
|
|
5440
6108
|
updatedAt?: T;
|
|
5441
6109
|
createdAt?: T;
|
|
6110
|
+
deletedAt?: T;
|
|
5442
6111
|
}
|
|
5443
6112
|
/**
|
|
5444
6113
|
* This interface was referenced by `Config`'s JSON-Schema
|
|
@@ -5521,6 +6190,8 @@ interface CustomersSelect<T extends boolean = true> {
|
|
|
5521
6190
|
lockedUntil?: T;
|
|
5522
6191
|
authProvider?: T;
|
|
5523
6192
|
isGuest?: T;
|
|
6193
|
+
isSuspended?: T;
|
|
6194
|
+
passwordChangedAt?: T;
|
|
5524
6195
|
isEmailVerified?: T;
|
|
5525
6196
|
lastLoginAt?: T;
|
|
5526
6197
|
isMinor?: T;
|
|
@@ -5553,10 +6224,17 @@ interface CustomerAddressesSelect<T extends boolean = true> {
|
|
|
5553
6224
|
postalCode?: T;
|
|
5554
6225
|
address1?: T;
|
|
5555
6226
|
address2?: T;
|
|
6227
|
+
jibunAddress?: T;
|
|
6228
|
+
city?: T;
|
|
6229
|
+
administrativeArea?: T;
|
|
6230
|
+
addressType?: T;
|
|
6231
|
+
country?: T;
|
|
5556
6232
|
isDefault?: T;
|
|
5557
|
-
|
|
6233
|
+
deliveryRequest?: T;
|
|
6234
|
+
deliveryNote?: T;
|
|
5558
6235
|
updatedAt?: T;
|
|
5559
6236
|
createdAt?: T;
|
|
6237
|
+
deletedAt?: T;
|
|
5560
6238
|
}
|
|
5561
6239
|
/**
|
|
5562
6240
|
* This interface was referenced by `Config`'s JSON-Schema
|
|
@@ -5672,6 +6350,22 @@ interface DiscountsSelect<T extends boolean = true> {
|
|
|
5672
6350
|
createdAt?: T;
|
|
5673
6351
|
deletedAt?: T;
|
|
5674
6352
|
}
|
|
6353
|
+
/**
|
|
6354
|
+
* This interface was referenced by `Config`'s JSON-Schema
|
|
6355
|
+
* via the `definition` "promotions_select".
|
|
6356
|
+
*/
|
|
6357
|
+
interface PromotionsSelect<T extends boolean = true> {
|
|
6358
|
+
tenant?: T;
|
|
6359
|
+
code?: T;
|
|
6360
|
+
discountType?: T;
|
|
6361
|
+
discountValue?: T;
|
|
6362
|
+
validFrom?: T;
|
|
6363
|
+
validUntil?: T;
|
|
6364
|
+
status?: T;
|
|
6365
|
+
updatedAt?: T;
|
|
6366
|
+
createdAt?: T;
|
|
6367
|
+
deletedAt?: T;
|
|
6368
|
+
}
|
|
5675
6369
|
/**
|
|
5676
6370
|
* This interface was referenced by `Config`'s JSON-Schema
|
|
5677
6371
|
* via the `definition` "posts_select".
|
|
@@ -5683,7 +6377,7 @@ interface PostsSelect<T extends boolean = true> {
|
|
|
5683
6377
|
subtitle?: T;
|
|
5684
6378
|
description?: T;
|
|
5685
6379
|
content?: T;
|
|
5686
|
-
|
|
6380
|
+
authors?: T;
|
|
5687
6381
|
categories?: T;
|
|
5688
6382
|
tags?: T;
|
|
5689
6383
|
videos?: T;
|
|
@@ -5703,7 +6397,6 @@ interface PostsSelect<T extends boolean = true> {
|
|
|
5703
6397
|
thumbnail?: T;
|
|
5704
6398
|
images?: T;
|
|
5705
6399
|
publishedAt?: T;
|
|
5706
|
-
customer?: T;
|
|
5707
6400
|
isFeatured?: T;
|
|
5708
6401
|
readingMinutes?: T;
|
|
5709
6402
|
excerpt?: T;
|
|
@@ -5789,6 +6482,7 @@ interface DocumentsSelect<T extends boolean = true> {
|
|
|
5789
6482
|
effectiveAt?: T;
|
|
5790
6483
|
expiresAt?: T;
|
|
5791
6484
|
changeLog?: T;
|
|
6485
|
+
agreementScope?: T;
|
|
5792
6486
|
requiresAgreement?: T;
|
|
5793
6487
|
keywords?: T | {
|
|
5794
6488
|
keyword?: T;
|
|
@@ -5959,7 +6653,6 @@ interface TracksSelect<T extends boolean = true> {
|
|
|
5959
6653
|
sourceUrl?: T;
|
|
5960
6654
|
sourceProvider?: T;
|
|
5961
6655
|
sourceId?: T;
|
|
5962
|
-
createdBy?: T;
|
|
5963
6656
|
isrc?: T;
|
|
5964
6657
|
isExplicit?: T;
|
|
5965
6658
|
previewUrl?: T;
|
|
@@ -5974,11 +6667,11 @@ interface TracksSelect<T extends boolean = true> {
|
|
|
5974
6667
|
interface TrackAssetsSelect<T extends boolean = true> {
|
|
5975
6668
|
tenant?: T;
|
|
5976
6669
|
title?: T;
|
|
5977
|
-
customer?: T;
|
|
5978
6670
|
metadata?: T;
|
|
5979
6671
|
prefix?: T;
|
|
5980
6672
|
updatedAt?: T;
|
|
5981
6673
|
createdAt?: T;
|
|
6674
|
+
deletedAt?: T;
|
|
5982
6675
|
url?: T;
|
|
5983
6676
|
thumbnailURL?: T;
|
|
5984
6677
|
filename?: T;
|
|
@@ -6137,6 +6830,8 @@ interface LinksSelect<T extends boolean = true> {
|
|
|
6137
6830
|
opensInNewTab?: T;
|
|
6138
6831
|
noFollow?: T;
|
|
6139
6832
|
expiresAt?: T;
|
|
6833
|
+
clickCount?: T;
|
|
6834
|
+
lastClickedAt?: T;
|
|
6140
6835
|
status?: T;
|
|
6141
6836
|
isFeatured?: T;
|
|
6142
6837
|
metadata?: T;
|
|
@@ -6322,6 +7017,35 @@ interface CanvasTagsSelect<T extends boolean = true> {
|
|
|
6322
7017
|
createdAt?: T;
|
|
6323
7018
|
deletedAt?: T;
|
|
6324
7019
|
}
|
|
7020
|
+
/**
|
|
7021
|
+
* This interface was referenced by `Config`'s JSON-Schema
|
|
7022
|
+
* via the `definition` "canvas-nodes_select".
|
|
7023
|
+
*/
|
|
7024
|
+
interface CanvasNodesSelect<T extends boolean = true> {
|
|
7025
|
+
tenant?: T;
|
|
7026
|
+
canvas?: T;
|
|
7027
|
+
nodeType?: T;
|
|
7028
|
+
position?: T;
|
|
7029
|
+
data?: T;
|
|
7030
|
+
updatedAt?: T;
|
|
7031
|
+
createdAt?: T;
|
|
7032
|
+
deletedAt?: T;
|
|
7033
|
+
}
|
|
7034
|
+
/**
|
|
7035
|
+
* This interface was referenced by `Config`'s JSON-Schema
|
|
7036
|
+
* via the `definition` "canvas-edges_select".
|
|
7037
|
+
*/
|
|
7038
|
+
interface CanvasEdgesSelect<T extends boolean = true> {
|
|
7039
|
+
tenant?: T;
|
|
7040
|
+
canvas?: T;
|
|
7041
|
+
edgeType?: T;
|
|
7042
|
+
source?: T;
|
|
7043
|
+
target?: T;
|
|
7044
|
+
data?: T;
|
|
7045
|
+
updatedAt?: T;
|
|
7046
|
+
createdAt?: T;
|
|
7047
|
+
deletedAt?: T;
|
|
7048
|
+
}
|
|
6325
7049
|
/**
|
|
6326
7050
|
* This interface was referenced by `Config`'s JSON-Schema
|
|
6327
7051
|
* via the `definition` "videos_select".
|