netlify-api 0.1.8 → 0.1.9

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.8 build /home/runner/work/openapi-clients/openapi-clients/packages/netlify-api
2
+ > netlify-api@0.1.9 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 8.5s
7
+ created dist/index.cjs, dist/index.mjs in 5.6s
8
8
  
9
9
  ./src/index.ts → dist/index.d.ts...
10
- created dist/index.d.ts in 7.5s
10
+ created dist/index.d.ts in 5.4s
package/CHANGELOG.md CHANGED
@@ -1,5 +1,12 @@
1
1
  # netlify-api
2
2
 
3
+ ## 0.1.9
4
+
5
+ ### Patch Changes
6
+
7
+ - 605bae6: [OpenAPI] Spec updates for netlify-api
8
+ - 0be29c9: Export `types`
9
+
3
10
  ## 0.1.8
4
11
 
5
12
  ### Patch Changes
package/dist/index.d.ts CHANGED
@@ -29,45 +29,9 @@ type ErrorWrapper<TError> = TError | {
29
29
  /**
30
30
  * Generated by @openapi-codegen
31
31
  *
32
- * @version 2.23.1
32
+ * @version 2.24.1
33
33
  */
34
34
  type UpdateSiteMetadataMetadata = Record<string, any>;
35
- type CreateHookBySiteIdHook = {
36
- id?: string;
37
- site_id?: string;
38
- type?: string;
39
- event?: string;
40
- data?: Record<string, any>;
41
- /**
42
- * @format dateTime
43
- */
44
- created_at?: string;
45
- /**
46
- * @format dateTime
47
- */
48
- updated_at?: string;
49
- disabled?: boolean;
50
- };
51
- type CreateSiteSnippetSnippet = {
52
- /**
53
- * @format int32
54
- */
55
- id?: number;
56
- site_id?: string;
57
- title?: string;
58
- general?: string;
59
- general_position?: string;
60
- goal?: string;
61
- goal_position?: string;
62
- };
63
- /**
64
- * @format binary
65
- */
66
- type UploadDeployFileFileBody = Blob;
67
- type CreateSiteBuildHookBuildhook = {
68
- title?: string;
69
- branch?: string;
70
- };
71
35
  type CreateSiteSite = {
72
36
  id?: string;
73
37
  state?: string;
@@ -152,18 +116,6 @@ type CreateSiteSite = {
152
116
  [key: string]: Record<string, any>;
153
117
  };
154
118
  processing_settings?: {
155
- skip?: boolean;
156
- css?: {
157
- bundle?: boolean;
158
- minify?: boolean;
159
- };
160
- js?: {
161
- bundle?: boolean;
162
- minify?: boolean;
163
- };
164
- images?: {
165
- optimize?: boolean;
166
- };
167
119
  html?: {
168
120
  pretty_urls?: boolean;
169
121
  };
@@ -238,6 +190,43 @@ type CreateSiteDeployDeploy = {
238
190
  };
239
191
  branch?: string;
240
192
  framework?: string;
193
+ framework_version?: string;
194
+ };
195
+ type CreateHookBySiteIdHook = {
196
+ id?: string;
197
+ site_id?: string;
198
+ type?: string;
199
+ event?: string;
200
+ data?: Record<string, any>;
201
+ /**
202
+ * @format dateTime
203
+ */
204
+ created_at?: string;
205
+ /**
206
+ * @format dateTime
207
+ */
208
+ updated_at?: string;
209
+ disabled?: boolean;
210
+ };
211
+ type CreateSiteSnippetSnippet = {
212
+ /**
213
+ * @format int32
214
+ */
215
+ id?: number;
216
+ site_id?: string;
217
+ title?: string;
218
+ general?: string;
219
+ general_position?: string;
220
+ goal?: string;
221
+ goal_position?: string;
222
+ };
223
+ /**
224
+ * @format binary
225
+ */
226
+ type UploadDeployFileFileBody = Blob;
227
+ type CreateSiteBuildHookBuildhook = {
228
+ title?: string;
229
+ branch?: string;
241
230
  };
242
231
  type CreateSplitTestBranchTests = {
243
232
  branch_tests?: Record<string, any>;
@@ -262,7 +251,7 @@ type ServerErrorStatus = Exclude<ComputeRange<600>[number], ComputeRange<500>[nu
262
251
  /**
263
252
  * Generated by @openapi-codegen
264
253
  *
265
- * @version 2.23.1
254
+ * @version 2.24.1
266
255
  */
267
256
 
268
257
  type ListSitesQueryParams = {
@@ -371,18 +360,6 @@ type ListSitesResponse = {
371
360
  [key: string]: Record<string, any>;
372
361
  };
373
362
  processing_settings?: {
374
- skip?: boolean;
375
- css?: {
376
- bundle?: boolean;
377
- minify?: boolean;
378
- };
379
- js?: {
380
- bundle?: boolean;
381
- minify?: boolean;
382
- };
383
- images?: {
384
- optimize?: boolean;
385
- };
386
363
  html?: {
387
364
  pretty_urls?: boolean;
388
365
  };
@@ -518,18 +495,6 @@ type CreateSiteResponse = {
518
495
  [key: string]: Record<string, any>;
519
496
  };
520
497
  processing_settings?: {
521
- skip?: boolean;
522
- css?: {
523
- bundle?: boolean;
524
- minify?: boolean;
525
- };
526
- js?: {
527
- bundle?: boolean;
528
- minify?: boolean;
529
- };
530
- images?: {
531
- optimize?: boolean;
532
- };
533
498
  html?: {
534
499
  pretty_urls?: boolean;
535
500
  };
@@ -669,18 +634,6 @@ type GetSiteResponse = {
669
634
  [key: string]: Record<string, any>;
670
635
  };
671
636
  processing_settings?: {
672
- skip?: boolean;
673
- css?: {
674
- bundle?: boolean;
675
- minify?: boolean;
676
- };
677
- js?: {
678
- bundle?: boolean;
679
- minify?: boolean;
680
- };
681
- images?: {
682
- optimize?: boolean;
683
- };
684
637
  html?: {
685
638
  pretty_urls?: boolean;
686
639
  };
@@ -817,18 +770,6 @@ type UpdateSiteResponse = {
817
770
  [key: string]: Record<string, any>;
818
771
  };
819
772
  processing_settings?: {
820
- skip?: boolean;
821
- css?: {
822
- bundle?: boolean;
823
- minify?: boolean;
824
- };
825
- js?: {
826
- bundle?: boolean;
827
- minify?: boolean;
828
- };
829
- images?: {
830
- optimize?: boolean;
831
- };
832
773
  html?: {
833
774
  pretty_urls?: boolean;
834
775
  };
@@ -2958,18 +2899,6 @@ type UnlinkSiteRepoResponse = {
2958
2899
  [key: string]: Record<string, any>;
2959
2900
  };
2960
2901
  processing_settings?: {
2961
- skip?: boolean;
2962
- css?: {
2963
- bundle?: boolean;
2964
- minify?: boolean;
2965
- };
2966
- js?: {
2967
- bundle?: boolean;
2968
- minify?: boolean;
2969
- };
2970
- images?: {
2971
- optimize?: boolean;
2972
- };
2973
2902
  html?: {
2974
2903
  pretty_urls?: boolean;
2975
2904
  };
@@ -4138,18 +4067,6 @@ type CreateSiteInTeamResponse = {
4138
4067
  [key: string]: Record<string, any>;
4139
4068
  };
4140
4069
  processing_settings?: {
4141
- skip?: boolean;
4142
- css?: {
4143
- bundle?: boolean;
4144
- minify?: boolean;
4145
- };
4146
- js?: {
4147
- bundle?: boolean;
4148
- minify?: boolean;
4149
- };
4150
- images?: {
4151
- optimize?: boolean;
4152
- };
4153
4070
  html?: {
4154
4071
  pretty_urls?: boolean;
4155
4072
  };
@@ -4265,18 +4182,6 @@ type CreateSiteInTeamRequestBody = {
4265
4182
  [key: string]: Record<string, any>;
4266
4183
  };
4267
4184
  processing_settings?: {
4268
- skip?: boolean;
4269
- css?: {
4270
- bundle?: boolean;
4271
- minify?: boolean;
4272
- };
4273
- js?: {
4274
- bundle?: boolean;
4275
- minify?: boolean;
4276
- };
4277
- images?: {
4278
- optimize?: boolean;
4279
- };
4280
4185
  html?: {
4281
4186
  pretty_urls?: boolean;
4282
4187
  };
@@ -4444,18 +4349,6 @@ type ListSitesForAccountResponse = {
4444
4349
  [key: string]: Record<string, any>;
4445
4350
  };
4446
4351
  processing_settings?: {
4447
- skip?: boolean;
4448
- css?: {
4449
- bundle?: boolean;
4450
- minify?: boolean;
4451
- };
4452
- js?: {
4453
- bundle?: boolean;
4454
- minify?: boolean;
4455
- };
4456
- images?: {
4457
- optimize?: boolean;
4458
- };
4459
4352
  html?: {
4460
4353
  pretty_urls?: boolean;
4461
4354
  };
@@ -6997,7 +6890,7 @@ type RefreshTokenResult = {
6997
6890
  /**
6998
6891
  * Generated by @openapi-codegen
6999
6892
  *
7000
- * @version 2.23.1
6893
+ * @version 2.24.1
7001
6894
  */
7002
6895
  type SplitTestSetup = {
7003
6896
  branch_tests?: Record<string, any>;
@@ -7167,18 +7060,6 @@ type Site = {
7167
7060
  [key: string]: Record<string, any>;
7168
7061
  };
7169
7062
  processing_settings?: {
7170
- skip?: boolean;
7171
- css?: {
7172
- bundle?: boolean;
7173
- minify?: boolean;
7174
- };
7175
- js?: {
7176
- bundle?: boolean;
7177
- minify?: boolean;
7178
- };
7179
- images?: {
7180
- optimize?: boolean;
7181
- };
7182
7063
  html?: {
7183
7064
  pretty_urls?: boolean;
7184
7065
  };
@@ -7294,18 +7175,6 @@ type SiteSetup = {
7294
7175
  [key: string]: Record<string, any>;
7295
7176
  };
7296
7177
  processing_settings?: {
7297
- skip?: boolean;
7298
- css?: {
7299
- bundle?: boolean;
7300
- minify?: boolean;
7301
- };
7302
- js?: {
7303
- bundle?: boolean;
7304
- minify?: boolean;
7305
- };
7306
- images?: {
7307
- optimize?: boolean;
7308
- };
7309
7178
  html?: {
7310
7179
  pretty_urls?: boolean;
7311
7180
  };
@@ -7664,6 +7533,7 @@ type DeployFiles = {
7664
7533
  };
7665
7534
  branch?: string;
7666
7535
  framework?: string;
7536
+ framework_version?: string;
7667
7537
  };
7668
7538
  type PluginParams = {
7669
7539
  pinned_version?: string;
@@ -8107,10 +7977,6 @@ type AccountUsageCapability = {
8107
7977
  included?: number;
8108
7978
  used?: number;
8109
7979
  };
8110
- type MinifyOptions = {
8111
- bundle?: boolean;
8112
- minify?: boolean;
8113
- };
8114
7980
  type BuildSetup = {
8115
7981
  image?: string;
8116
7982
  clear_cache?: boolean;
@@ -8233,7 +8099,6 @@ type schemas_Hook = Hook;
8233
8099
  type schemas_HookType = HookType;
8234
8100
  type schemas_Member = Member;
8235
8101
  type schemas_Metadata = Metadata;
8236
- type schemas_MinifyOptions = MinifyOptions;
8237
8102
  type schemas_PaymentMethod = PaymentMethod;
8238
8103
  type schemas_Plugin = Plugin;
8239
8104
  type schemas_PluginParams = PluginParams;
@@ -8254,13 +8119,13 @@ type schemas_Submission = Submission;
8254
8119
  type schemas_Ticket = Ticket;
8255
8120
  type schemas_User = User;
8256
8121
  declare namespace schemas {
8257
- export type { schemas_AccessToken as AccessToken, schemas_AccountAddMemberSetup as AccountAddMemberSetup, schemas_AccountMembership as AccountMembership, schemas_AccountSetup as AccountSetup, schemas_AccountType as AccountType, schemas_AccountUpdateMemberSetup as AccountUpdateMemberSetup, schemas_AccountUpdateSetup as AccountUpdateSetup, schemas_AccountUsageCapability as AccountUsageCapability, schemas_Asset as Asset, schemas_AssetForm as AssetForm, schemas_AssetPublicSignature as AssetPublicSignature, schemas_AssetSignature as AssetSignature, schemas_AuditLog as AuditLog, schemas_Build as Build, schemas_BuildHook as BuildHook, schemas_BuildHookSetup as BuildHookSetup, schemas_BuildLogMsg as BuildLogMsg, schemas_BuildSetup as BuildSetup, schemas_BuildStatus as BuildStatus, schemas_Deploy as Deploy, schemas_DeployFiles as DeployFiles, schemas_DeployKey as DeployKey, schemas_DeployedBranch as DeployedBranch, schemas_DnsRecord as DnsRecord, schemas_DnsRecordCreate as DnsRecordCreate, schemas_DnsRecords as DnsRecords, schemas_DnsZone as DnsZone, schemas_DnsZoneSetup as DnsZoneSetup, schemas_DnsZones as DnsZones, schemas_EnvVar as EnvVar, schemas_EnvVarUser as EnvVarUser, schemas_EnvVarValue as EnvVarValue, Error$1 as Error, schemas_File as File, schemas_Form as Form, schemas_Function as Function, schemas_FunctionConfig as FunctionConfig, schemas_FunctionRoute as FunctionRoute, schemas_FunctionSchedule as FunctionSchedule, schemas_Hook as Hook, schemas_HookType as HookType, schemas_Member as Member, schemas_Metadata as Metadata, schemas_MinifyOptions as MinifyOptions, schemas_PaymentMethod as PaymentMethod, schemas_Plugin as Plugin, schemas_PluginParams as PluginParams, schemas_PluginRun as PluginRun, schemas_PluginRunData as PluginRunData, schemas_Purge as Purge, schemas_RepoInfo as RepoInfo, schemas_Service as Service, schemas_ServiceInstance as ServiceInstance, schemas_Site as Site, schemas_SiteSetup as SiteSetup, schemas_SniCertificate as SniCertificate, schemas_Snippet as Snippet, schemas_SplitTest as SplitTest, schemas_SplitTestSetup as SplitTestSetup, schemas_SplitTests as SplitTests, schemas_Submission as Submission, schemas_Ticket as Ticket, schemas_User as User };
8122
+ export type { schemas_AccessToken as AccessToken, schemas_AccountAddMemberSetup as AccountAddMemberSetup, schemas_AccountMembership as AccountMembership, schemas_AccountSetup as AccountSetup, schemas_AccountType as AccountType, schemas_AccountUpdateMemberSetup as AccountUpdateMemberSetup, schemas_AccountUpdateSetup as AccountUpdateSetup, schemas_AccountUsageCapability as AccountUsageCapability, schemas_Asset as Asset, schemas_AssetForm as AssetForm, schemas_AssetPublicSignature as AssetPublicSignature, schemas_AssetSignature as AssetSignature, schemas_AuditLog as AuditLog, schemas_Build as Build, schemas_BuildHook as BuildHook, schemas_BuildHookSetup as BuildHookSetup, schemas_BuildLogMsg as BuildLogMsg, schemas_BuildSetup as BuildSetup, schemas_BuildStatus as BuildStatus, schemas_Deploy as Deploy, schemas_DeployFiles as DeployFiles, schemas_DeployKey as DeployKey, schemas_DeployedBranch as DeployedBranch, schemas_DnsRecord as DnsRecord, schemas_DnsRecordCreate as DnsRecordCreate, schemas_DnsRecords as DnsRecords, schemas_DnsZone as DnsZone, schemas_DnsZoneSetup as DnsZoneSetup, schemas_DnsZones as DnsZones, schemas_EnvVar as EnvVar, schemas_EnvVarUser as EnvVarUser, schemas_EnvVarValue as EnvVarValue, Error$1 as Error, schemas_File as File, schemas_Form as Form, schemas_Function as Function, schemas_FunctionConfig as FunctionConfig, schemas_FunctionRoute as FunctionRoute, schemas_FunctionSchedule as FunctionSchedule, schemas_Hook as Hook, schemas_HookType as HookType, schemas_Member as Member, schemas_Metadata as Metadata, schemas_PaymentMethod as PaymentMethod, schemas_Plugin as Plugin, schemas_PluginParams as PluginParams, schemas_PluginRun as PluginRun, schemas_PluginRunData as PluginRunData, schemas_Purge as Purge, schemas_RepoInfo as RepoInfo, schemas_Service as Service, schemas_ServiceInstance as ServiceInstance, schemas_Site as Site, schemas_SiteSetup as SiteSetup, schemas_SniCertificate as SniCertificate, schemas_Snippet as Snippet, schemas_SplitTest as SplitTest, schemas_SplitTestSetup as SplitTestSetup, schemas_SplitTests as SplitTests, schemas_Submission as Submission, schemas_Ticket as Ticket, schemas_User as User };
8258
8123
  }
8259
8124
 
8260
8125
  /**
8261
8126
  * Generated by @openapi-codegen
8262
8127
  *
8263
- * @version 2.23.1
8128
+ * @version 2.24.1
8264
8129
  */
8265
8130
  /**
8266
8131
  * @format int32
@@ -8282,7 +8147,7 @@ declare namespace parameters {
8282
8147
  /**
8283
8148
  * Generated by @openapi-codegen
8284
8149
  *
8285
- * @version 2.23.1
8150
+ * @version 2.24.1
8286
8151
  */
8287
8152
  type Error = {
8288
8153
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "netlify-api",
3
- "version": "0.1.8",
3
+ "version": "0.1.9",
4
4
  "description": "Netlify API client for Node.js",
5
5
  "author": "SferaDev",
6
6
  "license": "ISC",
@@ -13,7 +13,8 @@
13
13
  "typings": "dist/index.d.ts",
14
14
  "exports": {
15
15
  "import": "./dist/index.mjs",
16
- "require": "./dist/index.cjs"
16
+ "require": "./dist/index.cjs",
17
+ "types": "./dist/index.d.ts"
17
18
  },
18
19
  "repository": {
19
20
  "type": "git",