@wirechunk/cli 0.0.4 → 0.0.6

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.
@@ -16,7 +16,7 @@ export type Scalars = {
16
16
  Boolean: { input: boolean; output: boolean };
17
17
  Int: { input: number; output: number };
18
18
  Float: { input: number; output: number };
19
- /** A timestamp in ISO 8601 format */
19
+ /** A timestamp in ISO 8601 format with the date, time, and timezone. */
20
20
  Date: { input: string | Date; output: string };
21
21
  };
22
22
 
@@ -76,11 +76,7 @@ export type AddressInput = {
76
76
  state: Scalars['String']['input'];
77
77
  };
78
78
 
79
- /**
80
- * An admin user is a subset of a User. This type is used when the host platform does not have a site and orgs
81
- * like normal platforms and instead the admin dashboard is displayed on a configured domain where admin users
82
- * can sign in (in this case features that require a site and orgs are not available).
83
- */
79
+ /** A user who could be an admin on platforms. */
84
80
  export type AdminUser = {
85
81
  __typename?: 'AdminUser';
86
82
  apiTokens: PersonalApiTokensList;
@@ -90,6 +86,7 @@ export type AdminUser = {
90
86
  firstName: Scalars['String']['output'];
91
87
  id: Scalars['String']['output'];
92
88
  lastName: Scalars['String']['output'];
89
+ /** This user’s platforms where the user is an admin (possible inactive). */
93
90
  platformAdminUsers: Array<PlatformAdminUser>;
94
91
  };
95
92
 
@@ -103,6 +100,7 @@ export type Agreement = {
103
100
  };
104
101
 
105
102
  export const AgreementType = {
103
+ CookiePolicy: 'CookiePolicy',
106
104
  PrivacyPolicy: 'PrivacyPolicy',
107
105
  TermsOfUse: 'TermsOfUse',
108
106
  } as const;
@@ -115,6 +113,17 @@ export type AgreementsList = {
115
113
  totalCount: Scalars['Int']['output'];
116
114
  };
117
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];
118
127
  export type ApiToken = PersonalApiToken | PlatformApiToken;
119
128
 
120
129
  export type ApplyCustomPromoCodeResult = ApplyCustomPromoCodeSuccessResult | InternalError;
@@ -134,6 +143,212 @@ export type ArchiveComponentSuccessResult = {
134
143
  component: Component;
135
144
  };
136
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
+
137
352
  export type AuthorizationError = Error & {
138
353
  __typename?: 'AuthorizationError';
139
354
  message: Scalars['String']['output'];
@@ -286,6 +501,56 @@ export type CreateAdminUserSuccessResult = {
286
501
  platformAdminUser: PlatformAdminUser;
287
502
  };
288
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
+
289
554
  export type CreateComponentInput = {
290
555
  components?: InputMaybe<Scalars['String']['input']>;
291
556
  name: Scalars['String']['input'];
@@ -314,6 +579,7 @@ export type CreateCourseSuccessResult = {
314
579
  export type CreateCustomTableEditorFormVersionInput = {
315
580
  components: Scalars['String']['input'];
316
581
  customTableId: Scalars['String']['input'];
582
+ setAsCurrent?: Scalars['Boolean']['input'];
317
583
  };
318
584
 
319
585
  export type CreateCustomTableEditorFormVersionResult =
@@ -323,6 +589,7 @@ export type CreateCustomTableEditorFormVersionResult =
323
589
 
324
590
  export type CreateCustomTableEditorFormVersionSuccessResult = {
325
591
  __typename?: 'CreateCustomTableEditorFormVersionSuccessResult';
592
+ customTable: CustomTable;
326
593
  customTableEditorFormVersion: CustomTableEditorFormVersion;
327
594
  };
328
595
 
@@ -456,6 +723,19 @@ export type CreatePlatformApiTokenSuccessResult = {
456
723
  token: Scalars['String']['output'];
457
724
  };
458
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
+
459
739
  export type CreateProductResult = CreateProductSuccessResult | UserError;
460
740
 
461
741
  export type CreateProductSuccessResult = {
@@ -867,6 +1147,63 @@ export type DuplicateSequenceSuccessResult = {
867
1147
  sequence: Sequence;
868
1148
  };
869
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
+
870
1207
  export type EditComponentInput = {
871
1208
  components?: InputMaybe<OptionalComponentsUpdate>;
872
1209
  id: Scalars['String']['input'];
@@ -1132,6 +1469,7 @@ export type EditPlatformInput = {
1132
1469
  emailReplyToAddress?: InputMaybe<OptionalStringUpdate>;
1133
1470
  emailSendFromAddress?: InputMaybe<StringUpdate>;
1134
1471
  id: Scalars['String']['input'];
1472
+ roles?: InputMaybe<RolesUpdate>;
1135
1473
  sendGridApiKey?: InputMaybe<OptionalStringUpdate>;
1136
1474
  stripeSecretKey?: InputMaybe<OptionalStringUpdate>;
1137
1475
  stripeWebhookSigningSecret?: InputMaybe<OptionalStringUpdate>;
@@ -1201,6 +1539,7 @@ export type EditUserInput = {
1201
1539
  customFields?: InputMaybe<Array<KeyValueInput>>;
1202
1540
  expiresAt?: InputMaybe<OptionalDateUpdate>;
1203
1541
  id: Scalars['String']['input'];
1542
+ status?: InputMaybe<UserStatusUpdate>;
1204
1543
  };
1205
1544
 
1206
1545
  export type EditUserResult = EditUserSuccessResult | UserError;
@@ -1219,13 +1558,46 @@ export type Extension = {
1219
1558
  __typename?: 'Extension';
1220
1559
  /** A JSON object. This object will not have the current version's config merged in. */
1221
1560
  config: Scalars['String']['output'];
1561
+ cpuLimit?: Maybe<Scalars['String']['output']>;
1562
+ cpuRequest?: Maybe<Scalars['String']['output']>;
1222
1563
  currentVersion?: Maybe<ExtensionVersion>;
1223
1564
  enabled: Scalars['Boolean']['output'];
1224
1565
  id: Scalars['String']['output'];
1566
+ memoryLimit?: Maybe<Scalars['String']['output']>;
1567
+ memoryRequest?: Maybe<Scalars['String']['output']>;
1225
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;
1226
1576
  versions: ExtensionVersionsList;
1227
1577
  };
1228
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
+
1229
1601
  export type ExtensionVersion = {
1230
1602
  __typename?: 'ExtensionVersion';
1231
1603
  componentsBuildStage: ExtensionVersionBuildStage;
@@ -1276,10 +1648,13 @@ export type File = {
1276
1648
  __typename?: 'File';
1277
1649
  createdAt: Scalars['Date']['output'];
1278
1650
  downloadName: Scalars['String']['output'];
1651
+ /** For non-public files, the signed URL to perform a GET request on the file. */
1279
1652
  getUrl: Scalars['String']['output'];
1280
1653
  id: Scalars['String']['output'];
1281
1654
  mimeType: Scalars['String']['output'];
1282
1655
  status: FileStatus;
1656
+ /** The publicly accessible URL for the associated file. */
1657
+ url?: Maybe<Scalars['String']['output']>;
1283
1658
  };
1284
1659
 
1285
1660
  export type FileGetUrlArgs = {
@@ -1339,6 +1714,13 @@ export type Form = {
1339
1714
  title: Scalars['String']['output'];
1340
1715
  useEmailBodyTemplate: Scalars['Boolean']['output'];
1341
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']>;
1342
1724
  };
1343
1725
 
1344
1726
  export type FormConfirmationRedirectUrlParameter = {
@@ -1428,6 +1810,64 @@ export type FormTemplateStep = {
1428
1810
  position: Scalars['String']['output'];
1429
1811
  };
1430
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
+
1431
1871
  export const GCloudCertificateMapEntryState = {
1432
1872
  Active: 'Active',
1433
1873
  Pending: 'Pending',
@@ -1445,6 +1885,43 @@ export const GCloudCertificateState = {
1445
1885
 
1446
1886
  export type GCloudCertificateState =
1447
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
+
1448
1925
  export type HelpTicket = {
1449
1926
  __typename?: 'HelpTicket';
1450
1927
  createdAt: Scalars['Date']['output'];
@@ -1674,8 +2151,6 @@ export type ListResult = {
1674
2151
  totalCount: Scalars['Int']['output'];
1675
2152
  };
1676
2153
 
1677
- export type Me = AdminUser | User;
1678
-
1679
2154
  export type MoveUserToOrgResult = MoveUserToOrgSuccessResult | UserError;
1680
2155
 
1681
2156
  export type MoveUserToOrgSuccessResult = {
@@ -1698,6 +2173,8 @@ export type Mutation = {
1698
2173
  * Requires the requesting user to be an owner of the platform.
1699
2174
  */
1700
2175
  createAdminUser: CreateAdminUserResult;
2176
+ createAsset: CreateAssetResult;
2177
+ createAssetVariant: CreateAssetVariantResult;
1701
2178
  createComponent: CreateComponentResult;
1702
2179
  createCourse: CreateCourseResult;
1703
2180
  createCustomTableEditorFormVersion: CreateCustomTableEditorFormVersionResult;
@@ -1719,6 +2196,7 @@ export type Mutation = {
1719
2196
  createPageFromTemplate: Page;
1720
2197
  createPageTemplate: PageTemplate;
1721
2198
  createPersonalApiToken: CreatePersonalApiTokenResult;
2199
+ createPlatform: CreatePlatformResult;
1722
2200
  createPlatformApiToken: CreatePlatformApiTokenResult;
1723
2201
  createProduct: CreateProductResult;
1724
2202
  createSequence: CreateSequenceResult;
@@ -1762,6 +2240,8 @@ export type Mutation = {
1762
2240
  duplicatePageTemplate: PageTemplate;
1763
2241
  duplicateSequence: DuplicateSequenceResult;
1764
2242
  duplicateStageBlueprint: StageBlueprint;
2243
+ editAsset: EditAssetResult;
2244
+ editAssetVariant: EditAssetVariantResult;
1765
2245
  editComponent: EditComponentResult;
1766
2246
  editCourse: EditCourseResult;
1767
2247
  /** Edit the custom table (i.e., custom fields) of a specific target object. */
@@ -1798,7 +2278,6 @@ export type Mutation = {
1798
2278
  editPlatformAdminUser: EditPlatformAdminUserResult;
1799
2279
  editPlatformOptions: Platform;
1800
2280
  editProduct: EditProductResult;
1801
- editScoreMyCallEntryStatus?: Maybe<ScoreMyCallEntry>;
1802
2281
  editSequence: EditSequenceResult;
1803
2282
  editSequenceUser: EditSequenceUserResult;
1804
2283
  editSite: EditSiteResult;
@@ -1813,17 +2292,20 @@ export type Mutation = {
1813
2292
  editUserName: User;
1814
2293
  editUserPlan: UserPlan;
1815
2294
  editUserRole: User;
2295
+ /** @deprecated Use editUser instead. */
1816
2296
  editUserStatus: User;
1817
2297
  /** Finds or creates a Stripe customer for the current user. */
1818
2298
  findOrCreateStripeCustomer: StripeCustomer;
1819
2299
  /** Finds or creates a Stripe subscription for the current user. An existing subscription is returned only if it is active. */
1820
2300
  findOrCreateStripeSubscription: FindOrCreateStripeSubscriptionResult;
2301
+ generateComponents: GenerateComponentsResult;
1821
2302
  invalidateApiToken: InvalidateApiTokenResult;
1822
2303
  moveUserToOrg: MoveUserToOrgResult;
1823
2304
  refreshSession: Scalars['Boolean']['output'];
1824
2305
  requestPasswordReset: Scalars['Boolean']['output'];
1825
2306
  resetPassword: Scalars['Boolean']['output'];
1826
2307
  restoreCourseVersionChanges: RestoreCourseVersionChangesResult;
2308
+ restoreFormVersionChanges: RestoreFormVersionChangesResult;
1827
2309
  restoreLessonVersionChanges: RestoreLessonVersionChangesResult;
1828
2310
  restorePageVersionChanges: RestorePageVersionChangesResult;
1829
2311
  sendVerificationEmail: Scalars['Boolean']['output'];
@@ -1832,7 +2314,6 @@ export type Mutation = {
1832
2314
  splitUserToNewOrg: SplitUserToNewOrgResult;
1833
2315
  submitForm: SubmitFormResult;
1834
2316
  submitReview: Scalars['Boolean']['output'];
1835
- submitScoreMyCallEntry: SubmitScoreMyCallEntryResult;
1836
2317
  syncFormTemplateToForms: Scalars['Boolean']['output'];
1837
2318
  /** Sync a layout template to the layouts that were created from the template. Only draft and published layouts are synced. */
1838
2319
  syncLayoutTemplateToLayouts: SyncLayoutTemplateToLayoutsResult;
@@ -1860,6 +2341,14 @@ export type MutationCreateAdminUserArgs = {
1860
2341
  input: CreateAdminUserInput;
1861
2342
  };
1862
2343
 
2344
+ export type MutationCreateAssetArgs = {
2345
+ input: CreateAssetInput;
2346
+ };
2347
+
2348
+ export type MutationCreateAssetVariantArgs = {
2349
+ input: CreateAssetVariantInput;
2350
+ };
2351
+
1863
2352
  export type MutationCreateComponentArgs = {
1864
2353
  input: CreateComponentInput;
1865
2354
  };
@@ -1970,6 +2459,10 @@ export type MutationCreatePersonalApiTokenArgs = {
1970
2459
  input: CreatePersonalApiTokenInput;
1971
2460
  };
1972
2461
 
2462
+ export type MutationCreatePlatformArgs = {
2463
+ input: CreatePlatformInput;
2464
+ };
2465
+
1973
2466
  export type MutationCreatePlatformApiTokenArgs = {
1974
2467
  input: CreatePlatformApiTokenInput;
1975
2468
  };
@@ -2134,6 +2627,14 @@ export type MutationDuplicateStageBlueprintArgs = {
2134
2627
  position: Scalars['Int']['input'];
2135
2628
  };
2136
2629
 
2630
+ export type MutationEditAssetArgs = {
2631
+ input: EditAssetInput;
2632
+ };
2633
+
2634
+ export type MutationEditAssetVariantArgs = {
2635
+ input: EditAssetVariantInput;
2636
+ };
2637
+
2137
2638
  export type MutationEditComponentArgs = {
2138
2639
  input: EditComponentInput;
2139
2640
  };
@@ -2334,11 +2835,6 @@ export type MutationEditProductArgs = {
2334
2835
  stripePriceId?: InputMaybe<OptionalStringUpdate>;
2335
2836
  };
2336
2837
 
2337
- export type MutationEditScoreMyCallEntryStatusArgs = {
2338
- id: Scalars['String']['input'];
2339
- status: ScoreMyCallEntryStatus;
2340
- };
2341
-
2342
2838
  export type MutationEditSequenceArgs = {
2343
2839
  id: Scalars['String']['input'];
2344
2840
  loopStages: Scalars['Boolean']['input'];
@@ -2438,6 +2934,10 @@ export type MutationFindOrCreateStripeSubscriptionArgs = {
2438
2934
  subscriptionPlanId: Scalars['String']['input'];
2439
2935
  };
2440
2936
 
2937
+ export type MutationGenerateComponentsArgs = {
2938
+ input: GenerateComponentsInput;
2939
+ };
2940
+
2441
2941
  export type MutationInvalidateApiTokenArgs = {
2442
2942
  id: Scalars['String']['input'];
2443
2943
  };
@@ -2461,6 +2961,10 @@ export type MutationRestoreCourseVersionChangesArgs = {
2461
2961
  input: RestoreCourseVersionChangesInput;
2462
2962
  };
2463
2963
 
2964
+ export type MutationRestoreFormVersionChangesArgs = {
2965
+ input: RestoreFormVersionChangesInput;
2966
+ };
2967
+
2464
2968
  export type MutationRestoreLessonVersionChangesArgs = {
2465
2969
  input: RestoreLessonVersionChangesInput;
2466
2970
  };
@@ -2493,14 +2997,6 @@ export type MutationSubmitReviewArgs = {
2493
2997
  submitterName?: InputMaybe<Scalars['String']['input']>;
2494
2998
  };
2495
2999
 
2496
- export type MutationSubmitScoreMyCallEntryArgs = {
2497
- fileName: Scalars['String']['input'];
2498
- fileType: Scalars['String']['input'];
2499
- formData: Scalars['String']['input'];
2500
- prospectName: Scalars['String']['input'];
2501
- shareRecording: Scalars['Boolean']['input'];
2502
- };
2503
-
2504
3000
  export type MutationSyncFormTemplateToFormsArgs = {
2505
3001
  formTemplateId: Scalars['String']['input'];
2506
3002
  };
@@ -2565,6 +3061,10 @@ export const OptionalIdFilterOperator = {
2565
3061
 
2566
3062
  export type OptionalIdFilterOperator =
2567
3063
  (typeof OptionalIdFilterOperator)[keyof typeof OptionalIdFilterOperator];
3064
+ export type OptionalIntUpdate = {
3065
+ value?: InputMaybe<Scalars['Int']['input']>;
3066
+ };
3067
+
2568
3068
  /**
2569
3069
  * A filter for an optional string field. Either exists or filter must be provided but not both.
2570
3070
  * A value exists if it is not null. An empty string is considered to exist.
@@ -2792,6 +3292,8 @@ export const PermissionName = {
2792
3292
  CreateUser: 'CreateUser',
2793
3293
  /** Edit or manage everything else not covered by other permissions. */
2794
3294
  Edit: 'Edit',
3295
+ /** Edit assets, including creating and deleting any asset or asset variant. */
3296
+ EditAsset: 'EditAsset',
2795
3297
  /** Edit, including creating and deleting, any component. */
2796
3298
  EditComponent: 'EditComponent',
2797
3299
  /** Edit, including creating and deleting, any course. */
@@ -2822,6 +3324,8 @@ export const PermissionName = {
2822
3324
  EditSubscription: 'EditSubscription',
2823
3325
  /** Edit any page and form template. */
2824
3326
  EditTemplate: 'EditTemplate',
3327
+ /** Edit any custom field of any user. */
3328
+ EditUserCustomFields: 'EditUserCustomFields',
2825
3329
  /** Edit any user's email address. */
2826
3330
  EditUserEmail: 'EditUserEmail',
2827
3331
  /** Edit which org any user is in and whether a user is an org owner. */
@@ -2836,11 +3340,15 @@ export const PermissionName = {
2836
3340
  SyncFormTemplateToForms: 'SyncFormTemplateToForms',
2837
3341
  /** Sync any page template to pages. */
2838
3342
  SyncPageTemplateToPages: 'SyncPageTemplateToPages',
3343
+ /** Upload files as an extension. */
3344
+ UploadFileAsExtension: 'UploadFileAsExtension',
2839
3345
  /** View anything except for sites. */
2840
3346
  View: 'View',
3347
+ /** View any asset including its variants and versions. */
3348
+ ViewAsset: 'ViewAsset',
2841
3349
  /** View any course. */
2842
3350
  ViewCourse: 'ViewCourse',
2843
- /** View any extension. */
3351
+ /** View any extension, including its versions, configuration, and logs. */
2844
3352
  ViewExtension: 'ViewExtension',
2845
3353
  /** View any site, including pages, forms, and layouts, and components. */
2846
3354
  ViewSite: 'ViewSite',
@@ -2875,12 +3383,14 @@ export type Platform = {
2875
3383
  defaultFormNotificationEmailBodyTemplate: Scalars['String']['output'];
2876
3384
  emailReplyToAddress?: Maybe<Scalars['String']['output']>;
2877
3385
  emailSendFromAddress: Scalars['String']['output'];
2878
- enableScoreMyCall: Scalars['Boolean']['output'];
3386
+ enableOrgSites: Scalars['Boolean']['output'];
3387
+ featureFlags: Array<Scalars['String']['output']>;
2879
3388
  handle: Scalars['String']['output'];
2880
3389
  id: Scalars['String']['output'];
2881
3390
  mainSiteId?: Maybe<Scalars['String']['output']>;
2882
3391
  mixpanelToken?: Maybe<Scalars['String']['output']>;
2883
3392
  name: Scalars['String']['output'];
3393
+ roles: Array<Role>;
2884
3394
  sendGridApiKey?: Maybe<Scalars['String']['output']>;
2885
3395
  stripeSecretKey?: Maybe<Scalars['String']['output']>;
2886
3396
  stripeWebhookSigningSecret?: Maybe<Scalars['String']['output']>;
@@ -3027,19 +3537,9 @@ export const PromoCodeType = {
3027
3537
  export type PromoCodeType = (typeof PromoCodeType)[keyof typeof PromoCodeType];
3028
3538
  export type PublicSite = {
3029
3539
  __typename?: 'PublicSite';
3030
- addressCity?: Maybe<Scalars['String']['output']>;
3031
- addressLine1?: Maybe<Scalars['String']['output']>;
3032
- addressLine2?: Maybe<Scalars['String']['output']>;
3033
- addressState?: Maybe<Scalars['String']['output']>;
3034
- addressZip?: Maybe<Scalars['String']['output']>;
3035
- agencyPrimaryPhone?: Maybe<Scalars['String']['output']>;
3036
- agentFirstName?: Maybe<Scalars['String']['output']>;
3037
- agentLastName?: Maybe<Scalars['String']['output']>;
3038
- agentPhotoUrl?: Maybe<Scalars['String']['output']>;
3039
3540
  custom: CustomFieldValuesList;
3040
3541
  domain: Scalars['String']['output'];
3041
3542
  form: PublicSiteForm;
3042
- googlePlaceId?: Maybe<Scalars['String']['output']>;
3043
3543
  id: Scalars['String']['output'];
3044
3544
  latestAgreement?: Maybe<Agreement>;
3045
3545
  /** The layout with the longest pathPrefix that matches the specified path. */
@@ -3052,8 +3552,6 @@ export type PublicSite = {
3052
3552
  /** Get published pages, optionally filtering by a path prefix. */
3053
3553
  pages: PublicSitePagesList;
3054
3554
  platformId: Scalars['String']['output'];
3055
- useCustomPrivacyPolicy: Scalars['Boolean']['output'];
3056
- useCustomTermsOfUse: Scalars['Boolean']['output'];
3057
3555
  };
3058
3556
 
3059
3557
  export type PublicSiteFormArgs = {
@@ -3112,8 +3610,7 @@ export type PublicSitePagesList = ListResult & {
3112
3610
  };
3113
3611
 
3114
3612
  export const PublishStatus = {
3115
- /** TODO: Replace Deleted with Archived. */
3116
- Deleted: 'Deleted',
3613
+ Archived: 'Archived',
3117
3614
  Draft: 'Draft',
3118
3615
  Published: 'Published',
3119
3616
  } as const;
@@ -3125,7 +3622,12 @@ export type PublishStatusUpdate = {
3125
3622
 
3126
3623
  export type Query = {
3127
3624
  __typename?: 'Query';
3625
+ adminMe?: Maybe<AdminUser>;
3128
3626
  applyCustomPromoCode: ApplyCustomPromoCodeResult;
3627
+ asset?: Maybe<Asset>;
3628
+ assetVariant?: Maybe<AssetVariant>;
3629
+ /** List assets. Requires the admin Asset:view permission. */
3630
+ assets: AssetsList;
3129
3631
  /**
3130
3632
  * Get active components that can be used for the visual builder on a platform. Results include built-in,
3131
3633
  * custom, and remote extension-provided components.
@@ -3135,12 +3637,14 @@ export type Query = {
3135
3637
  components: ComponentsList;
3136
3638
  course: Course;
3137
3639
  courses: CoursesList;
3640
+ customTable?: Maybe<CustomTable>;
3138
3641
  customTables: CustomTablesList;
3139
3642
  document: Document;
3140
3643
  documentDownloadPrompts: Array<DocumentDownloadPrompt>;
3141
3644
  documents: Array<Document>;
3645
+ extension: Extension;
3142
3646
  extensions: ExtensionsList;
3143
- file: File;
3647
+ file?: Maybe<File>;
3144
3648
  form: Form;
3145
3649
  formEntries: FormEntriesList;
3146
3650
  formTemplate: FormTemplate;
@@ -3151,7 +3655,6 @@ export type Query = {
3151
3655
  * help tickets are returned (and platformId needs to be the user’s own platform ID).
3152
3656
  */
3153
3657
  helpTickets: HelpTicketsList;
3154
- helpTickets2: HelpTicketsList;
3155
3658
  /**
3156
3659
  * Get an object with the form data with which to initialize the specified form. The result factors
3157
3660
  * in the signed in user, if any. The request needs to be sent to the API endpoint of the site on
@@ -3164,7 +3667,6 @@ export type Query = {
3164
3667
  lesson: Lesson;
3165
3668
  liveCustomFields: Array<CustomField>;
3166
3669
  me?: Maybe<User>;
3167
- me2?: Maybe<Me>;
3168
3670
  /** TODO: This should also take a productId to filter on. */
3169
3671
  multiOrgView: Array<Org>;
3170
3672
  organization: Org;
@@ -3184,8 +3686,6 @@ export type Query = {
3184
3686
  publicSite: PublicSite;
3185
3687
  remoteComponent: RemoteComponent;
3186
3688
  reviews: ReviewsList;
3187
- scoreMyCallEntries: Array<ScoreMyCallEntry>;
3188
- scoreMyCallEntryFileUrl: Scalars['String']['output'];
3189
3689
  sequence: Sequence;
3190
3690
  sequences: SequencesList;
3191
3691
  site: Site;
@@ -3212,6 +3712,21 @@ export type QueryApplyCustomPromoCodeArgs = {
3212
3712
  subscriptionPlanId: Scalars['String']['input'];
3213
3713
  };
3214
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
+
3215
3730
  export type QueryBuilderComponentsArgs = {
3216
3731
  platformId: Scalars['String']['input'];
3217
3732
  };
@@ -3235,6 +3750,11 @@ export type QueryCoursesArgs = {
3235
3750
  platformId: Scalars['String']['input'];
3236
3751
  };
3237
3752
 
3753
+ export type QueryCustomTableArgs = {
3754
+ object: CustomTableObject;
3755
+ platformId: Scalars['String']['input'];
3756
+ };
3757
+
3238
3758
  export type QueryCustomTablesArgs = {
3239
3759
  limit?: InputMaybe<Scalars['Int']['input']>;
3240
3760
  object?: InputMaybe<CustomTableObject>;
@@ -3254,6 +3774,10 @@ export type QueryDocumentsArgs = {
3254
3774
  platformId: Scalars['String']['input'];
3255
3775
  };
3256
3776
 
3777
+ export type QueryExtensionArgs = {
3778
+ id: Scalars['String']['input'];
3779
+ };
3780
+
3257
3781
  export type QueryExtensionsArgs = {
3258
3782
  limit?: InputMaybe<Scalars['Int']['input']>;
3259
3783
  page?: InputMaybe<Scalars['Int']['input']>;
@@ -3291,14 +3815,8 @@ export type QueryFormsArgs = {
3291
3815
  };
3292
3816
 
3293
3817
  export type QueryHelpTicketsArgs = {
3294
- limit?: Scalars['Int']['input'];
3295
- page?: Scalars['Int']['input'];
3296
- platformId: Scalars['String']['input'];
3297
- };
3298
-
3299
- export type QueryHelpTickets2Args = {
3300
- limit?: Scalars['Int']['input'];
3301
- page?: Scalars['Int']['input'];
3818
+ limit?: InputMaybe<Scalars['Int']['input']>;
3819
+ page?: InputMaybe<Scalars['Int']['input']>;
3302
3820
  platformId: Scalars['String']['input'];
3303
3821
  };
3304
3822
 
@@ -3392,8 +3910,8 @@ export type QueryProductItemPicklistArgs = {
3392
3910
  };
3393
3911
 
3394
3912
  export type QueryProductsArgs = {
3395
- limit?: Scalars['Int']['input'];
3396
- page?: Scalars['Int']['input'];
3913
+ limit?: InputMaybe<Scalars['Int']['input']>;
3914
+ page?: InputMaybe<Scalars['Int']['input']>;
3397
3915
  platformId: Scalars['String']['input'];
3398
3916
  };
3399
3917
 
@@ -3416,16 +3934,6 @@ export type QueryReviewsArgs = {
3416
3934
  siteId: Scalars['String']['input'];
3417
3935
  };
3418
3936
 
3419
- export type QueryScoreMyCallEntriesArgs = {
3420
- platformId: Scalars['String']['input'];
3421
- shareRecording?: InputMaybe<Scalars['Boolean']['input']>;
3422
- };
3423
-
3424
- export type QueryScoreMyCallEntryFileUrlArgs = {
3425
- download?: InputMaybe<Scalars['Boolean']['input']>;
3426
- entryId: Scalars['String']['input'];
3427
- };
3428
-
3429
3937
  export type QuerySequenceArgs = {
3430
3938
  id: Scalars['String']['input'];
3431
3939
  };
@@ -3520,6 +4028,7 @@ export type RemoteComponent = {
3520
4028
  id: Scalars['String']['output'];
3521
4029
  name: Scalars['String']['output'];
3522
4030
  stylesheetUrls: Array<Scalars['String']['output']>;
4031
+ supportsChildren: Scalars['Boolean']['output'];
3523
4032
  url: Scalars['String']['output'];
3524
4033
  };
3525
4034
 
@@ -3539,6 +4048,21 @@ export type RestoreCourseVersionChangesSuccessResult = {
3539
4048
  course: Course;
3540
4049
  };
3541
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
+
3542
4066
  export type RestoreLessonVersionChangesInput = {
3543
4067
  changes: Array<LessonVersionChange>;
3544
4068
  lessonVersionId: Scalars['String']['input'];
@@ -3593,25 +4117,23 @@ export type RichTextInput = {
3593
4117
  delta: Scalars['String']['input'];
3594
4118
  };
3595
4119
 
3596
- export type ScoreMyCallEntry = {
3597
- __typename?: 'ScoreMyCallEntry';
3598
- createdAt: Scalars['Date']['output'];
3599
- formData: Scalars['String']['output'];
4120
+ export type Role = {
4121
+ __typename?: 'Role';
4122
+ default: Scalars['Boolean']['output'];
3600
4123
  id: Scalars['String']['output'];
3601
- prospectName?: Maybe<Scalars['String']['output']>;
3602
- shareRecording: Scalars['Boolean']['output'];
3603
- status: ScoreMyCallEntryStatus;
3604
- user: User;
3605
- userId: Scalars['String']['output'];
4124
+ name: Scalars['String']['output'];
3606
4125
  };
3607
4126
 
3608
- export const ScoreMyCallEntryStatus = {
3609
- NotReviewed: 'NotReviewed',
3610
- Reviewed: 'Reviewed',
3611
- } as const;
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
+ };
3612
4136
 
3613
- export type ScoreMyCallEntryStatus =
3614
- (typeof ScoreMyCallEntryStatus)[keyof typeof ScoreMyCallEntryStatus];
3615
4137
  export type Sequence = {
3616
4138
  __typename?: 'Sequence';
3617
4139
  id: Scalars['String']['output'];
@@ -3645,21 +4167,12 @@ export type SequencesList = ListResult & {
3645
4167
 
3646
4168
  export type Site = {
3647
4169
  __typename?: 'Site';
3648
- addressCity?: Maybe<Scalars['String']['output']>;
3649
- addressLine1?: Maybe<Scalars['String']['output']>;
3650
- addressLine2?: Maybe<Scalars['String']['output']>;
3651
- addressState?: Maybe<Scalars['String']['output']>;
3652
- addressZip?: Maybe<Scalars['String']['output']>;
3653
- agencyPrimaryPhone?: Maybe<Scalars['String']['output']>;
3654
- agentFirstName?: Maybe<Scalars['String']['output']>;
3655
- agentLastName?: Maybe<Scalars['String']['output']>;
3656
- agentPhotoUrl?: Maybe<Scalars['String']['output']>;
3657
4170
  agreements: AgreementsList;
3658
4171
  bodyEndCode?: Maybe<Scalars['String']['output']>;
4172
+ custom: CustomFieldValuesList;
3659
4173
  domain: Scalars['String']['output'];
3660
4174
  fontFamily: Scalars['String']['output'];
3661
4175
  globalCss?: Maybe<Scalars['String']['output']>;
3662
- googlePlaceId?: Maybe<Scalars['String']['output']>;
3663
4176
  googleTagManagerId?: Maybe<Scalars['String']['output']>;
3664
4177
  headEndCode?: Maybe<Scalars['String']['output']>;
3665
4178
  id: Scalars['String']['output'];
@@ -3679,8 +4192,6 @@ export type Site = {
3679
4192
  siteTemplateId?: Maybe<Scalars['String']['output']>;
3680
4193
  stripePublishableKey?: Maybe<Scalars['String']['output']>;
3681
4194
  tlsCertificates: Array<TlsCertificate>;
3682
- useCustomPrivacyPolicy: Scalars['Boolean']['output'];
3683
- useCustomTermsOfUse: Scalars['Boolean']['output'];
3684
4195
  zendeskChatKey?: Maybe<Scalars['String']['output']>;
3685
4196
  };
3686
4197
 
@@ -3876,11 +4387,6 @@ export type SubmitFormResult = {
3876
4387
  sessionId: Scalars['String']['output'];
3877
4388
  };
3878
4389
 
3879
- export type SubmitScoreMyCallEntryResult = {
3880
- __typename?: 'SubmitScoreMyCallEntryResult';
3881
- signedUploadUrl: Scalars['String']['output'];
3882
- };
3883
-
3884
4390
  export type Subscription = {
3885
4391
  __typename?: 'Subscription';
3886
4392
  stageUpdated?: Maybe<Stage>;
@@ -4069,6 +4575,7 @@ export type UploadFileInput = {
4069
4575
  export type UploadFilePurpose = {
4070
4576
  customField?: InputMaybe<UploadFilePurposeCustomField>;
4071
4577
  document?: InputMaybe<UploadFilePurposeDocument>;
4578
+ extension?: InputMaybe<UploadFilePurposeExtension>;
4072
4579
  sequenceStageUser?: InputMaybe<UploadFilePurposeSequenceStageUser>;
4073
4580
  siteLogo?: InputMaybe<UploadFilePurposeSiteLogo>;
4074
4581
  };
@@ -4087,6 +4594,13 @@ export type UploadFilePurposeDocument = {
4087
4594
  setAsCurrentVersion: Scalars['Boolean']['input'];
4088
4595
  };
4089
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
+
4090
4604
  export type UploadFilePurposeSequenceStageUser = {
4091
4605
  sequenceStageUserId: Scalars['String']['input'];
4092
4606
  stateProperty: Scalars['String']['input'];
@@ -4128,7 +4642,10 @@ export type User = {
4128
4642
  passwordStatus: PasswordStatus;
4129
4643
  planProgress: Array<UserPlanProgress>;
4130
4644
  plans: Array<UserPlan>;
4131
- /** This user’s platforms where the user is an admin. */
4645
+ /**
4646
+ * This user’s platforms where the user is an admin.
4647
+ * @deprecated Use adminMe instead.
4648
+ */
4132
4649
  platformAdminUsers: Array<PlatformAdminUser>;
4133
4650
  /** All product items from all of the active subscriptions of the user's org. */
4134
4651
  productItems: Array<Scalars['String']['output']>;
@@ -4255,9 +4772,36 @@ export const UserStatus = {
4255
4772
  } as const;
4256
4773
 
4257
4774
  export type UserStatus = (typeof UserStatus)[keyof typeof UserStatus];
4775
+ export type UserStatusUpdate = {
4776
+ value: UserStatus;
4777
+ };
4778
+
4258
4779
  export type UsersList = ListResult & {
4259
4780
  __typename?: 'UsersList';
4260
4781
  limit: Scalars['Int']['output'];
4261
4782
  totalCount: Scalars['Int']['output'];
4262
4783
  users: Array<User>;
4263
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];