Skip to content

Commit 254a0bf

Browse files
SDK regeneration
1 parent 963e261 commit 254a0bf

File tree

86 files changed

+50
-4151
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

86 files changed

+50
-4151
lines changed

.mock/definition/__package__.yml

Lines changed: 1 addition & 184 deletions
Original file line numberDiff line numberDiff line change
@@ -85,8 +85,6 @@ errors:
8585
- value:
8686
code: forms_require_republish
8787
message: To access this feature, the site needs to be republished.
88-
- value:
89-
key: value
9088
- value:
9189
code: ecommerce_not_enabled
9290
message: Ecommerce is not yet initialized
@@ -95,7 +93,7 @@ types:
9593
discriminated: false
9694
union:
9795
- InvalidScopes
98-
- UsersNotEnabled
96+
- NotEnterprisePlanSite
9997
source:
10098
openapi: ../../../openapi/referenced-specs/v2.yml
10199
BadRequestErrorBody:
@@ -125,13 +123,6 @@ types:
125123
docs: Filter items last published after this date
126124
source:
127125
openapi: ../../../openapi/referenced-specs/v2.yml
128-
ConflictErrorBody:
129-
discriminated: false
130-
union:
131-
- DuplicateUserEmail
132-
- UserLimitReached
133-
source:
134-
openapi: ../../../openapi/referenced-specs/v2.yml
135126
AuthorizedUser:
136127
properties:
137128
id:
@@ -2587,9 +2578,6 @@ types:
25872578
- ecomm_new_order
25882579
- ecomm_order_changed
25892580
- ecomm_inventory_changed
2590-
- user_account_added
2591-
- user_account_updated
2592-
- user_account_deleted
25932581
- collection_item_created
25942582
- collection_item_changed
25952583
- collection_item_deleted
@@ -2776,177 +2764,6 @@ types:
27762764
pagination: optional<Pagination>
27772765
source:
27782766
openapi: ../../../openapi/referenced-specs/v2.yml
2779-
UserStatus:
2780-
enum:
2781-
- invited
2782-
- verified
2783-
- unverified
2784-
docs: The status of the user
2785-
source:
2786-
openapi: ../../../openapi/referenced-specs/v2.yml
2787-
UserAccessGroupsItemType:
2788-
enum:
2789-
- admin
2790-
- ecommerce
2791-
docs: |
2792-
The type of access group based on how it was assigned to the user.
2793-
* `admin` - Assigned to the user via API or in the designer
2794-
* `ecommerce` - Assigned to the user via an ecommerce purchase
2795-
inline: true
2796-
source:
2797-
openapi: ../../../openapi/referenced-specs/v2.yml
2798-
UserAccessGroupsItem:
2799-
docs: Access group slugs and types
2800-
properties:
2801-
slug:
2802-
type: optional<string>
2803-
docs: Access group identifier for APIs
2804-
type:
2805-
type: optional<UserAccessGroupsItemType>
2806-
docs: |
2807-
The type of access group based on how it was assigned to the user.
2808-
* `admin` - Assigned to the user via API or in the designer
2809-
* `ecommerce` - Assigned to the user via an ecommerce purchase
2810-
source:
2811-
openapi: ../../../openapi/referenced-specs/v2.yml
2812-
UserDataData:
2813-
properties:
2814-
name:
2815-
type: optional<string>
2816-
docs: |
2817-
The name of the user
2818-
email:
2819-
type: optional<string>
2820-
docs: |
2821-
The email address of the user
2822-
accept-privacy:
2823-
type: optional<boolean>
2824-
docs: |
2825-
Boolean indicating if the user has accepted the privacy policy
2826-
accept-communications:
2827-
type: optional<boolean>
2828-
docs: |
2829-
Boolean indicating if the user has accepted to receive communications
2830-
additionalProperties:
2831-
type: optional<string>
2832-
docs: Custom user attributes
2833-
source:
2834-
openapi: ../../../openapi/referenced-specs/v2.yml
2835-
inline: true
2836-
UserData:
2837-
docs: An object containing the User's basic info and custom fields
2838-
properties:
2839-
data: optional<UserDataData>
2840-
source:
2841-
openapi: ../../../openapi/referenced-specs/v2.yml
2842-
User:
2843-
docs: >
2844-
The fields that define the schema for a given Item are based on the
2845-
Collection that Item belongs to. Beyond the user defined fields, there are
2846-
a handful of additional fields that are automatically created for all
2847-
items
2848-
properties:
2849-
id:
2850-
type: optional<string>
2851-
docs: Unique identifier for the User
2852-
access: read-only
2853-
isEmailVerified:
2854-
type: optional<boolean>
2855-
docs: Shows whether the user has verified their email address
2856-
access: read-only
2857-
lastUpdated:
2858-
type: optional<datetime>
2859-
docs: The timestamp the user was updated
2860-
access: read-only
2861-
invitedOn:
2862-
type: optional<datetime>
2863-
docs: The timestamp the user was invited
2864-
access: read-only
2865-
createdOn:
2866-
type: optional<datetime>
2867-
docs: The timestamp the user was created
2868-
access: read-only
2869-
lastLogin:
2870-
type: optional<datetime>
2871-
docs: The timestamp the user was logged in
2872-
access: read-only
2873-
status: optional<UserStatus>
2874-
accessGroups:
2875-
type: optional<list<UserAccessGroupsItem>>
2876-
docs: Access groups the user belongs to
2877-
data: optional<UserData>
2878-
source:
2879-
openapi: ../../../openapi/referenced-specs/v2.yml
2880-
UserList:
2881-
docs: The list users results
2882-
properties:
2883-
count:
2884-
type: optional<integer>
2885-
docs: Number of users returned
2886-
limit:
2887-
type: optional<integer>
2888-
docs: The limit specified in the request
2889-
default: 10
2890-
offset:
2891-
type: optional<integer>
2892-
docs: The offset specified for pagination
2893-
default: 0
2894-
total:
2895-
type: optional<integer>
2896-
docs: Total number of users in the collection
2897-
users:
2898-
type: optional<list<User>>
2899-
docs: List of Users for a Site
2900-
source:
2901-
openapi: ../../../openapi/referenced-specs/v2.yml
2902-
UsersNotEnabled: unknown
2903-
DuplicateUserEmail: unknown
2904-
UserLimitReached: unknown
2905-
AccessGroup:
2906-
properties:
2907-
id:
2908-
type: optional<string>
2909-
docs: Unique identifier for the Access Group
2910-
name:
2911-
type: optional<string>
2912-
docs: Name of the the Access Group
2913-
shortId:
2914-
type: optional<string>
2915-
docs: >-
2916-
Shortened unique identifier based on name, optimized for its use in
2917-
the user’s JWT
2918-
slug:
2919-
type: optional<string>
2920-
docs: >-
2921-
Shortened unique identifier based on name, optimized for human
2922-
readability and public API use
2923-
createdOn:
2924-
type: optional<datetime>
2925-
docs: The date the Access Group was created
2926-
source:
2927-
openapi: ../../../openapi/referenced-specs/v2.yml
2928-
AccessGroupList:
2929-
docs: The list access groups results
2930-
properties:
2931-
count:
2932-
type: optional<integer>
2933-
docs: Number of access groups returned
2934-
limit:
2935-
type: optional<integer>
2936-
docs: The limit specified in the request
2937-
default: 10
2938-
offset:
2939-
type: optional<integer>
2940-
docs: The offset specified for pagination
2941-
default: 0
2942-
total:
2943-
type: optional<integer>
2944-
docs: Total number of access groups in the collection
2945-
accessGroups:
2946-
type: optional<list<AccessGroup>>
2947-
docs: List of Site Access Groups
2948-
source:
2949-
openapi: ../../../openapi/referenced-specs/v2.yml
29502767
SkuPropertyListEnumItem:
29512768
docs: Enumerated Product variants/Options for the SKU
29522769
properties:

.mock/definition/accessGroups.yml

Lines changed: 0 additions & 94 deletions
This file was deleted.

0 commit comments

Comments
 (0)