@elasticpath/plasmic-backend-sdk 0.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,798 @@
1
+ export type AddTrustedHostRequest = {
2
+ /**
3
+ * Host URL to add as trusted (e.g., https://my-app.com/plasmic-host)
4
+ */
5
+ url: string;
6
+ };
7
+ export type AdminChangeOwnerRequest = {
8
+ projectId: string;
9
+ ownerEmail: string;
10
+ };
11
+ export type AdminCloneRequest = {
12
+ projectId: string;
13
+ /**
14
+ * Specific revision to clone from
15
+ */
16
+ revisionNum?: number;
17
+ };
18
+ export type AdminCloneResponse = {
19
+ projectId: string;
20
+ };
21
+ export type AdminDeleteProjectRequest = {
22
+ id: string;
23
+ };
24
+ export type AdminListProjectsRequest = {
25
+ /**
26
+ * Filter by owner user ID
27
+ */
28
+ ownerId?: string;
29
+ };
30
+ export type AdminListProjectsResponse = {
31
+ projects: Array<ApiProject>;
32
+ };
33
+ export type AdminRestoreProjectRequest = {
34
+ id: string;
35
+ };
36
+ export type AdminRevertRevisionRequest = {
37
+ projectId: string;
38
+ revision: number;
39
+ };
40
+ export type ApiCmsDatabase = {
41
+ id: string;
42
+ name: string;
43
+ workspaceId: string;
44
+ publicToken: string;
45
+ /**
46
+ * Only included when fetching a single database
47
+ */
48
+ secretToken?: string;
49
+ tables?: Array<ApiCmsTable>;
50
+ extraData?: CmsDatabaseExtraData;
51
+ createdAt: string;
52
+ updatedAt: string;
53
+ deletedAt?: string | null;
54
+ createdById?: string | null;
55
+ updatedById?: string | null;
56
+ deletedById?: string | null;
57
+ };
58
+ export type ApiCmsTable = {
59
+ id: string;
60
+ /**
61
+ * Unique identifier within the database
62
+ */
63
+ identifier: string;
64
+ name: string;
65
+ description?: string | null;
66
+ /**
67
+ * Table schema definition
68
+ */
69
+ schema: {
70
+ [key: string]: unknown;
71
+ };
72
+ isArchived?: boolean;
73
+ createdAt?: string;
74
+ updatedAt?: string;
75
+ };
76
+ export type ApiError = {
77
+ /**
78
+ * Error type name
79
+ */
80
+ type: 'UnauthorizedError' | 'ForbiddenError' | 'NotFoundError' | 'BadRequestError' | 'ProjectRevisionError' | 'PaywallError';
81
+ message: string;
82
+ statusCode?: number;
83
+ };
84
+ /**
85
+ * Error type name
86
+ */
87
+ export type type = 'UnauthorizedError' | 'ForbiddenError' | 'NotFoundError' | 'BadRequestError' | 'ProjectRevisionError' | 'PaywallError';
88
+ export type ApiFeatureTier = {
89
+ id?: string;
90
+ name?: string;
91
+ };
92
+ export type ApiPermission = {
93
+ id?: string;
94
+ projectId?: string | null;
95
+ workspaceId?: string | null;
96
+ teamId?: string | null;
97
+ userId?: string | null;
98
+ email?: string | null;
99
+ user?: ApiUser;
100
+ accessLevel?: GrantableAccessLevel;
101
+ };
102
+ export type ApiProject = {
103
+ id: string;
104
+ name: string;
105
+ hostUrl?: string | null;
106
+ clonedFromProjectId?: string | null;
107
+ workspaceId?: string | null;
108
+ workspaceName?: string | null;
109
+ teamId?: string | null;
110
+ teamName?: string | null;
111
+ inviteOnly?: boolean;
112
+ defaultAccessLevel?: GrantableAccessLevel;
113
+ readableByPublic?: boolean;
114
+ isUserStarter?: boolean;
115
+ projectApiToken?: string | null;
116
+ featureTier?: ApiFeatureTier;
117
+ createdAt: string;
118
+ updatedAt: string;
119
+ deletedAt?: string | null;
120
+ createdById?: string | null;
121
+ updatedById?: string | null;
122
+ deletedById?: string | null;
123
+ };
124
+ export type ApiProjectRevision = {
125
+ id: string;
126
+ projectId: string;
127
+ revision: number;
128
+ /**
129
+ * Bundle data as JSON string (only included in full fetch)
130
+ */
131
+ data?: string;
132
+ branchId?: string | null;
133
+ createdBy?: ApiUser;
134
+ createdAt?: string;
135
+ };
136
+ export type ApiTeam = {
137
+ id: string;
138
+ name: string;
139
+ billingEmail?: string | null;
140
+ seats?: number | null;
141
+ featureTierId?: string | null;
142
+ featureTier?: ApiFeatureTier;
143
+ stripeCustomerId?: string | null;
144
+ stripeSubscriptionId?: string | null;
145
+ billingFrequency?: ('month' | 'year') | null;
146
+ personalTeamOwnerId?: string | null;
147
+ trialStartDate?: string | null;
148
+ trialDays?: number | null;
149
+ onTrial?: boolean;
150
+ createdAt: string;
151
+ updatedAt: string;
152
+ deletedAt?: string | null;
153
+ };
154
+ export type billingFrequency = 'month' | 'year';
155
+ export type ApiTrustedHost = {
156
+ /**
157
+ * Trusted host ID
158
+ */
159
+ id: string;
160
+ /**
161
+ * The trusted host URL
162
+ */
163
+ hostUrl: string;
164
+ };
165
+ export type ApiUser = {
166
+ id: string;
167
+ email: string;
168
+ firstName?: string | null;
169
+ lastName?: string | null;
170
+ avatarUrl?: string | null;
171
+ createdAt: string;
172
+ updatedAt: string;
173
+ deletedAt?: string | null;
174
+ needsIntroSplash?: boolean;
175
+ needsSurvey?: boolean;
176
+ adminModeDisabled?: boolean;
177
+ };
178
+ export type ApiWorkspace = {
179
+ id: string;
180
+ name: string;
181
+ description: string;
182
+ team: ApiTeam;
183
+ uiConfig?: {
184
+ [key: string]: unknown;
185
+ } | null;
186
+ contentCreatorConfig?: {
187
+ [key: string]: unknown;
188
+ } | null;
189
+ createdAt: string;
190
+ updatedAt: string;
191
+ deletedAt?: string | null;
192
+ createdById?: string | null;
193
+ updatedById?: string | null;
194
+ deletedById?: string | null;
195
+ };
196
+ export type AppConfigResponse = {
197
+ config?: {
198
+ starterSections?: Array<StarterSection>;
199
+ hideBlankStarter?: boolean;
200
+ };
201
+ };
202
+ export type CloneDatabaseRequest = {
203
+ /**
204
+ * Name for the cloned database
205
+ */
206
+ name?: string;
207
+ /**
208
+ * Target workspace ID (defaults to same workspace)
209
+ */
210
+ workspaceId?: string;
211
+ };
212
+ export type CloneProjectRequest = {
213
+ name?: string;
214
+ workspaceId?: string;
215
+ branchName?: string;
216
+ hostUrl?: string;
217
+ };
218
+ export type CloneProjectResponse = {
219
+ projectId: string;
220
+ workspaceId?: string;
221
+ };
222
+ export type CmsDatabaseExtraData = {
223
+ /**
224
+ * Additional non-default locales available in this database
225
+ */
226
+ locales?: Array<string>;
227
+ };
228
+ export type ComponentUpdateRequest = {
229
+ /**
230
+ * Component name (used for matching existing components)
231
+ */
232
+ name?: string;
233
+ /**
234
+ * Component UUID (alternative matching method)
235
+ */
236
+ byUuid?: string;
237
+ body?: PlasmicElement;
238
+ /**
239
+ * Page path (for page components only)
240
+ */
241
+ path?: string;
242
+ };
243
+ export type CreateDatabaseRequest = {
244
+ name: string;
245
+ workspaceId: string;
246
+ };
247
+ export type CreatePersonalApiTokenResponse = {
248
+ token: PersonalApiToken;
249
+ };
250
+ export type CreateProjectRequest = {
251
+ /**
252
+ * Project name (defaults to "Untitled Project")
253
+ */
254
+ name?: string;
255
+ workspaceId?: string;
256
+ isPublic?: boolean;
257
+ };
258
+ export type CreateProjectResponse = {
259
+ project: ApiProject;
260
+ rev: ApiProjectRevision;
261
+ };
262
+ export type CreateWorkspaceRequest = {
263
+ /**
264
+ * Workspace name (defaults to "Untitled workspace")
265
+ */
266
+ name?: string;
267
+ /**
268
+ * Workspace description (defaults to empty string)
269
+ */
270
+ description?: string;
271
+ /**
272
+ * Team ID (required)
273
+ */
274
+ teamId: string;
275
+ contentCreatorConfig?: {
276
+ [key: string]: unknown;
277
+ };
278
+ };
279
+ export type CreateWorkspaceResponse = {
280
+ paywall: 'pass' | 'upsell' | 'requireTeam';
281
+ workspace?: ApiWorkspace;
282
+ team?: ApiTeam;
283
+ /**
284
+ * Paywall description when blocked
285
+ */
286
+ description?: string;
287
+ };
288
+ export type paywall = 'pass' | 'upsell' | 'requireTeam';
289
+ export type CsrfResponse = {
290
+ csrf: string;
291
+ };
292
+ export type DeleteResponse = {
293
+ deletedId: string;
294
+ };
295
+ export type GetProjectResponse = {
296
+ project: ApiProject;
297
+ rev: ApiProjectRevision;
298
+ perms: Array<ApiPermission>;
299
+ owner?: ApiUser;
300
+ modelVersion: number;
301
+ latestRevisionSynced: number;
302
+ hasAppAuth: boolean;
303
+ appAuthProvider?: string;
304
+ isMainBranchProtected: boolean;
305
+ };
306
+ export type GetWorkspaceResponse = {
307
+ workspace: ApiWorkspace;
308
+ perms: Array<ApiPermission>;
309
+ };
310
+ export type GrantableAccessLevel = 'owner' | 'editor' | 'commenter' | 'viewer';
311
+ export type ListDatabasesResponse = {
312
+ databases: Array<ApiCmsDatabase>;
313
+ };
314
+ export type ListPersonalApiTokensResponse = {
315
+ tokens: Array<PersonalApiToken>;
316
+ };
317
+ export type ListProjectsResponse = {
318
+ projects: Array<ApiProject>;
319
+ perms: Array<ApiPermission>;
320
+ };
321
+ export type ListWorkspacesResponse = {
322
+ teams: Array<ApiTeam>;
323
+ workspaces: Array<ApiWorkspace>;
324
+ };
325
+ export type LoginRequest = {
326
+ email: string;
327
+ password: string;
328
+ };
329
+ export type LoginResponse = {
330
+ user?: ApiUser;
331
+ status?: string;
332
+ };
333
+ /**
334
+ * CMS Database ID
335
+ */
336
+ export type ParameterdatabaseId = string;
337
+ /**
338
+ * Project ID
339
+ */
340
+ export type ParameterprojectId = string;
341
+ /**
342
+ * Workspace ID
343
+ */
344
+ export type ParameterworkspaceId = string;
345
+ export type PersonalApiToken = {
346
+ /**
347
+ * The API token string
348
+ */
349
+ token: string;
350
+ /**
351
+ * When the token was created
352
+ */
353
+ createdDate: string;
354
+ };
355
+ /**
356
+ * Component element structure
357
+ */
358
+ export type PlasmicElement = {
359
+ type?: 'component' | 'box' | 'vbox' | 'hbox' | 'text';
360
+ /**
361
+ * Component name (for type=component)
362
+ */
363
+ name?: string;
364
+ /**
365
+ * Component props/arguments
366
+ */
367
+ props?: {
368
+ [key: string]: unknown;
369
+ };
370
+ /**
371
+ * CSS styles
372
+ */
373
+ styles?: {
374
+ [key: string]: unknown;
375
+ };
376
+ children?: PlasmicElement | Array<PlasmicElement>;
377
+ };
378
+ export type type2 = 'component' | 'box' | 'vbox' | 'hbox' | 'text';
379
+ export type SelfResponse = {
380
+ user?: ApiUser;
381
+ };
382
+ export type StarterProject = {
383
+ name?: string;
384
+ projectId?: string;
385
+ baseProjectId?: string;
386
+ tag?: string;
387
+ description?: string;
388
+ imageUrl?: string;
389
+ publishedUrl?: string;
390
+ withDropShadow?: boolean;
391
+ cloneWithoutName?: boolean;
392
+ globalContextConfigs?: Array<{
393
+ [key: string]: unknown;
394
+ }>;
395
+ };
396
+ export type StarterSection = {
397
+ title?: string;
398
+ tag?: string;
399
+ projects?: Array<StarterProject>;
400
+ infoTooltip?: string;
401
+ docsUrl?: string;
402
+ moreUrl?: string;
403
+ isPlasmicOnly?: boolean;
404
+ };
405
+ export type TrustedHostsListResponse = {
406
+ trustedHosts: Array<ApiTrustedHost>;
407
+ };
408
+ export type UpdateDatabaseRequest = {
409
+ name?: string;
410
+ extraData?: CmsDatabaseExtraData;
411
+ };
412
+ export type UpdateGlobalContextRequest = {
413
+ /**
414
+ * Global context component name (e.g., "plasmic-commerce-elastic-path-provider")
415
+ */
416
+ name: string;
417
+ /**
418
+ * Props to update on the global context
419
+ */
420
+ props: {
421
+ [key: string]: unknown;
422
+ };
423
+ };
424
+ export type UpdateHostUrlRequest = {
425
+ /**
426
+ * The host URL for app hosting (e.g., https://my-app.com/plasmic-host)
427
+ */
428
+ hostUrl?: string | null;
429
+ /**
430
+ * Branch ID to update the host URL for (null for main branch)
431
+ */
432
+ branchId?: string | null;
433
+ };
434
+ export type UpdateHostUrlResponse = {
435
+ hostUrl?: string | null;
436
+ branchId?: string | null;
437
+ updatedAt?: string;
438
+ };
439
+ export type UpdateProjectDataRequest = {
440
+ /**
441
+ * New components to create
442
+ */
443
+ newComponents?: Array<ComponentUpdateRequest>;
444
+ /**
445
+ * Existing components to update (matched by name or byUuid)
446
+ */
447
+ updateComponents?: Array<ComponentUpdateRequest>;
448
+ /**
449
+ * Global context providers to update
450
+ */
451
+ updateGlobalContexts?: Array<UpdateGlobalContextRequest>;
452
+ /**
453
+ * Branch ID to update (null for main branch)
454
+ */
455
+ branchId?: string;
456
+ };
457
+ export type UpdateProjectDataResponse = {
458
+ result?: {
459
+ newComponents?: Array<{
460
+ uuid?: string;
461
+ name?: string;
462
+ path?: string;
463
+ }>;
464
+ regeneratedSecretApiToken?: string;
465
+ };
466
+ warnings?: Array<{
467
+ message?: string;
468
+ }>;
469
+ };
470
+ export type UpdateProjectRequest = {
471
+ name?: string;
472
+ workspaceId?: string;
473
+ inviteOnly?: boolean;
474
+ defaultAccessLevel?: GrantableAccessLevel;
475
+ readableByPublic?: boolean;
476
+ isUserStarter?: boolean;
477
+ regenerateSecretApiToken?: boolean;
478
+ };
479
+ export type UpdateProjectResponse = {
480
+ paywall?: 'pass' | 'block';
481
+ project?: ApiProject;
482
+ perms?: Array<ApiPermission>;
483
+ owner?: ApiUser;
484
+ latestRevisionSynced?: number;
485
+ regeneratedSecretApiToken?: string;
486
+ };
487
+ export type paywall2 = 'pass' | 'block';
488
+ export type UpdateWorkspaceRequest = {
489
+ name?: string;
490
+ description?: string;
491
+ teamId?: string;
492
+ contentCreatorConfig?: {
493
+ [key: string]: unknown;
494
+ };
495
+ };
496
+ export type GetCsrfTokenResponse = CsrfResponse;
497
+ export type GetCsrfTokenError = unknown;
498
+ export type LoginData = {
499
+ body: LoginRequest;
500
+ };
501
+ export type LoginResponse2 = LoginResponse;
502
+ export type LoginError = ApiError;
503
+ export type LogoutResponse = unknown;
504
+ export type LogoutError = unknown;
505
+ export type GetCurrentUserResponse = SelfResponse;
506
+ export type GetCurrentUserError = ApiError;
507
+ export type GetAppConfigResponse = AppConfigResponse;
508
+ export type GetAppConfigError = unknown;
509
+ export type ListProjectsData = {
510
+ query: {
511
+ /**
512
+ * Required when query=byIds (can be repeated)
513
+ */
514
+ projectIds?: Array<string>;
515
+ query: 'all' | 'byWorkspace' | 'byIds';
516
+ /**
517
+ * Required when query=byWorkspace
518
+ */
519
+ workspaceId?: string;
520
+ };
521
+ };
522
+ export type ListProjectsResponse2 = ListProjectsResponse;
523
+ export type ListProjectsError = unknown;
524
+ export type CreateProjectData = {
525
+ body: CreateProjectRequest;
526
+ };
527
+ export type CreateProjectResponse2 = CreateProjectResponse;
528
+ export type CreateProjectError = unknown;
529
+ export type GetProjectData = {
530
+ path: {
531
+ /**
532
+ * Project ID
533
+ */
534
+ projectId: string;
535
+ };
536
+ query?: {
537
+ /**
538
+ * Skip bundle migration
539
+ */
540
+ dontMigrateProject?: boolean;
541
+ /**
542
+ * Specific revision ID to fetch
543
+ */
544
+ revisionId?: string;
545
+ /**
546
+ * Specific revision number to fetch
547
+ */
548
+ revisionNum?: number;
549
+ };
550
+ };
551
+ export type GetProjectResponse2 = GetProjectResponse;
552
+ export type GetProjectError = ApiError;
553
+ export type UpdateProjectData = {
554
+ body: UpdateProjectRequest;
555
+ path: {
556
+ /**
557
+ * Project ID
558
+ */
559
+ projectId: string;
560
+ };
561
+ };
562
+ export type UpdateProjectResponse2 = UpdateProjectResponse;
563
+ export type UpdateProjectError = unknown;
564
+ export type DeleteProjectData = {
565
+ path: {
566
+ /**
567
+ * Project ID
568
+ */
569
+ projectId: string;
570
+ };
571
+ };
572
+ export type DeleteProjectResponse = DeleteResponse;
573
+ export type DeleteProjectError = unknown;
574
+ export type CloneProjectData = {
575
+ body?: CloneProjectRequest;
576
+ path: {
577
+ /**
578
+ * Project ID
579
+ */
580
+ projectId: string;
581
+ };
582
+ };
583
+ export type CloneProjectResponse2 = CloneProjectResponse;
584
+ export type CloneProjectError = unknown;
585
+ export type ClonePublishedTemplateData = {
586
+ body?: CloneProjectRequest;
587
+ path: {
588
+ /**
589
+ * Project ID
590
+ */
591
+ projectId: string;
592
+ };
593
+ };
594
+ export type ClonePublishedTemplateResponse = CloneProjectResponse;
595
+ export type ClonePublishedTemplateError = unknown;
596
+ export type UpdateHostUrlData = {
597
+ body: UpdateHostUrlRequest;
598
+ path: {
599
+ /**
600
+ * Project ID
601
+ */
602
+ projectId: string;
603
+ };
604
+ };
605
+ export type UpdateHostUrlResponse2 = UpdateHostUrlResponse;
606
+ export type UpdateHostUrlError = unknown;
607
+ export type UpdateProjectDataData = {
608
+ body: UpdateProjectDataRequest;
609
+ path: {
610
+ /**
611
+ * Project ID
612
+ */
613
+ projectId: string;
614
+ };
615
+ };
616
+ export type UpdateProjectDataResponse2 = UpdateProjectDataResponse;
617
+ export type UpdateProjectDataError = unknown;
618
+ export type ListWorkspacesResponse2 = ListWorkspacesResponse;
619
+ export type ListWorkspacesError = unknown;
620
+ export type CreateWorkspaceData = {
621
+ body: CreateWorkspaceRequest;
622
+ };
623
+ export type CreateWorkspaceResponse2 = CreateWorkspaceResponse;
624
+ export type CreateWorkspaceError = unknown;
625
+ export type GetWorkspaceData = {
626
+ path: {
627
+ /**
628
+ * Workspace ID
629
+ */
630
+ workspaceId: string;
631
+ };
632
+ };
633
+ export type GetWorkspaceResponse2 = GetWorkspaceResponse;
634
+ export type GetWorkspaceError = unknown;
635
+ export type UpdateWorkspaceData = {
636
+ body: UpdateWorkspaceRequest;
637
+ path: {
638
+ /**
639
+ * Workspace ID
640
+ */
641
+ workspaceId: string;
642
+ };
643
+ };
644
+ export type UpdateWorkspaceResponse = CreateWorkspaceResponse;
645
+ export type UpdateWorkspaceError = unknown;
646
+ export type DeleteWorkspaceData = {
647
+ path: {
648
+ /**
649
+ * Workspace ID
650
+ */
651
+ workspaceId: string;
652
+ };
653
+ };
654
+ export type DeleteWorkspaceResponse = DeleteResponse;
655
+ export type DeleteWorkspaceError = unknown;
656
+ export type GetPersonalWorkspaceResponse = GetWorkspaceResponse;
657
+ export type GetPersonalWorkspaceError = unknown;
658
+ export type ListDatabasesData = {
659
+ query?: {
660
+ /**
661
+ * Team ID to list databases for all workspaces in the team
662
+ */
663
+ teamId?: string;
664
+ /**
665
+ * Workspace ID to list databases for
666
+ */
667
+ workspaceId?: string;
668
+ };
669
+ };
670
+ export type ListDatabasesResponse2 = ListDatabasesResponse;
671
+ export type ListDatabasesError = ApiError;
672
+ export type CreateDatabaseData = {
673
+ body: CreateDatabaseRequest;
674
+ };
675
+ export type CreateDatabaseResponse = ApiCmsDatabase;
676
+ export type CreateDatabaseError = unknown;
677
+ export type GetDatabaseData = {
678
+ path: {
679
+ /**
680
+ * CMS Database ID
681
+ */
682
+ databaseId: string;
683
+ };
684
+ query?: {
685
+ /**
686
+ * Include archived tables
687
+ */
688
+ includeArchived?: boolean;
689
+ };
690
+ };
691
+ export type GetDatabaseResponse = ApiCmsDatabase;
692
+ export type GetDatabaseError = ApiError;
693
+ export type UpdateDatabaseData = {
694
+ body: UpdateDatabaseRequest;
695
+ path: {
696
+ /**
697
+ * CMS Database ID
698
+ */
699
+ databaseId: string;
700
+ };
701
+ };
702
+ export type UpdateDatabaseResponse = ApiCmsDatabase;
703
+ export type UpdateDatabaseError = unknown;
704
+ export type DeleteDatabaseData = {
705
+ path: {
706
+ /**
707
+ * CMS Database ID
708
+ */
709
+ databaseId: string;
710
+ };
711
+ };
712
+ export type DeleteDatabaseResponse = DeleteResponse;
713
+ export type DeleteDatabaseError = unknown;
714
+ export type CloneDatabaseData = {
715
+ body?: CloneDatabaseRequest;
716
+ path: {
717
+ /**
718
+ * CMS Database ID
719
+ */
720
+ databaseId: string;
721
+ };
722
+ };
723
+ export type CloneDatabaseResponse = ApiCmsDatabase;
724
+ export type CloneDatabaseError = unknown;
725
+ export type ListPersonalApiTokensResponse2 = ListPersonalApiTokensResponse;
726
+ export type ListPersonalApiTokensError = unknown;
727
+ export type CreatePersonalApiTokenResponse2 = CreatePersonalApiTokenResponse;
728
+ export type CreatePersonalApiTokenError = unknown;
729
+ export type RevokePersonalApiTokenData = {
730
+ path: {
731
+ /**
732
+ * The token string to revoke
733
+ */
734
+ token: string;
735
+ };
736
+ };
737
+ export type RevokePersonalApiTokenResponse = {
738
+ [key: string]: unknown;
739
+ };
740
+ export type RevokePersonalApiTokenError = ApiError;
741
+ export type ListTrustedHostsResponse = TrustedHostsListResponse;
742
+ export type ListTrustedHostsError = unknown;
743
+ export type AddTrustedHostData = {
744
+ body: AddTrustedHostRequest;
745
+ };
746
+ export type AddTrustedHostResponse = {
747
+ [key: string]: unknown;
748
+ };
749
+ export type AddTrustedHostError = unknown;
750
+ export type DeleteTrustedHostData = {
751
+ path: {
752
+ /**
753
+ * Trusted host ID to delete
754
+ */
755
+ trustedHostId: string;
756
+ };
757
+ };
758
+ export type DeleteTrustedHostResponse = {
759
+ [key: string]: unknown;
760
+ };
761
+ export type DeleteTrustedHostError = ApiError;
762
+ export type AdminListProjectsData = {
763
+ body?: AdminListProjectsRequest;
764
+ };
765
+ export type AdminListProjectsResponse2 = AdminListProjectsResponse;
766
+ export type AdminListProjectsError = ApiError;
767
+ export type AdminCloneProjectData = {
768
+ body: AdminCloneRequest;
769
+ };
770
+ export type AdminCloneProjectResponse = AdminCloneResponse;
771
+ export type AdminCloneProjectError = unknown;
772
+ export type AdminDeleteProjectData = {
773
+ body: AdminDeleteProjectRequest;
774
+ };
775
+ export type AdminDeleteProjectResponse = {
776
+ [key: string]: unknown;
777
+ };
778
+ export type AdminDeleteProjectError = unknown;
779
+ export type AdminRestoreProjectData = {
780
+ body: AdminRestoreProjectRequest;
781
+ };
782
+ export type AdminRestoreProjectResponse = {
783
+ [key: string]: unknown;
784
+ };
785
+ export type AdminRestoreProjectError = unknown;
786
+ export type AdminChangeProjectOwnerData = {
787
+ body: AdminChangeOwnerRequest;
788
+ };
789
+ export type AdminChangeProjectOwnerResponse = {
790
+ [key: string]: unknown;
791
+ };
792
+ export type AdminChangeProjectOwnerError = unknown;
793
+ export type AdminRevertRevisionData = {
794
+ body: AdminRevertRevisionRequest;
795
+ };
796
+ export type AdminRevertRevisionResponse = AdminCloneResponse;
797
+ export type AdminRevertRevisionError = unknown;
798
+ //# sourceMappingURL=types.gen.d.ts.map