webflow-api 2.2.1 → 2.3.2
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.js +8 -8
- 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 +13 -2
- package/api/resources/collections/resources/items/client/Client.js +100 -18
- package/api/resources/collections/resources/items/client/requests/BulkCollectionItem.d.ts +0 -1
- package/api/resources/collections/resources/items/client/requests/ItemsListItemsLiveRequest.d.ts +21 -0
- package/api/resources/collections/resources/items/client/requests/index.d.ts +1 -0
- 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/{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 +9 -1
- package/api/types/OauthScope.js +2 -0
- 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 +7 -1
- package/api/types/index.js +7 -1
- package/dist/api/resources/accessGroups/client/Client.js +1 -1
- package/dist/api/resources/assets/client/Client.js +8 -8
- 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 +13 -2
- package/dist/api/resources/collections/resources/items/client/Client.js +100 -18
- package/dist/api/resources/collections/resources/items/client/requests/BulkCollectionItem.d.ts +0 -1
- package/dist/api/resources/collections/resources/items/client/requests/ItemsListItemsLiveRequest.d.ts +21 -0
- package/dist/api/resources/collections/resources/items/client/requests/index.d.ts +1 -0
- 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/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 +9 -1
- package/dist/api/types/OauthScope.js +2 -0
- 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 +7 -1
- package/dist/api/types/index.js +7 -1
- 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/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/{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/products/types/ProductSkuCreateSkuFieldDataCompareAtPrice.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 +2 -0
- 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/types/Sites.js +42 -0
- 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 +7 -1
- package/dist/serialization/types/index.js +7 -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/collections/resources/items/types/index.d.ts +0 -1
- package/serialization/resources/collections/resources/items/types/index.js +0 -1
- 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/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 +2 -0
- 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/types/Sites.js +42 -0
- 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 +7 -1
- package/serialization/types/index.js +7 -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/collections/resources/items/types/ItemsPublishItemResponse.d.ts +0 -13
- package/dist/serialization/resources/collections/resources/items/types/ItemsPublishItemResponse.js +0 -34
- 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/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/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 → client/requests/ItemsListItemsLiveRequest.js} +0 -0
- /package/api/resources/{products/client/requests/ProductsUpdateRequest.js → pages/types/UpdateStaticContentResponse.js} +0 -0
- /package/api/resources/products/{types/ProductSkuCreateProduct.js → client/requests/ProductSkuUpdate.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/collections/resources/items/client/requests/ItemsListItemsLiveRequest.js} +0 -0
- /package/dist/api/resources/{collections/resources/items/types/ItemsPublishItemResponse.js → pages/types/UpdateStaticContentResponse.js} +0 -0
- /package/dist/api/resources/products/client/requests/{ProductsUpdateRequest.js → ProductSkuUpdate.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
|
@@ -5,19 +5,19 @@ import * as Webflow from "..";
|
|
|
5
5
|
export interface AssetUpload {
|
|
6
6
|
/** Metadata for uploading the asset binary */
|
|
7
7
|
uploadDetails?: Webflow.AssetUploadUploadDetails;
|
|
8
|
-
id?: string;
|
|
9
8
|
contentType?: string;
|
|
9
|
+
id?: string;
|
|
10
10
|
/** Parent folder for the asset */
|
|
11
11
|
parentFolder?: string;
|
|
12
|
-
/** Represents the link to the asset */
|
|
13
|
-
hostedUrl?: string;
|
|
14
12
|
uploadUrl?: string;
|
|
15
13
|
/** S3 link to the asset */
|
|
16
14
|
assetUrl?: string;
|
|
15
|
+
/** Represents the link to the asset */
|
|
16
|
+
hostedUrl?: string;
|
|
17
17
|
/** Original file name when uploaded. If not specified at time of upload, it may be extracted from the raw file name */
|
|
18
18
|
originalFileName?: string;
|
|
19
|
-
/** Date the asset metadata was last updated */
|
|
20
|
-
lastUpdated?: Date;
|
|
21
19
|
/** Date the asset metadata was created */
|
|
22
20
|
createdOn?: Date;
|
|
21
|
+
/** Date the asset metadata was last updated */
|
|
22
|
+
lastUpdated?: Date;
|
|
23
23
|
}
|
|
@@ -7,13 +7,11 @@
|
|
|
7
7
|
export interface AssetUploadUploadDetails {
|
|
8
8
|
acl?: string;
|
|
9
9
|
bucket?: string;
|
|
10
|
-
key?: string;
|
|
11
|
-
policy?: string;
|
|
12
10
|
xAmzAlgorithm?: string;
|
|
13
11
|
xAmzCredential?: string;
|
|
14
12
|
xAmzDate?: string;
|
|
15
|
-
|
|
16
|
-
|
|
13
|
+
key?: string;
|
|
14
|
+
policy?: string;
|
|
17
15
|
xAmzSignature?: string;
|
|
18
16
|
successActionStatus?: string;
|
|
19
17
|
contentType?: string;
|
|
@@ -2,9 +2,13 @@
|
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
4
|
export interface AssetVariant {
|
|
5
|
+
/** URL of where the asset variant is hosted */
|
|
5
6
|
hostedUrl?: string;
|
|
7
|
+
/** Original file name of the variant */
|
|
6
8
|
originalFileName?: string;
|
|
9
|
+
/** Display name of the variant */
|
|
7
10
|
displayName?: string;
|
|
11
|
+
/** format of the variant */
|
|
8
12
|
format?: string;
|
|
9
13
|
/** Width in pixels */
|
|
10
14
|
width?: number;
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
/**
|
|
5
|
+
* Registered custom code for application
|
|
6
|
+
*/
|
|
7
|
+
export interface CustomCodeHostedResponse {
|
|
8
|
+
/** Human readable id, derived from the user-specified display name */
|
|
9
|
+
id?: string;
|
|
10
|
+
/** Define whether the script can be copied on site duplication and transfer */
|
|
11
|
+
canCopy?: boolean;
|
|
12
|
+
/** User-facing name for the script */
|
|
13
|
+
displayName?: string;
|
|
14
|
+
/** URI for an externally hosted script location */
|
|
15
|
+
hostedLocation?: string;
|
|
16
|
+
/** Sub-Resource Integrity Hash. Only required for externally hosted scripts (passed via hostedLocation) */
|
|
17
|
+
integrityHash?: string;
|
|
18
|
+
/** Timestamp when the script version was created */
|
|
19
|
+
createdOn?: string;
|
|
20
|
+
/** Timestamp when the script version was last updated */
|
|
21
|
+
lastUpdated?: string;
|
|
22
|
+
/** A Semantic Version (SemVer) string, denoting the version of the script */
|
|
23
|
+
version?: string;
|
|
24
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
/**
|
|
5
|
+
* Registered custom code for application
|
|
6
|
+
*/
|
|
7
|
+
export interface CustomCodeInlineResponse {
|
|
8
|
+
/** Human readable id, derived from the user-specified display name */
|
|
9
|
+
id?: string;
|
|
10
|
+
/** Define whether the script can be copied on site duplication and transfer */
|
|
11
|
+
canCopy?: boolean;
|
|
12
|
+
/** User-facing name for the script */
|
|
13
|
+
displayName?: string;
|
|
14
|
+
/** URI for an externally hosted script location */
|
|
15
|
+
hostedLocation?: string;
|
|
16
|
+
/** Sub-Resource Integrity Hash. Only required for externally hosted scripts (passed via hostedLocation) */
|
|
17
|
+
integrityHash?: string;
|
|
18
|
+
/** Timestamp when the script version was created */
|
|
19
|
+
createdOn?: string;
|
|
20
|
+
/** Timestamp when the script version was last updated */
|
|
21
|
+
lastUpdated?: string;
|
|
22
|
+
/** A Semantic Version (SemVer) string, denoting the version of the script */
|
|
23
|
+
version?: string;
|
|
24
|
+
}
|
package/dist/api/types/Form.d.ts
CHANGED
|
@@ -2,11 +2,22 @@
|
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
4
|
import * as Webflow from "..";
|
|
5
|
+
/**
|
|
6
|
+
* A Webflow form
|
|
7
|
+
*/
|
|
5
8
|
export interface Form {
|
|
6
|
-
/** The unique id for the Form */
|
|
7
|
-
id?: string;
|
|
8
9
|
/** The Form name displayed on the site */
|
|
9
10
|
displayName?: string;
|
|
11
|
+
/** Date that the Form was created on */
|
|
12
|
+
createdOn?: Date;
|
|
13
|
+
/** Date that the Form was last updated on */
|
|
14
|
+
lastUpdated?: Date;
|
|
15
|
+
/** A list of form fields */
|
|
16
|
+
fields?: Webflow.FormField[];
|
|
17
|
+
/** Settings for form responses */
|
|
18
|
+
responseSettings?: Webflow.FormResponseSettings;
|
|
19
|
+
/** The unique id for the Form */
|
|
20
|
+
id?: string;
|
|
10
21
|
/** The unique id of the Site the Form belongs to */
|
|
11
22
|
siteId?: string;
|
|
12
23
|
/** The unique id corresponding to the site's Domain name */
|
|
@@ -17,10 +28,4 @@ export interface Form {
|
|
|
17
28
|
pageName?: string;
|
|
18
29
|
/** The unique id of the Workspace the Site belongs to */
|
|
19
30
|
workspaceId?: string;
|
|
20
|
-
/** Date that the Form was created on */
|
|
21
|
-
createdOn?: Date;
|
|
22
|
-
/** Date that the Form was last updated on */
|
|
23
|
-
lastUpdated?: Date;
|
|
24
|
-
fields?: Webflow.FormField[];
|
|
25
|
-
responseSettings?: Webflow.FormResponseSettings;
|
|
26
31
|
}
|
|
@@ -2,6 +2,9 @@
|
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
4
|
import * as Webflow from "..";
|
|
5
|
+
/**
|
|
6
|
+
* An object containing field info for a specific fieldID.
|
|
7
|
+
*/
|
|
5
8
|
export interface FormFieldValue {
|
|
6
9
|
/** The field name displayed on the site */
|
|
7
10
|
displayName?: string;
|
|
@@ -1,13 +1,16 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
|
+
/**
|
|
5
|
+
* Settings for form responses
|
|
6
|
+
*/
|
|
4
7
|
export interface FormResponseSettings {
|
|
5
|
-
/** Whether to send an email confirmation to the user */
|
|
6
|
-
sendEmailConfirmation?: boolean;
|
|
7
8
|
/** The url or path to redirect the user to after form submission */
|
|
8
9
|
redirectUrl?: string;
|
|
9
10
|
/** The HTTP request method to use for the redirectUrl (eg. POST or GET) */
|
|
10
11
|
redirectMethod?: string;
|
|
11
12
|
/** The action to take after form submission */
|
|
12
13
|
redirectAction?: string;
|
|
14
|
+
/** Whether to send an email confirmation to the user */
|
|
15
|
+
sendEmailConfirmation?: boolean;
|
|
13
16
|
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
export interface Locale {
|
|
5
|
+
/** The unique identifier for the locale. */
|
|
6
|
+
id?: string;
|
|
7
|
+
/** A CMS-specific identifier for the locale. */
|
|
8
|
+
cmsLocaleId?: string;
|
|
9
|
+
/** Indicates if the locale is enabled. */
|
|
10
|
+
enabled?: boolean;
|
|
11
|
+
/** The display name of the locale, typically in English. */
|
|
12
|
+
displayName?: string;
|
|
13
|
+
/** An optional ID for an image associated with the locale, nullable. */
|
|
14
|
+
displayImageId?: string;
|
|
15
|
+
/** Determines if requests should redirect to the locale's subdirectory. */
|
|
16
|
+
redirect?: boolean;
|
|
17
|
+
/** The subdirectory path for the locale, used in URLs. */
|
|
18
|
+
subdirectory?: string;
|
|
19
|
+
/** A tag or code representing the locale, often following a standard format like 'en-US'. */
|
|
20
|
+
tag?: string;
|
|
21
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as Webflow from "..";
|
|
5
|
+
export interface Locales {
|
|
6
|
+
/** The primary locale for the site or application. */
|
|
7
|
+
primary?: Webflow.Locale;
|
|
8
|
+
/** A list of secondary locales available for the site or application. */
|
|
9
|
+
secondary?: Webflow.Locale[];
|
|
10
|
+
}
|
package/dist/api/types/Node.d.ts
CHANGED
|
@@ -55,7 +55,13 @@ export declare type OauthScope =
|
|
|
55
55
|
| "site_activity:read"
|
|
56
56
|
/**
|
|
57
57
|
* modify users on the site */
|
|
58
|
-
| "users:write"
|
|
58
|
+
| "users:write"
|
|
59
|
+
/**
|
|
60
|
+
* read workspace resource data */
|
|
61
|
+
| "workspace:read"
|
|
62
|
+
/**
|
|
63
|
+
* write workspace resource data */
|
|
64
|
+
| "workspace:write";
|
|
59
65
|
export declare const OauthScope: {
|
|
60
66
|
readonly AuthorizedUserRead: "authorized_user:read";
|
|
61
67
|
readonly AssetsRead: "assets:read";
|
|
@@ -75,4 +81,6 @@ export declare const OauthScope: {
|
|
|
75
81
|
readonly UsersRead: "users:read";
|
|
76
82
|
readonly SiteActivityRead: "site_activity:read";
|
|
77
83
|
readonly UsersWrite: "users:write";
|
|
84
|
+
readonly WorkspaceRead: "workspace:read";
|
|
85
|
+
readonly WorkspaceWrite: "workspace:write";
|
|
78
86
|
};
|
|
@@ -7,19 +7,19 @@ export interface Order {
|
|
|
7
7
|
orderId?: string;
|
|
8
8
|
/** The status of the Order */
|
|
9
9
|
status?: Webflow.OrderStatus;
|
|
10
|
-
/** A comment string for this Order editable by API user (not used by Webflow). */
|
|
10
|
+
/** A comment string for this Order, which is editable by API user (not used by Webflow). */
|
|
11
11
|
comment?: string;
|
|
12
12
|
/** A comment that the customer left when making their Order */
|
|
13
13
|
orderComment?: string;
|
|
14
14
|
/** The ISO8601 timestamp that an Order was placed. */
|
|
15
15
|
acceptedOn?: Date;
|
|
16
|
-
/**
|
|
16
|
+
/** When an Order is marked as 'fulfilled', this field represents the timestamp of the fulfillment in ISO8601 format. Otherwise, it is null. */
|
|
17
17
|
fulfilledOn?: Date;
|
|
18
|
-
/**
|
|
18
|
+
/** When an Order is marked as 'refunded', this field represents the timestamp of the fulfillment in ISO8601 format. Otherwise, it is null. */
|
|
19
19
|
refundedOn?: Date;
|
|
20
|
-
/**
|
|
20
|
+
/** When an Order is marked as 'disputed', this field represents the timestamp of the fulfillment in ISO8601 format. Otherwise, it is null. */
|
|
21
21
|
disputedOn?: Date;
|
|
22
|
-
/** If an Order
|
|
22
|
+
/** If an Order has been disputed by the customer, this key will be set to the ISO8601 timestamp of the last update received. If the Order is not disputed, the key will be null. */
|
|
23
23
|
disputeUpdatedOn?: Date;
|
|
24
24
|
/** If an order was disputed by the customer, then this key will be set with the [dispute's status](https://stripe.com/docs/api#dispute_object-status). */
|
|
25
25
|
disputeLastStatus?: Webflow.OrderDisputeLastStatus;
|
|
@@ -8,7 +8,7 @@ import * as Webflow from "..";
|
|
|
8
8
|
export interface OrderAddress {
|
|
9
9
|
/** The type of the order address (billing or shipping) */
|
|
10
10
|
type?: Webflow.OrderAddressType;
|
|
11
|
-
/** Japan-only address format */
|
|
11
|
+
/** Represents a Japan-only address format. This field will only appear on orders placed from Japan. */
|
|
12
12
|
japanType?: Webflow.OrderAddressJapanType;
|
|
13
13
|
/** Display name on the address */
|
|
14
14
|
addressee?: string;
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
4
|
/**
|
|
5
|
-
* Japan-only address format
|
|
5
|
+
* Represents a Japan-only address format. This field will only appear on orders placed from Japan.
|
|
6
6
|
*/
|
|
7
7
|
export declare type OrderAddressJapanType = "kana" | "kanji";
|
|
8
8
|
export declare const OrderAddressJapanType: {
|
|
@@ -22,6 +22,8 @@ export interface OrderPurchasedItem {
|
|
|
22
22
|
variantName?: string;
|
|
23
23
|
/** Slug for the Product Variant (SKU) */
|
|
24
24
|
variantSlug?: string;
|
|
25
|
+
/** The user-defined custom SKU of the Product Variant (SKU) */
|
|
26
|
+
variantSku?: string;
|
|
25
27
|
variantImage?: Webflow.OrderPurchasedItemVariantImage;
|
|
26
28
|
/** The price corresponding to the variant */
|
|
27
29
|
variantPrice?: Webflow.OrderPrice;
|
|
@@ -8,6 +8,8 @@ import * as Webflow from "..";
|
|
|
8
8
|
export interface Product {
|
|
9
9
|
/** Unique identifier for the Product */
|
|
10
10
|
id?: string;
|
|
11
|
+
/** Identifier for the locale of the CMS item */
|
|
12
|
+
cmsLocaleId?: string;
|
|
11
13
|
/** The date the Product was last published */
|
|
12
14
|
lastPublished?: Date;
|
|
13
15
|
/** The date the Product was last updated */
|
|
@@ -2,11 +2,14 @@
|
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
4
|
import * as Webflow from "..";
|
|
5
|
+
/**
|
|
6
|
+
* Contains content-specific details for a product, covering both standard (e.g., title, description) and custom fields tailored to the product setup.
|
|
7
|
+
*/
|
|
5
8
|
export interface ProductFieldData {
|
|
6
9
|
/** Name of the Product */
|
|
7
|
-
name
|
|
10
|
+
name?: string;
|
|
8
11
|
/** URL structure of the Product in your site. */
|
|
9
|
-
slug
|
|
12
|
+
slug?: string;
|
|
10
13
|
/** A description of your product */
|
|
11
14
|
description?: string;
|
|
12
15
|
/** Boolean determining if the Product is shippable */
|
|
@@ -21,6 +24,4 @@ export interface ProductFieldData {
|
|
|
21
24
|
defaultSku?: string;
|
|
22
25
|
/** <a href="https://university.webflow.com/lesson/add-and-manage-products-and-categories?topics=ecommerce#how-to-understand-product-types">Product types.</a> Enums reflect the following values in order: Physical, Digital, Service, Advanced" */
|
|
23
26
|
ecProductType?: Webflow.ProductFieldDataEcProductType;
|
|
24
|
-
/** Custom fields for your product. */
|
|
25
|
-
additionalProperties?: string;
|
|
26
27
|
}
|
|
@@ -2,6 +2,9 @@
|
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
4
|
import * as Webflow from "..";
|
|
5
|
+
/**
|
|
6
|
+
* A list of scripts registered to the site
|
|
7
|
+
*/
|
|
5
8
|
export interface RegisteredScriptList {
|
|
6
|
-
registeredScripts?: Webflow.
|
|
9
|
+
registeredScripts?: Webflow.CustomCodeHostedResponse[];
|
|
7
10
|
}
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
import * as Webflow from "..";
|
|
5
5
|
export interface ScriptApply {
|
|
6
|
-
/**
|
|
6
|
+
/** ID of the registered custom code script */
|
|
7
7
|
id: string;
|
|
8
8
|
/** Location of the script, either in the header or footer of the published site */
|
|
9
9
|
location: Webflow.ScriptApplyLocation;
|
package/dist/api/types/Site.d.ts
CHANGED
|
@@ -21,5 +21,8 @@ export interface Site {
|
|
|
21
21
|
previewUrl?: string;
|
|
22
22
|
/** Site timezone set under Site Settings */
|
|
23
23
|
timeZone?: string;
|
|
24
|
+
/** The ID of the parent folder the Site exists in */
|
|
25
|
+
parentFolderId?: string;
|
|
24
26
|
customDomains?: Webflow.Domain[];
|
|
27
|
+
locales?: Webflow.Locales;
|
|
25
28
|
}
|
package/dist/api/types/Sku.d.ts
CHANGED
|
@@ -8,12 +8,13 @@ import * as Webflow from "..";
|
|
|
8
8
|
export interface Sku {
|
|
9
9
|
/** Unique identifier for the Product */
|
|
10
10
|
id?: string;
|
|
11
|
+
/** Identifier for the locale of the CMS item */
|
|
12
|
+
cmsLocaleId?: string;
|
|
11
13
|
/** The date the Product was last published */
|
|
12
14
|
lastPublished?: Date;
|
|
13
15
|
/** The date the Product was last updated */
|
|
14
16
|
lastUpdated?: Date;
|
|
15
17
|
/** The date the Product was created */
|
|
16
18
|
createdOn?: Date;
|
|
17
|
-
/** Standard and Custom fields for a SKU */
|
|
18
19
|
fieldData?: Webflow.SkuFieldData;
|
|
19
20
|
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as Webflow from "..";
|
|
5
|
+
export interface SkuFieldDataEcSkuSubscriptionPlanPlansItem {
|
|
6
|
+
platform?: "stripe";
|
|
7
|
+
/** The unique identifier of the plan */
|
|
8
|
+
id?: string;
|
|
9
|
+
/** The status of the plan */
|
|
10
|
+
status?: Webflow.SkuFieldDataEcSkuSubscriptionPlanPlansItemStatus;
|
|
11
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
/**
|
|
5
|
+
* The status of the plan
|
|
6
|
+
*/
|
|
7
|
+
export declare type SkuFieldDataEcSkuSubscriptionPlanPlansItemStatus = "active" | "inactive" | "canceled";
|
|
8
|
+
export declare const SkuFieldDataEcSkuSubscriptionPlanPlansItemStatus: {
|
|
9
|
+
readonly Active: "active";
|
|
10
|
+
readonly Inactive: "inactive";
|
|
11
|
+
readonly Canceled: "canceled";
|
|
12
|
+
};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.SkuFieldDataEcSkuSubscriptionPlanPlansItemStatus = void 0;
|
|
7
|
+
exports.SkuFieldDataEcSkuSubscriptionPlanPlansItemStatus = {
|
|
8
|
+
Active: "active",
|
|
9
|
+
Inactive: "inactive",
|
|
10
|
+
Canceled: "canceled",
|
|
11
|
+
};
|
|
@@ -5,7 +5,10 @@ export * from "./AuthorizationAuthorizationAuthorizedTo";
|
|
|
5
5
|
export * from "./AuthorizationAuthorization";
|
|
6
6
|
export * from "./Authorization";
|
|
7
7
|
export * from "./Domain";
|
|
8
|
+
export * from "./Locale";
|
|
9
|
+
export * from "./Locales";
|
|
8
10
|
export * from "./Site";
|
|
11
|
+
export * from "./Sites";
|
|
9
12
|
export * from "./Domains";
|
|
10
13
|
export * from "./InvalidDomain";
|
|
11
14
|
export * from "./NoDomains";
|
|
@@ -39,8 +42,9 @@ export * from "./Dom";
|
|
|
39
42
|
export * from "./ScriptApplyLocation";
|
|
40
43
|
export * from "./ScriptApply";
|
|
41
44
|
export * from "./ScriptApplyList";
|
|
42
|
-
export * from "./
|
|
45
|
+
export * from "./CustomCodeHostedResponse";
|
|
43
46
|
export * from "./RegisteredScriptList";
|
|
47
|
+
export * from "./CustomCodeInlineResponse";
|
|
44
48
|
export * from "./Scripts";
|
|
45
49
|
export * from "./CustomCodeBlockType";
|
|
46
50
|
export * from "./CustomCodeBlock";
|
|
@@ -86,6 +90,8 @@ export * from "./SkuFieldDataPrice";
|
|
|
86
90
|
export * from "./SkuFieldDataCompareAtPrice";
|
|
87
91
|
export * from "./SkuFieldDataEcSkuBillingMethod";
|
|
88
92
|
export * from "./SkuFieldDataEcSkuSubscriptionPlanInterval";
|
|
93
|
+
export * from "./SkuFieldDataEcSkuSubscriptionPlanPlansItemStatus";
|
|
94
|
+
export * from "./SkuFieldDataEcSkuSubscriptionPlanPlansItem";
|
|
89
95
|
export * from "./SkuFieldDataEcSkuSubscriptionPlan";
|
|
90
96
|
export * from "./SkuFieldData";
|
|
91
97
|
export * from "./Sku";
|
package/dist/api/types/index.js
CHANGED
|
@@ -21,7 +21,10 @@ __exportStar(require("./AuthorizationAuthorizationAuthorizedTo"), exports);
|
|
|
21
21
|
__exportStar(require("./AuthorizationAuthorization"), exports);
|
|
22
22
|
__exportStar(require("./Authorization"), exports);
|
|
23
23
|
__exportStar(require("./Domain"), exports);
|
|
24
|
+
__exportStar(require("./Locale"), exports);
|
|
25
|
+
__exportStar(require("./Locales"), exports);
|
|
24
26
|
__exportStar(require("./Site"), exports);
|
|
27
|
+
__exportStar(require("./Sites"), exports);
|
|
25
28
|
__exportStar(require("./Domains"), exports);
|
|
26
29
|
__exportStar(require("./InvalidDomain"), exports);
|
|
27
30
|
__exportStar(require("./NoDomains"), exports);
|
|
@@ -55,8 +58,9 @@ __exportStar(require("./Dom"), exports);
|
|
|
55
58
|
__exportStar(require("./ScriptApplyLocation"), exports);
|
|
56
59
|
__exportStar(require("./ScriptApply"), exports);
|
|
57
60
|
__exportStar(require("./ScriptApplyList"), exports);
|
|
58
|
-
__exportStar(require("./
|
|
61
|
+
__exportStar(require("./CustomCodeHostedResponse"), exports);
|
|
59
62
|
__exportStar(require("./RegisteredScriptList"), exports);
|
|
63
|
+
__exportStar(require("./CustomCodeInlineResponse"), exports);
|
|
60
64
|
__exportStar(require("./Scripts"), exports);
|
|
61
65
|
__exportStar(require("./CustomCodeBlockType"), exports);
|
|
62
66
|
__exportStar(require("./CustomCodeBlock"), exports);
|
|
@@ -102,6 +106,8 @@ __exportStar(require("./SkuFieldDataPrice"), exports);
|
|
|
102
106
|
__exportStar(require("./SkuFieldDataCompareAtPrice"), exports);
|
|
103
107
|
__exportStar(require("./SkuFieldDataEcSkuBillingMethod"), exports);
|
|
104
108
|
__exportStar(require("./SkuFieldDataEcSkuSubscriptionPlanInterval"), exports);
|
|
109
|
+
__exportStar(require("./SkuFieldDataEcSkuSubscriptionPlanPlansItemStatus"), exports);
|
|
110
|
+
__exportStar(require("./SkuFieldDataEcSkuSubscriptionPlanPlansItem"), exports);
|
|
105
111
|
__exportStar(require("./SkuFieldDataEcSkuSubscriptionPlan"), exports);
|
|
106
112
|
__exportStar(require("./SkuFieldData"), exports);
|
|
107
113
|
__exportStar(require("./Sku"), exports);
|
|
@@ -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);
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../../..";
|
|
5
|
+
import * as Webflow from "../../../../api";
|
|
6
|
+
import * as core from "../../../../core";
|
|
7
|
+
export declare const UpdateStaticContentResponse: core.serialization.ObjectSchema<serializers.UpdateStaticContentResponse.Raw, Webflow.UpdateStaticContentResponse>;
|
|
8
|
+
export declare namespace UpdateStaticContentResponse {
|
|
9
|
+
interface Raw {
|
|
10
|
+
errors: string[];
|
|
11
|
+
}
|
|
12
|
+
}
|
|
@@ -26,6 +26,8 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
26
26
|
return result;
|
|
27
27
|
};
|
|
28
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
-
exports.
|
|
29
|
+
exports.UpdateStaticContentResponse = void 0;
|
|
30
30
|
const core = __importStar(require("../../../../core"));
|
|
31
|
-
exports.
|
|
31
|
+
exports.UpdateStaticContentResponse = core.serialization.object({
|
|
32
|
+
errors: core.serialization.list(core.serialization.string()),
|
|
33
|
+
});
|
|
@@ -8,7 +8,7 @@ export declare const ProductSkuCreate: core.serialization.Schema<serializers.Pro
|
|
|
8
8
|
export declare namespace ProductSkuCreate {
|
|
9
9
|
interface Raw {
|
|
10
10
|
publishStatus?: serializers.PublishStatus.Raw | null;
|
|
11
|
-
product?: serializers.
|
|
12
|
-
sku?: serializers.
|
|
11
|
+
product?: serializers.Product.Raw | null;
|
|
12
|
+
sku?: serializers.Sku.Raw | null;
|
|
13
13
|
}
|
|
14
14
|
}
|
|
@@ -39,8 +39,6 @@ exports.ProductSkuCreate = void 0;
|
|
|
39
39
|
const core = __importStar(require("../../../../../core"));
|
|
40
40
|
exports.ProductSkuCreate = core.serialization.object({
|
|
41
41
|
publishStatus: core.serialization.lazy(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("../../../..")))).PublishStatus; })).optional(),
|
|
42
|
-
product: core.serialization
|
|
43
|
-
|
|
44
|
-
.optional(),
|
|
45
|
-
sku: core.serialization.lazyObject(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("../../../..")))).ProductSkuCreateSku; })).optional(),
|
|
42
|
+
product: core.serialization.lazyObject(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("../../../..")))).Product; })).optional(),
|
|
43
|
+
sku: core.serialization.lazyObject(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("../../../..")))).Sku; })).optional(),
|
|
46
44
|
});
|
|
@@ -4,10 +4,11 @@
|
|
|
4
4
|
import * as serializers from "../../../..";
|
|
5
5
|
import * as Webflow from "../../../../../api";
|
|
6
6
|
import * as core from "../../../../../core";
|
|
7
|
-
export declare const
|
|
8
|
-
export declare namespace
|
|
7
|
+
export declare const ProductSkuUpdate: core.serialization.Schema<serializers.ProductSkuUpdate.Raw, Webflow.ProductSkuUpdate>;
|
|
8
|
+
export declare namespace ProductSkuUpdate {
|
|
9
9
|
interface Raw {
|
|
10
10
|
publishStatus?: serializers.PublishStatus.Raw | null;
|
|
11
|
-
product
|
|
11
|
+
product?: serializers.Product.Raw | null;
|
|
12
|
+
sku?: serializers.Sku.Raw | null;
|
|
12
13
|
}
|
|
13
14
|
}
|