@01.software/sdk 0.15.0 → 0.16.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.cts CHANGED
@@ -1,13 +1,13 @@
1
- import { O as Order, a as Cart, b as CartItem, P as Product, c as OrderItem$1, T as Transaction, d as Fulfillment, R as Return } from './payload-types-Cjbr7XZZ.cjs';
2
- export { D as Document, I as Image, e as Post, f as PostCategory, g as PostTag, h as ProductVariant, i as Tenant, V as Video } from './payload-types-Cjbr7XZZ.cjs';
1
+ import { O as Order, a as Cart, b as CartItem, P as Product, c as OrderItem$1, T as Transaction, d as Fulfillment, R as Return } from './payload-types-DRvL_bS2.cjs';
2
+ export { D as Document, I as Image, e as Post, f as PostCategory, g as PostTag, h as ProductVariant, i as Tenant, V as Video } from './payload-types-DRvL_bS2.cjs';
3
3
  import { Sort, Where } from 'payload';
4
4
  import * as _tanstack_react_query from '@tanstack/react-query';
5
5
  import { QueryClient, InfiniteData } from '@tanstack/react-query';
6
6
  import { Metadata } from 'next';
7
- import { C as CollectionType } from './webhook-BVA28ptL.cjs';
8
- export { a as WebhookEvent, b as WebhookHandler, W as WebhookOperation, c as WebhookOptions, d as createTypedWebhookHandler, h as handleWebhook, i as isValidWebhookEvent } from './webhook-BVA28ptL.cjs';
9
- import { P as PublicCollection } from './const-9RunqFfj.cjs';
10
- export { a as COLLECTIONS, C as Collection } from './const-9RunqFfj.cjs';
7
+ import { C as CollectionType } from './webhook-CIcWL95t.cjs';
8
+ export { a as WebhookEvent, b as WebhookHandler, W as WebhookOperation, c as WebhookOptions, d as createTypedWebhookHandler, h as handleWebhook, i as isValidWebhookEvent } from './webhook-CIcWL95t.cjs';
9
+ import { P as PublicCollection } from './const-BLwHrFZ-.cjs';
10
+ export { a as COLLECTIONS, C as Collection, I as INTERNAL_COLLECTIONS } from './const-BLwHrFZ-.cjs';
11
11
  export { a as RealtimeConnection, R as RealtimeEvent, b as RealtimeListener } from './realtime-D7HtUpqt.cjs';
12
12
  export { b as IMAGE_SIZES, I as ImageData, a as ImagePalette, f as ImagePlaceholderOptions, d as getImageLqip, e as getImagePalette, h as getImagePlaceholderStyle, c as getImageSrcSet, g as getImageUrl } from './image-TT8lTsk5.cjs';
13
13
  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';
package/dist/index.d.ts CHANGED
@@ -1,13 +1,13 @@
1
- import { O as Order, a as Cart, b as CartItem, P as Product, c as OrderItem$1, T as Transaction, d as Fulfillment, R as Return } from './payload-types-Cjbr7XZZ.js';
2
- export { D as Document, I as Image, e as Post, f as PostCategory, g as PostTag, h as ProductVariant, i as Tenant, V as Video } from './payload-types-Cjbr7XZZ.js';
1
+ import { O as Order, a as Cart, b as CartItem, P as Product, c as OrderItem$1, T as Transaction, d as Fulfillment, R as Return } from './payload-types-DRvL_bS2.js';
2
+ export { D as Document, I as Image, e as Post, f as PostCategory, g as PostTag, h as ProductVariant, i as Tenant, V as Video } from './payload-types-DRvL_bS2.js';
3
3
  import { Sort, Where } from 'payload';
4
4
  import * as _tanstack_react_query from '@tanstack/react-query';
5
5
  import { QueryClient, InfiniteData } from '@tanstack/react-query';
6
6
  import { Metadata } from 'next';
7
- import { C as CollectionType } from './webhook-2zxdCwB4.js';
8
- export { a as WebhookEvent, b as WebhookHandler, W as WebhookOperation, c as WebhookOptions, d as createTypedWebhookHandler, h as handleWebhook, i as isValidWebhookEvent } from './webhook-2zxdCwB4.js';
9
- import { P as PublicCollection } from './const-ovU3MmND.js';
10
- export { a as COLLECTIONS, C as Collection } from './const-ovU3MmND.js';
7
+ import { C as CollectionType } from './webhook-7_KR18M-.js';
8
+ export { a as WebhookEvent, b as WebhookHandler, W as WebhookOperation, c as WebhookOptions, d as createTypedWebhookHandler, h as handleWebhook, i as isValidWebhookEvent } from './webhook-7_KR18M-.js';
9
+ import { P as PublicCollection } from './const-RMD3ZVaS.js';
10
+ export { a as COLLECTIONS, C as Collection, I as INTERNAL_COLLECTIONS } from './const-RMD3ZVaS.js';
11
11
  export { a as RealtimeConnection, R as RealtimeEvent, b as RealtimeListener } from './realtime-D7HtUpqt.js';
12
12
  export { b as IMAGE_SIZES, I as ImageData, a as ImagePalette, f as ImagePlaceholderOptions, d as getImageLqip, e as getImagePalette, h as getImagePlaceholderStyle, c as getImageSrcSet, g as getImageUrl } from './image-TT8lTsk5.js';
13
13
  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';
package/dist/index.js CHANGED
@@ -955,6 +955,34 @@ var CollectionClient = class extends HttpClient {
955
955
  };
956
956
 
957
957
  // src/core/collection/const.ts
958
+ var INTERNAL_COLLECTIONS = [
959
+ "users",
960
+ "payload-kv",
961
+ "payload-locked-documents",
962
+ "payload-preferences",
963
+ "payload-migrations",
964
+ "field-configs",
965
+ "system-media",
966
+ "track-assets",
967
+ "audiences",
968
+ "email-logs",
969
+ "tenant-auth-settings",
970
+ "tenant-community-settings",
971
+ "api-usage",
972
+ "tenant-analytics-daily",
973
+ "analytics-event-schemas",
974
+ "subscriptions",
975
+ "billing-history",
976
+ "order-status-logs",
977
+ "api-keys",
978
+ "personal-access-tokens",
979
+ "tenant-entitlements",
980
+ "webhook-events",
981
+ "webhook-deliveries",
982
+ "audit-logs",
983
+ "plans",
984
+ "webhooks"
985
+ ];
958
986
  var COLLECTIONS = [
959
987
  "tenants",
960
988
  "tenant-metadata",
@@ -981,6 +1009,7 @@ var COLLECTIONS = [
981
1009
  "carts",
982
1010
  "cart-items",
983
1011
  "discounts",
1012
+ "promotions",
984
1013
  "shipping-policies",
985
1014
  "documents",
986
1015
  "document-categories",
@@ -1007,6 +1036,8 @@ var COLLECTIONS = [
1007
1036
  "canvas-edge-types",
1008
1037
  "canvas-categories",
1009
1038
  "canvas-tags",
1039
+ "canvas-nodes",
1040
+ "canvas-edges",
1010
1041
  "videos",
1011
1042
  "video-categories",
1012
1043
  "video-tags",
@@ -3227,6 +3258,7 @@ export {
3227
3258
  DiscountApi,
3228
3259
  GoneError,
3229
3260
  IMAGE_SIZES,
3261
+ INTERNAL_COLLECTIONS,
3230
3262
  ModerationApi,
3231
3263
  NetworkError,
3232
3264
  NotFoundError,