@01.software/sdk 0.65.1 → 0.67.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 +68 -0
- package/README.md +79 -2
- package/dist/client.cjs +79 -27
- package/dist/client.cjs.map +1 -1
- package/dist/client.d.cts +6 -6
- package/dist/client.d.ts +6 -6
- package/dist/client.js +79 -27
- package/dist/client.js.map +1 -1
- package/dist/{collection-client-C2sMvfme.d.ts → collection-client-D4HEOoO_.d.ts} +4 -4
- package/dist/{collection-client-B7rsTtVj.d.cts → collection-client-jrNFGbrO.d.cts} +4 -4
- package/dist/{const-CRxPTDGt.d.ts → const-BU79hCFB.d.ts} +2 -2
- package/dist/{const-D6ZRQLxI.d.cts → const-CCQ3MdLE.d.cts} +2 -2
- package/dist/{index-1auUEYrl.d.ts → index-CwKxWHIa.d.ts} +3 -3
- package/dist/{index-Bbpf5t-l.d.cts → index-DiyhsVHd.d.cts} +3 -3
- package/dist/index.cjs +80 -27
- 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 +80 -27
- package/dist/index.js.map +1 -1
- package/dist/{payload-types-BnIET0xU.d.cts → payload-types-jdsUXunB.d.cts} +128 -49
- package/dist/{payload-types-BnIET0xU.d.ts → payload-types-jdsUXunB.d.ts} +128 -49
- package/dist/query.cjs +14 -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 +14 -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 +96 -3
- package/dist/server.cjs.map +1 -1
- package/dist/server.d.cts +9 -9
- package/dist/server.d.ts +9 -9
- package/dist/server.js +96 -3
- package/dist/server.js.map +1 -1
- package/dist/{types-Dp1oYpD3.d.cts → types-BPwXAFZ7.d.cts} +2 -2
- package/dist/{types-D1y4TgQm.d.ts → types-BusejG-v.d.ts} +2 -2
- package/dist/{types-Dzn0LD2N.d.cts → types-CvdBV3ri.d.cts} +71 -6
- package/dist/{types-DnRC3nLG.d.ts → types-I2k6Laad.d.ts} +71 -6
- 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 +3 -3
|
@@ -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;
|
|
@@ -277,6 +278,7 @@ interface Config {
|
|
|
277
278
|
'tenant-purge-jobs': TenantPurgeJobsSelect<false> | TenantPurgeJobsSelect<true>;
|
|
278
279
|
subscriptions: SubscriptionsSelect<false> | SubscriptionsSelect<true>;
|
|
279
280
|
'billing-history': BillingHistorySelect<false> | BillingHistorySelect<true>;
|
|
281
|
+
'billing-consent-receipts': BillingConsentReceiptsSelect<false> | BillingConsentReceiptsSelect<true>;
|
|
280
282
|
plans: PlansSelect<false> | PlansSelect<true>;
|
|
281
283
|
'usage-rate-cards': UsageRateCardsSelect<false> | UsageRateCardsSelect<true>;
|
|
282
284
|
'usage-invoices': UsageInvoicesSelect<false> | UsageInvoicesSelect<true>;
|
|
@@ -638,14 +640,14 @@ interface Tenant {
|
|
|
638
640
|
environmentState?: ('requested' | 'provisioning' | 'ready' | 'suspended' | 'failed' | 'archived' | 'purge-pending' | 'purged') | null;
|
|
639
641
|
environmentIsCurrent?: boolean | null;
|
|
640
642
|
/**
|
|
641
|
-
* Managed from the current
|
|
643
|
+
* Managed from the current workspace Settings page.
|
|
642
644
|
*/
|
|
643
645
|
consoleMenuLabels?: {
|
|
644
646
|
[k: string]: unknown;
|
|
645
647
|
} | unknown[] | string | number | boolean | null;
|
|
646
648
|
name: string;
|
|
647
649
|
/**
|
|
648
|
-
* IANA time zone for
|
|
650
|
+
* IANA time zone for workspace daily aggregation and AI usage date boundaries.
|
|
649
651
|
*/
|
|
650
652
|
timezone?: string | null;
|
|
651
653
|
/**
|
|
@@ -653,7 +655,7 @@ interface Tenant {
|
|
|
653
655
|
*/
|
|
654
656
|
tenantPurpose?: ('production' | 'test') | null;
|
|
655
657
|
/**
|
|
656
|
-
* A TEST
|
|
658
|
+
* A TEST workspace can be used for at most 30 days from creation.
|
|
657
659
|
*/
|
|
658
660
|
testExpiresAt?: string | null;
|
|
659
661
|
/**
|
|
@@ -661,7 +663,7 @@ interface Tenant {
|
|
|
661
663
|
*/
|
|
662
664
|
slug?: string | null;
|
|
663
665
|
/**
|
|
664
|
-
*
|
|
666
|
+
* 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
667
|
*/
|
|
666
668
|
previewDestinations?: {
|
|
667
669
|
origin: string;
|
|
@@ -676,11 +678,11 @@ interface Tenant {
|
|
|
676
678
|
id?: string | null;
|
|
677
679
|
}[] | null;
|
|
678
680
|
/**
|
|
679
|
-
* Base currency for the
|
|
681
|
+
* 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
682
|
*/
|
|
681
683
|
shopCurrency?: string | null;
|
|
682
684
|
/**
|
|
683
|
-
* Content locales this
|
|
685
|
+
* Content locales this workspace operates.
|
|
684
686
|
*/
|
|
685
687
|
enabledContentLocales?: ('ko' | 'en')[] | null;
|
|
686
688
|
/**
|
|
@@ -692,15 +694,15 @@ interface Tenant {
|
|
|
692
694
|
*/
|
|
693
695
|
contentLocaleFallbackEnabled?: boolean | null;
|
|
694
696
|
/**
|
|
695
|
-
*
|
|
697
|
+
* Workspace owner. Only the owner can delete the workspace or transfer ownership.
|
|
696
698
|
*/
|
|
697
699
|
owner: string | User;
|
|
698
700
|
/**
|
|
699
|
-
* Only features checked above will be enabled for this
|
|
701
|
+
* Only features checked above will be enabled for this workspace.
|
|
700
702
|
*/
|
|
701
703
|
enabledFeatures?: ('ecommerce' | 'customers' | 'playlists' | 'galleries' | 'links' | 'forms' | 'articles' | 'documents' | 'canvas' | 'videos' | 'live-streaming' | 'community' | 'events' | 'membership')[] | null;
|
|
702
704
|
/**
|
|
703
|
-
* Only selected relationship recipes are active for this
|
|
705
|
+
* 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
706
|
*/
|
|
705
707
|
enabledRelationshipRecipes?: ('event-commerce' | 'shoppable-content' | 'product-content-access' | 'form-context' | 'document-acceptance')[] | null;
|
|
706
708
|
featureVersion?: number | null;
|
|
@@ -708,7 +710,7 @@ interface Tenant {
|
|
|
708
710
|
[k: string]: unknown;
|
|
709
711
|
} | unknown[] | string | number | boolean | null;
|
|
710
712
|
/**
|
|
711
|
-
*
|
|
713
|
+
* Workspace lifecycle status. Managed automatically.
|
|
712
714
|
*/
|
|
713
715
|
status?: ('active' | 'paused' | 'past_due' | 'canceled' | 'pending_deletion') | null;
|
|
714
716
|
/**
|
|
@@ -716,7 +718,7 @@ interface Tenant {
|
|
|
716
718
|
*/
|
|
717
719
|
publishableKey: string;
|
|
718
720
|
/**
|
|
719
|
-
* Origins allowed to call this
|
|
721
|
+
* 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
722
|
*/
|
|
721
723
|
cors?: {
|
|
722
724
|
origin: string;
|
|
@@ -736,7 +738,7 @@ interface Tenant {
|
|
|
736
738
|
*/
|
|
737
739
|
senderIdentity?: {
|
|
738
740
|
/**
|
|
739
|
-
* Brand name shown in the recipient's inbox.
|
|
741
|
+
* 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
742
|
*/
|
|
741
743
|
displayName?: string | null;
|
|
742
744
|
/**
|
|
@@ -832,7 +834,7 @@ interface Tenant {
|
|
|
832
834
|
} | unknown[] | string | number | boolean | null;
|
|
833
835
|
};
|
|
834
836
|
/**
|
|
835
|
-
* Configure customer password registration and reset email. The
|
|
837
|
+
* Configure customer password registration and reset email. The workspace owns consent collection and evidence for direct signup.
|
|
836
838
|
*/
|
|
837
839
|
customerAuth?: {
|
|
838
840
|
hostedConsentRequired?: boolean | null;
|
|
@@ -858,7 +860,7 @@ interface Tenant {
|
|
|
858
860
|
passwordResetUrl?: string | null;
|
|
859
861
|
};
|
|
860
862
|
/**
|
|
861
|
-
* Users connected to this
|
|
863
|
+
* Users connected to this workspace
|
|
862
864
|
*/
|
|
863
865
|
members?: {
|
|
864
866
|
docs?: (string | User)[];
|
|
@@ -880,15 +882,15 @@ interface Project {
|
|
|
880
882
|
*/
|
|
881
883
|
name: string;
|
|
882
884
|
/**
|
|
883
|
-
* URL-safe Project identifier. It is separate from a
|
|
885
|
+
* URL-safe Project identifier. It is separate from a workspace slug and never substitutes for one.
|
|
884
886
|
*/
|
|
885
887
|
slug: string;
|
|
886
888
|
/**
|
|
887
|
-
* Commercial Project lifecycle state, distinct from child
|
|
889
|
+
* Commercial Project lifecycle state, distinct from child workspace runtime state.
|
|
888
890
|
*/
|
|
889
891
|
status: 'active' | 'suspended' | 'closed';
|
|
890
892
|
/**
|
|
891
|
-
* ADR 0056 migration authority mode. `tenant` preserves legacy
|
|
893
|
+
* 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
894
|
*/
|
|
893
895
|
authorityMode: 'tenant' | 'project-billing';
|
|
894
896
|
updatedAt: string;
|
|
@@ -1074,7 +1076,7 @@ interface Audience {
|
|
|
1074
1076
|
interface EmailLog {
|
|
1075
1077
|
id: string;
|
|
1076
1078
|
/**
|
|
1077
|
-
* Originating
|
|
1079
|
+
* Originating workspace. NULL for system-level emails (super-admin only).
|
|
1078
1080
|
*/
|
|
1079
1081
|
tenant?: (string | null) | Tenant;
|
|
1080
1082
|
to: string;
|
|
@@ -1124,7 +1126,7 @@ interface CommerceNotificationIntent {
|
|
|
1124
1126
|
id: string;
|
|
1125
1127
|
tenant?: (string | null) | Tenant;
|
|
1126
1128
|
/**
|
|
1127
|
-
* Stable key that prevents duplicate notification intents within a
|
|
1129
|
+
* Stable key that prevents duplicate notification intents within a workspace.
|
|
1128
1130
|
*/
|
|
1129
1131
|
dedupeKey: string;
|
|
1130
1132
|
event: 'orderPaid' | 'orderCanceled' | 'fulfillmentShipped' | 'orderDelivered' | 'returnRequested' | 'returnApproved' | 'returnRejected' | 'returnCanceled' | 'returnCompleted' | 'paymentReconciliationRequired' | 'paymentRefundRequiresAttention' | 'membershipActivated' | 'membershipPastDue' | 'membershipExpired' | 'membershipCancelled' | 'eventRegistrationConfirmed' | 'eventOccurrenceCanceled';
|
|
@@ -1497,11 +1499,11 @@ interface Customer {
|
|
|
1497
1499
|
};
|
|
1498
1500
|
};
|
|
1499
1501
|
/**
|
|
1500
|
-
*
|
|
1502
|
+
* Workspace self-reported value. It is not a hosted server consent receipt.
|
|
1501
1503
|
*/
|
|
1502
1504
|
acceptsTos?: boolean | null;
|
|
1503
1505
|
/**
|
|
1504
|
-
*
|
|
1506
|
+
* Workspace self-reported version. Hosted reconsent does not use it.
|
|
1505
1507
|
*/
|
|
1506
1508
|
tosVersion?: string | null;
|
|
1507
1509
|
/**
|
|
@@ -1617,7 +1619,7 @@ interface CustomerAddress {
|
|
|
1617
1619
|
*/
|
|
1618
1620
|
address2?: string | null;
|
|
1619
1621
|
/**
|
|
1620
|
-
*
|
|
1622
|
+
* Enter the lot-based jibun address.
|
|
1621
1623
|
*/
|
|
1622
1624
|
jibunAddress?: string | null;
|
|
1623
1625
|
/**
|
|
@@ -1625,7 +1627,7 @@ interface CustomerAddress {
|
|
|
1625
1627
|
*/
|
|
1626
1628
|
city?: string | null;
|
|
1627
1629
|
/**
|
|
1628
|
-
*
|
|
1630
|
+
* Enter the state, province, or region (KR: 시/도).
|
|
1629
1631
|
*/
|
|
1630
1632
|
administrativeArea?: string | null;
|
|
1631
1633
|
/**
|
|
@@ -1637,7 +1639,7 @@ interface CustomerAddress {
|
|
|
1637
1639
|
*/
|
|
1638
1640
|
country?: string | null;
|
|
1639
1641
|
/**
|
|
1640
|
-
*
|
|
1642
|
+
* Choose a delivery option. Enter free-form details in Delivery Note.
|
|
1641
1643
|
*/
|
|
1642
1644
|
deliveryRequest?: ('security_office' | 'handoff_in_person' | 'call_before' | 'leave_at_door' | 'other') | null;
|
|
1643
1645
|
/**
|
|
@@ -1657,7 +1659,7 @@ interface CustomerProfile {
|
|
|
1657
1659
|
tenant?: (string | null) | Tenant;
|
|
1658
1660
|
customer: string | Customer;
|
|
1659
1661
|
/**
|
|
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
|
|
1662
|
+
* 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
1663
|
*/
|
|
1662
1664
|
handle?: string | null;
|
|
1663
1665
|
displayName?: string | null;
|
|
@@ -2146,11 +2148,11 @@ interface LiveStream {
|
|
|
2146
2148
|
startedAt?: string | null;
|
|
2147
2149
|
endedAt?: string | null;
|
|
2148
2150
|
/**
|
|
2149
|
-
*
|
|
2151
|
+
* Console does not automatically aggregate concurrent viewers. This displays the stored peak concurrent viewer count.
|
|
2150
2152
|
*/
|
|
2151
2153
|
peakViewerCount?: number | null;
|
|
2152
2154
|
/**
|
|
2153
|
-
*
|
|
2155
|
+
* Console does not automatically aggregate live stream views. This is a read-only stored value.
|
|
2154
2156
|
*/
|
|
2155
2157
|
viewCount?: number | null;
|
|
2156
2158
|
updatedAt: string;
|
|
@@ -3220,7 +3222,7 @@ interface Checkout {
|
|
|
3220
3222
|
id?: string | null;
|
|
3221
3223
|
}[] | null;
|
|
3222
3224
|
/**
|
|
3223
|
-
*
|
|
3225
|
+
* Workspace-unique reference supplied by a server integration.
|
|
3224
3226
|
*/
|
|
3225
3227
|
clientReferenceId?: string | null;
|
|
3226
3228
|
/**
|
|
@@ -3711,7 +3713,7 @@ interface CommercePaymentAccount {
|
|
|
3711
3713
|
*/
|
|
3712
3714
|
providerAccountKey: string;
|
|
3713
3715
|
environment: 'test' | 'live';
|
|
3714
|
-
markets
|
|
3716
|
+
markets?: (string | Market)[] | null;
|
|
3715
3717
|
tossConfiguration?: {
|
|
3716
3718
|
/**
|
|
3717
3719
|
* Toss Widget client key. Must use the test_gck_ / live_gck_ prefix matching the registered environment.
|
|
@@ -3818,7 +3820,7 @@ interface Event {
|
|
|
3818
3820
|
categories?: (string | EventCategory)[] | null;
|
|
3819
3821
|
tags?: (string | EventTag)[] | null;
|
|
3820
3822
|
/**
|
|
3821
|
-
* Products shown with this event. Available only when the Event commerce recipe is active for the
|
|
3823
|
+
* Products shown with this event. Available only when the Event commerce recipe is active for the workspace.
|
|
3822
3824
|
*/
|
|
3823
3825
|
products?: (string | Product)[] | null;
|
|
3824
3826
|
/**
|
|
@@ -4687,7 +4689,7 @@ interface PersonalAccessToken {
|
|
|
4687
4689
|
*/
|
|
4688
4690
|
displaySuffix: string;
|
|
4689
4691
|
/**
|
|
4690
|
-
* Default
|
|
4692
|
+
* Default workspace ID for CLI operations. Set via `01 tenant use <name>`.
|
|
4691
4693
|
*/
|
|
4692
4694
|
defaultTenant?: string | null;
|
|
4693
4695
|
/**
|
|
@@ -4744,7 +4746,7 @@ interface WebhookEvent {
|
|
|
4744
4746
|
id: string;
|
|
4745
4747
|
tenant?: (string | null) | Tenant;
|
|
4746
4748
|
/**
|
|
4747
|
-
* New runtime rows require
|
|
4749
|
+
* New runtime rows require workspace or global. Null marks legacy/old-runtime evidence during expand and is treated as unresolved like unknown.
|
|
4748
4750
|
*/
|
|
4749
4751
|
ownershipScope?: ('tenant' | 'global' | 'unknown') | null;
|
|
4750
4752
|
/**
|
|
@@ -4942,6 +4944,7 @@ interface WebhookOutboxDelivery {
|
|
|
4942
4944
|
interface TenantMetadatum {
|
|
4943
4945
|
id: string;
|
|
4944
4946
|
tenant?: (string | null) | Tenant;
|
|
4947
|
+
adminTitle?: string | null;
|
|
4945
4948
|
siteInfo?: {
|
|
4946
4949
|
/**
|
|
4947
4950
|
* Site title (used in browser tab and SEO)
|
|
@@ -5240,7 +5243,7 @@ interface TenantEntitlement {
|
|
|
5240
5243
|
interface Subscription {
|
|
5241
5244
|
id: string;
|
|
5242
5245
|
/**
|
|
5243
|
-
* Project billing scope. The existing Live
|
|
5246
|
+
* Project billing scope. The existing Live workspace relation remains the compatibility and evidence anchor.
|
|
5244
5247
|
*/
|
|
5245
5248
|
project?: (string | null) | Project;
|
|
5246
5249
|
tenant: string | Tenant;
|
|
@@ -5459,6 +5462,10 @@ interface UsageInvoice {
|
|
|
5459
5462
|
*/
|
|
5460
5463
|
periodMonth: string;
|
|
5461
5464
|
orderId: string;
|
|
5465
|
+
protocolVersion?: number | null;
|
|
5466
|
+
creationEpoch?: number | null;
|
|
5467
|
+
preChargeNoticeVersion?: number | null;
|
|
5468
|
+
preChargeNoticeReservedAt?: string | null;
|
|
5462
5469
|
preChargeNoticeSentAt?: string | null;
|
|
5463
5470
|
baseFeeChargedKrw: number;
|
|
5464
5471
|
overageTotalKrw: number;
|
|
@@ -5530,7 +5537,7 @@ interface ApiUsage {
|
|
|
5530
5537
|
*/
|
|
5531
5538
|
storageLimitBytes?: number | null;
|
|
5532
5539
|
/**
|
|
5533
|
-
* Total document count across all
|
|
5540
|
+
* Total document count across all workspace-scoped collections
|
|
5534
5541
|
*/
|
|
5535
5542
|
documentCount?: number | null;
|
|
5536
5543
|
/**
|
|
@@ -5559,6 +5566,12 @@ interface ApiUsage {
|
|
|
5559
5566
|
emailUsage?: {
|
|
5560
5567
|
[k: string]: unknown;
|
|
5561
5568
|
} | unknown[] | string | number | boolean | null;
|
|
5569
|
+
/**
|
|
5570
|
+
* Last actual observation and attempt times. A numeric sample does not prove month completeness.
|
|
5571
|
+
*/
|
|
5572
|
+
closedMonthObservation?: {
|
|
5573
|
+
[k: string]: unknown;
|
|
5574
|
+
} | unknown[] | string | number | boolean | null;
|
|
5562
5575
|
/**
|
|
5563
5576
|
* Timestamp when the usage snapshot cron calculated this monthly aggregate.
|
|
5564
5577
|
*/
|
|
@@ -5566,6 +5579,35 @@ interface ApiUsage {
|
|
|
5566
5579
|
updatedAt: string;
|
|
5567
5580
|
createdAt: string;
|
|
5568
5581
|
}
|
|
5582
|
+
/**
|
|
5583
|
+
* This interface was referenced by `Config`'s JSON-Schema
|
|
5584
|
+
* via the `definition` "billing-consent-receipts".
|
|
5585
|
+
*/
|
|
5586
|
+
interface BillingConsentReceipt {
|
|
5587
|
+
id: string;
|
|
5588
|
+
tenant: string | Tenant;
|
|
5589
|
+
project?: (string | null) | Project;
|
|
5590
|
+
subscription?: (string | null) | Subscription;
|
|
5591
|
+
billingHistory?: (string | null) | BillingHistory;
|
|
5592
|
+
invoiceNumber?: string | null;
|
|
5593
|
+
action: 'initial_flat' | 'enterprise_registration' | 'plan_upgrade' | 'plan_downgrade_schedule';
|
|
5594
|
+
receiptKey: string;
|
|
5595
|
+
consentId: string;
|
|
5596
|
+
actor?: (string | null) | User;
|
|
5597
|
+
actorUserId: string;
|
|
5598
|
+
actorRole: 'tenant-admin' | 'super-admin';
|
|
5599
|
+
acceptedAt: string;
|
|
5600
|
+
termsVersion: string;
|
|
5601
|
+
termsLocale: 'ko' | 'en';
|
|
5602
|
+
termsSha256: string;
|
|
5603
|
+
quoteRevision: string;
|
|
5604
|
+
offerRevision?: string | null;
|
|
5605
|
+
quoteSnapshot: {
|
|
5606
|
+
[k: string]: unknown;
|
|
5607
|
+
} | unknown[] | string | number | boolean | null;
|
|
5608
|
+
updatedAt: string;
|
|
5609
|
+
createdAt: string;
|
|
5610
|
+
}
|
|
5569
5611
|
/**
|
|
5570
5612
|
* This interface was referenced by `Config`'s JSON-Schema
|
|
5571
5613
|
* via the `definition` "plans".
|
|
@@ -6350,6 +6392,7 @@ interface OrderExportProfile {
|
|
|
6350
6392
|
interface TenantCommerceConfig {
|
|
6351
6393
|
id: string;
|
|
6352
6394
|
tenant?: (string | null) | Tenant;
|
|
6395
|
+
adminTitle?: string | null;
|
|
6353
6396
|
ecommerceReturnPolicy?: {
|
|
6354
6397
|
initialShippingRefundMode?: ('full_order_only' | 'never') | null;
|
|
6355
6398
|
eligibleInitialShippingRefundReasons?: ('change_of_mind' | 'defective' | 'wrong_delivery' | 'damaged' | 'other')[] | null;
|
|
@@ -6472,6 +6515,9 @@ interface CustomerOauthClient {
|
|
|
6472
6515
|
*/
|
|
6473
6516
|
enabledSocialProviders?: ('google' | 'apple' | 'kakao' | 'naver')[] | null;
|
|
6474
6517
|
metadata?: {
|
|
6518
|
+
/**
|
|
6519
|
+
* 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.
|
|
6520
|
+
*/
|
|
6475
6521
|
logoUrl?: string | null;
|
|
6476
6522
|
privacyPolicyUrl?: string | null;
|
|
6477
6523
|
termsUrl?: string | null;
|
|
@@ -7590,7 +7636,7 @@ interface Link {
|
|
|
7590
7636
|
*/
|
|
7591
7637
|
expiresAt?: string | null;
|
|
7592
7638
|
/**
|
|
7593
|
-
* Read-only
|
|
7639
|
+
* Read-only click count. Console does not currently collect clicks automatically.
|
|
7594
7640
|
*/
|
|
7595
7641
|
clickCount?: number | null;
|
|
7596
7642
|
lastClickedAt?: string | null;
|
|
@@ -8293,11 +8339,11 @@ interface CommunityBan {
|
|
|
8293
8339
|
id: string;
|
|
8294
8340
|
tenant?: (string | null) | Tenant;
|
|
8295
8341
|
customer: string | Customer;
|
|
8342
|
+
isPermanent: boolean;
|
|
8296
8343
|
/**
|
|
8297
|
-
*
|
|
8344
|
+
* Set an expiry time for a temporary ban
|
|
8298
8345
|
*/
|
|
8299
8346
|
bannedUntil?: string | null;
|
|
8300
|
-
isPermanent: boolean;
|
|
8301
8347
|
reason?: ('spam' | 'harassment' | 'ban_evasion' | 'repeated_violations' | 'other') | null;
|
|
8302
8348
|
/**
|
|
8303
8349
|
* Additional context (optional)
|
|
@@ -8407,7 +8453,7 @@ interface EventCalendar {
|
|
|
8407
8453
|
*/
|
|
8408
8454
|
color?: string | null;
|
|
8409
8455
|
/**
|
|
8410
|
-
* Visibility for the
|
|
8456
|
+
* Visibility for the workspace-global calendar.
|
|
8411
8457
|
*/
|
|
8412
8458
|
visibility?: ('public' | 'unlisted' | 'private') | null;
|
|
8413
8459
|
publishedAt?: string | null;
|
|
@@ -8456,6 +8502,14 @@ interface MembershipPlan {
|
|
|
8456
8502
|
* Internal note for operators; not shown to customers.
|
|
8457
8503
|
*/
|
|
8458
8504
|
description?: string | null;
|
|
8505
|
+
/**
|
|
8506
|
+
* Plan name shown to customers at signup. Falls back to the internal name when empty.
|
|
8507
|
+
*/
|
|
8508
|
+
publicTitle?: string | null;
|
|
8509
|
+
/**
|
|
8510
|
+
* Plan description shown to customers at signup.
|
|
8511
|
+
*/
|
|
8512
|
+
publicDescription?: string | null;
|
|
8459
8513
|
/**
|
|
8460
8514
|
* Free trial days (optional)
|
|
8461
8515
|
*/
|
|
@@ -8478,14 +8532,6 @@ interface MembershipPlan {
|
|
|
8478
8532
|
activePriceCount?: number | null;
|
|
8479
8533
|
isActive?: boolean | null;
|
|
8480
8534
|
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
8535
|
updatedAt: string;
|
|
8490
8536
|
createdAt: string;
|
|
8491
8537
|
deletedAt?: string | null;
|
|
@@ -9451,6 +9497,7 @@ interface TenantsSelect<T extends boolean = true> {
|
|
|
9451
9497
|
*/
|
|
9452
9498
|
interface TenantMetadataSelect<T extends boolean = true> {
|
|
9453
9499
|
tenant?: T;
|
|
9500
|
+
adminTitle?: T;
|
|
9454
9501
|
siteInfo?: T | {
|
|
9455
9502
|
title?: T;
|
|
9456
9503
|
description?: T;
|
|
@@ -9632,6 +9679,32 @@ interface BillingHistorySelect<T extends boolean = true> {
|
|
|
9632
9679
|
createdAt?: T;
|
|
9633
9680
|
deletedAt?: T;
|
|
9634
9681
|
}
|
|
9682
|
+
/**
|
|
9683
|
+
* This interface was referenced by `Config`'s JSON-Schema
|
|
9684
|
+
* via the `definition` "billing-consent-receipts_select".
|
|
9685
|
+
*/
|
|
9686
|
+
interface BillingConsentReceiptsSelect<T extends boolean = true> {
|
|
9687
|
+
tenant?: T;
|
|
9688
|
+
project?: T;
|
|
9689
|
+
subscription?: T;
|
|
9690
|
+
billingHistory?: T;
|
|
9691
|
+
invoiceNumber?: T;
|
|
9692
|
+
action?: T;
|
|
9693
|
+
receiptKey?: T;
|
|
9694
|
+
consentId?: T;
|
|
9695
|
+
actor?: T;
|
|
9696
|
+
actorUserId?: T;
|
|
9697
|
+
actorRole?: T;
|
|
9698
|
+
acceptedAt?: T;
|
|
9699
|
+
termsVersion?: T;
|
|
9700
|
+
termsLocale?: T;
|
|
9701
|
+
termsSha256?: T;
|
|
9702
|
+
quoteRevision?: T;
|
|
9703
|
+
offerRevision?: T;
|
|
9704
|
+
quoteSnapshot?: T;
|
|
9705
|
+
updatedAt?: T;
|
|
9706
|
+
createdAt?: T;
|
|
9707
|
+
}
|
|
9635
9708
|
/**
|
|
9636
9709
|
* This interface was referenced by `Config`'s JSON-Schema
|
|
9637
9710
|
* via the `definition` "plans_select".
|
|
@@ -9684,6 +9757,10 @@ interface UsageInvoicesSelect<T extends boolean = true> {
|
|
|
9684
9757
|
currency?: T;
|
|
9685
9758
|
periodMonth?: T;
|
|
9686
9759
|
orderId?: T;
|
|
9760
|
+
protocolVersion?: T;
|
|
9761
|
+
creationEpoch?: T;
|
|
9762
|
+
preChargeNoticeVersion?: T;
|
|
9763
|
+
preChargeNoticeReservedAt?: T;
|
|
9687
9764
|
preChargeNoticeSentAt?: T;
|
|
9688
9765
|
baseFeeChargedKrw?: T;
|
|
9689
9766
|
overageTotalKrw?: T;
|
|
@@ -9868,6 +9945,7 @@ interface ApiUsageSelect<T extends boolean = true> {
|
|
|
9868
9945
|
aiGenerationCount?: T;
|
|
9869
9946
|
notificationEmailCount?: T;
|
|
9870
9947
|
emailUsage?: T;
|
|
9948
|
+
closedMonthObservation?: T;
|
|
9871
9949
|
snapshottedAt?: T;
|
|
9872
9950
|
updatedAt?: T;
|
|
9873
9951
|
createdAt?: T;
|
|
@@ -11302,6 +11380,7 @@ interface ShippingZonesSelect<T extends boolean = true> {
|
|
|
11302
11380
|
*/
|
|
11303
11381
|
interface TenantCommerceConfigSelect<T extends boolean = true> {
|
|
11304
11382
|
tenant?: T;
|
|
11383
|
+
adminTitle?: T;
|
|
11305
11384
|
ecommerceReturnPolicy?: T | {
|
|
11306
11385
|
initialShippingRefundMode?: T;
|
|
11307
11386
|
eligibleInitialShippingRefundReasons?: T;
|
|
@@ -12965,8 +13044,8 @@ interface ReportsSelect<T extends boolean = true> {
|
|
|
12965
13044
|
interface CommunityBansSelect<T extends boolean = true> {
|
|
12966
13045
|
tenant?: T;
|
|
12967
13046
|
customer?: T;
|
|
12968
|
-
bannedUntil?: T;
|
|
12969
13047
|
isPermanent?: T;
|
|
13048
|
+
bannedUntil?: T;
|
|
12970
13049
|
reason?: T;
|
|
12971
13050
|
reasonDetail?: T;
|
|
12972
13051
|
sourceReport?: T;
|
|
@@ -13304,14 +13383,14 @@ interface MembershipPlansSelect<T extends boolean = true> {
|
|
|
13304
13383
|
generateSlug?: T;
|
|
13305
13384
|
slug?: T;
|
|
13306
13385
|
description?: T;
|
|
13386
|
+
publicTitle?: T;
|
|
13387
|
+
publicDescription?: T;
|
|
13307
13388
|
trialDays?: T;
|
|
13308
13389
|
memberGroup?: T;
|
|
13309
13390
|
prices?: T;
|
|
13310
13391
|
activePriceCount?: T;
|
|
13311
13392
|
isActive?: T;
|
|
13312
13393
|
displayOrder?: T;
|
|
13313
|
-
publicTitle?: T;
|
|
13314
|
-
publicDescription?: T;
|
|
13315
13394
|
updatedAt?: T;
|
|
13316
13395
|
createdAt?: T;
|
|
13317
13396
|
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"),
|
|
@@ -1034,6 +1036,14 @@ var CUSTOMER_GROUP_ENDPOINT_OPERATIONS = {
|
|
|
1034
1036
|
revoke: operation("customer-groups", "post", "/:id/members/revoke")
|
|
1035
1037
|
};
|
|
1036
1038
|
var CUSTOMER_AUTH_ENDPOINT_OPERATIONS = {
|
|
1039
|
+
register: operation("customers", "post", "/register"),
|
|
1040
|
+
login: operation("customers", "post", "/login"),
|
|
1041
|
+
refresh: operation("customers", "post", "/refresh"),
|
|
1042
|
+
me: operation("customers", "get", "/me"),
|
|
1043
|
+
updateProfile: operation("customers", "patch", "/me"),
|
|
1044
|
+
forgotPassword: operation("customers", "post", "/forgot-password"),
|
|
1045
|
+
resetPassword: operation("customers", "post", "/reset-password"),
|
|
1046
|
+
changePassword: operation("customers", "post", "/change-password"),
|
|
1037
1047
|
revokeRefresh: operation("customers", "post", "/revoke-refresh"),
|
|
1038
1048
|
withdraw: operation("customers", "post", "/withdraw")
|
|
1039
1049
|
};
|
|
@@ -1043,6 +1053,9 @@ var EMBEDDED_ADMIN_ENDPOINT_OPERATIONS = {
|
|
|
1043
1053
|
disable: operation("tenants", "delete", "/embedded-admin-app")
|
|
1044
1054
|
};
|
|
1045
1055
|
var EVENTS_ENDPOINT_OPERATIONS = {
|
|
1056
|
+
registrations: {
|
|
1057
|
+
listMine: operation("event-registrations", "get", "/my")
|
|
1058
|
+
},
|
|
1046
1059
|
events: {
|
|
1047
1060
|
convertSchedule: operation("events", "post", "/:id/schedule")
|
|
1048
1061
|
},
|