@sparkrewards/sra-client 0.0.1
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/LICENSE +201 -0
- package/dist-cjs/AppAPI.js +63 -0
- package/dist-cjs/AppAPIClient.js +43 -0
- package/dist-cjs/auth/httpAuthExtensionConfiguration.js +35 -0
- package/dist-cjs/auth/httpAuthSchemeProvider.js +35 -0
- package/dist-cjs/commands/DeleteUserCommand.js +21 -0
- package/dist-cjs/commands/FavoritePlansCommand.js +21 -0
- package/dist-cjs/commands/FavoriteShopsCommand.js +21 -0
- package/dist-cjs/commands/GetShopCommand.js +21 -0
- package/dist-cjs/commands/GetShopPublicCommand.js +21 -0
- package/dist-cjs/commands/GetUserCommand.js +21 -0
- package/dist-cjs/commands/LikeOrgCommand.js +21 -0
- package/dist-cjs/commands/NearbyShopsCommand.js +21 -0
- package/dist-cjs/commands/NearbyShopsPublicCommand.js +21 -0
- package/dist-cjs/commands/NearestShopCommand.js +21 -0
- package/dist-cjs/commands/OnboardUserCommand.js +21 -0
- package/dist-cjs/commands/PinnedShopCommand.js +21 -0
- package/dist-cjs/commands/PinnedShopPublicCommand.js +21 -0
- package/dist-cjs/commands/PlanCommand.js +21 -0
- package/dist-cjs/commands/PlanPublicCommand.js +21 -0
- package/dist-cjs/commands/PlansCommand.js +21 -0
- package/dist-cjs/commands/PopularShopsCommand.js +21 -0
- package/dist-cjs/commands/PopularShopsPublicCommand.js +21 -0
- package/dist-cjs/commands/RadiusShopsCommand.js +21 -0
- package/dist-cjs/commands/RecordVisitCommand.js +21 -0
- package/dist-cjs/commands/RedeemFirstTimeRewardCommand.js +21 -0
- package/dist-cjs/commands/RedeemPointRewardCommand.js +21 -0
- package/dist-cjs/commands/RedeemVisitRewardCommand.js +21 -0
- package/dist-cjs/commands/SearchShopsPublicCommand.js +21 -0
- package/dist-cjs/commands/SearchSuggestionCommand.js +21 -0
- package/dist-cjs/commands/UpdateUserCommand.js +21 -0
- package/dist-cjs/commands/index.js +29 -0
- package/dist-cjs/extensionConfiguration.js +2 -0
- package/dist-cjs/index.js +10 -0
- package/dist-cjs/models/AppAPIServiceException.js +12 -0
- package/dist-cjs/models/index.js +4 -0
- package/dist-cjs/models/models_0.js +57 -0
- package/dist-cjs/protocols/Aws_restJson1.js +1073 -0
- package/dist-cjs/runtimeConfig.browser.js +32 -0
- package/dist-cjs/runtimeConfig.js +36 -0
- package/dist-cjs/runtimeConfig.native.js +15 -0
- package/dist-cjs/runtimeConfig.shared.js +23 -0
- package/dist-cjs/runtimeExtensions.js +22 -0
- package/dist-es/AppAPI.js +59 -0
- package/dist-es/AppAPIClient.js +39 -0
- package/dist-es/auth/httpAuthExtensionConfiguration.js +30 -0
- package/dist-es/auth/httpAuthSchemeProvider.js +29 -0
- package/dist-es/commands/DeleteUserCommand.js +17 -0
- package/dist-es/commands/FavoritePlansCommand.js +17 -0
- package/dist-es/commands/FavoriteShopsCommand.js +17 -0
- package/dist-es/commands/GetShopCommand.js +17 -0
- package/dist-es/commands/GetShopPublicCommand.js +17 -0
- package/dist-es/commands/GetUserCommand.js +17 -0
- package/dist-es/commands/LikeOrgCommand.js +17 -0
- package/dist-es/commands/NearbyShopsCommand.js +17 -0
- package/dist-es/commands/NearbyShopsPublicCommand.js +17 -0
- package/dist-es/commands/NearestShopCommand.js +17 -0
- package/dist-es/commands/OnboardUserCommand.js +17 -0
- package/dist-es/commands/PinnedShopCommand.js +17 -0
- package/dist-es/commands/PinnedShopPublicCommand.js +17 -0
- package/dist-es/commands/PlanCommand.js +17 -0
- package/dist-es/commands/PlanPublicCommand.js +17 -0
- package/dist-es/commands/PlansCommand.js +17 -0
- package/dist-es/commands/PopularShopsCommand.js +17 -0
- package/dist-es/commands/PopularShopsPublicCommand.js +17 -0
- package/dist-es/commands/RadiusShopsCommand.js +17 -0
- package/dist-es/commands/RecordVisitCommand.js +17 -0
- package/dist-es/commands/RedeemFirstTimeRewardCommand.js +17 -0
- package/dist-es/commands/RedeemPointRewardCommand.js +17 -0
- package/dist-es/commands/RedeemVisitRewardCommand.js +17 -0
- package/dist-es/commands/SearchShopsPublicCommand.js +17 -0
- package/dist-es/commands/SearchSuggestionCommand.js +17 -0
- package/dist-es/commands/UpdateUserCommand.js +17 -0
- package/dist-es/commands/index.js +26 -0
- package/dist-es/extensionConfiguration.js +1 -0
- package/dist-es/index.js +5 -0
- package/dist-es/models/AppAPIServiceException.js +8 -0
- package/dist-es/models/index.js +1 -0
- package/dist-es/models/models_0.js +50 -0
- package/dist-es/protocols/Aws_restJson1.js +1017 -0
- package/dist-es/runtimeConfig.browser.js +27 -0
- package/dist-es/runtimeConfig.js +31 -0
- package/dist-es/runtimeConfig.native.js +11 -0
- package/dist-es/runtimeConfig.shared.js +19 -0
- package/dist-es/runtimeExtensions.js +18 -0
- package/dist-types/AppAPI.d.ts +202 -0
- package/dist-types/AppAPIClient.d.ts +170 -0
- package/dist-types/auth/httpAuthExtensionConfiguration.d.ts +26 -0
- package/dist-types/auth/httpAuthSchemeProvider.d.ts +59 -0
- package/dist-types/commands/DeleteUserCommand.d.ts +65 -0
- package/dist-types/commands/FavoritePlansCommand.d.ts +119 -0
- package/dist-types/commands/FavoriteShopsCommand.d.ts +104 -0
- package/dist-types/commands/GetShopCommand.d.ts +100 -0
- package/dist-types/commands/GetShopPublicCommand.d.ts +100 -0
- package/dist-types/commands/GetUserCommand.d.ts +84 -0
- package/dist-types/commands/LikeOrgCommand.d.ts +68 -0
- package/dist-types/commands/NearbyShopsCommand.d.ts +104 -0
- package/dist-types/commands/NearbyShopsPublicCommand.d.ts +104 -0
- package/dist-types/commands/NearestShopCommand.d.ts +91 -0
- package/dist-types/commands/OnboardUserCommand.d.ts +84 -0
- package/dist-types/commands/PinnedShopCommand.d.ts +91 -0
- package/dist-types/commands/PinnedShopPublicCommand.d.ts +91 -0
- package/dist-types/commands/PlanCommand.d.ts +107 -0
- package/dist-types/commands/PlanPublicCommand.d.ts +107 -0
- package/dist-types/commands/PlansCommand.d.ts +119 -0
- package/dist-types/commands/PopularShopsCommand.d.ts +104 -0
- package/dist-types/commands/PopularShopsPublicCommand.d.ts +104 -0
- package/dist-types/commands/RadiusShopsCommand.d.ts +78 -0
- package/dist-types/commands/RecordVisitCommand.d.ts +75 -0
- package/dist-types/commands/RedeemFirstTimeRewardCommand.d.ts +68 -0
- package/dist-types/commands/RedeemPointRewardCommand.d.ts +71 -0
- package/dist-types/commands/RedeemVisitRewardCommand.d.ts +68 -0
- package/dist-types/commands/SearchShopsPublicCommand.d.ts +106 -0
- package/dist-types/commands/SearchSuggestionCommand.d.ts +78 -0
- package/dist-types/commands/UpdateUserCommand.d.ts +89 -0
- package/dist-types/commands/index.d.ts +26 -0
- package/dist-types/extensionConfiguration.d.ts +8 -0
- package/dist-types/index.d.ts +12 -0
- package/dist-types/models/AppAPIServiceException.d.ts +14 -0
- package/dist-types/models/index.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +550 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +236 -0
- package/dist-types/runtimeConfig.browser.d.ts +33 -0
- package/dist-types/runtimeConfig.d.ts +33 -0
- package/dist-types/runtimeConfig.native.d.ts +32 -0
- package/dist-types/runtimeConfig.shared.d.ts +16 -0
- package/dist-types/runtimeExtensions.d.ts +17 -0
- package/package.json +81 -0
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.PinnedShopPublicCommand = exports.$Command = void 0;
|
|
4
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
5
|
+
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
|
+
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
|
+
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
+
class PinnedShopPublicCommand extends smithy_client_1.Command.classBuilder()
|
|
9
|
+
.m(function (Command, cs, config, o) {
|
|
10
|
+
return [
|
|
11
|
+
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
12
|
+
];
|
|
13
|
+
})
|
|
14
|
+
.s("AppAPI", "PinnedShopPublic", {})
|
|
15
|
+
.n("AppAPIClient", "PinnedShopPublicCommand")
|
|
16
|
+
.f(void 0, void 0)
|
|
17
|
+
.ser(Aws_restJson1_1.se_PinnedShopPublicCommand)
|
|
18
|
+
.de(Aws_restJson1_1.de_PinnedShopPublicCommand)
|
|
19
|
+
.build() {
|
|
20
|
+
}
|
|
21
|
+
exports.PinnedShopPublicCommand = PinnedShopPublicCommand;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.PlanCommand = exports.$Command = void 0;
|
|
4
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
5
|
+
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
|
+
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
|
+
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
+
class PlanCommand extends smithy_client_1.Command.classBuilder()
|
|
9
|
+
.m(function (Command, cs, config, o) {
|
|
10
|
+
return [
|
|
11
|
+
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
12
|
+
];
|
|
13
|
+
})
|
|
14
|
+
.s("AppAPI", "Plan", {})
|
|
15
|
+
.n("AppAPIClient", "PlanCommand")
|
|
16
|
+
.f(void 0, void 0)
|
|
17
|
+
.ser(Aws_restJson1_1.se_PlanCommand)
|
|
18
|
+
.de(Aws_restJson1_1.de_PlanCommand)
|
|
19
|
+
.build() {
|
|
20
|
+
}
|
|
21
|
+
exports.PlanCommand = PlanCommand;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.PlanPublicCommand = exports.$Command = void 0;
|
|
4
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
5
|
+
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
|
+
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
|
+
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
+
class PlanPublicCommand extends smithy_client_1.Command.classBuilder()
|
|
9
|
+
.m(function (Command, cs, config, o) {
|
|
10
|
+
return [
|
|
11
|
+
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
12
|
+
];
|
|
13
|
+
})
|
|
14
|
+
.s("AppAPI", "PlanPublic", {})
|
|
15
|
+
.n("AppAPIClient", "PlanPublicCommand")
|
|
16
|
+
.f(void 0, void 0)
|
|
17
|
+
.ser(Aws_restJson1_1.se_PlanPublicCommand)
|
|
18
|
+
.de(Aws_restJson1_1.de_PlanPublicCommand)
|
|
19
|
+
.build() {
|
|
20
|
+
}
|
|
21
|
+
exports.PlanPublicCommand = PlanPublicCommand;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.PlansCommand = exports.$Command = void 0;
|
|
4
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
5
|
+
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
|
+
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
|
+
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
+
class PlansCommand extends smithy_client_1.Command.classBuilder()
|
|
9
|
+
.m(function (Command, cs, config, o) {
|
|
10
|
+
return [
|
|
11
|
+
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
12
|
+
];
|
|
13
|
+
})
|
|
14
|
+
.s("AppAPI", "Plans", {})
|
|
15
|
+
.n("AppAPIClient", "PlansCommand")
|
|
16
|
+
.f(void 0, void 0)
|
|
17
|
+
.ser(Aws_restJson1_1.se_PlansCommand)
|
|
18
|
+
.de(Aws_restJson1_1.de_PlansCommand)
|
|
19
|
+
.build() {
|
|
20
|
+
}
|
|
21
|
+
exports.PlansCommand = PlansCommand;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.PopularShopsCommand = exports.$Command = void 0;
|
|
4
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
5
|
+
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
|
+
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
|
+
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
+
class PopularShopsCommand extends smithy_client_1.Command.classBuilder()
|
|
9
|
+
.m(function (Command, cs, config, o) {
|
|
10
|
+
return [
|
|
11
|
+
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
12
|
+
];
|
|
13
|
+
})
|
|
14
|
+
.s("AppAPI", "PopularShops", {})
|
|
15
|
+
.n("AppAPIClient", "PopularShopsCommand")
|
|
16
|
+
.f(void 0, void 0)
|
|
17
|
+
.ser(Aws_restJson1_1.se_PopularShopsCommand)
|
|
18
|
+
.de(Aws_restJson1_1.de_PopularShopsCommand)
|
|
19
|
+
.build() {
|
|
20
|
+
}
|
|
21
|
+
exports.PopularShopsCommand = PopularShopsCommand;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.PopularShopsPublicCommand = exports.$Command = void 0;
|
|
4
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
5
|
+
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
|
+
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
|
+
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
+
class PopularShopsPublicCommand extends smithy_client_1.Command.classBuilder()
|
|
9
|
+
.m(function (Command, cs, config, o) {
|
|
10
|
+
return [
|
|
11
|
+
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
12
|
+
];
|
|
13
|
+
})
|
|
14
|
+
.s("AppAPI", "PopularShopsPublic", {})
|
|
15
|
+
.n("AppAPIClient", "PopularShopsPublicCommand")
|
|
16
|
+
.f(void 0, void 0)
|
|
17
|
+
.ser(Aws_restJson1_1.se_PopularShopsPublicCommand)
|
|
18
|
+
.de(Aws_restJson1_1.de_PopularShopsPublicCommand)
|
|
19
|
+
.build() {
|
|
20
|
+
}
|
|
21
|
+
exports.PopularShopsPublicCommand = PopularShopsPublicCommand;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.RadiusShopsCommand = exports.$Command = void 0;
|
|
4
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
5
|
+
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
|
+
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
|
+
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
+
class RadiusShopsCommand extends smithy_client_1.Command.classBuilder()
|
|
9
|
+
.m(function (Command, cs, config, o) {
|
|
10
|
+
return [
|
|
11
|
+
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
12
|
+
];
|
|
13
|
+
})
|
|
14
|
+
.s("AppAPI", "RadiusShops", {})
|
|
15
|
+
.n("AppAPIClient", "RadiusShopsCommand")
|
|
16
|
+
.f(void 0, void 0)
|
|
17
|
+
.ser(Aws_restJson1_1.se_RadiusShopsCommand)
|
|
18
|
+
.de(Aws_restJson1_1.de_RadiusShopsCommand)
|
|
19
|
+
.build() {
|
|
20
|
+
}
|
|
21
|
+
exports.RadiusShopsCommand = RadiusShopsCommand;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.RecordVisitCommand = exports.$Command = void 0;
|
|
4
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
5
|
+
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
|
+
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
|
+
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
+
class RecordVisitCommand extends smithy_client_1.Command.classBuilder()
|
|
9
|
+
.m(function (Command, cs, config, o) {
|
|
10
|
+
return [
|
|
11
|
+
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
12
|
+
];
|
|
13
|
+
})
|
|
14
|
+
.s("AppAPI", "RecordVisit", {})
|
|
15
|
+
.n("AppAPIClient", "RecordVisitCommand")
|
|
16
|
+
.f(void 0, void 0)
|
|
17
|
+
.ser(Aws_restJson1_1.se_RecordVisitCommand)
|
|
18
|
+
.de(Aws_restJson1_1.de_RecordVisitCommand)
|
|
19
|
+
.build() {
|
|
20
|
+
}
|
|
21
|
+
exports.RecordVisitCommand = RecordVisitCommand;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.RedeemFirstTimeRewardCommand = exports.$Command = void 0;
|
|
4
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
5
|
+
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
|
+
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
|
+
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
+
class RedeemFirstTimeRewardCommand extends smithy_client_1.Command.classBuilder()
|
|
9
|
+
.m(function (Command, cs, config, o) {
|
|
10
|
+
return [
|
|
11
|
+
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
12
|
+
];
|
|
13
|
+
})
|
|
14
|
+
.s("AppAPI", "RedeemFirstTimeReward", {})
|
|
15
|
+
.n("AppAPIClient", "RedeemFirstTimeRewardCommand")
|
|
16
|
+
.f(void 0, void 0)
|
|
17
|
+
.ser(Aws_restJson1_1.se_RedeemFirstTimeRewardCommand)
|
|
18
|
+
.de(Aws_restJson1_1.de_RedeemFirstTimeRewardCommand)
|
|
19
|
+
.build() {
|
|
20
|
+
}
|
|
21
|
+
exports.RedeemFirstTimeRewardCommand = RedeemFirstTimeRewardCommand;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.RedeemPointRewardCommand = exports.$Command = void 0;
|
|
4
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
5
|
+
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
|
+
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
|
+
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
+
class RedeemPointRewardCommand extends smithy_client_1.Command.classBuilder()
|
|
9
|
+
.m(function (Command, cs, config, o) {
|
|
10
|
+
return [
|
|
11
|
+
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
12
|
+
];
|
|
13
|
+
})
|
|
14
|
+
.s("AppAPI", "RedeemPointReward", {})
|
|
15
|
+
.n("AppAPIClient", "RedeemPointRewardCommand")
|
|
16
|
+
.f(void 0, void 0)
|
|
17
|
+
.ser(Aws_restJson1_1.se_RedeemPointRewardCommand)
|
|
18
|
+
.de(Aws_restJson1_1.de_RedeemPointRewardCommand)
|
|
19
|
+
.build() {
|
|
20
|
+
}
|
|
21
|
+
exports.RedeemPointRewardCommand = RedeemPointRewardCommand;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.RedeemVisitRewardCommand = exports.$Command = void 0;
|
|
4
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
5
|
+
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
|
+
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
|
+
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
+
class RedeemVisitRewardCommand extends smithy_client_1.Command.classBuilder()
|
|
9
|
+
.m(function (Command, cs, config, o) {
|
|
10
|
+
return [
|
|
11
|
+
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
12
|
+
];
|
|
13
|
+
})
|
|
14
|
+
.s("AppAPI", "RedeemVisitReward", {})
|
|
15
|
+
.n("AppAPIClient", "RedeemVisitRewardCommand")
|
|
16
|
+
.f(void 0, void 0)
|
|
17
|
+
.ser(Aws_restJson1_1.se_RedeemVisitRewardCommand)
|
|
18
|
+
.de(Aws_restJson1_1.de_RedeemVisitRewardCommand)
|
|
19
|
+
.build() {
|
|
20
|
+
}
|
|
21
|
+
exports.RedeemVisitRewardCommand = RedeemVisitRewardCommand;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.SearchShopsPublicCommand = exports.$Command = void 0;
|
|
4
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
5
|
+
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
|
+
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
|
+
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
+
class SearchShopsPublicCommand extends smithy_client_1.Command.classBuilder()
|
|
9
|
+
.m(function (Command, cs, config, o) {
|
|
10
|
+
return [
|
|
11
|
+
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
12
|
+
];
|
|
13
|
+
})
|
|
14
|
+
.s("AppAPI", "SearchShopsPublic", {})
|
|
15
|
+
.n("AppAPIClient", "SearchShopsPublicCommand")
|
|
16
|
+
.f(void 0, void 0)
|
|
17
|
+
.ser(Aws_restJson1_1.se_SearchShopsPublicCommand)
|
|
18
|
+
.de(Aws_restJson1_1.de_SearchShopsPublicCommand)
|
|
19
|
+
.build() {
|
|
20
|
+
}
|
|
21
|
+
exports.SearchShopsPublicCommand = SearchShopsPublicCommand;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.SearchSuggestionCommand = exports.$Command = void 0;
|
|
4
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
5
|
+
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
|
+
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
|
+
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
+
class SearchSuggestionCommand extends smithy_client_1.Command.classBuilder()
|
|
9
|
+
.m(function (Command, cs, config, o) {
|
|
10
|
+
return [
|
|
11
|
+
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
12
|
+
];
|
|
13
|
+
})
|
|
14
|
+
.s("AppAPI", "SearchSuggestion", {})
|
|
15
|
+
.n("AppAPIClient", "SearchSuggestionCommand")
|
|
16
|
+
.f(void 0, void 0)
|
|
17
|
+
.ser(Aws_restJson1_1.se_SearchSuggestionCommand)
|
|
18
|
+
.de(Aws_restJson1_1.de_SearchSuggestionCommand)
|
|
19
|
+
.build() {
|
|
20
|
+
}
|
|
21
|
+
exports.SearchSuggestionCommand = SearchSuggestionCommand;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.UpdateUserCommand = exports.$Command = void 0;
|
|
4
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
5
|
+
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
|
+
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
|
+
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
+
class UpdateUserCommand extends smithy_client_1.Command.classBuilder()
|
|
9
|
+
.m(function (Command, cs, config, o) {
|
|
10
|
+
return [
|
|
11
|
+
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
12
|
+
];
|
|
13
|
+
})
|
|
14
|
+
.s("AppAPI", "UpdateUser", {})
|
|
15
|
+
.n("AppAPIClient", "UpdateUserCommand")
|
|
16
|
+
.f(void 0, void 0)
|
|
17
|
+
.ser(Aws_restJson1_1.se_UpdateUserCommand)
|
|
18
|
+
.de(Aws_restJson1_1.de_UpdateUserCommand)
|
|
19
|
+
.build() {
|
|
20
|
+
}
|
|
21
|
+
exports.UpdateUserCommand = UpdateUserCommand;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const tslib_1 = require("tslib");
|
|
4
|
+
tslib_1.__exportStar(require("./DeleteUserCommand"), exports);
|
|
5
|
+
tslib_1.__exportStar(require("./FavoritePlansCommand"), exports);
|
|
6
|
+
tslib_1.__exportStar(require("./FavoriteShopsCommand"), exports);
|
|
7
|
+
tslib_1.__exportStar(require("./GetShopCommand"), exports);
|
|
8
|
+
tslib_1.__exportStar(require("./GetShopPublicCommand"), exports);
|
|
9
|
+
tslib_1.__exportStar(require("./GetUserCommand"), exports);
|
|
10
|
+
tslib_1.__exportStar(require("./LikeOrgCommand"), exports);
|
|
11
|
+
tslib_1.__exportStar(require("./NearbyShopsCommand"), exports);
|
|
12
|
+
tslib_1.__exportStar(require("./NearbyShopsPublicCommand"), exports);
|
|
13
|
+
tslib_1.__exportStar(require("./NearestShopCommand"), exports);
|
|
14
|
+
tslib_1.__exportStar(require("./OnboardUserCommand"), exports);
|
|
15
|
+
tslib_1.__exportStar(require("./PinnedShopCommand"), exports);
|
|
16
|
+
tslib_1.__exportStar(require("./PinnedShopPublicCommand"), exports);
|
|
17
|
+
tslib_1.__exportStar(require("./PlanCommand"), exports);
|
|
18
|
+
tslib_1.__exportStar(require("./PlanPublicCommand"), exports);
|
|
19
|
+
tslib_1.__exportStar(require("./PlansCommand"), exports);
|
|
20
|
+
tslib_1.__exportStar(require("./PopularShopsCommand"), exports);
|
|
21
|
+
tslib_1.__exportStar(require("./PopularShopsPublicCommand"), exports);
|
|
22
|
+
tslib_1.__exportStar(require("./RadiusShopsCommand"), exports);
|
|
23
|
+
tslib_1.__exportStar(require("./RecordVisitCommand"), exports);
|
|
24
|
+
tslib_1.__exportStar(require("./RedeemFirstTimeRewardCommand"), exports);
|
|
25
|
+
tslib_1.__exportStar(require("./RedeemPointRewardCommand"), exports);
|
|
26
|
+
tslib_1.__exportStar(require("./RedeemVisitRewardCommand"), exports);
|
|
27
|
+
tslib_1.__exportStar(require("./SearchShopsPublicCommand"), exports);
|
|
28
|
+
tslib_1.__exportStar(require("./SearchSuggestionCommand"), exports);
|
|
29
|
+
tslib_1.__exportStar(require("./UpdateUserCommand"), exports);
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.AppAPIServiceException = void 0;
|
|
4
|
+
const tslib_1 = require("tslib");
|
|
5
|
+
tslib_1.__exportStar(require("./AppAPIClient"), exports);
|
|
6
|
+
tslib_1.__exportStar(require("./AppAPI"), exports);
|
|
7
|
+
tslib_1.__exportStar(require("./commands"), exports);
|
|
8
|
+
tslib_1.__exportStar(require("./models"), exports);
|
|
9
|
+
var AppAPIServiceException_1 = require("./models/AppAPIServiceException");
|
|
10
|
+
Object.defineProperty(exports, "AppAPIServiceException", { enumerable: true, get: function () { return AppAPIServiceException_1.AppAPIServiceException; } });
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.AppAPIServiceException = exports.__ServiceException = void 0;
|
|
4
|
+
const smithy_client_1 = require("@smithy/smithy-client");
|
|
5
|
+
Object.defineProperty(exports, "__ServiceException", { enumerable: true, get: function () { return smithy_client_1.ServiceException; } });
|
|
6
|
+
class AppAPIServiceException extends smithy_client_1.ServiceException {
|
|
7
|
+
constructor(options) {
|
|
8
|
+
super(options);
|
|
9
|
+
Object.setPrototypeOf(this, AppAPIServiceException.prototype);
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
exports.AppAPIServiceException = AppAPIServiceException;
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.InvalidOperationError = exports.NotFoundError = exports.RuntimeError = exports.ValidationException = void 0;
|
|
4
|
+
const AppAPIServiceException_1 = require("./AppAPIServiceException");
|
|
5
|
+
class ValidationException extends AppAPIServiceException_1.AppAPIServiceException {
|
|
6
|
+
constructor(opts) {
|
|
7
|
+
super({
|
|
8
|
+
name: "ValidationException",
|
|
9
|
+
$fault: "client",
|
|
10
|
+
...opts
|
|
11
|
+
});
|
|
12
|
+
this.name = "ValidationException";
|
|
13
|
+
this.$fault = "client";
|
|
14
|
+
Object.setPrototypeOf(this, ValidationException.prototype);
|
|
15
|
+
this.fieldList = opts.fieldList;
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
exports.ValidationException = ValidationException;
|
|
19
|
+
class RuntimeError extends AppAPIServiceException_1.AppAPIServiceException {
|
|
20
|
+
constructor(opts) {
|
|
21
|
+
super({
|
|
22
|
+
name: "RuntimeError",
|
|
23
|
+
$fault: "server",
|
|
24
|
+
...opts
|
|
25
|
+
});
|
|
26
|
+
this.name = "RuntimeError";
|
|
27
|
+
this.$fault = "server";
|
|
28
|
+
Object.setPrototypeOf(this, RuntimeError.prototype);
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
exports.RuntimeError = RuntimeError;
|
|
32
|
+
class NotFoundError extends AppAPIServiceException_1.AppAPIServiceException {
|
|
33
|
+
constructor(opts) {
|
|
34
|
+
super({
|
|
35
|
+
name: "NotFoundError",
|
|
36
|
+
$fault: "client",
|
|
37
|
+
...opts
|
|
38
|
+
});
|
|
39
|
+
this.name = "NotFoundError";
|
|
40
|
+
this.$fault = "client";
|
|
41
|
+
Object.setPrototypeOf(this, NotFoundError.prototype);
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
exports.NotFoundError = NotFoundError;
|
|
45
|
+
class InvalidOperationError extends AppAPIServiceException_1.AppAPIServiceException {
|
|
46
|
+
constructor(opts) {
|
|
47
|
+
super({
|
|
48
|
+
name: "InvalidOperationError",
|
|
49
|
+
$fault: "client",
|
|
50
|
+
...opts
|
|
51
|
+
});
|
|
52
|
+
this.name = "InvalidOperationError";
|
|
53
|
+
this.$fault = "client";
|
|
54
|
+
Object.setPrototypeOf(this, InvalidOperationError.prototype);
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
exports.InvalidOperationError = InvalidOperationError;
|