@burdenoff/sdk-libs 2026.627.5 → 2026.703.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.
@@ -0,0 +1,321 @@
1
+ var r=`
2
+ fragment BrandScalars on CooBrand {
3
+ id name handle tagline bio status isFeatured
4
+ aesthetics tags websiteUrl
5
+ logo { id } cover { id }
6
+ workspaceId createdAt updatedAt
7
+ }
8
+ `,d=`
9
+ fragment CollectionScalars on CooCollection {
10
+ id brandId name description season status tags publishAt endAt
11
+ cover { id }
12
+ workspaceId createdAt updatedAt
13
+ }
14
+ `,l=`
15
+ fragment StyleItemScalars on CooStyleItem {
16
+ id brandId collectionId name description category status
17
+ price currency sizes colours materials sku tags
18
+ image { id }
19
+ workspaceId createdAt updatedAt
20
+ }
21
+ `,uo=`
22
+ fragment LookItemScalars on CooLookItem {
23
+ id lookId styleItemId position styling
24
+ workspaceId createdAt updatedAt
25
+ }
26
+ `,p=`
27
+ fragment LookScalars on CooLook {
28
+ id authorId collaborationId title caption occasion visibility
29
+ isFeatured likeCount saveCount publishedAt tags
30
+ image { id }
31
+ workspaceId createdAt updatedAt
32
+ }
33
+ `,A=`
34
+ fragment LookbookEntryFields on CooLookbookEntry {
35
+ id lookbookId lookId styleItemId note position
36
+ workspaceId createdAt updatedAt
37
+ }
38
+ `,I=`
39
+ fragment LookbookScalars on CooLookbook {
40
+ id ownerId profileId name description visibility tags
41
+ cover { id }
42
+ workspaceId createdAt updatedAt
43
+ }
44
+ `,L=`
45
+ fragment CollaborationScalars on CooCollaboration {
46
+ id brandId creatorId collectionId title brief role status
47
+ compensation currency startDate endDate publishedAt tags
48
+ workspaceId createdAt updatedAt
49
+ }
50
+ `,i=`
51
+ fragment WardrobeItemFields on CooWardrobeItem {
52
+ id profileId styleItemId name brandName category colour size source notes
53
+ timesWorn lastWornAt tags
54
+ image { id }
55
+ workspaceId createdAt updatedAt
56
+ }
57
+ `,po=`
58
+ fragment StyleProfileScalars on CooStyleProfile {
59
+ id ownerId displayName bio palette stylePreferences favouriteBrands sizes visibility
60
+ workspaceId createdAt updatedAt
61
+ }
62
+ `,C=`
63
+ ${r}
64
+ ${d}
65
+ ${l}
66
+ fragment BrandFull on CooBrand {
67
+ ...BrandScalars
68
+ collections { ...CollectionScalars }
69
+ items { ...StyleItemScalars }
70
+ }
71
+ `,c=`
72
+ ${d}
73
+ ${r}
74
+ ${l}
75
+ fragment CollectionFull on CooCollection {
76
+ ...CollectionScalars
77
+ brand { ...BrandScalars }
78
+ items { ...StyleItemScalars }
79
+ }
80
+ `,y=`
81
+ ${l}
82
+ ${r}
83
+ ${d}
84
+ fragment StyleItemFull on CooStyleItem {
85
+ ...StyleItemScalars
86
+ brand { ...BrandScalars }
87
+ collection { ...CollectionScalars }
88
+ }
89
+ `,s=`
90
+ ${p}
91
+ ${uo}
92
+ ${l}
93
+ ${L}
94
+ fragment LookItemFull on CooLookItem {
95
+ ...LookItemScalars
96
+ styleItem { ...StyleItemScalars }
97
+ }
98
+ fragment LookFull on CooLook {
99
+ ...LookScalars
100
+ items { ...LookItemFull }
101
+ collaboration { ...CollaborationScalars }
102
+ }
103
+ `,E=`
104
+ ${I}
105
+ ${A}
106
+ fragment LookbookFull on CooLookbook {
107
+ ...LookbookScalars
108
+ entries { ...LookbookEntryFields }
109
+ }
110
+ `,m=`
111
+ ${L}
112
+ ${r}
113
+ ${p}
114
+ fragment CollaborationFull on CooCollaboration {
115
+ ...CollaborationScalars
116
+ brand { ...BrandScalars }
117
+ looks { ...LookScalars }
118
+ }
119
+ `,O=`
120
+ ${po}
121
+ ${I}
122
+ ${i}
123
+ fragment StyleProfileFull on CooStyleProfile {
124
+ ...StyleProfileScalars
125
+ lookbooks { ...LookbookScalars }
126
+ wardrobeItems { ...WardrobeItemFields }
127
+ }
128
+ `,$=`
129
+ ${C}
130
+ query CooBrand($id: ID!) { cooBrand(id: $id) { ...BrandFull } }
131
+ `,T=`
132
+ ${r}
133
+ query CooListBrands($status: CooBrandStatus, $featured: Boolean, $pagination: PaginationInput) {
134
+ cooListBrands(status: $status, featured: $featured, pagination: $pagination) {
135
+ items { ...BrandScalars }
136
+ pageInfo { cursor hasMore }
137
+ }
138
+ }
139
+ `,_=`
140
+ ${C}
141
+ mutation CooCreateBrand($input: CooCreateBrandInput!) {
142
+ cooCreateBrand(input: $input) { ...BrandFull }
143
+ }
144
+ `,B=`
145
+ ${C}
146
+ mutation CooUpdateBrand($id: ID!, $input: CooUpdateBrandInput!) {
147
+ cooUpdateBrand(id: $id, input: $input) { ...BrandFull }
148
+ }
149
+ `,g=`
150
+ mutation CooArchiveBrand($id: ID!) { cooArchiveBrand(id: $id) }
151
+ `,P=`
152
+ ${C}
153
+ mutation CooTransitionBrand($id: ID!, $status: CooBrandStatus!) {
154
+ cooTransitionBrand(id: $id, status: $status) { ...BrandFull }
155
+ }
156
+ `,R=`
157
+ ${c}
158
+ query CooCollection($id: ID!) { cooCollection(id: $id) { ...CollectionFull } }
159
+ `,v=`
160
+ ${d}
161
+ query CooListCollections($brandId: ID, $status: CooCollectionStatus) {
162
+ cooListCollections(brandId: $brandId, status: $status) { ...CollectionScalars }
163
+ }
164
+ `,f=`
165
+ ${c}
166
+ mutation CooCreateCollection($input: CooCreateCollectionInput!) {
167
+ cooCreateCollection(input: $input) { ...CollectionFull }
168
+ }
169
+ `,D=`
170
+ ${c}
171
+ mutation CooUpdateCollection($id: ID!, $input: CooUpdateCollectionInput!) {
172
+ cooUpdateCollection(id: $id, input: $input) { ...CollectionFull }
173
+ }
174
+ `,W=`
175
+ ${c}
176
+ mutation CooPublishCollection($id: ID!) {
177
+ cooPublishCollection(id: $id) { ...CollectionFull }
178
+ }
179
+ `,U=`
180
+ ${y}
181
+ query CooStyleItem($id: ID!) { cooStyleItem(id: $id) { ...StyleItemFull } }
182
+ `,w=`
183
+ ${l}
184
+ query CooListStyleItems(
185
+ $brandId: ID
186
+ $collectionId: ID
187
+ $category: CooStyleCategory
188
+ $status: CooStyleItemStatus
189
+ $pagination: PaginationInput
190
+ ) {
191
+ cooListStyleItems(
192
+ brandId: $brandId
193
+ collectionId: $collectionId
194
+ category: $category
195
+ status: $status
196
+ pagination: $pagination
197
+ ) {
198
+ items { ...StyleItemScalars }
199
+ pageInfo { cursor hasMore }
200
+ }
201
+ }
202
+ `,F=`
203
+ ${y}
204
+ mutation CooCreateStyleItem($input: CooCreateStyleItemInput!) {
205
+ cooCreateStyleItem(input: $input) { ...StyleItemFull }
206
+ }
207
+ `,x=`
208
+ ${y}
209
+ mutation CooUpdateStyleItem($id: ID!, $input: CooUpdateStyleItemInput!) {
210
+ cooUpdateStyleItem(id: $id, input: $input) { ...StyleItemFull }
211
+ }
212
+ `,q=`
213
+ mutation CooArchiveStyleItem($id: ID!) { cooArchiveStyleItem(id: $id) }
214
+ `,N=`
215
+ ${s}
216
+ query CooLook($id: ID!) { cooLook(id: $id) { ...LookFull } }
217
+ `,h=`
218
+ ${p}
219
+ query CooListLooks(
220
+ $authorId: ID
221
+ $featured: Boolean
222
+ $occasion: CooLookOccasion
223
+ $pagination: PaginationInput
224
+ ) {
225
+ cooListLooks(
226
+ authorId: $authorId
227
+ featured: $featured
228
+ occasion: $occasion
229
+ pagination: $pagination
230
+ ) {
231
+ items { ...LookScalars }
232
+ pageInfo { cursor hasMore }
233
+ }
234
+ }
235
+ `,K=`
236
+ ${s}
237
+ mutation CooCreateLook($input: CooCreateLookInput!) {
238
+ cooCreateLook(input: $input) { ...LookFull }
239
+ }
240
+ `,M=`
241
+ ${s}
242
+ mutation CooUpdateLook($id: ID!, $input: CooUpdateLookInput!) {
243
+ cooUpdateLook(id: $id, input: $input) { ...LookFull }
244
+ }
245
+ `,Y=`
246
+ ${s}
247
+ mutation CooPublishLook($id: ID!) { cooPublishLook(id: $id) { ...LookFull } }
248
+ `,H=`
249
+ ${s}
250
+ mutation CooLikeLook($id: ID!) { cooLikeLook(id: $id) { ...LookFull } }
251
+ `,G=`
252
+ mutation CooDeleteLook($id: ID!) { cooDeleteLook(id: $id) }
253
+ `,V=`
254
+ ${E}
255
+ query CooLookbook($id: ID!) { cooLookbook(id: $id) { ...LookbookFull } }
256
+ `,j=`
257
+ ${I}
258
+ query CooListLookbooks($ownerId: ID) {
259
+ cooListLookbooks(ownerId: $ownerId) { ...LookbookScalars }
260
+ }
261
+ `,z=`
262
+ ${E}
263
+ mutation CooCreateLookbook($input: CooCreateLookbookInput!) {
264
+ cooCreateLookbook(input: $input) { ...LookbookFull }
265
+ }
266
+ `,J=`
267
+ ${A}
268
+ mutation CooAddLookbookEntry($input: CooAddLookbookEntryInput!) {
269
+ cooAddLookbookEntry(input: $input) { ...LookbookEntryFields }
270
+ }
271
+ `,Q=`
272
+ mutation CooRemoveLookbookEntry($id: ID!) { cooRemoveLookbookEntry(id: $id) }
273
+ `,X=`
274
+ ${m}
275
+ query CooCollaboration($id: ID!) { cooCollaboration(id: $id) { ...CollaborationFull } }
276
+ `,Z=`
277
+ ${L}
278
+ query CooListCollaborations($brandId: ID, $creatorId: ID, $status: CooCollaborationStatus) {
279
+ cooListCollaborations(brandId: $brandId, creatorId: $creatorId, status: $status) {
280
+ ...CollaborationScalars
281
+ }
282
+ }
283
+ `,oo=`
284
+ ${m}
285
+ mutation CooCreateCollaboration($input: CooCreateCollaborationInput!) {
286
+ cooCreateCollaboration(input: $input) { ...CollaborationFull }
287
+ }
288
+ `,to=`
289
+ ${m}
290
+ mutation CooTransitionCollaboration($id: ID!, $status: CooCollaborationStatus!) {
291
+ cooTransitionCollaboration(id: $id, status: $status) { ...CollaborationFull }
292
+ }
293
+ `,eo=`
294
+ ${i}
295
+ query CooListWardrobeItems($category: CooStyleCategory, $source: CooWardrobeSource) {
296
+ cooListWardrobeItems(category: $category, source: $source) { ...WardrobeItemFields }
297
+ }
298
+ `,ao=`
299
+ ${i}
300
+ mutation CooCreateWardrobeItem($input: CooCreateWardrobeItemInput!) {
301
+ cooCreateWardrobeItem(input: $input) { ...WardrobeItemFields }
302
+ }
303
+ `,no=`
304
+ ${i}
305
+ mutation CooUpdateWardrobeItem($id: ID!, $input: CooUpdateWardrobeItemInput!) {
306
+ cooUpdateWardrobeItem(id: $id, input: $input) { ...WardrobeItemFields }
307
+ }
308
+ `,ro=`
309
+ ${i}
310
+ mutation CooLogWardrobeWear($id: ID!) { cooLogWardrobeWear(id: $id) { ...WardrobeItemFields } }
311
+ `,lo=`
312
+ mutation CooRemoveWardrobeItem($id: ID!) { cooRemoveWardrobeItem(id: $id) }
313
+ `,io=`
314
+ ${O}
315
+ query CooMyStyleProfile { cooMyStyleProfile { ...StyleProfileFull } }
316
+ `,so=`
317
+ ${O}
318
+ mutation CooUpsertStyleProfile($input: CooUpsertStyleProfileInput!) {
319
+ cooUpsertStyleProfile(input: $input) { ...StyleProfileFull }
320
+ }
321
+ `,Co="query CooHealth { cooHealth }";function co(u){let{workspace:e}=u.gql;return {brands:{async get(o){return (await e.request($,{id:o})).cooBrand},async list(o,t,a){return (await e.request(T,{status:o,featured:t,pagination:a})).cooListBrands},async create(o){return (await e.request(_,{input:o})).cooCreateBrand},async update(o,t){return (await e.request(B,{id:o,input:t})).cooUpdateBrand},async archive(o){return (await e.request(g,{id:o})).cooArchiveBrand},async transition(o,t){return (await e.request(P,{id:o,status:t})).cooTransitionBrand}},collections:{async get(o){return (await e.request(R,{id:o})).cooCollection},async list(o,t){return (await e.request(v,{brandId:o,status:t})).cooListCollections},async create(o){return (await e.request(f,{input:o})).cooCreateCollection},async update(o,t){return (await e.request(D,{id:o,input:t})).cooUpdateCollection},async publish(o){return (await e.request(W,{id:o})).cooPublishCollection}},styleItems:{async get(o){return (await e.request(U,{id:o})).cooStyleItem},async list(o,t,a,n,k){return (await e.request(w,{brandId:o,collectionId:t,category:a,status:n,pagination:k})).cooListStyleItems},async create(o){return (await e.request(F,{input:o})).cooCreateStyleItem},async update(o,t){return (await e.request(x,{id:o,input:t})).cooUpdateStyleItem},async archive(o){return (await e.request(q,{id:o})).cooArchiveStyleItem}},looks:{async get(o){return (await e.request(N,{id:o})).cooLook},async list(o,t,a,n){return (await e.request(h,{authorId:o,featured:t,occasion:a,pagination:n})).cooListLooks},async create(o){return (await e.request(K,{input:o})).cooCreateLook},async update(o,t){return (await e.request(M,{id:o,input:t})).cooUpdateLook},async publish(o){return (await e.request(Y,{id:o})).cooPublishLook},async like(o){return (await e.request(H,{id:o})).cooLikeLook},async delete(o){return (await e.request(G,{id:o})).cooDeleteLook}},lookbooks:{async get(o){return (await e.request(V,{id:o})).cooLookbook},async list(o){return (await e.request(j,{ownerId:o})).cooListLookbooks},async create(o){return (await e.request(z,{input:o})).cooCreateLookbook},async addEntry(o){return (await e.request(J,{input:o})).cooAddLookbookEntry},async removeEntry(o){return (await e.request(Q,{id:o})).cooRemoveLookbookEntry}},collaborations:{async get(o){return (await e.request(X,{id:o})).cooCollaboration},async list(o,t,a){return (await e.request(Z,{brandId:o,creatorId:t,status:a})).cooListCollaborations},async create(o){return (await e.request(oo,{input:o})).cooCreateCollaboration},async transition(o,t){return (await e.request(to,{id:o,status:t})).cooTransitionCollaboration}},wardrobe:{async list(o,t){return (await e.request(eo,{category:o,source:t})).cooListWardrobeItems},async create(o){return (await e.request(ao,{input:o})).cooCreateWardrobeItem},async update(o,t){return (await e.request(no,{id:o,input:t})).cooUpdateWardrobeItem},async logWear(o){return (await e.request(ro,{id:o})).cooLogWardrobeWear},async remove(o){return (await e.request(lo,{id:o})).cooRemoveWardrobeItem}},profile:{async get(){return (await e.request(io)).cooMyStyleProfile},async upsert(o){return (await e.request(so,{input:o})).cooUpsertStyleProfile}},analytics:{async health(){return (await e.request(Co)).cooHealth}}}}var Io={id:"coolandlovely",version:"1.0.0",displayName:"CoolAndLovely",dependsOn:["auth"],attach(u){return co(u)}},vo=Io;export{vo as default};
@@ -0,0 +1,359 @@
1
+ 'use strict';var n=`
2
+ fragment TitleScalars on HokTitle {
3
+ id title type status slug synopsis genres tags
4
+ certification originCountry originalLanguage
5
+ releaseDate releaseYear runtimeMinutes aiDisclosure externalIds
6
+ studioId workspaceId createdAt updatedAt
7
+ }
8
+ `,I=`
9
+ fragment StudioScalars on HokStudio {
10
+ id name slug country description isVerified tags websiteUrl
11
+ workspaceId createdAt updatedAt
12
+ }
13
+ `,T=`
14
+ fragment PersonScalars on HokPerson {
15
+ id name biography knownFor portfolioRef primaryLanguage tags
16
+ workspaceId createdAt updatedAt
17
+ }
18
+ `,A=`
19
+ fragment CreditScalars on HokCredit {
20
+ id billingOrder characterName personId role titleId
21
+ workspaceId createdAt updatedAt
22
+ }
23
+ `,k=`
24
+ fragment EpisodeFields on HokEpisode {
25
+ id name number titleId seasonId airDate runtimeMinutes synopsis
26
+ file { id }
27
+ workspaceId createdAt updatedAt
28
+ }
29
+ `,m=`
30
+ ${k}
31
+ fragment SeasonFields on HokSeason {
32
+ id number name titleId airDate synopsis
33
+ episodes { ...EpisodeFields }
34
+ workspaceId createdAt updatedAt
35
+ }
36
+ `,E=`
37
+ fragment ProductionScalars on HokProduction {
38
+ id title status logline synopsis currency budgetMinorUnits tags
39
+ artistrybaseProjectRef producerId studioId resultingTitleId
40
+ startDate endDate workspaceId createdAt updatedAt
41
+ }
42
+ `,h=`
43
+ fragment AuditionScalars on HokAudition {
44
+ id roleName status description productionId currency payMinorUnits
45
+ isMinorRole language location submissionDeadline
46
+ workspaceId createdAt updatedAt
47
+ }
48
+ `,r=`
49
+ fragment ApplicationFields on HokApplication {
50
+ id applicantId auditionId coverNote score status
51
+ selfTape { id }
52
+ workspaceId createdAt updatedAt
53
+ }
54
+ `,d=`
55
+ fragment ListFields on HokList {
56
+ id name description kind visibility ownerId itemCount items
57
+ workspaceId createdAt updatedAt
58
+ }
59
+ `,S=`
60
+ ${n}
61
+ fragment ReviewFields on HokReview {
62
+ id authorId titleId score body aspectScores hasSpoilers
63
+ helpfulCount verifiedWatch status
64
+ title { ...TitleScalars }
65
+ workspaceId createdAt updatedAt
66
+ }
67
+ `,P=`
68
+ ${n}
69
+ fragment EntitlementFields on HokEntitlement {
70
+ id userId titleId mode source status territory expiresAt
71
+ title { ...TitleScalars }
72
+ workspaceId createdAt updatedAt
73
+ }
74
+ `,C=`
75
+ ${n}
76
+ fragment WatchProgressFields on HokWatchProgress {
77
+ id userId titleId episodeId positionSeconds completed lastDevice
78
+ title { ...TitleScalars }
79
+ workspaceId createdAt updatedAt
80
+ }
81
+ `,c=`
82
+ ${n}
83
+ fragment RightsWindowFields on HokRightsWindow {
84
+ id titleId status modes territories currency priceMinorUnits
85
+ exclusive licenseeId contractFileId startsAt endsAt
86
+ title { ...TitleScalars }
87
+ workspaceId createdAt updatedAt
88
+ }
89
+ `,g=`
90
+ ${A}
91
+ ${T}
92
+ fragment CreditFull on HokCredit {
93
+ ...CreditScalars
94
+ person { ...PersonScalars }
95
+ }
96
+ `,a=`
97
+ ${n}
98
+ ${I}
99
+ ${g}
100
+ ${m}
101
+ fragment TitleFull on HokTitle {
102
+ ...TitleScalars
103
+ studio { ...StudioScalars }
104
+ credits { ...CreditFull }
105
+ episodes { ...EpisodeFields }
106
+ seasons { ...SeasonFields }
107
+ }
108
+ `,L=`
109
+ ${T}
110
+ ${A}
111
+ fragment PersonFull on HokPerson {
112
+ ...PersonScalars
113
+ credits { ...CreditScalars }
114
+ }
115
+ `,R=`
116
+ ${I}
117
+ ${n}
118
+ fragment StudioFull on HokStudio {
119
+ ...StudioScalars
120
+ titles { ...TitleScalars }
121
+ }
122
+ `,u=`
123
+ ${E}
124
+ ${h}
125
+ fragment ProductionFull on HokProduction {
126
+ ...ProductionScalars
127
+ auditions { ...AuditionScalars }
128
+ }
129
+ `,l=`
130
+ ${h}
131
+ ${E}
132
+ ${r}
133
+ fragment AuditionFull on HokAudition {
134
+ ...AuditionScalars
135
+ production { ...ProductionScalars }
136
+ applications { ...ApplicationFields }
137
+ }
138
+ `,$=`
139
+ ${a}
140
+ query HokGetTitle($id: ID!) { hokTitle(id: $id) { ...TitleFull } }
141
+ `,w=`
142
+ ${a}
143
+ query HokListTitles(
144
+ $pagination: PaginationInput
145
+ $status: HokTitleStatus
146
+ $studioId: ID
147
+ $type: HokTitleType
148
+ ) {
149
+ hokListTitles(pagination: $pagination, status: $status, studioId: $studioId, type: $type) {
150
+ items { ...TitleFull }
151
+ pageInfo { cursor hasMore }
152
+ }
153
+ }
154
+ `,y=`
155
+ ${a}
156
+ mutation HokCreateTitle($input: HokCreateTitleInput!) {
157
+ hokCreateTitle(input: $input) { ...TitleFull }
158
+ }
159
+ `,v=`
160
+ ${a}
161
+ mutation HokUpdateTitle($id: ID!, $input: HokUpdateTitleInput!) {
162
+ hokUpdateTitle(id: $id, input: $input) { ...TitleFull }
163
+ }
164
+ `,_="mutation HokArchiveTitle($id: ID!) { hokArchiveTitle(id: $id) }",D=`
165
+ ${a}
166
+ mutation HokTransitionTitle($id: ID!, $status: HokTitleStatus!) {
167
+ hokTransitionTitle(id: $id, status: $status) { ...TitleFull }
168
+ }
169
+ `,O=`
170
+ ${R}
171
+ query HokListStudios($pagination: PaginationInput) {
172
+ hokListStudios(pagination: $pagination) {
173
+ items { ...StudioFull }
174
+ pageInfo { cursor hasMore }
175
+ }
176
+ }
177
+ `,W=`
178
+ ${R}
179
+ mutation HokCreateStudio($input: HokCreateStudioInput!) {
180
+ hokCreateStudio(input: $input) { ...StudioFull }
181
+ }
182
+ `,N=`
183
+ ${L}
184
+ query HokListPeople($pagination: PaginationInput) {
185
+ hokListPeople(pagination: $pagination) {
186
+ items { ...PersonFull }
187
+ pageInfo { cursor hasMore }
188
+ }
189
+ }
190
+ `,F=`
191
+ ${L}
192
+ mutation HokCreatePerson($input: HokCreatePersonInput!) {
193
+ hokCreatePerson(input: $input) { ...PersonFull }
194
+ }
195
+ `,x=`
196
+ ${g}
197
+ mutation HokAddCredit($input: HokCreateCreditInput!) {
198
+ hokAddCredit(input: $input) { ...CreditFull }
199
+ }
200
+ `,f=`
201
+ ${k}
202
+ query HokListEpisodes($titleId: ID!) {
203
+ hokListEpisodes(titleId: $titleId) { ...EpisodeFields }
204
+ }
205
+ `,q=`
206
+ ${k}
207
+ mutation HokCreateEpisode($input: HokCreateEpisodeInput!) {
208
+ hokCreateEpisode(input: $input) { ...EpisodeFields }
209
+ }
210
+ `,U=`
211
+ ${m}
212
+ mutation HokCreateSeason($input: HokCreateSeasonInput!) {
213
+ hokCreateSeason(input: $input) { ...SeasonFields }
214
+ }
215
+ `,M=`
216
+ ${u}
217
+ query HokGetProduction($id: ID!) { hokProduction(id: $id) { ...ProductionFull } }
218
+ `,G=`
219
+ ${u}
220
+ query HokListProductions(
221
+ $pagination: PaginationInput
222
+ $status: HokProductionStatus
223
+ $studioId: ID
224
+ ) {
225
+ hokListProductions(pagination: $pagination, status: $status, studioId: $studioId) {
226
+ items { ...ProductionFull }
227
+ pageInfo { cursor hasMore }
228
+ }
229
+ }
230
+ `,b=`
231
+ ${u}
232
+ mutation HokCreateProduction($input: HokCreateProductionInput!) {
233
+ hokCreateProduction(input: $input) { ...ProductionFull }
234
+ }
235
+ `,V=`
236
+ ${u}
237
+ mutation HokTransitionProduction($id: ID!, $status: HokProductionStatus!) {
238
+ hokTransitionProduction(id: $id, status: $status) { ...ProductionFull }
239
+ }
240
+ `,K=`
241
+ ${l}
242
+ query HokListAuditions(
243
+ $pagination: PaginationInput
244
+ $productionId: ID
245
+ $status: HokAuditionStatus
246
+ ) {
247
+ hokListAuditions(pagination: $pagination, productionId: $productionId, status: $status) {
248
+ items { ...AuditionFull }
249
+ pageInfo { cursor hasMore }
250
+ }
251
+ }
252
+ `,Y=`
253
+ ${l}
254
+ mutation HokCreateAudition($input: HokCreateAuditionInput!) {
255
+ hokCreateAudition(input: $input) { ...AuditionFull }
256
+ }
257
+ `,j=`
258
+ ${l}
259
+ mutation HokCloseAudition($id: ID!) { hokCloseAudition(id: $id) { ...AuditionFull } }
260
+ `,z=`
261
+ ${r}
262
+ query HokListApplications($auditionId: ID!) {
263
+ hokListApplications(auditionId: $auditionId) { ...ApplicationFields }
264
+ }
265
+ `,B=`
266
+ ${r}
267
+ mutation HokApplyToAudition($input: HokApplyToAuditionInput!) {
268
+ hokApplyToAudition(input: $input) { ...ApplicationFields }
269
+ }
270
+ `,J=`
271
+ ${r}
272
+ mutation HokScoreApplication($id: ID!, $score: Int!) {
273
+ hokScoreApplication(id: $id, score: $score) { ...ApplicationFields }
274
+ }
275
+ `,Q=`
276
+ ${S}
277
+ query HokListReviews(
278
+ $pagination: PaginationInput
279
+ $status: HokReviewStatus
280
+ $titleId: ID
281
+ ) {
282
+ hokListReviews(pagination: $pagination, status: $status, titleId: $titleId) {
283
+ items { ...ReviewFields }
284
+ pageInfo { cursor hasMore }
285
+ }
286
+ }
287
+ `,X=`
288
+ ${S}
289
+ mutation HokCreateReview($input: HokCreateReviewInput!) {
290
+ hokCreateReview(input: $input) { ...ReviewFields }
291
+ }
292
+ `,Z="mutation HokDeleteReview($id: ID!) { hokDeleteReview(id: $id) }",tt=`
293
+ ${d}
294
+ query HokGetList($id: ID!) { hokList(id: $id) { ...ListFields } }
295
+ `,ot=`
296
+ ${d}
297
+ query HokMyLists($kind: HokListKind, $pagination: PaginationInput) {
298
+ hokMyLists(kind: $kind, pagination: $pagination) {
299
+ items { ...ListFields }
300
+ pageInfo { cursor hasMore }
301
+ }
302
+ }
303
+ `,it=`
304
+ ${d}
305
+ mutation HokCreateList($input: HokCreateListInput!) {
306
+ hokCreateList(input: $input) { ...ListFields }
307
+ }
308
+ `,et=`
309
+ ${d}
310
+ mutation HokUpdateList($id: ID!, $input: HokUpdateListInput!) {
311
+ hokUpdateList(id: $id, input: $input) { ...ListFields }
312
+ }
313
+ `,nt="mutation HokDeleteList($id: ID!) { hokDeleteList(id: $id) }",st=`
314
+ query HokCheckEntitlement($titleId: ID!) {
315
+ hokCheckEntitlement(titleId: $titleId) { entitled modes }
316
+ }
317
+ `,at=`
318
+ ${P}
319
+ query HokMyEntitlements($titleId: ID) {
320
+ hokMyEntitlements(titleId: $titleId) { ...EntitlementFields }
321
+ }
322
+ `,rt=`
323
+ ${P}
324
+ mutation HokGrantEntitlement($input: HokGrantEntitlementInput!) {
325
+ hokGrantEntitlement(input: $input) { ...EntitlementFields }
326
+ }
327
+ `,dt="mutation HokRevokeEntitlement($id: ID!) { hokRevokeEntitlement(id: $id) }",ut=`
328
+ ${C}
329
+ query HokMyWatchProgress($titleId: ID) {
330
+ hokMyWatchProgress(titleId: $titleId) { ...WatchProgressFields }
331
+ }
332
+ `,pt=`
333
+ ${C}
334
+ mutation HokRecordProgress($input: HokRecordProgressInput!) {
335
+ hokRecordProgress(input: $input) { ...WatchProgressFields }
336
+ }
337
+ `,kt=`
338
+ ${c}
339
+ query HokListRightsWindows(
340
+ $pagination: PaginationInput
341
+ $status: HokRightsWindowStatus
342
+ $titleId: ID
343
+ ) {
344
+ hokListRightsWindows(pagination: $pagination, status: $status, titleId: $titleId) {
345
+ items { ...RightsWindowFields }
346
+ pageInfo { cursor hasMore }
347
+ }
348
+ }
349
+ `,ct=`
350
+ ${c}
351
+ mutation HokCreateRightsWindow($input: HokCreateRightsWindowInput!) {
352
+ hokCreateRightsWindow(input: $input) { ...RightsWindowFields }
353
+ }
354
+ `,lt=`
355
+ ${c}
356
+ mutation HokTransitionRightsWindow($id: ID!, $status: HokRightsWindowStatus!) {
357
+ hokTransitionRightsWindow(id: $id, status: $status) { ...RightsWindowFields }
358
+ }
359
+ `,Ht="query HokHealth { hokHealth }";function It(p){let{workspace:i}=p.gql;return {titles:{async get(t){return (await i.request($,{id:t})).hokTitle},async list(t,o,e,s){return (await i.request(w,{pagination:t,status:o,studioId:e,type:s})).hokListTitles},async create(t){return (await i.request(y,{input:t})).hokCreateTitle},async update(t,o){return (await i.request(v,{id:t,input:o})).hokUpdateTitle},async archive(t){return (await i.request(_,{id:t})).hokArchiveTitle},async transition(t,o){return (await i.request(D,{id:t,status:o})).hokTransitionTitle}},studios:{async list(t){return (await i.request(O,{pagination:t})).hokListStudios},async create(t){return (await i.request(W,{input:t})).hokCreateStudio}},people:{async list(t){return (await i.request(N,{pagination:t})).hokListPeople},async create(t){return (await i.request(F,{input:t})).hokCreatePerson},async addCredit(t){return (await i.request(x,{input:t})).hokAddCredit}},episodes:{async list(t){return (await i.request(f,{titleId:t})).hokListEpisodes},async create(t){return (await i.request(q,{input:t})).hokCreateEpisode},async createSeason(t){return (await i.request(U,{input:t})).hokCreateSeason}},productions:{async get(t){return (await i.request(M,{id:t})).hokProduction},async list(t,o,e){return (await i.request(G,{pagination:t,status:o,studioId:e})).hokListProductions},async create(t){return (await i.request(b,{input:t})).hokCreateProduction},async transition(t,o){return (await i.request(V,{id:t,status:o})).hokTransitionProduction}},auditions:{async list(t,o,e){return (await i.request(K,{pagination:t,productionId:o,status:e})).hokListAuditions},async create(t){return (await i.request(Y,{input:t})).hokCreateAudition},async close(t){return (await i.request(j,{id:t})).hokCloseAudition},async listApplications(t){return (await i.request(z,{auditionId:t})).hokListApplications},async apply(t){return (await i.request(B,{input:t})).hokApplyToAudition},async scoreApplication(t,o){return (await i.request(J,{id:t,score:o})).hokScoreApplication}},reviews:{async list(t,o,e){return (await i.request(Q,{pagination:t,status:o,titleId:e})).hokListReviews},async create(t){return (await i.request(X,{input:t})).hokCreateReview},async delete(t){return (await i.request(Z,{id:t})).hokDeleteReview}},lists:{async get(t){return (await i.request(tt,{id:t})).hokList},async mine(t,o){return (await i.request(ot,{kind:t,pagination:o})).hokMyLists},async create(t){return (await i.request(it,{input:t})).hokCreateList},async update(t,o){return (await i.request(et,{id:t,input:o})).hokUpdateList},async delete(t){return (await i.request(nt,{id:t})).hokDeleteList}},entitlements:{async check(t){return (await i.request(st,{titleId:t})).hokCheckEntitlement},async mine(t){return (await i.request(at,{titleId:t})).hokMyEntitlements},async grant(t){return (await i.request(rt,{input:t})).hokGrantEntitlement},async revoke(t){return (await i.request(dt,{id:t})).hokRevokeEntitlement}},watchProgress:{async mine(t){return (await i.request(ut,{titleId:t})).hokMyWatchProgress},async record(t){return (await i.request(pt,{input:t})).hokRecordProgress}},rights:{async list(t,o,e){return (await i.request(kt,{pagination:t,status:o,titleId:e})).hokListRightsWindows},async create(t){return (await i.request(ct,{input:t})).hokCreateRightsWindow},async transition(t,o){return (await i.request(lt,{id:t,status:o})).hokTransitionRightsWindow}},analytics:{async health(){return (await i.request(Ht)).hokHealth}}}}var Tt={id:"hookmovies",version:"1.0.0",displayName:"HookMovies",dependsOn:["auth"],attach(p){return It(p)}},Ft=Tt;module.exports=Ft;