@stackone/olap 1.39.0 → 1.41.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 CHANGED
@@ -467,6 +467,7 @@ declare class HttpClient<TError extends Error = Error> implements IHttpClient {
467
467
  declare const SourceType: {
468
468
  readonly RequestTester: "REQUEST_TESTER";
469
469
  readonly ActionTester: "ACTION_TESTER";
470
+ readonly Discode: "DISCODE";
470
471
  readonly Dashboard: "DASHBOARD";
471
472
  readonly Playground: "PLAYGROUND";
472
473
  readonly SDK: "SDK";
@@ -474,6 +475,7 @@ declare const SourceType: {
474
475
  readonly Scheduler: "SCHEDULER";
475
476
  readonly Webhook: "WEBHOOK";
476
477
  readonly Agent: "AGENT";
478
+ readonly Application: "APPLICATION";
477
479
  readonly DataSync: "DATA_SYNC";
478
480
  readonly Internal: "INTERNAL";
479
481
  };
@@ -592,6 +594,7 @@ interface IOlapClient {
592
594
  getLogs(organizationId: string, projectSecureId: string, query: Query): Promise<QueryResult>;
593
595
  getActionLogs(organizationId: string, projectSecureId: string, query: ActionsQuery): Promise<ActionsQueryResult>;
594
596
  getActionLog(organizationId: string, projectSecureId: string, actionRunId: string): Promise<ActionLog | undefined>;
597
+ getLog(organizationId: string, projectSecureId: string, logId: string): Promise<ActionLog | UnifiedLog | undefined>;
595
598
  getStepLogs(organizationId: string, projectSecureId: string, query: StepsQuery): Promise<StepsQueryResult>;
596
599
  getStepLog(organizationId: string, projectSecureId: string, actionRunId: string, stepIndex: number): Promise<StepLog | undefined>;
597
600
  getUnifiedLogs(organizationId: string, projectSecureId: string, query: UnifiedQuery): Promise<UnifiedQueryResult>;
@@ -787,6 +790,7 @@ type Query = {
787
790
  originOwnerId?: string | string[];
788
791
  httpMethod?: string | string[];
789
792
  isBackground?: boolean;
793
+ logId?: string | string[];
790
794
  logType?: (typeof LogType.Action | typeof LogType.Unified) | (typeof LogType.Action | typeof LogType.Unified)[];
791
795
  success?: boolean;
792
796
  startTime?: Date;
@@ -1143,6 +1147,7 @@ declare class OlapClient implements IOlapClient {
1143
1147
  getLogs(organizationId: string, projectSecureId: string, query: Query): Promise<QueryResult>;
1144
1148
  getActionLogs(organizationId: string, projectSecureId: string, query: ActionsQuery): Promise<ActionsQueryResult>;
1145
1149
  getActionLog(organizationId: string, projectSecureId: string, actionRunId: string): Promise<ActionLog | undefined>;
1150
+ getLog(organizationId: string, projectSecureId: string, logId: string): Promise<ActionLog | UnifiedLog | undefined>;
1146
1151
  getStepLogs(organizationId: string, projectSecureId: string, query: StepsQuery): Promise<StepsQueryResult>;
1147
1152
  getStepLog(organizationId: string, projectSecureId: string, actionRunId: string, stepIndex: number): Promise<StepLog | undefined>;
1148
1153
  getUnifiedLogs(organizationId: string, projectSecureId: string, query: UnifiedQuery): Promise<UnifiedQueryResult>;
package/dist/index.d.mts CHANGED
@@ -466,6 +466,7 @@ declare class HttpClient<TError extends Error = Error> implements IHttpClient {
466
466
  declare const SourceType: {
467
467
  readonly RequestTester: "REQUEST_TESTER";
468
468
  readonly ActionTester: "ACTION_TESTER";
469
+ readonly Discode: "DISCODE";
469
470
  readonly Dashboard: "DASHBOARD";
470
471
  readonly Playground: "PLAYGROUND";
471
472
  readonly SDK: "SDK";
@@ -473,6 +474,7 @@ declare const SourceType: {
473
474
  readonly Scheduler: "SCHEDULER";
474
475
  readonly Webhook: "WEBHOOK";
475
476
  readonly Agent: "AGENT";
477
+ readonly Application: "APPLICATION";
476
478
  readonly DataSync: "DATA_SYNC";
477
479
  readonly Internal: "INTERNAL";
478
480
  };
@@ -591,6 +593,7 @@ interface IOlapClient {
591
593
  getLogs(organizationId: string, projectSecureId: string, query: Query): Promise<QueryResult>;
592
594
  getActionLogs(organizationId: string, projectSecureId: string, query: ActionsQuery): Promise<ActionsQueryResult>;
593
595
  getActionLog(organizationId: string, projectSecureId: string, actionRunId: string): Promise<ActionLog | undefined>;
596
+ getLog(organizationId: string, projectSecureId: string, logId: string): Promise<ActionLog | UnifiedLog | undefined>;
594
597
  getStepLogs(organizationId: string, projectSecureId: string, query: StepsQuery): Promise<StepsQueryResult>;
595
598
  getStepLog(organizationId: string, projectSecureId: string, actionRunId: string, stepIndex: number): Promise<StepLog | undefined>;
596
599
  getUnifiedLogs(organizationId: string, projectSecureId: string, query: UnifiedQuery): Promise<UnifiedQueryResult>;
@@ -786,6 +789,7 @@ type Query = {
786
789
  originOwnerId?: string | string[];
787
790
  httpMethod?: string | string[];
788
791
  isBackground?: boolean;
792
+ logId?: string | string[];
789
793
  logType?: (typeof LogType.Action | typeof LogType.Unified) | (typeof LogType.Action | typeof LogType.Unified)[];
790
794
  success?: boolean;
791
795
  startTime?: Date;
@@ -1142,6 +1146,7 @@ declare class OlapClient implements IOlapClient {
1142
1146
  getLogs(organizationId: string, projectSecureId: string, query: Query): Promise<QueryResult>;
1143
1147
  getActionLogs(organizationId: string, projectSecureId: string, query: ActionsQuery): Promise<ActionsQueryResult>;
1144
1148
  getActionLog(organizationId: string, projectSecureId: string, actionRunId: string): Promise<ActionLog | undefined>;
1149
+ getLog(organizationId: string, projectSecureId: string, logId: string): Promise<ActionLog | UnifiedLog | undefined>;
1145
1150
  getStepLogs(organizationId: string, projectSecureId: string, query: StepsQuery): Promise<StepsQueryResult>;
1146
1151
  getStepLog(organizationId: string, projectSecureId: string, actionRunId: string, stepIndex: number): Promise<StepLog | undefined>;
1147
1152
  getUnifiedLogs(organizationId: string, projectSecureId: string, query: UnifiedQuery): Promise<UnifiedQueryResult>;