Skip to content

Commit

Permalink
Generated Darabonba for IQS-2024-07-12.
Browse files Browse the repository at this point in the history
  • Loading branch information
sdk-team committed Jan 20, 2025
1 parent a57cb4a commit 821418d
Show file tree
Hide file tree
Showing 7 changed files with 961 additions and 47 deletions.
14 changes: 7 additions & 7 deletions iqs-20240712/Teafile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"scope": "alibabacloud",
"name": "IQS20240712",
"version": "1.0.11",
"version": "1.0.12",
"main": "./main.tea",
"maintainers": [
{
Expand All @@ -23,12 +23,12 @@
}
},
"releases": {
"java": "com.aliyun:iqs20240712:3.0.0",
"go": "github.com/alibabacloud-go/iqs-20240712/v3/client:v3.0.0",
"csharp": "AlibabaCloud.SDK.IQS20240712:3.0.0",
"ts": "@alicloud/iqs20240712:3.0.0",
"php": "alibabacloud/iqs-20240712:3.0.0",
"python": "alibabacloud_iqs20240712:3.0.0",
"java": "com.aliyun:iqs20240712:3.1.0",
"go": "github.com/alibabacloud-go/iqs-20240712/v3/client:v3.1.0",
"csharp": "AlibabaCloud.SDK.IQS20240712:3.1.0",
"ts": "@alicloud/iqs20240712:3.1.0",
"php": "alibabacloud/iqs-20240712:3.1.0",
"python": "alibabacloud_iqs20240712:3.1.0",
"python2": "alibabacloud_iqs20240712_py2:0.0.1",
"swift": "alibabacloud-sdk-swift/iqs-20240712:1.0.0"
},
Expand Down
20 changes: 13 additions & 7 deletions iqs-20240712/api-info.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,21 @@
"apiDoc": {
"hasDoc": [
"CommonQueryByScene",
"TransitIntegratedDirection",
"NearbySearchNova",
"PlaceSearchNova",
"RgeoCode",
"DrivingDirectionNova",
"WalkingDirectionNova",
"ElectrobikeDirectionNova",
"PlaceSearchNova",
"BicyclingDirectionNova",
"GeoCode",
"BicyclingDirectionNova"
"QueryHotels",
"QueryRestaurantsNl",
"QueryHotelsNl",
"WalkingDirectionNova",
"QueryAttractions",
"NearbySearchNova",
"QueryAttractionsNl",
"RgeoCode",
"QueryRestaurants",
"TransitIntegratedDirection",
"ElectrobikeDirectionNova"
],
"noDoc": []
},
Expand Down
18 changes: 12 additions & 6 deletions iqs-20240712/async/api-info.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,22 @@
"version": "2024-07-12",
"apiDoc": {
"hasDoc": [
"DrivingDirectionNova",
"CommonQueryByScene",
"BicyclingDirectionNova",
"ElectrobikeDirectionNova",
"QueryHotels",
"NearbySearchNova",
"ElectrobikeDirectionNova",
"QueryRestaurantsNl",
"RgeoCode",
"GeoCode",
"CommonQueryByScene",
"TransitIntegratedDirection",
"QueryAttractions",
"QueryRestaurants",
"PlaceSearchNova",
"DrivingDirectionNova",
"WalkingDirectionNova",
"RgeoCode",
"TransitIntegratedDirection"
"QueryAttractionsNl",
"QueryHotelsNl",
"WalkingDirectionNova"
],
"noDoc": []
},
Expand Down
132 changes: 132 additions & 0 deletions iqs-20240712/async/main.dara
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ model QueryResult {
address?: string(name='address'),
cityCode?: string(name='cityCode'),
cityName?: string(name='cityName'),
distanceMeter?: string(name='distanceMeter'),
districtCode?: string(name='districtCode'),
districtName?: string(name='districtName'),
id?: string(name='id'),
Expand All @@ -57,6 +58,7 @@ model QueryResult {
latitude?: string(name='latitude'),
longitude?: string(name='longitude'),
metadata?: {
averageSpend?: string(name='averageSpend'),
businessArea?: string(name='businessArea'),
dailyOpeningHours?: string(name='dailyOpeningHours'),
mainTag?: string(name='mainTag'),
Expand All @@ -71,6 +73,7 @@ model QueryResult {
types?: string(name='types'),
}
](name='data'),
requestId?: string(name='requestId'),
}

model BicyclingDirectionNovaRequest {
Expand Down Expand Up @@ -497,6 +500,135 @@ async function placeSearchNova(request: PlaceSearchNovaRequest): PlaceSearchNova
return @handler.do('RESTFUL', 'PlaceSearchNova', 'GET', '/ipaas/v2/pois/place', 'json', false, 'json', request);
}

model QueryAttractionsRequest {
body?: AgentBaseQuery(name='body', position='Body'),
}

model QueryAttractionsResponseBody = {
queryResult?: QueryResult(name='queryResult'),
requestId?: string(name='requestId', description='Id of the request', example='ECB2144C-E277-5434-80E6-12D26678D364'),
}

model QueryAttractionsResponse = {
headers?: map[string]string(name='headers'),
statusCode?: int32(name='statusCode'),
body?: QueryAttractionsResponseBody(name='body'),
}

/**
* @param request the request parameters of QueryAttractions QueryAttractionsRequest
* @return QueryAttractionsResponse
*/
async function queryAttractions(request: QueryAttractionsRequest): QueryAttractionsResponse {
@handler.validateRequestModel(request);
return @handler.do('RESTFUL', 'QueryAttractions', 'POST', '/amap-function-call-agent/iqs-agent-service/v1/nl/attractions', 'json', false, 'json', request);
}

model QueryAttractionsNlRequest {
body?: AgentBaseQuery(name='body', position='Body'),
}

model QueryAttractionsNlResponse = {
headers?: map[string]string(name='headers'),
statusCode?: int32(name='statusCode'),
body?: QueryResult
}

/**
* @param request the request parameters of QueryAttractionsNl QueryAttractionsNlRequest
* @return QueryAttractionsNlResponse
*/
async function queryAttractionsNl(request: QueryAttractionsNlRequest): QueryAttractionsNlResponse {
@handler.validateRequestModel(request);
return @handler.do('RESTFUL', 'QueryAttractionsNl', 'POST', '/amap-function-call-agent/iqs-agent-service/v2/nl/attractions', 'json', false, 'json', request);
}

model QueryHotelsRequest {
body?: AgentBaseQuery(name='body', position='Body'),
}

model QueryHotelsResponseBody = {
queryResult?: QueryResult(name='queryResult'),
requestId?: string(name='requestId', description='Id of the request', example='78032F8B-0157-53F9-B1A8-3BD86ADE38D0'),
}

model QueryHotelsResponse = {
headers?: map[string]string(name='headers'),
statusCode?: int32(name='statusCode'),
body?: QueryHotelsResponseBody(name='body'),
}

/**
* @param request the request parameters of QueryHotels QueryHotelsRequest
* @return QueryHotelsResponse
*/
async function queryHotels(request: QueryHotelsRequest): QueryHotelsResponse {
@handler.validateRequestModel(request);
return @handler.do('RESTFUL', 'QueryHotels', 'POST', '/amap-function-call-agent/iqs-agent-service/v1/nl/hotels', 'json', false, 'json', request);
}

model QueryHotelsNlRequest {
body?: AgentBaseQuery(name='body', position='Body'),
}

model QueryHotelsNlResponse = {
headers?: map[string]string(name='headers'),
statusCode?: int32(name='statusCode'),
body?: QueryResult
}

/**
* @param request the request parameters of QueryHotelsNl QueryHotelsNlRequest
* @return QueryHotelsNlResponse
*/
async function queryHotelsNl(request: QueryHotelsNlRequest): QueryHotelsNlResponse {
@handler.validateRequestModel(request);
return @handler.do('RESTFUL', 'QueryHotelsNl', 'POST', '/amap-function-call-agent/iqs-agent-service/v2/nl/hotels', 'json', false, 'json', request);
}

model QueryRestaurantsRequest {
body?: AgentBaseQuery(name='body', position='Body'),
}

model QueryRestaurantsResponseBody = {
queryResult?: QueryResult(name='queryResult'),
requestId?: string(name='requestId', description='Id of the request', example='D78E16C0-4D44-5065-BFF7-127F7859F687'),
}

model QueryRestaurantsResponse = {
headers?: map[string]string(name='headers'),
statusCode?: int32(name='statusCode'),
body?: QueryRestaurantsResponseBody(name='body'),
}

/**
* @param request the request parameters of QueryRestaurants QueryRestaurantsRequest
* @return QueryRestaurantsResponse
*/
async function queryRestaurants(request: QueryRestaurantsRequest): QueryRestaurantsResponse {
@handler.validateRequestModel(request);
return @handler.do('RESTFUL', 'QueryRestaurants', 'POST', '/amap-function-call-agent/iqs-agent-service/v1/nl/restaurants', 'json', false, 'json', request);
}

model QueryRestaurantsNlRequest {
body?: AgentBaseQuery(name='body', position='Body'),
}

model QueryRestaurantsNlResponse = {
headers?: map[string]string(name='headers'),
statusCode?: int32(name='statusCode'),
body?: QueryResult
}

/**
* @param request the request parameters of QueryRestaurantsNl QueryRestaurantsNlRequest
* @return QueryRestaurantsNlResponse
*/
async function queryRestaurantsNl(request: QueryRestaurantsNlRequest): QueryRestaurantsNlResponse {
@handler.validateRequestModel(request);
return @handler.do('RESTFUL', 'QueryRestaurantsNl', 'POST', '/amap-function-call-agent/iqs-agent-service/v2/nl/restaurants', 'json', false, 'json', request);
}

model RgeoCodeRequest {
latitude?: string(name='latitude', example='39.989027', position='Query'),
longitude?: string(name='longitude', example='116.310918', position='Query'),
Expand Down
Loading

0 comments on commit 821418d

Please sign in to comment.