{
  "info": {
    "title": "Heartwork API",
    "version": "v7"
  },
  "openapi": "3.1.0",
  "components": {
    "schemas": {
      "AccountAccountCodeUpdated": {
        "required": [
          "entity",
          "id",
          "next",
          "previous",
          "timestamp",
          "type",
          "user",
          "workspace"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "timestamp": {
            "type": "string",
            "format": "date-time"
          },
          "entity": {
            "$ref": "#/components/schemas/BaseWorkspaceEntityEntityReference"
          },
          "type": {
            "type": "string"
          },
          "user": {
            "$ref": "#/components/schemas/ActivityUserReference"
          },
          "workspace": {
            "type": "string"
          },
          "previous": {
            "type": "string",
            "nullable": true
          },
          "next": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "AccountAccountStatusUpdated": {
        "required": [
          "entity",
          "id",
          "next",
          "previous",
          "timestamp",
          "type",
          "user",
          "workspace"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "timestamp": {
            "type": "string",
            "format": "date-time"
          },
          "entity": {
            "$ref": "#/components/schemas/BaseWorkspaceEntityEntityReference"
          },
          "type": {
            "type": "string"
          },
          "user": {
            "$ref": "#/components/schemas/ActivityUserReference"
          },
          "workspace": {
            "type": "string"
          },
          "previous": {
            "type": "string",
            "nullable": true
          },
          "next": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "AccountAccountTypeUpdated": {
        "required": [
          "entity",
          "id",
          "next",
          "previous",
          "timestamp",
          "type",
          "user",
          "workspace"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "timestamp": {
            "type": "string",
            "format": "date-time"
          },
          "entity": {
            "$ref": "#/components/schemas/BaseWorkspaceEntityEntityReference"
          },
          "type": {
            "type": "string"
          },
          "user": {
            "$ref": "#/components/schemas/ActivityUserReference"
          },
          "workspace": {
            "type": "string"
          },
          "previous": {
            "$ref": "#/components/schemas/AccountType"
          },
          "next": {
            "$ref": "#/components/schemas/AccountType"
          }
        },
        "additionalProperties": false
      },
      "AccountAttributesUpdated": {
        "required": [
          "entity",
          "id",
          "next",
          "previous",
          "timestamp",
          "type",
          "user",
          "workspace"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "timestamp": {
            "type": "string",
            "format": "date-time"
          },
          "entity": {
            "$ref": "#/components/schemas/BaseWorkspaceEntityEntityReference"
          },
          "type": {
            "type": "string"
          },
          "user": {
            "$ref": "#/components/schemas/ActivityUserReference"
          },
          "workspace": {
            "type": "string"
          },
          "previous": {
            "type": "object",
            "additionalProperties": {
              "type": "string"
            },
            "nullable": true
          },
          "next": {
            "type": "object",
            "additionalProperties": {
              "type": "string"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "AccountBillingAddressUpdated": {
        "required": [
          "entity",
          "id",
          "next",
          "previous",
          "timestamp",
          "type",
          "user",
          "workspace"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "timestamp": {
            "type": "string",
            "format": "date-time"
          },
          "entity": {
            "$ref": "#/components/schemas/BaseWorkspaceEntityEntityReference"
          },
          "type": {
            "type": "string"
          },
          "user": {
            "$ref": "#/components/schemas/ActivityUserReference"
          },
          "workspace": {
            "type": "string"
          },
          "previous": {
            "$ref": "#/components/schemas/Address"
          },
          "next": {
            "$ref": "#/components/schemas/Address"
          }
        },
        "additionalProperties": false
      },
      "AccountChamberOfCommerceRubricationCodesUpdated": {
        "required": [
          "entity",
          "id",
          "next",
          "previous",
          "timestamp",
          "type",
          "user",
          "workspace"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "timestamp": {
            "type": "string",
            "format": "date-time"
          },
          "entity": {
            "$ref": "#/components/schemas/BaseWorkspaceEntityEntityReference"
          },
          "type": {
            "type": "string"
          },
          "user": {
            "$ref": "#/components/schemas/ActivityUserReference"
          },
          "workspace": {
            "type": "string"
          },
          "previous": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "next": {
            "type": "array",
            "items": {
              "type": "string"
            }
          }
        },
        "additionalProperties": false
      },
      "AccountChamberOfCommerceUpdated": {
        "required": [
          "entity",
          "id",
          "next",
          "previous",
          "timestamp",
          "type",
          "user",
          "workspace"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "timestamp": {
            "type": "string",
            "format": "date-time"
          },
          "entity": {
            "$ref": "#/components/schemas/BaseWorkspaceEntityEntityReference"
          },
          "type": {
            "type": "string"
          },
          "user": {
            "$ref": "#/components/schemas/ActivityUserReference"
          },
          "workspace": {
            "type": "string"
          },
          "previous": {
            "type": "string",
            "nullable": true
          },
          "next": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "AccountCommerceSettings": {
        "required": [
          "locations"
        ],
        "type": "object",
        "properties": {
          "priceSettings": {
            "$ref": "#/components/schemas/PriceSettings"
          },
          "locations": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/LocationEntityReference"
            }
          }
        },
        "additionalProperties": false
      },
      "AccountCommerceSettingsUpdated": {
        "required": [
          "entity",
          "id",
          "next",
          "previous",
          "timestamp",
          "type",
          "user",
          "workspace"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "timestamp": {
            "type": "string",
            "format": "date-time"
          },
          "entity": {
            "$ref": "#/components/schemas/BaseWorkspaceEntityEntityReference"
          },
          "type": {
            "type": "string"
          },
          "user": {
            "$ref": "#/components/schemas/ActivityUserReference"
          },
          "workspace": {
            "type": "string"
          },
          "previous": {
            "$ref": "#/components/schemas/AccountCommerceSettings"
          },
          "next": {
            "$ref": "#/components/schemas/AccountCommerceSettings"
          }
        },
        "additionalProperties": false
      },
      "AccountCreated": {
        "required": [
          "entity",
          "id",
          "timestamp",
          "type",
          "user",
          "workspace"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "timestamp": {
            "type": "string",
            "format": "date-time"
          },
          "entity": {
            "$ref": "#/components/schemas/BaseWorkspaceEntityEntityReference"
          },
          "type": {
            "type": "string"
          },
          "user": {
            "$ref": "#/components/schemas/ActivityUserReference"
          },
          "workspace": {
            "type": "string"
          }
        },
        "additionalProperties": false
      },
      "AccountCustomFieldsUpdated": {
        "required": [
          "entity",
          "id",
          "next",
          "previous",
          "timestamp",
          "type",
          "user",
          "workspace"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "timestamp": {
            "type": "string",
            "format": "date-time"
          },
          "entity": {
            "$ref": "#/components/schemas/BaseWorkspaceEntityEntityReference"
          },
          "type": {
            "type": "string"
          },
          "user": {
            "$ref": "#/components/schemas/ActivityUserReference"
          },
          "workspace": {
            "type": "string"
          },
          "previous": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CustomField"
            }
          },
          "next": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CustomField"
            }
          }
        },
        "additionalProperties": false
      },
      "AccountDeleted": {
        "required": [
          "entity",
          "id",
          "timestamp",
          "type",
          "user",
          "workspace"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "timestamp": {
            "type": "string",
            "format": "date-time"
          },
          "entity": {
            "$ref": "#/components/schemas/BaseWorkspaceEntityEntityReference"
          },
          "type": {
            "type": "string"
          },
          "user": {
            "$ref": "#/components/schemas/ActivityUserReference"
          },
          "workspace": {
            "type": "string"
          }
        },
        "additionalProperties": false
      },
      "AccountDescriptionUpdated": {
        "required": [
          "entity",
          "id",
          "next",
          "previous",
          "timestamp",
          "type",
          "user",
          "workspace"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "timestamp": {
            "type": "string",
            "format": "date-time"
          },
          "entity": {
            "$ref": "#/components/schemas/BaseWorkspaceEntityEntityReference"
          },
          "type": {
            "type": "string"
          },
          "user": {
            "$ref": "#/components/schemas/ActivityUserReference"
          },
          "workspace": {
            "type": "string"
          },
          "previous": {
            "type": "string",
            "nullable": true
          },
          "next": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "AccountDisplayNameUpdated": {
        "required": [
          "entity",
          "id",
          "next",
          "previous",
          "timestamp",
          "type",
          "user",
          "workspace"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "timestamp": {
            "type": "string",
            "format": "date-time"
          },
          "entity": {
            "$ref": "#/components/schemas/BaseWorkspaceEntityEntityReference"
          },
          "type": {
            "type": "string"
          },
          "user": {
            "$ref": "#/components/schemas/ActivityUserReference"
          },
          "workspace": {
            "type": "string"
          },
          "previous": {
            "type": "string"
          },
          "next": {
            "type": "string"
          }
        },
        "additionalProperties": false
      },
      "AccountEmailsUpdated": {
        "required": [
          "entity",
          "id",
          "next",
          "previous",
          "timestamp",
          "type",
          "user",
          "workspace"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "timestamp": {
            "type": "string",
            "format": "date-time"
          },
          "entity": {
            "$ref": "#/components/schemas/BaseWorkspaceEntityEntityReference"
          },
          "type": {
            "type": "string"
          },
          "user": {
            "$ref": "#/components/schemas/ActivityUserReference"
          },
          "workspace": {
            "type": "string"
          },
          "previous": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CustomField"
            }
          },
          "next": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CustomField"
            }
          }
        },
        "additionalProperties": false
      },
      "AccountEmployeesUpdated": {
        "required": [
          "entity",
          "id",
          "next",
          "previous",
          "timestamp",
          "type",
          "user",
          "workspace"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "timestamp": {
            "type": "string",
            "format": "date-time"
          },
          "entity": {
            "$ref": "#/components/schemas/BaseWorkspaceEntityEntityReference"
          },
          "type": {
            "type": "string"
          },
          "user": {
            "$ref": "#/components/schemas/ActivityUserReference"
          },
          "workspace": {
            "type": "string"
          },
          "previous": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "next": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "AccountEntityReference": {
        "required": [
          "id",
          "name",
          "type"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "type": {
            "$ref": "#/components/schemas/AccountEntityReferenceType"
          }
        },
        "additionalProperties": false
      },
      "AccountEntityReferenceType": {
        "enum": [
          "Account"
        ],
        "type": "string"
      },
      "AccountExternalReferenceUpdated": {
        "required": [
          "entity",
          "id",
          "next",
          "previous",
          "timestamp",
          "type",
          "user",
          "workspace"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "timestamp": {
            "type": "string",
            "format": "date-time"
          },
          "entity": {
            "$ref": "#/components/schemas/BaseWorkspaceEntityEntityReference"
          },
          "type": {
            "type": "string"
          },
          "user": {
            "$ref": "#/components/schemas/ActivityUserReference"
          },
          "workspace": {
            "type": "string"
          },
          "previous": {
            "type": "string",
            "nullable": true
          },
          "next": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "AccountIndustriesUpdated": {
        "required": [
          "entity",
          "id",
          "next",
          "previous",
          "timestamp",
          "type",
          "user",
          "workspace"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "timestamp": {
            "type": "string",
            "format": "date-time"
          },
          "entity": {
            "$ref": "#/components/schemas/BaseWorkspaceEntityEntityReference"
          },
          "type": {
            "type": "string"
          },
          "user": {
            "$ref": "#/components/schemas/ActivityUserReference"
          },
          "workspace": {
            "type": "string"
          },
          "previous": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "next": {
            "type": "array",
            "items": {
              "type": "string"
            }
          }
        },
        "additionalProperties": false
      },
      "AccountLastContactMomentUpdated": {
        "required": [
          "entity",
          "id",
          "next",
          "previous",
          "timestamp",
          "type",
          "user",
          "workspace"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "timestamp": {
            "type": "string",
            "format": "date-time"
          },
          "entity": {
            "$ref": "#/components/schemas/BaseWorkspaceEntityEntityReference"
          },
          "type": {
            "type": "string"
          },
          "user": {
            "$ref": "#/components/schemas/ActivityUserReference"
          },
          "workspace": {
            "type": "string"
          },
          "previous": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "next": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "AccountLinksUpdated": {
        "required": [
          "entity",
          "id",
          "next",
          "previous",
          "timestamp",
          "type",
          "user",
          "workspace"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "timestamp": {
            "type": "string",
            "format": "date-time"
          },
          "entity": {
            "$ref": "#/components/schemas/BaseWorkspaceEntityEntityReference"
          },
          "type": {
            "type": "string"
          },
          "user": {
            "$ref": "#/components/schemas/ActivityUserReference"
          },
          "workspace": {
            "type": "string"
          },
          "previous": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CustomField"
            }
          },
          "next": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CustomField"
            }
          }
        },
        "additionalProperties": false
      },
      "AccountNotesUpdated": {
        "required": [
          "entity",
          "id",
          "next",
          "previous",
          "timestamp",
          "type",
          "user",
          "workspace"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "timestamp": {
            "type": "string",
            "format": "date-time"
          },
          "entity": {
            "$ref": "#/components/schemas/BaseWorkspaceEntityEntityReference"
          },
          "type": {
            "type": "string"
          },
          "user": {
            "$ref": "#/components/schemas/ActivityUserReference"
          },
          "workspace": {
            "type": "string"
          },
          "previous": {
            "type": "string",
            "nullable": true
          },
          "next": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "AccountOtherAddressesUpdated": {
        "required": [
          "entity",
          "id",
          "next",
          "previous",
          "timestamp",
          "type",
          "user",
          "workspace"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "timestamp": {
            "type": "string",
            "format": "date-time"
          },
          "entity": {
            "$ref": "#/components/schemas/BaseWorkspaceEntityEntityReference"
          },
          "type": {
            "type": "string"
          },
          "user": {
            "$ref": "#/components/schemas/ActivityUserReference"
          },
          "workspace": {
            "type": "string"
          },
          "previous": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Address"
            }
          },
          "next": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Address"
            }
          }
        },
        "additionalProperties": false
      },
      "AccountOwnerUpdated": {
        "required": [
          "entity",
          "id",
          "next",
          "previous",
          "timestamp",
          "type",
          "user",
          "workspace"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "timestamp": {
            "type": "string",
            "format": "date-time"
          },
          "entity": {
            "$ref": "#/components/schemas/BaseWorkspaceEntityEntityReference"
          },
          "type": {
            "type": "string"
          },
          "user": {
            "$ref": "#/components/schemas/ActivityUserReference"
          },
          "workspace": {
            "type": "string"
          },
          "previous": {
            "$ref": "#/components/schemas/HeartworkUserEntityReference"
          },
          "next": {
            "$ref": "#/components/schemas/HeartworkUserEntityReference"
          }
        },
        "additionalProperties": false
      },
      "AccountPhoneNumbersUpdated": {
        "required": [
          "entity",
          "id",
          "next",
          "previous",
          "timestamp",
          "type",
          "user",
          "workspace"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "timestamp": {
            "type": "string",
            "format": "date-time"
          },
          "entity": {
            "$ref": "#/components/schemas/BaseWorkspaceEntityEntityReference"
          },
          "type": {
            "type": "string"
          },
          "user": {
            "$ref": "#/components/schemas/ActivityUserReference"
          },
          "workspace": {
            "type": "string"
          },
          "previous": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CustomField"
            }
          },
          "next": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CustomField"
            }
          }
        },
        "additionalProperties": false
      },
      "AccountProductCatalogUpdated": {
        "required": [
          "entity",
          "id",
          "next",
          "previous",
          "timestamp",
          "type",
          "user",
          "workspace"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "timestamp": {
            "type": "string",
            "format": "date-time"
          },
          "entity": {
            "$ref": "#/components/schemas/BaseWorkspaceEntityEntityReference"
          },
          "type": {
            "type": "string"
          },
          "user": {
            "$ref": "#/components/schemas/ActivityUserReference"
          },
          "workspace": {
            "type": "string"
          },
          "previous": {
            "$ref": "#/components/schemas/ProductCatalogEntityReference"
          },
          "next": {
            "$ref": "#/components/schemas/ProductCatalogEntityReference"
          }
        },
        "additionalProperties": false
      },
      "AccountSalesOrderProcessorUpdated": {
        "required": [
          "entity",
          "id",
          "next",
          "previous",
          "timestamp",
          "type",
          "user",
          "workspace"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "timestamp": {
            "type": "string",
            "format": "date-time"
          },
          "entity": {
            "$ref": "#/components/schemas/BaseWorkspaceEntityEntityReference"
          },
          "type": {
            "type": "string"
          },
          "user": {
            "$ref": "#/components/schemas/ActivityUserReference"
          },
          "workspace": {
            "type": "string"
          },
          "previous": {
            "$ref": "#/components/schemas/LocationEntityReference"
          },
          "next": {
            "$ref": "#/components/schemas/LocationEntityReference"
          }
        },
        "additionalProperties": false
      },
      "AccountShippingAddressUpdated": {
        "required": [
          "entity",
          "id",
          "next",
          "previous",
          "timestamp",
          "type",
          "user",
          "workspace"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "timestamp": {
            "type": "string",
            "format": "date-time"
          },
          "entity": {
            "$ref": "#/components/schemas/BaseWorkspaceEntityEntityReference"
          },
          "type": {
            "type": "string"
          },
          "user": {
            "$ref": "#/components/schemas/ActivityUserReference"
          },
          "workspace": {
            "type": "string"
          },
          "previous": {
            "$ref": "#/components/schemas/Address"
          },
          "next": {
            "$ref": "#/components/schemas/Address"
          }
        },
        "additionalProperties": false
      },
      "AccountSorting": {
        "enum": [
          "DisplayName",
          "ModifiedAt"
        ],
        "type": "string"
      },
      "AccountStats": {
        "required": [
          "dealsCount",
          "dealsTotal",
          "dealsTotalPercentage",
          "displayName",
          "id",
          "ordersCount",
          "ordersTotal",
          "ordersTotalPercentage",
          "revenueCount",
          "revenueTotal",
          "revenueTotalPercentage"
        ],
        "type": "object",
        "properties": {
          "ordersTotal": {
            "type": "number",
            "format": "double"
          },
          "ordersCount": {
            "type": "integer",
            "format": "int32"
          },
          "dealsTotal": {
            "type": "number",
            "format": "double"
          },
          "dealsCount": {
            "type": "integer",
            "format": "int32"
          },
          "revenueTotal": {
            "type": "number",
            "format": "double"
          },
          "revenueCount": {
            "type": "integer",
            "format": "int32"
          },
          "id": {
            "type": "string"
          },
          "displayName": {
            "type": "string",
            "nullable": true
          },
          "ordersTotalPercentage": {
            "type": "number",
            "format": "double"
          },
          "dealsTotalPercentage": {
            "type": "number",
            "format": "double"
          },
          "revenueTotalPercentage": {
            "type": "number",
            "format": "double"
          }
        },
        "additionalProperties": false
      },
      "AccountTagsUpdated": {
        "required": [
          "entity",
          "id",
          "next",
          "previous",
          "timestamp",
          "type",
          "user",
          "workspace"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "timestamp": {
            "type": "string",
            "format": "date-time"
          },
          "entity": {
            "$ref": "#/components/schemas/BaseWorkspaceEntityEntityReference"
          },
          "type": {
            "type": "string"
          },
          "user": {
            "$ref": "#/components/schemas/ActivityUserReference"
          },
          "workspace": {
            "type": "string"
          },
          "previous": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "next": {
            "type": "array",
            "items": {
              "type": "string"
            }
          }
        },
        "additionalProperties": false
      },
      "AccountType": {
        "enum": [
          "Customer",
          "Supplier",
          "Competitor",
          "Investor",
          "Partner"
        ],
        "type": "string"
      },
      "AccountVatNumberUpdated": {
        "required": [
          "entity",
          "id",
          "next",
          "previous",
          "timestamp",
          "type",
          "user",
          "workspace"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "timestamp": {
            "type": "string",
            "format": "date-time"
          },
          "entity": {
            "$ref": "#/components/schemas/BaseWorkspaceEntityEntityReference"
          },
          "type": {
            "type": "string"
          },
          "user": {
            "$ref": "#/components/schemas/ActivityUserReference"
          },
          "workspace": {
            "type": "string"
          },
          "previous": {
            "type": "string",
            "nullable": true
          },
          "next": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "AccountVatValidationDateUpdated": {
        "required": [
          "entity",
          "id",
          "next",
          "previous",
          "timestamp",
          "type",
          "user",
          "workspace"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "timestamp": {
            "type": "string",
            "format": "date-time"
          },
          "entity": {
            "$ref": "#/components/schemas/BaseWorkspaceEntityEntityReference"
          },
          "type": {
            "type": "string"
          },
          "user": {
            "$ref": "#/components/schemas/ActivityUserReference"
          },
          "workspace": {
            "type": "string"
          },
          "previous": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "next": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "AccountVisitingAddressUpdated": {
        "required": [
          "entity",
          "id",
          "next",
          "previous",
          "timestamp",
          "type",
          "user",
          "workspace"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "timestamp": {
            "type": "string",
            "format": "date-time"
          },
          "entity": {
            "$ref": "#/components/schemas/BaseWorkspaceEntityEntityReference"
          },
          "type": {
            "type": "string"
          },
          "user": {
            "$ref": "#/components/schemas/ActivityUserReference"
          },
          "workspace": {
            "type": "string"
          },
          "previous": {
            "$ref": "#/components/schemas/Address"
          },
          "next": {
            "$ref": "#/components/schemas/Address"
          }
        },
        "additionalProperties": false
      },
      "ActiveProductFilter": {
        "required": [
          "attributeId",
          "selectedOptionValues"
        ],
        "type": "object",
        "properties": {
          "attributeId": {
            "type": "string"
          },
          "selectedOptionValues": {
            "type": "array",
            "items": {
              "type": "string"
            }
          }
        },
        "additionalProperties": false
      },
      "Activity": {
        "required": [
          "entity",
          "id",
          "timestamp",
          "type",
          "user",
          "workspace"
        ],
        "type": "object",
        "oneOf": [
          {
            "$ref": "#/components/schemas/CurrencyCreated"
          },
          {
            "$ref": "#/components/schemas/CurrencyDeleted"
          },
          {
            "$ref": "#/components/schemas/CurrencyExternalReferenceUpdated"
          },
          {
            "$ref": "#/components/schemas/CurrencyConversionRateUpdated"
          },
          {
            "$ref": "#/components/schemas/BrandCreated"
          },
          {
            "$ref": "#/components/schemas/BrandDeleted"
          },
          {
            "$ref": "#/components/schemas/BrandExternalReferenceUpdated"
          },
          {
            "$ref": "#/components/schemas/BrandNameUpdated"
          },
          {
            "$ref": "#/components/schemas/BrandImageUrlUpdated"
          },
          {
            "$ref": "#/components/schemas/BrandVisibilitySettingsUpdated"
          },
          {
            "$ref": "#/components/schemas/FavouriteProductCreated"
          },
          {
            "$ref": "#/components/schemas/FavouriteProductDeleted"
          },
          {
            "$ref": "#/components/schemas/ProductCreated"
          },
          {
            "$ref": "#/components/schemas/ProductDeleted"
          },
          {
            "$ref": "#/components/schemas/ProductExternalReferenceUpdated"
          },
          {
            "$ref": "#/components/schemas/ProductNameUpdated"
          },
          {
            "$ref": "#/components/schemas/ProductProductTypeUpdated"
          },
          {
            "$ref": "#/components/schemas/ProductSkuUpdated"
          },
          {
            "$ref": "#/components/schemas/ProductGtinUpdated"
          },
          {
            "$ref": "#/components/schemas/ProductBarcodesUpdated"
          },
          {
            "$ref": "#/components/schemas/ProductPackingUpdated"
          },
          {
            "$ref": "#/components/schemas/ProductProductCodeUpdated"
          },
          {
            "$ref": "#/components/schemas/ProductSearchCodeUpdated"
          },
          {
            "$ref": "#/components/schemas/ProductVisibilitySettingsUpdated"
          },
          {
            "$ref": "#/components/schemas/ProductIntroducedAtUpdated"
          },
          {
            "$ref": "#/components/schemas/ProductManufacturerUpdated"
          },
          {
            "$ref": "#/components/schemas/ProductActiveUpdated"
          },
          {
            "$ref": "#/components/schemas/ProductTagsUpdated"
          },
          {
            "$ref": "#/components/schemas/ProductCustomFieldsUpdated"
          },
          {
            "$ref": "#/components/schemas/ProductBrandUpdated"
          },
          {
            "$ref": "#/components/schemas/ProductDisplayOrderUpdated"
          },
          {
            "$ref": "#/components/schemas/ProductImagesUpdated"
          },
          {
            "$ref": "#/components/schemas/ProductHyperlinksUpdated"
          },
          {
            "$ref": "#/components/schemas/ProductSalesSettingsUpdated"
          },
          {
            "$ref": "#/components/schemas/ProductShowStockUpdated"
          },
          {
            "$ref": "#/components/schemas/ProductAttributeCreated"
          },
          {
            "$ref": "#/components/schemas/ProductAttributeDeleted"
          },
          {
            "$ref": "#/components/schemas/ProductAttributeExternalReferenceUpdated"
          },
          {
            "$ref": "#/components/schemas/ProductAttributeNameUpdated"
          },
          {
            "$ref": "#/components/schemas/ProductCatalogCreated"
          },
          {
            "$ref": "#/components/schemas/ProductCatalogDeleted"
          },
          {
            "$ref": "#/components/schemas/ProductCatalogExternalReferenceUpdated"
          },
          {
            "$ref": "#/components/schemas/ProductCatalogNameUpdated"
          },
          {
            "$ref": "#/components/schemas/ProductCategoryCreated"
          },
          {
            "$ref": "#/components/schemas/ProductCategoryDeleted"
          },
          {
            "$ref": "#/components/schemas/ProductCategoryExternalReferenceUpdated"
          },
          {
            "$ref": "#/components/schemas/ProductCategoryNameUpdated"
          },
          {
            "$ref": "#/components/schemas/ProductCategoryImageUpdated"
          },
          {
            "$ref": "#/components/schemas/ProductCategoryParentUpdated"
          },
          {
            "$ref": "#/components/schemas/ProductCategoryActiveUpdated"
          },
          {
            "$ref": "#/components/schemas/ProductCategoryVisibilityUpdated"
          },
          {
            "$ref": "#/components/schemas/ProductCategoryCustomFieldsUpdated"
          },
          {
            "$ref": "#/components/schemas/ProductCategoryDisplayOrderUpdated"
          },
          {
            "$ref": "#/components/schemas/ProductCategoryDisplayContentCreated"
          },
          {
            "$ref": "#/components/schemas/ProductCategoryDisplayContentDeleted"
          },
          {
            "$ref": "#/components/schemas/ProductCategoryDisplayContentExternalReferenceUpdated"
          },
          {
            "$ref": "#/components/schemas/ProductCategoryDisplayContentTitleUpdated"
          },
          {
            "$ref": "#/components/schemas/ProductCategoryDisplayContentExcerptUpdated"
          },
          {
            "$ref": "#/components/schemas/ProductCategoryDisplayContentDescriptionUpdated"
          },
          {
            "$ref": "#/components/schemas/ProductCategoryDisplayContentDescriptionFormatUpdated"
          },
          {
            "$ref": "#/components/schemas/ProductCategoryDisplayContentSeoMetaUpdated"
          },
          {
            "$ref": "#/components/schemas/ProductDisplayContentCreated"
          },
          {
            "$ref": "#/components/schemas/ProductDisplayContentDeleted"
          },
          {
            "$ref": "#/components/schemas/ProductDisplayContentExternalReferenceUpdated"
          },
          {
            "$ref": "#/components/schemas/ProductDisplayContentTitleUpdated"
          },
          {
            "$ref": "#/components/schemas/ProductDisplayContentExcerptUpdated"
          },
          {
            "$ref": "#/components/schemas/ProductDisplayContentDescriptionUpdated"
          },
          {
            "$ref": "#/components/schemas/ProductDisplayContentDescriptionFormatUpdated"
          },
          {
            "$ref": "#/components/schemas/ProductDisplayContentSeoMetaUpdated"
          },
          {
            "$ref": "#/components/schemas/ProductManufacturerCreated"
          },
          {
            "$ref": "#/components/schemas/ProductManufacturerDeleted"
          },
          {
            "$ref": "#/components/schemas/ProductManufacturerExternalReferenceUpdated"
          },
          {
            "$ref": "#/components/schemas/ProductManufacturerNameUpdated"
          },
          {
            "$ref": "#/components/schemas/ProductManufacturerEmailUpdated"
          },
          {
            "$ref": "#/components/schemas/ProductAttributeLinkCreated"
          },
          {
            "$ref": "#/components/schemas/ProductAttributeLinkDeleted"
          },
          {
            "$ref": "#/components/schemas/ProductCatalogLinkCreated"
          },
          {
            "$ref": "#/components/schemas/ProductCatalogLinkDeleted"
          },
          {
            "$ref": "#/components/schemas/ProductCategoryLinkCreated"
          },
          {
            "$ref": "#/components/schemas/ProductCategoryLinkDeleted"
          },
          {
            "$ref": "#/components/schemas/ProductLinkCreated"
          },
          {
            "$ref": "#/components/schemas/ProductLinkDeleted"
          },
          {
            "$ref": "#/components/schemas/ProductPriceUpdated"
          },
          {
            "$ref": "#/components/schemas/ContentPageCreated"
          },
          {
            "$ref": "#/components/schemas/ContentPageDeleted"
          },
          {
            "$ref": "#/components/schemas/ContentPageExternalReferenceUpdated"
          },
          {
            "$ref": "#/components/schemas/ContentPageUrlUpdated"
          },
          {
            "$ref": "#/components/schemas/ContentPageDisplayNameUpdated"
          },
          {
            "$ref": "#/components/schemas/ContentPageBodyUpdated"
          },
          {
            "$ref": "#/components/schemas/ContentPageDisplayOrderUpdated"
          },
          {
            "$ref": "#/components/schemas/ContentPageLanguageUpdated"
          },
          {
            "$ref": "#/components/schemas/ContentPageGroupNameUpdated"
          },
          {
            "$ref": "#/components/schemas/ContentPageShowInMenuUpdated"
          },
          {
            "$ref": "#/components/schemas/ContentPageShowInFooterUpdated"
          },
          {
            "$ref": "#/components/schemas/AtomicScriptCreated"
          },
          {
            "$ref": "#/components/schemas/AtomicScriptDeleted"
          },
          {
            "$ref": "#/components/schemas/AtomicScriptExternalReferenceUpdated"
          },
          {
            "$ref": "#/components/schemas/AtomicScriptTitleUpdated"
          },
          {
            "$ref": "#/components/schemas/AtomicScriptAtomicNameUpdated"
          },
          {
            "$ref": "#/components/schemas/AtomicScriptAtomicScriptTypeUpdated"
          },
          {
            "$ref": "#/components/schemas/AtomicScriptScriptUpdated"
          },
          {
            "$ref": "#/components/schemas/AtomicScriptEnabledUpdated"
          },
          {
            "$ref": "#/components/schemas/AtomicScriptContinueOnErrorUpdated"
          },
          {
            "$ref": "#/components/schemas/AtomicScriptTimeoutUpdated"
          },
          {
            "$ref": "#/components/schemas/AtomicScriptOrderUpdated"
          },
          {
            "$ref": "#/components/schemas/CommentExternalReferenceUpdated"
          },
          {
            "$ref": "#/components/schemas/CommentBodyUpdated"
          },
          {
            "$ref": "#/components/schemas/CommentBodyFormatUpdated"
          },
          {
            "$ref": "#/components/schemas/WebhookCreated"
          },
          {
            "$ref": "#/components/schemas/WebhookDeleted"
          },
          {
            "$ref": "#/components/schemas/WebhookNameUpdated"
          },
          {
            "$ref": "#/components/schemas/WebhookTopicNameUpdated"
          },
          {
            "$ref": "#/components/schemas/WebhookDeliveryEndpointUpdated"
          },
          {
            "$ref": "#/components/schemas/WebhookSkipSystemUpdated"
          },
          {
            "$ref": "#/components/schemas/WebhookHeadersUpdated"
          },
          {
            "$ref": "#/components/schemas/WebhookEnabledUpdated"
          },
          {
            "$ref": "#/components/schemas/WorkspaceCreated"
          },
          {
            "$ref": "#/components/schemas/WorkspaceDeleted"
          },
          {
            "$ref": "#/components/schemas/WorkspaceNameUpdated"
          },
          {
            "$ref": "#/components/schemas/WorkspaceSettingsUpdated"
          },
          {
            "$ref": "#/components/schemas/WorkspaceCommerceSettingsUpdated"
          },
          {
            "$ref": "#/components/schemas/CommentCreated"
          },
          {
            "$ref": "#/components/schemas/AccountCreated"
          },
          {
            "$ref": "#/components/schemas/AccountDeleted"
          },
          {
            "$ref": "#/components/schemas/AccountExternalReferenceUpdated"
          },
          {
            "$ref": "#/components/schemas/AccountDisplayNameUpdated"
          },
          {
            "$ref": "#/components/schemas/AccountDescriptionUpdated"
          },
          {
            "$ref": "#/components/schemas/AccountNotesUpdated"
          },
          {
            "$ref": "#/components/schemas/AccountAccountCodeUpdated"
          },
          {
            "$ref": "#/components/schemas/AccountAccountStatusUpdated"
          },
          {
            "$ref": "#/components/schemas/AccountAccountTypeUpdated"
          },
          {
            "$ref": "#/components/schemas/AccountOwnerUpdated"
          },
          {
            "$ref": "#/components/schemas/AccountVisitingAddressUpdated"
          },
          {
            "$ref": "#/components/schemas/AccountBillingAddressUpdated"
          },
          {
            "$ref": "#/components/schemas/AccountShippingAddressUpdated"
          },
          {
            "$ref": "#/components/schemas/AccountOtherAddressesUpdated"
          },
          {
            "$ref": "#/components/schemas/AccountSalesOrderProcessorUpdated"
          },
          {
            "$ref": "#/components/schemas/AccountEmailsUpdated"
          },
          {
            "$ref": "#/components/schemas/AccountPhoneNumbersUpdated"
          },
          {
            "$ref": "#/components/schemas/AccountLinksUpdated"
          },
          {
            "$ref": "#/components/schemas/AccountIndustriesUpdated"
          },
          {
            "$ref": "#/components/schemas/AccountEmployeesUpdated"
          },
          {
            "$ref": "#/components/schemas/AccountVatNumberUpdated"
          },
          {
            "$ref": "#/components/schemas/AccountChamberOfCommerceUpdated"
          },
          {
            "$ref": "#/components/schemas/AccountChamberOfCommerceRubricationCodesUpdated"
          },
          {
            "$ref": "#/components/schemas/AccountVatValidationDateUpdated"
          },
          {
            "$ref": "#/components/schemas/AccountProductCatalogUpdated"
          },
          {
            "$ref": "#/components/schemas/AccountTagsUpdated"
          },
          {
            "$ref": "#/components/schemas/AccountLastContactMomentUpdated"
          },
          {
            "$ref": "#/components/schemas/AccountAttributesUpdated"
          },
          {
            "$ref": "#/components/schemas/AccountCustomFieldsUpdated"
          },
          {
            "$ref": "#/components/schemas/AccountCommerceSettingsUpdated"
          },
          {
            "$ref": "#/components/schemas/ContactCreated"
          },
          {
            "$ref": "#/components/schemas/ContactDeleted"
          },
          {
            "$ref": "#/components/schemas/ContactExternalReferenceUpdated"
          },
          {
            "$ref": "#/components/schemas/ContactFirstNameUpdated"
          },
          {
            "$ref": "#/components/schemas/ContactLastNameUpdated"
          },
          {
            "$ref": "#/components/schemas/ContactMiddleNameUpdated"
          },
          {
            "$ref": "#/components/schemas/ContactDescriptionUpdated"
          },
          {
            "$ref": "#/components/schemas/ContactDateOfBirthUpdated"
          },
          {
            "$ref": "#/components/schemas/ContactGenderUpdated"
          },
          {
            "$ref": "#/components/schemas/ContactTitleUpdated"
          },
          {
            "$ref": "#/components/schemas/ContactJobTitleUpdated"
          },
          {
            "$ref": "#/components/schemas/ContactNotesUpdated"
          },
          {
            "$ref": "#/components/schemas/ContactOwnerUpdated"
          },
          {
            "$ref": "#/components/schemas/ContactClientLoginUpdated"
          },
          {
            "$ref": "#/components/schemas/ContactInterestsAndHobbiesUpdated"
          },
          {
            "$ref": "#/components/schemas/ContactAddressesUpdated"
          },
          {
            "$ref": "#/components/schemas/ContactEmailsUpdated"
          },
          {
            "$ref": "#/components/schemas/ContactPhoneNumbersUpdated"
          },
          {
            "$ref": "#/components/schemas/ContactLinksUpdated"
          },
          {
            "$ref": "#/components/schemas/ContactLastContactMomentUpdated"
          },
          {
            "$ref": "#/components/schemas/ContactDisplayOrderUpdated"
          },
          {
            "$ref": "#/components/schemas/ContactSalesOrderProcessorUpdated"
          },
          {
            "$ref": "#/components/schemas/ContactCommerceSettingsUpdated"
          },
          {
            "$ref": "#/components/schemas/ContactAttributesUpdated"
          },
          {
            "$ref": "#/components/schemas/ContactCustomFieldsUpdated"
          },
          {
            "$ref": "#/components/schemas/ContactTagsUpdated"
          },
          {
            "$ref": "#/components/schemas/DealCreated"
          },
          {
            "$ref": "#/components/schemas/DealDeleted"
          },
          {
            "$ref": "#/components/schemas/DealExternalReferenceUpdated"
          },
          {
            "$ref": "#/components/schemas/DealTitleUpdated"
          },
          {
            "$ref": "#/components/schemas/DealDescriptionUpdated"
          },
          {
            "$ref": "#/components/schemas/DealExpectedRevenueUpdated"
          },
          {
            "$ref": "#/components/schemas/DealOwnerUpdated"
          },
          {
            "$ref": "#/components/schemas/DealAccountUpdated"
          },
          {
            "$ref": "#/components/schemas/DealSuccessRateUpdated"
          },
          {
            "$ref": "#/components/schemas/DealStartDateUpdated"
          },
          {
            "$ref": "#/components/schemas/DealEndDateUpdated"
          },
          {
            "$ref": "#/components/schemas/DealPipelineUpdated"
          },
          {
            "$ref": "#/components/schemas/DealStatusUpdated"
          },
          {
            "$ref": "#/components/schemas/DealTagsUpdated"
          },
          {
            "$ref": "#/components/schemas/PipelineCreated"
          },
          {
            "$ref": "#/components/schemas/PipelineDeleted"
          },
          {
            "$ref": "#/components/schemas/PipelineExternalReferenceUpdated"
          },
          {
            "$ref": "#/components/schemas/PipelineTitleUpdated"
          },
          {
            "$ref": "#/components/schemas/PipelineDescriptionUpdated"
          },
          {
            "$ref": "#/components/schemas/PipelineOptionsUpdated"
          },
          {
            "$ref": "#/components/schemas/PipelineSummariesUpdated"
          },
          {
            "$ref": "#/components/schemas/EntityConnectionCreated"
          },
          {
            "$ref": "#/components/schemas/EntityConnectionDeleted"
          },
          {
            "$ref": "#/components/schemas/ClientLoginCreated"
          },
          {
            "$ref": "#/components/schemas/ClientLoginDeleted"
          },
          {
            "$ref": "#/components/schemas/ClientLoginExternalReferenceUpdated"
          },
          {
            "$ref": "#/components/schemas/ClientLoginUsernameUpdated"
          },
          {
            "$ref": "#/components/schemas/ClientLoginEmailUpdated"
          },
          {
            "$ref": "#/components/schemas/LocationCreated"
          },
          {
            "$ref": "#/components/schemas/LocationDeleted"
          },
          {
            "$ref": "#/components/schemas/LocationExternalReferenceUpdated"
          },
          {
            "$ref": "#/components/schemas/LocationEmailUpdated"
          },
          {
            "$ref": "#/components/schemas/LocationNameUpdated"
          },
          {
            "$ref": "#/components/schemas/LocationDescriptionUpdated"
          },
          {
            "$ref": "#/components/schemas/LocationPhoneNumberUpdated"
          },
          {
            "$ref": "#/components/schemas/LocationImageUpdated"
          },
          {
            "$ref": "#/components/schemas/LocationDisplayOrderUpdated"
          },
          {
            "$ref": "#/components/schemas/LocationAddressUpdated"
          },
          {
            "$ref": "#/components/schemas/LocationIsWarehouseUpdated"
          },
          {
            "$ref": "#/components/schemas/LocationIsPickupLocationUpdated"
          },
          {
            "$ref": "#/components/schemas/LocationIsStockLocationUpdated"
          },
          {
            "$ref": "#/components/schemas/LocationOpeningTimesUpdated"
          },
          {
            "$ref": "#/components/schemas/LocationCustomFieldsUpdated"
          },
          {
            "$ref": "#/components/schemas/StockCreated"
          },
          {
            "$ref": "#/components/schemas/StockDeleted"
          },
          {
            "$ref": "#/components/schemas/StockExternalReferenceUpdated"
          },
          {
            "$ref": "#/components/schemas/StockQuantityUpdated"
          },
          {
            "$ref": "#/components/schemas/SalesOrderCreated"
          },
          {
            "$ref": "#/components/schemas/SalesOrderDeleted"
          },
          {
            "$ref": "#/components/schemas/SalesOrderExternalReferenceUpdated"
          },
          {
            "$ref": "#/components/schemas/SalesOrderOrderedAtUpdated"
          },
          {
            "$ref": "#/components/schemas/SalesOrderOrderingStatusUpdated"
          },
          {
            "$ref": "#/components/schemas/SalesOrderProcessingUpdated"
          },
          {
            "$ref": "#/components/schemas/SalesOrderDescriptionUpdated"
          },
          {
            "$ref": "#/components/schemas/SalesOrderReferencesUpdated"
          },
          {
            "$ref": "#/components/schemas/SalesOrderPaymentUpdated"
          },
          {
            "$ref": "#/components/schemas/SalesOrderBillingUpdated"
          },
          {
            "$ref": "#/components/schemas/SalesOrderDeliveryMethodUpdated"
          },
          {
            "$ref": "#/components/schemas/SalesOrderDeliveryUpdated"
          },
          {
            "$ref": "#/components/schemas/SalesOrderChannelUpdated"
          },
          {
            "$ref": "#/components/schemas/SalesOrderCustomFieldsUpdated"
          },
          {
            "$ref": "#/components/schemas/SalesOrderTagsUpdated"
          },
          {
            "$ref": "#/components/schemas/SalesOrderLineCreated"
          },
          {
            "$ref": "#/components/schemas/SalesOrderLineDeleted"
          },
          {
            "$ref": "#/components/schemas/SalesOrderLineExternalReferenceUpdated"
          },
          {
            "$ref": "#/components/schemas/SalesOrderLineDeliveryUpdated"
          },
          {
            "$ref": "#/components/schemas/SalesOrderLineQuantityUpdated"
          },
          {
            "$ref": "#/components/schemas/SalesOrderLineStatusUpdated"
          },
          {
            "$ref": "#/components/schemas/SalesOrderLineAttributesUpdated"
          },
          {
            "$ref": "#/components/schemas/SalesOrderLineTotalsUpdated"
          },
          {
            "$ref": "#/components/schemas/SalesOrderLineReferencesUpdated"
          },
          {
            "$ref": "#/components/schemas/SalesOrderOrderingCompleted"
          }
        ],
        "properties": {
          "id": {
            "type": "string"
          },
          "timestamp": {
            "type": "string",
            "format": "date-time"
          },
          "entity": {
            "$ref": "#/components/schemas/BaseWorkspaceEntityEntityReference"
          },
          "type": {
            "type": "string"
          },
          "user": {
            "$ref": "#/components/schemas/ActivityUserReference"
          },
          "workspace": {
            "type": "string"
          }
        },
        "additionalProperties": false,
        "discriminator": {
          "propertyName": "type",
          "mapping": {
            "CurrencyCreated": "CurrencyCreated",
            "CurrencyDeleted": "CurrencyDeleted",
            "CurrencyExternalReferenceUpdated": "CurrencyExternalReferenceUpdated",
            "CurrencyConversionRateUpdated": "CurrencyConversionRateUpdated",
            "BrandCreated": "BrandCreated",
            "BrandDeleted": "BrandDeleted",
            "BrandExternalReferenceUpdated": "BrandExternalReferenceUpdated",
            "BrandNameUpdated": "BrandNameUpdated",
            "BrandImageUrlUpdated": "BrandImageUrlUpdated",
            "BrandVisibilitySettingsUpdated": "BrandVisibilitySettingsUpdated",
            "FavouriteProductCreated": "FavouriteProductCreated",
            "FavouriteProductDeleted": "FavouriteProductDeleted",
            "ProductCreated": "ProductCreated",
            "ProductDeleted": "ProductDeleted",
            "ProductExternalReferenceUpdated": "ProductExternalReferenceUpdated",
            "ProductNameUpdated": "ProductNameUpdated",
            "ProductProductTypeUpdated": "ProductProductTypeUpdated",
            "ProductSkuUpdated": "ProductSkuUpdated",
            "ProductGtinUpdated": "ProductGtinUpdated",
            "ProductBarcodesUpdated": "ProductBarcodesUpdated",
            "ProductPackingUpdated": "ProductPackingUpdated",
            "ProductProductCodeUpdated": "ProductProductCodeUpdated",
            "ProductSearchCodeUpdated": "ProductSearchCodeUpdated",
            "ProductVisibilitySettingsUpdated": "ProductVisibilitySettingsUpdated",
            "ProductIntroducedAtUpdated": "ProductIntroducedAtUpdated",
            "ProductManufacturerUpdated": "ProductManufacturerUpdated",
            "ProductActiveUpdated": "ProductActiveUpdated",
            "ProductTagsUpdated": "ProductTagsUpdated",
            "ProductCustomFieldsUpdated": "ProductCustomFieldsUpdated",
            "ProductBrandUpdated": "ProductBrandUpdated",
            "ProductDisplayOrderUpdated": "ProductDisplayOrderUpdated",
            "ProductImagesUpdated": "ProductImagesUpdated",
            "ProductHyperlinksUpdated": "ProductHyperlinksUpdated",
            "ProductSalesSettingsUpdated": "ProductSalesSettingsUpdated",
            "ProductShowStockUpdated": "ProductShowStockUpdated",
            "ProductAttributeCreated": "ProductAttributeCreated",
            "ProductAttributeDeleted": "ProductAttributeDeleted",
            "ProductAttributeExternalReferenceUpdated": "ProductAttributeExternalReferenceUpdated",
            "ProductAttributeNameUpdated": "ProductAttributeNameUpdated",
            "ProductCatalogCreated": "ProductCatalogCreated",
            "ProductCatalogDeleted": "ProductCatalogDeleted",
            "ProductCatalogExternalReferenceUpdated": "ProductCatalogExternalReferenceUpdated",
            "ProductCatalogNameUpdated": "ProductCatalogNameUpdated",
            "ProductCategoryCreated": "ProductCategoryCreated",
            "ProductCategoryDeleted": "ProductCategoryDeleted",
            "ProductCategoryExternalReferenceUpdated": "ProductCategoryExternalReferenceUpdated",
            "ProductCategoryNameUpdated": "ProductCategoryNameUpdated",
            "ProductCategoryImageUpdated": "ProductCategoryImageUpdated",
            "ProductCategoryParentUpdated": "ProductCategoryParentUpdated",
            "ProductCategoryActiveUpdated": "ProductCategoryActiveUpdated",
            "ProductCategoryVisibilityUpdated": "ProductCategoryVisibilityUpdated",
            "ProductCategoryCustomFieldsUpdated": "ProductCategoryCustomFieldsUpdated",
            "ProductCategoryDisplayOrderUpdated": "ProductCategoryDisplayOrderUpdated",
            "ProductCategoryDisplayContentCreated": "ProductCategoryDisplayContentCreated",
            "ProductCategoryDisplayContentDeleted": "ProductCategoryDisplayContentDeleted",
            "ProductCategoryDisplayContentExternalReferenceUpdated": "ProductCategoryDisplayContentExternalReferenceUpdated",
            "ProductCategoryDisplayContentTitleUpdated": "ProductCategoryDisplayContentTitleUpdated",
            "ProductCategoryDisplayContentExcerptUpdated": "ProductCategoryDisplayContentExcerptUpdated",
            "ProductCategoryDisplayContentDescriptionUpdated": "ProductCategoryDisplayContentDescriptionUpdated",
            "ProductCategoryDisplayContentDescriptionFormatUpdated": "ProductCategoryDisplayContentDescriptionFormatUpdated",
            "ProductCategoryDisplayContentSeoMetaUpdated": "ProductCategoryDisplayContentSeoMetaUpdated",
            "ProductDisplayContentCreated": "ProductDisplayContentCreated",
            "ProductDisplayContentDeleted": "ProductDisplayContentDeleted",
            "ProductDisplayContentExternalReferenceUpdated": "ProductDisplayContentExternalReferenceUpdated",
            "ProductDisplayContentTitleUpdated": "ProductDisplayContentTitleUpdated",
            "ProductDisplayContentExcerptUpdated": "ProductDisplayContentExcerptUpdated",
            "ProductDisplayContentDescriptionUpdated": "ProductDisplayContentDescriptionUpdated",
            "ProductDisplayContentDescriptionFormatUpdated": "ProductDisplayContentDescriptionFormatUpdated",
            "ProductDisplayContentSeoMetaUpdated": "ProductDisplayContentSeoMetaUpdated",
            "ProductManufacturerCreated": "ProductManufacturerCreated",
            "ProductManufacturerDeleted": "ProductManufacturerDeleted",
            "ProductManufacturerExternalReferenceUpdated": "ProductManufacturerExternalReferenceUpdated",
            "ProductManufacturerNameUpdated": "ProductManufacturerNameUpdated",
            "ProductManufacturerEmailUpdated": "ProductManufacturerEmailUpdated",
            "ProductAttributeLinkCreated": "ProductAttributeLinkCreated",
            "ProductAttributeLinkDeleted": "ProductAttributeLinkDeleted",
            "ProductCatalogLinkCreated": "ProductCatalogLinkCreated",
            "ProductCatalogLinkDeleted": "ProductCatalogLinkDeleted",
            "ProductCategoryLinkCreated": "ProductCategoryLinkCreated",
            "ProductCategoryLinkDeleted": "ProductCategoryLinkDeleted",
            "ProductLinkCreated": "ProductLinkCreated",
            "ProductLinkDeleted": "ProductLinkDeleted",
            "ProductPriceUpdated": "ProductPriceUpdated",
            "ContentPageCreated": "ContentPageCreated",
            "ContentPageDeleted": "ContentPageDeleted",
            "ContentPageExternalReferenceUpdated": "ContentPageExternalReferenceUpdated",
            "ContentPageUrlUpdated": "ContentPageUrlUpdated",
            "ContentPageDisplayNameUpdated": "ContentPageDisplayNameUpdated",
            "ContentPageBodyUpdated": "ContentPageBodyUpdated",
            "ContentPageDisplayOrderUpdated": "ContentPageDisplayOrderUpdated",
            "ContentPageLanguageUpdated": "ContentPageLanguageUpdated",
            "ContentPageGroupNameUpdated": "ContentPageGroupNameUpdated",
            "ContentPageShowInMenuUpdated": "ContentPageShowInMenuUpdated",
            "ContentPageShowInFooterUpdated": "ContentPageShowInFooterUpdated",
            "AtomicScriptCreated": "AtomicScriptCreated",
            "AtomicScriptDeleted": "AtomicScriptDeleted",
            "AtomicScriptExternalReferenceUpdated": "AtomicScriptExternalReferenceUpdated",
            "AtomicScriptTitleUpdated": "AtomicScriptTitleUpdated",
            "AtomicScriptAtomicNameUpdated": "AtomicScriptAtomicNameUpdated",
            "AtomicScriptAtomicScriptTypeUpdated": "AtomicScriptAtomicScriptTypeUpdated",
            "AtomicScriptScriptUpdated": "AtomicScriptScriptUpdated",
            "AtomicScriptEnabledUpdated": "AtomicScriptEnabledUpdated",
            "AtomicScriptContinueOnErrorUpdated": "AtomicScriptContinueOnErrorUpdated",
            "AtomicScriptTimeoutUpdated": "AtomicScriptTimeoutUpdated",
            "AtomicScriptOrderUpdated": "AtomicScriptOrderUpdated",
            "CommentExternalReferenceUpdated": "CommentExternalReferenceUpdated",
            "CommentBodyUpdated": "CommentBodyUpdated",
            "CommentBodyFormatUpdated": "CommentBodyFormatUpdated",
            "WebhookCreated": "WebhookCreated",
            "WebhookDeleted": "WebhookDeleted",
            "WebhookNameUpdated": "WebhookNameUpdated",
            "WebhookTopicNameUpdated": "WebhookTopicNameUpdated",
            "WebhookDeliveryEndpointUpdated": "WebhookDeliveryEndpointUpdated",
            "WebhookSkipSystemUpdated": "WebhookSkipSystemUpdated",
            "WebhookHeadersUpdated": "WebhookHeadersUpdated",
            "WebhookEnabledUpdated": "WebhookEnabledUpdated",
            "WorkspaceCreated": "WorkspaceCreated",
            "WorkspaceDeleted": "WorkspaceDeleted",
            "WorkspaceNameUpdated": "WorkspaceNameUpdated",
            "WorkspaceSettingsUpdated": "WorkspaceSettingsUpdated",
            "WorkspaceCommerceSettingsUpdated": "WorkspaceCommerceSettingsUpdated",
            "CommentCreated": "CommentCreated",
            "AccountCreated": "AccountCreated",
            "AccountDeleted": "AccountDeleted",
            "AccountExternalReferenceUpdated": "AccountExternalReferenceUpdated",
            "AccountDisplayNameUpdated": "AccountDisplayNameUpdated",
            "AccountDescriptionUpdated": "AccountDescriptionUpdated",
            "AccountNotesUpdated": "AccountNotesUpdated",
            "AccountAccountCodeUpdated": "AccountAccountCodeUpdated",
            "AccountAccountStatusUpdated": "AccountAccountStatusUpdated",
            "AccountAccountTypeUpdated": "AccountAccountTypeUpdated",
            "AccountOwnerUpdated": "AccountOwnerUpdated",
            "AccountVisitingAddressUpdated": "AccountVisitingAddressUpdated",
            "AccountBillingAddressUpdated": "AccountBillingAddressUpdated",
            "AccountShippingAddressUpdated": "AccountShippingAddressUpdated",
            "AccountOtherAddressesUpdated": "AccountOtherAddressesUpdated",
            "AccountSalesOrderProcessorUpdated": "AccountSalesOrderProcessorUpdated",
            "AccountEmailsUpdated": "AccountEmailsUpdated",
            "AccountPhoneNumbersUpdated": "AccountPhoneNumbersUpdated",
            "AccountLinksUpdated": "AccountLinksUpdated",
            "AccountIndustriesUpdated": "AccountIndustriesUpdated",
            "AccountEmployeesUpdated": "AccountEmployeesUpdated",
            "AccountVatNumberUpdated": "AccountVatNumberUpdated",
            "AccountChamberOfCommerceUpdated": "AccountChamberOfCommerceUpdated",
            "AccountChamberOfCommerceRubricationCodesUpdated": "AccountChamberOfCommerceRubricationCodesUpdated",
            "AccountVatValidationDateUpdated": "AccountVatValidationDateUpdated",
            "AccountProductCatalogUpdated": "AccountProductCatalogUpdated",
            "AccountTagsUpdated": "AccountTagsUpdated",
            "AccountLastContactMomentUpdated": "AccountLastContactMomentUpdated",
            "AccountAttributesUpdated": "AccountAttributesUpdated",
            "AccountCustomFieldsUpdated": "AccountCustomFieldsUpdated",
            "AccountCommerceSettingsUpdated": "AccountCommerceSettingsUpdated",
            "ContactCreated": "ContactCreated",
            "ContactDeleted": "ContactDeleted",
            "ContactExternalReferenceUpdated": "ContactExternalReferenceUpdated",
            "ContactFirstNameUpdated": "ContactFirstNameUpdated",
            "ContactLastNameUpdated": "ContactLastNameUpdated",
            "ContactMiddleNameUpdated": "ContactMiddleNameUpdated",
            "ContactDescriptionUpdated": "ContactDescriptionUpdated",
            "ContactDateOfBirthUpdated": "ContactDateOfBirthUpdated",
            "ContactGenderUpdated": "ContactGenderUpdated",
            "ContactTitleUpdated": "ContactTitleUpdated",
            "ContactJobTitleUpdated": "ContactJobTitleUpdated",
            "ContactNotesUpdated": "ContactNotesUpdated",
            "ContactOwnerUpdated": "ContactOwnerUpdated",
            "ContactClientLoginUpdated": "ContactClientLoginUpdated",
            "ContactInterestsAndHobbiesUpdated": "ContactInterestsAndHobbiesUpdated",
            "ContactAddressesUpdated": "ContactAddressesUpdated",
            "ContactEmailsUpdated": "ContactEmailsUpdated",
            "ContactPhoneNumbersUpdated": "ContactPhoneNumbersUpdated",
            "ContactLinksUpdated": "ContactLinksUpdated",
            "ContactLastContactMomentUpdated": "ContactLastContactMomentUpdated",
            "ContactDisplayOrderUpdated": "ContactDisplayOrderUpdated",
            "ContactSalesOrderProcessorUpdated": "ContactSalesOrderProcessorUpdated",
            "ContactCommerceSettingsUpdated": "ContactCommerceSettingsUpdated",
            "ContactAttributesUpdated": "ContactAttributesUpdated",
            "ContactCustomFieldsUpdated": "ContactCustomFieldsUpdated",
            "ContactTagsUpdated": "ContactTagsUpdated",
            "DealCreated": "DealCreated",
            "DealDeleted": "DealDeleted",
            "DealExternalReferenceUpdated": "DealExternalReferenceUpdated",
            "DealTitleUpdated": "DealTitleUpdated",
            "DealDescriptionUpdated": "DealDescriptionUpdated",
            "DealExpectedRevenueUpdated": "DealExpectedRevenueUpdated",
            "DealOwnerUpdated": "DealOwnerUpdated",
            "DealAccountUpdated": "DealAccountUpdated",
            "DealSuccessRateUpdated": "DealSuccessRateUpdated",
            "DealStartDateUpdated": "DealStartDateUpdated",
            "DealEndDateUpdated": "DealEndDateUpdated",
            "DealPipelineUpdated": "DealPipelineUpdated",
            "DealStatusUpdated": "DealStatusUpdated",
            "DealTagsUpdated": "DealTagsUpdated",
            "PipelineCreated": "PipelineCreated",
            "PipelineDeleted": "PipelineDeleted",
            "PipelineExternalReferenceUpdated": "PipelineExternalReferenceUpdated",
            "PipelineTitleUpdated": "PipelineTitleUpdated",
            "PipelineDescriptionUpdated": "PipelineDescriptionUpdated",
            "PipelineOptionsUpdated": "PipelineOptionsUpdated",
            "PipelineSummariesUpdated": "PipelineSummariesUpdated",
            "EntityConnectionCreated": "EntityConnectionCreated",
            "EntityConnectionDeleted": "EntityConnectionDeleted",
            "ClientLoginCreated": "ClientLoginCreated",
            "ClientLoginDeleted": "ClientLoginDeleted",
            "ClientLoginExternalReferenceUpdated": "ClientLoginExternalReferenceUpdated",
            "ClientLoginUsernameUpdated": "ClientLoginUsernameUpdated",
            "ClientLoginEmailUpdated": "ClientLoginEmailUpdated",
            "LocationCreated": "LocationCreated",
            "LocationDeleted": "LocationDeleted",
            "LocationExternalReferenceUpdated": "LocationExternalReferenceUpdated",
            "LocationEmailUpdated": "LocationEmailUpdated",
            "LocationNameUpdated": "LocationNameUpdated",
            "LocationDescriptionUpdated": "LocationDescriptionUpdated",
            "LocationPhoneNumberUpdated": "LocationPhoneNumberUpdated",
            "LocationImageUpdated": "LocationImageUpdated",
            "LocationDisplayOrderUpdated": "LocationDisplayOrderUpdated",
            "LocationAddressUpdated": "LocationAddressUpdated",
            "LocationIsWarehouseUpdated": "LocationIsWarehouseUpdated",
            "LocationIsPickupLocationUpdated": "LocationIsPickupLocationUpdated",
            "LocationIsStockLocationUpdated": "LocationIsStockLocationUpdated",
            "LocationOpeningTimesUpdated": "LocationOpeningTimesUpdated",
            "LocationCustomFieldsUpdated": "LocationCustomFieldsUpdated",
            "StockCreated": "StockCreated",
            "StockDeleted": "StockDeleted",
            "StockExternalReferenceUpdated": "StockExternalReferenceUpdated",
            "StockQuantityUpdated": "StockQuantityUpdated",
            "SalesOrderCreated": "SalesOrderCreated",
            "SalesOrderDeleted": "SalesOrderDeleted",
            "SalesOrderExternalReferenceUpdated": "SalesOrderExternalReferenceUpdated",
            "SalesOrderOrderedAtUpdated": "SalesOrderOrderedAtUpdated",
            "SalesOrderOrderingStatusUpdated": "SalesOrderOrderingStatusUpdated",
            "SalesOrderProcessingUpdated": "SalesOrderProcessingUpdated",
            "SalesOrderDescriptionUpdated": "SalesOrderDescriptionUpdated",
            "SalesOrderReferencesUpdated": "SalesOrderReferencesUpdated",
            "SalesOrderPaymentUpdated": "SalesOrderPaymentUpdated",
            "SalesOrderBillingUpdated": "SalesOrderBillingUpdated",
            "SalesOrderDeliveryMethodUpdated": "SalesOrderDeliveryMethodUpdated",
            "SalesOrderDeliveryUpdated": "SalesOrderDeliveryUpdated",
            "SalesOrderChannelUpdated": "SalesOrderChannelUpdated",
            "SalesOrderCustomFieldsUpdated": "SalesOrderCustomFieldsUpdated",
            "SalesOrderTagsUpdated": "SalesOrderTagsUpdated",
            "SalesOrderLineCreated": "SalesOrderLineCreated",
            "SalesOrderLineDeleted": "SalesOrderLineDeleted",
            "SalesOrderLineExternalReferenceUpdated": "SalesOrderLineExternalReferenceUpdated",
            "SalesOrderLineDeliveryUpdated": "SalesOrderLineDeliveryUpdated",
            "SalesOrderLineQuantityUpdated": "SalesOrderLineQuantityUpdated",
            "SalesOrderLineStatusUpdated": "SalesOrderLineStatusUpdated",
            "SalesOrderLineAttributesUpdated": "SalesOrderLineAttributesUpdated",
            "SalesOrderLineTotalsUpdated": "SalesOrderLineTotalsUpdated",
            "SalesOrderLineReferencesUpdated": "SalesOrderLineReferencesUpdated",
            "SalesOrderOrderingCompleted": "SalesOrderOrderingCompleted"
          }
        }
      },
      "ActivitySort": {
        "enum": [
          "Timestamp"
        ],
        "type": "string"
      },
      "ActivityTimelineMetric": {
        "required": [
          "count",
          "timestamp"
        ],
        "type": "object",
        "properties": {
          "timestamp": {
            "type": "string",
            "format": "date-time"
          },
          "count": {
            "type": "integer",
            "format": "int32"
          }
        },
        "additionalProperties": false
      },
      "ActivityUserReference": {
        "required": [
          "id",
          "name"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "name": {
            "type": "string"
          }
        },
        "additionalProperties": false
      },
      "AddProductsToCategoriesRequest": {
        "required": [
          "categoryIds",
          "productIds"
        ],
        "type": "object",
        "properties": {
          "productIds": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "categoryIds": {
            "type": "array",
            "items": {
              "type": "string"
            }
          }
        },
        "additionalProperties": false
      },
      "AddSupportedLanguageRequest": {
        "required": [
          "languageCode"
        ],
        "type": "object",
        "properties": {
          "languageCode": {
            "type": "string"
          }
        },
        "additionalProperties": false
      },
      "AddSupportedLanguageResponse": {
        "type": "object",
        "additionalProperties": false
      },
      "Address": {
        "type": "object",
        "properties": {
          "addressType": {
            "type": "string",
            "nullable": true
          },
          "street": {
            "type": "string",
            "nullable": true
          },
          "zipCode": {
            "type": "string",
            "nullable": true
          },
          "city": {
            "type": "string",
            "nullable": true
          },
          "country": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "AppRoute": {
        "required": [
          "path"
        ],
        "type": "object",
        "properties": {
          "path": {
            "type": "string"
          }
        },
        "additionalProperties": false
      },
      "AtomicScriptAtomicNameUpdated": {
        "required": [
          "entity",
          "id",
          "next",
          "previous",
          "timestamp",
          "type",
          "user",
          "workspace"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "timestamp": {
            "type": "string",
            "format": "date-time"
          },
          "entity": {
            "$ref": "#/components/schemas/BaseWorkspaceEntityEntityReference"
          },
          "type": {
            "type": "string"
          },
          "user": {
            "$ref": "#/components/schemas/ActivityUserReference"
          },
          "workspace": {
            "type": "string"
          },
          "previous": {
            "type": "string"
          },
          "next": {
            "type": "string"
          }
        },
        "additionalProperties": false
      },
      "AtomicScriptAtomicScriptTypeUpdated": {
        "required": [
          "entity",
          "id",
          "next",
          "previous",
          "timestamp",
          "type",
          "user",
          "workspace"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "timestamp": {
            "type": "string",
            "format": "date-time"
          },
          "entity": {
            "$ref": "#/components/schemas/BaseWorkspaceEntityEntityReference"
          },
          "type": {
            "type": "string"
          },
          "user": {
            "$ref": "#/components/schemas/ActivityUserReference"
          },
          "workspace": {
            "type": "string"
          },
          "previous": {
            "$ref": "#/components/schemas/AtomicScriptType"
          },
          "next": {
            "$ref": "#/components/schemas/AtomicScriptType"
          }
        },
        "additionalProperties": false
      },
      "AtomicScriptContinueOnErrorUpdated": {
        "required": [
          "entity",
          "id",
          "next",
          "previous",
          "timestamp",
          "type",
          "user",
          "workspace"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "timestamp": {
            "type": "string",
            "format": "date-time"
          },
          "entity": {
            "$ref": "#/components/schemas/BaseWorkspaceEntityEntityReference"
          },
          "type": {
            "type": "string"
          },
          "user": {
            "$ref": "#/components/schemas/ActivityUserReference"
          },
          "workspace": {
            "type": "string"
          },
          "previous": {
            "type": "boolean"
          },
          "next": {
            "type": "boolean"
          }
        },
        "additionalProperties": false
      },
      "AtomicScriptCreated": {
        "required": [
          "entity",
          "id",
          "timestamp",
          "type",
          "user",
          "workspace"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "timestamp": {
            "type": "string",
            "format": "date-time"
          },
          "entity": {
            "$ref": "#/components/schemas/BaseWorkspaceEntityEntityReference"
          },
          "type": {
            "type": "string"
          },
          "user": {
            "$ref": "#/components/schemas/ActivityUserReference"
          },
          "workspace": {
            "type": "string"
          }
        },
        "additionalProperties": false
      },
      "AtomicScriptDeleted": {
        "required": [
          "entity",
          "id",
          "timestamp",
          "type",
          "user",
          "workspace"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "timestamp": {
            "type": "string",
            "format": "date-time"
          },
          "entity": {
            "$ref": "#/components/schemas/BaseWorkspaceEntityEntityReference"
          },
          "type": {
            "type": "string"
          },
          "user": {
            "$ref": "#/components/schemas/ActivityUserReference"
          },
          "workspace": {
            "type": "string"
          }
        },
        "additionalProperties": false
      },
      "AtomicScriptEnabledUpdated": {
        "required": [
          "entity",
          "id",
          "next",
          "previous",
          "timestamp",
          "type",
          "user",
          "workspace"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "timestamp": {
            "type": "string",
            "format": "date-time"
          },
          "entity": {
            "$ref": "#/components/schemas/BaseWorkspaceEntityEntityReference"
          },
          "type": {
            "type": "string"
          },
          "user": {
            "$ref": "#/components/schemas/ActivityUserReference"
          },
          "workspace": {
            "type": "string"
          },
          "previous": {
            "type": "boolean"
          },
          "next": {
            "type": "boolean"
          }
        },
        "additionalProperties": false
      },
      "AtomicScriptExternalReferenceUpdated": {
        "required": [
          "entity",
          "id",
          "next",
          "previous",
          "timestamp",
          "type",
          "user",
          "workspace"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "timestamp": {
            "type": "string",
            "format": "date-time"
          },
          "entity": {
            "$ref": "#/components/schemas/BaseWorkspaceEntityEntityReference"
          },
          "type": {
            "type": "string"
          },
          "user": {
            "$ref": "#/components/schemas/ActivityUserReference"
          },
          "workspace": {
            "type": "string"
          },
          "previous": {
            "type": "string",
            "nullable": true
          },
          "next": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "AtomicScriptOrderUpdated": {
        "required": [
          "entity",
          "id",
          "next",
          "previous",
          "timestamp",
          "type",
          "user",
          "workspace"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "timestamp": {
            "type": "string",
            "format": "date-time"
          },
          "entity": {
            "$ref": "#/components/schemas/BaseWorkspaceEntityEntityReference"
          },
          "type": {
            "type": "string"
          },
          "user": {
            "$ref": "#/components/schemas/ActivityUserReference"
          },
          "workspace": {
            "type": "string"
          },
          "previous": {
            "type": "integer",
            "format": "int32"
          },
          "next": {
            "type": "integer",
            "format": "int32"
          }
        },
        "additionalProperties": false
      },
      "AtomicScriptScriptUpdated": {
        "required": [
          "entity",
          "id",
          "next",
          "previous",
          "timestamp",
          "type",
          "user",
          "workspace"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "timestamp": {
            "type": "string",
            "format": "date-time"
          },
          "entity": {
            "$ref": "#/components/schemas/BaseWorkspaceEntityEntityReference"
          },
          "type": {
            "type": "string"
          },
          "user": {
            "$ref": "#/components/schemas/ActivityUserReference"
          },
          "workspace": {
            "type": "string"
          },
          "previous": {
            "type": "string"
          },
          "next": {
            "type": "string"
          }
        },
        "additionalProperties": false
      },
      "AtomicScriptSorting": {
        "enum": [
          "Title"
        ],
        "type": "string"
      },
      "AtomicScriptTimeoutUpdated": {
        "required": [
          "entity",
          "id",
          "next",
          "previous",
          "timestamp",
          "type",
          "user",
          "workspace"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "timestamp": {
            "type": "string",
            "format": "date-time"
          },
          "entity": {
            "$ref": "#/components/schemas/BaseWorkspaceEntityEntityReference"
          },
          "type": {
            "type": "string"
          },
          "user": {
            "$ref": "#/components/schemas/ActivityUserReference"
          },
          "workspace": {
            "type": "string"
          },
          "previous": {
            "type": "integer",
            "format": "int32"
          },
          "next": {
            "type": "integer",
            "format": "int32"
          }
        },
        "additionalProperties": false
      },
      "AtomicScriptTitleUpdated": {
        "required": [
          "entity",
          "id",
          "next",
          "previous",
          "timestamp",
          "type",
          "user",
          "workspace"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "timestamp": {
            "type": "string",
            "format": "date-time"
          },
          "entity": {
            "$ref": "#/components/schemas/BaseWorkspaceEntityEntityReference"
          },
          "type": {
            "type": "string"
          },
          "user": {
            "$ref": "#/components/schemas/ActivityUserReference"
          },
          "workspace": {
            "type": "string"
          },
          "previous": {
            "type": "string"
          },
          "next": {
            "type": "string"
          }
        },
        "additionalProperties": false
      },
      "AtomicScriptType": {
        "enum": [
          "BeforeAtomic",
          "AfterAtomic"
        ],
        "type": "string"
      },
      "AtomicType": {
        "enum": [
          "Read",
          "Write"
        ],
        "type": "string"
      },
      "AttachmentEntityType": {
        "enum": [
          "Account",
          "Contact"
        ],
        "type": "string"
      },
      "AuthSettings": {
        "required": [
          "organizationId"
        ],
        "type": "object",
        "properties": {
          "organizationId": {
            "type": "string"
          }
        },
        "additionalProperties": false
      },
      "BaseWorkspaceEntityEntityReference": {
        "required": [
          "id",
          "name",
          "type"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "type": {
            "$ref": "#/components/schemas/BaseWorkspaceEntityEntityReferenceType"
          }
        },
        "additionalProperties": false
      },
      "BaseWorkspaceEntityEntityReferenceType": {
        "enum": [
          "Account",
          "AtomicScript",
          "BaseDisplayContent",
          "BaseProduct",
          "BaseWorkspaceEntity",
          "Brand",
          "ClientLogin",
          "Comment",
          "Contact",
          "ContentPage",
          "Currency",
          "Deal",
          "FavouriteProduct",
          "Location",
          "Pipeline",
          "Product",
          "ProductAttribute",
          "ProductCatalog",
          "ProductCategory",
          "ProductCategoryDisplayContent",
          "ProductDisplayContent",
          "ProductManufacturer",
          "SalesOrder",
          "SalesOrderLine",
          "Stock",
          "VatCode"
        ],
        "type": "string"
      },
      "BrandCreated": {
        "required": [
          "entity",
          "id",
          "timestamp",
          "type",
          "user",
          "workspace"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "timestamp": {
            "type": "string",
            "format": "date-time"
          },
          "entity": {
            "$ref": "#/components/schemas/BaseWorkspaceEntityEntityReference"
          },
          "type": {
            "type": "string"
          },
          "user": {
            "$ref": "#/components/schemas/ActivityUserReference"
          },
          "workspace": {
            "type": "string"
          }
        },
        "additionalProperties": false
      },
      "BrandDeleted": {
        "required": [
          "entity",
          "id",
          "timestamp",
          "type",
          "user",
          "workspace"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "timestamp": {
            "type": "string",
            "format": "date-time"
          },
          "entity": {
            "$ref": "#/components/schemas/BaseWorkspaceEntityEntityReference"
          },
          "type": {
            "type": "string"
          },
          "user": {
            "$ref": "#/components/schemas/ActivityUserReference"
          },
          "workspace": {
            "type": "string"
          }
        },
        "additionalProperties": false
      },
      "BrandEntityReference": {
        "required": [
          "id",
          "name",
          "type"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "type": {
            "$ref": "#/components/schemas/BrandEntityReferenceType"
          }
        },
        "additionalProperties": false
      },
      "BrandEntityReferenceType": {
        "enum": [
          "Brand"
        ],
        "type": "string"
      },
      "BrandExternalReferenceUpdated": {
        "required": [
          "entity",
          "id",
          "next",
          "previous",
          "timestamp",
          "type",
          "user",
          "workspace"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "timestamp": {
            "type": "string",
            "format": "date-time"
          },
          "entity": {
            "$ref": "#/components/schemas/BaseWorkspaceEntityEntityReference"
          },
          "type": {
            "type": "string"
          },
          "user": {
            "$ref": "#/components/schemas/ActivityUserReference"
          },
          "workspace": {
            "type": "string"
          },
          "previous": {
            "type": "string",
            "nullable": true
          },
          "next": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "BrandImageUrlUpdated": {
        "required": [
          "entity",
          "id",
          "next",
          "previous",
          "timestamp",
          "type",
          "user",
          "workspace"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "timestamp": {
            "type": "string",
            "format": "date-time"
          },
          "entity": {
            "$ref": "#/components/schemas/BaseWorkspaceEntityEntityReference"
          },
          "type": {
            "type": "string"
          },
          "user": {
            "$ref": "#/components/schemas/ActivityUserReference"
          },
          "workspace": {
            "type": "string"
          },
          "previous": {
            "type": "string",
            "nullable": true
          },
          "next": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "BrandNameUpdated": {
        "required": [
          "entity",
          "id",
          "next",
          "previous",
          "timestamp",
          "type",
          "user",
          "workspace"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "timestamp": {
            "type": "string",
            "format": "date-time"
          },
          "entity": {
            "$ref": "#/components/schemas/BaseWorkspaceEntityEntityReference"
          },
          "type": {
            "type": "string"
          },
          "user": {
            "$ref": "#/components/schemas/ActivityUserReference"
          },
          "workspace": {
            "type": "string"
          },
          "previous": {
            "type": "string"
          },
          "next": {
            "type": "string"
          }
        },
        "additionalProperties": false
      },
      "BrandSorting": {
        "enum": [
          "Name"
        ],
        "type": "string"
      },
      "BrandVisibilitySettings": {
        "required": [
          "showOnHome"
        ],
        "type": "object",
        "properties": {
          "showOnHome": {
            "type": "boolean"
          }
        },
        "additionalProperties": false
      },
      "BrandVisibilitySettingsUpdated": {
        "required": [
          "entity",
          "id",
          "next",
          "previous",
          "timestamp",
          "type",
          "user",
          "workspace"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "timestamp": {
            "type": "string",
            "format": "date-time"
          },
          "entity": {
            "$ref": "#/components/schemas/BaseWorkspaceEntityEntityReference"
          },
          "type": {
            "type": "string"
          },
          "user": {
            "$ref": "#/components/schemas/ActivityUserReference"
          },
          "workspace": {
            "type": "string"
          },
          "previous": {
            "$ref": "#/components/schemas/BrandVisibilitySettings"
          },
          "next": {
            "$ref": "#/components/schemas/BrandVisibilitySettings"
          }
        },
        "additionalProperties": false
      },
      "CalculateTotalPriceForProductsResponse": {
        "type": "object",
        "properties": {
          "totals": {
            "$ref": "#/components/schemas/PriceTotals"
          }
        },
        "additionalProperties": false
      },
      "CartLine": {
        "required": [
          "attributes",
          "productId",
          "quantity"
        ],
        "type": "object",
        "properties": {
          "productId": {
            "type": "string"
          },
          "quantity": {
            "type": "number",
            "format": "double"
          },
          "attributes": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CustomField"
            }
          }
        },
        "additionalProperties": false
      },
      "ClientCatalogProfile": {
        "required": [
          "recentlyViewed",
          "recentSearches"
        ],
        "type": "object",
        "properties": {
          "recentSearches": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "recentlyViewed": {
            "type": "array",
            "items": {
              "type": "string"
            }
          }
        },
        "additionalProperties": false
      },
      "ClientLoginCreated": {
        "required": [
          "entity",
          "id",
          "timestamp",
          "type",
          "user",
          "workspace"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "timestamp": {
            "type": "string",
            "format": "date-time"
          },
          "entity": {
            "$ref": "#/components/schemas/BaseWorkspaceEntityEntityReference"
          },
          "type": {
            "type": "string"
          },
          "user": {
            "$ref": "#/components/schemas/ActivityUserReference"
          },
          "workspace": {
            "type": "string"
          }
        },
        "additionalProperties": false
      },
      "ClientLoginDeleted": {
        "required": [
          "entity",
          "id",
          "timestamp",
          "type",
          "user",
          "workspace"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "timestamp": {
            "type": "string",
            "format": "date-time"
          },
          "entity": {
            "$ref": "#/components/schemas/BaseWorkspaceEntityEntityReference"
          },
          "type": {
            "type": "string"
          },
          "user": {
            "$ref": "#/components/schemas/ActivityUserReference"
          },
          "workspace": {
            "type": "string"
          }
        },
        "additionalProperties": false
      },
      "ClientLoginEmailUpdated": {
        "required": [
          "entity",
          "id",
          "next",
          "previous",
          "timestamp",
          "type",
          "user",
          "workspace"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "timestamp": {
            "type": "string",
            "format": "date-time"
          },
          "entity": {
            "$ref": "#/components/schemas/BaseWorkspaceEntityEntityReference"
          },
          "type": {
            "type": "string"
          },
          "user": {
            "$ref": "#/components/schemas/ActivityUserReference"
          },
          "workspace": {
            "type": "string"
          },
          "previous": {
            "type": "string"
          },
          "next": {
            "type": "string"
          }
        },
        "additionalProperties": false
      },
      "ClientLoginEntityReference": {
        "required": [
          "id",
          "name",
          "type"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "type": {
            "$ref": "#/components/schemas/ClientLoginEntityReferenceType"
          }
        },
        "additionalProperties": false
      },
      "ClientLoginEntityReferenceType": {
        "enum": [
          "ClientLogin"
        ],
        "type": "string"
      },
      "ClientLoginExternalReferenceUpdated": {
        "required": [
          "entity",
          "id",
          "next",
          "previous",
          "timestamp",
          "type",
          "user",
          "workspace"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "timestamp": {
            "type": "string",
            "format": "date-time"
          },
          "entity": {
            "$ref": "#/components/schemas/BaseWorkspaceEntityEntityReference"
          },
          "type": {
            "type": "string"
          },
          "user": {
            "$ref": "#/components/schemas/ActivityUserReference"
          },
          "workspace": {
            "type": "string"
          },
          "previous": {
            "type": "string",
            "nullable": true
          },
          "next": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "ClientLoginSorting": {
        "enum": [
          "Email"
        ],
        "type": "string"
      },
      "ClientLoginUsernameUpdated": {
        "required": [
          "entity",
          "id",
          "next",
          "previous",
          "timestamp",
          "type",
          "user",
          "workspace"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "timestamp": {
            "type": "string",
            "format": "date-time"
          },
          "entity": {
            "$ref": "#/components/schemas/BaseWorkspaceEntityEntityReference"
          },
          "type": {
            "type": "string"
          },
          "user": {
            "$ref": "#/components/schemas/ActivityUserReference"
          },
          "workspace": {
            "type": "string"
          },
          "previous": {
            "type": "string"
          },
          "next": {
            "type": "string"
          }
        },
        "additionalProperties": false
      },
      "ClientOrderingProfile": {
        "required": [
          "shoppingCart"
        ],
        "type": "object",
        "properties": {
          "shoppingCart": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CartLine"
            }
          }
        },
        "additionalProperties": false
      },
      "ClientProfile": {
        "required": [
          "catalog",
          "ordering"
        ],
        "type": "object",
        "properties": {
          "cloudMessagingToken": {
            "type": "string",
            "nullable": true
          },
          "catalog": {
            "$ref": "#/components/schemas/ClientCatalogProfile"
          },
          "ordering": {
            "$ref": "#/components/schemas/ClientOrderingProfile"
          },
          "preferredLanguage": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "CommentBodyFormat": {
        "enum": [
          "Text",
          "Json",
          "Markdown"
        ],
        "type": "string"
      },
      "CommentBodyFormatUpdated": {
        "required": [
          "entity",
          "id",
          "next",
          "previous",
          "timestamp",
          "type",
          "user",
          "workspace"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "timestamp": {
            "type": "string",
            "format": "date-time"
          },
          "entity": {
            "$ref": "#/components/schemas/BaseWorkspaceEntityEntityReference"
          },
          "type": {
            "type": "string"
          },
          "user": {
            "$ref": "#/components/schemas/ActivityUserReference"
          },
          "workspace": {
            "type": "string"
          },
          "previous": {
            "$ref": "#/components/schemas/CommentBodyFormat"
          },
          "next": {
            "$ref": "#/components/schemas/CommentBodyFormat"
          }
        },
        "additionalProperties": false
      },
      "CommentBodyUpdated": {
        "required": [
          "entity",
          "id",
          "next",
          "previous",
          "timestamp",
          "type",
          "user",
          "workspace"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "timestamp": {
            "type": "string",
            "format": "date-time"
          },
          "entity": {
            "$ref": "#/components/schemas/BaseWorkspaceEntityEntityReference"
          },
          "type": {
            "type": "string"
          },
          "user": {
            "$ref": "#/components/schemas/ActivityUserReference"
          },
          "workspace": {
            "type": "string"
          },
          "previous": {
            "type": "string"
          },
          "next": {
            "type": "string"
          }
        },
        "additionalProperties": false
      },
      "CommentCreated": {
        "required": [
          "body",
          "bodyFormat",
          "entity",
          "id",
          "timestamp",
          "type",
          "user",
          "workspace"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "timestamp": {
            "type": "string",
            "format": "date-time"
          },
          "entity": {
            "$ref": "#/components/schemas/BaseWorkspaceEntityEntityReference"
          },
          "type": {
            "type": "string"
          },
          "user": {
            "$ref": "#/components/schemas/ActivityUserReference"
          },
          "workspace": {
            "type": "string"
          },
          "body": {
            "type": "string"
          },
          "bodyFormat": {
            "$ref": "#/components/schemas/CommentBodyFormat"
          }
        },
        "additionalProperties": false
      },
      "CommentExternalReferenceUpdated": {
        "required": [
          "entity",
          "id",
          "next",
          "previous",
          "timestamp",
          "type",
          "user",
          "workspace"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "timestamp": {
            "type": "string",
            "format": "date-time"
          },
          "entity": {
            "$ref": "#/components/schemas/BaseWorkspaceEntityEntityReference"
          },
          "type": {
            "type": "string"
          },
          "user": {
            "$ref": "#/components/schemas/ActivityUserReference"
          },
          "workspace": {
            "type": "string"
          },
          "previous": {
            "type": "string",
            "nullable": true
          },
          "next": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "CommentSorting": {
        "enum": [
          "CreatedAt"
        ],
        "type": "string"
      },
      "CommerceAccountPageSettings": {
        "required": [
          "showExternalReference"
        ],
        "type": "object",
        "properties": {
          "showExternalReference": {
            "type": "boolean"
          }
        },
        "additionalProperties": false
      },
      "CommerceAppHomeHeaderType": {
        "enum": [
          "CompanyName",
          "CompanyLogo",
          "CompanyLogoInverted",
          "CompanyIcon",
          "CompanyIconInverted"
        ],
        "type": "string"
      },
      "CommerceAppHomeSettings": {
        "required": [
          "headerType",
          "showUspBar"
        ],
        "type": "object",
        "properties": {
          "headerType": {
            "$ref": "#/components/schemas/CommerceAppHomeHeaderType"
          },
          "showUspBar": {
            "type": "boolean"
          }
        },
        "additionalProperties": false
      },
      "CommerceAppPlatform": {
        "enum": [
          "Ipad",
          "Iphone",
          "Ios",
          "Android",
          "Phablet",
          "Tablet",
          "Cordova",
          "Capacitor",
          "Electron",
          "Pwa",
          "Mobile",
          "Mobileweb",
          "Desktop",
          "Hybrid"
        ],
        "type": "string"
      },
      "CommerceAppSettings": {
        "required": [
          "allowInBrowserOnPlatforms",
          "appDescription",
          "appName",
          "appShortName",
          "fontStylesheets",
          "home",
          "themeColor",
          "themeCssVariables",
          "translations"
        ],
        "type": "object",
        "properties": {
          "appName": {
            "type": "string"
          },
          "appShortName": {
            "type": "string"
          },
          "appDescription": {
            "type": "string"
          },
          "themeColor": {
            "type": "string"
          },
          "themeCssVariables": {
            "type": "string"
          },
          "translations": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/TranslationOverrides"
            }
          },
          "fontStylesheets": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/FontStylesheet"
            }
          },
          "home": {
            "$ref": "#/components/schemas/CommerceAppHomeSettings"
          },
          "allowInBrowserOnPlatforms": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CommerceAppPlatform"
            }
          }
        },
        "additionalProperties": false
      },
      "CommerceCartSettings": {
        "required": [
          "showDeliveryCost",
          "showPrices",
          "showUspBar"
        ],
        "type": "object",
        "properties": {
          "showDeliveryCost": {
            "type": "boolean"
          },
          "showPrices": {
            "type": "boolean"
          },
          "showUspBar": {
            "type": "boolean"
          }
        },
        "additionalProperties": false
      },
      "CommerceCategorySettings": {
        "required": [
          "defaultImage",
          "sorting",
          "thumbnailFit"
        ],
        "type": "object",
        "properties": {
          "defaultImage": {
            "type": "string"
          },
          "thumbnailFit": {
            "$ref": "#/components/schemas/ImageFit"
          },
          "sorting": {
            "$ref": "#/components/schemas/SortSettings"
          }
        },
        "additionalProperties": false
      },
      "CommerceCheckoutDataStepSettings": {
        "type": "object",
        "properties": {
          "destinationReference": {
            "$ref": "#/components/schemas/CommerceCheckoutField"
          },
          "customerReference": {
            "$ref": "#/components/schemas/CommerceCheckoutField"
          },
          "projectReference": {
            "$ref": "#/components/schemas/CommerceCheckoutField"
          },
          "comments": {
            "$ref": "#/components/schemas/CommerceCheckoutField"
          }
        },
        "additionalProperties": false
      },
      "CommerceCheckoutDeliveryStepSettings": {
        "required": [
          "showDeliveryLabel",
          "standardDeliveryAddressEnabled"
        ],
        "type": "object",
        "properties": {
          "deliveryInstructions": {
            "$ref": "#/components/schemas/CommerceCheckoutField"
          },
          "standardDeliveryAddressEnabled": {
            "type": "boolean"
          },
          "showDeliveryLabel": {
            "type": "boolean"
          }
        },
        "additionalProperties": false
      },
      "CommerceCheckoutField": {
        "required": [
          "displayName",
          "mandatory",
          "maxLength"
        ],
        "type": "object",
        "properties": {
          "displayName": {
            "type": "string"
          },
          "mandatory": {
            "type": "boolean"
          },
          "maxLength": {
            "type": "integer",
            "format": "int32"
          }
        },
        "additionalProperties": false
      },
      "CommerceCheckoutOverviewSettings": {
        "type": "object",
        "properties": {
          "termsAndConditionsUrl": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "CommerceCheckoutPaymentStepSettings": {
        "required": [
          "showInvoiceLabel"
        ],
        "type": "object",
        "properties": {
          "showInvoiceLabel": {
            "type": "boolean"
          }
        },
        "additionalProperties": false
      },
      "CommerceCheckoutSettings": {
        "required": [
          "saveCustomAddress",
          "showDeliveryCost",
          "showPrices",
          "steps"
        ],
        "type": "object",
        "properties": {
          "showDeliveryCost": {
            "type": "boolean"
          },
          "showPrices": {
            "type": "boolean"
          },
          "saveCustomAddress": {
            "type": "boolean"
          },
          "steps": {
            "$ref": "#/components/schemas/CommerceCheckoutStepsSettings"
          }
        },
        "additionalProperties": false
      },
      "CommerceCheckoutStepsSettings": {
        "required": [
          "data",
          "delivery",
          "overview",
          "payment"
        ],
        "type": "object",
        "properties": {
          "data": {
            "$ref": "#/components/schemas/CommerceCheckoutDataStepSettings"
          },
          "delivery": {
            "$ref": "#/components/schemas/CommerceCheckoutDeliveryStepSettings"
          },
          "payment": {
            "$ref": "#/components/schemas/CommerceCheckoutPaymentStepSettings"
          },
          "overview": {
            "$ref": "#/components/schemas/CommerceCheckoutOverviewSettings"
          }
        },
        "additionalProperties": false
      },
      "CommerceCompanySettings": {
        "required": [
          "fullLogo",
          "iconOnlyLogo",
          "name"
        ],
        "type": "object",
        "properties": {
          "name": {
            "type": "string"
          },
          "fullLogo": {
            "$ref": "#/components/schemas/CommerceLogo"
          },
          "iconOnlyLogo": {
            "$ref": "#/components/schemas/CommerceLogo"
          }
        },
        "additionalProperties": false
      },
      "CommerceLogo": {
        "required": [
          "url"
        ],
        "type": "object",
        "properties": {
          "url": {
            "type": "string"
          },
          "invertedUrl": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "CommerceOrderHistorySettings": {
        "required": [
          "allowRequestBackorderDeletion",
          "showDeliveryCost",
          "showOrderedAtChannel",
          "showOrderStatus",
          "showPrices",
          "showTotalsPerSalesOrderLine"
        ],
        "type": "object",
        "properties": {
          "showPrices": {
            "type": "boolean"
          },
          "showOrderedAtChannel": {
            "type": "boolean"
          },
          "showOrderStatus": {
            "type": "boolean"
          },
          "allowRequestBackorderDeletion": {
            "type": "boolean"
          },
          "showTotalsPerSalesOrderLine": {
            "type": "boolean"
          },
          "showDeliveryCost": {
            "type": "boolean"
          }
        },
        "additionalProperties": false
      },
      "CommercePrice": {
        "required": [
          "enabled",
          "vatType"
        ],
        "type": "object",
        "properties": {
          "enabled": {
            "type": "boolean"
          },
          "vatType": {
            "$ref": "#/components/schemas/PriceVatType"
          }
        },
        "additionalProperties": false
      },
      "CommercePriceSettings": {
        "required": [
          "customerPrice",
          "salesPrice",
          "suggestedRetailPrice"
        ],
        "type": "object",
        "properties": {
          "salesPrice": {
            "$ref": "#/components/schemas/CommercePrice"
          },
          "suggestedRetailPrice": {
            "$ref": "#/components/schemas/CommercePrice"
          },
          "customerPrice": {
            "$ref": "#/components/schemas/CommercePrice"
          }
        },
        "additionalProperties": false
      },
      "CommerceProductPageSettings": {
        "required": [
          "showConfiguredProductName",
          "showGtin",
          "showSku"
        ],
        "type": "object",
        "properties": {
          "showGtin": {
            "type": "boolean"
          },
          "showSku": {
            "type": "boolean"
          },
          "showConfiguredProductName": {
            "type": "boolean"
          }
        },
        "additionalProperties": false
      },
      "CommerceProductSettings": {
        "required": [
          "defaultImage",
          "showPrices",
          "sorting",
          "thumbnailFit"
        ],
        "type": "object",
        "properties": {
          "showPrices": {
            "type": "boolean"
          },
          "defaultImage": {
            "type": "string"
          },
          "thumbnailFit": {
            "$ref": "#/components/schemas/ImageFit"
          },
          "sorting": {
            "$ref": "#/components/schemas/SortSettings"
          }
        },
        "additionalProperties": false
      },
      "CommerceSettings": {
        "required": [
          "accountPage",
          "authSettings",
          "cart",
          "categorySettings",
          "checkout",
          "company",
          "csp",
          "orderHistory",
          "priceSettings",
          "productPage",
          "productSettings",
          "publicAccessAllowed",
          "publicShowPrices",
          "showVatToggle",
          "socialLinks",
          "urls",
          "userRegistrationAllowed"
        ],
        "type": "object",
        "properties": {
          "company": {
            "$ref": "#/components/schemas/CommerceCompanySettings"
          },
          "productSettings": {
            "$ref": "#/components/schemas/CommerceProductSettings"
          },
          "categorySettings": {
            "$ref": "#/components/schemas/CommerceCategorySettings"
          },
          "urls": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "authSettings": {
            "$ref": "#/components/schemas/AuthSettings"
          },
          "webSettings": {
            "$ref": "#/components/schemas/CommerceWebSettings"
          },
          "app": {
            "$ref": "#/components/schemas/CommerceAppSettings"
          },
          "csp": {
            "type": "object",
            "additionalProperties": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          },
          "publicAccessAllowed": {
            "type": "boolean"
          },
          "publicShowPrices": {
            "type": "boolean"
          },
          "userRegistrationAllowed": {
            "type": "boolean"
          },
          "showVatToggle": {
            "type": "boolean"
          },
          "socialLinks": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/SocialLink"
            }
          },
          "stockSettings": {
            "$ref": "#/components/schemas/StockSettings"
          },
          "priceSettings": {
            "$ref": "#/components/schemas/CommercePriceSettings"
          },
          "checkout": {
            "$ref": "#/components/schemas/CommerceCheckoutSettings"
          },
          "cart": {
            "$ref": "#/components/schemas/CommerceCartSettings"
          },
          "orderHistory": {
            "$ref": "#/components/schemas/CommerceOrderHistorySettings"
          },
          "productPage": {
            "$ref": "#/components/schemas/CommerceProductPageSettings"
          },
          "accountPage": {
            "$ref": "#/components/schemas/CommerceAccountPageSettings"
          }
        },
        "additionalProperties": false
      },
      "CommerceWebSettings": {
        "required": [
          "fontStylesheets",
          "horizontalNavigationLimit",
          "limitHorizontalNavigationItems",
          "showHorizontalNavigation",
          "showUspBar",
          "themeCssVariables",
          "translations"
        ],
        "type": "object",
        "properties": {
          "themeCssVariables": {
            "type": "string"
          },
          "translations": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/TranslationOverrides"
            }
          },
          "fontStylesheets": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/FontStylesheet"
            }
          },
          "showUspBar": {
            "type": "boolean"
          },
          "showHorizontalNavigation": {
            "type": "boolean"
          },
          "limitHorizontalNavigationItems": {
            "type": "boolean"
          },
          "horizontalNavigationLimit": {
            "type": "integer",
            "format": "int32"
          }
        },
        "additionalProperties": false
      },
      "ContactAddressesUpdated": {
        "required": [
          "entity",
          "id",
          "next",
          "previous",
          "timestamp",
          "type",
          "user",
          "workspace"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "timestamp": {
            "type": "string",
            "format": "date-time"
          },
          "entity": {
            "$ref": "#/components/schemas/BaseWorkspaceEntityEntityReference"
          },
          "type": {
            "type": "string"
          },
          "user": {
            "$ref": "#/components/schemas/ActivityUserReference"
          },
          "workspace": {
            "type": "string"
          },
          "previous": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Address"
            }
          },
          "next": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Address"
            }
          }
        },
        "additionalProperties": false
      },
      "ContactAttributesUpdated": {
        "required": [
          "entity",
          "id",
          "next",
          "previous",
          "timestamp",
          "type",
          "user",
          "workspace"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "timestamp": {
            "type": "string",
            "format": "date-time"
          },
          "entity": {
            "$ref": "#/components/schemas/BaseWorkspaceEntityEntityReference"
          },
          "type": {
            "type": "string"
          },
          "user": {
            "$ref": "#/components/schemas/ActivityUserReference"
          },
          "workspace": {
            "type": "string"
          },
          "previous": {
            "type": "object",
            "additionalProperties": {
              "type": "string"
            },
            "nullable": true
          },
          "next": {
            "type": "object",
            "additionalProperties": {
              "type": "string"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "ContactClientLoginUpdated": {
        "required": [
          "entity",
          "id",
          "next",
          "previous",
          "timestamp",
          "type",
          "user",
          "workspace"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "timestamp": {
            "type": "string",
            "format": "date-time"
          },
          "entity": {
            "$ref": "#/components/schemas/BaseWorkspaceEntityEntityReference"
          },
          "type": {
            "type": "string"
          },
          "user": {
            "$ref": "#/components/schemas/ActivityUserReference"
          },
          "workspace": {
            "type": "string"
          },
          "previous": {
            "$ref": "#/components/schemas/ClientLoginEntityReference"
          },
          "next": {
            "$ref": "#/components/schemas/ClientLoginEntityReference"
          }
        },
        "additionalProperties": false
      },
      "ContactCommerceSettings": {
        "type": "object",
        "properties": {
          "priceSettings": {
            "$ref": "#/components/schemas/PriceSettings"
          }
        },
        "additionalProperties": false
      },
      "ContactCommerceSettingsUpdated": {
        "required": [
          "entity",
          "id",
          "next",
          "previous",
          "timestamp",
          "type",
          "user",
          "workspace"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "timestamp": {
            "type": "string",
            "format": "date-time"
          },
          "entity": {
            "$ref": "#/components/schemas/BaseWorkspaceEntityEntityReference"
          },
          "type": {
            "type": "string"
          },
          "user": {
            "$ref": "#/components/schemas/ActivityUserReference"
          },
          "workspace": {
            "type": "string"
          },
          "previous": {
            "$ref": "#/components/schemas/ContactCommerceSettings"
          },
          "next": {
            "$ref": "#/components/schemas/ContactCommerceSettings"
          }
        },
        "additionalProperties": false
      },
      "ContactCreated": {
        "required": [
          "entity",
          "id",
          "timestamp",
          "type",
          "user",
          "workspace"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "timestamp": {
            "type": "string",
            "format": "date-time"
          },
          "entity": {
            "$ref": "#/components/schemas/BaseWorkspaceEntityEntityReference"
          },
          "type": {
            "type": "string"
          },
          "user": {
            "$ref": "#/components/schemas/ActivityUserReference"
          },
          "workspace": {
            "type": "string"
          }
        },
        "additionalProperties": false
      },
      "ContactCustomFieldsUpdated": {
        "required": [
          "entity",
          "id",
          "next",
          "previous",
          "timestamp",
          "type",
          "user",
          "workspace"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "timestamp": {
            "type": "string",
            "format": "date-time"
          },
          "entity": {
            "$ref": "#/components/schemas/BaseWorkspaceEntityEntityReference"
          },
          "type": {
            "type": "string"
          },
          "user": {
            "$ref": "#/components/schemas/ActivityUserReference"
          },
          "workspace": {
            "type": "string"
          },
          "previous": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CustomField"
            }
          },
          "next": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CustomField"
            }
          }
        },
        "additionalProperties": false
      },
      "ContactDateOfBirthUpdated": {
        "required": [
          "entity",
          "id",
          "next",
          "previous",
          "timestamp",
          "type",
          "user",
          "workspace"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "timestamp": {
            "type": "string",
            "format": "date-time"
          },
          "entity": {
            "$ref": "#/components/schemas/BaseWorkspaceEntityEntityReference"
          },
          "type": {
            "type": "string"
          },
          "user": {
            "$ref": "#/components/schemas/ActivityUserReference"
          },
          "workspace": {
            "type": "string"
          },
          "previous": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "next": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "ContactDeleted": {
        "required": [
          "entity",
          "id",
          "timestamp",
          "type",
          "user",
          "workspace"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "timestamp": {
            "type": "string",
            "format": "date-time"
          },
          "entity": {
            "$ref": "#/components/schemas/BaseWorkspaceEntityEntityReference"
          },
          "type": {
            "type": "string"
          },
          "user": {
            "$ref": "#/components/schemas/ActivityUserReference"
          },
          "workspace": {
            "type": "string"
          }
        },
        "additionalProperties": false
      },
      "ContactDescriptionUpdated": {
        "required": [
          "entity",
          "id",
          "next",
          "previous",
          "timestamp",
          "type",
          "user",
          "workspace"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "timestamp": {
            "type": "string",
            "format": "date-time"
          },
          "entity": {
            "$ref": "#/components/schemas/BaseWorkspaceEntityEntityReference"
          },
          "type": {
            "type": "string"
          },
          "user": {
            "$ref": "#/components/schemas/ActivityUserReference"
          },
          "workspace": {
            "type": "string"
          },
          "previous": {
            "type": "string",
            "nullable": true
          },
          "next": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "ContactDisplayOrderUpdated": {
        "required": [
          "entity",
          "id",
          "next",
          "previous",
          "timestamp",
          "type",
          "user",
          "workspace"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "timestamp": {
            "type": "string",
            "format": "date-time"
          },
          "entity": {
            "$ref": "#/components/schemas/BaseWorkspaceEntityEntityReference"
          },
          "type": {
            "type": "string"
          },
          "user": {
            "$ref": "#/components/schemas/ActivityUserReference"
          },
          "workspace": {
            "type": "string"
          },
          "previous": {
            "type": "integer",
            "format": "int32"
          },
          "next": {
            "type": "integer",
            "format": "int32"
          }
        },
        "additionalProperties": false
      },
      "ContactEmailsUpdated": {
        "required": [
          "entity",
          "id",
          "next",
          "previous",
          "timestamp",
          "type",
          "user",
          "workspace"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "timestamp": {
            "type": "string",
            "format": "date-time"
          },
          "entity": {
            "$ref": "#/components/schemas/BaseWorkspaceEntityEntityReference"
          },
          "type": {
            "type": "string"
          },
          "user": {
            "$ref": "#/components/schemas/ActivityUserReference"
          },
          "workspace": {
            "type": "string"
          },
          "previous": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CustomField"
            }
          },
          "next": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CustomField"
            }
          }
        },
        "additionalProperties": false
      },
      "ContactEntityReference": {
        "required": [
          "id",
          "name",
          "type"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "type": {
            "$ref": "#/components/schemas/ContactEntityReferenceType"
          }
        },
        "additionalProperties": false
      },
      "ContactEntityReferenceType": {
        "enum": [
          "Contact"
        ],
        "type": "string"
      },
      "ContactExternalReferenceUpdated": {
        "required": [
          "entity",
          "id",
          "next",
          "previous",
          "timestamp",
          "type",
          "user",
          "workspace"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "timestamp": {
            "type": "string",
            "format": "date-time"
          },
          "entity": {
            "$ref": "#/components/schemas/BaseWorkspaceEntityEntityReference"
          },
          "type": {
            "type": "string"
          },
          "user": {
            "$ref": "#/components/schemas/ActivityUserReference"
          },
          "workspace": {
            "type": "string"
          },
          "previous": {
            "type": "string",
            "nullable": true
          },
          "next": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "ContactFirstNameUpdated": {
        "required": [
          "entity",
          "id",
          "next",
          "previous",
          "timestamp",
          "type",
          "user",
          "workspace"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "timestamp": {
            "type": "string",
            "format": "date-time"
          },
          "entity": {
            "$ref": "#/components/schemas/BaseWorkspaceEntityEntityReference"
          },
          "type": {
            "type": "string"
          },
          "user": {
            "$ref": "#/components/schemas/ActivityUserReference"
          },
          "workspace": {
            "type": "string"
          },
          "previous": {
            "type": "string"
          },
          "next": {
            "type": "string"
          }
        },
        "additionalProperties": false
      },
      "ContactGenderUpdated": {
        "required": [
          "entity",
          "id",
          "next",
          "previous",
          "timestamp",
          "type",
          "user",
          "workspace"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "timestamp": {
            "type": "string",
            "format": "date-time"
          },
          "entity": {
            "$ref": "#/components/schemas/BaseWorkspaceEntityEntityReference"
          },
          "type": {
            "type": "string"
          },
          "user": {
            "$ref": "#/components/schemas/ActivityUserReference"
          },
          "workspace": {
            "type": "string"
          },
          "previous": {
            "type": "string",
            "nullable": true
          },
          "next": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "ContactInterestsAndHobbiesUpdated": {
        "required": [
          "entity",
          "id",
          "next",
          "previous",
          "timestamp",
          "type",
          "user",
          "workspace"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "timestamp": {
            "type": "string",
            "format": "date-time"
          },
          "entity": {
            "$ref": "#/components/schemas/BaseWorkspaceEntityEntityReference"
          },
          "type": {
            "type": "string"
          },
          "user": {
            "$ref": "#/components/schemas/ActivityUserReference"
          },
          "workspace": {
            "type": "string"
          },
          "previous": {
            "type": "string",
            "nullable": true
          },
          "next": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "ContactJobTitleUpdated": {
        "required": [
          "entity",
          "id",
          "next",
          "previous",
          "timestamp",
          "type",
          "user",
          "workspace"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "timestamp": {
            "type": "string",
            "format": "date-time"
          },
          "entity": {
            "$ref": "#/components/schemas/BaseWorkspaceEntityEntityReference"
          },
          "type": {
            "type": "string"
          },
          "user": {
            "$ref": "#/components/schemas/ActivityUserReference"
          },
          "workspace": {
            "type": "string"
          },
          "previous": {
            "type": "string",
            "nullable": true
          },
          "next": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "ContactLastContactMomentUpdated": {
        "required": [
          "entity",
          "id",
          "next",
          "previous",
          "timestamp",
          "type",
          "user",
          "workspace"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "timestamp": {
            "type": "string",
            "format": "date-time"
          },
          "entity": {
            "$ref": "#/components/schemas/BaseWorkspaceEntityEntityReference"
          },
          "type": {
            "type": "string"
          },
          "user": {
            "$ref": "#/components/schemas/ActivityUserReference"
          },
          "workspace": {
            "type": "string"
          },
          "previous": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "next": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "ContactLastNameUpdated": {
        "required": [
          "entity",
          "id",
          "next",
          "previous",
          "timestamp",
          "type",
          "user",
          "workspace"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "timestamp": {
            "type": "string",
            "format": "date-time"
          },
          "entity": {
            "$ref": "#/components/schemas/BaseWorkspaceEntityEntityReference"
          },
          "type": {
            "type": "string"
          },
          "user": {
            "$ref": "#/components/schemas/ActivityUserReference"
          },
          "workspace": {
            "type": "string"
          },
          "previous": {
            "type": "string"
          },
          "next": {
            "type": "string"
          }
        },
        "additionalProperties": false
      },
      "ContactLinksUpdated": {
        "required": [
          "entity",
          "id",
          "next",
          "previous",
          "timestamp",
          "type",
          "user",
          "workspace"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "timestamp": {
            "type": "string",
            "format": "date-time"
          },
          "entity": {
            "$ref": "#/components/schemas/BaseWorkspaceEntityEntityReference"
          },
          "type": {
            "type": "string"
          },
          "user": {
            "$ref": "#/components/schemas/ActivityUserReference"
          },
          "workspace": {
            "type": "string"
          },
          "previous": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CustomField"
            }
          },
          "next": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CustomField"
            }
          }
        },
        "additionalProperties": false
      },
      "ContactMiddleNameUpdated": {
        "required": [
          "entity",
          "id",
          "next",
          "previous",
          "timestamp",
          "type",
          "user",
          "workspace"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "timestamp": {
            "type": "string",
            "format": "date-time"
          },
          "entity": {
            "$ref": "#/components/schemas/BaseWorkspaceEntityEntityReference"
          },
          "type": {
            "type": "string"
          },
          "user": {
            "$ref": "#/components/schemas/ActivityUserReference"
          },
          "workspace": {
            "type": "string"
          },
          "previous": {
            "type": "string",
            "nullable": true
          },
          "next": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "ContactNotesUpdated": {
        "required": [
          "entity",
          "id",
          "next",
          "previous",
          "timestamp",
          "type",
          "user",
          "workspace"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "timestamp": {
            "type": "string",
            "format": "date-time"
          },
          "entity": {
            "$ref": "#/components/schemas/BaseWorkspaceEntityEntityReference"
          },
          "type": {
            "type": "string"
          },
          "user": {
            "$ref": "#/components/schemas/ActivityUserReference"
          },
          "workspace": {
            "type": "string"
          },
          "previous": {
            "type": "string",
            "nullable": true
          },
          "next": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "ContactOwnerUpdated": {
        "required": [
          "entity",
          "id",
          "next",
          "previous",
          "timestamp",
          "type",
          "user",
          "workspace"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "timestamp": {
            "type": "string",
            "format": "date-time"
          },
          "entity": {
            "$ref": "#/components/schemas/BaseWorkspaceEntityEntityReference"
          },
          "type": {
            "type": "string"
          },
          "user": {
            "$ref": "#/components/schemas/ActivityUserReference"
          },
          "workspace": {
            "type": "string"
          },
          "previous": {
            "$ref": "#/components/schemas/HeartworkUserEntityReference"
          },
          "next": {
            "$ref": "#/components/schemas/HeartworkUserEntityReference"
          }
        },
        "additionalProperties": false
      },
      "ContactPhoneNumbersUpdated": {
        "required": [
          "entity",
          "id",
          "next",
          "previous",
          "timestamp",
          "type",
          "user",
          "workspace"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "timestamp": {
            "type": "string",
            "format": "date-time"
          },
          "entity": {
            "$ref": "#/components/schemas/BaseWorkspaceEntityEntityReference"
          },
          "type": {
            "type": "string"
          },
          "user": {
            "$ref": "#/components/schemas/ActivityUserReference"
          },
          "workspace": {
            "type": "string"
          },
          "previous": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CustomField"
            }
          },
          "next": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CustomField"
            }
          }
        },
        "additionalProperties": false
      },
      "ContactSalesOrderProcessorUpdated": {
        "required": [
          "entity",
          "id",
          "next",
          "previous",
          "timestamp",
          "type",
          "user",
          "workspace"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "timestamp": {
            "type": "string",
            "format": "date-time"
          },
          "entity": {
            "$ref": "#/components/schemas/BaseWorkspaceEntityEntityReference"
          },
          "type": {
            "type": "string"
          },
          "user": {
            "$ref": "#/components/schemas/ActivityUserReference"
          },
          "workspace": {
            "type": "string"
          },
          "previous": {
            "$ref": "#/components/schemas/LocationEntityReference"
          },
          "next": {
            "$ref": "#/components/schemas/LocationEntityReference"
          }
        },
        "additionalProperties": false
      },
      "ContactSorting": {
        "enum": [
          "DisplayName",
          "ModifiedAt"
        ],
        "type": "string"
      },
      "ContactTagsUpdated": {
        "required": [
          "entity",
          "id",
          "next",
          "previous",
          "timestamp",
          "type",
          "user",
          "workspace"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "timestamp": {
            "type": "string",
            "format": "date-time"
          },
          "entity": {
            "$ref": "#/components/schemas/BaseWorkspaceEntityEntityReference"
          },
          "type": {
            "type": "string"
          },
          "user": {
            "$ref": "#/components/schemas/ActivityUserReference"
          },
          "workspace": {
            "type": "string"
          },
          "previous": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "next": {
            "type": "array",
            "items": {
              "type": "string"
            }
          }
        },
        "additionalProperties": false
      },
      "ContactTitleUpdated": {
        "required": [
          "entity",
          "id",
          "next",
          "previous",
          "timestamp",
          "type",
          "user",
          "workspace"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "timestamp": {
            "type": "string",
            "format": "date-time"
          },
          "entity": {
            "$ref": "#/components/schemas/BaseWorkspaceEntityEntityReference"
          },
          "type": {
            "type": "string"
          },
          "user": {
            "$ref": "#/components/schemas/ActivityUserReference"
          },
          "workspace": {
            "type": "string"
          },
          "previous": {
            "type": "string",
            "nullable": true
          },
          "next": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "ContentFormat": {
        "enum": [
          "Markdown",
          "Html"
        ],
        "type": "string"
      },
      "ContentPageBodyUpdated": {
        "required": [
          "entity",
          "id",
          "next",
          "previous",
          "timestamp",
          "type",
          "user",
          "workspace"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "timestamp": {
            "type": "string",
            "format": "date-time"
          },
          "entity": {
            "$ref": "#/components/schemas/BaseWorkspaceEntityEntityReference"
          },
          "type": {
            "type": "string"
          },
          "user": {
            "$ref": "#/components/schemas/ActivityUserReference"
          },
          "workspace": {
            "type": "string"
          },
          "previous": {
            "type": "string",
            "nullable": true
          },
          "next": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "ContentPageCreated": {
        "required": [
          "entity",
          "id",
          "timestamp",
          "type",
          "user",
          "workspace"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "timestamp": {
            "type": "string",
            "format": "date-time"
          },
          "entity": {
            "$ref": "#/components/schemas/BaseWorkspaceEntityEntityReference"
          },
          "type": {
            "type": "string"
          },
          "user": {
            "$ref": "#/components/schemas/ActivityUserReference"
          },
          "workspace": {
            "type": "string"
          }
        },
        "additionalProperties": false
      },
      "ContentPageDeleted": {
        "required": [
          "entity",
          "id",
          "timestamp",
          "type",
          "user",
          "workspace"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "timestamp": {
            "type": "string",
            "format": "date-time"
          },
          "entity": {
            "$ref": "#/components/schemas/BaseWorkspaceEntityEntityReference"
          },
          "type": {
            "type": "string"
          },
          "user": {
            "$ref": "#/components/schemas/ActivityUserReference"
          },
          "workspace": {
            "type": "string"
          }
        },
        "additionalProperties": false
      },
      "ContentPageDisplayNameUpdated": {
        "required": [
          "entity",
          "id",
          "next",
          "previous",
          "timestamp",
          "type",
          "user",
          "workspace"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "timestamp": {
            "type": "string",
            "format": "date-time"
          },
          "entity": {
            "$ref": "#/components/schemas/BaseWorkspaceEntityEntityReference"
          },
          "type": {
            "type": "string"
          },
          "user": {
            "$ref": "#/components/schemas/ActivityUserReference"
          },
          "workspace": {
            "type": "string"
          },
          "previous": {
            "type": "string"
          },
          "next": {
            "type": "string"
          }
        },
        "additionalProperties": false
      },
      "ContentPageDisplayOrderUpdated": {
        "required": [
          "entity",
          "id",
          "next",
          "previous",
          "timestamp",
          "type",
          "user",
          "workspace"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "timestamp": {
            "type": "string",
            "format": "date-time"
          },
          "entity": {
            "$ref": "#/components/schemas/BaseWorkspaceEntityEntityReference"
          },
          "type": {
            "type": "string"
          },
          "user": {
            "$ref": "#/components/schemas/ActivityUserReference"
          },
          "workspace": {
            "type": "string"
          },
          "previous": {
            "type": "integer",
            "format": "int32"
          },
          "next": {
            "type": "integer",
            "format": "int32"
          }
        },
        "additionalProperties": false
      },
      "ContentPageExternalReferenceUpdated": {
        "required": [
          "entity",
          "id",
          "next",
          "previous",
          "timestamp",
          "type",
          "user",
          "workspace"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "timestamp": {
            "type": "string",
            "format": "date-time"
          },
          "entity": {
            "$ref": "#/components/schemas/BaseWorkspaceEntityEntityReference"
          },
          "type": {
            "type": "string"
          },
          "user": {
            "$ref": "#/components/schemas/ActivityUserReference"
          },
          "workspace": {
            "type": "string"
          },
          "previous": {
            "type": "string",
            "nullable": true
          },
          "next": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "ContentPageGroupNameUpdated": {
        "required": [
          "entity",
          "id",
          "next",
          "previous",
          "timestamp",
          "type",
          "user",
          "workspace"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "timestamp": {
            "type": "string",
            "format": "date-time"
          },
          "entity": {
            "$ref": "#/components/schemas/BaseWorkspaceEntityEntityReference"
          },
          "type": {
            "type": "string"
          },
          "user": {
            "$ref": "#/components/schemas/ActivityUserReference"
          },
          "workspace": {
            "type": "string"
          },
          "previous": {
            "type": "string",
            "nullable": true
          },
          "next": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "ContentPageLanguageUpdated": {
        "required": [
          "entity",
          "id",
          "next",
          "previous",
          "timestamp",
          "type",
          "user",
          "workspace"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "timestamp": {
            "type": "string",
            "format": "date-time"
          },
          "entity": {
            "$ref": "#/components/schemas/BaseWorkspaceEntityEntityReference"
          },
          "type": {
            "type": "string"
          },
          "user": {
            "$ref": "#/components/schemas/ActivityUserReference"
          },
          "workspace": {
            "type": "string"
          },
          "previous": {
            "type": "string"
          },
          "next": {
            "type": "string"
          }
        },
        "additionalProperties": false
      },
      "ContentPageShowInFooterUpdated": {
        "required": [
          "entity",
          "id",
          "next",
          "previous",
          "timestamp",
          "type",
          "user",
          "workspace"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "timestamp": {
            "type": "string",
            "format": "date-time"
          },
          "entity": {
            "$ref": "#/components/schemas/BaseWorkspaceEntityEntityReference"
          },
          "type": {
            "type": "string"
          },
          "user": {
            "$ref": "#/components/schemas/ActivityUserReference"
          },
          "workspace": {
            "type": "string"
          },
          "previous": {
            "type": "boolean"
          },
          "next": {
            "type": "boolean"
          }
        },
        "additionalProperties": false
      },
      "ContentPageShowInMenuUpdated": {
        "required": [
          "entity",
          "id",
          "next",
          "previous",
          "timestamp",
          "type",
          "user",
          "workspace"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "timestamp": {
            "type": "string",
            "format": "date-time"
          },
          "entity": {
            "$ref": "#/components/schemas/BaseWorkspaceEntityEntityReference"
          },
          "type": {
            "type": "string"
          },
          "user": {
            "$ref": "#/components/schemas/ActivityUserReference"
          },
          "workspace": {
            "type": "string"
          },
          "previous": {
            "type": "boolean"
          },
          "next": {
            "type": "boolean"
          }
        },
        "additionalProperties": false
      },
      "ContentPageSorting": {
        "enum": [
          "DisplayName"
        ],
        "type": "string"
      },
      "ContentPageUrlUpdated": {
        "required": [
          "entity",
          "id",
          "next",
          "previous",
          "timestamp",
          "type",
          "user",
          "workspace"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "timestamp": {
            "type": "string",
            "format": "date-time"
          },
          "entity": {
            "$ref": "#/components/schemas/BaseWorkspaceEntityEntityReference"
          },
          "type": {
            "type": "string"
          },
          "user": {
            "$ref": "#/components/schemas/ActivityUserReference"
          },
          "workspace": {
            "type": "string"
          },
          "previous": {
            "type": "string"
          },
          "next": {
            "type": "string"
          }
        },
        "additionalProperties": false
      },
      "CreateAccountRequest": {
        "required": [
          "displayName"
        ],
        "type": "object",
        "properties": {
          "externalReference": {
            "type": "string",
            "nullable": true
          },
          "displayName": {
            "type": "string"
          },
          "description": {
            "type": "string",
            "nullable": true
          },
          "notes": {
            "type": "string",
            "nullable": true
          },
          "accountCode": {
            "type": "string",
            "nullable": true
          },
          "accountStatus": {
            "type": "string",
            "nullable": true
          },
          "accountType": {
            "$ref": "#/components/schemas/AccountType"
          },
          "ownerId": {
            "type": "string",
            "nullable": true
          },
          "visitingAddress": {
            "$ref": "#/components/schemas/Address"
          },
          "billingAddress": {
            "$ref": "#/components/schemas/Address"
          },
          "shippingAddress": {
            "$ref": "#/components/schemas/Address"
          },
          "otherAddresses": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Address"
            },
            "nullable": true
          },
          "salesOrderProcessorId": {
            "type": "string",
            "nullable": true
          },
          "connections": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CreateEntityConnectionRequest"
            },
            "nullable": true
          },
          "emails": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CustomField"
            },
            "nullable": true
          },
          "phoneNumbers": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CustomField"
            },
            "nullable": true
          },
          "links": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CustomField"
            },
            "nullable": true
          },
          "industries": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "employees": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "vatNumber": {
            "type": "string",
            "nullable": true
          },
          "chamberOfCommerce": {
            "type": "string",
            "nullable": true
          },
          "chamberOfCommerceRubricationCodes": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "vatValidationDate": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "productCatalogId": {
            "type": "string",
            "nullable": true
          },
          "tags": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "lastContactMoment": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "attributes": {
            "type": "object",
            "additionalProperties": {
              "type": "string"
            },
            "nullable": true
          },
          "customFields": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CustomField"
            },
            "nullable": true
          },
          "commerceSettings": {
            "$ref": "#/components/schemas/AccountCommerceSettings"
          }
        },
        "additionalProperties": false
      },
      "CreateAtomicScriptRequest": {
        "required": [
          "atomicName",
          "atomicScriptType",
          "continueOnError",
          "enabled",
          "order",
          "script",
          "timeout",
          "title"
        ],
        "type": "object",
        "properties": {
          "externalReference": {
            "type": "string",
            "nullable": true
          },
          "title": {
            "type": "string"
          },
          "atomicName": {
            "type": "string"
          },
          "atomicScriptType": {
            "$ref": "#/components/schemas/AtomicScriptType"
          },
          "script": {
            "type": "string"
          },
          "enabled": {
            "type": "boolean"
          },
          "continueOnError": {
            "type": "boolean"
          },
          "timeout": {
            "type": "integer",
            "format": "int32"
          },
          "order": {
            "type": "integer",
            "format": "int32"
          }
        },
        "additionalProperties": false
      },
      "CreateBrandRequest": {
        "required": [
          "name"
        ],
        "type": "object",
        "properties": {
          "externalReference": {
            "type": "string",
            "nullable": true
          },
          "name": {
            "type": "string"
          },
          "imageUrl": {
            "type": "string",
            "nullable": true
          },
          "visibilitySettings": {
            "$ref": "#/components/schemas/BrandVisibilitySettings"
          }
        },
        "additionalProperties": false
      },
      "CreateClientLoginAndExternalUserRequest": {
        "required": [
          "displayName",
          "email",
          "password",
          "username"
        ],
        "type": "object",
        "properties": {
          "email": {
            "type": "string"
          },
          "password": {
            "type": "string"
          },
          "username": {
            "type": "string"
          },
          "displayName": {
            "type": "string"
          },
          "profile": {
            "$ref": "#/components/schemas/ClientProfile"
          }
        },
        "additionalProperties": false
      },
      "CreateCommentRequest": {
        "required": [
          "body",
          "bodyFormat",
          "entityId",
          "entityType"
        ],
        "type": "object",
        "properties": {
          "entityId": {
            "type": "string"
          },
          "entityType": {
            "type": "string"
          },
          "body": {
            "type": "string"
          },
          "bodyFormat": {
            "$ref": "#/components/schemas/CommentBodyFormat"
          }
        },
        "additionalProperties": false
      },
      "CreateContactRequest": {
        "required": [
          "displayOrder",
          "firstName",
          "lastName"
        ],
        "type": "object",
        "properties": {
          "externalReference": {
            "type": "string",
            "nullable": true
          },
          "firstName": {
            "type": "string"
          },
          "lastName": {
            "type": "string"
          },
          "middleName": {
            "type": "string",
            "nullable": true
          },
          "description": {
            "type": "string",
            "nullable": true
          },
          "dateOfBirth": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "gender": {
            "type": "string",
            "nullable": true
          },
          "title": {
            "type": "string",
            "nullable": true
          },
          "jobTitle": {
            "type": "string",
            "nullable": true
          },
          "notes": {
            "type": "string",
            "nullable": true
          },
          "ownerId": {
            "type": "string",
            "nullable": true
          },
          "clientLoginId": {
            "type": "string",
            "nullable": true
          },
          "interestsAndHobbies": {
            "type": "string",
            "nullable": true
          },
          "addresses": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Address"
            },
            "nullable": true
          },
          "emails": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CustomField"
            },
            "nullable": true
          },
          "phoneNumbers": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CustomField"
            },
            "nullable": true
          },
          "links": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CustomField"
            },
            "nullable": true
          },
          "lastContactMoment": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "displayOrder": {
            "type": "integer",
            "format": "int32"
          },
          "salesOrderProcessorId": {
            "type": "string",
            "nullable": true
          },
          "commerceSettings": {
            "$ref": "#/components/schemas/ContactCommerceSettings"
          },
          "attributes": {
            "type": "object",
            "additionalProperties": {
              "type": "string"
            },
            "nullable": true
          },
          "connections": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CreateEntityConnectionRequest"
            },
            "nullable": true
          },
          "customFields": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CustomField"
            },
            "nullable": true
          },
          "tags": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "CreateContentPageRequest": {
        "required": [
          "displayName",
          "displayOrder",
          "language",
          "showInFooter",
          "showInMenu",
          "url"
        ],
        "type": "object",
        "properties": {
          "externalReference": {
            "type": "string",
            "nullable": true
          },
          "url": {
            "type": "string"
          },
          "displayName": {
            "type": "string"
          },
          "body": {
            "type": "string",
            "nullable": true
          },
          "displayOrder": {
            "type": "integer",
            "format": "int32"
          },
          "language": {
            "type": "string"
          },
          "groupName": {
            "type": "string",
            "nullable": true
          },
          "showInMenu": {
            "type": "boolean"
          },
          "showInFooter": {
            "type": "boolean"
          }
        },
        "additionalProperties": false
      },
      "CreateCurrencyRequest": {
        "required": [
          "code",
          "conversionRate"
        ],
        "type": "object",
        "properties": {
          "externalReference": {
            "type": "string",
            "nullable": true
          },
          "code": {
            "type": "string"
          },
          "conversionRate": {
            "type": "number",
            "format": "double"
          }
        },
        "additionalProperties": false
      },
      "CreateDealRequest": {
        "required": [
          "expectedRevenue",
          "pipelineId",
          "statusId",
          "title"
        ],
        "type": "object",
        "properties": {
          "externalReference": {
            "type": "string",
            "nullable": true
          },
          "title": {
            "type": "string"
          },
          "description": {
            "type": "string",
            "nullable": true
          },
          "expectedRevenue": {
            "type": "number",
            "format": "double"
          },
          "ownerId": {
            "type": "string",
            "nullable": true
          },
          "accountId": {
            "type": "string",
            "nullable": true
          },
          "successRate": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "startDate": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "endDate": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "pipelineId": {
            "type": "string"
          },
          "statusId": {
            "type": "string"
          },
          "pipelineOptionValues": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/PipelineOptionValue"
            },
            "nullable": true
          },
          "connections": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CreateEntityConnectionRequest"
            },
            "nullable": true
          },
          "tags": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "CreateDirectoryRequest": {
        "required": [
          "name"
        ],
        "type": "object",
        "properties": {
          "path": {
            "type": "string",
            "nullable": true
          },
          "name": {
            "type": "string"
          },
          "attachTo": {
            "type": "string",
            "nullable": true
          },
          "attachToType": {
            "$ref": "#/components/schemas/AttachmentEntityType"
          }
        },
        "additionalProperties": false
      },
      "CreateEntityConnectionRequest": {
        "required": [
          "entityId",
          "label",
          "type"
        ],
        "type": "object",
        "properties": {
          "label": {
            "type": "string"
          },
          "reverseLabel": {
            "type": "string",
            "nullable": true
          },
          "type": {
            "type": "string"
          },
          "entityId": {
            "type": "string"
          }
        },
        "additionalProperties": false
      },
      "CreateFavouriteProductRequest": {
        "required": [
          "clientLoginId",
          "origin",
          "productId"
        ],
        "type": "object",
        "properties": {
          "clientLoginId": {
            "type": "string"
          },
          "productId": {
            "type": "string"
          },
          "origin": {
            "$ref": "#/components/schemas/FavouriteOrigin"
          }
        },
        "additionalProperties": false
      },
      "CreateFavouriteProductsRequest": {
        "required": [
          "items"
        ],
        "type": "object",
        "properties": {
          "items": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CreateFavouriteProductRequest"
            }
          }
        },
        "additionalProperties": false
      },
      "CreateHeartworkUserAndExternalUserRequest": {
        "required": [
          "displayName",
          "email",
          "firstname",
          "lastname",
          "password",
          "username"
        ],
        "type": "object",
        "properties": {
          "username": {
            "type": "string"
          },
          "email": {
            "type": "string"
          },
          "firstname": {
            "type": "string"
          },
          "lastname": {
            "type": "string"
          },
          "displayName": {
            "type": "string"
          },
          "apps": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "password": {
            "type": "string"
          }
        },
        "additionalProperties": false
      },
      "CreateLocationRequest": {
        "required": [
          "displayOrder",
          "isPickupLocation",
          "isStockLocation",
          "isWarehouse",
          "name"
        ],
        "type": "object",
        "properties": {
          "externalReference": {
            "type": "string",
            "nullable": true
          },
          "email": {
            "type": "string",
            "nullable": true
          },
          "name": {
            "type": "string"
          },
          "description": {
            "type": "string",
            "nullable": true
          },
          "phoneNumber": {
            "type": "string",
            "nullable": true
          },
          "image": {
            "type": "string",
            "nullable": true
          },
          "displayOrder": {
            "type": "integer",
            "format": "int32"
          },
          "address": {
            "$ref": "#/components/schemas/Address"
          },
          "isWarehouse": {
            "type": "boolean"
          },
          "isPickupLocation": {
            "type": "boolean"
          },
          "isStockLocation": {
            "type": "boolean"
          },
          "openingTimes": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/OpeningTime"
            },
            "nullable": true
          },
          "customFields": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CustomField"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "CreatePipelineRequest": {
        "required": [
          "title"
        ],
        "type": "object",
        "properties": {
          "externalReference": {
            "type": "string",
            "nullable": true
          },
          "title": {
            "type": "string"
          },
          "description": {
            "type": "string",
            "nullable": true
          },
          "options": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/PipelineOption"
            },
            "nullable": true
          },
          "summaries": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/PipelineSummary"
            },
            "nullable": true
          },
          "statuses": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/PipelineStatus"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "CreateProductAttributeRequest": {
        "required": [
          "name"
        ],
        "type": "object",
        "properties": {
          "externalReference": {
            "type": "string",
            "nullable": true
          },
          "name": {
            "type": "string"
          }
        },
        "additionalProperties": false
      },
      "CreateProductCatalogRequest": {
        "required": [
          "name"
        ],
        "type": "object",
        "properties": {
          "externalReference": {
            "type": "string",
            "nullable": true
          },
          "name": {
            "type": "string"
          }
        },
        "additionalProperties": false
      },
      "CreateProductCategoryDisplayContentRequest": {
        "required": [
          "descriptionFormat",
          "language",
          "productCategoryId",
          "title"
        ],
        "type": "object",
        "properties": {
          "externalReference": {
            "type": "string",
            "nullable": true
          },
          "title": {
            "type": "string"
          },
          "excerpt": {
            "type": "string",
            "nullable": true
          },
          "description": {
            "type": "string",
            "nullable": true
          },
          "descriptionFormat": {
            "$ref": "#/components/schemas/ContentFormat"
          },
          "language": {
            "type": "string"
          },
          "seoMeta": {
            "$ref": "#/components/schemas/SeoMeta"
          },
          "productCategoryId": {
            "type": "string"
          }
        },
        "additionalProperties": false
      },
      "CreateProductCategoryRequest": {
        "required": [
          "active",
          "displayOrder",
          "name"
        ],
        "type": "object",
        "properties": {
          "externalReference": {
            "type": "string",
            "nullable": true
          },
          "name": {
            "type": "string"
          },
          "image": {
            "type": "string",
            "nullable": true
          },
          "parentId": {
            "type": "string",
            "nullable": true
          },
          "active": {
            "type": "boolean"
          },
          "visibility": {
            "$ref": "#/components/schemas/ProductCategoryVisibilitySettings"
          },
          "customFields": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CustomField"
            },
            "nullable": true
          },
          "displayOrder": {
            "type": "integer",
            "format": "int32"
          }
        },
        "additionalProperties": false
      },
      "CreateProductDisplayContentRequest": {
        "required": [
          "descriptionFormat",
          "language",
          "productId",
          "title"
        ],
        "type": "object",
        "properties": {
          "externalReference": {
            "type": "string",
            "nullable": true
          },
          "title": {
            "type": "string"
          },
          "excerpt": {
            "type": "string",
            "nullable": true
          },
          "description": {
            "type": "string",
            "nullable": true
          },
          "descriptionFormat": {
            "$ref": "#/components/schemas/ContentFormat"
          },
          "language": {
            "type": "string"
          },
          "seoMeta": {
            "$ref": "#/components/schemas/SeoMeta"
          },
          "productId": {
            "type": "string"
          }
        },
        "additionalProperties": false
      },
      "CreateProductManufacturerRequest": {
        "required": [
          "name"
        ],
        "type": "object",
        "properties": {
          "externalReference": {
            "type": "string",
            "nullable": true
          },
          "name": {
            "type": "string"
          },
          "email": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "CreateProductRequest": {
        "required": [
          "active",
          "displayOrder",
          "name",
          "productType",
          "showStock"
        ],
        "type": "object",
        "properties": {
          "externalReference": {
            "type": "string",
            "nullable": true
          },
          "name": {
            "type": "string"
          },
          "productType": {
            "$ref": "#/components/schemas/ProductType"
          },
          "sku": {
            "type": "string",
            "nullable": true
          },
          "gtin": {
            "type": "string",
            "nullable": true
          },
          "barcodes": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "packing": {
            "$ref": "#/components/schemas/ProductPacking"
          },
          "productCode": {
            "type": "string",
            "nullable": true
          },
          "price": {
            "$ref": "#/components/schemas/UpdateProductPriceRequest"
          },
          "searchCode": {
            "type": "string",
            "nullable": true
          },
          "visibilitySettings": {
            "$ref": "#/components/schemas/ProductVisibilitySettings"
          },
          "introducedAt": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "categories": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "attributes": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/UpdateProductAttributeLinkRequest"
            },
            "nullable": true
          },
          "links": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/UpdateProductLinkRequest"
            },
            "nullable": true
          },
          "catalogs": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "manufacturerId": {
            "type": "string",
            "nullable": true
          },
          "active": {
            "type": "boolean"
          },
          "tags": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "customFields": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CustomField"
            },
            "nullable": true
          },
          "brandId": {
            "type": "string",
            "nullable": true
          },
          "displayOrder": {
            "type": "integer",
            "format": "int32"
          },
          "images": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ProductImage"
            },
            "nullable": true
          },
          "hyperlinks": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Hyperlink"
            },
            "nullable": true
          },
          "salesSettings": {
            "$ref": "#/components/schemas/ProductSalesSettings"
          },
          "showStock": {
            "type": "boolean"
          }
        },
        "additionalProperties": false
      },
      "CreateSalesOrderLineRequest": {
        "required": [
          "productId",
          "quantity",
          "salesOrderId",
          "status"
        ],
        "type": "object",
        "properties": {
          "salesOrderId": {
            "type": "string"
          },
          "externalReference": {
            "type": "string",
            "nullable": true
          },
          "delivery": {
            "$ref": "#/components/schemas/SalesOrderLineDelivery"
          },
          "quantity": {
            "type": "number",
            "format": "double"
          },
          "productId": {
            "type": "string"
          },
          "status": {
            "type": "string"
          },
          "attributes": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CustomField"
            },
            "nullable": true
          },
          "references": {
            "$ref": "#/components/schemas/SalesOrderLineReferences"
          }
        },
        "additionalProperties": false
      },
      "CreateSalesOrderLinesRequest": {
        "required": [
          "items"
        ],
        "type": "object",
        "properties": {
          "items": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CreateSalesOrderLineRequest"
            }
          }
        },
        "additionalProperties": false
      },
      "CreateSalesOrderRequest": {
        "required": [
          "channel",
          "debtorId",
          "deliveryMethod",
          "orderedAt",
          "orderingStatus"
        ],
        "type": "object",
        "properties": {
          "externalReference": {
            "type": "string",
            "nullable": true
          },
          "debtorId": {
            "type": "string"
          },
          "orderedById": {
            "type": "string",
            "nullable": true
          },
          "orderedAt": {
            "type": "string",
            "format": "date-time"
          },
          "orderingStatus": {
            "$ref": "#/components/schemas/SalesOrderOrderingStatus"
          },
          "processing": {
            "$ref": "#/components/schemas/SalesOrderProcessing"
          },
          "description": {
            "type": "string",
            "nullable": true
          },
          "references": {
            "$ref": "#/components/schemas/SalesOrderReferences"
          },
          "payment": {
            "$ref": "#/components/schemas/SalesOrderPayment"
          },
          "billing": {
            "$ref": "#/components/schemas/SalesOrderBilling"
          },
          "deliveryMethod": {
            "$ref": "#/components/schemas/DeliveryMethod"
          },
          "delivery": {
            "$ref": "#/components/schemas/SalesOrderDelivery"
          },
          "pickup": {
            "$ref": "#/components/schemas/UpdateSalesOrderPickupRequest"
          },
          "channel": {
            "type": "string"
          },
          "customFields": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CustomField"
            },
            "nullable": true
          },
          "tags": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "currency": {
            "$ref": "#/components/schemas/SalesOrderCurrency"
          }
        },
        "additionalProperties": false
      },
      "CreateStockRequest": {
        "required": [
          "locationId",
          "productId",
          "quantity"
        ],
        "type": "object",
        "properties": {
          "productId": {
            "type": "string"
          },
          "locationId": {
            "type": "string"
          },
          "quantity": {
            "type": "integer",
            "format": "int32"
          }
        },
        "additionalProperties": false
      },
      "CreateWebhookRequest": {
        "required": [
          "deliveryEndpoint",
          "enabled",
          "name",
          "skipSystem",
          "topicName"
        ],
        "type": "object",
        "properties": {
          "name": {
            "type": "string"
          },
          "topicName": {
            "type": "string"
          },
          "deliveryEndpoint": {
            "type": "string"
          },
          "skipSystem": {
            "type": "boolean"
          },
          "headers": {
            "type": "object",
            "additionalProperties": {
              "type": "string"
            },
            "nullable": true
          },
          "enabled": {
            "type": "boolean"
          }
        },
        "additionalProperties": false
      },
      "CreateWorkspaceRequest": {
        "required": [
          "id",
          "name"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "settings": {
            "$ref": "#/components/schemas/WorkspaceSettings"
          },
          "commerceSettings": {
            "$ref": "#/components/schemas/CommerceSettings"
          }
        },
        "additionalProperties": false
      },
      "CurrencyConversionRateUpdated": {
        "required": [
          "entity",
          "id",
          "next",
          "previous",
          "timestamp",
          "type",
          "user",
          "workspace"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "timestamp": {
            "type": "string",
            "format": "date-time"
          },
          "entity": {
            "$ref": "#/components/schemas/BaseWorkspaceEntityEntityReference"
          },
          "type": {
            "type": "string"
          },
          "user": {
            "$ref": "#/components/schemas/ActivityUserReference"
          },
          "workspace": {
            "type": "string"
          },
          "previous": {
            "type": "number",
            "format": "double"
          },
          "next": {
            "type": "number",
            "format": "double"
          }
        },
        "additionalProperties": false
      },
      "CurrencyCreated": {
        "required": [
          "entity",
          "id",
          "timestamp",
          "type",
          "user",
          "workspace"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "timestamp": {
            "type": "string",
            "format": "date-time"
          },
          "entity": {
            "$ref": "#/components/schemas/BaseWorkspaceEntityEntityReference"
          },
          "type": {
            "type": "string"
          },
          "user": {
            "$ref": "#/components/schemas/ActivityUserReference"
          },
          "workspace": {
            "type": "string"
          }
        },
        "additionalProperties": false
      },
      "CurrencyDeleted": {
        "required": [
          "entity",
          "id",
          "timestamp",
          "type",
          "user",
          "workspace"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "timestamp": {
            "type": "string",
            "format": "date-time"
          },
          "entity": {
            "$ref": "#/components/schemas/BaseWorkspaceEntityEntityReference"
          },
          "type": {
            "type": "string"
          },
          "user": {
            "$ref": "#/components/schemas/ActivityUserReference"
          },
          "workspace": {
            "type": "string"
          }
        },
        "additionalProperties": false
      },
      "CurrencyExternalReferenceUpdated": {
        "required": [
          "entity",
          "id",
          "next",
          "previous",
          "timestamp",
          "type",
          "user",
          "workspace"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "timestamp": {
            "type": "string",
            "format": "date-time"
          },
          "entity": {
            "$ref": "#/components/schemas/BaseWorkspaceEntityEntityReference"
          },
          "type": {
            "type": "string"
          },
          "user": {
            "$ref": "#/components/schemas/ActivityUserReference"
          },
          "workspace": {
            "type": "string"
          },
          "previous": {
            "type": "string",
            "nullable": true
          },
          "next": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "CurrencySorting": {
        "enum": [
          "Code"
        ],
        "type": "string"
      },
      "CustomField": {
        "required": [
          "key",
          "value"
        ],
        "type": "object",
        "properties": {
          "key": {
            "type": "string"
          },
          "value": {
            "type": "string"
          }
        },
        "additionalProperties": false
      },
      "DateTimeOffsetNullableRangeFilter": {
        "type": "object",
        "properties": {
          "min": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "max": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "DayOfWeek": {
        "enum": [
          "Sunday",
          "Monday",
          "Tuesday",
          "Wednesday",
          "Thursday",
          "Friday",
          "Saturday"
        ],
        "type": "string"
      },
      "DealAccountUpdated": {
        "required": [
          "entity",
          "id",
          "next",
          "previous",
          "timestamp",
          "type",
          "user",
          "workspace"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "timestamp": {
            "type": "string",
            "format": "date-time"
          },
          "entity": {
            "$ref": "#/components/schemas/BaseWorkspaceEntityEntityReference"
          },
          "type": {
            "type": "string"
          },
          "user": {
            "$ref": "#/components/schemas/ActivityUserReference"
          },
          "workspace": {
            "type": "string"
          },
          "previous": {
            "$ref": "#/components/schemas/AccountEntityReference"
          },
          "next": {
            "$ref": "#/components/schemas/AccountEntityReference"
          }
        },
        "additionalProperties": false
      },
      "DealCreated": {
        "required": [
          "entity",
          "id",
          "timestamp",
          "type",
          "user",
          "workspace"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "timestamp": {
            "type": "string",
            "format": "date-time"
          },
          "entity": {
            "$ref": "#/components/schemas/BaseWorkspaceEntityEntityReference"
          },
          "type": {
            "type": "string"
          },
          "user": {
            "$ref": "#/components/schemas/ActivityUserReference"
          },
          "workspace": {
            "type": "string"
          }
        },
        "additionalProperties": false
      },
      "DealDeleted": {
        "required": [
          "entity",
          "id",
          "timestamp",
          "type",
          "user",
          "workspace"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "timestamp": {
            "type": "string",
            "format": "date-time"
          },
          "entity": {
            "$ref": "#/components/schemas/BaseWorkspaceEntityEntityReference"
          },
          "type": {
            "type": "string"
          },
          "user": {
            "$ref": "#/components/schemas/ActivityUserReference"
          },
          "workspace": {
            "type": "string"
          }
        },
        "additionalProperties": false
      },
      "DealDescriptionUpdated": {
        "required": [
          "entity",
          "id",
          "next",
          "previous",
          "timestamp",
          "type",
          "user",
          "workspace"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "timestamp": {
            "type": "string",
            "format": "date-time"
          },
          "entity": {
            "$ref": "#/components/schemas/BaseWorkspaceEntityEntityReference"
          },
          "type": {
            "type": "string"
          },
          "user": {
            "$ref": "#/components/schemas/ActivityUserReference"
          },
          "workspace": {
            "type": "string"
          },
          "previous": {
            "type": "string",
            "nullable": true
          },
          "next": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "DealEndDateUpdated": {
        "required": [
          "entity",
          "id",
          "next",
          "previous",
          "timestamp",
          "type",
          "user",
          "workspace"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "timestamp": {
            "type": "string",
            "format": "date-time"
          },
          "entity": {
            "$ref": "#/components/schemas/BaseWorkspaceEntityEntityReference"
          },
          "type": {
            "type": "string"
          },
          "user": {
            "$ref": "#/components/schemas/ActivityUserReference"
          },
          "workspace": {
            "type": "string"
          },
          "previous": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "next": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "DealExpectedRevenueUpdated": {
        "required": [
          "entity",
          "id",
          "next",
          "previous",
          "timestamp",
          "type",
          "user",
          "workspace"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "timestamp": {
            "type": "string",
            "format": "date-time"
          },
          "entity": {
            "$ref": "#/components/schemas/BaseWorkspaceEntityEntityReference"
          },
          "type": {
            "type": "string"
          },
          "user": {
            "$ref": "#/components/schemas/ActivityUserReference"
          },
          "workspace": {
            "type": "string"
          },
          "previous": {
            "type": "number",
            "format": "double"
          },
          "next": {
            "type": "number",
            "format": "double"
          }
        },
        "additionalProperties": false
      },
      "DealExternalReferenceUpdated": {
        "required": [
          "entity",
          "id",
          "next",
          "previous",
          "timestamp",
          "type",
          "user",
          "workspace"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "timestamp": {
            "type": "string",
            "format": "date-time"
          },
          "entity": {
            "$ref": "#/components/schemas/BaseWorkspaceEntityEntityReference"
          },
          "type": {
            "type": "string"
          },
          "user": {
            "$ref": "#/components/schemas/ActivityUserReference"
          },
          "workspace": {
            "type": "string"
          },
          "previous": {
            "type": "string",
            "nullable": true
          },
          "next": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "DealOwnerUpdated": {
        "required": [
          "entity",
          "id",
          "next",
          "previous",
          "timestamp",
          "type",
          "user",
          "workspace"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "timestamp": {
            "type": "string",
            "format": "date-time"
          },
          "entity": {
            "$ref": "#/components/schemas/BaseWorkspaceEntityEntityReference"
          },
          "type": {
            "type": "string"
          },
          "user": {
            "$ref": "#/components/schemas/ActivityUserReference"
          },
          "workspace": {
            "type": "string"
          },
          "previous": {
            "$ref": "#/components/schemas/HeartworkUserEntityReference"
          },
          "next": {
            "$ref": "#/components/schemas/HeartworkUserEntityReference"
          }
        },
        "additionalProperties": false
      },
      "DealPeriod": {
        "required": [
          "count",
          "from",
          "label",
          "until"
        ],
        "type": "object",
        "properties": {
          "label": {
            "type": "string"
          },
          "from": {
            "type": "string",
            "format": "date-time"
          },
          "until": {
            "type": "string",
            "format": "date-time"
          },
          "count": {
            "type": "integer",
            "format": "int32"
          }
        },
        "additionalProperties": false
      },
      "DealPipelineUpdated": {
        "required": [
          "entity",
          "id",
          "next",
          "previous",
          "timestamp",
          "type",
          "user",
          "workspace"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "timestamp": {
            "type": "string",
            "format": "date-time"
          },
          "entity": {
            "$ref": "#/components/schemas/BaseWorkspaceEntityEntityReference"
          },
          "type": {
            "type": "string"
          },
          "user": {
            "$ref": "#/components/schemas/ActivityUserReference"
          },
          "workspace": {
            "type": "string"
          },
          "previous": {
            "$ref": "#/components/schemas/PipelineEntityReference"
          },
          "next": {
            "$ref": "#/components/schemas/PipelineEntityReference"
          }
        },
        "additionalProperties": false
      },
      "DealSorting": {
        "enum": [
          "CreatedAt",
          "Title",
          "ExpectedRevenue",
          "SuccessRate",
          "ModifiedAt"
        ],
        "type": "string"
      },
      "DealStartDateUpdated": {
        "required": [
          "entity",
          "id",
          "next",
          "previous",
          "timestamp",
          "type",
          "user",
          "workspace"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "timestamp": {
            "type": "string",
            "format": "date-time"
          },
          "entity": {
            "$ref": "#/components/schemas/BaseWorkspaceEntityEntityReference"
          },
          "type": {
            "type": "string"
          },
          "user": {
            "$ref": "#/components/schemas/ActivityUserReference"
          },
          "workspace": {
            "type": "string"
          },
          "previous": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "next": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "DealStatusUpdated": {
        "required": [
          "entity",
          "id",
          "next",
          "previous",
          "timestamp",
          "type",
          "user",
          "workspace"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "timestamp": {
            "type": "string",
            "format": "date-time"
          },
          "entity": {
            "$ref": "#/components/schemas/BaseWorkspaceEntityEntityReference"
          },
          "type": {
            "type": "string"
          },
          "user": {
            "$ref": "#/components/schemas/ActivityUserReference"
          },
          "workspace": {
            "type": "string"
          },
          "previous": {
            "$ref": "#/components/schemas/PipelineStatusEntityReference"
          },
          "next": {
            "$ref": "#/components/schemas/PipelineStatusEntityReference"
          }
        },
        "additionalProperties": false
      },
      "DealSuccessRateUpdated": {
        "required": [
          "entity",
          "id",
          "next",
          "previous",
          "timestamp",
          "type",
          "user",
          "workspace"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "timestamp": {
            "type": "string",
            "format": "date-time"
          },
          "entity": {
            "$ref": "#/components/schemas/BaseWorkspaceEntityEntityReference"
          },
          "type": {
            "type": "string"
          },
          "user": {
            "$ref": "#/components/schemas/ActivityUserReference"
          },
          "workspace": {
            "type": "string"
          },
          "previous": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "next": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "DealTagsUpdated": {
        "required": [
          "entity",
          "id",
          "next",
          "previous",
          "timestamp",
          "type",
          "user",
          "workspace"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "timestamp": {
            "type": "string",
            "format": "date-time"
          },
          "entity": {
            "$ref": "#/components/schemas/BaseWorkspaceEntityEntityReference"
          },
          "type": {
            "type": "string"
          },
          "user": {
            "$ref": "#/components/schemas/ActivityUserReference"
          },
          "workspace": {
            "type": "string"
          },
          "previous": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "next": {
            "type": "array",
            "items": {
              "type": "string"
            }
          }
        },
        "additionalProperties": false
      },
      "DealTitleUpdated": {
        "required": [
          "entity",
          "id",
          "next",
          "previous",
          "timestamp",
          "type",
          "user",
          "workspace"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "timestamp": {
            "type": "string",
            "format": "date-time"
          },
          "entity": {
            "$ref": "#/components/schemas/BaseWorkspaceEntityEntityReference"
          },
          "type": {
            "type": "string"
          },
          "user": {
            "$ref": "#/components/schemas/ActivityUserReference"
          },
          "workspace": {
            "type": "string"
          },
          "previous": {
            "type": "string"
          },
          "next": {
            "type": "string"
          }
        },
        "additionalProperties": false
      },
      "DealsExport": {
        "required": [
          "account",
          "archived",
          "contacts",
          "createdAt",
          "description",
          "endDate",
          "expectedRevenue",
          "id",
          "owner",
          "startDate",
          "status",
          "statusModifiedAt",
          "successRate",
          "title"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "title": {
            "type": "string"
          },
          "description": {
            "type": "string",
            "nullable": true
          },
          "expectedRevenue": {
            "type": "number",
            "format": "double"
          },
          "status": {
            "type": "string",
            "nullable": true
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "owner": {
            "type": "string",
            "nullable": true
          },
          "account": {
            "type": "string",
            "nullable": true
          },
          "contacts": {
            "type": "string",
            "nullable": true
          },
          "successRate": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "archived": {
            "type": "boolean"
          },
          "startDate": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "endDate": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "statusModifiedAt": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "DecimalRangeFilter": {
        "required": [
          "max",
          "min"
        ],
        "type": "object",
        "properties": {
          "min": {
            "type": "number",
            "format": "double"
          },
          "max": {
            "type": "number",
            "format": "double"
          }
        },
        "additionalProperties": false
      },
      "DeleteDirectoryRequest": {
        "required": [
          "name",
          "recursive"
        ],
        "type": "object",
        "properties": {
          "path": {
            "type": "string",
            "nullable": true
          },
          "name": {
            "type": "string"
          },
          "attachedTo": {
            "type": "string",
            "nullable": true
          },
          "attachedToType": {
            "$ref": "#/components/schemas/AttachmentEntityType"
          },
          "recursive": {
            "type": "boolean"
          }
        },
        "additionalProperties": false
      },
      "DeleteDocumentRequest": {
        "required": [
          "name",
          "path"
        ],
        "type": "object",
        "properties": {
          "path": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "attachedTo": {
            "type": "string",
            "nullable": true
          },
          "attachedToType": {
            "$ref": "#/components/schemas/AttachmentEntityType"
          }
        },
        "additionalProperties": false
      },
      "DeliveryMethod": {
        "enum": [
          "Delivery",
          "Pickup"
        ],
        "type": "string"
      },
      "DeliveryMethodCounts": {
        "required": [
          "delivery",
          "pickup"
        ],
        "type": "object",
        "properties": {
          "delivery": {
            "type": "integer",
            "format": "int32"
          },
          "pickup": {
            "type": "integer",
            "format": "int32"
          }
        },
        "additionalProperties": false
      },
      "DynamicObject": {
        "type": "object",
        "additionalProperties": false
      },
      "EntityConnectionCreated": {
        "required": [
          "entity",
          "id",
          "label",
          "other",
          "reverseLabel",
          "timestamp",
          "type",
          "user",
          "workspace"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "timestamp": {
            "type": "string",
            "format": "date-time"
          },
          "entity": {
            "$ref": "#/components/schemas/BaseWorkspaceEntityEntityReference"
          },
          "type": {
            "type": "string"
          },
          "user": {
            "$ref": "#/components/schemas/ActivityUserReference"
          },
          "workspace": {
            "type": "string"
          },
          "other": {
            "$ref": "#/components/schemas/IConnectableEntityReference"
          },
          "label": {
            "type": "string"
          },
          "reverseLabel": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "EntityConnectionDeleted": {
        "required": [
          "entity",
          "id",
          "label",
          "other",
          "reverseLabel",
          "timestamp",
          "type",
          "user",
          "workspace"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "timestamp": {
            "type": "string",
            "format": "date-time"
          },
          "entity": {
            "$ref": "#/components/schemas/BaseWorkspaceEntityEntityReference"
          },
          "type": {
            "type": "string"
          },
          "user": {
            "$ref": "#/components/schemas/ActivityUserReference"
          },
          "workspace": {
            "type": "string"
          },
          "other": {
            "$ref": "#/components/schemas/IConnectableEntityReference"
          },
          "label": {
            "type": "string"
          },
          "reverseLabel": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "EventType": {
        "enum": [
          "AccountAccountCodeUpdated",
          "AccountAccountStatusUpdated",
          "AccountAccountTypeUpdated",
          "AccountAttributesUpdated",
          "AccountBillingAddressUpdated",
          "AccountChamberOfCommerceRubricationCodesUpdated",
          "AccountChamberOfCommerceUpdated",
          "AccountCommerceSettingsUpdated",
          "AccountCreated",
          "AccountCustomFieldsUpdated",
          "AccountDeleted",
          "AccountDescriptionUpdated",
          "AccountDisplayNameUpdated",
          "AccountEmailsUpdated",
          "AccountEmployeesUpdated",
          "AccountExternalReferenceUpdated",
          "AccountIndustriesUpdated",
          "AccountLastContactMomentUpdated",
          "AccountLinksUpdated",
          "AccountNotesUpdated",
          "AccountOtherAddressesUpdated",
          "AccountOwnerUpdated",
          "AccountPhoneNumbersUpdated",
          "AccountProductCatalogUpdated",
          "AccountSalesOrderProcessorUpdated",
          "AccountShippingAddressUpdated",
          "AccountTagsUpdated",
          "AccountVatNumberUpdated",
          "AccountVatValidationDateUpdated",
          "AccountVisitingAddressUpdated",
          "AtomicScriptAtomicNameUpdated",
          "AtomicScriptAtomicScriptTypeUpdated",
          "AtomicScriptContinueOnErrorUpdated",
          "AtomicScriptCreated",
          "AtomicScriptDeleted",
          "AtomicScriptEnabledUpdated",
          "AtomicScriptExternalReferenceUpdated",
          "AtomicScriptOrderUpdated",
          "AtomicScriptScriptUpdated",
          "AtomicScriptTimeoutUpdated",
          "AtomicScriptTitleUpdated",
          "BrandCreated",
          "BrandDeleted",
          "BrandExternalReferenceUpdated",
          "BrandImageUrlUpdated",
          "BrandNameUpdated",
          "BrandVisibilitySettingsUpdated",
          "ClientLoginCreated",
          "ClientLoginDeleted",
          "ClientLoginEmailUpdated",
          "ClientLoginExternalReferenceUpdated",
          "ClientLoginUsernameUpdated",
          "CommentBodyFormatUpdated",
          "CommentBodyUpdated",
          "CommentCreated",
          "CommentExternalReferenceUpdated",
          "ContactAddressesUpdated",
          "ContactAttributesUpdated",
          "ContactClientLoginUpdated",
          "ContactCommerceSettingsUpdated",
          "ContactCreated",
          "ContactCustomFieldsUpdated",
          "ContactDateOfBirthUpdated",
          "ContactDeleted",
          "ContactDescriptionUpdated",
          "ContactDisplayOrderUpdated",
          "ContactEmailsUpdated",
          "ContactExternalReferenceUpdated",
          "ContactFirstNameUpdated",
          "ContactGenderUpdated",
          "ContactInterestsAndHobbiesUpdated",
          "ContactJobTitleUpdated",
          "ContactLastContactMomentUpdated",
          "ContactLastNameUpdated",
          "ContactLinksUpdated",
          "ContactMiddleNameUpdated",
          "ContactNotesUpdated",
          "ContactOwnerUpdated",
          "ContactPhoneNumbersUpdated",
          "ContactSalesOrderProcessorUpdated",
          "ContactTagsUpdated",
          "ContactTitleUpdated",
          "ContentPageBodyUpdated",
          "ContentPageCreated",
          "ContentPageDeleted",
          "ContentPageDisplayNameUpdated",
          "ContentPageDisplayOrderUpdated",
          "ContentPageExternalReferenceUpdated",
          "ContentPageGroupNameUpdated",
          "ContentPageLanguageUpdated",
          "ContentPageShowInFooterUpdated",
          "ContentPageShowInMenuUpdated",
          "ContentPageUrlUpdated",
          "CurrencyConversionRateUpdated",
          "CurrencyCreated",
          "CurrencyDeleted",
          "CurrencyExternalReferenceUpdated",
          "DealAccountUpdated",
          "DealCreated",
          "DealDeleted",
          "DealDescriptionUpdated",
          "DealEndDateUpdated",
          "DealExpectedRevenueUpdated",
          "DealExternalReferenceUpdated",
          "DealOwnerUpdated",
          "DealPipelineUpdated",
          "DealStartDateUpdated",
          "DealStatusUpdated",
          "DealSuccessRateUpdated",
          "DealTagsUpdated",
          "DealTitleUpdated",
          "EntityConnectionCreated",
          "EntityConnectionDeleted",
          "FavouriteProductCreated",
          "FavouriteProductDeleted",
          "LocationAddressUpdated",
          "LocationCreated",
          "LocationCustomFieldsUpdated",
          "LocationDeleted",
          "LocationDescriptionUpdated",
          "LocationDisplayOrderUpdated",
          "LocationEmailUpdated",
          "LocationExternalReferenceUpdated",
          "LocationImageUpdated",
          "LocationIsPickupLocationUpdated",
          "LocationIsStockLocationUpdated",
          "LocationIsWarehouseUpdated",
          "LocationNameUpdated",
          "LocationOpeningTimesUpdated",
          "LocationPhoneNumberUpdated",
          "PipelineCreated",
          "PipelineDeleted",
          "PipelineDescriptionUpdated",
          "PipelineExternalReferenceUpdated",
          "PipelineOptionsUpdated",
          "PipelineSummariesUpdated",
          "PipelineTitleUpdated",
          "ProductActiveUpdated",
          "ProductAttributeCreated",
          "ProductAttributeDeleted",
          "ProductAttributeExternalReferenceUpdated",
          "ProductAttributeLinkCreated",
          "ProductAttributeLinkDeleted",
          "ProductAttributeNameUpdated",
          "ProductBarcodesUpdated",
          "ProductBrandUpdated",
          "ProductCatalogCreated",
          "ProductCatalogDeleted",
          "ProductCatalogExternalReferenceUpdated",
          "ProductCatalogLinkCreated",
          "ProductCatalogLinkDeleted",
          "ProductCatalogNameUpdated",
          "ProductCategoryActiveUpdated",
          "ProductCategoryCreated",
          "ProductCategoryCustomFieldsUpdated",
          "ProductCategoryDeleted",
          "ProductCategoryDisplayContentCreated",
          "ProductCategoryDisplayContentDeleted",
          "ProductCategoryDisplayContentDescriptionFormatUpdated",
          "ProductCategoryDisplayContentDescriptionUpdated",
          "ProductCategoryDisplayContentExcerptUpdated",
          "ProductCategoryDisplayContentExternalReferenceUpdated",
          "ProductCategoryDisplayContentSeoMetaUpdated",
          "ProductCategoryDisplayContentTitleUpdated",
          "ProductCategoryDisplayOrderUpdated",
          "ProductCategoryExternalReferenceUpdated",
          "ProductCategoryImageUpdated",
          "ProductCategoryLinkCreated",
          "ProductCategoryLinkDeleted",
          "ProductCategoryNameUpdated",
          "ProductCategoryParentUpdated",
          "ProductCategoryVisibilityUpdated",
          "ProductCreated",
          "ProductCustomFieldsUpdated",
          "ProductDeleted",
          "ProductDisplayContentCreated",
          "ProductDisplayContentDeleted",
          "ProductDisplayContentDescriptionFormatUpdated",
          "ProductDisplayContentDescriptionUpdated",
          "ProductDisplayContentExcerptUpdated",
          "ProductDisplayContentExternalReferenceUpdated",
          "ProductDisplayContentSeoMetaUpdated",
          "ProductDisplayContentTitleUpdated",
          "ProductDisplayOrderUpdated",
          "ProductExternalReferenceUpdated",
          "ProductGtinUpdated",
          "ProductHyperlinksUpdated",
          "ProductImagesUpdated",
          "ProductIntroducedAtUpdated",
          "ProductLinkCreated",
          "ProductLinkDeleted",
          "ProductManufacturerCreated",
          "ProductManufacturerDeleted",
          "ProductManufacturerEmailUpdated",
          "ProductManufacturerExternalReferenceUpdated",
          "ProductManufacturerNameUpdated",
          "ProductManufacturerUpdated",
          "ProductNameUpdated",
          "ProductPackingUpdated",
          "ProductPriceUpdated",
          "ProductProductCodeUpdated",
          "ProductProductTypeUpdated",
          "ProductSalesSettingsUpdated",
          "ProductSearchCodeUpdated",
          "ProductShowStockUpdated",
          "ProductSkuUpdated",
          "ProductTagsUpdated",
          "ProductVisibilitySettingsUpdated",
          "SalesOrderBillingUpdated",
          "SalesOrderChannelUpdated",
          "SalesOrderCreated",
          "SalesOrderCustomFieldsUpdated",
          "SalesOrderDeleted",
          "SalesOrderDeliveryMethodUpdated",
          "SalesOrderDeliveryUpdated",
          "SalesOrderDescriptionUpdated",
          "SalesOrderExternalReferenceUpdated",
          "SalesOrderLineAttributesUpdated",
          "SalesOrderLineCreated",
          "SalesOrderLineDeleted",
          "SalesOrderLineDeliveryUpdated",
          "SalesOrderLineExternalReferenceUpdated",
          "SalesOrderLineQuantityUpdated",
          "SalesOrderLineReferencesUpdated",
          "SalesOrderLineStatusUpdated",
          "SalesOrderLineTotalsUpdated",
          "SalesOrderOrderedAtUpdated",
          "SalesOrderOrderingCompleted",
          "SalesOrderOrderingStatusUpdated",
          "SalesOrderPaymentUpdated",
          "SalesOrderProcessingUpdated",
          "SalesOrderReferencesUpdated",
          "SalesOrderTagsUpdated",
          "StockCreated",
          "StockDeleted",
          "StockExternalReferenceUpdated",
          "StockQuantityUpdated",
          "WebhookCreated",
          "WebhookDeleted",
          "WebhookDeliveryEndpointUpdated",
          "WebhookEnabledUpdated",
          "WebhookHeadersUpdated",
          "WebhookNameUpdated",
          "WebhookSkipSystemUpdated",
          "WebhookTopicNameUpdated",
          "WorkspaceCommerceSettingsUpdated",
          "WorkspaceCreated",
          "WorkspaceDeleted",
          "WorkspaceNameUpdated",
          "WorkspaceSettingsUpdated"
        ],
        "type": "string"
      },
      "FavouriteOrigin": {
        "enum": [
          "Personal",
          "Suggested"
        ],
        "type": "string"
      },
      "FavouriteProductCreated": {
        "required": [
          "entity",
          "id",
          "timestamp",
          "type",
          "user",
          "workspace"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "timestamp": {
            "type": "string",
            "format": "date-time"
          },
          "entity": {
            "$ref": "#/components/schemas/BaseWorkspaceEntityEntityReference"
          },
          "type": {
            "type": "string"
          },
          "user": {
            "$ref": "#/components/schemas/ActivityUserReference"
          },
          "workspace": {
            "type": "string"
          }
        },
        "additionalProperties": false
      },
      "FavouriteProductDeleted": {
        "required": [
          "entity",
          "id",
          "timestamp",
          "type",
          "user",
          "workspace"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "timestamp": {
            "type": "string",
            "format": "date-time"
          },
          "entity": {
            "$ref": "#/components/schemas/BaseWorkspaceEntityEntityReference"
          },
          "type": {
            "type": "string"
          },
          "user": {
            "$ref": "#/components/schemas/ActivityUserReference"
          },
          "workspace": {
            "type": "string"
          }
        },
        "additionalProperties": false
      },
      "FavouriteProductSorting": {
        "enum": [
          "CreatedAt"
        ],
        "type": "string"
      },
      "FontStylesheet": {
        "required": [
          "integrity",
          "name",
          "url"
        ],
        "type": "object",
        "properties": {
          "name": {
            "type": "string"
          },
          "url": {
            "type": "string"
          },
          "integrity": {
            "type": "string"
          }
        },
        "additionalProperties": false
      },
      "GetAccountFiltersResponse": {
        "required": [
          "connections",
          "industries",
          "owners",
          "tags"
        ],
        "type": "object",
        "properties": {
          "connections": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/StringStringKeyValuePair"
            }
          },
          "owners": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/StringStringKeyValuePair"
            }
          },
          "tags": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "industries": {
            "type": "array",
            "items": {
              "type": "string"
            }
          }
        },
        "additionalProperties": false
      },
      "GetAccountResponse": {
        "required": [
          "chamberOfCommerceRubricationCodes",
          "connections",
          "createdAt",
          "customFields",
          "displayName",
          "emails",
          "id",
          "industries",
          "links",
          "modifiedAt",
          "otherAddresses",
          "phoneNumbers",
          "tags",
          "workspace"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "workspace": {
            "type": "string"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "modifiedAt": {
            "type": "string",
            "format": "date-time"
          },
          "externalReference": {
            "type": "string",
            "nullable": true
          },
          "displayName": {
            "type": "string"
          },
          "description": {
            "type": "string",
            "nullable": true
          },
          "notes": {
            "type": "string",
            "nullable": true
          },
          "accountCode": {
            "type": "string",
            "nullable": true
          },
          "accountStatus": {
            "type": "string",
            "nullable": true
          },
          "accountType": {
            "$ref": "#/components/schemas/AccountType"
          },
          "ownerId": {
            "type": "string",
            "nullable": true
          },
          "visitingAddress": {
            "$ref": "#/components/schemas/Address"
          },
          "billingAddress": {
            "$ref": "#/components/schemas/Address"
          },
          "shippingAddress": {
            "$ref": "#/components/schemas/Address"
          },
          "otherAddresses": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Address"
            }
          },
          "salesOrderProcessorId": {
            "type": "string",
            "nullable": true
          },
          "connections": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/GetEntityConnectionResponse"
            }
          },
          "emails": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CustomField"
            }
          },
          "phoneNumbers": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CustomField"
            }
          },
          "links": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CustomField"
            }
          },
          "industries": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "employees": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "vatNumber": {
            "type": "string",
            "nullable": true
          },
          "chamberOfCommerce": {
            "type": "string",
            "nullable": true
          },
          "chamberOfCommerceRubricationCodes": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "vatValidationDate": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "productCatalogId": {
            "type": "string",
            "nullable": true
          },
          "tags": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "lastContactMoment": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "attributes": {
            "type": "object",
            "additionalProperties": {
              "type": "string"
            },
            "nullable": true
          },
          "customFields": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CustomField"
            }
          },
          "commerceSettings": {
            "$ref": "#/components/schemas/AccountCommerceSettings"
          },
          "owner": {
            "$ref": "#/components/schemas/HeartworkUserEntityReference"
          },
          "salesOrderProcessor": {
            "$ref": "#/components/schemas/LocationEntityReference"
          },
          "productCatalog": {
            "$ref": "#/components/schemas/ProductCatalogEntityReference"
          }
        },
        "additionalProperties": false
      },
      "GetAccountsResponse": {
        "required": [
          "data",
          "total"
        ],
        "type": "object",
        "properties": {
          "data": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/GetAccountResponse"
            }
          },
          "total": {
            "type": "integer",
            "format": "int32"
          }
        },
        "additionalProperties": false
      },
      "GetAccountsStatsGrandTotals": {
        "required": [
          "dealsCount",
          "dealsTotal",
          "ordersCount",
          "ordersTotal",
          "revenueCount",
          "revenueTotal"
        ],
        "type": "object",
        "properties": {
          "ordersTotal": {
            "type": "number",
            "format": "double"
          },
          "ordersCount": {
            "type": "integer",
            "format": "int32"
          },
          "dealsTotal": {
            "type": "number",
            "format": "double"
          },
          "dealsCount": {
            "type": "integer",
            "format": "int32"
          },
          "revenueTotal": {
            "type": "number",
            "format": "double"
          },
          "revenueCount": {
            "type": "integer",
            "format": "int32"
          }
        },
        "additionalProperties": false
      },
      "GetAccountsStatsResponse": {
        "required": [
          "data",
          "grandTotals",
          "total"
        ],
        "type": "object",
        "properties": {
          "grandTotals": {
            "$ref": "#/components/schemas/GetAccountsStatsGrandTotals"
          },
          "data": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/AccountStats"
            }
          },
          "total": {
            "type": "integer",
            "format": "int32"
          }
        },
        "additionalProperties": false
      },
      "GetActivitiesRequest": {
        "required": [
          "skip",
          "sortBy",
          "take"
        ],
        "type": "object",
        "properties": {
          "take": {
            "type": "integer",
            "format": "int32"
          },
          "skip": {
            "type": "integer",
            "format": "int32"
          },
          "sortOrder": {
            "$ref": "#/components/schemas/SortDirection"
          },
          "sortBy": {
            "$ref": "#/components/schemas/ActivitySort"
          },
          "entityIds": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "timestamp": {
            "$ref": "#/components/schemas/DateTimeOffsetNullableRangeFilter"
          },
          "types": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/EventType"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "GetActivitiesResponse": {
        "required": [
          "data",
          "total"
        ],
        "type": "object",
        "properties": {
          "data": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Activity"
            }
          },
          "total": {
            "type": "integer",
            "format": "int32"
          }
        },
        "additionalProperties": false
      },
      "GetActivityStatisticsResponse": {
        "required": [
          "totalActivityCount"
        ],
        "type": "object",
        "properties": {
          "totalActivityCount": {
            "type": "integer",
            "format": "int32"
          }
        },
        "additionalProperties": false
      },
      "GetActivityTimelineResponse": {
        "required": [
          "metrics"
        ],
        "type": "object",
        "properties": {
          "metrics": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ActivityTimelineMetric"
            }
          }
        },
        "additionalProperties": false
      },
      "GetAppResponse": {
        "required": [
          "createdAt",
          "displayOrder",
          "id",
          "modifiedAt",
          "name"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "modifiedAt": {
            "type": "string",
            "format": "date-time"
          },
          "name": {
            "type": "string"
          },
          "root": {
            "$ref": "#/components/schemas/AppRoute"
          },
          "displayOrder": {
            "type": "integer",
            "format": "int32"
          }
        },
        "additionalProperties": false
      },
      "GetAppsResponse": {
        "required": [
          "data",
          "total"
        ],
        "type": "object",
        "properties": {
          "data": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/GetAppResponse"
            }
          },
          "total": {
            "type": "integer",
            "format": "int32"
          }
        },
        "additionalProperties": false
      },
      "GetAtomicResponse": {
        "required": [
          "displayName",
          "name",
          "type"
        ],
        "type": "object",
        "properties": {
          "name": {
            "type": "string"
          },
          "displayName": {
            "type": "string"
          },
          "type": {
            "$ref": "#/components/schemas/AtomicType"
          }
        },
        "additionalProperties": false
      },
      "GetAtomicScriptResponse": {
        "required": [
          "atomicName",
          "atomicScriptType",
          "continueOnError",
          "createdAt",
          "enabled",
          "id",
          "modifiedAt",
          "order",
          "script",
          "timeout",
          "title",
          "workspace"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "workspace": {
            "type": "string"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "modifiedAt": {
            "type": "string",
            "format": "date-time"
          },
          "externalReference": {
            "type": "string",
            "nullable": true
          },
          "title": {
            "type": "string"
          },
          "atomicName": {
            "type": "string"
          },
          "atomicScriptType": {
            "$ref": "#/components/schemas/AtomicScriptType"
          },
          "script": {
            "type": "string"
          },
          "enabled": {
            "type": "boolean"
          },
          "continueOnError": {
            "type": "boolean"
          },
          "timeout": {
            "type": "integer",
            "format": "int32"
          },
          "order": {
            "type": "integer",
            "format": "int32"
          }
        },
        "additionalProperties": false
      },
      "GetAtomicScriptsResponse": {
        "required": [
          "data",
          "total"
        ],
        "type": "object",
        "properties": {
          "data": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/GetAtomicScriptResponse"
            }
          },
          "total": {
            "type": "integer",
            "format": "int32"
          }
        },
        "additionalProperties": false
      },
      "GetAtomicsResponse": {
        "required": [
          "data",
          "total"
        ],
        "type": "object",
        "properties": {
          "data": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/GetAtomicResponse"
            }
          },
          "total": {
            "type": "integer",
            "format": "int32"
          }
        },
        "additionalProperties": false
      },
      "GetAttachmentDirectoryResponse": {
        "required": [
          "attachedTo",
          "attachedToType",
          "children",
          "isSystem",
          "name",
          "path"
        ],
        "type": "object",
        "properties": {
          "name": {
            "type": "string"
          },
          "path": {
            "type": "string"
          },
          "isSystem": {
            "type": "boolean"
          },
          "children": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/GetFileSystemItemResponse"
            }
          },
          "attachedTo": {
            "type": "string"
          },
          "attachedToType": {
            "$ref": "#/components/schemas/AttachmentEntityType"
          }
        },
        "additionalProperties": false
      },
      "GetAvailableCurrenciesResponse": {
        "required": [
          "data",
          "total"
        ],
        "type": "object",
        "properties": {
          "data": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/GetAvailableCurrencyResponse"
            }
          },
          "total": {
            "type": "integer",
            "format": "int32"
          }
        },
        "additionalProperties": false
      },
      "GetAvailableCurrencyResponse": {
        "required": [
          "code"
        ],
        "type": "object",
        "properties": {
          "code": {
            "type": "string"
          }
        },
        "additionalProperties": false
      },
      "GetAvailableLanguageResponse": {
        "required": [
          "code"
        ],
        "type": "object",
        "properties": {
          "code": {
            "type": "string"
          }
        },
        "additionalProperties": false
      },
      "GetAvailableLanguagesResponse": {
        "required": [
          "data",
          "total"
        ],
        "type": "object",
        "properties": {
          "data": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/GetAvailableLanguageResponse"
            }
          },
          "total": {
            "type": "integer",
            "format": "int32"
          }
        },
        "additionalProperties": false
      },
      "GetBrandResponse": {
        "required": [
          "createdAt",
          "id",
          "modifiedAt",
          "name",
          "visibilitySettings",
          "workspace"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "workspace": {
            "type": "string"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "modifiedAt": {
            "type": "string",
            "format": "date-time"
          },
          "externalReference": {
            "type": "string",
            "nullable": true
          },
          "name": {
            "type": "string"
          },
          "imageUrl": {
            "type": "string",
            "nullable": true
          },
          "visibilitySettings": {
            "$ref": "#/components/schemas/BrandVisibilitySettings"
          }
        },
        "additionalProperties": false
      },
      "GetBrandsResponse": {
        "required": [
          "data",
          "total"
        ],
        "type": "object",
        "properties": {
          "data": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/GetBrandResponse"
            }
          },
          "total": {
            "type": "integer",
            "format": "int32"
          }
        },
        "additionalProperties": false
      },
      "GetClientLoginResponse": {
        "required": [
          "createdAt",
          "email",
          "id",
          "modifiedAt",
          "profile",
          "username",
          "workspace"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "workspace": {
            "type": "string"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "modifiedAt": {
            "type": "string",
            "format": "date-time"
          },
          "externalReference": {
            "type": "string",
            "nullable": true
          },
          "username": {
            "type": "string"
          },
          "email": {
            "type": "string"
          },
          "profile": {
            "$ref": "#/components/schemas/ClientProfile"
          }
        },
        "additionalProperties": false
      },
      "GetClientLoginsResponse": {
        "required": [
          "data",
          "total"
        ],
        "type": "object",
        "properties": {
          "data": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/GetClientLoginResponse"
            }
          },
          "total": {
            "type": "integer",
            "format": "int32"
          }
        },
        "additionalProperties": false
      },
      "GetCommentResponse": {
        "required": [
          "body",
          "bodyFormat",
          "createdAt",
          "createdBy",
          "entity",
          "id",
          "isEdited",
          "modifiedAt",
          "workspace"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "workspace": {
            "type": "string"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "modifiedAt": {
            "type": "string",
            "format": "date-time"
          },
          "externalReference": {
            "type": "string",
            "nullable": true
          },
          "entity": {
            "$ref": "#/components/schemas/BaseWorkspaceEntityEntityReference"
          },
          "body": {
            "type": "string"
          },
          "bodyFormat": {
            "$ref": "#/components/schemas/CommentBodyFormat"
          },
          "createdBy": {
            "$ref": "#/components/schemas/HeartworkUserEntityReference"
          },
          "isEdited": {
            "type": "boolean",
            "readOnly": true
          }
        },
        "additionalProperties": false
      },
      "GetCommentsResponse": {
        "required": [
          "data",
          "total"
        ],
        "type": "object",
        "properties": {
          "data": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/GetCommentResponse"
            }
          },
          "total": {
            "type": "integer",
            "format": "int32"
          }
        },
        "additionalProperties": false
      },
      "GetContactFiltersResponse": {
        "required": [
          "connections",
          "jobTitles",
          "owners",
          "tags"
        ],
        "type": "object",
        "properties": {
          "connections": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/StringStringKeyValuePair"
            }
          },
          "owners": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/StringStringKeyValuePair"
            }
          },
          "tags": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "jobTitles": {
            "type": "array",
            "items": {
              "type": "string"
            }
          }
        },
        "additionalProperties": false
      },
      "GetContactResponse": {
        "required": [
          "addresses",
          "connections",
          "createdAt",
          "customFields",
          "displayName",
          "displayOrder",
          "emails",
          "firstName",
          "id",
          "lastName",
          "links",
          "modifiedAt",
          "phoneNumbers",
          "tags",
          "workspace"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "workspace": {
            "type": "string"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "modifiedAt": {
            "type": "string",
            "format": "date-time"
          },
          "externalReference": {
            "type": "string",
            "nullable": true
          },
          "firstName": {
            "type": "string"
          },
          "lastName": {
            "type": "string"
          },
          "displayName": {
            "type": "string"
          },
          "middleName": {
            "type": "string",
            "nullable": true
          },
          "description": {
            "type": "string",
            "nullable": true
          },
          "dateOfBirth": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "gender": {
            "type": "string",
            "nullable": true
          },
          "title": {
            "type": "string",
            "nullable": true
          },
          "jobTitle": {
            "type": "string",
            "nullable": true
          },
          "notes": {
            "type": "string",
            "nullable": true
          },
          "ownerId": {
            "type": "string",
            "nullable": true
          },
          "clientLoginId": {
            "type": "string",
            "nullable": true
          },
          "interestsAndHobbies": {
            "type": "string",
            "nullable": true
          },
          "addresses": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Address"
            }
          },
          "emails": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CustomField"
            }
          },
          "phoneNumbers": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CustomField"
            }
          },
          "links": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CustomField"
            }
          },
          "lastContactMoment": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "displayOrder": {
            "type": "integer",
            "format": "int32"
          },
          "salesOrderProcessorId": {
            "type": "string",
            "nullable": true
          },
          "commerceSettings": {
            "$ref": "#/components/schemas/ContactCommerceSettings"
          },
          "attributes": {
            "type": "object",
            "additionalProperties": {
              "type": "string"
            },
            "nullable": true
          },
          "connections": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/GetEntityConnectionResponse"
            }
          },
          "customFields": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CustomField"
            }
          },
          "tags": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "owner": {
            "$ref": "#/components/schemas/HeartworkUserEntityReference"
          },
          "salesOrderProcessor": {
            "$ref": "#/components/schemas/LocationEntityReference"
          },
          "clientLogin": {
            "$ref": "#/components/schemas/ClientLoginEntityReference"
          }
        },
        "additionalProperties": false
      },
      "GetContactsResponse": {
        "required": [
          "data",
          "total"
        ],
        "type": "object",
        "properties": {
          "data": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/GetContactResponse"
            }
          },
          "total": {
            "type": "integer",
            "format": "int32"
          }
        },
        "additionalProperties": false
      },
      "GetContentPageResponse": {
        "required": [
          "createdAt",
          "displayName",
          "displayOrder",
          "id",
          "modifiedAt",
          "showInFooter",
          "showInMenu",
          "url",
          "workspace"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "workspace": {
            "type": "string"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "modifiedAt": {
            "type": "string",
            "format": "date-time"
          },
          "externalReference": {
            "type": "string",
            "nullable": true
          },
          "url": {
            "type": "string"
          },
          "displayName": {
            "type": "string"
          },
          "displayOrder": {
            "type": "integer",
            "format": "int32"
          },
          "language": {
            "type": "string",
            "nullable": true
          },
          "groupName": {
            "type": "string",
            "nullable": true
          },
          "showInMenu": {
            "type": "boolean"
          },
          "showInFooter": {
            "type": "boolean"
          }
        },
        "additionalProperties": false
      },
      "GetContentPagesResponse": {
        "required": [
          "data",
          "total"
        ],
        "type": "object",
        "properties": {
          "data": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/GetContentPageResponse"
            }
          },
          "total": {
            "type": "integer",
            "format": "int32"
          }
        },
        "additionalProperties": false
      },
      "GetCurrenciesResponse": {
        "required": [
          "data",
          "total"
        ],
        "type": "object",
        "properties": {
          "data": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/GetCurrencyResponse"
            }
          },
          "total": {
            "type": "integer",
            "format": "int32"
          }
        },
        "additionalProperties": false
      },
      "GetCurrencyResponse": {
        "required": [
          "code",
          "conversionRate",
          "createdAt",
          "id",
          "isDefault",
          "modifiedAt",
          "workspace"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "workspace": {
            "type": "string"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "modifiedAt": {
            "type": "string",
            "format": "date-time"
          },
          "externalReference": {
            "type": "string",
            "nullable": true
          },
          "code": {
            "type": "string"
          },
          "isDefault": {
            "type": "boolean"
          },
          "conversionRate": {
            "type": "number",
            "format": "double"
          }
        },
        "additionalProperties": false
      },
      "GetDealFiltersResponse": {
        "required": [
          "accounts",
          "connections",
          "owners",
          "revenueRange",
          "statuses",
          "tags"
        ],
        "type": "object",
        "properties": {
          "revenueRange": {
            "$ref": "#/components/schemas/DecimalRangeFilter"
          },
          "connections": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/StringStringKeyValuePair"
            }
          },
          "owners": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/StringStringKeyValuePair"
            }
          },
          "tags": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "statuses": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/StringStringKeyValuePair"
            }
          },
          "accounts": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/StringStringKeyValuePair"
            }
          }
        },
        "additionalProperties": false
      },
      "GetDealPeriodsResponse": {
        "required": [
          "data",
          "total"
        ],
        "type": "object",
        "properties": {
          "data": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/DealPeriod"
            }
          },
          "total": {
            "type": "integer",
            "format": "int32"
          }
        },
        "additionalProperties": false
      },
      "GetDealResponse": {
        "required": [
          "archived",
          "connections",
          "createdAt",
          "expectedRevenue",
          "id",
          "modifiedAt",
          "pipeline",
          "pipelineOptionValues",
          "statusId",
          "statusModifiedAt",
          "tags",
          "title",
          "workspace"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "workspace": {
            "type": "string"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "modifiedAt": {
            "type": "string",
            "format": "date-time"
          },
          "externalReference": {
            "type": "string",
            "nullable": true
          },
          "title": {
            "type": "string"
          },
          "description": {
            "type": "string",
            "nullable": true
          },
          "expectedRevenue": {
            "type": "number",
            "format": "double"
          },
          "owner": {
            "$ref": "#/components/schemas/HeartworkUserEntityReference"
          },
          "account": {
            "$ref": "#/components/schemas/AccountEntityReference"
          },
          "successRate": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "startDate": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "endDate": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "pipeline": {
            "$ref": "#/components/schemas/PipelineEntityReference"
          },
          "pipelineOptionValues": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/PipelineOptionValue"
            }
          },
          "statusId": {
            "type": "string"
          },
          "statusModifiedAt": {
            "type": "string",
            "format": "date-time"
          },
          "archived": {
            "type": "boolean"
          },
          "connections": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/GetEntityConnectionResponse"
            }
          },
          "tags": {
            "type": "array",
            "items": {
              "type": "string"
            }
          }
        },
        "additionalProperties": false
      },
      "GetDealStatisticsResponse": {
        "required": [
          "averageDurationInDays",
          "averageExpectedRevenue",
          "averageSuccessRate",
          "expiringDealsCount"
        ],
        "type": "object",
        "properties": {
          "averageSuccessRate": {
            "type": "number",
            "format": "double"
          },
          "averageDurationInDays": {
            "type": "number",
            "format": "double"
          },
          "averageExpectedRevenue": {
            "type": "number",
            "format": "double"
          },
          "expiringDealsCount": {
            "type": "number",
            "format": "double"
          }
        },
        "additionalProperties": false
      },
      "GetDealsExportResponse": {
        "required": [
          "data",
          "total"
        ],
        "type": "object",
        "properties": {
          "data": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/DealsExport"
            }
          },
          "total": {
            "type": "integer",
            "format": "int32"
          }
        },
        "additionalProperties": false
      },
      "GetDealsResponse": {
        "required": [
          "data",
          "total"
        ],
        "type": "object",
        "properties": {
          "data": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/GetDealResponse"
            }
          },
          "total": {
            "type": "integer",
            "format": "int32"
          }
        },
        "additionalProperties": false
      },
      "GetDirectoryResponse": {
        "required": [
          "children",
          "isSystem",
          "name",
          "path"
        ],
        "type": "object",
        "properties": {
          "name": {
            "type": "string"
          },
          "path": {
            "type": "string"
          },
          "isSystem": {
            "type": "boolean"
          },
          "children": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/GetFileSystemItemResponse"
            }
          }
        },
        "additionalProperties": false
      },
      "GetDocumentResponse": {
        "required": [
          "attachedTo",
          "contentType",
          "createdAt",
          "fileSize",
          "modifiedAt",
          "name",
          "path",
          "url"
        ],
        "type": "object",
        "properties": {
          "name": {
            "type": "string"
          },
          "path": {
            "type": "string",
            "nullable": true
          },
          "url": {
            "type": "string"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "modifiedAt": {
            "type": "string",
            "format": "date-time"
          },
          "fileSize": {
            "type": "integer",
            "format": "int64"
          },
          "contentType": {
            "type": "string"
          },
          "attachedTo": {
            "$ref": "#/components/schemas/IWorkspaceEntityEntityReference"
          }
        },
        "additionalProperties": false
      },
      "GetDocumentStructureResponse": {
        "required": [
          "data",
          "total"
        ],
        "type": "object",
        "properties": {
          "data": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/GetFileSystemItemResponse"
            }
          },
          "total": {
            "type": "integer",
            "format": "int32"
          }
        },
        "additionalProperties": false
      },
      "GetEntityConnectionResponse": {
        "required": [
          "entity",
          "label",
          "type"
        ],
        "type": "object",
        "properties": {
          "label": {
            "type": "string"
          },
          "reverseLabel": {
            "type": "string",
            "nullable": true
          },
          "type": {
            "type": "string"
          },
          "entity": {
            "$ref": "#/components/schemas/IConnectableEntityReference"
          }
        },
        "additionalProperties": false
      },
      "GetFavouriteProductResponse": {
        "required": [
          "clientLogin",
          "createdAt",
          "id",
          "modifiedAt",
          "origin",
          "product",
          "workspace"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "workspace": {
            "type": "string"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "modifiedAt": {
            "type": "string",
            "format": "date-time"
          },
          "externalReference": {
            "type": "string",
            "nullable": true
          },
          "origin": {
            "$ref": "#/components/schemas/FavouriteOrigin"
          },
          "product": {
            "$ref": "#/components/schemas/ProductEntityReference"
          },
          "clientLogin": {
            "$ref": "#/components/schemas/ClientLoginEntityReference"
          }
        },
        "additionalProperties": false
      },
      "GetFavouriteProductsResponse": {
        "required": [
          "data",
          "total"
        ],
        "type": "object",
        "properties": {
          "data": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/GetFavouriteProductResponse"
            }
          },
          "total": {
            "type": "integer",
            "format": "int32"
          }
        },
        "additionalProperties": false
      },
      "GetFileResponse": {
        "required": [
          "contentType",
          "name",
          "path"
        ],
        "type": "object",
        "properties": {
          "name": {
            "type": "string"
          },
          "path": {
            "type": "string"
          },
          "contentType": {
            "type": "string"
          }
        },
        "additionalProperties": false
      },
      "GetFileSystemItemResponse": {
        "required": [
          "name",
          "path"
        ],
        "type": "object",
        "oneOf": [
          {
            "$ref": "#/components/schemas/GetDirectoryResponse"
          },
          {
            "$ref": "#/components/schemas/GetFileResponse"
          },
          {
            "$ref": "#/components/schemas/GetAttachmentDirectoryResponse"
          }
        ],
        "properties": {
          "name": {
            "type": "string"
          },
          "path": {
            "type": "string"
          }
        },
        "additionalProperties": false,
        "discriminator": {
          "propertyName": "$type",
          "mapping": {
            "GetDirectoryResponse": "GetDirectoryResponse",
            "GetFileResponse": "GetFileResponse",
            "GetAttachmentDirectoryResponse": "GetAttachmentDirectoryResponse"
          }
        }
      },
      "GetHeartworkUserResponse": {
        "required": [
          "apps",
          "createdAt",
          "displayName",
          "email",
          "firstname",
          "id",
          "lastname",
          "modifiedAt",
          "username",
          "userType",
          "workspaces"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "modifiedAt": {
            "type": "string",
            "format": "date-time"
          },
          "externalReference": {
            "type": "string",
            "nullable": true
          },
          "userType": {
            "$ref": "#/components/schemas/HeartworkUserType"
          },
          "username": {
            "type": "string"
          },
          "email": {
            "type": "string"
          },
          "firstname": {
            "type": "string"
          },
          "lastname": {
            "type": "string"
          },
          "displayName": {
            "type": "string"
          },
          "workspaces": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "apps": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "picture": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "GetHeartworkUsersResponse": {
        "required": [
          "data",
          "total"
        ],
        "type": "object",
        "properties": {
          "data": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/GetHeartworkUserResponse"
            }
          },
          "total": {
            "type": "integer",
            "format": "int32"
          }
        },
        "additionalProperties": false
      },
      "GetLocationResponse": {
        "required": [
          "address",
          "createdAt",
          "customFields",
          "displayOrder",
          "id",
          "isPickupLocation",
          "isStockLocation",
          "isWarehouse",
          "modifiedAt",
          "name",
          "openingTimes",
          "workspace"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "workspace": {
            "type": "string"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "modifiedAt": {
            "type": "string",
            "format": "date-time"
          },
          "externalReference": {
            "type": "string",
            "nullable": true
          },
          "email": {
            "type": "string",
            "nullable": true
          },
          "name": {
            "type": "string"
          },
          "description": {
            "type": "string",
            "nullable": true
          },
          "phoneNumber": {
            "type": "string",
            "nullable": true
          },
          "image": {
            "type": "string",
            "nullable": true
          },
          "displayOrder": {
            "type": "integer",
            "format": "int32"
          },
          "address": {
            "$ref": "#/components/schemas/Address"
          },
          "isWarehouse": {
            "type": "boolean"
          },
          "isPickupLocation": {
            "type": "boolean"
          },
          "isStockLocation": {
            "type": "boolean"
          },
          "openingTimes": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/OpeningTime"
            }
          },
          "customFields": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CustomField"
            }
          }
        },
        "additionalProperties": false
      },
      "GetLocationsResponse": {
        "required": [
          "data",
          "total"
        ],
        "type": "object",
        "properties": {
          "data": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/GetLocationResponse"
            }
          },
          "total": {
            "type": "integer",
            "format": "int32"
          }
        },
        "additionalProperties": false
      },
      "GetMissingAttributeProductIssueResponse": {
        "required": [
          "attributeId",
          "categoryId",
          "id",
          "isIgnored",
          "productId",
          "type"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "productId": {
            "type": "string"
          },
          "isIgnored": {
            "type": "boolean"
          },
          "type": {
            "type": "string"
          },
          "categoryId": {
            "type": "string"
          },
          "attributeId": {
            "type": "string"
          }
        },
        "additionalProperties": false
      },
      "GetMissingDescriptionProductIssueResponse": {
        "required": [
          "id",
          "isIgnored",
          "language",
          "productId",
          "type"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "productId": {
            "type": "string"
          },
          "isIgnored": {
            "type": "boolean"
          },
          "type": {
            "type": "string"
          },
          "language": {
            "type": "string"
          }
        },
        "additionalProperties": false
      },
      "GetMissingImageProductIssueResponse": {
        "required": [
          "id",
          "isIgnored",
          "productId",
          "type"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "productId": {
            "type": "string"
          },
          "isIgnored": {
            "type": "boolean"
          },
          "type": {
            "type": "string"
          }
        },
        "additionalProperties": false
      },
      "GetPipelineResponse": {
        "required": [
          "createdAt",
          "id",
          "modifiedAt",
          "options",
          "statuses",
          "summaries",
          "title",
          "workspace"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "workspace": {
            "type": "string"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "modifiedAt": {
            "type": "string",
            "format": "date-time"
          },
          "externalReference": {
            "type": "string",
            "nullable": true
          },
          "title": {
            "type": "string"
          },
          "description": {
            "type": "string",
            "nullable": true
          },
          "options": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/PipelineOption"
            }
          },
          "summaries": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/PipelineSummary"
            }
          },
          "statuses": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/PipelineStatus"
            }
          }
        },
        "additionalProperties": false
      },
      "GetPipelineStatisticsResponse": {
        "required": [
          "statistics"
        ],
        "type": "object",
        "properties": {
          "statistics": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/GetPipelineStatusStatisticsResponse"
            }
          }
        },
        "additionalProperties": false
      },
      "GetPipelineStatusStatisticsResponse": {
        "required": [
          "pipelineId",
          "statusId",
          "summaryStatistics"
        ],
        "type": "object",
        "properties": {
          "statusId": {
            "type": "string"
          },
          "pipelineId": {
            "type": "string"
          },
          "summaryStatistics": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/PipelineSummaryStatistic"
            }
          }
        },
        "additionalProperties": false
      },
      "GetPipelinesResponse": {
        "required": [
          "data",
          "total"
        ],
        "type": "object",
        "properties": {
          "data": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/GetPipelineResponse"
            }
          },
          "total": {
            "type": "integer",
            "format": "int32"
          }
        },
        "additionalProperties": false
      },
      "GetPriceRequest": {
        "required": [
          "id"
        ],
        "type": "object",
        "properties": {
          "customerId": {
            "type": "string",
            "nullable": true
          },
          "id": {
            "type": "string"
          }
        },
        "additionalProperties": false
      },
      "GetPriceResponse": {
        "required": [
          "customerPrice",
          "productId",
          "purchasePrice",
          "salesPrice",
          "shouldRequestPrice",
          "sku",
          "suggestedRetailPrice",
          "vatCode"
        ],
        "type": "object",
        "properties": {
          "productId": {
            "type": "string"
          },
          "sku": {
            "type": "string",
            "nullable": true
          },
          "salesPrice": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "purchasePrice": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "suggestedRetailPrice": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "customerPrice": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "shouldRequestPrice": {
            "type": "boolean"
          },
          "vatCode": {
            "$ref": "#/components/schemas/VatCode"
          }
        },
        "additionalProperties": false
      },
      "GetPricesRequest": {
        "required": [
          "productIdsAndQuantities"
        ],
        "type": "object",
        "properties": {
          "productIdsAndQuantities": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ProductIdentifierAndQuantity"
            }
          },
          "customerId": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "GetPricesResponse": {
        "required": [
          "data",
          "total"
        ],
        "type": "object",
        "properties": {
          "data": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/GetPriceResponse"
            }
          },
          "total": {
            "type": "integer",
            "format": "int32"
          }
        },
        "additionalProperties": false
      },
      "GetProductAttributeLinkResponse": {
        "required": [
          "attribute",
          "configurable"
        ],
        "type": "object",
        "properties": {
          "attribute": {
            "$ref": "#/components/schemas/ProductAttributeEntityReference"
          },
          "selectedOption": {
            "$ref": "#/components/schemas/ProductAttributeOption"
          },
          "configurable": {
            "type": "boolean"
          }
        },
        "additionalProperties": false
      },
      "GetProductAttributeResponse": {
        "required": [
          "categoryIds",
          "createdAt",
          "id",
          "modifiedAt",
          "name",
          "options",
          "productCount",
          "workspace"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "workspace": {
            "type": "string"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "modifiedAt": {
            "type": "string",
            "format": "date-time"
          },
          "externalReference": {
            "type": "string",
            "nullable": true
          },
          "name": {
            "type": "string"
          },
          "categoryIds": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "productCount": {
            "type": "integer",
            "format": "int32"
          },
          "options": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ProductAttributeOptionDisplay"
            }
          }
        },
        "additionalProperties": false
      },
      "GetProductAttributesResponse": {
        "required": [
          "data",
          "total"
        ],
        "type": "object",
        "properties": {
          "data": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/GetProductAttributeResponse"
            }
          },
          "total": {
            "type": "integer",
            "format": "int32"
          }
        },
        "additionalProperties": false
      },
      "GetProductCatalogResponse": {
        "required": [
          "categoryCount",
          "createdAt",
          "id",
          "modifiedAt",
          "name",
          "productCount",
          "workspace"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "workspace": {
            "type": "string"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "modifiedAt": {
            "type": "string",
            "format": "date-time"
          },
          "externalReference": {
            "type": "string",
            "nullable": true
          },
          "name": {
            "type": "string"
          },
          "categoryCount": {
            "type": "integer",
            "format": "int32"
          },
          "productCount": {
            "type": "integer",
            "format": "int32"
          }
        },
        "additionalProperties": false
      },
      "GetProductCatalogsResponse": {
        "required": [
          "data",
          "total"
        ],
        "type": "object",
        "properties": {
          "data": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/GetProductCatalogResponse"
            }
          },
          "total": {
            "type": "integer",
            "format": "int32"
          }
        },
        "additionalProperties": false
      },
      "GetProductCategoriesHierarchyResponse": {
        "required": [
          "data",
          "total"
        ],
        "type": "object",
        "properties": {
          "data": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/GetProductCategoryHierarchyResponse"
            }
          },
          "total": {
            "type": "integer",
            "format": "int32"
          }
        },
        "additionalProperties": false
      },
      "GetProductCategoriesResponse": {
        "required": [
          "data",
          "total"
        ],
        "type": "object",
        "properties": {
          "data": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/GetProductCategoryResponse"
            }
          },
          "total": {
            "type": "integer",
            "format": "int32"
          }
        },
        "additionalProperties": false
      },
      "GetProductCategoryDisplayContentResponse": {
        "required": [
          "createdAt",
          "descriptionFormat",
          "id",
          "language",
          "modifiedAt",
          "productCategory",
          "seoMeta",
          "title",
          "workspace"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "workspace": {
            "type": "string"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "modifiedAt": {
            "type": "string",
            "format": "date-time"
          },
          "externalReference": {
            "type": "string",
            "nullable": true
          },
          "title": {
            "type": "string"
          },
          "excerpt": {
            "type": "string",
            "nullable": true
          },
          "description": {
            "type": "string",
            "nullable": true
          },
          "descriptionFormat": {
            "$ref": "#/components/schemas/ContentFormat"
          },
          "language": {
            "type": "string"
          },
          "seoMeta": {
            "$ref": "#/components/schemas/SeoMeta"
          },
          "productCategory": {
            "$ref": "#/components/schemas/ProductCategoryEntityReference"
          }
        },
        "additionalProperties": false
      },
      "GetProductCategoryDisplayContentsResponse": {
        "required": [
          "data",
          "total"
        ],
        "type": "object",
        "properties": {
          "data": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/GetProductCategoryDisplayContentResponse"
            }
          },
          "total": {
            "type": "integer",
            "format": "int32"
          }
        },
        "additionalProperties": false
      },
      "GetProductCategoryHierarchyResponse": {
        "required": [
          "children",
          "displayOrder",
          "id",
          "image",
          "name",
          "slug",
          "title"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "title": {
            "type": "string"
          },
          "parentId": {
            "type": "string",
            "nullable": true
          },
          "slug": {
            "type": "string"
          },
          "displayOrder": {
            "type": "integer",
            "format": "int32"
          },
          "name": {
            "type": "string"
          },
          "image": {
            "type": "string",
            "nullable": true
          },
          "language": {
            "type": "string",
            "nullable": true
          },
          "children": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/GetProductCategoryHierarchyResponse"
            }
          }
        },
        "additionalProperties": false
      },
      "GetProductCategoryResponse": {
        "required": [
          "active",
          "createdAt",
          "customFields",
          "displayOrder",
          "id",
          "modifiedAt",
          "name",
          "slug",
          "visibility",
          "workspace"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "workspace": {
            "type": "string"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "modifiedAt": {
            "type": "string",
            "format": "date-time"
          },
          "externalReference": {
            "type": "string",
            "nullable": true
          },
          "name": {
            "type": "string"
          },
          "image": {
            "type": "string",
            "nullable": true
          },
          "slug": {
            "type": "string"
          },
          "parent": {
            "$ref": "#/components/schemas/ProductCategoryEntityReference"
          },
          "active": {
            "type": "boolean"
          },
          "visibility": {
            "$ref": "#/components/schemas/ProductCategoryVisibilitySettings"
          },
          "customFields": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CustomField"
            }
          },
          "displayOrder": {
            "type": "integer",
            "format": "int32"
          }
        },
        "additionalProperties": false
      },
      "GetProductDisplayContentResponse": {
        "required": [
          "createdAt",
          "descriptionFormat",
          "id",
          "language",
          "modifiedAt",
          "product",
          "seoMeta",
          "title",
          "workspace"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "workspace": {
            "type": "string"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "modifiedAt": {
            "type": "string",
            "format": "date-time"
          },
          "externalReference": {
            "type": "string",
            "nullable": true
          },
          "title": {
            "type": "string"
          },
          "excerpt": {
            "type": "string",
            "nullable": true
          },
          "description": {
            "type": "string",
            "nullable": true
          },
          "descriptionFormat": {
            "$ref": "#/components/schemas/ContentFormat"
          },
          "language": {
            "type": "string"
          },
          "seoMeta": {
            "$ref": "#/components/schemas/SeoMeta"
          },
          "product": {
            "$ref": "#/components/schemas/ProductEntityReference"
          }
        },
        "additionalProperties": false
      },
      "GetProductDisplayContentsResponse": {
        "required": [
          "data",
          "total"
        ],
        "type": "object",
        "properties": {
          "data": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/GetProductDisplayContentResponse"
            }
          },
          "total": {
            "type": "integer",
            "format": "int32"
          }
        },
        "additionalProperties": false
      },
      "GetProductFilterOptionResponse": {
        "required": [
          "count",
          "displayOrder",
          "isActive",
          "label",
          "value"
        ],
        "type": "object",
        "properties": {
          "label": {
            "type": "string"
          },
          "value": {
            "type": "string"
          },
          "count": {
            "type": "integer",
            "format": "int32"
          },
          "displayOrder": {
            "type": "integer",
            "format": "int32"
          },
          "isActive": {
            "type": "boolean"
          }
        },
        "additionalProperties": false
      },
      "GetProductFilterResponse": {
        "required": [
          "attributeId",
          "attributeName",
          "categoryId",
          "displayOrder",
          "isActive",
          "options"
        ],
        "type": "object",
        "properties": {
          "attributeId": {
            "type": "string"
          },
          "attributeName": {
            "type": "string"
          },
          "categoryId": {
            "type": "string"
          },
          "displayOrder": {
            "type": "integer",
            "format": "int32"
          },
          "isActive": {
            "type": "boolean"
          },
          "options": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/GetProductFilterOptionResponse"
            }
          }
        },
        "additionalProperties": false
      },
      "GetProductFiltersRequest": {
        "type": "object",
        "properties": {
          "query": {
            "type": "string",
            "nullable": true
          },
          "catalogId": {
            "type": "string",
            "nullable": true
          },
          "categoryId": {
            "type": "string",
            "nullable": true
          },
          "isActive": {
            "type": "boolean",
            "nullable": true
          },
          "activeFilters": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ActiveProductFilter"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "GetProductFiltersResponse": {
        "required": [
          "filters"
        ],
        "type": "object",
        "properties": {
          "filters": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/GetProductFilterResponse"
            }
          }
        },
        "additionalProperties": false
      },
      "GetProductIssueResponse": {
        "required": [
          "id",
          "isIgnored",
          "productId",
          "type"
        ],
        "type": "object",
        "oneOf": [
          {
            "$ref": "#/components/schemas/GetMissingImageProductIssueResponse"
          },
          {
            "$ref": "#/components/schemas/GetMissingDescriptionProductIssueResponse"
          },
          {
            "$ref": "#/components/schemas/GetMissingAttributeProductIssueResponse"
          }
        ],
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "productId": {
            "type": "string"
          },
          "isIgnored": {
            "type": "boolean"
          },
          "type": {
            "type": "string"
          }
        },
        "additionalProperties": false,
        "discriminator": {
          "propertyName": "type",
          "mapping": {
            "missing_image": "GetMissingImageProductIssueResponse",
            "missing_description": "GetMissingDescriptionProductIssueResponse",
            "missing_attribute": "GetMissingAttributeProductIssueResponse"
          }
        }
      },
      "GetProductIssueStatisticResponse": {
        "required": [
          "missingAttributes",
          "missingDescriptions",
          "missingImages",
          "total"
        ],
        "type": "object",
        "properties": {
          "total": {
            "type": "integer",
            "format": "int32"
          },
          "missingAttributes": {
            "type": "integer",
            "format": "int32"
          },
          "missingImages": {
            "type": "integer",
            "format": "int32"
          },
          "missingDescriptions": {
            "type": "integer",
            "format": "int32"
          }
        },
        "additionalProperties": false
      },
      "GetProductIssueStatisticsResponse": {
        "required": [
          "data",
          "total"
        ],
        "type": "object",
        "properties": {
          "data": {
            "type": "object",
            "additionalProperties": {
              "$ref": "#/components/schemas/GetProductIssueStatisticResponse"
            }
          },
          "total": {
            "type": "integer",
            "format": "int32"
          }
        },
        "additionalProperties": false
      },
      "GetProductIssuesResponse": {
        "required": [
          "data",
          "total"
        ],
        "type": "object",
        "properties": {
          "data": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/GetProductIssueResponse"
            }
          },
          "total": {
            "type": "integer",
            "format": "int32"
          }
        },
        "additionalProperties": false
      },
      "GetProductLinkResponse": {
        "required": [
          "displayOrder",
          "linkType",
          "product"
        ],
        "type": "object",
        "properties": {
          "linkType": {
            "$ref": "#/components/schemas/ProductLinkType"
          },
          "displayOrder": {
            "type": "integer",
            "format": "int32"
          },
          "product": {
            "$ref": "#/components/schemas/ProductEntityReference"
          }
        },
        "additionalProperties": false
      },
      "GetProductManufacturerResponse": {
        "required": [
          "createdAt",
          "id",
          "modifiedAt",
          "name",
          "workspace"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "workspace": {
            "type": "string"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "modifiedAt": {
            "type": "string",
            "format": "date-time"
          },
          "externalReference": {
            "type": "string",
            "nullable": true
          },
          "name": {
            "type": "string"
          },
          "email": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "GetProductManufacturersResponse": {
        "required": [
          "data",
          "total"
        ],
        "type": "object",
        "properties": {
          "data": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/GetProductManufacturerResponse"
            }
          },
          "total": {
            "type": "integer",
            "format": "int32"
          }
        },
        "additionalProperties": false
      },
      "GetProductResponse": {
        "required": [
          "active",
          "attributes",
          "barcodes",
          "catalogs",
          "categories",
          "createdAt",
          "customFields",
          "displayOrder",
          "hyperlinks",
          "id",
          "images",
          "introducedAt",
          "issues",
          "links",
          "modifiedAt",
          "name",
          "packing",
          "price",
          "productType",
          "searchCode",
          "showStock",
          "slug",
          "tags",
          "visibilitySettings",
          "workspace"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "workspace": {
            "type": "string"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "modifiedAt": {
            "type": "string",
            "format": "date-time"
          },
          "externalReference": {
            "type": "string",
            "nullable": true
          },
          "name": {
            "type": "string"
          },
          "productType": {
            "$ref": "#/components/schemas/ProductType"
          },
          "sku": {
            "type": "string",
            "nullable": true
          },
          "gtin": {
            "type": "string",
            "nullable": true
          },
          "barcodes": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "packing": {
            "$ref": "#/components/schemas/ProductPacking"
          },
          "productCode": {
            "type": "string",
            "nullable": true
          },
          "price": {
            "$ref": "#/components/schemas/ProductPrice"
          },
          "slug": {
            "type": "string"
          },
          "searchCode": {
            "type": "string"
          },
          "visibilitySettings": {
            "$ref": "#/components/schemas/ProductVisibilitySettings"
          },
          "introducedAt": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "categories": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ProductCategoryEntityReference"
            }
          },
          "attributes": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/GetProductAttributeLinkResponse"
            }
          },
          "links": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/GetProductLinkResponse"
            }
          },
          "catalogs": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ProductCatalogEntityReference"
            }
          },
          "active": {
            "type": "boolean"
          },
          "tags": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "customFields": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CustomField"
            }
          },
          "displayOrder": {
            "type": "integer",
            "format": "int32"
          },
          "images": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ProductImage"
            }
          },
          "hyperlinks": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Hyperlink"
            }
          },
          "salesSettings": {
            "$ref": "#/components/schemas/ProductSalesSettings"
          },
          "showStock": {
            "type": "boolean"
          },
          "brand": {
            "$ref": "#/components/schemas/BrandEntityReference"
          },
          "manufacturer": {
            "$ref": "#/components/schemas/ProductManufacturerEntityReference"
          },
          "issues": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/GetProductIssueResponse"
            }
          }
        },
        "additionalProperties": false
      },
      "GetProductsRequest": {
        "required": [
          "skip",
          "sortBy",
          "take"
        ],
        "type": "object",
        "properties": {
          "ids": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "catalogIds": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "categoryIds": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "skus": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "gtins": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "barcodes": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "slugs": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "type": {
            "$ref": "#/components/schemas/ProductType"
          },
          "productFilters": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ActiveProductFilter"
            },
            "nullable": true
          },
          "isMissingImages": {
            "type": "boolean",
            "nullable": true
          },
          "isMissingDescriptions": {
            "type": "boolean",
            "nullable": true
          },
          "isMissingAttributes": {
            "type": "boolean",
            "nullable": true
          },
          "query": {
            "type": "string",
            "nullable": true
          },
          "take": {
            "type": "integer",
            "format": "int32"
          },
          "skip": {
            "type": "integer",
            "format": "int32"
          },
          "sortOrder": {
            "$ref": "#/components/schemas/SortDirection"
          },
          "sortBy": {
            "$ref": "#/components/schemas/ProductSorting"
          }
        },
        "additionalProperties": false
      },
      "GetProductsResponse": {
        "required": [
          "data",
          "total"
        ],
        "type": "object",
        "properties": {
          "data": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/GetProductResponse"
            }
          },
          "total": {
            "type": "integer",
            "format": "int32"
          }
        },
        "additionalProperties": false
      },
      "GetSalesOrderDetailsResponse": {
        "required": [
          "billing",
          "channel",
          "createdAt",
          "customFields",
          "debtor",
          "deliveryMethod",
          "id",
          "modifiedAt",
          "orderedAt",
          "orderingStatus",
          "orderLines",
          "orderLineStatuses",
          "orderNumber",
          "payment",
          "processing",
          "references",
          "tags",
          "totals",
          "workspace"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "workspace": {
            "type": "string"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "modifiedAt": {
            "type": "string",
            "format": "date-time"
          },
          "externalReference": {
            "type": "string",
            "nullable": true
          },
          "orderNumber": {
            "type": "integer",
            "format": "int64"
          },
          "orderedAt": {
            "type": "string",
            "format": "date-time"
          },
          "orderingStatus": {
            "$ref": "#/components/schemas/SalesOrderOrderingStatus"
          },
          "processing": {
            "$ref": "#/components/schemas/SalesOrderProcessing"
          },
          "description": {
            "type": "string",
            "nullable": true
          },
          "references": {
            "$ref": "#/components/schemas/SalesOrderReferences"
          },
          "payment": {
            "$ref": "#/components/schemas/SalesOrderPayment"
          },
          "billing": {
            "$ref": "#/components/schemas/SalesOrderBilling"
          },
          "deliveryMethod": {
            "$ref": "#/components/schemas/DeliveryMethod"
          },
          "delivery": {
            "$ref": "#/components/schemas/SalesOrderDelivery"
          },
          "pickup": {
            "$ref": "#/components/schemas/GetSalesOrderPickupResponse"
          },
          "channel": {
            "type": "string"
          },
          "customFields": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CustomField"
            }
          },
          "tags": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "totals": {
            "$ref": "#/components/schemas/PriceTotals"
          },
          "currency": {
            "$ref": "#/components/schemas/SalesOrderCurrency"
          },
          "debtor": {
            "$ref": "#/components/schemas/AccountEntityReference"
          },
          "orderedBy": {
            "$ref": "#/components/schemas/ContactEntityReference"
          },
          "orderLineStatuses": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/StringInt32KeyValuePair"
            }
          },
          "orderLines": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/GetSalesOrderLineResponse"
            }
          }
        },
        "additionalProperties": false
      },
      "GetSalesOrderLineResponse": {
        "required": [
          "createdAt",
          "id",
          "modifiedAt",
          "product",
          "quantity",
          "salesOrderId",
          "status",
          "workspace"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "workspace": {
            "type": "string"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "modifiedAt": {
            "type": "string",
            "format": "date-time"
          },
          "externalReference": {
            "type": "string",
            "nullable": true
          },
          "delivery": {
            "$ref": "#/components/schemas/SalesOrderLineDelivery"
          },
          "salesOrderId": {
            "type": "string"
          },
          "quantity": {
            "type": "number",
            "format": "double"
          },
          "product": {
            "$ref": "#/components/schemas/ProductEntityReference"
          },
          "status": {
            "type": "string"
          },
          "attributes": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CustomField"
            },
            "nullable": true
          },
          "references": {
            "$ref": "#/components/schemas/SalesOrderLineReferences"
          },
          "totals": {
            "$ref": "#/components/schemas/PriceTotals"
          }
        },
        "additionalProperties": false
      },
      "GetSalesOrderPickupResponse": {
        "required": [
          "location",
          "status"
        ],
        "type": "object",
        "properties": {
          "status": {
            "$ref": "#/components/schemas/SalesOrderPickupStatus"
          },
          "comments": {
            "type": "string",
            "nullable": true
          },
          "location": {
            "$ref": "#/components/schemas/LocationEntityReference"
          }
        },
        "additionalProperties": false
      },
      "GetSalesOrderResponse": {
        "required": [
          "billing",
          "channel",
          "createdAt",
          "customFields",
          "debtor",
          "deliveryMethod",
          "id",
          "modifiedAt",
          "orderedAt",
          "orderingStatus",
          "orderLineStatuses",
          "orderNumber",
          "payment",
          "processing",
          "references",
          "tags",
          "totals",
          "workspace"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "workspace": {
            "type": "string"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "modifiedAt": {
            "type": "string",
            "format": "date-time"
          },
          "externalReference": {
            "type": "string",
            "nullable": true
          },
          "orderNumber": {
            "type": "integer",
            "format": "int64"
          },
          "orderedAt": {
            "type": "string",
            "format": "date-time"
          },
          "orderingStatus": {
            "$ref": "#/components/schemas/SalesOrderOrderingStatus"
          },
          "processing": {
            "$ref": "#/components/schemas/SalesOrderProcessing"
          },
          "description": {
            "type": "string",
            "nullable": true
          },
          "references": {
            "$ref": "#/components/schemas/SalesOrderReferences"
          },
          "payment": {
            "$ref": "#/components/schemas/SalesOrderPayment"
          },
          "billing": {
            "$ref": "#/components/schemas/SalesOrderBilling"
          },
          "deliveryMethod": {
            "$ref": "#/components/schemas/DeliveryMethod"
          },
          "delivery": {
            "$ref": "#/components/schemas/SalesOrderDelivery"
          },
          "pickup": {
            "$ref": "#/components/schemas/GetSalesOrderPickupResponse"
          },
          "channel": {
            "type": "string"
          },
          "customFields": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CustomField"
            }
          },
          "tags": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "totals": {
            "$ref": "#/components/schemas/PriceTotals"
          },
          "currency": {
            "$ref": "#/components/schemas/SalesOrderCurrency"
          },
          "debtor": {
            "$ref": "#/components/schemas/AccountEntityReference"
          },
          "orderedBy": {
            "$ref": "#/components/schemas/ContactEntityReference"
          },
          "orderLineStatuses": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/StringInt32KeyValuePair"
            }
          }
        },
        "additionalProperties": false
      },
      "GetSalesOrderStatisticsResponse": {
        "required": [
          "averageProductAmount",
          "averageSalesPrice",
          "countByChannel",
          "countByDeliveryMethod",
          "debtorCount",
          "totalCount"
        ],
        "type": "object",
        "properties": {
          "averageSalesPrice": {
            "type": "number",
            "format": "double"
          },
          "averageProductAmount": {
            "type": "number",
            "format": "double"
          },
          "countByDeliveryMethod": {
            "type": "object",
            "properties": {
              "Delivery": {
                "type": "integer",
                "format": "int32"
              },
              "Pickup": {
                "type": "integer",
                "format": "int32"
              }
            },
            "additionalProperties": false
          },
          "countByChannel": {
            "type": "object",
            "additionalProperties": {
              "type": "integer",
              "format": "int32"
            }
          },
          "totalCount": {
            "type": "integer",
            "format": "int32"
          },
          "debtorCount": {
            "type": "integer",
            "format": "int32"
          }
        },
        "additionalProperties": false
      },
      "GetSalesOrdersDailyStatsGrandTotals": {
        "required": [
          "amountNetAverage",
          "amountNetTotal",
          "count",
          "deliveryMethodCounts",
          "orderStatusCounts"
        ],
        "type": "object",
        "properties": {
          "amountNetTotal": {
            "type": "number",
            "format": "double"
          },
          "amountNetAverage": {
            "type": "number",
            "format": "double"
          },
          "count": {
            "type": "integer",
            "format": "int32"
          },
          "deliveryMethodCounts": {
            "$ref": "#/components/schemas/DeliveryMethodCounts"
          },
          "orderStatusCounts": {
            "$ref": "#/components/schemas/OrderStatusCounts"
          }
        },
        "additionalProperties": false
      },
      "GetSalesOrdersDailyStatsResponse": {
        "required": [
          "data",
          "grandTotals",
          "total"
        ],
        "type": "object",
        "properties": {
          "grandTotals": {
            "$ref": "#/components/schemas/GetSalesOrdersDailyStatsGrandTotals"
          },
          "data": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/SalesOrderDailyStats"
            }
          },
          "total": {
            "type": "integer",
            "format": "int32"
          }
        },
        "additionalProperties": false
      },
      "GetSalesOrdersResponse": {
        "required": [
          "data",
          "total"
        ],
        "type": "object",
        "properties": {
          "data": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/GetSalesOrderResponse"
            }
          },
          "total": {
            "type": "integer",
            "format": "int32"
          }
        },
        "additionalProperties": false
      },
      "GetStockLocationResponse": {
        "required": [
          "externalReference",
          "id",
          "name"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "externalReference": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "GetStockProductResponse": {
        "required": [
          "id",
          "name",
          "sku"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "sku": {
            "type": "string"
          },
          "name": {
            "type": "string"
          }
        },
        "additionalProperties": false
      },
      "GetStockResponse": {
        "required": [
          "id",
          "location",
          "product",
          "quantity"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "product": {
            "$ref": "#/components/schemas/GetStockProductResponse"
          },
          "location": {
            "$ref": "#/components/schemas/GetStockLocationResponse"
          },
          "quantity": {
            "type": "number",
            "format": "double"
          }
        },
        "additionalProperties": false
      },
      "GetStocksResponse": {
        "required": [
          "data",
          "total"
        ],
        "type": "object",
        "properties": {
          "data": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/GetStockResponse"
            }
          },
          "total": {
            "type": "integer",
            "format": "int32"
          }
        },
        "additionalProperties": false
      },
      "GetSuggestedAccountDetailsResponse": {
        "required": [
          "addresses",
          "branchNumber",
          "businessActivities",
          "chamberOfCommerceNumber",
          "companyType",
          "displayName",
          "fullName",
          "rsin",
          "websites"
        ],
        "type": "object",
        "properties": {
          "chamberOfCommerceNumber": {
            "type": "string"
          },
          "branchNumber": {
            "type": "string"
          },
          "displayName": {
            "type": "string"
          },
          "fullName": {
            "type": "string"
          },
          "addresses": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Address"
            }
          },
          "rsin": {
            "type": "string"
          },
          "employees": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "websites": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "foundationDate": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "companyType": {
            "type": "string"
          },
          "businessActivities": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/SuggestedAccountDetailsSbi"
            }
          }
        },
        "additionalProperties": false
      },
      "GetSuggestedAccountsResponse": {
        "required": [
          "data",
          "total"
        ],
        "type": "object",
        "properties": {
          "data": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/SuggestedAccount"
            }
          },
          "total": {
            "type": "integer",
            "format": "int32"
          }
        },
        "additionalProperties": false
      },
      "GetSupportedLanguageResponse": {
        "required": [
          "code",
          "isDefault"
        ],
        "type": "object",
        "properties": {
          "code": {
            "type": "string"
          },
          "isDefault": {
            "type": "boolean"
          }
        },
        "additionalProperties": false
      },
      "GetSupportedLanguagesResponse": {
        "required": [
          "data",
          "total"
        ],
        "type": "object",
        "properties": {
          "data": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/GetSupportedLanguageResponse"
            }
          },
          "total": {
            "type": "integer",
            "format": "int32"
          }
        },
        "additionalProperties": false
      },
      "GetTagResponse": {
        "required": [
          "count",
          "name"
        ],
        "type": "object",
        "properties": {
          "name": {
            "type": "string"
          },
          "count": {
            "type": "integer",
            "format": "int32"
          }
        },
        "additionalProperties": false
      },
      "GetTagsResponse": {
        "required": [
          "data",
          "total"
        ],
        "type": "object",
        "properties": {
          "data": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/GetTagResponse"
            }
          },
          "total": {
            "type": "integer",
            "format": "int32"
          }
        },
        "additionalProperties": false
      },
      "GetVatCodeResponse": {
        "required": [
          "code",
          "createdAt",
          "id",
          "modifiedAt",
          "name",
          "percentage",
          "workspace"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "workspace": {
            "type": "string"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "modifiedAt": {
            "type": "string",
            "format": "date-time"
          },
          "externalReference": {
            "type": "string",
            "nullable": true
          },
          "name": {
            "type": "string"
          },
          "code": {
            "type": "string"
          },
          "percentage": {
            "type": "number",
            "format": "double"
          }
        },
        "additionalProperties": false
      },
      "GetVatCodesResponse": {
        "required": [
          "data",
          "total"
        ],
        "type": "object",
        "properties": {
          "data": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/GetVatCodeResponse"
            }
          },
          "total": {
            "type": "integer",
            "format": "int32"
          }
        },
        "additionalProperties": false
      },
      "GetWebhookResponse": {
        "required": [
          "createdAt",
          "deliveryEndpoint",
          "enabled",
          "headers",
          "id",
          "modifiedAt",
          "name",
          "skipSystem",
          "topicName",
          "workspace"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "workspace": {
            "type": "string"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "modifiedAt": {
            "type": "string",
            "format": "date-time"
          },
          "externalReference": {
            "type": "string",
            "nullable": true
          },
          "name": {
            "type": "string"
          },
          "topicName": {
            "type": "string"
          },
          "deliveryEndpoint": {
            "type": "string"
          },
          "skipSystem": {
            "type": "boolean"
          },
          "headers": {
            "type": "object",
            "additionalProperties": {
              "type": "string"
            }
          },
          "enabled": {
            "type": "boolean"
          }
        },
        "additionalProperties": false
      },
      "GetWebhooksResponse": {
        "required": [
          "data",
          "total"
        ],
        "type": "object",
        "properties": {
          "data": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/GetWebhookResponse"
            }
          },
          "total": {
            "type": "integer",
            "format": "int32"
          }
        },
        "additionalProperties": false
      },
      "GetWorkspaceResponse": {
        "required": [
          "apps",
          "createdAt",
          "id",
          "modifiedAt",
          "name",
          "settings"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "modifiedAt": {
            "type": "string",
            "format": "date-time"
          },
          "name": {
            "type": "string"
          },
          "settings": {
            "$ref": "#/components/schemas/WorkspaceSettings"
          },
          "commerceSettings": {
            "$ref": "#/components/schemas/CommerceSettings"
          },
          "apps": {
            "type": "array",
            "items": {
              "type": "string"
            }
          }
        },
        "additionalProperties": false
      },
      "HeartworkUserEntityReference": {
        "required": [
          "id",
          "name",
          "type"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "type": {
            "$ref": "#/components/schemas/HeartworkUserEntityReferenceType"
          }
        },
        "additionalProperties": false
      },
      "HeartworkUserEntityReferenceType": {
        "enum": [
          "HeartworkUser"
        ],
        "type": "string"
      },
      "HeartworkUserSorting": {
        "enum": [
          "DisplayName"
        ],
        "type": "string"
      },
      "HeartworkUserType": {
        "enum": [
          "User",
          "Client"
        ],
        "type": "string"
      },
      "Hyperlink": {
        "required": [
          "description",
          "type",
          "url"
        ],
        "type": "object",
        "properties": {
          "url": {
            "type": "string"
          },
          "description": {
            "type": "string"
          },
          "type": {
            "$ref": "#/components/schemas/HyperlinkType"
          }
        },
        "additionalProperties": false
      },
      "HyperlinkType": {
        "enum": [
          "Website",
          "Video",
          "Document"
        ],
        "type": "string"
      },
      "IConnectableEntityReference": {
        "required": [
          "id",
          "name",
          "type"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "type": {
            "$ref": "#/components/schemas/IConnectableEntityReferenceType"
          }
        },
        "additionalProperties": false
      },
      "IConnectableEntityReferenceType": {
        "enum": [
          "Account",
          "Contact",
          "Deal",
          "IConnectable"
        ],
        "type": "string"
      },
      "IWorkspaceEntityEntityReference": {
        "required": [
          "id",
          "name",
          "type"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "type": {
            "$ref": "#/components/schemas/IWorkspaceEntityEntityReferenceType"
          }
        },
        "additionalProperties": false
      },
      "IWorkspaceEntityEntityReferenceType": {
        "enum": [
          "Account",
          "AtomicScript",
          "BaseDisplayContent",
          "BaseProduct",
          "BaseWorkspaceEntity",
          "Brand",
          "ClientLogin",
          "Comment",
          "Contact",
          "ContentPage",
          "Currency",
          "Deal",
          "FavouriteProduct",
          "IWorkspaceEntity",
          "Location",
          "Pipeline",
          "Product",
          "ProductAttribute",
          "ProductCatalog",
          "ProductCategory",
          "ProductCategoryDisplayContent",
          "ProductDisplayContent",
          "ProductManufacturer",
          "SalesOrder",
          "SalesOrderLine",
          "Stock",
          "VatCode"
        ],
        "type": "string"
      },
      "ImageFit": {
        "enum": [
          "Contain",
          "Cover",
          "ScaleDown"
        ],
        "type": "string"
      },
      "IsEmailAvailableResponse": {
        "required": [
          "available"
        ],
        "type": "object",
        "properties": {
          "available": {
            "type": "boolean"
          }
        },
        "additionalProperties": false
      },
      "IsUsernameAvailableResponse": {
        "required": [
          "available"
        ],
        "type": "object",
        "properties": {
          "available": {
            "type": "boolean"
          }
        },
        "additionalProperties": false
      },
      "LocationAddressUpdated": {
        "required": [
          "entity",
          "id",
          "next",
          "previous",
          "timestamp",
          "type",
          "user",
          "workspace"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "timestamp": {
            "type": "string",
            "format": "date-time"
          },
          "entity": {
            "$ref": "#/components/schemas/BaseWorkspaceEntityEntityReference"
          },
          "type": {
            "type": "string"
          },
          "user": {
            "$ref": "#/components/schemas/ActivityUserReference"
          },
          "workspace": {
            "type": "string"
          },
          "previous": {
            "$ref": "#/components/schemas/Address"
          },
          "next": {
            "$ref": "#/components/schemas/Address"
          }
        },
        "additionalProperties": false
      },
      "LocationCreated": {
        "required": [
          "entity",
          "id",
          "timestamp",
          "type",
          "user",
          "workspace"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "timestamp": {
            "type": "string",
            "format": "date-time"
          },
          "entity": {
            "$ref": "#/components/schemas/BaseWorkspaceEntityEntityReference"
          },
          "type": {
            "type": "string"
          },
          "user": {
            "$ref": "#/components/schemas/ActivityUserReference"
          },
          "workspace": {
            "type": "string"
          }
        },
        "additionalProperties": false
      },
      "LocationCustomFieldsUpdated": {
        "required": [
          "entity",
          "id",
          "next",
          "previous",
          "timestamp",
          "type",
          "user",
          "workspace"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "timestamp": {
            "type": "string",
            "format": "date-time"
          },
          "entity": {
            "$ref": "#/components/schemas/BaseWorkspaceEntityEntityReference"
          },
          "type": {
            "type": "string"
          },
          "user": {
            "$ref": "#/components/schemas/ActivityUserReference"
          },
          "workspace": {
            "type": "string"
          },
          "previous": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CustomField"
            }
          },
          "next": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CustomField"
            }
          }
        },
        "additionalProperties": false
      },
      "LocationDeleted": {
        "required": [
          "entity",
          "id",
          "timestamp",
          "type",
          "user",
          "workspace"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "timestamp": {
            "type": "string",
            "format": "date-time"
          },
          "entity": {
            "$ref": "#/components/schemas/BaseWorkspaceEntityEntityReference"
          },
          "type": {
            "type": "string"
          },
          "user": {
            "$ref": "#/components/schemas/ActivityUserReference"
          },
          "workspace": {
            "type": "string"
          }
        },
        "additionalProperties": false
      },
      "LocationDescriptionUpdated": {
        "required": [
          "entity",
          "id",
          "next",
          "previous",
          "timestamp",
          "type",
          "user",
          "workspace"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "timestamp": {
            "type": "string",
            "format": "date-time"
          },
          "entity": {
            "$ref": "#/components/schemas/BaseWorkspaceEntityEntityReference"
          },
          "type": {
            "type": "string"
          },
          "user": {
            "$ref": "#/components/schemas/ActivityUserReference"
          },
          "workspace": {
            "type": "string"
          },
          "previous": {
            "type": "string",
            "nullable": true
          },
          "next": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "LocationDisplayOrderUpdated": {
        "required": [
          "entity",
          "id",
          "next",
          "previous",
          "timestamp",
          "type",
          "user",
          "workspace"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "timestamp": {
            "type": "string",
            "format": "date-time"
          },
          "entity": {
            "$ref": "#/components/schemas/BaseWorkspaceEntityEntityReference"
          },
          "type": {
            "type": "string"
          },
          "user": {
            "$ref": "#/components/schemas/ActivityUserReference"
          },
          "workspace": {
            "type": "string"
          },
          "previous": {
            "type": "integer",
            "format": "int32"
          },
          "next": {
            "type": "integer",
            "format": "int32"
          }
        },
        "additionalProperties": false
      },
      "LocationEmailUpdated": {
        "required": [
          "entity",
          "id",
          "next",
          "previous",
          "timestamp",
          "type",
          "user",
          "workspace"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "timestamp": {
            "type": "string",
            "format": "date-time"
          },
          "entity": {
            "$ref": "#/components/schemas/BaseWorkspaceEntityEntityReference"
          },
          "type": {
            "type": "string"
          },
          "user": {
            "$ref": "#/components/schemas/ActivityUserReference"
          },
          "workspace": {
            "type": "string"
          },
          "previous": {
            "type": "string",
            "nullable": true
          },
          "next": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "LocationEntityReference": {
        "required": [
          "id",
          "name",
          "type"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "type": {
            "$ref": "#/components/schemas/LocationEntityReferenceType"
          }
        },
        "additionalProperties": false
      },
      "LocationEntityReferenceType": {
        "enum": [
          "Location"
        ],
        "type": "string"
      },
      "LocationExternalReferenceUpdated": {
        "required": [
          "entity",
          "id",
          "next",
          "previous",
          "timestamp",
          "type",
          "user",
          "workspace"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "timestamp": {
            "type": "string",
            "format": "date-time"
          },
          "entity": {
            "$ref": "#/components/schemas/BaseWorkspaceEntityEntityReference"
          },
          "type": {
            "type": "string"
          },
          "user": {
            "$ref": "#/components/schemas/ActivityUserReference"
          },
          "workspace": {
            "type": "string"
          },
          "previous": {
            "type": "string",
            "nullable": true
          },
          "next": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "LocationImageUpdated": {
        "required": [
          "entity",
          "id",
          "next",
          "previous",
          "timestamp",
          "type",
          "user",
          "workspace"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "timestamp": {
            "type": "string",
            "format": "date-time"
          },
          "entity": {
            "$ref": "#/components/schemas/BaseWorkspaceEntityEntityReference"
          },
          "type": {
            "type": "string"
          },
          "user": {
            "$ref": "#/components/schemas/ActivityUserReference"
          },
          "workspace": {
            "type": "string"
          },
          "previous": {
            "type": "string",
            "nullable": true
          },
          "next": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "LocationIsPickupLocationUpdated": {
        "required": [
          "entity",
          "id",
          "next",
          "previous",
          "timestamp",
          "type",
          "user",
          "workspace"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "timestamp": {
            "type": "string",
            "format": "date-time"
          },
          "entity": {
            "$ref": "#/components/schemas/BaseWorkspaceEntityEntityReference"
          },
          "type": {
            "type": "string"
          },
          "user": {
            "$ref": "#/components/schemas/ActivityUserReference"
          },
          "workspace": {
            "type": "string"
          },
          "previous": {
            "type": "boolean"
          },
          "next": {
            "type": "boolean"
          }
        },
        "additionalProperties": false
      },
      "LocationIsStockLocationUpdated": {
        "required": [
          "entity",
          "id",
          "next",
          "previous",
          "timestamp",
          "type",
          "user",
          "workspace"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "timestamp": {
            "type": "string",
            "format": "date-time"
          },
          "entity": {
            "$ref": "#/components/schemas/BaseWorkspaceEntityEntityReference"
          },
          "type": {
            "type": "string"
          },
          "user": {
            "$ref": "#/components/schemas/ActivityUserReference"
          },
          "workspace": {
            "type": "string"
          },
          "previous": {
            "type": "boolean"
          },
          "next": {
            "type": "boolean"
          }
        },
        "additionalProperties": false
      },
      "LocationIsWarehouseUpdated": {
        "required": [
          "entity",
          "id",
          "next",
          "previous",
          "timestamp",
          "type",
          "user",
          "workspace"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "timestamp": {
            "type": "string",
            "format": "date-time"
          },
          "entity": {
            "$ref": "#/components/schemas/BaseWorkspaceEntityEntityReference"
          },
          "type": {
            "type": "string"
          },
          "user": {
            "$ref": "#/components/schemas/ActivityUserReference"
          },
          "workspace": {
            "type": "string"
          },
          "previous": {
            "type": "boolean"
          },
          "next": {
            "type": "boolean"
          }
        },
        "additionalProperties": false
      },
      "LocationNameUpdated": {
        "required": [
          "entity",
          "id",
          "next",
          "previous",
          "timestamp",
          "type",
          "user",
          "workspace"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "timestamp": {
            "type": "string",
            "format": "date-time"
          },
          "entity": {
            "$ref": "#/components/schemas/BaseWorkspaceEntityEntityReference"
          },
          "type": {
            "type": "string"
          },
          "user": {
            "$ref": "#/components/schemas/ActivityUserReference"
          },
          "workspace": {
            "type": "string"
          },
          "previous": {
            "type": "string"
          },
          "next": {
            "type": "string"
          }
        },
        "additionalProperties": false
      },
      "LocationOpeningTimesUpdated": {
        "required": [
          "entity",
          "id",
          "next",
          "previous",
          "timestamp",
          "type",
          "user",
          "workspace"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "timestamp": {
            "type": "string",
            "format": "date-time"
          },
          "entity": {
            "$ref": "#/components/schemas/BaseWorkspaceEntityEntityReference"
          },
          "type": {
            "type": "string"
          },
          "user": {
            "$ref": "#/components/schemas/ActivityUserReference"
          },
          "workspace": {
            "type": "string"
          },
          "previous": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/OpeningTime"
            }
          },
          "next": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/OpeningTime"
            }
          }
        },
        "additionalProperties": false
      },
      "LocationPhoneNumberUpdated": {
        "required": [
          "entity",
          "id",
          "next",
          "previous",
          "timestamp",
          "type",
          "user",
          "workspace"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "timestamp": {
            "type": "string",
            "format": "date-time"
          },
          "entity": {
            "$ref": "#/components/schemas/BaseWorkspaceEntityEntityReference"
          },
          "type": {
            "type": "string"
          },
          "user": {
            "$ref": "#/components/schemas/ActivityUserReference"
          },
          "workspace": {
            "type": "string"
          },
          "previous": {
            "type": "string",
            "nullable": true
          },
          "next": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "LocationSorting": {
        "enum": [
          "Name",
          "DisplayOrder"
        ],
        "type": "string"
      },
      "LoginRequest": {
        "required": [
          "password",
          "username"
        ],
        "type": "object",
        "properties": {
          "username": {
            "type": "string"
          },
          "password": {
            "type": "string"
          }
        },
        "additionalProperties": false
      },
      "OpeningTime": {
        "required": [
          "closesAt",
          "dayOfWeek",
          "opensAt"
        ],
        "type": "object",
        "properties": {
          "dayOfWeek": {
            "$ref": "#/components/schemas/DayOfWeek"
          },
          "opensAt": {
            "type": "string",
            "example": "00:00:00"
          },
          "closesAt": {
            "type": "string",
            "example": "00:00:00"
          }
        },
        "additionalProperties": false
      },
      "OrderStatusCounts": {
        "required": [
          "canceled",
          "completed",
          "draft"
        ],
        "type": "object",
        "properties": {
          "draft": {
            "type": "integer",
            "format": "int32"
          },
          "completed": {
            "type": "integer",
            "format": "int32"
          },
          "canceled": {
            "type": "integer",
            "format": "int32"
          }
        },
        "additionalProperties": false
      },
      "PaymentStatus": {
        "enum": [
          "Open",
          "Paid",
          "Failed",
          "Canceled"
        ],
        "type": "string"
      },
      "PeriodType": {
        "enum": [
          "Yearly",
          "Monthly",
          "Weekly"
        ],
        "type": "string"
      },
      "PipelineCreated": {
        "required": [
          "entity",
          "id",
          "timestamp",
          "type",
          "user",
          "workspace"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "timestamp": {
            "type": "string",
            "format": "date-time"
          },
          "entity": {
            "$ref": "#/components/schemas/BaseWorkspaceEntityEntityReference"
          },
          "type": {
            "type": "string"
          },
          "user": {
            "$ref": "#/components/schemas/ActivityUserReference"
          },
          "workspace": {
            "type": "string"
          }
        },
        "additionalProperties": false
      },
      "PipelineDeleted": {
        "required": [
          "entity",
          "id",
          "timestamp",
          "type",
          "user",
          "workspace"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "timestamp": {
            "type": "string",
            "format": "date-time"
          },
          "entity": {
            "$ref": "#/components/schemas/BaseWorkspaceEntityEntityReference"
          },
          "type": {
            "type": "string"
          },
          "user": {
            "$ref": "#/components/schemas/ActivityUserReference"
          },
          "workspace": {
            "type": "string"
          }
        },
        "additionalProperties": false
      },
      "PipelineDescriptionUpdated": {
        "required": [
          "entity",
          "id",
          "next",
          "previous",
          "timestamp",
          "type",
          "user",
          "workspace"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "timestamp": {
            "type": "string",
            "format": "date-time"
          },
          "entity": {
            "$ref": "#/components/schemas/BaseWorkspaceEntityEntityReference"
          },
          "type": {
            "type": "string"
          },
          "user": {
            "$ref": "#/components/schemas/ActivityUserReference"
          },
          "workspace": {
            "type": "string"
          },
          "previous": {
            "type": "string",
            "nullable": true
          },
          "next": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "PipelineEntityReference": {
        "required": [
          "id",
          "name",
          "type"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "type": {
            "$ref": "#/components/schemas/PipelineEntityReferenceType"
          }
        },
        "additionalProperties": false
      },
      "PipelineEntityReferenceType": {
        "enum": [
          "Pipeline"
        ],
        "type": "string"
      },
      "PipelineExternalReferenceUpdated": {
        "required": [
          "entity",
          "id",
          "next",
          "previous",
          "timestamp",
          "type",
          "user",
          "workspace"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "timestamp": {
            "type": "string",
            "format": "date-time"
          },
          "entity": {
            "$ref": "#/components/schemas/BaseWorkspaceEntityEntityReference"
          },
          "type": {
            "type": "string"
          },
          "user": {
            "$ref": "#/components/schemas/ActivityUserReference"
          },
          "workspace": {
            "type": "string"
          },
          "previous": {
            "type": "string",
            "nullable": true
          },
          "next": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "PipelineOption": {
        "required": [
          "id",
          "label"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "label": {
            "type": "string"
          }
        },
        "additionalProperties": false
      },
      "PipelineOptionValue": {
        "required": [
          "pipelineOptionId",
          "value"
        ],
        "type": "object",
        "properties": {
          "pipelineOptionId": {
            "type": "string"
          },
          "value": {
            "type": "number",
            "format": "double"
          }
        },
        "additionalProperties": false
      },
      "PipelineOptionsUpdated": {
        "required": [
          "entity",
          "id",
          "next",
          "previous",
          "timestamp",
          "type",
          "user",
          "workspace"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "timestamp": {
            "type": "string",
            "format": "date-time"
          },
          "entity": {
            "$ref": "#/components/schemas/BaseWorkspaceEntityEntityReference"
          },
          "type": {
            "type": "string"
          },
          "user": {
            "$ref": "#/components/schemas/ActivityUserReference"
          },
          "workspace": {
            "type": "string"
          },
          "previous": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/PipelineOption"
            }
          },
          "next": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/PipelineOption"
            }
          }
        },
        "additionalProperties": false
      },
      "PipelineSorting": {
        "enum": [
          "Title"
        ],
        "type": "string"
      },
      "PipelineStatus": {
        "required": [
          "displayOrder",
          "id",
          "name"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "displayOrder": {
            "type": "integer",
            "format": "int32"
          }
        },
        "additionalProperties": false
      },
      "PipelineStatusEntityReference": {
        "required": [
          "id",
          "name",
          "type"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "type": {
            "$ref": "#/components/schemas/PipelineStatusEntityReferenceType"
          }
        },
        "additionalProperties": false
      },
      "PipelineStatusEntityReferenceType": {
        "enum": [
          "PipelineStatus"
        ],
        "type": "string"
      },
      "PipelineSummariesUpdated": {
        "required": [
          "entity",
          "id",
          "next",
          "previous",
          "timestamp",
          "type",
          "user",
          "workspace"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "timestamp": {
            "type": "string",
            "format": "date-time"
          },
          "entity": {
            "$ref": "#/components/schemas/BaseWorkspaceEntityEntityReference"
          },
          "type": {
            "type": "string"
          },
          "user": {
            "$ref": "#/components/schemas/ActivityUserReference"
          },
          "workspace": {
            "type": "string"
          },
          "previous": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/PipelineSummary"
            }
          },
          "next": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/PipelineSummary"
            }
          }
        },
        "additionalProperties": false
      },
      "PipelineSummary": {
        "required": [
          "isWeightedValue",
          "optionId"
        ],
        "type": "object",
        "properties": {
          "optionId": {
            "type": "string"
          },
          "isWeightedValue": {
            "type": "boolean"
          }
        },
        "additionalProperties": false
      },
      "PipelineSummaryStatistic": {
        "required": [
          "id",
          "name",
          "total"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "total": {
            "type": "number",
            "format": "double"
          }
        },
        "additionalProperties": false
      },
      "PipelineTitleUpdated": {
        "required": [
          "entity",
          "id",
          "next",
          "previous",
          "timestamp",
          "type",
          "user",
          "workspace"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "timestamp": {
            "type": "string",
            "format": "date-time"
          },
          "entity": {
            "$ref": "#/components/schemas/BaseWorkspaceEntityEntityReference"
          },
          "type": {
            "type": "string"
          },
          "user": {
            "$ref": "#/components/schemas/ActivityUserReference"
          },
          "workspace": {
            "type": "string"
          },
          "previous": {
            "type": "string"
          },
          "next": {
            "type": "string"
          }
        },
        "additionalProperties": false
      },
      "PriceSettings": {
        "required": [
          "showCustomerPrice",
          "showSalesPrice",
          "showSuggestedRetailPrice"
        ],
        "type": "object",
        "properties": {
          "showSalesPrice": {
            "type": "boolean"
          },
          "showCustomerPrice": {
            "type": "boolean"
          },
          "showSuggestedRetailPrice": {
            "type": "boolean"
          }
        },
        "additionalProperties": false
      },
      "PriceTotal": {
        "required": [
          "amount",
          "vatAmount",
          "vatTotals"
        ],
        "type": "object",
        "properties": {
          "amount": {
            "type": "number",
            "format": "double"
          },
          "vatAmount": {
            "type": "number",
            "format": "double"
          },
          "vatTotals": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/VatTotal"
            }
          }
        },
        "additionalProperties": false
      },
      "PriceTotals": {
        "type": "object",
        "properties": {
          "totalSalesPrice": {
            "$ref": "#/components/schemas/PriceTotal"
          },
          "totalPurchasePrice": {
            "$ref": "#/components/schemas/PriceTotal"
          },
          "totalSuggestedRetailPrice": {
            "$ref": "#/components/schemas/PriceTotal"
          },
          "totalCustomerPrice": {
            "$ref": "#/components/schemas/PriceTotal"
          }
        },
        "additionalProperties": false
      },
      "PriceVatType": {
        "enum": [
          "Default",
          "Excluding",
          "Including"
        ],
        "type": "string"
      },
      "ProductActiveUpdated": {
        "required": [
          "entity",
          "id",
          "next",
          "previous",
          "timestamp",
          "type",
          "user",
          "workspace"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "timestamp": {
            "type": "string",
            "format": "date-time"
          },
          "entity": {
            "$ref": "#/components/schemas/BaseWorkspaceEntityEntityReference"
          },
          "type": {
            "type": "string"
          },
          "user": {
            "$ref": "#/components/schemas/ActivityUserReference"
          },
          "workspace": {
            "type": "string"
          },
          "previous": {
            "type": "boolean"
          },
          "next": {
            "type": "boolean"
          }
        },
        "additionalProperties": false
      },
      "ProductAttributeCreated": {
        "required": [
          "entity",
          "id",
          "timestamp",
          "type",
          "user",
          "workspace"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "timestamp": {
            "type": "string",
            "format": "date-time"
          },
          "entity": {
            "$ref": "#/components/schemas/BaseWorkspaceEntityEntityReference"
          },
          "type": {
            "type": "string"
          },
          "user": {
            "$ref": "#/components/schemas/ActivityUserReference"
          },
          "workspace": {
            "type": "string"
          }
        },
        "additionalProperties": false
      },
      "ProductAttributeDeleted": {
        "required": [
          "entity",
          "id",
          "timestamp",
          "type",
          "user",
          "workspace"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "timestamp": {
            "type": "string",
            "format": "date-time"
          },
          "entity": {
            "$ref": "#/components/schemas/BaseWorkspaceEntityEntityReference"
          },
          "type": {
            "type": "string"
          },
          "user": {
            "$ref": "#/components/schemas/ActivityUserReference"
          },
          "workspace": {
            "type": "string"
          }
        },
        "additionalProperties": false
      },
      "ProductAttributeEntityReference": {
        "required": [
          "id",
          "name",
          "type"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "type": {
            "$ref": "#/components/schemas/ProductAttributeEntityReferenceType"
          }
        },
        "additionalProperties": false
      },
      "ProductAttributeEntityReferenceType": {
        "enum": [
          "ProductAttribute"
        ],
        "type": "string"
      },
      "ProductAttributeExternalReferenceUpdated": {
        "required": [
          "entity",
          "id",
          "next",
          "previous",
          "timestamp",
          "type",
          "user",
          "workspace"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "timestamp": {
            "type": "string",
            "format": "date-time"
          },
          "entity": {
            "$ref": "#/components/schemas/BaseWorkspaceEntityEntityReference"
          },
          "type": {
            "type": "string"
          },
          "user": {
            "$ref": "#/components/schemas/ActivityUserReference"
          },
          "workspace": {
            "type": "string"
          },
          "previous": {
            "type": "string",
            "nullable": true
          },
          "next": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "ProductAttributeLinkCreated": {
        "required": [
          "attribute",
          "configurable",
          "entity",
          "id",
          "timestamp",
          "type",
          "user",
          "workspace"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "timestamp": {
            "type": "string",
            "format": "date-time"
          },
          "entity": {
            "$ref": "#/components/schemas/BaseWorkspaceEntityEntityReference"
          },
          "type": {
            "type": "string"
          },
          "user": {
            "$ref": "#/components/schemas/ActivityUserReference"
          },
          "workspace": {
            "type": "string"
          },
          "selectedOption": {
            "$ref": "#/components/schemas/ProductAttributeOption"
          },
          "configurable": {
            "type": "boolean"
          },
          "attribute": {
            "$ref": "#/components/schemas/ProductAttributeEntityReference"
          }
        },
        "additionalProperties": false
      },
      "ProductAttributeLinkDeleted": {
        "required": [
          "attribute",
          "configurable",
          "entity",
          "id",
          "timestamp",
          "type",
          "user",
          "workspace"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "timestamp": {
            "type": "string",
            "format": "date-time"
          },
          "entity": {
            "$ref": "#/components/schemas/BaseWorkspaceEntityEntityReference"
          },
          "type": {
            "type": "string"
          },
          "user": {
            "$ref": "#/components/schemas/ActivityUserReference"
          },
          "workspace": {
            "type": "string"
          },
          "selectedOption": {
            "$ref": "#/components/schemas/ProductAttributeOption"
          },
          "configurable": {
            "type": "boolean"
          },
          "attribute": {
            "$ref": "#/components/schemas/ProductAttributeEntityReference"
          }
        },
        "additionalProperties": false
      },
      "ProductAttributeNameUpdated": {
        "required": [
          "entity",
          "id",
          "next",
          "previous",
          "timestamp",
          "type",
          "user",
          "workspace"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "timestamp": {
            "type": "string",
            "format": "date-time"
          },
          "entity": {
            "$ref": "#/components/schemas/BaseWorkspaceEntityEntityReference"
          },
          "type": {
            "type": "string"
          },
          "user": {
            "$ref": "#/components/schemas/ActivityUserReference"
          },
          "workspace": {
            "type": "string"
          },
          "previous": {
            "type": "string"
          },
          "next": {
            "type": "string"
          }
        },
        "additionalProperties": false
      },
      "ProductAttributeOption": {
        "required": [
          "label",
          "value"
        ],
        "type": "object",
        "properties": {
          "label": {
            "type": "string"
          },
          "value": {
            "type": "string"
          }
        },
        "additionalProperties": false
      },
      "ProductAttributeOptionDisplay": {
        "required": [
          "count",
          "displayOrder",
          "label",
          "value"
        ],
        "type": "object",
        "properties": {
          "label": {
            "type": "string"
          },
          "value": {
            "type": "string"
          },
          "count": {
            "type": "integer",
            "format": "int32"
          },
          "displayOrder": {
            "type": "integer",
            "format": "int32"
          }
        },
        "additionalProperties": false
      },
      "ProductAttributeSorting": {
        "enum": [
          "Name"
        ],
        "type": "string"
      },
      "ProductBarcodesUpdated": {
        "required": [
          "entity",
          "id",
          "next",
          "previous",
          "timestamp",
          "type",
          "user",
          "workspace"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "timestamp": {
            "type": "string",
            "format": "date-time"
          },
          "entity": {
            "$ref": "#/components/schemas/BaseWorkspaceEntityEntityReference"
          },
          "type": {
            "type": "string"
          },
          "user": {
            "$ref": "#/components/schemas/ActivityUserReference"
          },
          "workspace": {
            "type": "string"
          },
          "previous": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "next": {
            "type": "array",
            "items": {
              "type": "string"
            }
          }
        },
        "additionalProperties": false
      },
      "ProductBrandUpdated": {
        "required": [
          "entity",
          "id",
          "next",
          "previous",
          "timestamp",
          "type",
          "user",
          "workspace"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "timestamp": {
            "type": "string",
            "format": "date-time"
          },
          "entity": {
            "$ref": "#/components/schemas/BaseWorkspaceEntityEntityReference"
          },
          "type": {
            "type": "string"
          },
          "user": {
            "$ref": "#/components/schemas/ActivityUserReference"
          },
          "workspace": {
            "type": "string"
          },
          "previous": {
            "$ref": "#/components/schemas/BrandEntityReference"
          },
          "next": {
            "$ref": "#/components/schemas/BrandEntityReference"
          }
        },
        "additionalProperties": false
      },
      "ProductCatalogCreated": {
        "required": [
          "entity",
          "id",
          "timestamp",
          "type",
          "user",
          "workspace"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "timestamp": {
            "type": "string",
            "format": "date-time"
          },
          "entity": {
            "$ref": "#/components/schemas/BaseWorkspaceEntityEntityReference"
          },
          "type": {
            "type": "string"
          },
          "user": {
            "$ref": "#/components/schemas/ActivityUserReference"
          },
          "workspace": {
            "type": "string"
          }
        },
        "additionalProperties": false
      },
      "ProductCatalogDeleted": {
        "required": [
          "entity",
          "id",
          "timestamp",
          "type",
          "user",
          "workspace"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "timestamp": {
            "type": "string",
            "format": "date-time"
          },
          "entity": {
            "$ref": "#/components/schemas/BaseWorkspaceEntityEntityReference"
          },
          "type": {
            "type": "string"
          },
          "user": {
            "$ref": "#/components/schemas/ActivityUserReference"
          },
          "workspace": {
            "type": "string"
          }
        },
        "additionalProperties": false
      },
      "ProductCatalogEntityReference": {
        "required": [
          "id",
          "name",
          "type"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "type": {
            "$ref": "#/components/schemas/ProductCatalogEntityReferenceType"
          }
        },
        "additionalProperties": false
      },
      "ProductCatalogEntityReferenceType": {
        "enum": [
          "ProductCatalog"
        ],
        "type": "string"
      },
      "ProductCatalogExternalReferenceUpdated": {
        "required": [
          "entity",
          "id",
          "next",
          "previous",
          "timestamp",
          "type",
          "user",
          "workspace"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "timestamp": {
            "type": "string",
            "format": "date-time"
          },
          "entity": {
            "$ref": "#/components/schemas/BaseWorkspaceEntityEntityReference"
          },
          "type": {
            "type": "string"
          },
          "user": {
            "$ref": "#/components/schemas/ActivityUserReference"
          },
          "workspace": {
            "type": "string"
          },
          "previous": {
            "type": "string",
            "nullable": true
          },
          "next": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "ProductCatalogLinkCreated": {
        "required": [
          "entity",
          "id",
          "productCatalog",
          "timestamp",
          "type",
          "user",
          "workspace"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "timestamp": {
            "type": "string",
            "format": "date-time"
          },
          "entity": {
            "$ref": "#/components/schemas/BaseWorkspaceEntityEntityReference"
          },
          "type": {
            "type": "string"
          },
          "user": {
            "$ref": "#/components/schemas/ActivityUserReference"
          },
          "workspace": {
            "type": "string"
          },
          "productCatalog": {
            "$ref": "#/components/schemas/ProductCatalogEntityReference"
          }
        },
        "additionalProperties": false
      },
      "ProductCatalogLinkDeleted": {
        "required": [
          "entity",
          "id",
          "productCatalog",
          "timestamp",
          "type",
          "user",
          "workspace"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "timestamp": {
            "type": "string",
            "format": "date-time"
          },
          "entity": {
            "$ref": "#/components/schemas/BaseWorkspaceEntityEntityReference"
          },
          "type": {
            "type": "string"
          },
          "user": {
            "$ref": "#/components/schemas/ActivityUserReference"
          },
          "workspace": {
            "type": "string"
          },
          "productCatalog": {
            "$ref": "#/components/schemas/ProductCatalogEntityReference"
          }
        },
        "additionalProperties": false
      },
      "ProductCatalogNameUpdated": {
        "required": [
          "entity",
          "id",
          "next",
          "previous",
          "timestamp",
          "type",
          "user",
          "workspace"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "timestamp": {
            "type": "string",
            "format": "date-time"
          },
          "entity": {
            "$ref": "#/components/schemas/BaseWorkspaceEntityEntityReference"
          },
          "type": {
            "type": "string"
          },
          "user": {
            "$ref": "#/components/schemas/ActivityUserReference"
          },
          "workspace": {
            "type": "string"
          },
          "previous": {
            "type": "string"
          },
          "next": {
            "type": "string"
          }
        },
        "additionalProperties": false
      },
      "ProductCatalogSorting": {
        "enum": [
          "Name"
        ],
        "type": "string"
      },
      "ProductCategoryActiveUpdated": {
        "required": [
          "entity",
          "id",
          "next",
          "previous",
          "timestamp",
          "type",
          "user",
          "workspace"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "timestamp": {
            "type": "string",
            "format": "date-time"
          },
          "entity": {
            "$ref": "#/components/schemas/BaseWorkspaceEntityEntityReference"
          },
          "type": {
            "type": "string"
          },
          "user": {
            "$ref": "#/components/schemas/ActivityUserReference"
          },
          "workspace": {
            "type": "string"
          },
          "previous": {
            "type": "boolean"
          },
          "next": {
            "type": "boolean"
          }
        },
        "additionalProperties": false
      },
      "ProductCategoryCreated": {
        "required": [
          "entity",
          "id",
          "timestamp",
          "type",
          "user",
          "workspace"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "timestamp": {
            "type": "string",
            "format": "date-time"
          },
          "entity": {
            "$ref": "#/components/schemas/BaseWorkspaceEntityEntityReference"
          },
          "type": {
            "type": "string"
          },
          "user": {
            "$ref": "#/components/schemas/ActivityUserReference"
          },
          "workspace": {
            "type": "string"
          }
        },
        "additionalProperties": false
      },
      "ProductCategoryCustomFieldsUpdated": {
        "required": [
          "entity",
          "id",
          "next",
          "previous",
          "timestamp",
          "type",
          "user",
          "workspace"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "timestamp": {
            "type": "string",
            "format": "date-time"
          },
          "entity": {
            "$ref": "#/components/schemas/BaseWorkspaceEntityEntityReference"
          },
          "type": {
            "type": "string"
          },
          "user": {
            "$ref": "#/components/schemas/ActivityUserReference"
          },
          "workspace": {
            "type": "string"
          },
          "previous": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CustomField"
            }
          },
          "next": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CustomField"
            }
          }
        },
        "additionalProperties": false
      },
      "ProductCategoryDeleted": {
        "required": [
          "entity",
          "id",
          "timestamp",
          "type",
          "user",
          "workspace"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "timestamp": {
            "type": "string",
            "format": "date-time"
          },
          "entity": {
            "$ref": "#/components/schemas/BaseWorkspaceEntityEntityReference"
          },
          "type": {
            "type": "string"
          },
          "user": {
            "$ref": "#/components/schemas/ActivityUserReference"
          },
          "workspace": {
            "type": "string"
          }
        },
        "additionalProperties": false
      },
      "ProductCategoryDisplayContentCreated": {
        "required": [
          "entity",
          "id",
          "timestamp",
          "type",
          "user",
          "workspace"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "timestamp": {
            "type": "string",
            "format": "date-time"
          },
          "entity": {
            "$ref": "#/components/schemas/BaseWorkspaceEntityEntityReference"
          },
          "type": {
            "type": "string"
          },
          "user": {
            "$ref": "#/components/schemas/ActivityUserReference"
          },
          "workspace": {
            "type": "string"
          }
        },
        "additionalProperties": false
      },
      "ProductCategoryDisplayContentDeleted": {
        "required": [
          "entity",
          "id",
          "timestamp",
          "type",
          "user",
          "workspace"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "timestamp": {
            "type": "string",
            "format": "date-time"
          },
          "entity": {
            "$ref": "#/components/schemas/BaseWorkspaceEntityEntityReference"
          },
          "type": {
            "type": "string"
          },
          "user": {
            "$ref": "#/components/schemas/ActivityUserReference"
          },
          "workspace": {
            "type": "string"
          }
        },
        "additionalProperties": false
      },
      "ProductCategoryDisplayContentDescriptionFormatUpdated": {
        "required": [
          "entity",
          "id",
          "next",
          "previous",
          "timestamp",
          "type",
          "user",
          "workspace"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "timestamp": {
            "type": "string",
            "format": "date-time"
          },
          "entity": {
            "$ref": "#/components/schemas/BaseWorkspaceEntityEntityReference"
          },
          "type": {
            "type": "string"
          },
          "user": {
            "$ref": "#/components/schemas/ActivityUserReference"
          },
          "workspace": {
            "type": "string"
          },
          "previous": {
            "$ref": "#/components/schemas/ContentFormat"
          },
          "next": {
            "$ref": "#/components/schemas/ContentFormat"
          }
        },
        "additionalProperties": false
      },
      "ProductCategoryDisplayContentDescriptionUpdated": {
        "required": [
          "entity",
          "id",
          "next",
          "previous",
          "timestamp",
          "type",
          "user",
          "workspace"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "timestamp": {
            "type": "string",
            "format": "date-time"
          },
          "entity": {
            "$ref": "#/components/schemas/BaseWorkspaceEntityEntityReference"
          },
          "type": {
            "type": "string"
          },
          "user": {
            "$ref": "#/components/schemas/ActivityUserReference"
          },
          "workspace": {
            "type": "string"
          },
          "previous": {
            "type": "string",
            "nullable": true
          },
          "next": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "ProductCategoryDisplayContentExcerptUpdated": {
        "required": [
          "entity",
          "id",
          "next",
          "previous",
          "timestamp",
          "type",
          "user",
          "workspace"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "timestamp": {
            "type": "string",
            "format": "date-time"
          },
          "entity": {
            "$ref": "#/components/schemas/BaseWorkspaceEntityEntityReference"
          },
          "type": {
            "type": "string"
          },
          "user": {
            "$ref": "#/components/schemas/ActivityUserReference"
          },
          "workspace": {
            "type": "string"
          },
          "previous": {
            "type": "string",
            "nullable": true
          },
          "next": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "ProductCategoryDisplayContentExternalReferenceUpdated": {
        "required": [
          "entity",
          "id",
          "next",
          "previous",
          "timestamp",
          "type",
          "user",
          "workspace"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "timestamp": {
            "type": "string",
            "format": "date-time"
          },
          "entity": {
            "$ref": "#/components/schemas/BaseWorkspaceEntityEntityReference"
          },
          "type": {
            "type": "string"
          },
          "user": {
            "$ref": "#/components/schemas/ActivityUserReference"
          },
          "workspace": {
            "type": "string"
          },
          "previous": {
            "type": "string",
            "nullable": true
          },
          "next": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "ProductCategoryDisplayContentSeoMetaUpdated": {
        "required": [
          "entity",
          "id",
          "next",
          "previous",
          "timestamp",
          "type",
          "user",
          "workspace"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "timestamp": {
            "type": "string",
            "format": "date-time"
          },
          "entity": {
            "$ref": "#/components/schemas/BaseWorkspaceEntityEntityReference"
          },
          "type": {
            "type": "string"
          },
          "user": {
            "$ref": "#/components/schemas/ActivityUserReference"
          },
          "workspace": {
            "type": "string"
          },
          "previous": {
            "$ref": "#/components/schemas/SeoMeta"
          },
          "next": {
            "$ref": "#/components/schemas/SeoMeta"
          }
        },
        "additionalProperties": false
      },
      "ProductCategoryDisplayContentSorting": {
        "enum": [
          "Title"
        ],
        "type": "string"
      },
      "ProductCategoryDisplayContentTitleUpdated": {
        "required": [
          "entity",
          "id",
          "next",
          "previous",
          "timestamp",
          "type",
          "user",
          "workspace"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "timestamp": {
            "type": "string",
            "format": "date-time"
          },
          "entity": {
            "$ref": "#/components/schemas/BaseWorkspaceEntityEntityReference"
          },
          "type": {
            "type": "string"
          },
          "user": {
            "$ref": "#/components/schemas/ActivityUserReference"
          },
          "workspace": {
            "type": "string"
          },
          "previous": {
            "type": "string"
          },
          "next": {
            "type": "string"
          }
        },
        "additionalProperties": false
      },
      "ProductCategoryDisplayOrderUpdated": {
        "required": [
          "entity",
          "id",
          "next",
          "previous",
          "timestamp",
          "type",
          "user",
          "workspace"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "timestamp": {
            "type": "string",
            "format": "date-time"
          },
          "entity": {
            "$ref": "#/components/schemas/BaseWorkspaceEntityEntityReference"
          },
          "type": {
            "type": "string"
          },
          "user": {
            "$ref": "#/components/schemas/ActivityUserReference"
          },
          "workspace": {
            "type": "string"
          },
          "previous": {
            "type": "integer",
            "format": "int32"
          },
          "next": {
            "type": "integer",
            "format": "int32"
          }
        },
        "additionalProperties": false
      },
      "ProductCategoryEntityReference": {
        "required": [
          "id",
          "name",
          "type"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "type": {
            "$ref": "#/components/schemas/ProductCategoryEntityReferenceType"
          }
        },
        "additionalProperties": false
      },
      "ProductCategoryEntityReferenceType": {
        "enum": [
          "ProductCategory"
        ],
        "type": "string"
      },
      "ProductCategoryExternalReferenceUpdated": {
        "required": [
          "entity",
          "id",
          "next",
          "previous",
          "timestamp",
          "type",
          "user",
          "workspace"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "timestamp": {
            "type": "string",
            "format": "date-time"
          },
          "entity": {
            "$ref": "#/components/schemas/BaseWorkspaceEntityEntityReference"
          },
          "type": {
            "type": "string"
          },
          "user": {
            "$ref": "#/components/schemas/ActivityUserReference"
          },
          "workspace": {
            "type": "string"
          },
          "previous": {
            "type": "string",
            "nullable": true
          },
          "next": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "ProductCategoryImageUpdated": {
        "required": [
          "entity",
          "id",
          "next",
          "previous",
          "timestamp",
          "type",
          "user",
          "workspace"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "timestamp": {
            "type": "string",
            "format": "date-time"
          },
          "entity": {
            "$ref": "#/components/schemas/BaseWorkspaceEntityEntityReference"
          },
          "type": {
            "type": "string"
          },
          "user": {
            "$ref": "#/components/schemas/ActivityUserReference"
          },
          "workspace": {
            "type": "string"
          },
          "previous": {
            "type": "string",
            "nullable": true
          },
          "next": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "ProductCategoryLinkCreated": {
        "required": [
          "entity",
          "id",
          "productCategory",
          "timestamp",
          "type",
          "user",
          "workspace"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "timestamp": {
            "type": "string",
            "format": "date-time"
          },
          "entity": {
            "$ref": "#/components/schemas/BaseWorkspaceEntityEntityReference"
          },
          "type": {
            "type": "string"
          },
          "user": {
            "$ref": "#/components/schemas/ActivityUserReference"
          },
          "workspace": {
            "type": "string"
          },
          "productCategory": {
            "$ref": "#/components/schemas/ProductCategoryEntityReference"
          }
        },
        "additionalProperties": false
      },
      "ProductCategoryLinkDeleted": {
        "required": [
          "entity",
          "id",
          "productCategory",
          "timestamp",
          "type",
          "user",
          "workspace"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "timestamp": {
            "type": "string",
            "format": "date-time"
          },
          "entity": {
            "$ref": "#/components/schemas/BaseWorkspaceEntityEntityReference"
          },
          "type": {
            "type": "string"
          },
          "user": {
            "$ref": "#/components/schemas/ActivityUserReference"
          },
          "workspace": {
            "type": "string"
          },
          "productCategory": {
            "$ref": "#/components/schemas/ProductCategoryEntityReference"
          }
        },
        "additionalProperties": false
      },
      "ProductCategoryNameUpdated": {
        "required": [
          "entity",
          "id",
          "next",
          "previous",
          "timestamp",
          "type",
          "user",
          "workspace"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "timestamp": {
            "type": "string",
            "format": "date-time"
          },
          "entity": {
            "$ref": "#/components/schemas/BaseWorkspaceEntityEntityReference"
          },
          "type": {
            "type": "string"
          },
          "user": {
            "$ref": "#/components/schemas/ActivityUserReference"
          },
          "workspace": {
            "type": "string"
          },
          "previous": {
            "type": "string"
          },
          "next": {
            "type": "string"
          }
        },
        "additionalProperties": false
      },
      "ProductCategoryParentUpdated": {
        "required": [
          "entity",
          "id",
          "next",
          "previous",
          "timestamp",
          "type",
          "user",
          "workspace"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "timestamp": {
            "type": "string",
            "format": "date-time"
          },
          "entity": {
            "$ref": "#/components/schemas/BaseWorkspaceEntityEntityReference"
          },
          "type": {
            "type": "string"
          },
          "user": {
            "$ref": "#/components/schemas/ActivityUserReference"
          },
          "workspace": {
            "type": "string"
          },
          "previous": {
            "$ref": "#/components/schemas/ProductCategoryEntityReference"
          },
          "next": {
            "$ref": "#/components/schemas/ProductCategoryEntityReference"
          }
        },
        "additionalProperties": false
      },
      "ProductCategorySorting": {
        "enum": [
          "Name",
          "DisplayOrder"
        ],
        "type": "string"
      },
      "ProductCategoryVisibilitySettings": {
        "required": [
          "showInMenu"
        ],
        "type": "object",
        "properties": {
          "showInMenu": {
            "type": "boolean"
          }
        },
        "additionalProperties": false
      },
      "ProductCategoryVisibilityUpdated": {
        "required": [
          "entity",
          "id",
          "next",
          "previous",
          "timestamp",
          "type",
          "user",
          "workspace"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "timestamp": {
            "type": "string",
            "format": "date-time"
          },
          "entity": {
            "$ref": "#/components/schemas/BaseWorkspaceEntityEntityReference"
          },
          "type": {
            "type": "string"
          },
          "user": {
            "$ref": "#/components/schemas/ActivityUserReference"
          },
          "workspace": {
            "type": "string"
          },
          "previous": {
            "$ref": "#/components/schemas/ProductCategoryVisibilitySettings"
          },
          "next": {
            "$ref": "#/components/schemas/ProductCategoryVisibilitySettings"
          }
        },
        "additionalProperties": false
      },
      "ProductCreated": {
        "required": [
          "entity",
          "id",
          "timestamp",
          "type",
          "user",
          "workspace"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "timestamp": {
            "type": "string",
            "format": "date-time"
          },
          "entity": {
            "$ref": "#/components/schemas/BaseWorkspaceEntityEntityReference"
          },
          "type": {
            "type": "string"
          },
          "user": {
            "$ref": "#/components/schemas/ActivityUserReference"
          },
          "workspace": {
            "type": "string"
          }
        },
        "additionalProperties": false
      },
      "ProductCustomFieldsUpdated": {
        "required": [
          "entity",
          "id",
          "next",
          "previous",
          "timestamp",
          "type",
          "user",
          "workspace"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "timestamp": {
            "type": "string",
            "format": "date-time"
          },
          "entity": {
            "$ref": "#/components/schemas/BaseWorkspaceEntityEntityReference"
          },
          "type": {
            "type": "string"
          },
          "user": {
            "$ref": "#/components/schemas/ActivityUserReference"
          },
          "workspace": {
            "type": "string"
          },
          "previous": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CustomField"
            }
          },
          "next": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CustomField"
            }
          }
        },
        "additionalProperties": false
      },
      "ProductDeleted": {
        "required": [
          "entity",
          "id",
          "timestamp",
          "type",
          "user",
          "workspace"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "timestamp": {
            "type": "string",
            "format": "date-time"
          },
          "entity": {
            "$ref": "#/components/schemas/BaseWorkspaceEntityEntityReference"
          },
          "type": {
            "type": "string"
          },
          "user": {
            "$ref": "#/components/schemas/ActivityUserReference"
          },
          "workspace": {
            "type": "string"
          }
        },
        "additionalProperties": false
      },
      "ProductDisplayContentCreated": {
        "required": [
          "entity",
          "id",
          "timestamp",
          "type",
          "user",
          "workspace"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "timestamp": {
            "type": "string",
            "format": "date-time"
          },
          "entity": {
            "$ref": "#/components/schemas/BaseWorkspaceEntityEntityReference"
          },
          "type": {
            "type": "string"
          },
          "user": {
            "$ref": "#/components/schemas/ActivityUserReference"
          },
          "workspace": {
            "type": "string"
          }
        },
        "additionalProperties": false
      },
      "ProductDisplayContentDeleted": {
        "required": [
          "entity",
          "id",
          "timestamp",
          "type",
          "user",
          "workspace"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "timestamp": {
            "type": "string",
            "format": "date-time"
          },
          "entity": {
            "$ref": "#/components/schemas/BaseWorkspaceEntityEntityReference"
          },
          "type": {
            "type": "string"
          },
          "user": {
            "$ref": "#/components/schemas/ActivityUserReference"
          },
          "workspace": {
            "type": "string"
          }
        },
        "additionalProperties": false
      },
      "ProductDisplayContentDescriptionFormatUpdated": {
        "required": [
          "entity",
          "id",
          "next",
          "previous",
          "timestamp",
          "type",
          "user",
          "workspace"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "timestamp": {
            "type": "string",
            "format": "date-time"
          },
          "entity": {
            "$ref": "#/components/schemas/BaseWorkspaceEntityEntityReference"
          },
          "type": {
            "type": "string"
          },
          "user": {
            "$ref": "#/components/schemas/ActivityUserReference"
          },
          "workspace": {
            "type": "string"
          },
          "previous": {
            "$ref": "#/components/schemas/ContentFormat"
          },
          "next": {
            "$ref": "#/components/schemas/ContentFormat"
          }
        },
        "additionalProperties": false
      },
      "ProductDisplayContentDescriptionUpdated": {
        "required": [
          "entity",
          "id",
          "next",
          "previous",
          "timestamp",
          "type",
          "user",
          "workspace"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "timestamp": {
            "type": "string",
            "format": "date-time"
          },
          "entity": {
            "$ref": "#/components/schemas/BaseWorkspaceEntityEntityReference"
          },
          "type": {
            "type": "string"
          },
          "user": {
            "$ref": "#/components/schemas/ActivityUserReference"
          },
          "workspace": {
            "type": "string"
          },
          "previous": {
            "type": "string",
            "nullable": true
          },
          "next": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "ProductDisplayContentExcerptUpdated": {
        "required": [
          "entity",
          "id",
          "next",
          "previous",
          "timestamp",
          "type",
          "user",
          "workspace"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "timestamp": {
            "type": "string",
            "format": "date-time"
          },
          "entity": {
            "$ref": "#/components/schemas/BaseWorkspaceEntityEntityReference"
          },
          "type": {
            "type": "string"
          },
          "user": {
            "$ref": "#/components/schemas/ActivityUserReference"
          },
          "workspace": {
            "type": "string"
          },
          "previous": {
            "type": "string",
            "nullable": true
          },
          "next": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "ProductDisplayContentExternalReferenceUpdated": {
        "required": [
          "entity",
          "id",
          "next",
          "previous",
          "timestamp",
          "type",
          "user",
          "workspace"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "timestamp": {
            "type": "string",
            "format": "date-time"
          },
          "entity": {
            "$ref": "#/components/schemas/BaseWorkspaceEntityEntityReference"
          },
          "type": {
            "type": "string"
          },
          "user": {
            "$ref": "#/components/schemas/ActivityUserReference"
          },
          "workspace": {
            "type": "string"
          },
          "previous": {
            "type": "string",
            "nullable": true
          },
          "next": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "ProductDisplayContentSeoMetaUpdated": {
        "required": [
          "entity",
          "id",
          "next",
          "previous",
          "timestamp",
          "type",
          "user",
          "workspace"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "timestamp": {
            "type": "string",
            "format": "date-time"
          },
          "entity": {
            "$ref": "#/components/schemas/BaseWorkspaceEntityEntityReference"
          },
          "type": {
            "type": "string"
          },
          "user": {
            "$ref": "#/components/schemas/ActivityUserReference"
          },
          "workspace": {
            "type": "string"
          },
          "previous": {
            "$ref": "#/components/schemas/SeoMeta"
          },
          "next": {
            "$ref": "#/components/schemas/SeoMeta"
          }
        },
        "additionalProperties": false
      },
      "ProductDisplayContentSorting": {
        "enum": [
          "Title"
        ],
        "type": "string"
      },
      "ProductDisplayContentTitleUpdated": {
        "required": [
          "entity",
          "id",
          "next",
          "previous",
          "timestamp",
          "type",
          "user",
          "workspace"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "timestamp": {
            "type": "string",
            "format": "date-time"
          },
          "entity": {
            "$ref": "#/components/schemas/BaseWorkspaceEntityEntityReference"
          },
          "type": {
            "type": "string"
          },
          "user": {
            "$ref": "#/components/schemas/ActivityUserReference"
          },
          "workspace": {
            "type": "string"
          },
          "previous": {
            "type": "string"
          },
          "next": {
            "type": "string"
          }
        },
        "additionalProperties": false
      },
      "ProductDisplayOrderUpdated": {
        "required": [
          "entity",
          "id",
          "next",
          "previous",
          "timestamp",
          "type",
          "user",
          "workspace"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "timestamp": {
            "type": "string",
            "format": "date-time"
          },
          "entity": {
            "$ref": "#/components/schemas/BaseWorkspaceEntityEntityReference"
          },
          "type": {
            "type": "string"
          },
          "user": {
            "$ref": "#/components/schemas/ActivityUserReference"
          },
          "workspace": {
            "type": "string"
          },
          "previous": {
            "type": "integer",
            "format": "int32"
          },
          "next": {
            "type": "integer",
            "format": "int32"
          }
        },
        "additionalProperties": false
      },
      "ProductEntityReference": {
        "required": [
          "id",
          "name",
          "type"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "type": {
            "$ref": "#/components/schemas/ProductEntityReferenceType"
          }
        },
        "additionalProperties": false
      },
      "ProductEntityReferenceType": {
        "enum": [
          "Product"
        ],
        "type": "string"
      },
      "ProductExternalReferenceUpdated": {
        "required": [
          "entity",
          "id",
          "next",
          "previous",
          "timestamp",
          "type",
          "user",
          "workspace"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "timestamp": {
            "type": "string",
            "format": "date-time"
          },
          "entity": {
            "$ref": "#/components/schemas/BaseWorkspaceEntityEntityReference"
          },
          "type": {
            "type": "string"
          },
          "user": {
            "$ref": "#/components/schemas/ActivityUserReference"
          },
          "workspace": {
            "type": "string"
          },
          "previous": {
            "type": "string",
            "nullable": true
          },
          "next": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "ProductGtinUpdated": {
        "required": [
          "entity",
          "id",
          "next",
          "previous",
          "timestamp",
          "type",
          "user",
          "workspace"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "timestamp": {
            "type": "string",
            "format": "date-time"
          },
          "entity": {
            "$ref": "#/components/schemas/BaseWorkspaceEntityEntityReference"
          },
          "type": {
            "type": "string"
          },
          "user": {
            "$ref": "#/components/schemas/ActivityUserReference"
          },
          "workspace": {
            "type": "string"
          },
          "previous": {
            "type": "string",
            "nullable": true
          },
          "next": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "ProductHyperlinksUpdated": {
        "required": [
          "entity",
          "id",
          "next",
          "previous",
          "timestamp",
          "type",
          "user",
          "workspace"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "timestamp": {
            "type": "string",
            "format": "date-time"
          },
          "entity": {
            "$ref": "#/components/schemas/BaseWorkspaceEntityEntityReference"
          },
          "type": {
            "type": "string"
          },
          "user": {
            "$ref": "#/components/schemas/ActivityUserReference"
          },
          "workspace": {
            "type": "string"
          },
          "previous": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Hyperlink"
            }
          },
          "next": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Hyperlink"
            }
          }
        },
        "additionalProperties": false
      },
      "ProductIdentifierAndQuantity": {
        "required": [
          "identifier",
          "quantity"
        ],
        "type": "object",
        "properties": {
          "identifier": {
            "type": "string"
          },
          "quantity": {
            "type": "number",
            "format": "double"
          }
        },
        "additionalProperties": false
      },
      "ProductImage": {
        "required": [
          "displayOrder",
          "filename"
        ],
        "type": "object",
        "properties": {
          "filename": {
            "type": "string"
          },
          "displayOrder": {
            "type": "integer",
            "format": "int32"
          }
        },
        "additionalProperties": false
      },
      "ProductImagesUpdated": {
        "required": [
          "entity",
          "id",
          "next",
          "previous",
          "timestamp",
          "type",
          "user",
          "workspace"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "timestamp": {
            "type": "string",
            "format": "date-time"
          },
          "entity": {
            "$ref": "#/components/schemas/BaseWorkspaceEntityEntityReference"
          },
          "type": {
            "type": "string"
          },
          "user": {
            "$ref": "#/components/schemas/ActivityUserReference"
          },
          "workspace": {
            "type": "string"
          },
          "previous": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ProductImage"
            }
          },
          "next": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ProductImage"
            }
          }
        },
        "additionalProperties": false
      },
      "ProductIntroducedAtUpdated": {
        "required": [
          "entity",
          "id",
          "next",
          "previous",
          "timestamp",
          "type",
          "user",
          "workspace"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "timestamp": {
            "type": "string",
            "format": "date-time"
          },
          "entity": {
            "$ref": "#/components/schemas/BaseWorkspaceEntityEntityReference"
          },
          "type": {
            "type": "string"
          },
          "user": {
            "$ref": "#/components/schemas/ActivityUserReference"
          },
          "workspace": {
            "type": "string"
          },
          "previous": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "next": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "ProductLinkCreated": {
        "required": [
          "entity",
          "id",
          "linkType",
          "product",
          "timestamp",
          "type",
          "user",
          "workspace"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "timestamp": {
            "type": "string",
            "format": "date-time"
          },
          "entity": {
            "$ref": "#/components/schemas/BaseWorkspaceEntityEntityReference"
          },
          "type": {
            "type": "string"
          },
          "user": {
            "$ref": "#/components/schemas/ActivityUserReference"
          },
          "workspace": {
            "type": "string"
          },
          "product": {
            "$ref": "#/components/schemas/ProductEntityReference"
          },
          "linkType": {
            "$ref": "#/components/schemas/ProductLinkType"
          }
        },
        "additionalProperties": false
      },
      "ProductLinkDeleted": {
        "required": [
          "entity",
          "id",
          "linkType",
          "product",
          "timestamp",
          "type",
          "user",
          "workspace"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "timestamp": {
            "type": "string",
            "format": "date-time"
          },
          "entity": {
            "$ref": "#/components/schemas/BaseWorkspaceEntityEntityReference"
          },
          "type": {
            "type": "string"
          },
          "user": {
            "$ref": "#/components/schemas/ActivityUserReference"
          },
          "workspace": {
            "type": "string"
          },
          "product": {
            "$ref": "#/components/schemas/ProductEntityReference"
          },
          "linkType": {
            "$ref": "#/components/schemas/ProductLinkType"
          }
        },
        "additionalProperties": false
      },
      "ProductLinkType": {
        "enum": [
          "Unspecified",
          "ConfiguredProduct",
          "ConfigurableProduct",
          "GroupedProduct",
          "BundledProduct",
          "RelatedProduct",
          "UpSellProduct",
          "CrossSellProduct"
        ],
        "type": "string"
      },
      "ProductManufacturerCreated": {
        "required": [
          "entity",
          "id",
          "timestamp",
          "type",
          "user",
          "workspace"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "timestamp": {
            "type": "string",
            "format": "date-time"
          },
          "entity": {
            "$ref": "#/components/schemas/BaseWorkspaceEntityEntityReference"
          },
          "type": {
            "type": "string"
          },
          "user": {
            "$ref": "#/components/schemas/ActivityUserReference"
          },
          "workspace": {
            "type": "string"
          }
        },
        "additionalProperties": false
      },
      "ProductManufacturerDeleted": {
        "required": [
          "entity",
          "id",
          "timestamp",
          "type",
          "user",
          "workspace"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "timestamp": {
            "type": "string",
            "format": "date-time"
          },
          "entity": {
            "$ref": "#/components/schemas/BaseWorkspaceEntityEntityReference"
          },
          "type": {
            "type": "string"
          },
          "user": {
            "$ref": "#/components/schemas/ActivityUserReference"
          },
          "workspace": {
            "type": "string"
          }
        },
        "additionalProperties": false
      },
      "ProductManufacturerEmailUpdated": {
        "required": [
          "entity",
          "id",
          "next",
          "previous",
          "timestamp",
          "type",
          "user",
          "workspace"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "timestamp": {
            "type": "string",
            "format": "date-time"
          },
          "entity": {
            "$ref": "#/components/schemas/BaseWorkspaceEntityEntityReference"
          },
          "type": {
            "type": "string"
          },
          "user": {
            "$ref": "#/components/schemas/ActivityUserReference"
          },
          "workspace": {
            "type": "string"
          },
          "previous": {
            "type": "string",
            "nullable": true
          },
          "next": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "ProductManufacturerEntityReference": {
        "required": [
          "id",
          "name",
          "type"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "type": {
            "$ref": "#/components/schemas/ProductManufacturerEntityReferenceType"
          }
        },
        "additionalProperties": false
      },
      "ProductManufacturerEntityReferenceType": {
        "enum": [
          "ProductManufacturer"
        ],
        "type": "string"
      },
      "ProductManufacturerExternalReferenceUpdated": {
        "required": [
          "entity",
          "id",
          "next",
          "previous",
          "timestamp",
          "type",
          "user",
          "workspace"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "timestamp": {
            "type": "string",
            "format": "date-time"
          },
          "entity": {
            "$ref": "#/components/schemas/BaseWorkspaceEntityEntityReference"
          },
          "type": {
            "type": "string"
          },
          "user": {
            "$ref": "#/components/schemas/ActivityUserReference"
          },
          "workspace": {
            "type": "string"
          },
          "previous": {
            "type": "string",
            "nullable": true
          },
          "next": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "ProductManufacturerNameUpdated": {
        "required": [
          "entity",
          "id",
          "next",
          "previous",
          "timestamp",
          "type",
          "user",
          "workspace"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "timestamp": {
            "type": "string",
            "format": "date-time"
          },
          "entity": {
            "$ref": "#/components/schemas/BaseWorkspaceEntityEntityReference"
          },
          "type": {
            "type": "string"
          },
          "user": {
            "$ref": "#/components/schemas/ActivityUserReference"
          },
          "workspace": {
            "type": "string"
          },
          "previous": {
            "type": "string"
          },
          "next": {
            "type": "string"
          }
        },
        "additionalProperties": false
      },
      "ProductManufacturerSorting": {
        "enum": [
          "Name"
        ],
        "type": "string"
      },
      "ProductManufacturerUpdated": {
        "required": [
          "entity",
          "id",
          "next",
          "previous",
          "timestamp",
          "type",
          "user",
          "workspace"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "timestamp": {
            "type": "string",
            "format": "date-time"
          },
          "entity": {
            "$ref": "#/components/schemas/BaseWorkspaceEntityEntityReference"
          },
          "type": {
            "type": "string"
          },
          "user": {
            "$ref": "#/components/schemas/ActivityUserReference"
          },
          "workspace": {
            "type": "string"
          },
          "previous": {
            "$ref": "#/components/schemas/ProductManufacturerEntityReference"
          },
          "next": {
            "$ref": "#/components/schemas/ProductManufacturerEntityReference"
          }
        },
        "additionalProperties": false
      },
      "ProductNameUpdated": {
        "required": [
          "entity",
          "id",
          "next",
          "previous",
          "timestamp",
          "type",
          "user",
          "workspace"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "timestamp": {
            "type": "string",
            "format": "date-time"
          },
          "entity": {
            "$ref": "#/components/schemas/BaseWorkspaceEntityEntityReference"
          },
          "type": {
            "type": "string"
          },
          "user": {
            "$ref": "#/components/schemas/ActivityUserReference"
          },
          "workspace": {
            "type": "string"
          },
          "previous": {
            "type": "string"
          },
          "next": {
            "type": "string"
          }
        },
        "additionalProperties": false
      },
      "ProductPacking": {
        "type": "object",
        "properties": {
          "packingUnit": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "packingContainer": {
            "type": "string",
            "nullable": true
          },
          "packingQuantity": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "unit": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "ProductPackingUpdated": {
        "required": [
          "entity",
          "id",
          "next",
          "previous",
          "timestamp",
          "type",
          "user",
          "workspace"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "timestamp": {
            "type": "string",
            "format": "date-time"
          },
          "entity": {
            "$ref": "#/components/schemas/BaseWorkspaceEntityEntityReference"
          },
          "type": {
            "type": "string"
          },
          "user": {
            "$ref": "#/components/schemas/ActivityUserReference"
          },
          "workspace": {
            "type": "string"
          },
          "previous": {
            "$ref": "#/components/schemas/ProductPacking"
          },
          "next": {
            "$ref": "#/components/schemas/ProductPacking"
          }
        },
        "additionalProperties": false
      },
      "ProductPrice": {
        "required": [
          "shouldRequestPrice"
        ],
        "type": "object",
        "properties": {
          "salesPrice": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "purchasePrice": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "suggestedRetailPrice": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "vatCodeId": {
            "type": "string",
            "nullable": true
          },
          "shouldRequestPrice": {
            "type": "boolean"
          },
          "vatCode": {
            "$ref": "#/components/schemas/VatCode"
          }
        },
        "additionalProperties": false
      },
      "ProductPriceUpdated": {
        "required": [
          "entity",
          "id",
          "next",
          "previous",
          "timestamp",
          "type",
          "user",
          "workspace"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "timestamp": {
            "type": "string",
            "format": "date-time"
          },
          "entity": {
            "$ref": "#/components/schemas/BaseWorkspaceEntityEntityReference"
          },
          "type": {
            "type": "string"
          },
          "user": {
            "$ref": "#/components/schemas/ActivityUserReference"
          },
          "workspace": {
            "type": "string"
          },
          "previous": {
            "$ref": "#/components/schemas/ProductPrice"
          },
          "next": {
            "$ref": "#/components/schemas/ProductPrice"
          }
        },
        "additionalProperties": false
      },
      "ProductProductCodeUpdated": {
        "required": [
          "entity",
          "id",
          "next",
          "previous",
          "timestamp",
          "type",
          "user",
          "workspace"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "timestamp": {
            "type": "string",
            "format": "date-time"
          },
          "entity": {
            "$ref": "#/components/schemas/BaseWorkspaceEntityEntityReference"
          },
          "type": {
            "type": "string"
          },
          "user": {
            "$ref": "#/components/schemas/ActivityUserReference"
          },
          "workspace": {
            "type": "string"
          },
          "previous": {
            "type": "string",
            "nullable": true
          },
          "next": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "ProductProductTypeUpdated": {
        "required": [
          "entity",
          "id",
          "next",
          "previous",
          "timestamp",
          "type",
          "user",
          "workspace"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "timestamp": {
            "type": "string",
            "format": "date-time"
          },
          "entity": {
            "$ref": "#/components/schemas/BaseWorkspaceEntityEntityReference"
          },
          "type": {
            "type": "string"
          },
          "user": {
            "$ref": "#/components/schemas/ActivityUserReference"
          },
          "workspace": {
            "type": "string"
          },
          "previous": {
            "$ref": "#/components/schemas/ProductType"
          },
          "next": {
            "$ref": "#/components/schemas/ProductType"
          }
        },
        "additionalProperties": false
      },
      "ProductSalesSettings": {
        "required": [
          "minimumQuantity",
          "quantityStep"
        ],
        "type": "object",
        "properties": {
          "minimumQuantity": {
            "type": "number",
            "format": "double"
          },
          "quantityStep": {
            "type": "number",
            "format": "double"
          }
        },
        "additionalProperties": false
      },
      "ProductSalesSettingsUpdated": {
        "required": [
          "entity",
          "id",
          "next",
          "previous",
          "timestamp",
          "type",
          "user",
          "workspace"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "timestamp": {
            "type": "string",
            "format": "date-time"
          },
          "entity": {
            "$ref": "#/components/schemas/BaseWorkspaceEntityEntityReference"
          },
          "type": {
            "type": "string"
          },
          "user": {
            "$ref": "#/components/schemas/ActivityUserReference"
          },
          "workspace": {
            "type": "string"
          },
          "previous": {
            "$ref": "#/components/schemas/ProductSalesSettings"
          },
          "next": {
            "$ref": "#/components/schemas/ProductSalesSettings"
          }
        },
        "additionalProperties": false
      },
      "ProductSearchCodeUpdated": {
        "required": [
          "entity",
          "id",
          "next",
          "previous",
          "timestamp",
          "type",
          "user",
          "workspace"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "timestamp": {
            "type": "string",
            "format": "date-time"
          },
          "entity": {
            "$ref": "#/components/schemas/BaseWorkspaceEntityEntityReference"
          },
          "type": {
            "type": "string"
          },
          "user": {
            "$ref": "#/components/schemas/ActivityUserReference"
          },
          "workspace": {
            "type": "string"
          },
          "previous": {
            "type": "string"
          },
          "next": {
            "type": "string"
          }
        },
        "additionalProperties": false
      },
      "ProductShowStockUpdated": {
        "required": [
          "entity",
          "id",
          "next",
          "previous",
          "timestamp",
          "type",
          "user",
          "workspace"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "timestamp": {
            "type": "string",
            "format": "date-time"
          },
          "entity": {
            "$ref": "#/components/schemas/BaseWorkspaceEntityEntityReference"
          },
          "type": {
            "type": "string"
          },
          "user": {
            "$ref": "#/components/schemas/ActivityUserReference"
          },
          "workspace": {
            "type": "string"
          },
          "previous": {
            "type": "boolean"
          },
          "next": {
            "type": "boolean"
          }
        },
        "additionalProperties": false
      },
      "ProductSkuUpdated": {
        "required": [
          "entity",
          "id",
          "next",
          "previous",
          "timestamp",
          "type",
          "user",
          "workspace"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "timestamp": {
            "type": "string",
            "format": "date-time"
          },
          "entity": {
            "$ref": "#/components/schemas/BaseWorkspaceEntityEntityReference"
          },
          "type": {
            "type": "string"
          },
          "user": {
            "$ref": "#/components/schemas/ActivityUserReference"
          },
          "workspace": {
            "type": "string"
          },
          "previous": {
            "type": "string",
            "nullable": true
          },
          "next": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "ProductSorting": {
        "enum": [
          "DisplayOrder",
          "Id",
          "Name"
        ],
        "type": "string"
      },
      "ProductTagsUpdated": {
        "required": [
          "entity",
          "id",
          "next",
          "previous",
          "timestamp",
          "type",
          "user",
          "workspace"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "timestamp": {
            "type": "string",
            "format": "date-time"
          },
          "entity": {
            "$ref": "#/components/schemas/BaseWorkspaceEntityEntityReference"
          },
          "type": {
            "type": "string"
          },
          "user": {
            "$ref": "#/components/schemas/ActivityUserReference"
          },
          "workspace": {
            "type": "string"
          },
          "previous": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "next": {
            "type": "array",
            "items": {
              "type": "string"
            }
          }
        },
        "additionalProperties": false
      },
      "ProductType": {
        "enum": [
          "SimpleProduct",
          "ConfigurableProduct",
          "GroupedProduct",
          "BundledProduct"
        ],
        "type": "string"
      },
      "ProductVisibilitySettings": {
        "required": [
          "showInFilter",
          "showInSearch"
        ],
        "type": "object",
        "properties": {
          "showInFilter": {
            "type": "boolean"
          },
          "showInSearch": {
            "type": "boolean"
          }
        },
        "additionalProperties": false
      },
      "ProductVisibilitySettingsUpdated": {
        "required": [
          "entity",
          "id",
          "next",
          "previous",
          "timestamp",
          "type",
          "user",
          "workspace"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "timestamp": {
            "type": "string",
            "format": "date-time"
          },
          "entity": {
            "$ref": "#/components/schemas/BaseWorkspaceEntityEntityReference"
          },
          "type": {
            "type": "string"
          },
          "user": {
            "$ref": "#/components/schemas/ActivityUserReference"
          },
          "workspace": {
            "type": "string"
          },
          "previous": {
            "$ref": "#/components/schemas/ProductVisibilitySettings"
          },
          "next": {
            "$ref": "#/components/schemas/ProductVisibilitySettings"
          }
        },
        "additionalProperties": false
      },
      "RemoveProductsFromCategoriesRequest": {
        "required": [
          "categoryIds",
          "productIds"
        ],
        "type": "object",
        "properties": {
          "productIds": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "categoryIds": {
            "type": "array",
            "items": {
              "type": "string"
            }
          }
        },
        "additionalProperties": false
      },
      "RemoveSupportedLanguageRequest": {
        "required": [
          "languageCode"
        ],
        "type": "object",
        "properties": {
          "languageCode": {
            "type": "string"
          }
        },
        "additionalProperties": false
      },
      "SalesOrderBilling": {
        "type": "object",
        "properties": {
          "address": {
            "$ref": "#/components/schemas/Address"
          },
          "attendeeName": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "SalesOrderBillingUpdated": {
        "required": [
          "entity",
          "id",
          "next",
          "previous",
          "timestamp",
          "type",
          "user",
          "workspace"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "timestamp": {
            "type": "string",
            "format": "date-time"
          },
          "entity": {
            "$ref": "#/components/schemas/BaseWorkspaceEntityEntityReference"
          },
          "type": {
            "type": "string"
          },
          "user": {
            "$ref": "#/components/schemas/ActivityUserReference"
          },
          "workspace": {
            "type": "string"
          },
          "previous": {
            "$ref": "#/components/schemas/SalesOrderBilling"
          },
          "next": {
            "$ref": "#/components/schemas/SalesOrderBilling"
          }
        },
        "additionalProperties": false
      },
      "SalesOrderChannelUpdated": {
        "required": [
          "entity",
          "id",
          "next",
          "previous",
          "timestamp",
          "type",
          "user",
          "workspace"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "timestamp": {
            "type": "string",
            "format": "date-time"
          },
          "entity": {
            "$ref": "#/components/schemas/BaseWorkspaceEntityEntityReference"
          },
          "type": {
            "type": "string"
          },
          "user": {
            "$ref": "#/components/schemas/ActivityUserReference"
          },
          "workspace": {
            "type": "string"
          },
          "previous": {
            "type": "string"
          },
          "next": {
            "type": "string"
          }
        },
        "additionalProperties": false
      },
      "SalesOrderCreated": {
        "required": [
          "entity",
          "id",
          "timestamp",
          "type",
          "user",
          "workspace"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "timestamp": {
            "type": "string",
            "format": "date-time"
          },
          "entity": {
            "$ref": "#/components/schemas/BaseWorkspaceEntityEntityReference"
          },
          "type": {
            "type": "string"
          },
          "user": {
            "$ref": "#/components/schemas/ActivityUserReference"
          },
          "workspace": {
            "type": "string"
          }
        },
        "additionalProperties": false
      },
      "SalesOrderCurrency": {
        "required": [
          "code",
          "conversionRate"
        ],
        "type": "object",
        "properties": {
          "code": {
            "type": "string"
          },
          "conversionRate": {
            "type": "number",
            "format": "double"
          }
        },
        "additionalProperties": false
      },
      "SalesOrderCustomFieldsUpdated": {
        "required": [
          "entity",
          "id",
          "next",
          "previous",
          "timestamp",
          "type",
          "user",
          "workspace"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "timestamp": {
            "type": "string",
            "format": "date-time"
          },
          "entity": {
            "$ref": "#/components/schemas/BaseWorkspaceEntityEntityReference"
          },
          "type": {
            "type": "string"
          },
          "user": {
            "$ref": "#/components/schemas/ActivityUserReference"
          },
          "workspace": {
            "type": "string"
          },
          "previous": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CustomField"
            }
          },
          "next": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CustomField"
            }
          }
        },
        "additionalProperties": false
      },
      "SalesOrderDailyStats": {
        "required": [
          "amountNetAverage",
          "amountNetTotal",
          "count",
          "date",
          "deliveryMethodCounts",
          "orderStatusCounts"
        ],
        "type": "object",
        "properties": {
          "amountNetTotal": {
            "type": "number",
            "format": "double"
          },
          "amountNetAverage": {
            "type": "number",
            "format": "double"
          },
          "count": {
            "type": "integer",
            "format": "int32"
          },
          "deliveryMethodCounts": {
            "$ref": "#/components/schemas/DeliveryMethodCounts"
          },
          "orderStatusCounts": {
            "$ref": "#/components/schemas/OrderStatusCounts"
          },
          "date": {
            "type": "string",
            "format": "date-time"
          }
        },
        "additionalProperties": false
      },
      "SalesOrderDeleted": {
        "required": [
          "entity",
          "id",
          "timestamp",
          "type",
          "user",
          "workspace"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "timestamp": {
            "type": "string",
            "format": "date-time"
          },
          "entity": {
            "$ref": "#/components/schemas/BaseWorkspaceEntityEntityReference"
          },
          "type": {
            "type": "string"
          },
          "user": {
            "$ref": "#/components/schemas/ActivityUserReference"
          },
          "workspace": {
            "type": "string"
          }
        },
        "additionalProperties": false
      },
      "SalesOrderDelivery": {
        "required": [
          "status"
        ],
        "type": "object",
        "properties": {
          "status": {
            "$ref": "#/components/schemas/SalesOrderDeliveryStatus"
          },
          "address": {
            "$ref": "#/components/schemas/Address"
          },
          "attendeeName": {
            "type": "string",
            "nullable": true
          },
          "comments": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "SalesOrderDeliveryMethodUpdated": {
        "required": [
          "entity",
          "id",
          "next",
          "previous",
          "timestamp",
          "type",
          "user",
          "workspace"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "timestamp": {
            "type": "string",
            "format": "date-time"
          },
          "entity": {
            "$ref": "#/components/schemas/BaseWorkspaceEntityEntityReference"
          },
          "type": {
            "type": "string"
          },
          "user": {
            "$ref": "#/components/schemas/ActivityUserReference"
          },
          "workspace": {
            "type": "string"
          },
          "previous": {
            "$ref": "#/components/schemas/DeliveryMethod"
          },
          "next": {
            "$ref": "#/components/schemas/DeliveryMethod"
          }
        },
        "additionalProperties": false
      },
      "SalesOrderDeliveryStatus": {
        "enum": [
          "Open",
          "Delivering",
          "Completed",
          "Canceled"
        ],
        "type": "string"
      },
      "SalesOrderDeliveryUpdated": {
        "required": [
          "entity",
          "id",
          "next",
          "previous",
          "timestamp",
          "type",
          "user",
          "workspace"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "timestamp": {
            "type": "string",
            "format": "date-time"
          },
          "entity": {
            "$ref": "#/components/schemas/BaseWorkspaceEntityEntityReference"
          },
          "type": {
            "type": "string"
          },
          "user": {
            "$ref": "#/components/schemas/ActivityUserReference"
          },
          "workspace": {
            "type": "string"
          },
          "previous": {
            "$ref": "#/components/schemas/SalesOrderDelivery"
          },
          "next": {
            "$ref": "#/components/schemas/SalesOrderDelivery"
          }
        },
        "additionalProperties": false
      },
      "SalesOrderDescriptionUpdated": {
        "required": [
          "entity",
          "id",
          "next",
          "previous",
          "timestamp",
          "type",
          "user",
          "workspace"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "timestamp": {
            "type": "string",
            "format": "date-time"
          },
          "entity": {
            "$ref": "#/components/schemas/BaseWorkspaceEntityEntityReference"
          },
          "type": {
            "type": "string"
          },
          "user": {
            "$ref": "#/components/schemas/ActivityUserReference"
          },
          "workspace": {
            "type": "string"
          },
          "previous": {
            "type": "string",
            "nullable": true
          },
          "next": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "SalesOrderExternalReferenceUpdated": {
        "required": [
          "entity",
          "id",
          "next",
          "previous",
          "timestamp",
          "type",
          "user",
          "workspace"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "timestamp": {
            "type": "string",
            "format": "date-time"
          },
          "entity": {
            "$ref": "#/components/schemas/BaseWorkspaceEntityEntityReference"
          },
          "type": {
            "type": "string"
          },
          "user": {
            "$ref": "#/components/schemas/ActivityUserReference"
          },
          "workspace": {
            "type": "string"
          },
          "previous": {
            "type": "string",
            "nullable": true
          },
          "next": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "SalesOrderLineAttributesUpdated": {
        "required": [
          "entity",
          "id",
          "next",
          "previous",
          "timestamp",
          "type",
          "user",
          "workspace"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "timestamp": {
            "type": "string",
            "format": "date-time"
          },
          "entity": {
            "$ref": "#/components/schemas/BaseWorkspaceEntityEntityReference"
          },
          "type": {
            "type": "string"
          },
          "user": {
            "$ref": "#/components/schemas/ActivityUserReference"
          },
          "workspace": {
            "type": "string"
          },
          "previous": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CustomField"
            }
          },
          "next": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CustomField"
            }
          }
        },
        "additionalProperties": false
      },
      "SalesOrderLineCreated": {
        "required": [
          "entity",
          "id",
          "timestamp",
          "type",
          "user",
          "workspace"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "timestamp": {
            "type": "string",
            "format": "date-time"
          },
          "entity": {
            "$ref": "#/components/schemas/BaseWorkspaceEntityEntityReference"
          },
          "type": {
            "type": "string"
          },
          "user": {
            "$ref": "#/components/schemas/ActivityUserReference"
          },
          "workspace": {
            "type": "string"
          }
        },
        "additionalProperties": false
      },
      "SalesOrderLineDeleted": {
        "required": [
          "entity",
          "id",
          "timestamp",
          "type",
          "user",
          "workspace"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "timestamp": {
            "type": "string",
            "format": "date-time"
          },
          "entity": {
            "$ref": "#/components/schemas/BaseWorkspaceEntityEntityReference"
          },
          "type": {
            "type": "string"
          },
          "user": {
            "$ref": "#/components/schemas/ActivityUserReference"
          },
          "workspace": {
            "type": "string"
          }
        },
        "additionalProperties": false
      },
      "SalesOrderLineDelivery": {
        "type": "object",
        "properties": {
          "deliveredAt": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "deliveryDate": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "SalesOrderLineDeliveryUpdated": {
        "required": [
          "entity",
          "id",
          "next",
          "previous",
          "timestamp",
          "type",
          "user",
          "workspace"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "timestamp": {
            "type": "string",
            "format": "date-time"
          },
          "entity": {
            "$ref": "#/components/schemas/BaseWorkspaceEntityEntityReference"
          },
          "type": {
            "type": "string"
          },
          "user": {
            "$ref": "#/components/schemas/ActivityUserReference"
          },
          "workspace": {
            "type": "string"
          },
          "previous": {
            "$ref": "#/components/schemas/SalesOrderLineDelivery"
          },
          "next": {
            "$ref": "#/components/schemas/SalesOrderLineDelivery"
          }
        },
        "additionalProperties": false
      },
      "SalesOrderLineExternalReferenceUpdated": {
        "required": [
          "entity",
          "id",
          "next",
          "previous",
          "timestamp",
          "type",
          "user",
          "workspace"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "timestamp": {
            "type": "string",
            "format": "date-time"
          },
          "entity": {
            "$ref": "#/components/schemas/BaseWorkspaceEntityEntityReference"
          },
          "type": {
            "type": "string"
          },
          "user": {
            "$ref": "#/components/schemas/ActivityUserReference"
          },
          "workspace": {
            "type": "string"
          },
          "previous": {
            "type": "string",
            "nullable": true
          },
          "next": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "SalesOrderLineQuantityUpdated": {
        "required": [
          "entity",
          "id",
          "next",
          "previous",
          "timestamp",
          "type",
          "user",
          "workspace"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "timestamp": {
            "type": "string",
            "format": "date-time"
          },
          "entity": {
            "$ref": "#/components/schemas/BaseWorkspaceEntityEntityReference"
          },
          "type": {
            "type": "string"
          },
          "user": {
            "$ref": "#/components/schemas/ActivityUserReference"
          },
          "workspace": {
            "type": "string"
          },
          "previous": {
            "type": "number",
            "format": "double"
          },
          "next": {
            "type": "number",
            "format": "double"
          }
        },
        "additionalProperties": false
      },
      "SalesOrderLineReferences": {
        "type": "object",
        "properties": {
          "customer": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "SalesOrderLineReferencesUpdated": {
        "required": [
          "entity",
          "id",
          "next",
          "previous",
          "timestamp",
          "type",
          "user",
          "workspace"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "timestamp": {
            "type": "string",
            "format": "date-time"
          },
          "entity": {
            "$ref": "#/components/schemas/BaseWorkspaceEntityEntityReference"
          },
          "type": {
            "type": "string"
          },
          "user": {
            "$ref": "#/components/schemas/ActivityUserReference"
          },
          "workspace": {
            "type": "string"
          },
          "previous": {
            "$ref": "#/components/schemas/SalesOrderLineReferences"
          },
          "next": {
            "$ref": "#/components/schemas/SalesOrderLineReferences"
          }
        },
        "additionalProperties": false
      },
      "SalesOrderLineStatus": {
        "enum": [
          "Open",
          "Completed",
          "Backorder",
          "Cancelled"
        ],
        "type": "string"
      },
      "SalesOrderLineStatusUpdated": {
        "required": [
          "entity",
          "id",
          "next",
          "previous",
          "timestamp",
          "type",
          "user",
          "workspace"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "timestamp": {
            "type": "string",
            "format": "date-time"
          },
          "entity": {
            "$ref": "#/components/schemas/BaseWorkspaceEntityEntityReference"
          },
          "type": {
            "type": "string"
          },
          "user": {
            "$ref": "#/components/schemas/ActivityUserReference"
          },
          "workspace": {
            "type": "string"
          },
          "previous": {
            "type": "string"
          },
          "next": {
            "type": "string"
          }
        },
        "additionalProperties": false
      },
      "SalesOrderLineTotalsUpdated": {
        "required": [
          "entity",
          "id",
          "next",
          "previous",
          "timestamp",
          "type",
          "user",
          "workspace"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "timestamp": {
            "type": "string",
            "format": "date-time"
          },
          "entity": {
            "$ref": "#/components/schemas/BaseWorkspaceEntityEntityReference"
          },
          "type": {
            "type": "string"
          },
          "user": {
            "$ref": "#/components/schemas/ActivityUserReference"
          },
          "workspace": {
            "type": "string"
          },
          "previous": {
            "$ref": "#/components/schemas/PriceTotals"
          },
          "next": {
            "$ref": "#/components/schemas/PriceTotals"
          }
        },
        "additionalProperties": false
      },
      "SalesOrderOrderedAtUpdated": {
        "required": [
          "entity",
          "id",
          "next",
          "previous",
          "timestamp",
          "type",
          "user",
          "workspace"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "timestamp": {
            "type": "string",
            "format": "date-time"
          },
          "entity": {
            "$ref": "#/components/schemas/BaseWorkspaceEntityEntityReference"
          },
          "type": {
            "type": "string"
          },
          "user": {
            "$ref": "#/components/schemas/ActivityUserReference"
          },
          "workspace": {
            "type": "string"
          },
          "previous": {
            "type": "string",
            "format": "date-time"
          },
          "next": {
            "type": "string",
            "format": "date-time"
          }
        },
        "additionalProperties": false
      },
      "SalesOrderOrderingCompleted": {
        "required": [
          "channel",
          "currency",
          "debtor",
          "entity",
          "id",
          "orderedBy",
          "timestamp",
          "totals",
          "type",
          "user",
          "workspace"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "timestamp": {
            "type": "string",
            "format": "date-time"
          },
          "entity": {
            "$ref": "#/components/schemas/BaseWorkspaceEntityEntityReference"
          },
          "type": {
            "type": "string"
          },
          "user": {
            "$ref": "#/components/schemas/ActivityUserReference"
          },
          "workspace": {
            "type": "string"
          },
          "debtor": {
            "$ref": "#/components/schemas/AccountEntityReference"
          },
          "orderedBy": {
            "$ref": "#/components/schemas/ContactEntityReference"
          },
          "channel": {
            "type": "string"
          },
          "totals": {
            "$ref": "#/components/schemas/PriceTotals"
          },
          "currency": {
            "$ref": "#/components/schemas/SalesOrderCurrency"
          }
        },
        "additionalProperties": false
      },
      "SalesOrderOrderingStatus": {
        "enum": [
          "Draft",
          "Completed",
          "Canceled"
        ],
        "type": "string"
      },
      "SalesOrderOrderingStatusUpdated": {
        "required": [
          "entity",
          "id",
          "next",
          "previous",
          "timestamp",
          "type",
          "user",
          "workspace"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "timestamp": {
            "type": "string",
            "format": "date-time"
          },
          "entity": {
            "$ref": "#/components/schemas/BaseWorkspaceEntityEntityReference"
          },
          "type": {
            "type": "string"
          },
          "user": {
            "$ref": "#/components/schemas/ActivityUserReference"
          },
          "workspace": {
            "type": "string"
          },
          "previous": {
            "$ref": "#/components/schemas/SalesOrderOrderingStatus"
          },
          "next": {
            "$ref": "#/components/schemas/SalesOrderOrderingStatus"
          }
        },
        "additionalProperties": false
      },
      "SalesOrderPayment": {
        "required": [
          "status"
        ],
        "type": "object",
        "properties": {
          "status": {
            "$ref": "#/components/schemas/PaymentStatus"
          },
          "paidAt": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "SalesOrderPaymentUpdated": {
        "required": [
          "entity",
          "id",
          "next",
          "previous",
          "timestamp",
          "type",
          "user",
          "workspace"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "timestamp": {
            "type": "string",
            "format": "date-time"
          },
          "entity": {
            "$ref": "#/components/schemas/BaseWorkspaceEntityEntityReference"
          },
          "type": {
            "type": "string"
          },
          "user": {
            "$ref": "#/components/schemas/ActivityUserReference"
          },
          "workspace": {
            "type": "string"
          },
          "previous": {
            "$ref": "#/components/schemas/SalesOrderPayment"
          },
          "next": {
            "$ref": "#/components/schemas/SalesOrderPayment"
          }
        },
        "additionalProperties": false
      },
      "SalesOrderPickupStatus": {
        "enum": [
          "Open",
          "Ready",
          "Completed",
          "Canceled"
        ],
        "type": "string"
      },
      "SalesOrderProcessing": {
        "required": [
          "status"
        ],
        "type": "object",
        "properties": {
          "status": {
            "$ref": "#/components/schemas/SalesOrderProcessingStatus"
          }
        },
        "additionalProperties": false
      },
      "SalesOrderProcessingStatus": {
        "enum": [
          "Open",
          "InProgress",
          "Completed",
          "Canceled"
        ],
        "type": "string"
      },
      "SalesOrderProcessingUpdated": {
        "required": [
          "entity",
          "id",
          "next",
          "previous",
          "timestamp",
          "type",
          "user",
          "workspace"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "timestamp": {
            "type": "string",
            "format": "date-time"
          },
          "entity": {
            "$ref": "#/components/schemas/BaseWorkspaceEntityEntityReference"
          },
          "type": {
            "type": "string"
          },
          "user": {
            "$ref": "#/components/schemas/ActivityUserReference"
          },
          "workspace": {
            "type": "string"
          },
          "previous": {
            "$ref": "#/components/schemas/SalesOrderProcessing"
          },
          "next": {
            "$ref": "#/components/schemas/SalesOrderProcessing"
          }
        },
        "additionalProperties": false
      },
      "SalesOrderReferences": {
        "type": "object",
        "properties": {
          "customer": {
            "type": "string",
            "nullable": true
          },
          "destination": {
            "type": "string",
            "nullable": true
          },
          "project": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "SalesOrderReferencesUpdated": {
        "required": [
          "entity",
          "id",
          "next",
          "previous",
          "timestamp",
          "type",
          "user",
          "workspace"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "timestamp": {
            "type": "string",
            "format": "date-time"
          },
          "entity": {
            "$ref": "#/components/schemas/BaseWorkspaceEntityEntityReference"
          },
          "type": {
            "type": "string"
          },
          "user": {
            "$ref": "#/components/schemas/ActivityUserReference"
          },
          "workspace": {
            "type": "string"
          },
          "previous": {
            "$ref": "#/components/schemas/SalesOrderReferences"
          },
          "next": {
            "$ref": "#/components/schemas/SalesOrderReferences"
          }
        },
        "additionalProperties": false
      },
      "SalesOrderSorting": {
        "enum": [
          "OrderNumber",
          "OrderedAt"
        ],
        "type": "string"
      },
      "SalesOrderTagsUpdated": {
        "required": [
          "entity",
          "id",
          "next",
          "previous",
          "timestamp",
          "type",
          "user",
          "workspace"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "timestamp": {
            "type": "string",
            "format": "date-time"
          },
          "entity": {
            "$ref": "#/components/schemas/BaseWorkspaceEntityEntityReference"
          },
          "type": {
            "type": "string"
          },
          "user": {
            "$ref": "#/components/schemas/ActivityUserReference"
          },
          "workspace": {
            "type": "string"
          },
          "previous": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "next": {
            "type": "array",
            "items": {
              "type": "string"
            }
          }
        },
        "additionalProperties": false
      },
      "SeoMeta": {
        "type": "object",
        "properties": {
          "title": {
            "type": "string",
            "nullable": true
          },
          "keywords": {
            "type": "string",
            "nullable": true
          },
          "description": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "SocialLink": {
        "required": [
          "icon",
          "label",
          "url"
        ],
        "type": "object",
        "properties": {
          "label": {
            "type": "string"
          },
          "url": {
            "type": "string"
          },
          "icon": {
            "type": "string"
          }
        },
        "additionalProperties": false
      },
      "SortDirection": {
        "enum": [
          "Asc",
          "Desc"
        ],
        "type": "string"
      },
      "SortSettings": {
        "required": [
          "sortBy",
          "sortDirection"
        ],
        "type": "object",
        "properties": {
          "sortBy": {
            "type": "string"
          },
          "sortDirection": {
            "$ref": "#/components/schemas/SortDirection"
          }
        },
        "additionalProperties": false
      },
      "StockCreated": {
        "required": [
          "entity",
          "id",
          "timestamp",
          "type",
          "user",
          "workspace"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "timestamp": {
            "type": "string",
            "format": "date-time"
          },
          "entity": {
            "$ref": "#/components/schemas/BaseWorkspaceEntityEntityReference"
          },
          "type": {
            "type": "string"
          },
          "user": {
            "$ref": "#/components/schemas/ActivityUserReference"
          },
          "workspace": {
            "type": "string"
          }
        },
        "additionalProperties": false
      },
      "StockDeleted": {
        "required": [
          "entity",
          "id",
          "timestamp",
          "type",
          "user",
          "workspace"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "timestamp": {
            "type": "string",
            "format": "date-time"
          },
          "entity": {
            "$ref": "#/components/schemas/BaseWorkspaceEntityEntityReference"
          },
          "type": {
            "type": "string"
          },
          "user": {
            "$ref": "#/components/schemas/ActivityUserReference"
          },
          "workspace": {
            "type": "string"
          }
        },
        "additionalProperties": false
      },
      "StockDisplayType": {
        "enum": [
          "None",
          "Boolean",
          "Quantity",
          "QuantityByLocation",
          "QuantityByLocationInline"
        ],
        "type": "string"
      },
      "StockExternalReferenceUpdated": {
        "required": [
          "entity",
          "id",
          "next",
          "previous",
          "timestamp",
          "type",
          "user",
          "workspace"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "timestamp": {
            "type": "string",
            "format": "date-time"
          },
          "entity": {
            "$ref": "#/components/schemas/BaseWorkspaceEntityEntityReference"
          },
          "type": {
            "type": "string"
          },
          "user": {
            "$ref": "#/components/schemas/ActivityUserReference"
          },
          "workspace": {
            "type": "string"
          },
          "previous": {
            "type": "string",
            "nullable": true
          },
          "next": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "StockQuantityUpdated": {
        "required": [
          "entity",
          "id",
          "next",
          "previous",
          "timestamp",
          "type",
          "user",
          "workspace"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "timestamp": {
            "type": "string",
            "format": "date-time"
          },
          "entity": {
            "$ref": "#/components/schemas/BaseWorkspaceEntityEntityReference"
          },
          "type": {
            "type": "string"
          },
          "user": {
            "$ref": "#/components/schemas/ActivityUserReference"
          },
          "workspace": {
            "type": "string"
          },
          "previous": {
            "type": "number",
            "format": "double"
          },
          "next": {
            "type": "number",
            "format": "double"
          }
        },
        "additionalProperties": false
      },
      "StockSettings": {
        "required": [
          "allowAnonymousStockAccess",
          "allowOutOfStockOrdering",
          "displayType"
        ],
        "type": "object",
        "properties": {
          "allowAnonymousStockAccess": {
            "type": "boolean"
          },
          "allowOutOfStockOrdering": {
            "type": "boolean"
          },
          "displayType": {
            "$ref": "#/components/schemas/StockDisplayType"
          }
        },
        "additionalProperties": false
      },
      "StringInt32KeyValuePair": {
        "required": [
          "key",
          "value"
        ],
        "type": "object",
        "properties": {
          "key": {
            "type": "string"
          },
          "value": {
            "type": "integer",
            "format": "int32"
          }
        },
        "additionalProperties": false
      },
      "StringStringKeyValuePair": {
        "required": [
          "key",
          "value"
        ],
        "type": "object",
        "properties": {
          "key": {
            "type": "string"
          },
          "value": {
            "type": "string"
          }
        },
        "additionalProperties": false
      },
      "SuggestedAccount": {
        "required": [
          "branchNumber",
          "city",
          "displayName",
          "kvkNumber",
          "street"
        ],
        "type": "object",
        "properties": {
          "kvkNumber": {
            "type": "string"
          },
          "branchNumber": {
            "type": "string"
          },
          "displayName": {
            "type": "string"
          },
          "city": {
            "type": "string"
          },
          "street": {
            "type": "string"
          }
        },
        "additionalProperties": false
      },
      "SuggestedAccountDetailsSbi": {
        "required": [
          "code",
          "description"
        ],
        "type": "object",
        "properties": {
          "code": {
            "type": "string"
          },
          "description": {
            "type": "string"
          }
        },
        "additionalProperties": false
      },
      "TranslationOverrides": {
        "required": [
          "language",
          "translations"
        ],
        "type": "object",
        "properties": {
          "language": {
            "type": "string"
          },
          "translations": {
            "type": "object",
            "additionalProperties": {
              "type": "string"
            }
          }
        },
        "additionalProperties": false
      },
      "UpdateAccountRequest": {
        "required": [
          "displayName",
          "id"
        ],
        "type": "object",
        "properties": {
          "externalReference": {
            "type": "string",
            "nullable": true
          },
          "displayName": {
            "type": "string"
          },
          "description": {
            "type": "string",
            "nullable": true
          },
          "notes": {
            "type": "string",
            "nullable": true
          },
          "accountCode": {
            "type": "string",
            "nullable": true
          },
          "accountStatus": {
            "type": "string",
            "nullable": true
          },
          "accountType": {
            "$ref": "#/components/schemas/AccountType"
          },
          "ownerId": {
            "type": "string",
            "nullable": true
          },
          "visitingAddress": {
            "$ref": "#/components/schemas/Address"
          },
          "billingAddress": {
            "$ref": "#/components/schemas/Address"
          },
          "shippingAddress": {
            "$ref": "#/components/schemas/Address"
          },
          "otherAddresses": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Address"
            },
            "nullable": true
          },
          "salesOrderProcessorId": {
            "type": "string",
            "nullable": true
          },
          "connections": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CreateEntityConnectionRequest"
            },
            "nullable": true
          },
          "emails": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CustomField"
            },
            "nullable": true
          },
          "phoneNumbers": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CustomField"
            },
            "nullable": true
          },
          "links": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CustomField"
            },
            "nullable": true
          },
          "industries": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "employees": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "vatNumber": {
            "type": "string",
            "nullable": true
          },
          "chamberOfCommerce": {
            "type": "string",
            "nullable": true
          },
          "chamberOfCommerceRubricationCodes": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "vatValidationDate": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "productCatalogId": {
            "type": "string",
            "nullable": true
          },
          "tags": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "lastContactMoment": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "attributes": {
            "type": "object",
            "additionalProperties": {
              "type": "string"
            },
            "nullable": true
          },
          "customFields": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CustomField"
            },
            "nullable": true
          },
          "commerceSettings": {
            "$ref": "#/components/schemas/AccountCommerceSettings"
          },
          "id": {
            "type": "string"
          }
        },
        "additionalProperties": false
      },
      "UpdateAtomicScriptRequest": {
        "required": [
          "atomicName",
          "atomicScriptType",
          "continueOnError",
          "enabled",
          "id",
          "order",
          "script",
          "timeout",
          "title"
        ],
        "type": "object",
        "properties": {
          "externalReference": {
            "type": "string",
            "nullable": true
          },
          "title": {
            "type": "string"
          },
          "atomicName": {
            "type": "string"
          },
          "atomicScriptType": {
            "$ref": "#/components/schemas/AtomicScriptType"
          },
          "script": {
            "type": "string"
          },
          "enabled": {
            "type": "boolean"
          },
          "continueOnError": {
            "type": "boolean"
          },
          "timeout": {
            "type": "integer",
            "format": "int32"
          },
          "order": {
            "type": "integer",
            "format": "int32"
          },
          "id": {
            "type": "string"
          }
        },
        "additionalProperties": false
      },
      "UpdateBrandRequest": {
        "required": [
          "id",
          "name"
        ],
        "type": "object",
        "properties": {
          "externalReference": {
            "type": "string",
            "nullable": true
          },
          "name": {
            "type": "string"
          },
          "imageUrl": {
            "type": "string",
            "nullable": true
          },
          "visibilitySettings": {
            "$ref": "#/components/schemas/BrandVisibilitySettings"
          },
          "id": {
            "type": "string"
          }
        },
        "additionalProperties": false
      },
      "UpdateBulkProductsRequest": {
        "required": [
          "updateProductRequests"
        ],
        "type": "object",
        "properties": {
          "updateProductRequests": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/UpdateProductRequest"
            }
          }
        },
        "additionalProperties": false
      },
      "UpdateBulkProductsResponse": {
        "required": [
          "data",
          "total"
        ],
        "type": "object",
        "properties": {
          "data": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/GetProductResponse"
            }
          },
          "total": {
            "type": "integer",
            "format": "int32"
          }
        },
        "additionalProperties": false
      },
      "UpdateClientLoginAndExternalUserRequest": {
        "required": [
          "email",
          "username"
        ],
        "type": "object",
        "properties": {
          "email": {
            "type": "string"
          },
          "username": {
            "type": "string"
          },
          "profile": {
            "$ref": "#/components/schemas/ClientProfile"
          }
        },
        "additionalProperties": false
      },
      "UpdateCommentRequest": {
        "required": [
          "body",
          "bodyFormat",
          "id"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "body": {
            "type": "string"
          },
          "bodyFormat": {
            "$ref": "#/components/schemas/CommentBodyFormat"
          }
        },
        "additionalProperties": false
      },
      "UpdateContactRequest": {
        "required": [
          "displayOrder",
          "firstName",
          "id",
          "lastName"
        ],
        "type": "object",
        "properties": {
          "externalReference": {
            "type": "string",
            "nullable": true
          },
          "firstName": {
            "type": "string"
          },
          "lastName": {
            "type": "string"
          },
          "middleName": {
            "type": "string",
            "nullable": true
          },
          "description": {
            "type": "string",
            "nullable": true
          },
          "dateOfBirth": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "gender": {
            "type": "string",
            "nullable": true
          },
          "title": {
            "type": "string",
            "nullable": true
          },
          "jobTitle": {
            "type": "string",
            "nullable": true
          },
          "notes": {
            "type": "string",
            "nullable": true
          },
          "ownerId": {
            "type": "string",
            "nullable": true
          },
          "clientLoginId": {
            "type": "string",
            "nullable": true
          },
          "interestsAndHobbies": {
            "type": "string",
            "nullable": true
          },
          "addresses": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Address"
            },
            "nullable": true
          },
          "emails": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CustomField"
            },
            "nullable": true
          },
          "phoneNumbers": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CustomField"
            },
            "nullable": true
          },
          "links": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CustomField"
            },
            "nullable": true
          },
          "lastContactMoment": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "displayOrder": {
            "type": "integer",
            "format": "int32"
          },
          "salesOrderProcessorId": {
            "type": "string",
            "nullable": true
          },
          "commerceSettings": {
            "$ref": "#/components/schemas/ContactCommerceSettings"
          },
          "attributes": {
            "type": "object",
            "additionalProperties": {
              "type": "string"
            },
            "nullable": true
          },
          "connections": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CreateEntityConnectionRequest"
            },
            "nullable": true
          },
          "customFields": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CustomField"
            },
            "nullable": true
          },
          "tags": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "id": {
            "type": "string"
          }
        },
        "additionalProperties": false
      },
      "UpdateContentPageRequest": {
        "required": [
          "displayName",
          "displayOrder",
          "id",
          "language",
          "showInFooter",
          "showInMenu",
          "url"
        ],
        "type": "object",
        "properties": {
          "externalReference": {
            "type": "string",
            "nullable": true
          },
          "url": {
            "type": "string"
          },
          "displayName": {
            "type": "string"
          },
          "body": {
            "type": "string",
            "nullable": true
          },
          "displayOrder": {
            "type": "integer",
            "format": "int32"
          },
          "language": {
            "type": "string"
          },
          "groupName": {
            "type": "string",
            "nullable": true
          },
          "showInMenu": {
            "type": "boolean"
          },
          "showInFooter": {
            "type": "boolean"
          },
          "id": {
            "type": "string"
          }
        },
        "additionalProperties": false
      },
      "UpdateCurrencyRequest": {
        "required": [
          "conversionRate",
          "id"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "conversionRate": {
            "type": "number",
            "format": "double"
          }
        },
        "additionalProperties": false
      },
      "UpdateDealRequest": {
        "required": [
          "expectedRevenue",
          "id",
          "pipelineId",
          "statusId",
          "title"
        ],
        "type": "object",
        "properties": {
          "externalReference": {
            "type": "string",
            "nullable": true
          },
          "title": {
            "type": "string"
          },
          "description": {
            "type": "string",
            "nullable": true
          },
          "expectedRevenue": {
            "type": "number",
            "format": "double"
          },
          "ownerId": {
            "type": "string",
            "nullable": true
          },
          "accountId": {
            "type": "string",
            "nullable": true
          },
          "successRate": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "startDate": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "endDate": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "pipelineId": {
            "type": "string"
          },
          "statusId": {
            "type": "string"
          },
          "pipelineOptionValues": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/PipelineOptionValue"
            },
            "nullable": true
          },
          "connections": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CreateEntityConnectionRequest"
            },
            "nullable": true
          },
          "tags": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "id": {
            "type": "string"
          }
        },
        "additionalProperties": false
      },
      "UpdateHeartworkUserAndExternalUserRequest": {
        "required": [
          "displayName",
          "email",
          "firstname",
          "id",
          "lastname",
          "username"
        ],
        "type": "object",
        "properties": {
          "username": {
            "type": "string"
          },
          "email": {
            "type": "string"
          },
          "firstname": {
            "type": "string"
          },
          "lastname": {
            "type": "string"
          },
          "displayName": {
            "type": "string"
          },
          "apps": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "id": {
            "type": "string"
          }
        },
        "additionalProperties": false
      },
      "UpdateLocationRequest": {
        "required": [
          "displayOrder",
          "id",
          "isPickupLocation",
          "isStockLocation",
          "isWarehouse",
          "name"
        ],
        "type": "object",
        "properties": {
          "externalReference": {
            "type": "string",
            "nullable": true
          },
          "email": {
            "type": "string",
            "nullable": true
          },
          "name": {
            "type": "string"
          },
          "description": {
            "type": "string",
            "nullable": true
          },
          "phoneNumber": {
            "type": "string",
            "nullable": true
          },
          "image": {
            "type": "string",
            "nullable": true
          },
          "displayOrder": {
            "type": "integer",
            "format": "int32"
          },
          "address": {
            "$ref": "#/components/schemas/Address"
          },
          "isWarehouse": {
            "type": "boolean"
          },
          "isPickupLocation": {
            "type": "boolean"
          },
          "isStockLocation": {
            "type": "boolean"
          },
          "openingTimes": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/OpeningTime"
            },
            "nullable": true
          },
          "customFields": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CustomField"
            },
            "nullable": true
          },
          "id": {
            "type": "string"
          }
        },
        "additionalProperties": false
      },
      "UpdatePipelineRequest": {
        "required": [
          "id",
          "title"
        ],
        "type": "object",
        "properties": {
          "externalReference": {
            "type": "string",
            "nullable": true
          },
          "title": {
            "type": "string"
          },
          "description": {
            "type": "string",
            "nullable": true
          },
          "options": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/PipelineOption"
            },
            "nullable": true
          },
          "summaries": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/PipelineSummary"
            },
            "nullable": true
          },
          "statuses": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/PipelineStatus"
            },
            "nullable": true
          },
          "id": {
            "type": "string"
          }
        },
        "additionalProperties": false
      },
      "UpdateProductAttributeLinkRequest": {
        "required": [
          "attributeId",
          "configurable"
        ],
        "type": "object",
        "properties": {
          "attributeId": {
            "type": "string"
          },
          "selectedOption": {
            "$ref": "#/components/schemas/ProductAttributeOption"
          },
          "configurable": {
            "type": "boolean"
          }
        },
        "additionalProperties": false
      },
      "UpdateProductAttributeRequest": {
        "required": [
          "id",
          "name"
        ],
        "type": "object",
        "properties": {
          "externalReference": {
            "type": "string",
            "nullable": true
          },
          "name": {
            "type": "string"
          },
          "id": {
            "type": "string"
          }
        },
        "additionalProperties": false
      },
      "UpdateProductCatalogRequest": {
        "required": [
          "id",
          "name"
        ],
        "type": "object",
        "properties": {
          "externalReference": {
            "type": "string",
            "nullable": true
          },
          "name": {
            "type": "string"
          },
          "id": {
            "type": "string"
          }
        },
        "additionalProperties": false
      },
      "UpdateProductCategoryDisplayContentRequest": {
        "required": [
          "descriptionFormat",
          "id",
          "title"
        ],
        "type": "object",
        "properties": {
          "externalReference": {
            "type": "string",
            "nullable": true
          },
          "title": {
            "type": "string"
          },
          "excerpt": {
            "type": "string",
            "nullable": true
          },
          "description": {
            "type": "string",
            "nullable": true
          },
          "descriptionFormat": {
            "$ref": "#/components/schemas/ContentFormat"
          },
          "seoMeta": {
            "$ref": "#/components/schemas/SeoMeta"
          },
          "id": {
            "type": "string"
          }
        },
        "additionalProperties": false
      },
      "UpdateProductCategoryRequest": {
        "required": [
          "active",
          "displayOrder",
          "id",
          "name"
        ],
        "type": "object",
        "properties": {
          "externalReference": {
            "type": "string",
            "nullable": true
          },
          "name": {
            "type": "string"
          },
          "image": {
            "type": "string",
            "nullable": true
          },
          "parentId": {
            "type": "string",
            "nullable": true
          },
          "active": {
            "type": "boolean"
          },
          "visibility": {
            "$ref": "#/components/schemas/ProductCategoryVisibilitySettings"
          },
          "customFields": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CustomField"
            },
            "nullable": true
          },
          "displayOrder": {
            "type": "integer",
            "format": "int32"
          },
          "id": {
            "type": "string"
          }
        },
        "additionalProperties": false
      },
      "UpdateProductDisplayContentRequest": {
        "required": [
          "descriptionFormat",
          "id",
          "title"
        ],
        "type": "object",
        "properties": {
          "externalReference": {
            "type": "string",
            "nullable": true
          },
          "title": {
            "type": "string"
          },
          "excerpt": {
            "type": "string",
            "nullable": true
          },
          "description": {
            "type": "string",
            "nullable": true
          },
          "descriptionFormat": {
            "$ref": "#/components/schemas/ContentFormat"
          },
          "seoMeta": {
            "$ref": "#/components/schemas/SeoMeta"
          },
          "id": {
            "type": "string"
          }
        },
        "additionalProperties": false
      },
      "UpdateProductFilterOptionRequest": {
        "required": [
          "displayOrder",
          "isActive",
          "label",
          "value"
        ],
        "type": "object",
        "properties": {
          "value": {
            "type": "string"
          },
          "label": {
            "type": "string"
          },
          "displayOrder": {
            "type": "integer",
            "format": "int32"
          },
          "isActive": {
            "type": "boolean"
          }
        },
        "additionalProperties": false
      },
      "UpdateProductFilterRequest": {
        "required": [
          "attributeId",
          "categoryId",
          "displayOrder",
          "isActive",
          "options"
        ],
        "type": "object",
        "properties": {
          "categoryId": {
            "type": "string"
          },
          "attributeId": {
            "type": "string"
          },
          "displayOrder": {
            "type": "integer",
            "format": "int32"
          },
          "isActive": {
            "type": "boolean"
          },
          "options": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/UpdateProductFilterOptionRequest"
            }
          }
        },
        "additionalProperties": false
      },
      "UpdateProductFiltersResponse": {
        "required": [
          "filters"
        ],
        "type": "object",
        "properties": {
          "filters": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/GetProductFilterResponse"
            }
          }
        },
        "additionalProperties": false
      },
      "UpdateProductIssueRequest": {
        "required": [
          "id",
          "isIgnored"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "isIgnored": {
            "type": "boolean"
          }
        },
        "additionalProperties": false
      },
      "UpdateProductLinkRequest": {
        "required": [
          "displayOrder",
          "linkType",
          "productId"
        ],
        "type": "object",
        "properties": {
          "productId": {
            "type": "string"
          },
          "linkType": {
            "$ref": "#/components/schemas/ProductLinkType"
          },
          "displayOrder": {
            "type": "integer",
            "format": "int32"
          }
        },
        "additionalProperties": false
      },
      "UpdateProductManufacturerRequest": {
        "required": [
          "id",
          "name"
        ],
        "type": "object",
        "properties": {
          "externalReference": {
            "type": "string",
            "nullable": true
          },
          "name": {
            "type": "string"
          },
          "email": {
            "type": "string",
            "nullable": true
          },
          "id": {
            "type": "string"
          }
        },
        "additionalProperties": false
      },
      "UpdateProductPriceRequest": {
        "required": [
          "shouldRequestPrice"
        ],
        "type": "object",
        "properties": {
          "salesPrice": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "purchasePrice": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "suggestedRetailPrice": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "vatCodeId": {
            "type": "string",
            "nullable": true
          },
          "shouldRequestPrice": {
            "type": "boolean"
          }
        },
        "additionalProperties": false
      },
      "UpdateProductRequest": {
        "required": [
          "active",
          "displayOrder",
          "id",
          "name",
          "productType",
          "showStock"
        ],
        "type": "object",
        "properties": {
          "externalReference": {
            "type": "string",
            "nullable": true
          },
          "name": {
            "type": "string"
          },
          "productType": {
            "$ref": "#/components/schemas/ProductType"
          },
          "sku": {
            "type": "string",
            "nullable": true
          },
          "gtin": {
            "type": "string",
            "nullable": true
          },
          "barcodes": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "packing": {
            "$ref": "#/components/schemas/ProductPacking"
          },
          "productCode": {
            "type": "string",
            "nullable": true
          },
          "price": {
            "$ref": "#/components/schemas/UpdateProductPriceRequest"
          },
          "searchCode": {
            "type": "string",
            "nullable": true
          },
          "visibilitySettings": {
            "$ref": "#/components/schemas/ProductVisibilitySettings"
          },
          "introducedAt": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "categories": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "attributes": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/UpdateProductAttributeLinkRequest"
            },
            "nullable": true
          },
          "links": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/UpdateProductLinkRequest"
            },
            "nullable": true
          },
          "catalogs": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "manufacturerId": {
            "type": "string",
            "nullable": true
          },
          "active": {
            "type": "boolean"
          },
          "tags": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "customFields": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CustomField"
            },
            "nullable": true
          },
          "brandId": {
            "type": "string",
            "nullable": true
          },
          "displayOrder": {
            "type": "integer",
            "format": "int32"
          },
          "images": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ProductImage"
            },
            "nullable": true
          },
          "hyperlinks": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Hyperlink"
            },
            "nullable": true
          },
          "salesSettings": {
            "$ref": "#/components/schemas/ProductSalesSettings"
          },
          "showStock": {
            "type": "boolean"
          },
          "id": {
            "type": "string"
          }
        },
        "additionalProperties": false
      },
      "UpdateSalesOrderPickupRequest": {
        "required": [
          "locationId",
          "status"
        ],
        "type": "object",
        "properties": {
          "status": {
            "$ref": "#/components/schemas/SalesOrderPickupStatus"
          },
          "comments": {
            "type": "string",
            "nullable": true
          },
          "locationId": {
            "type": "string"
          }
        },
        "additionalProperties": false
      },
      "UpdateSalesOrderRequest": {
        "required": [
          "channel",
          "debtorId",
          "deliveryMethod",
          "id",
          "orderedAt",
          "orderingStatus"
        ],
        "type": "object",
        "properties": {
          "externalReference": {
            "type": "string",
            "nullable": true
          },
          "debtorId": {
            "type": "string"
          },
          "orderedById": {
            "type": "string",
            "nullable": true
          },
          "orderedAt": {
            "type": "string",
            "format": "date-time"
          },
          "orderingStatus": {
            "$ref": "#/components/schemas/SalesOrderOrderingStatus"
          },
          "processing": {
            "$ref": "#/components/schemas/SalesOrderProcessing"
          },
          "description": {
            "type": "string",
            "nullable": true
          },
          "references": {
            "$ref": "#/components/schemas/SalesOrderReferences"
          },
          "payment": {
            "$ref": "#/components/schemas/SalesOrderPayment"
          },
          "billing": {
            "$ref": "#/components/schemas/SalesOrderBilling"
          },
          "deliveryMethod": {
            "$ref": "#/components/schemas/DeliveryMethod"
          },
          "delivery": {
            "$ref": "#/components/schemas/SalesOrderDelivery"
          },
          "pickup": {
            "$ref": "#/components/schemas/UpdateSalesOrderPickupRequest"
          },
          "channel": {
            "type": "string"
          },
          "customFields": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CustomField"
            },
            "nullable": true
          },
          "tags": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "currency": {
            "$ref": "#/components/schemas/SalesOrderCurrency"
          },
          "id": {
            "type": "string"
          }
        },
        "additionalProperties": false
      },
      "UpdateStockRequest": {
        "required": [
          "id",
          "quantity"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "quantity": {
            "type": "integer",
            "format": "int32"
          }
        },
        "additionalProperties": false
      },
      "UpdateWebhookRequest": {
        "required": [
          "deliveryEndpoint",
          "enabled",
          "id",
          "name",
          "skipSystem",
          "topicName"
        ],
        "type": "object",
        "properties": {
          "name": {
            "type": "string"
          },
          "topicName": {
            "type": "string"
          },
          "deliveryEndpoint": {
            "type": "string"
          },
          "skipSystem": {
            "type": "boolean"
          },
          "headers": {
            "type": "object",
            "additionalProperties": {
              "type": "string"
            },
            "nullable": true
          },
          "enabled": {
            "type": "boolean"
          },
          "id": {
            "type": "string"
          }
        },
        "additionalProperties": false
      },
      "UpdateWorkspaceRequest": {
        "required": [
          "name"
        ],
        "type": "object",
        "properties": {
          "name": {
            "type": "string"
          },
          "settings": {
            "$ref": "#/components/schemas/WorkspaceSettings"
          },
          "commerceSettings": {
            "$ref": "#/components/schemas/CommerceSettings"
          }
        },
        "additionalProperties": false
      },
      "UploadBlobResponse": {
        "required": [
          "fileUris"
        ],
        "type": "object",
        "properties": {
          "fileUris": {
            "type": "array",
            "items": {
              "type": "string",
              "format": "uri"
            }
          }
        },
        "additionalProperties": false
      },
      "VatCode": {
        "required": [
          "code",
          "createdAt",
          "id",
          "modifiedAt",
          "name",
          "percentage",
          "workspace"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "workspace": {
            "type": "string"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "modifiedAt": {
            "type": "string",
            "format": "date-time"
          },
          "externalReference": {
            "type": "string",
            "nullable": true
          },
          "name": {
            "type": "string"
          },
          "code": {
            "type": "string"
          },
          "percentage": {
            "type": "number",
            "format": "double"
          }
        },
        "additionalProperties": false
      },
      "VatCodeEntityReference": {
        "required": [
          "id",
          "name",
          "type"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "type": {
            "$ref": "#/components/schemas/VatCodeEntityReferenceType"
          }
        },
        "additionalProperties": false
      },
      "VatCodeEntityReferenceType": {
        "enum": [
          "VatCode"
        ],
        "type": "string"
      },
      "VatCodeSorting": {
        "enum": [
          "Name"
        ],
        "type": "string"
      },
      "VatTotal": {
        "required": [
          "amount",
          "vatCode"
        ],
        "type": "object",
        "properties": {
          "vatCode": {
            "$ref": "#/components/schemas/VatCodeEntityReference"
          },
          "amount": {
            "type": "number",
            "format": "double"
          }
        },
        "additionalProperties": false
      },
      "WebhookCreated": {
        "required": [
          "entity",
          "id",
          "timestamp",
          "type",
          "user",
          "workspace"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "timestamp": {
            "type": "string",
            "format": "date-time"
          },
          "entity": {
            "$ref": "#/components/schemas/BaseWorkspaceEntityEntityReference"
          },
          "type": {
            "type": "string"
          },
          "user": {
            "$ref": "#/components/schemas/ActivityUserReference"
          },
          "workspace": {
            "type": "string"
          }
        },
        "additionalProperties": false
      },
      "WebhookDeleted": {
        "required": [
          "entity",
          "id",
          "timestamp",
          "type",
          "user",
          "workspace"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "timestamp": {
            "type": "string",
            "format": "date-time"
          },
          "entity": {
            "$ref": "#/components/schemas/BaseWorkspaceEntityEntityReference"
          },
          "type": {
            "type": "string"
          },
          "user": {
            "$ref": "#/components/schemas/ActivityUserReference"
          },
          "workspace": {
            "type": "string"
          }
        },
        "additionalProperties": false
      },
      "WebhookDeliveryEndpointUpdated": {
        "required": [
          "entity",
          "id",
          "next",
          "previous",
          "timestamp",
          "type",
          "user",
          "workspace"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "timestamp": {
            "type": "string",
            "format": "date-time"
          },
          "entity": {
            "$ref": "#/components/schemas/BaseWorkspaceEntityEntityReference"
          },
          "type": {
            "type": "string"
          },
          "user": {
            "$ref": "#/components/schemas/ActivityUserReference"
          },
          "workspace": {
            "type": "string"
          },
          "previous": {
            "type": "string"
          },
          "next": {
            "type": "string"
          }
        },
        "additionalProperties": false
      },
      "WebhookEnabledUpdated": {
        "required": [
          "entity",
          "id",
          "next",
          "previous",
          "timestamp",
          "type",
          "user",
          "workspace"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "timestamp": {
            "type": "string",
            "format": "date-time"
          },
          "entity": {
            "$ref": "#/components/schemas/BaseWorkspaceEntityEntityReference"
          },
          "type": {
            "type": "string"
          },
          "user": {
            "$ref": "#/components/schemas/ActivityUserReference"
          },
          "workspace": {
            "type": "string"
          },
          "previous": {
            "type": "boolean"
          },
          "next": {
            "type": "boolean"
          }
        },
        "additionalProperties": false
      },
      "WebhookHeadersUpdated": {
        "required": [
          "entity",
          "id",
          "next",
          "previous",
          "timestamp",
          "type",
          "user",
          "workspace"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "timestamp": {
            "type": "string",
            "format": "date-time"
          },
          "entity": {
            "$ref": "#/components/schemas/BaseWorkspaceEntityEntityReference"
          },
          "type": {
            "type": "string"
          },
          "user": {
            "$ref": "#/components/schemas/ActivityUserReference"
          },
          "workspace": {
            "type": "string"
          },
          "previous": {
            "type": "object",
            "additionalProperties": {
              "type": "string"
            }
          },
          "next": {
            "type": "object",
            "additionalProperties": {
              "type": "string"
            }
          }
        },
        "additionalProperties": false
      },
      "WebhookNameUpdated": {
        "required": [
          "entity",
          "id",
          "next",
          "previous",
          "timestamp",
          "type",
          "user",
          "workspace"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "timestamp": {
            "type": "string",
            "format": "date-time"
          },
          "entity": {
            "$ref": "#/components/schemas/BaseWorkspaceEntityEntityReference"
          },
          "type": {
            "type": "string"
          },
          "user": {
            "$ref": "#/components/schemas/ActivityUserReference"
          },
          "workspace": {
            "type": "string"
          },
          "previous": {
            "type": "string"
          },
          "next": {
            "type": "string"
          }
        },
        "additionalProperties": false
      },
      "WebhookSkipSystemUpdated": {
        "required": [
          "entity",
          "id",
          "next",
          "previous",
          "timestamp",
          "type",
          "user",
          "workspace"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "timestamp": {
            "type": "string",
            "format": "date-time"
          },
          "entity": {
            "$ref": "#/components/schemas/BaseWorkspaceEntityEntityReference"
          },
          "type": {
            "type": "string"
          },
          "user": {
            "$ref": "#/components/schemas/ActivityUserReference"
          },
          "workspace": {
            "type": "string"
          },
          "previous": {
            "type": "boolean"
          },
          "next": {
            "type": "boolean"
          }
        },
        "additionalProperties": false
      },
      "WebhookSorting": {
        "enum": [
          "Name"
        ],
        "type": "string"
      },
      "WebhookTopicNameUpdated": {
        "required": [
          "entity",
          "id",
          "next",
          "previous",
          "timestamp",
          "type",
          "user",
          "workspace"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "timestamp": {
            "type": "string",
            "format": "date-time"
          },
          "entity": {
            "$ref": "#/components/schemas/BaseWorkspaceEntityEntityReference"
          },
          "type": {
            "type": "string"
          },
          "user": {
            "$ref": "#/components/schemas/ActivityUserReference"
          },
          "workspace": {
            "type": "string"
          },
          "previous": {
            "type": "string"
          },
          "next": {
            "type": "string"
          }
        },
        "additionalProperties": false
      },
      "WorkspaceCommerceSettingsUpdated": {
        "required": [
          "entity",
          "id",
          "next",
          "previous",
          "timestamp",
          "type",
          "user",
          "workspace"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "timestamp": {
            "type": "string",
            "format": "date-time"
          },
          "entity": {
            "$ref": "#/components/schemas/BaseWorkspaceEntityEntityReference"
          },
          "type": {
            "type": "string"
          },
          "user": {
            "$ref": "#/components/schemas/ActivityUserReference"
          },
          "workspace": {
            "type": "string"
          },
          "previous": {
            "$ref": "#/components/schemas/CommerceSettings"
          },
          "next": {
            "$ref": "#/components/schemas/CommerceSettings"
          }
        },
        "additionalProperties": false
      },
      "WorkspaceCreated": {
        "required": [
          "entity",
          "id",
          "timestamp",
          "type",
          "user",
          "workspace"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "timestamp": {
            "type": "string",
            "format": "date-time"
          },
          "entity": {
            "$ref": "#/components/schemas/BaseWorkspaceEntityEntityReference"
          },
          "type": {
            "type": "string"
          },
          "user": {
            "$ref": "#/components/schemas/ActivityUserReference"
          },
          "workspace": {
            "type": "string"
          }
        },
        "additionalProperties": false
      },
      "WorkspaceDeleted": {
        "required": [
          "entity",
          "id",
          "timestamp",
          "type",
          "user",
          "workspace"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "timestamp": {
            "type": "string",
            "format": "date-time"
          },
          "entity": {
            "$ref": "#/components/schemas/BaseWorkspaceEntityEntityReference"
          },
          "type": {
            "type": "string"
          },
          "user": {
            "$ref": "#/components/schemas/ActivityUserReference"
          },
          "workspace": {
            "type": "string"
          }
        },
        "additionalProperties": false
      },
      "WorkspaceNameUpdated": {
        "required": [
          "entity",
          "id",
          "next",
          "previous",
          "timestamp",
          "type",
          "user",
          "workspace"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "timestamp": {
            "type": "string",
            "format": "date-time"
          },
          "entity": {
            "$ref": "#/components/schemas/BaseWorkspaceEntityEntityReference"
          },
          "type": {
            "type": "string"
          },
          "user": {
            "$ref": "#/components/schemas/ActivityUserReference"
          },
          "workspace": {
            "type": "string"
          },
          "previous": {
            "type": "string"
          },
          "next": {
            "type": "string"
          }
        },
        "additionalProperties": false
      },
      "WorkspaceSettings": {
        "required": [
          "enableMultiLinguality"
        ],
        "type": "object",
        "properties": {
          "enableMultiLinguality": {
            "type": "boolean"
          }
        },
        "additionalProperties": false
      },
      "WorkspaceSettingsUpdated": {
        "required": [
          "entity",
          "id",
          "next",
          "previous",
          "timestamp",
          "type",
          "user",
          "workspace"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "timestamp": {
            "type": "string",
            "format": "date-time"
          },
          "entity": {
            "$ref": "#/components/schemas/BaseWorkspaceEntityEntityReference"
          },
          "type": {
            "type": "string"
          },
          "user": {
            "$ref": "#/components/schemas/ActivityUserReference"
          },
          "workspace": {
            "type": "string"
          },
          "previous": {
            "$ref": "#/components/schemas/WorkspaceSettings"
          },
          "next": {
            "$ref": "#/components/schemas/WorkspaceSettings"
          }
        },
        "additionalProperties": false
      }
    },
    "securitySchemes": {
      "Bearer": {
        "type": "apiKey",
        "description": "Provide a Heartwork API key, as bearer token. Example: \"Authorization: Bearer {token}\". Important, do note the 'bearer' prefix before the token",
        "name": "Authorization",
        "in": "header"
      },
      "Workspace": {
        "type": "apiKey",
        "description": "Workspace ID (slug)",
        "name": "Workspace",
        "in": "header"
      }
    }
  },
  "security": [
    {
      "Bearer": []
    },
    {
      "Workspace": []
    }
  ],
  "paths": {
    "/core-api/accounts/{id}": {
      "get": {
        "tags": [
          "Accounts"
        ],
        "summary": "Fetches a single account, by id.",
        "operationId": "Accounts_GetById",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "Unique id of the account to fetch.",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/GetAccountResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetAccountResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetAccountResponse"
                }
              }
            }
          },
          "204": {
            "description": "No content"
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-zuplo-route": {
          "corsPolicy": "anything-goes",
          "handler": {
            "export": "urlForwardHandler",
            "module": "$import(@zuplo/runtime)",
            "options": {
              "baseUrl": "${env.CORE_API_BASE_URL}"
            }
          },
          "policies": {
            "inbound": [
              "strip-base-path"
            ]
          }
        },
        "description": ""
      },
      "put": {
        "tags": [
          "Accounts"
        ],
        "summary": "Updates an existing account, replacing it entirely.",
        "description": "On success, returns the updated entity in the response.",
        "operationId": "Accounts_Update",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateAccountRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateAccountRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateAccountRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/GetAccountResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetAccountResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetAccountResponse"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-zuplo-route": {
          "corsPolicy": "anything-goes",
          "handler": {
            "export": "urlForwardHandler",
            "module": "$import(@zuplo/runtime)",
            "options": {
              "baseUrl": "${env.CORE_API_BASE_URL}"
            }
          },
          "policies": {
            "inbound": [
              "strip-base-path"
            ]
          }
        }
      },
      "delete": {
        "tags": [
          "Accounts"
        ],
        "summary": "Deletes an existing account, by id.",
        "operationId": "Accounts_Delete",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "Unique id of the account to delete.",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-zuplo-route": {
          "corsPolicy": "anything-goes",
          "handler": {
            "export": "urlForwardHandler",
            "module": "$import(@zuplo/runtime)",
            "options": {
              "baseUrl": "${env.CORE_API_BASE_URL}"
            }
          },
          "policies": {
            "inbound": [
              "strip-base-path"
            ]
          }
        }
      }
    },
    "/core-api/accounts": {
      "get": {
        "tags": [
          "Accounts"
        ],
        "summary": "Searches accounts based on specific property values.",
        "operationId": "Accounts_List",
        "parameters": [
          {
            "name": "Take",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "Skip",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "SortOrder",
            "in": "query",
            "schema": {
              "$ref": "#/components/schemas/SortDirection"
            }
          },
          {
            "name": "SortBy",
            "in": "query",
            "schema": {
              "$ref": "#/components/schemas/AccountSorting"
            }
          },
          {
            "name": "Query",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "ids",
            "in": "query",
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          },
          {
            "name": "external_references",
            "in": "query",
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          },
          {
            "name": "account_types",
            "in": "query",
            "schema": {
              "type": "array",
              "items": {
                "$ref": "#/components/schemas/AccountType"
              }
            }
          },
          {
            "name": "owner_ids",
            "in": "query",
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          },
          {
            "name": "industries",
            "in": "query",
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          },
          {
            "name": "tags",
            "in": "query",
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/GetAccountsResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetAccountsResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetAccountsResponse"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-zuplo-route": {
          "corsPolicy": "anything-goes",
          "handler": {
            "export": "urlForwardHandler",
            "module": "$import(@zuplo/runtime)",
            "options": {
              "baseUrl": "${env.CORE_API_BASE_URL}"
            }
          },
          "policies": {
            "inbound": [
              "strip-base-path"
            ]
          }
        }
      },
      "post": {
        "tags": [
          "Accounts"
        ],
        "summary": "Creates and stores a new account.",
        "description": "On success, returns the newly created entity in the response.",
        "operationId": "Accounts_Create",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateAccountRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateAccountRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/CreateAccountRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/GetAccountResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetAccountResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetAccountResponse"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-zuplo-route": {
          "corsPolicy": "anything-goes",
          "handler": {
            "export": "urlForwardHandler",
            "module": "$import(@zuplo/runtime)",
            "options": {
              "baseUrl": "${env.CORE_API_BASE_URL}"
            }
          },
          "policies": {
            "inbound": [
              "strip-base-path"
            ]
          }
        }
      }
    },
    "/core-api/accounts/suggest/{query}": {
      "get": {
        "tags": [
          "Accounts"
        ],
        "summary": "Fetches a collection of suggested accounts, by query",
        "operationId": "Accounts_GetSuggestedAccounts",
        "parameters": [
          {
            "name": "query",
            "in": "path",
            "description": "The search query",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "take",
            "in": "query",
            "description": "Amount to take",
            "schema": {
              "type": "integer",
              "format": "int32",
              "default": 15
            }
          },
          {
            "name": "page",
            "in": "query",
            "description": "The page you want",
            "schema": {
              "type": "integer",
              "format": "int32",
              "default": 0
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/GetSuggestedAccountsResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetSuggestedAccountsResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetSuggestedAccountsResponse"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-zuplo-route": {
          "corsPolicy": "anything-goes",
          "handler": {
            "export": "urlForwardHandler",
            "module": "$import(@zuplo/runtime)",
            "options": {
              "baseUrl": "${env.CORE_API_BASE_URL}"
            }
          },
          "policies": {
            "inbound": [
              "strip-base-path"
            ]
          }
        }
      }
    },
    "/core-api/accounts/suggest/{chamberOfCommerceNumber}/details": {
      "get": {
        "tags": [
          "Accounts"
        ],
        "summary": "Fetches all the details of an suggested account, by COC number and subdossier number",
        "operationId": "Accounts_GetSuggestedAccountDetails",
        "parameters": [
          {
            "name": "chamberOfCommerceNumber",
            "in": "path",
            "description": "The chamber of commerce number of the account",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/GetSuggestedAccountDetailsResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetSuggestedAccountDetailsResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetSuggestedAccountDetailsResponse"
                }
              }
            }
          },
          "204": {
            "description": "No content"
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-zuplo-route": {
          "corsPolicy": "anything-goes",
          "handler": {
            "export": "urlForwardHandler",
            "module": "$import(@zuplo/runtime)",
            "options": {
              "baseUrl": "${env.CORE_API_BASE_URL}"
            }
          },
          "policies": {
            "inbound": [
              "strip-base-path"
            ]
          }
        }
      }
    },
    "/core-api/accounts/filters": {
      "get": {
        "tags": [
          "Accounts"
        ],
        "summary": "Get all filterable values for accounts",
        "operationId": "Accounts_GetFilters",
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/GetAccountFiltersResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetAccountFiltersResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetAccountFiltersResponse"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-zuplo-route": {
          "corsPolicy": "anything-goes",
          "handler": {
            "export": "urlForwardHandler",
            "module": "$import(@zuplo/runtime)",
            "options": {
              "baseUrl": "${env.CORE_API_BASE_URL}"
            }
          },
          "policies": {
            "inbound": [
              "strip-base-path"
            ]
          }
        }
      }
    },
    "/core-api/accounts/stats": {
      "get": {
        "tags": [
          "Accounts"
        ],
        "operationId": "Accounts_Stats",
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/GetAccountsStatsResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetAccountsStatsResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetAccountsStatsResponse"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-zuplo-route": {
          "corsPolicy": "anything-goes",
          "handler": {
            "export": "urlForwardHandler",
            "module": "$import(@zuplo/runtime)",
            "options": {
              "baseUrl": "${env.CORE_API_BASE_URL}"
            }
          },
          "policies": {
            "inbound": [
              "strip-base-path"
            ]
          }
        }
      }
    },
    "/core-api/masterdata/accounts/tags": {
      "get": {
        "tags": [
          "Accounts"
        ],
        "summary": "Fetches all used account unique tags",
        "operationId": "Accounts_GetAllTags",
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "array",
                  "items": {
                    "type": "string"
                  }
                }
              },
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "type": "string"
                  }
                }
              },
              "text/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "type": "string"
                  }
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-zuplo-route": {
          "corsPolicy": "anything-goes",
          "handler": {
            "export": "urlForwardHandler",
            "module": "$import(@zuplo/runtime)",
            "options": {
              "baseUrl": "${env.CORE_API_BASE_URL}"
            }
          },
          "policies": {
            "inbound": [
              "strip-base-path"
            ]
          }
        }
      }
    },
    "/core-api/masterdata/accounts/industries": {
      "get": {
        "tags": [
          "Accounts"
        ],
        "summary": "Fetches all used account unique industries",
        "operationId": "Accounts_GetAllIndustries",
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "array",
                  "items": {
                    "type": "string"
                  }
                }
              },
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "type": "string"
                  }
                }
              },
              "text/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "type": "string"
                  }
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-zuplo-route": {
          "corsPolicy": "anything-goes",
          "handler": {
            "export": "urlForwardHandler",
            "module": "$import(@zuplo/runtime)",
            "options": {
              "baseUrl": "${env.CORE_API_BASE_URL}"
            }
          },
          "policies": {
            "inbound": [
              "strip-base-path"
            ]
          }
        }
      }
    },
    "/core-api/activities": {
      "get": {
        "tags": [
          "Activities"
        ],
        "summary": "Fetches a filtered collection of heartwork activities, for the provided workspace.",
        "operationId": "Activities_List",
        "parameters": [
          {
            "name": "Take",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "Skip",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "SortOrder",
            "in": "query",
            "schema": {
              "$ref": "#/components/schemas/SortDirection"
            }
          },
          {
            "name": "SortBy",
            "in": "query",
            "schema": {
              "$ref": "#/components/schemas/ActivitySort"
            }
          },
          {
            "name": "entity_ids",
            "in": "query",
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          },
          {
            "name": "timestamp.Min",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "date-time"
            }
          },
          {
            "name": "timestamp.Max",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "date-time"
            }
          },
          {
            "name": "types",
            "in": "query",
            "schema": {
              "type": "array",
              "items": {
                "$ref": "#/components/schemas/EventType"
              }
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/GetActivitiesResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetActivitiesResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetActivitiesResponse"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-zuplo-route": {
          "corsPolicy": "anything-goes",
          "handler": {
            "export": "urlForwardHandler",
            "module": "$import(@zuplo/runtime)",
            "options": {
              "baseUrl": "${env.CORE_API_BASE_URL}"
            }
          },
          "policies": {
            "inbound": [
              "strip-base-path"
            ]
          }
        }
      }
    },
    "/core-api/activities/filter": {
      "post": {
        "tags": [
          "Activities"
        ],
        "summary": "An exception to the normal List method for when the url becomes too long",
        "operationId": "Activities_Filter",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/GetActivitiesRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/GetActivitiesRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/GetActivitiesRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/GetActivitiesResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetActivitiesResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetActivitiesResponse"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-zuplo-route": {
          "corsPolicy": "anything-goes",
          "handler": {
            "export": "urlForwardHandler",
            "module": "$import(@zuplo/runtime)",
            "options": {
              "baseUrl": "${env.CORE_API_BASE_URL}"
            }
          },
          "policies": {
            "inbound": [
              "strip-base-path"
            ]
          }
        }
      }
    },
    "/core-api/statistics/activity": {
      "get": {
        "tags": [
          "ActivityStatistics"
        ],
        "operationId": "ActivityStatistics_GetActivityStatistics",
        "parameters": [
          {
            "name": "From",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "date-time"
            }
          },
          {
            "name": "To",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "date-time"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/GetActivityStatisticsResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetActivityStatisticsResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetActivityStatisticsResponse"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-zuplo-route": {
          "corsPolicy": "anything-goes",
          "handler": {
            "export": "urlForwardHandler",
            "module": "$import(@zuplo/runtime)",
            "options": {
              "baseUrl": "${env.CORE_API_BASE_URL}"
            }
          },
          "policies": {
            "inbound": [
              "strip-base-path"
            ]
          }
        }
      }
    },
    "/core-api/statistics/activity/timeline": {
      "get": {
        "tags": [
          "ActivityStatistics"
        ],
        "operationId": "ActivityStatistics_GetTimeline",
        "parameters": [
          {
            "name": "From",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "date-time"
            }
          },
          {
            "name": "To",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "date-time"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/GetActivityTimelineResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetActivityTimelineResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetActivityTimelineResponse"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-zuplo-route": {
          "corsPolicy": "anything-goes",
          "handler": {
            "export": "urlForwardHandler",
            "module": "$import(@zuplo/runtime)",
            "options": {
              "baseUrl": "${env.CORE_API_BASE_URL}"
            }
          },
          "policies": {
            "inbound": [
              "strip-base-path"
            ]
          }
        }
      }
    },
    "/core-api/datastudio/analytics/deal-periods": {
      "get": {
        "tags": [
          "Analytics"
        ],
        "summary": "Fetches the deal periods, for the provided workspace",
        "operationId": "Analytics_GetDealPeriods",
        "parameters": [
          {
            "name": "Period",
            "in": "query",
            "required": true,
            "schema": {
              "$ref": "#/components/schemas/PeriodType"
            }
          },
          {
            "name": "Query",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Take",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "Skip",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/GetDealPeriodsResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetDealPeriodsResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetDealPeriodsResponse"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-zuplo-route": {
          "corsPolicy": "anything-goes",
          "handler": {
            "export": "urlForwardHandler",
            "module": "$import(@zuplo/runtime)",
            "options": {
              "baseUrl": "${env.CORE_API_BASE_URL}"
            }
          },
          "policies": {
            "inbound": [
              "strip-base-path"
            ]
          }
        }
      }
    },
    "/core-api/datastudio/analytics/deals-export": {
      "get": {
        "tags": [
          "Analytics"
        ],
        "summary": "Fetches the full export, for the provided workspace",
        "operationId": "Analytics_GetDealsExport",
        "parameters": [
          {
            "name": "From",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "date-time"
            }
          },
          {
            "name": "Until",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "date-time"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/GetDealsExportResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetDealsExportResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetDealsExportResponse"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-zuplo-route": {
          "corsPolicy": "anything-goes",
          "handler": {
            "export": "urlForwardHandler",
            "module": "$import(@zuplo/runtime)",
            "options": {
              "baseUrl": "${env.CORE_API_BASE_URL}"
            }
          },
          "policies": {
            "inbound": [
              "strip-base-path"
            ]
          }
        }
      }
    },
    "/core-api/apps": {
      "get": {
        "tags": [
          "Apps"
        ],
        "summary": "Fetches a collection of all apps, for the provided workspace and this user",
        "operationId": "Apps_Get",
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/GetAppsResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetAppsResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetAppsResponse"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-zuplo-route": {
          "corsPolicy": "anything-goes",
          "handler": {
            "export": "urlForwardHandler",
            "module": "$import(@zuplo/runtime)",
            "options": {
              "baseUrl": "${env.CORE_API_BASE_URL}"
            }
          },
          "policies": {
            "inbound": [
              "strip-base-path"
            ]
          }
        }
      }
    },
    "/core-api/atomicscripts": {
      "get": {
        "tags": [
          "AtomicScripts"
        ],
        "operationId": "AtomicScripts_List",
        "parameters": [
          {
            "name": "Take",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "Skip",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "SortOrder",
            "in": "query",
            "schema": {
              "$ref": "#/components/schemas/SortDirection"
            }
          },
          {
            "name": "SortBy",
            "in": "query",
            "schema": {
              "$ref": "#/components/schemas/AtomicScriptSorting"
            }
          },
          {
            "name": "Query",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "ids",
            "in": "query",
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          },
          {
            "name": "external_references",
            "in": "query",
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/GetAtomicScriptsResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetAtomicScriptsResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetAtomicScriptsResponse"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-zuplo-route": {
          "corsPolicy": "anything-goes",
          "handler": {
            "export": "urlForwardHandler",
            "module": "$import(@zuplo/runtime)",
            "options": {
              "baseUrl": "${env.CORE_API_BASE_URL}"
            }
          },
          "policies": {
            "inbound": [
              "strip-base-path"
            ]
          }
        }
      },
      "post": {
        "tags": [
          "AtomicScripts"
        ],
        "operationId": "AtomicScripts_Create",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateAtomicScriptRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateAtomicScriptRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/CreateAtomicScriptRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/GetAtomicScriptResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetAtomicScriptResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetAtomicScriptResponse"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-zuplo-route": {
          "corsPolicy": "anything-goes",
          "handler": {
            "export": "urlForwardHandler",
            "module": "$import(@zuplo/runtime)",
            "options": {
              "baseUrl": "${env.CORE_API_BASE_URL}"
            }
          },
          "policies": {
            "inbound": [
              "strip-base-path"
            ]
          }
        }
      }
    },
    "/core-api/atomicscripts/{id}": {
      "get": {
        "tags": [
          "AtomicScripts"
        ],
        "operationId": "AtomicScripts_Get",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/GetAtomicScriptResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetAtomicScriptResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetAtomicScriptResponse"
                }
              }
            }
          },
          "204": {
            "description": "No content"
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-zuplo-route": {
          "corsPolicy": "anything-goes",
          "handler": {
            "export": "urlForwardHandler",
            "module": "$import(@zuplo/runtime)",
            "options": {
              "baseUrl": "${env.CORE_API_BASE_URL}"
            }
          },
          "policies": {
            "inbound": [
              "strip-base-path"
            ]
          }
        }
      },
      "put": {
        "tags": [
          "AtomicScripts"
        ],
        "operationId": "AtomicScripts_Update",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateAtomicScriptRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateAtomicScriptRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateAtomicScriptRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/GetAtomicScriptResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetAtomicScriptResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetAtomicScriptResponse"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-zuplo-route": {
          "corsPolicy": "anything-goes",
          "handler": {
            "export": "urlForwardHandler",
            "module": "$import(@zuplo/runtime)",
            "options": {
              "baseUrl": "${env.CORE_API_BASE_URL}"
            }
          },
          "policies": {
            "inbound": [
              "strip-base-path"
            ]
          }
        }
      },
      "delete": {
        "tags": [
          "AtomicScripts"
        ],
        "operationId": "AtomicScripts_Delete",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-zuplo-route": {
          "corsPolicy": "anything-goes",
          "handler": {
            "export": "urlForwardHandler",
            "module": "$import(@zuplo/runtime)",
            "options": {
              "baseUrl": "${env.CORE_API_BASE_URL}"
            }
          },
          "policies": {
            "inbound": [
              "strip-base-path"
            ]
          }
        }
      }
    },
    "/core-api/auth": {
      "post": {
        "tags": [
          "Auth"
        ],
        "summary": "Authenticate against the API in order to receive an access token.",
        "description": "On successful authentication, returns a bearer token which can be used for all subsequent API calls.\nThe token should be provided as HEADER in the following format:\nauthentication: \"bearer [full-token-string]\"",
        "operationId": "Auth_Login",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/LoginRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/LoginRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/LoginRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/DynamicObject"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DynamicObject"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/DynamicObject"
                }
              }
            }
          }
        },
        "x-zuplo-route": {
          "corsPolicy": "anything-goes",
          "handler": {
            "export": "urlForwardHandler",
            "module": "$import(@zuplo/runtime)",
            "options": {
              "baseUrl": "${env.CORE_API_BASE_URL}"
            }
          },
          "policies": {
            "inbound": [
              "strip-base-path"
            ]
          }
        }
      }
    },
    "/core-api/auth/logout/{accessToken}": {
      "get": {
        "tags": [
          "Auth"
        ],
        "operationId": "Auth_Logout",
        "parameters": [
          {
            "name": "accessToken",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "x-zuplo-route": {
          "corsPolicy": "anything-goes",
          "handler": {
            "export": "urlForwardHandler",
            "module": "$import(@zuplo/runtime)",
            "options": {
              "baseUrl": "${env.CORE_API_BASE_URL}"
            }
          },
          "policies": {
            "inbound": [
              "strip-base-path"
            ]
          }
        }
      }
    },
    "/core-api/catalog/brands": {
      "get": {
        "tags": [
          "Brands"
        ],
        "summary": "Fetches a collection of brands, optionally filtered by search criteria.",
        "operationId": "Brands_List",
        "parameters": [
          {
            "name": "Take",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "Skip",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "SortOrder",
            "in": "query",
            "schema": {
              "$ref": "#/components/schemas/SortDirection"
            }
          },
          {
            "name": "SortBy",
            "in": "query",
            "schema": {
              "$ref": "#/components/schemas/BrandSorting"
            }
          },
          {
            "name": "Query",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "ids",
            "in": "query",
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          },
          {
            "name": "external_references",
            "in": "query",
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/GetBrandsResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetBrandsResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetBrandsResponse"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-zuplo-route": {
          "corsPolicy": "anything-goes",
          "handler": {
            "export": "urlForwardHandler",
            "module": "$import(@zuplo/runtime)",
            "options": {
              "baseUrl": "${env.CORE_API_BASE_URL}"
            }
          },
          "policies": {
            "inbound": [
              "strip-base-path"
            ]
          }
        }
      },
      "post": {
        "tags": [
          "Brands"
        ],
        "summary": "Creates and stores a new brand.",
        "description": "On success, returns the newly created entity in the response.",
        "operationId": "Brands_Create",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateBrandRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateBrandRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/CreateBrandRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/GetBrandResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetBrandResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetBrandResponse"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-zuplo-route": {
          "corsPolicy": "anything-goes",
          "handler": {
            "export": "urlForwardHandler",
            "module": "$import(@zuplo/runtime)",
            "options": {
              "baseUrl": "${env.CORE_API_BASE_URL}"
            }
          },
          "policies": {
            "inbound": [
              "strip-base-path"
            ]
          }
        }
      }
    },
    "/core-api/catalog/brands/{id}": {
      "get": {
        "tags": [
          "Brands"
        ],
        "summary": "Fetches a single brand, by id.",
        "operationId": "Brands_GetById",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "Unique id of the brand to fetch.",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/GetBrandResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetBrandResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetBrandResponse"
                }
              }
            }
          },
          "204": {
            "description": "No content"
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-zuplo-route": {
          "corsPolicy": "anything-goes",
          "handler": {
            "export": "urlForwardHandler",
            "module": "$import(@zuplo/runtime)",
            "options": {
              "baseUrl": "${env.CORE_API_BASE_URL}"
            }
          },
          "policies": {
            "inbound": [
              "strip-base-path"
            ]
          }
        }
      },
      "put": {
        "tags": [
          "Brands"
        ],
        "summary": "Updates an existing brand, replacing it entirely.",
        "description": "On success, returns the updated entity in the response.",
        "operationId": "Brands_Update",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateBrandRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateBrandRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateBrandRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/GetBrandResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetBrandResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetBrandResponse"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-zuplo-route": {
          "corsPolicy": "anything-goes",
          "handler": {
            "export": "urlForwardHandler",
            "module": "$import(@zuplo/runtime)",
            "options": {
              "baseUrl": "${env.CORE_API_BASE_URL}"
            }
          },
          "policies": {
            "inbound": [
              "strip-base-path"
            ]
          }
        }
      },
      "delete": {
        "tags": [
          "Brands"
        ],
        "summary": "Deletes an existing brand, by id.",
        "operationId": "Brands_Delete",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "Unique id of the brand to delete.",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-zuplo-route": {
          "corsPolicy": "anything-goes",
          "handler": {
            "export": "urlForwardHandler",
            "module": "$import(@zuplo/runtime)",
            "options": {
              "baseUrl": "${env.CORE_API_BASE_URL}"
            }
          },
          "policies": {
            "inbound": [
              "strip-base-path"
            ]
          }
        }
      }
    },
    "/core-api/catalog/brands/images": {
      "post": {
        "tags": [
          "Brands"
        ],
        "summary": "Upload file to the cdn for brands, images have to be added to the brands afterwards",
        "operationId": "Brands_UploadImages",
        "requestBody": {
          "content": {
            "multipart/form-data": {
              "schema": {
                "type": "object",
                "properties": {
                  "images": {
                    "type": "array",
                    "items": {
                      "type": "string",
                      "format": "binary"
                    },
                    "description": "The images to upload"
                  }
                }
              },
              "encoding": {
                "images": {
                  "style": "form"
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/UploadBlobResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/UploadBlobResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/UploadBlobResponse"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-zuplo-route": {
          "corsPolicy": "anything-goes",
          "handler": {
            "export": "urlForwardHandler",
            "module": "$import(@zuplo/runtime)",
            "options": {
              "baseUrl": "${env.CORE_API_BASE_URL}"
            }
          },
          "policies": {
            "inbound": [
              "strip-base-path"
            ]
          }
        }
      }
    },
    "/core-api/catalog": {
      "get": {
        "tags": [
          "Catalogs"
        ],
        "summary": "Fetches a collection of all product catalogs, for the provided workspace",
        "operationId": "Catalogs_List",
        "parameters": [
          {
            "name": "Take",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "Skip",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "SortOrder",
            "in": "query",
            "schema": {
              "$ref": "#/components/schemas/SortDirection"
            }
          },
          {
            "name": "SortBy",
            "in": "query",
            "schema": {
              "$ref": "#/components/schemas/ProductCatalogSorting"
            }
          },
          {
            "name": "Query",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "ids",
            "in": "query",
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          },
          {
            "name": "external_references",
            "in": "query",
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/GetProductCatalogsResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetProductCatalogsResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetProductCatalogsResponse"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-zuplo-route": {
          "corsPolicy": "anything-goes",
          "handler": {
            "export": "urlForwardHandler",
            "module": "$import(@zuplo/runtime)",
            "options": {
              "baseUrl": "${env.CORE_API_BASE_URL}"
            }
          },
          "policies": {
            "inbound": [
              "strip-base-path"
            ]
          }
        }
      },
      "post": {
        "tags": [
          "Catalogs"
        ],
        "summary": "Creates and stores a new product catalog.",
        "description": "On success, returns the newly created entity in the response.",
        "operationId": "Catalogs_Create",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateProductCatalogRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateProductCatalogRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/CreateProductCatalogRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/GetProductCatalogResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetProductCatalogResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetProductCatalogResponse"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-zuplo-route": {
          "corsPolicy": "anything-goes",
          "handler": {
            "export": "urlForwardHandler",
            "module": "$import(@zuplo/runtime)",
            "options": {
              "baseUrl": "${env.CORE_API_BASE_URL}"
            }
          },
          "policies": {
            "inbound": [
              "strip-base-path"
            ]
          }
        }
      }
    },
    "/core-api/catalog/{id}": {
      "get": {
        "tags": [
          "Catalogs"
        ],
        "summary": "Fetches a single product catalog, by id.",
        "operationId": "Catalogs_GetById",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "Unique id of the product catalog to fetch.",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/GetProductCatalogResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetProductCatalogResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetProductCatalogResponse"
                }
              }
            }
          },
          "204": {
            "description": "No content"
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-zuplo-route": {
          "corsPolicy": "anything-goes",
          "handler": {
            "export": "urlForwardHandler",
            "module": "$import(@zuplo/runtime)",
            "options": {
              "baseUrl": "${env.CORE_API_BASE_URL}"
            }
          },
          "policies": {
            "inbound": [
              "strip-base-path"
            ]
          }
        }
      },
      "put": {
        "tags": [
          "Catalogs"
        ],
        "summary": "Updates an existing product catalog, replacing it entirely.",
        "description": "On success, returns the updated entity in the response.",
        "operationId": "Catalogs_Update",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateProductCatalogRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateProductCatalogRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateProductCatalogRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/GetProductCatalogResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetProductCatalogResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetProductCatalogResponse"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-zuplo-route": {
          "corsPolicy": "anything-goes",
          "handler": {
            "export": "urlForwardHandler",
            "module": "$import(@zuplo/runtime)",
            "options": {
              "baseUrl": "${env.CORE_API_BASE_URL}"
            }
          },
          "policies": {
            "inbound": [
              "strip-base-path"
            ]
          }
        }
      },
      "delete": {
        "tags": [
          "Catalogs"
        ],
        "summary": "Deletes an existing product catalog, by id.",
        "operationId": "Catalogs_Delete",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "Unique id of the product to delete.",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-zuplo-route": {
          "corsPolicy": "anything-goes",
          "handler": {
            "export": "urlForwardHandler",
            "module": "$import(@zuplo/runtime)",
            "options": {
              "baseUrl": "${env.CORE_API_BASE_URL}"
            }
          },
          "policies": {
            "inbound": [
              "strip-base-path"
            ]
          }
        }
      }
    },
    "/core-api/comments": {
      "get": {
        "tags": [
          "Comments"
        ],
        "summary": "Gets comments based on specific property values.",
        "operationId": "Comments_List",
        "parameters": [
          {
            "name": "Take",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "Skip",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "SortOrder",
            "in": "query",
            "schema": {
              "$ref": "#/components/schemas/SortDirection"
            }
          },
          {
            "name": "SortBy",
            "in": "query",
            "schema": {
              "$ref": "#/components/schemas/CommentSorting"
            }
          },
          {
            "name": "Query",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "entity_ids",
            "in": "query",
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          },
          {
            "name": "created_at.Min",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "date-time"
            }
          },
          {
            "name": "created_at.Max",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "date-time"
            }
          },
          {
            "name": "ids",
            "in": "query",
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          },
          {
            "name": "external_references",
            "in": "query",
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/GetCommentsResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetCommentsResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetCommentsResponse"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-zuplo-route": {
          "corsPolicy": "anything-goes",
          "handler": {
            "export": "urlForwardHandler",
            "module": "$import(@zuplo/runtime)",
            "options": {
              "baseUrl": "${env.CORE_API_BASE_URL}"
            }
          },
          "policies": {
            "inbound": [
              "strip-base-path"
            ]
          }
        }
      },
      "post": {
        "tags": [
          "Comments"
        ],
        "summary": "Creates and stores a new comment.",
        "description": "On success, returns the newly created entity in the response.",
        "operationId": "Comments_Create",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateCommentRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateCommentRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/CreateCommentRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/GetCommentResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetCommentResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetCommentResponse"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-zuplo-route": {
          "corsPolicy": "anything-goes",
          "handler": {
            "export": "urlForwardHandler",
            "module": "$import(@zuplo/runtime)",
            "options": {
              "baseUrl": "${env.CORE_API_BASE_URL}"
            }
          },
          "policies": {
            "inbound": [
              "strip-base-path"
            ]
          }
        }
      }
    },
    "/core-api/comments/{id}": {
      "put": {
        "tags": [
          "Comments"
        ],
        "summary": "Updates an existing comment, replacing it entirely.",
        "description": "On success, returns the updated entity in the response.",
        "operationId": "Comments_Update",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateCommentRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateCommentRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateCommentRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/GetCommentResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetCommentResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetCommentResponse"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-zuplo-route": {
          "corsPolicy": "anything-goes",
          "handler": {
            "export": "urlForwardHandler",
            "module": "$import(@zuplo/runtime)",
            "options": {
              "baseUrl": "${env.CORE_API_BASE_URL}"
            }
          },
          "policies": {
            "inbound": [
              "strip-base-path"
            ]
          }
        }
      },
      "delete": {
        "tags": [
          "Comments"
        ],
        "summary": "Deletes an existing comment, by id.",
        "operationId": "Comments_Delete",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "Unique id of the comment to delete.",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-zuplo-route": {
          "corsPolicy": "anything-goes",
          "handler": {
            "export": "urlForwardHandler",
            "module": "$import(@zuplo/runtime)",
            "options": {
              "baseUrl": "${env.CORE_API_BASE_URL}"
            }
          },
          "policies": {
            "inbound": [
              "strip-base-path"
            ]
          }
        }
      }
    },
    "/core-api/contacts/{id}": {
      "get": {
        "tags": [
          "Contacts"
        ],
        "summary": "Fetches a single contact, by id.",
        "operationId": "Contacts_GetById",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "Unique id of the contact to fetch.",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/GetContactResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetContactResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetContactResponse"
                }
              }
            }
          },
          "204": {
            "description": "No content"
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-zuplo-route": {
          "corsPolicy": "anything-goes",
          "handler": {
            "export": "urlForwardHandler",
            "module": "$import(@zuplo/runtime)",
            "options": {
              "baseUrl": "${env.CORE_API_BASE_URL}"
            }
          },
          "policies": {
            "inbound": [
              "strip-base-path"
            ]
          }
        }
      },
      "put": {
        "tags": [
          "Contacts"
        ],
        "summary": "Updates an existing contact, replacing it entirely.",
        "description": "On success, returns the updated entity in the response.",
        "operationId": "Contacts_Update",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateContactRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateContactRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateContactRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/GetContactResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetContactResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetContactResponse"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-zuplo-route": {
          "corsPolicy": "anything-goes",
          "handler": {
            "export": "urlForwardHandler",
            "module": "$import(@zuplo/runtime)",
            "options": {
              "baseUrl": "${env.CORE_API_BASE_URL}"
            }
          },
          "policies": {
            "inbound": [
              "strip-base-path"
            ]
          }
        }
      },
      "delete": {
        "tags": [
          "Contacts"
        ],
        "summary": "Deletes an existing contact, by id.",
        "operationId": "Contacts_Delete",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "Unique id of the contact to delete.",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-zuplo-route": {
          "corsPolicy": "anything-goes",
          "handler": {
            "export": "urlForwardHandler",
            "module": "$import(@zuplo/runtime)",
            "options": {
              "baseUrl": "${env.CORE_API_BASE_URL}"
            }
          },
          "policies": {
            "inbound": [
              "strip-base-path"
            ]
          }
        }
      }
    },
    "/core-api/contacts": {
      "get": {
        "tags": [
          "Contacts"
        ],
        "summary": "Searches contacts based on specific property values.",
        "operationId": "Contacts_List",
        "parameters": [
          {
            "name": "Take",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "Skip",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "SortOrder",
            "in": "query",
            "schema": {
              "$ref": "#/components/schemas/SortDirection"
            }
          },
          {
            "name": "SortBy",
            "in": "query",
            "schema": {
              "$ref": "#/components/schemas/ContactSorting"
            }
          },
          {
            "name": "Query",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "ids",
            "in": "query",
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          },
          {
            "name": "external_references",
            "in": "query",
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          },
          {
            "name": "job_titles",
            "in": "query",
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          },
          {
            "name": "owner_ids",
            "in": "query",
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          },
          {
            "name": "tags",
            "in": "query",
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/GetContactsResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetContactsResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetContactsResponse"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-zuplo-route": {
          "corsPolicy": "anything-goes",
          "handler": {
            "export": "urlForwardHandler",
            "module": "$import(@zuplo/runtime)",
            "options": {
              "baseUrl": "${env.CORE_API_BASE_URL}"
            }
          },
          "policies": {
            "inbound": [
              "strip-base-path"
            ]
          }
        }
      },
      "post": {
        "tags": [
          "Contacts"
        ],
        "summary": "Creates and stores a new contact.",
        "description": "On success, returns the newly created entity in the response.",
        "operationId": "Contacts_Create",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateContactRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateContactRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/CreateContactRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/GetContactResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetContactResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetContactResponse"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-zuplo-route": {
          "corsPolicy": "anything-goes",
          "handler": {
            "export": "urlForwardHandler",
            "module": "$import(@zuplo/runtime)",
            "options": {
              "baseUrl": "${env.CORE_API_BASE_URL}"
            }
          },
          "policies": {
            "inbound": [
              "strip-base-path"
            ]
          }
        }
      }
    },
    "/core-api/contacts/filters": {
      "get": {
        "tags": [
          "Contacts"
        ],
        "summary": "Get all filterable values for contacts",
        "operationId": "Contacts_GetFilters",
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/GetContactFiltersResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetContactFiltersResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetContactFiltersResponse"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-zuplo-route": {
          "corsPolicy": "anything-goes",
          "handler": {
            "export": "urlForwardHandler",
            "module": "$import(@zuplo/runtime)",
            "options": {
              "baseUrl": "${env.CORE_API_BASE_URL}"
            }
          },
          "policies": {
            "inbound": [
              "strip-base-path"
            ]
          }
        }
      }
    },
    "/core-api/masterdata/contacts/tags": {
      "get": {
        "tags": [
          "Contacts"
        ],
        "summary": "Fetches all used contact unique tags",
        "operationId": "Contacts_GetAllTags",
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "array",
                  "items": {
                    "type": "string"
                  }
                }
              },
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "type": "string"
                  }
                }
              },
              "text/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "type": "string"
                  }
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-zuplo-route": {
          "corsPolicy": "anything-goes",
          "handler": {
            "export": "urlForwardHandler",
            "module": "$import(@zuplo/runtime)",
            "options": {
              "baseUrl": "${env.CORE_API_BASE_URL}"
            }
          },
          "policies": {
            "inbound": [
              "strip-base-path"
            ]
          }
        }
      }
    },
    "/core-api/masterdata/contacts/jobtitles": {
      "get": {
        "tags": [
          "Contacts"
        ],
        "summary": "Fetches all used contact unique jobtitles",
        "operationId": "Contacts_GetAllJobTitles",
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "array",
                  "items": {
                    "type": "string"
                  }
                }
              },
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "type": "string"
                  }
                }
              },
              "text/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "type": "string"
                  }
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-zuplo-route": {
          "corsPolicy": "anything-goes",
          "handler": {
            "export": "urlForwardHandler",
            "module": "$import(@zuplo/runtime)",
            "options": {
              "baseUrl": "${env.CORE_API_BASE_URL}"
            }
          },
          "policies": {
            "inbound": [
              "strip-base-path"
            ]
          }
        }
      }
    },
    "/core-api/cms/contentpages": {
      "get": {
        "tags": [
          "ContentPages"
        ],
        "operationId": "ContentPages_List",
        "parameters": [
          {
            "name": "Take",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "Skip",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "SortOrder",
            "in": "query",
            "schema": {
              "$ref": "#/components/schemas/SortDirection"
            }
          },
          {
            "name": "SortBy",
            "in": "query",
            "schema": {
              "$ref": "#/components/schemas/ContentPageSorting"
            }
          },
          {
            "name": "ids",
            "in": "query",
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          },
          {
            "name": "external_references",
            "in": "query",
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          },
          {
            "name": "languages",
            "in": "query",
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/GetContentPagesResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetContentPagesResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetContentPagesResponse"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-zuplo-route": {
          "corsPolicy": "anything-goes",
          "handler": {
            "export": "urlForwardHandler",
            "module": "$import(@zuplo/runtime)",
            "options": {
              "baseUrl": "${env.CORE_API_BASE_URL}"
            }
          },
          "policies": {
            "inbound": [
              "strip-base-path"
            ]
          }
        }
      },
      "post": {
        "tags": [
          "ContentPages"
        ],
        "operationId": "ContentPages_Create",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateContentPageRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateContentPageRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/CreateContentPageRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/GetContentPageResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetContentPageResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetContentPageResponse"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-zuplo-route": {
          "corsPolicy": "anything-goes",
          "handler": {
            "export": "urlForwardHandler",
            "module": "$import(@zuplo/runtime)",
            "options": {
              "baseUrl": "${env.CORE_API_BASE_URL}"
            }
          },
          "policies": {
            "inbound": [
              "strip-base-path"
            ]
          }
        }
      }
    },
    "/core-api/cms/contentpages/{id}": {
      "get": {
        "tags": [
          "ContentPages"
        ],
        "operationId": "ContentPages_Get",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/GetContentPageResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetContentPageResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetContentPageResponse"
                }
              }
            }
          },
          "204": {
            "description": "No content"
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-zuplo-route": {
          "corsPolicy": "anything-goes",
          "handler": {
            "export": "urlForwardHandler",
            "module": "$import(@zuplo/runtime)",
            "options": {
              "baseUrl": "${env.CORE_API_BASE_URL}"
            }
          },
          "policies": {
            "inbound": [
              "strip-base-path"
            ]
          }
        }
      },
      "put": {
        "tags": [
          "ContentPages"
        ],
        "operationId": "ContentPages_Update",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateContentPageRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateContentPageRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateContentPageRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/GetContentPageResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetContentPageResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetContentPageResponse"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-zuplo-route": {
          "corsPolicy": "anything-goes",
          "handler": {
            "export": "urlForwardHandler",
            "module": "$import(@zuplo/runtime)",
            "options": {
              "baseUrl": "${env.CORE_API_BASE_URL}"
            }
          },
          "policies": {
            "inbound": [
              "strip-base-path"
            ]
          }
        }
      },
      "delete": {
        "tags": [
          "ContentPages"
        ],
        "operationId": "ContentPages_Delete",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-zuplo-route": {
          "corsPolicy": "anything-goes",
          "handler": {
            "export": "urlForwardHandler",
            "module": "$import(@zuplo/runtime)",
            "options": {
              "baseUrl": "${env.CORE_API_BASE_URL}"
            }
          },
          "policies": {
            "inbound": [
              "strip-base-path"
            ]
          }
        }
      }
    },
    "/core-api/internationalization/currencies": {
      "get": {
        "tags": [
          "Currencies"
        ],
        "operationId": "Currencies_List",
        "parameters": [
          {
            "name": "Take",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "Skip",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "SortOrder",
            "in": "query",
            "schema": {
              "$ref": "#/components/schemas/SortDirection"
            }
          },
          {
            "name": "SortBy",
            "in": "query",
            "schema": {
              "$ref": "#/components/schemas/CurrencySorting"
            }
          },
          {
            "name": "Query",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "ids",
            "in": "query",
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          },
          {
            "name": "external_references",
            "in": "query",
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          },
          {
            "name": "codes",
            "in": "query",
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/GetCurrenciesResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetCurrenciesResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetCurrenciesResponse"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-zuplo-route": {
          "corsPolicy": "anything-goes",
          "handler": {
            "export": "urlForwardHandler",
            "module": "$import(@zuplo/runtime)",
            "options": {
              "baseUrl": "${env.CORE_API_BASE_URL}"
            }
          },
          "policies": {
            "inbound": [
              "strip-base-path"
            ]
          }
        }
      },
      "post": {
        "tags": [
          "Currencies"
        ],
        "operationId": "Currencies_Add",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateCurrencyRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateCurrencyRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/CreateCurrencyRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/GetCurrencyResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetCurrencyResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetCurrencyResponse"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-zuplo-route": {
          "corsPolicy": "anything-goes",
          "handler": {
            "export": "urlForwardHandler",
            "module": "$import(@zuplo/runtime)",
            "options": {
              "baseUrl": "${env.CORE_API_BASE_URL}"
            }
          },
          "policies": {
            "inbound": [
              "strip-base-path"
            ]
          }
        }
      }
    },
    "/core-api/internationalization/currencies/available": {
      "get": {
        "tags": [
          "Currencies"
        ],
        "operationId": "Currencies_ListAvailable",
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/GetAvailableCurrenciesResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetAvailableCurrenciesResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetAvailableCurrenciesResponse"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-zuplo-route": {
          "corsPolicy": "anything-goes",
          "handler": {
            "export": "urlForwardHandler",
            "module": "$import(@zuplo/runtime)",
            "options": {
              "baseUrl": "${env.CORE_API_BASE_URL}"
            }
          },
          "policies": {
            "inbound": [
              "strip-base-path"
            ]
          }
        }
      }
    },
    "/core-api/internationalization/currencies/{id}": {
      "put": {
        "tags": [
          "Currencies"
        ],
        "operationId": "Currencies_Update",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateCurrencyRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateCurrencyRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateCurrencyRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/GetCurrencyResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetCurrencyResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetCurrencyResponse"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-zuplo-route": {
          "corsPolicy": "anything-goes",
          "handler": {
            "export": "urlForwardHandler",
            "module": "$import(@zuplo/runtime)",
            "options": {
              "baseUrl": "${env.CORE_API_BASE_URL}"
            }
          },
          "policies": {
            "inbound": [
              "strip-base-path"
            ]
          }
        }
      }
    },
    "/core-api/deals": {
      "get": {
        "tags": [
          "Deals"
        ],
        "summary": "Fetches a collection of deals, for the provided workspace based on optional filters",
        "operationId": "Deals_List",
        "parameters": [
          {
            "name": "Take",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "Skip",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "SortOrder",
            "in": "query",
            "schema": {
              "$ref": "#/components/schemas/SortDirection"
            }
          },
          {
            "name": "SortBy",
            "in": "query",
            "schema": {
              "$ref": "#/components/schemas/DealSorting"
            }
          },
          {
            "name": "Query",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "ids",
            "in": "query",
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          },
          {
            "name": "external_references",
            "in": "query",
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          },
          {
            "name": "expected_revenue.Min",
            "in": "query",
            "schema": {
              "type": "number",
              "format": "double"
            }
          },
          {
            "name": "expected_revenue.Max",
            "in": "query",
            "schema": {
              "type": "number",
              "format": "double"
            }
          },
          {
            "name": "owner_ids",
            "in": "query",
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          },
          {
            "name": "account_ids",
            "in": "query",
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          },
          {
            "name": "pipeline_ids",
            "in": "query",
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          },
          {
            "name": "status_ids",
            "in": "query",
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          },
          {
            "name": "archived",
            "in": "query",
            "schema": {
              "type": "boolean"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/GetDealsResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetDealsResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetDealsResponse"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-zuplo-route": {
          "corsPolicy": "anything-goes",
          "handler": {
            "export": "urlForwardHandler",
            "module": "$import(@zuplo/runtime)",
            "options": {
              "baseUrl": "${env.CORE_API_BASE_URL}"
            }
          },
          "policies": {
            "inbound": [
              "strip-base-path"
            ]
          }
        }
      },
      "post": {
        "tags": [
          "Deals"
        ],
        "summary": "Creates and stores a new deal.",
        "description": "On success, returns the newly created entity in the response.",
        "operationId": "Deals_Create",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateDealRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateDealRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/CreateDealRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/GetDealResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetDealResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetDealResponse"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-zuplo-route": {
          "corsPolicy": "anything-goes",
          "handler": {
            "export": "urlForwardHandler",
            "module": "$import(@zuplo/runtime)",
            "options": {
              "baseUrl": "${env.CORE_API_BASE_URL}"
            }
          },
          "policies": {
            "inbound": [
              "strip-base-path"
            ]
          }
        }
      }
    },
    "/core-api/deals/{id}": {
      "get": {
        "tags": [
          "Deals"
        ],
        "summary": "Fetches a single deal, by id.",
        "operationId": "Deals_GetById",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "Unique id of the deal to fetch.",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/GetDealResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetDealResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetDealResponse"
                }
              }
            }
          },
          "204": {
            "description": "No content"
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-zuplo-route": {
          "corsPolicy": "anything-goes",
          "handler": {
            "export": "urlForwardHandler",
            "module": "$import(@zuplo/runtime)",
            "options": {
              "baseUrl": "${env.CORE_API_BASE_URL}"
            }
          },
          "policies": {
            "inbound": [
              "strip-base-path"
            ]
          }
        }
      },
      "put": {
        "tags": [
          "Deals"
        ],
        "summary": "Updates an existing deal, replacing it entirely.",
        "description": "On success, returns the updated entity in the response.",
        "operationId": "Deals_Update",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateDealRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateDealRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateDealRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/GetDealResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetDealResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetDealResponse"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-zuplo-route": {
          "corsPolicy": "anything-goes",
          "handler": {
            "export": "urlForwardHandler",
            "module": "$import(@zuplo/runtime)",
            "options": {
              "baseUrl": "${env.CORE_API_BASE_URL}"
            }
          },
          "policies": {
            "inbound": [
              "strip-base-path"
            ]
          }
        }
      },
      "delete": {
        "tags": [
          "Deals"
        ],
        "summary": "Deletes an existing deal, by id.",
        "operationId": "Deals_Delete",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "Unique id of the deal to delete.",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-zuplo-route": {
          "corsPolicy": "anything-goes",
          "handler": {
            "export": "urlForwardHandler",
            "module": "$import(@zuplo/runtime)",
            "options": {
              "baseUrl": "${env.CORE_API_BASE_URL}"
            }
          },
          "policies": {
            "inbound": [
              "strip-base-path"
            ]
          }
        }
      }
    },
    "/core-api/deals/filters": {
      "get": {
        "tags": [
          "Deals"
        ],
        "summary": "Get all filterable values for deals",
        "operationId": "Deals_GetFilters",
        "parameters": [
          {
            "name": "pipelineId",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/GetDealFiltersResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetDealFiltersResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetDealFiltersResponse"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-zuplo-route": {
          "corsPolicy": "anything-goes",
          "handler": {
            "export": "urlForwardHandler",
            "module": "$import(@zuplo/runtime)",
            "options": {
              "baseUrl": "${env.CORE_API_BASE_URL}"
            }
          },
          "policies": {
            "inbound": [
              "strip-base-path"
            ]
          }
        }
      }
    },
    "/core-api/deals/{id}/archive": {
      "put": {
        "tags": [
          "Deals"
        ],
        "summary": "Archive an existing deal, by id.",
        "operationId": "Deals_Archive",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "Unique id of the deal to archive.",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/GetDealResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetDealResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetDealResponse"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-zuplo-route": {
          "corsPolicy": "anything-goes",
          "handler": {
            "export": "urlForwardHandler",
            "module": "$import(@zuplo/runtime)",
            "options": {
              "baseUrl": "${env.CORE_API_BASE_URL}"
            }
          },
          "policies": {
            "inbound": [
              "strip-base-path"
            ]
          }
        }
      }
    },
    "/core-api/deals/{id}/restore": {
      "put": {
        "tags": [
          "Deals"
        ],
        "summary": "Restore an existing deal, by id.",
        "operationId": "Deals_Restore",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "Unique id of the deal to unarchive.",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/GetDealResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetDealResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetDealResponse"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-zuplo-route": {
          "corsPolicy": "anything-goes",
          "handler": {
            "export": "urlForwardHandler",
            "module": "$import(@zuplo/runtime)",
            "options": {
              "baseUrl": "${env.CORE_API_BASE_URL}"
            }
          },
          "policies": {
            "inbound": [
              "strip-base-path"
            ]
          }
        }
      }
    },
    "/core-api/masterdata/deals/statuses": {
      "get": {
        "tags": [
          "Deals"
        ],
        "summary": "Fetches all used deals unique statuses",
        "operationId": "Deals_GetAllStatuses",
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/PipelineStatus"
                  }
                }
              },
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/PipelineStatus"
                  }
                }
              },
              "text/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/PipelineStatus"
                  }
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-zuplo-route": {
          "corsPolicy": "anything-goes",
          "handler": {
            "export": "urlForwardHandler",
            "module": "$import(@zuplo/runtime)",
            "options": {
              "baseUrl": "${env.CORE_API_BASE_URL}"
            }
          },
          "policies": {
            "inbound": [
              "strip-base-path"
            ]
          }
        }
      }
    },
    "/core-api/masterdata/deals/tags": {
      "get": {
        "tags": [
          "Deals"
        ],
        "summary": "Fetches all used contact unique tags",
        "operationId": "Deals_GetAllTags",
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "array",
                  "items": {
                    "type": "string"
                  }
                }
              },
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "type": "string"
                  }
                }
              },
              "text/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "type": "string"
                  }
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-zuplo-route": {
          "corsPolicy": "anything-goes",
          "handler": {
            "export": "urlForwardHandler",
            "module": "$import(@zuplo/runtime)",
            "options": {
              "baseUrl": "${env.CORE_API_BASE_URL}"
            }
          },
          "policies": {
            "inbound": [
              "strip-base-path"
            ]
          }
        }
      }
    },
    "/core-api/statistics/deals": {
      "get": {
        "tags": [
          "DealStatistics"
        ],
        "operationId": "DealStatistics_GetDealStatistics",
        "parameters": [
          {
            "name": "From",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "date-time"
            }
          },
          {
            "name": "To",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "date-time"
            }
          },
          {
            "name": "ExpiryFrom",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "date-time"
            }
          },
          {
            "name": "ExpiryTo",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "date-time"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/GetDealStatisticsResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetDealStatisticsResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetDealStatisticsResponse"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-zuplo-route": {
          "corsPolicy": "anything-goes",
          "handler": {
            "export": "urlForwardHandler",
            "module": "$import(@zuplo/runtime)",
            "options": {
              "baseUrl": "${env.CORE_API_BASE_URL}"
            }
          },
          "policies": {
            "inbound": [
              "strip-base-path"
            ]
          }
        }
      }
    },
    "/core-api/documents/structure": {
      "get": {
        "tags": [
          "Documents"
        ],
        "operationId": "Documents_GetStructure",
        "parameters": [
          {
            "name": "Query",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "AttachedTo",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "AttachedToType",
            "in": "query",
            "schema": {
              "$ref": "#/components/schemas/AttachmentEntityType"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/GetDocumentStructureResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetDocumentStructureResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetDocumentStructureResponse"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-zuplo-route": {
          "corsPolicy": "anything-goes",
          "handler": {
            "export": "urlForwardHandler",
            "module": "$import(@zuplo/runtime)",
            "options": {
              "baseUrl": "${env.CORE_API_BASE_URL}"
            }
          },
          "policies": {
            "inbound": [
              "strip-base-path"
            ]
          }
        }
      }
    },
    "/core-api/documents": {
      "get": {
        "tags": [
          "Documents"
        ],
        "operationId": "Documents_GetDocument",
        "parameters": [
          {
            "name": "Name",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Path",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "AttachedTo",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "AttachedToType",
            "in": "query",
            "schema": {
              "$ref": "#/components/schemas/AttachmentEntityType"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/GetDocumentResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetDocumentResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetDocumentResponse"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-zuplo-route": {
          "corsPolicy": "anything-goes",
          "handler": {
            "export": "urlForwardHandler",
            "module": "$import(@zuplo/runtime)",
            "options": {
              "baseUrl": "${env.CORE_API_BASE_URL}"
            }
          },
          "policies": {
            "inbound": [
              "strip-base-path"
            ]
          }
        }
      },
      "post": {
        "tags": [
          "Documents"
        ],
        "operationId": "Documents_Upload",
        "parameters": [
          {
            "name": "AttachTo",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "AttachToType",
            "in": "query",
            "schema": {
              "$ref": "#/components/schemas/AttachmentEntityType"
            }
          },
          {
            "name": "Overwrite",
            "in": "query",
            "schema": {
              "type": "boolean"
            }
          }
        ],
        "requestBody": {
          "content": {
            "multipart/form-data": {
              "schema": {
                "required": [
                  "Files"
                ],
                "type": "object",
                "properties": {
                  "Path": {
                    "type": "string"
                  },
                  "Files": {
                    "type": "array",
                    "items": {
                      "type": "string",
                      "format": "binary"
                    }
                  }
                }
              },
              "encoding": {
                "Path": {
                  "style": "form"
                },
                "Files": {
                  "style": "form"
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK"
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-zuplo-route": {
          "corsPolicy": "anything-goes",
          "handler": {
            "export": "urlForwardHandler",
            "module": "$import(@zuplo/runtime)",
            "options": {
              "baseUrl": "${env.CORE_API_BASE_URL}"
            }
          },
          "policies": {
            "inbound": [
              "strip-base-path"
            ]
          }
        }
      },
      "delete": {
        "tags": [
          "Documents"
        ],
        "operationId": "Documents_Delete",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/DeleteDocumentRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/DeleteDocumentRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/DeleteDocumentRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK"
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-zuplo-route": {
          "corsPolicy": "anything-goes",
          "handler": {
            "export": "urlForwardHandler",
            "module": "$import(@zuplo/runtime)",
            "options": {
              "baseUrl": "${env.CORE_API_BASE_URL}"
            }
          },
          "policies": {
            "inbound": [
              "strip-base-path"
            ]
          }
        }
      }
    },
    "/core-api/documents/directories": {
      "post": {
        "tags": [
          "Documents"
        ],
        "operationId": "Documents_CreateDirectory",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateDirectoryRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateDirectoryRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/CreateDirectoryRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK"
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-zuplo-route": {
          "corsPolicy": "anything-goes",
          "handler": {
            "export": "urlForwardHandler",
            "module": "$import(@zuplo/runtime)",
            "options": {
              "baseUrl": "${env.CORE_API_BASE_URL}"
            }
          },
          "policies": {
            "inbound": [
              "strip-base-path"
            ]
          }
        }
      },
      "delete": {
        "tags": [
          "Documents"
        ],
        "operationId": "Documents_DeleteDirectory",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/DeleteDirectoryRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/DeleteDirectoryRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/DeleteDirectoryRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK"
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-zuplo-route": {
          "corsPolicy": "anything-goes",
          "handler": {
            "export": "urlForwardHandler",
            "module": "$import(@zuplo/runtime)",
            "options": {
              "baseUrl": "${env.CORE_API_BASE_URL}"
            }
          },
          "policies": {
            "inbound": [
              "strip-base-path"
            ]
          }
        }
      }
    },
    "/core-api/catalog/favouriteproducts": {
      "get": {
        "tags": [
          "FavouriteProducts"
        ],
        "summary": "Fetches a collection of all product favourites, for the provided workspace",
        "operationId": "FavouriteProducts_List",
        "parameters": [
          {
            "name": "Take",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "Skip",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "SortOrder",
            "in": "query",
            "schema": {
              "$ref": "#/components/schemas/SortDirection"
            }
          },
          {
            "name": "SortBy",
            "in": "query",
            "schema": {
              "$ref": "#/components/schemas/FavouriteProductSorting"
            }
          },
          {
            "name": "ids",
            "in": "query",
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          },
          {
            "name": "external_references",
            "in": "query",
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          },
          {
            "name": "client_login_ids",
            "in": "query",
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          },
          {
            "name": "product_ids",
            "in": "query",
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/GetFavouriteProductsResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetFavouriteProductsResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetFavouriteProductsResponse"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-zuplo-route": {
          "corsPolicy": "anything-goes",
          "handler": {
            "export": "urlForwardHandler",
            "module": "$import(@zuplo/runtime)",
            "options": {
              "baseUrl": "${env.CORE_API_BASE_URL}"
            }
          },
          "policies": {
            "inbound": [
              "strip-base-path"
            ]
          }
        }
      },
      "post": {
        "tags": [
          "FavouriteProducts"
        ],
        "summary": "Creates a new product favourite",
        "operationId": "FavouriteProducts_Create",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateFavouriteProductRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateFavouriteProductRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/CreateFavouriteProductRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/GetFavouriteProductResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetFavouriteProductResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetFavouriteProductResponse"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-zuplo-route": {
          "corsPolicy": "anything-goes",
          "handler": {
            "export": "urlForwardHandler",
            "module": "$import(@zuplo/runtime)",
            "options": {
              "baseUrl": "${env.CORE_API_BASE_URL}"
            }
          },
          "policies": {
            "inbound": [
              "strip-base-path"
            ]
          }
        }
      }
    },
    "/core-api/catalog/favouriteproducts/bulk": {
      "post": {
        "tags": [
          "FavouriteProducts"
        ],
        "operationId": "FavouriteProducts_CreateBulk",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateFavouriteProductsRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateFavouriteProductsRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/CreateFavouriteProductsRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/GetFavouriteProductsResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetFavouriteProductsResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetFavouriteProductsResponse"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-zuplo-route": {
          "corsPolicy": "anything-goes",
          "handler": {
            "export": "urlForwardHandler",
            "module": "$import(@zuplo/runtime)",
            "options": {
              "baseUrl": "${env.CORE_API_BASE_URL}"
            }
          },
          "policies": {
            "inbound": [
              "strip-base-path"
            ]
          }
        }
      }
    },
    "/core-api/catalog/favouriteproducts/{id}": {
      "delete": {
        "tags": [
          "FavouriteProducts"
        ],
        "summary": "Deletes an existing product favourite",
        "operationId": "FavouriteProducts_Delete",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-zuplo-route": {
          "corsPolicy": "anything-goes",
          "handler": {
            "export": "urlForwardHandler",
            "module": "$import(@zuplo/runtime)",
            "options": {
              "baseUrl": "${env.CORE_API_BASE_URL}"
            }
          },
          "policies": {
            "inbound": [
              "strip-base-path"
            ]
          }
        }
      }
    },
    "/core-api/identities": {
      "get": {
        "tags": [
          "Identities"
        ],
        "summary": "Searches client logins based on specific property values.",
        "operationId": "Identities_List",
        "parameters": [
          {
            "name": "Take",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "Skip",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "SortOrder",
            "in": "query",
            "schema": {
              "$ref": "#/components/schemas/SortDirection"
            }
          },
          {
            "name": "SortBy",
            "in": "query",
            "schema": {
              "$ref": "#/components/schemas/ClientLoginSorting"
            }
          },
          {
            "name": "Query",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "ids",
            "in": "query",
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          },
          {
            "name": "external_references",
            "in": "query",
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/GetClientLoginsResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetClientLoginsResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetClientLoginsResponse"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-zuplo-route": {
          "corsPolicy": "anything-goes",
          "handler": {
            "export": "urlForwardHandler",
            "module": "$import(@zuplo/runtime)",
            "options": {
              "baseUrl": "${env.CORE_API_BASE_URL}"
            }
          },
          "policies": {
            "inbound": [
              "strip-base-path"
            ]
          }
        }
      },
      "post": {
        "tags": [
          "Identities"
        ],
        "summary": "Creates and stores a new client login.",
        "description": "On success, returns the newly created entity in the response.",
        "operationId": "Identities_Create",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateClientLoginAndExternalUserRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateClientLoginAndExternalUserRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/CreateClientLoginAndExternalUserRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/GetClientLoginResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetClientLoginResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetClientLoginResponse"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-zuplo-route": {
          "corsPolicy": "anything-goes",
          "handler": {
            "export": "urlForwardHandler",
            "module": "$import(@zuplo/runtime)",
            "options": {
              "baseUrl": "${env.CORE_API_BASE_URL}"
            }
          },
          "policies": {
            "inbound": [
              "strip-base-path"
            ]
          }
        }
      }
    },
    "/core-api/identities/{id}": {
      "get": {
        "tags": [
          "Identities"
        ],
        "summary": "Fetches a single client login, by id.",
        "operationId": "Identities_GetById",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "Unique id of the client login to fetch.",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/GetClientLoginResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetClientLoginResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetClientLoginResponse"
                }
              }
            }
          },
          "204": {
            "description": "No content"
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-zuplo-route": {
          "corsPolicy": "anything-goes",
          "handler": {
            "export": "urlForwardHandler",
            "module": "$import(@zuplo/runtime)",
            "options": {
              "baseUrl": "${env.CORE_API_BASE_URL}"
            }
          },
          "policies": {
            "inbound": [
              "strip-base-path"
            ]
          }
        }
      },
      "put": {
        "tags": [
          "Identities"
        ],
        "summary": "Updates an existing client login, replacing it entirely.",
        "description": "On success, returns the updated entity in the response.",
        "operationId": "Identities_Update",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateClientLoginAndExternalUserRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateClientLoginAndExternalUserRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateClientLoginAndExternalUserRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/GetClientLoginResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetClientLoginResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetClientLoginResponse"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-zuplo-route": {
          "corsPolicy": "anything-goes",
          "handler": {
            "export": "urlForwardHandler",
            "module": "$import(@zuplo/runtime)",
            "options": {
              "baseUrl": "${env.CORE_API_BASE_URL}"
            }
          },
          "policies": {
            "inbound": [
              "strip-base-path"
            ]
          }
        }
      },
      "delete": {
        "tags": [
          "Identities"
        ],
        "summary": "Deletes an existing client login, by id.",
        "operationId": "Identities_Delete",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "Unique id of the client login to delete.",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "No Content"
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-zuplo-route": {
          "corsPolicy": "anything-goes",
          "handler": {
            "export": "urlForwardHandler",
            "module": "$import(@zuplo/runtime)",
            "options": {
              "baseUrl": "${env.CORE_API_BASE_URL}"
            }
          },
          "policies": {
            "inbound": [
              "strip-base-path"
            ]
          }
        }
      }
    },
    "/core-api/identities/emails/{email}/available": {
      "get": {
        "tags": [
          "Identities"
        ],
        "summary": "Check if an email is available in the current workspace.",
        "operationId": "Identities_IsEmailAvailable",
        "parameters": [
          {
            "name": "email",
            "in": "path",
            "description": "Email of the client login you want to check.",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/IsEmailAvailableResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/IsEmailAvailableResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/IsEmailAvailableResponse"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-zuplo-route": {
          "corsPolicy": "anything-goes",
          "handler": {
            "export": "urlForwardHandler",
            "module": "$import(@zuplo/runtime)",
            "options": {
              "baseUrl": "${env.CORE_API_BASE_URL}"
            }
          },
          "policies": {
            "inbound": [
              "strip-base-path"
            ]
          }
        }
      }
    },
    "/core-api/identities/usernames/{username}/available": {
      "get": {
        "tags": [
          "Identities"
        ],
        "summary": "Check if a username is available in the current workspace.",
        "operationId": "Identities_IsUsernameAvailable",
        "parameters": [
          {
            "name": "username",
            "in": "path",
            "description": "Username of the client login you want to check.",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/IsUsernameAvailableResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/IsUsernameAvailableResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/IsUsernameAvailableResponse"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-zuplo-route": {
          "corsPolicy": "anything-goes",
          "handler": {
            "export": "urlForwardHandler",
            "module": "$import(@zuplo/runtime)",
            "options": {
              "baseUrl": "${env.CORE_API_BASE_URL}"
            }
          },
          "policies": {
            "inbound": [
              "strip-base-path"
            ]
          }
        }
      }
    },
    "/core-api/identities/external/{externalReference}": {
      "get": {
        "tags": [
          "Identities"
        ],
        "summary": "Fetches a single client login, by external id.",
        "operationId": "Identities_GetByExternalReference",
        "parameters": [
          {
            "name": "externalReference",
            "in": "path",
            "description": "Unique id of the client login to fetch.",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/GetClientLoginResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetClientLoginResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetClientLoginResponse"
                }
              }
            }
          },
          "204": {
            "description": "No content"
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-zuplo-route": {
          "corsPolicy": "anything-goes",
          "handler": {
            "export": "urlForwardHandler",
            "module": "$import(@zuplo/runtime)",
            "options": {
              "baseUrl": "${env.CORE_API_BASE_URL}"
            }
          },
          "policies": {
            "inbound": [
              "strip-base-path"
            ]
          }
        }
      }
    },
    "/core-api/info": {
      "get": {
        "tags": [
          "Info"
        ],
        "summary": "Returns the current API version.",
        "description": "This operation requires no authentication.",
        "operationId": "Info_Version",
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "string"
                }
              },
              "application/json": {
                "schema": {
                  "type": "string"
                }
              },
              "text/json": {
                "schema": {
                  "type": "string"
                }
              }
            }
          }
        },
        "x-zuplo-route": {
          "corsPolicy": "anything-goes",
          "handler": {
            "export": "urlForwardHandler",
            "module": "$import(@zuplo/runtime)",
            "options": {
              "baseUrl": "${env.CORE_API_BASE_URL}"
            }
          },
          "policies": {
            "inbound": [
              "strip-base-path"
            ]
          }
        }
      }
    },
    "/core-api/info/time": {
      "get": {
        "tags": [
          "Info"
        ],
        "summary": "Returns the current API version incl. the timestamp of the server,\non its current timezone settings.",
        "operationId": "Info_Time",
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "string"
                }
              },
              "application/json": {
                "schema": {
                  "type": "string"
                }
              },
              "text/json": {
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-zuplo-route": {
          "corsPolicy": "anything-goes",
          "handler": {
            "export": "urlForwardHandler",
            "module": "$import(@zuplo/runtime)",
            "options": {
              "baseUrl": "${env.CORE_API_BASE_URL}"
            }
          },
          "policies": {
            "inbound": [
              "strip-base-path"
            ]
          }
        }
      }
    },
    "/core-api/internationalization/languages/available": {
      "get": {
        "tags": [
          "Languages"
        ],
        "operationId": "Languages_GetAvailableLanguages",
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/GetAvailableLanguagesResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetAvailableLanguagesResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetAvailableLanguagesResponse"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-zuplo-route": {
          "corsPolicy": "anything-goes",
          "handler": {
            "export": "urlForwardHandler",
            "module": "$import(@zuplo/runtime)",
            "options": {
              "baseUrl": "${env.CORE_API_BASE_URL}"
            }
          },
          "policies": {
            "inbound": [
              "strip-base-path"
            ]
          }
        }
      }
    },
    "/core-api/internationalization/languages/supported": {
      "get": {
        "tags": [
          "Languages"
        ],
        "operationId": "Languages_GetSupportedLanguages",
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/GetSupportedLanguagesResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetSupportedLanguagesResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetSupportedLanguagesResponse"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-zuplo-route": {
          "corsPolicy": "anything-goes",
          "handler": {
            "export": "urlForwardHandler",
            "module": "$import(@zuplo/runtime)",
            "options": {
              "baseUrl": "${env.CORE_API_BASE_URL}"
            }
          },
          "policies": {
            "inbound": [
              "strip-base-path"
            ]
          }
        }
      },
      "post": {
        "tags": [
          "Languages"
        ],
        "operationId": "Languages_AddSupportedLanguage",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/AddSupportedLanguageRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/AddSupportedLanguageRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/AddSupportedLanguageRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/AddSupportedLanguageResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AddSupportedLanguageResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/AddSupportedLanguageResponse"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-zuplo-route": {
          "corsPolicy": "anything-goes",
          "handler": {
            "export": "urlForwardHandler",
            "module": "$import(@zuplo/runtime)",
            "options": {
              "baseUrl": "${env.CORE_API_BASE_URL}"
            }
          },
          "policies": {
            "inbound": [
              "strip-base-path"
            ]
          }
        }
      },
      "delete": {
        "tags": [
          "Languages"
        ],
        "operationId": "Languages_RemoveSupportedLanguage",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/RemoveSupportedLanguageRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/RemoveSupportedLanguageRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/RemoveSupportedLanguageRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK"
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-zuplo-route": {
          "corsPolicy": "anything-goes",
          "handler": {
            "export": "urlForwardHandler",
            "module": "$import(@zuplo/runtime)",
            "options": {
              "baseUrl": "${env.CORE_API_BASE_URL}"
            }
          },
          "policies": {
            "inbound": [
              "strip-base-path"
            ]
          }
        }
      }
    },
    "/core-api/inventory/locations": {
      "get": {
        "tags": [
          "Locations"
        ],
        "summary": "Fetches a collection of all locations, for the provided workspace",
        "operationId": "Locations_List",
        "parameters": [
          {
            "name": "Take",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "Skip",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "SortOrder",
            "in": "query",
            "schema": {
              "$ref": "#/components/schemas/SortDirection"
            }
          },
          {
            "name": "SortBy",
            "in": "query",
            "schema": {
              "$ref": "#/components/schemas/LocationSorting"
            }
          },
          {
            "name": "Query",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "ids",
            "in": "query",
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          },
          {
            "name": "external_references",
            "in": "query",
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          },
          {
            "name": "is_warehouse",
            "in": "query",
            "schema": {
              "type": "boolean"
            }
          },
          {
            "name": "is_pickup_location",
            "in": "query",
            "schema": {
              "type": "boolean"
            }
          },
          {
            "name": "is_stock_location",
            "in": "query",
            "schema": {
              "type": "boolean"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/GetLocationsResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetLocationsResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetLocationsResponse"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-zuplo-route": {
          "corsPolicy": "anything-goes",
          "handler": {
            "export": "urlForwardHandler",
            "module": "$import(@zuplo/runtime)",
            "options": {
              "baseUrl": "${env.CORE_API_BASE_URL}"
            }
          },
          "policies": {
            "inbound": [
              "strip-base-path"
            ]
          }
        }
      },
      "post": {
        "tags": [
          "Locations"
        ],
        "summary": "Creates and stores a new location.",
        "description": "On success, returns the newly created entity in the response.",
        "operationId": "Locations_Create",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateLocationRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateLocationRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/CreateLocationRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/GetLocationResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetLocationResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetLocationResponse"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-zuplo-route": {
          "corsPolicy": "anything-goes",
          "handler": {
            "export": "urlForwardHandler",
            "module": "$import(@zuplo/runtime)",
            "options": {
              "baseUrl": "${env.CORE_API_BASE_URL}"
            }
          },
          "policies": {
            "inbound": [
              "strip-base-path"
            ]
          }
        }
      }
    },
    "/core-api/inventory/locations/{id}": {
      "get": {
        "tags": [
          "Locations"
        ],
        "summary": "Fetches a single location, by id.",
        "operationId": "Locations_GetById",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "Unique id of the location to fetch.",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/GetLocationResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetLocationResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetLocationResponse"
                }
              }
            }
          },
          "204": {
            "description": "No content"
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-zuplo-route": {
          "corsPolicy": "anything-goes",
          "handler": {
            "export": "urlForwardHandler",
            "module": "$import(@zuplo/runtime)",
            "options": {
              "baseUrl": "${env.CORE_API_BASE_URL}"
            }
          },
          "policies": {
            "inbound": [
              "strip-base-path"
            ]
          }
        }
      },
      "put": {
        "tags": [
          "Locations"
        ],
        "summary": "Updates an existing location, replacing it entirely.",
        "description": "On success, returns the updated entity in the response.",
        "operationId": "Locations_Update",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateLocationRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateLocationRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateLocationRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/GetLocationResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetLocationResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetLocationResponse"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-zuplo-route": {
          "corsPolicy": "anything-goes",
          "handler": {
            "export": "urlForwardHandler",
            "module": "$import(@zuplo/runtime)",
            "options": {
              "baseUrl": "${env.CORE_API_BASE_URL}"
            }
          },
          "policies": {
            "inbound": [
              "strip-base-path"
            ]
          }
        }
      },
      "delete": {
        "tags": [
          "Locations"
        ],
        "summary": "Deletes an existing location, by id.",
        "operationId": "Locations_Delete",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "Unique id of the location to delete.",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-zuplo-route": {
          "corsPolicy": "anything-goes",
          "handler": {
            "export": "urlForwardHandler",
            "module": "$import(@zuplo/runtime)",
            "options": {
              "baseUrl": "${env.CORE_API_BASE_URL}"
            }
          },
          "policies": {
            "inbound": [
              "strip-base-path"
            ]
          }
        }
      }
    },
    "/core-api/inventory/locations/images": {
      "post": {
        "tags": [
          "Locations"
        ],
        "summary": "Upload file to the cdn for locations, images have to be added to the locations afterwards",
        "operationId": "Locations_UploadImages",
        "requestBody": {
          "content": {
            "multipart/form-data": {
              "schema": {
                "type": "object",
                "properties": {
                  "images": {
                    "type": "array",
                    "items": {
                      "type": "string",
                      "format": "binary"
                    },
                    "description": "The images to upload"
                  }
                }
              },
              "encoding": {
                "images": {
                  "style": "form"
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/UploadBlobResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/UploadBlobResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/UploadBlobResponse"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-zuplo-route": {
          "corsPolicy": "anything-goes",
          "handler": {
            "export": "urlForwardHandler",
            "module": "$import(@zuplo/runtime)",
            "options": {
              "baseUrl": "${env.CORE_API_BASE_URL}"
            }
          },
          "policies": {
            "inbound": [
              "strip-base-path"
            ]
          }
        }
      }
    },
    "/core-api/pipelines/{id}": {
      "get": {
        "tags": [
          "Pipelines"
        ],
        "summary": "Fetches a single Pipeline, by id.",
        "operationId": "Pipelines_GetById",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "Unique id of the Pipeline to fetch.",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/GetPipelineResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetPipelineResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetPipelineResponse"
                }
              }
            }
          },
          "204": {
            "description": "No content"
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-zuplo-route": {
          "corsPolicy": "anything-goes",
          "handler": {
            "export": "urlForwardHandler",
            "module": "$import(@zuplo/runtime)",
            "options": {
              "baseUrl": "${env.CORE_API_BASE_URL}"
            }
          },
          "policies": {
            "inbound": [
              "strip-base-path"
            ]
          }
        }
      },
      "put": {
        "tags": [
          "Pipelines"
        ],
        "summary": "Updates an existing Pipeline, replacing it entirely.",
        "description": "On success, returns the updated entity in the response.",
        "operationId": "Pipelines_Update",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdatePipelineRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdatePipelineRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/UpdatePipelineRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/GetPipelineResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetPipelineResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetPipelineResponse"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-zuplo-route": {
          "corsPolicy": "anything-goes",
          "handler": {
            "export": "urlForwardHandler",
            "module": "$import(@zuplo/runtime)",
            "options": {
              "baseUrl": "${env.CORE_API_BASE_URL}"
            }
          },
          "policies": {
            "inbound": [
              "strip-base-path"
            ]
          }
        }
      },
      "delete": {
        "tags": [
          "Pipelines"
        ],
        "summary": "Deletes an existing Pipeline, by id.",
        "operationId": "Pipelines_Delete",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "Unique id of the Pipeline to delete.",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-zuplo-route": {
          "corsPolicy": "anything-goes",
          "handler": {
            "export": "urlForwardHandler",
            "module": "$import(@zuplo/runtime)",
            "options": {
              "baseUrl": "${env.CORE_API_BASE_URL}"
            }
          },
          "policies": {
            "inbound": [
              "strip-base-path"
            ]
          }
        }
      }
    },
    "/core-api/pipelines": {
      "get": {
        "tags": [
          "Pipelines"
        ],
        "summary": "Searches Pipelines based on specific property values.",
        "operationId": "Pipelines_List",
        "parameters": [
          {
            "name": "Take",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "Skip",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "SortOrder",
            "in": "query",
            "schema": {
              "$ref": "#/components/schemas/SortDirection"
            }
          },
          {
            "name": "SortBy",
            "in": "query",
            "schema": {
              "$ref": "#/components/schemas/PipelineSorting"
            }
          },
          {
            "name": "Query",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "ids",
            "in": "query",
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          },
          {
            "name": "external_references",
            "in": "query",
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/GetPipelinesResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetPipelinesResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetPipelinesResponse"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-zuplo-route": {
          "corsPolicy": "anything-goes",
          "handler": {
            "export": "urlForwardHandler",
            "module": "$import(@zuplo/runtime)",
            "options": {
              "baseUrl": "${env.CORE_API_BASE_URL}"
            }
          },
          "policies": {
            "inbound": [
              "strip-base-path"
            ]
          }
        }
      },
      "post": {
        "tags": [
          "Pipelines"
        ],
        "summary": "Creates and stores a new Pipeline.",
        "description": "On success, returns the newly created entity in the response.",
        "operationId": "Pipelines_Create",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreatePipelineRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/CreatePipelineRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/CreatePipelineRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/GetPipelineResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetPipelineResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetPipelineResponse"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-zuplo-route": {
          "corsPolicy": "anything-goes",
          "handler": {
            "export": "urlForwardHandler",
            "module": "$import(@zuplo/runtime)",
            "options": {
              "baseUrl": "${env.CORE_API_BASE_URL}"
            }
          },
          "policies": {
            "inbound": [
              "strip-base-path"
            ]
          }
        }
      }
    },
    "/core-api/pipelines/{id}/statistics": {
      "get": {
        "tags": [
          "Pipelines"
        ],
        "operationId": "Pipelines_Statistics",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/GetPipelineStatisticsResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetPipelineStatisticsResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetPipelineStatisticsResponse"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-zuplo-route": {
          "corsPolicy": "anything-goes",
          "handler": {
            "export": "urlForwardHandler",
            "module": "$import(@zuplo/runtime)",
            "options": {
              "baseUrl": "${env.CORE_API_BASE_URL}"
            }
          },
          "policies": {
            "inbound": [
              "strip-base-path"
            ]
          }
        }
      }
    },
    "/core-api/catalog/products/attributes": {
      "get": {
        "tags": [
          "ProductAttributes"
        ],
        "summary": "Fetches a collection of all product attributes, for the provided workspace",
        "operationId": "ProductAttributes_List",
        "parameters": [
          {
            "name": "Take",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "Skip",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "SortOrder",
            "in": "query",
            "schema": {
              "$ref": "#/components/schemas/SortDirection"
            }
          },
          {
            "name": "SortBy",
            "in": "query",
            "schema": {
              "$ref": "#/components/schemas/ProductAttributeSorting"
            }
          },
          {
            "name": "Query",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "ids",
            "in": "query",
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          },
          {
            "name": "external_references",
            "in": "query",
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/GetProductAttributesResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetProductAttributesResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetProductAttributesResponse"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-zuplo-route": {
          "corsPolicy": "anything-goes",
          "handler": {
            "export": "urlForwardHandler",
            "module": "$import(@zuplo/runtime)",
            "options": {
              "baseUrl": "${env.CORE_API_BASE_URL}"
            }
          },
          "policies": {
            "inbound": [
              "strip-base-path"
            ]
          }
        }
      },
      "post": {
        "tags": [
          "ProductAttributes"
        ],
        "summary": "Creates and stores a new product attribute.",
        "description": "On success, returns the newly created entity in the response.",
        "operationId": "ProductAttributes_Create",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateProductAttributeRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateProductAttributeRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/CreateProductAttributeRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/GetProductAttributeResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetProductAttributeResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetProductAttributeResponse"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-zuplo-route": {
          "corsPolicy": "anything-goes",
          "handler": {
            "export": "urlForwardHandler",
            "module": "$import(@zuplo/runtime)",
            "options": {
              "baseUrl": "${env.CORE_API_BASE_URL}"
            }
          },
          "policies": {
            "inbound": [
              "strip-base-path"
            ]
          }
        }
      }
    },
    "/core-api/catalog/products/attributes/{id}": {
      "get": {
        "tags": [
          "ProductAttributes"
        ],
        "summary": "Fetches a single product attribute, by id.",
        "operationId": "ProductAttributes_GetById",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "Unique id of the product attribute to fetch.",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/GetProductAttributeResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetProductAttributeResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetProductAttributeResponse"
                }
              }
            }
          },
          "204": {
            "description": "No content"
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-zuplo-route": {
          "corsPolicy": "anything-goes",
          "handler": {
            "export": "urlForwardHandler",
            "module": "$import(@zuplo/runtime)",
            "options": {
              "baseUrl": "${env.CORE_API_BASE_URL}"
            }
          },
          "policies": {
            "inbound": [
              "strip-base-path"
            ]
          }
        }
      },
      "put": {
        "tags": [
          "ProductAttributes"
        ],
        "summary": "Updates an existing product attribute, replacing it entirely.",
        "description": "On success, returns the updated entity in the response.",
        "operationId": "ProductAttributes_Update",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateProductAttributeRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateProductAttributeRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateProductAttributeRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/GetProductAttributeResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetProductAttributeResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetProductAttributeResponse"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-zuplo-route": {
          "corsPolicy": "anything-goes",
          "handler": {
            "export": "urlForwardHandler",
            "module": "$import(@zuplo/runtime)",
            "options": {
              "baseUrl": "${env.CORE_API_BASE_URL}"
            }
          },
          "policies": {
            "inbound": [
              "strip-base-path"
            ]
          }
        }
      },
      "delete": {
        "tags": [
          "ProductAttributes"
        ],
        "summary": "Deletes an existing product attribute, by id.",
        "operationId": "ProductAttributes_Delete",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "Unique id of the product attribute to delete.",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-zuplo-route": {
          "corsPolicy": "anything-goes",
          "handler": {
            "export": "urlForwardHandler",
            "module": "$import(@zuplo/runtime)",
            "options": {
              "baseUrl": "${env.CORE_API_BASE_URL}"
            }
          },
          "policies": {
            "inbound": [
              "strip-base-path"
            ]
          }
        }
      }
    },
    "/core-api/catalog/productcategories": {
      "get": {
        "tags": [
          "ProductCategories"
        ],
        "summary": "Fetches a collection of all product categories, for the provided workspace",
        "operationId": "ProductCategories_List",
        "parameters": [
          {
            "name": "Take",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "Skip",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "SortOrder",
            "in": "query",
            "schema": {
              "$ref": "#/components/schemas/SortDirection"
            }
          },
          {
            "name": "SortBy",
            "in": "query",
            "schema": {
              "$ref": "#/components/schemas/ProductCategorySorting"
            }
          },
          {
            "name": "Query",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "ids",
            "in": "query",
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          },
          {
            "name": "external_references",
            "in": "query",
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          },
          {
            "name": "parent_ids",
            "in": "query",
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          },
          {
            "name": "visibility_show_in_menu",
            "in": "query",
            "schema": {
              "type": "boolean"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/GetProductCategoriesResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetProductCategoriesResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetProductCategoriesResponse"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-zuplo-route": {
          "corsPolicy": "anything-goes",
          "handler": {
            "export": "urlForwardHandler",
            "module": "$import(@zuplo/runtime)",
            "options": {
              "baseUrl": "${env.CORE_API_BASE_URL}"
            }
          },
          "policies": {
            "inbound": [
              "strip-base-path"
            ]
          }
        }
      },
      "post": {
        "tags": [
          "ProductCategories"
        ],
        "summary": "Creates and stores a new product category.",
        "description": "On success, returns the newly created entity in the response.",
        "operationId": "ProductCategories_Create",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateProductCategoryRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateProductCategoryRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/CreateProductCategoryRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/GetProductCategoryResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetProductCategoryResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetProductCategoryResponse"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-zuplo-route": {
          "corsPolicy": "anything-goes",
          "handler": {
            "export": "urlForwardHandler",
            "module": "$import(@zuplo/runtime)",
            "options": {
              "baseUrl": "${env.CORE_API_BASE_URL}"
            }
          },
          "policies": {
            "inbound": [
              "strip-base-path"
            ]
          }
        }
      }
    },
    "/core-api/catalog/productcategories/hierarchy": {
      "get": {
        "tags": [
          "ProductCategories"
        ],
        "summary": "Fetches a hierarchy of all product categories, for the provided workspace",
        "operationId": "ProductCategories_GetHierarchy",
        "parameters": [
          {
            "name": "sort_order",
            "in": "query",
            "schema": {
              "$ref": "#/components/schemas/SortDirection"
            }
          },
          {
            "name": "sort_by",
            "in": "query",
            "schema": {
              "$ref": "#/components/schemas/ProductCategorySorting"
            }
          },
          {
            "name": "show_in_menu",
            "in": "query",
            "schema": {
              "type": "boolean"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/GetProductCategoriesHierarchyResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetProductCategoriesHierarchyResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetProductCategoriesHierarchyResponse"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-zuplo-route": {
          "corsPolicy": "anything-goes",
          "handler": {
            "export": "urlForwardHandler",
            "module": "$import(@zuplo/runtime)",
            "options": {
              "baseUrl": "${env.CORE_API_BASE_URL}"
            }
          },
          "policies": {
            "inbound": [
              "strip-base-path"
            ]
          }
        }
      }
    },
    "/core-api/catalog/productcategories/{id}": {
      "get": {
        "tags": [
          "ProductCategories"
        ],
        "summary": "Fetches a single product category, by id.",
        "operationId": "ProductCategories_GetById",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "Unique id of the product category to fetch.",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/GetProductCategoryResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetProductCategoryResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetProductCategoryResponse"
                }
              }
            }
          },
          "204": {
            "description": "No content"
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-zuplo-route": {
          "corsPolicy": "anything-goes",
          "handler": {
            "export": "urlForwardHandler",
            "module": "$import(@zuplo/runtime)",
            "options": {
              "baseUrl": "${env.CORE_API_BASE_URL}"
            }
          },
          "policies": {
            "inbound": [
              "strip-base-path"
            ]
          }
        }
      },
      "put": {
        "tags": [
          "ProductCategories"
        ],
        "summary": "Updates an existing product category, replacing it entirely.",
        "description": "On success, returns the updated entity in the response.",
        "operationId": "ProductCategories_Update",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateProductCategoryRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateProductCategoryRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateProductCategoryRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/GetProductCategoryResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetProductCategoryResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetProductCategoryResponse"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-zuplo-route": {
          "corsPolicy": "anything-goes",
          "handler": {
            "export": "urlForwardHandler",
            "module": "$import(@zuplo/runtime)",
            "options": {
              "baseUrl": "${env.CORE_API_BASE_URL}"
            }
          },
          "policies": {
            "inbound": [
              "strip-base-path"
            ]
          }
        }
      },
      "delete": {
        "tags": [
          "ProductCategories"
        ],
        "summary": "Deletes an existing product category, by id.",
        "operationId": "ProductCategories_Delete",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "Unique id of the product category to delete.",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-zuplo-route": {
          "corsPolicy": "anything-goes",
          "handler": {
            "export": "urlForwardHandler",
            "module": "$import(@zuplo/runtime)",
            "options": {
              "baseUrl": "${env.CORE_API_BASE_URL}"
            }
          },
          "policies": {
            "inbound": [
              "strip-base-path"
            ]
          }
        }
      }
    },
    "/core-api/catalog/productcategories/slug/{slug}": {
      "get": {
        "tags": [
          "ProductCategories"
        ],
        "summary": "Fetches a single product category, by slug.",
        "operationId": "ProductCategories_GetBySlug",
        "parameters": [
          {
            "name": "slug",
            "in": "path",
            "description": "Slug of the product category to fetch.",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/GetProductCategoryResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetProductCategoryResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetProductCategoryResponse"
                }
              }
            }
          },
          "204": {
            "description": "No content"
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-zuplo-route": {
          "corsPolicy": "anything-goes",
          "handler": {
            "export": "urlForwardHandler",
            "module": "$import(@zuplo/runtime)",
            "options": {
              "baseUrl": "${env.CORE_API_BASE_URL}"
            }
          },
          "policies": {
            "inbound": [
              "strip-base-path"
            ]
          }
        }
      }
    },
    "/core-api/catalog/productcategories/images": {
      "post": {
        "tags": [
          "ProductCategories"
        ],
        "summary": "Upload file to the cdn for product categories, images have to be added to the product categories afterwards",
        "operationId": "ProductCategories_UploadImages",
        "requestBody": {
          "content": {
            "multipart/form-data": {
              "schema": {
                "type": "object",
                "properties": {
                  "images": {
                    "type": "array",
                    "items": {
                      "type": "string",
                      "format": "binary"
                    },
                    "description": "The images to upload"
                  }
                }
              },
              "encoding": {
                "images": {
                  "style": "form"
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/UploadBlobResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/UploadBlobResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/UploadBlobResponse"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-zuplo-route": {
          "corsPolicy": "anything-goes",
          "handler": {
            "export": "urlForwardHandler",
            "module": "$import(@zuplo/runtime)",
            "options": {
              "baseUrl": "${env.CORE_API_BASE_URL}"
            }
          },
          "policies": {
            "inbound": [
              "strip-base-path"
            ]
          }
        }
      }
    },
    "/core-api/catalog/productcategories/content/{id}": {
      "get": {
        "tags": [
          "ProductCategoryDisplayContent"
        ],
        "summary": "Fetches a single product display content, by id.",
        "operationId": "ProductCategoryDisplayContent_GetById",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "Unique id of the product display content to fetch.",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/GetProductCategoryDisplayContentResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetProductCategoryDisplayContentResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetProductCategoryDisplayContentResponse"
                }
              }
            }
          },
          "204": {
            "description": "No content"
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-zuplo-route": {
          "corsPolicy": "anything-goes",
          "handler": {
            "export": "urlForwardHandler",
            "module": "$import(@zuplo/runtime)",
            "options": {
              "baseUrl": "${env.CORE_API_BASE_URL}"
            }
          },
          "policies": {
            "inbound": [
              "strip-base-path"
            ]
          }
        }
      },
      "put": {
        "tags": [
          "ProductCategoryDisplayContent"
        ],
        "summary": "Updates an existing product display content, replacing it entirely.",
        "description": "On success, returns the updated entity in the response.",
        "operationId": "ProductCategoryDisplayContent_Update",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateProductCategoryDisplayContentRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateProductCategoryDisplayContentRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateProductCategoryDisplayContentRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/GetProductCategoryDisplayContentResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetProductCategoryDisplayContentResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetProductCategoryDisplayContentResponse"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-zuplo-route": {
          "corsPolicy": "anything-goes",
          "handler": {
            "export": "urlForwardHandler",
            "module": "$import(@zuplo/runtime)",
            "options": {
              "baseUrl": "${env.CORE_API_BASE_URL}"
            }
          },
          "policies": {
            "inbound": [
              "strip-base-path"
            ]
          }
        }
      },
      "delete": {
        "tags": [
          "ProductCategoryDisplayContent"
        ],
        "summary": "Deletes an existing product display content, by id.",
        "operationId": "ProductCategoryDisplayContent_Delete",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "Unique id of the product display content to delete.",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-zuplo-route": {
          "corsPolicy": "anything-goes",
          "handler": {
            "export": "urlForwardHandler",
            "module": "$import(@zuplo/runtime)",
            "options": {
              "baseUrl": "${env.CORE_API_BASE_URL}"
            }
          },
          "policies": {
            "inbound": [
              "strip-base-path"
            ]
          }
        }
      }
    },
    "/core-api/catalog/productcategories/content": {
      "get": {
        "tags": [
          "ProductCategoryDisplayContent"
        ],
        "summary": "Fetches a list of product display contents.",
        "operationId": "ProductCategoryDisplayContent_List",
        "parameters": [
          {
            "name": "Take",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "Skip",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "SortOrder",
            "in": "query",
            "schema": {
              "$ref": "#/components/schemas/SortDirection"
            }
          },
          {
            "name": "SortBy",
            "in": "query",
            "schema": {
              "$ref": "#/components/schemas/ProductCategoryDisplayContentSorting"
            }
          },
          {
            "name": "Query",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "ids",
            "in": "query",
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          },
          {
            "name": "external_references",
            "in": "query",
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          },
          {
            "name": "languages",
            "in": "query",
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          },
          {
            "name": "product_category_ids",
            "in": "query",
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/GetProductCategoryDisplayContentsResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetProductCategoryDisplayContentsResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetProductCategoryDisplayContentsResponse"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-zuplo-route": {
          "corsPolicy": "anything-goes",
          "handler": {
            "export": "urlForwardHandler",
            "module": "$import(@zuplo/runtime)",
            "options": {
              "baseUrl": "${env.CORE_API_BASE_URL}"
            }
          },
          "policies": {
            "inbound": [
              "strip-base-path"
            ]
          }
        }
      },
      "post": {
        "tags": [
          "ProductCategoryDisplayContent"
        ],
        "summary": "Creates and stores a new product display content.",
        "description": "On success, returns the newly created entity in the response.",
        "operationId": "ProductCategoryDisplayContent_Create",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateProductCategoryDisplayContentRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateProductCategoryDisplayContentRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/CreateProductCategoryDisplayContentRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/GetProductCategoryDisplayContentResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetProductCategoryDisplayContentResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetProductCategoryDisplayContentResponse"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-zuplo-route": {
          "corsPolicy": "anything-goes",
          "handler": {
            "export": "urlForwardHandler",
            "module": "$import(@zuplo/runtime)",
            "options": {
              "baseUrl": "${env.CORE_API_BASE_URL}"
            }
          },
          "policies": {
            "inbound": [
              "strip-base-path"
            ]
          }
        }
      }
    },
    "/core-api/catalog/products/content/{id}": {
      "get": {
        "tags": [
          "ProductDisplayContents"
        ],
        "summary": "Fetches a single product display content, by id.",
        "operationId": "ProductDisplayContents_GetById",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "Unique id of the product display content to fetch.",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/GetProductDisplayContentResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetProductDisplayContentResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetProductDisplayContentResponse"
                }
              }
            }
          },
          "204": {
            "description": "No content"
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-zuplo-route": {
          "corsPolicy": "anything-goes",
          "handler": {
            "export": "urlForwardHandler",
            "module": "$import(@zuplo/runtime)",
            "options": {
              "baseUrl": "${env.CORE_API_BASE_URL}"
            }
          },
          "policies": {
            "inbound": [
              "strip-base-path"
            ]
          }
        }
      },
      "put": {
        "tags": [
          "ProductDisplayContents"
        ],
        "summary": "Updates an existing product display content, replacing it entirely.",
        "description": "On success, returns the updated entity in the response.",
        "operationId": "ProductDisplayContents_Update",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateProductDisplayContentRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateProductDisplayContentRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateProductDisplayContentRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/GetProductDisplayContentResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetProductDisplayContentResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetProductDisplayContentResponse"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-zuplo-route": {
          "corsPolicy": "anything-goes",
          "handler": {
            "export": "urlForwardHandler",
            "module": "$import(@zuplo/runtime)",
            "options": {
              "baseUrl": "${env.CORE_API_BASE_URL}"
            }
          },
          "policies": {
            "inbound": [
              "strip-base-path"
            ]
          }
        }
      },
      "delete": {
        "tags": [
          "ProductDisplayContents"
        ],
        "summary": "Deletes an existing product display content, by id.",
        "operationId": "ProductDisplayContents_DeleteProductDisplayContent",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "Unique id of the product display content to delete.",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-zuplo-route": {
          "corsPolicy": "anything-goes",
          "handler": {
            "export": "urlForwardHandler",
            "module": "$import(@zuplo/runtime)",
            "options": {
              "baseUrl": "${env.CORE_API_BASE_URL}"
            }
          },
          "policies": {
            "inbound": [
              "strip-base-path"
            ]
          }
        }
      }
    },
    "/core-api/catalog/products/content": {
      "get": {
        "tags": [
          "ProductDisplayContents"
        ],
        "summary": "Fetches a list of product display contents.",
        "operationId": "ProductDisplayContents_List",
        "parameters": [
          {
            "name": "Take",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "Skip",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "SortOrder",
            "in": "query",
            "schema": {
              "$ref": "#/components/schemas/SortDirection"
            }
          },
          {
            "name": "SortBy",
            "in": "query",
            "schema": {
              "$ref": "#/components/schemas/ProductDisplayContentSorting"
            }
          },
          {
            "name": "Query",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "ids",
            "in": "query",
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          },
          {
            "name": "external_references",
            "in": "query",
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          },
          {
            "name": "languages",
            "in": "query",
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          },
          {
            "name": "product_ids",
            "in": "query",
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/GetProductDisplayContentsResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetProductDisplayContentsResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetProductDisplayContentsResponse"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-zuplo-route": {
          "corsPolicy": "anything-goes",
          "handler": {
            "export": "urlForwardHandler",
            "module": "$import(@zuplo/runtime)",
            "options": {
              "baseUrl": "${env.CORE_API_BASE_URL}"
            }
          },
          "policies": {
            "inbound": [
              "strip-base-path"
            ]
          }
        }
      },
      "post": {
        "tags": [
          "ProductDisplayContents"
        ],
        "summary": "Creates and stores a new product display content.",
        "description": "On success, returns the newly created entity in the response.",
        "operationId": "ProductDisplayContents_Create",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateProductDisplayContentRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateProductDisplayContentRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/CreateProductDisplayContentRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/GetProductDisplayContentResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetProductDisplayContentResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetProductDisplayContentResponse"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-zuplo-route": {
          "corsPolicy": "anything-goes",
          "handler": {
            "export": "urlForwardHandler",
            "module": "$import(@zuplo/runtime)",
            "options": {
              "baseUrl": "${env.CORE_API_BASE_URL}"
            }
          },
          "policies": {
            "inbound": [
              "strip-base-path"
            ]
          }
        }
      }
    },
    "/core-api/catalog/products/content/translate/missing": {
      "post": {
        "tags": [
          "ProductDisplayContents"
        ],
        "operationId": "ProductDisplayContents_TranslateMissingProductDisplayContents",
        "responses": {
          "200": {
            "description": "OK"
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-zuplo-route": {
          "corsPolicy": "anything-goes",
          "handler": {
            "export": "urlForwardHandler",
            "module": "$import(@zuplo/runtime)",
            "options": {
              "baseUrl": "${env.CORE_API_BASE_URL}"
            }
          },
          "policies": {
            "inbound": [
              "strip-base-path"
            ]
          }
        }
      }
    },
    "/core-api/catalog/products/filters": {
      "put": {
        "tags": [
          "ProductFilters"
        ],
        "summary": "Updates a collection of product filters",
        "operationId": "ProductFilters_Update",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/UpdateProductFilterRequest"
                }
              }
            },
            "text/json": {
              "schema": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/UpdateProductFilterRequest"
                }
              }
            },
            "application/*+json": {
              "schema": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/UpdateProductFilterRequest"
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/UpdateProductFiltersResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/UpdateProductFiltersResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/UpdateProductFiltersResponse"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-zuplo-route": {
          "corsPolicy": "anything-goes",
          "handler": {
            "export": "urlForwardHandler",
            "module": "$import(@zuplo/runtime)",
            "options": {
              "baseUrl": "${env.CORE_API_BASE_URL}"
            }
          },
          "policies": {
            "inbound": [
              "strip-base-path"
            ]
          }
        }
      },
      "post": {
        "tags": [
          "ProductFilters"
        ],
        "summary": "Get product filters, this method uses a POST instead of GET because of https://github.com/heartwork/roadmap/issues/690",
        "operationId": "ProductFilters_List",
        "requestBody": {
          "description": "Request with active filters",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/GetProductFiltersRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/GetProductFiltersRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/GetProductFiltersRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/GetProductFiltersResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetProductFiltersResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetProductFiltersResponse"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-zuplo-route": {
          "corsPolicy": "anything-goes",
          "handler": {
            "export": "urlForwardHandler",
            "module": "$import(@zuplo/runtime)",
            "options": {
              "baseUrl": "${env.CORE_API_BASE_URL}"
            }
          },
          "policies": {
            "inbound": [
              "strip-base-path"
            ]
          }
        }
      }
    },
    "/core-api/catalog/products/issues": {
      "get": {
        "tags": [
          "ProductIssues"
        ],
        "summary": "Fetches a collection of all product issues",
        "operationId": "ProductIssues_GetAll",
        "parameters": [
          {
            "name": "take",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "skip",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "productIds",
            "in": "query",
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          },
          {
            "name": "categoryIds",
            "in": "query",
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          },
          {
            "name": "IsIgnored",
            "in": "query",
            "schema": {
              "type": "boolean"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/GetProductIssuesResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetProductIssuesResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetProductIssuesResponse"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-zuplo-route": {
          "corsPolicy": "anything-goes",
          "handler": {
            "export": "urlForwardHandler",
            "module": "$import(@zuplo/runtime)",
            "options": {
              "baseUrl": "${env.CORE_API_BASE_URL}"
            }
          },
          "policies": {
            "inbound": [
              "strip-base-path"
            ]
          }
        }
      },
      "put": {
        "tags": [
          "ProductIssues"
        ],
        "summary": "Update a product issue for ignored values",
        "operationId": "ProductIssues_Update",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateProductIssueRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateProductIssueRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateProductIssueRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/GetProductIssueResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetProductIssueResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetProductIssueResponse"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-zuplo-route": {
          "corsPolicy": "anything-goes",
          "handler": {
            "export": "urlForwardHandler",
            "module": "$import(@zuplo/runtime)",
            "options": {
              "baseUrl": "${env.CORE_API_BASE_URL}"
            }
          },
          "policies": {
            "inbound": [
              "strip-base-path"
            ]
          }
        }
      }
    },
    "/core-api/catalog/products/issues/statistics": {
      "get": {
        "tags": [
          "ProductIssues"
        ],
        "summary": "Fetches product issue statistics for provided categories",
        "operationId": "ProductIssues_GetStatistics",
        "parameters": [
          {
            "name": "CategoryIds",
            "in": "query",
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/GetProductIssueStatisticsResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetProductIssueStatisticsResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetProductIssueStatisticsResponse"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-zuplo-route": {
          "corsPolicy": "anything-goes",
          "handler": {
            "export": "urlForwardHandler",
            "module": "$import(@zuplo/runtime)",
            "options": {
              "baseUrl": "${env.CORE_API_BASE_URL}"
            }
          },
          "policies": {
            "inbound": [
              "strip-base-path"
            ]
          }
        }
      }
    },
    "/core-api/catalog/productmanufacturers": {
      "get": {
        "tags": [
          "ProductManufacturers"
        ],
        "summary": "Fetches a collection of product manufacturers, optionally filtered by search criteria.",
        "operationId": "ProductManufacturers_List",
        "parameters": [
          {
            "name": "Take",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "Skip",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "SortOrder",
            "in": "query",
            "schema": {
              "$ref": "#/components/schemas/SortDirection"
            }
          },
          {
            "name": "SortBy",
            "in": "query",
            "schema": {
              "$ref": "#/components/schemas/ProductManufacturerSorting"
            }
          },
          {
            "name": "Query",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "ids",
            "in": "query",
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          },
          {
            "name": "external_references",
            "in": "query",
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/GetProductManufacturersResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetProductManufacturersResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetProductManufacturersResponse"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-zuplo-route": {
          "corsPolicy": "anything-goes",
          "handler": {
            "export": "urlForwardHandler",
            "module": "$import(@zuplo/runtime)",
            "options": {
              "baseUrl": "${env.CORE_API_BASE_URL}"
            }
          },
          "policies": {
            "inbound": [
              "strip-base-path"
            ]
          }
        }
      },
      "post": {
        "tags": [
          "ProductManufacturers"
        ],
        "summary": "Creates and stores a new product manufacturer.",
        "description": "On success, returns the newly created entity in the response.",
        "operationId": "ProductManufacturers_Create",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateProductManufacturerRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateProductManufacturerRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/CreateProductManufacturerRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/GetProductManufacturerResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetProductManufacturerResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetProductManufacturerResponse"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-zuplo-route": {
          "corsPolicy": "anything-goes",
          "handler": {
            "export": "urlForwardHandler",
            "module": "$import(@zuplo/runtime)",
            "options": {
              "baseUrl": "${env.CORE_API_BASE_URL}"
            }
          },
          "policies": {
            "inbound": [
              "strip-base-path"
            ]
          }
        }
      }
    },
    "/core-api/catalog/productmanufacturers/{id}": {
      "get": {
        "tags": [
          "ProductManufacturers"
        ],
        "summary": "Fetches a single product manufacturer, by id.",
        "operationId": "ProductManufacturers_GetById",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "Unique id of the product manufacturer to fetch.",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/GetProductManufacturerResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetProductManufacturerResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetProductManufacturerResponse"
                }
              }
            }
          },
          "204": {
            "description": "No content"
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-zuplo-route": {
          "corsPolicy": "anything-goes",
          "handler": {
            "export": "urlForwardHandler",
            "module": "$import(@zuplo/runtime)",
            "options": {
              "baseUrl": "${env.CORE_API_BASE_URL}"
            }
          },
          "policies": {
            "inbound": [
              "strip-base-path"
            ]
          }
        }
      },
      "put": {
        "tags": [
          "ProductManufacturers"
        ],
        "summary": "Updates an existing product manufacturer, replacing it entirely.",
        "description": "On success, returns the updated entity in the response.",
        "operationId": "ProductManufacturers_Update",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateProductManufacturerRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateProductManufacturerRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateProductManufacturerRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/GetProductManufacturerResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetProductManufacturerResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetProductManufacturerResponse"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-zuplo-route": {
          "corsPolicy": "anything-goes",
          "handler": {
            "export": "urlForwardHandler",
            "module": "$import(@zuplo/runtime)",
            "options": {
              "baseUrl": "${env.CORE_API_BASE_URL}"
            }
          },
          "policies": {
            "inbound": [
              "strip-base-path"
            ]
          }
        }
      },
      "delete": {
        "tags": [
          "ProductManufacturers"
        ],
        "summary": "Deletes an existing product manufacturer, by id.",
        "operationId": "ProductManufacturers_Delete",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "Unique id of the product manufacturer to delete.",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-zuplo-route": {
          "corsPolicy": "anything-goes",
          "handler": {
            "export": "urlForwardHandler",
            "module": "$import(@zuplo/runtime)",
            "options": {
              "baseUrl": "${env.CORE_API_BASE_URL}"
            }
          },
          "policies": {
            "inbound": [
              "strip-base-path"
            ]
          }
        }
      }
    },
    "/core-api/masterdata/products/tags": {
      "get": {
        "tags": [
          "Products"
        ],
        "summary": "Fetches all used product unique tags",
        "operationId": "Products_GetAllTags",
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "array",
                  "items": {
                    "type": "string"
                  }
                }
              },
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "type": "string"
                  }
                }
              },
              "text/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "type": "string"
                  }
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-zuplo-route": {
          "corsPolicy": "anything-goes",
          "handler": {
            "export": "urlForwardHandler",
            "module": "$import(@zuplo/runtime)",
            "options": {
              "baseUrl": "${env.CORE_API_BASE_URL}"
            }
          },
          "policies": {
            "inbound": [
              "strip-base-path"
            ]
          }
        }
      }
    },
    "/core-api/catalog/products/list": {
      "post": {
        "tags": [
          "Products"
        ],
        "summary": "List products based on search/filter values, this method uses a POST instead of GET because of https://github.com/heartwork/roadmap/issues/690",
        "operationId": "Products_List",
        "requestBody": {
          "description": "criteria.",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/GetProductsRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/GetProductsRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/GetProductsRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/GetProductsResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetProductsResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetProductsResponse"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-zuplo-route": {
          "corsPolicy": "anything-goes",
          "handler": {
            "export": "urlForwardHandler",
            "module": "$import(@zuplo/runtime)",
            "options": {
              "baseUrl": "${env.CORE_API_BASE_URL}"
            }
          },
          "policies": {
            "inbound": [
              "strip-base-path"
            ]
          }
        }
      }
    },
    "/core-api/catalog/products/{id}": {
      "get": {
        "tags": [
          "Products"
        ],
        "summary": "Fetches a single product, by id.",
        "operationId": "Products_GetById",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "Unique id of the product to fetch.",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/GetProductResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetProductResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetProductResponse"
                }
              }
            }
          },
          "204": {
            "description": "No content"
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-zuplo-route": {
          "corsPolicy": "anything-goes",
          "handler": {
            "export": "urlForwardHandler",
            "module": "$import(@zuplo/runtime)",
            "options": {
              "baseUrl": "${env.CORE_API_BASE_URL}"
            }
          },
          "policies": {
            "inbound": [
              "strip-base-path"
            ]
          }
        }
      },
      "put": {
        "tags": [
          "Products"
        ],
        "summary": "Updates an existing product, replacing it entirely.",
        "description": "On success, returns the updated entity in the response.",
        "operationId": "Products_Update",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateProductRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateProductRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateProductRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/GetProductResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetProductResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetProductResponse"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-zuplo-route": {
          "corsPolicy": "anything-goes",
          "handler": {
            "export": "urlForwardHandler",
            "module": "$import(@zuplo/runtime)",
            "options": {
              "baseUrl": "${env.CORE_API_BASE_URL}"
            }
          },
          "policies": {
            "inbound": [
              "strip-base-path"
            ]
          }
        }
      },
      "delete": {
        "tags": [
          "Products"
        ],
        "summary": "Deletes an existing product, by id.",
        "operationId": "Products_Delete",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "Unique id of the product to delete.",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-zuplo-route": {
          "corsPolicy": "anything-goes",
          "handler": {
            "export": "urlForwardHandler",
            "module": "$import(@zuplo/runtime)",
            "options": {
              "baseUrl": "${env.CORE_API_BASE_URL}"
            }
          },
          "policies": {
            "inbound": [
              "strip-base-path"
            ]
          }
        }
      }
    },
    "/core-api/catalog/products/bulk": {
      "put": {
        "tags": [
          "Products"
        ],
        "summary": "Updates products in bulk.",
        "operationId": "Products_UpdateBulk",
        "requestBody": {
          "description": "Request with parameters like ids, skus.",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateBulkProductsRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateBulkProductsRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateBulkProductsRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/UpdateBulkProductsResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/UpdateBulkProductsResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/UpdateBulkProductsResponse"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-zuplo-route": {
          "corsPolicy": "anything-goes",
          "handler": {
            "export": "urlForwardHandler",
            "module": "$import(@zuplo/runtime)",
            "options": {
              "baseUrl": "${env.CORE_API_BASE_URL}"
            }
          },
          "policies": {
            "inbound": [
              "strip-base-path"
            ]
          }
        }
      }
    },
    "/core-api/catalog/products/gtin/{gtin}": {
      "get": {
        "tags": [
          "Products"
        ],
        "summary": "Fetches a single product, by gtin.",
        "operationId": "Products_GetByGtin",
        "parameters": [
          {
            "name": "gtin",
            "in": "path",
            "description": "Unique gtin of the product to fetch.",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/GetProductResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetProductResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetProductResponse"
                }
              }
            }
          },
          "204": {
            "description": "No content"
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-zuplo-route": {
          "corsPolicy": "anything-goes",
          "handler": {
            "export": "urlForwardHandler",
            "module": "$import(@zuplo/runtime)",
            "options": {
              "baseUrl": "${env.CORE_API_BASE_URL}"
            }
          },
          "policies": {
            "inbound": [
              "strip-base-path"
            ]
          }
        }
      }
    },
    "/core-api/catalog/products/sku/{sku}": {
      "get": {
        "tags": [
          "Products"
        ],
        "summary": "Fetches a single product, by sku.",
        "operationId": "Products_GetBySku",
        "parameters": [
          {
            "name": "sku",
            "in": "path",
            "description": "Unique sku of the product to fetch.",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/GetProductResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetProductResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetProductResponse"
                }
              }
            }
          },
          "204": {
            "description": "No content"
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-zuplo-route": {
          "corsPolicy": "anything-goes",
          "handler": {
            "export": "urlForwardHandler",
            "module": "$import(@zuplo/runtime)",
            "options": {
              "baseUrl": "${env.CORE_API_BASE_URL}"
            }
          },
          "policies": {
            "inbound": [
              "strip-base-path"
            ]
          }
        }
      }
    },
    "/core-api/catalog/products/barcode/{barcode}": {
      "get": {
        "tags": [
          "Products"
        ],
        "summary": "Fetches a single product, by barcode.",
        "operationId": "Products_GetByBarcode",
        "parameters": [
          {
            "name": "barcode",
            "in": "path",
            "description": "Unique barcode of the product to fetch.",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/GetProductResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetProductResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetProductResponse"
                }
              }
            }
          },
          "204": {
            "description": "No content"
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-zuplo-route": {
          "corsPolicy": "anything-goes",
          "handler": {
            "export": "urlForwardHandler",
            "module": "$import(@zuplo/runtime)",
            "options": {
              "baseUrl": "${env.CORE_API_BASE_URL}"
            }
          },
          "policies": {
            "inbound": [
              "strip-base-path"
            ]
          }
        }
      }
    },
    "/core-api/catalog/products/slug/{slug}": {
      "get": {
        "tags": [
          "Products"
        ],
        "summary": "Fetches a single product, by slug.",
        "operationId": "Products_GetBySlug",
        "parameters": [
          {
            "name": "slug",
            "in": "path",
            "description": "Unique slug of the product to fetch.",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/GetProductResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetProductResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetProductResponse"
                }
              }
            }
          },
          "204": {
            "description": "No content"
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-zuplo-route": {
          "corsPolicy": "anything-goes",
          "handler": {
            "export": "urlForwardHandler",
            "module": "$import(@zuplo/runtime)",
            "options": {
              "baseUrl": "${env.CORE_API_BASE_URL}"
            }
          },
          "policies": {
            "inbound": [
              "strip-base-path"
            ]
          }
        }
      }
    },
    "/core-api/catalog/products": {
      "post": {
        "tags": [
          "Products"
        ],
        "summary": "Creates and stores a new product.",
        "description": "On success, returns the newly created entity in the response.",
        "operationId": "Products_Create",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateProductRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateProductRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/CreateProductRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/GetProductResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetProductResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetProductResponse"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-zuplo-route": {
          "corsPolicy": "anything-goes",
          "handler": {
            "export": "urlForwardHandler",
            "module": "$import(@zuplo/runtime)",
            "options": {
              "baseUrl": "${env.CORE_API_BASE_URL}"
            }
          },
          "policies": {
            "inbound": [
              "strip-base-path"
            ]
          }
        }
      }
    },
    "/core-api/catalog/products/categories": {
      "put": {
        "tags": [
          "Products"
        ],
        "summary": "Updates existing products with provided categories.",
        "operationId": "Products_AddCategories",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/AddProductsToCategoriesRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/AddProductsToCategoriesRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/AddProductsToCategoriesRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK"
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-zuplo-route": {
          "corsPolicy": "anything-goes",
          "handler": {
            "export": "urlForwardHandler",
            "module": "$import(@zuplo/runtime)",
            "options": {
              "baseUrl": "${env.CORE_API_BASE_URL}"
            }
          },
          "policies": {
            "inbound": [
              "strip-base-path"
            ]
          }
        }
      },
      "delete": {
        "tags": [
          "Products"
        ],
        "summary": "Removes products from provided categories.",
        "operationId": "Products_RemoveCategories",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/RemoveProductsFromCategoriesRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/RemoveProductsFromCategoriesRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/RemoveProductsFromCategoriesRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK"
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-zuplo-route": {
          "corsPolicy": "anything-goes",
          "handler": {
            "export": "urlForwardHandler",
            "module": "$import(@zuplo/runtime)",
            "options": {
              "baseUrl": "${env.CORE_API_BASE_URL}"
            }
          },
          "policies": {
            "inbound": [
              "strip-base-path"
            ]
          }
        }
      }
    },
    "/core-api/catalog/products/price/{id}": {
      "get": {
        "tags": [
          "Products"
        ],
        "summary": "Gets the price for a product, by id",
        "operationId": "Products_GetPrice",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "Unique id of the product",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "quantity",
            "in": "query",
            "description": "The quantity of the product to calculate the price for",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "customerId",
            "in": "query",
            "description": "Unique id of the customer",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/GetPriceResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetPriceResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetPriceResponse"
                }
              }
            }
          },
          "204": {
            "description": "No content"
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-zuplo-route": {
          "corsPolicy": "anything-goes",
          "handler": {
            "export": "urlForwardHandler",
            "module": "$import(@zuplo/runtime)",
            "options": {
              "baseUrl": "${env.CORE_API_BASE_URL}"
            }
          },
          "policies": {
            "inbound": [
              "strip-base-path"
            ]
          }
        }
      }
    },
    "/core-api/catalog/products/prices": {
      "get": {
        "tags": [
          "Products"
        ],
        "summary": "Gets the prices for multiple products",
        "operationId": "Products_GetPrices",
        "parameters": [
          {
            "name": "productQuantities",
            "in": "query",
            "description": "The products and their quantities",
            "schema": {
              "type": "array",
              "items": {
                "$ref": "#/components/schemas/ProductIdentifierAndQuantity"
              }
            }
          },
          {
            "name": "customerId",
            "in": "query",
            "description": "Unique id of the customer",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/GetPricesResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetPricesResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetPricesResponse"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-zuplo-route": {
          "corsPolicy": "anything-goes",
          "handler": {
            "export": "urlForwardHandler",
            "module": "$import(@zuplo/runtime)",
            "options": {
              "baseUrl": "${env.CORE_API_BASE_URL}"
            }
          },
          "policies": {
            "inbound": [
              "strip-base-path"
            ]
          }
        }
      }
    },
    "/core-api/catalog/products/price/total": {
      "get": {
        "tags": [
          "Products"
        ],
        "summary": "Gets the total price for multiple products",
        "operationId": "Products_GetTotalPrice",
        "parameters": [
          {
            "name": "productQuantities",
            "in": "query",
            "description": "The products and their quantities",
            "schema": {
              "type": "array",
              "items": {
                "$ref": "#/components/schemas/ProductIdentifierAndQuantity"
              }
            }
          },
          {
            "name": "customerId",
            "in": "query",
            "description": "Unique id of the customer",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/CalculateTotalPriceForProductsResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CalculateTotalPriceForProductsResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/CalculateTotalPriceForProductsResponse"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-zuplo-route": {
          "corsPolicy": "anything-goes",
          "handler": {
            "export": "urlForwardHandler",
            "module": "$import(@zuplo/runtime)",
            "options": {
              "baseUrl": "${env.CORE_API_BASE_URL}"
            }
          },
          "policies": {
            "inbound": [
              "strip-base-path"
            ]
          }
        }
      }
    },
    "/core-api/catalog/products/images": {
      "post": {
        "tags": [
          "Products"
        ],
        "summary": "Upload file to the cdn for products, images have to be added to the products afterwards",
        "operationId": "Products_UploadImages",
        "requestBody": {
          "content": {
            "multipart/form-data": {
              "schema": {
                "type": "object",
                "properties": {
                  "images": {
                    "type": "array",
                    "items": {
                      "type": "string",
                      "format": "binary"
                    },
                    "description": "The images to upload"
                  }
                }
              },
              "encoding": {
                "images": {
                  "style": "form"
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/UploadBlobResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/UploadBlobResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/UploadBlobResponse"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-zuplo-route": {
          "corsPolicy": "anything-goes",
          "handler": {
            "export": "urlForwardHandler",
            "module": "$import(@zuplo/runtime)",
            "options": {
              "baseUrl": "${env.CORE_API_BASE_URL}"
            }
          },
          "policies": {
            "inbound": [
              "strip-base-path"
            ]
          }
        }
      }
    },
    "/core-api/datastudio/reports/deals-export/download": {
      "get": {
        "tags": [
          "Reports"
        ],
        "summary": "Fetches the export of all deals as .xlsx file, for the provided workspace",
        "operationId": "Reports_GetDealsExportsDownload",
        "parameters": [
          {
            "name": "From",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "date-time"
            }
          },
          {
            "name": "Until",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "date-time"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "string",
                  "format": "binary"
                }
              },
              "application/json": {
                "schema": {
                  "type": "string",
                  "format": "binary"
                }
              },
              "text/json": {
                "schema": {
                  "type": "string",
                  "format": "binary"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-zuplo-route": {
          "corsPolicy": "anything-goes",
          "handler": {
            "export": "urlForwardHandler",
            "module": "$import(@zuplo/runtime)",
            "options": {
              "baseUrl": "${env.CORE_API_BASE_URL}"
            }
          },
          "policies": {
            "inbound": [
              "strip-base-path"
            ]
          }
        }
      }
    },
    "/core-api/datastudio/reports/catalog/categories/hierarchy": {
      "get": {
        "tags": [
          "Reports"
        ],
        "summary": "Exports the hierarchy of all product categories as .xlsx file, for the provided workspace",
        "operationId": "Reports_ExportCategoriesHierarchy",
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "string",
                  "format": "binary"
                }
              },
              "application/json": {
                "schema": {
                  "type": "string",
                  "format": "binary"
                }
              },
              "text/json": {
                "schema": {
                  "type": "string",
                  "format": "binary"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-zuplo-route": {
          "corsPolicy": "anything-goes",
          "handler": {
            "export": "urlForwardHandler",
            "module": "$import(@zuplo/runtime)",
            "options": {
              "baseUrl": "${env.CORE_API_BASE_URL}"
            }
          },
          "policies": {
            "inbound": [
              "strip-base-path"
            ]
          }
        }
      }
    },
    "/core-api/salesorders": {
      "get": {
        "tags": [
          "SalesOrders"
        ],
        "summary": "Fetches a collection of all sales orders, for the provided workspace",
        "operationId": "SalesOrders_List",
        "parameters": [
          {
            "name": "Take",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "Skip",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "SortOrder",
            "in": "query",
            "schema": {
              "$ref": "#/components/schemas/SortDirection"
            }
          },
          {
            "name": "SortBy",
            "in": "query",
            "schema": {
              "$ref": "#/components/schemas/SalesOrderSorting"
            }
          },
          {
            "name": "Query",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "ids",
            "in": "query",
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          },
          {
            "name": "external_references",
            "in": "query",
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          },
          {
            "name": "debtor_ids",
            "in": "query",
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          },
          {
            "name": "ordered_by_ids",
            "in": "query",
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          },
          {
            "name": "ordering_statuses",
            "in": "query",
            "schema": {
              "type": "array",
              "items": {
                "$ref": "#/components/schemas/SalesOrderOrderingStatus"
              }
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/GetSalesOrdersResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetSalesOrdersResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetSalesOrdersResponse"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-zuplo-route": {
          "corsPolicy": "anything-goes",
          "handler": {
            "export": "urlForwardHandler",
            "module": "$import(@zuplo/runtime)",
            "options": {
              "baseUrl": "${env.CORE_API_BASE_URL}"
            }
          },
          "policies": {
            "inbound": [
              "strip-base-path"
            ]
          }
        }
      },
      "post": {
        "tags": [
          "SalesOrders"
        ],
        "summary": "Creates and stores a new sales order.",
        "description": "On success, returns the newly created entity in the response.",
        "operationId": "SalesOrders_Create",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateSalesOrderRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateSalesOrderRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/CreateSalesOrderRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/GetSalesOrderResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetSalesOrderResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetSalesOrderResponse"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-zuplo-route": {
          "corsPolicy": "anything-goes",
          "handler": {
            "export": "urlForwardHandler",
            "module": "$import(@zuplo/runtime)",
            "options": {
              "baseUrl": "${env.CORE_API_BASE_URL}"
            }
          },
          "policies": {
            "inbound": [
              "strip-base-path"
            ]
          }
        }
      }
    },
    "/core-api/salesorders/{id}": {
      "get": {
        "tags": [
          "SalesOrders"
        ],
        "summary": "Fetches a single sales order, by id.",
        "operationId": "SalesOrders_GetById",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "Unique id of the sales order to fetch.",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/GetSalesOrderDetailsResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetSalesOrderDetailsResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetSalesOrderDetailsResponse"
                }
              }
            }
          },
          "204": {
            "description": "No content"
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-zuplo-route": {
          "corsPolicy": "anything-goes",
          "handler": {
            "export": "urlForwardHandler",
            "module": "$import(@zuplo/runtime)",
            "options": {
              "baseUrl": "${env.CORE_API_BASE_URL}"
            }
          },
          "policies": {
            "inbound": [
              "strip-base-path"
            ]
          }
        }
      },
      "put": {
        "tags": [
          "SalesOrders"
        ],
        "summary": "Updates an existing sales order, replacing it entirely.",
        "description": "On success, returns the updated entity in the response.",
        "operationId": "SalesOrders_Update",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateSalesOrderRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateSalesOrderRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateSalesOrderRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/GetSalesOrderResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetSalesOrderResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetSalesOrderResponse"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-zuplo-route": {
          "corsPolicy": "anything-goes",
          "handler": {
            "export": "urlForwardHandler",
            "module": "$import(@zuplo/runtime)",
            "options": {
              "baseUrl": "${env.CORE_API_BASE_URL}"
            }
          },
          "policies": {
            "inbound": [
              "strip-base-path"
            ]
          }
        }
      },
      "delete": {
        "tags": [
          "SalesOrders"
        ],
        "summary": "Deletes an existing sales order, by id.",
        "operationId": "SalesOrders_Delete",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "Unique id of the sales order to delete.",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "No Content"
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-zuplo-route": {
          "corsPolicy": "anything-goes",
          "handler": {
            "export": "urlForwardHandler",
            "module": "$import(@zuplo/runtime)",
            "options": {
              "baseUrl": "${env.CORE_API_BASE_URL}"
            }
          },
          "policies": {
            "inbound": [
              "strip-base-path"
            ]
          }
        }
      }
    },
    "/core-api/salesorders/{id}/lines": {
      "post": {
        "tags": [
          "SalesOrders"
        ],
        "operationId": "SalesOrders_CreateLine",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateSalesOrderLinesRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateSalesOrderLinesRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/CreateSalesOrderLinesRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK"
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-zuplo-route": {
          "corsPolicy": "anything-goes",
          "handler": {
            "export": "urlForwardHandler",
            "module": "$import(@zuplo/runtime)",
            "options": {
              "baseUrl": "${env.CORE_API_BASE_URL}"
            }
          },
          "policies": {
            "inbound": [
              "strip-base-path"
            ]
          }
        }
      }
    },
    "/core-api/salesorders/{id}/lines/{lineId}": {
      "delete": {
        "tags": [
          "SalesOrders"
        ],
        "summary": "Deletes an existing sales order line, by id.",
        "operationId": "SalesOrders_DeleteLine",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "Unique id of the sales order.",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "lineId",
            "in": "path",
            "description": "Unique id of the sales order line to delete",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-zuplo-route": {
          "corsPolicy": "anything-goes",
          "handler": {
            "export": "urlForwardHandler",
            "module": "$import(@zuplo/runtime)",
            "options": {
              "baseUrl": "${env.CORE_API_BASE_URL}"
            }
          },
          "policies": {
            "inbound": [
              "strip-base-path"
            ]
          }
        }
      }
    },
    "/core-api/salesorders/stats/daily": {
      "get": {
        "tags": [
          "SalesOrders"
        ],
        "operationId": "SalesOrders_DailyStats",
        "parameters": [
          {
            "name": "From",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "date-time"
            }
          },
          {
            "name": "Until",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "date-time"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/GetSalesOrdersDailyStatsResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetSalesOrdersDailyStatsResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetSalesOrdersDailyStatsResponse"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-zuplo-route": {
          "corsPolicy": "anything-goes",
          "handler": {
            "export": "urlForwardHandler",
            "module": "$import(@zuplo/runtime)",
            "options": {
              "baseUrl": "${env.CORE_API_BASE_URL}"
            }
          },
          "policies": {
            "inbound": [
              "strip-base-path"
            ]
          }
        }
      }
    },
    "/core-api/statistics/salesorders": {
      "get": {
        "tags": [
          "SalesOrderStatistics"
        ],
        "operationId": "SalesOrderStatistics_GetSalesOrderStatistics",
        "parameters": [
          {
            "name": "From",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "date-time"
            }
          },
          {
            "name": "To",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "date-time"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/GetSalesOrderStatisticsResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetSalesOrderStatisticsResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetSalesOrderStatisticsResponse"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-zuplo-route": {
          "corsPolicy": "anything-goes",
          "handler": {
            "export": "urlForwardHandler",
            "module": "$import(@zuplo/runtime)",
            "options": {
              "baseUrl": "${env.CORE_API_BASE_URL}"
            }
          },
          "policies": {
            "inbound": [
              "strip-base-path"
            ]
          }
        }
      }
    },
    "/core-api/inventory/stocks": {
      "get": {
        "tags": [
          "Stocks"
        ],
        "summary": "Fetches a collection of all stocks, for the provided workspace",
        "operationId": "Stocks_List",
        "parameters": [
          {
            "name": "productIds",
            "in": "query",
            "required": true,
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          },
          {
            "name": "locationIds",
            "in": "query",
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/GetStocksResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetStocksResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetStocksResponse"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-zuplo-route": {
          "corsPolicy": "anything-goes",
          "handler": {
            "export": "urlForwardHandler",
            "module": "$import(@zuplo/runtime)",
            "options": {
              "baseUrl": "${env.CORE_API_BASE_URL}"
            }
          },
          "policies": {
            "inbound": [
              "strip-base-path"
            ]
          }
        }
      },
      "post": {
        "tags": [
          "Stocks"
        ],
        "summary": "Creates and stores a new stock.",
        "description": "On success, returns the newly created entity in the response.",
        "operationId": "Stocks_Create",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateStockRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateStockRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/CreateStockRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/GetStockResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetStockResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetStockResponse"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-zuplo-route": {
          "corsPolicy": "anything-goes",
          "handler": {
            "export": "urlForwardHandler",
            "module": "$import(@zuplo/runtime)",
            "options": {
              "baseUrl": "${env.CORE_API_BASE_URL}"
            }
          },
          "policies": {
            "inbound": [
              "strip-base-path"
            ]
          }
        }
      }
    },
    "/core-api/inventory/stocks/{id}": {
      "put": {
        "tags": [
          "Stocks"
        ],
        "summary": "Updates an existing stock, replacing it entirely.",
        "description": "On success, returns the updated entity in the response.",
        "operationId": "Stocks_Update",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateStockRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateStockRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateStockRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/GetStockResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetStockResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetStockResponse"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-zuplo-route": {
          "corsPolicy": "anything-goes",
          "handler": {
            "export": "urlForwardHandler",
            "module": "$import(@zuplo/runtime)",
            "options": {
              "baseUrl": "${env.CORE_API_BASE_URL}"
            }
          },
          "policies": {
            "inbound": [
              "strip-base-path"
            ]
          }
        }
      },
      "delete": {
        "tags": [
          "Stocks"
        ],
        "summary": "Deletes an existing stock, by id.",
        "operationId": "Stocks_Delete",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "Unique id of the stock to delete.",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-zuplo-route": {
          "corsPolicy": "anything-goes",
          "handler": {
            "export": "urlForwardHandler",
            "module": "$import(@zuplo/runtime)",
            "options": {
              "baseUrl": "${env.CORE_API_BASE_URL}"
            }
          },
          "policies": {
            "inbound": [
              "strip-base-path"
            ]
          }
        }
      }
    },
    "/core-api/masterdata/tags": {
      "get": {
        "tags": [
          "Tags"
        ],
        "operationId": "Tags_List",
        "parameters": [
          {
            "name": "Query",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/GetTagsResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetTagsResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetTagsResponse"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-zuplo-route": {
          "corsPolicy": "anything-goes",
          "handler": {
            "export": "urlForwardHandler",
            "module": "$import(@zuplo/runtime)",
            "options": {
              "baseUrl": "${env.CORE_API_BASE_URL}"
            }
          },
          "policies": {
            "inbound": [
              "strip-base-path"
            ]
          }
        }
      }
    },
    "/core-api/ai/translations": {
      "post": {
        "tags": [
          "Translations"
        ],
        "operationId": "Translations_GetTranslations",
        "parameters": [
          {
            "name": "to",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              }
            },
            "text/json": {
              "schema": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              }
            },
            "application/*+json": {
              "schema": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "array",
                  "items": {
                    "type": "string"
                  }
                }
              },
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "type": "string"
                  }
                }
              },
              "text/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "type": "string"
                  }
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-zuplo-route": {
          "corsPolicy": "anything-goes",
          "handler": {
            "export": "urlForwardHandler",
            "module": "$import(@zuplo/runtime)",
            "options": {
              "baseUrl": "${env.CORE_API_BASE_URL}"
            }
          },
          "policies": {
            "inbound": [
              "strip-base-path"
            ]
          }
        }
      }
    },
    "/core-api/users": {
      "get": {
        "tags": [
          "Users"
        ],
        "summary": "Filters the users based on optional filters",
        "operationId": "Users_List",
        "parameters": [
          {
            "name": "Take",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "Skip",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "SortOrder",
            "in": "query",
            "schema": {
              "$ref": "#/components/schemas/SortDirection"
            }
          },
          {
            "name": "SortBy",
            "in": "query",
            "schema": {
              "$ref": "#/components/schemas/HeartworkUserSorting"
            }
          },
          {
            "name": "Query",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "external_references",
            "in": "query",
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          },
          {
            "name": "user_types",
            "in": "query",
            "schema": {
              "type": "array",
              "items": {
                "$ref": "#/components/schemas/HeartworkUserType"
              }
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/GetHeartworkUsersResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetHeartworkUsersResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetHeartworkUsersResponse"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-zuplo-route": {
          "corsPolicy": "anything-goes",
          "handler": {
            "export": "urlForwardHandler",
            "module": "$import(@zuplo/runtime)",
            "options": {
              "baseUrl": "${env.CORE_API_BASE_URL}"
            }
          },
          "policies": {
            "inbound": [
              "strip-base-path"
            ]
          }
        }
      },
      "post": {
        "tags": [
          "Users"
        ],
        "summary": "Creates and stores a new user.",
        "description": "On success, returns the newly created entity in the response.",
        "operationId": "Users_Create",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateHeartworkUserAndExternalUserRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateHeartworkUserAndExternalUserRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/CreateHeartworkUserAndExternalUserRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/GetHeartworkUserResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetHeartworkUserResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetHeartworkUserResponse"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-zuplo-route": {
          "corsPolicy": "anything-goes",
          "handler": {
            "export": "urlForwardHandler",
            "module": "$import(@zuplo/runtime)",
            "options": {
              "baseUrl": "${env.CORE_API_BASE_URL}"
            }
          },
          "policies": {
            "inbound": [
              "strip-base-path"
            ]
          }
        }
      }
    },
    "/core-api/users/{id}": {
      "get": {
        "tags": [
          "Users"
        ],
        "summary": "Fetches a single user, by id.",
        "operationId": "Users_GetById",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "Unique id of the user to fetch.",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/GetHeartworkUserResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetHeartworkUserResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetHeartworkUserResponse"
                }
              }
            }
          },
          "204": {
            "description": "No content"
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-zuplo-route": {
          "corsPolicy": "anything-goes",
          "handler": {
            "export": "urlForwardHandler",
            "module": "$import(@zuplo/runtime)",
            "options": {
              "baseUrl": "${env.CORE_API_BASE_URL}"
            }
          },
          "policies": {
            "inbound": [
              "strip-base-path"
            ]
          }
        }
      },
      "put": {
        "tags": [
          "Users"
        ],
        "summary": "Updates an existing user, replacing it entirely.",
        "description": "On success, returns the updated entity in the response.",
        "operationId": "Users_Update",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateHeartworkUserAndExternalUserRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateHeartworkUserAndExternalUserRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateHeartworkUserAndExternalUserRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/UpdateHeartworkUserAndExternalUserRequest"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/UpdateHeartworkUserAndExternalUserRequest"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/UpdateHeartworkUserAndExternalUserRequest"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-zuplo-route": {
          "corsPolicy": "anything-goes",
          "handler": {
            "export": "urlForwardHandler",
            "module": "$import(@zuplo/runtime)",
            "options": {
              "baseUrl": "${env.CORE_API_BASE_URL}"
            }
          },
          "policies": {
            "inbound": [
              "strip-base-path"
            ]
          }
        }
      },
      "delete": {
        "tags": [
          "Users"
        ],
        "summary": "Deletes an existing user, by id.",
        "operationId": "Users_DeleteUser",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "Unique id of the user to delete.",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-zuplo-route": {
          "corsPolicy": "anything-goes",
          "handler": {
            "export": "urlForwardHandler",
            "module": "$import(@zuplo/runtime)",
            "options": {
              "baseUrl": "${env.CORE_API_BASE_URL}"
            }
          },
          "policies": {
            "inbound": [
              "strip-base-path"
            ]
          }
        }
      }
    },
    "/core-api/catalog/vatcodes": {
      "get": {
        "tags": [
          "VatCodes"
        ],
        "summary": "Fetches a collection of all vat codes",
        "operationId": "VatCodes_List",
        "parameters": [
          {
            "name": "Take",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "Skip",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "SortOrder",
            "in": "query",
            "schema": {
              "$ref": "#/components/schemas/SortDirection"
            }
          },
          {
            "name": "SortBy",
            "in": "query",
            "schema": {
              "$ref": "#/components/schemas/VatCodeSorting"
            }
          },
          {
            "name": "Query",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "ids",
            "in": "query",
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          },
          {
            "name": "external_references",
            "in": "query",
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/GetVatCodesResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetVatCodesResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetVatCodesResponse"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-zuplo-route": {
          "corsPolicy": "anything-goes",
          "handler": {
            "export": "urlForwardHandler",
            "module": "$import(@zuplo/runtime)",
            "options": {
              "baseUrl": "${env.CORE_API_BASE_URL}"
            }
          },
          "policies": {
            "inbound": [
              "strip-base-path"
            ]
          }
        }
      }
    },
    "/core-api/webhooks": {
      "get": {
        "tags": [
          "Webhooks"
        ],
        "summary": "Fetches a collection of webhooks.",
        "operationId": "Webhooks_List",
        "parameters": [
          {
            "name": "Take",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "Skip",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "SortOrder",
            "in": "query",
            "schema": {
              "$ref": "#/components/schemas/SortDirection"
            }
          },
          {
            "name": "SortBy",
            "in": "query",
            "schema": {
              "$ref": "#/components/schemas/WebhookSorting"
            }
          },
          {
            "name": "Query",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/GetWebhooksResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetWebhooksResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetWebhooksResponse"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-zuplo-route": {
          "corsPolicy": "anything-goes",
          "handler": {
            "export": "urlForwardHandler",
            "module": "$import(@zuplo/runtime)",
            "options": {
              "baseUrl": "${env.CORE_API_BASE_URL}"
            }
          },
          "policies": {
            "inbound": [
              "strip-base-path"
            ]
          }
        }
      },
      "post": {
        "tags": [
          "Webhooks"
        ],
        "operationId": "Webhooks_Create",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateWebhookRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateWebhookRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/CreateWebhookRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/GetWebhookResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetWebhookResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetWebhookResponse"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-zuplo-route": {
          "corsPolicy": "anything-goes",
          "handler": {
            "export": "urlForwardHandler",
            "module": "$import(@zuplo/runtime)",
            "options": {
              "baseUrl": "${env.CORE_API_BASE_URL}"
            }
          },
          "policies": {
            "inbound": [
              "strip-base-path"
            ]
          }
        }
      }
    },
    "/core-api/webhooks/{id}": {
      "get": {
        "tags": [
          "Webhooks"
        ],
        "operationId": "Webhooks_Get",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/GetWebhookResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetWebhookResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetWebhookResponse"
                }
              }
            }
          },
          "204": {
            "description": "No content"
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-zuplo-route": {
          "corsPolicy": "anything-goes",
          "handler": {
            "export": "urlForwardHandler",
            "module": "$import(@zuplo/runtime)",
            "options": {
              "baseUrl": "${env.CORE_API_BASE_URL}"
            }
          },
          "policies": {
            "inbound": [
              "strip-base-path"
            ]
          }
        }
      },
      "put": {
        "tags": [
          "Webhooks"
        ],
        "operationId": "Webhooks_Update",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateWebhookRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateWebhookRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateWebhookRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/GetWebhookResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetWebhookResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetWebhookResponse"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-zuplo-route": {
          "corsPolicy": "anything-goes",
          "handler": {
            "export": "urlForwardHandler",
            "module": "$import(@zuplo/runtime)",
            "options": {
              "baseUrl": "${env.CORE_API_BASE_URL}"
            }
          },
          "policies": {
            "inbound": [
              "strip-base-path"
            ]
          }
        }
      },
      "delete": {
        "tags": [
          "Webhooks"
        ],
        "operationId": "Webhooks_Delete",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-zuplo-route": {
          "corsPolicy": "anything-goes",
          "handler": {
            "export": "urlForwardHandler",
            "module": "$import(@zuplo/runtime)",
            "options": {
              "baseUrl": "${env.CORE_API_BASE_URL}"
            }
          },
          "policies": {
            "inbound": [
              "strip-base-path"
            ]
          }
        }
      }
    },
    "/core-api/webhooks/topics": {
      "get": {
        "tags": [
          "Webhooks"
        ],
        "operationId": "Webhooks_GetTopics",
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/GetAtomicsResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetAtomicsResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetAtomicsResponse"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-zuplo-route": {
          "corsPolicy": "anything-goes",
          "handler": {
            "export": "urlForwardHandler",
            "module": "$import(@zuplo/runtime)",
            "options": {
              "baseUrl": "${env.CORE_API_BASE_URL}"
            }
          },
          "policies": {
            "inbound": [
              "strip-base-path"
            ]
          }
        }
      }
    },
    "/core-api/workspaces": {
      "get": {
        "tags": [
          "Workspaces"
        ],
        "summary": "Fetches a list of all workspaces, for the current user.",
        "description": "This operation does not require a 'workspace' header to be present.",
        "operationId": "Workspaces_List",
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/GetWorkspaceResponse"
                  }
                }
              },
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/GetWorkspaceResponse"
                  }
                }
              },
              "text/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/GetWorkspaceResponse"
                  }
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-zuplo-route": {
          "corsPolicy": "anything-goes",
          "handler": {
            "export": "urlForwardHandler",
            "module": "$import(@zuplo/runtime)",
            "options": {
              "baseUrl": "${env.CORE_API_BASE_URL}"
            }
          },
          "policies": {
            "inbound": [
              "strip-base-path"
            ]
          }
        }
      },
      "put": {
        "tags": [
          "Workspaces"
        ],
        "operationId": "Workspaces_Update",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateWorkspaceRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateWorkspaceRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateWorkspaceRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/GetWorkspaceResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetWorkspaceResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetWorkspaceResponse"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-zuplo-route": {
          "corsPolicy": "anything-goes",
          "handler": {
            "export": "urlForwardHandler",
            "module": "$import(@zuplo/runtime)",
            "options": {
              "baseUrl": "${env.CORE_API_BASE_URL}"
            }
          },
          "policies": {
            "inbound": [
              "strip-base-path"
            ]
          }
        }
      },
      "post": {
        "tags": [
          "Workspaces"
        ],
        "operationId": "Workspaces_Create",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateWorkspaceRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateWorkspaceRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/CreateWorkspaceRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/GetWorkspaceResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetWorkspaceResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetWorkspaceResponse"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-zuplo-route": {
          "corsPolicy": "anything-goes",
          "handler": {
            "export": "urlForwardHandler",
            "module": "$import(@zuplo/runtime)",
            "options": {
              "baseUrl": "${env.CORE_API_BASE_URL}"
            }
          },
          "policies": {
            "inbound": [
              "strip-base-path"
            ]
          }
        }
      },
      "delete": {
        "tags": [
          "Workspaces"
        ],
        "operationId": "Workspaces_Delete",
        "parameters": [
          {
            "name": "id",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-zuplo-route": {
          "corsPolicy": "anything-goes",
          "handler": {
            "export": "urlForwardHandler",
            "module": "$import(@zuplo/runtime)",
            "options": {
              "baseUrl": "${env.CORE_API_BASE_URL}"
            }
          },
          "policies": {
            "inbound": [
              "strip-base-path"
            ]
          }
        }
      }
    },
    "/core-api/workspaces/images": {
      "post": {
        "tags": [
          "Workspaces"
        ],
        "summary": "Upload file to the cdn for workspaces, images have to be added to the appropriate place afterward.",
        "operationId": "Workspaces_UploadImages",
        "requestBody": {
          "content": {
            "multipart/form-data": {
              "schema": {
                "type": "object",
                "properties": {
                  "images": {
                    "type": "array",
                    "items": {
                      "type": "string",
                      "format": "binary"
                    },
                    "description": "The images to upload"
                  }
                }
              },
              "encoding": {
                "images": {
                  "style": "form"
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/UploadBlobResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/UploadBlobResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/UploadBlobResponse"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-zuplo-route": {
          "corsPolicy": "anything-goes",
          "handler": {
            "export": "urlForwardHandler",
            "module": "$import(@zuplo/runtime)",
            "options": {
              "baseUrl": "${env.CORE_API_BASE_URL}"
            }
          },
          "policies": {
            "inbound": [
              "strip-base-path"
            ]
          }
        }
      }
    }
  },
  "servers": [
    {
      "url": "${env.CORE_API_BASE_URL}",
      "x-base-path": "/core-api"
    }
  ]
}