@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.
Files changed (128) hide show
  1. package/LICENSE +201 -0
  2. package/dist-cjs/AppAPI.js +63 -0
  3. package/dist-cjs/AppAPIClient.js +43 -0
  4. package/dist-cjs/auth/httpAuthExtensionConfiguration.js +35 -0
  5. package/dist-cjs/auth/httpAuthSchemeProvider.js +35 -0
  6. package/dist-cjs/commands/DeleteUserCommand.js +21 -0
  7. package/dist-cjs/commands/FavoritePlansCommand.js +21 -0
  8. package/dist-cjs/commands/FavoriteShopsCommand.js +21 -0
  9. package/dist-cjs/commands/GetShopCommand.js +21 -0
  10. package/dist-cjs/commands/GetShopPublicCommand.js +21 -0
  11. package/dist-cjs/commands/GetUserCommand.js +21 -0
  12. package/dist-cjs/commands/LikeOrgCommand.js +21 -0
  13. package/dist-cjs/commands/NearbyShopsCommand.js +21 -0
  14. package/dist-cjs/commands/NearbyShopsPublicCommand.js +21 -0
  15. package/dist-cjs/commands/NearestShopCommand.js +21 -0
  16. package/dist-cjs/commands/OnboardUserCommand.js +21 -0
  17. package/dist-cjs/commands/PinnedShopCommand.js +21 -0
  18. package/dist-cjs/commands/PinnedShopPublicCommand.js +21 -0
  19. package/dist-cjs/commands/PlanCommand.js +21 -0
  20. package/dist-cjs/commands/PlanPublicCommand.js +21 -0
  21. package/dist-cjs/commands/PlansCommand.js +21 -0
  22. package/dist-cjs/commands/PopularShopsCommand.js +21 -0
  23. package/dist-cjs/commands/PopularShopsPublicCommand.js +21 -0
  24. package/dist-cjs/commands/RadiusShopsCommand.js +21 -0
  25. package/dist-cjs/commands/RecordVisitCommand.js +21 -0
  26. package/dist-cjs/commands/RedeemFirstTimeRewardCommand.js +21 -0
  27. package/dist-cjs/commands/RedeemPointRewardCommand.js +21 -0
  28. package/dist-cjs/commands/RedeemVisitRewardCommand.js +21 -0
  29. package/dist-cjs/commands/SearchShopsPublicCommand.js +21 -0
  30. package/dist-cjs/commands/SearchSuggestionCommand.js +21 -0
  31. package/dist-cjs/commands/UpdateUserCommand.js +21 -0
  32. package/dist-cjs/commands/index.js +29 -0
  33. package/dist-cjs/extensionConfiguration.js +2 -0
  34. package/dist-cjs/index.js +10 -0
  35. package/dist-cjs/models/AppAPIServiceException.js +12 -0
  36. package/dist-cjs/models/index.js +4 -0
  37. package/dist-cjs/models/models_0.js +57 -0
  38. package/dist-cjs/protocols/Aws_restJson1.js +1073 -0
  39. package/dist-cjs/runtimeConfig.browser.js +32 -0
  40. package/dist-cjs/runtimeConfig.js +36 -0
  41. package/dist-cjs/runtimeConfig.native.js +15 -0
  42. package/dist-cjs/runtimeConfig.shared.js +23 -0
  43. package/dist-cjs/runtimeExtensions.js +22 -0
  44. package/dist-es/AppAPI.js +59 -0
  45. package/dist-es/AppAPIClient.js +39 -0
  46. package/dist-es/auth/httpAuthExtensionConfiguration.js +30 -0
  47. package/dist-es/auth/httpAuthSchemeProvider.js +29 -0
  48. package/dist-es/commands/DeleteUserCommand.js +17 -0
  49. package/dist-es/commands/FavoritePlansCommand.js +17 -0
  50. package/dist-es/commands/FavoriteShopsCommand.js +17 -0
  51. package/dist-es/commands/GetShopCommand.js +17 -0
  52. package/dist-es/commands/GetShopPublicCommand.js +17 -0
  53. package/dist-es/commands/GetUserCommand.js +17 -0
  54. package/dist-es/commands/LikeOrgCommand.js +17 -0
  55. package/dist-es/commands/NearbyShopsCommand.js +17 -0
  56. package/dist-es/commands/NearbyShopsPublicCommand.js +17 -0
  57. package/dist-es/commands/NearestShopCommand.js +17 -0
  58. package/dist-es/commands/OnboardUserCommand.js +17 -0
  59. package/dist-es/commands/PinnedShopCommand.js +17 -0
  60. package/dist-es/commands/PinnedShopPublicCommand.js +17 -0
  61. package/dist-es/commands/PlanCommand.js +17 -0
  62. package/dist-es/commands/PlanPublicCommand.js +17 -0
  63. package/dist-es/commands/PlansCommand.js +17 -0
  64. package/dist-es/commands/PopularShopsCommand.js +17 -0
  65. package/dist-es/commands/PopularShopsPublicCommand.js +17 -0
  66. package/dist-es/commands/RadiusShopsCommand.js +17 -0
  67. package/dist-es/commands/RecordVisitCommand.js +17 -0
  68. package/dist-es/commands/RedeemFirstTimeRewardCommand.js +17 -0
  69. package/dist-es/commands/RedeemPointRewardCommand.js +17 -0
  70. package/dist-es/commands/RedeemVisitRewardCommand.js +17 -0
  71. package/dist-es/commands/SearchShopsPublicCommand.js +17 -0
  72. package/dist-es/commands/SearchSuggestionCommand.js +17 -0
  73. package/dist-es/commands/UpdateUserCommand.js +17 -0
  74. package/dist-es/commands/index.js +26 -0
  75. package/dist-es/extensionConfiguration.js +1 -0
  76. package/dist-es/index.js +5 -0
  77. package/dist-es/models/AppAPIServiceException.js +8 -0
  78. package/dist-es/models/index.js +1 -0
  79. package/dist-es/models/models_0.js +50 -0
  80. package/dist-es/protocols/Aws_restJson1.js +1017 -0
  81. package/dist-es/runtimeConfig.browser.js +27 -0
  82. package/dist-es/runtimeConfig.js +31 -0
  83. package/dist-es/runtimeConfig.native.js +11 -0
  84. package/dist-es/runtimeConfig.shared.js +19 -0
  85. package/dist-es/runtimeExtensions.js +18 -0
  86. package/dist-types/AppAPI.d.ts +202 -0
  87. package/dist-types/AppAPIClient.d.ts +170 -0
  88. package/dist-types/auth/httpAuthExtensionConfiguration.d.ts +26 -0
  89. package/dist-types/auth/httpAuthSchemeProvider.d.ts +59 -0
  90. package/dist-types/commands/DeleteUserCommand.d.ts +65 -0
  91. package/dist-types/commands/FavoritePlansCommand.d.ts +119 -0
  92. package/dist-types/commands/FavoriteShopsCommand.d.ts +104 -0
  93. package/dist-types/commands/GetShopCommand.d.ts +100 -0
  94. package/dist-types/commands/GetShopPublicCommand.d.ts +100 -0
  95. package/dist-types/commands/GetUserCommand.d.ts +84 -0
  96. package/dist-types/commands/LikeOrgCommand.d.ts +68 -0
  97. package/dist-types/commands/NearbyShopsCommand.d.ts +104 -0
  98. package/dist-types/commands/NearbyShopsPublicCommand.d.ts +104 -0
  99. package/dist-types/commands/NearestShopCommand.d.ts +91 -0
  100. package/dist-types/commands/OnboardUserCommand.d.ts +84 -0
  101. package/dist-types/commands/PinnedShopCommand.d.ts +91 -0
  102. package/dist-types/commands/PinnedShopPublicCommand.d.ts +91 -0
  103. package/dist-types/commands/PlanCommand.d.ts +107 -0
  104. package/dist-types/commands/PlanPublicCommand.d.ts +107 -0
  105. package/dist-types/commands/PlansCommand.d.ts +119 -0
  106. package/dist-types/commands/PopularShopsCommand.d.ts +104 -0
  107. package/dist-types/commands/PopularShopsPublicCommand.d.ts +104 -0
  108. package/dist-types/commands/RadiusShopsCommand.d.ts +78 -0
  109. package/dist-types/commands/RecordVisitCommand.d.ts +75 -0
  110. package/dist-types/commands/RedeemFirstTimeRewardCommand.d.ts +68 -0
  111. package/dist-types/commands/RedeemPointRewardCommand.d.ts +71 -0
  112. package/dist-types/commands/RedeemVisitRewardCommand.d.ts +68 -0
  113. package/dist-types/commands/SearchShopsPublicCommand.d.ts +106 -0
  114. package/dist-types/commands/SearchSuggestionCommand.d.ts +78 -0
  115. package/dist-types/commands/UpdateUserCommand.d.ts +89 -0
  116. package/dist-types/commands/index.d.ts +26 -0
  117. package/dist-types/extensionConfiguration.d.ts +8 -0
  118. package/dist-types/index.d.ts +12 -0
  119. package/dist-types/models/AppAPIServiceException.d.ts +14 -0
  120. package/dist-types/models/index.d.ts +1 -0
  121. package/dist-types/models/models_0.d.ts +550 -0
  122. package/dist-types/protocols/Aws_restJson1.d.ts +236 -0
  123. package/dist-types/runtimeConfig.browser.d.ts +33 -0
  124. package/dist-types/runtimeConfig.d.ts +33 -0
  125. package/dist-types/runtimeConfig.native.d.ts +32 -0
  126. package/dist-types/runtimeConfig.shared.d.ts +16 -0
  127. package/dist-types/runtimeExtensions.d.ts +17 -0
  128. package/package.json +81 -0
@@ -0,0 +1,236 @@
1
+ import { DeleteUserCommandInput, DeleteUserCommandOutput } from "../commands/DeleteUserCommand";
2
+ import { FavoritePlansCommandInput, FavoritePlansCommandOutput } from "../commands/FavoritePlansCommand";
3
+ import { FavoriteShopsCommandInput, FavoriteShopsCommandOutput } from "../commands/FavoriteShopsCommand";
4
+ import { GetShopCommandInput, GetShopCommandOutput } from "../commands/GetShopCommand";
5
+ import { GetShopPublicCommandInput, GetShopPublicCommandOutput } from "../commands/GetShopPublicCommand";
6
+ import { GetUserCommandInput, GetUserCommandOutput } from "../commands/GetUserCommand";
7
+ import { LikeOrgCommandInput, LikeOrgCommandOutput } from "../commands/LikeOrgCommand";
8
+ import { NearbyShopsCommandInput, NearbyShopsCommandOutput } from "../commands/NearbyShopsCommand";
9
+ import { NearbyShopsPublicCommandInput, NearbyShopsPublicCommandOutput } from "../commands/NearbyShopsPublicCommand";
10
+ import { NearestShopCommandInput, NearestShopCommandOutput } from "../commands/NearestShopCommand";
11
+ import { OnboardUserCommandInput, OnboardUserCommandOutput } from "../commands/OnboardUserCommand";
12
+ import { PinnedShopCommandInput, PinnedShopCommandOutput } from "../commands/PinnedShopCommand";
13
+ import { PinnedShopPublicCommandInput, PinnedShopPublicCommandOutput } from "../commands/PinnedShopPublicCommand";
14
+ import { PlanCommandInput, PlanCommandOutput } from "../commands/PlanCommand";
15
+ import { PlanPublicCommandInput, PlanPublicCommandOutput } from "../commands/PlanPublicCommand";
16
+ import { PlansCommandInput, PlansCommandOutput } from "../commands/PlansCommand";
17
+ import { PopularShopsCommandInput, PopularShopsCommandOutput } from "../commands/PopularShopsCommand";
18
+ import { PopularShopsPublicCommandInput, PopularShopsPublicCommandOutput } from "../commands/PopularShopsPublicCommand";
19
+ import { RadiusShopsCommandInput, RadiusShopsCommandOutput } from "../commands/RadiusShopsCommand";
20
+ import { RecordVisitCommandInput, RecordVisitCommandOutput } from "../commands/RecordVisitCommand";
21
+ import { RedeemFirstTimeRewardCommandInput, RedeemFirstTimeRewardCommandOutput } from "../commands/RedeemFirstTimeRewardCommand";
22
+ import { RedeemPointRewardCommandInput, RedeemPointRewardCommandOutput } from "../commands/RedeemPointRewardCommand";
23
+ import { RedeemVisitRewardCommandInput, RedeemVisitRewardCommandOutput } from "../commands/RedeemVisitRewardCommand";
24
+ import { SearchShopsPublicCommandInput, SearchShopsPublicCommandOutput } from "../commands/SearchShopsPublicCommand";
25
+ import { SearchSuggestionCommandInput, SearchSuggestionCommandOutput } from "../commands/SearchSuggestionCommand";
26
+ import { UpdateUserCommandInput, UpdateUserCommandOutput } from "../commands/UpdateUserCommand";
27
+ import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@smithy/protocol-http";
28
+ import { SerdeContext as __SerdeContext } from "@smithy/types";
29
+ /**
30
+ * serializeAws_restJson1DeleteUserCommand
31
+ */
32
+ export declare const se_DeleteUserCommand: (input: DeleteUserCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
33
+ /**
34
+ * serializeAws_restJson1FavoritePlansCommand
35
+ */
36
+ export declare const se_FavoritePlansCommand: (input: FavoritePlansCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
37
+ /**
38
+ * serializeAws_restJson1FavoriteShopsCommand
39
+ */
40
+ export declare const se_FavoriteShopsCommand: (input: FavoriteShopsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
41
+ /**
42
+ * serializeAws_restJson1GetShopCommand
43
+ */
44
+ export declare const se_GetShopCommand: (input: GetShopCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
45
+ /**
46
+ * serializeAws_restJson1GetShopPublicCommand
47
+ */
48
+ export declare const se_GetShopPublicCommand: (input: GetShopPublicCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
49
+ /**
50
+ * serializeAws_restJson1GetUserCommand
51
+ */
52
+ export declare const se_GetUserCommand: (input: GetUserCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
53
+ /**
54
+ * serializeAws_restJson1LikeOrgCommand
55
+ */
56
+ export declare const se_LikeOrgCommand: (input: LikeOrgCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
57
+ /**
58
+ * serializeAws_restJson1NearbyShopsCommand
59
+ */
60
+ export declare const se_NearbyShopsCommand: (input: NearbyShopsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
61
+ /**
62
+ * serializeAws_restJson1NearbyShopsPublicCommand
63
+ */
64
+ export declare const se_NearbyShopsPublicCommand: (input: NearbyShopsPublicCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
65
+ /**
66
+ * serializeAws_restJson1NearestShopCommand
67
+ */
68
+ export declare const se_NearestShopCommand: (input: NearestShopCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
69
+ /**
70
+ * serializeAws_restJson1OnboardUserCommand
71
+ */
72
+ export declare const se_OnboardUserCommand: (input: OnboardUserCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
73
+ /**
74
+ * serializeAws_restJson1PinnedShopCommand
75
+ */
76
+ export declare const se_PinnedShopCommand: (input: PinnedShopCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
77
+ /**
78
+ * serializeAws_restJson1PinnedShopPublicCommand
79
+ */
80
+ export declare const se_PinnedShopPublicCommand: (input: PinnedShopPublicCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
81
+ /**
82
+ * serializeAws_restJson1PlanCommand
83
+ */
84
+ export declare const se_PlanCommand: (input: PlanCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
85
+ /**
86
+ * serializeAws_restJson1PlanPublicCommand
87
+ */
88
+ export declare const se_PlanPublicCommand: (input: PlanPublicCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
89
+ /**
90
+ * serializeAws_restJson1PlansCommand
91
+ */
92
+ export declare const se_PlansCommand: (input: PlansCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
93
+ /**
94
+ * serializeAws_restJson1PopularShopsCommand
95
+ */
96
+ export declare const se_PopularShopsCommand: (input: PopularShopsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
97
+ /**
98
+ * serializeAws_restJson1PopularShopsPublicCommand
99
+ */
100
+ export declare const se_PopularShopsPublicCommand: (input: PopularShopsPublicCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
101
+ /**
102
+ * serializeAws_restJson1RadiusShopsCommand
103
+ */
104
+ export declare const se_RadiusShopsCommand: (input: RadiusShopsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
105
+ /**
106
+ * serializeAws_restJson1RecordVisitCommand
107
+ */
108
+ export declare const se_RecordVisitCommand: (input: RecordVisitCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
109
+ /**
110
+ * serializeAws_restJson1RedeemFirstTimeRewardCommand
111
+ */
112
+ export declare const se_RedeemFirstTimeRewardCommand: (input: RedeemFirstTimeRewardCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
113
+ /**
114
+ * serializeAws_restJson1RedeemPointRewardCommand
115
+ */
116
+ export declare const se_RedeemPointRewardCommand: (input: RedeemPointRewardCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
117
+ /**
118
+ * serializeAws_restJson1RedeemVisitRewardCommand
119
+ */
120
+ export declare const se_RedeemVisitRewardCommand: (input: RedeemVisitRewardCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
121
+ /**
122
+ * serializeAws_restJson1SearchShopsPublicCommand
123
+ */
124
+ export declare const se_SearchShopsPublicCommand: (input: SearchShopsPublicCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
125
+ /**
126
+ * serializeAws_restJson1SearchSuggestionCommand
127
+ */
128
+ export declare const se_SearchSuggestionCommand: (input: SearchSuggestionCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
129
+ /**
130
+ * serializeAws_restJson1UpdateUserCommand
131
+ */
132
+ export declare const se_UpdateUserCommand: (input: UpdateUserCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
133
+ /**
134
+ * deserializeAws_restJson1DeleteUserCommand
135
+ */
136
+ export declare const de_DeleteUserCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DeleteUserCommandOutput>;
137
+ /**
138
+ * deserializeAws_restJson1FavoritePlansCommand
139
+ */
140
+ export declare const de_FavoritePlansCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<FavoritePlansCommandOutput>;
141
+ /**
142
+ * deserializeAws_restJson1FavoriteShopsCommand
143
+ */
144
+ export declare const de_FavoriteShopsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<FavoriteShopsCommandOutput>;
145
+ /**
146
+ * deserializeAws_restJson1GetShopCommand
147
+ */
148
+ export declare const de_GetShopCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetShopCommandOutput>;
149
+ /**
150
+ * deserializeAws_restJson1GetShopPublicCommand
151
+ */
152
+ export declare const de_GetShopPublicCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetShopPublicCommandOutput>;
153
+ /**
154
+ * deserializeAws_restJson1GetUserCommand
155
+ */
156
+ export declare const de_GetUserCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetUserCommandOutput>;
157
+ /**
158
+ * deserializeAws_restJson1LikeOrgCommand
159
+ */
160
+ export declare const de_LikeOrgCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<LikeOrgCommandOutput>;
161
+ /**
162
+ * deserializeAws_restJson1NearbyShopsCommand
163
+ */
164
+ export declare const de_NearbyShopsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<NearbyShopsCommandOutput>;
165
+ /**
166
+ * deserializeAws_restJson1NearbyShopsPublicCommand
167
+ */
168
+ export declare const de_NearbyShopsPublicCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<NearbyShopsPublicCommandOutput>;
169
+ /**
170
+ * deserializeAws_restJson1NearestShopCommand
171
+ */
172
+ export declare const de_NearestShopCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<NearestShopCommandOutput>;
173
+ /**
174
+ * deserializeAws_restJson1OnboardUserCommand
175
+ */
176
+ export declare const de_OnboardUserCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<OnboardUserCommandOutput>;
177
+ /**
178
+ * deserializeAws_restJson1PinnedShopCommand
179
+ */
180
+ export declare const de_PinnedShopCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<PinnedShopCommandOutput>;
181
+ /**
182
+ * deserializeAws_restJson1PinnedShopPublicCommand
183
+ */
184
+ export declare const de_PinnedShopPublicCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<PinnedShopPublicCommandOutput>;
185
+ /**
186
+ * deserializeAws_restJson1PlanCommand
187
+ */
188
+ export declare const de_PlanCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<PlanCommandOutput>;
189
+ /**
190
+ * deserializeAws_restJson1PlanPublicCommand
191
+ */
192
+ export declare const de_PlanPublicCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<PlanPublicCommandOutput>;
193
+ /**
194
+ * deserializeAws_restJson1PlansCommand
195
+ */
196
+ export declare const de_PlansCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<PlansCommandOutput>;
197
+ /**
198
+ * deserializeAws_restJson1PopularShopsCommand
199
+ */
200
+ export declare const de_PopularShopsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<PopularShopsCommandOutput>;
201
+ /**
202
+ * deserializeAws_restJson1PopularShopsPublicCommand
203
+ */
204
+ export declare const de_PopularShopsPublicCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<PopularShopsPublicCommandOutput>;
205
+ /**
206
+ * deserializeAws_restJson1RadiusShopsCommand
207
+ */
208
+ export declare const de_RadiusShopsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<RadiusShopsCommandOutput>;
209
+ /**
210
+ * deserializeAws_restJson1RecordVisitCommand
211
+ */
212
+ export declare const de_RecordVisitCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<RecordVisitCommandOutput>;
213
+ /**
214
+ * deserializeAws_restJson1RedeemFirstTimeRewardCommand
215
+ */
216
+ export declare const de_RedeemFirstTimeRewardCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<RedeemFirstTimeRewardCommandOutput>;
217
+ /**
218
+ * deserializeAws_restJson1RedeemPointRewardCommand
219
+ */
220
+ export declare const de_RedeemPointRewardCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<RedeemPointRewardCommandOutput>;
221
+ /**
222
+ * deserializeAws_restJson1RedeemVisitRewardCommand
223
+ */
224
+ export declare const de_RedeemVisitRewardCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<RedeemVisitRewardCommandOutput>;
225
+ /**
226
+ * deserializeAws_restJson1SearchShopsPublicCommand
227
+ */
228
+ export declare const de_SearchShopsPublicCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<SearchShopsPublicCommandOutput>;
229
+ /**
230
+ * deserializeAws_restJson1SearchSuggestionCommand
231
+ */
232
+ export declare const de_SearchSuggestionCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<SearchSuggestionCommandOutput>;
233
+ /**
234
+ * deserializeAws_restJson1UpdateUserCommand
235
+ */
236
+ export declare const de_UpdateUserCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UpdateUserCommandOutput>;
@@ -0,0 +1,33 @@
1
+ import { FetchHttpHandler as RequestHandler } from "@smithy/fetch-http-handler";
2
+ import { AppAPIClientConfig } from "./AppAPIClient";
3
+ /**
4
+ * @internal
5
+ */
6
+ export declare const getRuntimeConfig: (config: AppAPIClientConfig) => {
7
+ runtime: string;
8
+ defaultsMode: import("@smithy/types").Provider<import("@smithy/smithy-client").ResolvedDefaultsMode>;
9
+ bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
10
+ defaultUserAgentProvider: import("@smithy/types").Provider<import("@smithy/types").UserAgent>;
11
+ maxAttempts: number | import("@smithy/types").Provider<number>;
12
+ requestHandler: import("@smithy/protocol-http").HttpHandler<any> | RequestHandler;
13
+ retryMode: string | import("@smithy/types").Provider<string>;
14
+ sha256: import("@smithy/types").HashConstructor;
15
+ streamCollector: import("@smithy/types").StreamCollector;
16
+ apiVersion: string;
17
+ cacheMiddleware?: boolean | undefined;
18
+ urlParser: import("@smithy/types").UrlParser;
19
+ base64Decoder: import("@smithy/types").Decoder;
20
+ base64Encoder: (_input: string | Uint8Array) => string;
21
+ utf8Decoder: import("@smithy/types").Decoder;
22
+ utf8Encoder: (input: string | Uint8Array) => string;
23
+ disableHostPrefix: boolean;
24
+ logger: import("@smithy/types").Logger;
25
+ extensions: import("./runtimeExtensions").RuntimeExtension[];
26
+ customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
27
+ endpoint: string | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint>;
28
+ tls?: boolean | undefined;
29
+ useDualstackEndpoint?: boolean | import("@smithy/types").Provider<boolean> | undefined;
30
+ retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2 | undefined;
31
+ httpAuthSchemes?: import("@smithy/types").HttpAuthScheme[] | undefined;
32
+ httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").AppAPIHttpAuthSchemeProvider;
33
+ };
@@ -0,0 +1,33 @@
1
+ import { NodeHttpHandler as RequestHandler } from "@smithy/node-http-handler";
2
+ import { AppAPIClientConfig } from "./AppAPIClient";
3
+ /**
4
+ * @internal
5
+ */
6
+ export declare const getRuntimeConfig: (config: AppAPIClientConfig) => {
7
+ runtime: string;
8
+ defaultsMode: import("@smithy/types").Provider<import("@smithy/smithy-client").ResolvedDefaultsMode>;
9
+ bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
10
+ defaultUserAgentProvider: import("@smithy/types").Provider<import("@smithy/types").UserAgent>;
11
+ maxAttempts: number | import("@smithy/types").Provider<number>;
12
+ requestHandler: RequestHandler | import("@smithy/protocol-http").HttpHandler<any>;
13
+ retryMode: string | import("@smithy/types").Provider<string>;
14
+ sha256: import("@smithy/types").HashConstructor;
15
+ streamCollector: import("@smithy/types").StreamCollector;
16
+ apiVersion: string;
17
+ cacheMiddleware?: boolean | undefined;
18
+ urlParser: import("@smithy/types").UrlParser;
19
+ base64Decoder: import("@smithy/types").Decoder;
20
+ base64Encoder: (_input: string | Uint8Array) => string;
21
+ utf8Decoder: import("@smithy/types").Decoder;
22
+ utf8Encoder: (input: string | Uint8Array) => string;
23
+ disableHostPrefix: boolean;
24
+ logger: import("@smithy/types").Logger;
25
+ extensions: import("./runtimeExtensions").RuntimeExtension[];
26
+ customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
27
+ endpoint: string | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint>;
28
+ tls?: boolean | undefined;
29
+ useDualstackEndpoint?: boolean | import("@smithy/types").Provider<boolean> | undefined;
30
+ retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2 | undefined;
31
+ httpAuthSchemes?: import("@smithy/types").HttpAuthScheme[] | undefined;
32
+ httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").AppAPIHttpAuthSchemeProvider;
33
+ };
@@ -0,0 +1,32 @@
1
+ import { AppAPIClientConfig } from "./AppAPIClient";
2
+ /**
3
+ * @internal
4
+ */
5
+ export declare const getRuntimeConfig: (config: AppAPIClientConfig) => {
6
+ runtime: string;
7
+ sha256: import("@smithy/types").HashConstructor;
8
+ requestHandler: import("@smithy/types").NodeHttpHandlerOptions | import("@smithy/types").FetchHttpHandlerOptions | Record<string, unknown> | import("@smithy/protocol-http").HttpHandler<any> | import("@smithy/fetch-http-handler").FetchHttpHandler;
9
+ apiVersion: string;
10
+ cacheMiddleware?: boolean | undefined;
11
+ urlParser: import("@smithy/types").UrlParser;
12
+ bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
13
+ streamCollector: import("@smithy/types").StreamCollector;
14
+ base64Decoder: import("@smithy/types").Decoder;
15
+ base64Encoder: (_input: string | Uint8Array) => string;
16
+ utf8Decoder: import("@smithy/types").Decoder;
17
+ utf8Encoder: (input: string | Uint8Array) => string;
18
+ disableHostPrefix: boolean;
19
+ defaultUserAgentProvider: import("@smithy/types").Provider<import("@smithy/types").UserAgent>;
20
+ maxAttempts: number | import("@smithy/types").Provider<number>;
21
+ retryMode: string | import("@smithy/types").Provider<string>;
22
+ logger: import("@smithy/types").Logger;
23
+ extensions: import("./runtimeExtensions").RuntimeExtension[];
24
+ defaultsMode: import("@smithy/smithy-client").DefaultsMode | import("@smithy/types").Provider<import("@smithy/smithy-client").DefaultsMode>;
25
+ customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
26
+ endpoint: string | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint>;
27
+ tls?: boolean | undefined;
28
+ useDualstackEndpoint?: boolean | import("@smithy/types").Provider<boolean> | undefined;
29
+ retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2 | undefined;
30
+ httpAuthSchemes?: import("@smithy/types").HttpAuthScheme[] | undefined;
31
+ httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").AppAPIHttpAuthSchemeProvider;
32
+ };
@@ -0,0 +1,16 @@
1
+ import { AppAPIClientConfig } from "./AppAPIClient";
2
+ /**
3
+ * @internal
4
+ */
5
+ export declare const getRuntimeConfig: (config: AppAPIClientConfig) => {
6
+ apiVersion: string;
7
+ base64Decoder: import("@smithy/types").Decoder;
8
+ base64Encoder: (_input: string | Uint8Array) => string;
9
+ disableHostPrefix: boolean;
10
+ extensions: import("./runtimeExtensions").RuntimeExtension[];
11
+ httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").AppAPIHttpAuthSchemeProvider;
12
+ logger: import("@smithy/types").Logger;
13
+ urlParser: import("@smithy/types").UrlParser;
14
+ utf8Decoder: import("@smithy/types").Decoder;
15
+ utf8Encoder: (input: string | Uint8Array) => string;
16
+ };
@@ -0,0 +1,17 @@
1
+ import { AppAPIExtensionConfiguration } from "./extensionConfiguration";
2
+ /**
3
+ * @public
4
+ */
5
+ export interface RuntimeExtension {
6
+ configure(extensionConfiguration: AppAPIExtensionConfiguration): void;
7
+ }
8
+ /**
9
+ * @public
10
+ */
11
+ export interface RuntimeExtensionsConfig {
12
+ extensions: RuntimeExtension[];
13
+ }
14
+ /**
15
+ * @internal
16
+ */
17
+ export declare const resolveRuntimeExtensions: (runtimeConfig: any, extensions: RuntimeExtension[]) => any;
package/package.json ADDED
@@ -0,0 +1,81 @@
1
+ {
2
+ "name": "@sparkrewards/sra-client",
3
+ "description": "@sparkrewards/sra-client client",
4
+ "version": "0.0.1",
5
+ "scripts": {
6
+ "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
+ "build:cjs": "tsc -p tsconfig.cjs.json",
8
+ "build:es": "tsc -p tsconfig.es.json",
9
+ "build:types": "tsc -p tsconfig.types.json",
10
+ "build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4",
11
+ "clean": "rimraf ./dist-* && rimraf *.tsbuildinfo || exit 0",
12
+ "prepack": "yarn run clean && yarn run build"
13
+ },
14
+ "main": "./dist-cjs/index.js",
15
+ "types": "./dist-types/index.d.ts",
16
+ "module": "./dist-es/index.js",
17
+ "sideEffects": false,
18
+ "dependencies": {
19
+ "@aws-crypto/sha256-browser": "5.2.0",
20
+ "@aws-crypto/sha256-js": "5.2.0",
21
+ "@aws-sdk/core": "3.624.0",
22
+ "@aws-sdk/middleware-host-header": "3.620.0",
23
+ "@aws-sdk/middleware-logger": "3.609.0",
24
+ "@aws-sdk/middleware-recursion-detection": "3.620.0",
25
+ "@aws-sdk/middleware-user-agent": "3.620.0",
26
+ "@aws-sdk/types": "3.609.0",
27
+ "@aws-sdk/util-user-agent-browser": "3.609.0",
28
+ "@aws-sdk/util-user-agent-node": "3.614.0",
29
+ "@smithy/config-resolver": "^3.0.5",
30
+ "@smithy/core": "^2.3.2",
31
+ "@smithy/fetch-http-handler": "^3.2.4",
32
+ "@smithy/hash-node": "^3.0.3",
33
+ "@smithy/invalid-dependency": "^3.0.3",
34
+ "@smithy/middleware-content-length": "^3.0.5",
35
+ "@smithy/middleware-retry": "^3.0.14",
36
+ "@smithy/middleware-serde": "^3.0.3",
37
+ "@smithy/middleware-stack": "^3.0.3",
38
+ "@smithy/node-config-provider": "^3.1.4",
39
+ "@smithy/node-http-handler": "^3.1.4",
40
+ "@smithy/protocol-http": "^4.1.0",
41
+ "@smithy/smithy-client": "^3.1.12",
42
+ "@smithy/types": "^3.3.0",
43
+ "@smithy/url-parser": "^3.0.3",
44
+ "@smithy/util-base64": "^3.0.0",
45
+ "@smithy/util-body-length-browser": "^3.0.0",
46
+ "@smithy/util-body-length-node": "^3.0.0",
47
+ "@smithy/util-defaults-mode-browser": "^3.0.14",
48
+ "@smithy/util-defaults-mode-node": "^3.0.14",
49
+ "@smithy/util-middleware": "^3.0.3",
50
+ "@smithy/util-retry": "^3.0.3",
51
+ "@smithy/util-utf8": "^3.0.0",
52
+ "tslib": "^2.6.2"
53
+ },
54
+ "devDependencies": {
55
+ "@tsconfig/node16": "16.1.3",
56
+ "@types/node": "^16.18.96",
57
+ "concurrently": "7.0.0",
58
+ "downlevel-dts": "0.10.1",
59
+ "rimraf": "^3.0.0",
60
+ "typescript": "~4.9.5"
61
+ },
62
+ "engines": {
63
+ "node": ">=16.0.0"
64
+ },
65
+ "typesVersions": {
66
+ "<4.0": {
67
+ "dist-types/*": [
68
+ "dist-types/ts3.4/*"
69
+ ]
70
+ }
71
+ },
72
+ "files": [
73
+ "dist-*/**"
74
+ ],
75
+ "browser": {
76
+ "./dist-es/runtimeConfig": "./dist-es/runtimeConfig.browser"
77
+ },
78
+ "react-native": {
79
+ "./dist-es/runtimeConfig": "./dist-es/runtimeConfig.native"
80
+ }
81
+ }