{
  "x-generator": "NSwag v14.4.0.0 (NJsonSchema v11.3.2.0 (Newtonsoft.Json v13.0.0.0))",
  "openapi": "3.0.0",
  "info": {
    "title": "CM.Web",
    "version": "1.0.0"
  },
  "servers": [
    {
      "url": "https://validareitdr.ro"
    }
  ],
  "paths": {
    "/api/auth/info": {
      "get": {
        "tags": [
          "TickerQ Dashboard"
        ],
        "operationId": "GetAuthInfo",
        "responses": {
          "200": {
            "description": ""
          }
        }
      }
    },
    "/api/auth/validate": {
      "post": {
        "tags": [
          "TickerQ Dashboard"
        ],
        "operationId": "ValidateAuth",
        "responses": {
          "200": {
            "description": ""
          }
        }
      }
    },
    "/api/options": {
      "get": {
        "tags": [
          "TickerQ Dashboard"
        ],
        "operationId": "GetOptions",
        "responses": {
          "200": {
            "description": ""
          }
        }
      }
    },
    "/api/time-tickers": {
      "get": {
        "tags": [
          "TickerQ Dashboard"
        ],
        "operationId": "GetTimeTickers",
        "responses": {
          "200": {
            "description": ""
          }
        }
      }
    },
    "/api/time-tickers/paginated": {
      "get": {
        "tags": [
          "TickerQ Dashboard"
        ],
        "operationId": "GetTimeTickersPaginated",
        "parameters": [
          {
            "name": "pageNumber",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32",
              "default": 1
            },
            "x-position": 1
          },
          {
            "name": "pageSize",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32",
              "default": 20
            },
            "x-position": 2
          }
        ],
        "responses": {
          "200": {
            "description": ""
          }
        }
      }
    },
    "/api/time-tickers/graph-data-range": {
      "get": {
        "tags": [
          "TickerQ Dashboard"
        ],
        "operationId": "GetTimeTickersGraphDataRange",
        "parameters": [
          {
            "name": "pastDays",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32",
              "default": 3
            },
            "x-position": 1
          },
          {
            "name": "futureDays",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32",
              "default": 3
            },
            "x-position": 2
          }
        ],
        "responses": {
          "200": {
            "description": ""
          }
        }
      }
    },
    "/api/time-tickers/graph-data": {
      "get": {
        "tags": [
          "TickerQ Dashboard"
        ],
        "operationId": "GetTimeTickersGraphData",
        "responses": {
          "200": {
            "description": ""
          }
        }
      }
    },
    "/api/time-ticker/add": {
      "post": {
        "tags": [
          "TickerQ Dashboard"
        ],
        "operationId": "CreateChainJobs",
        "parameters": [
          {
            "name": "timeZoneId",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "x-position": 1
          }
        ],
        "responses": {
          "200": {
            "description": ""
          }
        }
      }
    },
    "/api/time-ticker/update": {
      "put": {
        "tags": [
          "TickerQ Dashboard"
        ],
        "operationId": "UpdateTimeTicker",
        "parameters": [
          {
            "name": "id",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "format": "guid"
            },
            "x-position": 1
          },
          {
            "name": "timeZoneId",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "x-position": 2
          }
        ],
        "responses": {
          "200": {
            "description": ""
          }
        }
      }
    },
    "/api/time-ticker/delete": {
      "delete": {
        "tags": [
          "TickerQ Dashboard"
        ],
        "operationId": "DeleteTimeTicker",
        "parameters": [
          {
            "name": "id",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "format": "guid"
            },
            "x-position": 1
          }
        ],
        "responses": {
          "200": {
            "description": ""
          }
        }
      }
    },
    "/api/time-ticker/delete-batch": {
      "delete": {
        "tags": [
          "TickerQ Dashboard"
        ],
        "operationId": "DeleteTimeTickersBatch",
        "requestBody": {
          "x-name": "ids",
          "content": {
            "application/json": {
              "schema": {
                "type": "array",
                "items": {
                  "type": "string",
                  "format": "guid"
                }
              }
            }
          },
          "required": true,
          "x-position": 1
        },
        "responses": {
          "200": {
            "description": ""
          }
        }
      }
    },
    "/api/cron-tickers": {
      "get": {
        "tags": [
          "TickerQ Dashboard"
        ],
        "operationId": "GetCronTickers",
        "responses": {
          "200": {
            "description": ""
          }
        }
      }
    },
    "/api/cron-tickers/paginated": {
      "get": {
        "tags": [
          "TickerQ Dashboard"
        ],
        "operationId": "GetCronTickersPaginated",
        "parameters": [
          {
            "name": "pageNumber",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32",
              "default": 1
            },
            "x-position": 1
          },
          {
            "name": "pageSize",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32",
              "default": 20
            },
            "x-position": 2
          }
        ],
        "responses": {
          "200": {
            "description": ""
          }
        }
      }
    },
    "/api/cron-tickers/graph-data-range": {
      "get": {
        "tags": [
          "TickerQ Dashboard"
        ],
        "operationId": "GetCronTickersGraphDataRange",
        "parameters": [
          {
            "name": "pastDays",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32",
              "default": 3
            },
            "x-position": 1
          },
          {
            "name": "futureDays",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32",
              "default": 3
            },
            "x-position": 2
          }
        ],
        "responses": {
          "200": {
            "description": ""
          }
        }
      }
    },
    "/api/cron-tickers/graph-data-range-id": {
      "get": {
        "tags": [
          "TickerQ Dashboard"
        ],
        "operationId": "GetCronTickersByIdGraphDataRange",
        "parameters": [
          {
            "name": "id",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "format": "guid"
            },
            "x-position": 1
          },
          {
            "name": "pastDays",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32",
              "default": 3
            },
            "x-position": 2
          },
          {
            "name": "futureDays",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32",
              "default": 3
            },
            "x-position": 3
          }
        ],
        "responses": {
          "200": {
            "description": ""
          }
        }
      }
    },
    "/api/cron-tickers/graph-data": {
      "get": {
        "tags": [
          "TickerQ Dashboard"
        ],
        "operationId": "GetCronTickersGraphData",
        "responses": {
          "200": {
            "description": ""
          }
        }
      }
    },
    "/api/cron-ticker-occurrences/{cronTickerId}": {
      "get": {
        "tags": [
          "TickerQ Dashboard"
        ],
        "operationId": "GetCronTickerOccurrences",
        "parameters": [
          {
            "name": "cronTickerId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "guid"
            },
            "x-position": 1
          }
        ],
        "responses": {
          "200": {
            "description": ""
          }
        }
      }
    },
    "/api/cron-ticker-occurrences/{cronTickerId}/paginated": {
      "get": {
        "tags": [
          "TickerQ Dashboard"
        ],
        "operationId": "GetCronTickerOccurrencesPaginated",
        "parameters": [
          {
            "name": "cronTickerId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "guid"
            },
            "x-position": 1
          },
          {
            "name": "pageNumber",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32",
              "default": 1
            },
            "x-position": 2
          },
          {
            "name": "pageSize",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32",
              "default": 20
            },
            "x-position": 3
          }
        ],
        "responses": {
          "200": {
            "description": ""
          }
        }
      }
    },
    "/api/cron-ticker-occurrences/{cronTickerId}/graph-data": {
      "get": {
        "tags": [
          "TickerQ Dashboard"
        ],
        "operationId": "GetCronTickerOccurrencesGraphData",
        "parameters": [
          {
            "name": "cronTickerId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "guid"
            },
            "x-position": 1
          }
        ],
        "responses": {
          "200": {
            "description": ""
          }
        }
      }
    },
    "/api/cron-ticker/add": {
      "post": {
        "tags": [
          "TickerQ Dashboard"
        ],
        "operationId": "AddCronTicker",
        "responses": {
          "200": {
            "description": ""
          }
        }
      }
    },
    "/api/cron-ticker/update": {
      "put": {
        "tags": [
          "TickerQ Dashboard"
        ],
        "operationId": "UpdateCronTicker",
        "parameters": [
          {
            "name": "id",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "format": "guid"
            },
            "x-position": 1
          }
        ],
        "responses": {
          "200": {
            "description": ""
          }
        }
      }
    },
    "/api/cron-ticker/toggle": {
      "put": {
        "tags": [
          "TickerQ Dashboard"
        ],
        "operationId": "ToggleCronTicker",
        "parameters": [
          {
            "name": "id",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "format": "guid"
            },
            "x-position": 1
          },
          {
            "name": "isEnabled",
            "in": "query",
            "required": true,
            "schema": {
              "type": "boolean"
            },
            "x-position": 2
          }
        ],
        "responses": {
          "200": {
            "description": ""
          }
        }
      }
    },
    "/api/cron-ticker/run": {
      "post": {
        "tags": [
          "TickerQ Dashboard"
        ],
        "operationId": "RunCronTickerOnDemand",
        "parameters": [
          {
            "name": "id",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "format": "guid"
            },
            "x-position": 1
          }
        ],
        "responses": {
          "200": {
            "description": ""
          }
        }
      }
    },
    "/api/cron-ticker/delete": {
      "delete": {
        "tags": [
          "TickerQ Dashboard"
        ],
        "operationId": "DeleteCronTicker",
        "parameters": [
          {
            "name": "id",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "format": "guid"
            },
            "x-position": 1
          }
        ],
        "responses": {
          "200": {
            "description": ""
          }
        }
      }
    },
    "/api/cron-ticker-occurrence/delete": {
      "delete": {
        "tags": [
          "TickerQ Dashboard"
        ],
        "operationId": "DeleteCronTickerOccurrence",
        "parameters": [
          {
            "name": "id",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "format": "guid"
            },
            "x-position": 1
          }
        ],
        "responses": {
          "200": {
            "description": ""
          }
        }
      }
    },
    "/api/ticker/cancel": {
      "post": {
        "tags": [
          "TickerQ Dashboard"
        ],
        "operationId": "CancelTicker",
        "parameters": [
          {
            "name": "id",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "format": "guid"
            },
            "x-position": 1
          }
        ],
        "responses": {
          "200": {
            "description": ""
          }
        }
      }
    },
    "/api/ticker-request": {
      "get": {
        "tags": [
          "TickerQ Dashboard"
        ],
        "operationId": "GetTickerRequest",
        "parameters": [
          {
            "name": "tickerId",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "format": "guid"
            },
            "x-position": 1
          },
          {
            "name": "tickerType",
            "in": "query",
            "required": true,
            "schema": {
              "$ref": "#/components/schemas/TickerQUtilitiesEnumsTickerType"
            },
            "x-position": 2
          }
        ],
        "responses": {
          "200": {
            "description": ""
          }
        }
      }
    },
    "/api/ticker-functions": {
      "get": {
        "tags": [
          "TickerQ Dashboard"
        ],
        "operationId": "GetTickerFunctions",
        "responses": {
          "200": {
            "description": ""
          }
        }
      }
    },
    "/api/ticker-host/next-ticker": {
      "get": {
        "tags": [
          "TickerQ Dashboard"
        ],
        "operationId": "GetNextTicker",
        "responses": {
          "200": {
            "description": ""
          }
        }
      }
    },
    "/api/ticker-host/stop": {
      "post": {
        "tags": [
          "TickerQ Dashboard"
        ],
        "operationId": "StopTickerHost",
        "responses": {
          "200": {
            "description": ""
          }
        }
      }
    },
    "/api/ticker-host/start": {
      "post": {
        "tags": [
          "TickerQ Dashboard"
        ],
        "operationId": "StartTickerHost",
        "responses": {
          "200": {
            "description": ""
          }
        }
      }
    },
    "/api/ticker-host/restart": {
      "post": {
        "tags": [
          "TickerQ Dashboard"
        ],
        "operationId": "RestartTickerHost",
        "responses": {
          "200": {
            "description": ""
          }
        }
      }
    },
    "/api/ticker-host/status": {
      "get": {
        "tags": [
          "TickerQ Dashboard"
        ],
        "operationId": "GetTickerHostStatus",
        "responses": {
          "200": {
            "description": ""
          }
        }
      }
    },
    "/api/ticker/statuses/get-last-week": {
      "get": {
        "tags": [
          "TickerQ Dashboard"
        ],
        "operationId": "GetLastWeekJobStatus",
        "responses": {
          "200": {
            "description": ""
          }
        }
      }
    },
    "/api/ticker/statuses/get": {
      "get": {
        "tags": [
          "TickerQ Dashboard"
        ],
        "operationId": "GetJobStatuses",
        "responses": {
          "200": {
            "description": ""
          }
        }
      }
    },
    "/api/ticker/machine/jobs": {
      "get": {
        "tags": [
          "TickerQ Dashboard"
        ],
        "operationId": "GetMachineJobs",
        "responses": {
          "200": {
            "description": ""
          }
        }
      }
    },
    "/api/tt/vouchers/{voucherId}/allocate": {
      "post": {
        "tags": [
          "Tt"
        ],
        "operationId": "CMTraditionalTradeEndpointsVouchersAllocateVoucher",
        "parameters": [
          {
            "name": "voucherId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "guid"
            }
          }
        ],
        "requestBody": {
          "x-name": "AllocateVoucherRequest",
          "description": "",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CMTraditionalTradeEndpointsVouchersAllocateVoucherRequest"
              }
            }
          },
          "required": true,
          "x-position": 1
        },
        "responses": {
          "204": {
            "description": "No Content"
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "JWTBearerAuth": [
              "tmr_admin",
              "tmr_user"
            ]
          }
        ]
      }
    },
    "/api/tt/vouchers/{voucherId}/cancel": {
      "post": {
        "tags": [
          "Tt"
        ],
        "operationId": "CMTraditionalTradeEndpointsVouchersCancelVoucher",
        "parameters": [
          {
            "name": "voucherId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "guid"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "No Content"
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "JWTBearerAuth": [
              "tmr_admin",
              "tmr_user"
            ]
          }
        ]
      }
    },
    "/api/tt/vouchers/{voucherId}": {
      "delete": {
        "tags": [
          "Tt"
        ],
        "operationId": "CMTraditionalTradeEndpointsVouchersDeleteVoucher",
        "parameters": [
          {
            "name": "voucherId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "guid"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "No Content"
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "JWTBearerAuth": [
              "tmr_admin",
              "tmr_user"
            ]
          }
        ]
      }
    },
    "/api/tt/vouchers/{voucherId}/download": {
      "get": {
        "tags": [
          "Tt"
        ],
        "operationId": "CMTraditionalTradeEndpointsVouchersDownloadVoucher1",
        "parameters": [
          {
            "name": "voucherId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "guid"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "No Content"
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "JWTBearerAuth": [
              "tmr_user",
              "tmr_admin"
            ]
          }
        ]
      }
    },
    "/api/tt/campaigns/{campaignId}/vouchers/{voucherId}/download": {
      "get": {
        "tags": [
          "Tt"
        ],
        "operationId": "CMTraditionalTradeEndpointsVouchersDownloadVoucher2",
        "parameters": [
          {
            "name": "campaignId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "guid"
            }
          },
          {
            "name": "voucherId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "guid"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "No Content"
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "JWTBearerAuth": [
              "tmr_user",
              "tmr_admin"
            ]
          }
        ]
      }
    },
    "/api/tt/vouchers/evoucher-checkout": {
      "post": {
        "tags": [
          "Tt"
        ],
        "operationId": "CMTraditionalTradeEndpointsVouchersEvoucherCheckout",
        "requestBody": {
          "x-name": "EvoucherCheckoutRequest",
          "description": "",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CMTraditionalTradeEndpointsVouchersEvoucherCheckoutRequest"
              }
            }
          },
          "required": true,
          "x-position": 1
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CMTraditionalTradeEndpointsVouchersEvoucherCheckoutResponse"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "JWTBearerAuth": [
              "tmr_user"
            ]
          }
        ]
      }
    },
    "/api/tt/vouchers/generated-draft-pv": {
      "post": {
        "tags": [
          "Tt"
        ],
        "operationId": "CMTraditionalTradeEndpointsVouchersGenerateDraftPv",
        "requestBody": {
          "x-name": "GenerateDraftPvRequest",
          "description": "",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CMTraditionalTradeEndpointsVouchersGenerateDraftPvRequest"
              }
            }
          },
          "required": true,
          "x-position": 1
        },
        "responses": {
          "204": {
            "description": "No Content"
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "JWTBearerAuth": [
              "tmr_user"
            ]
          }
        ]
      }
    },
    "/api/tt/vouchers/campaign/{campaignId}/allocated": {
      "get": {
        "tags": [
          "Tt"
        ],
        "operationId": "CMTraditionalTradeEndpointsVouchersGetAllocatedVouchersByCampaign",
        "parameters": [
          {
            "name": "campaignId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "guid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CMSharedAbstractionsPagingPagedResultOfAllocatedVoucherDto"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "JWTBearerAuth": [
              "tmr_admin"
            ]
          }
        ]
      }
    },
    "/api/tt/vouchers/users/{userId}/allocated": {
      "get": {
        "tags": [
          "Tt"
        ],
        "operationId": "CMTraditionalTradeEndpointsVouchersGetAllocatedVouchersByUser1",
        "parameters": [
          {
            "name": "userId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "guid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CMSharedAbstractionsPagingPagedResultOfAllocatedVoucherDto"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "JWTBearerAuth": [
              "tmr_admin",
              "tmr_user"
            ]
          }
        ]
      }
    },
    "/api/tt/vouchers/users/allocated": {
      "get": {
        "tags": [
          "Tt"
        ],
        "operationId": "CMTraditionalTradeEndpointsVouchersGetAllocatedVouchersByUser2",
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CMSharedAbstractionsPagingPagedResultOfAllocatedVoucherDto"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "JWTBearerAuth": [
              "tmr_admin",
              "tmr_user"
            ]
          }
        ]
      }
    },
    "/api/tt/vouchers/batches": {
      "get": {
        "tags": [
          "Tt"
        ],
        "operationId": "CMTraditionalTradeEndpointsVouchersGetVoucherBatches",
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CMSharedAbstractionsPagingPagedResultOfVoucherBatchDto"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "JWTBearerAuth": [
              "tmr_admin"
            ]
          }
        ]
      }
    },
    "/api/tt/vouchers": {
      "get": {
        "tags": [
          "Tt"
        ],
        "operationId": "CMTraditionalTradeEndpointsVouchersGetVouchers",
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CMSharedAbstractionsPagingPagedResultOfVoucherDto"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "JWTBearerAuth": [
              "tmr_admin"
            ]
          }
        ]
      },
      "post": {
        "tags": [
          "Tt"
        ],
        "operationId": "CMTraditionalTradeEndpointsVouchersImportVouchers",
        "requestBody": {
          "x-name": "ImportVouchersRequest",
          "description": "",
          "content": {
            "multipart/form-data": {
              "schema": {
                "$ref": "#/components/schemas/CMTraditionalTradeEndpointsVouchersImportVouchersRequest"
              }
            }
          },
          "required": true,
          "x-position": 1
        },
        "responses": {
          "204": {
            "description": "No Content"
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "JWTBearerAuth": [
              "tmr_admin"
            ]
          }
        ]
      }
    },
    "/api/tt/vouchers/{purchaseId}/regenerate-pv": {
      "post": {
        "tags": [
          "Tt"
        ],
        "operationId": "CMTraditionalTradeEndpointsVouchersRegeneratePv",
        "parameters": [
          {
            "name": "purchaseId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "guid"
            }
          }
        ],
        "requestBody": {
          "x-name": "RegeneratePvRequest",
          "description": "",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CMTraditionalTradeEndpointsVouchersRegeneratePvRequest"
              }
            }
          },
          "required": true,
          "x-position": 1
        },
        "responses": {
          "204": {
            "description": "No Content"
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "JWTBearerAuth": [
              "tmr_user"
            ]
          }
        ]
      }
    },
    "/api/tt/vouchers/sign-pv": {
      "post": {
        "tags": [
          "Tt"
        ],
        "operationId": "CMTraditionalTradeEndpointsVouchersSignPv",
        "requestBody": {
          "x-name": "SignDraftPvRequest",
          "description": "",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CMTraditionalTradeEndpointsVouchersSignDraftPvRequest"
              }
            }
          },
          "required": true,
          "x-position": 1
        },
        "responses": {
          "204": {
            "description": "No Content"
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "JWTBearerAuth": [
              "tmr_user"
            ]
          }
        ]
      }
    },
    "/api/tt/users": {
      "get": {
        "tags": [
          "Tt"
        ],
        "operationId": "CMTraditionalTradeEndpointsUsersGetUsers",
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CMSharedAbstractionsPagingPagedResultOfTtUserDto"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "JWTBearerAuth": [
              "tmr_admin"
            ]
          }
        ]
      }
    },
    "/api/tt/tmr/evouchers/campaigns/{campaignId}": {
      "get": {
        "tags": [
          "Tt"
        ],
        "operationId": "CMTraditionalTradeEndpointsTmrEvouchersGetTmrEvoucherCampaign",
        "parameters": [
          {
            "name": "campaignId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "guid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CMTraditionalTradeEndpointsTmrEvouchersTmrEvoucherCampaignDetailDto"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "JWTBearerAuth": [
              "tmr_user"
            ]
          }
        ]
      }
    },
    "/api/tt/tmr/evouchers/campaigns": {
      "get": {
        "tags": [
          "Tt"
        ],
        "operationId": "CMTraditionalTradeEndpointsTmrEvouchersGetTmrEvoucherCampaigns",
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/CMTraditionalTradeEndpointsTmrEvouchersTmrEvoucherCampaignDto"
                  }
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "JWTBearerAuth": [
              "tmr_user"
            ]
          }
        ]
      }
    },
    "/api/tt/tmr/stores/{mainStoreId}/contracts/{campaignId}/{selectionId}/reopen": {
      "post": {
        "tags": [
          "Tt"
        ],
        "operationId": "CMTraditionalTradeEndpointsStoresReopenSignedContract",
        "parameters": [
          {
            "name": "mainStoreId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "guid"
            }
          },
          {
            "name": "campaignId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "guid"
            }
          },
          {
            "name": "selectionId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "guid"
            }
          }
        ],
        "requestBody": {
          "x-name": "ChangeContractRequest",
          "description": "",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CMTraditionalTradeEndpointsStoresChangeContractRequest"
              }
            }
          },
          "required": true,
          "x-position": 1
        },
        "responses": {
          "204": {
            "description": "No Content"
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "JWTBearerAuth": [
              "tmr_user"
            ]
          }
        ]
      }
    },
    "/api/tt/tmr/stores/{mainStoreId}/contracts/{campaignId}/{selectionId}/cancel": {
      "post": {
        "tags": [
          "Tt"
        ],
        "operationId": "CMTraditionalTradeEndpointsStoresCancelSignedContract",
        "parameters": [
          {
            "name": "mainStoreId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "guid"
            }
          },
          {
            "name": "campaignId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "guid"
            }
          },
          {
            "name": "selectionId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "guid"
            }
          }
        ],
        "requestBody": {
          "x-name": "ChangeContractRequest",
          "description": "",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CMTraditionalTradeEndpointsStoresChangeContractRequest"
              }
            }
          },
          "required": true,
          "x-position": 1
        },
        "responses": {
          "204": {
            "description": "No Content"
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "JWTBearerAuth": [
              "tmr_user"
            ]
          }
        ]
      }
    },
    "/api/tt/stores": {
      "post": {
        "tags": [
          "Tt"
        ],
        "operationId": "CMTraditionalTradeEndpointsStoresCreateStore",
        "requestBody": {
          "x-name": "StoreDto",
          "description": "",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CMTraditionalTradeDtosStoreDto"
              }
            }
          },
          "required": true,
          "x-position": 1
        },
        "responses": {
          "204": {
            "description": "No Content"
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "JWTBearerAuth": [
              "tmr_admin"
            ]
          }
        ]
      },
      "get": {
        "tags": [
          "Tt"
        ],
        "operationId": "CMTraditionalTradeEndpointsStoresGetStores",
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CMSharedAbstractionsPagingPagedResultOfStoreDto"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "JWTBearerAuth": [
              "tmr_admin",
              "tmr_user"
            ]
          }
        ]
      }
    },
    "/api/tt/stores/{storeId}/generate-user": {
      "post": {
        "tags": [
          "Tt"
        ],
        "operationId": "CMTraditionalTradeEndpointsStoresGenerateStoreUser",
        "parameters": [
          {
            "name": "storeId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "guid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CMTraditionalTradeDtosStoreCredentialsDto"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "JWTBearerAuth": [
              "tmr_admin"
            ]
          }
        ]
      }
    },
    "/api/tt/stores/generate-users-bulk": {
      "post": {
        "tags": [
          "Tt"
        ],
        "operationId": "CMTraditionalTradeEndpointsStoresGenerateStoreUsersBulk",
        "responses": {
          "204": {
            "description": "No Content"
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "JWTBearerAuth": [
              "tmr_admin"
            ]
          }
        ]
      }
    },
    "/api/tt/users/campaign-stores": {
      "get": {
        "tags": [
          "Tt"
        ],
        "operationId": "CMTraditionalTradeEndpointsStoresGetCampaignStores",
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/CMTraditionalTradeDtosCampaignStoresGroupDto"
                  }
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "JWTBearerAuth": [
              "tmr_user"
            ]
          }
        ]
      }
    },
    "/api/tt/stores/{storeId}/credentials": {
      "get": {
        "tags": [
          "Tt"
        ],
        "operationId": "CMTraditionalTradeEndpointsStoresGetStoreCredentials",
        "parameters": [
          {
            "name": "storeId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "guid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CMTraditionalTradeDtosStoreCredentialsDto"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "JWTBearerAuth": [
              "tmr_admin",
              "tmr_user"
            ]
          }
        ]
      }
    },
    "/api/tt/tmr/stores/deviz/{selectionId}": {
      "get": {
        "tags": [
          "Tt"
        ],
        "operationId": "CMTraditionalTradeEndpointsStoresGetTmrStoreDeviz",
        "parameters": [
          {
            "name": "selectionId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "guid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CMTraditionalTradeEndpointsStoresDevizContract"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "JWTBearerAuth": [
              "tmr_user"
            ]
          }
        ]
      }
    },
    "/api/tt/tmr/stores/deviz/{selectionId}/preview": {
      "post": {
        "tags": [
          "Tt"
        ],
        "operationId": "CMTraditionalTradeEndpointsStoresPreviewDeviz",
        "parameters": [
          {
            "name": "selectionId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "guid"
            }
          }
        ],
        "requestBody": {
          "x-name": "DevizAmount",
          "description": "",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CMTraditionalTradeEndpointsStoresDevizAmount"
              }
            }
          },
          "required": true,
          "x-position": 1
        },
        "responses": {
          "204": {
            "description": "No Content"
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "JWTBearerAuth": [
              "tmr_user"
            ]
          }
        ]
      }
    },
    "/api/tt/tmr/stores/deviz/{selectionId}/sign": {
      "post": {
        "tags": [
          "Tt"
        ],
        "operationId": "CMTraditionalTradeEndpointsStoresSignDeviz",
        "parameters": [
          {
            "name": "selectionId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "guid"
            }
          }
        ],
        "requestBody": {
          "x-name": "SignDevizRequest",
          "description": "",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CMTraditionalTradeEndpointsStoresSignDevizRequest"
              }
            }
          },
          "required": true,
          "x-position": 1
        },
        "responses": {
          "204": {
            "description": "No Content"
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "JWTBearerAuth": [
              "tmr_user"
            ]
          }
        ]
      }
    },
    "/api/tt/tmr/stores/deviz/{selectionId}/pdf": {
      "get": {
        "tags": [
          "Tt"
        ],
        "operationId": "CMTraditionalTradeEndpointsStoresDownloadDeviz",
        "parameters": [
          {
            "name": "selectionId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "guid"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "No Content"
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "JWTBearerAuth": [
              "tmr_user"
            ]
          }
        ]
      }
    },
    "/api/tt/users/managed-stores": {
      "get": {
        "tags": [
          "Tt"
        ],
        "operationId": "CMTraditionalTradeEndpointsStoresGetUserStores",
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CMSharedAbstractionsPagingPagedResultOfStoreDto"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "JWTBearerAuth": [
              "tmr_user",
              "asm_user"
            ]
          }
        ]
      }
    },
    "/api/tt/store-users/import": {
      "post": {
        "tags": [
          "Tt"
        ],
        "operationId": "CMTraditionalTradeEndpointsStoresImportStoreUsers",
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CMTraditionalTradeDtosStoreUserImportResultDto"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "JWTBearerAuth": [
              "tmr_admin"
            ]
          }
        ]
      }
    },
    "/api/tt/tmr/stores/{mainStoreId}/contracts/{campaignId}/company": {
      "get": {
        "tags": [
          "Tt"
        ],
        "operationId": "CMTraditionalTradeEndpointsStoresLookupContractCompany",
        "parameters": [
          {
            "name": "mainStoreId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "guid"
            }
          },
          {
            "name": "campaignId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "guid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CMTraditionalTradeInfrastructureAnafRegisteredCompany"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "JWTBearerAuth": [
              "tmr_user"
            ]
          }
        ]
      }
    },
    "/api/tt/tmr/stores/{mainStoreId}/contracts/{campaignId}/draft/{revision}/preview": {
      "get": {
        "tags": [
          "Tt"
        ],
        "operationId": "CMTraditionalTradeEndpointsStoresPreviewContractDraft",
        "parameters": [
          {
            "name": "mainStoreId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "guid"
            }
          },
          {
            "name": "campaignId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "guid"
            }
          },
          {
            "name": "revision",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "guid"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "No Content"
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "JWTBearerAuth": [
              "tmr_user"
            ]
          }
        ]
      }
    },
    "/api/tt/stores/{storeId}/credentials/reset": {
      "post": {
        "tags": [
          "Tt"
        ],
        "operationId": "CMTraditionalTradeEndpointsStoresResetStoreCredentials",
        "parameters": [
          {
            "name": "storeId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "guid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CMTraditionalTradeDtosStoreCredentialsDto"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "JWTBearerAuth": [
              "tmr_admin"
            ]
          }
        ]
      }
    },
    "/api/tt/tmr/stores/{mainStoreId}/contracts/{campaignId}/draft": {
      "put": {
        "tags": [
          "Tt"
        ],
        "operationId": "CMTraditionalTradeEndpointsStoresSaveContractDraft",
        "parameters": [
          {
            "name": "mainStoreId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "guid"
            }
          },
          {
            "name": "campaignId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "guid"
            }
          }
        ],
        "requestBody": {
          "x-name": "SaveContractDraftRequest",
          "description": "",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CMTraditionalTradeEndpointsStoresSaveContractDraftRequest"
              }
            }
          },
          "required": true,
          "x-position": 1
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CMTraditionalTradeEndpointsStoresSavedContractDraft"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "JWTBearerAuth": [
              "tmr_user"
            ]
          }
        ]
      }
    },
    "/api/tt/tmr/stores/{mainStoreId}/contracts/{campaignId}/sign": {
      "post": {
        "tags": [
          "Tt"
        ],
        "operationId": "CMTraditionalTradeEndpointsStoresSignContract",
        "parameters": [
          {
            "name": "mainStoreId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "guid"
            }
          },
          {
            "name": "campaignId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "guid"
            }
          }
        ],
        "requestBody": {
          "x-name": "SignContractRequest",
          "description": "",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CMTraditionalTradeEndpointsStoresSignContractRequest"
              }
            }
          },
          "required": true,
          "x-position": 1
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CMTraditionalTradeEndpointsStoresContractSigned"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "JWTBearerAuth": [
              "tmr_user"
            ]
          }
        ]
      }
    },
    "/api/tt/tmr/stores/{mainStoreId}/contracts/{campaignId}/signed/{selectionId}": {
      "get": {
        "tags": [
          "Tt"
        ],
        "operationId": "CMTraditionalTradeEndpointsStoresGetSignedContract",
        "parameters": [
          {
            "name": "mainStoreId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "guid"
            }
          },
          {
            "name": "campaignId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "guid"
            }
          },
          {
            "name": "selectionId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "guid"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "No Content"
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "JWTBearerAuth": [
              "tmr_user"
            ]
          }
        ]
      }
    },
    "/api/tt/stores/{storeId}/credentials/sync": {
      "post": {
        "tags": [
          "Tt"
        ],
        "operationId": "CMTraditionalTradeEndpointsStoresSyncStoreCredentials",
        "parameters": [
          {
            "name": "storeId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "guid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CMTraditionalTradeDtosStoreCredentialsDto"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "JWTBearerAuth": [
              "tmr_admin"
            ]
          }
        ]
      }
    },
    "/api/tt/tmr/stores/{mainStoreId}/contracts/{campaignId}": {
      "get": {
        "tags": [
          "Tt"
        ],
        "operationId": "CMTraditionalTradeEndpointsStoresGetTmrStoreContract",
        "parameters": [
          {
            "name": "mainStoreId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "guid"
            }
          },
          {
            "name": "campaignId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "guid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CMTraditionalTradeEndpointsStoresContractStartDto"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "JWTBearerAuth": [
              "tmr_user"
            ]
          }
        ]
      }
    },
    "/api/tt/regions": {
      "post": {
        "tags": [
          "Tt"
        ],
        "operationId": "CMTraditionalTradeEndpointsRegionsCreateRegion",
        "requestBody": {
          "x-name": "RegionDto",
          "description": "",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CMTraditionalTradeDtosRegionDto"
              }
            }
          },
          "required": true,
          "x-position": 1
        },
        "responses": {
          "204": {
            "description": "No Content"
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "JWTBearerAuth": [
              "tmr_admin"
            ]
          }
        ]
      },
      "get": {
        "tags": [
          "Tt"
        ],
        "operationId": "CMTraditionalTradeEndpointsRegionsSearchRegions",
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CMSharedAbstractionsPagingPagedResultOfRegionDto"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "JWTBearerAuth": [
              "tmr_admin"
            ]
          }
        ]
      }
    },
    "/api/regions/{regionId}": {
      "get": {
        "tags": [
          "Regions"
        ],
        "operationId": "CMTraditionalTradeEndpointsRegionsGetRegionById",
        "parameters": [
          {
            "name": "regionId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CMTraditionalTradeDtosRegionDto"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "JWTBearerAuth": [
              "tmr_admin"
            ]
          }
        ]
      }
    },
    "/api/tt/promo/admin/orders/{id}/lines": {
      "post": {
        "tags": [
          "Tt"
        ],
        "operationId": "CMTraditionalTradeEndpointsPromoAddMarketingPromoOrderLine",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "guid"
            }
          }
        ],
        "requestBody": {
          "x-name": "UpsertOrderLineRequest",
          "description": "",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CMTraditionalTradeDtosUpsertOrderLineRequest"
              }
            }
          },
          "required": true,
          "x-position": 1
        },
        "responses": {
          "204": {
            "description": "No Content"
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "JWTBearerAuth": [
              "marketing_admin"
            ]
          }
        ]
      }
    },
    "/api/tt/promo/admin/orders/{id}/approve": {
      "post": {
        "tags": [
          "Tt"
        ],
        "operationId": "CMTraditionalTradeEndpointsPromoApprovePromoOrder",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "guid"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "No Content"
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "JWTBearerAuth": [
              "marketing_admin"
            ]
          }
        ]
      }
    },
    "/api/tt/promo/orders/current/cancel": {
      "post": {
        "tags": [
          "Tt"
        ],
        "operationId": "CMTraditionalTradeEndpointsPromoCancelMyPromoOrder",
        "responses": {
          "204": {
            "description": "No Content"
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "JWTBearerAuth": [
              "tmr_user"
            ]
          }
        ]
      }
    },
    "/api/tt/promo/admin/orders/{id}/cancel": {
      "post": {
        "tags": [
          "Tt"
        ],
        "operationId": "CMTraditionalTradeEndpointsPromoCancelPromoOrder",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "guid"
            }
          }
        ],
        "requestBody": {
          "x-name": "CancelOrderRequest",
          "description": "",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CMTraditionalTradeDtosCancelOrderRequest"
              }
            }
          },
          "required": true,
          "x-position": 1
        },
        "responses": {
          "204": {
            "description": "No Content"
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "JWTBearerAuth": [
              "marketing_admin"
            ]
          }
        ]
      }
    },
    "/api/tt/promo/orders/current/clear": {
      "post": {
        "tags": [
          "Tt"
        ],
        "operationId": "CMTraditionalTradeEndpointsPromoClearCurrentPromoOrder",
        "responses": {
          "204": {
            "description": "No Content"
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "JWTBearerAuth": [
              "tmr_user"
            ]
          }
        ]
      }
    },
    "/api/tt/promo/admin/orders/{id}/close": {
      "post": {
        "tags": [
          "Tt"
        ],
        "operationId": "CMTraditionalTradeEndpointsPromoClosePromoOrder",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "guid"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "No Content"
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "JWTBearerAuth": [
              "marketing_admin"
            ]
          }
        ]
      }
    },
    "/api/tt/promo/admin/orders": {
      "post": {
        "tags": [
          "Tt"
        ],
        "operationId": "CMTraditionalTradeEndpointsPromoCreateMarketingPromoOrder",
        "requestBody": {
          "x-name": "CreateMarketingOrderRequest",
          "description": "",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CMTraditionalTradeDtosCreateMarketingOrderRequest"
              }
            }
          },
          "required": true,
          "x-position": 1
        },
        "responses": {
          "204": {
            "description": "No Content"
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "JWTBearerAuth": [
              "marketing_admin"
            ]
          }
        ]
      },
      "get": {
        "tags": [
          "Tt"
        ],
        "operationId": "CMTraditionalTradeEndpointsPromoGetAdminPromoOrders",
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/CMTraditionalTradeDtosPromoAdminOrderSummaryDto"
                  }
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "JWTBearerAuth": [
              "marketing_admin"
            ]
          }
        ]
      }
    },
    "/api/tt/promo/products": {
      "post": {
        "tags": [
          "Tt"
        ],
        "operationId": "CMTraditionalTradeEndpointsPromoCreatePromoProduct",
        "requestBody": {
          "x-name": "PromoProductDto",
          "description": "",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CMTraditionalTradeDtosPromoProductDto"
              }
            }
          },
          "required": true,
          "x-position": 1
        },
        "responses": {
          "204": {
            "description": "No Content"
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "JWTBearerAuth": [
              "marketing_admin"
            ]
          }
        ]
      },
      "get": {
        "tags": [
          "Tt"
        ],
        "operationId": "CMTraditionalTradeEndpointsPromoGetPromoProducts",
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CMSharedAbstractionsPagingPagedResultOfPromoProductDto"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "JWTBearerAuth": [
              "marketing_admin"
            ]
          }
        ]
      },
      "put": {
        "tags": [
          "Tt"
        ],
        "operationId": "CMTraditionalTradeEndpointsPromoUpdatePromoProduct",
        "requestBody": {
          "x-name": "PromoProductDto",
          "description": "",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CMTraditionalTradeDtosPromoProductDto"
              }
            }
          },
          "required": true,
          "x-position": 1
        },
        "responses": {
          "204": {
            "description": "No Content"
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "JWTBearerAuth": [
              "marketing_admin"
            ]
          }
        ]
      }
    },
    "/api/tt/promo/admin/orders/{id}/lines/{lineId}": {
      "put": {
        "tags": [
          "Tt"
        ],
        "operationId": "CMTraditionalTradeEndpointsPromoCutPromoOrderLine",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "guid"
            }
          },
          {
            "name": "lineId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "guid"
            }
          }
        ],
        "requestBody": {
          "x-name": "CutOrderLineRequest",
          "description": "",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CMTraditionalTradeDtosCutOrderLineRequest"
              }
            }
          },
          "required": true,
          "x-position": 1
        },
        "responses": {
          "204": {
            "description": "No Content"
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "JWTBearerAuth": [
              "marketing_admin"
            ]
          }
        ]
      }
    },
    "/api/tt/promo/orders/{id}/lines/{productId}": {
      "delete": {
        "tags": [
          "Tt"
        ],
        "operationId": "CMTraditionalTradeEndpointsPromoEditOrderRemoveLine",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "guid"
            }
          },
          {
            "name": "productId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "guid"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "No Content"
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "JWTBearerAuth": [
              "tmr_user"
            ]
          }
        ]
      }
    },
    "/api/tt/promo/orders/{id}/lines": {
      "put": {
        "tags": [
          "Tt"
        ],
        "operationId": "CMTraditionalTradeEndpointsPromoEditOrderUpsertLine",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "guid"
            }
          }
        ],
        "requestBody": {
          "x-name": "UpsertOrderLineRequest",
          "description": "",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CMTraditionalTradeDtosUpsertOrderLineRequest"
              }
            }
          },
          "required": true,
          "x-position": 1
        },
        "responses": {
          "204": {
            "description": "No Content"
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "JWTBearerAuth": [
              "tmr_user"
            ]
          }
        ]
      }
    },
    "/api/tt/promo/agency/orders/{id}/export": {
      "get": {
        "tags": [
          "Tt"
        ],
        "operationId": "CMTraditionalTradeEndpointsPromoExportAgencyPromoOrder",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "guid"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "No Content"
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "JWTBearerAuth": [
              "shipping_agency"
            ]
          }
        ]
      }
    },
    "/api/tt/promo/admin/reports/per-tmr": {
      "get": {
        "tags": [
          "Tt"
        ],
        "operationId": "CMTraditionalTradeEndpointsPromoExportPromoPerTmr",
        "responses": {
          "204": {
            "description": "No Content"
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "JWTBearerAuth": [
              "marketing_admin"
            ]
          }
        ]
      }
    },
    "/api/tt/promo/products/export": {
      "get": {
        "tags": [
          "Tt"
        ],
        "operationId": "CMTraditionalTradeEndpointsPromoExportPromoProducts",
        "responses": {
          "204": {
            "description": "No Content"
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "JWTBearerAuth": [
              "marketing_admin"
            ]
          }
        ]
      }
    },
    "/api/tt/promo/admin/reports/total-needs": {
      "get": {
        "tags": [
          "Tt"
        ],
        "operationId": "CMTraditionalTradeEndpointsPromoExportPromoTotalNeeds",
        "responses": {
          "204": {
            "description": "No Content"
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "JWTBearerAuth": [
              "marketing_admin"
            ]
          }
        ]
      }
    },
    "/api/tt/promo/orders/current/finalize": {
      "post": {
        "tags": [
          "Tt"
        ],
        "operationId": "CMTraditionalTradeEndpointsPromoFinalizePromoOrder",
        "requestBody": {
          "x-name": "FinalizeOrderShippingRequest",
          "description": "",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CMTraditionalTradeDtosFinalizeOrderShippingRequest"
              }
            }
          },
          "required": true,
          "x-position": 1
        },
        "responses": {
          "204": {
            "description": "No Content"
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "JWTBearerAuth": [
              "tmr_user"
            ]
          }
        ]
      }
    },
    "/api/tt/promo/admin/orders/{id}": {
      "get": {
        "tags": [
          "Tt"
        ],
        "operationId": "CMTraditionalTradeEndpointsPromoGetAdminPromoOrderById",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "guid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CMTraditionalTradeDtosPromoAdminOrderDto"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "JWTBearerAuth": [
              "marketing_admin"
            ]
          }
        ]
      }
    },
    "/api/tt/promo/agency/orders/{id}": {
      "get": {
        "tags": [
          "Tt"
        ],
        "operationId": "CMTraditionalTradeEndpointsPromoGetAgencyPromoOrderById",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "guid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CMTraditionalTradeDtosPromoAgencyOrderDto"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "JWTBearerAuth": [
              "shipping_agency"
            ]
          }
        ]
      }
    },
    "/api/tt/promo/agency/orders": {
      "get": {
        "tags": [
          "Tt"
        ],
        "operationId": "CMTraditionalTradeEndpointsPromoGetAgencyPromoOrders",
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/CMTraditionalTradeDtosPromoAgencyOrderSummaryDto"
                  }
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "JWTBearerAuth": [
              "shipping_agency"
            ]
          }
        ]
      }
    },
    "/api/tt/promo/orders/current": {
      "get": {
        "tags": [
          "Tt"
        ],
        "operationId": "CMTraditionalTradeEndpointsPromoGetCurrentPromoOrder",
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CMTraditionalTradeDtosCurrentOrderStateDto"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "JWTBearerAuth": [
              "tmr_user"
            ]
          }
        ]
      }
    },
    "/api/tt/promo/orders/current/delivery-profile": {
      "get": {
        "tags": [
          "Tt"
        ],
        "operationId": "CMTraditionalTradeEndpointsPromoGetMyDeliveryProfile",
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CMTraditionalTradeDtosTmrDeliveryProfileDto"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "JWTBearerAuth": [
              "tmr_user"
            ]
          }
        ]
      }
    },
    "/api/tt/promo/orders/mine": {
      "get": {
        "tags": [
          "Tt"
        ],
        "operationId": "CMTraditionalTradeEndpointsPromoGetMyPromoOrders",
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/CMTraditionalTradeDtosPromoOrderSummaryDto"
                  }
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "JWTBearerAuth": [
              "tmr_user"
            ]
          }
        ]
      }
    },
    "/api/tt/promo/admin/orderable-products": {
      "get": {
        "tags": [
          "Tt"
        ],
        "operationId": "CMTraditionalTradeEndpointsPromoGetOrderablePromoProducts",
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/CMTraditionalTradeDtosPromoPickProductDto"
                  }
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "JWTBearerAuth": [
              "marketing_admin"
            ]
          }
        ]
      }
    },
    "/api/tt/promo/admin/products/catalog": {
      "get": {
        "tags": [
          "Tt"
        ],
        "operationId": "CMTraditionalTradeEndpointsPromoGetPromoAdminCatalog",
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/CMTraditionalTradeDtosPromoAdminProductDto"
                  }
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "JWTBearerAuth": [
              "marketing_admin"
            ]
          }
        ]
      }
    },
    "/api/tt/promo/catalog": {
      "get": {
        "tags": [
          "Tt"
        ],
        "operationId": "CMTraditionalTradeEndpointsPromoGetPromoCatalog",
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/CMTraditionalTradeDtosPromoCatalogProductDto"
                  }
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "JWTBearerAuth": [
              "tmr_user"
            ]
          }
        ]
      }
    },
    "/api/tt/promo/orders/{id}": {
      "get": {
        "tags": [
          "Tt"
        ],
        "operationId": "CMTraditionalTradeEndpointsPromoGetPromoOrderById",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "guid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CMTraditionalTradeDtosPromoOrderDto"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "JWTBearerAuth": [
              "tmr_user"
            ]
          }
        ]
      }
    },
    "/api/tt/promo/admin/tmr-users": {
      "get": {
        "tags": [
          "Tt"
        ],
        "operationId": "CMTraditionalTradeEndpointsPromoGetPromoTmrUsers",
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/CMTraditionalTradeDtosPromoTmrUserDto"
                  }
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "JWTBearerAuth": [
              "marketing_admin"
            ]
          }
        ]
      }
    },
    "/api/tt/promo/admin/tmr-delivery-profiles/{tmrUserId}": {
      "get": {
        "tags": [
          "Tt"
        ],
        "operationId": "CMTraditionalTradeEndpointsPromoGetTmrDeliveryProfile",
        "parameters": [
          {
            "name": "tmrUserId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "guid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CMTraditionalTradeDtosTmrDeliveryProfileDto"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "JWTBearerAuth": [
              "tmr_admin"
            ]
          }
        ]
      },
      "put": {
        "tags": [
          "Tt"
        ],
        "operationId": "CMTraditionalTradeEndpointsPromoSetTmrDeliveryProfile",
        "parameters": [
          {
            "name": "tmrUserId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "guid"
            }
          }
        ],
        "requestBody": {
          "x-name": "TmrDeliveryProfileRequest",
          "description": "",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CMTraditionalTradeDtosTmrDeliveryProfileRequest"
              }
            }
          },
          "required": true,
          "x-position": 1
        },
        "responses": {
          "204": {
            "description": "No Content"
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "JWTBearerAuth": [
              "tmr_admin"
            ]
          }
        ]
      }
    },
    "/api/tt/promo/admin/orders/import": {
      "post": {
        "tags": [
          "Tt"
        ],
        "operationId": "CMTraditionalTradeEndpointsPromoImportPromoOrders",
        "responses": {
          "204": {
            "description": "No Content"
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "JWTBearerAuth": [
              "marketing_admin"
            ]
          }
        ]
      }
    },
    "/api/tt/promo/agency/orders/{id}/process": {
      "post": {
        "tags": [
          "Tt"
        ],
        "operationId": "CMTraditionalTradeEndpointsPromoProcessPromoOrder",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "guid"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "No Content"
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "JWTBearerAuth": [
              "shipping_agency"
            ]
          }
        ]
      }
    },
    "/api/tt/promo/orders/{id}/receive": {
      "post": {
        "tags": [
          "Tt"
        ],
        "operationId": "CMTraditionalTradeEndpointsPromoReceivePromoOrder",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "guid"
            }
          }
        ],
        "requestBody": {
          "x-name": "ReceiveOrderRequest",
          "description": "",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CMTraditionalTradeDtosReceiveOrderRequest"
              }
            }
          },
          "required": true,
          "x-position": 1
        },
        "responses": {
          "204": {
            "description": "No Content"
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "JWTBearerAuth": [
              "tmr_user"
            ]
          }
        ]
      }
    },
    "/api/tt/promo/orders/current/lines/{productId}": {
      "delete": {
        "tags": [
          "Tt"
        ],
        "operationId": "CMTraditionalTradeEndpointsPromoRemovePromoOrderLine",
        "parameters": [
          {
            "name": "productId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "guid"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "No Content"
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "JWTBearerAuth": [
              "tmr_user"
            ]
          }
        ]
      }
    },
    "/api/tt/promo/admin/orders/{id}/shipping": {
      "post": {
        "tags": [
          "Tt"
        ],
        "operationId": "CMTraditionalTradeEndpointsPromoSetPromoOrderShipping",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "guid"
            }
          }
        ],
        "requestBody": {
          "x-name": "SetOrderShippingRequest",
          "description": "",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CMTraditionalTradeDtosSetOrderShippingRequest"
              }
            }
          },
          "required": true,
          "x-position": 1
        },
        "responses": {
          "204": {
            "description": "No Content"
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "JWTBearerAuth": [
              "marketing_admin"
            ]
          }
        ]
      }
    },
    "/api/tt/promo/agency/orders/{id}/ship": {
      "post": {
        "tags": [
          "Tt"
        ],
        "operationId": "CMTraditionalTradeEndpointsPromoShipAgencyPromoOrder",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "guid"
            }
          }
        ],
        "requestBody": {
          "x-name": "AgencyShipRequest",
          "description": "",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CMTraditionalTradeDtosAgencyShipRequest"
              }
            }
          },
          "required": true,
          "x-position": 1
        },
        "responses": {
          "204": {
            "description": "No Content"
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "JWTBearerAuth": [
              "shipping_agency"
            ]
          }
        ]
      }
    },
    "/api/tt/promo/admin/orders/{id}/ship": {
      "post": {
        "tags": [
          "Tt"
        ],
        "operationId": "CMTraditionalTradeEndpointsPromoShipPromoOrder",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "guid"
            }
          }
        ],
        "requestBody": {
          "x-name": "ShipOrderRequest",
          "description": "",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CMTraditionalTradeDtosShipOrderRequest"
              }
            }
          },
          "required": true,
          "x-position": 1
        },
        "responses": {
          "204": {
            "description": "No Content"
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "JWTBearerAuth": [
              "marketing_admin"
            ]
          }
        ]
      }
    },
    "/api/tt/promo/admin/orders/{id}/unapprove": {
      "post": {
        "tags": [
          "Tt"
        ],
        "operationId": "CMTraditionalTradeEndpointsPromoUnapprovePromoOrder",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "guid"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "No Content"
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "JWTBearerAuth": [
              "marketing_admin"
            ]
          }
        ]
      }
    },
    "/api/tt/promo/products/{id}/photo": {
      "post": {
        "tags": [
          "Tt"
        ],
        "operationId": "CMTraditionalTradeEndpointsPromoUploadPromoProductPhoto",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "guid"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "No Content"
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "JWTBearerAuth": [
              "marketing_admin"
            ]
          }
        ]
      }
    },
    "/api/tt/promo/orders/current/lines": {
      "put": {
        "tags": [
          "Tt"
        ],
        "operationId": "CMTraditionalTradeEndpointsPromoUpsertPromoOrderLine",
        "requestBody": {
          "x-name": "UpsertOrderLineRequest",
          "description": "",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CMTraditionalTradeDtosUpsertOrderLineRequest"
              }
            }
          },
          "required": true,
          "x-position": 1
        },
        "responses": {
          "204": {
            "description": "No Content"
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "JWTBearerAuth": [
              "tmr_user"
            ]
          }
        ]
      }
    },
    "/api/tt/database-imports/{importId}": {
      "delete": {
        "tags": [
          "Tt"
        ],
        "operationId": "CMTraditionalTradeEndpointsDatabaseImportsDeleteDatabaseImport",
        "parameters": [
          {
            "name": "importId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "guid"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "No Content"
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "JWTBearerAuth": [
              "tmr_admin"
            ]
          }
        ]
      }
    },
    "/api/tt/database-imports": {
      "get": {
        "tags": [
          "Tt"
        ],
        "operationId": "CMTraditionalTradeEndpointsDatabaseImportsGetDatabaseImports",
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CMSharedAbstractionsPagingPagedResultOfDatabaseImportDto"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "JWTBearerAuth": [
              "tmr_admin"
            ]
          }
        ]
      },
      "post": {
        "tags": [
          "Tt"
        ],
        "operationId": "CMTraditionalTradeEndpointsDatabaseImportsImportDatabase",
        "requestBody": {
          "x-name": "ImportDatabaseRequest",
          "description": "",
          "content": {
            "multipart/form-data": {
              "schema": {
                "$ref": "#/components/schemas/CMTraditionalTradeEndpointsDatabaseImportsImportDatabaseRequest"
              }
            }
          },
          "required": true,
          "x-position": 1
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CMTraditionalTradeEndpointsDatabaseImportsImportDatabaseResponse"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "JWTBearerAuth": [
              "tmr_admin"
            ]
          }
        ]
      }
    },
    "/api/tt/database-imports/process": {
      "post": {
        "tags": [
          "Tt"
        ],
        "operationId": "CMTraditionalTradeEndpointsDatabaseImportsProcessDatabase",
        "responses": {
          "204": {
            "description": "No Content"
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "JWTBearerAuth": [
              "tmr_admin"
            ]
          }
        ]
      }
    },
    "/api/tt/collection-campaigns/{campaignId}/stores/{storeId}": {
      "post": {
        "tags": [
          "Tt"
        ],
        "operationId": "CMTraditionalTradeEndpointsCollectionCampaignsAddStoreToCollectionCampaign",
        "parameters": [
          {
            "name": "campaignId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "guid"
            }
          },
          {
            "name": "storeId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "guid"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "No Content"
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "JWTBearerAuth": [
              "tmr_user"
            ]
          }
        ]
      },
      "delete": {
        "tags": [
          "Tt"
        ],
        "operationId": "CMTraditionalTradeEndpointsCollectionCampaignsRemoveStoreFromCollectionCampaign",
        "parameters": [
          {
            "name": "campaignId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "guid"
            }
          },
          {
            "name": "storeId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "guid"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "No Content"
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "JWTBearerAuth": [
              "tmr_user"
            ]
          }
        ]
      }
    },
    "/api/tt/collection-campaigns": {
      "post": {
        "tags": [
          "Tt"
        ],
        "operationId": "CMTraditionalTradeEndpointsCollectionCampaignsCreateCollectionCampaign",
        "requestBody": {
          "x-name": "CollectionCampaignDto",
          "description": "",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CMTraditionalTradeDtosCollectionCampaignDto"
              }
            }
          },
          "required": true,
          "x-position": 1
        },
        "responses": {
          "204": {
            "description": "No Content"
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "JWTBearerAuth": [
              "tmr_admin",
              "tt_admin"
            ]
          }
        ]
      },
      "get": {
        "tags": [
          "Tt"
        ],
        "operationId": "CMTraditionalTradeEndpointsCollectionCampaignsGetCollectionCampaigns",
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CMSharedAbstractionsPagingPagedResultOfCollectionCampaignDto"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "JWTBearerAuth": [
              "tmr_admin",
              "tt_admin"
            ]
          }
        ]
      },
      "put": {
        "tags": [
          "Tt"
        ],
        "operationId": "CMTraditionalTradeEndpointsCollectionCampaignsUpdateCollectionCampaign",
        "requestBody": {
          "x-name": "CollectionCampaignDto",
          "description": "",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CMTraditionalTradeDtosCollectionCampaignDto"
              }
            }
          },
          "required": true,
          "x-position": 1
        },
        "responses": {
          "204": {
            "description": "No Content"
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "JWTBearerAuth": [
              "tmr_admin",
              "tt_admin"
            ]
          }
        ]
      }
    },
    "/api/tt/collection-campaigns/{campaignId}": {
      "delete": {
        "tags": [
          "Tt"
        ],
        "operationId": "CMTraditionalTradeEndpointsCollectionCampaignsDeleteCollectionCampaign",
        "parameters": [
          {
            "name": "campaignId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "guid"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "No Content"
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "JWTBearerAuth": [
              "tmr_admin",
              "tt_admin"
            ]
          }
        ]
      }
    },
    "/api/tt/collection-campaigns/{id}/export": {
      "get": {
        "tags": [
          "Tt"
        ],
        "operationId": "CMTraditionalTradeEndpointsCollectionCampaignsExportCollectionCampaign",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "guid"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "No Content"
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "JWTBearerAuth": [
              "tmr_admin",
              "tt_admin"
            ]
          }
        ]
      }
    },
    "/api/tt/contract-campaigns": {
      "get": {
        "tags": [
          "Tt"
        ],
        "operationId": "CMTraditionalTradeEndpointsCollectionCampaignsGetContractCampaigns",
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CMSharedAbstractionsPagingPagedResultOfCollectionCampaignDto"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "JWTBearerAuth": [
              "tmr_contract_viewer"
            ]
          }
        ]
      }
    },
    "/api/tt/collection-campaigns/{campaignId}/contract/groups/{mainStoreId}/candidates": {
      "get": {
        "tags": [
          "Tt"
        ],
        "operationId": "CMTraditionalTradeEndpointsCollectionCampaignsGetContractGroupCandidates",
        "parameters": [
          {
            "name": "campaignId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "guid"
            }
          },
          {
            "name": "mainStoreId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "guid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CMTraditionalTradeEndpointsCollectionCampaignsContractCandidates"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "JWTBearerAuth": [
              "tmr_user"
            ]
          }
        ]
      }
    },
    "/api/tt/collection-campaigns/{campaignId}/contract/stores": {
      "get": {
        "tags": [
          "Tt"
        ],
        "operationId": "CMTraditionalTradeEndpointsCollectionCampaignsGetContractGroupStores",
        "parameters": [
          {
            "name": "campaignId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "guid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/CMTraditionalTradeEndpointsCollectionCampaignsContractPos"
                  }
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "JWTBearerAuth": [
              "tmr_user"
            ]
          }
        ]
      }
    },
    "/api/tt/collection-campaigns/{campaignId}/my-stores": {
      "get": {
        "tags": [
          "Tt"
        ],
        "operationId": "CMTraditionalTradeEndpointsCollectionCampaignsGetMyStoresForCampaign",
        "parameters": [
          {
            "name": "campaignId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "guid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/CMTraditionalTradeDtosMyStoreSelectionDto"
                  }
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "JWTBearerAuth": [
              "tmr_user"
            ]
          }
        ]
      }
    },
    "/api/tt/collection-campaigns/{campaignId}/contract": {
      "get": {
        "tags": [
          "Tt"
        ],
        "operationId": "CMTraditionalTradeEndpointsCollectionCampaignsGetTmrContractCampaign",
        "parameters": [
          {
            "name": "campaignId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "guid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CMTraditionalTradeContractsTmrFieldCampaign"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "JWTBearerAuth": [
              "tmr_user"
            ]
          }
        ]
      }
    },
    "/api/tt/collection-campaigns/{campaignId}/summary": {
      "get": {
        "tags": [
          "Tt"
        ],
        "operationId": "CMTraditionalTradeEndpointsCollectionCampaignsGetTmrFieldCampaign",
        "parameters": [
          {
            "name": "campaignId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "guid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CMTraditionalTradeContractsTmrFieldCampaign"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "JWTBearerAuth": [
              "tmr_user"
            ]
          }
        ]
      }
    },
    "/api/tt/collection-campaigns/visible": {
      "get": {
        "tags": [
          "Tt"
        ],
        "operationId": "CMTraditionalTradeEndpointsCollectionCampaignsGetVisibleCollectionCampaigns",
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CMSharedAbstractionsPagingPagedResultOfVisibleCollectionCampaignDto"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "JWTBearerAuth": [
              "tmr_user"
            ]
          }
        ]
      }
    },
    "/api/tt/collection-campaigns/{campaignId}/contract/groups/{mainStoreId}": {
      "put": {
        "tags": [
          "Tt"
        ],
        "operationId": "CMTraditionalTradeEndpointsCollectionCampaignsSaveContractGroup",
        "parameters": [
          {
            "name": "campaignId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "guid"
            }
          },
          {
            "name": "mainStoreId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "guid"
            }
          }
        ],
        "requestBody": {
          "x-name": "SaveContractGroupRequest",
          "description": "",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CMTraditionalTradeEndpointsCollectionCampaignsSaveContractGroupRequest"
              }
            }
          },
          "required": true,
          "x-position": 1
        },
        "responses": {
          "204": {
            "description": "No Content"
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "JWTBearerAuth": [
              "tmr_user"
            ]
          }
        ]
      }
    },
    "/api/tt/collection-campaigns/{campaignId}/signed-contracts": {
      "get": {
        "tags": [
          "Tt"
        ],
        "operationId": "CMTraditionalTradeEndpointsCollectionCampaignsSignedContractsReport",
        "parameters": [
          {
            "name": "campaignId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "guid"
            }
          },
          {
            "name": "search",
            "in": "query",
            "schema": {
              "type": "string",
              "nullable": true
            }
          },
          {
            "name": "from",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "date",
              "nullable": true
            }
          },
          {
            "name": "to",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "date",
              "nullable": true
            }
          },
          {
            "name": "page",
            "in": "query",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "pageSize",
            "in": "query",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "tmrId",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "guid",
              "nullable": true
            }
          },
          {
            "name": "excel",
            "in": "query",
            "required": true,
            "schema": {
              "type": "boolean"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "No Content"
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "JWTBearerAuth": [
              "tt_admin",
              "tmr_contract_viewer"
            ]
          }
        ]
      }
    },
    "/api/tt/collection-campaigns/{campaignId}/signed-contracts/{selectionId}/details": {
      "get": {
        "tags": [
          "Tt"
        ],
        "operationId": "CMTraditionalTradeEndpointsCollectionCampaignsGetCampaignContractDetails",
        "parameters": [
          {
            "name": "campaignId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "guid"
            }
          },
          {
            "name": "selectionId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "guid"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "No Content"
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "JWTBearerAuth": [
              "tt_admin",
              "tmr_contract_viewer"
            ]
          }
        ]
      }
    },
    "/api/tt/collection-campaigns/{campaignId}/signed-contracts/{selectionId}/pdf": {
      "get": {
        "tags": [
          "Tt"
        ],
        "operationId": "CMTraditionalTradeEndpointsCollectionCampaignsDownloadCampaignContract1",
        "parameters": [
          {
            "name": "campaignId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "guid"
            }
          },
          {
            "name": "selectionId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "guid"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "No Content"
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "JWTBearerAuth": [
              "tt_admin",
              "tmr_contract_viewer"
            ]
          }
        ]
      }
    },
    "/api/tt/collection-campaigns/{campaignId}/signed-contracts/{selectionId}/versions/{version}/pdf": {
      "get": {
        "tags": [
          "Tt"
        ],
        "operationId": "CMTraditionalTradeEndpointsCollectionCampaignsDownloadCampaignContract2",
        "parameters": [
          {
            "name": "campaignId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "guid"
            }
          },
          {
            "name": "selectionId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "guid"
            }
          },
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "No Content"
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "JWTBearerAuth": [
              "tt_admin",
              "tmr_contract_viewer"
            ]
          }
        ]
      }
    },
    "/api/tt/collection-campaigns/{campaignId}/signed-contracts/{selectionId}/deviz/pdf": {
      "get": {
        "tags": [
          "Tt"
        ],
        "operationId": "CMTraditionalTradeEndpointsCollectionCampaignsDownloadCampaignDeviz",
        "parameters": [
          {
            "name": "campaignId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "guid"
            }
          },
          {
            "name": "selectionId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "guid"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "No Content"
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "JWTBearerAuth": [
              "tt_admin",
              "tmr_contract_viewer"
            ]
          }
        ]
      }
    },
    "/api/tt/campaigns/users": {
      "post": {
        "tags": [
          "Tt"
        ],
        "operationId": "CMTraditionalTradeEndpointsCampaignsAddCampaignUser",
        "requestBody": {
          "x-name": "CampaignUserDto",
          "description": "",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CMTraditionalTradeDtosCampaignUserDto"
              }
            }
          },
          "required": true,
          "x-position": 1
        },
        "responses": {
          "204": {
            "description": "No Content"
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "JWTBearerAuth": [
              "tmr_admin"
            ]
          }
        ]
      },
      "get": {
        "tags": [
          "Tt"
        ],
        "operationId": "CMTraditionalTradeEndpointsCampaignsGetCampaignUsers",
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CMSharedAbstractionsPagingPagedResultOfCampaignUserDto"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "JWTBearerAuth": [
              "tmr_admin",
              "tmr_user"
            ]
          }
        ]
      }
    },
    "/api/tt/campaigns": {
      "post": {
        "tags": [
          "Tt"
        ],
        "operationId": "CMTraditionalTradeEndpointsCampaignsCreateCampaign",
        "requestBody": {
          "x-name": "CampaignDto",
          "description": "",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CMTraditionalTradeDtosCampaignDto"
              }
            }
          },
          "required": true,
          "x-position": 1
        },
        "responses": {
          "204": {
            "description": "No Content"
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "JWTBearerAuth": [
              "tmr_admin"
            ]
          }
        ]
      },
      "get": {
        "tags": [
          "Tt"
        ],
        "operationId": "CMTraditionalTradeEndpointsCampaignsGetCampaigns",
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CMSharedAbstractionsPagingPagedResultOfCampaignDto"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "JWTBearerAuth": [
              "tmr_admin",
              "tmr_user"
            ]
          }
        ]
      },
      "put": {
        "tags": [
          "Tt"
        ],
        "operationId": "CMTraditionalTradeEndpointsCampaignsUpdateCampaign",
        "requestBody": {
          "x-name": "CampaignDto",
          "description": "",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CMTraditionalTradeDtosCampaignDto"
              }
            }
          },
          "required": true,
          "x-position": 1
        },
        "responses": {
          "204": {
            "description": "No Content"
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "JWTBearerAuth": [
              "tmr_admin"
            ]
          }
        ]
      }
    },
    "/api/tt/campaigns/{campaignId}/quiz-questions": {
      "post": {
        "tags": [
          "Tt"
        ],
        "operationId": "CMTraditionalTradeEndpointsCampaignsCreateQuizQuestion",
        "parameters": [
          {
            "name": "campaignId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "guid"
            }
          }
        ],
        "requestBody": {
          "x-name": "CreateQuizQuestionRequest",
          "description": "",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CMTraditionalTradeEndpointsCampaignsCreateQuizQuestionRequest"
              }
            }
          },
          "required": true,
          "x-position": 1
        },
        "responses": {
          "204": {
            "description": "No Content"
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "JWTBearerAuth": [
              "tmr_admin"
            ]
          }
        ]
      },
      "get": {
        "tags": [
          "Tt"
        ],
        "operationId": "CMTraditionalTradeEndpointsCampaignsGetQuizQuestions",
        "parameters": [
          {
            "name": "campaignId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "guid"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "No Content"
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "JWTBearerAuth": [
              "tmr_admin",
              "tmr_user"
            ]
          }
        ]
      },
      "put": {
        "tags": [
          "Tt"
        ],
        "operationId": "CMTraditionalTradeEndpointsCampaignsUpdateQuizQuestion",
        "parameters": [
          {
            "name": "campaignId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "guid"
            }
          }
        ],
        "requestBody": {
          "x-name": "UpdateQuizQuestionRequest",
          "description": "",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CMTraditionalTradeEndpointsCampaignsUpdateQuizQuestionRequest"
              }
            }
          },
          "required": true,
          "x-position": 1
        },
        "responses": {
          "204": {
            "description": "No Content"
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "JWTBearerAuth": [
              "tmr_admin"
            ]
          }
        ]
      }
    },
    "/api/tt/campaigns/{campaignId}": {
      "delete": {
        "tags": [
          "Tt"
        ],
        "operationId": "CMTraditionalTradeEndpointsCampaignsDeleteCampaign",
        "parameters": [
          {
            "name": "campaignId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "guid"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "No Content"
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "JWTBearerAuth": [
              "tmr_admin"
            ]
          }
        ]
      }
    },
    "/api/tt/campaigns/{campaignId}/quiz-questions/{questionId}": {
      "delete": {
        "tags": [
          "Tt"
        ],
        "operationId": "CMTraditionalTradeEndpointsCampaignsDeleteQuizQuestion",
        "parameters": [
          {
            "name": "campaignId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "guid"
            }
          },
          {
            "name": "questionId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "guid"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "No Content"
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "JWTBearerAuth": [
              "tmr_admin"
            ]
          }
        ]
      }
    },
    "/api/tt/campaigns/users/download-template": {
      "get": {
        "tags": [
          "Tt"
        ],
        "operationId": "CMTraditionalTradeEndpointsCampaignsDownloadTemplate",
        "responses": {
          "204": {
            "description": "No Content"
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "JWTBearerAuth": [
              "tmr_admin"
            ]
          }
        ]
      }
    },
    "/api/tt/campaigns/{campaignId}/users/{userId}/allocation": {
      "get": {
        "tags": [
          "Tt"
        ],
        "operationId": "CMTraditionalTradeEndpointsCampaignsGetCampaignUserAllocation",
        "parameters": [
          {
            "name": "campaignId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "guid"
            }
          },
          {
            "name": "userId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "guid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CMTraditionalTradeEndpointsCampaignsCampaignUserAllocationResponse"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "JWTBearerAuth": [
              "tmr_admin"
            ]
          }
        ]
      }
    },
    "/api/tt/users/enrolled-campaigns": {
      "get": {
        "tags": [
          "Tt"
        ],
        "operationId": "CMTraditionalTradeEndpointsCampaignsGetEnrolledCampaigns",
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CMSharedAbstractionsPagingPagedResultOfCampaignDto"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "JWTBearerAuth": [
              "tmr_user"
            ]
          }
        ]
      }
    },
    "/api/tt/campaigns/{campaignId}/users/{userId}/voucher-audit": {
      "get": {
        "tags": [
          "Tt"
        ],
        "operationId": "CMTraditionalTradeEndpointsCampaignsGetVoucherAllocationAudits",
        "parameters": [
          {
            "name": "campaignId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "guid"
            }
          },
          {
            "name": "userId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "guid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/CMTraditionalTradeDtosVoucherAllocationAuditDto"
                  }
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "JWTBearerAuth": [
              "tmr_admin"
            ]
          }
        ]
      }
    },
    "/api/tt/campaigns/users/import-template": {
      "post": {
        "tags": [
          "Tt"
        ],
        "operationId": "CMTraditionalTradeEndpointsCampaignsImportTemplate",
        "responses": {
          "204": {
            "description": "No Content"
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "JWTBearerAuth": [
              "tmr_admin"
            ]
          }
        ]
      }
    },
    "/api/tt/campaigns/{campaignId}/vouchers/supplement": {
      "post": {
        "tags": [
          "Tt"
        ],
        "operationId": "CMTraditionalTradeEndpointsCampaignsSupplementCampaignVouchers",
        "parameters": [
          {
            "name": "campaignId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "guid"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "No Content"
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "JWTBearerAuth": [
              "tmr_admin"
            ]
          }
        ]
      }
    },
    "/api/tt/campaigns/vouchers/transfer": {
      "post": {
        "tags": [
          "Tt"
        ],
        "operationId": "CMTraditionalTradeEndpointsCampaignsTransferVouchers",
        "requestBody": {
          "x-name": "TransferVouchersDto",
          "description": "",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CMTraditionalTradeDtosTransferVouchersDto"
              }
            }
          },
          "required": true,
          "x-position": 1
        },
        "responses": {
          "204": {
            "description": "No Content"
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "JWTBearerAuth": [
              "tmr_admin"
            ]
          }
        ]
      }
    },
    "/api/tt/campaigns/allocations": {
      "get": {
        "tags": [
          "Tt"
        ],
        "operationId": "CMTraditionalTradeEndpointsCampaignsAdminGetCampaignAllocations",
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CMSharedAbstractionsPagingPagedResultOfAllocationRowDto"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "JWTBearerAuth": [
              "tmr_admin"
            ]
          }
        ]
      }
    },
    "/api/tt/campaigns/{campaignId}/allocation-summary": {
      "get": {
        "tags": [
          "Tt"
        ],
        "operationId": "CMTraditionalTradeEndpointsCampaignsAdminGetCampaignAllocationSummary",
        "parameters": [
          {
            "name": "campaignId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "guid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CMTraditionalTradeEndpointsCampaignsAdminCampaignAllocationSummaryDto"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "JWTBearerAuth": [
              "tmr_admin"
            ]
          }
        ]
      }
    },
    "/api/tt/campaigns/overview": {
      "get": {
        "tags": [
          "Tt"
        ],
        "operationId": "CMTraditionalTradeEndpointsCampaignsAdminGetCampaignOverview",
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CMSharedAbstractionsPagingPagedResultOfCampaignRowDto"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "JWTBearerAuth": [
              "tmr_admin"
            ]
          }
        ]
      }
    },
    "/api/tt/campaigns/{campaignId}/supplement-info": {
      "get": {
        "tags": [
          "Tt"
        ],
        "operationId": "CMTraditionalTradeEndpointsCampaignsAdminGetCampaignSupplementInfo",
        "parameters": [
          {
            "name": "campaignId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "guid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CMTraditionalTradeEndpointsCampaignsAdminCampaignSupplementInfo"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "JWTBearerAuth": [
              "tmr_admin"
            ]
          }
        ]
      }
    },
    "/api/tt/campaigns/{campaignId}/voucher-history": {
      "get": {
        "tags": [
          "Tt"
        ],
        "operationId": "CMTraditionalTradeEndpointsCampaignsAdminGetCampaignVoucherHistory",
        "parameters": [
          {
            "name": "campaignId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "guid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CMTraditionalTradeEndpointsCampaignsAdminVoucherHistoryResult"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "JWTBearerAuth": [
              "tmr_admin"
            ]
          }
        ]
      }
    },
    "/api/tt/campaigns/years": {
      "get": {
        "tags": [
          "Tt"
        ],
        "operationId": "CMTraditionalTradeEndpointsCampaignsAdminGetCampaignYears",
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "type": "integer",
                    "format": "int32"
                  }
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "JWTBearerAuth": [
              "tmr_admin"
            ]
          }
        ]
      }
    },
    "/api/security/authenticate": {
      "post": {
        "tags": [
          "Security"
        ],
        "operationId": "CMSecurityEndpointsAuthenticate",
        "requestBody": {
          "x-name": "AuthenticateRequest",
          "description": "",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CMSecurityEndpointsAuthenticateRequest"
              }
            }
          },
          "required": true,
          "x-position": 1
        },
        "responses": {
          "204": {
            "description": "No Content"
          }
        }
      }
    },
    "/api/security/users": {
      "post": {
        "tags": [
          "Security"
        ],
        "operationId": "CMSecurityEndpointsCreateUser",
        "requestBody": {
          "x-name": "CreateUserRequest",
          "description": "",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CMSecurityContractsRequestsCreateUserRequest"
              }
            }
          },
          "required": true,
          "x-position": 1
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CMSecurityContractsDtosUserDto"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "JWTBearerAuth": [
              "platform_admin"
            ]
          }
        ]
      },
      "get": {
        "tags": [
          "Security"
        ],
        "operationId": "CMSecurityEndpointsGetUsers",
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CMSharedAbstractionsPagingPagedResultOfUserDto"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "JWTBearerAuth": [
              "platform_admin"
            ]
          }
        ]
      },
      "put": {
        "tags": [
          "Security"
        ],
        "operationId": "CMSecurityEndpointsUpdateUser",
        "requestBody": {
          "x-name": "UpdateUserRequest",
          "description": "",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CMSecurityEndpointsUpdateUserRequest"
              }
            }
          },
          "required": true,
          "x-position": 1
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CMSecurityContractsDtosUserDto"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "JWTBearerAuth": [
              "platform_admin"
            ]
          }
        ]
      }
    },
    "/api/security/users/{userId}/status": {
      "put": {
        "tags": [
          "Security"
        ],
        "operationId": "CMSecurityEndpointsSetUserStatus",
        "parameters": [
          {
            "name": "userId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "guid"
            }
          }
        ],
        "requestBody": {
          "x-name": "SetUserStatusRequest",
          "description": "",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CMSecurityEndpointsSetUserStatusRequest"
              }
            }
          },
          "required": true,
          "x-position": 1
        },
        "responses": {
          "204": {
            "description": "No Content"
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "JWTBearerAuth": [
              "platform_admin"
            ]
          }
        ]
      }
    },
    "/api/stores": {
      "post": {
        "tags": [
          "Stores"
        ],
        "operationId": "CMApiStoreEndpointsStoresCreateStore",
        "requestBody": {
          "x-name": "CreateStoreCommand",
          "description": "",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CMApplicationStoresCommandsCreateStoreCommand"
              }
            }
          },
          "required": true,
          "x-position": 1
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "string",
                  "format": "guid"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "JWTBearerAuth": [
              "platform_admin"
            ]
          }
        ]
      },
      "get": {
        "tags": [
          "Stores"
        ],
        "operationId": "CMApiStoreEndpointsStoresGetStores",
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CMApplicationContractsPagedResultOfStoreDto"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          }
        },
        "security": [
          {
            "JWTBearerAuth": []
          }
        ]
      }
    },
    "/api/stores/download-template": {
      "get": {
        "tags": [
          "Stores"
        ],
        "operationId": "CMApiStoreEndpointsStoresDownloadTemplate",
        "responses": {
          "204": {
            "description": "No Content"
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "JWTBearerAuth": [
              "platform_admin"
            ]
          }
        ]
      }
    },
    "/api/stores/import-template": {
      "post": {
        "tags": [
          "Stores"
        ],
        "operationId": "CMApiStoreEndpointsStoresImportTemplate",
        "responses": {
          "204": {
            "description": "No Content"
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "JWTBearerAuth": [
              "platform_admin"
            ]
          }
        ]
      }
    },
    "/api/store-chains": {
      "post": {
        "tags": [
          "Store-Chains"
        ],
        "operationId": "CMApiStoreEndpointsStoreChainsCreateStoreChain",
        "requestBody": {
          "x-name": "CreateStoreChainCommand",
          "description": "",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CMApplicationStoresCommandsCreateStoreChainCommand"
              }
            }
          },
          "required": true,
          "x-position": 1
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "string",
                  "format": "guid"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "JWTBearerAuth": [
              "platform_admin"
            ]
          }
        ]
      },
      "get": {
        "tags": [
          "Store-Chains"
        ],
        "operationId": "CMApiStoreEndpointsStoreChainsGetStoreChains",
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CMApplicationContractsPagedResultOfStoreChainDto"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          }
        },
        "security": [
          {
            "JWTBearerAuth": []
          }
        ]
      },
      "put": {
        "tags": [
          "Store-Chains"
        ],
        "operationId": "CMApiStoreEndpointsStoreChainsUpdateStoreChain",
        "requestBody": {
          "x-name": "UpdateStoreChainCommand",
          "description": "",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CMApplicationStoresCommandsUpdateStoreChainCommand"
              }
            }
          },
          "required": true,
          "x-position": 1
        },
        "responses": {
          "204": {
            "description": "No Content"
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "JWTBearerAuth": [
              "platform_admin"
            ]
          }
        ]
      }
    },
    "/api/store-chains/{storeChainId}": {
      "delete": {
        "tags": [
          "Store-Chains"
        ],
        "operationId": "CMApiStoreEndpointsStoreChainsDeleteStoreChain",
        "parameters": [
          {
            "name": "storeChainId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "guid"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "No Content"
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "JWTBearerAuth": [
              "platform_admin"
            ]
          }
        ]
      },
      "get": {
        "tags": [
          "Store-Chains"
        ],
        "operationId": "CMApiStoreEndpointsStoreChainsGetStoreChain",
        "parameters": [
          {
            "name": "storeChainId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "guid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CMApplicationStoresDtosStoreChainDto"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          }
        },
        "security": [
          {
            "JWTBearerAuth": []
          }
        ]
      }
    },
    "/api/store-chains/mine": {
      "get": {
        "tags": [
          "Store-Chains"
        ],
        "operationId": "CMApiStoreEndpointsStoreChainsGetMyStoreChains",
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/CMApiStoreEndpointsStoreChainsMyStoreChainDto"
                  }
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "JWTBearerAuth": [
              "platform_admin",
              "ika_admin",
              "tt_admin"
            ]
          }
        ]
      }
    },
    "/api/campaigns/stock-pvs/{id}/download": {
      "get": {
        "tags": [
          "Campaigns"
        ],
        "operationId": "CMApiStockPvEndpointsDownloadStockPv",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "guid"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "No Content"
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "JWTBearerAuth": [
              "tmr_user",
              "store_user",
              "tt_admin"
            ]
          }
        ]
      }
    },
    "/api/campaigns/stock-pvs/all": {
      "get": {
        "tags": [
          "Campaigns"
        ],
        "operationId": "CMApiStockPvEndpointsGetAllStockPvs",
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/CMApplicationCampaignsDtosStockPvDto"
                  }
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "JWTBearerAuth": [
              "tt_admin"
            ]
          }
        ]
      }
    },
    "/api/campaigns/stock-pvs/mine": {
      "get": {
        "tags": [
          "Campaigns"
        ],
        "operationId": "CMApiStockPvEndpointsGetMyStockPvs",
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/CMApplicationCampaignsDtosStockPvDto"
                  }
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "JWTBearerAuth": [
              "store_user"
            ]
          }
        ]
      }
    },
    "/api/campaigns/stock-pvs/pending": {
      "get": {
        "tags": [
          "Campaigns"
        ],
        "operationId": "CMApiStockPvEndpointsGetPendingStockPvs",
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/CMApplicationCampaignsDtosDraftStockPvDto"
                  }
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "JWTBearerAuth": [
              "tmr_user"
            ]
          }
        ]
      }
    },
    "/api/campaigns/stock-pvs/summary": {
      "get": {
        "tags": [
          "Campaigns"
        ],
        "operationId": "CMApiStockPvEndpointsGetStockPvSummary",
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/CMApplicationCampaignsDtosStockPvStoreSummaryDto"
                  }
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "JWTBearerAuth": [
              "tmr_user"
            ]
          }
        ]
      }
    },
    "/api/campaigns/stock-pvs": {
      "get": {
        "tags": [
          "Campaigns"
        ],
        "operationId": "CMApiStockPvEndpointsGetStoreStockPvs",
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/CMApplicationCampaignsDtosStockPvDto"
                  }
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "JWTBearerAuth": [
              "tmr_user"
            ]
          }
        ]
      },
      "post": {
        "tags": [
          "Campaigns"
        ],
        "operationId": "CMApiStockPvEndpointsSignStockPv",
        "requestBody": {
          "x-name": "SignStockPvRequest",
          "description": "",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CMApiStockPvEndpointsSignStockPvRequest"
              }
            }
          },
          "required": true,
          "x-position": 1
        },
        "responses": {
          "204": {
            "description": "No Content"
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "JWTBearerAuth": [
              "tmr_user"
            ]
          }
        ]
      }
    },
    "/api/campaigns/stock-pvs/preview": {
      "post": {
        "tags": [
          "Campaigns"
        ],
        "operationId": "CMApiStockPvEndpointsPreviewStockPv",
        "requestBody": {
          "x-name": "PreviewStockPvRequest",
          "description": "",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CMApiStockPvEndpointsPreviewStockPvRequest"
              }
            }
          },
          "required": true,
          "x-position": 1
        },
        "responses": {
          "204": {
            "description": "No Content"
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "JWTBearerAuth": [
              "tmr_user"
            ]
          }
        ]
      }
    },
    "/api/sms-balance/check": {
      "post": {
        "tags": [
          "Sms-Balance"
        ],
        "operationId": "CMApiSmsEndpointsCheckSmsBalance",
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CMApiSmsEndpointsCheckSmsBalanceResponse"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "JWTBearerAuth": [
              "platform_admin"
            ]
          }
        ]
      }
    },
    "/api/sms-reports/{id}": {
      "delete": {
        "tags": [
          "Sms-Reports"
        ],
        "operationId": "CMApiSmsEndpointsDeleteSmsReport",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "guid"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "No Content"
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "JWTBearerAuth": [
              "platform_admin"
            ]
          }
        ]
      }
    },
    "/api/sms-reports/{id}/export": {
      "get": {
        "tags": [
          "Sms-Reports"
        ],
        "operationId": "CMApiSmsEndpointsExportSmsReport",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "guid"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "No Content"
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "JWTBearerAuth": [
              "platform_admin"
            ]
          }
        ]
      }
    },
    "/api/sms-reports": {
      "post": {
        "tags": [
          "Sms-Reports"
        ],
        "operationId": "CMApiSmsEndpointsGenerateSmsReport",
        "requestBody": {
          "x-name": "GenerateSmsReportRequest",
          "description": "",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CMApiSmsEndpointsGenerateSmsReportRequest"
              }
            }
          },
          "required": true,
          "x-position": 1
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CMApiSmsEndpointsGenerateSmsReportResponse"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "JWTBearerAuth": [
              "platform_admin"
            ]
          }
        ]
      },
      "get": {
        "tags": [
          "Sms-Reports"
        ],
        "operationId": "CMApiSmsEndpointsGetSmsReports",
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CMApplicationContractsPagedResultOfSmsReportDto"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "JWTBearerAuth": [
              "platform_admin"
            ]
          }
        ]
      }
    },
    "/api/sms-balance": {
      "get": {
        "tags": [
          "Sms-Balance"
        ],
        "operationId": "CMApiSmsEndpointsGetSmsBalance",
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CMApplicationNotificationsDtosSmsBalanceStatusDto"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "JWTBearerAuth": [
              "platform_admin"
            ]
          }
        ]
      }
    },
    "/api/sms-balance/history": {
      "get": {
        "tags": [
          "Sms-Balance"
        ],
        "operationId": "CMApiSmsEndpointsGetSmsBalanceHistory",
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CMApplicationContractsPagedResultOfSmsBalanceReadingDto"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "JWTBearerAuth": [
              "platform_admin"
            ]
          }
        ]
      }
    },
    "/api/sms-log": {
      "get": {
        "tags": [
          "Sms-Log"
        ],
        "operationId": "CMApiSmsEndpointsGetSmsLogs",
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CMApplicationContractsPagedResultOfSmsLogDto"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "JWTBearerAuth": [
              "platform_admin"
            ]
          }
        ]
      }
    },
    "/api/sms-reports/{id}/summary": {
      "get": {
        "tags": [
          "Sms-Reports"
        ],
        "operationId": "CMApiSmsEndpointsGetSmsReportSummary",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "guid"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "No Content"
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "JWTBearerAuth": [
              "platform_admin"
            ]
          }
        ]
      }
    },
    "/api/sms-reports/source-types": {
      "get": {
        "tags": [
          "Sms-Reports"
        ],
        "operationId": "CMApiSmsEndpointsGetSmsSourceTypes",
        "responses": {
          "204": {
            "description": "No Content"
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "JWTBearerAuth": [
              "platform_admin"
            ]
          }
        ]
      }
    },
    "/api/sms-campaigns/batches": {
      "get": {
        "tags": [
          "Sms-Campaigns"
        ],
        "operationId": "CMApiSmsCampaignEndpointsGetSmsCampaignBatches",
        "responses": {
          "204": {
            "description": "No Content"
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "JWTBearerAuth": [
              "platform_admin"
            ]
          }
        ]
      }
    },
    "/api/sms-campaign/dashboard/{campaignId}": {
      "get": {
        "tags": [
          "Sms-Campaign"
        ],
        "operationId": "CMApiSmsCampaignEndpointsGetSmsCampaignDashboard",
        "parameters": [
          {
            "name": "campaignId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "guid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/CMApplicationSmsCampaignsDtosSmsCampaignDashboardDto"
                  }
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "JWTBearerAuth": [
              "ika_admin"
            ]
          }
        ]
      }
    },
    "/api/sms-campaigns/batches/{BatchId}/send": {
      "post": {
        "tags": [
          "Sms-Campaigns"
        ],
        "operationId": "CMApiSmsCampaignEndpointsTriggerSmsSending",
        "parameters": [
          {
            "name": "batchId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "No Content"
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "JWTBearerAuth": [
              "platform_admin"
            ]
          }
        ]
      }
    },
    "/api/sms-campaigns/{CampaignId}/upload": {
      "post": {
        "tags": [
          "Sms-Campaigns"
        ],
        "operationId": "CMApiSmsCampaignEndpointsUploadPhoneNumbers",
        "parameters": [
          {
            "name": "campaignId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "No Content"
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "JWTBearerAuth": [
              "platform_admin"
            ]
          }
        ]
      }
    },
    "/api/sms-campaign/validate-code": {
      "post": {
        "tags": [
          "Sms-Campaign"
        ],
        "operationId": "CMApiSmsCampaignEndpointsValidateSmsCampaignCode",
        "requestBody": {
          "x-name": "ValidateSmsCampaignCodeRequest",
          "description": "",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CMApiSmsCampaignEndpointsValidateSmsCampaignCodeRequest"
              }
            }
          },
          "required": true,
          "x-position": 1
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CMApplicationSmsCampaignsDtosValidateSmsCampaignCodeResponse"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "JWTBearerAuth": [
              "store_user"
            ]
          }
        ]
      }
    },
    "/api/reporting/{campaignId}/prizes/claim": {
      "post": {
        "tags": [
          "Reporting"
        ],
        "operationId": "CMApiReportEndpointsClaimStorePrize",
        "parameters": [
          {
            "name": "campaignId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "guid"
            }
          }
        ],
        "requestBody": {
          "x-name": "ClaimCampaignStorePrizeCommand",
          "description": "",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CMApplicationCampaignsCommandsStorePrizesClaimCampaignStorePrizeCommand"
              }
            }
          },
          "required": true,
          "x-position": 1
        },
        "responses": {
          "204": {
            "description": "No Content"
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "JWTBearerAuth": [
              "store_user"
            ]
          }
        ]
      }
    },
    "/api/reporting/{campaignId}/prizes/{prizeId}/download": {
      "get": {
        "tags": [
          "Reporting"
        ],
        "operationId": "CMApiReportEndpointsDownloadDocument",
        "parameters": [
          {
            "name": "campaignId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "guid"
            }
          },
          {
            "name": "prizeId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "guid"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "No Content"
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "JWTBearerAuth": [
              "reporting_user",
              "store_user"
            ]
          }
        ]
      }
    },
    "/api/reporting/{campaignId}/{reportName}/download": {
      "post": {
        "tags": [
          "Reporting"
        ],
        "operationId": "CMApiReportEndpointsDownloadReport",
        "parameters": [
          {
            "name": "campaignId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "guid"
            }
          },
          {
            "name": "reportName",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "No Content"
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "JWTBearerAuth": [
              "reporting_user"
            ]
          }
        ]
      }
    },
    "/api/reporting/prizes/download-template": {
      "get": {
        "tags": [
          "Reporting"
        ],
        "operationId": "CMApiReportEndpointsDownloadVoucherImportTemplate",
        "responses": {
          "204": {
            "description": "No Content"
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "JWTBearerAuth": [
              "ika_admin",
              "tt_admin"
            ]
          }
        ]
      }
    },
    "/api/reporting/{campaignId}/prizes/generate-pv": {
      "post": {
        "tags": [
          "Reporting"
        ],
        "operationId": "CMApiReportEndpointsGeneratePvDocument",
        "parameters": [
          {
            "name": "campaignId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "guid"
            }
          }
        ],
        "requestBody": {
          "x-name": "GenerateCampaignStorePrizePvDocumentCommand",
          "description": "",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CMApplicationCampaignsCommandsStorePrizesGenerateCampaignStorePrizePvDocumentCommand"
              }
            }
          },
          "required": true,
          "x-position": 1
        },
        "responses": {
          "204": {
            "description": "No Content"
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "JWTBearerAuth": [
              "store_user"
            ]
          }
        ]
      }
    },
    "/api/reporting/store/prizes": {
      "get": {
        "tags": [
          "Reporting"
        ],
        "operationId": "CMApiReportEndpointsGetAllStorePrizes",
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CMApplicationContractsPagedResultOfCampaignStorePrizeDto"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "JWTBearerAuth": [
              "store_user"
            ]
          }
        ]
      }
    },
    "/api/reporting/{campaignId}/dashboard": {
      "get": {
        "tags": [
          "Reporting"
        ],
        "operationId": "CMApiReportEndpointsGetCampaignDashboard",
        "parameters": [
          {
            "name": "campaignId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "guid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CMApplicationCampaignsDtosCampaignDashboardDto"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "JWTBearerAuth": [
              "reporting_user"
            ]
          }
        ]
      }
    },
    "/api/reporting/{campaignId}/prizes": {
      "get": {
        "tags": [
          "Reporting"
        ],
        "operationId": "CMApiReportEndpointsGetPrizeReport",
        "parameters": [
          {
            "name": "campaignId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "guid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CMApplicationContractsPagedResultOfCampaignStorePrizeDto"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "JWTBearerAuth": [
              "reporting_user"
            ]
          }
        ]
      }
    },
    "/api/reporting/customers": {
      "get": {
        "tags": [
          "Reporting"
        ],
        "operationId": "CMApiReportEndpointsGetCustomersReport",
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CMApplicationContractsPagedResultOfCustomersReportRow"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "JWTBearerAuth": [
              "platform_admin",
              "customers_viewer"
            ]
          }
        ]
      }
    },
    "/api/reporting/{campaignId}/prizes/upload/process": {
      "post": {
        "tags": [
          "Reporting"
        ],
        "operationId": "CMApiReportEndpointsProcessUploadedCampaignStorePrize",
        "parameters": [
          {
            "name": "campaignId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "guid"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "No Content"
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "JWTBearerAuth": [
              "reporting_user"
            ]
          }
        ]
      }
    },
    "/api/reporting/{campaignId}/prizes/pv-bulk-download": {
      "get": {
        "tags": [
          "Reporting"
        ],
        "operationId": "CMApiReportEndpointsPvBulkDownload",
        "parameters": [
          {
            "name": "campaignId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "guid"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "No Content"
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "JWTBearerAuth": [
              "store_user",
              "reporting_user"
            ]
          }
        ]
      }
    },
    "/api/reporting/{campaignId}/prizes/upload": {
      "post": {
        "tags": [
          "Reporting"
        ],
        "operationId": "CMApiReportEndpointsUploadCampaignStorePrize",
        "parameters": [
          {
            "name": "campaignId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "guid"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "No Content"
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "JWTBearerAuth": [
              "reporting_user"
            ]
          }
        ]
      }
    },
    "/api/campaigns/tmr-reports/overview": {
      "get": {
        "tags": [
          "Campaigns"
        ],
        "operationId": "CMApiReportEndpointsTmrGetTmrCampaignOverview",
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/CMApplicationCampaignsDtosTmrCampaignReportDto"
                  }
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "JWTBearerAuth": [
              "tmr_user",
              "asm_user"
            ]
          }
        ]
      }
    },
    "/api/campaigns/tmr-reports/linked-stores": {
      "get": {
        "tags": [
          "Campaigns"
        ],
        "operationId": "CMApiReportEndpointsTmrGetTmrReportLinkedStores",
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "type": "string",
                    "format": "guid"
                  }
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "JWTBearerAuth": [
              "tmr_user",
              "asm_user"
            ]
          }
        ]
      }
    },
    "/api/campaigns/tmr-reports/stores/{ttStoreId}": {
      "get": {
        "tags": [
          "Campaigns"
        ],
        "operationId": "CMApiReportEndpointsTmrGetTmrStoreReport",
        "parameters": [
          {
            "name": "ttStoreId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "guid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CMApplicationCampaignsDtosTmrStoreReportDto"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "JWTBearerAuth": [
              "tmr_user",
              "asm_user"
            ]
          }
        ]
      }
    },
    "/api/products": {
      "post": {
        "tags": [
          "Products"
        ],
        "operationId": "CMApiProductEndpointsCreateProduct",
        "requestBody": {
          "x-name": "CreateProductCommand",
          "description": "",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CMApplicationProductsCommandsCreateProductCommand"
              }
            }
          },
          "required": true,
          "x-position": 1
        },
        "responses": {
          "204": {
            "description": "No Content"
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "JWTBearerAuth": [
              "platform_admin"
            ]
          }
        ]
      },
      "get": {
        "tags": [
          "Products"
        ],
        "operationId": "CMApiProductEndpointsGetProducts",
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CMApplicationContractsPagedResultOfProductDto"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          }
        },
        "security": [
          {
            "JWTBearerAuth": []
          }
        ]
      },
      "put": {
        "tags": [
          "Products"
        ],
        "operationId": "CMApiProductEndpointsUpdateProduct",
        "requestBody": {
          "x-name": "UpdateProductCommand",
          "description": "",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CMApplicationProductsCommandsUpdateProductCommand"
              }
            }
          },
          "required": true,
          "x-position": 1
        },
        "responses": {
          "204": {
            "description": "No Content"
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "JWTBearerAuth": [
              "platform_admin"
            ]
          }
        ]
      }
    },
    "/api/products/{productId}": {
      "delete": {
        "tags": [
          "Products"
        ],
        "operationId": "CMApiProductEndpointsDeleteProduct",
        "parameters": [
          {
            "name": "productId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "guid"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "No Content"
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "JWTBearerAuth": [
              "platform_admin"
            ]
          }
        ]
      },
      "get": {
        "tags": [
          "Products"
        ],
        "operationId": "CMApiProductEndpointsGetProduct",
        "parameters": [
          {
            "name": "productId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "guid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CMApplicationProductsDtosProductDto"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          }
        },
        "security": [
          {
            "JWTBearerAuth": []
          }
        ]
      }
    },
    "/api/products/images": {
      "post": {
        "tags": [
          "Products"
        ],
        "operationId": "CMApiProductEndpointsUploadProductImage",
        "responses": {
          "204": {
            "description": "No Content"
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "JWTBearerAuth": [
              "platform_admin"
            ]
          }
        ]
      }
    },
    "/api/orders/{orderId}/products": {
      "post": {
        "tags": [
          "Orders"
        ],
        "operationId": "CMApiOrderEndpointsAddProducts",
        "parameters": [
          {
            "name": "orderId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "guid"
            }
          }
        ],
        "requestBody": {
          "x-name": "AddProductsRequest",
          "description": "",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CMApiOrderEndpointsAddProductsRequest"
              }
            }
          },
          "required": true,
          "x-position": 1
        },
        "responses": {
          "204": {
            "description": "No Content"
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "JWTBearerAuth": [
              "store_user"
            ]
          }
        ]
      }
    },
    "/api/orders/{orderId}/survey-responses": {
      "post": {
        "tags": [
          "Orders"
        ],
        "operationId": "CMApiOrderEndpointsAddSurveyResponses",
        "parameters": [
          {
            "name": "orderId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "guid"
            }
          }
        ],
        "requestBody": {
          "x-name": "AddSurveyResponsesRequest",
          "description": "",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CMApiOrderEndpointsAddSurveyResponsesRequest"
              }
            }
          },
          "required": true,
          "x-position": 1
        },
        "responses": {
          "204": {
            "description": "No Content"
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "JWTBearerAuth": [
              "store_user"
            ]
          }
        ]
      }
    },
    "/api/orders/{orderId}/calculate-prizes": {
      "post": {
        "tags": [
          "Orders"
        ],
        "operationId": "CMApiOrderEndpointsCalculatePrizes",
        "parameters": [
          {
            "name": "orderId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "guid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/CMApplicationCampaignsDtosCampaignProductDto"
                  }
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "JWTBearerAuth": [
              "store_user"
            ]
          }
        ]
      }
    },
    "/api/orders/{orderId}/complete": {
      "post": {
        "tags": [
          "Orders"
        ],
        "operationId": "CMApiOrderEndpointsCompleteOrder",
        "parameters": [
          {
            "name": "orderId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "guid"
            }
          }
        ],
        "requestBody": {
          "x-name": "CompleteOrderRequest",
          "description": "",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CMApiOrderEndpointsCompleteOrderRequest"
              }
            }
          },
          "required": true,
          "x-position": 1
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CMApplicationOrdersCommandsCompleteOrderResult"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "JWTBearerAuth": [
              "store_user"
            ]
          }
        ]
      }
    },
    "/api/orders": {
      "post": {
        "tags": [
          "Orders"
        ],
        "operationId": "CMApiOrderEndpointsCreateOrder",
        "requestBody": {
          "x-name": "CreateOrderRequest",
          "description": "",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CMApiOrderEndpointsCreateOrderRequest"
              }
            }
          },
          "required": true,
          "x-position": 1
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CMApplicationOrdersDtosOrderDto"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "JWTBearerAuth": [
              "store_user"
            ]
          }
        ]
      }
    },
    "/api/orders/pending": {
      "get": {
        "tags": [
          "Orders"
        ],
        "operationId": "CMApiOrderEndpointsGetPendingOrder",
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CMApplicationOrdersDtosOrderDto"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "JWTBearerAuth": [
              "store_user"
            ]
          }
        ]
      }
    },
    "/api/campaigns/admin/wallet-accruals/reconcile": {
      "post": {
        "tags": [
          "Campaigns"
        ],
        "operationId": "CMApiOrderEndpointsReconcileWalletAccruals",
        "requestBody": {
          "x-name": "ReconcileWalletAccrualsRequest",
          "description": "",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CMApiOrderEndpointsReconcileWalletAccrualsRequest"
              }
            }
          },
          "required": true,
          "x-position": 1
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CMApplicationOrdersServicesWalletAccrualReconcileResult"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "JWTBearerAuth": [
              "platform_admin"
            ]
          }
        ]
      }
    },
    "/api/orders/validate-customer": {
      "post": {
        "tags": [
          "Orders"
        ],
        "operationId": "CMApiOrderEndpointsValidateCustomer",
        "requestBody": {
          "x-name": "ValidateCustomerRequest",
          "description": "",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CMApiOrderEndpointsValidateCustomerRequest"
              }
            }
          },
          "required": true,
          "x-position": 1
        },
        "responses": {
          "204": {
            "description": "No Content"
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "JWTBearerAuth": [
              "store_user"
            ]
          }
        ]
      }
    },
    "/api/orders/validate-receipt": {
      "post": {
        "tags": [
          "Orders"
        ],
        "operationId": "CMApiOrderEndpointsValidateReceipt",
        "requestBody": {
          "x-name": "ValidateReceiptRequest",
          "description": "",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CMApiOrderEndpointsValidateReceiptRequest"
              }
            }
          },
          "required": true,
          "x-position": 1
        },
        "responses": {
          "204": {
            "description": "No Content"
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "JWTBearerAuth": [
              "store_user"
            ]
          }
        ]
      }
    },
    "/api/customers": {
      "get": {
        "tags": [
          "Customers"
        ],
        "operationId": "CMApiCustomerEndpointsGetCustomers",
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CMApplicationContractsPagedResultOfCustomerDto"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "JWTBearerAuth": [
              "platform_admin"
            ]
          }
        ]
      }
    },
    "/api/customers/request-validation": {
      "post": {
        "tags": [
          "Customers"
        ],
        "operationId": "CMApiCustomerEndpointsRequestValidation",
        "requestBody": {
          "x-name": "RequestValidationCommand",
          "description": "",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CMApplicationCustomersCommandsRequestValidationCommand"
              }
            }
          },
          "required": true,
          "x-position": 1
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CMApplicationCustomersCommandsRequestValidationResponse"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "JWTBearerAuth": [
              "store_user"
            ]
          }
        ]
      }
    },
    "/api/customers/validate-code": {
      "post": {
        "tags": [
          "Customers"
        ],
        "operationId": "CMApiCustomerEndpointsValidateCode",
        "requestBody": {
          "x-name": "ValidateCodeCommand",
          "description": "",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CMApplicationCustomersCommandsValidateCodeCommand"
              }
            }
          },
          "required": true,
          "x-position": 1
        },
        "responses": {
          "204": {
            "description": "No Content"
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "JWTBearerAuth": [
              "store_user"
            ]
          }
        ]
      }
    },
    "/api/campaigns/{campaignId}/products": {
      "post": {
        "tags": [
          "Campaigns"
        ],
        "operationId": "CMApiCampaignEndpointsAddCampaignProduct",
        "parameters": [
          {
            "name": "campaignId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "guid"
            }
          }
        ],
        "requestBody": {
          "x-name": "AddCampaignProductRequest",
          "description": "",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CMApiCampaignEndpointsAddCampaignProductRequest"
              }
            }
          },
          "required": true,
          "x-position": 1
        },
        "responses": {
          "204": {
            "description": "No Content"
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "JWTBearerAuth": [
              "platform_admin"
            ]
          }
        ]
      }
    },
    "/api/campaigns/{campaignId}/store-chains": {
      "post": {
        "tags": [
          "Campaigns"
        ],
        "operationId": "CMApiCampaignEndpointsAddCampaignStoreChain",
        "parameters": [
          {
            "name": "campaignId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "guid"
            }
          }
        ],
        "requestBody": {
          "x-name": "AddCampaignStoreChainRequest",
          "description": "",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CMApiCampaignEndpointsAddCampaignStoreChainRequest"
              }
            }
          },
          "required": true,
          "x-position": 1
        },
        "responses": {
          "204": {
            "description": "No Content"
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "JWTBearerAuth": [
              "platform_admin"
            ]
          }
        ]
      }
    },
    "/api/campaigns/{campaignId}/stores/{storeId}/stock": {
      "post": {
        "tags": [
          "Campaigns"
        ],
        "operationId": "CMApiCampaignEndpointsAddCampaignStoreStock",
        "parameters": [
          {
            "name": "campaignId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "guid"
            }
          },
          {
            "name": "storeId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "guid"
            }
          }
        ],
        "requestBody": {
          "x-name": "AddCampaignStoreStockRequest",
          "description": "",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CMApiCampaignEndpointsAddCampaignStoreStockRequest"
              }
            }
          },
          "required": true,
          "x-position": 1
        },
        "responses": {
          "204": {
            "description": "No Content"
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "JWTBearerAuth": [
              "ika_admin",
              "tt_admin"
            ]
          }
        ]
      },
      "get": {
        "tags": [
          "Campaigns"
        ],
        "operationId": "CMApiCampaignEndpointsGetCampaignStoreStock",
        "parameters": [
          {
            "name": "campaignId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "guid"
            }
          },
          {
            "name": "storeId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "guid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CMApiCampaignEndpointsCampaignStoreStockResponse"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "JWTBearerAuth": [
              "ika_admin",
              "tt_admin"
            ]
          }
        ]
      }
    },
    "/api/campaigns/{campaignId}/adjust-stock": {
      "post": {
        "tags": [
          "Campaigns"
        ],
        "operationId": "CMApiCampaignEndpointsAdjustCampaignStock",
        "parameters": [
          {
            "name": "campaignId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "guid"
            }
          }
        ],
        "requestBody": {
          "x-name": "AdjustCampaignStockRequest",
          "description": "",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CMApiCampaignEndpointsAdjustCampaignStockRequest"
              }
            }
          },
          "required": true,
          "x-position": 1
        },
        "responses": {
          "204": {
            "description": "No Content"
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "JWTBearerAuth": [
              "ika_admin",
              "tt_admin"
            ]
          }
        ]
      }
    },
    "/api/campaigns-v2": {
      "post": {
        "tags": [
          "Campaigns-V2"
        ],
        "operationId": "CMApiCampaignEndpointsCreateCampaign",
        "requestBody": {
          "x-name": "CreateCampaignCommand",
          "description": "",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CMApplicationCampaignsCommandsCreateCampaignCommand"
              }
            }
          },
          "required": true,
          "x-position": 1
        },
        "responses": {
          "204": {
            "description": "No Content"
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "JWTBearerAuth": [
              "platform_admin"
            ]
          }
        ]
      },
      "put": {
        "tags": [
          "Campaigns-V2"
        ],
        "operationId": "CMApiCampaignEndpointsUpdateCampaign",
        "requestBody": {
          "x-name": "UpdateCampaignCommand",
          "description": "",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CMApplicationCampaignsCommandsUpdateCampaignCommand"
              }
            }
          },
          "required": true,
          "x-position": 1
        },
        "responses": {
          "204": {
            "description": "No Content"
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "JWTBearerAuth": [
              "platform_admin",
              "reporting_user"
            ]
          }
        ]
      },
      "get": {
        "tags": [
          "Campaigns-V2"
        ],
        "operationId": "CMCampaignsEndpointsGetCampaigns",
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CMSharedAbstractionsPagingPagedResultOfCampaignDto2"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "JWTBearerAuth": [
              "platform_admin",
              "ika_admin",
              "tt_admin"
            ]
          }
        ]
      }
    },
    "/api/campaigns/{campaignId}/resources": {
      "post": {
        "tags": [
          "Campaigns"
        ],
        "operationId": "CMApiCampaignEndpointsCreateCampaignResource",
        "parameters": [
          {
            "name": "campaignId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "guid"
            }
          }
        ],
        "requestBody": {
          "x-name": "CreateCampaignResourceRequest",
          "description": "",
          "content": {
            "multipart/form-data": {
              "schema": {
                "$ref": "#/components/schemas/CMApiCampaignEndpointsCreateCampaignResourceRequest"
              }
            }
          },
          "required": true,
          "x-position": 1
        },
        "responses": {
          "204": {
            "description": "No Content"
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "JWTBearerAuth": [
              "platform_admin",
              "reporting_user"
            ]
          }
        ]
      },
      "get": {
        "tags": [
          "Campaigns"
        ],
        "operationId": "CMApiCampaignEndpointsGetCampaignResources",
        "parameters": [
          {
            "name": "campaignId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "guid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/CMApplicationCampaignsDtosCampaignResourceDto"
                  }
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "JWTBearerAuth": [
              "platform_admin",
              "reporting_user"
            ]
          }
        ]
      },
      "put": {
        "tags": [
          "Campaigns"
        ],
        "operationId": "CMApiCampaignEndpointsUpdateCampaignResource",
        "parameters": [
          {
            "name": "campaignId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "guid"
            }
          }
        ],
        "requestBody": {
          "x-name": "UpdateCampaignResourceCommand",
          "description": "",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CMApplicationCampaignsCommandsUpdateCampaignResourceCommand"
              }
            }
          },
          "required": true,
          "x-position": 1
        },
        "responses": {
          "204": {
            "description": "No Content"
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "JWTBearerAuth": [
              "platform_admin",
              "reporting_user"
            ]
          }
        ]
      }
    },
    "/api/campaigns/{campaignId}/quiz-questions": {
      "post": {
        "tags": [
          "Campaigns"
        ],
        "operationId": "CMApiCampaignEndpointsCreateQuizQuestion",
        "parameters": [
          {
            "name": "campaignId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "guid"
            }
          }
        ],
        "requestBody": {
          "x-name": "CreateQuizQuestionCommand",
          "description": "",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CMApplicationCampaignsCommandsCreateQuizQuestionCommand"
              }
            }
          },
          "required": true,
          "x-position": 1
        },
        "responses": {
          "204": {
            "description": "No Content"
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "JWTBearerAuth": [
              "platform_admin",
              "reporting_user"
            ]
          }
        ]
      },
      "get": {
        "tags": [
          "Campaigns"
        ],
        "operationId": "CMApiCampaignEndpointsGetQuizQuestions",
        "parameters": [
          {
            "name": "campaignId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "guid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/CMApplicationCampaignsDtosQuizQuestionDto"
                  }
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "JWTBearerAuth": [
              "platform_admin",
              "reporting_user",
              "store_user"
            ]
          }
        ]
      },
      "put": {
        "tags": [
          "Campaigns"
        ],
        "operationId": "CMApiCampaignEndpointsUpdateQuizQuestion",
        "parameters": [
          {
            "name": "campaignId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "guid"
            }
          }
        ],
        "requestBody": {
          "x-name": "UpdateQuizQuestionCommand",
          "description": "",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CMApplicationCampaignsCommandsUpdateQuizQuestionCommand"
              }
            }
          },
          "required": true,
          "x-position": 1
        },
        "responses": {
          "204": {
            "description": "No Content"
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "JWTBearerAuth": [
              "platform_admin",
              "reporting_user"
            ]
          }
        ]
      }
    },
    "/api/campaigns/{campaignId}/resources/{resourceId}": {
      "delete": {
        "tags": [
          "Campaigns"
        ],
        "operationId": "CMApiCampaignEndpointsDeleteCampaignResource",
        "parameters": [
          {
            "name": "campaignId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "guid"
            }
          },
          {
            "name": "resourceId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "guid"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "No Content"
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "JWTBearerAuth": [
              "platform_admin",
              "reporting_user"
            ]
          }
        ]
      }
    },
    "/api/campaigns/{campaignId}/stores/{storeId}/stock/{productId}": {
      "delete": {
        "tags": [
          "Campaigns"
        ],
        "operationId": "CMApiCampaignEndpointsDeleteCampaignStoreStock",
        "parameters": [
          {
            "name": "campaignId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "guid"
            }
          },
          {
            "name": "storeId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "guid"
            }
          },
          {
            "name": "productId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "guid"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "No Content"
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "JWTBearerAuth": [
              "ika_admin",
              "tt_admin"
            ]
          }
        ]
      }
    },
    "/api/campaigns/{campaignId}/quiz-questions/{questionId}": {
      "delete": {
        "tags": [
          "Campaigns"
        ],
        "operationId": "CMApiCampaignEndpointsDeleteQuizQuestion",
        "parameters": [
          {
            "name": "campaignId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "guid"
            }
          },
          {
            "name": "questionId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "guid"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "No Content"
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "JWTBearerAuth": [
              "platform_admin",
              "reporting_user"
            ]
          }
        ]
      }
    },
    "/api/campaigns/{campaignId}/campaign-products": {
      "get": {
        "tags": [
          "Campaigns"
        ],
        "operationId": "CMApiCampaignEndpointsGetCampaignProducts",
        "parameters": [
          {
            "name": "campaignId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "guid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/CMApplicationCampaignsDtosAdminCampaignProductDto"
                  }
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "JWTBearerAuth": [
              "platform_admin"
            ]
          }
        ]
      }
    },
    "/api/campaigns": {
      "get": {
        "tags": [
          "Campaigns"
        ],
        "operationId": "CMApiCampaignEndpointsGetCampaigns",
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CMApplicationContractsPagedResultOfCampaignDto"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "JWTBearerAuth": [
              "platform_admin",
              "reporting_user"
            ]
          }
        ]
      }
    },
    "/api/campaigns/{campaignId}/campaign-store-chains": {
      "get": {
        "tags": [
          "Campaigns"
        ],
        "operationId": "CMApiCampaignEndpointsGetCampaignStoreChains",
        "parameters": [
          {
            "name": "campaignId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "guid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/CMApplicationCampaignsDtosCampaignStoreChainDto"
                  }
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "JWTBearerAuth": [
              "platform_admin"
            ]
          }
        ]
      }
    },
    "/api/campaigns/{campaignId}/stores": {
      "get": {
        "tags": [
          "Campaigns"
        ],
        "operationId": "CMApiCampaignEndpointsGetCampaignStores",
        "parameters": [
          {
            "name": "campaignId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "guid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/CMApiCampaignEndpointsCampaignStoreDto"
                  }
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "JWTBearerAuth": [
              "ika_admin",
              "tt_admin"
            ]
          }
        ]
      }
    },
    "/api/campaigns/enrolled/{campaignId}/insights": {
      "get": {
        "tags": [
          "Campaigns"
        ],
        "operationId": "CMApiCampaignEndpointsGetEnrolledCampaignInsights",
        "parameters": [
          {
            "name": "campaignId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "guid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CMApplicationCampaignsDtosCampaignInsightsDto"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "JWTBearerAuth": [
              "store_user"
            ]
          }
        ]
      }
    },
    "/api/campaigns/enrolled/{campaignId}/orders": {
      "get": {
        "tags": [
          "Campaigns"
        ],
        "operationId": "CMApiCampaignEndpointsGetEnrolledCampaignOrders",
        "parameters": [
          {
            "name": "campaignId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "guid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CMApplicationContractsPagedResultOfCompletedOrderDto"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "JWTBearerAuth": [
              "store_user"
            ]
          }
        ]
      }
    },
    "/api/campaigns/enrolled/{campaignId}/prizes": {
      "get": {
        "tags": [
          "Campaigns"
        ],
        "operationId": "CMApiCampaignEndpointsGetEnrolledCampaignPrizes",
        "parameters": [
          {
            "name": "campaignId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "guid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/CMApplicationCampaignsDtosCampaignProductDto"
                  }
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "JWTBearerAuth": [
              "store_user",
              "reporting_user"
            ]
          }
        ]
      }
    },
    "/api/campaigns/enrolled/{campaignId}/products": {
      "get": {
        "tags": [
          "Campaigns"
        ],
        "operationId": "CMApiCampaignEndpointsGetEnrolledCampaignProducts",
        "parameters": [
          {
            "name": "campaignId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "guid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/CMApplicationCampaignsDtosCampaignProductDto"
                  }
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "JWTBearerAuth": [
              "store_user"
            ]
          }
        ]
      }
    },
    "/api/campaigns/enrolled": {
      "get": {
        "tags": [
          "Campaigns"
        ],
        "operationId": "CMApiCampaignEndpointsGetEnrolledCampaigns",
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/CMApplicationCampaignsDtosEnrolledCampaignDto"
                  }
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "JWTBearerAuth": [
              "store_user"
            ]
          }
        ]
      }
    },
    "/api/campaigns/{campaignId}/stock-adjustment-audit": {
      "get": {
        "tags": [
          "Campaigns"
        ],
        "operationId": "CMApiCampaignEndpointsGetStockAdjustmentAudits",
        "parameters": [
          {
            "name": "campaignId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "guid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/CMApplicationCampaignsDtosStockAdjustmentAuditDto"
                  }
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "JWTBearerAuth": [
              "platform_admin",
              "tt_admin"
            ]
          }
        ]
      }
    },
    "/api/campaigns/{campaignId}/survey-questions": {
      "get": {
        "tags": [
          "Campaigns"
        ],
        "operationId": "CMApiCampaignEndpointsGetSurveyQuestions",
        "parameters": [
          {
            "name": "campaignId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "guid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/CMApplicationCampaignsDtosSurveyQuestionDto"
                  }
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "JWTBearerAuth": [
              "store_user"
            ]
          }
        ]
      }
    },
    "/api/campaigns/{campaignId}/products/{productId}": {
      "delete": {
        "tags": [
          "Campaigns"
        ],
        "operationId": "CMApiCampaignEndpointsRemoveCampaignProduct",
        "parameters": [
          {
            "name": "campaignId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "guid"
            }
          },
          {
            "name": "productId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "guid"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "No Content"
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "JWTBearerAuth": [
              "platform_admin"
            ]
          }
        ]
      }
    },
    "/api/campaigns/{campaignId}/store-chains/{storeChainId}": {
      "delete": {
        "tags": [
          "Campaigns"
        ],
        "operationId": "CMApiCampaignEndpointsRemoveCampaignStoreChain",
        "parameters": [
          {
            "name": "campaignId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "guid"
            }
          },
          {
            "name": "storeChainId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "guid"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "No Content"
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "JWTBearerAuth": [
              "platform_admin"
            ]
          }
        ]
      }
    },
    "/api/admin/recent-activity": {
      "get": {
        "tags": [
          "Admin"
        ],
        "operationId": "CMApiAdminEndpointsGetRecentActivity",
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CMApiAdminEndpointsRecentActivitySnapshot"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "JWTBearerAuth": [
              "platform_admin"
            ]
          }
        ]
      }
    },
    "/api/qr/complete-order": {
      "post": {
        "tags": [
          "Qr"
        ],
        "operationId": "CMSelfServiceEndpointsCompleteQrCampaignOrder",
        "requestBody": {
          "x-name": "CompleteQrCampaignOrderRequest",
          "description": "",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CMSelfServiceEndpointsCompleteQrCampaignOrderRequest"
              }
            }
          },
          "required": true,
          "x-position": 1
        },
        "responses": {
          "204": {
            "description": "No Content"
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "JWTBearerAuth": [
              "store_user"
            ]
          }
        ]
      }
    },
    "/api/qr/campaigns/{campaignId}/products": {
      "get": {
        "tags": [
          "Qr"
        ],
        "operationId": "CMSelfServiceEndpointsGetQrCampaignProducts",
        "parameters": [
          {
            "name": "campaignId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "guid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/CMSelfServiceApplicationDtosQrCampaignProductDto"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/api/qr/campaigns": {
      "get": {
        "tags": [
          "Qr"
        ],
        "operationId": "CMSelfServiceEndpointsGetQrCampaigns",
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/CMSelfServiceApplicationDtosQrCampaignDto"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/api/qr/send-sms": {
      "post": {
        "tags": [
          "Qr"
        ],
        "operationId": "CMSelfServiceEndpointsQrSendSms",
        "requestBody": {
          "x-name": "QrSendSmsCommand",
          "description": "",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CMSelfServiceApplicationCommandsQrSendSmsCommand"
              }
            }
          },
          "required": true,
          "x-position": 1
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CMSelfServiceApplicationCommandsQrSendSmsResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/qr/submit": {
      "post": {
        "tags": [
          "Qr"
        ],
        "operationId": "CMSelfServiceEndpointsQrSubmitSession",
        "requestBody": {
          "x-name": "CreateQrSessionCommand",
          "description": "",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CMSelfServiceApplicationCommandsCreateQrSessionCommand"
              }
            }
          },
          "required": true,
          "x-position": 1
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CMSelfServiceApplicationDtosQrSessionResultDto"
                }
              }
            }
          }
        }
      }
    },
    "/api/qr/verify-code": {
      "post": {
        "tags": [
          "Qr"
        ],
        "operationId": "CMSelfServiceEndpointsQrVerifyCode",
        "requestBody": {
          "x-name": "QrVerifyCodeCommand",
          "description": "",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CMSelfServiceApplicationCommandsQrVerifyCodeCommand"
              }
            }
          },
          "required": true,
          "x-position": 1
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CMSelfServiceApplicationCommandsQrVerifyCodeResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/qr/validate-session": {
      "post": {
        "tags": [
          "Qr"
        ],
        "operationId": "CMSelfServiceEndpointsValidateQrSession",
        "requestBody": {
          "x-name": "ValidateQrSessionRequest",
          "description": "",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CMSelfServiceEndpointsValidateQrSessionRequest"
              }
            }
          },
          "required": true,
          "x-position": 1
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CMSelfServiceApplicationCommandsValidateQrSessionResponse"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "JWTBearerAuth": [
              "store_user",
              "platform_admin"
            ]
          }
        ]
      }
    },
    "/api/qr/validate-code-for-cashier": {
      "post": {
        "tags": [
          "Qr"
        ],
        "operationId": "CMSelfServiceEndpointsValidateQrSessionForCashier",
        "requestBody": {
          "x-name": "ValidateQrSessionForCashierRequest",
          "description": "",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CMSelfServiceEndpointsValidateQrSessionForCashierRequest"
              }
            }
          },
          "required": true,
          "x-position": 1
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CMSelfServiceApplicationCommandsValidateQrSessionResponse"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "JWTBearerAuth": [
              "store_user"
            ]
          }
        ]
      }
    },
    "/api/edenred/wallets/mine/tmr-allowance": {
      "post": {
        "tags": [
          "Edenred"
        ],
        "operationId": "CMEdenredEndpointsWalletsCheckTmrBeneficiaryAllowance",
        "requestBody": {
          "x-name": "TmrAllowanceRequest",
          "description": "",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CMEdenredEndpointsWalletsTmrAllowanceRequest"
              }
            }
          },
          "required": true,
          "x-position": 1
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CMEdenredEndpointsWalletsTmrAllowanceResult"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "JWTBearerAuth": [
              "tmr_user"
            ]
          }
        ]
      }
    },
    "/api/edenred/wallets/stores/{storeId}/credit": {
      "post": {
        "tags": [
          "Edenred"
        ],
        "operationId": "CMEdenredEndpointsWalletsCreditStoreWallet",
        "parameters": [
          {
            "name": "storeId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "guid"
            }
          }
        ],
        "requestBody": {
          "x-name": "CreditWalletRequest",
          "description": "",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CMEdenredDtosCreditWalletRequest"
              }
            }
          },
          "required": true,
          "x-position": 1
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CMEdenredDtosWalletBalanceDto"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "JWTBearerAuth": [
              "ika_admin",
              "tt_admin"
            ]
          }
        ]
      }
    },
    "/api/edenred/wallets/tmrs/{userId}/credit": {
      "post": {
        "tags": [
          "Edenred"
        ],
        "operationId": "CMEdenredEndpointsWalletsCreditTmrWallet",
        "parameters": [
          {
            "name": "userId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "guid"
            }
          }
        ],
        "requestBody": {
          "x-name": "CreditTmrWalletRequest",
          "description": "",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CMEdenredDtosCreditTmrWalletRequest"
              }
            }
          },
          "required": true,
          "x-position": 1
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CMEdenredDtosWalletBalanceDto"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "JWTBearerAuth": [
              "tmr_admin"
            ]
          }
        ]
      }
    },
    "/api/edenred/wallets/stores/import/template": {
      "get": {
        "tags": [
          "Edenred"
        ],
        "operationId": "CMEdenredEndpointsWalletsDownloadStoreCreditTemplate",
        "responses": {
          "204": {
            "description": "No Content"
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "JWTBearerAuth": [
              "ika_admin",
              "tt_admin"
            ]
          }
        ]
      }
    },
    "/api/edenred/wallets/tmrs/import/template": {
      "get": {
        "tags": [
          "Edenred"
        ],
        "operationId": "CMEdenredEndpointsWalletsDownloadTmrCreditTemplate",
        "responses": {
          "204": {
            "description": "No Content"
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "JWTBearerAuth": [
              "tmr_admin"
            ]
          }
        ]
      }
    },
    "/api/edenred/campaigns": {
      "get": {
        "tags": [
          "Edenred"
        ],
        "operationId": "CMEdenredEndpointsWalletsGetCreditCampaigns",
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/CMEdenredContractsDtosCampaignOptionDto"
                  }
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "JWTBearerAuth": [
              "ika_admin",
              "tt_admin"
            ]
          }
        ]
      }
    },
    "/api/edenred/imports": {
      "get": {
        "tags": [
          "Edenred"
        ],
        "operationId": "CMEdenredEndpointsWalletsGetCreditImports",
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CMSharedAbstractionsPagingPagedResultOfCreditImportDto"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "JWTBearerAuth": [
              "ika_admin",
              "tt_admin",
              "tmr_admin"
            ]
          }
        ]
      }
    },
    "/api/edenred/wallets/mine/campaign-credits": {
      "get": {
        "tags": [
          "Edenred"
        ],
        "operationId": "CMEdenredEndpointsWalletsGetMyCampaignCredits",
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/CMEdenredDtosCampaignCreditDto"
                  }
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "JWTBearerAuth": [
              "store_user"
            ]
          }
        ]
      }
    },
    "/api/edenred/wallets/mine": {
      "get": {
        "tags": [
          "Edenred"
        ],
        "operationId": "CMEdenredEndpointsWalletsGetMyStoreWallet",
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CMEdenredDtosStoreWalletDto"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "JWTBearerAuth": [
              "store_user"
            ]
          }
        ]
      }
    },
    "/api/edenred/wallets/mine/transactions": {
      "get": {
        "tags": [
          "Edenred"
        ],
        "operationId": "CMEdenredEndpointsWalletsGetMyStoreWalletTransactions",
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CMSharedAbstractionsPagingPagedResultOfCreditTransactionDto"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "JWTBearerAuth": [
              "store_user"
            ]
          }
        ]
      }
    },
    "/api/edenred/wallets/mine/{campaignId}": {
      "get": {
        "tags": [
          "Edenred"
        ],
        "operationId": "CMEdenredEndpointsWalletsGetMyTmrWallet",
        "parameters": [
          {
            "name": "campaignId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "guid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CMEdenredDtosTmrWalletBalanceDto"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "JWTBearerAuth": [
              "tmr_user"
            ]
          }
        ]
      }
    },
    "/api/edenred/wallets/mine/notices": {
      "get": {
        "tags": [
          "Edenred"
        ],
        "operationId": "CMEdenredEndpointsWalletsGetMyWalletNotices",
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/CMEdenredDtosWalletNoticeItemDto"
                  }
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "JWTBearerAuth": [
              "store_user"
            ]
          }
        ]
      }
    },
    "/api/edenred/wallets/stores/{storeId}/campaign-credits": {
      "get": {
        "tags": [
          "Edenred"
        ],
        "operationId": "CMEdenredEndpointsWalletsGetStoreCampaignCredits",
        "parameters": [
          {
            "name": "storeId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "guid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/CMEdenredDtosCampaignCreditDto"
                  }
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "JWTBearerAuth": [
              "ika_admin",
              "tt_admin"
            ]
          }
        ]
      }
    },
    "/api/edenred/wallets/stores/chains": {
      "get": {
        "tags": [
          "Edenred"
        ],
        "operationId": "CMEdenredEndpointsWalletsGetStoreWalletChains",
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/CMEdenredDtosStoreWalletChainDto"
                  }
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "JWTBearerAuth": [
              "ika_admin",
              "tt_admin"
            ]
          }
        ]
      }
    },
    "/api/edenred/wallets/stores": {
      "get": {
        "tags": [
          "Edenred"
        ],
        "operationId": "CMEdenredEndpointsWalletsGetStoreWallets",
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CMSharedAbstractionsPagingPagedResultOfStoreWalletRowDto"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "JWTBearerAuth": [
              "ika_admin",
              "tt_admin"
            ]
          }
        ]
      }
    },
    "/api/edenred/wallets/stores/summary": {
      "get": {
        "tags": [
          "Edenred"
        ],
        "operationId": "CMEdenredEndpointsWalletsGetStoreWalletSummary",
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CMEdenredDtosStoreWalletSummaryDto"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "JWTBearerAuth": [
              "ika_admin",
              "tt_admin"
            ]
          }
        ]
      }
    },
    "/api/edenred/wallets/tmrs": {
      "get": {
        "tags": [
          "Edenred"
        ],
        "operationId": "CMEdenredEndpointsWalletsGetTmrWallets",
        "parameters": [
          {
            "name": "campaignId",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "guid",
              "nullable": true
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/CMEdenredDtosTmrWalletRowDto"
                  }
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "JWTBearerAuth": [
              "tmr_admin"
            ]
          }
        ]
      }
    },
    "/api/edenred/wallets/{walletId}/transactions": {
      "get": {
        "tags": [
          "Edenred"
        ],
        "operationId": "CMEdenredEndpointsWalletsGetWalletTransactions",
        "parameters": [
          {
            "name": "walletId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "guid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CMSharedAbstractionsPagingPagedResultOfCreditTransactionDto"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "JWTBearerAuth": [
              "ika_admin",
              "tt_admin",
              "tmr_admin"
            ]
          }
        ]
      }
    },
    "/api/edenred/wallets/stores/import": {
      "post": {
        "tags": [
          "Edenred"
        ],
        "operationId": "CMEdenredEndpointsWalletsImportStoreCredits",
        "responses": {
          "204": {
            "description": "No Content"
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "JWTBearerAuth": [
              "ika_admin",
              "tt_admin"
            ]
          }
        ]
      }
    },
    "/api/edenred/wallets/tmrs/import": {
      "post": {
        "tags": [
          "Edenred"
        ],
        "operationId": "CMEdenredEndpointsWalletsImportTmrCredits",
        "responses": {
          "204": {
            "description": "No Content"
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "JWTBearerAuth": [
              "tmr_admin"
            ]
          }
        ]
      }
    },
    "/api/edenred/wallets/mine/notices/seen": {
      "post": {
        "tags": [
          "Edenred"
        ],
        "operationId": "CMEdenredEndpointsWalletsMarkMyWalletNoticesSeen",
        "requestBody": {
          "x-name": "MarkNoticesSeenRequest",
          "description": "",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CMEdenredDtosMarkNoticesSeenRequest"
              }
            }
          },
          "required": true,
          "x-position": 1
        },
        "responses": {
          "204": {
            "description": "No Content"
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "JWTBearerAuth": [
              "store_user"
            ]
          }
        ]
      }
    },
    "/api/edenred/wallets/tmrs/transfer": {
      "post": {
        "tags": [
          "Edenred"
        ],
        "operationId": "CMEdenredEndpointsWalletsTransferTmrCredits",
        "requestBody": {
          "x-name": "TransferTmrCreditsRequest",
          "description": "",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CMEdenredDtosTransferTmrCreditsRequest"
              }
            }
          },
          "required": true,
          "x-position": 1
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CMEdenredDtosTransferResultDto"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "JWTBearerAuth": [
              "tmr_admin"
            ]
          }
        ]
      }
    },
    "/api/edenred/purchases": {
      "post": {
        "tags": [
          "Edenred"
        ],
        "operationId": "CMEdenredEndpointsPurchasesCreateStorePurchase",
        "requestBody": {
          "x-name": "StorePurchaseRequest",
          "description": "",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CMEdenredDtosStorePurchaseRequest"
              }
            }
          },
          "required": true,
          "x-position": 1
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CMEdenredContractsDtosCheckoutResultDto"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "JWTBearerAuth": [
              "store_user"
            ]
          }
        ]
      }
    },
    "/api/edenred/purchases/{id}/pdf": {
      "get": {
        "tags": [
          "Edenred"
        ],
        "operationId": "CMEdenredEndpointsPurchasesDownloadPurchasePdf1",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "guid"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "No Content"
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "JWTBearerAuth": [
              "store_user",
              "tmr_user",
              "tmr_admin"
            ]
          }
        ]
      }
    },
    "/api/tt/campaigns/{campaignId}/purchases/{id}/pdf": {
      "get": {
        "tags": [
          "Tt"
        ],
        "operationId": "CMEdenredEndpointsPurchasesDownloadPurchasePdf2",
        "parameters": [
          {
            "name": "campaignId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "guid"
            }
          },
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "guid"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "No Content"
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "JWTBearerAuth": [
              "store_user",
              "tmr_user",
              "tmr_admin"
            ]
          }
        ]
      }
    },
    "/api/edenred/purchases/{id}/pv": {
      "get": {
        "tags": [
          "Edenred"
        ],
        "operationId": "CMEdenredEndpointsPurchasesDownloadStorePv",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "guid"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "No Content"
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "JWTBearerAuth": [
              "store_user"
            ]
          }
        ]
      }
    },
    "/api/edenred/purchases/{id}/vouchers/{voucherId}/pdf": {
      "get": {
        "tags": [
          "Edenred"
        ],
        "operationId": "CMEdenredEndpointsPurchasesDownloadVoucherPdf1",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "guid"
            }
          },
          {
            "name": "voucherId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "guid"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "No Content"
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "JWTBearerAuth": [
              "store_user",
              "tmr_user",
              "tmr_admin"
            ]
          }
        ]
      }
    },
    "/api/tt/campaigns/{campaignId}/purchases/{id}/vouchers/{voucherId}/pdf": {
      "get": {
        "tags": [
          "Tt"
        ],
        "operationId": "CMEdenredEndpointsPurchasesDownloadVoucherPdf2",
        "parameters": [
          {
            "name": "campaignId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "guid"
            }
          },
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "guid"
            }
          },
          {
            "name": "voucherId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "guid"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "No Content"
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "JWTBearerAuth": [
              "store_user",
              "tmr_user",
              "tmr_admin"
            ]
          }
        ]
      }
    },
    "/api/edenred/purchases/mine": {
      "get": {
        "tags": [
          "Edenred"
        ],
        "operationId": "CMEdenredEndpointsPurchasesGetMyPurchases",
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CMSharedAbstractionsPagingPagedResultOfPurchaseListItemDto"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "JWTBearerAuth": [
              "store_user",
              "tmr_user"
            ]
          }
        ]
      }
    },
    "/api/edenred/purchases/{requestId}/result": {
      "get": {
        "tags": [
          "Edenred"
        ],
        "operationId": "CMEdenredEndpointsPurchasesGetStoreCheckoutResult",
        "parameters": [
          {
            "name": "requestId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "guid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CMEdenredContractsDtosCheckoutResultDto"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "JWTBearerAuth": [
              "store_user"
            ]
          }
        ]
      }
    },
    "/api/tt/vouchers/evoucher-checkout/{requestId}": {
      "get": {
        "tags": [
          "Tt"
        ],
        "operationId": "CMEdenredEndpointsPurchasesGetTmrCheckoutReceipt",
        "parameters": [
          {
            "name": "requestId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "guid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CMEdenredApplicationTmrHandoverReceipt"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "JWTBearerAuth": [
              "tmr_user"
            ]
          }
        ]
      }
    },
    "/api/edenred/purchases/preview": {
      "post": {
        "tags": [
          "Edenred"
        ],
        "operationId": "CMEdenredEndpointsPurchasesPreviewStorePurchase",
        "requestBody": {
          "x-name": "StorePurchaseRequest",
          "description": "",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CMEdenredDtosStorePurchaseRequest"
              }
            }
          },
          "required": true,
          "x-position": 1
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CMEdenredDtosCheckoutPreviewDto"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "JWTBearerAuth": [
              "store_user"
            ]
          }
        ]
      }
    },
    "/api/edenred/purchases/pv/preview": {
      "post": {
        "tags": [
          "Edenred"
        ],
        "operationId": "CMEdenredEndpointsPurchasesPreviewStorePv",
        "requestBody": {
          "x-name": "StorePurchaseRequest",
          "description": "",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CMEdenredDtosStorePurchaseRequest"
              }
            }
          },
          "required": true,
          "x-position": 1
        },
        "responses": {
          "204": {
            "description": "No Content"
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "JWTBearerAuth": [
              "store_user"
            ]
          }
        ]
      }
    },
    "/api/brilliapp/catalog/products": {
      "get": {
        "tags": [
          "Brilliapp"
        ],
        "operationId": "CMEdenredEndpointsCatalogGetBrilliappCatalog",
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/CMEdenredDtosProviderProductDto"
                  }
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "JWTBearerAuth": [
              "platform_admin",
              "ika_admin",
              "tt_admin"
            ]
          }
        ]
      }
    },
    "/api/brilliapp/catalog/sync": {
      "post": {
        "tags": [
          "Brilliapp"
        ],
        "operationId": "CMEdenredEndpointsCatalogSyncBrilliappCatalog",
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CMEdenredDtosCatalogSyncResult"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "JWTBearerAuth": [
              "platform_admin"
            ]
          }
        ]
      }
    },
    "/api/brilliapp/catalog/products/{id}/enabled": {
      "put": {
        "tags": [
          "Brilliapp"
        ],
        "operationId": "CMEdenredEndpointsCatalogSetBrilliappProductEnabled",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "guid"
            }
          }
        ],
        "requestBody": {
          "x-name": "SetProviderProductEnabledRequest",
          "description": "",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CMEdenredDtosSetProviderProductEnabledRequest"
              }
            }
          },
          "required": true,
          "x-position": 1
        },
        "responses": {
          "204": {
            "description": "No Content"
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "JWTBearerAuth": [
              "platform_admin",
              "ika_admin",
              "tt_admin"
            ]
          }
        ]
      }
    },
    "/api/brilliapp/catalog/products/enabled": {
      "put": {
        "tags": [
          "Brilliapp"
        ],
        "operationId": "CMEdenredEndpointsCatalogSetBrilliappProductsEnabled",
        "requestBody": {
          "x-name": "SetProviderProductsEnabledRequest",
          "description": "",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CMEdenredDtosSetProviderProductsEnabledRequest"
              }
            }
          },
          "required": true,
          "x-position": 1
        },
        "responses": {
          "204": {
            "description": "No Content"
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "JWTBearerAuth": [
              "platform_admin",
              "ika_admin",
              "tt_admin"
            ]
          }
        ]
      }
    },
    "/api/brilliapp/catalog/products/{id}/stock-check": {
      "post": {
        "tags": [
          "Brilliapp"
        ],
        "operationId": "CMEdenredEndpointsCatalogCheckBrilliappStock",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "guid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CMEdenredApplicationBrilliappStockResult"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "JWTBearerAuth": [
              "platform_admin"
            ]
          }
        ]
      }
    },
    "/api/edenred/catalog/active": {
      "get": {
        "tags": [
          "Edenred"
        ],
        "operationId": "CMEdenredEndpointsCatalogGetActiveCatalog",
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/CMEdenredDtosActiveProductDto"
                  }
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "JWTBearerAuth": [
              "store_user",
              "tmr_user"
            ]
          }
        ]
      }
    },
    "/api/edenred/catalog/store-quiz": {
      "get": {
        "tags": [
          "Edenred"
        ],
        "operationId": "CMEdenredEndpointsCatalogReadStoreQuizSettings",
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CMEdenredDtosStoreQuizSettings"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "JWTBearerAuth": [
              "platform_admin",
              "ika_admin",
              "tt_admin"
            ]
          }
        ]
      },
      "put": {
        "tags": [
          "Edenred"
        ],
        "operationId": "CMEdenredEndpointsCatalogSaveStoreQuizSettings",
        "requestBody": {
          "x-name": "StoreQuizSettings",
          "description": "",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CMEdenredDtosStoreQuizSettings"
              }
            }
          },
          "required": true,
          "x-position": 1
        },
        "responses": {
          "204": {
            "description": "No Content"
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "JWTBearerAuth": [
              "platform_admin",
              "ika_admin",
              "tt_admin"
            ]
          }
        ]
      }
    },
    "/api/edenred/store-quiz": {
      "get": {
        "tags": [
          "Edenred"
        ],
        "operationId": "CMEdenredEndpointsCatalogReadStoreQuiz",
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CMEdenredDtosStoreQuizForm"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "JWTBearerAuth": [
              "store_user"
            ]
          }
        ]
      }
    },
    "/api/edenred/store-quiz/check": {
      "post": {
        "tags": [
          "Edenred"
        ],
        "operationId": "CMEdenredEndpointsCatalogCheckStoreQuiz",
        "requestBody": {
          "x-name": "StoreQuizAnswers",
          "description": "",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CMEdenredDtosStoreQuizAnswers"
              }
            }
          },
          "required": true,
          "x-position": 1
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CMEdenredDtosStoreQuizCheck"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "JWTBearerAuth": [
              "store_user"
            ]
          }
        ]
      }
    },
    "/api/brilliapp/admin/funds": {
      "get": {
        "tags": [
          "Brilliapp"
        ],
        "operationId": "CMEdenredEndpointsAdminGetBrilliappFunds",
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CMEdenredEndpointsAdminFundsStatusDto"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "JWTBearerAuth": [
              "platform_admin"
            ]
          }
        ]
      }
    },
    "/api/brilliapp/admin/funds/check": {
      "post": {
        "tags": [
          "Brilliapp"
        ],
        "operationId": "CMEdenredEndpointsAdminCheckBrilliappFunds",
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CMEdenredEndpointsAdminFundsReadingDto"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "JWTBearerAuth": [
              "platform_admin"
            ]
          }
        ]
      }
    },
    "/api/brilliapp/admin/reconciliation": {
      "get": {
        "tags": [
          "Brilliapp"
        ],
        "operationId": "CMEdenredEndpointsAdminListReconciliation",
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CMEdenredApplicationReconciliationPage"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "JWTBearerAuth": [
              "platform_admin"
            ]
          }
        ]
      }
    },
    "/api/brilliapp/admin/reconciliation/{id}": {
      "get": {
        "tags": [
          "Brilliapp"
        ],
        "operationId": "CMEdenredEndpointsAdminGetReconciliation",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "guid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CMEdenredApplicationReconciliationDetail"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "JWTBearerAuth": [
              "platform_admin"
            ]
          }
        ]
      }
    },
    "/api/brilliapp/admin/reconciliation/{id}/vouchers/{voucherId}/resolve": {
      "post": {
        "tags": [
          "Brilliapp"
        ],
        "operationId": "CMEdenredEndpointsAdminResolveReconciliation",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "guid"
            }
          },
          {
            "name": "voucherId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "guid"
            }
          }
        ],
        "requestBody": {
          "x-name": "ReconcileVoucherRequest",
          "description": "",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CMEdenredApplicationReconcileVoucherRequest"
              }
            }
          },
          "required": true,
          "x-position": 1
        },
        "responses": {
          "204": {
            "description": "No Content"
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "JWTBearerAuth": [
              "platform_admin"
            ]
          }
        ]
      }
    },
    "/api/brilliapp/admin/reconciliation/{id}/finalize": {
      "post": {
        "tags": [
          "Brilliapp"
        ],
        "operationId": "CMEdenredEndpointsAdminFinalizeReconciliation",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "guid"
            }
          }
        ],
        "requestBody": {
          "x-name": "FinalizeReconciliationRequest",
          "description": "",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CMEdenredApplicationFinalizeReconciliationRequest"
              }
            }
          },
          "required": true,
          "x-position": 1
        },
        "responses": {
          "204": {
            "description": "No Content"
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "JWTBearerAuth": [
              "platform_admin"
            ]
          }
        ]
      }
    },
    "/api/brilliapp/admin/reconciliation/{id}/vouchers/{voucherId}/cancel": {
      "post": {
        "tags": [
          "Brilliapp"
        ],
        "operationId": "CMEdenredEndpointsAdminCancelReconciliationVoucher",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "guid"
            }
          },
          {
            "name": "voucherId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "guid"
            }
          }
        ],
        "requestBody": {
          "x-name": "CancelVoucherRequest",
          "description": "",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CMEdenredApplicationCancelVoucherRequest"
              }
            }
          },
          "required": true,
          "x-position": 1
        },
        "responses": {
          "204": {
            "description": "No Content"
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "JWTBearerAuth": [
              "platform_admin"
            ]
          }
        ]
      }
    },
    "/api/brilliapp/admin/token-check": {
      "post": {
        "tags": [
          "Brilliapp"
        ],
        "operationId": "CMEdenredEndpointsAdminCheckBrilliappToken",
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CMEdenredEndpointsAdminBrilliappTokenCheckResponse"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "JWTBearerAuth": [
              "platform_admin"
            ]
          }
        ]
      }
    },
    "/api/edenred/reports/claimed-vouchers": {
      "get": {
        "tags": [
          "Edenred"
        ],
        "operationId": "CMEdenredEndpointsAdminGetClaimedVouchers",
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CMSharedAbstractionsPagingPagedResultOfClaimedVoucherRow"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "JWTBearerAuth": [
              "tt_admin",
              "ika_admin"
            ]
          }
        ]
      }
    },
    "/api/edenred/reports/claimed-vouchers/export": {
      "get": {
        "tags": [
          "Edenred"
        ],
        "operationId": "CMEdenredEndpointsAdminExportClaimedVouchers",
        "responses": {
          "204": {
            "description": "No Content"
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "JWTBearerAuth": [
              "tt_admin",
              "ika_admin"
            ]
          }
        ]
      }
    },
    "/api/edenred/admin/wallet-maintenance": {
      "post": {
        "tags": [
          "Edenred"
        ],
        "operationId": "CMEdenredEndpointsAdminRunWalletMaintenance",
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CMEdenredContractsDtosWalletMaintenanceResultDto"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "JWTBearerAuth": [
              "platform_admin"
            ]
          }
        ]
      }
    },
    "/api/campaigns-v2/finished/{status}": {
      "get": {
        "tags": [
          "Campaigns-V2"
        ],
        "operationId": "CMCampaignsEndpointsGetFinishedCampaigns",
        "parameters": [
          {
            "name": "status",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CMSharedAbstractionsPagingPagedResultOfCampaignDto2"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "JWTBearerAuth": [
              "platform_admin",
              "ika_admin",
              "tt_admin"
            ]
          }
        ]
      }
    }
  },
  "components": {
    "schemas": {
      "TickerQUtilitiesEnumsTickerType": {
        "type": "integer",
        "description": "",
        "x-enumNames": [
          "CronTickerOccurrence",
          "TimeTicker"
        ],
        "enum": [
          0,
          1
        ]
      },
      "CMTraditionalTradeEndpointsVouchersAllocateVoucherRequest": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "storeId": {
            "type": "string",
            "format": "guid"
          },
          "firstName": {
            "type": "string"
          },
          "lastName": {
            "type": "string"
          },
          "quizResponses": {
            "type": "array",
            "nullable": true,
            "items": {
              "$ref": "#/components/schemas/CMTraditionalTradeEndpointsVouchersQuizResponse"
            }
          }
        }
      },
      "CMTraditionalTradeEndpointsVouchersQuizResponse": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "quizQuestionId": {
            "type": "string",
            "format": "guid"
          },
          "selectedOption": {
            "type": "string"
          }
        }
      },
      "CMTraditionalTradeEndpointsVouchersEvoucherCheckoutResponse": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "result": {
            "$ref": "#/components/schemas/CMEdenredContractsDtosCheckoutResultDto"
          },
          "pvError": {
            "type": "string",
            "nullable": true
          },
          "pvRetryToken": {
            "type": "string",
            "nullable": true
          }
        }
      },
      "CMEdenredContractsDtosCheckoutResultDto": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "purchaseId": {
            "type": "string",
            "format": "guid"
          },
          "status": {
            "type": "string"
          },
          "totalAmount": {
            "type": "number",
            "format": "decimal"
          },
          "issuedAmount": {
            "type": "number",
            "format": "decimal"
          },
          "refundedAmount": {
            "type": "number",
            "format": "decimal"
          },
          "vouchers": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CMEdenredContractsDtosCheckoutVoucherDto"
            }
          },
          "message": {
            "type": "string"
          },
          "pvAvailable": {
            "type": "boolean"
          }
        }
      },
      "CMEdenredContractsDtosCheckoutVoucherDto": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "voucherId": {
            "type": "string",
            "format": "guid"
          },
          "lineNo": {
            "type": "integer",
            "format": "int32"
          },
          "vendor": {
            "type": "string"
          },
          "label": {
            "type": "string"
          },
          "value": {
            "type": "number",
            "format": "decimal"
          },
          "code": {
            "type": "string",
            "nullable": true
          },
          "status": {
            "type": "string"
          },
          "error": {
            "type": "string",
            "nullable": true
          },
          "sources": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CMEdenredContractsDtosVoucherSourceDto"
            }
          }
        }
      },
      "CMEdenredContractsDtosVoucherSourceDto": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "campaignName": {
            "type": "string"
          },
          "amount": {
            "type": "number",
            "format": "decimal"
          }
        }
      },
      "CMTraditionalTradeEndpointsVouchersEvoucherCheckoutRequest": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "campaignId": {
            "type": "string",
            "format": "guid"
          },
          "storeId": {
            "type": "string",
            "format": "guid"
          },
          "firstName": {
            "type": "string"
          },
          "lastName": {
            "type": "string"
          },
          "phone": {
            "type": "string"
          },
          "tin": {
            "type": "string",
            "nullable": true
          },
          "quizResponses": {
            "type": "array",
            "nullable": true,
            "items": {
              "$ref": "#/components/schemas/CMTraditionalTradeEndpointsVouchersQuizResponse"
            }
          },
          "lines": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CMEdenredContractsDtosCheckoutLineDto"
            }
          },
          "signatureData": {
            "type": "string",
            "nullable": true
          },
          "requestId": {
            "type": "string",
            "format": "guid"
          }
        }
      },
      "CMEdenredContractsDtosCheckoutLineDto": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "productId": {
            "type": "string",
            "format": "guid"
          },
          "value": {
            "type": "number",
            "format": "decimal"
          },
          "quantity": {
            "type": "integer",
            "format": "int32"
          }
        }
      },
      "CMTraditionalTradeEndpointsVouchersGenerateDraftPvRequest": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "campaignId": {
            "type": "string",
            "format": "guid"
          },
          "storeId": {
            "type": "string",
            "format": "guid"
          },
          "voucherNo": {
            "type": "integer",
            "format": "int32"
          },
          "firstName": {
            "type": "string"
          },
          "lastName": {
            "type": "string"
          },
          "tin": {
            "type": "string",
            "nullable": true
          },
          "lines": {
            "type": "array",
            "nullable": true,
            "items": {
              "$ref": "#/components/schemas/CMTraditionalTradeEndpointsVouchersPvLineDto"
            }
          }
        }
      },
      "CMTraditionalTradeEndpointsVouchersPvLineDto": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "vendor": {
            "type": "string"
          },
          "label": {
            "type": "string"
          },
          "value": {
            "type": "number",
            "format": "decimal"
          },
          "quantity": {
            "type": "integer",
            "format": "int32"
          }
        }
      },
      "CMSharedAbstractionsPagingPagedResultOfAllocatedVoucherDto": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "items": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CMTraditionalTradeDtosAllocatedVoucherDto"
            }
          },
          "count": {
            "type": "integer",
            "format": "int32"
          }
        }
      },
      "CMTraditionalTradeDtosAllocatedVoucherDto": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "voucherId": {
            "type": "string",
            "format": "guid"
          },
          "value": {
            "type": "number",
            "format": "decimal"
          },
          "campaignId": {
            "type": "string",
            "format": "guid"
          },
          "storeId": {
            "type": "string",
            "format": "guid"
          },
          "userId": {
            "type": "string",
            "format": "guid"
          },
          "firstName": {
            "type": "string"
          },
          "lastName": {
            "type": "string"
          },
          "tin": {
            "type": "string"
          },
          "allocatedOn": {
            "type": "string",
            "format": "date-time"
          },
          "storeName": {
            "type": "string",
            "nullable": true
          },
          "address": {
            "type": "string",
            "nullable": true
          },
          "city": {
            "type": "string",
            "nullable": true
          }
        }
      },
      "CMSharedAbstractionsPagingPagedResultOfVoucherBatchDto": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "items": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CMTraditionalTradeDtosVoucherBatchDto"
            }
          },
          "count": {
            "type": "integer",
            "format": "int32"
          }
        }
      },
      "CMTraditionalTradeDtosVoucherBatchDto": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "batchId": {
            "type": "string",
            "format": "guid"
          },
          "name": {
            "type": "string"
          }
        }
      },
      "CMSharedAbstractionsPagingPagedResultOfVoucherDto": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "items": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CMTraditionalTradeDtosVoucherDto"
            }
          },
          "count": {
            "type": "integer",
            "format": "int32"
          }
        }
      },
      "CMTraditionalTradeDtosVoucherDto": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "voucherId": {
            "type": "string",
            "format": "guid"
          },
          "batchId": {
            "type": "string",
            "format": "guid"
          },
          "value": {
            "type": "number",
            "format": "decimal"
          },
          "supplier": {
            "type": "string"
          },
          "status": {
            "type": "string"
          },
          "campaignId": {
            "type": "string",
            "format": "guid",
            "nullable": true
          }
        }
      },
      "CMTraditionalTradeEndpointsVouchersImportVouchersRequest": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "value": {
            "type": "number",
            "format": "decimal"
          },
          "supplier": {
            "type": "string"
          },
          "batchName": {
            "type": "string"
          }
        }
      },
      "CMTraditionalTradeEndpointsVouchersRegeneratePvRequest": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "retryToken": {
            "type": "string",
            "nullable": true
          }
        }
      },
      "CMTraditionalTradeEndpointsVouchersSignDraftPvRequest": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "campaignId": {
            "type": "string",
            "format": "guid"
          },
          "storeId": {
            "type": "string",
            "format": "guid"
          },
          "voucherNo": {
            "type": "integer",
            "format": "int32"
          },
          "firstName": {
            "type": "string"
          },
          "lastName": {
            "type": "string"
          },
          "signatureData": {
            "type": "string",
            "nullable": true
          },
          "tin": {
            "type": "string",
            "nullable": true
          }
        }
      },
      "CMSharedAbstractionsPagingPagedResultOfTtUserDto": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "items": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CMTraditionalTradeDtosTtUserDto"
            }
          },
          "count": {
            "type": "integer",
            "format": "int32"
          }
        }
      },
      "CMTraditionalTradeDtosTtUserDto": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "userId": {
            "type": "string",
            "format": "guid"
          },
          "userName": {
            "type": "string"
          },
          "displayName": {
            "type": "string"
          },
          "email": {
            "type": "string",
            "nullable": true
          },
          "roles": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "isActive": {
            "type": "boolean"
          },
          "asmName": {
            "type": "string",
            "nullable": true
          },
          "asmEmail": {
            "type": "string",
            "nullable": true
          }
        }
      },
      "CMTraditionalTradeEndpointsTmrEvouchersTmrEvoucherCampaignDetailDto": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "campaign": {
            "$ref": "#/components/schemas/CMTraditionalTradeEndpointsTmrEvouchersTmrEvoucherCampaignDto"
          },
          "stores": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CMTraditionalTradeEndpointsTmrEvouchersTmrEvoucherStoreDto"
            }
          }
        }
      },
      "CMTraditionalTradeEndpointsTmrEvouchersTmrEvoucherCampaignDto": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "campaignId": {
            "type": "string",
            "format": "guid"
          },
          "name": {
            "type": "string"
          },
          "startDate": {
            "type": "string",
            "format": "date"
          },
          "endDate": {
            "type": "string",
            "format": "date"
          },
          "isRunning": {
            "type": "boolean"
          },
          "balance": {
            "type": "number",
            "format": "decimal",
            "nullable": true
          },
          "issuedVouchers": {
            "type": "integer",
            "format": "int32"
          },
          "issuedCredits": {
            "type": "number",
            "format": "decimal"
          },
          "stores": {
            "type": "integer",
            "format": "int32"
          },
          "lastHandoverOn": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          }
        }
      },
      "CMTraditionalTradeEndpointsTmrEvouchersTmrEvoucherStoreDto": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "ttStoreId": {
            "type": "string",
            "format": "guid",
            "nullable": true
          },
          "code": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "city": {
            "type": "string",
            "nullable": true
          },
          "issuedVouchers": {
            "type": "integer",
            "format": "int32"
          },
          "issuedCredits": {
            "type": "number",
            "format": "decimal"
          },
          "purchases": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CMEdenredContractsDtosTmrPurchaseDto"
            }
          }
        }
      },
      "CMEdenredContractsDtosTmrPurchaseDto": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "purchaseId": {
            "type": "string",
            "format": "guid"
          },
          "createdOn": {
            "type": "string",
            "format": "date-time"
          },
          "ttStoreId": {
            "type": "string",
            "format": "guid",
            "nullable": true
          },
          "strStoreId": {
            "type": "string",
            "format": "guid",
            "nullable": true
          },
          "beneficiaryName": {
            "type": "string"
          },
          "beneficiaryPhone": {
            "type": "string"
          },
          "units": {
            "type": "integer",
            "format": "int32"
          },
          "totalAmount": {
            "type": "number",
            "format": "decimal"
          },
          "issuedAmount": {
            "type": "number",
            "format": "decimal"
          },
          "refundedAmount": {
            "type": "number",
            "format": "decimal"
          },
          "status": {
            "type": "string"
          },
          "pdfAvailable": {
            "type": "boolean"
          },
          "vouchers": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CMEdenredContractsDtosCheckoutVoucherDto"
            }
          }
        }
      },
      "CMTraditionalTradeEndpointsStoresChangeContractRequest": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "version": {
            "type": "integer",
            "format": "int32"
          }
        }
      },
      "CMTraditionalTradeDtosStoreDto": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "storeId": {
            "type": "string",
            "format": "guid"
          },
          "code": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "regionId": {
            "type": "string",
            "format": "guid"
          },
          "regionName": {
            "type": "string"
          },
          "address": {
            "type": "string",
            "nullable": true
          },
          "city": {
            "type": "string",
            "nullable": true
          },
          "county": {
            "type": "string",
            "nullable": true
          },
          "channel": {
            "type": "string",
            "nullable": true
          },
          "subChannel": {
            "type": "string",
            "nullable": true
          },
          "mainClassification": {
            "type": "string",
            "nullable": true
          },
          "status": {
            "type": "string",
            "nullable": true
          },
          "username": {
            "type": "string",
            "nullable": true
          }
        }
      },
      "CMTraditionalTradeDtosStoreCredentialsDto": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "username": {
            "type": "string"
          },
          "password": {
            "type": "string"
          }
        }
      },
      "FastEndpointsEmptyRequest": {
        "type": "object",
        "additionalProperties": false
      },
      "CMTraditionalTradeDtosCampaignStoresGroupDto": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "campaignId": {
            "type": "string",
            "format": "guid"
          },
          "campaignName": {
            "type": "string"
          },
          "stores": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CMTraditionalTradeDtosCampaignStoreDto"
            }
          },
          "campaignType": {
            "type": "string",
            "nullable": true
          }
        }
      },
      "CMTraditionalTradeDtosCampaignStoreDto": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "storeId": {
            "type": "string",
            "format": "guid"
          },
          "code": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "address": {
            "type": "string",
            "nullable": true
          },
          "city": {
            "type": "string",
            "nullable": true
          },
          "county": {
            "type": "string",
            "nullable": true
          },
          "channel": {
            "type": "string",
            "nullable": true
          },
          "posCount": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "contractStatus": {
            "type": "string",
            "nullable": true
          },
          "selectionId": {
            "type": "string",
            "format": "guid",
            "nullable": true
          },
          "hasSignedDeviz": {
            "type": "boolean"
          },
          "contractVersion": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "canReopenContract": {
            "type": "boolean"
          }
        }
      },
      "CMSharedAbstractionsPagingPagedResultOfStoreDto": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "items": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CMTraditionalTradeDtosStoreDto"
            }
          },
          "count": {
            "type": "integer",
            "format": "int32"
          }
        }
      },
      "CMTraditionalTradeEndpointsStoresDevizContract": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "campaign": {
            "type": "string"
          },
          "start": {
            "type": "string",
            "format": "date"
          },
          "end": {
            "type": "string",
            "format": "date"
          },
          "company": {
            "type": "string",
            "nullable": true
          },
          "cui": {
            "type": "string"
          },
          "address": {
            "type": "string",
            "nullable": true
          },
          "representative": {
            "type": "string",
            "nullable": true
          },
          "contractNumber": {
            "type": "string",
            "nullable": true
          },
          "concludedOn": {
            "type": "string",
            "format": "date"
          },
          "amountBeforeVatRon": {
            "type": "number",
            "format": "decimal",
            "nullable": true
          },
          "imperialSigner": {
            "type": "string"
          },
          "documentDate": {
            "type": "string",
            "format": "date"
          },
          "signedAt": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "contractVersion": {
            "type": "integer",
            "format": "int32"
          },
          "suggestedAmountIncludingVat": {
            "type": "number",
            "format": "decimal",
            "nullable": true
          }
        }
      },
      "CMTraditionalTradeEndpointsStoresDevizAmount": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "amountIncludingVat": {
            "type": "number",
            "format": "decimal"
          }
        }
      },
      "CMTraditionalTradeEndpointsStoresSignDevizRequest": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "amountIncludingVat": {
            "type": "number",
            "format": "decimal"
          },
          "reviewKey": {
            "type": "string"
          },
          "imperialSignature": {
            "type": "string"
          },
          "partnerSignature": {
            "type": "string"
          }
        }
      },
      "CMTraditionalTradeDtosStoreUserImportResultDto": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "created": {
            "type": "integer",
            "format": "int32"
          },
          "skipped": {
            "type": "integer",
            "format": "int32"
          },
          "errors": {
            "type": "array",
            "items": {
              "type": "string"
            }
          }
        }
      },
      "CMTraditionalTradeInfrastructureAnafRegisteredCompany": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "cui": {
            "type": "integer",
            "format": "int64"
          },
          "name": {
            "type": "string"
          },
          "registrationNumber": {
            "type": "string",
            "nullable": true
          },
          "registeredAddress": {
            "type": "string"
          },
          "isVatRegistered": {
            "type": "boolean",
            "nullable": true
          }
        }
      },
      "CMTraditionalTradeEndpointsStoresSavedContractDraft": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "revision": {
            "type": "string",
            "format": "guid"
          }
        }
      },
      "CMTraditionalTradeEndpointsStoresSaveContractDraftRequest": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "selectionId": {
            "type": "string",
            "format": "guid"
          },
          "revision": {
            "type": "string",
            "format": "guid",
            "nullable": true
          },
          "details": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/CMTraditionalTradeDomainContractDetails"
              }
            ]
          }
        }
      },
      "CMTraditionalTradeDomainContractDetails": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "cui": {
            "type": "string"
          },
          "name": {
            "type": "string",
            "nullable": true
          },
          "registrationNumber": {
            "type": "string",
            "nullable": true
          },
          "registeredAddress": {
            "type": "string",
            "nullable": true
          },
          "iban": {
            "type": "string",
            "nullable": true
          },
          "bank": {
            "type": "string",
            "nullable": true
          },
          "representative": {
            "type": "string",
            "nullable": true
          },
          "representativeRole": {
            "type": "string",
            "nullable": true
          },
          "contactEmail": {
            "type": "string",
            "nullable": true
          },
          "useRegisteredAddress": {
            "type": "boolean"
          },
          "contactAddress": {
            "type": "string",
            "nullable": true
          },
          "useRepresentative": {
            "type": "boolean"
          },
          "contactName": {
            "type": "string",
            "nullable": true
          },
          "imperialContactName": {
            "type": "string",
            "nullable": true
          },
          "imperialContactAddress": {
            "type": "string",
            "nullable": true
          },
          "imperialContactEmail": {
            "type": "string",
            "nullable": true
          },
          "merchandising": {
            "type": "boolean"
          },
          "productPromotion": {
            "type": "boolean"
          },
          "amountBeforeVatRon": {
            "type": "number",
            "format": "decimal",
            "nullable": true
          },
          "isVatRegistered": {
            "type": "boolean",
            "nullable": true
          },
          "concludedOn": {
            "type": "string",
            "format": "date",
            "nullable": true
          },
          "contractNumber": {
            "type": "string",
            "nullable": true
          }
        }
      },
      "CMTraditionalTradeEndpointsStoresContractSigned": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "signedAt": {
            "type": "string",
            "format": "date-time"
          },
          "contractNumber": {
            "type": "string",
            "nullable": true
          }
        }
      },
      "CMTraditionalTradeEndpointsStoresSignContractRequest": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "selectionId": {
            "type": "string",
            "format": "guid"
          },
          "revision": {
            "type": "string",
            "format": "guid"
          },
          "reviewKey": {
            "type": "string"
          },
          "imperialSignature": {
            "type": "string"
          },
          "partnerSignature": {
            "type": "string"
          }
        }
      },
      "CMTraditionalTradeEndpointsStoresContractStartDto": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "selectionId": {
            "type": "string",
            "format": "guid"
          },
          "campaignName": {
            "type": "string"
          },
          "annexDate": {
            "type": "string",
            "format": "date"
          },
          "startDate": {
            "type": "string",
            "format": "date"
          },
          "endDate": {
            "type": "string",
            "format": "date"
          },
          "imperialSignatory": {
            "type": "string",
            "nullable": true
          },
          "defaultImperialEmail": {
            "type": "string",
            "nullable": true
          },
          "stores": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CMTraditionalTradeDtosCampaignStoreDto"
            }
          },
          "revision": {
            "type": "string",
            "format": "guid",
            "nullable": true
          },
          "draft": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/CMTraditionalTradeDomainContractDetails"
              }
            ]
          },
          "banks": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CMTraditionalTradeDomainRomanianBank"
            }
          },
          "signedAt": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          }
        }
      },
      "CMTraditionalTradeDomainRomanianBank": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "bic": {
            "type": "string"
          },
          "name": {
            "type": "string"
          }
        }
      },
      "CMTraditionalTradeDtosRegionDto": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "regionId": {
            "type": "string",
            "format": "guid"
          },
          "name": {
            "type": "string"
          }
        }
      },
      "CMSharedAbstractionsPagingPagedResultOfRegionDto": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "items": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CMTraditionalTradeDtosRegionDto"
            }
          },
          "count": {
            "type": "integer",
            "format": "int32"
          }
        }
      },
      "CMTraditionalTradeDtosUpsertOrderLineRequest": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "productId": {
            "type": "string",
            "format": "guid"
          },
          "qty": {
            "type": "integer",
            "format": "int32"
          }
        }
      },
      "CMTraditionalTradeDtosCancelOrderRequest": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "reason": {
            "type": "string",
            "nullable": true
          }
        }
      },
      "CMTraditionalTradeDtosCreateMarketingOrderRequest": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "tmrUserId": {
            "type": "string",
            "format": "guid"
          },
          "lines": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CMTraditionalTradeDtosUpsertOrderLineRequest"
            }
          }
        }
      },
      "CMTraditionalTradeDtosPromoProductDto": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "id": {
            "type": "string",
            "format": "guid"
          },
          "code": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "description": {
            "type": "string",
            "nullable": true
          },
          "category": {
            "type": "string",
            "nullable": true
          },
          "packaging": {
            "type": "string",
            "nullable": true
          },
          "photoBlobPath": {
            "type": "string",
            "nullable": true
          },
          "isActive": {
            "type": "boolean"
          },
          "visibleToTmr": {
            "type": "boolean"
          }
        }
      },
      "CMTraditionalTradeDtosCutOrderLineRequest": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "approvedQty": {
            "type": "integer",
            "format": "int32"
          },
          "reason": {
            "type": "string",
            "nullable": true
          }
        }
      },
      "CMTraditionalTradeDtosFinalizeOrderShippingRequest": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "shippingAddress": {
            "type": "string",
            "nullable": true
          },
          "recipientPhone": {
            "type": "string",
            "nullable": true
          }
        }
      },
      "CMTraditionalTradeDtosPromoAdminOrderDto": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "id": {
            "type": "string",
            "format": "guid"
          },
          "orderNumber": {
            "type": "integer",
            "format": "int64"
          },
          "tmrUserId": {
            "type": "string",
            "format": "guid"
          },
          "tmrName": {
            "type": "string"
          },
          "status": {
            "type": "string"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "finalizedAt": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "closedAt": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "shippedAt": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "receivedAt": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "cancelledAt": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "cancelReason": {
            "type": "string",
            "nullable": true
          },
          "origin": {
            "type": "string"
          },
          "channel": {
            "type": "string"
          },
          "size": {
            "type": "string",
            "nullable": true
          },
          "awb": {
            "type": "string",
            "nullable": true
          },
          "courier": {
            "type": "string",
            "nullable": true
          },
          "shippingAddress": {
            "type": "string",
            "nullable": true
          },
          "recipientPhone": {
            "type": "string",
            "nullable": true
          },
          "lines": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CMTraditionalTradeDtosPromoOrderLineDto"
            }
          }
        }
      },
      "CMTraditionalTradeDtosPromoOrderLineDto": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "id": {
            "type": "string",
            "format": "guid"
          },
          "productId": {
            "type": "string",
            "format": "guid"
          },
          "productCode": {
            "type": "string"
          },
          "productName": {
            "type": "string"
          },
          "productPackaging": {
            "type": "string",
            "nullable": true
          },
          "requestedQty": {
            "type": "integer",
            "format": "int32"
          },
          "approvedQty": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "cutReason": {
            "type": "string",
            "nullable": true
          },
          "shippedQty": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "stockReason": {
            "type": "string",
            "nullable": true
          },
          "receivedQty": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "addedByMarketing": {
            "type": "boolean"
          }
        }
      },
      "CMTraditionalTradeDtosPromoAdminOrderSummaryDto": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "id": {
            "type": "string",
            "format": "guid"
          },
          "orderNumber": {
            "type": "integer",
            "format": "int64"
          },
          "tmrUserId": {
            "type": "string",
            "format": "guid"
          },
          "tmrName": {
            "type": "string"
          },
          "status": {
            "type": "string"
          },
          "finalizedAt": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "lineCount": {
            "type": "integer",
            "format": "int32"
          },
          "totalRequested": {
            "type": "integer",
            "format": "int32"
          },
          "totalApproved": {
            "type": "integer",
            "format": "int32"
          },
          "totalShipped": {
            "type": "integer",
            "format": "int32"
          },
          "totalReceived": {
            "type": "integer",
            "format": "int32"
          },
          "origin": {
            "type": "string"
          },
          "channel": {
            "type": "string"
          }
        }
      },
      "CMTraditionalTradeDtosPromoAgencyOrderDto": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "id": {
            "type": "string",
            "format": "guid"
          },
          "orderNumber": {
            "type": "integer",
            "format": "int64"
          },
          "tmrName": {
            "type": "string"
          },
          "status": {
            "type": "string"
          },
          "size": {
            "type": "string",
            "nullable": true
          },
          "claimedByName": {
            "type": "string",
            "nullable": true
          },
          "awb": {
            "type": "string",
            "nullable": true
          },
          "courier": {
            "type": "string",
            "nullable": true
          },
          "shippingAddress": {
            "type": "string",
            "nullable": true
          },
          "recipientPhone": {
            "type": "string",
            "nullable": true
          },
          "lines": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CMTraditionalTradeDtosPromoOrderLineDto"
            }
          }
        }
      },
      "CMTraditionalTradeDtosPromoAgencyOrderSummaryDto": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "id": {
            "type": "string",
            "format": "guid"
          },
          "orderNumber": {
            "type": "integer",
            "format": "int64"
          },
          "tmrName": {
            "type": "string"
          },
          "status": {
            "type": "string"
          },
          "finalizedAt": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "claimedByName": {
            "type": "string",
            "nullable": true
          },
          "lineCount": {
            "type": "integer",
            "format": "int32"
          },
          "totalApproved": {
            "type": "integer",
            "format": "int32"
          },
          "totalShipped": {
            "type": "integer",
            "format": "int32"
          },
          "approvedAt": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "shippedAt": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          }
        }
      },
      "CMTraditionalTradeDtosCurrentOrderStateDto": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "cart": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/CMTraditionalTradeDtosPromoOrderDto"
              }
            ]
          },
          "blockingOrder": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/CMTraditionalTradeDtosBlockingOrderDto"
              }
            ]
          }
        }
      },
      "CMTraditionalTradeDtosPromoOrderDto": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "id": {
            "type": "string",
            "format": "guid"
          },
          "orderNumber": {
            "type": "integer",
            "format": "int64"
          },
          "status": {
            "type": "string"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "finalizedAt": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "closedAt": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "shippedAt": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "receivedAt": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "shippingAddress": {
            "type": "string",
            "nullable": true
          },
          "recipientPhone": {
            "type": "string",
            "nullable": true
          },
          "awb": {
            "type": "string",
            "nullable": true
          },
          "lines": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CMTraditionalTradeDtosPromoOrderLineDto"
            }
          }
        }
      },
      "CMTraditionalTradeDtosBlockingOrderDto": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "id": {
            "type": "string",
            "format": "guid"
          },
          "orderNumber": {
            "type": "integer",
            "format": "int64"
          },
          "status": {
            "type": "string"
          },
          "finalizedAt": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          }
        }
      },
      "CMTraditionalTradeDtosTmrDeliveryProfileDto": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "shippingAddress": {
            "type": "string",
            "nullable": true
          },
          "recipientPhone": {
            "type": "string",
            "nullable": true
          }
        }
      },
      "CMTraditionalTradeDtosPromoOrderSummaryDto": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "id": {
            "type": "string",
            "format": "guid"
          },
          "orderNumber": {
            "type": "integer",
            "format": "int64"
          },
          "status": {
            "type": "string"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "finalizedAt": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "receivedAt": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "lineCount": {
            "type": "integer",
            "format": "int32"
          },
          "totalRequested": {
            "type": "integer",
            "format": "int32"
          },
          "totalApproved": {
            "type": "integer",
            "format": "int32"
          },
          "totalShipped": {
            "type": "integer",
            "format": "int32"
          },
          "totalReceived": {
            "type": "integer",
            "format": "int32"
          }
        }
      },
      "CMTraditionalTradeDtosPromoPickProductDto": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "id": {
            "type": "string",
            "format": "guid"
          },
          "code": {
            "type": "string"
          },
          "name": {
            "type": "string"
          }
        }
      },
      "CMTraditionalTradeDtosPromoAdminProductDto": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "id": {
            "type": "string",
            "format": "guid"
          },
          "code": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "description": {
            "type": "string",
            "nullable": true
          },
          "category": {
            "type": "string",
            "nullable": true
          },
          "packaging": {
            "type": "string",
            "nullable": true
          },
          "photoUrl": {
            "type": "string",
            "nullable": true
          },
          "isActive": {
            "type": "boolean"
          },
          "visibleToTmr": {
            "type": "boolean"
          }
        }
      },
      "CMTraditionalTradeDtosPromoCatalogProductDto": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "id": {
            "type": "string",
            "format": "guid"
          },
          "code": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "description": {
            "type": "string",
            "nullable": true
          },
          "category": {
            "type": "string",
            "nullable": true
          },
          "packaging": {
            "type": "string",
            "nullable": true
          },
          "photoUrl": {
            "type": "string",
            "nullable": true
          }
        }
      },
      "CMSharedAbstractionsPagingPagedResultOfPromoProductDto": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "items": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CMTraditionalTradeDtosPromoProductDto"
            }
          },
          "count": {
            "type": "integer",
            "format": "int32"
          }
        }
      },
      "CMTraditionalTradeDtosPromoTmrUserDto": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "id": {
            "type": "string",
            "format": "guid"
          },
          "name": {
            "type": "string"
          }
        }
      },
      "CMTraditionalTradeDtosReceiveOrderRequest": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "lines": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CMTraditionalTradeDtosReceiveOrderLineRequest"
            }
          }
        }
      },
      "CMTraditionalTradeDtosReceiveOrderLineRequest": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "lineId": {
            "type": "string",
            "format": "guid"
          },
          "receivedQty": {
            "type": "integer",
            "format": "int32"
          }
        }
      },
      "CMTraditionalTradeDtosSetOrderShippingRequest": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "shippingAddress": {
            "type": "string",
            "nullable": true
          },
          "recipientPhone": {
            "type": "string",
            "nullable": true
          }
        }
      },
      "CMTraditionalTradeDtosTmrDeliveryProfileRequest": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "shippingAddress": {
            "type": "string",
            "nullable": true
          },
          "recipientPhone": {
            "type": "string",
            "nullable": true
          }
        }
      },
      "CMTraditionalTradeDtosAgencyShipRequest": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "size": {
            "type": "string",
            "nullable": true
          },
          "awb": {
            "type": "string",
            "nullable": true
          },
          "courier": {
            "type": "string",
            "nullable": true
          },
          "lines": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CMTraditionalTradeDtosShipOrderLineRequest"
            }
          }
        }
      },
      "CMTraditionalTradeDtosShipOrderLineRequest": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "lineId": {
            "type": "string",
            "format": "guid"
          },
          "shippedQty": {
            "type": "integer",
            "format": "int32"
          },
          "stockReason": {
            "type": "string",
            "nullable": true
          }
        }
      },
      "CMTraditionalTradeDtosShipOrderRequest": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "size": {
            "type": "string",
            "nullable": true
          },
          "awb": {
            "type": "string",
            "nullable": true
          },
          "courier": {
            "type": "string",
            "nullable": true
          },
          "lines": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CMTraditionalTradeDtosShipOrderLineRequest"
            }
          }
        }
      },
      "CMSharedAbstractionsPagingPagedResultOfDatabaseImportDto": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "items": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CMTraditionalTradeDtosDatabaseImportDto"
            }
          },
          "count": {
            "type": "integer",
            "format": "int32"
          }
        }
      },
      "CMTraditionalTradeDtosDatabaseImportDto": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "id": {
            "type": "string",
            "format": "guid"
          },
          "filename": {
            "type": "string"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "status": {
            "type": "string"
          },
          "syncStartedAt": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "syncCompletedAt": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "usersSynced": {
            "type": "integer",
            "format": "int32"
          },
          "errors": {
            "type": "string",
            "nullable": true
          }
        }
      },
      "CMTraditionalTradeEndpointsDatabaseImportsImportDatabaseResponse": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "id": {
            "type": "string",
            "format": "guid"
          },
          "filename": {
            "type": "string"
          }
        }
      },
      "CMTraditionalTradeEndpointsDatabaseImportsImportDatabaseRequest": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "file": {
            "type": "string",
            "format": "binary"
          }
        }
      },
      "CMTraditionalTradeDtosCollectionCampaignDto": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "campaignId": {
            "type": "string",
            "format": "guid"
          },
          "name": {
            "type": "string"
          },
          "startDate": {
            "type": "string",
            "format": "date"
          },
          "endDate": {
            "type": "string",
            "format": "date"
          },
          "ikaCampaignId": {
            "type": "string",
            "format": "guid",
            "nullable": true
          },
          "selectionCount": {
            "type": "integer",
            "format": "int32"
          },
          "campaignType": {
            "type": "string",
            "nullable": true
          },
          "canViewSignedContracts": {
            "type": "boolean"
          },
          "status": {
            "type": "string",
            "nullable": true
          }
        }
      },
      "CMSharedAbstractionsPagingPagedResultOfCollectionCampaignDto": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "items": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CMTraditionalTradeDtosCollectionCampaignDto"
            }
          },
          "count": {
            "type": "integer",
            "format": "int32"
          }
        }
      },
      "CMTraditionalTradeEndpointsCollectionCampaignsContractCandidates": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "stores": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CMTraditionalTradeEndpointsCollectionCampaignsContractPos"
            }
          },
          "hasMore": {
            "type": "boolean"
          }
        }
      },
      "CMTraditionalTradeEndpointsCollectionCampaignsContractPos": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "storeId": {
            "type": "string",
            "format": "guid"
          },
          "name": {
            "type": "string"
          },
          "code": {
            "type": "string"
          },
          "address": {
            "type": "string",
            "nullable": true
          },
          "city": {
            "type": "string",
            "nullable": true
          },
          "county": {
            "type": "string",
            "nullable": true
          },
          "isActive": {
            "type": "boolean"
          },
          "mainStoreId": {
            "type": "string",
            "format": "guid",
            "nullable": true
          },
          "assignedTmr": {
            "type": "string",
            "nullable": true
          },
          "responsibleTmr": {
            "type": "string",
            "nullable": true
          },
          "isMine": {
            "type": "boolean"
          },
          "isMyGroup": {
            "type": "boolean"
          }
        }
      },
      "CMTraditionalTradeDtosMyStoreSelectionDto": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "storeId": {
            "type": "string",
            "format": "guid"
          },
          "code": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "address": {
            "type": "string",
            "nullable": true
          },
          "city": {
            "type": "string",
            "nullable": true
          },
          "county": {
            "type": "string",
            "nullable": true
          },
          "isSelected": {
            "type": "boolean"
          }
        }
      },
      "CMTraditionalTradeContractsTmrFieldCampaign": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "name": {
            "type": "string"
          },
          "startDate": {
            "type": "string",
            "format": "date"
          },
          "endDate": {
            "type": "string",
            "format": "date"
          },
          "status": {
            "type": "string"
          },
          "isContract": {
            "type": "boolean"
          }
        }
      },
      "CMSharedAbstractionsPagingPagedResultOfVisibleCollectionCampaignDto": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "items": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CMTraditionalTradeDtosVisibleCollectionCampaignDto"
            }
          },
          "count": {
            "type": "integer",
            "format": "int32"
          }
        }
      },
      "CMTraditionalTradeDtosVisibleCollectionCampaignDto": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "campaignId": {
            "type": "string",
            "format": "guid"
          },
          "name": {
            "type": "string"
          },
          "startDate": {
            "type": "string",
            "format": "date"
          },
          "endDate": {
            "type": "string",
            "format": "date"
          },
          "isOpen": {
            "type": "boolean"
          },
          "mySelectionCount": {
            "type": "integer",
            "format": "int32"
          },
          "campaignType": {
            "type": "string"
          }
        }
      },
      "CMTraditionalTradeEndpointsCollectionCampaignsSaveContractGroupRequest": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "storeIds": {
            "type": "array",
            "items": {
              "type": "string",
              "format": "guid"
            }
          },
          "previousStoreIds": {
            "type": "array",
            "items": {
              "type": "string",
              "format": "guid"
            }
          }
        }
      },
      "CMTraditionalTradeEndpointsCollectionCampaignsSignedContractsFilter": {
        "type": "object",
        "additionalProperties": false
      },
      "CMTraditionalTradeDtosCampaignUserDto": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "campaignUserId": {
            "type": "string",
            "format": "guid"
          },
          "campaignId": {
            "type": "string",
            "format": "guid"
          },
          "userId": {
            "type": "string",
            "format": "guid"
          },
          "allocatedVouchers": {
            "type": "integer",
            "format": "int32"
          },
          "remainingVouchers": {
            "type": "integer",
            "format": "int32"
          },
          "voucherSource": {
            "type": "string"
          },
          "credits": {
            "type": "number",
            "format": "decimal",
            "nullable": true
          },
          "walletId": {
            "type": "string",
            "format": "guid",
            "nullable": true
          },
          "allocatedCredits": {
            "type": "number",
            "format": "decimal",
            "nullable": true
          },
          "availableCredits": {
            "type": "number",
            "format": "decimal",
            "nullable": true
          }
        }
      },
      "CMTraditionalTradeDtosCampaignDto": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "campaignId": {
            "type": "string",
            "format": "guid"
          },
          "name": {
            "type": "string"
          },
          "campaignType": {
            "type": "string",
            "nullable": true
          },
          "startDate": {
            "type": "string",
            "format": "date"
          },
          "endDate": {
            "type": "string",
            "format": "date"
          },
          "isActive": {
            "type": "boolean"
          },
          "batchId": {
            "type": "string",
            "format": "guid",
            "nullable": true
          },
          "hasQuiz": {
            "type": "boolean"
          },
          "tinEnabled": {
            "type": "boolean"
          },
          "voucherSource": {
            "type": "string"
          },
          "availableCredits": {
            "type": "number",
            "format": "decimal",
            "nullable": true
          },
          "remainingVouchers": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "allocatedVouchers": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          }
        }
      },
      "CMTraditionalTradeEndpointsCampaignsCreateQuizQuestionRequest": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "questionText": {
            "type": "string"
          },
          "optionA": {
            "type": "string"
          },
          "optionB": {
            "type": "string"
          },
          "optionC": {
            "type": "string",
            "nullable": true
          },
          "correctOption": {
            "type": "string"
          },
          "orderNo": {
            "type": "integer",
            "format": "int32"
          }
        }
      },
      "CMSharedAbstractionsPagingPagedResultOfCampaignDto": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "items": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CMTraditionalTradeDtosCampaignDto"
            }
          },
          "count": {
            "type": "integer",
            "format": "int32"
          }
        }
      },
      "CMTraditionalTradeEndpointsCampaignsCampaignUserAllocationResponse": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "exists": {
            "type": "boolean"
          },
          "allocatedVouchers": {
            "type": "integer",
            "format": "int32"
          },
          "remainingVouchers": {
            "type": "integer",
            "format": "int32"
          }
        }
      },
      "CMSharedAbstractionsPagingPagedResultOfCampaignUserDto": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "items": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CMTraditionalTradeDtosCampaignUserDto"
            }
          },
          "count": {
            "type": "integer",
            "format": "int32"
          }
        }
      },
      "CMTraditionalTradeDtosVoucherAllocationAuditDto": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "reason": {
            "type": "integer",
            "format": "int32"
          },
          "oldQuantity": {
            "type": "integer",
            "format": "int32"
          },
          "delta": {
            "type": "integer",
            "format": "int32"
          },
          "newQuantity": {
            "type": "integer",
            "format": "int32"
          },
          "counterpartyUserName": {
            "type": "string",
            "nullable": true
          },
          "actorUserName": {
            "type": "string"
          }
        }
      },
      "CMTraditionalTradeDtosTransferVouchersDto": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "campaignId": {
            "type": "string",
            "format": "guid"
          },
          "fromUserId": {
            "type": "string",
            "format": "guid"
          },
          "toUserId": {
            "type": "string",
            "format": "guid"
          },
          "count": {
            "type": "integer",
            "format": "int32"
          }
        }
      },
      "CMTraditionalTradeEndpointsCampaignsUpdateQuizQuestionRequest": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "quizQuestionId": {
            "type": "string",
            "format": "guid"
          },
          "questionText": {
            "type": "string"
          },
          "optionA": {
            "type": "string"
          },
          "optionB": {
            "type": "string"
          },
          "optionC": {
            "type": "string",
            "nullable": true
          },
          "correctOption": {
            "type": "string"
          },
          "orderNo": {
            "type": "integer",
            "format": "int32"
          },
          "isActive": {
            "type": "boolean"
          }
        }
      },
      "CMSharedAbstractionsPagingPagedResultOfAllocationRowDto": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "items": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CMTraditionalTradeEndpointsCampaignsAdminAllocationRowDto"
            }
          },
          "count": {
            "type": "integer",
            "format": "int32"
          }
        }
      },
      "CMTraditionalTradeEndpointsCampaignsAdminAllocationRowDto": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "campaignUserId": {
            "type": "string",
            "format": "guid"
          },
          "campaignId": {
            "type": "string",
            "format": "guid"
          },
          "campaignName": {
            "type": "string"
          },
          "voucherSource": {
            "type": "string"
          },
          "userId": {
            "type": "string",
            "format": "guid"
          },
          "userName": {
            "type": "string"
          },
          "displayName": {
            "type": "string"
          },
          "allocated": {
            "type": "number",
            "format": "decimal"
          },
          "remaining": {
            "type": "number",
            "format": "decimal"
          },
          "used": {
            "type": "number",
            "format": "decimal"
          },
          "walletId": {
            "type": "string",
            "format": "guid",
            "nullable": true
          }
        }
      },
      "CMTraditionalTradeEndpointsCampaignsAdminCampaignAllocationSummaryDto": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "voucherSource": {
            "type": "string"
          },
          "enrolledTmrs": {
            "type": "integer",
            "format": "int32"
          },
          "allocated": {
            "type": "number",
            "format": "decimal"
          },
          "remaining": {
            "type": "number",
            "format": "decimal"
          },
          "used": {
            "type": "number",
            "format": "decimal"
          },
          "batchTotal": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "batchUnallocated": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          }
        }
      },
      "CMSharedAbstractionsPagingPagedResultOfCampaignRowDto": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "items": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CMTraditionalTradeEndpointsCampaignsAdminCampaignRowDto"
            }
          },
          "count": {
            "type": "integer",
            "format": "int32"
          }
        }
      },
      "CMTraditionalTradeEndpointsCampaignsAdminCampaignRowDto": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "campaignId": {
            "type": "string",
            "format": "guid"
          },
          "name": {
            "type": "string"
          },
          "voucherSource": {
            "type": "string"
          },
          "startDate": {
            "type": "string",
            "format": "date"
          },
          "endDate": {
            "type": "string",
            "format": "date"
          },
          "isActive": {
            "type": "boolean"
          },
          "state": {
            "type": "string"
          },
          "hasQuiz": {
            "type": "boolean"
          },
          "tinEnabled": {
            "type": "boolean"
          },
          "batchId": {
            "type": "string",
            "format": "guid",
            "nullable": true
          },
          "enrolledTmrs": {
            "type": "integer",
            "format": "int32"
          }
        }
      },
      "CMTraditionalTradeEndpointsCampaignsAdminCampaignSupplementInfo": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "campaignName": {
            "type": "string"
          },
          "batchName": {
            "type": "string"
          },
          "supplier": {
            "type": "string"
          },
          "value": {
            "type": "number",
            "format": "decimal"
          }
        }
      },
      "CMTraditionalTradeEndpointsCampaignsAdminVoucherHistoryResult": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "items": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CMTraditionalTradeEndpointsCampaignsAdminVoucherHistoryItem"
            }
          },
          "count": {
            "type": "integer",
            "format": "int32"
          },
          "users": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CMTraditionalTradeEndpointsCampaignsAdminVoucherHistoryUser"
            }
          },
          "summary": {
            "$ref": "#/components/schemas/CMTraditionalTradeEndpointsCampaignsAdminVoucherHistorySummary"
          },
          "voucherSource": {
            "type": "string"
          }
        }
      },
      "CMTraditionalTradeEndpointsCampaignsAdminVoucherHistoryItem": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "id": {
            "type": "string",
            "format": "guid"
          },
          "date": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "storeCode": {
            "type": "string"
          },
          "storeName": {
            "type": "string"
          },
          "userId": {
            "type": "string",
            "format": "guid"
          },
          "displayName": {
            "type": "string"
          },
          "beneficiary": {
            "type": "string"
          },
          "supplier": {
            "type": "string",
            "nullable": true
          },
          "value": {
            "type": "number",
            "format": "decimal"
          },
          "status": {
            "type": "string"
          },
          "issuedCount": {
            "type": "integer",
            "format": "int32"
          },
          "refundedAmount": {
            "type": "number",
            "format": "decimal"
          },
          "refundFailed": {
            "type": "boolean"
          },
          "vouchers": {
            "type": "array",
            "nullable": true,
            "items": {
              "$ref": "#/components/schemas/CMTraditionalTradeEndpointsCampaignsAdminVoucherHistoryUnit"
            }
          },
          "phone": {
            "type": "string",
            "nullable": true
          }
        }
      },
      "CMTraditionalTradeEndpointsCampaignsAdminVoucherHistoryUnit": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "voucherId": {
            "type": "string",
            "format": "guid"
          },
          "vendor": {
            "type": "string"
          },
          "label": {
            "type": "string"
          },
          "value": {
            "type": "number",
            "format": "decimal"
          },
          "status": {
            "type": "string"
          }
        }
      },
      "CMTraditionalTradeEndpointsCampaignsAdminVoucherHistoryUser": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "userId": {
            "type": "string",
            "format": "guid"
          },
          "userName": {
            "type": "string"
          },
          "displayName": {
            "type": "string"
          }
        }
      },
      "CMTraditionalTradeEndpointsCampaignsAdminVoucherHistorySummary": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "vouchers": {
            "type": "integer",
            "format": "int32"
          },
          "value": {
            "type": "number",
            "format": "decimal"
          },
          "stores": {
            "type": "integer",
            "format": "int32"
          },
          "tmrs": {
            "type": "integer",
            "format": "int32"
          },
          "refunded": {
            "type": "number",
            "format": "decimal"
          },
          "pending": {
            "type": "integer",
            "format": "int32"
          }
        }
      },
      "CMSecurityEndpointsAuthenticateRequest": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "userName": {
            "type": "string"
          },
          "password": {
            "type": "string"
          },
          "rememberMe": {
            "type": "boolean"
          }
        }
      },
      "CMSecurityContractsDtosUserDto": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "userId": {
            "type": "string",
            "format": "guid"
          },
          "userName": {
            "type": "string"
          },
          "displayName": {
            "type": "string"
          },
          "email": {
            "type": "string",
            "nullable": true
          },
          "roles": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "isActive": {
            "type": "boolean"
          }
        }
      },
      "CMSecurityContractsRequestsCreateUserRequest": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "userName": {
            "type": "string"
          },
          "displayName": {
            "type": "string"
          },
          "email": {
            "type": "string",
            "nullable": true
          },
          "password": {
            "type": "string",
            "nullable": true
          },
          "roles": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "sendEmail": {
            "type": "boolean",
            "nullable": true
          }
        }
      },
      "CMSharedAbstractionsPagingPagedResultOfUserDto": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "items": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CMSecurityContractsDtosUserDto"
            }
          },
          "count": {
            "type": "integer",
            "format": "int32"
          }
        }
      },
      "CMSecurityEndpointsSetUserStatusRequest": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "isActive": {
            "type": "boolean",
            "nullable": true
          }
        }
      },
      "CMSecurityEndpointsUpdateUserRequest": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "userId": {
            "type": "string",
            "format": "guid"
          },
          "displayName": {
            "type": "string"
          },
          "email": {
            "type": "string",
            "nullable": true
          },
          "password": {
            "type": "string",
            "nullable": true
          },
          "roles": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "isActive": {
            "type": "boolean",
            "nullable": true
          }
        }
      },
      "CMApplicationStoresCommandsCreateStoreCommand": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "name": {
            "type": "string"
          },
          "displayName": {
            "type": "string"
          },
          "storeChainId": {
            "type": "string",
            "format": "guid"
          },
          "address": {
            "type": "string",
            "nullable": true
          }
        }
      },
      "CMApplicationContractsPagedResultOfStoreDto": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "items": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CMApplicationStoresDtosStoreDto"
            }
          },
          "count": {
            "type": "integer",
            "format": "int32"
          }
        }
      },
      "CMApplicationStoresDtosStoreDto": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "storeId": {
            "type": "string",
            "format": "guid"
          },
          "name": {
            "type": "string"
          },
          "displayName": {
            "type": "string"
          },
          "storeChainId": {
            "type": "string",
            "format": "guid"
          },
          "address": {
            "type": "string",
            "nullable": true
          },
          "isActive": {
            "type": "boolean"
          }
        }
      },
      "CMApplicationStoresCommandsCreateStoreChainCommand": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "name": {
            "type": "string"
          },
          "displayName": {
            "type": "string"
          },
          "role": {
            "type": "string"
          },
          "voucherEnabled": {
            "type": "boolean"
          },
          "qrCampaignEnabled": {
            "type": "boolean"
          },
          "smsCampaignEnabled": {
            "type": "boolean"
          }
        }
      },
      "CMApiStoreEndpointsStoreChainsMyStoreChainDto": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "storeChainId": {
            "type": "string",
            "format": "guid"
          },
          "displayName": {
            "type": "string"
          }
        }
      },
      "CMApplicationStoresDtosStoreChainDto": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "storeChainId": {
            "type": "string",
            "format": "guid"
          },
          "name": {
            "type": "string"
          },
          "displayName": {
            "type": "string"
          },
          "role": {
            "type": "string"
          },
          "vouchersEnabled": {
            "type": "boolean"
          },
          "qrCampaignEnabled": {
            "type": "boolean"
          },
          "smsCampaignEnabled": {
            "type": "boolean"
          },
          "isActive": {
            "type": "boolean"
          }
        }
      },
      "CMApplicationContractsPagedResultOfStoreChainDto": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "items": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CMApplicationStoresDtosStoreChainDto"
            }
          },
          "count": {
            "type": "integer",
            "format": "int32"
          }
        }
      },
      "CMApplicationStoresCommandsUpdateStoreChainCommand": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "storeChainId": {
            "type": "string",
            "format": "guid"
          },
          "name": {
            "type": "string"
          },
          "displayName": {
            "type": "string"
          },
          "role": {
            "type": "string"
          },
          "vouchersEnabled": {
            "type": "boolean"
          },
          "qrCampaignEnabled": {
            "type": "boolean"
          },
          "smsCampaignEnabled": {
            "type": "boolean"
          },
          "isActive": {
            "type": "boolean"
          }
        }
      },
      "CMApplicationCampaignsDtosStockPvDto": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "stockPvId": {
            "type": "string",
            "format": "guid"
          },
          "campaignId": {
            "type": "string",
            "format": "guid"
          },
          "campaignName": {
            "type": "string"
          },
          "storeId": {
            "type": "string",
            "format": "guid"
          },
          "storeName": {
            "type": "string"
          },
          "tmrName": {
            "type": "string"
          },
          "representativeName": {
            "type": "string"
          },
          "products": {
            "type": "string"
          },
          "totalQuantity": {
            "type": "integer",
            "format": "int32"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          }
        }
      },
      "CMApplicationCampaignsDtosDraftStockPvDto": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "campaignId": {
            "type": "string",
            "format": "guid"
          },
          "campaignName": {
            "type": "string"
          },
          "lines": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CMApplicationCampaignsDtosDraftStockPvLineDto"
            }
          },
          "auditIds": {
            "type": "array",
            "items": {
              "type": "string",
              "format": "guid"
            }
          },
          "totalQuantity": {
            "type": "integer",
            "format": "int32"
          }
        }
      },
      "CMApplicationCampaignsDtosDraftStockPvLineDto": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "productName": {
            "type": "string"
          },
          "quantity": {
            "type": "integer",
            "format": "int32"
          }
        }
      },
      "CMApplicationCampaignsDtosStockPvStoreSummaryDto": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "ttStoreId": {
            "type": "string",
            "format": "guid"
          },
          "storeId": {
            "type": "string",
            "format": "guid"
          },
          "storeName": {
            "type": "string"
          },
          "pending": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CMApplicationCampaignsDtosStockPvCampaignPendingDto"
            }
          }
        }
      },
      "CMApplicationCampaignsDtosStockPvCampaignPendingDto": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "campaignId": {
            "type": "string",
            "format": "guid"
          },
          "count": {
            "type": "integer",
            "format": "int32"
          }
        }
      },
      "CMApiStockPvEndpointsPreviewStockPvRequest": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "storeId": {
            "type": "string",
            "format": "guid"
          },
          "campaignId": {
            "type": "string",
            "format": "guid"
          },
          "auditIds": {
            "type": "array",
            "items": {
              "type": "string",
              "format": "guid"
            }
          },
          "firstName": {
            "type": "string"
          },
          "lastName": {
            "type": "string"
          }
        }
      },
      "CMApiStockPvEndpointsSignStockPvRequest": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "storeId": {
            "type": "string",
            "format": "guid"
          },
          "campaignId": {
            "type": "string",
            "format": "guid"
          },
          "auditIds": {
            "type": "array",
            "items": {
              "type": "string",
              "format": "guid"
            }
          },
          "firstName": {
            "type": "string"
          },
          "lastName": {
            "type": "string"
          },
          "signatureData": {
            "type": "string"
          }
        }
      },
      "CMApiSmsEndpointsCheckSmsBalanceResponse": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "success": {
            "type": "boolean"
          },
          "balance": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "error": {
            "type": "string",
            "nullable": true
          },
          "alertSent": {
            "type": "boolean"
          },
          "checkedAt": {
            "type": "string",
            "format": "date-time"
          }
        }
      },
      "CMApiSmsEndpointsGenerateSmsReportResponse": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "id": {
            "type": "string",
            "format": "guid"
          }
        }
      },
      "CMApiSmsEndpointsGenerateSmsReportRequest": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "startDate": {
            "type": "string",
            "format": "date-time"
          },
          "endDate": {
            "type": "string",
            "format": "date-time"
          },
          "sourceType": {
            "type": "string",
            "nullable": true
          },
          "campaignId": {
            "type": "string",
            "format": "guid",
            "nullable": true
          }
        }
      },
      "CMApplicationNotificationsDtosSmsBalanceStatusDto": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "balance": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "status": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/CMCoreNotificationsSmsBalanceStatus"
              }
            ]
          },
          "checkedAt": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "threshold": {
            "type": "integer",
            "format": "int32"
          },
          "isLow": {
            "type": "boolean"
          }
        }
      },
      "CMCoreNotificationsSmsBalanceStatus": {
        "type": "integer",
        "description": "",
        "x-enumNames": [
          "Ok",
          "Failed"
        ],
        "enum": [
          1,
          2
        ]
      },
      "CMApplicationContractsPagedResultOfSmsBalanceReadingDto": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "items": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CMApplicationNotificationsDtosSmsBalanceReadingDto"
            }
          },
          "count": {
            "type": "integer",
            "format": "int32"
          }
        }
      },
      "CMApplicationNotificationsDtosSmsBalanceReadingDto": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "smsBalanceReadingId": {
            "type": "string",
            "format": "guid"
          },
          "balance": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "rawValue": {
            "type": "string",
            "nullable": true
          },
          "status": {
            "$ref": "#/components/schemas/CMCoreNotificationsSmsBalanceStatus"
          },
          "errorMessage": {
            "type": "string",
            "nullable": true
          },
          "alertSent": {
            "type": "boolean"
          },
          "checkedAt": {
            "type": "string",
            "format": "date-time"
          }
        }
      },
      "CMApplicationContractsPagedResultOfSmsLogDto": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "items": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CMApplicationNotificationsDtosSmsLogDto"
            }
          },
          "count": {
            "type": "integer",
            "format": "int32"
          }
        }
      },
      "CMApplicationNotificationsDtosSmsLogDto": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "smsLogId": {
            "type": "string",
            "format": "guid"
          },
          "recipient": {
            "type": "string"
          },
          "message": {
            "type": "string"
          },
          "sourceType": {
            "type": "string"
          },
          "sourceId": {
            "type": "string",
            "format": "guid"
          },
          "campaignId": {
            "type": "string",
            "format": "guid",
            "nullable": true
          },
          "storeId": {
            "type": "string",
            "format": "guid",
            "nullable": true
          },
          "transactionId": {
            "type": "string",
            "nullable": true
          },
          "status": {
            "$ref": "#/components/schemas/CMCoreNotificationsSmsStatus"
          },
          "errorMessage": {
            "type": "string",
            "nullable": true
          },
          "sentAt": {
            "type": "string",
            "format": "date-time"
          },
          "deliveredAt": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          }
        }
      },
      "CMCoreNotificationsSmsStatus": {
        "type": "integer",
        "description": "",
        "x-enumNames": [
          "Sent",
          "Delivered",
          "Failed",
          "Unknown"
        ],
        "enum": [
          1,
          2,
          3,
          4
        ]
      },
      "CMApplicationContractsPagedResultOfSmsReportDto": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "items": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CMApplicationNotificationsDtosSmsReportDto"
            }
          },
          "count": {
            "type": "integer",
            "format": "int32"
          }
        }
      },
      "CMApplicationNotificationsDtosSmsReportDto": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "smsReportId": {
            "type": "string",
            "format": "guid"
          },
          "startDate": {
            "type": "string",
            "format": "date-time"
          },
          "endDate": {
            "type": "string",
            "format": "date-time"
          },
          "sourceType": {
            "type": "string",
            "nullable": true
          },
          "campaignId": {
            "type": "string",
            "format": "guid",
            "nullable": true
          },
          "smsCount": {
            "type": "integer",
            "format": "int32"
          },
          "createdOn": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "createdBy": {
            "type": "string",
            "nullable": true
          }
        }
      },
      "CMApplicationSmsCampaignsDtosSmsCampaignDashboardDto": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "campaignId": {
            "type": "string",
            "format": "guid"
          },
          "campaignName": {
            "type": "string"
          },
          "totalGenerated": {
            "type": "integer",
            "format": "int32"
          },
          "totalSmsSent": {
            "type": "integer",
            "format": "int32"
          },
          "totalDelivered": {
            "type": "integer",
            "format": "int32"
          },
          "totalRedeemed": {
            "type": "integer",
            "format": "int32"
          },
          "redemptionRate": {
            "type": "number",
            "format": "decimal"
          },
          "storeChainBreakdown": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CMApplicationSmsCampaignsDtosSmsCampaignStoreChainBreakdownDto"
            }
          }
        }
      },
      "CMApplicationSmsCampaignsDtosSmsCampaignStoreChainBreakdownDto": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "storeChainId": {
            "type": "string",
            "format": "guid"
          },
          "storeChainName": {
            "type": "string"
          },
          "totalRedeemed": {
            "type": "integer",
            "format": "int32"
          }
        }
      },
      "CMApiSmsCampaignEndpointsGetSmsCampaignDashboardRequest": {
        "type": "object",
        "additionalProperties": false
      },
      "CMApplicationSmsCampaignsDtosValidateSmsCampaignCodeResponse": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "smsCampaignCodeId": {
            "type": "string",
            "format": "guid"
          },
          "campaignId": {
            "type": "string",
            "format": "guid"
          },
          "campaignName": {
            "type": "string"
          },
          "customerPhone": {
            "type": "string"
          },
          "receiptRequired": {
            "type": "boolean"
          },
          "productSelectionMode": {
            "type": "string"
          }
        }
      },
      "CMApiSmsCampaignEndpointsValidateSmsCampaignCodeRequest": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "code": {
            "type": "string"
          }
        }
      },
      "CMApplicationCampaignsCommandsStorePrizesClaimCampaignStorePrizeCommand": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "prizeId": {
            "type": "string",
            "format": "guid"
          },
          "firstName": {
            "type": "string"
          },
          "lastName": {
            "type": "string"
          },
          "identificationNumber": {
            "type": "string",
            "nullable": true
          },
          "signatureData": {
            "type": "string",
            "nullable": true
          }
        }
      },
      "CMApplicationCampaignsCommandsStorePrizesGenerateCampaignStorePrizePvDocumentCommand": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "prizeId": {
            "type": "string",
            "format": "guid"
          },
          "firstName": {
            "type": "string"
          },
          "lastName": {
            "type": "string"
          },
          "identificationNumber": {
            "type": "string",
            "nullable": true
          },
          "signatureData": {
            "type": "string",
            "nullable": true
          }
        }
      },
      "CMApplicationContractsPagedResultOfCampaignStorePrizeDto": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "items": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CMApplicationCampaignsDtosCampaignStorePrizeDto"
            }
          },
          "count": {
            "type": "integer",
            "format": "int32"
          }
        }
      },
      "CMApplicationCampaignsDtosCampaignStorePrizeDto": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "prizeId": {
            "type": "string",
            "format": "guid"
          },
          "campaignId": {
            "type": "string",
            "format": "guid"
          },
          "campaignName": {
            "type": "string",
            "nullable": true
          },
          "storeId": {
            "type": "string",
            "format": "guid"
          },
          "storeName": {
            "type": "string",
            "nullable": true
          },
          "basePrice": {
            "type": "number",
            "format": "decimal"
          },
          "amount": {
            "type": "number",
            "format": "decimal"
          },
          "claimed": {
            "type": "boolean"
          },
          "claimedOn": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "fullName": {
            "type": "string"
          },
          "identificationNumber": {
            "type": "string",
            "nullable": true
          },
          "hasQuiz": {
            "type": "boolean"
          },
          "requiresIdentificationNumber": {
            "type": "boolean"
          },
          "userName": {
            "type": "string",
            "nullable": true
          },
          "tmrName": {
            "type": "string",
            "nullable": true
          },
          "ttStoreCode": {
            "type": "string",
            "nullable": true
          }
        }
      },
      "CMApplicationCampaignsDtosCampaignDashboardDto": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "totalSalesCount": {
            "type": "integer",
            "format": "int32"
          },
          "totalPrizesAwarded": {
            "type": "integer",
            "format": "int32"
          },
          "avgPrizesPerDay": {
            "type": "number",
            "format": "decimal"
          },
          "prizeUsagePercent": {
            "type": "number",
            "format": "decimal"
          },
          "campaignDay": {
            "type": "integer",
            "format": "int32"
          },
          "totalCampaignDays": {
            "type": "integer",
            "format": "int32"
          },
          "runRateDays": {
            "type": "number",
            "format": "decimal",
            "nullable": true
          },
          "activeStoreCount": {
            "type": "integer",
            "format": "int32"
          },
          "enrolledStoreCount": {
            "type": "integer",
            "format": "int32"
          }
        }
      },
      "CMApplicationContractsPagedResultOfCustomersReportRow": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "items": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CMApiReportEndpointsCustomersReportRow"
            }
          },
          "count": {
            "type": "integer",
            "format": "int32"
          }
        }
      },
      "CMApiReportEndpointsCustomersReportRow": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "phoneNumber": {
            "type": "string"
          },
          "storeChain": {
            "type": "string"
          },
          "lastContactDate": {
            "type": "string",
            "format": "date-time"
          }
        }
      },
      "CMApplicationCampaignsDtosTmrCampaignReportDto": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "campaignId": {
            "type": "string",
            "format": "guid"
          },
          "campaignName": {
            "type": "string"
          },
          "startDate": {
            "type": "string",
            "format": "date"
          },
          "endDate": {
            "type": "string",
            "format": "date"
          },
          "status": {
            "type": "string"
          },
          "stockInitial": {
            "type": "integer",
            "format": "int32"
          },
          "stockAvailable": {
            "type": "integer",
            "format": "int32"
          },
          "stockUsedPercent": {
            "type": "number",
            "format": "decimal"
          },
          "storeCount": {
            "type": "integer",
            "format": "int32"
          },
          "activeStoreCount": {
            "type": "integer",
            "format": "int32"
          },
          "outOfStockStoreCount": {
            "type": "integer",
            "format": "int32"
          },
          "lowStockStoreCount": {
            "type": "integer",
            "format": "int32"
          },
          "prizesAwarded": {
            "type": "integer",
            "format": "int32"
          },
          "salesQuantity": {
            "type": "integer",
            "format": "int32"
          },
          "lastActivityOn": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "campaignDay": {
            "type": "integer",
            "format": "int32"
          },
          "totalCampaignDays": {
            "type": "integer",
            "format": "int32"
          },
          "avgPrizesPerDay": {
            "type": "number",
            "format": "decimal"
          },
          "runRateDays": {
            "type": "number",
            "format": "decimal",
            "nullable": true
          },
          "stores": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CMApplicationCampaignsDtosTmrCampaignStoreDto"
            }
          }
        }
      },
      "CMApplicationCampaignsDtosTmrCampaignStoreDto": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "ttStoreId": {
            "type": "string",
            "format": "guid"
          },
          "code": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "tmrUserId": {
            "type": "string",
            "format": "guid"
          },
          "tmrName": {
            "type": "string"
          },
          "prizesAwarded": {
            "type": "integer",
            "format": "int32"
          },
          "availableQuantity": {
            "type": "integer",
            "format": "int32"
          },
          "state": {
            "type": "string"
          }
        }
      },
      "CMApplicationCampaignsDtosTmrStoreReportDto": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "ttStoreId": {
            "type": "string",
            "format": "guid"
          },
          "storeId": {
            "type": "string",
            "format": "guid"
          },
          "code": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "campaigns": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CMApplicationCampaignsDtosTmrStoreCampaignReportDto"
            }
          }
        }
      },
      "CMApplicationCampaignsDtosTmrStoreCampaignReportDto": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "campaignId": {
            "type": "string",
            "format": "guid"
          },
          "campaignName": {
            "type": "string"
          },
          "startDate": {
            "type": "string",
            "format": "date"
          },
          "endDate": {
            "type": "string",
            "format": "date"
          },
          "status": {
            "type": "string"
          },
          "prizesAwarded": {
            "type": "integer",
            "format": "int32"
          },
          "salesQuantity": {
            "type": "integer",
            "format": "int32"
          },
          "lastActivityOn": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "products": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CMApplicationCampaignsDtosTmrStoreProductStockDto"
            }
          }
        }
      },
      "CMApplicationCampaignsDtosTmrStoreProductStockDto": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "productId": {
            "type": "string",
            "format": "guid"
          },
          "productName": {
            "type": "string"
          },
          "initialQuantity": {
            "type": "integer",
            "format": "int32"
          },
          "availableQuantity": {
            "type": "integer",
            "format": "int32"
          },
          "consumedQuantity": {
            "type": "integer",
            "format": "int32"
          },
          "usedPercent": {
            "type": "number",
            "format": "decimal"
          },
          "stockState": {
            "type": "string"
          }
        }
      },
      "CMApplicationProductsCommandsCreateProductCommand": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "name": {
            "type": "string"
          },
          "shortName": {
            "type": "string"
          },
          "imageUrl": {
            "type": "string",
            "nullable": true
          },
          "noStockImageUrl": {
            "type": "string",
            "nullable": true
          }
        }
      },
      "CMApplicationProductsDtosProductDto": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "productId": {
            "type": "string",
            "format": "guid"
          },
          "name": {
            "type": "string"
          },
          "shortName": {
            "type": "string"
          },
          "imageUrl": {
            "type": "string",
            "nullable": true
          },
          "noStockImageUrl": {
            "type": "string",
            "nullable": true
          },
          "isActive": {
            "type": "boolean"
          }
        }
      },
      "CMApplicationContractsPagedResultOfProductDto": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "items": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CMApplicationProductsDtosProductDto"
            }
          },
          "count": {
            "type": "integer",
            "format": "int32"
          }
        }
      },
      "CMApplicationProductsCommandsUpdateProductCommand": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "productId": {
            "type": "string",
            "format": "guid"
          },
          "name": {
            "type": "string"
          },
          "shortName": {
            "type": "string"
          },
          "imageUrl": {
            "type": "string",
            "nullable": true
          },
          "noStockImageUrl": {
            "type": "string",
            "nullable": true
          },
          "isActive": {
            "type": "boolean"
          }
        }
      },
      "CMApiOrderEndpointsAddProductsRequest": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "products": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CMApplicationOrdersDtosOrderProductDto"
            }
          }
        }
      },
      "CMApplicationOrdersDtosOrderProductDto": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "orderId": {
            "type": "string",
            "format": "guid"
          },
          "productId": {
            "type": "string",
            "format": "guid"
          },
          "quantity": {
            "type": "integer",
            "format": "int32"
          }
        }
      },
      "CMApiOrderEndpointsAddSurveyResponsesRequest": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "surveyResponses": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CMApplicationOrdersDtosOrderSurveyResponseDto"
            }
          }
        }
      },
      "CMApplicationOrdersDtosOrderSurveyResponseDto": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "responseId": {
            "type": "string",
            "format": "guid"
          },
          "orderId": {
            "type": "string",
            "format": "guid"
          },
          "questionId": {
            "type": "string",
            "format": "guid"
          },
          "responseValue": {
            "type": "string"
          }
        }
      },
      "CMApplicationCampaignsDtosCampaignProductDto": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "campaignId": {
            "type": "string",
            "format": "guid"
          },
          "productId": {
            "type": "string",
            "format": "guid"
          },
          "productName": {
            "type": "string"
          },
          "productImageUrl": {
            "type": "string"
          },
          "productNoStockImageUrl": {
            "type": "string"
          },
          "isStockManaged": {
            "type": "boolean"
          },
          "hasStock": {
            "type": "boolean"
          },
          "availableQuantity": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "defaultQuantity": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          }
        }
      },
      "CMApplicationOrdersCommandsCompleteOrderResult": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "walletNotice": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/CMApplicationOrdersServicesWalletNoticeDto"
              }
            ]
          }
        }
      },
      "CMApplicationOrdersServicesWalletNoticeDto": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "campaignName": {
            "type": "string"
          },
          "credited": {
            "type": "number",
            "format": "decimal"
          },
          "earned": {
            "type": "number",
            "format": "decimal"
          },
          "threshold": {
            "type": "number",
            "format": "decimal"
          },
          "isUnlocked": {
            "type": "boolean"
          },
          "unlockedNow": {
            "type": "number",
            "format": "decimal"
          },
          "ordersRemaining": {
            "type": "integer",
            "format": "int32"
          },
          "showOrdersToast": {
            "type": "boolean"
          },
          "balance": {
            "type": "number",
            "format": "decimal"
          }
        }
      },
      "CMApiOrderEndpointsCompleteOrderRequest": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "productId": {
            "type": "string",
            "format": "guid"
          }
        }
      },
      "CMApplicationOrdersDtosOrderDto": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "orderId": {
            "type": "string",
            "format": "guid"
          },
          "campaignId": {
            "type": "string",
            "format": "guid"
          },
          "storeId": {
            "type": "string",
            "format": "guid"
          },
          "userId": {
            "type": "string",
            "format": "guid"
          },
          "receiptNo": {
            "type": "string",
            "nullable": true
          },
          "date": {
            "type": "string",
            "format": "date-time"
          },
          "customerId": {
            "type": "string",
            "format": "guid",
            "nullable": true
          },
          "validationRequestId": {
            "type": "string",
            "format": "guid",
            "nullable": true
          }
        }
      },
      "CMApiOrderEndpointsCreateOrderRequest": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "campaignId": {
            "type": "string",
            "format": "guid"
          },
          "storeId": {
            "type": "string",
            "format": "guid"
          },
          "receiptNo": {
            "type": "string",
            "nullable": true
          },
          "phoneNumber": {
            "type": "string",
            "nullable": true
          },
          "smsCampaignCodeId": {
            "type": "string",
            "format": "guid",
            "nullable": true
          }
        }
      },
      "CMApplicationOrdersServicesWalletAccrualReconcileResult": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "scanned": {
            "type": "integer",
            "format": "int32"
          },
          "credited": {
            "type": "integer",
            "format": "int32"
          },
          "alreadyApplied": {
            "type": "integer",
            "format": "int32"
          },
          "failed": {
            "type": "integer",
            "format": "int32"
          }
        }
      },
      "CMApiOrderEndpointsReconcileWalletAccrualsRequest": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "batchSize": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          }
        }
      },
      "CMApiOrderEndpointsValidateCustomerRequest": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "phoneNumber": {
            "type": "string"
          },
          "campaignId": {
            "type": "string",
            "format": "guid"
          }
        }
      },
      "CMApiOrderEndpointsValidateReceiptRequest": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "receiptNo": {
            "type": "string"
          },
          "storeId": {
            "type": "string",
            "format": "guid"
          },
          "campaignId": {
            "type": "string",
            "format": "guid"
          }
        }
      },
      "CMApplicationContractsPagedResultOfCustomerDto": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "items": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CMApplicationCustomersDtosCustomerDto"
            }
          },
          "count": {
            "type": "integer",
            "format": "int32"
          }
        }
      },
      "CMApplicationCustomersDtosCustomerDto": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "customerId": {
            "type": "string",
            "format": "guid"
          },
          "phoneNumber": {
            "type": "string"
          }
        }
      },
      "CMApplicationCustomersCommandsRequestValidationResponse": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "customerId": {
            "type": "string",
            "format": "guid"
          },
          "validationRequestId": {
            "type": "string",
            "format": "guid"
          }
        }
      },
      "CMApplicationCustomersCommandsRequestValidationCommand": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "phoneNumber": {
            "type": "string"
          }
        }
      },
      "CMApplicationCustomersCommandsValidateCodeCommand": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "customerId": {
            "type": "string",
            "format": "guid"
          },
          "validationRequestId": {
            "type": "string",
            "format": "guid"
          },
          "code": {
            "type": "string"
          }
        }
      },
      "CMApiCampaignEndpointsAddCampaignProductRequest": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "productId": {
            "type": "string",
            "format": "guid"
          },
          "orderNo": {
            "type": "integer",
            "format": "int32"
          },
          "isActive": {
            "type": "boolean"
          },
          "isPrize": {
            "type": "boolean"
          },
          "soldQuantityMin": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "soldQuantityMax": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "isStockManaged": {
            "type": "boolean"
          },
          "initialQuantity": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "availableQuantity": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "defaultQuantity": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          }
        }
      },
      "CMApiCampaignEndpointsAddCampaignStoreChainRequest": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "storeChainId": {
            "type": "string",
            "format": "guid"
          }
        }
      },
      "CMApiCampaignEndpointsAddCampaignStoreStockRequest": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "productId": {
            "type": "string",
            "format": "guid"
          },
          "quantity": {
            "type": "integer",
            "format": "int32"
          }
        }
      },
      "CMApiCampaignEndpointsAdjustCampaignStockRequest": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "productId": {
            "type": "string",
            "format": "guid"
          },
          "stockAdjustment": {
            "type": "integer",
            "format": "int32"
          },
          "storeId": {
            "type": "string",
            "format": "guid",
            "nullable": true
          }
        }
      },
      "CMApplicationCampaignsCommandsCreateCampaignCommand": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "name": {
            "type": "string"
          },
          "displayName": {
            "type": "string"
          },
          "startDate": {
            "type": "string",
            "format": "date"
          },
          "endDate": {
            "type": "string",
            "format": "date"
          },
          "imageUrl": {
            "type": "string",
            "nullable": true
          },
          "stockManagement": {
            "type": "string"
          },
          "stockManagedByProducts": {
            "type": "boolean"
          },
          "prizeSelectionStrategy": {
            "type": "string"
          },
          "quantityCalculationMethod": {
            "type": "string"
          },
          "hasSurvey": {
            "type": "boolean"
          },
          "hasQuiz": {
            "type": "boolean"
          },
          "smsCodeValidation": {
            "type": "boolean"
          },
          "smsCodeTemplate": {
            "type": "string",
            "nullable": true
          },
          "maxCustomersPerDay": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "vouchersEnabled": {
            "type": "boolean"
          },
          "qrEnabled": {
            "type": "boolean"
          },
          "smsCampaignEnabled": {
            "type": "boolean"
          },
          "storeFlowEnabled": {
            "type": "boolean"
          },
          "productSelectionMode": {
            "type": "string"
          },
          "receiptRequired": {
            "type": "boolean"
          },
          "identificationNumberEnabled": {
            "type": "boolean"
          },
          "identificationNumberThreshold": {
            "type": "number",
            "format": "decimal",
            "nullable": true
          },
          "walletCreditValue": {
            "type": "number",
            "format": "decimal",
            "nullable": true
          },
          "walletUnlockThreshold": {
            "type": "number",
            "format": "decimal",
            "nullable": true
          },
          "qrVerificationSmsTemplate": {
            "type": "string",
            "nullable": true
          },
          "qrCashierSmsTemplate": {
            "type": "string",
            "nullable": true
          }
        }
      },
      "CMApiCampaignEndpointsCreateCampaignResourceRequest": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "name": {
            "type": "string"
          },
          "displayName": {
            "type": "string"
          },
          "icon": {
            "type": "string",
            "nullable": true
          },
          "orderNo": {
            "type": "integer",
            "format": "int32"
          },
          "filename": {
            "type": "string",
            "nullable": true
          }
        }
      },
      "CMApplicationCampaignsCommandsCreateQuizQuestionCommand": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "questionText": {
            "type": "string"
          },
          "optionA": {
            "type": "string"
          },
          "optionB": {
            "type": "string"
          },
          "optionC": {
            "type": "string",
            "nullable": true
          },
          "correctOption": {
            "type": "string"
          },
          "orderNo": {
            "type": "integer",
            "format": "int32"
          }
        }
      },
      "CMApplicationCampaignsDtosAdminCampaignProductDto": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "campaignId": {
            "type": "string",
            "format": "guid"
          },
          "productId": {
            "type": "string",
            "format": "guid"
          },
          "productName": {
            "type": "string"
          },
          "orderNo": {
            "type": "integer",
            "format": "int32"
          },
          "isActive": {
            "type": "boolean"
          },
          "isPrize": {
            "type": "boolean"
          },
          "soldQuantityMin": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "soldQuantityMax": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "isStockManaged": {
            "type": "boolean"
          },
          "initialQuantity": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "availableQuantity": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "defaultQuantity": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          }
        }
      },
      "CMApplicationCampaignsDtosCampaignResourceDto": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "campaignResourceId": {
            "type": "string",
            "format": "guid"
          },
          "campaignId": {
            "type": "string",
            "format": "guid"
          },
          "name": {
            "type": "string"
          },
          "displayName": {
            "type": "string"
          },
          "path": {
            "type": "string"
          },
          "icon": {
            "type": "string",
            "nullable": true
          },
          "orderNo": {
            "type": "integer",
            "format": "int32"
          }
        }
      },
      "CMApplicationContractsPagedResultOfCampaignDto": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "items": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CMApplicationCampaignsDtosCampaignDto"
            }
          },
          "count": {
            "type": "integer",
            "format": "int32"
          }
        }
      },
      "CMApplicationCampaignsDtosCampaignDto": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "campaignId": {
            "type": "string",
            "format": "guid"
          },
          "name": {
            "type": "string"
          },
          "displayName": {
            "type": "string"
          },
          "startDate": {
            "type": "string",
            "format": "date"
          },
          "endDate": {
            "type": "string",
            "format": "date"
          },
          "imageUrl": {
            "type": "string",
            "nullable": true
          },
          "stockManagement": {
            "type": "string"
          },
          "stockManagedByProducts": {
            "type": "boolean"
          },
          "prizeSelectionStrategy": {
            "type": "string"
          },
          "quantityCalculationMethod": {
            "type": "string"
          },
          "hasSurvey": {
            "type": "boolean"
          },
          "hasQuiz": {
            "type": "boolean"
          },
          "smsCodeValidation": {
            "type": "boolean"
          },
          "smsCodeTemplate": {
            "type": "string",
            "nullable": true
          },
          "maxCustomersPerDay": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "vouchersEnabled": {
            "type": "boolean"
          },
          "qrEnabled": {
            "type": "boolean"
          },
          "productSelectionMode": {
            "type": "string"
          },
          "receiptRequired": {
            "type": "boolean"
          },
          "isActive": {
            "type": "boolean"
          },
          "isArchived": {
            "type": "boolean"
          },
          "identificationNumberEnabled": {
            "type": "boolean"
          },
          "identificationNumberThreshold": {
            "type": "number",
            "format": "decimal",
            "nullable": true
          },
          "walletCreditValue": {
            "type": "number",
            "format": "decimal",
            "nullable": true
          },
          "walletUnlockThreshold": {
            "type": "number",
            "format": "decimal",
            "nullable": true
          }
        }
      },
      "CMApplicationCampaignsDtosCampaignStoreChainDto": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "storeChainId": {
            "type": "string",
            "format": "guid"
          },
          "name": {
            "type": "string"
          },
          "displayName": {
            "type": "string"
          },
          "role": {
            "type": "string"
          }
        }
      },
      "CMApiCampaignEndpointsCampaignStoreDto": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "storeId": {
            "type": "string",
            "format": "guid"
          },
          "name": {
            "type": "string"
          },
          "displayName": {
            "type": "string"
          },
          "label": {
            "type": "string"
          }
        }
      },
      "CMApiCampaignEndpointsCampaignStoreStockResponse": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "stockItems": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CMApiCampaignEndpointsStoreStockItemDto"
            }
          },
          "prizeProducts": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CMApiCampaignEndpointsPrizeProductDto"
            }
          }
        }
      },
      "CMApiCampaignEndpointsStoreStockItemDto": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "productId": {
            "type": "string",
            "format": "guid"
          },
          "productName": {
            "type": "string"
          },
          "initialQuantity": {
            "type": "integer",
            "format": "int32"
          },
          "availableQuantity": {
            "type": "integer",
            "format": "int32"
          }
        }
      },
      "CMApiCampaignEndpointsPrizeProductDto": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "productId": {
            "type": "string",
            "format": "guid"
          },
          "productName": {
            "type": "string"
          }
        }
      },
      "CMApplicationCampaignsDtosCampaignInsightsDto": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "campaignId": {
            "type": "string",
            "format": "guid"
          },
          "totalSales": {
            "type": "integer",
            "format": "int32"
          }
        }
      },
      "CMApplicationContractsPagedResultOfCompletedOrderDto": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "items": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CMApplicationOrdersDtosCompletedOrderDto"
            }
          },
          "count": {
            "type": "integer",
            "format": "int32"
          }
        }
      },
      "CMApplicationOrdersDtosCompletedOrderDto": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "orderId": {
            "type": "string",
            "format": "guid"
          },
          "date": {
            "type": "string",
            "format": "date-time"
          },
          "receiptNo": {
            "type": "string"
          },
          "productSold": {
            "type": "integer",
            "format": "int32"
          },
          "prize": {
            "type": "string"
          }
        }
      },
      "CMApplicationCampaignsDtosEnrolledCampaignDto": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "campaignId": {
            "type": "string",
            "format": "guid"
          },
          "name": {
            "type": "string"
          },
          "storeId": {
            "type": "string",
            "format": "guid"
          },
          "smsCodeValidation": {
            "type": "boolean"
          },
          "hasSurvey": {
            "type": "boolean"
          },
          "receiptRequired": {
            "type": "boolean"
          },
          "imageUrl": {
            "type": "string",
            "nullable": true
          },
          "productSelectionMode": {
            "type": "string"
          }
        }
      },
      "CMApplicationCampaignsDtosQuizQuestionDto": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "quizQuestionId": {
            "type": "string",
            "format": "guid"
          },
          "campaignId": {
            "type": "string",
            "format": "guid"
          },
          "questionText": {
            "type": "string"
          },
          "optionA": {
            "type": "string"
          },
          "optionB": {
            "type": "string"
          },
          "optionC": {
            "type": "string",
            "nullable": true
          },
          "correctOption": {
            "type": "string"
          },
          "orderNo": {
            "type": "integer",
            "format": "int32"
          },
          "isActive": {
            "type": "boolean"
          }
        }
      },
      "CMApplicationCampaignsDtosStockAdjustmentAuditDto": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "userName": {
            "type": "string"
          },
          "productName": {
            "type": "string",
            "nullable": true
          },
          "storeName": {
            "type": "string",
            "nullable": true
          },
          "storeUserName": {
            "type": "string",
            "nullable": true
          },
          "oldQuantity": {
            "type": "integer",
            "format": "int32"
          },
          "delta": {
            "type": "integer",
            "format": "int32"
          },
          "newQuantity": {
            "type": "integer",
            "format": "int32"
          }
        }
      },
      "CMApplicationCampaignsDtosSurveyQuestionDto": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "questionId": {
            "type": "string",
            "format": "guid"
          },
          "questionText": {
            "type": "string"
          },
          "responseType": {
            "type": "string"
          },
          "responseOptions": {
            "type": "string",
            "nullable": true
          }
        }
      },
      "CMApplicationCampaignsCommandsUpdateCampaignCommand": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "campaignId": {
            "type": "string",
            "format": "guid"
          },
          "name": {
            "type": "string"
          },
          "displayName": {
            "type": "string"
          },
          "startDate": {
            "type": "string",
            "format": "date"
          },
          "endDate": {
            "type": "string",
            "format": "date"
          },
          "imageUrl": {
            "type": "string",
            "nullable": true
          },
          "stockManagement": {
            "type": "string"
          },
          "stockManagedByProducts": {
            "type": "boolean"
          },
          "prizeSelectionStrategy": {
            "type": "string"
          },
          "quantityCalculationMethod": {
            "type": "string"
          },
          "hasSurvey": {
            "type": "boolean"
          },
          "hasQuiz": {
            "type": "boolean"
          },
          "smsCodeValidation": {
            "type": "boolean"
          },
          "smsCodeTemplate": {
            "type": "string",
            "nullable": true
          },
          "maxCustomersPerDay": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "vouchersEnabled": {
            "type": "boolean"
          },
          "qrEnabled": {
            "type": "boolean"
          },
          "smsCampaignEnabled": {
            "type": "boolean"
          },
          "storeFlowEnabled": {
            "type": "boolean"
          },
          "productSelectionMode": {
            "type": "string"
          },
          "receiptRequired": {
            "type": "boolean"
          },
          "identificationNumberEnabled": {
            "type": "boolean"
          },
          "identificationNumberThreshold": {
            "type": "number",
            "format": "decimal",
            "nullable": true
          },
          "isActive": {
            "type": "boolean"
          },
          "isArchived": {
            "type": "boolean"
          },
          "walletCreditValue": {
            "type": "number",
            "format": "decimal",
            "nullable": true
          },
          "walletUnlockThreshold": {
            "type": "number",
            "format": "decimal",
            "nullable": true
          },
          "preserveWalletCreditValue": {
            "type": "boolean"
          },
          "qrVerificationSmsTemplate": {
            "type": "string",
            "nullable": true
          },
          "qrCashierSmsTemplate": {
            "type": "string",
            "nullable": true
          }
        }
      },
      "CMApplicationCampaignsCommandsUpdateCampaignResourceCommand": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "campaignResourceId": {
            "type": "string",
            "format": "guid"
          },
          "name": {
            "type": "string"
          },
          "displayName": {
            "type": "string"
          },
          "icon": {
            "type": "string",
            "nullable": true
          },
          "orderNo": {
            "type": "integer",
            "format": "int32"
          }
        }
      },
      "CMApplicationCampaignsCommandsUpdateQuizQuestionCommand": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "quizQuestionId": {
            "type": "string",
            "format": "guid"
          },
          "questionText": {
            "type": "string"
          },
          "optionA": {
            "type": "string"
          },
          "optionB": {
            "type": "string"
          },
          "optionC": {
            "type": "string",
            "nullable": true
          },
          "correctOption": {
            "type": "string"
          },
          "orderNo": {
            "type": "integer",
            "format": "int32"
          },
          "isActive": {
            "type": "boolean"
          }
        }
      },
      "CMApiAdminEndpointsRecentActivitySnapshot": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "checkedAt": {
            "type": "string",
            "format": "date-time"
          },
          "tables": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CMApiAdminEndpointsRecentTableActivity"
            }
          }
        }
      },
      "CMApiAdminEndpointsRecentTableActivity": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "schemaName": {
            "type": "string"
          },
          "tableName": {
            "type": "string"
          },
          "lastActivity": {
            "type": "string",
            "format": "date-time"
          }
        }
      },
      "CMSelfServiceEndpointsCompleteQrCampaignOrderRequest": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "orderId": {
            "type": "string",
            "format": "guid"
          },
          "productId": {
            "type": "string",
            "format": "guid"
          }
        }
      },
      "CMSelfServiceApplicationDtosQrCampaignProductDto": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "productId": {
            "type": "string",
            "format": "guid"
          },
          "name": {
            "type": "string"
          },
          "imageUrl": {
            "type": "string",
            "nullable": true
          },
          "orderNo": {
            "type": "integer",
            "format": "int32"
          }
        }
      },
      "CMSelfServiceEndpointsGetQrCampaignProductsRequest": {
        "type": "object",
        "additionalProperties": false
      },
      "CMSelfServiceApplicationDtosQrCampaignDto": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "id": {
            "type": "string",
            "format": "guid"
          },
          "name": {
            "type": "string"
          },
          "displayName": {
            "type": "string"
          },
          "imageUrl": {
            "type": "string",
            "nullable": true
          }
        }
      },
      "CMSelfServiceApplicationCommandsQrSendSmsResponse": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "customerId": {
            "type": "string",
            "format": "guid"
          },
          "validationRequestId": {
            "type": "string",
            "format": "guid"
          }
        }
      },
      "CMSelfServiceApplicationCommandsQrSendSmsCommand": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "phoneNumber": {
            "type": "string"
          },
          "campaignId": {
            "type": "string",
            "format": "guid"
          }
        }
      },
      "CMSelfServiceApplicationDtosQrSessionResultDto": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "code": {
            "type": "string"
          },
          "expiresAt": {
            "type": "string",
            "format": "date-time"
          }
        }
      },
      "CMSelfServiceApplicationCommandsCreateQrSessionCommand": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "campaignId": {
            "type": "string",
            "format": "guid"
          },
          "customerId": {
            "type": "string",
            "format": "guid"
          },
          "marketingConsent": {
            "type": "boolean"
          },
          "products": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CMSelfServiceApplicationCommandsQrProductSelection"
            }
          },
          "verificationToken": {
            "type": "string",
            "nullable": true
          }
        }
      },
      "CMSelfServiceApplicationCommandsQrProductSelection": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "productId": {
            "type": "string",
            "format": "guid"
          },
          "quantity": {
            "type": "integer",
            "format": "int32"
          }
        }
      },
      "CMSelfServiceApplicationCommandsQrVerifyCodeResponse": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "verificationToken": {
            "type": "string"
          }
        }
      },
      "CMSelfServiceApplicationCommandsQrVerifyCodeCommand": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "customerId": {
            "type": "string",
            "format": "guid"
          },
          "validationRequestId": {
            "type": "string",
            "format": "guid"
          },
          "code": {
            "type": "string"
          }
        }
      },
      "CMSelfServiceApplicationCommandsValidateQrSessionResponse": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "orderId": {
            "type": "string",
            "format": "guid"
          },
          "campaignId": {
            "type": "string",
            "format": "guid"
          },
          "customerPhone": {
            "type": "string"
          },
          "products": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CMSelfServiceApplicationCommandsQrProductDto"
            }
          }
        }
      },
      "CMSelfServiceApplicationCommandsQrProductDto": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "productId": {
            "type": "string",
            "format": "guid"
          },
          "name": {
            "type": "string"
          },
          "imageUrl": {
            "type": "string",
            "nullable": true
          },
          "quantity": {
            "type": "integer",
            "format": "int32"
          }
        }
      },
      "CMSelfServiceEndpointsValidateQrSessionRequest": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "code": {
            "type": "string"
          }
        }
      },
      "CMSelfServiceEndpointsValidateQrSessionForCashierRequest": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "code": {
            "type": "string"
          }
        }
      },
      "CMEdenredEndpointsWalletsTmrAllowanceResult": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "error": {
            "type": "string",
            "nullable": true
          }
        }
      },
      "CMEdenredEndpointsWalletsTmrAllowanceRequest": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "campaignId": {
            "type": "string",
            "format": "guid"
          },
          "phone": {
            "type": "string"
          },
          "firstName": {
            "type": "string"
          },
          "lastName": {
            "type": "string"
          },
          "total": {
            "type": "number",
            "format": "decimal"
          }
        }
      },
      "CMEdenredDtosWalletBalanceDto": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "walletId": {
            "type": "string",
            "format": "guid",
            "nullable": true
          },
          "balance": {
            "type": "number",
            "format": "decimal"
          }
        }
      },
      "CMEdenredDtosCreditWalletRequest": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "campaignId": {
            "type": "string",
            "format": "guid"
          },
          "amount": {
            "type": "number",
            "format": "decimal"
          },
          "note": {
            "type": "string",
            "nullable": true
          },
          "expiryFromCreditDate": {
            "type": "boolean"
          }
        }
      },
      "CMEdenredDtosCreditTmrWalletRequest": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "campaignId": {
            "type": "string",
            "format": "guid"
          },
          "amount": {
            "type": "number",
            "format": "decimal"
          },
          "note": {
            "type": "string",
            "nullable": true
          }
        }
      },
      "CMEdenredContractsDtosCampaignOptionDto": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "campaignId": {
            "type": "string",
            "format": "guid"
          },
          "name": {
            "type": "string"
          },
          "startDate": {
            "type": "string",
            "format": "date"
          },
          "endDate": {
            "type": "string",
            "format": "date"
          },
          "isActiveToday": {
            "type": "boolean"
          },
          "withdrawalOnly": {
            "type": "boolean"
          }
        }
      },
      "CMSharedAbstractionsPagingPagedResultOfCreditImportDto": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "items": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CMEdenredDtosCreditImportDto"
            }
          },
          "count": {
            "type": "integer",
            "format": "int32"
          }
        }
      },
      "CMEdenredDtosCreditImportDto": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "id": {
            "type": "string",
            "format": "guid"
          },
          "createdOn": {
            "type": "string",
            "format": "date-time"
          },
          "ownerType": {
            "type": "string"
          },
          "codeType": {
            "type": "string",
            "nullable": true
          },
          "fileName": {
            "type": "string"
          },
          "applied": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "failed": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "status": {
            "type": "string"
          },
          "actorDisplayName": {
            "type": "string"
          }
        }
      },
      "CMEdenredDtosCampaignCreditDto": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "campaignId": {
            "type": "string",
            "format": "guid"
          },
          "campaignName": {
            "type": "string"
          },
          "earned": {
            "type": "number",
            "format": "decimal"
          },
          "available": {
            "type": "number",
            "format": "decimal"
          },
          "locked": {
            "type": "number",
            "format": "decimal"
          },
          "threshold": {
            "type": "number",
            "format": "decimal"
          },
          "spent": {
            "type": "number",
            "format": "decimal"
          },
          "expired": {
            "type": "number",
            "format": "decimal"
          },
          "expiresOn": {
            "type": "string",
            "format": "date"
          },
          "isExpired": {
            "type": "boolean"
          },
          "expiresSoon": {
            "type": "boolean"
          }
        }
      },
      "CMEdenredDtosStoreWalletDto": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "walletId": {
            "type": "string",
            "format": "guid",
            "nullable": true
          },
          "balance": {
            "type": "number",
            "format": "decimal"
          },
          "spendable": {
            "type": "number",
            "format": "decimal"
          },
          "locked": {
            "type": "number",
            "format": "decimal"
          },
          "orderLimit": {
            "type": "number",
            "format": "decimal",
            "nullable": true
          },
          "personCampaignLimit": {
            "type": "number",
            "format": "decimal"
          }
        }
      },
      "CMSharedAbstractionsPagingPagedResultOfCreditTransactionDto": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "items": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CMEdenredDtosCreditTransactionDto"
            }
          },
          "count": {
            "type": "integer",
            "format": "int32"
          }
        }
      },
      "CMEdenredDtosCreditTransactionDto": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "id": {
            "type": "string",
            "format": "guid"
          },
          "createdOn": {
            "type": "string",
            "format": "date-time"
          },
          "type": {
            "type": "string"
          },
          "amount": {
            "type": "number",
            "format": "decimal"
          },
          "balanceAfter": {
            "type": "number",
            "format": "decimal"
          },
          "note": {
            "type": "string",
            "nullable": true
          },
          "actorDisplayName": {
            "type": "string",
            "nullable": true
          },
          "sourceType": {
            "type": "string",
            "nullable": true
          },
          "sourceRef": {
            "type": "string",
            "nullable": true
          }
        }
      },
      "CMEdenredDtosTmrWalletBalanceDto": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "walletId": {
            "type": "string",
            "format": "guid",
            "nullable": true
          },
          "balance": {
            "type": "number",
            "format": "decimal"
          },
          "orderLimit": {
            "type": "number",
            "format": "decimal"
          }
        }
      },
      "CMEdenredDtosWalletNoticeItemDto": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "campaignId": {
            "type": "string",
            "format": "guid"
          },
          "campaignName": {
            "type": "string"
          },
          "kind": {
            "type": "string"
          },
          "amount": {
            "type": "number",
            "format": "decimal"
          },
          "expiresOn": {
            "type": "string",
            "format": "date"
          },
          "bucketId": {
            "type": "string",
            "format": "guid",
            "nullable": true
          }
        }
      },
      "CMEdenredDtosStoreWalletChainDto": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "storeChainId": {
            "type": "string",
            "format": "guid"
          },
          "displayName": {
            "type": "string"
          }
        }
      },
      "CMSharedAbstractionsPagingPagedResultOfStoreWalletRowDto": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "items": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CMEdenredDtosStoreWalletRowDto"
            }
          },
          "count": {
            "type": "integer",
            "format": "int32"
          }
        }
      },
      "CMEdenredDtosStoreWalletRowDto": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "storeId": {
            "type": "string",
            "format": "guid"
          },
          "code": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "chainName": {
            "type": "string"
          },
          "ttStoreCode": {
            "type": "string",
            "nullable": true
          },
          "walletId": {
            "type": "string",
            "format": "guid",
            "nullable": true
          },
          "balance": {
            "type": "number",
            "format": "decimal"
          }
        }
      },
      "CMEdenredDtosStoreWalletSummaryDto": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "stores": {
            "type": "integer",
            "format": "int32"
          },
          "funded": {
            "type": "integer",
            "format": "int32"
          },
          "totalCredits": {
            "type": "number",
            "format": "decimal"
          }
        }
      },
      "CMEdenredDtosTmrWalletRowDto": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "userId": {
            "type": "string",
            "format": "guid"
          },
          "userName": {
            "type": "string"
          },
          "displayName": {
            "type": "string"
          },
          "campaignId": {
            "type": "string",
            "format": "guid"
          },
          "campaignName": {
            "type": "string"
          },
          "walletId": {
            "type": "string",
            "format": "guid",
            "nullable": true
          },
          "balance": {
            "type": "number",
            "format": "decimal"
          },
          "allocatedCredits": {
            "type": "number",
            "format": "decimal"
          }
        }
      },
      "CMEdenredEndpointsWalletsGetTmrWalletsRequest": {
        "type": "object",
        "additionalProperties": false
      },
      "CMEdenredDtosMarkNoticesSeenRequest": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "items": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CMEdenredDtosMarkNoticeItem"
            }
          }
        }
      },
      "CMEdenredDtosMarkNoticeItem": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "campaignId": {
            "type": "string",
            "format": "guid"
          },
          "kind": {
            "type": "string"
          },
          "bucketId": {
            "type": "string",
            "format": "guid",
            "nullable": true
          }
        }
      },
      "CMEdenredDtosTransferResultDto": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "fromBalance": {
            "type": "number",
            "format": "decimal"
          },
          "toBalance": {
            "type": "number",
            "format": "decimal"
          }
        }
      },
      "CMEdenredDtosTransferTmrCreditsRequest": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "campaignId": {
            "type": "string",
            "format": "guid"
          },
          "fromUserId": {
            "type": "string",
            "format": "guid"
          },
          "toUserId": {
            "type": "string",
            "format": "guid"
          },
          "amount": {
            "type": "number",
            "format": "decimal"
          },
          "note": {
            "type": "string",
            "nullable": true
          }
        }
      },
      "CMEdenredDtosStorePurchaseRequest": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "phone": {
            "type": "string",
            "nullable": true
          },
          "firstName": {
            "type": "string",
            "nullable": true
          },
          "lastName": {
            "type": "string",
            "nullable": true
          },
          "lines": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CMEdenredContractsDtosCheckoutLineDto"
            }
          },
          "campaignIds": {
            "type": "array",
            "nullable": true,
            "items": {
              "type": "string",
              "format": "guid"
            }
          },
          "requestId": {
            "type": "string",
            "format": "guid",
            "nullable": true
          },
          "signatureData": {
            "type": "string",
            "nullable": true
          },
          "quiz": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/CMEdenredDtosStoreQuizAnswers"
              }
            ]
          }
        }
      },
      "CMEdenredDtosStoreQuizAnswers": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "revision": {
            "type": "string",
            "format": "guid"
          },
          "answers": {
            "type": "array",
            "items": {
              "type": "integer",
              "format": "int32"
            }
          }
        }
      },
      "CMSharedAbstractionsPagingPagedResultOfPurchaseListItemDto": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "items": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CMEdenredDtosPurchaseListItemDto"
            }
          },
          "count": {
            "type": "integer",
            "format": "int32"
          }
        }
      },
      "CMEdenredDtosPurchaseListItemDto": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "id": {
            "type": "string",
            "format": "guid"
          },
          "createdOn": {
            "type": "string",
            "format": "date-time"
          },
          "beneficiaryName": {
            "type": "string"
          },
          "beneficiaryPhone": {
            "type": "string"
          },
          "units": {
            "type": "integer",
            "format": "int32"
          },
          "totalAmount": {
            "type": "number",
            "format": "decimal"
          },
          "issuedAmount": {
            "type": "number",
            "format": "decimal"
          },
          "refundedAmount": {
            "type": "number",
            "format": "decimal"
          },
          "status": {
            "type": "string"
          },
          "pdfAvailable": {
            "type": "boolean"
          },
          "vouchers": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CMEdenredContractsDtosCheckoutVoucherDto"
            }
          },
          "pvAvailable": {
            "type": "boolean"
          }
        }
      },
      "CMEdenredApplicationTmrHandoverReceipt": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "purchaseId": {
            "type": "string",
            "format": "guid"
          },
          "campaignId": {
            "type": "string",
            "format": "guid"
          },
          "status": {
            "type": "string"
          }
        }
      },
      "CMEdenredDtosCheckoutPreviewDto": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "orderTotal": {
            "type": "number",
            "format": "decimal"
          },
          "orderLimit": {
            "type": "number",
            "format": "decimal",
            "nullable": true
          },
          "personLimit": {
            "type": "number",
            "format": "decimal"
          },
          "campaigns": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CMEdenredDtosCheckoutPreviewCampaignDto"
            }
          },
          "ok": {
            "type": "boolean"
          },
          "error": {
            "type": "string",
            "nullable": true
          }
        }
      },
      "CMEdenredDtosCheckoutPreviewCampaignDto": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "campaignId": {
            "type": "string",
            "format": "guid"
          },
          "campaignName": {
            "type": "string"
          },
          "expiresOn": {
            "type": "string",
            "format": "date"
          },
          "available": {
            "type": "number",
            "format": "decimal"
          },
          "draw": {
            "type": "number",
            "format": "decimal"
          },
          "personUsed": {
            "type": "number",
            "format": "decimal",
            "nullable": true
          },
          "personRemaining": {
            "type": "number",
            "format": "decimal",
            "nullable": true
          }
        }
      },
      "CMEdenredDtosProviderProductDto": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "id": {
            "type": "string",
            "format": "guid"
          },
          "provider": {
            "type": "string"
          },
          "productCode": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "purchasePrice": {
            "type": "number",
            "format": "decimal"
          },
          "faceValue": {
            "type": "number",
            "format": "decimal"
          },
          "brand": {
            "type": "string"
          },
          "category": {
            "type": "string",
            "nullable": true
          },
          "descriptionRO": {
            "type": "string",
            "nullable": true
          },
          "descriptionEN": {
            "type": "string",
            "nullable": true
          },
          "logoUrl": {
            "type": "string",
            "nullable": true
          },
          "logoDarkUrl": {
            "type": "string",
            "nullable": true
          },
          "country": {
            "type": "string",
            "nullable": true
          },
          "partner": {
            "type": "string",
            "nullable": true
          },
          "discountType": {
            "type": "string",
            "nullable": true
          },
          "discountValue": {
            "type": "number",
            "format": "decimal"
          },
          "terms": {
            "type": "string",
            "nullable": true
          },
          "termsEN": {
            "type": "string",
            "nullable": true
          },
          "minValidity": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "isEnabled": {
            "type": "boolean"
          },
          "isAvailable": {
            "type": "boolean"
          },
          "lastSyncedOn": {
            "type": "string",
            "format": "date-time"
          },
          "calculatedCost": {
            "type": "number",
            "format": "decimal"
          }
        }
      },
      "CMEdenredDtosCatalogSyncResult": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "added": {
            "type": "integer",
            "format": "int32"
          },
          "updated": {
            "type": "integer",
            "format": "int32"
          },
          "unavailable": {
            "type": "integer",
            "format": "int32"
          },
          "total": {
            "type": "integer",
            "format": "int32"
          },
          "syncedOn": {
            "type": "string",
            "format": "date-time"
          }
        }
      },
      "CMEdenredDtosSetProviderProductEnabledRequest": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "isEnabled": {
            "type": "boolean"
          }
        }
      },
      "CMEdenredDtosSetProviderProductsEnabledRequest": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "productIds": {
            "type": "array",
            "items": {
              "type": "string",
              "format": "guid"
            }
          },
          "isEnabled": {
            "type": "boolean"
          }
        }
      },
      "CMEdenredApplicationBrilliappStockResult": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "productId": {
            "type": "string",
            "format": "guid"
          },
          "ean": {
            "type": "string"
          },
          "inStock": {
            "type": "boolean"
          },
          "checkedAt": {
            "type": "string",
            "format": "date-time"
          }
        }
      },
      "CMEdenredDtosActiveProductDto": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "id": {
            "type": "string",
            "format": "guid"
          },
          "vendor": {
            "type": "string"
          },
          "label": {
            "type": "string"
          },
          "type": {
            "type": "string"
          },
          "values": {
            "type": "array",
            "items": {
              "type": "number",
              "format": "decimal"
            }
          },
          "imageUrl": {
            "type": "string",
            "nullable": true
          }
        }
      },
      "CMEdenredDtosStoreQuizSettings": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "revision": {
            "type": "string",
            "format": "guid"
          },
          "questions": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CMEdenredDtosStoreQuizQuestion"
            }
          }
        }
      },
      "CMEdenredDtosStoreQuizQuestion": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "text": {
            "type": "string"
          },
          "options": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "correctOption": {
            "type": "integer",
            "format": "int32"
          },
          "isActive": {
            "type": "boolean"
          }
        }
      },
      "CMEdenredDtosStoreQuizForm": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "revision": {
            "type": "string",
            "format": "guid"
          },
          "questions": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CMEdenredDtosStoreQuizPrompt"
            }
          }
        }
      },
      "CMEdenredDtosStoreQuizPrompt": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "text": {
            "type": "string"
          },
          "options": {
            "type": "array",
            "items": {
              "type": "string"
            }
          }
        }
      },
      "CMEdenredDtosStoreQuizCheck": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "isCurrent": {
            "type": "boolean"
          },
          "incorrect": {
            "type": "array",
            "items": {
              "type": "integer",
              "format": "int32"
            }
          },
          "passed": {
            "type": "boolean"
          }
        }
      },
      "CMEdenredEndpointsAdminFundsStatusDto": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "reading": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/CMEdenredEndpointsAdminFundsReadingDto"
              }
            ]
          },
          "minimumBalanceRon": {
            "type": "number",
            "format": "decimal",
            "nullable": true
          },
          "monitorEnabled": {
            "type": "boolean"
          },
          "recipientsConfigured": {
            "type": "boolean"
          }
        }
      },
      "CMEdenredEndpointsAdminFundsReadingDto": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "checkedAt": {
            "type": "string",
            "format": "date-time"
          },
          "limitRon": {
            "type": "number",
            "format": "decimal",
            "nullable": true
          },
          "redeemableCredits": {
            "type": "number",
            "format": "decimal",
            "nullable": true
          },
          "lockedCredits": {
            "type": "number",
            "format": "decimal",
            "nullable": true
          },
          "minimumBalanceRon": {
            "type": "number",
            "format": "decimal",
            "nullable": true
          },
          "belowMinimum": {
            "type": "boolean"
          },
          "belowCoverage": {
            "type": "boolean"
          },
          "error": {
            "type": "string",
            "nullable": true
          },
          "alertSent": {
            "type": "boolean"
          },
          "notificationError": {
            "type": "string",
            "nullable": true
          }
        }
      },
      "CMEdenredApplicationReconciliationPage": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "items": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CMEdenredApplicationReconciliationRow"
            }
          },
          "total": {
            "type": "integer",
            "format": "int32"
          },
          "page": {
            "type": "integer",
            "format": "int32"
          },
          "pageSize": {
            "type": "integer",
            "format": "int32"
          }
        }
      },
      "CMEdenredApplicationReconciliationRow": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "id": {
            "type": "string",
            "format": "guid"
          },
          "createdOn": {
            "type": "string",
            "format": "date-time"
          },
          "buyerType": {
            "type": "string"
          },
          "beneficiary": {
            "type": "string"
          },
          "status": {
            "type": "string"
          },
          "total": {
            "type": "number",
            "format": "decimal"
          },
          "reserved": {
            "type": "number",
            "format": "decimal"
          },
          "refunded": {
            "type": "number",
            "format": "decimal"
          },
          "needsAttention": {
            "type": "boolean"
          }
        }
      },
      "CMEdenredApplicationReconciliationDetail": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "purchase": {
            "$ref": "#/components/schemas/CMEdenredApplicationReconciliationRow"
          },
          "buyerId": {
            "type": "string",
            "format": "guid"
          },
          "campaignId": {
            "type": "string",
            "format": "guid",
            "nullable": true
          },
          "storeId": {
            "type": "string",
            "format": "guid",
            "nullable": true
          },
          "ttStoreId": {
            "type": "string",
            "format": "guid",
            "nullable": true
          },
          "phone": {
            "type": "string"
          },
          "error": {
            "type": "string",
            "nullable": true
          },
          "walletBalance": {
            "type": "number",
            "format": "decimal"
          },
          "vouchers": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CMEdenredApplicationReconciliationUnit"
            }
          },
          "history": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CMEdenredApplicationReconciliationAudit"
            }
          }
        }
      },
      "CMEdenredApplicationReconciliationUnit": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "id": {
            "type": "string",
            "format": "guid"
          },
          "lineNo": {
            "type": "integer",
            "format": "int32"
          },
          "label": {
            "type": "string"
          },
          "value": {
            "type": "number",
            "format": "decimal"
          },
          "status": {
            "type": "string"
          },
          "ean": {
            "type": "string"
          },
          "tan": {
            "type": "string"
          },
          "providerId": {
            "type": "string",
            "nullable": true
          },
          "quotedPrice": {
            "type": "number",
            "format": "decimal",
            "nullable": true
          },
          "providerPrice": {
            "type": "number",
            "format": "decimal",
            "nullable": true
          },
          "location": {
            "type": "string",
            "nullable": true
          },
          "attemptedOn": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "completedOn": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "refundedOn": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "error": {
            "type": "string",
            "nullable": true
          },
          "rowVersion": {
            "type": "string"
          },
          "canResolve": {
            "type": "boolean"
          },
          "canCancel": {
            "type": "boolean"
          },
          "sources": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CMEdenredApplicationReconciliationSource"
            }
          }
        }
      },
      "CMEdenredApplicationReconciliationSource": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "campaign": {
            "type": "string"
          },
          "amount": {
            "type": "number",
            "format": "decimal"
          },
          "refunded": {
            "type": "boolean"
          }
        }
      },
      "CMEdenredApplicationReconciliationAudit": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "id": {
            "type": "string",
            "format": "guid"
          },
          "voucherId": {
            "type": "string",
            "format": "guid",
            "nullable": true
          },
          "actorId": {
            "type": "string",
            "format": "guid"
          },
          "actorName": {
            "type": "string"
          },
          "action": {
            "type": "string"
          },
          "previousStatus": {
            "type": "string"
          },
          "note": {
            "type": "string"
          },
          "providerId": {
            "type": "string",
            "nullable": true
          },
          "refundedCredits": {
            "type": "number",
            "format": "decimal"
          },
          "createdOn": {
            "type": "string",
            "format": "date-time"
          }
        }
      },
      "CMEdenredApplicationReconcileVoucherRequest": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "requestId": {
            "type": "string",
            "format": "guid"
          },
          "rowVersion": {
            "type": "string"
          },
          "outcome": {
            "type": "string"
          },
          "providerId": {
            "type": "string",
            "nullable": true
          },
          "pin": {
            "type": "string",
            "nullable": true
          },
          "price": {
            "type": "number",
            "format": "decimal",
            "nullable": true
          },
          "note": {
            "type": "string"
          },
          "confirmed": {
            "type": "boolean"
          }
        }
      },
      "CMEdenredApplicationFinalizeReconciliationRequest": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "requestId": {
            "type": "string",
            "format": "guid"
          },
          "note": {
            "type": "string"
          },
          "confirmed": {
            "type": "boolean"
          }
        }
      },
      "CMEdenredApplicationCancelVoucherRequest": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "requestId": {
            "type": "string",
            "format": "guid"
          },
          "rowVersion": {
            "type": "string"
          },
          "note": {
            "type": "string"
          },
          "confirmed": {
            "type": "boolean"
          }
        }
      },
      "CMEdenredEndpointsAdminBrilliappTokenCheckResponse": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "authenticated": {
            "type": "boolean"
          },
          "expiresAt": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "providerStatusCode": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "error": {
            "type": "string",
            "nullable": true
          }
        }
      },
      "CMSharedAbstractionsPagingPagedResultOfClaimedVoucherRow": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "items": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CMEdenredApplicationClaimedVoucherRow"
            }
          },
          "count": {
            "type": "integer",
            "format": "int32"
          }
        }
      },
      "CMEdenredApplicationClaimedVoucherRow": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "channel": {
            "type": "string"
          },
          "campaign": {
            "type": "string",
            "nullable": true
          },
          "storeName": {
            "type": "string",
            "nullable": true
          },
          "userName": {
            "type": "string",
            "nullable": true
          },
          "storeCode": {
            "type": "string",
            "nullable": true
          },
          "issuedOn": {
            "type": "string",
            "format": "date-time"
          },
          "credits": {
            "type": "number",
            "format": "decimal"
          },
          "voucher": {
            "type": "string"
          },
          "phone": {
            "type": "string"
          },
          "firstName": {
            "type": "string"
          },
          "lastName": {
            "type": "string"
          }
        }
      },
      "CMEdenredContractsDtosWalletMaintenanceResultDto": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "unlocked": {
            "type": "integer",
            "format": "int32"
          },
          "expired": {
            "type": "integer",
            "format": "int32"
          },
          "failed": {
            "type": "integer",
            "format": "int32"
          }
        }
      },
      "CMSharedAbstractionsPagingPagedResultOfCampaignDto2": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "items": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CMCampaignsDtosCampaignDto"
            }
          },
          "count": {
            "type": "integer",
            "format": "int32"
          }
        }
      },
      "CMCampaignsDtosCampaignDto": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "campaignId": {
            "type": "string",
            "format": "guid"
          },
          "name": {
            "type": "string"
          },
          "displayName": {
            "type": "string"
          },
          "startDate": {
            "type": "string",
            "format": "date"
          },
          "endDate": {
            "type": "string",
            "format": "date"
          },
          "imageUrl": {
            "type": "string",
            "nullable": true
          },
          "stockManagement": {
            "type": "string"
          },
          "stockManagedByProducts": {
            "type": "boolean"
          },
          "prizeSelectionStrategy": {
            "type": "string"
          },
          "quantityCalculationMethod": {
            "type": "string"
          },
          "hasSurvey": {
            "type": "boolean"
          },
          "hasQuiz": {
            "type": "boolean"
          },
          "smsCodeValidation": {
            "type": "boolean"
          },
          "smsCodeTemplate": {
            "type": "string",
            "nullable": true
          },
          "maxCustomersPerDay": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "vouchersEnabled": {
            "type": "boolean"
          },
          "qrEnabled": {
            "type": "boolean"
          },
          "productSelectionMode": {
            "type": "string"
          },
          "receiptRequired": {
            "type": "boolean"
          },
          "isActive": {
            "type": "boolean"
          },
          "isArchived": {
            "type": "boolean"
          },
          "identificationNumberEnabled": {
            "type": "boolean"
          },
          "identificationNumberThreshold": {
            "type": "number",
            "format": "decimal",
            "nullable": true
          },
          "smsCampaignEnabled": {
            "type": "boolean"
          },
          "storeFlowEnabled": {
            "type": "boolean"
          },
          "walletCreditValue": {
            "type": "number",
            "format": "decimal",
            "nullable": true
          },
          "walletUnlockThreshold": {
            "type": "number",
            "format": "decimal",
            "nullable": true
          },
          "qrVerificationSmsTemplate": {
            "type": "string",
            "nullable": true
          },
          "qrCashierSmsTemplate": {
            "type": "string",
            "nullable": true
          }
        }
      }
    },
    "securitySchemes": {
      "JWTBearerAuth": {
        "type": "http",
        "description": "Enter a JWT token to authorize the requests...",
        "scheme": "Bearer",
        "bearerFormat": "JWT"
      }
    }
  }
}