@userhub/sdk
Advanced tools
Comparing version 0.5.2 to 0.6.0
@@ -93,3 +93,3 @@ "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { newObj[key] = obj[key]; } } } newObj.default = obj; return newObj; } } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }// src/code.ts | ||
var API_BASE_URL = "https://api.userhub.com"; | ||
var USER_AGENT = "UserHub-JavaScript/0.5.2"; | ||
var USER_AGENT = "UserHub-JavaScript/0.6.0"; | ||
var AUTH_HEADER = "Authorization"; | ||
@@ -362,2 +362,4 @@ var API_KEY_HEADER = "UserHub-Api-Key"; | ||
"type", | ||
"active", | ||
"creatorUserId", | ||
"pageSize", | ||
@@ -457,3 +459,11 @@ "pageToken", | ||
path: "/admin/v1/organizations", | ||
query: ["pageSize", "pageToken", "orderBy", "showDeleted", "view"], | ||
query: [ | ||
"displayName", | ||
"email", | ||
"pageSize", | ||
"pageToken", | ||
"orderBy", | ||
"showDeleted", | ||
"view" | ||
], | ||
idempotent: true, | ||
@@ -545,3 +555,10 @@ args | ||
path: "/admin/v1/organizations/{organizationId}/members", | ||
query: ["pageSize", "pageToken", "orderBy"], | ||
query: [ | ||
"displayName", | ||
"email", | ||
"roleId", | ||
"pageSize", | ||
"pageToken", | ||
"orderBy" | ||
], | ||
idempotent: true, | ||
@@ -644,3 +661,11 @@ args | ||
path: "/admin/v1/users", | ||
query: ["pageSize", "pageToken", "orderBy", "showDeleted", "view"], | ||
query: [ | ||
"displayName", | ||
"email", | ||
"pageSize", | ||
"pageToken", | ||
"orderBy", | ||
"showDeleted", | ||
"view" | ||
], | ||
idempotent: true, | ||
@@ -940,3 +965,11 @@ args | ||
path: "/user/v1/flows", | ||
query: ["organizationId", "type", "pageSize", "pageToken", "orderBy"], | ||
query: [ | ||
"organizationId", | ||
"type", | ||
"active", | ||
"creator", | ||
"pageSize", | ||
"pageToken", | ||
"orderBy" | ||
], | ||
idempotent: true, | ||
@@ -943,0 +976,0 @@ args |
{ | ||
"name": "@userhub/sdk", | ||
"version": "0.5.2", | ||
"version": "0.6.0", | ||
"description": "UserHub JavaScript SDK", | ||
@@ -5,0 +5,0 @@ "license": "MIT", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
390705
9119