@gomomento/sdk-core 1.87.0 → 1.89.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/dist/src/clients/ICacheClient.d.ts +2 -2
- package/dist/src/clients/ICacheClient.js +1 -1
- package/dist/src/clients/IMomentoCache.d.ts +2 -2
- package/dist/src/clients/IMomentoCache.js +1 -1
- package/dist/src/errors/errors.js +1 -1
- package/dist/src/internal/clients/cache/IDataClient.d.ts +2 -2
- package/dist/src/internal/clients/cache/IDataClient.js +1 -1
- package/dist/src/messages/responses/cache-batch-get.d.ts +18 -51
- package/dist/src/messages/responses/cache-batch-get.js +23 -56
- package/dist/src/messages/responses/cache-batch-set.d.ts +14 -48
- package/dist/src/messages/responses/cache-batch-set.js +12 -42
- package/dist/src/messages/responses/cache-delete.d.ts +11 -44
- package/dist/src/messages/responses/cache-delete.js +14 -35
- package/dist/src/messages/responses/cache-dictionary-fetch.d.ts +5 -5
- package/dist/src/messages/responses/cache-dictionary-fetch.js +4 -4
- package/dist/src/messages/responses/cache-dictionary-get-field.d.ts +5 -5
- package/dist/src/messages/responses/cache-dictionary-get-field.js +4 -4
- package/dist/src/messages/responses/cache-dictionary-get-fields.d.ts +5 -5
- package/dist/src/messages/responses/cache-dictionary-get-fields.js +4 -4
- package/dist/src/messages/responses/cache-dictionary-increment.d.ts +14 -46
- package/dist/src/messages/responses/cache-dictionary-increment.js +14 -41
- package/dist/src/messages/responses/cache-dictionary-length.d.ts +19 -53
- package/dist/src/messages/responses/cache-dictionary-length.js +26 -40
- package/dist/src/messages/responses/cache-dictionary-remove-field.d.ts +10 -43
- package/dist/src/messages/responses/cache-dictionary-remove-field.js +13 -34
- package/dist/src/messages/responses/cache-dictionary-remove-fields.d.ts +10 -43
- package/dist/src/messages/responses/cache-dictionary-remove-fields.js +13 -34
- package/dist/src/messages/responses/cache-dictionary-set-field.d.ts +10 -43
- package/dist/src/messages/responses/cache-dictionary-set-field.js +13 -34
- package/dist/src/messages/responses/cache-dictionary-set-fields.d.ts +10 -43
- package/dist/src/messages/responses/cache-dictionary-set-fields.js +13 -34
- package/dist/src/messages/responses/cache-flush.d.ts +12 -45
- package/dist/src/messages/responses/cache-flush.js +15 -36
- package/dist/src/messages/responses/cache-get.d.ts +1 -1
- package/dist/src/messages/responses/cache-get.js +1 -1
- package/dist/src/messages/responses/cache-increment.d.ts +24 -51
- package/dist/src/messages/responses/cache-increment.js +27 -49
- package/dist/src/messages/responses/cache-item-get-ttl.d.ts +22 -55
- package/dist/src/messages/responses/cache-item-get-ttl.js +27 -41
- package/dist/src/messages/responses/cache-item-get-type.d.ts +22 -55
- package/dist/src/messages/responses/cache-item-get-type.js +27 -41
- package/dist/src/messages/responses/cache-key-exists.d.ts +16 -47
- package/dist/src/messages/responses/cache-key-exists.js +17 -38
- package/dist/src/messages/responses/cache-keys-exist.d.ts +16 -47
- package/dist/src/messages/responses/cache-keys-exist.js +16 -37
- package/dist/src/messages/responses/cache-list-concatenate-back.d.ts +13 -56
- package/dist/src/messages/responses/cache-list-concatenate-back.js +13 -37
- package/dist/src/messages/responses/cache-list-concatenate-front.d.ts +13 -46
- package/dist/src/messages/responses/cache-list-concatenate-front.js +13 -37
- package/dist/src/messages/responses/cache-list-fetch.d.ts +23 -58
- package/dist/src/messages/responses/cache-list-fetch.js +26 -49
- package/dist/src/messages/responses/cache-list-length.d.ts +27 -66
- package/dist/src/messages/responses/cache-list-length.js +32 -42
- package/dist/src/messages/responses/cache-list-pop-back.d.ts +22 -57
- package/dist/src/messages/responses/cache-list-pop-back.js +25 -48
- package/dist/src/messages/responses/cache-list-pop-front.d.ts +22 -57
- package/dist/src/messages/responses/cache-list-pop-front.js +25 -48
- package/dist/src/messages/responses/cache-list-push-back.d.ts +13 -46
- package/dist/src/messages/responses/cache-list-push-back.js +13 -37
- package/dist/src/messages/responses/cache-list-push-front.d.ts +13 -46
- package/dist/src/messages/responses/cache-list-push-front.js +13 -37
- package/dist/src/messages/responses/cache-list-remove-value.d.ts +11 -44
- package/dist/src/messages/responses/cache-list-remove-value.js +14 -35
- package/dist/src/messages/responses/cache-list-retain.d.ts +11 -44
- package/dist/src/messages/responses/cache-list-retain.js +14 -35
- package/dist/src/messages/responses/cache-set-add-element.d.ts +10 -43
- package/dist/src/messages/responses/cache-set-add-element.js +13 -34
- package/dist/src/messages/responses/cache-set-add-elements.d.ts +12 -45
- package/dist/src/messages/responses/cache-set-add-elements.js +17 -38
- package/dist/src/messages/responses/cache-set-fetch.d.ts +18 -54
- package/dist/src/messages/responses/cache-set-fetch.js +23 -46
- package/dist/src/messages/responses/cache-set-if-absent-or-equal.d.ts +15 -55
- package/dist/src/messages/responses/cache-set-if-absent-or-equal.js +21 -41
- package/dist/src/messages/responses/cache-set-if-absent.d.ts +14 -54
- package/dist/src/messages/responses/cache-set-if-absent.js +20 -40
- package/dist/src/messages/responses/cache-set-if-equal.d.ts +15 -55
- package/dist/src/messages/responses/cache-set-if-equal.js +21 -41
- package/dist/src/messages/responses/cache-set-if-not-equal.d.ts +15 -55
- package/dist/src/messages/responses/cache-set-if-not-equal.js +21 -41
- package/dist/src/messages/responses/cache-set-if-not-exists.d.ts +14 -54
- package/dist/src/messages/responses/cache-set-if-not-exists.js +20 -40
- package/dist/src/messages/responses/cache-set-if-present-and-not-equal.d.ts +15 -55
- package/dist/src/messages/responses/cache-set-if-present-and-not-equal.js +21 -41
- package/dist/src/messages/responses/cache-set-if-present.d.ts +15 -55
- package/dist/src/messages/responses/cache-set-if-present.js +21 -41
- package/dist/src/messages/responses/cache-set-remove-element.d.ts +10 -43
- package/dist/src/messages/responses/cache-set-remove-element.js +13 -34
- package/dist/src/messages/responses/cache-set-remove-elements.d.ts +13 -46
- package/dist/src/messages/responses/cache-set-remove-elements.js +13 -34
- package/dist/src/messages/responses/cache-set-sample.d.ts +18 -54
- package/dist/src/messages/responses/cache-set-sample.js +23 -46
- package/dist/src/messages/responses/cache-set.d.ts +4 -4
- package/dist/src/messages/responses/cache-set.js +3 -3
- package/dist/src/messages/responses/cache-sorted-set-fetch.d.ts +19 -55
- package/dist/src/messages/responses/cache-sorted-set-fetch.js +23 -46
- package/dist/src/messages/responses/cache-sorted-set-get-rank.d.ts +19 -53
- package/dist/src/messages/responses/cache-sorted-set-get-rank.js +22 -39
- package/dist/src/messages/responses/cache-sorted-set-get-score.d.ts +28 -66
- package/dist/src/messages/responses/cache-sorted-set-get-score.js +32 -60
- package/dist/src/messages/responses/cache-sorted-set-get-scores.d.ts +21 -58
- package/dist/src/messages/responses/cache-sorted-set-get-scores.js +29 -52
- package/dist/src/messages/responses/cache-sorted-set-increment-score.d.ts +14 -46
- package/dist/src/messages/responses/cache-sorted-set-increment-score.js +14 -41
- package/dist/src/messages/responses/cache-sorted-set-length-by-score.d.ts +18 -53
- package/dist/src/messages/responses/cache-sorted-set-length-by-score.js +23 -40
- package/dist/src/messages/responses/cache-sorted-set-length.d.ts +19 -53
- package/dist/src/messages/responses/cache-sorted-set-length.js +22 -39
- package/dist/src/messages/responses/cache-sorted-set-put-element.d.ts +10 -43
- package/dist/src/messages/responses/cache-sorted-set-put-element.js +13 -34
- package/dist/src/messages/responses/cache-sorted-set-put-elements.d.ts +10 -43
- package/dist/src/messages/responses/cache-sorted-set-put-elements.js +13 -34
- package/dist/src/messages/responses/cache-sorted-set-remove-element.d.ts +10 -43
- package/dist/src/messages/responses/cache-sorted-set-remove-element.js +13 -34
- package/dist/src/messages/responses/cache-sorted-set-remove-elements.d.ts +10 -43
- package/dist/src/messages/responses/cache-sorted-set-remove-elements.js +13 -34
- package/dist/src/messages/responses/cache-ttl-decrease.d.ts +19 -53
- package/dist/src/messages/responses/cache-ttl-decrease.js +29 -39
- package/dist/src/messages/responses/cache-ttl-increase.d.ts +19 -53
- package/dist/src/messages/responses/cache-ttl-increase.js +29 -39
- package/dist/src/messages/responses/cache-ttl-update.d.ts +15 -55
- package/dist/src/messages/responses/cache-ttl-update.js +21 -41
- package/dist/src/messages/responses/create-cache.d.ts +15 -48
- package/dist/src/messages/responses/create-cache.js +21 -39
- package/dist/src/messages/responses/delete-cache.d.ts +11 -44
- package/dist/src/messages/responses/delete-cache.js +14 -35
- package/dist/src/messages/responses/enums/auth/generate-api-key.d.ts +4 -0
- package/dist/src/messages/responses/enums/auth/generate-api-key.js +9 -0
- package/dist/src/messages/responses/enums/auth/generate-disposable-token.d.ts +4 -0
- package/dist/src/messages/responses/enums/auth/generate-disposable-token.js +9 -0
- package/dist/src/messages/responses/enums/auth/index.d.ts +3 -0
- package/dist/src/messages/responses/enums/auth/index.js +10 -0
- package/dist/src/messages/responses/enums/auth/refresh-api-key.d.ts +4 -0
- package/dist/src/messages/responses/enums/auth/refresh-api-key.js +9 -0
- package/dist/src/messages/responses/enums/cache/control/index.d.ts +17 -0
- package/dist/src/messages/responses/enums/cache/control/index.js +25 -0
- package/dist/src/messages/responses/enums/cache/dictionary/index.d.ts +40 -0
- package/dist/src/messages/responses/enums/cache/dictionary/index.js +53 -0
- package/dist/src/messages/responses/enums/cache/index.d.ts +6 -0
- package/dist/src/messages/responses/enums/cache/index.js +23 -0
- package/dist/src/messages/responses/enums/cache/list/index.d.ts +44 -0
- package/dist/src/messages/responses/enums/cache/list/index.js +58 -0
- package/dist/src/messages/responses/enums/cache/scalar/index.d.ts +95 -0
- package/dist/src/messages/responses/enums/cache/scalar/index.js +122 -0
- package/dist/src/messages/responses/enums/cache/set/index.d.ts +26 -0
- package/dist/src/messages/responses/enums/cache/set/index.js +36 -0
- package/dist/src/messages/responses/enums/cache/sorted-set/index.d.ts +50 -0
- package/dist/src/messages/responses/enums/cache/sorted-set/index.js +65 -0
- package/dist/src/messages/responses/enums/index.d.ts +4 -24
- package/dist/src/messages/responses/enums/index.js +19 -31
- package/dist/src/messages/responses/enums/leaderboard/index.d.ts +20 -0
- package/dist/src/messages/responses/enums/leaderboard/index.js +29 -0
- package/dist/src/messages/responses/enums/topics/index.d.ts +8 -0
- package/dist/src/messages/responses/enums/topics/index.js +14 -0
- package/dist/src/messages/responses/generate-api-key.d.ts +10 -27
- package/dist/src/messages/responses/generate-api-key.js +10 -18
- package/dist/src/messages/responses/generate-disposable-token.d.ts +10 -27
- package/dist/src/messages/responses/generate-disposable-token.js +10 -18
- package/dist/src/messages/responses/leaderboard/leaderboard-delete.d.ts +10 -43
- package/dist/src/messages/responses/leaderboard/leaderboard-delete.js +13 -34
- package/dist/src/messages/responses/leaderboard/leaderboard-fetch.d.ts +12 -45
- package/dist/src/messages/responses/leaderboard/leaderboard-fetch.js +11 -35
- package/dist/src/messages/responses/leaderboard/leaderboard-length.d.ts +12 -45
- package/dist/src/messages/responses/leaderboard/leaderboard-length.js +11 -35
- package/dist/src/messages/responses/leaderboard/leaderboard-remove-elements.d.ts +10 -43
- package/dist/src/messages/responses/leaderboard/leaderboard-remove-elements.js +13 -34
- package/dist/src/messages/responses/leaderboard/leaderboard-upsert.d.ts +11 -44
- package/dist/src/messages/responses/leaderboard/leaderboard-upsert.js +14 -35
- package/dist/src/messages/responses/list-caches.d.ts +13 -46
- package/dist/src/messages/responses/list-caches.js +11 -35
- package/dist/src/messages/responses/refresh-api-key.d.ts +10 -27
- package/dist/src/messages/responses/refresh-api-key.js +10 -18
- package/dist/src/messages/responses/response-base.d.ts +6 -0
- package/dist/src/messages/responses/response-base.js +9 -2
- package/dist/src/messages/responses/topic-publish.d.ts +10 -43
- package/dist/src/messages/responses/topic-publish.js +13 -34
- package/dist/src/messages/responses/topic-subscribe.d.ts +10 -37
- package/dist/src/messages/responses/topic-subscribe.js +10 -33
- package/dist/src/messages/responses/webhook/list-webhooks.d.ts +1 -10
- package/package.json +1 -1
@@ -1,54 +1,30 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.Error = exports.Miss = exports.Set =
|
3
|
+
exports.Error = exports.Miss = exports.Set = void 0;
|
4
4
|
const response_base_1 = require("./response-base");
|
5
|
+
const enums_1 = require("./enums");
|
5
6
|
/**
|
6
|
-
*
|
7
|
-
* response object is resolved to a type-safe object of one of
|
8
|
-
* the following subtypes:
|
9
|
-
*
|
10
|
-
* - {Set}
|
11
|
-
* - {Miss}
|
12
|
-
* - {Error}
|
13
|
-
*
|
14
|
-
* `instanceof` type guards can be used to operate on the appropriate subtype.
|
15
|
-
* @example
|
16
|
-
* For example:
|
17
|
-
* ```
|
18
|
-
* if (response instanceof CacheUpdateTtl.Error) {
|
19
|
-
* // Handle error as appropriate. The compiler will smart-cast `response` to type
|
20
|
-
* // `CacheUpdateTtl.Error` in this block, so you will have access to the properties
|
21
|
-
* // of the Error class; e.g. `response.errorCode()`.
|
22
|
-
* }
|
23
|
-
* ```
|
7
|
+
* Indicates the ttl was successfully overwritten.
|
24
8
|
*/
|
25
|
-
class
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
}
|
30
|
-
/**
|
31
|
-
* Indicates a successful update TTL request.
|
32
|
-
*/
|
33
|
-
class Set extends (0, response_base_1.ResponseSuccess)(_Set) {
|
9
|
+
class Set extends response_base_1.ResponseBase {
|
10
|
+
constructor() {
|
11
|
+
super(...arguments);
|
12
|
+
this.type = enums_1.CacheUpdateTtlResponse.Set;
|
13
|
+
}
|
34
14
|
}
|
35
15
|
exports.Set = Set;
|
36
|
-
class _Miss extends Response {
|
37
|
-
}
|
38
16
|
/**
|
39
|
-
* Indicates
|
17
|
+
* Indicates the requested item was not found in the cache.
|
40
18
|
*/
|
41
|
-
class Miss extends
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
constructor(_innerException) {
|
46
|
-
super();
|
47
|
-
this._innerException = _innerException;
|
19
|
+
class Miss extends response_base_1.BaseResponseMiss {
|
20
|
+
constructor() {
|
21
|
+
super(...arguments);
|
22
|
+
this.type = enums_1.CacheUpdateTtlResponse.Miss;
|
48
23
|
}
|
49
24
|
}
|
25
|
+
exports.Miss = Miss;
|
50
26
|
/**
|
51
|
-
* Indicates that an error occurred during the update
|
27
|
+
* Indicates that an error occurred during the update ttl request.
|
52
28
|
*
|
53
29
|
* This response object includes the following fields that you can use to determine
|
54
30
|
* how you would like to handle the error:
|
@@ -57,7 +33,11 @@ class _Error extends Response {
|
|
57
33
|
* - `message()` - a human-readable description of the error
|
58
34
|
* - `innerException()` - the original error that caused the failure; can be re-thrown.
|
59
35
|
*/
|
60
|
-
class Error extends
|
36
|
+
class Error extends response_base_1.BaseResponseError {
|
37
|
+
constructor(_innerException) {
|
38
|
+
super(_innerException);
|
39
|
+
this.type = enums_1.CacheUpdateTtlResponse.Error;
|
40
|
+
}
|
61
41
|
}
|
62
42
|
exports.Error = Error;
|
63
|
-
//# sourceMappingURL=data:application/json;base64,
|
43
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2FjaGUtdHRsLXVwZGF0ZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3NyYy9tZXNzYWdlcy9yZXNwb25zZXMvY2FjaGUtdHRsLXVwZGF0ZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7QUFDQSxtREFJeUI7QUFDekIsbUNBQStDO0FBTS9DOztHQUVHO0FBQ0gsTUFBYSxHQUFJLFNBQVEsNEJBQVk7SUFBckM7O1FBQ1csU0FBSSxHQUErQiw4QkFBc0IsQ0FBQyxHQUFHLENBQUM7SUFDekUsQ0FBQztDQUFBO0FBRkQsa0JBRUM7QUFFRDs7R0FFRztBQUNILE1BQWEsSUFBSyxTQUFRLGdDQUFnQjtJQUExQzs7UUFDVyxTQUFJLEdBQWdDLDhCQUFzQixDQUFDLElBQUksQ0FBQztJQUMzRSxDQUFDO0NBQUE7QUFGRCxvQkFFQztBQUVEOzs7Ozs7Ozs7R0FTRztBQUNILE1BQWEsS0FBTSxTQUFRLGlDQUFpQjtJQUMxQyxZQUFZLGVBQXlCO1FBQ25DLEtBQUssQ0FBQyxlQUFlLENBQUMsQ0FBQztRQUdoQixTQUFJLEdBQWlDLDhCQUFzQ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gdXBkYXRlIHR0bCByZXF1ZXN0LlxuICpcbiAqIFRoaXMgcmVzcG9uc2Ugb2JqZWN0IGluY2x1ZGVzIHRoZSBmb2xsb3dpbmcgZmllbGRzIHRoYXQgeW91IGNhbiB1c2UgdG8gZGV0ZXJtaW5lXG4gKiBob3cgeW91IHdvdWxkIGxpa2UgdG8gaGFuZGxlIHRoZSBlcnJvcjpcbiAqXG4gKiAtIGBlcnJvckNvZGUoKWAgLSBhIHVuaXF1ZSBNb21lbnRvIGVycm9yIGNvZGUgaW5kaWNhdGluZyB0aGUgdHlwZSBvZiBlcnJvciB0aGF0IG9jY3VycmVkLlxuICogLSBgbWVzc2FnZSgpYCAtIGEgaHVtYW4tcmVhZGFibGUgZGVzY3JpcHRpb24gb2YgdGhlIGVycm9yXG4gKiAtIGBpbm5lckV4Y2VwdGlvbigpYCAtIHRoZSBvcmlnaW5hbCBlcnJvciB0aGF0IGNhdXNlZCB0aGUgZmFpbHVyZTsgY2FuIGJlIHJlLXRocm93bi5cbiAqL1xuZXhwb3J0IGNsYXNzIEVycm9yIGV4dGVuZHMgQmFzZVJlc3BvbnNlRXJyb3IgaW1wbGVtZW50cyBJUmVzcG9uc2Uge1xuICBjb25zdHJ1Y3RvcihfaW5uZXJFeGNlcHRpb246IFNka0Vycm9yKSB7XG4gICAgc3VwZXIoX2lubmVyRXhjZXB0aW9uKTtcbiAgfVxuXG4gIHJlYWRvbmx5IHR5cGU6IENhY2hlVXBkYXRlVHRsUmVzcG9uc2UuRXJyb3IgPSBDYWNoZVVwZGF0ZVR0bFJlc3BvbnNlLkVycm9yO1xufVxuXG5leHBvcnQgdHlwZSBSZXNwb25zZSA9IFNldCB8IE1pc3MgfCBFcnJvcjtcbiJdfQ==
|
@@ -1,52 +1,21 @@
|
|
1
1
|
import { SdkError } from '../../errors';
|
2
|
-
import { ResponseBase } from './response-base';
|
2
|
+
import { BaseResponseError, BaseResponseSuccess, ResponseBase } from './response-base';
|
3
|
+
import { CreateCacheResponse } from './enums';
|
4
|
+
interface IResponse {
|
5
|
+
readonly type: CreateCacheResponse;
|
6
|
+
}
|
3
7
|
/**
|
4
|
-
*
|
5
|
-
* response object is resolved to a type-safe object of one of
|
6
|
-
* the following subtypes:
|
7
|
-
*
|
8
|
-
* - {Success}
|
9
|
-
* - {AlreadyExists}
|
10
|
-
* - {Error}
|
11
|
-
*
|
12
|
-
* `instanceof` type guards can be used to operate on the appropriate subtype.
|
13
|
-
* @example
|
14
|
-
* For example:
|
15
|
-
* ```
|
16
|
-
* if (response instanceof CreateCache.Error) {
|
17
|
-
* // Handle error as appropriate. The compiler will smart-cast `response` to type
|
18
|
-
* // `CreateCache.Error` in this block, so you will have access to the properties
|
19
|
-
* // of the Error class; e.g. `response.errorCode()`.
|
20
|
-
* }
|
21
|
-
* ```
|
8
|
+
* Indicates a successful create cache request.
|
22
9
|
*/
|
23
|
-
export declare
|
10
|
+
export declare class Success extends BaseResponseSuccess implements IResponse {
|
11
|
+
readonly type: CreateCacheResponse.Success;
|
24
12
|
}
|
25
|
-
declare class _Success extends Response {
|
26
|
-
}
|
27
|
-
declare const Success_base: {
|
28
|
-
new (...args: any[]): {
|
29
|
-
readonly is_success: boolean;
|
30
|
-
};
|
31
|
-
} & typeof _Success;
|
32
13
|
/**
|
33
|
-
* Indicates
|
14
|
+
* Indicates that the cache already exists and no new cache was created.
|
34
15
|
*/
|
35
|
-
export declare class
|
36
|
-
|
37
|
-
declare class _Error extends Response {
|
38
|
-
protected _innerException: SdkError;
|
39
|
-
constructor(_innerException: SdkError);
|
16
|
+
export declare class AlreadyExists extends ResponseBase implements IResponse {
|
17
|
+
readonly type: CreateCacheResponse.AlreadyExists;
|
40
18
|
}
|
41
|
-
declare const Error_base: {
|
42
|
-
new (...args: any[]): {
|
43
|
-
_innerException: SdkError;
|
44
|
-
message(): string;
|
45
|
-
innerException(): SdkError;
|
46
|
-
errorCode(): import("../../errors").MomentoErrorCode;
|
47
|
-
toString(): string;
|
48
|
-
};
|
49
|
-
} & typeof _Error;
|
50
19
|
/**
|
51
20
|
* Indicates that an error occurred during the create cache request.
|
52
21
|
*
|
@@ -57,11 +26,9 @@ declare const Error_base: {
|
|
57
26
|
* - `message()` - a human-readable description of the error
|
58
27
|
* - `innerException()` - the original error that caused the failure; can be re-thrown.
|
59
28
|
*/
|
60
|
-
export declare class Error extends
|
61
|
-
|
62
|
-
|
63
|
-
* Indicates that the cache already exists, so there was nothing to do.
|
64
|
-
*/
|
65
|
-
export declare class AlreadyExists extends Response {
|
29
|
+
export declare class Error extends BaseResponseError implements IResponse {
|
30
|
+
constructor(_innerException: SdkError);
|
31
|
+
readonly type: CreateCacheResponse.Error;
|
66
32
|
}
|
33
|
+
export type Response = Success | AlreadyExists | Error;
|
67
34
|
export {};
|
@@ -1,44 +1,28 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.
|
3
|
+
exports.Error = exports.AlreadyExists = exports.Success = void 0;
|
4
4
|
const response_base_1 = require("./response-base");
|
5
|
+
const enums_1 = require("./enums");
|
5
6
|
/**
|
6
|
-
*
|
7
|
-
* response object is resolved to a type-safe object of one of
|
8
|
-
* the following subtypes:
|
9
|
-
*
|
10
|
-
* - {Success}
|
11
|
-
* - {AlreadyExists}
|
12
|
-
* - {Error}
|
13
|
-
*
|
14
|
-
* `instanceof` type guards can be used to operate on the appropriate subtype.
|
15
|
-
* @example
|
16
|
-
* For example:
|
17
|
-
* ```
|
18
|
-
* if (response instanceof CreateCache.Error) {
|
19
|
-
* // Handle error as appropriate. The compiler will smart-cast `response` to type
|
20
|
-
* // `CreateCache.Error` in this block, so you will have access to the properties
|
21
|
-
* // of the Error class; e.g. `response.errorCode()`.
|
22
|
-
* }
|
23
|
-
* ```
|
7
|
+
* Indicates a successful create cache request.
|
24
8
|
*/
|
25
|
-
class
|
26
|
-
|
27
|
-
|
28
|
-
|
9
|
+
class Success extends response_base_1.BaseResponseSuccess {
|
10
|
+
constructor() {
|
11
|
+
super(...arguments);
|
12
|
+
this.type = enums_1.CreateCacheResponse.Success;
|
13
|
+
}
|
29
14
|
}
|
15
|
+
exports.Success = Success;
|
30
16
|
/**
|
31
|
-
* Indicates
|
17
|
+
* Indicates that the cache already exists and no new cache was created.
|
32
18
|
*/
|
33
|
-
class
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
constructor(_innerException) {
|
38
|
-
super();
|
39
|
-
this._innerException = _innerException;
|
19
|
+
class AlreadyExists extends response_base_1.ResponseBase {
|
20
|
+
constructor() {
|
21
|
+
super(...arguments);
|
22
|
+
this.type = enums_1.CreateCacheResponse.AlreadyExists;
|
40
23
|
}
|
41
24
|
}
|
25
|
+
exports.AlreadyExists = AlreadyExists;
|
42
26
|
/**
|
43
27
|
* Indicates that an error occurred during the create cache request.
|
44
28
|
*
|
@@ -49,13 +33,11 @@ class _Error extends Response {
|
|
49
33
|
* - `message()` - a human-readable description of the error
|
50
34
|
* - `innerException()` - the original error that caused the failure; can be re-thrown.
|
51
35
|
*/
|
52
|
-
class Error extends
|
36
|
+
class Error extends response_base_1.BaseResponseError {
|
37
|
+
constructor(_innerException) {
|
38
|
+
super(_innerException);
|
39
|
+
this.type = enums_1.CreateCacheResponse.Error;
|
40
|
+
}
|
53
41
|
}
|
54
42
|
exports.Error = Error;
|
55
|
-
|
56
|
-
* Indicates that the cache already exists, so there was nothing to do.
|
57
|
-
*/
|
58
|
-
class AlreadyExists extends Response {
|
59
|
-
}
|
60
|
-
exports.AlreadyExists = AlreadyExists;
|
61
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY3JlYXRlLWNhY2hlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vc3JjL21lc3NhZ2VzL3Jlc3BvbnNlcy9jcmVhdGUtY2FjaGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7O0FBQ0EsbURBQTZFO0FBRTdFOzs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gY2xhc3MgRXJyb3IgZXh0ZW5kcyBCYXNlUmVzcG9uc2VFcnJvciBpbXBsZW1lbnRzIElSZXNwb25zZSB7XG4gIGNvbnN0cnVjdG9yKF9pbm5lckV4Y2VwdGlvbjogU2RrRXJyb3IpIHtcbiAgICBzdXBlcihfaW5uZXJFeGNlcHRpb24pO1xuICB9XG5cbiAgcmVhZG9ubHkgdHlwZTogQ3JlYXRlQ2FjaGVSZXNwb25zZS5FcnJvciA9IENyZWF0ZUNhY2hlUmVzcG9uc2UuRXJyb3I7XG59XG5cbmV4cG9ydCB0eXBlIFJlc3BvbnNlID0gU3VjY2VzcyB8IEFscmVhZHlFeGlzdHMgfCBFcnJvcjtcbiJdfQ==
|
@@ -1,51 +1,15 @@
|
|
1
1
|
import { SdkError } from '../../errors';
|
2
|
-
import {
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
* the following subtypes:
|
7
|
-
*
|
8
|
-
* - {Success}
|
9
|
-
* - {Error}
|
10
|
-
*
|
11
|
-
* `instanceof` type guards can be used to operate on the appropriate subtype.
|
12
|
-
* @example
|
13
|
-
* For example:
|
14
|
-
* ```
|
15
|
-
* if (response instanceof DeleteCache.Error) {
|
16
|
-
* // Handle error as appropriate. The compiler will smart-cast `response` to type
|
17
|
-
* // `DeleteCache.Error` in this block, so you will have access to the properties
|
18
|
-
* // of the Error class; e.g. `response.errorCode()`.
|
19
|
-
* }
|
20
|
-
* ```
|
21
|
-
*/
|
22
|
-
export declare abstract class Response extends ResponseBase {
|
2
|
+
import { BaseResponseError, BaseResponseSuccess } from './response-base';
|
3
|
+
import { DeleteCacheResponse } from './enums';
|
4
|
+
interface IResponse {
|
5
|
+
readonly type: DeleteCacheResponse;
|
23
6
|
}
|
24
|
-
declare class _Success extends Response {
|
25
|
-
}
|
26
|
-
declare const Success_base: {
|
27
|
-
new (...args: any[]): {
|
28
|
-
readonly is_success: boolean;
|
29
|
-
};
|
30
|
-
} & typeof _Success;
|
31
7
|
/**
|
32
|
-
* Indicates a
|
8
|
+
* Indicates a successful delete cache request.
|
33
9
|
*/
|
34
|
-
export declare class Success extends
|
35
|
-
|
36
|
-
declare class _Error extends Response {
|
37
|
-
protected _innerException: SdkError;
|
38
|
-
constructor(_innerException: SdkError);
|
10
|
+
export declare class Success extends BaseResponseSuccess implements IResponse {
|
11
|
+
readonly type: DeleteCacheResponse.Success;
|
39
12
|
}
|
40
|
-
declare const Error_base: {
|
41
|
-
new (...args: any[]): {
|
42
|
-
_innerException: SdkError;
|
43
|
-
message(): string;
|
44
|
-
innerException(): SdkError;
|
45
|
-
errorCode(): import("../../errors").MomentoErrorCode;
|
46
|
-
toString(): string;
|
47
|
-
};
|
48
|
-
} & typeof _Error;
|
49
13
|
/**
|
50
14
|
* Indicates that an error occurred during the delete cache request.
|
51
15
|
*
|
@@ -56,6 +20,9 @@ declare const Error_base: {
|
|
56
20
|
* - `message()` - a human-readable description of the error
|
57
21
|
* - `innerException()` - the original error that caused the failure; can be re-thrown.
|
58
22
|
*/
|
59
|
-
export declare class Error extends
|
23
|
+
export declare class Error extends BaseResponseError implements IResponse {
|
24
|
+
constructor(_innerException: SdkError);
|
25
|
+
readonly type: DeleteCacheResponse.Error;
|
60
26
|
}
|
27
|
+
export type Response = Success | Error;
|
61
28
|
export {};
|
@@ -1,43 +1,18 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.Error = exports.Success =
|
3
|
+
exports.Error = exports.Success = void 0;
|
4
4
|
const response_base_1 = require("./response-base");
|
5
|
+
const enums_1 = require("./enums");
|
5
6
|
/**
|
6
|
-
*
|
7
|
-
* response object is resolved to a type-safe object of one of
|
8
|
-
* the following subtypes:
|
9
|
-
*
|
10
|
-
* - {Success}
|
11
|
-
* - {Error}
|
12
|
-
*
|
13
|
-
* `instanceof` type guards can be used to operate on the appropriate subtype.
|
14
|
-
* @example
|
15
|
-
* For example:
|
16
|
-
* ```
|
17
|
-
* if (response instanceof DeleteCache.Error) {
|
18
|
-
* // Handle error as appropriate. The compiler will smart-cast `response` to type
|
19
|
-
* // `DeleteCache.Error` in this block, so you will have access to the properties
|
20
|
-
* // of the Error class; e.g. `response.errorCode()`.
|
21
|
-
* }
|
22
|
-
* ```
|
23
|
-
*/
|
24
|
-
class Response extends response_base_1.ResponseBase {
|
25
|
-
}
|
26
|
-
exports.Response = Response;
|
27
|
-
class _Success extends Response {
|
28
|
-
}
|
29
|
-
/**
|
30
|
-
* Indicates a Successful delete cache request.
|
7
|
+
* Indicates a successful delete cache request.
|
31
8
|
*/
|
32
|
-
class Success extends
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
constructor(_innerException) {
|
37
|
-
super();
|
38
|
-
this._innerException = _innerException;
|
9
|
+
class Success extends response_base_1.BaseResponseSuccess {
|
10
|
+
constructor() {
|
11
|
+
super(...arguments);
|
12
|
+
this.type = enums_1.DeleteCacheResponse.Success;
|
39
13
|
}
|
40
14
|
}
|
15
|
+
exports.Success = Success;
|
41
16
|
/**
|
42
17
|
* Indicates that an error occurred during the delete cache request.
|
43
18
|
*
|
@@ -48,7 +23,11 @@ class _Error extends Response {
|
|
48
23
|
* - `message()` - a human-readable description of the error
|
49
24
|
* - `innerException()` - the original error that caused the failure; can be re-thrown.
|
50
25
|
*/
|
51
|
-
class Error extends
|
26
|
+
class Error extends response_base_1.BaseResponseError {
|
27
|
+
constructor(_innerException) {
|
28
|
+
super(_innerException);
|
29
|
+
this.type = enums_1.DeleteCacheResponse.Error;
|
30
|
+
}
|
52
31
|
}
|
53
32
|
exports.Error = Error;
|
54
|
-
//# sourceMappingURL=data:application/json;base64,
|
33
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZGVsZXRlLWNhY2hlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vc3JjL21lc3NhZ2VzL3Jlc3BvbnNlcy9kZWxldGUtY2FjaGUudHMiXSwibm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luZGljYXRlcyB0aGF0IGFuIGVycm9yIG9jY3VycmVkIGR1cmluZyB0aGUgZGVsZXRlIGNhY2hlIHJlcXVlc3QuXG4gKlxuICogVGhpcyByZXNwb25zZSBvYmplY3QgaW5jbHVkZXMgdGhlIGZvbGxvd2luZyBmaWVsZHMgdGhhdCB5b3UgY2FuIHVzZSB0byBkZXRlcm1pbmVcbiAqIGhvdyB5b3Ugd291bGQgbGlrZSB0byBoYW5kbGUgdGhlIGVycm9yOlxuICpcbiAqIC0gYGVycm9yQ29kZSgpYCAtIGEgdW5pcXVlIE1vbWVudG8gZXJyb3IgY29kZSBpbmRpY2F0aW5nIHRoZSB0eXBlIG9mIGVycm9yIHRoYXQgb2NjdXJyZWQuXG4gKiAtIGBtZXNzYWdlKClgIC0gYSBodW1hbi1yZWFkYWJsZSBkZXNjcmlwdGlvbiBvZiB0aGUgZXJyb3JcbiAqIC0gYGlubmVyRXhjZXB0aW9uKClgIC0gdGhlIG9yaWdpbmFsIGVycm9yIHRoYXQgY2F1c2VkIHRoZSBmYWlsdXJlOyBjYW4gYmUgcmUtdGhyb3duLlxuICovXG5leHBvcnQgY2xhc3MgRXJyb3IgZXh0ZW5kcyBCYXNlUmVzcG9uc2VFcnJvciBpbXBsZW1lbnRzIElSZXNwb25zZSB7XG4gIGNvbnN0cnVjdG9yKF9pbm5lckV4Y2VwdGlvbjogU2RrRXJyb3IpIHtcbiAgICBzdXBlcihfaW5uZXJFeGNlcHRpb24pO1xuICB9XG5cbiAgcmVhZG9ubHkgdHlwZTogRGVsZXRlQ2FjaGVSZXNwb25zZS5FcnJvciA9IERlbGV0ZUNhY2hlUmVzcG9uc2UuRXJyb3I7XG59XG5cbmV4cG9ydCB0eXBlIFJlc3BvbnNlID0gU3VjY2VzcyB8IEVycm9yO1xuIl19
|
@@ -0,0 +1,9 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.GenerateApiKeyResponse = void 0;
|
4
|
+
var GenerateApiKeyResponse;
|
5
|
+
(function (GenerateApiKeyResponse) {
|
6
|
+
GenerateApiKeyResponse["Success"] = "Success";
|
7
|
+
GenerateApiKeyResponse["Error"] = "Error";
|
8
|
+
})(GenerateApiKeyResponse = exports.GenerateApiKeyResponse || (exports.GenerateApiKeyResponse = {}));
|
9
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZ2VuZXJhdGUtYXBpLWtleS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3NyYy9tZXNzYWdlcy9yZXNwb25zZXMvZW51bXMvYXV0aC9nZW5lcmF0ZS1hcGkta2V5LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7OztBQUFBLElBQVksc0JBR1g7QUFIRCxXQUFZLHNCQUFzQjtJQUNoQyw2Q0FBbUIsQ0FBQTtJQUNuQix5Q0FBZSxDQUFBO0FBQ2pCLENBQUMsRUFIVyxzQkFBc0IsR0FBdEIsOEJBQXNCLEtBQXRCLDhCQUFzQixRQUdqQyIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCBlbnVtIEdlbmVyYXRlQXBpS2V5UmVzcG9uc2Uge1xuICBTdWNjZXNzID0gJ1N1Y2Nlc3MnLFxuICBFcnJvciA9ICdFcnJvcicsXG59XG4iXX0=
|
@@ -0,0 +1,9 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.GenerateDisposableTokenResponse = void 0;
|
4
|
+
var GenerateDisposableTokenResponse;
|
5
|
+
(function (GenerateDisposableTokenResponse) {
|
6
|
+
GenerateDisposableTokenResponse["Success"] = "Success";
|
7
|
+
GenerateDisposableTokenResponse["Error"] = "Error";
|
8
|
+
})(GenerateDisposableTokenResponse = exports.GenerateDisposableTokenResponse || (exports.GenerateDisposableTokenResponse = {}));
|
9
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZ2VuZXJhdGUtZGlzcG9zYWJsZS10b2tlbi5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3NyYy9tZXNzYWdlcy9yZXNwb25zZXMvZW51bXMvYXV0aC9nZW5lcmF0ZS1kaXNwb3NhYmxlLXRva2VuLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7OztBQUFBLElBQVksK0JBR1g7QUFIRCxXQUFZLCtCQUErQjtJQUN6QyxzREFBbUIsQ0FBQTtJQUNuQixrREFBZSxDQUFBO0FBQ2pCLENBQUMsRUFIVywrQkFBK0IsR0FBL0IsdUNBQStCLEtBQS9CLHVDQUErQixRQUcxQyIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCBlbnVtIEdlbmVyYXRlRGlzcG9zYWJsZVRva2VuUmVzcG9uc2Uge1xuICBTdWNjZXNzID0gJ1N1Y2Nlc3MnLFxuICBFcnJvciA9ICdFcnJvcicsXG59XG4iXX0=
|
@@ -0,0 +1,10 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.RefreshApiKeyResponse = exports.GenerateDisposableTokenResponse = exports.GenerateApiKeyResponse = void 0;
|
4
|
+
var generate_api_key_1 = require("./generate-api-key");
|
5
|
+
Object.defineProperty(exports, "GenerateApiKeyResponse", { enumerable: true, get: function () { return generate_api_key_1.GenerateApiKeyResponse; } });
|
6
|
+
var generate_disposable_token_1 = require("./generate-disposable-token");
|
7
|
+
Object.defineProperty(exports, "GenerateDisposableTokenResponse", { enumerable: true, get: function () { return generate_disposable_token_1.GenerateDisposableTokenResponse; } });
|
8
|
+
var refresh_api_key_1 = require("./refresh-api-key");
|
9
|
+
Object.defineProperty(exports, "RefreshApiKeyResponse", { enumerable: true, get: function () { return refresh_api_key_1.RefreshApiKeyResponse; } });
|
10
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9zcmMvbWVzc2FnZXMvcmVzcG9uc2VzL2VudW1zL2F1dGgvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7O0FBQUEsdURBQTBEO0FBQWxELDBIQUFBLHNCQUFzQixPQUFBO0FBQzlCLHlFQUE0RTtBQUFwRSw0SUFBQSwrQkFBK0IsT0FBQTtBQUN2QyxxREFBd0Q7QUFBaEQsd0hBQUEscUJBQXFCLE9BQUEiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQge0dlbmVyYXRlQXBpS2V5UmVzcG9uc2V9IGZyb20gJy4vZ2VuZXJhdGUtYXBpLWtleSc7XG5leHBvcnQge0dlbmVyYXRlRGlzcG9zYWJsZVRva2VuUmVzcG9uc2V9IGZyb20gJy4vZ2VuZXJhdGUtZGlzcG9zYWJsZS10b2tlbic7XG5leHBvcnQge1JlZnJlc2hBcGlLZXlSZXNwb25zZX0gZnJvbSAnLi9yZWZyZXNoLWFwaS1rZXknO1xuIl19
|
@@ -0,0 +1,9 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.RefreshApiKeyResponse = void 0;
|
4
|
+
var RefreshApiKeyResponse;
|
5
|
+
(function (RefreshApiKeyResponse) {
|
6
|
+
RefreshApiKeyResponse["Success"] = "Success";
|
7
|
+
RefreshApiKeyResponse["Error"] = "Error";
|
8
|
+
})(RefreshApiKeyResponse = exports.RefreshApiKeyResponse || (exports.RefreshApiKeyResponse = {}));
|
9
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicmVmcmVzaC1hcGkta2V5LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vc3JjL21lc3NhZ2VzL3Jlc3BvbnNlcy9lbnVtcy9hdXRoL3JlZnJlc2gtYXBpLWtleS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7QUFBQSxJQUFZLHFCQUdYO0FBSEQsV0FBWSxxQkFBcUI7SUFDL0IsNENBQW1CLENBQUE7SUFDbkIsd0NBQWUsQ0FBQTtBQUNqQixDQUFDLEVBSFcscUJBQXFCLEdBQXJCLDZCQUFxQixLQUFyQiw2QkFBcUIsUUFHaEMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgZW51bSBSZWZyZXNoQXBpS2V5UmVzcG9uc2Uge1xuICBTdWNjZXNzID0gJ1N1Y2Nlc3MnLFxuICBFcnJvciA9ICdFcnJvcicsXG59XG4iXX0=
|
@@ -0,0 +1,17 @@
|
|
1
|
+
export declare enum CreateCacheResponse {
|
2
|
+
Success = "Success",
|
3
|
+
AlreadyExists = "AlreadyExists",
|
4
|
+
Error = "Error"
|
5
|
+
}
|
6
|
+
export declare enum DeleteCacheResponse {
|
7
|
+
Success = "Success",
|
8
|
+
Error = "Error"
|
9
|
+
}
|
10
|
+
export declare enum FlushCacheResponse {
|
11
|
+
Success = "Success",
|
12
|
+
Error = "Error"
|
13
|
+
}
|
14
|
+
export declare enum ListCachesResponse {
|
15
|
+
Success = "Success",
|
16
|
+
Error = "Error"
|
17
|
+
}
|
@@ -0,0 +1,25 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.ListCachesResponse = exports.FlushCacheResponse = exports.DeleteCacheResponse = exports.CreateCacheResponse = void 0;
|
4
|
+
var CreateCacheResponse;
|
5
|
+
(function (CreateCacheResponse) {
|
6
|
+
CreateCacheResponse["Success"] = "Success";
|
7
|
+
CreateCacheResponse["AlreadyExists"] = "AlreadyExists";
|
8
|
+
CreateCacheResponse["Error"] = "Error";
|
9
|
+
})(CreateCacheResponse = exports.CreateCacheResponse || (exports.CreateCacheResponse = {}));
|
10
|
+
var DeleteCacheResponse;
|
11
|
+
(function (DeleteCacheResponse) {
|
12
|
+
DeleteCacheResponse["Success"] = "Success";
|
13
|
+
DeleteCacheResponse["Error"] = "Error";
|
14
|
+
})(DeleteCacheResponse = exports.DeleteCacheResponse || (exports.DeleteCacheResponse = {}));
|
15
|
+
var FlushCacheResponse;
|
16
|
+
(function (FlushCacheResponse) {
|
17
|
+
FlushCacheResponse["Success"] = "Success";
|
18
|
+
FlushCacheResponse["Error"] = "Error";
|
19
|
+
})(FlushCacheResponse = exports.FlushCacheResponse || (exports.FlushCacheResponse = {}));
|
20
|
+
var ListCachesResponse;
|
21
|
+
(function (ListCachesResponse) {
|
22
|
+
ListCachesResponse["Success"] = "Success";
|
23
|
+
ListCachesResponse["Error"] = "Error";
|
24
|
+
})(ListCachesResponse = exports.ListCachesResponse || (exports.ListCachesResponse = {}));
|
25
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9zcmMvbWVzc2FnZXMvcmVzcG9uc2VzL2VudW1zL2NhY2hlL2NvbnRyb2wvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7O0FBQUEsSUFBWSxtQkFJWDtBQUpELFdBQVksbUJBQW1CO0lBQzdCLDBDQUFtQixDQUFBO0lBQ25CLHNEQUErQixDQUFBO0lBQy9CLHNDQUFlLENBQUE7QUFDakIsQ0FBQyxFQUpXLG1CQUFtQixHQUFuQiwyQkFBbUIsS0FBbkIsMkJBQW1CLFFBSTlCO0FBRUQsSUFBWSxtQkFHWDtBQUhELFdBQVksbUJBQW1CO0lBQzdCLDBDQUFtQixDQUFBO0lBQ25CLHNDQUFlLENBQUE7QUFDakIsQ0FBQyxFQUhXLG1CQUFtQixHQUFuQiwyQkFBbUIsS0FBbkIsMkJBQW1CLFFBRzlCO0FBRUQsSUFBWSxrQkFHWDtBQUhELFdBQVksa0JBQWtCO0lBQzVCLHlDQUFtQixDQUFBO0lBQ25CLHFDQUFlLENBQUE7QUFDakIsQ0FBQyxFQUhXLGtCQUFrQixHQUFsQiwwQkFBa0IsS0FBbEIsMEJBQWtCLFFBRzdCO0FBRUQsSUFBWSxrQkFHWDtBQUhELFdBQVksa0JBQWtCO0lBQzVCLHlDQUFtQixDQUFBO0lBQ25CLHFDQUFlLENBQUE7QUFDakIsQ0FBQyxFQUhXLGtCQUFrQixHQUFsQiwwQkFBa0IsS0FBbEIsMEJBQWtCLFFBRzdCIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0IGVudW0gQ3JlYXRlQ2FjaGVSZXNwb25zZSB7XG4gIFN1Y2Nlc3MgPSAnU3VjY2VzcycsXG4gIEFscmVhZHlFeGlzdHMgPSAnQWxyZWFkeUV4aXN0cycsXG4gIEVycm9yID0gJ0Vycm9yJyxcbn1cblxuZXhwb3J0IGVudW0gRGVsZXRlQ2FjaGVSZXNwb25zZSB7XG4gIFN1Y2Nlc3MgPSAnU3VjY2VzcycsXG4gIEVycm9yID0gJ0Vycm9yJyxcbn1cblxuZXhwb3J0IGVudW0gRmx1c2hDYWNoZVJlc3BvbnNlIHtcbiAgU3VjY2VzcyA9ICdTdWNjZXNzJyxcbiAgRXJyb3IgPSAnRXJyb3InLFxufVxuXG5leHBvcnQgZW51bSBMaXN0Q2FjaGVzUmVzcG9uc2Uge1xuICBTdWNjZXNzID0gJ1N1Y2Nlc3MnLFxuICBFcnJvciA9ICdFcnJvcicsXG59XG4iXX0=
|
@@ -0,0 +1,40 @@
|
|
1
|
+
export declare enum CacheDictionaryGetFieldsResponse {
|
2
|
+
Hit = "Hit",
|
3
|
+
Miss = "Miss",
|
4
|
+
Error = "Error"
|
5
|
+
}
|
6
|
+
export declare enum CacheDictionaryGetFieldResponse {
|
7
|
+
Hit = "Hit",
|
8
|
+
Miss = "Miss",
|
9
|
+
Error = "Error"
|
10
|
+
}
|
11
|
+
export declare enum CacheDictionaryFetchResponse {
|
12
|
+
Hit = "Hit",
|
13
|
+
Miss = "Miss",
|
14
|
+
Error = "Error"
|
15
|
+
}
|
16
|
+
export declare enum CacheDictionaryIncrementResponse {
|
17
|
+
Success = "Success",
|
18
|
+
Error = "Error"
|
19
|
+
}
|
20
|
+
export declare enum CacheDictionaryLengthResponse {
|
21
|
+
Hit = "Hit",
|
22
|
+
Miss = "Miss",
|
23
|
+
Error = "Error"
|
24
|
+
}
|
25
|
+
export declare enum CacheDictionaryRemoveFieldResponse {
|
26
|
+
Success = "Success",
|
27
|
+
Error = "Error"
|
28
|
+
}
|
29
|
+
export declare enum CacheDictionaryRemoveFieldsResponse {
|
30
|
+
Success = "Success",
|
31
|
+
Error = "Error"
|
32
|
+
}
|
33
|
+
export declare enum CacheDictionarySetFieldResponse {
|
34
|
+
Success = "Success",
|
35
|
+
Error = "Error"
|
36
|
+
}
|
37
|
+
export declare enum CacheDictionarySetFieldsResponse {
|
38
|
+
Success = "Success",
|
39
|
+
Error = "Error"
|
40
|
+
}
|
@@ -0,0 +1,53 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.CacheDictionarySetFieldsResponse = exports.CacheDictionarySetFieldResponse = exports.CacheDictionaryRemoveFieldsResponse = exports.CacheDictionaryRemoveFieldResponse = exports.CacheDictionaryLengthResponse = exports.CacheDictionaryIncrementResponse = exports.CacheDictionaryFetchResponse = exports.CacheDictionaryGetFieldResponse = exports.CacheDictionaryGetFieldsResponse = void 0;
|
4
|
+
var CacheDictionaryGetFieldsResponse;
|
5
|
+
(function (CacheDictionaryGetFieldsResponse) {
|
6
|
+
CacheDictionaryGetFieldsResponse["Hit"] = "Hit";
|
7
|
+
CacheDictionaryGetFieldsResponse["Miss"] = "Miss";
|
8
|
+
CacheDictionaryGetFieldsResponse["Error"] = "Error";
|
9
|
+
})(CacheDictionaryGetFieldsResponse = exports.CacheDictionaryGetFieldsResponse || (exports.CacheDictionaryGetFieldsResponse = {}));
|
10
|
+
var CacheDictionaryGetFieldResponse;
|
11
|
+
(function (CacheDictionaryGetFieldResponse) {
|
12
|
+
CacheDictionaryGetFieldResponse["Hit"] = "Hit";
|
13
|
+
CacheDictionaryGetFieldResponse["Miss"] = "Miss";
|
14
|
+
CacheDictionaryGetFieldResponse["Error"] = "Error";
|
15
|
+
})(CacheDictionaryGetFieldResponse = exports.CacheDictionaryGetFieldResponse || (exports.CacheDictionaryGetFieldResponse = {}));
|
16
|
+
var CacheDictionaryFetchResponse;
|
17
|
+
(function (CacheDictionaryFetchResponse) {
|
18
|
+
CacheDictionaryFetchResponse["Hit"] = "Hit";
|
19
|
+
CacheDictionaryFetchResponse["Miss"] = "Miss";
|
20
|
+
CacheDictionaryFetchResponse["Error"] = "Error";
|
21
|
+
})(CacheDictionaryFetchResponse = exports.CacheDictionaryFetchResponse || (exports.CacheDictionaryFetchResponse = {}));
|
22
|
+
var CacheDictionaryIncrementResponse;
|
23
|
+
(function (CacheDictionaryIncrementResponse) {
|
24
|
+
CacheDictionaryIncrementResponse["Success"] = "Success";
|
25
|
+
CacheDictionaryIncrementResponse["Error"] = "Error";
|
26
|
+
})(CacheDictionaryIncrementResponse = exports.CacheDictionaryIncrementResponse || (exports.CacheDictionaryIncrementResponse = {}));
|
27
|
+
var CacheDictionaryLengthResponse;
|
28
|
+
(function (CacheDictionaryLengthResponse) {
|
29
|
+
CacheDictionaryLengthResponse["Hit"] = "Hit";
|
30
|
+
CacheDictionaryLengthResponse["Miss"] = "Miss";
|
31
|
+
CacheDictionaryLengthResponse["Error"] = "Error";
|
32
|
+
})(CacheDictionaryLengthResponse = exports.CacheDictionaryLengthResponse || (exports.CacheDictionaryLengthResponse = {}));
|
33
|
+
var CacheDictionaryRemoveFieldResponse;
|
34
|
+
(function (CacheDictionaryRemoveFieldResponse) {
|
35
|
+
CacheDictionaryRemoveFieldResponse["Success"] = "Success";
|
36
|
+
CacheDictionaryRemoveFieldResponse["Error"] = "Error";
|
37
|
+
})(CacheDictionaryRemoveFieldResponse = exports.CacheDictionaryRemoveFieldResponse || (exports.CacheDictionaryRemoveFieldResponse = {}));
|
38
|
+
var CacheDictionaryRemoveFieldsResponse;
|
39
|
+
(function (CacheDictionaryRemoveFieldsResponse) {
|
40
|
+
CacheDictionaryRemoveFieldsResponse["Success"] = "Success";
|
41
|
+
CacheDictionaryRemoveFieldsResponse["Error"] = "Error";
|
42
|
+
})(CacheDictionaryRemoveFieldsResponse = exports.CacheDictionaryRemoveFieldsResponse || (exports.CacheDictionaryRemoveFieldsResponse = {}));
|
43
|
+
var CacheDictionarySetFieldResponse;
|
44
|
+
(function (CacheDictionarySetFieldResponse) {
|
45
|
+
CacheDictionarySetFieldResponse["Success"] = "Success";
|
46
|
+
CacheDictionarySetFieldResponse["Error"] = "Error";
|
47
|
+
})(CacheDictionarySetFieldResponse = exports.CacheDictionarySetFieldResponse || (exports.CacheDictionarySetFieldResponse = {}));
|
48
|
+
var CacheDictionarySetFieldsResponse;
|
49
|
+
(function (CacheDictionarySetFieldsResponse) {
|
50
|
+
CacheDictionarySetFieldsResponse["Success"] = "Success";
|
51
|
+
CacheDictionarySetFieldsResponse["Error"] = "Error";
|
52
|
+
})(CacheDictionarySetFieldsResponse = exports.CacheDictionarySetFieldsResponse || (exports.CacheDictionarySetFieldsResponse = {}));
|
53
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9zcmMvbWVzc2FnZXMvcmVzcG9uc2VzL2VudW1zL2NhY2hlL2RpY3Rpb25hcnkvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7O0FBQUEsSUFBWSxnQ0FJWDtBQUpELFdBQVksZ0NBQWdDO0lBQzFDLCtDQUFXLENBQ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