Skip to content

Commit f08c31f

Browse files
SDK regeneration
1 parent 31e9cf3 commit f08c31f

38 files changed

Lines changed: 1871 additions & 143 deletions

.fern/metadata.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"cliVersion": "4.65.1",
2+
"cliVersion": "4.106.0",
33
"generatorName": "fernapi/fern-typescript-node-sdk",
44
"generatorVersion": "3.53.13",
55
"generatorConfig": {
@@ -34,6 +34,6 @@
3434
}
3535
}
3636
},
37-
"originGitCommit": "998225e70e3e266cc158f022dfdd12904d54da2d",
37+
"originGitCommit": "f66965bef92af010fb9a04b53a863e91e00aed3a",
3838
"sdkVersion": "3.3.5"
3939
}

reference.md

Lines changed: 305 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -533,12 +533,15 @@ await client.sites.getCustomDomain("580e63e98c9a982ac9b8b741");
533533
<dl>
534534
<dd>
535535

536-
Publishes a site to one or more more domains.
536+
Publishes a site or an individual page to one or more domains.
537+
If multiple individual pages are published to staging, publishing from staging to production publishes all staged changes.
537538

538539
To publish to a specific custom domain, use the domain IDs from the [Get Custom Domains](/data/reference/sites/get-custom-domain) endpoint.
539540

540541
You must include at least one of the `customDomains` or `publishToWebflowSubdomain` properties in the request body.
541542

543+
To publish an individual page instead of the entire site, provide the ID of the page in the `pageId` parameter.
544+
542545
<Note title="Rate limit: 1 publish per minute">This endpoint has a specific rate limit of one successful publish queue per minute.</Note>
543546

544547
Required scope | `sites:write`
@@ -1828,6 +1831,8 @@ Get a list of scripts that have been registered to a site. A site can have a max
18281831
To apply a script to a site or page, the script must first be registered to a site via the [Register Script](/data/reference/custom-code/custom-code/register-hosted) endpoints. Once registered, the script can be applied to a Site or Page using the appropriate endpoints. See the documentation on [working with Custom Code](/data/docs/custom-code) for more information.
18291832
</Note>
18301833

1834+
<Note>Access to this endpoint requires a bearer token obtained from an [OAuth Code Grant Flow](/data/reference/oauth-app).</Note>
1835+
18311836
Required scope | `custom_code:read`
18321837
</dd>
18331838
</dl>
@@ -1897,6 +1902,8 @@ Register a hosted script to a site.
18971902
To apply a script to a site or page, the script must first be registered to a site via the [Register Script](/data/reference/custom-code/custom-code/register-hosted) endpoints. Once registered, the script can be applied to a Site or Page using the appropriate endpoints. See the documentation on [working with Custom Code](/data/docs/custom-code) for more information.
18981903
</Note>
18991904

1905+
<Note>Access to this endpoint requires a bearer token obtained from an [OAuth Code Grant Flow](/data/reference/oauth-app).</Note>
1906+
19001907
Required scope | `custom_code:write`
19011908
</dd>
19021909
</dl>
@@ -1979,6 +1986,8 @@ Register an inline script to a site. Inline scripts are limited to 2000 characte
19791986
To apply a script to a site or page, the script must first be registered to a site via the [Register Script](/data/reference/custom-code/custom-code/register-hosted) endpoints. Once registered, the script can be applied to a Site or Page using the appropriate endpoints. See the documentation on [working with Custom Code](/data/docs/custom-code) for more information.
19801987
</Note>
19811988

1989+
<Note>Access to this endpoint requires a bearer token obtained from an [OAuth Code Grant Flow](/data/reference/oauth-app).</Note>
1990+
19821991
Required scope | `custom_code:write`
19831992
</dd>
19841993
</dl>
@@ -6406,6 +6415,8 @@ await client.collections.items.publishItem("580e63fc8c9a982ac9b8b745", {
64066415

64076416
Get all scripts applied to a page.
64086417

6418+
<Note>Access to this endpoint requires a bearer token obtained from an [OAuth Code Grant Flow](/data/reference/oauth-app).</Note>
6419+
64096420
Required scope | `custom_code:read`
64106421
</dd>
64116422
</dl>
@@ -6475,6 +6486,8 @@ Apply registered scripts to a page. If you have multiple scripts your App needs
64756486
To apply a script to a page, the script must first be registered to a Site via the [Register Script](/data/reference/custom-code/custom-code/register-hosted) endpoints. Once registered, the script can be applied to a Site or Page using the appropriate endpoints. See the documentation on [working with Custom Code](/data/docs/custom-code) for more information.
64766487
</Note>
64776488

6489+
<Note>Access to this endpoint requires a bearer token obtained from an [OAuth Code Grant Flow](/data/reference/oauth-app).</Note>
6490+
64786491
Required scope | `custom_code:write`
64796492
</dd>
64806493
</dl>
@@ -7474,6 +7487,291 @@ await client.sites.wellKnown.delete("580e63e98c9a982ac9b8b741");
74747487
</dl>
74757488

74767489

7490+
</dd>
7491+
</dl>
7492+
</details>
7493+
7494+
## Sites GoogleTag
7495+
<details><summary><code>client.sites.googleTag.<a href="/src/api/resources/sites/resources/googleTag/client/Client.ts">list</a>(site_id) -> Webflow.GoogleTagIds</code></summary>
7496+
<dl>
7497+
<dd>
7498+
7499+
#### 📝 Description
7500+
7501+
<dl>
7502+
<dd>
7503+
7504+
<dl>
7505+
<dd>
7506+
7507+
List all Google Tag IDs configured for a site, sorted by order.
7508+
7509+
Required scope: `sites:read`
7510+
</dd>
7511+
</dl>
7512+
</dd>
7513+
</dl>
7514+
7515+
#### 🔌 Usage
7516+
7517+
<dl>
7518+
<dd>
7519+
7520+
<dl>
7521+
<dd>
7522+
7523+
```typescript
7524+
await client.sites.googleTag.list("580e63e98c9a982ac9b8b741");
7525+
7526+
```
7527+
</dd>
7528+
</dl>
7529+
</dd>
7530+
</dl>
7531+
7532+
#### ⚙️ Parameters
7533+
7534+
<dl>
7535+
<dd>
7536+
7537+
<dl>
7538+
<dd>
7539+
7540+
**site_id:** `string` — Unique identifier for a Site
7541+
7542+
</dd>
7543+
</dl>
7544+
7545+
<dl>
7546+
<dd>
7547+
7548+
**requestOptions:** `GoogleTagClient.RequestOptions`
7549+
7550+
</dd>
7551+
</dl>
7552+
</dd>
7553+
</dl>
7554+
7555+
7556+
</dd>
7557+
</dl>
7558+
</details>
7559+
7560+
<details><summary><code>client.sites.googleTag.<a href="/src/api/resources/sites/resources/googleTag/client/Client.ts">deleteAll</a>(site_id) -> void</code></summary>
7561+
<dl>
7562+
<dd>
7563+
7564+
#### 📝 Description
7565+
7566+
<dl>
7567+
<dd>
7568+
7569+
<dl>
7570+
<dd>
7571+
7572+
Delete all Google Tag IDs from a site.
7573+
7574+
Required scope: `sites:write`
7575+
</dd>
7576+
</dl>
7577+
</dd>
7578+
</dl>
7579+
7580+
#### 🔌 Usage
7581+
7582+
<dl>
7583+
<dd>
7584+
7585+
<dl>
7586+
<dd>
7587+
7588+
```typescript
7589+
await client.sites.googleTag.deleteAll("580e63e98c9a982ac9b8b741");
7590+
7591+
```
7592+
</dd>
7593+
</dl>
7594+
</dd>
7595+
</dl>
7596+
7597+
#### ⚙️ Parameters
7598+
7599+
<dl>
7600+
<dd>
7601+
7602+
<dl>
7603+
<dd>
7604+
7605+
**site_id:** `string` — Unique identifier for a Site
7606+
7607+
</dd>
7608+
</dl>
7609+
7610+
<dl>
7611+
<dd>
7612+
7613+
**requestOptions:** `GoogleTagClient.RequestOptions`
7614+
7615+
</dd>
7616+
</dl>
7617+
</dd>
7618+
</dl>
7619+
7620+
7621+
</dd>
7622+
</dl>
7623+
</details>
7624+
7625+
<details><summary><code>client.sites.googleTag.<a href="/src/api/resources/sites/resources/googleTag/client/Client.ts">upsert</a>(site_id, { ...params }) -> Webflow.GoogleTagIds</code></summary>
7626+
<dl>
7627+
<dd>
7628+
7629+
#### 📝 Description
7630+
7631+
<dl>
7632+
<dd>
7633+
7634+
<dl>
7635+
<dd>
7636+
7637+
Add or update Google Tag IDs for a site. Existing tags not referenced in the request are preserved. A site may have a maximum of 25 tags total.
7638+
7639+
`order` is optional on input — it is auto-assigned for new tags and returned on all tags in the response.
7640+
7641+
Required scope: `sites:write`
7642+
</dd>
7643+
</dl>
7644+
</dd>
7645+
</dl>
7646+
7647+
#### 🔌 Usage
7648+
7649+
<dl>
7650+
<dd>
7651+
7652+
<dl>
7653+
<dd>
7654+
7655+
```typescript
7656+
await client.sites.googleTag.upsert("580e63e98c9a982ac9b8b741", {
7657+
googleTagIds: [{
7658+
order: 0,
7659+
displayName: "Main Analytics Tag",
7660+
tagId: "G-1234567890"
7661+
}]
7662+
});
7663+
7664+
```
7665+
</dd>
7666+
</dl>
7667+
</dd>
7668+
</dl>
7669+
7670+
#### ⚙️ Parameters
7671+
7672+
<dl>
7673+
<dd>
7674+
7675+
<dl>
7676+
<dd>
7677+
7678+
**site_id:** `string` — Unique identifier for a Site
7679+
7680+
</dd>
7681+
</dl>
7682+
7683+
<dl>
7684+
<dd>
7685+
7686+
**request:** `Webflow.GoogleTagIds`
7687+
7688+
</dd>
7689+
</dl>
7690+
7691+
<dl>
7692+
<dd>
7693+
7694+
**requestOptions:** `GoogleTagClient.RequestOptions`
7695+
7696+
</dd>
7697+
</dl>
7698+
</dd>
7699+
</dl>
7700+
7701+
7702+
</dd>
7703+
</dl>
7704+
</details>
7705+
7706+
<details><summary><code>client.sites.googleTag.<a href="/src/api/resources/sites/resources/googleTag/client/Client.ts">delete</a>(site_id, tag_id) -> Webflow.GoogleTagIds</code></summary>
7707+
<dl>
7708+
<dd>
7709+
7710+
#### 📝 Description
7711+
7712+
<dl>
7713+
<dd>
7714+
7715+
<dl>
7716+
<dd>
7717+
7718+
Delete a single Google Tag ID from a site. The `order` values of the remaining tags are renormalized after deletion.
7719+
7720+
Required scope: `sites:write`
7721+
</dd>
7722+
</dl>
7723+
</dd>
7724+
</dl>
7725+
7726+
#### 🔌 Usage
7727+
7728+
<dl>
7729+
<dd>
7730+
7731+
<dl>
7732+
<dd>
7733+
7734+
```typescript
7735+
await client.sites.googleTag.delete("580e63e98c9a982ac9b8b741", "G-XXXXXXXXXX");
7736+
7737+
```
7738+
</dd>
7739+
</dl>
7740+
</dd>
7741+
</dl>
7742+
7743+
#### ⚙️ Parameters
7744+
7745+
<dl>
7746+
<dd>
7747+
7748+
<dl>
7749+
<dd>
7750+
7751+
**site_id:** `string` — Unique identifier for a Site
7752+
7753+
</dd>
7754+
</dl>
7755+
7756+
<dl>
7757+
<dd>
7758+
7759+
**tag_id:** `string` — The Google Tag ID (e.g. G-XXXXXXXXXX)
7760+
7761+
</dd>
7762+
</dl>
7763+
7764+
<dl>
7765+
<dd>
7766+
7767+
**requestOptions:** `GoogleTagClient.RequestOptions`
7768+
7769+
</dd>
7770+
</dl>
7771+
</dd>
7772+
</dl>
7773+
7774+
74777775
</dd>
74787776
</dl>
74797777
</details>
@@ -7842,6 +8140,8 @@ Get all scripts applied to a site by the App.
78428140
To apply a script to a site or page, the script must first be registered to a site via the [Register Script](/data/reference/custom-code/custom-code/register-hosted) endpoints. Once registered, the script can be applied to a Site or Page using the appropriate endpoints. See the documentation on [working with Custom Code](/data/docs/custom-code) for more information.
78438141
</Note>
78448142

8143+
<Note>Access to this endpoint requires a bearer token obtained from an [OAuth Code Grant Flow](/data/reference/oauth-app).</Note>
8144+
78458145
Required scope | `custom_code:read`
78468146
</dd>
78478147
</dl>
@@ -7911,6 +8211,8 @@ Apply registered scripts to a site. If you have multiple scripts your App needs
79118211
To apply a script to a site or page, the script must first be registered to a site via the [Register Script](/data/reference/custom-code/custom-code/register-hosted) endpoints. Once registered, the script can be applied to a Site or Page using the appropriate endpoints. See the documentation on [working with Custom Code](/data/docs/custom-code) for more information.
79128212
</Note>
79138213

8214+
<Note>Access to this endpoint requires a bearer token obtained from an [OAuth Code Grant Flow](/data/reference/oauth-app).</Note>
8215+
79148216
Required scope | `custom_code:write`
79158217
</dd>
79168218
</dl>
@@ -8072,6 +8374,8 @@ Get a list of scripts that have been applied to a site and/or individual pages.
80728374
See the documentation on [working with Custom Code](/data/docs/custom-code) for more information.
80738375
</Note>
80748376

8377+
<Note>Access to this endpoint requires a bearer token obtained from an [OAuth Code Grant Flow](/data/reference/oauth-app).</Note>
8378+
80758379
Required scope | `custom_code:read`
80768380
</dd>
80778381
</dl>

0 commit comments

Comments
 (0)