# @maxim_mazurok/gapi.client.workflows-v1beta

> TypeScript typings for Workflows API v1beta

Latest version **0.2.20260909** (published 2026-09-15) · MIT license · 0 weekly downloads

## Install

```sh
npm install @maxim_mazurok/gapi.client.workflows-v1beta
pnpm add @maxim_mazurok/gapi.client.workflows-v1beta
yarn add @maxim_mazurok/gapi.client.workflows-v1beta
bun add @maxim_mazurok/gapi.client.workflows-v1beta
```

## Health

**Score 65/100 (B)** — status: active.

Positive: has types; no vulnerabilities; has provenance; recently updated; high maintenance score.

Warnings: low downloads; no esm support; pre 1.0.

## Facts

| | |
|---|---|
| Version | 0.2.20260909 |
| Published | 2026-09-15 |
| First published | 2022-08-14 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 2 |
| Unpacked size | 31.8 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Provenance | attested (GitHub Actions) |
| GitHub stars | 59 |
| Author | Maxim Mazurok |
| Maintainers | maxim_mazurok |

## Links

- npm: https://www.npmjs.com/package/@maxim_mazurok/gapi.client.workflows-v1beta
- Repository: https://github.com/Maxim-Mazurok/google-api-typings-generator
- Homepage: https://github.com/Maxim-Mazurok/google-api-typings-generator#readme
- Issues: https://github.com/Maxim-Mazurok/google-api-typings-generator/issues
- npm.io page: https://npm.io/package/@maxim_mazurok/gapi.client.workflows-v1beta

## Dependencies (2)

- [@types/gapi.client](https://npm.io/package/@types/gapi.client.md) *
- [@types/gapi.client.discovery-v1](https://npm.io/package/@types/gapi.client.discovery-v1.md) *

## Recent versions

- 0.2.20260909 (latest) — 2026-09-15
- 0.2.20260826 — 2026-09-01
- 0.2.20260819 — 2026-08-25
- 0.2.20260812 — 2026-08-18
- 0.2.20260805 — 2026-08-11
- 0.2.20260728 — 2026-08-04
- 0.2.20260722 — 2026-07-29
- 0.2.20260715 — 2026-07-22
- 0.2.20260708 — 2026-07-14
- 0.2.20260701 — 2026-07-07
- 0.2.20260624 — 2026-06-30
- 0.2.20260617 — 2026-06-24
- 0.2.20260610 — 2026-06-17
- 0.2.20260601 — 2026-06-09
- 0.2.20260427 — 2026-06-07
- … 125 more at https://npm.io/package/@maxim_mazurok/gapi.client.workflows-v1beta/versions

## README

# TypeScript typings for Workflows API v1beta

Manage workflow definitions. To execute workflows and manage executions, see the Workflows Executions API.
For detailed description please check [documentation](https://cloud.google.com/workflows).

## Installing

Install typings for Workflows API:

```
npm install @types/gapi.client.workflows-v1beta --save-dev
```

## TypeScript 6.0+

TypeScript 6.0 changed `types` to default to `[]`. You must now explicitly list type packages in `tsconfig.json`:

```json
{
  "compilerOptions": {
    "types": [
      "gapi",
      "gapi.auth2",
      "gapi.client",
      "gapi.client.workflows-v1beta"
    ]
  }
}
```

## Usage

You need to initialize Google API client in your code:

```typescript
gapi.load('client', () => {
  // now we can use gapi.client
  // ...
});
```

Then load api client wrapper:

```typescript
gapi.client.load(
  'https://workflows.googleapis.com/$discovery/rest?version=v1beta',
  () => {
    // now we can use:
    // gapi.client.workflows
  },
);
```

```typescript
// Deprecated, use discovery document URL, see https://github.com/google/google-api-javascript-client/blob/master/docs/reference.md#----gapiclientloadname----version----callback--
gapi.client.load('workflows', 'v1beta', () => {
  // now we can use:
  // gapi.client.workflows
});
```

Don't forget to authenticate your client before sending any request to resources:

```typescript
// declare client_id registered in Google Developers Console
var client_id = '',
  scope = [
    // See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account.
    'https://www.googleapis.com/auth/cloud-platform',
  ],
  immediate = true;
// ...

gapi.auth.authorize(
  {client_id: client_id, scope: scope, immediate: immediate},
  authResult => {
    if (authResult && !authResult.error) {
      /* handle successful authorization */
    } else {
      /* handle authorization error */
    }
  },
);
```

After that you can use Workflows API resources: <!-- TODO: make this work for multiple namespaces -->

```typescript

```

For provenance information see [Provenance section on NPM](https://www.npmjs.com/package/@maxim_mazurok/gapi.client.workflows-v1beta#Provenance:~:text=none-,Provenance,-Built%20and%20signed)

---
_Source: https://npm.io/package/@maxim_mazurok/gapi.client.workflows-v1beta · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
