@connectedxm/admin 6.9.2 → 6.9.3

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.js CHANGED
@@ -17595,12 +17595,9 @@ var useGetSeriesRegistration = (seriesId = "", registrationId = "", options = {}
17595
17595
  );
17596
17596
  };
17597
17597
 
17598
- // src/queries/series/registrations/useGetSeriesRegistrationRegistrations.ts
17599
- var SERIES_REGISTRATION_REGISTRATIONS_QUERY_KEY = (seriesId, registrationId) => [
17600
- ...SERIES_REGISTRATION_QUERY_KEY(seriesId, registrationId),
17601
- "REGISTRATIONS"
17602
- ];
17603
- var GetSeriesRegistrationRegistrations = async ({
17598
+ // src/queries/series/registrations/useGetSeriesRegistrationPasses.ts
17599
+ var SERIES_REGISTRATION_PASSES_QUERY_KEY = (seriesId, registrationId) => [...SERIES_REGISTRATION_QUERY_KEY(seriesId, registrationId), "PASSES"];
17600
+ var GetSeriesRegistrationPasses = async ({
17604
17601
  seriesId,
17605
17602
  registrationId,
17606
17603
  pageParam,
@@ -17611,7 +17608,7 @@ var GetSeriesRegistrationRegistrations = async ({
17611
17608
  }) => {
17612
17609
  const adminApi = await GetAdminAPI(adminApiParams);
17613
17610
  const { data } = await adminApi.get(
17614
- `/series/${seriesId}/registrations/${registrationId}/registrations`,
17611
+ `/series/${seriesId}/registrations/${registrationId}/passes`,
17615
17612
  {
17616
17613
  params: {
17617
17614
  page: pageParam || void 0,
@@ -17623,10 +17620,10 @@ var GetSeriesRegistrationRegistrations = async ({
17623
17620
  );
17624
17621
  return data;
17625
17622
  };
17626
- var useGetSeriesRegistrationRegistrations = (seriesId = "", registrationId = "", params = {}, options = {}) => {
17623
+ var useGetSeriesRegistrationPasses = (seriesId = "", registrationId = "", params = {}, options = {}) => {
17627
17624
  return useConnectedInfiniteQuery(
17628
- SERIES_REGISTRATION_REGISTRATIONS_QUERY_KEY(seriesId, registrationId),
17629
- (params2) => GetSeriesRegistrationRegistrations({
17625
+ SERIES_REGISTRATION_PASSES_QUERY_KEY(seriesId, registrationId),
17626
+ (params2) => GetSeriesRegistrationPasses({
17630
17627
  ...params2,
17631
17628
  seriesId,
17632
17629
  registrationId
@@ -37854,7 +37851,7 @@ export {
37854
37851
  GetSeriesEvents,
37855
37852
  GetSeriesList,
37856
37853
  GetSeriesRegistration,
37857
- GetSeriesRegistrationRegistrations,
37854
+ GetSeriesRegistrationPasses,
37858
37855
  GetSeriesRegistrations,
37859
37856
  GetStreamInput,
37860
37857
  GetStreamInputOutput,
@@ -38145,8 +38142,8 @@ export {
38145
38142
  SERIES_LIST_QUERY_KEY,
38146
38143
  SERIES_QUERY_KEY,
38147
38144
  SERIES_REGISTRATIONS_QUERY_KEY,
38145
+ SERIES_REGISTRATION_PASSES_QUERY_KEY,
38148
38146
  SERIES_REGISTRATION_QUERY_KEY,
38149
- SERIES_REGISTRATION_REGISTRATIONS_QUERY_KEY,
38150
38147
  SET_ACCOUNTS_QUERY_DATA,
38151
38148
  SET_ACCOUNT_ACTIVITIES_QUERY_DATA,
38152
38149
  SET_ACCOUNT_ADDRESSES_QUERY_DATA,
@@ -39683,7 +39680,7 @@ export {
39683
39680
  useGetSeriesEvents,
39684
39681
  useGetSeriesList,
39685
39682
  useGetSeriesRegistration,
39686
- useGetSeriesRegistrationRegistrations,
39683
+ useGetSeriesRegistrationPasses,
39687
39684
  useGetSeriesRegistrations,
39688
39685
  useGetStreamInput,
39689
39686
  useGetStreamInputOutput,
package/openapi.json CHANGED
@@ -62374,11 +62374,11 @@
62374
62374
  ]
62375
62375
  }
62376
62376
  },
62377
- "/series/{seriesId}/registrations/{registrationId}/registrations": {
62377
+ "/series/{seriesId}/registrations/{registrationId}/passes": {
62378
62378
  "get": {
62379
- "operationId": "GetSeriesRegistrationRegistrations",
62380
- "summary": "Get Series Registration Registrations",
62381
- "description": "Get Series Registration Registrations endpoint",
62379
+ "operationId": "GetSeriesRegistrationPasses",
62380
+ "summary": "Get Series Registration Passes",
62381
+ "description": "Get Series Registration Passes endpoint",
62382
62382
  "parameters": [
62383
62383
  {
62384
62384
  "in": "path",
@@ -78820,6 +78820,10 @@
78820
78820
  ],
78821
78821
  "nullable": true
78822
78822
  },
78823
+ "seriesRegistrationId": {
78824
+ "type": "string",
78825
+ "nullable": true
78826
+ },
78823
78827
  "createdAt": {
78824
78828
  "type": "string"
78825
78829
  },
@@ -78847,6 +78851,7 @@
78847
78851
  "coupon",
78848
78852
  "packageId",
78849
78853
  "package",
78854
+ "seriesRegistrationId",
78850
78855
  "createdAt",
78851
78856
  "updatedAt"
78852
78857
  ]
@@ -78890,6 +78895,14 @@
78890
78895
  }
78891
78896
  ],
78892
78897
  "nullable": true
78898
+ },
78899
+ "seriesRegistration": {
78900
+ "allOf": [
78901
+ {
78902
+ "$ref": "#/components/schemas/BaseSeriesRegistration"
78903
+ }
78904
+ ],
78905
+ "nullable": true
78893
78906
  }
78894
78907
  },
78895
78908
  "required": [
@@ -78898,7 +78911,8 @@
78898
78911
  "attendee",
78899
78912
  "lineItem",
78900
78913
  "payerId",
78901
- "payer"
78914
+ "payer",
78915
+ "seriesRegistration"
78902
78916
  ]
78903
78917
  }
78904
78918
  ]
@@ -80828,22 +80842,6 @@
80828
80842
  "$ref": "#/components/schemas/BaseAttendeePackage"
80829
80843
  }
80830
80844
  },
80831
- "seriesId": {
80832
- "type": "string",
80833
- "nullable": true
80834
- },
80835
- "seriesRegistrationId": {
80836
- "type": "string",
80837
- "nullable": true
80838
- },
80839
- "seriesRegistration": {
80840
- "allOf": [
80841
- {
80842
- "$ref": "#/components/schemas/BaseSeriesRegistration"
80843
- }
80844
- ],
80845
- "nullable": true
80846
- },
80847
80845
  "createdAt": {
80848
80846
  "type": "string"
80849
80847
  },
@@ -80869,9 +80867,6 @@
80869
80867
  "required": [
80870
80868
  "passes",
80871
80869
  "packages",
80872
- "seriesId",
80873
- "seriesRegistrationId",
80874
- "seriesRegistration",
80875
80870
  "createdAt",
80876
80871
  "updatedAt",
80877
80872
  "_count"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@connectedxm/admin",
3
- "version": "6.9.2",
3
+ "version": "6.9.3",
4
4
  "description": "Admin API javascript SDK",
5
5
  "author": "ConnectedXM Inc.",
6
6
  "type": "module",