@wirechunk/cli 0.0.6 → 0.0.8

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.
@@ -1,4807 +0,0 @@
1
- export type Maybe<T> = T | null;
2
- export type InputMaybe<T> = T | null | undefined;
3
- export type Exact<T extends { [key: string]: unknown }> = { [K in keyof T]: T[K] };
4
- export type MakeOptional<T, K extends keyof T> = Omit<T, K> & { [SubKey in K]?: Maybe<T[SubKey]> };
5
- export type MakeMaybe<T, K extends keyof T> = Omit<T, K> & { [SubKey in K]: Maybe<T[SubKey]> };
6
- export type MakeEmpty<T extends { [key: string]: unknown }, K extends keyof T> = {
7
- [_ in K]?: never;
8
- };
9
- export type Incremental<T> =
10
- | T
11
- | { [P in keyof T]?: P extends ' $fragmentName' | '__typename' ? T[P] : never };
12
- /** All built-in and custom scalars, mapped to their actual values */
13
- export type Scalars = {
14
- ID: { input: string; output: string };
15
- String: { input: string; output: string };
16
- Boolean: { input: boolean; output: boolean };
17
- Int: { input: number; output: number };
18
- Float: { input: number; output: number };
19
- /** A timestamp in ISO 8601 format with the date, time, and timezone. */
20
- Date: { input: string | Date; output: string };
21
- };
22
-
23
- export type ActiveCampaignApi = {
24
- __typename?: 'ActiveCampaignApi';
25
- tag: ActiveCampaignTag;
26
- tags: ActiveCampaignApiTagsList;
27
- };
28
-
29
- export type ActiveCampaignApiTagArgs = {
30
- id: Scalars['String']['input'];
31
- };
32
-
33
- export type ActiveCampaignApiTagsArgs = {
34
- limit?: InputMaybe<Scalars['Int']['input']>;
35
- page?: InputMaybe<Scalars['Int']['input']>;
36
- search?: InputMaybe<Scalars['String']['input']>;
37
- };
38
-
39
- export type ActiveCampaignApiTagsList = ListResult & {
40
- __typename?: 'ActiveCampaignApiTagsList';
41
- limit: Scalars['Int']['output'];
42
- tags: Array<ActiveCampaignTag>;
43
- totalCount: Scalars['Int']['output'];
44
- };
45
-
46
- export type ActiveCampaignTag = {
47
- __typename?: 'ActiveCampaignTag';
48
- id: Scalars['String']['output'];
49
- subscriberCount: Scalars['Int']['output'];
50
- tag: Scalars['String']['output'];
51
- };
52
-
53
- export type ActiveCampaignTagsSyncConfig = {
54
- __typename?: 'ActiveCampaignTagsSyncConfig';
55
- activeCampaignTagId: Scalars['String']['output'];
56
- id: Scalars['String']['output'];
57
- subscriptionPlanIds: Array<Scalars['String']['output']>;
58
- };
59
-
60
- export type Address = {
61
- __typename?: 'Address';
62
- city?: Maybe<Scalars['String']['output']>;
63
- country?: Maybe<Scalars['String']['output']>;
64
- line1?: Maybe<Scalars['String']['output']>;
65
- line2?: Maybe<Scalars['String']['output']>;
66
- postalCode?: Maybe<Scalars['String']['output']>;
67
- state?: Maybe<Scalars['String']['output']>;
68
- };
69
-
70
- export type AddressInput = {
71
- city: Scalars['String']['input'];
72
- country?: InputMaybe<Scalars['String']['input']>;
73
- line1: Scalars['String']['input'];
74
- line2?: InputMaybe<Scalars['String']['input']>;
75
- postalCode: Scalars['String']['input'];
76
- state: Scalars['String']['input'];
77
- };
78
-
79
- /** A user who could be an admin on platforms. */
80
- export type AdminUser = {
81
- __typename?: 'AdminUser';
82
- apiTokens: PersonalApiTokensList;
83
- displayName: Scalars['String']['output'];
84
- email: Scalars['String']['output'];
85
- emailVerified: Scalars['Boolean']['output'];
86
- firstName: Scalars['String']['output'];
87
- id: Scalars['String']['output'];
88
- lastName: Scalars['String']['output'];
89
- /** This user’s platforms where the user is an admin (possible inactive). */
90
- platformAdminUsers: Array<PlatformAdminUser>;
91
- };
92
-
93
- export type Agreement = {
94
- __typename?: 'Agreement';
95
- content?: Maybe<Delta>;
96
- id: Scalars['String']['output'];
97
- publishTimestamp: Scalars['Date']['output'];
98
- text?: Maybe<Scalars['String']['output']>;
99
- type: AgreementType;
100
- };
101
-
102
- export const AgreementType = {
103
- CookiePolicy: 'CookiePolicy',
104
- PrivacyPolicy: 'PrivacyPolicy',
105
- TermsOfUse: 'TermsOfUse',
106
- } as const;
107
-
108
- export type AgreementType = (typeof AgreementType)[keyof typeof AgreementType];
109
- export type AgreementsList = {
110
- __typename?: 'AgreementsList';
111
- agreements: Array<Agreement>;
112
- limit: Scalars['Int']['output'];
113
- totalCount: Scalars['Int']['output'];
114
- };
115
-
116
- export type AiChatMessage = {
117
- content: Scalars['String']['input'];
118
- role: AiChatMessageRole;
119
- };
120
-
121
- export const AiChatMessageRole = {
122
- Assistant: 'Assistant',
123
- User: 'User',
124
- } as const;
125
-
126
- export type AiChatMessageRole = (typeof AiChatMessageRole)[keyof typeof AiChatMessageRole];
127
- export type ApiToken = PersonalApiToken | PlatformApiToken;
128
-
129
- export type ApplyCustomPromoCodeResult = ApplyCustomPromoCodeSuccessResult | InternalError;
130
-
131
- export type ApplyCustomPromoCodeSuccessResult = {
132
- __typename?: 'ApplyCustomPromoCodeSuccessResult';
133
- promoCode: Scalars['String']['output'];
134
- subscriptionPlanId: Scalars['String']['output'];
135
- successMessage?: Maybe<Delta>;
136
- valid: Scalars['Boolean']['output'];
137
- };
138
-
139
- export type ArchiveComponentResult = ArchiveComponentSuccessResult | UserError;
140
-
141
- export type ArchiveComponentSuccessResult = {
142
- __typename?: 'ArchiveComponentSuccessResult';
143
- component: Component;
144
- };
145
-
146
- export type Asset = {
147
- __typename?: 'Asset';
148
- /** Alternative text when displayed on web pages. */
149
- alt?: Maybe<Scalars['String']['output']>;
150
- archived: Scalars['Boolean']['output'];
151
- createdAt: Scalars['Date']['output'];
152
- /** The duration for video and audio assets. */
153
- durationSeconds?: Maybe<Scalars['Int']['output']>;
154
- id: Scalars['String']['output'];
155
- name: Scalars['String']['output'];
156
- /**
157
- * Optionally require a user to be signed in and have the specified product item in an active subscription
158
- * to be allowed to access the asset. If null or an empty string, no product item is required.
159
- */
160
- productItem?: Maybe<Scalars['String']['output']>;
161
- /**
162
- * Optionally require a user to be signed in and have one of the specified roles to be allowed to access the asset.
163
- * If empty, a user can have any role.
164
- */
165
- roles: Array<Scalars['String']['output']>;
166
- /** A simple list of strings to help with retrieval. */
167
- tags: Array<Scalars['String']['output']>;
168
- type: AssetType;
169
- updatedAt: Scalars['Date']['output'];
170
- /** The asset’s variants. Variants are sorted ascending by name. */
171
- variants: AssetVariantsList;
172
- /** Requires the admin Asset:view permission. */
173
- versions: AssetVersionsList;
174
- };
175
-
176
- export type AssetVariantsArgs = {
177
- archived?: InputMaybe<Scalars['Boolean']['input']>;
178
- limit?: InputMaybe<Scalars['Int']['input']>;
179
- page?: InputMaybe<Scalars['Int']['input']>;
180
- };
181
-
182
- export type AssetVersionsArgs = {
183
- limit?: InputMaybe<Scalars['Int']['input']>;
184
- page?: InputMaybe<Scalars['Int']['input']>;
185
- };
186
-
187
- export const AssetType = {
188
- Audio: 'Audio',
189
- Document: 'Document',
190
- Image: 'Image',
191
- Other: 'Other',
192
- Video: 'Video',
193
- } as const;
194
-
195
- export type AssetType = (typeof AssetType)[keyof typeof AssetType];
196
- export type AssetVariant = {
197
- __typename?: 'AssetVariant';
198
- archived: Scalars['Boolean']['output'];
199
- /** Applicable only when mode is not ManualUrl. For public assets, the file will have its url field set. For non-public assets, this file’s getUrl field can be used to get a signed URL to access the file. */
200
- file?: Maybe<File>;
201
- /** The format to output the variant in. Set only when mode is Convert. */
202
- format?: Maybe<AssetVariantFormat>;
203
- /** When mode is Generate, this is the prompt used to generate the variant. */
204
- generatePrompt?: Maybe<Scalars['String']['output']>;
205
- /** Determined automatically but also manually set only when mode is Resize. */
206
- heightPx?: Maybe<Scalars['Int']['output']>;
207
- id: Scalars['String']['output'];
208
- /** The manually provided URL of the asset variant. Applicable only when mode is ManualUrl. */
209
- manualUrl?: Maybe<Scalars['String']['output']>;
210
- mode: AssetVariantMode;
211
- name: Scalars['String']['output'];
212
- /** A percentage 0–100. When null or 100, the quality is the same as the original. */
213
- quality?: Maybe<Scalars['Int']['output']>;
214
- /**
215
- * The variant to use as the source for producing the variant. Users can change this at any time.
216
- * Applicable only when not manually uploading or manually providing a URL.
217
- */
218
- sourceVariant?: Maybe<AssetVariant>;
219
- /** The variant version that was used as the source for the variant. */
220
- sourceVariantVersion?: Maybe<AssetVariantVersion>;
221
- versions: AssetVariantVersionsList;
222
- /** Determined automatically but also manually set only when mode is Resize. */
223
- widthPx?: Maybe<Scalars['Int']['output']>;
224
- };
225
-
226
- export type AssetVariantVersionsArgs = {
227
- limit?: InputMaybe<Scalars['Int']['input']>;
228
- page?: InputMaybe<Scalars['Int']['input']>;
229
- };
230
-
231
- export const AssetVariantFormat = {
232
- Avif: 'Avif',
233
- Gif: 'Gif',
234
- Jpeg: 'Jpeg',
235
- Png: 'Png',
236
- Webp: 'Webp',
237
- } as const;
238
-
239
- export type AssetVariantFormat = (typeof AssetVariantFormat)[keyof typeof AssetVariantFormat];
240
- export type AssetVariantFormatUpdate = {
241
- format: AssetVariantFormat;
242
- };
243
-
244
- export const AssetVariantMode = {
245
- /** Convert the source variant to a different format. */
246
- Convert: 'Convert',
247
- /** Crop the source variant. */
248
- Crop: 'Crop',
249
- /** Generate a variant using AI. Can reference a source variant but does not require it. */
250
- Generate: 'Generate',
251
- /** Users manually upload the asset variant file. */
252
- ManualUpload: 'ManualUpload',
253
- /** Users manually provide a URL for the asset variant. */
254
- ManualUrl: 'ManualUrl',
255
- /** Optimize the source variant. */
256
- Optimize: 'Optimize',
257
- /** Resize the source variant to the specified width and height. */
258
- Resize: 'Resize',
259
- /** Resize and optimize the source variant. */
260
- ResizeAndOptimize: 'ResizeAndOptimize',
261
- } as const;
262
-
263
- export type AssetVariantMode = (typeof AssetVariantMode)[keyof typeof AssetVariantMode];
264
- export type AssetVariantVersion = {
265
- __typename?: 'AssetVariantVersion';
266
- archived?: Maybe<Scalars['Boolean']['output']>;
267
- assetVariantId: Scalars['String']['output'];
268
- byUser: UserProfile;
269
- changes: Array<AssetVariantVersionChange>;
270
- createdAt: Scalars['Date']['output'];
271
- failureReason?: Maybe<Scalars['String']['output']>;
272
- file?: Maybe<File>;
273
- format?: Maybe<AssetVariantFormat>;
274
- generatePrompt?: Maybe<Scalars['String']['output']>;
275
- heightPx?: Maybe<Scalars['Int']['output']>;
276
- id: Scalars['String']['output'];
277
- manualUrl?: Maybe<Scalars['String']['output']>;
278
- name?: Maybe<Scalars['String']['output']>;
279
- quality?: Maybe<Scalars['Int']['output']>;
280
- sourceAssetVariant?: Maybe<AssetVariant>;
281
- sourceAssetVariantVersion?: Maybe<AssetVariantVersion>;
282
- widthPx?: Maybe<Scalars['Int']['output']>;
283
- };
284
-
285
- export const AssetVariantVersionChange = {
286
- Archived: 'Archived',
287
- FileId: 'FileId',
288
- Format: 'Format',
289
- GeneratePrompt: 'GeneratePrompt',
290
- HeightPx: 'HeightPx',
291
- ManualUrl: 'ManualUrl',
292
- Name: 'Name',
293
- Quality: 'Quality',
294
- SourceAssetVariantId: 'SourceAssetVariantId',
295
- WidthPx: 'WidthPx',
296
- } as const;
297
-
298
- export type AssetVariantVersionChange =
299
- (typeof AssetVariantVersionChange)[keyof typeof AssetVariantVersionChange];
300
- export type AssetVariantVersionsList = ListResult & {
301
- __typename?: 'AssetVariantVersionsList';
302
- assetVariantVersions: Array<AssetVariantVersion>;
303
- limit: Scalars['Int']['output'];
304
- totalCount: Scalars['Int']['output'];
305
- };
306
-
307
- export type AssetVariantsList = ListResult & {
308
- __typename?: 'AssetVariantsList';
309
- assetVariants: Array<AssetVariant>;
310
- limit: Scalars['Int']['output'];
311
- totalCount: Scalars['Int']['output'];
312
- };
313
-
314
- export type AssetVersion = {
315
- __typename?: 'AssetVersion';
316
- alt?: Maybe<Scalars['String']['output']>;
317
- archived?: Maybe<Scalars['Boolean']['output']>;
318
- byUser: UserProfile;
319
- changes: Array<AssetVersionChange>;
320
- createdAt: Scalars['Date']['output'];
321
- id: Scalars['String']['output'];
322
- name?: Maybe<Scalars['String']['output']>;
323
- productItem?: Maybe<Scalars['String']['output']>;
324
- roles?: Maybe<Array<Scalars['String']['output']>>;
325
- tags: Array<Scalars['String']['output']>;
326
- };
327
-
328
- export const AssetVersionChange = {
329
- Alt: 'Alt',
330
- Archived: 'Archived',
331
- Name: 'Name',
332
- ProductItem: 'ProductItem',
333
- Roles: 'Roles',
334
- Tags: 'Tags',
335
- } as const;
336
-
337
- export type AssetVersionChange = (typeof AssetVersionChange)[keyof typeof AssetVersionChange];
338
- export type AssetVersionsList = ListResult & {
339
- __typename?: 'AssetVersionsList';
340
- assetVersions: Array<AssetVersion>;
341
- limit: Scalars['Int']['output'];
342
- totalCount: Scalars['Int']['output'];
343
- };
344
-
345
- export type AssetsList = ListResult & {
346
- __typename?: 'AssetsList';
347
- assets: Array<Asset>;
348
- limit: Scalars['Int']['output'];
349
- totalCount: Scalars['Int']['output'];
350
- };
351
-
352
- export type AuthorizationError = Error & {
353
- __typename?: 'AuthorizationError';
354
- message: Scalars['String']['output'];
355
- };
356
-
357
- export type BodyStylesUpdate = {
358
- /** A JSON object. */
359
- value: Scalars['String']['input'];
360
- };
361
-
362
- export type BooleanUpdate = {
363
- value: Scalars['Boolean']['input'];
364
- };
365
-
366
- export type BuilderComponent = BuiltInComponent | Component | RemoteComponent;
367
-
368
- export type BuilderComponentsList = ListResult & {
369
- __typename?: 'BuilderComponentsList';
370
- builderComponents: Array<BuilderComponent>;
371
- limit: Scalars['Int']['output'];
372
- totalCount: Scalars['Int']['output'];
373
- };
374
-
375
- export type BuiltInComponent = {
376
- __typename?: 'BuiltInComponent';
377
- id: Scalars['String']['output'];
378
- name: Scalars['String']['output'];
379
- };
380
-
381
- export type Component = {
382
- __typename?: 'Component';
383
- archived: Scalars['Boolean']['output'];
384
- components: Scalars['String']['output'];
385
- createdAt: Scalars['Date']['output'];
386
- id: Scalars['String']['output'];
387
- name: Scalars['String']['output'];
388
- previewProps?: Maybe<Scalars['String']['output']>;
389
- propsSetupComponents?: Maybe<Scalars['String']['output']>;
390
- };
391
-
392
- export type ComponentsList = ListResult & {
393
- __typename?: 'ComponentsList';
394
- components: Array<Component>;
395
- limit: Scalars['Int']['output'];
396
- totalCount: Scalars['Int']['output'];
397
- };
398
-
399
- export type ComponentsUpdate = {
400
- value: Scalars['String']['input'];
401
- };
402
-
403
- export const ConfirmationAction = {
404
- /** Display only a message. */
405
- Message: 'Message',
406
- /** Display a message and keep the form as is. */
407
- MessageKeepForm: 'MessageKeepForm',
408
- /** Redirect to a URL. */
409
- Redirect: 'Redirect',
410
- } as const;
411
-
412
- export type ConfirmationAction = (typeof ConfirmationAction)[keyof typeof ConfirmationAction];
413
- export type Course = {
414
- __typename?: 'Course';
415
- archived: Scalars['Boolean']['output'];
416
- courseAndLessonLocationVersions: CourseAndLessonLocationVersionsList;
417
- emptyNotesMessage?: Maybe<Scalars['String']['output']>;
418
- enableNotes: Scalars['Boolean']['output'];
419
- id: Scalars['String']['output'];
420
- lessonCompletionMode: LessonCompletionMode;
421
- lessons: LessonsList;
422
- maxDepth: Scalars['Int']['output'];
423
- title: Scalars['String']['output'];
424
- versions: CourseVersionsList;
425
- };
426
-
427
- export type CourseCourseAndLessonLocationVersionsArgs = {
428
- limit?: InputMaybe<Scalars['Int']['input']>;
429
- page?: InputMaybe<Scalars['Int']['input']>;
430
- };
431
-
432
- export type CourseLessonsArgs = {
433
- deep?: InputMaybe<Scalars['Boolean']['input']>;
434
- status?: InputMaybe<Array<PublishStatus>>;
435
- };
436
-
437
- export type CourseVersionsArgs = {
438
- limit?: InputMaybe<Scalars['Int']['input']>;
439
- page?: InputMaybe<Scalars['Int']['input']>;
440
- };
441
-
442
- export type CourseAndLessonLocationVersionsList = ListResult & {
443
- __typename?: 'CourseAndLessonLocationVersionsList';
444
- limit: Scalars['Int']['output'];
445
- totalCount: Scalars['Int']['output'];
446
- versions: Array<CourseVersionOrLessonVersion>;
447
- };
448
-
449
- export type CourseVersion = {
450
- __typename?: 'CourseVersion';
451
- archived?: Maybe<Scalars['Boolean']['output']>;
452
- byUser: UserProfile;
453
- changes: Array<CourseVersionChange>;
454
- createdAt: Scalars['Date']['output'];
455
- emptyNotesMessage?: Maybe<Scalars['String']['output']>;
456
- enableNotes?: Maybe<Scalars['Boolean']['output']>;
457
- id: Scalars['String']['output'];
458
- lessonCompletionMode?: Maybe<LessonCompletionMode>;
459
- maxDepth?: Maybe<Scalars['Int']['output']>;
460
- title?: Maybe<Scalars['String']['output']>;
461
- };
462
-
463
- export const CourseVersionChange = {
464
- Archived: 'Archived',
465
- EmptyNotesMessage: 'EmptyNotesMessage',
466
- EnableNotes: 'EnableNotes',
467
- LessonCompletionMode: 'LessonCompletionMode',
468
- MaxDepth: 'MaxDepth',
469
- Title: 'Title',
470
- } as const;
471
-
472
- export type CourseVersionChange = (typeof CourseVersionChange)[keyof typeof CourseVersionChange];
473
- export type CourseVersionOrLessonVersion = CourseVersion | LessonVersion;
474
-
475
- export type CourseVersionsList = ListResult & {
476
- __typename?: 'CourseVersionsList';
477
- courseVersions: Array<CourseVersion>;
478
- limit: Scalars['Int']['output'];
479
- totalCount: Scalars['Int']['output'];
480
- };
481
-
482
- export type CoursesList = ListResult & {
483
- __typename?: 'CoursesList';
484
- courses: Array<Course>;
485
- limit: Scalars['Int']['output'];
486
- totalCount: Scalars['Int']['output'];
487
- };
488
-
489
- export type CreateAdminUserInput = {
490
- email: Scalars['String']['input'];
491
- firstName: Scalars['String']['input'];
492
- lastName: Scalars['String']['input'];
493
- permissionNames?: InputMaybe<Array<PermissionName>>;
494
- platformId: Scalars['String']['input'];
495
- };
496
-
497
- export type CreateAdminUserResult = CreateAdminUserSuccessResult | UserError;
498
-
499
- export type CreateAdminUserSuccessResult = {
500
- __typename?: 'CreateAdminUserSuccessResult';
501
- platformAdminUser: PlatformAdminUser;
502
- };
503
-
504
- export type CreateAssetInput = {
505
- alt?: InputMaybe<Scalars['String']['input']>;
506
- name: Scalars['String']['input'];
507
- platformId: Scalars['String']['input'];
508
- productItem?: InputMaybe<Scalars['String']['input']>;
509
- roles?: InputMaybe<Array<Scalars['String']['input']>>;
510
- tags?: InputMaybe<Array<Scalars['String']['input']>>;
511
- type: AssetType;
512
- };
513
-
514
- export type CreateAssetResult = AuthorizationError | CreateAssetSuccessResult | UserError;
515
-
516
- export type CreateAssetSuccessResult = {
517
- __typename?: 'CreateAssetSuccessResult';
518
- asset: Asset;
519
- };
520
-
521
- export type CreateAssetVariantInput = {
522
- assetId: Scalars['String']['input'];
523
- format?: InputMaybe<AssetVariantFormat>;
524
- generatePrompt?: InputMaybe<Scalars['String']['input']>;
525
- heightPx?: InputMaybe<Scalars['Int']['input']>;
526
- manualUrl?: InputMaybe<Scalars['String']['input']>;
527
- mode: AssetVariantMode;
528
- name: Scalars['String']['input'];
529
- quality?: InputMaybe<Scalars['Int']['input']>;
530
- sourceAssetVariantId?: InputMaybe<Scalars['String']['input']>;
531
- /** If mode is ManualUpload, this is the name of the file to upload. */
532
- uploadFileName?: InputMaybe<Scalars['String']['input']>;
533
- /** If mode is ManualUpload, this is the MIME type of the file to upload. */
534
- uploadMimeType?: InputMaybe<Scalars['String']['input']>;
535
- widthPx?: InputMaybe<Scalars['Int']['input']>;
536
- };
537
-
538
- export type CreateAssetVariantResult =
539
- | AuthorizationError
540
- | CreateAssetVariantSuccessResult
541
- | InternalError
542
- | UserError;
543
-
544
- export type CreateAssetVariantSuccessResult = {
545
- __typename?: 'CreateAssetVariantSuccessResult';
546
- /** The AssetVariant that was created. */
547
- assetVariant: AssetVariant;
548
- /** The AssetVariantVersion that was created. */
549
- assetVariantVersion: AssetVariantVersion;
550
- /** If mode is ManualUpload, this is the signed URL to use to upload the file. */
551
- signedUploadUrl?: Maybe<Scalars['String']['output']>;
552
- };
553
-
554
- export type CreateComponentInput = {
555
- components?: InputMaybe<Scalars['String']['input']>;
556
- name: Scalars['String']['input'];
557
- platformId: Scalars['String']['input'];
558
- };
559
-
560
- export type CreateComponentResult = CreateComponentSuccessResult | UserError;
561
-
562
- export type CreateComponentSuccessResult = {
563
- __typename?: 'CreateComponentSuccessResult';
564
- component: Component;
565
- };
566
-
567
- export type CreateCourseInput = {
568
- platformId: Scalars['String']['input'];
569
- title: Scalars['String']['input'];
570
- };
571
-
572
- export type CreateCourseResult = CreateCourseSuccessResult | UserError;
573
-
574
- export type CreateCourseSuccessResult = {
575
- __typename?: 'CreateCourseSuccessResult';
576
- course: Course;
577
- };
578
-
579
- export type CreateCustomTableEditorFormVersionInput = {
580
- components: Scalars['String']['input'];
581
- customTableId: Scalars['String']['input'];
582
- setAsCurrent?: Scalars['Boolean']['input'];
583
- };
584
-
585
- export type CreateCustomTableEditorFormVersionResult =
586
- | AuthorizationError
587
- | CreateCustomTableEditorFormVersionSuccessResult
588
- | UserError;
589
-
590
- export type CreateCustomTableEditorFormVersionSuccessResult = {
591
- __typename?: 'CreateCustomTableEditorFormVersionSuccessResult';
592
- customTable: CustomTable;
593
- customTableEditorFormVersion: CustomTableEditorFormVersion;
594
- };
595
-
596
- export type CreateExtensionInput = {
597
- /** A JSON object. */
598
- config?: InputMaybe<Scalars['String']['input']>;
599
- enabled: Scalars['Boolean']['input'];
600
- name: Scalars['String']['input'];
601
- platformId: Scalars['String']['input'];
602
- };
603
-
604
- export type CreateExtensionResult = CreateExtensionSuccessResult | InternalError | UserError;
605
-
606
- export type CreateExtensionSuccessResult = {
607
- __typename?: 'CreateExtensionSuccessResult';
608
- extension: Extension;
609
- };
610
-
611
- export type CreateExtensionVersionInput = {
612
- /** Automatically deploy the version as the extension’s current version after it is built. */
613
- autoDeploy?: Scalars['Boolean']['input'];
614
- /** A JSON object. */
615
- config?: InputMaybe<Scalars['String']['input']>;
616
- enableDb: Scalars['Boolean']['input'];
617
- enableServer: Scalars['Boolean']['input'];
618
- extensionId: Scalars['String']['input'];
619
- /** The extension name is required only so that we can validate that a user is not mistakenly trying to change the name. */
620
- extensionName: Scalars['String']['input'];
621
- /** A JSON object. */
622
- manifest: Scalars['String']['input'];
623
- versionName: Scalars['String']['input'];
624
- };
625
-
626
- export type CreateExtensionVersionResult =
627
- | AuthorizationError
628
- | CreateExtensionVersionSuccessResult
629
- | InternalError
630
- | UserError;
631
-
632
- export type CreateExtensionVersionSuccessResult = {
633
- __typename?: 'CreateExtensionVersionSuccessResult';
634
- extension: Extension;
635
- extensionVersion: ExtensionVersion;
636
- /** The URL to PUT an archive file to with the extension’s source code. */
637
- signedUrl: Scalars['String']['output'];
638
- };
639
-
640
- export type CreateLayoutInput = {
641
- components: Scalars['String']['input'];
642
- name: Scalars['String']['input'];
643
- pathPrefix: Scalars['String']['input'];
644
- siteId: Scalars['String']['input'];
645
- };
646
-
647
- export type CreateLayoutResult = CreateLayoutSuccessResult | UserError;
648
-
649
- export type CreateLayoutSuccessResult = {
650
- __typename?: 'CreateLayoutSuccessResult';
651
- layout: Layout;
652
- };
653
-
654
- export type CreateLayoutTemplateInput = {
655
- components: Scalars['String']['input'];
656
- name: Scalars['String']['input'];
657
- pathPrefix: Scalars['String']['input'];
658
- platformId: Scalars['String']['input'];
659
- };
660
-
661
- export type CreateLayoutTemplateResult =
662
- | AuthorizationError
663
- | CreateLayoutTemplateSuccessResult
664
- | UserError;
665
-
666
- export type CreateLayoutTemplateSuccessResult = {
667
- __typename?: 'CreateLayoutTemplateSuccessResult';
668
- layoutTemplate: LayoutTemplate;
669
- };
670
-
671
- export type CreateLessonInput = {
672
- courseId: Scalars['String']['input'];
673
- parentLessonId?: InputMaybe<Scalars['String']['input']>;
674
- position: Scalars['String']['input'];
675
- title: Scalars['String']['input'];
676
- };
677
-
678
- export type CreateLessonResult = CreateLessonSuccessResult | UserError;
679
-
680
- export type CreateLessonSuccessResult = {
681
- __typename?: 'CreateLessonSuccessResult';
682
- lesson: Lesson;
683
- };
684
-
685
- export type CreateLessonUserInput = {
686
- lessonId: Scalars['String']['input'];
687
- userId: Scalars['String']['input'];
688
- };
689
-
690
- export type CreateLessonUserResult = CreateLessonUserSuccessResult | UserError;
691
-
692
- export type CreateLessonUserSuccessResult = {
693
- __typename?: 'CreateLessonUserSuccessResult';
694
- lesson: Lesson;
695
- lessonUser: LessonUser;
696
- };
697
-
698
- export type CreatePersonalApiTokenInput = {
699
- name: Scalars['String']['input'];
700
- };
701
-
702
- export type CreatePersonalApiTokenResult = CreatePersonalApiTokenSuccessResult | UserError;
703
-
704
- export type CreatePersonalApiTokenSuccessResult = {
705
- __typename?: 'CreatePersonalApiTokenSuccessResult';
706
- apiToken: PersonalApiToken;
707
- /** A JWT. */
708
- token: Scalars['String']['output'];
709
- };
710
-
711
- export type CreatePlatformApiTokenInput = {
712
- name: Scalars['String']['input'];
713
- permissions: Array<PermissionInput>;
714
- platformId: Scalars['String']['input'];
715
- };
716
-
717
- export type CreatePlatformApiTokenResult = CreatePlatformApiTokenSuccessResult | UserError;
718
-
719
- export type CreatePlatformApiTokenSuccessResult = {
720
- __typename?: 'CreatePlatformApiTokenSuccessResult';
721
- apiToken: PlatformApiToken;
722
- /** A JWT. */
723
- token: Scalars['String']['output'];
724
- };
725
-
726
- export type CreatePlatformInput = {
727
- handle: Scalars['String']['input'];
728
- mainSiteDomain?: InputMaybe<Scalars['String']['input']>;
729
- name: Scalars['String']['input'];
730
- };
731
-
732
- export type CreatePlatformResult = CreatePlatformSuccessResult | UserError;
733
-
734
- export type CreatePlatformSuccessResult = {
735
- __typename?: 'CreatePlatformSuccessResult';
736
- platform: Platform;
737
- };
738
-
739
- export type CreateProductResult = CreateProductSuccessResult | UserError;
740
-
741
- export type CreateProductSuccessResult = {
742
- __typename?: 'CreateProductSuccessResult';
743
- product: SubscriptionPlan;
744
- };
745
-
746
- export type CreateSequenceInput = {
747
- loopStages: Scalars['Boolean']['input'];
748
- platformId: Scalars['String']['input'];
749
- title: Scalars['String']['input'];
750
- };
751
-
752
- export type CreateSequenceResult = CreateSequenceSuccessResult | UserError;
753
-
754
- export type CreateSequenceSuccessResult = {
755
- __typename?: 'CreateSequenceSuccessResult';
756
- sequence: Sequence;
757
- };
758
-
759
- export type CreateSiteInput = {
760
- customFields?: InputMaybe<Array<KeyValueInput>>;
761
- /** If domain is not provided, a domain will have to be generated by an extension. */
762
- domain?: InputMaybe<Scalars['String']['input']>;
763
- googleTagManagerId?: InputMaybe<Scalars['String']['input']>;
764
- logoIconUrl?: InputMaybe<Scalars['String']['input']>;
765
- logoUrl?: InputMaybe<Scalars['String']['input']>;
766
- metaPixelId?: InputMaybe<Scalars['String']['input']>;
767
- mixpanelToken?: InputMaybe<Scalars['String']['input']>;
768
- name: Scalars['String']['input'];
769
- platformId: Scalars['String']['input'];
770
- siteTemplateId?: InputMaybe<Scalars['String']['input']>;
771
- stripePublishableKey?: InputMaybe<Scalars['String']['input']>;
772
- zendeskChatKey?: InputMaybe<Scalars['String']['input']>;
773
- };
774
-
775
- export type CreateSiteResult =
776
- | AuthorizationError
777
- | CreateSiteSuccessResult
778
- | InternalError
779
- | UserError;
780
-
781
- export type CreateSiteSuccessResult = {
782
- __typename?: 'CreateSiteSuccessResult';
783
- site: Site;
784
- };
785
-
786
- export type CreateSiteTemplateInput = {
787
- name: Scalars['String']['input'];
788
- platformId: Scalars['String']['input'];
789
- };
790
-
791
- export type CreateSiteTemplateLayoutTemplatesResult =
792
- | CreateSiteTemplateLayoutTemplatesSuccessResult
793
- | UserError;
794
-
795
- export type CreateSiteTemplateLayoutTemplatesSuccessResult = {
796
- __typename?: 'CreateSiteTemplateLayoutTemplatesSuccessResult';
797
- siteTemplate: SiteTemplate;
798
- };
799
-
800
- export type CreateSiteTemplatePageTemplatesResult =
801
- | CreateSiteTemplatePageTemplatesSuccessResult
802
- | UserError;
803
-
804
- export type CreateSiteTemplatePageTemplatesSuccessResult = {
805
- __typename?: 'CreateSiteTemplatePageTemplatesSuccessResult';
806
- siteTemplate: SiteTemplate;
807
- };
808
-
809
- export type CreateSiteTemplateResult = CreateSiteTemplateSuccessResult | UserError;
810
-
811
- export type CreateSiteTemplateSuccessResult = {
812
- __typename?: 'CreateSiteTemplateSuccessResult';
813
- siteTemplate: SiteTemplate;
814
- };
815
-
816
- export type CreateUserInput = {
817
- email: Scalars['String']['input'];
818
- expiresAt?: InputMaybe<Scalars['Date']['input']>;
819
- firstName: Scalars['String']['input'];
820
- lastName: Scalars['String']['input'];
821
- /**
822
- * Provide orgId when the new user is being added to an existing org. Otherwise a new org is automatically created and the user is set as the primary.
823
- * Must not be provided (or can be the requesting user’s own org ID) when adding a peer org member.
824
- */
825
- orgId?: InputMaybe<Scalars['String']['input']>;
826
- platformId: Scalars['String']['input'];
827
- role?: InputMaybe<Scalars['String']['input']>;
828
- status?: InputMaybe<UserStatus>;
829
- };
830
-
831
- export type CreateUserResult =
832
- | AuthorizationError
833
- | CreateUserSuccessResult
834
- | InternalError
835
- | UserError;
836
-
837
- export type CreateUserSuccessResult = {
838
- __typename?: 'CreateUserSuccessResult';
839
- user: User;
840
- };
841
-
842
- export type CustomField = {
843
- __typename?: 'CustomField';
844
- /** A JSON value. */
845
- defaultValue?: Maybe<Scalars['String']['output']>;
846
- deployStage: CustomFieldDeployStage;
847
- description?: Maybe<Scalars['String']['output']>;
848
- id: Scalars['String']['output'];
849
- indexed: Scalars['Boolean']['output'];
850
- name: Scalars['String']['output'];
851
- referencesObject?: Maybe<CustomTableObject>;
852
- required: Scalars['Boolean']['output'];
853
- requiredValid: Scalars['Boolean']['output'];
854
- type: CustomFieldType;
855
- unique: Scalars['Boolean']['output'];
856
- };
857
-
858
- export const CustomFieldDeployStage = {
859
- Create: 'Create',
860
- Live: 'Live',
861
- Remove: 'Remove',
862
- } as const;
863
-
864
- export type CustomFieldDeployStage =
865
- (typeof CustomFieldDeployStage)[keyof typeof CustomFieldDeployStage];
866
- export type CustomFieldInput = {
867
- defaultValue?: InputMaybe<Scalars['String']['input']>;
868
- description?: InputMaybe<Scalars['String']['input']>;
869
- indexed: Scalars['Boolean']['input'];
870
- name: Scalars['String']['input'];
871
- referencesObject?: InputMaybe<CustomTableObject>;
872
- required: Scalars['Boolean']['input'];
873
- type: CustomFieldType;
874
- unique: Scalars['Boolean']['input'];
875
- };
876
-
877
- export const CustomFieldType = {
878
- Boolean: 'Boolean',
879
- CustomFieldId: 'CustomFieldId',
880
- /** A plain date. */
881
- Date: 'Date',
882
- /** A plain date and a plain time combined. */
883
- DateTime: 'DateTime',
884
- Float: 'Float',
885
- FormId: 'FormId',
886
- FormTemplateId: 'FormTemplateId',
887
- Instant: 'Instant',
888
- Int: 'Int',
889
- MixerComponents: 'MixerComponents',
890
- OrgId: 'OrgId',
891
- PageId: 'PageId',
892
- PageTemplateId: 'PageTemplateId',
893
- ProductId: 'ProductId',
894
- RichText: 'RichText',
895
- SiteId: 'SiteId',
896
- String: 'String',
897
- SubscriptionId: 'SubscriptionId',
898
- UserId: 'UserId',
899
- } as const;
900
-
901
- export type CustomFieldType = (typeof CustomFieldType)[keyof typeof CustomFieldType];
902
- export type CustomFieldValue = {
903
- __typename?: 'CustomFieldValue';
904
- customField: CustomField;
905
- id: Scalars['String']['output'];
906
- /** A JSON value, possibly null. */
907
- value: Scalars['String']['output'];
908
- };
909
-
910
- export type CustomFieldValuesList = ListResult & {
911
- __typename?: 'CustomFieldValuesList';
912
- customFieldValues: Array<CustomFieldValue>;
913
- limit: Scalars['Int']['output'];
914
- totalCount: Scalars['Int']['output'];
915
- };
916
-
917
- export type CustomFieldVersionsList = ListResult & {
918
- __typename?: 'CustomFieldVersionsList';
919
- customFields: Array<CustomField>;
920
- limit: Scalars['Int']['output'];
921
- totalCount: Scalars['Int']['output'];
922
- };
923
-
924
- export type CustomFieldsList = ListResult & {
925
- __typename?: 'CustomFieldsList';
926
- customFields: Array<CustomField>;
927
- limit: Scalars['Int']['output'];
928
- totalCount: Scalars['Int']['output'];
929
- };
930
-
931
- export type CustomTable = {
932
- __typename?: 'CustomTable';
933
- currentEditorFormVersion?: Maybe<CustomTableEditorFormVersion>;
934
- editorFormVersions: CustomTableEditorFormVersionsList;
935
- fields: CustomFieldsList;
936
- id: Scalars['String']['output'];
937
- object?: Maybe<CustomTableObject>;
938
- /** The table's versions, sorted descending by createdAt. */
939
- versions: CustomTableVersionsList;
940
- };
941
-
942
- export type CustomTableFieldsArgs = {
943
- limit?: InputMaybe<Scalars['Int']['input']>;
944
- page?: InputMaybe<Scalars['Int']['input']>;
945
- };
946
-
947
- export type CustomTableVersionsArgs = {
948
- limit?: InputMaybe<Scalars['Int']['input']>;
949
- page?: InputMaybe<Scalars['Int']['input']>;
950
- };
951
-
952
- export type CustomTableEditorFormVersion = {
953
- __typename?: 'CustomTableEditorFormVersion';
954
- byUser: UserProfile;
955
- components: Scalars['String']['output'];
956
- createdAt: Scalars['Date']['output'];
957
- id: Scalars['String']['output'];
958
- };
959
-
960
- export type CustomTableEditorFormVersionsList = ListResult & {
961
- __typename?: 'CustomTableEditorFormVersionsList';
962
- customTableEditorFormVersions: Array<CustomTableEditorFormVersion>;
963
- limit: Scalars['Int']['output'];
964
- totalCount: Scalars['Int']['output'];
965
- };
966
-
967
- export const CustomTableObject = {
968
- Form: 'Form',
969
- FormTemplate: 'FormTemplate',
970
- Org: 'Org',
971
- Page: 'Page',
972
- PageTemplate: 'PageTemplate',
973
- Product: 'Product',
974
- Site: 'Site',
975
- Subscription: 'Subscription',
976
- User: 'User',
977
- } as const;
978
-
979
- export type CustomTableObject = (typeof CustomTableObject)[keyof typeof CustomTableObject];
980
- export type CustomTableVersion = {
981
- __typename?: 'CustomTableVersion';
982
- byUser: UserProfile;
983
- createdAt: Scalars['Date']['output'];
984
- deployCanceledAt?: Maybe<Scalars['Date']['output']>;
985
- deployPublishedAt?: Maybe<Scalars['Date']['output']>;
986
- deployStage: CustomTableVersionDeployStage;
987
- fields: CustomTableVersionFieldsList;
988
- id: Scalars['String']['output'];
989
- };
990
-
991
- export type CustomTableVersionFieldsArgs = {
992
- limit?: InputMaybe<Scalars['Int']['input']>;
993
- page?: InputMaybe<Scalars['Int']['input']>;
994
- };
995
-
996
- export const CustomTableVersionDeployStage = {
997
- Backfill: 'Backfill',
998
- Create: 'Create',
999
- Publish: 'Publish',
1000
- Validate: 'Validate',
1001
- } as const;
1002
-
1003
- export type CustomTableVersionDeployStage =
1004
- (typeof CustomTableVersionDeployStage)[keyof typeof CustomTableVersionDeployStage];
1005
- export type CustomTableVersionField = {
1006
- __typename?: 'CustomTableVersionField';
1007
- /** A JSON value. */
1008
- defaultValue?: Maybe<Scalars['String']['output']>;
1009
- description?: Maybe<Scalars['String']['output']>;
1010
- id: Scalars['String']['output'];
1011
- indexed: Scalars['Boolean']['output'];
1012
- name: Scalars['String']['output'];
1013
- referencesObject?: Maybe<CustomTableObject>;
1014
- required: Scalars['Boolean']['output'];
1015
- type: CustomFieldType;
1016
- unique: Scalars['Boolean']['output'];
1017
- };
1018
-
1019
- export type CustomTableVersionFieldsList = ListResult & {
1020
- __typename?: 'CustomTableVersionFieldsList';
1021
- customTableVersionFields: Array<CustomTableVersionField>;
1022
- limit: Scalars['Int']['output'];
1023
- totalCount: Scalars['Int']['output'];
1024
- };
1025
-
1026
- export type CustomTableVersionsList = ListResult & {
1027
- __typename?: 'CustomTableVersionsList';
1028
- customTableVersions: Array<CustomTableVersion>;
1029
- limit: Scalars['Int']['output'];
1030
- totalCount: Scalars['Int']['output'];
1031
- };
1032
-
1033
- export type CustomTablesList = ListResult & {
1034
- __typename?: 'CustomTablesList';
1035
- customTables: Array<CustomTable>;
1036
- limit: Scalars['Int']['output'];
1037
- totalCount: Scalars['Int']['output'];
1038
- };
1039
-
1040
- export type DeleteExtensionVersionResult =
1041
- | AuthorizationError
1042
- | DeleteExtensionVersionSuccessResult
1043
- | UserError;
1044
-
1045
- export type DeleteExtensionVersionSuccessResult = {
1046
- __typename?: 'DeleteExtensionVersionSuccessResult';
1047
- extension: Extension;
1048
- };
1049
-
1050
- export type DeleteSiteTemplateLayoutTemplatesResult =
1051
- | DeleteSiteTemplateLayoutTemplatesSuccessResult
1052
- | UserError;
1053
-
1054
- export type DeleteSiteTemplateLayoutTemplatesSuccessResult = {
1055
- __typename?: 'DeleteSiteTemplateLayoutTemplatesSuccessResult';
1056
- siteTemplate: SiteTemplate;
1057
- };
1058
-
1059
- export type DeleteSiteTemplatePageTemplatesResult =
1060
- | DeleteSiteTemplatePageTemplatesSuccessResult
1061
- | UserError;
1062
-
1063
- export type DeleteSiteTemplatePageTemplatesSuccessResult = {
1064
- __typename?: 'DeleteSiteTemplatePageTemplatesSuccessResult';
1065
- siteTemplate: SiteTemplate;
1066
- };
1067
-
1068
- export type Delta = {
1069
- __typename?: 'Delta';
1070
- /** A JSON object */
1071
- delta: Scalars['String']['output'];
1072
- };
1073
-
1074
- export type Document = {
1075
- __typename?: 'Document';
1076
- currentVersion?: Maybe<File>;
1077
- downloadPrompt?: Maybe<DocumentDownloadPrompt>;
1078
- id: Scalars['String']['output'];
1079
- name: Scalars['String']['output'];
1080
- productItem?: Maybe<Scalars['String']['output']>;
1081
- roles: Array<Scalars['String']['output']>;
1082
- stamp: Scalars['Boolean']['output'];
1083
- status: PublishStatus;
1084
- /** All of the document's versions. Accessible only to users with PermissionName.View on the document's platform. */
1085
- versions: Array<File>;
1086
- };
1087
-
1088
- export type DocumentDownloadPrompt = {
1089
- __typename?: 'DocumentDownloadPrompt';
1090
- acceptLabel: Scalars['String']['output'];
1091
- default: Scalars['Boolean']['output'];
1092
- id: Scalars['String']['output'];
1093
- name: Scalars['String']['output'];
1094
- prompt: Delta;
1095
- promptHeader: Scalars['String']['output'];
1096
- };
1097
-
1098
- export type DocumentsList = ListResult & {
1099
- __typename?: 'DocumentsList';
1100
- documents: Array<Document>;
1101
- limit: Scalars['Int']['output'];
1102
- totalCount: Scalars['Int']['output'];
1103
- };
1104
-
1105
- export type DuplicateComponentInput = {
1106
- id: Scalars['String']['input'];
1107
- name: Scalars['String']['input'];
1108
- };
1109
-
1110
- export type DuplicateComponentResult = DuplicateComponentSuccessResult | InternalError | UserError;
1111
-
1112
- export type DuplicateComponentSuccessResult = {
1113
- __typename?: 'DuplicateComponentSuccessResult';
1114
- component: Component;
1115
- };
1116
-
1117
- export type DuplicateCourseInput = {
1118
- id: Scalars['String']['input'];
1119
- title: Scalars['String']['input'];
1120
- };
1121
-
1122
- export type DuplicateCourseResult = DuplicateCourseSuccessResult | UserError;
1123
-
1124
- export type DuplicateCourseSuccessResult = {
1125
- __typename?: 'DuplicateCourseSuccessResult';
1126
- course: Course;
1127
- };
1128
-
1129
- export type DuplicateLessonInput = {
1130
- id: Scalars['String']['input'];
1131
- parentLessonId?: InputMaybe<Scalars['String']['input']>;
1132
- position: Scalars['String']['input'];
1133
- title: Scalars['String']['input'];
1134
- };
1135
-
1136
- export type DuplicateLessonResult = DuplicateLessonSuccessResult | UserError;
1137
-
1138
- export type DuplicateLessonSuccessResult = {
1139
- __typename?: 'DuplicateLessonSuccessResult';
1140
- lesson: Lesson;
1141
- };
1142
-
1143
- export type DuplicateSequenceResult = DuplicateSequenceSuccessResult | UserError;
1144
-
1145
- export type DuplicateSequenceSuccessResult = {
1146
- __typename?: 'DuplicateSequenceSuccessResult';
1147
- sequence: Sequence;
1148
- };
1149
-
1150
- export type EditAssetInput = {
1151
- alt?: InputMaybe<OptionalStringUpdate>;
1152
- archived?: InputMaybe<BooleanUpdate>;
1153
- id: Scalars['String']['input'];
1154
- name?: InputMaybe<StringUpdate>;
1155
- productItem?: InputMaybe<OptionalStringUpdate>;
1156
- roles?: InputMaybe<StringListUpdate>;
1157
- tags?: InputMaybe<StringListUpdate>;
1158
- };
1159
-
1160
- export type EditAssetResult = AuthorizationError | EditAssetSuccessResult | UserError;
1161
-
1162
- export type EditAssetSuccessResult = {
1163
- __typename?: 'EditAssetSuccessResult';
1164
- asset: Asset;
1165
- };
1166
-
1167
- /**
1168
- * The input for editing an asset variant. An asset variant's mode cannot be changed to
1169
- * avoid potential bad states.
1170
- */
1171
- export type EditAssetVariantInput = {
1172
- archived?: InputMaybe<BooleanUpdate>;
1173
- format?: InputMaybe<AssetVariantFormatUpdate>;
1174
- generatePrompt?: InputMaybe<StringUpdate>;
1175
- /** Optional because it should be possible to clear it manually when mode is ManualUrl. */
1176
- heightPx?: InputMaybe<OptionalIntUpdate>;
1177
- id: Scalars['String']['input'];
1178
- manualUrl?: InputMaybe<StringUpdate>;
1179
- name?: InputMaybe<StringUpdate>;
1180
- quality?: InputMaybe<IntUpdate>;
1181
- replaceFile: Scalars['Boolean']['input'];
1182
- sourceAssetVariantId?: InputMaybe<StringUpdate>;
1183
- /** Required if replaceFile is true. Otherwise must not be provided. */
1184
- uploadFileName?: InputMaybe<Scalars['String']['input']>;
1185
- /** Required if replaceFile is true. Otherwise must not be provided. */
1186
- uploadMimeType?: InputMaybe<Scalars['String']['input']>;
1187
- /** Optional because it should be possible to clear it manually when mode is ManualUrl. */
1188
- widthPx?: InputMaybe<OptionalIntUpdate>;
1189
- };
1190
-
1191
- export type EditAssetVariantResult =
1192
- | AuthorizationError
1193
- | EditAssetVariantSuccessResult
1194
- | InternalError
1195
- | UserError;
1196
-
1197
- export type EditAssetVariantSuccessResult = {
1198
- __typename?: 'EditAssetVariantSuccessResult';
1199
- /** The edited AssetVariant. */
1200
- assetVariant: AssetVariant;
1201
- /** The AssetVariantVersion that was created. This field is null if the edit did not produce any changes. */
1202
- assetVariantVersion?: Maybe<AssetVariantVersion>;
1203
- /** If mode is ManualUpload, this is the signed URL to use to upload the file. */
1204
- signedUploadUrl?: Maybe<Scalars['String']['output']>;
1205
- };
1206
-
1207
- export type EditComponentInput = {
1208
- components?: InputMaybe<OptionalComponentsUpdate>;
1209
- id: Scalars['String']['input'];
1210
- name?: InputMaybe<OptionalStringUpdate>;
1211
- previewProps?: InputMaybe<OptionalExpressionDataUpdate>;
1212
- propsSetupComponents?: InputMaybe<OptionalComponentsUpdate>;
1213
- };
1214
-
1215
- export type EditComponentResult = EditComponentSuccessResult | UserError;
1216
-
1217
- export type EditComponentSuccessResult = {
1218
- __typename?: 'EditComponentSuccessResult';
1219
- component: Component;
1220
- };
1221
-
1222
- export type EditCourseInput = {
1223
- archived?: InputMaybe<BooleanUpdate>;
1224
- emptyNotesMessage?: InputMaybe<OptionalStringUpdate>;
1225
- enableNotes?: InputMaybe<BooleanUpdate>;
1226
- id: Scalars['String']['input'];
1227
- lessonCompletionMode?: InputMaybe<LessonCompletionModeUpdate>;
1228
- maxDepth?: InputMaybe<IntUpdate>;
1229
- title?: InputMaybe<StringUpdate>;
1230
- };
1231
-
1232
- export type EditCourseResult = EditCourseSuccessResult | UserError;
1233
-
1234
- export type EditCourseSuccessResult = {
1235
- __typename?: 'EditCourseSuccessResult';
1236
- course: Course;
1237
- };
1238
-
1239
- export type EditCustomTableInput = {
1240
- /**
1241
- * When there is already a version of the table, this field must reference the latest version of
1242
- * the table to ensure that the client is aware of the latest schema. This way the client will not
1243
- * accidentally overwrite changes made asynchronously.
1244
- */
1245
- consistencyKeyCurrentTableVersionId?: InputMaybe<Scalars['String']['input']>;
1246
- currentEditorFormVersionId?: InputMaybe<StringUpdate>;
1247
- /** The new set of fields. If null or omitted, no changes are made to the fields. */
1248
- fields?: InputMaybe<Array<CustomFieldInput>>;
1249
- object: CustomTableObject;
1250
- platformId: Scalars['String']['input'];
1251
- };
1252
-
1253
- export type EditCustomTableResult = EditCustomTableSuccessResult | UserError;
1254
-
1255
- export type EditCustomTableSuccessResult = {
1256
- __typename?: 'EditCustomTableSuccessResult';
1257
- customTable: CustomTable;
1258
- };
1259
-
1260
- export type EditExtensionInput = {
1261
- /** A JSON object. */
1262
- config?: InputMaybe<StringUpdate>;
1263
- currentVersionId?: InputMaybe<StringUpdate>;
1264
- enabled?: InputMaybe<BooleanUpdate>;
1265
- id: Scalars['String']['input'];
1266
- };
1267
-
1268
- export type EditExtensionResult = AuthorizationError | EditExtensionSuccessResult | UserError;
1269
-
1270
- export type EditExtensionSuccessResult = {
1271
- __typename?: 'EditExtensionSuccessResult';
1272
- extension: Extension;
1273
- };
1274
-
1275
- export type EditFormStepPositionResult =
1276
- | AuthorizationError
1277
- | EditFormStepPositionSuccessResult
1278
- | InternalError
1279
- | UserError;
1280
-
1281
- export type EditFormStepPositionSuccessResult = {
1282
- __typename?: 'EditFormStepPositionSuccessResult';
1283
- formStep: FormStep;
1284
- };
1285
-
1286
- export type EditFormTemplateEmailTemplateInput = {
1287
- emailBodyTemplate?: InputMaybe<OptionalStringUpdate>;
1288
- formTemplateId: Scalars['String']['input'];
1289
- useEmailBodyTemplate: Scalars['Boolean']['input'];
1290
- };
1291
-
1292
- export type EditFormTemplateEmailTemplateResult =
1293
- | EditFormTemplateEmailTemplateSuccessResult
1294
- | UserError;
1295
-
1296
- export type EditFormTemplateEmailTemplateSuccessResult = {
1297
- __typename?: 'EditFormTemplateEmailTemplateSuccessResult';
1298
- formTemplate: FormTemplate;
1299
- };
1300
-
1301
- export type EditFormTemplateInput = {
1302
- components?: InputMaybe<ComponentsUpdate>;
1303
- emailBodyTemplate?: InputMaybe<OptionalStringUpdate>;
1304
- emailSubjectTemplate?: InputMaybe<OptionalStringUpdate>;
1305
- id: Scalars['String']['input'];
1306
- status?: InputMaybe<PublishStatusUpdate>;
1307
- title?: InputMaybe<StringUpdate>;
1308
- useEmailBodyTemplate?: InputMaybe<BooleanUpdate>;
1309
- useEmailSubjectTemplate?: InputMaybe<BooleanUpdate>;
1310
- };
1311
-
1312
- export type EditFormTemplateResult = AuthorizationError | EditFormTemplateSuccessResult | UserError;
1313
-
1314
- export type EditFormTemplateSuccessResult = {
1315
- __typename?: 'EditFormTemplateSuccessResult';
1316
- formTemplate: FormTemplate;
1317
- };
1318
-
1319
- export type EditLayoutInput = {
1320
- components?: InputMaybe<ComponentsUpdate>;
1321
- id: Scalars['String']['input'];
1322
- name?: InputMaybe<StringUpdate>;
1323
- pathPrefix?: InputMaybe<StringUpdate>;
1324
- status?: InputMaybe<PublishStatusUpdate>;
1325
- };
1326
-
1327
- export type EditLayoutResult = EditLayoutSuccessResult | UserError;
1328
-
1329
- export type EditLayoutSuccessResult = {
1330
- __typename?: 'EditLayoutSuccessResult';
1331
- layout: Layout;
1332
- };
1333
-
1334
- export type EditLayoutTemplateInput = {
1335
- components?: InputMaybe<ComponentsUpdate>;
1336
- id: Scalars['String']['input'];
1337
- name?: InputMaybe<StringUpdate>;
1338
- pathPrefix?: InputMaybe<StringUpdate>;
1339
- status?: InputMaybe<PublishStatusUpdate>;
1340
- };
1341
-
1342
- export type EditLayoutTemplateResult =
1343
- | AuthorizationError
1344
- | EditLayoutTemplateSuccessResult
1345
- | UserError;
1346
-
1347
- export type EditLayoutTemplateSuccessResult = {
1348
- __typename?: 'EditLayoutTemplateSuccessResult';
1349
- layoutTemplate: LayoutTemplate;
1350
- };
1351
-
1352
- export type EditLessonInput = {
1353
- completionSpec?: InputMaybe<OptionalStringUpdate>;
1354
- components?: InputMaybe<ComponentsUpdate>;
1355
- enableContent?: InputMaybe<BooleanUpdate>;
1356
- id: Scalars['String']['input'];
1357
- parentLessonId?: InputMaybe<OptionalStringUpdate>;
1358
- position?: InputMaybe<StringUpdate>;
1359
- status?: InputMaybe<PublishStatusUpdate>;
1360
- title?: InputMaybe<StringUpdate>;
1361
- };
1362
-
1363
- export type EditLessonResult = EditLessonSuccessResult | UserError;
1364
-
1365
- export type EditLessonSuccessResult = {
1366
- __typename?: 'EditLessonSuccessResult';
1367
- lesson: Lesson;
1368
- };
1369
-
1370
- export type EditLessonUserInput = {
1371
- completed?: InputMaybe<BooleanUpdate>;
1372
- id: Scalars['String']['input'];
1373
- notes?: InputMaybe<StringUpdate>;
1374
- state?: InputMaybe<StringUpdate>;
1375
- };
1376
-
1377
- export type EditLessonUserResult = EditLessonUserSuccessResult | UserError;
1378
-
1379
- export type EditLessonUserSuccessResult = {
1380
- __typename?: 'EditLessonUserSuccessResult';
1381
- /** LessonUsers that were automatically edited (i.e., the value of completedAt) as a result of this edit. */
1382
- autoEditedLessonUsers: Array<LessonUser>;
1383
- /** Lessons whose lessonUser was automatically edited (i.e., the value of completedAt) as a result of this edit. */
1384
- autoEditedLessons: Array<Lesson>;
1385
- lessonUser: LessonUser;
1386
- };
1387
-
1388
- export type EditOrgPrimaryUserInput = {
1389
- notes?: InputMaybe<Scalars['String']['input']>;
1390
- /** The ID of the user to set as the primary in their org. */
1391
- userId: Scalars['String']['input'];
1392
- };
1393
-
1394
- export type EditOrgPrimaryUserResult = EditOrgPrimaryUserSuccessResult | UserError;
1395
-
1396
- export type EditOrgPrimaryUserSuccessResult = {
1397
- __typename?: 'EditOrgPrimaryUserSuccessResult';
1398
- org: Org;
1399
- previousPrimaryUser?: Maybe<User>;
1400
- };
1401
-
1402
- export type EditPageInput = {
1403
- bodyStyles?: InputMaybe<BodyStylesUpdate>;
1404
- components?: InputMaybe<ComponentsUpdate>;
1405
- id: Scalars['String']['input'];
1406
- layoutId?: InputMaybe<OptionalStringUpdate>;
1407
- metaDescription?: InputMaybe<OptionalStringUpdate>;
1408
- metaImageUrl?: InputMaybe<OptionalStringUpdate>;
1409
- metaRobots?: InputMaybe<StringListUpdate>;
1410
- metaTitle?: InputMaybe<OptionalStringUpdate>;
1411
- pageTemplateId?: InputMaybe<OptionalStringUpdate>;
1412
- path?: InputMaybe<StringUpdate>;
1413
- productItem?: InputMaybe<OptionalStringUpdate>;
1414
- public?: InputMaybe<BooleanUpdate>;
1415
- roles?: InputMaybe<StringListUpdate>;
1416
- status?: InputMaybe<PublishStatusUpdate>;
1417
- title?: InputMaybe<StringUpdate>;
1418
- };
1419
-
1420
- export type EditPageResult = AuthorizationError | EditPageSuccessResult | UserError;
1421
-
1422
- export type EditPageSuccessResult = {
1423
- __typename?: 'EditPageSuccessResult';
1424
- page: Page;
1425
- };
1426
-
1427
- export type EditPageTemplateInput = {
1428
- bodyStyles?: InputMaybe<StringUpdate>;
1429
- components?: InputMaybe<OptionalComponentsUpdate>;
1430
- description?: InputMaybe<OptionalStringUpdate>;
1431
- id: Scalars['String']['input'];
1432
- metaDescription?: InputMaybe<OptionalStringUpdate>;
1433
- metaImageUrl?: InputMaybe<OptionalStringUpdate>;
1434
- metaRobots?: InputMaybe<StringListUpdate>;
1435
- metaTitle?: InputMaybe<OptionalStringUpdate>;
1436
- path?: InputMaybe<StringUpdate>;
1437
- previewImageUrl?: InputMaybe<OptionalStringUpdate>;
1438
- previewProps?: InputMaybe<OptionalExpressionDataUpdate>;
1439
- propsSetupComponents?: InputMaybe<OptionalComponentsUpdate>;
1440
- status?: InputMaybe<PublishStatusUpdate>;
1441
- title?: InputMaybe<StringUpdate>;
1442
- };
1443
-
1444
- export type EditPageTemplateResult = AuthorizationError | EditPageTemplateSuccessResult | UserError;
1445
-
1446
- export type EditPageTemplateSuccessResult = {
1447
- __typename?: 'EditPageTemplateSuccessResult';
1448
- pageTemplate: PageTemplate;
1449
- };
1450
-
1451
- export type EditPlatformAdminUserInput = {
1452
- active?: InputMaybe<BooleanUpdate>;
1453
- id: Scalars['String']['input'];
1454
- owner?: InputMaybe<BooleanUpdate>;
1455
- permissions?: InputMaybe<PermissionListUpdate>;
1456
- };
1457
-
1458
- export type EditPlatformAdminUserResult =
1459
- | AuthorizationError
1460
- | EditPlatformAdminUserSuccessResult
1461
- | UserError;
1462
-
1463
- export type EditPlatformAdminUserSuccessResult = {
1464
- __typename?: 'EditPlatformAdminUserSuccessResult';
1465
- platformAdminUser: PlatformAdminUser;
1466
- };
1467
-
1468
- export type EditPlatformInput = {
1469
- emailReplyToAddress?: InputMaybe<OptionalStringUpdate>;
1470
- emailSendFromAddress?: InputMaybe<StringUpdate>;
1471
- id: Scalars['String']['input'];
1472
- roles?: InputMaybe<RolesUpdate>;
1473
- sendGridApiKey?: InputMaybe<OptionalStringUpdate>;
1474
- stripeSecretKey?: InputMaybe<OptionalStringUpdate>;
1475
- stripeWebhookSigningSecret?: InputMaybe<OptionalStringUpdate>;
1476
- };
1477
-
1478
- export type EditPlatformResult = EditPlatformSuccessResult | UserError;
1479
-
1480
- export type EditPlatformSuccessResult = {
1481
- __typename?: 'EditPlatformSuccessResult';
1482
- platform: Platform;
1483
- };
1484
-
1485
- export type EditProductResult = EditProductSuccessResult | UserError;
1486
-
1487
- export type EditProductSuccessResult = {
1488
- __typename?: 'EditProductSuccessResult';
1489
- product: SubscriptionPlan;
1490
- };
1491
-
1492
- export type EditSequenceResult = EditSequenceSuccessResult | UserError;
1493
-
1494
- export type EditSequenceSuccessResult = {
1495
- __typename?: 'EditSequenceSuccessResult';
1496
- sequence: Sequence;
1497
- };
1498
-
1499
- export type EditSequenceUserInput = {
1500
- sequenceId: Scalars['String']['input'];
1501
- stageId: Scalars['String']['input'];
1502
- userId: Scalars['String']['input'];
1503
- };
1504
-
1505
- export type EditSequenceUserResult = EditSequenceUserSuccessResult | UserError;
1506
-
1507
- export type EditSequenceUserSuccessResult = {
1508
- __typename?: 'EditSequenceUserSuccessResult';
1509
- sequenceUser: SequenceUser;
1510
- };
1511
-
1512
- export type EditSiteInput = {
1513
- /** The custom fields to edit. An empty list has no effect. */
1514
- customFields?: InputMaybe<Array<KeyValueInput>>;
1515
- domain?: InputMaybe<StringUpdate>;
1516
- googleTagManagerId?: InputMaybe<OptionalStringUpdate>;
1517
- id: Scalars['String']['input'];
1518
- logoIconUrl?: InputMaybe<OptionalStringUpdate>;
1519
- logoUrl?: InputMaybe<OptionalStringUpdate>;
1520
- metaPixelId?: InputMaybe<OptionalStringUpdate>;
1521
- mixpanelToken?: InputMaybe<OptionalStringUpdate>;
1522
- name?: InputMaybe<StringUpdate>;
1523
- privacyPolicy?: InputMaybe<RichTextInput>;
1524
- siteTemplateId?: InputMaybe<OptionalStringUpdate>;
1525
- stripePublishableKey?: InputMaybe<OptionalStringUpdate>;
1526
- termsOfUse?: InputMaybe<RichTextInput>;
1527
- zendeskChatKey?: InputMaybe<OptionalStringUpdate>;
1528
- };
1529
-
1530
- export type EditSiteResult = AuthorizationError | EditSiteSuccessResult | InternalError | UserError;
1531
-
1532
- export type EditSiteSuccessResult = {
1533
- __typename?: 'EditSiteSuccessResult';
1534
- site: Site;
1535
- };
1536
-
1537
- export type EditUserInput = {
1538
- /** The custom fields to edit. An empty list has no effect. */
1539
- customFields?: InputMaybe<Array<KeyValueInput>>;
1540
- expiresAt?: InputMaybe<OptionalDateUpdate>;
1541
- id: Scalars['String']['input'];
1542
- status?: InputMaybe<UserStatusUpdate>;
1543
- };
1544
-
1545
- export type EditUserResult = EditUserSuccessResult | UserError;
1546
-
1547
- export type EditUserSuccessResult = {
1548
- __typename?: 'EditUserSuccessResult';
1549
- user: User;
1550
- };
1551
-
1552
- export type Error = {
1553
- /** A user-friendly error message. */
1554
- message: Scalars['String']['output'];
1555
- };
1556
-
1557
- export type Extension = {
1558
- __typename?: 'Extension';
1559
- /** A JSON object. This object will not have the current version's config merged in. */
1560
- config: Scalars['String']['output'];
1561
- cpuLimit?: Maybe<Scalars['String']['output']>;
1562
- cpuRequest?: Maybe<Scalars['String']['output']>;
1563
- currentVersion?: Maybe<ExtensionVersion>;
1564
- enabled: Scalars['Boolean']['output'];
1565
- id: Scalars['String']['output'];
1566
- memoryLimit?: Maybe<Scalars['String']['output']>;
1567
- memoryRequest?: Maybe<Scalars['String']['output']>;
1568
- name: Scalars['String']['output'];
1569
- /**
1570
- * The server logs for the extension, collected from the standard output and standard error streams.
1571
- * The entries are sorted ascending by timestamp, and only the first 1,000 entries are returned.
1572
- * By default, the to date is the current timestamp.
1573
- * The filter argument can be any expression supported by Google Cloud Logging.
1574
- */
1575
- serverLogs: ExtensionServerLogsList;
1576
- versions: ExtensionVersionsList;
1577
- };
1578
-
1579
- export type ExtensionServerLogsArgs = {
1580
- filter?: InputMaybe<Scalars['String']['input']>;
1581
- from: Scalars['Date']['input'];
1582
- to?: InputMaybe<Scalars['Date']['input']>;
1583
- };
1584
-
1585
- export type ExtensionServerLog = {
1586
- __typename?: 'ExtensionServerLog';
1587
- id: Scalars['String']['output'];
1588
- /** A JSON object. */
1589
- jsonPayload?: Maybe<Scalars['String']['output']>;
1590
- severity?: Maybe<Scalars['String']['output']>;
1591
- /** A string with the log message. */
1592
- textPayload?: Maybe<Scalars['String']['output']>;
1593
- timestamp: Scalars['Date']['output'];
1594
- };
1595
-
1596
- export type ExtensionServerLogsList = {
1597
- __typename?: 'ExtensionServerLogsList';
1598
- extensionServerLogs: Array<ExtensionServerLog>;
1599
- };
1600
-
1601
- export type ExtensionVersion = {
1602
- __typename?: 'ExtensionVersion';
1603
- componentsBuildStage: ExtensionVersionBuildStage;
1604
- /**
1605
- * A JSON object with optional additional configuration that is merged with the extension's config.
1606
- * Properties in this object override the extension's config.
1607
- */
1608
- config?: Maybe<Scalars['String']['output']>;
1609
- hooks: Array<Scalars['String']['output']>;
1610
- id: Scalars['String']['output'];
1611
- serverBuildStage: ExtensionVersionBuildStage;
1612
- uploadStage: ExtensionVersionUploadStage;
1613
- versionName: Scalars['String']['output'];
1614
- };
1615
-
1616
- export const ExtensionVersionBuildStage = {
1617
- Building: 'Building',
1618
- Built: 'Built',
1619
- Canceled: 'Canceled',
1620
- Failed: 'Failed',
1621
- } as const;
1622
-
1623
- export type ExtensionVersionBuildStage =
1624
- (typeof ExtensionVersionBuildStage)[keyof typeof ExtensionVersionBuildStage];
1625
- export const ExtensionVersionUploadStage = {
1626
- Canceled: 'Canceled',
1627
- Uploaded: 'Uploaded',
1628
- Uploading: 'Uploading',
1629
- } as const;
1630
-
1631
- export type ExtensionVersionUploadStage =
1632
- (typeof ExtensionVersionUploadStage)[keyof typeof ExtensionVersionUploadStage];
1633
- export type ExtensionVersionsList = ListResult & {
1634
- __typename?: 'ExtensionVersionsList';
1635
- extensionVersions: Array<ExtensionVersion>;
1636
- limit: Scalars['Int']['output'];
1637
- totalCount: Scalars['Int']['output'];
1638
- };
1639
-
1640
- export type ExtensionsList = ListResult & {
1641
- __typename?: 'ExtensionsList';
1642
- extensions: Array<Extension>;
1643
- limit: Scalars['Int']['output'];
1644
- totalCount: Scalars['Int']['output'];
1645
- };
1646
-
1647
- export type File = {
1648
- __typename?: 'File';
1649
- createdAt: Scalars['Date']['output'];
1650
- downloadName: Scalars['String']['output'];
1651
- /** For non-public files, the signed URL to perform a GET request on the file. */
1652
- getUrl: Scalars['String']['output'];
1653
- id: Scalars['String']['output'];
1654
- mimeType: Scalars['String']['output'];
1655
- status: FileStatus;
1656
- /** The publicly accessible URL for the associated file. */
1657
- url?: Maybe<Scalars['String']['output']>;
1658
- };
1659
-
1660
- export type FileGetUrlArgs = {
1661
- download: Scalars['Boolean']['input'];
1662
- };
1663
-
1664
- export const FileStatus = {
1665
- Canceled: 'Canceled',
1666
- Deleted: 'Deleted',
1667
- Uploaded: 'Uploaded',
1668
- Uploading: 'Uploading',
1669
- } as const;
1670
-
1671
- export type FileStatus = (typeof FileStatus)[keyof typeof FileStatus];
1672
- export type FindOrCreateStripeSubscriptionActiveResult = {
1673
- __typename?: 'FindOrCreateStripeSubscriptionActiveResult';
1674
- id: Scalars['String']['output'];
1675
- stripeSubscriptionId: Scalars['String']['output'];
1676
- };
1677
-
1678
- export type FindOrCreateStripeSubscriptionErrorResult = {
1679
- __typename?: 'FindOrCreateStripeSubscriptionErrorResult';
1680
- message: Scalars['String']['output'];
1681
- };
1682
-
1683
- export type FindOrCreateStripeSubscriptionIncompleteResult = {
1684
- __typename?: 'FindOrCreateStripeSubscriptionIncompleteResult';
1685
- id: Scalars['String']['output'];
1686
- paymentIntentClientSecret: Scalars['String']['output'];
1687
- stripeSubscriptionId: Scalars['String']['output'];
1688
- };
1689
-
1690
- export type FindOrCreateStripeSubscriptionResult =
1691
- | FindOrCreateStripeSubscriptionActiveResult
1692
- | FindOrCreateStripeSubscriptionErrorResult
1693
- | FindOrCreateStripeSubscriptionIncompleteResult
1694
- | FindOrCreateStripeSubscriptionUpdatedResult;
1695
-
1696
- export type FindOrCreateStripeSubscriptionUpdatedResult = {
1697
- __typename?: 'FindOrCreateStripeSubscriptionUpdatedResult';
1698
- subscriptionPlanId: Scalars['String']['output'];
1699
- };
1700
-
1701
- export type Form = {
1702
- __typename?: 'Form';
1703
- components: Scalars['String']['output'];
1704
- confirmationAction: ConfirmationAction;
1705
- confirmationMessageComponents?: Maybe<Scalars['String']['output']>;
1706
- confirmationRedirectParameters: Array<FormConfirmationRedirectUrlParameter>;
1707
- confirmationRedirectUrl?: Maybe<Scalars['String']['output']>;
1708
- emailBodyTemplate?: Maybe<Scalars['String']['output']>;
1709
- emailSubjectTemplate?: Maybe<Scalars['String']['output']>;
1710
- entriesTotalCount: Scalars['Int']['output'];
1711
- id: Scalars['String']['output'];
1712
- steps: Array<FormStep>;
1713
- submissionActions: Array<FormSubmissionAction>;
1714
- title: Scalars['String']['output'];
1715
- useEmailBodyTemplate: Scalars['Boolean']['output'];
1716
- useEmailSubjectTemplate: Scalars['Boolean']['output'];
1717
- versions: FormVersionsList;
1718
- };
1719
-
1720
- export type FormVersionsArgs = {
1721
- byUserId?: InputMaybe<Scalars['String']['input']>;
1722
- limit?: InputMaybe<Scalars['Int']['input']>;
1723
- page?: InputMaybe<Scalars['Int']['input']>;
1724
- };
1725
-
1726
- export type FormConfirmationRedirectUrlParameter = {
1727
- __typename?: 'FormConfirmationRedirectUrlParameter';
1728
- componentName: Scalars['String']['output'];
1729
- id: Scalars['String']['output'];
1730
- parameter: Scalars['String']['output'];
1731
- };
1732
-
1733
- export type FormConfirmationRedirectUrlParameterInput = {
1734
- componentName: Scalars['String']['input'];
1735
- id: Scalars['String']['input'];
1736
- parameter: Scalars['String']['input'];
1737
- };
1738
-
1739
- export type FormEntriesList = ListResult & {
1740
- __typename?: 'FormEntriesList';
1741
- entries: Array<FormEntry>;
1742
- limit: Scalars['Int']['output'];
1743
- totalCount: Scalars['Int']['output'];
1744
- };
1745
-
1746
- export type FormEntry = {
1747
- __typename?: 'FormEntry';
1748
- createdAt: Scalars['Date']['output'];
1749
- formData: Scalars['String']['output'];
1750
- formId: Scalars['String']['output'];
1751
- formTitle: Scalars['String']['output'];
1752
- id: Scalars['String']['output'];
1753
- submissionPageUrl: Scalars['String']['output'];
1754
- user?: Maybe<UserProfile>;
1755
- };
1756
-
1757
- export type FormStep = {
1758
- __typename?: 'FormStep';
1759
- components: Scalars['String']['output'];
1760
- edited: Scalars['Boolean']['output'];
1761
- enabled: Scalars['Boolean']['output'];
1762
- id: Scalars['String']['output'];
1763
- name: Scalars['String']['output'];
1764
- /** A lexicographical sorting key. */
1765
- position: Scalars['String']['output'];
1766
- };
1767
-
1768
- export type FormSubmissionAction = {
1769
- __typename?: 'FormSubmissionAction';
1770
- createdAt: Scalars['Date']['output'];
1771
- emailAddress?: Maybe<Scalars['String']['output']>;
1772
- emailSubject?: Maybe<Scalars['String']['output']>;
1773
- formId: Scalars['String']['output'];
1774
- id: Scalars['String']['output'];
1775
- type: FormSubmissionActionType;
1776
- webhookUrl?: Maybe<Scalars['String']['output']>;
1777
- };
1778
-
1779
- export const FormSubmissionActionType = {
1780
- Email: 'Email',
1781
- Webhook: 'Webhook',
1782
- } as const;
1783
-
1784
- export type FormSubmissionActionType =
1785
- (typeof FormSubmissionActionType)[keyof typeof FormSubmissionActionType];
1786
- export type FormTemplate = {
1787
- __typename?: 'FormTemplate';
1788
- components: Scalars['String']['output'];
1789
- confirmationAction: ConfirmationAction;
1790
- confirmationMessageComponents?: Maybe<Scalars['String']['output']>;
1791
- confirmationRedirectParameters: Array<FormConfirmationRedirectUrlParameter>;
1792
- confirmationRedirectUrl?: Maybe<Scalars['String']['output']>;
1793
- emailBodyTemplate?: Maybe<Scalars['String']['output']>;
1794
- emailSubjectTemplate?: Maybe<Scalars['String']['output']>;
1795
- id: Scalars['String']['output'];
1796
- status: PublishStatus;
1797
- steps: Array<FormTemplateStep>;
1798
- title: Scalars['String']['output'];
1799
- useEmailBodyTemplate: Scalars['Boolean']['output'];
1800
- useEmailSubjectTemplate: Scalars['Boolean']['output'];
1801
- };
1802
-
1803
- export type FormTemplateStep = {
1804
- __typename?: 'FormTemplateStep';
1805
- components: Scalars['String']['output'];
1806
- enabled: Scalars['Boolean']['output'];
1807
- id: Scalars['String']['output'];
1808
- name: Scalars['String']['output'];
1809
- /** A lexicographical sorting key. */
1810
- position: Scalars['String']['output'];
1811
- };
1812
-
1813
- export type FormVersion = {
1814
- __typename?: 'FormVersion';
1815
- byUser: UserProfile;
1816
- changes: Array<FormVersionChange>;
1817
- components?: Maybe<Scalars['String']['output']>;
1818
- confirmationAction?: Maybe<ConfirmationAction>;
1819
- confirmationMessageComponents?: Maybe<Scalars['String']['output']>;
1820
- confirmationRedirectUrl?: Maybe<Scalars['String']['output']>;
1821
- confirmationRedirectUrlParameters: Array<FormVersionConfirmationRedirectUrlParameter>;
1822
- createdAt: Scalars['Date']['output'];
1823
- emailBodyTemplate?: Maybe<Scalars['String']['output']>;
1824
- emailSubjectTemplate?: Maybe<Scalars['String']['output']>;
1825
- formTemplate?: Maybe<FormTemplate>;
1826
- id: Scalars['String']['output'];
1827
- steps: Array<FormVersionStep>;
1828
- title?: Maybe<Scalars['String']['output']>;
1829
- useEmailBodyTemplate?: Maybe<Scalars['Boolean']['output']>;
1830
- useEmailSubjectTemplate?: Maybe<Scalars['Boolean']['output']>;
1831
- };
1832
-
1833
- export const FormVersionChange = {
1834
- Components: 'Components',
1835
- ConfirmationAction: 'ConfirmationAction',
1836
- ConfirmationMessageComponents: 'ConfirmationMessageComponents',
1837
- ConfirmationRedirectUrl: 'ConfirmationRedirectUrl',
1838
- ConfirmationRedirectUrlParameters: 'ConfirmationRedirectUrlParameters',
1839
- EmailBodyTemplate: 'EmailBodyTemplate',
1840
- EmailSubjectTemplate: 'EmailSubjectTemplate',
1841
- FormTemplateId: 'FormTemplateId',
1842
- Title: 'Title',
1843
- UseEmailBodyTemplate: 'UseEmailBodyTemplate',
1844
- UseEmailSubjectTemplate: 'UseEmailSubjectTemplate',
1845
- } as const;
1846
-
1847
- export type FormVersionChange = (typeof FormVersionChange)[keyof typeof FormVersionChange];
1848
- export type FormVersionConfirmationRedirectUrlParameter = {
1849
- __typename?: 'FormVersionConfirmationRedirectUrlParameter';
1850
- componentName: Scalars['String']['output'];
1851
- id: Scalars['String']['output'];
1852
- parameter: Scalars['String']['output'];
1853
- };
1854
-
1855
- export type FormVersionStep = {
1856
- __typename?: 'FormVersionStep';
1857
- components: Scalars['String']['output'];
1858
- enabled: Scalars['Boolean']['output'];
1859
- id: Scalars['String']['output'];
1860
- name: Scalars['String']['output'];
1861
- position: Scalars['String']['output'];
1862
- };
1863
-
1864
- export type FormVersionsList = ListResult & {
1865
- __typename?: 'FormVersionsList';
1866
- formVersions: Array<FormVersion>;
1867
- limit: Scalars['Int']['output'];
1868
- totalCount: Scalars['Int']['output'];
1869
- };
1870
-
1871
- export const GCloudCertificateMapEntryState = {
1872
- Active: 'Active',
1873
- Pending: 'Pending',
1874
- Unknown: 'Unknown',
1875
- } as const;
1876
-
1877
- export type GCloudCertificateMapEntryState =
1878
- (typeof GCloudCertificateMapEntryState)[keyof typeof GCloudCertificateMapEntryState];
1879
- export const GCloudCertificateState = {
1880
- Active: 'Active',
1881
- Failed: 'Failed',
1882
- Provisioning: 'Provisioning',
1883
- Unknown: 'Unknown',
1884
- } as const;
1885
-
1886
- export type GCloudCertificateState =
1887
- (typeof GCloudCertificateState)[keyof typeof GCloudCertificateState];
1888
- export type GenerateComponentsAskSuccessResult = {
1889
- __typename?: 'GenerateComponentsAskSuccessResult';
1890
- response: Scalars['String']['output'];
1891
- };
1892
-
1893
- export type GenerateComponentsDesignSuccessResult = {
1894
- __typename?: 'GenerateComponentsDesignSuccessResult';
1895
- components: Scalars['String']['output'];
1896
- };
1897
-
1898
- export type GenerateComponentsInput = {
1899
- messages?: InputMaybe<Array<AiChatMessage>>;
1900
- mode: GenerateComponentsMode;
1901
- /** The title of the object for which we are generating, such as 'Home' or 'Contact Us'. */
1902
- objectTitle: Scalars['String']['input'];
1903
- /** The type of object for which we are generating. */
1904
- objectType: VisualDesignerObjectType;
1905
- platformId: Scalars['String']['input'];
1906
- prompt: Scalars['String']['input'];
1907
- /** If generating for a site, the site’s ID. */
1908
- siteId?: InputMaybe<Scalars['String']['input']>;
1909
- startingComponents: Scalars['String']['input'];
1910
- };
1911
-
1912
- export const GenerateComponentsMode = {
1913
- Ask: 'Ask',
1914
- Design: 'Design',
1915
- } as const;
1916
-
1917
- export type GenerateComponentsMode =
1918
- (typeof GenerateComponentsMode)[keyof typeof GenerateComponentsMode];
1919
- export type GenerateComponentsResult =
1920
- | GenerateComponentsAskSuccessResult
1921
- | GenerateComponentsDesignSuccessResult
1922
- | InternalError
1923
- | UserError;
1924
-
1925
- export type HelpTicket = {
1926
- __typename?: 'HelpTicket';
1927
- createdAt: Scalars['Date']['output'];
1928
- customDomain?: Maybe<Scalars['String']['output']>;
1929
- customSiteBodyEndCode?: Maybe<Scalars['String']['output']>;
1930
- customSiteBodyStartCode?: Maybe<Scalars['String']['output']>;
1931
- customSiteHeaderCode?: Maybe<Scalars['String']['output']>;
1932
- id: Scalars['String']['output'];
1933
- message: Scalars['String']['output'];
1934
- status: HelpTicketStatus;
1935
- type: Scalars['String']['output'];
1936
- user?: Maybe<User>;
1937
- userId?: Maybe<Scalars['String']['output']>;
1938
- zendeskTicketId?: Maybe<Scalars['String']['output']>;
1939
- };
1940
-
1941
- export const HelpTicketStatus = {
1942
- Closed: 'Closed',
1943
- Open: 'Open',
1944
- } as const;
1945
-
1946
- export type HelpTicketStatus = (typeof HelpTicketStatus)[keyof typeof HelpTicketStatus];
1947
- export type HelpTicketsList = ListResult & {
1948
- __typename?: 'HelpTicketsList';
1949
- helpTickets: Array<HelpTicket>;
1950
- limit: Scalars['Int']['output'];
1951
- totalCount: Scalars['Int']['output'];
1952
- };
1953
-
1954
- /** A filter for a field representing an object’s ID. */
1955
- export type IdFilter = {
1956
- /**
1957
- * If operator is Equal or NotEqual, value must be provided and include exactly one value.
1958
- * If operator is In or NotIn, value must be provided and include at least one value.
1959
- */
1960
- operator: IdFilterOperator;
1961
- value?: InputMaybe<Array<Scalars['String']['input']>>;
1962
- };
1963
-
1964
- export const IdFilterOperator = {
1965
- Equals: 'Equals',
1966
- In: 'In',
1967
- NotEquals: 'NotEquals',
1968
- NotIn: 'NotIn',
1969
- } as const;
1970
-
1971
- export type IdFilterOperator = (typeof IdFilterOperator)[keyof typeof IdFilterOperator];
1972
- export type InitialFormData = {
1973
- __typename?: 'InitialFormData';
1974
- /** A JSON object. */
1975
- formData?: Maybe<Scalars['String']['output']>;
1976
- };
1977
-
1978
- export type IntUpdate = {
1979
- value: Scalars['Int']['input'];
1980
- };
1981
-
1982
- export type InternalError = Error & {
1983
- __typename?: 'InternalError';
1984
- message: Scalars['String']['output'];
1985
- };
1986
-
1987
- export type InvalidateApiTokenResult = InvalidateApiTokenSuccessResult | UserError;
1988
-
1989
- export type InvalidateApiTokenSuccessResult = {
1990
- __typename?: 'InvalidateApiTokenSuccessResult';
1991
- apiToken: ApiToken;
1992
- };
1993
-
1994
- export const InvoiceFrequency = {
1995
- Annually: 'Annually',
1996
- Monthly: 'Monthly',
1997
- Quarterly: 'Quarterly',
1998
- SemiAnnually: 'SemiAnnually',
1999
- } as const;
2000
-
2001
- export type InvoiceFrequency = (typeof InvoiceFrequency)[keyof typeof InvoiceFrequency];
2002
- export type KeyValueInput = {
2003
- key: Scalars['String']['input'];
2004
- /** Any JSON value. */
2005
- value: Scalars['String']['input'];
2006
- };
2007
-
2008
- export type Layout = {
2009
- __typename?: 'Layout';
2010
- components: Scalars['String']['output'];
2011
- id: Scalars['String']['output'];
2012
- layoutTemplate?: Maybe<LayoutTemplate>;
2013
- name: Scalars['String']['output'];
2014
- pathPrefix: Scalars['String']['output'];
2015
- status: PublishStatus;
2016
- };
2017
-
2018
- export type LayoutTemplate = {
2019
- __typename?: 'LayoutTemplate';
2020
- components: Scalars['String']['output'];
2021
- id: Scalars['String']['output'];
2022
- name: Scalars['String']['output'];
2023
- pathPrefix: Scalars['String']['output'];
2024
- status: PublishStatus;
2025
- };
2026
-
2027
- export type LayoutTemplatesList = ListResult & {
2028
- __typename?: 'LayoutTemplatesList';
2029
- layoutTemplates: Array<LayoutTemplate>;
2030
- limit: Scalars['Int']['output'];
2031
- page: Scalars['Int']['output'];
2032
- totalCount: Scalars['Int']['output'];
2033
- };
2034
-
2035
- export type LayoutsList = ListResult & {
2036
- __typename?: 'LayoutsList';
2037
- layouts: Array<Layout>;
2038
- limit: Scalars['Int']['output'];
2039
- totalCount: Scalars['Int']['output'];
2040
- };
2041
-
2042
- export type Lesson = {
2043
- __typename?: 'Lesson';
2044
- completionSpec?: Maybe<Scalars['String']['output']>;
2045
- components: Scalars['String']['output'];
2046
- course: Course;
2047
- /**
2048
- * Whether to enable lesson content when the lesson has at least one published sub-lesson.
2049
- * This field is ignored when a lesson does not have any published sub-lessons as content is automatically enabled.
2050
- * Even with this field true, a lesson that has sub-lessons is completed if and only if all its sub-lessons are completed.
2051
- */
2052
- enableContent: Scalars['Boolean']['output'];
2053
- id: Scalars['String']['output'];
2054
- /**
2055
- * The user's lesson state. The userId field is null for unauthenticated users, in which case the field is resolved as null.
2056
- * This API makes it more ergonomic for a client to query a course with lessons when a user may or may not be authenticated.
2057
- */
2058
- lessonUser?: Maybe<LessonUser>;
2059
- parentLesson?: Maybe<Lesson>;
2060
- parentLessonId?: Maybe<Scalars['String']['output']>;
2061
- /** A lexicographical sorting key. */
2062
- position: Scalars['String']['output'];
2063
- status: PublishStatus;
2064
- /** The direct sub-lessons of the lesson. */
2065
- subLessons: LessonsList;
2066
- title: Scalars['String']['output'];
2067
- versions: LessonVersionsList;
2068
- };
2069
-
2070
- export type LessonLessonUserArgs = {
2071
- userId?: InputMaybe<Scalars['String']['input']>;
2072
- };
2073
-
2074
- export type LessonSubLessonsArgs = {
2075
- status?: InputMaybe<Array<PublishStatus>>;
2076
- };
2077
-
2078
- export type LessonVersionsArgs = {
2079
- limit?: InputMaybe<Scalars['Int']['input']>;
2080
- page?: InputMaybe<Scalars['Int']['input']>;
2081
- };
2082
-
2083
- /** This enum defines how the lessons of a course get completed. */
2084
- export const LessonCompletionMode = {
2085
- /** All completable input fields (those visible to the user) must be completed. */
2086
- AllCompletableFields: 'AllCompletableFields',
2087
- /** A custom boolean expression is set per lesson. */
2088
- CustomExpression: 'CustomExpression',
2089
- /** A user must manually mark a lesson as completed. */
2090
- Manual: 'Manual',
2091
- } as const;
2092
-
2093
- export type LessonCompletionMode = (typeof LessonCompletionMode)[keyof typeof LessonCompletionMode];
2094
- export type LessonCompletionModeUpdate = {
2095
- value: LessonCompletionMode;
2096
- };
2097
-
2098
- export type LessonUser = {
2099
- __typename?: 'LessonUser';
2100
- completedAt?: Maybe<Scalars['Date']['output']>;
2101
- files: Array<File>;
2102
- id: Scalars['String']['output'];
2103
- notes?: Maybe<Scalars['String']['output']>;
2104
- /** A JSON object. */
2105
- state?: Maybe<Scalars['String']['output']>;
2106
- };
2107
-
2108
- export type LessonVersion = {
2109
- __typename?: 'LessonVersion';
2110
- afterLesson?: Maybe<Lesson>;
2111
- byUser: UserProfile;
2112
- changes: Array<LessonVersionChange>;
2113
- completionSpec?: Maybe<Scalars['String']['output']>;
2114
- components?: Maybe<Scalars['String']['output']>;
2115
- createdAt: Scalars['Date']['output'];
2116
- enableContent?: Maybe<Scalars['Boolean']['output']>;
2117
- id: Scalars['String']['output'];
2118
- lesson: Lesson;
2119
- parentLesson?: Maybe<Lesson>;
2120
- status?: Maybe<PublishStatus>;
2121
- title?: Maybe<Scalars['String']['output']>;
2122
- };
2123
-
2124
- export const LessonVersionChange = {
2125
- CompletionSpec: 'CompletionSpec',
2126
- Components: 'Components',
2127
- EnableContent: 'EnableContent',
2128
- Location: 'Location',
2129
- Status: 'Status',
2130
- Title: 'Title',
2131
- } as const;
2132
-
2133
- export type LessonVersionChange = (typeof LessonVersionChange)[keyof typeof LessonVersionChange];
2134
- export type LessonVersionsList = ListResult & {
2135
- __typename?: 'LessonVersionsList';
2136
- lessonVersions: Array<LessonVersion>;
2137
- limit: Scalars['Int']['output'];
2138
- totalCount: Scalars['Int']['output'];
2139
- };
2140
-
2141
- export type LessonsList = ListResult & {
2142
- __typename?: 'LessonsList';
2143
- lessons: Array<Lesson>;
2144
- limit: Scalars['Int']['output'];
2145
- totalCount: Scalars['Int']['output'];
2146
- };
2147
-
2148
- export type ListResult = {
2149
- limit: Scalars['Int']['output'];
2150
- /** The total number of items in the list. */
2151
- totalCount: Scalars['Int']['output'];
2152
- };
2153
-
2154
- export type MoveUserToOrgResult = MoveUserToOrgSuccessResult | UserError;
2155
-
2156
- export type MoveUserToOrgSuccessResult = {
2157
- __typename?: 'MoveUserToOrgSuccessResult';
2158
- /** The source org that the user was moved from. This will be null if the user was not previously in an org. */
2159
- sourceOrg?: Maybe<Org>;
2160
- /** The target org that the user was moved to. */
2161
- targetOrg: Org;
2162
- /** The updated user. */
2163
- user: User;
2164
- };
2165
-
2166
- export type Mutation = {
2167
- __typename?: 'Mutation';
2168
- archiveComponent: ArchiveComponentResult;
2169
- changePassword: Scalars['Boolean']['output'];
2170
- consentToAgreement: User;
2171
- /**
2172
- * Creates a platform admin user. If a user with the specified email address already exists, the user is added as an admin.
2173
- * Requires the requesting user to be an owner of the platform.
2174
- */
2175
- createAdminUser: CreateAdminUserResult;
2176
- createAsset: CreateAssetResult;
2177
- createAssetVariant: CreateAssetVariantResult;
2178
- createComponent: CreateComponentResult;
2179
- createCourse: CreateCourseResult;
2180
- createCustomTableEditorFormVersion: CreateCustomTableEditorFormVersionResult;
2181
- createDocument: Document;
2182
- createDocumentDownloadPrompt: DocumentDownloadPrompt;
2183
- createExtension: CreateExtensionResult;
2184
- createExtensionVersion: CreateExtensionVersionResult;
2185
- createForm: Form;
2186
- createFormStep: FormStep;
2187
- createFormSubmissionAction: FormSubmissionAction;
2188
- createFormTemplate: FormTemplate;
2189
- createFormTemplateStep: FormTemplateStep;
2190
- createHelpTicket: HelpTicket;
2191
- createLayout: CreateLayoutResult;
2192
- createLayoutTemplate: CreateLayoutTemplateResult;
2193
- createLesson: CreateLessonResult;
2194
- createLessonUser: CreateLessonUserResult;
2195
- createPage: Page;
2196
- createPageFromTemplate: Page;
2197
- createPageTemplate: PageTemplate;
2198
- createPersonalApiToken: CreatePersonalApiTokenResult;
2199
- createPlatform: CreatePlatformResult;
2200
- createPlatformApiToken: CreatePlatformApiTokenResult;
2201
- createProduct: CreateProductResult;
2202
- createSequence: CreateSequenceResult;
2203
- createSite: CreateSiteResult;
2204
- createSiteTemplate: CreateSiteTemplateResult;
2205
- createSiteTemplateLayoutTemplates: CreateSiteTemplateLayoutTemplatesResult;
2206
- createSiteTemplatePageTemplates: CreateSiteTemplatePageTemplatesResult;
2207
- createStage: Stage;
2208
- createStageBlueprint: StageBlueprint;
2209
- createSubscription: SubscriptionOrganization;
2210
- createSubscriptionOrg: SubscriptionOrganization;
2211
- createTlsCertificate: TlsCertificate;
2212
- createTlsCertificateMapEntry: TlsCertificate;
2213
- /**
2214
- * For platform admins, the CreateUser permission is required. To set the status to something other than the
2215
- * default (Pending), the EditUserStatus permission is required. To set the role to something other than the
2216
- * default, the EditUserRole permission is required.
2217
- *
2218
- * For non-admins, this mutation creates a peer org member, so orgId must not be provided or must be the requesting
2219
- * user’s own org ID. The status field is ignored and the default is used.
2220
- * Currently the requester needs to have the OrganizationOwner role, but that will become configurable.
2221
- */
2222
- createUser: CreateUserResult;
2223
- createUser2: CreateUserResult;
2224
- deleteExtensionVersion: DeleteExtensionVersionResult;
2225
- deleteFormStep: Scalars['Boolean']['output'];
2226
- deleteFormSubmissionAction: Scalars['Boolean']['output'];
2227
- deleteFormTemplateStep: Scalars['Boolean']['output'];
2228
- deleteSiteTemplateLayoutTemplates: DeleteSiteTemplateLayoutTemplatesResult;
2229
- deleteSiteTemplatePageTemplates: DeleteSiteTemplatePageTemplatesResult;
2230
- deleteStageBlueprint: Scalars['Boolean']['output'];
2231
- deleteSubscriptionOrg: Scalars['Boolean']['output'];
2232
- deleteSubscriptionPlan: Scalars['Boolean']['output'];
2233
- deleteTlsCertificate: Scalars['Boolean']['output'];
2234
- duplicateComponent: DuplicateComponentResult;
2235
- duplicateCourse: DuplicateCourseResult;
2236
- duplicateForm: Form;
2237
- duplicateFormTemplate: FormTemplate;
2238
- duplicateLesson: DuplicateLessonResult;
2239
- duplicatePage: Page;
2240
- duplicatePageTemplate: PageTemplate;
2241
- duplicateSequence: DuplicateSequenceResult;
2242
- duplicateStageBlueprint: StageBlueprint;
2243
- editAsset: EditAssetResult;
2244
- editAssetVariant: EditAssetVariantResult;
2245
- editComponent: EditComponentResult;
2246
- editCourse: EditCourseResult;
2247
- /** Edit the custom table (i.e., custom fields) of a specific target object. */
2248
- editCustomTable: EditCustomTableResult;
2249
- editDocument: Document;
2250
- editDocumentCurrentVersion: Document;
2251
- editDocumentDownloadPrompt: DocumentDownloadPrompt;
2252
- editExtension: EditExtensionResult;
2253
- editFile: File;
2254
- editForm: Form;
2255
- editFormStep: FormStep;
2256
- editFormStepPosition: EditFormStepPositionResult;
2257
- editFormSubmissionAction: FormSubmissionAction;
2258
- editFormTemplate: FormTemplate;
2259
- editFormTemplate2: EditFormTemplateResult;
2260
- editFormTemplateConfirmation: FormTemplate;
2261
- editFormTemplateEmailTemplate: EditFormTemplateEmailTemplateResult;
2262
- editFormTemplateStep: FormTemplateStep;
2263
- editFormTemplateStepPosition: FormTemplateStep;
2264
- editHelpTicketStatus: HelpTicket;
2265
- editLayout: EditLayoutResult;
2266
- editLayoutTemplate: EditLayoutTemplateResult;
2267
- editLesson: EditLessonResult;
2268
- editLessonUser: EditLessonUserResult;
2269
- editOrgPrimaryUser: EditOrgPrimaryUserResult;
2270
- editOrganization: Org;
2271
- editPage: EditPageResult;
2272
- editPage2: EditPageResult;
2273
- editPageMetadata: Page;
2274
- editPageProps: Page;
2275
- editPageStatus: Page;
2276
- editPageTemplate: EditPageTemplateResult;
2277
- editPlatform: EditPlatformResult;
2278
- editPlatformAdminUser: EditPlatformAdminUserResult;
2279
- editPlatformOptions: Platform;
2280
- editProduct: EditProductResult;
2281
- editSequence: EditSequenceResult;
2282
- editSequenceUser: EditSequenceUserResult;
2283
- editSite: EditSiteResult;
2284
- editStageBlueprintCompletionSpec: StageBlueprint;
2285
- editStageBlueprintComponents: StageBlueprint;
2286
- editStageBlueprintMetaData: StageBlueprint;
2287
- editStageState: Scalars['Boolean']['output'];
2288
- editSubscription: Sub;
2289
- editSubscriptionOrg: SubscriptionOrganization;
2290
- editUser: EditUserResult;
2291
- editUserEmail: User;
2292
- editUserName: User;
2293
- editUserPlan: UserPlan;
2294
- editUserRole: User;
2295
- /** @deprecated Use editUser instead. */
2296
- editUserStatus: User;
2297
- /** Finds or creates a Stripe customer for the current user. */
2298
- findOrCreateStripeCustomer: StripeCustomer;
2299
- /** Finds or creates a Stripe subscription for the current user. An existing subscription is returned only if it is active. */
2300
- findOrCreateStripeSubscription: FindOrCreateStripeSubscriptionResult;
2301
- generateComponents: GenerateComponentsResult;
2302
- invalidateApiToken: InvalidateApiTokenResult;
2303
- moveUserToOrg: MoveUserToOrgResult;
2304
- refreshSession: Scalars['Boolean']['output'];
2305
- requestPasswordReset: Scalars['Boolean']['output'];
2306
- resetPassword: Scalars['Boolean']['output'];
2307
- restoreCourseVersionChanges: RestoreCourseVersionChangesResult;
2308
- restoreFormVersionChanges: RestoreFormVersionChangesResult;
2309
- restoreLessonVersionChanges: RestoreLessonVersionChangesResult;
2310
- restorePageVersionChanges: RestorePageVersionChangesResult;
2311
- sendVerificationEmail: Scalars['Boolean']['output'];
2312
- signIn: User;
2313
- signOut: Scalars['Boolean']['output'];
2314
- splitUserToNewOrg: SplitUserToNewOrgResult;
2315
- submitForm: SubmitFormResult;
2316
- submitReview: Scalars['Boolean']['output'];
2317
- syncFormTemplateToForms: Scalars['Boolean']['output'];
2318
- /** Sync a layout template to the layouts that were created from the template. Only draft and published layouts are synced. */
2319
- syncLayoutTemplateToLayouts: SyncLayoutTemplateToLayoutsResult;
2320
- /** Sync a page template to the pages that were created from the template. Only draft and published pages are synced. */
2321
- syncPageTemplateToPages: SyncPageTemplateToPagesResult;
2322
- uploadFile: UploadFileResult;
2323
- verifyEmailAddress: User;
2324
- };
2325
-
2326
- export type MutationArchiveComponentArgs = {
2327
- id: Scalars['String']['input'];
2328
- };
2329
-
2330
- export type MutationChangePasswordArgs = {
2331
- currentPassword: Scalars['String']['input'];
2332
- newPassword: Scalars['String']['input'];
2333
- };
2334
-
2335
- export type MutationConsentToAgreementArgs = {
2336
- agreementId: Scalars['String']['input'];
2337
- userName: Scalars['String']['input'];
2338
- };
2339
-
2340
- export type MutationCreateAdminUserArgs = {
2341
- input: CreateAdminUserInput;
2342
- };
2343
-
2344
- export type MutationCreateAssetArgs = {
2345
- input: CreateAssetInput;
2346
- };
2347
-
2348
- export type MutationCreateAssetVariantArgs = {
2349
- input: CreateAssetVariantInput;
2350
- };
2351
-
2352
- export type MutationCreateComponentArgs = {
2353
- input: CreateComponentInput;
2354
- };
2355
-
2356
- export type MutationCreateCourseArgs = {
2357
- input: CreateCourseInput;
2358
- };
2359
-
2360
- export type MutationCreateCustomTableEditorFormVersionArgs = {
2361
- input: CreateCustomTableEditorFormVersionInput;
2362
- };
2363
-
2364
- export type MutationCreateDocumentArgs = {
2365
- name: Scalars['String']['input'];
2366
- platformId: Scalars['String']['input'];
2367
- };
2368
-
2369
- export type MutationCreateDocumentDownloadPromptArgs = {
2370
- acceptLabel: Scalars['String']['input'];
2371
- name: Scalars['String']['input'];
2372
- platformId: Scalars['String']['input'];
2373
- prompt: RichTextInput;
2374
- promptHeader: Scalars['String']['input'];
2375
- };
2376
-
2377
- export type MutationCreateExtensionArgs = {
2378
- input: CreateExtensionInput;
2379
- };
2380
-
2381
- export type MutationCreateExtensionVersionArgs = {
2382
- input: CreateExtensionVersionInput;
2383
- };
2384
-
2385
- export type MutationCreateFormArgs = {
2386
- siteId: Scalars['String']['input'];
2387
- title: Scalars['String']['input'];
2388
- };
2389
-
2390
- export type MutationCreateFormStepArgs = {
2391
- formId: Scalars['String']['input'];
2392
- name: Scalars['String']['input'];
2393
- position: Scalars['String']['input'];
2394
- };
2395
-
2396
- export type MutationCreateFormSubmissionActionArgs = {
2397
- emailAddress?: InputMaybe<Scalars['String']['input']>;
2398
- emailSubject?: InputMaybe<Scalars['String']['input']>;
2399
- formId: Scalars['String']['input'];
2400
- type: FormSubmissionActionType;
2401
- webhookUrl?: InputMaybe<Scalars['String']['input']>;
2402
- };
2403
-
2404
- export type MutationCreateFormTemplateArgs = {
2405
- platformId: Scalars['String']['input'];
2406
- title: Scalars['String']['input'];
2407
- };
2408
-
2409
- export type MutationCreateFormTemplateStepArgs = {
2410
- formTemplateId: Scalars['String']['input'];
2411
- name: Scalars['String']['input'];
2412
- position: Scalars['String']['input'];
2413
- };
2414
-
2415
- export type MutationCreateHelpTicketArgs = {
2416
- customDomain?: InputMaybe<Scalars['String']['input']>;
2417
- customSiteBodyEndCode?: InputMaybe<Scalars['String']['input']>;
2418
- customSiteBodyStartCode?: InputMaybe<Scalars['String']['input']>;
2419
- customSiteHeaderCode?: InputMaybe<Scalars['String']['input']>;
2420
- message: Scalars['String']['input'];
2421
- type: Scalars['String']['input'];
2422
- };
2423
-
2424
- export type MutationCreateLayoutArgs = {
2425
- input: CreateLayoutInput;
2426
- };
2427
-
2428
- export type MutationCreateLayoutTemplateArgs = {
2429
- input: CreateLayoutTemplateInput;
2430
- };
2431
-
2432
- export type MutationCreateLessonArgs = {
2433
- input: CreateLessonInput;
2434
- };
2435
-
2436
- export type MutationCreateLessonUserArgs = {
2437
- input: CreateLessonUserInput;
2438
- };
2439
-
2440
- export type MutationCreatePageArgs = {
2441
- path: Scalars['String']['input'];
2442
- siteId: Scalars['String']['input'];
2443
- title: Scalars['String']['input'];
2444
- };
2445
-
2446
- export type MutationCreatePageFromTemplateArgs = {
2447
- props?: InputMaybe<Scalars['String']['input']>;
2448
- siteId: Scalars['String']['input'];
2449
- templateId: Scalars['String']['input'];
2450
- };
2451
-
2452
- export type MutationCreatePageTemplateArgs = {
2453
- path: Scalars['String']['input'];
2454
- platformId: Scalars['String']['input'];
2455
- title: Scalars['String']['input'];
2456
- };
2457
-
2458
- export type MutationCreatePersonalApiTokenArgs = {
2459
- input: CreatePersonalApiTokenInput;
2460
- };
2461
-
2462
- export type MutationCreatePlatformArgs = {
2463
- input: CreatePlatformInput;
2464
- };
2465
-
2466
- export type MutationCreatePlatformApiTokenArgs = {
2467
- input: CreatePlatformApiTokenInput;
2468
- };
2469
-
2470
- export type MutationCreateProductArgs = {
2471
- alternativeStripePriceIds: Array<Scalars['String']['input']>;
2472
- description: Scalars['String']['input'];
2473
- displayName?: InputMaybe<Scalars['String']['input']>;
2474
- durationDays?: InputMaybe<Scalars['Int']['input']>;
2475
- endAt?: InputMaybe<Scalars['Date']['input']>;
2476
- invoiceFrequency?: InputMaybe<InvoiceFrequency>;
2477
- items: Array<Scalars['String']['input']>;
2478
- name: Scalars['String']['input'];
2479
- platformId: Scalars['String']['input'];
2480
- price: Scalars['String']['input'];
2481
- promoCodes: Array<PromoCodeInput>;
2482
- stripePriceId?: InputMaybe<Scalars['String']['input']>;
2483
- };
2484
-
2485
- export type MutationCreateSequenceArgs = {
2486
- input: CreateSequenceInput;
2487
- };
2488
-
2489
- export type MutationCreateSiteArgs = {
2490
- input: CreateSiteInput;
2491
- };
2492
-
2493
- export type MutationCreateSiteTemplateArgs = {
2494
- input: CreateSiteTemplateInput;
2495
- };
2496
-
2497
- export type MutationCreateSiteTemplateLayoutTemplatesArgs = {
2498
- input: SiteTemplateLayoutTemplatesInput;
2499
- };
2500
-
2501
- export type MutationCreateSiteTemplatePageTemplatesArgs = {
2502
- input: SiteTemplatePageTemplatesInput;
2503
- };
2504
-
2505
- export type MutationCreateStageArgs = {
2506
- date: Scalars['String']['input'];
2507
- stageBlueprintId: Scalars['String']['input'];
2508
- userId?: InputMaybe<Scalars['String']['input']>;
2509
- userTimeZone: Scalars['String']['input'];
2510
- };
2511
-
2512
- export type MutationCreateStageBlueprintArgs = {
2513
- name: Scalars['String']['input'];
2514
- planId: Scalars['String']['input'];
2515
- position: Scalars['Int']['input'];
2516
- };
2517
-
2518
- export type MutationCreateSubscriptionArgs = {
2519
- notes: Scalars['String']['input'];
2520
- organizationId: Scalars['String']['input'];
2521
- startAt: Scalars['Date']['input'];
2522
- status: SubscriptionStatus;
2523
- stripeSubscriptionId?: InputMaybe<Scalars['String']['input']>;
2524
- subscriptionPlanId: Scalars['String']['input'];
2525
- };
2526
-
2527
- export type MutationCreateSubscriptionOrgArgs = {
2528
- orgId: Scalars['String']['input'];
2529
- subscriptionId: Scalars['String']['input'];
2530
- subscriptionOwner: Scalars['Boolean']['input'];
2531
- };
2532
-
2533
- export type MutationCreateTlsCertificateArgs = {
2534
- siteId: Scalars['String']['input'];
2535
- };
2536
-
2537
- export type MutationCreateTlsCertificateMapEntryArgs = {
2538
- certificateName: Scalars['String']['input'];
2539
- domain: Scalars['String']['input'];
2540
- };
2541
-
2542
- export type MutationCreateUserArgs = {
2543
- input: CreateUserInput;
2544
- };
2545
-
2546
- export type MutationCreateUser2Args = {
2547
- input: CreateUserInput;
2548
- };
2549
-
2550
- export type MutationDeleteExtensionVersionArgs = {
2551
- id: Scalars['String']['input'];
2552
- };
2553
-
2554
- export type MutationDeleteFormStepArgs = {
2555
- id: Scalars['String']['input'];
2556
- };
2557
-
2558
- export type MutationDeleteFormSubmissionActionArgs = {
2559
- submissionActionId: Scalars['String']['input'];
2560
- };
2561
-
2562
- export type MutationDeleteFormTemplateStepArgs = {
2563
- id: Scalars['String']['input'];
2564
- };
2565
-
2566
- export type MutationDeleteSiteTemplateLayoutTemplatesArgs = {
2567
- input: SiteTemplateLayoutTemplatesInput;
2568
- };
2569
-
2570
- export type MutationDeleteSiteTemplatePageTemplatesArgs = {
2571
- input: SiteTemplatePageTemplatesInput;
2572
- };
2573
-
2574
- export type MutationDeleteStageBlueprintArgs = {
2575
- id: Scalars['String']['input'];
2576
- };
2577
-
2578
- export type MutationDeleteSubscriptionOrgArgs = {
2579
- id: Scalars['String']['input'];
2580
- notes: Scalars['String']['input'];
2581
- };
2582
-
2583
- export type MutationDeleteSubscriptionPlanArgs = {
2584
- id: Scalars['String']['input'];
2585
- };
2586
-
2587
- export type MutationDeleteTlsCertificateArgs = {
2588
- certificateName: Scalars['String']['input'];
2589
- };
2590
-
2591
- export type MutationDuplicateComponentArgs = {
2592
- input: DuplicateComponentInput;
2593
- };
2594
-
2595
- export type MutationDuplicateCourseArgs = {
2596
- input: DuplicateCourseInput;
2597
- };
2598
-
2599
- export type MutationDuplicateFormArgs = {
2600
- id: Scalars['String']['input'];
2601
- title: Scalars['String']['input'];
2602
- };
2603
-
2604
- export type MutationDuplicateFormTemplateArgs = {
2605
- templateId: Scalars['String']['input'];
2606
- };
2607
-
2608
- export type MutationDuplicateLessonArgs = {
2609
- input: DuplicateLessonInput;
2610
- };
2611
-
2612
- export type MutationDuplicatePageArgs = {
2613
- pageId: Scalars['String']['input'];
2614
- };
2615
-
2616
- export type MutationDuplicatePageTemplateArgs = {
2617
- id: Scalars['String']['input'];
2618
- };
2619
-
2620
- export type MutationDuplicateSequenceArgs = {
2621
- id: Scalars['String']['input'];
2622
- };
2623
-
2624
- export type MutationDuplicateStageBlueprintArgs = {
2625
- id: Scalars['String']['input'];
2626
- name: Scalars['String']['input'];
2627
- position: Scalars['Int']['input'];
2628
- };
2629
-
2630
- export type MutationEditAssetArgs = {
2631
- input: EditAssetInput;
2632
- };
2633
-
2634
- export type MutationEditAssetVariantArgs = {
2635
- input: EditAssetVariantInput;
2636
- };
2637
-
2638
- export type MutationEditComponentArgs = {
2639
- input: EditComponentInput;
2640
- };
2641
-
2642
- export type MutationEditCourseArgs = {
2643
- input: EditCourseInput;
2644
- };
2645
-
2646
- export type MutationEditCustomTableArgs = {
2647
- input: EditCustomTableInput;
2648
- };
2649
-
2650
- export type MutationEditDocumentArgs = {
2651
- downloadPromptId?: InputMaybe<Scalars['String']['input']>;
2652
- featureTag?: InputMaybe<Scalars['String']['input']>;
2653
- id: Scalars['String']['input'];
2654
- name: Scalars['String']['input'];
2655
- productItem?: InputMaybe<OptionalStringUpdate>;
2656
- roles: Array<Scalars['String']['input']>;
2657
- stamp: Scalars['Boolean']['input'];
2658
- status: PublishStatus;
2659
- };
2660
-
2661
- export type MutationEditDocumentCurrentVersionArgs = {
2662
- fileId: Scalars['String']['input'];
2663
- id: Scalars['String']['input'];
2664
- };
2665
-
2666
- export type MutationEditDocumentDownloadPromptArgs = {
2667
- acceptLabel: Scalars['String']['input'];
2668
- default: Scalars['Boolean']['input'];
2669
- id: Scalars['String']['input'];
2670
- name: Scalars['String']['input'];
2671
- prompt: RichTextInput;
2672
- promptHeader: Scalars['String']['input'];
2673
- };
2674
-
2675
- export type MutationEditExtensionArgs = {
2676
- input: EditExtensionInput;
2677
- };
2678
-
2679
- export type MutationEditFileArgs = {
2680
- downloadName: Scalars['String']['input'];
2681
- id: Scalars['String']['input'];
2682
- };
2683
-
2684
- export type MutationEditFormArgs = {
2685
- components: Scalars['String']['input'];
2686
- confirmationAction: ConfirmationAction;
2687
- confirmationMessageComponents?: InputMaybe<Scalars['String']['input']>;
2688
- confirmationRedirectUrl?: InputMaybe<Scalars['String']['input']>;
2689
- confirmationRedirectUrlParameters: Array<FormConfirmationRedirectUrlParameterInput>;
2690
- id: Scalars['String']['input'];
2691
- title: Scalars['String']['input'];
2692
- };
2693
-
2694
- export type MutationEditFormStepArgs = {
2695
- components: Scalars['String']['input'];
2696
- enabled: Scalars['Boolean']['input'];
2697
- id: Scalars['String']['input'];
2698
- name: Scalars['String']['input'];
2699
- position: Scalars['String']['input'];
2700
- };
2701
-
2702
- export type MutationEditFormStepPositionArgs = {
2703
- id: Scalars['String']['input'];
2704
- position: Scalars['String']['input'];
2705
- };
2706
-
2707
- export type MutationEditFormSubmissionActionArgs = {
2708
- emailAddress?: InputMaybe<Scalars['String']['input']>;
2709
- emailSubject?: InputMaybe<Scalars['String']['input']>;
2710
- submissionActionId: Scalars['String']['input'];
2711
- type: FormSubmissionActionType;
2712
- webhookUrl?: InputMaybe<Scalars['String']['input']>;
2713
- };
2714
-
2715
- export type MutationEditFormTemplateArgs = {
2716
- components: Scalars['String']['input'];
2717
- id: Scalars['String']['input'];
2718
- status: PublishStatus;
2719
- title: Scalars['String']['input'];
2720
- };
2721
-
2722
- export type MutationEditFormTemplate2Args = {
2723
- input: EditFormTemplateInput;
2724
- };
2725
-
2726
- export type MutationEditFormTemplateConfirmationArgs = {
2727
- confirmationAction: ConfirmationAction;
2728
- confirmationMessageComponents?: InputMaybe<Scalars['String']['input']>;
2729
- confirmationRedirectUrl?: InputMaybe<Scalars['String']['input']>;
2730
- confirmationRedirectUrlParameters: Array<FormConfirmationRedirectUrlParameterInput>;
2731
- id: Scalars['String']['input'];
2732
- };
2733
-
2734
- export type MutationEditFormTemplateEmailTemplateArgs = {
2735
- input: EditFormTemplateEmailTemplateInput;
2736
- };
2737
-
2738
- export type MutationEditFormTemplateStepArgs = {
2739
- components: Scalars['String']['input'];
2740
- enabled: Scalars['Boolean']['input'];
2741
- id: Scalars['String']['input'];
2742
- name: Scalars['String']['input'];
2743
- position: Scalars['String']['input'];
2744
- };
2745
-
2746
- export type MutationEditFormTemplateStepPositionArgs = {
2747
- id: Scalars['String']['input'];
2748
- position: Scalars['String']['input'];
2749
- };
2750
-
2751
- export type MutationEditHelpTicketStatusArgs = {
2752
- id: Scalars['String']['input'];
2753
- status: HelpTicketStatus;
2754
- };
2755
-
2756
- export type MutationEditLayoutArgs = {
2757
- input: EditLayoutInput;
2758
- };
2759
-
2760
- export type MutationEditLayoutTemplateArgs = {
2761
- input: EditLayoutTemplateInput;
2762
- };
2763
-
2764
- export type MutationEditLessonArgs = {
2765
- input: EditLessonInput;
2766
- };
2767
-
2768
- export type MutationEditLessonUserArgs = {
2769
- input: EditLessonUserInput;
2770
- };
2771
-
2772
- export type MutationEditOrgPrimaryUserArgs = {
2773
- input: EditOrgPrimaryUserInput;
2774
- };
2775
-
2776
- export type MutationEditOrganizationArgs = {
2777
- name: Scalars['String']['input'];
2778
- organizationId: Scalars['String']['input'];
2779
- };
2780
-
2781
- export type MutationEditPageArgs = {
2782
- input: EditPageInput;
2783
- };
2784
-
2785
- export type MutationEditPage2Args = {
2786
- input: EditPageInput;
2787
- };
2788
-
2789
- export type MutationEditPageMetadataArgs = {
2790
- metaTitle?: InputMaybe<Scalars['String']['input']>;
2791
- pageId: Scalars['String']['input'];
2792
- path: Scalars['String']['input'];
2793
- title: Scalars['String']['input'];
2794
- };
2795
-
2796
- export type MutationEditPagePropsArgs = {
2797
- pageId: Scalars['String']['input'];
2798
- props: Scalars['String']['input'];
2799
- };
2800
-
2801
- export type MutationEditPageStatusArgs = {
2802
- pageId: Scalars['String']['input'];
2803
- status: PublishStatus;
2804
- };
2805
-
2806
- export type MutationEditPageTemplateArgs = {
2807
- input: EditPageTemplateInput;
2808
- };
2809
-
2810
- export type MutationEditPlatformArgs = {
2811
- input: EditPlatformInput;
2812
- };
2813
-
2814
- export type MutationEditPlatformAdminUserArgs = {
2815
- input: EditPlatformAdminUserInput;
2816
- };
2817
-
2818
- export type MutationEditPlatformOptionsArgs = {
2819
- options: Array<KeyValueInput>;
2820
- platformId: Scalars['String']['input'];
2821
- };
2822
-
2823
- export type MutationEditProductArgs = {
2824
- alternativeStripePriceIds: Array<Scalars['String']['input']>;
2825
- description?: InputMaybe<OptionalStringUpdate>;
2826
- displayName?: InputMaybe<OptionalStringUpdate>;
2827
- durationDays?: InputMaybe<Scalars['Int']['input']>;
2828
- endAt?: InputMaybe<Scalars['Date']['input']>;
2829
- id: Scalars['String']['input'];
2830
- invoiceFrequency?: InputMaybe<InvoiceFrequency>;
2831
- items?: InputMaybe<StringListUpdate>;
2832
- name: Scalars['String']['input'];
2833
- price: Scalars['String']['input'];
2834
- promoCodes: Array<PromoCodeInput>;
2835
- stripePriceId?: InputMaybe<OptionalStringUpdate>;
2836
- };
2837
-
2838
- export type MutationEditSequenceArgs = {
2839
- id: Scalars['String']['input'];
2840
- loopStages: Scalars['Boolean']['input'];
2841
- title: Scalars['String']['input'];
2842
- };
2843
-
2844
- export type MutationEditSequenceUserArgs = {
2845
- input: EditSequenceUserInput;
2846
- };
2847
-
2848
- export type MutationEditSiteArgs = {
2849
- input: EditSiteInput;
2850
- };
2851
-
2852
- export type MutationEditStageBlueprintCompletionSpecArgs = {
2853
- completionSpec: Scalars['String']['input'];
2854
- id: Scalars['String']['input'];
2855
- };
2856
-
2857
- export type MutationEditStageBlueprintComponentsArgs = {
2858
- components: Scalars['String']['input'];
2859
- id: Scalars['String']['input'];
2860
- };
2861
-
2862
- export type MutationEditStageBlueprintMetaDataArgs = {
2863
- id: Scalars['String']['input'];
2864
- name: Scalars['String']['input'];
2865
- position: Scalars['Int']['input'];
2866
- restoreDeleted: Scalars['Boolean']['input'];
2867
- };
2868
-
2869
- export type MutationEditStageStateArgs = {
2870
- id: Scalars['String']['input'];
2871
- property: Scalars['String']['input'];
2872
- value: Scalars['String']['input'];
2873
- };
2874
-
2875
- export type MutationEditSubscriptionArgs = {
2876
- endAt?: InputMaybe<Scalars['Date']['input']>;
2877
- id: Scalars['String']['input'];
2878
- invoiceFrequency?: InputMaybe<InvoiceFrequency>;
2879
- notes: Scalars['String']['input'];
2880
- price: Scalars['String']['input'];
2881
- startAt: Scalars['Date']['input'];
2882
- status: SubscriptionStatus;
2883
- stripeSubscriptionId?: InputMaybe<Scalars['String']['input']>;
2884
- };
2885
-
2886
- export type MutationEditSubscriptionOrgArgs = {
2887
- id: Scalars['String']['input'];
2888
- subscriptionOwner?: InputMaybe<BooleanUpdate>;
2889
- };
2890
-
2891
- export type MutationEditUserArgs = {
2892
- input: EditUserInput;
2893
- };
2894
-
2895
- export type MutationEditUserEmailArgs = {
2896
- email: Scalars['String']['input'];
2897
- id: Scalars['String']['input'];
2898
- };
2899
-
2900
- export type MutationEditUserNameArgs = {
2901
- firstName: Scalars['String']['input'];
2902
- id: Scalars['String']['input'];
2903
- lastName: Scalars['String']['input'];
2904
- };
2905
-
2906
- export type MutationEditUserPlanArgs = {
2907
- sequenceId: Scalars['String']['input'];
2908
- stageBlueprintId: Scalars['String']['input'];
2909
- userId: Scalars['String']['input'];
2910
- };
2911
-
2912
- export type MutationEditUserRoleArgs = {
2913
- role: Scalars['String']['input'];
2914
- userId: Scalars['String']['input'];
2915
- };
2916
-
2917
- export type MutationEditUserStatusArgs = {
2918
- status: UserStatus;
2919
- userId: Scalars['String']['input'];
2920
- };
2921
-
2922
- export type MutationFindOrCreateStripeCustomerArgs = {
2923
- address?: InputMaybe<AddressInput>;
2924
- };
2925
-
2926
- export type MutationFindOrCreateStripeSubscriptionArgs = {
2927
- address: AddressInput;
2928
- email: Scalars['String']['input'];
2929
- firstName: Scalars['String']['input'];
2930
- lastName: Scalars['String']['input'];
2931
- phone: Scalars['String']['input'];
2932
- promoCode?: InputMaybe<Scalars['String']['input']>;
2933
- promoCodeType?: InputMaybe<PromoCodeType>;
2934
- subscriptionPlanId: Scalars['String']['input'];
2935
- };
2936
-
2937
- export type MutationGenerateComponentsArgs = {
2938
- input: GenerateComponentsInput;
2939
- };
2940
-
2941
- export type MutationInvalidateApiTokenArgs = {
2942
- id: Scalars['String']['input'];
2943
- };
2944
-
2945
- export type MutationMoveUserToOrgArgs = {
2946
- notes?: InputMaybe<Scalars['String']['input']>;
2947
- orgId: Scalars['String']['input'];
2948
- userId: Scalars['String']['input'];
2949
- };
2950
-
2951
- export type MutationRequestPasswordResetArgs = {
2952
- email: Scalars['String']['input'];
2953
- };
2954
-
2955
- export type MutationResetPasswordArgs = {
2956
- key: Scalars['String']['input'];
2957
- password: Scalars['String']['input'];
2958
- };
2959
-
2960
- export type MutationRestoreCourseVersionChangesArgs = {
2961
- input: RestoreCourseVersionChangesInput;
2962
- };
2963
-
2964
- export type MutationRestoreFormVersionChangesArgs = {
2965
- input: RestoreFormVersionChangesInput;
2966
- };
2967
-
2968
- export type MutationRestoreLessonVersionChangesArgs = {
2969
- input: RestoreLessonVersionChangesInput;
2970
- };
2971
-
2972
- export type MutationRestorePageVersionChangesArgs = {
2973
- input: RestorePageVersionChangesInput;
2974
- };
2975
-
2976
- export type MutationSignInArgs = {
2977
- email: Scalars['String']['input'];
2978
- password: Scalars['String']['input'];
2979
- };
2980
-
2981
- export type MutationSplitUserToNewOrgArgs = {
2982
- notes?: InputMaybe<Scalars['String']['input']>;
2983
- userId: Scalars['String']['input'];
2984
- };
2985
-
2986
- export type MutationSubmitFormArgs = {
2987
- formData: Scalars['String']['input'];
2988
- formId: Scalars['String']['input'];
2989
- pageUrl: Scalars['String']['input'];
2990
- sessionId?: InputMaybe<Scalars['String']['input']>;
2991
- stepId?: InputMaybe<Scalars['String']['input']>;
2992
- };
2993
-
2994
- export type MutationSubmitReviewArgs = {
2995
- review: Scalars['String']['input'];
2996
- starRating: Scalars['Int']['input'];
2997
- submitterName?: InputMaybe<Scalars['String']['input']>;
2998
- };
2999
-
3000
- export type MutationSyncFormTemplateToFormsArgs = {
3001
- formTemplateId: Scalars['String']['input'];
3002
- };
3003
-
3004
- export type MutationSyncLayoutTemplateToLayoutsArgs = {
3005
- input: SyncLayoutTemplateToLayoutsInput;
3006
- };
3007
-
3008
- export type MutationSyncPageTemplateToPagesArgs = {
3009
- input: SyncPageTemplateToPagesInput;
3010
- };
3011
-
3012
- export type MutationUploadFileArgs = {
3013
- input: UploadFileInput;
3014
- };
3015
-
3016
- export type MutationVerifyEmailAddressArgs = {
3017
- key: Scalars['String']['input'];
3018
- };
3019
-
3020
- /**
3021
- * An input type for optionally updating an array of components. Although the interface is the same as that
3022
- * of OptionalStringUpdate, semantically this is different and is parsed differently.
3023
- */
3024
- export type OptionalComponentsUpdate = {
3025
- /** The new value. Must be a valid JSON array if set. A null value is taken as clearing the field. */
3026
- value?: InputMaybe<Scalars['String']['input']>;
3027
- };
3028
-
3029
- export type OptionalDateUpdate = {
3030
- value?: InputMaybe<Scalars['Date']['input']>;
3031
- };
3032
-
3033
- /**
3034
- * An input type for optionally updating an expression data object. Although the interface is the same as that
3035
- * of OptionalStringUpdate, semantically this is different and is parsed differently.
3036
- */
3037
- export type OptionalExpressionDataUpdate = {
3038
- /** The new value. Must be a valid JSON object if set. A null value is taken as clearing the field. */
3039
- value?: InputMaybe<Scalars['String']['input']>;
3040
- };
3041
-
3042
- /** A filter for an optional field representing an object’s ID. */
3043
- export type OptionalIdFilter = {
3044
- /**
3045
- * If operator is Exists or NotExists, value is ignored and must not be provided.
3046
- * If operator is Equal or NotEqual, value must be provided and include exactly one value.
3047
- * If operator is In or NotIn, value must be provided and include at least one value.
3048
- */
3049
- operator: OptionalIdFilterOperator;
3050
- value?: InputMaybe<Array<Scalars['String']['input']>>;
3051
- };
3052
-
3053
- export const OptionalIdFilterOperator = {
3054
- Equals: 'Equals',
3055
- Exists: 'Exists',
3056
- In: 'In',
3057
- NotEquals: 'NotEquals',
3058
- NotExists: 'NotExists',
3059
- NotIn: 'NotIn',
3060
- } as const;
3061
-
3062
- export type OptionalIdFilterOperator =
3063
- (typeof OptionalIdFilterOperator)[keyof typeof OptionalIdFilterOperator];
3064
- export type OptionalIntUpdate = {
3065
- value?: InputMaybe<Scalars['Int']['input']>;
3066
- };
3067
-
3068
- /**
3069
- * A filter for an optional string field. Either exists or filter must be provided but not both.
3070
- * A value exists if it is not null. An empty string is considered to exist.
3071
- * Providing a filter assumes exists is true.
3072
- */
3073
- export type OptionalStringFilter = {
3074
- exists?: InputMaybe<Scalars['Boolean']['input']>;
3075
- filter?: InputMaybe<StringFilter>;
3076
- };
3077
-
3078
- /**
3079
- * A container for an input field representing an optional (i.e., nullable) string that may optionally
3080
- * be updated. If an object of this type is provided, it represents either a new value or clears the field.
3081
- */
3082
- export type OptionalStringUpdate = {
3083
- /** The new value. If this is null or not provided, it is taken as clearing the field. */
3084
- value?: InputMaybe<Scalars['String']['input']>;
3085
- };
3086
-
3087
- export type Org = {
3088
- __typename?: 'Org';
3089
- id: Scalars['String']['output'];
3090
- members: Array<User>;
3091
- membersCount: Scalars['Int']['output'];
3092
- name?: Maybe<Scalars['String']['output']>;
3093
- primaryUser?: Maybe<User>;
3094
- site?: Maybe<Site>;
3095
- subscriptionOrganizations: Array<SubscriptionOrganization>;
3096
- };
3097
-
3098
- export type OrgMembersArgs = {
3099
- status?: InputMaybe<Array<UserStatus>>;
3100
- };
3101
-
3102
- /** A subtype of Org to limit the exposed fields. */
3103
- export type OrgProfile = {
3104
- __typename?: 'OrgProfile';
3105
- id: Scalars['String']['output'];
3106
- name?: Maybe<Scalars['String']['output']>;
3107
- primaryUser?: Maybe<UserProfile>;
3108
- };
3109
-
3110
- export type OrgsList = ListResult & {
3111
- __typename?: 'OrgsList';
3112
- limit: Scalars['Int']['output'];
3113
- organizations: Array<Org>;
3114
- totalCount: Scalars['Int']['output'];
3115
- };
3116
-
3117
- export type Page = {
3118
- __typename?: 'Page';
3119
- bodyStyles: Scalars['String']['output'];
3120
- components: Scalars['String']['output'];
3121
- /**
3122
- * The fields that have been edited since the last time the page was synced with its template.
3123
- * This field is set for every page, even if a page does not come from a page template.
3124
- */
3125
- editsToPageTemplate: Array<PageTemplateSyncedField>;
3126
- id: Scalars['String']['output'];
3127
- layout?: Maybe<Layout>;
3128
- metaDescription?: Maybe<Scalars['String']['output']>;
3129
- metaRobots: Array<Scalars['String']['output']>;
3130
- metaTitle?: Maybe<Scalars['String']['output']>;
3131
- pageTemplate?: Maybe<PageTemplate>;
3132
- pageTemplateId?: Maybe<Scalars['String']['output']>;
3133
- path: Scalars['String']['output'];
3134
- productItem?: Maybe<Scalars['String']['output']>;
3135
- props?: Maybe<Scalars['String']['output']>;
3136
- public: Scalars['Boolean']['output'];
3137
- /** Either the same as layout if a layout is set, or the automatically matching layout based on path. */
3138
- resolvedLayout?: Maybe<Layout>;
3139
- roles: Array<Scalars['String']['output']>;
3140
- status: PublishStatus;
3141
- title: Scalars['String']['output'];
3142
- versions: PageVersionsList;
3143
- };
3144
-
3145
- export type PageVersionsArgs = {
3146
- byUserId?: InputMaybe<Scalars['String']['input']>;
3147
- limit?: InputMaybe<Scalars['Int']['input']>;
3148
- page?: InputMaybe<Scalars['Int']['input']>;
3149
- };
3150
-
3151
- export type PageTemplate = {
3152
- __typename?: 'PageTemplate';
3153
- activatedAsPages: Array<Page>;
3154
- bodyStyles: Scalars['String']['output'];
3155
- components: Scalars['String']['output'];
3156
- description?: Maybe<Scalars['String']['output']>;
3157
- id: Scalars['String']['output'];
3158
- metaDescription?: Maybe<Scalars['String']['output']>;
3159
- metaRobots: Array<Scalars['String']['output']>;
3160
- metaTitle?: Maybe<Scalars['String']['output']>;
3161
- path: Scalars['String']['output'];
3162
- previewImageUrl?: Maybe<Scalars['String']['output']>;
3163
- previewProps?: Maybe<Scalars['String']['output']>;
3164
- propsSetupComponents?: Maybe<Scalars['String']['output']>;
3165
- status: PublishStatus;
3166
- title: Scalars['String']['output'];
3167
- };
3168
-
3169
- export type PageTemplateActivatedAsPagesArgs = {
3170
- siteId: Scalars['String']['input'];
3171
- };
3172
-
3173
- /** A field of a page that is synced from page templates. A subset of PageVersionChange. */
3174
- export const PageTemplateSyncedField = {
3175
- BodyStyles: 'BodyStyles',
3176
- Components: 'Components',
3177
- MetaDescription: 'MetaDescription',
3178
- MetaImageUrl: 'MetaImageUrl',
3179
- MetaRobots: 'MetaRobots',
3180
- MetaTitle: 'MetaTitle',
3181
- Path: 'Path',
3182
- Title: 'Title',
3183
- } as const;
3184
-
3185
- export type PageTemplateSyncedField =
3186
- (typeof PageTemplateSyncedField)[keyof typeof PageTemplateSyncedField];
3187
- export type PageTemplatesList = ListResult & {
3188
- __typename?: 'PageTemplatesList';
3189
- limit: Scalars['Int']['output'];
3190
- page: Scalars['Int']['output'];
3191
- pageTemplates: Array<PageTemplate>;
3192
- totalCount: Scalars['Int']['output'];
3193
- };
3194
-
3195
- export type PageVersion = {
3196
- __typename?: 'PageVersion';
3197
- bodyStyles?: Maybe<Scalars['String']['output']>;
3198
- byUser: UserProfile;
3199
- changes: Array<PageVersionChange>;
3200
- components?: Maybe<Scalars['String']['output']>;
3201
- createdAt: Scalars['Date']['output'];
3202
- id: Scalars['String']['output'];
3203
- layout?: Maybe<Layout>;
3204
- metaDescription?: Maybe<Scalars['String']['output']>;
3205
- metaImageUrl?: Maybe<Scalars['String']['output']>;
3206
- metaRobots?: Maybe<Array<Scalars['String']['output']>>;
3207
- metaTitle?: Maybe<Scalars['String']['output']>;
3208
- pageTemplate?: Maybe<PageTemplate>;
3209
- path?: Maybe<Scalars['String']['output']>;
3210
- productItem?: Maybe<Scalars['String']['output']>;
3211
- props?: Maybe<Scalars['String']['output']>;
3212
- public?: Maybe<Scalars['Boolean']['output']>;
3213
- roles?: Maybe<Array<Scalars['String']['output']>>;
3214
- status?: Maybe<PublishStatus>;
3215
- title?: Maybe<Scalars['String']['output']>;
3216
- };
3217
-
3218
- export const PageVersionChange = {
3219
- BodyStyles: 'BodyStyles',
3220
- Components: 'Components',
3221
- CustomFields: 'CustomFields',
3222
- LayoutId: 'LayoutId',
3223
- MetaDescription: 'MetaDescription',
3224
- MetaImageUrl: 'MetaImageUrl',
3225
- MetaRobots: 'MetaRobots',
3226
- MetaTitle: 'MetaTitle',
3227
- PageTemplateId: 'PageTemplateId',
3228
- Path: 'Path',
3229
- ProductItem: 'ProductItem',
3230
- Props: 'Props',
3231
- Public: 'Public',
3232
- Roles: 'Roles',
3233
- Status: 'Status',
3234
- Title: 'Title',
3235
- } as const;
3236
-
3237
- export type PageVersionChange = (typeof PageVersionChange)[keyof typeof PageVersionChange];
3238
- export type PageVersionsList = ListResult & {
3239
- __typename?: 'PageVersionsList';
3240
- limit: Scalars['Int']['output'];
3241
- pageVersions: Array<PageVersion>;
3242
- totalCount: Scalars['Int']['output'];
3243
- };
3244
-
3245
- export type PagesList = ListResult & {
3246
- __typename?: 'PagesList';
3247
- limit: Scalars['Int']['output'];
3248
- pages: Array<Page>;
3249
- totalCount: Scalars['Int']['output'];
3250
- };
3251
-
3252
- export type PasswordResetInfo = {
3253
- __typename?: 'PasswordResetInfo';
3254
- name: Scalars['String']['output'];
3255
- };
3256
-
3257
- export const PasswordStatus = {
3258
- MigratedWP: 'MigratedWP',
3259
- None: 'None',
3260
- Ok: 'Ok',
3261
- Temporary: 'Temporary',
3262
- } as const;
3263
-
3264
- export type PasswordStatus = (typeof PasswordStatus)[keyof typeof PasswordStatus];
3265
- export type Permission = {
3266
- __typename?: 'Permission';
3267
- action: Scalars['String']['output'];
3268
- id: Scalars['String']['output'];
3269
- object: Scalars['String']['output'];
3270
- };
3271
-
3272
- export type PermissionInput = {
3273
- action: Scalars['String']['input'];
3274
- object: Scalars['String']['input'];
3275
- };
3276
-
3277
- export type PermissionListUpdate = {
3278
- value: Array<PermissionInput>;
3279
- };
3280
-
3281
- /** Temporary for the rename. */
3282
- export const PermissionName = {
3283
- /** Create (i.e., add) extensions. */
3284
- CreateExtension: 'CreateExtension',
3285
- /** Create extension versions for existing extensions. This includes deploying new code. */
3286
- CreateExtensionVersion: 'CreateExtensionVersion',
3287
- /** Create sites. */
3288
- CreateSite: 'CreateSite',
3289
- /** Create page and form templates. */
3290
- CreateTemplate: 'CreateTemplate',
3291
- /** Create a user in any org. */
3292
- CreateUser: 'CreateUser',
3293
- /** Edit or manage everything else not covered by other permissions. */
3294
- Edit: 'Edit',
3295
- /** Edit assets, including creating and deleting any asset or asset variant. */
3296
- EditAsset: 'EditAsset',
3297
- /** Edit, including creating and deleting, any component. */
3298
- EditComponent: 'EditComponent',
3299
- /** Edit, including creating and deleting, any course. */
3300
- EditCourse: 'EditCourse',
3301
- /** Edit, including creating and deleting, any custom component. */
3302
- EditCustomComponent: 'EditCustomComponent',
3303
- /** Edit, including creating and deleting, any custom field. */
3304
- EditCustomField: 'EditCustomField',
3305
- /** Edit any customer site, including its pages and forms, but not necessarily domain. */
3306
- EditCustomerSite: 'EditCustomerSite',
3307
- /** Edit any extension. This does not include creating extension versions (i.e., deploying new code). */
3308
- EditExtension: 'EditExtension',
3309
- /** Edit any help ticket's status. */
3310
- EditHelpTicketStatus: 'EditHelpTicketStatus',
3311
- /** Edit any platform site, including its pages and forms, but not necessarily domain. */
3312
- EditPlatformSite: 'EditPlatformSite',
3313
- /** Edit, including creating and deleting, any sequence. */
3314
- EditSequence: 'EditSequence',
3315
- /** Edit any user's position in a sequence. */
3316
- EditSequenceUser: 'EditSequenceUser',
3317
- /** Edit any site's settings, pages, forms, and layouts. */
3318
- EditSite: 'EditSite',
3319
- /** Edit any site's domain. */
3320
- EditSiteDomain: 'EditSiteDomain',
3321
- /** Edit any site's TLS certificate, including creating and deleting certificates. Does not including editing TLS certificates. */
3322
- EditSiteTlsCertificate: 'EditSiteTlsCertificate',
3323
- /** Edit any subscription. */
3324
- EditSubscription: 'EditSubscription',
3325
- /** Edit any page and form template. */
3326
- EditTemplate: 'EditTemplate',
3327
- /** Edit any custom field of any user. */
3328
- EditUserCustomFields: 'EditUserCustomFields',
3329
- /** Edit any user's email address. */
3330
- EditUserEmail: 'EditUserEmail',
3331
- /** Edit which org any user is in and whether a user is an org owner. */
3332
- EditUserOrg: 'EditUserOrg',
3333
- /** Edit any user's first and last name. */
3334
- EditUserProfile: 'EditUserProfile',
3335
- /** Edit any user's role. */
3336
- EditUserRole: 'EditUserRole',
3337
- /** Edit any user's status. */
3338
- EditUserStatus: 'EditUserStatus',
3339
- /** Sync any form template to forms. */
3340
- SyncFormTemplateToForms: 'SyncFormTemplateToForms',
3341
- /** Sync any page template to pages. */
3342
- SyncPageTemplateToPages: 'SyncPageTemplateToPages',
3343
- /** Upload files as an extension. */
3344
- UploadFileAsExtension: 'UploadFileAsExtension',
3345
- /** View anything except for sites. */
3346
- View: 'View',
3347
- /** View any asset including its variants and versions. */
3348
- ViewAsset: 'ViewAsset',
3349
- /** View any course. */
3350
- ViewCourse: 'ViewCourse',
3351
- /** View any extension, including its versions, configuration, and logs. */
3352
- ViewExtension: 'ViewExtension',
3353
- /** View any site, including pages, forms, and layouts, and components. */
3354
- ViewSite: 'ViewSite',
3355
- /** View any page or form template. */
3356
- ViewTemplate: 'ViewTemplate',
3357
- } as const;
3358
-
3359
- export type PermissionName = (typeof PermissionName)[keyof typeof PermissionName];
3360
- export type PersonalApiToken = {
3361
- __typename?: 'PersonalApiToken';
3362
- createdAt: Scalars['Date']['output'];
3363
- id: Scalars['String']['output'];
3364
- invalidatedAt?: Maybe<Scalars['Date']['output']>;
3365
- name: Scalars['String']['output'];
3366
- };
3367
-
3368
- export type PersonalApiTokensList = ListResult & {
3369
- __typename?: 'PersonalApiTokensList';
3370
- apiTokens: Array<PersonalApiToken>;
3371
- limit: Scalars['Int']['output'];
3372
- totalCount: Scalars['Int']['output'];
3373
- };
3374
-
3375
- export type Platform = {
3376
- __typename?: 'Platform';
3377
- activeCampaignApi?: Maybe<ActiveCampaignApi>;
3378
- activeCampaignApiToken?: Maybe<Scalars['String']['output']>;
3379
- activeCampaignApiUrl?: Maybe<Scalars['String']['output']>;
3380
- activeCampaignTagsSyncConfig?: Maybe<Array<ActiveCampaignTagsSyncConfig>>;
3381
- admins: PlatformAdminUsersList;
3382
- apiTokens: PlatformApiTokensList;
3383
- defaultFormNotificationEmailBodyTemplate: Scalars['String']['output'];
3384
- emailReplyToAddress?: Maybe<Scalars['String']['output']>;
3385
- emailSendFromAddress: Scalars['String']['output'];
3386
- enableOrgSites: Scalars['Boolean']['output'];
3387
- featureFlags: Array<Scalars['String']['output']>;
3388
- handle: Scalars['String']['output'];
3389
- id: Scalars['String']['output'];
3390
- mainSiteId?: Maybe<Scalars['String']['output']>;
3391
- mixpanelToken?: Maybe<Scalars['String']['output']>;
3392
- name: Scalars['String']['output'];
3393
- roles: Array<Role>;
3394
- sendGridApiKey?: Maybe<Scalars['String']['output']>;
3395
- stripeSecretKey?: Maybe<Scalars['String']['output']>;
3396
- stripeWebhookSigningSecret?: Maybe<Scalars['String']['output']>;
3397
- webhookHelpTicketCreatedUrl?: Maybe<Scalars['String']['output']>;
3398
- webhookOrganizationPeerUserCreatedUrl?: Maybe<Scalars['String']['output']>;
3399
- webhookRegisterUserSecret?: Maybe<Scalars['String']['output']>;
3400
- webhookSubscriptionActivatedUrl?: Maybe<Scalars['String']['output']>;
3401
- zendeskApiToken?: Maybe<Scalars['String']['output']>;
3402
- zendeskHelpTicketTags?: Maybe<Array<Scalars['String']['output']>>;
3403
- zendeskSubdomain?: Maybe<Scalars['String']['output']>;
3404
- zendeskUserAuthJwtKey?: Maybe<Scalars['String']['output']>;
3405
- zendeskUserAuthJwtKeyId?: Maybe<Scalars['String']['output']>;
3406
- zendeskUsername?: Maybe<Scalars['String']['output']>;
3407
- zendeskWebhookSigningSecret?: Maybe<Scalars['String']['output']>;
3408
- };
3409
-
3410
- /** An object linking a platform and an admin user. */
3411
- export type PlatformAdminUser = {
3412
- __typename?: 'PlatformAdminUser';
3413
- active: Scalars['Boolean']['output'];
3414
- adminUser: AdminUser;
3415
- id: Scalars['String']['output'];
3416
- owner: Scalars['Boolean']['output'];
3417
- permissions: Array<Permission>;
3418
- platform: Platform;
3419
- };
3420
-
3421
- export type PlatformAdminUsersList = ListResult & {
3422
- __typename?: 'PlatformAdminUsersList';
3423
- limit: Scalars['Int']['output'];
3424
- platformAdminUsers: Array<PlatformAdminUser>;
3425
- totalCount: Scalars['Int']['output'];
3426
- };
3427
-
3428
- export type PlatformApiToken = {
3429
- __typename?: 'PlatformApiToken';
3430
- createdAt: Scalars['Date']['output'];
3431
- id: Scalars['String']['output'];
3432
- invalidatedAt?: Maybe<Scalars['Date']['output']>;
3433
- name: Scalars['String']['output'];
3434
- permissions: Array<Permission>;
3435
- };
3436
-
3437
- export type PlatformApiTokensList = ListResult & {
3438
- __typename?: 'PlatformApiTokensList';
3439
- apiTokens: Array<PlatformApiToken>;
3440
- limit: Scalars['Int']['output'];
3441
- totalCount: Scalars['Int']['output'];
3442
- };
3443
-
3444
- export type PreviewStripeCoupon = {
3445
- __typename?: 'PreviewStripeCoupon';
3446
- amountOff?: Maybe<Scalars['String']['output']>;
3447
- currency: Scalars['String']['output'];
3448
- duration: StripeCouponDuration;
3449
- /** The number of months. Only applies of duration is repeating. */
3450
- durationMonths?: Maybe<Scalars['Int']['output']>;
3451
- /** The percentage off the price of the plan (0-100). */
3452
- percentOff?: Maybe<Scalars['Int']['output']>;
3453
- valid: Scalars['Boolean']['output'];
3454
- };
3455
-
3456
- export type PreviewStripePromoCode = {
3457
- __typename?: 'PreviewStripePromoCode';
3458
- coupon: PreviewStripeCoupon;
3459
- valid: Scalars['Boolean']['output'];
3460
- };
3461
-
3462
- export type PreviewStripeUpcomingInvoiceErrorResult = {
3463
- __typename?: 'PreviewStripeUpcomingInvoiceErrorResult';
3464
- message: Scalars['String']['output'];
3465
- };
3466
-
3467
- export type PreviewStripeUpcomingInvoiceResult =
3468
- | PreviewStripeUpcomingInvoiceErrorResult
3469
- | PreviewStripeUpcomingInvoiceSuccessResult;
3470
-
3471
- export type PreviewStripeUpcomingInvoiceSuccessResult = {
3472
- __typename?: 'PreviewStripeUpcomingInvoiceSuccessResult';
3473
- currency: Scalars['String']['output'];
3474
- promoCode?: Maybe<PreviewStripePromoCode>;
3475
- subscriptionPlanId: Scalars['String']['output'];
3476
- /** Total of the invoice before any invoice-level discount or exclusive tax is applied. Formatted in the invoice's currency. */
3477
- subtotal: Scalars['String']['output'];
3478
- /** Total after discounts and taxes. Formatted in the invoice's currency. */
3479
- total: Scalars['String']['output'];
3480
- };
3481
-
3482
- export type ProductItemOccurrences = {
3483
- __typename?: 'ProductItemOccurrences';
3484
- documents: DocumentsList;
3485
- pages: PagesList;
3486
- };
3487
-
3488
- export type ProductItemOccurrencesDocumentsArgs = {
3489
- limit?: InputMaybe<Scalars['Int']['input']>;
3490
- page?: InputMaybe<Scalars['Int']['input']>;
3491
- };
3492
-
3493
- export type ProductItemOccurrencesPagesArgs = {
3494
- limit?: InputMaybe<Scalars['Int']['input']>;
3495
- page?: InputMaybe<Scalars['Int']['input']>;
3496
- };
3497
-
3498
- export type ProductItemPicklist = ListResult & {
3499
- __typename?: 'ProductItemPicklist';
3500
- limit: Scalars['Int']['output'];
3501
- productItems: Array<Scalars['String']['output']>;
3502
- totalCount: Scalars['Int']['output'];
3503
- };
3504
-
3505
- export type ProductsList = ListResult & {
3506
- __typename?: 'ProductsList';
3507
- limit: Scalars['Int']['output'];
3508
- products: Array<SubscriptionPlan>;
3509
- totalCount: Scalars['Int']['output'];
3510
- };
3511
-
3512
- export type PromoCode = {
3513
- __typename?: 'PromoCode';
3514
- code: Scalars['String']['output'];
3515
- id: Scalars['String']['output'];
3516
- successMessage?: Maybe<Delta>;
3517
- };
3518
-
3519
- export type PromoCodeInput = {
3520
- code: Scalars['String']['input'];
3521
- id: Scalars['String']['input'];
3522
- successMessage?: InputMaybe<RichTextInput>;
3523
- };
3524
-
3525
- export type PromoCodePicklist = ListResult & {
3526
- __typename?: 'PromoCodePicklist';
3527
- limit: Scalars['Int']['output'];
3528
- promoCodes: Array<Scalars['String']['output']>;
3529
- totalCount: Scalars['Int']['output'];
3530
- };
3531
-
3532
- export const PromoCodeType = {
3533
- Custom: 'Custom',
3534
- Stripe: 'Stripe',
3535
- } as const;
3536
-
3537
- export type PromoCodeType = (typeof PromoCodeType)[keyof typeof PromoCodeType];
3538
- export type PublicSite = {
3539
- __typename?: 'PublicSite';
3540
- custom: CustomFieldValuesList;
3541
- domain: Scalars['String']['output'];
3542
- form: PublicSiteForm;
3543
- id: Scalars['String']['output'];
3544
- latestAgreement?: Maybe<Agreement>;
3545
- /** The layout with the longest pathPrefix that matches the specified path. */
3546
- layoutForPath?: Maybe<Layout>;
3547
- logoIconUrl?: Maybe<Scalars['String']['output']>;
3548
- logoUrl?: Maybe<Scalars['String']['output']>;
3549
- name: Scalars['String']['output'];
3550
- /** Get a published page by path. */
3551
- page?: Maybe<PublicSitePage>;
3552
- /** Get published pages, optionally filtering by a path prefix. */
3553
- pages: PublicSitePagesList;
3554
- platformId: Scalars['String']['output'];
3555
- };
3556
-
3557
- export type PublicSiteFormArgs = {
3558
- id: Scalars['String']['input'];
3559
- };
3560
-
3561
- export type PublicSiteLatestAgreementArgs = {
3562
- type: AgreementType;
3563
- };
3564
-
3565
- export type PublicSiteLayoutForPathArgs = {
3566
- path: Scalars['String']['input'];
3567
- };
3568
-
3569
- export type PublicSitePageArgs = {
3570
- path: Scalars['String']['input'];
3571
- };
3572
-
3573
- export type PublicSitePagesArgs = {
3574
- limit?: InputMaybe<Scalars['Int']['input']>;
3575
- page?: InputMaybe<Scalars['Int']['input']>;
3576
- pathPrefix?: InputMaybe<Scalars['String']['input']>;
3577
- };
3578
-
3579
- export type PublicSiteForm = {
3580
- __typename?: 'PublicSiteForm';
3581
- components: Scalars['String']['output'];
3582
- confirmationAction: ConfirmationAction;
3583
- confirmationMessageComponents?: Maybe<Scalars['String']['output']>;
3584
- confirmationRedirectParameters: Array<FormConfirmationRedirectUrlParameter>;
3585
- confirmationRedirectUrl?: Maybe<Scalars['String']['output']>;
3586
- id: Scalars['String']['output'];
3587
- /** Only the enabled steps. */
3588
- steps: Array<FormStep>;
3589
- };
3590
-
3591
- export type PublicSitePage = {
3592
- __typename?: 'PublicSitePage';
3593
- bodyStyles: Scalars['String']['output'];
3594
- components: Scalars['String']['output'];
3595
- id: Scalars['String']['output'];
3596
- metaDescription?: Maybe<Scalars['String']['output']>;
3597
- metaRobots: Array<Scalars['String']['output']>;
3598
- metaTitle?: Maybe<Scalars['String']['output']>;
3599
- path: Scalars['String']['output'];
3600
- props?: Maybe<Scalars['String']['output']>;
3601
- resolvedLayout?: Maybe<Layout>;
3602
- title: Scalars['String']['output'];
3603
- };
3604
-
3605
- export type PublicSitePagesList = ListResult & {
3606
- __typename?: 'PublicSitePagesList';
3607
- limit: Scalars['Int']['output'];
3608
- pages: Array<PublicSitePage>;
3609
- totalCount: Scalars['Int']['output'];
3610
- };
3611
-
3612
- export const PublishStatus = {
3613
- Archived: 'Archived',
3614
- Draft: 'Draft',
3615
- Published: 'Published',
3616
- } as const;
3617
-
3618
- export type PublishStatus = (typeof PublishStatus)[keyof typeof PublishStatus];
3619
- export type PublishStatusUpdate = {
3620
- value: PublishStatus;
3621
- };
3622
-
3623
- export type Query = {
3624
- __typename?: 'Query';
3625
- adminMe?: Maybe<AdminUser>;
3626
- applyCustomPromoCode: ApplyCustomPromoCodeResult;
3627
- asset?: Maybe<Asset>;
3628
- assetVariant?: Maybe<AssetVariant>;
3629
- /** List assets. Requires the admin Asset:view permission. */
3630
- assets: AssetsList;
3631
- /**
3632
- * Get active components that can be used for the visual builder on a platform. Results include built-in,
3633
- * custom, and remote extension-provided components.
3634
- */
3635
- builderComponents: BuilderComponentsList;
3636
- component: Component;
3637
- components: ComponentsList;
3638
- course: Course;
3639
- courses: CoursesList;
3640
- customTable?: Maybe<CustomTable>;
3641
- customTables: CustomTablesList;
3642
- document: Document;
3643
- documentDownloadPrompts: Array<DocumentDownloadPrompt>;
3644
- documents: Array<Document>;
3645
- extension: Extension;
3646
- extensions: ExtensionsList;
3647
- file?: Maybe<File>;
3648
- form: Form;
3649
- formEntries: FormEntriesList;
3650
- formTemplate: FormTemplate;
3651
- formTemplates: Array<FormTemplate>;
3652
- forms: Array<Form>;
3653
- /**
3654
- * Get help tickets. For a user without the View permission on the specified platform, only the user’s own
3655
- * help tickets are returned (and platformId needs to be the user’s own platform ID).
3656
- */
3657
- helpTickets: HelpTicketsList;
3658
- /**
3659
- * Get an object with the form data with which to initialize the specified form. The result factors
3660
- * in the signed in user, if any. The request needs to be sent to the API endpoint of the site on
3661
- * which the form is being shown.
3662
- */
3663
- initialFormData: InitialFormData;
3664
- layout: Layout;
3665
- layoutTemplate: LayoutTemplate;
3666
- layouts: LayoutsList;
3667
- lesson: Lesson;
3668
- liveCustomFields: Array<CustomField>;
3669
- me?: Maybe<User>;
3670
- /** TODO: This should also take a productId to filter on. */
3671
- multiOrgView: Array<Org>;
3672
- organization: Org;
3673
- organizations: OrgsList;
3674
- page: Page;
3675
- /** Get a page template. For unauthenticated requests, a template is returned only if it's published. */
3676
- pageTemplate: PageTemplate;
3677
- pageTemplates: PageTemplatesList;
3678
- pageTemplates2: PageTemplatesList;
3679
- passwordResetInfo: PasswordResetInfo;
3680
- platform: Platform;
3681
- previewStripeUpcomingInvoice: PreviewStripeUpcomingInvoiceResult;
3682
- productItemOccurrences: ProductItemOccurrences;
3683
- productItemPicklist: ProductItemPicklist;
3684
- products: ProductsList;
3685
- promoCodePicklist: PromoCodePicklist;
3686
- publicSite: PublicSite;
3687
- remoteComponent: RemoteComponent;
3688
- reviews: ReviewsList;
3689
- sequence: Sequence;
3690
- sequences: SequencesList;
3691
- site: Site;
3692
- siteTemplate: SiteTemplate;
3693
- siteTemplates: SiteTemplatesList;
3694
- sites: SitesList;
3695
- stageBlueprint: StageBlueprint;
3696
- subscription: Sub;
3697
- subscriptionAuditLogs: SubscriptionAuditLogsList;
3698
- /**
3699
- * Get the subscription checkout options for the specified products. The options are sorted in the same order
3700
- * as the input IDs.
3701
- */
3702
- subscriptionCheckoutOptions: Array<SubscriptionCheckoutOption>;
3703
- subscriptionPlan: SubscriptionPlan;
3704
- subscriptions: SubscriptionsList;
3705
- user: User;
3706
- userAuditLogs: UserAuditLogsList;
3707
- users: UsersList;
3708
- };
3709
-
3710
- export type QueryApplyCustomPromoCodeArgs = {
3711
- promoCode: Scalars['String']['input'];
3712
- subscriptionPlanId: Scalars['String']['input'];
3713
- };
3714
-
3715
- export type QueryAssetArgs = {
3716
- id: Scalars['String']['input'];
3717
- };
3718
-
3719
- export type QueryAssetVariantArgs = {
3720
- id: Scalars['String']['input'];
3721
- };
3722
-
3723
- export type QueryAssetsArgs = {
3724
- archived?: InputMaybe<Scalars['Boolean']['input']>;
3725
- limit?: InputMaybe<Scalars['Int']['input']>;
3726
- page?: InputMaybe<Scalars['Int']['input']>;
3727
- platformId: Scalars['String']['input'];
3728
- };
3729
-
3730
- export type QueryBuilderComponentsArgs = {
3731
- platformId: Scalars['String']['input'];
3732
- };
3733
-
3734
- export type QueryComponentArgs = {
3735
- id: Scalars['String']['input'];
3736
- };
3737
-
3738
- export type QueryComponentsArgs = {
3739
- archived?: InputMaybe<Scalars['Boolean']['input']>;
3740
- limit?: InputMaybe<Scalars['Int']['input']>;
3741
- page?: InputMaybe<Scalars['Int']['input']>;
3742
- platformId: Scalars['String']['input'];
3743
- };
3744
-
3745
- export type QueryCourseArgs = {
3746
- id: Scalars['String']['input'];
3747
- };
3748
-
3749
- export type QueryCoursesArgs = {
3750
- platformId: Scalars['String']['input'];
3751
- };
3752
-
3753
- export type QueryCustomTableArgs = {
3754
- object: CustomTableObject;
3755
- platformId: Scalars['String']['input'];
3756
- };
3757
-
3758
- export type QueryCustomTablesArgs = {
3759
- limit?: InputMaybe<Scalars['Int']['input']>;
3760
- object?: InputMaybe<CustomTableObject>;
3761
- page?: InputMaybe<Scalars['Int']['input']>;
3762
- platformId: Scalars['String']['input'];
3763
- };
3764
-
3765
- export type QueryDocumentArgs = {
3766
- id: Scalars['String']['input'];
3767
- };
3768
-
3769
- export type QueryDocumentDownloadPromptsArgs = {
3770
- platformId: Scalars['String']['input'];
3771
- };
3772
-
3773
- export type QueryDocumentsArgs = {
3774
- platformId: Scalars['String']['input'];
3775
- };
3776
-
3777
- export type QueryExtensionArgs = {
3778
- id: Scalars['String']['input'];
3779
- };
3780
-
3781
- export type QueryExtensionsArgs = {
3782
- limit?: InputMaybe<Scalars['Int']['input']>;
3783
- page?: InputMaybe<Scalars['Int']['input']>;
3784
- platformId: Scalars['String']['input'];
3785
- };
3786
-
3787
- export type QueryFileArgs = {
3788
- id: Scalars['String']['input'];
3789
- };
3790
-
3791
- export type QueryFormArgs = {
3792
- id: Scalars['String']['input'];
3793
- };
3794
-
3795
- export type QueryFormEntriesArgs = {
3796
- formId?: InputMaybe<Scalars['String']['input']>;
3797
- fromDate?: InputMaybe<Scalars['Date']['input']>;
3798
- limit?: InputMaybe<Scalars['Int']['input']>;
3799
- page?: InputMaybe<Scalars['Int']['input']>;
3800
- siteId: Scalars['String']['input'];
3801
- toDate?: InputMaybe<Scalars['Date']['input']>;
3802
- };
3803
-
3804
- export type QueryFormTemplateArgs = {
3805
- id: Scalars['String']['input'];
3806
- };
3807
-
3808
- export type QueryFormTemplatesArgs = {
3809
- platformId: Scalars['String']['input'];
3810
- status?: InputMaybe<PublishStatus>;
3811
- };
3812
-
3813
- export type QueryFormsArgs = {
3814
- siteId: Scalars['String']['input'];
3815
- };
3816
-
3817
- export type QueryHelpTicketsArgs = {
3818
- limit?: InputMaybe<Scalars['Int']['input']>;
3819
- page?: InputMaybe<Scalars['Int']['input']>;
3820
- platformId: Scalars['String']['input'];
3821
- };
3822
-
3823
- export type QueryInitialFormDataArgs = {
3824
- formId: Scalars['String']['input'];
3825
- pageId?: InputMaybe<Scalars['String']['input']>;
3826
- pageUrl: Scalars['String']['input'];
3827
- };
3828
-
3829
- export type QueryLayoutArgs = {
3830
- id: Scalars['String']['input'];
3831
- };
3832
-
3833
- export type QueryLayoutTemplateArgs = {
3834
- id: Scalars['String']['input'];
3835
- };
3836
-
3837
- export type QueryLayoutsArgs = {
3838
- siteId: Scalars['String']['input'];
3839
- };
3840
-
3841
- export type QueryLessonArgs = {
3842
- id: Scalars['String']['input'];
3843
- };
3844
-
3845
- export type QueryLiveCustomFieldsArgs = {
3846
- object: CustomTableObject;
3847
- platformId: Scalars['String']['input'];
3848
- };
3849
-
3850
- export type QueryMultiOrgViewArgs = {
3851
- organizationId: Scalars['String']['input'];
3852
- };
3853
-
3854
- export type QueryOrganizationArgs = {
3855
- id: Scalars['String']['input'];
3856
- };
3857
-
3858
- export type QueryOrganizationsArgs = {
3859
- id?: InputMaybe<IdFilter>;
3860
- limit?: InputMaybe<Scalars['Int']['input']>;
3861
- page?: InputMaybe<Scalars['Int']['input']>;
3862
- platformId: Scalars['String']['input'];
3863
- search?: InputMaybe<Scalars['String']['input']>;
3864
- };
3865
-
3866
- export type QueryPageArgs = {
3867
- id: Scalars['String']['input'];
3868
- };
3869
-
3870
- export type QueryPageTemplateArgs = {
3871
- id: Scalars['String']['input'];
3872
- };
3873
-
3874
- export type QueryPageTemplatesArgs = {
3875
- id?: InputMaybe<IdFilter>;
3876
- platformId: Scalars['String']['input'];
3877
- siteTemplateId?: InputMaybe<StringListFilter>;
3878
- status?: InputMaybe<Array<PublishStatus>>;
3879
- };
3880
-
3881
- export type QueryPageTemplates2Args = {
3882
- id?: InputMaybe<IdFilter>;
3883
- platformId: Scalars['String']['input'];
3884
- siteTemplateId?: InputMaybe<StringListFilter>;
3885
- status?: InputMaybe<Array<PublishStatus>>;
3886
- };
3887
-
3888
- export type QueryPasswordResetInfoArgs = {
3889
- key: Scalars['String']['input'];
3890
- };
3891
-
3892
- export type QueryPlatformArgs = {
3893
- id: Scalars['String']['input'];
3894
- };
3895
-
3896
- export type QueryPreviewStripeUpcomingInvoiceArgs = {
3897
- promoCode?: InputMaybe<Scalars['String']['input']>;
3898
- subscriptionPlanId: Scalars['String']['input'];
3899
- };
3900
-
3901
- export type QueryProductItemOccurrencesArgs = {
3902
- item: Scalars['String']['input'];
3903
- platformId: Scalars['String']['input'];
3904
- };
3905
-
3906
- export type QueryProductItemPicklistArgs = {
3907
- limit?: InputMaybe<Scalars['Int']['input']>;
3908
- page?: InputMaybe<Scalars['Int']['input']>;
3909
- platformId: Scalars['String']['input'];
3910
- };
3911
-
3912
- export type QueryProductsArgs = {
3913
- limit?: InputMaybe<Scalars['Int']['input']>;
3914
- page?: InputMaybe<Scalars['Int']['input']>;
3915
- platformId: Scalars['String']['input'];
3916
- };
3917
-
3918
- export type QueryPromoCodePicklistArgs = {
3919
- platformId: Scalars['String']['input'];
3920
- };
3921
-
3922
- export type QueryPublicSiteArgs = {
3923
- id: Scalars['String']['input'];
3924
- };
3925
-
3926
- export type QueryRemoteComponentArgs = {
3927
- componentName: Scalars['String']['input'];
3928
- extensionName: Scalars['String']['input'];
3929
- };
3930
-
3931
- export type QueryReviewsArgs = {
3932
- limit?: InputMaybe<Scalars['Int']['input']>;
3933
- page?: InputMaybe<Scalars['Int']['input']>;
3934
- siteId: Scalars['String']['input'];
3935
- };
3936
-
3937
- export type QuerySequenceArgs = {
3938
- id: Scalars['String']['input'];
3939
- };
3940
-
3941
- export type QuerySequencesArgs = {
3942
- platformId: Scalars['String']['input'];
3943
- };
3944
-
3945
- export type QuerySiteArgs = {
3946
- id: Scalars['String']['input'];
3947
- };
3948
-
3949
- export type QuerySiteTemplateArgs = {
3950
- id: Scalars['String']['input'];
3951
- };
3952
-
3953
- export type QuerySiteTemplatesArgs = {
3954
- limit?: InputMaybe<Scalars['Int']['input']>;
3955
- page?: InputMaybe<Scalars['Int']['input']>;
3956
- platformId: Scalars['String']['input'];
3957
- };
3958
-
3959
- export type QuerySitesArgs = {
3960
- limit?: InputMaybe<Scalars['Int']['input']>;
3961
- page?: InputMaybe<Scalars['Int']['input']>;
3962
- platformId: Scalars['String']['input'];
3963
- search?: InputMaybe<Scalars['String']['input']>;
3964
- siteTemplateId?: InputMaybe<OptionalIdFilter>;
3965
- };
3966
-
3967
- export type QueryStageBlueprintArgs = {
3968
- id: Scalars['String']['input'];
3969
- };
3970
-
3971
- export type QuerySubscriptionArgs = {
3972
- id: Scalars['String']['input'];
3973
- };
3974
-
3975
- export type QuerySubscriptionAuditLogsArgs = {
3976
- actionByUserId?: InputMaybe<Scalars['String']['input']>;
3977
- limit: Scalars['Int']['input'];
3978
- organizationId?: InputMaybe<Scalars['String']['input']>;
3979
- page?: InputMaybe<Scalars['Int']['input']>;
3980
- platformId: Scalars['String']['input'];
3981
- subscriptionId?: InputMaybe<Scalars['String']['input']>;
3982
- };
3983
-
3984
- export type QuerySubscriptionCheckoutOptionsArgs = {
3985
- subscriptionPlanIds: Array<Scalars['String']['input']>;
3986
- };
3987
-
3988
- export type QuerySubscriptionPlanArgs = {
3989
- id: Scalars['String']['input'];
3990
- };
3991
-
3992
- export type QuerySubscriptionsArgs = {
3993
- endAtFrom?: InputMaybe<Scalars['Date']['input']>;
3994
- endAtTo?: InputMaybe<Scalars['Date']['input']>;
3995
- limit?: InputMaybe<Scalars['Int']['input']>;
3996
- page?: InputMaybe<Scalars['Int']['input']>;
3997
- planId?: InputMaybe<Scalars['String']['input']>;
3998
- platformId: Scalars['String']['input'];
3999
- promoCode?: InputMaybe<OptionalStringFilter>;
4000
- status?: InputMaybe<SubscriptionStatus>;
4001
- };
4002
-
4003
- export type QueryUserArgs = {
4004
- id: Scalars['String']['input'];
4005
- };
4006
-
4007
- export type QueryUserAuditLogsArgs = {
4008
- actionByUserId?: InputMaybe<Scalars['String']['input']>;
4009
- affectedUserId?: InputMaybe<Scalars['String']['input']>;
4010
- limit?: InputMaybe<Scalars['Int']['input']>;
4011
- page?: InputMaybe<Scalars['Int']['input']>;
4012
- platformId: Scalars['String']['input'];
4013
- };
4014
-
4015
- export type QueryUsersArgs = {
4016
- limit?: InputMaybe<Scalars['Int']['input']>;
4017
- organizationId?: InputMaybe<Scalars['String']['input']>;
4018
- page?: InputMaybe<Scalars['Int']['input']>;
4019
- platformId: Scalars['String']['input'];
4020
- role?: InputMaybe<Scalars['String']['input']>;
4021
- search?: InputMaybe<Scalars['String']['input']>;
4022
- status?: InputMaybe<UserStatus>;
4023
- };
4024
-
4025
- export type RemoteComponent = {
4026
- __typename?: 'RemoteComponent';
4027
- extensionName: Scalars['String']['output'];
4028
- id: Scalars['String']['output'];
4029
- name: Scalars['String']['output'];
4030
- stylesheetUrls: Array<Scalars['String']['output']>;
4031
- supportsChildren: Scalars['Boolean']['output'];
4032
- url: Scalars['String']['output'];
4033
- };
4034
-
4035
- export type RestoreCourseVersionChangesInput = {
4036
- changes: Array<CourseVersionChange>;
4037
- courseVersionId: Scalars['String']['input'];
4038
- };
4039
-
4040
- export type RestoreCourseVersionChangesResult =
4041
- | AuthorizationError
4042
- | InternalError
4043
- | RestoreCourseVersionChangesSuccessResult
4044
- | UserError;
4045
-
4046
- export type RestoreCourseVersionChangesSuccessResult = {
4047
- __typename?: 'RestoreCourseVersionChangesSuccessResult';
4048
- course: Course;
4049
- };
4050
-
4051
- export type RestoreFormVersionChangesInput = {
4052
- changes: Array<FormVersionChange>;
4053
- formVersionId: Scalars['String']['input'];
4054
- };
4055
-
4056
- export type RestoreFormVersionChangesResult =
4057
- | InternalError
4058
- | RestoreFormVersionChangesSuccessResult
4059
- | UserError;
4060
-
4061
- export type RestoreFormVersionChangesSuccessResult = {
4062
- __typename?: 'RestoreFormVersionChangesSuccessResult';
4063
- form: Form;
4064
- };
4065
-
4066
- export type RestoreLessonVersionChangesInput = {
4067
- changes: Array<LessonVersionChange>;
4068
- lessonVersionId: Scalars['String']['input'];
4069
- };
4070
-
4071
- export type RestoreLessonVersionChangesResult =
4072
- | AuthorizationError
4073
- | InternalError
4074
- | RestoreLessonVersionChangesSuccessResult
4075
- | UserError;
4076
-
4077
- export type RestoreLessonVersionChangesSuccessResult = {
4078
- __typename?: 'RestoreLessonVersionChangesSuccessResult';
4079
- lesson: Lesson;
4080
- };
4081
-
4082
- export type RestorePageVersionChangesInput = {
4083
- changes: Array<PageVersionChange>;
4084
- pageVersionId: Scalars['String']['input'];
4085
- };
4086
-
4087
- export type RestorePageVersionChangesResult =
4088
- | AuthorizationError
4089
- | InternalError
4090
- | RestorePageVersionChangesSuccessResult
4091
- | UserError;
4092
-
4093
- export type RestorePageVersionChangesSuccessResult = {
4094
- __typename?: 'RestorePageVersionChangesSuccessResult';
4095
- page: Page;
4096
- };
4097
-
4098
- export type Review = {
4099
- __typename?: 'Review';
4100
- createdAt: Scalars['Date']['output'];
4101
- id: Scalars['String']['output'];
4102
- review?: Maybe<Scalars['String']['output']>;
4103
- starRating: Scalars['Int']['output'];
4104
- submitterName?: Maybe<Scalars['String']['output']>;
4105
- };
4106
-
4107
- export type ReviewsList = ListResult & {
4108
- __typename?: 'ReviewsList';
4109
- limit: Scalars['Int']['output'];
4110
- page: Scalars['Int']['output'];
4111
- reviews: Array<Review>;
4112
- totalCount: Scalars['Int']['output'];
4113
- };
4114
-
4115
- export type RichTextInput = {
4116
- /** A JSON object */
4117
- delta: Scalars['String']['input'];
4118
- };
4119
-
4120
- export type Role = {
4121
- __typename?: 'Role';
4122
- default: Scalars['Boolean']['output'];
4123
- id: Scalars['String']['output'];
4124
- name: Scalars['String']['output'];
4125
- };
4126
-
4127
- export type RoleInput = {
4128
- default: Scalars['Boolean']['input'];
4129
- id: Scalars['String']['input'];
4130
- name: Scalars['String']['input'];
4131
- };
4132
-
4133
- export type RolesUpdate = {
4134
- value: Array<RoleInput>;
4135
- };
4136
-
4137
- export type Sequence = {
4138
- __typename?: 'Sequence';
4139
- id: Scalars['String']['output'];
4140
- loopStages: Scalars['Boolean']['output'];
4141
- /** The sequence's stage blueprints. For users without the View permission, the status argument is ignored and only active stage blueprints are returned. */
4142
- stageBlueprints: Array<StageBlueprint>;
4143
- stageLabel: Scalars['String']['output'];
4144
- title: Scalars['String']['output'];
4145
- };
4146
-
4147
- export type SequenceStageBlueprintsArgs = {
4148
- status?: InputMaybe<Array<StageBlueprintStatus>>;
4149
- };
4150
-
4151
- export type SequenceUser = {
4152
- __typename?: 'SequenceUser';
4153
- id: Scalars['String']['output'];
4154
- nextStageBlueprintId?: Maybe<Scalars['String']['output']>;
4155
- previousStageBlueprintId?: Maybe<Scalars['String']['output']>;
4156
- sequence: Sequence;
4157
- stageBlueprint: StageBlueprint;
4158
- userId: Scalars['String']['output'];
4159
- };
4160
-
4161
- export type SequencesList = ListResult & {
4162
- __typename?: 'SequencesList';
4163
- limit: Scalars['Int']['output'];
4164
- sequences: Array<Sequence>;
4165
- totalCount: Scalars['Int']['output'];
4166
- };
4167
-
4168
- export type Site = {
4169
- __typename?: 'Site';
4170
- agreements: AgreementsList;
4171
- bodyEndCode?: Maybe<Scalars['String']['output']>;
4172
- custom: CustomFieldValuesList;
4173
- domain: Scalars['String']['output'];
4174
- fontFamily: Scalars['String']['output'];
4175
- globalCss?: Maybe<Scalars['String']['output']>;
4176
- googleTagManagerId?: Maybe<Scalars['String']['output']>;
4177
- headEndCode?: Maybe<Scalars['String']['output']>;
4178
- id: Scalars['String']['output'];
4179
- inputFieldFontFamily: Scalars['String']['output'];
4180
- logoIconUrl?: Maybe<Scalars['String']['output']>;
4181
- logoUrl?: Maybe<Scalars['String']['output']>;
4182
- metaPixelId?: Maybe<Scalars['String']['output']>;
4183
- mixpanelToken?: Maybe<Scalars['String']['output']>;
4184
- name: Scalars['String']['output'];
4185
- /** The org that owns the site. */
4186
- org?: Maybe<Org>;
4187
- orgId?: Maybe<Scalars['String']['output']>;
4188
- pages: PagesList;
4189
- pages2: PagesList;
4190
- platformId: Scalars['String']['output'];
4191
- siteTemplate?: Maybe<SiteTemplate>;
4192
- siteTemplateId?: Maybe<Scalars['String']['output']>;
4193
- stripePublishableKey?: Maybe<Scalars['String']['output']>;
4194
- tlsCertificates: Array<TlsCertificate>;
4195
- zendeskChatKey?: Maybe<Scalars['String']['output']>;
4196
- };
4197
-
4198
- export type SitePagesArgs = {
4199
- limit?: InputMaybe<Scalars['Int']['input']>;
4200
- page?: InputMaybe<Scalars['Int']['input']>;
4201
- pageTemplateId?: InputMaybe<OptionalIdFilter>;
4202
- search?: InputMaybe<Scalars['String']['input']>;
4203
- status?: InputMaybe<Array<PublishStatus>>;
4204
- };
4205
-
4206
- export type SitePages2Args = {
4207
- limit?: InputMaybe<Scalars['Int']['input']>;
4208
- page?: InputMaybe<Scalars['Int']['input']>;
4209
- pageTemplateId?: InputMaybe<OptionalIdFilter>;
4210
- search?: InputMaybe<Scalars['String']['input']>;
4211
- status?: InputMaybe<Array<PublishStatus>>;
4212
- };
4213
-
4214
- export type SiteTemplate = {
4215
- __typename?: 'SiteTemplate';
4216
- id: Scalars['String']['output'];
4217
- layoutTemplates: LayoutTemplatesList;
4218
- name: Scalars['String']['output'];
4219
- pageTemplates: PageTemplatesList;
4220
- };
4221
-
4222
- export type SiteTemplateLayoutTemplatesArgs = {
4223
- limit?: InputMaybe<Scalars['Int']['input']>;
4224
- page?: InputMaybe<Scalars['Int']['input']>;
4225
- };
4226
-
4227
- export type SiteTemplatePageTemplatesArgs = {
4228
- limit?: InputMaybe<Scalars['Int']['input']>;
4229
- page?: InputMaybe<Scalars['Int']['input']>;
4230
- };
4231
-
4232
- export type SiteTemplateLayoutTemplatesInput = {
4233
- layoutTemplateIds: Array<Scalars['String']['input']>;
4234
- siteTemplateId: Scalars['String']['input'];
4235
- };
4236
-
4237
- export type SiteTemplatePageTemplatesInput = {
4238
- pageTemplateIds: Array<Scalars['String']['input']>;
4239
- siteTemplateId: Scalars['String']['input'];
4240
- };
4241
-
4242
- export type SiteTemplatesList = ListResult & {
4243
- __typename?: 'SiteTemplatesList';
4244
- limit: Scalars['Int']['output'];
4245
- page: Scalars['Int']['output'];
4246
- siteTemplates: Array<SiteTemplate>;
4247
- totalCount: Scalars['Int']['output'];
4248
- };
4249
-
4250
- export type SitesList = ListResult & {
4251
- __typename?: 'SitesList';
4252
- limit: Scalars['Int']['output'];
4253
- sites: Array<Site>;
4254
- totalCount: Scalars['Int']['output'];
4255
- };
4256
-
4257
- export type SplitUserToNewOrgResult = SplitUserToNewOrgSuccessResult | UserError;
4258
-
4259
- export type SplitUserToNewOrgSuccessResult = {
4260
- __typename?: 'SplitUserToNewOrgSuccessResult';
4261
- user: User;
4262
- };
4263
-
4264
- /** TODO: Replace with SequenceStageUser. */
4265
- export type Stage = {
4266
- __typename?: 'Stage';
4267
- date: Scalars['String']['output'];
4268
- files: Array<File>;
4269
- id: Scalars['String']['output'];
4270
- isCompleted: Scalars['Boolean']['output'];
4271
- stageBlueprint: StageBlueprint;
4272
- state: Scalars['String']['output'];
4273
- userId: Scalars['String']['output'];
4274
- };
4275
-
4276
- export type StageBlueprint = {
4277
- __typename?: 'StageBlueprint';
4278
- completedAt: Array<Scalars['Date']['output']>;
4279
- completionSpec: Scalars['String']['output'];
4280
- components: Scalars['String']['output'];
4281
- deletedAt?: Maybe<Scalars['Date']['output']>;
4282
- id: Scalars['String']['output'];
4283
- name: Scalars['String']['output'];
4284
- position: Scalars['Int']['output'];
4285
- sequenceId: Scalars['String']['output'];
4286
- };
4287
-
4288
- export type StageBlueprintCompletedAtArgs = {
4289
- userId: Scalars['String']['input'];
4290
- };
4291
-
4292
- export const StageBlueprintStatus = {
4293
- Active: 'Active',
4294
- Deleted: 'Deleted',
4295
- } as const;
4296
-
4297
- export type StageBlueprintStatus = (typeof StageBlueprintStatus)[keyof typeof StageBlueprintStatus];
4298
- export type StringFilter = {
4299
- operator: StringFilterOperator;
4300
- value: Scalars['String']['input'];
4301
- };
4302
-
4303
- export const StringFilterOperator = {
4304
- Contains: 'Contains',
4305
- Equals: 'Equals',
4306
- NotContains: 'NotContains',
4307
- NotEquals: 'NotEquals',
4308
- } as const;
4309
-
4310
- export type StringFilterOperator = (typeof StringFilterOperator)[keyof typeof StringFilterOperator];
4311
- export type StringListFilter = {
4312
- operator: StringListFilterOperator;
4313
- /**
4314
- * If operator is Empty or NotEmpty, value is ignored and must not be provided.
4315
- * If operator is Contains or NotContains, value must be provided and include exactly one value.
4316
- * If operator is ContainsAll, NotContainsAll, ContainsAny, or NotContainsAny, value must be provided and include at least one value.
4317
- */
4318
- value?: InputMaybe<Array<Scalars['String']['input']>>;
4319
- };
4320
-
4321
- export const StringListFilterOperator = {
4322
- Contains: 'Contains',
4323
- ContainsAll: 'ContainsAll',
4324
- ContainsAny: 'ContainsAny',
4325
- Empty: 'Empty',
4326
- NotContains: 'NotContains',
4327
- NotContainsAll: 'NotContainsAll',
4328
- NotContainsAny: 'NotContainsAny',
4329
- NotEmpty: 'NotEmpty',
4330
- } as const;
4331
-
4332
- export type StringListFilterOperator =
4333
- (typeof StringListFilterOperator)[keyof typeof StringListFilterOperator];
4334
- export type StringListUpdate = {
4335
- value: Array<Scalars['String']['input']>;
4336
- };
4337
-
4338
- /**
4339
- * A container for an input field representing a required (i.e., non-null) string that may optionally
4340
- * be updated. If an object of this type is provided, its value becomes the new value of the field.
4341
- */
4342
- export type StringUpdate = {
4343
- value: Scalars['String']['input'];
4344
- };
4345
-
4346
- /** The supported coupon duration types. */
4347
- export const StripeCouponDuration = {
4348
- Forever: 'Forever',
4349
- Once: 'Once',
4350
- Repeating: 'Repeating',
4351
- } as const;
4352
-
4353
- export type StripeCouponDuration = (typeof StripeCouponDuration)[keyof typeof StripeCouponDuration];
4354
- export type StripeCustomer = {
4355
- __typename?: 'StripeCustomer';
4356
- address?: Maybe<Address>;
4357
- id: Scalars['String']['output'];
4358
- phoneNumber?: Maybe<Scalars['String']['output']>;
4359
- };
4360
-
4361
- export type Sub = {
4362
- __typename?: 'Sub';
4363
- endAt?: Maybe<Scalars['Date']['output']>;
4364
- id: Scalars['String']['output'];
4365
- invoiceFrequency?: Maybe<InvoiceFrequency>;
4366
- /** TODO: Rename to ownerOrg. */
4367
- managerOrganization?: Maybe<OrgProfile>;
4368
- notes: Array<SubscriptionNote>;
4369
- ownerOrg?: Maybe<OrgProfile>;
4370
- plan: SubscriptionPlan;
4371
- planId: Scalars['String']['output'];
4372
- planProfile: SubscriptionPlanProfile;
4373
- price: Scalars['String']['output'];
4374
- promoCode?: Maybe<Scalars['String']['output']>;
4375
- startAt: Scalars['Date']['output'];
4376
- status: SubscriptionStatus;
4377
- stripeSubscriptionId?: Maybe<Scalars['String']['output']>;
4378
- /**
4379
- * The SubscriptionOrganizations connecting this subscription to the orgs that are included in it.
4380
- * If the requesting user is not a member of the manager org, the list will include only the user's own org.
4381
- */
4382
- subscriptionOrganizations: Array<SubscriptionOrganization>;
4383
- };
4384
-
4385
- export type SubmitFormResult = {
4386
- __typename?: 'SubmitFormResult';
4387
- sessionId: Scalars['String']['output'];
4388
- };
4389
-
4390
- export type Subscription = {
4391
- __typename?: 'Subscription';
4392
- stageUpdated?: Maybe<Stage>;
4393
- };
4394
-
4395
- export type SubscriptionStageUpdatedArgs = {
4396
- id: Scalars['String']['input'];
4397
- };
4398
-
4399
- export type SubscriptionAuditLog = {
4400
- __typename?: 'SubscriptionAuditLog';
4401
- action: Scalars['String']['output'];
4402
- actionByUser: UserProfile;
4403
- createdAt: Scalars['Date']['output'];
4404
- id: Scalars['String']['output'];
4405
- organization?: Maybe<Org>;
4406
- subscription: Sub;
4407
- };
4408
-
4409
- export type SubscriptionAuditLogsList = ListResult & {
4410
- __typename?: 'SubscriptionAuditLogsList';
4411
- limit: Scalars['Int']['output'];
4412
- logs: Array<SubscriptionAuditLog>;
4413
- totalCount: Scalars['Int']['output'];
4414
- };
4415
-
4416
- /** A subset of Product fields, intentionally limited for public view. */
4417
- export type SubscriptionCheckoutOption = {
4418
- __typename?: 'SubscriptionCheckoutOption';
4419
- /** Either the displayName of the Product, if set, or the name as a fallback. */
4420
- displayName: Scalars['String']['output'];
4421
- /** The ID of a Product. */
4422
- id: Scalars['String']['output'];
4423
- invoiceFrequency?: Maybe<InvoiceFrequency>;
4424
- price: Scalars['String']['output'];
4425
- };
4426
-
4427
- export type SubscriptionNote = {
4428
- __typename?: 'SubscriptionNote';
4429
- byUser: UserProfile;
4430
- byUserId: Scalars['String']['output'];
4431
- createdAt: Scalars['Date']['output'];
4432
- id: Scalars['String']['output'];
4433
- notes: Scalars['String']['output'];
4434
- };
4435
-
4436
- export type SubscriptionOrganization = {
4437
- __typename?: 'SubscriptionOrganization';
4438
- id: Scalars['String']['output'];
4439
- org: Org;
4440
- subscription: Sub;
4441
- subscriptionId: Scalars['String']['output'];
4442
- subscriptionOwner: Scalars['Boolean']['output'];
4443
- };
4444
-
4445
- export type SubscriptionPlan = {
4446
- __typename?: 'SubscriptionPlan';
4447
- alternativeStripePriceIds: Array<Scalars['String']['output']>;
4448
- description?: Maybe<Scalars['String']['output']>;
4449
- displayName?: Maybe<Scalars['String']['output']>;
4450
- durationDays?: Maybe<Scalars['Int']['output']>;
4451
- endAt?: Maybe<Scalars['Date']['output']>;
4452
- id: Scalars['String']['output'];
4453
- /** The invoice frequency for this plan. This will be null for plans that have a price of 0. */
4454
- invoiceFrequency?: Maybe<InvoiceFrequency>;
4455
- items: Array<Scalars['String']['output']>;
4456
- name: Scalars['String']['output'];
4457
- price: Scalars['String']['output'];
4458
- promoCodes: Array<PromoCode>;
4459
- stripePriceId?: Maybe<Scalars['String']['output']>;
4460
- };
4461
-
4462
- /** This type limits the type of data that can be queried from a SubscriptionPlan. */
4463
- export type SubscriptionPlanProfile = {
4464
- __typename?: 'SubscriptionPlanProfile';
4465
- displayName?: Maybe<Scalars['String']['output']>;
4466
- /** The ID of a SubscriptionPlan. */
4467
- id: Scalars['String']['output'];
4468
- name: Scalars['String']['output'];
4469
- };
4470
-
4471
- export const SubscriptionStatus = {
4472
- Active: 'Active',
4473
- Canceled: 'Canceled',
4474
- Incomplete: 'Incomplete',
4475
- IncompleteExpired: 'IncompleteExpired',
4476
- PastDue: 'PastDue',
4477
- Paused: 'Paused',
4478
- Replaced: 'Replaced',
4479
- Trialing: 'Trialing',
4480
- Unpaid: 'Unpaid',
4481
- } as const;
4482
-
4483
- export type SubscriptionStatus = (typeof SubscriptionStatus)[keyof typeof SubscriptionStatus];
4484
- export type SubscriptionsList = ListResult & {
4485
- __typename?: 'SubscriptionsList';
4486
- limit: Scalars['Int']['output'];
4487
- subscriptions: Array<Sub>;
4488
- totalCount: Scalars['Int']['output'];
4489
- };
4490
-
4491
- export type SyncLayoutTemplateToLayoutsInput = {
4492
- layoutId: Scalars['String']['input'];
4493
- layoutTemplateId: Scalars['String']['input'];
4494
- /**
4495
- * Whether to sync the layout’s path prefix to the template’s path prefix. If true and there is another
4496
- * layout on the site with the template’s path prefix and is not deleted, the request will be rejected.
4497
- */
4498
- syncPathPrefix?: InputMaybe<Scalars['Boolean']['input']>;
4499
- };
4500
-
4501
- export type SyncLayoutTemplateToLayoutsResult =
4502
- | AuthorizationError
4503
- | SyncLayoutTemplateToLayoutsSuccessResult
4504
- | UserError;
4505
-
4506
- export type SyncLayoutTemplateToLayoutsSuccessResult = {
4507
- __typename?: 'SyncLayoutTemplateToLayoutsSuccessResult';
4508
- syncedLayouts: LayoutsList;
4509
- };
4510
-
4511
- export type SyncPageTemplateToPagesInput = {
4512
- /** The fields to sync. If not provided, all fields are synced. Providing an empty list is not valid. */
4513
- fields?: InputMaybe<Array<PageTemplateSyncedField>>;
4514
- /**
4515
- * By default, only fields that have not been edited since the page was created or last synced are updated.
4516
- * Any field that is listed in forceSync is updated regardless of whether it has been edited.
4517
- * If Path is included but a given page’s site already has another published or draft page with the template’s
4518
- * path, the page’s path will be updated, and the page will be included in the duplicatePathNotSyncedPages list.
4519
- */
4520
- forceSync?: InputMaybe<Array<PageTemplateSyncedField>>;
4521
- /** Must be provided if and only if selection is PageIds. */
4522
- pageIds?: InputMaybe<Array<Scalars['String']['input']>>;
4523
- pageTemplateId: Scalars['String']['input'];
4524
- /** Which pages to sync. */
4525
- selection: SyncPageTemplateToPagesSelection;
4526
- };
4527
-
4528
- export type SyncPageTemplateToPagesResult =
4529
- | AuthorizationError
4530
- | SyncPageTemplateToPagesSuccessResult
4531
- | UserError;
4532
-
4533
- export const SyncPageTemplateToPagesSelection = {
4534
- All: 'All',
4535
- PageIds: 'PageIds',
4536
- } as const;
4537
-
4538
- export type SyncPageTemplateToPagesSelection =
4539
- (typeof SyncPageTemplateToPagesSelection)[keyof typeof SyncPageTemplateToPagesSelection];
4540
- export type SyncPageTemplateToPagesSuccessResult = {
4541
- __typename?: 'SyncPageTemplateToPagesSuccessResult';
4542
- /** The pages that were not synced because the page’s site already has a page with the template’s path. Applies only if syncPaths is true. */
4543
- duplicatePathNotSyncedPages: PagesList;
4544
- /** Error messages for pages that could not be synced due to an internal or misconfiguration issue. */
4545
- errorMessages: Array<Scalars['String']['output']>;
4546
- /** Pages that did not have any changes to apply. */
4547
- noChangePages: PagesList;
4548
- syncedPages: PagesList;
4549
- };
4550
-
4551
- /**
4552
- * An abstraction for a TLS certificate for a particular domain. The actual certificate may cover other domains and
4553
- * may be used by multiple certificate map entries.
4554
- */
4555
- export type TlsCertificate = {
4556
- __typename?: 'TlsCertificate';
4557
- domain: Scalars['String']['output'];
4558
- /** A unique string derived from the certificate's name and this domain. */
4559
- id: Scalars['String']['output'];
4560
- /** The state of the associated certificate map entry. This will be null if no map entry is found. */
4561
- mapEntryState?: Maybe<GCloudCertificateMapEntryState>;
4562
- /** The full certificate name as returned by the underlying certificate provider. */
4563
- name: Scalars['String']['output'];
4564
- provisioningIssueDetails?: Maybe<Scalars['String']['output']>;
4565
- state: GCloudCertificateState;
4566
- };
4567
-
4568
- export type UploadFileInput = {
4569
- mimeType: Scalars['String']['input'];
4570
- name: Scalars['String']['input'];
4571
- purpose: UploadFilePurpose;
4572
- };
4573
-
4574
- /** One and only of the fields must be set. */
4575
- export type UploadFilePurpose = {
4576
- customField?: InputMaybe<UploadFilePurposeCustomField>;
4577
- document?: InputMaybe<UploadFilePurposeDocument>;
4578
- extension?: InputMaybe<UploadFilePurposeExtension>;
4579
- sequenceStageUser?: InputMaybe<UploadFilePurposeSequenceStageUser>;
4580
- siteLogo?: InputMaybe<UploadFilePurposeSiteLogo>;
4581
- };
4582
-
4583
- export type UploadFilePurposeCustomField = {
4584
- customFieldName: Scalars['String']['input'];
4585
- /** The type of entity that the custom field is set on. */
4586
- object: CustomTableObject;
4587
- /** The ID of the target object (e.g., a Site's ID). */
4588
- parentId: Scalars['String']['input'];
4589
- };
4590
-
4591
- export type UploadFilePurposeDocument = {
4592
- documentId: Scalars['String']['input'];
4593
- /** If true, the file will be set as the current version on the document upon being uploaded. */
4594
- setAsCurrentVersion: Scalars['Boolean']['input'];
4595
- };
4596
-
4597
- export type UploadFilePurposeExtension = {
4598
- extensionName: Scalars['String']['input'];
4599
- /** Some string for uniquely identifying the file within the extension. */
4600
- objectName: Scalars['String']['input'];
4601
- platformId: Scalars['String']['input'];
4602
- };
4603
-
4604
- export type UploadFilePurposeSequenceStageUser = {
4605
- sequenceStageUserId: Scalars['String']['input'];
4606
- stateProperty: Scalars['String']['input'];
4607
- };
4608
-
4609
- export type UploadFilePurposeSiteLogo = {
4610
- siteId: Scalars['String']['input'];
4611
- };
4612
-
4613
- export type UploadFileResult =
4614
- | AuthorizationError
4615
- | InternalError
4616
- | UploadFileSuccessResult
4617
- | UserError;
4618
-
4619
- export type UploadFileSuccessResult = {
4620
- __typename?: 'UploadFileSuccessResult';
4621
- fileId: Scalars['String']['output'];
4622
- signedUrl: Scalars['String']['output'];
4623
- };
4624
-
4625
- export type User = {
4626
- __typename?: 'User';
4627
- apiTokens: PersonalApiTokensList;
4628
- /** The latest agreement types on the current site (based on request host) to which the user has given consent. */
4629
- currentAgreementsSigned: Array<AgreementType>;
4630
- custom: CustomFieldValuesList;
4631
- displayName: Scalars['String']['output'];
4632
- email: Scalars['String']['output'];
4633
- emailVerified: Scalars['Boolean']['output'];
4634
- expiresAt?: Maybe<Scalars['Date']['output']>;
4635
- firstName: Scalars['String']['output'];
4636
- id: Scalars['String']['output'];
4637
- lastName: Scalars['String']['output'];
4638
- org?: Maybe<Org>;
4639
- orgId?: Maybe<Scalars['String']['output']>;
4640
- orgPrimary: Scalars['Boolean']['output'];
4641
- passwordExpiresAt?: Maybe<Scalars['Date']['output']>;
4642
- passwordStatus: PasswordStatus;
4643
- planProgress: Array<UserPlanProgress>;
4644
- plans: Array<UserPlan>;
4645
- /**
4646
- * This user’s platforms where the user is an admin.
4647
- * @deprecated Use adminMe instead.
4648
- */
4649
- platformAdminUsers: Array<PlatformAdminUser>;
4650
- /** All product items from all of the active subscriptions of the user's org. */
4651
- productItems: Array<Scalars['String']['output']>;
4652
- role: Scalars['String']['output'];
4653
- /**
4654
- * Find or create this user's SequenceUser for the specified sequence. Any user can access this field for themselves with
4655
- * the ID of a sequence owned by the platform the user belongs to. A user can also access this field for another user if
4656
- * the requesting user has the EditSequenceUser permission on the platform that the queried user belongs to.
4657
- */
4658
- sequenceUser: SequenceUser;
4659
- status: UserStatus;
4660
- userCourseProgresses: UserCourseProgressesList;
4661
- zendeskChatToken?: Maybe<Scalars['String']['output']>;
4662
- };
4663
-
4664
- export type UserPlanProgressArgs = {
4665
- contentPlanIds: Array<Scalars['String']['input']>;
4666
- };
4667
-
4668
- export type UserSequenceUserArgs = {
4669
- sequenceId: Scalars['String']['input'];
4670
- };
4671
-
4672
- export type UserUserCourseProgressesArgs = {
4673
- courseIds: Array<Scalars['String']['input']>;
4674
- limit?: InputMaybe<Scalars['Int']['input']>;
4675
- };
4676
-
4677
- export type UserAuditLog = {
4678
- __typename?: 'UserAuditLog';
4679
- action: Scalars['String']['output'];
4680
- actionByUser: UserProfile;
4681
- createdAt: Scalars['Date']['output'];
4682
- id: Scalars['String']['output'];
4683
- notes?: Maybe<Scalars['String']['output']>;
4684
- user: UserProfile;
4685
- };
4686
-
4687
- export type UserAuditLogsList = ListResult & {
4688
- __typename?: 'UserAuditLogsList';
4689
- limit: Scalars['Int']['output'];
4690
- logs: Array<UserAuditLog>;
4691
- totalCount: Scalars['Int']['output'];
4692
- };
4693
-
4694
- /**
4695
- * This API is intentionally limited so that we do not expose an entire course or lesson, since any user can
4696
- * request this data for themselves regardless of their subscriptions or permissions.
4697
- */
4698
- export type UserCourseProgress = {
4699
- __typename?: 'UserCourseProgress';
4700
- courseId: Scalars['String']['output'];
4701
- courseTitle: Scalars['String']['output'];
4702
- lessons: UserCourseProgressLessonsList;
4703
- userId: Scalars['String']['output'];
4704
- };
4705
-
4706
- /** This API is intentionally limited. */
4707
- export type UserCourseProgressLesson = {
4708
- __typename?: 'UserCourseProgressLesson';
4709
- /** When the user completed the lesson. */
4710
- completedAt?: Maybe<Scalars['Date']['output']>;
4711
- /** A Lesson ID. */
4712
- id: Scalars['String']['output'];
4713
- /** When the user started the lesson. */
4714
- startedAt?: Maybe<Scalars['Date']['output']>;
4715
- subLessons: UserCourseProgressLessonsList;
4716
- title: Scalars['String']['output'];
4717
- };
4718
-
4719
- export type UserCourseProgressLessonsList = ListResult & {
4720
- __typename?: 'UserCourseProgressLessonsList';
4721
- lessons: Array<UserCourseProgressLesson>;
4722
- limit: Scalars['Int']['output'];
4723
- totalCount: Scalars['Int']['output'];
4724
- };
4725
-
4726
- export type UserCourseProgressesList = ListResult & {
4727
- __typename?: 'UserCourseProgressesList';
4728
- limit: Scalars['Int']['output'];
4729
- totalCount: Scalars['Int']['output'];
4730
- userCourseProgresses: Array<UserCourseProgress>;
4731
- };
4732
-
4733
- export type UserError = Error & {
4734
- __typename?: 'UserError';
4735
- message: Scalars['String']['output'];
4736
- };
4737
-
4738
- export type UserPlan = {
4739
- __typename?: 'UserPlan';
4740
- id: Scalars['String']['output'];
4741
- nextStageBlueprintId?: Maybe<Scalars['String']['output']>;
4742
- previousStageBlueprintId?: Maybe<Scalars['String']['output']>;
4743
- sequence: Sequence;
4744
- stageBlueprint: StageBlueprint;
4745
- userId: Scalars['String']['output'];
4746
- };
4747
-
4748
- export type UserPlanProgress = {
4749
- __typename?: 'UserPlanProgress';
4750
- completedStageBlueprintIds: Array<Scalars['String']['output']>;
4751
- plan: Sequence;
4752
- planId: Scalars['String']['output'];
4753
- startedStageBlueprintIds: Array<Scalars['String']['output']>;
4754
- totalStageBlueprints: Scalars['Int']['output'];
4755
- userId: Scalars['String']['output'];
4756
- };
4757
-
4758
- /** A UserProfile is a minimal set of User fields. */
4759
- export type UserProfile = {
4760
- __typename?: 'UserProfile';
4761
- displayName: Scalars['String']['output'];
4762
- email: Scalars['String']['output'];
4763
- firstName: Scalars['String']['output'];
4764
- id: Scalars['String']['output'];
4765
- lastName: Scalars['String']['output'];
4766
- };
4767
-
4768
- export const UserStatus = {
4769
- Active: 'Active',
4770
- Deactivated: 'Deactivated',
4771
- Pending: 'Pending',
4772
- } as const;
4773
-
4774
- export type UserStatus = (typeof UserStatus)[keyof typeof UserStatus];
4775
- export type UserStatusUpdate = {
4776
- value: UserStatus;
4777
- };
4778
-
4779
- export type UsersList = ListResult & {
4780
- __typename?: 'UsersList';
4781
- limit: Scalars['Int']['output'];
4782
- totalCount: Scalars['Int']['output'];
4783
- users: Array<User>;
4784
- };
4785
-
4786
- export const VisualDesignerObjectType = {
4787
- Component: 'Component',
4788
- ComponentPropsSetup: 'ComponentPropsSetup',
4789
- CustomFieldsForm: 'CustomFieldsForm',
4790
- Form: 'Form',
4791
- FormConfirmationMessageComponents: 'FormConfirmationMessageComponents',
4792
- FormStep: 'FormStep',
4793
- FormTemplate: 'FormTemplate',
4794
- FormTemplateConfirmationMessageComponents: 'FormTemplateConfirmationMessageComponents',
4795
- FormTemplateStep: 'FormTemplateStep',
4796
- Layout: 'Layout',
4797
- LayoutTemplate: 'LayoutTemplate',
4798
- Lesson: 'Lesson',
4799
- Page: 'Page',
4800
- PageTemplate: 'PageTemplate',
4801
- PageTemplatePropsSetup: 'PageTemplatePropsSetup',
4802
- PageVersion: 'PageVersion',
4803
- Stage: 'Stage',
4804
- } as const;
4805
-
4806
- export type VisualDesignerObjectType =
4807
- (typeof VisualDesignerObjectType)[keyof typeof VisualDesignerObjectType];