@fbrc/sdk 0.0.10 → 0.0.12
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/.openapi-generator/FILES +5 -5
- package/dist/apis/MemoriesApi.d.ts +104 -0
- package/dist/apis/MemoriesApi.js +273 -0
- package/dist/apis/ResourceRootsApi.d.ts +49 -0
- package/dist/apis/ResourceRootsApi.js +127 -0
- package/dist/apis/ResourcesApi.js +2 -2
- package/dist/apis/SubscriptionApi.js +1 -1
- package/dist/apis/SubscriptionsApi.d.ts +30 -0
- package/dist/apis/SubscriptionsApi.js +69 -0
- package/dist/apis/UserProfileApi.js +1 -1
- package/dist/apis/UsersApi.d.ts +29 -0
- package/dist/apis/UsersApi.js +66 -0
- package/dist/apis/WorkspaceApi.d.ts +13 -5
- package/dist/apis/WorkspaceApi.js +12 -5
- package/dist/apis/{DefaultApi.d.ts → WorkspacesApi.d.ts} +23 -15
- package/dist/apis/{DefaultApi.js → WorkspacesApi.js} +29 -22
- package/dist/apis/index.d.ts +5 -5
- package/dist/apis/index.js +5 -5
- package/dist/esm/apis/MemoriesApi.d.ts +104 -0
- package/dist/esm/apis/MemoriesApi.js +269 -0
- package/dist/esm/apis/ResourceRootsApi.d.ts +49 -0
- package/dist/esm/apis/ResourceRootsApi.js +123 -0
- package/dist/esm/apis/ResourcesApi.js +2 -2
- package/dist/esm/apis/SubscriptionApi.js +1 -1
- package/dist/esm/apis/SubscriptionsApi.d.ts +30 -0
- package/dist/esm/apis/SubscriptionsApi.js +65 -0
- package/dist/esm/apis/UserProfileApi.js +1 -1
- package/dist/esm/apis/UsersApi.d.ts +29 -0
- package/dist/esm/apis/UsersApi.js +62 -0
- package/dist/esm/apis/WorkspaceApi.d.ts +13 -5
- package/dist/esm/apis/WorkspaceApi.js +11 -4
- package/dist/esm/apis/{DefaultApi.d.ts → WorkspacesApi.d.ts} +23 -15
- package/dist/esm/apis/{DefaultApi.js → WorkspacesApi.js} +27 -20
- package/dist/esm/apis/index.d.ts +5 -5
- package/dist/esm/apis/index.js +5 -5
- package/dist/esm/models/ChatbotModel.d.ts +6 -7
- package/dist/esm/models/ChatbotModel.js +6 -7
- package/dist/models/ChatbotModel.d.ts +6 -7
- package/dist/models/ChatbotModel.js +6 -7
- package/package.json +1 -1
- package/src/apis/{MemoryApi.ts → MemoriesApi.ts} +1 -1
- package/src/apis/{ResourceRootApi.ts → ResourceRootsApi.ts} +1 -1
- package/src/apis/ResourcesApi.ts +2 -2
- package/src/apis/{SubscriptionApi.ts → SubscriptionsApi.ts} +2 -2
- package/src/apis/{UserProfileApi.ts → UsersApi.ts} +2 -2
- package/src/apis/{WorkspaceApi.ts → WorkspacesApi.ts} +15 -6
- package/src/apis/index.ts +5 -5
- package/src/models/ChatbotModel.ts +6 -7
- package/dist/esm/models/DeleteResourcesRequest.d.ts +0 -38
- package/dist/esm/models/DeleteResourcesRequest.js +0 -45
- package/dist/esm/models/DeleteSpace404Response.d.ts +0 -52
- package/dist/esm/models/DeleteSpace404Response.js +0 -59
- package/dist/esm/models/MarketingCampaignSource.d.ts +0 -69
- package/dist/esm/models/MarketingCampaignSource.js +0 -68
- package/dist/esm/models/UtmSources.d.ts +0 -24
- package/dist/esm/models/UtmSources.js +0 -42
- package/dist/esm/models/V2WorkspaceDeletionConfirmationPostRequest.d.ts +0 -32
- package/dist/esm/models/V2WorkspaceDeletionConfirmationPostRequest.js +0 -43
- package/dist/esm/models/V2WorkspaceGet200Response.d.ts +0 -39
- package/dist/esm/models/V2WorkspaceGet200Response.js +0 -48
- package/dist/esm/models/V2WorkspaceGet200ResponseData.d.ts +0 -33
- package/dist/esm/models/V2WorkspaceGet200ResponseData.js +0 -44
- package/dist/esm/models/V2WorkspacePatchRequest.d.ts +0 -50
- package/dist/esm/models/V2WorkspacePatchRequest.js +0 -47
- package/dist/esm/models/V2WorkspacePostRequest.d.ts +0 -64
- package/dist/esm/models/V2WorkspacePostRequest.js +0 -53
- package/dist/models/DeleteResourcesRequest.d.ts +0 -38
- package/dist/models/DeleteResourcesRequest.js +0 -52
- package/dist/models/DeleteSpace404Response.d.ts +0 -52
- package/dist/models/DeleteSpace404Response.js +0 -67
- package/dist/models/MarketingCampaignSource.d.ts +0 -69
- package/dist/models/MarketingCampaignSource.js +0 -75
- package/dist/models/UtmSources.d.ts +0 -24
- package/dist/models/UtmSources.js +0 -50
- package/dist/models/V2WorkspaceDeletionConfirmationPostRequest.d.ts +0 -32
- package/dist/models/V2WorkspaceDeletionConfirmationPostRequest.js +0 -50
- package/dist/models/V2WorkspaceGet200Response.d.ts +0 -39
- package/dist/models/V2WorkspaceGet200Response.js +0 -55
- package/dist/models/V2WorkspaceGet200ResponseData.d.ts +0 -33
- package/dist/models/V2WorkspaceGet200ResponseData.js +0 -51
- package/dist/models/V2WorkspacePatchRequest.d.ts +0 -50
- package/dist/models/V2WorkspacePatchRequest.js +0 -54
- package/dist/models/V2WorkspacePostRequest.d.ts +0 -64
- package/dist/models/V2WorkspacePostRequest.js +0 -60
- package/dist/models/V2WorkspacesPatchRequest.d.ts +0 -50
- package/dist/models/V2WorkspacesPatchRequest.js +0 -72
- package/dist/models/V2WorkspacesPostRequest.d.ts +0 -64
- package/dist/models/V2WorkspacesPostRequest.js +0 -82
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Fabric API
|
|
3
|
-
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
|
-
*
|
|
5
|
-
* The version of the OpenAPI document: 1.0.0
|
|
6
|
-
*
|
|
7
|
-
*
|
|
8
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
-
* https://openapi-generator.tech
|
|
10
|
-
* Do not edit the class manually.
|
|
11
|
-
*/
|
|
12
|
-
/**
|
|
13
|
-
*
|
|
14
|
-
* @export
|
|
15
|
-
* @interface V2WorkspacesPatchRequest
|
|
16
|
-
*/
|
|
17
|
-
export interface V2WorkspacesPatchRequest {
|
|
18
|
-
/**
|
|
19
|
-
*
|
|
20
|
-
* @type {string}
|
|
21
|
-
* @memberof V2WorkspacesPatchRequest
|
|
22
|
-
*/
|
|
23
|
-
'title'?: string;
|
|
24
|
-
/**
|
|
25
|
-
*
|
|
26
|
-
* @type {string}
|
|
27
|
-
* @memberof V2WorkspacesPatchRequest
|
|
28
|
-
*/
|
|
29
|
-
'description'?: string | null;
|
|
30
|
-
/**
|
|
31
|
-
*
|
|
32
|
-
* @type {string}
|
|
33
|
-
* @memberof V2WorkspacesPatchRequest
|
|
34
|
-
*/
|
|
35
|
-
'slug'?: string;
|
|
36
|
-
/**
|
|
37
|
-
*
|
|
38
|
-
* @type {string}
|
|
39
|
-
* @memberof V2WorkspacesPatchRequest
|
|
40
|
-
*/
|
|
41
|
-
'avatarStoragePath'?: string | null;
|
|
42
|
-
}
|
|
43
|
-
/**
|
|
44
|
-
* Check if a given object implements the V2WorkspacesPatchRequest interface.
|
|
45
|
-
*/
|
|
46
|
-
export declare function instanceOfV2WorkspacesPatchRequest(value: object): value is V2WorkspacesPatchRequest;
|
|
47
|
-
export declare function V2WorkspacesPatchRequestFromJSON(json: any): V2WorkspacesPatchRequest;
|
|
48
|
-
export declare function V2WorkspacesPatchRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): V2WorkspacesPatchRequest;
|
|
49
|
-
export declare function V2WorkspacesPatchRequestToJSON(json: any): V2WorkspacesPatchRequest;
|
|
50
|
-
export declare function V2WorkspacesPatchRequestToJSONTyped(value?: V2WorkspacesPatchRequest | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -1,72 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/* tslint:disable */
|
|
3
|
-
/* eslint-disable */
|
|
4
|
-
/**
|
|
5
|
-
* Fabric API
|
|
6
|
-
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
7
|
-
*
|
|
8
|
-
* The version of the OpenAPI document: 1.0.0
|
|
9
|
-
*
|
|
10
|
-
*
|
|
11
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
-
* https://openapi-generator.tech
|
|
13
|
-
* Do not edit the class manually.
|
|
14
|
-
*/
|
|
15
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.instanceOfV2WorkspacesPatchRequest = instanceOfV2WorkspacesPatchRequest;
|
|
17
|
-
exports.V2WorkspacesPatchRequestFromJSON = V2WorkspacesPatchRequestFromJSON;
|
|
18
|
-
exports.V2WorkspacesPatchRequestFromJSONTyped = V2WorkspacesPatchRequestFromJSONTyped;
|
|
19
|
-
exports.V2WorkspacesPatchRequestToJSON = V2WorkspacesPatchRequestToJSON;
|
|
20
|
-
exports.V2WorkspacesPatchRequestToJSONTyped = V2WorkspacesPatchRequestToJSONTyped;
|
|
21
|
-
/**
|
|
22
|
-
* Check if a given object implements the V2WorkspacesPatchRequest interface.
|
|
23
|
-
*/
|
|
24
|
-
function instanceOfV2WorkspacesPatchRequest(value) {
|
|
25
|
-
return true;
|
|
26
|
-
}
|
|
27
|
-
function V2WorkspacesPatchRequestFromJSON(json) {
|
|
28
|
-
return V2WorkspacesPatchRequestFromJSONTyped(json, false);
|
|
29
|
-
}
|
|
30
|
-
function V2WorkspacesPatchRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
31
|
-
if (json == null) {
|
|
32
|
-
return json;
|
|
33
|
-
}
|
|
34
|
-
const result = {};
|
|
35
|
-
if (json['title'] !== undefined) {
|
|
36
|
-
result['title'] = json['title'];
|
|
37
|
-
}
|
|
38
|
-
if (json['description'] !== undefined) {
|
|
39
|
-
if (json['description'] === null) {
|
|
40
|
-
result['description'] = null;
|
|
41
|
-
}
|
|
42
|
-
else {
|
|
43
|
-
result['description'] = json['description'];
|
|
44
|
-
}
|
|
45
|
-
}
|
|
46
|
-
if (json['slug'] !== undefined) {
|
|
47
|
-
result['slug'] = json['slug'];
|
|
48
|
-
}
|
|
49
|
-
if (json['avatarStoragePath'] !== undefined) {
|
|
50
|
-
if (json['avatarStoragePath'] === null) {
|
|
51
|
-
result['avatarStoragePath'] = null;
|
|
52
|
-
}
|
|
53
|
-
else {
|
|
54
|
-
result['avatarStoragePath'] = json['avatarStoragePath'];
|
|
55
|
-
}
|
|
56
|
-
}
|
|
57
|
-
return result;
|
|
58
|
-
}
|
|
59
|
-
function V2WorkspacesPatchRequestToJSON(json) {
|
|
60
|
-
return V2WorkspacesPatchRequestToJSONTyped(json, false);
|
|
61
|
-
}
|
|
62
|
-
function V2WorkspacesPatchRequestToJSONTyped(value, ignoreDiscriminator = false) {
|
|
63
|
-
if (value == null) {
|
|
64
|
-
return value;
|
|
65
|
-
}
|
|
66
|
-
return {
|
|
67
|
-
'title': value['title'],
|
|
68
|
-
'description': value['description'],
|
|
69
|
-
'slug': value['slug'],
|
|
70
|
-
'avatarStoragePath': value['avatarStoragePath'],
|
|
71
|
-
};
|
|
72
|
-
}
|
|
@@ -1,64 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Fabric API
|
|
3
|
-
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
|
-
*
|
|
5
|
-
* The version of the OpenAPI document: 1.0.0
|
|
6
|
-
*
|
|
7
|
-
*
|
|
8
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
-
* https://openapi-generator.tech
|
|
10
|
-
* Do not edit the class manually.
|
|
11
|
-
*/
|
|
12
|
-
import type { MarketingCampaignSource } from './MarketingCampaignSource';
|
|
13
|
-
import type { WorkspaceType } from './WorkspaceType';
|
|
14
|
-
/**
|
|
15
|
-
*
|
|
16
|
-
* @export
|
|
17
|
-
* @interface V2WorkspacesPostRequest
|
|
18
|
-
*/
|
|
19
|
-
export interface V2WorkspacesPostRequest {
|
|
20
|
-
/**
|
|
21
|
-
*
|
|
22
|
-
* @type {string}
|
|
23
|
-
* @memberof V2WorkspacesPostRequest
|
|
24
|
-
*/
|
|
25
|
-
'title'?: string;
|
|
26
|
-
/**
|
|
27
|
-
*
|
|
28
|
-
* @type {string}
|
|
29
|
-
* @memberof V2WorkspacesPostRequest
|
|
30
|
-
*/
|
|
31
|
-
'description'?: string | null;
|
|
32
|
-
/**
|
|
33
|
-
*
|
|
34
|
-
* @type {string}
|
|
35
|
-
* @memberof V2WorkspacesPostRequest
|
|
36
|
-
*/
|
|
37
|
-
'slug'?: string;
|
|
38
|
-
/**
|
|
39
|
-
*
|
|
40
|
-
* @type {MarketingCampaignSource}
|
|
41
|
-
* @memberof V2WorkspacesPostRequest
|
|
42
|
-
*/
|
|
43
|
-
'marketing'?: MarketingCampaignSource | null;
|
|
44
|
-
/**
|
|
45
|
-
*
|
|
46
|
-
* @type {string}
|
|
47
|
-
* @memberof V2WorkspacesPostRequest
|
|
48
|
-
*/
|
|
49
|
-
'referral'?: string;
|
|
50
|
-
/**
|
|
51
|
-
*
|
|
52
|
-
* @type {WorkspaceType}
|
|
53
|
-
* @memberof V2WorkspacesPostRequest
|
|
54
|
-
*/
|
|
55
|
-
'type'?: WorkspaceType;
|
|
56
|
-
}
|
|
57
|
-
/**
|
|
58
|
-
* Check if a given object implements the V2WorkspacesPostRequest interface.
|
|
59
|
-
*/
|
|
60
|
-
export declare function instanceOfV2WorkspacesPostRequest(value: object): value is V2WorkspacesPostRequest;
|
|
61
|
-
export declare function V2WorkspacesPostRequestFromJSON(json: any): V2WorkspacesPostRequest;
|
|
62
|
-
export declare function V2WorkspacesPostRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): V2WorkspacesPostRequest;
|
|
63
|
-
export declare function V2WorkspacesPostRequestToJSON(json: any): V2WorkspacesPostRequest;
|
|
64
|
-
export declare function V2WorkspacesPostRequestToJSONTyped(value?: V2WorkspacesPostRequest | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -1,82 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/* tslint:disable */
|
|
3
|
-
/* eslint-disable */
|
|
4
|
-
/**
|
|
5
|
-
* Fabric API
|
|
6
|
-
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
7
|
-
*
|
|
8
|
-
* The version of the OpenAPI document: 1.0.0
|
|
9
|
-
*
|
|
10
|
-
*
|
|
11
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
-
* https://openapi-generator.tech
|
|
13
|
-
* Do not edit the class manually.
|
|
14
|
-
*/
|
|
15
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.instanceOfV2WorkspacesPostRequest = instanceOfV2WorkspacesPostRequest;
|
|
17
|
-
exports.V2WorkspacesPostRequestFromJSON = V2WorkspacesPostRequestFromJSON;
|
|
18
|
-
exports.V2WorkspacesPostRequestFromJSONTyped = V2WorkspacesPostRequestFromJSONTyped;
|
|
19
|
-
exports.V2WorkspacesPostRequestToJSON = V2WorkspacesPostRequestToJSON;
|
|
20
|
-
exports.V2WorkspacesPostRequestToJSONTyped = V2WorkspacesPostRequestToJSONTyped;
|
|
21
|
-
const MarketingCampaignSource_1 = require("./MarketingCampaignSource");
|
|
22
|
-
const WorkspaceType_1 = require("./WorkspaceType");
|
|
23
|
-
/**
|
|
24
|
-
* Check if a given object implements the V2WorkspacesPostRequest interface.
|
|
25
|
-
*/
|
|
26
|
-
function instanceOfV2WorkspacesPostRequest(value) {
|
|
27
|
-
return true;
|
|
28
|
-
}
|
|
29
|
-
function V2WorkspacesPostRequestFromJSON(json) {
|
|
30
|
-
return V2WorkspacesPostRequestFromJSONTyped(json, false);
|
|
31
|
-
}
|
|
32
|
-
function V2WorkspacesPostRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
33
|
-
if (json == null) {
|
|
34
|
-
return json;
|
|
35
|
-
}
|
|
36
|
-
const result = {};
|
|
37
|
-
if (json['title'] !== undefined) {
|
|
38
|
-
result['title'] = json['title'];
|
|
39
|
-
}
|
|
40
|
-
if (json['description'] !== undefined) {
|
|
41
|
-
if (json['description'] === null) {
|
|
42
|
-
result['description'] = null;
|
|
43
|
-
}
|
|
44
|
-
else {
|
|
45
|
-
result['description'] = json['description'];
|
|
46
|
-
}
|
|
47
|
-
}
|
|
48
|
-
if (json['slug'] !== undefined) {
|
|
49
|
-
result['slug'] = json['slug'];
|
|
50
|
-
}
|
|
51
|
-
if (json['marketing'] !== undefined) {
|
|
52
|
-
if (json['marketing'] === null) {
|
|
53
|
-
result['marketing'] = null;
|
|
54
|
-
}
|
|
55
|
-
else {
|
|
56
|
-
result['marketing'] = (0, MarketingCampaignSource_1.MarketingCampaignSourceFromJSON)(json['marketing']);
|
|
57
|
-
}
|
|
58
|
-
}
|
|
59
|
-
if (json['referral'] !== undefined) {
|
|
60
|
-
result['referral'] = json['referral'];
|
|
61
|
-
}
|
|
62
|
-
if (json['type'] !== undefined) {
|
|
63
|
-
result['type'] = (0, WorkspaceType_1.WorkspaceTypeFromJSON)(json['type']);
|
|
64
|
-
}
|
|
65
|
-
return result;
|
|
66
|
-
}
|
|
67
|
-
function V2WorkspacesPostRequestToJSON(json) {
|
|
68
|
-
return V2WorkspacesPostRequestToJSONTyped(json, false);
|
|
69
|
-
}
|
|
70
|
-
function V2WorkspacesPostRequestToJSONTyped(value, ignoreDiscriminator = false) {
|
|
71
|
-
if (value == null) {
|
|
72
|
-
return value;
|
|
73
|
-
}
|
|
74
|
-
return {
|
|
75
|
-
'title': value['title'],
|
|
76
|
-
'description': value['description'],
|
|
77
|
-
'slug': value['slug'],
|
|
78
|
-
'marketing': (0, MarketingCampaignSource_1.MarketingCampaignSourceToJSON)(value['marketing']),
|
|
79
|
-
'referral': value['referral'],
|
|
80
|
-
'type': (0, WorkspaceType_1.WorkspaceTypeToJSON)(value['type']),
|
|
81
|
-
};
|
|
82
|
-
}
|