Skip to content

Commit 0e683e1

Browse files
committed
SDK regeneration
1 parent b40a6a1 commit 0e683e1

File tree

143 files changed

+3975
-621
lines changed

Some content is hidden

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

143 files changed

+3975
-621
lines changed

.mock/definition/__package__.yml

Lines changed: 237 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -614,7 +614,7 @@ types:
614614
- PlainText
615615
- RichText
616616
- Switch
617-
- Video
617+
- VideoLink
618618
docs: Choose these appropriate field type for your collection data
619619
inline: true
620620
source:
@@ -754,17 +754,19 @@ types:
754754
- DateTime
755755
- Email
756756
- ExtFileRef
757+
- File
757758
- Image
758759
- Link
759760
- MultiImage
760761
- MultiReference
761762
- Number
763+
- Option
762764
- Phone
763765
- PlainText
764766
- Reference
765767
- RichText
766768
- Switch
767-
- Video
769+
- VideoLink
768770
docs: Choose these appropriate field type for your collection data
769771
inline: true
770772
source:
@@ -1132,6 +1134,222 @@ types:
11321134
fieldData: optional<CollectionItemPatchSingleFieldData>
11331135
source:
11341136
openapi: ../../../openapi/referenced-specs/v2.yml
1137+
CommentThreadAuthor:
1138+
properties:
1139+
userId:
1140+
type: string
1141+
docs: The unique identifier of the author
1142+
email:
1143+
type: string
1144+
docs: Email of the author
1145+
name:
1146+
type: string
1147+
docs: Name of the author
1148+
source:
1149+
openapi: ../../../openapi/referenced-specs/v2.yml
1150+
inline: true
1151+
CommentThreadMentionedUsersItem:
1152+
properties:
1153+
userId:
1154+
type: string
1155+
docs: The unique identifier of the mentioned user
1156+
email:
1157+
type: string
1158+
docs: Email of the user
1159+
name:
1160+
type: string
1161+
docs: Name of the User
1162+
source:
1163+
openapi: ../../../openapi/referenced-specs/v2.yml
1164+
inline: true
1165+
CommentThread:
1166+
docs: >
1167+
A comment thread represents a conversation between users on a specific
1168+
page. Each comment thread has a unique identifier and can contain multiple
1169+
comments. Retrieve comment replies using the replies API endpoint.
1170+
properties:
1171+
id:
1172+
type: string
1173+
docs: Unique identifier for the comment thread
1174+
access: read-only
1175+
siteId:
1176+
type: string
1177+
docs: The site unique identifier
1178+
access: read-only
1179+
pageId:
1180+
type: string
1181+
docs: The page unique identifier
1182+
access: read-only
1183+
localeId:
1184+
type: optional<string>
1185+
docs: The locale unique identifier
1186+
access: read-only
1187+
itemId:
1188+
type: optional<string>
1189+
docs: The item unique identifier
1190+
access: read-only
1191+
breakpoint:
1192+
type: string
1193+
docs: The breakpoint the comment was left on
1194+
access: read-only
1195+
url:
1196+
type: string
1197+
docs: The URL of the page the comment was left on
1198+
access: read-only
1199+
content:
1200+
type: string
1201+
docs: The content of the comment reply
1202+
isResolved:
1203+
type: boolean
1204+
docs: Boolean determining if the comment thread is resolved
1205+
default: false
1206+
author: CommentThreadAuthor
1207+
mentionedUsers:
1208+
docs: >-
1209+
List of mentioned users. This is an empty array until email
1210+
notifications are sent, which can take up to 5 minutes after the
1211+
comment is created.
1212+
type: list<CommentThreadMentionedUsersItem>
1213+
createdOn:
1214+
type: string
1215+
docs: The date the item was created
1216+
access: read-only
1217+
lastUpdated:
1218+
type: string
1219+
docs: The date the item was last updated
1220+
access: read-only
1221+
source:
1222+
openapi: ../../../openapi/referenced-specs/v2.yml
1223+
CommentThreadListPagination:
1224+
properties:
1225+
limit:
1226+
type: double
1227+
docs: The limit specified in the request (default 100)
1228+
default: 100
1229+
offset:
1230+
type: double
1231+
docs: The offset specified for pagination
1232+
default: 0
1233+
total:
1234+
type: double
1235+
docs: Total number of comment threads
1236+
source:
1237+
openapi: ../../../openapi/referenced-specs/v2.yml
1238+
inline: true
1239+
CommentThreadList:
1240+
docs: >
1241+
A list of comment threads on the site. Contains the content of the first
1242+
reply.
1243+
properties:
1244+
comments: list<CommentThread>
1245+
pagination: CommentThreadListPagination
1246+
source:
1247+
openapi: ../../../openapi/referenced-specs/v2.yml
1248+
CommentReplyAuthor:
1249+
properties:
1250+
id:
1251+
type: string
1252+
docs: The unique identifier of the author
1253+
email:
1254+
type: string
1255+
docs: Email of the author
1256+
name:
1257+
type: string
1258+
docs: Name of the author
1259+
source:
1260+
openapi: ../../../openapi/referenced-specs/v2.yml
1261+
inline: true
1262+
CommentReplyMentionedUsersItem:
1263+
properties:
1264+
id:
1265+
type: string
1266+
docs: The unique identifier of the mentioned user
1267+
email:
1268+
type: string
1269+
docs: Email of the user
1270+
name:
1271+
type: string
1272+
docs: Name of the User
1273+
source:
1274+
openapi: ../../../openapi/referenced-specs/v2.yml
1275+
inline: true
1276+
CommentReply:
1277+
docs: >
1278+
A comment thread represents a conversation between users on a specific
1279+
page. Each comment thread has a unique identifier and can contain multiple
1280+
comments.
1281+
properties:
1282+
id:
1283+
type: string
1284+
docs: Unique identifier for the comment thread
1285+
access: read-only
1286+
commentId:
1287+
type: string
1288+
docs: The comment reply unique identifier
1289+
access: read-only
1290+
siteId:
1291+
type: string
1292+
docs: The site unique identifier
1293+
access: read-only
1294+
pageId:
1295+
type: string
1296+
docs: The page unique identifier
1297+
access: read-only
1298+
localeId:
1299+
type: optional<string>
1300+
docs: The locale unique identifier
1301+
access: read-only
1302+
breakpoint:
1303+
type: string
1304+
docs: The breakpoint the comment was left on
1305+
access: read-only
1306+
content:
1307+
type: string
1308+
docs: The content of the comment reply
1309+
isResolved:
1310+
type: boolean
1311+
docs: Boolean determining if the comment thread is resolved
1312+
default: false
1313+
author: CommentReplyAuthor
1314+
mentionedUsers:
1315+
type: optional<list<CommentReplyMentionedUsersItem>>
1316+
docs: >-
1317+
List of mentioned users is an empty array until email notifications
1318+
are sent.
1319+
lastUpdated:
1320+
type: string
1321+
docs: The date the item was last updated
1322+
access: read-only
1323+
createdOn:
1324+
type: string
1325+
docs: The date the item was created
1326+
access: read-only
1327+
source:
1328+
openapi: ../../../openapi/referenced-specs/v2.yml
1329+
CommentReplyListPagination:
1330+
properties:
1331+
limit:
1332+
type: double
1333+
docs: The limit specified in the request (default 100)
1334+
default: 100
1335+
offset:
1336+
type: double
1337+
docs: The offset specified for pagination
1338+
default: 0
1339+
total:
1340+
type: double
1341+
docs: Total number of comment replies
1342+
source:
1343+
openapi: ../../../openapi/referenced-specs/v2.yml
1344+
inline: true
1345+
CommentReplyList:
1346+
docs: |
1347+
A list of comment replies.
1348+
properties:
1349+
comments: list<CommentReply>
1350+
pagination: CommentReplyListPagination
1351+
source:
1352+
openapi: ../../../openapi/referenced-specs/v2.yml
11351353
PageSeo:
11361354
docs: SEO-related fields for the Page
11371355
properties:
@@ -1892,6 +2110,7 @@ types:
18922110
- collection_item_changed
18932111
- collection_item_deleted
18942112
- collection_item_unpublished
2113+
- comment_created
18952114
docs: >
18962115
The type of event that triggered the request. See the the documentation
18972116
for details on [supported events](/data/reference/all-events).
@@ -2432,8 +2651,10 @@ types:
24322651
SkuValueList:
24332652
type: map<string, string>
24342653
docs: >
2435-
A dictionary that maps a SKU property to a SKU value. The key of the
2436-
dictionary is the SKU property ID, and the value is the SKU value ID.
2654+
A mapping between SKU properties and their values, represented as
2655+
key-value pairs. Each key represents a SKU Property ID (e.g. "color") and
2656+
maps to its corresponding SKU Value ID (e.g. "blue"). This structure
2657+
defines the specific variant combination for a SKU.
24372658
SkuFieldDataPrice:
24382659
docs: price of SKU
24392660
properties:
@@ -2443,6 +2664,9 @@ types:
24432664
unit:
24442665
type: optional<string>
24452666
docs: Currency of Item
2667+
currency:
2668+
type: optional<string>
2669+
docs: Currency of Item (alternative representation)
24462670
source:
24472671
openapi: ../../../openapi/referenced-specs/v2.yml
24482672
inline: true
@@ -2561,6 +2785,15 @@ types:
25612785
quantity:
25622786
type: optional<double>
25632787
docs: Quantity of SKU that will be tracked as items are ordered.
2788+
main-image:
2789+
type: optional<string>
2790+
docs: The URL for the main image of the SKU
2791+
sku:
2792+
type: optional<string>
2793+
docs: A unique identifier for the SKU
2794+
sku-properties:
2795+
type: optional<list<SkuPropertyList>>
2796+
docs: The properties of the SKU
25642797
source:
25652798
openapi: ../../../openapi/referenced-specs/v2.yml
25662799
Sku:

.mock/definition/api.yml

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,15 @@ error-discrimination:
33
strategy: status-code
44
display-name: Data API
55
environments:
6-
Default: https://api.webflow.com/v2
7-
default-environment: Default
6+
Data API:
7+
urls:
8+
Base: https://api.webflow.com/v2
9+
Data API: https://api.webflow.com/v2
10+
Content Delivery API: https://api-cdn.webflow.com/v2
11+
Production: https://api.webflow.com/v2
12+
CDN: https://api-cdn.webflow.com/v2
13+
default-environment: Data API
14+
default-url: Base
815
auth-schemes:
916
BearerToken:
1017
scheme: bearer

0 commit comments

Comments
 (0)