netlify-api 0.5.1 → 0.6.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,5 +1,5 @@
1
1
 
2
- > netlify-api@0.5.1 build /home/runner/work/openapi-clients/openapi-clients/packages/netlify-api
2
+ > netlify-api@0.6.1 build /home/runner/work/openapi-clients/openapi-clients/packages/netlify-api
3
3
  > rimraf dist && tsup
4
4
 
5
5
  CLI Building entry: src/index.ts
@@ -11,12 +11,12 @@ CLI Cleaning output folder
11
11
  CJS Build start
12
12
  ESM Build start
13
13
  CJS dist/index.js 26.79 KB
14
- CJS dist/index.js.map 207.16 KB
15
- CJS ⚡️ Build success in 60ms
14
+ CJS dist/index.js.map 205.66 KB
15
+ CJS ⚡️ Build success in 98ms
16
16
  ESM dist/index.mjs 25.80 KB
17
- ESM dist/index.mjs.map 206.73 KB
18
- ESM ⚡️ Build success in 71ms
17
+ ESM dist/index.mjs.map 205.24 KB
18
+ ESM ⚡️ Build success in 98ms
19
19
  DTS Build start
20
- DTS ⚡️ Build success in 6794ms
21
- DTS dist/index.d.ts 340.74 KB
22
- DTS dist/index.d.mts 340.74 KB
20
+ DTS ⚡️ Build success in 7386ms
21
+ DTS dist/index.d.ts 339.31 KB
22
+ DTS dist/index.d.mts 339.31 KB
package/CHANGELOG.md CHANGED
@@ -1,5 +1,22 @@
1
1
  # netlify-api
2
2
 
3
+ ## 0.6.1
4
+
5
+ ### Patch Changes
6
+
7
+ - 8397d02: Remove mention of Enterprise plans from environment variable documentation
8
+
9
+ ## 0.6.0
10
+
11
+ ### Minor Changes
12
+
13
+ - 7478d2e: Bump API version to 2.34.0
14
+ - a86c18e: Add account_id field to Site and SiteSetup schemas
15
+
16
+ ### Patch Changes
17
+
18
+ - c7990bb: Returns all environment variables for an account or site. An account corresponds to a team in the Netlify UI.
19
+
3
20
  ## 0.5.1
4
21
 
5
22
  ### Patch Changes
package/dist/index.d.mts CHANGED
@@ -29,7 +29,7 @@ type ErrorWrapper<TError> = TError | {
29
29
  /**
30
30
  * Generated by @openapi-codegen
31
31
  *
32
- * @version 2.33.1
32
+ * @version 2.34.0
33
33
  */
34
34
  type UpdateSiteMetadataMetadata = Record<string, any>;
35
35
  type CreateHookBySiteIdHook = {
@@ -141,6 +141,7 @@ type CreateSiteSite = {
141
141
  cron?: string;
142
142
  }[];
143
143
  };
144
+ account_id?: string;
144
145
  account_name?: string;
145
146
  account_slug?: string;
146
147
  git_provider?: string;
@@ -279,7 +280,7 @@ type ServerErrorStatus = Exclude<ComputeRange<600>[number], ComputeRange<500>[nu
279
280
  /**
280
281
  * Generated by @openapi-codegen
281
282
  *
282
- * @version 2.33.1
283
+ * @version 2.34.0
283
284
  */
284
285
 
285
286
  type ListSitesQueryParams = {
@@ -377,6 +378,7 @@ type ListSitesResponse = {
377
378
  cron?: string;
378
379
  }[];
379
380
  };
381
+ account_id?: string;
380
382
  account_name?: string;
381
383
  account_slug?: string;
382
384
  git_provider?: string;
@@ -509,6 +511,7 @@ type CreateSiteResponse = {
509
511
  cron?: string;
510
512
  }[];
511
513
  };
514
+ account_id?: string;
512
515
  account_name?: string;
513
516
  account_slug?: string;
514
517
  git_provider?: string;
@@ -645,6 +648,7 @@ type GetSiteResponse = {
645
648
  cron?: string;
646
649
  }[];
647
650
  };
651
+ account_id?: string;
648
652
  account_name?: string;
649
653
  account_slug?: string;
650
654
  git_provider?: string;
@@ -778,6 +782,7 @@ type UpdateSiteResponse = {
778
782
  cron?: string;
779
783
  }[];
780
784
  };
785
+ account_id?: string;
781
786
  account_name?: string;
782
787
  account_slug?: string;
783
788
  git_provider?: string;
@@ -983,7 +988,7 @@ type GetEnvVarsResponse = {
983
988
  context_parameter?: string;
984
989
  }[];
985
990
  /**
986
- * Secret values are only readable by code running on Netlify’s systems. With secrets, only the local development context values are readable from the UI, API, and CLI. By default, environment variable values are not secret. (Enterprise plans only)
991
+ * Secret values are only readable by code running on Netlify’s systems. With secrets, only the local development context values are readable from the UI, API, and CLI. By default, environment variable values are not secret.
987
992
  */
988
993
  is_secret?: boolean;
989
994
  /**
@@ -1025,7 +1030,7 @@ type GetEnvVarsVariables = {
1025
1030
  queryParams?: GetEnvVarsQueryParams;
1026
1031
  } & FetcherExtraProps;
1027
1032
  /**
1028
- * Returns all environment variables for an account or site. An account corresponds to a team in the Netlify UI. To use this endpoint, your site must no longer be using the <a href="https://docs.netlify.com/environment-variables/classic-experience/">classic environment variables experience</a>. Migrate now with the Netlify UI.
1033
+ * Returns all environment variables for an account or site. An account corresponds to a team in the Netlify UI.
1029
1034
  */
1030
1035
  declare const getEnvVars: (variables: GetEnvVarsVariables, signal?: AbortSignal) => Promise<GetEnvVarsResponse>;
1031
1036
  type CreateEnvVarsPathParams = {
@@ -1089,7 +1094,7 @@ type CreateEnvVarsResponse = {
1089
1094
  context_parameter?: string;
1090
1095
  }[];
1091
1096
  /**
1092
- * Secret values are only readable by code running on Netlify’s systems. With secrets, only the local development context values are readable from the UI, API, and CLI. By default, environment variable values are not secret. (Enterprise plans only)
1097
+ * Secret values are only readable by code running on Netlify’s systems. With secrets, only the local development context values are readable from the UI, API, and CLI. By default, environment variable values are not secret.
1093
1098
  */
1094
1099
  is_secret?: boolean;
1095
1100
  /**
@@ -1158,7 +1163,7 @@ type CreateEnvVarsRequestBody = {
1158
1163
  context_parameter?: string;
1159
1164
  }[];
1160
1165
  /**
1161
- * Secret values are only readable by code running on Netlify’s systems. With secrets, only the local development context values are readable from the UI, API, and CLI. By default, environment variable values are not secret. (Enterprise plans only)
1166
+ * Secret values are only readable by code running on Netlify’s systems. With secrets, only the local development context values are readable from the UI, API, and CLI. By default, environment variable values are not secret.
1162
1167
  */
1163
1168
  is_secret?: boolean;
1164
1169
  }[];
@@ -1168,7 +1173,7 @@ type CreateEnvVarsVariables = {
1168
1173
  queryParams?: CreateEnvVarsQueryParams;
1169
1174
  } & FetcherExtraProps;
1170
1175
  /**
1171
- * Creates new environment variables. Granular scopes are available on Pro plans and above. To use this endpoint, your site must no longer be using the <a href="https://docs.netlify.com/environment-variables/classic-experience/">classic environment variables experience</a>. Migrate now with the Netlify UI.
1176
+ * Creates new environment variables. Granular scopes are available on Pro plans and above.
1172
1177
  */
1173
1178
  declare const createEnvVars: (variables: CreateEnvVarsVariables, signal?: AbortSignal) => Promise<CreateEnvVarsResponse>;
1174
1179
  type GetSiteEnvVarsPathParams = {
@@ -1236,7 +1241,7 @@ type GetSiteEnvVarsResponse = {
1236
1241
  context_parameter?: string;
1237
1242
  }[];
1238
1243
  /**
1239
- * Secret values are only readable by code running on Netlify’s systems. With secrets, only the local development context values are readable from the UI, API, and CLI. By default, environment variable values are not secret. (Enterprise plans only)
1244
+ * Secret values are only readable by code running on Netlify’s systems. With secrets, only the local development context values are readable from the UI, API, and CLI. By default, environment variable values are not secret.
1240
1245
  */
1241
1246
  is_secret?: boolean;
1242
1247
  /**
@@ -1346,7 +1351,7 @@ type GetEnvVarResponse = {
1346
1351
  context_parameter?: string;
1347
1352
  }[];
1348
1353
  /**
1349
- * Secret values are only readable by code running on Netlify’s systems. With secrets, only the local development context values are readable from the UI, API, and CLI. By default, environment variable values are not secret. (Enterprise plans only)
1354
+ * Secret values are only readable by code running on Netlify’s systems. With secrets, only the local development context values are readable from the UI, API, and CLI. By default, environment variable values are not secret.
1350
1355
  */
1351
1356
  is_secret?: boolean;
1352
1357
  /**
@@ -1388,7 +1393,7 @@ type GetEnvVarVariables = {
1388
1393
  queryParams?: GetEnvVarQueryParams;
1389
1394
  } & FetcherExtraProps;
1390
1395
  /**
1391
- * Returns an individual environment variable. To use this endpoint, your site must no longer be using the <a href="https://docs.netlify.com/environment-variables/classic-experience/">classic environment variables experience</a>. Migrate now with the Netlify UI.
1396
+ * Returns an individual environment variable.
1392
1397
  */
1393
1398
  declare const getEnvVar: (variables: GetEnvVarVariables, signal?: AbortSignal) => Promise<GetEnvVarResponse>;
1394
1399
  type UpdateEnvVarPathParams = {
@@ -1456,7 +1461,7 @@ type UpdateEnvVarResponse = {
1456
1461
  context_parameter?: string;
1457
1462
  }[];
1458
1463
  /**
1459
- * Secret values are only readable by code running on Netlify’s systems. With secrets, only the local development context values are readable from the UI, API, and CLI. By default, environment variable values are not secret. (Enterprise plans only)
1464
+ * Secret values are only readable by code running on Netlify’s systems. With secrets, only the local development context values are readable from the UI, API, and CLI. By default, environment variable values are not secret.
1460
1465
  */
1461
1466
  is_secret?: boolean;
1462
1467
  /**
@@ -1525,7 +1530,7 @@ type UpdateEnvVarRequestBody = {
1525
1530
  context_parameter?: string;
1526
1531
  }[];
1527
1532
  /**
1528
- * Secret values are only readable by code running on Netlify’s systems. With secrets, only the local development context values are readable from the UI, API, and CLI. By default, environment variable values are not secret. (Enterprise plans only)
1533
+ * Secret values are only readable by code running on Netlify’s systems. With secrets, only the local development context values are readable from the UI, API, and CLI. By default, environment variable values are not secret.
1529
1534
  */
1530
1535
  is_secret?: boolean;
1531
1536
  };
@@ -1535,7 +1540,7 @@ type UpdateEnvVarVariables = {
1535
1540
  queryParams?: UpdateEnvVarQueryParams;
1536
1541
  } & FetcherExtraProps;
1537
1542
  /**
1538
- * Updates an existing environment variable and all of its values. Existing values will be replaced by values provided. To use this endpoint, your site must no longer be using the <a href="https://docs.netlify.com/environment-variables/classic-experience/">classic environment variables experience</a>. Migrate now with the Netlify UI.
1543
+ * Updates an existing environment variable and all of its values. Existing values will be replaced by values provided.
1539
1544
  */
1540
1545
  declare const updateEnvVar: (variables: UpdateEnvVarVariables, signal?: AbortSignal) => Promise<UpdateEnvVarResponse>;
1541
1546
  type SetEnvVarValuePathParams = {
@@ -1603,7 +1608,7 @@ type SetEnvVarValueResponse = {
1603
1608
  context_parameter?: string;
1604
1609
  }[];
1605
1610
  /**
1606
- * Secret values are only readable by code running on Netlify’s systems. With secrets, only the local development context values are readable from the UI, API, and CLI. By default, environment variable values are not secret. (Enterprise plans only)
1611
+ * Secret values are only readable by code running on Netlify’s systems. With secrets, only the local development context values are readable from the UI, API, and CLI. By default, environment variable values are not secret.
1607
1612
  */
1608
1613
  is_secret?: boolean;
1609
1614
  /**
@@ -1660,7 +1665,7 @@ type SetEnvVarValueVariables = {
1660
1665
  queryParams?: SetEnvVarValueQueryParams;
1661
1666
  } & FetcherExtraProps;
1662
1667
  /**
1663
- * Updates or creates a new value for an existing environment variable. To use this endpoint, your site must no longer be using the <a href="https://docs.netlify.com/environment-variables/classic-experience/">classic environment variables experience</a>. Migrate now with the Netlify UI.
1668
+ * Updates or creates a new value for an existing environment variable.
1664
1669
  */
1665
1670
  declare const setEnvVarValue: (variables: SetEnvVarValueVariables, signal?: AbortSignal) => Promise<SetEnvVarValueResponse>;
1666
1671
  type DeleteEnvVarPathParams = {
@@ -1694,7 +1699,7 @@ type DeleteEnvVarVariables = {
1694
1699
  queryParams?: DeleteEnvVarQueryParams;
1695
1700
  } & FetcherExtraProps;
1696
1701
  /**
1697
- * Deletes an environment variable. To use this endpoint, your site must no longer be using the <a href="https://docs.netlify.com/environment-variables/classic-experience/">classic environment variables experience</a>. Migrate now with the Netlify UI.
1702
+ * Deletes an environment variable
1698
1703
  */
1699
1704
  declare const deleteEnvVar: (variables: DeleteEnvVarVariables, signal?: AbortSignal) => Promise<undefined>;
1700
1705
  type DeleteEnvVarValuePathParams = {
@@ -1732,7 +1737,7 @@ type DeleteEnvVarValueVariables = {
1732
1737
  queryParams?: DeleteEnvVarValueQueryParams;
1733
1738
  } & FetcherExtraProps;
1734
1739
  /**
1735
- * Deletes a specific environment variable value. To use this endpoint, your site must no longer be using the <a href="https://docs.netlify.com/environment-variables/classic-experience/">classic environment variables experience</a>. Migrate now with the Netlify UI.
1740
+ * Deletes a specific environment variable value.
1736
1741
  */
1737
1742
  declare const deleteEnvVarValue: (variables: DeleteEnvVarValueVariables, signal?: AbortSignal) => Promise<undefined>;
1738
1743
  type SearchSiteFunctionsPathParams = {
@@ -3028,6 +3033,7 @@ type UnlinkSiteRepoResponse = {
3028
3033
  cron?: string;
3029
3034
  }[];
3030
3035
  };
3036
+ account_id?: string;
3031
3037
  account_name?: string;
3032
3038
  account_slug?: string;
3033
3039
  git_provider?: string;
@@ -4185,6 +4191,7 @@ type CreateSiteInTeamResponse = {
4185
4191
  cron?: string;
4186
4192
  }[];
4187
4193
  };
4194
+ account_id?: string;
4188
4195
  account_name?: string;
4189
4196
  account_slug?: string;
4190
4197
  git_provider?: string;
@@ -4297,6 +4304,7 @@ type CreateSiteInTeamRequestBody = {
4297
4304
  cron?: string;
4298
4305
  }[];
4299
4306
  };
4307
+ account_id?: string;
4300
4308
  account_name?: string;
4301
4309
  account_slug?: string;
4302
4310
  git_provider?: string;
@@ -4461,6 +4469,7 @@ type ListSitesForAccountResponse = {
4461
4469
  cron?: string;
4462
4470
  }[];
4463
4471
  };
4472
+ account_id?: string;
4464
4473
  account_name?: string;
4465
4474
  account_slug?: string;
4466
4475
  git_provider?: string;
@@ -7421,7 +7430,7 @@ type RefreshTokenResult = {
7421
7430
  /**
7422
7431
  * Generated by @openapi-codegen
7423
7432
  *
7424
- * @version 2.33.1
7433
+ * @version 2.34.0
7425
7434
  */
7426
7435
  type SplitTestSetup = {
7427
7436
  branch_tests?: Record<string, any>;
@@ -7580,6 +7589,7 @@ type Site = {
7580
7589
  cron?: string;
7581
7590
  }[];
7582
7591
  };
7592
+ account_id?: string;
7583
7593
  account_name?: string;
7584
7594
  account_slug?: string;
7585
7595
  git_provider?: string;
@@ -7692,6 +7702,7 @@ type SiteSetup = {
7692
7702
  cron?: string;
7693
7703
  }[];
7694
7704
  };
7705
+ account_id?: string;
7695
7706
  account_name?: string;
7696
7707
  account_slug?: string;
7697
7708
  git_provider?: string;
@@ -7831,7 +7842,7 @@ type EnvVar = {
7831
7842
  context_parameter?: string;
7832
7843
  }[];
7833
7844
  /**
7834
- * Secret values are only readable by code running on Netlify’s systems. With secrets, only the local development context values are readable from the UI, API, and CLI. By default, environment variable values are not secret. (Enterprise plans only)
7845
+ * Secret values are only readable by code running on Netlify’s systems. With secrets, only the local development context values are readable from the UI, API, and CLI. By default, environment variable values are not secret.
7835
7846
  */
7836
7847
  is_secret?: boolean;
7837
7848
  /**
@@ -8799,7 +8810,7 @@ declare namespace schemas {
8799
8810
  /**
8800
8811
  * Generated by @openapi-codegen
8801
8812
  *
8802
- * @version 2.33.1
8813
+ * @version 2.34.0
8803
8814
  */
8804
8815
  /**
8805
8816
  * @format int32
@@ -8821,7 +8832,7 @@ declare namespace parameters {
8821
8832
  /**
8822
8833
  * Generated by @openapi-codegen
8823
8834
  *
8824
- * @version 2.33.1
8835
+ * @version 2.34.0
8825
8836
  */
8826
8837
  type Error = {
8827
8838
  /**
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.33.1
32
+ * @version 2.34.0
33
33
  */
34
34
  type UpdateSiteMetadataMetadata = Record<string, any>;
35
35
  type CreateHookBySiteIdHook = {
@@ -141,6 +141,7 @@ type CreateSiteSite = {
141
141
  cron?: string;
142
142
  }[];
143
143
  };
144
+ account_id?: string;
144
145
  account_name?: string;
145
146
  account_slug?: string;
146
147
  git_provider?: string;
@@ -279,7 +280,7 @@ type ServerErrorStatus = Exclude<ComputeRange<600>[number], ComputeRange<500>[nu
279
280
  /**
280
281
  * Generated by @openapi-codegen
281
282
  *
282
- * @version 2.33.1
283
+ * @version 2.34.0
283
284
  */
284
285
 
285
286
  type ListSitesQueryParams = {
@@ -377,6 +378,7 @@ type ListSitesResponse = {
377
378
  cron?: string;
378
379
  }[];
379
380
  };
381
+ account_id?: string;
380
382
  account_name?: string;
381
383
  account_slug?: string;
382
384
  git_provider?: string;
@@ -509,6 +511,7 @@ type CreateSiteResponse = {
509
511
  cron?: string;
510
512
  }[];
511
513
  };
514
+ account_id?: string;
512
515
  account_name?: string;
513
516
  account_slug?: string;
514
517
  git_provider?: string;
@@ -645,6 +648,7 @@ type GetSiteResponse = {
645
648
  cron?: string;
646
649
  }[];
647
650
  };
651
+ account_id?: string;
648
652
  account_name?: string;
649
653
  account_slug?: string;
650
654
  git_provider?: string;
@@ -778,6 +782,7 @@ type UpdateSiteResponse = {
778
782
  cron?: string;
779
783
  }[];
780
784
  };
785
+ account_id?: string;
781
786
  account_name?: string;
782
787
  account_slug?: string;
783
788
  git_provider?: string;
@@ -983,7 +988,7 @@ type GetEnvVarsResponse = {
983
988
  context_parameter?: string;
984
989
  }[];
985
990
  /**
986
- * Secret values are only readable by code running on Netlify’s systems. With secrets, only the local development context values are readable from the UI, API, and CLI. By default, environment variable values are not secret. (Enterprise plans only)
991
+ * Secret values are only readable by code running on Netlify’s systems. With secrets, only the local development context values are readable from the UI, API, and CLI. By default, environment variable values are not secret.
987
992
  */
988
993
  is_secret?: boolean;
989
994
  /**
@@ -1025,7 +1030,7 @@ type GetEnvVarsVariables = {
1025
1030
  queryParams?: GetEnvVarsQueryParams;
1026
1031
  } & FetcherExtraProps;
1027
1032
  /**
1028
- * Returns all environment variables for an account or site. An account corresponds to a team in the Netlify UI. To use this endpoint, your site must no longer be using the <a href="https://docs.netlify.com/environment-variables/classic-experience/">classic environment variables experience</a>. Migrate now with the Netlify UI.
1033
+ * Returns all environment variables for an account or site. An account corresponds to a team in the Netlify UI.
1029
1034
  */
1030
1035
  declare const getEnvVars: (variables: GetEnvVarsVariables, signal?: AbortSignal) => Promise<GetEnvVarsResponse>;
1031
1036
  type CreateEnvVarsPathParams = {
@@ -1089,7 +1094,7 @@ type CreateEnvVarsResponse = {
1089
1094
  context_parameter?: string;
1090
1095
  }[];
1091
1096
  /**
1092
- * Secret values are only readable by code running on Netlify’s systems. With secrets, only the local development context values are readable from the UI, API, and CLI. By default, environment variable values are not secret. (Enterprise plans only)
1097
+ * Secret values are only readable by code running on Netlify’s systems. With secrets, only the local development context values are readable from the UI, API, and CLI. By default, environment variable values are not secret.
1093
1098
  */
1094
1099
  is_secret?: boolean;
1095
1100
  /**
@@ -1158,7 +1163,7 @@ type CreateEnvVarsRequestBody = {
1158
1163
  context_parameter?: string;
1159
1164
  }[];
1160
1165
  /**
1161
- * Secret values are only readable by code running on Netlify’s systems. With secrets, only the local development context values are readable from the UI, API, and CLI. By default, environment variable values are not secret. (Enterprise plans only)
1166
+ * Secret values are only readable by code running on Netlify’s systems. With secrets, only the local development context values are readable from the UI, API, and CLI. By default, environment variable values are not secret.
1162
1167
  */
1163
1168
  is_secret?: boolean;
1164
1169
  }[];
@@ -1168,7 +1173,7 @@ type CreateEnvVarsVariables = {
1168
1173
  queryParams?: CreateEnvVarsQueryParams;
1169
1174
  } & FetcherExtraProps;
1170
1175
  /**
1171
- * Creates new environment variables. Granular scopes are available on Pro plans and above. To use this endpoint, your site must no longer be using the <a href="https://docs.netlify.com/environment-variables/classic-experience/">classic environment variables experience</a>. Migrate now with the Netlify UI.
1176
+ * Creates new environment variables. Granular scopes are available on Pro plans and above.
1172
1177
  */
1173
1178
  declare const createEnvVars: (variables: CreateEnvVarsVariables, signal?: AbortSignal) => Promise<CreateEnvVarsResponse>;
1174
1179
  type GetSiteEnvVarsPathParams = {
@@ -1236,7 +1241,7 @@ type GetSiteEnvVarsResponse = {
1236
1241
  context_parameter?: string;
1237
1242
  }[];
1238
1243
  /**
1239
- * Secret values are only readable by code running on Netlify’s systems. With secrets, only the local development context values are readable from the UI, API, and CLI. By default, environment variable values are not secret. (Enterprise plans only)
1244
+ * Secret values are only readable by code running on Netlify’s systems. With secrets, only the local development context values are readable from the UI, API, and CLI. By default, environment variable values are not secret.
1240
1245
  */
1241
1246
  is_secret?: boolean;
1242
1247
  /**
@@ -1346,7 +1351,7 @@ type GetEnvVarResponse = {
1346
1351
  context_parameter?: string;
1347
1352
  }[];
1348
1353
  /**
1349
- * Secret values are only readable by code running on Netlify’s systems. With secrets, only the local development context values are readable from the UI, API, and CLI. By default, environment variable values are not secret. (Enterprise plans only)
1354
+ * Secret values are only readable by code running on Netlify’s systems. With secrets, only the local development context values are readable from the UI, API, and CLI. By default, environment variable values are not secret.
1350
1355
  */
1351
1356
  is_secret?: boolean;
1352
1357
  /**
@@ -1388,7 +1393,7 @@ type GetEnvVarVariables = {
1388
1393
  queryParams?: GetEnvVarQueryParams;
1389
1394
  } & FetcherExtraProps;
1390
1395
  /**
1391
- * Returns an individual environment variable. To use this endpoint, your site must no longer be using the <a href="https://docs.netlify.com/environment-variables/classic-experience/">classic environment variables experience</a>. Migrate now with the Netlify UI.
1396
+ * Returns an individual environment variable.
1392
1397
  */
1393
1398
  declare const getEnvVar: (variables: GetEnvVarVariables, signal?: AbortSignal) => Promise<GetEnvVarResponse>;
1394
1399
  type UpdateEnvVarPathParams = {
@@ -1456,7 +1461,7 @@ type UpdateEnvVarResponse = {
1456
1461
  context_parameter?: string;
1457
1462
  }[];
1458
1463
  /**
1459
- * Secret values are only readable by code running on Netlify’s systems. With secrets, only the local development context values are readable from the UI, API, and CLI. By default, environment variable values are not secret. (Enterprise plans only)
1464
+ * Secret values are only readable by code running on Netlify’s systems. With secrets, only the local development context values are readable from the UI, API, and CLI. By default, environment variable values are not secret.
1460
1465
  */
1461
1466
  is_secret?: boolean;
1462
1467
  /**
@@ -1525,7 +1530,7 @@ type UpdateEnvVarRequestBody = {
1525
1530
  context_parameter?: string;
1526
1531
  }[];
1527
1532
  /**
1528
- * Secret values are only readable by code running on Netlify’s systems. With secrets, only the local development context values are readable from the UI, API, and CLI. By default, environment variable values are not secret. (Enterprise plans only)
1533
+ * Secret values are only readable by code running on Netlify’s systems. With secrets, only the local development context values are readable from the UI, API, and CLI. By default, environment variable values are not secret.
1529
1534
  */
1530
1535
  is_secret?: boolean;
1531
1536
  };
@@ -1535,7 +1540,7 @@ type UpdateEnvVarVariables = {
1535
1540
  queryParams?: UpdateEnvVarQueryParams;
1536
1541
  } & FetcherExtraProps;
1537
1542
  /**
1538
- * Updates an existing environment variable and all of its values. Existing values will be replaced by values provided. To use this endpoint, your site must no longer be using the <a href="https://docs.netlify.com/environment-variables/classic-experience/">classic environment variables experience</a>. Migrate now with the Netlify UI.
1543
+ * Updates an existing environment variable and all of its values. Existing values will be replaced by values provided.
1539
1544
  */
1540
1545
  declare const updateEnvVar: (variables: UpdateEnvVarVariables, signal?: AbortSignal) => Promise<UpdateEnvVarResponse>;
1541
1546
  type SetEnvVarValuePathParams = {
@@ -1603,7 +1608,7 @@ type SetEnvVarValueResponse = {
1603
1608
  context_parameter?: string;
1604
1609
  }[];
1605
1610
  /**
1606
- * Secret values are only readable by code running on Netlify’s systems. With secrets, only the local development context values are readable from the UI, API, and CLI. By default, environment variable values are not secret. (Enterprise plans only)
1611
+ * Secret values are only readable by code running on Netlify’s systems. With secrets, only the local development context values are readable from the UI, API, and CLI. By default, environment variable values are not secret.
1607
1612
  */
1608
1613
  is_secret?: boolean;
1609
1614
  /**
@@ -1660,7 +1665,7 @@ type SetEnvVarValueVariables = {
1660
1665
  queryParams?: SetEnvVarValueQueryParams;
1661
1666
  } & FetcherExtraProps;
1662
1667
  /**
1663
- * Updates or creates a new value for an existing environment variable. To use this endpoint, your site must no longer be using the <a href="https://docs.netlify.com/environment-variables/classic-experience/">classic environment variables experience</a>. Migrate now with the Netlify UI.
1668
+ * Updates or creates a new value for an existing environment variable.
1664
1669
  */
1665
1670
  declare const setEnvVarValue: (variables: SetEnvVarValueVariables, signal?: AbortSignal) => Promise<SetEnvVarValueResponse>;
1666
1671
  type DeleteEnvVarPathParams = {
@@ -1694,7 +1699,7 @@ type DeleteEnvVarVariables = {
1694
1699
  queryParams?: DeleteEnvVarQueryParams;
1695
1700
  } & FetcherExtraProps;
1696
1701
  /**
1697
- * Deletes an environment variable. To use this endpoint, your site must no longer be using the <a href="https://docs.netlify.com/environment-variables/classic-experience/">classic environment variables experience</a>. Migrate now with the Netlify UI.
1702
+ * Deletes an environment variable
1698
1703
  */
1699
1704
  declare const deleteEnvVar: (variables: DeleteEnvVarVariables, signal?: AbortSignal) => Promise<undefined>;
1700
1705
  type DeleteEnvVarValuePathParams = {
@@ -1732,7 +1737,7 @@ type DeleteEnvVarValueVariables = {
1732
1737
  queryParams?: DeleteEnvVarValueQueryParams;
1733
1738
  } & FetcherExtraProps;
1734
1739
  /**
1735
- * Deletes a specific environment variable value. To use this endpoint, your site must no longer be using the <a href="https://docs.netlify.com/environment-variables/classic-experience/">classic environment variables experience</a>. Migrate now with the Netlify UI.
1740
+ * Deletes a specific environment variable value.
1736
1741
  */
1737
1742
  declare const deleteEnvVarValue: (variables: DeleteEnvVarValueVariables, signal?: AbortSignal) => Promise<undefined>;
1738
1743
  type SearchSiteFunctionsPathParams = {
@@ -3028,6 +3033,7 @@ type UnlinkSiteRepoResponse = {
3028
3033
  cron?: string;
3029
3034
  }[];
3030
3035
  };
3036
+ account_id?: string;
3031
3037
  account_name?: string;
3032
3038
  account_slug?: string;
3033
3039
  git_provider?: string;
@@ -4185,6 +4191,7 @@ type CreateSiteInTeamResponse = {
4185
4191
  cron?: string;
4186
4192
  }[];
4187
4193
  };
4194
+ account_id?: string;
4188
4195
  account_name?: string;
4189
4196
  account_slug?: string;
4190
4197
  git_provider?: string;
@@ -4297,6 +4304,7 @@ type CreateSiteInTeamRequestBody = {
4297
4304
  cron?: string;
4298
4305
  }[];
4299
4306
  };
4307
+ account_id?: string;
4300
4308
  account_name?: string;
4301
4309
  account_slug?: string;
4302
4310
  git_provider?: string;
@@ -4461,6 +4469,7 @@ type ListSitesForAccountResponse = {
4461
4469
  cron?: string;
4462
4470
  }[];
4463
4471
  };
4472
+ account_id?: string;
4464
4473
  account_name?: string;
4465
4474
  account_slug?: string;
4466
4475
  git_provider?: string;
@@ -7421,7 +7430,7 @@ type RefreshTokenResult = {
7421
7430
  /**
7422
7431
  * Generated by @openapi-codegen
7423
7432
  *
7424
- * @version 2.33.1
7433
+ * @version 2.34.0
7425
7434
  */
7426
7435
  type SplitTestSetup = {
7427
7436
  branch_tests?: Record<string, any>;
@@ -7580,6 +7589,7 @@ type Site = {
7580
7589
  cron?: string;
7581
7590
  }[];
7582
7591
  };
7592
+ account_id?: string;
7583
7593
  account_name?: string;
7584
7594
  account_slug?: string;
7585
7595
  git_provider?: string;
@@ -7692,6 +7702,7 @@ type SiteSetup = {
7692
7702
  cron?: string;
7693
7703
  }[];
7694
7704
  };
7705
+ account_id?: string;
7695
7706
  account_name?: string;
7696
7707
  account_slug?: string;
7697
7708
  git_provider?: string;
@@ -7831,7 +7842,7 @@ type EnvVar = {
7831
7842
  context_parameter?: string;
7832
7843
  }[];
7833
7844
  /**
7834
- * Secret values are only readable by code running on Netlify’s systems. With secrets, only the local development context values are readable from the UI, API, and CLI. By default, environment variable values are not secret. (Enterprise plans only)
7845
+ * Secret values are only readable by code running on Netlify’s systems. With secrets, only the local development context values are readable from the UI, API, and CLI. By default, environment variable values are not secret.
7835
7846
  */
7836
7847
  is_secret?: boolean;
7837
7848
  /**
@@ -8799,7 +8810,7 @@ declare namespace schemas {
8799
8810
  /**
8800
8811
  * Generated by @openapi-codegen
8801
8812
  *
8802
- * @version 2.33.1
8813
+ * @version 2.34.0
8803
8814
  */
8804
8815
  /**
8805
8816
  * @format int32
@@ -8821,7 +8832,7 @@ declare namespace parameters {
8821
8832
  /**
8822
8833
  * Generated by @openapi-codegen
8823
8834
  *
8824
- * @version 2.33.1
8835
+ * @version 2.34.0
8825
8836
  */
8826
8837
  type Error = {
8827
8838
  /**