@connectedxm/client 0.5.17 → 0.5.19

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.mjs CHANGED
@@ -310,14 +310,14 @@ var GroupMembershipRole = /* @__PURE__ */ ((GroupMembershipRole2) => {
310
310
  var isTypeGroupMembership = (groupMembership) => {
311
311
  return groupMembership.createdAt !== void 0;
312
312
  };
313
- var ContentTypeFormat = /* @__PURE__ */ ((ContentTypeFormat2) => {
314
- ContentTypeFormat2["article"] = "article";
315
- ContentTypeFormat2["podcast"] = "podcast";
316
- ContentTypeFormat2["video"] = "video";
317
- return ContentTypeFormat2;
318
- })(ContentTypeFormat || {});
319
- var isTypeContentType = (contentType) => {
320
- return contentType.priority !== void 0;
313
+ var ChannelFormat = /* @__PURE__ */ ((ChannelFormat2) => {
314
+ ChannelFormat2["article"] = "article";
315
+ ChannelFormat2["podcast"] = "podcast";
316
+ ChannelFormat2["video"] = "video";
317
+ return ChannelFormat2;
318
+ })(ChannelFormat || {});
319
+ var isTypeChannel = (channel) => {
320
+ return channel.priority !== void 0;
321
321
  };
322
322
  var isTypeContent = (content) => {
323
323
  return content.body !== void 0;
@@ -2117,18 +2117,18 @@ var useGetContentActivities = (contentId = "", params = {}, options = {}) => {
2117
2117
  );
2118
2118
  };
2119
2119
 
2120
- // src/queries/contents/useGetContentTypes.ts
2121
- var CONTENT_TYPES_QUERY_KEY = () => ["CONTENT_TYPES"];
2122
- var SET_CONTENT_TYPES_QUERY_DATA = (client, keyParams, response, baseKeys = ["en"]) => {
2120
+ // src/queries/contents/useGetChannels.ts
2121
+ var CHANNELS_QUERY_KEY = () => ["CHANNELS"];
2122
+ var SET_CHANNELS_QUERY_DATA = (client, keyParams, response, baseKeys = ["en"]) => {
2123
2123
  client.setQueryData(
2124
2124
  [
2125
- ...CONTENT_TYPES_QUERY_KEY(...keyParams),
2125
+ ...CHANNELS_QUERY_KEY(...keyParams),
2126
2126
  ...GetBaseInfiniteQueryKeys(...baseKeys)
2127
2127
  ],
2128
2128
  setFirstPageData(response)
2129
2129
  );
2130
2130
  };
2131
- var GetContentTypes = async ({
2131
+ var GetChannels = async ({
2132
2132
  pageParam,
2133
2133
  pageSize,
2134
2134
  orderBy,
@@ -2138,7 +2138,7 @@ var GetContentTypes = async ({
2138
2138
  locale
2139
2139
  }) => {
2140
2140
  const clientApi = await GetClientAPI(clientApiParams);
2141
- const { data } = await clientApi.get(`/contentTypes`, {
2141
+ const { data } = await clientApi.get(`/channels`, {
2142
2142
  params: {
2143
2143
  page: pageParam || void 0,
2144
2144
  pageSize: pageSize || void 0,
@@ -2150,87 +2150,87 @@ var GetContentTypes = async ({
2150
2150
  CacheIndividualQueries(
2151
2151
  data,
2152
2152
  queryClient,
2153
- (contentTypeId) => CONTENT_TYPE_QUERY_KEY(contentTypeId),
2153
+ (channelId) => CHANNEL_QUERY_KEY(channelId),
2154
2154
  locale
2155
2155
  );
2156
2156
  }
2157
2157
  return data;
2158
2158
  };
2159
- var useGetContentTypes = (params = {}, options = {}) => {
2159
+ var useGetChannels = (params = {}, options = {}) => {
2160
2160
  return useConnectedInfiniteQuery(
2161
- CONTENT_TYPES_QUERY_KEY(),
2162
- (params2) => GetContentTypes({ ...params2 }),
2161
+ CHANNELS_QUERY_KEY(),
2162
+ (params2) => GetChannels({ ...params2 }),
2163
2163
  params,
2164
2164
  options
2165
2165
  );
2166
2166
  };
2167
2167
 
2168
- // src/queries/contents/useGetContentType.ts
2169
- var CONTENT_TYPE_QUERY_KEY = (contentTypeId) => [
2170
- ...CONTENT_TYPES_QUERY_KEY(),
2171
- contentTypeId
2168
+ // src/queries/contents/useGetChannel.ts
2169
+ var CHANNEL_QUERY_KEY = (channelId) => [
2170
+ ...CHANNELS_QUERY_KEY(),
2171
+ channelId
2172
2172
  ];
2173
- var SET_CONTENT_TYPE_QUERY_DATA = (client, keyParams, response, baseKeys = ["en"]) => {
2173
+ var SET_CHANNEL_QUERY_DATA = (client, keyParams, response, baseKeys = ["en"]) => {
2174
2174
  client.setQueryData(
2175
2175
  [
2176
- ...CONTENT_TYPE_QUERY_KEY(...keyParams),
2176
+ ...CHANNEL_QUERY_KEY(...keyParams),
2177
2177
  ...GetBaseSingleQueryKeys(...baseKeys)
2178
2178
  ],
2179
2179
  response
2180
2180
  );
2181
2181
  };
2182
- var GetContentType = async ({
2183
- contentTypeId,
2182
+ var GetChannel = async ({
2183
+ channelId,
2184
2184
  clientApiParams
2185
2185
  }) => {
2186
2186
  const clientApi = await GetClientAPI(clientApiParams);
2187
- const { data } = await clientApi.get(`/contentTypes/${contentTypeId}`);
2187
+ const { data } = await clientApi.get(`/channels/${channelId}`);
2188
2188
  return data;
2189
2189
  };
2190
- var useGetContentType = (contentTypeId = "", options = {}) => {
2190
+ var useGetChannel = (channelId = "", options = {}) => {
2191
2191
  return useConnectedSingleQuery_default(
2192
- CONTENT_TYPE_QUERY_KEY(contentTypeId),
2193
- (params) => GetContentType({ contentTypeId: contentTypeId || "", ...params }),
2192
+ CHANNEL_QUERY_KEY(channelId),
2193
+ (params) => GetChannel({ channelId: channelId || "", ...params }),
2194
2194
  {
2195
2195
  ...options,
2196
- enabled: !!contentTypeId && (options?.enabled ?? true)
2196
+ enabled: !!channelId && (options?.enabled ?? true)
2197
2197
  }
2198
2198
  );
2199
2199
  };
2200
2200
 
2201
- // src/queries/contents/useGetContentTypeContents.ts
2202
- var CONTENT_TYPE_CONTENTS_QUERY_KEY = (contentTypeId) => [...CONTENT_TYPE_QUERY_KEY(contentTypeId), "CONTENTS"];
2203
- var SET_CONTENT_TYPE_CONTENTS_QUERY_DATA = (client, keyParams, response, baseKeys = ["en"]) => {
2201
+ // src/queries/contents/useGetChannelContents.ts
2202
+ var CHANNEL_CONTENTS_QUERY_KEY = (channelId) => [
2203
+ ...CHANNEL_QUERY_KEY(channelId),
2204
+ "CONTENTS"
2205
+ ];
2206
+ var SET_CHANNEL_CONTENTS_QUERY_DATA = (client, keyParams, response, baseKeys = ["en"]) => {
2204
2207
  client.setQueryData(
2205
2208
  [
2206
- ...CONTENT_TYPE_CONTENTS_QUERY_KEY(...keyParams),
2209
+ ...CHANNEL_CONTENTS_QUERY_KEY(...keyParams),
2207
2210
  ...GetBaseInfiniteQueryKeys(...baseKeys)
2208
2211
  ],
2209
2212
  setFirstPageData(response)
2210
2213
  );
2211
2214
  };
2212
- var GetContentTypeContents = async ({
2215
+ var GetChannelContents = async ({
2213
2216
  pageParam,
2214
2217
  pageSize,
2215
2218
  orderBy,
2216
2219
  search,
2217
- contentTypeId,
2220
+ channelId,
2218
2221
  queryClient,
2219
2222
  clientApiParams,
2220
2223
  locale
2221
2224
  }) => {
2222
2225
  const clientApi = await GetClientAPI(clientApiParams);
2223
- const { data } = await clientApi.get(
2224
- `/contentTypes/${contentTypeId}/contents`,
2225
- {
2226
- params: {
2227
- page: pageParam || void 0,
2228
- pageSize: pageSize || void 0,
2229
- orderBy: orderBy || void 0,
2230
- search: search || void 0
2231
- }
2226
+ const { data } = await clientApi.get(`/channels/${channelId}/contents`, {
2227
+ params: {
2228
+ page: pageParam || void 0,
2229
+ pageSize: pageSize || void 0,
2230
+ orderBy: orderBy || void 0,
2231
+ search: search || void 0
2232
2232
  }
2233
- );
2233
+ });
2234
2234
  if (queryClient && data.status === "ok") {
2235
2235
  CacheIndividualQueries(
2236
2236
  data,
@@ -2241,14 +2241,14 @@ var GetContentTypeContents = async ({
2241
2241
  }
2242
2242
  return data;
2243
2243
  };
2244
- var useGetContentTypeContents = (contentTypeId = "", params = {}, options = {}) => {
2244
+ var useGetChannelContents = (channelId = "", params = {}, options = {}) => {
2245
2245
  return useConnectedInfiniteQuery(
2246
- CONTENT_TYPE_CONTENTS_QUERY_KEY(contentTypeId),
2247
- (params2) => GetContentTypeContents({ ...params2, contentTypeId: contentTypeId || "" }),
2246
+ CHANNEL_CONTENTS_QUERY_KEY(channelId),
2247
+ (params2) => GetChannelContents({ ...params2, channelId: channelId || "" }),
2248
2248
  params,
2249
2249
  {
2250
2250
  ...options,
2251
- enabled: !!contentTypeId && (options?.enabled ?? true)
2251
+ enabled: !!channelId && (options?.enabled ?? true)
2252
2252
  }
2253
2253
  );
2254
2254
  };
@@ -3382,28 +3382,24 @@ var useGetSelfEventRegistration = (eventId, options = {}) => {
3382
3382
  );
3383
3383
  };
3384
3384
 
3385
- // src/queries/self/registration/useGetSelfEventRegistrationCheckout.ts
3386
- var SELF_EVENT_REGISTRATION_CHECKOUT_QUERY_KEY = (eventId, registrationId) => [
3387
- ...SELF_EVENT_REGISTRATION_QUERY_KEY(eventId),
3388
- registrationId,
3389
- "CHECKOUT"
3390
- ];
3391
- var GetSelfEventRegistrationCheckout = async ({
3385
+ // src/queries/self/registration/useGetSelfEventRegistrationIntent.ts
3386
+ var SELF_EVENT_REGISTRATION_INTENT_QUERY_KEY = (eventId, registrationId) => [...SELF_EVENT_REGISTRATION_QUERY_KEY(eventId), registrationId, "INTENT"];
3387
+ var GetSelfEventRegistrationIntent = async ({
3392
3388
  eventId,
3393
3389
  registrationId,
3394
3390
  clientApiParams
3395
3391
  }) => {
3396
3392
  const clientApi = await GetClientAPI(clientApiParams);
3397
3393
  const { data } = await clientApi.get(
3398
- `/self/events/${eventId}/registration/${registrationId}/draft/checkout`
3394
+ `/self/events/${eventId}/registration/${registrationId}/draft/intent`
3399
3395
  );
3400
3396
  return data;
3401
3397
  };
3402
- var useGetSelfEventRegistrationCheckout = (eventId, registrationId = "", options = {}) => {
3398
+ var useGetSelfEventRegistrationIntent = (eventId, registrationId = "", options = {}) => {
3403
3399
  const { authenticated } = useConnectedXM();
3404
3400
  return useConnectedSingleQuery_default(
3405
- SELF_EVENT_REGISTRATION_CHECKOUT_QUERY_KEY(eventId, registrationId),
3406
- (params) => GetSelfEventRegistrationCheckout({ eventId, registrationId, ...params }),
3401
+ SELF_EVENT_REGISTRATION_INTENT_QUERY_KEY(eventId, registrationId),
3402
+ (params) => GetSelfEventRegistrationIntent({ eventId, registrationId, ...params }),
3407
3403
  {
3408
3404
  staleTime: Infinity,
3409
3405
  retry: false,
@@ -4854,6 +4850,34 @@ var useGetInvoice = (invoiceId = "", options = {}) => {
4854
4850
  );
4855
4851
  };
4856
4852
 
4853
+ // src/queries/invoices/useGetInvoiceIntent.ts
4854
+ var SELF_INVOICE_INTENT_QUERY_KEY = (invoiceId) => [
4855
+ ...INVOICE_QUERY_KEY(invoiceId),
4856
+ "INTENT"
4857
+ ];
4858
+ var GetInvoiceIntent = async ({
4859
+ invoiceId,
4860
+ clientApiParams
4861
+ }) => {
4862
+ const clientApi = await GetClientAPI(clientApiParams);
4863
+ const { data } = await clientApi.get(`/invoices/${invoiceId}/intent`);
4864
+ return data;
4865
+ };
4866
+ var useGetInvoiceIntent = (invoiceId, options = {}) => {
4867
+ const { authenticated } = useConnectedXM();
4868
+ return useConnectedSingleQuery_default(
4869
+ SELF_INVOICE_INTENT_QUERY_KEY(invoiceId),
4870
+ (params) => GetInvoiceIntent({ invoiceId, ...params }),
4871
+ {
4872
+ staleTime: Infinity,
4873
+ retry: false,
4874
+ retryOnMount: false,
4875
+ ...options,
4876
+ enabled: !!authenticated && !!invoiceId && (options?.enabled ?? true)
4877
+ }
4878
+ );
4879
+ };
4880
+
4857
4881
  // src/queries/listings/useGetListings.ts
4858
4882
  var LISTINGS_QUERY_KEY = (past) => [
4859
4883
  ...SELF_QUERY_KEY(),
@@ -5681,29 +5705,33 @@ var useCreateEventLead = (options = {}) => {
5681
5705
  return useConnectedMutation(CreateEventLead, options);
5682
5706
  };
5683
5707
 
5684
- // src/mutations/invoices/useCaptureInvoicePayment.ts
5685
- var CaptureInvoicePayment = async ({
5686
- invoiceId,
5687
- intentId,
5708
+ // src/mutations/organization/useCapturePaymentIntent.ts
5709
+ var CapturePaymentIntent = async ({
5710
+ intent,
5688
5711
  clientApiParams,
5689
5712
  queryClient
5690
5713
  }) => {
5691
5714
  const clientApi = await GetClientAPI(clientApiParams);
5692
5715
  const { data } = await clientApi.post(
5693
- `/invoices/${invoiceId}/capture`,
5694
- {
5695
- intentId
5696
- }
5716
+ `/organization/intents/${intent.id}/capture`
5697
5717
  );
5718
+ console.log(!!queryClient, data.status === "ok", intent);
5698
5719
  if (queryClient && data.status === "ok") {
5699
- SET_INVOICE_QUERY_DATA(queryClient, [invoiceId], data, [
5700
- clientApiParams.locale
5701
- ]);
5720
+ if (intent.eventId && intent.registrationId) {
5721
+ queryClient.invalidateQueries({
5722
+ queryKey: SELF_EVENT_REGISTRATION_QUERY_KEY(intent.eventId)
5723
+ });
5724
+ }
5725
+ if (intent.invoiceId) {
5726
+ queryClient.invalidateQueries({
5727
+ queryKey: INVOICE_QUERY_KEY(intent.invoiceId)
5728
+ });
5729
+ }
5702
5730
  }
5703
5731
  return data;
5704
5732
  };
5705
- var useCaptureInvoicePayment = (options = {}) => {
5706
- return useConnectedMutation_default(CaptureInvoicePayment, options);
5733
+ var useCapturePaymentIntent = (options = {}) => {
5734
+ return useConnectedMutation_default(CapturePaymentIntent, options);
5707
5735
  };
5708
5736
 
5709
5737
  // src/mutations/self/chat/useAddSelfChatChannelMember.ts
@@ -5924,7 +5952,7 @@ var SelectSelfEventRegistrationCoupon = async ({
5924
5952
  clientApiParams.locale
5925
5953
  ]);
5926
5954
  queryClient.removeQueries({
5927
- queryKey: SELF_EVENT_REGISTRATION_CHECKOUT_QUERY_KEY(
5955
+ queryKey: SELF_EVENT_REGISTRATION_INTENT_QUERY_KEY(
5928
5956
  eventId,
5929
5957
  registrationId
5930
5958
  )
@@ -5948,37 +5976,6 @@ var useSelectSelfEventRegistrationCoupon = (options = {}) => {
5948
5976
  return useConnectedMutation_default(SelectSelfEventRegistrationCoupon, options);
5949
5977
  };
5950
5978
 
5951
- // src/mutations/self/events/registration/draft/useCaptureSelfEventRegistrationPayment.ts
5952
- var CaptureSelfEventRegistrationPayment = async ({
5953
- eventId,
5954
- registrationId,
5955
- clientApiParams,
5956
- queryClient
5957
- }) => {
5958
- const clientApi = await GetClientAPI(clientApiParams);
5959
- const { data } = await clientApi.post(
5960
- `/self/events/${eventId}/registration/${registrationId}/draft/capture`
5961
- );
5962
- if (queryClient && data.status === "ok") {
5963
- SET_SELF_EVENT_REGISTRATION_QUERY_DATA(queryClient, [eventId], data, [
5964
- clientApiParams.locale
5965
- ]);
5966
- queryClient.invalidateQueries({
5967
- queryKey: SELF_EVENT_REGISTRATION_STATUS_QUERY_KEY(eventId)
5968
- });
5969
- ADD_SELF_RELATIONSHIP(
5970
- queryClient,
5971
- [clientApiParams.locale],
5972
- "events",
5973
- eventId
5974
- );
5975
- }
5976
- return data;
5977
- };
5978
- var useCaptureSelfEventRegistrationPayment = (options = {}) => {
5979
- return useConnectedMutation_default(CaptureSelfEventRegistrationPayment, options);
5980
- };
5981
-
5982
5979
  // src/mutations/self/events/registration/draft/useRemoveSelfEventRegistrationCoupon.ts
5983
5980
  var RemoveSelfEventRegistrationCoupon = async ({
5984
5981
  eventId,
@@ -5992,7 +5989,7 @@ var RemoveSelfEventRegistrationCoupon = async ({
5992
5989
  );
5993
5990
  if (queryClient && data.status === "ok") {
5994
5991
  queryClient.removeQueries({
5995
- queryKey: SELF_EVENT_REGISTRATION_CHECKOUT_QUERY_KEY(
5992
+ queryKey: SELF_EVENT_REGISTRATION_INTENT_QUERY_KEY(
5996
5993
  eventId,
5997
5994
  registrationId
5998
5995
  )
@@ -6033,7 +6030,7 @@ var RemoveSelfEventRegistrationPurchase = async ({
6033
6030
  );
6034
6031
  if (queryClient && data.status === "ok") {
6035
6032
  queryClient.removeQueries({
6036
- queryKey: SELF_EVENT_REGISTRATION_CHECKOUT_QUERY_KEY(
6033
+ queryKey: SELF_EVENT_REGISTRATION_INTENT_QUERY_KEY(
6037
6034
  eventId,
6038
6035
  registrationId
6039
6036
  )
@@ -6070,7 +6067,7 @@ var AddSelfEventRegistrationPurchase = async ({
6070
6067
  clientApiParams.locale
6071
6068
  ]);
6072
6069
  queryClient.removeQueries({
6073
- queryKey: SELF_EVENT_REGISTRATION_CHECKOUT_QUERY_KEY(
6070
+ queryKey: SELF_EVENT_REGISTRATION_INTENT_QUERY_KEY(
6074
6071
  eventId,
6075
6072
  registrationId
6076
6073
  )
@@ -6240,7 +6237,7 @@ var AddSelfEventRegistrationPurchaseAddOn = async ({
6240
6237
  clientApiParams.locale
6241
6238
  ]);
6242
6239
  queryClient.removeQueries({
6243
- queryKey: SELF_EVENT_REGISTRATION_CHECKOUT_QUERY_KEY(
6240
+ queryKey: SELF_EVENT_REGISTRATION_INTENT_QUERY_KEY(
6244
6241
  eventId,
6245
6242
  registrationId
6246
6243
  )
@@ -6273,7 +6270,7 @@ var RemoveSelfEventRegistrationPurchaseAddOn = async ({
6273
6270
  );
6274
6271
  if (queryClient && data.status === "ok") {
6275
6272
  queryClient.removeQueries({
6276
- queryKey: SELF_EVENT_REGISTRATION_CHECKOUT_QUERY_KEY(
6273
+ queryKey: SELF_EVENT_REGISTRATION_INTENT_QUERY_KEY(
6277
6274
  eventId,
6278
6275
  registrationId
6279
6276
  )
@@ -6312,7 +6309,7 @@ var SelectSelfEventRegistrationPurchaseReservation = async ({
6312
6309
  clientApiParams.locale
6313
6310
  ]);
6314
6311
  queryClient.removeQueries({
6315
- queryKey: SELF_EVENT_REGISTRATION_CHECKOUT_QUERY_KEY(
6312
+ queryKey: SELF_EVENT_REGISTRATION_INTENT_QUERY_KEY(
6316
6313
  eventId,
6317
6314
  registrationId
6318
6315
  )
@@ -8156,25 +8153,24 @@ export {
8156
8153
  AdvertisementType,
8157
8154
  AppendInfiniteQuery,
8158
8155
  BENEFITS_QUERY_KEY,
8156
+ CHANNELS_QUERY_KEY,
8157
+ CHANNEL_CONTENTS_QUERY_KEY,
8158
+ CHANNEL_QUERY_KEY,
8159
8159
  CONTENTS_QUERY_KEY,
8160
8160
  CONTENT_ACTIVITIES_QUERY_KEY,
8161
8161
  CONTENT_QUERY_KEY,
8162
- CONTENT_TYPES_QUERY_KEY,
8163
- CONTENT_TYPE_CONTENTS_QUERY_KEY,
8164
- CONTENT_TYPE_QUERY_KEY,
8165
8162
  CacheIndividualQueries,
8166
8163
  CancelEventRegistration,
8167
8164
  CancelGroupInvitation,
8168
8165
  CancelGroupRequest,
8169
8166
  CancelSubscription,
8170
8167
  CancelTransfer,
8171
- CaptureInvoicePayment,
8172
- CaptureSelfEventRegistrationPayment,
8168
+ CapturePaymentIntent,
8169
+ ChannelFormat,
8173
8170
  CheckinListingRegistrationPurchase,
8174
8171
  CompleteEventActivation,
8175
8172
  ConnectedXMProvider,
8176
8173
  ContentGuestType,
8177
- ContentTypeFormat,
8178
8174
  CouponType,
8179
8175
  CreateEventLead,
8180
8176
  CreateGroup,
@@ -8255,12 +8251,12 @@ export {
8255
8251
  GetBaseInfiniteQueryKeys,
8256
8252
  GetBaseSingleQueryKeys,
8257
8253
  GetBenefits,
8254
+ GetChannel,
8255
+ GetChannelContents,
8256
+ GetChannels,
8258
8257
  GetClientAPI,
8259
8258
  GetContent,
8260
8259
  GetContentActivities,
8261
- GetContentType,
8262
- GetContentTypeContents,
8263
- GetContentTypes,
8264
8260
  GetContents,
8265
8261
  GetErrorMessage,
8266
8262
  GetEvent,
@@ -8298,6 +8294,7 @@ export {
8298
8294
  GetGroupsRequested,
8299
8295
  GetInterests,
8300
8296
  GetInvoice,
8297
+ GetInvoiceIntent,
8301
8298
  GetLevel,
8302
8299
  GetLevelSponsors,
8303
8300
  GetLevels,
@@ -8329,7 +8326,7 @@ export {
8329
8326
  GetSelfEventListingReport,
8330
8327
  GetSelfEventListings,
8331
8328
  GetSelfEventRegistration,
8332
- GetSelfEventRegistrationCheckout,
8329
+ GetSelfEventRegistrationIntent,
8333
8330
  GetSelfEventRegistrationPurchase,
8334
8331
  GetSelfEventRegistrationPurchaseAddOns,
8335
8332
  GetSelfEventRegistrationPurchaseReservationSections,
@@ -8420,7 +8417,7 @@ export {
8420
8417
  SELF_DELEGATES_QUERY_KEY,
8421
8418
  SELF_DELEGATE_OF_QUERY_KEY,
8422
8419
  SELF_EVENTS_QUERY_KEY,
8423
- SELF_EVENT_REGISTRATION_CHECKOUT_QUERY_KEY,
8420
+ SELF_EVENT_REGISTRATION_INTENT_QUERY_KEY,
8424
8421
  SELF_EVENT_REGISTRATION_PURCHASE_ADD_ONS_QUERY_KEY,
8425
8422
  SELF_EVENT_REGISTRATION_PURCHASE_QUERY_KEY,
8426
8423
  SELF_EVENT_REGISTRATION_PURCHASE_RESERVATION_SECTIONS_QUERY_KEY,
@@ -8432,6 +8429,7 @@ export {
8432
8429
  SELF_GROUP_MEMBERSHIPS_QUERY_KEY,
8433
8430
  SELF_GROUP_MEMBERSHIP_QUERY_KEY,
8434
8431
  SELF_INTERESTS_QUERY_KEY,
8432
+ SELF_INVOICE_INTENT_QUERY_KEY,
8435
8433
  SELF_NOTIFICATIONS_QUERY_KEY,
8436
8434
  SELF_NOTIFICATION_COUNT_QUERY_KEY,
8437
8435
  SELF_PENDING_TRANSFER_QUERY_KEY,
@@ -8460,12 +8458,12 @@ export {
8460
8458
  SET_ACTIVITY_QUERY_DATA,
8461
8459
  SET_ADVERTISEMENT_QUERY_DATA,
8462
8460
  SET_BENEFITS_QUERY_DATA,
8461
+ SET_CHANNELS_QUERY_DATA,
8462
+ SET_CHANNEL_CONTENTS_QUERY_DATA,
8463
+ SET_CHANNEL_QUERY_DATA,
8463
8464
  SET_CONTENTS_QUERY_DATA,
8464
8465
  SET_CONTENT_ACTIVITIES_QUERY_DATA,
8465
8466
  SET_CONTENT_QUERY_DATA,
8466
- SET_CONTENT_TYPES_QUERY_DATA,
8467
- SET_CONTENT_TYPE_CONTENTS_QUERY_DATA,
8468
- SET_CONTENT_TYPE_QUERY_DATA,
8469
8467
  SET_EVENTS_FEATURED_QUERY_DATA,
8470
8468
  SET_EVENTS_QUERY_DATA,
8471
8469
  SET_EVENT_ACTIVITIES_QUERY_DATA,
@@ -8561,8 +8559,8 @@ export {
8561
8559
  isTypeAdvertisement,
8562
8560
  isTypeAnnouncement,
8563
8561
  isTypeBenefit,
8562
+ isTypeChannel,
8564
8563
  isTypeContent,
8565
- isTypeContentType,
8566
8564
  isTypeCoupon,
8567
8565
  isTypeEvent,
8568
8566
  isTypeEventActivation,
@@ -8607,8 +8605,7 @@ export {
8607
8605
  useCancelGroupRequest,
8608
8606
  useCancelSubscription,
8609
8607
  useCancelTransfer,
8610
- useCaptureInvoicePayment,
8611
- useCaptureSelfEventRegistrationPayment,
8608
+ useCapturePaymentIntent,
8612
8609
  useCheckinListingRegistrationPurchase,
8613
8610
  useCompleteEventActivation,
8614
8611
  useConnectedInfiniteQuery,
@@ -8655,11 +8652,11 @@ export {
8655
8652
  useGetActivityComments,
8656
8653
  useGetAdvertisement,
8657
8654
  useGetBenefits,
8655
+ useGetChannel,
8656
+ useGetChannelContents,
8657
+ useGetChannels,
8658
8658
  useGetContent,
8659
8659
  useGetContentActivities,
8660
- useGetContentType,
8661
- useGetContentTypeContents,
8662
- useGetContentTypes,
8663
8660
  useGetContents,
8664
8661
  useGetEvent,
8665
8662
  useGetEventActivities,
@@ -8696,6 +8693,7 @@ export {
8696
8693
  useGetGroupsRequested,
8697
8694
  useGetInterests,
8698
8695
  useGetInvoice,
8696
+ useGetInvoiceIntent,
8699
8697
  useGetLevel,
8700
8698
  useGetLevelSponsors,
8701
8699
  useGetLevels,
@@ -8727,7 +8725,7 @@ export {
8727
8725
  useGetSelfEventListings,
8728
8726
  useGetSelfEventListingsRegistrations,
8729
8727
  useGetSelfEventRegistration,
8730
- useGetSelfEventRegistrationCheckout,
8728
+ useGetSelfEventRegistrationIntent,
8731
8729
  useGetSelfEventRegistrationPurchase,
8732
8730
  useGetSelfEventRegistrationPurchaseAddOns,
8733
8731
  useGetSelfEventRegistrationPurchaseReservationSections,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@connectedxm/client",
3
- "version": "0.5.17",
3
+ "version": "0.5.19",
4
4
  "description": "Client API javascript SDK",
5
5
  "author": "ConnectedXM Inc.",
6
6
  "repository": {