@djvlc/openapi-user-client 1.2.0 → 1.3.0

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/dist/index.d.mts CHANGED
@@ -1,171 +1,2566 @@
1
- import { ApiResponse, PageResolveResult, ActionExecuteRequest, ActionExecuteResponse, DataQueryRequest, DataQueryResponse, TrackEvent, HealthCheckResponse } from '@djvlc/contracts-types';
2
- export { ActionContext, ActionExecuteRequest, ActionExecuteResponse, ApiResponse, BlockedComponent, DataQueryContext, DataQueryRequest, DataQueryResponse, HealthCheckResponse, ManifestItem, PageManifest, PageResolveRequest, PageResolveResult, RuntimeConfig, TrackEvent } from '@djvlc/contracts-types';
1
+ interface ConfigurationParameters {
2
+ basePath?: string;
3
+ fetchApi?: FetchAPI;
4
+ middleware?: Middleware[];
5
+ queryParamsStringify?: (params: HTTPQuery) => string;
6
+ username?: string;
7
+ password?: string;
8
+ apiKey?: string | Promise<string> | ((name: string) => string | Promise<string>);
9
+ accessToken?: string | Promise<string> | ((name?: string, scopes?: string[]) => string | Promise<string>);
10
+ headers?: HTTPHeaders;
11
+ credentials?: RequestCredentials;
12
+ }
13
+ declare class Configuration {
14
+ private configuration;
15
+ constructor(configuration?: ConfigurationParameters);
16
+ set config(configuration: Configuration);
17
+ get basePath(): string;
18
+ get fetchApi(): FetchAPI | undefined;
19
+ get middleware(): Middleware[];
20
+ get queryParamsStringify(): (params: HTTPQuery) => string;
21
+ get username(): string | undefined;
22
+ get password(): string | undefined;
23
+ get apiKey(): ((name: string) => string | Promise<string>) | undefined;
24
+ get accessToken(): ((name?: string, scopes?: string[]) => string | Promise<string>) | undefined;
25
+ get headers(): HTTPHeaders | undefined;
26
+ get credentials(): RequestCredentials | undefined;
27
+ }
28
+ /**
29
+ * This is the base class for all generated API classes.
30
+ */
31
+ declare class BaseAPI {
32
+ protected configuration: Configuration;
33
+ private static readonly jsonRegex;
34
+ private middleware;
35
+ constructor(configuration?: Configuration);
36
+ withMiddleware<T extends BaseAPI>(this: T, ...middlewares: Middleware[]): T;
37
+ withPreMiddleware<T extends BaseAPI>(this: T, ...preMiddlewares: Array<Middleware['pre']>): T;
38
+ withPostMiddleware<T extends BaseAPI>(this: T, ...postMiddlewares: Array<Middleware['post']>): T;
39
+ /**
40
+ * Check if the given MIME is a JSON MIME.
41
+ * JSON MIME examples:
42
+ * application/json
43
+ * application/json; charset=UTF8
44
+ * APPLICATION/JSON
45
+ * application/vnd.company+json
46
+ * @param mime - MIME (Multipurpose Internet Mail Extensions)
47
+ * @return True if the given MIME is JSON, false otherwise.
48
+ */
49
+ protected isJsonMime(mime: string | null | undefined): boolean;
50
+ protected request(context: RequestOpts, initOverrides?: RequestInit | InitOverrideFunction): Promise<Response>;
51
+ private createFetchParams;
52
+ private fetchApi;
53
+ /**
54
+ * Create a shallow clone of `this` by constructing a new instance
55
+ * and then shallow cloning data members.
56
+ */
57
+ private clone;
58
+ }
59
+ type FetchAPI = WindowOrWorkerGlobalScope['fetch'];
60
+ type Json = any;
61
+ type HTTPMethod = 'GET' | 'POST' | 'PUT' | 'PATCH' | 'DELETE' | 'OPTIONS' | 'HEAD';
62
+ type HTTPHeaders = {
63
+ [key: string]: string;
64
+ };
65
+ type HTTPQuery = {
66
+ [key: string]: string | number | null | boolean | Array<string | number | null | boolean> | Set<string | number | null | boolean> | HTTPQuery;
67
+ };
68
+ type HTTPBody = Json | FormData | URLSearchParams;
69
+ type HTTPRequestInit = {
70
+ headers?: HTTPHeaders;
71
+ method: HTTPMethod;
72
+ credentials?: RequestCredentials;
73
+ body?: HTTPBody;
74
+ };
75
+ type InitOverrideFunction = (requestContext: {
76
+ init: HTTPRequestInit;
77
+ context: RequestOpts;
78
+ }) => Promise<RequestInit>;
79
+ interface FetchParams {
80
+ url: string;
81
+ init: RequestInit;
82
+ }
83
+ interface RequestOpts {
84
+ path: string;
85
+ method: HTTPMethod;
86
+ headers: HTTPHeaders;
87
+ query?: HTTPQuery;
88
+ body?: HTTPBody;
89
+ }
90
+ interface RequestContext {
91
+ fetch: FetchAPI;
92
+ url: string;
93
+ init: RequestInit;
94
+ }
95
+ interface ResponseContext {
96
+ fetch: FetchAPI;
97
+ url: string;
98
+ init: RequestInit;
99
+ response: Response;
100
+ }
101
+ interface ErrorContext {
102
+ fetch: FetchAPI;
103
+ url: string;
104
+ init: RequestInit;
105
+ error: unknown;
106
+ response?: Response;
107
+ }
108
+ interface Middleware {
109
+ pre?(context: RequestContext): Promise<FetchParams | void>;
110
+ post?(context: ResponseContext): Promise<Response | void>;
111
+ onError?(context: ErrorContext): Promise<Response | void>;
112
+ }
113
+ interface ApiResponse<T> {
114
+ raw: Response;
115
+ value(): Promise<T>;
116
+ }
117
+
118
+ /**
119
+ * DJV Low-code Platform - User API
120
+ * DJV 低代码平台用户端 API(数据面),用于: - 页面解析(Page Resolve) - 动作执行(Action Gateway) - 数据查询(Data Proxy) - 埋点上报(Track) - 活动状态查询
121
+ *
122
+ * The version of the OpenAPI document: 1.0.0
123
+ * Contact: djv@example.com
124
+ *
125
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
126
+ * https://openapi-generator.tech
127
+ * Do not edit the class manually.
128
+ */
129
+ /**
130
+ * Action 执行上下文
131
+ * @export
132
+ * @interface ActionContext
133
+ */
134
+ interface ActionContext {
135
+ /**
136
+ * 页面版本 ID
137
+ * @type {string}
138
+ * @memberof ActionContext
139
+ */
140
+ pageVersionId?: string;
141
+ /**
142
+ * 触发组件版本
143
+ * @type {string}
144
+ * @memberof ActionContext
145
+ */
146
+ componentVersion?: string;
147
+ /**
148
+ * 用户 ID
149
+ * @type {string}
150
+ * @memberof ActionContext
151
+ */
152
+ uid?: string;
153
+ /**
154
+ * 设备 ID
155
+ * @type {string}
156
+ * @memberof ActionContext
157
+ */
158
+ deviceId?: string;
159
+ /**
160
+ * 渠道
161
+ * @type {string}
162
+ * @memberof ActionContext
163
+ */
164
+ channel?: string;
165
+ /**
166
+ * 追踪 ID
167
+ * @type {string}
168
+ * @memberof ActionContext
169
+ */
170
+ traceId?: string;
171
+ /**
172
+ * 扩展字段
173
+ * @type {{ [key: string]: any; }}
174
+ * @memberof ActionContext
175
+ */
176
+ extra?: {
177
+ [key: string]: any;
178
+ };
179
+ }
180
+ /**
181
+ * Check if a given object implements the ActionContext interface.
182
+ */
183
+ declare function instanceOfActionContext(value: object): value is ActionContext;
184
+ declare function ActionContextFromJSON(json: any): ActionContext;
185
+ declare function ActionContextFromJSONTyped(json: any, ignoreDiscriminator: boolean): ActionContext;
186
+ declare function ActionContextToJSON(json: any): ActionContext;
187
+ declare function ActionContextToJSONTyped(value?: ActionContext | null, ignoreDiscriminator?: boolean): any;
188
+
189
+ /**
190
+ * DJV Low-code Platform - User API
191
+ * DJV 低代码平台用户端 API(数据面),用于: - 页面解析(Page Resolve) - 动作执行(Action Gateway) - 数据查询(Data Proxy) - 埋点上报(Track) - 活动状态查询
192
+ *
193
+ * The version of the OpenAPI document: 1.0.0
194
+ * Contact: djv@example.com
195
+ *
196
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
197
+ * https://openapi-generator.tech
198
+ * Do not edit the class manually.
199
+ */
200
+
201
+ /**
202
+ * Action 执行请求
203
+ * @export
204
+ * @interface ActionExecuteRequest
205
+ */
206
+ interface ActionExecuteRequest {
207
+ /**
208
+ * 动作类型
209
+ * @type {string}
210
+ * @memberof ActionExecuteRequest
211
+ */
212
+ actionType: string;
213
+ /**
214
+ * 动作参数
215
+ * @type {{ [key: string]: any; }}
216
+ * @memberof ActionExecuteRequest
217
+ */
218
+ params: {
219
+ [key: string]: any;
220
+ };
221
+ /**
222
+ *
223
+ * @type {ActionContext}
224
+ * @memberof ActionExecuteRequest
225
+ */
226
+ context: ActionContext;
227
+ /**
228
+ * 幂等键(防重复提交)
229
+ * @type {string}
230
+ * @memberof ActionExecuteRequest
231
+ */
232
+ idempotencyKey?: string;
233
+ }
234
+ /**
235
+ * Check if a given object implements the ActionExecuteRequest interface.
236
+ */
237
+ declare function instanceOfActionExecuteRequest(value: object): value is ActionExecuteRequest;
238
+ declare function ActionExecuteRequestFromJSON(json: any): ActionExecuteRequest;
239
+ declare function ActionExecuteRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): ActionExecuteRequest;
240
+ declare function ActionExecuteRequestToJSON(json: any): ActionExecuteRequest;
241
+ declare function ActionExecuteRequestToJSONTyped(value?: ActionExecuteRequest | null, ignoreDiscriminator?: boolean): any;
242
+
243
+ /**
244
+ * DJV Low-code Platform - User API
245
+ * DJV 低代码平台用户端 API(数据面),用于: - 页面解析(Page Resolve) - 动作执行(Action Gateway) - 数据查询(Data Proxy) - 埋点上报(Track) - 活动状态查询
246
+ *
247
+ * The version of the OpenAPI document: 1.0.0
248
+ * Contact: djv@example.com
249
+ *
250
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
251
+ * https://openapi-generator.tech
252
+ * Do not edit the class manually.
253
+ */
254
+ /**
255
+ * Action 执行响应
256
+ * @export
257
+ * @interface ActionExecuteResponse
258
+ */
259
+ interface ActionExecuteResponse {
260
+ /**
261
+ * 是否成功
262
+ * @type {boolean}
263
+ * @memberof ActionExecuteResponse
264
+ */
265
+ success: boolean;
266
+ /**
267
+ * 响应数据(类型由 actionType 决定)
268
+ * @type {any}
269
+ * @memberof ActionExecuteResponse
270
+ */
271
+ data?: any | null;
272
+ /**
273
+ * 业务错误码
274
+ * @type {number}
275
+ * @memberof ActionExecuteResponse
276
+ */
277
+ code?: number;
278
+ /**
279
+ * 错误信息
280
+ * @type {string}
281
+ * @memberof ActionExecuteResponse
282
+ */
283
+ message?: string;
284
+ /**
285
+ * 追踪 ID
286
+ * @type {string}
287
+ * @memberof ActionExecuteResponse
288
+ */
289
+ traceId?: string;
290
+ }
291
+ /**
292
+ * Check if a given object implements the ActionExecuteResponse interface.
293
+ */
294
+ declare function instanceOfActionExecuteResponse(value: object): value is ActionExecuteResponse;
295
+ declare function ActionExecuteResponseFromJSON(json: any): ActionExecuteResponse;
296
+ declare function ActionExecuteResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): ActionExecuteResponse;
297
+ declare function ActionExecuteResponseToJSON(json: any): ActionExecuteResponse;
298
+ declare function ActionExecuteResponseToJSONTyped(value?: ActionExecuteResponse | null, ignoreDiscriminator?: boolean): any;
299
+
300
+ /**
301
+ * DJV Low-code Platform - User API
302
+ * DJV 低代码平台用户端 API(数据面),用于: - 页面解析(Page Resolve) - 动作执行(Action Gateway) - 数据查询(Data Proxy) - 埋点上报(Track) - 活动状态查询
303
+ *
304
+ * The version of the OpenAPI document: 1.0.0
305
+ * Contact: djv@example.com
306
+ *
307
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
308
+ * https://openapi-generator.tech
309
+ * Do not edit the class manually.
310
+ */
311
+ /**
312
+ * 任务进度(任务类活动)
313
+ * @export
314
+ * @interface UserActivityStateProgress
315
+ */
316
+ interface UserActivityStateProgress {
317
+ /**
318
+ *
319
+ * @type {number}
320
+ * @memberof UserActivityStateProgress
321
+ */
322
+ current?: number;
323
+ /**
324
+ *
325
+ * @type {number}
326
+ * @memberof UserActivityStateProgress
327
+ */
328
+ target?: number;
329
+ /**
330
+ *
331
+ * @type {number}
332
+ * @memberof UserActivityStateProgress
333
+ */
334
+ percentage?: number;
335
+ }
336
+ /**
337
+ * Check if a given object implements the UserActivityStateProgress interface.
338
+ */
339
+ declare function instanceOfUserActivityStateProgress(value: object): value is UserActivityStateProgress;
340
+ declare function UserActivityStateProgressFromJSON(json: any): UserActivityStateProgress;
341
+ declare function UserActivityStateProgressFromJSONTyped(json: any, ignoreDiscriminator: boolean): UserActivityStateProgress;
342
+ declare function UserActivityStateProgressToJSON(json: any): UserActivityStateProgress;
343
+ declare function UserActivityStateProgressToJSONTyped(value?: UserActivityStateProgress | null, ignoreDiscriminator?: boolean): any;
344
+
345
+ /**
346
+ * DJV Low-code Platform - User API
347
+ * DJV 低代码平台用户端 API(数据面),用于: - 页面解析(Page Resolve) - 动作执行(Action Gateway) - 数据查询(Data Proxy) - 埋点上报(Track) - 活动状态查询
348
+ *
349
+ * The version of the OpenAPI document: 1.0.0
350
+ * Contact: djv@example.com
351
+ *
352
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
353
+ * https://openapi-generator.tech
354
+ * Do not edit the class manually.
355
+ */
356
+
357
+ /**
358
+ * 用户活动状态
359
+ * @export
360
+ * @interface UserActivityState
361
+ */
362
+ interface UserActivityState {
363
+ /**
364
+ * 是否已参与
365
+ * @type {boolean}
366
+ * @memberof UserActivityState
367
+ */
368
+ participated?: boolean;
369
+ /**
370
+ * 已领取次数
371
+ * @type {number}
372
+ * @memberof UserActivityState
373
+ */
374
+ claimedCount?: number;
375
+ /**
376
+ * 剩余可领取次数
377
+ * @type {number}
378
+ * @memberof UserActivityState
379
+ */
380
+ remainingCount?: number;
381
+ /**
382
+ * 最后领取时间
383
+ * @type {string}
384
+ * @memberof UserActivityState
385
+ */
386
+ lastClaimedAt?: string;
387
+ /**
388
+ * 连续签到天数(签到类活动)
389
+ * @type {number}
390
+ * @memberof UserActivityState
391
+ */
392
+ consecutiveDays?: number;
393
+ /**
394
+ *
395
+ * @type {UserActivityStateProgress}
396
+ * @memberof UserActivityState
397
+ */
398
+ progress?: UserActivityStateProgress;
399
+ }
400
+ /**
401
+ * Check if a given object implements the UserActivityState interface.
402
+ */
403
+ declare function instanceOfUserActivityState(value: object): value is UserActivityState;
404
+ declare function UserActivityStateFromJSON(json: any): UserActivityState;
405
+ declare function UserActivityStateFromJSONTyped(json: any, ignoreDiscriminator: boolean): UserActivityState;
406
+ declare function UserActivityStateToJSON(json: any): UserActivityState;
407
+ declare function UserActivityStateToJSONTyped(value?: UserActivityState | null, ignoreDiscriminator?: boolean): any;
408
+
409
+ /**
410
+ * DJV Low-code Platform - User API
411
+ * DJV 低代码平台用户端 API(数据面),用于: - 页面解析(Page Resolve) - 动作执行(Action Gateway) - 数据查询(Data Proxy) - 埋点上报(Track) - 活动状态查询
412
+ *
413
+ * The version of the OpenAPI document: 1.0.0
414
+ * Contact: djv@example.com
415
+ *
416
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
417
+ * https://openapi-generator.tech
418
+ * Do not edit the class manually.
419
+ */
420
+ /**
421
+ * 活动基本信息
422
+ * @export
423
+ * @interface ActivityStateActivityInfo
424
+ */
425
+ interface ActivityStateActivityInfo {
426
+ /**
427
+ *
428
+ * @type {string}
429
+ * @memberof ActivityStateActivityInfo
430
+ */
431
+ name?: string;
432
+ /**
433
+ *
434
+ * @type {string}
435
+ * @memberof ActivityStateActivityInfo
436
+ */
437
+ startTime?: string;
438
+ /**
439
+ *
440
+ * @type {string}
441
+ * @memberof ActivityStateActivityInfo
442
+ */
443
+ endTime?: string;
444
+ }
445
+ /**
446
+ * Check if a given object implements the ActivityStateActivityInfo interface.
447
+ */
448
+ declare function instanceOfActivityStateActivityInfo(value: object): value is ActivityStateActivityInfo;
449
+ declare function ActivityStateActivityInfoFromJSON(json: any): ActivityStateActivityInfo;
450
+ declare function ActivityStateActivityInfoFromJSONTyped(json: any, ignoreDiscriminator: boolean): ActivityStateActivityInfo;
451
+ declare function ActivityStateActivityInfoToJSON(json: any): ActivityStateActivityInfo;
452
+ declare function ActivityStateActivityInfoToJSONTyped(value?: ActivityStateActivityInfo | null, ignoreDiscriminator?: boolean): any;
453
+
454
+ /**
455
+ * DJV Low-code Platform - User API
456
+ * DJV 低代码平台用户端 API(数据面),用于: - 页面解析(Page Resolve) - 动作执行(Action Gateway) - 数据查询(Data Proxy) - 埋点上报(Track) - 活动状态查询
457
+ *
458
+ * The version of the OpenAPI document: 1.0.0
459
+ * Contact: djv@example.com
460
+ *
461
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
462
+ * https://openapi-generator.tech
463
+ * Do not edit the class manually.
464
+ */
465
+
466
+ /**
467
+ * 活动状态
468
+ * @export
469
+ * @interface ActivityState
470
+ */
471
+ interface ActivityState {
472
+ /**
473
+ * 活动 ID
474
+ * @type {string}
475
+ * @memberof ActivityState
476
+ */
477
+ activityId?: string;
478
+ /**
479
+ * 活动状态
480
+ * @type {string}
481
+ * @memberof ActivityState
482
+ */
483
+ status?: ActivityStateStatusEnum;
484
+ /**
485
+ *
486
+ * @type {UserActivityState}
487
+ * @memberof ActivityState
488
+ */
489
+ userState?: UserActivityState;
490
+ /**
491
+ *
492
+ * @type {ActivityStateActivityInfo}
493
+ * @memberof ActivityState
494
+ */
495
+ activityInfo?: ActivityStateActivityInfo;
496
+ }
497
+ /**
498
+ * @export
499
+ */
500
+ declare const ActivityStateStatusEnum: {
501
+ readonly not_started: "not_started";
502
+ readonly active: "active";
503
+ readonly paused: "paused";
504
+ readonly ended: "ended";
505
+ };
506
+ type ActivityStateStatusEnum = typeof ActivityStateStatusEnum[keyof typeof ActivityStateStatusEnum];
507
+ /**
508
+ * Check if a given object implements the ActivityState interface.
509
+ */
510
+ declare function instanceOfActivityState(value: object): value is ActivityState;
511
+ declare function ActivityStateFromJSON(json: any): ActivityState;
512
+ declare function ActivityStateFromJSONTyped(json: any, ignoreDiscriminator: boolean): ActivityState;
513
+ declare function ActivityStateToJSON(json: any): ActivityState;
514
+ declare function ActivityStateToJSONTyped(value?: ActivityState | null, ignoreDiscriminator?: boolean): any;
515
+
516
+ /**
517
+ * DJV Low-code Platform - User API
518
+ * DJV 低代码平台用户端 API(数据面),用于: - 页面解析(Page Resolve) - 动作执行(Action Gateway) - 数据查询(Data Proxy) - 埋点上报(Track) - 活动状态查询
519
+ *
520
+ * The version of the OpenAPI document: 1.0.0
521
+ * Contact: djv@example.com
522
+ *
523
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
524
+ * https://openapi-generator.tech
525
+ * Do not edit the class manually.
526
+ */
527
+
528
+ /**
529
+ * 活动状态响应
530
+ * @export
531
+ * @interface ActivityStateResponse
532
+ */
533
+ interface ActivityStateResponse {
534
+ /**
535
+ *
536
+ * @type {boolean}
537
+ * @memberof ActivityStateResponse
538
+ */
539
+ success: boolean;
540
+ /**
541
+ *
542
+ * @type {ActivityState}
543
+ * @memberof ActivityStateResponse
544
+ */
545
+ data?: ActivityState;
546
+ /**
547
+ *
548
+ * @type {number}
549
+ * @memberof ActivityStateResponse
550
+ */
551
+ code?: number;
552
+ /**
553
+ *
554
+ * @type {string}
555
+ * @memberof ActivityStateResponse
556
+ */
557
+ message?: string;
558
+ /**
559
+ *
560
+ * @type {string}
561
+ * @memberof ActivityStateResponse
562
+ */
563
+ traceId?: string;
564
+ }
565
+ /**
566
+ * Check if a given object implements the ActivityStateResponse interface.
567
+ */
568
+ declare function instanceOfActivityStateResponse(value: object): value is ActivityStateResponse;
569
+ declare function ActivityStateResponseFromJSON(json: any): ActivityStateResponse;
570
+ declare function ActivityStateResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): ActivityStateResponse;
571
+ declare function ActivityStateResponseToJSON(json: any): ActivityStateResponse;
572
+ declare function ActivityStateResponseToJSONTyped(value?: ActivityStateResponse | null, ignoreDiscriminator?: boolean): any;
573
+
574
+ /**
575
+ * DJV Low-code Platform - User API
576
+ * DJV 低代码平台用户端 API(数据面),用于: - 页面解析(Page Resolve) - 动作执行(Action Gateway) - 数据查询(Data Proxy) - 埋点上报(Track) - 活动状态查询
577
+ *
578
+ * The version of the OpenAPI document: 1.0.0
579
+ * Contact: djv@example.com
580
+ *
581
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
582
+ * https://openapi-generator.tech
583
+ * Do not edit the class manually.
584
+ */
585
+ /**
586
+ *
587
+ * @export
588
+ * @interface BaseResponseVo
589
+ */
590
+ interface BaseResponseVo {
591
+ /**
592
+ * 请求是否成功
593
+ * @type {boolean}
594
+ * @memberof BaseResponseVo
595
+ */
596
+ success: boolean;
597
+ /**
598
+ * 业务状态码
599
+ * @type {string}
600
+ * @memberof BaseResponseVo
601
+ */
602
+ code: string;
603
+ /**
604
+ * 响应消息
605
+ * @type {string}
606
+ * @memberof BaseResponseVo
607
+ */
608
+ message: string;
609
+ /**
610
+ * 响应数据
611
+ * @type {object}
612
+ * @memberof BaseResponseVo
613
+ */
614
+ data: object;
615
+ /**
616
+ * 响应时间戳(毫秒)
617
+ * @type {number}
618
+ * @memberof BaseResponseVo
619
+ */
620
+ timestamp: number;
621
+ /**
622
+ * 请求路径
623
+ * @type {string}
624
+ * @memberof BaseResponseVo
625
+ */
626
+ path: string;
627
+ /**
628
+ * 请求ID(用于追踪)
629
+ * @type {string}
630
+ * @memberof BaseResponseVo
631
+ */
632
+ requestId?: string;
633
+ }
634
+ /**
635
+ * Check if a given object implements the BaseResponseVo interface.
636
+ */
637
+ declare function instanceOfBaseResponseVo(value: object): value is BaseResponseVo;
638
+ declare function BaseResponseVoFromJSON(json: any): BaseResponseVo;
639
+ declare function BaseResponseVoFromJSONTyped(json: any, ignoreDiscriminator: boolean): BaseResponseVo;
640
+ declare function BaseResponseVoToJSON(json: any): BaseResponseVo;
641
+ declare function BaseResponseVoToJSONTyped(value?: BaseResponseVo | null, ignoreDiscriminator?: boolean): any;
642
+
643
+ /**
644
+ * DJV Low-code Platform - User API
645
+ * DJV 低代码平台用户端 API(数据面),用于: - 页面解析(Page Resolve) - 动作执行(Action Gateway) - 数据查询(Data Proxy) - 埋点上报(Track) - 活动状态查询
646
+ *
647
+ * The version of the OpenAPI document: 1.0.0
648
+ * Contact: djv@example.com
649
+ *
650
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
651
+ * https://openapi-generator.tech
652
+ * Do not edit the class manually.
653
+ */
654
+ /**
655
+ * 被阻断的组件
656
+ * @export
657
+ * @interface BlockedComponent
658
+ */
659
+ interface BlockedComponent {
660
+ /**
661
+ * 组件名称
662
+ * @type {string}
663
+ * @memberof BlockedComponent
664
+ */
665
+ name: string;
666
+ /**
667
+ * 组件版本
668
+ * @type {string}
669
+ * @memberof BlockedComponent
670
+ */
671
+ version: string;
672
+ /**
673
+ * 阻断原因
674
+ * @type {string}
675
+ * @memberof BlockedComponent
676
+ */
677
+ reason: string;
678
+ /**
679
+ * 阻断时间
680
+ * @type {string}
681
+ * @memberof BlockedComponent
682
+ */
683
+ blockedAt: string;
684
+ /**
685
+ * 降级组件名称
686
+ * @type {string}
687
+ * @memberof BlockedComponent
688
+ */
689
+ fallbackComponent?: string;
690
+ }
691
+ /**
692
+ * Check if a given object implements the BlockedComponent interface.
693
+ */
694
+ declare function instanceOfBlockedComponent(value: object): value is BlockedComponent;
695
+ declare function BlockedComponentFromJSON(json: any): BlockedComponent;
696
+ declare function BlockedComponentFromJSONTyped(json: any, ignoreDiscriminator: boolean): BlockedComponent;
697
+ declare function BlockedComponentToJSON(json: any): BlockedComponent;
698
+ declare function BlockedComponentToJSONTyped(value?: BlockedComponent | null, ignoreDiscriminator?: boolean): any;
699
+
700
+ /**
701
+ * DJV Low-code Platform - User API
702
+ * DJV 低代码平台用户端 API(数据面),用于: - 页面解析(Page Resolve) - 动作执行(Action Gateway) - 数据查询(Data Proxy) - 埋点上报(Track) - 活动状态查询
703
+ *
704
+ * The version of the OpenAPI document: 1.0.0
705
+ * Contact: djv@example.com
706
+ *
707
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
708
+ * https://openapi-generator.tech
709
+ * Do not edit the class manually.
710
+ */
711
+ /**
712
+ * 数据查询上下文
713
+ * @export
714
+ * @interface DataQueryContext
715
+ */
716
+ interface DataQueryContext {
717
+ /**
718
+ * 页面版本 ID
719
+ * @type {string}
720
+ * @memberof DataQueryContext
721
+ */
722
+ pageVersionId?: string;
723
+ /**
724
+ * 用户 ID
725
+ * @type {string}
726
+ * @memberof DataQueryContext
727
+ */
728
+ uid?: string;
729
+ /**
730
+ * 追踪 ID
731
+ * @type {string}
732
+ * @memberof DataQueryContext
733
+ */
734
+ traceId?: string;
735
+ }
736
+ /**
737
+ * Check if a given object implements the DataQueryContext interface.
738
+ */
739
+ declare function instanceOfDataQueryContext(value: object): value is DataQueryContext;
740
+ declare function DataQueryContextFromJSON(json: any): DataQueryContext;
741
+ declare function DataQueryContextFromJSONTyped(json: any, ignoreDiscriminator: boolean): DataQueryContext;
742
+ declare function DataQueryContextToJSON(json: any): DataQueryContext;
743
+ declare function DataQueryContextToJSONTyped(value?: DataQueryContext | null, ignoreDiscriminator?: boolean): any;
744
+
745
+ /**
746
+ * DJV Low-code Platform - User API
747
+ * DJV 低代码平台用户端 API(数据面),用于: - 页面解析(Page Resolve) - 动作执行(Action Gateway) - 数据查询(Data Proxy) - 埋点上报(Track) - 活动状态查询
748
+ *
749
+ * The version of the OpenAPI document: 1.0.0
750
+ * Contact: djv@example.com
751
+ *
752
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
753
+ * https://openapi-generator.tech
754
+ * Do not edit the class manually.
755
+ */
756
+
757
+ /**
758
+ * 数据查询请求
759
+ * @export
760
+ * @interface DataQueryRequest
761
+ */
762
+ interface DataQueryRequest {
763
+ /**
764
+ * Query 版本 ID
765
+ * @type {string}
766
+ * @memberof DataQueryRequest
767
+ */
768
+ queryVersionId: string;
769
+ /**
770
+ * 查询参数
771
+ * @type {{ [key: string]: any; }}
772
+ * @memberof DataQueryRequest
773
+ */
774
+ params: {
775
+ [key: string]: any;
776
+ };
777
+ /**
778
+ *
779
+ * @type {DataQueryContext}
780
+ * @memberof DataQueryRequest
781
+ */
782
+ context?: DataQueryContext;
783
+ }
784
+ /**
785
+ * Check if a given object implements the DataQueryRequest interface.
786
+ */
787
+ declare function instanceOfDataQueryRequest(value: object): value is DataQueryRequest;
788
+ declare function DataQueryRequestFromJSON(json: any): DataQueryRequest;
789
+ declare function DataQueryRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): DataQueryRequest;
790
+ declare function DataQueryRequestToJSON(json: any): DataQueryRequest;
791
+ declare function DataQueryRequestToJSONTyped(value?: DataQueryRequest | null, ignoreDiscriminator?: boolean): any;
792
+
793
+ /**
794
+ * DJV Low-code Platform - User API
795
+ * DJV 低代码平台用户端 API(数据面),用于: - 页面解析(Page Resolve) - 动作执行(Action Gateway) - 数据查询(Data Proxy) - 埋点上报(Track) - 活动状态查询
796
+ *
797
+ * The version of the OpenAPI document: 1.0.0
798
+ * Contact: djv@example.com
799
+ *
800
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
801
+ * https://openapi-generator.tech
802
+ * Do not edit the class manually.
803
+ */
804
+ /**
805
+ * 数据查询响应
806
+ * @export
807
+ * @interface DataQueryResponse
808
+ */
809
+ interface DataQueryResponse {
810
+ /**
811
+ * 是否成功
812
+ * @type {boolean}
813
+ * @memberof DataQueryResponse
814
+ */
815
+ success: boolean;
816
+ /**
817
+ * 查询结果数据
818
+ * @type {any}
819
+ * @memberof DataQueryResponse
820
+ */
821
+ data?: any | null;
822
+ /**
823
+ * 是否来自缓存
824
+ * @type {boolean}
825
+ * @memberof DataQueryResponse
826
+ */
827
+ fromCache?: boolean;
828
+ /**
829
+ * 缓存时间(秒)
830
+ * @type {number}
831
+ * @memberof DataQueryResponse
832
+ */
833
+ cacheTime?: number;
834
+ /**
835
+ * 业务错误码
836
+ * @type {number}
837
+ * @memberof DataQueryResponse
838
+ */
839
+ code?: number;
840
+ /**
841
+ * 错误信息
842
+ * @type {string}
843
+ * @memberof DataQueryResponse
844
+ */
845
+ message?: string;
846
+ /**
847
+ * 追踪 ID
848
+ * @type {string}
849
+ * @memberof DataQueryResponse
850
+ */
851
+ traceId?: string;
852
+ }
853
+ /**
854
+ * Check if a given object implements the DataQueryResponse interface.
855
+ */
856
+ declare function instanceOfDataQueryResponse(value: object): value is DataQueryResponse;
857
+ declare function DataQueryResponseFromJSON(json: any): DataQueryResponse;
858
+ declare function DataQueryResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): DataQueryResponse;
859
+ declare function DataQueryResponseToJSON(json: any): DataQueryResponse;
860
+ declare function DataQueryResponseToJSONTyped(value?: DataQueryResponse | null, ignoreDiscriminator?: boolean): any;
861
+
862
+ /**
863
+ * DJV Low-code Platform - User API
864
+ * DJV 低代码平台用户端 API(数据面),用于: - 页面解析(Page Resolve) - 动作执行(Action Gateway) - 数据查询(Data Proxy) - 埋点上报(Track) - 活动状态查询
865
+ *
866
+ * The version of the OpenAPI document: 1.0.0
867
+ * Contact: djv@example.com
868
+ *
869
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
870
+ * https://openapi-generator.tech
871
+ * Do not edit the class manually.
872
+ */
873
+ /**
874
+ *
875
+ * @export
876
+ * @interface ErrorDetail
877
+ */
878
+ interface ErrorDetail {
879
+ /**
880
+ * 出错字段
881
+ * @type {string}
882
+ * @memberof ErrorDetail
883
+ */
884
+ field?: string;
885
+ /**
886
+ * 字段级错误码
887
+ * @type {string}
888
+ * @memberof ErrorDetail
889
+ */
890
+ code?: string;
891
+ /**
892
+ * 字段级错误信息
893
+ * @type {string}
894
+ * @memberof ErrorDetail
895
+ */
896
+ message?: string;
897
+ }
898
+ /**
899
+ * Check if a given object implements the ErrorDetail interface.
900
+ */
901
+ declare function instanceOfErrorDetail(value: object): value is ErrorDetail;
902
+ declare function ErrorDetailFromJSON(json: any): ErrorDetail;
903
+ declare function ErrorDetailFromJSONTyped(json: any, ignoreDiscriminator: boolean): ErrorDetail;
904
+ declare function ErrorDetailToJSON(json: any): ErrorDetail;
905
+ declare function ErrorDetailToJSONTyped(value?: ErrorDetail | null, ignoreDiscriminator?: boolean): any;
906
+
907
+ /**
908
+ * DJV Low-code Platform - User API
909
+ * DJV 低代码平台用户端 API(数据面),用于: - 页面解析(Page Resolve) - 动作执行(Action Gateway) - 数据查询(Data Proxy) - 埋点上报(Track) - 活动状态查询
910
+ *
911
+ * The version of the OpenAPI document: 1.0.0
912
+ * Contact: djv@example.com
913
+ *
914
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
915
+ * https://openapi-generator.tech
916
+ * Do not edit the class manually.
917
+ */
918
+
919
+ /**
920
+ *
921
+ * @export
922
+ * @interface ErrorResponseVo
923
+ */
924
+ interface ErrorResponseVo {
925
+ /**
926
+ * 请求是否成功
927
+ * @type {boolean}
928
+ * @memberof ErrorResponseVo
929
+ */
930
+ success: boolean;
931
+ /**
932
+ * 错误码
933
+ * @type {string}
934
+ * @memberof ErrorResponseVo
935
+ */
936
+ code: string;
937
+ /**
938
+ * 错误消息
939
+ * @type {string}
940
+ * @memberof ErrorResponseVo
941
+ */
942
+ message: string;
943
+ /**
944
+ * 响应时间戳(毫秒)
945
+ * @type {number}
946
+ * @memberof ErrorResponseVo
947
+ */
948
+ timestamp: number;
949
+ /**
950
+ * 请求路径
951
+ * @type {string}
952
+ * @memberof ErrorResponseVo
953
+ */
954
+ path: string;
955
+ /**
956
+ * 请求ID(用于追踪)
957
+ * @type {string}
958
+ * @memberof ErrorResponseVo
959
+ */
960
+ requestId?: string;
961
+ /**
962
+ * 详细错误信息(可选,用于字段级错误)
963
+ * @type {Array<ErrorDetail>}
964
+ * @memberof ErrorResponseVo
965
+ */
966
+ details?: Array<ErrorDetail>;
967
+ }
968
+ /**
969
+ * Check if a given object implements the ErrorResponseVo interface.
970
+ */
971
+ declare function instanceOfErrorResponseVo(value: object): value is ErrorResponseVo;
972
+ declare function ErrorResponseVoFromJSON(json: any): ErrorResponseVo;
973
+ declare function ErrorResponseVoFromJSONTyped(json: any, ignoreDiscriminator: boolean): ErrorResponseVo;
974
+ declare function ErrorResponseVoToJSON(json: any): ErrorResponseVo;
975
+ declare function ErrorResponseVoToJSONTyped(value?: ErrorResponseVo | null, ignoreDiscriminator?: boolean): any;
976
+
977
+ /**
978
+ * DJV Low-code Platform - User API
979
+ * DJV 低代码平台用户端 API(数据面),用于: - 页面解析(Page Resolve) - 动作执行(Action Gateway) - 数据查询(Data Proxy) - 埋点上报(Track) - 活动状态查询
980
+ *
981
+ * The version of the OpenAPI document: 1.0.0
982
+ * Contact: djv@example.com
983
+ *
984
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
985
+ * https://openapi-generator.tech
986
+ * Do not edit the class manually.
987
+ */
988
+
989
+ /**
990
+ *
991
+ * @export
992
+ * @interface ExecuteActionBatch200Response
993
+ */
994
+ interface ExecuteActionBatch200Response {
995
+ /**
996
+ *
997
+ * @type {boolean}
998
+ * @memberof ExecuteActionBatch200Response
999
+ */
1000
+ success: boolean;
1001
+ /**
1002
+ *
1003
+ * @type {Array<ActionExecuteResponse>}
1004
+ * @memberof ExecuteActionBatch200Response
1005
+ */
1006
+ data?: Array<ActionExecuteResponse>;
1007
+ /**
1008
+ *
1009
+ * @type {string}
1010
+ * @memberof ExecuteActionBatch200Response
1011
+ */
1012
+ traceId?: string;
1013
+ }
1014
+ /**
1015
+ * Check if a given object implements the ExecuteActionBatch200Response interface.
1016
+ */
1017
+ declare function instanceOfExecuteActionBatch200Response(value: object): value is ExecuteActionBatch200Response;
1018
+ declare function ExecuteActionBatch200ResponseFromJSON(json: any): ExecuteActionBatch200Response;
1019
+ declare function ExecuteActionBatch200ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): ExecuteActionBatch200Response;
1020
+ declare function ExecuteActionBatch200ResponseToJSON(json: any): ExecuteActionBatch200Response;
1021
+ declare function ExecuteActionBatch200ResponseToJSONTyped(value?: ExecuteActionBatch200Response | null, ignoreDiscriminator?: boolean): any;
1022
+
1023
+ /**
1024
+ * DJV Low-code Platform - User API
1025
+ * DJV 低代码平台用户端 API(数据面),用于: - 页面解析(Page Resolve) - 动作执行(Action Gateway) - 数据查询(Data Proxy) - 埋点上报(Track) - 活动状态查询
1026
+ *
1027
+ * The version of the OpenAPI document: 1.0.0
1028
+ * Contact: djv@example.com
1029
+ *
1030
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
1031
+ * https://openapi-generator.tech
1032
+ * Do not edit the class manually.
1033
+ */
1034
+
1035
+ /**
1036
+ *
1037
+ * @export
1038
+ * @interface ExecuteActionBatchRequest
1039
+ */
1040
+ interface ExecuteActionBatchRequest {
1041
+ /**
1042
+ * 动作列表
1043
+ * @type {Array<ActionExecuteRequest>}
1044
+ * @memberof ExecuteActionBatchRequest
1045
+ */
1046
+ actions: Array<ActionExecuteRequest>;
1047
+ /**
1048
+ * 遇到错误是否停止
1049
+ * @type {boolean}
1050
+ * @memberof ExecuteActionBatchRequest
1051
+ */
1052
+ stopOnError?: boolean;
1053
+ }
1054
+ /**
1055
+ * Check if a given object implements the ExecuteActionBatchRequest interface.
1056
+ */
1057
+ declare function instanceOfExecuteActionBatchRequest(value: object): value is ExecuteActionBatchRequest;
1058
+ declare function ExecuteActionBatchRequestFromJSON(json: any): ExecuteActionBatchRequest;
1059
+ declare function ExecuteActionBatchRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): ExecuteActionBatchRequest;
1060
+ declare function ExecuteActionBatchRequestToJSON(json: any): ExecuteActionBatchRequest;
1061
+ declare function ExecuteActionBatchRequestToJSONTyped(value?: ExecuteActionBatchRequest | null, ignoreDiscriminator?: boolean): any;
1062
+
1063
+ /**
1064
+ * DJV Low-code Platform - User API
1065
+ * DJV 低代码平台用户端 API(数据面),用于: - 页面解析(Page Resolve) - 动作执行(Action Gateway) - 数据查询(Data Proxy) - 埋点上报(Track) - 活动状态查询
1066
+ *
1067
+ * The version of the OpenAPI document: 1.0.0
1068
+ * Contact: djv@example.com
1069
+ *
1070
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
1071
+ * https://openapi-generator.tech
1072
+ * Do not edit the class manually.
1073
+ */
1074
+
1075
+ /**
1076
+ *
1077
+ * @export
1078
+ * @interface GetActivityStateBatch200Response
1079
+ */
1080
+ interface GetActivityStateBatch200Response {
1081
+ /**
1082
+ *
1083
+ * @type {boolean}
1084
+ * @memberof GetActivityStateBatch200Response
1085
+ */
1086
+ success: boolean;
1087
+ /**
1088
+ *
1089
+ * @type {Array<ActivityState>}
1090
+ * @memberof GetActivityStateBatch200Response
1091
+ */
1092
+ data?: Array<ActivityState>;
1093
+ /**
1094
+ *
1095
+ * @type {string}
1096
+ * @memberof GetActivityStateBatch200Response
1097
+ */
1098
+ traceId?: string;
1099
+ }
1100
+ /**
1101
+ * Check if a given object implements the GetActivityStateBatch200Response interface.
1102
+ */
1103
+ declare function instanceOfGetActivityStateBatch200Response(value: object): value is GetActivityStateBatch200Response;
1104
+ declare function GetActivityStateBatch200ResponseFromJSON(json: any): GetActivityStateBatch200Response;
1105
+ declare function GetActivityStateBatch200ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): GetActivityStateBatch200Response;
1106
+ declare function GetActivityStateBatch200ResponseToJSON(json: any): GetActivityStateBatch200Response;
1107
+ declare function GetActivityStateBatch200ResponseToJSONTyped(value?: GetActivityStateBatch200Response | null, ignoreDiscriminator?: boolean): any;
1108
+
1109
+ /**
1110
+ * DJV Low-code Platform - User API
1111
+ * DJV 低代码平台用户端 API(数据面),用于: - 页面解析(Page Resolve) - 动作执行(Action Gateway) - 数据查询(Data Proxy) - 埋点上报(Track) - 活动状态查询
1112
+ *
1113
+ * The version of the OpenAPI document: 1.0.0
1114
+ * Contact: djv@example.com
1115
+ *
1116
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
1117
+ * https://openapi-generator.tech
1118
+ * Do not edit the class manually.
1119
+ */
1120
+ /**
1121
+ *
1122
+ * @export
1123
+ * @interface GetActivityStateBatchRequest
1124
+ */
1125
+ interface GetActivityStateBatchRequest {
1126
+ /**
1127
+ * 活动 ID 列表
1128
+ * @type {Array<string>}
1129
+ * @memberof GetActivityStateBatchRequest
1130
+ */
1131
+ activityIds: Array<string>;
1132
+ /**
1133
+ * 用户 ID
1134
+ * @type {string}
1135
+ * @memberof GetActivityStateBatchRequest
1136
+ */
1137
+ uid?: string;
1138
+ }
1139
+ /**
1140
+ * Check if a given object implements the GetActivityStateBatchRequest interface.
1141
+ */
1142
+ declare function instanceOfGetActivityStateBatchRequest(value: object): value is GetActivityStateBatchRequest;
1143
+ declare function GetActivityStateBatchRequestFromJSON(json: any): GetActivityStateBatchRequest;
1144
+ declare function GetActivityStateBatchRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): GetActivityStateBatchRequest;
1145
+ declare function GetActivityStateBatchRequestToJSON(json: any): GetActivityStateBatchRequest;
1146
+ declare function GetActivityStateBatchRequestToJSONTyped(value?: GetActivityStateBatchRequest | null, ignoreDiscriminator?: boolean): any;
1147
+
1148
+ /**
1149
+ * DJV Low-code Platform - User API
1150
+ * DJV 低代码平台用户端 API(数据面),用于: - 页面解析(Page Resolve) - 动作执行(Action Gateway) - 数据查询(Data Proxy) - 埋点上报(Track) - 活动状态查询
1151
+ *
1152
+ * The version of the OpenAPI document: 1.0.0
1153
+ * Contact: djv@example.com
1154
+ *
1155
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
1156
+ * https://openapi-generator.tech
1157
+ * Do not edit the class manually.
1158
+ */
1159
+ /**
1160
+ *
1161
+ * @export
1162
+ * @interface HealthResponseChecksValue
1163
+ */
1164
+ interface HealthResponseChecksValue {
1165
+ /**
1166
+ *
1167
+ * @type {string}
1168
+ * @memberof HealthResponseChecksValue
1169
+ */
1170
+ status?: string;
1171
+ /**
1172
+ *
1173
+ * @type {number}
1174
+ * @memberof HealthResponseChecksValue
1175
+ */
1176
+ latency?: number;
1177
+ }
1178
+ /**
1179
+ * Check if a given object implements the HealthResponseChecksValue interface.
1180
+ */
1181
+ declare function instanceOfHealthResponseChecksValue(value: object): value is HealthResponseChecksValue;
1182
+ declare function HealthResponseChecksValueFromJSON(json: any): HealthResponseChecksValue;
1183
+ declare function HealthResponseChecksValueFromJSONTyped(json: any, ignoreDiscriminator: boolean): HealthResponseChecksValue;
1184
+ declare function HealthResponseChecksValueToJSON(json: any): HealthResponseChecksValue;
1185
+ declare function HealthResponseChecksValueToJSONTyped(value?: HealthResponseChecksValue | null, ignoreDiscriminator?: boolean): any;
1186
+
1187
+ /**
1188
+ * DJV Low-code Platform - User API
1189
+ * DJV 低代码平台用户端 API(数据面),用于: - 页面解析(Page Resolve) - 动作执行(Action Gateway) - 数据查询(Data Proxy) - 埋点上报(Track) - 活动状态查询
1190
+ *
1191
+ * The version of the OpenAPI document: 1.0.0
1192
+ * Contact: djv@example.com
1193
+ *
1194
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
1195
+ * https://openapi-generator.tech
1196
+ * Do not edit the class manually.
1197
+ */
1198
+
1199
+ /**
1200
+ *
1201
+ * @export
1202
+ * @interface HealthResponse
1203
+ */
1204
+ interface HealthResponse {
1205
+ /**
1206
+ * 健康状态
1207
+ * @type {string}
1208
+ * @memberof HealthResponse
1209
+ */
1210
+ status: HealthResponseStatusEnum;
1211
+ /**
1212
+ * 服务版本
1213
+ * @type {string}
1214
+ * @memberof HealthResponse
1215
+ */
1216
+ version: string;
1217
+ /**
1218
+ * 服务名称
1219
+ * @type {string}
1220
+ * @memberof HealthResponse
1221
+ */
1222
+ service?: string;
1223
+ /**
1224
+ * 时间戳
1225
+ * @type {number}
1226
+ * @memberof HealthResponse
1227
+ */
1228
+ timestamp?: number;
1229
+ /**
1230
+ * 各依赖健康状态
1231
+ * @type {{ [key: string]: HealthResponseChecksValue; }}
1232
+ * @memberof HealthResponse
1233
+ */
1234
+ checks?: {
1235
+ [key: string]: HealthResponseChecksValue;
1236
+ };
1237
+ }
1238
+ /**
1239
+ * @export
1240
+ */
1241
+ declare const HealthResponseStatusEnum: {
1242
+ readonly healthy: "healthy";
1243
+ readonly degraded: "degraded";
1244
+ readonly unhealthy: "unhealthy";
1245
+ };
1246
+ type HealthResponseStatusEnum = typeof HealthResponseStatusEnum[keyof typeof HealthResponseStatusEnum];
1247
+ /**
1248
+ * Check if a given object implements the HealthResponse interface.
1249
+ */
1250
+ declare function instanceOfHealthResponse(value: object): value is HealthResponse;
1251
+ declare function HealthResponseFromJSON(json: any): HealthResponse;
1252
+ declare function HealthResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): HealthResponse;
1253
+ declare function HealthResponseToJSON(json: any): HealthResponse;
1254
+ declare function HealthResponseToJSONTyped(value?: HealthResponse | null, ignoreDiscriminator?: boolean): any;
1255
+
1256
+ /**
1257
+ * DJV Low-code Platform - User API
1258
+ * DJV 低代码平台用户端 API(数据面),用于: - 页面解析(Page Resolve) - 动作执行(Action Gateway) - 数据查询(Data Proxy) - 埋点上报(Track) - 活动状态查询
1259
+ *
1260
+ * The version of the OpenAPI document: 1.0.0
1261
+ * Contact: djv@example.com
1262
+ *
1263
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
1264
+ * https://openapi-generator.tech
1265
+ * Do not edit the class manually.
1266
+ */
1267
+ /**
1268
+ * Manifest 组件项
1269
+ * @export
1270
+ * @interface ManifestItem
1271
+ */
1272
+ interface ManifestItem {
1273
+ /**
1274
+ * 组件名称
1275
+ * @type {string}
1276
+ * @memberof ManifestItem
1277
+ */
1278
+ name: string;
1279
+ /**
1280
+ * 组件版本
1281
+ * @type {string}
1282
+ * @memberof ManifestItem
1283
+ */
1284
+ version: string;
1285
+ /**
1286
+ * 入口 URL
1287
+ * @type {string}
1288
+ * @memberof ManifestItem
1289
+ */
1290
+ entryUrl: string;
1291
+ /**
1292
+ * SRI 完整性校验值
1293
+ * @type {string}
1294
+ * @memberof ManifestItem
1295
+ */
1296
+ integrity: string;
1297
+ /**
1298
+ * 是否为关键组件
1299
+ * @type {boolean}
1300
+ * @memberof ManifestItem
1301
+ */
1302
+ critical?: boolean;
1303
+ /**
1304
+ * 降级 URL
1305
+ * @type {string}
1306
+ * @memberof ManifestItem
1307
+ */
1308
+ fallbackUrl?: string;
1309
+ }
1310
+ /**
1311
+ * Check if a given object implements the ManifestItem interface.
1312
+ */
1313
+ declare function instanceOfManifestItem(value: object): value is ManifestItem;
1314
+ declare function ManifestItemFromJSON(json: any): ManifestItem;
1315
+ declare function ManifestItemFromJSONTyped(json: any, ignoreDiscriminator: boolean): ManifestItem;
1316
+ declare function ManifestItemToJSON(json: any): ManifestItem;
1317
+ declare function ManifestItemToJSONTyped(value?: ManifestItem | null, ignoreDiscriminator?: boolean): any;
1318
+
1319
+ /**
1320
+ * DJV Low-code Platform - User API
1321
+ * DJV 低代码平台用户端 API(数据面),用于: - 页面解析(Page Resolve) - 动作执行(Action Gateway) - 数据查询(Data Proxy) - 埋点上报(Track) - 活动状态查询
1322
+ *
1323
+ * The version of the OpenAPI document: 1.0.0
1324
+ * Contact: djv@example.com
1325
+ *
1326
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
1327
+ * https://openapi-generator.tech
1328
+ * Do not edit the class manually.
1329
+ */
1330
+
1331
+ /**
1332
+ * 页面 Manifest(组件版本清单)
1333
+ * @export
1334
+ * @interface PageManifest
1335
+ */
1336
+ interface PageManifest {
1337
+ /**
1338
+ * Manifest 版本
1339
+ * @type {string}
1340
+ * @memberof PageManifest
1341
+ */
1342
+ manifestVersion: string;
1343
+ /**
1344
+ * 内容哈希
1345
+ * @type {string}
1346
+ * @memberof PageManifest
1347
+ */
1348
+ contentHash: string;
1349
+ /**
1350
+ * 运行时版本
1351
+ * @type {string}
1352
+ * @memberof PageManifest
1353
+ */
1354
+ runtimeVersion: string;
1355
+ /**
1356
+ * 组件清单
1357
+ * @type {Array<ManifestItem>}
1358
+ * @memberof PageManifest
1359
+ */
1360
+ components: Array<ManifestItem>;
1361
+ /**
1362
+ * 生成时间
1363
+ * @type {string}
1364
+ * @memberof PageManifest
1365
+ */
1366
+ generatedAt: string;
1367
+ }
1368
+ /**
1369
+ * Check if a given object implements the PageManifest interface.
1370
+ */
1371
+ declare function instanceOfPageManifest(value: object): value is PageManifest;
1372
+ declare function PageManifestFromJSON(json: any): PageManifest;
1373
+ declare function PageManifestFromJSONTyped(json: any, ignoreDiscriminator: boolean): PageManifest;
1374
+ declare function PageManifestToJSON(json: any): PageManifest;
1375
+ declare function PageManifestToJSONTyped(value?: PageManifest | null, ignoreDiscriminator?: boolean): any;
1376
+
1377
+ /**
1378
+ * DJV Low-code Platform - User API
1379
+ * DJV 低代码平台用户端 API(数据面),用于: - 页面解析(Page Resolve) - 动作执行(Action Gateway) - 数据查询(Data Proxy) - 埋点上报(Track) - 活动状态查询
1380
+ *
1381
+ * The version of the OpenAPI document: 1.0.0
1382
+ * Contact: djv@example.com
1383
+ *
1384
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
1385
+ * https://openapi-generator.tech
1386
+ * Do not edit the class manually.
1387
+ */
1388
+ /**
1389
+ * 上报配置
1390
+ * @export
1391
+ * @interface RuntimeConfigReportConfig
1392
+ */
1393
+ interface RuntimeConfigReportConfig {
1394
+ /**
1395
+ *
1396
+ * @type {boolean}
1397
+ * @memberof RuntimeConfigReportConfig
1398
+ */
1399
+ enabled?: boolean;
1400
+ /**
1401
+ *
1402
+ * @type {number}
1403
+ * @memberof RuntimeConfigReportConfig
1404
+ */
1405
+ sampleRate?: number;
1406
+ /**
1407
+ *
1408
+ * @type {string}
1409
+ * @memberof RuntimeConfigReportConfig
1410
+ */
1411
+ endpoint?: string;
1412
+ }
1413
+ /**
1414
+ * Check if a given object implements the RuntimeConfigReportConfig interface.
1415
+ */
1416
+ declare function instanceOfRuntimeConfigReportConfig(value: object): value is RuntimeConfigReportConfig;
1417
+ declare function RuntimeConfigReportConfigFromJSON(json: any): RuntimeConfigReportConfig;
1418
+ declare function RuntimeConfigReportConfigFromJSONTyped(json: any, ignoreDiscriminator: boolean): RuntimeConfigReportConfig;
1419
+ declare function RuntimeConfigReportConfigToJSON(json: any): RuntimeConfigReportConfig;
1420
+ declare function RuntimeConfigReportConfigToJSONTyped(value?: RuntimeConfigReportConfig | null, ignoreDiscriminator?: boolean): any;
1421
+
1422
+ /**
1423
+ * DJV Low-code Platform - User API
1424
+ * DJV 低代码平台用户端 API(数据面),用于: - 页面解析(Page Resolve) - 动作执行(Action Gateway) - 数据查询(Data Proxy) - 埋点上报(Track) - 活动状态查询
1425
+ *
1426
+ * The version of the OpenAPI document: 1.0.0
1427
+ * Contact: djv@example.com
1428
+ *
1429
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
1430
+ * https://openapi-generator.tech
1431
+ * Do not edit the class manually.
1432
+ */
1433
+
1434
+ /**
1435
+ * 运行时配置
1436
+ * @export
1437
+ * @interface RuntimeConfig
1438
+ */
1439
+ interface RuntimeConfig {
1440
+ /**
1441
+ * Kill Switch 列表(被关闭的 actionType)
1442
+ * @type {Array<string>}
1443
+ * @memberof RuntimeConfig
1444
+ */
1445
+ killSwitches?: Array<string>;
1446
+ /**
1447
+ * 被阻断的组件列表
1448
+ * @type {Array<BlockedComponent>}
1449
+ * @memberof RuntimeConfig
1450
+ */
1451
+ blockedComponents?: Array<BlockedComponent>;
1452
+ /**
1453
+ * 特性开关
1454
+ * @type {{ [key: string]: boolean; }}
1455
+ * @memberof RuntimeConfig
1456
+ */
1457
+ features?: {
1458
+ [key: string]: boolean;
1459
+ };
1460
+ /**
1461
+ * 是否开启调试模式
1462
+ * @type {boolean}
1463
+ * @memberof RuntimeConfig
1464
+ */
1465
+ debug?: boolean;
1466
+ /**
1467
+ *
1468
+ * @type {RuntimeConfigReportConfig}
1469
+ * @memberof RuntimeConfig
1470
+ */
1471
+ reportConfig?: RuntimeConfigReportConfig;
1472
+ }
1473
+ /**
1474
+ * Check if a given object implements the RuntimeConfig interface.
1475
+ */
1476
+ declare function instanceOfRuntimeConfig(value: object): value is RuntimeConfig;
1477
+ declare function RuntimeConfigFromJSON(json: any): RuntimeConfig;
1478
+ declare function RuntimeConfigFromJSONTyped(json: any, ignoreDiscriminator: boolean): RuntimeConfig;
1479
+ declare function RuntimeConfigToJSON(json: any): RuntimeConfig;
1480
+ declare function RuntimeConfigToJSONTyped(value?: RuntimeConfig | null, ignoreDiscriminator?: boolean): any;
1481
+
1482
+ /**
1483
+ * DJV Low-code Platform - User API
1484
+ * DJV 低代码平台用户端 API(数据面),用于: - 页面解析(Page Resolve) - 动作执行(Action Gateway) - 数据查询(Data Proxy) - 埋点上报(Track) - 活动状态查询
1485
+ *
1486
+ * The version of the OpenAPI document: 1.0.0
1487
+ * Contact: djv@example.com
1488
+ *
1489
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
1490
+ * https://openapi-generator.tech
1491
+ * Do not edit the class manually.
1492
+ */
1493
+
1494
+ /**
1495
+ * 页面解析结果
1496
+ * @export
1497
+ * @interface PageResolveResult
1498
+ */
1499
+ interface PageResolveResult {
1500
+ /**
1501
+ * 页面 UID
1502
+ * @type {string}
1503
+ * @memberof PageResolveResult
1504
+ */
1505
+ pageUid: string;
1506
+ /**
1507
+ * 页面版本 ID
1508
+ * @type {string}
1509
+ * @memberof PageResolveResult
1510
+ */
1511
+ pageVersionId: string;
1512
+ /**
1513
+ * 页面 Schema(完整 JSON)
1514
+ * @type {object}
1515
+ * @memberof PageResolveResult
1516
+ */
1517
+ pageJson: object;
1518
+ /**
1519
+ *
1520
+ * @type {PageManifest}
1521
+ * @memberof PageResolveResult
1522
+ */
1523
+ manifest: PageManifest;
1524
+ /**
1525
+ *
1526
+ * @type {RuntimeConfig}
1527
+ * @memberof PageResolveResult
1528
+ */
1529
+ runtimeConfig: RuntimeConfig;
1530
+ /**
1531
+ * 运行时版本
1532
+ * @type {string}
1533
+ * @memberof PageResolveResult
1534
+ */
1535
+ runtimeVersion: string;
1536
+ /**
1537
+ * 是否为预览模式
1538
+ * @type {boolean}
1539
+ * @memberof PageResolveResult
1540
+ */
1541
+ isPreview?: boolean;
1542
+ }
1543
+ /**
1544
+ * Check if a given object implements the PageResolveResult interface.
1545
+ */
1546
+ declare function instanceOfPageResolveResult(value: object): value is PageResolveResult;
1547
+ declare function PageResolveResultFromJSON(json: any): PageResolveResult;
1548
+ declare function PageResolveResultFromJSONTyped(json: any, ignoreDiscriminator: boolean): PageResolveResult;
1549
+ declare function PageResolveResultToJSON(json: any): PageResolveResult;
1550
+ declare function PageResolveResultToJSONTyped(value?: PageResolveResult | null, ignoreDiscriminator?: boolean): any;
1551
+
1552
+ /**
1553
+ * DJV Low-code Platform - User API
1554
+ * DJV 低代码平台用户端 API(数据面),用于: - 页面解析(Page Resolve) - 动作执行(Action Gateway) - 数据查询(Data Proxy) - 埋点上报(Track) - 活动状态查询
1555
+ *
1556
+ * The version of the OpenAPI document: 1.0.0
1557
+ * Contact: djv@example.com
1558
+ *
1559
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
1560
+ * https://openapi-generator.tech
1561
+ * Do not edit the class manually.
1562
+ */
1563
+
1564
+ /**
1565
+ * 页面解析响应
1566
+ * @export
1567
+ * @interface PageResolveResponse
1568
+ */
1569
+ interface PageResolveResponse {
1570
+ /**
1571
+ *
1572
+ * @type {boolean}
1573
+ * @memberof PageResolveResponse
1574
+ */
1575
+ success: boolean;
1576
+ /**
1577
+ *
1578
+ * @type {PageResolveResult}
1579
+ * @memberof PageResolveResponse
1580
+ */
1581
+ data?: PageResolveResult;
1582
+ /**
1583
+ *
1584
+ * @type {number}
1585
+ * @memberof PageResolveResponse
1586
+ */
1587
+ code?: number;
1588
+ /**
1589
+ *
1590
+ * @type {string}
1591
+ * @memberof PageResolveResponse
1592
+ */
1593
+ message?: string;
1594
+ /**
1595
+ *
1596
+ * @type {string}
1597
+ * @memberof PageResolveResponse
1598
+ */
1599
+ traceId?: string;
1600
+ }
1601
+ /**
1602
+ * Check if a given object implements the PageResolveResponse interface.
1603
+ */
1604
+ declare function instanceOfPageResolveResponse(value: object): value is PageResolveResponse;
1605
+ declare function PageResolveResponseFromJSON(json: any): PageResolveResponse;
1606
+ declare function PageResolveResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): PageResolveResponse;
1607
+ declare function PageResolveResponseToJSON(json: any): PageResolveResponse;
1608
+ declare function PageResolveResponseToJSONTyped(value?: PageResolveResponse | null, ignoreDiscriminator?: boolean): any;
1609
+
1610
+ /**
1611
+ * DJV Low-code Platform - User API
1612
+ * DJV 低代码平台用户端 API(数据面),用于: - 页面解析(Page Resolve) - 动作执行(Action Gateway) - 数据查询(Data Proxy) - 埋点上报(Track) - 活动状态查询
1613
+ *
1614
+ * The version of the OpenAPI document: 1.0.0
1615
+ * Contact: djv@example.com
1616
+ *
1617
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
1618
+ * https://openapi-generator.tech
1619
+ * Do not edit the class manually.
1620
+ */
1621
+
1622
+ /**
1623
+ *
1624
+ * @export
1625
+ * @interface QueryDataBatch200Response
1626
+ */
1627
+ interface QueryDataBatch200Response {
1628
+ /**
1629
+ *
1630
+ * @type {boolean}
1631
+ * @memberof QueryDataBatch200Response
1632
+ */
1633
+ success: boolean;
1634
+ /**
1635
+ *
1636
+ * @type {Array<DataQueryResponse>}
1637
+ * @memberof QueryDataBatch200Response
1638
+ */
1639
+ data?: Array<DataQueryResponse>;
1640
+ /**
1641
+ *
1642
+ * @type {string}
1643
+ * @memberof QueryDataBatch200Response
1644
+ */
1645
+ traceId?: string;
1646
+ }
1647
+ /**
1648
+ * Check if a given object implements the QueryDataBatch200Response interface.
1649
+ */
1650
+ declare function instanceOfQueryDataBatch200Response(value: object): value is QueryDataBatch200Response;
1651
+ declare function QueryDataBatch200ResponseFromJSON(json: any): QueryDataBatch200Response;
1652
+ declare function QueryDataBatch200ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): QueryDataBatch200Response;
1653
+ declare function QueryDataBatch200ResponseToJSON(json: any): QueryDataBatch200Response;
1654
+ declare function QueryDataBatch200ResponseToJSONTyped(value?: QueryDataBatch200Response | null, ignoreDiscriminator?: boolean): any;
1655
+
1656
+ /**
1657
+ * DJV Low-code Platform - User API
1658
+ * DJV 低代码平台用户端 API(数据面),用于: - 页面解析(Page Resolve) - 动作执行(Action Gateway) - 数据查询(Data Proxy) - 埋点上报(Track) - 活动状态查询
1659
+ *
1660
+ * The version of the OpenAPI document: 1.0.0
1661
+ * Contact: djv@example.com
1662
+ *
1663
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
1664
+ * https://openapi-generator.tech
1665
+ * Do not edit the class manually.
1666
+ */
1667
+
1668
+ /**
1669
+ *
1670
+ * @export
1671
+ * @interface QueryDataBatchRequest
1672
+ */
1673
+ interface QueryDataBatchRequest {
1674
+ /**
1675
+ * 查询列表
1676
+ * @type {Array<DataQueryRequest>}
1677
+ * @memberof QueryDataBatchRequest
1678
+ */
1679
+ queries: Array<DataQueryRequest>;
1680
+ }
1681
+ /**
1682
+ * Check if a given object implements the QueryDataBatchRequest interface.
1683
+ */
1684
+ declare function instanceOfQueryDataBatchRequest(value: object): value is QueryDataBatchRequest;
1685
+ declare function QueryDataBatchRequestFromJSON(json: any): QueryDataBatchRequest;
1686
+ declare function QueryDataBatchRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): QueryDataBatchRequest;
1687
+ declare function QueryDataBatchRequestToJSON(json: any): QueryDataBatchRequest;
1688
+ declare function QueryDataBatchRequestToJSONTyped(value?: QueryDataBatchRequest | null, ignoreDiscriminator?: boolean): any;
1689
+
1690
+ /**
1691
+ * DJV Low-code Platform - User API
1692
+ * DJV 低代码平台用户端 API(数据面),用于: - 页面解析(Page Resolve) - 动作执行(Action Gateway) - 数据查询(Data Proxy) - 埋点上报(Track) - 活动状态查询
1693
+ *
1694
+ * The version of the OpenAPI document: 1.0.0
1695
+ * Contact: djv@example.com
1696
+ *
1697
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
1698
+ * https://openapi-generator.tech
1699
+ * Do not edit the class manually.
1700
+ */
1701
+
1702
+ /**
1703
+ *
1704
+ * @export
1705
+ * @interface ResolvePageBatch200Response
1706
+ */
1707
+ interface ResolvePageBatch200Response {
1708
+ /**
1709
+ *
1710
+ * @type {boolean}
1711
+ * @memberof ResolvePageBatch200Response
1712
+ */
1713
+ success: boolean;
1714
+ /**
1715
+ *
1716
+ * @type {Array<PageResolveResult>}
1717
+ * @memberof ResolvePageBatch200Response
1718
+ */
1719
+ data?: Array<PageResolveResult>;
1720
+ /**
1721
+ *
1722
+ * @type {string}
1723
+ * @memberof ResolvePageBatch200Response
1724
+ */
1725
+ traceId?: string;
1726
+ }
1727
+ /**
1728
+ * Check if a given object implements the ResolvePageBatch200Response interface.
1729
+ */
1730
+ declare function instanceOfResolvePageBatch200Response(value: object): value is ResolvePageBatch200Response;
1731
+ declare function ResolvePageBatch200ResponseFromJSON(json: any): ResolvePageBatch200Response;
1732
+ declare function ResolvePageBatch200ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): ResolvePageBatch200Response;
1733
+ declare function ResolvePageBatch200ResponseToJSON(json: any): ResolvePageBatch200Response;
1734
+ declare function ResolvePageBatch200ResponseToJSONTyped(value?: ResolvePageBatch200Response | null, ignoreDiscriminator?: boolean): any;
1735
+
1736
+ /**
1737
+ * DJV Low-code Platform - User API
1738
+ * DJV 低代码平台用户端 API(数据面),用于: - 页面解析(Page Resolve) - 动作执行(Action Gateway) - 数据查询(Data Proxy) - 埋点上报(Track) - 活动状态查询
1739
+ *
1740
+ * The version of the OpenAPI document: 1.0.0
1741
+ * Contact: djv@example.com
1742
+ *
1743
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
1744
+ * https://openapi-generator.tech
1745
+ * Do not edit the class manually.
1746
+ */
1747
+ /**
1748
+ *
1749
+ * @export
1750
+ * @interface ResolvePageBatchRequest
1751
+ */
1752
+ interface ResolvePageBatchRequest {
1753
+ /**
1754
+ * 页面 UID 列表
1755
+ * @type {Array<string>}
1756
+ * @memberof ResolvePageBatchRequest
1757
+ */
1758
+ pageUids: Array<string>;
1759
+ /**
1760
+ *
1761
+ * @type {string}
1762
+ * @memberof ResolvePageBatchRequest
1763
+ */
1764
+ channel?: ResolvePageBatchRequestChannelEnum;
1765
+ }
1766
+ /**
1767
+ * @export
1768
+ */
1769
+ declare const ResolvePageBatchRequestChannelEnum: {
1770
+ readonly preview: "preview";
1771
+ readonly prod: "prod";
1772
+ readonly gray: "gray";
1773
+ };
1774
+ type ResolvePageBatchRequestChannelEnum = typeof ResolvePageBatchRequestChannelEnum[keyof typeof ResolvePageBatchRequestChannelEnum];
1775
+ /**
1776
+ * Check if a given object implements the ResolvePageBatchRequest interface.
1777
+ */
1778
+ declare function instanceOfResolvePageBatchRequest(value: object): value is ResolvePageBatchRequest;
1779
+ declare function ResolvePageBatchRequestFromJSON(json: any): ResolvePageBatchRequest;
1780
+ declare function ResolvePageBatchRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): ResolvePageBatchRequest;
1781
+ declare function ResolvePageBatchRequestToJSON(json: any): ResolvePageBatchRequest;
1782
+ declare function ResolvePageBatchRequestToJSONTyped(value?: ResolvePageBatchRequest | null, ignoreDiscriminator?: boolean): any;
3
1783
 
4
1784
  /**
5
- * @djvlc/openapi-user-client - User API 客户端
1785
+ * DJV Low-code Platform - User API
1786
+ * DJV 低代码平台用户端 API(数据面),用于: - 页面解析(Page Resolve) - 动作执行(Action Gateway) - 数据查询(Data Proxy) - 埋点上报(Track) - 活动状态查询
6
1787
  *
7
- * 自动从 OpenAPI 规范生成,提供类型安全的 User API 访问
8
- * 用于 Runtime 访问后端服务
1788
+ * The version of the OpenAPI document: 1.0.0
1789
+ * Contact: djv@example.com
9
1790
  *
10
- * @packageDocumentation
1791
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
1792
+ * https://openapi-generator.tech
1793
+ * Do not edit the class manually.
1794
+ */
1795
+ /**
1796
+ * 追踪上下文,贯穿全链路
1797
+ * @export
1798
+ * @interface TraceContext
1799
+ */
1800
+ interface TraceContext {
1801
+ /**
1802
+ * 追踪 ID(OpenTelemetry traceparent)
1803
+ * @type {string}
1804
+ * @memberof TraceContext
1805
+ */
1806
+ traceId?: string;
1807
+ /**
1808
+ * Span ID
1809
+ * @type {string}
1810
+ * @memberof TraceContext
1811
+ */
1812
+ spanId?: string;
1813
+ /**
1814
+ * 页面版本 ID
1815
+ * @type {string}
1816
+ * @memberof TraceContext
1817
+ */
1818
+ pageVersionId?: string;
1819
+ /**
1820
+ * 组件版本
1821
+ * @type {string}
1822
+ * @memberof TraceContext
1823
+ */
1824
+ componentVersion?: string;
1825
+ /**
1826
+ * 动作实例 ID
1827
+ * @type {string}
1828
+ * @memberof TraceContext
1829
+ */
1830
+ actionId?: string;
1831
+ }
1832
+ /**
1833
+ * Check if a given object implements the TraceContext interface.
11
1834
  */
1835
+ declare function instanceOfTraceContext(value: object): value is TraceContext;
1836
+ declare function TraceContextFromJSON(json: any): TraceContext;
1837
+ declare function TraceContextFromJSONTyped(json: any, ignoreDiscriminator: boolean): TraceContext;
1838
+ declare function TraceContextToJSON(json: any): TraceContext;
1839
+ declare function TraceContextToJSONTyped(value?: TraceContext | null, ignoreDiscriminator?: boolean): any;
12
1840
 
13
1841
  /**
14
- * User API 客户端配置
1842
+ * DJV Low-code Platform - User API
1843
+ * DJV 低代码平台用户端 API(数据面),用于: - 页面解析(Page Resolve) - 动作执行(Action Gateway) - 数据查询(Data Proxy) - 埋点上报(Track) - 活动状态查询
1844
+ *
1845
+ * The version of the OpenAPI document: 1.0.0
1846
+ * Contact: djv@example.com
1847
+ *
1848
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
1849
+ * https://openapi-generator.tech
1850
+ * Do not edit the class manually.
1851
+ */
1852
+ /**
1853
+ * 埋点上下文
1854
+ * @export
1855
+ * @interface TrackContext
15
1856
  */
16
- interface UserClientConfig {
17
- /** API 基础 URL */
18
- baseUrl: string;
19
- /** 用户 Token */
20
- token?: string;
21
- /** 获取 Token 的函数(支持动态获取) */
22
- getToken?: () => string | Promise<string>;
23
- /** 设备 ID */
1857
+ interface TrackContext {
1858
+ /**
1859
+ * 页面版本 ID
1860
+ * @type {string}
1861
+ * @memberof TrackContext
1862
+ */
1863
+ pageVersionId?: string;
1864
+ /**
1865
+ * 组件版本
1866
+ * @type {string}
1867
+ * @memberof TrackContext
1868
+ */
1869
+ componentVersion?: string;
1870
+ /**
1871
+ * 动作 ID
1872
+ * @type {string}
1873
+ * @memberof TrackContext
1874
+ */
1875
+ actionId?: string;
1876
+ /**
1877
+ * 会话 ID
1878
+ * @type {string}
1879
+ * @memberof TrackContext
1880
+ */
1881
+ sessionId?: string;
1882
+ /**
1883
+ * 设备 ID
1884
+ * @type {string}
1885
+ * @memberof TrackContext
1886
+ */
24
1887
  deviceId?: string;
25
- /** 渠道 */
1888
+ /**
1889
+ * 用户 ID
1890
+ * @type {string}
1891
+ * @memberof TrackContext
1892
+ */
1893
+ uid?: string;
1894
+ /**
1895
+ * 渠道
1896
+ * @type {string}
1897
+ * @memberof TrackContext
1898
+ */
26
1899
  channel?: string;
27
- /** 请求超时(毫秒) */
28
- timeout?: number;
29
- /** 自定义请求头 */
30
- headers?: Record<string, string>;
31
- /** 获取 Trace Headers(用于链路追踪) */
32
- getTraceHeaders?: () => Record<string, string>;
33
- /** 请求拦截器 */
34
- onRequest?: (config: RequestInit) => RequestInit;
35
- /** 响应拦截器 */
36
- onResponse?: <T>(response: ApiResponse<T>) => ApiResponse<T>;
37
- /** 错误处理 */
38
- onError?: (error: Error) => void;
39
1900
  }
40
1901
  /**
41
- * 页面解析请求参数(Query 参数版本)
42
- * GET /api/page/resolve
1902
+ * Check if a given object implements the TrackContext interface.
43
1903
  */
44
- interface ResolvePageParams {
45
- /** 页面 UID */
46
- pageUid: string;
47
- /** 渠道 */
48
- channel?: string;
49
- /** 用户 ID(用于灰度) */
50
- uid?: string;
51
- /** 设备 ID */
52
- deviceId?: string;
53
- /** 预览 Token */
54
- previewToken?: string;
1904
+ declare function instanceOfTrackContext(value: object): value is TrackContext;
1905
+ declare function TrackContextFromJSON(json: any): TrackContext;
1906
+ declare function TrackContextFromJSONTyped(json: any, ignoreDiscriminator: boolean): TrackContext;
1907
+ declare function TrackContextToJSON(json: any): TrackContext;
1908
+ declare function TrackContextToJSONTyped(value?: TrackContext | null, ignoreDiscriminator?: boolean): any;
1909
+
1910
+ /**
1911
+ * DJV Low-code Platform - User API
1912
+ * DJV 低代码平台用户端 API(数据面),用于: - 页面解析(Page Resolve) - 动作执行(Action Gateway) - 数据查询(Data Proxy) - 埋点上报(Track) - 活动状态查询
1913
+ *
1914
+ * The version of the OpenAPI document: 1.0.0
1915
+ * Contact: djv@example.com
1916
+ *
1917
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
1918
+ * https://openapi-generator.tech
1919
+ * Do not edit the class manually.
1920
+ */
1921
+
1922
+ /**
1923
+ * 埋点事件
1924
+ * @export
1925
+ * @interface TrackEvent
1926
+ */
1927
+ interface TrackEvent {
1928
+ /**
1929
+ * 事件名称
1930
+ * @type {string}
1931
+ * @memberof TrackEvent
1932
+ */
1933
+ eventName: string;
1934
+ /**
1935
+ * 事件类型
1936
+ * @type {string}
1937
+ * @memberof TrackEvent
1938
+ */
1939
+ eventType?: TrackEventEventTypeEnum;
1940
+ /**
1941
+ * 事件参数
1942
+ * @type {{ [key: string]: any; }}
1943
+ * @memberof TrackEvent
1944
+ */
1945
+ params?: {
1946
+ [key: string]: any;
1947
+ };
1948
+ /**
1949
+ * 事件时间戳(毫秒)
1950
+ * @type {number}
1951
+ * @memberof TrackEvent
1952
+ */
1953
+ timestamp?: number;
1954
+ /**
1955
+ *
1956
+ * @type {TrackContext}
1957
+ * @memberof TrackEvent
1958
+ */
1959
+ context?: TrackContext;
55
1960
  }
1961
+ /**
1962
+ * @export
1963
+ */
1964
+ declare const TrackEventEventTypeEnum: {
1965
+ readonly page_view: "page_view";
1966
+ readonly component_view: "component_view";
1967
+ readonly component_click: "component_click";
1968
+ readonly action_trigger: "action_trigger";
1969
+ readonly action_result: "action_result";
1970
+ readonly error: "error";
1971
+ readonly performance: "performance";
1972
+ readonly custom: "custom";
1973
+ };
1974
+ type TrackEventEventTypeEnum = typeof TrackEventEventTypeEnum[keyof typeof TrackEventEventTypeEnum];
1975
+ /**
1976
+ * Check if a given object implements the TrackEvent interface.
1977
+ */
1978
+ declare function instanceOfTrackEvent(value: object): value is TrackEvent;
1979
+ declare function TrackEventFromJSON(json: any): TrackEvent;
1980
+ declare function TrackEventFromJSONTyped(json: any, ignoreDiscriminator: boolean): TrackEvent;
1981
+ declare function TrackEventToJSON(json: any): TrackEvent;
1982
+ declare function TrackEventToJSONTyped(value?: TrackEvent | null, ignoreDiscriminator?: boolean): any;
1983
+
1984
+ /**
1985
+ * DJV Low-code Platform - User API
1986
+ * DJV 低代码平台用户端 API(数据面),用于: - 页面解析(Page Resolve) - 动作执行(Action Gateway) - 数据查询(Data Proxy) - 埋点上报(Track) - 活动状态查询
1987
+ *
1988
+ * The version of the OpenAPI document: 1.0.0
1989
+ * Contact: djv@example.com
1990
+ *
1991
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
1992
+ * https://openapi-generator.tech
1993
+ * Do not edit the class manually.
1994
+ */
1995
+
56
1996
  /**
57
1997
  * 埋点上报请求
58
- * POST /api/track
1998
+ * @export
1999
+ * @interface TrackRequest
59
2000
  */
60
2001
  interface TrackRequest {
61
- /** 事件列表 */
62
- events: TrackEvent[];
2002
+ /**
2003
+ * 事件列表
2004
+ * @type {Array<TrackEvent>}
2005
+ * @memberof TrackRequest
2006
+ */
2007
+ events: Array<TrackEvent>;
63
2008
  }
64
2009
  /**
65
- * 活动状态响应
66
- * GET /api/activity/state
2010
+ * Check if a given object implements the TrackRequest interface.
67
2011
  */
68
- interface ActivityStateResult {
69
- /** 活动 ID */
70
- activityId: string;
71
- /** 活动整体状态 */
72
- status: 'active' | 'inactive' | 'ended';
73
- /** 用户参与状态 */
74
- userStatus: 'not_participated' | 'participated' | 'claimed' | 'expired';
75
- /** 剩余参与次数 */
76
- remainingAttempts?: number;
77
- /** 下次可参与时间 */
78
- nextAvailableTime?: string;
2012
+ declare function instanceOfTrackRequest(value: object): value is TrackRequest;
2013
+ declare function TrackRequestFromJSON(json: any): TrackRequest;
2014
+ declare function TrackRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): TrackRequest;
2015
+ declare function TrackRequestToJSON(json: any): TrackRequest;
2016
+ declare function TrackRequestToJSONTyped(value?: TrackRequest | null, ignoreDiscriminator?: boolean): any;
2017
+
2018
+ /**
2019
+ * DJV Low-code Platform - User API
2020
+ * DJV 低代码平台用户端 API(数据面),用于: - 页面解析(Page Resolve) - 动作执行(Action Gateway) - 数据查询(Data Proxy) - 埋点上报(Track) - 活动状态查询
2021
+ *
2022
+ * The version of the OpenAPI document: 1.0.0
2023
+ * Contact: djv@example.com
2024
+ *
2025
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
2026
+ * https://openapi-generator.tech
2027
+ * Do not edit the class manually.
2028
+ */
2029
+
2030
+ interface ActionApiExecuteActionRequest {
2031
+ actionExecuteRequest: ActionExecuteRequest;
2032
+ }
2033
+ interface ActionApiExecuteActionBatchOperationRequest {
2034
+ executeActionBatchRequest: ExecuteActionBatchRequest;
2035
+ }
2036
+ /**
2037
+ * ActionApi - interface
2038
+ *
2039
+ * @export
2040
+ * @interface ActionApiInterface
2041
+ */
2042
+ interface ActionApiInterface {
2043
+ /**
2044
+ * 所有业务动作的统一入口,包含: - 认证/鉴权 - 风控检查(限流、黑名单) - 幂等处理 - 审计记录
2045
+ * @summary 执行动作
2046
+ * @param {ActionExecuteRequest} actionExecuteRequest
2047
+ * @param {*} [options] Override http request option.
2048
+ * @throws {RequiredError}
2049
+ * @memberof ActionApiInterface
2050
+ */
2051
+ executeActionRaw(requestParameters: ActionApiExecuteActionRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<ApiResponse<ActionExecuteResponse>>;
2052
+ /**
2053
+ * 所有业务动作的统一入口,包含: - 认证/鉴权 - 风控检查(限流、黑名单) - 幂等处理 - 审计记录
2054
+ * 执行动作
2055
+ */
2056
+ executeAction(requestParameters: ActionApiExecuteActionRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<ActionExecuteResponse>;
2057
+ /**
2058
+ * 批量执行多个动作(原子性不保证)
2059
+ * @summary 批量执行动作
2060
+ * @param {ExecuteActionBatchRequest} executeActionBatchRequest
2061
+ * @param {*} [options] Override http request option.
2062
+ * @throws {RequiredError}
2063
+ * @memberof ActionApiInterface
2064
+ */
2065
+ executeActionBatchRaw(requestParameters: ActionApiExecuteActionBatchOperationRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<ApiResponse<ExecuteActionBatch200Response>>;
2066
+ /**
2067
+ * 批量执行多个动作(原子性不保证)
2068
+ * 批量执行动作
2069
+ */
2070
+ executeActionBatch(requestParameters: ActionApiExecuteActionBatchOperationRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<ExecuteActionBatch200Response>;
2071
+ }
2072
+ /**
2073
+ *
2074
+ */
2075
+ declare class ActionApi extends BaseAPI implements ActionApiInterface {
2076
+ /**
2077
+ * 所有业务动作的统一入口,包含: - 认证/鉴权 - 风控检查(限流、黑名单) - 幂等处理 - 审计记录
2078
+ * 执行动作
2079
+ */
2080
+ executeActionRaw(requestParameters: ActionApiExecuteActionRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<ApiResponse<ActionExecuteResponse>>;
2081
+ /**
2082
+ * 所有业务动作的统一入口,包含: - 认证/鉴权 - 风控检查(限流、黑名单) - 幂等处理 - 审计记录
2083
+ * 执行动作
2084
+ */
2085
+ executeAction(requestParameters: ActionApiExecuteActionRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<ActionExecuteResponse>;
2086
+ /**
2087
+ * 批量执行多个动作(原子性不保证)
2088
+ * 批量执行动作
2089
+ */
2090
+ executeActionBatchRaw(requestParameters: ActionApiExecuteActionBatchOperationRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<ApiResponse<ExecuteActionBatch200Response>>;
2091
+ /**
2092
+ * 批量执行多个动作(原子性不保证)
2093
+ * 批量执行动作
2094
+ */
2095
+ executeActionBatch(requestParameters: ActionApiExecuteActionBatchOperationRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<ExecuteActionBatch200Response>;
79
2096
  }
2097
+
80
2098
  /**
81
- * 活动状态查询参数
82
- * GET /api/activity/state
2099
+ * DJV Low-code Platform - User API
2100
+ * DJV 低代码平台用户端 API(数据面),用于: - 页面解析(Page Resolve) - 动作执行(Action Gateway) - 数据查询(Data Proxy) - 埋点上报(Track) - 活动状态查询
2101
+ *
2102
+ * The version of the OpenAPI document: 1.0.0
2103
+ * Contact: djv@example.com
2104
+ *
2105
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
2106
+ * https://openapi-generator.tech
2107
+ * Do not edit the class manually.
83
2108
  */
84
- interface ActivityStateParams {
85
- /** 活动 ID */
2109
+
2110
+ interface ActivityApiGetActivityStateRequest {
86
2111
  activityId: string;
87
- /** 用户 ID */
88
2112
  uid?: string;
89
- /** 设备 ID */
90
- deviceId?: string;
2113
+ }
2114
+ interface ActivityApiGetActivityStateBatchOperationRequest {
2115
+ getActivityStateBatchRequest: GetActivityStateBatchRequest;
91
2116
  }
92
2117
  /**
93
- * User API 客户端类
94
- * 用于 Runtime 访问后端服务
2118
+ * ActivityApi - interface
2119
+ *
2120
+ * @export
2121
+ * @interface ActivityApiInterface
95
2122
  */
96
- declare class UserApiClient {
97
- private config;
98
- constructor(config: UserClientConfig);
2123
+ interface ActivityApiInterface {
2124
+ /**
2125
+ * 获取用户在指定活动中的状态
2126
+ * @summary 查询活动状态
2127
+ * @param {string} activityId 活动 ID
2128
+ * @param {string} [uid] 用户 ID(未登录时可不传)
2129
+ * @param {*} [options] Override http request option.
2130
+ * @throws {RequiredError}
2131
+ * @memberof ActivityApiInterface
2132
+ */
2133
+ getActivityStateRaw(requestParameters: ActivityApiGetActivityStateRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<ApiResponse<ActivityStateResponse>>;
99
2134
  /**
100
- * 获取认证 Token
2135
+ * 获取用户在指定活动中的状态
2136
+ * 查询活动状态
101
2137
  */
102
- private getAuthToken;
2138
+ getActivityState(requestParameters: ActivityApiGetActivityStateRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<ActivityStateResponse>;
103
2139
  /**
104
- * 获取通用请求头
2140
+ * 批量获取用户在多个活动中的状态
2141
+ * @summary 批量查询活动状态
2142
+ * @param {GetActivityStateBatchRequest} getActivityStateBatchRequest
2143
+ * @param {*} [options] Override http request option.
2144
+ * @throws {RequiredError}
2145
+ * @memberof ActivityApiInterface
105
2146
  */
106
- private getCommonHeaders;
2147
+ getActivityStateBatchRaw(requestParameters: ActivityApiGetActivityStateBatchOperationRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<ApiResponse<GetActivityStateBatch200Response>>;
107
2148
  /**
108
- * 发送请求
2149
+ * 批量获取用户在多个活动中的状态
2150
+ * 批量查询活动状态
109
2151
  */
110
- private request;
2152
+ getActivityStateBatch(requestParameters: ActivityApiGetActivityStateBatchOperationRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<GetActivityStateBatch200Response>;
2153
+ }
2154
+ /**
2155
+ *
2156
+ */
2157
+ declare class ActivityApi extends BaseAPI implements ActivityApiInterface {
111
2158
  /**
112
- * 发送请求(返回完整响应)
2159
+ * 获取用户在指定活动中的状态
2160
+ * 查询活动状态
113
2161
  */
114
- private requestFull;
2162
+ getActivityStateRaw(requestParameters: ActivityApiGetActivityStateRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<ApiResponse<ActivityStateResponse>>;
115
2163
  /**
116
- * 解析页面
117
- * GET /api/page/resolve
2164
+ * 获取用户在指定活动中的状态
2165
+ * 查询活动状态
118
2166
  */
119
- resolvePage(params: ResolvePageParams): Promise<PageResolveResult>;
2167
+ getActivityState(requestParameters: ActivityApiGetActivityStateRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<ActivityStateResponse>;
120
2168
  /**
121
- * 执行动作
122
- * POST /api/actions/execute
2169
+ * 批量获取用户在多个活动中的状态
2170
+ * 批量查询活动状态
2171
+ */
2172
+ getActivityStateBatchRaw(requestParameters: ActivityApiGetActivityStateBatchOperationRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<ApiResponse<GetActivityStateBatch200Response>>;
2173
+ /**
2174
+ * 批量获取用户在多个活动中的状态
2175
+ * 批量查询活动状态
123
2176
  */
124
- executeAction<T = unknown>(request: ActionExecuteRequest): Promise<ActionExecuteResponse<T>>;
2177
+ getActivityStateBatch(requestParameters: ActivityApiGetActivityStateBatchOperationRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<GetActivityStateBatch200Response>;
2178
+ }
2179
+
2180
+ /**
2181
+ * DJV Low-code Platform - User API
2182
+ * DJV 低代码平台用户端 API(数据面),用于: - 页面解析(Page Resolve) - 动作执行(Action Gateway) - 数据查询(Data Proxy) - 埋点上报(Track) - 活动状态查询
2183
+ *
2184
+ * The version of the OpenAPI document: 1.0.0
2185
+ * Contact: djv@example.com
2186
+ *
2187
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
2188
+ * https://openapi-generator.tech
2189
+ * Do not edit the class manually.
2190
+ */
2191
+
2192
+ interface DataApiQueryDataRequest {
2193
+ dataQueryRequest: DataQueryRequest;
2194
+ }
2195
+ interface DataApiQueryDataBatchOperationRequest {
2196
+ queryDataBatchRequest: QueryDataBatchRequest;
2197
+ }
2198
+ /**
2199
+ * DataApi - interface
2200
+ *
2201
+ * @export
2202
+ * @interface DataApiInterface
2203
+ */
2204
+ interface DataApiInterface {
2205
+ /**
2206
+ * 数据查询代理,支持: - 白名单校验 - 字段裁剪/脱敏 - 缓存 - 审计
2207
+ * @summary 查询数据
2208
+ * @param {DataQueryRequest} dataQueryRequest
2209
+ * @param {*} [options] Override http request option.
2210
+ * @throws {RequiredError}
2211
+ * @memberof DataApiInterface
2212
+ */
2213
+ queryDataRaw(requestParameters: DataApiQueryDataRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<ApiResponse<DataQueryResponse>>;
2214
+ /**
2215
+ * 数据查询代理,支持: - 白名单校验 - 字段裁剪/脱敏 - 缓存 - 审计
2216
+ * 查询数据
2217
+ */
2218
+ queryData(requestParameters: DataApiQueryDataRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<DataQueryResponse>;
125
2219
  /**
126
- * 快捷方法:领取
2220
+ * 批量执行多个数据查询
2221
+ * @summary 批量查询数据
2222
+ * @param {QueryDataBatchRequest} queryDataBatchRequest
2223
+ * @param {*} [options] Override http request option.
2224
+ * @throws {RequiredError}
2225
+ * @memberof DataApiInterface
127
2226
  */
128
- claim(activityId: string, params?: Record<string, unknown>): Promise<ActionExecuteResponse>;
2227
+ queryDataBatchRaw(requestParameters: DataApiQueryDataBatchOperationRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<ApiResponse<QueryDataBatch200Response>>;
129
2228
  /**
130
- * 快捷方法:签到
2229
+ * 批量执行多个数据查询
2230
+ * 批量查询数据
131
2231
  */
132
- signin(activityId: string): Promise<ActionExecuteResponse>;
2232
+ queryDataBatch(requestParameters: DataApiQueryDataBatchOperationRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<QueryDataBatch200Response>;
2233
+ }
2234
+ /**
2235
+ *
2236
+ */
2237
+ declare class DataApi extends BaseAPI implements DataApiInterface {
133
2238
  /**
134
- * 快捷方法:抽奖
2239
+ * 数据查询代理,支持: - 白名单校验 - 字段裁剪/脱敏 - 缓存 - 审计
2240
+ * 查询数据
135
2241
  */
136
- lottery(activityId: string, params?: Record<string, unknown>): Promise<ActionExecuteResponse>;
2242
+ queryDataRaw(requestParameters: DataApiQueryDataRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<ApiResponse<DataQueryResponse>>;
137
2243
  /**
2244
+ * 数据查询代理,支持: - 白名单校验 - 字段裁剪/脱敏 - 缓存 - 审计
138
2245
  * 查询数据
139
- * POST /api/data/query
140
2246
  */
141
- queryData<T = unknown>(request: DataQueryRequest): Promise<DataQueryResponse<T>>;
2247
+ queryData(requestParameters: DataApiQueryDataRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<DataQueryResponse>;
142
2248
  /**
143
- * 快捷方法:查询数据
2249
+ * 批量执行多个数据查询
2250
+ * 批量查询数据
144
2251
  */
145
- query<T = unknown>(queryVersionId: string, params?: Record<string, unknown>): Promise<T | undefined>;
2252
+ queryDataBatchRaw(requestParameters: DataApiQueryDataBatchOperationRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<ApiResponse<QueryDataBatch200Response>>;
146
2253
  /**
147
- * 上报埋点
148
- * POST /api/track
2254
+ * 批量执行多个数据查询
2255
+ * 批量查询数据
2256
+ */
2257
+ queryDataBatch(requestParameters: DataApiQueryDataBatchOperationRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<QueryDataBatch200Response>;
2258
+ }
2259
+
2260
+ /**
2261
+ * DJV Low-code Platform - User API
2262
+ * DJV 低代码平台用户端 API(数据面),用于: - 页面解析(Page Resolve) - 动作执行(Action Gateway) - 数据查询(Data Proxy) - 埋点上报(Track) - 活动状态查询
2263
+ *
2264
+ * The version of the OpenAPI document: 1.0.0
2265
+ * Contact: djv@example.com
2266
+ *
2267
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
2268
+ * https://openapi-generator.tech
2269
+ * Do not edit the class manually.
2270
+ */
2271
+
2272
+ /**
2273
+ * HealthApi - interface
2274
+ *
2275
+ * @export
2276
+ * @interface HealthApiInterface
2277
+ */
2278
+ interface HealthApiInterface {
2279
+ /**
2280
+ * 检查服务健康状态
2281
+ * @summary 健康检查
2282
+ * @param {*} [options] Override http request option.
2283
+ * @throws {RequiredError}
2284
+ * @memberof HealthApiInterface
2285
+ */
2286
+ healthRaw(initOverrides?: RequestInit | InitOverrideFunction): Promise<ApiResponse<HealthResponse>>;
2287
+ /**
2288
+ * 检查服务健康状态
2289
+ * 健康检查
2290
+ */
2291
+ health(initOverrides?: RequestInit | InitOverrideFunction): Promise<HealthResponse>;
2292
+ /**
2293
+ * 检查服务是否存活
2294
+ * @summary 存活检查
2295
+ * @param {*} [options] Override http request option.
2296
+ * @throws {RequiredError}
2297
+ * @memberof HealthApiInterface
149
2298
  */
150
- track(events: TrackEvent[]): Promise<void>;
2299
+ livenessRaw(initOverrides?: RequestInit | InitOverrideFunction): Promise<ApiResponse<HealthResponse>>;
151
2300
  /**
152
- * 快捷方法:上报单个事件
2301
+ * 检查服务是否存活
2302
+ * 存活检查
153
2303
  */
154
- trackEvent(eventName: string, params?: Record<string, unknown>): Promise<void>;
2304
+ liveness(initOverrides?: RequestInit | InitOverrideFunction): Promise<HealthResponse>;
2305
+ /**
2306
+ * 检查服务是否就绪(可接受流量)
2307
+ * @summary 就绪检查
2308
+ * @param {*} [options] Override http request option.
2309
+ * @throws {RequiredError}
2310
+ * @memberof HealthApiInterface
2311
+ */
2312
+ readinessRaw(initOverrides?: RequestInit | InitOverrideFunction): Promise<ApiResponse<HealthResponse>>;
2313
+ /**
2314
+ * 检查服务是否就绪(可接受流量)
2315
+ * 就绪检查
2316
+ */
2317
+ readiness(initOverrides?: RequestInit | InitOverrideFunction): Promise<HealthResponse>;
2318
+ }
2319
+ /**
2320
+ *
2321
+ */
2322
+ declare class HealthApi extends BaseAPI implements HealthApiInterface {
155
2323
  /**
156
- * 获取活动状态
157
- * GET /api/activity/state
2324
+ * 检查服务健康状态
2325
+ * 健康检查
158
2326
  */
159
- getActivityState(params: ActivityStateParams): Promise<ActivityStateResult>;
2327
+ healthRaw(initOverrides?: RequestInit | InitOverrideFunction): Promise<ApiResponse<HealthResponse>>;
160
2328
  /**
2329
+ * 检查服务健康状态
161
2330
  * 健康检查
162
- * GET /api/health
163
2331
  */
164
- health(): Promise<HealthCheckResponse>;
2332
+ health(initOverrides?: RequestInit | InitOverrideFunction): Promise<HealthResponse>;
2333
+ /**
2334
+ * 检查服务是否存活
2335
+ * 存活检查
2336
+ */
2337
+ livenessRaw(initOverrides?: RequestInit | InitOverrideFunction): Promise<ApiResponse<HealthResponse>>;
2338
+ /**
2339
+ * 检查服务是否存活
2340
+ * 存活检查
2341
+ */
2342
+ liveness(initOverrides?: RequestInit | InitOverrideFunction): Promise<HealthResponse>;
2343
+ /**
2344
+ * 检查服务是否就绪(可接受流量)
2345
+ * 就绪检查
2346
+ */
2347
+ readinessRaw(initOverrides?: RequestInit | InitOverrideFunction): Promise<ApiResponse<HealthResponse>>;
2348
+ /**
2349
+ * 检查服务是否就绪(可接受流量)
2350
+ * 就绪检查
2351
+ */
2352
+ readiness(initOverrides?: RequestInit | InitOverrideFunction): Promise<HealthResponse>;
2353
+ }
2354
+
2355
+ /**
2356
+ * DJV Low-code Platform - User API
2357
+ * DJV 低代码平台用户端 API(数据面),用于: - 页面解析(Page Resolve) - 动作执行(Action Gateway) - 数据查询(Data Proxy) - 埋点上报(Track) - 活动状态查询
2358
+ *
2359
+ * The version of the OpenAPI document: 1.0.0
2360
+ * Contact: djv@example.com
2361
+ *
2362
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
2363
+ * https://openapi-generator.tech
2364
+ * Do not edit the class manually.
2365
+ */
2366
+
2367
+ interface PageApiResolvePageRequest {
2368
+ pageUid: string;
2369
+ channel?: ResolvePageChannelEnum;
2370
+ uid?: string;
2371
+ deviceId?: string;
2372
+ previewToken?: string;
2373
+ }
2374
+ interface PageApiResolvePageBatchOperationRequest {
2375
+ resolvePageBatchRequest: ResolvePageBatchRequest;
2376
+ }
2377
+ /**
2378
+ * PageApi - interface
2379
+ *
2380
+ * @export
2381
+ * @interface PageApiInterface
2382
+ */
2383
+ interface PageApiInterface {
2384
+ /**
2385
+ * 根据页面 UID 解析页面配置,返回: - 页面 JSON Schema - 组件 Manifest(锁定的组件版本清单) - 运行时配置(Kill Switch、Blocked Components 等)
2386
+ * @summary 解析页面
2387
+ * @param {string} pageUid 页面 UID
2388
+ * @param {'preview' | 'prod' | 'gray'} [channel] 发布渠道(preview/prod/gray)
2389
+ * @param {string} [uid] 用户 ID(用于灰度)
2390
+ * @param {string} [deviceId] 设备 ID
2391
+ * @param {string} [previewToken] 预览 Token(访问未发布页面)
2392
+ * @param {*} [options] Override http request option.
2393
+ * @throws {RequiredError}
2394
+ * @memberof PageApiInterface
2395
+ */
2396
+ resolvePageRaw(requestParameters: PageApiResolvePageRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<ApiResponse<PageResolveResponse>>;
2397
+ /**
2398
+ * 根据页面 UID 解析页面配置,返回: - 页面 JSON Schema - 组件 Manifest(锁定的组件版本清单) - 运行时配置(Kill Switch、Blocked Components 等)
2399
+ * 解析页面
2400
+ */
2401
+ resolvePage(requestParameters: PageApiResolvePageRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<PageResolveResponse>;
2402
+ /**
2403
+ * 批量获取多个页面的解析结果
2404
+ * @summary 批量解析页面
2405
+ * @param {ResolvePageBatchRequest} resolvePageBatchRequest
2406
+ * @param {*} [options] Override http request option.
2407
+ * @throws {RequiredError}
2408
+ * @memberof PageApiInterface
2409
+ */
2410
+ resolvePageBatchRaw(requestParameters: PageApiResolvePageBatchOperationRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<ApiResponse<ResolvePageBatch200Response>>;
2411
+ /**
2412
+ * 批量获取多个页面的解析结果
2413
+ * 批量解析页面
2414
+ */
2415
+ resolvePageBatch(requestParameters: PageApiResolvePageBatchOperationRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<ResolvePageBatch200Response>;
2416
+ }
2417
+ /**
2418
+ *
2419
+ */
2420
+ declare class PageApi extends BaseAPI implements PageApiInterface {
2421
+ /**
2422
+ * 根据页面 UID 解析页面配置,返回: - 页面 JSON Schema - 组件 Manifest(锁定的组件版本清单) - 运行时配置(Kill Switch、Blocked Components 等)
2423
+ * 解析页面
2424
+ */
2425
+ resolvePageRaw(requestParameters: PageApiResolvePageRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<ApiResponse<PageResolveResponse>>;
2426
+ /**
2427
+ * 根据页面 UID 解析页面配置,返回: - 页面 JSON Schema - 组件 Manifest(锁定的组件版本清单) - 运行时配置(Kill Switch、Blocked Components 等)
2428
+ * 解析页面
2429
+ */
2430
+ resolvePage(requestParameters: PageApiResolvePageRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<PageResolveResponse>;
2431
+ /**
2432
+ * 批量获取多个页面的解析结果
2433
+ * 批量解析页面
2434
+ */
2435
+ resolvePageBatchRaw(requestParameters: PageApiResolvePageBatchOperationRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<ApiResponse<ResolvePageBatch200Response>>;
2436
+ /**
2437
+ * 批量获取多个页面的解析结果
2438
+ * 批量解析页面
2439
+ */
2440
+ resolvePageBatch(requestParameters: PageApiResolvePageBatchOperationRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<ResolvePageBatch200Response>;
165
2441
  }
166
2442
  /**
167
- * 创建 User API 客户端实例
2443
+ * @export
168
2444
  */
169
- declare function createUserClient(config: UserClientConfig): UserApiClient;
2445
+ declare const ResolvePageChannelEnum: {
2446
+ readonly preview: "preview";
2447
+ readonly prod: "prod";
2448
+ readonly gray: "gray";
2449
+ };
2450
+ type ResolvePageChannelEnum = typeof ResolvePageChannelEnum[keyof typeof ResolvePageChannelEnum];
2451
+
2452
+ /**
2453
+ * DJV Low-code Platform - User API
2454
+ * DJV 低代码平台用户端 API(数据面),用于: - 页面解析(Page Resolve) - 动作执行(Action Gateway) - 数据查询(Data Proxy) - 埋点上报(Track) - 活动状态查询
2455
+ *
2456
+ * The version of the OpenAPI document: 1.0.0
2457
+ * Contact: djv@example.com
2458
+ *
2459
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
2460
+ * https://openapi-generator.tech
2461
+ * Do not edit the class manually.
2462
+ */
2463
+
2464
+ interface TrackApiTrackOperationRequest {
2465
+ trackRequest: TrackRequest;
2466
+ }
2467
+ /**
2468
+ * TrackApi - interface
2469
+ *
2470
+ * @export
2471
+ * @interface TrackApiInterface
2472
+ */
2473
+ interface TrackApiInterface {
2474
+ /**
2475
+ * 批量上报埋点事件
2476
+ * @summary 上报埋点
2477
+ * @param {TrackRequest} trackRequest
2478
+ * @param {*} [options] Override http request option.
2479
+ * @throws {RequiredError}
2480
+ * @memberof TrackApiInterface
2481
+ */
2482
+ trackRaw(requestParameters: TrackApiTrackOperationRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<ApiResponse<void>>;
2483
+ /**
2484
+ * 批量上报埋点事件
2485
+ * 上报埋点
2486
+ */
2487
+ track(requestParameters: TrackApiTrackOperationRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<void>;
2488
+ }
2489
+ /**
2490
+ *
2491
+ */
2492
+ declare class TrackApi extends BaseAPI implements TrackApiInterface {
2493
+ /**
2494
+ * 批量上报埋点事件
2495
+ * 上报埋点
2496
+ */
2497
+ trackRaw(requestParameters: TrackApiTrackOperationRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<ApiResponse<void>>;
2498
+ /**
2499
+ * 批量上报埋点事件
2500
+ * 上报埋点
2501
+ */
2502
+ track(requestParameters: TrackApiTrackOperationRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<void>;
2503
+ }
2504
+
2505
+ type apis_ActionApi = ActionApi;
2506
+ declare const apis_ActionApi: typeof ActionApi;
2507
+ type apis_ActionApiExecuteActionBatchOperationRequest = ActionApiExecuteActionBatchOperationRequest;
2508
+ type apis_ActionApiExecuteActionRequest = ActionApiExecuteActionRequest;
2509
+ type apis_ActionApiInterface = ActionApiInterface;
2510
+ type apis_ActivityApi = ActivityApi;
2511
+ declare const apis_ActivityApi: typeof ActivityApi;
2512
+ type apis_ActivityApiGetActivityStateBatchOperationRequest = ActivityApiGetActivityStateBatchOperationRequest;
2513
+ type apis_ActivityApiGetActivityStateRequest = ActivityApiGetActivityStateRequest;
2514
+ type apis_ActivityApiInterface = ActivityApiInterface;
2515
+ type apis_DataApi = DataApi;
2516
+ declare const apis_DataApi: typeof DataApi;
2517
+ type apis_DataApiInterface = DataApiInterface;
2518
+ type apis_DataApiQueryDataBatchOperationRequest = DataApiQueryDataBatchOperationRequest;
2519
+ type apis_DataApiQueryDataRequest = DataApiQueryDataRequest;
2520
+ type apis_HealthApi = HealthApi;
2521
+ declare const apis_HealthApi: typeof HealthApi;
2522
+ type apis_HealthApiInterface = HealthApiInterface;
2523
+ type apis_PageApi = PageApi;
2524
+ declare const apis_PageApi: typeof PageApi;
2525
+ type apis_PageApiInterface = PageApiInterface;
2526
+ type apis_PageApiResolvePageBatchOperationRequest = PageApiResolvePageBatchOperationRequest;
2527
+ type apis_PageApiResolvePageRequest = PageApiResolvePageRequest;
2528
+ type apis_ResolvePageChannelEnum = ResolvePageChannelEnum;
2529
+ type apis_TrackApi = TrackApi;
2530
+ declare const apis_TrackApi: typeof TrackApi;
2531
+ type apis_TrackApiInterface = TrackApiInterface;
2532
+ type apis_TrackApiTrackOperationRequest = TrackApiTrackOperationRequest;
2533
+ declare namespace apis {
2534
+ export { apis_ActionApi as ActionApi, type apis_ActionApiExecuteActionBatchOperationRequest as ActionApiExecuteActionBatchOperationRequest, type apis_ActionApiExecuteActionRequest as ActionApiExecuteActionRequest, type apis_ActionApiInterface as ActionApiInterface, apis_ActivityApi as ActivityApi, type apis_ActivityApiGetActivityStateBatchOperationRequest as ActivityApiGetActivityStateBatchOperationRequest, type apis_ActivityApiGetActivityStateRequest as ActivityApiGetActivityStateRequest, type apis_ActivityApiInterface as ActivityApiInterface, apis_DataApi as DataApi, type apis_DataApiInterface as DataApiInterface, type apis_DataApiQueryDataBatchOperationRequest as DataApiQueryDataBatchOperationRequest, type apis_DataApiQueryDataRequest as DataApiQueryDataRequest, apis_HealthApi as HealthApi, type apis_HealthApiInterface as HealthApiInterface, apis_PageApi as PageApi, type apis_PageApiInterface as PageApiInterface, type apis_PageApiResolvePageBatchOperationRequest as PageApiResolvePageBatchOperationRequest, type apis_PageApiResolvePageRequest as PageApiResolvePageRequest, type apis_ResolvePageChannelEnum as ResolvePageChannelEnum, apis_TrackApi as TrackApi, type apis_TrackApiInterface as TrackApiInterface, type apis_TrackApiTrackOperationRequest as TrackApiTrackOperationRequest };
2535
+ }
2536
+
2537
+ interface UserClientOptions {
2538
+ baseUrl: string;
2539
+ /** user-api 可能需要登录态 token(也可能不需要) */
2540
+ getAuthToken?: () => string | Promise<string>;
2541
+ /** OTel:traceparent/baggage/... */
2542
+ getTraceHeaders?: () => Record<string, string>;
2543
+ /** 比如 x-app-key / x-tenant-id / x-device-id */
2544
+ defaultHeaders?: Record<string, string>;
2545
+ /** 默认 15s(线上 user-api 通常更追求快失败) */
2546
+ timeoutMs?: number;
2547
+ fetchApi?: typeof fetch;
2548
+ /** 默认 omit(通常不走 cookie) */
2549
+ credentials?: RequestCredentials;
2550
+ }
2551
+ type ApiInstances = {
2552
+ [K in keyof typeof apis as K extends `${string}Api` ? (typeof apis)[K] extends new (...args: any) => any ? K : never : never]: (typeof apis)[K] extends new (...args: any) => any ? InstanceType<(typeof apis)[K]> : never;
2553
+ };
2554
+ declare function createUserClient(opts: UserClientOptions): {
2555
+ ActionApi: ActionApi;
2556
+ ActivityApi: ActivityApi;
2557
+ DataApi: DataApi;
2558
+ HealthApi: HealthApi;
2559
+ PageApi: PageApi;
2560
+ TrackApi: TrackApi;
2561
+ config: Configuration;
2562
+ apis: ApiInstances;
2563
+ };
2564
+ type UserClient = ReturnType<typeof createUserClient>;
170
2565
 
171
- export { type ActivityStateParams, type ActivityStateResult, type ResolvePageParams, type TrackRequest, UserApiClient, type UserClientConfig, createUserClient, UserApiClient as default };
2566
+ export { ActionApi, type ActionApiExecuteActionBatchOperationRequest, type ActionApiExecuteActionRequest, type ActionApiInterface, type ActionContext, ActionContextFromJSON, ActionContextFromJSONTyped, ActionContextToJSON, ActionContextToJSONTyped, type ActionExecuteRequest, ActionExecuteRequestFromJSON, ActionExecuteRequestFromJSONTyped, ActionExecuteRequestToJSON, ActionExecuteRequestToJSONTyped, type ActionExecuteResponse, ActionExecuteResponseFromJSON, ActionExecuteResponseFromJSONTyped, ActionExecuteResponseToJSON, ActionExecuteResponseToJSONTyped, ActivityApi, type ActivityApiGetActivityStateBatchOperationRequest, type ActivityApiGetActivityStateRequest, type ActivityApiInterface, type ActivityState, type ActivityStateActivityInfo, ActivityStateActivityInfoFromJSON, ActivityStateActivityInfoFromJSONTyped, ActivityStateActivityInfoToJSON, ActivityStateActivityInfoToJSONTyped, ActivityStateFromJSON, ActivityStateFromJSONTyped, type ActivityStateResponse, ActivityStateResponseFromJSON, ActivityStateResponseFromJSONTyped, ActivityStateResponseToJSON, ActivityStateResponseToJSONTyped, ActivityStateStatusEnum, ActivityStateToJSON, ActivityStateToJSONTyped, type BaseResponseVo, BaseResponseVoFromJSON, BaseResponseVoFromJSONTyped, BaseResponseVoToJSON, BaseResponseVoToJSONTyped, type BlockedComponent, BlockedComponentFromJSON, BlockedComponentFromJSONTyped, BlockedComponentToJSON, BlockedComponentToJSONTyped, Configuration, DataApi, type DataApiInterface, type DataApiQueryDataBatchOperationRequest, type DataApiQueryDataRequest, type DataQueryContext, DataQueryContextFromJSON, DataQueryContextFromJSONTyped, DataQueryContextToJSON, DataQueryContextToJSONTyped, type DataQueryRequest, DataQueryRequestFromJSON, DataQueryRequestFromJSONTyped, DataQueryRequestToJSON, DataQueryRequestToJSONTyped, type DataQueryResponse, DataQueryResponseFromJSON, DataQueryResponseFromJSONTyped, DataQueryResponseToJSON, DataQueryResponseToJSONTyped, type ErrorDetail, ErrorDetailFromJSON, ErrorDetailFromJSONTyped, ErrorDetailToJSON, ErrorDetailToJSONTyped, type ErrorResponseVo, ErrorResponseVoFromJSON, ErrorResponseVoFromJSONTyped, ErrorResponseVoToJSON, ErrorResponseVoToJSONTyped, type ExecuteActionBatch200Response, ExecuteActionBatch200ResponseFromJSON, ExecuteActionBatch200ResponseFromJSONTyped, ExecuteActionBatch200ResponseToJSON, ExecuteActionBatch200ResponseToJSONTyped, type ExecuteActionBatchRequest, ExecuteActionBatchRequestFromJSON, ExecuteActionBatchRequestFromJSONTyped, ExecuteActionBatchRequestToJSON, ExecuteActionBatchRequestToJSONTyped, type GetActivityStateBatch200Response, GetActivityStateBatch200ResponseFromJSON, GetActivityStateBatch200ResponseFromJSONTyped, GetActivityStateBatch200ResponseToJSON, GetActivityStateBatch200ResponseToJSONTyped, type GetActivityStateBatchRequest, GetActivityStateBatchRequestFromJSON, GetActivityStateBatchRequestFromJSONTyped, GetActivityStateBatchRequestToJSON, GetActivityStateBatchRequestToJSONTyped, HealthApi, type HealthApiInterface, type HealthResponse, type HealthResponseChecksValue, HealthResponseChecksValueFromJSON, HealthResponseChecksValueFromJSONTyped, HealthResponseChecksValueToJSON, HealthResponseChecksValueToJSONTyped, HealthResponseFromJSON, HealthResponseFromJSONTyped, HealthResponseStatusEnum, HealthResponseToJSON, HealthResponseToJSONTyped, type ManifestItem, ManifestItemFromJSON, ManifestItemFromJSONTyped, ManifestItemToJSON, ManifestItemToJSONTyped, PageApi, type PageApiInterface, type PageApiResolvePageBatchOperationRequest, type PageApiResolvePageRequest, type PageManifest, PageManifestFromJSON, PageManifestFromJSONTyped, PageManifestToJSON, PageManifestToJSONTyped, type PageResolveResponse, PageResolveResponseFromJSON, PageResolveResponseFromJSONTyped, PageResolveResponseToJSON, PageResolveResponseToJSONTyped, type PageResolveResult, PageResolveResultFromJSON, PageResolveResultFromJSONTyped, PageResolveResultToJSON, PageResolveResultToJSONTyped, type QueryDataBatch200Response, QueryDataBatch200ResponseFromJSON, QueryDataBatch200ResponseFromJSONTyped, QueryDataBatch200ResponseToJSON, QueryDataBatch200ResponseToJSONTyped, type QueryDataBatchRequest, QueryDataBatchRequestFromJSON, QueryDataBatchRequestFromJSONTyped, QueryDataBatchRequestToJSON, QueryDataBatchRequestToJSONTyped, type ResolvePageBatch200Response, ResolvePageBatch200ResponseFromJSON, ResolvePageBatch200ResponseFromJSONTyped, ResolvePageBatch200ResponseToJSON, ResolvePageBatch200ResponseToJSONTyped, type ResolvePageBatchRequest, ResolvePageBatchRequestChannelEnum, ResolvePageBatchRequestFromJSON, ResolvePageBatchRequestFromJSONTyped, ResolvePageBatchRequestToJSON, ResolvePageBatchRequestToJSONTyped, ResolvePageChannelEnum, type RuntimeConfig, RuntimeConfigFromJSON, RuntimeConfigFromJSONTyped, type RuntimeConfigReportConfig, RuntimeConfigReportConfigFromJSON, RuntimeConfigReportConfigFromJSONTyped, RuntimeConfigReportConfigToJSON, RuntimeConfigReportConfigToJSONTyped, RuntimeConfigToJSON, RuntimeConfigToJSONTyped, type TraceContext, TraceContextFromJSON, TraceContextFromJSONTyped, TraceContextToJSON, TraceContextToJSONTyped, TrackApi, type TrackApiInterface, type TrackApiTrackOperationRequest, type TrackContext, TrackContextFromJSON, TrackContextFromJSONTyped, TrackContextToJSON, TrackContextToJSONTyped, type TrackEvent, TrackEventEventTypeEnum, TrackEventFromJSON, TrackEventFromJSONTyped, TrackEventToJSON, TrackEventToJSONTyped, type TrackRequest, TrackRequestFromJSON, TrackRequestFromJSONTyped, TrackRequestToJSON, TrackRequestToJSONTyped, type UserActivityState, UserActivityStateFromJSON, UserActivityStateFromJSONTyped, type UserActivityStateProgress, UserActivityStateProgressFromJSON, UserActivityStateProgressFromJSONTyped, UserActivityStateProgressToJSON, UserActivityStateProgressToJSONTyped, UserActivityStateToJSON, UserActivityStateToJSONTyped, type UserClient, type UserClientOptions, createUserClient, instanceOfActionContext, instanceOfActionExecuteRequest, instanceOfActionExecuteResponse, instanceOfActivityState, instanceOfActivityStateActivityInfo, instanceOfActivityStateResponse, instanceOfBaseResponseVo, instanceOfBlockedComponent, instanceOfDataQueryContext, instanceOfDataQueryRequest, instanceOfDataQueryResponse, instanceOfErrorDetail, instanceOfErrorResponseVo, instanceOfExecuteActionBatch200Response, instanceOfExecuteActionBatchRequest, instanceOfGetActivityStateBatch200Response, instanceOfGetActivityStateBatchRequest, instanceOfHealthResponse, instanceOfHealthResponseChecksValue, instanceOfManifestItem, instanceOfPageManifest, instanceOfPageResolveResponse, instanceOfPageResolveResult, instanceOfQueryDataBatch200Response, instanceOfQueryDataBatchRequest, instanceOfResolvePageBatch200Response, instanceOfResolvePageBatchRequest, instanceOfRuntimeConfig, instanceOfRuntimeConfigReportConfig, instanceOfTraceContext, instanceOfTrackContext, instanceOfTrackEvent, instanceOfTrackRequest, instanceOfUserActivityState, instanceOfUserActivityStateProgress };