Skip to content

Commit

Permalink
SDK regeneration
Browse files Browse the repository at this point in the history
  • Loading branch information
fern-api[bot] committed Dec 17, 2024
1 parent 8b5c900 commit 6a1a693
Show file tree
Hide file tree
Showing 36 changed files with 1,335 additions and 155 deletions.
75 changes: 61 additions & 14 deletions .mock/definition/__package__.yml
Original file line number Diff line number Diff line change
Expand Up @@ -151,6 +151,7 @@ types:
- users_not_enabled
- validation_error
docs: Error code
inline: true
source:
openapi: ../../../referenced-specs/v2.yml
ErrorDetailsItem:
Expand Down Expand Up @@ -281,6 +282,7 @@ types:
- optOut
- disabled
docs: The type of data collection enabled for the site.
inline: true
source:
openapi: ../../../referenced-specs/v2.yml
Site:
Expand Down Expand Up @@ -339,6 +341,43 @@ types:
openapi: ../../../referenced-specs/v2.yml
InvalidDomain: unknown
NoDomains: unknown
Redirect:
docs: A single redirection rule, specifying a source URL and a destination URL.
properties:
id:
type: optional<string>
docs: The ID of the specific redirect rule
fromUrl:
type: optional<string>
docs: The source URL path that will be redirected.
toUrl:
type: optional<string>
docs: The target URL path where the user or client will be redirected.
source:
openapi: ../../../referenced-specs/v2.yml
Pagination:
docs: Pagination object
properties:
limit:
type: optional<double>
docs: The limit used for pagination
offset:
type: optional<double>
docs: The offset used for pagination
total:
type: optional<double>
docs: The total number of records
source:
openapi: ../../../referenced-specs/v2.yml
Redirects:
docs: Site redirects response
properties:
redirects:
type: optional<list<Redirect>>
docs: List of redirects for a given site
pagination: optional<Pagination>
source:
openapi: ../../../referenced-specs/v2.yml
SiteActivityLogItemEvent:
enum:
- styles_modified
Expand Down Expand Up @@ -383,6 +422,7 @@ types:
- branch_review_created
- branch_review_approved
- branch_review_canceled
inline: true
source:
openapi: ../../../referenced-specs/v2.yml
SiteActivityLogItemResourceOperation:
Expand All @@ -396,6 +436,7 @@ types:
- GROUP_CREATED
- GROUP_DELETED
- REORDERED
inline: true
source:
openapi: ../../../referenced-specs/v2.yml
SiteActivityLogItemUser:
Expand All @@ -420,20 +461,6 @@ types:
payload: optional<map<string, unknown>>
source:
openapi: ../../../referenced-specs/v2.yml
Pagination:
docs: Pagination object
properties:
limit:
type: optional<double>
docs: The limit used for pagination
offset:
type: optional<double>
docs: The offset used for pagination
total:
type: optional<double>
docs: The total number of records
source:
openapi: ../../../referenced-specs/v2.yml
SiteActivityLogResponse:
properties:
items: optional<list<SiteActivityLogItem>>
Expand Down Expand Up @@ -490,6 +517,7 @@ types:
- Color
- ExtFileRef
docs: Choose these appropriate field type for your collection data
inline: true
source:
openapi: ../../../referenced-specs/v2.yml
Field:
Expand Down Expand Up @@ -966,6 +994,7 @@ types:
enum:
- text
- image
inline: true
source:
openapi: ../../../referenced-specs/v2.yml
Node:
Expand Down Expand Up @@ -1009,6 +1038,7 @@ types:
Location of the script, either in the header or footer of the published
site
default: header
inline: true
source:
openapi: ../../../referenced-specs/v2.yml
ScriptApply:
Expand Down Expand Up @@ -1131,6 +1161,7 @@ types:
- page
- site
docs: Whether the Custom Code script is applied at the Site-level or Page-level
inline: true
source:
openapi: ../../../referenced-specs/v2.yml
CustomCodeBlock:
Expand Down Expand Up @@ -1438,6 +1469,7 @@ types:
- Phone
- Number
docs: The field type
inline: true
source:
openapi: ../../../referenced-specs/v2.yml
FormFieldValue:
Expand All @@ -1457,6 +1489,7 @@ types:
docs: Whether the field is visible to the user
source:
openapi: ../../../referenced-specs/v2.yml
inline: true
FormField:
type: map<string, FormFieldValue>
docs: A collection of form fields with additional properties.
Expand Down Expand Up @@ -1589,6 +1622,7 @@ types:
- verified
- unverified
docs: The status of the user
inline: true
source:
openapi: ../../../referenced-specs/v2.yml
UserAccessGroupsItemType:
Expand All @@ -1599,6 +1633,7 @@ types:
The type of access group based on how it was assigned to the user.
* `admin` - Assigned to the user via API or in the designer
* `ecommerce` - Assigned to the user via an ecommerce purchase
inline: true
source:
openapi: ../../../referenced-specs/v2.yml
UserAccessGroupsItem:
Expand Down Expand Up @@ -1811,6 +1846,7 @@ types:
- value: service-training
name: ServiceTraining
docs: Product tax class
inline: true
source:
openapi: ../../../referenced-specs/v2.yml
ProductFieldDataEcProductType:
Expand All @@ -1824,6 +1860,7 @@ types:
href="https://university.webflow.com/lesson/add-and-manage-products-and-categories?topics=ecommerce#how-to-understand-product-types">Product
types.</a> Enums reflect the following values in order: Physical, Digital,
Service, Advanced"
inline: true
source:
openapi: ../../../referenced-specs/v2.yml
ProductFieldData:
Expand Down Expand Up @@ -1928,6 +1965,7 @@ types:
- value: one-time
name: OneTime
- subscription
inline: true
source:
openapi: ../../../referenced-specs/v2.yml
SkuFieldDataEcSkuSubscriptionPlanInterval:
Expand All @@ -1937,6 +1975,7 @@ types:
- month
- year
docs: Interval of subscription renewal
inline: true
source:
openapi: ../../../referenced-specs/v2.yml
SkuFieldDataEcSkuSubscriptionPlanPlansItemStatus:
Expand All @@ -1945,6 +1984,7 @@ types:
- inactive
- canceled
docs: The status of the plan
inline: true
source:
openapi: ../../../referenced-specs/v2.yml
SkuFieldDataEcSkuSubscriptionPlanPlansItem:
Expand Down Expand Up @@ -2072,6 +2112,7 @@ types:
- shipping
- billing
docs: The type of the order address (billing or shipping)
inline: true
source:
openapi: ../../../referenced-specs/v2.yml
OrderAddressJapanType:
Expand All @@ -2081,6 +2122,7 @@ types:
docs: >-
Represents a Japan-only address format. This field will only appear on
orders placed from Japan.
inline: true
source:
openapi: ../../../referenced-specs/v2.yml
OrderAddress:
Expand Down Expand Up @@ -2265,6 +2307,7 @@ types:
name: DinersClub
- Unknown
docs: The card's brand (ie. credit card network)
inline: true
source:
openapi: ../../../referenced-specs/v2.yml
StripeCardExpires:
Expand Down Expand Up @@ -2331,6 +2374,7 @@ types:
- refunded
docs: |
The status of the Order
inline: true
source:
openapi: ../../../referenced-specs/v2.yml
OrderDisputeLastStatus:
Expand All @@ -2346,6 +2390,7 @@ types:
docs: >
If an order was disputed by the customer, then this key will be set with
the [dispute's status](https://stripe.com/docs/api#dispute_object-status).
inline: true
source:
openapi: ../../../referenced-specs/v2.yml
OrderCustomerInfo:
Expand Down Expand Up @@ -2376,6 +2421,7 @@ types:
- shipping
- tax
docs: The type of extra item this is.
inline: true
source:
openapi: ../../../referenced-specs/v2.yml
OrderTotalsExtrasItem:
Expand Down Expand Up @@ -2569,6 +2615,7 @@ types:
- infinite
- finite
docs: infinite or finite
inline: true
source:
openapi: ../../../referenced-specs/v2.yml
InventoryItem:
Expand Down
1 change: 1 addition & 0 deletions .mock/definition/collections/fields.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ types:
- Color
- File
docs: Choose these appropriate field type for your collection data
inline: true
source:
openapi: ../../../referenced-specs/v2.yml
imports:
Expand Down
4 changes: 2 additions & 2 deletions .mock/definition/collections/items.yml
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@ service:
To create items across multiple locales, please use [this
endpoint.](/data/v2.0.0/reference/cms/collection-items/bulk-items/create-items)
endpoint.](/v2.0.0/data/reference/cms/collection-items/staged-items/create-items)
Required scope | `CMS:write`
Expand Down Expand Up @@ -605,7 +605,7 @@ service:
To create items across multiple locales, [please use this
endpoint.](/v2.0.0/data/reference/cms/collection-items/bulk-items/create-items)
endpoint.](/v2.0.0/data/reference/cms/collection-items/staged-items/create-items)
Expand Down
1 change: 1 addition & 0 deletions .mock/definition/inventory.yml
Original file line number Diff line number Diff line change
Expand Up @@ -116,5 +116,6 @@ types:
- infinite
- finite
docs: infinite or finite
inline: true
source:
openapi: ../../../referenced-specs/v2.yml
1 change: 1 addition & 0 deletions .mock/definition/orders.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ types:
- fraudulent
- requested
docs: The reason for the refund
inline: true
source:
openapi: ../../../referenced-specs/v2.yml
imports:
Expand Down
Loading

0 comments on commit 6a1a693

Please sign in to comment.