daiso 1.2.7 → 1.2.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +17 -17
- package/dist/api/actionsProxy.js +0 -10
- package/dist/api/cgvHandlers.js +4 -3
- package/dist/api/configStatus.js +7 -2
- package/dist/api/gs25Handlers.js +4 -3
- package/dist/api/handlers.js +11 -7
- package/dist/api/healthCheckDefinitions.js +0 -9
- package/dist/api/healthChecks.js +0 -1
- package/dist/api/lottecinemaHandlers.js +4 -3
- package/dist/api/lottemartHandlers.js +5 -142
- package/dist/api/megaboxHandlers.js +4 -3
- package/dist/api/opinetHandlers.js +2 -1
- package/dist/api/routes/cgvRoutes.js +3 -3
- package/dist/api/routes/cuRoutes.js +2 -2
- package/dist/api/routes/gs25Routes.js +3 -3
- package/dist/api/routes/lottecinemaRoutes.js +3 -3
- package/dist/api/routes/lottemartRoutes.js +4 -16
- package/dist/api/routes/megaboxRoutes.js +3 -3
- package/dist/api/routes/opinetRoutes.js +4 -4
- package/dist/cli.js +5 -5
- package/dist/cliHelp.js +0 -3
- package/dist/cliHelpDefinitions.js +2 -19
- package/dist/index.js +10 -11
- package/dist/middleware/dailyRateLimit.js +0 -1
- package/dist/pages/openapiFullSpec.js +0 -2
- package/dist/pages/openapiSpecActionParameters.js +4 -4
- package/dist/pages/openapiSpecComponents.js +0 -2
- package/dist/pages/openapiSpecPathsMegabox.js +1 -1
- package/dist/pages/promptReferenceText.js +0 -5
- package/dist/pages/promptRetailCinemaText.js +0 -26
- package/dist/services/cgv/index.js +3 -6
- package/dist/services/cgv/location.js +38 -125
- package/dist/services/cgv/tools/findTheaters.js +5 -4
- package/dist/services/cgv/tools/getTimetable.js +5 -4
- package/dist/services/cgv/tools/searchMovies.js +5 -4
- package/dist/services/cu/client.js +3 -35
- package/dist/services/cu/index.js +1 -0
- package/dist/services/cu/tools/checkInventory.js +3 -1
- package/dist/services/gs25/client.js +3 -33
- package/dist/services/gs25/index.js +2 -2
- package/dist/services/gs25/tools/checkInventory.js +3 -1
- package/dist/services/gs25/tools/findNearbyStores.js +3 -1
- package/dist/services/lottecinema/index.js +3 -6
- package/dist/services/lottecinema/location.js +13 -100
- package/dist/services/lottecinema/tools/findNearbyTheaters.js +7 -6
- package/dist/services/lottecinema/tools/getRemainingSeats.js +5 -4
- package/dist/services/lottecinema/tools/listNowShowing.js +5 -4
- package/dist/services/lottemart/client.js +5 -32
- package/dist/services/lottemart/geocode.js +3 -46
- package/dist/services/megabox/index.js +9 -8
- package/dist/services/megabox/location.js +19 -84
- package/dist/services/megabox/tools/findNearbyTheaters.js +7 -7
- package/dist/services/megabox/tools/getRemainingSeats.js +5 -5
- package/dist/services/megabox/tools/listNowShowing.js +5 -5
- package/dist/services/oliveyoung/tools/checkInventory.js +5 -5
- package/dist/services/oliveyoung/tools/findNearbyStores.js +3 -3
- package/dist/services/oliveyoung/tools/searchProducts.js +3 -3
- package/dist/services/oliveyoung/transport.js +49 -33
- package/dist/services/opinet/client.js +1 -1
- package/dist/services/opinet/index.js +1 -1
- package/dist/services/opinet/location.js +5 -56
- package/dist/services/opinet/tools.js +2 -2
- package/dist/utils/geocode.js +155 -0
- package/dist/utils/http.js +2 -2
- package/dist/utils/relayQuota.js +4 -2
- package/openapi.json +4 -183
- package/openapi.yaml +4 -131
- package/package.json +1 -2
- package/dist/pages/openapiSpecComponentsLotteMart.js +0 -85
- package/dist/pages/openapiSpecPathsLotteMart.js +0 -157
|
@@ -1,85 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* OpenAPI 컴포넌트 스키마 정의 (롯데마트)
|
|
3
|
-
*/
|
|
4
|
-
export const OPENAPI_LOTTEMART_COMPONENT_SCHEMAS = {
|
|
5
|
-
LotteMartStore: {
|
|
6
|
-
type: 'object',
|
|
7
|
-
properties: {
|
|
8
|
-
area: { type: 'string', example: '서울' },
|
|
9
|
-
storeCode: { type: 'string', example: '2301' },
|
|
10
|
-
storeName: { type: 'string', example: '강변점' },
|
|
11
|
-
brandVariant: { type: 'string', example: 'lottemart' },
|
|
12
|
-
address: { type: 'string', example: '서울 광진구 광나루로 56길 85 테크노마트 B2' },
|
|
13
|
-
phone: { type: 'string', example: '02-3424-2502' },
|
|
14
|
-
openTime: { type: 'string', example: '10:00~23:00' },
|
|
15
|
-
closedDays: { type: 'string', example: '03/08(일), 03/22(일)' },
|
|
16
|
-
parkingType: { type: 'string', example: '유료' },
|
|
17
|
-
parkingDetails: { type: 'string', example: '최초 무료주차 : 1시간' },
|
|
18
|
-
detailUrl: { type: 'string', example: '/mobiledowa/market/detail_shop.asp?werks=2301' },
|
|
19
|
-
latitude: { type: 'number', format: 'float', example: 37.5354 },
|
|
20
|
-
longitude: { type: 'number', format: 'float', example: 127.0958 },
|
|
21
|
-
distanceM: { type: 'number', nullable: true, example: 530 },
|
|
22
|
-
},
|
|
23
|
-
},
|
|
24
|
-
LotteMartProduct: {
|
|
25
|
-
type: 'object',
|
|
26
|
-
properties: {
|
|
27
|
-
area: { type: 'string', example: '서울' },
|
|
28
|
-
storeCode: { type: 'string', example: '2301' },
|
|
29
|
-
storeName: { type: 'string', example: '강변점' },
|
|
30
|
-
keyword: { type: 'string', example: '콜라' },
|
|
31
|
-
productName: { type: 'string', example: '코카콜라' },
|
|
32
|
-
barcode: { type: 'string', example: '8801094011307' },
|
|
33
|
-
spec: { type: 'string', example: '1.2L' },
|
|
34
|
-
manufacturer: { type: 'string', example: '코카콜라음료 주식회사' },
|
|
35
|
-
price: { type: 'integer', example: 2980 },
|
|
36
|
-
stockQuantity: { type: 'integer', example: 20 },
|
|
37
|
-
},
|
|
38
|
-
},
|
|
39
|
-
LotteMartStoreSearchResponse: {
|
|
40
|
-
type: 'object',
|
|
41
|
-
properties: {
|
|
42
|
-
success: { type: 'boolean', example: true },
|
|
43
|
-
data: {
|
|
44
|
-
type: 'object',
|
|
45
|
-
properties: {
|
|
46
|
-
stores: {
|
|
47
|
-
type: 'array',
|
|
48
|
-
items: { $ref: '#/components/schemas/LotteMartStore' },
|
|
49
|
-
},
|
|
50
|
-
},
|
|
51
|
-
},
|
|
52
|
-
meta: {
|
|
53
|
-
type: 'object',
|
|
54
|
-
properties: {
|
|
55
|
-
total: { type: 'integer' },
|
|
56
|
-
page: { type: 'integer' },
|
|
57
|
-
pageSize: { type: 'integer' },
|
|
58
|
-
},
|
|
59
|
-
},
|
|
60
|
-
},
|
|
61
|
-
},
|
|
62
|
-
LotteMartProductSearchResponse: {
|
|
63
|
-
type: 'object',
|
|
64
|
-
properties: {
|
|
65
|
-
success: { type: 'boolean', example: true },
|
|
66
|
-
data: {
|
|
67
|
-
type: 'object',
|
|
68
|
-
properties: {
|
|
69
|
-
products: {
|
|
70
|
-
type: 'array',
|
|
71
|
-
items: { $ref: '#/components/schemas/LotteMartProduct' },
|
|
72
|
-
},
|
|
73
|
-
},
|
|
74
|
-
},
|
|
75
|
-
meta: {
|
|
76
|
-
type: 'object',
|
|
77
|
-
properties: {
|
|
78
|
-
total: { type: 'integer' },
|
|
79
|
-
page: { type: 'integer' },
|
|
80
|
-
pageSize: { type: 'integer' },
|
|
81
|
-
},
|
|
82
|
-
},
|
|
83
|
-
},
|
|
84
|
-
},
|
|
85
|
-
};
|
|
@@ -1,157 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* OpenAPI 경로 정의 (롯데마트)
|
|
3
|
-
*/
|
|
4
|
-
export const OPENAPI_PATHS_LOTTEMART = {
|
|
5
|
-
'/api/lottemart/stores': {
|
|
6
|
-
get: {
|
|
7
|
-
operationId: 'lottemartFindStores',
|
|
8
|
-
summary: '롯데마트 매장 검색',
|
|
9
|
-
description: '지역/키워드 조건으로 롯데마트 계열 매장을 조회합니다.',
|
|
10
|
-
parameters: [
|
|
11
|
-
{
|
|
12
|
-
name: 'keyword',
|
|
13
|
-
in: 'query',
|
|
14
|
-
required: false,
|
|
15
|
-
description: '매장명 또는 주소 키워드',
|
|
16
|
-
schema: { type: 'string' },
|
|
17
|
-
},
|
|
18
|
-
{
|
|
19
|
-
name: 'area',
|
|
20
|
-
in: 'query',
|
|
21
|
-
required: false,
|
|
22
|
-
description: '지역 (예: 서울, 경기, 제주)',
|
|
23
|
-
schema: { type: 'string' },
|
|
24
|
-
},
|
|
25
|
-
{
|
|
26
|
-
name: 'brandVariant',
|
|
27
|
-
in: 'query',
|
|
28
|
-
required: false,
|
|
29
|
-
description: '브랜드 변형 필터',
|
|
30
|
-
schema: {
|
|
31
|
-
type: 'string',
|
|
32
|
-
enum: [
|
|
33
|
-
'lottemart',
|
|
34
|
-
'toysrus',
|
|
35
|
-
'max',
|
|
36
|
-
'bottlebunker',
|
|
37
|
-
'mealguru',
|
|
38
|
-
'grandgrocery',
|
|
39
|
-
'other',
|
|
40
|
-
],
|
|
41
|
-
},
|
|
42
|
-
},
|
|
43
|
-
{
|
|
44
|
-
name: 'lat',
|
|
45
|
-
in: 'query',
|
|
46
|
-
required: false,
|
|
47
|
-
description: '위도',
|
|
48
|
-
schema: { type: 'number', format: 'float' },
|
|
49
|
-
},
|
|
50
|
-
{
|
|
51
|
-
name: 'lng',
|
|
52
|
-
in: 'query',
|
|
53
|
-
required: false,
|
|
54
|
-
description: '경도',
|
|
55
|
-
schema: { type: 'number', format: 'float' },
|
|
56
|
-
},
|
|
57
|
-
{
|
|
58
|
-
name: 'limit',
|
|
59
|
-
in: 'query',
|
|
60
|
-
required: false,
|
|
61
|
-
description: '최대 결과 수',
|
|
62
|
-
schema: { type: 'integer', default: 20, minimum: 1, maximum: 100 },
|
|
63
|
-
},
|
|
64
|
-
],
|
|
65
|
-
responses: {
|
|
66
|
-
'200': {
|
|
67
|
-
description: '검색 성공',
|
|
68
|
-
content: {
|
|
69
|
-
'application/json': {
|
|
70
|
-
schema: { $ref: '#/components/schemas/LotteMartStoreSearchResponse' },
|
|
71
|
-
},
|
|
72
|
-
},
|
|
73
|
-
},
|
|
74
|
-
},
|
|
75
|
-
},
|
|
76
|
-
},
|
|
77
|
-
'/api/lottemart/products': {
|
|
78
|
-
get: {
|
|
79
|
-
operationId: 'lottemartSearchProducts',
|
|
80
|
-
summary: '롯데마트 상품 검색',
|
|
81
|
-
description: '특정 롯데마트 매장을 기준으로 상품 가격과 재고를 조회합니다.',
|
|
82
|
-
parameters: [
|
|
83
|
-
{
|
|
84
|
-
name: 'keyword',
|
|
85
|
-
in: 'query',
|
|
86
|
-
required: true,
|
|
87
|
-
description: '상품 검색어',
|
|
88
|
-
schema: { type: 'string' },
|
|
89
|
-
example: '콜라',
|
|
90
|
-
},
|
|
91
|
-
{
|
|
92
|
-
name: 'storeCode',
|
|
93
|
-
in: 'query',
|
|
94
|
-
required: false,
|
|
95
|
-
description: '매장 코드',
|
|
96
|
-
schema: { type: 'string' },
|
|
97
|
-
example: '2301',
|
|
98
|
-
},
|
|
99
|
-
{
|
|
100
|
-
name: 'storeName',
|
|
101
|
-
in: 'query',
|
|
102
|
-
required: false,
|
|
103
|
-
description: '매장명',
|
|
104
|
-
schema: { type: 'string' },
|
|
105
|
-
example: '강변점',
|
|
106
|
-
},
|
|
107
|
-
{
|
|
108
|
-
name: 'area',
|
|
109
|
-
in: 'query',
|
|
110
|
-
required: false,
|
|
111
|
-
description: '지역 (storeName 해석 보조용)',
|
|
112
|
-
schema: { type: 'string' },
|
|
113
|
-
example: '서울',
|
|
114
|
-
},
|
|
115
|
-
{
|
|
116
|
-
name: 'pageLimit',
|
|
117
|
-
in: 'query',
|
|
118
|
-
required: false,
|
|
119
|
-
description: '추가 조회할 최대 페이지 수',
|
|
120
|
-
schema: { type: 'integer', default: 3, minimum: 1, maximum: 20 },
|
|
121
|
-
},
|
|
122
|
-
{
|
|
123
|
-
name: 'source',
|
|
124
|
-
in: 'query',
|
|
125
|
-
required: false,
|
|
126
|
-
description: '상품 검색 경로',
|
|
127
|
-
schema: { type: 'string', enum: ['auto', 'legacy', 'zetta'], default: 'auto' },
|
|
128
|
-
},
|
|
129
|
-
{
|
|
130
|
-
name: 'timeoutMs',
|
|
131
|
-
in: 'query',
|
|
132
|
-
required: false,
|
|
133
|
-
description: '요청 제한 시간(ms)',
|
|
134
|
-
schema: { type: 'integer', default: 15000, minimum: 1 },
|
|
135
|
-
},
|
|
136
|
-
],
|
|
137
|
-
responses: {
|
|
138
|
-
'200': {
|
|
139
|
-
description: '검색 성공',
|
|
140
|
-
content: {
|
|
141
|
-
'application/json': {
|
|
142
|
-
schema: { $ref: '#/components/schemas/LotteMartProductSearchResponse' },
|
|
143
|
-
},
|
|
144
|
-
},
|
|
145
|
-
},
|
|
146
|
-
'400': {
|
|
147
|
-
description: '잘못된 요청',
|
|
148
|
-
content: {
|
|
149
|
-
'application/json': {
|
|
150
|
-
schema: { $ref: '#/components/schemas/ErrorResponse' },
|
|
151
|
-
},
|
|
152
|
-
},
|
|
153
|
-
},
|
|
154
|
-
},
|
|
155
|
-
},
|
|
156
|
-
},
|
|
157
|
-
};
|