@stackone/olap 1.43.0 → 1.45.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.cjs +66 -8
- package/dist/index.d.cts +75 -1
- package/dist/index.d.mts +75 -1
- package/dist/index.mjs +66 -8
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -347,6 +347,10 @@ type Query = {
|
|
|
347
347
|
accountSecureId?: string | string[];
|
|
348
348
|
actionId?: string | string[];
|
|
349
349
|
connectorKey?: string | string[];
|
|
350
|
+
connectorVersion?: string | string[];
|
|
351
|
+
connectorOwner?: string | string[];
|
|
352
|
+
connectorProfileId?: string | string[];
|
|
353
|
+
actionType?: string | string[];
|
|
350
354
|
mode?: string | string[];
|
|
351
355
|
category?: string | string[];
|
|
352
356
|
requestId?: string | string[];
|
|
@@ -361,7 +365,16 @@ type Query = {
|
|
|
361
365
|
sourceType?: string | string[];
|
|
362
366
|
sourceValue?: string | string[];
|
|
363
367
|
originOwnerId?: string | string[];
|
|
368
|
+
originOwnerName?: string | string[];
|
|
364
369
|
httpMethod?: string | string[];
|
|
370
|
+
authType?: string | string[];
|
|
371
|
+
authId?: string | string[];
|
|
372
|
+
userAgent?: string | string[];
|
|
373
|
+
ipAddress?: string | string[];
|
|
374
|
+
sessionId?: string | string[];
|
|
375
|
+
agentId?: string | string[];
|
|
376
|
+
transportType?: string | string[];
|
|
377
|
+
streamType?: string | string[];
|
|
365
378
|
isBackground?: boolean;
|
|
366
379
|
logId?: string | string[];
|
|
367
380
|
logType?: (typeof LogType.Action | typeof LogType.Unified) | (typeof LogType.Action | typeof LogType.Unified)[];
|
|
@@ -370,6 +383,8 @@ type Query = {
|
|
|
370
383
|
endTime?: Date;
|
|
371
384
|
pageNumber?: number;
|
|
372
385
|
pageSize?: number;
|
|
386
|
+
orderBy?: OrderBy;
|
|
387
|
+
orderDirection?: OrderDirection;
|
|
373
388
|
};
|
|
374
389
|
type QueryResult = {
|
|
375
390
|
logs: Array<ActionLog | UnifiedLog | StepLog | ProviderLog>;
|
|
@@ -384,14 +399,35 @@ type ActionsQuery = {
|
|
|
384
399
|
accountSecureId?: string | string[];
|
|
385
400
|
actionId?: string | string[];
|
|
386
401
|
connectorKey?: string | string[];
|
|
402
|
+
connectorVersion?: string | string[];
|
|
403
|
+
connectorOwner?: string | string[];
|
|
404
|
+
connectorProfileId?: string | string[];
|
|
405
|
+
actionType?: string | string[];
|
|
387
406
|
mode?: string | string[];
|
|
388
407
|
category?: string | string[];
|
|
408
|
+
originOwnerId?: string | string[];
|
|
409
|
+
originOwnerName?: string | string[];
|
|
410
|
+
httpMethod?: string | string[];
|
|
411
|
+
sourceType?: string | string[];
|
|
412
|
+
sourceId?: string | string[];
|
|
413
|
+
sourceValue?: string | string[];
|
|
414
|
+
authType?: string | string[];
|
|
415
|
+
authId?: string | string[];
|
|
416
|
+
userAgent?: string | string[];
|
|
417
|
+
ipAddress?: string | string[];
|
|
418
|
+
sessionId?: string | string[];
|
|
419
|
+
agentId?: string | string[];
|
|
420
|
+
transportType?: string | string[];
|
|
421
|
+
streamType?: string | string[];
|
|
422
|
+
statusCode?: string | string[];
|
|
389
423
|
isBackground?: boolean;
|
|
390
424
|
success?: boolean;
|
|
391
425
|
startTime?: Date;
|
|
392
426
|
endTime?: Date;
|
|
393
427
|
pageNumber?: number;
|
|
394
428
|
pageSize?: number;
|
|
429
|
+
orderBy?: OrderBy;
|
|
430
|
+
orderDirection?: OrderDirection;
|
|
395
431
|
};
|
|
396
432
|
type ActionsQueryResult = {
|
|
397
433
|
actionLogs: ActionLog[];
|
|
@@ -411,6 +447,8 @@ type StepsQuery = {
|
|
|
411
447
|
endTime?: Date;
|
|
412
448
|
pageNumber?: number;
|
|
413
449
|
pageSize?: number;
|
|
450
|
+
orderBy?: OrderBy;
|
|
451
|
+
orderDirection?: OrderDirection;
|
|
414
452
|
};
|
|
415
453
|
type StepsQueryResult = {
|
|
416
454
|
stepLogs: StepLog[];
|
|
@@ -424,16 +462,38 @@ type UnifiedQuery = {
|
|
|
424
462
|
accountSecureId?: string | string[];
|
|
425
463
|
requestId?: string | string[];
|
|
426
464
|
connectorKey?: string | string[];
|
|
465
|
+
connectorVersion?: string | string[];
|
|
466
|
+
mode?: string | string[];
|
|
467
|
+
httpMethod?: string | string[];
|
|
427
468
|
resource?: string | string[];
|
|
469
|
+
subResource?: string | string[];
|
|
470
|
+
childResource?: string | string[];
|
|
471
|
+
service?: string | string[];
|
|
472
|
+
action?: string | string[];
|
|
428
473
|
source?: string | string[];
|
|
429
474
|
category?: string | string[];
|
|
475
|
+
sourceType?: string | string[];
|
|
476
|
+
sourceId?: string | string[];
|
|
477
|
+
sourceValue?: string | string[];
|
|
478
|
+
authType?: string | string[];
|
|
479
|
+
authId?: string | string[];
|
|
480
|
+
userAgent?: string | string[];
|
|
481
|
+
ipAddress?: string | string[];
|
|
482
|
+
sessionId?: string | string[];
|
|
483
|
+
agentId?: string | string[];
|
|
484
|
+
transportType?: string | string[];
|
|
485
|
+
streamType?: string | string[];
|
|
430
486
|
originOwnerId?: string | string[];
|
|
487
|
+
originOwnerName?: string | string[];
|
|
488
|
+
statusCode?: string | string[];
|
|
431
489
|
isBackground?: boolean;
|
|
432
490
|
success?: boolean;
|
|
433
491
|
startTime?: Date;
|
|
434
492
|
endTime?: Date;
|
|
435
493
|
pageNumber?: number;
|
|
436
494
|
pageSize?: number;
|
|
495
|
+
orderBy?: OrderBy;
|
|
496
|
+
orderDirection?: OrderDirection;
|
|
437
497
|
};
|
|
438
498
|
type UnifiedQueryResult = {
|
|
439
499
|
unifiedLogs: UnifiedLog[];
|
|
@@ -452,6 +512,8 @@ type ProviderQuery = {
|
|
|
452
512
|
endTime?: Date;
|
|
453
513
|
pageNumber?: number;
|
|
454
514
|
pageSize?: number;
|
|
515
|
+
orderBy?: OrderBy;
|
|
516
|
+
orderDirection?: OrderDirection;
|
|
455
517
|
};
|
|
456
518
|
type ProviderQueryResult = {
|
|
457
519
|
providerLogs: ProviderLog[];
|
|
@@ -459,6 +521,18 @@ type ProviderQueryResult = {
|
|
|
459
521
|
pageNumber: number;
|
|
460
522
|
pageSize: number;
|
|
461
523
|
};
|
|
524
|
+
declare const OrderBy: {
|
|
525
|
+
readonly StartTime: "startTime";
|
|
526
|
+
readonly EndTime: "endTime";
|
|
527
|
+
readonly EventTime: "eventTime";
|
|
528
|
+
readonly DurationMs: "durationMs";
|
|
529
|
+
};
|
|
530
|
+
type OrderBy = (typeof OrderBy)[keyof typeof OrderBy];
|
|
531
|
+
declare const OrderDirection: {
|
|
532
|
+
readonly Asc: "asc";
|
|
533
|
+
readonly Desc: "desc";
|
|
534
|
+
};
|
|
535
|
+
type OrderDirection = (typeof OrderDirection)[keyof typeof OrderDirection];
|
|
462
536
|
type IntervalType = 'minute' | 'hour' | 'day' | 'week' | 'month';
|
|
463
537
|
declare const Dimension: {
|
|
464
538
|
readonly ConnectorKey: "connector_key";
|
|
@@ -779,4 +853,4 @@ declare class OlapClientManager {
|
|
|
779
853
|
static resetInstance(): void;
|
|
780
854
|
}
|
|
781
855
|
//#endregion
|
|
782
|
-
export { type ActionAdvancedLog, type ActionInput, type ActionLog, type ActionResult, type ActionsQuery, type ActionsQueryResult, type AdvancedOptions, type AggregateQuery, type AggregateResult, type DatasetsOptions, type DefenderContext, type DefenderLog, type DefenderOptions, Dimension, type Dimension as DimensionValues, type DimensionsQuery, type DimensionsResult, type ILog, type IOlapClient, type IntervalType, LogType, type LogType as LogTypeValues, type LogsOptions, OlapClient, OlapClientManager, type OlapOptions, type ProviderAdvancedLog, type ProviderInput, type ProviderLog, type ProviderQuery, type ProviderQueryResult, type ProviderResult, type Query, type QueryResult, type SourceQuery, type SourceResult, type StepAdvancedLog, type StepInput, type StepLog, type StepResult, type StepsQuery, type StepsQueryResult, type TinybirdConfig, type TinybirdQueryOptions, type TinybirdResponse, type UnifiedAdvancedLog, type UnifiedInput, type UnifiedLog, type UnifiedQuery, type UnifiedQueryResult, type UnifiedResult };
|
|
856
|
+
export { type ActionAdvancedLog, type ActionInput, type ActionLog, type ActionResult, type ActionsQuery, type ActionsQueryResult, type AdvancedOptions, type AggregateQuery, type AggregateResult, type DatasetsOptions, type DefenderContext, type DefenderLog, type DefenderOptions, Dimension, type Dimension as DimensionValues, type DimensionsQuery, type DimensionsResult, type ILog, type IOlapClient, type IntervalType, LogType, type LogType as LogTypeValues, type LogsOptions, OlapClient, OlapClientManager, type OlapOptions, OrderBy, type OrderBy as OrderByValues, OrderDirection, type OrderDirection as OrderDirectionValues, type ProviderAdvancedLog, type ProviderInput, type ProviderLog, type ProviderQuery, type ProviderQueryResult, type ProviderResult, type Query, type QueryResult, type SourceQuery, type SourceResult, type StepAdvancedLog, type StepInput, type StepLog, type StepResult, type StepsQuery, type StepsQueryResult, type TinybirdConfig, type TinybirdQueryOptions, type TinybirdResponse, type UnifiedAdvancedLog, type UnifiedInput, type UnifiedLog, type UnifiedQuery, type UnifiedQueryResult, type UnifiedResult };
|
package/dist/index.d.mts
CHANGED
|
@@ -347,6 +347,10 @@ type Query = {
|
|
|
347
347
|
accountSecureId?: string | string[];
|
|
348
348
|
actionId?: string | string[];
|
|
349
349
|
connectorKey?: string | string[];
|
|
350
|
+
connectorVersion?: string | string[];
|
|
351
|
+
connectorOwner?: string | string[];
|
|
352
|
+
connectorProfileId?: string | string[];
|
|
353
|
+
actionType?: string | string[];
|
|
350
354
|
mode?: string | string[];
|
|
351
355
|
category?: string | string[];
|
|
352
356
|
requestId?: string | string[];
|
|
@@ -361,7 +365,16 @@ type Query = {
|
|
|
361
365
|
sourceType?: string | string[];
|
|
362
366
|
sourceValue?: string | string[];
|
|
363
367
|
originOwnerId?: string | string[];
|
|
368
|
+
originOwnerName?: string | string[];
|
|
364
369
|
httpMethod?: string | string[];
|
|
370
|
+
authType?: string | string[];
|
|
371
|
+
authId?: string | string[];
|
|
372
|
+
userAgent?: string | string[];
|
|
373
|
+
ipAddress?: string | string[];
|
|
374
|
+
sessionId?: string | string[];
|
|
375
|
+
agentId?: string | string[];
|
|
376
|
+
transportType?: string | string[];
|
|
377
|
+
streamType?: string | string[];
|
|
365
378
|
isBackground?: boolean;
|
|
366
379
|
logId?: string | string[];
|
|
367
380
|
logType?: (typeof LogType.Action | typeof LogType.Unified) | (typeof LogType.Action | typeof LogType.Unified)[];
|
|
@@ -370,6 +383,8 @@ type Query = {
|
|
|
370
383
|
endTime?: Date;
|
|
371
384
|
pageNumber?: number;
|
|
372
385
|
pageSize?: number;
|
|
386
|
+
orderBy?: OrderBy;
|
|
387
|
+
orderDirection?: OrderDirection;
|
|
373
388
|
};
|
|
374
389
|
type QueryResult = {
|
|
375
390
|
logs: Array<ActionLog | UnifiedLog | StepLog | ProviderLog>;
|
|
@@ -384,14 +399,35 @@ type ActionsQuery = {
|
|
|
384
399
|
accountSecureId?: string | string[];
|
|
385
400
|
actionId?: string | string[];
|
|
386
401
|
connectorKey?: string | string[];
|
|
402
|
+
connectorVersion?: string | string[];
|
|
403
|
+
connectorOwner?: string | string[];
|
|
404
|
+
connectorProfileId?: string | string[];
|
|
405
|
+
actionType?: string | string[];
|
|
387
406
|
mode?: string | string[];
|
|
388
407
|
category?: string | string[];
|
|
408
|
+
originOwnerId?: string | string[];
|
|
409
|
+
originOwnerName?: string | string[];
|
|
410
|
+
httpMethod?: string | string[];
|
|
411
|
+
sourceType?: string | string[];
|
|
412
|
+
sourceId?: string | string[];
|
|
413
|
+
sourceValue?: string | string[];
|
|
414
|
+
authType?: string | string[];
|
|
415
|
+
authId?: string | string[];
|
|
416
|
+
userAgent?: string | string[];
|
|
417
|
+
ipAddress?: string | string[];
|
|
418
|
+
sessionId?: string | string[];
|
|
419
|
+
agentId?: string | string[];
|
|
420
|
+
transportType?: string | string[];
|
|
421
|
+
streamType?: string | string[];
|
|
422
|
+
statusCode?: string | string[];
|
|
389
423
|
isBackground?: boolean;
|
|
390
424
|
success?: boolean;
|
|
391
425
|
startTime?: Date;
|
|
392
426
|
endTime?: Date;
|
|
393
427
|
pageNumber?: number;
|
|
394
428
|
pageSize?: number;
|
|
429
|
+
orderBy?: OrderBy;
|
|
430
|
+
orderDirection?: OrderDirection;
|
|
395
431
|
};
|
|
396
432
|
type ActionsQueryResult = {
|
|
397
433
|
actionLogs: ActionLog[];
|
|
@@ -411,6 +447,8 @@ type StepsQuery = {
|
|
|
411
447
|
endTime?: Date;
|
|
412
448
|
pageNumber?: number;
|
|
413
449
|
pageSize?: number;
|
|
450
|
+
orderBy?: OrderBy;
|
|
451
|
+
orderDirection?: OrderDirection;
|
|
414
452
|
};
|
|
415
453
|
type StepsQueryResult = {
|
|
416
454
|
stepLogs: StepLog[];
|
|
@@ -424,16 +462,38 @@ type UnifiedQuery = {
|
|
|
424
462
|
accountSecureId?: string | string[];
|
|
425
463
|
requestId?: string | string[];
|
|
426
464
|
connectorKey?: string | string[];
|
|
465
|
+
connectorVersion?: string | string[];
|
|
466
|
+
mode?: string | string[];
|
|
467
|
+
httpMethod?: string | string[];
|
|
427
468
|
resource?: string | string[];
|
|
469
|
+
subResource?: string | string[];
|
|
470
|
+
childResource?: string | string[];
|
|
471
|
+
service?: string | string[];
|
|
472
|
+
action?: string | string[];
|
|
428
473
|
source?: string | string[];
|
|
429
474
|
category?: string | string[];
|
|
475
|
+
sourceType?: string | string[];
|
|
476
|
+
sourceId?: string | string[];
|
|
477
|
+
sourceValue?: string | string[];
|
|
478
|
+
authType?: string | string[];
|
|
479
|
+
authId?: string | string[];
|
|
480
|
+
userAgent?: string | string[];
|
|
481
|
+
ipAddress?: string | string[];
|
|
482
|
+
sessionId?: string | string[];
|
|
483
|
+
agentId?: string | string[];
|
|
484
|
+
transportType?: string | string[];
|
|
485
|
+
streamType?: string | string[];
|
|
430
486
|
originOwnerId?: string | string[];
|
|
487
|
+
originOwnerName?: string | string[];
|
|
488
|
+
statusCode?: string | string[];
|
|
431
489
|
isBackground?: boolean;
|
|
432
490
|
success?: boolean;
|
|
433
491
|
startTime?: Date;
|
|
434
492
|
endTime?: Date;
|
|
435
493
|
pageNumber?: number;
|
|
436
494
|
pageSize?: number;
|
|
495
|
+
orderBy?: OrderBy;
|
|
496
|
+
orderDirection?: OrderDirection;
|
|
437
497
|
};
|
|
438
498
|
type UnifiedQueryResult = {
|
|
439
499
|
unifiedLogs: UnifiedLog[];
|
|
@@ -452,6 +512,8 @@ type ProviderQuery = {
|
|
|
452
512
|
endTime?: Date;
|
|
453
513
|
pageNumber?: number;
|
|
454
514
|
pageSize?: number;
|
|
515
|
+
orderBy?: OrderBy;
|
|
516
|
+
orderDirection?: OrderDirection;
|
|
455
517
|
};
|
|
456
518
|
type ProviderQueryResult = {
|
|
457
519
|
providerLogs: ProviderLog[];
|
|
@@ -459,6 +521,18 @@ type ProviderQueryResult = {
|
|
|
459
521
|
pageNumber: number;
|
|
460
522
|
pageSize: number;
|
|
461
523
|
};
|
|
524
|
+
declare const OrderBy: {
|
|
525
|
+
readonly StartTime: "startTime";
|
|
526
|
+
readonly EndTime: "endTime";
|
|
527
|
+
readonly EventTime: "eventTime";
|
|
528
|
+
readonly DurationMs: "durationMs";
|
|
529
|
+
};
|
|
530
|
+
type OrderBy = (typeof OrderBy)[keyof typeof OrderBy];
|
|
531
|
+
declare const OrderDirection: {
|
|
532
|
+
readonly Asc: "asc";
|
|
533
|
+
readonly Desc: "desc";
|
|
534
|
+
};
|
|
535
|
+
type OrderDirection = (typeof OrderDirection)[keyof typeof OrderDirection];
|
|
462
536
|
type IntervalType = 'minute' | 'hour' | 'day' | 'week' | 'month';
|
|
463
537
|
declare const Dimension: {
|
|
464
538
|
readonly ConnectorKey: "connector_key";
|
|
@@ -779,4 +853,4 @@ declare class OlapClientManager {
|
|
|
779
853
|
static resetInstance(): void;
|
|
780
854
|
}
|
|
781
855
|
//#endregion
|
|
782
|
-
export { type ActionAdvancedLog, type ActionInput, type ActionLog, type ActionResult, type ActionsQuery, type ActionsQueryResult, type AdvancedOptions, type AggregateQuery, type AggregateResult, type DatasetsOptions, type DefenderContext, type DefenderLog, type DefenderOptions, Dimension, type Dimension as DimensionValues, type DimensionsQuery, type DimensionsResult, type ILog, type IOlapClient, type IntervalType, LogType, type LogType as LogTypeValues, type LogsOptions, OlapClient, OlapClientManager, type OlapOptions, type ProviderAdvancedLog, type ProviderInput, type ProviderLog, type ProviderQuery, type ProviderQueryResult, type ProviderResult, type Query, type QueryResult, type SourceQuery, type SourceResult, type StepAdvancedLog, type StepInput, type StepLog, type StepResult, type StepsQuery, type StepsQueryResult, type TinybirdConfig, type TinybirdQueryOptions, type TinybirdResponse, type UnifiedAdvancedLog, type UnifiedInput, type UnifiedLog, type UnifiedQuery, type UnifiedQueryResult, type UnifiedResult };
|
|
856
|
+
export { type ActionAdvancedLog, type ActionInput, type ActionLog, type ActionResult, type ActionsQuery, type ActionsQueryResult, type AdvancedOptions, type AggregateQuery, type AggregateResult, type DatasetsOptions, type DefenderContext, type DefenderLog, type DefenderOptions, Dimension, type Dimension as DimensionValues, type DimensionsQuery, type DimensionsResult, type ILog, type IOlapClient, type IntervalType, LogType, type LogType as LogTypeValues, type LogsOptions, OlapClient, OlapClientManager, type OlapOptions, OrderBy, type OrderBy as OrderByValues, OrderDirection, type OrderDirection as OrderDirectionValues, type ProviderAdvancedLog, type ProviderInput, type ProviderLog, type ProviderQuery, type ProviderQueryResult, type ProviderResult, type Query, type QueryResult, type SourceQuery, type SourceResult, type StepAdvancedLog, type StepInput, type StepLog, type StepResult, type StepsQuery, type StepsQueryResult, type TinybirdConfig, type TinybirdQueryOptions, type TinybirdResponse, type UnifiedAdvancedLog, type UnifiedInput, type UnifiedLog, type UnifiedQuery, type UnifiedQueryResult, type UnifiedResult };
|