webflow-api 2.0.0-beta → 2.1.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/README.md +33 -2
- package/api/resources/accessGroups/client/Client.d.ts +1 -3
- package/api/resources/accessGroups/client/Client.js +5 -5
- package/api/resources/accessGroups/client/requests/AccessGroupsListRequest.d.ts +1 -3
- package/api/resources/assets/client/Client.d.ts +21 -7
- package/api/resources/assets/client/Client.js +110 -21
- package/api/resources/assets/client/requests/AssetsUpdateRequest.d.ts +13 -0
- package/api/resources/assets/client/requests/index.d.ts +1 -0
- package/api/resources/collections/client/Client.d.ts +11 -4
- package/api/resources/collections/client/Client.js +31 -14
- package/api/resources/collections/client/requests/CollectionsCreateRequest.d.ts +8 -0
- package/api/resources/collections/resources/fields/client/Client.d.ts +16 -1
- package/api/resources/collections/resources/fields/client/Client.js +24 -5
- package/api/resources/collections/resources/fields/client/requests/FieldCreate.d.ts +23 -0
- package/api/resources/collections/resources/fields/client/requests/FieldUpdate.d.ts +8 -0
- package/api/resources/collections/resources/fields/client/requests/index.d.ts +1 -0
- package/api/resources/collections/resources/fields/index.d.ts +1 -0
- package/api/resources/collections/resources/fields/index.js +1 -0
- package/api/resources/collections/resources/fields/types/FieldCreateType.d.ts +22 -0
- package/api/resources/collections/resources/fields/types/FieldCreateType.js +21 -0
- package/api/resources/collections/resources/fields/types/index.d.ts +1 -0
- package/api/resources/collections/resources/fields/types/index.js +17 -0
- package/api/resources/collections/resources/index.d.ts +2 -1
- package/api/resources/collections/resources/index.js +3 -2
- package/api/resources/collections/resources/items/client/Client.d.ts +82 -16
- package/api/resources/collections/resources/items/client/Client.js +302 -29
- package/api/resources/collections/resources/items/client/requests/ItemsDeleteItemRequest.d.ts +13 -0
- package/api/resources/collections/resources/items/client/requests/ItemsDeleteItemRequest.js +5 -0
- package/api/resources/collections/resources/items/client/requests/ItemsGetItemRequest.d.ts +13 -0
- package/api/resources/collections/resources/items/client/requests/ItemsGetItemRequest.js +5 -0
- package/api/resources/collections/resources/items/client/requests/ItemsListItemsRequest.d.ts +4 -0
- package/api/resources/collections/resources/items/client/requests/ItemsPublishItemRequest.d.ts +1 -1
- package/api/resources/collections/resources/items/client/requests/index.d.ts +2 -0
- package/api/resources/ecommerce/client/Client.d.ts +1 -1
- package/api/resources/ecommerce/client/Client.js +5 -3
- package/api/resources/forms/client/Client.d.ts +6 -6
- package/api/resources/forms/client/Client.js +35 -16
- package/api/resources/forms/client/requests/FormsListRequest.d.ts +17 -0
- package/api/resources/forms/client/requests/FormsListRequest.js +5 -0
- package/api/resources/forms/client/requests/index.d.ts +1 -0
- package/api/resources/index.d.ts +3 -1
- package/api/resources/index.js +4 -2
- package/api/resources/inventory/client/Client.d.ts +2 -2
- package/api/resources/inventory/client/Client.js +10 -6
- package/api/resources/orders/client/Client.d.ts +6 -10
- package/api/resources/orders/client/Client.js +30 -22
- package/api/resources/orders/client/requests/OrdersListRequest.d.ts +1 -3
- package/api/resources/orders/client/requests/OrdersRefundRequest.d.ts +1 -3
- package/api/resources/pages/client/Client.d.ts +73 -4
- package/api/resources/pages/client/Client.js +312 -8
- package/api/resources/pages/client/index.d.ts +1 -1
- package/api/resources/pages/client/index.js +15 -0
- package/api/resources/pages/client/requests/DomWrite.d.ts +21 -0
- package/api/resources/pages/client/requests/DomWrite.js +5 -0
- package/api/resources/pages/client/requests/PagesGetContentRequest.d.ts +13 -0
- package/api/resources/pages/client/requests/PagesGetContentRequest.js +5 -0
- package/api/resources/pages/client/requests/PagesGetMetadataRequest.d.ts +13 -0
- package/api/resources/pages/client/requests/PagesGetMetadataRequest.js +5 -0
- package/api/resources/pages/client/requests/PagesListRequest.d.ts +21 -0
- package/api/resources/pages/client/requests/PagesListRequest.js +5 -0
- package/api/resources/pages/client/requests/UpdatePageSettingsRequest.d.ts +40 -0
- package/api/resources/pages/client/requests/UpdatePageSettingsRequest.js +5 -0
- package/api/resources/pages/client/requests/index.d.ts +5 -0
- package/api/resources/pages/client/requests/index.js +2 -0
- package/api/resources/pages/index.d.ts +1 -0
- package/api/resources/pages/index.js +1 -0
- package/api/resources/pages/resources/scripts/client/Client.d.ts +20 -3
- package/api/resources/pages/resources/scripts/client/Client.js +32 -9
- package/api/resources/pages/types/DomWriteNodesItem.d.ts +9 -0
- package/api/resources/pages/types/DomWriteNodesItem.js +5 -0
- package/api/resources/pages/types/index.d.ts +1 -0
- package/api/resources/pages/types/index.js +17 -0
- package/api/resources/products/client/Client.d.ts +54 -74
- package/api/resources/products/client/Client.js +79 -87
- package/api/resources/products/client/requests/ProductSkuCreate.d.ts +15 -0
- package/api/resources/products/client/requests/ProductSkuCreate.js +5 -0
- package/api/resources/products/client/requests/ProductsCreateSkuRequest.d.ts +7 -7
- package/api/resources/products/client/requests/ProductsUpdateRequest.d.ts +29 -8
- package/api/resources/products/client/requests/ProductsUpdateSkuRequest.d.ts +7 -7
- package/api/resources/products/client/requests/index.d.ts +1 -1
- package/api/resources/products/types/ProductSkuCreateProduct.d.ts +22 -0
- package/api/resources/products/types/ProductSkuCreateProduct.js +5 -0
- package/api/resources/products/types/ProductSkuCreateProductFieldData.d.ts +23 -0
- package/api/resources/products/types/ProductSkuCreateProductFieldData.js +5 -0
- package/api/resources/products/types/ProductSkuCreateProductFieldDataEcProductType.d.ts +13 -0
- package/api/resources/products/types/ProductSkuCreateProductFieldDataEcProductType.js +12 -0
- package/api/resources/products/types/ProductSkuCreateProductFieldDataTaxCategory.d.ts +38 -0
- package/api/resources/products/types/ProductSkuCreateProductFieldDataTaxCategory.js +37 -0
- package/api/resources/products/types/ProductSkuCreateSku.d.ts +19 -0
- package/api/resources/products/types/ProductSkuCreateSku.js +5 -0
- package/api/resources/products/types/ProductSkuCreateSkuFieldData.d.ts +26 -0
- package/api/resources/products/types/ProductSkuCreateSkuFieldData.js +5 -0
- package/api/resources/products/types/ProductSkuCreateSkuFieldDataCompareAtPrice.d.ts +12 -0
- package/api/resources/products/types/ProductSkuCreateSkuFieldDataCompareAtPrice.js +5 -0
- package/api/resources/products/types/ProductSkuCreateSkuFieldDataEcSkuBillingMethod.d.ts +11 -0
- package/api/resources/products/types/ProductSkuCreateSkuFieldDataEcSkuBillingMethod.js +10 -0
- package/api/resources/products/types/ProductSkuCreateSkuFieldDataEcSkuSubscriptionPlan.d.ts +15 -0
- package/api/resources/products/types/ProductSkuCreateSkuFieldDataEcSkuSubscriptionPlan.js +5 -0
- package/api/resources/products/types/ProductSkuCreateSkuFieldDataEcSkuSubscriptionPlanInterval.d.ts +13 -0
- package/api/resources/products/types/ProductSkuCreateSkuFieldDataEcSkuSubscriptionPlanInterval.js +12 -0
- package/api/resources/products/types/ProductSkuCreateSkuFieldDataPrice.d.ts +13 -0
- package/api/resources/products/types/ProductSkuCreateSkuFieldDataPrice.js +5 -0
- package/api/resources/products/types/index.d.ts +11 -0
- package/api/resources/products/types/index.js +11 -0
- package/api/resources/scripts/client/Client.d.ts +16 -1
- package/api/resources/scripts/client/Client.js +28 -7
- package/api/resources/scripts/client/requests/CustomCodeHostedRequest.d.ts +9 -0
- package/api/resources/scripts/client/requests/CustomCodeInlineRequest.d.ts +8 -0
- package/api/resources/sites/client/Client.d.ts +6 -3
- package/api/resources/sites/client/Client.js +26 -13
- package/api/resources/sites/resources/activityLogs/client/Client.d.ts +32 -0
- package/api/resources/sites/resources/activityLogs/client/Client.js +136 -0
- package/api/resources/sites/resources/activityLogs/client/index.d.ts +1 -0
- package/api/resources/sites/resources/activityLogs/client/index.js +17 -0
- package/api/resources/sites/resources/activityLogs/client/requests/ActivityLogsListRequest.d.ts +17 -0
- package/api/resources/sites/resources/activityLogs/client/requests/ActivityLogsListRequest.js +5 -0
- package/api/resources/sites/resources/activityLogs/client/requests/index.d.ts +1 -0
- package/api/resources/sites/resources/activityLogs/client/requests/index.js +2 -0
- package/api/resources/sites/resources/activityLogs/index.d.ts +1 -0
- package/api/resources/sites/resources/activityLogs/index.js +17 -0
- package/api/resources/sites/resources/index.d.ts +2 -0
- package/api/resources/sites/resources/index.js +3 -1
- package/api/resources/sites/resources/scripts/client/Client.d.ts +21 -4
- package/api/resources/sites/resources/scripts/client/Client.js +37 -12
- package/api/resources/token/client/Client.js +8 -4
- package/api/resources/users/client/Client.d.ts +14 -18
- package/api/resources/users/client/Client.js +35 -29
- package/api/resources/users/client/requests/UsersInviteRequest.d.ts +2 -1
- package/api/resources/users/client/requests/UsersListRequest.d.ts +1 -3
- package/api/resources/users/client/requests/UsersUpdateRequest.d.ts +23 -0
- package/api/resources/users/client/requests/UsersUpdateRequest.js +5 -0
- package/api/resources/users/client/requests/index.d.ts +1 -0
- package/api/resources/users/types/UsersUpdateRequestData.d.ts +11 -0
- package/api/resources/users/types/UsersUpdateRequestData.js +5 -0
- package/api/resources/users/types/index.d.ts +1 -0
- package/api/resources/users/types/index.js +1 -0
- package/api/resources/webhooks/client/Client.d.ts +4 -4
- package/api/resources/webhooks/client/Client.js +20 -12
- package/api/types/AssetFolder.d.ts +3 -0
- package/api/types/AssetFolderList.d.ts +2 -1
- package/api/types/CollectionItem.d.ts +2 -0
- package/api/types/Dom.d.ts +13 -0
- package/api/types/Dom.js +5 -0
- package/api/types/ImageNode.d.ts +10 -0
- package/api/types/ImageNode.js +5 -0
- package/api/types/InvalidScopes.d.ts +10 -0
- package/api/types/InvalidScopes.js +5 -0
- package/api/types/Node.d.ts +15 -0
- package/api/types/Node.js +5 -0
- package/api/types/NodeType.d.ts +8 -0
- package/api/types/NodeType.js +10 -0
- package/api/types/NotEnterprisePlanSite.d.ts +14 -0
- package/api/types/NotEnterprisePlanSite.js +5 -0
- package/api/types/OauthScope.d.ts +5 -1
- package/api/types/OauthScope.js +1 -0
- package/api/types/ProductAndSkUs.d.ts +1 -0
- package/api/types/ProductFieldData.d.ts +17 -3
- package/api/types/ProductFieldDataEcProductType.d.ts +13 -0
- package/api/types/ProductFieldDataEcProductType.js +12 -0
- package/api/types/ProductFieldDataTaxCategory.d.ts +38 -0
- package/api/types/ProductFieldDataTaxCategory.js +37 -0
- package/api/types/PublishStatus.d.ts +1 -1
- package/api/types/SiteActivityLogItem.d.ts +1 -1
- package/api/types/SiteActivityLogItemUser.d.ts +7 -0
- package/api/types/SiteActivityLogItemUser.js +5 -0
- package/api/types/Sku.d.ts +1 -0
- package/api/types/SkuFieldData.d.ts +15 -4
- package/api/types/SkuFieldDataCompareAtPrice.d.ts +12 -0
- package/api/types/SkuFieldDataCompareAtPrice.js +5 -0
- package/api/types/SkuFieldDataEcSkuBillingMethod.d.ts +8 -0
- package/api/types/SkuFieldDataEcSkuBillingMethod.js +10 -0
- package/api/types/SkuFieldDataEcSkuSubscriptionPlan.d.ts +12 -0
- package/api/types/SkuFieldDataEcSkuSubscriptionPlan.js +5 -0
- package/api/types/SkuFieldDataEcSkuSubscriptionPlanInterval.d.ts +13 -0
- package/api/types/SkuFieldDataEcSkuSubscriptionPlanInterval.js +12 -0
- package/api/types/SkuPropertyList.d.ts +6 -6
- package/api/types/SkuPropertyListEnumItem.d.ts +3 -3
- package/api/types/TextNode.d.ts +10 -0
- package/api/types/TextNode.js +5 -0
- package/api/types/index.d.ts +14 -0
- package/api/types/index.js +14 -0
- package/core/fetcher/Fetcher.d.ts +1 -1
- package/core/fetcher/Fetcher.js +26 -18
- package/core/index.d.ts +1 -0
- package/core/index.js +1 -0
- package/core/runtime/index.d.ts +1 -0
- package/core/runtime/index.js +5 -0
- package/core/runtime/runtime.d.ts +8 -0
- package/core/runtime/runtime.js +82 -0
- package/dist/api/resources/accessGroups/client/Client.d.ts +1 -3
- package/dist/api/resources/accessGroups/client/Client.js +5 -5
- package/dist/api/resources/accessGroups/client/requests/AccessGroupsListRequest.d.ts +1 -3
- package/dist/api/resources/assets/client/Client.d.ts +21 -7
- package/dist/api/resources/assets/client/Client.js +110 -21
- package/dist/api/resources/assets/client/requests/AssetsUpdateRequest.d.ts +13 -0
- package/dist/api/resources/assets/client/requests/AssetsUpdateRequest.js +5 -0
- package/dist/api/resources/assets/client/requests/index.d.ts +1 -0
- package/dist/api/resources/collections/client/Client.d.ts +11 -4
- package/dist/api/resources/collections/client/Client.js +31 -14
- package/dist/api/resources/collections/client/requests/CollectionsCreateRequest.d.ts +8 -0
- package/dist/api/resources/collections/resources/fields/client/Client.d.ts +16 -1
- package/dist/api/resources/collections/resources/fields/client/Client.js +24 -5
- package/dist/api/resources/collections/resources/fields/client/requests/FieldCreate.d.ts +23 -0
- package/dist/api/resources/collections/resources/fields/client/requests/FieldCreate.js +5 -0
- package/dist/api/resources/collections/resources/fields/client/requests/FieldUpdate.d.ts +8 -0
- package/dist/api/resources/collections/resources/fields/client/requests/index.d.ts +1 -0
- package/dist/api/resources/collections/resources/fields/index.d.ts +1 -0
- package/dist/api/resources/collections/resources/fields/index.js +1 -0
- package/dist/api/resources/collections/resources/fields/types/FieldCreateType.d.ts +22 -0
- package/dist/api/resources/collections/resources/fields/types/FieldCreateType.js +21 -0
- package/dist/api/resources/collections/resources/fields/types/index.d.ts +1 -0
- package/dist/api/resources/collections/resources/fields/types/index.js +17 -0
- package/dist/api/resources/collections/resources/index.d.ts +2 -1
- package/dist/api/resources/collections/resources/index.js +3 -2
- package/dist/api/resources/collections/resources/items/client/Client.d.ts +82 -16
- package/dist/api/resources/collections/resources/items/client/Client.js +302 -29
- package/dist/api/resources/collections/resources/items/client/requests/ItemsDeleteItemRequest.d.ts +13 -0
- package/dist/api/resources/collections/resources/items/client/requests/ItemsDeleteItemRequest.js +5 -0
- package/dist/api/resources/collections/resources/items/client/requests/ItemsGetItemRequest.d.ts +13 -0
- package/dist/api/resources/collections/resources/items/client/requests/ItemsGetItemRequest.js +5 -0
- package/dist/api/resources/collections/resources/items/client/requests/ItemsListItemsRequest.d.ts +4 -0
- package/dist/api/resources/collections/resources/items/client/requests/ItemsPublishItemRequest.d.ts +1 -1
- package/dist/api/resources/collections/resources/items/client/requests/index.d.ts +2 -0
- package/dist/api/resources/ecommerce/client/Client.d.ts +1 -1
- package/dist/api/resources/ecommerce/client/Client.js +5 -3
- package/dist/api/resources/forms/client/Client.d.ts +6 -6
- package/dist/api/resources/forms/client/Client.js +35 -16
- package/dist/api/resources/forms/client/requests/FormsListRequest.d.ts +17 -0
- package/dist/api/resources/forms/client/requests/FormsListRequest.js +5 -0
- package/dist/api/resources/forms/client/requests/index.d.ts +1 -0
- package/dist/api/resources/index.d.ts +3 -1
- package/dist/api/resources/index.js +4 -2
- package/dist/api/resources/inventory/client/Client.d.ts +2 -2
- package/dist/api/resources/inventory/client/Client.js +10 -6
- package/dist/api/resources/orders/client/Client.d.ts +6 -10
- package/dist/api/resources/orders/client/Client.js +30 -22
- package/dist/api/resources/orders/client/requests/OrdersListRequest.d.ts +1 -3
- package/dist/api/resources/orders/client/requests/OrdersRefundRequest.d.ts +1 -3
- package/dist/api/resources/pages/client/Client.d.ts +73 -4
- package/dist/api/resources/pages/client/Client.js +312 -8
- package/dist/api/resources/pages/client/index.d.ts +1 -1
- package/dist/api/resources/pages/client/index.js +15 -0
- package/dist/api/resources/pages/client/requests/DomWrite.d.ts +21 -0
- package/dist/api/resources/pages/client/requests/DomWrite.js +5 -0
- package/dist/api/resources/pages/client/requests/PagesGetContentRequest.d.ts +13 -0
- package/dist/api/resources/pages/client/requests/PagesGetContentRequest.js +5 -0
- package/dist/api/resources/pages/client/requests/PagesGetMetadataRequest.d.ts +13 -0
- package/dist/api/resources/pages/client/requests/PagesGetMetadataRequest.js +5 -0
- package/dist/api/resources/pages/client/requests/PagesListRequest.d.ts +21 -0
- package/dist/api/resources/pages/client/requests/PagesListRequest.js +5 -0
- package/dist/api/resources/pages/client/requests/UpdatePageSettingsRequest.d.ts +40 -0
- package/dist/api/resources/pages/client/requests/UpdatePageSettingsRequest.js +5 -0
- package/dist/api/resources/pages/client/requests/index.d.ts +5 -0
- package/dist/api/resources/pages/client/requests/index.js +2 -0
- package/dist/api/resources/pages/index.d.ts +1 -0
- package/dist/api/resources/pages/index.js +1 -0
- package/dist/api/resources/pages/resources/scripts/client/Client.d.ts +20 -3
- package/dist/api/resources/pages/resources/scripts/client/Client.js +32 -9
- package/dist/api/resources/pages/types/DomWriteNodesItem.d.ts +9 -0
- package/dist/api/resources/pages/types/DomWriteNodesItem.js +5 -0
- package/dist/api/resources/pages/types/index.d.ts +1 -0
- package/dist/api/resources/pages/types/index.js +17 -0
- package/dist/api/resources/products/client/Client.d.ts +54 -74
- package/dist/api/resources/products/client/Client.js +79 -87
- package/dist/api/resources/products/client/requests/ProductSkuCreate.d.ts +15 -0
- package/dist/api/resources/products/client/requests/ProductSkuCreate.js +5 -0
- package/dist/api/resources/products/client/requests/ProductsCreateSkuRequest.d.ts +7 -7
- package/dist/api/resources/products/client/requests/ProductsUpdateRequest.d.ts +29 -8
- package/dist/api/resources/products/client/requests/ProductsUpdateSkuRequest.d.ts +7 -7
- package/dist/api/resources/products/client/requests/index.d.ts +1 -1
- package/dist/api/resources/products/types/ProductSkuCreateProduct.d.ts +22 -0
- package/dist/api/resources/products/types/ProductSkuCreateProduct.js +5 -0
- package/dist/api/resources/products/types/ProductSkuCreateProductFieldData.d.ts +23 -0
- package/dist/api/resources/products/types/ProductSkuCreateProductFieldData.js +5 -0
- package/dist/api/resources/products/types/ProductSkuCreateProductFieldDataEcProductType.d.ts +13 -0
- package/dist/api/resources/products/types/ProductSkuCreateProductFieldDataEcProductType.js +12 -0
- package/dist/api/resources/products/types/ProductSkuCreateProductFieldDataTaxCategory.d.ts +38 -0
- package/dist/api/resources/products/types/ProductSkuCreateProductFieldDataTaxCategory.js +37 -0
- package/dist/api/resources/products/types/ProductSkuCreateSku.d.ts +19 -0
- package/dist/api/resources/products/types/ProductSkuCreateSku.js +5 -0
- package/dist/api/resources/products/types/ProductSkuCreateSkuFieldData.d.ts +26 -0
- package/dist/api/resources/products/types/ProductSkuCreateSkuFieldData.js +5 -0
- package/dist/api/resources/products/types/ProductSkuCreateSkuFieldDataCompareAtPrice.d.ts +12 -0
- package/dist/api/resources/products/types/ProductSkuCreateSkuFieldDataCompareAtPrice.js +5 -0
- package/dist/api/resources/products/types/ProductSkuCreateSkuFieldDataEcSkuBillingMethod.d.ts +11 -0
- package/dist/api/resources/products/types/ProductSkuCreateSkuFieldDataEcSkuBillingMethod.js +10 -0
- package/dist/api/resources/products/types/ProductSkuCreateSkuFieldDataEcSkuSubscriptionPlan.d.ts +15 -0
- package/dist/api/resources/products/types/ProductSkuCreateSkuFieldDataEcSkuSubscriptionPlan.js +5 -0
- package/dist/api/resources/products/types/ProductSkuCreateSkuFieldDataEcSkuSubscriptionPlanInterval.d.ts +13 -0
- package/dist/api/resources/products/types/ProductSkuCreateSkuFieldDataEcSkuSubscriptionPlanInterval.js +12 -0
- package/dist/api/resources/products/types/ProductSkuCreateSkuFieldDataPrice.d.ts +13 -0
- package/dist/api/resources/products/types/ProductSkuCreateSkuFieldDataPrice.js +5 -0
- package/dist/api/resources/products/types/index.d.ts +11 -0
- package/dist/api/resources/products/types/index.js +11 -0
- package/dist/api/resources/scripts/client/Client.d.ts +16 -1
- package/dist/api/resources/scripts/client/Client.js +28 -7
- package/dist/api/resources/scripts/client/requests/CustomCodeHostedRequest.d.ts +9 -0
- package/dist/api/resources/scripts/client/requests/CustomCodeInlineRequest.d.ts +8 -0
- package/dist/api/resources/sites/client/Client.d.ts +6 -3
- package/dist/api/resources/sites/client/Client.js +26 -13
- package/dist/api/resources/sites/resources/activityLogs/client/Client.d.ts +32 -0
- package/dist/api/resources/sites/resources/activityLogs/client/Client.js +136 -0
- package/dist/api/resources/sites/resources/activityLogs/client/index.d.ts +1 -0
- package/dist/api/resources/sites/resources/activityLogs/client/index.js +17 -0
- package/dist/api/resources/sites/resources/activityLogs/client/requests/ActivityLogsListRequest.d.ts +17 -0
- package/dist/api/resources/sites/resources/activityLogs/client/requests/ActivityLogsListRequest.js +5 -0
- package/dist/api/resources/sites/resources/activityLogs/client/requests/index.d.ts +1 -0
- package/dist/api/resources/sites/resources/activityLogs/client/requests/index.js +2 -0
- package/dist/api/resources/sites/resources/activityLogs/index.d.ts +1 -0
- package/dist/api/resources/sites/resources/activityLogs/index.js +17 -0
- package/dist/api/resources/sites/resources/index.d.ts +2 -0
- package/dist/api/resources/sites/resources/index.js +3 -1
- package/dist/api/resources/sites/resources/scripts/client/Client.d.ts +21 -4
- package/dist/api/resources/sites/resources/scripts/client/Client.js +37 -12
- package/dist/api/resources/token/client/Client.js +8 -4
- package/dist/api/resources/users/client/Client.d.ts +14 -18
- package/dist/api/resources/users/client/Client.js +35 -29
- package/dist/api/resources/users/client/requests/UsersInviteRequest.d.ts +2 -1
- package/dist/api/resources/users/client/requests/UsersListRequest.d.ts +1 -3
- package/dist/api/resources/users/client/requests/UsersUpdateRequest.d.ts +23 -0
- package/dist/api/resources/users/client/requests/UsersUpdateRequest.js +5 -0
- package/dist/api/resources/users/client/requests/index.d.ts +1 -0
- package/dist/api/resources/users/types/UsersUpdateRequestData.d.ts +11 -0
- package/dist/api/resources/users/types/UsersUpdateRequestData.js +5 -0
- package/dist/api/resources/users/types/index.d.ts +1 -0
- package/dist/api/resources/users/types/index.js +1 -0
- package/dist/api/resources/webhooks/client/Client.d.ts +4 -4
- package/dist/api/resources/webhooks/client/Client.js +20 -12
- package/dist/api/types/AssetFolder.d.ts +3 -0
- package/dist/api/types/AssetFolderList.d.ts +2 -1
- package/dist/api/types/CollectionItem.d.ts +2 -0
- package/dist/api/types/Dom.d.ts +13 -0
- package/dist/api/types/Dom.js +5 -0
- package/dist/api/types/ImageNode.d.ts +10 -0
- package/dist/api/types/ImageNode.js +5 -0
- package/dist/api/types/InvalidScopes.d.ts +10 -0
- package/dist/api/types/InvalidScopes.js +5 -0
- package/dist/api/types/Node.d.ts +15 -0
- package/dist/api/types/Node.js +5 -0
- package/dist/api/types/NodeType.d.ts +8 -0
- package/dist/api/types/NodeType.js +10 -0
- package/dist/api/types/NotEnterprisePlanSite.d.ts +14 -0
- package/dist/api/types/NotEnterprisePlanSite.js +5 -0
- package/dist/api/types/OauthScope.d.ts +5 -1
- package/dist/api/types/OauthScope.js +1 -0
- package/dist/api/types/ProductAndSkUs.d.ts +1 -0
- package/dist/api/types/ProductFieldData.d.ts +17 -3
- package/dist/api/types/ProductFieldDataEcProductType.d.ts +13 -0
- package/dist/api/types/ProductFieldDataEcProductType.js +12 -0
- package/dist/api/types/ProductFieldDataTaxCategory.d.ts +38 -0
- package/dist/api/types/ProductFieldDataTaxCategory.js +37 -0
- package/dist/api/types/PublishStatus.d.ts +1 -1
- package/dist/api/types/SiteActivityLogItem.d.ts +1 -1
- package/dist/api/types/SiteActivityLogItemUser.d.ts +7 -0
- package/dist/api/types/SiteActivityLogItemUser.js +5 -0
- package/dist/api/types/Sku.d.ts +1 -0
- package/dist/api/types/SkuFieldData.d.ts +15 -4
- package/dist/api/types/SkuFieldDataCompareAtPrice.d.ts +12 -0
- package/dist/api/types/SkuFieldDataCompareAtPrice.js +5 -0
- package/dist/api/types/SkuFieldDataEcSkuBillingMethod.d.ts +8 -0
- package/dist/api/types/SkuFieldDataEcSkuBillingMethod.js +10 -0
- package/dist/api/types/SkuFieldDataEcSkuSubscriptionPlan.d.ts +12 -0
- package/dist/api/types/SkuFieldDataEcSkuSubscriptionPlan.js +5 -0
- package/dist/api/types/SkuFieldDataEcSkuSubscriptionPlanInterval.d.ts +13 -0
- package/dist/api/types/SkuFieldDataEcSkuSubscriptionPlanInterval.js +12 -0
- package/dist/api/types/SkuPropertyList.d.ts +6 -6
- package/dist/api/types/SkuPropertyListEnumItem.d.ts +3 -3
- package/dist/api/types/TextNode.d.ts +10 -0
- package/dist/api/types/TextNode.js +5 -0
- package/dist/api/types/index.d.ts +14 -0
- package/dist/api/types/index.js +14 -0
- package/dist/core/fetcher/Fetcher.d.ts +1 -1
- package/dist/core/fetcher/Fetcher.js +26 -18
- package/dist/core/index.d.ts +1 -0
- package/dist/core/index.js +1 -0
- package/dist/core/runtime/index.d.ts +1 -0
- package/dist/core/runtime/index.js +5 -0
- package/dist/core/runtime/runtime.d.ts +8 -0
- package/dist/core/runtime/runtime.js +82 -0
- package/dist/serialization/resources/assets/client/requests/AssetsUpdateRequest.d.ts +12 -0
- package/dist/serialization/resources/assets/client/requests/AssetsUpdateRequest.js +33 -0
- package/dist/serialization/resources/assets/client/requests/index.d.ts +1 -0
- package/dist/serialization/resources/assets/client/requests/index.js +3 -1
- package/dist/serialization/resources/collections/resources/fields/client/requests/FieldCreate.d.ts +15 -0
- package/dist/serialization/resources/collections/resources/fields/client/requests/FieldCreate.js +45 -0
- package/dist/serialization/resources/collections/resources/fields/client/requests/index.d.ts +1 -0
- package/dist/serialization/resources/collections/resources/fields/client/requests/index.js +3 -1
- package/dist/serialization/resources/collections/resources/fields/index.d.ts +1 -0
- package/dist/serialization/resources/collections/resources/fields/index.js +1 -0
- package/dist/serialization/resources/collections/resources/fields/types/FieldCreateType.d.ts +10 -0
- package/dist/serialization/resources/collections/resources/fields/types/FieldCreateType.js +45 -0
- package/dist/serialization/resources/collections/resources/fields/types/index.d.ts +1 -0
- package/dist/serialization/resources/collections/resources/fields/types/index.js +17 -0
- package/dist/serialization/resources/collections/resources/index.d.ts +2 -1
- package/dist/serialization/resources/collections/resources/index.js +3 -2
- package/dist/serialization/resources/index.d.ts +3 -0
- package/dist/serialization/resources/index.js +4 -1
- package/dist/serialization/resources/pages/client/index.d.ts +1 -0
- package/dist/serialization/resources/pages/client/index.js +17 -0
- package/dist/serialization/resources/pages/client/requests/DomWrite.d.ts +12 -0
- package/dist/serialization/resources/pages/client/requests/DomWrite.js +42 -0
- package/dist/serialization/resources/pages/client/requests/index.d.ts +1 -0
- package/dist/serialization/resources/pages/client/requests/index.js +5 -0
- package/dist/serialization/resources/pages/index.d.ts +2 -0
- package/dist/serialization/resources/pages/index.js +18 -0
- package/dist/serialization/resources/pages/types/DomWriteNodesItem.d.ts +13 -0
- package/dist/serialization/resources/pages/types/DomWriteNodesItem.js +34 -0
- package/dist/serialization/resources/pages/types/index.d.ts +1 -0
- package/dist/serialization/resources/pages/types/index.js +17 -0
- package/dist/serialization/resources/products/client/requests/{ProductsCreateRequest.d.ts → ProductSkuCreate.d.ts} +4 -4
- package/{serialization/resources/products/client/requests/ProductsCreateRequest.js → dist/serialization/resources/products/client/requests/ProductSkuCreate.js} +6 -4
- 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/ProductSkuCreateProduct.d.ts +18 -0
- package/dist/serialization/resources/products/types/ProductSkuCreateProduct.js +50 -0
- package/dist/serialization/resources/products/types/ProductSkuCreateProductFieldData.d.ts +20 -0
- package/dist/serialization/resources/products/types/ProductSkuCreateProductFieldData.js +56 -0
- package/dist/serialization/resources/products/types/ProductSkuCreateProductFieldDataEcProductType.d.ts +10 -0
- package/dist/serialization/resources/products/types/ProductSkuCreateProductFieldDataEcProductType.js +36 -0
- package/dist/serialization/resources/products/types/ProductSkuCreateProductFieldDataTaxCategory.d.ts +10 -0
- package/dist/serialization/resources/products/types/ProductSkuCreateProductFieldDataTaxCategory.js +61 -0
- package/dist/serialization/resources/products/types/ProductSkuCreateSku.d.ts +16 -0
- package/dist/serialization/resources/products/types/ProductSkuCreateSku.js +48 -0
- package/dist/serialization/resources/products/types/ProductSkuCreateSkuFieldData.d.ts +20 -0
- package/dist/serialization/resources/products/types/ProductSkuCreateSkuFieldData.js +56 -0
- package/dist/serialization/resources/products/types/ProductSkuCreateSkuFieldDataCompareAtPrice.d.ts +13 -0
- package/dist/serialization/resources/products/types/ProductSkuCreateSkuFieldDataCompareAtPrice.js +34 -0
- package/dist/serialization/resources/products/types/ProductSkuCreateSkuFieldDataEcSkuBillingMethod.d.ts +10 -0
- package/dist/serialization/resources/products/types/ProductSkuCreateSkuFieldDataEcSkuBillingMethod.js +31 -0
- package/dist/serialization/resources/products/types/ProductSkuCreateSkuFieldDataEcSkuSubscriptionPlan.d.ts +14 -0
- package/dist/serialization/resources/products/types/ProductSkuCreateSkuFieldDataEcSkuSubscriptionPlan.js +46 -0
- package/dist/serialization/resources/products/types/ProductSkuCreateSkuFieldDataEcSkuSubscriptionPlanInterval.d.ts +10 -0
- package/dist/serialization/resources/products/types/ProductSkuCreateSkuFieldDataEcSkuSubscriptionPlanInterval.js +31 -0
- package/dist/serialization/resources/products/types/ProductSkuCreateSkuFieldDataPrice.d.ts +14 -0
- package/dist/serialization/resources/products/types/ProductSkuCreateSkuFieldDataPrice.js +35 -0
- package/dist/serialization/resources/products/types/index.d.ts +11 -0
- package/dist/serialization/resources/products/types/index.js +11 -0
- package/dist/serialization/resources/users/client/requests/UsersUpdateRequest.d.ts +13 -0
- package/dist/serialization/resources/users/client/requests/UsersUpdateRequest.js +43 -0
- package/dist/serialization/resources/users/client/requests/index.d.ts +1 -0
- package/dist/serialization/resources/users/client/requests/index.js +3 -1
- package/dist/serialization/resources/users/types/UsersUpdateRequestData.d.ts +14 -0
- package/dist/serialization/resources/users/types/UsersUpdateRequestData.js +35 -0
- package/dist/serialization/resources/users/types/index.d.ts +1 -0
- package/dist/serialization/resources/users/types/index.js +1 -0
- package/dist/serialization/types/AssetFolderList.d.ts +1 -1
- package/dist/serialization/types/AssetFolderList.js +2 -2
- package/dist/serialization/types/CollectionItem.d.ts +1 -0
- package/dist/serialization/types/CollectionItem.js +1 -0
- package/dist/serialization/types/Dom.d.ts +14 -0
- package/dist/serialization/types/Dom.js +44 -0
- package/dist/serialization/types/ImageNode.d.ts +13 -0
- package/dist/serialization/types/ImageNode.js +34 -0
- package/dist/serialization/types/InvalidScopes.d.ts +16 -0
- package/dist/serialization/types/InvalidScopes.js +37 -0
- package/dist/serialization/types/Node.d.ts +16 -0
- package/dist/serialization/types/Node.js +46 -0
- package/dist/serialization/types/NodeType.d.ts +10 -0
- package/dist/serialization/types/NodeType.js +31 -0
- package/dist/serialization/types/NotEnterprisePlanSite.d.ts +16 -0
- package/dist/serialization/types/NotEnterprisePlanSite.js +48 -0
- package/dist/serialization/types/OauthScope.d.ts +1 -1
- package/dist/serialization/types/OauthScope.js +1 -0
- package/dist/serialization/types/ProductFieldData.d.ts +9 -2
- package/dist/serialization/types/ProductFieldData.js +9 -2
- package/dist/serialization/types/ProductFieldDataEcProductType.d.ts +10 -0
- package/dist/serialization/types/ProductFieldDataEcProductType.js +36 -0
- package/dist/serialization/types/ProductFieldDataTaxCategory.d.ts +10 -0
- package/dist/serialization/types/ProductFieldDataTaxCategory.js +61 -0
- package/dist/serialization/types/SiteActivityLogItem.d.ts +1 -1
- package/dist/serialization/types/SiteActivityLogItem.js +1 -1
- package/dist/serialization/types/SiteActivityLogItemUser.d.ts +13 -0
- package/dist/serialization/types/SiteActivityLogItemUser.js +34 -0
- package/dist/serialization/types/SkuFieldData.d.ts +8 -3
- package/dist/serialization/types/SkuFieldData.js +8 -3
- package/dist/serialization/types/SkuFieldDataCompareAtPrice.d.ts +13 -0
- package/dist/serialization/types/SkuFieldDataCompareAtPrice.js +34 -0
- package/dist/serialization/types/SkuFieldDataEcSkuBillingMethod.d.ts +10 -0
- package/dist/serialization/types/SkuFieldDataEcSkuBillingMethod.js +31 -0
- package/dist/serialization/types/SkuFieldDataEcSkuSubscriptionPlan.d.ts +14 -0
- package/dist/serialization/types/SkuFieldDataEcSkuSubscriptionPlan.js +46 -0
- package/dist/serialization/types/SkuFieldDataEcSkuSubscriptionPlanInterval.d.ts +10 -0
- package/dist/serialization/types/SkuFieldDataEcSkuSubscriptionPlanInterval.js +31 -0
- package/dist/serialization/types/SkuPropertyList.d.ts +3 -3
- package/dist/serialization/types/SkuPropertyList.js +3 -5
- package/dist/serialization/types/SkuPropertyListEnumItem.d.ts +3 -3
- package/dist/serialization/types/SkuPropertyListEnumItem.js +3 -3
- package/dist/serialization/types/TextNode.d.ts +13 -0
- package/dist/serialization/types/TextNode.js +34 -0
- package/dist/serialization/types/index.d.ts +14 -0
- package/dist/serialization/types/index.js +14 -0
- package/jest.config.js +5 -0
- package/package.json +6 -4
- package/serialization/resources/assets/client/requests/AssetsUpdateRequest.d.ts +12 -0
- package/serialization/resources/assets/client/requests/AssetsUpdateRequest.js +33 -0
- package/serialization/resources/assets/client/requests/index.d.ts +1 -0
- package/serialization/resources/assets/client/requests/index.js +3 -1
- package/serialization/resources/collections/resources/fields/client/requests/FieldCreate.d.ts +15 -0
- package/serialization/resources/collections/resources/fields/client/requests/FieldCreate.js +45 -0
- package/serialization/resources/collections/resources/fields/client/requests/index.d.ts +1 -0
- package/serialization/resources/collections/resources/fields/client/requests/index.js +3 -1
- package/serialization/resources/collections/resources/fields/index.d.ts +1 -0
- package/serialization/resources/collections/resources/fields/index.js +1 -0
- package/serialization/resources/collections/resources/fields/types/FieldCreateType.d.ts +10 -0
- package/serialization/resources/collections/resources/fields/types/FieldCreateType.js +45 -0
- package/serialization/resources/collections/resources/fields/types/index.d.ts +1 -0
- package/serialization/resources/collections/resources/fields/types/index.js +17 -0
- package/serialization/resources/collections/resources/index.d.ts +2 -1
- package/serialization/resources/collections/resources/index.js +3 -2
- package/serialization/resources/index.d.ts +3 -0
- package/serialization/resources/index.js +4 -1
- package/serialization/resources/pages/client/index.d.ts +1 -0
- package/serialization/resources/pages/client/index.js +17 -0
- package/serialization/resources/pages/client/requests/DomWrite.d.ts +12 -0
- package/serialization/resources/pages/client/requests/DomWrite.js +42 -0
- package/serialization/resources/pages/client/requests/index.d.ts +1 -0
- package/serialization/resources/pages/client/requests/index.js +5 -0
- package/serialization/resources/pages/index.d.ts +2 -0
- package/serialization/resources/pages/index.js +18 -0
- package/serialization/resources/pages/types/DomWriteNodesItem.d.ts +13 -0
- package/serialization/resources/pages/types/DomWriteNodesItem.js +34 -0
- package/serialization/resources/pages/types/index.d.ts +1 -0
- package/serialization/resources/pages/types/index.js +17 -0
- package/serialization/resources/products/client/requests/{ProductsCreateRequest.d.ts → ProductSkuCreate.d.ts} +4 -4
- package/{dist/serialization/resources/products/client/requests/ProductsCreateRequest.js → serialization/resources/products/client/requests/ProductSkuCreate.js} +6 -4
- 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/ProductSkuCreateProduct.d.ts +18 -0
- package/serialization/resources/products/types/ProductSkuCreateProduct.js +50 -0
- package/serialization/resources/products/types/ProductSkuCreateProductFieldData.d.ts +20 -0
- package/serialization/resources/products/types/ProductSkuCreateProductFieldData.js +56 -0
- package/serialization/resources/products/types/ProductSkuCreateProductFieldDataEcProductType.d.ts +10 -0
- package/serialization/resources/products/types/ProductSkuCreateProductFieldDataEcProductType.js +36 -0
- package/serialization/resources/products/types/ProductSkuCreateProductFieldDataTaxCategory.d.ts +10 -0
- package/serialization/resources/products/types/ProductSkuCreateProductFieldDataTaxCategory.js +61 -0
- package/serialization/resources/products/types/ProductSkuCreateSku.d.ts +16 -0
- package/serialization/resources/products/types/ProductSkuCreateSku.js +48 -0
- package/serialization/resources/products/types/ProductSkuCreateSkuFieldData.d.ts +20 -0
- package/serialization/resources/products/types/ProductSkuCreateSkuFieldData.js +56 -0
- package/serialization/resources/products/types/ProductSkuCreateSkuFieldDataCompareAtPrice.d.ts +13 -0
- package/serialization/resources/products/types/ProductSkuCreateSkuFieldDataCompareAtPrice.js +34 -0
- package/serialization/resources/products/types/ProductSkuCreateSkuFieldDataEcSkuBillingMethod.d.ts +10 -0
- package/serialization/resources/products/types/ProductSkuCreateSkuFieldDataEcSkuBillingMethod.js +31 -0
- package/serialization/resources/products/types/ProductSkuCreateSkuFieldDataEcSkuSubscriptionPlan.d.ts +14 -0
- package/serialization/resources/products/types/ProductSkuCreateSkuFieldDataEcSkuSubscriptionPlan.js +46 -0
- package/serialization/resources/products/types/ProductSkuCreateSkuFieldDataEcSkuSubscriptionPlanInterval.d.ts +10 -0
- package/serialization/resources/products/types/ProductSkuCreateSkuFieldDataEcSkuSubscriptionPlanInterval.js +31 -0
- package/serialization/resources/products/types/ProductSkuCreateSkuFieldDataPrice.d.ts +14 -0
- package/serialization/resources/products/types/ProductSkuCreateSkuFieldDataPrice.js +35 -0
- package/serialization/resources/products/types/index.d.ts +11 -0
- package/serialization/resources/products/types/index.js +11 -0
- package/serialization/resources/users/client/requests/UsersUpdateRequest.d.ts +13 -0
- package/serialization/resources/users/client/requests/UsersUpdateRequest.js +43 -0
- package/serialization/resources/users/client/requests/index.d.ts +1 -0
- package/serialization/resources/users/client/requests/index.js +3 -1
- package/serialization/resources/users/types/UsersUpdateRequestData.d.ts +14 -0
- package/serialization/resources/users/types/UsersUpdateRequestData.js +35 -0
- package/serialization/resources/users/types/index.d.ts +1 -0
- package/serialization/resources/users/types/index.js +1 -0
- package/serialization/types/AssetFolderList.d.ts +1 -1
- package/serialization/types/AssetFolderList.js +2 -2
- package/serialization/types/CollectionItem.d.ts +1 -0
- package/serialization/types/CollectionItem.js +1 -0
- package/serialization/types/Dom.d.ts +14 -0
- package/serialization/types/Dom.js +44 -0
- package/serialization/types/ImageNode.d.ts +13 -0
- package/serialization/types/ImageNode.js +34 -0
- package/serialization/types/InvalidScopes.d.ts +16 -0
- package/serialization/types/InvalidScopes.js +37 -0
- package/serialization/types/Node.d.ts +16 -0
- package/serialization/types/Node.js +46 -0
- package/serialization/types/NodeType.d.ts +10 -0
- package/serialization/types/NodeType.js +31 -0
- package/serialization/types/NotEnterprisePlanSite.d.ts +16 -0
- package/serialization/types/NotEnterprisePlanSite.js +48 -0
- package/serialization/types/OauthScope.d.ts +1 -1
- package/serialization/types/OauthScope.js +1 -0
- package/serialization/types/ProductFieldData.d.ts +9 -2
- package/serialization/types/ProductFieldData.js +9 -2
- package/serialization/types/ProductFieldDataEcProductType.d.ts +10 -0
- package/serialization/types/ProductFieldDataEcProductType.js +36 -0
- package/serialization/types/ProductFieldDataTaxCategory.d.ts +10 -0
- package/serialization/types/ProductFieldDataTaxCategory.js +61 -0
- package/serialization/types/SiteActivityLogItem.d.ts +1 -1
- package/serialization/types/SiteActivityLogItem.js +1 -1
- package/serialization/types/SiteActivityLogItemUser.d.ts +13 -0
- package/serialization/types/SiteActivityLogItemUser.js +34 -0
- package/serialization/types/SkuFieldData.d.ts +8 -3
- package/serialization/types/SkuFieldData.js +8 -3
- package/serialization/types/SkuFieldDataCompareAtPrice.d.ts +13 -0
- package/serialization/types/SkuFieldDataCompareAtPrice.js +34 -0
- package/serialization/types/SkuFieldDataEcSkuBillingMethod.d.ts +10 -0
- package/serialization/types/SkuFieldDataEcSkuBillingMethod.js +31 -0
- package/serialization/types/SkuFieldDataEcSkuSubscriptionPlan.d.ts +14 -0
- package/serialization/types/SkuFieldDataEcSkuSubscriptionPlan.js +46 -0
- package/serialization/types/SkuFieldDataEcSkuSubscriptionPlanInterval.d.ts +10 -0
- package/serialization/types/SkuFieldDataEcSkuSubscriptionPlanInterval.js +31 -0
- package/serialization/types/SkuPropertyList.d.ts +3 -3
- package/serialization/types/SkuPropertyList.js +3 -5
- package/serialization/types/SkuPropertyListEnumItem.d.ts +3 -3
- package/serialization/types/SkuPropertyListEnumItem.js +3 -3
- package/serialization/types/TextNode.d.ts +13 -0
- package/serialization/types/TextNode.js +34 -0
- package/serialization/types/index.d.ts +14 -0
- package/serialization/types/index.js +14 -0
- package/tests/client.test.ts +11 -0
- package/api/resources/products/client/requests/ProductsCreateRequest.d.ts +0 -50
- package/dist/api/resources/products/client/requests/ProductsCreateRequest.d.ts +0 -50
- package/dist/oauth.d.ts +0 -27
- package/dist/oauth.js +0 -113
- package/oauth.d.ts +0 -27
- package/oauth.js +0 -113
- /package/api/resources/{products/client/requests/ProductsCreateRequest.js → assets/client/requests/AssetsUpdateRequest.js} +0 -0
- /package/{dist/api/resources/products/client/requests/ProductsCreateRequest.js → api/resources/collections/resources/fields/client/requests/FieldCreate.js} +0 -0
|
@@ -0,0 +1,46 @@
|
|
|
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.ProductSkuCreateSkuFieldDataEcSkuSubscriptionPlan = void 0;
|
|
39
|
+
const core = __importStar(require("../../../../core"));
|
|
40
|
+
exports.ProductSkuCreateSkuFieldDataEcSkuSubscriptionPlan = core.serialization.object({
|
|
41
|
+
interval: core.serialization
|
|
42
|
+
.lazy(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("../../..")))).ProductSkuCreateSkuFieldDataEcSkuSubscriptionPlanInterval; }))
|
|
43
|
+
.optional(),
|
|
44
|
+
frequency: core.serialization.number().optional(),
|
|
45
|
+
trial: core.serialization.number().optional(),
|
|
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 ProductSkuCreateSkuFieldDataEcSkuSubscriptionPlanInterval: core.serialization.Schema<serializers.ProductSkuCreateSkuFieldDataEcSkuSubscriptionPlanInterval.Raw, Webflow.ProductSkuCreateSkuFieldDataEcSkuSubscriptionPlanInterval>;
|
|
8
|
+
export declare namespace ProductSkuCreateSkuFieldDataEcSkuSubscriptionPlanInterval {
|
|
9
|
+
type Raw = "day" | "week" | "month" | "year";
|
|
10
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
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
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
+
exports.ProductSkuCreateSkuFieldDataEcSkuSubscriptionPlanInterval = void 0;
|
|
30
|
+
const core = __importStar(require("../../../../core"));
|
|
31
|
+
exports.ProductSkuCreateSkuFieldDataEcSkuSubscriptionPlanInterval = core.serialization.enum_(["day", "week", "month", "year"]);
|
|
@@ -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 ProductSkuCreateSkuFieldDataPrice: core.serialization.ObjectSchema<serializers.ProductSkuCreateSkuFieldDataPrice.Raw, Webflow.ProductSkuCreateSkuFieldDataPrice>;
|
|
8
|
+
export declare namespace ProductSkuCreateSkuFieldDataPrice {
|
|
9
|
+
interface Raw {
|
|
10
|
+
required?: unknown | null;
|
|
11
|
+
value?: number | null;
|
|
12
|
+
unit?: string | null;
|
|
13
|
+
}
|
|
14
|
+
}
|
|
@@ -0,0 +1,35 @@
|
|
|
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
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
+
exports.ProductSkuCreateSkuFieldDataPrice = void 0;
|
|
30
|
+
const core = __importStar(require("../../../../core"));
|
|
31
|
+
exports.ProductSkuCreateSkuFieldDataPrice = core.serialization.object({
|
|
32
|
+
required: core.serialization.unknown().optional(),
|
|
33
|
+
value: core.serialization.number().optional(),
|
|
34
|
+
unit: core.serialization.string().optional(),
|
|
35
|
+
});
|
|
@@ -1 +1,12 @@
|
|
|
1
|
+
export * from "./ProductSkuCreateProductFieldDataTaxCategory";
|
|
2
|
+
export * from "./ProductSkuCreateProductFieldDataEcProductType";
|
|
3
|
+
export * from "./ProductSkuCreateProductFieldData";
|
|
4
|
+
export * from "./ProductSkuCreateProduct";
|
|
5
|
+
export * from "./ProductSkuCreateSkuFieldDataPrice";
|
|
6
|
+
export * from "./ProductSkuCreateSkuFieldDataCompareAtPrice";
|
|
7
|
+
export * from "./ProductSkuCreateSkuFieldDataEcSkuBillingMethod";
|
|
8
|
+
export * from "./ProductSkuCreateSkuFieldDataEcSkuSubscriptionPlanInterval";
|
|
9
|
+
export * from "./ProductSkuCreateSkuFieldDataEcSkuSubscriptionPlan";
|
|
10
|
+
export * from "./ProductSkuCreateSkuFieldData";
|
|
11
|
+
export * from "./ProductSkuCreateSku";
|
|
1
12
|
export * from "./ProductsCreateSkuResponse";
|
|
@@ -14,4 +14,15 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
14
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./ProductSkuCreateProductFieldDataTaxCategory"), exports);
|
|
18
|
+
__exportStar(require("./ProductSkuCreateProductFieldDataEcProductType"), exports);
|
|
19
|
+
__exportStar(require("./ProductSkuCreateProductFieldData"), exports);
|
|
20
|
+
__exportStar(require("./ProductSkuCreateProduct"), exports);
|
|
21
|
+
__exportStar(require("./ProductSkuCreateSkuFieldDataPrice"), exports);
|
|
22
|
+
__exportStar(require("./ProductSkuCreateSkuFieldDataCompareAtPrice"), exports);
|
|
23
|
+
__exportStar(require("./ProductSkuCreateSkuFieldDataEcSkuBillingMethod"), exports);
|
|
24
|
+
__exportStar(require("./ProductSkuCreateSkuFieldDataEcSkuSubscriptionPlanInterval"), exports);
|
|
25
|
+
__exportStar(require("./ProductSkuCreateSkuFieldDataEcSkuSubscriptionPlan"), exports);
|
|
26
|
+
__exportStar(require("./ProductSkuCreateSkuFieldData"), exports);
|
|
27
|
+
__exportStar(require("./ProductSkuCreateSku"), exports);
|
|
17
28
|
__exportStar(require("./ProductsCreateSkuResponse"), exports);
|
|
@@ -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 UsersUpdateRequest: core.serialization.Schema<serializers.UsersUpdateRequest.Raw, Webflow.UsersUpdateRequest>;
|
|
8
|
+
export declare namespace UsersUpdateRequest {
|
|
9
|
+
interface Raw {
|
|
10
|
+
data?: serializers.UsersUpdateRequestData.Raw | null;
|
|
11
|
+
accessGroups?: string[] | null;
|
|
12
|
+
}
|
|
13
|
+
}
|
|
@@ -0,0 +1,43 @@
|
|
|
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.UsersUpdateRequest = void 0;
|
|
39
|
+
const core = __importStar(require("../../../../../core"));
|
|
40
|
+
exports.UsersUpdateRequest = core.serialization.object({
|
|
41
|
+
data: core.serialization.lazyObject(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("../../../..")))).UsersUpdateRequestData; })).optional(),
|
|
42
|
+
accessGroups: core.serialization.list(core.serialization.string()).optional(),
|
|
43
|
+
});
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.UsersInviteRequest = void 0;
|
|
3
|
+
exports.UsersInviteRequest = exports.UsersUpdateRequest = void 0;
|
|
4
|
+
var UsersUpdateRequest_1 = require("./UsersUpdateRequest");
|
|
5
|
+
Object.defineProperty(exports, "UsersUpdateRequest", { enumerable: true, get: function () { return UsersUpdateRequest_1.UsersUpdateRequest; } });
|
|
4
6
|
var UsersInviteRequest_1 = require("./UsersInviteRequest");
|
|
5
7
|
Object.defineProperty(exports, "UsersInviteRequest", { enumerable: true, get: function () { return UsersInviteRequest_1.UsersInviteRequest; } });
|
|
@@ -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 UsersUpdateRequestData: core.serialization.ObjectSchema<serializers.UsersUpdateRequestData.Raw, Webflow.UsersUpdateRequestData>;
|
|
8
|
+
export declare namespace UsersUpdateRequestData {
|
|
9
|
+
interface Raw {
|
|
10
|
+
name?: string | null;
|
|
11
|
+
"accept-privacy"?: boolean | null;
|
|
12
|
+
"accept-communications"?: boolean | null;
|
|
13
|
+
}
|
|
14
|
+
}
|
|
@@ -0,0 +1,35 @@
|
|
|
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
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
+
exports.UsersUpdateRequestData = void 0;
|
|
30
|
+
const core = __importStar(require("../../../../core"));
|
|
31
|
+
exports.UsersUpdateRequestData = core.serialization.object({
|
|
32
|
+
name: core.serialization.string().optional(),
|
|
33
|
+
acceptPrivacy: core.serialization.property("accept-privacy", core.serialization.boolean().optional()),
|
|
34
|
+
acceptCommunications: core.serialization.property("accept-communications", core.serialization.boolean().optional()),
|
|
35
|
+
});
|
|
@@ -7,7 +7,7 @@ import * as core from "../../core";
|
|
|
7
7
|
export declare const AssetFolderList: core.serialization.ObjectSchema<serializers.AssetFolderList.Raw, Webflow.AssetFolderList>;
|
|
8
8
|
export declare namespace AssetFolderList {
|
|
9
9
|
interface Raw {
|
|
10
|
+
assetFolders?: serializers.AssetFolder.Raw[] | null;
|
|
10
11
|
pagination?: serializers.Pagination.Raw | null;
|
|
11
|
-
pages?: serializers.AssetFolder.Raw[] | null;
|
|
12
12
|
}
|
|
13
13
|
}
|
|
@@ -38,8 +38,8 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
38
38
|
exports.AssetFolderList = void 0;
|
|
39
39
|
const core = __importStar(require("../../core"));
|
|
40
40
|
exports.AssetFolderList = core.serialization.object({
|
|
41
|
-
|
|
42
|
-
pages: core.serialization
|
|
41
|
+
assetFolders: core.serialization
|
|
43
42
|
.list(core.serialization.lazyObject(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("..")))).AssetFolder; })))
|
|
44
43
|
.optional(),
|
|
44
|
+
pagination: core.serialization.lazyObject(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("..")))).Pagination; })).optional(),
|
|
45
45
|
});
|
|
@@ -8,6 +8,7 @@ export declare const CollectionItem: core.serialization.ObjectSchema<serializers
|
|
|
8
8
|
export declare namespace CollectionItem {
|
|
9
9
|
interface Raw {
|
|
10
10
|
id: string;
|
|
11
|
+
cmsLocaleId?: string | null;
|
|
11
12
|
lastPublished?: string | null;
|
|
12
13
|
lastUpdated?: string | null;
|
|
13
14
|
createdOn?: string | null;
|
|
@@ -39,6 +39,7 @@ exports.CollectionItem = void 0;
|
|
|
39
39
|
const core = __importStar(require("../../core"));
|
|
40
40
|
exports.CollectionItem = core.serialization.object({
|
|
41
41
|
id: core.serialization.string(),
|
|
42
|
+
cmsLocaleId: core.serialization.string().optional(),
|
|
42
43
|
lastPublished: core.serialization.string().optional(),
|
|
43
44
|
lastUpdated: core.serialization.string().optional(),
|
|
44
45
|
createdOn: core.serialization.string().optional(),
|
|
@@ -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 Dom: core.serialization.ObjectSchema<serializers.Dom.Raw, Webflow.Dom>;
|
|
8
|
+
export declare namespace Dom {
|
|
9
|
+
interface Raw {
|
|
10
|
+
pageId?: string | null;
|
|
11
|
+
nodes?: serializers.Node.Raw[] | null;
|
|
12
|
+
pagination?: serializers.Pagination.Raw | null;
|
|
13
|
+
}
|
|
14
|
+
}
|
|
@@ -0,0 +1,44 @@
|
|
|
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.Dom = void 0;
|
|
39
|
+
const core = __importStar(require("../../core"));
|
|
40
|
+
exports.Dom = core.serialization.object({
|
|
41
|
+
pageId: core.serialization.string().optional(),
|
|
42
|
+
nodes: core.serialization.list(core.serialization.lazyObject(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("..")))).Node; }))).optional(),
|
|
43
|
+
pagination: core.serialization.lazyObject(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("..")))).Pagination; })).optional(),
|
|
44
|
+
});
|
|
@@ -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 ImageNode: core.serialization.ObjectSchema<serializers.ImageNode.Raw, Webflow.ImageNode>;
|
|
8
|
+
export declare namespace ImageNode {
|
|
9
|
+
interface Raw {
|
|
10
|
+
alt?: string | null;
|
|
11
|
+
assetId?: string | null;
|
|
12
|
+
}
|
|
13
|
+
}
|
|
@@ -0,0 +1,34 @@
|
|
|
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
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
+
exports.ImageNode = void 0;
|
|
30
|
+
const core = __importStar(require("../../core"));
|
|
31
|
+
exports.ImageNode = core.serialization.object({
|
|
32
|
+
alt: core.serialization.string().optional(),
|
|
33
|
+
assetId: core.serialization.string().optional(),
|
|
34
|
+
});
|
|
@@ -0,0 +1,16 @@
|
|
|
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 InvalidScopes: core.serialization.ObjectSchema<serializers.InvalidScopes.Raw, Webflow.InvalidScopes>;
|
|
8
|
+
export declare namespace InvalidScopes {
|
|
9
|
+
interface Raw {
|
|
10
|
+
status?: number | null;
|
|
11
|
+
message?: string | null;
|
|
12
|
+
publicErrorCode?: string | null;
|
|
13
|
+
externalReference?: string | null;
|
|
14
|
+
details?: string[] | null;
|
|
15
|
+
}
|
|
16
|
+
}
|
|
@@ -0,0 +1,37 @@
|
|
|
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
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
+
exports.InvalidScopes = void 0;
|
|
30
|
+
const core = __importStar(require("../../core"));
|
|
31
|
+
exports.InvalidScopes = core.serialization.object({
|
|
32
|
+
status: core.serialization.number().optional(),
|
|
33
|
+
message: core.serialization.string().optional(),
|
|
34
|
+
publicErrorCode: core.serialization.string().optional(),
|
|
35
|
+
externalReference: core.serialization.string().optional(),
|
|
36
|
+
details: core.serialization.list(core.serialization.string()).optional(),
|
|
37
|
+
});
|
|
@@ -0,0 +1,16 @@
|
|
|
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 Node: core.serialization.ObjectSchema<serializers.Node.Raw, Webflow.Node>;
|
|
8
|
+
export declare namespace Node {
|
|
9
|
+
interface Raw {
|
|
10
|
+
id?: string | null;
|
|
11
|
+
type?: serializers.NodeType.Raw | null;
|
|
12
|
+
text?: serializers.TextNode.Raw | null;
|
|
13
|
+
image?: serializers.ImageNode.Raw | null;
|
|
14
|
+
attributes?: Record<string, string> | null;
|
|
15
|
+
}
|
|
16
|
+
}
|
|
@@ -0,0 +1,46 @@
|
|
|
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.Node = void 0;
|
|
39
|
+
const core = __importStar(require("../../core"));
|
|
40
|
+
exports.Node = core.serialization.object({
|
|
41
|
+
id: core.serialization.string().optional(),
|
|
42
|
+
type: core.serialization.lazy(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("..")))).NodeType; })).optional(),
|
|
43
|
+
text: core.serialization.lazyObject(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("..")))).TextNode; })).optional(),
|
|
44
|
+
image: core.serialization.lazyObject(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("..")))).ImageNode; })).optional(),
|
|
45
|
+
attributes: core.serialization.record(core.serialization.string(), core.serialization.string()).optional(),
|
|
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 NodeType: core.serialization.Schema<serializers.NodeType.Raw, Webflow.NodeType>;
|
|
8
|
+
export declare namespace NodeType {
|
|
9
|
+
type Raw = "text" | "image";
|
|
10
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
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
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
+
exports.NodeType = void 0;
|
|
30
|
+
const core = __importStar(require("../../core"));
|
|
31
|
+
exports.NodeType = core.serialization.enum_(["text", "image"]);
|
|
@@ -0,0 +1,16 @@
|
|
|
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 NotEnterprisePlanSite: core.serialization.ObjectSchema<serializers.NotEnterprisePlanSite.Raw, Webflow.NotEnterprisePlanSite>;
|
|
8
|
+
export declare namespace NotEnterprisePlanSite {
|
|
9
|
+
interface Raw {
|
|
10
|
+
code?: "missing_scopes" | null;
|
|
11
|
+
type?: string | null;
|
|
12
|
+
message?: string | null;
|
|
13
|
+
externalReference?: string | null;
|
|
14
|
+
details?: serializers.ErrorDetailsItem.Raw[] | null;
|
|
15
|
+
}
|
|
16
|
+
}
|