@01.software/sdk 0.68.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 +53 -0
- package/README.md +28 -7
- package/dist/client.cjs +38 -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 +38 -7
- package/dist/client.js.map +1 -1
- package/dist/{collection-client-IOaWsTMI.d.ts → collection-client-B1FSJ24_.d.ts} +5 -5
- package/dist/{collection-client-MbIJ5KzW.d.cts → collection-client-BHLStm1K.d.cts} +5 -5
- package/dist/{const-Dw5ElJs_.d.cts → const-BfQfV-rr.d.cts} +1 -1
- package/dist/{const-Do27Udj6.d.ts → const-ty8u0TDI.d.ts} +1 -1
- package/dist/embedded-admin/server.cjs +8 -0
- package/dist/embedded-admin/server.cjs.map +1 -1
- package/dist/embedded-admin/server.js +8 -0
- package/dist/embedded-admin/server.js.map +1 -1
- package/dist/embedded-admin.cjs +8 -0
- package/dist/embedded-admin.cjs.map +1 -1
- package/dist/embedded-admin.js +8 -0
- package/dist/embedded-admin.js.map +1 -1
- package/dist/errors.cjs +8 -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 +8 -0
- package/dist/errors.js.map +1 -1
- package/dist/{index-gnVxTKXu.d.cts → index-CX6si6YC.d.cts} +3 -3
- package/dist/{index-DcYsLOja.d.ts → index-DnKgjPGM.d.ts} +3 -3
- package/dist/index.cjs +38 -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 +38 -7
- package/dist/index.js.map +1 -1
- package/dist/{payload-types-BY1uZFRf.d.cts → payload-types-DTAaWKrp.d.cts} +32 -4
- package/dist/{payload-types-BY1uZFRf.d.ts → payload-types-DTAaWKrp.d.ts} +32 -4
- package/dist/query.cjs +17 -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 +17 -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 +38 -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 +38 -7
- package/dist/server.js.map +1 -1
- package/dist/storefront-cache.cjs +8 -0
- package/dist/storefront-cache.cjs.map +1 -1
- package/dist/storefront-cache.js +8 -0
- package/dist/storefront-cache.js.map +1 -1
- package/dist/{types-csjaig4G.d.cts → types-Bzgf4mTo.d.cts} +3 -3
- package/dist/{types-DnIuxgu2.d.cts → types-CpSiyJud.d.cts} +8 -2
- package/dist/{types-AWSVpuPE.d.ts → types-DX8Z44yQ.d.ts} +8 -2
- package/dist/{types-CLRw0aDa.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
package/dist/client.d.cts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { cI as CustomerScopedApi, bd as ListMyBenefitVouchersRequest, be as ListMyBenefitVouchersResponse, cJ as CommerceClient, i as CommunityClient, cK as ContentClient, aH as EventsClient, cL as CustomerNamespace, M as MarketDiscovery, ao as CustomerMembershipView, C as CancelMembershipParams, d as CancelMembershipResponse, l as ClientState, cM as ClientConfig } from './types-
|
|
2
|
-
export { A as AddItemParams, cN as ApiQueryOptions, cO as CancelBrowserPaymentSessionParams, cP as CartMergeParams, w as CartMergeResult, x as CartMineResult, y as CartMutationResult, z as CheckoutAbandonedReason, D as CheckoutAmounts, J as CheckoutOrderReference, K as CheckoutPaymentSessionRef, O as CheckoutShippingAddress, W as ClearCartParams, cQ as ClientMetadata, cR as ContentClientOptions, a4 as CreateCartParams, a5 as CreateCartResult, cS as CreateCheckoutParams, cT as CreateCheckoutResult, a8 as CreatePaymentSessionParams, a9 as CreatePortOnePaymentSessionParams, ap as CustomerSnapshot, cU as DebugConfig, cV as DeepPartial, cW as ExtractArrayType, bf as MembershipStatus, bh as Money, bk as OpenCheckoutPaymentState, cX as PayloadFindResponse, cY as PayloadMutationResponse, bl as PaymentFailureReason, bm as PaymentNextAction, bn as PaymentProviderStatus, bo as PaymentReconciliationReason, br as PaymentSessionRole, bs as PortOneHostedPaymentMethod, bu as PortOnePaymentNextAction, bx as PortOnePublicPaymentSession, bB as ProductUpsertInput, bC as ProductUpsertParams, bD as ProductUpsertResponse, bE as ProductUpsertVariantInput, bF as PublicAttribute, bG as PublicCaptureEvidence, bH as PublicCart, bI as PublicCartItem, bJ as PublicCartItemAdmission, bK as PublicCartMarket, bL as PublicCartReference, bM as PublicCheckout, bN as PublicCheckoutItem, bO as PublicMediaAsset, bP as PublicMediaSize, bQ as PublicOrder, bR as PublicOrderAmounts, bS as PublicOrderItem, bT as PublicOrderReference, bU as PublicPaymentSession, bX as ReconciliationRequired, b_ as RemoveItemParams, cZ as RetrieveBrowserPaymentSessionParams, c1 as RetrieveCartParams, c2 as RetrieveCheckoutParams, c_ as RetryConfig, c$ as RootClient, c$ as RootClientType, d0 as RootCollectionClient, d1 as RootReadOnlyQueryBuilder, ce as ShippingLine, d2 as Sort, cf as SpentCheckoutPaymentState, d3 as StorefrontContentListOptions, d4 as StorefrontContentReference, d5 as StorefrontGalleryItem, d6 as StorefrontGalleryItemsListOptions, d7 as StorefrontGalleryItemsSort, d8 as StorefrontLink, d9 as StorefrontLinksListOptions, da as StorefrontLinksSort, cw as UpdateCartAttributesParams, cx as UpdateDiscountCodesParams, cy as UpdateItemParams, cz as VariantInput, db as Where } from './types-
|
|
3
|
-
import { R as ReadOnlyCollectionClient } from './collection-client-
|
|
1
|
+
import { cI as CustomerScopedApi, bd as ListMyBenefitVouchersRequest, be as ListMyBenefitVouchersResponse, cJ as CommerceClient, i as CommunityClient, cK as ContentClient, aH as EventsClient, cL as CustomerNamespace, M as MarketDiscovery, ao as CustomerMembershipView, C as CancelMembershipParams, d as CancelMembershipResponse, l as ClientState, cM as ClientConfig } from './types-Bzgf4mTo.cjs';
|
|
2
|
+
export { A as AddItemParams, cN as ApiQueryOptions, cO as CancelBrowserPaymentSessionParams, cP as CartMergeParams, w as CartMergeResult, x as CartMineResult, y as CartMutationResult, z as CheckoutAbandonedReason, D as CheckoutAmounts, J as CheckoutOrderReference, K as CheckoutPaymentSessionRef, O as CheckoutShippingAddress, W as ClearCartParams, cQ as ClientMetadata, cR as ContentClientOptions, a4 as CreateCartParams, a5 as CreateCartResult, cS as CreateCheckoutParams, cT as CreateCheckoutResult, a8 as CreatePaymentSessionParams, a9 as CreatePortOnePaymentSessionParams, ap as CustomerSnapshot, cU as DebugConfig, cV as DeepPartial, cW as ExtractArrayType, bf as MembershipStatus, bh as Money, bk as OpenCheckoutPaymentState, cX as PayloadFindResponse, cY as PayloadMutationResponse, bl as PaymentFailureReason, bm as PaymentNextAction, bn as PaymentProviderStatus, bo as PaymentReconciliationReason, br as PaymentSessionRole, bs as PortOneHostedPaymentMethod, bu as PortOnePaymentNextAction, bx as PortOnePublicPaymentSession, bB as ProductUpsertInput, bC as ProductUpsertParams, bD as ProductUpsertResponse, bE as ProductUpsertVariantInput, bF as PublicAttribute, bG as PublicCaptureEvidence, bH as PublicCart, bI as PublicCartItem, bJ as PublicCartItemAdmission, bK as PublicCartMarket, bL as PublicCartReference, bM as PublicCheckout, bN as PublicCheckoutItem, bO as PublicMediaAsset, bP as PublicMediaSize, bQ as PublicOrder, bR as PublicOrderAmounts, bS as PublicOrderItem, bT as PublicOrderReference, bU as PublicPaymentSession, bX as ReconciliationRequired, b_ as RemoveItemParams, cZ as RetrieveBrowserPaymentSessionParams, c1 as RetrieveCartParams, c2 as RetrieveCheckoutParams, c_ as RetryConfig, c$ as RootClient, c$ as RootClientType, d0 as RootCollectionClient, d1 as RootReadOnlyQueryBuilder, ce as ShippingLine, d2 as Sort, cf as SpentCheckoutPaymentState, d3 as StorefrontContentListOptions, d4 as StorefrontContentReference, d5 as StorefrontGalleryItem, d6 as StorefrontGalleryItemsListOptions, d7 as StorefrontGalleryItemsSort, d8 as StorefrontLink, d9 as StorefrontLinksListOptions, da as StorefrontLinksSort, cw as UpdateCartAttributesParams, cx as UpdateDiscountCodesParams, cy as UpdateItemParams, cz as VariantInput, db as Where } from './types-Bzgf4mTo.cjs';
|
|
3
|
+
import { R as ReadOnlyCollectionClient } from './collection-client-BHLStm1K.cjs';
|
|
4
4
|
export { isApiError, isAuthError, isCommerceSDKError, isConfigError, isConflictError, isGoneError, isNetworkError, isNotFoundError, isPermissionError, isRateLimitError, isSDKError, isServiceUnavailableError, isTimeoutError, isUsageLimitError, isValidationError } from './errors.cjs';
|
|
5
|
-
export { C as Collection, P as PublicCollection } from './const-
|
|
6
|
-
import './types-
|
|
7
|
-
import './payload-types-
|
|
5
|
+
export { C as Collection, P as PublicCollection } from './const-BfQfV-rr.cjs';
|
|
6
|
+
import './types-CpSiyJud.cjs';
|
|
7
|
+
import './payload-types-DTAaWKrp.cjs';
|
|
8
8
|
import './metadata.cjs';
|
|
9
9
|
|
|
10
10
|
declare class CustomerBenefitVouchersApi extends CustomerScopedApi {
|
package/dist/client.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { cI as CustomerScopedApi, bd as ListMyBenefitVouchersRequest, be as ListMyBenefitVouchersResponse, cJ as CommerceClient, i as CommunityClient, cK as ContentClient, aH as EventsClient, cL as CustomerNamespace, M as MarketDiscovery, ao as CustomerMembershipView, C as CancelMembershipParams, d as CancelMembershipResponse, l as ClientState, cM as ClientConfig } from './types-
|
|
2
|
-
export { A as AddItemParams, cN as ApiQueryOptions, cO as CancelBrowserPaymentSessionParams, cP as CartMergeParams, w as CartMergeResult, x as CartMineResult, y as CartMutationResult, z as CheckoutAbandonedReason, D as CheckoutAmounts, J as CheckoutOrderReference, K as CheckoutPaymentSessionRef, O as CheckoutShippingAddress, W as ClearCartParams, cQ as ClientMetadata, cR as ContentClientOptions, a4 as CreateCartParams, a5 as CreateCartResult, cS as CreateCheckoutParams, cT as CreateCheckoutResult, a8 as CreatePaymentSessionParams, a9 as CreatePortOnePaymentSessionParams, ap as CustomerSnapshot, cU as DebugConfig, cV as DeepPartial, cW as ExtractArrayType, bf as MembershipStatus, bh as Money, bk as OpenCheckoutPaymentState, cX as PayloadFindResponse, cY as PayloadMutationResponse, bl as PaymentFailureReason, bm as PaymentNextAction, bn as PaymentProviderStatus, bo as PaymentReconciliationReason, br as PaymentSessionRole, bs as PortOneHostedPaymentMethod, bu as PortOnePaymentNextAction, bx as PortOnePublicPaymentSession, bB as ProductUpsertInput, bC as ProductUpsertParams, bD as ProductUpsertResponse, bE as ProductUpsertVariantInput, bF as PublicAttribute, bG as PublicCaptureEvidence, bH as PublicCart, bI as PublicCartItem, bJ as PublicCartItemAdmission, bK as PublicCartMarket, bL as PublicCartReference, bM as PublicCheckout, bN as PublicCheckoutItem, bO as PublicMediaAsset, bP as PublicMediaSize, bQ as PublicOrder, bR as PublicOrderAmounts, bS as PublicOrderItem, bT as PublicOrderReference, bU as PublicPaymentSession, bX as ReconciliationRequired, b_ as RemoveItemParams, cZ as RetrieveBrowserPaymentSessionParams, c1 as RetrieveCartParams, c2 as RetrieveCheckoutParams, c_ as RetryConfig, c$ as RootClient, c$ as RootClientType, d0 as RootCollectionClient, d1 as RootReadOnlyQueryBuilder, ce as ShippingLine, d2 as Sort, cf as SpentCheckoutPaymentState, d3 as StorefrontContentListOptions, d4 as StorefrontContentReference, d5 as StorefrontGalleryItem, d6 as StorefrontGalleryItemsListOptions, d7 as StorefrontGalleryItemsSort, d8 as StorefrontLink, d9 as StorefrontLinksListOptions, da as StorefrontLinksSort, cw as UpdateCartAttributesParams, cx as UpdateDiscountCodesParams, cy as UpdateItemParams, cz as VariantInput, db as Where } from './types-
|
|
3
|
-
import { R as ReadOnlyCollectionClient } from './collection-client-
|
|
1
|
+
import { cI as CustomerScopedApi, bd as ListMyBenefitVouchersRequest, be as ListMyBenefitVouchersResponse, cJ as CommerceClient, i as CommunityClient, cK as ContentClient, aH as EventsClient, cL as CustomerNamespace, M as MarketDiscovery, ao as CustomerMembershipView, C as CancelMembershipParams, d as CancelMembershipResponse, l as ClientState, cM as ClientConfig } from './types-DdlhpNVv.js';
|
|
2
|
+
export { A as AddItemParams, cN as ApiQueryOptions, cO as CancelBrowserPaymentSessionParams, cP as CartMergeParams, w as CartMergeResult, x as CartMineResult, y as CartMutationResult, z as CheckoutAbandonedReason, D as CheckoutAmounts, J as CheckoutOrderReference, K as CheckoutPaymentSessionRef, O as CheckoutShippingAddress, W as ClearCartParams, cQ as ClientMetadata, cR as ContentClientOptions, a4 as CreateCartParams, a5 as CreateCartResult, cS as CreateCheckoutParams, cT as CreateCheckoutResult, a8 as CreatePaymentSessionParams, a9 as CreatePortOnePaymentSessionParams, ap as CustomerSnapshot, cU as DebugConfig, cV as DeepPartial, cW as ExtractArrayType, bf as MembershipStatus, bh as Money, bk as OpenCheckoutPaymentState, cX as PayloadFindResponse, cY as PayloadMutationResponse, bl as PaymentFailureReason, bm as PaymentNextAction, bn as PaymentProviderStatus, bo as PaymentReconciliationReason, br as PaymentSessionRole, bs as PortOneHostedPaymentMethod, bu as PortOnePaymentNextAction, bx as PortOnePublicPaymentSession, bB as ProductUpsertInput, bC as ProductUpsertParams, bD as ProductUpsertResponse, bE as ProductUpsertVariantInput, bF as PublicAttribute, bG as PublicCaptureEvidence, bH as PublicCart, bI as PublicCartItem, bJ as PublicCartItemAdmission, bK as PublicCartMarket, bL as PublicCartReference, bM as PublicCheckout, bN as PublicCheckoutItem, bO as PublicMediaAsset, bP as PublicMediaSize, bQ as PublicOrder, bR as PublicOrderAmounts, bS as PublicOrderItem, bT as PublicOrderReference, bU as PublicPaymentSession, bX as ReconciliationRequired, b_ as RemoveItemParams, cZ as RetrieveBrowserPaymentSessionParams, c1 as RetrieveCartParams, c2 as RetrieveCheckoutParams, c_ as RetryConfig, c$ as RootClient, c$ as RootClientType, d0 as RootCollectionClient, d1 as RootReadOnlyQueryBuilder, ce as ShippingLine, d2 as Sort, cf as SpentCheckoutPaymentState, d3 as StorefrontContentListOptions, d4 as StorefrontContentReference, d5 as StorefrontGalleryItem, d6 as StorefrontGalleryItemsListOptions, d7 as StorefrontGalleryItemsSort, d8 as StorefrontLink, d9 as StorefrontLinksListOptions, da as StorefrontLinksSort, cw as UpdateCartAttributesParams, cx as UpdateDiscountCodesParams, cy as UpdateItemParams, cz as VariantInput, db as Where } from './types-DdlhpNVv.js';
|
|
3
|
+
import { R as ReadOnlyCollectionClient } from './collection-client-B1FSJ24_.js';
|
|
4
4
|
export { isApiError, isAuthError, isCommerceSDKError, isConfigError, isConflictError, isGoneError, isNetworkError, isNotFoundError, isPermissionError, isRateLimitError, isSDKError, isServiceUnavailableError, isTimeoutError, isUsageLimitError, isValidationError } from './errors.js';
|
|
5
|
-
export { C as Collection, P as PublicCollection } from './const-
|
|
6
|
-
import './types-
|
|
7
|
-
import './payload-types-
|
|
5
|
+
export { C as Collection, P as PublicCollection } from './const-ty8u0TDI.js';
|
|
6
|
+
import './types-DX8Z44yQ.js';
|
|
7
|
+
import './payload-types-DTAaWKrp.js';
|
|
8
8
|
import './metadata.js';
|
|
9
9
|
|
|
10
10
|
declare class CustomerBenefitVouchersApi extends CustomerScopedApi {
|
package/dist/client.js
CHANGED
|
@@ -110,7 +110,13 @@ var COMMERCE_ERROR_CODES = [
|
|
|
110
110
|
"checkout_reservation_release_requires_transaction",
|
|
111
111
|
"admission_metadata_invalid",
|
|
112
112
|
"admission_metadata_required",
|
|
113
|
+
"admission_not_eligible",
|
|
114
|
+
"admission_eligibility_unavailable",
|
|
115
|
+
"admission_authority_unavailable",
|
|
116
|
+
"admission_customer_binding_required",
|
|
117
|
+
"admission_eligibility_unproven",
|
|
113
118
|
"capacity_exceeded",
|
|
119
|
+
"admission_required",
|
|
114
120
|
"occurrence_lock_unavailable",
|
|
115
121
|
"occurrence_not_open",
|
|
116
122
|
"admission_type_capacity_exceeded",
|
|
@@ -129,6 +135,8 @@ var COMMERCE_ERROR_CODES = [
|
|
|
129
135
|
"variant_inactive",
|
|
130
136
|
"variant_product_mismatch",
|
|
131
137
|
"product_not_public",
|
|
138
|
+
"product_not_eligible",
|
|
139
|
+
"purchase_limit_exceeded",
|
|
132
140
|
"market_not_found",
|
|
133
141
|
"market_shipping_currency_unsupported",
|
|
134
142
|
"missing_market_rate",
|
|
@@ -776,6 +784,7 @@ async function httpFetch(url, options) {
|
|
|
776
784
|
let lastError;
|
|
777
785
|
let hasRetried401 = false;
|
|
778
786
|
for (let attempt = 0; attempt <= retryConfig.maxRetries; attempt++) {
|
|
787
|
+
let terminalResponseError;
|
|
779
788
|
try {
|
|
780
789
|
const headers = new Headers(requestInit.headers);
|
|
781
790
|
if (publishableKey) {
|
|
@@ -844,8 +853,9 @@ async function httpFetch(url, options) {
|
|
|
844
853
|
hasRetried401 = true;
|
|
845
854
|
try {
|
|
846
855
|
const newToken = await onUnauthorized();
|
|
847
|
-
if (newToken) {
|
|
856
|
+
if (newToken && SAFE_METHODS.includes((requestInit.method || "GET").toUpperCase())) {
|
|
848
857
|
authToken = newToken;
|
|
858
|
+
attempt--;
|
|
849
859
|
continue;
|
|
850
860
|
}
|
|
851
861
|
} catch {
|
|
@@ -878,11 +888,15 @@ async function httpFetch(url, options) {
|
|
|
878
888
|
await delay(retryDelay);
|
|
879
889
|
continue;
|
|
880
890
|
}
|
|
891
|
+
terminalResponseError = error;
|
|
881
892
|
throw error;
|
|
882
893
|
}
|
|
883
894
|
return response;
|
|
884
895
|
} catch (error) {
|
|
885
896
|
debugLog(debug, "error", url, error);
|
|
897
|
+
if (terminalResponseError && error === terminalResponseError) {
|
|
898
|
+
throw error;
|
|
899
|
+
}
|
|
886
900
|
const method2 = (requestInit.method || "GET").toUpperCase();
|
|
887
901
|
const isSafe = SAFE_METHODS.includes(method2);
|
|
888
902
|
if (error instanceof Error && error.name === "AbortError") {
|
|
@@ -1294,6 +1308,15 @@ var EMBEDDED_ADMIN_ENDPOINT_OPERATIONS = {
|
|
|
1294
1308
|
};
|
|
1295
1309
|
var EVENTS_ENDPOINT_OPERATIONS = {
|
|
1296
1310
|
registrations: {
|
|
1311
|
+
register: operation("event-registrations", "post", "/register"),
|
|
1312
|
+
guestLookup: operation("event-registrations", "post", "/guest/lookup"),
|
|
1313
|
+
guestLookupByUrl: operation("event-registrations", "get", "/guest/:token"),
|
|
1314
|
+
guestCancel: operation("event-registrations", "post", "/guest/cancel"),
|
|
1315
|
+
guestCancelByUrl: operation(
|
|
1316
|
+
"event-registrations",
|
|
1317
|
+
"post",
|
|
1318
|
+
"/guest/:token/cancel"
|
|
1319
|
+
),
|
|
1297
1320
|
listMine: operation("event-registrations", "get", "/my")
|
|
1298
1321
|
},
|
|
1299
1322
|
events: {
|
|
@@ -6312,24 +6335,32 @@ var EventsClient = class {
|
|
|
6312
6335
|
}
|
|
6313
6336
|
register(params) {
|
|
6314
6337
|
return this.execute(
|
|
6315
|
-
|
|
6316
|
-
|
|
6338
|
+
resolveOperationPath(EVENTS_ENDPOINT_OPERATIONS.registrations.register),
|
|
6339
|
+
resolveOperationMethod(EVENTS_ENDPOINT_OPERATIONS.registrations.register),
|
|
6317
6340
|
buildRegistrationRequestBody(params),
|
|
6318
6341
|
{ useCustomerAuth: true }
|
|
6319
6342
|
);
|
|
6320
6343
|
}
|
|
6321
6344
|
getGuestRegistration(token) {
|
|
6322
6345
|
return this.execute(
|
|
6323
|
-
|
|
6324
|
-
|
|
6346
|
+
resolveOperationPath(
|
|
6347
|
+
EVENTS_ENDPOINT_OPERATIONS.registrations.guestLookup
|
|
6348
|
+
),
|
|
6349
|
+
resolveOperationMethod(
|
|
6350
|
+
EVENTS_ENDPOINT_OPERATIONS.registrations.guestLookup
|
|
6351
|
+
),
|
|
6325
6352
|
{ token },
|
|
6326
6353
|
{ useCustomerAuth: false }
|
|
6327
6354
|
);
|
|
6328
6355
|
}
|
|
6329
6356
|
cancelGuestRegistration(token, params = {}) {
|
|
6330
6357
|
return this.execute(
|
|
6331
|
-
|
|
6332
|
-
|
|
6358
|
+
resolveOperationPath(
|
|
6359
|
+
EVENTS_ENDPOINT_OPERATIONS.registrations.guestCancel
|
|
6360
|
+
),
|
|
6361
|
+
resolveOperationMethod(
|
|
6362
|
+
EVENTS_ENDPOINT_OPERATIONS.registrations.guestCancel
|
|
6363
|
+
),
|
|
6333
6364
|
buildGuestCancelRequestBody(token, params),
|
|
6334
6365
|
{ useCustomerAuth: false }
|
|
6335
6366
|
);
|