You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -129,42 +147,51 @@ Each one of them encapsulates the operations related to it (like listing, updati
129
147
-`fileName`: File name for the image
130
148
131
149
#### `images.delete({ id })`
150
+
132
151
- Deletes an image with the given ID
133
152
134
153
### Teams
135
154
136
155
#### `teams.get({ id })`
156
+
137
157
- Gets team information for the given ID
138
158
139
159
#### `teams.addMembers({ id, members })`
160
+
140
161
- Add members to a team for the given ID
141
162
-`members`: `string` or an `array` and should be the email for the user
142
163
- Adding multiple members at once is possible using an array of emails
143
164
144
165
#### `teams.removeMembers({ id, members })`
166
+
145
167
- Remove members to a team for the given ID
146
168
-`members`: `string` or an `array` and should be the email for the user
147
169
- Deleting multiple members at once is possible using an array of emails
148
170
149
171
### Themes
150
172
151
173
#### `themes.list({ page, pageSize })`
174
+
152
175
- Gets your themes collection
153
176
-`page`: default `1`
154
-
-`pageSize: default `10`
177
+
-`pageSize: default `10`
155
178
156
179
#### `themes.get({ id })`
180
+
157
181
- Gets a theme for the given ID
158
182
159
183
#### `themes.create({ background, colors, font, hasTransparentButton, name })`
184
+
160
185
- Creates a theme with the given configuration
161
186
- See more details of the payload in [the documentation](https://developer.typeform.com/create/reference/create-theme/)
162
187
163
188
#### `themes.update({ background, colors, font, hasTransparentButton, name })`
189
+
164
190
- Updates a theme with the given configuration
165
191
- See more details of the payload in [the documentation](https://developer.typeform.com/create/reference/update-theme/)
166
192
167
193
#### `themes.delete({ id })`
194
+
168
195
- Deletes the theme with the given ID
169
196
170
197
### Workspaces
@@ -275,7 +302,7 @@ Each one of them encapsulates the operations related to it (like listing, updati
275
302
276
303
## Examples
277
304
278
-
#####Update specific typeform property, as [referenced here](https://developer.typeform.com/create/reference/update-form-patch/)
305
+
### Update specific typeform property, as [referenced here](https://developer.typeform.com/create/reference/update-form-patch/)
279
306
280
307
```javascript
281
308
typeformClient
@@ -291,11 +318,11 @@ Each one of them encapsulates the operations related to it (like listing, updati
291
318
]
292
319
})
293
320
.then(response=> {
294
-
//...
321
+
//...
295
322
})
296
323
```
297
324
298
-
#####Update the whole typeform
325
+
### Update the whole typeform
299
326
300
327
```javascript
301
328
typeformClient
@@ -311,14 +338,15 @@ Each one of them encapsulates the operations related to it (like listing, updati
311
338
}
312
339
})
313
340
.then(response=> {
314
-
//...
341
+
//...
315
342
})
316
343
```
317
344
318
345
**Note:**
319
346
The theme property applies a `theme` to the form. If you don't specify a value for the 'theme' property, Typeform applies a new copy of the default theme to the form, **even if you already have a copy of the default theme applied to this form**.
320
347
321
-
##### Uploading an image
348
+
### Uploading an image
349
+
322
350
```javascript
323
351
typeformClient
324
352
.images
@@ -333,7 +361,7 @@ The theme property applies a `theme` to the form. If you don't specify a value f
333
361
334
362
```
335
363
336
-
#####Getting the thumbnail of an image
364
+
### Getting the thumbnail of an image
337
365
338
366
```javascript
339
367
typeformClient
@@ -345,7 +373,7 @@ The theme property applies a `theme` to the form. If you don't specify a value f
345
373
346
374
```
347
375
348
-
###Testing
376
+
## Testing
349
377
350
378
To run unit tests.
351
379
@@ -357,6 +385,6 @@ yarn test:unit
357
385
358
386
```
359
387
360
-
###Suggestions or feedback?
388
+
## Suggestions or feedback
361
389
362
390
Fill out this [conversation](https://bit.ly/2wmzCXi) 🙂
0 commit comments