@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.
- package/dist/modules/adaptercloud/index.cjs +316 -0
- package/dist/modules/adaptercloud/index.d.cts +399 -0
- package/dist/modules/adaptercloud/index.d.ts +399 -0
- package/dist/modules/adaptercloud/index.js +316 -0
- package/dist/modules/atheletebridge/index.cjs +261 -0
- package/dist/modules/atheletebridge/index.d.cts +392 -0
- package/dist/modules/atheletebridge/index.d.ts +392 -0
- package/dist/modules/atheletebridge/index.js +261 -0
- package/dist/modules/coolandlovely/index.cjs +321 -0
- package/dist/modules/coolandlovely/index.d.cts +433 -0
- package/dist/modules/coolandlovely/index.d.ts +433 -0
- package/dist/modules/coolandlovely/index.js +321 -0
- package/dist/modules/hookmovies/index.cjs +359 -0
- package/dist/modules/hookmovies/index.d.cts +512 -0
- package/dist/modules/hookmovies/index.d.ts +512 -0
- package/dist/modules/hookmovies/index.js +359 -0
- package/dist/modules/labsofscience/index.cjs +373 -0
- package/dist/modules/labsofscience/index.d.cts +495 -0
- package/dist/modules/labsofscience/index.d.ts +495 -0
- package/dist/modules/labsofscience/index.js +373 -0
- package/dist/modules/subscriberbot/index.cjs +334 -0
- package/dist/modules/subscriberbot/index.d.cts +497 -0
- package/dist/modules/subscriberbot/index.d.ts +497 -0
- package/dist/modules/subscriberbot/index.js +334 -0
- package/package.json +1 -1
|
@@ -0,0 +1,321 @@
|
|
|
1
|
+
'use strict';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
|
+
`,co=`
|
|
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
|
+
`,S=`
|
|
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
|
+
`,uo=`
|
|
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
|
+
${co}
|
|
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
|
+
`,A=`
|
|
104
|
+
${I}
|
|
105
|
+
${S}
|
|
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
|
+
`,E=`
|
|
120
|
+
${uo}
|
|
121
|
+
${I}
|
|
122
|
+
${i}
|
|
123
|
+
fragment StyleProfileFull on CooStyleProfile {
|
|
124
|
+
...StyleProfileScalars
|
|
125
|
+
lookbooks { ...LookbookScalars }
|
|
126
|
+
wardrobeItems { ...WardrobeItemFields }
|
|
127
|
+
}
|
|
128
|
+
`,O=`
|
|
129
|
+
${C}
|
|
130
|
+
query CooBrand($id: ID!) { cooBrand(id: $id) { ...BrandFull } }
|
|
131
|
+
`,$=`
|
|
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
|
+
`,T=`
|
|
140
|
+
${C}
|
|
141
|
+
mutation CooCreateBrand($input: CooCreateBrandInput!) {
|
|
142
|
+
cooCreateBrand(input: $input) { ...BrandFull }
|
|
143
|
+
}
|
|
144
|
+
`,_=`
|
|
145
|
+
${C}
|
|
146
|
+
mutation CooUpdateBrand($id: ID!, $input: CooUpdateBrandInput!) {
|
|
147
|
+
cooUpdateBrand(id: $id, input: $input) { ...BrandFull }
|
|
148
|
+
}
|
|
149
|
+
`,B=`
|
|
150
|
+
mutation CooArchiveBrand($id: ID!) { cooArchiveBrand(id: $id) }
|
|
151
|
+
`,g=`
|
|
152
|
+
${C}
|
|
153
|
+
mutation CooTransitionBrand($id: ID!, $status: CooBrandStatus!) {
|
|
154
|
+
cooTransitionBrand(id: $id, status: $status) { ...BrandFull }
|
|
155
|
+
}
|
|
156
|
+
`,P=`
|
|
157
|
+
${c}
|
|
158
|
+
query CooCollection($id: ID!) { cooCollection(id: $id) { ...CollectionFull } }
|
|
159
|
+
`,R=`
|
|
160
|
+
${d}
|
|
161
|
+
query CooListCollections($brandId: ID, $status: CooCollectionStatus) {
|
|
162
|
+
cooListCollections(brandId: $brandId, status: $status) { ...CollectionScalars }
|
|
163
|
+
}
|
|
164
|
+
`,v=`
|
|
165
|
+
${c}
|
|
166
|
+
mutation CooCreateCollection($input: CooCreateCollectionInput!) {
|
|
167
|
+
cooCreateCollection(input: $input) { ...CollectionFull }
|
|
168
|
+
}
|
|
169
|
+
`,f=`
|
|
170
|
+
${c}
|
|
171
|
+
mutation CooUpdateCollection($id: ID!, $input: CooUpdateCollectionInput!) {
|
|
172
|
+
cooUpdateCollection(id: $id, input: $input) { ...CollectionFull }
|
|
173
|
+
}
|
|
174
|
+
`,D=`
|
|
175
|
+
${c}
|
|
176
|
+
mutation CooPublishCollection($id: ID!) {
|
|
177
|
+
cooPublishCollection(id: $id) { ...CollectionFull }
|
|
178
|
+
}
|
|
179
|
+
`,W=`
|
|
180
|
+
${y}
|
|
181
|
+
query CooStyleItem($id: ID!) { cooStyleItem(id: $id) { ...StyleItemFull } }
|
|
182
|
+
`,U=`
|
|
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
|
+
`,w=`
|
|
203
|
+
${y}
|
|
204
|
+
mutation CooCreateStyleItem($input: CooCreateStyleItemInput!) {
|
|
205
|
+
cooCreateStyleItem(input: $input) { ...StyleItemFull }
|
|
206
|
+
}
|
|
207
|
+
`,F=`
|
|
208
|
+
${y}
|
|
209
|
+
mutation CooUpdateStyleItem($id: ID!, $input: CooUpdateStyleItemInput!) {
|
|
210
|
+
cooUpdateStyleItem(id: $id, input: $input) { ...StyleItemFull }
|
|
211
|
+
}
|
|
212
|
+
`,x=`
|
|
213
|
+
mutation CooArchiveStyleItem($id: ID!) { cooArchiveStyleItem(id: $id) }
|
|
214
|
+
`,q=`
|
|
215
|
+
${s}
|
|
216
|
+
query CooLook($id: ID!) { cooLook(id: $id) { ...LookFull } }
|
|
217
|
+
`,N=`
|
|
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
|
+
`,h=`
|
|
236
|
+
${s}
|
|
237
|
+
mutation CooCreateLook($input: CooCreateLookInput!) {
|
|
238
|
+
cooCreateLook(input: $input) { ...LookFull }
|
|
239
|
+
}
|
|
240
|
+
`,K=`
|
|
241
|
+
${s}
|
|
242
|
+
mutation CooUpdateLook($id: ID!, $input: CooUpdateLookInput!) {
|
|
243
|
+
cooUpdateLook(id: $id, input: $input) { ...LookFull }
|
|
244
|
+
}
|
|
245
|
+
`,M=`
|
|
246
|
+
${s}
|
|
247
|
+
mutation CooPublishLook($id: ID!) { cooPublishLook(id: $id) { ...LookFull } }
|
|
248
|
+
`,Y=`
|
|
249
|
+
${s}
|
|
250
|
+
mutation CooLikeLook($id: ID!) { cooLikeLook(id: $id) { ...LookFull } }
|
|
251
|
+
`,H=`
|
|
252
|
+
mutation CooDeleteLook($id: ID!) { cooDeleteLook(id: $id) }
|
|
253
|
+
`,G=`
|
|
254
|
+
${A}
|
|
255
|
+
query CooLookbook($id: ID!) { cooLookbook(id: $id) { ...LookbookFull } }
|
|
256
|
+
`,V=`
|
|
257
|
+
${I}
|
|
258
|
+
query CooListLookbooks($ownerId: ID) {
|
|
259
|
+
cooListLookbooks(ownerId: $ownerId) { ...LookbookScalars }
|
|
260
|
+
}
|
|
261
|
+
`,j=`
|
|
262
|
+
${A}
|
|
263
|
+
mutation CooCreateLookbook($input: CooCreateLookbookInput!) {
|
|
264
|
+
cooCreateLookbook(input: $input) { ...LookbookFull }
|
|
265
|
+
}
|
|
266
|
+
`,z=`
|
|
267
|
+
${S}
|
|
268
|
+
mutation CooAddLookbookEntry($input: CooAddLookbookEntryInput!) {
|
|
269
|
+
cooAddLookbookEntry(input: $input) { ...LookbookEntryFields }
|
|
270
|
+
}
|
|
271
|
+
`,J=`
|
|
272
|
+
mutation CooRemoveLookbookEntry($id: ID!) { cooRemoveLookbookEntry(id: $id) }
|
|
273
|
+
`,Q=`
|
|
274
|
+
${m}
|
|
275
|
+
query CooCollaboration($id: ID!) { cooCollaboration(id: $id) { ...CollaborationFull } }
|
|
276
|
+
`,X=`
|
|
277
|
+
${L}
|
|
278
|
+
query CooListCollaborations($brandId: ID, $creatorId: ID, $status: CooCollaborationStatus) {
|
|
279
|
+
cooListCollaborations(brandId: $brandId, creatorId: $creatorId, status: $status) {
|
|
280
|
+
...CollaborationScalars
|
|
281
|
+
}
|
|
282
|
+
}
|
|
283
|
+
`,Z=`
|
|
284
|
+
${m}
|
|
285
|
+
mutation CooCreateCollaboration($input: CooCreateCollaborationInput!) {
|
|
286
|
+
cooCreateCollaboration(input: $input) { ...CollaborationFull }
|
|
287
|
+
}
|
|
288
|
+
`,oo=`
|
|
289
|
+
${m}
|
|
290
|
+
mutation CooTransitionCollaboration($id: ID!, $status: CooCollaborationStatus!) {
|
|
291
|
+
cooTransitionCollaboration(id: $id, status: $status) { ...CollaborationFull }
|
|
292
|
+
}
|
|
293
|
+
`,to=`
|
|
294
|
+
${i}
|
|
295
|
+
query CooListWardrobeItems($category: CooStyleCategory, $source: CooWardrobeSource) {
|
|
296
|
+
cooListWardrobeItems(category: $category, source: $source) { ...WardrobeItemFields }
|
|
297
|
+
}
|
|
298
|
+
`,eo=`
|
|
299
|
+
${i}
|
|
300
|
+
mutation CooCreateWardrobeItem($input: CooCreateWardrobeItemInput!) {
|
|
301
|
+
cooCreateWardrobeItem(input: $input) { ...WardrobeItemFields }
|
|
302
|
+
}
|
|
303
|
+
`,ao=`
|
|
304
|
+
${i}
|
|
305
|
+
mutation CooUpdateWardrobeItem($id: ID!, $input: CooUpdateWardrobeItemInput!) {
|
|
306
|
+
cooUpdateWardrobeItem(id: $id, input: $input) { ...WardrobeItemFields }
|
|
307
|
+
}
|
|
308
|
+
`,no=`
|
|
309
|
+
${i}
|
|
310
|
+
mutation CooLogWardrobeWear($id: ID!) { cooLogWardrobeWear(id: $id) { ...WardrobeItemFields } }
|
|
311
|
+
`,ro=`
|
|
312
|
+
mutation CooRemoveWardrobeItem($id: ID!) { cooRemoveWardrobeItem(id: $id) }
|
|
313
|
+
`,lo=`
|
|
314
|
+
${E}
|
|
315
|
+
query CooMyStyleProfile { cooMyStyleProfile { ...StyleProfileFull } }
|
|
316
|
+
`,io=`
|
|
317
|
+
${E}
|
|
318
|
+
mutation CooUpsertStyleProfile($input: CooUpsertStyleProfileInput!) {
|
|
319
|
+
cooUpsertStyleProfile(input: $input) { ...StyleProfileFull }
|
|
320
|
+
}
|
|
321
|
+
`,so="query CooHealth { cooHealth }";function Co(u){let{workspace:e}=u.gql;return {brands:{async get(o){return (await e.request(O,{id:o})).cooBrand},async list(o,t,a){return (await e.request($,{status:o,featured:t,pagination:a})).cooListBrands},async create(o){return (await e.request(T,{input:o})).cooCreateBrand},async update(o,t){return (await e.request(_,{id:o,input:t})).cooUpdateBrand},async archive(o){return (await e.request(B,{id:o})).cooArchiveBrand},async transition(o,t){return (await e.request(g,{id:o,status:t})).cooTransitionBrand}},collections:{async get(o){return (await e.request(P,{id:o})).cooCollection},async list(o,t){return (await e.request(R,{brandId:o,status:t})).cooListCollections},async create(o){return (await e.request(v,{input:o})).cooCreateCollection},async update(o,t){return (await e.request(f,{id:o,input:t})).cooUpdateCollection},async publish(o){return (await e.request(D,{id:o})).cooPublishCollection}},styleItems:{async get(o){return (await e.request(W,{id:o})).cooStyleItem},async list(o,t,a,n,k){return (await e.request(U,{brandId:o,collectionId:t,category:a,status:n,pagination:k})).cooListStyleItems},async create(o){return (await e.request(w,{input:o})).cooCreateStyleItem},async update(o,t){return (await e.request(F,{id:o,input:t})).cooUpdateStyleItem},async archive(o){return (await e.request(x,{id:o})).cooArchiveStyleItem}},looks:{async get(o){return (await e.request(q,{id:o})).cooLook},async list(o,t,a,n){return (await e.request(N,{authorId:o,featured:t,occasion:a,pagination:n})).cooListLooks},async create(o){return (await e.request(h,{input:o})).cooCreateLook},async update(o,t){return (await e.request(K,{id:o,input:t})).cooUpdateLook},async publish(o){return (await e.request(M,{id:o})).cooPublishLook},async like(o){return (await e.request(Y,{id:o})).cooLikeLook},async delete(o){return (await e.request(H,{id:o})).cooDeleteLook}},lookbooks:{async get(o){return (await e.request(G,{id:o})).cooLookbook},async list(o){return (await e.request(V,{ownerId:o})).cooListLookbooks},async create(o){return (await e.request(j,{input:o})).cooCreateLookbook},async addEntry(o){return (await e.request(z,{input:o})).cooAddLookbookEntry},async removeEntry(o){return (await e.request(J,{id:o})).cooRemoveLookbookEntry}},collaborations:{async get(o){return (await e.request(Q,{id:o})).cooCollaboration},async list(o,t,a){return (await e.request(X,{brandId:o,creatorId:t,status:a})).cooListCollaborations},async create(o){return (await e.request(Z,{input:o})).cooCreateCollaboration},async transition(o,t){return (await e.request(oo,{id:o,status:t})).cooTransitionCollaboration}},wardrobe:{async list(o,t){return (await e.request(to,{category:o,source:t})).cooListWardrobeItems},async create(o){return (await e.request(eo,{input:o})).cooCreateWardrobeItem},async update(o,t){return (await e.request(ao,{id:o,input:t})).cooUpdateWardrobeItem},async logWear(o){return (await e.request(no,{id:o})).cooLogWardrobeWear},async remove(o){return (await e.request(ro,{id:o})).cooRemoveWardrobeItem}},profile:{async get(){return (await e.request(lo)).cooMyStyleProfile},async upsert(o){return (await e.request(io,{input:o})).cooUpsertStyleProfile}},analytics:{async health(){return (await e.request(so)).cooHealth}}}}var po={id:"coolandlovely",version:"1.0.0",displayName:"CoolAndLovely",dependsOn:["auth"],attach(u){return Co(u)}},Ro=po;module.exports=Ro;
|