@voiceflow/api-sdk 3.13.2 → 3.13.5
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/build/common/resources/crud.d.ts +1 -1
- package/build/common/resources/project/index.d.ts +2 -1
- package/build/common/resources/project/member.d.ts +2 -1
- package/build/common/resources/version.d.ts +2 -1
- package/build/common/types.d.ts +1 -1
- package/build/esm/resources/crud.d.ts +1 -1
- package/build/esm/resources/project/index.d.ts +2 -1
- package/build/esm/resources/project/member.d.ts +2 -1
- package/build/esm/resources/version.d.ts +2 -1
- package/build/esm/types.d.ts +1 -1
- package/package.json +3 -3
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { PutPostType, SchemeType } from "../types";
|
|
2
|
-
import type { AnyRecord } from '@voiceflow/
|
|
2
|
+
import type { AnyRecord } from '@voiceflow/common';
|
|
3
3
|
import BaseResource, { Fields } from './base';
|
|
4
4
|
declare class CrudResource<S extends AnyRecord, K extends keyof SchemeType<S>, C extends Record<string, any>, E extends keyof SchemeType<S> = never> extends BaseResource<C> {
|
|
5
5
|
protected _getCRUDEndpoint(id?: SchemeType<S>[K]): string;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import type Fetch from "../../fetch";
|
|
2
|
-
import {
|
|
2
|
+
import { BaseModels } from '@voiceflow/base-types';
|
|
3
|
+
import { AnyRecord } from '@voiceflow/common';
|
|
3
4
|
import { Fields } from '../base';
|
|
4
5
|
import CrudResource from '../crud';
|
|
5
6
|
import MemberResource from './member';
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import Fetch, { PathVariables } from "../../fetch";
|
|
2
|
-
import {
|
|
2
|
+
import { BaseModels } from '@voiceflow/base-types';
|
|
3
|
+
import { AnyRecord } from '@voiceflow/common';
|
|
3
4
|
import BaseResource, { Fields } from '../base';
|
|
4
5
|
export declare const modelIDKey = "creatorID";
|
|
5
6
|
export declare type ModelIDKey = typeof modelIDKey;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import Fetch from "../fetch";
|
|
2
|
-
import {
|
|
2
|
+
import { BaseModels } from '@voiceflow/base-types';
|
|
3
|
+
import { AnyRecord } from '@voiceflow/common';
|
|
3
4
|
import { Fields } from './base';
|
|
4
5
|
import CrudResource from './crud';
|
|
5
6
|
export declare const ENDPOINT = "versions";
|
package/build/common/types.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { PutPostType, SchemeType } from "../types";
|
|
2
|
-
import type { AnyRecord } from '@voiceflow/
|
|
2
|
+
import type { AnyRecord } from '@voiceflow/common';
|
|
3
3
|
import BaseResource, { Fields } from './base';
|
|
4
4
|
declare class CrudResource<S extends AnyRecord, K extends keyof SchemeType<S>, C extends Record<string, any>, E extends keyof SchemeType<S> = never> extends BaseResource<C> {
|
|
5
5
|
protected _getCRUDEndpoint(id?: SchemeType<S>[K]): string;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import type Fetch from "../../fetch";
|
|
2
|
-
import {
|
|
2
|
+
import { BaseModels } from '@voiceflow/base-types';
|
|
3
|
+
import { AnyRecord } from '@voiceflow/common';
|
|
3
4
|
import { Fields } from '../base';
|
|
4
5
|
import CrudResource from '../crud';
|
|
5
6
|
import MemberResource from './member';
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import Fetch, { PathVariables } from "../../fetch";
|
|
2
|
-
import {
|
|
2
|
+
import { BaseModels } from '@voiceflow/base-types';
|
|
3
|
+
import { AnyRecord } from '@voiceflow/common';
|
|
3
4
|
import BaseResource, { Fields } from '../base';
|
|
4
5
|
export declare const modelIDKey = "creatorID";
|
|
5
6
|
export declare type ModelIDKey = typeof modelIDKey;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import Fetch from "../fetch";
|
|
2
|
-
import {
|
|
2
|
+
import { BaseModels } from '@voiceflow/base-types';
|
|
3
|
+
import { AnyRecord } from '@voiceflow/common';
|
|
3
4
|
import { Fields } from './base';
|
|
4
5
|
import CrudResource from './crud';
|
|
5
6
|
export declare const ENDPOINT = "versions";
|
package/build/esm/types.d.ts
CHANGED
package/package.json
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@voiceflow/api-sdk",
|
|
3
3
|
"description": "wrapper for creator-api",
|
|
4
|
-
"version": "3.13.
|
|
4
|
+
"version": "3.13.5",
|
|
5
5
|
"author": "Voiceflow",
|
|
6
6
|
"bugs": {
|
|
7
7
|
"url": "https://github.com/voiceflow/libs/issues"
|
|
8
8
|
},
|
|
9
9
|
"dependencies": {
|
|
10
|
-
"@voiceflow/base-types": "^2.
|
|
10
|
+
"@voiceflow/base-types": "^2.26.0",
|
|
11
11
|
"@voiceflow/common": "^7.26.1",
|
|
12
12
|
"axios": "0.24.0",
|
|
13
13
|
"jwt-decode": "^3.1.2",
|
|
@@ -62,5 +62,5 @@
|
|
|
62
62
|
"test:single": "NODE_ENV=test ts-mocha --paths --config ./config/tests/.mocharc.json",
|
|
63
63
|
"test:unit": "NODE_ENV=test nyc --report-dir=nyc_coverage_unit ts-mocha --paths --config ./config/tests/.mocharc.json 'tests/**/*.unit.ts'"
|
|
64
64
|
},
|
|
65
|
-
"gitHead": "
|
|
65
|
+
"gitHead": "f079d147cc752ca233177cb1f0a1771a36c88309"
|
|
66
66
|
}
|