@fbrc/sdk 0.0.7 → 0.0.9
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 +0 -2
- package/dist/apis/MemoryApi.d.ts +24 -0
- package/dist/apis/MemoryApi.js +25 -1
- package/dist/apis/WorkspaceApi.d.ts +11 -11
- package/dist/apis/WorkspaceApi.js +8 -8
- package/dist/esm/apis/MemoryApi.d.ts +24 -0
- package/dist/esm/apis/MemoryApi.js +25 -1
- package/dist/esm/apis/WorkspaceApi.d.ts +11 -11
- package/dist/esm/apis/WorkspaceApi.js +8 -8
- package/dist/esm/models/CreateWorkspaceRequest.d.ts +0 -14
- package/dist/esm/models/CreateWorkspaceRequest.js +0 -15
- package/dist/esm/models/ToolStatus.d.ts +1 -0
- package/dist/esm/models/ToolStatus.js +1 -0
- package/dist/esm/models/UpdateMemoryRequest.d.ts +1 -1
- package/dist/esm/models/UpdateMemoryRequest.js +0 -2
- package/dist/esm/models/index.d.ts +0 -2
- package/dist/esm/models/index.js +0 -2
- package/dist/models/CreateWorkspaceRequest.d.ts +0 -14
- package/dist/models/CreateWorkspaceRequest.js +0 -15
- package/dist/models/ToolStatus.d.ts +1 -0
- package/dist/models/ToolStatus.js +1 -0
- package/dist/models/UpdateMemoryRequest.d.ts +1 -1
- package/dist/models/UpdateMemoryRequest.js +0 -2
- package/dist/models/index.d.ts +0 -2
- package/dist/models/index.js +0 -2
- package/package.json +1 -1
- package/src/apis/MemoryApi.ts +25 -1
- package/src/apis/WorkspaceApi.ts +11 -11
- package/src/models/CreateWorkspaceRequest.ts +0 -41
- package/src/models/ToolStatus.ts +1 -0
- package/src/models/UpdateMemoryRequest.ts +1 -2
- package/src/models/index.ts +0 -2
- 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/src/models/DeleteResourcesRequest.ts +0 -74
- package/src/models/DeleteSpace404Response.ts +0 -93
- package/src/models/MarketingCampaignSource.ts +0 -139
- package/src/models/UtmSources.ts +0 -52
- package/src/models/V2WorkspaceDeletionConfirmationPostRequest.ts +0 -66
- package/src/models/V2WorkspaceGet200Response.ts +0 -83
- package/src/models/V2WorkspaceGet200ResponseData.ts +0 -74
- package/src/models/V2WorkspacePatchRequest.ts +0 -89
- package/src/models/V2WorkspacePostRequest.ts +0 -122
|
@@ -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 V2WorkspacePostRequest
|
|
18
|
-
*/
|
|
19
|
-
export interface V2WorkspacePostRequest {
|
|
20
|
-
/**
|
|
21
|
-
*
|
|
22
|
-
* @type {string}
|
|
23
|
-
* @memberof V2WorkspacePostRequest
|
|
24
|
-
*/
|
|
25
|
-
title?: string;
|
|
26
|
-
/**
|
|
27
|
-
*
|
|
28
|
-
* @type {WorkspaceType}
|
|
29
|
-
* @memberof V2WorkspacePostRequest
|
|
30
|
-
*/
|
|
31
|
-
type?: WorkspaceType;
|
|
32
|
-
/**
|
|
33
|
-
*
|
|
34
|
-
* @type {string}
|
|
35
|
-
* @memberof V2WorkspacePostRequest
|
|
36
|
-
*/
|
|
37
|
-
description?: string | null;
|
|
38
|
-
/**
|
|
39
|
-
*
|
|
40
|
-
* @type {string}
|
|
41
|
-
* @memberof V2WorkspacePostRequest
|
|
42
|
-
*/
|
|
43
|
-
slug?: string;
|
|
44
|
-
/**
|
|
45
|
-
*
|
|
46
|
-
* @type {MarketingCampaignSource}
|
|
47
|
-
* @memberof V2WorkspacePostRequest
|
|
48
|
-
*/
|
|
49
|
-
marketing?: MarketingCampaignSource | null;
|
|
50
|
-
/**
|
|
51
|
-
*
|
|
52
|
-
* @type {string}
|
|
53
|
-
* @memberof V2WorkspacePostRequest
|
|
54
|
-
*/
|
|
55
|
-
referral?: string;
|
|
56
|
-
}
|
|
57
|
-
/**
|
|
58
|
-
* Check if a given object implements the V2WorkspacePostRequest interface.
|
|
59
|
-
*/
|
|
60
|
-
export declare function instanceOfV2WorkspacePostRequest(value: object): value is V2WorkspacePostRequest;
|
|
61
|
-
export declare function V2WorkspacePostRequestFromJSON(json: any): V2WorkspacePostRequest;
|
|
62
|
-
export declare function V2WorkspacePostRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): V2WorkspacePostRequest;
|
|
63
|
-
export declare function V2WorkspacePostRequestToJSON(json: any): V2WorkspacePostRequest;
|
|
64
|
-
export declare function V2WorkspacePostRequestToJSONTyped(value?: V2WorkspacePostRequest | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -1,53 +0,0 @@
|
|
|
1
|
-
/* tslint:disable */
|
|
2
|
-
/* eslint-disable */
|
|
3
|
-
/**
|
|
4
|
-
* Fabric API
|
|
5
|
-
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
6
|
-
*
|
|
7
|
-
* The version of the OpenAPI document: 1.0.0
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
-
* https://openapi-generator.tech
|
|
12
|
-
* Do not edit the class manually.
|
|
13
|
-
*/
|
|
14
|
-
import { MarketingCampaignSourceFromJSON, MarketingCampaignSourceToJSON, } from './MarketingCampaignSource';
|
|
15
|
-
import { WorkspaceTypeFromJSON, WorkspaceTypeToJSON, } from './WorkspaceType';
|
|
16
|
-
/**
|
|
17
|
-
* Check if a given object implements the V2WorkspacePostRequest interface.
|
|
18
|
-
*/
|
|
19
|
-
export function instanceOfV2WorkspacePostRequest(value) {
|
|
20
|
-
return true;
|
|
21
|
-
}
|
|
22
|
-
export function V2WorkspacePostRequestFromJSON(json) {
|
|
23
|
-
return V2WorkspacePostRequestFromJSONTyped(json, false);
|
|
24
|
-
}
|
|
25
|
-
export function V2WorkspacePostRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
26
|
-
if (json == null) {
|
|
27
|
-
return json;
|
|
28
|
-
}
|
|
29
|
-
return {
|
|
30
|
-
'title': json['title'] == null ? undefined : json['title'],
|
|
31
|
-
'type': json['type'] == null ? undefined : WorkspaceTypeFromJSON(json['type']),
|
|
32
|
-
'description': json['description'] == null ? undefined : json['description'],
|
|
33
|
-
'slug': json['slug'] == null ? undefined : json['slug'],
|
|
34
|
-
'marketing': json['marketing'] == null ? undefined : MarketingCampaignSourceFromJSON(json['marketing']),
|
|
35
|
-
'referral': json['referral'] == null ? undefined : json['referral'],
|
|
36
|
-
};
|
|
37
|
-
}
|
|
38
|
-
export function V2WorkspacePostRequestToJSON(json) {
|
|
39
|
-
return V2WorkspacePostRequestToJSONTyped(json, false);
|
|
40
|
-
}
|
|
41
|
-
export function V2WorkspacePostRequestToJSONTyped(value, ignoreDiscriminator = false) {
|
|
42
|
-
if (value == null) {
|
|
43
|
-
return value;
|
|
44
|
-
}
|
|
45
|
-
return {
|
|
46
|
-
'title': value['title'],
|
|
47
|
-
'type': WorkspaceTypeToJSON(value['type']),
|
|
48
|
-
'description': value['description'],
|
|
49
|
-
'slug': value['slug'],
|
|
50
|
-
'marketing': MarketingCampaignSourceToJSON(value['marketing']),
|
|
51
|
-
'referral': value['referral'],
|
|
52
|
-
};
|
|
53
|
-
}
|
|
@@ -1,38 +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 DeleteResourcesRequest
|
|
16
|
-
*/
|
|
17
|
-
export interface DeleteResourcesRequest {
|
|
18
|
-
/**
|
|
19
|
-
*
|
|
20
|
-
* @type {Array<string>}
|
|
21
|
-
* @memberof DeleteResourcesRequest
|
|
22
|
-
*/
|
|
23
|
-
resourceIds: Array<string>;
|
|
24
|
-
/**
|
|
25
|
-
*
|
|
26
|
-
* @type {boolean}
|
|
27
|
-
* @memberof DeleteResourcesRequest
|
|
28
|
-
*/
|
|
29
|
-
archive?: boolean;
|
|
30
|
-
}
|
|
31
|
-
/**
|
|
32
|
-
* Check if a given object implements the DeleteResourcesRequest interface.
|
|
33
|
-
*/
|
|
34
|
-
export declare function instanceOfDeleteResourcesRequest(value: object): value is DeleteResourcesRequest;
|
|
35
|
-
export declare function DeleteResourcesRequestFromJSON(json: any): DeleteResourcesRequest;
|
|
36
|
-
export declare function DeleteResourcesRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): DeleteResourcesRequest;
|
|
37
|
-
export declare function DeleteResourcesRequestToJSON(json: any): DeleteResourcesRequest;
|
|
38
|
-
export declare function DeleteResourcesRequestToJSONTyped(value?: DeleteResourcesRequest | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -1,52 +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.instanceOfDeleteResourcesRequest = instanceOfDeleteResourcesRequest;
|
|
17
|
-
exports.DeleteResourcesRequestFromJSON = DeleteResourcesRequestFromJSON;
|
|
18
|
-
exports.DeleteResourcesRequestFromJSONTyped = DeleteResourcesRequestFromJSONTyped;
|
|
19
|
-
exports.DeleteResourcesRequestToJSON = DeleteResourcesRequestToJSON;
|
|
20
|
-
exports.DeleteResourcesRequestToJSONTyped = DeleteResourcesRequestToJSONTyped;
|
|
21
|
-
/**
|
|
22
|
-
* Check if a given object implements the DeleteResourcesRequest interface.
|
|
23
|
-
*/
|
|
24
|
-
function instanceOfDeleteResourcesRequest(value) {
|
|
25
|
-
if (!('resourceIds' in value) || value['resourceIds'] === undefined)
|
|
26
|
-
return false;
|
|
27
|
-
return true;
|
|
28
|
-
}
|
|
29
|
-
function DeleteResourcesRequestFromJSON(json) {
|
|
30
|
-
return DeleteResourcesRequestFromJSONTyped(json, false);
|
|
31
|
-
}
|
|
32
|
-
function DeleteResourcesRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
33
|
-
if (json == null) {
|
|
34
|
-
return json;
|
|
35
|
-
}
|
|
36
|
-
return {
|
|
37
|
-
'resourceIds': json['resourceIds'],
|
|
38
|
-
'archive': json['archive'] == null ? undefined : json['archive'],
|
|
39
|
-
};
|
|
40
|
-
}
|
|
41
|
-
function DeleteResourcesRequestToJSON(json) {
|
|
42
|
-
return DeleteResourcesRequestToJSONTyped(json, false);
|
|
43
|
-
}
|
|
44
|
-
function DeleteResourcesRequestToJSONTyped(value, ignoreDiscriminator = false) {
|
|
45
|
-
if (value == null) {
|
|
46
|
-
return value;
|
|
47
|
-
}
|
|
48
|
-
return {
|
|
49
|
-
'resourceIds': value['resourceIds'],
|
|
50
|
-
'archive': value['archive'],
|
|
51
|
-
};
|
|
52
|
-
}
|
|
@@ -1,52 +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 DeleteSpace404Response
|
|
16
|
-
*/
|
|
17
|
-
export interface DeleteSpace404Response {
|
|
18
|
-
/**
|
|
19
|
-
*
|
|
20
|
-
* @type {string}
|
|
21
|
-
* @memberof DeleteSpace404Response
|
|
22
|
-
*/
|
|
23
|
-
title: DeleteSpace404ResponseTitleEnum;
|
|
24
|
-
/**
|
|
25
|
-
*
|
|
26
|
-
* @type {string}
|
|
27
|
-
* @memberof DeleteSpace404Response
|
|
28
|
-
*/
|
|
29
|
-
detail: DeleteSpace404ResponseDetailEnum;
|
|
30
|
-
}
|
|
31
|
-
/**
|
|
32
|
-
* @export
|
|
33
|
-
*/
|
|
34
|
-
export declare const DeleteSpace404ResponseTitleEnum: {
|
|
35
|
-
readonly NotFound: "Not Found";
|
|
36
|
-
};
|
|
37
|
-
export type DeleteSpace404ResponseTitleEnum = typeof DeleteSpace404ResponseTitleEnum[keyof typeof DeleteSpace404ResponseTitleEnum];
|
|
38
|
-
/**
|
|
39
|
-
* @export
|
|
40
|
-
*/
|
|
41
|
-
export declare const DeleteSpace404ResponseDetailEnum: {
|
|
42
|
-
readonly SpaceNotFound: "space_not_found";
|
|
43
|
-
};
|
|
44
|
-
export type DeleteSpace404ResponseDetailEnum = typeof DeleteSpace404ResponseDetailEnum[keyof typeof DeleteSpace404ResponseDetailEnum];
|
|
45
|
-
/**
|
|
46
|
-
* Check if a given object implements the DeleteSpace404Response interface.
|
|
47
|
-
*/
|
|
48
|
-
export declare function instanceOfDeleteSpace404Response(value: object): value is DeleteSpace404Response;
|
|
49
|
-
export declare function DeleteSpace404ResponseFromJSON(json: any): DeleteSpace404Response;
|
|
50
|
-
export declare function DeleteSpace404ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): DeleteSpace404Response;
|
|
51
|
-
export declare function DeleteSpace404ResponseToJSON(json: any): DeleteSpace404Response;
|
|
52
|
-
export declare function DeleteSpace404ResponseToJSONTyped(value?: DeleteSpace404Response | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -1,67 +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.DeleteSpace404ResponseDetailEnum = exports.DeleteSpace404ResponseTitleEnum = void 0;
|
|
17
|
-
exports.instanceOfDeleteSpace404Response = instanceOfDeleteSpace404Response;
|
|
18
|
-
exports.DeleteSpace404ResponseFromJSON = DeleteSpace404ResponseFromJSON;
|
|
19
|
-
exports.DeleteSpace404ResponseFromJSONTyped = DeleteSpace404ResponseFromJSONTyped;
|
|
20
|
-
exports.DeleteSpace404ResponseToJSON = DeleteSpace404ResponseToJSON;
|
|
21
|
-
exports.DeleteSpace404ResponseToJSONTyped = DeleteSpace404ResponseToJSONTyped;
|
|
22
|
-
/**
|
|
23
|
-
* @export
|
|
24
|
-
*/
|
|
25
|
-
exports.DeleteSpace404ResponseTitleEnum = {
|
|
26
|
-
NotFound: 'Not Found'
|
|
27
|
-
};
|
|
28
|
-
/**
|
|
29
|
-
* @export
|
|
30
|
-
*/
|
|
31
|
-
exports.DeleteSpace404ResponseDetailEnum = {
|
|
32
|
-
SpaceNotFound: 'space_not_found'
|
|
33
|
-
};
|
|
34
|
-
/**
|
|
35
|
-
* Check if a given object implements the DeleteSpace404Response interface.
|
|
36
|
-
*/
|
|
37
|
-
function instanceOfDeleteSpace404Response(value) {
|
|
38
|
-
if (!('title' in value) || value['title'] === undefined)
|
|
39
|
-
return false;
|
|
40
|
-
if (!('detail' in value) || value['detail'] === undefined)
|
|
41
|
-
return false;
|
|
42
|
-
return true;
|
|
43
|
-
}
|
|
44
|
-
function DeleteSpace404ResponseFromJSON(json) {
|
|
45
|
-
return DeleteSpace404ResponseFromJSONTyped(json, false);
|
|
46
|
-
}
|
|
47
|
-
function DeleteSpace404ResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
48
|
-
if (json == null) {
|
|
49
|
-
return json;
|
|
50
|
-
}
|
|
51
|
-
return {
|
|
52
|
-
'title': json['title'],
|
|
53
|
-
'detail': json['detail'],
|
|
54
|
-
};
|
|
55
|
-
}
|
|
56
|
-
function DeleteSpace404ResponseToJSON(json) {
|
|
57
|
-
return DeleteSpace404ResponseToJSONTyped(json, false);
|
|
58
|
-
}
|
|
59
|
-
function DeleteSpace404ResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
60
|
-
if (value == null) {
|
|
61
|
-
return value;
|
|
62
|
-
}
|
|
63
|
-
return {
|
|
64
|
-
'title': value['title'],
|
|
65
|
-
'detail': value['detail'],
|
|
66
|
-
};
|
|
67
|
-
}
|
|
@@ -1,69 +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 { UtmSources } from './UtmSources';
|
|
13
|
-
/**
|
|
14
|
-
*
|
|
15
|
-
* @export
|
|
16
|
-
* @interface MarketingCampaignSource
|
|
17
|
-
*/
|
|
18
|
-
export interface MarketingCampaignSource {
|
|
19
|
-
/**
|
|
20
|
-
*
|
|
21
|
-
* @type {UtmSources}
|
|
22
|
-
* @memberof MarketingCampaignSource
|
|
23
|
-
*/
|
|
24
|
-
'utm_source'?: UtmSources;
|
|
25
|
-
/**
|
|
26
|
-
*
|
|
27
|
-
* @type {string}
|
|
28
|
-
* @memberof MarketingCampaignSource
|
|
29
|
-
*/
|
|
30
|
-
'utm_medium'?: string;
|
|
31
|
-
/**
|
|
32
|
-
*
|
|
33
|
-
* @type {string}
|
|
34
|
-
* @memberof MarketingCampaignSource
|
|
35
|
-
*/
|
|
36
|
-
'utm_campaign'?: string;
|
|
37
|
-
/**
|
|
38
|
-
*
|
|
39
|
-
* @type {string}
|
|
40
|
-
* @memberof MarketingCampaignSource
|
|
41
|
-
*/
|
|
42
|
-
'utm_campaign_id'?: string;
|
|
43
|
-
/**
|
|
44
|
-
*
|
|
45
|
-
* @type {string}
|
|
46
|
-
* @memberof MarketingCampaignSource
|
|
47
|
-
*/
|
|
48
|
-
'utm_ad_id'?: string;
|
|
49
|
-
/**
|
|
50
|
-
*
|
|
51
|
-
* @type {string}
|
|
52
|
-
* @memberof MarketingCampaignSource
|
|
53
|
-
*/
|
|
54
|
-
'utm_adset_id'?: string;
|
|
55
|
-
/**
|
|
56
|
-
*
|
|
57
|
-
* @type {string}
|
|
58
|
-
* @memberof MarketingCampaignSource
|
|
59
|
-
*/
|
|
60
|
-
'fbclid'?: string;
|
|
61
|
-
}
|
|
62
|
-
/**
|
|
63
|
-
* Check if a given object implements the MarketingCampaignSource interface.
|
|
64
|
-
*/
|
|
65
|
-
export declare function instanceOfMarketingCampaignSource(value: object): value is MarketingCampaignSource;
|
|
66
|
-
export declare function MarketingCampaignSourceFromJSON(json: any): MarketingCampaignSource;
|
|
67
|
-
export declare function MarketingCampaignSourceFromJSONTyped(json: any, ignoreDiscriminator: boolean): MarketingCampaignSource;
|
|
68
|
-
export declare function MarketingCampaignSourceToJSON(json: any): MarketingCampaignSource;
|
|
69
|
-
export declare function MarketingCampaignSourceToJSONTyped(value?: MarketingCampaignSource | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -1,75 +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.instanceOfMarketingCampaignSource = instanceOfMarketingCampaignSource;
|
|
17
|
-
exports.MarketingCampaignSourceFromJSON = MarketingCampaignSourceFromJSON;
|
|
18
|
-
exports.MarketingCampaignSourceFromJSONTyped = MarketingCampaignSourceFromJSONTyped;
|
|
19
|
-
exports.MarketingCampaignSourceToJSON = MarketingCampaignSourceToJSON;
|
|
20
|
-
exports.MarketingCampaignSourceToJSONTyped = MarketingCampaignSourceToJSONTyped;
|
|
21
|
-
const UtmSources_1 = require("./UtmSources");
|
|
22
|
-
/**
|
|
23
|
-
* Check if a given object implements the MarketingCampaignSource interface.
|
|
24
|
-
*/
|
|
25
|
-
function instanceOfMarketingCampaignSource(value) {
|
|
26
|
-
return true;
|
|
27
|
-
}
|
|
28
|
-
function MarketingCampaignSourceFromJSON(json) {
|
|
29
|
-
return MarketingCampaignSourceFromJSONTyped(json, false);
|
|
30
|
-
}
|
|
31
|
-
function MarketingCampaignSourceFromJSONTyped(json, ignoreDiscriminator) {
|
|
32
|
-
if (json == null) {
|
|
33
|
-
return json;
|
|
34
|
-
}
|
|
35
|
-
const result = {};
|
|
36
|
-
if (json['utm_source'] !== undefined) {
|
|
37
|
-
result['utm_source'] = (0, UtmSources_1.UtmSourcesFromJSON)(json['utm_source']);
|
|
38
|
-
}
|
|
39
|
-
if (json['utm_medium'] !== undefined) {
|
|
40
|
-
result['utm_medium'] = json['utm_medium'];
|
|
41
|
-
}
|
|
42
|
-
if (json['utm_campaign'] !== undefined) {
|
|
43
|
-
result['utm_campaign'] = json['utm_campaign'];
|
|
44
|
-
}
|
|
45
|
-
if (json['utm_campaign_id'] !== undefined) {
|
|
46
|
-
result['utm_campaign_id'] = json['utm_campaign_id'];
|
|
47
|
-
}
|
|
48
|
-
if (json['utm_ad_id'] !== undefined) {
|
|
49
|
-
result['utm_ad_id'] = json['utm_ad_id'];
|
|
50
|
-
}
|
|
51
|
-
if (json['utm_adset_id'] !== undefined) {
|
|
52
|
-
result['utm_adset_id'] = json['utm_adset_id'];
|
|
53
|
-
}
|
|
54
|
-
if (json['fbclid'] !== undefined) {
|
|
55
|
-
result['fbclid'] = json['fbclid'];
|
|
56
|
-
}
|
|
57
|
-
return result;
|
|
58
|
-
}
|
|
59
|
-
function MarketingCampaignSourceToJSON(json) {
|
|
60
|
-
return MarketingCampaignSourceToJSONTyped(json, false);
|
|
61
|
-
}
|
|
62
|
-
function MarketingCampaignSourceToJSONTyped(value, ignoreDiscriminator = false) {
|
|
63
|
-
if (value == null) {
|
|
64
|
-
return value;
|
|
65
|
-
}
|
|
66
|
-
return {
|
|
67
|
-
'utm_source': (0, UtmSources_1.UtmSourcesToJSON)(value['utm_source']),
|
|
68
|
-
'utm_medium': value['utm_medium'],
|
|
69
|
-
'utm_campaign': value['utm_campaign'],
|
|
70
|
-
'utm_campaign_id': value['utm_campaign_id'],
|
|
71
|
-
'utm_ad_id': value['utm_ad_id'],
|
|
72
|
-
'utm_adset_id': value['utm_adset_id'],
|
|
73
|
-
'fbclid': value['fbclid'],
|
|
74
|
-
};
|
|
75
|
-
}
|
|
@@ -1,24 +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
|
-
*/
|
|
16
|
-
export declare const UtmSources: {
|
|
17
|
-
readonly Facebook: "facebook";
|
|
18
|
-
};
|
|
19
|
-
export type UtmSources = typeof UtmSources[keyof typeof UtmSources];
|
|
20
|
-
export declare function instanceOfUtmSources(value: any): boolean;
|
|
21
|
-
export declare function UtmSourcesFromJSON(json: any): UtmSources;
|
|
22
|
-
export declare function UtmSourcesFromJSONTyped(json: any, ignoreDiscriminator: boolean): UtmSources;
|
|
23
|
-
export declare function UtmSourcesToJSON(value?: UtmSources | null): any;
|
|
24
|
-
export declare function UtmSourcesToJSONTyped(value: any, ignoreDiscriminator: boolean): UtmSources;
|
|
@@ -1,50 +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.UtmSources = void 0;
|
|
17
|
-
exports.instanceOfUtmSources = instanceOfUtmSources;
|
|
18
|
-
exports.UtmSourcesFromJSON = UtmSourcesFromJSON;
|
|
19
|
-
exports.UtmSourcesFromJSONTyped = UtmSourcesFromJSONTyped;
|
|
20
|
-
exports.UtmSourcesToJSON = UtmSourcesToJSON;
|
|
21
|
-
exports.UtmSourcesToJSONTyped = UtmSourcesToJSONTyped;
|
|
22
|
-
/**
|
|
23
|
-
*
|
|
24
|
-
* @export
|
|
25
|
-
*/
|
|
26
|
-
exports.UtmSources = {
|
|
27
|
-
Facebook: 'facebook'
|
|
28
|
-
};
|
|
29
|
-
function instanceOfUtmSources(value) {
|
|
30
|
-
for (const key in exports.UtmSources) {
|
|
31
|
-
if (Object.prototype.hasOwnProperty.call(exports.UtmSources, key)) {
|
|
32
|
-
if (exports.UtmSources[key] === value) {
|
|
33
|
-
return true;
|
|
34
|
-
}
|
|
35
|
-
}
|
|
36
|
-
}
|
|
37
|
-
return false;
|
|
38
|
-
}
|
|
39
|
-
function UtmSourcesFromJSON(json) {
|
|
40
|
-
return UtmSourcesFromJSONTyped(json, false);
|
|
41
|
-
}
|
|
42
|
-
function UtmSourcesFromJSONTyped(json, ignoreDiscriminator) {
|
|
43
|
-
return json;
|
|
44
|
-
}
|
|
45
|
-
function UtmSourcesToJSON(value) {
|
|
46
|
-
return value;
|
|
47
|
-
}
|
|
48
|
-
function UtmSourcesToJSONTyped(value, ignoreDiscriminator) {
|
|
49
|
-
return value;
|
|
50
|
-
}
|
|
@@ -1,32 +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 V2WorkspaceDeletionConfirmationPostRequest
|
|
16
|
-
*/
|
|
17
|
-
export interface V2WorkspaceDeletionConfirmationPostRequest {
|
|
18
|
-
/**
|
|
19
|
-
*
|
|
20
|
-
* @type {string}
|
|
21
|
-
* @memberof V2WorkspaceDeletionConfirmationPostRequest
|
|
22
|
-
*/
|
|
23
|
-
token: string;
|
|
24
|
-
}
|
|
25
|
-
/**
|
|
26
|
-
* Check if a given object implements the V2WorkspaceDeletionConfirmationPostRequest interface.
|
|
27
|
-
*/
|
|
28
|
-
export declare function instanceOfV2WorkspaceDeletionConfirmationPostRequest(value: object): value is V2WorkspaceDeletionConfirmationPostRequest;
|
|
29
|
-
export declare function V2WorkspaceDeletionConfirmationPostRequestFromJSON(json: any): V2WorkspaceDeletionConfirmationPostRequest;
|
|
30
|
-
export declare function V2WorkspaceDeletionConfirmationPostRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): V2WorkspaceDeletionConfirmationPostRequest;
|
|
31
|
-
export declare function V2WorkspaceDeletionConfirmationPostRequestToJSON(json: any): V2WorkspaceDeletionConfirmationPostRequest;
|
|
32
|
-
export declare function V2WorkspaceDeletionConfirmationPostRequestToJSONTyped(value?: V2WorkspaceDeletionConfirmationPostRequest | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -1,50 +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.instanceOfV2WorkspaceDeletionConfirmationPostRequest = instanceOfV2WorkspaceDeletionConfirmationPostRequest;
|
|
17
|
-
exports.V2WorkspaceDeletionConfirmationPostRequestFromJSON = V2WorkspaceDeletionConfirmationPostRequestFromJSON;
|
|
18
|
-
exports.V2WorkspaceDeletionConfirmationPostRequestFromJSONTyped = V2WorkspaceDeletionConfirmationPostRequestFromJSONTyped;
|
|
19
|
-
exports.V2WorkspaceDeletionConfirmationPostRequestToJSON = V2WorkspaceDeletionConfirmationPostRequestToJSON;
|
|
20
|
-
exports.V2WorkspaceDeletionConfirmationPostRequestToJSONTyped = V2WorkspaceDeletionConfirmationPostRequestToJSONTyped;
|
|
21
|
-
/**
|
|
22
|
-
* Check if a given object implements the V2WorkspaceDeletionConfirmationPostRequest interface.
|
|
23
|
-
*/
|
|
24
|
-
function instanceOfV2WorkspaceDeletionConfirmationPostRequest(value) {
|
|
25
|
-
if (!('token' in value) || value['token'] === undefined)
|
|
26
|
-
return false;
|
|
27
|
-
return true;
|
|
28
|
-
}
|
|
29
|
-
function V2WorkspaceDeletionConfirmationPostRequestFromJSON(json) {
|
|
30
|
-
return V2WorkspaceDeletionConfirmationPostRequestFromJSONTyped(json, false);
|
|
31
|
-
}
|
|
32
|
-
function V2WorkspaceDeletionConfirmationPostRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
33
|
-
if (json == null) {
|
|
34
|
-
return json;
|
|
35
|
-
}
|
|
36
|
-
return {
|
|
37
|
-
'token': json['token'],
|
|
38
|
-
};
|
|
39
|
-
}
|
|
40
|
-
function V2WorkspaceDeletionConfirmationPostRequestToJSON(json) {
|
|
41
|
-
return V2WorkspaceDeletionConfirmationPostRequestToJSONTyped(json, false);
|
|
42
|
-
}
|
|
43
|
-
function V2WorkspaceDeletionConfirmationPostRequestToJSONTyped(value, ignoreDiscriminator = false) {
|
|
44
|
-
if (value == null) {
|
|
45
|
-
return value;
|
|
46
|
-
}
|
|
47
|
-
return {
|
|
48
|
-
'token': value['token'],
|
|
49
|
-
};
|
|
50
|
-
}
|
|
@@ -1,39 +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 { V2WorkspaceGet200ResponseData } from './V2WorkspaceGet200ResponseData';
|
|
13
|
-
/**
|
|
14
|
-
*
|
|
15
|
-
* @export
|
|
16
|
-
* @interface V2WorkspaceGet200Response
|
|
17
|
-
*/
|
|
18
|
-
export interface V2WorkspaceGet200Response {
|
|
19
|
-
/**
|
|
20
|
-
*
|
|
21
|
-
* @type {number}
|
|
22
|
-
* @memberof V2WorkspaceGet200Response
|
|
23
|
-
*/
|
|
24
|
-
count: number;
|
|
25
|
-
/**
|
|
26
|
-
*
|
|
27
|
-
* @type {V2WorkspaceGet200ResponseData}
|
|
28
|
-
* @memberof V2WorkspaceGet200Response
|
|
29
|
-
*/
|
|
30
|
-
data: V2WorkspaceGet200ResponseData;
|
|
31
|
-
}
|
|
32
|
-
/**
|
|
33
|
-
* Check if a given object implements the V2WorkspaceGet200Response interface.
|
|
34
|
-
*/
|
|
35
|
-
export declare function instanceOfV2WorkspaceGet200Response(value: object): value is V2WorkspaceGet200Response;
|
|
36
|
-
export declare function V2WorkspaceGet200ResponseFromJSON(json: any): V2WorkspaceGet200Response;
|
|
37
|
-
export declare function V2WorkspaceGet200ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): V2WorkspaceGet200Response;
|
|
38
|
-
export declare function V2WorkspaceGet200ResponseToJSON(json: any): V2WorkspaceGet200Response;
|
|
39
|
-
export declare function V2WorkspaceGet200ResponseToJSONTyped(value?: V2WorkspaceGet200Response | null, ignoreDiscriminator?: boolean): any;
|