@zapier/zapier-sdk 0.6.2 → 0.6.4
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/CHANGELOG.md +12 -0
- package/README.md +18 -18
- package/dist/index.cjs +1666 -1638
- package/dist/index.d.mts +241 -2
- package/dist/index.d.ts +18 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +19 -1
- package/dist/index.mjs +1649 -1640
- package/dist/plugins/getProfile/index.js +1 -1
- package/dist/plugins/manifest/index.d.ts +0 -1
- package/dist/plugins/manifest/index.d.ts.map +1 -1
- package/dist/plugins/manifest/index.js +11 -5
- package/dist/plugins/manifest/index.test.js +46 -16
- package/dist/plugins/registry/index.js +3 -3
- package/dist/sdk.d.ts +87 -0
- package/dist/sdk.d.ts.map +1 -1
- package/dist/sdk.js +5 -2
- package/package.json +1 -1
- package/src/index.ts +25 -1
- package/src/plugins/getProfile/index.ts +1 -1
- package/src/plugins/manifest/index.test.ts +49 -17
- package/src/plugins/manifest/index.ts +14 -6
- package/src/plugins/registry/index.ts +3 -3
- package/src/sdk.ts +6 -1
- package/tsconfig.tsbuildinfo +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# @zapier/zapier-sdk
|
|
2
2
|
|
|
3
|
+
## 0.6.4
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 4315531: All CLI commands are now just local plugins used to build a CLI specific SDK, and that CLI specific SDK is used to generate the CLI docs.
|
|
8
|
+
|
|
9
|
+
## 0.6.3
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- 5b74010: Manifest is now lazy loading so it doesn't warn until you try to use it.
|
|
14
|
+
|
|
3
15
|
## 0.6.2
|
|
4
16
|
|
|
5
17
|
### Patch Changes
|
package/README.md
CHANGED
|
@@ -7,6 +7,8 @@
|
|
|
7
7
|
- [Installation](#installation)
|
|
8
8
|
- [Quick Start](#quick-start)
|
|
9
9
|
- [Available Functions](#available-functions)
|
|
10
|
+
- [Accounts](#accounts)
|
|
11
|
+
- [`getProfile`](#getprofile)
|
|
10
12
|
- [Actions](#actions)
|
|
11
13
|
- [`getAction`](#getaction)
|
|
12
14
|
- [`listActions`](#listactions)
|
|
@@ -22,8 +24,6 @@
|
|
|
22
24
|
- [`listAuthentications`](#listauthentications)
|
|
23
25
|
- [HTTP Requests](#http-requests)
|
|
24
26
|
- [`request`](#request)
|
|
25
|
-
- [Users](#users)
|
|
26
|
-
- [`getProfile`](#getprofile)
|
|
27
27
|
- [Utilities](#utilities)
|
|
28
28
|
- [`lockVersion`](#lockversion)
|
|
29
29
|
|
|
@@ -59,6 +59,22 @@ const result = await sdk.runAction({
|
|
|
59
59
|
|
|
60
60
|
## Available Functions
|
|
61
61
|
|
|
62
|
+
### Accounts
|
|
63
|
+
|
|
64
|
+
#### `getProfile`
|
|
65
|
+
|
|
66
|
+
Get current user's profile information
|
|
67
|
+
|
|
68
|
+
**Parameters:** None
|
|
69
|
+
|
|
70
|
+
**Returns:** `Promise<UserProfile>`
|
|
71
|
+
|
|
72
|
+
**Example:**
|
|
73
|
+
|
|
74
|
+
```typescript
|
|
75
|
+
const result = await sdk.getProfile();
|
|
76
|
+
```
|
|
77
|
+
|
|
62
78
|
### Actions
|
|
63
79
|
|
|
64
80
|
#### `getAction`
|
|
@@ -326,22 +342,6 @@ const result = await sdk.request({
|
|
|
326
342
|
});
|
|
327
343
|
```
|
|
328
344
|
|
|
329
|
-
### Users
|
|
330
|
-
|
|
331
|
-
#### `getProfile`
|
|
332
|
-
|
|
333
|
-
Get current user's profile information
|
|
334
|
-
|
|
335
|
-
**Parameters:** None
|
|
336
|
-
|
|
337
|
-
**Returns:** `Promise<UserProfile>`
|
|
338
|
-
|
|
339
|
-
**Example:**
|
|
340
|
-
|
|
341
|
-
```typescript
|
|
342
|
-
const result = await sdk.getProfile();
|
|
343
|
-
```
|
|
344
|
-
|
|
345
345
|
### Utilities
|
|
346
346
|
|
|
347
347
|
#### `lockVersion`
|