@pairsystems/goodmem-client 1.0.10 → 1.0.11
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 +24 -4
- package/dist/api/EmbeddersApi.js +25 -10
- package/dist/api/LLMsApi.js +25 -10
- package/dist/api/MemoriesApi.js +186 -61
- package/dist/api/RerankersApi.js +25 -10
- package/dist/api/SpacesApi.js +31 -16
- package/dist/index.js +133 -7
- package/dist/model/ActiveLicenseMetadata.js +5 -1
- package/dist/model/AdminDrainRequest.js +3 -0
- package/dist/model/AdminDrainResponse.js +33 -2
- package/dist/model/AdminPurgeJobsRequest.js +4 -0
- package/dist/model/AdminPurgeJobsResponse.js +8 -4
- package/dist/model/AdminReloadLicenseResponse.js +4 -1
- package/dist/model/ApiKeyAuth.js +7 -3
- package/dist/model/ApiKeyResponse.js +67 -5
- package/dist/model/BackgroundJobSummary.js +35 -2
- package/dist/model/BatchDeleteMemorySelectorRequest.js +2 -1
- package/dist/model/BatchMemoryResult.js +4 -2
- package/dist/model/ChunkReference.js +3 -2
- package/dist/model/ChunkingConfiguration.js +109 -47
- package/dist/model/ChunkingConfigurationOneOf.js +109 -0
- package/dist/model/ChunkingConfigurationOneOf1.js +109 -0
- package/dist/model/ChunkingConfigurationOneOf2.js +109 -0
- package/dist/model/ContextItem.js +91 -73
- package/dist/model/ContextItemOneOf.js +109 -0
- package/dist/model/ContextItemOneOf1.js +109 -0
- package/dist/model/CreateApiKeyResponse.js +2 -1
- package/dist/model/CreateLLMResponse.js +3 -2
- package/dist/model/EmbedderCreationRequest.js +8 -5
- package/dist/model/EmbedderResponse.js +16 -11
- package/dist/model/EndpointAuthentication.js +7 -4
- package/dist/model/HnswOptions.js +2 -1
- package/dist/model/JsonBatchMemoryCreationRequest.js +132 -0
- package/dist/model/JsonMemoryCreationContentRequirement.js +151 -0
- package/dist/model/JsonMemoryCreationContentRequirementOneOf.js +109 -0
- package/dist/model/JsonMemoryCreationContentRequirementOneOf1.js +109 -0
- package/dist/model/JsonMemoryCreationRequest.js +289 -0
- package/dist/model/LLMCreationRequest.js +12 -6
- package/dist/model/LLMResponse.js +18 -12
- package/dist/model/LLMUpdateRequest.js +6 -3
- package/dist/model/LLMUpdateRequestNot.js +118 -0
- package/dist/model/ListApiKeysResponse.js +29 -9
- package/dist/model/ListMemoryPageImagesResponse.js +145 -0
- package/dist/model/ListSpacesResponse.js +29 -9
- package/dist/model/Memory.js +106 -10
- package/dist/model/MemoryChunkResponse.js +30 -2
- package/dist/model/MemoryCreationRequest.js +15 -3
- package/dist/model/MemoryPageImage.js +225 -0
- package/dist/model/OcrCell.js +5 -3
- package/dist/model/OcrDocumentRequest.js +2 -1
- package/dist/model/OcrDocumentResponse.js +6 -4
- package/dist/model/OcrPage.js +9 -6
- package/dist/model/OcrPageResult.js +4 -2
- package/dist/model/PingEndpointInfo.js +3 -2
- package/dist/model/PingEvent.js +108 -50
- package/dist/model/PingEventOneOf.js +109 -0
- package/dist/model/PingEventOneOf1.js +109 -0
- package/dist/model/PingEventOneOf2.js +109 -0
- package/dist/model/PingOnceRequest.js +4 -2
- package/dist/model/PingResult.js +6 -4
- package/dist/model/PingStreamRequest.js +7 -3
- package/dist/model/PingSummary.js +3 -2
- package/dist/model/ProcessingHistory.js +2 -1
- package/dist/model/RecursiveChunkingConfiguration.js +6 -4
- package/dist/model/RerankerCreationRequest.js +5 -3
- package/dist/model/RerankerResponse.js +13 -9
- package/dist/model/ResultSetBoundary.js +20 -2
- package/dist/model/RetrieveMemoryEvent.js +10 -5
- package/dist/model/RetrieveMemoryRequest.js +12 -6
- package/dist/model/RetrievedItem.js +91 -42
- package/dist/model/RetrievedItemOneOf.js +109 -0
- package/dist/model/RetrievedItemOneOf1.js +109 -0
- package/dist/model/SecretReference.js +27 -4
- package/dist/model/SentenceChunkingConfiguration.js +3 -2
- package/dist/model/SortOrder.js +63 -0
- package/dist/model/Space.js +8 -5
- package/dist/model/SpaceCreationRequest.js +13 -8
- package/dist/model/SpaceEmbedderConfig.js +3 -1
- package/dist/model/SystemInfoResponse.js +13 -4
- package/dist/model/UpdateApiKeyRequest.js +19 -9
- package/dist/model/UpdateEmbedderRequest.js +2 -9
- package/dist/model/UpdateRerankerRequest.js +2 -9
- package/dist/model/UpdateSpaceRequest.js +0 -22
- package/package.json +1 -1
|
@@ -0,0 +1,118 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports["default"] = void 0;
|
|
7
|
+
var _ApiClient = _interopRequireDefault(require("../ApiClient"));
|
|
8
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
|
|
9
|
+
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
|
10
|
+
function _createForOfIteratorHelper(r, e) { var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (!t) { if (Array.isArray(r) || (t = _unsupportedIterableToArray(r)) || e && r && "number" == typeof r.length) { t && (r = t); var _n = 0, F = function F() {}; return { s: F, n: function n() { return _n >= r.length ? { done: !0 } : { done: !1, value: r[_n++] }; }, e: function e(r) { throw r; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var o, a = !0, u = !1; return { s: function s() { t = t.call(r); }, n: function n() { var r = t.next(); return a = r.done, r; }, e: function e(r) { u = !0, o = r; }, f: function f() { try { a || null == t["return"] || t["return"](); } finally { if (u) throw o; } } }; }
|
|
11
|
+
function _unsupportedIterableToArray(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a) : void 0; } }
|
|
12
|
+
function _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
|
|
13
|
+
function _classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function"); }
|
|
14
|
+
function _defineProperties(e, r) { for (var t = 0; t < r.length; t++) { var o = r[t]; o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, _toPropertyKey(o.key), o); } }
|
|
15
|
+
function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e; }
|
|
16
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
|
17
|
+
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); } /**
|
|
18
|
+
*
|
|
19
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
20
|
+
*
|
|
21
|
+
* The version of the OpenAPI document:
|
|
22
|
+
*
|
|
23
|
+
*
|
|
24
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
25
|
+
* https://openapi-generator.tech
|
|
26
|
+
* Do not edit the class manually.
|
|
27
|
+
*
|
|
28
|
+
*/
|
|
29
|
+
/**
|
|
30
|
+
* The LLMUpdateRequestNot model module.
|
|
31
|
+
* @module model/LLMUpdateRequestNot
|
|
32
|
+
* @version 1.0.0
|
|
33
|
+
*/
|
|
34
|
+
var LLMUpdateRequestNot = /*#__PURE__*/function () {
|
|
35
|
+
/**
|
|
36
|
+
* Constructs a new <code>LLMUpdateRequestNot</code>.
|
|
37
|
+
* @alias module:model/LLMUpdateRequestNot
|
|
38
|
+
* @param replaceLabels {Object}
|
|
39
|
+
* @param mergeLabels {Object}
|
|
40
|
+
*/
|
|
41
|
+
function LLMUpdateRequestNot(replaceLabels, mergeLabels) {
|
|
42
|
+
_classCallCheck(this, LLMUpdateRequestNot);
|
|
43
|
+
LLMUpdateRequestNot.initialize(this, replaceLabels, mergeLabels);
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
/**
|
|
47
|
+
* Initializes the fields of this object.
|
|
48
|
+
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
|
|
49
|
+
* Only for internal use.
|
|
50
|
+
*/
|
|
51
|
+
return _createClass(LLMUpdateRequestNot, null, [{
|
|
52
|
+
key: "initialize",
|
|
53
|
+
value: function initialize(obj, replaceLabels, mergeLabels) {
|
|
54
|
+
obj['replaceLabels'] = replaceLabels;
|
|
55
|
+
obj['mergeLabels'] = mergeLabels;
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
/**
|
|
59
|
+
* Constructs a <code>LLMUpdateRequestNot</code> from a plain JavaScript object, optionally creating a new instance.
|
|
60
|
+
* Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
|
|
61
|
+
* @param {Object} data The plain JavaScript object bearing properties of interest.
|
|
62
|
+
* @param {module:model/LLMUpdateRequestNot} obj Optional instance to populate.
|
|
63
|
+
* @return {module:model/LLMUpdateRequestNot} The populated <code>LLMUpdateRequestNot</code> instance.
|
|
64
|
+
*/
|
|
65
|
+
}, {
|
|
66
|
+
key: "constructFromObject",
|
|
67
|
+
value: function constructFromObject(data, obj) {
|
|
68
|
+
if (data) {
|
|
69
|
+
obj = obj || new LLMUpdateRequestNot();
|
|
70
|
+
if (data.hasOwnProperty('replaceLabels')) {
|
|
71
|
+
obj['replaceLabels'] = _ApiClient["default"].convertToType(data['replaceLabels'], Object);
|
|
72
|
+
}
|
|
73
|
+
if (data.hasOwnProperty('mergeLabels')) {
|
|
74
|
+
obj['mergeLabels'] = _ApiClient["default"].convertToType(data['mergeLabels'], Object);
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
return obj;
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
/**
|
|
81
|
+
* Validates the JSON data with respect to <code>LLMUpdateRequestNot</code>.
|
|
82
|
+
* @param {Object} data The plain JavaScript object bearing properties of interest.
|
|
83
|
+
* @return {boolean} to indicate whether the JSON data is valid with respect to <code>LLMUpdateRequestNot</code>.
|
|
84
|
+
*/
|
|
85
|
+
}, {
|
|
86
|
+
key: "validateJSON",
|
|
87
|
+
value: function validateJSON(data) {
|
|
88
|
+
// check to make sure all required properties are present in the JSON string
|
|
89
|
+
var _iterator = _createForOfIteratorHelper(LLMUpdateRequestNot.RequiredProperties),
|
|
90
|
+
_step;
|
|
91
|
+
try {
|
|
92
|
+
for (_iterator.s(); !(_step = _iterator.n()).done;) {
|
|
93
|
+
var property = _step.value;
|
|
94
|
+
if (!data.hasOwnProperty(property)) {
|
|
95
|
+
throw new Error("The required field `" + property + "` is not found in the JSON data: " + JSON.stringify(data));
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
} catch (err) {
|
|
99
|
+
_iterator.e(err);
|
|
100
|
+
} finally {
|
|
101
|
+
_iterator.f();
|
|
102
|
+
}
|
|
103
|
+
return true;
|
|
104
|
+
}
|
|
105
|
+
}]);
|
|
106
|
+
}();
|
|
107
|
+
LLMUpdateRequestNot.RequiredProperties = ["replaceLabels", "mergeLabels"];
|
|
108
|
+
|
|
109
|
+
/**
|
|
110
|
+
* @member {Object} replaceLabels
|
|
111
|
+
*/
|
|
112
|
+
LLMUpdateRequestNot.prototype['replaceLabels'] = undefined;
|
|
113
|
+
|
|
114
|
+
/**
|
|
115
|
+
* @member {Object} mergeLabels
|
|
116
|
+
*/
|
|
117
|
+
LLMUpdateRequestNot.prototype['mergeLabels'] = undefined;
|
|
118
|
+
var _default = exports["default"] = LLMUpdateRequestNot;
|
|
@@ -37,10 +37,11 @@ var ListApiKeysResponse = /*#__PURE__*/function () {
|
|
|
37
37
|
* Constructs a new <code>ListApiKeysResponse</code>.
|
|
38
38
|
* Response containing a list of API keys.
|
|
39
39
|
* @alias module:model/ListApiKeysResponse
|
|
40
|
+
* @param keys {Array.<module:model/ApiKeyResponse>} List of API keys belonging to the authenticated user.
|
|
40
41
|
*/
|
|
41
|
-
function ListApiKeysResponse() {
|
|
42
|
+
function ListApiKeysResponse(keys) {
|
|
42
43
|
_classCallCheck(this, ListApiKeysResponse);
|
|
43
|
-
ListApiKeysResponse.initialize(this);
|
|
44
|
+
ListApiKeysResponse.initialize(this, keys);
|
|
44
45
|
}
|
|
45
46
|
|
|
46
47
|
/**
|
|
@@ -50,7 +51,9 @@ var ListApiKeysResponse = /*#__PURE__*/function () {
|
|
|
50
51
|
*/
|
|
51
52
|
return _createClass(ListApiKeysResponse, null, [{
|
|
52
53
|
key: "initialize",
|
|
53
|
-
value: function initialize(obj) {
|
|
54
|
+
value: function initialize(obj, keys) {
|
|
55
|
+
obj['keys'] = keys;
|
|
56
|
+
}
|
|
54
57
|
|
|
55
58
|
/**
|
|
56
59
|
* Constructs a <code>ListApiKeysResponse</code> from a plain JavaScript object, optionally creating a new instance.
|
|
@@ -79,6 +82,21 @@ var ListApiKeysResponse = /*#__PURE__*/function () {
|
|
|
79
82
|
}, {
|
|
80
83
|
key: "validateJSON",
|
|
81
84
|
value: function validateJSON(data) {
|
|
85
|
+
// check to make sure all required properties are present in the JSON string
|
|
86
|
+
var _iterator = _createForOfIteratorHelper(ListApiKeysResponse.RequiredProperties),
|
|
87
|
+
_step;
|
|
88
|
+
try {
|
|
89
|
+
for (_iterator.s(); !(_step = _iterator.n()).done;) {
|
|
90
|
+
var property = _step.value;
|
|
91
|
+
if (!data.hasOwnProperty(property)) {
|
|
92
|
+
throw new Error("The required field `" + property + "` is not found in the JSON data: " + JSON.stringify(data));
|
|
93
|
+
}
|
|
94
|
+
}
|
|
95
|
+
} catch (err) {
|
|
96
|
+
_iterator.e(err);
|
|
97
|
+
} finally {
|
|
98
|
+
_iterator.f();
|
|
99
|
+
}
|
|
82
100
|
if (data['keys']) {
|
|
83
101
|
// data not null
|
|
84
102
|
// ensure the json data is an array
|
|
@@ -86,17 +104,17 @@ var ListApiKeysResponse = /*#__PURE__*/function () {
|
|
|
86
104
|
throw new Error("Expected the field `keys` to be an array in the JSON data but got " + data['keys']);
|
|
87
105
|
}
|
|
88
106
|
// validate the optional field `keys` (array)
|
|
89
|
-
var
|
|
90
|
-
|
|
107
|
+
var _iterator2 = _createForOfIteratorHelper(data['keys']),
|
|
108
|
+
_step2;
|
|
91
109
|
try {
|
|
92
|
-
for (
|
|
93
|
-
var item =
|
|
110
|
+
for (_iterator2.s(); !(_step2 = _iterator2.n()).done;) {
|
|
111
|
+
var item = _step2.value;
|
|
94
112
|
_ApiKeyResponse["default"].validateJSON(item);
|
|
95
113
|
}
|
|
96
114
|
} catch (err) {
|
|
97
|
-
|
|
115
|
+
_iterator2.e(err);
|
|
98
116
|
} finally {
|
|
99
|
-
|
|
117
|
+
_iterator2.f();
|
|
100
118
|
}
|
|
101
119
|
;
|
|
102
120
|
}
|
|
@@ -104,6 +122,8 @@ var ListApiKeysResponse = /*#__PURE__*/function () {
|
|
|
104
122
|
}
|
|
105
123
|
}]);
|
|
106
124
|
}();
|
|
125
|
+
ListApiKeysResponse.RequiredProperties = ["keys"];
|
|
126
|
+
|
|
107
127
|
/**
|
|
108
128
|
* List of API keys belonging to the authenticated user.
|
|
109
129
|
* @member {Array.<module:model/ApiKeyResponse>} keys
|
|
@@ -0,0 +1,145 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports["default"] = void 0;
|
|
7
|
+
var _ApiClient = _interopRequireDefault(require("../ApiClient"));
|
|
8
|
+
var _MemoryPageImage = _interopRequireDefault(require("./MemoryPageImage"));
|
|
9
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
|
|
10
|
+
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
|
11
|
+
function _createForOfIteratorHelper(r, e) { var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (!t) { if (Array.isArray(r) || (t = _unsupportedIterableToArray(r)) || e && r && "number" == typeof r.length) { t && (r = t); var _n = 0, F = function F() {}; return { s: F, n: function n() { return _n >= r.length ? { done: !0 } : { done: !1, value: r[_n++] }; }, e: function e(r) { throw r; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var o, a = !0, u = !1; return { s: function s() { t = t.call(r); }, n: function n() { var r = t.next(); return a = r.done, r; }, e: function e(r) { u = !0, o = r; }, f: function f() { try { a || null == t["return"] || t["return"](); } finally { if (u) throw o; } } }; }
|
|
12
|
+
function _unsupportedIterableToArray(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a) : void 0; } }
|
|
13
|
+
function _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
|
|
14
|
+
function _classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function"); }
|
|
15
|
+
function _defineProperties(e, r) { for (var t = 0; t < r.length; t++) { var o = r[t]; o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, _toPropertyKey(o.key), o); } }
|
|
16
|
+
function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e; }
|
|
17
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
|
18
|
+
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); } /**
|
|
19
|
+
*
|
|
20
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
21
|
+
*
|
|
22
|
+
* The version of the OpenAPI document:
|
|
23
|
+
*
|
|
24
|
+
*
|
|
25
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
26
|
+
* https://openapi-generator.tech
|
|
27
|
+
* Do not edit the class manually.
|
|
28
|
+
*
|
|
29
|
+
*/
|
|
30
|
+
/**
|
|
31
|
+
* The ListMemoryPageImagesResponse model module.
|
|
32
|
+
* @module model/ListMemoryPageImagesResponse
|
|
33
|
+
* @version 1.0.0
|
|
34
|
+
*/
|
|
35
|
+
var ListMemoryPageImagesResponse = /*#__PURE__*/function () {
|
|
36
|
+
/**
|
|
37
|
+
* Constructs a new <code>ListMemoryPageImagesResponse</code>.
|
|
38
|
+
* Page of memory page-image metadata
|
|
39
|
+
* @alias module:model/ListMemoryPageImagesResponse
|
|
40
|
+
* @param pageImages {Array.<module:model/MemoryPageImage>} Page-image metadata rows
|
|
41
|
+
*/
|
|
42
|
+
function ListMemoryPageImagesResponse(pageImages) {
|
|
43
|
+
_classCallCheck(this, ListMemoryPageImagesResponse);
|
|
44
|
+
ListMemoryPageImagesResponse.initialize(this, pageImages);
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
/**
|
|
48
|
+
* Initializes the fields of this object.
|
|
49
|
+
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
|
|
50
|
+
* Only for internal use.
|
|
51
|
+
*/
|
|
52
|
+
return _createClass(ListMemoryPageImagesResponse, null, [{
|
|
53
|
+
key: "initialize",
|
|
54
|
+
value: function initialize(obj, pageImages) {
|
|
55
|
+
obj['pageImages'] = pageImages;
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
/**
|
|
59
|
+
* Constructs a <code>ListMemoryPageImagesResponse</code> from a plain JavaScript object, optionally creating a new instance.
|
|
60
|
+
* Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
|
|
61
|
+
* @param {Object} data The plain JavaScript object bearing properties of interest.
|
|
62
|
+
* @param {module:model/ListMemoryPageImagesResponse} obj Optional instance to populate.
|
|
63
|
+
* @return {module:model/ListMemoryPageImagesResponse} The populated <code>ListMemoryPageImagesResponse</code> instance.
|
|
64
|
+
*/
|
|
65
|
+
}, {
|
|
66
|
+
key: "constructFromObject",
|
|
67
|
+
value: function constructFromObject(data, obj) {
|
|
68
|
+
if (data) {
|
|
69
|
+
obj = obj || new ListMemoryPageImagesResponse();
|
|
70
|
+
if (data.hasOwnProperty('pageImages')) {
|
|
71
|
+
obj['pageImages'] = _ApiClient["default"].convertToType(data['pageImages'], [_MemoryPageImage["default"]]);
|
|
72
|
+
}
|
|
73
|
+
if (data.hasOwnProperty('nextToken')) {
|
|
74
|
+
obj['nextToken'] = _ApiClient["default"].convertToType(data['nextToken'], 'String');
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
return obj;
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
/**
|
|
81
|
+
* Validates the JSON data with respect to <code>ListMemoryPageImagesResponse</code>.
|
|
82
|
+
* @param {Object} data The plain JavaScript object bearing properties of interest.
|
|
83
|
+
* @return {boolean} to indicate whether the JSON data is valid with respect to <code>ListMemoryPageImagesResponse</code>.
|
|
84
|
+
*/
|
|
85
|
+
}, {
|
|
86
|
+
key: "validateJSON",
|
|
87
|
+
value: function validateJSON(data) {
|
|
88
|
+
// check to make sure all required properties are present in the JSON string
|
|
89
|
+
var _iterator = _createForOfIteratorHelper(ListMemoryPageImagesResponse.RequiredProperties),
|
|
90
|
+
_step;
|
|
91
|
+
try {
|
|
92
|
+
for (_iterator.s(); !(_step = _iterator.n()).done;) {
|
|
93
|
+
var property = _step.value;
|
|
94
|
+
if (!data.hasOwnProperty(property)) {
|
|
95
|
+
throw new Error("The required field `" + property + "` is not found in the JSON data: " + JSON.stringify(data));
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
} catch (err) {
|
|
99
|
+
_iterator.e(err);
|
|
100
|
+
} finally {
|
|
101
|
+
_iterator.f();
|
|
102
|
+
}
|
|
103
|
+
if (data['pageImages']) {
|
|
104
|
+
// data not null
|
|
105
|
+
// ensure the json data is an array
|
|
106
|
+
if (!Array.isArray(data['pageImages'])) {
|
|
107
|
+
throw new Error("Expected the field `pageImages` to be an array in the JSON data but got " + data['pageImages']);
|
|
108
|
+
}
|
|
109
|
+
// validate the optional field `pageImages` (array)
|
|
110
|
+
var _iterator2 = _createForOfIteratorHelper(data['pageImages']),
|
|
111
|
+
_step2;
|
|
112
|
+
try {
|
|
113
|
+
for (_iterator2.s(); !(_step2 = _iterator2.n()).done;) {
|
|
114
|
+
var item = _step2.value;
|
|
115
|
+
_MemoryPageImage["default"].validateJSON(item);
|
|
116
|
+
}
|
|
117
|
+
} catch (err) {
|
|
118
|
+
_iterator2.e(err);
|
|
119
|
+
} finally {
|
|
120
|
+
_iterator2.f();
|
|
121
|
+
}
|
|
122
|
+
;
|
|
123
|
+
}
|
|
124
|
+
// ensure the json data is a string
|
|
125
|
+
if (data['nextToken'] && !(typeof data['nextToken'] === 'string' || data['nextToken'] instanceof String)) {
|
|
126
|
+
throw new Error("Expected the field `nextToken` to be a primitive type in the JSON string but got " + data['nextToken']);
|
|
127
|
+
}
|
|
128
|
+
return true;
|
|
129
|
+
}
|
|
130
|
+
}]);
|
|
131
|
+
}();
|
|
132
|
+
ListMemoryPageImagesResponse.RequiredProperties = ["pageImages"];
|
|
133
|
+
|
|
134
|
+
/**
|
|
135
|
+
* Page-image metadata rows
|
|
136
|
+
* @member {Array.<module:model/MemoryPageImage>} pageImages
|
|
137
|
+
*/
|
|
138
|
+
ListMemoryPageImagesResponse.prototype['pageImages'] = undefined;
|
|
139
|
+
|
|
140
|
+
/**
|
|
141
|
+
* Opaque token for retrieving the next page
|
|
142
|
+
* @member {String} nextToken
|
|
143
|
+
*/
|
|
144
|
+
ListMemoryPageImagesResponse.prototype['nextToken'] = undefined;
|
|
145
|
+
var _default = exports["default"] = ListMemoryPageImagesResponse;
|
|
@@ -37,10 +37,11 @@ var ListSpacesResponse = /*#__PURE__*/function () {
|
|
|
37
37
|
* Constructs a new <code>ListSpacesResponse</code>.
|
|
38
38
|
* Response containing a list of spaces and optional pagination token.
|
|
39
39
|
* @alias module:model/ListSpacesResponse
|
|
40
|
+
* @param spaces {Array.<module:model/Space>} The list of spaces matching the query criteria.
|
|
40
41
|
*/
|
|
41
|
-
function ListSpacesResponse() {
|
|
42
|
+
function ListSpacesResponse(spaces) {
|
|
42
43
|
_classCallCheck(this, ListSpacesResponse);
|
|
43
|
-
ListSpacesResponse.initialize(this);
|
|
44
|
+
ListSpacesResponse.initialize(this, spaces);
|
|
44
45
|
}
|
|
45
46
|
|
|
46
47
|
/**
|
|
@@ -50,7 +51,9 @@ var ListSpacesResponse = /*#__PURE__*/function () {
|
|
|
50
51
|
*/
|
|
51
52
|
return _createClass(ListSpacesResponse, null, [{
|
|
52
53
|
key: "initialize",
|
|
53
|
-
value: function initialize(obj) {
|
|
54
|
+
value: function initialize(obj, spaces) {
|
|
55
|
+
obj['spaces'] = spaces;
|
|
56
|
+
}
|
|
54
57
|
|
|
55
58
|
/**
|
|
56
59
|
* Constructs a <code>ListSpacesResponse</code> from a plain JavaScript object, optionally creating a new instance.
|
|
@@ -82,6 +85,21 @@ var ListSpacesResponse = /*#__PURE__*/function () {
|
|
|
82
85
|
}, {
|
|
83
86
|
key: "validateJSON",
|
|
84
87
|
value: function validateJSON(data) {
|
|
88
|
+
// check to make sure all required properties are present in the JSON string
|
|
89
|
+
var _iterator = _createForOfIteratorHelper(ListSpacesResponse.RequiredProperties),
|
|
90
|
+
_step;
|
|
91
|
+
try {
|
|
92
|
+
for (_iterator.s(); !(_step = _iterator.n()).done;) {
|
|
93
|
+
var property = _step.value;
|
|
94
|
+
if (!data.hasOwnProperty(property)) {
|
|
95
|
+
throw new Error("The required field `" + property + "` is not found in the JSON data: " + JSON.stringify(data));
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
} catch (err) {
|
|
99
|
+
_iterator.e(err);
|
|
100
|
+
} finally {
|
|
101
|
+
_iterator.f();
|
|
102
|
+
}
|
|
85
103
|
if (data['spaces']) {
|
|
86
104
|
// data not null
|
|
87
105
|
// ensure the json data is an array
|
|
@@ -89,17 +107,17 @@ var ListSpacesResponse = /*#__PURE__*/function () {
|
|
|
89
107
|
throw new Error("Expected the field `spaces` to be an array in the JSON data but got " + data['spaces']);
|
|
90
108
|
}
|
|
91
109
|
// validate the optional field `spaces` (array)
|
|
92
|
-
var
|
|
93
|
-
|
|
110
|
+
var _iterator2 = _createForOfIteratorHelper(data['spaces']),
|
|
111
|
+
_step2;
|
|
94
112
|
try {
|
|
95
|
-
for (
|
|
96
|
-
var item =
|
|
113
|
+
for (_iterator2.s(); !(_step2 = _iterator2.n()).done;) {
|
|
114
|
+
var item = _step2.value;
|
|
97
115
|
_Space["default"].validateJSON(item);
|
|
98
116
|
}
|
|
99
117
|
} catch (err) {
|
|
100
|
-
|
|
118
|
+
_iterator2.e(err);
|
|
101
119
|
} finally {
|
|
102
|
-
|
|
120
|
+
_iterator2.f();
|
|
103
121
|
}
|
|
104
122
|
;
|
|
105
123
|
}
|
|
@@ -111,6 +129,8 @@ var ListSpacesResponse = /*#__PURE__*/function () {
|
|
|
111
129
|
}
|
|
112
130
|
}]);
|
|
113
131
|
}();
|
|
132
|
+
ListSpacesResponse.RequiredProperties = ["spaces"];
|
|
133
|
+
|
|
114
134
|
/**
|
|
115
135
|
* The list of spaces matching the query criteria.
|
|
116
136
|
* @member {Array.<module:model/Space>} spaces
|
package/dist/model/Memory.js
CHANGED
|
@@ -41,15 +41,17 @@ var Memory = /*#__PURE__*/function () {
|
|
|
41
41
|
* @param memoryId {String} Unique identifier of the memory
|
|
42
42
|
* @param spaceId {String} ID of the space containing this memory
|
|
43
43
|
* @param contentType {String} MIME type of the content
|
|
44
|
-
* @param processingStatus {
|
|
44
|
+
* @param processingStatus {module:model/Memory.ProcessingStatusEnum} Processing status of the memory
|
|
45
|
+
* @param pageImageStatus {module:model/Memory.PageImageStatusEnum} Processing status of page-image extraction for this memory
|
|
46
|
+
* @param pageImageCount {Number} Number of extracted page-image renditions linked to this memory
|
|
45
47
|
* @param createdAt {Number} Timestamp when the memory was created (milliseconds since epoch)
|
|
46
48
|
* @param updatedAt {Number} Timestamp when the memory was last updated (milliseconds since epoch)
|
|
47
49
|
* @param createdById {String} ID of the user who created this memory
|
|
48
50
|
* @param updatedById {String} ID of the user who last updated this memory
|
|
49
51
|
*/
|
|
50
|
-
function Memory(memoryId, spaceId, contentType, processingStatus, createdAt, updatedAt, createdById, updatedById) {
|
|
52
|
+
function Memory(memoryId, spaceId, contentType, processingStatus, pageImageStatus, pageImageCount, createdAt, updatedAt, createdById, updatedById) {
|
|
51
53
|
_classCallCheck(this, Memory);
|
|
52
|
-
Memory.initialize(this, memoryId, spaceId, contentType, processingStatus, createdAt, updatedAt, createdById, updatedById);
|
|
54
|
+
Memory.initialize(this, memoryId, spaceId, contentType, processingStatus, pageImageStatus, pageImageCount, createdAt, updatedAt, createdById, updatedById);
|
|
53
55
|
}
|
|
54
56
|
|
|
55
57
|
/**
|
|
@@ -59,11 +61,13 @@ var Memory = /*#__PURE__*/function () {
|
|
|
59
61
|
*/
|
|
60
62
|
return _createClass(Memory, null, [{
|
|
61
63
|
key: "initialize",
|
|
62
|
-
value: function initialize(obj, memoryId, spaceId, contentType, processingStatus, createdAt, updatedAt, createdById, updatedById) {
|
|
64
|
+
value: function initialize(obj, memoryId, spaceId, contentType, processingStatus, pageImageStatus, pageImageCount, createdAt, updatedAt, createdById, updatedById) {
|
|
63
65
|
obj['memoryId'] = memoryId;
|
|
64
66
|
obj['spaceId'] = spaceId;
|
|
65
67
|
obj['contentType'] = contentType;
|
|
66
68
|
obj['processingStatus'] = processingStatus;
|
|
69
|
+
obj['pageImageStatus'] = pageImageStatus;
|
|
70
|
+
obj['pageImageCount'] = pageImageCount;
|
|
67
71
|
obj['createdAt'] = createdAt;
|
|
68
72
|
obj['updatedAt'] = updatedAt;
|
|
69
73
|
obj['createdById'] = createdById;
|
|
@@ -106,8 +110,16 @@ var Memory = /*#__PURE__*/function () {
|
|
|
106
110
|
if (data.hasOwnProperty('processingStatus')) {
|
|
107
111
|
obj['processingStatus'] = _ApiClient["default"].convertToType(data['processingStatus'], 'String');
|
|
108
112
|
}
|
|
113
|
+
if (data.hasOwnProperty('pageImageStatus')) {
|
|
114
|
+
obj['pageImageStatus'] = _ApiClient["default"].convertToType(data['pageImageStatus'], 'String');
|
|
115
|
+
}
|
|
116
|
+
if (data.hasOwnProperty('pageImageCount')) {
|
|
117
|
+
obj['pageImageCount'] = _ApiClient["default"].convertToType(data['pageImageCount'], 'Number');
|
|
118
|
+
}
|
|
109
119
|
if (data.hasOwnProperty('metadata')) {
|
|
110
|
-
obj['metadata'] = _ApiClient["default"].convertToType(data['metadata'],
|
|
120
|
+
obj['metadata'] = _ApiClient["default"].convertToType(data['metadata'], {
|
|
121
|
+
'String': Object
|
|
122
|
+
});
|
|
111
123
|
}
|
|
112
124
|
if (data.hasOwnProperty('createdAt')) {
|
|
113
125
|
obj['createdAt'] = _ApiClient["default"].convertToType(data['createdAt'], 'Number');
|
|
@@ -122,10 +134,10 @@ var Memory = /*#__PURE__*/function () {
|
|
|
122
134
|
obj['updatedById'] = _ApiClient["default"].convertToType(data['updatedById'], 'String');
|
|
123
135
|
}
|
|
124
136
|
if (data.hasOwnProperty('chunkingConfig')) {
|
|
125
|
-
obj['chunkingConfig'] =
|
|
137
|
+
obj['chunkingConfig'] = _ApiClient["default"].convertToType(data['chunkingConfig'], _ChunkingConfiguration["default"]);
|
|
126
138
|
}
|
|
127
139
|
if (data.hasOwnProperty('processingHistory')) {
|
|
128
|
-
obj['processingHistory'] =
|
|
140
|
+
obj['processingHistory'] = _ApiClient["default"].convertToType(data['processingHistory'], _ProcessingHistory["default"]);
|
|
129
141
|
}
|
|
130
142
|
}
|
|
131
143
|
return obj;
|
|
@@ -179,6 +191,10 @@ var Memory = /*#__PURE__*/function () {
|
|
|
179
191
|
throw new Error("Expected the field `processingStatus` to be a primitive type in the JSON string but got " + data['processingStatus']);
|
|
180
192
|
}
|
|
181
193
|
// ensure the json data is a string
|
|
194
|
+
if (data['pageImageStatus'] && !(typeof data['pageImageStatus'] === 'string' || data['pageImageStatus'] instanceof String)) {
|
|
195
|
+
throw new Error("Expected the field `pageImageStatus` to be a primitive type in the JSON string but got " + data['pageImageStatus']);
|
|
196
|
+
}
|
|
197
|
+
// ensure the json data is a string
|
|
182
198
|
if (data['createdById'] && !(typeof data['createdById'] === 'string' || data['createdById'] instanceof String)) {
|
|
183
199
|
throw new Error("Expected the field `createdById` to be a primitive type in the JSON string but got " + data['createdById']);
|
|
184
200
|
}
|
|
@@ -200,7 +216,7 @@ var Memory = /*#__PURE__*/function () {
|
|
|
200
216
|
}
|
|
201
217
|
}]);
|
|
202
218
|
}();
|
|
203
|
-
Memory.RequiredProperties = ["memoryId", "spaceId", "contentType", "processingStatus", "createdAt", "updatedAt", "createdById", "updatedById"];
|
|
219
|
+
Memory.RequiredProperties = ["memoryId", "spaceId", "contentType", "processingStatus", "pageImageStatus", "pageImageCount", "createdAt", "updatedAt", "createdById", "updatedById"];
|
|
204
220
|
|
|
205
221
|
/**
|
|
206
222
|
* Unique identifier of the memory
|
|
@@ -246,13 +262,25 @@ Memory.prototype['contentType'] = undefined;
|
|
|
246
262
|
|
|
247
263
|
/**
|
|
248
264
|
* Processing status of the memory
|
|
249
|
-
* @member {
|
|
265
|
+
* @member {module:model/Memory.ProcessingStatusEnum} processingStatus
|
|
250
266
|
*/
|
|
251
267
|
Memory.prototype['processingStatus'] = undefined;
|
|
252
268
|
|
|
269
|
+
/**
|
|
270
|
+
* Processing status of page-image extraction for this memory
|
|
271
|
+
* @member {module:model/Memory.PageImageStatusEnum} pageImageStatus
|
|
272
|
+
*/
|
|
273
|
+
Memory.prototype['pageImageStatus'] = undefined;
|
|
274
|
+
|
|
275
|
+
/**
|
|
276
|
+
* Number of extracted page-image renditions linked to this memory
|
|
277
|
+
* @member {Number} pageImageCount
|
|
278
|
+
*/
|
|
279
|
+
Memory.prototype['pageImageCount'] = undefined;
|
|
280
|
+
|
|
253
281
|
/**
|
|
254
282
|
* Additional metadata for the memory
|
|
255
|
-
* @member {Object} metadata
|
|
283
|
+
* @member {Object.<String, Object>} metadata
|
|
256
284
|
*/
|
|
257
285
|
Memory.prototype['metadata'] = undefined;
|
|
258
286
|
|
|
@@ -281,12 +309,80 @@ Memory.prototype['createdById'] = undefined;
|
|
|
281
309
|
Memory.prototype['updatedById'] = undefined;
|
|
282
310
|
|
|
283
311
|
/**
|
|
312
|
+
* Chunking strategy used for this memory
|
|
284
313
|
* @member {module:model/ChunkingConfiguration} chunkingConfig
|
|
285
314
|
*/
|
|
286
315
|
Memory.prototype['chunkingConfig'] = undefined;
|
|
287
316
|
|
|
288
317
|
/**
|
|
318
|
+
* Background job processing history associated with this memory
|
|
289
319
|
* @member {module:model/ProcessingHistory} processingHistory
|
|
290
320
|
*/
|
|
291
321
|
Memory.prototype['processingHistory'] = undefined;
|
|
322
|
+
|
|
323
|
+
/**
|
|
324
|
+
* Allowed values for the <code>processingStatus</code> property.
|
|
325
|
+
* @enum {String}
|
|
326
|
+
* @readonly
|
|
327
|
+
*/
|
|
328
|
+
Memory['ProcessingStatusEnum'] = {
|
|
329
|
+
/**
|
|
330
|
+
* value: "UNSPECIFIED"
|
|
331
|
+
* @const
|
|
332
|
+
*/
|
|
333
|
+
"UNSPECIFIED": "UNSPECIFIED",
|
|
334
|
+
/**
|
|
335
|
+
* value: "PENDING"
|
|
336
|
+
* @const
|
|
337
|
+
*/
|
|
338
|
+
"PENDING": "PENDING",
|
|
339
|
+
/**
|
|
340
|
+
* value: "PROCESSING"
|
|
341
|
+
* @const
|
|
342
|
+
*/
|
|
343
|
+
"PROCESSING": "PROCESSING",
|
|
344
|
+
/**
|
|
345
|
+
* value: "COMPLETED"
|
|
346
|
+
* @const
|
|
347
|
+
*/
|
|
348
|
+
"COMPLETED": "COMPLETED",
|
|
349
|
+
/**
|
|
350
|
+
* value: "FAILED"
|
|
351
|
+
* @const
|
|
352
|
+
*/
|
|
353
|
+
"FAILED": "FAILED"
|
|
354
|
+
};
|
|
355
|
+
|
|
356
|
+
/**
|
|
357
|
+
* Allowed values for the <code>pageImageStatus</code> property.
|
|
358
|
+
* @enum {String}
|
|
359
|
+
* @readonly
|
|
360
|
+
*/
|
|
361
|
+
Memory['PageImageStatusEnum'] = {
|
|
362
|
+
/**
|
|
363
|
+
* value: "UNSPECIFIED"
|
|
364
|
+
* @const
|
|
365
|
+
*/
|
|
366
|
+
"UNSPECIFIED": "UNSPECIFIED",
|
|
367
|
+
/**
|
|
368
|
+
* value: "PENDING"
|
|
369
|
+
* @const
|
|
370
|
+
*/
|
|
371
|
+
"PENDING": "PENDING",
|
|
372
|
+
/**
|
|
373
|
+
* value: "PROCESSING"
|
|
374
|
+
* @const
|
|
375
|
+
*/
|
|
376
|
+
"PROCESSING": "PROCESSING",
|
|
377
|
+
/**
|
|
378
|
+
* value: "COMPLETED"
|
|
379
|
+
* @const
|
|
380
|
+
*/
|
|
381
|
+
"COMPLETED": "COMPLETED",
|
|
382
|
+
/**
|
|
383
|
+
* value: "FAILED"
|
|
384
|
+
* @const
|
|
385
|
+
*/
|
|
386
|
+
"FAILED": "FAILED"
|
|
387
|
+
};
|
|
292
388
|
var _default = exports["default"] = Memory;
|
|
@@ -40,7 +40,7 @@ var MemoryChunkResponse = /*#__PURE__*/function () {
|
|
|
40
40
|
* @param memoryId {String} ID of the memory this chunk belongs to
|
|
41
41
|
* @param chunkSequenceNumber {Number} Sequence number of this chunk within the memory
|
|
42
42
|
* @param chunkText {String} The text content of this chunk
|
|
43
|
-
* @param vectorStatus {
|
|
43
|
+
* @param vectorStatus {module:model/MemoryChunkResponse.VectorStatusEnum} Status of vector processing for this chunk
|
|
44
44
|
* @param createdAt {Number} Creation timestamp (milliseconds since epoch)
|
|
45
45
|
* @param updatedAt {Number} Last update timestamp (milliseconds since epoch)
|
|
46
46
|
* @param createdById {String} ID of the user who created the chunk
|
|
@@ -201,7 +201,7 @@ MemoryChunkResponse.prototype['chunkText'] = undefined;
|
|
|
201
201
|
|
|
202
202
|
/**
|
|
203
203
|
* Status of vector processing for this chunk
|
|
204
|
-
* @member {
|
|
204
|
+
* @member {module:model/MemoryChunkResponse.VectorStatusEnum} vectorStatus
|
|
205
205
|
*/
|
|
206
206
|
MemoryChunkResponse.prototype['vectorStatus'] = undefined;
|
|
207
207
|
|
|
@@ -246,4 +246,32 @@ MemoryChunkResponse.prototype['createdById'] = undefined;
|
|
|
246
246
|
* @member {String} updatedById
|
|
247
247
|
*/
|
|
248
248
|
MemoryChunkResponse.prototype['updatedById'] = undefined;
|
|
249
|
+
|
|
250
|
+
/**
|
|
251
|
+
* Allowed values for the <code>vectorStatus</code> property.
|
|
252
|
+
* @enum {String}
|
|
253
|
+
* @readonly
|
|
254
|
+
*/
|
|
255
|
+
MemoryChunkResponse['VectorStatusEnum'] = {
|
|
256
|
+
/**
|
|
257
|
+
* value: "PENDING"
|
|
258
|
+
* @const
|
|
259
|
+
*/
|
|
260
|
+
"PENDING": "PENDING",
|
|
261
|
+
/**
|
|
262
|
+
* value: "PROCESSING"
|
|
263
|
+
* @const
|
|
264
|
+
*/
|
|
265
|
+
"PROCESSING": "PROCESSING",
|
|
266
|
+
/**
|
|
267
|
+
* value: "COMPLETED"
|
|
268
|
+
* @const
|
|
269
|
+
*/
|
|
270
|
+
"COMPLETED": "COMPLETED",
|
|
271
|
+
/**
|
|
272
|
+
* value: "FAILED"
|
|
273
|
+
* @const
|
|
274
|
+
*/
|
|
275
|
+
"FAILED": "FAILED"
|
|
276
|
+
};
|
|
249
277
|
var _default = exports["default"] = MemoryChunkResponse;
|