-
Notifications
You must be signed in to change notification settings - Fork 17
/
Copy pathopenai-plugin.qeeq.com.yaml
176 lines (173 loc) · 5.17 KB
/
openai-plugin.qeeq.com.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
openapi: 3.0.1
info:
title: QEEQ
description: Founded in 2017, we provide services to tens of millions of travelers every year. Our mission is to make journeys more enjoyable and bring better travel experiences to QEEQ with the help of technology.
version: 'v1'
servers:
- url: "https://openai-plugin.qeeq.com"
paths:
/revision/aigc/chatgpt/list:
post:
operationId: revisionList
summary: Search car rentals on a route for certain dates
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/RevisionListRequest'
responses:
"200":
description: OK
content:
application/json:
schema:
$ref: '#/components/schemas/RevisionListResponse'
"404":
description: Not found
"429":
description: Rate limited
components:
schemas:
RevisionListRequest:
type: object
properties:
pickup_lng:
type: string
description: The pickup longitude from which the route starts, like 113.380721.
required: true
pickup_lat:
type: string
description: The pickup latitude from which the route starts, like 23.098035.
required: true
from_date_0:
type: string
description: The pickup date from which the route starts, like 2023-06-22.
required: true
from_date_1:
type: string
description: The pickup time from which the route starts, like 10:00.
required: true
to_date_0:
type: string
description: The dropoff date from which the route goes, like 2023-06-23.
required: true
to_date_1:
type: string
description: The dropoff date from which the route goes, like 10:00.
required: true
dropoff_lng:
type: string
description: The dropoff longitude to which the route goes.
required: true
dropoff_lat:
type: string
description: The dropoff latitude to which the route goes.
required: true
citizen_country_code:
type: string
description: User's nationality two character code, like AU.
required: true
payment:
type: string
description: Payment method. Ignore if not mentioned.
enum:
- postpaid
- prepaid
- partpaid
required: false
group:
type: string
description: First level vehicle selection. Ignore if not mentioned.
enum:
- small
- medium
- large
- suv
- pickup_truck
- van
- convertible
- eco
- unspecified
- premium
required: false
seat:
type: number
description: Number of seats in the car. Ignore if not mentioned.
required: false
currency:
type: string
description: Currency three character code, like AUD. Ignore if not mentioned.
required: false
lang:
type: string
description: Language Two Character Code, like ko. Ignore if not mentioned.
required: false
utm_source:
type: string
description: Fixed as aigc.
required: true
utm_medium:
type: string
description: Fixed as chatgpt.
required: true
RevisionListResponse:
type: object
properties:
data:
type: object
description: Data of response.
properties:
list:
type: array
description: List of car rental infos.
items:
$ref: "#/components/schemas/RevisionListItem"
list_url:
type: string
description: Recommended car models page. If no car, show this url to user.
RevisionListItem:
type: object
properties:
dealer_name:
type: string
description: Car dealership name.
dealer_logo:
type: string
description: Car dealership logo.
car_name:
type: string
description: Car name.
car_image:
type: string
description: Vehicle image.
car_type:
type: string
description: Car Model name.
price:
type: string
description: Price.
book_url:
type: string
description: Order Link.
payment_type:
type: string
description: Payment Type.
seat:
type: string
description: Number of seats in the car.
is_electric_vehicle:
type: boolean
description: Is it a tram.
is_hybrid_vehicle:
type: boolean
description: Is it a hybrid vehicle.
luggage:
type: string
description: Number of bags.
car_door:
type: string
description: Number of car doors.
transmission_name:
type: string
description: Transmission name.