@01.software/sdk 0.5.7 → 0.5.9

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.
@@ -75,6 +75,9 @@ interface Config {
75
75
  'gallery-categories': GalleryCategory;
76
76
  'gallery-tags': GalleryTag;
77
77
  'gallery-items': GalleryItem;
78
+ links: Link;
79
+ 'link-categories': LinkCategory;
80
+ 'link-tags': LinkTag;
78
81
  flows: Flow;
79
82
  'flow-node-types': FlowNodeType;
80
83
  'flow-edge-types': FlowEdgeType;
@@ -194,6 +197,9 @@ interface Config {
194
197
  'gallery-categories': GalleryCategoriesSelect<false> | GalleryCategoriesSelect<true>;
195
198
  'gallery-tags': GalleryTagsSelect<false> | GalleryTagsSelect<true>;
196
199
  'gallery-items': GalleryItemsSelect<false> | GalleryItemsSelect<true>;
200
+ links: LinksSelect<false> | LinksSelect<true>;
201
+ 'link-categories': LinkCategoriesSelect<false> | LinkCategoriesSelect<true>;
202
+ 'link-tags': LinkTagsSelect<false> | LinkTagsSelect<true>;
197
203
  flows: FlowsSelect<false> | FlowsSelect<true>;
198
204
  'flow-node-types': FlowNodeTypesSelect<false> | FlowNodeTypesSelect<true>;
199
205
  'flow-edge-types': FlowEdgeTypesSelect<false> | FlowEdgeTypesSelect<true>;
@@ -345,7 +351,7 @@ interface Tenant {
345
351
  */
346
352
  owner: string | User;
347
353
  plan: 'free' | 'starter' | 'basic' | 'pro' | 'enterprise';
348
- features?: ('ecommerce' | 'playlists' | 'galleries' | 'forms' | 'posts' | 'documents' | 'flows' | 'videos' | 'live-streaming')[] | null;
354
+ features?: ('ecommerce' | 'customers' | 'playlists' | 'galleries' | 'links' | 'forms' | 'posts' | 'documents' | 'flows' | 'videos' | 'live-streaming')[] | null;
349
355
  /**
350
356
  * Require email verification on customer registration. Verification token is delivered via webhook (operation: verification). You must configure a webhook URL first.
351
357
  */
@@ -404,7 +410,7 @@ interface Tenant {
404
410
  interface FieldConfig {
405
411
  id: string;
406
412
  tenant?: (string | null) | Tenant;
407
- collectionSlug: 'products' | 'product-variants' | 'product-options' | 'product-collections' | 'product-categories' | 'product-tags' | 'brands' | 'discounts' | 'shipping-policies' | 'orders' | 'customers' | 'customer-groups' | 'carts' | 'transactions' | 'fulfillments' | 'returns' | 'exchanges' | 'post-authors' | 'posts' | 'post-categories' | 'post-tags' | 'documents' | 'document-categories' | 'document-types' | 'playlists' | 'playlist-categories' | 'playlist-tags' | 'musics' | 'music-categories' | 'music-tags' | 'galleries' | 'gallery-categories' | 'gallery-tags' | 'gallery-items' | 'flows' | 'flow-categories' | 'flow-tags' | 'flow-node-types' | 'flow-edge-types' | 'videos' | 'video-categories' | 'video-tags' | 'live-streams' | 'forms';
413
+ collectionSlug: 'products' | 'product-variants' | 'product-options' | 'product-collections' | 'product-categories' | 'product-tags' | 'brands' | 'discounts' | 'shipping-policies' | 'orders' | 'carts' | 'transactions' | 'fulfillments' | 'returns' | 'exchanges' | 'customers' | 'customer-groups' | 'post-authors' | 'posts' | 'post-categories' | 'post-tags' | 'documents' | 'document-categories' | 'document-types' | 'playlists' | 'playlist-categories' | 'playlist-tags' | 'musics' | 'music-categories' | 'music-tags' | 'galleries' | 'gallery-categories' | 'gallery-tags' | 'gallery-items' | 'links' | 'link-categories' | 'link-tags' | 'flows' | 'flow-categories' | 'flow-tags' | 'flow-node-types' | 'flow-edge-types' | 'videos' | 'video-categories' | 'video-tags' | 'live-streams' | 'forms';
408
414
  isHidden?: boolean | null;
409
415
  hiddenFields?: {
410
416
  [k: string]: unknown;
@@ -1397,8 +1403,8 @@ interface VideoTag {
1397
1403
  */
1398
1404
  interface ProductVariant {
1399
1405
  id: string;
1400
- _order?: string | null;
1401
1406
  '_product-variants_variants_order'?: string | null;
1407
+ _order?: string | null;
1402
1408
  tenant?: (string | null) | Tenant;
1403
1409
  product: string | Product;
1404
1410
  title: string;
@@ -1447,9 +1453,9 @@ interface ProductVariant {
1447
1453
  */
1448
1454
  interface ProductOption {
1449
1455
  id: string;
1450
- _order?: string | null;
1451
1456
  '_product-options_productOptions_order'?: string | null;
1452
1457
  '_product-options_options_order'?: string | null;
1458
+ _order?: string | null;
1453
1459
  tenant?: (string | null) | Tenant;
1454
1460
  product: string | Product;
1455
1461
  variant?: (string | null) | ProductVariant;
@@ -1460,7 +1466,7 @@ interface ProductOption {
1460
1466
  sku?: string | null;
1461
1467
  stock: number;
1462
1468
  /**
1463
- * Reserved by carts (available = stock - reservedStock)
1469
+ * Paid orders in transit (informational stock alone gates new purchases)
1464
1470
  */
1465
1471
  reservedStock?: number | null;
1466
1472
  /**
@@ -1617,7 +1623,7 @@ interface Brand {
1617
1623
  */
1618
1624
  generateSlug?: boolean | null;
1619
1625
  slug?: string | null;
1620
- status?: ('draft' | 'published') | null;
1626
+ status?: ('draft' | 'published' | 'archived') | null;
1621
1627
  isFeatured?: boolean | null;
1622
1628
  publishedAt?: string | null;
1623
1629
  metadata?: {
@@ -2384,6 +2390,7 @@ interface Post {
2384
2390
  thumbnail?: (string | null) | Image;
2385
2391
  images?: (string | Image)[] | null;
2386
2392
  publishedAt?: string | null;
2393
+ customer?: (string | null) | Customer;
2387
2394
  isFeatured?: boolean | null;
2388
2395
  /**
2389
2396
  * Read time (minutes)
@@ -2762,8 +2769,8 @@ interface PlaylistTag {
2762
2769
  */
2763
2770
  interface Music {
2764
2771
  id: string;
2765
- _order?: string | null;
2766
2772
  _musics_musics_order?: string | null;
2773
+ _order?: string | null;
2767
2774
  tenant?: (string | null) | Tenant;
2768
2775
  playlist: string | Playlist;
2769
2776
  url: string;
@@ -2928,7 +2935,7 @@ interface Gallery {
2928
2935
  generateSlug?: boolean | null;
2929
2936
  slug?: string | null;
2930
2937
  thumbnail?: (string | null) | Image;
2931
- status: 'draft' | 'published' | 'archived';
2938
+ status?: ('draft' | 'published' | 'archived') | null;
2932
2939
  isFeatured?: boolean | null;
2933
2940
  publishedAt?: string | null;
2934
2941
  metadata?: {
@@ -2994,8 +3001,8 @@ interface GalleryTag {
2994
3001
  */
2995
3002
  interface GalleryItem {
2996
3003
  id: string;
2997
- _order?: string | null;
2998
3004
  '_gallery-items_items_order'?: string | null;
3005
+ _order?: string | null;
2999
3006
  tenant?: (string | null) | Tenant;
3000
3007
  gallery: string | Gallery;
3001
3008
  title?: string | null;
@@ -3026,6 +3033,91 @@ interface GalleryItem {
3026
3033
  createdAt: string;
3027
3034
  deletedAt?: string | null;
3028
3035
  }
3036
+ /**
3037
+ * This interface was referenced by `Config`'s JSON-Schema
3038
+ * via the `definition` "links".
3039
+ */
3040
+ interface Link {
3041
+ id: string;
3042
+ _order?: string | null;
3043
+ tenant?: (string | null) | Tenant;
3044
+ title: string;
3045
+ /**
3046
+ * Link URL (internal or external)
3047
+ */
3048
+ url: string;
3049
+ /**
3050
+ * Short summary for listing/cards
3051
+ */
3052
+ description?: string | null;
3053
+ categories?: (string | LinkCategory)[] | null;
3054
+ tags?: (string | LinkTag)[] | null;
3055
+ /**
3056
+ * When enabled, the slug will auto-generate from the title field on save and autosave.
3057
+ */
3058
+ generateSlug?: boolean | null;
3059
+ slug?: string | null;
3060
+ type?: ('external' | 'social' | 'internal') | null;
3061
+ thumbnail?: (string | null) | Image;
3062
+ status?: ('draft' | 'published' | 'archived') | null;
3063
+ isFeatured?: boolean | null;
3064
+ metadata?: {
3065
+ [k: string]: unknown;
3066
+ } | unknown[] | string | number | boolean | null;
3067
+ updatedAt: string;
3068
+ createdAt: string;
3069
+ deletedAt?: string | null;
3070
+ }
3071
+ /**
3072
+ * This interface was referenced by `Config`'s JSON-Schema
3073
+ * via the `definition` "link-categories".
3074
+ */
3075
+ interface LinkCategory {
3076
+ id: string;
3077
+ _order?: string | null;
3078
+ tenant?: (string | null) | Tenant;
3079
+ title: string;
3080
+ /**
3081
+ * When enabled, the slug will auto-generate from the title field on save and autosave.
3082
+ */
3083
+ generateSlug?: boolean | null;
3084
+ slug?: string | null;
3085
+ /**
3086
+ * Short summary for listing/cards
3087
+ */
3088
+ description?: string | null;
3089
+ image?: (string | null) | Image;
3090
+ parent?: (string | null) | LinkCategory;
3091
+ color?: string | null;
3092
+ updatedAt: string;
3093
+ createdAt: string;
3094
+ deletedAt?: string | null;
3095
+ }
3096
+ /**
3097
+ * This interface was referenced by `Config`'s JSON-Schema
3098
+ * via the `definition` "link-tags".
3099
+ */
3100
+ interface LinkTag {
3101
+ id: string;
3102
+ _order?: string | null;
3103
+ tenant?: (string | null) | Tenant;
3104
+ title: string;
3105
+ /**
3106
+ * When enabled, the slug will auto-generate from the title field on save and autosave.
3107
+ */
3108
+ generateSlug?: boolean | null;
3109
+ slug?: string | null;
3110
+ /**
3111
+ * Short summary for listing/cards
3112
+ */
3113
+ description?: string | null;
3114
+ image?: (string | null) | Image;
3115
+ parent?: (string | null) | LinkTag;
3116
+ color?: string | null;
3117
+ updatedAt: string;
3118
+ createdAt: string;
3119
+ deletedAt?: string | null;
3120
+ }
3029
3121
  /**
3030
3122
  * This interface was referenced by `Config`'s JSON-Schema
3031
3123
  * via the `definition` "flows".
@@ -3268,7 +3360,7 @@ interface Form {
3268
3360
  * Short summary for listing/cards
3269
3361
  */
3270
3362
  description?: string | null;
3271
- status: 'active' | 'inactive';
3363
+ status?: ('active' | 'inactive') | null;
3272
3364
  /**
3273
3365
  * When enabled, the slug will auto-generate from the title field on save and autosave.
3274
3366
  */
@@ -3623,6 +3715,15 @@ interface PayloadLockedDocument {
3623
3715
  } | null) | ({
3624
3716
  relationTo: 'gallery-items';
3625
3717
  value: string | GalleryItem;
3718
+ } | null) | ({
3719
+ relationTo: 'links';
3720
+ value: string | Link;
3721
+ } | null) | ({
3722
+ relationTo: 'link-categories';
3723
+ value: string | LinkCategory;
3724
+ } | null) | ({
3725
+ relationTo: 'link-tags';
3726
+ value: string | LinkTag;
3626
3727
  } | null) | ({
3627
3728
  relationTo: 'flows';
3628
3729
  value: string | Flow;
@@ -4184,8 +4285,8 @@ interface ProductsSelect<T extends boolean = true> {
4184
4285
  * via the `definition` "product-variants_select".
4185
4286
  */
4186
4287
  interface ProductVariantsSelect<T extends boolean = true> {
4187
- _order?: T;
4188
4288
  '_product-variants_variants_order'?: T;
4289
+ _order?: T;
4189
4290
  tenant?: T;
4190
4291
  product?: T;
4191
4292
  title?: T;
@@ -4209,9 +4310,9 @@ interface ProductVariantsSelect<T extends boolean = true> {
4209
4310
  * via the `definition` "product-options_select".
4210
4311
  */
4211
4312
  interface ProductOptionsSelect<T extends boolean = true> {
4212
- _order?: T;
4213
4313
  '_product-options_productOptions_order'?: T;
4214
4314
  '_product-options_options_order'?: T;
4315
+ _order?: T;
4215
4316
  tenant?: T;
4216
4317
  product?: T;
4217
4318
  variant?: T;
@@ -4820,6 +4921,7 @@ interface PostsSelect<T extends boolean = true> {
4820
4921
  thumbnail?: T;
4821
4922
  images?: T;
4822
4923
  publishedAt?: T;
4924
+ customer?: T;
4823
4925
  isFeatured?: T;
4824
4926
  readTime?: T;
4825
4927
  metadata?: T;
@@ -5041,8 +5143,8 @@ interface PlaylistTagsSelect<T extends boolean = true> {
5041
5143
  * via the `definition` "musics_select".
5042
5144
  */
5043
5145
  interface MusicsSelect<T extends boolean = true> {
5044
- _order?: T;
5045
5146
  _musics_musics_order?: T;
5147
+ _order?: T;
5046
5148
  tenant?: T;
5047
5149
  playlist?: T;
5048
5150
  url?: T;
@@ -5179,8 +5281,8 @@ interface GalleryTagsSelect<T extends boolean = true> {
5179
5281
  * via the `definition` "gallery-items_select".
5180
5282
  */
5181
5283
  interface GalleryItemsSelect<T extends boolean = true> {
5182
- _order?: T;
5183
5284
  '_gallery-items_items_order'?: T;
5285
+ _order?: T;
5184
5286
  tenant?: T;
5185
5287
  gallery?: T;
5186
5288
  title?: T;
@@ -5192,6 +5294,65 @@ interface GalleryItemsSelect<T extends boolean = true> {
5192
5294
  createdAt?: T;
5193
5295
  deletedAt?: T;
5194
5296
  }
5297
+ /**
5298
+ * This interface was referenced by `Config`'s JSON-Schema
5299
+ * via the `definition` "links_select".
5300
+ */
5301
+ interface LinksSelect<T extends boolean = true> {
5302
+ _order?: T;
5303
+ tenant?: T;
5304
+ title?: T;
5305
+ url?: T;
5306
+ description?: T;
5307
+ categories?: T;
5308
+ tags?: T;
5309
+ generateSlug?: T;
5310
+ slug?: T;
5311
+ type?: T;
5312
+ thumbnail?: T;
5313
+ status?: T;
5314
+ isFeatured?: T;
5315
+ metadata?: T;
5316
+ updatedAt?: T;
5317
+ createdAt?: T;
5318
+ deletedAt?: T;
5319
+ }
5320
+ /**
5321
+ * This interface was referenced by `Config`'s JSON-Schema
5322
+ * via the `definition` "link-categories_select".
5323
+ */
5324
+ interface LinkCategoriesSelect<T extends boolean = true> {
5325
+ _order?: T;
5326
+ tenant?: T;
5327
+ title?: T;
5328
+ generateSlug?: T;
5329
+ slug?: T;
5330
+ description?: T;
5331
+ image?: T;
5332
+ parent?: T;
5333
+ color?: T;
5334
+ updatedAt?: T;
5335
+ createdAt?: T;
5336
+ deletedAt?: T;
5337
+ }
5338
+ /**
5339
+ * This interface was referenced by `Config`'s JSON-Schema
5340
+ * via the `definition` "link-tags_select".
5341
+ */
5342
+ interface LinkTagsSelect<T extends boolean = true> {
5343
+ _order?: T;
5344
+ tenant?: T;
5345
+ title?: T;
5346
+ generateSlug?: T;
5347
+ slug?: T;
5348
+ description?: T;
5349
+ image?: T;
5350
+ parent?: T;
5351
+ color?: T;
5352
+ updatedAt?: T;
5353
+ createdAt?: T;
5354
+ deletedAt?: T;
5355
+ }
5195
5356
  /**
5196
5357
  * This interface was referenced by `Config`'s JSON-Schema
5197
5358
  * via the `definition` "flows_select".
@@ -5643,4 +5804,4 @@ declare module 'payload' {
5643
5804
  }
5644
5805
  }
5645
5806
 
5646
- export type { Document as $, Audience as A, BrandLogo as B, Config as C, ProductCollection as D, Exchange as E, Form as F, Customer as G, CustomerGroup as H, IframeBlock as I, CustomerAddress as J, FulfillmentItem as K, LiveStream as L, ReturnProduct as M, ExchangeProduct as N, Order as O, Product as P, OrderStatusLog as Q, Return as R, SupportedTimezones as S, Transaction as T, UserAuthOperations as U, Video as V, Discount as W, Post as X, PostAuthor as Y, PostCategory as Z, PostTag as _, OrderProduct as a, DocumentsSelect as a$, DocumentType as a0, DocumentCategory as a1, Playlist as a2, PlaylistCategory as a3, PlaylistTag as a4, Music as a5, MusicCategory as a6, MusicTag as a7, Gallery as a8, GalleryCategory as a9, ProductOptionsSelect as aA, ProductCategoriesSelect as aB, ProductTagsSelect as aC, ProductCollectionsSelect as aD, BrandsSelect as aE, BrandLogosSelect as aF, OrdersSelect as aG, OrderProductsSelect as aH, TransactionsSelect as aI, OrderStatusLogsSelect as aJ, FulfillmentsSelect as aK, FulfillmentItemsSelect as aL, ReturnsSelect as aM, ReturnProductsSelect as aN, ExchangesSelect as aO, ExchangeProductsSelect as aP, ShippingPoliciesSelect as aQ, CustomersSelect as aR, CustomerAddressesSelect as aS, CustomerGroupsSelect as aT, CartsSelect as aU, CartItemsSelect as aV, DiscountsSelect as aW, PostsSelect as aX, PostAuthorsSelect as aY, PostCategoriesSelect as aZ, PostTagsSelect as a_, GalleryTag as aa, GalleryItem as ab, Flow as ac, FlowCategory as ad, FlowTag as ae, FlowNodeType as af, FlowEdgeType as ag, FormSubmission as ah, PayloadKv as ai, PayloadLockedDocument as aj, PayloadPreference as ak, PayloadMigration as al, UsersSelect as am, FieldConfigsSelect as an, ImagesSelect as ao, SystemMediaSelect as ap, AudiencesSelect as aq, EmailLogsSelect as ar, TenantsSelect as as, TenantMetadataSelect as at, ApiUsageSelect as au, SubscriptionsSelect as av, BillingHistorySelect as aw, TenantLogosSelect as ax, ProductsSelect as ay, ProductVariantsSelect as az, Fulfillment as b, DocumentCategoriesSelect as b0, DocumentTypesSelect as b1, PlaylistsSelect as b2, PlaylistCategoriesSelect as b3, PlaylistTagsSelect as b4, MusicsSelect as b5, MusicCategoriesSelect as b6, MusicTagsSelect as b7, GalleriesSelect as b8, GalleryCategoriesSelect as b9, GalleryTagsSelect as ba, GalleryItemsSelect as bb, FlowsSelect as bc, FlowNodeTypesSelect as bd, FlowEdgeTypesSelect as be, FlowCategoriesSelect as bf, FlowTagsSelect as bg, VideosSelect as bh, VideoCategoriesSelect as bi, VideoTagsSelect as bj, LiveStreamsSelect as bk, FormsSelect as bl, FormSubmissionsSelect as bm, PayloadKvSelect as bn, PayloadLockedDocumentsSelect as bo, PayloadPreferencesSelect as bp, PayloadMigrationsSelect as bq, CollectionsWidget as br, Auth as bs, Cart as c, CartItem as d, CustomerAuthOperations as e, PlayerBlock as f, CodeBlock as g, User as h, Tenant as i, FieldConfig as j, Image as k, SystemMedia as l, EmailLog as m, TenantMetadatum as n, ApiUsage as o, Subscription as p, BillingHistory as q, TenantLogo as r, VideoCategory as s, VideoTag as t, ProductVariant as u, ProductOption as v, ProductCategory as w, ProductTag as x, Brand as y, ShippingPolicy as z };
5807
+ export type { Document as $, Audience as A, BrandLogo as B, Config as C, ProductCollection as D, Exchange as E, Form as F, Customer as G, CustomerGroup as H, IframeBlock as I, CustomerAddress as J, FulfillmentItem as K, LiveStream as L, ReturnProduct as M, ExchangeProduct as N, Order as O, Product as P, OrderStatusLog as Q, Return as R, SupportedTimezones as S, Transaction as T, UserAuthOperations as U, Video as V, Discount as W, Post as X, PostAuthor as Y, PostCategory as Z, PostTag as _, OrderProduct as a, PostAuthorsSelect as a$, DocumentType as a0, DocumentCategory as a1, Playlist as a2, PlaylistCategory as a3, PlaylistTag as a4, Music as a5, MusicCategory as a6, MusicTag as a7, Gallery as a8, GalleryCategory as a9, TenantLogosSelect as aA, ProductsSelect as aB, ProductVariantsSelect as aC, ProductOptionsSelect as aD, ProductCategoriesSelect as aE, ProductTagsSelect as aF, ProductCollectionsSelect as aG, BrandsSelect as aH, BrandLogosSelect as aI, OrdersSelect as aJ, OrderProductsSelect as aK, TransactionsSelect as aL, OrderStatusLogsSelect as aM, FulfillmentsSelect as aN, FulfillmentItemsSelect as aO, ReturnsSelect as aP, ReturnProductsSelect as aQ, ExchangesSelect as aR, ExchangeProductsSelect as aS, ShippingPoliciesSelect as aT, CustomersSelect as aU, CustomerAddressesSelect as aV, CustomerGroupsSelect as aW, CartsSelect as aX, CartItemsSelect as aY, DiscountsSelect as aZ, PostsSelect as a_, GalleryTag as aa, GalleryItem as ab, Link as ac, LinkCategory as ad, LinkTag as ae, Flow as af, FlowCategory as ag, FlowTag as ah, FlowNodeType as ai, FlowEdgeType as aj, FormSubmission as ak, PayloadKv as al, PayloadLockedDocument as am, PayloadPreference as an, PayloadMigration as ao, UsersSelect as ap, FieldConfigsSelect as aq, ImagesSelect as ar, SystemMediaSelect as as, AudiencesSelect as at, EmailLogsSelect as au, TenantsSelect as av, TenantMetadataSelect as aw, ApiUsageSelect as ax, SubscriptionsSelect as ay, BillingHistorySelect as az, Fulfillment as b, PostCategoriesSelect as b0, PostTagsSelect as b1, DocumentsSelect as b2, DocumentCategoriesSelect as b3, DocumentTypesSelect as b4, PlaylistsSelect as b5, PlaylistCategoriesSelect as b6, PlaylistTagsSelect as b7, MusicsSelect as b8, MusicCategoriesSelect as b9, MusicTagsSelect as ba, GalleriesSelect as bb, GalleryCategoriesSelect as bc, GalleryTagsSelect as bd, GalleryItemsSelect as be, LinksSelect as bf, LinkCategoriesSelect as bg, LinkTagsSelect as bh, FlowsSelect as bi, FlowNodeTypesSelect as bj, FlowEdgeTypesSelect as bk, FlowCategoriesSelect as bl, FlowTagsSelect as bm, VideosSelect as bn, VideoCategoriesSelect as bo, VideoTagsSelect as bp, LiveStreamsSelect as bq, FormsSelect as br, FormSubmissionsSelect as bs, PayloadKvSelect as bt, PayloadLockedDocumentsSelect as bu, PayloadPreferencesSelect as bv, PayloadMigrationsSelect as bw, CollectionsWidget as bx, Auth as by, Cart as c, CartItem as d, CustomerAuthOperations as e, PlayerBlock as f, CodeBlock as g, User as h, Tenant as i, FieldConfig as j, Image as k, SystemMedia as l, EmailLog as m, TenantMetadatum as n, ApiUsage as o, Subscription as p, BillingHistory as q, TenantLogo as r, VideoCategory as s, VideoTag as t, ProductVariant as u, ProductOption as v, ProductCategory as w, ProductTag as x, Brand as y, ShippingPolicy as z };
@@ -1,7 +1,7 @@
1
1
  import { R as RealtimeEvent } from './realtime-DupPIYx-.cjs';
2
2
  export { a as RealtimeConnection, b as RealtimeListener } from './realtime-DupPIYx-.cjs';
3
- import { P as PublicCollection } from './const-Coyx_VW8.cjs';
4
- import './payload-types-fKs2QoML.cjs';
3
+ import { P as PublicCollection } from './const-rK0y0s2r.cjs';
4
+ import './payload-types-D70l0uF9.cjs';
5
5
 
6
6
  interface UseRealtimeQueryOptions {
7
7
  /** Filter events to specific collections. Empty/undefined = all collections. */
@@ -1,7 +1,7 @@
1
1
  import { R as RealtimeEvent } from './realtime-DupPIYx-.js';
2
2
  export { a as RealtimeConnection, b as RealtimeListener } from './realtime-DupPIYx-.js';
3
- import { P as PublicCollection } from './const-B09gl0KV.js';
4
- import './payload-types-fKs2QoML.js';
3
+ import { P as PublicCollection } from './const-EdTT21dc.js';
4
+ import './payload-types-D70l0uF9.js';
5
5
 
6
6
  interface UseRealtimeQueryOptions {
7
7
  /** Filter events to specific collections. Empty/undefined = all collections. */
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import { F as Form } from '../payload-types-fKs2QoML.cjs';
2
+ import { F as Form } from '../payload-types-D70l0uF9.cjs';
3
3
  import { RichTextData } from './rich-text.cjs';
4
4
  import '@payloadcms/richtext-lexical';
5
5
  import '@payloadcms/richtext-lexical/lexical';
package/dist/ui/form.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import { F as Form } from '../payload-types-fKs2QoML.js';
2
+ import { F as Form } from '../payload-types-D70l0uF9.js';
3
3
  import { RichTextData } from './rich-text.js';
4
4
  import '@payloadcms/richtext-lexical';
5
5
  import '@payloadcms/richtext-lexical/lexical';
@@ -1,7 +1,7 @@
1
1
  import React, { CSSProperties } from 'react';
2
2
  import { MuxPlayerProps, MuxPlayerRefAttributes } from '@mux/mux-player-react';
3
3
  export { MuxPlayerRefAttributes as VideoPlayerRef } from '@mux/mux-player-react';
4
- import { V as Video } from '../payload-types-fKs2QoML.cjs';
4
+ import { V as Video } from '../payload-types-D70l0uF9.cjs';
5
5
  export { e as VideoGifOptions, V as VideoThumbnailOptions, a as getVideoGif, c as getVideoMp4Url, d as getVideoStoryboard, b as getVideoStreamUrl, g as getVideoThumbnail } from '../video-DbLL8yuc.cjs';
6
6
 
7
7
  interface VideoPlayerCSSProperties extends CSSProperties {
@@ -1,7 +1,7 @@
1
1
  import React, { CSSProperties } from 'react';
2
2
  import { MuxPlayerProps, MuxPlayerRefAttributes } from '@mux/mux-player-react';
3
3
  export { MuxPlayerRefAttributes as VideoPlayerRef } from '@mux/mux-player-react';
4
- import { V as Video } from '../payload-types-fKs2QoML.js';
4
+ import { V as Video } from '../payload-types-D70l0uF9.js';
5
5
  export { e as VideoGifOptions, V as VideoThumbnailOptions, a as getVideoGif, c as getVideoMp4Url, d as getVideoStoryboard, b as getVideoStreamUrl, g as getVideoThumbnail } from '../video-DbLL8yuc.js';
6
6
 
7
7
  interface VideoPlayerCSSProperties extends CSSProperties {
@@ -1,5 +1,5 @@
1
- import { C as Collection } from './const-B09gl0KV.js';
2
- import { C as Config } from './payload-types-fKs2QoML.js';
1
+ import { C as Collection } from './const-EdTT21dc.js';
2
+ import { C as Config } from './payload-types-D70l0uF9.js';
3
3
 
4
4
  type CollectionType<T extends string> = T extends keyof Config['collections'] ? Config['collections'][T] : never;
5
5
 
@@ -1,5 +1,5 @@
1
- import { C as Collection } from './const-Coyx_VW8.cjs';
2
- import { C as Config } from './payload-types-fKs2QoML.cjs';
1
+ import { C as Collection } from './const-rK0y0s2r.cjs';
2
+ import { C as Config } from './payload-types-D70l0uF9.cjs';
3
3
 
4
4
  type CollectionType<T extends string> = T extends keyof Config['collections'] ? Config['collections'][T] : never;
5
5
 
@@ -1,3 +1,3 @@
1
- export { a as WebhookEvent, b as WebhookHandler, W as WebhookOperation, c as WebhookOptions, d as createTypedWebhookHandler, h as handleWebhook, i as isValidWebhookEvent } from './webhook-FMfp_EdX.cjs';
2
- import './const-Coyx_VW8.cjs';
3
- import './payload-types-fKs2QoML.cjs';
1
+ export { a as WebhookEvent, b as WebhookHandler, W as WebhookOperation, c as WebhookOptions, d as createTypedWebhookHandler, h as handleWebhook, i as isValidWebhookEvent } from './webhook-C_aXaaBz.cjs';
2
+ import './const-rK0y0s2r.cjs';
3
+ import './payload-types-D70l0uF9.cjs';
package/dist/webhook.d.ts CHANGED
@@ -1,3 +1,3 @@
1
- export { a as WebhookEvent, b as WebhookHandler, W as WebhookOperation, c as WebhookOptions, d as createTypedWebhookHandler, h as handleWebhook, i as isValidWebhookEvent } from './webhook-DbotFj9m.js';
2
- import './const-B09gl0KV.js';
3
- import './payload-types-fKs2QoML.js';
1
+ export { a as WebhookEvent, b as WebhookHandler, W as WebhookOperation, c as WebhookOptions, d as createTypedWebhookHandler, h as handleWebhook, i as isValidWebhookEvent } from './webhook-BVU0Qfsu.js';
2
+ import './const-EdTT21dc.js';
3
+ import './payload-types-D70l0uF9.js';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@01.software/sdk",
3
- "version": "0.5.7",
3
+ "version": "0.5.9",
4
4
  "description": "01.software SDK",
5
5
  "author": "<office@01.works>",
6
6
  "keywords": [],
@@ -152,10 +152,10 @@
152
152
  "@repo/typescript-config": "0.0.0"
153
153
  },
154
154
  "dependencies": {
155
- "@payloadcms/richtext-lexical": ">=3.78.0",
155
+ "@payloadcms/richtext-lexical": ">=3.82.0",
156
156
  "hast-util-to-jsx-runtime": "^2.3.6",
157
157
  "jose": "^6.1.3",
158
- "payload": ">=3.78.0",
158
+ "payload": ">=3.82.0",
159
159
  "postcss": "^8.4.35",
160
160
  "qs-esm": "^7.0.2",
161
161
  "quickjs-emscripten": "0.29.2",