webflow-api 3.1.0 → 3.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.mock/definition/__package__.yml +363 -79
- package/.mock/definition/accessGroups.yml +1 -0
- package/.mock/definition/assets.yml +86 -47
- package/.mock/definition/collections/fields.yml +63 -46
- package/.mock/definition/collections/items.yml +58 -30
- package/.mock/definition/collections.yml +42 -7
- package/.mock/definition/components.yml +43 -50
- package/.mock/definition/ecommerce.yml +1 -0
- package/.mock/definition/forms.yml +114 -2
- package/.mock/definition/inventory.yml +2 -0
- package/.mock/definition/orders.yml +6 -68
- package/.mock/definition/pages/scripts.yml +10 -44
- package/.mock/definition/pages.yml +36 -41
- package/.mock/definition/products.yml +9 -0
- package/.mock/definition/scripts.yml +18 -49
- package/.mock/definition/sites/activityLogs.yml +10 -7
- package/.mock/definition/sites/plans.yml +7 -1
- package/.mock/definition/sites/redirects.yml +24 -1
- package/.mock/definition/sites/robotsTxt.yml +202 -0
- package/.mock/definition/sites/scripts.yml +22 -30
- package/.mock/definition/sites.yml +27 -30
- package/.mock/definition/token.yml +2 -0
- package/.mock/definition/users.yml +4 -0
- package/.mock/definition/webhooks.yml +7 -8
- package/.mock/fern.config.json +1 -1
- package/api/resources/accessGroups/client/Client.js +1 -1
- package/api/resources/assets/client/Client.d.ts +10 -7
- package/api/resources/assets/client/Client.js +18 -15
- package/api/resources/collections/client/Client.d.ts +21 -1
- package/api/resources/collections/client/Client.js +27 -5
- package/api/resources/collections/client/requests/CollectionsCreateRequest.d.ts +23 -1
- package/api/resources/collections/resources/fields/client/Client.d.ts +34 -4
- package/api/resources/collections/resources/fields/client/Client.js +40 -8
- package/api/resources/collections/resources/fields/client/requests/index.d.ts +0 -1
- package/api/resources/collections/resources/fields/index.d.ts +0 -1
- package/api/resources/collections/resources/fields/index.js +0 -1
- package/api/resources/collections/resources/index.d.ts +1 -2
- package/api/resources/collections/resources/index.js +2 -3
- package/api/resources/collections/resources/items/client/Client.d.ts +19 -12
- package/api/resources/collections/resources/items/client/Client.js +39 -28
- package/api/resources/collections/resources/items/client/requests/ItemsListItemsLiveRequest.d.ts +2 -2
- package/api/resources/collections/resources/items/client/requests/ItemsListItemsRequest.d.ts +2 -2
- package/api/resources/collections/resources/items/types/ItemsDeleteItemsLiveRequestItemsItem.d.ts +1 -1
- package/api/resources/components/client/Client.d.ts +5 -6
- package/api/resources/components/client/Client.js +10 -11
- package/api/resources/ecommerce/client/Client.js +1 -1
- package/api/resources/forms/client/Client.d.ts +51 -0
- package/api/resources/forms/client/Client.js +226 -5
- package/api/resources/forms/client/requests/FormsListSubmissionsBySiteRequest.d.ts +23 -0
- package/api/resources/forms/client/requests/index.d.ts +1 -0
- 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 +8 -3
- package/api/resources/pages/client/Client.js +13 -8
- package/api/resources/pages/resources/scripts/client/Client.d.ts +6 -20
- package/api/resources/pages/resources/scripts/client/Client.js +9 -23
- package/api/resources/products/client/Client.js +6 -6
- package/api/resources/scripts/client/Client.d.ts +12 -20
- package/api/resources/scripts/client/Client.js +15 -23
- package/api/resources/sites/client/Client.d.ts +12 -3
- package/api/resources/sites/client/Client.js +25 -14
- package/api/resources/sites/resources/activityLogs/client/Client.d.ts +5 -1
- package/api/resources/sites/resources/activityLogs/client/Client.js +6 -2
- package/api/resources/sites/resources/index.d.ts +1 -0
- package/api/resources/sites/resources/index.js +2 -1
- package/api/resources/sites/resources/plans/client/Client.d.ts +2 -0
- package/api/resources/sites/resources/plans/client/Client.js +3 -1
- package/api/resources/sites/resources/redirects/client/Client.d.ts +10 -0
- package/api/resources/sites/resources/redirects/client/Client.js +14 -4
- package/api/resources/sites/resources/robotsTxt/client/Client.d.ts +124 -0
- package/api/resources/sites/resources/robotsTxt/client/Client.js +486 -0
- package/api/resources/sites/resources/robotsTxt/client/index.d.ts +1 -0
- package/api/resources/sites/resources/robotsTxt/client/index.js +2 -0
- package/api/resources/sites/resources/robotsTxt/index.d.ts +1 -0
- package/api/resources/{collections/resources/fields/types → sites/resources/robotsTxt}/index.js +1 -1
- package/api/resources/sites/resources/scripts/client/Client.d.ts +15 -13
- package/api/resources/sites/resources/scripts/client/Client.js +19 -17
- package/api/resources/token/client/Client.js +2 -2
- package/api/resources/users/client/Client.js +5 -5
- package/api/resources/users/client/requests/UsersInviteRequest.d.ts +1 -4
- package/api/resources/users/client/requests/UsersUpdateRequest.d.ts +1 -4
- package/api/resources/webhooks/client/Client.js +4 -4
- package/api/types/Asset.d.ts +4 -0
- package/api/types/AssetVariant.d.ts +3 -0
- package/api/types/Assets.d.ts +1 -0
- package/api/types/ComponentNode.d.ts +2 -2
- package/api/types/Conflict.d.ts +4 -0
- package/api/types/Dom.d.ts +2 -0
- package/api/types/FieldCreate.d.ts +8 -0
- package/api/types/FieldCreate.js +5 -0
- package/api/types/FieldType.d.ts +3 -1
- package/api/types/FieldType.js +2 -0
- package/api/types/ImageNode.d.ts +1 -0
- package/api/types/ImageNodeImage.d.ts +3 -0
- package/api/types/Metadata.d.ts +11 -0
- package/api/types/Metadata.js +5 -0
- package/api/types/MetadataOptionsItem.d.ts +12 -0
- package/api/types/MetadataOptionsItem.js +5 -0
- package/api/types/OAuthScope.d.ts +8 -0
- package/api/types/OAuthScope.js +2 -0
- package/api/types/OptionField.d.ts +19 -0
- package/api/types/OptionField.js +5 -0
- package/api/types/ReferenceField.d.ts +20 -0
- package/api/types/ReferenceField.js +5 -0
- package/api/types/ReferenceFieldMetadata.d.ts +10 -0
- package/api/types/ReferenceFieldMetadata.js +5 -0
- package/api/types/ReferenceFieldType.d.ts +11 -0
- package/api/types/ReferenceFieldType.js +10 -0
- package/api/types/Robots.d.ts +13 -0
- package/api/types/Robots.js +5 -0
- package/api/types/RobotsRulesItem.d.ts +11 -0
- package/api/types/RobotsRulesItem.js +5 -0
- package/api/types/SkuFieldData.d.ts +2 -0
- package/api/types/SkuFieldDataEcSkuBillingMethod.d.ts +3 -0
- package/api/types/SkuFieldDataEcSkuSubscriptionPlan.d.ts +3 -0
- package/api/{resources/collections/resources/fields/client/requests/FieldCreate.d.ts → types/StaticField.d.ts} +7 -12
- package/api/types/StaticField.js +5 -0
- package/api/{resources/collections/resources/fields/types/FieldCreateType.d.ts → types/StaticFieldType.d.ts} +2 -3
- package/{dist/api/resources/collections/resources/fields/types/FieldCreateType.js → api/types/StaticFieldType.js} +2 -3
- package/api/types/Text.d.ts +3 -0
- package/api/types/TextNode.d.ts +1 -0
- package/api/types/TextNodeText.d.ts +3 -0
- package/api/types/TriggerType.d.ts +1 -15
- package/api/types/WebhookList.d.ts +1 -1
- package/api/types/index.d.ts +12 -0
- package/api/types/index.js +12 -0
- package/dist/api/resources/accessGroups/client/Client.js +1 -1
- package/dist/api/resources/assets/client/Client.d.ts +10 -7
- package/dist/api/resources/assets/client/Client.js +18 -15
- package/dist/api/resources/collections/client/Client.d.ts +21 -1
- package/dist/api/resources/collections/client/Client.js +27 -5
- package/dist/api/resources/collections/client/requests/CollectionsCreateRequest.d.ts +23 -1
- package/dist/api/resources/collections/resources/fields/client/Client.d.ts +34 -4
- package/dist/api/resources/collections/resources/fields/client/Client.js +40 -8
- package/dist/api/resources/collections/resources/fields/client/requests/index.d.ts +0 -1
- package/dist/api/resources/collections/resources/fields/index.d.ts +0 -1
- package/dist/api/resources/collections/resources/fields/index.js +0 -1
- package/dist/api/resources/collections/resources/index.d.ts +1 -2
- package/dist/api/resources/collections/resources/index.js +2 -3
- package/dist/api/resources/collections/resources/items/client/Client.d.ts +19 -12
- package/dist/api/resources/collections/resources/items/client/Client.js +39 -28
- package/dist/api/resources/collections/resources/items/client/requests/ItemsListItemsLiveRequest.d.ts +2 -2
- package/dist/api/resources/collections/resources/items/client/requests/ItemsListItemsRequest.d.ts +2 -2
- package/dist/api/resources/collections/resources/items/types/ItemsDeleteItemsLiveRequestItemsItem.d.ts +1 -1
- package/dist/api/resources/components/client/Client.d.ts +5 -6
- package/dist/api/resources/components/client/Client.js +10 -11
- package/dist/api/resources/ecommerce/client/Client.js +1 -1
- package/dist/api/resources/forms/client/Client.d.ts +51 -0
- package/dist/api/resources/forms/client/Client.js +226 -5
- package/dist/api/resources/forms/client/requests/FormsListSubmissionsBySiteRequest.d.ts +23 -0
- package/dist/api/resources/forms/client/requests/FormsListSubmissionsBySiteRequest.js +5 -0
- package/dist/api/resources/forms/client/requests/index.d.ts +1 -0
- 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 +8 -3
- package/dist/api/resources/pages/client/Client.js +13 -8
- package/dist/api/resources/pages/resources/scripts/client/Client.d.ts +6 -20
- package/dist/api/resources/pages/resources/scripts/client/Client.js +9 -23
- package/dist/api/resources/products/client/Client.js +6 -6
- package/dist/api/resources/scripts/client/Client.d.ts +12 -20
- package/dist/api/resources/scripts/client/Client.js +15 -23
- package/dist/api/resources/sites/client/Client.d.ts +12 -3
- package/dist/api/resources/sites/client/Client.js +25 -14
- package/dist/api/resources/sites/resources/activityLogs/client/Client.d.ts +5 -1
- package/dist/api/resources/sites/resources/activityLogs/client/Client.js +6 -2
- package/dist/api/resources/sites/resources/index.d.ts +1 -0
- package/dist/api/resources/sites/resources/index.js +2 -1
- package/dist/api/resources/sites/resources/plans/client/Client.d.ts +2 -0
- package/dist/api/resources/sites/resources/plans/client/Client.js +3 -1
- package/dist/api/resources/sites/resources/redirects/client/Client.d.ts +10 -0
- package/dist/api/resources/sites/resources/redirects/client/Client.js +14 -4
- package/dist/api/resources/sites/resources/robotsTxt/client/Client.d.ts +124 -0
- package/dist/api/resources/sites/resources/robotsTxt/client/Client.js +486 -0
- package/dist/api/resources/sites/resources/robotsTxt/client/index.d.ts +1 -0
- package/dist/api/resources/sites/resources/robotsTxt/client/index.js +2 -0
- package/dist/api/resources/sites/resources/robotsTxt/index.d.ts +1 -0
- package/dist/{serialization/resources/collections/resources/fields/types → api/resources/sites/resources/robotsTxt}/index.js +1 -1
- package/dist/api/resources/sites/resources/scripts/client/Client.d.ts +15 -13
- package/dist/api/resources/sites/resources/scripts/client/Client.js +19 -17
- package/dist/api/resources/token/client/Client.js +2 -2
- package/dist/api/resources/users/client/Client.js +5 -5
- package/dist/api/resources/users/client/requests/UsersInviteRequest.d.ts +1 -4
- package/dist/api/resources/users/client/requests/UsersUpdateRequest.d.ts +1 -4
- package/dist/api/resources/webhooks/client/Client.js +4 -4
- package/dist/api/types/Asset.d.ts +4 -0
- package/dist/api/types/AssetVariant.d.ts +3 -0
- package/dist/api/types/Assets.d.ts +1 -0
- package/dist/api/types/ComponentNode.d.ts +2 -2
- package/dist/api/types/Conflict.d.ts +4 -0
- package/dist/api/types/Conflict.js +5 -0
- package/dist/api/types/Dom.d.ts +2 -0
- package/dist/api/types/FieldCreate.d.ts +8 -0
- package/dist/api/types/FieldCreate.js +5 -0
- package/dist/api/types/FieldType.d.ts +3 -1
- package/dist/api/types/FieldType.js +2 -0
- package/dist/api/types/ImageNode.d.ts +1 -0
- package/dist/api/types/ImageNodeImage.d.ts +3 -0
- package/dist/api/types/Metadata.d.ts +11 -0
- package/dist/api/types/Metadata.js +5 -0
- package/dist/api/types/MetadataOptionsItem.d.ts +12 -0
- package/dist/api/types/MetadataOptionsItem.js +5 -0
- package/dist/api/types/OAuthScope.d.ts +8 -0
- package/dist/api/types/OAuthScope.js +2 -0
- package/dist/api/types/OptionField.d.ts +19 -0
- package/dist/api/types/OptionField.js +5 -0
- package/dist/api/types/ReferenceField.d.ts +20 -0
- package/dist/api/types/ReferenceField.js +5 -0
- package/dist/api/types/ReferenceFieldMetadata.d.ts +10 -0
- package/dist/api/types/ReferenceFieldMetadata.js +5 -0
- package/dist/api/types/ReferenceFieldType.d.ts +11 -0
- package/dist/api/types/ReferenceFieldType.js +10 -0
- package/dist/api/types/Robots.d.ts +13 -0
- package/dist/api/types/Robots.js +5 -0
- package/dist/api/types/RobotsRulesItem.d.ts +11 -0
- package/dist/api/types/RobotsRulesItem.js +5 -0
- package/dist/api/types/SkuFieldData.d.ts +2 -0
- package/dist/api/types/SkuFieldDataEcSkuBillingMethod.d.ts +3 -0
- package/dist/api/types/SkuFieldDataEcSkuSubscriptionPlan.d.ts +3 -0
- package/dist/api/{resources/collections/resources/fields/client/requests/FieldCreate.d.ts → types/StaticField.d.ts} +7 -12
- package/dist/api/types/StaticField.js +5 -0
- package/dist/api/{resources/collections/resources/fields/types/FieldCreateType.d.ts → types/StaticFieldType.d.ts} +2 -3
- package/{api/resources/collections/resources/fields/types/FieldCreateType.js → dist/api/types/StaticFieldType.js} +2 -3
- package/dist/api/types/Text.d.ts +3 -0
- package/dist/api/types/TextNode.d.ts +1 -0
- package/dist/api/types/TextNodeText.d.ts +3 -0
- package/dist/api/types/TriggerType.d.ts +1 -15
- package/dist/api/types/WebhookList.d.ts +1 -1
- package/dist/api/types/index.d.ts +12 -0
- package/dist/api/types/index.js +12 -0
- package/dist/serialization/resources/collections/client/requests/CollectionsCreateRequest.d.ts +2 -0
- package/dist/serialization/resources/collections/client/requests/CollectionsCreateRequest.js +2 -0
- package/dist/serialization/resources/collections/resources/fields/client/requests/index.d.ts +0 -1
- package/dist/serialization/resources/collections/resources/fields/client/requests/index.js +1 -3
- package/dist/serialization/resources/collections/resources/fields/index.d.ts +0 -1
- package/dist/serialization/resources/collections/resources/fields/index.js +0 -1
- package/dist/serialization/resources/collections/resources/index.d.ts +1 -2
- package/dist/serialization/resources/collections/resources/index.js +2 -3
- package/dist/serialization/resources/collections/resources/items/types/ItemsDeleteItemsLiveRequestItemsItem.d.ts +1 -1
- package/dist/serialization/resources/collections/resources/items/types/ItemsDeleteItemsLiveRequestItemsItem.js +1 -1
- package/dist/serialization/types/Assets.d.ts +2 -0
- package/dist/serialization/types/Assets.js +2 -0
- package/dist/serialization/types/Conflict.d.ts +10 -0
- package/dist/serialization/types/Conflict.js +31 -0
- package/dist/serialization/types/Dom.d.ts +1 -0
- package/dist/serialization/types/Dom.js +1 -0
- package/dist/serialization/types/FieldCreate.d.ts +13 -0
- package/dist/serialization/types/FieldCreate.js +34 -0
- package/dist/serialization/types/FieldType.d.ts +1 -1
- package/dist/serialization/types/FieldType.js +2 -0
- package/dist/serialization/types/Metadata.d.ts +13 -0
- package/dist/serialization/types/Metadata.js +34 -0
- package/dist/serialization/types/MetadataOptionsItem.d.ts +13 -0
- package/dist/serialization/types/MetadataOptionsItem.js +34 -0
- package/dist/serialization/types/OptionField.d.ts +19 -0
- package/dist/serialization/types/OptionField.js +40 -0
- package/dist/serialization/types/ReferenceField.d.ts +20 -0
- package/dist/serialization/types/ReferenceField.js +41 -0
- package/dist/serialization/types/ReferenceFieldMetadata.d.ts +12 -0
- package/dist/serialization/types/ReferenceFieldMetadata.js +33 -0
- package/dist/serialization/types/ReferenceFieldType.d.ts +10 -0
- package/dist/serialization/types/ReferenceFieldType.js +31 -0
- package/dist/serialization/types/Robots.d.ts +14 -0
- package/dist/serialization/types/Robots.js +35 -0
- package/dist/serialization/types/RobotsRulesItem.d.ts +14 -0
- package/dist/serialization/types/RobotsRulesItem.js +35 -0
- package/dist/serialization/types/StaticField.d.ts +18 -0
- package/dist/serialization/{resources/collections/resources/fields/client/requests/FieldCreate.js → types/StaticField.js} +7 -5
- package/dist/serialization/types/StaticFieldType.d.ts +10 -0
- package/dist/serialization/{resources/collections/resources/fields/types/FieldCreateType.js → types/StaticFieldType.js} +3 -4
- package/dist/serialization/types/WebhookList.d.ts +2 -2
- package/dist/serialization/types/WebhookList.js +2 -2
- package/dist/serialization/types/index.d.ts +12 -0
- package/dist/serialization/types/index.js +12 -0
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/dist/wrapper/AssetsClient.d.ts +12 -0
- package/dist/wrapper/AssetsClient.js +16 -0
- package/dist/wrapper/AssetsUtilitiesClient.d.ts +49 -0
- package/dist/wrapper/AssetsUtilitiesClient.js +121 -0
- package/dist/wrapper/WebflowClient.d.ts +6 -0
- package/dist/wrapper/WebflowClient.js +10 -0
- package/dist/wrapper/WebhooksClient.d.ts +39 -0
- package/dist/wrapper/WebhooksClient.js +66 -0
- package/package.json +15 -12
- package/reference.md +585 -91
- package/serialization/resources/collections/client/requests/CollectionsCreateRequest.d.ts +2 -0
- package/serialization/resources/collections/client/requests/CollectionsCreateRequest.js +2 -0
- package/serialization/resources/collections/resources/fields/client/requests/index.d.ts +0 -1
- package/serialization/resources/collections/resources/fields/client/requests/index.js +1 -3
- package/serialization/resources/collections/resources/fields/index.d.ts +0 -1
- package/serialization/resources/collections/resources/fields/index.js +0 -1
- package/serialization/resources/collections/resources/index.d.ts +1 -2
- package/serialization/resources/collections/resources/index.js +2 -3
- package/serialization/resources/collections/resources/items/types/ItemsDeleteItemsLiveRequestItemsItem.d.ts +1 -1
- package/serialization/resources/collections/resources/items/types/ItemsDeleteItemsLiveRequestItemsItem.js +1 -1
- package/serialization/types/Assets.d.ts +2 -0
- package/serialization/types/Assets.js +2 -0
- package/serialization/types/Conflict.d.ts +10 -0
- package/serialization/types/Conflict.js +31 -0
- package/serialization/types/Dom.d.ts +1 -0
- package/serialization/types/Dom.js +1 -0
- package/serialization/types/FieldCreate.d.ts +13 -0
- package/serialization/types/FieldCreate.js +34 -0
- package/serialization/types/FieldType.d.ts +1 -1
- package/serialization/types/FieldType.js +2 -0
- package/serialization/types/Metadata.d.ts +13 -0
- package/serialization/types/Metadata.js +34 -0
- package/serialization/types/MetadataOptionsItem.d.ts +13 -0
- package/serialization/types/MetadataOptionsItem.js +34 -0
- package/serialization/types/OptionField.d.ts +19 -0
- package/serialization/types/OptionField.js +40 -0
- package/serialization/types/ReferenceField.d.ts +20 -0
- package/serialization/types/ReferenceField.js +41 -0
- package/serialization/types/ReferenceFieldMetadata.d.ts +12 -0
- package/serialization/types/ReferenceFieldMetadata.js +33 -0
- package/serialization/types/ReferenceFieldType.d.ts +10 -0
- package/serialization/types/ReferenceFieldType.js +31 -0
- package/serialization/types/Robots.d.ts +14 -0
- package/serialization/types/Robots.js +35 -0
- package/serialization/types/RobotsRulesItem.d.ts +14 -0
- package/serialization/types/RobotsRulesItem.js +35 -0
- package/serialization/types/StaticField.d.ts +18 -0
- package/serialization/{resources/collections/resources/fields/client/requests/FieldCreate.js → types/StaticField.js} +7 -5
- package/serialization/types/StaticFieldType.d.ts +10 -0
- package/serialization/{resources/collections/resources/fields/types/FieldCreateType.js → types/StaticFieldType.js} +3 -4
- package/serialization/types/WebhookList.d.ts +2 -2
- package/serialization/types/WebhookList.js +2 -2
- package/serialization/types/index.d.ts +12 -0
- package/serialization/types/index.js +12 -0
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/wrapper/AssetsClient.d.ts +12 -0
- package/wrapper/AssetsClient.js +16 -0
- package/wrapper/AssetsUtilitiesClient.d.ts +49 -0
- package/wrapper/AssetsUtilitiesClient.js +121 -0
- package/wrapper/WebflowClient.d.ts +6 -0
- package/wrapper/WebflowClient.js +10 -0
- package/wrapper/WebhooksClient.d.ts +39 -0
- package/wrapper/WebhooksClient.js +66 -0
- package/api/resources/collections/resources/fields/types/index.d.ts +0 -1
- package/dist/api/resources/collections/resources/fields/types/index.d.ts +0 -1
- package/dist/api/resources/collections/resources/fields/types/index.js +0 -17
- package/dist/serialization/resources/collections/resources/fields/client/requests/FieldCreate.d.ts +0 -16
- package/dist/serialization/resources/collections/resources/fields/types/FieldCreateType.d.ts +0 -10
- package/dist/serialization/resources/collections/resources/fields/types/index.d.ts +0 -1
- package/serialization/resources/collections/resources/fields/client/requests/FieldCreate.d.ts +0 -16
- package/serialization/resources/collections/resources/fields/types/FieldCreateType.d.ts +0 -10
- package/serialization/resources/collections/resources/fields/types/index.d.ts +0 -1
- package/serialization/resources/collections/resources/fields/types/index.js +0 -17
- /package/api/resources/{collections/resources/fields/client/requests/FieldCreate.js → forms/client/requests/FormsListSubmissionsBySiteRequest.js} +0 -0
- /package/{dist/api/resources/collections/resources/fields/client/requests/FieldCreate.js → api/types/Conflict.js} +0 -0
|
@@ -2,6 +2,9 @@
|
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
4
|
import * as Webflow from "../index";
|
|
5
|
+
/**
|
|
6
|
+
* [Subscription plan](https://help.webflow.com/hc/en-us/articles/33961432087955-Add-and-manage-products-and-categories#subscription) for the SKU
|
|
7
|
+
*/
|
|
5
8
|
export interface SkuFieldDataEcSkuSubscriptionPlan {
|
|
6
9
|
/** Interval of subscription renewal */
|
|
7
10
|
interval?: Webflow.SkuFieldDataEcSkuSubscriptionPlanInterval;
|
|
@@ -1,21 +1,16 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
|
-
import * as Webflow from "
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
* displayName: "Post Body",
|
|
11
|
-
* helpText: "Add the body of your post here"
|
|
12
|
-
* }
|
|
13
|
-
*/
|
|
14
|
-
export interface FieldCreate {
|
|
4
|
+
import * as Webflow from "../index";
|
|
5
|
+
export interface StaticField {
|
|
6
|
+
/** Unique identifier for a Field */
|
|
7
|
+
id?: string;
|
|
8
|
+
/** Define whether the field is editable */
|
|
9
|
+
isEditable?: boolean;
|
|
15
10
|
/** define whether a field is required in a collection */
|
|
16
11
|
isRequired?: boolean;
|
|
17
12
|
/** Choose these appropriate field type for your collection data */
|
|
18
|
-
type: Webflow.
|
|
13
|
+
type: Webflow.StaticFieldType;
|
|
19
14
|
/** The name of a field */
|
|
20
15
|
displayName: string;
|
|
21
16
|
/** Additional text to help anyone filling out this field */
|
|
@@ -4,12 +4,11 @@
|
|
|
4
4
|
/**
|
|
5
5
|
* Choose these appropriate field type for your collection data
|
|
6
6
|
*/
|
|
7
|
-
export declare type
|
|
8
|
-
export declare const
|
|
7
|
+
export declare type StaticFieldType = "Color" | "DateTime" | "Email" | "File" | "Image" | "Link" | "MultiImage" | "Number" | "Phone" | "PlainText" | "RichText" | "Switch" | "Video";
|
|
8
|
+
export declare const StaticFieldType: {
|
|
9
9
|
readonly Color: "Color";
|
|
10
10
|
readonly DateTime: "DateTime";
|
|
11
11
|
readonly Email: "Email";
|
|
12
|
-
readonly ExtFileRef: "ExtFileRef";
|
|
13
12
|
readonly File: "File";
|
|
14
13
|
readonly Image: "Image";
|
|
15
14
|
readonly Link: "Link";
|
|
@@ -3,12 +3,11 @@
|
|
|
3
3
|
* This file was auto-generated by Fern from our API Definition.
|
|
4
4
|
*/
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.
|
|
7
|
-
exports.
|
|
6
|
+
exports.StaticFieldType = void 0;
|
|
7
|
+
exports.StaticFieldType = {
|
|
8
8
|
Color: "Color",
|
|
9
9
|
DateTime: "DateTime",
|
|
10
10
|
Email: "Email",
|
|
11
|
-
ExtFileRef: "ExtFileRef",
|
|
12
11
|
File: "File",
|
|
13
12
|
Image: "Image",
|
|
14
13
|
Link: "Link",
|
package/dist/api/types/Text.d.ts
CHANGED
|
@@ -2,21 +2,7 @@
|
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
4
|
/**
|
|
5
|
-
*
|
|
6
|
-
* * `site_publish` - Sends a [site_publish](#site_publish) event
|
|
7
|
-
* * `page_created` - Send the [page_created](#page_created) event
|
|
8
|
-
* * `page_metadata_updated` - Sends the [page_metadata_updated](#page_metadata_updated) event
|
|
9
|
-
* * `page_deleted` - Sends the [page_deleted](#page_deleted) event
|
|
10
|
-
* * `ecomm_new_order` - Sends the new [ecomm_new_order](#ecomm_new_order) event
|
|
11
|
-
* * `ecomm_order_changed` - Sends the [ecomm_order_changed](#ecomm_order_changed) event
|
|
12
|
-
* * `ecomm_inventory_changed` - Sends the [ecomm_inventory_changed](#ecomm_inventory_changed) event
|
|
13
|
-
* * `user_account_added` - Sends the [user_account_added](#user_account_added) event
|
|
14
|
-
* * `user_account_updated` - Sends the [user_account_updated](#user_account_updated) event
|
|
15
|
-
* * `user_account_deleted` - Sends the [user_account_deleted](#user_account_deleted) event
|
|
16
|
-
* * `collection_item_created` - Sends the [collection_item_created](#collection_item_created) event
|
|
17
|
-
* * `collection_item_changed` - Sends the [collection_item_changed](#collection_item_changed) event
|
|
18
|
-
* * `collection_item_deleted` - Sends the [collection_item_deleted](#collection_item_deleted) event
|
|
19
|
-
* * `collection_item_unpublished` - Sends the [collection_item_unpublished](#collection_item_unpublished) event
|
|
5
|
+
* The type of event that triggered the request. See the the documentation for details on [supported events](/data/reference/all-events).
|
|
20
6
|
*/
|
|
21
7
|
export declare type TriggerType = "form_submission" | "site_publish" | "page_created" | "page_metadata_updated" | "page_deleted" | "ecomm_new_order" | "ecomm_order_changed" | "ecomm_inventory_changed" | "user_account_added" | "user_account_updated" | "user_account_deleted" | "collection_item_created" | "collection_item_changed" | "collection_item_deleted" | "collection_item_unpublished";
|
|
22
8
|
export declare const TriggerType: {
|
|
@@ -26,6 +26,8 @@ export * from "./Redirects";
|
|
|
26
26
|
export * from "./SitePlanId";
|
|
27
27
|
export * from "./SitePlanName";
|
|
28
28
|
export * from "./SitePlan";
|
|
29
|
+
export * from "./RobotsRulesItem";
|
|
30
|
+
export * from "./Robots";
|
|
29
31
|
export * from "./SiteActivityLogItemEvent";
|
|
30
32
|
export * from "./SiteActivityLogItemResourceOperation";
|
|
31
33
|
export * from "./SiteActivityLogItemUser";
|
|
@@ -33,6 +35,15 @@ export * from "./SiteActivityLogItem";
|
|
|
33
35
|
export * from "./SiteActivityLogResponse";
|
|
34
36
|
export * from "./CollectionListArrayItem";
|
|
35
37
|
export * from "./CollectionList";
|
|
38
|
+
export * from "./StaticFieldType";
|
|
39
|
+
export * from "./StaticField";
|
|
40
|
+
export * from "./MetadataOptionsItem";
|
|
41
|
+
export * from "./Metadata";
|
|
42
|
+
export * from "./OptionField";
|
|
43
|
+
export * from "./ReferenceFieldType";
|
|
44
|
+
export * from "./ReferenceFieldMetadata";
|
|
45
|
+
export * from "./ReferenceField";
|
|
46
|
+
export * from "./FieldCreate";
|
|
36
47
|
export * from "./FieldType";
|
|
37
48
|
export * from "./Field";
|
|
38
49
|
export * from "./Collection";
|
|
@@ -45,6 +56,7 @@ export * from "./CollectionItemPostSingle";
|
|
|
45
56
|
export * from "./CollectionItemWithIdInputFieldData";
|
|
46
57
|
export * from "./CollectionItemWithIdInput";
|
|
47
58
|
export * from "./CollectionItemListNoPagination";
|
|
59
|
+
export * from "./Conflict";
|
|
48
60
|
export * from "./BulkCollectionItemFieldData";
|
|
49
61
|
export * from "./BulkCollectionItem";
|
|
50
62
|
export * from "./CollectionItemPatchSingleFieldData";
|
package/dist/api/types/index.js
CHANGED
|
@@ -42,6 +42,8 @@ __exportStar(require("./Redirects"), exports);
|
|
|
42
42
|
__exportStar(require("./SitePlanId"), exports);
|
|
43
43
|
__exportStar(require("./SitePlanName"), exports);
|
|
44
44
|
__exportStar(require("./SitePlan"), exports);
|
|
45
|
+
__exportStar(require("./RobotsRulesItem"), exports);
|
|
46
|
+
__exportStar(require("./Robots"), exports);
|
|
45
47
|
__exportStar(require("./SiteActivityLogItemEvent"), exports);
|
|
46
48
|
__exportStar(require("./SiteActivityLogItemResourceOperation"), exports);
|
|
47
49
|
__exportStar(require("./SiteActivityLogItemUser"), exports);
|
|
@@ -49,6 +51,15 @@ __exportStar(require("./SiteActivityLogItem"), exports);
|
|
|
49
51
|
__exportStar(require("./SiteActivityLogResponse"), exports);
|
|
50
52
|
__exportStar(require("./CollectionListArrayItem"), exports);
|
|
51
53
|
__exportStar(require("./CollectionList"), exports);
|
|
54
|
+
__exportStar(require("./StaticFieldType"), exports);
|
|
55
|
+
__exportStar(require("./StaticField"), exports);
|
|
56
|
+
__exportStar(require("./MetadataOptionsItem"), exports);
|
|
57
|
+
__exportStar(require("./Metadata"), exports);
|
|
58
|
+
__exportStar(require("./OptionField"), exports);
|
|
59
|
+
__exportStar(require("./ReferenceFieldType"), exports);
|
|
60
|
+
__exportStar(require("./ReferenceFieldMetadata"), exports);
|
|
61
|
+
__exportStar(require("./ReferenceField"), exports);
|
|
62
|
+
__exportStar(require("./FieldCreate"), exports);
|
|
52
63
|
__exportStar(require("./FieldType"), exports);
|
|
53
64
|
__exportStar(require("./Field"), exports);
|
|
54
65
|
__exportStar(require("./Collection"), exports);
|
|
@@ -61,6 +72,7 @@ __exportStar(require("./CollectionItemPostSingle"), exports);
|
|
|
61
72
|
__exportStar(require("./CollectionItemWithIdInputFieldData"), exports);
|
|
62
73
|
__exportStar(require("./CollectionItemWithIdInput"), exports);
|
|
63
74
|
__exportStar(require("./CollectionItemListNoPagination"), exports);
|
|
75
|
+
__exportStar(require("./Conflict"), exports);
|
|
64
76
|
__exportStar(require("./BulkCollectionItemFieldData"), exports);
|
|
65
77
|
__exportStar(require("./BulkCollectionItem"), exports);
|
|
66
78
|
__exportStar(require("./CollectionItemPatchSingleFieldData"), exports);
|
package/dist/serialization/resources/collections/client/requests/CollectionsCreateRequest.d.ts
CHANGED
|
@@ -4,11 +4,13 @@
|
|
|
4
4
|
import * as serializers from "../../../../index";
|
|
5
5
|
import * as Webflow from "../../../../../api/index";
|
|
6
6
|
import * as core from "../../../../../core";
|
|
7
|
+
import { FieldCreate } from "../../../../types/FieldCreate";
|
|
7
8
|
export declare const CollectionsCreateRequest: core.serialization.Schema<serializers.CollectionsCreateRequest.Raw, Webflow.CollectionsCreateRequest>;
|
|
8
9
|
export declare namespace CollectionsCreateRequest {
|
|
9
10
|
interface Raw {
|
|
10
11
|
displayName: string;
|
|
11
12
|
singularName: string;
|
|
12
13
|
slug?: string | null;
|
|
14
|
+
fields?: FieldCreate.Raw[] | null;
|
|
13
15
|
}
|
|
14
16
|
}
|
package/dist/serialization/resources/collections/client/requests/CollectionsCreateRequest.js
CHANGED
|
@@ -28,8 +28,10 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
28
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
29
|
exports.CollectionsCreateRequest = void 0;
|
|
30
30
|
const core = __importStar(require("../../../../../core"));
|
|
31
|
+
const FieldCreate_1 = require("../../../../types/FieldCreate");
|
|
31
32
|
exports.CollectionsCreateRequest = core.serialization.object({
|
|
32
33
|
displayName: core.serialization.string(),
|
|
33
34
|
singularName: core.serialization.string(),
|
|
34
35
|
slug: core.serialization.string().optional(),
|
|
36
|
+
fields: core.serialization.list(FieldCreate_1.FieldCreate).optional(),
|
|
35
37
|
});
|
|
@@ -1,7 +1,5 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.FieldUpdate =
|
|
4
|
-
var FieldCreate_1 = require("./FieldCreate");
|
|
5
|
-
Object.defineProperty(exports, "FieldCreate", { enumerable: true, get: function () { return FieldCreate_1.FieldCreate; } });
|
|
3
|
+
exports.FieldUpdate = void 0;
|
|
6
4
|
var FieldUpdate_1 = require("./FieldUpdate");
|
|
7
5
|
Object.defineProperty(exports, "FieldUpdate", { enumerable: true, get: function () { return FieldUpdate_1.FieldUpdate; } });
|
|
@@ -14,5 +14,4 @@ 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("./types"), exports);
|
|
18
17
|
__exportStar(require("./client"), exports);
|
|
@@ -26,10 +26,9 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
26
26
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
27
27
|
};
|
|
28
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
-
exports.
|
|
30
|
-
exports.fields = __importStar(require("./fields"));
|
|
31
|
-
__exportStar(require("./fields/types"), exports);
|
|
29
|
+
exports.fields = exports.items = void 0;
|
|
32
30
|
exports.items = __importStar(require("./items"));
|
|
33
31
|
__exportStar(require("./items/types"), exports);
|
|
32
|
+
exports.fields = __importStar(require("./fields"));
|
|
34
33
|
__exportStar(require("./fields/client/requests"), exports);
|
|
35
34
|
__exportStar(require("./items/client/requests"), exports);
|
|
@@ -7,7 +7,7 @@ import * as core from "../../../../../../core";
|
|
|
7
7
|
export declare const ItemsDeleteItemsLiveRequestItemsItem: core.serialization.ObjectSchema<serializers.collections.ItemsDeleteItemsLiveRequestItemsItem.Raw, Webflow.collections.ItemsDeleteItemsLiveRequestItemsItem>;
|
|
8
8
|
export declare namespace ItemsDeleteItemsLiveRequestItemsItem {
|
|
9
9
|
interface Raw {
|
|
10
|
-
|
|
10
|
+
id: string;
|
|
11
11
|
cmsLocaleIds?: string[] | null;
|
|
12
12
|
}
|
|
13
13
|
}
|
|
@@ -29,6 +29,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
29
29
|
exports.ItemsDeleteItemsLiveRequestItemsItem = void 0;
|
|
30
30
|
const core = __importStar(require("../../../../../../core"));
|
|
31
31
|
exports.ItemsDeleteItemsLiveRequestItemsItem = core.serialization.object({
|
|
32
|
-
|
|
32
|
+
id: core.serialization.string(),
|
|
33
33
|
cmsLocaleIds: core.serialization.list(core.serialization.string()).optional(),
|
|
34
34
|
});
|
|
@@ -5,9 +5,11 @@ import * as serializers from "../index";
|
|
|
5
5
|
import * as Webflow from "../../api/index";
|
|
6
6
|
import * as core from "../../core";
|
|
7
7
|
import { Asset } from "./Asset";
|
|
8
|
+
import { Pagination } from "./Pagination";
|
|
8
9
|
export declare const Assets: core.serialization.ObjectSchema<serializers.Assets.Raw, Webflow.Assets>;
|
|
9
10
|
export declare namespace Assets {
|
|
10
11
|
interface Raw {
|
|
11
12
|
assets?: Asset.Raw[] | null;
|
|
13
|
+
pagination?: Pagination.Raw | null;
|
|
12
14
|
}
|
|
13
15
|
}
|
|
@@ -29,6 +29,8 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
29
29
|
exports.Assets = void 0;
|
|
30
30
|
const core = __importStar(require("../../core"));
|
|
31
31
|
const Asset_1 = require("./Asset");
|
|
32
|
+
const Pagination_1 = require("./Pagination");
|
|
32
33
|
exports.Assets = core.serialization.object({
|
|
33
34
|
assets: core.serialization.list(Asset_1.Asset).optional(),
|
|
35
|
+
pagination: Pagination_1.Pagination.optional(),
|
|
34
36
|
});
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../index";
|
|
5
|
+
import * as Webflow from "../../api/index";
|
|
6
|
+
import * as core from "../../core";
|
|
7
|
+
export declare const Conflict: core.serialization.Schema<serializers.Conflict.Raw, Webflow.Conflict>;
|
|
8
|
+
export declare namespace Conflict {
|
|
9
|
+
type Raw = unknown;
|
|
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.Conflict = void 0;
|
|
30
|
+
const core = __importStar(require("../../core"));
|
|
31
|
+
exports.Conflict = core.serialization.unknown();
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../index";
|
|
5
|
+
import * as Webflow from "../../api/index";
|
|
6
|
+
import * as core from "../../core";
|
|
7
|
+
import { StaticField } from "./StaticField";
|
|
8
|
+
import { OptionField } from "./OptionField";
|
|
9
|
+
import { ReferenceField } from "./ReferenceField";
|
|
10
|
+
export declare const FieldCreate: core.serialization.Schema<serializers.FieldCreate.Raw, Webflow.FieldCreate>;
|
|
11
|
+
export declare namespace FieldCreate {
|
|
12
|
+
type Raw = StaticField.Raw | OptionField.Raw | ReferenceField.Raw;
|
|
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.FieldCreate = void 0;
|
|
30
|
+
const core = __importStar(require("../../core"));
|
|
31
|
+
const StaticField_1 = require("./StaticField");
|
|
32
|
+
const OptionField_1 = require("./OptionField");
|
|
33
|
+
const ReferenceField_1 = require("./ReferenceField");
|
|
34
|
+
exports.FieldCreate = core.serialization.undiscriminatedUnion([StaticField_1.StaticField, OptionField_1.OptionField, ReferenceField_1.ReferenceField]);
|
|
@@ -6,5 +6,5 @@ import * as Webflow from "../../api/index";
|
|
|
6
6
|
import * as core from "../../core";
|
|
7
7
|
export declare const FieldType: core.serialization.Schema<serializers.FieldType.Raw, Webflow.FieldType>;
|
|
8
8
|
export declare namespace FieldType {
|
|
9
|
-
type Raw = "Color" | "DateTime" | "Email" | "ExtFileRef" | "Image" | "Link" | "MultiImage" | "Number" | "Phone" | "PlainText" | "RichText" | "Switch" | "Video";
|
|
9
|
+
type Raw = "Color" | "DateTime" | "Email" | "ExtFileRef" | "Image" | "Link" | "MultiImage" | "MultiReference" | "Number" | "Phone" | "PlainText" | "Reference" | "RichText" | "Switch" | "Video";
|
|
10
10
|
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../index";
|
|
5
|
+
import * as Webflow from "../../api/index";
|
|
6
|
+
import * as core from "../../core";
|
|
7
|
+
import { MetadataOptionsItem } from "./MetadataOptionsItem";
|
|
8
|
+
export declare const Metadata: core.serialization.ObjectSchema<serializers.Metadata.Raw, Webflow.Metadata>;
|
|
9
|
+
export declare namespace Metadata {
|
|
10
|
+
interface Raw {
|
|
11
|
+
options: MetadataOptionsItem.Raw[];
|
|
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.Metadata = void 0;
|
|
30
|
+
const core = __importStar(require("../../core"));
|
|
31
|
+
const MetadataOptionsItem_1 = require("./MetadataOptionsItem");
|
|
32
|
+
exports.Metadata = core.serialization.object({
|
|
33
|
+
options: core.serialization.list(MetadataOptionsItem_1.MetadataOptionsItem),
|
|
34
|
+
});
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../index";
|
|
5
|
+
import * as Webflow from "../../api/index";
|
|
6
|
+
import * as core from "../../core";
|
|
7
|
+
export declare const MetadataOptionsItem: core.serialization.ObjectSchema<serializers.MetadataOptionsItem.Raw, Webflow.MetadataOptionsItem>;
|
|
8
|
+
export declare namespace MetadataOptionsItem {
|
|
9
|
+
interface Raw {
|
|
10
|
+
name: string;
|
|
11
|
+
id?: 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.MetadataOptionsItem = void 0;
|
|
30
|
+
const core = __importStar(require("../../core"));
|
|
31
|
+
exports.MetadataOptionsItem = core.serialization.object({
|
|
32
|
+
name: core.serialization.string(),
|
|
33
|
+
id: core.serialization.string().optional(),
|
|
34
|
+
});
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../index";
|
|
5
|
+
import * as Webflow from "../../api/index";
|
|
6
|
+
import * as core from "../../core";
|
|
7
|
+
import { Metadata } from "./Metadata";
|
|
8
|
+
export declare const OptionField: core.serialization.ObjectSchema<serializers.OptionField.Raw, Webflow.OptionField>;
|
|
9
|
+
export declare namespace OptionField {
|
|
10
|
+
interface Raw {
|
|
11
|
+
id?: string | null;
|
|
12
|
+
isEditable?: boolean | null;
|
|
13
|
+
isRequired?: boolean | null;
|
|
14
|
+
type: "Option";
|
|
15
|
+
displayName: string;
|
|
16
|
+
helpText?: string | null;
|
|
17
|
+
metadata: Metadata.Raw;
|
|
18
|
+
}
|
|
19
|
+
}
|
|
@@ -0,0 +1,40 @@
|
|
|
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.OptionField = void 0;
|
|
30
|
+
const core = __importStar(require("../../core"));
|
|
31
|
+
const Metadata_1 = require("./Metadata");
|
|
32
|
+
exports.OptionField = core.serialization.object({
|
|
33
|
+
id: core.serialization.string().optional(),
|
|
34
|
+
isEditable: core.serialization.boolean().optional(),
|
|
35
|
+
isRequired: core.serialization.boolean().optional(),
|
|
36
|
+
type: core.serialization.stringLiteral("Option"),
|
|
37
|
+
displayName: core.serialization.string(),
|
|
38
|
+
helpText: core.serialization.string().optional(),
|
|
39
|
+
metadata: Metadata_1.Metadata,
|
|
40
|
+
});
|