webflow-api 3.1.1 → 3.1.3

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.
Files changed (892) hide show
  1. package/.mock/definition/__package__.yml +657 -20
  2. package/.mock/definition/api.yml +9 -2
  3. package/.mock/definition/collections/items.yml +21 -4
  4. package/.mock/definition/components.yml +31 -27
  5. package/.mock/definition/pages.yml +35 -3
  6. package/.mock/definition/products.yml +156 -42
  7. package/.mock/definition/sites/comments.yml +325 -0
  8. package/.mock/definition/sites/robotsTxt.yml +22 -3
  9. package/.mock/definition/sites/wellKnown.yml +114 -0
  10. package/.mock/definition/sites.yml +1 -1
  11. package/.mock/definition/workspaces/auditLogs.yml +119 -0
  12. package/.mock/fern.config.json +1 -1
  13. package/Client.d.ts +4 -1
  14. package/Client.js +5 -0
  15. package/api/resources/accessGroups/client/Client.d.ts +1 -1
  16. package/api/resources/accessGroups/client/Client.js +2 -2
  17. package/api/resources/assets/client/Client.d.ts +1 -1
  18. package/api/resources/assets/client/Client.js +16 -16
  19. package/api/resources/collections/client/Client.d.ts +1 -1
  20. package/api/resources/collections/client/Client.js +8 -8
  21. package/api/resources/collections/resources/fields/client/Client.d.ts +1 -1
  22. package/api/resources/collections/resources/fields/client/Client.js +6 -6
  23. package/api/resources/collections/resources/items/client/Client.d.ts +23 -5
  24. package/api/resources/collections/resources/items/client/Client.js +57 -36
  25. package/api/resources/collections/resources/items/client/requests/ItemsDeleteItemsLiveRequest.d.ts +6 -2
  26. package/api/resources/collections/resources/items/client/requests/ItemsDeleteItemsRequest.d.ts +6 -2
  27. package/api/resources/components/client/Client.d.ts +18 -2
  28. package/api/resources/components/client/Client.js +27 -11
  29. package/api/resources/components/client/requests/ComponentDomWrite.d.ts +16 -0
  30. package/api/resources/components/client/requests/ComponentsGetContentRequest.d.ts +0 -5
  31. package/api/resources/components/types/ComponentDomWriteNodesItem.d.ts +1 -1
  32. package/api/resources/ecommerce/client/Client.d.ts +1 -1
  33. package/api/resources/ecommerce/client/Client.js +2 -2
  34. package/api/resources/forms/client/Client.d.ts +1 -1
  35. package/api/resources/forms/client/Client.js +14 -14
  36. package/api/resources/index.d.ts +1 -0
  37. package/api/resources/index.js +2 -1
  38. package/api/resources/inventory/client/Client.d.ts +1 -1
  39. package/api/resources/inventory/client/Client.js +4 -4
  40. package/api/resources/orders/client/Client.d.ts +1 -1
  41. package/api/resources/orders/client/Client.js +12 -12
  42. package/api/resources/pages/client/Client.d.ts +18 -2
  43. package/api/resources/pages/client/Client.js +27 -11
  44. package/api/resources/pages/client/requests/PageDomWrite.d.ts +16 -0
  45. package/api/resources/pages/resources/scripts/client/Client.d.ts +1 -1
  46. package/api/resources/pages/resources/scripts/client/Client.js +6 -6
  47. package/api/resources/pages/types/PageDomWriteNodesItem.d.ts +1 -1
  48. package/api/resources/products/client/Client.d.ts +84 -14
  49. package/api/resources/products/client/Client.js +95 -25
  50. package/api/resources/products/client/requests/ProductSkuCreate.d.ts +57 -3
  51. package/api/resources/products/client/requests/ProductsCreateSkuRequest.d.ts +11 -1
  52. package/api/resources/products/client/requests/ProductsUpdateSkuRequest.d.ts +11 -1
  53. package/api/resources/products/types/ProductSkuCreateProduct.d.ts +7 -0
  54. package/api/resources/products/types/ProductSkuCreateProduct.js +5 -0
  55. package/api/resources/products/types/ProductSkuCreateSku.d.ts +7 -0
  56. package/api/resources/products/types/ProductSkuCreateSku.js +5 -0
  57. package/api/resources/products/types/index.d.ts +2 -0
  58. package/api/resources/products/types/index.js +2 -0
  59. package/api/resources/scripts/client/Client.d.ts +1 -1
  60. package/api/resources/scripts/client/Client.js +6 -6
  61. package/api/resources/sites/client/Client.d.ts +7 -1
  62. package/api/resources/sites/client/Client.js +28 -18
  63. package/api/resources/sites/index.d.ts +1 -1
  64. package/api/resources/sites/index.js +1 -1
  65. package/api/resources/sites/resources/activityLogs/client/Client.d.ts +1 -1
  66. package/api/resources/sites/resources/activityLogs/client/Client.js +2 -2
  67. package/api/resources/sites/resources/comments/client/Client.d.ts +104 -0
  68. package/api/resources/sites/resources/comments/client/Client.js +426 -0
  69. package/api/resources/sites/resources/comments/client/index.d.ts +1 -0
  70. package/api/resources/sites/resources/comments/client/index.js +17 -0
  71. package/api/resources/sites/resources/comments/client/requests/CommentsGetCommentThreadRequest.d.ts +32 -0
  72. package/api/resources/sites/resources/comments/client/requests/CommentsGetCommentThreadRequest.js +5 -0
  73. package/api/resources/sites/resources/comments/client/requests/CommentsListCommentRepliesRequest.d.ts +32 -0
  74. package/api/resources/sites/resources/comments/client/requests/CommentsListCommentRepliesRequest.js +5 -0
  75. package/api/resources/sites/resources/comments/client/requests/CommentsListCommentThreadsRequest.d.ts +32 -0
  76. package/api/resources/sites/resources/comments/client/requests/CommentsListCommentThreadsRequest.js +5 -0
  77. package/api/resources/sites/resources/comments/client/requests/index.d.ts +3 -0
  78. package/api/resources/sites/resources/comments/client/requests/index.js +2 -0
  79. package/api/resources/sites/resources/comments/index.d.ts +2 -0
  80. package/api/resources/sites/resources/comments/index.js +18 -0
  81. package/api/resources/sites/resources/comments/types/CommentsGetCommentThreadRequestSortBy.d.ts +8 -0
  82. package/api/resources/sites/resources/comments/types/CommentsGetCommentThreadRequestSortBy.js +10 -0
  83. package/api/resources/sites/resources/comments/types/CommentsGetCommentThreadRequestSortOrder.d.ts +8 -0
  84. package/api/resources/sites/resources/comments/types/CommentsGetCommentThreadRequestSortOrder.js +10 -0
  85. package/api/resources/sites/resources/comments/types/CommentsListCommentRepliesRequestSortBy.d.ts +8 -0
  86. package/api/resources/sites/resources/comments/types/CommentsListCommentRepliesRequestSortBy.js +10 -0
  87. package/api/resources/sites/resources/comments/types/CommentsListCommentRepliesRequestSortOrder.d.ts +8 -0
  88. package/api/resources/sites/resources/comments/types/CommentsListCommentRepliesRequestSortOrder.js +10 -0
  89. package/api/resources/sites/resources/comments/types/CommentsListCommentThreadsRequestSortBy.d.ts +8 -0
  90. package/api/resources/sites/resources/comments/types/CommentsListCommentThreadsRequestSortBy.js +10 -0
  91. package/api/resources/sites/resources/comments/types/CommentsListCommentThreadsRequestSortOrder.d.ts +8 -0
  92. package/api/resources/sites/resources/comments/types/CommentsListCommentThreadsRequestSortOrder.js +10 -0
  93. package/api/resources/sites/resources/comments/types/index.d.ts +6 -0
  94. package/api/resources/sites/resources/comments/types/index.js +22 -0
  95. package/api/resources/sites/resources/index.d.ts +6 -0
  96. package/api/resources/sites/resources/index.js +7 -1
  97. package/api/resources/sites/resources/plans/client/Client.d.ts +1 -1
  98. package/api/resources/sites/resources/plans/client/Client.js +2 -2
  99. package/api/resources/sites/resources/redirects/client/Client.d.ts +1 -1
  100. package/api/resources/sites/resources/redirects/client/Client.js +8 -8
  101. package/api/resources/sites/resources/robotsTxt/client/Client.d.ts +9 -1
  102. package/api/resources/sites/resources/robotsTxt/client/Client.js +16 -8
  103. package/api/resources/sites/resources/scripts/client/Client.d.ts +1 -1
  104. package/api/resources/sites/resources/scripts/client/Client.js +8 -8
  105. package/api/resources/sites/resources/wellKnown/client/Client.d.ts +81 -0
  106. package/api/resources/sites/resources/wellKnown/client/Client.js +268 -0
  107. package/api/resources/sites/resources/wellKnown/client/index.d.ts +1 -0
  108. package/api/resources/sites/resources/wellKnown/client/index.js +17 -0
  109. package/api/resources/sites/resources/wellKnown/client/requests/WellKnownDeleteRequest.d.ts +11 -0
  110. package/api/resources/sites/resources/wellKnown/client/requests/WellKnownDeleteRequest.js +5 -0
  111. package/api/resources/sites/resources/wellKnown/client/requests/WellKnownFile.d.ts +19 -0
  112. package/api/resources/sites/resources/wellKnown/client/requests/WellKnownFile.js +5 -0
  113. package/api/resources/sites/resources/wellKnown/client/requests/index.d.ts +2 -0
  114. package/api/resources/sites/resources/wellKnown/client/requests/index.js +2 -0
  115. package/api/resources/sites/resources/wellKnown/index.d.ts +2 -0
  116. package/api/resources/sites/resources/wellKnown/index.js +18 -0
  117. package/api/resources/sites/resources/wellKnown/types/WellKnownFileContentType.d.ts +11 -0
  118. package/api/resources/sites/resources/wellKnown/types/WellKnownFileContentType.js +10 -0
  119. package/api/resources/sites/resources/wellKnown/types/index.d.ts +1 -0
  120. package/api/resources/sites/resources/wellKnown/types/index.js +17 -0
  121. package/api/resources/token/client/Client.d.ts +1 -1
  122. package/api/resources/token/client/Client.js +4 -4
  123. package/api/resources/users/client/Client.d.ts +1 -1
  124. package/api/resources/users/client/Client.js +10 -10
  125. package/api/resources/webhooks/client/Client.d.ts +1 -1
  126. package/api/resources/webhooks/client/Client.js +8 -8
  127. package/api/resources/workspaces/client/Client.d.ts +28 -0
  128. package/api/resources/workspaces/client/Client.js +17 -0
  129. package/api/resources/workspaces/client/index.d.ts +1 -0
  130. package/api/resources/workspaces/client/index.js +2 -0
  131. package/api/resources/workspaces/index.d.ts +2 -0
  132. package/api/resources/workspaces/index.js +18 -0
  133. package/api/resources/workspaces/resources/auditLogs/client/Client.d.ts +51 -0
  134. package/api/resources/workspaces/resources/auditLogs/client/Client.js +182 -0
  135. package/api/resources/workspaces/resources/auditLogs/client/index.d.ts +1 -0
  136. package/api/resources/workspaces/resources/auditLogs/client/index.js +17 -0
  137. package/api/resources/workspaces/resources/auditLogs/client/requests/AuditLogsGetWorkspaceAuditLogsRequest.d.ts +37 -0
  138. package/api/resources/workspaces/resources/auditLogs/client/requests/AuditLogsGetWorkspaceAuditLogsRequest.js +5 -0
  139. package/api/resources/workspaces/resources/auditLogs/client/requests/index.d.ts +1 -0
  140. package/api/resources/workspaces/resources/auditLogs/client/requests/index.js +2 -0
  141. package/api/resources/workspaces/resources/auditLogs/index.d.ts +2 -0
  142. package/api/resources/workspaces/resources/auditLogs/index.js +18 -0
  143. package/api/resources/workspaces/resources/auditLogs/types/AuditLogsGetWorkspaceAuditLogsRequestEventType.d.ts +11 -0
  144. package/api/resources/workspaces/resources/auditLogs/types/AuditLogsGetWorkspaceAuditLogsRequestEventType.js +13 -0
  145. package/api/resources/workspaces/resources/auditLogs/types/AuditLogsGetWorkspaceAuditLogsRequestSortOrder.d.ts +8 -0
  146. package/api/resources/workspaces/resources/auditLogs/types/AuditLogsGetWorkspaceAuditLogsRequestSortOrder.js +10 -0
  147. package/api/resources/workspaces/resources/auditLogs/types/index.d.ts +2 -0
  148. package/api/resources/workspaces/resources/auditLogs/types/index.js +18 -0
  149. package/api/resources/workspaces/resources/index.d.ts +3 -0
  150. package/api/resources/workspaces/resources/index.js +32 -0
  151. package/api/types/CommentReply.d.ts +32 -0
  152. package/api/types/CommentReply.js +5 -0
  153. package/api/types/CommentReplyAuthor.d.ts +11 -0
  154. package/api/types/CommentReplyAuthor.js +5 -0
  155. package/api/types/CommentReplyList.d.ts +11 -0
  156. package/api/types/CommentReplyList.js +5 -0
  157. package/api/types/CommentReplyListPagination.d.ts +11 -0
  158. package/api/types/CommentReplyListPagination.js +5 -0
  159. package/api/types/CommentReplyMentionedUsersItem.d.ts +11 -0
  160. package/api/types/CommentReplyMentionedUsersItem.js +5 -0
  161. package/api/types/CommentThread.d.ts +34 -0
  162. package/api/types/CommentThread.js +5 -0
  163. package/api/types/CommentThreadAuthor.d.ts +11 -0
  164. package/api/types/CommentThreadAuthor.js +5 -0
  165. package/api/types/CommentThreadList.d.ts +11 -0
  166. package/api/types/CommentThreadList.js +5 -0
  167. package/api/types/CommentThreadListPagination.d.ts +11 -0
  168. package/api/types/CommentThreadListPagination.js +5 -0
  169. package/api/types/CommentThreadMentionedUsersItem.d.ts +11 -0
  170. package/api/types/CommentThreadMentionedUsersItem.js +5 -0
  171. package/api/types/ComponentDom.d.ts +1 -1
  172. package/api/types/CustomRole.d.ts +9 -0
  173. package/api/types/CustomRole.js +5 -0
  174. package/api/types/CustomRoleAuditLogItem.d.ts +8 -0
  175. package/api/types/CustomRoleAuditLogItem.js +5 -0
  176. package/api/types/CustomRoleAuditLogItemEventSubType.d.ts +9 -0
  177. package/api/types/CustomRoleAuditLogItemEventSubType.js +11 -0
  178. package/api/types/FieldType.d.ts +4 -2
  179. package/api/types/FieldType.js +3 -1
  180. package/api/types/Node.d.ts +13 -1
  181. package/api/types/SearchButtonNode.d.ts +14 -0
  182. package/api/types/SearchButtonNode.js +5 -0
  183. package/api/types/SearchButtonNodeWrite.d.ts +12 -0
  184. package/api/types/SearchButtonNodeWrite.js +5 -0
  185. package/api/types/SelectNode.d.ts +15 -0
  186. package/api/types/SelectNode.js +5 -0
  187. package/api/types/SelectNodeChoicesItem.d.ts +9 -0
  188. package/api/types/SelectNodeChoicesItem.js +5 -0
  189. package/api/types/SelectNodeWrite.d.ts +13 -0
  190. package/api/types/SelectNodeWrite.js +5 -0
  191. package/api/types/SelectNodeWriteChoicesItem.d.ts +9 -0
  192. package/api/types/SelectNodeWriteChoicesItem.js +5 -0
  193. package/api/types/SiteMembership.d.ts +14 -0
  194. package/api/types/SiteMembership.js +5 -0
  195. package/api/types/SiteMembershipAuditLogItem.d.ts +8 -0
  196. package/api/types/SiteMembershipAuditLogItem.js +5 -0
  197. package/api/types/SiteMembershipAuditLogItemEventSubType.d.ts +9 -0
  198. package/api/types/SiteMembershipAuditLogItemEventSubType.js +11 -0
  199. package/api/types/SkuFieldData.d.ts +6 -0
  200. package/api/types/SkuFieldDataPrice.d.ts +2 -0
  201. package/api/types/SkuValueList.d.ts +1 -1
  202. package/api/types/StaticFieldType.d.ts +2 -2
  203. package/api/types/StaticFieldType.js +1 -1
  204. package/api/types/SubmitButtonNode.d.ts +16 -0
  205. package/api/types/SubmitButtonNode.js +5 -0
  206. package/api/types/SubmitButtonNodeWrite.d.ts +14 -0
  207. package/api/types/SubmitButtonNodeWrite.js +5 -0
  208. package/api/types/TextInputNode.d.ts +14 -0
  209. package/api/types/TextInputNode.js +5 -0
  210. package/api/types/TextInputNodeWrite.d.ts +12 -0
  211. package/api/types/TextInputNodeWrite.js +5 -0
  212. package/api/types/TriggerType.d.ts +2 -1
  213. package/api/types/TriggerType.js +1 -0
  214. package/api/types/UserAccess.d.ts +11 -0
  215. package/api/types/UserAccess.js +5 -0
  216. package/api/types/UserAccessAuditLogItem.d.ts +8 -0
  217. package/api/types/UserAccessAuditLogItem.js +5 -0
  218. package/api/types/UserAccessAuditLogItemEventSubType.d.ts +8 -0
  219. package/api/types/UserAccessAuditLogItemEventSubType.js +10 -0
  220. package/api/types/WorkspaceAuditLogItem.d.ts +27 -0
  221. package/api/types/WorkspaceAuditLogItem.js +5 -0
  222. package/api/types/WorkspaceAuditLogItemActor.d.ts +7 -0
  223. package/api/types/WorkspaceAuditLogItemActor.js +5 -0
  224. package/api/types/WorkspaceAuditLogItemPayloadSiteMembershipMethod.d.ts +11 -0
  225. package/api/types/WorkspaceAuditLogItemPayloadSiteMembershipMethod.js +13 -0
  226. package/api/types/WorkspaceAuditLogItemPayloadSiteMembershipSite.d.ts +7 -0
  227. package/api/types/WorkspaceAuditLogItemPayloadSiteMembershipSite.js +5 -0
  228. package/api/types/WorkspaceAuditLogItemPayloadSiteMembershipTargetUser.d.ts +7 -0
  229. package/api/types/WorkspaceAuditLogItemPayloadSiteMembershipTargetUser.js +5 -0
  230. package/api/types/WorkspaceAuditLogItemPayloadSiteMembershipUserType.d.ts +10 -0
  231. package/api/types/WorkspaceAuditLogItemPayloadSiteMembershipUserType.js +12 -0
  232. package/api/types/WorkspaceAuditLogItemPayloadUserAccessMethod.d.ts +10 -0
  233. package/api/types/WorkspaceAuditLogItemPayloadUserAccessMethod.js +12 -0
  234. package/api/types/WorkspaceAuditLogItemPayloadWorkspaceInvitationMethod.d.ts +9 -0
  235. package/api/types/WorkspaceAuditLogItemPayloadWorkspaceInvitationMethod.js +11 -0
  236. package/api/types/WorkspaceAuditLogItemPayloadWorkspaceInvitationTargetUser.d.ts +7 -0
  237. package/api/types/WorkspaceAuditLogItemPayloadWorkspaceInvitationTargetUser.js +5 -0
  238. package/api/types/WorkspaceAuditLogItemPayloadWorkspaceInvitationUserType.d.ts +10 -0
  239. package/api/types/WorkspaceAuditLogItemPayloadWorkspaceInvitationUserType.js +12 -0
  240. package/api/types/WorkspaceAuditLogItemPayloadWorkspaceMembershipMethod.d.ts +9 -0
  241. package/api/types/WorkspaceAuditLogItemPayloadWorkspaceMembershipMethod.js +11 -0
  242. package/api/types/WorkspaceAuditLogItemPayloadWorkspaceMembershipTargetUser.d.ts +7 -0
  243. package/api/types/WorkspaceAuditLogItemPayloadWorkspaceMembershipTargetUser.js +5 -0
  244. package/api/types/WorkspaceAuditLogItemPayloadWorkspaceMembershipUserType.d.ts +10 -0
  245. package/api/types/WorkspaceAuditLogItemPayloadWorkspaceMembershipUserType.js +12 -0
  246. package/api/types/WorkspaceAuditLogItemWorkspace.d.ts +7 -0
  247. package/api/types/WorkspaceAuditLogItemWorkspace.js +5 -0
  248. package/api/types/WorkspaceAuditLogResponse.d.ts +8 -0
  249. package/api/types/WorkspaceAuditLogResponse.js +5 -0
  250. package/api/types/WorkspaceInvitation.d.ts +13 -0
  251. package/api/types/WorkspaceInvitation.js +5 -0
  252. package/api/types/WorkspaceInvitationAuditLogItem.d.ts +8 -0
  253. package/api/types/WorkspaceInvitationAuditLogItem.js +5 -0
  254. package/api/types/WorkspaceInvitationAuditLogItemEventSubType.d.ts +11 -0
  255. package/api/types/WorkspaceInvitationAuditLogItemEventSubType.js +13 -0
  256. package/api/types/WorkspaceMembership.d.ts +13 -0
  257. package/api/types/WorkspaceMembership.js +5 -0
  258. package/api/types/WorkspaceMembershipAuditLogItem.d.ts +8 -0
  259. package/api/types/WorkspaceMembershipAuditLogItem.js +5 -0
  260. package/api/types/WorkspaceMembershipAuditLogItemEventSubType.d.ts +9 -0
  261. package/api/types/WorkspaceMembershipAuditLogItemEventSubType.js +11 -0
  262. package/api/types/index.d.ts +51 -1
  263. package/api/types/index.js +51 -1
  264. package/dist/Client.d.ts +4 -1
  265. package/dist/Client.js +5 -0
  266. package/dist/api/resources/accessGroups/client/Client.d.ts +1 -1
  267. package/dist/api/resources/accessGroups/client/Client.js +2 -2
  268. package/dist/api/resources/assets/client/Client.d.ts +1 -1
  269. package/dist/api/resources/assets/client/Client.js +16 -16
  270. package/dist/api/resources/collections/client/Client.d.ts +1 -1
  271. package/dist/api/resources/collections/client/Client.js +8 -8
  272. package/dist/api/resources/collections/resources/fields/client/Client.d.ts +1 -1
  273. package/dist/api/resources/collections/resources/fields/client/Client.js +6 -6
  274. package/dist/api/resources/collections/resources/items/client/Client.d.ts +23 -5
  275. package/dist/api/resources/collections/resources/items/client/Client.js +57 -36
  276. package/dist/api/resources/collections/resources/items/client/requests/ItemsDeleteItemsLiveRequest.d.ts +6 -2
  277. package/dist/api/resources/collections/resources/items/client/requests/ItemsDeleteItemsRequest.d.ts +6 -2
  278. package/dist/api/resources/components/client/Client.d.ts +18 -2
  279. package/dist/api/resources/components/client/Client.js +27 -11
  280. package/dist/api/resources/components/client/requests/ComponentDomWrite.d.ts +16 -0
  281. package/dist/api/resources/components/client/requests/ComponentsGetContentRequest.d.ts +0 -5
  282. package/dist/api/resources/components/types/ComponentDomWriteNodesItem.d.ts +1 -1
  283. package/dist/api/resources/ecommerce/client/Client.d.ts +1 -1
  284. package/dist/api/resources/ecommerce/client/Client.js +2 -2
  285. package/dist/api/resources/forms/client/Client.d.ts +1 -1
  286. package/dist/api/resources/forms/client/Client.js +14 -14
  287. package/dist/api/resources/index.d.ts +1 -0
  288. package/dist/api/resources/index.js +2 -1
  289. package/dist/api/resources/inventory/client/Client.d.ts +1 -1
  290. package/dist/api/resources/inventory/client/Client.js +4 -4
  291. package/dist/api/resources/orders/client/Client.d.ts +1 -1
  292. package/dist/api/resources/orders/client/Client.js +12 -12
  293. package/dist/api/resources/pages/client/Client.d.ts +18 -2
  294. package/dist/api/resources/pages/client/Client.js +27 -11
  295. package/dist/api/resources/pages/client/requests/PageDomWrite.d.ts +16 -0
  296. package/dist/api/resources/pages/resources/scripts/client/Client.d.ts +1 -1
  297. package/dist/api/resources/pages/resources/scripts/client/Client.js +6 -6
  298. package/dist/api/resources/pages/types/PageDomWriteNodesItem.d.ts +1 -1
  299. package/dist/api/resources/products/client/Client.d.ts +84 -14
  300. package/dist/api/resources/products/client/Client.js +95 -25
  301. package/dist/api/resources/products/client/requests/ProductSkuCreate.d.ts +57 -3
  302. package/dist/api/resources/products/client/requests/ProductsCreateSkuRequest.d.ts +11 -1
  303. package/dist/api/resources/products/client/requests/ProductsUpdateSkuRequest.d.ts +11 -1
  304. package/dist/api/resources/products/types/ProductSkuCreateProduct.d.ts +7 -0
  305. package/dist/api/resources/products/types/ProductSkuCreateProduct.js +5 -0
  306. package/dist/api/resources/products/types/ProductSkuCreateSku.d.ts +7 -0
  307. package/dist/api/resources/products/types/ProductSkuCreateSku.js +5 -0
  308. package/dist/api/resources/products/types/index.d.ts +2 -0
  309. package/dist/api/resources/products/types/index.js +2 -0
  310. package/dist/api/resources/scripts/client/Client.d.ts +1 -1
  311. package/dist/api/resources/scripts/client/Client.js +6 -6
  312. package/dist/api/resources/sites/client/Client.d.ts +7 -1
  313. package/dist/api/resources/sites/client/Client.js +28 -18
  314. package/dist/api/resources/sites/index.d.ts +1 -1
  315. package/dist/api/resources/sites/index.js +1 -1
  316. package/dist/api/resources/sites/resources/activityLogs/client/Client.d.ts +1 -1
  317. package/dist/api/resources/sites/resources/activityLogs/client/Client.js +2 -2
  318. package/dist/api/resources/sites/resources/comments/client/Client.d.ts +104 -0
  319. package/dist/api/resources/sites/resources/comments/client/Client.js +426 -0
  320. package/dist/api/resources/sites/resources/comments/client/index.d.ts +1 -0
  321. package/dist/api/resources/sites/resources/comments/client/index.js +17 -0
  322. package/dist/api/resources/sites/resources/comments/client/requests/CommentsGetCommentThreadRequest.d.ts +32 -0
  323. package/dist/api/resources/sites/resources/comments/client/requests/CommentsGetCommentThreadRequest.js +5 -0
  324. package/dist/api/resources/sites/resources/comments/client/requests/CommentsListCommentRepliesRequest.d.ts +32 -0
  325. package/dist/api/resources/sites/resources/comments/client/requests/CommentsListCommentRepliesRequest.js +5 -0
  326. package/dist/api/resources/sites/resources/comments/client/requests/CommentsListCommentThreadsRequest.d.ts +32 -0
  327. package/dist/api/resources/sites/resources/comments/client/requests/CommentsListCommentThreadsRequest.js +5 -0
  328. package/dist/api/resources/sites/resources/comments/client/requests/index.d.ts +3 -0
  329. package/dist/api/resources/sites/resources/comments/client/requests/index.js +2 -0
  330. package/dist/api/resources/sites/resources/comments/index.d.ts +2 -0
  331. package/dist/api/resources/sites/resources/comments/index.js +18 -0
  332. package/dist/api/resources/sites/resources/comments/types/CommentsGetCommentThreadRequestSortBy.d.ts +8 -0
  333. package/dist/api/resources/sites/resources/comments/types/CommentsGetCommentThreadRequestSortBy.js +10 -0
  334. package/dist/api/resources/sites/resources/comments/types/CommentsGetCommentThreadRequestSortOrder.d.ts +8 -0
  335. package/dist/api/resources/sites/resources/comments/types/CommentsGetCommentThreadRequestSortOrder.js +10 -0
  336. package/dist/api/resources/sites/resources/comments/types/CommentsListCommentRepliesRequestSortBy.d.ts +8 -0
  337. package/dist/api/resources/sites/resources/comments/types/CommentsListCommentRepliesRequestSortBy.js +10 -0
  338. package/dist/api/resources/sites/resources/comments/types/CommentsListCommentRepliesRequestSortOrder.d.ts +8 -0
  339. package/dist/api/resources/sites/resources/comments/types/CommentsListCommentRepliesRequestSortOrder.js +10 -0
  340. package/dist/api/resources/sites/resources/comments/types/CommentsListCommentThreadsRequestSortBy.d.ts +8 -0
  341. package/dist/api/resources/sites/resources/comments/types/CommentsListCommentThreadsRequestSortBy.js +10 -0
  342. package/dist/api/resources/sites/resources/comments/types/CommentsListCommentThreadsRequestSortOrder.d.ts +8 -0
  343. package/dist/api/resources/sites/resources/comments/types/CommentsListCommentThreadsRequestSortOrder.js +10 -0
  344. package/dist/api/resources/sites/resources/comments/types/index.d.ts +6 -0
  345. package/dist/api/resources/sites/resources/comments/types/index.js +22 -0
  346. package/dist/api/resources/sites/resources/index.d.ts +6 -0
  347. package/dist/api/resources/sites/resources/index.js +7 -1
  348. package/dist/api/resources/sites/resources/plans/client/Client.d.ts +1 -1
  349. package/dist/api/resources/sites/resources/plans/client/Client.js +2 -2
  350. package/dist/api/resources/sites/resources/redirects/client/Client.d.ts +1 -1
  351. package/dist/api/resources/sites/resources/redirects/client/Client.js +8 -8
  352. package/dist/api/resources/sites/resources/robotsTxt/client/Client.d.ts +9 -1
  353. package/dist/api/resources/sites/resources/robotsTxt/client/Client.js +16 -8
  354. package/dist/api/resources/sites/resources/scripts/client/Client.d.ts +1 -1
  355. package/dist/api/resources/sites/resources/scripts/client/Client.js +8 -8
  356. package/dist/api/resources/sites/resources/wellKnown/client/Client.d.ts +81 -0
  357. package/dist/api/resources/sites/resources/wellKnown/client/Client.js +268 -0
  358. package/dist/api/resources/sites/resources/wellKnown/client/index.d.ts +1 -0
  359. package/dist/api/resources/sites/resources/wellKnown/client/index.js +17 -0
  360. package/dist/api/resources/sites/resources/wellKnown/client/requests/WellKnownDeleteRequest.d.ts +11 -0
  361. package/dist/api/resources/sites/resources/wellKnown/client/requests/WellKnownDeleteRequest.js +5 -0
  362. package/dist/api/resources/sites/resources/wellKnown/client/requests/WellKnownFile.d.ts +19 -0
  363. package/dist/api/resources/sites/resources/wellKnown/client/requests/WellKnownFile.js +5 -0
  364. package/dist/api/resources/sites/resources/wellKnown/client/requests/index.d.ts +2 -0
  365. package/dist/api/resources/sites/resources/wellKnown/client/requests/index.js +2 -0
  366. package/dist/api/resources/sites/resources/wellKnown/index.d.ts +2 -0
  367. package/dist/api/resources/sites/resources/wellKnown/index.js +18 -0
  368. package/dist/api/resources/sites/resources/wellKnown/types/WellKnownFileContentType.d.ts +11 -0
  369. package/dist/api/resources/sites/resources/wellKnown/types/WellKnownFileContentType.js +10 -0
  370. package/dist/api/resources/sites/resources/wellKnown/types/index.d.ts +1 -0
  371. package/dist/api/resources/sites/resources/wellKnown/types/index.js +17 -0
  372. package/dist/api/resources/token/client/Client.d.ts +1 -1
  373. package/dist/api/resources/token/client/Client.js +4 -4
  374. package/dist/api/resources/users/client/Client.d.ts +1 -1
  375. package/dist/api/resources/users/client/Client.js +10 -10
  376. package/dist/api/resources/webhooks/client/Client.d.ts +1 -1
  377. package/dist/api/resources/webhooks/client/Client.js +8 -8
  378. package/dist/api/resources/workspaces/client/Client.d.ts +28 -0
  379. package/dist/api/resources/workspaces/client/Client.js +17 -0
  380. package/dist/api/resources/workspaces/client/index.d.ts +1 -0
  381. package/dist/api/resources/workspaces/client/index.js +2 -0
  382. package/dist/api/resources/workspaces/index.d.ts +2 -0
  383. package/dist/api/resources/workspaces/index.js +18 -0
  384. package/dist/api/resources/workspaces/resources/auditLogs/client/Client.d.ts +51 -0
  385. package/dist/api/resources/workspaces/resources/auditLogs/client/Client.js +182 -0
  386. package/dist/api/resources/workspaces/resources/auditLogs/client/index.d.ts +1 -0
  387. package/dist/api/resources/workspaces/resources/auditLogs/client/index.js +17 -0
  388. package/dist/api/resources/workspaces/resources/auditLogs/client/requests/AuditLogsGetWorkspaceAuditLogsRequest.d.ts +37 -0
  389. package/dist/api/resources/workspaces/resources/auditLogs/client/requests/AuditLogsGetWorkspaceAuditLogsRequest.js +5 -0
  390. package/dist/api/resources/workspaces/resources/auditLogs/client/requests/index.d.ts +1 -0
  391. package/dist/api/resources/workspaces/resources/auditLogs/client/requests/index.js +2 -0
  392. package/dist/api/resources/workspaces/resources/auditLogs/index.d.ts +2 -0
  393. package/dist/api/resources/workspaces/resources/auditLogs/index.js +18 -0
  394. package/dist/api/resources/workspaces/resources/auditLogs/types/AuditLogsGetWorkspaceAuditLogsRequestEventType.d.ts +11 -0
  395. package/dist/api/resources/workspaces/resources/auditLogs/types/AuditLogsGetWorkspaceAuditLogsRequestEventType.js +13 -0
  396. package/dist/api/resources/workspaces/resources/auditLogs/types/AuditLogsGetWorkspaceAuditLogsRequestSortOrder.d.ts +8 -0
  397. package/dist/api/resources/workspaces/resources/auditLogs/types/AuditLogsGetWorkspaceAuditLogsRequestSortOrder.js +10 -0
  398. package/dist/api/resources/workspaces/resources/auditLogs/types/index.d.ts +2 -0
  399. package/dist/api/resources/workspaces/resources/auditLogs/types/index.js +18 -0
  400. package/dist/api/resources/workspaces/resources/index.d.ts +3 -0
  401. package/dist/api/resources/workspaces/resources/index.js +32 -0
  402. package/dist/api/types/CommentReply.d.ts +32 -0
  403. package/dist/api/types/CommentReply.js +5 -0
  404. package/dist/api/types/CommentReplyAuthor.d.ts +11 -0
  405. package/dist/api/types/CommentReplyAuthor.js +5 -0
  406. package/dist/api/types/CommentReplyList.d.ts +11 -0
  407. package/dist/api/types/CommentReplyList.js +5 -0
  408. package/dist/api/types/CommentReplyListPagination.d.ts +11 -0
  409. package/dist/api/types/CommentReplyListPagination.js +5 -0
  410. package/dist/api/types/CommentReplyMentionedUsersItem.d.ts +11 -0
  411. package/dist/api/types/CommentReplyMentionedUsersItem.js +5 -0
  412. package/dist/api/types/CommentThread.d.ts +34 -0
  413. package/dist/api/types/CommentThread.js +5 -0
  414. package/dist/api/types/CommentThreadAuthor.d.ts +11 -0
  415. package/dist/api/types/CommentThreadAuthor.js +5 -0
  416. package/dist/api/types/CommentThreadList.d.ts +11 -0
  417. package/dist/api/types/CommentThreadList.js +5 -0
  418. package/dist/api/types/CommentThreadListPagination.d.ts +11 -0
  419. package/dist/api/types/CommentThreadListPagination.js +5 -0
  420. package/dist/api/types/CommentThreadMentionedUsersItem.d.ts +11 -0
  421. package/dist/api/types/CommentThreadMentionedUsersItem.js +5 -0
  422. package/dist/api/types/ComponentDom.d.ts +1 -1
  423. package/dist/api/types/CustomRole.d.ts +9 -0
  424. package/dist/api/types/CustomRole.js +5 -0
  425. package/dist/api/types/CustomRoleAuditLogItem.d.ts +8 -0
  426. package/dist/api/types/CustomRoleAuditLogItem.js +5 -0
  427. package/dist/api/types/CustomRoleAuditLogItemEventSubType.d.ts +9 -0
  428. package/dist/api/types/CustomRoleAuditLogItemEventSubType.js +11 -0
  429. package/dist/api/types/FieldType.d.ts +4 -2
  430. package/dist/api/types/FieldType.js +3 -1
  431. package/dist/api/types/Node.d.ts +13 -1
  432. package/dist/api/types/SearchButtonNode.d.ts +14 -0
  433. package/dist/api/types/SearchButtonNode.js +5 -0
  434. package/dist/api/types/SearchButtonNodeWrite.d.ts +12 -0
  435. package/dist/api/types/SearchButtonNodeWrite.js +5 -0
  436. package/dist/api/types/SelectNode.d.ts +15 -0
  437. package/dist/api/types/SelectNode.js +5 -0
  438. package/dist/api/types/SelectNodeChoicesItem.d.ts +9 -0
  439. package/dist/api/types/SelectNodeChoicesItem.js +5 -0
  440. package/dist/api/types/SelectNodeWrite.d.ts +13 -0
  441. package/dist/api/types/SelectNodeWrite.js +5 -0
  442. package/dist/api/types/SelectNodeWriteChoicesItem.d.ts +9 -0
  443. package/dist/api/types/SelectNodeWriteChoicesItem.js +5 -0
  444. package/dist/api/types/SiteMembership.d.ts +14 -0
  445. package/dist/api/types/SiteMembership.js +5 -0
  446. package/dist/api/types/SiteMembershipAuditLogItem.d.ts +8 -0
  447. package/dist/api/types/SiteMembershipAuditLogItem.js +5 -0
  448. package/dist/api/types/SiteMembershipAuditLogItemEventSubType.d.ts +9 -0
  449. package/dist/api/types/SiteMembershipAuditLogItemEventSubType.js +11 -0
  450. package/dist/api/types/SkuFieldData.d.ts +6 -0
  451. package/dist/api/types/SkuFieldDataPrice.d.ts +2 -0
  452. package/dist/api/types/SkuValueList.d.ts +1 -1
  453. package/dist/api/types/StaticFieldType.d.ts +2 -2
  454. package/dist/api/types/StaticFieldType.js +1 -1
  455. package/dist/api/types/SubmitButtonNode.d.ts +16 -0
  456. package/dist/api/types/SubmitButtonNode.js +5 -0
  457. package/dist/api/types/SubmitButtonNodeWrite.d.ts +14 -0
  458. package/dist/api/types/SubmitButtonNodeWrite.js +5 -0
  459. package/dist/api/types/TextInputNode.d.ts +14 -0
  460. package/dist/api/types/TextInputNode.js +5 -0
  461. package/dist/api/types/TextInputNodeWrite.d.ts +12 -0
  462. package/dist/api/types/TextInputNodeWrite.js +5 -0
  463. package/dist/api/types/TriggerType.d.ts +2 -1
  464. package/dist/api/types/TriggerType.js +1 -0
  465. package/dist/api/types/UserAccess.d.ts +11 -0
  466. package/dist/api/types/UserAccess.js +5 -0
  467. package/dist/api/types/UserAccessAuditLogItem.d.ts +8 -0
  468. package/dist/api/types/UserAccessAuditLogItem.js +5 -0
  469. package/dist/api/types/UserAccessAuditLogItemEventSubType.d.ts +8 -0
  470. package/dist/api/types/UserAccessAuditLogItemEventSubType.js +10 -0
  471. package/dist/api/types/WorkspaceAuditLogItem.d.ts +27 -0
  472. package/dist/api/types/WorkspaceAuditLogItem.js +5 -0
  473. package/dist/api/types/WorkspaceAuditLogItemActor.d.ts +7 -0
  474. package/dist/api/types/WorkspaceAuditLogItemActor.js +5 -0
  475. package/dist/api/types/WorkspaceAuditLogItemPayloadSiteMembershipMethod.d.ts +11 -0
  476. package/dist/api/types/WorkspaceAuditLogItemPayloadSiteMembershipMethod.js +13 -0
  477. package/dist/api/types/WorkspaceAuditLogItemPayloadSiteMembershipSite.d.ts +7 -0
  478. package/dist/api/types/WorkspaceAuditLogItemPayloadSiteMembershipSite.js +5 -0
  479. package/dist/api/types/WorkspaceAuditLogItemPayloadSiteMembershipTargetUser.d.ts +7 -0
  480. package/dist/api/types/WorkspaceAuditLogItemPayloadSiteMembershipTargetUser.js +5 -0
  481. package/dist/api/types/WorkspaceAuditLogItemPayloadSiteMembershipUserType.d.ts +10 -0
  482. package/dist/api/types/WorkspaceAuditLogItemPayloadSiteMembershipUserType.js +12 -0
  483. package/dist/api/types/WorkspaceAuditLogItemPayloadUserAccessMethod.d.ts +10 -0
  484. package/dist/api/types/WorkspaceAuditLogItemPayloadUserAccessMethod.js +12 -0
  485. package/dist/api/types/WorkspaceAuditLogItemPayloadWorkspaceInvitationMethod.d.ts +9 -0
  486. package/dist/api/types/WorkspaceAuditLogItemPayloadWorkspaceInvitationMethod.js +11 -0
  487. package/dist/api/types/WorkspaceAuditLogItemPayloadWorkspaceInvitationTargetUser.d.ts +7 -0
  488. package/dist/api/types/WorkspaceAuditLogItemPayloadWorkspaceInvitationTargetUser.js +5 -0
  489. package/dist/api/types/WorkspaceAuditLogItemPayloadWorkspaceInvitationUserType.d.ts +10 -0
  490. package/dist/api/types/WorkspaceAuditLogItemPayloadWorkspaceInvitationUserType.js +12 -0
  491. package/dist/api/types/WorkspaceAuditLogItemPayloadWorkspaceMembershipMethod.d.ts +9 -0
  492. package/dist/api/types/WorkspaceAuditLogItemPayloadWorkspaceMembershipMethod.js +11 -0
  493. package/dist/api/types/WorkspaceAuditLogItemPayloadWorkspaceMembershipTargetUser.d.ts +7 -0
  494. package/dist/api/types/WorkspaceAuditLogItemPayloadWorkspaceMembershipTargetUser.js +5 -0
  495. package/dist/api/types/WorkspaceAuditLogItemPayloadWorkspaceMembershipUserType.d.ts +10 -0
  496. package/dist/api/types/WorkspaceAuditLogItemPayloadWorkspaceMembershipUserType.js +12 -0
  497. package/dist/api/types/WorkspaceAuditLogItemWorkspace.d.ts +7 -0
  498. package/dist/api/types/WorkspaceAuditLogItemWorkspace.js +5 -0
  499. package/dist/api/types/WorkspaceAuditLogResponse.d.ts +8 -0
  500. package/dist/api/types/WorkspaceAuditLogResponse.js +5 -0
  501. package/dist/api/types/WorkspaceInvitation.d.ts +13 -0
  502. package/dist/api/types/WorkspaceInvitation.js +5 -0
  503. package/dist/api/types/WorkspaceInvitationAuditLogItem.d.ts +8 -0
  504. package/dist/api/types/WorkspaceInvitationAuditLogItem.js +5 -0
  505. package/dist/api/types/WorkspaceInvitationAuditLogItemEventSubType.d.ts +11 -0
  506. package/dist/api/types/WorkspaceInvitationAuditLogItemEventSubType.js +13 -0
  507. package/dist/api/types/WorkspaceMembership.d.ts +13 -0
  508. package/dist/api/types/WorkspaceMembership.js +5 -0
  509. package/dist/api/types/WorkspaceMembershipAuditLogItem.d.ts +8 -0
  510. package/dist/api/types/WorkspaceMembershipAuditLogItem.js +5 -0
  511. package/dist/api/types/WorkspaceMembershipAuditLogItemEventSubType.d.ts +9 -0
  512. package/dist/api/types/WorkspaceMembershipAuditLogItemEventSubType.js +11 -0
  513. package/dist/api/types/index.d.ts +51 -1
  514. package/dist/api/types/index.js +51 -1
  515. package/dist/environments.d.ts +15 -2
  516. package/dist/environments.js +7 -1
  517. package/dist/serialization/resources/collections/resources/items/client/requests/ItemsDeleteItemsLiveRequest.d.ts +1 -1
  518. package/dist/serialization/resources/collections/resources/items/client/requests/ItemsDeleteItemsLiveRequest.js +1 -1
  519. package/dist/serialization/resources/collections/resources/items/client/requests/ItemsDeleteItemsRequest.d.ts +1 -1
  520. package/dist/serialization/resources/collections/resources/items/client/requests/ItemsDeleteItemsRequest.js +1 -1
  521. package/dist/serialization/resources/components/types/ComponentDomWriteNodesItem.d.ts +5 -1
  522. package/dist/serialization/resources/components/types/ComponentDomWriteNodesItem.js +12 -1
  523. package/dist/serialization/resources/index.d.ts +1 -0
  524. package/dist/serialization/resources/index.js +2 -1
  525. package/dist/serialization/resources/pages/types/PageDomWriteNodesItem.d.ts +5 -1
  526. package/dist/serialization/resources/pages/types/PageDomWriteNodesItem.js +12 -1
  527. package/dist/serialization/resources/products/client/requests/ProductSkuCreate.d.ts +4 -4
  528. package/dist/serialization/resources/products/client/requests/ProductSkuCreate.js +4 -4
  529. package/dist/serialization/resources/products/types/ProductSkuCreateProduct.d.ts +13 -0
  530. package/dist/serialization/resources/products/types/ProductSkuCreateProduct.js +34 -0
  531. package/dist/serialization/resources/products/types/ProductSkuCreateSku.d.ts +13 -0
  532. package/dist/serialization/resources/products/types/ProductSkuCreateSku.js +34 -0
  533. package/dist/serialization/resources/products/types/index.d.ts +2 -0
  534. package/dist/serialization/resources/products/types/index.js +2 -0
  535. package/dist/serialization/resources/sites/index.d.ts +1 -0
  536. package/dist/serialization/resources/sites/index.js +1 -0
  537. package/dist/serialization/resources/sites/resources/comments/index.d.ts +1 -0
  538. package/dist/serialization/resources/sites/resources/comments/index.js +17 -0
  539. package/dist/serialization/resources/sites/resources/comments/types/CommentsGetCommentThreadRequestSortBy.d.ts +10 -0
  540. package/dist/serialization/resources/sites/resources/comments/types/CommentsGetCommentThreadRequestSortBy.js +31 -0
  541. package/dist/serialization/resources/sites/resources/comments/types/CommentsGetCommentThreadRequestSortOrder.d.ts +10 -0
  542. package/dist/serialization/resources/sites/resources/comments/types/CommentsGetCommentThreadRequestSortOrder.js +31 -0
  543. package/dist/serialization/resources/sites/resources/comments/types/CommentsListCommentRepliesRequestSortBy.d.ts +10 -0
  544. package/dist/serialization/resources/sites/resources/comments/types/CommentsListCommentRepliesRequestSortBy.js +31 -0
  545. package/dist/serialization/resources/sites/resources/comments/types/CommentsListCommentRepliesRequestSortOrder.d.ts +10 -0
  546. package/dist/serialization/resources/sites/resources/comments/types/CommentsListCommentRepliesRequestSortOrder.js +31 -0
  547. package/dist/serialization/resources/sites/resources/comments/types/CommentsListCommentThreadsRequestSortBy.d.ts +10 -0
  548. package/dist/serialization/resources/sites/resources/comments/types/CommentsListCommentThreadsRequestSortBy.js +31 -0
  549. package/dist/serialization/resources/sites/resources/comments/types/CommentsListCommentThreadsRequestSortOrder.d.ts +10 -0
  550. package/dist/serialization/resources/sites/resources/comments/types/CommentsListCommentThreadsRequestSortOrder.js +31 -0
  551. package/dist/serialization/resources/sites/resources/comments/types/index.d.ts +6 -0
  552. package/dist/serialization/resources/sites/resources/comments/types/index.js +22 -0
  553. package/dist/serialization/resources/sites/resources/index.d.ts +5 -0
  554. package/dist/serialization/resources/sites/resources/index.js +34 -0
  555. package/dist/serialization/resources/sites/resources/wellKnown/client/index.d.ts +1 -0
  556. package/dist/serialization/resources/sites/resources/wellKnown/client/index.js +17 -0
  557. package/dist/serialization/resources/sites/resources/wellKnown/client/requests/WellKnownDeleteRequest.d.ts +12 -0
  558. package/dist/serialization/resources/sites/resources/wellKnown/client/requests/WellKnownDeleteRequest.js +33 -0
  559. package/dist/serialization/resources/sites/resources/wellKnown/client/requests/WellKnownFile.d.ts +15 -0
  560. package/dist/serialization/resources/sites/resources/wellKnown/client/requests/WellKnownFile.js +36 -0
  561. package/dist/serialization/resources/sites/resources/wellKnown/client/requests/index.d.ts +2 -0
  562. package/dist/serialization/resources/sites/resources/wellKnown/client/requests/index.js +7 -0
  563. package/dist/serialization/resources/sites/resources/wellKnown/index.d.ts +2 -0
  564. package/dist/serialization/resources/sites/resources/wellKnown/index.js +18 -0
  565. package/dist/serialization/resources/sites/resources/wellKnown/types/WellKnownFileContentType.d.ts +10 -0
  566. package/dist/serialization/resources/sites/resources/wellKnown/types/WellKnownFileContentType.js +31 -0
  567. package/dist/serialization/resources/sites/resources/wellKnown/types/index.d.ts +1 -0
  568. package/dist/serialization/resources/sites/resources/wellKnown/types/index.js +17 -0
  569. package/dist/serialization/resources/workspaces/index.d.ts +1 -0
  570. package/dist/serialization/resources/workspaces/index.js +17 -0
  571. package/dist/serialization/resources/workspaces/resources/auditLogs/index.d.ts +1 -0
  572. package/dist/serialization/resources/workspaces/resources/auditLogs/index.js +17 -0
  573. package/dist/serialization/resources/workspaces/resources/auditLogs/types/AuditLogsGetWorkspaceAuditLogsRequestEventType.d.ts +10 -0
  574. package/dist/serialization/resources/workspaces/resources/auditLogs/types/AuditLogsGetWorkspaceAuditLogsRequestEventType.js +37 -0
  575. package/dist/serialization/resources/workspaces/resources/auditLogs/types/AuditLogsGetWorkspaceAuditLogsRequestSortOrder.d.ts +10 -0
  576. package/dist/serialization/resources/workspaces/resources/auditLogs/types/AuditLogsGetWorkspaceAuditLogsRequestSortOrder.js +31 -0
  577. package/dist/serialization/resources/workspaces/resources/auditLogs/types/index.d.ts +2 -0
  578. package/dist/serialization/resources/workspaces/resources/auditLogs/types/index.js +18 -0
  579. package/dist/serialization/resources/workspaces/resources/index.d.ts +2 -0
  580. package/dist/serialization/resources/workspaces/resources/index.js +31 -0
  581. package/dist/serialization/types/CommentReply.d.ts +25 -0
  582. package/dist/serialization/types/CommentReply.js +46 -0
  583. package/dist/serialization/types/CommentReplyAuthor.d.ts +14 -0
  584. package/dist/serialization/types/CommentReplyAuthor.js +35 -0
  585. package/dist/serialization/types/CommentReplyList.d.ts +15 -0
  586. package/dist/serialization/types/CommentReplyList.js +36 -0
  587. package/dist/serialization/types/CommentReplyListPagination.d.ts +14 -0
  588. package/dist/serialization/types/CommentReplyListPagination.js +35 -0
  589. package/dist/serialization/types/CommentReplyMentionedUsersItem.d.ts +14 -0
  590. package/dist/serialization/types/CommentReplyMentionedUsersItem.js +35 -0
  591. package/dist/serialization/types/CommentThread.d.ts +26 -0
  592. package/dist/serialization/types/CommentThread.js +47 -0
  593. package/dist/serialization/types/CommentThreadAuthor.d.ts +14 -0
  594. package/dist/serialization/types/CommentThreadAuthor.js +35 -0
  595. package/dist/serialization/types/CommentThreadList.d.ts +15 -0
  596. package/dist/serialization/types/CommentThreadList.js +36 -0
  597. package/dist/serialization/types/CommentThreadListPagination.d.ts +14 -0
  598. package/dist/serialization/types/CommentThreadListPagination.js +35 -0
  599. package/dist/serialization/types/CommentThreadMentionedUsersItem.d.ts +14 -0
  600. package/dist/serialization/types/CommentThreadMentionedUsersItem.js +35 -0
  601. package/dist/serialization/types/CustomRole.d.ts +13 -0
  602. package/dist/serialization/types/CustomRole.js +34 -0
  603. package/dist/serialization/types/CustomRoleAuditLogItem.d.ts +15 -0
  604. package/dist/serialization/types/CustomRoleAuditLogItem.js +36 -0
  605. package/dist/serialization/types/CustomRoleAuditLogItemEventSubType.d.ts +10 -0
  606. package/dist/serialization/types/CustomRoleAuditLogItemEventSubType.js +31 -0
  607. package/dist/serialization/types/FieldType.d.ts +1 -1
  608. package/dist/serialization/types/FieldType.js +3 -1
  609. package/dist/serialization/types/Node.d.ts +17 -1
  610. package/dist/serialization/types/Node.js +8 -0
  611. package/dist/serialization/types/SearchButtonNode.d.ts +14 -0
  612. package/dist/serialization/types/SearchButtonNode.js +35 -0
  613. package/dist/serialization/types/SearchButtonNodeWrite.d.ts +13 -0
  614. package/dist/serialization/types/SearchButtonNodeWrite.js +34 -0
  615. package/dist/serialization/types/SelectNode.d.ts +15 -0
  616. package/dist/serialization/types/SelectNode.js +36 -0
  617. package/dist/serialization/types/SelectNodeChoicesItem.d.ts +13 -0
  618. package/dist/serialization/types/SelectNodeChoicesItem.js +34 -0
  619. package/dist/serialization/types/SelectNodeWrite.d.ts +14 -0
  620. package/dist/serialization/types/SelectNodeWrite.js +35 -0
  621. package/dist/serialization/types/SelectNodeWriteChoicesItem.d.ts +13 -0
  622. package/dist/serialization/types/SelectNodeWriteChoicesItem.js +34 -0
  623. package/dist/serialization/types/SiteMembership.d.ts +21 -0
  624. package/dist/serialization/types/SiteMembership.js +42 -0
  625. package/dist/serialization/types/SiteMembershipAuditLogItem.d.ts +15 -0
  626. package/dist/serialization/types/SiteMembershipAuditLogItem.js +36 -0
  627. package/dist/serialization/types/SiteMembershipAuditLogItemEventSubType.d.ts +10 -0
  628. package/dist/serialization/types/SiteMembershipAuditLogItemEventSubType.js +31 -0
  629. package/dist/serialization/types/SkuFieldData.d.ts +4 -0
  630. package/dist/serialization/types/SkuFieldData.js +4 -0
  631. package/dist/serialization/types/SkuFieldDataPrice.d.ts +1 -0
  632. package/dist/serialization/types/SkuFieldDataPrice.js +1 -0
  633. package/dist/serialization/types/StaticFieldType.d.ts +1 -1
  634. package/dist/serialization/types/StaticFieldType.js +1 -1
  635. package/dist/serialization/types/SubmitButtonNode.d.ts +15 -0
  636. package/dist/serialization/types/SubmitButtonNode.js +36 -0
  637. package/dist/serialization/types/SubmitButtonNodeWrite.d.ts +14 -0
  638. package/dist/serialization/types/SubmitButtonNodeWrite.js +35 -0
  639. package/dist/serialization/types/TextInputNode.d.ts +14 -0
  640. package/dist/serialization/types/TextInputNode.js +35 -0
  641. package/dist/serialization/types/TextInputNodeWrite.d.ts +13 -0
  642. package/dist/serialization/types/TextInputNodeWrite.js +34 -0
  643. package/dist/serialization/types/TriggerType.d.ts +1 -1
  644. package/dist/serialization/types/TriggerType.js +1 -0
  645. package/dist/serialization/types/UserAccess.d.ts +15 -0
  646. package/dist/serialization/types/UserAccess.js +36 -0
  647. package/dist/serialization/types/UserAccessAuditLogItem.d.ts +15 -0
  648. package/dist/serialization/types/UserAccessAuditLogItem.js +36 -0
  649. package/dist/serialization/types/UserAccessAuditLogItemEventSubType.d.ts +10 -0
  650. package/dist/serialization/types/UserAccessAuditLogItemEventSubType.js +31 -0
  651. package/dist/serialization/types/WorkspaceAuditLogItem.d.ts +37 -0
  652. package/dist/serialization/types/WorkspaceAuditLogItem.js +54 -0
  653. package/dist/serialization/types/WorkspaceAuditLogItemActor.d.ts +13 -0
  654. package/dist/serialization/types/WorkspaceAuditLogItemActor.js +34 -0
  655. package/dist/serialization/types/WorkspaceAuditLogItemPayloadSiteMembershipMethod.d.ts +10 -0
  656. package/dist/serialization/types/WorkspaceAuditLogItemPayloadSiteMembershipMethod.js +31 -0
  657. package/dist/serialization/types/WorkspaceAuditLogItemPayloadSiteMembershipSite.d.ts +13 -0
  658. package/dist/serialization/types/WorkspaceAuditLogItemPayloadSiteMembershipSite.js +34 -0
  659. package/dist/serialization/types/WorkspaceAuditLogItemPayloadSiteMembershipTargetUser.d.ts +13 -0
  660. package/dist/serialization/types/WorkspaceAuditLogItemPayloadSiteMembershipTargetUser.js +34 -0
  661. package/dist/serialization/types/WorkspaceAuditLogItemPayloadSiteMembershipUserType.d.ts +10 -0
  662. package/dist/serialization/types/WorkspaceAuditLogItemPayloadSiteMembershipUserType.js +31 -0
  663. package/dist/serialization/types/WorkspaceAuditLogItemPayloadUserAccessMethod.d.ts +10 -0
  664. package/dist/serialization/types/WorkspaceAuditLogItemPayloadUserAccessMethod.js +31 -0
  665. package/dist/serialization/types/WorkspaceAuditLogItemPayloadWorkspaceInvitationMethod.d.ts +10 -0
  666. package/dist/serialization/types/WorkspaceAuditLogItemPayloadWorkspaceInvitationMethod.js +31 -0
  667. package/dist/serialization/types/WorkspaceAuditLogItemPayloadWorkspaceInvitationTargetUser.d.ts +13 -0
  668. package/dist/serialization/types/WorkspaceAuditLogItemPayloadWorkspaceInvitationTargetUser.js +34 -0
  669. package/dist/serialization/types/WorkspaceAuditLogItemPayloadWorkspaceInvitationUserType.d.ts +10 -0
  670. package/dist/serialization/types/WorkspaceAuditLogItemPayloadWorkspaceInvitationUserType.js +31 -0
  671. package/dist/serialization/types/WorkspaceAuditLogItemPayloadWorkspaceMembershipMethod.d.ts +10 -0
  672. package/dist/serialization/types/WorkspaceAuditLogItemPayloadWorkspaceMembershipMethod.js +31 -0
  673. package/dist/serialization/types/WorkspaceAuditLogItemPayloadWorkspaceMembershipTargetUser.d.ts +13 -0
  674. package/dist/serialization/types/WorkspaceAuditLogItemPayloadWorkspaceMembershipTargetUser.js +34 -0
  675. package/dist/serialization/types/WorkspaceAuditLogItemPayloadWorkspaceMembershipUserType.d.ts +10 -0
  676. package/dist/serialization/types/WorkspaceAuditLogItemPayloadWorkspaceMembershipUserType.js +31 -0
  677. package/dist/serialization/types/WorkspaceAuditLogItemWorkspace.d.ts +13 -0
  678. package/dist/serialization/types/WorkspaceAuditLogItemWorkspace.js +34 -0
  679. package/dist/serialization/types/WorkspaceAuditLogResponse.d.ts +15 -0
  680. package/dist/serialization/types/WorkspaceAuditLogResponse.js +36 -0
  681. package/dist/serialization/types/WorkspaceInvitation.d.ts +19 -0
  682. package/dist/serialization/types/WorkspaceInvitation.js +40 -0
  683. package/dist/serialization/types/WorkspaceInvitationAuditLogItem.d.ts +15 -0
  684. package/dist/serialization/types/WorkspaceInvitationAuditLogItem.js +36 -0
  685. package/dist/serialization/types/WorkspaceInvitationAuditLogItemEventSubType.d.ts +10 -0
  686. package/dist/serialization/types/WorkspaceInvitationAuditLogItemEventSubType.js +37 -0
  687. package/dist/serialization/types/WorkspaceMembership.d.ts +19 -0
  688. package/dist/serialization/types/WorkspaceMembership.js +40 -0
  689. package/dist/serialization/types/WorkspaceMembershipAuditLogItem.d.ts +15 -0
  690. package/dist/serialization/types/WorkspaceMembershipAuditLogItem.js +36 -0
  691. package/dist/serialization/types/WorkspaceMembershipAuditLogItemEventSubType.d.ts +10 -0
  692. package/dist/serialization/types/WorkspaceMembershipAuditLogItemEventSubType.js +31 -0
  693. package/dist/serialization/types/index.d.ts +51 -1
  694. package/dist/serialization/types/index.js +51 -1
  695. package/dist/version.d.ts +1 -1
  696. package/dist/version.js +1 -1
  697. package/dist/wrapper/AssetsClient.d.ts +12 -0
  698. package/dist/wrapper/AssetsClient.js +16 -0
  699. package/dist/wrapper/AssetsUtilitiesClient.d.ts +49 -0
  700. package/dist/wrapper/AssetsUtilitiesClient.js +121 -0
  701. package/dist/wrapper/WebflowClient.d.ts +3 -0
  702. package/dist/wrapper/WebflowClient.js +5 -0
  703. package/environments.d.ts +15 -2
  704. package/environments.js +7 -1
  705. package/package.json +7 -3
  706. package/reference.md +674 -16
  707. package/serialization/resources/collections/resources/items/client/requests/ItemsDeleteItemsLiveRequest.d.ts +1 -1
  708. package/serialization/resources/collections/resources/items/client/requests/ItemsDeleteItemsLiveRequest.js +1 -1
  709. package/serialization/resources/collections/resources/items/client/requests/ItemsDeleteItemsRequest.d.ts +1 -1
  710. package/serialization/resources/collections/resources/items/client/requests/ItemsDeleteItemsRequest.js +1 -1
  711. package/serialization/resources/components/types/ComponentDomWriteNodesItem.d.ts +5 -1
  712. package/serialization/resources/components/types/ComponentDomWriteNodesItem.js +12 -1
  713. package/serialization/resources/index.d.ts +1 -0
  714. package/serialization/resources/index.js +2 -1
  715. package/serialization/resources/pages/types/PageDomWriteNodesItem.d.ts +5 -1
  716. package/serialization/resources/pages/types/PageDomWriteNodesItem.js +12 -1
  717. package/serialization/resources/products/client/requests/ProductSkuCreate.d.ts +4 -4
  718. package/serialization/resources/products/client/requests/ProductSkuCreate.js +4 -4
  719. package/serialization/resources/products/types/ProductSkuCreateProduct.d.ts +13 -0
  720. package/serialization/resources/products/types/ProductSkuCreateProduct.js +34 -0
  721. package/serialization/resources/products/types/ProductSkuCreateSku.d.ts +13 -0
  722. package/serialization/resources/products/types/ProductSkuCreateSku.js +34 -0
  723. package/serialization/resources/products/types/index.d.ts +2 -0
  724. package/serialization/resources/products/types/index.js +2 -0
  725. package/serialization/resources/sites/index.d.ts +1 -0
  726. package/serialization/resources/sites/index.js +1 -0
  727. package/serialization/resources/sites/resources/comments/index.d.ts +1 -0
  728. package/serialization/resources/sites/resources/comments/index.js +17 -0
  729. package/serialization/resources/sites/resources/comments/types/CommentsGetCommentThreadRequestSortBy.d.ts +10 -0
  730. package/serialization/resources/sites/resources/comments/types/CommentsGetCommentThreadRequestSortBy.js +31 -0
  731. package/serialization/resources/sites/resources/comments/types/CommentsGetCommentThreadRequestSortOrder.d.ts +10 -0
  732. package/serialization/resources/sites/resources/comments/types/CommentsGetCommentThreadRequestSortOrder.js +31 -0
  733. package/serialization/resources/sites/resources/comments/types/CommentsListCommentRepliesRequestSortBy.d.ts +10 -0
  734. package/serialization/resources/sites/resources/comments/types/CommentsListCommentRepliesRequestSortBy.js +31 -0
  735. package/serialization/resources/sites/resources/comments/types/CommentsListCommentRepliesRequestSortOrder.d.ts +10 -0
  736. package/serialization/resources/sites/resources/comments/types/CommentsListCommentRepliesRequestSortOrder.js +31 -0
  737. package/serialization/resources/sites/resources/comments/types/CommentsListCommentThreadsRequestSortBy.d.ts +10 -0
  738. package/serialization/resources/sites/resources/comments/types/CommentsListCommentThreadsRequestSortBy.js +31 -0
  739. package/serialization/resources/sites/resources/comments/types/CommentsListCommentThreadsRequestSortOrder.d.ts +10 -0
  740. package/serialization/resources/sites/resources/comments/types/CommentsListCommentThreadsRequestSortOrder.js +31 -0
  741. package/serialization/resources/sites/resources/comments/types/index.d.ts +6 -0
  742. package/serialization/resources/sites/resources/comments/types/index.js +22 -0
  743. package/serialization/resources/sites/resources/index.d.ts +5 -0
  744. package/serialization/resources/sites/resources/index.js +34 -0
  745. package/serialization/resources/sites/resources/wellKnown/client/index.d.ts +1 -0
  746. package/serialization/resources/sites/resources/wellKnown/client/index.js +17 -0
  747. package/serialization/resources/sites/resources/wellKnown/client/requests/WellKnownDeleteRequest.d.ts +12 -0
  748. package/serialization/resources/sites/resources/wellKnown/client/requests/WellKnownDeleteRequest.js +33 -0
  749. package/serialization/resources/sites/resources/wellKnown/client/requests/WellKnownFile.d.ts +15 -0
  750. package/serialization/resources/sites/resources/wellKnown/client/requests/WellKnownFile.js +36 -0
  751. package/serialization/resources/sites/resources/wellKnown/client/requests/index.d.ts +2 -0
  752. package/serialization/resources/sites/resources/wellKnown/client/requests/index.js +7 -0
  753. package/serialization/resources/sites/resources/wellKnown/index.d.ts +2 -0
  754. package/serialization/resources/sites/resources/wellKnown/index.js +18 -0
  755. package/serialization/resources/sites/resources/wellKnown/types/WellKnownFileContentType.d.ts +10 -0
  756. package/serialization/resources/sites/resources/wellKnown/types/WellKnownFileContentType.js +31 -0
  757. package/serialization/resources/sites/resources/wellKnown/types/index.d.ts +1 -0
  758. package/serialization/resources/sites/resources/wellKnown/types/index.js +17 -0
  759. package/serialization/resources/workspaces/index.d.ts +1 -0
  760. package/serialization/resources/workspaces/index.js +17 -0
  761. package/serialization/resources/workspaces/resources/auditLogs/index.d.ts +1 -0
  762. package/serialization/resources/workspaces/resources/auditLogs/index.js +17 -0
  763. package/serialization/resources/workspaces/resources/auditLogs/types/AuditLogsGetWorkspaceAuditLogsRequestEventType.d.ts +10 -0
  764. package/serialization/resources/workspaces/resources/auditLogs/types/AuditLogsGetWorkspaceAuditLogsRequestEventType.js +37 -0
  765. package/serialization/resources/workspaces/resources/auditLogs/types/AuditLogsGetWorkspaceAuditLogsRequestSortOrder.d.ts +10 -0
  766. package/serialization/resources/workspaces/resources/auditLogs/types/AuditLogsGetWorkspaceAuditLogsRequestSortOrder.js +31 -0
  767. package/serialization/resources/workspaces/resources/auditLogs/types/index.d.ts +2 -0
  768. package/serialization/resources/workspaces/resources/auditLogs/types/index.js +18 -0
  769. package/serialization/resources/workspaces/resources/index.d.ts +2 -0
  770. package/serialization/resources/workspaces/resources/index.js +31 -0
  771. package/serialization/types/CommentReply.d.ts +25 -0
  772. package/serialization/types/CommentReply.js +46 -0
  773. package/serialization/types/CommentReplyAuthor.d.ts +14 -0
  774. package/serialization/types/CommentReplyAuthor.js +35 -0
  775. package/serialization/types/CommentReplyList.d.ts +15 -0
  776. package/serialization/types/CommentReplyList.js +36 -0
  777. package/serialization/types/CommentReplyListPagination.d.ts +14 -0
  778. package/serialization/types/CommentReplyListPagination.js +35 -0
  779. package/serialization/types/CommentReplyMentionedUsersItem.d.ts +14 -0
  780. package/serialization/types/CommentReplyMentionedUsersItem.js +35 -0
  781. package/serialization/types/CommentThread.d.ts +26 -0
  782. package/serialization/types/CommentThread.js +47 -0
  783. package/serialization/types/CommentThreadAuthor.d.ts +14 -0
  784. package/serialization/types/CommentThreadAuthor.js +35 -0
  785. package/serialization/types/CommentThreadList.d.ts +15 -0
  786. package/serialization/types/CommentThreadList.js +36 -0
  787. package/serialization/types/CommentThreadListPagination.d.ts +14 -0
  788. package/serialization/types/CommentThreadListPagination.js +35 -0
  789. package/serialization/types/CommentThreadMentionedUsersItem.d.ts +14 -0
  790. package/serialization/types/CommentThreadMentionedUsersItem.js +35 -0
  791. package/serialization/types/CustomRole.d.ts +13 -0
  792. package/serialization/types/CustomRole.js +34 -0
  793. package/serialization/types/CustomRoleAuditLogItem.d.ts +15 -0
  794. package/serialization/types/CustomRoleAuditLogItem.js +36 -0
  795. package/serialization/types/CustomRoleAuditLogItemEventSubType.d.ts +10 -0
  796. package/serialization/types/CustomRoleAuditLogItemEventSubType.js +31 -0
  797. package/serialization/types/FieldType.d.ts +1 -1
  798. package/serialization/types/FieldType.js +3 -1
  799. package/serialization/types/Node.d.ts +17 -1
  800. package/serialization/types/Node.js +8 -0
  801. package/serialization/types/SearchButtonNode.d.ts +14 -0
  802. package/serialization/types/SearchButtonNode.js +35 -0
  803. package/serialization/types/SearchButtonNodeWrite.d.ts +13 -0
  804. package/serialization/types/SearchButtonNodeWrite.js +34 -0
  805. package/serialization/types/SelectNode.d.ts +15 -0
  806. package/serialization/types/SelectNode.js +36 -0
  807. package/serialization/types/SelectNodeChoicesItem.d.ts +13 -0
  808. package/serialization/types/SelectNodeChoicesItem.js +34 -0
  809. package/serialization/types/SelectNodeWrite.d.ts +14 -0
  810. package/serialization/types/SelectNodeWrite.js +35 -0
  811. package/serialization/types/SelectNodeWriteChoicesItem.d.ts +13 -0
  812. package/serialization/types/SelectNodeWriteChoicesItem.js +34 -0
  813. package/serialization/types/SiteMembership.d.ts +21 -0
  814. package/serialization/types/SiteMembership.js +42 -0
  815. package/serialization/types/SiteMembershipAuditLogItem.d.ts +15 -0
  816. package/serialization/types/SiteMembershipAuditLogItem.js +36 -0
  817. package/serialization/types/SiteMembershipAuditLogItemEventSubType.d.ts +10 -0
  818. package/serialization/types/SiteMembershipAuditLogItemEventSubType.js +31 -0
  819. package/serialization/types/SkuFieldData.d.ts +4 -0
  820. package/serialization/types/SkuFieldData.js +4 -0
  821. package/serialization/types/SkuFieldDataPrice.d.ts +1 -0
  822. package/serialization/types/SkuFieldDataPrice.js +1 -0
  823. package/serialization/types/StaticFieldType.d.ts +1 -1
  824. package/serialization/types/StaticFieldType.js +1 -1
  825. package/serialization/types/SubmitButtonNode.d.ts +15 -0
  826. package/serialization/types/SubmitButtonNode.js +36 -0
  827. package/serialization/types/SubmitButtonNodeWrite.d.ts +14 -0
  828. package/serialization/types/SubmitButtonNodeWrite.js +35 -0
  829. package/serialization/types/TextInputNode.d.ts +14 -0
  830. package/serialization/types/TextInputNode.js +35 -0
  831. package/serialization/types/TextInputNodeWrite.d.ts +13 -0
  832. package/serialization/types/TextInputNodeWrite.js +34 -0
  833. package/serialization/types/TriggerType.d.ts +1 -1
  834. package/serialization/types/TriggerType.js +1 -0
  835. package/serialization/types/UserAccess.d.ts +15 -0
  836. package/serialization/types/UserAccess.js +36 -0
  837. package/serialization/types/UserAccessAuditLogItem.d.ts +15 -0
  838. package/serialization/types/UserAccessAuditLogItem.js +36 -0
  839. package/serialization/types/UserAccessAuditLogItemEventSubType.d.ts +10 -0
  840. package/serialization/types/UserAccessAuditLogItemEventSubType.js +31 -0
  841. package/serialization/types/WorkspaceAuditLogItem.d.ts +37 -0
  842. package/serialization/types/WorkspaceAuditLogItem.js +54 -0
  843. package/serialization/types/WorkspaceAuditLogItemActor.d.ts +13 -0
  844. package/serialization/types/WorkspaceAuditLogItemActor.js +34 -0
  845. package/serialization/types/WorkspaceAuditLogItemPayloadSiteMembershipMethod.d.ts +10 -0
  846. package/serialization/types/WorkspaceAuditLogItemPayloadSiteMembershipMethod.js +31 -0
  847. package/serialization/types/WorkspaceAuditLogItemPayloadSiteMembershipSite.d.ts +13 -0
  848. package/serialization/types/WorkspaceAuditLogItemPayloadSiteMembershipSite.js +34 -0
  849. package/serialization/types/WorkspaceAuditLogItemPayloadSiteMembershipTargetUser.d.ts +13 -0
  850. package/serialization/types/WorkspaceAuditLogItemPayloadSiteMembershipTargetUser.js +34 -0
  851. package/serialization/types/WorkspaceAuditLogItemPayloadSiteMembershipUserType.d.ts +10 -0
  852. package/serialization/types/WorkspaceAuditLogItemPayloadSiteMembershipUserType.js +31 -0
  853. package/serialization/types/WorkspaceAuditLogItemPayloadUserAccessMethod.d.ts +10 -0
  854. package/serialization/types/WorkspaceAuditLogItemPayloadUserAccessMethod.js +31 -0
  855. package/serialization/types/WorkspaceAuditLogItemPayloadWorkspaceInvitationMethod.d.ts +10 -0
  856. package/serialization/types/WorkspaceAuditLogItemPayloadWorkspaceInvitationMethod.js +31 -0
  857. package/serialization/types/WorkspaceAuditLogItemPayloadWorkspaceInvitationTargetUser.d.ts +13 -0
  858. package/serialization/types/WorkspaceAuditLogItemPayloadWorkspaceInvitationTargetUser.js +34 -0
  859. package/serialization/types/WorkspaceAuditLogItemPayloadWorkspaceInvitationUserType.d.ts +10 -0
  860. package/serialization/types/WorkspaceAuditLogItemPayloadWorkspaceInvitationUserType.js +31 -0
  861. package/serialization/types/WorkspaceAuditLogItemPayloadWorkspaceMembershipMethod.d.ts +10 -0
  862. package/serialization/types/WorkspaceAuditLogItemPayloadWorkspaceMembershipMethod.js +31 -0
  863. package/serialization/types/WorkspaceAuditLogItemPayloadWorkspaceMembershipTargetUser.d.ts +13 -0
  864. package/serialization/types/WorkspaceAuditLogItemPayloadWorkspaceMembershipTargetUser.js +34 -0
  865. package/serialization/types/WorkspaceAuditLogItemPayloadWorkspaceMembershipUserType.d.ts +10 -0
  866. package/serialization/types/WorkspaceAuditLogItemPayloadWorkspaceMembershipUserType.js +31 -0
  867. package/serialization/types/WorkspaceAuditLogItemWorkspace.d.ts +13 -0
  868. package/serialization/types/WorkspaceAuditLogItemWorkspace.js +34 -0
  869. package/serialization/types/WorkspaceAuditLogResponse.d.ts +15 -0
  870. package/serialization/types/WorkspaceAuditLogResponse.js +36 -0
  871. package/serialization/types/WorkspaceInvitation.d.ts +19 -0
  872. package/serialization/types/WorkspaceInvitation.js +40 -0
  873. package/serialization/types/WorkspaceInvitationAuditLogItem.d.ts +15 -0
  874. package/serialization/types/WorkspaceInvitationAuditLogItem.js +36 -0
  875. package/serialization/types/WorkspaceInvitationAuditLogItemEventSubType.d.ts +10 -0
  876. package/serialization/types/WorkspaceInvitationAuditLogItemEventSubType.js +37 -0
  877. package/serialization/types/WorkspaceMembership.d.ts +19 -0
  878. package/serialization/types/WorkspaceMembership.js +40 -0
  879. package/serialization/types/WorkspaceMembershipAuditLogItem.d.ts +15 -0
  880. package/serialization/types/WorkspaceMembershipAuditLogItem.js +36 -0
  881. package/serialization/types/WorkspaceMembershipAuditLogItemEventSubType.d.ts +10 -0
  882. package/serialization/types/WorkspaceMembershipAuditLogItemEventSubType.js +31 -0
  883. package/serialization/types/index.d.ts +51 -1
  884. package/serialization/types/index.js +51 -1
  885. package/version.d.ts +1 -1
  886. package/version.js +1 -1
  887. package/wrapper/AssetsClient.d.ts +12 -0
  888. package/wrapper/AssetsClient.js +16 -0
  889. package/wrapper/AssetsUtilitiesClient.d.ts +49 -0
  890. package/wrapper/AssetsUtilitiesClient.js +121 -0
  891. package/wrapper/WebflowClient.d.ts +3 -0
  892. package/wrapper/WebflowClient.js +5 -0
@@ -83,9 +83,9 @@ class AccessGroups {
83
83
  _queryParams["sort"] = sort;
84
84
  }
85
85
  const _response = yield core.fetcher({
86
- url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.WebflowEnvironment.Default, `sites/${encodeURIComponent(siteId)}/accessgroups`),
86
+ url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.WebflowEnvironment.DataApi).base, `sites/${encodeURIComponent(siteId)}/accessgroups`),
87
87
  method: "GET",
88
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "webflow-api", "X-Fern-SDK-Version": "3.1.1", "User-Agent": "webflow-api/3.1.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
88
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "webflow-api", "X-Fern-SDK-Version": "3.1.3", "User-Agent": "webflow-api/3.1.3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
89
89
  contentType: "application/json",
90
90
  queryParameters: _queryParams,
91
91
  requestType: "json",
@@ -6,7 +6,7 @@ import * as core from "../../../../core";
6
6
  import * as Webflow from "../../../index";
7
7
  export declare namespace Assets {
8
8
  interface Options {
9
- environment?: core.Supplier<environments.WebflowEnvironment | string>;
9
+ environment?: core.Supplier<environments.WebflowEnvironment | environments.WebflowEnvironmentUrls>;
10
10
  accessToken: core.Supplier<core.BearerToken>;
11
11
  }
12
12
  interface RequestOptions {
@@ -73,9 +73,9 @@ class Assets {
73
73
  var _a;
74
74
  return __awaiter(this, void 0, void 0, function* () {
75
75
  const _response = yield core.fetcher({
76
- url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.WebflowEnvironment.Default, `sites/${encodeURIComponent(siteId)}/assets`),
76
+ url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.WebflowEnvironment.DataApi).base, `sites/${encodeURIComponent(siteId)}/assets`),
77
77
  method: "GET",
78
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "webflow-api", "X-Fern-SDK-Version": "3.1.1", "User-Agent": "webflow-api/3.1.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
78
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "webflow-api", "X-Fern-SDK-Version": "3.1.3", "User-Agent": "webflow-api/3.1.3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
79
79
  contentType: "application/json",
80
80
  requestType: "json",
81
81
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -183,9 +183,9 @@ class Assets {
183
183
  var _a;
184
184
  return __awaiter(this, void 0, void 0, function* () {
185
185
  const _response = yield core.fetcher({
186
- url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.WebflowEnvironment.Default, `sites/${encodeURIComponent(siteId)}/assets`),
186
+ url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.WebflowEnvironment.DataApi).base, `sites/${encodeURIComponent(siteId)}/assets`),
187
187
  method: "POST",
188
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "webflow-api", "X-Fern-SDK-Version": "3.1.1", "User-Agent": "webflow-api/3.1.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
188
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "webflow-api", "X-Fern-SDK-Version": "3.1.3", "User-Agent": "webflow-api/3.1.3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
189
189
  contentType: "application/json",
190
190
  requestType: "json",
191
191
  body: serializers.AssetsCreateRequest.jsonOrThrow(request, {
@@ -285,9 +285,9 @@ class Assets {
285
285
  var _a;
286
286
  return __awaiter(this, void 0, void 0, function* () {
287
287
  const _response = yield core.fetcher({
288
- url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.WebflowEnvironment.Default, `assets/${encodeURIComponent(assetId)}`),
288
+ url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.WebflowEnvironment.DataApi).base, `assets/${encodeURIComponent(assetId)}`),
289
289
  method: "GET",
290
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "webflow-api", "X-Fern-SDK-Version": "3.1.1", "User-Agent": "webflow-api/3.1.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
290
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "webflow-api", "X-Fern-SDK-Version": "3.1.3", "User-Agent": "webflow-api/3.1.3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
291
291
  contentType: "application/json",
292
292
  requestType: "json",
293
293
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -382,9 +382,9 @@ class Assets {
382
382
  var _a;
383
383
  return __awaiter(this, void 0, void 0, function* () {
384
384
  const _response = yield core.fetcher({
385
- url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.WebflowEnvironment.Default, `assets/${encodeURIComponent(assetId)}`),
385
+ url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.WebflowEnvironment.DataApi).base, `assets/${encodeURIComponent(assetId)}`),
386
386
  method: "DELETE",
387
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "webflow-api", "X-Fern-SDK-Version": "3.1.1", "User-Agent": "webflow-api/3.1.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
387
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "webflow-api", "X-Fern-SDK-Version": "3.1.3", "User-Agent": "webflow-api/3.1.3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
388
388
  contentType: "application/json",
389
389
  requestType: "json",
390
390
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -474,9 +474,9 @@ class Assets {
474
474
  var _a;
475
475
  return __awaiter(this, void 0, void 0, function* () {
476
476
  const _response = yield core.fetcher({
477
- url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.WebflowEnvironment.Default, `assets/${encodeURIComponent(assetId)}`),
477
+ url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.WebflowEnvironment.DataApi).base, `assets/${encodeURIComponent(assetId)}`),
478
478
  method: "PATCH",
479
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "webflow-api", "X-Fern-SDK-Version": "3.1.1", "User-Agent": "webflow-api/3.1.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
479
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "webflow-api", "X-Fern-SDK-Version": "3.1.3", "User-Agent": "webflow-api/3.1.3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
480
480
  contentType: "application/json",
481
481
  requestType: "json",
482
482
  body: serializers.AssetsUpdateRequest.jsonOrThrow(request, {
@@ -576,9 +576,9 @@ class Assets {
576
576
  var _a;
577
577
  return __awaiter(this, void 0, void 0, function* () {
578
578
  const _response = yield core.fetcher({
579
- url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.WebflowEnvironment.Default, `sites/${encodeURIComponent(siteId)}/asset_folders`),
579
+ url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.WebflowEnvironment.DataApi).base, `sites/${encodeURIComponent(siteId)}/asset_folders`),
580
580
  method: "GET",
581
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "webflow-api", "X-Fern-SDK-Version": "3.1.1", "User-Agent": "webflow-api/3.1.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
581
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "webflow-api", "X-Fern-SDK-Version": "3.1.3", "User-Agent": "webflow-api/3.1.3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
582
582
  contentType: "application/json",
583
583
  requestType: "json",
584
584
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -676,9 +676,9 @@ class Assets {
676
676
  var _a;
677
677
  return __awaiter(this, void 0, void 0, function* () {
678
678
  const _response = yield core.fetcher({
679
- url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.WebflowEnvironment.Default, `sites/${encodeURIComponent(siteId)}/asset_folders`),
679
+ url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.WebflowEnvironment.DataApi).base, `sites/${encodeURIComponent(siteId)}/asset_folders`),
680
680
  method: "POST",
681
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "webflow-api", "X-Fern-SDK-Version": "3.1.1", "User-Agent": "webflow-api/3.1.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
681
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "webflow-api", "X-Fern-SDK-Version": "3.1.3", "User-Agent": "webflow-api/3.1.3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
682
682
  contentType: "application/json",
683
683
  requestType: "json",
684
684
  body: serializers.AssetsCreateFolderRequest.jsonOrThrow(request, {
@@ -778,9 +778,9 @@ class Assets {
778
778
  var _a;
779
779
  return __awaiter(this, void 0, void 0, function* () {
780
780
  const _response = yield core.fetcher({
781
- url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.WebflowEnvironment.Default, `asset_folders/${encodeURIComponent(assetFolderId)}`),
781
+ url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.WebflowEnvironment.DataApi).base, `asset_folders/${encodeURIComponent(assetFolderId)}`),
782
782
  method: "GET",
783
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "webflow-api", "X-Fern-SDK-Version": "3.1.1", "User-Agent": "webflow-api/3.1.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
783
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "webflow-api", "X-Fern-SDK-Version": "3.1.3", "User-Agent": "webflow-api/3.1.3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
784
784
  contentType: "application/json",
785
785
  requestType: "json",
786
786
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -8,7 +8,7 @@ import { Fields } from "../resources/fields/client/Client";
8
8
  import { Items } from "../resources/items/client/Client";
9
9
  export declare namespace Collections {
10
10
  interface Options {
11
- environment?: core.Supplier<environments.WebflowEnvironment | string>;
11
+ environment?: core.Supplier<environments.WebflowEnvironment | environments.WebflowEnvironmentUrls>;
12
12
  accessToken: core.Supplier<core.BearerToken>;
13
13
  }
14
14
  interface RequestOptions {
@@ -75,9 +75,9 @@ class Collections {
75
75
  var _a;
76
76
  return __awaiter(this, void 0, void 0, function* () {
77
77
  const _response = yield core.fetcher({
78
- url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.WebflowEnvironment.Default, `sites/${encodeURIComponent(siteId)}/collections`),
78
+ url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.WebflowEnvironment.DataApi).base, `sites/${encodeURIComponent(siteId)}/collections`),
79
79
  method: "GET",
80
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "webflow-api", "X-Fern-SDK-Version": "3.1.1", "User-Agent": "webflow-api/3.1.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
80
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "webflow-api", "X-Fern-SDK-Version": "3.1.3", "User-Agent": "webflow-api/3.1.3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
81
81
  contentType: "application/json",
82
82
  requestType: "json",
83
83
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -197,9 +197,9 @@ class Collections {
197
197
  var _a;
198
198
  return __awaiter(this, void 0, void 0, function* () {
199
199
  const _response = yield core.fetcher({
200
- url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.WebflowEnvironment.Default, `sites/${encodeURIComponent(siteId)}/collections`),
200
+ url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.WebflowEnvironment.DataApi).base, `sites/${encodeURIComponent(siteId)}/collections`),
201
201
  method: "POST",
202
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "webflow-api", "X-Fern-SDK-Version": "3.1.1", "User-Agent": "webflow-api/3.1.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
202
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "webflow-api", "X-Fern-SDK-Version": "3.1.3", "User-Agent": "webflow-api/3.1.3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
203
203
  contentType: "application/json",
204
204
  requestType: "json",
205
205
  body: serializers.CollectionsCreateRequest.jsonOrThrow(request, {
@@ -301,9 +301,9 @@ class Collections {
301
301
  var _a;
302
302
  return __awaiter(this, void 0, void 0, function* () {
303
303
  const _response = yield core.fetcher({
304
- url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.WebflowEnvironment.Default, `collections/${encodeURIComponent(collectionId)}`),
304
+ url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.WebflowEnvironment.DataApi).base, `collections/${encodeURIComponent(collectionId)}`),
305
305
  method: "GET",
306
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "webflow-api", "X-Fern-SDK-Version": "3.1.1", "User-Agent": "webflow-api/3.1.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
306
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "webflow-api", "X-Fern-SDK-Version": "3.1.3", "User-Agent": "webflow-api/3.1.3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
307
307
  contentType: "application/json",
308
308
  requestType: "json",
309
309
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -398,9 +398,9 @@ class Collections {
398
398
  var _a;
399
399
  return __awaiter(this, void 0, void 0, function* () {
400
400
  const _response = yield core.fetcher({
401
- url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.WebflowEnvironment.Default, `collections/${encodeURIComponent(collectionId)}`),
401
+ url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.WebflowEnvironment.DataApi).base, `collections/${encodeURIComponent(collectionId)}`),
402
402
  method: "DELETE",
403
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "webflow-api", "X-Fern-SDK-Version": "3.1.1", "User-Agent": "webflow-api/3.1.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
403
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "webflow-api", "X-Fern-SDK-Version": "3.1.3", "User-Agent": "webflow-api/3.1.3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
404
404
  contentType: "application/json",
405
405
  requestType: "json",
406
406
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -6,7 +6,7 @@ import * as core from "../../../../../../core";
6
6
  import * as Webflow from "../../../../../index";
7
7
  export declare namespace Fields {
8
8
  interface Options {
9
- environment?: core.Supplier<environments.WebflowEnvironment | string>;
9
+ environment?: core.Supplier<environments.WebflowEnvironment | environments.WebflowEnvironmentUrls>;
10
10
  accessToken: core.Supplier<core.BearerToken>;
11
11
  }
12
12
  interface RequestOptions {
@@ -113,9 +113,9 @@ class Fields {
113
113
  var _a;
114
114
  return __awaiter(this, void 0, void 0, function* () {
115
115
  const _response = yield core.fetcher({
116
- url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.WebflowEnvironment.Default, `collections/${encodeURIComponent(collectionId)}/fields`),
116
+ url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.WebflowEnvironment.DataApi).base, `collections/${encodeURIComponent(collectionId)}/fields`),
117
117
  method: "POST",
118
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "webflow-api", "X-Fern-SDK-Version": "3.1.1", "User-Agent": "webflow-api/3.1.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
118
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "webflow-api", "X-Fern-SDK-Version": "3.1.3", "User-Agent": "webflow-api/3.1.3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
119
119
  contentType: "application/json",
120
120
  requestType: "json",
121
121
  body: serializers.FieldCreate.jsonOrThrow(request, {
@@ -218,9 +218,9 @@ class Fields {
218
218
  var _a;
219
219
  return __awaiter(this, void 0, void 0, function* () {
220
220
  const _response = yield core.fetcher({
221
- url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.WebflowEnvironment.Default, `collections/${encodeURIComponent(collectionId)}/fields/${encodeURIComponent(fieldId)}`),
221
+ url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.WebflowEnvironment.DataApi).base, `collections/${encodeURIComponent(collectionId)}/fields/${encodeURIComponent(fieldId)}`),
222
222
  method: "DELETE",
223
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "webflow-api", "X-Fern-SDK-Version": "3.1.1", "User-Agent": "webflow-api/3.1.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
223
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "webflow-api", "X-Fern-SDK-Version": "3.1.3", "User-Agent": "webflow-api/3.1.3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
224
224
  contentType: "application/json",
225
225
  requestType: "json",
226
226
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -315,9 +315,9 @@ class Fields {
315
315
  var _a;
316
316
  return __awaiter(this, void 0, void 0, function* () {
317
317
  const _response = yield core.fetcher({
318
- url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.WebflowEnvironment.Default, `collections/${encodeURIComponent(collectionId)}/fields/${encodeURIComponent(fieldId)}`),
318
+ url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.WebflowEnvironment.DataApi).base, `collections/${encodeURIComponent(collectionId)}/fields/${encodeURIComponent(fieldId)}`),
319
319
  method: "PATCH",
320
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "webflow-api", "X-Fern-SDK-Version": "3.1.1", "User-Agent": "webflow-api/3.1.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
320
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "webflow-api", "X-Fern-SDK-Version": "3.1.3", "User-Agent": "webflow-api/3.1.3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
321
321
  contentType: "application/json",
322
322
  requestType: "json",
323
323
  body: serializers.collections.FieldUpdate.jsonOrThrow(request, {
@@ -6,7 +6,7 @@ import * as core from "../../../../../../core";
6
6
  import * as Webflow from "../../../../../index";
7
7
  export declare namespace Items {
8
8
  interface Options {
9
- environment?: core.Supplier<environments.WebflowEnvironment | string>;
9
+ environment?: core.Supplier<environments.WebflowEnvironment | environments.WebflowEnvironmentUrls>;
10
10
  accessToken: core.Supplier<core.BearerToken>;
11
11
  }
12
12
  interface RequestOptions {
@@ -109,9 +109,13 @@ export declare class Items {
109
109
  * @throws {@link Webflow.InternalServerError}
110
110
  *
111
111
  * @example
112
- * await client.collections.items.deleteItems("580e63fc8c9a982ac9b8b745")
112
+ * await client.collections.items.deleteItems("580e63fc8c9a982ac9b8b745", {
113
+ * items: [{
114
+ * id: "580e64008c9a982ac9b8b754"
115
+ * }]
116
+ * })
113
117
  */
114
- deleteItems(collectionId: string, request?: Webflow.collections.ItemsDeleteItemsRequest, requestOptions?: Items.RequestOptions): Promise<void>;
118
+ deleteItems(collectionId: string, request: Webflow.collections.ItemsDeleteItemsRequest, requestOptions?: Items.RequestOptions): Promise<void>;
115
119
  /**
116
120
  * Update a single item or multiple items in a Collection.
117
121
  *
@@ -189,6 +193,11 @@ export declare class Items {
189
193
  /**
190
194
  * List all published items in a collection.
191
195
  *
196
+ * <Note title="Serve data with the Content Delivery API">
197
+ * To serve content to your other frontends applications, enterprise sites have access to a dedicated [content delivery API](/data/docs/cms-content-delivery), available at api-cdn.webflow.com.
198
+ *
199
+ * </Note>
200
+ *
192
201
  * Required scope | `CMS:read`
193
202
  *
194
203
  * @param {string} collectionId - Unique identifier for a Collection
@@ -274,9 +283,13 @@ export declare class Items {
274
283
  * @throws {@link Webflow.InternalServerError}
275
284
  *
276
285
  * @example
277
- * await client.collections.items.deleteItemsLive("580e63fc8c9a982ac9b8b745")
286
+ * await client.collections.items.deleteItemsLive("580e63fc8c9a982ac9b8b745", {
287
+ * items: [{
288
+ * id: "580e64008c9a982ac9b8b754"
289
+ * }]
290
+ * })
278
291
  */
279
- deleteItemsLive(collectionId: string, request?: Webflow.collections.ItemsDeleteItemsLiveRequest, requestOptions?: Items.RequestOptions): Promise<void>;
292
+ deleteItemsLive(collectionId: string, request: Webflow.collections.ItemsDeleteItemsLiveRequest, requestOptions?: Items.RequestOptions): Promise<void>;
280
293
  /**
281
294
  * Update a single published item or multiple published items (up to 100) in a Collection
282
295
  *
@@ -466,6 +479,11 @@ export declare class Items {
466
479
  /**
467
480
  * Get details of a selected Collection live Item.
468
481
  *
482
+ * <Note title="Serve data with the Content Delivery API">
483
+ * To serve content to your other frontends applications, enterprise sites have access to a dedicated [content delivery API](/data/docs/cms-content-delivery), available at api-cdn.webflow.com.
484
+ *
485
+ * </Note>
486
+ *
469
487
  * Required scope | `CMS:read`
470
488
  *
471
489
  * @param {string} collectionId - Unique identifier for a Collection
@@ -94,9 +94,9 @@ class Items {
94
94
  _queryParams["sortOrder"] = sortOrder;
95
95
  }
96
96
  const _response = yield core.fetcher({
97
- url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.WebflowEnvironment.Default, `collections/${encodeURIComponent(collectionId)}/items`),
97
+ url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.WebflowEnvironment.DataApi).base, `collections/${encodeURIComponent(collectionId)}/items`),
98
98
  method: "GET",
99
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "webflow-api", "X-Fern-SDK-Version": "3.1.1", "User-Agent": "webflow-api/3.1.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
99
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "webflow-api", "X-Fern-SDK-Version": "3.1.3", "User-Agent": "webflow-api/3.1.3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
100
100
  contentType: "application/json",
101
101
  queryParameters: _queryParams,
102
102
  requestType: "json",
@@ -222,9 +222,9 @@ class Items {
222
222
  var _a;
223
223
  return __awaiter(this, void 0, void 0, function* () {
224
224
  const _response = yield core.fetcher({
225
- url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.WebflowEnvironment.Default, `collections/${encodeURIComponent(collectionId)}/items`),
225
+ url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.WebflowEnvironment.DataApi).base, `collections/${encodeURIComponent(collectionId)}/items`),
226
226
  method: "POST",
227
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "webflow-api", "X-Fern-SDK-Version": "3.1.1", "User-Agent": "webflow-api/3.1.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
227
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "webflow-api", "X-Fern-SDK-Version": "3.1.3", "User-Agent": "webflow-api/3.1.3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
228
228
  contentType: "application/json",
229
229
  requestType: "json",
230
230
  body: serializers.collections.ItemsCreateItemRequest.jsonOrThrow(request, {
@@ -322,15 +322,19 @@ class Items {
322
322
  * @throws {@link Webflow.InternalServerError}
323
323
  *
324
324
  * @example
325
- * await client.collections.items.deleteItems("580e63fc8c9a982ac9b8b745")
325
+ * await client.collections.items.deleteItems("580e63fc8c9a982ac9b8b745", {
326
+ * items: [{
327
+ * id: "580e64008c9a982ac9b8b754"
328
+ * }]
329
+ * })
326
330
  */
327
- deleteItems(collectionId, request = {}, requestOptions) {
331
+ deleteItems(collectionId, request, requestOptions) {
328
332
  var _a;
329
333
  return __awaiter(this, void 0, void 0, function* () {
330
334
  const _response = yield core.fetcher({
331
- url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.WebflowEnvironment.Default, `collections/${encodeURIComponent(collectionId)}/items`),
335
+ url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.WebflowEnvironment.DataApi).base, `collections/${encodeURIComponent(collectionId)}/items`),
332
336
  method: "DELETE",
333
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "webflow-api", "X-Fern-SDK-Version": "3.1.1", "User-Agent": "webflow-api/3.1.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
337
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "webflow-api", "X-Fern-SDK-Version": "3.1.3", "User-Agent": "webflow-api/3.1.3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
334
338
  contentType: "application/json",
335
339
  requestType: "json",
336
340
  body: serializers.collections.ItemsDeleteItemsRequest.jsonOrThrow(request, {
@@ -482,9 +486,9 @@ class Items {
482
486
  var _a;
483
487
  return __awaiter(this, void 0, void 0, function* () {
484
488
  const _response = yield core.fetcher({
485
- url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.WebflowEnvironment.Default, `collections/${encodeURIComponent(collectionId)}/items`),
489
+ url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.WebflowEnvironment.DataApi).base, `collections/${encodeURIComponent(collectionId)}/items`),
486
490
  method: "PATCH",
487
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "webflow-api", "X-Fern-SDK-Version": "3.1.1", "User-Agent": "webflow-api/3.1.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
491
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "webflow-api", "X-Fern-SDK-Version": "3.1.3", "User-Agent": "webflow-api/3.1.3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
488
492
  contentType: "application/json",
489
493
  requestType: "json",
490
494
  body: serializers.collections.ItemsUpdateItemsRequest.jsonOrThrow(request, {
@@ -566,6 +570,11 @@ class Items {
566
570
  /**
567
571
  * List all published items in a collection.
568
572
  *
573
+ * <Note title="Serve data with the Content Delivery API">
574
+ * To serve content to your other frontends applications, enterprise sites have access to a dedicated [content delivery API](/data/docs/cms-content-delivery), available at api-cdn.webflow.com.
575
+ *
576
+ * </Note>
577
+ *
569
578
  * Required scope | `CMS:read`
570
579
  *
571
580
  * @param {string} collectionId - Unique identifier for a Collection
@@ -608,9 +617,10 @@ class Items {
608
617
  _queryParams["sortOrder"] = sortOrder;
609
618
  }
610
619
  const _response = yield core.fetcher({
611
- url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.WebflowEnvironment.Default, `collections/${encodeURIComponent(collectionId)}/items/live`),
620
+ url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.WebflowEnvironment.DataApi)
621
+ .dataApi, `collections/${encodeURIComponent(collectionId)}/items/live`),
612
622
  method: "GET",
613
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "webflow-api", "X-Fern-SDK-Version": "3.1.1", "User-Agent": "webflow-api/3.1.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
623
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "webflow-api", "X-Fern-SDK-Version": "3.1.3", "User-Agent": "webflow-api/3.1.3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
614
624
  contentType: "application/json",
615
625
  queryParameters: _queryParams,
616
626
  requestType: "json",
@@ -737,9 +747,9 @@ class Items {
737
747
  var _a;
738
748
  return __awaiter(this, void 0, void 0, function* () {
739
749
  const _response = yield core.fetcher({
740
- url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.WebflowEnvironment.Default, `collections/${encodeURIComponent(collectionId)}/items/live`),
750
+ url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.WebflowEnvironment.DataApi).base, `collections/${encodeURIComponent(collectionId)}/items/live`),
741
751
  method: "POST",
742
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "webflow-api", "X-Fern-SDK-Version": "3.1.1", "User-Agent": "webflow-api/3.1.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
752
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "webflow-api", "X-Fern-SDK-Version": "3.1.3", "User-Agent": "webflow-api/3.1.3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
743
753
  contentType: "application/json",
744
754
  requestType: "json",
745
755
  body: serializers.collections.ItemsCreateItemLiveRequest.jsonOrThrow(request, {
@@ -838,15 +848,19 @@ class Items {
838
848
  * @throws {@link Webflow.InternalServerError}
839
849
  *
840
850
  * @example
841
- * await client.collections.items.deleteItemsLive("580e63fc8c9a982ac9b8b745")
851
+ * await client.collections.items.deleteItemsLive("580e63fc8c9a982ac9b8b745", {
852
+ * items: [{
853
+ * id: "580e64008c9a982ac9b8b754"
854
+ * }]
855
+ * })
842
856
  */
843
- deleteItemsLive(collectionId, request = {}, requestOptions) {
857
+ deleteItemsLive(collectionId, request, requestOptions) {
844
858
  var _a;
845
859
  return __awaiter(this, void 0, void 0, function* () {
846
860
  const _response = yield core.fetcher({
847
- url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.WebflowEnvironment.Default, `collections/${encodeURIComponent(collectionId)}/items/live`),
861
+ url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.WebflowEnvironment.DataApi).base, `collections/${encodeURIComponent(collectionId)}/items/live`),
848
862
  method: "DELETE",
849
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "webflow-api", "X-Fern-SDK-Version": "3.1.1", "User-Agent": "webflow-api/3.1.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
863
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "webflow-api", "X-Fern-SDK-Version": "3.1.3", "User-Agent": "webflow-api/3.1.3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
850
864
  contentType: "application/json",
851
865
  requestType: "json",
852
866
  body: serializers.collections.ItemsDeleteItemsLiveRequest.jsonOrThrow(request, {
@@ -995,9 +1009,9 @@ class Items {
995
1009
  var _a;
996
1010
  return __awaiter(this, void 0, void 0, function* () {
997
1011
  const _response = yield core.fetcher({
998
- url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.WebflowEnvironment.Default, `collections/${encodeURIComponent(collectionId)}/items/live`),
1012
+ url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.WebflowEnvironment.DataApi).base, `collections/${encodeURIComponent(collectionId)}/items/live`),
999
1013
  method: "PATCH",
1000
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "webflow-api", "X-Fern-SDK-Version": "3.1.1", "User-Agent": "webflow-api/3.1.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
1014
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "webflow-api", "X-Fern-SDK-Version": "3.1.3", "User-Agent": "webflow-api/3.1.3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
1001
1015
  contentType: "application/json",
1002
1016
  requestType: "json",
1003
1017
  body: serializers.collections.ItemsUpdateItemsLiveRequest.jsonOrThrow(request, {
@@ -1127,9 +1141,9 @@ class Items {
1127
1141
  var _a;
1128
1142
  return __awaiter(this, void 0, void 0, function* () {
1129
1143
  const _response = yield core.fetcher({
1130
- url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.WebflowEnvironment.Default, `collections/${encodeURIComponent(collectionId)}/items/bulk`),
1144
+ url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.WebflowEnvironment.DataApi).base, `collections/${encodeURIComponent(collectionId)}/items/bulk`),
1131
1145
  method: "POST",
1132
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "webflow-api", "X-Fern-SDK-Version": "3.1.1", "User-Agent": "webflow-api/3.1.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
1146
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "webflow-api", "X-Fern-SDK-Version": "3.1.3", "User-Agent": "webflow-api/3.1.3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
1133
1147
  contentType: "application/json",
1134
1148
  requestType: "json",
1135
1149
  body: serializers.collections.CreateBulkCollectionItemRequestBody.jsonOrThrow(request, {
@@ -1236,9 +1250,10 @@ class Items {
1236
1250
  _queryParams["cmsLocaleId"] = cmsLocaleId;
1237
1251
  }
1238
1252
  const _response = yield core.fetcher({
1239
- url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.WebflowEnvironment.Default, `collections/${encodeURIComponent(collectionId)}/items/${encodeURIComponent(itemId)}`),
1253
+ url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.WebflowEnvironment.DataApi)
1254
+ .production, `collections/${encodeURIComponent(collectionId)}/items/${encodeURIComponent(itemId)}`),
1240
1255
  method: "GET",
1241
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "webflow-api", "X-Fern-SDK-Version": "3.1.1", "User-Agent": "webflow-api/3.1.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
1256
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "webflow-api", "X-Fern-SDK-Version": "3.1.3", "User-Agent": "webflow-api/3.1.3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
1242
1257
  contentType: "application/json",
1243
1258
  queryParameters: _queryParams,
1244
1259
  requestType: "json",
@@ -1341,9 +1356,9 @@ class Items {
1341
1356
  _queryParams["cmsLocaleId"] = cmsLocaleId;
1342
1357
  }
1343
1358
  const _response = yield core.fetcher({
1344
- url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.WebflowEnvironment.Default, `collections/${encodeURIComponent(collectionId)}/items/${encodeURIComponent(itemId)}`),
1359
+ url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.WebflowEnvironment.DataApi).base, `collections/${encodeURIComponent(collectionId)}/items/${encodeURIComponent(itemId)}`),
1345
1360
  method: "DELETE",
1346
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "webflow-api", "X-Fern-SDK-Version": "3.1.1", "User-Agent": "webflow-api/3.1.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
1361
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "webflow-api", "X-Fern-SDK-Version": "3.1.3", "User-Agent": "webflow-api/3.1.3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
1347
1362
  contentType: "application/json",
1348
1363
  queryParameters: _queryParams,
1349
1364
  requestType: "json",
@@ -1442,9 +1457,9 @@ class Items {
1442
1457
  var _a;
1443
1458
  return __awaiter(this, void 0, void 0, function* () {
1444
1459
  const _response = yield core.fetcher({
1445
- url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.WebflowEnvironment.Default, `collections/${encodeURIComponent(collectionId)}/items/${encodeURIComponent(itemId)}`),
1460
+ url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.WebflowEnvironment.DataApi).base, `collections/${encodeURIComponent(collectionId)}/items/${encodeURIComponent(itemId)}`),
1446
1461
  method: "PATCH",
1447
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "webflow-api", "X-Fern-SDK-Version": "3.1.1", "User-Agent": "webflow-api/3.1.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
1462
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "webflow-api", "X-Fern-SDK-Version": "3.1.3", "User-Agent": "webflow-api/3.1.3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
1448
1463
  contentType: "application/json",
1449
1464
  requestType: "json",
1450
1465
  body: serializers.CollectionItemPatchSingle.jsonOrThrow(request, {
@@ -1526,6 +1541,11 @@ class Items {
1526
1541
  /**
1527
1542
  * Get details of a selected Collection live Item.
1528
1543
  *
1544
+ * <Note title="Serve data with the Content Delivery API">
1545
+ * To serve content to your other frontends applications, enterprise sites have access to a dedicated [content delivery API](/data/docs/cms-content-delivery), available at api-cdn.webflow.com.
1546
+ *
1547
+ * </Note>
1548
+ *
1529
1549
  * Required scope | `CMS:read`
1530
1550
  *
1531
1551
  * @param {string} collectionId - Unique identifier for a Collection
@@ -1551,9 +1571,10 @@ class Items {
1551
1571
  _queryParams["cmsLocaleId"] = cmsLocaleId;
1552
1572
  }
1553
1573
  const _response = yield core.fetcher({
1554
- url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.WebflowEnvironment.Default, `collections/${encodeURIComponent(collectionId)}/items/${encodeURIComponent(itemId)}/live`),
1574
+ url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.WebflowEnvironment.DataApi)
1575
+ .dataApi, `collections/${encodeURIComponent(collectionId)}/items/${encodeURIComponent(itemId)}/live`),
1555
1576
  method: "GET",
1556
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "webflow-api", "X-Fern-SDK-Version": "3.1.1", "User-Agent": "webflow-api/3.1.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
1577
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "webflow-api", "X-Fern-SDK-Version": "3.1.3", "User-Agent": "webflow-api/3.1.3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
1557
1578
  contentType: "application/json",
1558
1579
  queryParameters: _queryParams,
1559
1580
  requestType: "json",
@@ -1658,9 +1679,9 @@ class Items {
1658
1679
  _queryParams["cmsLocaleId"] = cmsLocaleId;
1659
1680
  }
1660
1681
  const _response = yield core.fetcher({
1661
- url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.WebflowEnvironment.Default, `collections/${encodeURIComponent(collectionId)}/items/${encodeURIComponent(itemId)}/live`),
1682
+ url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.WebflowEnvironment.DataApi).base, `collections/${encodeURIComponent(collectionId)}/items/${encodeURIComponent(itemId)}/live`),
1662
1683
  method: "DELETE",
1663
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "webflow-api", "X-Fern-SDK-Version": "3.1.1", "User-Agent": "webflow-api/3.1.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
1684
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "webflow-api", "X-Fern-SDK-Version": "3.1.3", "User-Agent": "webflow-api/3.1.3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
1664
1685
  contentType: "application/json",
1665
1686
  queryParameters: _queryParams,
1666
1687
  requestType: "json",
@@ -1760,9 +1781,9 @@ class Items {
1760
1781
  var _a;
1761
1782
  return __awaiter(this, void 0, void 0, function* () {
1762
1783
  const _response = yield core.fetcher({
1763
- url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.WebflowEnvironment.Default, `collections/${encodeURIComponent(collectionId)}/items/${encodeURIComponent(itemId)}/live`),
1784
+ url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.WebflowEnvironment.DataApi).base, `collections/${encodeURIComponent(collectionId)}/items/${encodeURIComponent(itemId)}/live`),
1764
1785
  method: "PATCH",
1765
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "webflow-api", "X-Fern-SDK-Version": "3.1.1", "User-Agent": "webflow-api/3.1.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
1786
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "webflow-api", "X-Fern-SDK-Version": "3.1.3", "User-Agent": "webflow-api/3.1.3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
1766
1787
  contentType: "application/json",
1767
1788
  requestType: "json",
1768
1789
  body: serializers.CollectionItemPatchSingle.jsonOrThrow(request, {
@@ -1868,9 +1889,9 @@ class Items {
1868
1889
  var _a;
1869
1890
  return __awaiter(this, void 0, void 0, function* () {
1870
1891
  const _response = yield core.fetcher({
1871
- url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.WebflowEnvironment.Default, `collections/${encodeURIComponent(collectionId)}/items/publish`),
1892
+ url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.WebflowEnvironment.DataApi).base, `collections/${encodeURIComponent(collectionId)}/items/publish`),
1872
1893
  method: "POST",
1873
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "webflow-api", "X-Fern-SDK-Version": "3.1.1", "User-Agent": "webflow-api/3.1.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
1894
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "webflow-api", "X-Fern-SDK-Version": "3.1.3", "User-Agent": "webflow-api/3.1.3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
1874
1895
  contentType: "application/json",
1875
1896
  requestType: "json",
1876
1897
  body: serializers.collections.ItemsPublishItemRequest.jsonOrThrow(request, {
@@ -4,8 +4,12 @@
4
4
  import * as Webflow from "../../../../../../index";
5
5
  /**
6
6
  * @example
7
- * {}
7
+ * {
8
+ * items: [{
9
+ * id: "580e64008c9a982ac9b8b754"
10
+ * }]
11
+ * }
8
12
  */
9
13
  export interface ItemsDeleteItemsLiveRequest {
10
- items?: Webflow.collections.ItemsDeleteItemsLiveRequestItemsItem[];
14
+ items: Webflow.collections.ItemsDeleteItemsLiveRequestItemsItem[];
11
15
  }