@maxim_mazurok/gapi.client.workflowexecutions-v1 0.0.20230317 → 0.0.20230328

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.
Files changed (3) hide show
  1. package/index.d.ts +12 -1
  2. package/package.json +1 -1
  3. package/tests.ts +5 -1
package/index.d.ts CHANGED
@@ -9,7 +9,7 @@
9
9
  // This file was generated by https://github.com/Maxim-Mazurok/google-api-typings-generator. Please do not edit it manually.
10
10
  // In case of any problems please post issue to https://github.com/Maxim-Mazurok/google-api-typings-generator
11
11
  // Generated from: https://workflowexecutions.googleapis.com/$discovery/rest?version=v1
12
- // Revision: 20230317
12
+ // Revision: 20230328
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -61,6 +61,11 @@ declare namespace gapi.client {
61
61
  startTime?: string;
62
62
  /** Output only. Current state of the execution. */
63
63
  state?: string;
64
+ /**
65
+ * Output only. Error regarding the state of the Execution resource. For example, this field will have error details if the Execution data is unavailable due to revoked KMS key
66
+ * permissions.
67
+ */
68
+ stateError?: StateError;
64
69
  /** Output only. Status tracks the current steps and progress data of this execution. */
65
70
  status?: Status;
66
71
  /** Output only. Revision of the workflow this execution is using. */
@@ -111,6 +116,12 @@ declare namespace gapi.client {
111
116
  /** The step the error occurred at. */
112
117
  step?: string;
113
118
  }
119
+ interface StateError {
120
+ /** Provides specifics about the error. */
121
+ details?: string;
122
+ /** The type of this state error. */
123
+ type?: string;
124
+ }
114
125
  interface Status {
115
126
  /**
116
127
  * A list of currently executing or last executed step names for the workflow execution currently running. If the workflow has succeeded or failed, this is the last attempted or
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.workflowexecutions-v1",
3
- "version": "0.0.20230317",
3
+ "version": "0.0.20230328",
4
4
  "description": "TypeScript typings for Workflow Executions API v1",
5
5
  "license": "MIT",
6
6
  "author": {
package/tests.ts CHANGED
@@ -3,7 +3,7 @@
3
3
  // This file was generated by https://github.com/Maxim-Mazurok/google-api-typings-generator. Please do not edit it manually.
4
4
  // In case of any problems please post issue to https://github.com/Maxim-Mazurok/google-api-typings-generator
5
5
 
6
- // Revision: 20230317
6
+ // Revision: 20230328
7
7
 
8
8
  gapi.load('client', async () => {
9
9
  /** now we can use gapi.client */
@@ -82,6 +82,10 @@ gapi.load('client', async () => {
82
82
  result: "Test string",
83
83
  startTime: "Test string",
84
84
  state: "Test string",
85
+ stateError: {
86
+ details: "Test string",
87
+ type: "Test string",
88
+ },
85
89
  status: {
86
90
  currentSteps: [
87
91
  {