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