appwrite 9.0.0 → 9.0.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -14,18 +14,18 @@ module Appwrite
14
14
  def get()
15
15
  api_path = '/health'
16
16
 
17
- params = {
17
+ api_params = {
18
18
  }
19
19
 
20
- headers = {
20
+ api_headers = {
21
21
  "content-type": 'application/json',
22
22
  }
23
23
 
24
24
  @client.call(
25
25
  method: 'GET',
26
26
  path: api_path,
27
- headers: headers,
28
- params: params,
27
+ headers: api_headers,
28
+ params: api_params,
29
29
  response_type: Models::HealthStatus
30
30
  )
31
31
  end
@@ -38,18 +38,18 @@ module Appwrite
38
38
  def get_antivirus()
39
39
  api_path = '/health/anti-virus'
40
40
 
41
- params = {
41
+ api_params = {
42
42
  }
43
43
 
44
- headers = {
44
+ api_headers = {
45
45
  "content-type": 'application/json',
46
46
  }
47
47
 
48
48
  @client.call(
49
49
  method: 'GET',
50
50
  path: api_path,
51
- headers: headers,
52
- params: params,
51
+ headers: api_headers,
52
+ params: api_params,
53
53
  response_type: Models::HealthAntivirus
54
54
  )
55
55
  end
@@ -63,18 +63,18 @@ module Appwrite
63
63
  def get_cache()
64
64
  api_path = '/health/cache'
65
65
 
66
- params = {
66
+ api_params = {
67
67
  }
68
68
 
69
- headers = {
69
+ api_headers = {
70
70
  "content-type": 'application/json',
71
71
  }
72
72
 
73
73
  @client.call(
74
74
  method: 'GET',
75
75
  path: api_path,
76
- headers: headers,
77
- params: params,
76
+ headers: api_headers,
77
+ params: api_params,
78
78
  response_type: Models::HealthStatus
79
79
  )
80
80
  end
@@ -87,18 +87,18 @@ module Appwrite
87
87
  def get_db()
88
88
  api_path = '/health/db'
89
89
 
90
- params = {
90
+ api_params = {
91
91
  }
92
92
 
93
- headers = {
93
+ api_headers = {
94
94
  "content-type": 'application/json',
95
95
  }
96
96
 
97
97
  @client.call(
98
98
  method: 'GET',
99
99
  path: api_path,
100
- headers: headers,
101
- params: params,
100
+ headers: api_headers,
101
+ params: api_params,
102
102
  response_type: Models::HealthStatus
103
103
  )
104
104
  end
@@ -111,18 +111,18 @@ module Appwrite
111
111
  def get_pub_sub()
112
112
  api_path = '/health/pubsub'
113
113
 
114
- params = {
114
+ api_params = {
115
115
  }
116
116
 
117
- headers = {
117
+ api_headers = {
118
118
  "content-type": 'application/json',
119
119
  }
120
120
 
121
121
  @client.call(
122
122
  method: 'GET',
123
123
  path: api_path,
124
- headers: headers,
125
- params: params,
124
+ headers: api_headers,
125
+ params: api_params,
126
126
  response_type: Models::HealthStatus
127
127
  )
128
128
  end
@@ -136,18 +136,18 @@ module Appwrite
136
136
  def get_queue()
137
137
  api_path = '/health/queue'
138
138
 
139
- params = {
139
+ api_params = {
140
140
  }
141
141
 
142
- headers = {
142
+ api_headers = {
143
143
  "content-type": 'application/json',
144
144
  }
145
145
 
146
146
  @client.call(
147
147
  method: 'GET',
148
148
  path: api_path,
149
- headers: headers,
150
- params: params,
149
+ headers: api_headers,
150
+ params: api_params,
151
151
  response_type: Models::HealthStatus
152
152
  )
153
153
  end
@@ -162,18 +162,18 @@ module Appwrite
162
162
  def get_queue_certificates()
163
163
  api_path = '/health/queue/certificates'
164
164
 
165
- params = {
165
+ api_params = {
166
166
  }
167
167
 
168
- headers = {
168
+ api_headers = {
169
169
  "content-type": 'application/json',
170
170
  }
171
171
 
172
172
  @client.call(
173
173
  method: 'GET',
174
174
  path: api_path,
175
- headers: headers,
176
- params: params,
175
+ headers: api_headers,
176
+ params: api_params,
177
177
  response_type: Models::HealthQueue
178
178
  )
179
179
  end
@@ -186,18 +186,18 @@ module Appwrite
186
186
  def get_queue_functions()
187
187
  api_path = '/health/queue/functions'
188
188
 
189
- params = {
189
+ api_params = {
190
190
  }
191
191
 
192
- headers = {
192
+ api_headers = {
193
193
  "content-type": 'application/json',
194
194
  }
195
195
 
196
196
  @client.call(
197
197
  method: 'GET',
198
198
  path: api_path,
199
- headers: headers,
200
- params: params,
199
+ headers: api_headers,
200
+ params: api_params,
201
201
  response_type: Models::HealthQueue
202
202
  )
203
203
  end
@@ -211,18 +211,18 @@ module Appwrite
211
211
  def get_queue_logs()
212
212
  api_path = '/health/queue/logs'
213
213
 
214
- params = {
214
+ api_params = {
215
215
  }
216
216
 
217
- headers = {
217
+ api_headers = {
218
218
  "content-type": 'application/json',
219
219
  }
220
220
 
221
221
  @client.call(
222
222
  method: 'GET',
223
223
  path: api_path,
224
- headers: headers,
225
- params: params,
224
+ headers: api_headers,
225
+ params: api_params,
226
226
  response_type: Models::HealthQueue
227
227
  )
228
228
  end
@@ -236,18 +236,18 @@ module Appwrite
236
236
  def get_queue_webhooks()
237
237
  api_path = '/health/queue/webhooks'
238
238
 
239
- params = {
239
+ api_params = {
240
240
  }
241
241
 
242
- headers = {
242
+ api_headers = {
243
243
  "content-type": 'application/json',
244
244
  }
245
245
 
246
246
  @client.call(
247
247
  method: 'GET',
248
248
  path: api_path,
249
- headers: headers,
250
- params: params,
249
+ headers: api_headers,
250
+ params: api_params,
251
251
  response_type: Models::HealthQueue
252
252
  )
253
253
  end
@@ -260,18 +260,18 @@ module Appwrite
260
260
  def get_storage_local()
261
261
  api_path = '/health/storage/local'
262
262
 
263
- params = {
263
+ api_params = {
264
264
  }
265
265
 
266
- headers = {
266
+ api_headers = {
267
267
  "content-type": 'application/json',
268
268
  }
269
269
 
270
270
  @client.call(
271
271
  method: 'GET',
272
272
  path: api_path,
273
- headers: headers,
274
- params: params,
273
+ headers: api_headers,
274
+ params: api_params,
275
275
  response_type: Models::HealthStatus
276
276
  )
277
277
  end
@@ -290,18 +290,18 @@ module Appwrite
290
290
  def get_time()
291
291
  api_path = '/health/time'
292
292
 
293
- params = {
293
+ api_params = {
294
294
  }
295
295
 
296
- headers = {
296
+ api_headers = {
297
297
  "content-type": 'application/json',
298
298
  }
299
299
 
300
300
  @client.call(
301
301
  method: 'GET',
302
302
  path: api_path,
303
- headers: headers,
304
- params: params,
303
+ headers: api_headers,
304
+ params: api_params,
305
305
  response_type: Models::HealthTime
306
306
  )
307
307
  end
@@ -19,18 +19,18 @@ module Appwrite
19
19
  def get()
20
20
  api_path = '/locale'
21
21
 
22
- params = {
22
+ api_params = {
23
23
  }
24
24
 
25
- headers = {
25
+ api_headers = {
26
26
  "content-type": 'application/json',
27
27
  }
28
28
 
29
29
  @client.call(
30
30
  method: 'GET',
31
31
  path: api_path,
32
- headers: headers,
33
- params: params,
32
+ headers: api_headers,
33
+ params: api_params,
34
34
  response_type: Models::Locale
35
35
  )
36
36
  end
@@ -44,18 +44,18 @@ module Appwrite
44
44
  def list_codes()
45
45
  api_path = '/locale/codes'
46
46
 
47
- params = {
47
+ api_params = {
48
48
  }
49
49
 
50
- headers = {
50
+ api_headers = {
51
51
  "content-type": 'application/json',
52
52
  }
53
53
 
54
54
  @client.call(
55
55
  method: 'GET',
56
56
  path: api_path,
57
- headers: headers,
58
- params: params,
57
+ headers: api_headers,
58
+ params: api_params,
59
59
  response_type: Models::LocaleCodeList
60
60
  )
61
61
  end
@@ -69,18 +69,18 @@ module Appwrite
69
69
  def list_continents()
70
70
  api_path = '/locale/continents'
71
71
 
72
- params = {
72
+ api_params = {
73
73
  }
74
74
 
75
- headers = {
75
+ api_headers = {
76
76
  "content-type": 'application/json',
77
77
  }
78
78
 
79
79
  @client.call(
80
80
  method: 'GET',
81
81
  path: api_path,
82
- headers: headers,
83
- params: params,
82
+ headers: api_headers,
83
+ params: api_params,
84
84
  response_type: Models::ContinentList
85
85
  )
86
86
  end
@@ -94,18 +94,18 @@ module Appwrite
94
94
  def list_countries()
95
95
  api_path = '/locale/countries'
96
96
 
97
- params = {
97
+ api_params = {
98
98
  }
99
99
 
100
- headers = {
100
+ api_headers = {
101
101
  "content-type": 'application/json',
102
102
  }
103
103
 
104
104
  @client.call(
105
105
  method: 'GET',
106
106
  path: api_path,
107
- headers: headers,
108
- params: params,
107
+ headers: api_headers,
108
+ params: api_params,
109
109
  response_type: Models::CountryList
110
110
  )
111
111
  end
@@ -119,18 +119,18 @@ module Appwrite
119
119
  def list_countries_eu()
120
120
  api_path = '/locale/countries/eu'
121
121
 
122
- params = {
122
+ api_params = {
123
123
  }
124
124
 
125
- headers = {
125
+ api_headers = {
126
126
  "content-type": 'application/json',
127
127
  }
128
128
 
129
129
  @client.call(
130
130
  method: 'GET',
131
131
  path: api_path,
132
- headers: headers,
133
- params: params,
132
+ headers: api_headers,
133
+ params: api_params,
134
134
  response_type: Models::CountryList
135
135
  )
136
136
  end
@@ -144,18 +144,18 @@ module Appwrite
144
144
  def list_countries_phones()
145
145
  api_path = '/locale/countries/phones'
146
146
 
147
- params = {
147
+ api_params = {
148
148
  }
149
149
 
150
- headers = {
150
+ api_headers = {
151
151
  "content-type": 'application/json',
152
152
  }
153
153
 
154
154
  @client.call(
155
155
  method: 'GET',
156
156
  path: api_path,
157
- headers: headers,
158
- params: params,
157
+ headers: api_headers,
158
+ params: api_params,
159
159
  response_type: Models::PhoneList
160
160
  )
161
161
  end
@@ -170,18 +170,18 @@ module Appwrite
170
170
  def list_currencies()
171
171
  api_path = '/locale/currencies'
172
172
 
173
- params = {
173
+ api_params = {
174
174
  }
175
175
 
176
- headers = {
176
+ api_headers = {
177
177
  "content-type": 'application/json',
178
178
  }
179
179
 
180
180
  @client.call(
181
181
  method: 'GET',
182
182
  path: api_path,
183
- headers: headers,
184
- params: params,
183
+ headers: api_headers,
184
+ params: api_params,
185
185
  response_type: Models::CurrencyList
186
186
  )
187
187
  end
@@ -195,18 +195,18 @@ module Appwrite
195
195
  def list_languages()
196
196
  api_path = '/locale/languages'
197
197
 
198
- params = {
198
+ api_params = {
199
199
  }
200
200
 
201
- headers = {
201
+ api_headers = {
202
202
  "content-type": 'application/json',
203
203
  }
204
204
 
205
205
  @client.call(
206
206
  method: 'GET',
207
207
  path: api_path,
208
- headers: headers,
209
- params: params,
208
+ headers: api_headers,
209
+ params: api_params,
210
210
  response_type: Models::LanguageList
211
211
  )
212
212
  end