@zapier/zapier-sdk 0.6.3 → 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 +6 -0
- package/README.md +18 -18
- package/dist/index.cjs +2049 -2027
- package/dist/index.d.mts +244 -1
- 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 +2032 -2029
- package/dist/plugins/getProfile/index.js +1 -1
- 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/registry/index.ts +3 -3
- package/src/sdk.ts +6 -1
- package/tsconfig.tsbuildinfo +1 -1
package/CHANGELOG.md
CHANGED
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`
|