Skip to content

Commit 5c67bf9

Browse files
Merge pull request #304 from webflow/fern-bot/2026-02-18T16-37Z
2 parents 5fae52c + 96be33a commit 5c67bf9

File tree

1,019 files changed

+9623
-24478
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,019 files changed

+9623
-24478
lines changed

.fernignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,4 @@ src/index.ts
99
src/oauth.ts
1010
src/wrapper
1111
tests/wrapper
12+
jest.config.mjs

.github/workflows/ci.yml

Lines changed: 13 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,10 @@ jobs:
1111
uses: actions/checkout@v4
1212

1313
- name: Set up node
14-
uses: actions/setup-node@v4
15-
16-
- name: Install dependencies
17-
run: yarn install
14+
uses: actions/setup-node@v3
1815

1916
- name: Compile
20-
run: yarn build
17+
run: yarn && yarn build
2118

2219
test:
2320
runs-on: ubuntu-latest
@@ -27,42 +24,34 @@ jobs:
2724
uses: actions/checkout@v4
2825

2926
- name: Set up node
30-
uses: actions/setup-node@v4
27+
uses: actions/setup-node@v3
3128

32-
- name: Install dependencies
33-
run: yarn install
34-
35-
- name: Test
36-
run: yarn test
29+
- name: Compile
30+
run: yarn && yarn test
3731

3832
publish:
3933
needs: [ compile, test ]
4034
if: github.event_name == 'push' && contains(github.ref, 'refs/tags/')
4135
runs-on: ubuntu-latest
42-
permissions:
43-
id-token: write # Required for OIDC
4436
steps:
4537
- name: Checkout repo
4638
uses: actions/checkout@v4
47-
4839
- name: Set up node
49-
uses: actions/setup-node@v4
50-
40+
uses: actions/setup-node@v3
5141
- name: Install dependencies
5242
run: yarn install
53-
5443
- name: Build
5544
run: yarn build
5645

5746
- name: Publish to npm
5847
run: |
59-
publish() { # use latest npm to ensure OIDC support
60-
npx -y npm@latest publish "$@"
61-
}
48+
npm config set //registry.npmjs.org/:_authToken ${NPM_TOKEN}
6249
if [[ ${GITHUB_REF} == *alpha* ]]; then
63-
publish --access public --tag alpha
50+
npm publish --access public --tag alpha
6451
elif [[ ${GITHUB_REF} == *beta* ]]; then
65-
publish --access public --tag beta
52+
npm publish --access public --tag beta
6653
else
67-
publish --access public
68-
fi
54+
npm publish --access public
55+
fi
56+
env:
57+
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}

.mock/definition/__package__.yml

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -657,15 +657,15 @@ types:
657657
docs: Pagination object
658658
properties:
659659
limit:
660-
type: optional<double>
660+
type: optional<integer>
661661
docs: The limit used for pagination
662662
access: read-only
663663
offset:
664-
type: optional<double>
664+
type: optional<integer>
665665
docs: The offset used for pagination
666666
access: read-only
667667
total:
668-
type: optional<double>
668+
type: optional<integer>
669669
docs: The total number of records
670670
access: read-only
671671
source:
@@ -1243,15 +1243,15 @@ types:
12431243
CollectionItemListPagination:
12441244
properties:
12451245
limit:
1246-
type: optional<double>
1246+
type: optional<integer>
12471247
docs: The limit specified in the request
12481248
default: 100
12491249
offset:
1250-
type: optional<double>
1250+
type: optional<integer>
12511251
docs: The offset specified for pagination
12521252
default: 0
12531253
total:
1254-
type: optional<double>
1254+
type: optional<integer>
12551255
docs: Total number of items in the collection
12561256
source:
12571257
openapi: ../../../openapi/referenced-specs/v2.yml
@@ -1563,15 +1563,15 @@ types:
15631563
CommentThreadListPagination:
15641564
properties:
15651565
limit:
1566-
type: double
1566+
type: integer
15671567
docs: The limit specified in the request (default 100)
15681568
default: 100
15691569
offset:
1570-
type: double
1570+
type: integer
15711571
docs: The offset specified for pagination
15721572
default: 0
15731573
total:
1574-
type: double
1574+
type: integer
15751575
docs: Total number of comment threads
15761576
source:
15771577
openapi: ../../../openapi/referenced-specs/v2.yml
@@ -1664,15 +1664,15 @@ types:
16641664
CommentReplyListPagination:
16651665
properties:
16661666
limit:
1667-
type: double
1667+
type: integer
16681668
docs: The limit specified in the request (default 100)
16691669
default: 100
16701670
offset:
1671-
type: double
1671+
type: integer
16721672
docs: The offset specified for pagination
16731673
default: 0
16741674
total:
1675-
type: double
1675+
type: integer
16761676
docs: Total number of comment replies
16771677
source:
16781678
openapi: ../../../openapi/referenced-specs/v2.yml
@@ -2881,18 +2881,18 @@ types:
28812881
docs: The list users results
28822882
properties:
28832883
count:
2884-
type: optional<double>
2884+
type: optional<integer>
28852885
docs: Number of users returned
28862886
limit:
2887-
type: optional<double>
2887+
type: optional<integer>
28882888
docs: The limit specified in the request
28892889
default: 10
28902890
offset:
2891-
type: optional<double>
2891+
type: optional<integer>
28922892
docs: The offset specified for pagination
28932893
default: 0
28942894
total:
2895-
type: optional<double>
2895+
type: optional<integer>
28962896
docs: Total number of users in the collection
28972897
users:
28982898
type: optional<list<User>>
@@ -2929,18 +2929,18 @@ types:
29292929
docs: The list access groups results
29302930
properties:
29312931
count:
2932-
type: optional<double>
2932+
type: optional<integer>
29332933
docs: Number of access groups returned
29342934
limit:
2935-
type: optional<double>
2935+
type: optional<integer>
29362936
docs: The limit specified in the request
29372937
default: 10
29382938
offset:
2939-
type: optional<double>
2939+
type: optional<integer>
29402940
docs: The offset specified for pagination
29412941
default: 0
29422942
total:
2943-
type: optional<double>
2943+
type: optional<integer>
29442944
docs: Total number of access groups in the collection
29452945
accessGroups:
29462946
type: optional<list<AccessGroup>>

.mock/definition/accessGroups.yml

Lines changed: 12 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,15 @@ service:
2121
auth:
2222
- OAuth2:
2323
- users:read
24-
docs: |
24+
docs: >
25+
<Warning>As of **January 29, 2026**, User Accounts functionality has
26+
been disabled on all Webflow sites. This endpoint is no longer
27+
available.</Warning>
28+
29+
2530
Get a list of access groups for a site
2631
32+
2733
Required scope | `users:read`
2834
source:
2935
openapi: ../../../openapi/referenced-specs/v2.yml
@@ -36,12 +42,12 @@ service:
3642
name: AccessGroupsListRequest
3743
query-parameters:
3844
offset:
39-
type: optional<double>
45+
type: optional<integer>
4046
docs: >-
4147
Offset used for pagination if the results have more than limit
4248
records
4349
limit:
44-
type: optional<double>
50+
type: optional<integer>
4551
docs: 'Maximum number of records to be returned (max limit: 100)'
4652
sort:
4753
type: optional<AccessGroupsListRequestSort>
@@ -52,6 +58,7 @@ service:
5258
docs: Request was successful
5359
type: root.AccessGroupList
5460
status-code: 200
61+
availability: deprecated
5562
errors:
5663
- root.BadRequestError
5764
- root.UnauthorizedError
@@ -63,8 +70,8 @@ service:
6370
- path-parameters:
6471
site_id: 580e63e98c9a982ac9b8b741
6572
query-parameters:
66-
offset: 1.1
67-
limit: 1.1
73+
offset: 1
74+
limit: 1
6875
sort: CreatedOn
6976
response:
7077
body:

.mock/definition/assets.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,12 +25,12 @@ service:
2525
name: AssetsListRequest
2626
query-parameters:
2727
offset:
28-
type: optional<double>
28+
type: optional<integer>
2929
docs: >-
3030
Offset used for pagination if the results have more than limit
3131
records
3232
limit:
33-
type: optional<double>
33+
type: optional<integer>
3434
docs: 'Maximum number of records to be returned (max limit: 100)'
3535
response:
3636
docs: Request was successful
@@ -46,8 +46,8 @@ service:
4646
- path-parameters:
4747
site_id: 580e63e98c9a982ac9b8b741
4848
query-parameters:
49-
offset: 1.1
50-
limit: 1.1
49+
offset: 1
50+
limit: 1
5151
response:
5252
body:
5353
assets:

.mock/definition/collections/items.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -200,12 +200,12 @@ service:
200200
response. To query multiple locales, input a comma separated
201201
string.
202202
offset:
203-
type: optional<double>
203+
type: optional<integer>
204204
docs: >-
205205
Offset used for pagination if the results have more than limit
206206
records
207207
limit:
208-
type: optional<double>
208+
type: optional<integer>
209209
docs: 'Maximum number of records to be returned (max limit: 100)'
210210
name:
211211
type: optional<string>
@@ -237,8 +237,8 @@ service:
237237
collection_id: 580e63fc8c9a982ac9b8b745
238238
query-parameters:
239239
cmsLocaleId: cmsLocaleId
240-
offset: 1.1
241-
limit: 1.1
240+
offset: 1
241+
limit: 1
242242
name: name
243243
slug: slug
244244
sortBy: lastPublished
@@ -696,12 +696,12 @@ service:
696696
response. To query multiple locales, input a comma separated
697697
string.
698698
offset:
699-
type: optional<double>
699+
type: optional<integer>
700700
docs: >-
701701
Offset used for pagination if the results have more than limit
702702
records
703703
limit:
704-
type: optional<double>
704+
type: optional<integer>
705705
docs: 'Maximum number of records to be returned (max limit: 100)'
706706
name:
707707
type: optional<string>
@@ -734,8 +734,8 @@ service:
734734
collection_id: 580e63fc8c9a982ac9b8b745
735735
query-parameters:
736736
cmsLocaleId: cmsLocaleId
737-
offset: 1.1
738-
limit: 1.1
737+
offset: 1
738+
limit: 1
739739
name: name
740740
slug: slug
741741
sortBy: lastPublished

0 commit comments

Comments
 (0)