@01.software/sdk 0.69.0 → 0.70.1
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 +39 -0
- package/README.md +26 -7
- package/dist/client.cjs +35 -7
- 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 +35 -7
- package/dist/client.js.map +1 -1
- package/dist/{collection-client-C2VGBnCC.d.ts → collection-client-B1FSJ24_.d.ts} +5 -5
- package/dist/{collection-client-DvWkDxSM.d.cts → collection-client-BHLStm1K.d.cts} +5 -5
- package/dist/{const-AtPEgg__.d.cts → const-BfQfV-rr.d.cts} +1 -1
- package/dist/{const-DR96Chal.d.ts → const-ty8u0TDI.d.ts} +1 -1
- package/dist/embedded-admin/server.cjs +5 -0
- package/dist/embedded-admin/server.cjs.map +1 -1
- package/dist/embedded-admin/server.js +5 -0
- package/dist/embedded-admin/server.js.map +1 -1
- package/dist/embedded-admin.cjs +5 -0
- package/dist/embedded-admin.cjs.map +1 -1
- package/dist/embedded-admin.js +5 -0
- package/dist/embedded-admin.js.map +1 -1
- package/dist/errors.cjs +5 -0
- package/dist/errors.cjs.map +1 -1
- package/dist/errors.d.cts +3 -3
- package/dist/errors.d.ts +3 -3
- package/dist/errors.js +5 -0
- package/dist/errors.js.map +1 -1
- package/dist/{index-Ce11c_Oh.d.cts → index-CX6si6YC.d.cts} +3 -3
- package/dist/{index-D8fmTrZk.d.ts → index-DnKgjPGM.d.ts} +3 -3
- package/dist/index.cjs +35 -7
- 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 +35 -7
- package/dist/index.js.map +1 -1
- package/dist/{payload-types-rhnw3rR8.d.cts → payload-types-DTAaWKrp.d.cts} +18 -4
- package/dist/{payload-types-rhnw3rR8.d.ts → payload-types-DTAaWKrp.d.ts} +18 -4
- package/dist/query.cjs +14 -0
- 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 -0
- 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 +35 -7
- package/dist/server.cjs.map +1 -1
- package/dist/server.d.cts +7 -7
- package/dist/server.d.ts +7 -7
- package/dist/server.js +35 -7
- package/dist/server.js.map +1 -1
- package/dist/storefront-cache.cjs +5 -0
- package/dist/storefront-cache.cjs.map +1 -1
- package/dist/storefront-cache.js +5 -0
- package/dist/storefront-cache.js.map +1 -1
- package/dist/{types-B99utaKU.d.cts → types-Bzgf4mTo.d.cts} +3 -3
- package/dist/{types-CHK8VIPa.d.ts → types-CpSiyJud.d.cts} +8 -2
- package/dist/{types-BR0D4AaW.d.cts → types-DX8Z44yQ.d.ts} +8 -2
- package/dist/{types-L0xmn_iT.d.ts → types-DdlhpNVv.d.ts} +3 -3
- package/dist/ui/form.d.cts +1 -1
- package/dist/ui/form.d.ts +1 -1
- package/dist/ui/video.d.cts +1 -1
- package/dist/ui/video.d.ts +1 -1
- package/dist/webhook.d.cts +5 -5
- package/dist/webhook.d.ts +5 -5
- package/package.json +1 -1
|
@@ -1187,7 +1187,7 @@ interface Order {
|
|
|
1187
1187
|
*/
|
|
1188
1188
|
displayFulfillmentStatus: 'unfulfilled' | 'in_progress' | 'on_hold' | 'partially_fulfilled' | 'shipped' | 'fulfilled' | 'canceled';
|
|
1189
1189
|
/**
|
|
1190
|
-
* Return status used for order lists and filters. Orders without active returns
|
|
1190
|
+
* Return status used for order lists and filters. Orders without active returns display “No return”.
|
|
1191
1191
|
*/
|
|
1192
1192
|
returnStatus: 'no_return' | 'return_requested' | 'in_progress' | 'returned';
|
|
1193
1193
|
/**
|
|
@@ -1390,7 +1390,7 @@ interface Order {
|
|
|
1390
1390
|
deletedAt?: string | null;
|
|
1391
1391
|
}
|
|
1392
1392
|
/**
|
|
1393
|
-
*
|
|
1393
|
+
* Manage customer information and account status.
|
|
1394
1394
|
*
|
|
1395
1395
|
* This interface was referenced by `Config`'s JSON-Schema
|
|
1396
1396
|
* via the `definition` "customers".
|
|
@@ -4734,6 +4734,7 @@ interface PersonalAccessToken {
|
|
|
4734
4734
|
*/
|
|
4735
4735
|
interface AuditLog {
|
|
4736
4736
|
id: string;
|
|
4737
|
+
entryKey?: string | null;
|
|
4737
4738
|
tenant?: (string | null) | Tenant;
|
|
4738
4739
|
/**
|
|
4739
4740
|
* Event type
|
|
@@ -5729,7 +5730,7 @@ interface Refund {
|
|
|
5729
5730
|
tenant?: (string | null) | Tenant;
|
|
5730
5731
|
order: string | Order;
|
|
5731
5732
|
return?: (string | null) | Return;
|
|
5732
|
-
paymentTransaction
|
|
5733
|
+
paymentTransaction?: (string | null) | Transaction;
|
|
5733
5734
|
refundTransaction?: (string | null) | Transaction;
|
|
5734
5735
|
status: 'succeeded' | 'failed';
|
|
5735
5736
|
source: 'return' | 'cancel' | 'operator' | 'adjustment';
|
|
@@ -5737,6 +5738,15 @@ interface Refund {
|
|
|
5737
5738
|
* Amount in KRW (won)
|
|
5738
5739
|
*/
|
|
5739
5740
|
totalAmount: number;
|
|
5741
|
+
fundingCheckout?: (string | null) | Checkout;
|
|
5742
|
+
/**
|
|
5743
|
+
* Amount in KRW (won)
|
|
5744
|
+
*/
|
|
5745
|
+
creditAmount?: number | null;
|
|
5746
|
+
/**
|
|
5747
|
+
* Amount in KRW (won)
|
|
5748
|
+
*/
|
|
5749
|
+
providerAmount?: number | null;
|
|
5740
5750
|
/**
|
|
5741
5751
|
* Amount in KRW (won)
|
|
5742
5752
|
*/
|
|
@@ -9345,6 +9355,7 @@ interface PersonalAccessTokensSelect<T extends boolean = true> {
|
|
|
9345
9355
|
* via the `definition` "audit-logs_select".
|
|
9346
9356
|
*/
|
|
9347
9357
|
interface AuditLogsSelect<T extends boolean = true> {
|
|
9358
|
+
entryKey?: T;
|
|
9348
9359
|
tenant?: T;
|
|
9349
9360
|
eventType?: T;
|
|
9350
9361
|
actorId?: T;
|
|
@@ -10648,6 +10659,9 @@ interface RefundsSelect<T extends boolean = true> {
|
|
|
10648
10659
|
status?: T;
|
|
10649
10660
|
source?: T;
|
|
10650
10661
|
totalAmount?: T;
|
|
10662
|
+
fundingCheckout?: T;
|
|
10663
|
+
creditAmount?: T;
|
|
10664
|
+
providerAmount?: T;
|
|
10651
10665
|
lineAmount?: T;
|
|
10652
10666
|
shippingAmount?: T;
|
|
10653
10667
|
adjustmentAmount?: T;
|
|
@@ -13868,4 +13882,4 @@ declare module 'payload' {
|
|
|
13868
13882
|
}
|
|
13869
13883
|
}
|
|
13870
13884
|
|
|
13871
|
-
export type { Article as A, CustomerProfile as C, Document as D, Form as F, Image as I, Market as M, Order as O, Product as P,
|
|
13885
|
+
export type { Article as A, CustomerProfile as C, Document as D, Form as F, Image as I, Market as M, Order as O, Product as P, Refund as R, Tenant as T, Video as V, Webhook as W, ProductVariant as a, CustomerProfileStat as b, CustomerProfileList as c, ProductCollection as d, RefundLineItem as e, Config as f, ArticleAuthor as g, ArticleCategory as h, ArticleTag as i, Post as j, PostCategory as k, Transaction as l, Fulfillment as m, Return as n };
|
|
@@ -1187,7 +1187,7 @@ interface Order {
|
|
|
1187
1187
|
*/
|
|
1188
1188
|
displayFulfillmentStatus: 'unfulfilled' | 'in_progress' | 'on_hold' | 'partially_fulfilled' | 'shipped' | 'fulfilled' | 'canceled';
|
|
1189
1189
|
/**
|
|
1190
|
-
* Return status used for order lists and filters. Orders without active returns
|
|
1190
|
+
* Return status used for order lists and filters. Orders without active returns display “No return”.
|
|
1191
1191
|
*/
|
|
1192
1192
|
returnStatus: 'no_return' | 'return_requested' | 'in_progress' | 'returned';
|
|
1193
1193
|
/**
|
|
@@ -1390,7 +1390,7 @@ interface Order {
|
|
|
1390
1390
|
deletedAt?: string | null;
|
|
1391
1391
|
}
|
|
1392
1392
|
/**
|
|
1393
|
-
*
|
|
1393
|
+
* Manage customer information and account status.
|
|
1394
1394
|
*
|
|
1395
1395
|
* This interface was referenced by `Config`'s JSON-Schema
|
|
1396
1396
|
* via the `definition` "customers".
|
|
@@ -4734,6 +4734,7 @@ interface PersonalAccessToken {
|
|
|
4734
4734
|
*/
|
|
4735
4735
|
interface AuditLog {
|
|
4736
4736
|
id: string;
|
|
4737
|
+
entryKey?: string | null;
|
|
4737
4738
|
tenant?: (string | null) | Tenant;
|
|
4738
4739
|
/**
|
|
4739
4740
|
* Event type
|
|
@@ -5729,7 +5730,7 @@ interface Refund {
|
|
|
5729
5730
|
tenant?: (string | null) | Tenant;
|
|
5730
5731
|
order: string | Order;
|
|
5731
5732
|
return?: (string | null) | Return;
|
|
5732
|
-
paymentTransaction
|
|
5733
|
+
paymentTransaction?: (string | null) | Transaction;
|
|
5733
5734
|
refundTransaction?: (string | null) | Transaction;
|
|
5734
5735
|
status: 'succeeded' | 'failed';
|
|
5735
5736
|
source: 'return' | 'cancel' | 'operator' | 'adjustment';
|
|
@@ -5737,6 +5738,15 @@ interface Refund {
|
|
|
5737
5738
|
* Amount in KRW (won)
|
|
5738
5739
|
*/
|
|
5739
5740
|
totalAmount: number;
|
|
5741
|
+
fundingCheckout?: (string | null) | Checkout;
|
|
5742
|
+
/**
|
|
5743
|
+
* Amount in KRW (won)
|
|
5744
|
+
*/
|
|
5745
|
+
creditAmount?: number | null;
|
|
5746
|
+
/**
|
|
5747
|
+
* Amount in KRW (won)
|
|
5748
|
+
*/
|
|
5749
|
+
providerAmount?: number | null;
|
|
5740
5750
|
/**
|
|
5741
5751
|
* Amount in KRW (won)
|
|
5742
5752
|
*/
|
|
@@ -9345,6 +9355,7 @@ interface PersonalAccessTokensSelect<T extends boolean = true> {
|
|
|
9345
9355
|
* via the `definition` "audit-logs_select".
|
|
9346
9356
|
*/
|
|
9347
9357
|
interface AuditLogsSelect<T extends boolean = true> {
|
|
9358
|
+
entryKey?: T;
|
|
9348
9359
|
tenant?: T;
|
|
9349
9360
|
eventType?: T;
|
|
9350
9361
|
actorId?: T;
|
|
@@ -10648,6 +10659,9 @@ interface RefundsSelect<T extends boolean = true> {
|
|
|
10648
10659
|
status?: T;
|
|
10649
10660
|
source?: T;
|
|
10650
10661
|
totalAmount?: T;
|
|
10662
|
+
fundingCheckout?: T;
|
|
10663
|
+
creditAmount?: T;
|
|
10664
|
+
providerAmount?: T;
|
|
10651
10665
|
lineAmount?: T;
|
|
10652
10666
|
shippingAmount?: T;
|
|
10653
10667
|
adjustmentAmount?: T;
|
|
@@ -13868,4 +13882,4 @@ declare module 'payload' {
|
|
|
13868
13882
|
}
|
|
13869
13883
|
}
|
|
13870
13884
|
|
|
13871
|
-
export type { Article as A, CustomerProfile as C, Document as D, Form as F, Image as I, Market as M, Order as O, Product as P,
|
|
13885
|
+
export type { Article as A, CustomerProfile as C, Document as D, Form as F, Image as I, Market as M, Order as O, Product as P, Refund as R, Tenant as T, Video as V, Webhook as W, ProductVariant as a, CustomerProfileStat as b, CustomerProfileList as c, ProductCollection as d, RefundLineItem as e, Config as f, ArticleAuthor as g, ArticleCategory as h, ArticleTag as i, Post as j, PostCategory as k, Transaction as l, Fulfillment as m, Return as n };
|
package/dist/query.cjs
CHANGED
|
@@ -614,6 +614,11 @@ var COMMERCE_ERROR_CODES = [
|
|
|
614
614
|
"checkout_reservation_release_requires_transaction",
|
|
615
615
|
"admission_metadata_invalid",
|
|
616
616
|
"admission_metadata_required",
|
|
617
|
+
"admission_not_eligible",
|
|
618
|
+
"admission_eligibility_unavailable",
|
|
619
|
+
"admission_authority_unavailable",
|
|
620
|
+
"admission_customer_binding_required",
|
|
621
|
+
"admission_eligibility_unproven",
|
|
617
622
|
"capacity_exceeded",
|
|
618
623
|
"admission_required",
|
|
619
624
|
"occurrence_lock_unavailable",
|
|
@@ -1065,6 +1070,15 @@ var EMBEDDED_ADMIN_ENDPOINT_OPERATIONS = {
|
|
|
1065
1070
|
};
|
|
1066
1071
|
var EVENTS_ENDPOINT_OPERATIONS = {
|
|
1067
1072
|
registrations: {
|
|
1073
|
+
register: operation("event-registrations", "post", "/register"),
|
|
1074
|
+
guestLookup: operation("event-registrations", "post", "/guest/lookup"),
|
|
1075
|
+
guestLookupByUrl: operation("event-registrations", "get", "/guest/:token"),
|
|
1076
|
+
guestCancel: operation("event-registrations", "post", "/guest/cancel"),
|
|
1077
|
+
guestCancelByUrl: operation(
|
|
1078
|
+
"event-registrations",
|
|
1079
|
+
"post",
|
|
1080
|
+
"/guest/:token/cancel"
|
|
1081
|
+
),
|
|
1068
1082
|
listMine: operation("event-registrations", "get", "/my")
|
|
1069
1083
|
},
|
|
1070
1084
|
events: {
|