@stackone/core 2.64.0 → 2.65.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.cts +62 -21
- package/dist/index.d.mts +62 -21
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -393,22 +393,9 @@ type DefenderContext = {
|
|
|
393
393
|
[key: string]: unknown;
|
|
394
394
|
};
|
|
395
395
|
type ActionInput = {
|
|
396
|
+
actionRunId: string;
|
|
396
397
|
actionId?: string;
|
|
397
398
|
mode: string;
|
|
398
|
-
url?: string;
|
|
399
|
-
pathParams?: unknown;
|
|
400
|
-
queryParams?: unknown;
|
|
401
|
-
body?: unknown;
|
|
402
|
-
headers?: Record<string, string>;
|
|
403
|
-
sourceId?: string;
|
|
404
|
-
sourceType?: string;
|
|
405
|
-
sourceValue?: string;
|
|
406
|
-
isBackground?: boolean;
|
|
407
|
-
startTime?: Date;
|
|
408
|
-
};
|
|
409
|
-
type ActionResult = {
|
|
410
|
-
actionRunId: string;
|
|
411
|
-
actionId: string;
|
|
412
399
|
connectorKey: string;
|
|
413
400
|
connectorVersion: string;
|
|
414
401
|
connectorOwner?: string;
|
|
@@ -420,12 +407,29 @@ type ActionResult = {
|
|
|
420
407
|
accountSecureId: string;
|
|
421
408
|
originOwnerId?: string;
|
|
422
409
|
originOwnerName?: string;
|
|
410
|
+
authType?: AuthType;
|
|
411
|
+
authId?: string;
|
|
412
|
+
sourceType?: SourceType | string;
|
|
413
|
+
userAgent?: string;
|
|
414
|
+
ipAddress?: string;
|
|
415
|
+
sessionId?: string;
|
|
416
|
+
agentId?: string;
|
|
417
|
+
transportType?: TransportType;
|
|
418
|
+
streamType?: StreamType;
|
|
419
|
+
isBackground?: boolean;
|
|
420
|
+
pathParams?: unknown;
|
|
421
|
+
queryParams?: unknown;
|
|
422
|
+
body?: unknown;
|
|
423
|
+
headers?: Record<string, string>;
|
|
423
424
|
httpMethod?: string;
|
|
424
425
|
url?: string;
|
|
425
426
|
path?: string;
|
|
426
427
|
resource?: string;
|
|
427
428
|
subResource?: string;
|
|
428
429
|
childResource?: string;
|
|
430
|
+
startTime?: Date;
|
|
431
|
+
};
|
|
432
|
+
type ActionResult = {
|
|
429
433
|
success?: boolean;
|
|
430
434
|
statusCode?: number;
|
|
431
435
|
message?: string;
|
|
@@ -480,9 +484,12 @@ type UnifiedInput = {
|
|
|
480
484
|
resource?: string;
|
|
481
485
|
subResource?: string;
|
|
482
486
|
childResource?: string;
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
487
|
+
authType?: AuthType;
|
|
488
|
+
authId?: string;
|
|
489
|
+
sourceType?: SourceType | string;
|
|
490
|
+
userAgent?: string;
|
|
491
|
+
ipAddress?: string;
|
|
492
|
+
transportType?: TransportType;
|
|
486
493
|
isBackground?: boolean;
|
|
487
494
|
startTime?: Date;
|
|
488
495
|
};
|
|
@@ -727,9 +734,17 @@ type ActionLog = ILog & {
|
|
|
727
734
|
originOwnerName?: string;
|
|
728
735
|
httpMethod?: string;
|
|
729
736
|
url?: string;
|
|
730
|
-
sourceType?: string;
|
|
737
|
+
sourceType?: SourceType | string;
|
|
731
738
|
sourceId?: string;
|
|
732
739
|
sourceValue?: string;
|
|
740
|
+
authType?: AuthType;
|
|
741
|
+
authId?: string;
|
|
742
|
+
userAgent?: string;
|
|
743
|
+
ipAddress?: string;
|
|
744
|
+
sessionId?: string;
|
|
745
|
+
agentId?: string;
|
|
746
|
+
transportType?: TransportType;
|
|
747
|
+
streamType?: StreamType;
|
|
733
748
|
isBackground?: boolean;
|
|
734
749
|
success?: boolean;
|
|
735
750
|
statusCode?: number;
|
|
@@ -772,8 +787,16 @@ type UnifiedLog = ILog & {
|
|
|
772
787
|
service?: string;
|
|
773
788
|
action?: string;
|
|
774
789
|
sourceId?: string;
|
|
775
|
-
sourceType?: string;
|
|
790
|
+
sourceType?: SourceType | string;
|
|
776
791
|
sourceValue?: string;
|
|
792
|
+
authType?: AuthType;
|
|
793
|
+
authId?: string;
|
|
794
|
+
userAgent?: string;
|
|
795
|
+
ipAddress?: string;
|
|
796
|
+
sessionId?: string;
|
|
797
|
+
agentId?: string;
|
|
798
|
+
transportType?: TransportType;
|
|
799
|
+
streamType?: StreamType;
|
|
777
800
|
isBackground?: boolean;
|
|
778
801
|
originOwnerId?: string;
|
|
779
802
|
originOwnerName?: string;
|
|
@@ -2307,7 +2330,15 @@ declare const AuthType: {
|
|
|
2307
2330
|
};
|
|
2308
2331
|
type AuthType = (typeof AuthType)[keyof typeof AuthType];
|
|
2309
2332
|
type Source = {
|
|
2310
|
-
sourceType?: string;
|
|
2333
|
+
sourceType?: SourceType | string;
|
|
2334
|
+
userAgent?: string;
|
|
2335
|
+
ipAddress?: string;
|
|
2336
|
+
sessionId?: string;
|
|
2337
|
+
agentId?: string;
|
|
2338
|
+
transportType?: TransportType;
|
|
2339
|
+
streamType?: StreamType;
|
|
2340
|
+
authType?: AuthType;
|
|
2341
|
+
authId?: string;
|
|
2311
2342
|
sourceId?: string;
|
|
2312
2343
|
sourceValue?: string;
|
|
2313
2344
|
};
|
|
@@ -2365,8 +2396,18 @@ type BlockContext = {
|
|
|
2365
2396
|
actionRunId?: string;
|
|
2366
2397
|
originOwnerId?: string;
|
|
2367
2398
|
originOwnerName?: string;
|
|
2368
|
-
|
|
2399
|
+
sourceType?: SourceType | string;
|
|
2400
|
+
authType?: AuthType;
|
|
2401
|
+
authId?: string;
|
|
2402
|
+
sessionId?: string;
|
|
2403
|
+
agentId?: string;
|
|
2404
|
+
userAgent?: string;
|
|
2405
|
+
ipAddress?: string;
|
|
2406
|
+
transportType?: TransportType;
|
|
2407
|
+
streamType?: StreamType;
|
|
2369
2408
|
flowType?: FlowType;
|
|
2409
|
+
sourceId?: string;
|
|
2410
|
+
sourceValue?: string;
|
|
2370
2411
|
service: string;
|
|
2371
2412
|
resource: string;
|
|
2372
2413
|
subResource?: string;
|
package/dist/index.d.mts
CHANGED
|
@@ -392,22 +392,9 @@ type DefenderContext = {
|
|
|
392
392
|
[key: string]: unknown;
|
|
393
393
|
};
|
|
394
394
|
type ActionInput = {
|
|
395
|
+
actionRunId: string;
|
|
395
396
|
actionId?: string;
|
|
396
397
|
mode: string;
|
|
397
|
-
url?: string;
|
|
398
|
-
pathParams?: unknown;
|
|
399
|
-
queryParams?: unknown;
|
|
400
|
-
body?: unknown;
|
|
401
|
-
headers?: Record<string, string>;
|
|
402
|
-
sourceId?: string;
|
|
403
|
-
sourceType?: string;
|
|
404
|
-
sourceValue?: string;
|
|
405
|
-
isBackground?: boolean;
|
|
406
|
-
startTime?: Date;
|
|
407
|
-
};
|
|
408
|
-
type ActionResult = {
|
|
409
|
-
actionRunId: string;
|
|
410
|
-
actionId: string;
|
|
411
398
|
connectorKey: string;
|
|
412
399
|
connectorVersion: string;
|
|
413
400
|
connectorOwner?: string;
|
|
@@ -419,12 +406,29 @@ type ActionResult = {
|
|
|
419
406
|
accountSecureId: string;
|
|
420
407
|
originOwnerId?: string;
|
|
421
408
|
originOwnerName?: string;
|
|
409
|
+
authType?: AuthType;
|
|
410
|
+
authId?: string;
|
|
411
|
+
sourceType?: SourceType | string;
|
|
412
|
+
userAgent?: string;
|
|
413
|
+
ipAddress?: string;
|
|
414
|
+
sessionId?: string;
|
|
415
|
+
agentId?: string;
|
|
416
|
+
transportType?: TransportType;
|
|
417
|
+
streamType?: StreamType;
|
|
418
|
+
isBackground?: boolean;
|
|
419
|
+
pathParams?: unknown;
|
|
420
|
+
queryParams?: unknown;
|
|
421
|
+
body?: unknown;
|
|
422
|
+
headers?: Record<string, string>;
|
|
422
423
|
httpMethod?: string;
|
|
423
424
|
url?: string;
|
|
424
425
|
path?: string;
|
|
425
426
|
resource?: string;
|
|
426
427
|
subResource?: string;
|
|
427
428
|
childResource?: string;
|
|
429
|
+
startTime?: Date;
|
|
430
|
+
};
|
|
431
|
+
type ActionResult = {
|
|
428
432
|
success?: boolean;
|
|
429
433
|
statusCode?: number;
|
|
430
434
|
message?: string;
|
|
@@ -479,9 +483,12 @@ type UnifiedInput = {
|
|
|
479
483
|
resource?: string;
|
|
480
484
|
subResource?: string;
|
|
481
485
|
childResource?: string;
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
486
|
+
authType?: AuthType;
|
|
487
|
+
authId?: string;
|
|
488
|
+
sourceType?: SourceType | string;
|
|
489
|
+
userAgent?: string;
|
|
490
|
+
ipAddress?: string;
|
|
491
|
+
transportType?: TransportType;
|
|
485
492
|
isBackground?: boolean;
|
|
486
493
|
startTime?: Date;
|
|
487
494
|
};
|
|
@@ -726,9 +733,17 @@ type ActionLog = ILog & {
|
|
|
726
733
|
originOwnerName?: string;
|
|
727
734
|
httpMethod?: string;
|
|
728
735
|
url?: string;
|
|
729
|
-
sourceType?: string;
|
|
736
|
+
sourceType?: SourceType | string;
|
|
730
737
|
sourceId?: string;
|
|
731
738
|
sourceValue?: string;
|
|
739
|
+
authType?: AuthType;
|
|
740
|
+
authId?: string;
|
|
741
|
+
userAgent?: string;
|
|
742
|
+
ipAddress?: string;
|
|
743
|
+
sessionId?: string;
|
|
744
|
+
agentId?: string;
|
|
745
|
+
transportType?: TransportType;
|
|
746
|
+
streamType?: StreamType;
|
|
732
747
|
isBackground?: boolean;
|
|
733
748
|
success?: boolean;
|
|
734
749
|
statusCode?: number;
|
|
@@ -771,8 +786,16 @@ type UnifiedLog = ILog & {
|
|
|
771
786
|
service?: string;
|
|
772
787
|
action?: string;
|
|
773
788
|
sourceId?: string;
|
|
774
|
-
sourceType?: string;
|
|
789
|
+
sourceType?: SourceType | string;
|
|
775
790
|
sourceValue?: string;
|
|
791
|
+
authType?: AuthType;
|
|
792
|
+
authId?: string;
|
|
793
|
+
userAgent?: string;
|
|
794
|
+
ipAddress?: string;
|
|
795
|
+
sessionId?: string;
|
|
796
|
+
agentId?: string;
|
|
797
|
+
transportType?: TransportType;
|
|
798
|
+
streamType?: StreamType;
|
|
776
799
|
isBackground?: boolean;
|
|
777
800
|
originOwnerId?: string;
|
|
778
801
|
originOwnerName?: string;
|
|
@@ -2306,7 +2329,15 @@ declare const AuthType: {
|
|
|
2306
2329
|
};
|
|
2307
2330
|
type AuthType = (typeof AuthType)[keyof typeof AuthType];
|
|
2308
2331
|
type Source = {
|
|
2309
|
-
sourceType?: string;
|
|
2332
|
+
sourceType?: SourceType | string;
|
|
2333
|
+
userAgent?: string;
|
|
2334
|
+
ipAddress?: string;
|
|
2335
|
+
sessionId?: string;
|
|
2336
|
+
agentId?: string;
|
|
2337
|
+
transportType?: TransportType;
|
|
2338
|
+
streamType?: StreamType;
|
|
2339
|
+
authType?: AuthType;
|
|
2340
|
+
authId?: string;
|
|
2310
2341
|
sourceId?: string;
|
|
2311
2342
|
sourceValue?: string;
|
|
2312
2343
|
};
|
|
@@ -2364,8 +2395,18 @@ type BlockContext = {
|
|
|
2364
2395
|
actionRunId?: string;
|
|
2365
2396
|
originOwnerId?: string;
|
|
2366
2397
|
originOwnerName?: string;
|
|
2367
|
-
|
|
2398
|
+
sourceType?: SourceType | string;
|
|
2399
|
+
authType?: AuthType;
|
|
2400
|
+
authId?: string;
|
|
2401
|
+
sessionId?: string;
|
|
2402
|
+
agentId?: string;
|
|
2403
|
+
userAgent?: string;
|
|
2404
|
+
ipAddress?: string;
|
|
2405
|
+
transportType?: TransportType;
|
|
2406
|
+
streamType?: StreamType;
|
|
2368
2407
|
flowType?: FlowType;
|
|
2408
|
+
sourceId?: string;
|
|
2409
|
+
sourceValue?: string;
|
|
2369
2410
|
service: string;
|
|
2370
2411
|
resource: string;
|
|
2371
2412
|
subResource?: string;
|