Skip to content

Commit c74243b

Browse files
add updates
1 parent 2957a2e commit c74243b

5 files changed

Lines changed: 841 additions & 53 deletions

File tree

src/Aisearch/AisearchClient.php

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,14 @@
2020
/**
2121
* Client used to interact with aisearch.
2222
*
23+
* @method \Jdcloud\Result externalSubmitVirtualTryOnTaskBase64(array $args = [])
24+
* @method \GuzzleHttp\Promise\Promise externalSubmitVirtualTryOnTaskBase64Async(array $args = [])
25+
* @method \Jdcloud\Result externalSubmitSquareToLongTaskBase64(array $args = [])
26+
* @method \GuzzleHttp\Promise\Promise externalSubmitSquareToLongTaskBase64Async(array $args = [])
27+
* @method \Jdcloud\Result externalQueryTaskStatus(array $args = [])
28+
* @method \GuzzleHttp\Promise\Promise externalQueryTaskStatusAsync(array $args = [])
29+
* @method \Jdcloud\Result externalDownloadImage(array $args = [])
30+
* @method \GuzzleHttp\Promise\Promise externalDownloadImageAsync(array $args = [])
2331
* @method \Jdcloud\Result externalWebSearch(array $args = [])
2432
* @method \GuzzleHttp\Promise\Promise externalWebSearchAsync(array $args = [])
2533
*/

src/Aisearch/ChangeLog.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,5 @@ API版本:0.1.0
55
| 发布时间 | 版本号 | 更新 | 说明 |
66
|------------|-------|-------|------|
77
| 2025-04-29 | 0.1.0 | MVP版本 | 基础功能 |
8+
|------------|-------|-------|------|
9+
| 2025-12-29 | 0.2.0 | 图片处理 | 基础功能 |

src/Logs/LogsClient.php

Lines changed: 28 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,8 @@
2222
*
2323
* @method \Jdcloud\Result k8sAgentHeartbeat(array $args = [])
2424
* @method \GuzzleHttp\Promise\Promise k8sAgentHeartbeatAsync(array $args = [])
25+
* @method \Jdcloud\Result analysis(array $args = [])
26+
* @method \GuzzleHttp\Promise\Promise analysisAsync(array $args = [])
2527
* @method \Jdcloud\Result describeCollectInfo(array $args = [])
2628
* @method \GuzzleHttp\Promise\Promise describeCollectInfoAsync(array $args = [])
2729
* @method \Jdcloud\Result updateCollectInfo(array $args = [])
@@ -36,10 +38,22 @@
3638
* @method \GuzzleHttp\Promise\Promise updateCollectResourcesAsync(array $args = [])
3739
* @method \Jdcloud\Result describeCollectInfoBatch(array $args = [])
3840
* @method \GuzzleHttp\Promise\Promise describeCollectInfoBatchAsync(array $args = [])
41+
* @method \Jdcloud\Result describeCPCollectInfo(array $args = [])
42+
* @method \GuzzleHttp\Promise\Promise describeCPCollectInfoAsync(array $args = [])
43+
* @method \Jdcloud\Result updateCPCollectInfo(array $args = [])
44+
* @method \GuzzleHttp\Promise\Promise updateCPCollectInfoAsync(array $args = [])
45+
* @method \Jdcloud\Result deleteCPCollectInfo(array $args = [])
46+
* @method \GuzzleHttp\Promise\Promise deleteCPCollectInfoAsync(array $args = [])
47+
* @method \Jdcloud\Result describeCPCollectInfoBatch(array $args = [])
48+
* @method \GuzzleHttp\Promise\Promise describeCPCollectInfoBatchAsync(array $args = [])
3949
* @method \Jdcloud\Result describeCollectInfos(array $args = [])
4050
* @method \GuzzleHttp\Promise\Promise describeCollectInfosAsync(array $args = [])
4151
* @method \Jdcloud\Result createCollectInfo(array $args = [])
4252
* @method \GuzzleHttp\Promise\Promise createCollectInfoAsync(array $args = [])
53+
* @method \Jdcloud\Result describeCPCollectInfos(array $args = [])
54+
* @method \GuzzleHttp\Promise\Promise describeCPCollectInfosAsync(array $args = [])
55+
* @method \Jdcloud\Result createCPCollectInfo(array $args = [])
56+
* @method \GuzzleHttp\Promise\Promise createCPCollectInfoAsync(array $args = [])
4357
* @method \Jdcloud\Result createParser(array $args = [])
4458
* @method \GuzzleHttp\Promise\Promise createParserAsync(array $args = [])
4559
* @method \Jdcloud\Result describeParser(array $args = [])
@@ -74,6 +88,8 @@
7488
* @method \GuzzleHttp\Promise\Promise cancelLogDownloadTaskAsync(array $args = [])
7589
* @method \Jdcloud\Result getLogDownloadTasks(array $args = [])
7690
* @method \GuzzleHttp\Promise\Promise getLogDownloadTasksAsync(array $args = [])
91+
* @method \Jdcloud\Result describeLogsetsGlobal(array $args = [])
92+
* @method \GuzzleHttp\Promise\Promise describeLogsetsGlobalAsync(array $args = [])
7793
* @method \Jdcloud\Result describeLogsets(array $args = [])
7894
* @method \GuzzleHttp\Promise\Promise describeLogsetsAsync(array $args = [])
7995
* @method \Jdcloud\Result createLogset(array $args = [])
@@ -84,14 +100,16 @@
84100
* @method \GuzzleHttp\Promise\Promise updateLogsetAsync(array $args = [])
85101
* @method \Jdcloud\Result deleteLogset(array $args = [])
86102
* @method \GuzzleHttp\Promise\Promise deleteLogsetAsync(array $args = [])
103+
* @method \Jdcloud\Result describeLogtopicsGlobal(array $args = [])
104+
* @method \GuzzleHttp\Promise\Promise describeLogtopicsGlobalAsync(array $args = [])
105+
* @method \Jdcloud\Result hasArrearageStoppedLogtopic(array $args = [])
106+
* @method \GuzzleHttp\Promise\Promise hasArrearageStoppedLogtopicAsync(array $args = [])
87107
* @method \Jdcloud\Result describeLogtopics(array $args = [])
88108
* @method \GuzzleHttp\Promise\Promise describeLogtopicsAsync(array $args = [])
89109
* @method \Jdcloud\Result createLogtopic(array $args = [])
90110
* @method \GuzzleHttp\Promise\Promise createLogtopicAsync(array $args = [])
91111
* @method \Jdcloud\Result deleteLogtopic(array $args = [])
92112
* @method \GuzzleHttp\Promise\Promise deleteLogtopicAsync(array $args = [])
93-
* @method \Jdcloud\Result describeLogtopicsGlobal(array $args = [])
94-
* @method \GuzzleHttp\Promise\Promise describeLogtopicsGlobalAsync(array $args = [])
95113
* @method \Jdcloud\Result describeLogtopic(array $args = [])
96114
* @method \GuzzleHttp\Promise\Promise describeLogtopicAsync(array $args = [])
97115
* @method \Jdcloud\Result updateLogtopic(array $args = [])
@@ -140,6 +158,14 @@
140158
* @method \GuzzleHttp\Promise\Promise createSubscribeAsync(array $args = [])
141159
* @method \Jdcloud\Result updateSubscribe(array $args = [])
142160
* @method \GuzzleHttp\Promise\Promise updateSubscribeAsync(array $args = [])
161+
* @method \Jdcloud\Result usageDailyDetail(array $args = [])
162+
* @method \GuzzleHttp\Promise\Promise usageDailyDetailAsync(array $args = [])
163+
* @method \Jdcloud\Result usageOverall(array $args = [])
164+
* @method \GuzzleHttp\Promise\Promise usageOverallAsync(array $args = [])
165+
* @method \Jdcloud\Result usageTopN(array $args = [])
166+
* @method \GuzzleHttp\Promise\Promise usageTopNAsync(array $args = [])
167+
* @method \Jdcloud\Result usageTrend(array $args = [])
168+
* @method \GuzzleHttp\Promise\Promise usageTrendAsync(array $args = [])
143169
*/
144170
class LogsClient extends JdCloudClient
145171
{

src/data/aisearch/v1/api-2.json.php

Lines changed: 168 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,42 @@
1111
// 'serviceId' => 'aisearch',
1212
],
1313
'operations' => [
14+
'ExternalSubmitVirtualTryOnTaskBase64' => [
15+
'name' => 'ExternalSubmitVirtualTryOnTaskBase64',
16+
'http' => [
17+
'method' => 'POST',
18+
'requestUri' => '/v1/external:submitVirtualTryOnTaskBase64',
19+
],
20+
'input' => [ 'shape' => 'ExternalSubmitVirtualTryOnTaskBase64RequestShape', ],
21+
'output' => [ 'shape' => 'ExternalSubmitVirtualTryOnTaskBase64ResponseShape', ],
22+
],
23+
'ExternalSubmitSquareToLongTaskBase64' => [
24+
'name' => 'ExternalSubmitSquareToLongTaskBase64',
25+
'http' => [
26+
'method' => 'POST',
27+
'requestUri' => '/v1/external:submitSquareToLongTaskBase64',
28+
],
29+
'input' => [ 'shape' => 'ExternalSubmitSquareToLongTaskBase64RequestShape', ],
30+
'output' => [ 'shape' => 'ExternalSubmitSquareToLongTaskBase64ResponseShape', ],
31+
],
32+
'ExternalQueryTaskStatus' => [
33+
'name' => 'ExternalQueryTaskStatus',
34+
'http' => [
35+
'method' => 'POST',
36+
'requestUri' => '/v1/external:queryTaskStatus',
37+
],
38+
'input' => [ 'shape' => 'ExternalQueryTaskStatusRequestShape', ],
39+
'output' => [ 'shape' => 'ExternalQueryTaskStatusResponseShape', ],
40+
],
41+
'ExternalDownloadImage' => [
42+
'name' => 'ExternalDownloadImage',
43+
'http' => [
44+
'method' => 'POST',
45+
'requestUri' => '/v1/external:downloadImage',
46+
],
47+
'input' => [ 'shape' => 'ExternalDownloadImageRequestShape', ],
48+
'output' => [ 'shape' => 'ExternalDownloadImageResponseShape', ],
49+
],
1450
'ExternalWebSearch' => [
1551
'name' => 'ExternalWebSearch',
1652
'http' => [
@@ -31,6 +67,12 @@
3167
'thisMonthCallCount' => [ 'type' => 'long', 'locationName' => 'thisMonthCallCount', ],
3268
],
3369
],
70+
'AccountIsActivatedRespVo' => [
71+
'type' => 'structure',
72+
'members' => [
73+
'activated' => [ 'type' => 'string', 'locationName' => 'activated', ],
74+
],
75+
],
3476
'CallCountDataVo' => [
3577
'type' => 'structure',
3678
'members' => [
@@ -53,6 +95,25 @@
5395
'remainCallTimes' => [ 'type' => 'long', 'locationName' => 'remainCallTimes', ],
5496
],
5597
],
98+
'CloudTaskSubmitResponseVo' => [
99+
'type' => 'structure',
100+
'members' => [
101+
'taskId' => [ 'type' => 'string', 'locationName' => 'taskId', ],
102+
],
103+
],
104+
'CloudTaskStatusResponseVo' => [
105+
'type' => 'structure',
106+
'members' => [
107+
'status' => [ 'type' => 'integer', 'locationName' => 'status', ],
108+
'images' => [ 'type' => 'list', 'member' => [ 'type' => 'string', ], ],
109+
],
110+
],
111+
'CloudImageDownloadResponseVo' => [
112+
'type' => 'structure',
113+
'members' => [
114+
'imageBase64' => [ 'type' => 'string', 'locationName' => 'imageBase64', ],
115+
],
116+
],
56117
'UserApiKeyVo' => [
57118
'type' => 'structure',
58119
'members' => [
@@ -65,6 +126,15 @@
65126
'deletedFlag' => [ 'type' => 'integer', 'locationName' => 'deletedFlag', ],
66127
],
67128
],
129+
'UserApiKeyPageVo' => [
130+
'type' => 'structure',
131+
'members' => [
132+
'total' => [ 'type' => 'long', 'locationName' => 'total', ],
133+
'pageNum' => [ 'type' => 'integer', 'locationName' => 'pageNum', ],
134+
'pageSize' => [ 'type' => 'long', 'locationName' => 'pageSize', ],
135+
'list' => [ 'type' => 'list', 'member' => [ 'shape' => 'UserApiKeyVo', ], ],
136+
],
137+
],
68138
'ImageItemVo' => [
69139
'type' => 'structure',
70140
'members' => [
@@ -108,6 +178,104 @@
108178
'dateLastCrawled' => [ 'type' => 'string', 'locationName' => 'dateLastCrawled', ],
109179
],
110180
],
181+
'ExternalSubmitVirtualTryOnTaskBase64ResponseShape' => [
182+
'type' => 'structure',
183+
'members' => [
184+
'result' => [ 'shape' => 'ExternalSubmitVirtualTryOnTaskBase64ResultShape', ],
185+
'requestId' => [ 'type' => 'string', 'locationName' => 'requestId', ],
186+
],
187+
],
188+
'ExternalSubmitSquareToLongTaskBase64ResultShape' => [
189+
'type' => 'structure',
190+
'members' => [
191+
'requestId' => [ 'type' => 'string', 'locationName' => 'requestId', ],
192+
'code' => [ 'type' => 'string', 'locationName' => 'code', ],
193+
'msg' => [ 'type' => 'string', 'locationName' => 'msg', ],
194+
'data' => [ 'shape' => 'CloudTaskSubmitResponseVo', ],
195+
],
196+
],
197+
'ExternalSubmitSquareToLongTaskBase64ResponseShape' => [
198+
'type' => 'structure',
199+
'members' => [
200+
'result' => [ 'shape' => 'ExternalSubmitSquareToLongTaskBase64ResultShape', ],
201+
'requestId' => [ 'type' => 'string', 'locationName' => 'requestId', ],
202+
],
203+
],
204+
'ExternalDownloadImageResultShape' => [
205+
'type' => 'structure',
206+
'members' => [
207+
'requestId' => [ 'type' => 'string', 'locationName' => 'requestId', ],
208+
'code' => [ 'type' => 'string', 'locationName' => 'code', ],
209+
'msg' => [ 'type' => 'string', 'locationName' => 'msg', ],
210+
'data' => [ 'shape' => 'CloudImageDownloadResponseVo', ],
211+
],
212+
],
213+
'ExternalSubmitVirtualTryOnTaskBase64RequestShape' => [
214+
'type' => 'structure',
215+
'members' => [
216+
'apiKey' => [ 'type' => 'string', 'locationName' => 'apiKey', ],
217+
'requestId' => [ 'type' => 'string', 'locationName' => 'requestId', ],
218+
'modelImageBase64' => [ 'type' => 'string', 'locationName' => 'modelImageBase64', ],
219+
'clothesImageBase64' => [ 'type' => 'string', 'locationName' => 'clothesImageBase64', ],
220+
],
221+
],
222+
'ExternalDownloadImageRequestShape' => [
223+
'type' => 'structure',
224+
'members' => [
225+
'apiKey' => [ 'type' => 'string', 'locationName' => 'apiKey', ],
226+
'requestId' => [ 'type' => 'string', 'locationName' => 'requestId', ],
227+
'imageId' => [ 'type' => 'string', 'locationName' => 'imageId', ],
228+
'taskId' => [ 'type' => 'string', 'locationName' => 'taskId', ],
229+
],
230+
],
231+
'ExternalSubmitVirtualTryOnTaskBase64ResultShape' => [
232+
'type' => 'structure',
233+
'members' => [
234+
'requestId' => [ 'type' => 'string', 'locationName' => 'requestId', ],
235+
'code' => [ 'type' => 'string', 'locationName' => 'code', ],
236+
'msg' => [ 'type' => 'string', 'locationName' => 'msg', ],
237+
'data' => [ 'shape' => 'CloudTaskSubmitResponseVo', ],
238+
],
239+
],
240+
'ExternalQueryTaskStatusRequestShape' => [
241+
'type' => 'structure',
242+
'members' => [
243+
'apiKey' => [ 'type' => 'string', 'locationName' => 'apiKey', ],
244+
'requestId' => [ 'type' => 'string', 'locationName' => 'requestId', ],
245+
'taskId' => [ 'type' => 'string', 'locationName' => 'taskId', ],
246+
],
247+
],
248+
'ExternalQueryTaskStatusResultShape' => [
249+
'type' => 'structure',
250+
'members' => [
251+
'requestId' => [ 'type' => 'string', 'locationName' => 'requestId', ],
252+
'code' => [ 'type' => 'string', 'locationName' => 'code', ],
253+
'msg' => [ 'type' => 'string', 'locationName' => 'msg', ],
254+
'data' => [ 'shape' => 'CloudTaskStatusResponseVo', ],
255+
],
256+
],
257+
'ExternalQueryTaskStatusResponseShape' => [
258+
'type' => 'structure',
259+
'members' => [
260+
'result' => [ 'shape' => 'ExternalQueryTaskStatusResultShape', ],
261+
'requestId' => [ 'type' => 'string', 'locationName' => 'requestId', ],
262+
],
263+
],
264+
'ExternalSubmitSquareToLongTaskBase64RequestShape' => [
265+
'type' => 'structure',
266+
'members' => [
267+
'apiKey' => [ 'type' => 'string', 'locationName' => 'apiKey', ],
268+
'requestId' => [ 'type' => 'string', 'locationName' => 'requestId', ],
269+
'imageBase64' => [ 'type' => 'string', 'locationName' => 'imageBase64', ],
270+
],
271+
],
272+
'ExternalDownloadImageResponseShape' => [
273+
'type' => 'structure',
274+
'members' => [
275+
'result' => [ 'shape' => 'ExternalDownloadImageResultShape', ],
276+
'requestId' => [ 'type' => 'string', 'locationName' => 'requestId', ],
277+
],
278+
],
111279
'ExternalWebSearchResultShape' => [
112280
'type' => 'structure',
113281
'members' => [

0 commit comments

Comments
 (0)