@01.software/sdk 0.51.0 → 0.65.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.
Files changed (67) hide show
  1. package/CHANGELOG.md +313 -0
  2. package/README.md +228 -102
  3. package/dist/client.cjs +556 -60
  4. package/dist/client.cjs.map +1 -1
  5. package/dist/client.d.cts +6 -6
  6. package/dist/client.d.ts +6 -6
  7. package/dist/client.js +556 -60
  8. package/dist/client.js.map +1 -1
  9. package/dist/{collection-client-CWAeuzV4.d.cts → collection-client-B7rsTtVj.d.cts} +6 -6
  10. package/dist/{collection-client-hYvVfHIm.d.ts → collection-client-C2sMvfme.d.ts} +6 -6
  11. package/dist/{const-JD8obaKg.d.ts → const-CRxPTDGt.d.ts} +2 -2
  12. package/dist/{const-D8LixhAJ.d.cts → const-D6ZRQLxI.d.cts} +2 -2
  13. package/dist/{index-B0Hjh3Ey.d.ts → index-1auUEYrl.d.ts} +24 -7
  14. package/dist/{index-Bu0kCc6o.d.cts → index-Bbpf5t-l.d.cts} +24 -7
  15. package/dist/index.cjs +573 -260
  16. package/dist/index.cjs.map +1 -1
  17. package/dist/index.d.cts +19 -12
  18. package/dist/index.d.ts +19 -12
  19. package/dist/index.js +573 -260
  20. package/dist/index.js.map +1 -1
  21. package/dist/{payload-types-BOsckg8B.d.cts → payload-types-BnIET0xU.d.cts} +567 -438
  22. package/dist/{payload-types-BOsckg8B.d.ts → payload-types-BnIET0xU.d.ts} +567 -438
  23. package/dist/query.cjs +62 -3
  24. package/dist/query.cjs.map +1 -1
  25. package/dist/query.d.cts +5 -5
  26. package/dist/query.d.ts +5 -5
  27. package/dist/query.js +62 -3
  28. package/dist/query.js.map +1 -1
  29. package/dist/realtime.d.cts +2 -2
  30. package/dist/realtime.d.ts +2 -2
  31. package/dist/server.cjs +557 -20
  32. package/dist/server.cjs.map +1 -1
  33. package/dist/server.d.cts +14 -8
  34. package/dist/server.d.ts +14 -8
  35. package/dist/server.js +557 -20
  36. package/dist/server.js.map +1 -1
  37. package/dist/{types-5ZlcAFuU.d.ts → types-D1y4TgQm.d.ts} +2 -2
  38. package/dist/{types-Bj8j7VHU.d.ts → types-DnRC3nLG.d.ts} +464 -16
  39. package/dist/{types-B14sEt1z.d.cts → types-Dp1oYpD3.d.cts} +2 -2
  40. package/dist/{types-CM5qiR2k.d.cts → types-Dzn0LD2N.d.cts} +464 -16
  41. package/dist/ui/form.d.cts +1 -1
  42. package/dist/ui/form.d.ts +1 -1
  43. package/dist/ui/video.cjs +4 -2
  44. package/dist/ui/video.cjs.map +1 -1
  45. package/dist/ui/video.d.cts +4 -2
  46. package/dist/ui/video.d.ts +4 -2
  47. package/dist/ui/video.js +4 -2
  48. package/dist/ui/video.js.map +1 -1
  49. package/dist/webhook.cjs +13 -2
  50. package/dist/webhook.cjs.map +1 -1
  51. package/dist/webhook.d.cts +5 -5
  52. package/dist/webhook.d.ts +5 -5
  53. package/dist/webhook.js +13 -2
  54. package/dist/webhook.js.map +1 -1
  55. package/package.json +9 -28
  56. package/dist/analytics/react.cjs +0 -344
  57. package/dist/analytics/react.cjs.map +0 -1
  58. package/dist/analytics/react.d.cts +0 -24
  59. package/dist/analytics/react.d.ts +0 -24
  60. package/dist/analytics/react.js +0 -319
  61. package/dist/analytics/react.js.map +0 -1
  62. package/dist/analytics.cjs +0 -238
  63. package/dist/analytics.cjs.map +0 -1
  64. package/dist/analytics.d.cts +0 -39
  65. package/dist/analytics.d.ts +0 -39
  66. package/dist/analytics.js +0 -215
  67. package/dist/analytics.js.map +0 -1
@@ -23,6 +23,7 @@ interface Config {
23
23
  'webhook-events': WebhookEvent;
24
24
  'webhook-deliveries': WebhookDelivery;
25
25
  'webhook-outbox-deliveries': WebhookOutboxDelivery;
26
+ projects: Project;
26
27
  tenants: Tenant;
27
28
  'tenant-metadata': TenantMetadatum;
28
29
  'tenant-entitlements': TenantEntitlement;
@@ -35,10 +36,8 @@ interface Config {
35
36
  webhooks: Webhook;
36
37
  'custom-field-definitions': CustomFieldDefinition;
37
38
  'tenant-logos': TenantLogo;
38
- 'tenant-web-analytics-config': TenantWebAnalyticsConfig;
39
- 'tenant-analytics-daily': TenantAnalyticsDaily;
40
- 'analytics-event-schemas': AnalyticsEventSchema;
41
39
  'api-usage': ApiUsage;
40
+ 'tenant-mcp-usage-daily': TenantMcpUsageDaily;
42
41
  products: Product;
43
42
  'product-variants': ProductVariant;
44
43
  'inventory-adjustments': InventoryAdjustment;
@@ -51,6 +50,7 @@ interface Config {
51
50
  brands: Brand;
52
51
  'brand-logos': BrandLogo;
53
52
  orders: Order;
53
+ 'order-saved-views': OrderSavedView;
54
54
  'order-tags': OrderTag;
55
55
  'order-items': OrderItem;
56
56
  transactions: Transaction;
@@ -91,12 +91,14 @@ interface Config {
91
91
  'tenant-commerce-config': TenantCommerceConfig;
92
92
  markets: Market;
93
93
  customers: Customer;
94
+ 'customer-consent-receipts': CustomerConsentReceipt;
94
95
  'customer-oauth-clients': CustomerOauthClient;
95
96
  'customer-profiles': CustomerProfile;
96
97
  'customer-profile-stats': CustomerProfileStat;
97
98
  'customer-profile-lists': CustomerProfileList;
98
99
  'customer-addresses': CustomerAddress;
99
100
  'customer-groups': CustomerGroup;
101
+ 'customer-group-grants': CustomerGroupGrant;
100
102
  carts: Cart;
101
103
  'cart-items': CartItem;
102
104
  'commerce-idempotency-records': CommerceIdempotencyRecord;
@@ -150,6 +152,8 @@ interface Config {
150
152
  events: Event;
151
153
  'event-admission-holds': EventAdmissionHold;
152
154
  'event-admission-types': EventAdmissionType;
155
+ 'event-ticket-purchases': EventTicketPurchase;
156
+ 'event-ticket-purchase-prices': EventTicketPurchasePrice;
153
157
  'event-categories': EventCategory;
154
158
  'event-tags': EventTag;
155
159
  'event-occurrences': EventOccurrence;
@@ -159,6 +163,7 @@ interface Config {
159
163
  'customer-payment-methods': CustomerPaymentMethod;
160
164
  'customer-memberships': CustomerMembership;
161
165
  'membership-charges': MembershipCharge;
166
+ 'membership-unapplied-paid-evidence': MembershipUnappliedPaidEvidence;
162
167
  'tenant-payment-credentials': TenantPaymentCredential;
163
168
  'commerce-payment-accounts': CommercePaymentAccount;
164
169
  'payment-provider-customer-aliases': PaymentProviderCustomerAlias;
@@ -238,6 +243,12 @@ interface Config {
238
243
  'membership-plans': {
239
244
  prices: 'membership-plan-prices';
240
245
  };
246
+ 'customer-memberships': {
247
+ unappliedPaidEvidence: 'membership-unapplied-paid-evidence';
248
+ };
249
+ 'membership-charges': {
250
+ unappliedPaidEvidence: 'membership-unapplied-paid-evidence';
251
+ };
241
252
  forms: {
242
253
  submissions: 'form-submissions';
243
254
  };
@@ -259,6 +270,7 @@ interface Config {
259
270
  'webhook-events': WebhookEventsSelect<false> | WebhookEventsSelect<true>;
260
271
  'webhook-deliveries': WebhookDeliveriesSelect<false> | WebhookDeliveriesSelect<true>;
261
272
  'webhook-outbox-deliveries': WebhookOutboxDeliveriesSelect<false> | WebhookOutboxDeliveriesSelect<true>;
273
+ projects: ProjectsSelect<false> | ProjectsSelect<true>;
262
274
  tenants: TenantsSelect<false> | TenantsSelect<true>;
263
275
  'tenant-metadata': TenantMetadataSelect<false> | TenantMetadataSelect<true>;
264
276
  'tenant-entitlements': TenantEntitlementsSelect<false> | TenantEntitlementsSelect<true>;
@@ -271,10 +283,8 @@ interface Config {
271
283
  webhooks: WebhooksSelect<false> | WebhooksSelect<true>;
272
284
  'custom-field-definitions': CustomFieldDefinitionsSelect<false> | CustomFieldDefinitionsSelect<true>;
273
285
  'tenant-logos': TenantLogosSelect<false> | TenantLogosSelect<true>;
274
- 'tenant-web-analytics-config': TenantWebAnalyticsConfigSelect<false> | TenantWebAnalyticsConfigSelect<true>;
275
- 'tenant-analytics-daily': TenantAnalyticsDailySelect<false> | TenantAnalyticsDailySelect<true>;
276
- 'analytics-event-schemas': AnalyticsEventSchemasSelect<false> | AnalyticsEventSchemasSelect<true>;
277
286
  'api-usage': ApiUsageSelect<false> | ApiUsageSelect<true>;
287
+ 'tenant-mcp-usage-daily': TenantMcpUsageDailySelect<false> | TenantMcpUsageDailySelect<true>;
278
288
  products: ProductsSelect<false> | ProductsSelect<true>;
279
289
  'product-variants': ProductVariantsSelect<false> | ProductVariantsSelect<true>;
280
290
  'inventory-adjustments': InventoryAdjustmentsSelect<false> | InventoryAdjustmentsSelect<true>;
@@ -287,6 +297,7 @@ interface Config {
287
297
  brands: BrandsSelect<false> | BrandsSelect<true>;
288
298
  'brand-logos': BrandLogosSelect<false> | BrandLogosSelect<true>;
289
299
  orders: OrdersSelect<false> | OrdersSelect<true>;
300
+ 'order-saved-views': OrderSavedViewsSelect<false> | OrderSavedViewsSelect<true>;
290
301
  'order-tags': OrderTagsSelect<false> | OrderTagsSelect<true>;
291
302
  'order-items': OrderItemsSelect<false> | OrderItemsSelect<true>;
292
303
  transactions: TransactionsSelect<false> | TransactionsSelect<true>;
@@ -327,12 +338,14 @@ interface Config {
327
338
  'tenant-commerce-config': TenantCommerceConfigSelect<false> | TenantCommerceConfigSelect<true>;
328
339
  markets: MarketsSelect<false> | MarketsSelect<true>;
329
340
  customers: CustomersSelect<false> | CustomersSelect<true>;
341
+ 'customer-consent-receipts': CustomerConsentReceiptsSelect<false> | CustomerConsentReceiptsSelect<true>;
330
342
  'customer-oauth-clients': CustomerOauthClientsSelect<false> | CustomerOauthClientsSelect<true>;
331
343
  'customer-profiles': CustomerProfilesSelect<false> | CustomerProfilesSelect<true>;
332
344
  'customer-profile-stats': CustomerProfileStatsSelect<false> | CustomerProfileStatsSelect<true>;
333
345
  'customer-profile-lists': CustomerProfileListsSelect<false> | CustomerProfileListsSelect<true>;
334
346
  'customer-addresses': CustomerAddressesSelect<false> | CustomerAddressesSelect<true>;
335
347
  'customer-groups': CustomerGroupsSelect<false> | CustomerGroupsSelect<true>;
348
+ 'customer-group-grants': CustomerGroupGrantsSelect<false> | CustomerGroupGrantsSelect<true>;
336
349
  carts: CartsSelect<false> | CartsSelect<true>;
337
350
  'cart-items': CartItemsSelect<false> | CartItemsSelect<true>;
338
351
  'commerce-idempotency-records': CommerceIdempotencyRecordsSelect<false> | CommerceIdempotencyRecordsSelect<true>;
@@ -386,6 +399,8 @@ interface Config {
386
399
  events: EventsSelect<false> | EventsSelect<true>;
387
400
  'event-admission-holds': EventAdmissionHoldsSelect<false> | EventAdmissionHoldsSelect<true>;
388
401
  'event-admission-types': EventAdmissionTypesSelect<false> | EventAdmissionTypesSelect<true>;
402
+ 'event-ticket-purchases': EventTicketPurchasesSelect<false> | EventTicketPurchasesSelect<true>;
403
+ 'event-ticket-purchase-prices': EventTicketPurchasePricesSelect<false> | EventTicketPurchasePricesSelect<true>;
389
404
  'event-categories': EventCategoriesSelect<false> | EventCategoriesSelect<true>;
390
405
  'event-tags': EventTagsSelect<false> | EventTagsSelect<true>;
391
406
  'event-occurrences': EventOccurrencesSelect<false> | EventOccurrencesSelect<true>;
@@ -395,6 +410,7 @@ interface Config {
395
410
  'customer-payment-methods': CustomerPaymentMethodsSelect<false> | CustomerPaymentMethodsSelect<true>;
396
411
  'customer-memberships': CustomerMembershipsSelect<false> | CustomerMembershipsSelect<true>;
397
412
  'membership-charges': MembershipChargesSelect<false> | MembershipChargesSelect<true>;
413
+ 'membership-unapplied-paid-evidence': MembershipUnappliedPaidEvidenceSelect<false> | MembershipUnappliedPaidEvidenceSelect<true>;
398
414
  'tenant-payment-credentials': TenantPaymentCredentialsSelect<false> | TenantPaymentCredentialsSelect<true>;
399
415
  'commerce-payment-accounts': CommercePaymentAccountsSelect<false> | CommercePaymentAccountsSelect<true>;
400
416
  'payment-provider-customer-aliases': PaymentProviderCustomerAliasesSelect<false> | PaymentProviderCustomerAliasesSelect<true>;
@@ -547,6 +563,7 @@ interface Image {
547
563
  lightMuted?: string | null;
548
564
  };
549
565
  prefix?: string | null;
566
+ _objectKey?: string | null;
550
567
  uploadStatus?: ('ready' | 'finalizing' | 'failed') | null;
551
568
  processingStatus?: ('ready' | 'processing' | 'failed') | null;
552
569
  processingError?: string | null;
@@ -615,7 +632,22 @@ interface Image {
615
632
  interface Tenant {
616
633
  id: string;
617
634
  webhookPurgeFencedAt?: string | null;
635
+ project?: (string | null) | Project;
636
+ environmentKind?: ('live' | 'sandbox') | null;
637
+ environmentGeneration?: number | null;
638
+ environmentState?: ('requested' | 'provisioning' | 'ready' | 'suspended' | 'failed' | 'archived' | 'purge-pending' | 'purged') | null;
639
+ environmentIsCurrent?: boolean | null;
640
+ /**
641
+ * Managed from the current tenant Settings page.
642
+ */
643
+ consoleMenuLabels?: {
644
+ [k: string]: unknown;
645
+ } | unknown[] | string | number | boolean | null;
618
646
  name: string;
647
+ /**
648
+ * IANA time zone for tenant daily aggregation and AI usage date boundaries.
649
+ */
650
+ timezone?: string | null;
619
651
  /**
620
652
  * TEST is a time-limited space with separate data and keys and no external effects.
621
653
  */
@@ -800,9 +832,22 @@ interface Tenant {
800
832
  } | unknown[] | string | number | boolean | null;
801
833
  };
802
834
  /**
803
- * Configure authentication email delivery for SDK customer accounts.
835
+ * Configure customer password registration and reset email. The tenant owns consent collection and evidence for direct signup.
804
836
  */
805
837
  customerAuth?: {
838
+ hostedConsentRequired?: boolean | null;
839
+ /**
840
+ * Workspace terms version to use when hosted consent is enabled.
841
+ */
842
+ termsVersion?: string | null;
843
+ /**
844
+ * Workspace privacy policy version to use when hosted consent is enabled.
845
+ */
846
+ privacyPolicyVersion?: string | null;
847
+ /**
848
+ * Turning this off blocks new password registrations. Existing sign-in and reset remain available.
849
+ */
850
+ passwordRegistrationEnabled?: boolean | null;
806
851
  /**
807
852
  * Existing integrations stay on webhooks. Platform email sends the reset link through Console and Resend.
808
853
  */
@@ -824,6 +869,31 @@ interface Tenant {
824
869
  createdAt: string;
825
870
  deletedAt?: string | null;
826
871
  }
872
+ /**
873
+ * This interface was referenced by `Config`'s JSON-Schema
874
+ * via the `definition` "projects".
875
+ */
876
+ interface Project {
877
+ id: string;
878
+ /**
879
+ * Customer-facing Project name.
880
+ */
881
+ name: string;
882
+ /**
883
+ * URL-safe Project identifier. It is separate from a tenant slug and never substitutes for one.
884
+ */
885
+ slug: string;
886
+ /**
887
+ * Commercial Project lifecycle state, distinct from child tenant runtime state.
888
+ */
889
+ status: 'active' | 'suspended' | 'closed';
890
+ /**
891
+ * ADR 0056 migration authority mode. `tenant` preserves legacy tenant billing; `project-billing` moves only subscription authority while retaining the current Live tenant as the compatibility anchor.
892
+ */
893
+ authorityMode: 'tenant' | 'project-billing';
894
+ updatedAt: string;
895
+ createdAt: string;
896
+ }
827
897
  /**
828
898
  * Manage Console users and permission details.
829
899
  *
@@ -876,6 +946,7 @@ interface User {
876
946
  resetPasswordExpiration?: string | null;
877
947
  salt?: string | null;
878
948
  hash?: string | null;
949
+ resetPasswordRequestedAt?: string | null;
879
950
  _verified?: boolean | null;
880
951
  _verificationToken?: string | null;
881
952
  loginAttempts?: number | null;
@@ -939,6 +1010,7 @@ interface SystemMedia {
939
1010
  */
940
1011
  credit?: string | null;
941
1012
  prefix?: string | null;
1013
+ _objectKey?: string | null;
942
1014
  folder?: (string | null) | FolderInterface;
943
1015
  updatedAt: string;
944
1016
  createdAt: string;
@@ -1055,7 +1127,7 @@ interface CommerceNotificationIntent {
1055
1127
  * Stable key that prevents duplicate notification intents within a tenant.
1056
1128
  */
1057
1129
  dedupeKey: string;
1058
- event: 'orderPaid' | 'orderCanceled' | 'fulfillmentShipped' | 'orderDelivered' | 'returnRequested' | 'returnApproved' | 'returnRejected' | 'returnCanceled' | 'returnCompleted' | 'paymentReconciliationRequired' | 'paymentRefundRequiresAttention' | 'eventRegistrationConfirmed' | 'eventOccurrenceCanceled';
1130
+ event: 'orderPaid' | 'orderCanceled' | 'fulfillmentShipped' | 'orderDelivered' | 'returnRequested' | 'returnApproved' | 'returnRejected' | 'returnCanceled' | 'returnCompleted' | 'paymentReconciliationRequired' | 'paymentRefundRequiresAttention' | 'membershipActivated' | 'membershipPastDue' | 'membershipExpired' | 'membershipCancelled' | 'eventRegistrationConfirmed' | 'eventOccurrenceCanceled';
1059
1131
  status: 'queued' | 'processing' | 'sent' | 'failed' | 'canceled';
1060
1132
  /**
1061
1133
  * Customer email target. Operator-only payment incident notifications leave this empty.
@@ -1180,6 +1252,10 @@ interface Order {
1180
1252
  * Note left by customer at checkout
1181
1253
  */
1182
1254
  customerNote?: string | null;
1255
+ /**
1256
+ * Internal admin notes (not visible to customers)
1257
+ */
1258
+ adminNotes?: string | null;
1183
1259
  transactions?: {
1184
1260
  docs?: (string | Transaction)[];
1185
1261
  hasNextPage?: boolean;
@@ -1222,6 +1298,10 @@ interface Order {
1222
1298
  usageReserved: boolean;
1223
1299
  priority?: number | null;
1224
1300
  inputOrder?: number | null;
1301
+ conditionDigest?: string | null;
1302
+ customerEligibilityEvidence?: {
1303
+ [k: string]: unknown;
1304
+ } | unknown[] | string | number | boolean | null;
1225
1305
  id?: string | null;
1226
1306
  }[] | null;
1227
1307
  discountAmount?: number | null;
@@ -1279,10 +1359,6 @@ interface Order {
1279
1359
  integrationMetadata?: {
1280
1360
  [k: string]: unknown;
1281
1361
  } | unknown[] | string | number | boolean | null;
1282
- /**
1283
- * Internal admin notes (not visible to customers)
1284
- */
1285
- adminNotes?: string | null;
1286
1362
  source?: ('web' | 'app' | 'manual' | 'api' | 'import') | null;
1287
1363
  tags?: (string | OrderTag)[] | null;
1288
1364
  tagSlugs?: {
@@ -1319,8 +1395,8 @@ interface Customer {
1319
1395
  _customers_customers_order?: string | null;
1320
1396
  _order?: string | null;
1321
1397
  tenant?: (string | null) | Tenant;
1322
- name: string;
1323
1398
  email?: string | null;
1399
+ name: string;
1324
1400
  phone?: string | null;
1325
1401
  groups?: (string | CustomerGroup)[] | null;
1326
1402
  /**
@@ -1420,7 +1496,13 @@ interface Customer {
1420
1496
  unsubscribedAt?: string | null;
1421
1497
  };
1422
1498
  };
1499
+ /**
1500
+ * Tenant self-reported value. It is not a hosted server consent receipt.
1501
+ */
1423
1502
  acceptsTos?: boolean | null;
1503
+ /**
1504
+ * Tenant self-reported version. Hosted reconsent does not use it.
1505
+ */
1424
1506
  tosVersion?: string | null;
1425
1507
  /**
1426
1508
  * Withdrawal reason (internal)
@@ -1850,7 +1932,7 @@ interface Product {
1850
1932
  */
1851
1933
  generateSlug?: boolean | null;
1852
1934
  /**
1853
- * Slug used in product URLs.
1935
+ * Slug used in product URLs. It is fixed after creation.
1854
1936
  */
1855
1937
  slug?: string | null;
1856
1938
  /**
@@ -1907,6 +1989,11 @@ interface Video {
1907
1989
  };
1908
1990
  [k: string]: unknown;
1909
1991
  } | null;
1992
+ chapters?: {
1993
+ title: string;
1994
+ startSeconds: number;
1995
+ id?: string | null;
1996
+ }[] | null;
1910
1997
  sourceLiveStream?: (string | null) | LiveStream;
1911
1998
  categories?: (string | VideoCategory)[] | null;
1912
1999
  tags?: (string | VideoTag)[] | null;
@@ -1921,6 +2008,8 @@ interface Video {
1921
2008
  mp4Support?: ('none' | 'standard' | 'capped-1080p') | null;
1922
2009
  muxAssetId?: string | null;
1923
2010
  muxPlaybackId?: string | null;
2011
+ muxSignedPlaybackId?: string | null;
2012
+ muxPublicPlaybackRevokedAt?: string | null;
1924
2013
  muxUploadId?: string | null;
1925
2014
  seo?: {
1926
2015
  /**
@@ -1970,14 +2059,6 @@ interface Video {
1970
2059
  */
1971
2060
  viewCount?: number | null;
1972
2061
  aspectRatio?: ('16_9' | '9_16' | '4_3' | '1_1') | null;
1973
- /**
1974
- * Chapter markers
1975
- */
1976
- chapters?: {
1977
- title: string;
1978
- startSeconds: number;
1979
- id?: string | null;
1980
- }[] | null;
1981
2062
  updatedAt: string;
1982
2063
  createdAt: string;
1983
2064
  deletedAt?: string | null;
@@ -2733,6 +2814,7 @@ interface BrandLogo {
2733
2814
  lightMuted?: string | null;
2734
2815
  };
2735
2816
  prefix?: string | null;
2817
+ _objectKey?: string | null;
2736
2818
  updatedAt: string;
2737
2819
  createdAt: string;
2738
2820
  deletedAt?: string | null;
@@ -2935,7 +3017,7 @@ interface ShippingPolicy {
2935
3017
  */
2936
3018
  baseAmount?: number | null;
2937
3019
  /**
2938
- * Read-only rollout field. Set up free shipping with an order-amount rate row priced at 0, or with an automatic free_shipping discount that sets a minimum order amount. When you use a rate row, cap the existing paid row with Max Amount so both rows never apply together.
3020
+ * Read-only rollout field. Set up free shipping with an order-amount rate row priced at 0, or with an automatic free_shipping discount that sets a minimum order amount. When you use a rate row, change the existing paid row's Condition to Order amount and cap it with a Max order amount below the free-shipping threshold so both rows never apply together.
2939
3021
  */
2940
3022
  freeShippingMinAmount?: number | null;
2941
3023
  rates?: {
@@ -3103,6 +3185,9 @@ interface Checkout {
3103
3185
  checkoutTokenCiphertext?: string | null;
3104
3186
  createIdempotencyKey?: string | null;
3105
3187
  createRequestFingerprint?: string | null;
3188
+ admissionEligibilityFreeze?: {
3189
+ [k: string]: unknown;
3190
+ } | unknown[] | string | number | boolean | null;
3106
3191
  /**
3107
3192
  * Non-secret opaque identifier used for provider correlation.
3108
3193
  */
@@ -3204,6 +3289,10 @@ interface Checkout {
3204
3289
  usageReserved: boolean;
3205
3290
  priority?: number | null;
3206
3291
  inputOrder?: number | null;
3292
+ conditionDigest?: string | null;
3293
+ customerEligibilityEvidence?: {
3294
+ [k: string]: unknown;
3295
+ } | unknown[] | string | number | boolean | null;
3207
3296
  id?: string | null;
3208
3297
  }[] | null;
3209
3298
  discountAmount?: number | null;
@@ -3543,6 +3632,12 @@ interface PaymentSession {
3543
3632
  providerAction?: {
3544
3633
  [k: string]: unknown;
3545
3634
  } | unknown[] | string | number | boolean | null;
3635
+ /**
3636
+ * Private server-owned eligibility evidence for a restricted admission payment attempt.
3637
+ */
3638
+ admissionEligibilityFreeze?: {
3639
+ [k: string]: unknown;
3640
+ } | unknown[] | string | number | boolean | null;
3546
3641
  providerAccount?: (string | null) | CommercePaymentAccount;
3547
3642
  credentialVersion?: number | null;
3548
3643
  environment?: string | null;
@@ -3797,9 +3892,12 @@ interface Event {
3797
3892
  materializationMonths?: number | null;
3798
3893
  };
3799
3894
  /**
3800
- * Location details shown to attendees. Private notes are hidden from public API reads.
3895
+ * Hidden locations omit details from public APIs. Online URLs for other types remain public; private notes are always hidden.
3801
3896
  */
3802
3897
  location?: {
3898
+ /**
3899
+ * Hidden exposes only the type in public APIs and omits the venue name, address, online link, instructions, and occurrence location details.
3900
+ */
3803
3901
  type?: ('physical' | 'online' | 'hybrid' | 'hidden') | null;
3804
3902
  name?: string | null;
3805
3903
  address?: string | null;
@@ -4005,7 +4103,7 @@ interface EventOccurrence {
4005
4103
  */
4006
4104
  parentPublic?: boolean | null;
4007
4105
  /**
4008
- * Location override for this occurrence only. Leave empty to use the event default location.
4106
+ * Applies only to this occurrence; leave empty to use the event location. When the event location is hidden, public APIs omit these details too. Private notes are always hidden.
4009
4107
  */
4010
4108
  locationOverride?: {
4011
4109
  name?: string | null;
@@ -4092,6 +4190,22 @@ interface EventRegistration {
4092
4190
  answer?: string | null;
4093
4191
  id?: string | null;
4094
4192
  }[] | null;
4193
+ /**
4194
+ * How this registration was created. Existing registrations may be empty and cannot be changed.
4195
+ */
4196
+ creationChannel?: ('public_registration' | 'commerce_materialization' | 'operator') | null;
4197
+ /**
4198
+ * User who added this registration in Console.
4199
+ */
4200
+ createdByOperator?: (string | null) | User;
4201
+ /**
4202
+ * Admission basis for an operator-added registration. It stores no price or payment evidence.
4203
+ */
4204
+ operatorAdmissionBasis?: ('standard' | 'complimentary' | 'external_sale_reported') | null;
4205
+ /**
4206
+ * Whether to send confirmation notifications for an operator-added registration. Applies to later transitions to going.
4207
+ */
4208
+ confirmationNotificationPolicy?: ('send' | 'suppress') | null;
4095
4209
  /**
4096
4210
  * Manual approval data, including approval time, approver, and internal note.
4097
4211
  */
@@ -4161,6 +4275,11 @@ interface EventAdmissionType {
4161
4275
  * Optional to save, but customer admission availability omits this type when the reference is missing, deleted, inactive, missing a product, or unpriced. Ecommerce owns the amount; only the reference is stored here.
4162
4276
  */
4163
4277
  priceReference?: (string | null) | ProductVariant;
4278
+ /**
4279
+ * Leave empty for open purchase. When set, a verified customer must currently belong to at least one listed group.
4280
+ */
4281
+ allowedCustomerGroups?: (string | CustomerGroup)[] | null;
4282
+ firstRestrictedAt?: string | null;
4164
4283
  /**
4165
4284
  * Optional per-type ceiling per occurrence. Enforced at hold creation against this type's capacity-consuming hold quantity (held, bound, and confirmed).
4166
4285
  */
@@ -4184,6 +4303,8 @@ interface EventAdmissionHold {
4184
4303
  admissionType: string | EventAdmissionType;
4185
4304
  checkout?: (string | null) | Checkout;
4186
4305
  checkoutItem?: (string | null) | CheckoutItem;
4306
+ ticketPurchase?: (string | null) | EventTicketPurchase;
4307
+ paymentKernelObligation?: (string | null) | PaymentKernelObligation;
4187
4308
  quantity: number;
4188
4309
  status: 'held' | 'bound' | 'expired' | 'confirmed' | 'released';
4189
4310
  expiresAt?: string | null;
@@ -4195,6 +4316,92 @@ interface EventAdmissionHold {
4195
4316
  createdAt: string;
4196
4317
  deletedAt?: string | null;
4197
4318
  }
4319
+ /**
4320
+ * This interface was referenced by `Config`'s JSON-Schema
4321
+ * via the `definition` "event-ticket-purchases".
4322
+ */
4323
+ interface EventTicketPurchase {
4324
+ id: string;
4325
+ tenant?: (string | null) | Tenant;
4326
+ idempotencyKey: string;
4327
+ principalMinor: number;
4328
+ currency: string;
4329
+ components: {
4330
+ [k: string]: unknown;
4331
+ } | unknown[] | string | number | boolean | null;
4332
+ resultEntries: {
4333
+ [k: string]: unknown;
4334
+ } | unknown[] | string | number | boolean | null;
4335
+ refundEntries: {
4336
+ [k: string]: unknown;
4337
+ } | unknown[] | string | number | boolean | null;
4338
+ updatedAt: string;
4339
+ createdAt: string;
4340
+ deletedAt?: string | null;
4341
+ }
4342
+ /**
4343
+ * This interface was referenced by `Config`'s JSON-Schema
4344
+ * via the `definition` "payment-kernel-obligations".
4345
+ */
4346
+ interface PaymentKernelObligation {
4347
+ id: string;
4348
+ tenant?: (string | null) | Tenant;
4349
+ ownerIdentity: string | PaymentKernelOwnerIdentity;
4350
+ ownerKind: 'commerce_checkout' | 'event_ticket_purchase';
4351
+ ownerId: string;
4352
+ ownerCommandKind: string;
4353
+ ownerIdempotencyKey: string;
4354
+ requestFingerprint: string;
4355
+ amount: number;
4356
+ currency: string;
4357
+ merchantReference?: string | null;
4358
+ executionOwner: 'console_managed' | 'integration_managed';
4359
+ provider: string;
4360
+ providerAccountKey: string;
4361
+ environment: 'test' | 'live';
4362
+ providerConnection?: (string | null) | PaymentKernelProviderConnection;
4363
+ externalIntegration?: (string | null) | PaymentKernelExternalIntegration;
4364
+ updatedAt: string;
4365
+ createdAt: string;
4366
+ }
4367
+ /**
4368
+ * This interface was referenced by `Config`'s JSON-Schema
4369
+ * via the `definition` "payment-kernel-owner-identities".
4370
+ */
4371
+ interface PaymentKernelOwnerIdentity {
4372
+ id: string;
4373
+ tenant?: (string | null) | Tenant;
4374
+ ownerKind: 'commerce_checkout' | 'event_ticket_purchase';
4375
+ ownerId: string;
4376
+ updatedAt: string;
4377
+ createdAt: string;
4378
+ }
4379
+ /**
4380
+ * This interface was referenced by `Config`'s JSON-Schema
4381
+ * via the `definition` "payment-kernel-provider-connections".
4382
+ */
4383
+ interface PaymentKernelProviderConnection {
4384
+ id: string;
4385
+ tenant?: (string | null) | Tenant;
4386
+ provider: string;
4387
+ providerAccountKey: string;
4388
+ environment: 'test' | 'live';
4389
+ updatedAt: string;
4390
+ createdAt: string;
4391
+ }
4392
+ /**
4393
+ * This interface was referenced by `Config`'s JSON-Schema
4394
+ * via the `definition` "payment-kernel-external-integrations".
4395
+ */
4396
+ interface PaymentKernelExternalIntegration {
4397
+ id: string;
4398
+ tenant?: (string | null) | Tenant;
4399
+ integrationKey: string;
4400
+ actorId: string;
4401
+ actorNamespace: string;
4402
+ updatedAt: string;
4403
+ createdAt: string;
4404
+ }
4198
4405
  /**
4199
4406
  * This interface was referenced by `Config`'s JSON-Schema
4200
4407
  * via the `definition` "fulfillment-orders".
@@ -4432,7 +4639,7 @@ interface ApiKey {
4432
4639
  /**
4433
4640
  * Capability scopes for the key. Default is read+write.
4434
4641
  */
4435
- scopes?: ('read' | 'write' | 'webhook' | 'analytics' | 'super-admin')[] | null;
4642
+ scopes?: ('read' | 'write' | 'webhook' | 'super-admin')[] | null;
4436
4643
  /**
4437
4644
  * User who issued the key for audit traceability.
4438
4645
  */
@@ -4494,7 +4701,7 @@ interface PersonalAccessToken {
4494
4701
  lastUsedIp?: string | null;
4495
4702
  revokedAt?: string | null;
4496
4703
  /**
4497
- * User who revoked the PAT. This is null for API-KEY-038 OIDC machine revocation, whose workflow receipt proves the audit actor.
4704
+ * User who revoked the PAT, retained as the revocation actor for audit traceability.
4498
4705
  */
4499
4706
  revokedBy?: (string | null) | User;
4500
4707
  /**
@@ -4521,7 +4728,7 @@ interface AuditLog {
4521
4728
  */
4522
4729
  actorId?: string | null;
4523
4730
  /**
4524
- * Detailed audit event payload. May contain sensitive security, billing, or provider context.
4731
+ * Structural summary of identifiers, state transitions, field names, reason codes, and timestamps. No personal-data values, secrets, or request/response bodies.
4525
4732
  */
4526
4733
  payload?: {
4527
4734
  [k: string]: unknown;
@@ -4683,13 +4890,13 @@ interface Webhook {
4683
4890
  */
4684
4891
  secretRotatedBy?: (string | null) | User;
4685
4892
  /**
4686
- * Collections to subscribe to. Leaving this empty is a wildcard for ordinary collection create/update events only; commerce notifications need an explicit row for their source collection (orders, fulfillments, returns).
4893
+ * Collections to subscribe to. Leaving this empty is a wildcard for ordinary collection create/update events only. Generic collections receive raw create/update; shaped-only entries receive semantic commerce notifications only. Commerce notifications for orders, fulfillments, returns, and customer-memberships require explicit selection.
4687
4894
  */
4688
4895
  subscriptions?: {
4689
4896
  /**
4690
4897
  * Receives create/update events for this collection, plus commerce notifications whose source is this collection.
4691
4898
  */
4692
- collection: 'tenant-metadata' | 'tenant-logos' | 'images' | 'products' | 'product-variants' | 'product-options' | 'product-option-values' | 'product-categories' | 'product-tags' | 'product-collections' | 'markets' | 'brands' | 'brand-logos' | 'orders' | 'order-items' | 'transactions' | 'fulfillment-orders' | 'fulfillment-order-items' | 'fulfillments' | 'fulfillment-items' | 'returns' | 'return-items' | 'carts' | 'cart-items' | 'discounts' | 'shipping-policies' | 'shipping-zones' | 'customers' | 'customer-profiles' | 'customer-addresses' | 'playlists' | 'playlist-categories' | 'playlist-tags' | 'tracks' | 'track-categories' | 'track-tags' | 'galleries' | 'gallery-items' | 'gallery-categories' | 'gallery-tags' | 'links' | 'link-categories' | 'link-tags' | 'forms' | 'form-submissions' | 'articles' | 'article-authors' | 'article-categories' | 'article-tags' | 'documents' | 'document-categories' | 'document-types' | 'canvases' | 'canvas-node-types' | 'canvas-edge-types' | 'canvas-categories' | 'canvas-tags' | 'videos' | 'video-categories' | 'video-tags' | 'live-streams' | 'posts' | 'comments' | 'reactions' | 'reaction-types' | 'bookmarks' | 'post-categories' | 'post-tags' | 'customer-profile-stats' | 'customer-profile-lists' | 'event-calendars' | 'events' | 'event-categories' | 'event-occurrences' | 'event-tags' | 'membership-plans' | 'membership-plan-prices' | 'canvas-nodes' | 'canvas-edges' | 'payment-sessions' | 'payment-refund-attempts';
4899
+ collection: 'tenant-metadata' | 'tenant-logos' | 'images' | 'products' | 'product-variants' | 'product-options' | 'product-option-values' | 'product-categories' | 'product-tags' | 'product-collections' | 'markets' | 'brands' | 'brand-logos' | 'orders' | 'order-items' | 'transactions' | 'fulfillment-orders' | 'fulfillment-order-items' | 'fulfillments' | 'fulfillment-items' | 'returns' | 'return-items' | 'carts' | 'cart-items' | 'discounts' | 'shipping-policies' | 'shipping-zones' | 'customers' | 'customer-profiles' | 'customer-addresses' | 'playlists' | 'playlist-categories' | 'playlist-tags' | 'tracks' | 'track-categories' | 'track-tags' | 'galleries' | 'gallery-items' | 'gallery-categories' | 'gallery-tags' | 'links' | 'link-categories' | 'link-tags' | 'forms' | 'form-submissions' | 'articles' | 'article-authors' | 'article-categories' | 'article-tags' | 'documents' | 'document-categories' | 'document-types' | 'canvases' | 'canvas-node-types' | 'canvas-edge-types' | 'canvas-categories' | 'canvas-tags' | 'videos' | 'video-categories' | 'video-tags' | 'live-streams' | 'posts' | 'comments' | 'reactions' | 'reaction-types' | 'bookmarks' | 'post-categories' | 'post-tags' | 'customer-profile-stats' | 'customer-profile-lists' | 'event-calendars' | 'events' | 'event-categories' | 'event-occurrences' | 'event-tags' | 'membership-plans' | 'membership-plan-prices' | 'canvas-nodes' | 'canvas-edges' | 'payment-sessions' | 'payment-refund-attempts' | 'customer-memberships';
4693
4900
  id?: string | null;
4694
4901
  }[] | null;
4695
4902
  isActive?: boolean | null;
@@ -4920,6 +5127,7 @@ interface TenantLogo {
4920
5127
  lightMuted?: string | null;
4921
5128
  };
4922
5129
  prefix?: string | null;
5130
+ _objectKey?: string | null;
4923
5131
  updatedAt: string;
4924
5132
  createdAt: string;
4925
5133
  deletedAt?: string | null;
@@ -4997,13 +5205,14 @@ interface TenantLogo {
4997
5205
  */
4998
5206
  interface TenantEntitlement {
4999
5207
  id: string;
5208
+ activationKey?: string | null;
5000
5209
  tenant: string | Tenant;
5001
5210
  plan: 'free' | 'starter' | 'basic' | 'pro' | 'enterprise';
5002
5211
  /**
5003
5212
  * Lifecycle status for the entitlement. Only active rows participate in current plan resolution.
5004
5213
  */
5005
5214
  status: 'active' | 'scheduled' | 'expired' | 'revoked';
5006
- sourceType: 'subscription' | 'manual' | 'support' | 'promo' | 'trial' | 'enterprise_contract';
5215
+ sourceType: 'project_free' | 'subscription' | 'manual' | 'support' | 'promo' | 'trial' | 'enterprise_contract';
5007
5216
  sourceSubscription?: (string | null) | Subscription;
5008
5217
  /**
5009
5218
  * Tie-breaker for overlapping entitlements. Higher values win within the same source precedence.
@@ -5030,6 +5239,10 @@ interface TenantEntitlement {
5030
5239
  */
5031
5240
  interface Subscription {
5032
5241
  id: string;
5242
+ /**
5243
+ * Project billing scope. The existing Live tenant relation remains the compatibility and evidence anchor.
5244
+ */
5245
+ project?: (string | null) | Project;
5033
5246
  tenant: string | Tenant;
5034
5247
  plan: 'starter' | 'basic' | 'pro';
5035
5248
  billingModel: 'flat' | 'usage';
@@ -5270,6 +5483,9 @@ interface UsageInvoice {
5270
5483
  }[];
5271
5484
  subtotalKrw: number;
5272
5485
  totalKrw: number;
5486
+ minimumChargeExemption?: {
5487
+ [k: string]: unknown;
5488
+ } | unknown[] | string | number | boolean | null;
5273
5489
  finalizedAt: string;
5274
5490
  chargedAt?: string | null;
5275
5491
  rateCardSnapshot: {
@@ -5291,6 +5507,10 @@ interface UsageInvoice {
5291
5507
  interface ApiUsage {
5292
5508
  id: string;
5293
5509
  tenant?: (string | null) | Tenant;
5510
+ project?: (string | null) | Project;
5511
+ environmentKind: 'tenant' | 'live' | 'sandbox';
5512
+ environmentGeneration: number;
5513
+ billable: boolean;
5294
5514
  /**
5295
5515
  * YYYY-MM format
5296
5516
  */
@@ -5333,6 +5553,12 @@ interface ApiUsage {
5333
5553
  * Notification email send count
5334
5554
  */
5335
5555
  notificationEmailCount?: number | null;
5556
+ /**
5557
+ * Accepted, ordinary reservations, essential, platform, and Sandbox observations. Separate from billing meters.
5558
+ */
5559
+ emailUsage?: {
5560
+ [k: string]: unknown;
5561
+ } | unknown[] | string | number | boolean | null;
5336
5562
  /**
5337
5563
  * Timestamp when the usage snapshot cron calculated this monthly aggregate.
5338
5564
  */
@@ -5401,182 +5627,42 @@ interface CustomFieldDefinition {
5401
5627
  createdAt: string;
5402
5628
  }
5403
5629
  /**
5404
- * Manage web analytics collection settings and allowed domains.
5405
- *
5406
5630
  * This interface was referenced by `Config`'s JSON-Schema
5407
- * via the `definition` "tenant-web-analytics-config".
5631
+ * via the `definition` "tenant-mcp-usage-daily".
5408
5632
  */
5409
- interface TenantWebAnalyticsConfig {
5633
+ interface TenantMcpUsageDaily {
5410
5634
  id: string;
5411
5635
  tenant?: (string | null) | Tenant;
5412
- enabled?: boolean | null;
5413
- /**
5414
- * Domains allowed to send analytics events. If empty, browser analytics is blocked.
5415
- */
5416
- allowedOrigins?: {
5417
- origin: string;
5418
- id?: string | null;
5419
- }[] | null;
5420
- /**
5421
- * Timezone used to group daily analytics. Once data starts coming in, this is locked and cannot be changed.
5422
- */
5423
- timezone: string;
5424
- /**
5425
- * Automatically locked once the first analytics record is saved. Contact support to unlock.
5426
- */
5427
- tzLocked?: boolean | null;
5428
- updatedAt: string;
5429
- createdAt: string;
5430
- deletedAt?: string | null;
5431
- }
5432
- /**
5433
- * This interface was referenced by `Config`'s JSON-Schema
5434
- * via the `definition` "tenant-analytics-daily".
5435
- */
5436
- interface TenantAnalyticsDaily {
5437
- id: string;
5438
- tenant?: (string | null) | Tenant;
5439
- /**
5440
- * YYYY-MM-DD (UTC)
5441
- */
5442
5636
  date: string;
5443
- pageviews: number;
5444
- /**
5445
- * Estimated via HyperLogLog (±0.81%)
5446
- */
5447
- visitors: number;
5448
- topPages?: {
5449
- pathname: string;
5450
- views: number;
5451
- id?: string | null;
5452
- }[] | null;
5453
- topReferrers?: {
5454
- source: string;
5455
- views: number;
5456
- id?: string | null;
5457
- }[] | null;
5458
- topEvents?: {
5459
- name: string;
5460
- count: number;
5461
- id?: string | null;
5462
- }[] | null;
5463
- eventsDropped?: {
5464
- cardinality?: number | null;
5465
- schema?: number | null;
5466
- schemaUnknownEvent?: number | null;
5467
- schemaUnknownDim?: number | null;
5468
- schemaBadValue?: number | null;
5469
- schemaInvalidProps?: number | null;
5470
- late?: number | null;
5471
- origin?: number | null;
5472
- key?: number | null;
5473
- rate?: number | null;
5474
- disabled?: number | null;
5475
- };
5476
- snapshottedAt?: string | null;
5477
- /**
5478
- * Tenant timezone used to bucket this snapshot's date.
5479
- */
5480
5637
  bucketTz: string;
5638
+ snapshottedAt: string;
5481
5639
  /**
5482
- * Deterministic aggregate schema shape hash for mismatch detection.
5640
+ * Aggregate-only MCP tool usage without raw request data.
5483
5641
  */
5484
- schemaShape: string;
5485
- /**
5486
- * Per-event dimension/page/referrer aggregates. Populated by snapshot cron when registered events have Redis data.
5487
- */
5488
- eventDetails?: {
5489
- eventName: string;
5490
- count?: number | null;
5491
- /**
5492
- * Deterministic schema shape hash for this event detail row.
5493
- */
5494
- schemaShape?: string | null;
5495
- dimensions?: {
5496
- dimension: string;
5497
- values?: {
5498
- value: string;
5499
- count: number;
5500
- id?: string | null;
5501
- }[] | null;
5502
- id?: string | null;
5503
- }[] | null;
5504
- pages?: {
5505
- pathname: string;
5506
- count: number;
5507
- id?: string | null;
5508
- }[] | null;
5509
- referrers?: {
5510
- source: string;
5511
- count: number;
5512
- id?: string | null;
5513
- }[] | null;
5514
- id?: string | null;
5515
- }[] | null;
5516
- /**
5517
- * MCP tool usage aggregate. Populated by snapshot cron from daily Redis keys.
5518
- */
5519
- mcpUsage?: {
5520
- toolCalls?: number | null;
5521
- sessions?: number | null;
5522
- convertedSessions?: number | null;
5523
- conversionRate?: number | null;
5524
- successfulWrites?: number | null;
5525
- isPartial?: boolean | null;
5526
- topTools?: {
5527
- name: string;
5528
- count: number;
5529
- readOnly?: boolean | null;
5530
- id?: string | null;
5531
- }[] | null;
5532
- transports?: {
5533
- name: string;
5534
- count: number;
5535
- id?: string | null;
5536
- }[] | null;
5537
- httpDurationMs?: {
5538
- p50?: number | null;
5539
- p99?: number | null;
5540
- buckets?: {
5541
- bucket: string;
5542
- label: string;
5543
- count: number;
5544
- id?: string | null;
5545
- }[] | null;
5546
- };
5547
- };
5642
+ usage: {
5643
+ [k: string]: unknown;
5644
+ } | unknown[] | string | number | boolean | null;
5548
5645
  updatedAt: string;
5549
5646
  createdAt: string;
5550
5647
  }
5551
5648
  /**
5552
- * Manage custom events and property schemas for analytics.
5553
- *
5554
5649
  * This interface was referenced by `Config`'s JSON-Schema
5555
- * via the `definition` "analytics-event-schemas".
5650
+ * via the `definition` "order-saved-views".
5556
5651
  */
5557
- interface AnalyticsEventSchema {
5652
+ interface OrderSavedView {
5558
5653
  id: string;
5559
- tenant?: (string | null) | Tenant;
5560
- /**
5561
- * Valid event name pattern.
5562
- */
5563
- eventName: string;
5564
- enabled: boolean;
5565
- dimensions?: {
5566
- key: string;
5567
- type: 'enum' | 'boolean';
5568
- /**
5569
- * Comma-separated values. Required when type=enum, optional otherwise. Collection compares exact String(value), so case and numeric serialization must match. Boolean auto-derives {true,false}. Max 20 per key.
5570
- */
5571
- allowedValues?: string | null;
5572
- description?: string | null;
5573
- id?: string | null;
5574
- }[] | null;
5575
- createdBy?: (string | null) | User;
5576
- updatedBy?: (string | null) | User;
5654
+ tenant: string | Tenant;
5655
+ owner: string | User;
5656
+ name: string;
5657
+ schemaVersion: number;
5658
+ where: {
5659
+ [k: string]: unknown;
5660
+ } | unknown[] | string | number | boolean | null;
5661
+ columns: {
5662
+ [k: string]: unknown;
5663
+ } | unknown[] | string | number | boolean | null;
5577
5664
  updatedAt: string;
5578
5665
  createdAt: string;
5579
- deletedAt?: string | null;
5580
5666
  }
5581
5667
  /**
5582
5668
  * This interface was referenced by `Config`'s JSON-Schema
@@ -5932,92 +6018,30 @@ interface CommercePaymentWebhookRoute {
5932
6018
  updatedAt: string;
5933
6019
  createdAt: string;
5934
6020
  }
5935
- /**
5936
- * This interface was referenced by `Config`'s JSON-Schema
5937
- * via the `definition` "payment-kernel-external-integrations".
5938
- */
5939
- interface PaymentKernelExternalIntegration {
5940
- id: string;
5941
- tenant?: (string | null) | Tenant;
5942
- integrationKey: string;
5943
- actorId: string;
5944
- actorNamespace: string;
5945
- updatedAt: string;
5946
- createdAt: string;
5947
- }
5948
- /**
5949
- * This interface was referenced by `Config`'s JSON-Schema
5950
- * via the `definition` "payment-kernel-owner-identities".
5951
- */
5952
- interface PaymentKernelOwnerIdentity {
5953
- id: string;
5954
- tenant?: (string | null) | Tenant;
5955
- ownerKind: 'commerce_checkout' | 'event_ticket_purchase';
5956
- ownerId: string;
5957
- updatedAt: string;
5958
- createdAt: string;
5959
- }
5960
- /**
5961
- * This interface was referenced by `Config`'s JSON-Schema
5962
- * via the `definition` "payment-kernel-provider-connections".
5963
- */
5964
- interface PaymentKernelProviderConnection {
5965
- id: string;
5966
- tenant?: (string | null) | Tenant;
5967
- provider: string;
5968
- providerAccountKey: string;
5969
- environment: 'test' | 'live';
5970
- updatedAt: string;
5971
- createdAt: string;
5972
- }
5973
6021
  /**
5974
6022
  * This interface was referenced by `Config`'s JSON-Schema
5975
6023
  * via the `definition` "payment-kernel-credential-generations".
5976
- */
5977
- interface PaymentKernelCredentialGeneration {
5978
- id: string;
5979
- tenant?: (string | null) | Tenant;
5980
- providerConnection: string | PaymentKernelProviderConnection;
5981
- generation: number;
5982
- updatedAt: string;
5983
- createdAt: string;
5984
- }
5985
- /**
5986
- * This interface was referenced by `Config`'s JSON-Schema
5987
- * via the `definition` "payment-kernel-provider-object-identities".
5988
- */
5989
- interface PaymentKernelProviderObjectIdentity {
5990
- id: string;
5991
- tenant?: (string | null) | Tenant;
5992
- provider: string;
5993
- providerAccountKey: string;
5994
- environment: 'test' | 'live';
5995
- objectKind: string;
5996
- objectId: string;
6024
+ */
6025
+ interface PaymentKernelCredentialGeneration {
6026
+ id: string;
6027
+ tenant?: (string | null) | Tenant;
6028
+ providerConnection: string | PaymentKernelProviderConnection;
6029
+ generation: number;
5997
6030
  updatedAt: string;
5998
6031
  createdAt: string;
5999
6032
  }
6000
6033
  /**
6001
6034
  * This interface was referenced by `Config`'s JSON-Schema
6002
- * via the `definition` "payment-kernel-obligations".
6035
+ * via the `definition` "payment-kernel-provider-object-identities".
6003
6036
  */
6004
- interface PaymentKernelObligation {
6037
+ interface PaymentKernelProviderObjectIdentity {
6005
6038
  id: string;
6006
6039
  tenant?: (string | null) | Tenant;
6007
- ownerIdentity: string | PaymentKernelOwnerIdentity;
6008
- ownerKind: 'commerce_checkout' | 'event_ticket_purchase';
6009
- ownerId: string;
6010
- ownerCommandKind: string;
6011
- ownerIdempotencyKey: string;
6012
- requestFingerprint: string;
6013
- amount: number;
6014
- currency: string;
6015
- executionOwner: 'console_managed' | 'integration_managed';
6016
6040
  provider: string;
6017
6041
  providerAccountKey: string;
6018
6042
  environment: 'test' | 'live';
6019
- providerConnection?: (string | null) | PaymentKernelProviderConnection;
6020
- externalIntegration?: (string | null) | PaymentKernelExternalIntegration;
6043
+ objectKind: string;
6044
+ objectId: string;
6021
6045
  updatedAt: string;
6022
6046
  createdAt: string;
6023
6047
  }
@@ -6149,20 +6173,21 @@ interface PaymentKernelReconciliationCase {
6149
6173
  interface PaymentKernelResult {
6150
6174
  id: string;
6151
6175
  tenant?: (string | null) | Tenant;
6152
- operation: string | PaymentKernelOperation;
6176
+ objectless?: boolean | null;
6177
+ operation?: (string | null) | PaymentKernelOperation;
6153
6178
  obligation: string | PaymentKernelObligation;
6154
6179
  ownerIdentity: string | PaymentKernelOwnerIdentity;
6155
6180
  ownerKind: 'commerce_checkout' | 'event_ticket_purchase';
6156
6181
  ownerId: string;
6157
6182
  operationKind: 'capture' | 'refund' | 'void' | 'lookup' | 'dispute' | 'reconciliation';
6158
- outcome: 'succeeded' | 'definitively_failed';
6159
- providerObjectIdentity: string | PaymentKernelProviderObjectIdentity;
6183
+ outcome: 'succeeded' | 'definitively_failed' | 'reconciled_release';
6184
+ providerObjectIdentity?: (string | null) | PaymentKernelProviderObjectIdentity;
6160
6185
  provider: string;
6161
6186
  providerAccountKey: string;
6162
6187
  environment: 'test' | 'live';
6163
- objectKind: string;
6164
- objectId: string;
6165
- terminalAttempt: string | PaymentKernelOperationAttempt;
6188
+ objectKind?: string | null;
6189
+ objectId?: string | null;
6190
+ terminalAttempt?: (string | null) | PaymentKernelOperationAttempt;
6166
6191
  sourceMovement?: (string | null) | PaymentKernelFinancialMovement;
6167
6192
  sourceMovementKind?: ('capture_confirmed' | 'refund_reservation' | 'refund_confirmed' | 'refund_reservation_release' | 'dispute_loss' | 'reversal' | 'fee' | 'adjustment' | 'settled') | null;
6168
6193
  sourceProviderReceipt?: (string | null) | PaymentKernelProviderReceipt;
@@ -6179,6 +6204,7 @@ interface PaymentKernelResult {
6179
6204
  interface PaymentKernelOwnerCommit {
6180
6205
  id: string;
6181
6206
  tenant?: (string | null) | Tenant;
6207
+ objectless?: boolean | null;
6182
6208
  kernelResult: string | PaymentKernelResult;
6183
6209
  ownerIdentity: string | PaymentKernelOwnerIdentity;
6184
6210
  ownerKind: 'commerce_checkout' | 'event_ticket_purchase';
@@ -6393,6 +6419,24 @@ interface TenantCommerceConfig {
6393
6419
  createdAt: string;
6394
6420
  deletedAt?: string | null;
6395
6421
  }
6422
+ /**
6423
+ * Review customer consent records for terms and privacy policy.
6424
+ *
6425
+ * This interface was referenced by `Config`'s JSON-Schema
6426
+ * via the `definition` "customer-consent-receipts".
6427
+ */
6428
+ interface CustomerConsentReceipt {
6429
+ id: string;
6430
+ tenant?: (string | null) | Tenant;
6431
+ customer: string | Customer;
6432
+ termsVersion: string;
6433
+ privacyPolicyVersion: string;
6434
+ consentedAt: string;
6435
+ path: 'hosted-signup' | 'hosted-reconsent';
6436
+ oauthClientId: string;
6437
+ updatedAt: string;
6438
+ createdAt: string;
6439
+ }
6396
6440
  /**
6397
6441
  * Storefront OAuth/OIDC client registrations for hosted customer login.
6398
6442
  *
@@ -6424,7 +6468,7 @@ interface CustomerOauthClient {
6424
6468
  }[] | null;
6425
6469
  allowedScopes: ('openid' | 'profile' | 'email')[];
6426
6470
  /**
6427
- * Providers exposed on hosted login through platform-owned provider apps. Credentials stay in deployment configuration.
6471
+ * Coming soon providers are unavailable. Previously saved values remain visible until removed but are ignored by hosted login. Credentials stay in deployment configuration.
6428
6472
  */
6429
6473
  enabledSocialProviders?: ('google' | 'apple' | 'kakao' | 'naver')[] | null;
6430
6474
  metadata?: {
@@ -6500,6 +6544,26 @@ interface CustomerProfileList {
6500
6544
  createdAt: string;
6501
6545
  deletedAt?: string | null;
6502
6546
  }
6547
+ /**
6548
+ * This interface was referenced by `Config`'s JSON-Schema
6549
+ * via the `definition` "customer-group-grants".
6550
+ */
6551
+ interface CustomerGroupGrant {
6552
+ id: string;
6553
+ tenant?: (string | null) | Tenant;
6554
+ customer: string | Customer;
6555
+ group: string | CustomerGroup;
6556
+ grantedAt: string;
6557
+ grantedByType: 'operator' | 'server-credential' | 'system' | 'migration';
6558
+ grantedById: string;
6559
+ reason?: string | null;
6560
+ revokedAt?: string | null;
6561
+ revokedByType?: ('operator' | 'server-credential' | 'system' | 'migration') | null;
6562
+ revokedById?: string | null;
6563
+ revision: number;
6564
+ updatedAt: string;
6565
+ createdAt: string;
6566
+ }
6503
6567
  /**
6504
6568
  * This interface was referenced by `Config`'s JSON-Schema
6505
6569
  * via the `definition` "draft-orders".
@@ -6698,6 +6762,9 @@ interface Article {
6698
6762
  * When enabled, the slug will auto-generate from the title field on save and autosave.
6699
6763
  */
6700
6764
  generateSlug?: boolean | null;
6765
+ /**
6766
+ * Slug used in article URLs. It is fixed after creation.
6767
+ */
6701
6768
  slug?: string | null;
6702
6769
  status?: ('draft' | 'published' | 'archived') | null;
6703
6770
  thumbnail?: (string | null) | Image;
@@ -7283,6 +7350,7 @@ interface TrackAsset {
7283
7350
  [k: string]: unknown;
7284
7351
  } | unknown[] | string | number | boolean | null;
7285
7352
  prefix?: string | null;
7353
+ _objectKey?: string | null;
7286
7354
  updatedAt: string;
7287
7355
  createdAt: string;
7288
7356
  deletedAt?: string | null;
@@ -7470,7 +7538,9 @@ interface GalleryItem {
7470
7538
  };
7471
7539
  [k: string]: unknown;
7472
7540
  } | null;
7541
+ mediaType: 'image' | 'video';
7473
7542
  image?: (string | null) | Image;
7543
+ video?: (string | null) | Video;
7474
7544
  metadata?: {
7475
7545
  [k: string]: unknown;
7476
7546
  } | unknown[] | string | number | boolean | null;
@@ -7516,7 +7586,7 @@ interface Link {
7516
7586
  */
7517
7587
  noFollow?: boolean | null;
7518
7588
  /**
7519
- * Link exposure expiration time. Can be used to stop showing the link after this timestamp.
7589
+ * From this time onward, the link is excluded from storefront lists. Stored state and raw collection reads remain unchanged.
7520
7590
  */
7521
7591
  expiresAt?: string | null;
7522
7592
  /**
@@ -8348,6 +8418,21 @@ interface EventCalendar {
8348
8418
  createdAt: string;
8349
8419
  deletedAt?: string | null;
8350
8420
  }
8421
+ /**
8422
+ * This interface was referenced by `Config`'s JSON-Schema
8423
+ * via the `definition` "event-ticket-purchase-prices".
8424
+ */
8425
+ interface EventTicketPurchasePrice {
8426
+ id: string;
8427
+ tenant?: (string | null) | Tenant;
8428
+ admissionType: string | EventAdmissionType;
8429
+ occurrence?: (string | null) | EventOccurrence;
8430
+ amountMinor: number;
8431
+ currency: string;
8432
+ updatedAt: string;
8433
+ createdAt: string;
8434
+ deletedAt?: string | null;
8435
+ }
8351
8436
  /**
8352
8437
  * Manage paid membership plans and benefit groups.
8353
8438
  *
@@ -8452,15 +8537,8 @@ interface CustomerPaymentMethod {
8452
8537
  /**
8453
8538
  * Pinned at issuance; the cron resolves the adapter from this
8454
8539
  */
8455
- mode: 'connect' | 'backend-charge' | 'delegated';
8456
- /**
8457
- * Encrypted payment token (written in P2)
8458
- */
8459
- token?: string | null;
8540
+ mode: 'delegated';
8460
8541
  customerRef?: string | null;
8461
- connectedAccountRef?: string | null;
8462
- submallRef?: string | null;
8463
- channelRef?: string | null;
8464
8542
  card?: {
8465
8543
  last4?: string | null;
8466
8544
  brand?: string | null;
@@ -8480,6 +8558,11 @@ interface CustomerPaymentMethod {
8480
8558
  interface CustomerMembership {
8481
8559
  id: string;
8482
8560
  tenant?: (string | null) | Tenant;
8561
+ unappliedPaidEvidence?: {
8562
+ docs?: (string | MembershipUnappliedPaidEvidence)[];
8563
+ hasNextPage?: boolean;
8564
+ totalDocs?: number;
8565
+ };
8483
8566
  customer: string | Customer;
8484
8567
  plan: string | MembershipPlan;
8485
8568
  price: string | MembershipPlanPrice;
@@ -8510,6 +8593,7 @@ interface CustomerMembership {
8510
8593
  historicalPaidRecoveryEvidence?: string | null;
8511
8594
  currentPeriodStart?: string | null;
8512
8595
  currentPeriodEnd?: string | null;
8596
+ renewalBenefitHoldUntil?: string | null;
8513
8597
  nextBillingAt?: string | null;
8514
8598
  nextRetryAt?: string | null;
8515
8599
  /**
@@ -8536,6 +8620,25 @@ interface CustomerMembership {
8536
8620
  createdAt: string;
8537
8621
  deletedAt?: string | null;
8538
8622
  }
8623
+ /**
8624
+ * Review evidence for paid results that were not applied to a membership.
8625
+ *
8626
+ * This interface was referenced by `Config`'s JSON-Schema
8627
+ * via the `definition` "membership-unapplied-paid-evidence".
8628
+ */
8629
+ interface MembershipUnappliedPaidEvidence {
8630
+ id: string;
8631
+ tenant?: (string | null) | Tenant;
8632
+ membership: string | CustomerMembership;
8633
+ charge: string | MembershipCharge;
8634
+ source: 'webhook' | 'queryCharge' | 'dispatch';
8635
+ reason: 'terminal' | 'setup-expired' | 'period-basis-mismatch' | 'locally-failed';
8636
+ pgPaymentId?: string | null;
8637
+ evidenceKey: string;
8638
+ observedAt: string;
8639
+ updatedAt: string;
8640
+ createdAt: string;
8641
+ }
8539
8642
  /**
8540
8643
  * This interface was referenced by `Config`'s JSON-Schema
8541
8644
  * via the `definition` "membership-charges".
@@ -8543,6 +8646,11 @@ interface CustomerMembership {
8543
8646
  interface MembershipCharge {
8544
8647
  id: string;
8545
8648
  tenant?: (string | null) | Tenant;
8649
+ unappliedPaidEvidence?: {
8650
+ docs?: (string | MembershipUnappliedPaidEvidence)[];
8651
+ hasNextPage?: boolean;
8652
+ totalDocs?: number;
8653
+ };
8546
8654
  membership: string | CustomerMembership;
8547
8655
  customer: string | Customer;
8548
8656
  amount: number;
@@ -8553,6 +8661,8 @@ interface MembershipCharge {
8553
8661
  pgPaymentId?: string | null;
8554
8662
  pgRefundId?: string | null;
8555
8663
  pgProvider?: string | null;
8664
+ terminalDeclinePolicyVersion?: string | null;
8665
+ terminalDeclineReason?: string | null;
8556
8666
  periodStart: string;
8557
8667
  periodEnd: string;
8558
8668
  paidAt?: string | null;
@@ -8568,13 +8678,7 @@ interface TenantPaymentCredential {
8568
8678
  id: string;
8569
8679
  tenant?: (string | null) | Tenant;
8570
8680
  provider: string;
8571
- mode: 'connect' | 'backend-charge' | 'delegated';
8572
- connectedAccountRef?: string | null;
8573
- submallRef?: string | null;
8574
- secretKey?: string | null;
8575
- clientKey?: string | null;
8576
- storeId?: string | null;
8577
- channelKey?: string | null;
8681
+ mode: 'delegated';
8578
8682
  webhookSecret?: string | null;
8579
8683
  delegateChargeUrl?: string | null;
8580
8684
  isActive?: boolean | null;
@@ -8800,7 +8904,7 @@ interface Form {
8800
8904
  deletedAt?: string | null;
8801
8905
  }
8802
8906
  /**
8803
- * Review submitted form responses and processing status.
8907
+ * Review submitted form responses and move them to trash when needed.
8804
8908
  *
8805
8909
  * This interface was referenced by `Config`'s JSON-Schema
8806
8910
  * via the `definition` "form-submissions".
@@ -8918,6 +9022,7 @@ interface UsersSelect<T extends boolean = true> {
8918
9022
  resetPasswordExpiration?: T;
8919
9023
  salt?: T;
8920
9024
  hash?: T;
9025
+ resetPasswordRequestedAt?: T;
8921
9026
  _verified?: T;
8922
9027
  _verificationToken?: T;
8923
9028
  loginAttempts?: T;
@@ -8958,6 +9063,7 @@ interface ImagesSelect<T extends boolean = true> {
8958
9063
  lightMuted?: T;
8959
9064
  };
8960
9065
  prefix?: T;
9066
+ _objectKey?: T;
8961
9067
  uploadStatus?: T;
8962
9068
  processingStatus?: T;
8963
9069
  processingError?: T;
@@ -9026,6 +9132,7 @@ interface SystemMediaSelect<T extends boolean = true> {
9026
9132
  caption?: T;
9027
9133
  credit?: T;
9028
9134
  prefix?: T;
9135
+ _objectKey?: T;
9029
9136
  folder?: T;
9030
9137
  updatedAt?: T;
9031
9138
  createdAt?: T;
@@ -9242,13 +9349,32 @@ interface WebhookOutboxDeliveriesSelect<T extends boolean = true> {
9242
9349
  updatedAt?: T;
9243
9350
  createdAt?: T;
9244
9351
  }
9352
+ /**
9353
+ * This interface was referenced by `Config`'s JSON-Schema
9354
+ * via the `definition` "projects_select".
9355
+ */
9356
+ interface ProjectsSelect<T extends boolean = true> {
9357
+ name?: T;
9358
+ slug?: T;
9359
+ status?: T;
9360
+ authorityMode?: T;
9361
+ updatedAt?: T;
9362
+ createdAt?: T;
9363
+ }
9245
9364
  /**
9246
9365
  * This interface was referenced by `Config`'s JSON-Schema
9247
9366
  * via the `definition` "tenants_select".
9248
9367
  */
9249
9368
  interface TenantsSelect<T extends boolean = true> {
9250
9369
  webhookPurgeFencedAt?: T;
9370
+ project?: T;
9371
+ environmentKind?: T;
9372
+ environmentGeneration?: T;
9373
+ environmentState?: T;
9374
+ environmentIsCurrent?: T;
9375
+ consoleMenuLabels?: T;
9251
9376
  name?: T;
9377
+ timezone?: T;
9252
9378
  tenantPurpose?: T;
9253
9379
  testExpiresAt?: T;
9254
9380
  slug?: T;
@@ -9307,6 +9433,10 @@ interface TenantsSelect<T extends boolean = true> {
9307
9433
  senderDomainRecords?: T;
9308
9434
  };
9309
9435
  customerAuth?: T | {
9436
+ hostedConsentRequired?: T;
9437
+ termsVersion?: T;
9438
+ privacyPolicyVersion?: T;
9439
+ passwordRegistrationEnabled?: T;
9310
9440
  passwordResetDelivery?: T;
9311
9441
  passwordResetUrl?: T;
9312
9442
  };
@@ -9385,6 +9515,7 @@ interface TenantMetadataSelect<T extends boolean = true> {
9385
9515
  * via the `definition` "tenant-entitlements_select".
9386
9516
  */
9387
9517
  interface TenantEntitlementsSelect<T extends boolean = true> {
9518
+ activationKey?: T;
9388
9519
  tenant?: T;
9389
9520
  plan?: T;
9390
9521
  status?: T;
@@ -9421,6 +9552,7 @@ interface TenantPurgeJobsSelect<T extends boolean = true> {
9421
9552
  * via the `definition` "subscriptions_select".
9422
9553
  */
9423
9554
  interface SubscriptionsSelect<T extends boolean = true> {
9555
+ project?: T;
9424
9556
  tenant?: T;
9425
9557
  plan?: T;
9426
9558
  billingModel?: T;
@@ -9570,6 +9702,7 @@ interface UsageInvoicesSelect<T extends boolean = true> {
9570
9702
  };
9571
9703
  subtotalKrw?: T;
9572
9704
  totalKrw?: T;
9705
+ minimumChargeExemption?: T;
9573
9706
  finalizedAt?: T;
9574
9707
  chargedAt?: T;
9575
9708
  rateCardSnapshot?: T;
@@ -9640,6 +9773,7 @@ interface TenantLogosSelect<T extends boolean = true> {
9640
9773
  lightMuted?: T;
9641
9774
  };
9642
9775
  prefix?: T;
9776
+ _objectKey?: T;
9643
9777
  updatedAt?: T;
9644
9778
  createdAt?: T;
9645
9779
  deletedAt?: T;
@@ -9711,147 +9845,16 @@ interface TenantLogosSelect<T extends boolean = true> {
9711
9845
  };
9712
9846
  };
9713
9847
  }
9714
- /**
9715
- * This interface was referenced by `Config`'s JSON-Schema
9716
- * via the `definition` "tenant-web-analytics-config_select".
9717
- */
9718
- interface TenantWebAnalyticsConfigSelect<T extends boolean = true> {
9719
- tenant?: T;
9720
- enabled?: T;
9721
- allowedOrigins?: T | {
9722
- origin?: T;
9723
- id?: T;
9724
- };
9725
- timezone?: T;
9726
- tzLocked?: T;
9727
- updatedAt?: T;
9728
- createdAt?: T;
9729
- deletedAt?: T;
9730
- }
9731
- /**
9732
- * This interface was referenced by `Config`'s JSON-Schema
9733
- * via the `definition` "tenant-analytics-daily_select".
9734
- */
9735
- interface TenantAnalyticsDailySelect<T extends boolean = true> {
9736
- tenant?: T;
9737
- date?: T;
9738
- pageviews?: T;
9739
- visitors?: T;
9740
- topPages?: T | {
9741
- pathname?: T;
9742
- views?: T;
9743
- id?: T;
9744
- };
9745
- topReferrers?: T | {
9746
- source?: T;
9747
- views?: T;
9748
- id?: T;
9749
- };
9750
- topEvents?: T | {
9751
- name?: T;
9752
- count?: T;
9753
- id?: T;
9754
- };
9755
- eventsDropped?: T | {
9756
- cardinality?: T;
9757
- schema?: T;
9758
- schemaUnknownEvent?: T;
9759
- schemaUnknownDim?: T;
9760
- schemaBadValue?: T;
9761
- schemaInvalidProps?: T;
9762
- late?: T;
9763
- origin?: T;
9764
- key?: T;
9765
- rate?: T;
9766
- disabled?: T;
9767
- };
9768
- snapshottedAt?: T;
9769
- bucketTz?: T;
9770
- schemaShape?: T;
9771
- eventDetails?: T | {
9772
- eventName?: T;
9773
- count?: T;
9774
- schemaShape?: T;
9775
- dimensions?: T | {
9776
- dimension?: T;
9777
- values?: T | {
9778
- value?: T;
9779
- count?: T;
9780
- id?: T;
9781
- };
9782
- id?: T;
9783
- };
9784
- pages?: T | {
9785
- pathname?: T;
9786
- count?: T;
9787
- id?: T;
9788
- };
9789
- referrers?: T | {
9790
- source?: T;
9791
- count?: T;
9792
- id?: T;
9793
- };
9794
- id?: T;
9795
- };
9796
- mcpUsage?: T | {
9797
- toolCalls?: T;
9798
- sessions?: T;
9799
- convertedSessions?: T;
9800
- conversionRate?: T;
9801
- successfulWrites?: T;
9802
- isPartial?: T;
9803
- topTools?: T | {
9804
- name?: T;
9805
- count?: T;
9806
- readOnly?: T;
9807
- id?: T;
9808
- };
9809
- transports?: T | {
9810
- name?: T;
9811
- count?: T;
9812
- id?: T;
9813
- };
9814
- httpDurationMs?: T | {
9815
- p50?: T;
9816
- p99?: T;
9817
- buckets?: T | {
9818
- bucket?: T;
9819
- label?: T;
9820
- count?: T;
9821
- id?: T;
9822
- };
9823
- };
9824
- };
9825
- updatedAt?: T;
9826
- createdAt?: T;
9827
- }
9828
- /**
9829
- * This interface was referenced by `Config`'s JSON-Schema
9830
- * via the `definition` "analytics-event-schemas_select".
9831
- */
9832
- interface AnalyticsEventSchemasSelect<T extends boolean = true> {
9833
- tenant?: T;
9834
- eventName?: T;
9835
- enabled?: T;
9836
- dimensions?: T | {
9837
- key?: T;
9838
- type?: T;
9839
- allowedValues?: T;
9840
- description?: T;
9841
- id?: T;
9842
- };
9843
- createdBy?: T;
9844
- updatedBy?: T;
9845
- updatedAt?: T;
9846
- createdAt?: T;
9847
- deletedAt?: T;
9848
- }
9849
9848
  /**
9850
9849
  * This interface was referenced by `Config`'s JSON-Schema
9851
9850
  * via the `definition` "api-usage_select".
9852
9851
  */
9853
9852
  interface ApiUsageSelect<T extends boolean = true> {
9854
9853
  tenant?: T;
9854
+ project?: T;
9855
+ environmentKind?: T;
9856
+ environmentGeneration?: T;
9857
+ billable?: T;
9855
9858
  month?: T;
9856
9859
  apiCallCount?: T;
9857
9860
  plan?: T;
@@ -9864,7 +9867,21 @@ interface ApiUsageSelect<T extends boolean = true> {
9864
9867
  deliveryMinutesUsed?: T;
9865
9868
  aiGenerationCount?: T;
9866
9869
  notificationEmailCount?: T;
9870
+ emailUsage?: T;
9871
+ snapshottedAt?: T;
9872
+ updatedAt?: T;
9873
+ createdAt?: T;
9874
+ }
9875
+ /**
9876
+ * This interface was referenced by `Config`'s JSON-Schema
9877
+ * via the `definition` "tenant-mcp-usage-daily_select".
9878
+ */
9879
+ interface TenantMcpUsageDailySelect<T extends boolean = true> {
9880
+ tenant?: T;
9881
+ date?: T;
9882
+ bucketTz?: T;
9867
9883
  snapshottedAt?: T;
9884
+ usage?: T;
9868
9885
  updatedAt?: T;
9869
9886
  createdAt?: T;
9870
9887
  }
@@ -10179,6 +10196,7 @@ interface BrandLogosSelect<T extends boolean = true> {
10179
10196
  lightMuted?: T;
10180
10197
  };
10181
10198
  prefix?: T;
10199
+ _objectKey?: T;
10182
10200
  updatedAt?: T;
10183
10201
  createdAt?: T;
10184
10202
  deletedAt?: T;
@@ -10294,6 +10312,7 @@ interface OrdersSelect<T extends boolean = true> {
10294
10312
  id?: T;
10295
10313
  };
10296
10314
  customerNote?: T;
10315
+ adminNotes?: T;
10297
10316
  transactions?: T;
10298
10317
  financialStatus?: T;
10299
10318
  reconciliationStatus?: T;
@@ -10320,6 +10339,8 @@ interface OrdersSelect<T extends boolean = true> {
10320
10339
  usageReserved?: T;
10321
10340
  priority?: T;
10322
10341
  inputOrder?: T;
10342
+ conditionDigest?: T;
10343
+ customerEligibilityEvidence?: T;
10323
10344
  id?: T;
10324
10345
  };
10325
10346
  discountAmount?: T;
@@ -10348,7 +10369,6 @@ interface OrdersSelect<T extends boolean = true> {
10348
10369
  };
10349
10370
  clientReferenceId?: T;
10350
10371
  integrationMetadata?: T;
10351
- adminNotes?: T;
10352
10372
  source?: T;
10353
10373
  tags?: T;
10354
10374
  tagSlugs?: T | {
@@ -10366,6 +10386,20 @@ interface OrdersSelect<T extends boolean = true> {
10366
10386
  createdAt?: T;
10367
10387
  deletedAt?: T;
10368
10388
  }
10389
+ /**
10390
+ * This interface was referenced by `Config`'s JSON-Schema
10391
+ * via the `definition` "order-saved-views_select".
10392
+ */
10393
+ interface OrderSavedViewsSelect<T extends boolean = true> {
10394
+ tenant?: T;
10395
+ owner?: T;
10396
+ name?: T;
10397
+ schemaVersion?: T;
10398
+ where?: T;
10399
+ columns?: T;
10400
+ updatedAt?: T;
10401
+ createdAt?: T;
10402
+ }
10369
10403
  /**
10370
10404
  * This interface was referenced by `Config`'s JSON-Schema
10371
10405
  * via the `definition` "order-tags_select".
@@ -10587,6 +10621,7 @@ interface PaymentSessionsSelect<T extends boolean = true> {
10587
10621
  providerSessionId?: T;
10588
10622
  providerActionUrl?: T;
10589
10623
  providerAction?: T;
10624
+ admissionEligibilityFreeze?: T;
10590
10625
  providerAccount?: T;
10591
10626
  credentialVersion?: T;
10592
10627
  environment?: T;
@@ -10846,6 +10881,7 @@ interface PaymentKernelObligationsSelect<T extends boolean = true> {
10846
10881
  requestFingerprint?: T;
10847
10882
  amount?: T;
10848
10883
  currency?: T;
10884
+ merchantReference?: T;
10849
10885
  executionOwner?: T;
10850
10886
  provider?: T;
10851
10887
  providerAccountKey?: T;
@@ -10977,6 +11013,7 @@ interface PaymentKernelReconciliationCasesSelect<T extends boolean = true> {
10977
11013
  */
10978
11014
  interface PaymentKernelResultsSelect<T extends boolean = true> {
10979
11015
  tenant?: T;
11016
+ objectless?: T;
10980
11017
  operation?: T;
10981
11018
  obligation?: T;
10982
11019
  ownerIdentity?: T;
@@ -11006,6 +11043,7 @@ interface PaymentKernelResultsSelect<T extends boolean = true> {
11006
11043
  */
11007
11044
  interface PaymentKernelOwnerCommitsSelect<T extends boolean = true> {
11008
11045
  tenant?: T;
11046
+ objectless?: T;
11009
11047
  kernelResult?: T;
11010
11048
  ownerIdentity?: T;
11011
11049
  ownerKind?: T;
@@ -11339,8 +11377,8 @@ interface CustomersSelect<T extends boolean = true> {
11339
11377
  _customers_customers_order?: T;
11340
11378
  _order?: T;
11341
11379
  tenant?: T;
11342
- name?: T;
11343
11380
  email?: T;
11381
+ name?: T;
11344
11382
  phone?: T;
11345
11383
  groups?: T;
11346
11384
  note?: T;
@@ -11411,6 +11449,21 @@ interface CustomersSelect<T extends boolean = true> {
11411
11449
  createdAt?: T;
11412
11450
  deletedAt?: T;
11413
11451
  }
11452
+ /**
11453
+ * This interface was referenced by `Config`'s JSON-Schema
11454
+ * via the `definition` "customer-consent-receipts_select".
11455
+ */
11456
+ interface CustomerConsentReceiptsSelect<T extends boolean = true> {
11457
+ tenant?: T;
11458
+ customer?: T;
11459
+ termsVersion?: T;
11460
+ privacyPolicyVersion?: T;
11461
+ consentedAt?: T;
11462
+ path?: T;
11463
+ oauthClientId?: T;
11464
+ updatedAt?: T;
11465
+ createdAt?: T;
11466
+ }
11414
11467
  /**
11415
11468
  * This interface was referenced by `Config`'s JSON-Schema
11416
11469
  * via the `definition` "customer-oauth-clients_select".
@@ -11558,6 +11611,25 @@ interface CustomerGroupsSelect<T extends boolean = true> {
11558
11611
  createdAt?: T;
11559
11612
  deletedAt?: T;
11560
11613
  }
11614
+ /**
11615
+ * This interface was referenced by `Config`'s JSON-Schema
11616
+ * via the `definition` "customer-group-grants_select".
11617
+ */
11618
+ interface CustomerGroupGrantsSelect<T extends boolean = true> {
11619
+ tenant?: T;
11620
+ customer?: T;
11621
+ group?: T;
11622
+ grantedAt?: T;
11623
+ grantedByType?: T;
11624
+ grantedById?: T;
11625
+ reason?: T;
11626
+ revokedAt?: T;
11627
+ revokedByType?: T;
11628
+ revokedById?: T;
11629
+ revision?: T;
11630
+ updatedAt?: T;
11631
+ createdAt?: T;
11632
+ }
11561
11633
  /**
11562
11634
  * This interface was referenced by `Config`'s JSON-Schema
11563
11635
  * via the `definition` "carts_select".
@@ -11674,6 +11746,7 @@ interface CheckoutsSelect<T extends boolean = true> {
11674
11746
  checkoutTokenCiphertext?: T;
11675
11747
  createIdempotencyKey?: T;
11676
11748
  createRequestFingerprint?: T;
11749
+ admissionEligibilityFreeze?: T;
11677
11750
  providerOrderId?: T;
11678
11751
  cart?: T;
11679
11752
  cartRevision?: T;
@@ -11736,6 +11809,8 @@ interface CheckoutsSelect<T extends boolean = true> {
11736
11809
  usageReserved?: T;
11737
11810
  priority?: T;
11738
11811
  inputOrder?: T;
11812
+ conditionDigest?: T;
11813
+ customerEligibilityEvidence?: T;
11739
11814
  id?: T;
11740
11815
  };
11741
11816
  discountAmount?: T;
@@ -12201,6 +12276,7 @@ interface TrackAssetsSelect<T extends boolean = true> {
12201
12276
  title?: T;
12202
12277
  metadata?: T;
12203
12278
  prefix?: T;
12279
+ _objectKey?: T;
12204
12280
  updatedAt?: T;
12205
12281
  createdAt?: T;
12206
12282
  deletedAt?: T;
@@ -12334,7 +12410,9 @@ interface GalleryItemsSelect<T extends boolean = true> {
12334
12410
  description?: T;
12335
12411
  status?: T;
12336
12412
  content?: T;
12413
+ mediaType?: T;
12337
12414
  image?: T;
12415
+ video?: T;
12338
12416
  metadata?: T;
12339
12417
  updatedAt?: T;
12340
12418
  createdAt?: T;
@@ -12591,6 +12669,11 @@ interface VideosSelect<T extends boolean = true> {
12591
12669
  filename?: T;
12592
12670
  description?: T;
12593
12671
  content?: T;
12672
+ chapters?: T | {
12673
+ title?: T;
12674
+ startSeconds?: T;
12675
+ id?: T;
12676
+ };
12594
12677
  sourceLiveStream?: T;
12595
12678
  categories?: T;
12596
12679
  tags?: T;
@@ -12602,6 +12685,8 @@ interface VideosSelect<T extends boolean = true> {
12602
12685
  mp4Support?: T;
12603
12686
  muxAssetId?: T;
12604
12687
  muxPlaybackId?: T;
12688
+ muxSignedPlaybackId?: T;
12689
+ muxPublicPlaybackRevokedAt?: T;
12605
12690
  muxUploadId?: T;
12606
12691
  seo?: T | {
12607
12692
  title?: T;
@@ -12622,11 +12707,6 @@ interface VideosSelect<T extends boolean = true> {
12622
12707
  metadata?: T;
12623
12708
  viewCount?: T;
12624
12709
  aspectRatio?: T;
12625
- chapters?: T | {
12626
- title?: T;
12627
- startSeconds?: T;
12628
- id?: T;
12629
- };
12630
12710
  updatedAt?: T;
12631
12711
  createdAt?: T;
12632
12712
  deletedAt?: T;
@@ -13028,6 +13108,8 @@ interface EventAdmissionHoldsSelect<T extends boolean = true> {
13028
13108
  admissionType?: T;
13029
13109
  checkout?: T;
13030
13110
  checkoutItem?: T;
13111
+ ticketPurchase?: T;
13112
+ paymentKernelObligation?: T;
13031
13113
  quantity?: T;
13032
13114
  status?: T;
13033
13115
  expiresAt?: T;
@@ -13049,6 +13131,8 @@ interface EventAdmissionTypesSelect<T extends boolean = true> {
13049
13131
  event?: T;
13050
13132
  occurrence?: T;
13051
13133
  priceReference?: T;
13134
+ allowedCustomerGroups?: T;
13135
+ firstRestrictedAt?: T;
13052
13136
  maxQuantityPerOccurrence?: T;
13053
13137
  validFrom?: T;
13054
13138
  validUntil?: T;
@@ -13057,6 +13141,36 @@ interface EventAdmissionTypesSelect<T extends boolean = true> {
13057
13141
  createdAt?: T;
13058
13142
  deletedAt?: T;
13059
13143
  }
13144
+ /**
13145
+ * This interface was referenced by `Config`'s JSON-Schema
13146
+ * via the `definition` "event-ticket-purchases_select".
13147
+ */
13148
+ interface EventTicketPurchasesSelect<T extends boolean = true> {
13149
+ tenant?: T;
13150
+ idempotencyKey?: T;
13151
+ principalMinor?: T;
13152
+ currency?: T;
13153
+ components?: T;
13154
+ resultEntries?: T;
13155
+ refundEntries?: T;
13156
+ updatedAt?: T;
13157
+ createdAt?: T;
13158
+ deletedAt?: T;
13159
+ }
13160
+ /**
13161
+ * This interface was referenced by `Config`'s JSON-Schema
13162
+ * via the `definition` "event-ticket-purchase-prices_select".
13163
+ */
13164
+ interface EventTicketPurchasePricesSelect<T extends boolean = true> {
13165
+ tenant?: T;
13166
+ admissionType?: T;
13167
+ occurrence?: T;
13168
+ amountMinor?: T;
13169
+ currency?: T;
13170
+ updatedAt?: T;
13171
+ createdAt?: T;
13172
+ deletedAt?: T;
13173
+ }
13060
13174
  /**
13061
13175
  * This interface was referenced by `Config`'s JSON-Schema
13062
13176
  * via the `definition` "event-categories_select".
@@ -13153,6 +13267,10 @@ interface EventRegistrationsSelect<T extends boolean = true> {
13153
13267
  answer?: T;
13154
13268
  id?: T;
13155
13269
  };
13270
+ creationChannel?: T;
13271
+ createdByOperator?: T;
13272
+ operatorAdmissionBasis?: T;
13273
+ confirmationNotificationPolicy?: T;
13156
13274
  approval?: T | {
13157
13275
  approvedAt?: T;
13158
13276
  approvedBy?: T;
@@ -13227,11 +13345,7 @@ interface CustomerPaymentMethodsSelect<T extends boolean = true> {
13227
13345
  customer?: T;
13228
13346
  provider?: T;
13229
13347
  mode?: T;
13230
- token?: T;
13231
13348
  customerRef?: T;
13232
- connectedAccountRef?: T;
13233
- submallRef?: T;
13234
- channelRef?: T;
13235
13349
  card?: T | {
13236
13350
  last4?: T;
13237
13351
  brand?: T;
@@ -13248,6 +13362,7 @@ interface CustomerPaymentMethodsSelect<T extends boolean = true> {
13248
13362
  */
13249
13363
  interface CustomerMembershipsSelect<T extends boolean = true> {
13250
13364
  tenant?: T;
13365
+ unappliedPaidEvidence?: T;
13251
13366
  customer?: T;
13252
13367
  plan?: T;
13253
13368
  price?: T;
@@ -13263,6 +13378,7 @@ interface CustomerMembershipsSelect<T extends boolean = true> {
13263
13378
  historicalPaidRecoveryEvidence?: T;
13264
13379
  currentPeriodStart?: T;
13265
13380
  currentPeriodEnd?: T;
13381
+ renewalBenefitHoldUntil?: T;
13266
13382
  nextBillingAt?: T;
13267
13383
  nextRetryAt?: T;
13268
13384
  cancelAtPeriodEnd?: T;
@@ -13283,6 +13399,7 @@ interface CustomerMembershipsSelect<T extends boolean = true> {
13283
13399
  */
13284
13400
  interface MembershipChargesSelect<T extends boolean = true> {
13285
13401
  tenant?: T;
13402
+ unappliedPaidEvidence?: T;
13286
13403
  membership?: T;
13287
13404
  customer?: T;
13288
13405
  amount?: T;
@@ -13293,6 +13410,8 @@ interface MembershipChargesSelect<T extends boolean = true> {
13293
13410
  pgPaymentId?: T;
13294
13411
  pgRefundId?: T;
13295
13412
  pgProvider?: T;
13413
+ terminalDeclinePolicyVersion?: T;
13414
+ terminalDeclineReason?: T;
13296
13415
  periodStart?: T;
13297
13416
  periodEnd?: T;
13298
13417
  paidAt?: T;
@@ -13300,6 +13419,22 @@ interface MembershipChargesSelect<T extends boolean = true> {
13300
13419
  updatedAt?: T;
13301
13420
  createdAt?: T;
13302
13421
  }
13422
+ /**
13423
+ * This interface was referenced by `Config`'s JSON-Schema
13424
+ * via the `definition` "membership-unapplied-paid-evidence_select".
13425
+ */
13426
+ interface MembershipUnappliedPaidEvidenceSelect<T extends boolean = true> {
13427
+ tenant?: T;
13428
+ membership?: T;
13429
+ charge?: T;
13430
+ source?: T;
13431
+ reason?: T;
13432
+ pgPaymentId?: T;
13433
+ evidenceKey?: T;
13434
+ observedAt?: T;
13435
+ updatedAt?: T;
13436
+ createdAt?: T;
13437
+ }
13303
13438
  /**
13304
13439
  * This interface was referenced by `Config`'s JSON-Schema
13305
13440
  * via the `definition` "tenant-payment-credentials_select".
@@ -13308,12 +13443,6 @@ interface TenantPaymentCredentialsSelect<T extends boolean = true> {
13308
13443
  tenant?: T;
13309
13444
  provider?: T;
13310
13445
  mode?: T;
13311
- connectedAccountRef?: T;
13312
- submallRef?: T;
13313
- secretKey?: T;
13314
- clientKey?: T;
13315
- storeId?: T;
13316
- channelKey?: T;
13317
13446
  webhookSecret?: T;
13318
13447
  delegateChargeUrl?: T;
13319
13448
  isActive?: T;