|
| 1 | +{ |
| 2 | + "components": { |
| 3 | + "schemas": { |
| 4 | + "UnitStoreLocationsListResponse": { |
| 5 | + "type": "object", |
| 6 | + "properties": { |
| 7 | + "data": { |
| 8 | + "type": "array", |
| 9 | + "items": { |
| 10 | + "$ref": "./storeLocation.json#/schemas/components/StoreLocation" |
| 11 | + } |
| 12 | + }, |
| 13 | + "meta": { |
| 14 | + "$ref": "../types.json#/components/schemas/PaginationMeta" |
| 15 | + } |
| 16 | + } |
| 17 | + } |
| 18 | + } |
| 19 | + }, |
| 20 | + "generateBarcode": { |
| 21 | + "post": { |
| 22 | + "tags": ["unit"], |
| 23 | + "operationId": "createFee", |
| 24 | + "summary": "Generate Cash Deposit Barcode", |
| 25 | + "description": "Generate Cash Deposit Barcode via API ", |
| 26 | + "requestBody": { |
| 27 | + "description": "Generate Cash Deposit Barcode Request", |
| 28 | + "required": true, |
| 29 | + "content": { |
| 30 | + "application/vnd.api+json": { |
| 31 | + "schema": { |
| 32 | + "$ref": "./generateBarcode.json#/components/schemas/GenerateBarcodeRequest" |
| 33 | + } |
| 34 | + } |
| 35 | + } |
| 36 | + }, |
| 37 | + "responses": { |
| 38 | + "201": { |
| 39 | + "description": "Successful Response", |
| 40 | + "content": { |
| 41 | + "application/vnd.api+json": { |
| 42 | + "schema": { |
| 43 | + "type": "object", |
| 44 | + "title": "Unit Cash Deposit Barcode Response", |
| 45 | + "properties": { |
| 46 | + "data": { |
| 47 | + "$ref": "./cashDepositBarcode.json#/components/schemas/CashDepositBarcode" |
| 48 | + } |
| 49 | + } |
| 50 | + } |
| 51 | + } |
| 52 | + } |
| 53 | + } |
| 54 | + } |
| 55 | + } |
| 56 | + }, |
| 57 | + "listByCoordinates": { |
| 58 | + "get": { |
| 59 | + "tags": ["unit"], |
| 60 | + "operationId": "getCashDepositStoreLocationsListByCoordinates", |
| 61 | + |
| 62 | + "summary": "Get Cash Deposit Store Locations List By Coordinates", |
| 63 | + "description": "Get Cash Deposit Store Locations List By Coordinates from API ", |
| 64 | + "parameters": [ |
| 65 | + { |
| 66 | + "$ref": "../types.json#/components/schemas/PageQuery" |
| 67 | + }, |
| 68 | + { |
| 69 | + "name": "filter", |
| 70 | + "in": "query", |
| 71 | + "style": "deepObject", |
| 72 | + "allowReserved": true, |
| 73 | + "schema": { |
| 74 | + "type": "object", |
| 75 | + "properties": { |
| 76 | + "coordinates": { |
| 77 | + "$ref": "../types.json#/components/schemas/Coordinates" |
| 78 | + }, |
| 79 | + "serviceType": { |
| 80 | + "type": "string", |
| 81 | + "enum": ["Swipe", "Barcode"] |
| 82 | + } |
| 83 | + } |
| 84 | + } |
| 85 | + } |
| 86 | + ], |
| 87 | + "responses": { |
| 88 | + "200": { |
| 89 | + "description": "Successful Response", |
| 90 | + "content": { |
| 91 | + "application/vnd.api+json; charset=utf-8": { |
| 92 | + "schema": { |
| 93 | + "$ref": "#/components/schemas/UnitStoreLocationsListResponse" |
| 94 | + } |
| 95 | + } |
| 96 | + } |
| 97 | + } |
| 98 | + } |
| 99 | + } |
| 100 | + }, |
| 101 | + "listByPostalCode": { |
| 102 | + "get": { |
| 103 | + "tags": ["unit"], |
| 104 | + "operationId": "getCashDepositStoreLocationsListByPostalCode", |
| 105 | + |
| 106 | + "summary": "Get Cash Deposit Store Locations List By Postal Code", |
| 107 | + "description": "Get Cash Deposit Store Locations List By Postal Code from API ", |
| 108 | + "parameters": [ |
| 109 | + { |
| 110 | + "$ref": "../types.json#/components/schemas/PageQuery" |
| 111 | + }, |
| 112 | + { |
| 113 | + "name": "filter", |
| 114 | + "in": "query", |
| 115 | + "style": "deepObject", |
| 116 | + "allowReserved": true, |
| 117 | + "schema": { |
| 118 | + "type": "object", |
| 119 | + "properties": { |
| 120 | + "postalCode": { |
| 121 | + "type": "string" |
| 122 | + }, |
| 123 | + "serviceType": { |
| 124 | + "type": "string", |
| 125 | + "enum": ["Swipe", "Barcode"] |
| 126 | + } |
| 127 | + } |
| 128 | + } |
| 129 | + } |
| 130 | + ], |
| 131 | + "responses": { |
| 132 | + "200": { |
| 133 | + "description": "Successful Response", |
| 134 | + "content": { |
| 135 | + "application/vnd.api+json; charset=utf-8": { |
| 136 | + "schema": { |
| 137 | + "$ref": "#/components/schemas/UnitStoreLocationsListResponse" |
| 138 | + } |
| 139 | + } |
| 140 | + } |
| 141 | + } |
| 142 | + } |
| 143 | + } |
| 144 | + }, |
| 145 | + "getBarcodeImage": { |
| 146 | + "get": { |
| 147 | + "tags": ["unit"], |
| 148 | + "operationId": "getBarcodeImage", |
| 149 | + |
| 150 | + "summary": "Get Barcode Image By Barcode Number", |
| 151 | + "description": "Get Barcode Image By Barcode Number from API ", |
| 152 | + "parameters": [ |
| 153 | + { |
| 154 | + "$ref": "../types.json#/components/schemas/PageQuery" |
| 155 | + }, |
| 156 | + { |
| 157 | + "name": "barcodeNumber", |
| 158 | + "in": "query", |
| 159 | + "required": true, |
| 160 | + "schema": { |
| 161 | + "type": "string" |
| 162 | + } |
| 163 | + } |
| 164 | + ], |
| 165 | + "responses": { |
| 166 | + "200": { |
| 167 | + "description": "Successful Response", |
| 168 | + "content": { |
| 169 | + "image/png": { |
| 170 | + "schema": { |
| 171 | + "type": "string", |
| 172 | + "format": "binary" |
| 173 | + } |
| 174 | + } |
| 175 | + } |
| 176 | + } |
| 177 | + } |
| 178 | + } |
| 179 | + } |
| 180 | +} |
0 commit comments