@01.software/sdk 0.15.0 → 0.17.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-CMoyAOjJ.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-CMoyAOjJ.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-Dm2zz7FQ.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-Dm2zz7FQ.cjs';
9
+ import { P as PublicCollection } from './const-D2K5HxpP.cjs';
10
+ export { a as COLLECTIONS, C as Collection, I as INTERNAL_COLLECTIONS } from './const-D2K5HxpP.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-CMoyAOjJ.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-CMoyAOjJ.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-IhuUWnt5.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-IhuUWnt5.js';
9
+ import { P as PublicCollection } from './const-DG8TrouX.js';
10
+ export { a as COLLECTIONS, C as Collection, I as INTERNAL_COLLECTIONS } from './const-DG8TrouX.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",
@@ -976,11 +1004,13 @@ var COLLECTIONS = [
976
1004
  "fulfillment-items",
977
1005
  "transactions",
978
1006
  "customers",
1007
+ "customer-profiles",
979
1008
  "customer-addresses",
980
1009
  "customer-groups",
981
1010
  "carts",
982
1011
  "cart-items",
983
1012
  "discounts",
1013
+ "promotions",
984
1014
  "shipping-policies",
985
1015
  "documents",
986
1016
  "document-categories",
@@ -1007,6 +1037,8 @@ var COLLECTIONS = [
1007
1037
  "canvas-edge-types",
1008
1038
  "canvas-categories",
1009
1039
  "canvas-tags",
1040
+ "canvas-nodes",
1041
+ "canvas-edges",
1010
1042
  "videos",
1011
1043
  "video-categories",
1012
1044
  "video-tags",
@@ -3227,6 +3259,7 @@ export {
3227
3259
  DiscountApi,
3228
3260
  GoneError,
3229
3261
  IMAGE_SIZES,
3262
+ INTERNAL_COLLECTIONS,
3230
3263
  ModerationApi,
3231
3264
  NetworkError,
3232
3265
  NotFoundError,