@fbrc/sdk 0.0.12 → 0.0.13
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 +3 -0
- package/dist/apis/DefaultApi.d.ts +89 -0
- package/dist/apis/DefaultApi.js +249 -0
- package/dist/esm/apis/DefaultApi.d.ts +89 -0
- package/dist/esm/apis/DefaultApi.js +245 -0
- package/dist/esm/index.d.ts +2 -1
- package/dist/esm/index.js +1 -1
- package/dist/esm/models/ChatbotModel.d.ts +2 -1
- package/dist/esm/models/ChatbotModel.js +2 -1
- package/dist/esm/models/CreateBookmarkRequestLocation.d.ts +38 -0
- package/dist/esm/models/CreateBookmarkRequestLocation.js +51 -0
- package/dist/esm/models/CreateBookmarkRequestLocationAnyOf.d.ts +32 -0
- package/dist/esm/models/CreateBookmarkRequestLocationAnyOf.js +45 -0
- package/dist/esm/models/CreateBookmarkRequestLocationAnyOf1.d.ts +32 -0
- package/dist/esm/models/CreateBookmarkRequestLocationAnyOf1.js +45 -0
- package/dist/esm/models/DeleteResourcesRequest.d.ts +38 -0
- package/dist/esm/models/DeleteResourcesRequest.js +45 -0
- package/dist/esm/models/DeleteSpace404Response.d.ts +52 -0
- package/dist/esm/models/DeleteSpace404Response.js +59 -0
- package/dist/esm/models/MarketingCampaignSource.d.ts +69 -0
- package/dist/esm/models/MarketingCampaignSource.js +68 -0
- package/dist/esm/models/PlanEntitlements.d.ts +6 -0
- package/dist/esm/models/PlanEntitlements.js +4 -0
- package/dist/esm/models/SearchRequestAllOfFilters.d.ts +6 -0
- package/dist/esm/models/SearchRequestAllOfFilters.js +4 -0
- package/dist/esm/models/UpdateResourceRequest.d.ts +58 -0
- package/dist/esm/models/UpdateResourceRequest.js +76 -0
- package/dist/esm/models/UpdateResourceRequestLocation.d.ts +38 -0
- package/dist/esm/models/UpdateResourceRequestLocation.js +51 -0
- package/dist/esm/models/UsageAmountType.d.ts +25 -0
- package/dist/esm/models/UsageAmountType.js +43 -0
- package/dist/esm/models/UsageBreakdownLabel.d.ts +25 -0
- package/dist/esm/models/UsageBreakdownLabel.js +43 -0
- package/dist/esm/models/UsageItem.d.ts +26 -0
- package/dist/esm/models/UsageItem.js +29 -0
- package/dist/esm/models/UsageItemBreakdownInner.d.ts +39 -0
- package/dist/esm/models/UsageItemBreakdownInner.js +52 -0
- package/dist/esm/models/UtmSources.d.ts +24 -0
- package/dist/esm/models/UtmSources.js +42 -0
- package/dist/esm/models/V2WorkspaceDeletionConfirmationPostRequest.d.ts +32 -0
- package/dist/esm/models/V2WorkspaceDeletionConfirmationPostRequest.js +43 -0
- package/dist/esm/models/V2WorkspaceGet200Response.d.ts +39 -0
- package/dist/esm/models/V2WorkspaceGet200Response.js +48 -0
- package/dist/esm/models/V2WorkspaceGet200ResponseData.d.ts +33 -0
- package/dist/esm/models/V2WorkspaceGet200ResponseData.js +44 -0
- package/dist/esm/models/V2WorkspacePatchRequest.d.ts +50 -0
- package/dist/esm/models/V2WorkspacePatchRequest.js +47 -0
- package/dist/esm/models/V2WorkspacePostRequest.d.ts +64 -0
- package/dist/esm/models/V2WorkspacePostRequest.js +53 -0
- package/dist/esm/models/WorkspaceSubscriptionCreditOperationCosts.d.ts +6 -0
- package/dist/esm/models/WorkspaceSubscriptionCreditOperationCosts.js +4 -0
- package/dist/esm/models/index.d.ts +3 -0
- package/dist/esm/models/index.js +3 -0
- package/dist/index.d.ts +2 -1
- package/dist/index.js +1 -1
- package/dist/models/ChatbotModel.d.ts +2 -1
- package/dist/models/ChatbotModel.js +2 -1
- package/dist/models/CreateBookmarkRequestLocation.d.ts +38 -0
- package/dist/models/CreateBookmarkRequestLocation.js +58 -0
- package/dist/models/CreateBookmarkRequestLocationAnyOf.d.ts +32 -0
- package/dist/models/CreateBookmarkRequestLocationAnyOf.js +52 -0
- package/dist/models/CreateBookmarkRequestLocationAnyOf1.d.ts +32 -0
- package/dist/models/CreateBookmarkRequestLocationAnyOf1.js +52 -0
- package/dist/models/DeleteResourcesRequest.d.ts +38 -0
- package/dist/models/DeleteResourcesRequest.js +52 -0
- package/dist/models/DeleteSpace404Response.d.ts +52 -0
- package/dist/models/DeleteSpace404Response.js +67 -0
- package/dist/models/MarketingCampaignSource.d.ts +69 -0
- package/dist/models/MarketingCampaignSource.js +75 -0
- package/dist/models/PlanEntitlements.d.ts +6 -0
- package/dist/models/PlanEntitlements.js +4 -0
- package/dist/models/SearchRequestAllOfFilters.d.ts +6 -0
- package/dist/models/SearchRequestAllOfFilters.js +4 -0
- package/dist/models/UpdateResourceRequest.d.ts +58 -0
- package/dist/models/UpdateResourceRequest.js +83 -0
- package/dist/models/UpdateResourceRequestLocation.d.ts +38 -0
- package/dist/models/UpdateResourceRequestLocation.js +58 -0
- package/dist/models/UsageAmountType.d.ts +25 -0
- package/dist/models/UsageAmountType.js +51 -0
- package/dist/models/UsageBreakdownLabel.d.ts +25 -0
- package/dist/models/UsageBreakdownLabel.js +51 -0
- package/dist/models/UsageItem.d.ts +26 -0
- package/dist/models/UsageItem.js +29 -0
- package/dist/models/UsageItemBreakdownInner.d.ts +39 -0
- package/dist/models/UsageItemBreakdownInner.js +59 -0
- package/dist/models/UtmSources.d.ts +24 -0
- package/dist/models/UtmSources.js +50 -0
- package/dist/models/V2WorkspaceDeletionConfirmationPostRequest.d.ts +32 -0
- package/dist/models/V2WorkspaceDeletionConfirmationPostRequest.js +50 -0
- package/dist/models/V2WorkspaceGet200Response.d.ts +39 -0
- package/dist/models/V2WorkspaceGet200Response.js +55 -0
- package/dist/models/V2WorkspaceGet200ResponseData.d.ts +33 -0
- package/dist/models/V2WorkspaceGet200ResponseData.js +51 -0
- package/dist/models/V2WorkspacePatchRequest.d.ts +50 -0
- package/dist/models/V2WorkspacePatchRequest.js +54 -0
- package/dist/models/V2WorkspacePostRequest.d.ts +64 -0
- package/dist/models/V2WorkspacePostRequest.js +60 -0
- package/dist/models/V2WorkspacesPatchRequest.d.ts +50 -0
- package/dist/models/V2WorkspacesPatchRequest.js +72 -0
- package/dist/models/V2WorkspacesPostRequest.d.ts +64 -0
- package/dist/models/V2WorkspacesPostRequest.js +82 -0
- package/dist/models/WorkspaceSubscriptionCreditOperationCosts.d.ts +6 -0
- package/dist/models/WorkspaceSubscriptionCreditOperationCosts.js +4 -0
- package/dist/models/index.d.ts +3 -0
- package/dist/models/index.js +3 -0
- package/package.json +1 -1
- package/src/index.ts +3 -1
- package/src/models/ChatbotModel.ts +2 -1
- package/src/models/PlanEntitlements.ts +10 -0
- package/src/models/SearchRequestAllOfFilters.ts +10 -0
- package/src/models/UsageAmountType.ts +53 -0
- package/src/models/UsageBreakdownLabel.ts +53 -0
- package/src/models/UsageItem.ts +64 -0
- package/src/models/UsageItemBreakdownInner.ts +91 -0
- package/src/models/WorkspaceSubscriptionCreditOperationCosts.ts +10 -0
- package/src/models/index.ts +3 -0
|
@@ -0,0 +1,50 @@
|
|
|
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
|
+
}
|
|
@@ -0,0 +1,39 @@
|
|
|
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;
|
|
@@ -0,0 +1,55 @@
|
|
|
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.instanceOfV2WorkspaceGet200Response = instanceOfV2WorkspaceGet200Response;
|
|
17
|
+
exports.V2WorkspaceGet200ResponseFromJSON = V2WorkspaceGet200ResponseFromJSON;
|
|
18
|
+
exports.V2WorkspaceGet200ResponseFromJSONTyped = V2WorkspaceGet200ResponseFromJSONTyped;
|
|
19
|
+
exports.V2WorkspaceGet200ResponseToJSON = V2WorkspaceGet200ResponseToJSON;
|
|
20
|
+
exports.V2WorkspaceGet200ResponseToJSONTyped = V2WorkspaceGet200ResponseToJSONTyped;
|
|
21
|
+
const V2WorkspaceGet200ResponseData_1 = require("./V2WorkspaceGet200ResponseData");
|
|
22
|
+
/**
|
|
23
|
+
* Check if a given object implements the V2WorkspaceGet200Response interface.
|
|
24
|
+
*/
|
|
25
|
+
function instanceOfV2WorkspaceGet200Response(value) {
|
|
26
|
+
if (!('count' in value) || value['count'] === undefined)
|
|
27
|
+
return false;
|
|
28
|
+
if (!('data' in value) || value['data'] === undefined)
|
|
29
|
+
return false;
|
|
30
|
+
return true;
|
|
31
|
+
}
|
|
32
|
+
function V2WorkspaceGet200ResponseFromJSON(json) {
|
|
33
|
+
return V2WorkspaceGet200ResponseFromJSONTyped(json, false);
|
|
34
|
+
}
|
|
35
|
+
function V2WorkspaceGet200ResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
36
|
+
if (json == null) {
|
|
37
|
+
return json;
|
|
38
|
+
}
|
|
39
|
+
return {
|
|
40
|
+
'count': json['count'],
|
|
41
|
+
'data': (0, V2WorkspaceGet200ResponseData_1.V2WorkspaceGet200ResponseDataFromJSON)(json['data']),
|
|
42
|
+
};
|
|
43
|
+
}
|
|
44
|
+
function V2WorkspaceGet200ResponseToJSON(json) {
|
|
45
|
+
return V2WorkspaceGet200ResponseToJSONTyped(json, false);
|
|
46
|
+
}
|
|
47
|
+
function V2WorkspaceGet200ResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
48
|
+
if (value == null) {
|
|
49
|
+
return value;
|
|
50
|
+
}
|
|
51
|
+
return {
|
|
52
|
+
'count': value['count'],
|
|
53
|
+
'data': (0, V2WorkspaceGet200ResponseData_1.V2WorkspaceGet200ResponseDataToJSON)(value['data']),
|
|
54
|
+
};
|
|
55
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
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 { Workspace } from './Workspace';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface V2WorkspaceGet200ResponseData
|
|
17
|
+
*/
|
|
18
|
+
export interface V2WorkspaceGet200ResponseData {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {Array<Workspace>}
|
|
22
|
+
* @memberof V2WorkspaceGet200ResponseData
|
|
23
|
+
*/
|
|
24
|
+
items: Array<Workspace>;
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* Check if a given object implements the V2WorkspaceGet200ResponseData interface.
|
|
28
|
+
*/
|
|
29
|
+
export declare function instanceOfV2WorkspaceGet200ResponseData(value: object): value is V2WorkspaceGet200ResponseData;
|
|
30
|
+
export declare function V2WorkspaceGet200ResponseDataFromJSON(json: any): V2WorkspaceGet200ResponseData;
|
|
31
|
+
export declare function V2WorkspaceGet200ResponseDataFromJSONTyped(json: any, ignoreDiscriminator: boolean): V2WorkspaceGet200ResponseData;
|
|
32
|
+
export declare function V2WorkspaceGet200ResponseDataToJSON(json: any): V2WorkspaceGet200ResponseData;
|
|
33
|
+
export declare function V2WorkspaceGet200ResponseDataToJSONTyped(value?: V2WorkspaceGet200ResponseData | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,51 @@
|
|
|
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.instanceOfV2WorkspaceGet200ResponseData = instanceOfV2WorkspaceGet200ResponseData;
|
|
17
|
+
exports.V2WorkspaceGet200ResponseDataFromJSON = V2WorkspaceGet200ResponseDataFromJSON;
|
|
18
|
+
exports.V2WorkspaceGet200ResponseDataFromJSONTyped = V2WorkspaceGet200ResponseDataFromJSONTyped;
|
|
19
|
+
exports.V2WorkspaceGet200ResponseDataToJSON = V2WorkspaceGet200ResponseDataToJSON;
|
|
20
|
+
exports.V2WorkspaceGet200ResponseDataToJSONTyped = V2WorkspaceGet200ResponseDataToJSONTyped;
|
|
21
|
+
const Workspace_1 = require("./Workspace");
|
|
22
|
+
/**
|
|
23
|
+
* Check if a given object implements the V2WorkspaceGet200ResponseData interface.
|
|
24
|
+
*/
|
|
25
|
+
function instanceOfV2WorkspaceGet200ResponseData(value) {
|
|
26
|
+
if (!('items' in value) || value['items'] === undefined)
|
|
27
|
+
return false;
|
|
28
|
+
return true;
|
|
29
|
+
}
|
|
30
|
+
function V2WorkspaceGet200ResponseDataFromJSON(json) {
|
|
31
|
+
return V2WorkspaceGet200ResponseDataFromJSONTyped(json, false);
|
|
32
|
+
}
|
|
33
|
+
function V2WorkspaceGet200ResponseDataFromJSONTyped(json, ignoreDiscriminator) {
|
|
34
|
+
if (json == null) {
|
|
35
|
+
return json;
|
|
36
|
+
}
|
|
37
|
+
return {
|
|
38
|
+
'items': (json['items'].map(Workspace_1.WorkspaceFromJSON)),
|
|
39
|
+
};
|
|
40
|
+
}
|
|
41
|
+
function V2WorkspaceGet200ResponseDataToJSON(json) {
|
|
42
|
+
return V2WorkspaceGet200ResponseDataToJSONTyped(json, false);
|
|
43
|
+
}
|
|
44
|
+
function V2WorkspaceGet200ResponseDataToJSONTyped(value, ignoreDiscriminator = false) {
|
|
45
|
+
if (value == null) {
|
|
46
|
+
return value;
|
|
47
|
+
}
|
|
48
|
+
return {
|
|
49
|
+
'items': (value['items'].map(Workspace_1.WorkspaceToJSON)),
|
|
50
|
+
};
|
|
51
|
+
}
|
|
@@ -0,0 +1,50 @@
|
|
|
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 V2WorkspacePatchRequest
|
|
16
|
+
*/
|
|
17
|
+
export interface V2WorkspacePatchRequest {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof V2WorkspacePatchRequest
|
|
22
|
+
*/
|
|
23
|
+
title?: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof V2WorkspacePatchRequest
|
|
28
|
+
*/
|
|
29
|
+
description?: string | null;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof V2WorkspacePatchRequest
|
|
34
|
+
*/
|
|
35
|
+
slug?: string;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof V2WorkspacePatchRequest
|
|
40
|
+
*/
|
|
41
|
+
avatarStoragePath?: string | null;
|
|
42
|
+
}
|
|
43
|
+
/**
|
|
44
|
+
* Check if a given object implements the V2WorkspacePatchRequest interface.
|
|
45
|
+
*/
|
|
46
|
+
export declare function instanceOfV2WorkspacePatchRequest(value: object): value is V2WorkspacePatchRequest;
|
|
47
|
+
export declare function V2WorkspacePatchRequestFromJSON(json: any): V2WorkspacePatchRequest;
|
|
48
|
+
export declare function V2WorkspacePatchRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): V2WorkspacePatchRequest;
|
|
49
|
+
export declare function V2WorkspacePatchRequestToJSON(json: any): V2WorkspacePatchRequest;
|
|
50
|
+
export declare function V2WorkspacePatchRequestToJSONTyped(value?: V2WorkspacePatchRequest | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,54 @@
|
|
|
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.instanceOfV2WorkspacePatchRequest = instanceOfV2WorkspacePatchRequest;
|
|
17
|
+
exports.V2WorkspacePatchRequestFromJSON = V2WorkspacePatchRequestFromJSON;
|
|
18
|
+
exports.V2WorkspacePatchRequestFromJSONTyped = V2WorkspacePatchRequestFromJSONTyped;
|
|
19
|
+
exports.V2WorkspacePatchRequestToJSON = V2WorkspacePatchRequestToJSON;
|
|
20
|
+
exports.V2WorkspacePatchRequestToJSONTyped = V2WorkspacePatchRequestToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the V2WorkspacePatchRequest interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfV2WorkspacePatchRequest(value) {
|
|
25
|
+
return true;
|
|
26
|
+
}
|
|
27
|
+
function V2WorkspacePatchRequestFromJSON(json) {
|
|
28
|
+
return V2WorkspacePatchRequestFromJSONTyped(json, false);
|
|
29
|
+
}
|
|
30
|
+
function V2WorkspacePatchRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
31
|
+
if (json == null) {
|
|
32
|
+
return json;
|
|
33
|
+
}
|
|
34
|
+
return {
|
|
35
|
+
'title': json['title'] == null ? undefined : json['title'],
|
|
36
|
+
'description': json['description'] == null ? undefined : json['description'],
|
|
37
|
+
'slug': json['slug'] == null ? undefined : json['slug'],
|
|
38
|
+
'avatarStoragePath': json['avatarStoragePath'] == null ? undefined : json['avatarStoragePath'],
|
|
39
|
+
};
|
|
40
|
+
}
|
|
41
|
+
function V2WorkspacePatchRequestToJSON(json) {
|
|
42
|
+
return V2WorkspacePatchRequestToJSONTyped(json, false);
|
|
43
|
+
}
|
|
44
|
+
function V2WorkspacePatchRequestToJSONTyped(value, ignoreDiscriminator = false) {
|
|
45
|
+
if (value == null) {
|
|
46
|
+
return value;
|
|
47
|
+
}
|
|
48
|
+
return {
|
|
49
|
+
'title': value['title'],
|
|
50
|
+
'description': value['description'],
|
|
51
|
+
'slug': value['slug'],
|
|
52
|
+
'avatarStoragePath': value['avatarStoragePath'],
|
|
53
|
+
};
|
|
54
|
+
}
|
|
@@ -0,0 +1,64 @@
|
|
|
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;
|
|
@@ -0,0 +1,60 @@
|
|
|
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.instanceOfV2WorkspacePostRequest = instanceOfV2WorkspacePostRequest;
|
|
17
|
+
exports.V2WorkspacePostRequestFromJSON = V2WorkspacePostRequestFromJSON;
|
|
18
|
+
exports.V2WorkspacePostRequestFromJSONTyped = V2WorkspacePostRequestFromJSONTyped;
|
|
19
|
+
exports.V2WorkspacePostRequestToJSON = V2WorkspacePostRequestToJSON;
|
|
20
|
+
exports.V2WorkspacePostRequestToJSONTyped = V2WorkspacePostRequestToJSONTyped;
|
|
21
|
+
const MarketingCampaignSource_1 = require("./MarketingCampaignSource");
|
|
22
|
+
const WorkspaceType_1 = require("./WorkspaceType");
|
|
23
|
+
/**
|
|
24
|
+
* Check if a given object implements the V2WorkspacePostRequest interface.
|
|
25
|
+
*/
|
|
26
|
+
function instanceOfV2WorkspacePostRequest(value) {
|
|
27
|
+
return true;
|
|
28
|
+
}
|
|
29
|
+
function V2WorkspacePostRequestFromJSON(json) {
|
|
30
|
+
return V2WorkspacePostRequestFromJSONTyped(json, false);
|
|
31
|
+
}
|
|
32
|
+
function V2WorkspacePostRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
33
|
+
if (json == null) {
|
|
34
|
+
return json;
|
|
35
|
+
}
|
|
36
|
+
return {
|
|
37
|
+
'title': json['title'] == null ? undefined : json['title'],
|
|
38
|
+
'type': json['type'] == null ? undefined : (0, WorkspaceType_1.WorkspaceTypeFromJSON)(json['type']),
|
|
39
|
+
'description': json['description'] == null ? undefined : json['description'],
|
|
40
|
+
'slug': json['slug'] == null ? undefined : json['slug'],
|
|
41
|
+
'marketing': json['marketing'] == null ? undefined : (0, MarketingCampaignSource_1.MarketingCampaignSourceFromJSON)(json['marketing']),
|
|
42
|
+
'referral': json['referral'] == null ? undefined : json['referral'],
|
|
43
|
+
};
|
|
44
|
+
}
|
|
45
|
+
function V2WorkspacePostRequestToJSON(json) {
|
|
46
|
+
return V2WorkspacePostRequestToJSONTyped(json, false);
|
|
47
|
+
}
|
|
48
|
+
function V2WorkspacePostRequestToJSONTyped(value, ignoreDiscriminator = false) {
|
|
49
|
+
if (value == null) {
|
|
50
|
+
return value;
|
|
51
|
+
}
|
|
52
|
+
return {
|
|
53
|
+
'title': value['title'],
|
|
54
|
+
'type': (0, WorkspaceType_1.WorkspaceTypeToJSON)(value['type']),
|
|
55
|
+
'description': value['description'],
|
|
56
|
+
'slug': value['slug'],
|
|
57
|
+
'marketing': (0, MarketingCampaignSource_1.MarketingCampaignSourceToJSON)(value['marketing']),
|
|
58
|
+
'referral': value['referral'],
|
|
59
|
+
};
|
|
60
|
+
}
|
|
@@ -0,0 +1,50 @@
|
|
|
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;
|
|
@@ -0,0 +1,72 @@
|
|
|
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
|
+
}
|
|
@@ -0,0 +1,64 @@
|
|
|
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;
|