@connectedxm/admin 6.13.0 → 6.13.2

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/openapi.json CHANGED
@@ -43713,6 +43713,69 @@
43713
43713
  ]
43714
43714
  }
43715
43715
  },
43716
+ "/events/{eventId}/template": {
43717
+ "put": {
43718
+ "operationId": "UpdateEventBadgeTemplate",
43719
+ "summary": "Update Event Badge Template",
43720
+ "description": "Update Event Badge Template endpoint",
43721
+ "parameters": [
43722
+ {
43723
+ "in": "path",
43724
+ "name": "eventId",
43725
+ "schema": {
43726
+ "type": "string"
43727
+ },
43728
+ "description": "The event identifier",
43729
+ "required": true
43730
+ }
43731
+ ],
43732
+ "requestBody": {
43733
+ "required": true,
43734
+ "content": {
43735
+ "application/json": {
43736
+ "schema": {
43737
+ "type": "object"
43738
+ }
43739
+ }
43740
+ }
43741
+ },
43742
+ "responses": {
43743
+ "200": {
43744
+ "description": "Successful response",
43745
+ "content": {
43746
+ "application/json": {
43747
+ "schema": {
43748
+ "type": "object",
43749
+ "properties": {
43750
+ "status": {
43751
+ "type": "string",
43752
+ "enum": [
43753
+ "ok"
43754
+ ]
43755
+ },
43756
+ "message": {
43757
+ "type": "string",
43758
+ "example": "Success message."
43759
+ },
43760
+ "data": {
43761
+ "type": "object"
43762
+ }
43763
+ },
43764
+ "required": [
43765
+ "status",
43766
+ "message",
43767
+ "data"
43768
+ ]
43769
+ }
43770
+ }
43771
+ }
43772
+ }
43773
+ },
43774
+ "tags": [
43775
+ "Events::OnSite"
43776
+ ]
43777
+ }
43778
+ },
43716
43779
  "/events/{eventId}/threads": {
43717
43780
  "get": {
43718
43781
  "operationId": "GetEventThreads",
@@ -44721,297 +44784,6 @@
44721
44784
  ]
44722
44785
  }
44723
44786
  },
44724
- "/events/{eventId}/zpl-template": {
44725
- "put": {
44726
- "operationId": "UpdateEventZplTemplate",
44727
- "summary": "Update Event Zpl Template",
44728
- "description": "Update Event Zpl Template endpoint",
44729
- "parameters": [
44730
- {
44731
- "in": "path",
44732
- "name": "eventId",
44733
- "schema": {
44734
- "type": "string"
44735
- },
44736
- "description": "The event identifier",
44737
- "required": true
44738
- },
44739
- {
44740
- "in": "query",
44741
- "name": "zplTemplate",
44742
- "schema": {
44743
- "type": "string"
44744
- },
44745
- "description": "Filter by zplTemplate",
44746
- "required": true
44747
- }
44748
- ],
44749
- "responses": {
44750
- "200": {
44751
- "description": "Successful response",
44752
- "content": {
44753
- "application/json": {
44754
- "schema": {
44755
- "type": "object",
44756
- "properties": {
44757
- "status": {
44758
- "type": "string",
44759
- "enum": [
44760
- "ok"
44761
- ]
44762
- },
44763
- "message": {
44764
- "type": "string",
44765
- "example": "Success message."
44766
- },
44767
- "data": {
44768
- "$ref": "#/components/schemas/EventOnSite"
44769
- }
44770
- },
44771
- "required": [
44772
- "status",
44773
- "message",
44774
- "data"
44775
- ]
44776
- }
44777
- }
44778
- }
44779
- }
44780
- },
44781
- "tags": [
44782
- "Events::OnSite"
44783
- ]
44784
- }
44785
- },
44786
- "/events/{eventId}/zpl-template/fields": {
44787
- "get": {
44788
- "operationId": "GetEventZplTemplateBadgeFields",
44789
- "summary": "Get Event Zpl Template Badge Fields",
44790
- "description": "Get Event Zpl Template Badge Fields endpoint",
44791
- "parameters": [
44792
- {
44793
- "in": "path",
44794
- "name": "eventId",
44795
- "schema": {
44796
- "type": "string"
44797
- },
44798
- "description": "The event identifier",
44799
- "required": true
44800
- },
44801
- {
44802
- "in": "query",
44803
- "name": "page",
44804
- "schema": {
44805
- "type": "integer",
44806
- "minimum": 1,
44807
- "default": 1
44808
- },
44809
- "description": "Page number",
44810
- "required": false
44811
- },
44812
- {
44813
- "in": "query",
44814
- "name": "pageSize",
44815
- "schema": {
44816
- "type": "integer",
44817
- "minimum": 1,
44818
- "maximum": 100,
44819
- "default": 25
44820
- },
44821
- "description": "Number of items per page",
44822
- "required": false
44823
- },
44824
- {
44825
- "in": "query",
44826
- "name": "orderBy",
44827
- "schema": {
44828
- "type": "string"
44829
- },
44830
- "description": "Field to order by",
44831
- "required": false
44832
- },
44833
- {
44834
- "in": "query",
44835
- "name": "search",
44836
- "schema": {
44837
- "type": "string"
44838
- },
44839
- "description": "Search query",
44840
- "required": false
44841
- }
44842
- ],
44843
- "responses": {
44844
- "200": {
44845
- "description": "Successful response",
44846
- "content": {
44847
- "application/json": {
44848
- "schema": {
44849
- "type": "object",
44850
- "properties": {
44851
- "status": {
44852
- "type": "string",
44853
- "enum": [
44854
- "ok"
44855
- ]
44856
- },
44857
- "message": {
44858
- "type": "string",
44859
- "example": "Success message."
44860
- },
44861
- "data": {
44862
- "type": "object"
44863
- },
44864
- "count": {
44865
- "type": "integer",
44866
- "example": 100
44867
- }
44868
- },
44869
- "required": [
44870
- "status",
44871
- "message",
44872
- "data"
44873
- ]
44874
- }
44875
- }
44876
- }
44877
- }
44878
- },
44879
- "tags": [
44880
- "Events::OnSite"
44881
- ]
44882
- }
44883
- },
44884
- "/events/{eventId}/zpl-template/fields/{fieldId}": {
44885
- "get": {
44886
- "operationId": "GetEventZplTemplateBadgeField",
44887
- "summary": "Get Event Zpl Template Badge Field",
44888
- "description": "Get Event Zpl Template Badge Field endpoint",
44889
- "parameters": [
44890
- {
44891
- "in": "path",
44892
- "name": "eventId",
44893
- "schema": {
44894
- "type": "string"
44895
- },
44896
- "description": "The event identifier",
44897
- "required": true
44898
- },
44899
- {
44900
- "in": "path",
44901
- "name": "fieldId",
44902
- "schema": {
44903
- "type": "string"
44904
- },
44905
- "description": "The field identifier",
44906
- "required": true
44907
- }
44908
- ],
44909
- "responses": {
44910
- "200": {
44911
- "description": "Successful response",
44912
- "content": {
44913
- "application/json": {
44914
- "schema": {
44915
- "type": "object",
44916
- "properties": {
44917
- "status": {
44918
- "type": "string",
44919
- "enum": [
44920
- "ok"
44921
- ]
44922
- },
44923
- "message": {
44924
- "type": "string",
44925
- "example": "Success message."
44926
- },
44927
- "data": {
44928
- "type": "object"
44929
- }
44930
- },
44931
- "required": [
44932
- "status",
44933
- "message",
44934
- "data"
44935
- ]
44936
- }
44937
- }
44938
- }
44939
- }
44940
- },
44941
- "tags": [
44942
- "Events::OnSite"
44943
- ]
44944
- },
44945
- "put": {
44946
- "operationId": "UpdateEventZplTemplateBadgeField",
44947
- "summary": "Update Event Zpl Template Badge Field",
44948
- "description": "Update Event Zpl Template Badge Field endpoint",
44949
- "parameters": [
44950
- {
44951
- "in": "path",
44952
- "name": "eventId",
44953
- "schema": {
44954
- "type": "string"
44955
- },
44956
- "description": "The event identifier",
44957
- "required": true
44958
- },
44959
- {
44960
- "in": "path",
44961
- "name": "fieldId",
44962
- "schema": {
44963
- "type": "string"
44964
- },
44965
- "description": "The field identifier",
44966
- "required": true
44967
- },
44968
- {
44969
- "in": "query",
44970
- "name": "field",
44971
- "schema": {
44972
- "$ref": "#/components/schemas/EventBadgeFieldUpdateInputs"
44973
- },
44974
- "description": "Filter by field",
44975
- "required": true
44976
- }
44977
- ],
44978
- "responses": {
44979
- "200": {
44980
- "description": "Successful response",
44981
- "content": {
44982
- "application/json": {
44983
- "schema": {
44984
- "type": "object",
44985
- "properties": {
44986
- "status": {
44987
- "type": "string",
44988
- "enum": [
44989
- "ok"
44990
- ]
44991
- },
44992
- "message": {
44993
- "type": "string",
44994
- "example": "Success message."
44995
- },
44996
- "data": {
44997
- "type": "object"
44998
- }
44999
- },
45000
- "required": [
45001
- "status",
45002
- "message",
45003
- "data"
45004
- ]
45005
- }
45006
- }
45007
- }
45008
- }
45009
- },
45010
- "tags": [
45011
- "Events::OnSite"
45012
- ]
45013
- }
45014
- },
45015
44787
  "/files": {
45016
44788
  "get": {
45017
44789
  "operationId": "GetFiles",
@@ -77593,112 +77365,6 @@
77593
77365
  "type": "object",
77594
77366
  "properties": {}
77595
77367
  },
77596
- "BadgeFieldType": {
77597
- "type": "string",
77598
- "enum": [
77599
- "attribute",
77600
- "question",
77601
- "tier",
77602
- "ticket",
77603
- "pass",
77604
- "session",
77605
- "session_question"
77606
- ]
77607
- },
77608
- "BadgeFieldTransformation": {
77609
- "type": "string",
77610
- "enum": [
77611
- "uppercase",
77612
- "lowercase"
77613
- ]
77614
- },
77615
- "BaseEventOnSiteBadgeField": {
77616
- "type": "object",
77617
- "properties": {
77618
- "id": {
77619
- "type": "number"
77620
- },
77621
- "eventId": {
77622
- "type": "string"
77623
- },
77624
- "name": {
77625
- "type": "string"
77626
- },
77627
- "type": {
77628
- "$ref": "#/components/schemas/BadgeFieldType"
77629
- },
77630
- "lookup": {
77631
- "type": "string",
77632
- "nullable": true
77633
- },
77634
- "maxLength": {
77635
- "type": "number",
77636
- "nullable": true
77637
- },
77638
- "defaultValue": {
77639
- "type": "string",
77640
- "nullable": true
77641
- },
77642
- "transformation": {
77643
- "allOf": [
77644
- {
77645
- "$ref": "#/components/schemas/BadgeFieldTransformation"
77646
- }
77647
- ],
77648
- "nullable": true
77649
- },
77650
- "iconData": {
77651
- "type": "string",
77652
- "nullable": true
77653
- },
77654
- "sessionId": {
77655
- "type": "string",
77656
- "nullable": true
77657
- },
77658
- "sortOrder": {
77659
- "type": "number"
77660
- },
77661
- "createdAt": {
77662
- "type": "string"
77663
- },
77664
- "updatedAt": {
77665
- "type": "string"
77666
- }
77667
- },
77668
- "required": [
77669
- "id",
77670
- "eventId",
77671
- "name",
77672
- "type",
77673
- "lookup",
77674
- "maxLength",
77675
- "defaultValue",
77676
- "transformation",
77677
- "iconData",
77678
- "sessionId",
77679
- "sortOrder",
77680
- "createdAt",
77681
- "updatedAt"
77682
- ]
77683
- },
77684
- "EventOnSiteBadgeField": {
77685
- "allOf": [
77686
- {
77687
- "$ref": "#/components/schemas/BaseEventOnSiteBadgeField"
77688
- },
77689
- {
77690
- "type": "object",
77691
- "properties": {
77692
- "onSite": {
77693
- "$ref": "#/components/schemas/EventOnSite"
77694
- }
77695
- },
77696
- "required": [
77697
- "onSite"
77698
- ]
77699
- }
77700
- ]
77701
- },
77702
77368
  "BaseEventOnSite": {
77703
77369
  "type": "object",
77704
77370
  "properties": {
@@ -77708,7 +77374,7 @@
77708
77374
  "authenticationCode": {
77709
77375
  "type": "number"
77710
77376
  },
77711
- "zplTemplate": {
77377
+ "badgeTemplate": {
77712
77378
  "type": "string",
77713
77379
  "nullable": true
77714
77380
  },
@@ -77722,7 +77388,7 @@
77722
77388
  "required": [
77723
77389
  "eventId",
77724
77390
  "authenticationCode",
77725
- "zplTemplate",
77391
+ "badgeTemplate",
77726
77392
  "createdAt",
77727
77393
  "updatedAt"
77728
77394
  ]
@@ -77731,20 +77397,6 @@
77731
77397
  "allOf": [
77732
77398
  {
77733
77399
  "$ref": "#/components/schemas/BaseEventOnSite"
77734
- },
77735
- {
77736
- "type": "object",
77737
- "properties": {
77738
- "badgeFields": {
77739
- "type": "array",
77740
- "items": {
77741
- "$ref": "#/components/schemas/BaseEventOnSiteBadgeField"
77742
- }
77743
- }
77744
- },
77745
- "required": [
77746
- "badgeFields"
77747
- ]
77748
77400
  }
77749
77401
  ]
77750
77402
  },
@@ -94833,65 +94485,6 @@
94833
94485
  "values"
94834
94486
  ]
94835
94487
  },
94836
- "EventBadgeFieldUpdateInputs": {
94837
- "type": "object",
94838
- "properties": {
94839
- "type": {
94840
- "allOf": [
94841
- {
94842
- "$ref": "#/components/schemas/BadgeFieldType"
94843
- }
94844
- ],
94845
- "nullable": true
94846
- },
94847
- "lookup": {
94848
- "type": "string",
94849
- "nullable": true
94850
- },
94851
- "maxLength": {
94852
- "oneOf": [
94853
- {
94854
- "type": "number"
94855
- },
94856
- {
94857
- "type": "string"
94858
- }
94859
- ],
94860
- "nullable": true
94861
- },
94862
- "defaultValue": {
94863
- "type": "string",
94864
- "nullable": true
94865
- },
94866
- "transformation": {
94867
- "allOf": [
94868
- {
94869
- "$ref": "#/components/schemas/BadgeFieldTransformation"
94870
- }
94871
- ],
94872
- "nullable": true
94873
- },
94874
- "sortOrder": {
94875
- "oneOf": [
94876
- {
94877
- "type": "number"
94878
- },
94879
- {
94880
- "type": "string"
94881
- }
94882
- ],
94883
- "nullable": true
94884
- },
94885
- "iconData": {
94886
- "type": "string",
94887
- "nullable": true
94888
- },
94889
- "sessionId": {
94890
- "type": "string",
94891
- "nullable": true
94892
- }
94893
- }
94894
- },
94895
94488
  "EventCouponCreateInputs": {
94896
94489
  "type": "object",
94897
94490
  "properties": {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@connectedxm/admin",
3
- "version": "6.13.0",
3
+ "version": "6.13.2",
4
4
  "description": "Admin API javascript SDK",
5
5
  "author": "ConnectedXM Inc.",
6
6
  "type": "module",