@unito/integrations-platform-client 0.48.1 → 0.48.2
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/dist/src/api.d.ts +3 -2
- package/dist/src/api.js +3 -3
- package/dist/src/index.cjs +3 -4
- package/package.json +4 -4
package/dist/src/api.d.ts
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* DO NOT MODIFY - This file has been generated using oazapfts.
|
|
5
5
|
* See https://www.npmjs.com/package/oazapfts
|
|
6
6
|
*/
|
|
7
|
-
import * as Oazapfts from 'oazapfts/
|
|
7
|
+
import * as Oazapfts from '@oazapfts/runtime';
|
|
8
8
|
export declare const defaults: Oazapfts.Defaults<Oazapfts.CustomHeaders>;
|
|
9
9
|
export declare const servers: {
|
|
10
10
|
local: string;
|
|
@@ -369,6 +369,7 @@ export declare function postTrack(body: {
|
|
|
369
369
|
export declare function encryptData(body: {
|
|
370
370
|
data: string;
|
|
371
371
|
integrationName: string;
|
|
372
|
+
sensitive?: boolean;
|
|
372
373
|
}, opts?: Oazapfts.RequestOpts): Promise<{
|
|
373
374
|
encryptedData: string;
|
|
374
375
|
}>;
|
|
@@ -490,5 +491,5 @@ export declare function regenerateApiKey(userId: number, opts?: Oazapfts.Request
|
|
|
490
491
|
* Get a user by its email address
|
|
491
492
|
*/
|
|
492
493
|
export declare function getUserByEmail(email: string, opts?: Oazapfts.RequestOpts): Promise<User>;
|
|
493
|
-
import { HttpError } from 'oazapfts';
|
|
494
|
+
import { HttpError } from '@oazapfts/runtime';
|
|
494
495
|
export { HttpError };
|
package/dist/src/api.js
CHANGED
|
@@ -4,8 +4,8 @@
|
|
|
4
4
|
* DO NOT MODIFY - This file has been generated using oazapfts.
|
|
5
5
|
* See https://www.npmjs.com/package/oazapfts
|
|
6
6
|
*/
|
|
7
|
-
import * as Oazapfts from 'oazapfts/
|
|
8
|
-
import * as QS from 'oazapfts/
|
|
7
|
+
import * as Oazapfts from '@oazapfts/runtime';
|
|
8
|
+
import * as QS from '@oazapfts/runtime/query';
|
|
9
9
|
export const defaults = {
|
|
10
10
|
headers: {},
|
|
11
11
|
baseUrl: 'http://localhost:9000',
|
|
@@ -379,5 +379,5 @@ export function getUserByEmail(email, opts) {
|
|
|
379
379
|
...opts,
|
|
380
380
|
}));
|
|
381
381
|
}
|
|
382
|
-
import { HttpError } from 'oazapfts';
|
|
382
|
+
import { HttpError } from '@oazapfts/runtime';
|
|
383
383
|
export { HttpError };
|
package/dist/src/index.cjs
CHANGED
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var Oazapfts = require('oazapfts/
|
|
4
|
-
var QS = require('oazapfts/
|
|
5
|
-
var oazapfts$1 = require('oazapfts');
|
|
3
|
+
var Oazapfts = require('@oazapfts/runtime');
|
|
4
|
+
var QS = require('@oazapfts/runtime/query');
|
|
6
5
|
|
|
7
6
|
function _interopNamespaceDefault(e) {
|
|
8
7
|
var n = Object.create(null);
|
|
@@ -406,7 +405,7 @@ function getUserByEmail(email, opts) {
|
|
|
406
405
|
|
|
407
406
|
var api = {
|
|
408
407
|
__proto__: null,
|
|
409
|
-
HttpError:
|
|
408
|
+
HttpError: Oazapfts.HttpError,
|
|
410
409
|
createCredential: createCredential,
|
|
411
410
|
createIntegration: createIntegration,
|
|
412
411
|
createUser: createUser,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@unito/integrations-platform-client",
|
|
3
|
-
"version": "0.48.
|
|
3
|
+
"version": "0.48.2",
|
|
4
4
|
"description": "The Unito Integrations Platform Client",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"types": "./dist/src/index.d.ts",
|
|
@@ -37,8 +37,8 @@
|
|
|
37
37
|
"devDependencies": {
|
|
38
38
|
"@types/node": "18.x",
|
|
39
39
|
"@types/sinon": "17.x",
|
|
40
|
-
"@typescript-eslint/eslint-plugin": "
|
|
41
|
-
"@typescript-eslint/parser": "
|
|
40
|
+
"@typescript-eslint/eslint-plugin": "7.x",
|
|
41
|
+
"@typescript-eslint/parser": "7.x",
|
|
42
42
|
"c8": "9.x",
|
|
43
43
|
"eslint": "8.x",
|
|
44
44
|
"prettier": "3.x",
|
|
@@ -48,6 +48,6 @@
|
|
|
48
48
|
"typescript": "5.x"
|
|
49
49
|
},
|
|
50
50
|
"dependencies": {
|
|
51
|
-
"oazapfts": "
|
|
51
|
+
"@oazapfts/runtime": "1.x"
|
|
52
52
|
}
|
|
53
53
|
}
|