@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.
Files changed (77) hide show
  1. package/.openapi-generator/FILES +0 -2
  2. package/dist/apis/MemoryApi.d.ts +24 -0
  3. package/dist/apis/MemoryApi.js +25 -1
  4. package/dist/apis/WorkspaceApi.d.ts +11 -11
  5. package/dist/apis/WorkspaceApi.js +8 -8
  6. package/dist/esm/apis/MemoryApi.d.ts +24 -0
  7. package/dist/esm/apis/MemoryApi.js +25 -1
  8. package/dist/esm/apis/WorkspaceApi.d.ts +11 -11
  9. package/dist/esm/apis/WorkspaceApi.js +8 -8
  10. package/dist/esm/models/CreateWorkspaceRequest.d.ts +0 -14
  11. package/dist/esm/models/CreateWorkspaceRequest.js +0 -15
  12. package/dist/esm/models/ToolStatus.d.ts +1 -0
  13. package/dist/esm/models/ToolStatus.js +1 -0
  14. package/dist/esm/models/UpdateMemoryRequest.d.ts +1 -1
  15. package/dist/esm/models/UpdateMemoryRequest.js +0 -2
  16. package/dist/esm/models/index.d.ts +0 -2
  17. package/dist/esm/models/index.js +0 -2
  18. package/dist/models/CreateWorkspaceRequest.d.ts +0 -14
  19. package/dist/models/CreateWorkspaceRequest.js +0 -15
  20. package/dist/models/ToolStatus.d.ts +1 -0
  21. package/dist/models/ToolStatus.js +1 -0
  22. package/dist/models/UpdateMemoryRequest.d.ts +1 -1
  23. package/dist/models/UpdateMemoryRequest.js +0 -2
  24. package/dist/models/index.d.ts +0 -2
  25. package/dist/models/index.js +0 -2
  26. package/package.json +1 -1
  27. package/src/apis/MemoryApi.ts +25 -1
  28. package/src/apis/WorkspaceApi.ts +11 -11
  29. package/src/models/CreateWorkspaceRequest.ts +0 -41
  30. package/src/models/ToolStatus.ts +1 -0
  31. package/src/models/UpdateMemoryRequest.ts +1 -2
  32. package/src/models/index.ts +0 -2
  33. package/dist/esm/models/DeleteResourcesRequest.d.ts +0 -38
  34. package/dist/esm/models/DeleteResourcesRequest.js +0 -45
  35. package/dist/esm/models/DeleteSpace404Response.d.ts +0 -52
  36. package/dist/esm/models/DeleteSpace404Response.js +0 -59
  37. package/dist/esm/models/MarketingCampaignSource.d.ts +0 -69
  38. package/dist/esm/models/MarketingCampaignSource.js +0 -68
  39. package/dist/esm/models/UtmSources.d.ts +0 -24
  40. package/dist/esm/models/UtmSources.js +0 -42
  41. package/dist/esm/models/V2WorkspaceDeletionConfirmationPostRequest.d.ts +0 -32
  42. package/dist/esm/models/V2WorkspaceDeletionConfirmationPostRequest.js +0 -43
  43. package/dist/esm/models/V2WorkspaceGet200Response.d.ts +0 -39
  44. package/dist/esm/models/V2WorkspaceGet200Response.js +0 -48
  45. package/dist/esm/models/V2WorkspaceGet200ResponseData.d.ts +0 -33
  46. package/dist/esm/models/V2WorkspaceGet200ResponseData.js +0 -44
  47. package/dist/esm/models/V2WorkspacePatchRequest.d.ts +0 -50
  48. package/dist/esm/models/V2WorkspacePatchRequest.js +0 -47
  49. package/dist/esm/models/V2WorkspacePostRequest.d.ts +0 -64
  50. package/dist/esm/models/V2WorkspacePostRequest.js +0 -53
  51. package/dist/models/DeleteResourcesRequest.d.ts +0 -38
  52. package/dist/models/DeleteResourcesRequest.js +0 -52
  53. package/dist/models/DeleteSpace404Response.d.ts +0 -52
  54. package/dist/models/DeleteSpace404Response.js +0 -67
  55. package/dist/models/MarketingCampaignSource.d.ts +0 -69
  56. package/dist/models/MarketingCampaignSource.js +0 -75
  57. package/dist/models/UtmSources.d.ts +0 -24
  58. package/dist/models/UtmSources.js +0 -50
  59. package/dist/models/V2WorkspaceDeletionConfirmationPostRequest.d.ts +0 -32
  60. package/dist/models/V2WorkspaceDeletionConfirmationPostRequest.js +0 -50
  61. package/dist/models/V2WorkspaceGet200Response.d.ts +0 -39
  62. package/dist/models/V2WorkspaceGet200Response.js +0 -55
  63. package/dist/models/V2WorkspaceGet200ResponseData.d.ts +0 -33
  64. package/dist/models/V2WorkspaceGet200ResponseData.js +0 -51
  65. package/dist/models/V2WorkspacePatchRequest.d.ts +0 -50
  66. package/dist/models/V2WorkspacePatchRequest.js +0 -54
  67. package/dist/models/V2WorkspacePostRequest.d.ts +0 -64
  68. package/dist/models/V2WorkspacePostRequest.js +0 -60
  69. package/src/models/DeleteResourcesRequest.ts +0 -74
  70. package/src/models/DeleteSpace404Response.ts +0 -93
  71. package/src/models/MarketingCampaignSource.ts +0 -139
  72. package/src/models/UtmSources.ts +0 -52
  73. package/src/models/V2WorkspaceDeletionConfirmationPostRequest.ts +0 -66
  74. package/src/models/V2WorkspaceGet200Response.ts +0 -83
  75. package/src/models/V2WorkspaceGet200ResponseData.ts +0 -74
  76. package/src/models/V2WorkspacePatchRequest.ts +0 -89
  77. package/src/models/V2WorkspacePostRequest.ts +0 -122
@@ -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,59 +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
- /**
15
- * @export
16
- */
17
- export const DeleteSpace404ResponseTitleEnum = {
18
- NotFound: 'Not Found'
19
- };
20
- /**
21
- * @export
22
- */
23
- export const DeleteSpace404ResponseDetailEnum = {
24
- SpaceNotFound: 'space_not_found'
25
- };
26
- /**
27
- * Check if a given object implements the DeleteSpace404Response interface.
28
- */
29
- export function instanceOfDeleteSpace404Response(value) {
30
- if (!('title' in value) || value['title'] === undefined)
31
- return false;
32
- if (!('detail' in value) || value['detail'] === undefined)
33
- return false;
34
- return true;
35
- }
36
- export function DeleteSpace404ResponseFromJSON(json) {
37
- return DeleteSpace404ResponseFromJSONTyped(json, false);
38
- }
39
- export function DeleteSpace404ResponseFromJSONTyped(json, ignoreDiscriminator) {
40
- if (json == null) {
41
- return json;
42
- }
43
- return {
44
- 'title': json['title'],
45
- 'detail': json['detail'],
46
- };
47
- }
48
- export function DeleteSpace404ResponseToJSON(json) {
49
- return DeleteSpace404ResponseToJSONTyped(json, false);
50
- }
51
- export function DeleteSpace404ResponseToJSONTyped(value, ignoreDiscriminator = false) {
52
- if (value == null) {
53
- return value;
54
- }
55
- return {
56
- 'title': value['title'],
57
- 'detail': value['detail'],
58
- };
59
- }
@@ -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,68 +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 { UtmSourcesFromJSON, UtmSourcesToJSON, } from './UtmSources';
15
- /**
16
- * Check if a given object implements the MarketingCampaignSource interface.
17
- */
18
- export function instanceOfMarketingCampaignSource(value) {
19
- return true;
20
- }
21
- export function MarketingCampaignSourceFromJSON(json) {
22
- return MarketingCampaignSourceFromJSONTyped(json, false);
23
- }
24
- export function MarketingCampaignSourceFromJSONTyped(json, ignoreDiscriminator) {
25
- if (json == null) {
26
- return json;
27
- }
28
- const result = {};
29
- if (json['utm_source'] !== undefined) {
30
- result['utm_source'] = UtmSourcesFromJSON(json['utm_source']);
31
- }
32
- if (json['utm_medium'] !== undefined) {
33
- result['utm_medium'] = json['utm_medium'];
34
- }
35
- if (json['utm_campaign'] !== undefined) {
36
- result['utm_campaign'] = json['utm_campaign'];
37
- }
38
- if (json['utm_campaign_id'] !== undefined) {
39
- result['utm_campaign_id'] = json['utm_campaign_id'];
40
- }
41
- if (json['utm_ad_id'] !== undefined) {
42
- result['utm_ad_id'] = json['utm_ad_id'];
43
- }
44
- if (json['utm_adset_id'] !== undefined) {
45
- result['utm_adset_id'] = json['utm_adset_id'];
46
- }
47
- if (json['fbclid'] !== undefined) {
48
- result['fbclid'] = json['fbclid'];
49
- }
50
- return result;
51
- }
52
- export function MarketingCampaignSourceToJSON(json) {
53
- return MarketingCampaignSourceToJSONTyped(json, false);
54
- }
55
- export function MarketingCampaignSourceToJSONTyped(value, ignoreDiscriminator = false) {
56
- if (value == null) {
57
- return value;
58
- }
59
- return {
60
- 'utm_source': UtmSourcesToJSON(value['utm_source']),
61
- 'utm_medium': value['utm_medium'],
62
- 'utm_campaign': value['utm_campaign'],
63
- 'utm_campaign_id': value['utm_campaign_id'],
64
- 'utm_ad_id': value['utm_ad_id'],
65
- 'utm_adset_id': value['utm_adset_id'],
66
- 'fbclid': value['fbclid'],
67
- };
68
- }
@@ -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,42 +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
- /**
15
- *
16
- * @export
17
- */
18
- export const UtmSources = {
19
- Facebook: 'facebook'
20
- };
21
- export function instanceOfUtmSources(value) {
22
- for (const key in UtmSources) {
23
- if (Object.prototype.hasOwnProperty.call(UtmSources, key)) {
24
- if (UtmSources[key] === value) {
25
- return true;
26
- }
27
- }
28
- }
29
- return false;
30
- }
31
- export function UtmSourcesFromJSON(json) {
32
- return UtmSourcesFromJSONTyped(json, false);
33
- }
34
- export function UtmSourcesFromJSONTyped(json, ignoreDiscriminator) {
35
- return json;
36
- }
37
- export function UtmSourcesToJSON(value) {
38
- return value;
39
- }
40
- export function UtmSourcesToJSONTyped(value, ignoreDiscriminator) {
41
- return value;
42
- }
@@ -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,43 +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
- /**
15
- * Check if a given object implements the V2WorkspaceDeletionConfirmationPostRequest interface.
16
- */
17
- export function instanceOfV2WorkspaceDeletionConfirmationPostRequest(value) {
18
- if (!('token' in value) || value['token'] === undefined)
19
- return false;
20
- return true;
21
- }
22
- export function V2WorkspaceDeletionConfirmationPostRequestFromJSON(json) {
23
- return V2WorkspaceDeletionConfirmationPostRequestFromJSONTyped(json, false);
24
- }
25
- export function V2WorkspaceDeletionConfirmationPostRequestFromJSONTyped(json, ignoreDiscriminator) {
26
- if (json == null) {
27
- return json;
28
- }
29
- return {
30
- 'token': json['token'],
31
- };
32
- }
33
- export function V2WorkspaceDeletionConfirmationPostRequestToJSON(json) {
34
- return V2WorkspaceDeletionConfirmationPostRequestToJSONTyped(json, false);
35
- }
36
- export function V2WorkspaceDeletionConfirmationPostRequestToJSONTyped(value, ignoreDiscriminator = false) {
37
- if (value == null) {
38
- return value;
39
- }
40
- return {
41
- 'token': value['token'],
42
- };
43
- }
@@ -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;
@@ -1,48 +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 { V2WorkspaceGet200ResponseDataFromJSON, V2WorkspaceGet200ResponseDataToJSON, } from './V2WorkspaceGet200ResponseData';
15
- /**
16
- * Check if a given object implements the V2WorkspaceGet200Response interface.
17
- */
18
- export function instanceOfV2WorkspaceGet200Response(value) {
19
- if (!('count' in value) || value['count'] === undefined)
20
- return false;
21
- if (!('data' in value) || value['data'] === undefined)
22
- return false;
23
- return true;
24
- }
25
- export function V2WorkspaceGet200ResponseFromJSON(json) {
26
- return V2WorkspaceGet200ResponseFromJSONTyped(json, false);
27
- }
28
- export function V2WorkspaceGet200ResponseFromJSONTyped(json, ignoreDiscriminator) {
29
- if (json == null) {
30
- return json;
31
- }
32
- return {
33
- 'count': json['count'],
34
- 'data': V2WorkspaceGet200ResponseDataFromJSON(json['data']),
35
- };
36
- }
37
- export function V2WorkspaceGet200ResponseToJSON(json) {
38
- return V2WorkspaceGet200ResponseToJSONTyped(json, false);
39
- }
40
- export function V2WorkspaceGet200ResponseToJSONTyped(value, ignoreDiscriminator = false) {
41
- if (value == null) {
42
- return value;
43
- }
44
- return {
45
- 'count': value['count'],
46
- 'data': V2WorkspaceGet200ResponseDataToJSON(value['data']),
47
- };
48
- }
@@ -1,33 +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 { 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;
@@ -1,44 +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 { WorkspaceFromJSON, WorkspaceToJSON, } from './Workspace';
15
- /**
16
- * Check if a given object implements the V2WorkspaceGet200ResponseData interface.
17
- */
18
- export function instanceOfV2WorkspaceGet200ResponseData(value) {
19
- if (!('items' in value) || value['items'] === undefined)
20
- return false;
21
- return true;
22
- }
23
- export function V2WorkspaceGet200ResponseDataFromJSON(json) {
24
- return V2WorkspaceGet200ResponseDataFromJSONTyped(json, false);
25
- }
26
- export function V2WorkspaceGet200ResponseDataFromJSONTyped(json, ignoreDiscriminator) {
27
- if (json == null) {
28
- return json;
29
- }
30
- return {
31
- 'items': (json['items'].map(WorkspaceFromJSON)),
32
- };
33
- }
34
- export function V2WorkspaceGet200ResponseDataToJSON(json) {
35
- return V2WorkspaceGet200ResponseDataToJSONTyped(json, false);
36
- }
37
- export function V2WorkspaceGet200ResponseDataToJSONTyped(value, ignoreDiscriminator = false) {
38
- if (value == null) {
39
- return value;
40
- }
41
- return {
42
- 'items': (value['items'].map(WorkspaceToJSON)),
43
- };
44
- }
@@ -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 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;
@@ -1,47 +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
- /**
15
- * Check if a given object implements the V2WorkspacePatchRequest interface.
16
- */
17
- export function instanceOfV2WorkspacePatchRequest(value) {
18
- return true;
19
- }
20
- export function V2WorkspacePatchRequestFromJSON(json) {
21
- return V2WorkspacePatchRequestFromJSONTyped(json, false);
22
- }
23
- export function V2WorkspacePatchRequestFromJSONTyped(json, ignoreDiscriminator) {
24
- if (json == null) {
25
- return json;
26
- }
27
- return {
28
- 'title': json['title'] == null ? undefined : json['title'],
29
- 'description': json['description'] == null ? undefined : json['description'],
30
- 'slug': json['slug'] == null ? undefined : json['slug'],
31
- 'avatarStoragePath': json['avatarStoragePath'] == null ? undefined : json['avatarStoragePath'],
32
- };
33
- }
34
- export function V2WorkspacePatchRequestToJSON(json) {
35
- return V2WorkspacePatchRequestToJSONTyped(json, false);
36
- }
37
- export function V2WorkspacePatchRequestToJSONTyped(value, ignoreDiscriminator = false) {
38
- if (value == null) {
39
- return value;
40
- }
41
- return {
42
- 'title': value['title'],
43
- 'description': value['description'],
44
- 'slug': value['slug'],
45
- 'avatarStoragePath': value['avatarStoragePath'],
46
- };
47
- }