Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
quarto-dev
GitHub Repository: quarto-dev/quarto-cli
Path: blob/main/src/publish/netlify/api/services/SiteService.ts
6464 views
1
// deno-lint-ignore-file
2
/* istanbul ignore file */
3
/* tslint:disable */
4
/* eslint-disable */
5
import type { CancelablePromise } from "../core/CancelablePromise.ts";
6
import type { BaseHttpRequest } from "../core/BaseHttpRequest.ts";
7
8
export class SiteService {
9
constructor(public readonly httpRequest: BaseHttpRequest) {}
10
11
/**
12
* @returns any OK
13
* @throws ApiError
14
*/
15
public listSites({
16
name,
17
filter,
18
page,
19
perPage,
20
}: {
21
name?: string;
22
filter?: "all" | "owner" | "guest";
23
page?: number;
24
perPage?: number;
25
}): CancelablePromise<
26
Array<{
27
id?: string;
28
state?: string;
29
plan?: string;
30
name?: string;
31
custom_domain?: string;
32
domain_aliases?: Array<string>;
33
password?: string;
34
notification_email?: string;
35
url?: string;
36
ssl_url?: string;
37
admin_url?: string;
38
screenshot_url?: string;
39
created_at?: string;
40
updated_at?: string;
41
user_id?: string;
42
session_id?: string;
43
ssl?: boolean;
44
force_ssl?: boolean;
45
managed_dns?: boolean;
46
deploy_url?: string;
47
published_deploy?: {
48
id?: string;
49
site_id?: string;
50
user_id?: string;
51
build_id?: string;
52
state?: string;
53
name?: string;
54
url?: string;
55
ssl_url?: string;
56
admin_url?: string;
57
deploy_url?: string;
58
deploy_ssl_url?: string;
59
screenshot_url?: string;
60
review_id?: number;
61
draft?: boolean;
62
required?: Array<string>;
63
required_functions?: Array<string>;
64
error_message?: string;
65
branch?: string;
66
commit_ref?: string;
67
commit_url?: string;
68
skipped?: boolean;
69
created_at?: string;
70
updated_at?: string;
71
published_at?: string;
72
title?: string;
73
context?: string;
74
locked?: boolean;
75
review_url?: string;
76
site_capabilities?: {
77
large_media_enabled?: boolean;
78
};
79
framework?: string;
80
function_schedules?: Array<{
81
name?: string;
82
cron?: string;
83
}>;
84
};
85
account_name?: string;
86
account_slug?: string;
87
git_provider?: string;
88
deploy_hook?: string;
89
capabilities?: Record<string, any>;
90
processing_settings?: {
91
skip?: boolean;
92
css?: {
93
bundle?: boolean;
94
minify?: boolean;
95
};
96
js?: {
97
bundle?: boolean;
98
minify?: boolean;
99
};
100
images?: {
101
optimize?: boolean;
102
};
103
html?: {
104
pretty_urls?: boolean;
105
};
106
};
107
build_settings?: {
108
id?: number;
109
provider?: string;
110
deploy_key_id?: string;
111
repo_path?: string;
112
repo_branch?: string;
113
dir?: string;
114
functions_dir?: string;
115
cmd?: string;
116
allowed_branches?: Array<string>;
117
public_repo?: boolean;
118
private_logs?: boolean;
119
repo_url?: string;
120
env?: Record<string, string>;
121
installation_id?: number;
122
stop_builds?: boolean;
123
};
124
id_domain?: string;
125
default_hooks_data?: {
126
access_token?: string;
127
};
128
build_image?: string;
129
prerender?: string;
130
}>
131
> {
132
return this.httpRequest.request({
133
method: "GET",
134
url: "/sites",
135
query: {
136
"name": name,
137
"filter": filter,
138
"page": page,
139
"per_page": perPage,
140
},
141
});
142
}
143
144
/**
145
* @returns any error
146
* @throws ApiError
147
*/
148
public createSite({
149
site,
150
configureDns,
151
}: {
152
site: {
153
id?: string;
154
state?: string;
155
plan?: string;
156
name?: string;
157
custom_domain?: string;
158
domain_aliases?: Array<string>;
159
password?: string;
160
notification_email?: string;
161
url?: string;
162
ssl_url?: string;
163
admin_url?: string;
164
screenshot_url?: string;
165
created_at?: string;
166
updated_at?: string;
167
user_id?: string;
168
session_id?: string;
169
ssl?: boolean;
170
force_ssl?: boolean;
171
managed_dns?: boolean;
172
deploy_url?: string;
173
published_deploy?: {
174
id?: string;
175
site_id?: string;
176
user_id?: string;
177
build_id?: string;
178
state?: string;
179
name?: string;
180
url?: string;
181
ssl_url?: string;
182
admin_url?: string;
183
deploy_url?: string;
184
deploy_ssl_url?: string;
185
screenshot_url?: string;
186
review_id?: number;
187
draft?: boolean;
188
required?: Array<string>;
189
required_functions?: Array<string>;
190
error_message?: string;
191
branch?: string;
192
commit_ref?: string;
193
commit_url?: string;
194
skipped?: boolean;
195
created_at?: string;
196
updated_at?: string;
197
published_at?: string;
198
title?: string;
199
context?: string;
200
locked?: boolean;
201
review_url?: string;
202
site_capabilities?: {
203
large_media_enabled?: boolean;
204
};
205
framework?: string;
206
function_schedules?: Array<{
207
name?: string;
208
cron?: string;
209
}>;
210
};
211
account_name?: string;
212
account_slug?: string;
213
git_provider?: string;
214
deploy_hook?: string;
215
capabilities?: Record<string, any>;
216
processing_settings?: {
217
skip?: boolean;
218
css?: {
219
bundle?: boolean;
220
minify?: boolean;
221
};
222
js?: {
223
bundle?: boolean;
224
minify?: boolean;
225
};
226
images?: {
227
optimize?: boolean;
228
};
229
html?: {
230
pretty_urls?: boolean;
231
};
232
};
233
build_settings?: {
234
id?: number;
235
provider?: string;
236
deploy_key_id?: string;
237
repo_path?: string;
238
repo_branch?: string;
239
dir?: string;
240
functions_dir?: string;
241
cmd?: string;
242
allowed_branches?: Array<string>;
243
public_repo?: boolean;
244
private_logs?: boolean;
245
repo_url?: string;
246
env?: Record<string, string>;
247
installation_id?: number;
248
stop_builds?: boolean;
249
};
250
id_domain?: string;
251
default_hooks_data?: {
252
access_token?: string;
253
};
254
build_image?: string;
255
prerender?: string;
256
};
257
configureDns?: boolean;
258
}): CancelablePromise<{
259
code?: number;
260
message: string;
261
}> {
262
return this.httpRequest.request({
263
method: "POST",
264
url: "/sites",
265
query: {
266
"configure_dns": configureDns,
267
},
268
body: site,
269
});
270
}
271
272
/**
273
* @returns any OK
274
* @throws ApiError
275
*/
276
public getSite({
277
siteId,
278
}: {
279
siteId: string;
280
}): CancelablePromise<{
281
id?: string;
282
state?: string;
283
plan?: string;
284
name?: string;
285
custom_domain?: string;
286
domain_aliases?: Array<string>;
287
password?: string;
288
notification_email?: string;
289
url?: string;
290
ssl_url?: string;
291
admin_url?: string;
292
screenshot_url?: string;
293
created_at?: string;
294
updated_at?: string;
295
user_id?: string;
296
session_id?: string;
297
ssl?: boolean;
298
force_ssl?: boolean;
299
managed_dns?: boolean;
300
deploy_url?: string;
301
published_deploy?: {
302
id?: string;
303
site_id?: string;
304
user_id?: string;
305
build_id?: string;
306
state?: string;
307
name?: string;
308
url?: string;
309
ssl_url?: string;
310
admin_url?: string;
311
deploy_url?: string;
312
deploy_ssl_url?: string;
313
screenshot_url?: string;
314
review_id?: number;
315
draft?: boolean;
316
required?: Array<string>;
317
required_functions?: Array<string>;
318
error_message?: string;
319
branch?: string;
320
commit_ref?: string;
321
commit_url?: string;
322
skipped?: boolean;
323
created_at?: string;
324
updated_at?: string;
325
published_at?: string;
326
title?: string;
327
context?: string;
328
locked?: boolean;
329
review_url?: string;
330
site_capabilities?: {
331
large_media_enabled?: boolean;
332
};
333
framework?: string;
334
function_schedules?: Array<{
335
name?: string;
336
cron?: string;
337
}>;
338
};
339
account_name?: string;
340
account_slug?: string;
341
git_provider?: string;
342
deploy_hook?: string;
343
capabilities?: Record<string, any>;
344
processing_settings?: {
345
skip?: boolean;
346
css?: {
347
bundle?: boolean;
348
minify?: boolean;
349
};
350
js?: {
351
bundle?: boolean;
352
minify?: boolean;
353
};
354
images?: {
355
optimize?: boolean;
356
};
357
html?: {
358
pretty_urls?: boolean;
359
};
360
};
361
build_settings?: {
362
id?: number;
363
provider?: string;
364
deploy_key_id?: string;
365
repo_path?: string;
366
repo_branch?: string;
367
dir?: string;
368
functions_dir?: string;
369
cmd?: string;
370
allowed_branches?: Array<string>;
371
public_repo?: boolean;
372
private_logs?: boolean;
373
repo_url?: string;
374
env?: Record<string, string>;
375
installation_id?: number;
376
stop_builds?: boolean;
377
};
378
id_domain?: string;
379
default_hooks_data?: {
380
access_token?: string;
381
};
382
build_image?: string;
383
prerender?: string;
384
}> {
385
return this.httpRequest.request({
386
method: "GET",
387
url: "/sites/{site_id}",
388
path: {
389
"site_id": siteId,
390
},
391
});
392
}
393
394
/**
395
* @returns any OK
396
* @throws ApiError
397
*/
398
public updateSite({
399
siteId,
400
site,
401
}: {
402
siteId: string;
403
site: {
404
id?: string;
405
state?: string;
406
plan?: string;
407
name?: string;
408
custom_domain?: string;
409
domain_aliases?: Array<string>;
410
password?: string;
411
notification_email?: string;
412
url?: string;
413
ssl_url?: string;
414
admin_url?: string;
415
screenshot_url?: string;
416
created_at?: string;
417
updated_at?: string;
418
user_id?: string;
419
session_id?: string;
420
ssl?: boolean;
421
force_ssl?: boolean;
422
managed_dns?: boolean;
423
deploy_url?: string;
424
published_deploy?: {
425
id?: string;
426
site_id?: string;
427
user_id?: string;
428
build_id?: string;
429
state?: string;
430
name?: string;
431
url?: string;
432
ssl_url?: string;
433
admin_url?: string;
434
deploy_url?: string;
435
deploy_ssl_url?: string;
436
screenshot_url?: string;
437
review_id?: number;
438
draft?: boolean;
439
required?: Array<string>;
440
required_functions?: Array<string>;
441
error_message?: string;
442
branch?: string;
443
commit_ref?: string;
444
commit_url?: string;
445
skipped?: boolean;
446
created_at?: string;
447
updated_at?: string;
448
published_at?: string;
449
title?: string;
450
context?: string;
451
locked?: boolean;
452
review_url?: string;
453
site_capabilities?: {
454
large_media_enabled?: boolean;
455
};
456
framework?: string;
457
function_schedules?: Array<{
458
name?: string;
459
cron?: string;
460
}>;
461
};
462
account_name?: string;
463
account_slug?: string;
464
git_provider?: string;
465
deploy_hook?: string;
466
capabilities?: Record<string, any>;
467
processing_settings?: {
468
skip?: boolean;
469
css?: {
470
bundle?: boolean;
471
minify?: boolean;
472
};
473
js?: {
474
bundle?: boolean;
475
minify?: boolean;
476
};
477
images?: {
478
optimize?: boolean;
479
};
480
html?: {
481
pretty_urls?: boolean;
482
};
483
};
484
build_settings?: {
485
id?: number;
486
provider?: string;
487
deploy_key_id?: string;
488
repo_path?: string;
489
repo_branch?: string;
490
dir?: string;
491
functions_dir?: string;
492
cmd?: string;
493
allowed_branches?: Array<string>;
494
public_repo?: boolean;
495
private_logs?: boolean;
496
repo_url?: string;
497
env?: Record<string, string>;
498
installation_id?: number;
499
stop_builds?: boolean;
500
};
501
id_domain?: string;
502
default_hooks_data?: {
503
access_token?: string;
504
};
505
build_image?: string;
506
prerender?: string;
507
};
508
}): CancelablePromise<{
509
id?: string;
510
state?: string;
511
plan?: string;
512
name?: string;
513
custom_domain?: string;
514
domain_aliases?: Array<string>;
515
password?: string;
516
notification_email?: string;
517
url?: string;
518
ssl_url?: string;
519
admin_url?: string;
520
screenshot_url?: string;
521
created_at?: string;
522
updated_at?: string;
523
user_id?: string;
524
session_id?: string;
525
ssl?: boolean;
526
force_ssl?: boolean;
527
managed_dns?: boolean;
528
deploy_url?: string;
529
published_deploy?: {
530
id?: string;
531
site_id?: string;
532
user_id?: string;
533
build_id?: string;
534
state?: string;
535
name?: string;
536
url?: string;
537
ssl_url?: string;
538
admin_url?: string;
539
deploy_url?: string;
540
deploy_ssl_url?: string;
541
screenshot_url?: string;
542
review_id?: number;
543
draft?: boolean;
544
required?: Array<string>;
545
required_functions?: Array<string>;
546
error_message?: string;
547
branch?: string;
548
commit_ref?: string;
549
commit_url?: string;
550
skipped?: boolean;
551
created_at?: string;
552
updated_at?: string;
553
published_at?: string;
554
title?: string;
555
context?: string;
556
locked?: boolean;
557
review_url?: string;
558
site_capabilities?: {
559
large_media_enabled?: boolean;
560
};
561
framework?: string;
562
function_schedules?: Array<{
563
name?: string;
564
cron?: string;
565
}>;
566
};
567
account_name?: string;
568
account_slug?: string;
569
git_provider?: string;
570
deploy_hook?: string;
571
capabilities?: Record<string, any>;
572
processing_settings?: {
573
skip?: boolean;
574
css?: {
575
bundle?: boolean;
576
minify?: boolean;
577
};
578
js?: {
579
bundle?: boolean;
580
minify?: boolean;
581
};
582
images?: {
583
optimize?: boolean;
584
};
585
html?: {
586
pretty_urls?: boolean;
587
};
588
};
589
build_settings?: {
590
id?: number;
591
provider?: string;
592
deploy_key_id?: string;
593
repo_path?: string;
594
repo_branch?: string;
595
dir?: string;
596
functions_dir?: string;
597
cmd?: string;
598
allowed_branches?: Array<string>;
599
public_repo?: boolean;
600
private_logs?: boolean;
601
repo_url?: string;
602
env?: Record<string, string>;
603
installation_id?: number;
604
stop_builds?: boolean;
605
};
606
id_domain?: string;
607
default_hooks_data?: {
608
access_token?: string;
609
};
610
build_image?: string;
611
prerender?: string;
612
}> {
613
return this.httpRequest.request({
614
method: "PATCH",
615
url: "/sites/{site_id}",
616
path: {
617
"site_id": siteId,
618
},
619
body: site,
620
});
621
}
622
623
/**
624
* @returns any error
625
* @throws ApiError
626
*/
627
public deleteSite({
628
siteId,
629
}: {
630
siteId: string;
631
}): CancelablePromise<{
632
code?: number;
633
message: string;
634
}> {
635
return this.httpRequest.request({
636
method: "DELETE",
637
url: "/sites/{site_id}",
638
path: {
639
"site_id": siteId,
640
},
641
});
642
}
643
644
/**
645
* [Beta] Unlinks the repo from the site.
646
*
647
* This action will also:
648
* - Delete associated deploy keys
649
* - Delete outgoing webhooks for the repo
650
* - Delete the site's build hooks
651
* @returns any OK
652
* @throws ApiError
653
*/
654
public unlinkSiteRepo({
655
siteId,
656
}: {
657
siteId: string;
658
}): CancelablePromise<{
659
id?: string;
660
state?: string;
661
plan?: string;
662
name?: string;
663
custom_domain?: string;
664
domain_aliases?: Array<string>;
665
password?: string;
666
notification_email?: string;
667
url?: string;
668
ssl_url?: string;
669
admin_url?: string;
670
screenshot_url?: string;
671
created_at?: string;
672
updated_at?: string;
673
user_id?: string;
674
session_id?: string;
675
ssl?: boolean;
676
force_ssl?: boolean;
677
managed_dns?: boolean;
678
deploy_url?: string;
679
published_deploy?: {
680
id?: string;
681
site_id?: string;
682
user_id?: string;
683
build_id?: string;
684
state?: string;
685
name?: string;
686
url?: string;
687
ssl_url?: string;
688
admin_url?: string;
689
deploy_url?: string;
690
deploy_ssl_url?: string;
691
screenshot_url?: string;
692
review_id?: number;
693
draft?: boolean;
694
required?: Array<string>;
695
required_functions?: Array<string>;
696
error_message?: string;
697
branch?: string;
698
commit_ref?: string;
699
commit_url?: string;
700
skipped?: boolean;
701
created_at?: string;
702
updated_at?: string;
703
published_at?: string;
704
title?: string;
705
context?: string;
706
locked?: boolean;
707
review_url?: string;
708
site_capabilities?: {
709
large_media_enabled?: boolean;
710
};
711
framework?: string;
712
function_schedules?: Array<{
713
name?: string;
714
cron?: string;
715
}>;
716
};
717
account_name?: string;
718
account_slug?: string;
719
git_provider?: string;
720
deploy_hook?: string;
721
capabilities?: Record<string, any>;
722
processing_settings?: {
723
skip?: boolean;
724
css?: {
725
bundle?: boolean;
726
minify?: boolean;
727
};
728
js?: {
729
bundle?: boolean;
730
minify?: boolean;
731
};
732
images?: {
733
optimize?: boolean;
734
};
735
html?: {
736
pretty_urls?: boolean;
737
};
738
};
739
build_settings?: {
740
id?: number;
741
provider?: string;
742
deploy_key_id?: string;
743
repo_path?: string;
744
repo_branch?: string;
745
dir?: string;
746
functions_dir?: string;
747
cmd?: string;
748
allowed_branches?: Array<string>;
749
public_repo?: boolean;
750
private_logs?: boolean;
751
repo_url?: string;
752
env?: Record<string, string>;
753
installation_id?: number;
754
stop_builds?: boolean;
755
};
756
id_domain?: string;
757
default_hooks_data?: {
758
access_token?: string;
759
};
760
build_image?: string;
761
prerender?: string;
762
}> {
763
return this.httpRequest.request({
764
method: "PUT",
765
url: "/sites/{site_id}/unlink_repo",
766
path: {
767
"site_id": siteId,
768
},
769
errors: {
770
404: `Site not found`,
771
},
772
});
773
}
774
775
/**
776
* @returns any error
777
* @throws ApiError
778
*/
779
public createSiteInTeam({
780
accountSlug,
781
site,
782
configureDns,
783
}: {
784
accountSlug: string;
785
site?: {
786
id?: string;
787
state?: string;
788
plan?: string;
789
name?: string;
790
custom_domain?: string;
791
domain_aliases?: Array<string>;
792
password?: string;
793
notification_email?: string;
794
url?: string;
795
ssl_url?: string;
796
admin_url?: string;
797
screenshot_url?: string;
798
created_at?: string;
799
updated_at?: string;
800
user_id?: string;
801
session_id?: string;
802
ssl?: boolean;
803
force_ssl?: boolean;
804
managed_dns?: boolean;
805
deploy_url?: string;
806
published_deploy?: {
807
id?: string;
808
site_id?: string;
809
user_id?: string;
810
build_id?: string;
811
state?: string;
812
name?: string;
813
url?: string;
814
ssl_url?: string;
815
admin_url?: string;
816
deploy_url?: string;
817
deploy_ssl_url?: string;
818
screenshot_url?: string;
819
review_id?: number;
820
draft?: boolean;
821
required?: Array<string>;
822
required_functions?: Array<string>;
823
error_message?: string;
824
branch?: string;
825
commit_ref?: string;
826
commit_url?: string;
827
skipped?: boolean;
828
created_at?: string;
829
updated_at?: string;
830
published_at?: string;
831
title?: string;
832
context?: string;
833
locked?: boolean;
834
review_url?: string;
835
site_capabilities?: {
836
large_media_enabled?: boolean;
837
};
838
framework?: string;
839
function_schedules?: Array<{
840
name?: string;
841
cron?: string;
842
}>;
843
};
844
account_name?: string;
845
account_slug?: string;
846
git_provider?: string;
847
deploy_hook?: string;
848
capabilities?: Record<string, any>;
849
processing_settings?: {
850
skip?: boolean;
851
css?: {
852
bundle?: boolean;
853
minify?: boolean;
854
};
855
js?: {
856
bundle?: boolean;
857
minify?: boolean;
858
};
859
images?: {
860
optimize?: boolean;
861
};
862
html?: {
863
pretty_urls?: boolean;
864
};
865
};
866
build_settings?: {
867
id?: number;
868
provider?: string;
869
deploy_key_id?: string;
870
repo_path?: string;
871
repo_branch?: string;
872
dir?: string;
873
functions_dir?: string;
874
cmd?: string;
875
allowed_branches?: Array<string>;
876
public_repo?: boolean;
877
private_logs?: boolean;
878
repo_url?: string;
879
env?: Record<string, string>;
880
installation_id?: number;
881
stop_builds?: boolean;
882
};
883
id_domain?: string;
884
default_hooks_data?: {
885
access_token?: string;
886
};
887
build_image?: string;
888
prerender?: string;
889
};
890
configureDns?: boolean;
891
}): CancelablePromise<{
892
code?: number;
893
message: string;
894
}> {
895
return this.httpRequest.request({
896
method: "POST",
897
url: "/{account_slug}/sites",
898
path: {
899
"account_slug": accountSlug,
900
},
901
query: {
902
"configure_dns": configureDns,
903
},
904
body: site,
905
});
906
}
907
908
/**
909
* @returns any OK
910
* @throws ApiError
911
*/
912
public listSitesForAccount({
913
accountSlug,
914
name,
915
page,
916
perPage,
917
}: {
918
accountSlug: string;
919
name?: string;
920
page?: number;
921
perPage?: number;
922
}): CancelablePromise<
923
Array<{
924
id?: string;
925
state?: string;
926
plan?: string;
927
name?: string;
928
custom_domain?: string;
929
domain_aliases?: Array<string>;
930
password?: string;
931
notification_email?: string;
932
url?: string;
933
ssl_url?: string;
934
admin_url?: string;
935
screenshot_url?: string;
936
created_at?: string;
937
updated_at?: string;
938
user_id?: string;
939
session_id?: string;
940
ssl?: boolean;
941
force_ssl?: boolean;
942
managed_dns?: boolean;
943
deploy_url?: string;
944
published_deploy?: {
945
id?: string;
946
site_id?: string;
947
user_id?: string;
948
build_id?: string;
949
state?: string;
950
name?: string;
951
url?: string;
952
ssl_url?: string;
953
admin_url?: string;
954
deploy_url?: string;
955
deploy_ssl_url?: string;
956
screenshot_url?: string;
957
review_id?: number;
958
draft?: boolean;
959
required?: Array<string>;
960
required_functions?: Array<string>;
961
error_message?: string;
962
branch?: string;
963
commit_ref?: string;
964
commit_url?: string;
965
skipped?: boolean;
966
created_at?: string;
967
updated_at?: string;
968
published_at?: string;
969
title?: string;
970
context?: string;
971
locked?: boolean;
972
review_url?: string;
973
site_capabilities?: {
974
large_media_enabled?: boolean;
975
};
976
framework?: string;
977
function_schedules?: Array<{
978
name?: string;
979
cron?: string;
980
}>;
981
};
982
account_name?: string;
983
account_slug?: string;
984
git_provider?: string;
985
deploy_hook?: string;
986
capabilities?: Record<string, any>;
987
processing_settings?: {
988
skip?: boolean;
989
css?: {
990
bundle?: boolean;
991
minify?: boolean;
992
};
993
js?: {
994
bundle?: boolean;
995
minify?: boolean;
996
};
997
images?: {
998
optimize?: boolean;
999
};
1000
html?: {
1001
pretty_urls?: boolean;
1002
};
1003
};
1004
build_settings?: {
1005
id?: number;
1006
provider?: string;
1007
deploy_key_id?: string;
1008
repo_path?: string;
1009
repo_branch?: string;
1010
dir?: string;
1011
functions_dir?: string;
1012
cmd?: string;
1013
allowed_branches?: Array<string>;
1014
public_repo?: boolean;
1015
private_logs?: boolean;
1016
repo_url?: string;
1017
env?: Record<string, string>;
1018
installation_id?: number;
1019
stop_builds?: boolean;
1020
};
1021
id_domain?: string;
1022
default_hooks_data?: {
1023
access_token?: string;
1024
};
1025
build_image?: string;
1026
prerender?: string;
1027
}>
1028
> {
1029
return this.httpRequest.request({
1030
method: "GET",
1031
url: "/{account_slug}/sites",
1032
path: {
1033
"account_slug": accountSlug,
1034
},
1035
query: {
1036
"name": name,
1037
"page": page,
1038
"per_page": perPage,
1039
},
1040
});
1041
}
1042
}
1043
1044