@connectedxm/admin 6.14.0 → 6.14.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/.prettierrc ADDED
@@ -0,0 +1,23 @@
1
+ {
2
+ "arrowParens": "always",
3
+ "bracketSpacing": true,
4
+ "endOfLine": "lf",
5
+ "htmlWhitespaceSensitivity": "css",
6
+ "insertPragma": false,
7
+ "singleAttributePerLine": false,
8
+ "bracketSameLine": false,
9
+ "jsxBracketSameLine": false,
10
+ "jsxSingleQuote": false,
11
+ "printWidth": 80,
12
+ "proseWrap": "preserve",
13
+ "quoteProps": "as-needed",
14
+ "requirePragma": false,
15
+ "semi": true,
16
+ "singleQuote": false,
17
+ "tabWidth": 2,
18
+ "trailingComma": "es5",
19
+ "useTabs": false,
20
+ "embeddedLanguageFormatting": "auto",
21
+ "vueIndentScriptAndStyle": false,
22
+ "experimentalTernaries": false
23
+ }
package/dist/index.cjs CHANGED
@@ -38664,7 +38664,7 @@ var UpdateSeriesRegistrationResponses = async ({
38664
38664
  const connectedXM = await GetAdminAPI(adminApiParams);
38665
38665
  const { data } = await connectedXM.put(
38666
38666
  `/series/${seriesId}/registrations/${registrationId}/responses`,
38667
- { responses }
38667
+ responses
38668
38668
  );
38669
38669
  if (queryClient && data.status === "ok") {
38670
38670
  queryClient.invalidateQueries({
package/dist/index.d.cts CHANGED
@@ -431,6 +431,7 @@ interface BaseEventActivation {
431
431
  startAfter: string | null;
432
432
  type: keyof typeof EventActivationType;
433
433
  accessLevel: keyof typeof PassTypeAccessLevel;
434
+ sortOrder: number;
434
435
  survey: BaseSurvey | null;
435
436
  _count: {
436
437
  sessions: number;
@@ -1038,6 +1039,7 @@ interface Event extends BaseEvent {
1038
1039
  meeting: BaseMeeting | null;
1039
1040
  continuousScanning: boolean;
1040
1041
  scanType: OnSiteScanType;
1042
+ activationsDescription: string | null;
1041
1043
  options: object | null;
1042
1044
  }
1043
1045
  interface EventTranslation {
@@ -1049,6 +1051,7 @@ interface EventTranslation {
1049
1051
  reservationDescription: string | null;
1050
1052
  imageId: string | null;
1051
1053
  image: BaseImage | null;
1054
+ activationsDescription: string | null;
1052
1055
  createdAt: string;
1053
1056
  updatedAt: string;
1054
1057
  }
@@ -4938,6 +4941,7 @@ interface EventActivationCreateInputs {
4938
4941
  accessLevel?: keyof typeof PassTypeAccessLevel;
4939
4942
  continuousScanning?: boolean;
4940
4943
  scanType?: keyof typeof OnSiteScanType | null;
4944
+ sortOrder?: number | string | null;
4941
4945
  }
4942
4946
  interface EventActivationTranslationUpdateInputs {
4943
4947
  name?: string | null;
@@ -4958,6 +4962,7 @@ interface EventActivationUpdateInputs {
4958
4962
  accessLevel?: keyof typeof PassTypeAccessLevel;
4959
4963
  continuousScanning?: boolean;
4960
4964
  scanType?: keyof typeof OnSiteScanType | null;
4965
+ sortOrder?: number | string | null;
4961
4966
  }
4962
4967
  interface EventActivationCompletionCreateInputs {
4963
4968
  passId: string;
@@ -5119,6 +5124,7 @@ interface EventCreateInputs {
5119
5124
  meetingId?: string | null;
5120
5125
  continuousScanning?: boolean;
5121
5126
  scanType?: keyof typeof OnSiteScanType | null;
5127
+ activationsDescription?: string | null;
5122
5128
  }
5123
5129
  interface EventUpdateInputs {
5124
5130
  featured?: boolean;
@@ -5179,6 +5185,7 @@ interface EventUpdateInputs {
5179
5185
  meetingId?: string | null;
5180
5186
  continuousScanning?: boolean;
5181
5187
  scanType?: keyof typeof OnSiteScanType | null;
5188
+ activationsDescription?: string | null;
5182
5189
  }
5183
5190
  interface EventEmailUpdateInputs {
5184
5191
  body?: string | null;
@@ -5602,6 +5609,7 @@ interface EventTranslationUpdateInputs {
5602
5609
  longDescription?: string | null;
5603
5610
  reservationDescription?: string | null;
5604
5611
  imageId?: string | null;
5612
+ activationsDescription?: string | null;
5605
5613
  }
5606
5614
  interface FileUpdateInputs {
5607
5615
  name?: string;
@@ -30238,7 +30246,7 @@ declare const useUpdateSeriesRegistration: (options?: Omit<ConnectedXMMutationOp
30238
30246
  interface UpdateSeriesRegistrationResponsesParams extends MutationParams {
30239
30247
  seriesId: string;
30240
30248
  registrationId: string;
30241
- responses: SeriesRegistrationResponsesUpdateInputs["responses"];
30249
+ responses: SeriesRegistrationResponsesUpdateInputs;
30242
30250
  }
30243
30251
  /**
30244
30252
  * @category Methods
package/dist/index.d.ts CHANGED
@@ -431,6 +431,7 @@ interface BaseEventActivation {
431
431
  startAfter: string | null;
432
432
  type: keyof typeof EventActivationType;
433
433
  accessLevel: keyof typeof PassTypeAccessLevel;
434
+ sortOrder: number;
434
435
  survey: BaseSurvey | null;
435
436
  _count: {
436
437
  sessions: number;
@@ -1038,6 +1039,7 @@ interface Event extends BaseEvent {
1038
1039
  meeting: BaseMeeting | null;
1039
1040
  continuousScanning: boolean;
1040
1041
  scanType: OnSiteScanType;
1042
+ activationsDescription: string | null;
1041
1043
  options: object | null;
1042
1044
  }
1043
1045
  interface EventTranslation {
@@ -1049,6 +1051,7 @@ interface EventTranslation {
1049
1051
  reservationDescription: string | null;
1050
1052
  imageId: string | null;
1051
1053
  image: BaseImage | null;
1054
+ activationsDescription: string | null;
1052
1055
  createdAt: string;
1053
1056
  updatedAt: string;
1054
1057
  }
@@ -4938,6 +4941,7 @@ interface EventActivationCreateInputs {
4938
4941
  accessLevel?: keyof typeof PassTypeAccessLevel;
4939
4942
  continuousScanning?: boolean;
4940
4943
  scanType?: keyof typeof OnSiteScanType | null;
4944
+ sortOrder?: number | string | null;
4941
4945
  }
4942
4946
  interface EventActivationTranslationUpdateInputs {
4943
4947
  name?: string | null;
@@ -4958,6 +4962,7 @@ interface EventActivationUpdateInputs {
4958
4962
  accessLevel?: keyof typeof PassTypeAccessLevel;
4959
4963
  continuousScanning?: boolean;
4960
4964
  scanType?: keyof typeof OnSiteScanType | null;
4965
+ sortOrder?: number | string | null;
4961
4966
  }
4962
4967
  interface EventActivationCompletionCreateInputs {
4963
4968
  passId: string;
@@ -5119,6 +5124,7 @@ interface EventCreateInputs {
5119
5124
  meetingId?: string | null;
5120
5125
  continuousScanning?: boolean;
5121
5126
  scanType?: keyof typeof OnSiteScanType | null;
5127
+ activationsDescription?: string | null;
5122
5128
  }
5123
5129
  interface EventUpdateInputs {
5124
5130
  featured?: boolean;
@@ -5179,6 +5185,7 @@ interface EventUpdateInputs {
5179
5185
  meetingId?: string | null;
5180
5186
  continuousScanning?: boolean;
5181
5187
  scanType?: keyof typeof OnSiteScanType | null;
5188
+ activationsDescription?: string | null;
5182
5189
  }
5183
5190
  interface EventEmailUpdateInputs {
5184
5191
  body?: string | null;
@@ -5602,6 +5609,7 @@ interface EventTranslationUpdateInputs {
5602
5609
  longDescription?: string | null;
5603
5610
  reservationDescription?: string | null;
5604
5611
  imageId?: string | null;
5612
+ activationsDescription?: string | null;
5605
5613
  }
5606
5614
  interface FileUpdateInputs {
5607
5615
  name?: string;
@@ -30238,7 +30246,7 @@ declare const useUpdateSeriesRegistration: (options?: Omit<ConnectedXMMutationOp
30238
30246
  interface UpdateSeriesRegistrationResponsesParams extends MutationParams {
30239
30247
  seriesId: string;
30240
30248
  registrationId: string;
30241
- responses: SeriesRegistrationResponsesUpdateInputs["responses"];
30249
+ responses: SeriesRegistrationResponsesUpdateInputs;
30242
30250
  }
30243
30251
  /**
30244
30252
  * @category Methods
package/dist/index.js CHANGED
@@ -35229,7 +35229,7 @@ var UpdateSeriesRegistrationResponses = async ({
35229
35229
  const connectedXM = await GetAdminAPI(adminApiParams);
35230
35230
  const { data } = await connectedXM.put(
35231
35231
  `/series/${seriesId}/registrations/${registrationId}/responses`,
35232
- { responses }
35232
+ responses
35233
35233
  );
35234
35234
  if (queryClient && data.status === "ok") {
35235
35235
  queryClient.invalidateQueries({
package/openapi.json CHANGED
@@ -64483,17 +64483,18 @@
64483
64483
  },
64484
64484
  "description": "The registration identifier",
64485
64485
  "required": true
64486
- },
64487
- {
64488
- "in": "query",
64489
- "name": "responses",
64490
- "schema": {
64491
- "$ref": "#/components/schemas/SeriesRegistrationResponsesUpdateInputs[\"responses\"]"
64492
- },
64493
- "description": "Filter by responses",
64494
- "required": true
64495
64486
  }
64496
64487
  ],
64488
+ "requestBody": {
64489
+ "required": true,
64490
+ "content": {
64491
+ "application/json": {
64492
+ "schema": {
64493
+ "$ref": "#/components/schemas/SeriesRegistrationResponsesUpdateInputs"
64494
+ }
64495
+ }
64496
+ }
64497
+ },
64497
64498
  "responses": {
64498
64499
  "200": {
64499
64500
  "description": "Successful response",
@@ -64513,7 +64514,7 @@
64513
64514
  "example": "Success message."
64514
64515
  },
64515
64516
  "data": {
64516
- "nullable": true
64517
+ "type": "object"
64517
64518
  }
64518
64519
  },
64519
64520
  "required": [
@@ -75474,6 +75475,9 @@
75474
75475
  "accessLevel": {
75475
75476
  "$ref": "#/components/schemas/PassTypeAccessLevel"
75476
75477
  },
75478
+ "sortOrder": {
75479
+ "type": "number"
75480
+ },
75477
75481
  "survey": {
75478
75482
  "allOf": [
75479
75483
  {
@@ -75504,6 +75508,7 @@
75504
75508
  "startAfter",
75505
75509
  "type",
75506
75510
  "accessLevel",
75511
+ "sortOrder",
75507
75512
  "survey",
75508
75513
  "_count"
75509
75514
  ]
@@ -78347,6 +78352,10 @@
78347
78352
  "scanType": {
78348
78353
  "$ref": "#/components/schemas/OnSiteScanType"
78349
78354
  },
78355
+ "activationsDescription": {
78356
+ "type": "string",
78357
+ "nullable": true
78358
+ },
78350
78359
  "options": {
78351
78360
  "type": "object",
78352
78361
  "nullable": true
@@ -78392,6 +78401,7 @@
78392
78401
  "meeting",
78393
78402
  "continuousScanning",
78394
78403
  "scanType",
78404
+ "activationsDescription",
78395
78405
  "options"
78396
78406
  ]
78397
78407
  }
@@ -78432,6 +78442,10 @@
78432
78442
  ],
78433
78443
  "nullable": true
78434
78444
  },
78445
+ "activationsDescription": {
78446
+ "type": "string",
78447
+ "nullable": true
78448
+ },
78435
78449
  "createdAt": {
78436
78450
  "type": "string"
78437
78451
  },
@@ -78448,6 +78462,7 @@
78448
78462
  "reservationDescription",
78449
78463
  "imageId",
78450
78464
  "image",
78465
+ "activationsDescription",
78451
78466
  "createdAt",
78452
78467
  "updatedAt"
78453
78468
  ]
@@ -94684,6 +94699,17 @@
94684
94699
  }
94685
94700
  ],
94686
94701
  "nullable": true
94702
+ },
94703
+ "sortOrder": {
94704
+ "oneOf": [
94705
+ {
94706
+ "type": "number"
94707
+ },
94708
+ {
94709
+ "type": "string"
94710
+ }
94711
+ ],
94712
+ "nullable": true
94687
94713
  }
94688
94714
  },
94689
94715
  "required": [
@@ -94776,6 +94802,17 @@
94776
94802
  }
94777
94803
  ],
94778
94804
  "nullable": true
94805
+ },
94806
+ "sortOrder": {
94807
+ "oneOf": [
94808
+ {
94809
+ "type": "number"
94810
+ },
94811
+ {
94812
+ "type": "string"
94813
+ }
94814
+ ],
94815
+ "nullable": true
94779
94816
  }
94780
94817
  }
94781
94818
  },
@@ -95561,6 +95598,10 @@
95561
95598
  }
95562
95599
  ],
95563
95600
  "nullable": true
95601
+ },
95602
+ "activationsDescription": {
95603
+ "type": "string",
95604
+ "nullable": true
95564
95605
  }
95565
95606
  },
95566
95607
  "required": [
@@ -95833,6 +95874,10 @@
95833
95874
  }
95834
95875
  ],
95835
95876
  "nullable": true
95877
+ },
95878
+ "activationsDescription": {
95879
+ "type": "string",
95880
+ "nullable": true
95836
95881
  }
95837
95882
  }
95838
95883
  },
@@ -97618,6 +97663,10 @@
97618
97663
  "imageId": {
97619
97664
  "type": "string",
97620
97665
  "nullable": true
97666
+ },
97667
+ "activationsDescription": {
97668
+ "type": "string",
97669
+ "nullable": true
97621
97670
  }
97622
97671
  }
97623
97672
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@connectedxm/admin",
3
- "version": "6.14.0",
3
+ "version": "6.14.3",
4
4
  "description": "Admin API javascript SDK",
5
5
  "author": "ConnectedXM Inc.",
6
6
  "type": "module",