webflow-api 2.2.0 → 2.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.
- package/api/resources/accessGroups/client/Client.js +1 -1
- package/api/resources/assets/client/Client.d.ts +1 -1
- package/api/resources/assets/client/Client.js +9 -9
- package/api/resources/collections/client/Client.js +5 -5
- package/api/resources/collections/resources/fields/client/Client.js +2 -2
- package/api/resources/collections/resources/items/client/Client.d.ts +1 -2
- package/api/resources/collections/resources/items/client/Client.js +11 -18
- package/api/resources/collections/resources/items/client/requests/BulkCollectionItem.d.ts +0 -1
- package/api/resources/collections/resources/items/types/index.d.ts +0 -1
- package/api/resources/collections/resources/items/types/index.js +0 -1
- package/api/resources/ecommerce/client/Client.js +1 -1
- package/api/resources/forms/client/Client.js +5 -5
- package/api/resources/inventory/client/Client.js +2 -2
- package/api/resources/orders/client/Client.js +6 -6
- package/api/resources/pages/client/Client.d.ts +23 -14
- package/api/resources/pages/client/Client.js +28 -19
- package/api/resources/pages/client/requests/DomWrite.d.ts +10 -1
- package/api/resources/pages/client/requests/UpdatePageSettingsRequest.d.ts +12 -12
- package/api/resources/pages/resources/scripts/client/Client.js +3 -3
- package/api/resources/pages/types/DomWriteNodesItem.d.ts +1 -1
- package/api/resources/pages/types/UpdateStaticContentResponse.d.ts +7 -0
- package/api/resources/pages/types/index.d.ts +1 -0
- package/api/resources/pages/types/index.js +1 -0
- package/api/resources/products/client/Client.d.ts +34 -26
- package/api/resources/products/client/Client.js +41 -33
- package/api/resources/products/client/requests/ProductSkuCreate.d.ts +28 -5
- package/api/resources/products/client/requests/ProductSkuUpdate.d.ts +38 -0
- package/api/resources/products/client/requests/ProductsCreateSkuRequest.d.ts +1 -0
- package/api/resources/products/client/requests/ProductsUpdateSkuRequest.d.ts +1 -0
- package/api/resources/products/client/requests/index.d.ts +1 -1
- package/api/resources/products/types/index.d.ts +0 -11
- package/api/resources/products/types/index.js +0 -11
- package/api/resources/scripts/client/Client.d.ts +2 -2
- package/api/resources/scripts/client/Client.js +5 -5
- package/api/resources/sites/client/Client.d.ts +2 -1
- package/api/resources/sites/client/Client.js +6 -5
- package/api/resources/sites/client/requests/SitesPublishRequest.d.ts +1 -0
- package/api/resources/sites/resources/activityLogs/client/Client.js +1 -1
- package/api/resources/sites/resources/scripts/client/Client.js +4 -4
- package/api/resources/token/client/Client.js +2 -2
- package/api/resources/users/client/Client.js +5 -5
- package/api/resources/webhooks/client/Client.js +4 -4
- package/api/types/Asset.d.ts +8 -8
- package/api/types/AssetFolder.d.ts +2 -2
- package/api/types/AssetUpload.d.ts +5 -5
- package/api/types/AssetUploadUploadDetails.d.ts +2 -4
- package/api/types/AssetVariant.d.ts +4 -0
- package/api/types/Assets.d.ts +10 -0
- package/{dist/api/types/CustomCodeResponse.d.ts → api/types/CustomCodeHostedResponse.d.ts} +9 -9
- package/api/types/{CustomCodeResponse.d.ts → CustomCodeInlineResponse.d.ts} +9 -9
- package/api/types/Form.d.ts +13 -8
- package/api/types/FormField.d.ts +3 -0
- package/api/types/FormFieldValue.d.ts +3 -0
- package/api/types/FormResponseSettings.d.ts +5 -2
- package/api/types/Locale.d.ts +21 -0
- package/api/types/Locales.d.ts +10 -0
- package/api/types/Node.d.ts +1 -0
- package/api/types/OauthScope.d.ts +46 -22
- package/api/types/OauthScope.js +12 -6
- package/api/types/Order.d.ts +5 -5
- package/api/types/OrderAddress.d.ts +1 -1
- package/api/types/OrderAddressJapanType.d.ts +1 -1
- package/api/types/OrderList.d.ts +1 -1
- package/api/types/OrderPurchasedItem.d.ts +2 -0
- package/api/types/Product.d.ts +2 -0
- package/api/types/ProductFieldData.d.ts +5 -4
- package/api/types/RegisteredScriptList.d.ts +4 -1
- package/api/types/ScriptApply.d.ts +1 -1
- package/api/types/ScriptApplyList.d.ts +1 -0
- package/api/types/Scripts.d.ts +3 -0
- package/api/types/Site.d.ts +3 -0
- package/api/types/Sites.d.ts +7 -0
- package/api/types/Sku.d.ts +2 -1
- package/api/types/SkuFieldDataEcSkuSubscriptionPlan.d.ts +1 -0
- package/api/types/SkuFieldDataEcSkuSubscriptionPlanPlansItem.d.ts +11 -0
- package/api/types/SkuFieldDataEcSkuSubscriptionPlanPlansItemStatus.d.ts +12 -0
- package/api/types/SkuFieldDataEcSkuSubscriptionPlanPlansItemStatus.js +11 -0
- package/api/types/index.d.ts +8 -1
- package/api/types/index.js +8 -1
- package/dist/api/resources/accessGroups/client/Client.js +1 -1
- package/dist/api/resources/assets/client/Client.d.ts +1 -1
- package/dist/api/resources/assets/client/Client.js +9 -9
- package/dist/api/resources/collections/client/Client.js +5 -5
- package/dist/api/resources/collections/resources/fields/client/Client.js +2 -2
- package/dist/api/resources/collections/resources/items/client/Client.d.ts +1 -2
- package/dist/api/resources/collections/resources/items/client/Client.js +11 -18
- package/dist/api/resources/collections/resources/items/client/requests/BulkCollectionItem.d.ts +0 -1
- package/dist/api/resources/collections/resources/items/types/index.d.ts +0 -1
- package/dist/api/resources/collections/resources/items/types/index.js +0 -1
- package/dist/api/resources/ecommerce/client/Client.js +1 -1
- package/dist/api/resources/forms/client/Client.js +5 -5
- package/dist/api/resources/inventory/client/Client.js +2 -2
- package/dist/api/resources/orders/client/Client.js +6 -6
- package/dist/api/resources/pages/client/Client.d.ts +23 -14
- package/dist/api/resources/pages/client/Client.js +28 -19
- package/dist/api/resources/pages/client/requests/DomWrite.d.ts +10 -1
- package/dist/api/resources/pages/client/requests/UpdatePageSettingsRequest.d.ts +12 -12
- package/dist/api/resources/pages/resources/scripts/client/Client.js +3 -3
- package/dist/api/resources/pages/types/DomWriteNodesItem.d.ts +1 -1
- package/dist/api/resources/pages/types/UpdateStaticContentResponse.d.ts +7 -0
- package/dist/api/resources/pages/types/index.d.ts +1 -0
- package/dist/api/resources/pages/types/index.js +1 -0
- package/dist/api/resources/products/client/Client.d.ts +34 -26
- package/dist/api/resources/products/client/Client.js +41 -33
- package/dist/api/resources/products/client/requests/ProductSkuCreate.d.ts +28 -5
- package/dist/api/resources/products/client/requests/ProductSkuUpdate.d.ts +38 -0
- package/dist/api/resources/products/client/requests/ProductsCreateSkuRequest.d.ts +1 -0
- package/dist/api/resources/products/client/requests/ProductsUpdateSkuRequest.d.ts +1 -0
- package/dist/api/resources/products/client/requests/index.d.ts +1 -1
- package/dist/api/resources/products/types/index.d.ts +0 -11
- package/dist/api/resources/products/types/index.js +0 -11
- package/dist/api/resources/scripts/client/Client.d.ts +2 -2
- package/dist/api/resources/scripts/client/Client.js +5 -5
- package/dist/api/resources/sites/client/Client.d.ts +2 -1
- package/dist/api/resources/sites/client/Client.js +6 -5
- package/dist/api/resources/sites/client/requests/SitesPublishRequest.d.ts +1 -0
- package/dist/api/resources/sites/resources/activityLogs/client/Client.js +1 -1
- package/dist/api/resources/sites/resources/scripts/client/Client.js +4 -4
- package/dist/api/resources/token/client/Client.js +2 -2
- package/dist/api/resources/users/client/Client.js +5 -5
- package/dist/api/resources/webhooks/client/Client.js +4 -4
- package/dist/api/types/Asset.d.ts +8 -8
- package/dist/api/types/AssetFolder.d.ts +2 -2
- package/dist/api/types/AssetUpload.d.ts +5 -5
- package/dist/api/types/AssetUploadUploadDetails.d.ts +2 -4
- package/dist/api/types/AssetVariant.d.ts +4 -0
- package/dist/api/types/Assets.d.ts +10 -0
- package/dist/api/types/CustomCodeHostedResponse.d.ts +24 -0
- package/dist/api/types/CustomCodeInlineResponse.d.ts +24 -0
- package/dist/api/types/Form.d.ts +13 -8
- package/dist/api/types/FormField.d.ts +3 -0
- package/dist/api/types/FormFieldValue.d.ts +3 -0
- package/dist/api/types/FormResponseSettings.d.ts +5 -2
- package/dist/api/types/Locale.d.ts +21 -0
- package/dist/api/types/Locales.d.ts +10 -0
- package/dist/api/types/Node.d.ts +1 -0
- package/dist/api/types/OauthScope.d.ts +46 -22
- package/dist/api/types/OauthScope.js +12 -6
- package/dist/api/types/Order.d.ts +5 -5
- package/dist/api/types/OrderAddress.d.ts +1 -1
- package/dist/api/types/OrderAddressJapanType.d.ts +1 -1
- package/dist/api/types/OrderList.d.ts +1 -1
- package/dist/api/types/OrderPurchasedItem.d.ts +2 -0
- package/dist/api/types/Product.d.ts +2 -0
- package/dist/api/types/ProductFieldData.d.ts +5 -4
- package/dist/api/types/RegisteredScriptList.d.ts +4 -1
- package/dist/api/types/ScriptApply.d.ts +1 -1
- package/dist/api/types/ScriptApplyList.d.ts +1 -0
- package/dist/api/types/Scripts.d.ts +3 -0
- package/dist/api/types/Site.d.ts +3 -0
- package/dist/api/types/Sites.d.ts +7 -0
- package/dist/api/types/Sku.d.ts +2 -1
- package/dist/api/types/SkuFieldDataEcSkuSubscriptionPlan.d.ts +1 -0
- package/dist/api/types/SkuFieldDataEcSkuSubscriptionPlanPlansItem.d.ts +11 -0
- package/dist/api/types/SkuFieldDataEcSkuSubscriptionPlanPlansItemStatus.d.ts +12 -0
- package/dist/api/types/SkuFieldDataEcSkuSubscriptionPlanPlansItemStatus.js +11 -0
- package/dist/api/types/index.d.ts +8 -1
- package/dist/api/types/index.js +8 -1
- package/dist/serialization/resources/assets/client/index.d.ts +0 -1
- package/dist/serialization/resources/assets/client/index.js +0 -14
- package/dist/serialization/resources/collections/resources/items/types/index.d.ts +0 -1
- package/dist/serialization/resources/collections/resources/items/types/index.js +0 -1
- package/dist/serialization/resources/index.d.ts +1 -1
- package/dist/serialization/resources/index.js +2 -2
- package/dist/serialization/resources/pages/types/UpdateStaticContentResponse.d.ts +12 -0
- package/{serialization/resources/products/types/ProductSkuCreateSkuFieldDataEcSkuBillingMethod.js → dist/serialization/resources/pages/types/UpdateStaticContentResponse.js} +4 -2
- package/dist/serialization/resources/pages/types/index.d.ts +1 -0
- package/dist/serialization/resources/pages/types/index.js +1 -0
- package/dist/serialization/resources/products/client/requests/ProductSkuCreate.d.ts +2 -2
- package/dist/serialization/resources/products/client/requests/ProductSkuCreate.js +2 -4
- package/dist/serialization/resources/products/client/requests/{ProductsUpdateRequest.d.ts → ProductSkuUpdate.d.ts} +4 -3
- package/{serialization/resources/products/client/requests/ProductsUpdateRequest.js → dist/serialization/resources/products/client/requests/ProductSkuUpdate.js} +4 -3
- package/dist/serialization/resources/products/client/requests/index.d.ts +1 -1
- package/dist/serialization/resources/products/client/requests/index.js +3 -3
- package/dist/serialization/resources/products/types/index.d.ts +0 -11
- package/dist/serialization/resources/products/types/index.js +0 -11
- package/dist/serialization/types/Asset.d.ts +4 -4
- package/dist/serialization/types/Asset.js +4 -4
- package/dist/serialization/types/AssetFolder.d.ts +1 -1
- package/dist/serialization/types/AssetFolder.js +1 -1
- package/dist/serialization/types/AssetUpload.d.ts +3 -3
- package/dist/serialization/types/AssetUpload.js +3 -3
- package/dist/serialization/types/AssetUploadUploadDetails.d.ts +2 -3
- package/dist/serialization/types/AssetUploadUploadDetails.js +2 -3
- package/dist/serialization/types/Assets.d.ts +12 -0
- package/dist/serialization/types/Assets.js +44 -0
- package/dist/serialization/types/{CustomCodeResponse.d.ts → CustomCodeHostedResponse.d.ts} +6 -6
- package/{serialization/types/CustomCodeResponse.js → dist/serialization/types/CustomCodeHostedResponse.js} +6 -6
- package/{serialization/types/CustomCodeResponse.d.ts → dist/serialization/types/CustomCodeInlineResponse.d.ts} +6 -6
- package/dist/serialization/types/{CustomCodeResponse.js → CustomCodeInlineResponse.js} +6 -6
- package/dist/serialization/types/Form.d.ts +5 -5
- package/dist/serialization/types/Form.js +5 -5
- package/dist/serialization/types/FormResponseSettings.d.ts +1 -1
- package/dist/serialization/types/FormResponseSettings.js +1 -1
- package/dist/serialization/types/Locale.d.ts +19 -0
- package/dist/serialization/{resources/collections/resources/items/types/ItemsPublishItemResponse.js → types/Locale.js} +11 -5
- package/dist/serialization/types/Locales.d.ts +13 -0
- package/dist/serialization/types/Locales.js +45 -0
- package/dist/serialization/types/OauthScope.d.ts +1 -1
- package/dist/serialization/types/OauthScope.js +12 -6
- package/dist/serialization/types/OrderList.d.ts +1 -1
- package/dist/serialization/types/OrderList.js +1 -1
- package/dist/serialization/types/OrderPurchasedItem.d.ts +1 -0
- package/dist/serialization/types/OrderPurchasedItem.js +1 -0
- package/dist/serialization/types/Product.d.ts +1 -0
- package/dist/serialization/types/Product.js +1 -0
- package/dist/serialization/types/ProductFieldData.d.ts +2 -3
- package/dist/serialization/types/ProductFieldData.js +2 -3
- package/dist/serialization/types/RegisteredScriptList.d.ts +1 -1
- package/dist/serialization/types/RegisteredScriptList.js +1 -1
- package/dist/serialization/types/Site.d.ts +2 -0
- package/dist/serialization/types/Site.js +2 -0
- package/dist/serialization/types/Sites.d.ts +12 -0
- package/dist/serialization/{resources/assets/client/list.js → types/Sites.js} +5 -3
- package/dist/serialization/types/Sku.d.ts +1 -0
- package/dist/serialization/types/Sku.js +1 -0
- package/dist/serialization/types/SkuFieldDataEcSkuSubscriptionPlan.d.ts +1 -0
- package/dist/serialization/types/SkuFieldDataEcSkuSubscriptionPlan.js +3 -0
- package/dist/serialization/types/SkuFieldDataEcSkuSubscriptionPlanPlansItem.d.ts +14 -0
- package/{serialization/resources/products/types/ProductSkuCreateSkuFieldDataEcSkuSubscriptionPlan.js → dist/serialization/types/SkuFieldDataEcSkuSubscriptionPlanPlansItem.js} +7 -7
- package/dist/serialization/types/SkuFieldDataEcSkuSubscriptionPlanPlansItemStatus.d.ts +10 -0
- package/{serialization/resources/products/types/ProductSkuCreateSkuFieldDataEcSkuSubscriptionPlanInterval.js → dist/serialization/types/SkuFieldDataEcSkuSubscriptionPlanPlansItemStatus.js} +3 -3
- package/dist/serialization/types/index.d.ts +8 -1
- package/dist/serialization/types/index.js +8 -1
- package/dist/wrapper/CollectionsClient.d.ts +8 -0
- package/dist/wrapper/CollectionsClient.js +18 -0
- package/dist/wrapper/ItemsClient.d.ts +30 -0
- package/dist/wrapper/ItemsClient.js +138 -0
- package/dist/wrapper/WebflowClient.d.ts +5 -0
- package/dist/wrapper/WebflowClient.js +11 -2
- package/package.json +1 -1
- package/serialization/resources/assets/client/index.d.ts +0 -1
- package/serialization/resources/assets/client/index.js +0 -14
- package/serialization/resources/collections/resources/items/types/index.d.ts +0 -1
- package/serialization/resources/collections/resources/items/types/index.js +0 -1
- package/serialization/resources/index.d.ts +1 -1
- package/serialization/resources/index.js +2 -2
- package/serialization/resources/pages/types/UpdateStaticContentResponse.d.ts +12 -0
- package/{dist/serialization/resources/products/types/ProductSkuCreateSkuFieldDataEcSkuBillingMethod.js → serialization/resources/pages/types/UpdateStaticContentResponse.js} +4 -2
- package/serialization/resources/pages/types/index.d.ts +1 -0
- package/serialization/resources/pages/types/index.js +1 -0
- package/serialization/resources/products/client/requests/ProductSkuCreate.d.ts +2 -2
- package/serialization/resources/products/client/requests/ProductSkuCreate.js +2 -4
- package/serialization/resources/products/client/requests/{ProductsUpdateRequest.d.ts → ProductSkuUpdate.d.ts} +4 -3
- package/{dist/serialization/resources/products/client/requests/ProductsUpdateRequest.js → serialization/resources/products/client/requests/ProductSkuUpdate.js} +4 -3
- package/serialization/resources/products/client/requests/index.d.ts +1 -1
- package/serialization/resources/products/client/requests/index.js +3 -3
- package/serialization/resources/products/types/index.d.ts +0 -11
- package/serialization/resources/products/types/index.js +0 -11
- package/serialization/types/Asset.d.ts +4 -4
- package/serialization/types/Asset.js +4 -4
- package/serialization/types/AssetFolder.d.ts +1 -1
- package/serialization/types/AssetFolder.js +1 -1
- package/serialization/types/AssetUpload.d.ts +3 -3
- package/serialization/types/AssetUpload.js +3 -3
- package/serialization/types/AssetUploadUploadDetails.d.ts +2 -3
- package/serialization/types/AssetUploadUploadDetails.js +2 -3
- package/serialization/types/Assets.d.ts +12 -0
- package/serialization/types/Assets.js +44 -0
- package/serialization/types/CustomCodeHostedResponse.d.ts +19 -0
- package/serialization/types/CustomCodeHostedResponse.js +40 -0
- package/serialization/types/CustomCodeInlineResponse.d.ts +19 -0
- package/serialization/types/CustomCodeInlineResponse.js +40 -0
- package/serialization/types/Form.d.ts +5 -5
- package/serialization/types/Form.js +5 -5
- package/serialization/types/FormResponseSettings.d.ts +1 -1
- package/serialization/types/FormResponseSettings.js +1 -1
- package/serialization/types/Locale.d.ts +19 -0
- package/{dist/serialization/resources/products/types/ProductSkuCreateSkuFieldDataPrice.js → serialization/types/Locale.js} +11 -6
- package/serialization/types/Locales.d.ts +13 -0
- package/serialization/types/Locales.js +45 -0
- package/serialization/types/OauthScope.d.ts +1 -1
- package/serialization/types/OauthScope.js +12 -6
- package/serialization/types/OrderList.d.ts +1 -1
- package/serialization/types/OrderList.js +1 -1
- package/serialization/types/OrderPurchasedItem.d.ts +1 -0
- package/serialization/types/OrderPurchasedItem.js +1 -0
- package/serialization/types/Product.d.ts +1 -0
- package/serialization/types/Product.js +1 -0
- package/serialization/types/ProductFieldData.d.ts +2 -3
- package/serialization/types/ProductFieldData.js +2 -3
- package/serialization/types/RegisteredScriptList.d.ts +1 -1
- package/serialization/types/RegisteredScriptList.js +1 -1
- package/serialization/types/Site.d.ts +2 -0
- package/serialization/types/Site.js +2 -0
- package/serialization/types/Sites.d.ts +12 -0
- package/serialization/{resources/assets/client/list.js → types/Sites.js} +5 -3
- package/serialization/types/Sku.d.ts +1 -0
- package/serialization/types/Sku.js +1 -0
- package/serialization/types/SkuFieldDataEcSkuSubscriptionPlan.d.ts +1 -0
- package/serialization/types/SkuFieldDataEcSkuSubscriptionPlan.js +3 -0
- package/serialization/types/SkuFieldDataEcSkuSubscriptionPlanPlansItem.d.ts +14 -0
- package/{dist/serialization/resources/products/types/ProductSkuCreateSkuFieldDataEcSkuSubscriptionPlan.js → serialization/types/SkuFieldDataEcSkuSubscriptionPlanPlansItem.js} +7 -7
- package/serialization/types/SkuFieldDataEcSkuSubscriptionPlanPlansItemStatus.d.ts +10 -0
- package/{dist/serialization/resources/products/types/ProductSkuCreateSkuFieldDataEcSkuSubscriptionPlanInterval.js → serialization/types/SkuFieldDataEcSkuSubscriptionPlanPlansItemStatus.js} +3 -3
- package/serialization/types/index.d.ts +8 -1
- package/serialization/types/index.js +8 -1
- package/wrapper/CollectionsClient.d.ts +8 -0
- package/wrapper/CollectionsClient.js +18 -0
- package/wrapper/ItemsClient.d.ts +30 -0
- package/wrapper/ItemsClient.js +138 -0
- package/wrapper/WebflowClient.d.ts +5 -0
- package/wrapper/WebflowClient.js +11 -2
- package/api/resources/collections/resources/items/types/ItemsPublishItemResponse.d.ts +0 -7
- package/api/resources/products/client/requests/ProductsUpdateRequest.d.ts +0 -56
- package/api/resources/products/types/ProductSkuCreateProduct.d.ts +0 -22
- package/api/resources/products/types/ProductSkuCreateProductFieldData.d.ts +0 -23
- package/api/resources/products/types/ProductSkuCreateProductFieldDataEcProductType.d.ts +0 -13
- package/api/resources/products/types/ProductSkuCreateProductFieldDataEcProductType.js +0 -12
- package/api/resources/products/types/ProductSkuCreateProductFieldDataTaxCategory.d.ts +0 -38
- package/api/resources/products/types/ProductSkuCreateProductFieldDataTaxCategory.js +0 -37
- package/api/resources/products/types/ProductSkuCreateSku.d.ts +0 -19
- package/api/resources/products/types/ProductSkuCreateSkuFieldData.d.ts +0 -26
- package/api/resources/products/types/ProductSkuCreateSkuFieldDataCompareAtPrice.d.ts +0 -12
- package/api/resources/products/types/ProductSkuCreateSkuFieldDataEcSkuBillingMethod.d.ts +0 -11
- package/api/resources/products/types/ProductSkuCreateSkuFieldDataEcSkuBillingMethod.js +0 -10
- package/api/resources/products/types/ProductSkuCreateSkuFieldDataEcSkuSubscriptionPlan.d.ts +0 -15
- package/api/resources/products/types/ProductSkuCreateSkuFieldDataEcSkuSubscriptionPlanInterval.d.ts +0 -13
- package/api/resources/products/types/ProductSkuCreateSkuFieldDataEcSkuSubscriptionPlanInterval.js +0 -12
- package/api/resources/products/types/ProductSkuCreateSkuFieldDataPrice.d.ts +0 -13
- package/dist/api/resources/collections/resources/items/types/ItemsPublishItemResponse.d.ts +0 -7
- package/dist/api/resources/products/client/requests/ProductsUpdateRequest.d.ts +0 -56
- package/dist/api/resources/products/types/ProductSkuCreateProduct.d.ts +0 -22
- package/dist/api/resources/products/types/ProductSkuCreateProductFieldData.d.ts +0 -23
- package/dist/api/resources/products/types/ProductSkuCreateProductFieldDataEcProductType.d.ts +0 -13
- package/dist/api/resources/products/types/ProductSkuCreateProductFieldDataEcProductType.js +0 -12
- package/dist/api/resources/products/types/ProductSkuCreateProductFieldDataTaxCategory.d.ts +0 -38
- package/dist/api/resources/products/types/ProductSkuCreateProductFieldDataTaxCategory.js +0 -37
- package/dist/api/resources/products/types/ProductSkuCreateSku.d.ts +0 -19
- package/dist/api/resources/products/types/ProductSkuCreateSkuFieldData.d.ts +0 -26
- package/dist/api/resources/products/types/ProductSkuCreateSkuFieldDataCompareAtPrice.d.ts +0 -12
- package/dist/api/resources/products/types/ProductSkuCreateSkuFieldDataEcSkuBillingMethod.d.ts +0 -11
- package/dist/api/resources/products/types/ProductSkuCreateSkuFieldDataEcSkuBillingMethod.js +0 -10
- package/dist/api/resources/products/types/ProductSkuCreateSkuFieldDataEcSkuSubscriptionPlan.d.ts +0 -15
- package/dist/api/resources/products/types/ProductSkuCreateSkuFieldDataEcSkuSubscriptionPlanInterval.d.ts +0 -13
- package/dist/api/resources/products/types/ProductSkuCreateSkuFieldDataEcSkuSubscriptionPlanInterval.js +0 -12
- package/dist/api/resources/products/types/ProductSkuCreateSkuFieldDataPrice.d.ts +0 -13
- package/dist/api/resources/products/types/ProductSkuCreateSkuFieldDataPrice.js +0 -5
- package/dist/api/types/CustomCodeResponse.js +0 -5
- package/dist/serialization/resources/assets/client/list.d.ts +0 -10
- package/dist/serialization/resources/collections/resources/items/types/ItemsPublishItemResponse.d.ts +0 -13
- package/dist/serialization/resources/products/types/ProductSkuCreateProduct.d.ts +0 -18
- package/dist/serialization/resources/products/types/ProductSkuCreateProduct.js +0 -50
- package/dist/serialization/resources/products/types/ProductSkuCreateProductFieldData.d.ts +0 -20
- package/dist/serialization/resources/products/types/ProductSkuCreateProductFieldData.js +0 -56
- package/dist/serialization/resources/products/types/ProductSkuCreateProductFieldDataEcProductType.d.ts +0 -10
- package/dist/serialization/resources/products/types/ProductSkuCreateProductFieldDataEcProductType.js +0 -36
- package/dist/serialization/resources/products/types/ProductSkuCreateProductFieldDataTaxCategory.d.ts +0 -10
- package/dist/serialization/resources/products/types/ProductSkuCreateProductFieldDataTaxCategory.js +0 -61
- package/dist/serialization/resources/products/types/ProductSkuCreateSku.d.ts +0 -16
- package/dist/serialization/resources/products/types/ProductSkuCreateSku.js +0 -48
- package/dist/serialization/resources/products/types/ProductSkuCreateSkuFieldData.d.ts +0 -20
- package/dist/serialization/resources/products/types/ProductSkuCreateSkuFieldData.js +0 -56
- package/dist/serialization/resources/products/types/ProductSkuCreateSkuFieldDataCompareAtPrice.d.ts +0 -13
- package/dist/serialization/resources/products/types/ProductSkuCreateSkuFieldDataCompareAtPrice.js +0 -34
- package/dist/serialization/resources/products/types/ProductSkuCreateSkuFieldDataEcSkuBillingMethod.d.ts +0 -10
- package/dist/serialization/resources/products/types/ProductSkuCreateSkuFieldDataEcSkuSubscriptionPlan.d.ts +0 -14
- package/dist/serialization/resources/products/types/ProductSkuCreateSkuFieldDataEcSkuSubscriptionPlanInterval.d.ts +0 -10
- package/dist/serialization/resources/products/types/ProductSkuCreateSkuFieldDataPrice.d.ts +0 -14
- package/serialization/resources/assets/client/list.d.ts +0 -10
- package/serialization/resources/collections/resources/items/types/ItemsPublishItemResponse.d.ts +0 -13
- package/serialization/resources/collections/resources/items/types/ItemsPublishItemResponse.js +0 -34
- package/serialization/resources/products/types/ProductSkuCreateProduct.d.ts +0 -18
- package/serialization/resources/products/types/ProductSkuCreateProduct.js +0 -50
- package/serialization/resources/products/types/ProductSkuCreateProductFieldData.d.ts +0 -20
- package/serialization/resources/products/types/ProductSkuCreateProductFieldData.js +0 -56
- package/serialization/resources/products/types/ProductSkuCreateProductFieldDataEcProductType.d.ts +0 -10
- package/serialization/resources/products/types/ProductSkuCreateProductFieldDataEcProductType.js +0 -36
- package/serialization/resources/products/types/ProductSkuCreateProductFieldDataTaxCategory.d.ts +0 -10
- package/serialization/resources/products/types/ProductSkuCreateProductFieldDataTaxCategory.js +0 -61
- package/serialization/resources/products/types/ProductSkuCreateSku.d.ts +0 -16
- package/serialization/resources/products/types/ProductSkuCreateSku.js +0 -48
- package/serialization/resources/products/types/ProductSkuCreateSkuFieldData.d.ts +0 -20
- package/serialization/resources/products/types/ProductSkuCreateSkuFieldData.js +0 -56
- package/serialization/resources/products/types/ProductSkuCreateSkuFieldDataCompareAtPrice.d.ts +0 -13
- package/serialization/resources/products/types/ProductSkuCreateSkuFieldDataCompareAtPrice.js +0 -34
- package/serialization/resources/products/types/ProductSkuCreateSkuFieldDataEcSkuBillingMethod.d.ts +0 -10
- package/serialization/resources/products/types/ProductSkuCreateSkuFieldDataEcSkuSubscriptionPlan.d.ts +0 -14
- package/serialization/resources/products/types/ProductSkuCreateSkuFieldDataEcSkuSubscriptionPlanInterval.d.ts +0 -10
- package/serialization/resources/products/types/ProductSkuCreateSkuFieldDataPrice.d.ts +0 -14
- package/serialization/resources/products/types/ProductSkuCreateSkuFieldDataPrice.js +0 -35
- /package/api/resources/{collections/resources/items/types/ItemsPublishItemResponse.js → pages/types/UpdateStaticContentResponse.js} +0 -0
- /package/api/resources/products/client/requests/{ProductsUpdateRequest.js → ProductSkuUpdate.js} +0 -0
- /package/api/{resources/products/types/ProductSkuCreateProduct.js → types/Assets.js} +0 -0
- /package/api/{resources/products/types/ProductSkuCreateProductFieldData.js → types/CustomCodeHostedResponse.js} +0 -0
- /package/api/{resources/products/types/ProductSkuCreateSku.js → types/CustomCodeInlineResponse.js} +0 -0
- /package/api/{resources/products/types/ProductSkuCreateSkuFieldData.js → types/Locale.js} +0 -0
- /package/api/{resources/products/types/ProductSkuCreateSkuFieldDataCompareAtPrice.js → types/Locales.js} +0 -0
- /package/api/{resources/products/types/ProductSkuCreateSkuFieldDataEcSkuSubscriptionPlan.js → types/Sites.js} +0 -0
- /package/api/{resources/products/types/ProductSkuCreateSkuFieldDataPrice.js → types/SkuFieldDataEcSkuSubscriptionPlanPlansItem.js} +0 -0
- /package/{api/types/CustomCodeResponse.js → dist/api/resources/pages/types/UpdateStaticContentResponse.js} +0 -0
- /package/dist/api/resources/{collections/resources/items/types/ItemsPublishItemResponse.js → products/client/requests/ProductSkuUpdate.js} +0 -0
- /package/dist/api/{resources/products/client/requests/ProductsUpdateRequest.js → types/Assets.js} +0 -0
- /package/dist/api/{resources/products/types/ProductSkuCreateProduct.js → types/CustomCodeHostedResponse.js} +0 -0
- /package/dist/api/{resources/products/types/ProductSkuCreateProductFieldData.js → types/CustomCodeInlineResponse.js} +0 -0
- /package/dist/api/{resources/products/types/ProductSkuCreateSku.js → types/Locale.js} +0 -0
- /package/dist/api/{resources/products/types/ProductSkuCreateSkuFieldData.js → types/Locales.js} +0 -0
- /package/dist/api/{resources/products/types/ProductSkuCreateSkuFieldDataCompareAtPrice.js → types/Sites.js} +0 -0
- /package/dist/api/{resources/products/types/ProductSkuCreateSkuFieldDataEcSkuSubscriptionPlan.js → types/SkuFieldDataEcSkuSubscriptionPlanPlansItem.js} +0 -0
|
@@ -82,7 +82,7 @@ class AccessGroups {
|
|
|
82
82
|
Authorization: yield this._getAuthorizationHeader(),
|
|
83
83
|
"X-Fern-Language": "JavaScript",
|
|
84
84
|
"X-Fern-SDK-Name": "webflow-api",
|
|
85
|
-
"X-Fern-SDK-Version": "
|
|
85
|
+
"X-Fern-SDK-Version": "2.3.1",
|
|
86
86
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
87
87
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
88
88
|
},
|
|
@@ -28,7 +28,7 @@ export declare class Assets {
|
|
|
28
28
|
* @example
|
|
29
29
|
* await webflow.assets.list("site_id")
|
|
30
30
|
*/
|
|
31
|
-
list(siteId: string, requestOptions?: Assets.RequestOptions): Promise<Webflow.
|
|
31
|
+
list(siteId: string, requestOptions?: Assets.RequestOptions): Promise<Webflow.Assets>;
|
|
32
32
|
/**
|
|
33
33
|
* Create a new asset entry. </br></br> This endpoint generates a response with the following information: `uploadUrl` and `uploadDetails`. You can use these two properties to [upload the file to Amazon s3 by making a POST](https://docs.aws.amazon.com/AmazonS3/latest/API/RESTObjectPOST.html) request to the `uploadUrl` with the `uploadDetails` object as your header information in the request. </br></br> Required scope | `assets:write`
|
|
34
34
|
* @throws {@link Webflow.BadRequestError}
|
|
@@ -70,7 +70,7 @@ class Assets {
|
|
|
70
70
|
Authorization: yield this._getAuthorizationHeader(),
|
|
71
71
|
"X-Fern-Language": "JavaScript",
|
|
72
72
|
"X-Fern-SDK-Name": "webflow-api",
|
|
73
|
-
"X-Fern-SDK-Version": "
|
|
73
|
+
"X-Fern-SDK-Version": "2.3.1",
|
|
74
74
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
75
75
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
76
76
|
},
|
|
@@ -79,7 +79,7 @@ class Assets {
|
|
|
79
79
|
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
80
80
|
});
|
|
81
81
|
if (_response.ok) {
|
|
82
|
-
return yield serializers.
|
|
82
|
+
return yield serializers.Assets.parseOrThrow(_response.body, {
|
|
83
83
|
unrecognizedObjectKeys: "passthrough",
|
|
84
84
|
allowUnrecognizedUnionMembers: true,
|
|
85
85
|
allowUnrecognizedEnumValues: true,
|
|
@@ -146,7 +146,7 @@ class Assets {
|
|
|
146
146
|
Authorization: yield this._getAuthorizationHeader(),
|
|
147
147
|
"X-Fern-Language": "JavaScript",
|
|
148
148
|
"X-Fern-SDK-Name": "webflow-api",
|
|
149
|
-
"X-Fern-SDK-Version": "
|
|
149
|
+
"X-Fern-SDK-Version": "2.3.1",
|
|
150
150
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
151
151
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
152
152
|
},
|
|
@@ -219,7 +219,7 @@ class Assets {
|
|
|
219
219
|
Authorization: yield this._getAuthorizationHeader(),
|
|
220
220
|
"X-Fern-Language": "JavaScript",
|
|
221
221
|
"X-Fern-SDK-Name": "webflow-api",
|
|
222
|
-
"X-Fern-SDK-Version": "
|
|
222
|
+
"X-Fern-SDK-Version": "2.3.1",
|
|
223
223
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
224
224
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
225
225
|
},
|
|
@@ -291,7 +291,7 @@ class Assets {
|
|
|
291
291
|
Authorization: yield this._getAuthorizationHeader(),
|
|
292
292
|
"X-Fern-Language": "JavaScript",
|
|
293
293
|
"X-Fern-SDK-Name": "webflow-api",
|
|
294
|
-
"X-Fern-SDK-Version": "
|
|
294
|
+
"X-Fern-SDK-Version": "2.3.1",
|
|
295
295
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
296
296
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
297
297
|
},
|
|
@@ -359,7 +359,7 @@ class Assets {
|
|
|
359
359
|
Authorization: yield this._getAuthorizationHeader(),
|
|
360
360
|
"X-Fern-Language": "JavaScript",
|
|
361
361
|
"X-Fern-SDK-Name": "webflow-api",
|
|
362
|
-
"X-Fern-SDK-Version": "
|
|
362
|
+
"X-Fern-SDK-Version": "2.3.1",
|
|
363
363
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
364
364
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
365
365
|
},
|
|
@@ -432,7 +432,7 @@ class Assets {
|
|
|
432
432
|
Authorization: yield this._getAuthorizationHeader(),
|
|
433
433
|
"X-Fern-Language": "JavaScript",
|
|
434
434
|
"X-Fern-SDK-Name": "webflow-api",
|
|
435
|
-
"X-Fern-SDK-Version": "
|
|
435
|
+
"X-Fern-SDK-Version": "2.3.1",
|
|
436
436
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
437
437
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
438
438
|
},
|
|
@@ -507,7 +507,7 @@ class Assets {
|
|
|
507
507
|
Authorization: yield this._getAuthorizationHeader(),
|
|
508
508
|
"X-Fern-Language": "JavaScript",
|
|
509
509
|
"X-Fern-SDK-Name": "webflow-api",
|
|
510
|
-
"X-Fern-SDK-Version": "
|
|
510
|
+
"X-Fern-SDK-Version": "2.3.1",
|
|
511
511
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
512
512
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
513
513
|
},
|
|
@@ -580,7 +580,7 @@ class Assets {
|
|
|
580
580
|
Authorization: yield this._getAuthorizationHeader(),
|
|
581
581
|
"X-Fern-Language": "JavaScript",
|
|
582
582
|
"X-Fern-SDK-Name": "webflow-api",
|
|
583
|
-
"X-Fern-SDK-Version": "
|
|
583
|
+
"X-Fern-SDK-Version": "2.3.1",
|
|
584
584
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
585
585
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
586
586
|
},
|
|
@@ -72,7 +72,7 @@ class Collections {
|
|
|
72
72
|
Authorization: yield this._getAuthorizationHeader(),
|
|
73
73
|
"X-Fern-Language": "JavaScript",
|
|
74
74
|
"X-Fern-SDK-Name": "webflow-api",
|
|
75
|
-
"X-Fern-SDK-Version": "
|
|
75
|
+
"X-Fern-SDK-Version": "2.3.1",
|
|
76
76
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
77
77
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
78
78
|
},
|
|
@@ -148,7 +148,7 @@ class Collections {
|
|
|
148
148
|
Authorization: yield this._getAuthorizationHeader(),
|
|
149
149
|
"X-Fern-Language": "JavaScript",
|
|
150
150
|
"X-Fern-SDK-Name": "webflow-api",
|
|
151
|
-
"X-Fern-SDK-Version": "
|
|
151
|
+
"X-Fern-SDK-Version": "2.3.1",
|
|
152
152
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
153
153
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
154
154
|
},
|
|
@@ -221,7 +221,7 @@ class Collections {
|
|
|
221
221
|
Authorization: yield this._getAuthorizationHeader(),
|
|
222
222
|
"X-Fern-Language": "JavaScript",
|
|
223
223
|
"X-Fern-SDK-Name": "webflow-api",
|
|
224
|
-
"X-Fern-SDK-Version": "
|
|
224
|
+
"X-Fern-SDK-Version": "2.3.1",
|
|
225
225
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
226
226
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
227
227
|
},
|
|
@@ -293,7 +293,7 @@ class Collections {
|
|
|
293
293
|
Authorization: yield this._getAuthorizationHeader(),
|
|
294
294
|
"X-Fern-Language": "JavaScript",
|
|
295
295
|
"X-Fern-SDK-Name": "webflow-api",
|
|
296
|
-
"X-Fern-SDK-Version": "
|
|
296
|
+
"X-Fern-SDK-Version": "2.3.1",
|
|
297
297
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
298
298
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
299
299
|
},
|
|
@@ -359,7 +359,7 @@ class Collections {
|
|
|
359
359
|
Authorization: yield this._getAuthorizationHeader(),
|
|
360
360
|
"X-Fern-Language": "JavaScript",
|
|
361
361
|
"X-Fern-SDK-Name": "webflow-api",
|
|
362
|
-
"X-Fern-SDK-Version": "
|
|
362
|
+
"X-Fern-SDK-Version": "2.3.1",
|
|
363
363
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
364
364
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
365
365
|
},
|
|
@@ -75,7 +75,7 @@ class Fields {
|
|
|
75
75
|
Authorization: yield this._getAuthorizationHeader(),
|
|
76
76
|
"X-Fern-Language": "JavaScript",
|
|
77
77
|
"X-Fern-SDK-Name": "webflow-api",
|
|
78
|
-
"X-Fern-SDK-Version": "
|
|
78
|
+
"X-Fern-SDK-Version": "2.3.1",
|
|
79
79
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
80
80
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
81
81
|
},
|
|
@@ -152,7 +152,7 @@ class Fields {
|
|
|
152
152
|
Authorization: yield this._getAuthorizationHeader(),
|
|
153
153
|
"X-Fern-Language": "JavaScript",
|
|
154
154
|
"X-Fern-SDK-Name": "webflow-api",
|
|
155
|
-
"X-Fern-SDK-Version": "
|
|
155
|
+
"X-Fern-SDK-Version": "2.3.1",
|
|
156
156
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
157
157
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
158
158
|
},
|
|
@@ -88,7 +88,6 @@ export declare class Items {
|
|
|
88
88
|
* @example
|
|
89
89
|
* await webflow.collections.items.createItemForMultipleLocales("collection_id", {
|
|
90
90
|
* id: "580e64008c9a982ac9b8b754",
|
|
91
|
-
* lastPublished: "2023-03-17T18:47:35.560Z",
|
|
92
91
|
* lastUpdated: "2023-03-17T18:47:35.560Z",
|
|
93
92
|
* createdOn: "2023-03-17T18:47:35.560Z",
|
|
94
93
|
* fieldData: {
|
|
@@ -195,6 +194,6 @@ export declare class Items {
|
|
|
195
194
|
* itemIds: ["itemIds"]
|
|
196
195
|
* })
|
|
197
196
|
*/
|
|
198
|
-
publishItem(collectionId: string, request: Webflow.collections.ItemsPublishItemRequest, requestOptions?: Items.RequestOptions): Promise<
|
|
197
|
+
publishItem(collectionId: string, request: Webflow.collections.ItemsPublishItemRequest, requestOptions?: Items.RequestOptions): Promise<void>;
|
|
199
198
|
protected _getAuthorizationHeader(): Promise<string>;
|
|
200
199
|
}
|
|
@@ -86,7 +86,7 @@ class Items {
|
|
|
86
86
|
Authorization: yield this._getAuthorizationHeader(),
|
|
87
87
|
"X-Fern-Language": "JavaScript",
|
|
88
88
|
"X-Fern-SDK-Name": "webflow-api",
|
|
89
|
-
"X-Fern-SDK-Version": "
|
|
89
|
+
"X-Fern-SDK-Version": "2.3.1",
|
|
90
90
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
91
91
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
92
92
|
},
|
|
@@ -171,7 +171,7 @@ class Items {
|
|
|
171
171
|
Authorization: yield this._getAuthorizationHeader(),
|
|
172
172
|
"X-Fern-Language": "JavaScript",
|
|
173
173
|
"X-Fern-SDK-Name": "webflow-api",
|
|
174
|
-
"X-Fern-SDK-Version": "
|
|
174
|
+
"X-Fern-SDK-Version": "2.3.1",
|
|
175
175
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
176
176
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
177
177
|
},
|
|
@@ -250,7 +250,7 @@ class Items {
|
|
|
250
250
|
Authorization: yield this._getAuthorizationHeader(),
|
|
251
251
|
"X-Fern-Language": "JavaScript",
|
|
252
252
|
"X-Fern-SDK-Name": "webflow-api",
|
|
253
|
-
"X-Fern-SDK-Version": "
|
|
253
|
+
"X-Fern-SDK-Version": "2.3.1",
|
|
254
254
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
255
255
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
256
256
|
},
|
|
@@ -307,7 +307,6 @@ class Items {
|
|
|
307
307
|
* @example
|
|
308
308
|
* await webflow.collections.items.createItemForMultipleLocales("collection_id", {
|
|
309
309
|
* id: "580e64008c9a982ac9b8b754",
|
|
310
|
-
* lastPublished: "2023-03-17T18:47:35.560Z",
|
|
311
310
|
* lastUpdated: "2023-03-17T18:47:35.560Z",
|
|
312
311
|
* createdOn: "2023-03-17T18:47:35.560Z",
|
|
313
312
|
* fieldData: {
|
|
@@ -326,7 +325,7 @@ class Items {
|
|
|
326
325
|
Authorization: yield this._getAuthorizationHeader(),
|
|
327
326
|
"X-Fern-Language": "JavaScript",
|
|
328
327
|
"X-Fern-SDK-Name": "webflow-api",
|
|
329
|
-
"X-Fern-SDK-Version": "
|
|
328
|
+
"X-Fern-SDK-Version": "2.3.1",
|
|
330
329
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
331
330
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
332
331
|
},
|
|
@@ -400,7 +399,7 @@ class Items {
|
|
|
400
399
|
Authorization: yield this._getAuthorizationHeader(),
|
|
401
400
|
"X-Fern-Language": "JavaScript",
|
|
402
401
|
"X-Fern-SDK-Name": "webflow-api",
|
|
403
|
-
"X-Fern-SDK-Version": "
|
|
402
|
+
"X-Fern-SDK-Version": "2.3.1",
|
|
404
403
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
405
404
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
406
405
|
},
|
|
@@ -483,7 +482,7 @@ class Items {
|
|
|
483
482
|
Authorization: yield this._getAuthorizationHeader(),
|
|
484
483
|
"X-Fern-Language": "JavaScript",
|
|
485
484
|
"X-Fern-SDK-Name": "webflow-api",
|
|
486
|
-
"X-Fern-SDK-Version": "
|
|
485
|
+
"X-Fern-SDK-Version": "2.3.1",
|
|
487
486
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
488
487
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
489
488
|
},
|
|
@@ -562,7 +561,7 @@ class Items {
|
|
|
562
561
|
Authorization: yield this._getAuthorizationHeader(),
|
|
563
562
|
"X-Fern-Language": "JavaScript",
|
|
564
563
|
"X-Fern-SDK-Name": "webflow-api",
|
|
565
|
-
"X-Fern-SDK-Version": "
|
|
564
|
+
"X-Fern-SDK-Version": "2.3.1",
|
|
566
565
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
567
566
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
568
567
|
},
|
|
@@ -635,7 +634,7 @@ class Items {
|
|
|
635
634
|
Authorization: yield this._getAuthorizationHeader(),
|
|
636
635
|
"X-Fern-Language": "JavaScript",
|
|
637
636
|
"X-Fern-SDK-Name": "webflow-api",
|
|
638
|
-
"X-Fern-SDK-Version": "
|
|
637
|
+
"X-Fern-SDK-Version": "2.3.1",
|
|
639
638
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
640
639
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
641
640
|
},
|
|
@@ -713,7 +712,7 @@ class Items {
|
|
|
713
712
|
Authorization: yield this._getAuthorizationHeader(),
|
|
714
713
|
"X-Fern-Language": "JavaScript",
|
|
715
714
|
"X-Fern-SDK-Name": "webflow-api",
|
|
716
|
-
"X-Fern-SDK-Version": "
|
|
715
|
+
"X-Fern-SDK-Version": "2.3.1",
|
|
717
716
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
718
717
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
719
718
|
},
|
|
@@ -788,7 +787,7 @@ class Items {
|
|
|
788
787
|
Authorization: yield this._getAuthorizationHeader(),
|
|
789
788
|
"X-Fern-Language": "JavaScript",
|
|
790
789
|
"X-Fern-SDK-Name": "webflow-api",
|
|
791
|
-
"X-Fern-SDK-Version": "
|
|
790
|
+
"X-Fern-SDK-Version": "2.3.1",
|
|
792
791
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
793
792
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
794
793
|
},
|
|
@@ -800,13 +799,7 @@ class Items {
|
|
|
800
799
|
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
801
800
|
});
|
|
802
801
|
if (_response.ok) {
|
|
803
|
-
return
|
|
804
|
-
unrecognizedObjectKeys: "passthrough",
|
|
805
|
-
allowUnrecognizedUnionMembers: true,
|
|
806
|
-
allowUnrecognizedEnumValues: true,
|
|
807
|
-
skipValidation: true,
|
|
808
|
-
breadcrumbsPrefix: ["response"],
|
|
809
|
-
});
|
|
802
|
+
return;
|
|
810
803
|
}
|
|
811
804
|
if (_response.error.reason === "status-code") {
|
|
812
805
|
switch (_response.error.statusCode) {
|
|
@@ -15,4 +15,3 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
17
|
__exportStar(require("./BulkCollectionItemFieldData"), exports);
|
|
18
|
-
__exportStar(require("./ItemsPublishItemResponse"), exports);
|
|
@@ -74,7 +74,7 @@ class Ecommerce {
|
|
|
74
74
|
Authorization: yield this._getAuthorizationHeader(),
|
|
75
75
|
"X-Fern-Language": "JavaScript",
|
|
76
76
|
"X-Fern-SDK-Name": "webflow-api",
|
|
77
|
-
"X-Fern-SDK-Version": "
|
|
77
|
+
"X-Fern-SDK-Version": "2.3.1",
|
|
78
78
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
79
79
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
80
80
|
},
|
|
@@ -80,7 +80,7 @@ class Forms {
|
|
|
80
80
|
Authorization: yield this._getAuthorizationHeader(),
|
|
81
81
|
"X-Fern-Language": "JavaScript",
|
|
82
82
|
"X-Fern-SDK-Name": "webflow-api",
|
|
83
|
-
"X-Fern-SDK-Version": "
|
|
83
|
+
"X-Fern-SDK-Version": "2.3.1",
|
|
84
84
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
85
85
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
86
86
|
},
|
|
@@ -158,7 +158,7 @@ class Forms {
|
|
|
158
158
|
Authorization: yield this._getAuthorizationHeader(),
|
|
159
159
|
"X-Fern-Language": "JavaScript",
|
|
160
160
|
"X-Fern-SDK-Name": "webflow-api",
|
|
161
|
-
"X-Fern-SDK-Version": "
|
|
161
|
+
"X-Fern-SDK-Version": "2.3.1",
|
|
162
162
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
163
163
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
164
164
|
},
|
|
@@ -233,7 +233,7 @@ class Forms {
|
|
|
233
233
|
Authorization: yield this._getAuthorizationHeader(),
|
|
234
234
|
"X-Fern-Language": "JavaScript",
|
|
235
235
|
"X-Fern-SDK-Name": "webflow-api",
|
|
236
|
-
"X-Fern-SDK-Version": "
|
|
236
|
+
"X-Fern-SDK-Version": "2.3.1",
|
|
237
237
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
238
238
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
239
239
|
},
|
|
@@ -308,7 +308,7 @@ class Forms {
|
|
|
308
308
|
Authorization: yield this._getAuthorizationHeader(),
|
|
309
309
|
"X-Fern-Language": "JavaScript",
|
|
310
310
|
"X-Fern-SDK-Name": "webflow-api",
|
|
311
|
-
"X-Fern-SDK-Version": "
|
|
311
|
+
"X-Fern-SDK-Version": "2.3.1",
|
|
312
312
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
313
313
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
314
314
|
},
|
|
@@ -384,7 +384,7 @@ class Forms {
|
|
|
384
384
|
Authorization: yield this._getAuthorizationHeader(),
|
|
385
385
|
"X-Fern-Language": "JavaScript",
|
|
386
386
|
"X-Fern-SDK-Name": "webflow-api",
|
|
387
|
-
"X-Fern-SDK-Version": "
|
|
387
|
+
"X-Fern-SDK-Version": "2.3.1",
|
|
388
388
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
389
389
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
390
390
|
},
|
|
@@ -74,7 +74,7 @@ class Inventory {
|
|
|
74
74
|
Authorization: yield this._getAuthorizationHeader(),
|
|
75
75
|
"X-Fern-Language": "JavaScript",
|
|
76
76
|
"X-Fern-SDK-Name": "webflow-api",
|
|
77
|
-
"X-Fern-SDK-Version": "
|
|
77
|
+
"X-Fern-SDK-Version": "2.3.1",
|
|
78
78
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
79
79
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
80
80
|
},
|
|
@@ -158,7 +158,7 @@ class Inventory {
|
|
|
158
158
|
Authorization: yield this._getAuthorizationHeader(),
|
|
159
159
|
"X-Fern-Language": "JavaScript",
|
|
160
160
|
"X-Fern-SDK-Name": "webflow-api",
|
|
161
|
-
"X-Fern-SDK-Version": "
|
|
161
|
+
"X-Fern-SDK-Version": "2.3.1",
|
|
162
162
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
163
163
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
164
164
|
},
|
|
@@ -85,7 +85,7 @@ class Orders {
|
|
|
85
85
|
Authorization: yield this._getAuthorizationHeader(),
|
|
86
86
|
"X-Fern-Language": "JavaScript",
|
|
87
87
|
"X-Fern-SDK-Name": "webflow-api",
|
|
88
|
-
"X-Fern-SDK-Version": "
|
|
88
|
+
"X-Fern-SDK-Version": "2.3.1",
|
|
89
89
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
90
90
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
91
91
|
},
|
|
@@ -166,7 +166,7 @@ class Orders {
|
|
|
166
166
|
Authorization: yield this._getAuthorizationHeader(),
|
|
167
167
|
"X-Fern-Language": "JavaScript",
|
|
168
168
|
"X-Fern-SDK-Name": "webflow-api",
|
|
169
|
-
"X-Fern-SDK-Version": "
|
|
169
|
+
"X-Fern-SDK-Version": "2.3.1",
|
|
170
170
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
171
171
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
172
172
|
},
|
|
@@ -251,7 +251,7 @@ class Orders {
|
|
|
251
251
|
Authorization: yield this._getAuthorizationHeader(),
|
|
252
252
|
"X-Fern-Language": "JavaScript",
|
|
253
253
|
"X-Fern-SDK-Name": "webflow-api",
|
|
254
|
-
"X-Fern-SDK-Version": "
|
|
254
|
+
"X-Fern-SDK-Version": "2.3.1",
|
|
255
255
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
256
256
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
257
257
|
},
|
|
@@ -332,7 +332,7 @@ class Orders {
|
|
|
332
332
|
Authorization: yield this._getAuthorizationHeader(),
|
|
333
333
|
"X-Fern-Language": "JavaScript",
|
|
334
334
|
"X-Fern-SDK-Name": "webflow-api",
|
|
335
|
-
"X-Fern-SDK-Version": "
|
|
335
|
+
"X-Fern-SDK-Version": "2.3.1",
|
|
336
336
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
337
337
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
338
338
|
},
|
|
@@ -415,7 +415,7 @@ class Orders {
|
|
|
415
415
|
Authorization: yield this._getAuthorizationHeader(),
|
|
416
416
|
"X-Fern-Language": "JavaScript",
|
|
417
417
|
"X-Fern-SDK-Name": "webflow-api",
|
|
418
|
-
"X-Fern-SDK-Version": "
|
|
418
|
+
"X-Fern-SDK-Version": "2.3.1",
|
|
419
419
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
420
420
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
421
421
|
},
|
|
@@ -496,7 +496,7 @@ class Orders {
|
|
|
496
496
|
Authorization: yield this._getAuthorizationHeader(),
|
|
497
497
|
"X-Fern-Language": "JavaScript",
|
|
498
498
|
"X-Fern-SDK-Name": "webflow-api",
|
|
499
|
-
"X-Fern-SDK-Version": "
|
|
499
|
+
"X-Fern-SDK-Version": "2.3.1",
|
|
500
500
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
501
501
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
502
502
|
},
|
|
@@ -53,27 +53,27 @@ export declare class Pages {
|
|
|
53
53
|
* @example
|
|
54
54
|
* await webflow.pages.updatePageSettings("page_id", {
|
|
55
55
|
* body: {
|
|
56
|
-
* id: "
|
|
57
|
-
* siteId: "
|
|
58
|
-
* title: "
|
|
59
|
-
* slug: "
|
|
56
|
+
* id: "6596da6045e56dee495bcbba",
|
|
57
|
+
* siteId: "6258612d1ee792848f805dcf",
|
|
58
|
+
* title: "Guide to the Galaxy",
|
|
59
|
+
* slug: "guide-to-the-galaxy",
|
|
60
60
|
* parentId: "6419db964a9c435aa3af6251",
|
|
61
61
|
* collectionId: "6390c49774a71f12831a08e3",
|
|
62
|
-
* createdOn: new Date("
|
|
63
|
-
* lastUpdated: new Date("
|
|
62
|
+
* createdOn: new Date("2024-03-11T10:42:00.000Z"),
|
|
63
|
+
* lastUpdated: new Date("2024-03-11T10:42:42.000Z"),
|
|
64
64
|
* archived: false,
|
|
65
65
|
* draft: false,
|
|
66
66
|
* canBranch: true,
|
|
67
67
|
* isMembersOnly: false,
|
|
68
68
|
* seo: {
|
|
69
|
-
* title: "
|
|
70
|
-
* description: "
|
|
69
|
+
* title: "The Ultimate Hitchhiker's Guide to the Galaxy",
|
|
70
|
+
* description: "Everything you need to know about the galaxy, from avoiding Vogon poetry to the importance of towels."
|
|
71
71
|
* },
|
|
72
72
|
* openGraph: {
|
|
73
|
-
* title: "
|
|
74
|
-
* titleCopied:
|
|
75
|
-
* description: "
|
|
76
|
-
* descriptionCopied:
|
|
73
|
+
* title: "Explore the Cosmos with The Ultimate Guide",
|
|
74
|
+
* titleCopied: false,
|
|
75
|
+
* description: "Dive deep into the mysteries of the universe with your guide to everything galactic.",
|
|
76
|
+
* descriptionCopied: false
|
|
77
77
|
* }
|
|
78
78
|
* }
|
|
79
79
|
* })
|
|
@@ -105,12 +105,21 @@ export declare class Pages {
|
|
|
105
105
|
* await webflow.pages.updateStaticContent("page_id", {
|
|
106
106
|
* locale: "locale",
|
|
107
107
|
* nodes: [{
|
|
108
|
-
* nodeId: "
|
|
108
|
+
* nodeId: "a245c12d-995b-55ee-5ec7-aa36a6cad623",
|
|
109
|
+
* text: "<h1>The Hitchhiker's Guide to the Galaxy</h1>"
|
|
110
|
+
* }, {
|
|
111
|
+
* nodeId: "a245c12d-995b-55ee-5ec7-aa36a6cad627",
|
|
112
|
+
* text: "<div><h3>Don't Panic!</h3><p>Always know where your towel is.</p></div>"
|
|
113
|
+
* }, {
|
|
114
|
+
* nodeId: "a245c12d-995b-55ee-5ec7-aa36a6cad629",
|
|
115
|
+
* text: "<img alt='Marvin, the Paranoid Android' src='path/to/image/with/assetId/659595234426a9fcbad57043'/>"
|
|
116
|
+
* }, {
|
|
117
|
+
* nodeId: "a245c12d-995b-55ee-5ec7-aa36a6cad623",
|
|
109
118
|
* text: "<h1>Hello world</h1>"
|
|
110
119
|
* }]
|
|
111
120
|
* })
|
|
112
121
|
*/
|
|
113
|
-
updateStaticContent(pageId: string, request: Webflow.DomWrite, requestOptions?: Pages.RequestOptions): Promise<Webflow.
|
|
122
|
+
updateStaticContent(pageId: string, request: Webflow.DomWrite, requestOptions?: Pages.RequestOptions): Promise<Webflow.UpdateStaticContentResponse>;
|
|
114
123
|
protected _scripts: Scripts | undefined;
|
|
115
124
|
get scripts(): Scripts;
|
|
116
125
|
protected _getAuthorizationHeader(): Promise<string>;
|
|
@@ -93,7 +93,7 @@ class Pages {
|
|
|
93
93
|
Authorization: yield this._getAuthorizationHeader(),
|
|
94
94
|
"X-Fern-Language": "JavaScript",
|
|
95
95
|
"X-Fern-SDK-Name": "webflow-api",
|
|
96
|
-
"X-Fern-SDK-Version": "
|
|
96
|
+
"X-Fern-SDK-Version": "2.3.1",
|
|
97
97
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
98
98
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
99
99
|
},
|
|
@@ -171,7 +171,7 @@ class Pages {
|
|
|
171
171
|
Authorization: yield this._getAuthorizationHeader(),
|
|
172
172
|
"X-Fern-Language": "JavaScript",
|
|
173
173
|
"X-Fern-SDK-Name": "webflow-api",
|
|
174
|
-
"X-Fern-SDK-Version": "
|
|
174
|
+
"X-Fern-SDK-Version": "2.3.1",
|
|
175
175
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
176
176
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
177
177
|
},
|
|
@@ -234,27 +234,27 @@ class Pages {
|
|
|
234
234
|
* @example
|
|
235
235
|
* await webflow.pages.updatePageSettings("page_id", {
|
|
236
236
|
* body: {
|
|
237
|
-
* id: "
|
|
238
|
-
* siteId: "
|
|
239
|
-
* title: "
|
|
240
|
-
* slug: "
|
|
237
|
+
* id: "6596da6045e56dee495bcbba",
|
|
238
|
+
* siteId: "6258612d1ee792848f805dcf",
|
|
239
|
+
* title: "Guide to the Galaxy",
|
|
240
|
+
* slug: "guide-to-the-galaxy",
|
|
241
241
|
* parentId: "6419db964a9c435aa3af6251",
|
|
242
242
|
* collectionId: "6390c49774a71f12831a08e3",
|
|
243
|
-
* createdOn: new Date("
|
|
244
|
-
* lastUpdated: new Date("
|
|
243
|
+
* createdOn: new Date("2024-03-11T10:42:00.000Z"),
|
|
244
|
+
* lastUpdated: new Date("2024-03-11T10:42:42.000Z"),
|
|
245
245
|
* archived: false,
|
|
246
246
|
* draft: false,
|
|
247
247
|
* canBranch: true,
|
|
248
248
|
* isMembersOnly: false,
|
|
249
249
|
* seo: {
|
|
250
|
-
* title: "
|
|
251
|
-
* description: "
|
|
250
|
+
* title: "The Ultimate Hitchhiker's Guide to the Galaxy",
|
|
251
|
+
* description: "Everything you need to know about the galaxy, from avoiding Vogon poetry to the importance of towels."
|
|
252
252
|
* },
|
|
253
253
|
* openGraph: {
|
|
254
|
-
* title: "
|
|
255
|
-
* titleCopied:
|
|
256
|
-
* description: "
|
|
257
|
-
* descriptionCopied:
|
|
254
|
+
* title: "Explore the Cosmos with The Ultimate Guide",
|
|
255
|
+
* titleCopied: false,
|
|
256
|
+
* description: "Dive deep into the mysteries of the universe with your guide to everything galactic.",
|
|
257
|
+
* descriptionCopied: false
|
|
258
258
|
* }
|
|
259
259
|
* }
|
|
260
260
|
* })
|
|
@@ -274,7 +274,7 @@ class Pages {
|
|
|
274
274
|
Authorization: yield this._getAuthorizationHeader(),
|
|
275
275
|
"X-Fern-Language": "JavaScript",
|
|
276
276
|
"X-Fern-SDK-Name": "webflow-api",
|
|
277
|
-
"X-Fern-SDK-Version": "
|
|
277
|
+
"X-Fern-SDK-Version": "2.3.1",
|
|
278
278
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
279
279
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
280
280
|
},
|
|
@@ -354,7 +354,7 @@ class Pages {
|
|
|
354
354
|
Authorization: yield this._getAuthorizationHeader(),
|
|
355
355
|
"X-Fern-Language": "JavaScript",
|
|
356
356
|
"X-Fern-SDK-Name": "webflow-api",
|
|
357
|
-
"X-Fern-SDK-Version": "
|
|
357
|
+
"X-Fern-SDK-Version": "2.3.1",
|
|
358
358
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
359
359
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
360
360
|
},
|
|
@@ -421,7 +421,16 @@ class Pages {
|
|
|
421
421
|
* await webflow.pages.updateStaticContent("page_id", {
|
|
422
422
|
* locale: "locale",
|
|
423
423
|
* nodes: [{
|
|
424
|
-
* nodeId: "
|
|
424
|
+
* nodeId: "a245c12d-995b-55ee-5ec7-aa36a6cad623",
|
|
425
|
+
* text: "<h1>The Hitchhiker's Guide to the Galaxy</h1>"
|
|
426
|
+
* }, {
|
|
427
|
+
* nodeId: "a245c12d-995b-55ee-5ec7-aa36a6cad627",
|
|
428
|
+
* text: "<div><h3>Don't Panic!</h3><p>Always know where your towel is.</p></div>"
|
|
429
|
+
* }, {
|
|
430
|
+
* nodeId: "a245c12d-995b-55ee-5ec7-aa36a6cad629",
|
|
431
|
+
* text: "<img alt='Marvin, the Paranoid Android' src='path/to/image/with/assetId/659595234426a9fcbad57043'/>"
|
|
432
|
+
* }, {
|
|
433
|
+
* nodeId: "a245c12d-995b-55ee-5ec7-aa36a6cad623",
|
|
425
434
|
* text: "<h1>Hello world</h1>"
|
|
426
435
|
* }]
|
|
427
436
|
* })
|
|
@@ -439,7 +448,7 @@ class Pages {
|
|
|
439
448
|
Authorization: yield this._getAuthorizationHeader(),
|
|
440
449
|
"X-Fern-Language": "JavaScript",
|
|
441
450
|
"X-Fern-SDK-Name": "webflow-api",
|
|
442
|
-
"X-Fern-SDK-Version": "
|
|
451
|
+
"X-Fern-SDK-Version": "2.3.1",
|
|
443
452
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
444
453
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
445
454
|
},
|
|
@@ -450,7 +459,7 @@ class Pages {
|
|
|
450
459
|
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
451
460
|
});
|
|
452
461
|
if (_response.ok) {
|
|
453
|
-
return yield serializers.
|
|
462
|
+
return yield serializers.UpdateStaticContentResponse.parseOrThrow(_response.body, {
|
|
454
463
|
unrecognizedObjectKeys: "passthrough",
|
|
455
464
|
allowUnrecognizedUnionMembers: true,
|
|
456
465
|
allowUnrecognizedEnumValues: true,
|
|
@@ -7,7 +7,16 @@ import * as Webflow from "../../../..";
|
|
|
7
7
|
* {
|
|
8
8
|
* locale: "locale",
|
|
9
9
|
* nodes: [{
|
|
10
|
-
* nodeId: "
|
|
10
|
+
* nodeId: "a245c12d-995b-55ee-5ec7-aa36a6cad623",
|
|
11
|
+
* text: "<h1>The Hitchhiker's Guide to the Galaxy</h1>"
|
|
12
|
+
* }, {
|
|
13
|
+
* nodeId: "a245c12d-995b-55ee-5ec7-aa36a6cad627",
|
|
14
|
+
* text: "<div><h3>Don't Panic!</h3><p>Always know where your towel is.</p></div>"
|
|
15
|
+
* }, {
|
|
16
|
+
* nodeId: "a245c12d-995b-55ee-5ec7-aa36a6cad629",
|
|
17
|
+
* text: "<img alt='Marvin, the Paranoid Android' src='path/to/image/with/assetId/659595234426a9fcbad57043'/>"
|
|
18
|
+
* }, {
|
|
19
|
+
* nodeId: "a245c12d-995b-55ee-5ec7-aa36a6cad623",
|
|
11
20
|
* text: "<h1>Hello world</h1>"
|
|
12
21
|
* }]
|
|
13
22
|
* }
|