webflow-api 2.2.0 → 2.2.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.
- package/api/resources/accessGroups/client/Client.js +1 -1
- package/api/resources/assets/client/Client.d.ts +1 -1
- package/api/resources/assets/client/Client.js +9 -9
- package/api/resources/collections/client/Client.js +5 -5
- package/api/resources/collections/resources/fields/client/Client.js +2 -2
- package/api/resources/collections/resources/items/client/Client.js +10 -10
- package/api/resources/ecommerce/client/Client.js +1 -1
- package/api/resources/forms/client/Client.js +5 -5
- package/api/resources/inventory/client/Client.js +2 -2
- package/api/resources/orders/client/Client.js +6 -6
- package/api/resources/pages/client/Client.js +5 -5
- package/api/resources/pages/resources/scripts/client/Client.js +3 -3
- package/api/resources/products/client/Client.js +6 -6
- package/api/resources/scripts/client/Client.js +3 -3
- package/api/resources/sites/client/Client.js +4 -4
- package/api/resources/sites/resources/activityLogs/client/Client.js +1 -1
- package/api/resources/sites/resources/scripts/client/Client.js +4 -4
- package/api/resources/token/client/Client.js +2 -2
- package/api/resources/users/client/Client.js +5 -5
- package/api/resources/webhooks/client/Client.js +4 -4
- package/api/types/Assets.d.ts +10 -0
- package/api/types/Assets.js +5 -0
- package/api/types/OauthScope.d.ts +46 -22
- package/api/types/OauthScope.js +12 -6
- package/api/types/index.d.ts +1 -0
- package/api/types/index.js +1 -0
- package/dist/api/resources/accessGroups/client/Client.js +1 -1
- package/dist/api/resources/assets/client/Client.d.ts +1 -1
- package/dist/api/resources/assets/client/Client.js +9 -9
- package/dist/api/resources/collections/client/Client.js +5 -5
- package/dist/api/resources/collections/resources/fields/client/Client.js +2 -2
- package/dist/api/resources/collections/resources/items/client/Client.js +10 -10
- package/dist/api/resources/ecommerce/client/Client.js +1 -1
- package/dist/api/resources/forms/client/Client.js +5 -5
- package/dist/api/resources/inventory/client/Client.js +2 -2
- package/dist/api/resources/orders/client/Client.js +6 -6
- package/dist/api/resources/pages/client/Client.js +5 -5
- package/dist/api/resources/pages/resources/scripts/client/Client.js +3 -3
- package/dist/api/resources/products/client/Client.js +6 -6
- package/dist/api/resources/scripts/client/Client.js +3 -3
- package/dist/api/resources/sites/client/Client.js +4 -4
- package/dist/api/resources/sites/resources/activityLogs/client/Client.js +1 -1
- package/dist/api/resources/sites/resources/scripts/client/Client.js +4 -4
- package/dist/api/resources/token/client/Client.js +2 -2
- package/dist/api/resources/users/client/Client.js +5 -5
- package/dist/api/resources/webhooks/client/Client.js +4 -4
- package/dist/api/types/Assets.d.ts +10 -0
- package/dist/api/types/Assets.js +5 -0
- package/dist/api/types/OauthScope.d.ts +46 -22
- package/dist/api/types/OauthScope.js +12 -6
- package/dist/api/types/index.d.ts +1 -0
- package/dist/api/types/index.js +1 -0
- package/dist/serialization/resources/assets/client/index.d.ts +0 -1
- package/dist/serialization/resources/assets/client/index.js +0 -14
- package/dist/serialization/resources/index.d.ts +1 -1
- package/dist/serialization/resources/index.js +2 -2
- package/dist/serialization/types/Assets.d.ts +12 -0
- package/dist/serialization/{resources/assets/client/list.js → types/Assets.js} +7 -3
- package/dist/serialization/types/OauthScope.d.ts +1 -1
- package/dist/serialization/types/OauthScope.js +12 -6
- package/dist/serialization/types/index.d.ts +1 -0
- package/dist/serialization/types/index.js +1 -0
- package/package.json +1 -1
- package/serialization/resources/assets/client/index.d.ts +0 -1
- package/serialization/resources/assets/client/index.js +0 -14
- package/serialization/resources/index.d.ts +1 -1
- package/serialization/resources/index.js +2 -2
- package/serialization/types/Assets.d.ts +12 -0
- package/serialization/{resources/assets/client/list.js → types/Assets.js} +7 -3
- package/serialization/types/OauthScope.d.ts +1 -1
- package/serialization/types/OauthScope.js +12 -6
- package/serialization/types/index.d.ts +1 -0
- package/serialization/types/index.js +1 -0
- package/dist/serialization/resources/assets/client/list.d.ts +0 -10
- package/serialization/resources/assets/client/list.d.ts +0 -10
|
@@ -93,7 +93,7 @@ class Pages {
|
|
|
93
93
|
Authorization: yield this._getAuthorizationHeader(),
|
|
94
94
|
"X-Fern-Language": "JavaScript",
|
|
95
95
|
"X-Fern-SDK-Name": "webflow-api",
|
|
96
|
-
"X-Fern-SDK-Version": "v2.2.
|
|
96
|
+
"X-Fern-SDK-Version": "v2.2.1",
|
|
97
97
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
98
98
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
99
99
|
},
|
|
@@ -171,7 +171,7 @@ class Pages {
|
|
|
171
171
|
Authorization: yield this._getAuthorizationHeader(),
|
|
172
172
|
"X-Fern-Language": "JavaScript",
|
|
173
173
|
"X-Fern-SDK-Name": "webflow-api",
|
|
174
|
-
"X-Fern-SDK-Version": "v2.2.
|
|
174
|
+
"X-Fern-SDK-Version": "v2.2.1",
|
|
175
175
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
176
176
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
177
177
|
},
|
|
@@ -274,7 +274,7 @@ class Pages {
|
|
|
274
274
|
Authorization: yield this._getAuthorizationHeader(),
|
|
275
275
|
"X-Fern-Language": "JavaScript",
|
|
276
276
|
"X-Fern-SDK-Name": "webflow-api",
|
|
277
|
-
"X-Fern-SDK-Version": "v2.2.
|
|
277
|
+
"X-Fern-SDK-Version": "v2.2.1",
|
|
278
278
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
279
279
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
280
280
|
},
|
|
@@ -354,7 +354,7 @@ class Pages {
|
|
|
354
354
|
Authorization: yield this._getAuthorizationHeader(),
|
|
355
355
|
"X-Fern-Language": "JavaScript",
|
|
356
356
|
"X-Fern-SDK-Name": "webflow-api",
|
|
357
|
-
"X-Fern-SDK-Version": "v2.2.
|
|
357
|
+
"X-Fern-SDK-Version": "v2.2.1",
|
|
358
358
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
359
359
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
360
360
|
},
|
|
@@ -439,7 +439,7 @@ class Pages {
|
|
|
439
439
|
Authorization: yield this._getAuthorizationHeader(),
|
|
440
440
|
"X-Fern-Language": "JavaScript",
|
|
441
441
|
"X-Fern-SDK-Name": "webflow-api",
|
|
442
|
-
"X-Fern-SDK-Version": "v2.2.
|
|
442
|
+
"X-Fern-SDK-Version": "v2.2.1",
|
|
443
443
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
444
444
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
445
445
|
},
|
|
@@ -70,7 +70,7 @@ class Scripts {
|
|
|
70
70
|
Authorization: yield this._getAuthorizationHeader(),
|
|
71
71
|
"X-Fern-Language": "JavaScript",
|
|
72
72
|
"X-Fern-SDK-Name": "webflow-api",
|
|
73
|
-
"X-Fern-SDK-Version": "v2.2.
|
|
73
|
+
"X-Fern-SDK-Version": "v2.2.1",
|
|
74
74
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
75
75
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
76
76
|
},
|
|
@@ -159,7 +159,7 @@ class Scripts {
|
|
|
159
159
|
Authorization: yield this._getAuthorizationHeader(),
|
|
160
160
|
"X-Fern-Language": "JavaScript",
|
|
161
161
|
"X-Fern-SDK-Name": "webflow-api",
|
|
162
|
-
"X-Fern-SDK-Version": "v2.2.
|
|
162
|
+
"X-Fern-SDK-Version": "v2.2.1",
|
|
163
163
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
164
164
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
165
165
|
},
|
|
@@ -232,7 +232,7 @@ class Scripts {
|
|
|
232
232
|
Authorization: yield this._getAuthorizationHeader(),
|
|
233
233
|
"X-Fern-Language": "JavaScript",
|
|
234
234
|
"X-Fern-SDK-Name": "webflow-api",
|
|
235
|
-
"X-Fern-SDK-Version": "v2.2.
|
|
235
|
+
"X-Fern-SDK-Version": "v2.2.1",
|
|
236
236
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
237
237
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
238
238
|
},
|
|
@@ -82,7 +82,7 @@ class Products {
|
|
|
82
82
|
Authorization: yield this._getAuthorizationHeader(),
|
|
83
83
|
"X-Fern-Language": "JavaScript",
|
|
84
84
|
"X-Fern-SDK-Name": "webflow-api",
|
|
85
|
-
"X-Fern-SDK-Version": "v2.2.
|
|
85
|
+
"X-Fern-SDK-Version": "v2.2.1",
|
|
86
86
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
87
87
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
88
88
|
},
|
|
@@ -169,7 +169,7 @@ class Products {
|
|
|
169
169
|
Authorization: yield this._getAuthorizationHeader(),
|
|
170
170
|
"X-Fern-Language": "JavaScript",
|
|
171
171
|
"X-Fern-SDK-Name": "webflow-api",
|
|
172
|
-
"X-Fern-SDK-Version": "v2.2.
|
|
172
|
+
"X-Fern-SDK-Version": "v2.2.1",
|
|
173
173
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
174
174
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
175
175
|
},
|
|
@@ -250,7 +250,7 @@ class Products {
|
|
|
250
250
|
Authorization: yield this._getAuthorizationHeader(),
|
|
251
251
|
"X-Fern-Language": "JavaScript",
|
|
252
252
|
"X-Fern-SDK-Name": "webflow-api",
|
|
253
|
-
"X-Fern-SDK-Version": "v2.2.
|
|
253
|
+
"X-Fern-SDK-Version": "v2.2.1",
|
|
254
254
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
255
255
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
256
256
|
},
|
|
@@ -374,7 +374,7 @@ class Products {
|
|
|
374
374
|
Authorization: yield this._getAuthorizationHeader(),
|
|
375
375
|
"X-Fern-Language": "JavaScript",
|
|
376
376
|
"X-Fern-SDK-Name": "webflow-api",
|
|
377
|
-
"X-Fern-SDK-Version": "v2.2.
|
|
377
|
+
"X-Fern-SDK-Version": "v2.2.1",
|
|
378
378
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
379
379
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
380
380
|
},
|
|
@@ -473,7 +473,7 @@ class Products {
|
|
|
473
473
|
Authorization: yield this._getAuthorizationHeader(),
|
|
474
474
|
"X-Fern-Language": "JavaScript",
|
|
475
475
|
"X-Fern-SDK-Name": "webflow-api",
|
|
476
|
-
"X-Fern-SDK-Version": "v2.2.
|
|
476
|
+
"X-Fern-SDK-Version": "v2.2.1",
|
|
477
477
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
478
478
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
479
479
|
},
|
|
@@ -570,7 +570,7 @@ class Products {
|
|
|
570
570
|
Authorization: yield this._getAuthorizationHeader(),
|
|
571
571
|
"X-Fern-Language": "JavaScript",
|
|
572
572
|
"X-Fern-SDK-Name": "webflow-api",
|
|
573
|
-
"X-Fern-SDK-Version": "v2.2.
|
|
573
|
+
"X-Fern-SDK-Version": "v2.2.1",
|
|
574
574
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
575
575
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
576
576
|
},
|
|
@@ -70,7 +70,7 @@ class Scripts {
|
|
|
70
70
|
Authorization: yield this._getAuthorizationHeader(),
|
|
71
71
|
"X-Fern-Language": "JavaScript",
|
|
72
72
|
"X-Fern-SDK-Name": "webflow-api",
|
|
73
|
-
"X-Fern-SDK-Version": "v2.2.
|
|
73
|
+
"X-Fern-SDK-Version": "v2.2.1",
|
|
74
74
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
75
75
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
76
76
|
},
|
|
@@ -147,7 +147,7 @@ class Scripts {
|
|
|
147
147
|
Authorization: yield this._getAuthorizationHeader(),
|
|
148
148
|
"X-Fern-Language": "JavaScript",
|
|
149
149
|
"X-Fern-SDK-Name": "webflow-api",
|
|
150
|
-
"X-Fern-SDK-Version": "v2.2.
|
|
150
|
+
"X-Fern-SDK-Version": "v2.2.1",
|
|
151
151
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
152
152
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
153
153
|
},
|
|
@@ -224,7 +224,7 @@ class Scripts {
|
|
|
224
224
|
Authorization: yield this._getAuthorizationHeader(),
|
|
225
225
|
"X-Fern-Language": "JavaScript",
|
|
226
226
|
"X-Fern-SDK-Name": "webflow-api",
|
|
227
|
-
"X-Fern-SDK-Version": "v2.2.
|
|
227
|
+
"X-Fern-SDK-Version": "v2.2.1",
|
|
228
228
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
229
229
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
230
230
|
},
|
|
@@ -72,7 +72,7 @@ class Sites {
|
|
|
72
72
|
Authorization: yield this._getAuthorizationHeader(),
|
|
73
73
|
"X-Fern-Language": "JavaScript",
|
|
74
74
|
"X-Fern-SDK-Name": "webflow-api",
|
|
75
|
-
"X-Fern-SDK-Version": "v2.2.
|
|
75
|
+
"X-Fern-SDK-Version": "v2.2.1",
|
|
76
76
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
77
77
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
78
78
|
},
|
|
@@ -144,7 +144,7 @@ class Sites {
|
|
|
144
144
|
Authorization: yield this._getAuthorizationHeader(),
|
|
145
145
|
"X-Fern-Language": "JavaScript",
|
|
146
146
|
"X-Fern-SDK-Name": "webflow-api",
|
|
147
|
-
"X-Fern-SDK-Version": "v2.2.
|
|
147
|
+
"X-Fern-SDK-Version": "v2.2.1",
|
|
148
148
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
149
149
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
150
150
|
},
|
|
@@ -216,7 +216,7 @@ class Sites {
|
|
|
216
216
|
Authorization: yield this._getAuthorizationHeader(),
|
|
217
217
|
"X-Fern-Language": "JavaScript",
|
|
218
218
|
"X-Fern-SDK-Name": "webflow-api",
|
|
219
|
-
"X-Fern-SDK-Version": "v2.2.
|
|
219
|
+
"X-Fern-SDK-Version": "v2.2.1",
|
|
220
220
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
221
221
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
222
222
|
},
|
|
@@ -290,7 +290,7 @@ class Sites {
|
|
|
290
290
|
Authorization: yield this._getAuthorizationHeader(),
|
|
291
291
|
"X-Fern-Language": "JavaScript",
|
|
292
292
|
"X-Fern-SDK-Name": "webflow-api",
|
|
293
|
-
"X-Fern-SDK-Version": "v2.2.
|
|
293
|
+
"X-Fern-SDK-Version": "v2.2.1",
|
|
294
294
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
295
295
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
296
296
|
},
|
|
@@ -77,7 +77,7 @@ class ActivityLogs {
|
|
|
77
77
|
Authorization: yield this._getAuthorizationHeader(),
|
|
78
78
|
"X-Fern-Language": "JavaScript",
|
|
79
79
|
"X-Fern-SDK-Name": "webflow-api",
|
|
80
|
-
"X-Fern-SDK-Version": "v2.2.
|
|
80
|
+
"X-Fern-SDK-Version": "v2.2.1",
|
|
81
81
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
82
82
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
83
83
|
},
|
|
@@ -70,7 +70,7 @@ class Scripts {
|
|
|
70
70
|
Authorization: yield this._getAuthorizationHeader(),
|
|
71
71
|
"X-Fern-Language": "JavaScript",
|
|
72
72
|
"X-Fern-SDK-Name": "webflow-api",
|
|
73
|
-
"X-Fern-SDK-Version": "v2.2.
|
|
73
|
+
"X-Fern-SDK-Version": "v2.2.1",
|
|
74
74
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
75
75
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
76
76
|
},
|
|
@@ -159,7 +159,7 @@ class Scripts {
|
|
|
159
159
|
Authorization: yield this._getAuthorizationHeader(),
|
|
160
160
|
"X-Fern-Language": "JavaScript",
|
|
161
161
|
"X-Fern-SDK-Name": "webflow-api",
|
|
162
|
-
"X-Fern-SDK-Version": "v2.2.
|
|
162
|
+
"X-Fern-SDK-Version": "v2.2.1",
|
|
163
163
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
164
164
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
165
165
|
},
|
|
@@ -232,7 +232,7 @@ class Scripts {
|
|
|
232
232
|
Authorization: yield this._getAuthorizationHeader(),
|
|
233
233
|
"X-Fern-Language": "JavaScript",
|
|
234
234
|
"X-Fern-SDK-Name": "webflow-api",
|
|
235
|
-
"X-Fern-SDK-Version": "v2.2.
|
|
235
|
+
"X-Fern-SDK-Version": "v2.2.1",
|
|
236
236
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
237
237
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
238
238
|
},
|
|
@@ -306,7 +306,7 @@ class Scripts {
|
|
|
306
306
|
Authorization: yield this._getAuthorizationHeader(),
|
|
307
307
|
"X-Fern-Language": "JavaScript",
|
|
308
308
|
"X-Fern-SDK-Name": "webflow-api",
|
|
309
|
-
"X-Fern-SDK-Version": "v2.2.
|
|
309
|
+
"X-Fern-SDK-Version": "v2.2.1",
|
|
310
310
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
311
311
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
312
312
|
},
|
|
@@ -67,7 +67,7 @@ class Token {
|
|
|
67
67
|
Authorization: yield this._getAuthorizationHeader(),
|
|
68
68
|
"X-Fern-Language": "JavaScript",
|
|
69
69
|
"X-Fern-SDK-Name": "webflow-api",
|
|
70
|
-
"X-Fern-SDK-Version": "v2.2.
|
|
70
|
+
"X-Fern-SDK-Version": "v2.2.1",
|
|
71
71
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
72
72
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
73
73
|
},
|
|
@@ -129,7 +129,7 @@ class Token {
|
|
|
129
129
|
Authorization: yield this._getAuthorizationHeader(),
|
|
130
130
|
"X-Fern-Language": "JavaScript",
|
|
131
131
|
"X-Fern-SDK-Name": "webflow-api",
|
|
132
|
-
"X-Fern-SDK-Version": "v2.2.
|
|
132
|
+
"X-Fern-SDK-Version": "v2.2.1",
|
|
133
133
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
134
134
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
135
135
|
},
|
|
@@ -82,7 +82,7 @@ class Users {
|
|
|
82
82
|
Authorization: yield this._getAuthorizationHeader(),
|
|
83
83
|
"X-Fern-Language": "JavaScript",
|
|
84
84
|
"X-Fern-SDK-Name": "webflow-api",
|
|
85
|
-
"X-Fern-SDK-Version": "v2.2.
|
|
85
|
+
"X-Fern-SDK-Version": "v2.2.1",
|
|
86
86
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
87
87
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
88
88
|
},
|
|
@@ -158,7 +158,7 @@ class Users {
|
|
|
158
158
|
Authorization: yield this._getAuthorizationHeader(),
|
|
159
159
|
"X-Fern-Language": "JavaScript",
|
|
160
160
|
"X-Fern-SDK-Name": "webflow-api",
|
|
161
|
-
"X-Fern-SDK-Version": "v2.2.
|
|
161
|
+
"X-Fern-SDK-Version": "v2.2.1",
|
|
162
162
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
163
163
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
164
164
|
},
|
|
@@ -233,7 +233,7 @@ class Users {
|
|
|
233
233
|
Authorization: yield this._getAuthorizationHeader(),
|
|
234
234
|
"X-Fern-Language": "JavaScript",
|
|
235
235
|
"X-Fern-SDK-Name": "webflow-api",
|
|
236
|
-
"X-Fern-SDK-Version": "v2.2.
|
|
236
|
+
"X-Fern-SDK-Version": "v2.2.1",
|
|
237
237
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
238
238
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
239
239
|
},
|
|
@@ -311,7 +311,7 @@ class Users {
|
|
|
311
311
|
Authorization: yield this._getAuthorizationHeader(),
|
|
312
312
|
"X-Fern-Language": "JavaScript",
|
|
313
313
|
"X-Fern-SDK-Name": "webflow-api",
|
|
314
|
-
"X-Fern-SDK-Version": "v2.2.
|
|
314
|
+
"X-Fern-SDK-Version": "v2.2.1",
|
|
315
315
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
316
316
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
317
317
|
},
|
|
@@ -391,7 +391,7 @@ class Users {
|
|
|
391
391
|
Authorization: yield this._getAuthorizationHeader(),
|
|
392
392
|
"X-Fern-Language": "JavaScript",
|
|
393
393
|
"X-Fern-SDK-Name": "webflow-api",
|
|
394
|
-
"X-Fern-SDK-Version": "v2.2.
|
|
394
|
+
"X-Fern-SDK-Version": "v2.2.1",
|
|
395
395
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
396
396
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
397
397
|
},
|
|
@@ -70,7 +70,7 @@ class Webhooks {
|
|
|
70
70
|
Authorization: yield this._getAuthorizationHeader(),
|
|
71
71
|
"X-Fern-Language": "JavaScript",
|
|
72
72
|
"X-Fern-SDK-Name": "webflow-api",
|
|
73
|
-
"X-Fern-SDK-Version": "v2.2.
|
|
73
|
+
"X-Fern-SDK-Version": "v2.2.1",
|
|
74
74
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
75
75
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
76
76
|
},
|
|
@@ -145,7 +145,7 @@ class Webhooks {
|
|
|
145
145
|
Authorization: yield this._getAuthorizationHeader(),
|
|
146
146
|
"X-Fern-Language": "JavaScript",
|
|
147
147
|
"X-Fern-SDK-Name": "webflow-api",
|
|
148
|
-
"X-Fern-SDK-Version": "v2.2.
|
|
148
|
+
"X-Fern-SDK-Version": "v2.2.1",
|
|
149
149
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
150
150
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
151
151
|
},
|
|
@@ -218,7 +218,7 @@ class Webhooks {
|
|
|
218
218
|
Authorization: yield this._getAuthorizationHeader(),
|
|
219
219
|
"X-Fern-Language": "JavaScript",
|
|
220
220
|
"X-Fern-SDK-Name": "webflow-api",
|
|
221
|
-
"X-Fern-SDK-Version": "v2.2.
|
|
221
|
+
"X-Fern-SDK-Version": "v2.2.1",
|
|
222
222
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
223
223
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
224
224
|
},
|
|
@@ -290,7 +290,7 @@ class Webhooks {
|
|
|
290
290
|
Authorization: yield this._getAuthorizationHeader(),
|
|
291
291
|
"X-Fern-Language": "JavaScript",
|
|
292
292
|
"X-Fern-SDK-Name": "webflow-api",
|
|
293
|
-
"X-Fern-SDK-Version": "v2.2.
|
|
293
|
+
"X-Fern-SDK-Version": "v2.2.1",
|
|
294
294
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
295
295
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
296
296
|
},
|
|
@@ -6,49 +6,73 @@ export declare type OauthScope =
|
|
|
6
6
|
* read details about the authorized user */
|
|
7
7
|
"authorized_user:read"
|
|
8
8
|
/**
|
|
9
|
-
* read
|
|
10
|
-
| "read
|
|
9
|
+
* read assets on the site */
|
|
10
|
+
| "assets:read"
|
|
11
11
|
/**
|
|
12
|
-
*
|
|
13
|
-
| "
|
|
12
|
+
* write assets on a site */
|
|
13
|
+
| "assets:write"
|
|
14
14
|
/**
|
|
15
|
-
*
|
|
16
|
-
| "
|
|
15
|
+
* read collections and items for a site */
|
|
16
|
+
| "cms:read"
|
|
17
|
+
/**
|
|
18
|
+
* write to collections and items for a site */
|
|
19
|
+
| "cms:write"
|
|
17
20
|
/**
|
|
18
21
|
* read custom code on the site */
|
|
19
22
|
| "custom_code:read"
|
|
20
23
|
/**
|
|
21
24
|
* modify custom code on the site */
|
|
22
25
|
| "custom_code:write"
|
|
23
|
-
/**
|
|
24
|
-
* delete custom code on the site */
|
|
25
|
-
| "custom_code:delete"
|
|
26
|
-
/**
|
|
27
|
-
* read users on the site */
|
|
28
|
-
| "users:read"
|
|
29
|
-
/**
|
|
30
|
-
* modify users on the site */
|
|
31
|
-
| "users:write"
|
|
32
26
|
/**
|
|
33
27
|
* read ecommerce data */
|
|
34
28
|
| "ecommerce:read"
|
|
35
29
|
/**
|
|
36
30
|
* edit ecommerce data */
|
|
37
31
|
| "ecommerce:write"
|
|
32
|
+
/**
|
|
33
|
+
* read form data */
|
|
34
|
+
| "forms:read"
|
|
35
|
+
/**
|
|
36
|
+
* write form data */
|
|
37
|
+
| "forms:write"
|
|
38
|
+
/**
|
|
39
|
+
* read pages on the site */
|
|
40
|
+
| "pages:read"
|
|
41
|
+
/**
|
|
42
|
+
* write to pages on the site */
|
|
43
|
+
| "pages:write"
|
|
44
|
+
/**
|
|
45
|
+
* read sites on the site */
|
|
46
|
+
| "sites:read"
|
|
47
|
+
/**
|
|
48
|
+
* modify pages on the site */
|
|
49
|
+
| "sites:write"
|
|
50
|
+
/**
|
|
51
|
+
* read users on the site */
|
|
52
|
+
| "users:read"
|
|
38
53
|
/**
|
|
39
54
|
* read site activity logs */
|
|
40
|
-
| "site_activity:read"
|
|
55
|
+
| "site_activity:read"
|
|
56
|
+
/**
|
|
57
|
+
* modify users on the site */
|
|
58
|
+
| "users:write";
|
|
41
59
|
export declare const OauthScope: {
|
|
42
60
|
readonly AuthorizedUserRead: "authorized_user:read";
|
|
43
|
-
readonly
|
|
44
|
-
readonly
|
|
45
|
-
readonly
|
|
61
|
+
readonly AssetsRead: "assets:read";
|
|
62
|
+
readonly AssetsWrite: "assets:write";
|
|
63
|
+
readonly CmsRead: "cms:read";
|
|
64
|
+
readonly CmsWrite: "cms:write";
|
|
46
65
|
readonly CustomCodeRead: "custom_code:read";
|
|
47
66
|
readonly CustomCodeWrite: "custom_code:write";
|
|
48
|
-
readonly CustomCodeDelete: "custom_code:delete";
|
|
49
|
-
readonly UsersRead: "users:read";
|
|
50
|
-
readonly UsersWrite: "users:write";
|
|
51
67
|
readonly EcommerceRead: "ecommerce:read";
|
|
52
68
|
readonly EcommerceWrite: "ecommerce:write";
|
|
69
|
+
readonly FormsRead: "forms:read";
|
|
70
|
+
readonly FormsWrite: "forms:write";
|
|
71
|
+
readonly PagesRead: "pages:read";
|
|
72
|
+
readonly PagesWrite: "pages:write";
|
|
73
|
+
readonly SitesRead: "sites:read";
|
|
74
|
+
readonly SitesWrite: "sites:write";
|
|
75
|
+
readonly UsersRead: "users:read";
|
|
53
76
|
readonly SiteActivityRead: "site_activity:read";
|
|
77
|
+
readonly UsersWrite: "users:write";
|
|
54
78
|
};
|
|
@@ -6,15 +6,21 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
6
6
|
exports.OauthScope = void 0;
|
|
7
7
|
exports.OauthScope = {
|
|
8
8
|
AuthorizedUserRead: "authorized_user:read",
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
9
|
+
AssetsRead: "assets:read",
|
|
10
|
+
AssetsWrite: "assets:write",
|
|
11
|
+
CmsRead: "cms:read",
|
|
12
|
+
CmsWrite: "cms:write",
|
|
12
13
|
CustomCodeRead: "custom_code:read",
|
|
13
14
|
CustomCodeWrite: "custom_code:write",
|
|
14
|
-
CustomCodeDelete: "custom_code:delete",
|
|
15
|
-
UsersRead: "users:read",
|
|
16
|
-
UsersWrite: "users:write",
|
|
17
15
|
EcommerceRead: "ecommerce:read",
|
|
18
16
|
EcommerceWrite: "ecommerce:write",
|
|
17
|
+
FormsRead: "forms:read",
|
|
18
|
+
FormsWrite: "forms:write",
|
|
19
|
+
PagesRead: "pages:read",
|
|
20
|
+
PagesWrite: "pages:write",
|
|
21
|
+
SitesRead: "sites:read",
|
|
22
|
+
SitesWrite: "sites:write",
|
|
23
|
+
UsersRead: "users:read",
|
|
19
24
|
SiteActivityRead: "site_activity:read",
|
|
25
|
+
UsersWrite: "users:write",
|
|
20
26
|
};
|
|
@@ -47,6 +47,7 @@ export * from "./CustomCodeBlock";
|
|
|
47
47
|
export * from "./ListCustomCodeBlocks";
|
|
48
48
|
export * from "./AssetVariant";
|
|
49
49
|
export * from "./Asset";
|
|
50
|
+
export * from "./Assets";
|
|
50
51
|
export * from "./AssetUploadUploadDetails";
|
|
51
52
|
export * from "./AssetUpload";
|
|
52
53
|
export * from "./AssetFolder";
|
package/dist/api/types/index.js
CHANGED
|
@@ -63,6 +63,7 @@ __exportStar(require("./CustomCodeBlock"), exports);
|
|
|
63
63
|
__exportStar(require("./ListCustomCodeBlocks"), exports);
|
|
64
64
|
__exportStar(require("./AssetVariant"), exports);
|
|
65
65
|
__exportStar(require("./Asset"), exports);
|
|
66
|
+
__exportStar(require("./Assets"), exports);
|
|
66
67
|
__exportStar(require("./AssetUploadUploadDetails"), exports);
|
|
67
68
|
__exportStar(require("./AssetUpload"), exports);
|
|
68
69
|
__exportStar(require("./AssetFolder"), exports);
|
|
@@ -10,22 +10,8 @@ var __createBinding = (this && this.__createBinding) || (Object.create ? (functi
|
|
|
10
10
|
if (k2 === undefined) k2 = k;
|
|
11
11
|
o[k2] = m[k];
|
|
12
12
|
}));
|
|
13
|
-
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
-
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
-
}) : function(o, v) {
|
|
16
|
-
o["default"] = v;
|
|
17
|
-
});
|
|
18
|
-
var __importStar = (this && this.__importStar) || function (mod) {
|
|
19
|
-
if (mod && mod.__esModule) return mod;
|
|
20
|
-
var result = {};
|
|
21
|
-
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
22
|
-
__setModuleDefault(result, mod);
|
|
23
|
-
return result;
|
|
24
|
-
};
|
|
25
13
|
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
26
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
27
15
|
};
|
|
28
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
-
exports.list = void 0;
|
|
30
|
-
exports.list = __importStar(require("./list"));
|
|
31
17
|
__exportStar(require("./requests"), exports);
|
|
@@ -11,13 +11,13 @@ export * as orders from "./orders";
|
|
|
11
11
|
export * from "./orders/types";
|
|
12
12
|
export * as inventory from "./inventory";
|
|
13
13
|
export * from "./inventory/types";
|
|
14
|
-
export * as assets from "./assets";
|
|
15
14
|
export * as sites from "./sites";
|
|
16
15
|
export * from "./sites/client/requests";
|
|
17
16
|
export * from "./collections/client/requests";
|
|
18
17
|
export * from "./pages/client/requests";
|
|
19
18
|
export * as scripts from "./scripts";
|
|
20
19
|
export * from "./scripts/client/requests";
|
|
20
|
+
export * as assets from "./assets";
|
|
21
21
|
export * from "./assets/client/requests";
|
|
22
22
|
export * as webhooks from "./webhooks";
|
|
23
23
|
export * from "./webhooks/client/requests";
|
|
@@ -26,7 +26,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
26
26
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
27
27
|
};
|
|
28
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
-
exports.forms = exports.webhooks = exports.
|
|
29
|
+
exports.forms = exports.webhooks = exports.assets = exports.scripts = exports.sites = exports.inventory = exports.orders = exports.products = exports.accessGroups = exports.users = exports.pages = exports.collections = void 0;
|
|
30
30
|
exports.collections = __importStar(require("./collections"));
|
|
31
31
|
exports.pages = __importStar(require("./pages"));
|
|
32
32
|
__exportStar(require("./pages/types"), exports);
|
|
@@ -40,13 +40,13 @@ exports.orders = __importStar(require("./orders"));
|
|
|
40
40
|
__exportStar(require("./orders/types"), exports);
|
|
41
41
|
exports.inventory = __importStar(require("./inventory"));
|
|
42
42
|
__exportStar(require("./inventory/types"), exports);
|
|
43
|
-
exports.assets = __importStar(require("./assets"));
|
|
44
43
|
exports.sites = __importStar(require("./sites"));
|
|
45
44
|
__exportStar(require("./sites/client/requests"), exports);
|
|
46
45
|
__exportStar(require("./collections/client/requests"), exports);
|
|
47
46
|
__exportStar(require("./pages/client/requests"), exports);
|
|
48
47
|
exports.scripts = __importStar(require("./scripts"));
|
|
49
48
|
__exportStar(require("./scripts/client/requests"), exports);
|
|
49
|
+
exports.assets = __importStar(require("./assets"));
|
|
50
50
|
__exportStar(require("./assets/client/requests"), exports);
|
|
51
51
|
exports.webhooks = __importStar(require("./webhooks"));
|
|
52
52
|
__exportStar(require("./webhooks/client/requests"), exports);
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "..";
|
|
5
|
+
import * as Webflow from "../../api";
|
|
6
|
+
import * as core from "../../core";
|
|
7
|
+
export declare const Assets: core.serialization.ObjectSchema<serializers.Assets.Raw, Webflow.Assets>;
|
|
8
|
+
export declare namespace Assets {
|
|
9
|
+
interface Raw {
|
|
10
|
+
assets?: serializers.Asset.Raw[] | null;
|
|
11
|
+
}
|
|
12
|
+
}
|
|
@@ -35,6 +35,10 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
35
35
|
});
|
|
36
36
|
};
|
|
37
37
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
38
|
-
exports.
|
|
39
|
-
const core = __importStar(require("
|
|
40
|
-
exports.
|
|
38
|
+
exports.Assets = void 0;
|
|
39
|
+
const core = __importStar(require("../../core"));
|
|
40
|
+
exports.Assets = core.serialization.object({
|
|
41
|
+
assets: core.serialization
|
|
42
|
+
.list(core.serialization.lazyObject(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("..")))).Asset; })))
|
|
43
|
+
.optional(),
|
|
44
|
+
});
|
|
@@ -6,5 +6,5 @@ import * as Webflow from "../../api";
|
|
|
6
6
|
import * as core from "../../core";
|
|
7
7
|
export declare const OauthScope: core.serialization.Schema<serializers.OauthScope.Raw, Webflow.OauthScope>;
|
|
8
8
|
export declare namespace OauthScope {
|
|
9
|
-
type Raw = "authorized_user:read" | "read:
|
|
9
|
+
type Raw = "authorized_user:read" | "assets:read" | "assets:write" | "cms:read" | "cms:write" | "custom_code:read" | "custom_code:write" | "ecommerce:read" | "ecommerce:write" | "forms:read" | "forms:write" | "pages:read" | "pages:write" | "sites:read" | "sites:write" | "users:read" | "site_activity:read" | "users:write";
|
|
10
10
|
}
|
|
@@ -30,15 +30,21 @@ exports.OauthScope = void 0;
|
|
|
30
30
|
const core = __importStar(require("../../core"));
|
|
31
31
|
exports.OauthScope = core.serialization.enum_([
|
|
32
32
|
"authorized_user:read",
|
|
33
|
-
"read
|
|
34
|
-
"
|
|
35
|
-
"
|
|
33
|
+
"assets:read",
|
|
34
|
+
"assets:write",
|
|
35
|
+
"cms:read",
|
|
36
|
+
"cms:write",
|
|
36
37
|
"custom_code:read",
|
|
37
38
|
"custom_code:write",
|
|
38
|
-
"custom_code:delete",
|
|
39
|
-
"users:read",
|
|
40
|
-
"users:write",
|
|
41
39
|
"ecommerce:read",
|
|
42
40
|
"ecommerce:write",
|
|
41
|
+
"forms:read",
|
|
42
|
+
"forms:write",
|
|
43
|
+
"pages:read",
|
|
44
|
+
"pages:write",
|
|
45
|
+
"sites:read",
|
|
46
|
+
"sites:write",
|
|
47
|
+
"users:read",
|
|
43
48
|
"site_activity:read",
|
|
49
|
+
"users:write",
|
|
44
50
|
]);
|
|
@@ -47,6 +47,7 @@ export * from "./CustomCodeBlock";
|
|
|
47
47
|
export * from "./ListCustomCodeBlocks";
|
|
48
48
|
export * from "./AssetVariant";
|
|
49
49
|
export * from "./Asset";
|
|
50
|
+
export * from "./Assets";
|
|
50
51
|
export * from "./AssetUploadUploadDetails";
|
|
51
52
|
export * from "./AssetUpload";
|
|
52
53
|
export * from "./AssetFolder";
|