@01.software/sdk 0.65.1 → 0.68.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/CHANGELOG.md +81 -0
- package/README.md +201 -8
- package/dist/client.cjs +490 -338
- package/dist/client.cjs.map +1 -1
- package/dist/client.d.cts +11 -6
- package/dist/client.d.ts +11 -6
- package/dist/client.js +490 -338
- package/dist/client.js.map +1 -1
- package/dist/{collection-client-C2sMvfme.d.ts → collection-client-IOaWsTMI.d.ts} +4 -4
- package/dist/{collection-client-B7rsTtVj.d.cts → collection-client-MbIJ5KzW.d.cts} +4 -4
- package/dist/{const-CRxPTDGt.d.ts → const-Do27Udj6.d.ts} +2 -2
- package/dist/{const-D6ZRQLxI.d.cts → const-Dw5ElJs_.d.cts} +2 -2
- package/dist/embedded-admin/server.cjs +16 -1
- package/dist/embedded-admin/server.cjs.map +1 -1
- package/dist/embedded-admin/server.d.cts +4 -2
- package/dist/embedded-admin/server.d.ts +4 -2
- package/dist/embedded-admin/server.js +16 -1
- package/dist/embedded-admin/server.js.map +1 -1
- package/dist/embedded-admin.cjs +19 -0
- package/dist/embedded-admin.cjs.map +1 -1
- package/dist/embedded-admin.d.cts +7 -1
- package/dist/embedded-admin.d.ts +7 -1
- package/dist/embedded-admin.js +19 -0
- package/dist/embedded-admin.js.map +1 -1
- package/dist/errors.d.cts +2 -2
- package/dist/errors.d.ts +2 -2
- package/dist/{index-1auUEYrl.d.ts → index-DcYsLOja.d.ts} +3 -3
- package/dist/{index-Bbpf5t-l.d.cts → index-gnVxTKXu.d.cts} +3 -3
- package/dist/index.cjs +521 -367
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +7 -7
- package/dist/index.d.ts +7 -7
- package/dist/index.js +521 -367
- package/dist/index.js.map +1 -1
- package/dist/{payload-types-BnIET0xU.d.cts → payload-types-BY1uZFRf.d.cts} +162 -50
- package/dist/{payload-types-BnIET0xU.d.ts → payload-types-BY1uZFRf.d.ts} +162 -50
- package/dist/query.cjs +22 -1
- package/dist/query.cjs.map +1 -1
- package/dist/query.d.cts +5 -5
- package/dist/query.d.ts +5 -5
- package/dist/query.js +22 -1
- package/dist/query.js.map +1 -1
- package/dist/realtime.d.cts +2 -2
- package/dist/realtime.d.ts +2 -2
- package/dist/server.cjs +1251 -1046
- package/dist/server.cjs.map +1 -1
- package/dist/server.d.cts +10 -9
- package/dist/server.d.ts +10 -9
- package/dist/server.js +1251 -1046
- package/dist/server.js.map +1 -1
- package/dist/{types-D1y4TgQm.d.ts → types-AWSVpuPE.d.ts} +2 -2
- package/dist/{types-DnRC3nLG.d.ts → types-CLRw0aDa.d.ts} +214 -42
- package/dist/{types-Dp1oYpD3.d.cts → types-DnIuxgu2.d.cts} +2 -2
- package/dist/{types-Dzn0LD2N.d.cts → types-csjaig4G.d.cts} +214 -42
- package/dist/ui/canvas.cjs +5 -1
- package/dist/ui/canvas.cjs.map +1 -1
- package/dist/ui/canvas.js +5 -1
- package/dist/ui/canvas.js.map +1 -1
- package/dist/ui/form.d.cts +1 -1
- package/dist/ui/form.d.ts +1 -1
- package/dist/ui/video.cjs +9 -2
- package/dist/ui/video.cjs.map +1 -1
- package/dist/ui/video.d.cts +1 -1
- package/dist/ui/video.d.ts +1 -1
- package/dist/ui/video.js +9 -2
- package/dist/ui/video.js.map +1 -1
- package/dist/webhook.d.cts +5 -5
- package/dist/webhook.d.ts +5 -5
- package/package.json +4 -4
|
@@ -30,6 +30,7 @@ interface Config {
|
|
|
30
30
|
'tenant-purge-jobs': TenantPurgeJob;
|
|
31
31
|
subscriptions: Subscription;
|
|
32
32
|
'billing-history': BillingHistory;
|
|
33
|
+
'billing-consent-receipts': BillingConsentReceipt;
|
|
33
34
|
plans: Plan;
|
|
34
35
|
'usage-rate-cards': UsageRateCard;
|
|
35
36
|
'usage-invoices': UsageInvoice;
|
|
@@ -107,6 +108,7 @@ interface Config {
|
|
|
107
108
|
'draft-orders': DraftOrder;
|
|
108
109
|
'draft-order-items': DraftOrderItem;
|
|
109
110
|
discounts: Discount;
|
|
111
|
+
'benefit-voucher-definitions': BenefitVoucherDefinition;
|
|
110
112
|
articles: Article;
|
|
111
113
|
'article-authors': ArticleAuthor;
|
|
112
114
|
'article-categories': ArticleCategory;
|
|
@@ -277,6 +279,7 @@ interface Config {
|
|
|
277
279
|
'tenant-purge-jobs': TenantPurgeJobsSelect<false> | TenantPurgeJobsSelect<true>;
|
|
278
280
|
subscriptions: SubscriptionsSelect<false> | SubscriptionsSelect<true>;
|
|
279
281
|
'billing-history': BillingHistorySelect<false> | BillingHistorySelect<true>;
|
|
282
|
+
'billing-consent-receipts': BillingConsentReceiptsSelect<false> | BillingConsentReceiptsSelect<true>;
|
|
280
283
|
plans: PlansSelect<false> | PlansSelect<true>;
|
|
281
284
|
'usage-rate-cards': UsageRateCardsSelect<false> | UsageRateCardsSelect<true>;
|
|
282
285
|
'usage-invoices': UsageInvoicesSelect<false> | UsageInvoicesSelect<true>;
|
|
@@ -354,6 +357,7 @@ interface Config {
|
|
|
354
357
|
'draft-orders': DraftOrdersSelect<false> | DraftOrdersSelect<true>;
|
|
355
358
|
'draft-order-items': DraftOrderItemsSelect<false> | DraftOrderItemsSelect<true>;
|
|
356
359
|
discounts: DiscountsSelect<false> | DiscountsSelect<true>;
|
|
360
|
+
'benefit-voucher-definitions': BenefitVoucherDefinitionsSelect<false> | BenefitVoucherDefinitionsSelect<true>;
|
|
357
361
|
articles: ArticlesSelect<false> | ArticlesSelect<true>;
|
|
358
362
|
'article-authors': ArticleAuthorsSelect<false> | ArticleAuthorsSelect<true>;
|
|
359
363
|
'article-categories': ArticleCategoriesSelect<false> | ArticleCategoriesSelect<true>;
|
|
@@ -638,14 +642,14 @@ interface Tenant {
|
|
|
638
642
|
environmentState?: ('requested' | 'provisioning' | 'ready' | 'suspended' | 'failed' | 'archived' | 'purge-pending' | 'purged') | null;
|
|
639
643
|
environmentIsCurrent?: boolean | null;
|
|
640
644
|
/**
|
|
641
|
-
* Managed from the current
|
|
645
|
+
* Managed from the current workspace Settings page.
|
|
642
646
|
*/
|
|
643
647
|
consoleMenuLabels?: {
|
|
644
648
|
[k: string]: unknown;
|
|
645
649
|
} | unknown[] | string | number | boolean | null;
|
|
646
650
|
name: string;
|
|
647
651
|
/**
|
|
648
|
-
* IANA time zone for
|
|
652
|
+
* IANA time zone for workspace daily aggregation and AI usage date boundaries.
|
|
649
653
|
*/
|
|
650
654
|
timezone?: string | null;
|
|
651
655
|
/**
|
|
@@ -653,7 +657,7 @@ interface Tenant {
|
|
|
653
657
|
*/
|
|
654
658
|
tenantPurpose?: ('production' | 'test') | null;
|
|
655
659
|
/**
|
|
656
|
-
* A TEST
|
|
660
|
+
* A TEST workspace can be used for at most 30 days from creation.
|
|
657
661
|
*/
|
|
658
662
|
testExpiresAt?: string | null;
|
|
659
663
|
/**
|
|
@@ -661,7 +665,7 @@ interface Tenant {
|
|
|
661
665
|
*/
|
|
662
666
|
slug?: string | null;
|
|
663
667
|
/**
|
|
664
|
-
*
|
|
668
|
+
* Workspace-owned frontend origins that can open saved-record preview. Storefronts, docs sites, community sites, and other workspace frontends register here. Managed separately from API CORS origins.
|
|
665
669
|
*/
|
|
666
670
|
previewDestinations?: {
|
|
667
671
|
origin: string;
|
|
@@ -676,11 +680,11 @@ interface Tenant {
|
|
|
676
680
|
id?: string | null;
|
|
677
681
|
}[] | null;
|
|
678
682
|
/**
|
|
679
|
-
* Base currency for the
|
|
683
|
+
* Base currency for the workspace store. Stored amounts carry no currency of their own, so changing this re-denominates the catalog and order amounts in place with no conversion (KRW 15000 becomes USD 15,000). The change is refused once live variants or unsettled orders exist.
|
|
680
684
|
*/
|
|
681
685
|
shopCurrency?: string | null;
|
|
682
686
|
/**
|
|
683
|
-
* Content locales this
|
|
687
|
+
* Content locales this workspace operates.
|
|
684
688
|
*/
|
|
685
689
|
enabledContentLocales?: ('ko' | 'en')[] | null;
|
|
686
690
|
/**
|
|
@@ -692,15 +696,15 @@ interface Tenant {
|
|
|
692
696
|
*/
|
|
693
697
|
contentLocaleFallbackEnabled?: boolean | null;
|
|
694
698
|
/**
|
|
695
|
-
*
|
|
699
|
+
* Workspace owner. Only the owner can delete the workspace or transfer ownership.
|
|
696
700
|
*/
|
|
697
701
|
owner: string | User;
|
|
698
702
|
/**
|
|
699
|
-
* Only features checked above will be enabled for this
|
|
703
|
+
* Only features checked above will be enabled for this workspace.
|
|
700
704
|
*/
|
|
701
705
|
enabledFeatures?: ('ecommerce' | 'customers' | 'playlists' | 'galleries' | 'links' | 'forms' | 'articles' | 'documents' | 'canvas' | 'videos' | 'live-streaming' | 'community' | 'events' | 'membership')[] | null;
|
|
702
706
|
/**
|
|
703
|
-
* Only selected relationship recipes are active for this
|
|
707
|
+
* Only selected relationship recipes are active for this workspace. Recipes whose required features are disabled keep their stored intent but remain inactive at runtime.
|
|
704
708
|
*/
|
|
705
709
|
enabledRelationshipRecipes?: ('event-commerce' | 'shoppable-content' | 'product-content-access' | 'form-context' | 'document-acceptance')[] | null;
|
|
706
710
|
featureVersion?: number | null;
|
|
@@ -708,7 +712,7 @@ interface Tenant {
|
|
|
708
712
|
[k: string]: unknown;
|
|
709
713
|
} | unknown[] | string | number | boolean | null;
|
|
710
714
|
/**
|
|
711
|
-
*
|
|
715
|
+
* Workspace lifecycle status. Managed automatically.
|
|
712
716
|
*/
|
|
713
717
|
status?: ('active' | 'paused' | 'past_due' | 'canceled' | 'pending_deletion') | null;
|
|
714
718
|
/**
|
|
@@ -716,7 +720,7 @@ interface Tenant {
|
|
|
716
720
|
*/
|
|
717
721
|
publishableKey: string;
|
|
718
722
|
/**
|
|
719
|
-
* Origins allowed to call this
|
|
723
|
+
* Origins allowed to call this workspace API with a Publishable Key from a browser. Separate from saved-record preview destinations. Leave empty to block browser API calls.
|
|
720
724
|
*/
|
|
721
725
|
cors?: {
|
|
722
726
|
origin: string;
|
|
@@ -727,6 +731,7 @@ interface Tenant {
|
|
|
727
731
|
*/
|
|
728
732
|
embeddedAdminApp?: {
|
|
729
733
|
enabled?: boolean | null;
|
|
734
|
+
allowedRoles?: ('tenant-admin' | 'tenant-editor' | 'tenant-viewer')[] | null;
|
|
730
735
|
label?: string | null;
|
|
731
736
|
origin?: string | null;
|
|
732
737
|
path?: string | null;
|
|
@@ -736,7 +741,7 @@ interface Tenant {
|
|
|
736
741
|
*/
|
|
737
742
|
senderIdentity?: {
|
|
738
743
|
/**
|
|
739
|
-
* Brand name shown in the recipient's inbox.
|
|
744
|
+
* Brand name shown in the recipient's inbox. If blank, commerce and event notifications use the workspace name; customer authentication emails (password reset, sign-in codes) use the platform default sender. (The send-from address stays on the platform domain.)
|
|
740
745
|
*/
|
|
741
746
|
displayName?: string | null;
|
|
742
747
|
/**
|
|
@@ -832,7 +837,7 @@ interface Tenant {
|
|
|
832
837
|
} | unknown[] | string | number | boolean | null;
|
|
833
838
|
};
|
|
834
839
|
/**
|
|
835
|
-
* Configure customer password registration and reset email. The
|
|
840
|
+
* Configure customer password registration and reset email. The workspace owns consent collection and evidence for direct signup.
|
|
836
841
|
*/
|
|
837
842
|
customerAuth?: {
|
|
838
843
|
hostedConsentRequired?: boolean | null;
|
|
@@ -858,7 +863,7 @@ interface Tenant {
|
|
|
858
863
|
passwordResetUrl?: string | null;
|
|
859
864
|
};
|
|
860
865
|
/**
|
|
861
|
-
* Users connected to this
|
|
866
|
+
* Users connected to this workspace
|
|
862
867
|
*/
|
|
863
868
|
members?: {
|
|
864
869
|
docs?: (string | User)[];
|
|
@@ -880,15 +885,15 @@ interface Project {
|
|
|
880
885
|
*/
|
|
881
886
|
name: string;
|
|
882
887
|
/**
|
|
883
|
-
* URL-safe Project identifier. It is separate from a
|
|
888
|
+
* URL-safe Project identifier. It is separate from a workspace slug and never substitutes for one.
|
|
884
889
|
*/
|
|
885
890
|
slug: string;
|
|
886
891
|
/**
|
|
887
|
-
* Commercial Project lifecycle state, distinct from child
|
|
892
|
+
* Commercial Project lifecycle state, distinct from child workspace runtime state.
|
|
888
893
|
*/
|
|
889
894
|
status: 'active' | 'suspended' | 'closed';
|
|
890
895
|
/**
|
|
891
|
-
* ADR 0056 migration authority mode. `tenant` preserves legacy
|
|
896
|
+
* ADR 0056 migration authority mode. `tenant` preserves legacy workspace billing; `project-billing` moves only subscription authority while retaining the current Live workspace as the compatibility anchor.
|
|
892
897
|
*/
|
|
893
898
|
authorityMode: 'tenant' | 'project-billing';
|
|
894
899
|
updatedAt: string;
|
|
@@ -1032,7 +1037,7 @@ interface SystemMedia {
|
|
|
1032
1037
|
interface FieldConfig {
|
|
1033
1038
|
id: string;
|
|
1034
1039
|
tenant?: (string | null) | Tenant;
|
|
1035
|
-
collectionSlug: 'products' | 'product-variants' | 'product-options' | 'product-option-values' | 'product-collections' | 'product-categories' | 'product-tags' | 'brands' | 'discounts' | 'shipping-policies' | 'orders' | 'carts' | 'transactions' | 'fulfillments' | 'returns' | 'customers' | 'customer-groups' | 'customer-profiles' | 'customer-profile-lists' | 'article-authors' | 'articles' | 'article-categories' | 'article-tags' | 'documents' | 'document-categories' | 'document-types' | 'playlists' | 'playlist-categories' | 'playlist-tags' | 'tracks' | 'track-categories' | 'track-tags' | 'galleries' | 'gallery-categories' | 'gallery-tags' | 'gallery-items' | 'links' | 'link-categories' | 'link-tags' | 'canvases' | 'canvas-categories' | 'canvas-tags' | 'canvas-node-types' | 'canvas-edge-types' | 'videos' | 'video-categories' | 'video-tags' | 'live-streams' | 'forms' | 'posts' | 'comments' | 'reactions' | 'reaction-types' | 'bookmarks' | 'post-categories' | 'post-tags' | 'event-calendars' | 'events' | 'event-categories' | 'event-tags' | 'event-occurrences' | 'event-registrations';
|
|
1040
|
+
collectionSlug: 'benefit-voucher-definitions' | 'products' | 'product-variants' | 'product-options' | 'product-option-values' | 'product-collections' | 'product-categories' | 'product-tags' | 'brands' | 'discounts' | 'shipping-policies' | 'orders' | 'carts' | 'transactions' | 'fulfillments' | 'returns' | 'customers' | 'customer-groups' | 'customer-profiles' | 'customer-profile-lists' | 'article-authors' | 'articles' | 'article-categories' | 'article-tags' | 'documents' | 'document-categories' | 'document-types' | 'playlists' | 'playlist-categories' | 'playlist-tags' | 'tracks' | 'track-categories' | 'track-tags' | 'galleries' | 'gallery-categories' | 'gallery-tags' | 'gallery-items' | 'links' | 'link-categories' | 'link-tags' | 'canvases' | 'canvas-categories' | 'canvas-tags' | 'canvas-node-types' | 'canvas-edge-types' | 'videos' | 'video-categories' | 'video-tags' | 'live-streams' | 'forms' | 'posts' | 'comments' | 'reactions' | 'reaction-types' | 'bookmarks' | 'post-categories' | 'post-tags' | 'event-calendars' | 'events' | 'event-categories' | 'event-tags' | 'event-occurrences' | 'event-registrations';
|
|
1036
1041
|
isHidden?: boolean | null;
|
|
1037
1042
|
hiddenFields?: {
|
|
1038
1043
|
[k: string]: unknown;
|
|
@@ -1074,7 +1079,7 @@ interface Audience {
|
|
|
1074
1079
|
interface EmailLog {
|
|
1075
1080
|
id: string;
|
|
1076
1081
|
/**
|
|
1077
|
-
* Originating
|
|
1082
|
+
* Originating workspace. NULL for system-level emails (super-admin only).
|
|
1078
1083
|
*/
|
|
1079
1084
|
tenant?: (string | null) | Tenant;
|
|
1080
1085
|
to: string;
|
|
@@ -1124,7 +1129,7 @@ interface CommerceNotificationIntent {
|
|
|
1124
1129
|
id: string;
|
|
1125
1130
|
tenant?: (string | null) | Tenant;
|
|
1126
1131
|
/**
|
|
1127
|
-
* Stable key that prevents duplicate notification intents within a
|
|
1132
|
+
* Stable key that prevents duplicate notification intents within a workspace.
|
|
1128
1133
|
*/
|
|
1129
1134
|
dedupeKey: string;
|
|
1130
1135
|
event: 'orderPaid' | 'orderCanceled' | 'fulfillmentShipped' | 'orderDelivered' | 'returnRequested' | 'returnApproved' | 'returnRejected' | 'returnCanceled' | 'returnCompleted' | 'paymentReconciliationRequired' | 'paymentRefundRequiresAttention' | 'membershipActivated' | 'membershipPastDue' | 'membershipExpired' | 'membershipCancelled' | 'eventRegistrationConfirmed' | 'eventOccurrenceCanceled';
|
|
@@ -1497,11 +1502,11 @@ interface Customer {
|
|
|
1497
1502
|
};
|
|
1498
1503
|
};
|
|
1499
1504
|
/**
|
|
1500
|
-
*
|
|
1505
|
+
* Workspace self-reported value. It is not a hosted server consent receipt.
|
|
1501
1506
|
*/
|
|
1502
1507
|
acceptsTos?: boolean | null;
|
|
1503
1508
|
/**
|
|
1504
|
-
*
|
|
1509
|
+
* Workspace self-reported version. Hosted reconsent does not use it.
|
|
1505
1510
|
*/
|
|
1506
1511
|
tosVersion?: string | null;
|
|
1507
1512
|
/**
|
|
@@ -1617,7 +1622,7 @@ interface CustomerAddress {
|
|
|
1617
1622
|
*/
|
|
1618
1623
|
address2?: string | null;
|
|
1619
1624
|
/**
|
|
1620
|
-
*
|
|
1625
|
+
* Enter the lot-based jibun address.
|
|
1621
1626
|
*/
|
|
1622
1627
|
jibunAddress?: string | null;
|
|
1623
1628
|
/**
|
|
@@ -1625,7 +1630,7 @@ interface CustomerAddress {
|
|
|
1625
1630
|
*/
|
|
1626
1631
|
city?: string | null;
|
|
1627
1632
|
/**
|
|
1628
|
-
*
|
|
1633
|
+
* Enter the state, province, or region (KR: 시/도).
|
|
1629
1634
|
*/
|
|
1630
1635
|
administrativeArea?: string | null;
|
|
1631
1636
|
/**
|
|
@@ -1637,7 +1642,7 @@ interface CustomerAddress {
|
|
|
1637
1642
|
*/
|
|
1638
1643
|
country?: string | null;
|
|
1639
1644
|
/**
|
|
1640
|
-
*
|
|
1645
|
+
* Choose a delivery option. Enter free-form details in Delivery Note.
|
|
1641
1646
|
*/
|
|
1642
1647
|
deliveryRequest?: ('security_office' | 'handoff_in_person' | 'call_before' | 'leave_at_door' | 'other') | null;
|
|
1643
1648
|
/**
|
|
@@ -1657,7 +1662,7 @@ interface CustomerProfile {
|
|
|
1657
1662
|
tenant?: (string | null) | Tenant;
|
|
1658
1663
|
customer: string | Customer;
|
|
1659
1664
|
/**
|
|
1660
|
-
* Public username shown like @01works. Store 3-30 characters without @, using lowercase ASCII letters, numbers, hyphens, or underscores, and keep it unique within the
|
|
1665
|
+
* Public username shown like @01works. Store 3-30 characters without @, using lowercase ASCII letters, numbers, hyphens, or underscores, and keep it unique within the workspace.
|
|
1661
1666
|
*/
|
|
1662
1667
|
handle?: string | null;
|
|
1663
1668
|
displayName?: string | null;
|
|
@@ -2146,11 +2151,11 @@ interface LiveStream {
|
|
|
2146
2151
|
startedAt?: string | null;
|
|
2147
2152
|
endedAt?: string | null;
|
|
2148
2153
|
/**
|
|
2149
|
-
*
|
|
2154
|
+
* Console does not automatically aggregate concurrent viewers. This displays the stored peak concurrent viewer count.
|
|
2150
2155
|
*/
|
|
2151
2156
|
peakViewerCount?: number | null;
|
|
2152
2157
|
/**
|
|
2153
|
-
*
|
|
2158
|
+
* Console does not automatically aggregate live stream views. This is a read-only stored value.
|
|
2154
2159
|
*/
|
|
2155
2160
|
viewCount?: number | null;
|
|
2156
2161
|
updatedAt: string;
|
|
@@ -3220,7 +3225,7 @@ interface Checkout {
|
|
|
3220
3225
|
id?: string | null;
|
|
3221
3226
|
}[] | null;
|
|
3222
3227
|
/**
|
|
3223
|
-
*
|
|
3228
|
+
* Workspace-unique reference supplied by a server integration.
|
|
3224
3229
|
*/
|
|
3225
3230
|
clientReferenceId?: string | null;
|
|
3226
3231
|
/**
|
|
@@ -3711,7 +3716,7 @@ interface CommercePaymentAccount {
|
|
|
3711
3716
|
*/
|
|
3712
3717
|
providerAccountKey: string;
|
|
3713
3718
|
environment: 'test' | 'live';
|
|
3714
|
-
markets
|
|
3719
|
+
markets?: (string | Market)[] | null;
|
|
3715
3720
|
tossConfiguration?: {
|
|
3716
3721
|
/**
|
|
3717
3722
|
* Toss Widget client key. Must use the test_gck_ / live_gck_ prefix matching the registered environment.
|
|
@@ -3818,7 +3823,7 @@ interface Event {
|
|
|
3818
3823
|
categories?: (string | EventCategory)[] | null;
|
|
3819
3824
|
tags?: (string | EventTag)[] | null;
|
|
3820
3825
|
/**
|
|
3821
|
-
* Products shown with this event. Available only when the Event commerce recipe is active for the
|
|
3826
|
+
* Products shown with this event. Available only when the Event commerce recipe is active for the workspace.
|
|
3822
3827
|
*/
|
|
3823
3828
|
products?: (string | Product)[] | null;
|
|
3824
3829
|
/**
|
|
@@ -4687,7 +4692,7 @@ interface PersonalAccessToken {
|
|
|
4687
4692
|
*/
|
|
4688
4693
|
displaySuffix: string;
|
|
4689
4694
|
/**
|
|
4690
|
-
* Default
|
|
4695
|
+
* Default workspace ID for CLI operations. Set via `01 tenant use <name>`.
|
|
4691
4696
|
*/
|
|
4692
4697
|
defaultTenant?: string | null;
|
|
4693
4698
|
/**
|
|
@@ -4744,7 +4749,7 @@ interface WebhookEvent {
|
|
|
4744
4749
|
id: string;
|
|
4745
4750
|
tenant?: (string | null) | Tenant;
|
|
4746
4751
|
/**
|
|
4747
|
-
* New runtime rows require
|
|
4752
|
+
* New runtime rows require workspace or global. Null marks legacy/old-runtime evidence during expand and is treated as unresolved like unknown.
|
|
4748
4753
|
*/
|
|
4749
4754
|
ownershipScope?: ('tenant' | 'global' | 'unknown') | null;
|
|
4750
4755
|
/**
|
|
@@ -4942,6 +4947,7 @@ interface WebhookOutboxDelivery {
|
|
|
4942
4947
|
interface TenantMetadatum {
|
|
4943
4948
|
id: string;
|
|
4944
4949
|
tenant?: (string | null) | Tenant;
|
|
4950
|
+
adminTitle?: string | null;
|
|
4945
4951
|
siteInfo?: {
|
|
4946
4952
|
/**
|
|
4947
4953
|
* Site title (used in browser tab and SEO)
|
|
@@ -5240,7 +5246,7 @@ interface TenantEntitlement {
|
|
|
5240
5246
|
interface Subscription {
|
|
5241
5247
|
id: string;
|
|
5242
5248
|
/**
|
|
5243
|
-
* Project billing scope. The existing Live
|
|
5249
|
+
* Project billing scope. The existing Live workspace relation remains the compatibility and evidence anchor.
|
|
5244
5250
|
*/
|
|
5245
5251
|
project?: (string | null) | Project;
|
|
5246
5252
|
tenant: string | Tenant;
|
|
@@ -5459,6 +5465,10 @@ interface UsageInvoice {
|
|
|
5459
5465
|
*/
|
|
5460
5466
|
periodMonth: string;
|
|
5461
5467
|
orderId: string;
|
|
5468
|
+
protocolVersion?: number | null;
|
|
5469
|
+
creationEpoch?: number | null;
|
|
5470
|
+
preChargeNoticeVersion?: number | null;
|
|
5471
|
+
preChargeNoticeReservedAt?: string | null;
|
|
5462
5472
|
preChargeNoticeSentAt?: string | null;
|
|
5463
5473
|
baseFeeChargedKrw: number;
|
|
5464
5474
|
overageTotalKrw: number;
|
|
@@ -5530,7 +5540,7 @@ interface ApiUsage {
|
|
|
5530
5540
|
*/
|
|
5531
5541
|
storageLimitBytes?: number | null;
|
|
5532
5542
|
/**
|
|
5533
|
-
* Total document count across all
|
|
5543
|
+
* Total document count across all workspace-scoped collections
|
|
5534
5544
|
*/
|
|
5535
5545
|
documentCount?: number | null;
|
|
5536
5546
|
/**
|
|
@@ -5559,6 +5569,12 @@ interface ApiUsage {
|
|
|
5559
5569
|
emailUsage?: {
|
|
5560
5570
|
[k: string]: unknown;
|
|
5561
5571
|
} | unknown[] | string | number | boolean | null;
|
|
5572
|
+
/**
|
|
5573
|
+
* Last actual observation and attempt times. A numeric sample does not prove month completeness.
|
|
5574
|
+
*/
|
|
5575
|
+
closedMonthObservation?: {
|
|
5576
|
+
[k: string]: unknown;
|
|
5577
|
+
} | unknown[] | string | number | boolean | null;
|
|
5562
5578
|
/**
|
|
5563
5579
|
* Timestamp when the usage snapshot cron calculated this monthly aggregate.
|
|
5564
5580
|
*/
|
|
@@ -5566,6 +5582,35 @@ interface ApiUsage {
|
|
|
5566
5582
|
updatedAt: string;
|
|
5567
5583
|
createdAt: string;
|
|
5568
5584
|
}
|
|
5585
|
+
/**
|
|
5586
|
+
* This interface was referenced by `Config`'s JSON-Schema
|
|
5587
|
+
* via the `definition` "billing-consent-receipts".
|
|
5588
|
+
*/
|
|
5589
|
+
interface BillingConsentReceipt {
|
|
5590
|
+
id: string;
|
|
5591
|
+
tenant: string | Tenant;
|
|
5592
|
+
project?: (string | null) | Project;
|
|
5593
|
+
subscription?: (string | null) | Subscription;
|
|
5594
|
+
billingHistory?: (string | null) | BillingHistory;
|
|
5595
|
+
invoiceNumber?: string | null;
|
|
5596
|
+
action: 'initial_flat' | 'enterprise_registration' | 'plan_upgrade' | 'plan_downgrade_schedule';
|
|
5597
|
+
receiptKey: string;
|
|
5598
|
+
consentId: string;
|
|
5599
|
+
actor?: (string | null) | User;
|
|
5600
|
+
actorUserId: string;
|
|
5601
|
+
actorRole: 'tenant-admin' | 'super-admin';
|
|
5602
|
+
acceptedAt: string;
|
|
5603
|
+
termsVersion: string;
|
|
5604
|
+
termsLocale: 'ko' | 'en';
|
|
5605
|
+
termsSha256: string;
|
|
5606
|
+
quoteRevision: string;
|
|
5607
|
+
offerRevision?: string | null;
|
|
5608
|
+
quoteSnapshot: {
|
|
5609
|
+
[k: string]: unknown;
|
|
5610
|
+
} | unknown[] | string | number | boolean | null;
|
|
5611
|
+
updatedAt: string;
|
|
5612
|
+
createdAt: string;
|
|
5613
|
+
}
|
|
5569
5614
|
/**
|
|
5570
5615
|
* This interface was referenced by `Config`'s JSON-Schema
|
|
5571
5616
|
* via the `definition` "plans".
|
|
@@ -6350,6 +6395,7 @@ interface OrderExportProfile {
|
|
|
6350
6395
|
interface TenantCommerceConfig {
|
|
6351
6396
|
id: string;
|
|
6352
6397
|
tenant?: (string | null) | Tenant;
|
|
6398
|
+
adminTitle?: string | null;
|
|
6353
6399
|
ecommerceReturnPolicy?: {
|
|
6354
6400
|
initialShippingRefundMode?: ('full_order_only' | 'never') | null;
|
|
6355
6401
|
eligibleInitialShippingRefundReasons?: ('change_of_mind' | 'defective' | 'wrong_delivery' | 'damaged' | 'other')[] | null;
|
|
@@ -6472,6 +6518,9 @@ interface CustomerOauthClient {
|
|
|
6472
6518
|
*/
|
|
6473
6519
|
enabledSocialProviders?: ('google' | 'apple' | 'kakao' | 'naver')[] | null;
|
|
6474
6520
|
metadata?: {
|
|
6521
|
+
/**
|
|
6522
|
+
* Hosted sign-in shows only logos on the 01 SOFTWARE media CDN; other URLs are saved but not shown. Leave blank to use the workspace logo from Site & Branding settings.
|
|
6523
|
+
*/
|
|
6475
6524
|
logoUrl?: string | null;
|
|
6476
6525
|
privacyPolicyUrl?: string | null;
|
|
6477
6526
|
termsUrl?: string | null;
|
|
@@ -6685,6 +6734,22 @@ interface DraftOrderItem {
|
|
|
6685
6734
|
updatedAt: string;
|
|
6686
6735
|
createdAt: string;
|
|
6687
6736
|
}
|
|
6737
|
+
/**
|
|
6738
|
+
* Manage single-use benefit voucher definitions and validity periods for customers.
|
|
6739
|
+
*
|
|
6740
|
+
* This interface was referenced by `Config`'s JSON-Schema
|
|
6741
|
+
* via the `definition` "benefit-voucher-definitions".
|
|
6742
|
+
*/
|
|
6743
|
+
interface BenefitVoucherDefinition {
|
|
6744
|
+
id: string;
|
|
6745
|
+
tenant?: (string | null) | Tenant;
|
|
6746
|
+
name: string;
|
|
6747
|
+
description?: string | null;
|
|
6748
|
+
validityDays: number;
|
|
6749
|
+
status: 'active' | 'archived';
|
|
6750
|
+
updatedAt: string;
|
|
6751
|
+
createdAt: string;
|
|
6752
|
+
}
|
|
6688
6753
|
/**
|
|
6689
6754
|
* Manage publishable articles, authors, and classification.
|
|
6690
6755
|
*
|
|
@@ -7590,7 +7655,7 @@ interface Link {
|
|
|
7590
7655
|
*/
|
|
7591
7656
|
expiresAt?: string | null;
|
|
7592
7657
|
/**
|
|
7593
|
-
* Read-only
|
|
7658
|
+
* Read-only click count. Console does not currently collect clicks automatically.
|
|
7594
7659
|
*/
|
|
7595
7660
|
clickCount?: number | null;
|
|
7596
7661
|
lastClickedAt?: string | null;
|
|
@@ -8293,11 +8358,11 @@ interface CommunityBan {
|
|
|
8293
8358
|
id: string;
|
|
8294
8359
|
tenant?: (string | null) | Tenant;
|
|
8295
8360
|
customer: string | Customer;
|
|
8361
|
+
isPermanent: boolean;
|
|
8296
8362
|
/**
|
|
8297
|
-
*
|
|
8363
|
+
* Set an expiry time for a temporary ban
|
|
8298
8364
|
*/
|
|
8299
8365
|
bannedUntil?: string | null;
|
|
8300
|
-
isPermanent: boolean;
|
|
8301
8366
|
reason?: ('spam' | 'harassment' | 'ban_evasion' | 'repeated_violations' | 'other') | null;
|
|
8302
8367
|
/**
|
|
8303
8368
|
* Additional context (optional)
|
|
@@ -8407,7 +8472,7 @@ interface EventCalendar {
|
|
|
8407
8472
|
*/
|
|
8408
8473
|
color?: string | null;
|
|
8409
8474
|
/**
|
|
8410
|
-
* Visibility for the
|
|
8475
|
+
* Visibility for the workspace-global calendar.
|
|
8411
8476
|
*/
|
|
8412
8477
|
visibility?: ('public' | 'unlisted' | 'private') | null;
|
|
8413
8478
|
publishedAt?: string | null;
|
|
@@ -8456,6 +8521,14 @@ interface MembershipPlan {
|
|
|
8456
8521
|
* Internal note for operators; not shown to customers.
|
|
8457
8522
|
*/
|
|
8458
8523
|
description?: string | null;
|
|
8524
|
+
/**
|
|
8525
|
+
* Plan name shown to customers at signup. Falls back to the internal name when empty.
|
|
8526
|
+
*/
|
|
8527
|
+
publicTitle?: string | null;
|
|
8528
|
+
/**
|
|
8529
|
+
* Plan description shown to customers at signup.
|
|
8530
|
+
*/
|
|
8531
|
+
publicDescription?: string | null;
|
|
8459
8532
|
/**
|
|
8460
8533
|
* Free trial days (optional)
|
|
8461
8534
|
*/
|
|
@@ -8478,14 +8551,6 @@ interface MembershipPlan {
|
|
|
8478
8551
|
activePriceCount?: number | null;
|
|
8479
8552
|
isActive?: boolean | null;
|
|
8480
8553
|
displayOrder?: number | null;
|
|
8481
|
-
/**
|
|
8482
|
-
* Plan name shown to customers at signup. Falls back to the internal name when empty.
|
|
8483
|
-
*/
|
|
8484
|
-
publicTitle?: string | null;
|
|
8485
|
-
/**
|
|
8486
|
-
* Plan description shown to customers at signup.
|
|
8487
|
-
*/
|
|
8488
|
-
publicDescription?: string | null;
|
|
8489
8554
|
updatedAt: string;
|
|
8490
8555
|
createdAt: string;
|
|
8491
8556
|
deletedAt?: string | null;
|
|
@@ -9401,6 +9466,7 @@ interface TenantsSelect<T extends boolean = true> {
|
|
|
9401
9466
|
};
|
|
9402
9467
|
embeddedAdminApp?: T | {
|
|
9403
9468
|
enabled?: T;
|
|
9469
|
+
allowedRoles?: T;
|
|
9404
9470
|
label?: T;
|
|
9405
9471
|
origin?: T;
|
|
9406
9472
|
path?: T;
|
|
@@ -9451,6 +9517,7 @@ interface TenantsSelect<T extends boolean = true> {
|
|
|
9451
9517
|
*/
|
|
9452
9518
|
interface TenantMetadataSelect<T extends boolean = true> {
|
|
9453
9519
|
tenant?: T;
|
|
9520
|
+
adminTitle?: T;
|
|
9454
9521
|
siteInfo?: T | {
|
|
9455
9522
|
title?: T;
|
|
9456
9523
|
description?: T;
|
|
@@ -9632,6 +9699,32 @@ interface BillingHistorySelect<T extends boolean = true> {
|
|
|
9632
9699
|
createdAt?: T;
|
|
9633
9700
|
deletedAt?: T;
|
|
9634
9701
|
}
|
|
9702
|
+
/**
|
|
9703
|
+
* This interface was referenced by `Config`'s JSON-Schema
|
|
9704
|
+
* via the `definition` "billing-consent-receipts_select".
|
|
9705
|
+
*/
|
|
9706
|
+
interface BillingConsentReceiptsSelect<T extends boolean = true> {
|
|
9707
|
+
tenant?: T;
|
|
9708
|
+
project?: T;
|
|
9709
|
+
subscription?: T;
|
|
9710
|
+
billingHistory?: T;
|
|
9711
|
+
invoiceNumber?: T;
|
|
9712
|
+
action?: T;
|
|
9713
|
+
receiptKey?: T;
|
|
9714
|
+
consentId?: T;
|
|
9715
|
+
actor?: T;
|
|
9716
|
+
actorUserId?: T;
|
|
9717
|
+
actorRole?: T;
|
|
9718
|
+
acceptedAt?: T;
|
|
9719
|
+
termsVersion?: T;
|
|
9720
|
+
termsLocale?: T;
|
|
9721
|
+
termsSha256?: T;
|
|
9722
|
+
quoteRevision?: T;
|
|
9723
|
+
offerRevision?: T;
|
|
9724
|
+
quoteSnapshot?: T;
|
|
9725
|
+
updatedAt?: T;
|
|
9726
|
+
createdAt?: T;
|
|
9727
|
+
}
|
|
9635
9728
|
/**
|
|
9636
9729
|
* This interface was referenced by `Config`'s JSON-Schema
|
|
9637
9730
|
* via the `definition` "plans_select".
|
|
@@ -9684,6 +9777,10 @@ interface UsageInvoicesSelect<T extends boolean = true> {
|
|
|
9684
9777
|
currency?: T;
|
|
9685
9778
|
periodMonth?: T;
|
|
9686
9779
|
orderId?: T;
|
|
9780
|
+
protocolVersion?: T;
|
|
9781
|
+
creationEpoch?: T;
|
|
9782
|
+
preChargeNoticeVersion?: T;
|
|
9783
|
+
preChargeNoticeReservedAt?: T;
|
|
9687
9784
|
preChargeNoticeSentAt?: T;
|
|
9688
9785
|
baseFeeChargedKrw?: T;
|
|
9689
9786
|
overageTotalKrw?: T;
|
|
@@ -9868,6 +9965,7 @@ interface ApiUsageSelect<T extends boolean = true> {
|
|
|
9868
9965
|
aiGenerationCount?: T;
|
|
9869
9966
|
notificationEmailCount?: T;
|
|
9870
9967
|
emailUsage?: T;
|
|
9968
|
+
closedMonthObservation?: T;
|
|
9871
9969
|
snapshottedAt?: T;
|
|
9872
9970
|
updatedAt?: T;
|
|
9873
9971
|
createdAt?: T;
|
|
@@ -11302,6 +11400,7 @@ interface ShippingZonesSelect<T extends boolean = true> {
|
|
|
11302
11400
|
*/
|
|
11303
11401
|
interface TenantCommerceConfigSelect<T extends boolean = true> {
|
|
11304
11402
|
tenant?: T;
|
|
11403
|
+
adminTitle?: T;
|
|
11305
11404
|
ecommerceReturnPolicy?: T | {
|
|
11306
11405
|
initialShippingRefundMode?: T;
|
|
11307
11406
|
eligibleInitialShippingRefundReasons?: T;
|
|
@@ -11983,6 +12082,19 @@ interface DiscountsSelect<T extends boolean = true> {
|
|
|
11983
12082
|
createdAt?: T;
|
|
11984
12083
|
deletedAt?: T;
|
|
11985
12084
|
}
|
|
12085
|
+
/**
|
|
12086
|
+
* This interface was referenced by `Config`'s JSON-Schema
|
|
12087
|
+
* via the `definition` "benefit-voucher-definitions_select".
|
|
12088
|
+
*/
|
|
12089
|
+
interface BenefitVoucherDefinitionsSelect<T extends boolean = true> {
|
|
12090
|
+
tenant?: T;
|
|
12091
|
+
name?: T;
|
|
12092
|
+
description?: T;
|
|
12093
|
+
validityDays?: T;
|
|
12094
|
+
status?: T;
|
|
12095
|
+
updatedAt?: T;
|
|
12096
|
+
createdAt?: T;
|
|
12097
|
+
}
|
|
11986
12098
|
/**
|
|
11987
12099
|
* This interface was referenced by `Config`'s JSON-Schema
|
|
11988
12100
|
* via the `definition` "articles_select".
|
|
@@ -12965,8 +13077,8 @@ interface ReportsSelect<T extends boolean = true> {
|
|
|
12965
13077
|
interface CommunityBansSelect<T extends boolean = true> {
|
|
12966
13078
|
tenant?: T;
|
|
12967
13079
|
customer?: T;
|
|
12968
|
-
bannedUntil?: T;
|
|
12969
13080
|
isPermanent?: T;
|
|
13081
|
+
bannedUntil?: T;
|
|
12970
13082
|
reason?: T;
|
|
12971
13083
|
reasonDetail?: T;
|
|
12972
13084
|
sourceReport?: T;
|
|
@@ -13304,14 +13416,14 @@ interface MembershipPlansSelect<T extends boolean = true> {
|
|
|
13304
13416
|
generateSlug?: T;
|
|
13305
13417
|
slug?: T;
|
|
13306
13418
|
description?: T;
|
|
13419
|
+
publicTitle?: T;
|
|
13420
|
+
publicDescription?: T;
|
|
13307
13421
|
trialDays?: T;
|
|
13308
13422
|
memberGroup?: T;
|
|
13309
13423
|
prices?: T;
|
|
13310
13424
|
activePriceCount?: T;
|
|
13311
13425
|
isActive?: T;
|
|
13312
13426
|
displayOrder?: T;
|
|
13313
|
-
publicTitle?: T;
|
|
13314
|
-
publicDescription?: T;
|
|
13315
13427
|
updatedAt?: T;
|
|
13316
13428
|
createdAt?: T;
|
|
13317
13429
|
deletedAt?: T;
|
package/dist/query.cjs
CHANGED
|
@@ -865,7 +865,9 @@ var COMMERCE_ENDPOINT_OPERATIONS = {
|
|
|
865
865
|
),
|
|
866
866
|
stockCheck: operation("products", "post", "/stock-check"),
|
|
867
867
|
stockSnapshot: operation("products", "get", "/stock"),
|
|
868
|
-
upsert: operation("products", "post", "/upsert")
|
|
868
|
+
upsert: operation("products", "post", "/upsert"),
|
|
869
|
+
graphRevision: operation("products", "get", "/:id/graph-revision"),
|
|
870
|
+
variantsPatch: operation("products", "patch", "/:id/variants")
|
|
869
871
|
},
|
|
870
872
|
orders: {
|
|
871
873
|
create: operation("orders", "post", "/create"),
|
|
@@ -1028,12 +1030,28 @@ var EXTERNAL_CUSTOMER_LINK_ENDPOINT_OPERATIONS = {
|
|
|
1028
1030
|
"/external-links/clear-previous-state"
|
|
1029
1031
|
)
|
|
1030
1032
|
};
|
|
1033
|
+
var BENEFIT_VOUCHER_ENDPOINT_OPERATIONS = {
|
|
1034
|
+
issue: operation("customers", "post", "/benefit-vouchers/issue"),
|
|
1035
|
+
get: operation("customers", "post", "/benefit-vouchers/get"),
|
|
1036
|
+
list: operation("customers", "post", "/benefit-vouchers/list"),
|
|
1037
|
+
redeem: operation("customers", "post", "/benefit-vouchers/redeem"),
|
|
1038
|
+
void: operation("customers", "post", "/benefit-vouchers/void"),
|
|
1039
|
+
listMine: operation("customers", "get", "/me/benefit-vouchers")
|
|
1040
|
+
};
|
|
1031
1041
|
var CUSTOMER_GROUP_ENDPOINT_OPERATIONS = {
|
|
1032
1042
|
members: operation("customer-groups", "get", "/:id/members"),
|
|
1033
1043
|
grant: operation("customer-groups", "post", "/:id/members/grant"),
|
|
1034
1044
|
revoke: operation("customer-groups", "post", "/:id/members/revoke")
|
|
1035
1045
|
};
|
|
1036
1046
|
var CUSTOMER_AUTH_ENDPOINT_OPERATIONS = {
|
|
1047
|
+
register: operation("customers", "post", "/register"),
|
|
1048
|
+
login: operation("customers", "post", "/login"),
|
|
1049
|
+
refresh: operation("customers", "post", "/refresh"),
|
|
1050
|
+
me: operation("customers", "get", "/me"),
|
|
1051
|
+
updateProfile: operation("customers", "patch", "/me"),
|
|
1052
|
+
forgotPassword: operation("customers", "post", "/forgot-password"),
|
|
1053
|
+
resetPassword: operation("customers", "post", "/reset-password"),
|
|
1054
|
+
changePassword: operation("customers", "post", "/change-password"),
|
|
1037
1055
|
revokeRefresh: operation("customers", "post", "/revoke-refresh"),
|
|
1038
1056
|
withdraw: operation("customers", "post", "/withdraw")
|
|
1039
1057
|
};
|
|
@@ -1043,6 +1061,9 @@ var EMBEDDED_ADMIN_ENDPOINT_OPERATIONS = {
|
|
|
1043
1061
|
disable: operation("tenants", "delete", "/embedded-admin-app")
|
|
1044
1062
|
};
|
|
1045
1063
|
var EVENTS_ENDPOINT_OPERATIONS = {
|
|
1064
|
+
registrations: {
|
|
1065
|
+
listMine: operation("event-registrations", "get", "/my")
|
|
1066
|
+
},
|
|
1046
1067
|
events: {
|
|
1047
1068
|
convertSchedule: operation("events", "post", "/:id/schedule")
|
|
1048
1069
|
},
|