netlify-api 0.1.4 → 0.1.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,10 +1,10 @@
1
1
 
2
- > netlify-api@0.1.4 build /home/runner/work/openapi-clients/openapi-clients/packages/netlify-api
2
+ > netlify-api@0.1.5 build /home/runner/work/openapi-clients/openapi-clients/packages/netlify-api
3
3
  > rimraf dist && rollup -c
4
4
 
5
5
  
6
6
  ./src/index.ts → dist/index.cjs, dist/index.mjs...
7
- created dist/index.cjs, dist/index.mjs in 8s
7
+ created dist/index.cjs, dist/index.mjs in 7.2s
8
8
  
9
9
  ./src/index.ts → dist/index.d.ts...
10
- created dist/index.d.ts in 7.4s
10
+ created dist/index.d.ts in 7.6s
package/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # netlify-api
2
2
 
3
+ ## 0.1.5
4
+
5
+ ### Patch Changes
6
+
7
+ - bd49651: Add `branch_deploy_custom_domain` and `deploy_preview_custom_domain`
8
+
3
9
  ## 0.1.4
4
10
 
5
11
  ### Patch Changes
package/dist/index.d.ts CHANGED
@@ -29,7 +29,7 @@ type ErrorWrapper<TError> = TError | {
29
29
  /**
30
30
  * Generated by @openapi-codegen
31
31
  *
32
- * @version 2.15.1
32
+ * @version 2.16.0
33
33
  */
34
34
  type CreateSiteDeployDeploy = {
35
35
  files?: Record<string, any>;
@@ -82,6 +82,10 @@ type CreateSiteSnippetSnippet = {
82
82
  * @format binary
83
83
  */
84
84
  type UploadDeployFileFileBody = Blob;
85
+ type CreateSiteBuildHookBuildhook = {
86
+ title?: string;
87
+ branch?: string;
88
+ };
85
89
  type CreateSiteSite = {
86
90
  id?: string;
87
91
  state?: string;
@@ -89,6 +93,8 @@ type CreateSiteSite = {
89
93
  name?: string;
90
94
  custom_domain?: string;
91
95
  domain_aliases?: string[];
96
+ branch_deploy_custom_domain?: string;
97
+ deploy_preview_custom_domain?: string;
92
98
  password?: string;
93
99
  notification_email?: string;
94
100
  url?: string;
@@ -225,10 +231,6 @@ type CreateSiteSite = {
225
231
  stop_builds?: boolean;
226
232
  };
227
233
  };
228
- type CreateSiteBuildHookBuildhook = {
229
- title?: string;
230
- branch?: string;
231
- };
232
234
  type CreateSplitTestBranchTests = {
233
235
  branch_tests?: Record<string, any>;
234
236
  };
@@ -261,7 +263,7 @@ type ServerErrorStatus = Exclude<ComputeRange<600>[number], ComputeRange<500>[nu
261
263
  /**
262
264
  * Generated by @openapi-codegen
263
265
  *
264
- * @version 2.15.1
266
+ * @version 2.16.0
265
267
  */
266
268
 
267
269
  type ListSitesQueryParams = {
@@ -293,6 +295,8 @@ type ListSitesResponse = {
293
295
  name?: string;
294
296
  custom_domain?: string;
295
297
  domain_aliases?: string[];
298
+ branch_deploy_custom_domain?: string;
299
+ deploy_preview_custom_domain?: string;
296
300
  password?: string;
297
301
  notification_email?: string;
298
302
  url?: string;
@@ -437,6 +441,8 @@ type CreateSiteResponse = {
437
441
  name?: string;
438
442
  custom_domain?: string;
439
443
  domain_aliases?: string[];
444
+ branch_deploy_custom_domain?: string;
445
+ deploy_preview_custom_domain?: string;
440
446
  password?: string;
441
447
  notification_email?: string;
442
448
  url?: string;
@@ -582,6 +588,8 @@ type GetSiteResponse = {
582
588
  name?: string;
583
589
  custom_domain?: string;
584
590
  domain_aliases?: string[];
591
+ branch_deploy_custom_domain?: string;
592
+ deploy_preview_custom_domain?: string;
585
593
  password?: string;
586
594
  notification_email?: string;
587
595
  url?: string;
@@ -726,6 +734,8 @@ type UpdateSiteResponse = {
726
734
  name?: string;
727
735
  custom_domain?: string;
728
736
  domain_aliases?: string[];
737
+ branch_deploy_custom_domain?: string;
738
+ deploy_preview_custom_domain?: string;
729
739
  password?: string;
730
740
  notification_email?: string;
731
741
  url?: string;
@@ -2791,6 +2801,8 @@ type UnlinkSiteRepoResponse = {
2791
2801
  name?: string;
2792
2802
  custom_domain?: string;
2793
2803
  domain_aliases?: string[];
2804
+ branch_deploy_custom_domain?: string;
2805
+ deploy_preview_custom_domain?: string;
2794
2806
  password?: string;
2795
2807
  notification_email?: string;
2796
2808
  url?: string;
@@ -3962,6 +3974,8 @@ type CreateSiteInTeamResponse = {
3962
3974
  name?: string;
3963
3975
  custom_domain?: string;
3964
3976
  domain_aliases?: string[];
3977
+ branch_deploy_custom_domain?: string;
3978
+ deploy_preview_custom_domain?: string;
3965
3979
  password?: string;
3966
3980
  notification_email?: string;
3967
3981
  url?: string;
@@ -4086,6 +4100,8 @@ type CreateSiteInTeamRequestBody = {
4086
4100
  name?: string;
4087
4101
  custom_domain?: string;
4088
4102
  domain_aliases?: string[];
4103
+ branch_deploy_custom_domain?: string;
4104
+ deploy_preview_custom_domain?: string;
4089
4105
  password?: string;
4090
4106
  notification_email?: string;
4091
4107
  url?: string;
@@ -4262,6 +4278,8 @@ type ListSitesForAccountResponse = {
4262
4278
  name?: string;
4263
4279
  custom_domain?: string;
4264
4280
  domain_aliases?: string[];
4281
+ branch_deploy_custom_domain?: string;
4282
+ deploy_preview_custom_domain?: string;
4265
4283
  password?: string;
4266
4284
  notification_email?: string;
4267
4285
  url?: string;
@@ -7480,7 +7498,7 @@ type RefreshTokenResult = {
7480
7498
  /**
7481
7499
  * Generated by @openapi-codegen
7482
7500
  *
7483
- * @version 2.15.1
7501
+ * @version 2.16.0
7484
7502
  */
7485
7503
  type SplitTestSetup = {
7486
7504
  branch_tests?: Record<string, any>;
@@ -7573,6 +7591,8 @@ type Site = {
7573
7591
  name?: string;
7574
7592
  custom_domain?: string;
7575
7593
  domain_aliases?: string[];
7594
+ branch_deploy_custom_domain?: string;
7595
+ deploy_preview_custom_domain?: string;
7576
7596
  password?: string;
7577
7597
  notification_email?: string;
7578
7598
  url?: string;
@@ -7697,6 +7717,8 @@ type SiteSetup = {
7697
7717
  name?: string;
7698
7718
  custom_domain?: string;
7699
7719
  domain_aliases?: string[];
7720
+ branch_deploy_custom_domain?: string;
7721
+ deploy_preview_custom_domain?: string;
7700
7722
  password?: string;
7701
7723
  notification_email?: string;
7702
7724
  url?: string;
@@ -8760,7 +8782,7 @@ declare namespace schemas {
8760
8782
  /**
8761
8783
  * Generated by @openapi-codegen
8762
8784
  *
8763
- * @version 2.15.1
8785
+ * @version 2.16.0
8764
8786
  */
8765
8787
  /**
8766
8788
  * @format int32
@@ -8786,7 +8808,7 @@ declare namespace parameters {
8786
8808
  /**
8787
8809
  * Generated by @openapi-codegen
8788
8810
  *
8789
- * @version 2.15.1
8811
+ * @version 2.16.0
8790
8812
  */
8791
8813
  type Error = {
8792
8814
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "netlify-api",
3
- "version": "0.1.4",
3
+ "version": "0.1.5",
4
4
  "description": "Netlify API client for Node.js",
5
5
  "author": "SferaDev",
6
6
  "license": "ISC",