webflow-api 3.3.0-beta → 3.3.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (563) hide show
  1. package/BaseClient.d.ts +1 -1
  2. package/Client.d.ts +1 -7
  3. package/Client.js +31 -41
  4. package/LICENSE +18 -18
  5. package/README.md +55 -28
  6. package/api/resources/assets/client/Client.d.ts +4 -4
  7. package/api/resources/assets/client/Client.js +7 -8
  8. package/api/resources/assets/client/requests/AssetsListRequest.d.ts +2 -2
  9. package/api/resources/collections/client/Client.d.ts +2 -2
  10. package/api/resources/collections/client/Client.js +3 -6
  11. package/api/resources/collections/resources/fields/client/Client.d.ts +2 -2
  12. package/api/resources/collections/resources/fields/client/Client.js +4 -6
  13. package/api/resources/collections/resources/items/client/Client.d.ts +6 -6
  14. package/api/resources/collections/resources/items/client/Client.js +24 -12
  15. package/api/resources/collections/resources/items/client/requests/ItemsListItemsLiveRequest.d.ts +2 -2
  16. package/api/resources/collections/resources/items/client/requests/ItemsListItemsRequest.d.ts +2 -2
  17. package/api/resources/collections/resources/items/types/CreateBulkCollectionItemRequestBodyFieldData.d.ts +1 -1
  18. package/{dist/api/resources/collections/resources/items/types/CreateBulkCollectionItemRequestBodyFieldDataItem.d.ts → api/resources/collections/resources/items/types/CreateBulkCollectionItemRequestBodyFieldDataOneItem.d.ts} +1 -1
  19. package/api/resources/collections/resources/items/types/index.d.ts +1 -1
  20. package/api/resources/collections/resources/items/types/index.js +1 -1
  21. package/api/resources/components/client/Client.d.ts +8 -8
  22. package/api/resources/components/client/Client.js +10 -12
  23. package/api/resources/components/client/requests/ComponentsGetContentRequest.d.ts +2 -2
  24. package/api/resources/components/client/requests/ComponentsGetPropertiesRequest.d.ts +2 -2
  25. package/api/resources/components/client/requests/ComponentsListRequest.d.ts +2 -2
  26. package/api/resources/ecommerce/client/Client.d.ts +2 -2
  27. package/api/resources/ecommerce/client/Client.js +2 -6
  28. package/api/resources/forms/client/Client.d.ts +6 -6
  29. package/api/resources/forms/client/Client.js +7 -10
  30. package/api/resources/forms/client/requests/FormsListRequest.d.ts +2 -2
  31. package/api/resources/forms/client/requests/FormsListSubmissionsRequest.d.ts +2 -2
  32. package/api/resources/index.d.ts +0 -6
  33. package/api/resources/index.js +1 -7
  34. package/api/resources/inventory/client/Client.d.ts +2 -2
  35. package/api/resources/inventory/client/Client.js +3 -6
  36. package/api/resources/orders/client/Client.d.ts +4 -4
  37. package/api/resources/orders/client/Client.js +8 -8
  38. package/api/resources/orders/client/requests/OrdersListRequest.d.ts +2 -2
  39. package/api/resources/pages/client/Client.d.ts +6 -6
  40. package/api/resources/pages/client/Client.js +8 -10
  41. package/api/resources/pages/client/requests/PagesGetContentRequest.d.ts +2 -2
  42. package/api/resources/pages/client/requests/PagesListRequest.d.ts +2 -2
  43. package/api/resources/pages/resources/scripts/client/Client.d.ts +2 -2
  44. package/api/resources/pages/resources/scripts/client/Client.js +3 -6
  45. package/api/resources/products/client/Client.d.ts +4 -4
  46. package/api/resources/products/client/Client.js +8 -8
  47. package/api/resources/products/client/requests/ProductsListRequest.d.ts +2 -2
  48. package/api/resources/scripts/client/Client.d.ts +2 -2
  49. package/api/resources/scripts/client/Client.js +4 -6
  50. package/api/resources/sites/client/Client.d.ts +2 -2
  51. package/api/resources/sites/client/Client.js +5 -6
  52. package/api/resources/sites/resources/activityLogs/client/Client.d.ts +4 -4
  53. package/api/resources/sites/resources/activityLogs/client/Client.js +4 -8
  54. package/api/resources/sites/resources/activityLogs/client/requests/ActivityLogsListRequest.d.ts +2 -2
  55. package/api/resources/sites/resources/comments/client/Client.d.ts +8 -8
  56. package/api/resources/sites/resources/comments/client/Client.js +14 -12
  57. package/api/resources/sites/resources/comments/client/requests/CommentsGetCommentThreadRequest.d.ts +2 -2
  58. package/api/resources/sites/resources/comments/client/requests/CommentsListCommentRepliesRequest.d.ts +2 -2
  59. package/api/resources/sites/resources/comments/client/requests/CommentsListCommentThreadsRequest.d.ts +2 -2
  60. package/api/resources/sites/resources/forms/client/Client.d.ts +6 -6
  61. package/api/resources/sites/resources/forms/client/Client.js +7 -10
  62. package/api/resources/sites/resources/forms/client/requests/FormsListSubmissionsBySiteRequest.d.ts +2 -2
  63. package/api/resources/sites/resources/forms/client/requests/FormsListSubmissionsRequest.d.ts +2 -2
  64. package/api/resources/sites/resources/plans/client/Client.d.ts +2 -2
  65. package/api/resources/sites/resources/plans/client/Client.js +2 -6
  66. package/api/resources/sites/resources/redirects/client/Client.d.ts +4 -4
  67. package/api/resources/sites/resources/redirects/client/Client.js +6 -8
  68. package/api/resources/sites/resources/robotsTxt/client/Client.d.ts +2 -2
  69. package/api/resources/sites/resources/robotsTxt/client/Client.js +5 -6
  70. package/api/resources/sites/resources/scripts/client/Client.d.ts +4 -4
  71. package/api/resources/sites/resources/scripts/client/Client.js +5 -8
  72. package/api/resources/sites/resources/scripts/client/requests/ScriptsListCustomCodeBlocksRequest.d.ts +2 -2
  73. package/api/resources/sites/resources/wellKnown/client/Client.d.ts +2 -2
  74. package/api/resources/sites/resources/wellKnown/client/Client.js +4 -6
  75. package/api/resources/token/client/Client.d.ts +2 -2
  76. package/api/resources/token/client/Client.js +2 -6
  77. package/api/resources/webhooks/client/Client.d.ts +2 -2
  78. package/api/resources/webhooks/client/Client.js +3 -6
  79. package/api/resources/workspaces/client/Client.d.ts +1 -1
  80. package/api/resources/workspaces/client/Client.js +1 -1
  81. package/api/resources/workspaces/resources/auditLogs/client/Client.d.ts +4 -4
  82. package/api/resources/workspaces/resources/auditLogs/client/Client.js +6 -8
  83. package/api/resources/workspaces/resources/auditLogs/client/requests/AuditLogsGetWorkspaceAuditLogsRequest.d.ts +2 -2
  84. package/api/resources/workspaces/resources/auditLogs/types/AuditLogsGetWorkspaceAuditLogsRequestEventType.d.ts +1 -0
  85. package/api/resources/workspaces/resources/auditLogs/types/AuditLogsGetWorkspaceAuditLogsRequestEventType.js +1 -0
  86. package/api/types/AssetVariant.d.ts +6 -6
  87. package/api/types/ComponentDom.d.ts +1 -1
  88. package/api/types/ForbiddenErrorBody.d.ts +1 -1
  89. package/api/types/ProductFieldData.d.ts +1 -1
  90. package/api/types/SettingChange.d.ts +7 -0
  91. package/api/types/SettingChangeAuditLogItem.d.ts +5 -0
  92. package/api/types/TriggerType.d.ts +0 -3
  93. package/api/types/TriggerType.js +0 -3
  94. package/api/types/WorkspaceAuditLogItem.d.ts +4 -1
  95. package/api/types/WorkspaceAuditLogItemPayloadSettingChangeMethod.d.ts +5 -0
  96. package/api/types/WorkspaceAuditLogItemPayloadSettingChangeMethod.js +8 -0
  97. package/api/types/index.d.ts +3 -13
  98. package/api/types/index.js +3 -13
  99. package/dist/BaseClient.d.ts +1 -1
  100. package/dist/Client.d.ts +1 -7
  101. package/dist/Client.js +31 -41
  102. package/dist/api/resources/assets/client/Client.d.ts +4 -4
  103. package/dist/api/resources/assets/client/Client.js +7 -8
  104. package/dist/api/resources/assets/client/requests/AssetsListRequest.d.ts +2 -2
  105. package/dist/api/resources/collections/client/Client.d.ts +2 -2
  106. package/dist/api/resources/collections/client/Client.js +3 -6
  107. package/dist/api/resources/collections/resources/fields/client/Client.d.ts +2 -2
  108. package/dist/api/resources/collections/resources/fields/client/Client.js +4 -6
  109. package/dist/api/resources/collections/resources/items/client/Client.d.ts +6 -6
  110. package/dist/api/resources/collections/resources/items/client/Client.js +24 -12
  111. package/dist/api/resources/collections/resources/items/client/requests/ItemsListItemsLiveRequest.d.ts +2 -2
  112. package/dist/api/resources/collections/resources/items/client/requests/ItemsListItemsRequest.d.ts +2 -2
  113. package/dist/api/resources/collections/resources/items/types/CreateBulkCollectionItemRequestBodyFieldData.d.ts +1 -1
  114. package/{api/resources/collections/resources/items/types/CreateBulkCollectionItemRequestBodyFieldDataItem.d.ts → dist/api/resources/collections/resources/items/types/CreateBulkCollectionItemRequestBodyFieldDataOneItem.d.ts} +1 -1
  115. package/dist/api/resources/collections/resources/items/types/index.d.ts +1 -1
  116. package/dist/api/resources/collections/resources/items/types/index.js +1 -1
  117. package/dist/api/resources/components/client/Client.d.ts +8 -8
  118. package/dist/api/resources/components/client/Client.js +10 -12
  119. package/dist/api/resources/components/client/requests/ComponentsGetContentRequest.d.ts +2 -2
  120. package/dist/api/resources/components/client/requests/ComponentsGetPropertiesRequest.d.ts +2 -2
  121. package/dist/api/resources/components/client/requests/ComponentsListRequest.d.ts +2 -2
  122. package/dist/api/resources/ecommerce/client/Client.d.ts +2 -2
  123. package/dist/api/resources/ecommerce/client/Client.js +2 -6
  124. package/dist/api/resources/forms/client/Client.d.ts +6 -6
  125. package/dist/api/resources/forms/client/Client.js +7 -10
  126. package/dist/api/resources/forms/client/requests/FormsListRequest.d.ts +2 -2
  127. package/dist/api/resources/forms/client/requests/FormsListSubmissionsRequest.d.ts +2 -2
  128. package/dist/api/resources/index.d.ts +0 -6
  129. package/dist/api/resources/index.js +1 -7
  130. package/dist/api/resources/inventory/client/Client.d.ts +2 -2
  131. package/dist/api/resources/inventory/client/Client.js +3 -6
  132. package/dist/api/resources/orders/client/Client.d.ts +4 -4
  133. package/dist/api/resources/orders/client/Client.js +8 -8
  134. package/dist/api/resources/orders/client/requests/OrdersListRequest.d.ts +2 -2
  135. package/dist/api/resources/pages/client/Client.d.ts +6 -6
  136. package/dist/api/resources/pages/client/Client.js +8 -10
  137. package/dist/api/resources/pages/client/requests/PagesGetContentRequest.d.ts +2 -2
  138. package/dist/api/resources/pages/client/requests/PagesListRequest.d.ts +2 -2
  139. package/dist/api/resources/pages/resources/scripts/client/Client.d.ts +2 -2
  140. package/dist/api/resources/pages/resources/scripts/client/Client.js +3 -6
  141. package/dist/api/resources/products/client/Client.d.ts +4 -4
  142. package/dist/api/resources/products/client/Client.js +8 -8
  143. package/dist/api/resources/products/client/requests/ProductsListRequest.d.ts +2 -2
  144. package/dist/api/resources/scripts/client/Client.d.ts +2 -2
  145. package/dist/api/resources/scripts/client/Client.js +4 -6
  146. package/dist/api/resources/sites/client/Client.d.ts +2 -2
  147. package/dist/api/resources/sites/client/Client.js +5 -6
  148. package/dist/api/resources/sites/resources/activityLogs/client/Client.d.ts +4 -4
  149. package/dist/api/resources/sites/resources/activityLogs/client/Client.js +4 -8
  150. package/dist/api/resources/sites/resources/activityLogs/client/requests/ActivityLogsListRequest.d.ts +2 -2
  151. package/dist/api/resources/sites/resources/comments/client/Client.d.ts +8 -8
  152. package/dist/api/resources/sites/resources/comments/client/Client.js +14 -12
  153. package/dist/api/resources/sites/resources/comments/client/requests/CommentsGetCommentThreadRequest.d.ts +2 -2
  154. package/dist/api/resources/sites/resources/comments/client/requests/CommentsListCommentRepliesRequest.d.ts +2 -2
  155. package/dist/api/resources/sites/resources/comments/client/requests/CommentsListCommentThreadsRequest.d.ts +2 -2
  156. package/dist/api/resources/sites/resources/forms/client/Client.d.ts +6 -6
  157. package/dist/api/resources/sites/resources/forms/client/Client.js +7 -10
  158. package/dist/api/resources/sites/resources/forms/client/requests/FormsListSubmissionsBySiteRequest.d.ts +2 -2
  159. package/dist/api/resources/sites/resources/forms/client/requests/FormsListSubmissionsRequest.d.ts +2 -2
  160. package/dist/api/resources/sites/resources/plans/client/Client.d.ts +2 -2
  161. package/dist/api/resources/sites/resources/plans/client/Client.js +2 -6
  162. package/dist/api/resources/sites/resources/redirects/client/Client.d.ts +4 -4
  163. package/dist/api/resources/sites/resources/redirects/client/Client.js +6 -8
  164. package/dist/api/resources/sites/resources/robotsTxt/client/Client.d.ts +2 -2
  165. package/dist/api/resources/sites/resources/robotsTxt/client/Client.js +5 -6
  166. package/dist/api/resources/sites/resources/scripts/client/Client.d.ts +4 -4
  167. package/dist/api/resources/sites/resources/scripts/client/Client.js +5 -8
  168. package/dist/api/resources/sites/resources/scripts/client/requests/ScriptsListCustomCodeBlocksRequest.d.ts +2 -2
  169. package/dist/api/resources/sites/resources/wellKnown/client/Client.d.ts +2 -2
  170. package/dist/api/resources/sites/resources/wellKnown/client/Client.js +4 -6
  171. package/dist/api/resources/token/client/Client.d.ts +2 -2
  172. package/dist/api/resources/token/client/Client.js +2 -6
  173. package/dist/api/resources/webhooks/client/Client.d.ts +2 -2
  174. package/dist/api/resources/webhooks/client/Client.js +3 -6
  175. package/dist/api/resources/workspaces/client/Client.d.ts +1 -1
  176. package/dist/api/resources/workspaces/client/Client.js +1 -1
  177. package/dist/api/resources/workspaces/resources/auditLogs/client/Client.d.ts +4 -4
  178. package/dist/api/resources/workspaces/resources/auditLogs/client/Client.js +6 -8
  179. package/dist/api/resources/workspaces/resources/auditLogs/client/requests/AuditLogsGetWorkspaceAuditLogsRequest.d.ts +2 -2
  180. package/dist/api/resources/workspaces/resources/auditLogs/types/AuditLogsGetWorkspaceAuditLogsRequestEventType.d.ts +1 -0
  181. package/dist/api/resources/workspaces/resources/auditLogs/types/AuditLogsGetWorkspaceAuditLogsRequestEventType.js +1 -0
  182. package/dist/api/types/AssetVariant.d.ts +6 -6
  183. package/dist/api/types/ComponentDom.d.ts +1 -1
  184. package/dist/api/types/ForbiddenErrorBody.d.ts +1 -1
  185. package/dist/api/types/ProductFieldData.d.ts +1 -1
  186. package/dist/api/types/SettingChange.d.ts +7 -0
  187. package/dist/api/types/SettingChangeAuditLogItem.d.ts +5 -0
  188. package/dist/api/types/TriggerType.d.ts +0 -3
  189. package/dist/api/types/TriggerType.js +0 -3
  190. package/dist/api/types/WorkspaceAuditLogItem.d.ts +4 -1
  191. package/dist/api/types/WorkspaceAuditLogItemPayloadSettingChangeMethod.d.ts +5 -0
  192. package/dist/api/types/WorkspaceAuditLogItemPayloadSettingChangeMethod.js +8 -0
  193. package/dist/api/types/index.d.ts +3 -13
  194. package/dist/api/types/index.js +3 -13
  195. package/dist/serialization/resources/collections/resources/items/types/CreateBulkCollectionItemRequestBodyFieldData.d.ts +2 -2
  196. package/dist/serialization/resources/collections/resources/items/types/CreateBulkCollectionItemRequestBodyFieldData.js +2 -2
  197. package/{serialization/resources/collections/resources/items/types/CreateBulkCollectionItemRequestBodyFieldDataItem.d.ts → dist/serialization/resources/collections/resources/items/types/CreateBulkCollectionItemRequestBodyFieldDataOneItem.d.ts} +2 -2
  198. package/{serialization/resources/collections/resources/items/types/CreateBulkCollectionItemRequestBodyFieldDataItem.js → dist/serialization/resources/collections/resources/items/types/CreateBulkCollectionItemRequestBodyFieldDataOneItem.js} +2 -2
  199. package/dist/serialization/resources/collections/resources/items/types/index.d.ts +1 -1
  200. package/dist/serialization/resources/collections/resources/items/types/index.js +1 -1
  201. package/dist/serialization/resources/index.d.ts +0 -5
  202. package/dist/serialization/resources/index.js +1 -6
  203. package/dist/serialization/resources/workspaces/resources/auditLogs/types/AuditLogsGetWorkspaceAuditLogsRequestEventType.d.ts +1 -1
  204. package/dist/serialization/resources/workspaces/resources/auditLogs/types/AuditLogsGetWorkspaceAuditLogsRequestEventType.js +1 -0
  205. package/dist/serialization/types/AssetVariant.d.ts +6 -6
  206. package/dist/serialization/types/AssetVariant.js +6 -6
  207. package/dist/serialization/types/ForbiddenErrorBody.d.ts +2 -2
  208. package/dist/serialization/types/ForbiddenErrorBody.js +2 -2
  209. package/dist/serialization/types/SettingChange.d.ts +13 -0
  210. package/dist/serialization/types/{AccessGroup.js → SettingChange.js} +7 -7
  211. package/dist/serialization/types/SettingChangeAuditLogItem.d.ts +11 -0
  212. package/dist/serialization/types/{UserAccessGroupsItem.js → SettingChangeAuditLogItem.js} +5 -5
  213. package/dist/serialization/types/TriggerType.d.ts +1 -1
  214. package/dist/serialization/types/TriggerType.js +0 -3
  215. package/dist/serialization/types/WorkspaceAuditLogItem.d.ts +5 -1
  216. package/dist/serialization/types/WorkspaceAuditLogItem.js +2 -0
  217. package/dist/serialization/types/WorkspaceAuditLogItemPayloadSettingChangeMethod.d.ts +7 -0
  218. package/dist/serialization/types/{UserStatus.js → WorkspaceAuditLogItemPayloadSettingChangeMethod.js} +2 -2
  219. package/dist/serialization/types/index.d.ts +3 -13
  220. package/dist/serialization/types/index.js +3 -13
  221. package/dist/version.d.ts +1 -1
  222. package/dist/version.js +1 -1
  223. package/dist/wrapper/AssetsUtilitiesClient.d.ts +1 -1
  224. package/dist/wrapper/FormsClient.js +5 -5
  225. package/dist/wrapper/ItemsClient.js +20 -20
  226. package/dist/wrapper/PagesClient.js +5 -5
  227. package/dist/wrapper/WebflowClient.js +1 -1
  228. package/jest.config.mjs +1 -1
  229. package/package.json +2 -1
  230. package/reference.md +68 -544
  231. package/serialization/resources/collections/resources/items/types/CreateBulkCollectionItemRequestBodyFieldData.d.ts +2 -2
  232. package/serialization/resources/collections/resources/items/types/CreateBulkCollectionItemRequestBodyFieldData.js +2 -2
  233. package/{dist/serialization/resources/collections/resources/items/types/CreateBulkCollectionItemRequestBodyFieldDataItem.d.ts → serialization/resources/collections/resources/items/types/CreateBulkCollectionItemRequestBodyFieldDataOneItem.d.ts} +2 -2
  234. package/{dist/serialization/resources/collections/resources/items/types/CreateBulkCollectionItemRequestBodyFieldDataItem.js → serialization/resources/collections/resources/items/types/CreateBulkCollectionItemRequestBodyFieldDataOneItem.js} +2 -2
  235. package/serialization/resources/collections/resources/items/types/index.d.ts +1 -1
  236. package/serialization/resources/collections/resources/items/types/index.js +1 -1
  237. package/serialization/resources/index.d.ts +0 -5
  238. package/serialization/resources/index.js +1 -6
  239. package/serialization/resources/workspaces/resources/auditLogs/types/AuditLogsGetWorkspaceAuditLogsRequestEventType.d.ts +1 -1
  240. package/serialization/resources/workspaces/resources/auditLogs/types/AuditLogsGetWorkspaceAuditLogsRequestEventType.js +1 -0
  241. package/serialization/types/AssetVariant.d.ts +6 -6
  242. package/serialization/types/AssetVariant.js +6 -6
  243. package/serialization/types/ForbiddenErrorBody.d.ts +2 -2
  244. package/serialization/types/ForbiddenErrorBody.js +2 -2
  245. package/serialization/types/SettingChange.d.ts +13 -0
  246. package/{dist/serialization/types/AccessGroupList.js → serialization/types/SettingChange.js} +7 -8
  247. package/serialization/types/SettingChangeAuditLogItem.d.ts +11 -0
  248. package/serialization/types/{UserAccessGroupsItem.js → SettingChangeAuditLogItem.js} +5 -5
  249. package/serialization/types/TriggerType.d.ts +1 -1
  250. package/serialization/types/TriggerType.js +0 -3
  251. package/serialization/types/WorkspaceAuditLogItem.d.ts +5 -1
  252. package/serialization/types/WorkspaceAuditLogItem.js +2 -0
  253. package/serialization/types/WorkspaceAuditLogItemPayloadSettingChangeMethod.d.ts +7 -0
  254. package/{dist/serialization/types/UserLimitReached.js → serialization/types/WorkspaceAuditLogItemPayloadSettingChangeMethod.js} +2 -2
  255. package/serialization/types/index.d.ts +3 -13
  256. package/serialization/types/index.js +3 -13
  257. package/version.d.ts +1 -1
  258. package/version.js +1 -1
  259. package/wrapper/AssetsUtilitiesClient.d.ts +1 -1
  260. package/wrapper/FormsClient.js +5 -5
  261. package/wrapper/ItemsClient.js +20 -20
  262. package/wrapper/PagesClient.js +5 -5
  263. package/wrapper/WebflowClient.js +1 -1
  264. package/.mock/definition/__package__.yml +0 -4471
  265. package/.mock/definition/accessGroups.yml +0 -87
  266. package/.mock/definition/api.yml +0 -18
  267. package/.mock/definition/assets.yml +0 -487
  268. package/.mock/definition/collections/fields.yml +0 -212
  269. package/.mock/definition/collections/items.yml +0 -2145
  270. package/.mock/definition/collections.yml +0 -350
  271. package/.mock/definition/comments.yml +0 -41
  272. package/.mock/definition/components.yml +0 -548
  273. package/.mock/definition/ecommerce.yml +0 -45
  274. package/.mock/definition/forms.yml +0 -399
  275. package/.mock/definition/inventory.yml +0 -152
  276. package/.mock/definition/items.yml +0 -112
  277. package/.mock/definition/orders.yml +0 -1971
  278. package/.mock/definition/pages/scripts.yml +0 -155
  279. package/.mock/definition/pages.yml +0 -611
  280. package/.mock/definition/products.yml +0 -642
  281. package/.mock/definition/scripts.yml +0 -236
  282. package/.mock/definition/sites/activityLogs.yml +0 -77
  283. package/.mock/definition/sites/comments.yml +0 -352
  284. package/.mock/definition/sites/forms.yml +0 -316
  285. package/.mock/definition/sites/plans.yml +0 -48
  286. package/.mock/definition/sites/redirects.yml +0 -221
  287. package/.mock/definition/sites/robotsTxt.yml +0 -229
  288. package/.mock/definition/sites/scripts.yml +0 -243
  289. package/.mock/definition/sites/wellKnown.yml +0 -130
  290. package/.mock/definition/sites.yml +0 -558
  291. package/.mock/definition/token.yml +0 -75
  292. package/.mock/definition/users.yml +0 -594
  293. package/.mock/definition/webhooks.yml +0 -188
  294. package/.mock/definition/workspaces/auditLogs.yml +0 -125
  295. package/.mock/fern.config.json +0 -4
  296. package/api/resources/accessGroups/client/Client.d.ts +0 -39
  297. package/api/resources/accessGroups/client/Client.js +0 -197
  298. package/api/resources/accessGroups/client/index.d.ts +0 -1
  299. package/api/resources/accessGroups/client/index.js +0 -17
  300. package/api/resources/accessGroups/client/requests/AccessGroupsListRequest.d.ts +0 -20
  301. package/api/resources/accessGroups/client/requests/index.d.ts +0 -1
  302. package/api/resources/accessGroups/client/requests/index.js +0 -2
  303. package/api/resources/accessGroups/index.d.ts +0 -2
  304. package/api/resources/accessGroups/index.js +0 -18
  305. package/api/resources/accessGroups/types/AccessGroupsListRequestSort.d.ts +0 -9
  306. package/api/resources/accessGroups/types/AccessGroupsListRequestSort.js +0 -12
  307. package/api/resources/accessGroups/types/index.d.ts +0 -1
  308. package/api/resources/accessGroups/types/index.js +0 -17
  309. package/api/resources/users/client/Client.d.ts +0 -145
  310. package/api/resources/users/client/Client.js +0 -670
  311. package/api/resources/users/client/index.d.ts +0 -1
  312. package/api/resources/users/client/index.js +0 -17
  313. package/api/resources/users/client/requests/UsersInviteRequest.d.ts +0 -13
  314. package/api/resources/users/client/requests/UsersListRequest.d.ts +0 -23
  315. package/api/resources/users/client/requests/index.d.ts +0 -2
  316. package/api/resources/users/client/requests/index.js +0 -2
  317. package/api/resources/users/index.d.ts +0 -2
  318. package/api/resources/users/index.js +0 -18
  319. package/api/resources/users/types/UserAccountAddedPayload.d.ts +0 -5
  320. package/api/resources/users/types/UserAccountAddedPayloadPayload.d.ts +0 -20
  321. package/api/resources/users/types/UserAccountAddedPayloadPayloadData.d.ts +0 -9
  322. package/api/resources/users/types/UserAccountAddedPayloadPayloadData.js +0 -3
  323. package/api/resources/users/types/UserAccountDeletedPayload.d.ts +0 -5
  324. package/api/resources/users/types/UserAccountDeletedPayload.js +0 -3
  325. package/api/resources/users/types/UserAccountDeletedPayloadPayload.d.ts +0 -20
  326. package/api/resources/users/types/UserAccountDeletedPayloadPayload.js +0 -3
  327. package/api/resources/users/types/UserAccountDeletedPayloadPayloadData.d.ts +0 -9
  328. package/api/resources/users/types/UserAccountDeletedPayloadPayloadData.js +0 -3
  329. package/api/resources/users/types/UserAccountUpdatedPayload.d.ts +0 -5
  330. package/api/resources/users/types/UserAccountUpdatedPayload.js +0 -3
  331. package/api/resources/users/types/UserAccountUpdatedPayloadPayload.d.ts +0 -20
  332. package/api/resources/users/types/UserAccountUpdatedPayloadPayload.js +0 -3
  333. package/api/resources/users/types/UserAccountUpdatedPayloadPayloadData.d.ts +0 -9
  334. package/api/resources/users/types/UserAccountUpdatedPayloadPayloadData.js +0 -3
  335. package/api/resources/users/types/UsersListRequestSort.d.ts +0 -33
  336. package/api/resources/users/types/UsersListRequestSort.js +0 -36
  337. package/api/resources/users/types/index.d.ts +0 -10
  338. package/api/resources/users/types/index.js +0 -26
  339. package/api/types/AccessGroup.d.ts +0 -12
  340. package/api/types/AccessGroup.js +0 -3
  341. package/api/types/AccessGroupList.d.ts +0 -16
  342. package/api/types/AccessGroupList.js +0 -3
  343. package/api/types/ConflictErrorBody.d.ts +0 -2
  344. package/api/types/ConflictErrorBody.js +0 -3
  345. package/api/types/DuplicateUserEmail.d.ts +0 -1
  346. package/api/types/DuplicateUserEmail.js +0 -3
  347. package/api/types/User.d.ts +0 -22
  348. package/api/types/User.js +0 -3
  349. package/api/types/UserAccessGroupsItem.d.ts +0 -14
  350. package/api/types/UserAccessGroupsItem.js +0 -3
  351. package/api/types/UserAccessGroupsItemType.d.ts +0 -10
  352. package/api/types/UserAccessGroupsItemType.js +0 -13
  353. package/api/types/UserData.d.ts +0 -7
  354. package/api/types/UserData.js +0 -3
  355. package/api/types/UserDataData.d.ts +0 -12
  356. package/api/types/UserDataData.js +0 -3
  357. package/api/types/UserLimitReached.d.ts +0 -1
  358. package/api/types/UserLimitReached.js +0 -3
  359. package/api/types/UserList.d.ts +0 -16
  360. package/api/types/UserList.js +0 -3
  361. package/api/types/UserStatus.d.ts +0 -7
  362. package/api/types/UserStatus.js +0 -10
  363. package/api/types/UsersNotEnabled.d.ts +0 -1
  364. package/api/types/UsersNotEnabled.js +0 -3
  365. package/dist/api/resources/accessGroups/client/Client.d.ts +0 -39
  366. package/dist/api/resources/accessGroups/client/Client.js +0 -197
  367. package/dist/api/resources/accessGroups/client/index.d.ts +0 -1
  368. package/dist/api/resources/accessGroups/client/index.js +0 -17
  369. package/dist/api/resources/accessGroups/client/requests/AccessGroupsListRequest.d.ts +0 -20
  370. package/dist/api/resources/accessGroups/client/requests/AccessGroupsListRequest.js +0 -3
  371. package/dist/api/resources/accessGroups/client/requests/index.d.ts +0 -1
  372. package/dist/api/resources/accessGroups/client/requests/index.js +0 -2
  373. package/dist/api/resources/accessGroups/index.d.ts +0 -2
  374. package/dist/api/resources/accessGroups/index.js +0 -18
  375. package/dist/api/resources/accessGroups/types/AccessGroupsListRequestSort.d.ts +0 -9
  376. package/dist/api/resources/accessGroups/types/AccessGroupsListRequestSort.js +0 -12
  377. package/dist/api/resources/accessGroups/types/index.d.ts +0 -1
  378. package/dist/api/resources/accessGroups/types/index.js +0 -17
  379. package/dist/api/resources/collections/resources/items/types/CreateBulkCollectionItemRequestBodyFieldDataItem.js +0 -3
  380. package/dist/api/resources/users/client/Client.d.ts +0 -145
  381. package/dist/api/resources/users/client/Client.js +0 -670
  382. package/dist/api/resources/users/client/index.d.ts +0 -1
  383. package/dist/api/resources/users/client/index.js +0 -17
  384. package/dist/api/resources/users/client/requests/UsersInviteRequest.d.ts +0 -13
  385. package/dist/api/resources/users/client/requests/UsersInviteRequest.js +0 -3
  386. package/dist/api/resources/users/client/requests/UsersListRequest.d.ts +0 -23
  387. package/dist/api/resources/users/client/requests/UsersListRequest.js +0 -3
  388. package/dist/api/resources/users/client/requests/index.d.ts +0 -2
  389. package/dist/api/resources/users/client/requests/index.js +0 -2
  390. package/dist/api/resources/users/index.d.ts +0 -2
  391. package/dist/api/resources/users/index.js +0 -18
  392. package/dist/api/resources/users/types/UserAccountAddedPayload.d.ts +0 -5
  393. package/dist/api/resources/users/types/UserAccountAddedPayload.js +0 -3
  394. package/dist/api/resources/users/types/UserAccountAddedPayloadPayload.d.ts +0 -20
  395. package/dist/api/resources/users/types/UserAccountAddedPayloadPayload.js +0 -3
  396. package/dist/api/resources/users/types/UserAccountAddedPayloadPayloadData.d.ts +0 -9
  397. package/dist/api/resources/users/types/UserAccountAddedPayloadPayloadData.js +0 -3
  398. package/dist/api/resources/users/types/UserAccountDeletedPayload.d.ts +0 -5
  399. package/dist/api/resources/users/types/UserAccountDeletedPayload.js +0 -3
  400. package/dist/api/resources/users/types/UserAccountDeletedPayloadPayload.d.ts +0 -20
  401. package/dist/api/resources/users/types/UserAccountDeletedPayloadPayload.js +0 -3
  402. package/dist/api/resources/users/types/UserAccountDeletedPayloadPayloadData.d.ts +0 -9
  403. package/dist/api/resources/users/types/UserAccountDeletedPayloadPayloadData.js +0 -3
  404. package/dist/api/resources/users/types/UserAccountUpdatedPayload.d.ts +0 -5
  405. package/dist/api/resources/users/types/UserAccountUpdatedPayload.js +0 -3
  406. package/dist/api/resources/users/types/UserAccountUpdatedPayloadPayload.d.ts +0 -20
  407. package/dist/api/resources/users/types/UserAccountUpdatedPayloadPayload.js +0 -3
  408. package/dist/api/resources/users/types/UserAccountUpdatedPayloadPayloadData.d.ts +0 -9
  409. package/dist/api/resources/users/types/UserAccountUpdatedPayloadPayloadData.js +0 -3
  410. package/dist/api/resources/users/types/UsersListRequestSort.d.ts +0 -33
  411. package/dist/api/resources/users/types/UsersListRequestSort.js +0 -36
  412. package/dist/api/resources/users/types/index.d.ts +0 -10
  413. package/dist/api/resources/users/types/index.js +0 -26
  414. package/dist/api/types/AccessGroup.d.ts +0 -12
  415. package/dist/api/types/AccessGroup.js +0 -3
  416. package/dist/api/types/AccessGroupList.d.ts +0 -16
  417. package/dist/api/types/AccessGroupList.js +0 -3
  418. package/dist/api/types/ConflictErrorBody.d.ts +0 -2
  419. package/dist/api/types/ConflictErrorBody.js +0 -3
  420. package/dist/api/types/DuplicateUserEmail.d.ts +0 -1
  421. package/dist/api/types/DuplicateUserEmail.js +0 -3
  422. package/dist/api/types/User.d.ts +0 -22
  423. package/dist/api/types/User.js +0 -3
  424. package/dist/api/types/UserAccessGroupsItem.d.ts +0 -14
  425. package/dist/api/types/UserAccessGroupsItem.js +0 -3
  426. package/dist/api/types/UserAccessGroupsItemType.d.ts +0 -10
  427. package/dist/api/types/UserAccessGroupsItemType.js +0 -13
  428. package/dist/api/types/UserData.d.ts +0 -7
  429. package/dist/api/types/UserData.js +0 -3
  430. package/dist/api/types/UserDataData.d.ts +0 -12
  431. package/dist/api/types/UserDataData.js +0 -3
  432. package/dist/api/types/UserLimitReached.d.ts +0 -1
  433. package/dist/api/types/UserLimitReached.js +0 -3
  434. package/dist/api/types/UserList.d.ts +0 -16
  435. package/dist/api/types/UserList.js +0 -3
  436. package/dist/api/types/UserStatus.d.ts +0 -7
  437. package/dist/api/types/UserStatus.js +0 -10
  438. package/dist/api/types/UsersNotEnabled.d.ts +0 -1
  439. package/dist/api/types/UsersNotEnabled.js +0 -3
  440. package/dist/serialization/resources/accessGroups/index.d.ts +0 -1
  441. package/dist/serialization/resources/accessGroups/index.js +0 -17
  442. package/dist/serialization/resources/accessGroups/types/AccessGroupsListRequestSort.d.ts +0 -7
  443. package/dist/serialization/resources/accessGroups/types/AccessGroupsListRequestSort.js +0 -39
  444. package/dist/serialization/resources/accessGroups/types/index.d.ts +0 -1
  445. package/dist/serialization/resources/accessGroups/types/index.js +0 -17
  446. package/dist/serialization/resources/users/client/index.d.ts +0 -1
  447. package/dist/serialization/resources/users/client/index.js +0 -17
  448. package/dist/serialization/resources/users/client/requests/UsersInviteRequest.d.ts +0 -10
  449. package/dist/serialization/resources/users/client/requests/UsersInviteRequest.js +0 -42
  450. package/dist/serialization/resources/users/client/requests/index.d.ts +0 -1
  451. package/dist/serialization/resources/users/client/requests/index.js +0 -5
  452. package/dist/serialization/resources/users/index.d.ts +0 -2
  453. package/dist/serialization/resources/users/index.js +0 -18
  454. package/dist/serialization/resources/users/types/UserAccountAddedPayload.d.ts +0 -11
  455. package/dist/serialization/resources/users/types/UserAccountAddedPayload.js +0 -43
  456. package/dist/serialization/resources/users/types/UserAccountAddedPayloadPayload.d.ts +0 -20
  457. package/dist/serialization/resources/users/types/UserAccountAddedPayloadPayload.js +0 -52
  458. package/dist/serialization/resources/users/types/UserAccountAddedPayloadPayloadData.d.ts +0 -12
  459. package/dist/serialization/resources/users/types/UserAccountAddedPayloadPayloadData.js +0 -44
  460. package/dist/serialization/resources/users/types/UserAccountDeletedPayload.d.ts +0 -11
  461. package/dist/serialization/resources/users/types/UserAccountDeletedPayload.js +0 -43
  462. package/dist/serialization/resources/users/types/UserAccountDeletedPayloadPayload.d.ts +0 -20
  463. package/dist/serialization/resources/users/types/UserAccountDeletedPayloadPayload.js +0 -52
  464. package/dist/serialization/resources/users/types/UserAccountDeletedPayloadPayloadData.d.ts +0 -12
  465. package/dist/serialization/resources/users/types/UserAccountDeletedPayloadPayloadData.js +0 -44
  466. package/dist/serialization/resources/users/types/UserAccountUpdatedPayload.d.ts +0 -11
  467. package/dist/serialization/resources/users/types/UserAccountUpdatedPayload.js +0 -43
  468. package/dist/serialization/resources/users/types/UserAccountUpdatedPayloadPayload.d.ts +0 -20
  469. package/dist/serialization/resources/users/types/UserAccountUpdatedPayloadPayload.js +0 -52
  470. package/dist/serialization/resources/users/types/UserAccountUpdatedPayloadPayloadData.d.ts +0 -12
  471. package/dist/serialization/resources/users/types/UserAccountUpdatedPayloadPayloadData.js +0 -44
  472. package/dist/serialization/resources/users/types/UsersListRequestSort.d.ts +0 -7
  473. package/dist/serialization/resources/users/types/UsersListRequestSort.js +0 -50
  474. package/dist/serialization/resources/users/types/index.d.ts +0 -10
  475. package/dist/serialization/resources/users/types/index.js +0 -26
  476. package/dist/serialization/types/AccessGroup.d.ts +0 -13
  477. package/dist/serialization/types/AccessGroupList.d.ts +0 -14
  478. package/dist/serialization/types/ConflictErrorBody.d.ts +0 -9
  479. package/dist/serialization/types/ConflictErrorBody.js +0 -41
  480. package/dist/serialization/types/DuplicateUserEmail.d.ts +0 -7
  481. package/dist/serialization/types/DuplicateUserEmail.js +0 -39
  482. package/dist/serialization/types/User.d.ts +0 -20
  483. package/dist/serialization/types/User.js +0 -52
  484. package/dist/serialization/types/UserAccessGroupsItem.d.ts +0 -11
  485. package/dist/serialization/types/UserAccessGroupsItemType.d.ts +0 -7
  486. package/dist/serialization/types/UserAccessGroupsItemType.js +0 -39
  487. package/dist/serialization/types/UserData.d.ts +0 -10
  488. package/dist/serialization/types/UserData.js +0 -42
  489. package/dist/serialization/types/UserDataData.d.ts +0 -13
  490. package/dist/serialization/types/UserDataData.js +0 -45
  491. package/dist/serialization/types/UserLimitReached.d.ts +0 -7
  492. package/dist/serialization/types/UserList.d.ts +0 -14
  493. package/dist/serialization/types/UserList.js +0 -46
  494. package/dist/serialization/types/UserStatus.d.ts +0 -7
  495. package/dist/serialization/types/UsersNotEnabled.d.ts +0 -7
  496. package/dist/serialization/types/UsersNotEnabled.js +0 -39
  497. package/serialization/resources/accessGroups/index.d.ts +0 -1
  498. package/serialization/resources/accessGroups/index.js +0 -17
  499. package/serialization/resources/accessGroups/types/AccessGroupsListRequestSort.d.ts +0 -7
  500. package/serialization/resources/accessGroups/types/AccessGroupsListRequestSort.js +0 -39
  501. package/serialization/resources/accessGroups/types/index.d.ts +0 -1
  502. package/serialization/resources/accessGroups/types/index.js +0 -17
  503. package/serialization/resources/users/client/index.d.ts +0 -1
  504. package/serialization/resources/users/client/index.js +0 -17
  505. package/serialization/resources/users/client/requests/UsersInviteRequest.d.ts +0 -10
  506. package/serialization/resources/users/client/requests/UsersInviteRequest.js +0 -42
  507. package/serialization/resources/users/client/requests/index.d.ts +0 -1
  508. package/serialization/resources/users/client/requests/index.js +0 -5
  509. package/serialization/resources/users/index.d.ts +0 -2
  510. package/serialization/resources/users/index.js +0 -18
  511. package/serialization/resources/users/types/UserAccountAddedPayload.d.ts +0 -11
  512. package/serialization/resources/users/types/UserAccountAddedPayload.js +0 -43
  513. package/serialization/resources/users/types/UserAccountAddedPayloadPayload.d.ts +0 -20
  514. package/serialization/resources/users/types/UserAccountAddedPayloadPayload.js +0 -52
  515. package/serialization/resources/users/types/UserAccountAddedPayloadPayloadData.d.ts +0 -12
  516. package/serialization/resources/users/types/UserAccountAddedPayloadPayloadData.js +0 -44
  517. package/serialization/resources/users/types/UserAccountDeletedPayload.d.ts +0 -11
  518. package/serialization/resources/users/types/UserAccountDeletedPayload.js +0 -43
  519. package/serialization/resources/users/types/UserAccountDeletedPayloadPayload.d.ts +0 -20
  520. package/serialization/resources/users/types/UserAccountDeletedPayloadPayload.js +0 -52
  521. package/serialization/resources/users/types/UserAccountDeletedPayloadPayloadData.d.ts +0 -12
  522. package/serialization/resources/users/types/UserAccountDeletedPayloadPayloadData.js +0 -44
  523. package/serialization/resources/users/types/UserAccountUpdatedPayload.d.ts +0 -11
  524. package/serialization/resources/users/types/UserAccountUpdatedPayload.js +0 -43
  525. package/serialization/resources/users/types/UserAccountUpdatedPayloadPayload.d.ts +0 -20
  526. package/serialization/resources/users/types/UserAccountUpdatedPayloadPayload.js +0 -52
  527. package/serialization/resources/users/types/UserAccountUpdatedPayloadPayloadData.d.ts +0 -12
  528. package/serialization/resources/users/types/UserAccountUpdatedPayloadPayloadData.js +0 -44
  529. package/serialization/resources/users/types/UsersListRequestSort.d.ts +0 -7
  530. package/serialization/resources/users/types/UsersListRequestSort.js +0 -50
  531. package/serialization/resources/users/types/index.d.ts +0 -10
  532. package/serialization/resources/users/types/index.js +0 -26
  533. package/serialization/types/AccessGroup.d.ts +0 -13
  534. package/serialization/types/AccessGroup.js +0 -45
  535. package/serialization/types/AccessGroupList.d.ts +0 -14
  536. package/serialization/types/AccessGroupList.js +0 -46
  537. package/serialization/types/ConflictErrorBody.d.ts +0 -9
  538. package/serialization/types/ConflictErrorBody.js +0 -41
  539. package/serialization/types/DuplicateUserEmail.d.ts +0 -7
  540. package/serialization/types/DuplicateUserEmail.js +0 -39
  541. package/serialization/types/User.d.ts +0 -20
  542. package/serialization/types/User.js +0 -52
  543. package/serialization/types/UserAccessGroupsItem.d.ts +0 -11
  544. package/serialization/types/UserAccessGroupsItemType.d.ts +0 -7
  545. package/serialization/types/UserAccessGroupsItemType.js +0 -39
  546. package/serialization/types/UserData.d.ts +0 -10
  547. package/serialization/types/UserData.js +0 -42
  548. package/serialization/types/UserDataData.d.ts +0 -13
  549. package/serialization/types/UserDataData.js +0 -45
  550. package/serialization/types/UserLimitReached.d.ts +0 -7
  551. package/serialization/types/UserLimitReached.js +0 -39
  552. package/serialization/types/UserList.d.ts +0 -14
  553. package/serialization/types/UserList.js +0 -46
  554. package/serialization/types/UserStatus.d.ts +0 -7
  555. package/serialization/types/UserStatus.js +0 -39
  556. package/serialization/types/UsersNotEnabled.d.ts +0 -7
  557. package/serialization/types/UsersNotEnabled.js +0 -39
  558. /package/api/resources/{accessGroups/client/requests/AccessGroupsListRequest.js → collections/resources/items/types/CreateBulkCollectionItemRequestBodyFieldDataOneItem.js} +0 -0
  559. /package/api/{resources/collections/resources/items/types/CreateBulkCollectionItemRequestBodyFieldDataItem.js → types/SettingChange.js} +0 -0
  560. /package/api/{resources/users/client/requests/UsersInviteRequest.js → types/SettingChangeAuditLogItem.js} +0 -0
  561. /package/{api/resources/users/client/requests/UsersListRequest.js → dist/api/resources/collections/resources/items/types/CreateBulkCollectionItemRequestBodyFieldDataOneItem.js} +0 -0
  562. /package/{api/resources/users/types/UserAccountAddedPayload.js → dist/api/types/SettingChange.js} +0 -0
  563. /package/{api/resources/users/types/UserAccountAddedPayloadPayload.js → dist/api/types/SettingChangeAuditLogItem.js} +0 -0
@@ -28,7 +28,7 @@ export declare class Sites {
28
28
  protected _comments: Comments | undefined;
29
29
  protected _scripts: Scripts | undefined;
30
30
  protected _forms: Forms | undefined;
31
- constructor(_options?: Sites.Options);
31
+ constructor(_options: Sites.Options);
32
32
  get redirects(): Redirects;
33
33
  get plans(): Plans;
34
34
  get robotsTxt(): RobotsTxt;
@@ -188,5 +188,5 @@ export declare class Sites {
188
188
  */
189
189
  publish(siteId: string, request?: Webflow.SitesPublishRequest, requestOptions?: Sites.RequestOptions): core.HttpResponsePromise<Webflow.SitesPublishResponse>;
190
190
  private __publish;
191
- protected _getAuthorizationHeader(): Promise<string | undefined>;
191
+ protected _getAuthorizationHeader(): Promise<string>;
192
192
  }
@@ -62,7 +62,7 @@ const Client_8 = require("../resources/wellKnown/client/Client");
62
62
  * Sites are the sites in your Webflow workspace.
63
63
  */
64
64
  class Sites {
65
- constructor(_options = {}) {
65
+ constructor(_options) {
66
66
  this._options = _options;
67
67
  }
68
68
  get redirects() {
@@ -139,6 +139,7 @@ class Sites {
139
139
  unrecognizedObjectKeys: "passthrough",
140
140
  allowUnrecognizedUnionMembers: true,
141
141
  allowUnrecognizedEnumValues: true,
142
+ omitUndefined: true,
142
143
  }),
143
144
  timeoutMs: ((_f = (_d = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _d !== void 0 ? _d : (_e = this._options) === null || _e === void 0 ? void 0 : _e.timeoutInSeconds) !== null && _f !== void 0 ? _f : 60) * 1000,
144
145
  maxRetries: (_g = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _g !== void 0 ? _g : (_h = this._options) === null || _h === void 0 ? void 0 : _h.maxRetries,
@@ -563,6 +564,7 @@ class Sites {
563
564
  unrecognizedObjectKeys: "passthrough",
564
565
  allowUnrecognizedUnionMembers: true,
565
566
  allowUnrecognizedEnumValues: true,
567
+ omitUndefined: true,
566
568
  }),
567
569
  timeoutMs: ((_f = (_d = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _d !== void 0 ? _d : (_e = this._options) === null || _e === void 0 ? void 0 : _e.timeoutInSeconds) !== null && _f !== void 0 ? _f : 60) * 1000,
568
570
  maxRetries: (_g = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _g !== void 0 ? _g : (_h = this._options) === null || _h === void 0 ? void 0 : _h.maxRetries,
@@ -794,6 +796,7 @@ class Sites {
794
796
  unrecognizedObjectKeys: "passthrough",
795
797
  allowUnrecognizedUnionMembers: true,
796
798
  allowUnrecognizedEnumValues: true,
799
+ omitUndefined: true,
797
800
  }),
798
801
  timeoutMs: ((_f = (_d = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _d !== void 0 ? _d : (_e = this._options) === null || _e === void 0 ? void 0 : _e.timeoutInSeconds) !== null && _f !== void 0 ? _f : 60) * 1000,
799
802
  maxRetries: (_g = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _g !== void 0 ? _g : (_h = this._options) === null || _h === void 0 ? void 0 : _h.maxRetries,
@@ -868,11 +871,7 @@ class Sites {
868
871
  }
869
872
  _getAuthorizationHeader() {
870
873
  return __awaiter(this, void 0, void 0, function* () {
871
- const bearer = yield core.Supplier.get(this._options.accessToken);
872
- if (bearer != null) {
873
- return `Bearer ${bearer}`;
874
- }
875
- return undefined;
874
+ return `Bearer ${yield core.Supplier.get(this._options.accessToken)}`;
876
875
  });
877
876
  }
878
877
  }
@@ -9,7 +9,7 @@ export declare namespace ActivityLogs {
9
9
  }
10
10
  export declare class ActivityLogs {
11
11
  protected readonly _options: ActivityLogs.Options;
12
- constructor(_options?: ActivityLogs.Options);
12
+ constructor(_options: ActivityLogs.Options);
13
13
  /**
14
14
  * Retrieve Activity Logs for a specific Site.
15
15
  *
@@ -28,11 +28,11 @@ export declare class ActivityLogs {
28
28
  *
29
29
  * @example
30
30
  * await client.sites.activityLogs.list("580e63e98c9a982ac9b8b741", {
31
- * limit: 1.1,
32
- * offset: 1.1
31
+ * limit: 1,
32
+ * offset: 1
33
33
  * })
34
34
  */
35
35
  list(siteId: string, request?: Webflow.sites.ActivityLogsListRequest, requestOptions?: ActivityLogs.RequestOptions): core.HttpResponsePromise<Webflow.SiteActivityLogResponse>;
36
36
  private __list;
37
- protected _getAuthorizationHeader(): Promise<string | undefined>;
37
+ protected _getAuthorizationHeader(): Promise<string>;
38
38
  }
@@ -51,7 +51,7 @@ const errors = __importStar(require("../../../../../../errors/index"));
51
51
  const serializers = __importStar(require("../../../../../../serialization/index"));
52
52
  const Webflow = __importStar(require("../../../../../index"));
53
53
  class ActivityLogs {
54
- constructor(_options = {}) {
54
+ constructor(_options) {
55
55
  this._options = _options;
56
56
  }
57
57
  /**
@@ -72,8 +72,8 @@ class ActivityLogs {
72
72
  *
73
73
  * @example
74
74
  * await client.sites.activityLogs.list("580e63e98c9a982ac9b8b741", {
75
- * limit: 1.1,
76
- * offset: 1.1
75
+ * limit: 1,
76
+ * offset: 1
77
77
  * })
78
78
  */
79
79
  list(siteId, request = {}, requestOptions) {
@@ -168,11 +168,7 @@ class ActivityLogs {
168
168
  }
169
169
  _getAuthorizationHeader() {
170
170
  return __awaiter(this, void 0, void 0, function* () {
171
- const bearer = yield core.Supplier.get(this._options.accessToken);
172
- if (bearer != null) {
173
- return `Bearer ${bearer}`;
174
- }
175
- return undefined;
171
+ return `Bearer ${yield core.Supplier.get(this._options.accessToken)}`;
176
172
  });
177
173
  }
178
174
  }
@@ -1,8 +1,8 @@
1
1
  /**
2
2
  * @example
3
3
  * {
4
- * limit: 1.1,
5
- * offset: 1.1
4
+ * limit: 1,
5
+ * offset: 1
6
6
  * }
7
7
  */
8
8
  export interface ActivityLogsListRequest {
@@ -9,7 +9,7 @@ export declare namespace Comments {
9
9
  }
10
10
  export declare class Comments {
11
11
  protected readonly _options: Comments.Options;
12
- constructor(_options?: Comments.Options);
12
+ constructor(_options: Comments.Options);
13
13
  /**
14
14
  * List all comment threads for a site.
15
15
  *
@@ -32,8 +32,8 @@ export declare class Comments {
32
32
  * @example
33
33
  * await client.sites.comments.listCommentThreads("580e63e98c9a982ac9b8b741", {
34
34
  * localeId: "65427cf400e02b306eaa04a0",
35
- * offset: 1.1,
36
- * limit: 1.1,
35
+ * offset: 1,
36
+ * limit: 1,
37
37
  * sortBy: "createdOn",
38
38
  * sortOrder: "asc"
39
39
  * })
@@ -63,8 +63,8 @@ export declare class Comments {
63
63
  * @example
64
64
  * await client.sites.comments.getCommentThread("580e63e98c9a982ac9b8b741", "580e63e98c9a982ac9b8b741", {
65
65
  * localeId: "65427cf400e02b306eaa04a0",
66
- * offset: 1.1,
67
- * limit: 1.1,
66
+ * offset: 1,
67
+ * limit: 1,
68
68
  * sortBy: "createdOn",
69
69
  * sortOrder: "asc"
70
70
  * })
@@ -94,13 +94,13 @@ export declare class Comments {
94
94
  * @example
95
95
  * await client.sites.comments.listCommentReplies("580e63e98c9a982ac9b8b741", "580e63e98c9a982ac9b8b741", {
96
96
  * localeId: "65427cf400e02b306eaa04a0",
97
- * offset: 1.1,
98
- * limit: 1.1,
97
+ * offset: 1,
98
+ * limit: 1,
99
99
  * sortBy: "createdOn",
100
100
  * sortOrder: "asc"
101
101
  * })
102
102
  */
103
103
  listCommentReplies(siteId: string, commentThreadId: string, request?: Webflow.sites.CommentsListCommentRepliesRequest, requestOptions?: Comments.RequestOptions): core.HttpResponsePromise<Webflow.CommentReplyList>;
104
104
  private __listCommentReplies;
105
- protected _getAuthorizationHeader(): Promise<string | undefined>;
105
+ protected _getAuthorizationHeader(): Promise<string>;
106
106
  }
@@ -51,7 +51,7 @@ const errors = __importStar(require("../../../../../../errors/index"));
51
51
  const serializers = __importStar(require("../../../../../../serialization/index"));
52
52
  const Webflow = __importStar(require("../../../../../index"));
53
53
  class Comments {
54
- constructor(_options = {}) {
54
+ constructor(_options) {
55
55
  this._options = _options;
56
56
  }
57
57
  /**
@@ -76,8 +76,8 @@ class Comments {
76
76
  * @example
77
77
  * await client.sites.comments.listCommentThreads("580e63e98c9a982ac9b8b741", {
78
78
  * localeId: "65427cf400e02b306eaa04a0",
79
- * offset: 1.1,
80
- * limit: 1.1,
79
+ * offset: 1,
80
+ * limit: 1,
81
81
  * sortBy: "createdOn",
82
82
  * sortOrder: "asc"
83
83
  * })
@@ -104,6 +104,7 @@ class Comments {
104
104
  unrecognizedObjectKeys: "passthrough",
105
105
  allowUnrecognizedUnionMembers: true,
106
106
  allowUnrecognizedEnumValues: true,
107
+ omitUndefined: true,
107
108
  });
108
109
  }
109
110
  if (sortOrder != null) {
@@ -111,6 +112,7 @@ class Comments {
111
112
  unrecognizedObjectKeys: "passthrough",
112
113
  allowUnrecognizedUnionMembers: true,
113
114
  allowUnrecognizedEnumValues: true,
115
+ omitUndefined: true,
114
116
  });
115
117
  }
116
118
  const _headers = (0, headers_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_1.mergeOnlyDefinedHeaders)({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
@@ -220,8 +222,8 @@ class Comments {
220
222
  * @example
221
223
  * await client.sites.comments.getCommentThread("580e63e98c9a982ac9b8b741", "580e63e98c9a982ac9b8b741", {
222
224
  * localeId: "65427cf400e02b306eaa04a0",
223
- * offset: 1.1,
224
- * limit: 1.1,
225
+ * offset: 1,
226
+ * limit: 1,
225
227
  * sortBy: "createdOn",
226
228
  * sortOrder: "asc"
227
229
  * })
@@ -248,6 +250,7 @@ class Comments {
248
250
  unrecognizedObjectKeys: "passthrough",
249
251
  allowUnrecognizedUnionMembers: true,
250
252
  allowUnrecognizedEnumValues: true,
253
+ omitUndefined: true,
251
254
  });
252
255
  }
253
256
  if (sortOrder != null) {
@@ -255,6 +258,7 @@ class Comments {
255
258
  unrecognizedObjectKeys: "passthrough",
256
259
  allowUnrecognizedUnionMembers: true,
257
260
  allowUnrecognizedEnumValues: true,
261
+ omitUndefined: true,
258
262
  });
259
263
  }
260
264
  const _headers = (0, headers_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_1.mergeOnlyDefinedHeaders)({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
@@ -364,8 +368,8 @@ class Comments {
364
368
  * @example
365
369
  * await client.sites.comments.listCommentReplies("580e63e98c9a982ac9b8b741", "580e63e98c9a982ac9b8b741", {
366
370
  * localeId: "65427cf400e02b306eaa04a0",
367
- * offset: 1.1,
368
- * limit: 1.1,
371
+ * offset: 1,
372
+ * limit: 1,
369
373
  * sortBy: "createdOn",
370
374
  * sortOrder: "asc"
371
375
  * })
@@ -392,6 +396,7 @@ class Comments {
392
396
  unrecognizedObjectKeys: "passthrough",
393
397
  allowUnrecognizedUnionMembers: true,
394
398
  allowUnrecognizedEnumValues: true,
399
+ omitUndefined: true,
395
400
  });
396
401
  }
397
402
  if (sortOrder != null) {
@@ -399,6 +404,7 @@ class Comments {
399
404
  unrecognizedObjectKeys: "passthrough",
400
405
  allowUnrecognizedUnionMembers: true,
401
406
  allowUnrecognizedEnumValues: true,
407
+ omitUndefined: true,
402
408
  });
403
409
  }
404
410
  const _headers = (0, headers_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_1.mergeOnlyDefinedHeaders)({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
@@ -487,11 +493,7 @@ class Comments {
487
493
  }
488
494
  _getAuthorizationHeader() {
489
495
  return __awaiter(this, void 0, void 0, function* () {
490
- const bearer = yield core.Supplier.get(this._options.accessToken);
491
- if (bearer != null) {
492
- return `Bearer ${bearer}`;
493
- }
494
- return undefined;
496
+ return `Bearer ${yield core.Supplier.get(this._options.accessToken)}`;
495
497
  });
496
498
  }
497
499
  }
@@ -3,8 +3,8 @@ import type * as Webflow from "../../../../../../index";
3
3
  * @example
4
4
  * {
5
5
  * localeId: "65427cf400e02b306eaa04a0",
6
- * offset: 1.1,
7
- * limit: 1.1,
6
+ * offset: 1,
7
+ * limit: 1,
8
8
  * sortBy: "createdOn",
9
9
  * sortOrder: "asc"
10
10
  * }
@@ -3,8 +3,8 @@ import type * as Webflow from "../../../../../../index";
3
3
  * @example
4
4
  * {
5
5
  * localeId: "65427cf400e02b306eaa04a0",
6
- * offset: 1.1,
7
- * limit: 1.1,
6
+ * offset: 1,
7
+ * limit: 1,
8
8
  * sortBy: "createdOn",
9
9
  * sortOrder: "asc"
10
10
  * }
@@ -3,8 +3,8 @@ import type * as Webflow from "../../../../../../index";
3
3
  * @example
4
4
  * {
5
5
  * localeId: "65427cf400e02b306eaa04a0",
6
- * offset: 1.1,
7
- * limit: 1.1,
6
+ * offset: 1,
7
+ * limit: 1,
8
8
  * sortBy: "createdOn",
9
9
  * sortOrder: "asc"
10
10
  * }
@@ -9,7 +9,7 @@ export declare namespace Forms {
9
9
  }
10
10
  export declare class Forms {
11
11
  protected readonly _options: Forms.Options;
12
- constructor(_options?: Forms.Options);
12
+ constructor(_options: Forms.Options);
13
13
  /**
14
14
  * List all form submissions for a given site with the ability to filter submissions by a centralized `elementId`.
15
15
  *
@@ -37,8 +37,8 @@ export declare class Forms {
37
37
  * @example
38
38
  * await client.sites.forms.listSubmissionsBySite("580e63e98c9a982ac9b8b741", {
39
39
  * elementId: "18259716-3e5a-646a-5f41-5dc4b9405aa0",
40
- * offset: 1.1,
41
- * limit: 1.1
40
+ * offset: 1,
41
+ * limit: 1
42
42
  * })
43
43
  */
44
44
  listSubmissionsBySite(siteId: string, request?: Webflow.sites.FormsListSubmissionsBySiteRequest, requestOptions?: Forms.RequestOptions): core.HttpResponsePromise<Webflow.FormSubmissionList>;
@@ -64,8 +64,8 @@ export declare class Forms {
64
64
  *
65
65
  * @example
66
66
  * await client.sites.forms.listSubmissions("580e63e98c9a982ac9b8b741", "580e63e98c9a982ac9b8b741", {
67
- * offset: 1.1,
68
- * limit: 1.1
67
+ * offset: 1,
68
+ * limit: 1
69
69
  * })
70
70
  */
71
71
  listSubmissions(siteId: string, formId: string, request?: Webflow.sites.FormsListSubmissionsRequest, requestOptions?: Forms.RequestOptions): core.HttpResponsePromise<Webflow.FormSubmissionList>;
@@ -136,5 +136,5 @@ export declare class Forms {
136
136
  */
137
137
  updateSubmission(siteId: string, formSubmissionId: string, request?: Webflow.sites.FormsUpdateSubmissionRequest, requestOptions?: Forms.RequestOptions): core.HttpResponsePromise<Webflow.FormSubmission>;
138
138
  private __updateSubmission;
139
- protected _getAuthorizationHeader(): Promise<string | undefined>;
139
+ protected _getAuthorizationHeader(): Promise<string>;
140
140
  }
@@ -51,7 +51,7 @@ const errors = __importStar(require("../../../../../../errors/index"));
51
51
  const serializers = __importStar(require("../../../../../../serialization/index"));
52
52
  const Webflow = __importStar(require("../../../../../index"));
53
53
  class Forms {
54
- constructor(_options = {}) {
54
+ constructor(_options) {
55
55
  this._options = _options;
56
56
  }
57
57
  /**
@@ -81,8 +81,8 @@ class Forms {
81
81
  * @example
82
82
  * await client.sites.forms.listSubmissionsBySite("580e63e98c9a982ac9b8b741", {
83
83
  * elementId: "18259716-3e5a-646a-5f41-5dc4b9405aa0",
84
- * offset: 1.1,
85
- * limit: 1.1
84
+ * offset: 1,
85
+ * limit: 1
86
86
  * })
87
87
  */
88
88
  listSubmissionsBySite(siteId, request = {}, requestOptions) {
@@ -209,8 +209,8 @@ class Forms {
209
209
  *
210
210
  * @example
211
211
  * await client.sites.forms.listSubmissions("580e63e98c9a982ac9b8b741", "580e63e98c9a982ac9b8b741", {
212
- * offset: 1.1,
213
- * limit: 1.1
212
+ * offset: 1,
213
+ * limit: 1
214
214
  * })
215
215
  */
216
216
  listSubmissions(siteId, formId, request = {}, requestOptions) {
@@ -569,6 +569,7 @@ class Forms {
569
569
  unrecognizedObjectKeys: "passthrough",
570
570
  allowUnrecognizedUnionMembers: true,
571
571
  allowUnrecognizedEnumValues: true,
572
+ omitUndefined: true,
572
573
  }),
573
574
  timeoutMs: ((_f = (_d = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _d !== void 0 ? _d : (_e = this._options) === null || _e === void 0 ? void 0 : _e.timeoutInSeconds) !== null && _f !== void 0 ? _f : 60) * 1000,
574
575
  maxRetries: (_g = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _g !== void 0 ? _g : (_h = this._options) === null || _h === void 0 ? void 0 : _h.maxRetries,
@@ -653,11 +654,7 @@ class Forms {
653
654
  }
654
655
  _getAuthorizationHeader() {
655
656
  return __awaiter(this, void 0, void 0, function* () {
656
- const bearer = yield core.Supplier.get(this._options.accessToken);
657
- if (bearer != null) {
658
- return `Bearer ${bearer}`;
659
- }
660
- return undefined;
657
+ return `Bearer ${yield core.Supplier.get(this._options.accessToken)}`;
661
658
  });
662
659
  }
663
660
  }
@@ -2,8 +2,8 @@
2
2
  * @example
3
3
  * {
4
4
  * elementId: "18259716-3e5a-646a-5f41-5dc4b9405aa0",
5
- * offset: 1.1,
6
- * limit: 1.1
5
+ * offset: 1,
6
+ * limit: 1
7
7
  * }
8
8
  */
9
9
  export interface FormsListSubmissionsBySiteRequest {
@@ -1,8 +1,8 @@
1
1
  /**
2
2
  * @example
3
3
  * {
4
- * offset: 1.1,
5
- * limit: 1.1
4
+ * offset: 1,
5
+ * limit: 1
6
6
  * }
7
7
  */
8
8
  export interface FormsListSubmissionsRequest {
@@ -9,7 +9,7 @@ export declare namespace Plans {
9
9
  }
10
10
  export declare class Plans {
11
11
  protected readonly _options: Plans.Options;
12
- constructor(_options?: Plans.Options);
12
+ constructor(_options: Plans.Options);
13
13
  /**
14
14
  * Get site plan details for the specified Site.
15
15
  *
@@ -31,5 +31,5 @@ export declare class Plans {
31
31
  */
32
32
  getSitePlan(siteId: string, requestOptions?: Plans.RequestOptions): core.HttpResponsePromise<Webflow.SitePlan>;
33
33
  private __getSitePlan;
34
- protected _getAuthorizationHeader(): Promise<string | undefined>;
34
+ protected _getAuthorizationHeader(): Promise<string>;
35
35
  }
@@ -51,7 +51,7 @@ const errors = __importStar(require("../../../../../../errors/index"));
51
51
  const serializers = __importStar(require("../../../../../../serialization/index"));
52
52
  const Webflow = __importStar(require("../../../../../index"));
53
53
  class Plans {
54
- constructor(_options = {}) {
54
+ constructor(_options) {
55
55
  this._options = _options;
56
56
  }
57
57
  /**
@@ -165,11 +165,7 @@ class Plans {
165
165
  }
166
166
  _getAuthorizationHeader() {
167
167
  return __awaiter(this, void 0, void 0, function* () {
168
- const bearer = yield core.Supplier.get(this._options.accessToken);
169
- if (bearer != null) {
170
- return `Bearer ${bearer}`;
171
- }
172
- return undefined;
168
+ return `Bearer ${yield core.Supplier.get(this._options.accessToken)}`;
173
169
  });
174
170
  }
175
171
  }
@@ -9,7 +9,7 @@ export declare namespace Redirects {
9
9
  }
10
10
  export declare class Redirects {
11
11
  protected readonly _options: Redirects.Options;
12
- constructor(_options?: Redirects.Options);
12
+ constructor(_options: Redirects.Options);
13
13
  /**
14
14
  * Fetch a list of all 301 redirect rules configured for a specific site.
15
15
  *
@@ -71,7 +71,7 @@ export declare class Redirects {
71
71
  * Required scope: `sites:write`
72
72
  *
73
73
  * @param {string} siteId - Unique identifier for a Site
74
- * @param {string} redirectId - Unique identifier site rediect
74
+ * @param {string} redirectId - Unique identifier site redirect
75
75
  * @param {Redirects.RequestOptions} requestOptions - Request-specific configuration.
76
76
  *
77
77
  * @throws {@link Webflow.BadRequestError}
@@ -93,7 +93,7 @@ export declare class Redirects {
93
93
  * Required scope: `sites:write`
94
94
  *
95
95
  * @param {string} siteId - Unique identifier for a Site
96
- * @param {string} redirectId - Unique identifier site rediect
96
+ * @param {string} redirectId - Unique identifier site redirect
97
97
  * @param {Webflow.Redirect} request
98
98
  * @param {Redirects.RequestOptions} requestOptions - Request-specific configuration.
99
99
  *
@@ -112,5 +112,5 @@ export declare class Redirects {
112
112
  */
113
113
  update(siteId: string, redirectId: string, request: Webflow.Redirect, requestOptions?: Redirects.RequestOptions): core.HttpResponsePromise<Webflow.Redirect>;
114
114
  private __update;
115
- protected _getAuthorizationHeader(): Promise<string | undefined>;
115
+ protected _getAuthorizationHeader(): Promise<string>;
116
116
  }
@@ -51,7 +51,7 @@ const errors = __importStar(require("../../../../../../errors/index"));
51
51
  const serializers = __importStar(require("../../../../../../serialization/index"));
52
52
  const Webflow = __importStar(require("../../../../../index"));
53
53
  class Redirects {
54
- constructor(_options = {}) {
54
+ constructor(_options) {
55
55
  this._options = _options;
56
56
  }
57
57
  /**
@@ -210,6 +210,7 @@ class Redirects {
210
210
  unrecognizedObjectKeys: "passthrough",
211
211
  allowUnrecognizedUnionMembers: true,
212
212
  allowUnrecognizedEnumValues: true,
213
+ omitUndefined: true,
213
214
  }),
214
215
  timeoutMs: ((_f = (_d = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _d !== void 0 ? _d : (_e = this._options) === null || _e === void 0 ? void 0 : _e.timeoutInSeconds) !== null && _f !== void 0 ? _f : 60) * 1000,
215
216
  maxRetries: (_g = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _g !== void 0 ? _g : (_h = this._options) === null || _h === void 0 ? void 0 : _h.maxRetries,
@@ -298,7 +299,7 @@ class Redirects {
298
299
  * Required scope: `sites:write`
299
300
  *
300
301
  * @param {string} siteId - Unique identifier for a Site
301
- * @param {string} redirectId - Unique identifier site rediect
302
+ * @param {string} redirectId - Unique identifier site redirect
302
303
  * @param {Redirects.RequestOptions} requestOptions - Request-specific configuration.
303
304
  *
304
305
  * @throws {@link Webflow.BadRequestError}
@@ -408,7 +409,7 @@ class Redirects {
408
409
  * Required scope: `sites:write`
409
410
  *
410
411
  * @param {string} siteId - Unique identifier for a Site
411
- * @param {string} redirectId - Unique identifier site rediect
412
+ * @param {string} redirectId - Unique identifier site redirect
412
413
  * @param {Webflow.Redirect} request
413
414
  * @param {Redirects.RequestOptions} requestOptions - Request-specific configuration.
414
415
  *
@@ -444,6 +445,7 @@ class Redirects {
444
445
  unrecognizedObjectKeys: "passthrough",
445
446
  allowUnrecognizedUnionMembers: true,
446
447
  allowUnrecognizedEnumValues: true,
448
+ omitUndefined: true,
447
449
  }),
448
450
  timeoutMs: ((_f = (_d = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _d !== void 0 ? _d : (_e = this._options) === null || _e === void 0 ? void 0 : _e.timeoutInSeconds) !== null && _f !== void 0 ? _f : 60) * 1000,
449
451
  maxRetries: (_g = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _g !== void 0 ? _g : (_h = this._options) === null || _h === void 0 ? void 0 : _h.maxRetries,
@@ -524,11 +526,7 @@ class Redirects {
524
526
  }
525
527
  _getAuthorizationHeader() {
526
528
  return __awaiter(this, void 0, void 0, function* () {
527
- const bearer = yield core.Supplier.get(this._options.accessToken);
528
- if (bearer != null) {
529
- return `Bearer ${bearer}`;
530
- }
531
- return undefined;
529
+ return `Bearer ${yield core.Supplier.get(this._options.accessToken)}`;
532
530
  });
533
531
  }
534
532
  }
@@ -9,7 +9,7 @@ export declare namespace RobotsTxt {
9
9
  }
10
10
  export declare class RobotsTxt {
11
11
  protected readonly _options: RobotsTxt.Options;
12
- constructor(_options?: RobotsTxt.Options);
12
+ constructor(_options: RobotsTxt.Options);
13
13
  /**
14
14
  * Retrieve the robots.txt configuration for various user agents.
15
15
  *
@@ -119,5 +119,5 @@ export declare class RobotsTxt {
119
119
  */
120
120
  patch(siteId: string, request: Webflow.Robots, requestOptions?: RobotsTxt.RequestOptions): core.HttpResponsePromise<Webflow.Robots>;
121
121
  private __patch;
122
- protected _getAuthorizationHeader(): Promise<string | undefined>;
122
+ protected _getAuthorizationHeader(): Promise<string>;
123
123
  }
@@ -51,7 +51,7 @@ const errors = __importStar(require("../../../../../../errors/index"));
51
51
  const serializers = __importStar(require("../../../../../../serialization/index"));
52
52
  const Webflow = __importStar(require("../../../../../index"));
53
53
  class RobotsTxt {
54
- constructor(_options = {}) {
54
+ constructor(_options) {
55
55
  this._options = _options;
56
56
  }
57
57
  /**
@@ -209,6 +209,7 @@ class RobotsTxt {
209
209
  unrecognizedObjectKeys: "passthrough",
210
210
  allowUnrecognizedUnionMembers: true,
211
211
  allowUnrecognizedEnumValues: true,
212
+ omitUndefined: true,
212
213
  }),
213
214
  timeoutMs: ((_f = (_d = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _d !== void 0 ? _d : (_e = this._options) === null || _e === void 0 ? void 0 : _e.timeoutInSeconds) !== null && _f !== void 0 ? _f : 60) * 1000,
214
215
  maxRetries: (_g = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _g !== void 0 ? _g : (_h = this._options) === null || _h === void 0 ? void 0 : _h.maxRetries,
@@ -334,6 +335,7 @@ class RobotsTxt {
334
335
  unrecognizedObjectKeys: "passthrough",
335
336
  allowUnrecognizedUnionMembers: true,
336
337
  allowUnrecognizedEnumValues: true,
338
+ omitUndefined: true,
337
339
  }),
338
340
  timeoutMs: ((_f = (_d = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _d !== void 0 ? _d : (_e = this._options) === null || _e === void 0 ? void 0 : _e.timeoutInSeconds) !== null && _f !== void 0 ? _f : 60) * 1000,
339
341
  maxRetries: (_g = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _g !== void 0 ? _g : (_h = this._options) === null || _h === void 0 ? void 0 : _h.maxRetries,
@@ -458,6 +460,7 @@ class RobotsTxt {
458
460
  unrecognizedObjectKeys: "passthrough",
459
461
  allowUnrecognizedUnionMembers: true,
460
462
  allowUnrecognizedEnumValues: true,
463
+ omitUndefined: true,
461
464
  }),
462
465
  timeoutMs: ((_f = (_d = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _d !== void 0 ? _d : (_e = this._options) === null || _e === void 0 ? void 0 : _e.timeoutInSeconds) !== null && _f !== void 0 ? _f : 60) * 1000,
463
466
  maxRetries: (_g = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _g !== void 0 ? _g : (_h = this._options) === null || _h === void 0 ? void 0 : _h.maxRetries,
@@ -538,11 +541,7 @@ class RobotsTxt {
538
541
  }
539
542
  _getAuthorizationHeader() {
540
543
  return __awaiter(this, void 0, void 0, function* () {
541
- const bearer = yield core.Supplier.get(this._options.accessToken);
542
- if (bearer != null) {
543
- return `Bearer ${bearer}`;
544
- }
545
- return undefined;
544
+ return `Bearer ${yield core.Supplier.get(this._options.accessToken)}`;
546
545
  });
547
546
  }
548
547
  }
@@ -9,7 +9,7 @@ export declare namespace Scripts {
9
9
  }
10
10
  export declare class Scripts {
11
11
  protected readonly _options: Scripts.Options;
12
- constructor(_options?: Scripts.Options);
12
+ constructor(_options: Scripts.Options);
13
13
  /**
14
14
  * Get all scripts applied to a site by the App.
15
15
  *
@@ -116,11 +116,11 @@ export declare class Scripts {
116
116
  *
117
117
  * @example
118
118
  * await client.sites.scripts.listCustomCodeBlocks("580e63e98c9a982ac9b8b741", {
119
- * offset: 1.1,
120
- * limit: 1.1
119
+ * offset: 1,
120
+ * limit: 1
121
121
  * })
122
122
  */
123
123
  listCustomCodeBlocks(siteId: string, request?: Webflow.sites.ScriptsListCustomCodeBlocksRequest, requestOptions?: Scripts.RequestOptions): core.HttpResponsePromise<Webflow.ListCustomCodeBlocks>;
124
124
  private __listCustomCodeBlocks;
125
- protected _getAuthorizationHeader(): Promise<string | undefined>;
125
+ protected _getAuthorizationHeader(): Promise<string>;
126
126
  }