webflow-api 2.2.1 → 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.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 +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/{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/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 +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/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/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/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/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/ProductSkuCreateSkuFieldDataCompareAtPrice.js +0 -5
- 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/ProductSkuCreateSkuFieldDataEcSkuSubscriptionPlan.js +0 -5
- 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 → 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/CustomCodeHostedResponse.js} +0 -0
- /package/api/{resources/products/types/ProductSkuCreateProductFieldData.js → types/CustomCodeInlineResponse.js} +0 -0
- /package/api/{resources/products/types/ProductSkuCreateSku.js → types/Locale.js} +0 -0
- /package/api/{resources/products/types/ProductSkuCreateSkuFieldData.js → types/Locales.js} +0 -0
- /package/api/{resources/products/types/ProductSkuCreateSkuFieldDataCompareAtPrice.js → types/Sites.js} +0 -0
- /package/api/{resources/products/types/ProductSkuCreateSkuFieldDataEcSkuSubscriptionPlan.js → types/SkuFieldDataEcSkuSubscriptionPlanPlansItem.js} +0 -0
- /package/{api/resources/products/types/ProductSkuCreateSkuFieldDataPrice.js → dist/api/resources/pages/types/UpdateStaticContentResponse.js} +0 -0
- /package/{api/types/CustomCodeResponse.js → dist/api/resources/products/client/requests/ProductSkuUpdate.js} +0 -0
- /package/dist/api/{resources/collections/resources/items/types/ItemsPublishItemResponse.js → types/CustomCodeHostedResponse.js} +0 -0
- /package/dist/api/{resources/products/client/requests/ProductsUpdateRequest.js → types/CustomCodeInlineResponse.js} +0 -0
- /package/dist/api/{resources/products/types/ProductSkuCreateProduct.js → types/Locale.js} +0 -0
- /package/dist/api/{resources/products/types/ProductSkuCreateProductFieldData.js → types/Locales.js} +0 -0
- /package/dist/api/{resources/products/types/ProductSkuCreateSku.js → types/Sites.js} +0 -0
- /package/dist/api/{resources/products/types/ProductSkuCreateSkuFieldData.js → types/SkuFieldDataEcSkuSubscriptionPlanPlansItem.js} +0 -0
|
@@ -38,15 +38,15 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
38
38
|
exports.Form = void 0;
|
|
39
39
|
const core = __importStar(require("../../core"));
|
|
40
40
|
exports.Form = core.serialization.object({
|
|
41
|
-
id: core.serialization.string().optional(),
|
|
42
41
|
displayName: core.serialization.string().optional(),
|
|
42
|
+
createdOn: core.serialization.date().optional(),
|
|
43
|
+
lastUpdated: core.serialization.date().optional(),
|
|
44
|
+
fields: core.serialization.list(core.serialization.lazy(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("..")))).FormField; }))).optional(),
|
|
45
|
+
responseSettings: core.serialization.lazyObject(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("..")))).FormResponseSettings; })).optional(),
|
|
46
|
+
id: core.serialization.string().optional(),
|
|
43
47
|
siteId: core.serialization.string().optional(),
|
|
44
48
|
siteDomainId: core.serialization.string().optional(),
|
|
45
49
|
pageId: core.serialization.string().optional(),
|
|
46
50
|
pageName: core.serialization.string().optional(),
|
|
47
51
|
workspaceId: core.serialization.string().optional(),
|
|
48
|
-
createdOn: core.serialization.date().optional(),
|
|
49
|
-
lastUpdated: core.serialization.date().optional(),
|
|
50
|
-
fields: core.serialization.list(core.serialization.lazy(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("..")))).FormField; }))).optional(),
|
|
51
|
-
responseSettings: core.serialization.lazyObject(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("..")))).FormResponseSettings; })).optional(),
|
|
52
52
|
});
|
|
@@ -7,9 +7,9 @@ import * as core from "../../core";
|
|
|
7
7
|
export declare const FormResponseSettings: core.serialization.ObjectSchema<serializers.FormResponseSettings.Raw, Webflow.FormResponseSettings>;
|
|
8
8
|
export declare namespace FormResponseSettings {
|
|
9
9
|
interface Raw {
|
|
10
|
-
sendEmailConfirmation?: boolean | null;
|
|
11
10
|
redirectUrl?: string | null;
|
|
12
11
|
redirectMethod?: string | null;
|
|
13
12
|
redirectAction?: string | null;
|
|
13
|
+
sendEmailConfirmation?: boolean | null;
|
|
14
14
|
}
|
|
15
15
|
}
|
|
@@ -29,8 +29,8 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
29
29
|
exports.FormResponseSettings = void 0;
|
|
30
30
|
const core = __importStar(require("../../core"));
|
|
31
31
|
exports.FormResponseSettings = core.serialization.object({
|
|
32
|
-
sendEmailConfirmation: core.serialization.boolean().optional(),
|
|
33
32
|
redirectUrl: core.serialization.string().optional(),
|
|
34
33
|
redirectMethod: core.serialization.string().optional(),
|
|
35
34
|
redirectAction: core.serialization.string().optional(),
|
|
35
|
+
sendEmailConfirmation: core.serialization.boolean().optional(),
|
|
36
36
|
});
|
|
@@ -0,0 +1,19 @@
|
|
|
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 Locale: core.serialization.ObjectSchema<serializers.Locale.Raw, Webflow.Locale>;
|
|
8
|
+
export declare namespace Locale {
|
|
9
|
+
interface Raw {
|
|
10
|
+
id?: string | null;
|
|
11
|
+
cmsLocaleId?: string | null;
|
|
12
|
+
enabled?: boolean | null;
|
|
13
|
+
displayName?: string | null;
|
|
14
|
+
displayImageId?: string | null;
|
|
15
|
+
redirect?: boolean | null;
|
|
16
|
+
subdirectory?: string | null;
|
|
17
|
+
tag?: string | null;
|
|
18
|
+
}
|
|
19
|
+
}
|
|
@@ -26,10 +26,15 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
26
26
|
return result;
|
|
27
27
|
};
|
|
28
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
-
exports.
|
|
30
|
-
const core = __importStar(require("
|
|
31
|
-
exports.
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
29
|
+
exports.Locale = void 0;
|
|
30
|
+
const core = __importStar(require("../../core"));
|
|
31
|
+
exports.Locale = core.serialization.object({
|
|
32
|
+
id: core.serialization.string().optional(),
|
|
33
|
+
cmsLocaleId: core.serialization.string().optional(),
|
|
34
|
+
enabled: core.serialization.boolean().optional(),
|
|
35
|
+
displayName: core.serialization.string().optional(),
|
|
36
|
+
displayImageId: core.serialization.string().optional(),
|
|
37
|
+
redirect: core.serialization.boolean().optional(),
|
|
38
|
+
subdirectory: core.serialization.string().optional(),
|
|
39
|
+
tag: core.serialization.string().optional(),
|
|
35
40
|
});
|
|
@@ -0,0 +1,13 @@
|
|
|
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 Locales: core.serialization.ObjectSchema<serializers.Locales.Raw, Webflow.Locales>;
|
|
8
|
+
export declare namespace Locales {
|
|
9
|
+
interface Raw {
|
|
10
|
+
primary?: serializers.Locale.Raw | null;
|
|
11
|
+
secondary?: serializers.Locale.Raw[] | null;
|
|
12
|
+
}
|
|
13
|
+
}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
22
|
+
if (mod && mod.__esModule) return mod;
|
|
23
|
+
var result = {};
|
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
25
|
+
__setModuleDefault(result, mod);
|
|
26
|
+
return result;
|
|
27
|
+
};
|
|
28
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
29
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
30
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
31
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
32
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
33
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
34
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
35
|
+
});
|
|
36
|
+
};
|
|
37
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
38
|
+
exports.Locales = void 0;
|
|
39
|
+
const core = __importStar(require("../../core"));
|
|
40
|
+
exports.Locales = core.serialization.object({
|
|
41
|
+
primary: core.serialization.lazyObject(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("..")))).Locale; })).optional(),
|
|
42
|
+
secondary: core.serialization
|
|
43
|
+
.list(core.serialization.lazyObject(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("..")))).Locale; })))
|
|
44
|
+
.optional(),
|
|
45
|
+
});
|
|
@@ -7,7 +7,7 @@ import * as core from "../../core";
|
|
|
7
7
|
export declare const OrderList: core.serialization.ObjectSchema<serializers.OrderList.Raw, Webflow.OrderList>;
|
|
8
8
|
export declare namespace OrderList {
|
|
9
9
|
interface Raw {
|
|
10
|
-
|
|
10
|
+
orders?: serializers.Order.Raw[] | null;
|
|
11
11
|
pagination?: serializers.Pagination.Raw | null;
|
|
12
12
|
}
|
|
13
13
|
}
|
|
@@ -38,7 +38,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
38
38
|
exports.OrderList = void 0;
|
|
39
39
|
const core = __importStar(require("../../core"));
|
|
40
40
|
exports.OrderList = core.serialization.object({
|
|
41
|
-
|
|
41
|
+
orders: core.serialization
|
|
42
42
|
.list(core.serialization.lazyObject(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("..")))).Order; })))
|
|
43
43
|
.optional(),
|
|
44
44
|
pagination: core.serialization.lazyObject(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("..")))).Pagination; })).optional(),
|
|
@@ -15,6 +15,7 @@ export declare namespace OrderPurchasedItem {
|
|
|
15
15
|
variantId?: string | null;
|
|
16
16
|
variantName?: string | null;
|
|
17
17
|
variantSlug?: string | null;
|
|
18
|
+
variantSKU?: string | null;
|
|
18
19
|
variantImage?: serializers.OrderPurchasedItemVariantImage.Raw | null;
|
|
19
20
|
variantPrice?: serializers.OrderPrice.Raw | null;
|
|
20
21
|
weight?: number | null;
|
|
@@ -46,6 +46,7 @@ exports.OrderPurchasedItem = core.serialization.object({
|
|
|
46
46
|
variantId: core.serialization.string().optional(),
|
|
47
47
|
variantName: core.serialization.string().optional(),
|
|
48
48
|
variantSlug: core.serialization.string().optional(),
|
|
49
|
+
variantSku: core.serialization.property("variantSKU", core.serialization.string().optional()),
|
|
49
50
|
variantImage: core.serialization
|
|
50
51
|
.lazyObject(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("..")))).OrderPurchasedItemVariantImage; }))
|
|
51
52
|
.optional(),
|
|
@@ -8,6 +8,7 @@ export declare const Product: core.serialization.ObjectSchema<serializers.Produc
|
|
|
8
8
|
export declare namespace Product {
|
|
9
9
|
interface Raw {
|
|
10
10
|
id?: string | null;
|
|
11
|
+
cmsLocaleId?: string | null;
|
|
11
12
|
lastPublished?: string | null;
|
|
12
13
|
lastUpdated?: string | null;
|
|
13
14
|
createdOn?: string | null;
|
|
@@ -39,6 +39,7 @@ exports.Product = void 0;
|
|
|
39
39
|
const core = __importStar(require("../../core"));
|
|
40
40
|
exports.Product = core.serialization.object({
|
|
41
41
|
id: core.serialization.string().optional(),
|
|
42
|
+
cmsLocaleId: core.serialization.string().optional(),
|
|
42
43
|
lastPublished: core.serialization.date().optional(),
|
|
43
44
|
lastUpdated: core.serialization.date().optional(),
|
|
44
45
|
createdOn: core.serialization.date().optional(),
|
|
@@ -7,8 +7,8 @@ import * as core from "../../core";
|
|
|
7
7
|
export declare const ProductFieldData: core.serialization.ObjectSchema<serializers.ProductFieldData.Raw, Webflow.ProductFieldData>;
|
|
8
8
|
export declare namespace ProductFieldData {
|
|
9
9
|
interface Raw {
|
|
10
|
-
name
|
|
11
|
-
slug
|
|
10
|
+
name?: string | null;
|
|
11
|
+
slug?: string | null;
|
|
12
12
|
description?: string | null;
|
|
13
13
|
shippable?: boolean | null;
|
|
14
14
|
"sku-properties"?: serializers.SkuPropertyList.Raw[] | null;
|
|
@@ -16,6 +16,5 @@ export declare namespace ProductFieldData {
|
|
|
16
16
|
"tax-category"?: serializers.ProductFieldDataTaxCategory.Raw | null;
|
|
17
17
|
"default-sku"?: string | null;
|
|
18
18
|
"ec-product-type"?: serializers.ProductFieldDataEcProductType.Raw | null;
|
|
19
|
-
additionalProperties?: string | null;
|
|
20
19
|
}
|
|
21
20
|
}
|
|
@@ -38,8 +38,8 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
38
38
|
exports.ProductFieldData = void 0;
|
|
39
39
|
const core = __importStar(require("../../core"));
|
|
40
40
|
exports.ProductFieldData = core.serialization.object({
|
|
41
|
-
name: core.serialization.string(),
|
|
42
|
-
slug: core.serialization.string(),
|
|
41
|
+
name: core.serialization.string().optional(),
|
|
42
|
+
slug: core.serialization.string().optional(),
|
|
43
43
|
description: core.serialization.string().optional(),
|
|
44
44
|
shippable: core.serialization.boolean().optional(),
|
|
45
45
|
skuProperties: core.serialization.property("sku-properties", core.serialization
|
|
@@ -49,5 +49,4 @@ exports.ProductFieldData = core.serialization.object({
|
|
|
49
49
|
taxCategory: core.serialization.property("tax-category", core.serialization.lazy(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("..")))).ProductFieldDataTaxCategory; })).optional()),
|
|
50
50
|
defaultSku: core.serialization.property("default-sku", core.serialization.string().optional()),
|
|
51
51
|
ecProductType: core.serialization.property("ec-product-type", core.serialization.lazy(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("..")))).ProductFieldDataEcProductType; })).optional()),
|
|
52
|
-
additionalProperties: core.serialization.string().optional(),
|
|
53
52
|
});
|
|
@@ -7,6 +7,6 @@ import * as core from "../../core";
|
|
|
7
7
|
export declare const RegisteredScriptList: core.serialization.ObjectSchema<serializers.RegisteredScriptList.Raw, Webflow.RegisteredScriptList>;
|
|
8
8
|
export declare namespace RegisteredScriptList {
|
|
9
9
|
interface Raw {
|
|
10
|
-
registeredScripts?: serializers.
|
|
10
|
+
registeredScripts?: serializers.CustomCodeHostedResponse.Raw[] | null;
|
|
11
11
|
}
|
|
12
12
|
}
|
|
@@ -39,6 +39,6 @@ exports.RegisteredScriptList = void 0;
|
|
|
39
39
|
const core = __importStar(require("../../core"));
|
|
40
40
|
exports.RegisteredScriptList = core.serialization.object({
|
|
41
41
|
registeredScripts: core.serialization
|
|
42
|
-
.list(core.serialization.lazyObject(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("..")))).
|
|
42
|
+
.list(core.serialization.lazyObject(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("..")))).CustomCodeHostedResponse; })))
|
|
43
43
|
.optional(),
|
|
44
44
|
});
|
|
@@ -16,6 +16,8 @@ export declare namespace Site {
|
|
|
16
16
|
lastUpdated?: string | null;
|
|
17
17
|
previewUrl?: string | null;
|
|
18
18
|
timeZone?: string | null;
|
|
19
|
+
parentFolderId?: string | null;
|
|
19
20
|
customDomains?: serializers.Domain.Raw[] | null;
|
|
21
|
+
locales?: serializers.Locales.Raw | null;
|
|
20
22
|
}
|
|
21
23
|
}
|
|
@@ -47,7 +47,9 @@ exports.Site = core.serialization.object({
|
|
|
47
47
|
lastUpdated: core.serialization.date().optional(),
|
|
48
48
|
previewUrl: core.serialization.string().optional(),
|
|
49
49
|
timeZone: core.serialization.string().optional(),
|
|
50
|
+
parentFolderId: core.serialization.string().optional(),
|
|
50
51
|
customDomains: core.serialization
|
|
51
52
|
.list(core.serialization.lazyObject(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("..")))).Domain; })))
|
|
52
53
|
.optional(),
|
|
54
|
+
locales: core.serialization.lazyObject(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("..")))).Locales; })).optional(),
|
|
53
55
|
});
|
|
@@ -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 Sites: core.serialization.ObjectSchema<serializers.Sites.Raw, Webflow.Sites>;
|
|
8
|
+
export declare namespace Sites {
|
|
9
|
+
interface Raw {
|
|
10
|
+
sites?: serializers.Site.Raw[] | null;
|
|
11
|
+
}
|
|
12
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
22
|
+
if (mod && mod.__esModule) return mod;
|
|
23
|
+
var result = {};
|
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
25
|
+
__setModuleDefault(result, mod);
|
|
26
|
+
return result;
|
|
27
|
+
};
|
|
28
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
29
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
30
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
31
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
32
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
33
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
34
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
35
|
+
});
|
|
36
|
+
};
|
|
37
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
38
|
+
exports.Sites = void 0;
|
|
39
|
+
const core = __importStar(require("../../core"));
|
|
40
|
+
exports.Sites = core.serialization.object({
|
|
41
|
+
sites: core.serialization.list(core.serialization.lazyObject(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("..")))).Site; }))).optional(),
|
|
42
|
+
});
|
|
@@ -8,6 +8,7 @@ export declare const Sku: core.serialization.ObjectSchema<serializers.Sku.Raw, W
|
|
|
8
8
|
export declare namespace Sku {
|
|
9
9
|
interface Raw {
|
|
10
10
|
id?: string | null;
|
|
11
|
+
cmsLocaleId?: string | null;
|
|
11
12
|
lastPublished?: string | null;
|
|
12
13
|
lastUpdated?: string | null;
|
|
13
14
|
createdOn?: string | null;
|
|
@@ -39,6 +39,7 @@ exports.Sku = void 0;
|
|
|
39
39
|
const core = __importStar(require("../../core"));
|
|
40
40
|
exports.Sku = core.serialization.object({
|
|
41
41
|
id: core.serialization.string().optional(),
|
|
42
|
+
cmsLocaleId: core.serialization.string().optional(),
|
|
42
43
|
lastPublished: core.serialization.date().optional(),
|
|
43
44
|
lastUpdated: core.serialization.date().optional(),
|
|
44
45
|
createdOn: core.serialization.date().optional(),
|
|
@@ -10,5 +10,6 @@ export declare namespace SkuFieldDataEcSkuSubscriptionPlan {
|
|
|
10
10
|
interval?: serializers.SkuFieldDataEcSkuSubscriptionPlanInterval.Raw | null;
|
|
11
11
|
frequency?: number | null;
|
|
12
12
|
trial?: number | null;
|
|
13
|
+
plans?: serializers.SkuFieldDataEcSkuSubscriptionPlanPlansItem.Raw[] | null;
|
|
13
14
|
}
|
|
14
15
|
}
|
|
@@ -43,4 +43,7 @@ exports.SkuFieldDataEcSkuSubscriptionPlan = core.serialization.object({
|
|
|
43
43
|
.optional(),
|
|
44
44
|
frequency: core.serialization.number().optional(),
|
|
45
45
|
trial: core.serialization.number().optional(),
|
|
46
|
+
plans: core.serialization
|
|
47
|
+
.list(core.serialization.lazyObject(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("..")))).SkuFieldDataEcSkuSubscriptionPlanPlansItem; })))
|
|
48
|
+
.optional(),
|
|
46
49
|
});
|
|
@@ -0,0 +1,14 @@
|
|
|
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 SkuFieldDataEcSkuSubscriptionPlanPlansItem: core.serialization.ObjectSchema<serializers.SkuFieldDataEcSkuSubscriptionPlanPlansItem.Raw, Webflow.SkuFieldDataEcSkuSubscriptionPlanPlansItem>;
|
|
8
|
+
export declare namespace SkuFieldDataEcSkuSubscriptionPlanPlansItem {
|
|
9
|
+
interface Raw {
|
|
10
|
+
platform?: "stripe" | null;
|
|
11
|
+
id?: string | null;
|
|
12
|
+
status?: serializers.SkuFieldDataEcSkuSubscriptionPlanPlansItemStatus.Raw | null;
|
|
13
|
+
}
|
|
14
|
+
}
|
|
@@ -35,12 +35,12 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
35
35
|
});
|
|
36
36
|
};
|
|
37
37
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
38
|
-
exports.
|
|
39
|
-
const core = __importStar(require("
|
|
40
|
-
exports.
|
|
41
|
-
|
|
42
|
-
|
|
38
|
+
exports.SkuFieldDataEcSkuSubscriptionPlanPlansItem = void 0;
|
|
39
|
+
const core = __importStar(require("../../core"));
|
|
40
|
+
exports.SkuFieldDataEcSkuSubscriptionPlanPlansItem = core.serialization.object({
|
|
41
|
+
platform: core.serialization.stringLiteral("stripe").optional(),
|
|
42
|
+
id: core.serialization.string().optional(),
|
|
43
|
+
status: core.serialization
|
|
44
|
+
.lazy(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("..")))).SkuFieldDataEcSkuSubscriptionPlanPlansItemStatus; }))
|
|
43
45
|
.optional(),
|
|
44
|
-
frequency: core.serialization.number().optional(),
|
|
45
|
-
trial: core.serialization.number().optional(),
|
|
46
46
|
});
|
|
@@ -0,0 +1,10 @@
|
|
|
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 SkuFieldDataEcSkuSubscriptionPlanPlansItemStatus: core.serialization.Schema<serializers.SkuFieldDataEcSkuSubscriptionPlanPlansItemStatus.Raw, Webflow.SkuFieldDataEcSkuSubscriptionPlanPlansItemStatus>;
|
|
8
|
+
export declare namespace SkuFieldDataEcSkuSubscriptionPlanPlansItemStatus {
|
|
9
|
+
type Raw = "active" | "inactive" | "canceled";
|
|
10
|
+
}
|
|
@@ -26,6 +26,6 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
26
26
|
return result;
|
|
27
27
|
};
|
|
28
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
-
exports.
|
|
30
|
-
const core = __importStar(require("
|
|
31
|
-
exports.
|
|
29
|
+
exports.SkuFieldDataEcSkuSubscriptionPlanPlansItemStatus = void 0;
|
|
30
|
+
const core = __importStar(require("../../core"));
|
|
31
|
+
exports.SkuFieldDataEcSkuSubscriptionPlanPlansItemStatus = core.serialization.enum_(["active", "inactive", "canceled"]);
|
|
@@ -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";
|
|
@@ -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);
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { Collections } from "../api/resources/collections/client/Client";
|
|
2
|
+
import { Client as Items } from "./ItemsClient";
|
|
3
|
+
export declare class Client extends Collections {
|
|
4
|
+
protected readonly _options: Collections.Options;
|
|
5
|
+
constructor(_options: Collections.Options);
|
|
6
|
+
protected _items: Items | undefined;
|
|
7
|
+
get items(): Items;
|
|
8
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.Client = void 0;
|
|
4
|
+
const Client_1 = require("../api/resources/collections/client/Client");
|
|
5
|
+
const ItemsClient_1 = require("./ItemsClient");
|
|
6
|
+
// Client adapts the base client to permit extra properties in
|
|
7
|
+
// the client.Collections.Items.createItem request.
|
|
8
|
+
class Client extends Client_1.Collections {
|
|
9
|
+
constructor(_options) {
|
|
10
|
+
super(_options);
|
|
11
|
+
this._options = _options;
|
|
12
|
+
}
|
|
13
|
+
get items() {
|
|
14
|
+
var _a;
|
|
15
|
+
return ((_a = this._items) !== null && _a !== void 0 ? _a : (this._items = new ItemsClient_1.Client(this._options)));
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
exports.Client = Client;
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import * as Webflow from "../api";
|
|
2
|
+
import { Items } from "../api/resources/collections/resources/items/client/Client";
|
|
3
|
+
export declare class Client extends Items {
|
|
4
|
+
protected readonly _options: Items.Options;
|
|
5
|
+
constructor(_options: Items.Options);
|
|
6
|
+
/**
|
|
7
|
+
* Create Item in a Collection.</br></br> To create items across multiple locales, <a href="https://developers.webflow.com/data/reference/create-item-for-multiple-locales"> please use this endpoint.</a> </br></br> Required scope | `CMS:write`
|
|
8
|
+
* @throws {@link Webflow.BadRequestError}
|
|
9
|
+
* @throws {@link Webflow.UnauthorizedError}
|
|
10
|
+
* @throws {@link Webflow.NotFoundError}
|
|
11
|
+
* @throws {@link Webflow.TooManyRequestsError}
|
|
12
|
+
* @throws {@link Webflow.InternalServerError}
|
|
13
|
+
*
|
|
14
|
+
* @example
|
|
15
|
+
* await webflow.collections.items.createItem("collection_id", {
|
|
16
|
+
* id: "42b720ef280c7a7a3be8cabe",
|
|
17
|
+
* cmsLocaleId: "653ad57de882f528b32e810e",
|
|
18
|
+
* lastPublished: "2022-11-29T16:22:43.159Z",
|
|
19
|
+
* lastUpdated: "2022-11-17T17:19:43.282Z",
|
|
20
|
+
* createdOn: "2022-11-17T17:11:57.148Z",
|
|
21
|
+
* isArchived: false,
|
|
22
|
+
* isDraft: false,
|
|
23
|
+
* fieldData: {
|
|
24
|
+
* name: "Pan Galactic Gargle Blaster Recipe",
|
|
25
|
+
* slug: "pan-galactic-gargle-blaster"
|
|
26
|
+
* }
|
|
27
|
+
* })
|
|
28
|
+
*/
|
|
29
|
+
createItem(collectionId: string, request: Webflow.CollectionItem, requestOptions?: Items.RequestOptions): Promise<void>;
|
|
30
|
+
}
|