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