@snagsolutions/sdk 0.1.0-alpha.45 → 0.1.0-alpha.46

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/CHANGELOG.md +10 -0
  2. package/README.md +18 -16
  3. package/index.d.mts +4 -4
  4. package/index.d.ts +4 -4
  5. package/index.d.ts.map +1 -1
  6. package/index.js +1 -1
  7. package/index.js.map +1 -1
  8. package/index.mjs +1 -1
  9. package/index.mjs.map +1 -1
  10. package/package.json +1 -1
  11. package/resources/assets.d.ts +7 -1
  12. package/resources/assets.d.ts.map +1 -1
  13. package/resources/auctions/auctions.d.ts +266 -0
  14. package/resources/auctions/auctions.d.ts.map +1 -0
  15. package/resources/auctions/auctions.js +62 -0
  16. package/resources/auctions/auctions.js.map +1 -0
  17. package/resources/auctions/auctions.mjs +35 -0
  18. package/resources/auctions/auctions.mjs.map +1 -0
  19. package/resources/auctions/index.d.ts +3 -0
  20. package/resources/auctions/index.d.ts.map +1 -0
  21. package/resources/auctions/index.js +9 -0
  22. package/resources/auctions/index.js.map +1 -0
  23. package/resources/auctions/index.mjs +4 -0
  24. package/resources/auctions/index.mjs.map +1 -0
  25. package/resources/auctions/website-user-attributes/index.d.ts +3 -0
  26. package/resources/auctions/website-user-attributes/index.d.ts.map +1 -0
  27. package/resources/auctions/website-user-attributes/index.js +9 -0
  28. package/resources/auctions/website-user-attributes/index.js.map +1 -0
  29. package/resources/auctions/website-user-attributes/index.mjs +4 -0
  30. package/resources/auctions/website-user-attributes/index.mjs.map +1 -0
  31. package/resources/auctions/website-user-attributes/values.d.ts +94 -0
  32. package/resources/auctions/website-user-attributes/values.d.ts.map +1 -0
  33. package/resources/auctions/website-user-attributes/values.js +21 -0
  34. package/resources/auctions/website-user-attributes/values.js.map +1 -0
  35. package/resources/auctions/website-user-attributes/values.mjs +17 -0
  36. package/resources/auctions/website-user-attributes/values.mjs.map +1 -0
  37. package/resources/auctions/website-user-attributes/website-user-attributes.d.ts +108 -0
  38. package/resources/auctions/website-user-attributes/website-user-attributes.d.ts.map +1 -0
  39. package/resources/auctions/website-user-attributes/website-user-attributes.js +58 -0
  40. package/resources/auctions/website-user-attributes/website-user-attributes.js.map +1 -0
  41. package/resources/auctions/website-user-attributes/website-user-attributes.mjs +31 -0
  42. package/resources/auctions/website-user-attributes/website-user-attributes.mjs.map +1 -0
  43. package/resources/auctions/website-user-attributes.d.ts +2 -0
  44. package/resources/auctions/website-user-attributes.d.ts.map +1 -0
  45. package/resources/auctions/website-user-attributes.js +19 -0
  46. package/resources/auctions/website-user-attributes.js.map +1 -0
  47. package/resources/auctions/website-user-attributes.mjs +3 -0
  48. package/resources/auctions/website-user-attributes.mjs.map +1 -0
  49. package/resources/auctions.d.ts +1 -133
  50. package/resources/auctions.d.ts.map +1 -1
  51. package/resources/auctions.js +15 -22
  52. package/resources/auctions.js.map +1 -1
  53. package/resources/auctions.mjs +1 -20
  54. package/resources/auctions.mjs.map +1 -1
  55. package/resources/index.d.ts +2 -2
  56. package/resources/index.d.ts.map +1 -1
  57. package/resources/index.js +1 -1
  58. package/resources/index.js.map +1 -1
  59. package/resources/index.mjs +1 -1
  60. package/resources/index.mjs.map +1 -1
  61. package/resources/loyalty/index.d.ts +1 -1
  62. package/resources/loyalty/index.d.ts.map +1 -1
  63. package/resources/loyalty/index.js +2 -2
  64. package/resources/loyalty/index.js.map +1 -1
  65. package/resources/loyalty/index.mjs +1 -1
  66. package/resources/loyalty/index.mjs.map +1 -1
  67. package/resources/loyalty/loyalty.d.ts +3 -3
  68. package/resources/loyalty/loyalty.d.ts.map +1 -1
  69. package/resources/loyalty/loyalty.js +2 -2
  70. package/resources/loyalty/loyalty.js.map +1 -1
  71. package/resources/loyalty/loyalty.mjs +2 -2
  72. package/resources/loyalty/loyalty.mjs.map +1 -1
  73. package/resources/loyalty/transactions/index.d.ts +3 -0
  74. package/resources/loyalty/transactions/index.d.ts.map +1 -0
  75. package/resources/loyalty/transactions/index.js +9 -0
  76. package/resources/loyalty/transactions/index.js.map +1 -0
  77. package/resources/loyalty/transactions/index.mjs +4 -0
  78. package/resources/loyalty/transactions/index.mjs.map +1 -0
  79. package/resources/loyalty/transactions/rule-statuses.d.ts +104 -0
  80. package/resources/loyalty/transactions/rule-statuses.d.ts.map +1 -0
  81. package/resources/loyalty/transactions/rule-statuses.js +22 -0
  82. package/resources/loyalty/transactions/rule-statuses.js.map +1 -0
  83. package/resources/loyalty/transactions/rule-statuses.mjs +18 -0
  84. package/resources/loyalty/transactions/rule-statuses.mjs.map +1 -0
  85. package/resources/loyalty/transactions/transactions.d.ts +288 -0
  86. package/resources/loyalty/transactions/transactions.d.ts.map +1 -0
  87. package/resources/loyalty/transactions/transactions.js +58 -0
  88. package/resources/loyalty/transactions/transactions.js.map +1 -0
  89. package/resources/loyalty/transactions/transactions.mjs +31 -0
  90. package/resources/loyalty/transactions/transactions.mjs.map +1 -0
  91. package/resources/loyalty/transactions.d.ts +1 -257
  92. package/resources/loyalty/transactions.d.ts.map +1 -1
  93. package/resources/loyalty/transactions.js +15 -18
  94. package/resources/loyalty/transactions.js.map +1 -1
  95. package/resources/loyalty/transactions.mjs +1 -16
  96. package/resources/loyalty/transactions.mjs.map +1 -1
  97. package/resources/users/index.d.ts +1 -1
  98. package/resources/users/index.d.ts.map +1 -1
  99. package/resources/users/index.js.map +1 -1
  100. package/resources/users/index.mjs.map +1 -1
  101. package/resources/users/users.d.ts +60 -1
  102. package/resources/users/users.d.ts.map +1 -1
  103. package/resources/users/users.js +9 -0
  104. package/resources/users/users.js.map +1 -1
  105. package/resources/users/users.mjs +9 -0
  106. package/resources/users/users.mjs.map +1 -1
  107. package/src/index.ts +17 -1
  108. package/src/resources/assets.ts +8 -1
  109. package/src/resources/auctions/auctions.ts +417 -0
  110. package/src/resources/auctions/index.ts +18 -0
  111. package/src/resources/auctions/website-user-attributes/index.ts +18 -0
  112. package/src/resources/auctions/website-user-attributes/values.ts +137 -0
  113. package/src/resources/auctions/website-user-attributes/website-user-attributes.ts +183 -0
  114. package/src/resources/auctions/website-user-attributes.ts +3 -0
  115. package/src/resources/auctions.ts +1 -207
  116. package/src/resources/index.ts +11 -1
  117. package/src/resources/loyalty/index.ts +3 -1
  118. package/src/resources/loyalty/loyalty.ts +6 -2
  119. package/src/resources/loyalty/transactions/index.ts +18 -0
  120. package/src/resources/loyalty/transactions/rule-statuses.ts +160 -0
  121. package/src/resources/loyalty/transactions/transactions.ts +515 -0
  122. package/src/resources/loyalty/transactions.ts +1 -453
  123. package/src/resources/users/index.ts +4 -0
  124. package/src/resources/users/users.ts +88 -0
  125. package/src/version.ts +1 -1
  126. package/version.d.ts +1 -1
  127. package/version.js +1 -1
  128. package/version.mjs +1 -1
@@ -0,0 +1,515 @@
1
+ // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
+
3
+ import { APIResource } from '../../../resource';
4
+ import { isRequestOptions } from '../../../core';
5
+ import * as Core from '../../../core';
6
+ import * as RuleStatusesAPI from './rule-statuses';
7
+ import {
8
+ RuleStatusListParams,
9
+ RuleStatusListResponse,
10
+ RuleStatusUpdateParams,
11
+ RuleStatusUpdateResponse,
12
+ RuleStatuses,
13
+ } from './rule-statuses';
14
+
15
+ export class Transactions extends APIResource {
16
+ ruleStatuses: RuleStatusesAPI.RuleStatuses = new RuleStatusesAPI.RuleStatuses(this._client);
17
+
18
+ /**
19
+ * Create a loyalty transaction to update account balances.
20
+ */
21
+ createTransaction(
22
+ body: TransactionCreateTransactionParams,
23
+ options?: Core.RequestOptions,
24
+ ): Core.APIPromise<TransactionCreateTransactionResponse> {
25
+ return this._client.post('/api/loyalty/transactions', { body, ...options });
26
+ }
27
+
28
+ /**
29
+ * Fetch loyalty transaction entries for wallets or users, representing account
30
+ * balance changes.
31
+ */
32
+ getTransactionEntries(
33
+ query?: TransactionGetTransactionEntriesParams,
34
+ options?: Core.RequestOptions,
35
+ ): Core.APIPromise<TransactionGetTransactionEntriesResponse>;
36
+ getTransactionEntries(
37
+ options?: Core.RequestOptions,
38
+ ): Core.APIPromise<TransactionGetTransactionEntriesResponse>;
39
+ getTransactionEntries(
40
+ query: TransactionGetTransactionEntriesParams | Core.RequestOptions = {},
41
+ options?: Core.RequestOptions,
42
+ ): Core.APIPromise<TransactionGetTransactionEntriesResponse> {
43
+ if (isRequestOptions(query)) {
44
+ return this.getTransactionEntries({}, query);
45
+ }
46
+ return this._client.get('/api/loyalty/transaction_entries', { query, ...options });
47
+ }
48
+
49
+ /**
50
+ * Retrieve configured loyalty rule chains
51
+ */
52
+ listRuleChains(
53
+ query: TransactionListRuleChainsParams,
54
+ options?: Core.RequestOptions,
55
+ ): Core.APIPromise<TransactionListRuleChainsResponse> {
56
+ return this._client.get('/api/loyalty/rule_chains', { query, ...options });
57
+ }
58
+ }
59
+
60
+ export interface TransactionCreateTransactionResponse {
61
+ id: string;
62
+
63
+ createdAt: string;
64
+
65
+ description: string;
66
+
67
+ entries: Array<TransactionCreateTransactionResponse.Entry>;
68
+
69
+ updatedAt: string;
70
+ }
71
+
72
+ export namespace TransactionCreateTransactionResponse {
73
+ export interface Entry {
74
+ amount: number;
75
+
76
+ /**
77
+ * Direction of the transaction entry
78
+ */
79
+ direction: 'credit' | 'debit';
80
+
81
+ walletAddress: string;
82
+
83
+ idempotencyKey?: string;
84
+ }
85
+ }
86
+
87
+ export interface TransactionGetTransactionEntriesResponse {
88
+ data: Array<TransactionGetTransactionEntriesResponse.Data>;
89
+
90
+ hasNextPage: boolean;
91
+ }
92
+
93
+ export namespace TransactionGetTransactionEntriesResponse {
94
+ /**
95
+ * Schema for a loyalty transaction entry
96
+ */
97
+ export interface Data {
98
+ /**
99
+ * Unique identifier for the transaction entry
100
+ */
101
+ id: string;
102
+
103
+ /**
104
+ * Amount involved in the transaction
105
+ */
106
+ amount: number;
107
+
108
+ /**
109
+ * Timestamp when the transaction entry was created
110
+ */
111
+ createdAt: string;
112
+
113
+ /**
114
+ * Direction of the transaction entry
115
+ */
116
+ direction: 'credit' | 'debit';
117
+
118
+ /**
119
+ * Unique identifier for the loyalty account
120
+ */
121
+ loyaltyAccountId: string;
122
+
123
+ /**
124
+ * Details of the loyalty transaction
125
+ */
126
+ loyaltyTransaction: Data.LoyaltyTransaction;
127
+
128
+ /**
129
+ * Unique identifier for the organization
130
+ */
131
+ organizationId: string;
132
+
133
+ /**
134
+ * Type of the loyalty transaction
135
+ */
136
+ type: 'auction_bid' | 'direct_mint' | 'loyalty_rule' | 'api_key' | 'order';
137
+
138
+ /**
139
+ * Timestamp when the transaction entry was last updated
140
+ */
141
+ updatedAt: string;
142
+
143
+ /**
144
+ * Unique identifier for the website
145
+ */
146
+ websiteId: string;
147
+
148
+ /**
149
+ * Optional metadata for the transaction entry
150
+ */
151
+ metadata?: Record<string, unknown>;
152
+ }
153
+
154
+ export namespace Data {
155
+ /**
156
+ * Details of the loyalty transaction
157
+ */
158
+ export interface LoyaltyTransaction {
159
+ /**
160
+ * Unique identifier for the loyalty transaction
161
+ */
162
+ id: string;
163
+
164
+ /**
165
+ * Type of the loyalty transaction
166
+ */
167
+ type: 'auction_bid' | 'direct_mint' | 'loyalty_rule' | 'api_key' | 'order';
168
+
169
+ /**
170
+ * Details of the loyalty rule associated with the transaction
171
+ */
172
+ loyaltyRule?: LoyaltyTransaction.LoyaltyRule;
173
+ }
174
+
175
+ export namespace LoyaltyTransaction {
176
+ /**
177
+ * Details of the loyalty rule associated with the transaction
178
+ */
179
+ export interface LoyaltyRule {
180
+ /**
181
+ * Unique identifier for the loyalty rule
182
+ */
183
+ id: string;
184
+
185
+ /**
186
+ * Type of the loyalty rule
187
+ */
188
+ type: string;
189
+
190
+ /**
191
+ * Description of the loyalty rule
192
+ */
193
+ description?: string;
194
+
195
+ /**
196
+ * Optional metadata for the loyalty rule
197
+ */
198
+ metadata?: Record<string, unknown>;
199
+
200
+ /**
201
+ * Name of the loyalty rule
202
+ */
203
+ name?: string;
204
+ }
205
+ }
206
+ }
207
+ }
208
+
209
+ export interface TransactionListRuleChainsResponse {
210
+ data: Array<unknown>;
211
+
212
+ hasNextPage: boolean;
213
+ }
214
+
215
+ export interface TransactionCreateTransactionParams {
216
+ /**
217
+ * Description of the loyalty transaction
218
+ */
219
+ description: string;
220
+
221
+ /**
222
+ * Array of transaction entries
223
+ */
224
+ entries: Array<TransactionCreateTransactionParams.Entry>;
225
+
226
+ /**
227
+ * Unique identifier for the loyalty currency
228
+ */
229
+ loyaltyCurrencyId?: string;
230
+ }
231
+
232
+ export namespace TransactionCreateTransactionParams {
233
+ export interface Entry {
234
+ /**
235
+ * Transaction entry amount.
236
+ */
237
+ amount: number;
238
+
239
+ /**
240
+ * Direction of the transaction entry for this wallet address
241
+ */
242
+ direction?: 'credit' | 'debit';
243
+
244
+ /**
245
+ * Idempotency key for the transaction entry. Creation will fail if already exists
246
+ * for this wallet address.
247
+ */
248
+ idempotencyKey?: string;
249
+
250
+ /**
251
+ * Unique identifier for the loyalty currency for the wallet. Can only use
252
+ * entry-level currency or transaction-level currency.
253
+ */
254
+ loyaltyCurrencyId?: string;
255
+
256
+ /**
257
+ * The wallet address of the user
258
+ */
259
+ walletAddress?: string;
260
+ }
261
+ }
262
+
263
+ export interface TransactionGetTransactionEntriesParams {
264
+ /**
265
+ * End date to filter by (exclusive, less than)
266
+ */
267
+ createdAtEnd?: string;
268
+
269
+ /**
270
+ * Start date to filter by (inclusive, greater than or equal to)
271
+ */
272
+ createdAtStart?: string;
273
+
274
+ /**
275
+ * Direction of the transaction entry to filter by
276
+ */
277
+ direction?: 'credit' | 'debit';
278
+
279
+ /**
280
+ * Key to ensure idempotency of the request
281
+ */
282
+ idempotencyKey?: string;
283
+
284
+ /**
285
+ * Maximum number of records to return (max 1000)
286
+ */
287
+ limit?: number;
288
+
289
+ /**
290
+ * UUID of the rule group (converted to lowercase)
291
+ */
292
+ loyaltyRuleGroupId?: string;
293
+
294
+ /**
295
+ * Unique identifier for the loyalty rule to filter by
296
+ */
297
+ loyaltyRuleId?: string;
298
+
299
+ loyaltyRuleType?:
300
+ | 'Bonus'
301
+ | 'BoughtOn'
302
+ | 'BoughtWithRoyalties'
303
+ | 'DiscordMessages'
304
+ | 'Listing'
305
+ | 'Lodging'
306
+ | 'MintOn'
307
+ | 'PoapClaim'
308
+ | 'SnagSocialsConnected'
309
+ | 'SnapshotFullset'
310
+ | 'SnapshotHold'
311
+ | 'SoldOn'
312
+ | 'SoldWithRoyalties'
313
+ | 'TokenHold'
314
+ | 'TwitterBio'
315
+ | 'TwitterHashTagPost'
316
+ | 'Retweet'
317
+ | 'check_in'
318
+ | 'code_entry'
319
+ | 'connect_wallet'
320
+ | 'connected_discord'
321
+ | 'connected_email'
322
+ | 'connected_epic'
323
+ | 'connected_steam'
324
+ | 'connected_telegram'
325
+ | 'connected_twitter'
326
+ | 'create_partner_account'
327
+ | 'discord_member'
328
+ | 'drip_x_follow'
329
+ | 'drip_x_new_tweet'
330
+ | 'drip_x_text_in_bio'
331
+ | 'drip_x_text_in_comment'
332
+ | 'drip_x_text_in_name'
333
+ | 'drip_x_tweet'
334
+ | 'external_rule'
335
+ | 'link_click'
336
+ | 'manual_upload'
337
+ | 'profile_completed'
338
+ | 'referred_user'
339
+ | 'smart_contract_event'
340
+ | 'snapshot_governance'
341
+ | 'telegram_join'
342
+ | 'telegram_messages'
343
+ | 'text_input'
344
+ | 'token_hold_erc20'
345
+ | 'tweet_liked_by_project'
346
+ | 'twitter_comment'
347
+ | 'twitter_follow'
348
+ | 'twitter_followers'
349
+ | 'twitter_like'
350
+ | 'twitter_post_hashtag'
351
+ | 'quiz'
352
+ | 'poll'
353
+ | 'steam_wishlist'
354
+ | Array<
355
+ | 'Bonus'
356
+ | 'BoughtOn'
357
+ | 'BoughtWithRoyalties'
358
+ | 'DiscordMessages'
359
+ | 'Listing'
360
+ | 'Lodging'
361
+ | 'MintOn'
362
+ | 'PoapClaim'
363
+ | 'SnagSocialsConnected'
364
+ | 'SnapshotFullset'
365
+ | 'SnapshotHold'
366
+ | 'SoldOn'
367
+ | 'SoldWithRoyalties'
368
+ | 'TokenHold'
369
+ | 'TwitterBio'
370
+ | 'TwitterHashTagPost'
371
+ | 'Retweet'
372
+ | 'check_in'
373
+ | 'code_entry'
374
+ | 'connect_wallet'
375
+ | 'connected_discord'
376
+ | 'connected_email'
377
+ | 'connected_epic'
378
+ | 'connected_steam'
379
+ | 'connected_telegram'
380
+ | 'connected_twitter'
381
+ | 'create_partner_account'
382
+ | 'discord_member'
383
+ | 'drip_x_follow'
384
+ | 'drip_x_new_tweet'
385
+ | 'drip_x_text_in_bio'
386
+ | 'drip_x_text_in_comment'
387
+ | 'drip_x_text_in_name'
388
+ | 'drip_x_tweet'
389
+ | 'external_rule'
390
+ | 'link_click'
391
+ | 'manual_upload'
392
+ | 'profile_completed'
393
+ | 'referred_user'
394
+ | 'smart_contract_event'
395
+ | 'snapshot_governance'
396
+ | 'telegram_join'
397
+ | 'telegram_messages'
398
+ | 'text_input'
399
+ | 'token_hold_erc20'
400
+ | 'tweet_liked_by_project'
401
+ | 'twitter_comment'
402
+ | 'twitter_follow'
403
+ | 'twitter_followers'
404
+ | 'twitter_like'
405
+ | 'twitter_post_hashtag'
406
+ | 'quiz'
407
+ | 'poll'
408
+ | 'steam_wishlist'
409
+ >;
410
+
411
+ /**
412
+ * Unique identifier for the loyalty transaction to filter by
413
+ */
414
+ loyaltyTransactionId?: string;
415
+
416
+ /**
417
+ * Field to order the results by
418
+ */
419
+ orderBy?: 'createdAt' | 'updatedAt' | 'loyaltyAccountLockVersion';
420
+
421
+ /**
422
+ * Unique identifier for the organization to filter by
423
+ */
424
+ organizationId?: string;
425
+
426
+ /**
427
+ * Pagination cursor to start after a specific resource ID
428
+ */
429
+ startingAfter?: string;
430
+
431
+ /**
432
+ * Type of the loyalty transaction to filter by
433
+ */
434
+ type?: 'auction_bid' | 'direct_mint' | 'loyalty_rule' | 'api_key' | 'order';
435
+
436
+ /**
437
+ * When passed in return the list of fulfilled entries for loyalty rules. If a
438
+ * loyalty rule has a fulfilled entry this means the user cannot currently complete
439
+ * the rule. Must be passed in with userId or walletAddress.
440
+ */
441
+ userCompletedLoyaltyRuleId?: string | Array<string>;
442
+
443
+ /**
444
+ * External identifier for the user group controlled by you
445
+ */
446
+ userGroupExternalIdentifier?: string;
447
+
448
+ /**
449
+ * Unique identifier for the user group
450
+ */
451
+ userGroupId?: string;
452
+
453
+ /**
454
+ * User ID or array of User IDs to filter by
455
+ */
456
+ userId?: string | Array<string>;
457
+
458
+ /**
459
+ * Wallet address or array of wallet addresses to filter by
460
+ */
461
+ walletAddress?: string | Array<string>;
462
+
463
+ /**
464
+ * Identifier for the wallet group to filter by
465
+ */
466
+ walletGroupIdentifier?: string;
467
+
468
+ /**
469
+ * Unique identifier for the website to filter by
470
+ */
471
+ websiteId?: string;
472
+ }
473
+
474
+ export interface TransactionListRuleChainsParams {
475
+ /**
476
+ * Unique identifier for the organization
477
+ */
478
+ organizationId: string;
479
+
480
+ /**
481
+ * Unique identifier for the website
482
+ */
483
+ websiteId: string;
484
+
485
+ /**
486
+ * Number of rule chains to return
487
+ */
488
+ limit?: number | null;
489
+
490
+ /**
491
+ * Starting after the given rule chain ID
492
+ */
493
+ startingAfter?: string;
494
+ }
495
+
496
+ Transactions.RuleStatuses = RuleStatuses;
497
+
498
+ export declare namespace Transactions {
499
+ export {
500
+ type TransactionCreateTransactionResponse as TransactionCreateTransactionResponse,
501
+ type TransactionGetTransactionEntriesResponse as TransactionGetTransactionEntriesResponse,
502
+ type TransactionListRuleChainsResponse as TransactionListRuleChainsResponse,
503
+ type TransactionCreateTransactionParams as TransactionCreateTransactionParams,
504
+ type TransactionGetTransactionEntriesParams as TransactionGetTransactionEntriesParams,
505
+ type TransactionListRuleChainsParams as TransactionListRuleChainsParams,
506
+ };
507
+
508
+ export {
509
+ RuleStatuses as RuleStatuses,
510
+ type RuleStatusUpdateResponse as RuleStatusUpdateResponse,
511
+ type RuleStatusListResponse as RuleStatusListResponse,
512
+ type RuleStatusUpdateParams as RuleStatusUpdateParams,
513
+ type RuleStatusListParams as RuleStatusListParams,
514
+ };
515
+ }