@itm-studio/partner-sdk 0.1.4 → 0.1.6

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
@@ -557,39 +557,45 @@ var types_default = {
557
557
  5,
558
558
  6,
559
559
  7,
560
+ 8,
560
561
  9,
561
562
  10,
563
+ 12,
562
564
  13,
563
- 14,
564
- 16
565
+ 17,
566
+ 18,
567
+ 20
565
568
  ],
566
569
  "types": {
567
570
  "DateTime": {},
571
+ "JSON": {},
568
572
  "MomentStatus": {},
569
573
  "MomentSortOrder": {},
570
574
  "MomentType": {},
571
575
  "MomentCategory": {},
572
576
  "MomentSubcategory": {},
577
+ "EchoType": {},
578
+ "ThirdPartyEchoType": {},
573
579
  "PaymentStatus": {},
574
580
  "TicketExtensionStatus": {},
575
581
  "Currency": {
576
582
  "uid": [
577
- 9
583
+ 12
578
584
  ],
579
585
  "code": [
580
- 10
586
+ 13
581
587
  ],
582
588
  "name": [
583
- 10
589
+ 13
584
590
  ],
585
591
  "symbol": [
586
- 10
592
+ 13
587
593
  ],
588
594
  "country": [
589
- 10
595
+ 13
590
596
  ],
591
597
  "countryCode": [
592
- 10
598
+ 13
593
599
  ],
594
600
  "createdAt": [
595
601
  0
@@ -598,29 +604,29 @@ var types_default = {
598
604
  0
599
605
  ],
600
606
  "__typename": [
601
- 10
607
+ 13
602
608
  ]
603
609
  },
604
610
  "ID": {},
605
611
  "String": {},
606
612
  "Venue": {
607
613
  "uid": [
608
- 9
614
+ 12
609
615
  ],
610
616
  "name": [
611
- 10
617
+ 13
612
618
  ],
613
619
  "address": [
614
- 10
620
+ 13
615
621
  ],
616
622
  "city": [
617
- 10
623
+ 13
618
624
  ],
619
625
  "country": [
620
- 10
626
+ 13
621
627
  ],
622
628
  "postalCode": [
623
- 10
629
+ 13
624
630
  ],
625
631
  "createdAt": [
626
632
  0
@@ -629,24 +635,35 @@ var types_default = {
629
635
  0
630
636
  ],
631
637
  "__typename": [
632
- 10
638
+ 13
639
+ ]
640
+ },
641
+ "MomentCoverImage": {
642
+ "url": [
643
+ 13
644
+ ],
645
+ "mimeType": [
646
+ 13
647
+ ],
648
+ "__typename": [
649
+ 13
633
650
  ]
634
651
  },
635
652
  "Moment": {
636
653
  "uid": [
637
- 9
654
+ 12
638
655
  ],
639
656
  "name": [
640
- 10
657
+ 13
641
658
  ],
642
659
  "description": [
643
- 10
660
+ 13
644
661
  ],
645
662
  "blurb": [
646
- 10
663
+ 13
647
664
  ],
648
665
  "slug": [
649
- 10
666
+ 13
650
667
  ],
651
668
  "startDate": [
652
669
  0
@@ -655,37 +672,40 @@ var types_default = {
655
672
  0
656
673
  ],
657
674
  "isPrivate": [
658
- 13
675
+ 17
659
676
  ],
660
677
  "type": [
661
- 3
678
+ 4
662
679
  ],
663
680
  "category": [
664
- 4
681
+ 5
665
682
  ],
666
683
  "subcategory": [
667
- 5
684
+ 6
668
685
  ],
669
686
  "status": [
670
- 1
687
+ 2
671
688
  ],
672
689
  "soldOut": [
673
- 13
690
+ 17
674
691
  ],
675
692
  "timezone": [
676
- 10
693
+ 13
677
694
  ],
678
695
  "minimumAge": [
679
- 14
696
+ 18
680
697
  ],
681
698
  "externalUrl": [
682
- 10
699
+ 13
700
+ ],
701
+ "coverImage": [
702
+ 15
683
703
  ],
684
704
  "venue": [
685
- 11
705
+ 14
686
706
  ],
687
707
  "ticketTiers": [
688
- 15
708
+ 19
689
709
  ],
690
710
  "createdAt": [
691
711
  0
@@ -694,41 +714,41 @@ var types_default = {
694
714
  0
695
715
  ],
696
716
  "__typename": [
697
- 10
717
+ 13
698
718
  ]
699
719
  },
700
720
  "Boolean": {},
701
721
  "Int": {},
702
722
  "TicketTier": {
703
723
  "uid": [
704
- 9
724
+ 12
705
725
  ],
706
726
  "name": [
707
- 10
727
+ 13
708
728
  ],
709
729
  "description": [
710
- 10
730
+ 13
711
731
  ],
712
732
  "price": [
713
- 16
733
+ 20
714
734
  ],
715
735
  "currency": [
716
- 8
736
+ 11
717
737
  ],
718
738
  "isActive": [
719
- 13
739
+ 17
720
740
  ],
721
741
  "isPrivate": [
722
- 13
742
+ 17
723
743
  ],
724
744
  "maxPerUser": [
725
- 14
745
+ 18
726
746
  ],
727
747
  "minPerUser": [
728
- 14
748
+ 18
729
749
  ],
730
750
  "soldOut": [
731
- 13
751
+ 17
732
752
  ],
733
753
  "startDateOverride": [
734
754
  0
@@ -743,34 +763,34 @@ var types_default = {
743
763
  0
744
764
  ],
745
765
  "__typename": [
746
- 10
766
+ 13
747
767
  ]
748
768
  },
749
769
  "Float": {},
750
770
  "User": {
751
771
  "uid": [
752
- 9
772
+ 12
753
773
  ],
754
774
  "name": [
755
- 10
775
+ 13
756
776
  ],
757
777
  "phoneNumber": [
758
- 10
778
+ 13
759
779
  ],
760
780
  "primaryEmail": [
761
- 10
781
+ 13
762
782
  ],
763
783
  "instagramProfile": [
764
- 10
784
+ 13
765
785
  ],
766
786
  "twitterProfile": [
767
- 10
787
+ 13
768
788
  ],
769
789
  "spotifyProfile": [
770
- 10
790
+ 13
771
791
  ],
772
792
  "tiktokProfile": [
773
- 10
793
+ 13
774
794
  ],
775
795
  "createdAt": [
776
796
  0
@@ -779,48 +799,48 @@ var types_default = {
779
799
  0
780
800
  ],
781
801
  "__typename": [
782
- 10
802
+ 13
783
803
  ]
784
804
  },
785
805
  "Ticket": {
786
806
  "uid": [
787
- 9
807
+ 12
788
808
  ],
789
809
  "price": [
790
- 16
810
+ 20
791
811
  ],
792
812
  "redeemedAt": [
793
813
  0
794
814
  ],
795
815
  "encryptedQRCode": [
796
- 10
816
+ 13
797
817
  ],
798
818
  "notes": [
799
- 10
819
+ 13
800
820
  ],
801
821
  "externalId": [
802
- 10
822
+ 13
803
823
  ],
804
824
  "hasExpired": [
805
- 13
825
+ 17
806
826
  ],
807
827
  "ticketTier": [
808
- 15
828
+ 19
809
829
  ],
810
830
  "user": [
811
- 17
831
+ 21
812
832
  ],
813
833
  "moment": [
814
- 12
834
+ 16
815
835
  ],
816
836
  "payment": [
817
- 21
837
+ 25
818
838
  ],
819
839
  "extensions": [
820
- 19
840
+ 23
821
841
  ],
822
842
  "discountCodeUsages": [
823
- 20
843
+ 24
824
844
  ],
825
845
  "createdAt": [
826
846
  0
@@ -829,30 +849,30 @@ var types_default = {
829
849
  0
830
850
  ],
831
851
  "__typename": [
832
- 10
852
+ 13
833
853
  ]
834
854
  },
835
855
  "TicketExtension": {
836
856
  "uid": [
837
- 9
857
+ 12
838
858
  ],
839
859
  "hours": [
840
- 14
860
+ 18
841
861
  ],
842
862
  "previousTotalHours": [
843
- 14
863
+ 18
844
864
  ],
845
865
  "newTotalHours": [
846
- 14
866
+ 18
847
867
  ],
848
868
  "pricePerHourCents": [
849
- 14
869
+ 18
850
870
  ],
851
871
  "totalPriceCents": [
852
- 14
872
+ 18
853
873
  ],
854
874
  "status": [
855
- 7
875
+ 10
856
876
  ],
857
877
  "appliedAt": [
858
878
  0
@@ -864,12 +884,12 @@ var types_default = {
864
884
  0
865
885
  ],
866
886
  "__typename": [
867
- 10
887
+ 13
868
888
  ]
869
889
  },
870
890
  "MomentDiscountCodeUsage": {
871
891
  "uid": [
872
- 9
892
+ 12
873
893
  ],
874
894
  "createdAt": [
875
895
  0
@@ -878,24 +898,24 @@ var types_default = {
878
898
  0
879
899
  ],
880
900
  "__typename": [
881
- 10
901
+ 13
882
902
  ]
883
903
  },
884
904
  "Payment": {
885
905
  "uid": [
886
- 9
906
+ 12
887
907
  ],
888
908
  "amount": [
889
- 16
909
+ 20
890
910
  ],
891
911
  "status": [
892
- 6
912
+ 9
893
913
  ],
894
914
  "stripePaymentIntentId": [
895
- 10
915
+ 13
896
916
  ],
897
917
  "stripeConnectedPaymentId": [
898
- 10
918
+ 13
899
919
  ],
900
920
  "createdAt": [
901
921
  0
@@ -904,12 +924,12 @@ var types_default = {
904
924
  0
905
925
  ],
906
926
  "__typename": [
907
- 10
927
+ 13
908
928
  ]
909
929
  },
910
930
  "MerchPurchase": {
911
931
  "uid": [
912
- 9
932
+ 12
913
933
  ],
914
934
  "createdAt": [
915
935
  0
@@ -918,29 +938,29 @@ var types_default = {
918
938
  0
919
939
  ],
920
940
  "__typename": [
921
- 10
941
+ 13
922
942
  ]
923
943
  },
924
944
  "PartnerCustomer": {
925
945
  "user": [
926
- 17
946
+ 21
927
947
  ],
928
948
  "tickets": [
929
- 18
949
+ 22
930
950
  ],
931
951
  "__typename": [
932
- 10
952
+ 13
933
953
  ]
934
954
  },
935
955
  "MomentCollectionLink": {
936
956
  "uid": [
937
- 9
957
+ 12
938
958
  ],
939
959
  "url": [
940
- 10
960
+ 13
941
961
  ],
942
962
  "label": [
943
- 10
963
+ 13
944
964
  ],
945
965
  "createdAt": [
946
966
  0
@@ -949,39 +969,39 @@ var types_default = {
949
969
  0
950
970
  ],
951
971
  "__typename": [
952
- 10
972
+ 13
953
973
  ]
954
974
  },
955
975
  "MomentCollection": {
956
976
  "uid": [
957
- 9
977
+ 12
958
978
  ],
959
979
  "name": [
960
- 10
980
+ 13
961
981
  ],
962
982
  "description": [
963
- 10
983
+ 13
964
984
  ],
965
985
  "slug": [
966
- 10
986
+ 13
967
987
  ],
968
988
  "subLabel": [
969
- 10
989
+ 13
970
990
  ],
971
991
  "availableQueryFilters": [
972
- 10
992
+ 13
973
993
  ],
974
994
  "moments": [
975
- 12,
995
+ 16,
976
996
  {
977
997
  "queryFilters": [
978
- 10,
998
+ 13,
979
999
  "[String!]"
980
1000
  ]
981
1001
  }
982
1002
  ],
983
1003
  "links": [
984
- 24
1004
+ 28
985
1005
  ],
986
1006
  "createdAt": [
987
1007
  0
@@ -990,131 +1010,261 @@ var types_default = {
990
1010
  0
991
1011
  ],
992
1012
  "__typename": [
993
- 10
1013
+ 13
1014
+ ]
1015
+ },
1016
+ "Dimensions": {
1017
+ "width": [
1018
+ 18
1019
+ ],
1020
+ "height": [
1021
+ 18
1022
+ ],
1023
+ "__typename": [
1024
+ 13
1025
+ ]
1026
+ },
1027
+ "EchoMediaAsset": {
1028
+ "uid": [
1029
+ 12
1030
+ ],
1031
+ "mimeType": [
1032
+ 13
1033
+ ],
1034
+ "s3Key": [
1035
+ 13
1036
+ ],
1037
+ "dimensions": [
1038
+ 30
1039
+ ],
1040
+ "size": [
1041
+ 18
1042
+ ],
1043
+ "placeholderUrl": [
1044
+ 13
1045
+ ],
1046
+ "blurhash": [
1047
+ 13
1048
+ ],
1049
+ "createdAt": [
1050
+ 0
1051
+ ],
1052
+ "updatedAt": [
1053
+ 0
1054
+ ],
1055
+ "__typename": [
1056
+ 13
1057
+ ]
1058
+ },
1059
+ "Echo": {
1060
+ "uid": [
1061
+ 12
1062
+ ],
1063
+ "type": [
1064
+ 7
1065
+ ],
1066
+ "name": [
1067
+ 13
1068
+ ],
1069
+ "slug": [
1070
+ 13
1071
+ ],
1072
+ "description": [
1073
+ 13
1074
+ ],
1075
+ "postBody": [
1076
+ 13
1077
+ ],
1078
+ "publishTime": [
1079
+ 0
1080
+ ],
1081
+ "externalLink": [
1082
+ 13
1083
+ ],
1084
+ "termsLink": [
1085
+ 13
1086
+ ],
1087
+ "isPublic": [
1088
+ 17
1089
+ ],
1090
+ "thirdPartyEchoType": [
1091
+ 8
1092
+ ],
1093
+ "thirdPartyEchoConfig": [
1094
+ 1
1095
+ ],
1096
+ "mediaAsset": [
1097
+ 31
1098
+ ],
1099
+ "echoMedia": [
1100
+ 31
1101
+ ],
1102
+ "moment": [
1103
+ 16
1104
+ ],
1105
+ "createdAt": [
1106
+ 0
1107
+ ],
1108
+ "updatedAt": [
1109
+ 0
1110
+ ],
1111
+ "__typename": [
1112
+ 13
994
1113
  ]
995
1114
  },
996
1115
  "GetPublicMomentsResponse": {
997
1116
  "moments": [
998
- 12
1117
+ 16
999
1118
  ],
1000
1119
  "totalCount": [
1001
- 14
1120
+ 18
1002
1121
  ],
1003
1122
  "hasNextPage": [
1004
- 13
1123
+ 17
1005
1124
  ],
1006
1125
  "nextCursor": [
1007
- 10
1126
+ 13
1008
1127
  ],
1009
1128
  "__typename": [
1010
- 10
1129
+ 13
1011
1130
  ]
1012
1131
  },
1013
1132
  "GetTicketsResponse": {
1014
1133
  "tickets": [
1015
- 18
1134
+ 22
1016
1135
  ],
1017
1136
  "totalCount": [
1018
- 14
1137
+ 18
1019
1138
  ],
1020
1139
  "hasNextPage": [
1021
- 13
1140
+ 17
1022
1141
  ],
1023
1142
  "nextCursor": [
1024
- 10
1143
+ 13
1025
1144
  ],
1026
1145
  "__typename": [
1027
- 10
1146
+ 13
1028
1147
  ]
1029
1148
  },
1030
1149
  "GetPartnerCustomersResponse": {
1031
1150
  "customers": [
1032
- 23
1151
+ 27
1033
1152
  ],
1034
1153
  "totalCount": [
1035
- 14
1154
+ 18
1036
1155
  ],
1037
1156
  "hasNextPage": [
1157
+ 17
1158
+ ],
1159
+ "nextCursor": [
1038
1160
  13
1039
1161
  ],
1162
+ "__typename": [
1163
+ 13
1164
+ ]
1165
+ },
1166
+ "GetBrandEchoesForUserResponse": {
1167
+ "echoes": [
1168
+ 32
1169
+ ],
1170
+ "totalCount": [
1171
+ 18
1172
+ ],
1173
+ "hasNextPage": [
1174
+ 17
1175
+ ],
1040
1176
  "nextCursor": [
1041
- 10
1177
+ 13
1042
1178
  ],
1043
1179
  "__typename": [
1044
- 10
1180
+ 13
1045
1181
  ]
1046
1182
  },
1047
1183
  "Query": {
1048
1184
  "getPartnerMomentsForBrand": [
1049
- 26,
1185
+ 33,
1050
1186
  {
1051
1187
  "cursor": [
1052
- 10
1188
+ 13
1053
1189
  ],
1054
1190
  "take": [
1055
- 14
1191
+ 18
1056
1192
  ],
1057
1193
  "status": [
1058
- 1
1194
+ 2
1059
1195
  ],
1060
1196
  "sortOrder": [
1061
- 2
1197
+ 3
1062
1198
  ]
1063
1199
  }
1064
1200
  ],
1065
1201
  "getPartnerMoment": [
1066
- 12,
1202
+ 16,
1067
1203
  {
1068
1204
  "slug": [
1069
- 10,
1205
+ 13,
1070
1206
  "String!"
1071
1207
  ]
1072
1208
  }
1073
1209
  ],
1074
1210
  "getPartnerTicketsForMoment": [
1075
- 27,
1211
+ 34,
1076
1212
  {
1077
1213
  "momentSlug": [
1078
- 10,
1214
+ 13,
1079
1215
  "String!"
1080
1216
  ],
1081
1217
  "cursor": [
1082
- 10
1218
+ 13
1083
1219
  ],
1084
1220
  "take": [
1085
- 14
1221
+ 18
1086
1222
  ],
1087
1223
  "checkedIn": [
1088
- 13
1224
+ 17
1089
1225
  ]
1090
1226
  }
1091
1227
  ],
1092
1228
  "getPartnerCustomersForMoment": [
1093
- 28,
1229
+ 35,
1094
1230
  {
1095
1231
  "momentSlug": [
1096
- 10,
1232
+ 13,
1097
1233
  "String!"
1098
1234
  ],
1099
1235
  "cursor": [
1100
- 10
1236
+ 13
1101
1237
  ],
1102
1238
  "take": [
1103
- 14
1239
+ 18
1104
1240
  ]
1105
1241
  }
1106
1242
  ],
1107
1243
  "getPartnerMomentCollection": [
1108
- 25,
1244
+ 29,
1109
1245
  {
1110
1246
  "slug": [
1111
- 10,
1247
+ 13,
1112
1248
  "String!"
1113
1249
  ]
1114
1250
  }
1115
1251
  ],
1252
+ "getPartnerPublicEchoes": [
1253
+ 36,
1254
+ {
1255
+ "momentSlug": [
1256
+ 13
1257
+ ],
1258
+ "cursor": [
1259
+ 13
1260
+ ],
1261
+ "take": [
1262
+ 18
1263
+ ]
1264
+ }
1265
+ ],
1116
1266
  "__typename": [
1117
- 10
1267
+ 13
1118
1268
  ]
1119
1269
  }
1120
1270
  }