@01.software/sdk 0.15.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 +16 -0
- package/dist/const-BLwHrFZ-.d.cts +24 -0
- package/dist/const-RMD3ZVaS.d.ts +24 -0
- package/dist/index.cjs +32 -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 +32 -0
- package/dist/index.js.map +1 -1
- package/dist/{payload-types-Cjbr7XZZ.d.cts → payload-types-DRvL_bS2.d.cts} +477 -22
- package/dist/{payload-types-Cjbr7XZZ.d.ts → payload-types-DRvL_bS2.d.ts} +477 -22
- 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-2zxdCwB4.d.ts → webhook-7_KR18M-.d.ts} +2 -2
- package/dist/{webhook-BVA28ptL.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 +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;
|
|
@@ -52,6 +57,7 @@ interface Config {
|
|
|
52
57
|
carts: Cart;
|
|
53
58
|
'cart-items': CartItem;
|
|
54
59
|
discounts: Discount;
|
|
60
|
+
promotions: Promotion;
|
|
55
61
|
posts: Post;
|
|
56
62
|
'post-authors': PostAuthor;
|
|
57
63
|
'post-categories': PostCategory;
|
|
@@ -78,6 +84,8 @@ interface Config {
|
|
|
78
84
|
'canvas-edge-types': CanvasEdgeType;
|
|
79
85
|
'canvas-categories': CanvasCategory;
|
|
80
86
|
'canvas-tags': CanvasTag;
|
|
87
|
+
'canvas-nodes': CanvasNode;
|
|
88
|
+
'canvas-edges': CanvasEdge;
|
|
81
89
|
videos: Video;
|
|
82
90
|
'video-categories': VideoCategory;
|
|
83
91
|
'video-tags': VideoTag;
|
|
@@ -150,6 +158,9 @@ interface Config {
|
|
|
150
158
|
'email-logs': EmailLogsSelect<false> | EmailLogsSelect<true>;
|
|
151
159
|
'api-keys': ApiKeysSelect<false> | ApiKeysSelect<true>;
|
|
152
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>;
|
|
153
164
|
tenants: TenantsSelect<false> | TenantsSelect<true>;
|
|
154
165
|
'tenant-metadata': TenantMetadataSelect<false> | TenantMetadataSelect<true>;
|
|
155
166
|
'tenant-auth-settings': TenantAuthSettingsSelect<false> | TenantAuthSettingsSelect<true>;
|
|
@@ -160,6 +171,8 @@ interface Config {
|
|
|
160
171
|
'tenant-entitlements': TenantEntitlementsSelect<false> | TenantEntitlementsSelect<true>;
|
|
161
172
|
subscriptions: SubscriptionsSelect<false> | SubscriptionsSelect<true>;
|
|
162
173
|
'billing-history': BillingHistorySelect<false> | BillingHistorySelect<true>;
|
|
174
|
+
plans: PlansSelect<false> | PlansSelect<true>;
|
|
175
|
+
webhooks: WebhooksSelect<false> | WebhooksSelect<true>;
|
|
163
176
|
'tenant-logos': TenantLogosSelect<false> | TenantLogosSelect<true>;
|
|
164
177
|
products: ProductsSelect<false> | ProductsSelect<true>;
|
|
165
178
|
'product-variants': ProductVariantsSelect<false> | ProductVariantsSelect<true>;
|
|
@@ -185,6 +198,7 @@ interface Config {
|
|
|
185
198
|
carts: CartsSelect<false> | CartsSelect<true>;
|
|
186
199
|
'cart-items': CartItemsSelect<false> | CartItemsSelect<true>;
|
|
187
200
|
discounts: DiscountsSelect<false> | DiscountsSelect<true>;
|
|
201
|
+
promotions: PromotionsSelect<false> | PromotionsSelect<true>;
|
|
188
202
|
posts: PostsSelect<false> | PostsSelect<true>;
|
|
189
203
|
'post-authors': PostAuthorsSelect<false> | PostAuthorsSelect<true>;
|
|
190
204
|
'post-categories': PostCategoriesSelect<false> | PostCategoriesSelect<true>;
|
|
@@ -211,6 +225,8 @@ interface Config {
|
|
|
211
225
|
'canvas-edge-types': CanvasEdgeTypesSelect<false> | CanvasEdgeTypesSelect<true>;
|
|
212
226
|
'canvas-categories': CanvasCategoriesSelect<false> | CanvasCategoriesSelect<true>;
|
|
213
227
|
'canvas-tags': CanvasTagsSelect<false> | CanvasTagsSelect<true>;
|
|
228
|
+
'canvas-nodes': CanvasNodesSelect<false> | CanvasNodesSelect<true>;
|
|
229
|
+
'canvas-edges': CanvasEdgesSelect<false> | CanvasEdgesSelect<true>;
|
|
214
230
|
videos: VideosSelect<false> | VideosSelect<true>;
|
|
215
231
|
'video-categories': VideoCategoriesSelect<false> | VideoCategoriesSelect<true>;
|
|
216
232
|
'video-tags': VideoTagsSelect<false> | VideoTagsSelect<true>;
|
|
@@ -386,7 +402,7 @@ interface Tenant {
|
|
|
386
402
|
*/
|
|
387
403
|
owner: string | User;
|
|
388
404
|
/**
|
|
389
|
-
*
|
|
405
|
+
* Features available to this tenant. Determined automatically by the plan.
|
|
390
406
|
*/
|
|
391
407
|
features?: {
|
|
392
408
|
feature: 'ecommerce' | 'customers' | 'playlists' | 'galleries' | 'links' | 'forms' | 'posts' | 'documents' | 'canvas' | 'videos' | 'live-streaming' | 'community';
|
|
@@ -403,11 +419,11 @@ interface Tenant {
|
|
|
403
419
|
isDevMode?: boolean | null;
|
|
404
420
|
status?: ('active' | 'paused' | 'past_due' | 'canceled' | 'pending_deletion') | null;
|
|
405
421
|
/**
|
|
406
|
-
*
|
|
422
|
+
* A public key that is safe to include in browser code. (Starts with pk01_)
|
|
407
423
|
*/
|
|
408
424
|
publishableKey: string;
|
|
409
425
|
/**
|
|
410
|
-
*
|
|
426
|
+
* Domains allowed to call this tenant’s API from a browser. Leave empty to allow every domain.
|
|
411
427
|
*/
|
|
412
428
|
cors?: {
|
|
413
429
|
origin: string;
|
|
@@ -422,7 +438,7 @@ interface Tenant {
|
|
|
422
438
|
*/
|
|
423
439
|
name?: string | null;
|
|
424
440
|
/**
|
|
425
|
-
*
|
|
441
|
+
* Choose what this webhook should receive. Leave empty to receive every change notification.
|
|
426
442
|
*/
|
|
427
443
|
purpose?: ('events' | 'verification' | 'password-reset') | null;
|
|
428
444
|
/**
|
|
@@ -430,7 +446,7 @@ interface Tenant {
|
|
|
430
446
|
*/
|
|
431
447
|
url: string;
|
|
432
448
|
/**
|
|
433
|
-
*
|
|
449
|
+
* Used to verify that webhook payloads really came from us. We sign every payload with this secret.
|
|
434
450
|
*/
|
|
435
451
|
secret?: string | null;
|
|
436
452
|
isEnabled?: boolean | null;
|
|
@@ -447,23 +463,24 @@ interface Tenant {
|
|
|
447
463
|
webAnalytics: {
|
|
448
464
|
enabled?: boolean | null;
|
|
449
465
|
/**
|
|
450
|
-
*
|
|
466
|
+
* Domains allowed to send analytics events. If empty, browser analytics is blocked.
|
|
451
467
|
*/
|
|
452
468
|
allowedOrigins?: {
|
|
453
469
|
origin: string;
|
|
454
470
|
id?: string | null;
|
|
455
471
|
}[] | null;
|
|
456
472
|
/**
|
|
457
|
-
* Timezone
|
|
473
|
+
* Timezone used to group daily analytics. Once data starts coming in, this is locked and cannot be changed.
|
|
458
474
|
*/
|
|
459
475
|
timezone: string;
|
|
460
476
|
/**
|
|
461
|
-
* Automatically
|
|
477
|
+
* Automatically locked once the first analytics record is saved. Contact support to unlock.
|
|
462
478
|
*/
|
|
463
479
|
tzLocked?: boolean | null;
|
|
464
480
|
};
|
|
465
481
|
updatedAt: string;
|
|
466
482
|
createdAt: string;
|
|
483
|
+
deletedAt?: string | null;
|
|
467
484
|
}
|
|
468
485
|
/**
|
|
469
486
|
* This interface was referenced by `Config`'s JSON-Schema
|
|
@@ -493,6 +510,7 @@ interface Image {
|
|
|
493
510
|
prefix?: string | null;
|
|
494
511
|
updatedAt: string;
|
|
495
512
|
createdAt: string;
|
|
513
|
+
deletedAt?: string | null;
|
|
496
514
|
url?: string | null;
|
|
497
515
|
thumbnailURL?: string | null;
|
|
498
516
|
filename?: string | null;
|
|
@@ -559,6 +577,7 @@ interface FieldConfig {
|
|
|
559
577
|
} | unknown[] | string | number | boolean | null;
|
|
560
578
|
updatedAt: string;
|
|
561
579
|
createdAt: string;
|
|
580
|
+
deletedAt?: string | null;
|
|
562
581
|
}
|
|
563
582
|
/**
|
|
564
583
|
* This interface was referenced by `Config`'s JSON-Schema
|
|
@@ -575,6 +594,7 @@ interface SystemMedia {
|
|
|
575
594
|
prefix?: string | null;
|
|
576
595
|
updatedAt: string;
|
|
577
596
|
createdAt: string;
|
|
597
|
+
deletedAt?: string | null;
|
|
578
598
|
url?: string | null;
|
|
579
599
|
thumbnailURL?: string | null;
|
|
580
600
|
filename?: string | null;
|
|
@@ -605,6 +625,7 @@ interface Audience {
|
|
|
605
625
|
resendContactId?: string | null;
|
|
606
626
|
updatedAt: string;
|
|
607
627
|
createdAt: string;
|
|
628
|
+
deletedAt?: string | null;
|
|
608
629
|
}
|
|
609
630
|
/**
|
|
610
631
|
* This interface was referenced by `Config`'s JSON-Schema
|
|
@@ -652,11 +673,9 @@ interface ApiKey {
|
|
|
652
673
|
displayPrefix: string;
|
|
653
674
|
displaySuffix: string;
|
|
654
675
|
/**
|
|
655
|
-
*
|
|
676
|
+
* Capability scopes. Default is read+write; webhook dispatch requires webhook, analytics writes require analytics.
|
|
656
677
|
*/
|
|
657
|
-
scopes?:
|
|
658
|
-
[k: string]: unknown;
|
|
659
|
-
} | unknown[] | string | number | boolean | null;
|
|
678
|
+
scopes?: ('read' | 'write' | 'webhook' | 'analytics' | 'super-admin')[] | null;
|
|
660
679
|
createdBy?: (string | null) | User;
|
|
661
680
|
createdByIp?: string | null;
|
|
662
681
|
lastUsedAt?: string | null;
|
|
@@ -669,6 +688,7 @@ interface ApiKey {
|
|
|
669
688
|
expiresAt?: string | null;
|
|
670
689
|
updatedAt: string;
|
|
671
690
|
createdAt: string;
|
|
691
|
+
deletedAt?: string | null;
|
|
672
692
|
}
|
|
673
693
|
/**
|
|
674
694
|
* This interface was referenced by `Config`'s JSON-Schema
|
|
@@ -699,6 +719,67 @@ interface PersonalAccessToken {
|
|
|
699
719
|
expiresAt?: string | null;
|
|
700
720
|
updatedAt: string;
|
|
701
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;
|
|
702
783
|
}
|
|
703
784
|
/**
|
|
704
785
|
* This interface was referenced by `Config`'s JSON-Schema
|
|
@@ -866,6 +947,7 @@ interface TenantMetadatum {
|
|
|
866
947
|
};
|
|
867
948
|
updatedAt: string;
|
|
868
949
|
createdAt: string;
|
|
950
|
+
deletedAt?: string | null;
|
|
869
951
|
}
|
|
870
952
|
/**
|
|
871
953
|
* This interface was referenced by `Config`'s JSON-Schema
|
|
@@ -895,6 +977,7 @@ interface BrandLogo {
|
|
|
895
977
|
prefix?: string | null;
|
|
896
978
|
updatedAt: string;
|
|
897
979
|
createdAt: string;
|
|
980
|
+
deletedAt?: string | null;
|
|
898
981
|
url?: string | null;
|
|
899
982
|
thumbnailURL?: string | null;
|
|
900
983
|
filename?: string | null;
|
|
@@ -976,6 +1059,7 @@ interface TenantAuthSetting {
|
|
|
976
1059
|
requiresEmailVerification?: boolean | null;
|
|
977
1060
|
updatedAt: string;
|
|
978
1061
|
createdAt: string;
|
|
1062
|
+
deletedAt?: string | null;
|
|
979
1063
|
}
|
|
980
1064
|
/**
|
|
981
1065
|
* This interface was referenced by `Config`'s JSON-Schema
|
|
@@ -990,6 +1074,7 @@ interface TenantCommunitySetting {
|
|
|
990
1074
|
requiresPostApproval?: boolean | null;
|
|
991
1075
|
updatedAt: string;
|
|
992
1076
|
createdAt: string;
|
|
1077
|
+
deletedAt?: string | null;
|
|
993
1078
|
}
|
|
994
1079
|
/**
|
|
995
1080
|
* This interface was referenced by `Config`'s JSON-Schema
|
|
@@ -1134,7 +1219,7 @@ interface AnalyticsEventSchema {
|
|
|
1134
1219
|
key: string;
|
|
1135
1220
|
type: 'enum' | 'boolean';
|
|
1136
1221
|
/**
|
|
1137
|
-
* Comma-separated. Required when type=enum. Boolean auto-derives {true,false}. Max 20
|
|
1222
|
+
* Comma-separated values. Required when type=enum, optional otherwise. Boolean auto-derives {true,false}. Max 20 per key.
|
|
1138
1223
|
*/
|
|
1139
1224
|
allowedValues?: string | null;
|
|
1140
1225
|
description?: string | null;
|
|
@@ -1144,6 +1229,7 @@ interface AnalyticsEventSchema {
|
|
|
1144
1229
|
updatedBy?: (string | null) | User;
|
|
1145
1230
|
updatedAt: string;
|
|
1146
1231
|
createdAt: string;
|
|
1232
|
+
deletedAt?: string | null;
|
|
1147
1233
|
}
|
|
1148
1234
|
/**
|
|
1149
1235
|
* This interface was referenced by `Config`'s JSON-Schema
|
|
@@ -1158,6 +1244,9 @@ interface TenantEntitlement {
|
|
|
1158
1244
|
sourceSubscription?: (string | null) | Subscription;
|
|
1159
1245
|
priority: number;
|
|
1160
1246
|
startsAt: string;
|
|
1247
|
+
/**
|
|
1248
|
+
* Entitlement end date. Required for promo / trial / legacy_migration sources, optional otherwise.
|
|
1249
|
+
*/
|
|
1161
1250
|
endsAt?: string | null;
|
|
1162
1251
|
reason?: string | null;
|
|
1163
1252
|
grantedBy?: (string | null) | User;
|
|
@@ -1165,6 +1254,7 @@ interface TenantEntitlement {
|
|
|
1165
1254
|
revokedBy?: (string | null) | User;
|
|
1166
1255
|
updatedAt: string;
|
|
1167
1256
|
createdAt: string;
|
|
1257
|
+
deletedAt?: string | null;
|
|
1168
1258
|
}
|
|
1169
1259
|
/**
|
|
1170
1260
|
* This interface was referenced by `Config`'s JSON-Schema
|
|
@@ -1226,6 +1316,7 @@ interface Subscription {
|
|
|
1226
1316
|
};
|
|
1227
1317
|
updatedAt: string;
|
|
1228
1318
|
createdAt: string;
|
|
1319
|
+
deletedAt?: string | null;
|
|
1229
1320
|
}
|
|
1230
1321
|
/**
|
|
1231
1322
|
* This interface was referenced by `Config`'s JSON-Schema
|
|
@@ -1272,6 +1363,67 @@ interface BillingHistory {
|
|
|
1272
1363
|
retryOf?: (string | null) | BillingHistory;
|
|
1273
1364
|
updatedAt: string;
|
|
1274
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
|
|
1380
|
+
*/
|
|
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;
|
|
1386
|
+
/**
|
|
1387
|
+
* Quota limits (storageBytes, apiPerMonth, ...)
|
|
1388
|
+
*/
|
|
1389
|
+
quotas?: {
|
|
1390
|
+
[k: string]: unknown;
|
|
1391
|
+
} | unknown[] | string | number | boolean | null;
|
|
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;
|
|
1403
|
+
/**
|
|
1404
|
+
* Webhook name
|
|
1405
|
+
*/
|
|
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;
|
|
1424
|
+
updatedAt: string;
|
|
1425
|
+
createdAt: string;
|
|
1426
|
+
deletedAt?: string | null;
|
|
1275
1427
|
}
|
|
1276
1428
|
/**
|
|
1277
1429
|
* This interface was referenced by `Config`'s JSON-Schema
|
|
@@ -1301,6 +1453,7 @@ interface TenantLogo {
|
|
|
1301
1453
|
prefix?: string | null;
|
|
1302
1454
|
updatedAt: string;
|
|
1303
1455
|
createdAt: string;
|
|
1456
|
+
deletedAt?: string | null;
|
|
1304
1457
|
url?: string | null;
|
|
1305
1458
|
thumbnailURL?: string | null;
|
|
1306
1459
|
filename?: string | null;
|
|
@@ -2117,7 +2270,7 @@ interface Order {
|
|
|
2117
2270
|
tenant?: (string | null) | Tenant;
|
|
2118
2271
|
orderNumber: string;
|
|
2119
2272
|
cartToken?: string | null;
|
|
2120
|
-
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';
|
|
2121
2274
|
totalAmount?: number | null;
|
|
2122
2275
|
discountCode?: string | null;
|
|
2123
2276
|
discountAmount?: number | null;
|
|
@@ -2194,6 +2347,9 @@ interface Order {
|
|
|
2194
2347
|
metadata?: {
|
|
2195
2348
|
[k: string]: unknown;
|
|
2196
2349
|
} | unknown[] | string | number | boolean | null;
|
|
2350
|
+
nextRefundSeq?: number | null;
|
|
2351
|
+
nextCaptureSeq?: number | null;
|
|
2352
|
+
nextVoidSeq?: number | null;
|
|
2197
2353
|
updatedAt: string;
|
|
2198
2354
|
createdAt: string;
|
|
2199
2355
|
deletedAt?: string | null;
|
|
@@ -2280,6 +2436,14 @@ interface Customer {
|
|
|
2280
2436
|
lockedUntil?: string | null;
|
|
2281
2437
|
authProvider?: ('local' | 'google' | 'apple' | 'kakao' | 'naver') | null;
|
|
2282
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;
|
|
2283
2447
|
isEmailVerified?: boolean | null;
|
|
2284
2448
|
lastLoginAt?: string | null;
|
|
2285
2449
|
isMinor?: boolean | null;
|
|
@@ -2347,10 +2511,28 @@ interface CustomerAddress {
|
|
|
2347
2511
|
recipientName?: string | null;
|
|
2348
2512
|
phone?: string | null;
|
|
2349
2513
|
postalCode?: string | null;
|
|
2514
|
+
/**
|
|
2515
|
+
* Road-name address (returned by Daum/Naver postal code pickers)
|
|
2516
|
+
*/
|
|
2350
2517
|
address1?: string | null;
|
|
2518
|
+
/**
|
|
2519
|
+
* Detail address (unit / floor / building name)
|
|
2520
|
+
*/
|
|
2351
2521
|
address2?: string | null;
|
|
2352
2522
|
/**
|
|
2353
|
-
*
|
|
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).
|
|
2354
2536
|
*/
|
|
2355
2537
|
addressType?: ('road' | 'jibun') | null;
|
|
2356
2538
|
/**
|
|
@@ -2359,11 +2541,16 @@ interface CustomerAddress {
|
|
|
2359
2541
|
country?: string | null;
|
|
2360
2542
|
isDefault?: boolean | null;
|
|
2361
2543
|
/**
|
|
2362
|
-
*
|
|
2544
|
+
* Delivery request preset. Pick "Other" to switch to a free-form deliveryNote.
|
|
2363
2545
|
*/
|
|
2364
|
-
|
|
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.
|
|
2549
|
+
*/
|
|
2550
|
+
deliveryNote?: string | null;
|
|
2365
2551
|
updatedAt: string;
|
|
2366
2552
|
createdAt: string;
|
|
2553
|
+
deletedAt?: string | null;
|
|
2367
2554
|
}
|
|
2368
2555
|
/**
|
|
2369
2556
|
* This interface was referenced by `Config`'s JSON-Schema
|
|
@@ -2390,8 +2577,17 @@ interface OrderItem {
|
|
|
2390
2577
|
*/
|
|
2391
2578
|
totalPrice: number;
|
|
2392
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;
|
|
2393
2588
|
updatedAt: string;
|
|
2394
2589
|
createdAt: string;
|
|
2590
|
+
deletedAt?: string | null;
|
|
2395
2591
|
}
|
|
2396
2592
|
/**
|
|
2397
2593
|
* This interface was referenced by `Config`'s JSON-Schema
|
|
@@ -2400,8 +2596,9 @@ interface OrderItem {
|
|
|
2400
2596
|
interface Transaction {
|
|
2401
2597
|
id: string;
|
|
2402
2598
|
tenant?: (string | null) | Tenant;
|
|
2599
|
+
_title?: string | null;
|
|
2403
2600
|
type: 'payment' | 'refund';
|
|
2404
|
-
status: 'pending' | 'paid' | 'failed' | 'canceled';
|
|
2601
|
+
status: 'pending' | 'paid' | 'failed' | 'canceled' | 'refunded';
|
|
2405
2602
|
order: string | Order;
|
|
2406
2603
|
amount?: number | null;
|
|
2407
2604
|
paymentMethod?: string | null;
|
|
@@ -2497,6 +2694,7 @@ interface FulfillmentItem {
|
|
|
2497
2694
|
quantity: number;
|
|
2498
2695
|
updatedAt: string;
|
|
2499
2696
|
createdAt: string;
|
|
2697
|
+
deletedAt?: string | null;
|
|
2500
2698
|
}
|
|
2501
2699
|
/**
|
|
2502
2700
|
* This interface was referenced by `Config`'s JSON-Schema
|
|
@@ -2558,6 +2756,7 @@ interface ReturnItem {
|
|
|
2558
2756
|
productTitle?: string | null;
|
|
2559
2757
|
updatedAt: string;
|
|
2560
2758
|
createdAt: string;
|
|
2759
|
+
deletedAt?: string | null;
|
|
2561
2760
|
}
|
|
2562
2761
|
/**
|
|
2563
2762
|
* This interface was referenced by `Config`'s JSON-Schema
|
|
@@ -2567,8 +2766,8 @@ interface OrderStatusLog {
|
|
|
2567
2766
|
id: string;
|
|
2568
2767
|
tenant?: (string | null) | Tenant;
|
|
2569
2768
|
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';
|
|
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';
|
|
2572
2771
|
/**
|
|
2573
2772
|
* 'user:{id}' | 'api:updateOrder' | 'system:transaction:{paymentId}' | 'system:fulfillment:{id}' | 'system:return:{id}'
|
|
2574
2773
|
*/
|
|
@@ -2579,6 +2778,7 @@ interface OrderStatusLog {
|
|
|
2579
2778
|
} | unknown[] | string | number | boolean | null;
|
|
2580
2779
|
updatedAt: string;
|
|
2581
2780
|
createdAt: string;
|
|
2781
|
+
deletedAt?: string | null;
|
|
2582
2782
|
}
|
|
2583
2783
|
/**
|
|
2584
2784
|
* This interface was referenced by `Config`'s JSON-Schema
|
|
@@ -2679,7 +2879,7 @@ interface Discount {
|
|
|
2679
2879
|
*/
|
|
2680
2880
|
internalNote?: string | null;
|
|
2681
2881
|
/**
|
|
2682
|
-
* Discount rate (%) or fixed amount
|
|
2882
|
+
* Discount rate (%) or fixed amount. Required when discount type is percentage or fixed_amount.
|
|
2683
2883
|
*/
|
|
2684
2884
|
discountValue?: number | null;
|
|
2685
2885
|
/**
|
|
@@ -2747,6 +2947,29 @@ interface Discount {
|
|
|
2747
2947
|
createdAt: string;
|
|
2748
2948
|
deletedAt?: string | null;
|
|
2749
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
|
+
}
|
|
2750
2973
|
/**
|
|
2751
2974
|
* This interface was referenced by `Config`'s JSON-Schema
|
|
2752
2975
|
* via the `definition` "posts".
|
|
@@ -3340,6 +3563,7 @@ interface TrackAsset {
|
|
|
3340
3563
|
prefix?: string | null;
|
|
3341
3564
|
updatedAt: string;
|
|
3342
3565
|
createdAt: string;
|
|
3566
|
+
deletedAt?: string | null;
|
|
3343
3567
|
url?: string | null;
|
|
3344
3568
|
thumbnailURL?: string | null;
|
|
3345
3569
|
filename?: string | null;
|
|
@@ -3830,6 +4054,64 @@ interface CanvasEdgeType {
|
|
|
3830
4054
|
createdAt: string;
|
|
3831
4055
|
deletedAt?: string | null;
|
|
3832
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
|
+
}
|
|
3833
4115
|
/**
|
|
3834
4116
|
* This interface was referenced by `Config`'s JSON-Schema
|
|
3835
4117
|
* via the `definition` "threads".
|
|
@@ -4284,6 +4566,15 @@ interface PayloadLockedDocument {
|
|
|
4284
4566
|
} | null) | ({
|
|
4285
4567
|
relationTo: 'personal-access-tokens';
|
|
4286
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;
|
|
4287
4578
|
} | null) | ({
|
|
4288
4579
|
relationTo: 'tenants';
|
|
4289
4580
|
value: string | Tenant;
|
|
@@ -4314,6 +4605,12 @@ interface PayloadLockedDocument {
|
|
|
4314
4605
|
} | null) | ({
|
|
4315
4606
|
relationTo: 'billing-history';
|
|
4316
4607
|
value: string | BillingHistory;
|
|
4608
|
+
} | null) | ({
|
|
4609
|
+
relationTo: 'plans';
|
|
4610
|
+
value: string | Plan;
|
|
4611
|
+
} | null) | ({
|
|
4612
|
+
relationTo: 'webhooks';
|
|
4613
|
+
value: string | Webhook;
|
|
4317
4614
|
} | null) | ({
|
|
4318
4615
|
relationTo: 'tenant-logos';
|
|
4319
4616
|
value: string | TenantLogo;
|
|
@@ -4389,6 +4686,9 @@ interface PayloadLockedDocument {
|
|
|
4389
4686
|
} | null) | ({
|
|
4390
4687
|
relationTo: 'discounts';
|
|
4391
4688
|
value: string | Discount;
|
|
4689
|
+
} | null) | ({
|
|
4690
|
+
relationTo: 'promotions';
|
|
4691
|
+
value: string | Promotion;
|
|
4392
4692
|
} | null) | ({
|
|
4393
4693
|
relationTo: 'posts';
|
|
4394
4694
|
value: string | Post;
|
|
@@ -4467,6 +4767,12 @@ interface PayloadLockedDocument {
|
|
|
4467
4767
|
} | null) | ({
|
|
4468
4768
|
relationTo: 'canvas-tags';
|
|
4469
4769
|
value: string | CanvasTag;
|
|
4770
|
+
} | null) | ({
|
|
4771
|
+
relationTo: 'canvas-nodes';
|
|
4772
|
+
value: string | CanvasNode;
|
|
4773
|
+
} | null) | ({
|
|
4774
|
+
relationTo: 'canvas-edges';
|
|
4775
|
+
value: string | CanvasEdge;
|
|
4470
4776
|
} | null) | ({
|
|
4471
4777
|
relationTo: 'videos';
|
|
4472
4778
|
value: string | Video;
|
|
@@ -4610,6 +4916,7 @@ interface FieldConfigsSelect<T extends boolean = true> {
|
|
|
4610
4916
|
hiddenFields?: T;
|
|
4611
4917
|
updatedAt?: T;
|
|
4612
4918
|
createdAt?: T;
|
|
4919
|
+
deletedAt?: T;
|
|
4613
4920
|
}
|
|
4614
4921
|
/**
|
|
4615
4922
|
* This interface was referenced by `Config`'s JSON-Schema
|
|
@@ -4632,6 +4939,7 @@ interface ImagesSelect<T extends boolean = true> {
|
|
|
4632
4939
|
prefix?: T;
|
|
4633
4940
|
updatedAt?: T;
|
|
4634
4941
|
createdAt?: T;
|
|
4942
|
+
deletedAt?: T;
|
|
4635
4943
|
url?: T;
|
|
4636
4944
|
thumbnailURL?: T;
|
|
4637
4945
|
filename?: T;
|
|
@@ -4695,6 +5003,7 @@ interface SystemMediaSelect<T extends boolean = true> {
|
|
|
4695
5003
|
prefix?: T;
|
|
4696
5004
|
updatedAt?: T;
|
|
4697
5005
|
createdAt?: T;
|
|
5006
|
+
deletedAt?: T;
|
|
4698
5007
|
url?: T;
|
|
4699
5008
|
thumbnailURL?: T;
|
|
4700
5009
|
filename?: T;
|
|
@@ -4721,6 +5030,7 @@ interface AudiencesSelect<T extends boolean = true> {
|
|
|
4721
5030
|
resendContactId?: T;
|
|
4722
5031
|
updatedAt?: T;
|
|
4723
5032
|
createdAt?: T;
|
|
5033
|
+
deletedAt?: T;
|
|
4724
5034
|
}
|
|
4725
5035
|
/**
|
|
4726
5036
|
* This interface was referenced by `Config`'s JSON-Schema
|
|
@@ -4763,6 +5073,7 @@ interface ApiKeysSelect<T extends boolean = true> {
|
|
|
4763
5073
|
expiresAt?: T;
|
|
4764
5074
|
updatedAt?: T;
|
|
4765
5075
|
createdAt?: T;
|
|
5076
|
+
deletedAt?: T;
|
|
4766
5077
|
}
|
|
4767
5078
|
/**
|
|
4768
5079
|
* This interface was referenced by `Config`'s JSON-Schema
|
|
@@ -4783,6 +5094,45 @@ interface PersonalAccessTokensSelect<T extends boolean = true> {
|
|
|
4783
5094
|
expiresAt?: T;
|
|
4784
5095
|
updatedAt?: T;
|
|
4785
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;
|
|
4786
5136
|
}
|
|
4787
5137
|
/**
|
|
4788
5138
|
* This interface was referenced by `Config`'s JSON-Schema
|
|
@@ -4825,6 +5175,7 @@ interface TenantsSelect<T extends boolean = true> {
|
|
|
4825
5175
|
};
|
|
4826
5176
|
updatedAt?: T;
|
|
4827
5177
|
createdAt?: T;
|
|
5178
|
+
deletedAt?: T;
|
|
4828
5179
|
}
|
|
4829
5180
|
/**
|
|
4830
5181
|
* This interface was referenced by `Config`'s JSON-Schema
|
|
@@ -4889,6 +5240,7 @@ interface TenantMetadataSelect<T extends boolean = true> {
|
|
|
4889
5240
|
};
|
|
4890
5241
|
updatedAt?: T;
|
|
4891
5242
|
createdAt?: T;
|
|
5243
|
+
deletedAt?: T;
|
|
4892
5244
|
}
|
|
4893
5245
|
/**
|
|
4894
5246
|
* This interface was referenced by `Config`'s JSON-Schema
|
|
@@ -4899,6 +5251,7 @@ interface TenantAuthSettingsSelect<T extends boolean = true> {
|
|
|
4899
5251
|
requiresEmailVerification?: T;
|
|
4900
5252
|
updatedAt?: T;
|
|
4901
5253
|
createdAt?: T;
|
|
5254
|
+
deletedAt?: T;
|
|
4902
5255
|
}
|
|
4903
5256
|
/**
|
|
4904
5257
|
* This interface was referenced by `Config`'s JSON-Schema
|
|
@@ -4909,6 +5262,7 @@ interface TenantCommunitySettingsSelect<T extends boolean = true> {
|
|
|
4909
5262
|
requiresPostApproval?: T;
|
|
4910
5263
|
updatedAt?: T;
|
|
4911
5264
|
createdAt?: T;
|
|
5265
|
+
deletedAt?: T;
|
|
4912
5266
|
}
|
|
4913
5267
|
/**
|
|
4914
5268
|
* This interface was referenced by `Config`'s JSON-Schema
|
|
@@ -5012,6 +5366,7 @@ interface AnalyticsEventSchemasSelect<T extends boolean = true> {
|
|
|
5012
5366
|
updatedBy?: T;
|
|
5013
5367
|
updatedAt?: T;
|
|
5014
5368
|
createdAt?: T;
|
|
5369
|
+
deletedAt?: T;
|
|
5015
5370
|
}
|
|
5016
5371
|
/**
|
|
5017
5372
|
* This interface was referenced by `Config`'s JSON-Schema
|
|
@@ -5032,6 +5387,7 @@ interface TenantEntitlementsSelect<T extends boolean = true> {
|
|
|
5032
5387
|
revokedBy?: T;
|
|
5033
5388
|
updatedAt?: T;
|
|
5034
5389
|
createdAt?: T;
|
|
5390
|
+
deletedAt?: T;
|
|
5035
5391
|
}
|
|
5036
5392
|
/**
|
|
5037
5393
|
* This interface was referenced by `Config`'s JSON-Schema
|
|
@@ -5072,6 +5428,7 @@ interface SubscriptionsSelect<T extends boolean = true> {
|
|
|
5072
5428
|
};
|
|
5073
5429
|
updatedAt?: T;
|
|
5074
5430
|
createdAt?: T;
|
|
5431
|
+
deletedAt?: T;
|
|
5075
5432
|
}
|
|
5076
5433
|
/**
|
|
5077
5434
|
* This interface was referenced by `Config`'s JSON-Schema
|
|
@@ -5097,6 +5454,39 @@ interface BillingHistorySelect<T extends boolean = true> {
|
|
|
5097
5454
|
retryOf?: T;
|
|
5098
5455
|
updatedAt?: T;
|
|
5099
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;
|
|
5100
5490
|
}
|
|
5101
5491
|
/**
|
|
5102
5492
|
* This interface was referenced by `Config`'s JSON-Schema
|
|
@@ -5119,6 +5509,7 @@ interface TenantLogosSelect<T extends boolean = true> {
|
|
|
5119
5509
|
prefix?: T;
|
|
5120
5510
|
updatedAt?: T;
|
|
5121
5511
|
createdAt?: T;
|
|
5512
|
+
deletedAt?: T;
|
|
5122
5513
|
url?: T;
|
|
5123
5514
|
thumbnailURL?: T;
|
|
5124
5515
|
filename?: T;
|
|
@@ -5436,6 +5827,7 @@ interface BrandLogosSelect<T extends boolean = true> {
|
|
|
5436
5827
|
prefix?: T;
|
|
5437
5828
|
updatedAt?: T;
|
|
5438
5829
|
createdAt?: T;
|
|
5830
|
+
deletedAt?: T;
|
|
5439
5831
|
url?: T;
|
|
5440
5832
|
thumbnailURL?: T;
|
|
5441
5833
|
filename?: T;
|
|
@@ -5553,6 +5945,9 @@ interface OrdersSelect<T extends boolean = true> {
|
|
|
5553
5945
|
fulfillments?: T;
|
|
5554
5946
|
returns?: T;
|
|
5555
5947
|
metadata?: T;
|
|
5948
|
+
nextRefundSeq?: T;
|
|
5949
|
+
nextCaptureSeq?: T;
|
|
5950
|
+
nextVoidSeq?: T;
|
|
5556
5951
|
updatedAt?: T;
|
|
5557
5952
|
createdAt?: T;
|
|
5558
5953
|
deletedAt?: T;
|
|
@@ -5575,8 +5970,11 @@ interface OrderItemsSelect<T extends boolean = true> {
|
|
|
5575
5970
|
requiresShipping?: T;
|
|
5576
5971
|
totalPrice?: T;
|
|
5577
5972
|
productTitle?: T;
|
|
5973
|
+
taxRate?: T;
|
|
5974
|
+
currency?: T;
|
|
5578
5975
|
updatedAt?: T;
|
|
5579
5976
|
createdAt?: T;
|
|
5977
|
+
deletedAt?: T;
|
|
5580
5978
|
}
|
|
5581
5979
|
/**
|
|
5582
5980
|
* This interface was referenced by `Config`'s JSON-Schema
|
|
@@ -5584,6 +5982,7 @@ interface OrderItemsSelect<T extends boolean = true> {
|
|
|
5584
5982
|
*/
|
|
5585
5983
|
interface TransactionsSelect<T extends boolean = true> {
|
|
5586
5984
|
tenant?: T;
|
|
5985
|
+
_title?: T;
|
|
5587
5986
|
type?: T;
|
|
5588
5987
|
status?: T;
|
|
5589
5988
|
order?: T;
|
|
@@ -5632,6 +6031,7 @@ interface OrderStatusLogsSelect<T extends boolean = true> {
|
|
|
5632
6031
|
metadata?: T;
|
|
5633
6032
|
updatedAt?: T;
|
|
5634
6033
|
createdAt?: T;
|
|
6034
|
+
deletedAt?: T;
|
|
5635
6035
|
}
|
|
5636
6036
|
/**
|
|
5637
6037
|
* This interface was referenced by `Config`'s JSON-Schema
|
|
@@ -5665,6 +6065,7 @@ interface FulfillmentItemsSelect<T extends boolean = true> {
|
|
|
5665
6065
|
quantity?: T;
|
|
5666
6066
|
updatedAt?: T;
|
|
5667
6067
|
createdAt?: T;
|
|
6068
|
+
deletedAt?: T;
|
|
5668
6069
|
}
|
|
5669
6070
|
/**
|
|
5670
6071
|
* This interface was referenced by `Config`'s JSON-Schema
|
|
@@ -5706,6 +6107,7 @@ interface ReturnItemsSelect<T extends boolean = true> {
|
|
|
5706
6107
|
productTitle?: T;
|
|
5707
6108
|
updatedAt?: T;
|
|
5708
6109
|
createdAt?: T;
|
|
6110
|
+
deletedAt?: T;
|
|
5709
6111
|
}
|
|
5710
6112
|
/**
|
|
5711
6113
|
* This interface was referenced by `Config`'s JSON-Schema
|
|
@@ -5788,6 +6190,8 @@ interface CustomersSelect<T extends boolean = true> {
|
|
|
5788
6190
|
lockedUntil?: T;
|
|
5789
6191
|
authProvider?: T;
|
|
5790
6192
|
isGuest?: T;
|
|
6193
|
+
isSuspended?: T;
|
|
6194
|
+
passwordChangedAt?: T;
|
|
5791
6195
|
isEmailVerified?: T;
|
|
5792
6196
|
lastLoginAt?: T;
|
|
5793
6197
|
isMinor?: T;
|
|
@@ -5820,12 +6224,17 @@ interface CustomerAddressesSelect<T extends boolean = true> {
|
|
|
5820
6224
|
postalCode?: T;
|
|
5821
6225
|
address1?: T;
|
|
5822
6226
|
address2?: T;
|
|
6227
|
+
jibunAddress?: T;
|
|
6228
|
+
city?: T;
|
|
6229
|
+
administrativeArea?: T;
|
|
5823
6230
|
addressType?: T;
|
|
5824
6231
|
country?: T;
|
|
5825
6232
|
isDefault?: T;
|
|
5826
|
-
|
|
6233
|
+
deliveryRequest?: T;
|
|
6234
|
+
deliveryNote?: T;
|
|
5827
6235
|
updatedAt?: T;
|
|
5828
6236
|
createdAt?: T;
|
|
6237
|
+
deletedAt?: T;
|
|
5829
6238
|
}
|
|
5830
6239
|
/**
|
|
5831
6240
|
* This interface was referenced by `Config`'s JSON-Schema
|
|
@@ -5941,6 +6350,22 @@ interface DiscountsSelect<T extends boolean = true> {
|
|
|
5941
6350
|
createdAt?: T;
|
|
5942
6351
|
deletedAt?: T;
|
|
5943
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
|
+
}
|
|
5944
6369
|
/**
|
|
5945
6370
|
* This interface was referenced by `Config`'s JSON-Schema
|
|
5946
6371
|
* via the `definition` "posts_select".
|
|
@@ -6246,6 +6671,7 @@ interface TrackAssetsSelect<T extends boolean = true> {
|
|
|
6246
6671
|
prefix?: T;
|
|
6247
6672
|
updatedAt?: T;
|
|
6248
6673
|
createdAt?: T;
|
|
6674
|
+
deletedAt?: T;
|
|
6249
6675
|
url?: T;
|
|
6250
6676
|
thumbnailURL?: T;
|
|
6251
6677
|
filename?: T;
|
|
@@ -6591,6 +7017,35 @@ interface CanvasTagsSelect<T extends boolean = true> {
|
|
|
6591
7017
|
createdAt?: T;
|
|
6592
7018
|
deletedAt?: T;
|
|
6593
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
|
+
}
|
|
6594
7049
|
/**
|
|
6595
7050
|
* This interface was referenced by `Config`'s JSON-Schema
|
|
6596
7051
|
* via the `definition` "videos_select".
|