@01.software/sdk 0.1.6 → 0.1.7

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,11 +1,11 @@
1
- import { O as Order, a as OrderProduct, T as Transaction, F as Fulfillment, R as Return, C as CartItem, P as ProductOption } from './payload-types-XZDjUjRT.cjs';
2
- export { k as ApiUsage, ae as ApiUsageSelect, A as Audience, a8 as AudiencesSelect, aX as Auth, K as Author, aI as AuthorsSelect, m as BillingHistory, ag as BillingHistorySelect, r as Brand, B as BrandLogo, ao as BrandLogosSelect, an as BrandsSelect, D as Cart, aB as CartItemsSelect, aA as CartsSelect, e as CodeBlock, b as Config, u as Customer, v as CustomerAddress, az as CustomerAddressesSelect, c as CustomerAuthOperations, ay as CustomersSelect, G as Discount, aC as DiscountsSelect, Q as Document, aK as DocumentCategoriesSelect, V as DocumentCategory, W as DocumentImage, aL as DocumentImagesSelect, aJ as DocumentsSelect, E as EmailLog, a9 as EmailLogsSelect, x as Exchange, y as ExchangeProduct, au as ExchangeProductsSelect, at as ExchangesSelect, a0 as Form, a1 as FormSubmission, aS as FormSubmissionsSelect, aR as FormsSelect, z as FulfillmentItem, aw as FulfillmentItemsSelect, av as FulfillmentsSelect, aP as GalleriesSelect, _ as Gallery, $ as GalleryImage, aQ as GalleryImagesSelect, I as IframeBlock, M as Media, a7 as MediaSelect, Z as Music, aO as MusicsSelect, aq as OrderProductsSelect, ap as OrdersSelect, a2 as PayloadKv, aT as PayloadKvSelect, a3 as PayloadLockedDocument, aU as PayloadLockedDocumentsSelect, a5 as PayloadMigration, aW as PayloadMigrationsSelect, a4 as PayloadPreference, aV as PayloadPreferencesSelect, d as PlayerBlock, X as Playlist, Y as PlaylistImage, aN as PlaylistImagesSelect, aM as PlaylistsSelect, H as Post, aF as PostCategoriesSelect, L as PostCategory, J as PostImage, aH as PostImagesSelect, N as PostTag, aG as PostTagsSelect, aE as PostsSelect, n as Product, ak as ProductCategoriesSelect, p as ProductCategory, o as ProductImage, am as ProductImagesSelect, aj as ProductOptionsSelect, q as ProductTag, al as ProductTagsSelect, t as ProductVariant, ai as ProductVariantsSelect, ah as ProductsSelect, w as ReturnProduct, as as ReturnProductsSelect, ar as ReturnsSelect, aD as ShippingPoliciesSelect, s as ShippingPolicy, l as Subscription, af as SubscriptionsSelect, S as SupportedTimezones, g as Tenant, j as TenantLogo, ac as TenantLogosSelect, ab as TenantMetadataSelect, h as TenantMetadatum, i as TenantOgImage, ad as TenantOgImagesSelect, aa as TenantsSelect, ax as TransactionsSelect, f as User, U as UserAuthOperations, a6 as UsersSelect } from './payload-types-XZDjUjRT.cjs';
3
- import { F as FetchOptions, A as ApiQueryOptions, P as PayloadFindResponse, a as PayloadMutationResponse, C as ClientBrowserConfig, b as ClientState, c as ClientServerConfig } from './auth-BIQrgvB-.cjs';
4
- export { t as API_URLS, f as ApiError, y as ApiQueryReactOptions, w as ClientMetadata, g as ConfigError, d as DebugConfig, D as DeepPartial, s as Environment, e as ErrorLogger, E as ExtractArrayType, J as JwtPayload, N as NetworkError, x as PaginationMeta, R as RetryConfig, S as SDKError, T as TimeoutError, U as UsageLimitError, V as ValidationError, q as createApiKey, o as createServerToken, p as decodeServerToken, k as isApiError, l as isConfigError, h as isNetworkError, i as isSDKError, m as isTimeoutError, n as isUsageLimitError, j as isValidationError, r as parseApiKey, u as resolveApiUrl, v as verifyServerToken } from './auth-BIQrgvB-.cjs';
1
+ import { O as Order, a as OrderProduct, T as Transaction, F as Fulfillment, R as Return, C as CartItem, P as ProductOption } from './payload-types-9ZTBbiqb.cjs';
2
+ export { k as ApiUsage, ag as ApiUsageSelect, A as Audience, aa as AudiencesSelect, a$ as Auth, N as Author, aM as AuthorsSelect, m as BillingHistory, ai as BillingHistorySelect, r as Brand, B as BrandLogo, aq as BrandLogosSelect, ap as BrandsSelect, H as Cart, aF as CartItemsSelect, aE as CartsSelect, e as CodeBlock, b as Config, u as Customer, x as CustomerAddress, aB as CustomerAddressesSelect, c as CustomerAuthOperations, v as CustomerGroup, w as CustomerGroupImage, aD as CustomerGroupImagesSelect, aC as CustomerGroupsSelect, aA as CustomersSelect, J as Discount, aG as DiscountsSelect, W as Document, aO as DocumentCategoriesSelect, X as DocumentCategory, Y as DocumentImage, aP as DocumentImagesSelect, aN as DocumentsSelect, E as EmailLog, ab as EmailLogsSelect, z as Exchange, D as ExchangeProduct, aw as ExchangeProductsSelect, av as ExchangesSelect, a2 as Form, a3 as FormSubmission, aW as FormSubmissionsSelect, aV as FormsSelect, G as FulfillmentItem, ay as FulfillmentItemsSelect, ax as FulfillmentsSelect, aT as GalleriesSelect, a0 as Gallery, a1 as GalleryImage, aU as GalleryImagesSelect, I as IframeBlock, M as Media, a9 as MediaSelect, $ as Music, aS as MusicsSelect, as as OrderProductsSelect, ar as OrdersSelect, a4 as PayloadKv, aX as PayloadKvSelect, a5 as PayloadLockedDocument, aY as PayloadLockedDocumentsSelect, a7 as PayloadMigration, a_ as PayloadMigrationsSelect, a6 as PayloadPreference, aZ as PayloadPreferencesSelect, d as PlayerBlock, Z as Playlist, _ as PlaylistImage, aR as PlaylistImagesSelect, aQ as PlaylistsSelect, K as Post, aJ as PostCategoriesSelect, Q as PostCategory, L as PostImage, aL as PostImagesSelect, V as PostTag, aK as PostTagsSelect, aI as PostsSelect, n as Product, am as ProductCategoriesSelect, p as ProductCategory, o as ProductImage, ao as ProductImagesSelect, al as ProductOptionsSelect, q as ProductTag, an as ProductTagsSelect, t as ProductVariant, ak as ProductVariantsSelect, aj as ProductsSelect, y as ReturnProduct, au as ReturnProductsSelect, at as ReturnsSelect, aH as ShippingPoliciesSelect, s as ShippingPolicy, l as Subscription, ah as SubscriptionsSelect, S as SupportedTimezones, g as Tenant, j as TenantLogo, ae as TenantLogosSelect, ad as TenantMetadataSelect, h as TenantMetadatum, i as TenantOgImage, af as TenantOgImagesSelect, ac as TenantsSelect, az as TransactionsSelect, f as User, U as UserAuthOperations, a8 as UsersSelect } from './payload-types-9ZTBbiqb.cjs';
3
+ import { F as FetchOptions, A as ApiQueryOptions, P as PayloadFindResponse, a as PayloadMutationResponse, C as ClientBrowserConfig, b as ClientState, c as ClientServerConfig } from './auth-Cl6xQinU.cjs';
4
+ export { t as API_URLS, f as ApiError, y as ApiQueryReactOptions, w as ClientMetadata, g as ConfigError, d as DebugConfig, D as DeepPartial, s as Environment, e as ErrorLogger, E as ExtractArrayType, J as JwtPayload, N as NetworkError, x as PaginationMeta, R as RetryConfig, S as SDKError, T as TimeoutError, U as UsageLimitError, V as ValidationError, q as createApiKey, o as createServerToken, p as decodeServerToken, k as isApiError, l as isConfigError, h as isNetworkError, i as isSDKError, m as isTimeoutError, n as isUsageLimitError, j as isValidationError, r as parseApiKey, u as resolveApiUrl, v as verifyServerToken } from './auth-Cl6xQinU.cjs';
5
5
  import * as _tanstack_react_query from '@tanstack/react-query';
6
6
  import { QueryClient } from '@tanstack/react-query';
7
- import { P as PublicCollection, C as CollectionType } from './webhook-BkbRPVAd.cjs';
8
- export { b as COLLECTIONS, a as Collection, c as WebhookEvent, d as WebhookHandler, W as WebhookOperation, e as WebhookOptions, f as createTypedWebhookHandler, h as handleWebhook, i as isValidWebhookEvent } from './webhook-BkbRPVAd.cjs';
7
+ import { P as PublicCollection, C as CollectionType } from './webhook-Cdv7bup2.cjs';
8
+ export { b as COLLECTIONS, a as Collection, c as WebhookEvent, d as WebhookHandler, W as WebhookOperation, e as WebhookOptions, f as createTypedWebhookHandler, h as handleWebhook, i as isValidWebhookEvent } from './webhook-Cdv7bup2.cjs';
9
9
  export { RichTextContent, RichTextContentProps, RichTextData } from './components.cjs';
10
10
  import 'payload';
11
11
  import 'react';
package/dist/index.d.ts CHANGED
@@ -1,11 +1,11 @@
1
- import { O as Order, a as OrderProduct, T as Transaction, F as Fulfillment, R as Return, C as CartItem, P as ProductOption } from './payload-types-XZDjUjRT.js';
2
- export { k as ApiUsage, ae as ApiUsageSelect, A as Audience, a8 as AudiencesSelect, aX as Auth, K as Author, aI as AuthorsSelect, m as BillingHistory, ag as BillingHistorySelect, r as Brand, B as BrandLogo, ao as BrandLogosSelect, an as BrandsSelect, D as Cart, aB as CartItemsSelect, aA as CartsSelect, e as CodeBlock, b as Config, u as Customer, v as CustomerAddress, az as CustomerAddressesSelect, c as CustomerAuthOperations, ay as CustomersSelect, G as Discount, aC as DiscountsSelect, Q as Document, aK as DocumentCategoriesSelect, V as DocumentCategory, W as DocumentImage, aL as DocumentImagesSelect, aJ as DocumentsSelect, E as EmailLog, a9 as EmailLogsSelect, x as Exchange, y as ExchangeProduct, au as ExchangeProductsSelect, at as ExchangesSelect, a0 as Form, a1 as FormSubmission, aS as FormSubmissionsSelect, aR as FormsSelect, z as FulfillmentItem, aw as FulfillmentItemsSelect, av as FulfillmentsSelect, aP as GalleriesSelect, _ as Gallery, $ as GalleryImage, aQ as GalleryImagesSelect, I as IframeBlock, M as Media, a7 as MediaSelect, Z as Music, aO as MusicsSelect, aq as OrderProductsSelect, ap as OrdersSelect, a2 as PayloadKv, aT as PayloadKvSelect, a3 as PayloadLockedDocument, aU as PayloadLockedDocumentsSelect, a5 as PayloadMigration, aW as PayloadMigrationsSelect, a4 as PayloadPreference, aV as PayloadPreferencesSelect, d as PlayerBlock, X as Playlist, Y as PlaylistImage, aN as PlaylistImagesSelect, aM as PlaylistsSelect, H as Post, aF as PostCategoriesSelect, L as PostCategory, J as PostImage, aH as PostImagesSelect, N as PostTag, aG as PostTagsSelect, aE as PostsSelect, n as Product, ak as ProductCategoriesSelect, p as ProductCategory, o as ProductImage, am as ProductImagesSelect, aj as ProductOptionsSelect, q as ProductTag, al as ProductTagsSelect, t as ProductVariant, ai as ProductVariantsSelect, ah as ProductsSelect, w as ReturnProduct, as as ReturnProductsSelect, ar as ReturnsSelect, aD as ShippingPoliciesSelect, s as ShippingPolicy, l as Subscription, af as SubscriptionsSelect, S as SupportedTimezones, g as Tenant, j as TenantLogo, ac as TenantLogosSelect, ab as TenantMetadataSelect, h as TenantMetadatum, i as TenantOgImage, ad as TenantOgImagesSelect, aa as TenantsSelect, ax as TransactionsSelect, f as User, U as UserAuthOperations, a6 as UsersSelect } from './payload-types-XZDjUjRT.js';
3
- import { F as FetchOptions, A as ApiQueryOptions, P as PayloadFindResponse, a as PayloadMutationResponse, C as ClientBrowserConfig, b as ClientState, c as ClientServerConfig } from './auth-CRlgtFpv.js';
4
- export { t as API_URLS, f as ApiError, y as ApiQueryReactOptions, w as ClientMetadata, g as ConfigError, d as DebugConfig, D as DeepPartial, s as Environment, e as ErrorLogger, E as ExtractArrayType, J as JwtPayload, N as NetworkError, x as PaginationMeta, R as RetryConfig, S as SDKError, T as TimeoutError, U as UsageLimitError, V as ValidationError, q as createApiKey, o as createServerToken, p as decodeServerToken, k as isApiError, l as isConfigError, h as isNetworkError, i as isSDKError, m as isTimeoutError, n as isUsageLimitError, j as isValidationError, r as parseApiKey, u as resolveApiUrl, v as verifyServerToken } from './auth-CRlgtFpv.js';
1
+ import { O as Order, a as OrderProduct, T as Transaction, F as Fulfillment, R as Return, C as CartItem, P as ProductOption } from './payload-types-9ZTBbiqb.js';
2
+ export { k as ApiUsage, ag as ApiUsageSelect, A as Audience, aa as AudiencesSelect, a$ as Auth, N as Author, aM as AuthorsSelect, m as BillingHistory, ai as BillingHistorySelect, r as Brand, B as BrandLogo, aq as BrandLogosSelect, ap as BrandsSelect, H as Cart, aF as CartItemsSelect, aE as CartsSelect, e as CodeBlock, b as Config, u as Customer, x as CustomerAddress, aB as CustomerAddressesSelect, c as CustomerAuthOperations, v as CustomerGroup, w as CustomerGroupImage, aD as CustomerGroupImagesSelect, aC as CustomerGroupsSelect, aA as CustomersSelect, J as Discount, aG as DiscountsSelect, W as Document, aO as DocumentCategoriesSelect, X as DocumentCategory, Y as DocumentImage, aP as DocumentImagesSelect, aN as DocumentsSelect, E as EmailLog, ab as EmailLogsSelect, z as Exchange, D as ExchangeProduct, aw as ExchangeProductsSelect, av as ExchangesSelect, a2 as Form, a3 as FormSubmission, aW as FormSubmissionsSelect, aV as FormsSelect, G as FulfillmentItem, ay as FulfillmentItemsSelect, ax as FulfillmentsSelect, aT as GalleriesSelect, a0 as Gallery, a1 as GalleryImage, aU as GalleryImagesSelect, I as IframeBlock, M as Media, a9 as MediaSelect, $ as Music, aS as MusicsSelect, as as OrderProductsSelect, ar as OrdersSelect, a4 as PayloadKv, aX as PayloadKvSelect, a5 as PayloadLockedDocument, aY as PayloadLockedDocumentsSelect, a7 as PayloadMigration, a_ as PayloadMigrationsSelect, a6 as PayloadPreference, aZ as PayloadPreferencesSelect, d as PlayerBlock, Z as Playlist, _ as PlaylistImage, aR as PlaylistImagesSelect, aQ as PlaylistsSelect, K as Post, aJ as PostCategoriesSelect, Q as PostCategory, L as PostImage, aL as PostImagesSelect, V as PostTag, aK as PostTagsSelect, aI as PostsSelect, n as Product, am as ProductCategoriesSelect, p as ProductCategory, o as ProductImage, ao as ProductImagesSelect, al as ProductOptionsSelect, q as ProductTag, an as ProductTagsSelect, t as ProductVariant, ak as ProductVariantsSelect, aj as ProductsSelect, y as ReturnProduct, au as ReturnProductsSelect, at as ReturnsSelect, aH as ShippingPoliciesSelect, s as ShippingPolicy, l as Subscription, ah as SubscriptionsSelect, S as SupportedTimezones, g as Tenant, j as TenantLogo, ae as TenantLogosSelect, ad as TenantMetadataSelect, h as TenantMetadatum, i as TenantOgImage, af as TenantOgImagesSelect, ac as TenantsSelect, az as TransactionsSelect, f as User, U as UserAuthOperations, a8 as UsersSelect } from './payload-types-9ZTBbiqb.js';
3
+ import { F as FetchOptions, A as ApiQueryOptions, P as PayloadFindResponse, a as PayloadMutationResponse, C as ClientBrowserConfig, b as ClientState, c as ClientServerConfig } from './auth-u5YEtV1J.js';
4
+ export { t as API_URLS, f as ApiError, y as ApiQueryReactOptions, w as ClientMetadata, g as ConfigError, d as DebugConfig, D as DeepPartial, s as Environment, e as ErrorLogger, E as ExtractArrayType, J as JwtPayload, N as NetworkError, x as PaginationMeta, R as RetryConfig, S as SDKError, T as TimeoutError, U as UsageLimitError, V as ValidationError, q as createApiKey, o as createServerToken, p as decodeServerToken, k as isApiError, l as isConfigError, h as isNetworkError, i as isSDKError, m as isTimeoutError, n as isUsageLimitError, j as isValidationError, r as parseApiKey, u as resolveApiUrl, v as verifyServerToken } from './auth-u5YEtV1J.js';
5
5
  import * as _tanstack_react_query from '@tanstack/react-query';
6
6
  import { QueryClient } from '@tanstack/react-query';
7
- import { P as PublicCollection, C as CollectionType } from './webhook-CFVJAqOx.js';
8
- export { b as COLLECTIONS, a as Collection, c as WebhookEvent, d as WebhookHandler, W as WebhookOperation, e as WebhookOptions, f as createTypedWebhookHandler, h as handleWebhook, i as isValidWebhookEvent } from './webhook-CFVJAqOx.js';
7
+ import { P as PublicCollection, C as CollectionType } from './webhook-c_A4J8UH.js';
8
+ export { b as COLLECTIONS, a as Collection, c as WebhookEvent, d as WebhookHandler, W as WebhookOperation, e as WebhookOptions, f as createTypedWebhookHandler, h as handleWebhook, i as isValidWebhookEvent } from './webhook-c_A4J8UH.js';
9
9
  export { RichTextContent, RichTextContentProps, RichTextData } from './components.js';
10
10
  import 'payload';
11
11
  import 'react';
package/dist/index.js CHANGED
@@ -990,6 +990,8 @@ var COLLECTIONS = [
990
990
  "transactions",
991
991
  "customers",
992
992
  "customer-addresses",
993
+ "customer-groups",
994
+ "customer-group-images",
993
995
  "carts",
994
996
  "cart-items",
995
997
  "discounts",