@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,550 @@
1
+ import { AppAPIServiceException as __BaseException } from "./AppAPIServiceException";
2
+ import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
3
+ /**
4
+ * Describes one specific validation failure for an input member.
5
+ * @public
6
+ */
7
+ export interface ValidationExceptionField {
8
+ /**
9
+ * A JSONPointer expression to the structure member whose value failed to satisfy the modeled constraints.
10
+ * @public
11
+ */
12
+ path: string | undefined;
13
+ /**
14
+ * A detailed description of the validation failure.
15
+ * @public
16
+ */
17
+ message: string | undefined;
18
+ }
19
+ /**
20
+ * A standard error for input validation failures.
21
+ * This should be thrown by services when a member of the input structure
22
+ * falls outside of the modeled or documented constraints.
23
+ * @public
24
+ */
25
+ export declare class ValidationException extends __BaseException {
26
+ readonly name: "ValidationException";
27
+ readonly $fault: "client";
28
+ /**
29
+ * A list of specific failures encountered while validating the input.
30
+ * A member can appear in this list more than once if it failed to satisfy multiple constraints.
31
+ * @public
32
+ */
33
+ fieldList?: (ValidationExceptionField)[];
34
+ /**
35
+ * @internal
36
+ */
37
+ constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
38
+ }
39
+ /**
40
+ * Input for DeleteUser - no query params, uses auth token
41
+ * @public
42
+ */
43
+ export interface DeleteUserInput {
44
+ }
45
+ /**
46
+ * Output for DeleteUser
47
+ * @public
48
+ */
49
+ export interface DeleteUserOutput {
50
+ message?: string;
51
+ }
52
+ /**
53
+ * @public
54
+ */
55
+ export declare class RuntimeError extends __BaseException {
56
+ readonly name: "RuntimeError";
57
+ readonly $fault: "server";
58
+ /**
59
+ * @internal
60
+ */
61
+ constructor(opts: __ExceptionOptionType<RuntimeError, __BaseException>);
62
+ }
63
+ /**
64
+ * @public
65
+ */
66
+ export interface PlansListInput {
67
+ page?: number;
68
+ limit?: number;
69
+ lat: number | undefined;
70
+ lon: number | undefined;
71
+ }
72
+ /**
73
+ * @public
74
+ */
75
+ export interface PaginationInfo {
76
+ currentPage?: number;
77
+ limit: number | undefined;
78
+ hasMore: boolean | undefined;
79
+ /**
80
+ * The next page number, or null if there are no more pages
81
+ * @public
82
+ */
83
+ nextPage: number | undefined;
84
+ }
85
+ /**
86
+ * @public
87
+ */
88
+ export interface Reward {
89
+ reward_id?: string;
90
+ id?: string;
91
+ }
92
+ /**
93
+ * @public
94
+ */
95
+ export interface PointsRewardOption {
96
+ id: string | undefined;
97
+ reward: string | undefined;
98
+ points: number | undefined;
99
+ }
100
+ /**
101
+ * @public
102
+ */
103
+ export interface Tier {
104
+ id: string | undefined;
105
+ rewards: (string)[] | undefined;
106
+ }
107
+ /**
108
+ * @public
109
+ */
110
+ export interface VisitRewardProps {
111
+ tiers: Record<string, Tier> | undefined;
112
+ min_spend: number | undefined;
113
+ }
114
+ /**
115
+ * @public
116
+ */
117
+ export interface RewardPlan {
118
+ visits?: VisitRewardProps;
119
+ points?: (PointsRewardOption)[];
120
+ }
121
+ /**
122
+ * @public
123
+ */
124
+ export interface GroupedPlan {
125
+ reward_plan: RewardPlan | undefined;
126
+ visits: number | undefined;
127
+ points: number | undefined;
128
+ redeemableRewards: (Reward)[] | undefined;
129
+ visits_active: boolean | undefined;
130
+ points_active: boolean | undefined;
131
+ banner: string | undefined;
132
+ logo: string | undefined;
133
+ org_id: string | undefined;
134
+ shop_id: string | undefined;
135
+ name: string | undefined;
136
+ id: string | undefined;
137
+ active: boolean | undefined;
138
+ favorite: boolean | undefined;
139
+ num_redeemableRewards: number | undefined;
140
+ }
141
+ /**
142
+ * @public
143
+ */
144
+ export interface PlansOutput {
145
+ value: (GroupedPlan)[] | undefined;
146
+ count: number | undefined;
147
+ pagination: PaginationInfo | undefined;
148
+ }
149
+ /**
150
+ * Input for shop list operations that require location and pagination
151
+ * @public
152
+ */
153
+ export interface ShopListInput {
154
+ lat?: number;
155
+ lon?: number;
156
+ page?: number;
157
+ filters?: string;
158
+ }
159
+ /**
160
+ * Location details for a shop
161
+ * @public
162
+ */
163
+ export interface LocationDetails {
164
+ address: string | undefined;
165
+ city: string | undefined;
166
+ state: string | undefined;
167
+ zipcode: string | undefined;
168
+ }
169
+ /**
170
+ * Individual shop hours entry for a day
171
+ * @public
172
+ */
173
+ export interface ShopHoursItem {
174
+ day: string | undefined;
175
+ open: string | undefined;
176
+ close: string | undefined;
177
+ }
178
+ /**
179
+ * Base shop structure returned from enrichList/enrichSingle
180
+ * @public
181
+ */
182
+ export interface EnrichedShop {
183
+ shop_id: string | undefined;
184
+ org_id: string | undefined;
185
+ preview: string | undefined;
186
+ name: string | undefined;
187
+ distance: string | undefined;
188
+ favorite?: boolean;
189
+ /**
190
+ * Location details for a shop
191
+ * @public
192
+ */
193
+ location: LocationDetails | undefined;
194
+ /**
195
+ * List of shop hours for all days
196
+ * @public
197
+ */
198
+ shop_hours: (ShopHoursItem)[] | undefined;
199
+ logo?: string;
200
+ tags: (string)[] | undefined;
201
+ }
202
+ /**
203
+ * Output for NearbyShops, FavoriteShops, PopularShops, RadiusShops
204
+ * @public
205
+ */
206
+ export interface ShopListWithPaginationOutput {
207
+ message?: string;
208
+ value?: (EnrichedShop)[];
209
+ count?: number;
210
+ pagination?: PaginationInfo;
211
+ }
212
+ /**
213
+ * Input for getting shop details
214
+ * @public
215
+ */
216
+ export interface GetShopInput {
217
+ shop_id: string | undefined;
218
+ }
219
+ /**
220
+ * @public
221
+ */
222
+ export declare class NotFoundError extends __BaseException {
223
+ readonly name: "NotFoundError";
224
+ readonly $fault: "client";
225
+ /**
226
+ * @internal
227
+ */
228
+ constructor(opts: __ExceptionOptionType<NotFoundError, __BaseException>);
229
+ }
230
+ /**
231
+ * Full shop details structure
232
+ * @public
233
+ */
234
+ export interface ShopDetails {
235
+ id: string | undefined;
236
+ org_id: string | undefined;
237
+ shop_name: string | undefined;
238
+ org_name: string | undefined;
239
+ banner?: string;
240
+ preview: string | undefined;
241
+ logo: string | undefined;
242
+ description: string | undefined;
243
+ country_code: string | undefined;
244
+ latitude?: number;
245
+ longitude: number | undefined;
246
+ active: boolean | undefined;
247
+ menu?: string;
248
+ phone_number?: string;
249
+ /**
250
+ * Location details for a shop
251
+ * @public
252
+ */
253
+ location: LocationDetails | undefined;
254
+ /**
255
+ * List of shop hours for all days
256
+ * @public
257
+ */
258
+ shop_hours: (ShopHoursItem)[] | undefined;
259
+ sent_setup?: boolean;
260
+ setup: boolean | undefined;
261
+ tags: (string)[] | undefined;
262
+ }
263
+ /**
264
+ * Input for GetUser - no query params, uses auth token
265
+ * @public
266
+ */
267
+ export interface GetUserInput {
268
+ }
269
+ /**
270
+ * @public
271
+ */
272
+ export interface UserFullname {
273
+ firstName?: string;
274
+ lastName?: string;
275
+ }
276
+ /**
277
+ * @public
278
+ */
279
+ export interface UserPreferences {
280
+ lightMode?: boolean;
281
+ }
282
+ /**
283
+ * Full user object structure
284
+ * @public
285
+ */
286
+ export interface User {
287
+ id: string | undefined;
288
+ email: string | undefined;
289
+ birthdate: string | undefined;
290
+ fullname?: UserFullname;
291
+ date_created: string | undefined;
292
+ newAccount: boolean | undefined;
293
+ preferences: UserPreferences | undefined;
294
+ total_visits: number | undefined;
295
+ total_points: number | undefined;
296
+ total_rewards: number | undefined;
297
+ fraud_count?: number;
298
+ num_redeemableRewards?: number;
299
+ }
300
+ /**
301
+ * Output for GetUser
302
+ * @public
303
+ */
304
+ export interface GetUserOutput {
305
+ message?: string;
306
+ /**
307
+ * Full user object structure
308
+ * @public
309
+ */
310
+ user?: User;
311
+ }
312
+ /**
313
+ * Input for LikeOrg - likely needs org_id to like/unlike
314
+ * @public
315
+ */
316
+ export interface LikeOrgInput {
317
+ org_id: string | undefined;
318
+ }
319
+ /**
320
+ * Output for LikeOrg
321
+ * @public
322
+ */
323
+ export interface LikeOrgOutput {
324
+ message?: string;
325
+ liked?: boolean;
326
+ }
327
+ /**
328
+ * Input for nearest shop search
329
+ * @public
330
+ */
331
+ export interface NearestShopInput {
332
+ shop_name: string | undefined;
333
+ lat: number | undefined;
334
+ lon: number | undefined;
335
+ }
336
+ /**
337
+ * Input for OnboardUser - no query params, uses auth token
338
+ * @public
339
+ */
340
+ export interface OnboardUserInput {
341
+ }
342
+ /**
343
+ * Output for OnboardUser
344
+ * @public
345
+ */
346
+ export interface OnboardUserOutput {
347
+ message?: string;
348
+ /**
349
+ * Full user object structure
350
+ * @public
351
+ */
352
+ user?: User;
353
+ }
354
+ /**
355
+ * Input for pinned shop (requires location)
356
+ * @public
357
+ */
358
+ export interface PinnedShopInput {
359
+ shop_id: string | undefined;
360
+ lat: number | undefined;
361
+ lon: number | undefined;
362
+ }
363
+ /**
364
+ * @public
365
+ */
366
+ export interface PlanGetInput {
367
+ org_id: string | undefined;
368
+ }
369
+ /**
370
+ * @public
371
+ */
372
+ export interface FirstTimeReward {
373
+ active?: boolean;
374
+ description?: string;
375
+ }
376
+ /**
377
+ * @public
378
+ */
379
+ export interface PlanOutput {
380
+ reward_plan: RewardPlan | undefined;
381
+ visits: number | undefined;
382
+ points: number | undefined;
383
+ redeemableRewards: (Reward)[] | undefined;
384
+ min_spend?: number;
385
+ visits_active: boolean | undefined;
386
+ points_active: boolean | undefined;
387
+ firstPlan: boolean | undefined;
388
+ id: string | undefined;
389
+ active: boolean | undefined;
390
+ organization_id?: string;
391
+ name: string | undefined;
392
+ favorite: boolean | undefined;
393
+ first_time_reward: FirstTimeReward | undefined;
394
+ }
395
+ /**
396
+ * Simple shop structure with just coordinates
397
+ * @public
398
+ */
399
+ export interface ShopLocation {
400
+ id: string | undefined;
401
+ longitude: number | undefined;
402
+ latitude: number | undefined;
403
+ }
404
+ /**
405
+ * Output for RadiusShops (simple location list)
406
+ * @public
407
+ */
408
+ export interface RadiusShopsOutput {
409
+ message?: string;
410
+ count?: number;
411
+ value?: (ShopLocation)[];
412
+ }
413
+ /**
414
+ * @public
415
+ */
416
+ export declare class InvalidOperationError extends __BaseException {
417
+ readonly name: "InvalidOperationError";
418
+ readonly $fault: "client";
419
+ /**
420
+ * @internal
421
+ */
422
+ constructor(opts: __ExceptionOptionType<InvalidOperationError, __BaseException>);
423
+ }
424
+ /**
425
+ * Input for RecordVisit - records a visit/scan at a shop
426
+ * @public
427
+ */
428
+ export interface RecordVisitInput {
429
+ shop_id: string | undefined;
430
+ timestamp: string | undefined;
431
+ lat: number | undefined;
432
+ lon: number | undefined;
433
+ }
434
+ /**
435
+ * Output for RecordVisit
436
+ * @public
437
+ */
438
+ export interface RecordVisitOutput {
439
+ success: boolean | undefined;
440
+ message: string | undefined;
441
+ visitId: string | undefined;
442
+ reason?: string;
443
+ }
444
+ /**
445
+ * @public
446
+ */
447
+ export interface RedeemFirstTimeRewardInput {
448
+ org_id: string | undefined;
449
+ }
450
+ /**
451
+ * @public
452
+ */
453
+ export interface RedeemRewardOutput {
454
+ message: string | undefined;
455
+ redeemed: boolean | undefined;
456
+ }
457
+ /**
458
+ * @public
459
+ */
460
+ export interface RedeemPointRewardInput {
461
+ org_id: string | undefined;
462
+ reward_id: string | undefined;
463
+ }
464
+ /**
465
+ * @public
466
+ */
467
+ export interface RedeemPointRewardOutput {
468
+ message: string | undefined;
469
+ redeemed: boolean | undefined;
470
+ pointsUsed: number | undefined;
471
+ remainingPoints: number | undefined;
472
+ }
473
+ /**
474
+ * @public
475
+ */
476
+ export interface RedeemVisitRewardInput {
477
+ reward_id: string | undefined;
478
+ }
479
+ /**
480
+ * @public
481
+ */
482
+ export interface SearchShopsInput {
483
+ q: string | undefined;
484
+ limit?: number;
485
+ lat?: number;
486
+ lon?: number;
487
+ page?: number;
488
+ filters?: string;
489
+ }
490
+ /**
491
+ * Note: FilterShopsInput is the same as ShopListInput - reuse ShopListInput
492
+ * Input for search suggestions
493
+ * @public
494
+ */
495
+ export interface SearchSuggestionInput {
496
+ q: string | undefined;
497
+ limit?: number;
498
+ lat?: number;
499
+ lon?: number;
500
+ }
501
+ /**
502
+ * Search suggestion result structure
503
+ * @public
504
+ */
505
+ export interface SearchSuggestionItem {
506
+ shop_id: string | undefined;
507
+ organization_id: string | undefined;
508
+ search_name: string | undefined;
509
+ favorite: boolean | undefined;
510
+ distance: number | undefined;
511
+ }
512
+ /**
513
+ * Output for SearchSuggestion - returns SearchSuggestionList
514
+ * Handler should return \{ value: SearchSuggestionList \} where value is the array
515
+ * @public
516
+ */
517
+ export interface SearchSuggestionOutput {
518
+ value?: (SearchSuggestionItem)[];
519
+ }
520
+ /**
521
+ * Partial fullname structure for updates (all fields optional)
522
+ * @public
523
+ */
524
+ export interface UserFullnameUpdate {
525
+ firstName?: string;
526
+ lastName?: string;
527
+ }
528
+ /**
529
+ * Input for UpdateUser - body contains fullname fields
530
+ * @public
531
+ */
532
+ export interface UpdateUserInput {
533
+ /**
534
+ * Partial fullname structure for updates (all fields optional)
535
+ * @public
536
+ */
537
+ fullname?: UserFullnameUpdate;
538
+ }
539
+ /**
540
+ * Output for UpdateUser
541
+ * @public
542
+ */
543
+ export interface UpdateUserOutput {
544
+ message?: string;
545
+ /**
546
+ * Full user object structure
547
+ * @public
548
+ */
549
+ user?: User;
550
+ }