@fbrc/sdk 0.0.10 → 0.0.12

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