netlify-api 0.10.2 → 1.2.0

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/types.cjs ADDED
@@ -0,0 +1,170 @@
1
+ Object.defineProperty(exports, '__esModule', { value: true });
2
+
3
+ /**
4
+ * Generated by Kubb (https://kubb.dev/).
5
+ * Do not edit manually.
6
+ */ /**
7
+ * @description Request body for creating a database
8
+ * @type object
9
+ */ const stateEnum = {
10
+ init: "init",
11
+ creating: "creating",
12
+ resetting: "resetting",
13
+ ready: "ready",
14
+ archived: "archived"
15
+ };
16
+ const currentStateEnum = {
17
+ active: "active",
18
+ idle: "idle"
19
+ };
20
+ const databaseBranchDetailStateEnum = {
21
+ init: "init",
22
+ creating: "creating",
23
+ resetting: "resetting",
24
+ ready: "ready",
25
+ archived: "archived"
26
+ };
27
+ const databaseBranchDetailComputeCurrentStateEnum = {
28
+ active: "active",
29
+ idle: "idle"
30
+ };
31
+ const databaseBranchComputeCurrentStateEnum = {
32
+ active: "active",
33
+ idle: "idle"
34
+ };
35
+ const envVarScopesEnum = {
36
+ builds: "builds",
37
+ functions: "functions",
38
+ runtime: "runtime",
39
+ "post-processing": "post-processing"
40
+ };
41
+ const contextEnum = {
42
+ all: "all",
43
+ dev: "dev",
44
+ "dev-server": "dev-server",
45
+ "branch-deploy": "branch-deploy",
46
+ "deploy-preview": "deploy-preview",
47
+ production: "production",
48
+ branch: "branch"
49
+ };
50
+ const envVarValueContextEnum = {
51
+ all: "all",
52
+ dev: "dev",
53
+ "dev-server": "dev-server",
54
+ "branch-deploy": "branch-deploy",
55
+ "deploy-preview": "deploy-preview",
56
+ production: "production",
57
+ branch: "branch"
58
+ };
59
+ const deployEnvironmentVariableScopesEnum = {
60
+ builds: "builds",
61
+ functions: "functions",
62
+ runtime: "runtime",
63
+ "post-processing": "post-processing"
64
+ };
65
+ const algorithmEnum = {
66
+ sliding_window: "sliding_window"
67
+ };
68
+ const typeEnum = {
69
+ ip: "ip",
70
+ domain: "domain"
71
+ };
72
+ const buildLogMsgSectionEnum = {
73
+ initializing: "initializing",
74
+ building: "building",
75
+ deploying: "deploying",
76
+ cleanup: "cleanup",
77
+ postprocessing: "postprocessing"
78
+ };
79
+ const accountSetupPeriodEnum = {
80
+ monthly: "monthly",
81
+ yearly: "yearly"
82
+ };
83
+ const accountAddMemberSetupRoleEnum = {
84
+ Owner: "Owner",
85
+ Developer: "Developer",
86
+ "Billing Admin": "Billing Admin",
87
+ Reviewer: "Reviewer"
88
+ };
89
+ const accountUpdateMemberSetupRoleEnum = {
90
+ Owner: "Owner",
91
+ Developer: "Developer",
92
+ "Billing Admin": "Billing Admin",
93
+ Reviewer: "Reviewer"
94
+ };
95
+ const accountUpdateMemberSetupSiteAccessEnum = {
96
+ all: "all",
97
+ none: "none",
98
+ selected: "selected"
99
+ };
100
+ const functionConfigTrafficRulesActionConfigRateLimitConfigAlgorithmEnum = {
101
+ sliding_window: "sliding_window"
102
+ };
103
+ const functionRouteMethodsEnum = {
104
+ GET: "GET",
105
+ POST: "POST",
106
+ PUT: "PUT",
107
+ PATCH: "PATCH",
108
+ DELETE: "DELETE",
109
+ OPTIONS: "OPTIONS"
110
+ };
111
+ const trafficRulesConfigActionConfigRateLimitConfigAlgorithmEnum = {
112
+ sliding_window: "sliding_window"
113
+ };
114
+ const trafficRulesRateLimitConfigAlgorithmEnum = {
115
+ sliding_window: "sliding_window"
116
+ };
117
+ const devServerHookTypeEnum = {
118
+ new_dev_server: "new_dev_server",
119
+ content_refresh: "content_refresh"
120
+ };
121
+ const devServerHookSetupTypeEnum = {
122
+ new_dev_server: "new_dev_server",
123
+ content_refresh: "content_refresh"
124
+ };
125
+ const createSiteDevServerHookDevserverhookTypeEnum = {
126
+ new_dev_server: "new_dev_server",
127
+ content_refresh: "content_refresh"
128
+ };
129
+ const roleEnum = {
130
+ Owner: "Owner",
131
+ Developer: "Developer",
132
+ "Billing Admin": "Billing Admin",
133
+ Reviewer: "Reviewer"
134
+ };
135
+ const siteAccessEnum = {
136
+ all: "all",
137
+ none: "none",
138
+ selected: "selected"
139
+ };
140
+ const periodEnum = {
141
+ monthly: "monthly",
142
+ yearly: "yearly"
143
+ };
144
+
145
+ exports.accountAddMemberSetupRoleEnum = accountAddMemberSetupRoleEnum;
146
+ exports.accountSetupPeriodEnum = accountSetupPeriodEnum;
147
+ exports.accountUpdateMemberSetupRoleEnum = accountUpdateMemberSetupRoleEnum;
148
+ exports.accountUpdateMemberSetupSiteAccessEnum = accountUpdateMemberSetupSiteAccessEnum;
149
+ exports.algorithmEnum = algorithmEnum;
150
+ exports.buildLogMsgSectionEnum = buildLogMsgSectionEnum;
151
+ exports.contextEnum = contextEnum;
152
+ exports.createSiteDevServerHookDevserverhookTypeEnum = createSiteDevServerHookDevserverhookTypeEnum;
153
+ exports.currentStateEnum = currentStateEnum;
154
+ exports.databaseBranchComputeCurrentStateEnum = databaseBranchComputeCurrentStateEnum;
155
+ exports.databaseBranchDetailComputeCurrentStateEnum = databaseBranchDetailComputeCurrentStateEnum;
156
+ exports.databaseBranchDetailStateEnum = databaseBranchDetailStateEnum;
157
+ exports.deployEnvironmentVariableScopesEnum = deployEnvironmentVariableScopesEnum;
158
+ exports.devServerHookSetupTypeEnum = devServerHookSetupTypeEnum;
159
+ exports.devServerHookTypeEnum = devServerHookTypeEnum;
160
+ exports.envVarScopesEnum = envVarScopesEnum;
161
+ exports.envVarValueContextEnum = envVarValueContextEnum;
162
+ exports.functionConfigTrafficRulesActionConfigRateLimitConfigAlgorithmEnum = functionConfigTrafficRulesActionConfigRateLimitConfigAlgorithmEnum;
163
+ exports.functionRouteMethodsEnum = functionRouteMethodsEnum;
164
+ exports.periodEnum = periodEnum;
165
+ exports.roleEnum = roleEnum;
166
+ exports.siteAccessEnum = siteAccessEnum;
167
+ exports.stateEnum = stateEnum;
168
+ exports.trafficRulesConfigActionConfigRateLimitConfigAlgorithmEnum = trafficRulesConfigActionConfigRateLimitConfigAlgorithmEnum;
169
+ exports.trafficRulesRateLimitConfigAlgorithmEnum = trafficRulesRateLimitConfigAlgorithmEnum;
170
+ exports.typeEnum = typeEnum;