@sellout/models 0.0.151 → 0.0.153

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.
Files changed (150) hide show
  1. package/.dist/graphql/fragments/season.fragment.d.ts +23 -0
  2. package/.dist/graphql/fragments/season.fragment.js +315 -0
  3. package/.dist/graphql/fragments/season.fragment.js.map +1 -0
  4. package/.dist/graphql/mutations/createEvent.mutation.js +1 -0
  5. package/.dist/graphql/mutations/createEvent.mutation.js.map +1 -1
  6. package/.dist/graphql/mutations/createFee.mutation.js +1 -0
  7. package/.dist/graphql/mutations/createFee.mutation.js.map +1 -1
  8. package/.dist/graphql/mutations/createSeason.mutation.d.ts +2 -0
  9. package/.dist/graphql/mutations/createSeason.mutation.js +72 -0
  10. package/.dist/graphql/mutations/createSeason.mutation.js.map +1 -0
  11. package/.dist/graphql/mutations/createSeasonOrder.mutation.d.ts +2 -0
  12. package/.dist/graphql/mutations/createSeasonOrder.mutation.js +65 -0
  13. package/.dist/graphql/mutations/createSeasonOrder.mutation.js.map +1 -0
  14. package/.dist/graphql/mutations/createSeasonOrderPaymentIntent.mutation.d.ts +2 -0
  15. package/.dist/graphql/mutations/createSeasonOrderPaymentIntent.mutation.js +18 -0
  16. package/.dist/graphql/mutations/createSeasonOrderPaymentIntent.mutation.js.map +1 -0
  17. package/.dist/graphql/mutations/publishEvent.mutation.js +6 -5
  18. package/.dist/graphql/mutations/publishEvent.mutation.js.map +1 -1
  19. package/.dist/graphql/mutations/publishSeason.mutation.d.ts +2 -0
  20. package/.dist/graphql/mutations/publishSeason.mutation.js +72 -0
  21. package/.dist/graphql/mutations/publishSeason.mutation.js.map +1 -0
  22. package/.dist/graphql/mutations/updateEvent.mutation.js +2 -1
  23. package/.dist/graphql/mutations/updateEvent.mutation.js.map +1 -1
  24. package/.dist/graphql/mutations/updateOrganization.mutation.js +1 -0
  25. package/.dist/graphql/mutations/updateOrganization.mutation.js.map +1 -1
  26. package/.dist/graphql/mutations/updateSeason.mutation.d.ts +2 -0
  27. package/.dist/graphql/mutations/updateSeason.mutation.js +71 -0
  28. package/.dist/graphql/mutations/updateSeason.mutation.js.map +1 -0
  29. package/.dist/graphql/queries/event.query.js +2 -0
  30. package/.dist/graphql/queries/event.query.js.map +1 -1
  31. package/.dist/graphql/queries/events.query.js +1 -0
  32. package/.dist/graphql/queries/events.query.js.map +1 -1
  33. package/.dist/graphql/queries/order.query.js +14 -11
  34. package/.dist/graphql/queries/order.query.js.map +1 -1
  35. package/.dist/graphql/queries/orders.query.js +4 -2
  36. package/.dist/graphql/queries/orders.query.js.map +1 -1
  37. package/.dist/graphql/queries/profile.query.js +1 -0
  38. package/.dist/graphql/queries/profile.query.js.map +1 -1
  39. package/.dist/graphql/queries/promoCodeVerify.query.js +27 -23
  40. package/.dist/graphql/queries/promoCodeVerify.query.js.map +1 -1
  41. package/.dist/graphql/queries/publicEvent.query.js +1 -0
  42. package/.dist/graphql/queries/publicEvent.query.js.map +1 -1
  43. package/.dist/graphql/queries/publicSeason.query.d.ts +2 -0
  44. package/.dist/graphql/queries/publicSeason.query.js +76 -0
  45. package/.dist/graphql/queries/publicSeason.query.js.map +1 -0
  46. package/.dist/graphql/queries/season.query.d.ts +2 -0
  47. package/.dist/graphql/queries/season.query.js +73 -0
  48. package/.dist/graphql/queries/season.query.js.map +1 -0
  49. package/.dist/graphql/queries/seasons.query.d.ts +2 -0
  50. package/.dist/graphql/queries/seasons.query.js +72 -0
  51. package/.dist/graphql/queries/seasons.query.js.map +1 -0
  52. package/.dist/interfaces/IAnalytics.d.ts +1 -0
  53. package/.dist/interfaces/IAnalytics.js.map +1 -1
  54. package/.dist/interfaces/ICreateOrderParams.d.ts +4 -1
  55. package/.dist/interfaces/IEvent.d.ts +1 -0
  56. package/.dist/interfaces/IFee.d.ts +1 -0
  57. package/.dist/interfaces/IOrder.d.ts +8 -1
  58. package/.dist/interfaces/IOrder.js.map +1 -1
  59. package/.dist/interfaces/IOrderQuery.d.ts +2 -0
  60. package/.dist/interfaces/IOrderType.d.ts +2 -1
  61. package/.dist/interfaces/IOrderType.js +1 -0
  62. package/.dist/interfaces/IOrderType.js.map +1 -1
  63. package/.dist/interfaces/IOrganization.d.ts +1 -0
  64. package/.dist/interfaces/ISeason.d.ts +76 -0
  65. package/.dist/interfaces/ISeason.js +34 -0
  66. package/.dist/interfaces/ISeason.js.map +1 -0
  67. package/.dist/interfaces/ISeasonCustomField.d.ts +13 -0
  68. package/.dist/interfaces/ISeasonCustomField.js +3 -0
  69. package/.dist/interfaces/ISeasonCustomField.js.map +1 -0
  70. package/.dist/interfaces/ISeasonQuery.d.ts +23 -0
  71. package/.dist/interfaces/ISeasonQuery.js +15 -0
  72. package/.dist/interfaces/ISeasonQuery.js.map +1 -0
  73. package/.dist/interfaces/ISeasonUpgrade.d.ts +16 -0
  74. package/.dist/interfaces/ISeasonUpgrade.js +3 -0
  75. package/.dist/interfaces/ISeasonUpgrade.js.map +1 -0
  76. package/.dist/schemas/Event.d.ts +4 -0
  77. package/.dist/schemas/Event.js +4 -0
  78. package/.dist/schemas/Event.js.map +1 -1
  79. package/.dist/schemas/Fee.d.ts +5 -0
  80. package/.dist/schemas/Fee.js +4 -0
  81. package/.dist/schemas/Fee.js.map +1 -1
  82. package/.dist/schemas/Order.d.ts +8 -0
  83. package/.dist/schemas/Order.js +8 -1
  84. package/.dist/schemas/Order.js.map +1 -1
  85. package/.dist/schemas/Organization.d.ts +5 -0
  86. package/.dist/schemas/Organization.js +5 -0
  87. package/.dist/schemas/Organization.js.map +1 -1
  88. package/.dist/schemas/Season.d.ts +679 -0
  89. package/.dist/schemas/Season.js +502 -0
  90. package/.dist/schemas/Season.js.map +1 -0
  91. package/.dist/sellout-proto.js +36625 -26718
  92. package/.dist/utils/EventUtil.js +36 -19
  93. package/.dist/utils/EventUtil.js.map +1 -1
  94. package/.dist/utils/FeeUtil.d.ts +1 -1
  95. package/.dist/utils/FeeUtil.js +19 -11
  96. package/.dist/utils/FeeUtil.js.map +1 -1
  97. package/.dist/utils/SeasonUtil.d.ts +66 -0
  98. package/.dist/utils/SeasonUtil.js +340 -0
  99. package/.dist/utils/SeasonUtil.js.map +1 -0
  100. package/package.json +3 -3
  101. package/src/graphql/fragments/season.fragment.ts +336 -0
  102. package/src/graphql/mutations/createEvent.mutation.ts +1 -0
  103. package/src/graphql/mutations/createFee.mutation.ts +2 -1
  104. package/src/graphql/mutations/createSeason.mutation.ts +68 -0
  105. package/src/graphql/mutations/createSeasonOrder.mutation.ts +61 -0
  106. package/src/graphql/mutations/createSeasonOrderPaymentIntent.mutation.ts +14 -0
  107. package/src/graphql/mutations/publishEvent.mutation.ts +6 -5
  108. package/src/graphql/mutations/publishSeason.mutation.ts +68 -0
  109. package/src/graphql/mutations/updateEvent.mutation.ts +4 -3
  110. package/src/graphql/mutations/updateOrganization.mutation.ts +3 -2
  111. package/src/graphql/mutations/updateSeason.mutation.ts +67 -0
  112. package/src/graphql/queries/event.query.ts +2 -0
  113. package/src/graphql/queries/events.query.ts +1 -0
  114. package/src/graphql/queries/order.query.ts +15 -12
  115. package/src/graphql/queries/orders.query.ts +5 -3
  116. package/src/graphql/queries/profile.query.ts +1 -0
  117. package/src/graphql/queries/promoCodeVerify.query.ts +27 -23
  118. package/src/graphql/queries/publicEvent.query.ts +1 -0
  119. package/src/graphql/queries/publicSeason.query.ts +72 -0
  120. package/src/graphql/queries/season.query.ts +69 -0
  121. package/src/graphql/queries/seasons.query.ts +68 -0
  122. package/src/interfaces/IAnalytics.ts +1 -0
  123. package/src/interfaces/ICreateOrderParams.ts +10 -7
  124. package/src/interfaces/IEvent.ts +1 -0
  125. package/src/interfaces/IFee.ts +12 -11
  126. package/src/interfaces/IOrder.ts +11 -2
  127. package/src/interfaces/IOrderQuery.ts +2 -0
  128. package/src/interfaces/IOrderType.ts +1 -0
  129. package/src/interfaces/IOrganization.ts +1 -0
  130. package/src/interfaces/ISeason.ts +87 -0
  131. package/src/interfaces/ISeasonCustomField.ts +14 -0
  132. package/src/interfaces/ISeasonQuery.ts +25 -0
  133. package/src/interfaces/ISeasonUpgrade.ts +16 -0
  134. package/src/proto/broadcast.proto +29 -0
  135. package/src/proto/email.proto +39 -0
  136. package/src/proto/event.proto +4 -0
  137. package/src/proto/fee.proto +2 -0
  138. package/src/proto/order.proto +60 -0
  139. package/src/proto/organization.proto +1 -0
  140. package/src/proto/season.proto +172 -0
  141. package/src/proto/seating.proto +16 -0
  142. package/src/proto/user.proto +1 -0
  143. package/src/schemas/Event.ts +4 -0
  144. package/src/schemas/Fee.ts +4 -0
  145. package/src/schemas/Order.ts +8 -1
  146. package/src/schemas/Organization.ts +5 -0
  147. package/src/schemas/Season.ts +507 -0
  148. package/src/utils/EventUtil.ts +51 -31
  149. package/src/utils/FeeUtil.ts +25 -17
  150. package/src/utils/SeasonUtil.ts +353 -0
@@ -0,0 +1,23 @@
1
+ interface SeasonFragments {
2
+ schedule: object;
3
+ location: object;
4
+ performances: object;
5
+ ticketTypes: object;
6
+ holds: object;
7
+ upgrades: object;
8
+ promotions: object;
9
+ customFields: object;
10
+ fees: object;
11
+ exchange: object;
12
+ metrics: object;
13
+ webFlowEntity: object;
14
+ artists: object;
15
+ analytics: object;
16
+ purchasePortalPromotions: object;
17
+ Events: object;
18
+ }
19
+ interface SeasonFragment {
20
+ fragments: SeasonFragments;
21
+ }
22
+ declare const Season: SeasonFragment;
23
+ export default Season;
@@ -0,0 +1,315 @@
1
+ "use strict";
2
+ var __importDefault = (this && this.__importDefault) || function (mod) {
3
+ return (mod && mod.__esModule) ? mod : { "default": mod };
4
+ };
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ const graphql_tag_1 = __importDefault(require("graphql-tag"));
7
+ const Season = {
8
+ fragments: {
9
+ schedule: {},
10
+ location: {},
11
+ performances: {},
12
+ ticketTypes: {},
13
+ holds: {},
14
+ upgrades: {},
15
+ promotions: {},
16
+ customFields: {},
17
+ fees: {},
18
+ exchange: {},
19
+ metrics: {},
20
+ webFlowEntity: {},
21
+ artists: {},
22
+ analytics: {},
23
+ purchasePortalPromotions: {},
24
+ Events: {},
25
+ },
26
+ };
27
+ Season.fragments = {
28
+ schedule: (0, graphql_tag_1.default) `
29
+ fragment SeasonSchedule on Season {
30
+ schedule {
31
+ announceAt
32
+ ticketsAt
33
+ ticketsEndAt
34
+ startsAt
35
+ endsAt
36
+ }
37
+ }
38
+ `,
39
+ location: (0, graphql_tag_1.default) `
40
+ fragment Location on Season {
41
+ location {
42
+ address1
43
+ address2
44
+ city
45
+ state
46
+ zip
47
+ country
48
+ phone
49
+ }
50
+ }
51
+ `,
52
+ performances: (0, graphql_tag_1.default) `
53
+ fragment Performances on Season {
54
+ performances {
55
+ _id
56
+ name
57
+ headliningArtistIds
58
+ openingArtistIds
59
+ venueId
60
+ venueStageId
61
+ price
62
+ posterImageUrl
63
+ videoLink
64
+ songLink
65
+ schedule {
66
+ doorsAt
67
+ startsAt
68
+ endsAt
69
+ }
70
+ }
71
+ }
72
+ `,
73
+ ticketTypes: (0, graphql_tag_1.default) `
74
+ fragment TicketTypes on Season {
75
+ ticketTypes {
76
+ _id
77
+ name
78
+ totalQty
79
+ remainingQty
80
+ purchaseLimit
81
+ performanceIds
82
+ visible
83
+ description
84
+ rollFees
85
+ values
86
+ dayIds
87
+ tiers {
88
+ _id
89
+ name
90
+ price
91
+ startsAt
92
+ endsAt
93
+ totalQty
94
+ remainingQty
95
+ }
96
+ }
97
+ }
98
+ `,
99
+ holds: (0, graphql_tag_1.default) `
100
+ fragment TicketHolds on Season {
101
+ holds {
102
+ _id
103
+ name
104
+ qty
105
+ ticketTypeId
106
+ }
107
+ }
108
+ `,
109
+ upgrades: (0, graphql_tag_1.default) `
110
+ fragment SeasonUpgrades on Season {
111
+ upgrades {
112
+ _id
113
+ name
114
+ price
115
+ totalQty
116
+ remainingQty
117
+ purchaseLimit
118
+ complimentary
119
+ complimentaryWith
120
+ complimentaryQty
121
+ ticketTypeIds
122
+ imageUrl
123
+ description
124
+ rollFees
125
+ visible
126
+ }
127
+ }
128
+ `,
129
+ promotions: (0, graphql_tag_1.default) `
130
+ fragment SeasonPromotions on Season {
131
+ promotions {
132
+ _id
133
+ code
134
+ type
135
+ totalQty
136
+ remainingQty
137
+ ticketTypeIds
138
+ upgradeIds
139
+ active
140
+ startsAt
141
+ endsAt
142
+ useLimit
143
+ discountType
144
+ discountValue
145
+ }
146
+ }
147
+ `,
148
+ customFields: (0, graphql_tag_1.default) `
149
+ fragment SeasonCustomFields on Season {
150
+ customFields {
151
+ _id
152
+ label
153
+ type
154
+ minLength
155
+ maxLength
156
+ minValue
157
+ maxValue
158
+ options
159
+ required
160
+ active
161
+ }
162
+ }
163
+ `,
164
+ fees: (0, graphql_tag_1.default) `
165
+ fragment Fees on Season {
166
+ fees {
167
+ _id
168
+ name
169
+ orgId
170
+ seasonId
171
+ type
172
+ value
173
+ appliedTo
174
+ appliedBy
175
+ minAppliedToPrice
176
+ maxAppliedToPrice
177
+ filters
178
+ createdBy
179
+ createdAt
180
+ updatedBy
181
+ updatedAt
182
+ disabled
183
+ }
184
+ }
185
+ `,
186
+ artists: (0, graphql_tag_1.default) `
187
+ fragment Artists on Season {
188
+ artists {
189
+ _id
190
+ name
191
+ genres
192
+ socialAccounts {
193
+ _id
194
+ platform
195
+ link
196
+ }
197
+ pressKits {
198
+ _id
199
+ title
200
+ description
201
+ posterImageUrls
202
+ links {
203
+ platform
204
+ link
205
+ }
206
+ }
207
+ }
208
+ }
209
+ `,
210
+ exchange: (0, graphql_tag_1.default) `
211
+ fragment TicketExchange on Season {
212
+ exchange {
213
+ allowed
214
+ percent
215
+ }
216
+ }
217
+ `,
218
+ metrics: (0, graphql_tag_1.default) `
219
+ fragment Metrics on Season {
220
+ metrics {
221
+ lifeTimeTicketsPurchased
222
+ lifeTimeTicketsRefunded
223
+ lifeTimeUpgradesPurchased
224
+ lifeTimeUpgradesRefunded
225
+ lifeTimeValue
226
+ lifeTimeValueRefunded
227
+ }
228
+ }
229
+ `,
230
+ webFlowEntity: (0, graphql_tag_1.default) `
231
+ fragment WebFlowEntity on Season {
232
+ webFlowEntity {
233
+ _id
234
+ name
235
+ selloutId
236
+ entityType
237
+ alwaysPublishTo
238
+ webFlowIds {
239
+ webFlowSiteId
240
+ webFlowEntityId
241
+ slug
242
+ webFlowSite {
243
+ name
244
+ webFlowId
245
+ enabled
246
+ previewUrl
247
+ domains {
248
+ name
249
+ lastPublishedAt
250
+ }
251
+ createdAt
252
+ updatedAt
253
+ }
254
+ }
255
+ }
256
+ }
257
+ `,
258
+ analytics: (0, graphql_tag_1.default) `
259
+ fragment Analytics on Season {
260
+ analytics {
261
+ label
262
+ type
263
+ interval
264
+ intervalOptions
265
+ coordinates {
266
+ x
267
+ y
268
+ }
269
+ segments {
270
+ label
271
+ type
272
+ coordinates {
273
+ x
274
+ y
275
+ }
276
+ }
277
+ }
278
+ }
279
+ `,
280
+ purchasePortalPromotions: (0, graphql_tag_1.default) `
281
+ fragment SeasonPromotions on Season {
282
+ promotions {
283
+ _id
284
+ type
285
+ totalQty
286
+ remainingQty
287
+ ticketTypeIds
288
+ upgradeIds
289
+ active
290
+ startsAt
291
+ endsAt
292
+ useLimit
293
+ discountType
294
+ discountValue
295
+ }
296
+ }
297
+ `,
298
+ Events: (0, graphql_tag_1.default) `
299
+ fragment SeasonEvents on Season {
300
+ events {
301
+ _id
302
+ name
303
+ schedule {
304
+ announceAt
305
+ ticketsAt
306
+ ticketsEndAt
307
+ startsAt
308
+ endsAt
309
+ }
310
+ }
311
+ }
312
+ `,
313
+ };
314
+ exports.default = Season;
315
+ //# sourceMappingURL=season.fragment.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"season.fragment.js","sourceRoot":"","sources":["../../../src/graphql/fragments/season.fragment.ts"],"names":[],"mappings":";;;;;AAAA,8DAA8B;AAyB9B,MAAM,MAAM,GAAmB;IAC7B,SAAS,EAAE;QACT,QAAQ,EAAE,EAAE;QACZ,QAAQ,EAAE,EAAE;QACZ,YAAY,EAAE,EAAE;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qBb;IACD,wBAAwB,EAAE,IAAA,qBAAG,EAAA;;;;;;;;;;;;;;;;;GAiB5B;IAED,MAAM,EAAE,IAAA,qBAAG,EAAA;;;;;;;;;;;;;;GAcV;CACF,CAAC;AAEF,kBAAe,MAAM,CAAC"}
@@ -12,6 +12,7 @@ const mutation = (0, graphql_tag_1.default) `
12
12
  orgId
13
13
  type
14
14
  name
15
+ seasonId
15
16
  subtitle
16
17
  description
17
18
  userAgreement
@@ -1 +1 @@
1
- {"version":3,"file":"createEvent.mutation.js","sourceRoot":"","sources":["../../../src/graphql/mutations/createEvent.mutation.ts"],"names":[],"mappings":";;;;;AAAA,8DAA8B;AAC9B,iFAAgD;AAEhD,MAAM,QAAQ,GAAG,IAAA,qBAAG,EAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAoDhB,wBAAK,CAAC,SAAS,CAAC,QAAQ;IACxB,wBAAK,CAAC,SAAS,CAAC,QAAQ;IACxB,wBAAK,CAAC,SAAS,CAAC,YAAY;IAC5B,wBAAK,CAAC,SAAS,CAAC,WAAW;IAC3B,wBAAK,CAAC,SAAS,CAAC,KAAK;IACrB,wBAAK,CAAC,SAAS,CAAC,QAAQ;IACxB,wBAAK,CAAC,SAAS,CAAC,UAAU;IAC1B,wBAAK,CAAC,SAAS,CAAC,YAAY;IAC5B,wBAAK,CAAC,SAAS,CAAC,QAAQ;IACxB,wBAAK,CAAC,SAAS,CAAC,IAAI;IACpB,wBAAK,CAAC,SAAS,CAAC,OAAO;IACvB,wBAAK,CAAC,SAAS,CAAC,aAAa;IAC7B,wBAAK,CAAC,SAAS,CAAC,SAAS;CAC5B,CAAC;AAEF,kBAAe,QAAQ,CAAC"}
1
+ {"version":3,"file":"createEvent.mutation.js","sourceRoot":"","sources":["../../../src/graphql/mutations/createEvent.mutation.ts"],"names":[],"mappings":";;;;;AAAA,8DAA8B;AAC9B,iFAAgD;AAEhD,MAAM,QAAQ,GAAG,IAAA,qBAAG,EAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAqDhB,wBAAK,CAAC,SAAS,CAAC,QAAQ;IACxB,wBAAK,CAAC,SAAS,CAAC,QAAQ;IACxB,wBAAK,CAAC,SAAS,CAAC,YAAY;IAC5B,wBAAK,CAAC,SAAS,CAAC,WAAW;IAC3B,wBAAK,CAAC,SAAS,CAAC,KAAK;IACrB,wBAAK,CAAC,SAAS,CAAC,QAAQ;IACxB,wBAAK,CAAC,SAAS,CAAC,UAAU;IAC1B,wBAAK,CAAC,SAAS,CAAC,YAAY;IAC5B,wBAAK,CAAC,SAAS,CAAC,QAAQ;IACxB,wBAAK,CAAC,SAAS,CAAC,IAAI;IACpB,wBAAK,CAAC,SAAS,CAAC,OAAO;IACvB,wBAAK,CAAC,SAAS,CAAC,aAAa;IAC7B,wBAAK,CAAC,SAAS,CAAC,SAAS;CAC5B,CAAC;AAEF,kBAAe,QAAQ,CAAC"}
@@ -11,6 +11,7 @@ const mutation = (0, graphql_tag_1.default) `
11
11
  name
12
12
  orgId
13
13
  eventId
14
+ seasonId
14
15
  type
15
16
  value
16
17
  appliedTo
@@ -1 +1 @@
1
- {"version":3,"file":"createFee.mutation.js","sourceRoot":"","sources":["../../../src/graphql/mutations/createFee.mutation.ts"],"names":[],"mappings":";;;;;AAAA,8DAA8B;AAE9B,MAAM,QAAQ,GAAG,IAAA,qBAAG,EAAA;;;;;;;;;;;;;;;;;;;;;CAqBnB,CAAC;AAEF,kBAAe,QAAQ,CAAC"}
1
+ {"version":3,"file":"createFee.mutation.js","sourceRoot":"","sources":["../../../src/graphql/mutations/createFee.mutation.ts"],"names":[],"mappings":";;;;;AAAA,8DAA8B;AAE9B,MAAM,QAAQ,GAAG,IAAA,qBAAG,EAAA;;;;;;;;;;;;;;;;;;;;;;CAsBnB,CAAC;AAEF,kBAAe,QAAQ,CAAC"}
@@ -0,0 +1,2 @@
1
+ declare const mutation: import("graphql").DocumentNode;
2
+ export default mutation;
@@ -0,0 +1,72 @@
1
+ "use strict";
2
+ var __importDefault = (this && this.__importDefault) || function (mod) {
3
+ return (mod && mod.__esModule) ? mod : { "default": mod };
4
+ };
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ const graphql_tag_1 = __importDefault(require("graphql-tag"));
7
+ const season_fragment_1 = __importDefault(require("../fragments/season.fragment"));
8
+ const mutation = (0, graphql_tag_1.default) `
9
+ mutation createSeason($season: SeasonInput!) {
10
+ createSeason(season: $season) {
11
+ _id
12
+ orgId
13
+ name
14
+ subtitle
15
+ description
16
+ userAgreement
17
+ processAs
18
+ posterImageUrl
19
+ venueId
20
+ createdAt
21
+ publishable
22
+ seatingChartKey
23
+ age
24
+ sendQRCode
25
+ hasOrders
26
+ taxDeduction
27
+ organization {
28
+ orgName
29
+ }
30
+ venue {
31
+ _id
32
+ name
33
+ address {
34
+ state
35
+ city
36
+ }
37
+ imageUrls
38
+ }
39
+ published
40
+ salesBeginImmediately
41
+ ...SeasonSchedule
42
+ ...Location
43
+ ...Performances
44
+ ...TicketTypes
45
+ ...TicketHolds
46
+ ...SeasonUpgrades
47
+ ...SeasonPromotions
48
+ ...SeasonCustomFields
49
+ ...TicketExchange
50
+ ...Fees
51
+ ...Artists
52
+ ...WebFlowEntity
53
+ ...Analytics
54
+ }
55
+ }
56
+
57
+ ${season_fragment_1.default.fragments.schedule}
58
+ ${season_fragment_1.default.fragments.location}
59
+ ${season_fragment_1.default.fragments.performances}
60
+ ${season_fragment_1.default.fragments.ticketTypes}
61
+ ${season_fragment_1.default.fragments.holds}
62
+ ${season_fragment_1.default.fragments.upgrades}
63
+ ${season_fragment_1.default.fragments.promotions}
64
+ ${season_fragment_1.default.fragments.customFields}
65
+ ${season_fragment_1.default.fragments.exchange}
66
+ ${season_fragment_1.default.fragments.fees}
67
+ ${season_fragment_1.default.fragments.artists}
68
+ ${season_fragment_1.default.fragments.webFlowEntity}
69
+ ${season_fragment_1.default.fragments.analytics}
70
+ `;
71
+ exports.default = mutation;
72
+ //# sourceMappingURL=createSeason.mutation.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"createSeason.mutation.js","sourceRoot":"","sources":["../../../src/graphql/mutations/createSeason.mutation.ts"],"names":[],"mappings":";;;;;AAAA,8DAA8B;AAC9B,mFAAkD;AAElD,MAAM,QAAQ,GAAG,IAAA,qBAAG,EAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAiDhB,yBAAM,CAAC,SAAS,CAAC,QAAQ;IACzB,yBAAM,CAAC,SAAS,CAAC,QAAQ;IACzB,yBAAM,CAAC,SAAS,CAAC,YAAY;IAC7B,yBAAM,CAAC,SAAS,CAAC,WAAW;IAC5B,yBAAM,CAAC,SAAS,CAAC,KAAK;IACtB,yBAAM,CAAC,SAAS,CAAC,QAAQ;IACzB,yBAAM,CAAC,SAAS,CAAC,UAAU;IAC3B,yBAAM,CAAC,SAAS,CAAC,YAAY;IAC7B,yBAAM,CAAC,SAAS,CAAC,QAAQ;IACzB,yBAAM,CAAC,SAAS,CAAC,IAAI;IACrB,yBAAM,CAAC,SAAS,CAAC,OAAO;IACxB,yBAAM,CAAC,SAAS,CAAC,aAAa;IAC9B,yBAAM,CAAC,SAAS,CAAC,SAAS;CAC7B,CAAC;AAEF,kBAAe,QAAQ,CAAC"}
@@ -0,0 +1,2 @@
1
+ declare const mutation: import("graphql").DocumentNode;
2
+ export default mutation;
@@ -0,0 +1,65 @@
1
+ "use strict";
2
+ var __importDefault = (this && this.__importDefault) || function (mod) {
3
+ return (mod && mod.__esModule) ? mod : { "default": mod };
4
+ };
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ const graphql_tag_1 = __importDefault(require("graphql-tag"));
7
+ const mutation = (0, graphql_tag_1.default) `
8
+ mutation createSeasonOrder($params: OrderSeasonInput!) {
9
+ createSeasonOrder(params: $params) {
10
+ _id
11
+ userId
12
+ orgId
13
+ seasonId
14
+ createdAt
15
+ stripeChargeId
16
+ feeIds
17
+ tickets {
18
+ _id
19
+ name
20
+ ticketTypeId
21
+ ticketTierId
22
+ price
23
+ seat
24
+ refund {
25
+ refunded
26
+ refundedAt
27
+ refundedBy
28
+ refundedAmount
29
+ __typename
30
+ }
31
+ scan {
32
+ scanned
33
+ scannedAt
34
+ scannedBy
35
+ __typename
36
+ }
37
+ values
38
+ __typename
39
+ }
40
+ upgrades {
41
+ _id
42
+ name
43
+ upgradeId
44
+ price
45
+ refund {
46
+ refunded
47
+ refundedAt
48
+ refundedBy
49
+ refundedAmount
50
+ __typename
51
+ }
52
+ scan {
53
+ scanned
54
+ scannedAt
55
+ scannedBy
56
+ __typename
57
+ }
58
+ __typename
59
+ }
60
+ __typename
61
+ }
62
+ }
63
+ `;
64
+ exports.default = mutation;
65
+ //# sourceMappingURL=createSeasonOrder.mutation.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"createSeasonOrder.mutation.js","sourceRoot":"","sources":["../../../src/graphql/mutations/createSeasonOrder.mutation.ts"],"names":[],"mappings":";;;;;AAAA,8DAA8B;AAE9B,MAAM,QAAQ,GAAG,IAAA,qBAAG,EAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAwDnB,CAAC;AAEF,kBAAe,QAAQ,CAAC"}
@@ -0,0 +1,2 @@
1
+ declare const mutation: import("graphql").DocumentNode;
2
+ export default mutation;
@@ -0,0 +1,18 @@
1
+ "use strict";
2
+ var __importDefault = (this && this.__importDefault) || function (mod) {
3
+ return (mod && mod.__esModule) ? mod : { "default": mod };
4
+ };
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ const graphql_tag_1 = __importDefault(require("graphql-tag"));
7
+ const mutation = (0, graphql_tag_1.default) `
8
+ mutation createSeasonOrderPaymentIntent(
9
+ $params: OrderSeasonPaymentIntentInput!
10
+ ) {
11
+ createSeasonOrderPaymentIntent(params: $params) {
12
+ paymentIntentId
13
+ clientSecret
14
+ }
15
+ }
16
+ `;
17
+ exports.default = mutation;
18
+ //# sourceMappingURL=createSeasonOrderPaymentIntent.mutation.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"createSeasonOrderPaymentIntent.mutation.js","sourceRoot":"","sources":["../../../src/graphql/mutations/createSeasonOrderPaymentIntent.mutation.ts"],"names":[],"mappings":";;;;;AAAA,8DAA8B;AAE9B,MAAM,QAAQ,GAAG,IAAA,qBAAG,EAAA;;;;;;;;;CASnB,CAAC;AAEF,kBAAe,QAAQ,CAAC"}
@@ -7,21 +7,22 @@ const graphql_tag_1 = __importDefault(require("graphql-tag"));
7
7
  const event_fragment_1 = __importDefault(require("../fragments/event.fragment"));
8
8
  const mutation = (0, graphql_tag_1.default) `
9
9
  mutation publishEvent(
10
- $eventId: String!,
11
- $publishSiteIds: [String],
10
+ $eventId: String!
11
+ $publishSiteIds: [String]
12
12
  $unpublishSiteIds: [String]
13
13
  $published: Boolean
14
14
  ) {
15
15
  publishEvent(
16
- eventId: $eventId,
17
- publishSiteIds: $publishSiteIds,
16
+ eventId: $eventId
17
+ publishSiteIds: $publishSiteIds
18
18
  unpublishSiteIds: $unpublishSiteIds
19
19
  published: $published
20
20
  ) {
21
- _id
21
+ _id
22
22
  orgId
23
23
  type
24
24
  name
25
+ seasonId
25
26
  subtitle
26
27
  description
27
28
  userAgreement
@@ -1 +1 @@
1
- {"version":3,"file":"publishEvent.mutation.js","sourceRoot":"","sources":["../../../src/graphql/mutations/publishEvent.mutation.ts"],"names":[],"mappings":";;;;;AAAA,8DAA8B;AAC9B,iFAAgD;AAEhD,MAAM,QAAQ,GAAG,IAAA,qBAAG,EAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IA+DhB,wBAAK,CAAC,SAAS,CAAC,QAAQ;IACxB,wBAAK,CAAC,SAAS,CAAC,QAAQ;IACxB,wBAAK,CAAC,SAAS,CAAC,YAAY;IAC5B,wBAAK,CAAC,SAAS,CAAC,WAAW;IAC3B,wBAAK,CAAC,SAAS,CAAC,KAAK;IACrB,wBAAK,CAAC,SAAS,CAAC,QAAQ;IACxB,wBAAK,CAAC,SAAS,CAAC,UAAU;IAC1B,wBAAK,CAAC,SAAS,CAAC,YAAY;IAC5B,wBAAK,CAAC,SAAS,CAAC,QAAQ;IACxB,wBAAK,CAAC,SAAS,CAAC,IAAI;IACpB,wBAAK,CAAC,SAAS,CAAC,OAAO;IACvB,wBAAK,CAAC,SAAS,CAAC,aAAa;IAC7B,wBAAK,CAAC,SAAS,CAAC,SAAS;CAC5B,CAAC;AAEF,kBAAe,QAAQ,CAAC"}
1
+ {"version":3,"file":"publishEvent.mutation.js","sourceRoot":"","sources":["../../../src/graphql/mutations/publishEvent.mutation.ts"],"names":[],"mappings":";;;;;AAAA,8DAA8B;AAC9B,iFAAgD;AAEhD,MAAM,QAAQ,GAAG,IAAA,qBAAG,EAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAgEhB,wBAAK,CAAC,SAAS,CAAC,QAAQ;IACxB,wBAAK,CAAC,SAAS,CAAC,QAAQ;IACxB,wBAAK,CAAC,SAAS,CAAC,YAAY;IAC5B,wBAAK,CAAC,SAAS,CAAC,WAAW;IAC3B,wBAAK,CAAC,SAAS,CAAC,KAAK;IACrB,wBAAK,CAAC,SAAS,CAAC,QAAQ;IACxB,wBAAK,CAAC,SAAS,CAAC,UAAU;IAC1B,wBAAK,CAAC,SAAS,CAAC,YAAY;IAC5B,wBAAK,CAAC,SAAS,CAAC,QAAQ;IACxB,wBAAK,CAAC,SAAS,CAAC,IAAI;IACpB,wBAAK,CAAC,SAAS,CAAC,OAAO;IACvB,wBAAK,CAAC,SAAS,CAAC,aAAa;IAC7B,wBAAK,CAAC,SAAS,CAAC,SAAS;CAC5B,CAAC;AAEF,kBAAe,QAAQ,CAAC"}
@@ -0,0 +1,2 @@
1
+ declare const mutation: import("graphql").DocumentNode;
2
+ export default mutation;
@@ -0,0 +1,72 @@
1
+ "use strict";
2
+ var __importDefault = (this && this.__importDefault) || function (mod) {
3
+ return (mod && mod.__esModule) ? mod : { "default": mod };
4
+ };
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ const graphql_tag_1 = __importDefault(require("graphql-tag"));
7
+ const season_fragment_1 = __importDefault(require("../fragments/season.fragment"));
8
+ const mutation = (0, graphql_tag_1.default) `
9
+ mutation publishSeason($seasonId: String!, $published: Boolean) {
10
+ publishSeason(seasonId: $seasonId, published: $published) {
11
+ _id
12
+ orgId
13
+ name
14
+ subtitle
15
+ description
16
+ userAgreement
17
+ processAs
18
+ posterImageUrl
19
+ venueId
20
+ createdAt
21
+ publishable
22
+ seatingChartKey
23
+ age
24
+ sendQRCode
25
+ hasOrders
26
+ taxDeduction
27
+ organization {
28
+ orgName
29
+ }
30
+ venue {
31
+ _id
32
+ name
33
+ address {
34
+ state
35
+ city
36
+ }
37
+ imageUrls
38
+ }
39
+ published
40
+ salesBeginImmediately
41
+ ...SeasonSchedule
42
+ ...Location
43
+ ...Performances
44
+ ...TicketTypes
45
+ ...TicketHolds
46
+ ...SeasonUpgrades
47
+ ...SeasonPromotions
48
+ ...SeasonCustomFields
49
+ ...TicketExchange
50
+ ...Fees
51
+ ...Artists
52
+ ...WebFlowEntity
53
+ ...Analytics
54
+ }
55
+ }
56
+
57
+ ${season_fragment_1.default.fragments.schedule}
58
+ ${season_fragment_1.default.fragments.location}
59
+ ${season_fragment_1.default.fragments.performances}
60
+ ${season_fragment_1.default.fragments.ticketTypes}
61
+ ${season_fragment_1.default.fragments.holds}
62
+ ${season_fragment_1.default.fragments.upgrades}
63
+ ${season_fragment_1.default.fragments.promotions}
64
+ ${season_fragment_1.default.fragments.customFields}
65
+ ${season_fragment_1.default.fragments.exchange}
66
+ ${season_fragment_1.default.fragments.fees}
67
+ ${season_fragment_1.default.fragments.artists}
68
+ ${season_fragment_1.default.fragments.webFlowEntity}
69
+ ${season_fragment_1.default.fragments.analytics}
70
+ `;
71
+ exports.default = mutation;
72
+ //# sourceMappingURL=publishSeason.mutation.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"publishSeason.mutation.js","sourceRoot":"","sources":["../../../src/graphql/mutations/publishSeason.mutation.ts"],"names":[],"mappings":";;;;;AAAA,8DAA8B;AAC9B,mFAAkD;AAElD,MAAM,QAAQ,GAAG,IAAA,qBAAG,EAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAiDhB,yBAAM,CAAC,SAAS,CAAC,QAAQ;IACzB,yBAAM,CAAC,SAAS,CAAC,QAAQ;IACzB,yBAAM,CAAC,SAAS,CAAC,YAAY;IAC7B,yBAAM,CAAC,SAAS,CAAC,WAAW;IAC5B,yBAAM,CAAC,SAAS,CAAC,KAAK;IACtB,yBAAM,CAAC,SAAS,CAAC,QAAQ;IACzB,yBAAM,CAAC,SAAS,CAAC,UAAU;IAC3B,yBAAM,CAAC,SAAS,CAAC,YAAY;IAC7B,yBAAM,CAAC,SAAS,CAAC,QAAQ;IACzB,yBAAM,CAAC,SAAS,CAAC,IAAI;IACrB,yBAAM,CAAC,SAAS,CAAC,OAAO;IACxB,yBAAM,CAAC,SAAS,CAAC,aAAa;IAC9B,yBAAM,CAAC,SAAS,CAAC,SAAS;CAC7B,CAAC;AAEF,kBAAe,QAAQ,CAAC"}
@@ -8,10 +8,11 @@ const event_fragment_1 = __importDefault(require("../fragments/event.fragment"))
8
8
  const mutation = (0, graphql_tag_1.default) `
9
9
  mutation updateEvent($event: EventInput!) {
10
10
  updateEvent(event: $event) {
11
- _id
11
+ _id
12
12
  orgId
13
13
  type
14
14
  name
15
+ seasonId
15
16
  subtitle
16
17
  description
17
18
  userAgreement
@@ -1 +1 @@
1
- {"version":3,"file":"updateEvent.mutation.js","sourceRoot":"","sources":["../../../src/graphql/mutations/updateEvent.mutation.ts"],"names":[],"mappings":";;;;;AAAA,8DAA8B;AAC9B,iFAAgD;AA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