@knowledge-stack/ksapi 1.78.0 → 1.79.0

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/README.md CHANGED
@@ -1,4 +1,4 @@
1
- # @knowledge-stack/ksapi@1.78.0
1
+ # @knowledge-stack/ksapi@1.79.0
2
2
 
3
3
  A TypeScript SDK client for the localhost API.
4
4
 
@@ -408,7 +408,7 @@ and is automatically generated by the
408
408
  [OpenAPI Generator](https://openapi-generator.tech) project:
409
409
 
410
410
  - API version: `0.1.0`
411
- - Package version: `1.78.0`
411
+ - Package version: `1.79.0`
412
412
  - Generator version: `7.21.0`
413
413
  - Build package: `org.openapitools.codegen.languages.TypeScriptFetchClientCodegen`
414
414
 
@@ -67,6 +67,12 @@ export interface DocumentVersionResponse {
67
67
  * @memberof DocumentVersionResponse
68
68
  */
69
69
  tenantId: string;
70
+ /**
71
+ * User who created this version. NULL only if the owning user has been deleted.
72
+ * @type {string}
73
+ * @memberof DocumentVersionResponse
74
+ */
75
+ ownerTenantUserId?: string | null;
70
76
  /**
71
77
  * Creation timestamp
72
78
  * @type {Date}
@@ -55,6 +55,7 @@ export function DocumentVersionResponseFromJSONTyped(json, ignoreDiscriminator)
55
55
  'materializedPath': json['materialized_path'],
56
56
  'systemManaged': json['system_managed'],
57
57
  'tenantId': json['tenant_id'],
58
+ 'ownerTenantUserId': json['owner_tenant_user_id'] == null ? undefined : json['owner_tenant_user_id'],
58
59
  'createdAt': (new Date(json['created_at'])),
59
60
  'updatedAt': (new Date(json['updated_at'])),
60
61
  'assetS3Url': json['asset_s3_url'] == null ? undefined : json['asset_s3_url'],
@@ -78,6 +79,7 @@ export function DocumentVersionResponseToJSONTyped(value, ignoreDiscriminator =
78
79
  'materialized_path': value['materializedPath'],
79
80
  'system_managed': value['systemManaged'],
80
81
  'tenant_id': value['tenantId'],
82
+ 'owner_tenant_user_id': value['ownerTenantUserId'],
81
83
  'created_at': value['createdAt'].toISOString(),
82
84
  'updated_at': value['updatedAt'].toISOString(),
83
85
  'asset_s3_url': value['assetS3Url'],
@@ -67,6 +67,12 @@ export interface DocumentVersionResponse {
67
67
  * @memberof DocumentVersionResponse
68
68
  */
69
69
  tenantId: string;
70
+ /**
71
+ * User who created this version. NULL only if the owning user has been deleted.
72
+ * @type {string}
73
+ * @memberof DocumentVersionResponse
74
+ */
75
+ ownerTenantUserId?: string | null;
70
76
  /**
71
77
  * Creation timestamp
72
78
  * @type {Date}
@@ -63,6 +63,7 @@ function DocumentVersionResponseFromJSONTyped(json, ignoreDiscriminator) {
63
63
  'materializedPath': json['materialized_path'],
64
64
  'systemManaged': json['system_managed'],
65
65
  'tenantId': json['tenant_id'],
66
+ 'ownerTenantUserId': json['owner_tenant_user_id'] == null ? undefined : json['owner_tenant_user_id'],
66
67
  'createdAt': (new Date(json['created_at'])),
67
68
  'updatedAt': (new Date(json['updated_at'])),
68
69
  'assetS3Url': json['asset_s3_url'] == null ? undefined : json['asset_s3_url'],
@@ -86,6 +87,7 @@ function DocumentVersionResponseToJSONTyped(value, ignoreDiscriminator = false)
86
87
  'materialized_path': value['materializedPath'],
87
88
  'system_managed': value['systemManaged'],
88
89
  'tenant_id': value['tenantId'],
90
+ 'owner_tenant_user_id': value['ownerTenantUserId'],
89
91
  'created_at': value['createdAt'].toISOString(),
90
92
  'updated_at': value['updatedAt'].toISOString(),
91
93
  'asset_s3_url': value['assetS3Url'],
@@ -15,6 +15,7 @@ Name | Type
15
15
  `materializedPath` | string
16
16
  `systemManaged` | boolean
17
17
  `tenantId` | string
18
+ `ownerTenantUserId` | string
18
19
  `createdAt` | Date
19
20
  `updatedAt` | Date
20
21
  `assetS3Url` | string
@@ -36,6 +37,7 @@ const example = {
36
37
  "materializedPath": null,
37
38
  "systemManaged": null,
38
39
  "tenantId": null,
40
+ "ownerTenantUserId": null,
39
41
  "createdAt": null,
40
42
  "updatedAt": null,
41
43
  "assetS3Url": null,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@knowledge-stack/ksapi",
3
- "version": "1.78.0",
3
+ "version": "1.79.0",
4
4
  "description": "OpenAPI client for @knowledge-stack/ksapi",
5
5
  "author": "OpenAPI-Generator",
6
6
  "repository": {
@@ -78,6 +78,12 @@ export interface DocumentVersionResponse {
78
78
  * @memberof DocumentVersionResponse
79
79
  */
80
80
  tenantId: string;
81
+ /**
82
+ * User who created this version. NULL only if the owning user has been deleted.
83
+ * @type {string}
84
+ * @memberof DocumentVersionResponse
85
+ */
86
+ ownerTenantUserId?: string | null;
81
87
  /**
82
88
  * Creation timestamp
83
89
  * @type {Date}
@@ -162,6 +168,7 @@ export function DocumentVersionResponseFromJSONTyped(json: any, ignoreDiscrimina
162
168
  'materializedPath': json['materialized_path'],
163
169
  'systemManaged': json['system_managed'],
164
170
  'tenantId': json['tenant_id'],
171
+ 'ownerTenantUserId': json['owner_tenant_user_id'] == null ? undefined : json['owner_tenant_user_id'],
165
172
  'createdAt': (new Date(json['created_at'])),
166
173
  'updatedAt': (new Date(json['updated_at'])),
167
174
  'assetS3Url': json['asset_s3_url'] == null ? undefined : json['asset_s3_url'],
@@ -189,6 +196,7 @@ export function DocumentVersionResponseToJSONTyped(value?: DocumentVersionRespon
189
196
  'materialized_path': value['materializedPath'],
190
197
  'system_managed': value['systemManaged'],
191
198
  'tenant_id': value['tenantId'],
199
+ 'owner_tenant_user_id': value['ownerTenantUserId'],
192
200
  'created_at': value['createdAt'].toISOString(),
193
201
  'updated_at': value['updatedAt'].toISOString(),
194
202
  'asset_s3_url': value['assetS3Url'],