@knowledge-stack/ksapi 1.160.0 → 1.160.2

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.160.0
1
+ # @knowledge-stack/ksapi@1.160.2
2
2
 
3
3
  A TypeScript SDK client for the localhost API.
4
4
 
@@ -710,7 +710,7 @@ and is automatically generated by the
710
710
  [OpenAPI Generator](https://openapi-generator.tech) project:
711
711
 
712
712
  - API version: `0.1.0`
713
- - Package version: `1.160.0`
713
+ - Package version: `1.160.2`
714
714
  - Generator version: `7.21.0`
715
715
  - Build package: `org.openapitools.codegen.languages.TypeScriptFetchClientCodegen`
716
716
 
@@ -40,12 +40,6 @@ export interface UploadConstraints {
40
40
  * @memberof UploadConstraints
41
41
  */
42
42
  maxMediaBytes: number;
43
- /**
44
- *
45
- * @type {number}
46
- * @memberof UploadConstraints
47
- */
48
- maxVideoBytes: number;
49
43
  /**
50
44
  *
51
45
  * @type {number}
@@ -25,8 +25,6 @@ export function instanceOfUploadConstraints(value) {
25
25
  return false;
26
26
  if (!('maxMediaBytes' in value) || value['maxMediaBytes'] === undefined)
27
27
  return false;
28
- if (!('maxVideoBytes' in value) || value['maxVideoBytes'] === undefined)
29
- return false;
30
28
  if (!('maxMediaDurationMs' in value) || value['maxMediaDurationMs'] === undefined)
31
29
  return false;
32
30
  if (!('resumablePartSize' in value) || value['resumablePartSize'] === undefined)
@@ -45,7 +43,6 @@ export function UploadConstraintsFromJSONTyped(json, ignoreDiscriminator) {
45
43
  'maxBytes': json['max_bytes'],
46
44
  'maxImageBytes': json['max_image_bytes'],
47
45
  'maxMediaBytes': json['max_media_bytes'],
48
- 'maxVideoBytes': json['max_video_bytes'],
49
46
  'maxMediaDurationMs': json['max_media_duration_ms'],
50
47
  'resumablePartSize': json['resumable_part_size'],
51
48
  };
@@ -62,7 +59,6 @@ export function UploadConstraintsToJSONTyped(value, ignoreDiscriminator = false)
62
59
  'max_bytes': value['maxBytes'],
63
60
  'max_image_bytes': value['maxImageBytes'],
64
61
  'max_media_bytes': value['maxMediaBytes'],
65
- 'max_video_bytes': value['maxVideoBytes'],
66
62
  'max_media_duration_ms': value['maxMediaDurationMs'],
67
63
  'resumable_part_size': value['resumablePartSize'],
68
64
  };
@@ -40,12 +40,6 @@ export interface UploadConstraints {
40
40
  * @memberof UploadConstraints
41
41
  */
42
42
  maxMediaBytes: number;
43
- /**
44
- *
45
- * @type {number}
46
- * @memberof UploadConstraints
47
- */
48
- maxVideoBytes: number;
49
43
  /**
50
44
  *
51
45
  * @type {number}
@@ -33,8 +33,6 @@ function instanceOfUploadConstraints(value) {
33
33
  return false;
34
34
  if (!('maxMediaBytes' in value) || value['maxMediaBytes'] === undefined)
35
35
  return false;
36
- if (!('maxVideoBytes' in value) || value['maxVideoBytes'] === undefined)
37
- return false;
38
36
  if (!('maxMediaDurationMs' in value) || value['maxMediaDurationMs'] === undefined)
39
37
  return false;
40
38
  if (!('resumablePartSize' in value) || value['resumablePartSize'] === undefined)
@@ -53,7 +51,6 @@ function UploadConstraintsFromJSONTyped(json, ignoreDiscriminator) {
53
51
  'maxBytes': json['max_bytes'],
54
52
  'maxImageBytes': json['max_image_bytes'],
55
53
  'maxMediaBytes': json['max_media_bytes'],
56
- 'maxVideoBytes': json['max_video_bytes'],
57
54
  'maxMediaDurationMs': json['max_media_duration_ms'],
58
55
  'resumablePartSize': json['resumable_part_size'],
59
56
  };
@@ -70,7 +67,6 @@ function UploadConstraintsToJSONTyped(value, ignoreDiscriminator = false) {
70
67
  'max_bytes': value['maxBytes'],
71
68
  'max_image_bytes': value['maxImageBytes'],
72
69
  'max_media_bytes': value['maxMediaBytes'],
73
- 'max_video_bytes': value['maxVideoBytes'],
74
70
  'max_media_duration_ms': value['maxMediaDurationMs'],
75
71
  'resumable_part_size': value['resumablePartSize'],
76
72
  };
@@ -10,7 +10,6 @@ Name | Type
10
10
  `maxBytes` | number
11
11
  `maxImageBytes` | number
12
12
  `maxMediaBytes` | number
13
- `maxVideoBytes` | number
14
13
  `maxMediaDurationMs` | number
15
14
  `resumablePartSize` | number
16
15
 
@@ -25,7 +24,6 @@ const example = {
25
24
  "maxBytes": null,
26
25
  "maxImageBytes": null,
27
26
  "maxMediaBytes": null,
28
- "maxVideoBytes": null,
29
27
  "maxMediaDurationMs": null,
30
28
  "resumablePartSize": null,
31
29
  } satisfies UploadConstraints
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@knowledge-stack/ksapi",
3
- "version": "1.160.0",
3
+ "version": "1.160.2",
4
4
  "description": "OpenAPI client for @knowledge-stack/ksapi",
5
5
  "author": "OpenAPI-Generator",
6
6
  "repository": {
@@ -51,12 +51,6 @@ export interface UploadConstraints {
51
51
  * @memberof UploadConstraints
52
52
  */
53
53
  maxMediaBytes: number;
54
- /**
55
- *
56
- * @type {number}
57
- * @memberof UploadConstraints
58
- */
59
- maxVideoBytes: number;
60
54
  /**
61
55
  *
62
56
  * @type {number}
@@ -96,7 +90,6 @@ export function instanceOfUploadConstraints(value: object): value is UploadConst
96
90
  if (!('maxBytes' in value) || value['maxBytes'] === undefined) return false;
97
91
  if (!('maxImageBytes' in value) || value['maxImageBytes'] === undefined) return false;
98
92
  if (!('maxMediaBytes' in value) || value['maxMediaBytes'] === undefined) return false;
99
- if (!('maxVideoBytes' in value) || value['maxVideoBytes'] === undefined) return false;
100
93
  if (!('maxMediaDurationMs' in value) || value['maxMediaDurationMs'] === undefined) return false;
101
94
  if (!('resumablePartSize' in value) || value['resumablePartSize'] === undefined) return false;
102
95
  return true;
@@ -116,7 +109,6 @@ export function UploadConstraintsFromJSONTyped(json: any, ignoreDiscriminator: b
116
109
  'maxBytes': json['max_bytes'],
117
110
  'maxImageBytes': json['max_image_bytes'],
118
111
  'maxMediaBytes': json['max_media_bytes'],
119
- 'maxVideoBytes': json['max_video_bytes'],
120
112
  'maxMediaDurationMs': json['max_media_duration_ms'],
121
113
  'resumablePartSize': json['resumable_part_size'],
122
114
  };
@@ -137,7 +129,6 @@ export function UploadConstraintsToJSONTyped(value?: UploadConstraints | null, i
137
129
  'max_bytes': value['maxBytes'],
138
130
  'max_image_bytes': value['maxImageBytes'],
139
131
  'max_media_bytes': value['maxMediaBytes'],
140
- 'max_video_bytes': value['maxVideoBytes'],
141
132
  'max_media_duration_ms': value['maxMediaDurationMs'],
142
133
  'resumable_part_size': value['resumablePartSize'],
143
134
  };