@itm-studio/partner-sdk 0.2.10 → 0.3.1

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
@@ -569,27 +569,36 @@ var types_default = {
569
569
  17,
570
570
  18,
571
571
  19,
572
+ 20,
572
573
  21,
573
574
  22,
575
+ 23,
576
+ 24,
577
+ 26,
574
578
  27,
575
- 28,
576
- 31,
577
- 46,
578
- 63,
579
- 64,
580
- 65,
581
- 66,
582
- 67,
583
- 68,
584
- 69,
585
- 70
579
+ 33,
580
+ 34,
581
+ 36,
582
+ 56,
583
+ 74,
584
+ 75,
585
+ 76,
586
+ 77,
587
+ 78,
588
+ 79,
589
+ 80,
590
+ 81
586
591
  ],
587
592
  "types": {
588
593
  "DateTime": {},
589
594
  "JSON": {},
590
- "MomentStatus": {},
595
+ "ConsentStatus": {},
596
+ "UserSource": {},
597
+ "SortDirection": {},
591
598
  "BrandAgentEmailSendBatchStatus": {},
592
599
  "BrandAgentEmailSendMessageStatus": {},
600
+ "PartnerAudienceSortField": {},
601
+ "MomentStatus": {},
593
602
  "MomentSortOrder": {},
594
603
  "BrandDropCtaType": {},
595
604
  "MusicReleaseType": {},
@@ -605,24 +614,25 @@ var types_default = {
605
614
  "ThirdPartyEchoType": {},
606
615
  "PaymentStatus": {},
607
616
  "TicketExtensionStatus": {},
617
+ "TagSource": {},
608
618
  "Currency": {
609
619
  "uid": [
610
- 21
620
+ 26
611
621
  ],
612
622
  "code": [
613
- 22
623
+ 27
614
624
  ],
615
625
  "name": [
616
- 22
626
+ 27
617
627
  ],
618
628
  "symbol": [
619
- 22
629
+ 27
620
630
  ],
621
631
  "country": [
622
- 22
632
+ 27
623
633
  ],
624
634
  "countryCode": [
625
- 22
635
+ 27
626
636
  ],
627
637
  "createdAt": [
628
638
  0
@@ -631,14 +641,14 @@ var types_default = {
631
641
  0
632
642
  ],
633
643
  "__typename": [
634
- 22
644
+ 27
635
645
  ]
636
646
  },
637
647
  "ID": {},
638
648
  "String": {},
639
649
  "PartnerBrand": {
640
650
  "uid": [
641
- 21
651
+ 26
642
652
  ],
643
653
  "createdAt": [
644
654
  0
@@ -647,51 +657,51 @@ var types_default = {
647
657
  0
648
658
  ],
649
659
  "name": [
650
- 22
660
+ 27
651
661
  ],
652
662
  "slug": [
653
- 22
663
+ 27
654
664
  ],
655
665
  "bio": [
656
- 22
666
+ 27
657
667
  ],
658
668
  "publicUrl": [
659
- 22
669
+ 27
660
670
  ],
661
671
  "customDomain": [
662
- 22
672
+ 27
663
673
  ],
664
674
  "customDomainVerifiedAt": [
665
675
  0
666
676
  ],
667
677
  "spotifyUrl": [
668
- 22
678
+ 27
669
679
  ],
670
680
  "youtubeEmbedUrl": [
671
- 22
681
+ 27
672
682
  ],
673
683
  "__typename": [
674
- 22
684
+ 27
675
685
  ]
676
686
  },
677
687
  "Venue": {
678
688
  "uid": [
679
- 21
689
+ 26
680
690
  ],
681
691
  "name": [
682
- 22
692
+ 27
683
693
  ],
684
694
  "address": [
685
- 22
695
+ 27
686
696
  ],
687
697
  "city": [
688
- 22
698
+ 27
689
699
  ],
690
700
  "country": [
691
- 22
701
+ 27
692
702
  ],
693
703
  "postalCode": [
694
- 22
704
+ 27
695
705
  ],
696
706
  "createdAt": [
697
707
  0
@@ -700,35 +710,100 @@ var types_default = {
700
710
  0
701
711
  ],
702
712
  "__typename": [
703
- 22
713
+ 27
704
714
  ]
705
715
  },
706
716
  "MomentCoverImage": {
707
717
  "url": [
708
- 22
718
+ 27
709
719
  ],
710
720
  "mimeType": [
711
- 22
721
+ 27
712
722
  ],
713
723
  "__typename": [
714
- 22
724
+ 27
725
+ ]
726
+ },
727
+ "Tag": {
728
+ "uid": [
729
+ 26
730
+ ],
731
+ "name": [
732
+ 27
733
+ ],
734
+ "createdAt": [
735
+ 0
736
+ ],
737
+ "updatedAt": [
738
+ 0
739
+ ],
740
+ "__typename": [
741
+ 27
742
+ ]
743
+ },
744
+ "MomentTagAssignment": {
745
+ "tag": [
746
+ 31
747
+ ],
748
+ "source": [
749
+ 24
750
+ ],
751
+ "isPublic": [
752
+ 33
753
+ ],
754
+ "confidence": [
755
+ 34
756
+ ],
757
+ "__typename": [
758
+ 27
759
+ ]
760
+ },
761
+ "Boolean": {},
762
+ "Float": {},
763
+ "GetMomentTagAssignmentsResponse": {
764
+ "assignments": [
765
+ 32
766
+ ],
767
+ "totalCount": [
768
+ 36
769
+ ],
770
+ "hasNextPage": [
771
+ 33
772
+ ],
773
+ "nextCursor": [
774
+ 27
775
+ ],
776
+ "__typename": [
777
+ 27
778
+ ]
779
+ },
780
+ "Int": {},
781
+ "PaginationInput": {
782
+ "cursor": [
783
+ 27
784
+ ],
785
+ "take": [
786
+ 34
787
+ ],
788
+ "__typename": [
789
+ 27
715
790
  ]
716
791
  },
717
792
  "Moment": {
718
793
  "uid": [
719
- 21
794
+ 26
720
795
  ],
721
796
  "name": [
722
- 22
797
+ 27
723
798
  ],
724
799
  "description": [
725
- 22
800
+ 27
726
801
  ],
727
802
  "blurb": [
728
- 22
803
+ 27
729
804
  ],
730
805
  "slug": [
731
- 22
806
+ 27
732
807
  ],
733
808
  "startDate": [
734
809
  0
@@ -737,46 +812,58 @@ var types_default = {
737
812
  0
738
813
  ],
739
814
  "isPrivate": [
740
- 27
815
+ 33
741
816
  ],
742
817
  "type": [
743
- 8
818
+ 12
744
819
  ],
745
820
  "category": [
746
- 11
821
+ 15
747
822
  ],
748
823
  "subcategory": [
749
- 12
824
+ 16
750
825
  ],
751
826
  "status": [
752
- 2
827
+ 8
753
828
  ],
754
829
  "soldOut": [
755
- 27
830
+ 33
756
831
  ],
757
832
  "timezone": [
758
- 22
833
+ 27
759
834
  ],
760
835
  "minimumAge": [
761
- 28
836
+ 36
762
837
  ],
763
838
  "capacity": [
764
- 28
839
+ 36
765
840
  ],
766
841
  "externalUrl": [
767
- 22
842
+ 27
768
843
  ],
769
844
  "lineupDisplayLabel": [
770
- 15
845
+ 19
771
846
  ],
772
847
  "coverImage": [
773
- 25
848
+ 30
774
849
  ],
775
850
  "venue": [
776
- 24
851
+ 29
852
+ ],
853
+ "momentTags": [
854
+ 35,
855
+ {
856
+ "pagination": [
857
+ 37
858
+ ],
859
+ "sources": [
860
+ 24,
861
+ "[TagSource!]"
862
+ ]
863
+ }
777
864
  ],
778
865
  "ticketTiers": [
779
- 30
866
+ 40
780
867
  ],
781
868
  "createdAt": [
782
869
  0
@@ -785,32 +872,30 @@ var types_default = {
785
872
  0
786
873
  ],
787
874
  "__typename": [
788
- 22
875
+ 27
789
876
  ]
790
877
  },
791
- "Boolean": {},
792
- "Int": {},
793
878
  "MomentLineup": {
794
879
  "uid": [
795
- 21
880
+ 26
796
881
  ],
797
882
  "name": [
798
- 22
883
+ 27
799
884
  ],
800
885
  "status": [
801
- 13
886
+ 17
802
887
  ],
803
888
  "lineupType": [
804
- 14
889
+ 18
805
890
  ],
806
891
  "sortOrder": [
807
- 22
892
+ 27
808
893
  ],
809
894
  "url": [
810
- 22
895
+ 27
811
896
  ],
812
897
  "image": [
813
- 25
898
+ 30
814
899
  ],
815
900
  "createdAt": [
816
901
  0
@@ -819,42 +904,42 @@ var types_default = {
819
904
  0
820
905
  ],
821
906
  "__typename": [
822
- 22
907
+ 27
823
908
  ]
824
909
  },
825
910
  "TicketTier": {
826
911
  "uid": [
827
- 21
912
+ 26
828
913
  ],
829
914
  "name": [
830
- 22
915
+ 27
831
916
  ],
832
917
  "description": [
833
- 22
918
+ 27
834
919
  ],
835
920
  "price": [
836
- 31
921
+ 34
837
922
  ],
838
923
  "currency": [
839
- 20
924
+ 25
840
925
  ],
841
926
  "attendanceMode": [
842
- 10
927
+ 14
843
928
  ],
844
929
  "isActive": [
845
- 27
930
+ 33
846
931
  ],
847
932
  "isPrivate": [
848
- 27
933
+ 33
849
934
  ],
850
935
  "maxPerUser": [
851
- 28
936
+ 36
852
937
  ],
853
938
  "minPerUser": [
854
- 28
939
+ 36
855
940
  ],
856
941
  "soldOut": [
857
- 27
942
+ 33
858
943
  ],
859
944
  "startDateOverride": [
860
945
  0
@@ -869,34 +954,33 @@ var types_default = {
869
954
  0
870
955
  ],
871
956
  "__typename": [
872
- 22
957
+ 27
873
958
  ]
874
959
  },
875
- "Float": {},
876
960
  "User": {
877
961
  "uid": [
878
- 21
962
+ 26
879
963
  ],
880
964
  "name": [
881
- 22
965
+ 27
882
966
  ],
883
967
  "phoneNumber": [
884
- 22
968
+ 27
885
969
  ],
886
970
  "primaryEmail": [
887
- 22
971
+ 27
888
972
  ],
889
973
  "instagramProfile": [
890
- 22
974
+ 27
891
975
  ],
892
976
  "twitterProfile": [
893
- 22
977
+ 27
894
978
  ],
895
979
  "spotifyProfile": [
896
- 22
980
+ 27
897
981
  ],
898
982
  "tiktokProfile": [
899
- 22
983
+ 27
900
984
  ],
901
985
  "createdAt": [
902
986
  0
@@ -905,48 +989,48 @@ var types_default = {
905
989
  0
906
990
  ],
907
991
  "__typename": [
908
- 22
992
+ 27
909
993
  ]
910
994
  },
911
995
  "Ticket": {
912
996
  "uid": [
913
- 21
997
+ 26
914
998
  ],
915
999
  "price": [
916
- 31
1000
+ 34
917
1001
  ],
918
1002
  "redeemedAt": [
919
1003
  0
920
1004
  ],
921
1005
  "encryptedQRCode": [
922
- 22
1006
+ 27
923
1007
  ],
924
1008
  "notes": [
925
- 22
1009
+ 27
926
1010
  ],
927
1011
  "externalId": [
928
- 22
1012
+ 27
929
1013
  ],
930
1014
  "hasExpired": [
931
- 27
1015
+ 33
932
1016
  ],
933
1017
  "ticketTier": [
934
- 30
1018
+ 40
935
1019
  ],
936
1020
  "user": [
937
- 32
1021
+ 41
938
1022
  ],
939
1023
  "moment": [
940
- 26
1024
+ 38
941
1025
  ],
942
1026
  "payment": [
943
- 36
1027
+ 45
944
1028
  ],
945
1029
  "extensions": [
946
- 34
1030
+ 43
947
1031
  ],
948
1032
  "discountCodeUsages": [
949
- 35
1033
+ 44
950
1034
  ],
951
1035
  "createdAt": [
952
1036
  0
@@ -955,30 +1039,30 @@ var types_default = {
955
1039
  0
956
1040
  ],
957
1041
  "__typename": [
958
- 22
1042
+ 27
959
1043
  ]
960
1044
  },
961
1045
  "TicketExtension": {
962
1046
  "uid": [
963
- 21
1047
+ 26
964
1048
  ],
965
1049
  "hours": [
966
- 28
1050
+ 36
967
1051
  ],
968
1052
  "previousTotalHours": [
969
- 28
1053
+ 36
970
1054
  ],
971
1055
  "newTotalHours": [
972
- 28
1056
+ 36
973
1057
  ],
974
1058
  "pricePerHourCents": [
975
- 28
1059
+ 36
976
1060
  ],
977
1061
  "totalPriceCents": [
978
- 28
1062
+ 36
979
1063
  ],
980
1064
  "status": [
981
- 19
1065
+ 23
982
1066
  ],
983
1067
  "appliedAt": [
984
1068
  0
@@ -990,12 +1074,12 @@ var types_default = {
990
1074
  0
991
1075
  ],
992
1076
  "__typename": [
993
- 22
1077
+ 27
994
1078
  ]
995
1079
  },
996
1080
  "MomentDiscountCodeUsage": {
997
1081
  "uid": [
998
- 21
1082
+ 26
999
1083
  ],
1000
1084
  "createdAt": [
1001
1085
  0
@@ -1004,24 +1088,24 @@ var types_default = {
1004
1088
  0
1005
1089
  ],
1006
1090
  "__typename": [
1007
- 22
1091
+ 27
1008
1092
  ]
1009
1093
  },
1010
1094
  "Payment": {
1011
1095
  "uid": [
1012
- 21
1096
+ 26
1013
1097
  ],
1014
1098
  "amount": [
1015
- 31
1099
+ 34
1016
1100
  ],
1017
1101
  "status": [
1018
- 18
1102
+ 22
1019
1103
  ],
1020
1104
  "stripePaymentIntentId": [
1021
- 22
1105
+ 27
1022
1106
  ],
1023
1107
  "stripeConnectedPaymentId": [
1024
- 22
1108
+ 27
1025
1109
  ],
1026
1110
  "createdAt": [
1027
1111
  0
@@ -1030,12 +1114,12 @@ var types_default = {
1030
1114
  0
1031
1115
  ],
1032
1116
  "__typename": [
1033
- 22
1117
+ 27
1034
1118
  ]
1035
1119
  },
1036
1120
  "MerchPurchase": {
1037
1121
  "uid": [
1038
- 21
1122
+ 26
1039
1123
  ],
1040
1124
  "createdAt": [
1041
1125
  0
@@ -1044,18 +1128,80 @@ var types_default = {
1044
1128
  0
1045
1129
  ],
1046
1130
  "__typename": [
1047
- 22
1131
+ 27
1048
1132
  ]
1049
1133
  },
1050
1134
  "PartnerCustomer": {
1051
1135
  "user": [
1052
- 32
1136
+ 41
1053
1137
  ],
1054
1138
  "tickets": [
1139
+ 42
1140
+ ],
1141
+ "__typename": [
1142
+ 27
1143
+ ]
1144
+ },
1145
+ "PartnerAudienceCustomer": {
1146
+ "uid": [
1147
+ 27
1148
+ ],
1149
+ "name": [
1150
+ 27
1151
+ ],
1152
+ "email": [
1153
+ 27
1154
+ ],
1155
+ "emailVerified": [
1156
+ 33
1157
+ ],
1158
+ "phoneNumber": [
1159
+ 27
1160
+ ],
1161
+ "city": [
1162
+ 27
1163
+ ],
1164
+ "country": [
1165
+ 27
1166
+ ],
1167
+ "source": [
1168
+ 3
1169
+ ],
1170
+ "isSubscribed": [
1171
+ 33
1172
+ ],
1173
+ "emailConsentStatus": [
1174
+ 2
1175
+ ],
1176
+ "smsConsentStatus": [
1177
+ 2
1178
+ ],
1179
+ "communicationsOptedOut": [
1180
+ 33
1181
+ ],
1182
+ "isSuppressed": [
1055
1183
  33
1056
1184
  ],
1185
+ "totalSpendUsdCents": [
1186
+ 36
1187
+ ],
1188
+ "numMoments": [
1189
+ 36
1190
+ ],
1191
+ "numProducts": [
1192
+ 36
1193
+ ],
1194
+ "numEchoes": [
1195
+ 36
1196
+ ],
1197
+ "createdAt": [
1198
+ 0
1199
+ ],
1200
+ "updatedAt": [
1201
+ 0
1202
+ ],
1057
1203
  "__typename": [
1058
- 22
1204
+ 27
1059
1205
  ]
1060
1206
  },
1061
1207
  "PartnerMomentStats": {
@@ -1063,153 +1209,153 @@ var types_default = {
1063
1209
  0
1064
1210
  ],
1065
1211
  "ticketsCount": [
1066
- 28
1212
+ 36
1067
1213
  ],
1068
1214
  "paidTicketsCount": [
1069
- 28
1215
+ 36
1070
1216
  ],
1071
1217
  "freeTicketsCount": [
1072
- 28
1218
+ 36
1073
1219
  ],
1074
1220
  "waitlistCount": [
1075
- 28
1221
+ 36
1076
1222
  ],
1077
1223
  "externalRsvpCount": [
1078
- 28
1224
+ 36
1079
1225
  ],
1080
1226
  "ticketRsvpRequestsCount": [
1081
- 28
1227
+ 36
1082
1228
  ],
1083
1229
  "__typename": [
1084
- 22
1230
+ 27
1085
1231
  ]
1086
1232
  },
1087
1233
  "PartnerMomentAttendanceCount": {
1088
1234
  "total": [
1089
- 28
1235
+ 36
1090
1236
  ],
1091
1237
  "checkedIn": [
1092
- 28
1238
+ 36
1093
1239
  ],
1094
1240
  "__typename": [
1095
- 22
1241
+ 27
1096
1242
  ]
1097
1243
  },
1098
1244
  "PartnerMomentTicketTierAttendance": {
1099
1245
  "total": [
1100
- 28
1246
+ 36
1101
1247
  ],
1102
1248
  "checkedIn": [
1103
- 28
1249
+ 36
1104
1250
  ],
1105
1251
  "tierUid": [
1106
- 22
1252
+ 27
1107
1253
  ],
1108
1254
  "name": [
1109
- 22
1255
+ 27
1110
1256
  ],
1111
1257
  "label": [
1112
- 22
1258
+ 27
1113
1259
  ],
1114
1260
  "__typename": [
1115
- 22
1261
+ 27
1116
1262
  ]
1117
1263
  },
1118
1264
  "PartnerMomentTicketAttendance": {
1119
1265
  "total": [
1120
- 28
1266
+ 36
1121
1267
  ],
1122
1268
  "checkedIn": [
1123
- 28
1269
+ 36
1124
1270
  ],
1125
1271
  "tiers": [
1126
- 41
1272
+ 51
1127
1273
  ],
1128
1274
  "__typename": [
1129
- 22
1275
+ 27
1130
1276
  ]
1131
1277
  },
1132
1278
  "PartnerMomentGuestlistLabelAttendance": {
1133
1279
  "total": [
1134
- 28
1280
+ 36
1135
1281
  ],
1136
1282
  "checkedIn": [
1137
- 28
1283
+ 36
1138
1284
  ],
1139
1285
  "labelUid": [
1140
- 22
1286
+ 27
1141
1287
  ],
1142
1288
  "name": [
1143
- 22
1289
+ 27
1144
1290
  ],
1145
1291
  "__typename": [
1146
- 22
1292
+ 27
1147
1293
  ]
1148
1294
  },
1149
1295
  "PartnerMomentGuestlistAttendance": {
1150
1296
  "total": [
1151
- 28
1297
+ 36
1152
1298
  ],
1153
1299
  "checkedIn": [
1154
- 28
1300
+ 36
1155
1301
  ],
1156
1302
  "unlabeled": [
1157
- 40
1303
+ 50
1158
1304
  ],
1159
1305
  "labels": [
1160
- 43
1306
+ 53
1161
1307
  ],
1162
1308
  "__typename": [
1163
- 22
1309
+ 27
1164
1310
  ]
1165
1311
  },
1166
1312
  "PartnerMomentAttendanceStats": {
1167
1313
  "momentUid": [
1168
- 22
1314
+ 27
1169
1315
  ],
1170
1316
  "momentSlug": [
1171
- 22
1317
+ 27
1172
1318
  ],
1173
1319
  "generatedAt": [
1174
1320
  0
1175
1321
  ],
1176
1322
  "tickets": [
1177
- 42
1323
+ 52
1178
1324
  ],
1179
1325
  "guestlist": [
1180
- 44
1326
+ 54
1181
1327
  ],
1182
1328
  "__typename": [
1183
- 22
1329
+ 27
1184
1330
  ]
1185
1331
  },
1186
1332
  "EventImportPlatform": {},
1187
1333
  "PartnerMomentAttendanceLookupInput": {
1188
1334
  "momentUid": [
1189
- 22
1335
+ 27
1190
1336
  ],
1191
1337
  "momentSlug": [
1192
- 22
1338
+ 27
1193
1339
  ],
1194
1340
  "externalPlatform": [
1195
- 46
1341
+ 56
1196
1342
  ],
1197
1343
  "externalId": [
1198
- 22
1344
+ 27
1199
1345
  ],
1200
1346
  "__typename": [
1201
- 22
1347
+ 27
1202
1348
  ]
1203
1349
  },
1204
1350
  "MomentCollectionLink": {
1205
1351
  "uid": [
1206
- 21
1352
+ 26
1207
1353
  ],
1208
1354
  "url": [
1209
- 22
1355
+ 27
1210
1356
  ],
1211
1357
  "label": [
1212
- 22
1358
+ 27
1213
1359
  ],
1214
1360
  "createdAt": [
1215
1361
  0
@@ -1218,39 +1364,39 @@ var types_default = {
1218
1364
  0
1219
1365
  ],
1220
1366
  "__typename": [
1221
- 22
1367
+ 27
1222
1368
  ]
1223
1369
  },
1224
1370
  "MomentCollection": {
1225
1371
  "uid": [
1226
- 21
1372
+ 26
1227
1373
  ],
1228
1374
  "name": [
1229
- 22
1375
+ 27
1230
1376
  ],
1231
1377
  "description": [
1232
- 22
1378
+ 27
1233
1379
  ],
1234
1380
  "slug": [
1235
- 22
1381
+ 27
1236
1382
  ],
1237
1383
  "subLabel": [
1238
- 22
1384
+ 27
1239
1385
  ],
1240
1386
  "availableQueryFilters": [
1241
- 22
1387
+ 27
1242
1388
  ],
1243
1389
  "moments": [
1244
- 26,
1390
+ 38,
1245
1391
  {
1246
1392
  "queryFilters": [
1247
- 22,
1393
+ 27,
1248
1394
  "[String!]"
1249
1395
  ]
1250
1396
  }
1251
1397
  ],
1252
1398
  "links": [
1253
- 48
1399
+ 58
1254
1400
  ],
1255
1401
  "createdAt": [
1256
1402
  0
@@ -1259,41 +1405,41 @@ var types_default = {
1259
1405
  0
1260
1406
  ],
1261
1407
  "__typename": [
1262
- 22
1408
+ 27
1263
1409
  ]
1264
1410
  },
1265
1411
  "Dimensions": {
1266
1412
  "width": [
1267
- 28
1413
+ 36
1268
1414
  ],
1269
1415
  "height": [
1270
- 28
1416
+ 36
1271
1417
  ],
1272
1418
  "__typename": [
1273
- 22
1419
+ 27
1274
1420
  ]
1275
1421
  },
1276
1422
  "EchoMediaAsset": {
1277
1423
  "uid": [
1278
- 21
1424
+ 26
1279
1425
  ],
1280
1426
  "mimeType": [
1281
- 22
1427
+ 27
1282
1428
  ],
1283
1429
  "s3Key": [
1284
- 22
1430
+ 27
1285
1431
  ],
1286
1432
  "dimensions": [
1287
- 50
1433
+ 60
1288
1434
  ],
1289
1435
  "size": [
1290
- 28
1436
+ 36
1291
1437
  ],
1292
1438
  "placeholderUrl": [
1293
- 22
1439
+ 27
1294
1440
  ],
1295
1441
  "blurhash": [
1296
- 22
1442
+ 27
1297
1443
  ],
1298
1444
  "createdAt": [
1299
1445
  0
@@ -1302,54 +1448,54 @@ var types_default = {
1302
1448
  0
1303
1449
  ],
1304
1450
  "__typename": [
1305
- 22
1451
+ 27
1306
1452
  ]
1307
1453
  },
1308
1454
  "Echo": {
1309
1455
  "uid": [
1310
- 21
1456
+ 26
1311
1457
  ],
1312
1458
  "type": [
1313
- 16
1459
+ 20
1314
1460
  ],
1315
1461
  "name": [
1316
- 22
1462
+ 27
1317
1463
  ],
1318
1464
  "slug": [
1319
- 22
1465
+ 27
1320
1466
  ],
1321
1467
  "description": [
1322
- 22
1468
+ 27
1323
1469
  ],
1324
1470
  "postBody": [
1325
- 22
1471
+ 27
1326
1472
  ],
1327
1473
  "publishTime": [
1328
1474
  0
1329
1475
  ],
1330
1476
  "externalLink": [
1331
- 22
1477
+ 27
1332
1478
  ],
1333
1479
  "termsLink": [
1334
- 22
1480
+ 27
1335
1481
  ],
1336
1482
  "isPublic": [
1337
- 27
1483
+ 33
1338
1484
  ],
1339
1485
  "thirdPartyEchoType": [
1340
- 17
1486
+ 21
1341
1487
  ],
1342
1488
  "thirdPartyEchoConfig": [
1343
1489
  1
1344
1490
  ],
1345
1491
  "mediaAsset": [
1346
- 51
1492
+ 61
1347
1493
  ],
1348
1494
  "echoMedia": [
1349
- 51
1495
+ 61
1350
1496
  ],
1351
1497
  "moment": [
1352
- 26
1498
+ 38
1353
1499
  ],
1354
1500
  "createdAt": [
1355
1501
  0
@@ -1358,57 +1504,57 @@ var types_default = {
1358
1504
  0
1359
1505
  ],
1360
1506
  "__typename": [
1361
- 22
1507
+ 27
1362
1508
  ]
1363
1509
  },
1364
1510
  "BrandDrop": {
1365
1511
  "uid": [
1366
- 21
1512
+ 26
1367
1513
  ],
1368
1514
  "name": [
1369
- 22
1515
+ 27
1370
1516
  ],
1371
1517
  "slug": [
1372
- 22
1518
+ 27
1373
1519
  ],
1374
1520
  "subtitle": [
1375
- 22
1521
+ 27
1376
1522
  ],
1377
1523
  "disclosures": [
1378
- 22
1524
+ 27
1379
1525
  ],
1380
1526
  "isPublic": [
1381
- 27
1527
+ 33
1382
1528
  ],
1383
1529
  "ctaType": [
1384
- 6
1530
+ 10
1385
1531
  ],
1386
1532
  "ctaUrl": [
1387
- 22
1533
+ 27
1388
1534
  ],
1389
1535
  "ctaConfig": [
1390
1536
  1
1391
1537
  ],
1392
1538
  "captureName": [
1393
- 27
1539
+ 33
1394
1540
  ],
1395
1541
  "captureEmail": [
1396
- 27
1542
+ 33
1397
1543
  ],
1398
1544
  "consentText": [
1399
- 22
1545
+ 27
1400
1546
  ],
1401
1547
  "coverImage": [
1402
- 109
1548
+ 124
1403
1549
  ],
1404
1550
  "coverImageMobile": [
1405
- 109
1551
+ 124
1406
1552
  ],
1407
1553
  "isActive": [
1408
- 27
1554
+ 33
1409
1555
  ],
1410
1556
  "musicLink": [
1411
- 54
1557
+ 64
1412
1558
  ],
1413
1559
  "createdAt": [
1414
1560
  0
@@ -1417,48 +1563,48 @@ var types_default = {
1417
1563
  0
1418
1564
  ],
1419
1565
  "__typename": [
1420
- 22
1566
+ 27
1421
1567
  ]
1422
1568
  },
1423
1569
  "BrandDropMusicLink": {
1424
1570
  "uid": [
1425
- 21
1571
+ 26
1426
1572
  ],
1427
1573
  "releaseType": [
1428
- 7
1574
+ 11
1429
1575
  ],
1430
1576
  "title": [
1431
- 22
1577
+ 27
1432
1578
  ],
1433
1579
  "artistName": [
1434
- 22
1580
+ 27
1435
1581
  ],
1436
1582
  "isrcCode": [
1437
- 22
1583
+ 27
1438
1584
  ],
1439
1585
  "upcCode": [
1440
- 22
1586
+ 27
1441
1587
  ],
1442
1588
  "releaseDate": [
1443
1589
  0
1444
1590
  ],
1445
1591
  "thumbnailUrl": [
1446
- 22
1592
+ 27
1447
1593
  ],
1448
1594
  "thumbnailWidth": [
1449
- 28
1595
+ 36
1450
1596
  ],
1451
1597
  "thumbnailHeight": [
1452
- 28
1598
+ 36
1453
1599
  ],
1454
1600
  "subscriberOnly": [
1455
- 27
1601
+ 33
1456
1602
  ],
1457
1603
  "sourceUrl": [
1458
- 22
1604
+ 27
1459
1605
  ],
1460
1606
  "odesliPageUrl": [
1461
- 22
1607
+ 27
1462
1608
  ],
1463
1609
  "lastSyncedAt": [
1464
1610
  0
@@ -1470,170 +1616,187 @@ var types_default = {
1470
1616
  0
1471
1617
  ],
1472
1618
  "__typename": [
1473
- 22
1619
+ 27
1474
1620
  ]
1475
1621
  },
1476
1622
  "GetPublicMomentsResponse": {
1477
1623
  "moments": [
1478
- 26
1624
+ 38
1479
1625
  ],
1480
1626
  "totalCount": [
1481
- 28
1627
+ 36
1482
1628
  ],
1483
1629
  "hasNextPage": [
1484
- 27
1630
+ 33
1485
1631
  ],
1486
1632
  "nextCursor": [
1487
- 22
1633
+ 27
1488
1634
  ],
1489
1635
  "__typename": [
1490
- 22
1636
+ 27
1491
1637
  ]
1492
1638
  },
1493
1639
  "GetPartnerDropsResponse": {
1494
1640
  "drops": [
1495
- 53
1641
+ 63
1496
1642
  ],
1497
1643
  "totalCount": [
1498
- 28
1644
+ 36
1499
1645
  ],
1500
1646
  "hasNextPage": [
1501
- 27
1647
+ 33
1502
1648
  ],
1503
1649
  "nextCursor": [
1504
- 22
1650
+ 27
1505
1651
  ],
1506
1652
  "__typename": [
1507
- 22
1653
+ 27
1508
1654
  ]
1509
1655
  },
1510
1656
  "GetMomentLineupsResponse": {
1511
1657
  "lineups": [
1512
- 29
1658
+ 39
1513
1659
  ],
1514
1660
  "totalCount": [
1515
- 28
1661
+ 36
1516
1662
  ],
1517
1663
  "hasNextPage": [
1518
- 27
1664
+ 33
1519
1665
  ],
1520
1666
  "nextCursor": [
1521
- 22
1667
+ 27
1522
1668
  ],
1523
1669
  "__typename": [
1524
- 22
1670
+ 27
1525
1671
  ]
1526
1672
  },
1527
1673
  "GetTicketsResponse": {
1528
1674
  "tickets": [
1529
- 33
1675
+ 42
1530
1676
  ],
1531
1677
  "totalCount": [
1532
- 28
1678
+ 36
1533
1679
  ],
1534
1680
  "hasNextPage": [
1535
- 27
1681
+ 33
1536
1682
  ],
1537
1683
  "nextCursor": [
1538
- 22
1684
+ 27
1539
1685
  ],
1540
1686
  "__typename": [
1541
- 22
1687
+ 27
1542
1688
  ]
1543
1689
  },
1544
1690
  "GetPartnerCustomersResponse": {
1545
1691
  "customers": [
1546
- 38
1692
+ 47
1547
1693
  ],
1548
1694
  "totalCount": [
1549
- 28
1695
+ 36
1550
1696
  ],
1551
1697
  "hasNextPage": [
1698
+ 33
1699
+ ],
1700
+ "nextCursor": [
1701
+ 27
1702
+ ],
1703
+ "__typename": [
1552
1704
  27
1705
+ ]
1706
+ },
1707
+ "GetPartnerAudienceResponse": {
1708
+ "customers": [
1709
+ 48
1710
+ ],
1711
+ "hasNextPage": [
1712
+ 33
1553
1713
  ],
1554
1714
  "nextCursor": [
1555
- 22
1715
+ 27
1716
+ ],
1717
+ "totalCount": [
1718
+ 36
1556
1719
  ],
1557
1720
  "__typename": [
1558
- 22
1721
+ 27
1559
1722
  ]
1560
1723
  },
1561
1724
  "GetBrandEchoesForUserResponse": {
1562
1725
  "echoes": [
1563
- 52
1726
+ 62
1564
1727
  ],
1565
1728
  "totalCount": [
1566
- 28
1729
+ 36
1567
1730
  ],
1568
1731
  "hasNextPage": [
1569
- 27
1732
+ 33
1570
1733
  ],
1571
1734
  "nextCursor": [
1572
- 22
1735
+ 27
1573
1736
  ],
1574
1737
  "__typename": [
1575
- 22
1738
+ 27
1576
1739
  ]
1577
1740
  },
1578
1741
  "PartnerTicketTier": {
1579
1742
  "fillRate": [
1580
- 31
1743
+ 34
1581
1744
  ],
1582
1745
  "isActive": [
1583
- 27
1746
+ 33
1584
1747
  ],
1585
1748
  "isPrivate": [
1586
- 27
1749
+ 33
1587
1750
  ],
1588
1751
  "label": [
1589
- 22
1752
+ 27
1590
1753
  ],
1591
1754
  "labelColor": [
1592
- 22
1755
+ 27
1593
1756
  ],
1594
1757
  "name": [
1595
- 22
1758
+ 27
1596
1759
  ],
1597
1760
  "price": [
1598
- 28
1761
+ 36
1599
1762
  ],
1600
1763
  "facilityFee": [
1601
- 28
1764
+ 36
1602
1765
  ],
1603
1766
  "remainingSupply": [
1604
- 28
1767
+ 36
1605
1768
  ],
1606
1769
  "slotDate": [
1607
1770
  0
1608
1771
  ],
1609
1772
  "slotDurationHours": [
1610
- 28
1773
+ 36
1611
1774
  ],
1612
1775
  "supply": [
1613
- 28
1776
+ 36
1614
1777
  ],
1615
1778
  "uid": [
1616
- 22
1779
+ 27
1617
1780
  ],
1618
1781
  "__typename": [
1619
- 22
1782
+ 27
1620
1783
  ]
1621
1784
  },
1622
1785
  "GetPartnerTicketTiersForMomentResponse": {
1623
1786
  "ticketTiers": [
1624
- 61
1787
+ 72
1625
1788
  ],
1626
1789
  "totalCount": [
1627
- 28
1790
+ 36
1628
1791
  ],
1629
1792
  "hasNextPage": [
1630
- 27
1793
+ 33
1631
1794
  ],
1632
1795
  "nextCursor": [
1633
- 22
1796
+ 27
1634
1797
  ],
1635
1798
  "__typename": [
1636
- 22
1799
+ 27
1637
1800
  ]
1638
1801
  },
1639
1802
  "DynamicPricingActorType": {},
@@ -1646,39 +1809,39 @@ var types_default = {
1646
1809
  "TicketAdmissionWindowSource": {},
1647
1810
  "MomentDynamicPricingTierRule": {
1648
1811
  "uid": [
1649
- 22
1812
+ 27
1650
1813
  ],
1651
1814
  "ticketTierUid": [
1652
- 22
1815
+ 27
1653
1816
  ],
1654
1817
  "minPrice": [
1655
- 28
1818
+ 36
1656
1819
  ],
1657
1820
  "maxPrice": [
1658
- 28
1821
+ 36
1659
1822
  ],
1660
1823
  "__typename": [
1661
- 22
1824
+ 27
1662
1825
  ]
1663
1826
  },
1664
1827
  "MomentDynamicPricingPolicy": {
1665
1828
  "uid": [
1666
- 22
1829
+ 27
1667
1830
  ],
1668
1831
  "momentUid": [
1669
- 22
1832
+ 27
1670
1833
  ],
1671
1834
  "enabled": [
1672
- 27
1835
+ 33
1673
1836
  ],
1674
1837
  "version": [
1675
- 28
1838
+ 36
1676
1839
  ],
1677
1840
  "advanceBookingHorizonDays": [
1678
- 28
1841
+ 36
1679
1842
  ],
1680
1843
  "tierRules": [
1681
- 71
1844
+ 82
1682
1845
  ],
1683
1846
  "createdAt": [
1684
1847
  0
@@ -1687,12 +1850,12 @@ var types_default = {
1687
1850
  0
1688
1851
  ],
1689
1852
  "__typename": [
1690
- 22
1853
+ 27
1691
1854
  ]
1692
1855
  },
1693
1856
  "DynamicPricingAdmissionWindow": {
1694
1857
  "uid": [
1695
- 22
1858
+ 27
1696
1859
  ],
1697
1860
  "startsAt": [
1698
1861
  0
@@ -1707,72 +1870,72 @@ var types_default = {
1707
1870
  0
1708
1871
  ],
1709
1872
  "label": [
1710
- 22
1873
+ 27
1711
1874
  ],
1712
1875
  "source": [
1713
- 70
1876
+ 81
1714
1877
  ],
1715
1878
  "sortOrder": [
1716
- 28
1879
+ 36
1717
1880
  ],
1718
1881
  "__typename": [
1719
- 22
1882
+ 27
1720
1883
  ]
1721
1884
  },
1722
1885
  "DynamicPricingTierContext": {
1723
1886
  "ticketTierUid": [
1724
- 22
1887
+ 27
1725
1888
  ],
1726
1889
  "name": [
1727
- 22
1890
+ 27
1728
1891
  ],
1729
1892
  "currency": [
1730
- 22
1893
+ 27
1731
1894
  ],
1732
1895
  "currentPrice": [
1733
- 28
1896
+ 36
1734
1897
  ],
1735
1898
  "facilityFee": [
1736
- 28
1899
+ 36
1737
1900
  ],
1738
1901
  "minPrice": [
1739
- 28
1902
+ 36
1740
1903
  ],
1741
1904
  "maxPrice": [
1742
- 28
1905
+ 36
1743
1906
  ],
1744
1907
  "supply": [
1745
- 28
1908
+ 36
1746
1909
  ],
1747
1910
  "remainingSupply": [
1748
- 28
1911
+ 36
1749
1912
  ],
1750
1913
  "consumedSupply": [
1751
- 28
1914
+ 36
1752
1915
  ],
1753
1916
  "fillRateBps": [
1754
- 28
1917
+ 36
1755
1918
  ],
1756
1919
  "isActive": [
1757
- 27
1920
+ 33
1758
1921
  ],
1759
1922
  "eligible": [
1760
- 27
1923
+ 33
1761
1924
  ],
1762
1925
  "ineligibilityReasons": [
1763
- 22
1926
+ 27
1764
1927
  ],
1765
1928
  "pricingContextVersion": [
1766
- 22
1929
+ 27
1767
1930
  ],
1768
1931
  "lastDynamicPriceChangeAt": [
1769
1932
  0
1770
1933
  ],
1771
1934
  "admissionWindows": [
1772
- 73
1935
+ 84
1773
1936
  ],
1774
1937
  "__typename": [
1775
- 22
1938
+ 27
1776
1939
  ]
1777
1940
  },
1778
1941
  "DynamicPricingContext": {
@@ -1786,57 +1949,57 @@ var types_default = {
1786
1949
  0
1787
1950
  ],
1788
1951
  "momentUid": [
1789
- 22
1952
+ 27
1790
1953
  ],
1791
1954
  "momentSlug": [
1792
- 22
1955
+ 27
1793
1956
  ],
1794
1957
  "timezone": [
1795
- 22
1958
+ 27
1796
1959
  ],
1797
1960
  "policy": [
1798
- 72
1961
+ 83
1799
1962
  ],
1800
1963
  "tiers": [
1801
- 74
1964
+ 85
1802
1965
  ],
1803
1966
  "__typename": [
1804
- 22
1967
+ 27
1805
1968
  ]
1806
1969
  },
1807
1970
  "DynamicPricingBatchItem": {
1808
1971
  "uid": [
1809
- 22
1972
+ 27
1810
1973
  ],
1811
1974
  "ticketTierUid": [
1812
- 22
1975
+ 27
1813
1976
  ],
1814
1977
  "expectedPrice": [
1815
- 28
1978
+ 36
1816
1979
  ],
1817
1980
  "requestedPrice": [
1818
- 28
1981
+ 36
1819
1982
  ],
1820
1983
  "previousPrice": [
1821
- 28
1984
+ 36
1822
1985
  ],
1823
1986
  "resultingPrice": [
1824
- 28
1987
+ 36
1825
1988
  ],
1826
1989
  "expectedPricingContextVersion": [
1827
- 22
1990
+ 27
1828
1991
  ],
1829
1992
  "actualPricingContextVersion": [
1830
- 22
1993
+ 27
1831
1994
  ],
1832
1995
  "status": [
1833
- 66
1996
+ 77
1834
1997
  ],
1835
1998
  "failureCode": [
1836
- 22
1999
+ 27
1837
2000
  ],
1838
2001
  "failureMessage": [
1839
- 22
2002
+ 27
1840
2003
  ],
1841
2004
  "contextSnapshot": [
1842
2005
  1
@@ -1845,18 +2008,18 @@ var types_default = {
1845
2008
  1
1846
2009
  ],
1847
2010
  "__typename": [
1848
- 22
2011
+ 27
1849
2012
  ]
1850
2013
  },
1851
2014
  "DynamicPricingBatchEvent": {
1852
2015
  "uid": [
1853
- 22
2016
+ 27
1854
2017
  ],
1855
2018
  "type": [
1856
- 67
2019
+ 78
1857
2020
  ],
1858
2021
  "requestHash": [
1859
- 22
2022
+ 27
1860
2023
  ],
1861
2024
  "details": [
1862
2025
  1
@@ -1865,175 +2028,283 @@ var types_default = {
1865
2028
  0
1866
2029
  ],
1867
2030
  "__typename": [
1868
- 22
2031
+ 27
1869
2032
  ]
1870
2033
  },
1871
2034
  "DynamicPricingBatch": {
1872
2035
  "uid": [
1873
- 22
2036
+ 27
1874
2037
  ],
1875
2038
  "momentUidRequested": [
1876
- 22
2039
+ 27
1877
2040
  ],
1878
2041
  "actorType": [
1879
- 63
2042
+ 74
1880
2043
  ],
1881
2044
  "actorUid": [
1882
- 22
2045
+ 27
1883
2046
  ],
1884
2047
  "executionMode": [
1885
- 64
2048
+ 75
1886
2049
  ],
1887
2050
  "status": [
1888
- 65
2051
+ 76
1889
2052
  ],
1890
2053
  "idempotencyKey": [
1891
- 22
2054
+ 27
1892
2055
  ],
1893
2056
  "requestHash": [
1894
- 22
2057
+ 27
1895
2058
  ],
1896
2059
  "replayCount": [
1897
- 28
2060
+ 36
1898
2061
  ],
1899
2062
  "idempotencyConflictCount": [
1900
- 28
2063
+ 36
1901
2064
  ],
1902
2065
  "policyVersion": [
1903
- 28
2066
+ 36
1904
2067
  ],
1905
2068
  "reason": [
1906
- 22
2069
+ 27
1907
2070
  ],
1908
2071
  "strategyKey": [
1909
- 22
2072
+ 27
1910
2073
  ],
1911
2074
  "strategyVersion": [
1912
- 22
2075
+ 27
1913
2076
  ],
1914
2077
  "externalReference": [
1915
- 22
2078
+ 27
1916
2079
  ],
1917
2080
  "metadata": [
1918
2081
  1
1919
2082
  ],
1920
2083
  "failureCode": [
1921
- 22
2084
+ 27
2085
+ ],
2086
+ "failureMessage": [
2087
+ 27
2088
+ ],
2089
+ "items": [
2090
+ 87
2091
+ ],
2092
+ "events": [
2093
+ 88
2094
+ ],
2095
+ "createdAt": [
2096
+ 0
2097
+ ],
2098
+ "updatedAt": [
2099
+ 0
2100
+ ],
2101
+ "completedAt": [
2102
+ 0
2103
+ ],
2104
+ "__typename": [
2105
+ 27
2106
+ ]
2107
+ },
2108
+ "BrandSubscription": {
2109
+ "uid": [
2110
+ 26
2111
+ ],
2112
+ "isActive": [
2113
+ 33
2114
+ ],
2115
+ "subscribedAt": [
2116
+ 0
2117
+ ],
2118
+ "createdAt": [
2119
+ 0
2120
+ ],
2121
+ "updatedAt": [
2122
+ 0
2123
+ ],
2124
+ "__typename": [
2125
+ 27
2126
+ ]
2127
+ },
2128
+ "PublicMomentLineupInfo": {
2129
+ "token": [
2130
+ 27
2131
+ ],
2132
+ "artistName": [
2133
+ 27
2134
+ ],
2135
+ "momentName": [
2136
+ 27
2137
+ ],
2138
+ "brandName": [
2139
+ 27
2140
+ ],
2141
+ "status": [
2142
+ 17
2143
+ ],
2144
+ "lineupType": [
2145
+ 18
2146
+ ],
2147
+ "alreadyResponded": [
2148
+ 33
2149
+ ],
2150
+ "__typename": [
2151
+ 27
2152
+ ]
2153
+ },
2154
+ "MomentLineupResponseResult": {
2155
+ "status": [
2156
+ 17
2157
+ ],
2158
+ "success": [
2159
+ 33
2160
+ ],
2161
+ "__typename": [
2162
+ 27
2163
+ ]
2164
+ },
2165
+ "PartnerMomentsFiltersInput": {
2166
+ "search": [
2167
+ 27
2168
+ ],
2169
+ "includePrivate": [
2170
+ 33
2171
+ ],
2172
+ "__typename": [
2173
+ 27
2174
+ ]
2175
+ },
2176
+ "PartnerAudienceFiltersInput": {
2177
+ "customerUids": [
2178
+ 27
2179
+ ],
2180
+ "search": [
2181
+ 27
2182
+ ],
2183
+ "hasEmail": [
2184
+ 33
1922
2185
  ],
1923
- "failureMessage": [
1924
- 22
2186
+ "hasPhone": [
2187
+ 33
1925
2188
  ],
1926
- "items": [
1927
- 76
2189
+ "isSubscribed": [
2190
+ 33
1928
2191
  ],
1929
- "events": [
1930
- 77
2192
+ "emailConsentStatuses": [
2193
+ 2
1931
2194
  ],
1932
- "createdAt": [
1933
- 0
2195
+ "smsConsentStatuses": [
2196
+ 2
1934
2197
  ],
1935
- "updatedAt": [
1936
- 0
2198
+ "communicationsOptedOut": [
2199
+ 33
1937
2200
  ],
1938
- "completedAt": [
1939
- 0
2201
+ "isSuppressed": [
2202
+ 33
1940
2203
  ],
1941
- "__typename": [
1942
- 22
1943
- ]
1944
- },
1945
- "BrandSubscription": {
1946
- "uid": [
1947
- 21
2204
+ "sources": [
2205
+ 3
1948
2206
  ],
1949
- "isActive": [
2207
+ "cities": [
1950
2208
  27
1951
2209
  ],
1952
- "subscribedAt": [
2210
+ "countries": [
2211
+ 27
2212
+ ],
2213
+ "createdAtFrom": [
1953
2214
  0
1954
2215
  ],
1955
- "createdAt": [
2216
+ "createdAtBefore": [
1956
2217
  0
1957
2218
  ],
1958
- "updatedAt": [
2219
+ "updatedAtFrom": [
1959
2220
  0
1960
2221
  ],
1961
- "__typename": [
1962
- 22
1963
- ]
1964
- },
1965
- "PublicMomentLineupInfo": {
1966
- "token": [
1967
- 22
2222
+ "updatedAtBefore": [
2223
+ 0
1968
2224
  ],
1969
- "artistName": [
1970
- 22
2225
+ "minTotalSpendUsdCents": [
2226
+ 36
1971
2227
  ],
1972
- "momentName": [
1973
- 22
2228
+ "maxTotalSpendUsdCents": [
2229
+ 36
1974
2230
  ],
1975
- "brandName": [
1976
- 22
2231
+ "minNumMoments": [
2232
+ 36
1977
2233
  ],
1978
- "status": [
1979
- 13
2234
+ "maxNumMoments": [
2235
+ 36
1980
2236
  ],
1981
- "lineupType": [
1982
- 14
2237
+ "momentUids": [
2238
+ 27
1983
2239
  ],
1984
- "alreadyResponded": [
2240
+ "ticketTierUids": [
2241
+ 27
2242
+ ],
2243
+ "brandListUids": [
2244
+ 27
2245
+ ],
2246
+ "membershipTierUids": [
1985
2247
  27
1986
2248
  ],
1987
2249
  "__typename": [
1988
- 22
2250
+ 27
1989
2251
  ]
1990
2252
  },
1991
- "MomentLineupResponseResult": {
1992
- "status": [
1993
- 13
2253
+ "PartnerAudienceSortInput": {
2254
+ "field": [
2255
+ 7
1994
2256
  ],
1995
- "success": [
1996
- 27
2257
+ "direction": [
2258
+ 4
1997
2259
  ],
1998
2260
  "__typename": [
1999
- 22
2261
+ 27
2000
2262
  ]
2001
2263
  },
2002
- "PartnerMomentsFiltersInput": {
2003
- "search": [
2004
- 22
2264
+ "GetPartnerAudienceInput": {
2265
+ "filters": [
2266
+ 94
2005
2267
  ],
2006
- "includePrivate": [
2268
+ "sort": [
2269
+ 95
2270
+ ],
2271
+ "cursor": [
2007
2272
  27
2008
2273
  ],
2274
+ "take": [
2275
+ 36
2276
+ ],
2277
+ "includeTotalCount": [
2278
+ 33
2279
+ ],
2009
2280
  "__typename": [
2010
- 22
2281
+ 27
2011
2282
  ]
2012
2283
  },
2013
2284
  "BrandAgentEmailSendMessage": {
2014
2285
  "uid": [
2015
- 22
2286
+ 27
2016
2287
  ],
2017
2288
  "position": [
2018
- 28
2289
+ 36
2019
2290
  ],
2020
2291
  "recipient": [
2021
- 22
2292
+ 27
2022
2293
  ],
2023
2294
  "subject": [
2024
- 22
2295
+ 27
2025
2296
  ],
2026
2297
  "text": [
2027
- 22
2298
+ 27
2028
2299
  ],
2029
2300
  "status": [
2030
- 4
2301
+ 6
2031
2302
  ],
2032
2303
  "agentMailMessageId": [
2033
- 22
2304
+ 27
2034
2305
  ],
2035
2306
  "agentMailThreadId": [
2036
- 22
2307
+ 27
2037
2308
  ],
2038
2309
  "sentAt": [
2039
2310
  0
@@ -2042,352 +2313,383 @@ var types_default = {
2042
2313
  0
2043
2314
  ],
2044
2315
  "lastErrorCode": [
2045
- 22
2316
+ 27
2046
2317
  ],
2047
2318
  "lastErrorMessage": [
2048
- 22
2319
+ 27
2049
2320
  ],
2050
2321
  "__typename": [
2051
- 22
2322
+ 27
2052
2323
  ]
2053
2324
  },
2054
2325
  "BrandAgentEmailSendBatch": {
2055
2326
  "uid": [
2056
- 22
2327
+ 27
2057
2328
  ],
2058
2329
  "createdAt": [
2059
2330
  0
2060
2331
  ],
2061
2332
  "status": [
2062
- 3
2333
+ 5
2063
2334
  ],
2064
2335
  "senderEmailAddress": [
2065
- 22
2336
+ 27
2066
2337
  ],
2067
2338
  "acceptedCount": [
2068
- 28
2339
+ 36
2069
2340
  ],
2070
2341
  "messages": [
2071
- 83
2342
+ 97
2072
2343
  ],
2073
2344
  "__typename": [
2074
- 22
2345
+ 27
2346
+ ]
2347
+ },
2348
+ "AgentThreadSeedContext": {
2349
+ "seed": [
2350
+ 27
2351
+ ],
2352
+ "includedMessages": [
2353
+ 36
2354
+ ],
2355
+ "totalMessages": [
2356
+ 36
2357
+ ],
2358
+ "truncated": [
2359
+ 33
2360
+ ],
2361
+ "__typename": [
2362
+ 27
2075
2363
  ]
2076
2364
  },
2077
2365
  "Query": {
2078
2366
  "getPartnerBrand": [
2079
- 23
2367
+ 28
2080
2368
  ],
2081
2369
  "getPartnerAgentEmailBatch": [
2082
- 84,
2370
+ 98,
2083
2371
  {
2084
2372
  "batchUid": [
2085
- 22,
2373
+ 27,
2086
2374
  "String!"
2087
2375
  ]
2088
2376
  }
2089
2377
  ],
2378
+ "getAgentThreadSeed": [
2379
+ 99
2380
+ ],
2090
2381
  "getPartnerMomentsForBrand": [
2091
- 55,
2382
+ 65,
2092
2383
  {
2093
2384
  "cursor": [
2094
- 22
2385
+ 27
2095
2386
  ],
2096
2387
  "take": [
2097
- 28
2388
+ 36
2098
2389
  ],
2099
2390
  "status": [
2100
- 2
2391
+ 8
2101
2392
  ],
2102
2393
  "filters": [
2103
- 82
2394
+ 93
2104
2395
  ],
2105
2396
  "sortOrder": [
2106
- 5
2397
+ 9
2107
2398
  ]
2108
2399
  }
2109
2400
  ],
2110
2401
  "getPartnerDrops": [
2111
- 56,
2402
+ 66,
2112
2403
  {
2113
2404
  "cursor": [
2114
- 22
2405
+ 27
2115
2406
  ],
2116
2407
  "take": [
2117
- 28
2408
+ 36
2118
2409
  ],
2119
2410
  "search": [
2120
- 22
2411
+ 27
2121
2412
  ],
2122
2413
  "isPublic": [
2123
- 27
2414
+ 33
2124
2415
  ],
2125
2416
  "ctaType": [
2126
- 6
2417
+ 10
2127
2418
  ]
2128
2419
  }
2129
2420
  ],
2130
2421
  "getPartnerMoment": [
2131
- 26,
2422
+ 38,
2132
2423
  {
2133
2424
  "slug": [
2134
- 22,
2425
+ 27,
2135
2426
  "String!"
2136
2427
  ]
2137
2428
  }
2138
2429
  ],
2139
2430
  "getPartnerMomentStats": [
2140
- 39,
2431
+ 49,
2141
2432
  {
2142
2433
  "momentSlug": [
2143
- 22,
2434
+ 27,
2144
2435
  "String!"
2145
2436
  ]
2146
2437
  }
2147
2438
  ],
2148
2439
  "getPartnerMomentAttendanceStats": [
2149
- 45,
2440
+ 55,
2150
2441
  {
2151
2442
  "input": [
2152
- 47,
2443
+ 57,
2153
2444
  "PartnerMomentAttendanceLookupInput!"
2154
2445
  ]
2155
2446
  }
2156
2447
  ],
2157
2448
  "getPartnerTicketsForMoment": [
2158
- 58,
2449
+ 68,
2159
2450
  {
2160
2451
  "momentSlug": [
2161
- 22,
2452
+ 27,
2162
2453
  "String!"
2163
2454
  ],
2164
2455
  "cursor": [
2165
- 22
2456
+ 27
2166
2457
  ],
2167
2458
  "take": [
2168
- 28
2459
+ 36
2169
2460
  ],
2170
2461
  "checkedIn": [
2171
- 27
2462
+ 33
2172
2463
  ]
2173
2464
  }
2174
2465
  ],
2175
2466
  "getPartnerCustomersForMoment": [
2176
- 59,
2467
+ 69,
2177
2468
  {
2178
2469
  "momentSlug": [
2179
- 22,
2470
+ 27,
2180
2471
  "String!"
2181
2472
  ],
2182
2473
  "cursor": [
2183
- 22
2474
+ 27
2184
2475
  ],
2185
2476
  "take": [
2186
- 28
2477
+ 36
2478
+ ]
2479
+ }
2480
+ ],
2481
+ "getPartnerAudience": [
2482
+ 70,
2483
+ {
2484
+ "input": [
2485
+ 96
2187
2486
  ]
2188
2487
  }
2189
2488
  ],
2190
2489
  "getPartnerMomentCollection": [
2191
- 49,
2490
+ 59,
2192
2491
  {
2193
2492
  "slug": [
2194
- 22,
2493
+ 27,
2195
2494
  "String!"
2196
2495
  ]
2197
2496
  }
2198
2497
  ],
2199
2498
  "getPartnerPublicEchoes": [
2200
- 60,
2499
+ 71,
2201
2500
  {
2202
2501
  "momentSlug": [
2203
- 22
2502
+ 27
2204
2503
  ],
2205
2504
  "cursor": [
2206
- 22
2505
+ 27
2207
2506
  ],
2208
2507
  "take": [
2209
- 28
2508
+ 36
2210
2509
  ]
2211
2510
  }
2212
2511
  ],
2213
2512
  "getPartnerTicketTiersForMoment": [
2214
- 62,
2513
+ 73,
2215
2514
  {
2216
2515
  "input": [
2217
- 93,
2516
+ 108,
2218
2517
  "GetPartnerTicketTiersForMomentInput!"
2219
2518
  ]
2220
2519
  }
2221
2520
  ],
2222
2521
  "getPartnerMomentDynamicPricingContext": [
2223
- 75,
2522
+ 86,
2224
2523
  {
2225
2524
  "input": [
2226
- 96,
2525
+ 111,
2227
2526
  "DynamicPricingMomentInput!"
2228
2527
  ]
2229
2528
  }
2230
2529
  ],
2231
2530
  "getPartnerDynamicPricingBatch": [
2232
- 78,
2531
+ 89,
2233
2532
  {
2234
2533
  "batchUid": [
2235
- 22,
2534
+ 27,
2236
2535
  "String!"
2237
2536
  ]
2238
2537
  }
2239
2538
  ],
2240
2539
  "getPublicMomentLineups": [
2241
- 57,
2540
+ 67,
2242
2541
  {
2243
2542
  "momentUid": [
2244
- 22,
2543
+ 27,
2245
2544
  "String!"
2246
2545
  ],
2247
2546
  "cursor": [
2248
- 22
2547
+ 27
2249
2548
  ],
2250
2549
  "take": [
2251
- 28
2550
+ 36
2252
2551
  ],
2253
2552
  "lineupType": [
2254
- 14
2553
+ 18
2255
2554
  ]
2256
2555
  }
2257
2556
  ],
2258
2557
  "getMomentLineupByToken": [
2259
- 80,
2558
+ 91,
2260
2559
  {
2261
2560
  "token": [
2262
- 22,
2561
+ 27,
2263
2562
  "String!"
2264
2563
  ]
2265
2564
  }
2266
2565
  ],
2267
2566
  "__typename": [
2268
- 22
2567
+ 27
2269
2568
  ]
2270
2569
  },
2271
2570
  "DimensionsInput": {
2272
2571
  "width": [
2273
- 31
2572
+ 34
2274
2573
  ],
2275
2574
  "height": [
2276
- 31
2575
+ 34
2277
2576
  ],
2278
2577
  "__typename": [
2279
- 22
2578
+ 27
2280
2579
  ]
2281
2580
  },
2282
2581
  "BrandAgentEmailMessageInput": {
2283
2582
  "to": [
2284
- 22
2583
+ 27
2285
2584
  ],
2286
2585
  "subject": [
2287
- 22
2586
+ 27
2288
2587
  ],
2289
2588
  "text": [
2290
- 22
2589
+ 27
2291
2590
  ],
2292
2591
  "__typename": [
2293
- 22
2592
+ 27
2294
2593
  ]
2295
2594
  },
2296
2595
  "SendPartnerAgentEmailInput": {
2297
2596
  "idempotencyKey": [
2298
- 22
2597
+ 27
2299
2598
  ],
2300
2599
  "messages": [
2301
- 87
2600
+ 102
2601
+ ],
2602
+ "toolCallId": [
2603
+ 27
2302
2604
  ],
2303
2605
  "__typename": [
2304
- 22
2606
+ 27
2305
2607
  ]
2306
2608
  },
2307
2609
  "VenueInput": {
2308
2610
  "name": [
2309
- 22
2611
+ 27
2310
2612
  ],
2311
2613
  "city": [
2312
- 22
2614
+ 27
2313
2615
  ],
2314
2616
  "country": [
2315
- 22
2617
+ 27
2316
2618
  ],
2317
2619
  "address": [
2318
- 22
2620
+ 27
2319
2621
  ],
2320
2622
  "postalCode": [
2321
- 22
2623
+ 27
2322
2624
  ],
2323
2625
  "__typename": [
2324
- 22
2626
+ 27
2325
2627
  ]
2326
2628
  },
2327
2629
  "CreatePartnerTicketTierInput": {
2328
2630
  "name": [
2329
- 22
2631
+ 27
2330
2632
  ],
2331
2633
  "price": [
2332
- 28
2634
+ 36
2333
2635
  ],
2334
2636
  "supply": [
2335
- 28
2637
+ 36
2336
2638
  ],
2337
2639
  "maxPerUser": [
2338
- 28
2640
+ 36
2339
2641
  ],
2340
2642
  "currencyCode": [
2341
- 22
2643
+ 27
2342
2644
  ],
2343
2645
  "description": [
2344
- 22
2646
+ 27
2345
2647
  ],
2346
2648
  "minPerUser": [
2347
- 28
2649
+ 36
2348
2650
  ],
2349
2651
  "isPrivate": [
2350
- 27
2652
+ 33
2351
2653
  ],
2352
2654
  "isActive": [
2353
- 27
2655
+ 33
2354
2656
  ],
2355
2657
  "attendanceMode": [
2356
- 10
2658
+ 14
2357
2659
  ],
2358
2660
  "__typename": [
2359
- 22
2661
+ 27
2360
2662
  ]
2361
2663
  },
2362
2664
  "CreateMomentOnlineConfigInput": {
2363
2665
  "hostInstructions": [
2364
- 22
2666
+ 27
2365
2667
  ],
2366
2668
  "meetingId": [
2367
- 22
2669
+ 27
2368
2670
  ],
2369
2671
  "meetingPasscode": [
2370
- 22
2672
+ 27
2371
2673
  ],
2372
2674
  "meetingUrl": [
2373
- 22
2675
+ 27
2374
2676
  ],
2375
2677
  "provider": [
2376
- 9
2678
+ 13
2377
2679
  ],
2378
2680
  "__typename": [
2379
- 22
2681
+ 27
2380
2682
  ]
2381
2683
  },
2382
2684
  "CreatePartnerMomentInput": {
2383
2685
  "name": [
2384
- 22
2686
+ 27
2385
2687
  ],
2386
2688
  "description": [
2387
- 22
2689
+ 27
2388
2690
  ],
2389
2691
  "blurb": [
2390
- 22
2692
+ 27
2391
2693
  ],
2392
2694
  "startDate": [
2393
2695
  0
@@ -2396,99 +2698,105 @@ var types_default = {
2396
2698
  0
2397
2699
  ],
2398
2700
  "timezone": [
2399
- 22
2701
+ 27
2400
2702
  ],
2401
2703
  "type": [
2402
- 8
2704
+ 12
2403
2705
  ],
2404
2706
  "coverImageUid": [
2405
- 22
2707
+ 27
2406
2708
  ],
2407
2709
  "venue": [
2408
- 89
2710
+ 104
2409
2711
  ],
2410
2712
  "onlineConfig": [
2411
- 91
2713
+ 106
2412
2714
  ],
2413
2715
  "isPrivate": [
2414
- 27
2716
+ 33
2415
2717
  ],
2416
2718
  "capacity": [
2417
- 28
2719
+ 36
2418
2720
  ],
2419
2721
  "category": [
2420
- 11
2722
+ 15
2421
2723
  ],
2422
2724
  "subcategory": [
2423
- 12
2725
+ 16
2424
2726
  ],
2425
2727
  "ticketTiers": [
2426
- 90
2728
+ 105
2729
+ ],
2730
+ "idempotencyKey": [
2731
+ 27
2732
+ ],
2733
+ "toolCallId": [
2734
+ 27
2427
2735
  ],
2428
2736
  "__typename": [
2429
- 22
2737
+ 27
2430
2738
  ]
2431
2739
  },
2432
2740
  "GetPartnerTicketTiersForMomentInput": {
2433
2741
  "momentUid": [
2434
- 22
2742
+ 27
2435
2743
  ],
2436
2744
  "momentSlug": [
2437
- 22
2745
+ 27
2438
2746
  ],
2439
2747
  "cursor": [
2440
- 22
2748
+ 27
2441
2749
  ],
2442
2750
  "take": [
2443
- 28
2751
+ 36
2444
2752
  ],
2445
2753
  "ticketTierUids": [
2446
- 22
2754
+ 27
2447
2755
  ],
2448
2756
  "search": [
2449
- 22
2757
+ 27
2450
2758
  ],
2451
2759
  "isActive": [
2452
- 27
2760
+ 33
2453
2761
  ],
2454
2762
  "isPrivate": [
2455
- 27
2763
+ 33
2456
2764
  ],
2457
2765
  "isPaid": [
2458
- 27
2766
+ 33
2459
2767
  ],
2460
2768
  "price": [
2461
- 28
2769
+ 36
2462
2770
  ],
2463
2771
  "minPrice": [
2464
- 28
2772
+ 36
2465
2773
  ],
2466
2774
  "maxPrice": [
2467
- 28
2775
+ 36
2468
2776
  ],
2469
2777
  "supply": [
2470
- 28
2778
+ 36
2471
2779
  ],
2472
2780
  "minSupply": [
2473
- 28
2781
+ 36
2474
2782
  ],
2475
2783
  "maxSupply": [
2476
- 28
2784
+ 36
2477
2785
  ],
2478
2786
  "remainingSupply": [
2479
- 28
2787
+ 36
2480
2788
  ],
2481
2789
  "minRemainingSupply": [
2482
- 28
2790
+ 36
2483
2791
  ],
2484
2792
  "maxRemainingSupply": [
2485
- 28
2793
+ 36
2486
2794
  ],
2487
2795
  "minFillRate": [
2488
- 31
2796
+ 34
2489
2797
  ],
2490
2798
  "maxFillRate": [
2491
- 31
2799
+ 34
2492
2800
  ],
2493
2801
  "startsAt": [
2494
2802
  0
@@ -2503,327 +2811,330 @@ var types_default = {
2503
2811
  0
2504
2812
  ],
2505
2813
  "__typename": [
2506
- 22
2814
+ 27
2507
2815
  ]
2508
2816
  },
2509
2817
  "PartnerTicketTierUpdateInput": {
2510
2818
  "ticketTierUid": [
2511
- 22
2819
+ 27
2512
2820
  ],
2513
2821
  "price": [
2514
- 28
2822
+ 36
2515
2823
  ],
2516
2824
  "facilityFee": [
2517
- 28
2825
+ 36
2518
2826
  ],
2519
2827
  "supply": [
2520
- 28
2828
+ 36
2521
2829
  ],
2522
2830
  "__typename": [
2523
- 22
2831
+ 27
2524
2832
  ]
2525
2833
  },
2526
2834
  "EditPartnerTicketTiersForMomentInput": {
2527
2835
  "momentUid": [
2528
- 22
2836
+ 27
2529
2837
  ],
2530
2838
  "momentSlug": [
2531
- 22
2839
+ 27
2532
2840
  ],
2533
2841
  "updates": [
2534
- 94
2842
+ 109
2535
2843
  ],
2536
2844
  "__typename": [
2537
- 22
2845
+ 27
2538
2846
  ]
2539
2847
  },
2540
2848
  "DynamicPricingMomentInput": {
2541
2849
  "momentUid": [
2542
- 22
2850
+ 27
2543
2851
  ],
2544
2852
  "momentSlug": [
2545
- 22
2853
+ 27
2546
2854
  ],
2547
2855
  "__typename": [
2548
- 22
2856
+ 27
2549
2857
  ]
2550
2858
  },
2551
2859
  "DynamicPricingTierUpdateInput": {
2552
2860
  "ticketTierUid": [
2553
- 22
2861
+ 27
2554
2862
  ],
2555
2863
  "newPrice": [
2556
- 28
2864
+ 36
2557
2865
  ],
2558
2866
  "expectedPrice": [
2559
- 28
2867
+ 36
2560
2868
  ],
2561
2869
  "expectedPricingContextVersion": [
2562
- 22
2870
+ 27
2563
2871
  ],
2564
2872
  "inventoryGuard": [
2565
- 98
2873
+ 113
2566
2874
  ],
2567
2875
  "externalSignals": [
2568
2876
  1
2569
2877
  ],
2570
2878
  "__typename": [
2571
- 22
2879
+ 27
2572
2880
  ]
2573
2881
  },
2574
2882
  "DynamicPricingInventoryGuardInput": {
2575
2883
  "mode": [
2576
- 68
2884
+ 79
2577
2885
  ],
2578
2886
  "metric": [
2579
- 69
2887
+ 80
2580
2888
  ],
2581
2889
  "minimum": [
2582
- 28
2890
+ 36
2583
2891
  ],
2584
2892
  "maximum": [
2585
- 28
2893
+ 36
2586
2894
  ],
2587
2895
  "__typename": [
2588
- 22
2896
+ 27
2589
2897
  ]
2590
2898
  },
2591
2899
  "ApplyDynamicPricingInput": {
2592
2900
  "momentUid": [
2593
- 22
2901
+ 27
2594
2902
  ],
2595
2903
  "momentSlug": [
2596
- 22
2904
+ 27
2597
2905
  ],
2598
2906
  "mode": [
2599
- 64
2907
+ 75
2600
2908
  ],
2601
2909
  "idempotencyKey": [
2602
- 22
2910
+ 27
2603
2911
  ],
2604
2912
  "policyVersion": [
2605
- 28
2913
+ 36
2606
2914
  ],
2607
2915
  "reason": [
2608
- 22
2916
+ 27
2609
2917
  ],
2610
2918
  "strategyKey": [
2611
- 22
2919
+ 27
2612
2920
  ],
2613
2921
  "strategyVersion": [
2614
- 22
2922
+ 27
2615
2923
  ],
2616
2924
  "externalReference": [
2617
- 22
2925
+ 27
2618
2926
  ],
2619
2927
  "metadata": [
2620
2928
  1
2621
2929
  ],
2622
2930
  "updates": [
2623
- 97
2931
+ 112
2624
2932
  ],
2625
2933
  "__typename": [
2626
- 22
2934
+ 27
2627
2935
  ]
2628
2936
  },
2629
2937
  "RespondToMomentLineupInput": {
2630
2938
  "token": [
2631
- 22
2939
+ 27
2632
2940
  ],
2633
2941
  "status": [
2634
- 13
2942
+ 17
2635
2943
  ],
2636
2944
  "__typename": [
2637
- 22
2945
+ 27
2638
2946
  ]
2639
2947
  },
2640
2948
  "SubscriptionComplianceInput": {
2641
2949
  "browserName": [
2642
- 22
2950
+ 27
2643
2951
  ],
2644
2952
  "browserVersion": [
2645
- 22
2953
+ 27
2646
2954
  ],
2647
2955
  "deviceType": [
2648
- 22
2956
+ 27
2649
2957
  ],
2650
2958
  "geoAccuracy": [
2651
- 31
2959
+ 34
2652
2960
  ],
2653
2961
  "geoCity": [
2654
- 22
2962
+ 27
2655
2963
  ],
2656
2964
  "geoCountry": [
2657
- 22
2965
+ 27
2658
2966
  ],
2659
2967
  "geoLatitude": [
2660
- 31
2968
+ 34
2661
2969
  ],
2662
2970
  "geoLongitude": [
2663
- 31
2971
+ 34
2664
2972
  ],
2665
2973
  "geoRegion": [
2666
- 22
2974
+ 27
2667
2975
  ],
2668
2976
  "ipAddress": [
2669
- 22
2977
+ 27
2670
2978
  ],
2671
2979
  "language": [
2672
- 22
2980
+ 27
2673
2981
  ],
2674
2982
  "osName": [
2675
- 22
2983
+ 27
2676
2984
  ],
2677
2985
  "osVersion": [
2678
- 22
2986
+ 27
2679
2987
  ],
2680
2988
  "pageUrl": [
2681
- 22
2989
+ 27
2682
2990
  ],
2683
2991
  "referrerUrl": [
2684
- 22
2992
+ 27
2685
2993
  ],
2686
2994
  "screenHeight": [
2687
- 28
2995
+ 36
2688
2996
  ],
2689
2997
  "screenWidth": [
2690
- 28
2998
+ 36
2691
2999
  ],
2692
3000
  "submissionMethod": [
2693
- 22
3001
+ 27
2694
3002
  ],
2695
3003
  "submittedAt": [
2696
3004
  0
2697
3005
  ],
2698
3006
  "timezone": [
2699
- 22
3007
+ 27
2700
3008
  ],
2701
3009
  "userAgent": [
2702
- 22
3010
+ 27
2703
3011
  ],
2704
3012
  "__typename": [
2705
- 22
3013
+ 27
2706
3014
  ]
2707
3015
  },
2708
3016
  "PostSubscriptionSmsInput": {
2709
3017
  "body": [
2710
- 22
3018
+ 27
2711
3019
  ],
2712
3020
  "mediaUrls": [
2713
- 22
3021
+ 27
2714
3022
  ],
2715
3023
  "__typename": [
2716
- 22
3024
+ 27
2717
3025
  ]
2718
3026
  },
2719
3027
  "PostSubscriptionEmailInput": {
2720
3028
  "subject": [
2721
- 22
3029
+ 27
2722
3030
  ],
2723
3031
  "body": [
2724
- 22
3032
+ 27
2725
3033
  ],
2726
3034
  "__typename": [
2727
- 22
3035
+ 27
2728
3036
  ]
2729
3037
  },
2730
3038
  "PostSubscriptionPushInput": {
2731
3039
  "title": [
2732
- 22
3040
+ 27
2733
3041
  ],
2734
3042
  "body": [
2735
- 22
3043
+ 27
2736
3044
  ],
2737
3045
  "__typename": [
2738
- 22
3046
+ 27
2739
3047
  ]
2740
3048
  },
2741
3049
  "PostSubscriptionMessageInput": {
2742
3050
  "sms": [
2743
- 102
3051
+ 117
2744
3052
  ],
2745
3053
  "email": [
2746
- 103
3054
+ 118
2747
3055
  ],
2748
3056
  "push": [
2749
- 104
3057
+ 119
2750
3058
  ],
2751
3059
  "__typename": [
2752
- 22
3060
+ 27
2753
3061
  ]
2754
3062
  },
2755
3063
  "CreatePartnerBrandSubscriptionInput": {
2756
3064
  "compliance": [
2757
- 101
3065
+ 116
3066
+ ],
3067
+ "consentText": [
3068
+ 27
2758
3069
  ],
2759
3070
  "email": [
2760
- 22
3071
+ 27
2761
3072
  ],
2762
3073
  "fullName": [
2763
- 22
3074
+ 27
2764
3075
  ],
2765
3076
  "listNames": [
2766
- 22
3077
+ 27
2767
3078
  ],
2768
3079
  "phoneNumber": [
2769
- 22
3080
+ 27
2770
3081
  ],
2771
3082
  "requireOtpVerification": [
2772
- 27
3083
+ 33
2773
3084
  ],
2774
3085
  "postSubscriptionMessage": [
2775
- 105
3086
+ 120
2776
3087
  ],
2777
3088
  "__typename": [
2778
- 22
3089
+ 27
2779
3090
  ]
2780
3091
  },
2781
3092
  "VerifyPartnerBrandSubscriptionInput": {
2782
3093
  "code": [
2783
- 22
3094
+ 27
2784
3095
  ],
2785
3096
  "verificationToken": [
2786
- 22
3097
+ 27
2787
3098
  ],
2788
3099
  "__typename": [
2789
- 22
3100
+ 27
2790
3101
  ]
2791
3102
  },
2792
3103
  "MediaAssetUploadUrl": {
2793
3104
  "url": [
2794
- 22
3105
+ 27
2795
3106
  ],
2796
3107
  "filename": [
2797
- 22
3108
+ 27
2798
3109
  ],
2799
3110
  "__typename": [
2800
- 22
3111
+ 27
2801
3112
  ]
2802
3113
  },
2803
3114
  "MediaAsset": {
2804
3115
  "uid": [
2805
- 21
3116
+ 26
2806
3117
  ],
2807
3118
  "url": [
2808
- 22
3119
+ 27
2809
3120
  ],
2810
3121
  "mimeType": [
2811
- 22
3122
+ 27
2812
3123
  ],
2813
3124
  "s3Key": [
2814
- 22
3125
+ 27
2815
3126
  ],
2816
3127
  "dimensions": [
2817
- 50
3128
+ 60
2818
3129
  ],
2819
3130
  "size": [
2820
- 28
3131
+ 36
2821
3132
  ],
2822
3133
  "placeholderUrl": [
2823
- 22
3134
+ 27
2824
3135
  ],
2825
3136
  "blurhash": [
2826
- 22
3137
+ 27
2827
3138
  ],
2828
3139
  "createdAt": [
2829
3140
  0
@@ -2832,119 +3143,119 @@ var types_default = {
2832
3143
  0
2833
3144
  ],
2834
3145
  "__typename": [
2835
- 22
3146
+ 27
2836
3147
  ]
2837
3148
  },
2838
3149
  "CreatePartnerBrandSubscriptionResponse": {
2839
3150
  "subscription": [
2840
- 79
3151
+ 90
2841
3152
  ],
2842
3153
  "verificationRequired": [
2843
- 27
3154
+ 33
2844
3155
  ],
2845
3156
  "verificationToken": [
2846
- 22
3157
+ 27
2847
3158
  ],
2848
3159
  "__typename": [
2849
- 22
3160
+ 27
2850
3161
  ]
2851
3162
  },
2852
3163
  "Mutation": {
2853
3164
  "getPartnerUploadUrl": [
2854
- 108,
3165
+ 123,
2855
3166
  {
2856
3167
  "filename": [
2857
- 22,
3168
+ 27,
2858
3169
  "String!"
2859
3170
  ],
2860
3171
  "fileExtension": [
2861
- 22,
3172
+ 27,
2862
3173
  "String!"
2863
3174
  ]
2864
3175
  }
2865
3176
  ],
2866
3177
  "createPartnerMediaAsset": [
2867
- 109,
3178
+ 124,
2868
3179
  {
2869
3180
  "mimetype": [
2870
- 22,
3181
+ 27,
2871
3182
  "String!"
2872
3183
  ],
2873
3184
  "filename": [
2874
- 22,
3185
+ 27,
2875
3186
  "String!"
2876
3187
  ],
2877
3188
  "dimensions": [
2878
- 86,
3189
+ 101,
2879
3190
  "DimensionsInput!"
2880
3191
  ]
2881
3192
  }
2882
3193
  ],
2883
3194
  "createPartnerBrandSubscription": [
2884
- 110,
3195
+ 125,
2885
3196
  {
2886
3197
  "input": [
2887
- 106,
3198
+ 121,
2888
3199
  "CreatePartnerBrandSubscriptionInput!"
2889
3200
  ]
2890
3201
  }
2891
3202
  ],
2892
3203
  "createPartnerMoment": [
2893
- 26,
3204
+ 38,
2894
3205
  {
2895
3206
  "input": [
2896
- 92,
3207
+ 107,
2897
3208
  "CreatePartnerMomentInput!"
2898
3209
  ]
2899
3210
  }
2900
3211
  ],
2901
3212
  "sendPartnerAgentEmail": [
2902
- 84,
3213
+ 98,
2903
3214
  {
2904
3215
  "input": [
2905
- 88,
3216
+ 103,
2906
3217
  "SendPartnerAgentEmailInput!"
2907
3218
  ]
2908
3219
  }
2909
3220
  ],
2910
3221
  "editPartnerTicketTiersForMoment": [
2911
- 61,
3222
+ 72,
2912
3223
  {
2913
3224
  "input": [
2914
- 95,
3225
+ 110,
2915
3226
  "EditPartnerTicketTiersForMomentInput!"
2916
3227
  ]
2917
3228
  }
2918
3229
  ],
2919
3230
  "applyPartnerMomentDynamicPricing": [
2920
- 78,
3231
+ 89,
2921
3232
  {
2922
3233
  "input": [
2923
- 99,
3234
+ 114,
2924
3235
  "ApplyDynamicPricingInput!"
2925
3236
  ]
2926
3237
  }
2927
3238
  ],
2928
3239
  "verifyPartnerBrandSubscription": [
2929
- 79,
3240
+ 90,
2930
3241
  {
2931
3242
  "input": [
2932
- 107,
3243
+ 122,
2933
3244
  "VerifyPartnerBrandSubscriptionInput!"
2934
3245
  ]
2935
3246
  }
2936
3247
  ],
2937
3248
  "respondToMomentLineup": [
2938
- 81,
3249
+ 92,
2939
3250
  {
2940
3251
  "input": [
2941
- 100,
3252
+ 115,
2942
3253
  "RespondToMomentLineupInput!"
2943
3254
  ]
2944
3255
  }
2945
3256
  ],
2946
3257
  "__typename": [
2947
- 22
3258
+ 27
2948
3259
  ]
2949
3260
  }
2950
3261
  }
@@ -2987,8 +3298,93 @@ function assertNodeServerRuntime(runtime = globalThis) {
2987
3298
  // src/client.ts
2988
3299
  assertNodeServerRuntime();
2989
3300
  var DEFAULT_API_URL = "https://itm-backend-production.up.railway.app/graphql";
3301
+ var RESERVED_AGENT_HEADERS = /* @__PURE__ */ new Set([
3302
+ "authorization",
3303
+ "x-itm-agent-session-id",
3304
+ "x-itm-agent-bootstrap-token",
3305
+ "x-itm-agent-access-token",
3306
+ "x-partner-api-key"
3307
+ ]);
2990
3308
  function createITMPartnerClient(config) {
2991
- const { token, baseUrl, headers: extraHeaders } = config;
3309
+ const { baseUrl, headers: extraHeaders } = config;
3310
+ const token = "token" in config ? config.token : void 0;
3311
+ const agentSession = "agentSession" in config ? config.agentSession : void 0;
3312
+ const agentAccess = "agentAccess" in config ? config.agentAccess : void 0;
3313
+ const providedModes = [token, agentSession, agentAccess].filter(
3314
+ (mode) => mode !== void 0
3315
+ );
3316
+ if (providedModes.length > 1) {
3317
+ throw new Error(
3318
+ "ITM Partner SDK: provide exactly one of token, agentSession, or agentAccess authentication."
3319
+ );
3320
+ }
3321
+ if (agentAccess !== void 0) {
3322
+ if (typeof agentAccess.workloadToken !== "function") {
3323
+ throw new Error(
3324
+ "ITM Partner SDK: agentAccess.workloadToken must be a function returning a workload identity bearer."
3325
+ );
3326
+ }
3327
+ if (!agentAccess.accessToken) {
3328
+ throw new Error("ITM Partner SDK: agentAccess.accessToken is required.");
3329
+ }
3330
+ return createClient2({
3331
+ url: baseUrl ?? DEFAULT_API_URL,
3332
+ headers: async () => {
3333
+ const resolvedExtraHeaders = typeof extraHeaders === "function" ? await extraHeaders() : extraHeaders;
3334
+ const sanitizedExtraHeaders = Object.fromEntries(
3335
+ Object.entries(resolvedExtraHeaders ?? {}).filter(
3336
+ ([name]) => !RESERVED_AGENT_HEADERS.has(name.toLowerCase())
3337
+ )
3338
+ );
3339
+ const workloadToken = (await agentAccess.workloadToken()).trim();
3340
+ if (!workloadToken) {
3341
+ throw new Error(
3342
+ "ITM Partner SDK: agent workload identity is unavailable."
3343
+ );
3344
+ }
3345
+ return {
3346
+ ...sanitizedExtraHeaders,
3347
+ authorization: `Bearer ${workloadToken}`,
3348
+ "x-itm-agent-access-token": agentAccess.accessToken,
3349
+ "Content-Type": "application/json"
3350
+ };
3351
+ }
3352
+ });
3353
+ }
3354
+ if (agentSession !== void 0) {
3355
+ if (typeof agentSession.workloadToken !== "function") {
3356
+ throw new Error(
3357
+ "ITM Partner SDK: agentSession.workloadToken must be a function returning a workload identity bearer."
3358
+ );
3359
+ }
3360
+ if (!agentSession.sessionUid) {
3361
+ throw new Error("ITM Partner SDK: agentSession.sessionUid is required.");
3362
+ }
3363
+ return createClient2({
3364
+ url: baseUrl ?? DEFAULT_API_URL,
3365
+ headers: async () => {
3366
+ const resolvedExtraHeaders = typeof extraHeaders === "function" ? await extraHeaders() : extraHeaders;
3367
+ const sanitizedExtraHeaders = Object.fromEntries(
3368
+ Object.entries(resolvedExtraHeaders ?? {}).filter(
3369
+ ([name]) => !RESERVED_AGENT_HEADERS.has(name.toLowerCase())
3370
+ )
3371
+ );
3372
+ const workloadToken = (await agentSession.workloadToken()).trim();
3373
+ if (!workloadToken) {
3374
+ throw new Error(
3375
+ "ITM Partner SDK: agent workload identity is unavailable."
3376
+ );
3377
+ }
3378
+ return {
3379
+ ...sanitizedExtraHeaders,
3380
+ authorization: `Bearer ${workloadToken}`,
3381
+ "x-itm-agent-session-id": agentSession.sessionUid,
3382
+ ...agentSession.bootstrapToken ? { "x-itm-agent-bootstrap-token": agentSession.bootstrapToken } : {},
3383
+ "Content-Type": "application/json"
3384
+ };
3385
+ }
3386
+ });
3387
+ }
2992
3388
  if (!token) {
2993
3389
  throw new Error(
2994
3390
  "ITM Partner SDK: token is required. Get one from backstage: Settings > Partner API."
@@ -3007,6 +3403,6 @@ function createITMPartnerClient(config) {
3007
3403
  });
3008
3404
  }
3009
3405
 
3010
- export { DEFAULT_API_URL, createITMPartnerClient, everything, generateMutationOp, generateQueryOp };
3406
+ export { DEFAULT_API_URL, GenqlError, createITMPartnerClient, everything, generateMutationOp, generateQueryOp };
3011
3407
  //# sourceMappingURL=index.mjs.map
3012
3408
  //# sourceMappingURL=index.mjs.map