@cloudcannon/sdk 0.0.1 → 0.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/schema.d.ts CHANGED
@@ -998,6 +998,23 @@ export interface paths {
998
998
  patch?: never;
999
999
  trace?: never;
1000
1000
  };
1001
+ '/api/v0/projects/{project_uuid}/branches': {
1002
+ parameters: {
1003
+ query?: never;
1004
+ header?: never;
1005
+ path?: never;
1006
+ cookie?: never;
1007
+ };
1008
+ /** @description List branches for the project repository */
1009
+ get: operations['Project Git_Branches'];
1010
+ put?: never;
1011
+ post?: never;
1012
+ delete?: never;
1013
+ options?: never;
1014
+ head?: never;
1015
+ patch?: never;
1016
+ trace?: never;
1017
+ };
1001
1018
  '/api/v0/projects/{project_uuid}/git': {
1002
1019
  parameters: {
1003
1020
  query?: never;
@@ -1015,6 +1032,40 @@ export interface paths {
1015
1032
  patch?: never;
1016
1033
  trace?: never;
1017
1034
  };
1035
+ '/api/v0/projects/{project_uuid}/pull-requests': {
1036
+ parameters: {
1037
+ query?: never;
1038
+ header?: never;
1039
+ path?: never;
1040
+ cookie?: never;
1041
+ };
1042
+ /** @description List open pull requests for the project repository */
1043
+ get: operations['Project Git_PullRequests'];
1044
+ put?: never;
1045
+ post?: never;
1046
+ delete?: never;
1047
+ options?: never;
1048
+ head?: never;
1049
+ patch?: never;
1050
+ trace?: never;
1051
+ };
1052
+ '/api/v0/projects/{project_uuid}/refresh-pr-comments': {
1053
+ parameters: {
1054
+ query?: never;
1055
+ header?: never;
1056
+ path?: never;
1057
+ cookie?: never;
1058
+ };
1059
+ get?: never;
1060
+ put?: never;
1061
+ /** @description Refresh deploy-preview PR comments for every site on this project */
1062
+ post: operations['Projects_RefreshPrComments'];
1063
+ delete?: never;
1064
+ options?: never;
1065
+ head?: never;
1066
+ patch?: never;
1067
+ trace?: never;
1068
+ };
1018
1069
  '/api/v0/projects/{project_uuid}/sites': {
1019
1070
  parameters: {
1020
1071
  query?: never;
@@ -2202,6 +2253,23 @@ export interface paths {
2202
2253
  patch?: never;
2203
2254
  trace?: never;
2204
2255
  };
2256
+ '/api/v0/upload-data': {
2257
+ parameters: {
2258
+ query?: never;
2259
+ header?: never;
2260
+ path?: never;
2261
+ cookie?: never;
2262
+ };
2263
+ /** @description Get the presigned data for file upload */
2264
+ get: operations['Index_UploadData'];
2265
+ put?: never;
2266
+ post?: never;
2267
+ delete?: never;
2268
+ options?: never;
2269
+ head?: never;
2270
+ patch?: never;
2271
+ trace?: never;
2272
+ };
2205
2273
  '/api/v0/users': {
2206
2274
  parameters: {
2207
2275
  query?: never;
@@ -2291,6 +2359,8 @@ export interface components {
2291
2359
  BranchSchema: {
2292
2360
  name?: string;
2293
2361
  sha?: string;
2362
+ /** Format: date-time */
2363
+ updated_at?: string | null;
2294
2364
  };
2295
2365
  PullRequestSchema: {
2296
2366
  number?: number;
@@ -2306,6 +2376,7 @@ export interface components {
2306
2376
  /** Format: date-time */
2307
2377
  merged_at?: string | null;
2308
2378
  locked?: boolean | null;
2379
+ draft?: boolean | null;
2309
2380
  head?: {
2310
2381
  ref?: string;
2311
2382
  sha?: string;
@@ -2547,6 +2618,8 @@ export interface components {
2547
2618
  mode?: string | null;
2548
2619
  project_id?: number | null;
2549
2620
  project_uuid?: string | null;
2621
+ pr_number?: number | null;
2622
+ pr_external_url?: string | null;
2550
2623
  cloudcannon_config_path?: string | null;
2551
2624
  output_storage_provider?: string | null;
2552
2625
  domain_name?: string | null;
@@ -2603,6 +2676,8 @@ export interface components {
2603
2676
  mode?: string | null;
2604
2677
  project_id?: number | null;
2605
2678
  project_uuid?: string | null;
2679
+ pr_number?: number | null;
2680
+ pr_external_url?: string | null;
2606
2681
  cloudcannon_config_path?: string | null;
2607
2682
  output_storage_provider?: string | null;
2608
2683
  base_domain?: components['schemas']['BaseDomainBlueprint'] | (string | null);
@@ -2719,6 +2794,13 @@ export interface components {
2719
2794
  last_compiled?: string | null;
2720
2795
  /** Format: date-time */
2721
2796
  last_compiled_success?: string | null;
2797
+ auto_create_site_on_pr?: boolean;
2798
+ comment_on_pr?: boolean;
2799
+ auto_delete_site_on_pr_close?: boolean;
2800
+ pr_comment_skip_drafts?: boolean;
2801
+ pr_comment_footer?: string | null;
2802
+ auto_create_skip_drafts?: boolean;
2803
+ pr_features_enabled?: boolean;
2722
2804
  /** Format: date-time */
2723
2805
  created_at: string;
2724
2806
  /** Format: date-time */
@@ -3202,7 +3284,9 @@ export interface components {
3202
3284
  };
3203
3285
  };
3204
3286
  parameters: {
3287
+ /** @description Page number to fetch (1-indexed) */
3205
3288
  PageQuery: number;
3289
+ /** @description Number of items per page */
3206
3290
  ItemsQuery: number;
3207
3291
  SortAttributeQuery: string;
3208
3292
  SortDirectionQuery: string;
@@ -3377,10 +3461,10 @@ export interface operations {
3377
3461
  'Base Domain Dns Records_List': {
3378
3462
  parameters: {
3379
3463
  query?: {
3464
+ /** @description Page number to fetch (1-indexed) */
3380
3465
  page?: components['parameters']['PageQuery'];
3381
- item?: components['parameters']['ItemsQuery'];
3382
- sort_attribute?: components['parameters']['SortAttributeQuery'];
3383
- sort_direction?: components['parameters']['SortDirectionQuery'];
3466
+ /** @description Number of items per page */
3467
+ items?: components['parameters']['ItemsQuery'];
3384
3468
  };
3385
3469
  header?: never;
3386
3470
  path: {
@@ -3393,11 +3477,11 @@ export interface operations {
3393
3477
  /** @description OK */
3394
3478
  200: {
3395
3479
  headers: {
3396
- /** @description null */
3480
+ /** @description The current page number */
3397
3481
  current_page?: string;
3398
- /** @description null */
3482
+ /** @description The total number of items across all pages */
3399
3483
  total_items?: string;
3400
- /** @description null */
3484
+ /** @description The total number of pages available */
3401
3485
  total_pages?: string;
3402
3486
  [name: string]: unknown;
3403
3487
  };
@@ -3583,10 +3667,10 @@ export interface operations {
3583
3667
  Subdomains_Index: {
3584
3668
  parameters: {
3585
3669
  query?: {
3670
+ /** @description Page number to fetch (1-indexed) */
3586
3671
  page?: components['parameters']['PageQuery'];
3587
- item?: components['parameters']['ItemsQuery'];
3588
- sort_attribute?: components['parameters']['SortAttributeQuery'];
3589
- sort_direction?: components['parameters']['SortDirectionQuery'];
3672
+ /** @description Number of items per page */
3673
+ items?: components['parameters']['ItemsQuery'];
3590
3674
  };
3591
3675
  header?: never;
3592
3676
  path: {
@@ -3599,11 +3683,11 @@ export interface operations {
3599
3683
  /** @description OK */
3600
3684
  200: {
3601
3685
  headers: {
3602
- /** @description null */
3686
+ /** @description The current page number */
3603
3687
  current_page?: string;
3604
- /** @description null */
3688
+ /** @description The total number of items across all pages */
3605
3689
  total_items?: string;
3606
- /** @description null */
3690
+ /** @description The total number of pages available */
3607
3691
  total_pages?: string;
3608
3692
  [name: string]: unknown;
3609
3693
  };
@@ -3703,10 +3787,10 @@ export interface operations {
3703
3787
  content: {
3704
3788
  'application/json': {
3705
3789
  /** @enum {string} */
3706
- dam_type: 's3' | 'tenovos' | 'cloudinary' | 'azure' | 'google' | 'cloudflare' | 'digitalocean';
3707
- name: string;
3708
- config: string;
3709
- base_url: string;
3790
+ dam_type?: 's3' | 'tenovos' | 'cloudinary' | 'azure' | 'google' | 'cloudflare' | 'digitalocean';
3791
+ name?: string;
3792
+ config?: string;
3793
+ base_url?: string;
3710
3794
  access_key?: string | null;
3711
3795
  access_secret?: string | null;
3712
3796
  max_upload_size?: number | null;
@@ -3841,7 +3925,7 @@ export interface operations {
3841
3925
  [name: string]: unknown;
3842
3926
  };
3843
3927
  content: {
3844
- 'application/json': components['schemas']['EditingSessionFileBlueprint'][];
3928
+ 'application/json': components['schemas']['EditingSessionFileContributionBlueprint'][];
3845
3929
  };
3846
3930
  };
3847
3931
  403: components['responses']['ForbiddenResp'];
@@ -3859,9 +3943,9 @@ export interface operations {
3859
3943
  requestBody: {
3860
3944
  content: {
3861
3945
  'application/json': {
3862
- s3_key?: Record<string, never>;
3946
+ s3_key: string;
3863
3947
  content_hash: string;
3864
- previous_content_hash?: Record<string, never>;
3948
+ previous_content_hash?: string;
3865
3949
  };
3866
3950
  };
3867
3951
  };
@@ -4039,7 +4123,13 @@ export interface operations {
4039
4123
  };
4040
4124
  cookie?: never;
4041
4125
  };
4042
- requestBody?: never;
4126
+ requestBody: {
4127
+ content: {
4128
+ 'application/json': {
4129
+ previous_content_hash: string;
4130
+ };
4131
+ };
4132
+ };
4043
4133
  responses: {
4044
4134
  /** @description Created */
4045
4135
  200: {
@@ -4257,8 +4347,8 @@ export interface operations {
4257
4347
  edit_type?: string | null;
4258
4348
  path?: string | null;
4259
4349
  source_path?: string | null;
4260
- discard_unsaved?: Record<string, never>;
4261
- previous_content_hash?: Record<string, never>;
4350
+ discard_unsaved?: boolean;
4351
+ previous_content_hash?: string;
4262
4352
  metadata?: {
4263
4353
  [key: string]: unknown;
4264
4354
  };
@@ -4266,6 +4356,15 @@ export interface operations {
4266
4356
  };
4267
4357
  };
4268
4358
  responses: {
4359
+ /** @description Success */
4360
+ 200: {
4361
+ headers: {
4362
+ [name: string]: unknown;
4363
+ };
4364
+ content: {
4365
+ 'application/json': components['schemas']['EditingSessionFileBlueprint'];
4366
+ };
4367
+ };
4269
4368
  /** @description Created */
4270
4369
  201: {
4271
4370
  headers: {
@@ -4484,7 +4583,22 @@ export interface operations {
4484
4583
  };
4485
4584
  'Form Hook_Sends': {
4486
4585
  parameters: {
4487
- query?: never;
4586
+ query?: {
4587
+ success?: boolean;
4588
+ inbox_target_uuid?: string;
4589
+ form_hook_uuid?: string;
4590
+ updated_at_lt?: string;
4591
+ updated_at_gt?: string;
4592
+ updated_at_lte?: string;
4593
+ updated_at_gte?: string;
4594
+ uuid?: string;
4595
+ id?: number;
4596
+ created_at_lt?: string;
4597
+ created_at_gt?: string;
4598
+ created_at_lte?: string;
4599
+ created_at_gte?: string;
4600
+ search?: string;
4601
+ };
4488
4602
  header?: never;
4489
4603
  path: {
4490
4604
  form_hook_uuid: components['schemas']['UUID'];
@@ -4695,10 +4809,51 @@ export interface operations {
4695
4809
  parameters: {
4696
4810
  query?: {
4697
4811
  category?: 'spam' | 'sent' | 'errored' | 'pending';
4812
+ /** @description Page number to fetch (1-indexed) */
4698
4813
  page?: components['parameters']['PageQuery'];
4699
- item?: components['parameters']['ItemsQuery'];
4700
- sort_attribute?: components['parameters']['SortAttributeQuery'];
4701
- sort_direction?: components['parameters']['SortDirectionQuery'];
4814
+ /** @description Number of items per page */
4815
+ items?: components['parameters']['ItemsQuery'];
4816
+ /** @description Attribute to sort the results by */
4817
+ sort_attribute?: 'last_sent_at' | 'created_at' | 'id' | 'uuid';
4818
+ /** @description Direction to sort the results */
4819
+ sort_direction?: 'ASC' | 'DESC';
4820
+ site_id?: number;
4821
+ recaptcha?: boolean;
4822
+ sent?: boolean;
4823
+ spam_checked?: boolean;
4824
+ automatically_marked_spam?: boolean;
4825
+ ip?: string;
4826
+ host?: string;
4827
+ explicitly_marked_status?: number;
4828
+ inbox_uuid?: string;
4829
+ has_error?: string | number | boolean;
4830
+ has_spam_check_error?: string | number | boolean;
4831
+ cleared_at_lt?: string;
4832
+ cleared_at_gt?: string;
4833
+ cleared_at_lte?: string;
4834
+ cleared_at_gte?: string;
4835
+ last_sent_at_lt?: string;
4836
+ last_sent_at_gt?: string;
4837
+ last_sent_at_lte?: string;
4838
+ last_sent_at_gte?: string;
4839
+ sent_count_lt?: number;
4840
+ sent_count_gt?: number;
4841
+ sent_count_lte?: number;
4842
+ sent_count_gte?: number;
4843
+ site_uuid?: string;
4844
+ org_uuid?: string;
4845
+ org_id?: number;
4846
+ updated_at_lt?: string;
4847
+ updated_at_gt?: string;
4848
+ updated_at_lte?: string;
4849
+ updated_at_gte?: string;
4850
+ uuid?: string;
4851
+ id?: number;
4852
+ created_at_lt?: string;
4853
+ created_at_gt?: string;
4854
+ created_at_lte?: string;
4855
+ created_at_gte?: string;
4856
+ search?: string;
4702
4857
  };
4703
4858
  header?: never;
4704
4859
  path: {
@@ -4711,11 +4866,11 @@ export interface operations {
4711
4866
  /** @description OK */
4712
4867
  200: {
4713
4868
  headers: {
4714
- /** @description null */
4869
+ /** @description The current page number */
4715
4870
  current_page?: string;
4716
- /** @description null */
4871
+ /** @description The total number of items across all pages */
4717
4872
  total_items?: string;
4718
- /** @description null */
4873
+ /** @description The total number of pages available */
4719
4874
  total_pages?: string;
4720
4875
  [name: string]: unknown;
4721
4876
  };
@@ -4816,7 +4971,52 @@ export interface operations {
4816
4971
  };
4817
4972
  Organizations_Index: {
4818
4973
  parameters: {
4819
- query?: never;
4974
+ query?: {
4975
+ /** @description Page number to fetch (1-indexed) */
4976
+ page?: components['parameters']['PageQuery'];
4977
+ /** @description Number of items per page */
4978
+ items?: components['parameters']['ItemsQuery'];
4979
+ /** @description Attribute to sort the results by */
4980
+ sort_attribute?: 'id' | 'uuid' | 'name' | 'partner_points' | 'updated_at';
4981
+ /** @description Direction to sort the results */
4982
+ sort_direction?: 'ASC' | 'DESC';
4983
+ hubspot_migrated?: boolean;
4984
+ organisation_type?: string;
4985
+ country?: string;
4986
+ partner_organisation_id?: number;
4987
+ billing_status?: string;
4988
+ has_partner_organisation_id?: number;
4989
+ expired?: string | number | boolean;
4990
+ has_address?: string | number | boolean;
4991
+ has_organisation_type?: string | number | boolean;
4992
+ locked?: string | number | boolean;
4993
+ has_billing_name?: string | number | boolean;
4994
+ has_billing_email?: string | number | boolean;
4995
+ hosting_limit_exceeded?: boolean;
4996
+ build_time_limit_exceeded?: boolean;
4997
+ user_limit_exceeded?: boolean;
4998
+ domain_limit_exceeded?: boolean;
4999
+ provider_account_linked?: string | number | boolean;
5000
+ user_uuid?: string;
5001
+ trial?: string | number | boolean;
5002
+ plan_period?: string | number | boolean;
5003
+ pricing_version_is_current?: string | number | boolean;
5004
+ in_partner_program?: string | number | boolean;
5005
+ given_user_is_sole_owner?: string | number | boolean;
5006
+ plan?: string;
5007
+ storage_provider_uuid?: string;
5008
+ updated_at_lt?: string;
5009
+ updated_at_gt?: string;
5010
+ updated_at_lte?: string;
5011
+ updated_at_gte?: string;
5012
+ uuid?: string;
5013
+ id?: number;
5014
+ created_at_lt?: string;
5015
+ created_at_gt?: string;
5016
+ created_at_lte?: string;
5017
+ created_at_gte?: string;
5018
+ search?: string;
5019
+ };
4820
5020
  header?: never;
4821
5021
  path?: never;
4822
5022
  cookie?: never;
@@ -4826,12 +5026,19 @@ export interface operations {
4826
5026
  /** @description OK */
4827
5027
  200: {
4828
5028
  headers: {
5029
+ /** @description The current page number */
5030
+ current_page?: string;
5031
+ /** @description The total number of items across all pages */
5032
+ total_items?: string;
5033
+ /** @description The total number of pages available */
5034
+ total_pages?: string;
4829
5035
  [name: string]: unknown;
4830
5036
  };
4831
5037
  content: {
4832
5038
  'application/json': components['schemas']['OrgBlueprintNormal'][];
4833
5039
  };
4834
5040
  };
5041
+ 403: components['responses']['ForbiddenResp'];
4835
5042
  };
4836
5043
  };
4837
5044
  Organizations_Show: {
@@ -4907,10 +5114,34 @@ export interface operations {
4907
5114
  'Organization Activity_Index': {
4908
5115
  parameters: {
4909
5116
  query?: {
5117
+ /** @description Page number to fetch (1-indexed) */
4910
5118
  page?: components['parameters']['PageQuery'];
4911
- item?: components['parameters']['ItemsQuery'];
4912
- sort_attribute?: components['parameters']['SortAttributeQuery'];
4913
- sort_direction?: components['parameters']['SortDirectionQuery'];
5119
+ /** @description Number of items per page */
5120
+ items?: components['parameters']['ItemsQuery'];
5121
+ /** @description Attribute to sort the results by */
5122
+ sort_attribute?: 'id' | 'uuid' | 'updated_at' | 'happened_at' | 'created_at';
5123
+ /** @description Direction to sort the results */
5124
+ sort_direction?: 'ASC' | 'DESC';
5125
+ size_gte?: string | number | boolean;
5126
+ site_id?: number;
5127
+ size_lt?: string | number | boolean;
5128
+ size_gt?: string | number | boolean;
5129
+ size_lte?: string | number | boolean;
5130
+ organisation_uuid?: string;
5131
+ site_uuid?: string;
5132
+ org_uuid?: string;
5133
+ org_id?: number;
5134
+ updated_at_lt?: string;
5135
+ updated_at_gt?: string;
5136
+ updated_at_lte?: string;
5137
+ updated_at_gte?: string;
5138
+ uuid?: string;
5139
+ id?: number;
5140
+ created_at_lt?: string;
5141
+ created_at_gt?: string;
5142
+ created_at_lte?: string;
5143
+ created_at_gte?: string;
5144
+ search?: string;
4914
5145
  };
4915
5146
  header?: never;
4916
5147
  path: {
@@ -4923,11 +5154,11 @@ export interface operations {
4923
5154
  /** @description OK */
4924
5155
  200: {
4925
5156
  headers: {
4926
- /** @description null */
5157
+ /** @description The current page number */
4927
5158
  current_page?: string;
4928
- /** @description null */
5159
+ /** @description The total number of items across all pages */
4929
5160
  total_items?: string;
4930
- /** @description null */
5161
+ /** @description The total number of pages available */
4931
5162
  total_pages?: string;
4932
5163
  [name: string]: unknown;
4933
5164
  };
@@ -4941,10 +5172,33 @@ export interface operations {
4941
5172
  'Base Domains_Index': {
4942
5173
  parameters: {
4943
5174
  query?: {
5175
+ /** @description Page number to fetch (1-indexed) */
4944
5176
  page?: components['parameters']['PageQuery'];
4945
- item?: components['parameters']['ItemsQuery'];
4946
- sort_attribute?: components['parameters']['SortAttributeQuery'];
4947
- sort_direction?: components['parameters']['SortDirectionQuery'];
5177
+ /** @description Number of items per page */
5178
+ items?: components['parameters']['ItemsQuery'];
5179
+ /** @description Attribute to sort the results by */
5180
+ sort_attribute?: 'id' | 'uuid' | 'base_domain' | 'auto_generate_ssl_failures' | 'next_ssl_generate_attempt_at';
5181
+ /** @description Direction to sort the results */
5182
+ sort_direction?: 'ASC' | 'DESC';
5183
+ organisation_id?: number;
5184
+ base_domain?: string;
5185
+ has_zone_id?: number;
5186
+ has_cloudflare_zone_id?: number;
5187
+ has_cloudflare_zone_create_error?: string | number | boolean;
5188
+ uses_dns?: boolean;
5189
+ organisation_uuid?: string;
5190
+ auto_ssl_retries?: string | number | boolean;
5191
+ updated_at_lt?: string | number | boolean;
5192
+ updated_at_gt?: string | number | boolean;
5193
+ updated_at_lte?: string | number | boolean;
5194
+ updated_at_gte?: string | number | boolean;
5195
+ uuid?: string;
5196
+ id?: number;
5197
+ created_at_lt?: string | number | boolean;
5198
+ created_at_gt?: string | number | boolean;
5199
+ created_at_lte?: string | number | boolean;
5200
+ created_at_gte?: string | number | boolean;
5201
+ search?: string;
4948
5202
  };
4949
5203
  header?: never;
4950
5204
  path: {
@@ -4957,11 +5211,11 @@ export interface operations {
4957
5211
  /** @description OK */
4958
5212
  200: {
4959
5213
  headers: {
4960
- /** @description null */
5214
+ /** @description The current page number */
4961
5215
  current_page?: string;
4962
- /** @description null */
5216
+ /** @description The total number of items across all pages */
4963
5217
  total_items?: string;
4964
- /** @description null */
5218
+ /** @description The total number of pages available */
4965
5219
  total_pages?: string;
4966
5220
  [name: string]: unknown;
4967
5221
  };
@@ -5052,10 +5306,31 @@ export interface operations {
5052
5306
  DAMs_Index: {
5053
5307
  parameters: {
5054
5308
  query?: {
5309
+ /** @description Page number to fetch (1-indexed) */
5055
5310
  page?: components['parameters']['PageQuery'];
5056
- item?: components['parameters']['ItemsQuery'];
5057
- sort_attribute?: components['parameters']['SortAttributeQuery'];
5058
- sort_direction?: components['parameters']['SortDirectionQuery'];
5311
+ /** @description Number of items per page */
5312
+ items?: components['parameters']['ItemsQuery'];
5313
+ /** @description Attribute to sort the results by */
5314
+ sort_attribute?: 'id' | 'uuid' | 'name' | 'type' | 'base_url';
5315
+ /** @description Direction to sort the results */
5316
+ sort_direction?: 'ASC' | 'DESC';
5317
+ name?: string;
5318
+ dam_type?: string;
5319
+ organisation_id?: number;
5320
+ organisation_uuid?: string;
5321
+ unlinked_site_uuid?: string;
5322
+ site_uuid?: string;
5323
+ updated_at_lt?: string;
5324
+ updated_at_gt?: string;
5325
+ updated_at_lte?: string;
5326
+ updated_at_gte?: string;
5327
+ uuid?: string;
5328
+ id?: number;
5329
+ created_at_lt?: string;
5330
+ created_at_gt?: string;
5331
+ created_at_lte?: string;
5332
+ created_at_gte?: string;
5333
+ search?: string;
5059
5334
  };
5060
5335
  header?: never;
5061
5336
  path: {
@@ -5068,11 +5343,11 @@ export interface operations {
5068
5343
  /** @description OK */
5069
5344
  200: {
5070
5345
  headers: {
5071
- /** @description null */
5346
+ /** @description The current page number */
5072
5347
  current_page?: string;
5073
- /** @description null */
5348
+ /** @description The total number of items across all pages */
5074
5349
  total_items?: string;
5075
- /** @description null */
5350
+ /** @description The total number of pages available */
5076
5351
  total_pages?: string;
5077
5352
  [name: string]: unknown;
5078
5353
  };
@@ -5122,10 +5397,30 @@ export interface operations {
5122
5397
  'Organization Inboxes_Index': {
5123
5398
  parameters: {
5124
5399
  query?: {
5400
+ /** @description Page number to fetch (1-indexed) */
5125
5401
  page?: components['parameters']['PageQuery'];
5126
- item?: components['parameters']['ItemsQuery'];
5127
- sort_attribute?: components['parameters']['SortAttributeQuery'];
5128
- sort_direction?: components['parameters']['SortDirectionQuery'];
5402
+ /** @description Number of items per page */
5403
+ items?: components['parameters']['ItemsQuery'];
5404
+ /** @description Attribute to sort the results by */
5405
+ sort_attribute?: 'created_at' | 'updated_at' | 'id' | 'key' | 'name' | 'uuid';
5406
+ /** @description Direction to sort the results */
5407
+ sort_direction?: 'ASC' | 'DESC';
5408
+ name?: string;
5409
+ organisation_id?: number;
5410
+ captcha_type?: string;
5411
+ site_uuid?: string;
5412
+ organisation_uuid?: string;
5413
+ updated_at_lt?: string;
5414
+ updated_at_gt?: string;
5415
+ updated_at_lte?: string;
5416
+ updated_at_gte?: string;
5417
+ uuid?: string;
5418
+ id?: number;
5419
+ created_at_lt?: string;
5420
+ created_at_gt?: string;
5421
+ created_at_lte?: string;
5422
+ created_at_gte?: string;
5423
+ search?: string;
5129
5424
  };
5130
5425
  header?: never;
5131
5426
  path: {
@@ -5138,11 +5433,11 @@ export interface operations {
5138
5433
  /** @description OK */
5139
5434
  200: {
5140
5435
  headers: {
5141
- /** @description null */
5436
+ /** @description The current page number */
5142
5437
  current_page?: string;
5143
- /** @description null */
5438
+ /** @description The total number of items across all pages */
5144
5439
  total_items?: string;
5145
- /** @description null */
5440
+ /** @description The total number of pages available */
5146
5441
  total_pages?: string;
5147
5442
  [name: string]: unknown;
5148
5443
  };
@@ -5193,10 +5488,32 @@ export interface operations {
5193
5488
  Projects_Index: {
5194
5489
  parameters: {
5195
5490
  query?: {
5491
+ /** @description Page number to fetch (1-indexed) */
5196
5492
  page?: components['parameters']['PageQuery'];
5197
- item?: components['parameters']['ItemsQuery'];
5198
- sort_attribute?: components['parameters']['SortAttributeQuery'];
5199
- sort_direction?: components['parameters']['SortDirectionQuery'];
5493
+ /** @description Number of items per page */
5494
+ items?: components['parameters']['ItemsQuery'];
5495
+ /** @description Attribute to sort the results by */
5496
+ sort_attribute?: 'id' | 'uuid' | 'name' | 'external_url' | 'git_repository' | 'main_git_branch' | 'updated_at' | 'created_at' | 'last_synced' | 'last_compiled' | 'last_compiled_success' | 'provider';
5497
+ /** @description Direction to sort the results */
5498
+ sort_direction?: 'ASC' | 'DESC';
5499
+ git_repository?: string;
5500
+ last_synced?: string;
5501
+ last_compiled?: string;
5502
+ last_compiled_success?: string;
5503
+ name?: string;
5504
+ organisation_id?: number;
5505
+ organisation_uuid?: string;
5506
+ updated_at_lt?: string;
5507
+ updated_at_gt?: string;
5508
+ updated_at_lte?: string;
5509
+ updated_at_gte?: string;
5510
+ uuid?: string;
5511
+ id?: number;
5512
+ created_at_lt?: string;
5513
+ created_at_gt?: string;
5514
+ created_at_lte?: string;
5515
+ created_at_gte?: string;
5516
+ search?: string;
5200
5517
  };
5201
5518
  header?: never;
5202
5519
  path: {
@@ -5209,11 +5526,11 @@ export interface operations {
5209
5526
  /** @description OK */
5210
5527
  200: {
5211
5528
  headers: {
5212
- /** @description null */
5529
+ /** @description The current page number */
5213
5530
  current_page?: string;
5214
- /** @description null */
5531
+ /** @description The total number of items across all pages */
5215
5532
  total_items?: string;
5216
- /** @description null */
5533
+ /** @description The total number of pages available */
5217
5534
  total_pages?: string;
5218
5535
  [name: string]: unknown;
5219
5536
  };
@@ -5244,11 +5561,18 @@ export interface operations {
5244
5561
  default_authentication?: string | null;
5245
5562
  default_publish_mode?: string | null;
5246
5563
  default_password?: Record<string, never>;
5564
+ pr_features_enabled?: boolean;
5247
5565
  git_repository: string;
5248
5566
  allow_all_branching?: boolean;
5249
5567
  prevent_permissions_granted_on_branch?: boolean;
5250
5568
  main_git_branch?: string | null;
5251
5569
  provider: string;
5570
+ auto_create_site_on_pr?: boolean;
5571
+ auto_delete_site_on_pr_close?: boolean;
5572
+ auto_create_skip_drafts?: boolean;
5573
+ comment_on_pr?: boolean;
5574
+ pr_comment_skip_drafts?: boolean;
5575
+ pr_comment_footer?: string | null;
5252
5576
  };
5253
5577
  };
5254
5578
  };
@@ -5356,10 +5680,82 @@ export interface operations {
5356
5680
  Sites_Index: {
5357
5681
  parameters: {
5358
5682
  query?: {
5683
+ /** @description Page number to fetch (1-indexed) */
5359
5684
  page?: components['parameters']['PageQuery'];
5360
- item?: components['parameters']['ItemsQuery'];
5361
- sort_attribute?: components['parameters']['SortAttributeQuery'];
5362
- sort_direction?: components['parameters']['SortDirectionQuery'];
5685
+ /** @description Number of items per page */
5686
+ items?: components['parameters']['ItemsQuery'];
5687
+ /** @description Attribute to sort the results by */
5688
+ sort_attribute?: 'id' | 'uuid' | 'site_name' | 'domain_name' | 'created_at' | 'updated_at' | 'last_synced' | 'last_compressed' | 'last_compiled' | 'last_cleaned' | 'priority_domain_at' | 'storage_provider' | 'stable_domain' | 'subpath' | 'sync_error';
5689
+ /** @description Direction to sort the results */
5690
+ sort_direction?: 'ASC' | 'DESC';
5691
+ has_subpath?: string | number | boolean;
5692
+ has_client_password?: string | number | boolean;
5693
+ cloudflare_hostname?: string | number | boolean;
5694
+ locales?: string;
5695
+ sync_error?: string;
5696
+ compile_error?: string;
5697
+ files?: string;
5698
+ latest_hosted_build_id?: number;
5699
+ last_synced?: string;
5700
+ last_compiled?: string;
5701
+ last_compiled_success?: string;
5702
+ site_name?: string;
5703
+ base_domain_id?: number;
5704
+ domain_name?: string;
5705
+ ssl_certificate_id?: number;
5706
+ project_id?: number;
5707
+ project_uuid?: string;
5708
+ storage_provider?: string;
5709
+ output_storage_provider?: string;
5710
+ hosting_choice?: string;
5711
+ ssg?: string;
5712
+ authentication?: string;
5713
+ force_ssl?: boolean;
5714
+ editing_locked?: boolean;
5715
+ uploads_locked?: boolean;
5716
+ browsing_locked?: boolean;
5717
+ building_locked?: boolean;
5718
+ uses_i18n?: boolean;
5719
+ auto_generate_ssl?: boolean;
5720
+ organisation_id?: number;
5721
+ use_rbenv_builds?: boolean;
5722
+ needs_clean?: boolean;
5723
+ has_storage_provider?: string | number | boolean;
5724
+ has_output_storage_provider?: string | number | boolean;
5725
+ has_source?: string | number | boolean;
5726
+ has_domain_name?: string | number | boolean;
5727
+ has_unsaved_changes?: string | number | boolean;
5728
+ error?: string | number | boolean;
5729
+ compiled?: string | number | boolean;
5730
+ last_compiled_status?: string | number | boolean;
5731
+ base_domain_uuid?: string;
5732
+ cloudflare_hostname_uuid?: string;
5733
+ cloudflare_error?: string;
5734
+ dam_uuid?: string;
5735
+ publish_branch?: string | number | boolean;
5736
+ owner_locked?: string | number | boolean;
5737
+ owner_trial?: string | number | boolean;
5738
+ ssl_certificate?: string | number | boolean;
5739
+ ssl_certificate_expired?: string | number | boolean;
5740
+ bearer_tokens?: string | number | boolean;
5741
+ site_scanner?: string | number | boolean;
5742
+ old_includes?: string | number | boolean;
5743
+ inbox_uuid?: string;
5744
+ repeatables?: string | number | boolean;
5745
+ storage_provider_details_full_name?: string | number | boolean;
5746
+ source?: string | number | boolean;
5747
+ organisation_uuid?: string;
5748
+ updated_at_lt?: string;
5749
+ updated_at_gt?: string;
5750
+ updated_at_lte?: string;
5751
+ updated_at_gte?: string;
5752
+ uuid?: string;
5753
+ id?: number;
5754
+ created_at_lt?: string;
5755
+ created_at_gt?: string;
5756
+ created_at_lte?: string;
5757
+ created_at_gte?: string;
5758
+ search?: string;
5363
5759
  };
5364
5760
  header?: never;
5365
5761
  path: {
@@ -5372,11 +5768,11 @@ export interface operations {
5372
5768
  /** @description OK */
5373
5769
  200: {
5374
5770
  headers: {
5375
- /** @description null */
5771
+ /** @description The current page number */
5376
5772
  current_page?: string;
5377
- /** @description null */
5773
+ /** @description The total number of items across all pages */
5378
5774
  total_items?: string;
5379
- /** @description null */
5775
+ /** @description The total number of pages available */
5380
5776
  total_pages?: string;
5381
5777
  [name: string]: unknown;
5382
5778
  };
@@ -5470,10 +5866,35 @@ export interface operations {
5470
5866
  'Ssl Certificates_Index': {
5471
5867
  parameters: {
5472
5868
  query?: {
5869
+ /** @description Page number to fetch (1-indexed) */
5473
5870
  page?: components['parameters']['PageQuery'];
5474
- item?: components['parameters']['ItemsQuery'];
5475
- sort_attribute?: components['parameters']['SortAttributeQuery'];
5476
- sort_direction?: components['parameters']['SortDirectionQuery'];
5871
+ /** @description Number of items per page */
5872
+ items?: components['parameters']['ItemsQuery'];
5873
+ /** @description Attribute to sort the results by */
5874
+ sort_attribute?: 'id' | 'uuid' | 'name' | 'expires_at' | 'created_at';
5875
+ /** @description Direction to sort the results */
5876
+ sort_direction?: 'ASC' | 'DESC';
5877
+ expires_at_lt?: string;
5878
+ expires_at_gt?: string;
5879
+ expires_at_lte?: string;
5880
+ expires_at_gte?: string;
5881
+ autorenew?: boolean;
5882
+ has_cloudflare_id?: number;
5883
+ name?: string;
5884
+ organisation_id?: number;
5885
+ organisation_uuid?: string;
5886
+ expired?: string | number | boolean;
5887
+ updated_at_lt?: string;
5888
+ updated_at_gt?: string;
5889
+ updated_at_lte?: string;
5890
+ updated_at_gte?: string;
5891
+ uuid?: string;
5892
+ id?: number;
5893
+ created_at_lt?: string;
5894
+ created_at_gt?: string;
5895
+ created_at_lte?: string;
5896
+ created_at_gte?: string;
5897
+ search?: string;
5477
5898
  };
5478
5899
  header?: never;
5479
5900
  path: {
@@ -5486,11 +5907,11 @@ export interface operations {
5486
5907
  /** @description OK */
5487
5908
  200: {
5488
5909
  headers: {
5489
- /** @description null */
5910
+ /** @description The current page number */
5490
5911
  current_page?: string;
5491
- /** @description null */
5912
+ /** @description The total number of items across all pages */
5492
5913
  total_items?: string;
5493
- /** @description null */
5914
+ /** @description The total number of pages available */
5494
5915
  total_pages?: string;
5495
5916
  [name: string]: unknown;
5496
5917
  };
@@ -5518,9 +5939,9 @@ export interface operations {
5518
5939
  expires_at: string;
5519
5940
  crt: string;
5520
5941
  key: string;
5521
- chain: string;
5942
+ chain?: string;
5522
5943
  autorenew?: boolean | null;
5523
- cipher: string;
5944
+ cipher?: string;
5524
5945
  };
5525
5946
  };
5526
5947
  };
@@ -5670,6 +6091,7 @@ export interface operations {
5670
6091
  default_authentication?: string | null;
5671
6092
  default_publish_mode?: string | null;
5672
6093
  default_password?: Record<string, never>;
6094
+ pr_features_enabled?: boolean;
5673
6095
  };
5674
6096
  };
5675
6097
  };
@@ -5710,6 +6132,30 @@ export interface operations {
5710
6132
  403: components['responses']['ForbiddenResp'];
5711
6133
  };
5712
6134
  };
6135
+ 'Project Git_Branches': {
6136
+ parameters: {
6137
+ query?: never;
6138
+ header?: never;
6139
+ path: {
6140
+ project_uuid: components['schemas']['UUID'];
6141
+ };
6142
+ cookie?: never;
6143
+ };
6144
+ requestBody?: never;
6145
+ responses: {
6146
+ /** @description OK */
6147
+ 200: {
6148
+ headers: {
6149
+ [name: string]: unknown;
6150
+ };
6151
+ content: {
6152
+ 'application/json': components['schemas']['BranchSchema'][];
6153
+ };
6154
+ };
6155
+ 401: components['responses']['UnauthorizedResp'];
6156
+ 403: components['responses']['ForbiddenResp'];
6157
+ };
6158
+ };
5713
6159
  Projects_UpdateGit: {
5714
6160
  parameters: {
5715
6161
  query?: never;
@@ -5745,13 +6191,133 @@ export interface operations {
5745
6191
  422: components['responses']['ErrorResp'];
5746
6192
  };
5747
6193
  };
6194
+ 'Project Git_PullRequests': {
6195
+ parameters: {
6196
+ query?: never;
6197
+ header?: never;
6198
+ path: {
6199
+ project_uuid: components['schemas']['UUID'];
6200
+ };
6201
+ cookie?: never;
6202
+ };
6203
+ requestBody?: never;
6204
+ responses: {
6205
+ /** @description OK */
6206
+ 200: {
6207
+ headers: {
6208
+ [name: string]: unknown;
6209
+ };
6210
+ content: {
6211
+ 'application/json': components['schemas']['PullRequestSchema'][];
6212
+ };
6213
+ };
6214
+ 401: components['responses']['UnauthorizedResp'];
6215
+ 403: components['responses']['ForbiddenResp'];
6216
+ };
6217
+ };
6218
+ Projects_RefreshPrComments: {
6219
+ parameters: {
6220
+ query?: never;
6221
+ header?: never;
6222
+ path: {
6223
+ project_uuid: components['schemas']['UUID'];
6224
+ };
6225
+ cookie?: never;
6226
+ };
6227
+ requestBody?: never;
6228
+ responses: {
6229
+ /** @description OK */
6230
+ 200: {
6231
+ headers: {
6232
+ [name: string]: unknown;
6233
+ };
6234
+ content: {
6235
+ 'application/json': components['schemas']['ProjectBlueprint'];
6236
+ };
6237
+ };
6238
+ 401: components['responses']['UnauthorizedResp'];
6239
+ 403: components['responses']['ForbiddenResp'];
6240
+ };
6241
+ };
5748
6242
  Projects_Sites: {
5749
6243
  parameters: {
5750
6244
  query?: {
6245
+ /** @description Page number to fetch (1-indexed) */
5751
6246
  page?: components['parameters']['PageQuery'];
5752
- item?: components['parameters']['ItemsQuery'];
5753
- sort_attribute?: components['parameters']['SortAttributeQuery'];
5754
- sort_direction?: components['parameters']['SortDirectionQuery'];
6247
+ /** @description Number of items per page */
6248
+ items?: components['parameters']['ItemsQuery'];
6249
+ /** @description Attribute to sort the results by */
6250
+ sort_attribute?: 'id' | 'uuid' | 'site_name' | 'domain_name' | 'created_at' | 'updated_at' | 'last_synced' | 'last_compressed' | 'last_compiled' | 'last_cleaned' | 'priority_domain_at' | 'storage_provider' | 'stable_domain' | 'subpath' | 'sync_error';
6251
+ /** @description Direction to sort the results */
6252
+ sort_direction?: 'ASC' | 'DESC';
6253
+ has_subpath?: string | number | boolean;
6254
+ has_client_password?: string | number | boolean;
6255
+ cloudflare_hostname?: string | number | boolean;
6256
+ locales?: string;
6257
+ sync_error?: string;
6258
+ compile_error?: string;
6259
+ files?: string;
6260
+ latest_hosted_build_id?: number;
6261
+ last_synced?: string;
6262
+ last_compiled?: string;
6263
+ last_compiled_success?: string;
6264
+ site_name?: string;
6265
+ base_domain_id?: number;
6266
+ domain_name?: string;
6267
+ ssl_certificate_id?: number;
6268
+ project_id?: number;
6269
+ project_uuid?: string;
6270
+ storage_provider?: string;
6271
+ output_storage_provider?: string;
6272
+ hosting_choice?: string;
6273
+ ssg?: string;
6274
+ authentication?: string;
6275
+ force_ssl?: boolean;
6276
+ editing_locked?: boolean;
6277
+ uploads_locked?: boolean;
6278
+ browsing_locked?: boolean;
6279
+ building_locked?: boolean;
6280
+ uses_i18n?: boolean;
6281
+ auto_generate_ssl?: boolean;
6282
+ organisation_id?: number;
6283
+ use_rbenv_builds?: boolean;
6284
+ needs_clean?: boolean;
6285
+ has_storage_provider?: string | number | boolean;
6286
+ has_output_storage_provider?: string | number | boolean;
6287
+ has_source?: string | number | boolean;
6288
+ has_domain_name?: string | number | boolean;
6289
+ has_unsaved_changes?: string | number | boolean;
6290
+ error?: string | number | boolean;
6291
+ compiled?: string | number | boolean;
6292
+ last_compiled_status?: string | number | boolean;
6293
+ base_domain_uuid?: string;
6294
+ cloudflare_hostname_uuid?: string;
6295
+ cloudflare_error?: string;
6296
+ dam_uuid?: string;
6297
+ publish_branch?: string | number | boolean;
6298
+ owner_locked?: string | number | boolean;
6299
+ owner_trial?: string | number | boolean;
6300
+ ssl_certificate?: string | number | boolean;
6301
+ ssl_certificate_expired?: string | number | boolean;
6302
+ bearer_tokens?: string | number | boolean;
6303
+ site_scanner?: string | number | boolean;
6304
+ old_includes?: string | number | boolean;
6305
+ inbox_uuid?: string;
6306
+ repeatables?: string | number | boolean;
6307
+ storage_provider_details_full_name?: string | number | boolean;
6308
+ source?: string | number | boolean;
6309
+ organisation_uuid?: string;
6310
+ updated_at_lt?: string;
6311
+ updated_at_gt?: string;
6312
+ updated_at_lte?: string;
6313
+ updated_at_gte?: string;
6314
+ uuid?: string;
6315
+ id?: number;
6316
+ created_at_lt?: string;
6317
+ created_at_gt?: string;
6318
+ created_at_lte?: string;
6319
+ created_at_gte?: string;
6320
+ search?: string;
5755
6321
  };
5756
6322
  header?: never;
5757
6323
  path: {
@@ -5764,11 +6330,11 @@ export interface operations {
5764
6330
  /** @description OK */
5765
6331
  200: {
5766
6332
  headers: {
5767
- /** @description null */
6333
+ /** @description The current page number */
5768
6334
  current_page?: string;
5769
- /** @description null */
6335
+ /** @description The total number of items across all pages */
5770
6336
  total_items?: string;
5771
- /** @description null */
6337
+ /** @description The total number of pages available */
5772
6338
  total_pages?: string;
5773
6339
  [name: string]: unknown;
5774
6340
  };
@@ -5887,7 +6453,7 @@ export interface operations {
5887
6453
  requestBody: {
5888
6454
  content: {
5889
6455
  'application/json': {
5890
- dam_uuid: string;
6456
+ dam_uuid?: string;
5891
6457
  uploads_locked?: boolean;
5892
6458
  config?: {
5893
6459
  [key: string]: unknown;
@@ -6110,7 +6676,6 @@ export interface operations {
6110
6676
  editing_locked?: boolean | null;
6111
6677
  active_quest?: string | null;
6112
6678
  cloudcannon_config_path?: string | null;
6113
- stable_domain?: string;
6114
6679
  flags?: {
6115
6680
  [key: string]: unknown;
6116
6681
  };
@@ -6154,10 +6719,34 @@ export interface operations {
6154
6719
  'Site Activity_Index': {
6155
6720
  parameters: {
6156
6721
  query?: {
6722
+ /** @description Page number to fetch (1-indexed) */
6157
6723
  page?: components['parameters']['PageQuery'];
6158
- item?: components['parameters']['ItemsQuery'];
6159
- sort_attribute?: components['parameters']['SortAttributeQuery'];
6160
- sort_direction?: components['parameters']['SortDirectionQuery'];
6724
+ /** @description Number of items per page */
6725
+ items?: components['parameters']['ItemsQuery'];
6726
+ /** @description Attribute to sort the results by */
6727
+ sort_attribute?: 'id' | 'uuid' | 'updated_at' | 'happened_at' | 'created_at';
6728
+ /** @description Direction to sort the results */
6729
+ sort_direction?: 'ASC' | 'DESC';
6730
+ size_gte?: string | number | boolean;
6731
+ site_id?: number;
6732
+ size_lt?: string | number | boolean;
6733
+ size_gt?: string | number | boolean;
6734
+ size_lte?: string | number | boolean;
6735
+ organisation_uuid?: string;
6736
+ site_uuid?: string;
6737
+ org_uuid?: string;
6738
+ org_id?: number;
6739
+ updated_at_lt?: string;
6740
+ updated_at_gt?: string;
6741
+ updated_at_lte?: string;
6742
+ updated_at_gte?: string;
6743
+ uuid?: string;
6744
+ id?: number;
6745
+ created_at_lt?: string;
6746
+ created_at_gt?: string;
6747
+ created_at_lte?: string;
6748
+ created_at_gte?: string;
6749
+ search?: string;
6161
6750
  };
6162
6751
  header?: never;
6163
6752
  path: {
@@ -6170,11 +6759,11 @@ export interface operations {
6170
6759
  /** @description OK */
6171
6760
  200: {
6172
6761
  headers: {
6173
- /** @description null */
6762
+ /** @description The current page number */
6174
6763
  current_page?: string;
6175
- /** @description null */
6764
+ /** @description The total number of items across all pages */
6176
6765
  total_items?: string;
6177
- /** @description null */
6766
+ /** @description The total number of pages available */
6178
6767
  total_pages?: string;
6179
6768
  [name: string]: unknown;
6180
6769
  };
@@ -6323,10 +6912,33 @@ export interface operations {
6323
6912
  Backups_Index: {
6324
6913
  parameters: {
6325
6914
  query?: {
6915
+ /** @description Page number to fetch (1-indexed) */
6326
6916
  page?: components['parameters']['PageQuery'];
6327
- item?: components['parameters']['ItemsQuery'];
6328
- sort_attribute?: components['parameters']['SortAttributeQuery'];
6329
- sort_direction?: components['parameters']['SortDirectionQuery'];
6917
+ /** @description Number of items per page */
6918
+ items?: components['parameters']['ItemsQuery'];
6919
+ /** @description Attribute to sort the results by */
6920
+ sort_attribute?: 'id' | 'uuid' | 'created_at';
6921
+ /** @description Direction to sort the results */
6922
+ sort_direction?: 'ASC' | 'DESC';
6923
+ size_gte?: number;
6924
+ site_id?: number;
6925
+ size_lt?: number;
6926
+ size_gt?: number;
6927
+ size_lte?: number;
6928
+ site_uuid?: string;
6929
+ org_uuid?: string;
6930
+ org_id?: number;
6931
+ updated_at_lt?: string;
6932
+ updated_at_gt?: string;
6933
+ updated_at_lte?: string;
6934
+ updated_at_gte?: string;
6935
+ uuid?: string;
6936
+ id?: number;
6937
+ created_at_lt?: string;
6938
+ created_at_gt?: string;
6939
+ created_at_lte?: string;
6940
+ created_at_gte?: string;
6941
+ search?: string;
6330
6942
  };
6331
6943
  header?: never;
6332
6944
  path: {
@@ -6339,11 +6951,11 @@ export interface operations {
6339
6951
  /** @description OK */
6340
6952
  200: {
6341
6953
  headers: {
6342
- /** @description null */
6954
+ /** @description The current page number */
6343
6955
  current_page?: string;
6344
- /** @description null */
6956
+ /** @description The total number of items across all pages */
6345
6957
  total_items?: string;
6346
- /** @description null */
6958
+ /** @description The total number of pages available */
6347
6959
  total_pages?: string;
6348
6960
  [name: string]: unknown;
6349
6961
  };
@@ -6363,7 +6975,13 @@ export interface operations {
6363
6975
  };
6364
6976
  cookie?: never;
6365
6977
  };
6366
- requestBody?: never;
6978
+ requestBody: {
6979
+ content: {
6980
+ 'application/json': {
6981
+ exclude_git?: boolean;
6982
+ };
6983
+ };
6984
+ };
6367
6985
  responses: {
6368
6986
  /** @description Created */
6369
6987
  201: {
@@ -6412,10 +7030,30 @@ export interface operations {
6412
7030
  'Site Bearer Tokens_Index': {
6413
7031
  parameters: {
6414
7032
  query?: {
7033
+ /** @description Page number to fetch (1-indexed) */
6415
7034
  page?: components['parameters']['PageQuery'];
6416
- item?: components['parameters']['ItemsQuery'];
6417
- sort_attribute?: components['parameters']['SortAttributeQuery'];
6418
- sort_direction?: components['parameters']['SortDirectionQuery'];
7035
+ /** @description Number of items per page */
7036
+ items?: components['parameters']['ItemsQuery'];
7037
+ /** @description Attribute to sort the results by */
7038
+ sort_attribute?: 'id' | 'uuid';
7039
+ /** @description Direction to sort the results */
7040
+ sort_direction?: 'ASC' | 'DESC';
7041
+ name?: string;
7042
+ token?: string;
7043
+ site_id?: number;
7044
+ site_uuid?: string;
7045
+ org_uuid?: string;
7046
+ org_id?: number;
7047
+ updated_at_lt?: string;
7048
+ updated_at_gt?: string;
7049
+ updated_at_lte?: string;
7050
+ updated_at_gte?: string;
7051
+ uuid?: string;
7052
+ id?: number;
7053
+ created_at_lt?: string;
7054
+ created_at_gt?: string;
7055
+ created_at_lte?: string;
7056
+ created_at_gte?: string;
6419
7057
  };
6420
7058
  header?: never;
6421
7059
  path: {
@@ -6428,11 +7066,11 @@ export interface operations {
6428
7066
  /** @description OK */
6429
7067
  200: {
6430
7068
  headers: {
6431
- /** @description null */
7069
+ /** @description The current page number */
6432
7070
  current_page?: string;
6433
- /** @description null */
7071
+ /** @description The total number of items across all pages */
6434
7072
  total_items?: string;
6435
- /** @description null */
7073
+ /** @description The total number of pages available */
6436
7074
  total_pages?: string;
6437
7075
  [name: string]: unknown;
6438
7076
  };
@@ -6566,10 +7204,30 @@ export interface operations {
6566
7204
  'Site Authentication Users_Index': {
6567
7205
  parameters: {
6568
7206
  query?: {
7207
+ /** @description Page number to fetch (1-indexed) */
6569
7208
  page?: components['parameters']['PageQuery'];
6570
- item?: components['parameters']['ItemsQuery'];
6571
- sort_attribute?: components['parameters']['SortAttributeQuery'];
6572
- sort_direction?: components['parameters']['SortDirectionQuery'];
7209
+ /** @description Number of items per page */
7210
+ items?: components['parameters']['ItemsQuery'];
7211
+ /** @description Attribute to sort the results by */
7212
+ sort_attribute?: 'id' | 'uuid';
7213
+ /** @description Direction to sort the results */
7214
+ sort_direction?: 'ASC' | 'DESC';
7215
+ email?: string;
7216
+ has_password?: string | number | boolean;
7217
+ site_id?: number;
7218
+ site_uuid?: string;
7219
+ org_uuid?: string;
7220
+ org_id?: number;
7221
+ updated_at_lt?: string;
7222
+ updated_at_gt?: string;
7223
+ updated_at_lte?: string;
7224
+ updated_at_gte?: string;
7225
+ uuid?: string;
7226
+ id?: number;
7227
+ created_at_lt?: string;
7228
+ created_at_gt?: string;
7229
+ created_at_lte?: string;
7230
+ created_at_gte?: string;
6573
7231
  };
6574
7232
  header?: never;
6575
7233
  path: {
@@ -6582,11 +7240,11 @@ export interface operations {
6582
7240
  /** @description OK */
6583
7241
  200: {
6584
7242
  headers: {
6585
- /** @description null */
7243
+ /** @description The current page number */
6586
7244
  current_page?: string;
6587
- /** @description null */
7245
+ /** @description The total number of items across all pages */
6588
7246
  total_items?: string;
6589
- /** @description null */
7247
+ /** @description The total number of pages available */
6590
7248
  total_pages?: string;
6591
7249
  [name: string]: unknown;
6592
7250
  };
@@ -6663,10 +7321,33 @@ export interface operations {
6663
7321
  Builds_Index: {
6664
7322
  parameters: {
6665
7323
  query?: {
7324
+ /** @description Page number to fetch (1-indexed) */
6666
7325
  page?: components['parameters']['PageQuery'];
6667
- item?: components['parameters']['ItemsQuery'];
6668
- sort_attribute?: components['parameters']['SortAttributeQuery'];
6669
- sort_direction?: components['parameters']['SortDirectionQuery'];
7326
+ /** @description Number of items per page */
7327
+ items?: components['parameters']['ItemsQuery'];
7328
+ /** @description Attribute to sort the results by */
7329
+ sort_attribute?: 'id' | 'uuid' | 'created_at';
7330
+ /** @description Direction to sort the results */
7331
+ sort_direction?: 'ASC' | 'DESC';
7332
+ name?: string;
7333
+ site_id?: number;
7334
+ completed_at?: string;
7335
+ successful?: boolean;
7336
+ pinnable?: boolean;
7337
+ site_uuid?: string;
7338
+ org_uuid?: string;
7339
+ org_id?: number;
7340
+ updated_at_lt?: string;
7341
+ updated_at_gt?: string;
7342
+ updated_at_lte?: string;
7343
+ updated_at_gte?: string;
7344
+ uuid?: string;
7345
+ id?: number;
7346
+ created_at_lt?: string;
7347
+ created_at_gt?: string;
7348
+ created_at_lte?: string;
7349
+ created_at_gte?: string;
7350
+ search?: string;
6670
7351
  };
6671
7352
  header?: never;
6672
7353
  path: {
@@ -6679,11 +7360,11 @@ export interface operations {
6679
7360
  /** @description OK */
6680
7361
  200: {
6681
7362
  headers: {
6682
- /** @description null */
7363
+ /** @description The current page number */
6683
7364
  current_page?: string;
6684
- /** @description null */
7365
+ /** @description The total number of items across all pages */
6685
7366
  total_items?: string;
6686
- /** @description null */
7367
+ /** @description The total number of pages available */
6687
7368
  total_pages?: string;
6688
7369
  [name: string]: unknown;
6689
7370
  };
@@ -7223,10 +7904,51 @@ export interface operations {
7223
7904
  parameters: {
7224
7905
  query?: {
7225
7906
  category?: 'spam' | 'sent' | 'errored' | 'pending';
7907
+ /** @description Page number to fetch (1-indexed) */
7226
7908
  page?: components['parameters']['PageQuery'];
7227
- item?: components['parameters']['ItemsQuery'];
7228
- sort_attribute?: components['parameters']['SortAttributeQuery'];
7229
- sort_direction?: components['parameters']['SortDirectionQuery'];
7909
+ /** @description Number of items per page */
7910
+ items?: components['parameters']['ItemsQuery'];
7911
+ /** @description Attribute to sort the results by */
7912
+ sort_attribute?: 'last_sent_at' | 'created_at' | 'id' | 'uuid';
7913
+ /** @description Direction to sort the results */
7914
+ sort_direction?: 'ASC' | 'DESC';
7915
+ site_id?: number;
7916
+ recaptcha?: boolean;
7917
+ sent?: boolean;
7918
+ spam_checked?: boolean;
7919
+ automatically_marked_spam?: boolean;
7920
+ ip?: string;
7921
+ host?: string;
7922
+ explicitly_marked_status?: number;
7923
+ inbox_uuid?: string;
7924
+ has_error?: string | number | boolean;
7925
+ has_spam_check_error?: string | number | boolean;
7926
+ cleared_at_lt?: string;
7927
+ cleared_at_gt?: string;
7928
+ cleared_at_lte?: string;
7929
+ cleared_at_gte?: string;
7930
+ last_sent_at_lt?: string;
7931
+ last_sent_at_gt?: string;
7932
+ last_sent_at_lte?: string;
7933
+ last_sent_at_gte?: string;
7934
+ sent_count_lt?: number;
7935
+ sent_count_gt?: number;
7936
+ sent_count_lte?: number;
7937
+ sent_count_gte?: number;
7938
+ site_uuid?: string;
7939
+ org_uuid?: string;
7940
+ org_id?: number;
7941
+ updated_at_lt?: string;
7942
+ updated_at_gt?: string;
7943
+ updated_at_lte?: string;
7944
+ updated_at_gte?: string;
7945
+ uuid?: string;
7946
+ id?: number;
7947
+ created_at_lt?: string;
7948
+ created_at_gt?: string;
7949
+ created_at_lte?: string;
7950
+ created_at_gte?: string;
7951
+ search?: string;
7230
7952
  };
7231
7953
  header?: never;
7232
7954
  path: {
@@ -7239,11 +7961,11 @@ export interface operations {
7239
7961
  /** @description OK */
7240
7962
  200: {
7241
7963
  headers: {
7242
- /** @description null */
7964
+ /** @description The current page number */
7243
7965
  current_page?: string;
7244
- /** @description null */
7966
+ /** @description The total number of items across all pages */
7245
7967
  total_items?: string;
7246
- /** @description null */
7968
+ /** @description The total number of pages available */
7247
7969
  total_pages?: string;
7248
7970
  [name: string]: unknown;
7249
7971
  };
@@ -7294,10 +8016,10 @@ export interface operations {
7294
8016
  'Site Inboxes_Index': {
7295
8017
  parameters: {
7296
8018
  query?: {
8019
+ /** @description Page number to fetch (1-indexed) */
7297
8020
  page?: components['parameters']['PageQuery'];
7298
- item?: components['parameters']['ItemsQuery'];
7299
- sort_attribute?: components['parameters']['SortAttributeQuery'];
7300
- sort_direction?: components['parameters']['SortDirectionQuery'];
8021
+ /** @description Number of items per page */
8022
+ items?: components['parameters']['ItemsQuery'];
7301
8023
  };
7302
8024
  header?: never;
7303
8025
  path: {
@@ -7310,11 +8032,11 @@ export interface operations {
7310
8032
  /** @description OK */
7311
8033
  200: {
7312
8034
  headers: {
7313
- /** @description null */
8035
+ /** @description The current page number */
7314
8036
  current_page?: string;
7315
- /** @description null */
8037
+ /** @description The total number of items across all pages */
7316
8038
  total_items?: string;
7317
- /** @description null */
8039
+ /** @description The total number of pages available */
7318
8040
  total_pages?: string;
7319
8041
  [name: string]: unknown;
7320
8042
  };
@@ -7473,10 +8195,38 @@ export interface operations {
7473
8195
  Outputs_Index: {
7474
8196
  parameters: {
7475
8197
  query?: {
8198
+ /** @description Page number to fetch (1-indexed) */
7476
8199
  page?: components['parameters']['PageQuery'];
7477
- item?: components['parameters']['ItemsQuery'];
7478
- sort_attribute?: components['parameters']['SortAttributeQuery'];
7479
- sort_direction?: components['parameters']['SortDirectionQuery'];
8200
+ /** @description Number of items per page */
8201
+ items?: components['parameters']['ItemsQuery'];
8202
+ /** @description Attribute to sort the results by */
8203
+ sort_attribute?: 'id' | 'uuid' | 'created_at';
8204
+ /** @description Direction to sort the results */
8205
+ sort_direction?: 'ASC' | 'DESC';
8206
+ completed_at_lte?: string;
8207
+ completed_at_gte?: string;
8208
+ site_id?: number;
8209
+ successful?: boolean;
8210
+ name?: string;
8211
+ identifier?: string;
8212
+ after_identifier?: string;
8213
+ diff_id?: string;
8214
+ provider?: string;
8215
+ completed_at_lt?: string;
8216
+ completed_at_gt?: string;
8217
+ site_uuid?: string;
8218
+ org_uuid?: string;
8219
+ org_id?: number;
8220
+ updated_at_lt?: string;
8221
+ updated_at_gt?: string;
8222
+ updated_at_lte?: string;
8223
+ updated_at_gte?: string;
8224
+ uuid?: string;
8225
+ id?: number;
8226
+ created_at_lt?: string;
8227
+ created_at_gt?: string;
8228
+ created_at_lte?: string;
8229
+ created_at_gte?: string;
7480
8230
  };
7481
8231
  header?: never;
7482
8232
  path: {
@@ -7489,11 +8239,11 @@ export interface operations {
7489
8239
  /** @description OK */
7490
8240
  200: {
7491
8241
  headers: {
7492
- /** @description null */
8242
+ /** @description The current page number */
7493
8243
  current_page?: string;
7494
- /** @description null */
8244
+ /** @description The total number of items across all pages */
7495
8245
  total_items?: string;
7496
- /** @description null */
8246
+ /** @description The total number of pages available */
7497
8247
  total_pages?: string;
7498
8248
  [name: string]: unknown;
7499
8249
  };
@@ -7597,10 +8347,10 @@ export interface operations {
7597
8347
  'Site Provider Branch_Branches': {
7598
8348
  parameters: {
7599
8349
  query?: {
8350
+ /** @description Page number to fetch (1-indexed) */
7600
8351
  page?: components['parameters']['PageQuery'];
7601
- item?: components['parameters']['ItemsQuery'];
7602
- sort_attribute?: components['parameters']['SortAttributeQuery'];
7603
- sort_direction?: components['parameters']['SortDirectionQuery'];
8352
+ /** @description Number of items per page */
8353
+ items?: components['parameters']['ItemsQuery'];
7604
8354
  };
7605
8355
  header?: never;
7606
8356
  path: {
@@ -7613,11 +8363,11 @@ export interface operations {
7613
8363
  /** @description OK */
7614
8364
  200: {
7615
8365
  headers: {
7616
- /** @description null */
8366
+ /** @description The current page number */
7617
8367
  current_page?: string;
7618
- /** @description null */
8368
+ /** @description The total number of items across all pages */
7619
8369
  total_items?: string;
7620
- /** @description null */
8370
+ /** @description The total number of pages available */
7621
8371
  total_pages?: string;
7622
8372
  [name: string]: unknown;
7623
8373
  };
@@ -7784,10 +8534,10 @@ export interface operations {
7784
8534
  'Pull Requests_Index': {
7785
8535
  parameters: {
7786
8536
  query?: {
8537
+ /** @description Page number to fetch (1-indexed) */
7787
8538
  page?: components['parameters']['PageQuery'];
7788
- item?: components['parameters']['ItemsQuery'];
7789
- sort_attribute?: components['parameters']['SortAttributeQuery'];
7790
- sort_direction?: components['parameters']['SortDirectionQuery'];
8539
+ /** @description Number of items per page */
8540
+ items?: components['parameters']['ItemsQuery'];
7791
8541
  };
7792
8542
  header?: never;
7793
8543
  path: {
@@ -7800,11 +8550,11 @@ export interface operations {
7800
8550
  /** @description OK */
7801
8551
  200: {
7802
8552
  headers: {
7803
- /** @description null */
8553
+ /** @description The current page number */
7804
8554
  current_page?: string;
7805
- /** @description null */
8555
+ /** @description The total number of items across all pages */
7806
8556
  total_items?: string;
7807
- /** @description null */
8557
+ /** @description The total number of pages available */
7808
8558
  total_pages?: string;
7809
8559
  [name: string]: unknown;
7810
8560
  };
@@ -8004,10 +8754,10 @@ export interface operations {
8004
8754
  'Upstream Pull Requests_Index': {
8005
8755
  parameters: {
8006
8756
  query?: {
8757
+ /** @description Page number to fetch (1-indexed) */
8007
8758
  page?: components['parameters']['PageQuery'];
8008
- item?: components['parameters']['ItemsQuery'];
8009
- sort_attribute?: components['parameters']['SortAttributeQuery'];
8010
- sort_direction?: components['parameters']['SortDirectionQuery'];
8759
+ /** @description Number of items per page */
8760
+ items?: components['parameters']['ItemsQuery'];
8011
8761
  };
8012
8762
  header?: never;
8013
8763
  path: {
@@ -8020,11 +8770,11 @@ export interface operations {
8020
8770
  /** @description OK */
8021
8771
  200: {
8022
8772
  headers: {
8023
- /** @description null */
8773
+ /** @description The current page number */
8024
8774
  current_page?: string;
8025
- /** @description null */
8775
+ /** @description The total number of items across all pages */
8026
8776
  total_items?: string;
8027
- /** @description null */
8777
+ /** @description The total number of pages available */
8028
8778
  total_pages?: string;
8029
8779
  [name: string]: unknown;
8030
8780
  };
@@ -8124,10 +8874,44 @@ export interface operations {
8124
8874
  'Site Scheduled Builds_Index': {
8125
8875
  parameters: {
8126
8876
  query?: {
8877
+ /** @description Page number to fetch (1-indexed) */
8127
8878
  page?: components['parameters']['PageQuery'];
8128
- item?: components['parameters']['ItemsQuery'];
8129
- sort_attribute?: components['parameters']['SortAttributeQuery'];
8130
- sort_direction?: components['parameters']['SortDirectionQuery'];
8879
+ /** @description Number of items per page */
8880
+ items?: components['parameters']['ItemsQuery'];
8881
+ /** @description Attribute to sort the results by */
8882
+ sort_attribute?: 'id' | 'uuid' | 'created_at';
8883
+ /** @description Direction to sort the results */
8884
+ sort_direction?: 'ASC' | 'DESC';
8885
+ site_id?: number;
8886
+ filename?: string;
8887
+ run_date_lt?: string;
8888
+ run_date_gt?: string;
8889
+ run_date_lte?: string;
8890
+ run_date_gte?: string;
8891
+ period_lt?: number;
8892
+ period_gt?: number;
8893
+ period_lte?: number;
8894
+ period_gte?: number;
8895
+ run_count_lt?: number;
8896
+ run_count_gt?: number;
8897
+ run_count_lte?: number;
8898
+ name?: string;
8899
+ run_count_gte?: number;
8900
+ from_source?: boolean;
8901
+ scheduled_at?: string;
8902
+ site_uuid?: string;
8903
+ org_uuid?: string;
8904
+ org_id?: number;
8905
+ updated_at_lt?: string;
8906
+ updated_at_gt?: string;
8907
+ updated_at_lte?: string;
8908
+ updated_at_gte?: string;
8909
+ uuid?: string;
8910
+ id?: number;
8911
+ created_at_lt?: string;
8912
+ created_at_gt?: string;
8913
+ created_at_lte?: string;
8914
+ created_at_gte?: string;
8131
8915
  };
8132
8916
  header?: never;
8133
8917
  path: {
@@ -8140,11 +8924,11 @@ export interface operations {
8140
8924
  /** @description OK */
8141
8925
  200: {
8142
8926
  headers: {
8143
- /** @description null */
8927
+ /** @description The current page number */
8144
8928
  current_page?: string;
8145
- /** @description null */
8929
+ /** @description The total number of items across all pages */
8146
8930
  total_items?: string;
8147
- /** @description null */
8931
+ /** @description The total number of pages available */
8148
8932
  total_pages?: string;
8149
8933
  [name: string]: unknown;
8150
8934
  };
@@ -8510,10 +9294,35 @@ export interface operations {
8510
9294
  Syncs_Index: {
8511
9295
  parameters: {
8512
9296
  query?: {
9297
+ /** @description Page number to fetch (1-indexed) */
8513
9298
  page?: components['parameters']['PageQuery'];
8514
- item?: components['parameters']['ItemsQuery'];
8515
- sort_attribute?: components['parameters']['SortAttributeQuery'];
8516
- sort_direction?: components['parameters']['SortDirectionQuery'];
9299
+ /** @description Number of items per page */
9300
+ items?: components['parameters']['ItemsQuery'];
9301
+ /** @description Attribute to sort the results by */
9302
+ sort_attribute?: 'id' | 'uuid' | 'created_at';
9303
+ /** @description Direction to sort the results */
9304
+ sort_direction?: 'ASC' | 'DESC';
9305
+ site_id?: number;
9306
+ completed_at?: string;
9307
+ successful?: boolean;
9308
+ name?: string;
9309
+ identifier?: string;
9310
+ after_identifier?: string;
9311
+ diff_id?: string;
9312
+ provider?: string;
9313
+ site_uuid?: string;
9314
+ org_uuid?: string;
9315
+ org_id?: number;
9316
+ updated_at_lt?: string;
9317
+ updated_at_gt?: string;
9318
+ updated_at_lte?: string;
9319
+ updated_at_gte?: string;
9320
+ uuid?: string;
9321
+ id?: number;
9322
+ created_at_lt?: string;
9323
+ created_at_gt?: string;
9324
+ created_at_lte?: string;
9325
+ created_at_gte?: string;
8517
9326
  };
8518
9327
  header?: never;
8519
9328
  path: {
@@ -8526,11 +9335,11 @@ export interface operations {
8526
9335
  /** @description OK */
8527
9336
  200: {
8528
9337
  headers: {
8529
- /** @description null */
9338
+ /** @description The current page number */
8530
9339
  current_page?: string;
8531
- /** @description null */
9340
+ /** @description The total number of items across all pages */
8532
9341
  total_items?: string;
8533
- /** @description null */
9342
+ /** @description The total number of pages available */
8534
9343
  total_pages?: string;
8535
9344
  [name: string]: unknown;
8536
9345
  };
@@ -8613,6 +9422,34 @@ export interface operations {
8613
9422
  403: components['responses']['ForbiddenResp'];
8614
9423
  };
8615
9424
  };
9425
+ Index_UploadData: {
9426
+ parameters: {
9427
+ query?: never;
9428
+ header?: never;
9429
+ path?: never;
9430
+ cookie?: never;
9431
+ };
9432
+ requestBody?: never;
9433
+ responses: {
9434
+ /** @description OK */
9435
+ 200: {
9436
+ headers: {
9437
+ [name: string]: unknown;
9438
+ };
9439
+ content: {
9440
+ 'application/json': {
9441
+ prefix: string;
9442
+ url: string;
9443
+ fields: {
9444
+ [key: string]: string;
9445
+ };
9446
+ };
9447
+ };
9448
+ };
9449
+ 403: components['responses']['ForbiddenResp'];
9450
+ 422: components['responses']['ErrorResp'];
9451
+ };
9452
+ };
8616
9453
  Users_ShowCurrentUser: {
8617
9454
  parameters: {
8618
9455
  query?: never;