{
  "x-generator": "NSwag v14.6.3.0 (NJsonSchema v11.5.2.0 (Newtonsoft.Json v13.0.0.0))",
  "openapi": "3.0.0",
  "info": {
    "title": "Customily Design Studio API",
    "version": "v1"
  },
  "servers": [
    {
      "url": "https://beta.customily.com"
    }
  ],
  "paths": {
    "/api/Vector/VectorUploadSignedUrl": {
      "get": {
        "tags": [
          "Vector"
        ],
        "summary": "Generate S3 signed URL to upload vector files",
        "description": "Use this endpoint to upload the files of vector elements (`vectors[].svgPath` / `vectors[].epsPath`). Don't use Images/ImageUploadSignedUrl for vector files, the production file will fail.\n1. Use the returned SignedUrl with a PUT request (body = file as binary, Content-Type = returned Mime).\n2. Call Vector/Validate/{filename} with the returned Name and the same type. This step is required, the file can't be used until it's validated.\n3. Use the SVG and EPS paths returned by Validate in the template, not the Path returned here.\n            \nRequires a Bearer token (get one with /api/token), the x-api-key header isn't supported here.",
        "operationId": "Vector_ImageUploadSignedUrl",
        "parameters": [
          {
            "name": "type",
            "in": "query",
            "required": true,
            "description": "Type of vector that will be uploaded. Valid values: vector-svg (.svg), vector (.eps), vector-pdf (.pdf)",
            "schema": {
              "type": "string",
              "nullable": true
            },
            "x-position": 1
          },
          {
            "name": "filename",
            "in": "query",
            "description": "Filename of the vector file that will be uploaded (if any)",
            "schema": {
              "type": "string",
              "default": "",
              "nullable": true
            },
            "x-position": 2
          }
        ],
        "responses": {
          "200": {
            "description": "SignedUrl, Name, Path and Mime for the upload",
            "content": {
              "application/octet-stream": {
                "schema": {
                  "type": "string",
                  "format": "binary"
                }
              }
            }
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ]
      }
    },
    "/api/Vector/Validate/{filename}": {
      "get": {
        "tags": [
          "Vector"
        ],
        "summary": "Check if a uploaded vector file is valid, if not it will be deleted",
        "description": "Required after uploading a file with Vector/VectorUploadSignedUrl.\nReturns the SVG and EPS paths to use in the template (`vectors[].svgPath` / `vectors[].epsPath`). EPS is only returned for vector and vector-pdf types.\n            \nRequires a Bearer token (get one with /api/token), the x-api-key header isn't supported here.",
        "operationId": "Vector_Validate",
        "parameters": [
          {
            "name": "type",
            "in": "query",
            "required": true,
            "description": "Same type used in Vector/VectorUploadSignedUrl. Valid values: vector-svg, vector, vector-pdf",
            "schema": {
              "type": "string",
              "nullable": true
            },
            "x-position": 1
          },
          {
            "name": "filename",
            "in": "path",
            "required": true,
            "description": "Name returned by Vector/VectorUploadSignedUrl",
            "schema": {
              "type": "string",
              "nullable": true
            },
            "x-position": 2
          },
          {
            "name": "includeDimensions",
            "in": "query",
            "description": "Return width and height of the vector file if true",
            "schema": {
              "type": "boolean",
              "default": false
            },
            "x-position": 3
          },
          {
            "name": "generateThumb",
            "in": "query",
            "description": "Generate and return thumbnail path if true",
            "schema": {
              "type": "boolean",
              "default": false
            },
            "x-position": 4
          }
        ],
        "responses": {
          "200": {
            "description": "EPS, SVG, Width, Height and ThumbnailPath of the validated vector",
            "content": {
              "application/octet-stream": {
                "schema": {
                  "type": "string",
                  "format": "binary"
                }
              }
            }
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ]
      }
    },
    "/api/Product": {
      "get": {
        "tags": [
          "Templates"
        ],
        "operationId": "Product_GetFullProduct",
        "parameters": [
          {
            "name": "productId",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "nullable": true
            },
            "x-position": 1
          },
          {
            "name": "useListEPS",
            "in": "query",
            "schema": {
              "type": "boolean",
              "default": false
            },
            "x-position": 2
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/octet-stream": {
                "schema": {
                  "type": "string",
                  "format": "binary"
                }
              }
            }
          }
        },
        "security": [
          {
            "Bearer": []
          },
          {
            "ApiKey": []
          }
        ]
      }
    },
    "/api/Product/SaveProduct": {
      "post": {
        "tags": [
          "Templates"
        ],
        "operationId": "Product_SaveProduct",
        "requestBody": {
          "x-name": "productJson",
          "content": {
            "application/json": {
              "schema": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/ProductJsonDTO"
                  }
                ]
              },
              "examples": {
                "TextElement": {
                  "summary": "Minimal template with a text element",
                  "value": {
                    "product": {
                      "id": "8ac149bf-0746-40d5-890e-874929d905b4",
                      "name": "Test Product (Text)",
                      "format": "png",
                      "colorMode": "rgb",
                      "listEPS": [
                        {
                          "id": 1,
                          "width": 1200.0,
                          "height": 900.0,
                          "dpi": 300.0,
                          "exportPPI": 300.0,
                          "textsEps": [
                            {
                              "id": 1,
                              "centerX": 600.0,
                              "centerY": 450.0,
                              "color": "{\"alpha\":1,\"hex\":\"#000000\"}",
                              "width": 300.0,
                              "height": 300.0,
                              "fontPath": "/fonts/arial.ttf",
                              "zIndex": 1,
                              "name": "Text 1"
                            }
                          ]
                        }
                      ],
                      "preview": {
                        "width": 1200.0,
                        "height": 900.0,
                        "bgColor": "#FFFFFF",
                        "textsPreview": [
                          {
                            "id": 1,
                            "centerX": 600.0,
                            "centerY": 450.0,
                            "color": "{\"alpha\":1,\"hex\":\"#000000\"}",
                            "width": 300.0,
                            "height": 300.0,
                            "fontPath": "/fonts/arial.ttf",
                            "zIndex": 1,
                            "name": "Text 1"
                          }
                        ]
                      }
                    }
                  }
                },
                "ImagePlaceholder": {
                  "summary": "Minimal template with an image placeholder",
                  "value": {
                    "product": {
                      "id": "e9760f6f-3fe4-4699-845f-d7f754a65770",
                      "name": "Test Product (Image Placeholder)",
                      "format": "png",
                      "colorMode": "rgb",
                      "listEPS": [
                        {
                          "id": 1,
                          "width": 1200.0,
                          "height": 900.0,
                          "dpi": 300.0,
                          "exportPPI": 300.0,
                          "imagePlaceHoldersEps": [
                            {
                              "id": 1,
                              "centerX": 600.0,
                              "centerY": 450.0,
                              "width": 400.0,
                              "height": 400.0,
                              "rotation": 0.0,
                              "zIndex": 1,
                              "imagePath": "",
                              "maskPath": null,
                              "hasStaticImage": false,
                              "imageUrl": null
                            }
                          ]
                        }
                      ],
                      "preview": {
                        "width": 1200.0,
                        "height": 900.0,
                        "bgColor": "#FFFFFF",
                        "imagePlaceHoldersPreview": [
                          {
                            "id": 1,
                            "centerX": 600.0,
                            "centerY": 450.0,
                            "width": 400.0,
                            "height": 400.0,
                            "rotation": 0.0,
                            "zIndex": 1,
                            "imagePath": "",
                            "maskPath": null,
                            "hasStaticImage": false,
                            "imageUrl": null
                          }
                        ]
                      }
                    }
                  }
                },
                "DynamicImages": {
                  "summary": "Minimal template with a dynamic image placeholder (See Images/Images_ImageUploadSignedUrl to upload images before using this endpoint)",
                  "value": {
                    "product": {
                      "id": "c274f2f2-9349-4ab9-a1d1-c072d5093a85",
                      "name": "Test Product (Dynamic Images)",
                      "format": "png",
                      "colorMode": "rgb",
                      "listEPS": [
                        {
                          "id": 1,
                          "width": 1200.0,
                          "height": 900.0,
                          "dpi": 300.0,
                          "exportPPI": 300.0,
                          "imagePlaceHoldersEps": [
                            {
                              "id": 1,
                              "centerX": 600.0,
                              "centerY": 450.0,
                              "width": 400.0,
                              "height": 400.0,
                              "rotation": 0.0,
                              "zIndex": 1,
                              "dynamicImagesPath": "[[1,\"/Content/product-images/e1f03edc-608a-4cc3-b658-c42cb108934c.png\"],[2,\"/Content/product-images/a2900f8f-bc20-448d-9d1b-68e0fad55108.png\"],[3,\"/Content/product-images/e1f03edc-608a-4cc3-b658-c42cb108934c.png\"]]",
                              "imagePath": "",
                              "maskPath": null,
                              "hasStaticImage": false,
                              "imageUrl": null
                            }
                          ]
                        }
                      ],
                      "preview": {
                        "width": 1200.0,
                        "height": 900.0,
                        "bgColor": "#FFFFFF",
                        "imagePlaceHoldersPreview": [
                          {
                            "id": 1,
                            "centerX": 600.0,
                            "centerY": 450.0,
                            "width": 400.0,
                            "height": 400.0,
                            "rotation": 0.0,
                            "zIndex": 1,
                            "dynamicImagesPath": "[[1,\"/Content/product-images/e1f03edc-608a-4cc3-b658-c42cb108934c.png\"],[2,\"/Content/product-images/a2900f8f-bc20-448d-9d1b-68e0fad55108.png\"],[3,\"/Content/product-images/e1f03edc-608a-4cc3-b658-c42cb108934c.png\"]]",
                            "imagePath": "",
                            "maskPath": null,
                            "hasStaticImage": false,
                            "imageUrl": null
                          }
                        ]
                      }
                    }
                  }
                }
              }
            }
          },
          "x-position": 1
        },
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/octet-stream": {
                "schema": {
                  "type": "string",
                  "format": "binary"
                }
              }
            }
          }
        },
        "security": [
          {
            "Bearer": []
          },
          {
            "ApiKey": []
          }
        ]
      }
    },
    "/api/Product/CloneProduct": {
      "get": {
        "tags": [
          "Templates"
        ],
        "operationId": "Product_CloneProduct",
        "parameters": [
          {
            "name": "productId",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "nullable": true
            },
            "x-position": 1
          },
          {
            "name": "imported",
            "in": "query",
            "schema": {
              "type": "boolean",
              "default": false,
              "nullable": true
            },
            "x-position": 2
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/octet-stream": {
                "schema": {
                  "type": "string",
                  "format": "binary"
                }
              }
            }
          }
        },
        "security": [
          {
            "Bearer": []
          },
          {
            "ApiKey": []
          }
        ]
      }
    },
    "/api/Product/Rename": {
      "post": {
        "tags": [
          "Templates"
        ],
        "operationId": "Product_Rename",
        "parameters": [
          {
            "name": "productId",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "nullable": true
            },
            "x-position": 1
          },
          {
            "name": "name",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "nullable": true
            },
            "x-position": 2
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/octet-stream": {
                "schema": {
                  "type": "string",
                  "format": "binary"
                }
              }
            }
          }
        },
        "security": [
          {
            "Bearer": []
          },
          {
            "ApiKey": []
          }
        ]
      }
    },
    "/api/Product/GetProducts": {
      "get": {
        "tags": [
          "Templates"
        ],
        "operationId": "Product_GetProducts",
        "parameters": [
          {
            "name": "searchString",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "nullable": true
            },
            "x-position": 1
          },
          {
            "name": "from",
            "in": "query",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            },
            "x-position": 2
          },
          {
            "name": "pageSize",
            "in": "query",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            },
            "x-position": 3
          },
          {
            "name": "sortBy",
            "in": "query",
            "schema": {
              "type": "string",
              "default": "ModifiedDate",
              "nullable": true
            },
            "x-position": 4
          },
          {
            "name": "sortMode",
            "in": "query",
            "schema": {
              "type": "string",
              "default": "DESC",
              "nullable": true
            },
            "x-position": 5
          },
          {
            "name": "linked",
            "in": "query",
            "schema": {
              "type": "boolean",
              "nullable": true
            },
            "x-position": 6
          },
          {
            "name": "deleted",
            "in": "query",
            "schema": {
              "type": "boolean",
              "nullable": true
            },
            "x-position": 7
          },
          {
            "name": "fullAccessOnly",
            "in": "query",
            "schema": {
              "type": "boolean",
              "nullable": true
            },
            "x-position": 8
          },
          {
            "name": "tagIds",
            "in": "query",
            "style": "form",
            "explode": true,
            "schema": {
              "type": "array",
              "nullable": true,
              "items": {
                "type": "integer",
                "format": "int32"
              }
            },
            "x-position": 9
          },
          {
            "name": "withPreviewOnlyElements",
            "in": "query",
            "schema": {
              "type": "boolean",
              "default": false
            },
            "x-position": 10
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/octet-stream": {
                "schema": {
                  "type": "string",
                  "format": "binary"
                }
              }
            }
          }
        },
        "security": [
          {
            "Bearer": []
          },
          {
            "ApiKey": []
          }
        ]
      }
    },
    "/api/Product/GetProductsCount": {
      "get": {
        "tags": [
          "Templates"
        ],
        "operationId": "Product_GetProductsCount",
        "parameters": [
          {
            "name": "searchString",
            "in": "query",
            "schema": {
              "type": "string",
              "default": "",
              "nullable": true
            },
            "x-position": 1
          },
          {
            "name": "linked",
            "in": "query",
            "schema": {
              "type": "boolean",
              "nullable": true
            },
            "x-position": 2
          },
          {
            "name": "deleted",
            "in": "query",
            "schema": {
              "type": "boolean",
              "nullable": true
            },
            "x-position": 3
          },
          {
            "name": "fullAccessOnly",
            "in": "query",
            "schema": {
              "type": "boolean",
              "nullable": true
            },
            "x-position": 4
          },
          {
            "name": "tagIds",
            "in": "query",
            "style": "form",
            "explode": true,
            "schema": {
              "type": "array",
              "nullable": true,
              "items": {
                "type": "integer",
                "format": "int32"
              }
            },
            "x-position": 5
          },
          {
            "name": "withPreviewOnlyElements",
            "in": "query",
            "schema": {
              "type": "boolean",
              "default": false
            },
            "x-position": 6
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/octet-stream": {
                "schema": {
                  "type": "string",
                  "format": "binary"
                }
              }
            }
          }
        },
        "security": [
          {
            "Bearer": []
          },
          {
            "ApiKey": []
          }
        ]
      }
    },
    "/api/Product/AssignTags": {
      "post": {
        "tags": [
          "Templates"
        ],
        "operationId": "Product_AssignTags",
        "requestBody": {
          "x-name": "assignTagsDto",
          "content": {
            "application/json": {
              "schema": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/AssignTagsDTO"
                  }
                ]
              }
            }
          },
          "x-position": 1
        },
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/octet-stream": {
                "schema": {
                  "type": "string",
                  "format": "binary"
                }
              }
            }
          }
        },
        "security": [
          {
            "Bearer": []
          },
          {
            "ApiKey": []
          }
        ]
      }
    },
    "/api/Product/DeleteProductById": {
      "delete": {
        "tags": [
          "Templates"
        ],
        "operationId": "Product_DeleteProductById",
        "parameters": [
          {
            "name": "id",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "format": "guid"
            },
            "x-position": 1
          },
          {
            "name": "forceDelete",
            "in": "query",
            "schema": {
              "type": "boolean",
              "default": false
            },
            "x-position": 2
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/octet-stream": {
                "schema": {
                  "type": "string",
                  "format": "binary"
                }
              }
            }
          }
        },
        "security": [
          {
            "Bearer": []
          },
          {
            "ApiKey": []
          }
        ]
      }
    },
    "/api/Product/ProductTemplateRelations": {
      "get": {
        "tags": [
          "Templates"
        ],
        "operationId": "Product_ProductTemplateRelation",
        "parameters": [
          {
            "name": "productId",
            "in": "query",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            },
            "x-position": 1
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/octet-stream": {
                "schema": {
                  "type": "string",
                  "format": "binary"
                }
              }
            }
          }
        },
        "security": [
          {
            "Bearer": []
          },
          {
            "ApiKey": []
          }
        ]
      }
    },
    "/api/Images/ImageUploadSignedUrl": {
      "get": {
        "tags": [
          "Images"
        ],
        "summary": "Generate S3 signed URL to upload images",
        "description": "Returns a pre-signed URL that you can use to upload an image directly to S3.  See [AWS documentation for presigned URLs](https://docs.aws.amazon.com/AmazonS3/latest/userguide/PresignedUrlUploadObject.html).  \nUse the returned SignedUrl with a PUT request (body = file as binary, Content-Type = returned Mime, CacheControl = returned CacheControl).  \nAfter upload, use the returned Path in any request that requires an image path.",
        "operationId": "Images_ImageUploadSignedUrl",
        "parameters": [
          {
            "name": "type",
            "in": "query",
            "required": true,
            "description": "Type of image that will be uploaded. Valid values: preview, eps, mask, library-categories, libraries, product-bases, preview-mask, user-profile-thumbs",
            "schema": {
              "type": "string",
              "nullable": true
            },
            "x-position": 1
          },
          {
            "name": "format",
            "in": "query",
            "required": true,
            "description": "Image format. Valid values: png, jpg, jpeg, webp, svg. The user-profile-thumbs type only accepts png, jpg and jpeg",
            "schema": {
              "type": "string",
              "nullable": true
            },
            "x-position": 2
          }
        ],
        "responses": {
          "200": {
            "description": "SignedUrl, Name, Path, Mime, and CacheControl for the upload",
            "content": {
              "application/octet-stream": {
                "schema": {
                  "type": "string",
                  "format": "binary"
                }
              }
            }
          }
        },
        "security": [
          {
            "Bearer": []
          },
          {
            "ApiKey": []
          }
        ]
      }
    },
    "/api/Team": {
      "post": {
        "tags": [
          "Team"
        ],
        "summary": "Add a new team member.",
        "description": "The invited user will receive an email with the subject\n\"You're Invited to Join [Owner]'s Team in Customily\" that they need to complete\nin order to finish their registration and activate their account.",
        "operationId": "Team_AddTeamMember",
        "requestBody": {
          "x-name": "data",
          "content": {
            "application/json": {
              "schema": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/TeamMemberAddDTO"
                  }
                ]
              },
              "examples": {
                "FullAccess": {
                  "summary": "Full (1) - the team member has access to all resources in the account",
                  "value": {
                    "name": "John Doe",
                    "email": "john.doe@example.com",
                    "accessMode": 1,
                    "manageIntegrations": false
                  }
                },
                "RestrictedAccess": {
                  "summary": "Restricted (0) - the team member can only see resources they have created themselves",
                  "value": {
                    "name": "John Doe",
                    "email": "john.doe@example.com",
                    "accessMode": 0,
                    "manageIntegrations": false
                  }
                }
              }
            }
          },
          "x-position": 1
        },
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/octet-stream": {
                "schema": {
                  "type": "string",
                  "format": "binary"
                }
              }
            }
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ]
      }
    },
    "/api/token": {
      "post": {
        "tags": [
          "Authentication"
        ],
        "summary": "Obtain a JWT access token using username and password",
        "description": "Click **Try it out**, enter your username (or email) and password, then click **Execute** to get an access token valid for 30 days.\r\n\r\n**Using the token:**\r\n```bash\r\ncurl 'https://app.customily.com/api/Product/GetProductsCount' \\\r\n  -H 'Accept: application/json' \\\r\n  -H 'Authorization: Bearer <your_access_token>'\r\n```\r\n\r\nIn Swagger UI: click \"Authorize\" and paste the token without the \"Bearer\" prefix.",
        "operationId": "GetToken",
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "schema": {
                "type": "object",
                "required": [
                  "grant_type",
                  "username",
                  "password"
                ],
                "properties": {
                  "grant_type": {
                    "type": "string",
                    "description": "Grant type - must be 'password'",
                    "default": "password"
                  },
                  "username": {
                    "type": "string",
                    "description": "Your username or account email"
                  },
                  "password": {
                    "type": "string",
                    "description": "Your password",
                    "format": "password"
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successfully authenticated. Returns JWT access token.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "access_token": {
                      "type": "string",
                      "description": "JWT access token",
                      "example": "eyJhbGciOi..."
                    },
                    "token_type": {
                      "type": "string",
                      "description": "Token type (always 'bearer')",
                      "example": "bearer"
                    },
                    "expires_in": {
                      "type": "integer",
                      "description": "Token expiration time in seconds (30 days = 2592000)",
                      "example": 2592000
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request - invalid credentials or missing parameters",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string",
                      "description": "Error message",
                      "example": "The email or password you entered is incorrect"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "EPSProductJSON": {
        "allOf": [
          {
            "$ref": "#/components/schemas/BaseCustomization"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "placeholders": {
                "type": "array",
                "nullable": true,
                "items": {
                  "$ref": "#/components/schemas/Placeholder"
                }
              },
              "epsId": {
                "type": "integer",
                "format": "int32",
                "nullable": true
              },
              "fileName": {
                "type": "string",
                "nullable": true
              },
              "uploadToFTP": {
                "type": "boolean"
              },
              "orderNumber": {
                "type": "string",
                "nullable": true
              },
              "logContext": {
                "nullable": true
              }
            }
          }
        ]
      },
      "Placeholder": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "id": {
            "type": "integer",
            "format": "int32"
          },
          "uuid": {
            "type": "string",
            "format": "guid",
            "nullable": true
          },
          "image": {
            "type": "string",
            "nullable": true
          },
          "threshold": {
            "type": "integer",
            "format": "int32"
          },
          "colorPosition": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "colorHex": {
            "type": "string",
            "nullable": true
          },
          "hideGroup": {
            "type": "boolean",
            "nullable": true
          }
        }
      },
      "BaseCustomization": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "id": {
            "type": "string",
            "nullable": true
          },
          "clientVersion": {
            "type": "string",
            "nullable": true
          },
          "sessionId": {
            "type": "string",
            "nullable": true
          },
          "listSessions": {
            "type": "array",
            "nullable": true,
            "items": {
              "type": "string"
            }
          },
          "texts": {
            "type": "array",
            "nullable": true,
            "items": {
              "$ref": "#/components/schemas/Text"
            }
          },
          "circularTexts": {
            "type": "array",
            "nullable": true,
            "items": {
              "$ref": "#/components/schemas/Text"
            }
          },
          "vectorPlaceholders": {
            "type": "array",
            "nullable": true,
            "items": {
              "$ref": "#/components/schemas/VectorPlaceholder"
            }
          },
          "imagesParameters": {
            "type": "array",
            "nullable": true,
            "items": {
              "$ref": "#/components/schemas/ImagePlaceholderParameters"
            }
          },
          "vectorsParameters": {
            "type": "array",
            "nullable": true,
            "items": {
              "$ref": "#/components/schemas/VectorPlaceholderParameters"
            }
          }
        }
      },
      "Text": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "id": {
            "type": "integer",
            "format": "int32"
          },
          "uuid": {
            "type": "string",
            "format": "guid",
            "nullable": true
          },
          "textValue": {
            "type": "string",
            "nullable": true
          },
          "colorOption": {
            "type": "integer",
            "format": "int32"
          },
          "colorHex": {
            "type": "string",
            "nullable": true
          },
          "outlineColorOption": {
            "type": "integer",
            "format": "int32"
          },
          "outlineColorHex": {
            "type": "string",
            "nullable": true
          },
          "fontId": {
            "type": "integer",
            "format": "int32"
          },
          "shapeOption": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "strokeColorOption": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "strokeColorHex": {
            "type": "string",
            "nullable": true
          },
          "outlinedImage": {
            "type": "string",
            "nullable": true
          },
          "strokeImage": {
            "type": "string",
            "nullable": true
          },
          "normalImage": {
            "type": "string",
            "nullable": true
          },
          "previewX": {
            "type": "number",
            "format": "double"
          },
          "previewY": {
            "type": "number",
            "format": "double"
          },
          "rotation": {
            "type": "number",
            "format": "double"
          },
          "width": {
            "type": "number",
            "format": "double"
          },
          "height": {
            "type": "number",
            "format": "double"
          },
          "useAsMask": {
            "type": "boolean"
          },
          "useAsCutout": {
            "type": "boolean"
          },
          "hideGroup": {
            "type": "boolean",
            "nullable": true
          },
          "shadowColorOption": {
            "type": "integer",
            "format": "int32"
          },
          "shadowColorHex": {
            "type": "string",
            "nullable": true
          }
        }
      },
      "VectorPlaceholder": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "id": {
            "type": "integer",
            "format": "int32"
          },
          "uuid": {
            "type": "string",
            "format": "guid",
            "nullable": true
          },
          "position": {
            "type": "integer",
            "format": "int32"
          },
          "colorPosition": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "colorHex": {
            "type": "string",
            "nullable": true
          },
          "offsetX": {
            "type": "number",
            "format": "double"
          },
          "offsetY": {
            "type": "number",
            "format": "double"
          },
          "scaleX": {
            "type": "number",
            "format": "double"
          },
          "scaleY": {
            "type": "number",
            "format": "double"
          },
          "angle": {
            "type": "number",
            "format": "double"
          },
          "hideGroup": {
            "type": "boolean",
            "nullable": true
          }
        }
      },
      "ImagePlaceholderParameters": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "fileName": {
            "type": "string",
            "nullable": true
          },
          "originalFileName": {
            "type": "string",
            "nullable": true
          },
          "uuid": {
            "type": "string",
            "format": "guid",
            "nullable": true
          },
          "position": {
            "type": "integer",
            "format": "int32"
          },
          "colorPosition": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "colorHex": {
            "type": "string",
            "nullable": true
          },
          "shadowColorPosition": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "shadowColorHex": {
            "type": "string",
            "nullable": true
          },
          "outlineColorPosition": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "outlineColorHex": {
            "type": "string",
            "nullable": true
          },
          "offsetX": {
            "type": "number",
            "format": "double"
          },
          "offsetY": {
            "type": "number",
            "format": "double"
          },
          "angle": {
            "type": "number",
            "format": "double"
          },
          "maskScaleX": {
            "type": "number",
            "format": "double"
          },
          "maskScaleY": {
            "type": "number",
            "format": "double"
          },
          "previewOriginalElementWidth": {
            "type": "number",
            "format": "double"
          },
          "previewOriginalElementHeight": {
            "type": "number",
            "format": "double"
          },
          "threshold": {
            "type": "integer",
            "format": "int32"
          },
          "isStaticImage": {
            "type": "boolean"
          },
          "id": {
            "type": "integer",
            "format": "int32"
          },
          "isHighQuality": {
            "type": "boolean",
            "default": false,
            "nullable": true
          },
          "hideGroup": {
            "type": "boolean",
            "nullable": true
          },
          "prevImageName": {
            "type": "string",
            "nullable": true
          },
          "reqAborted": {
            "type": "boolean",
            "nullable": true
          },
          "retryCount": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "fileNameOri": {
            "type": "string",
            "nullable": true
          },
          "tokenUpload": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "hasPreviewImage": {
            "type": "boolean",
            "default": false,
            "nullable": true
          },
          "textMaskUuid": {
            "type": "string",
            "nullable": true
          },
          "textMaskTop": {
            "type": "integer",
            "format": "int32"
          },
          "textMaskLeft": {
            "type": "integer",
            "format": "int32"
          },
          "textMaskWidth": {
            "type": "integer",
            "format": "int32"
          },
          "textMaskHeight": {
            "type": "integer",
            "format": "int32"
          }
        }
      },
      "VectorPlaceholderParameters": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "fileName": {
            "type": "string",
            "nullable": true
          },
          "uuid": {
            "type": "string",
            "format": "guid",
            "nullable": true
          },
          "offsetX": {
            "type": "number",
            "format": "double"
          },
          "offsetY": {
            "type": "number",
            "format": "double"
          },
          "scaleX": {
            "type": "number",
            "format": "double"
          },
          "scaleY": {
            "type": "number",
            "format": "double"
          },
          "angle": {
            "type": "number",
            "format": "double"
          },
          "colorPosition": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "colorHex": {
            "type": "string",
            "nullable": true
          },
          "id": {
            "type": "integer",
            "format": "int32"
          },
          "hideGroup": {
            "type": "boolean",
            "nullable": true
          }
        }
      },
      "MakeHighQualityImageParameters": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "data": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/EPSProductJSON"
              }
            ]
          },
          "product": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/Product"
              }
            ]
          }
        }
      },
      "Product": {
        "allOf": [
          {
            "$ref": "#/components/schemas/BaseEntity"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "id"
            ],
            "properties": {
              "ProductId": {
                "type": "integer",
                "format": "int32"
              },
              "id": {
                "type": "string",
                "format": "guid",
                "minLength": 1
              },
              "name": {
                "type": "string",
                "nullable": true
              },
              "eps": {
                "deprecated": true,
                "x-deprecatedMessage": "it will be removed when all clients uses ListEPS and doesn't need to serialize/deserialize it, please don't use this property",
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/EPS"
                  }
                ]
              },
              "ListEPS": {
                "type": "array",
                "nullable": true,
                "items": {
                  "$ref": "#/components/schemas/EPS"
                }
              },
              "preview": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/Preview"
                  }
                ]
              },
              "ListPreviews": {
                "type": "array",
                "nullable": true,
                "items": {
                  "$ref": "#/components/schemas/PreviewPage"
                }
              },
              "user": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/User"
                  }
                ]
              },
              "userId": {
                "type": "integer",
                "format": "int32"
              },
              "format": {
                "type": "string",
                "nullable": true
              },
              "colorMode": {
                "type": "string",
                "nullable": true
              },
              "ImportedFrom": {
                "type": "string",
                "format": "guid",
                "nullable": true
              },
              "TemplateProduct": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/TemplateProduct"
                  }
                ]
              },
              "templateProductId": {
                "type": "integer",
                "format": "int32",
                "nullable": true
              },
              "referenceId": {
                "type": "string",
                "nullable": true
              },
              "Groups": {
                "type": "array",
                "nullable": true,
                "items": {
                  "$ref": "#/components/schemas/ElementsGroup"
                }
              },
              "ElementsLinks": {
                "type": "array",
                "nullable": true,
                "items": {
                  "$ref": "#/components/schemas/ElementsLink"
                }
              },
              "LinkedToStoreProduct": {
                "type": "boolean"
              },
              "Deleted": {
                "type": "boolean"
              },
              "PFUrl": {
                "type": "string",
                "nullable": true
              },
              "MergeFiles": {
                "type": "boolean",
                "nullable": true
              },
              "WillUpdateOptionSets": {
                "type": "boolean"
              }
            }
          }
        ]
      },
      "EPS": {
        "allOf": [
          {
            "$ref": "#/components/schemas/BaseEntity"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "product"
            ],
            "properties": {
              "EpsId": {
                "type": "integer",
                "format": "int32"
              },
              "id": {
                "type": "integer",
                "format": "int32"
              },
              "ProductId": {
                "type": "integer",
                "format": "int32"
              },
              "product": {
                "$ref": "#/components/schemas/Product"
              },
              "Name": {
                "type": "string",
                "nullable": true
              },
              "zIndexEps": {
                "type": "integer",
                "format": "int32"
              },
              "zIndexPreview": {
                "type": "integer",
                "format": "int32"
              },
              "width": {
                "type": "number",
                "format": "double"
              },
              "height": {
                "type": "number",
                "format": "double"
              },
              "dpi": {
                "type": "number",
                "format": "double"
              },
              "exportPPI": {
                "type": "number",
                "format": "double"
              },
              "measureUnit": {
                "type": "string",
                "nullable": true
              },
              "baseImage": {
                "type": "string",
                "nullable": true
              },
              "baseEps": {
                "type": "string",
                "nullable": true
              },
              "mirror": {
                "type": "boolean"
              },
              "podPlaceholder": {
                "type": "string",
                "nullable": true
              },
              "MergeOutput": {
                "type": "boolean",
                "nullable": true
              },
              "textsEps": {
                "type": "array",
                "nullable": true,
                "items": {
                  "$ref": "#/components/schemas/TextEPS"
                }
              },
              "circularTextsEps": {
                "type": "array",
                "nullable": true,
                "items": {
                  "$ref": "#/components/schemas/CircularTextEPS"
                }
              },
              "imagePlaceHoldersEps": {
                "type": "array",
                "nullable": true,
                "items": {
                  "$ref": "#/components/schemas/ImagePlaceHolderEps"
                }
              },
              "vectorEPSEps": {
                "type": "array",
                "nullable": true,
                "items": {
                  "$ref": "#/components/schemas/VectorEPSEps"
                }
              }
            }
          }
        ]
      },
      "TextEPS": {
        "allOf": [
          {
            "$ref": "#/components/schemas/BaseCustomilyElement"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "TextId": {
                "type": "integer",
                "format": "int32"
              },
              "id": {
                "type": "integer",
                "format": "int32"
              },
              "uuid": {
                "type": "string",
                "format": "guid",
                "nullable": true
              },
              "Version": {
                "type": "string",
                "nullable": true
              },
              "centerX": {
                "type": "number",
                "format": "double"
              },
              "centerY": {
                "type": "number",
                "format": "double"
              },
              "color": {
                "type": "string",
                "nullable": true
              },
              "rotation": {
                "type": "number",
                "format": "double"
              },
              "width": {
                "type": "number",
                "format": "double"
              },
              "height": {
                "type": "number",
                "format": "double"
              },
              "minSizePx": {
                "type": "number",
                "format": "double"
              },
              "maxSizePx": {
                "type": "number",
                "format": "double"
              },
              "verticalText": {
                "type": "boolean"
              },
              "multiline": {
                "type": "boolean"
              },
              "caps": {
                "type": "boolean"
              },
              "fontPath": {
                "type": "string",
                "nullable": true
              },
              "eps": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/EPS"
                  }
                ]
              },
              "textAlign": {
                "type": "string",
                "nullable": true
              },
              "textVerticalAlign": {
                "type": "string",
                "nullable": true
              },
              "outlineColor": {
                "type": "string",
                "nullable": true
              },
              "outlineWidth": {
                "type": "number",
                "format": "decimal"
              },
              "outlineColorsMap": {
                "type": "string",
                "nullable": true
              },
              "skewX": {
                "type": "number",
                "format": "decimal"
              },
              "skewY": {
                "type": "number",
                "format": "decimal"
              },
              "zIndex": {
                "type": "integer",
                "format": "int32"
              },
              "fontsMap": {
                "type": "string",
                "nullable": true
              },
              "fontColorsMap": {
                "type": "string",
                "nullable": true
              },
              "prefix": {
                "type": "string",
                "nullable": true
              },
              "suffix": {
                "type": "string",
                "nullable": true
              },
              "betweenCharacters": {
                "type": "string",
                "nullable": true
              },
              "betweenWords": {
                "type": "string",
                "nullable": true
              },
              "textPathIgnoreLineBreaks": {
                "type": "boolean"
              },
              "Itext": {
                "type": "boolean"
              },
              "textures": {
                "type": "array",
                "nullable": true,
                "items": {
                  "$ref": "#/components/schemas/Texture"
                }
              },
              "tracking": {
                "type": "integer",
                "format": "int32"
              },
              "lineSpacing": {
                "type": "number",
                "format": "double"
              },
              "ligatures": {
                "type": "boolean"
              },
              "isTextPath": {
                "type": "boolean"
              },
              "transformOptions": {
                "type": "string",
                "nullable": true
              },
              "patternConfig": {
                "type": "string",
                "nullable": true
              },
              "shapeConfig": {
                "type": "string",
                "nullable": true
              },
              "strokeColor": {
                "type": "string",
                "nullable": true
              },
              "strokeWidth": {
                "type": "number",
                "format": "decimal",
                "nullable": true
              },
              "strokeColorsMap": {
                "type": "string",
                "nullable": true
              },
              "eps_Id": {
                "type": "integer",
                "format": "int32",
                "nullable": true
              },
              "colorLibrary": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/Library"
                  }
                ]
              },
              "colorLibraryId": {
                "type": "integer",
                "format": "int32",
                "nullable": true
              },
              "outlineColorLibrary": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/Library"
                  }
                ]
              },
              "outlineColorLibraryId": {
                "type": "integer",
                "format": "int32",
                "nullable": true
              },
              "fontLibrary": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/Library"
                  }
                ]
              },
              "fontLibraryId": {
                "type": "integer",
                "format": "int32",
                "nullable": true
              },
              "strokeColorLibrary": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/Library"
                  }
                ]
              },
              "strokeColorLibraryId": {
                "type": "integer",
                "format": "int32",
                "nullable": true
              },
              "shapeLibrary": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/Library"
                  }
                ]
              },
              "shapeLibraryId": {
                "type": "integer",
                "format": "int32",
                "nullable": true
              },
              "referenceId": {
                "type": "string",
                "nullable": true
              },
              "allowEdit": {
                "type": "boolean"
              },
              "useAsMask": {
                "type": "boolean"
              },
              "useAsCutout": {
                "type": "boolean"
              },
              "defaultValue": {
                "type": "string",
                "nullable": true
              },
              "isPersonalizableText": {
                "type": "boolean"
              },
              "initCenterX": {
                "type": "number",
                "format": "double",
                "nullable": true
              },
              "initCenterY": {
                "type": "number",
                "format": "double",
                "nullable": true
              },
              "initRotation": {
                "type": "number",
                "format": "double",
                "nullable": true
              },
              "initFontSize": {
                "type": "number",
                "format": "double",
                "nullable": true
              },
              "autofillSource": {
                "type": "string",
                "nullable": true
              },
              "dateFormat": {
                "type": "string",
                "nullable": true
              },
              "shadowType": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/ShadowType"
                  }
                ]
              },
              "shadowOffset": {
                "type": "integer",
                "format": "int32",
                "nullable": true
              },
              "shadowAngle": {
                "type": "integer",
                "format": "int32",
                "nullable": true
              },
              "shadowBlur": {
                "type": "integer",
                "format": "int32",
                "nullable": true
              },
              "shadowColor": {
                "type": "string",
                "nullable": true
              },
              "shadowColorsMap": {
                "type": "string",
                "nullable": true
              },
              "shadowColorLibrary": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/Library"
                  }
                ]
              },
              "shadowColorLibraryId": {
                "type": "integer",
                "format": "int32",
                "nullable": true
              },
              "textPath": {
                "type": "string",
                "nullable": true
              },
              "textPathAutoFit": {
                "type": "boolean"
              },
              "metadata": {
                "type": "string",
                "nullable": true
              }
            }
          }
        ]
      },
      "Texture": {
        "allOf": [
          {
            "$ref": "#/components/schemas/BaseEntity"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "textureID": {
                "type": "integer",
                "format": "int32"
              },
              "position": {
                "type": "integer",
                "format": "int32"
              },
              "texturePath": {
                "type": "string",
                "nullable": true
              },
              "textureScale": {
                "type": "integer",
                "format": "int32"
              },
              "textPreview": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/TextPreview"
                  }
                ]
              },
              "TextPreview_TextId": {
                "type": "integer",
                "format": "int32",
                "nullable": true
              },
              "textPF": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/TextEPS"
                  }
                ]
              },
              "TextPF_TextId": {
                "type": "integer",
                "format": "int32",
                "nullable": true
              }
            }
          }
        ]
      },
      "TextPreview": {
        "allOf": [
          {
            "$ref": "#/components/schemas/BaseCustomilyElement"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "TextId": {
                "type": "integer",
                "format": "int32"
              },
              "id": {
                "type": "integer",
                "format": "int32"
              },
              "uuid": {
                "type": "string",
                "format": "guid",
                "nullable": true
              },
              "Version": {
                "type": "string",
                "nullable": true
              },
              "centerX": {
                "type": "number",
                "format": "double"
              },
              "centerY": {
                "type": "number",
                "format": "double"
              },
              "color": {
                "type": "string",
                "nullable": true
              },
              "rotation": {
                "type": "number",
                "format": "double"
              },
              "width": {
                "type": "number",
                "format": "double"
              },
              "height": {
                "type": "number",
                "format": "double"
              },
              "minSizePx": {
                "type": "number",
                "format": "double"
              },
              "maxSizePx": {
                "type": "number",
                "format": "double"
              },
              "verticalText": {
                "type": "boolean"
              },
              "multiline": {
                "type": "boolean"
              },
              "caps": {
                "type": "boolean"
              },
              "fontPath": {
                "type": "string",
                "nullable": true
              },
              "preview": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/Preview"
                  }
                ]
              },
              "textAlign": {
                "type": "string",
                "nullable": true
              },
              "textVerticalAlign": {
                "type": "string",
                "nullable": true
              },
              "outlineColor": {
                "type": "string",
                "nullable": true
              },
              "outlineWidth": {
                "type": "number",
                "format": "decimal"
              },
              "outlineColorsMap": {
                "type": "string",
                "nullable": true
              },
              "skewX": {
                "type": "number",
                "format": "decimal"
              },
              "skewY": {
                "type": "number",
                "format": "decimal"
              },
              "zIndex": {
                "type": "integer",
                "format": "int32"
              },
              "fontsMap": {
                "type": "string",
                "nullable": true
              },
              "fontColorsMap": {
                "type": "string",
                "nullable": true
              },
              "prefix": {
                "type": "string",
                "nullable": true
              },
              "suffix": {
                "type": "string",
                "nullable": true
              },
              "betweenCharacters": {
                "type": "string",
                "nullable": true
              },
              "betweenWords": {
                "type": "string",
                "nullable": true
              },
              "textPathIgnoreLineBreaks": {
                "type": "boolean"
              },
              "Itext": {
                "type": "boolean"
              },
              "textures": {
                "type": "array",
                "nullable": true,
                "items": {
                  "$ref": "#/components/schemas/Texture"
                }
              },
              "tracking": {
                "type": "integer",
                "format": "int32"
              },
              "lineSpacing": {
                "type": "number",
                "format": "double"
              },
              "ligatures": {
                "type": "boolean"
              },
              "isTextPath": {
                "type": "boolean"
              },
              "transformOptions": {
                "type": "string",
                "nullable": true
              },
              "patternConfig": {
                "type": "string",
                "nullable": true
              },
              "shapeConfig": {
                "type": "string",
                "nullable": true
              },
              "strokeColor": {
                "type": "string",
                "nullable": true
              },
              "strokeWidth": {
                "type": "number",
                "format": "decimal",
                "nullable": true
              },
              "strokeColorsMap": {
                "type": "string",
                "nullable": true
              },
              "preview_ProductId": {
                "type": "integer",
                "format": "int32",
                "nullable": true
              },
              "previewPage_PreviewId": {
                "type": "integer",
                "format": "int32",
                "nullable": true
              },
              "previewPage": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/PreviewPage"
                  }
                ]
              },
              "colorLibrary": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/Library"
                  }
                ]
              },
              "colorLibraryId": {
                "type": "integer",
                "format": "int32",
                "nullable": true
              },
              "outlineColorLibrary": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/Library"
                  }
                ]
              },
              "outlineColorLibraryId": {
                "type": "integer",
                "format": "int32",
                "nullable": true
              },
              "fontLibrary": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/Library"
                  }
                ]
              },
              "fontLibraryId": {
                "type": "integer",
                "format": "int32",
                "nullable": true
              },
              "strokeColorLibrary": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/Library"
                  }
                ]
              },
              "strokeColorLibraryId": {
                "type": "integer",
                "format": "int32",
                "nullable": true
              },
              "shapeLibrary": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/Library"
                  }
                ]
              },
              "shapeLibraryId": {
                "type": "integer",
                "format": "int32",
                "nullable": true
              },
              "allowEdit": {
                "type": "boolean"
              },
              "ClipPath": {
                "type": "string",
                "nullable": true
              },
              "useAsMask": {
                "type": "boolean"
              },
              "useAsCutout": {
                "type": "boolean"
              },
              "initCenterX": {
                "type": "number",
                "format": "double",
                "nullable": true
              },
              "initCenterY": {
                "type": "number",
                "format": "double",
                "nullable": true
              },
              "initRotation": {
                "type": "number",
                "format": "double",
                "nullable": true
              },
              "initFontSize": {
                "type": "number",
                "format": "double",
                "nullable": true
              },
              "pageEpsId": {
                "type": "integer",
                "format": "int32",
                "nullable": true
              },
              "autofillSource": {
                "type": "string",
                "nullable": true
              },
              "dateFormat": {
                "type": "string",
                "nullable": true
              },
              "shadowType": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/ShadowType"
                  }
                ]
              },
              "shadowOffset": {
                "type": "integer",
                "format": "int32",
                "nullable": true
              },
              "shadowAngle": {
                "type": "integer",
                "format": "int32",
                "nullable": true
              },
              "shadowBlur": {
                "type": "integer",
                "format": "int32",
                "nullable": true
              },
              "shadowColor": {
                "type": "string",
                "nullable": true
              },
              "shadowColorsMap": {
                "type": "string",
                "nullable": true
              },
              "shadowColorLibrary": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/Library"
                  }
                ]
              },
              "shadowColorLibraryId": {
                "type": "integer",
                "format": "int32",
                "nullable": true
              },
              "textPath": {
                "type": "string",
                "nullable": true
              },
              "textPathAutoFit": {
                "type": "boolean"
              },
              "metadata": {
                "type": "string",
                "nullable": true
              },
              "defaultValue": {
                "type": "string",
                "nullable": true
              },
              "isPersonalizableText": {
                "type": "boolean"
              }
            }
          }
        ]
      },
      "Preview": {
        "allOf": [
          {
            "$ref": "#/components/schemas/BaseEntity"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "product"
            ],
            "properties": {
              "ProductId": {
                "type": "integer",
                "format": "int32"
              },
              "imagePath": {
                "type": "string",
                "nullable": true
              },
              "bgColor": {
                "type": "string",
                "nullable": true
              },
              "thumbnailPath": {
                "type": "string",
                "nullable": true
              },
              "width": {
                "type": "number",
                "format": "double"
              },
              "height": {
                "type": "number",
                "format": "double"
              },
              "textsPreview": {
                "type": "array",
                "nullable": true,
                "items": {
                  "$ref": "#/components/schemas/TextPreview"
                }
              },
              "circularTextsPreview": {
                "type": "array",
                "nullable": true,
                "items": {
                  "$ref": "#/components/schemas/CircularTextPreview"
                }
              },
              "imagePlaceHoldersPreview": {
                "type": "array",
                "nullable": true,
                "items": {
                  "$ref": "#/components/schemas/ImagePlaceHolderPreview"
                }
              },
              "vectorEPSPreview": {
                "type": "array",
                "nullable": true,
                "items": {
                  "$ref": "#/components/schemas/VectorEPSPreview"
                }
              },
              "product": {
                "$ref": "#/components/schemas/Product"
              }
            }
          }
        ]
      },
      "CircularTextPreview": {
        "allOf": [
          {
            "$ref": "#/components/schemas/BaseCustomilyElement"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "TextId": {
                "type": "integer",
                "format": "int32"
              },
              "id": {
                "type": "integer",
                "format": "int32"
              },
              "uuid": {
                "type": "string",
                "format": "guid",
                "nullable": true
              },
              "centerX": {
                "type": "number",
                "format": "double"
              },
              "centerY": {
                "type": "number",
                "format": "double"
              },
              "color": {
                "type": "string",
                "nullable": true
              },
              "rotation": {
                "type": "number",
                "format": "double"
              },
              "horizontalDiameter": {
                "type": "number",
                "format": "double"
              },
              "verticalDiameter": {
                "type": "number",
                "format": "double"
              },
              "fontSize": {
                "type": "number",
                "format": "double"
              },
              "minSizePx": {
                "type": "number",
                "format": "double",
                "nullable": true
              },
              "maxSizePx": {
                "type": "number",
                "format": "double",
                "nullable": true
              },
              "caps": {
                "type": "boolean"
              },
              "fontPath": {
                "type": "string",
                "nullable": true
              },
              "preview": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/Preview"
                  }
                ]
              },
              "convex": {
                "type": "boolean"
              },
              "tracking": {
                "type": "integer",
                "format": "int32",
                "nullable": true
              },
              "outlineColor": {
                "type": "string",
                "nullable": true
              },
              "outlineWidth": {
                "type": "number",
                "format": "decimal"
              },
              "outlineColorsMap": {
                "type": "string",
                "nullable": true
              },
              "skewX": {
                "type": "number",
                "format": "decimal"
              },
              "skewY": {
                "type": "number",
                "format": "decimal"
              },
              "zIndex": {
                "type": "integer",
                "format": "int32"
              },
              "fontsMap": {
                "type": "string",
                "nullable": true
              },
              "fontColorsMap": {
                "type": "string",
                "nullable": true
              },
              "prefix": {
                "type": "string",
                "nullable": true
              },
              "suffix": {
                "type": "string",
                "nullable": true
              },
              "metadata": {
                "type": "string",
                "nullable": true
              },
              "betweenCharacters": {
                "type": "string",
                "nullable": true
              },
              "betweenWords": {
                "type": "string",
                "nullable": true
              },
              "textAlign": {
                "type": "string",
                "nullable": true
              },
              "startAngle": {
                "type": "number",
                "format": "double",
                "nullable": true
              },
              "endAngle": {
                "type": "number",
                "format": "double",
                "nullable": true
              },
              "preview_ProductId": {
                "type": "integer",
                "format": "int32",
                "nullable": true
              },
              "previewPage_PreviewId": {
                "type": "integer",
                "format": "int32",
                "nullable": true
              },
              "previewPage": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/PreviewPage"
                  }
                ]
              },
              "colorLibrary": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/Library"
                  }
                ]
              },
              "colorLibraryId": {
                "type": "integer",
                "format": "int32",
                "nullable": true
              },
              "outlineColorLibrary": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/Library"
                  }
                ]
              },
              "outlineColorLibraryId": {
                "type": "integer",
                "format": "int32",
                "nullable": true
              },
              "fontLibrary": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/Library"
                  }
                ]
              },
              "fontLibraryId": {
                "type": "integer",
                "format": "int32",
                "nullable": true
              },
              "ClipPath": {
                "type": "string",
                "nullable": true
              },
              "pageEpsId": {
                "type": "integer",
                "format": "int32",
                "nullable": true
              },
              "defaultValue": {
                "type": "string",
                "nullable": true
              },
              "isPersonalizableText": {
                "type": "boolean"
              }
            }
          }
        ]
      },
      "PreviewPage": {
        "allOf": [
          {
            "$ref": "#/components/schemas/BaseEntity"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "product"
            ],
            "properties": {
              "PreviewId": {
                "type": "integer",
                "format": "int32"
              },
              "zIndex": {
                "type": "integer",
                "format": "int32"
              },
              "id": {
                "type": "integer",
                "format": "int32"
              },
              "ProductId": {
                "type": "integer",
                "format": "int32"
              },
              "imagePath": {
                "type": "string",
                "nullable": true
              },
              "bgColor": {
                "type": "string",
                "nullable": true
              },
              "thumbnailPath": {
                "type": "string",
                "nullable": true
              },
              "width": {
                "type": "number",
                "format": "double"
              },
              "height": {
                "type": "number",
                "format": "double"
              },
              "textsPreview": {
                "type": "array",
                "nullable": true,
                "items": {
                  "$ref": "#/components/schemas/TextPreview"
                }
              },
              "circularTextsPreview": {
                "type": "array",
                "nullable": true,
                "items": {
                  "$ref": "#/components/schemas/CircularTextPreview"
                }
              },
              "imagePlaceHoldersPreview": {
                "type": "array",
                "nullable": true,
                "items": {
                  "$ref": "#/components/schemas/ImagePlaceHolderPreview"
                }
              },
              "vectorEPSPreview": {
                "type": "array",
                "nullable": true,
                "items": {
                  "$ref": "#/components/schemas/VectorEPSPreview"
                }
              },
              "product": {
                "$ref": "#/components/schemas/Product"
              },
              "name": {
                "type": "string",
                "nullable": true
              },
              "isDefault": {
                "type": "boolean"
              }
            }
          }
        ]
      },
      "ImagePlaceHolderPreview": {
        "allOf": [
          {
            "$ref": "#/components/schemas/BaseCustomilyElement"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "ImagePlaceHolderId": {
                "type": "integer",
                "format": "int32"
              },
              "id": {
                "type": "integer",
                "format": "int32"
              },
              "uuid": {
                "type": "string",
                "format": "guid",
                "nullable": true
              },
              "imagePath": {
                "type": "string",
                "nullable": true
              },
              "width": {
                "type": "number",
                "format": "decimal"
              },
              "height": {
                "type": "number",
                "format": "decimal"
              },
              "centerX": {
                "type": "number",
                "format": "decimal"
              },
              "centerY": {
                "type": "number",
                "format": "decimal"
              },
              "rotation": {
                "type": "number",
                "format": "decimal"
              },
              "color": {
                "type": "string",
                "nullable": true
              },
              "fullColor": {
                "type": "boolean"
              },
              "grading": {
                "type": "boolean"
              },
              "opacity": {
                "type": "number",
                "format": "decimal"
              },
              "skewX": {
                "type": "number",
                "format": "decimal"
              },
              "skewY": {
                "type": "number",
                "format": "decimal"
              },
              "zIndex": {
                "type": "integer",
                "format": "int32"
              },
              "hasStaticImage": {
                "type": "boolean"
              },
              "imageUrl": {
                "type": "string",
                "nullable": true
              },
              "maskPath": {
                "type": "string",
                "nullable": true
              },
              "dynamicImagesPath": {
                "type": "string",
                "nullable": true
              },
              "mapConfig": {
                "type": "string",
                "nullable": true
              },
              "wordCloudConfig": {
                "type": "string",
                "nullable": true
              },
              "wordSearchConfig": {
                "type": "string",
                "nullable": true
              },
              "patternConfig": {
                "type": "string",
                "nullable": true
              },
              "crosswordSettings": {
                "type": "string",
                "nullable": true
              },
              "outlineWidth": {
                "type": "number",
                "format": "decimal",
                "nullable": true
              },
              "outlineColor": {
                "type": "string",
                "nullable": true
              },
              "outlineColorsMap": {
                "type": "string",
                "nullable": true
              },
              "outlineColorLibrary": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/Library"
                  }
                ]
              },
              "outlineColorLibraryId": {
                "type": "integer",
                "format": "int32",
                "nullable": true
              },
              "shadowType": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/ShadowType"
                  }
                ]
              },
              "shadowOffset": {
                "type": "integer",
                "format": "int32",
                "nullable": true
              },
              "shadowAngle": {
                "type": "integer",
                "format": "int32",
                "nullable": true
              },
              "shadowBlur": {
                "type": "integer",
                "format": "int32",
                "nullable": true
              },
              "shadowColor": {
                "type": "string",
                "nullable": true
              },
              "shadowColorsMap": {
                "type": "string",
                "nullable": true
              },
              "shadowColorLibrary": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/Library"
                  }
                ]
              },
              "shadowColorLibraryId": {
                "type": "integer",
                "format": "int32",
                "nullable": true
              },
              "coverMaskArea": {
                "type": "boolean",
                "nullable": true
              },
              "isLimitImageToPlaceholder": {
                "type": "boolean",
                "nullable": true
              },
              "rotationStep": {
                "type": "number",
                "format": "decimal",
                "nullable": true
              },
              "colors": {
                "type": "array",
                "nullable": true,
                "items": {
                  "$ref": "#/components/schemas/Color"
                }
              },
              "colorLibrary": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/Library"
                  }
                ]
              },
              "colorLibraryId": {
                "type": "integer",
                "format": "int32",
                "nullable": true
              },
              "imageLibrary": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/Library"
                  }
                ]
              },
              "imageLibraryId": {
                "type": "integer",
                "format": "int32",
                "nullable": true
              },
              "preview": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/Preview"
                  }
                ]
              },
              "Preview_ProductId": {
                "type": "integer",
                "format": "int32",
                "nullable": true
              },
              "previewPage_PreviewId": {
                "type": "integer",
                "format": "int32",
                "nullable": true
              },
              "previewPage": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/PreviewPage"
                  }
                ]
              },
              "removeWhiteBackground": {
                "type": "boolean",
                "nullable": true
              },
              "RemoveBackground": {
                "type": "boolean"
              },
              "CustomilyImageFilter": {
                "$ref": "#/components/schemas/ImageFilterType"
              },
              "CustomilyRemoveBackground": {
                "type": "boolean"
              },
              "CustomilyFaceCutOut": {
                "type": "boolean"
              },
              "cartoonize": {
                "type": "boolean",
                "deprecated": true,
                "x-deprecatedMessage": "Deprecated: VanceAI API service was shut down",
                "nullable": true
              },
              "isMoonPhase": {
                "type": "boolean",
                "nullable": true
              },
              "CutoutFace": {
                "type": "boolean",
                "nullable": true
              },
              "removeBackgroundCOP": {
                "type": "boolean",
                "nullable": true
              },
              "textToImage": {
                "type": "boolean",
                "nullable": true
              },
              "enablePerspective": {
                "type": "boolean",
                "nullable": true
              },
              "perspectiveCoords": {
                "type": "string",
                "nullable": true
              },
              "crossword": {
                "type": "boolean",
                "nullable": true
              },
              "CrosswordConfig": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/CrosswordConfig"
                  }
                ]
              },
              "CrosswordId": {
                "type": "integer",
                "format": "int32",
                "nullable": true
              },
              "calendar": {
                "type": "boolean",
                "nullable": true
              },
              "calendarConfig": {
                "type": "string",
                "nullable": true
              },
              "ImageToImage": {
                "type": "boolean",
                "nullable": true
              },
              "ImageToImageConfigJson": {
                "type": "string",
                "nullable": true
              },
              "IsColorOptions": {
                "type": "boolean"
              },
              "IsGuide": {
                "type": "boolean"
              },
              "PodProductImagesMetadata": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/PodProductImagesMetadata"
                  }
                ]
              },
              "AllowEdit": {
                "type": "boolean"
              },
              "IsProductGuidelines": {
                "type": "boolean"
              },
              "ClipPath": {
                "type": "string",
                "nullable": true
              },
              "pageEpsId": {
                "type": "integer",
                "format": "int32",
                "nullable": true
              },
              "initWidth": {
                "type": "number",
                "format": "decimal",
                "nullable": true
              },
              "initHeight": {
                "type": "number",
                "format": "decimal",
                "nullable": true
              },
              "initCenterX": {
                "type": "number",
                "format": "decimal",
                "nullable": true
              },
              "initCenterY": {
                "type": "number",
                "format": "decimal",
                "nullable": true
              },
              "initRotation": {
                "type": "number",
                "format": "decimal",
                "nullable": true
              },
              "ImageEffects": {
                "type": "string",
                "nullable": true
              },
              "AllowSwapLibraryPosition": {
                "type": "boolean"
              },
              "LimitMovement": {
                "type": "boolean"
              },
              "LockMovement": {
                "type": "boolean"
              },
              "LockScaling": {
                "type": "boolean"
              },
              "NameForLibrarySwap": {
                "type": "string",
                "nullable": true
              }
            }
          }
        ]
      },
      "Library": {
        "allOf": [
          {
            "$ref": "#/components/schemas/BaseEntity"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "LibraryId": {
                "type": "integer",
                "format": "int32"
              },
              "Name": {
                "type": "string",
                "nullable": true
              },
              "User": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/User"
                  }
                ]
              },
              "UserId": {
                "type": "integer",
                "format": "int32"
              },
              "ParentLibrary": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/Library"
                  }
                ]
              },
              "ParentLibraryId": {
                "type": "integer",
                "format": "int32",
                "nullable": true
              },
              "LibraryItemType": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/LibraryItemType"
                  }
                ]
              },
              "Type": {
                "type": "integer",
                "format": "int32"
              },
              "ColorMode": {
                "$ref": "#/components/schemas/ColorMode"
              },
              "Colors": {
                "type": "array",
                "nullable": true,
                "items": {
                  "$ref": "#/components/schemas/Color"
                }
              },
              "Fonts": {
                "type": "array",
                "nullable": true,
                "items": {
                  "$ref": "#/components/schemas/Font"
                }
              },
              "Vectors": {
                "type": "array",
                "nullable": true,
                "items": {
                  "$ref": "#/components/schemas/Vector"
                }
              },
              "Images": {
                "type": "array",
                "nullable": true,
                "items": {
                  "$ref": "#/components/schemas/Image"
                }
              },
              "Categories": {
                "type": "array",
                "nullable": true,
                "items": {
                  "$ref": "#/components/schemas/Category"
                }
              },
              "IsHidden": {
                "type": "boolean"
              },
              "SegmentationLibraries": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/SegmentationLibraries"
                  }
                ]
              },
              "SegmentLibrId": {
                "type": "integer",
                "format": "int32",
                "nullable": true
              },
              "ThumbnailPath": {
                "type": "string",
                "nullable": true
              },
              "DefaultOptionType": {
                "type": "string",
                "nullable": true
              },
              "DisplayOptionAs": {
                "type": "string",
                "nullable": true
              },
              "Deleted": {
                "type": "boolean"
              }
            }
          }
        ]
      },
      "User": {
        "allOf": [
          {
            "$ref": "#/components/schemas/BaseEntity"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "Id": {
                "type": "integer",
                "format": "int32"
              },
              "Username": {
                "type": "string",
                "nullable": true
              },
              "Password": {
                "type": "string",
                "nullable": true
              },
              "Email": {
                "type": "string",
                "nullable": true
              },
              "Name": {
                "type": "string",
                "nullable": true
              },
              "Validated": {
                "type": "boolean"
              },
              "ValidationToken": {
                "type": "string",
                "format": "guid"
              },
              "ValidationJobId": {
                "type": "string",
                "nullable": true
              },
              "PasswordResetToken": {
                "type": "string",
                "nullable": true
              },
              "PasswordResetExpiration": {
                "type": "string",
                "format": "date-time"
              },
              "PasswordResetTokenUsed": {
                "type": "boolean"
              },
              "TargetEmailUpdate": {
                "type": "string",
                "nullable": true
              },
              "EmailUpdateToken": {
                "type": "string",
                "nullable": true
              },
              "EmailUpdateExpiration": {
                "type": "string",
                "format": "date-time",
                "nullable": true
              },
              "EmailUpdateTokenUsed": {
                "type": "boolean"
              },
              "ShowCustomilyOptions": {
                "type": "boolean"
              },
              "ShowLibraries": {
                "type": "boolean"
              },
              "IsDisabled": {
                "type": "boolean",
                "default": false
              },
              "Canceled": {
                "type": "boolean"
              },
              "ManagedUsers": {
                "type": "array",
                "nullable": true,
                "items": {
                  "$ref": "#/components/schemas/User"
                }
              },
              "User_Id": {
                "type": "integer",
                "format": "int32",
                "nullable": true
              },
              "AccessRoles": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/AccessRoles"
                  }
                ]
              },
              "UserAffiliate": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/UserAffiliate"
                  }
                ]
              },
              "Products": {
                "type": "array",
                "nullable": true,
                "items": {
                  "$ref": "#/components/schemas/Product"
                }
              },
              "Fonts": {
                "type": "array",
                "nullable": true,
                "items": {
                  "$ref": "#/components/schemas/UserFont"
                }
              },
              "Masks": {
                "type": "array",
                "nullable": true,
                "items": {
                  "$ref": "#/components/schemas/UserMask"
                }
              },
              "TasksProgress": {
                "type": "array",
                "nullable": true,
                "items": {
                  "$ref": "#/components/schemas/TasksProgress"
                }
              },
              "ExporterVersion": {
                "type": "string",
                "nullable": true
              },
              "Stores": {
                "type": "array",
                "nullable": true,
                "items": {
                  "$ref": "#/components/schemas/Store"
                }
              },
              "RightToLeftText": {
                "type": "boolean",
                "nullable": true
              },
              "ImpersonatedFromAdminUser": {
                "type": "boolean"
              },
              "ImpersonatedFromParentUser": {
                "type": "boolean"
              },
              "ImpersonatedFromChildUser": {
                "type": "boolean"
              },
              "UserImpersonatedFromId": {
                "type": "integer",
                "format": "int32"
              },
              "IsEffectiveAdmin": {
                "type": "boolean"
              },
              "UserImpersonatedFrom": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/User"
                  }
                ]
              },
              "ApiKeys": {
                "type": "array",
                "nullable": true,
                "items": {
                  "$ref": "#/components/schemas/ApiKey"
                }
              },
              "RemoveBgAPIKey": {
                "type": "string",
                "nullable": true
              },
              "VanceAiAPIKey": {
                "type": "string",
                "deprecated": true,
                "x-deprecatedMessage": "Deprecated: VanceAI API service was shut down",
                "nullable": true
              },
              "CutoutproAPIKey": {
                "type": "string",
                "nullable": true
              },
              "RemoveBgFallback": {
                "type": "boolean"
              },
              "CutoutProFallback": {
                "type": "boolean"
              },
              "CanvaRefreshToken": {
                "type": "string",
                "nullable": true
              },
              "CanvaAccessToken": {
                "type": "string",
                "nullable": true
              },
              "OpenAiAPIKey": {
                "type": "string",
                "nullable": true
              },
              "SegmentLibraryImages": {
                "type": "boolean"
              },
              "SegmentLibraryEnabledOn": {
                "type": "string",
                "format": "date-time",
                "nullable": true
              },
              "UseExternalExporter": {
                "type": "boolean"
              },
              "MelcoUsername": {
                "type": "string",
                "nullable": true
              },
              "MelcoApiKey": {
                "type": "string",
                "nullable": true
              },
              "WilcomCredentials": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/WilcomCredentials"
                  }
                ]
              },
              "WilcomAppId": {
                "type": "string",
                "nullable": true
              },
              "WilcomAppKey": {
                "type": "string",
                "nullable": true
              },
              "HasWilcomCredentials": {
                "type": "boolean"
              },
              "SpotifyClientID": {
                "type": "string",
                "nullable": true
              },
              "SpotifyClientSecret": {
                "type": "string",
                "nullable": true
              },
              "CodeForReferrals": {
                "type": "string",
                "format": "guid"
              },
              "ReferredBy": {
                "type": "integer",
                "format": "int32",
                "nullable": true
              },
              "ReferredDate": {
                "type": "string",
                "format": "date-time",
                "nullable": true
              },
              "UserReview": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/UserReview"
                  }
                ]
              },
              "ProductionFastQueueEnabled": {
                "type": "boolean",
                "nullable": true
              },
              "FeatureFlags": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/FeatureFlags"
                  }
                ]
              },
              "HasMissingImage": {
                "type": "boolean"
              },
              "KeepImageColorProfile": {
                "type": "boolean"
              },
              "LimitImageDpi": {
                "type": "boolean"
              },
              "EmailHash": {
                "type": "string",
                "nullable": true
              },
              "AddTextPadding": {
                "type": "boolean"
              },
              "HasCustomilyPaymentProducts": {
                "type": "boolean"
              },
              "RequireProductionFileBilling": {
                "type": "boolean",
                "nullable": true
              },
              "OpenAiUsage": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/UserOpenAIUsage"
                  }
                ]
              },
              "GoogleGeminiAPIKey": {
                "type": "string",
                "nullable": true
              },
              "OpenRouterAPIKey": {
                "type": "string",
                "nullable": true
              },
              "PicWishAPIKey": {
                "type": "string",
                "nullable": true
              },
              "ProfilePicturePath": {
                "type": "string",
                "nullable": true
              }
            }
          }
        ]
      },
      "AccessRoles": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "Serialized": {
            "type": "string",
            "nullable": true
          }
        }
      },
      "UserAffiliate": {
        "allOf": [
          {
            "$ref": "#/components/schemas/BaseEntity"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "UserId": {
                "type": "integer",
                "format": "int32"
              },
              "PaypalEmail": {
                "type": "string",
                "nullable": true
              },
              "StampUrl": {
                "type": "string",
                "nullable": true
              },
              "User": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/User"
                  }
                ]
              }
            }
          }
        ]
      },
      "BaseEntity": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "CreatedDate": {
            "type": "string",
            "format": "date-time"
          },
          "ModifiedDate": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          }
        }
      },
      "UserFont": {
        "allOf": [
          {
            "$ref": "#/components/schemas/BaseEntity"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "Id": {
                "type": "integer",
                "format": "int32"
              },
              "Path": {
                "type": "string",
                "maxLength": 512,
                "minLength": 0,
                "nullable": true
              },
              "Name": {
                "type": "string",
                "nullable": true
              },
              "Style": {
                "type": "string",
                "nullable": true
              },
              "User": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/User"
                  }
                ]
              },
              "User_Id": {
                "type": "integer",
                "format": "int32",
                "nullable": true
              }
            }
          }
        ]
      },
      "UserMask": {
        "allOf": [
          {
            "$ref": "#/components/schemas/BaseEntity"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "Id": {
                "type": "integer",
                "format": "int32"
              },
              "Path": {
                "type": "string",
                "maxLength": 512,
                "minLength": 0,
                "nullable": true
              },
              "ThumbnailPath": {
                "type": "string",
                "maxLength": 512,
                "minLength": 0,
                "nullable": true
              },
              "Name": {
                "type": "string",
                "maxLength": 255,
                "minLength": 0,
                "nullable": true
              },
              "Type": {
                "$ref": "#/components/schemas/UserMaskType"
              },
              "User": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/User"
                  }
                ]
              },
              "User_Id": {
                "type": "integer",
                "format": "int32",
                "nullable": true
              }
            }
          }
        ]
      },
      "UserMaskType": {
        "type": "integer",
        "description": "",
        "x-enumNames": [
          "Mask",
          "TextShape",
          "CalendarMarker"
        ],
        "enum": [
          0,
          1,
          2
        ]
      },
      "TasksProgress": {
        "allOf": [
          {
            "$ref": "#/components/schemas/BaseEntity"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "ProgressIdentifier": {
                "type": "string",
                "format": "guid"
              },
              "Name": {
                "type": "string",
                "nullable": true
              },
              "User": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/User"
                  }
                ]
              },
              "User_Id": {
                "type": "integer",
                "format": "int32"
              },
              "Metadata": {
                "type": "string",
                "nullable": true
              },
              "Progress": {
                "type": "integer",
                "format": "int32"
              },
              "Error": {
                "type": "boolean"
              },
              "ErrorMessage": {
                "type": "string",
                "nullable": true
              }
            }
          }
        ]
      },
      "Store": {
        "allOf": [
          {
            "$ref": "#/components/schemas/BaseEntity"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "Id": {
                "type": "integer",
                "format": "int32"
              },
              "Type": {
                "$ref": "#/components/schemas/StoreType"
              },
              "Url": {
                "type": "string",
                "nullable": true
              },
              "Domains": {
                "type": "array",
                "nullable": true,
                "items": {
                  "$ref": "#/components/schemas/StoreDomain"
                }
              },
              "Disabled": {
                "type": "boolean"
              },
              "User": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/User"
                  }
                ]
              },
              "User_Id": {
                "type": "integer",
                "format": "int32",
                "nullable": true
              },
              "Billing": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/StoreBilling"
                  }
                ]
              },
              "Billing_Id": {
                "type": "integer",
                "format": "int32",
                "nullable": true
              },
              "ForceTrial": {
                "type": "integer",
                "format": "int32",
                "nullable": true
              },
              "ForceResubscribe": {
                "type": "boolean"
              },
              "BillingExempt": {
                "type": "boolean"
              },
              "ResubscribeEmailSentOn": {
                "type": "string",
                "format": "date-time",
                "nullable": true
              },
              "CancelReasons": {
                "type": "array",
                "nullable": true,
                "items": {
                  "$ref": "#/components/schemas/CancelReason"
                }
              },
              "PauseReasons": {
                "type": "array",
                "nullable": true,
                "items": {
                  "$ref": "#/components/schemas/PauseReason"
                }
              },
              "BillingBlocked": {
                "type": "boolean"
              },
              "HasBilling": {
                "type": "boolean"
              },
              "HasPODBilling": {
                "type": "boolean"
              },
              "HasCustomerId": {
                "type": "boolean"
              },
              "CSM": {
                "type": "string",
                "nullable": true
              },
              "TransactionFeesUnpaid": {
                "type": "boolean"
              },
              "ShopifyPlanName": {
                "type": "string",
                "maxLength": 64,
                "nullable": true
              }
            }
          }
        ]
      },
      "StoreType": {
        "type": "integer",
        "description": "",
        "x-enumNames": [
          "Undefined",
          "Shopify",
          "BigCommerce",
          "WooCommerce",
          "Magento",
          "Walmart",
          "Weebly",
          "Wix",
          "Etsy",
          "Miva",
          "Shoplazza",
          "Amazon",
          "TikTok",
          "Custom"
        ],
        "enum": [
          0,
          1,
          2,
          3,
          4,
          5,
          6,
          7,
          8,
          9,
          10,
          11,
          12,
          255
        ]
      },
      "StoreDomain": {
        "allOf": [
          {
            "$ref": "#/components/schemas/BaseEntity"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "Id": {
                "type": "integer",
                "format": "int32"
              },
              "Url": {
                "type": "string",
                "nullable": true
              },
              "ManuallyAdded": {
                "type": "boolean"
              },
              "Store": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/Store"
                  }
                ]
              },
              "Store_Id": {
                "type": "integer",
                "format": "int32",
                "nullable": true
              }
            }
          }
        ]
      },
      "StoreBilling": {
        "allOf": [
          {
            "$ref": "#/components/schemas/BaseEntity"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "Id": {
                "type": "integer",
                "format": "int32"
              },
              "StripeCustomerId": {
                "type": "string",
                "nullable": true
              },
              "SubscriptionId": {
                "type": "string",
                "nullable": true
              },
              "Status": {
                "$ref": "#/components/schemas/SubscriptionStatus"
              },
              "StatusLastModified": {
                "type": "string",
                "format": "date-time",
                "nullable": true
              },
              "RetryCount": {
                "type": "integer",
                "format": "int32"
              },
              "RetryCountLastModified": {
                "type": "string",
                "format": "date-time",
                "nullable": true
              },
              "FreeTrialEnding": {
                "type": "string",
                "format": "date-time",
                "nullable": true
              },
              "MidTrialJobId": {
                "type": "string",
                "nullable": true
              },
              "AfterStartTrialJobId": {
                "type": "string",
                "nullable": true
              },
              "OneDayAfterStartTrialJobId": {
                "type": "string",
                "nullable": true
              },
              "BeforeEndTrialJobId": {
                "type": "string",
                "nullable": true
              },
              "CanceledOn": {
                "type": "string",
                "format": "date-time",
                "nullable": true
              },
              "ActivatedOn": {
                "type": "string",
                "format": "date-time",
                "nullable": true
              },
              "CollectionPausedOn": {
                "type": "string",
                "format": "date-time",
                "nullable": true
              },
              "ActivationEmailState": {
                "$ref": "#/components/schemas/ActivationEmailState"
              },
              "IsCustomInstall": {
                "type": "boolean"
              },
              "Type": {
                "$ref": "#/components/schemas/SubscriptionType"
              }
            }
          }
        ]
      },
      "SubscriptionStatus": {
        "type": "string",
        "description": "",
        "x-enumNames": [
          "ACTIVE",
          "PAST_DUE",
          "CANCELED",
          "UNPAID",
          "TRIALING",
          "INCOMPLETE",
          "INCOMPLETE_EXPIRED",
          "PAUSED",
          "PAUSED_PAST_DUE"
        ],
        "enum": [
          "ACTIVE",
          "PAST_DUE",
          "CANCELED",
          "UNPAID",
          "TRIALING",
          "INCOMPLETE",
          "INCOMPLETE_EXPIRED",
          "PAUSED",
          "PAUSED_PAST_DUE"
        ]
      },
      "ActivationEmailState": {
        "type": "integer",
        "description": "",
        "x-enumNames": [
          "None",
          "PendingPayment",
          "PendingStatusChange",
          "Sent"
        ],
        "enum": [
          0,
          1,
          2,
          3
        ]
      },
      "SubscriptionType": {
        "type": "string",
        "description": "",
        "x-enumNames": [
          "STRIPE",
          "SHOPIFY",
          "SHOPLAZZA",
          "UNKNOWN"
        ],
        "enum": [
          "STRIPE",
          "SHOPIFY",
          "SHOPLAZZA",
          "UNKNOWN"
        ]
      },
      "CancelReason": {
        "allOf": [
          {
            "$ref": "#/components/schemas/BaseEntity"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "Id": {
                "type": "integer",
                "format": "int32"
              },
              "Type": {
                "$ref": "#/components/schemas/CancellationType"
              },
              "Details": {
                "type": "string",
                "nullable": true
              },
              "Store": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/Store"
                  }
                ]
              },
              "Store_Id": {
                "type": "integer",
                "format": "int32"
              }
            }
          }
        ]
      },
      "CancellationType": {
        "type": "integer",
        "description": "",
        "x-enumNames": [
          "WANTED_TO_TEST",
          "MISSING_FEATURE",
          "SWITCHING_TOOL",
          "NOT_SATISFIED_WITH_PRODUCTS",
          "NOT_SATISFIED_WITH_SUPPORT",
          "TOO_COMPLICATED",
          "TOO_EXPENSIVE",
          "SHUTTING_DOWN_STORE",
          "OTHER"
        ],
        "enum": [
          0,
          1,
          2,
          3,
          4,
          5,
          6,
          7,
          8
        ]
      },
      "PauseReason": {
        "allOf": [
          {
            "$ref": "#/components/schemas/BaseEntity"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "Id": {
                "type": "integer",
                "format": "int32"
              },
              "Type": {
                "$ref": "#/components/schemas/PauseType"
              },
              "Details": {
                "type": "string",
                "nullable": true
              },
              "Store": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/Store"
                  }
                ]
              },
              "Store_Id": {
                "type": "integer",
                "format": "int32"
              }
            }
          }
        ]
      },
      "PauseType": {
        "type": "integer",
        "description": "",
        "x-enumNames": [
          "STORE_NOT_LIVE",
          "SALES_GONE_DOWN",
          "BUSINESS_IS_SEASONAL",
          "FOCUSING_ON_NON_CUSTOMILY_PRODUCTS",
          "NO_TIME_FOR_CUSTOMILY",
          "OTHER"
        ],
        "enum": [
          0,
          1,
          2,
          3,
          4,
          5
        ]
      },
      "ApiKey": {
        "allOf": [
          {
            "$ref": "#/components/schemas/BaseEntity"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "Id": {
                "type": "integer",
                "format": "int32"
              },
              "Key": {
                "type": "string",
                "nullable": true
              },
              "User": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/User"
                  }
                ]
              },
              "User_Id": {
                "type": "integer",
                "format": "int32"
              }
            }
          }
        ]
      },
      "WilcomCredentials": {
        "allOf": [
          {
            "$ref": "#/components/schemas/BaseEntity"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "User_Id": {
                "type": "integer",
                "format": "int32"
              },
              "User": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/User"
                  }
                ]
              },
              "AppId": {
                "type": "string",
                "nullable": true
              },
              "AppKey": {
                "type": "string",
                "nullable": true
              }
            }
          }
        ]
      },
      "UserReview": {
        "allOf": [
          {
            "$ref": "#/components/schemas/BaseEntity"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "UserId": {
                "type": "integer",
                "format": "int32"
              },
              "User": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/User"
                  }
                ]
              },
              "MessageType": {
                "$ref": "#/components/schemas/UserReviewMessageType"
              },
              "MessageValue": {
                "type": "integer",
                "format": "int32"
              },
              "Show": {
                "type": "boolean"
              },
              "ShowedDate": {
                "type": "string",
                "format": "date-time",
                "nullable": true
              }
            }
          }
        ]
      },
      "UserReviewMessageType": {
        "type": "integer",
        "description": "",
        "x-enumNames": [
          "NotDefined",
          "Sales",
          "Templates",
          "Products"
        ],
        "enum": [
          0,
          1,
          2,
          3
        ]
      },
      "FeatureFlags": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "Id": {
            "type": "integer",
            "format": "int32"
          },
          "PodProducts": {
            "type": "boolean"
          }
        }
      },
      "UserOpenAIUsage": {
        "allOf": [
          {
            "$ref": "#/components/schemas/BaseEntity"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "User_Id": {
                "type": "integer",
                "format": "int32"
              },
              "User": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/User"
                  }
                ]
              },
              "TimesUsed": {
                "type": "integer",
                "format": "int32"
              },
              "MaxFreeUsage": {
                "type": "integer",
                "format": "int32"
              }
            }
          }
        ]
      },
      "LibraryItemType": {
        "allOf": [
          {
            "$ref": "#/components/schemas/BaseEntity"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "Name",
              "Order"
            ],
            "properties": {
              "Id": {
                "type": "integer",
                "format": "int32"
              },
              "Name": {
                "type": "string",
                "minLength": 1
              },
              "Order": {
                "type": "integer",
                "format": "int32"
              }
            }
          }
        ]
      },
      "ColorMode": {
        "type": "integer",
        "description": "",
        "x-enumNames": [
          "RGB",
          "CMYK"
        ],
        "enum": [
          0,
          1
        ]
      },
      "Color": {
        "allOf": [
          {
            "$ref": "#/components/schemas/LibraryElement"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "ColorId": {
                "type": "integer",
                "format": "int32"
              },
              "hex": {
                "type": "string",
                "nullable": true
              },
              "cmyk": {
                "type": "string",
                "nullable": true
              },
              "alpha": {
                "type": "number",
                "format": "double"
              },
              "isColorPicker": {
                "type": "boolean"
              },
              "VectorEPSEps": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/VectorEPSEps"
                  }
                ]
              },
              "VectorEPSEps_VectorEPSId": {
                "type": "integer",
                "format": "int32",
                "nullable": true
              },
              "VectorEPSPreview": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/VectorEPSPreview"
                  }
                ]
              },
              "VectorEPSPreview_VectorEPSId": {
                "type": "integer",
                "format": "int32",
                "nullable": true
              },
              "ImagePlaceholderEps": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/ImagePlaceHolderEps"
                  }
                ]
              },
              "ImagePlaceHolderEps_ImagePlaceHolderId": {
                "type": "integer",
                "format": "int32",
                "nullable": true
              },
              "ImagePlaceholderPreview": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/ImagePlaceHolderPreview"
                  }
                ]
              },
              "ImagePlaceHolderPreview_ImagePlaceHolderId": {
                "type": "integer",
                "format": "int32",
                "nullable": true
              }
            }
          }
        ]
      },
      "VectorEPSEps": {
        "allOf": [
          {
            "$ref": "#/components/schemas/BaseCustomilyElement"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "VectorEPSId": {
                "type": "integer",
                "format": "int32"
              },
              "id": {
                "type": "integer",
                "format": "int32"
              },
              "uuid": {
                "type": "string",
                "format": "guid",
                "nullable": true
              },
              "width": {
                "type": "number",
                "format": "decimal"
              },
              "height": {
                "type": "number",
                "format": "decimal"
              },
              "centerX": {
                "type": "number",
                "format": "decimal"
              },
              "centerY": {
                "type": "number",
                "format": "decimal"
              },
              "rotation": {
                "type": "number",
                "format": "decimal"
              },
              "opacity": {
                "type": "number",
                "format": "decimal"
              },
              "skewX": {
                "type": "number",
                "format": "decimal"
              },
              "skewY": {
                "type": "number",
                "format": "decimal"
              },
              "zIndex": {
                "type": "integer",
                "format": "int32"
              },
              "allowUserUpload": {
                "type": "boolean"
              },
              "coverMaskArea": {
                "type": "boolean",
                "nullable": true
              },
              "rotationStep": {
                "type": "number",
                "format": "decimal",
                "nullable": true
              },
              "colors": {
                "type": "array",
                "nullable": true,
                "items": {
                  "$ref": "#/components/schemas/Color"
                }
              },
              "vectors": {
                "type": "array",
                "nullable": true,
                "items": {
                  "$ref": "#/components/schemas/Vector"
                }
              },
              "eps": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/EPS"
                  }
                ]
              },
              "EPS_Id": {
                "type": "integer",
                "format": "int32",
                "nullable": true
              },
              "colorLibrary": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/Library"
                  }
                ]
              },
              "colorLibraryId": {
                "type": "integer",
                "format": "int32",
                "nullable": true
              },
              "vectorLibrary": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/Library"
                  }
                ]
              },
              "vectorLibraryId": {
                "type": "integer",
                "format": "int32",
                "nullable": true
              },
              "applyColoring": {
                "type": "boolean"
              },
              "starMapConfig": {
                "type": "string",
                "nullable": true
              },
              "AllowEdit": {
                "type": "boolean"
              },
              "QrConfig": {
                "type": "string",
                "nullable": true
              },
              "IsSolidBackground": {
                "type": "boolean",
                "nullable": true
              },
              "AllowSwapLibraryPosition": {
                "type": "boolean"
              },
              "initWidth": {
                "type": "number",
                "format": "decimal",
                "nullable": true
              },
              "initHeight": {
                "type": "number",
                "format": "decimal",
                "nullable": true
              },
              "initCenterX": {
                "type": "number",
                "format": "decimal",
                "nullable": true
              },
              "initCenterY": {
                "type": "number",
                "format": "decimal",
                "nullable": true
              },
              "initRotation": {
                "type": "number",
                "format": "decimal",
                "nullable": true
              },
              "LimitMovement": {
                "type": "boolean"
              },
              "LockScaling": {
                "type": "boolean"
              },
              "FitControlToContent": {
                "type": "boolean"
              }
            }
          }
        ]
      },
      "Vector": {
        "allOf": [
          {
            "$ref": "#/components/schemas/LibraryElement"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "VectorID": {
                "type": "integer",
                "format": "int32"
              },
              "svgPath": {
                "type": "string",
                "nullable": true
              },
              "epsPath": {
                "type": "string",
                "nullable": true
              },
              "ThumbnailPath": {
                "type": "string",
                "nullable": true
              },
              "VectorEPSEps": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/VectorEPSEps"
                  }
                ]
              },
              "VectorEPSEps_VectorEPSId": {
                "type": "integer",
                "format": "int32",
                "nullable": true
              },
              "VectorEPSPreview": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/VectorEPSPreview"
                  }
                ]
              },
              "VectorEPSPreview_VectorEPSId": {
                "type": "integer",
                "format": "int32",
                "nullable": true
              }
            }
          }
        ]
      },
      "VectorEPSPreview": {
        "allOf": [
          {
            "$ref": "#/components/schemas/BaseCustomilyElement"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "VectorEPSId": {
                "type": "integer",
                "format": "int32"
              },
              "id": {
                "type": "integer",
                "format": "int32"
              },
              "uuid": {
                "type": "string",
                "format": "guid",
                "nullable": true
              },
              "width": {
                "type": "number",
                "format": "decimal"
              },
              "height": {
                "type": "number",
                "format": "decimal"
              },
              "centerX": {
                "type": "number",
                "format": "decimal"
              },
              "centerY": {
                "type": "number",
                "format": "decimal"
              },
              "rotation": {
                "type": "number",
                "format": "decimal"
              },
              "opacity": {
                "type": "number",
                "format": "decimal"
              },
              "skewX": {
                "type": "number",
                "format": "decimal"
              },
              "skewY": {
                "type": "number",
                "format": "decimal"
              },
              "zIndex": {
                "type": "integer",
                "format": "int32"
              },
              "allowUserUpload": {
                "type": "boolean"
              },
              "coverMaskArea": {
                "type": "boolean",
                "nullable": true
              },
              "rotationStep": {
                "type": "number",
                "format": "decimal",
                "nullable": true
              },
              "colors": {
                "type": "array",
                "nullable": true,
                "items": {
                  "$ref": "#/components/schemas/Color"
                }
              },
              "vectors": {
                "type": "array",
                "nullable": true,
                "items": {
                  "$ref": "#/components/schemas/Vector"
                }
              },
              "preview": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/Preview"
                  }
                ]
              },
              "Preview_ProductId": {
                "type": "integer",
                "format": "int32",
                "nullable": true
              },
              "previewPage_PreviewId": {
                "type": "integer",
                "format": "int32",
                "nullable": true
              },
              "previewPage": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/PreviewPage"
                  }
                ]
              },
              "colorLibrary": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/Library"
                  }
                ]
              },
              "colorLibraryId": {
                "type": "integer",
                "format": "int32",
                "nullable": true
              },
              "vectorLibrary": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/Library"
                  }
                ]
              },
              "vectorLibraryId": {
                "type": "integer",
                "format": "int32",
                "nullable": true
              },
              "applyColoring": {
                "type": "boolean"
              },
              "starMapConfig": {
                "type": "string",
                "nullable": true
              },
              "AllowEdit": {
                "type": "boolean"
              },
              "ClipPath": {
                "type": "string",
                "nullable": true
              },
              "pageEpsId": {
                "type": "integer",
                "format": "int32",
                "nullable": true
              },
              "QrConfig": {
                "type": "string",
                "nullable": true
              },
              "IsSolidBackground": {
                "type": "boolean"
              },
              "AllowSwapLibraryPosition": {
                "type": "boolean"
              },
              "initWidth": {
                "type": "number",
                "format": "decimal",
                "nullable": true
              },
              "initHeight": {
                "type": "number",
                "format": "decimal",
                "nullable": true
              },
              "initCenterX": {
                "type": "number",
                "format": "decimal",
                "nullable": true
              },
              "initCenterY": {
                "type": "number",
                "format": "decimal",
                "nullable": true
              },
              "initRotation": {
                "type": "number",
                "format": "decimal",
                "nullable": true
              },
              "LimitMovement": {
                "type": "boolean"
              },
              "LockScaling": {
                "type": "boolean"
              },
              "FitControlToContent": {
                "type": "boolean"
              },
              "NameForLibrarySwap": {
                "type": "string",
                "nullable": true
              }
            }
          }
        ]
      },
      "BaseCustomilyElement": {
        "allOf": [
          {
            "$ref": "#/components/schemas/BaseEntity"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "locked": {
                "type": "boolean",
                "nullable": true
              },
              "visible": {
                "type": "boolean",
                "nullable": true
              },
              "flipX": {
                "type": "boolean",
                "nullable": true
              },
              "flipY": {
                "type": "boolean",
                "nullable": true
              },
              "name": {
                "type": "string",
                "nullable": true
              },
              "IsPrintArea": {
                "type": "boolean"
              },
              "IsOverlay": {
                "type": "boolean"
              },
              "GroupId": {
                "type": "string",
                "format": "guid",
                "nullable": true
              }
            }
          }
        ]
      },
      "LibraryElement": {
        "allOf": [
          {
            "$ref": "#/components/schemas/BaseEntity"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "Name": {
                "type": "string",
                "nullable": true
              },
              "Sort": {
                "type": "integer",
                "format": "int32"
              },
              "Selected": {
                "type": "boolean"
              },
              "Hidden": {
                "type": "boolean"
              },
              "OptionThumbnailPath": {
                "type": "string",
                "nullable": true
              },
              "OptionColorHex": {
                "type": "string",
                "nullable": true
              },
              "position": {
                "type": "integer",
                "format": "int32"
              },
              "Library": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/Library"
                  }
                ]
              },
              "Library_LibraryId": {
                "type": "integer",
                "format": "int32",
                "nullable": true
              },
              "LibraryCategory": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/Category"
                  }
                ]
              },
              "LibraryCategoryId": {
                "type": "integer",
                "format": "int32",
                "nullable": true
              }
            }
          }
        ]
      },
      "Category": {
        "allOf": [
          {
            "$ref": "#/components/schemas/BaseEntity"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "CategoryId": {
                "type": "integer",
                "format": "int32"
              },
              "Name": {
                "type": "string",
                "nullable": true
              },
              "Path": {
                "type": "string",
                "nullable": true
              },
              "ThumbnailPath": {
                "type": "string",
                "nullable": true
              },
              "OptionThumbnailPath": {
                "type": "string",
                "nullable": true
              },
              "OptionColorHex": {
                "type": "string",
                "nullable": true
              },
              "Library": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/Library"
                  }
                ]
              },
              "Library_LibraryId": {
                "type": "integer",
                "format": "int32"
              },
              "Colors": {
                "type": "array",
                "nullable": true,
                "items": {
                  "$ref": "#/components/schemas/Color"
                }
              },
              "Fonts": {
                "type": "array",
                "nullable": true,
                "items": {
                  "$ref": "#/components/schemas/Font"
                }
              },
              "Images": {
                "type": "array",
                "nullable": true,
                "items": {
                  "$ref": "#/components/schemas/Image"
                }
              },
              "Vectors": {
                "type": "array",
                "nullable": true,
                "items": {
                  "$ref": "#/components/schemas/Vector"
                }
              },
              "Position": {
                "type": "integer",
                "format": "int32"
              },
              "Sort": {
                "type": "integer",
                "format": "int32"
              },
              "Selected": {
                "type": "boolean"
              }
            }
          }
        ]
      },
      "Font": {
        "allOf": [
          {
            "$ref": "#/components/schemas/LibraryElement"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "FontId": {
                "type": "integer",
                "format": "int32"
              },
              "Path": {
                "type": "string",
                "nullable": true
              }
            }
          }
        ]
      },
      "Image": {
        "allOf": [
          {
            "$ref": "#/components/schemas/LibraryElement"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "ImageId": {
                "type": "integer",
                "format": "int32"
              },
              "Path": {
                "type": "string",
                "nullable": true
              },
              "ThumbnailPath": {
                "type": "string",
                "nullable": true
              }
            }
          }
        ]
      },
      "ImagePlaceHolderEps": {
        "allOf": [
          {
            "$ref": "#/components/schemas/BaseCustomilyElement"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "ImagePlaceHolderId": {
                "type": "integer",
                "format": "int32"
              },
              "id": {
                "type": "integer",
                "format": "int32"
              },
              "uuid": {
                "type": "string",
                "format": "guid",
                "nullable": true
              },
              "imagePath": {
                "type": "string",
                "nullable": true
              },
              "width": {
                "type": "number",
                "format": "decimal"
              },
              "height": {
                "type": "number",
                "format": "decimal"
              },
              "centerX": {
                "type": "number",
                "format": "decimal"
              },
              "centerY": {
                "type": "number",
                "format": "decimal"
              },
              "rotation": {
                "type": "number",
                "format": "decimal"
              },
              "color": {
                "type": "string",
                "nullable": true
              },
              "fullColor": {
                "type": "boolean"
              },
              "grading": {
                "type": "boolean"
              },
              "opacity": {
                "type": "number",
                "format": "decimal"
              },
              "skewX": {
                "type": "number",
                "format": "decimal"
              },
              "skewY": {
                "type": "number",
                "format": "decimal"
              },
              "zIndex": {
                "type": "integer",
                "format": "int32"
              },
              "hasStaticImage": {
                "type": "boolean"
              },
              "imageUrl": {
                "type": "string",
                "nullable": true
              },
              "maskPath": {
                "type": "string",
                "nullable": true
              },
              "dynamicImagesPath": {
                "type": "string",
                "nullable": true
              },
              "mapConfig": {
                "type": "string",
                "nullable": true
              },
              "wordCloudConfig": {
                "type": "string",
                "nullable": true
              },
              "wordSearchConfig": {
                "type": "string",
                "nullable": true
              },
              "patternConfig": {
                "type": "string",
                "nullable": true
              },
              "crosswordSettings": {
                "type": "string",
                "nullable": true
              },
              "crossword": {
                "type": "boolean",
                "nullable": true
              },
              "outlineWidth": {
                "type": "number",
                "format": "decimal",
                "nullable": true
              },
              "outlineColor": {
                "type": "string",
                "nullable": true
              },
              "outlineColorsMap": {
                "type": "string",
                "nullable": true
              },
              "outlineColorLibrary": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/Library"
                  }
                ]
              },
              "outlineColorLibraryId": {
                "type": "integer",
                "format": "int32",
                "nullable": true
              },
              "shadowType": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/ShadowType"
                  }
                ]
              },
              "shadowOffset": {
                "type": "integer",
                "format": "int32",
                "nullable": true
              },
              "shadowAngle": {
                "type": "integer",
                "format": "int32",
                "nullable": true
              },
              "shadowBlur": {
                "type": "integer",
                "format": "int32",
                "nullable": true
              },
              "shadowColor": {
                "type": "string",
                "nullable": true
              },
              "shadowColorsMap": {
                "type": "string",
                "nullable": true
              },
              "shadowColorLibrary": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/Library"
                  }
                ]
              },
              "shadowColorLibraryId": {
                "type": "integer",
                "format": "int32",
                "nullable": true
              },
              "CrosswordConfig": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/CrosswordConfig"
                  }
                ]
              },
              "CrosswordId": {
                "type": "integer",
                "format": "int32",
                "nullable": true
              },
              "calendar": {
                "type": "boolean",
                "nullable": true
              },
              "calendarConfig": {
                "type": "string",
                "nullable": true
              },
              "ImageToImage": {
                "type": "boolean",
                "nullable": true
              },
              "ImageToImageConfigJson": {
                "type": "string",
                "nullable": true
              },
              "coverMaskArea": {
                "type": "boolean",
                "nullable": true
              },
              "isLimitImageToPlaceholder": {
                "type": "boolean",
                "nullable": true
              },
              "rotationStep": {
                "type": "number",
                "format": "decimal",
                "nullable": true
              },
              "colors": {
                "type": "array",
                "nullable": true,
                "items": {
                  "$ref": "#/components/schemas/Color"
                }
              },
              "colorLibrary": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/Library"
                  }
                ]
              },
              "colorLibraryId": {
                "type": "integer",
                "format": "int32",
                "nullable": true
              },
              "imageLibrary": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/Library"
                  }
                ]
              },
              "imageLibraryId": {
                "type": "integer",
                "format": "int32",
                "nullable": true
              },
              "eps": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/EPS"
                  }
                ]
              },
              "EPS_Id": {
                "type": "integer",
                "format": "int32",
                "nullable": true
              },
              "removeWhiteBackground": {
                "type": "boolean",
                "nullable": true
              },
              "RemoveBackground": {
                "type": "boolean"
              },
              "CustomilyRemoveBackground": {
                "type": "boolean"
              },
              "CustomilyFaceCutOut": {
                "type": "boolean"
              },
              "CustomilyImageFilter": {
                "$ref": "#/components/schemas/ImageFilterType"
              },
              "cartoonize": {
                "type": "boolean",
                "deprecated": true,
                "x-deprecatedMessage": "Deprecated: VanceAI API service was shut down",
                "nullable": true
              },
              "isMoonPhase": {
                "type": "boolean",
                "nullable": true
              },
              "CutoutFace": {
                "type": "boolean",
                "nullable": true
              },
              "removeBackgroundCOP": {
                "type": "boolean",
                "nullable": true
              },
              "textToImage": {
                "type": "boolean",
                "nullable": true
              },
              "IsColorOptions": {
                "type": "boolean"
              },
              "IsGuide": {
                "type": "boolean"
              },
              "PodProductImagesMetadata": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/PodProductImagesMetadata"
                  }
                ]
              },
              "AllowEdit": {
                "type": "boolean"
              },
              "IsProductGuidelines": {
                "type": "boolean"
              },
              "initWidth": {
                "type": "number",
                "format": "decimal",
                "nullable": true
              },
              "initHeight": {
                "type": "number",
                "format": "decimal",
                "nullable": true
              },
              "initCenterX": {
                "type": "number",
                "format": "decimal",
                "nullable": true
              },
              "initCenterY": {
                "type": "number",
                "format": "decimal",
                "nullable": true
              },
              "initRotation": {
                "type": "number",
                "format": "decimal",
                "nullable": true
              },
              "ImageEffects": {
                "type": "string",
                "nullable": true
              },
              "AllowSwapLibraryPosition": {
                "type": "boolean"
              },
              "LimitMovement": {
                "type": "boolean"
              },
              "LockMovement": {
                "type": "boolean"
              },
              "LockScaling": {
                "type": "boolean"
              }
            }
          }
        ]
      },
      "ShadowType": {
        "type": "integer",
        "description": "",
        "x-enumNames": [
          "Drop",
          "Blurred"
        ],
        "enum": [
          0,
          1
        ]
      },
      "CrosswordConfig": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "Id": {
            "type": "integer",
            "format": "int32"
          },
          "Path": {
            "type": "string",
            "nullable": true
          }
        }
      },
      "ImageFilterType": {
        "type": "integer",
        "description": "",
        "x-enumNames": [
          "none",
          "cartoon",
          "edge",
          "grayscale",
          "hdr",
          "invert",
          "pencil",
          "sepia",
          "sharpen",
          "sketch",
          "white_removal",
          "blur",
          "aqua"
        ],
        "enum": [
          0,
          1,
          2,
          3,
          4,
          5,
          6,
          7,
          8,
          9,
          10,
          11,
          12
        ]
      },
      "PodProductImagesMetadata": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "Blueprint": {
            "type": "integer",
            "format": "int32"
          },
          "Images": {
            "type": "array",
            "nullable": true,
            "items": {
              "$ref": "#/components/schemas/PodImage"
            }
          }
        }
      },
      "PodImage": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "Position": {
            "type": "integer",
            "format": "int32"
          },
          "Variant": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/PodVariant"
              }
            ]
          },
          "Path": {
            "type": "string",
            "nullable": true
          }
        }
      },
      "PodVariant": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "Id": {
            "type": "integer",
            "format": "int32"
          },
          "Options": {
            "type": "object",
            "nullable": true,
            "additionalProperties": {
              "type": "string"
            }
          }
        }
      },
      "SegmentationLibraries": {
        "allOf": [
          {
            "$ref": "#/components/schemas/BaseEntity"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "SegmentationLibrariesId": {
                "type": "integer",
                "format": "int32"
              },
              "PrimaryLibrary": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/Library"
                  }
                ]
              },
              "PrimaryLibraryId": {
                "type": "integer",
                "format": "int32"
              },
              "SecondaryLibrary": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/Library"
                  }
                ]
              },
              "SecondaryLibraryId": {
                "type": "integer",
                "format": "int32"
              },
              "SWidth": {
                "type": "integer",
                "format": "int32"
              },
              "SHeight": {
                "type": "integer",
                "format": "int32"
              },
              "SCenterX": {
                "type": "integer",
                "format": "int32"
              },
              "SCenterY": {
                "type": "integer",
                "format": "int32"
              }
            }
          }
        ]
      },
      "CircularTextEPS": {
        "allOf": [
          {
            "$ref": "#/components/schemas/BaseCustomilyElement"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "TextId": {
                "type": "integer",
                "format": "int32"
              },
              "id": {
                "type": "integer",
                "format": "int32"
              },
              "uuid": {
                "type": "string",
                "format": "guid",
                "nullable": true
              },
              "centerX": {
                "type": "number",
                "format": "double"
              },
              "centerY": {
                "type": "number",
                "format": "double"
              },
              "color": {
                "type": "string",
                "nullable": true
              },
              "rotation": {
                "type": "number",
                "format": "double"
              },
              "horizontalDiameter": {
                "type": "number",
                "format": "double"
              },
              "verticalDiameter": {
                "type": "number",
                "format": "double"
              },
              "fontSize": {
                "type": "number",
                "format": "double"
              },
              "minSizePx": {
                "type": "number",
                "format": "double",
                "nullable": true
              },
              "maxSizePx": {
                "type": "number",
                "format": "double",
                "nullable": true
              },
              "caps": {
                "type": "boolean"
              },
              "fontPath": {
                "type": "string",
                "nullable": true
              },
              "eps": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/EPS"
                  }
                ]
              },
              "convex": {
                "type": "boolean"
              },
              "tracking": {
                "type": "integer",
                "format": "int32",
                "nullable": true
              },
              "outlineColor": {
                "type": "string",
                "nullable": true
              },
              "outlineWidth": {
                "type": "number",
                "format": "decimal"
              },
              "outlineColorsMap": {
                "type": "string",
                "nullable": true
              },
              "skewX": {
                "type": "number",
                "format": "decimal"
              },
              "skewY": {
                "type": "number",
                "format": "decimal"
              },
              "zIndex": {
                "type": "integer",
                "format": "int32"
              },
              "fontsMap": {
                "type": "string",
                "nullable": true
              },
              "fontColorsMap": {
                "type": "string",
                "nullable": true
              },
              "prefix": {
                "type": "string",
                "nullable": true
              },
              "suffix": {
                "type": "string",
                "nullable": true
              },
              "metadata": {
                "type": "string",
                "nullable": true
              },
              "betweenCharacters": {
                "type": "string",
                "nullable": true
              },
              "betweenWords": {
                "type": "string",
                "nullable": true
              },
              "textAlign": {
                "type": "string",
                "nullable": true
              },
              "startAngle": {
                "type": "number",
                "format": "double",
                "nullable": true
              },
              "endAngle": {
                "type": "number",
                "format": "double",
                "nullable": true
              },
              "eps_Id": {
                "type": "integer",
                "format": "int32",
                "nullable": true
              },
              "colorLibrary": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/Library"
                  }
                ]
              },
              "colorLibraryId": {
                "type": "integer",
                "format": "int32",
                "nullable": true
              },
              "outlineColorLibrary": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/Library"
                  }
                ]
              },
              "outlineColorLibraryId": {
                "type": "integer",
                "format": "int32",
                "nullable": true
              },
              "fontLibrary": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/Library"
                  }
                ]
              },
              "fontLibraryId": {
                "type": "integer",
                "format": "int32",
                "nullable": true
              },
              "referenceId": {
                "type": "string",
                "nullable": true
              },
              "defaultValue": {
                "type": "string",
                "nullable": true
              },
              "isPersonalizableText": {
                "type": "boolean"
              }
            }
          }
        ]
      },
      "TemplateProduct": {
        "allOf": [
          {
            "$ref": "#/components/schemas/Product"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "TemplateProductVariants": {
                "type": "array",
                "nullable": true,
                "items": {
                  "$ref": "#/components/schemas/TemplateProductVariant"
                }
              },
              "PodAssignments": {
                "type": "array",
                "nullable": true,
                "items": {
                  "$ref": "#/components/schemas/PodAssignment"
                }
              },
              "PodId": {
                "type": "integer",
                "format": "int32"
              },
              "PodProvider": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/PodProvider"
                  }
                ]
              },
              "Description": {
                "type": "string",
                "nullable": true
              },
              "ParentId": {
                "type": "string",
                "format": "guid",
                "nullable": true
              },
              "IsSampleTemplate": {
                "type": "boolean",
                "nullable": true
              },
              "Linked": {
                "type": "boolean"
              },
              "PodProductId": {
                "type": "string",
                "nullable": true
              },
              "DesignCategories": {
                "type": "array",
                "nullable": true,
                "items": {
                  "$ref": "#/components/schemas/DesignCategoryTemplateProduct"
                }
              }
            }
          }
        ]
      },
      "TemplateProductVariant": {
        "allOf": [
          {
            "$ref": "#/components/schemas/BaseEntity"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "Id": {
                "type": "integer",
                "format": "int32"
              },
              "Name": {
                "type": "string",
                "nullable": true
              },
              "Value": {
                "type": "string",
                "nullable": true
              },
              "TemplateProductId": {
                "type": "integer",
                "format": "int32"
              },
              "ImageLibraryPosition": {
                "type": "integer",
                "format": "int32",
                "nullable": true
              },
              "TemplateProduct": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/TemplateProduct"
                  }
                ]
              }
            }
          }
        ]
      },
      "PodAssignment": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "PodService",
          "ProductId",
          "PlaceholderId"
        ],
        "properties": {
          "Id": {
            "type": "integer",
            "format": "int32"
          },
          "TemplateProductId": {
            "type": "integer",
            "format": "int32"
          },
          "PodService": {
            "$ref": "#/components/schemas/PodService"
          },
          "ProductId": {
            "type": "string",
            "minLength": 1
          },
          "VariantId": {
            "type": "string",
            "nullable": true
          },
          "PrintProviderId": {
            "type": "string",
            "nullable": true
          },
          "PlaceholderId": {
            "type": "string",
            "minLength": 1
          },
          "TemplateProduct": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/TemplateProduct"
              }
            ]
          }
        }
      },
      "PodService": {
        "type": "string",
        "description": "",
        "x-enumNames": [
          "PRINTFUL",
          "PRINTIFY",
          "CUSTOMILY"
        ],
        "enum": [
          "PRINTFUL",
          "PRINTIFY",
          "CUSTOMILY"
        ]
      },
      "PodProvider": {
        "allOf": [
          {
            "$ref": "#/components/schemas/BaseEntity"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "Id": {
                "type": "integer",
                "format": "int32"
              },
              "Name": {
                "type": "string",
                "nullable": true
              },
              "ImageURL": {
                "type": "string",
                "nullable": true
              },
              "ApiKeyReference": {
                "type": "string",
                "nullable": true
              },
              "Description": {
                "type": "string",
                "nullable": true
              },
              "Tooltip": {
                "type": "string",
                "nullable": true
              },
              "Available": {
                "type": "boolean"
              },
              "ComingSoon": {
                "type": "boolean",
                "nullable": true
              },
              "IsUserPod": {
                "type": "boolean"
              },
              "Order": {
                "type": "integer",
                "format": "int32",
                "nullable": true
              },
              "ProductPriority": {
                "type": "integer",
                "format": "int32",
                "nullable": true
              },
              "AllowsGrouping": {
                "type": "boolean"
              },
              "TemplateProducts": {
                "type": "array",
                "nullable": true,
                "items": {
                  "$ref": "#/components/schemas/TemplateProduct"
                }
              },
              "CreateOrderUrl": {
                "type": "string",
                "nullable": true
              },
              "PaymentProcessedByCustomily": {
                "type": "boolean"
              }
            }
          }
        ]
      },
      "DesignCategoryTemplateProduct": {
        "allOf": [
          {
            "$ref": "#/components/schemas/BaseEntity"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "Id": {
                "type": "integer",
                "format": "int32"
              },
              "ProductId": {
                "type": "integer",
                "format": "int32"
              },
              "DesignCategoryId": {
                "type": "integer",
                "format": "int32"
              },
              "TemplateProduct": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/TemplateProduct"
                  }
                ]
              },
              "DesignCategory": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/DesignCategory"
                  }
                ]
              }
            }
          }
        ]
      },
      "DesignCategory": {
        "allOf": [
          {
            "$ref": "#/components/schemas/BaseEntity"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "Id": {
                "type": "integer",
                "format": "int32"
              },
              "Description": {
                "type": "string",
                "nullable": true
              },
              "ThumbnailPath": {
                "type": "string",
                "nullable": true
              },
              "HiddenByDefault": {
                "type": "boolean"
              },
              "DesignCategoryDesigns": {
                "type": "array",
                "nullable": true,
                "items": {
                  "$ref": "#/components/schemas/DesignCategoryDesign"
                }
              },
              "DesignCategoryTemplateProducts": {
                "type": "array",
                "nullable": true,
                "items": {
                  "$ref": "#/components/schemas/DesignCategoryTemplateProduct"
                }
              }
            }
          }
        ]
      },
      "DesignCategoryDesign": {
        "allOf": [
          {
            "$ref": "#/components/schemas/BaseEntity"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "Id": {
                "type": "integer",
                "format": "int32"
              },
              "DesignId": {
                "type": "integer",
                "format": "int32"
              },
              "DesignCategoryId": {
                "type": "integer",
                "format": "int32"
              },
              "Design": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/Design"
                  }
                ]
              },
              "DesignCategory": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/DesignCategory"
                  }
                ]
              }
            }
          }
        ]
      },
      "Design": {
        "allOf": [
          {
            "$ref": "#/components/schemas/BaseEntity"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "DesignCategories": {
                "type": "array",
                "nullable": true,
                "items": {
                  "$ref": "#/components/schemas/DesignCategoryDesign"
                }
              },
              "Id": {
                "type": "integer",
                "format": "int32"
              },
              "Uuid": {
                "type": "string",
                "format": "guid"
              },
              "UserId": {
                "type": "integer",
                "format": "int32"
              },
              "Images": {
                "type": "array",
                "nullable": true,
                "items": {
                  "type": "string"
                }
              },
              "Title": {
                "type": "string",
                "nullable": true
              },
              "Subtitle": {
                "type": "string",
                "nullable": true
              },
              "OptionSetId": {
                "type": "string",
                "nullable": true
              },
              "IsMyDesign": {
                "type": "boolean"
              },
              "DesignTemplateIds": {
                "type": "array",
                "nullable": true,
                "items": {
                  "type": "string",
                  "format": "guid"
                }
              },
              "DesignCategoryIds": {
                "type": "array",
                "nullable": true,
                "items": {
                  "type": "integer",
                  "format": "int32"
                }
              },
              "Imported": {
                "type": "string",
                "format": "guid",
                "nullable": true
              },
              "IsOptionSetReady": {
                "type": "boolean"
              },
              "SnapshotUrl": {
                "type": "string",
                "nullable": true
              },
              "DeletedDate": {
                "type": "string",
                "format": "date-time",
                "nullable": true
              }
            }
          }
        ]
      },
      "ElementsGroup": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "Id": {
            "type": "string",
            "format": "guid"
          },
          "Uuid": {
            "type": "string",
            "format": "guid"
          },
          "Name": {
            "type": "string",
            "nullable": true
          },
          "zIndex": {
            "type": "integer",
            "format": "int32"
          },
          "Locked": {
            "type": "boolean"
          },
          "Visible": {
            "type": "boolean"
          },
          "Type": {
            "$ref": "#/components/schemas/GroupType"
          },
          "Position": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "Product_ProductId": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "ParentId": {
            "type": "string",
            "format": "guid",
            "nullable": true
          },
          "Parent": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/ElementsGroup"
              }
            ]
          },
          "SpotifyPlayer": {
            "type": "boolean",
            "nullable": true
          },
          "MusicProvider": {
            "type": "integer",
            "format": "int32"
          },
          "IsLayout": {
            "type": "boolean",
            "nullable": true
          },
          "Children": {
            "type": "array",
            "nullable": true,
            "items": {
              "$ref": "#/components/schemas/ElementsGroup"
            }
          }
        }
      },
      "GroupType": {
        "type": "string",
        "description": "",
        "x-enumNames": [
          "PREVIEW",
          "EPS"
        ],
        "enum": [
          "PREVIEW",
          "EPS"
        ]
      },
      "ElementsLink": {
        "allOf": [
          {
            "$ref": "#/components/schemas/BaseEntity"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "Id": {
                "type": "integer",
                "format": "int32"
              },
              "ProductId": {
                "type": "integer",
                "format": "int32",
                "nullable": true
              },
              "SourceId": {
                "type": "string",
                "format": "guid"
              },
              "SourceType": {
                "$ref": "#/components/schemas/ElementType"
              },
              "TargetId": {
                "type": "string",
                "format": "guid"
              },
              "TargetType": {
                "$ref": "#/components/schemas/ElementType"
              },
              "ValueFormat": {
                "$ref": "#/components/schemas/ValueFormat"
              }
            }
          }
        ]
      },
      "ElementType": {
        "type": "integer",
        "description": "",
        "x-enumNames": [
          "Text",
          "Map",
          "Image"
        ],
        "enum": [
          1,
          2,
          3
        ]
      },
      "ValueFormat": {
        "type": "integer",
        "description": "",
        "x-enumNames": [
          "MapCoordinatesDMS",
          "MapCoordinatesDD",
          "TextAsMask",
          "TextAsCutout",
          "Pattern"
        ],
        "enum": [
          1,
          2,
          3,
          4,
          5
        ]
      },
      "GenerateSvgQrDTO": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "Text"
        ],
        "properties": {
          "Text": {
            "type": "string",
            "minLength": 1
          },
          "PixelSize": {
            "type": "integer",
            "format": "int32"
          },
          "LightColor": {
            "type": "string",
            "nullable": true
          },
          "DarkColor": {
            "type": "string",
            "nullable": true
          }
        }
      },
      "CheckoutRequestDTO": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "StoreType": {
            "type": "string",
            "nullable": true
          }
        }
      },
      "BestMatchPodManualDTO": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "PodId": {
            "type": "integer",
            "format": "int32"
          },
          "ProductId": {
            "type": "string",
            "nullable": true
          },
          "Placeholders": {
            "type": "array",
            "nullable": true,
            "items": {
              "type": "string"
            }
          }
        }
      },
      "DesignPrintAreaDTO": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "DesignId": {
            "type": "string",
            "nullable": true
          },
          "DesignSnapshotUrl": {
            "type": "string",
            "nullable": true
          },
          "PrintAreaId": {
            "type": "string",
            "nullable": true
          }
        }
      },
      "IsOptionSetReadyDTO": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "Username": {
            "type": "string",
            "nullable": true
          },
          "OptionSetId": {
            "type": "string",
            "nullable": true
          }
        }
      },
      "PodPlaceholdersDTO": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "ProductId",
          "PodService",
          "Placeholders"
        ],
        "properties": {
          "ProductId": {
            "type": "string",
            "minLength": 1
          },
          "PodService": {
            "$ref": "#/components/schemas/PodService"
          },
          "Placeholders": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/PodPlaceholderDTO"
            }
          }
        }
      },
      "PodPlaceholderDTO": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "PlaceholderId",
          "VariantId"
        ],
        "properties": {
          "PlaceholderId": {
            "type": "string",
            "minLength": 1
          },
          "VariantId": {
            "type": "string",
            "minLength": 1
          },
          "PrintProviderId": {
            "type": "string",
            "nullable": true
          }
        }
      },
      "SharedCustomizationJSON": {
        "allOf": [
          {
            "$ref": "#/components/schemas/BaseCustomization"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "personalizationId": {
                "type": "string",
                "format": "guid",
                "nullable": true
              },
              "groupsVisibility": {
                "type": "array",
                "nullable": true,
                "items": {
                  "type": "integer",
                  "format": "int32",
                  "nullable": true
                }
              },
              "options": {
                "type": "array",
                "nullable": true,
                "items": {
                  "$ref": "#/components/schemas/OptionItem"
                }
              }
            }
          }
        ]
      },
      "OptionItem": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "id": {
            "type": "integer",
            "format": "int32"
          },
          "sortId": {
            "type": "integer",
            "format": "int32"
          },
          "setId": {
            "type": "string",
            "nullable": true
          },
          "setSortId": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "name": {
            "type": "string",
            "nullable": true
          },
          "value": {
            "type": "string",
            "nullable": true
          },
          "values": {
            "type": "array",
            "nullable": true,
            "items": {
              "type": "string"
            }
          },
          "type": {
            "type": "string",
            "nullable": true
          },
          "moonPhaseId": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "uploadedIds": {
            "type": "array",
            "nullable": true,
            "items": {
              "type": "integer",
              "format": "int32"
            }
          },
          "isVisible": {
            "type": "boolean"
          },
          "mapConfig": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/MapElementConfig"
              }
            ]
          },
          "starMapConfig": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/StarMapElementConfig"
              }
            ]
          },
          "valueDetails": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/OptionItemValueDetails"
              }
            ]
          }
        }
      },
      "MapElementConfig": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "defaultStyle": {
            "type": "string",
            "nullable": true
          },
          "latitude": {
            "type": "number",
            "format": "decimal"
          },
          "longitude": {
            "type": "number",
            "format": "decimal"
          },
          "zoom": {
            "type": "number",
            "format": "decimal"
          },
          "locationName": {
            "type": "string",
            "nullable": true
          }
        }
      },
      "StarMapElementConfig": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "selectedLocation": {
            "type": "array",
            "nullable": true,
            "items": {
              "type": "string"
            }
          },
          "selectedDate": {
            "type": "string",
            "nullable": true
          },
          "shopperConfigEnabled": {
            "type": "boolean",
            "nullable": true
          },
          "showConstellations": {
            "type": "boolean",
            "nullable": true
          },
          "showMilkyWay": {
            "type": "boolean",
            "nullable": true
          },
          "showGridLines": {
            "type": "boolean",
            "nullable": true
          },
          "defaultStyle": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/StarMapStyle"
              }
            ]
          },
          "availableStyles": {
            "type": "array",
            "nullable": true,
            "items": {
              "$ref": "#/components/schemas/StarMapStyle"
            }
          },
          "image": {
            "type": "string",
            "nullable": true
          },
          "vector": {
            "type": "string",
            "nullable": true
          }
        }
      },
      "StarMapStyle": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "label": {
            "type": "string",
            "nullable": true
          },
          "background": {
            "type": "string",
            "nullable": true
          },
          "backgroundOpacity": {
            "type": "number",
            "format": "decimal"
          },
          "elements": {
            "type": "string",
            "nullable": true
          }
        }
      },
      "OptionItemValueDetails": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "hasTemplateFunc": {
            "type": "boolean"
          },
          "details": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/OptionValueDetail"
              }
            ]
          }
        }
      },
      "OptionValueDetail": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "id": {
            "type": "integer",
            "format": "int32"
          },
          "sort_id": {
            "type": "integer",
            "format": "int32"
          },
          "value": {
            "type": "string",
            "nullable": true
          },
          "product_id": {
            "type": "string",
            "nullable": true
          }
        }
      },
      "ImageFilterRequestDTO": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "sessionId": {
            "type": "string",
            "nullable": true
          },
          "user": {
            "type": "string",
            "nullable": true
          },
          "name": {
            "type": "string",
            "nullable": true
          },
          "removeBg": {
            "type": "boolean"
          },
          "customilyRmbg": {
            "type": "boolean"
          },
          "customilyRmbgModel": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "customilyImageFilter": {
            "type": "integer",
            "format": "int32"
          },
          "customilyFaceCutOut": {
            "type": "boolean"
          },
          "faceCutout": {
            "type": "boolean"
          },
          "removeBgCOP": {
            "type": "boolean"
          },
          "isPreview": {
            "type": "boolean"
          },
          "imageToImage": {
            "type": "boolean"
          },
          "imageToImagePrompt": {
            "type": "string",
            "nullable": true
          },
          "imageToImageQuality": {
            "type": "string",
            "nullable": true
          },
          "imageToImageSize": {
            "type": "string",
            "nullable": true
          },
          "imageToImageBackground": {
            "type": "string",
            "nullable": true
          },
          "upgradeToHighQuality": {
            "type": "boolean"
          }
        }
      },
      "LibraryType": {
        "type": "integer",
        "description": "",
        "x-enumNames": [
          "Color",
          "Font",
          "Vector",
          "Image"
        ],
        "enum": [
          0,
          1,
          2,
          3
        ]
      },
      "LibraryApiDTO": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "Id": {
            "type": "integer",
            "format": "int32"
          },
          "Name": {
            "type": "string",
            "nullable": true
          },
          "ColorMode": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/ColorMode"
              }
            ]
          },
          "Type": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/LibraryType"
              }
            ]
          },
          "NeedUploadFiles": {
            "type": "boolean",
            "nullable": true
          },
          "ThumbnailPath": {
            "type": "string",
            "nullable": true
          },
          "Categories": {
            "type": "array",
            "nullable": true,
            "items": {
              "$ref": "#/components/schemas/CategoryApiDTO"
            }
          },
          "Colors": {
            "type": "array",
            "nullable": true,
            "items": {
              "$ref": "#/components/schemas/ColorApiDTO"
            }
          },
          "Fonts": {
            "type": "array",
            "nullable": true,
            "items": {
              "$ref": "#/components/schemas/FontApiDTO"
            }
          },
          "Images": {
            "type": "array",
            "nullable": true,
            "items": {
              "$ref": "#/components/schemas/ImageApiDTO"
            }
          },
          "Vectors": {
            "type": "array",
            "nullable": true,
            "items": {
              "$ref": "#/components/schemas/VectorApiDTO"
            }
          }
        }
      },
      "CategoryApiDTO": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "Id": {
            "type": "integer",
            "format": "int32"
          },
          "Name": {
            "type": "string",
            "nullable": true
          },
          "Url": {
            "type": "string",
            "nullable": true
          },
          "ThumbnailUrl": {
            "type": "string",
            "nullable": true
          },
          "Colors": {
            "type": "array",
            "nullable": true,
            "items": {
              "$ref": "#/components/schemas/ColorApiDTO"
            }
          },
          "Fonts": {
            "type": "array",
            "nullable": true,
            "items": {
              "$ref": "#/components/schemas/FontApiDTO"
            }
          },
          "Images": {
            "type": "array",
            "nullable": true,
            "items": {
              "$ref": "#/components/schemas/ImageApiDTO"
            }
          },
          "Vectors": {
            "type": "array",
            "nullable": true,
            "items": {
              "$ref": "#/components/schemas/VectorApiDTO"
            }
          }
        }
      },
      "ColorApiDTO": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "Name": {
            "type": "string",
            "nullable": true
          },
          "Position": {
            "type": "integer",
            "format": "int32"
          },
          "Hex": {
            "type": "string",
            "nullable": true
          },
          "Cmyk": {
            "type": "string",
            "nullable": true
          },
          "Alpha": {
            "type": "number",
            "format": "double"
          }
        }
      },
      "FontApiDTO": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "Name": {
            "type": "string",
            "nullable": true
          },
          "Position": {
            "type": "integer",
            "format": "int32"
          },
          "Url": {
            "type": "string",
            "nullable": true
          },
          "Path": {
            "type": "string",
            "nullable": true
          }
        }
      },
      "ImageApiDTO": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "Name": {
            "type": "string",
            "nullable": true
          },
          "Position": {
            "type": "integer",
            "format": "int32"
          },
          "Url": {
            "type": "string",
            "nullable": true
          },
          "ThumbnailUrl": {
            "type": "string",
            "nullable": true
          }
        }
      },
      "VectorApiDTO": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "Name": {
            "type": "string",
            "nullable": true
          },
          "Position": {
            "type": "integer",
            "format": "int32"
          },
          "Url": {
            "type": "string",
            "nullable": true
          },
          "SvgPath": {
            "type": "string",
            "nullable": true
          },
          "EpsPath": {
            "type": "string",
            "nullable": true
          },
          "ThumbnailPath": {
            "type": "string",
            "nullable": true
          }
        }
      },
      "ElementsCreationDTO": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "LibraryType": {
            "$ref": "#/components/schemas/LibraryType"
          },
          "Position": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "Fonts": {
            "type": "array",
            "nullable": true,
            "items": {
              "$ref": "#/components/schemas/NewFontDTO"
            }
          },
          "Colors": {
            "type": "array",
            "nullable": true,
            "items": {
              "$ref": "#/components/schemas/NewColorDTO"
            }
          },
          "Images": {
            "type": "array",
            "nullable": true,
            "items": {
              "$ref": "#/components/schemas/NewImageDTO"
            }
          },
          "Vectors": {
            "type": "array",
            "nullable": true,
            "items": {
              "$ref": "#/components/schemas/NewVectorDTO"
            }
          }
        }
      },
      "NewFontDTO": {
        "allOf": [
          {
            "$ref": "#/components/schemas/NewElementDTO"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "Path": {
                "type": "string",
                "nullable": true
              }
            }
          }
        ]
      },
      "NewElementDTO": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "LibraryCategoryId": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "Name": {
            "type": "string",
            "nullable": true
          },
          "OptionThumbnailPath": {
            "type": "string",
            "nullable": true
          },
          "OptionColorHex": {
            "type": "string",
            "nullable": true
          }
        }
      },
      "NewColorDTO": {
        "allOf": [
          {
            "$ref": "#/components/schemas/NewElementDTO"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "Hex": {
                "type": "string",
                "nullable": true
              },
              "Cmyk": {
                "type": "string",
                "nullable": true
              },
              "Alpha": {
                "type": "number",
                "format": "double"
              }
            }
          }
        ]
      },
      "NewImageDTO": {
        "allOf": [
          {
            "$ref": "#/components/schemas/NewElementDTO"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "Path": {
                "type": "string",
                "nullable": true
              },
              "ThumbnailPath": {
                "type": "string",
                "nullable": true
              }
            }
          }
        ]
      },
      "NewVectorDTO": {
        "allOf": [
          {
            "$ref": "#/components/schemas/NewElementDTO"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "SvgPath": {
                "type": "string",
                "nullable": true
              },
              "EpsPath": {
                "type": "string",
                "nullable": true
              },
              "ThumbnailPath": {
                "type": "string",
                "nullable": true
              }
            }
          }
        ]
      },
      "ChangeElementsCategoryDTO": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "OldLibraryCategoryId": {
            "type": "integer",
            "format": "int32"
          },
          "NewLibraryCategoryId": {
            "type": "integer",
            "format": "int32"
          },
          "ElementsId": {
            "type": "array",
            "nullable": true,
            "items": {
              "type": "integer",
              "format": "int32"
            }
          }
        }
      },
      "LibrarySortMode": {
        "type": "integer",
        "description": "",
        "x-enumNames": [
          "ASCENDING",
          "DESCENDING"
        ],
        "enum": [
          1,
          2
        ]
      },
      "LibrarySortColumn": {
        "type": "integer",
        "description": "",
        "x-enumNames": [
          "Name",
          "Option"
        ],
        "enum": [
          0,
          1
        ]
      },
      "LibraryVersionDTO": {
        "type": "object",
        "additionalProperties": false
      },
      "BulkUploadLibraryDTO": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "ZipName": {
            "type": "string",
            "nullable": true
          },
          "ZipIdentifier": {
            "type": "string",
            "nullable": true
          }
        }
      },
      "LibrariesPositionDTO": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "LibraryIds": {
            "type": "array",
            "nullable": true,
            "items": {
              "type": "integer",
              "format": "int32"
            }
          },
          "Position": {
            "type": "integer",
            "format": "int32"
          }
        }
      },
      "LibraryPositionDTO": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "LibraryId": {
            "type": "integer",
            "format": "int32"
          },
          "Position": {
            "type": "integer",
            "format": "int32"
          },
          "Type": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/LibraryType"
              }
            ]
          }
        }
      },
      "UsageType": {
        "type": "integer",
        "description": "",
        "x-enumNames": [
          "Templates",
          "Products",
          "OptionsSets",
          "ProductBases"
        ],
        "enum": [
          1,
          2,
          3,
          4
        ]
      },
      "GetProductsByIdsDTO": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "ProductIds": {
            "type": "array",
            "nullable": true,
            "items": {
              "type": "string"
            }
          },
          "UseListEPS": {
            "type": "boolean"
          }
        }
      },
      "LogOfferShownDTO": {
        "type": "object",
        "description": "What the cart cross-sell offer reports: the templates it showed, and where the event came from.",
        "additionalProperties": false,
        "properties": {
          "TemplateIds": {
            "type": "array",
            "nullable": true,
            "items": {
              "type": "string"
            }
          },
          "LogContext": {
            "type": "string",
            "description": "Same shape GetProduct takes, sanitized by EventLogContext before it is stored",
            "nullable": true
          },
          "ClientVersion": {
            "type": "string",
            "nullable": true
          }
        }
      },
      "ProductJsonDTO": {
        "type": "object",
        "description": "DTO for SaveProduct.\nPayload: { \"product\": { ... } }",
        "additionalProperties": false,
        "properties": {
          "product": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/Product"
              }
            ]
          }
        }
      },
      "AssignTagsDTO": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "ProductId"
        ],
        "properties": {
          "ProductId": {
            "type": "string",
            "minLength": 1
          },
          "TagIds": {
            "type": "array",
            "nullable": true,
            "items": {
              "type": "integer",
              "format": "int32"
            }
          },
          "NewTagNames": {
            "type": "array",
            "nullable": true,
            "items": {
              "type": "string"
            }
          }
        }
      },
      "DeleteProductsByIdsDTO": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "Ids": {
            "type": "array",
            "nullable": true,
            "items": {
              "type": "string"
            }
          },
          "ForceDelete": {
            "type": "boolean"
          }
        }
      },
      "BeforeMergeDTO": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "PodId": {
            "type": "integer",
            "format": "int32"
          },
          "IsPrintifyOrPrintful": {
            "type": "boolean"
          },
          "EditingPrintAreaIndex": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          }
        }
      },
      "ProductIdsJsonDTO": {
        "type": "object",
        "additionalProperties": false
      },
      "ProductVersionDTO": {
        "type": "object",
        "additionalProperties": false
      },
      "AccessLevelType": {
        "type": "integer",
        "description": "",
        "x-enumFlags": true,
        "x-enumNames": [
          "None",
          "List",
          "Read",
          "Write",
          "Delete",
          "Full"
        ],
        "enum": [
          0,
          1,
          2,
          4,
          8,
          15
        ]
      },
      "RegisterMaskDTO": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "Path": {
            "type": "string",
            "nullable": true
          },
          "ThumbnailPath": {
            "type": "string",
            "nullable": true
          },
          "Name": {
            "type": "string",
            "nullable": true
          },
          "Type": {
            "$ref": "#/components/schemas/UserMaskType"
          }
        }
      },
      "ProductionFileStatus": {
        "type": "integer",
        "description": "",
        "x-enumNames": [
          "Waiting",
          "Processing",
          "Processed",
          "Error"
        ],
        "enum": [
          0,
          1,
          2,
          3
        ]
      },
      "ExportedFileDTO": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "oldFileName": {
            "type": "string",
            "nullable": true
          },
          "newFileName": {
            "type": "string",
            "nullable": true
          },
          "productId": {
            "type": "string",
            "nullable": true
          }
        }
      },
      "CustomizationJSON": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "epsProductJSON": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/EPSProductJSON"
              }
            ]
          },
          "shareCustomizationJSON": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/SharedCustomizationJSON"
              }
            ]
          }
        }
      },
      "ImportDesignRequest": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "Filename": {
            "type": "string",
            "nullable": true
          }
        }
      },
      "CanvaAccessTokenRequestDTO": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "Username": {
            "type": "string",
            "nullable": true
          },
          "Code": {
            "type": "string",
            "nullable": true
          },
          "CodeVerifier": {
            "type": "string",
            "nullable": true
          }
        }
      },
      "CanvaDesignExportRequest": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "Username": {
            "type": "string",
            "nullable": true
          },
          "DesignId": {
            "type": "string",
            "nullable": true
          },
          "Format": {
            "$ref": "#/components/schemas/CanvaExportFormat"
          },
          "Page": {
            "type": "integer",
            "format": "int32"
          },
          "PngOptions": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/PngExportOptions"
              }
            ]
          }
        }
      },
      "CanvaExportFormat": {
        "type": "string",
        "description": "",
        "x-enumNames": [
          "PNG",
          "PPTX"
        ],
        "enum": [
          "png",
          "pptx"
        ]
      },
      "PngExportOptions": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "Transparent": {
            "type": "boolean"
          }
        }
      },
      "UserAffiliateRegistrationForm": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "Name",
          "Username",
          "Email",
          "Password",
          "ConfirmationPassword",
          "Captcha"
        ],
        "properties": {
          "Name": {
            "type": "string",
            "minLength": 1
          },
          "Username": {
            "type": "string",
            "minLength": 1,
            "pattern": "^[\\w\\d-]*$"
          },
          "Email": {
            "type": "string",
            "format": "email",
            "minLength": 1
          },
          "Password": {
            "type": "string",
            "minLength": 8
          },
          "ConfirmationPassword": {
            "type": "string",
            "minLength": 8
          },
          "Captcha": {
            "type": "string",
            "minLength": 1
          }
        }
      },
      "UserAffiliateModificationForm": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "PaypalEmail": {
            "type": "string",
            "nullable": true
          }
        }
      },
      "PaymentMethodsUpdateDTO": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "Token": {
            "type": "string",
            "nullable": true
          }
        }
      },
      "SubscriptionUpdate": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "Password",
          "Status"
        ],
        "properties": {
          "Password": {
            "type": "string",
            "minLength": 8
          },
          "Status": {
            "$ref": "#/components/schemas/SubscriptionStatusDto"
          },
          "CancellationReasons": {
            "type": "array",
            "nullable": true,
            "items": {
              "$ref": "#/components/schemas/CancellationReasonDTO"
            }
          },
          "PauseReasons": {
            "type": "array",
            "nullable": true,
            "items": {
              "$ref": "#/components/schemas/PauseReasonDTO"
            }
          },
          "CardTokenId": {
            "type": "string",
            "nullable": true
          }
        }
      },
      "SubscriptionStatusDto": {
        "type": "integer",
        "description": "",
        "x-enumNames": [
          "Cancelled",
          "Paused",
          "Active"
        ],
        "enum": [
          0,
          1,
          2
        ]
      },
      "CancellationReasonDTO": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "Type": {
            "$ref": "#/components/schemas/CancellationType"
          },
          "Details": {
            "type": "string",
            "maxLength": 10000,
            "nullable": true
          }
        }
      },
      "PauseReasonDTO": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "Type": {
            "$ref": "#/components/schemas/PauseType"
          },
          "Details": {
            "type": "string",
            "maxLength": 10000,
            "nullable": true
          }
        }
      },
      "UpdateCreditCardDTO": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "CreditCardTokenId": {
            "type": "string",
            "nullable": true
          }
        }
      },
      "TemplateAnalyticsQueryRequestDTO": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "Filters": {
            "type": "array",
            "nullable": true,
            "items": {
              "$ref": "#/components/schemas/TemplateFilterDTO"
            }
          },
          "Search": {
            "type": "string",
            "nullable": true
          },
          "Detail": {
            "type": "string",
            "nullable": true
          },
          "Type": {
            "type": "string",
            "nullable": true
          },
          "Page": {
            "type": "integer",
            "format": "int32"
          },
          "PageSize": {
            "type": "integer",
            "format": "int32"
          },
          "SortBy": {
            "type": "string",
            "nullable": true
          },
          "SortDir": {
            "type": "string",
            "nullable": true
          },
          "DateField": {
            "type": "string",
            "nullable": true
          },
          "DateRange": {
            "type": "string",
            "nullable": true
          },
          "StartDate": {
            "type": "string",
            "nullable": true
          },
          "EndDate": {
            "type": "string",
            "nullable": true
          }
        }
      },
      "TemplateFilterDTO": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "Kind": {
            "type": "string",
            "nullable": true
          },
          "ElementType": {
            "type": "string",
            "nullable": true
          },
          "Property": {
            "type": "string",
            "nullable": true
          },
          "HasValue": {
            "type": "boolean",
            "nullable": true
          },
          "Value": {
            "type": "string",
            "nullable": true
          },
          "Count": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/CountConditionDTO"
              }
            ]
          },
          "ValueCondition": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/NumericConditionDTO"
              }
            ]
          },
          "Feature": {
            "type": "string",
            "nullable": true
          },
          "EffectType": {
            "type": "string",
            "nullable": true
          },
          "PageCount": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/CountConditionDTO"
              }
            ]
          },
          "PreviewCount": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/CountConditionDTO"
              }
            ]
          },
          "IsLayout": {
            "type": "boolean",
            "nullable": true
          },
          "Name": {
            "type": "string",
            "nullable": true
          }
        }
      },
      "CountConditionDTO": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "Gt": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "Gte": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "Eq": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "Lt": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "Lte": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          }
        }
      },
      "NumericConditionDTO": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "Gt": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "Gte": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "Eq": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "Lt": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "Lte": {
            "type": "number",
            "format": "double",
            "nullable": true
          }
        }
      },
      "ApiKeyPasswordRequestDto": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "Password": {
            "type": "string",
            "nullable": true
          }
        }
      },
      "TeamMemberAddDTO": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "Name",
          "Email",
          "AccessMode"
        ],
        "properties": {
          "Name": {
            "type": "string",
            "minLength": 1
          },
          "Email": {
            "type": "string",
            "minLength": 1
          },
          "AccessMode": {
            "$ref": "#/components/schemas/AccessMode"
          },
          "ManageIntegrations": {
            "type": "boolean"
          }
        }
      },
      "AccessMode": {
        "type": "integer",
        "description": "",
        "x-enumNames": [
          "Restricted",
          "Full"
        ],
        "enum": [
          0,
          1
        ]
      },
      "UserPermissionsDTO": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "EntityType",
          "EntityIds"
        ],
        "properties": {
          "EntityType": {
            "$ref": "#/components/schemas/AccessEntityType"
          },
          "EntityIds": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "AccessLevel": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/AccessLevelType"
              }
            ]
          }
        }
      },
      "AccessEntityType": {
        "type": "integer",
        "description": "",
        "x-enumNames": [
          "Template",
          "Library",
          "Design",
          "OptionSet",
          "Product",
          "Store",
          "Integrations"
        ],
        "enum": [
          0,
          1,
          2,
          3,
          4,
          5,
          6
        ]
      },
      "AccessRestrictionDTO": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "AccessRestriction": {
            "$ref": "#/components/schemas/AccessRestriction"
          },
          "AccessEntityType": {
            "$ref": "#/components/schemas/AccessEntityType"
          }
        }
      },
      "AccessRestriction": {
        "type": "integer",
        "description": "",
        "x-enumNames": [
          "Listed",
          "FullAccess",
          "AllReadOnlyPlusListed"
        ],
        "enum": [
          0,
          1,
          2
        ]
      },
      "UserRegistrationForm": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "Name",
          "Username",
          "Email",
          "Password",
          "ConfirmationPassword",
          "StoreType",
          "StoreUrl",
          "Captcha"
        ],
        "properties": {
          "Name": {
            "type": "string",
            "minLength": 1
          },
          "Username": {
            "type": "string",
            "minLength": 1,
            "pattern": "^[\\w\\d-]*$"
          },
          "Email": {
            "type": "string",
            "format": "email",
            "minLength": 1
          },
          "Password": {
            "type": "string",
            "minLength": 8
          },
          "ConfirmationPassword": {
            "type": "string",
            "minLength": 8
          },
          "StoreType": {
            "$ref": "#/components/schemas/StoreType"
          },
          "StoreUrl": {
            "type": "string",
            "maxLength": 128,
            "minLength": 5
          },
          "Captcha": {
            "type": "string",
            "minLength": 1
          },
          "ManagedBy": {
            "type": "string",
            "nullable": true
          }
        }
      },
      "UserModificationForm": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "Name": {
            "type": "string",
            "nullable": true
          },
          "SegmentLibraryImages": {
            "type": "boolean",
            "nullable": true
          }
        }
      },
      "PasswordModificationForm": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "CurrentPassword",
          "NewPassword",
          "ConfirmationPassword"
        ],
        "properties": {
          "CurrentPassword": {
            "type": "string",
            "minLength": 8
          },
          "NewPassword": {
            "type": "string",
            "minLength": 8
          },
          "ConfirmationPassword": {
            "type": "string",
            "minLength": 8
          }
        }
      },
      "PasswordResetForm": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "Username",
          "ResetToken",
          "Password",
          "ConfirmationPassword"
        ],
        "properties": {
          "Username": {
            "type": "string",
            "minLength": 1,
            "pattern": "^[\\w\\d-]*$"
          },
          "ResetToken": {
            "type": "string",
            "minLength": 1
          },
          "Password": {
            "type": "string",
            "minLength": 8
          },
          "ConfirmationPassword": {
            "type": "string",
            "minLength": 8
          }
        }
      },
      "PasswordCheck": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "Password"
        ],
        "properties": {
          "Password": {
            "type": "string",
            "minLength": 8
          }
        }
      },
      "AddStoreRequestDTO": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "Url"
        ],
        "properties": {
          "Type": {
            "$ref": "#/components/schemas/StoreType"
          },
          "Url": {
            "type": "string",
            "maxLength": 256,
            "minLength": 1
          }
        }
      },
      "RateLimitForm": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "Provider": {
            "type": "string",
            "nullable": true
          },
          "AttemptsPerIp": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "RetryAfterMinutes": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          }
        }
      },
      "EmailModificationForm": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "Email",
          "Password"
        ],
        "properties": {
          "Email": {
            "type": "string",
            "format": "email",
            "minLength": 1
          },
          "Password": {
            "type": "string",
            "minLength": 8
          }
        }
      },
      "EmailConfirmationForm": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "Username",
          "Token"
        ],
        "properties": {
          "Username": {
            "type": "string",
            "minLength": 1,
            "pattern": "^[\\w\\d-]*$"
          },
          "Token": {
            "type": "string",
            "minLength": 1
          }
        }
      },
      "UserReviewDTO": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "Feedback"
        ],
        "properties": {
          "Feedback": {
            "type": "string",
            "minLength": 1
          }
        }
      },
      "ManualVariantsMatchedDTO": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "VariantsMatched": {
            "type": "array",
            "nullable": true,
            "items": {
              "$ref": "#/components/schemas/VariantMatchDTO"
            }
          },
          "PlaceholdersMatched": {
            "type": "array",
            "nullable": true,
            "items": {
              "$ref": "#/components/schemas/TemplateProductPlaceholderDTO"
            }
          },
          "TemplateProductId": {
            "type": "string",
            "format": "guid",
            "nullable": true
          }
        }
      },
      "VariantMatchDTO": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "Id": {
            "type": "integer",
            "format": "int32"
          },
          "Title": {
            "type": "string",
            "nullable": true
          },
          "PodVariantId": {
            "type": "string",
            "nullable": true
          },
          "PrintArea": {
            "type": "string",
            "nullable": true
          },
          "PodProductId": {
            "type": "string",
            "nullable": true
          }
        }
      },
      "TemplateProductPlaceholderDTO": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "EpsId": {
            "type": "integer",
            "format": "int32"
          },
          "EpsName": {
            "type": "string",
            "nullable": true
          },
          "ProviderPlaceholderId": {
            "type": "string",
            "nullable": true
          }
        }
      },
      "DesignCreateDTO": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "Images",
          "OptionSetId",
          "Title",
          "DesignTemplateIds",
          "IsMyDesign"
        ],
        "properties": {
          "Images": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "OptionSetId": {
            "type": "string",
            "minLength": 1
          },
          "Title": {
            "type": "string",
            "minLength": 1
          },
          "Subtitle": {
            "type": "string",
            "nullable": true
          },
          "DesignTemplateIds": {
            "type": "array",
            "items": {
              "type": "string",
              "format": "guid"
            }
          },
          "IsMyDesign": {
            "type": "boolean"
          },
          "IsOptionSetReady": {
            "type": "boolean",
            "nullable": true
          },
          "DesignCategoryIds": {
            "type": "array",
            "nullable": true,
            "items": {
              "type": "integer",
              "format": "int32"
            }
          },
          "NewCategories": {
            "type": "array",
            "nullable": true,
            "items": {
              "type": "string"
            }
          },
          "SnapshotUrl": {
            "type": "string",
            "nullable": true
          }
        }
      },
      "DesignTemplate": {
        "allOf": [
          {
            "$ref": "#/components/schemas/Product"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "SnapshotUrl": {
                "type": "string",
                "nullable": true
              }
            }
          }
        ]
      },
      "UserUpdateDTO": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "Disabled": {
            "type": "boolean",
            "nullable": true
          },
          "Canceled": {
            "type": "boolean",
            "nullable": true
          },
          "CustomilyOptions": {
            "type": "boolean",
            "nullable": true
          },
          "FastQueueEnabled": {
            "type": "boolean",
            "nullable": true
          },
          "RightToLeftTextEnabled": {
            "type": "boolean",
            "nullable": true
          },
          "Roles": {
            "type": "string",
            "nullable": true
          }
        }
      },
      "StoreUpdateDTO": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "TrialDays": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "ForceResubscribe": {
            "type": "boolean",
            "nullable": true
          },
          "BillingExempt": {
            "type": "boolean",
            "nullable": true
          },
          "Disabled": {
            "type": "boolean",
            "nullable": true
          },
          "StoreUrl": {
            "type": "string",
            "nullable": true
          }
        }
      },
      "StoreBillingUpdateDTO": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "SubscriptionId": {
            "type": "string",
            "nullable": true
          },
          "StripeCustomerId": {
            "type": "string",
            "nullable": true
          }
        }
      },
      "SetCategoriesDTO": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "TemplateProductIds",
          "CategoryIds"
        ],
        "properties": {
          "TemplateProductIds": {
            "type": "array",
            "items": {
              "type": "string",
              "format": "guid"
            }
          },
          "CategoryIds": {
            "type": "array",
            "items": {
              "type": "integer",
              "format": "int32"
            }
          }
        }
      },
      "ExternalAuthCallbackForm": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "Code",
          "State"
        ],
        "properties": {
          "Code": {
            "type": "string",
            "minLength": 1
          },
          "State": {
            "type": "string",
            "minLength": 1
          }
        }
      },
      "ExternalAuthSignUpForm": {
        "type": "object",
        "description": "The sign up form as the user completed it: the platform and store the provider could not give us,\nplus the username and company name for a prefilled Google sign up.",
        "additionalProperties": false,
        "required": [
          "PendingTicket"
        ],
        "properties": {
          "PendingTicket": {
            "type": "string",
            "minLength": 1
          },
          "StoreType": {
            "$ref": "#/components/schemas/StoreType"
          },
          "StoreUrl": {
            "type": "string",
            "maxLength": 128,
            "nullable": true
          },
          "CompanyName": {
            "type": "string",
            "maxLength": 128,
            "nullable": true
          },
          "Username": {
            "type": "string",
            "maxLength": 128,
            "pattern": "^[\\w\\d-]*$",
            "nullable": true
          },
          "Email": {
            "type": "string",
            "description": "Only used when the provider shared no email address.",
            "format": "email",
            "nullable": true
          }
        }
      },
      "ExternalAuthCheckoutForm": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "Ticket"
        ],
        "properties": {
          "Ticket": {
            "type": "string",
            "minLength": 1
          }
        }
      },
      "GetActiveStoresPayloadDTO": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "StoresUrls": {
            "type": "string",
            "nullable": true
          }
        }
      },
      "TemplateRelationDTO": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "TemplateId": {
            "type": "string",
            "format": "guid"
          },
          "ProductId": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "OptionId": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "OptionSetId": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "VariantId": {
            "type": "integer",
            "format": "int64",
            "nullable": true
          },
          "ProductVariantId": {
            "type": "string",
            "nullable": true
          },
          "Type": {
            "$ref": "#/components/schemas/TemplateRelationType"
          }
        }
      },
      "TemplateRelationType": {
        "type": "integer",
        "description": "",
        "x-enumNames": [
          "InitTemplate",
          "Option",
          "Variant",
          "ProductVariant"
        ],
        "enum": [
          0,
          1,
          2,
          3
        ]
      },
      "ResolveUserLibrariesRequest": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "LibraryIds": {
            "type": "array",
            "nullable": true,
            "items": {
              "type": "integer",
              "format": "int32"
            }
          },
          "UserId": {
            "type": "integer",
            "format": "int32"
          }
        }
      },
      "EnsureStoreDTO": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "StoreUrl",
          "Name",
          "Email"
        ],
        "properties": {
          "StoreUrl": {
            "type": "string",
            "maxLength": 128,
            "minLength": 5
          },
          "Name": {
            "type": "string",
            "minLength": 1
          },
          "Email": {
            "type": "string",
            "format": "email",
            "minLength": 1
          },
          "NoPersonalization": {
            "type": "boolean"
          }
        }
      },
      "StoreLinkVerifyDTO": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "StoreUrl",
          "Code"
        ],
        "properties": {
          "StoreUrl": {
            "type": "string",
            "maxLength": 128,
            "minLength": 5
          },
          "Code": {
            "type": "string",
            "maxLength": 16,
            "minLength": 1
          },
          "StoreType": {
            "$ref": "#/components/schemas/StoreType"
          }
        }
      },
      "UpdatePFUrlDTO": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "ProductId": {
            "type": "string",
            "format": "guid"
          },
          "PFUrl": {
            "type": "string",
            "nullable": true
          }
        }
      },
      "ImportProductDataDTO": {
        "type": "object",
        "additionalProperties": false
      },
      "GetProductsByTextFieldCountDTO": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "ProductGuids": {
            "type": "array",
            "nullable": true,
            "items": {
              "type": "string",
              "format": "guid"
            }
          },
          "TextFieldCount": {
            "type": "integer",
            "format": "int32"
          }
        }
      },
      "DuplicateTemplateRequest": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "SourceTemplateId": {
            "type": "string",
            "nullable": true
          },
          "DestinationUserId": {
            "type": "integer",
            "format": "int32"
          },
          "TemplateNameSuffix": {
            "type": "string",
            "nullable": true
          }
        }
      },
      "ProductionFileGenerateDTO": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "OrderNumber",
          "StoreType",
          "NeedsBilling"
        ],
        "properties": {
          "OrderNumber": {
            "type": "string",
            "minLength": 1
          },
          "StoreType": {
            "$ref": "#/components/schemas/StoreType"
          },
          "NeedsBilling": {
            "type": "boolean"
          },
          "BillingParameters": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/BillingParametersDTO"
              }
            ]
          },
          "PersonalizationItems": {
            "type": "array",
            "nullable": true,
            "items": {
              "$ref": "#/components/schemas/PersonalizationItem"
            }
          }
        }
      },
      "BillingParametersDTO": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "OrderedAt"
        ],
        "properties": {
          "OrderedAt": {
            "type": "string",
            "format": "date-time",
            "minLength": 1
          }
        }
      },
      "PersonalizationItem": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "PersonalizationId": {
            "type": "string",
            "format": "guid"
          },
          "PageNumber": {
            "type": "integer",
            "format": "int32"
          },
          "ProductionFileName": {
            "type": "string",
            "nullable": true
          }
        }
      },
      "ProcessedOrdersQueryDTO": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "OrderNumbers": {
            "type": "array",
            "nullable": true,
            "items": {
              "type": "string"
            }
          }
        }
      },
      "BillingConfirmDTO": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "Name",
          "Email",
          "Domains"
        ],
        "properties": {
          "StoreType": {
            "$ref": "#/components/schemas/StoreType"
          },
          "Name": {
            "type": "string",
            "minLength": 1
          },
          "Email": {
            "type": "string",
            "format": "email",
            "minLength": 1
          },
          "Domains": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "NoPersonalization": {
            "type": "boolean"
          },
          "IsCollectiveRetail": {
            "type": "boolean"
          },
          "ShopifySubscription": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/ShopifySubscriptionDTO"
              }
            ]
          },
          "ShoplazzaSubscription": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/ShoplazzaSubscriptionDTO"
              }
            ]
          }
        }
      },
      "ShopifySubscriptionDTO": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "Status",
          "Id",
          "TrialDays",
          "CreatedAt",
          "CurrentPeriodEnd"
        ],
        "properties": {
          "Status": {
            "$ref": "#/components/schemas/ShopifySubscriptionStatus"
          },
          "Id": {
            "type": "string",
            "minLength": 1
          },
          "TrialDays": {
            "type": "integer",
            "format": "int32"
          },
          "CreatedAt": {
            "type": "string",
            "format": "date-time",
            "minLength": 1
          },
          "CurrentPeriodEnd": {
            "type": "string",
            "format": "date-time",
            "minLength": 1
          },
          "TestPlan": {
            "type": "boolean"
          }
        }
      },
      "ShopifySubscriptionStatus": {
        "type": "integer",
        "description": "",
        "x-enumNames": [
          "ACTIVE",
          "CANCELLED",
          "DECLINED",
          "EXPIRED",
          "FROZEN",
          "PENDING"
        ],
        "enum": [
          0,
          1,
          2,
          3,
          4,
          5
        ]
      },
      "ShoplazzaSubscriptionDTO": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "Status",
          "Id",
          "TrialDays",
          "CreatedAt",
          "CurrentPeriodEnd"
        ],
        "properties": {
          "Status": {
            "$ref": "#/components/schemas/ShopifySubscriptionStatus"
          },
          "Id": {
            "type": "string",
            "minLength": 1
          },
          "TrialDays": {
            "type": "integer",
            "format": "int32"
          },
          "CreatedAt": {
            "type": "string",
            "format": "date-time",
            "minLength": 1
          },
          "CurrentPeriodEnd": {
            "type": "string",
            "format": "date-time",
            "minLength": 1
          }
        }
      },
      "ShopifySubscriptionUpdateDTO": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "EventTime"
        ],
        "properties": {
          "Id": {
            "type": "string",
            "nullable": true
          },
          "TrialDays": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "CreatedAt": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "CurrentPeriodEnd": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "Status": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/ShopifySubscriptionStatus"
              }
            ]
          },
          "EventTime": {
            "type": "string",
            "format": "date-time",
            "minLength": 1
          },
          "AdditionalInfo": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/AdditionalInfo"
              }
            ]
          }
        }
      },
      "AdditionalInfo": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "Value": {
            "type": "string",
            "nullable": true
          },
          "Details": {
            "type": "string",
            "nullable": true
          }
        }
      },
      "BillOrderDto": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "Id": {
            "type": "string",
            "nullable": true
          },
          "Items": {
            "type": "array",
            "nullable": true,
            "items": {
              "$ref": "#/components/schemas/BillOrderItemDto"
            }
          }
        }
      },
      "BillOrderItemDto": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "Name": {
            "type": "string",
            "nullable": true
          },
          "Quantity": {
            "type": "integer",
            "format": "int32"
          },
          "RetailPrice": {
            "type": "number",
            "format": "decimal"
          }
        }
      }
    },
    "securitySchemes": {
      "Bearer": {
        "type": "http",
        "description": "JWT Authorization header using the Bearer scheme. Enter your JWT token (without 'Bearer' prefix). To obtain a token, use the /api/token endpoint with grant_type=password, username, and password.",
        "scheme": "bearer",
        "bearerFormat": "JWT"
      },
      "ApiKey": {
        "type": "apiKey",
        "description": "Your account's API key, found under Account → Integrations. Only accepted on endpoints that list ApiKey.",
        "name": "x-api-key",
        "in": "header"
      }
    }
  },
  "tags": [
    {
      "name": "Authentication",
      "description": "[Authentication guide](https://github.com/Customily/Documentation/blob/main/AUTHENTICATION.md) (see for additional methods)"
    },
    {
      "name": "Templates",
      "description": "These endpoints are used to manage Templates. We used to call these entities Products and the controller name remained the same. sorry for the confusion 😅."
    },
    {
      "name": "Team",
      "description": "Endpoints for managing team members, their permissions and access restrictions."
    }
  ]
}