@snagsolutions/sdk 0.1.0-alpha.13 → 0.1.0-alpha.15

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 (325) hide show
  1. package/CHANGELOG.md +98 -0
  2. package/README.md +22 -14
  3. package/core.d.ts.map +1 -1
  4. package/core.js +14 -7
  5. package/core.js.map +1 -1
  6. package/core.mjs +14 -7
  7. package/core.mjs.map +1 -1
  8. package/index.d.mts +11 -26
  9. package/index.d.ts +11 -26
  10. package/index.d.ts.map +1 -1
  11. package/index.js +8 -23
  12. package/index.js.map +1 -1
  13. package/index.mjs +8 -23
  14. package/index.mjs.map +1 -1
  15. package/package.json +1 -1
  16. package/resources/api/api.d.ts +365 -0
  17. package/resources/api/api.d.ts.map +1 -0
  18. package/resources/api/api.js +94 -0
  19. package/resources/api/api.js.map +1 -0
  20. package/resources/api/api.mjs +67 -0
  21. package/resources/api/api.mjs.map +1 -0
  22. package/resources/api/index.d.ts +9 -0
  23. package/resources/api/index.d.ts.map +1 -0
  24. package/resources/api/index.js +21 -0
  25. package/resources/api/index.js.map +1 -0
  26. package/resources/api/index.mjs +10 -0
  27. package/resources/api/index.mjs.map +1 -0
  28. package/resources/{loyalty → api/loyalty}/accounts.d.ts +44 -6
  29. package/resources/api/loyalty/accounts.d.ts.map +1 -0
  30. package/resources/api/loyalty/accounts.js +24 -0
  31. package/resources/api/loyalty/accounts.js.map +1 -0
  32. package/resources/api/loyalty/accounts.mjs +20 -0
  33. package/resources/api/loyalty/accounts.mjs.map +1 -0
  34. package/resources/api/loyalty/badges.d.ts +870 -0
  35. package/resources/api/loyalty/badges.d.ts.map +1 -0
  36. package/resources/{loyalty → api/loyalty}/badges.js +2 -2
  37. package/resources/api/loyalty/badges.js.map +1 -0
  38. package/resources/{loyalty → api/loyalty}/badges.mjs +2 -2
  39. package/resources/api/loyalty/badges.mjs.map +1 -0
  40. package/resources/{loyalty → api/loyalty}/currencies.d.ts +3 -9
  41. package/resources/api/loyalty/currencies.d.ts.map +1 -0
  42. package/resources/{loyalty → api/loyalty}/currencies.js +1 -1
  43. package/resources/api/loyalty/currencies.js.map +1 -0
  44. package/resources/{loyalty → api/loyalty}/currencies.mjs +1 -1
  45. package/resources/api/loyalty/currencies.mjs.map +1 -0
  46. package/resources/api/loyalty/index.d.ts +10 -0
  47. package/resources/api/loyalty/index.d.ts.map +1 -0
  48. package/resources/{loyalty → api/loyalty}/index.js +5 -3
  49. package/resources/api/loyalty/index.js.map +1 -0
  50. package/resources/{loyalty → api/loyalty}/index.mjs +4 -3
  51. package/resources/api/loyalty/index.mjs.map +1 -0
  52. package/resources/api/loyalty/loyalty.d.ts +807 -0
  53. package/resources/api/loyalty/loyalty.d.ts.map +1 -0
  54. package/resources/{loyalty → api/loyalty}/loyalty.js +36 -13
  55. package/resources/api/loyalty/loyalty.js.map +1 -0
  56. package/resources/api/loyalty/loyalty.mjs +59 -0
  57. package/resources/api/loyalty/loyalty.mjs.map +1 -0
  58. package/resources/{loyalty → api/loyalty}/multipliers.d.ts +36 -4
  59. package/resources/api/loyalty/multipliers.d.ts.map +1 -0
  60. package/resources/{loyalty → api/loyalty}/multipliers.js +8 -2
  61. package/resources/api/loyalty/multipliers.js.map +1 -0
  62. package/resources/{loyalty → api/loyalty}/multipliers.mjs +8 -2
  63. package/resources/api/loyalty/multipliers.mjs.map +1 -0
  64. package/resources/api/loyalty/questions-responses.d.ts +97 -0
  65. package/resources/api/loyalty/questions-responses.d.ts.map +1 -0
  66. package/resources/api/loyalty/questions-responses.js +22 -0
  67. package/resources/api/loyalty/questions-responses.js.map +1 -0
  68. package/resources/api/loyalty/questions-responses.mjs +18 -0
  69. package/resources/api/loyalty/questions-responses.mjs.map +1 -0
  70. package/resources/api/loyalty/questions.d.ts +150 -0
  71. package/resources/api/loyalty/questions.d.ts.map +1 -0
  72. package/resources/api/loyalty/questions.js +27 -0
  73. package/resources/api/loyalty/questions.js.map +1 -0
  74. package/resources/api/loyalty/questions.mjs +23 -0
  75. package/resources/api/loyalty/questions.mjs.map +1 -0
  76. package/resources/{loyalty → api/loyalty}/rule-edits.d.ts +9 -9
  77. package/resources/api/loyalty/rule-edits.d.ts.map +1 -0
  78. package/resources/{loyalty → api/loyalty}/rule-edits.js +3 -3
  79. package/resources/api/loyalty/rule-edits.js.map +1 -0
  80. package/resources/{loyalty → api/loyalty}/rule-edits.mjs +3 -3
  81. package/resources/api/loyalty/rule-edits.mjs.map +1 -0
  82. package/resources/{loyalty → api/loyalty}/rules.d.ts +167 -90
  83. package/resources/api/loyalty/rules.d.ts.map +1 -0
  84. package/resources/{loyalty → api/loyalty}/rules.js +3 -3
  85. package/resources/api/loyalty/rules.js.map +1 -0
  86. package/resources/{loyalty → api/loyalty}/rules.mjs +3 -3
  87. package/resources/api/loyalty/rules.mjs.map +1 -0
  88. package/resources/api/loyalty.d.ts +2 -0
  89. package/resources/api/loyalty.d.ts.map +1 -0
  90. package/resources/api/loyalty.js +19 -0
  91. package/resources/api/loyalty.js.map +1 -0
  92. package/resources/api/loyalty.mjs +3 -0
  93. package/resources/api/loyalty.mjs.map +1 -0
  94. package/resources/api/minting.d.ts +95 -0
  95. package/resources/api/minting.d.ts.map +1 -0
  96. package/resources/api/minting.js +15 -0
  97. package/resources/api/minting.js.map +1 -0
  98. package/resources/api/minting.mjs +11 -0
  99. package/resources/api/minting.mjs.map +1 -0
  100. package/resources/api/referral/index.d.ts +3 -0
  101. package/resources/api/referral/index.d.ts.map +1 -0
  102. package/resources/api/referral/index.js +9 -0
  103. package/resources/api/referral/index.js.map +1 -0
  104. package/resources/api/referral/index.mjs +4 -0
  105. package/resources/api/referral/index.mjs.map +1 -0
  106. package/resources/api/referral/referral.d.ts +31 -0
  107. package/resources/api/referral/referral.d.ts.map +1 -0
  108. package/resources/{drip/drip.js → api/referral/referral.js} +16 -13
  109. package/resources/api/referral/referral.js.map +1 -0
  110. package/resources/api/referral/referral.mjs +19 -0
  111. package/resources/api/referral/referral.mjs.map +1 -0
  112. package/resources/api/referral/users.d.ts +57 -0
  113. package/resources/api/referral/users.d.ts.map +1 -0
  114. package/resources/api/referral/users.js +21 -0
  115. package/resources/api/referral/users.js.map +1 -0
  116. package/resources/api/referral/users.mjs +17 -0
  117. package/resources/api/referral/users.mjs.map +1 -0
  118. package/resources/api/referral.d.ts +2 -0
  119. package/resources/api/referral.d.ts.map +1 -0
  120. package/resources/api/referral.js +19 -0
  121. package/resources/api/referral.js.map +1 -0
  122. package/resources/api/referral.mjs +3 -0
  123. package/resources/api/referral.mjs.map +1 -0
  124. package/resources/api/users/index.d.ts +3 -0
  125. package/resources/api/users/index.d.ts.map +1 -0
  126. package/resources/{users → api/users}/index.js +1 -3
  127. package/resources/api/users/index.js.map +1 -0
  128. package/resources/api/users/index.mjs +4 -0
  129. package/resources/api/users/index.mjs.map +1 -0
  130. package/resources/api/users/metadatas.d.ts +137 -0
  131. package/resources/api/users/metadatas.d.ts.map +1 -0
  132. package/resources/{users → api/users}/metadatas.js +8 -2
  133. package/resources/api/users/metadatas.js.map +1 -0
  134. package/resources/api/users/metadatas.mjs +18 -0
  135. package/resources/api/users/metadatas.mjs.map +1 -0
  136. package/resources/api/users/users.d.ts +133 -0
  137. package/resources/api/users/users.d.ts.map +1 -0
  138. package/resources/{users → api/users}/users.js +19 -5
  139. package/resources/api/users/users.js.map +1 -0
  140. package/resources/api/users/users.mjs +30 -0
  141. package/resources/api/users/users.mjs.map +1 -0
  142. package/resources/api/users.d.ts +2 -0
  143. package/resources/api/users.d.ts.map +1 -0
  144. package/resources/api/users.js +19 -0
  145. package/resources/api/users.js.map +1 -0
  146. package/resources/api/users.mjs +3 -0
  147. package/resources/api/users.mjs.map +1 -0
  148. package/resources/api/website-collections.d.ts +73 -0
  149. package/resources/api/website-collections.d.ts.map +1 -0
  150. package/resources/api/website-collections.js +25 -0
  151. package/resources/api/website-collections.js.map +1 -0
  152. package/resources/api/website-collections.mjs +21 -0
  153. package/resources/api/website-collections.mjs.map +1 -0
  154. package/resources/api/website-user-roles.d.ts +73 -0
  155. package/resources/api/website-user-roles.d.ts.map +1 -0
  156. package/resources/api/website-user-roles.js +22 -0
  157. package/resources/api/website-user-roles.js.map +1 -0
  158. package/resources/api/website-user-roles.mjs +18 -0
  159. package/resources/api/website-user-roles.mjs.map +1 -0
  160. package/resources/{websites.d.ts → api/websites.d.ts} +2 -2
  161. package/resources/api/websites.d.ts.map +1 -0
  162. package/resources/{websites.js → api/websites.js} +2 -2
  163. package/resources/api/websites.js.map +1 -0
  164. package/resources/{websites.mjs → api/websites.mjs} +2 -2
  165. package/resources/api/websites.mjs.map +1 -0
  166. package/resources/api.d.ts +2 -0
  167. package/resources/api.d.ts.map +1 -0
  168. package/resources/api.js +19 -0
  169. package/resources/api.js.map +1 -0
  170. package/resources/api.mjs +3 -0
  171. package/resources/api.mjs.map +1 -0
  172. package/resources/index.d.ts +1 -6
  173. package/resources/index.d.ts.map +1 -1
  174. package/resources/index.js +3 -13
  175. package/resources/index.js.map +1 -1
  176. package/resources/index.mjs +1 -6
  177. package/resources/index.mjs.map +1 -1
  178. package/resources.d.ts +2 -0
  179. package/resources.d.ts.map +1 -0
  180. package/resources.js +18 -0
  181. package/resources.js.map +1 -0
  182. package/resources.mjs +2 -0
  183. package/resources.mjs.map +1 -0
  184. package/src/core.ts +16 -8
  185. package/src/index.ts +28 -57
  186. package/src/resources/api/api.ts +629 -0
  187. package/src/resources/api/index.ts +51 -0
  188. package/src/resources/{loyalty → api/loyalty}/accounts.ts +65 -8
  189. package/src/resources/api/loyalty/badges.ts +1142 -0
  190. package/src/resources/{loyalty → api/loyalty}/currencies.ts +3 -9
  191. package/src/resources/{loyalty → api/loyalty}/index.ts +38 -11
  192. package/src/resources/api/loyalty/loyalty.ts +1297 -0
  193. package/src/resources/{loyalty → api/loyalty}/multipliers.ts +61 -4
  194. package/src/resources/api/loyalty/questions-responses.ts +146 -0
  195. package/src/resources/api/loyalty/questions.ts +208 -0
  196. package/src/resources/{loyalty → api/loyalty}/rule-edits.ts +11 -14
  197. package/src/resources/{loyalty → api/loyalty}/rules.ts +339 -180
  198. package/src/resources/api/loyalty.ts +3 -0
  199. package/src/resources/api/minting.ts +157 -0
  200. package/src/resources/api/referral/index.ts +10 -0
  201. package/src/resources/api/referral/referral.ts +70 -0
  202. package/src/resources/api/referral/users.ts +93 -0
  203. package/src/resources/api/referral.ts +3 -0
  204. package/src/resources/api/users/index.ts +18 -0
  205. package/src/resources/api/users/metadatas.ts +206 -0
  206. package/src/resources/api/users/users.ts +203 -0
  207. package/src/resources/api/users.ts +3 -0
  208. package/src/resources/api/website-collections.ts +148 -0
  209. package/src/resources/api/website-user-roles.ts +107 -0
  210. package/src/resources/{websites.ts → api/websites.ts} +3 -3
  211. package/src/resources/api.ts +3 -0
  212. package/src/resources/index.ts +8 -11
  213. package/src/resources.ts +1 -0
  214. package/src/version.ts +1 -1
  215. package/version.d.ts +1 -1
  216. package/version.js +1 -1
  217. package/version.mjs +1 -1
  218. package/resources/assets.d.ts +0 -50
  219. package/resources/assets.d.ts.map +0 -1
  220. package/resources/assets.js +0 -17
  221. package/resources/assets.js.map +0 -1
  222. package/resources/assets.mjs +0 -13
  223. package/resources/assets.mjs.map +0 -1
  224. package/resources/auction-bids.d.ts +0 -81
  225. package/resources/auction-bids.d.ts.map +0 -1
  226. package/resources/auction-bids.js +0 -30
  227. package/resources/auction-bids.js.map +0 -1
  228. package/resources/auction-bids.mjs +0 -26
  229. package/resources/auction-bids.mjs.map +0 -1
  230. package/resources/drip/drip.d.ts +0 -14
  231. package/resources/drip/drip.d.ts.map +0 -1
  232. package/resources/drip/drip.js.map +0 -1
  233. package/resources/drip/drip.mjs +0 -16
  234. package/resources/drip/drip.mjs.map +0 -1
  235. package/resources/drip/index.d.ts +0 -4
  236. package/resources/drip/index.d.ts.map +0 -1
  237. package/resources/drip/index.js +0 -11
  238. package/resources/drip/index.js.map +0 -1
  239. package/resources/drip/index.mjs +0 -5
  240. package/resources/drip/index.mjs.map +0 -1
  241. package/resources/drip/quests.d.ts +0 -168
  242. package/resources/drip/quests.d.ts.map +0 -1
  243. package/resources/drip/quests.js +0 -17
  244. package/resources/drip/quests.js.map +0 -1
  245. package/resources/drip/quests.mjs +0 -13
  246. package/resources/drip/quests.mjs.map +0 -1
  247. package/resources/drip/status.d.ts +0 -26
  248. package/resources/drip/status.d.ts.map +0 -1
  249. package/resources/drip/status.js +0 -16
  250. package/resources/drip/status.js.map +0 -1
  251. package/resources/drip/status.mjs +0 -12
  252. package/resources/drip/status.mjs.map +0 -1
  253. package/resources/loyalty/accounts.d.ts.map +0 -1
  254. package/resources/loyalty/accounts.js +0 -16
  255. package/resources/loyalty/accounts.js.map +0 -1
  256. package/resources/loyalty/accounts.mjs +0 -12
  257. package/resources/loyalty/accounts.mjs.map +0 -1
  258. package/resources/loyalty/badges.d.ts +0 -299
  259. package/resources/loyalty/badges.d.ts.map +0 -1
  260. package/resources/loyalty/badges.js.map +0 -1
  261. package/resources/loyalty/badges.mjs.map +0 -1
  262. package/resources/loyalty/currencies.d.ts.map +0 -1
  263. package/resources/loyalty/currencies.js.map +0 -1
  264. package/resources/loyalty/currencies.mjs.map +0 -1
  265. package/resources/loyalty/index.d.ts +0 -9
  266. package/resources/loyalty/index.d.ts.map +0 -1
  267. package/resources/loyalty/index.js.map +0 -1
  268. package/resources/loyalty/index.mjs.map +0 -1
  269. package/resources/loyalty/loyalty.d.ts +0 -34
  270. package/resources/loyalty/loyalty.d.ts.map +0 -1
  271. package/resources/loyalty/loyalty.js.map +0 -1
  272. package/resources/loyalty/loyalty.mjs +0 -36
  273. package/resources/loyalty/loyalty.mjs.map +0 -1
  274. package/resources/loyalty/multipliers.d.ts.map +0 -1
  275. package/resources/loyalty/multipliers.js.map +0 -1
  276. package/resources/loyalty/multipliers.mjs.map +0 -1
  277. package/resources/loyalty/rule-edits.d.ts.map +0 -1
  278. package/resources/loyalty/rule-edits.js.map +0 -1
  279. package/resources/loyalty/rule-edits.mjs.map +0 -1
  280. package/resources/loyalty/rules.d.ts.map +0 -1
  281. package/resources/loyalty/rules.js.map +0 -1
  282. package/resources/loyalty/rules.mjs.map +0 -1
  283. package/resources/loyalty/transaction-entries.d.ts +0 -175
  284. package/resources/loyalty/transaction-entries.d.ts.map +0 -1
  285. package/resources/loyalty/transaction-entries.js +0 -16
  286. package/resources/loyalty/transaction-entries.js.map +0 -1
  287. package/resources/loyalty/transaction-entries.mjs +0 -12
  288. package/resources/loyalty/transaction-entries.mjs.map +0 -1
  289. package/resources/users/index.d.ts +0 -4
  290. package/resources/users/index.d.ts.map +0 -1
  291. package/resources/users/index.js.map +0 -1
  292. package/resources/users/index.mjs +0 -5
  293. package/resources/users/index.mjs.map +0 -1
  294. package/resources/users/metadatas.d.ts +0 -64
  295. package/resources/users/metadatas.d.ts.map +0 -1
  296. package/resources/users/metadatas.js.map +0 -1
  297. package/resources/users/metadatas.mjs +0 -12
  298. package/resources/users/metadatas.mjs.map +0 -1
  299. package/resources/users/users.d.ts +0 -14
  300. package/resources/users/users.d.ts.map +0 -1
  301. package/resources/users/users.js.map +0 -1
  302. package/resources/users/users.mjs +0 -16
  303. package/resources/users/users.mjs.map +0 -1
  304. package/resources/users/wallets.d.ts +0 -193
  305. package/resources/users/wallets.d.ts.map +0 -1
  306. package/resources/users/wallets.js +0 -28
  307. package/resources/users/wallets.js.map +0 -1
  308. package/resources/users/wallets.mjs +0 -24
  309. package/resources/users/wallets.mjs.map +0 -1
  310. package/resources/websites.d.ts.map +0 -1
  311. package/resources/websites.js.map +0 -1
  312. package/resources/websites.mjs.map +0 -1
  313. package/src/resources/assets.ts +0 -71
  314. package/src/resources/auction-bids.ts +0 -123
  315. package/src/resources/drip/drip.ts +0 -25
  316. package/src/resources/drip/index.ts +0 -5
  317. package/src/resources/drip/quests.ts +0 -210
  318. package/src/resources/drip/status.ts +0 -33
  319. package/src/resources/loyalty/badges.ts +0 -435
  320. package/src/resources/loyalty/loyalty.ts +0 -159
  321. package/src/resources/loyalty/transaction-entries.ts +0 -229
  322. package/src/resources/users/index.ts +0 -12
  323. package/src/resources/users/metadatas.ts +0 -103
  324. package/src/resources/users/users.ts +0 -39
  325. package/src/resources/users/wallets.ts +0 -271
@@ -1,175 +0,0 @@
1
- import { APIResource } from "../../resource.js";
2
- import * as Core from "../../core.js";
3
- export declare class TransactionEntries extends APIResource {
4
- /**
5
- * Fetch loyalty transaction entries for wallets or users, representing account
6
- * balance changes.
7
- */
8
- list(query?: TransactionEntryListParams, options?: Core.RequestOptions): Core.APIPromise<TransactionEntryListResponse>;
9
- list(options?: Core.RequestOptions): Core.APIPromise<TransactionEntryListResponse>;
10
- }
11
- export interface TransactionEntryListResponse {
12
- data: Array<TransactionEntryListResponse.Data>;
13
- hasNextPage: boolean;
14
- }
15
- export declare namespace TransactionEntryListResponse {
16
- /**
17
- * Schema for a loyalty transaction entry
18
- */
19
- interface Data {
20
- /**
21
- * Unique identifier for the transaction entry
22
- */
23
- id: string;
24
- /**
25
- * Amount involved in the transaction
26
- */
27
- amount: number;
28
- /**
29
- * Timestamp when the transaction entry was created
30
- */
31
- createdAt: string;
32
- /**
33
- * Direction of the transaction entry
34
- */
35
- direction: 'credit' | 'debit';
36
- /**
37
- * Unique identifier for the loyalty account
38
- */
39
- loyaltyAccountId: string;
40
- /**
41
- * Details of the loyalty transaction
42
- */
43
- loyaltyTransaction: Data.LoyaltyTransaction;
44
- /**
45
- * Unique identifier for the organization
46
- */
47
- organizationId: string;
48
- /**
49
- * Type of the loyalty transaction
50
- */
51
- type: 'auction_bid' | 'direct_mint' | 'loyalty_rule' | 'api_key' | 'order';
52
- /**
53
- * Timestamp when the transaction entry was last updated
54
- */
55
- updatedAt: string;
56
- /**
57
- * Unique identifier for the website
58
- */
59
- websiteId: string;
60
- /**
61
- * Optional metadata for the transaction entry
62
- */
63
- metadata?: Record<string, unknown>;
64
- }
65
- namespace Data {
66
- /**
67
- * Details of the loyalty transaction
68
- */
69
- interface LoyaltyTransaction {
70
- /**
71
- * Unique identifier for the loyalty transaction
72
- */
73
- id: string;
74
- /**
75
- * Type of the loyalty transaction
76
- */
77
- type: 'auction_bid' | 'direct_mint' | 'loyalty_rule' | 'api_key' | 'order';
78
- /**
79
- * Details of the loyalty rule associated with the transaction
80
- */
81
- loyaltyRule?: LoyaltyTransaction.LoyaltyRule;
82
- }
83
- namespace LoyaltyTransaction {
84
- /**
85
- * Details of the loyalty rule associated with the transaction
86
- */
87
- interface LoyaltyRule {
88
- /**
89
- * Unique identifier for the loyalty rule
90
- */
91
- id: string;
92
- /**
93
- * Type of the loyalty rule
94
- */
95
- type: string;
96
- /**
97
- * Description of the loyalty rule
98
- */
99
- description?: string;
100
- /**
101
- * Optional metadata for the loyalty rule
102
- */
103
- metadata?: Record<string, unknown>;
104
- /**
105
- * Name of the loyalty rule
106
- */
107
- name?: string;
108
- }
109
- }
110
- }
111
- }
112
- export interface TransactionEntryListParams {
113
- /**
114
- * Direction of the transaction entry to filter by
115
- */
116
- direction?: 'credit' | 'debit';
117
- /**
118
- * Key to ensure idempotency of the request
119
- */
120
- idempotencyKey?: string;
121
- /**
122
- * Maximum number of records to return (max 1000)
123
- */
124
- limit?: number;
125
- /**
126
- * Unique identifier for the loyalty rule to filter by
127
- */
128
- loyaltyRuleId?: string;
129
- /**
130
- * Unique identifier for the loyalty transaction to filter by
131
- */
132
- loyaltyTransactionId?: string;
133
- /**
134
- * Field to order the results by
135
- */
136
- orderBy?: 'createdAt' | 'updatedAt' | 'loyaltyAccountLockVersion';
137
- /**
138
- * Unique identifier for the organization to filter by
139
- */
140
- organizationId?: string;
141
- /**
142
- * Pagination cursor to start after a specific resource ID
143
- */
144
- startingAfter?: string;
145
- /**
146
- * Type of the loyalty transaction to filter by
147
- */
148
- type?: 'auction_bid' | 'direct_mint' | 'loyalty_rule' | 'api_key' | 'order';
149
- /**
150
- * When passed in return the list of fulfilled entries for loyalty rules. If a
151
- * loyalty rule has a fulfilled entry this means the user cannot currently complete
152
- * the rule. Must be passed in with userId or walletAddress.
153
- */
154
- userCompletedLoyaltyRuleId?: string | Array<string>;
155
- /**
156
- * User ID or array of User IDs to filter by
157
- */
158
- userId?: string | Array<string>;
159
- /**
160
- * Wallet address or array of wallet addresses to filter by
161
- */
162
- walletAddress?: string | Array<string>;
163
- /**
164
- * Identifier for the wallet group to filter by
165
- */
166
- walletGroupIdentifier?: string;
167
- /**
168
- * Unique identifier for the website to filter by
169
- */
170
- websiteId?: string;
171
- }
172
- export declare namespace TransactionEntries {
173
- export { type TransactionEntryListResponse as TransactionEntryListResponse, type TransactionEntryListParams as TransactionEntryListParams, };
174
- }
175
- //# sourceMappingURL=transaction-entries.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"transaction-entries.d.ts","sourceRoot":"","sources":["../../src/resources/loyalty/transaction-entries.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAE7C,OAAO,KAAK,IAAI,MAAM,YAAY,CAAC;AAEnC,qBAAa,kBAAmB,SAAQ,WAAW;IACjD;;;OAGG;IACH,IAAI,CACF,KAAK,CAAC,EAAE,0BAA0B,EAClC,OAAO,CAAC,EAAE,IAAI,CAAC,cAAc,GAC5B,IAAI,CAAC,UAAU,CAAC,4BAA4B,CAAC;IAChD,IAAI,CAAC,OAAO,CAAC,EAAE,IAAI,CAAC,cAAc,GAAG,IAAI,CAAC,UAAU,CAAC,4BAA4B,CAAC;CAUnF;AAED,MAAM,WAAW,4BAA4B;IAC3C,IAAI,EAAE,KAAK,CAAC,4BAA4B,CAAC,IAAI,CAAC,CAAC;IAE/C,WAAW,EAAE,OAAO,CAAC;CACtB;AAED,yBAAiB,4BAA4B,CAAC;IAC5C;;OAEG;IACH,UAAiB,IAAI;QACnB;;WAEG;QACH,EAAE,EAAE,MAAM,CAAC;QAEX;;WAEG;QACH,MAAM,EAAE,MAAM,CAAC;QAEf;;WAEG;QACH,SAAS,EAAE,MAAM,CAAC;QAElB;;WAEG;QACH,SAAS,EAAE,QAAQ,GAAG,O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OAEG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC;IAEvB;;OAEG;IACH,oBAAoB,CAAC,EAAE,MAAM,CAAC;IAE9B;;OAEG;IACH,OAAO,CAAC,EAAE,WAAW,GAAG,WAAW,GAAG,2BAA2B,CAAC;IAElE;;OAEG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC;IAExB;;OAEG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC;IAEvB;;OAEG;IACH,IAAI,CAAC,EAAE,aAAa,GAAG,aAAa,GAAG,cAAc,GAAG,SAAS,GAAG,OAAO,CAAC;IAE5E;;;;OAIG;IACH,0BAA0B,CAAC,EAAE,MAAM,GAAG,KAAK,CAAC,MAAM,CAAC,CAAC;IAEpD;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,GAAG,KAAK,CAAC,MAAM,CAAC,CAAC;IAEhC;;OAEG;IACH,aAAa,CAAC,EAAE,MAAM,GAAG,KAAK,CAAC,MAAM,CAAC,CAAC;IAEvC;;OAEG;IACH,qBAAqB,CAAC,EAAE,MAAM,CAAC;IAE/B;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,MAAM,CAAC,OAAO,WAAW,kBAAkB,CAAC;IAC1C,OAAO,EACL,KAAK,4BAA4B,IAAI,4BAA4B,EACjE,KAAK,0BAA0B,IAAI,0BAA0B,GAC9D,CAAC;CACH"}
@@ -1,16 +0,0 @@
1
- "use strict";
2
- // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
3
- Object.defineProperty(exports, "__esModule", { value: true });
4
- exports.TransactionEntries = void 0;
5
- const resource_1 = require("../../resource.js");
6
- const core_1 = require("../../core.js");
7
- class TransactionEntries extends resource_1.APIResource {
8
- list(query = {}, options) {
9
- if ((0, core_1.isRequestOptions)(query)) {
10
- return this.list({}, query);
11
- }
12
- return this._client.get('/api/loyalty/transaction_entries', { query, ...options });
13
- }
14
- }
15
- exports.TransactionEntries = TransactionEntries;
16
- //# sourceMappingURL=transaction-entries.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"transaction-entries.js","sourceRoot":"","sources":["../../src/resources/loyalty/transaction-entries.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,gDAA6C;AAC7C,wCAA8C;AAG9C,MAAa,kBAAmB,SAAQ,sBAAW;IAUjD,IAAI,CACF,QAA0D,EAAE,EAC5D,OAA6B;QAE7B,IAAI,IAAA,uBAAgB,EAAC,KAAK,CAAC,EAAE;YAC3B,OAAO,IAAI,CAAC,IAAI,CAAC,EAAE,EAAE,KAAK,CAAC,CAAC;SAC7B;QACD,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,kCAAkC,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACrF,CAAC;CACF;AAnBD,gDAmBC"}
@@ -1,12 +0,0 @@
1
- // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
- import { APIResource } from "../../resource.mjs";
3
- import { isRequestOptions } from "../../core.mjs";
4
- export class TransactionEntries extends APIResource {
5
- list(query = {}, options) {
6
- if (isRequestOptions(query)) {
7
- return this.list({}, query);
8
- }
9
- return this._client.get('/api/loyalty/transaction_entries', { query, ...options });
10
- }
11
- }
12
- //# sourceMappingURL=transaction-entries.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"transaction-entries.mjs","sourceRoot":"","sources":["../../src/resources/loyalty/transaction-entries.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OACf,EAAE,gBAAgB,EAAE;AAG3B,MAAM,OAAO,kBAAmB,SAAQ,WAAW;IAUjD,IAAI,CACF,QAA0D,EAAE,EAC5D,OAA6B;QAE7B,IAAI,gBAAgB,CAAC,KAAK,CAAC,EAAE;YAC3B,OAAO,IAAI,CAAC,IAAI,CAAC,EAAE,EAAE,KAAK,CAAC,CAAC;SAC7B;QACD,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,kCAAkC,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACrF,CAAC;CACF"}
@@ -1,4 +0,0 @@
1
- export { Metadatas, type MetadataCreateResponse, type MetadataCreateParams } from "./metadatas.js";
2
- export { Users } from "./users.js";
3
- export { Wallets, type WalletCreateResponse, type WalletListResponse, type WalletDeleteResponse, type WalletCreateParams, type WalletListParams, } from "./wallets.js";
4
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/resources/users/index.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,SAAS,EAAE,KAAK,sBAAsB,EAAE,KAAK,oBAAoB,EAAE,MAAM,aAAa,CAAC;AAChG,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,OAAO,EACL,OAAO,EACP,KAAK,oBAAoB,EACzB,KAAK,kBAAkB,EACvB,KAAK,oBAAoB,EACzB,KAAK,kBAAkB,EACvB,KAAK,gBAAgB,GACtB,MAAM,WAAW,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/resources/users/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,4CAAgG;AAAvF,sGAAA,SAAS,OAAA;AAClB,oCAAgC;AAAvB,8FAAA,KAAK,OAAA;AACd,wCAOmB;AANjB,kGAAA,OAAO,OAAA"}
@@ -1,5 +0,0 @@
1
- // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
- export { Metadatas } from "./metadatas.mjs";
3
- export { Users } from "./users.mjs";
4
- export { Wallets, } from "./wallets.mjs";
5
- //# sourceMappingURL=index.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.mjs","sourceRoot":"","sources":["../../src/resources/users/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,SAAS,EAA0D;OACrE,EAAE,KAAK,EAAE;OACT,EACL,OAAO,GAMR"}
@@ -1,64 +0,0 @@
1
- import { APIResource } from "../../resource.js";
2
- import * as Core from "../../core.js";
3
- export declare class Metadatas extends APIResource {
4
- /**
5
- * This endpoint allows you to create or edit a user metadata
6
- */
7
- create(body?: MetadataCreateParams, options?: Core.RequestOptions): Core.APIPromise<MetadataCreateResponse>;
8
- create(options?: Core.RequestOptions): Core.APIPromise<MetadataCreateResponse>;
9
- }
10
- /**
11
- * Schema for user metadata response
12
- */
13
- export interface MetadataCreateResponse {
14
- /**
15
- * Unique identifier for the user metadata
16
- */
17
- id: string;
18
- /**
19
- * Timestamp when the wallet was created
20
- */
21
- createdAt: string;
22
- /**
23
- * Unique identifier for the organization
24
- */
25
- organizationId: string;
26
- /**
27
- * Timestamp when the wallet was last updated
28
- */
29
- updatedAt: string;
30
- /**
31
- * Validated and formatted wallet address
32
- */
33
- walletAddress: string;
34
- /**
35
- * Identifier for the user wallet group set via api
36
- */
37
- walletGroupIdentifier: string | null;
38
- /**
39
- * Unique identifier for the website
40
- */
41
- websiteId: string;
42
- }
43
- export interface MetadataCreateParams {
44
- discordUser?: string | null;
45
- discordUserId?: string | null;
46
- displayName?: string | null;
47
- emailAddress?: string | null;
48
- epicAccountIdentifier?: string | null;
49
- isBlocked?: boolean;
50
- logoUrl?: string | null;
51
- stardustProfileIdentifier?: string | null;
52
- stardustWalletIdentifier?: string | null;
53
- telegramUserId?: string | null;
54
- telegramUsername?: string | null;
55
- twitterUser?: string | null;
56
- twitterUserId?: string | null;
57
- userId?: string;
58
- walletAddress?: string;
59
- walletGroupIdentifier?: string | null;
60
- }
61
- export declare namespace Metadatas {
62
- export { type MetadataCreateResponse as MetadataCreateResponse, type MetadataCreateParams as MetadataCreateParams, };
63
- }
64
- //# sourceMappingURL=metadatas.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"metadatas.d.ts","sourceRoot":"","sources":["../../src/resources/users/metadatas.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AA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AAI,CAAC;IAEjC,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAE5B,aAAa,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAE9B,MAAM,CAAC,EAAE,MAAM,CAAC;IAEhB,aAAa,CAAC,EAAE,MAAM,CAAC;IAEvB,qBAAqB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CACvC;AAED,MAAM,CAAC,OAAO,WAAW,SAAS,CAAC;IACjC,OAAO,EACL,KAAK,sBAAsB,IAAI,sBAAsB,EACrD,KAAK,oBAAoB,IAAI,oBAAoB,GAClD,CAAC;CACH"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"metadatas.js","sourceRoot":"","sources":["../../src/resources/users/metadatas.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,gDAA6C;AAC7C,wCAA8C;AAG9C,MAAa,SAAU,SAAQ,sBAAW;IAMxC,MAAM,CACJ,OAAmD,EAAE,EACrD,OAA6B;QAE7B,IAAI,IAAA,uBAAgB,EAAC,IAAI,CAAC,EAAE;YAC1B,OAAO,IAAI,CAAC,MAAM,CAAC,EAAE,EAAE,IAAI,CAAC,CAAC;SAC9B;QACD,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,sBAAsB,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACzE,CAAC;CACF;AAfD,8BAeC"}
@@ -1,12 +0,0 @@
1
- // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
- import { APIResource } from "../../resource.mjs";
3
- import { isRequestOptions } from "../../core.mjs";
4
- export class Metadatas extends APIResource {
5
- create(body = {}, options) {
6
- if (isRequestOptions(body)) {
7
- return this.create({}, body);
8
- }
9
- return this._client.post('/api/users/metadatas', { body, ...options });
10
- }
11
- }
12
- //# sourceMappingURL=metadatas.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"metadatas.mjs","sourceRoot":"","sources":["../../src/resources/users/metadatas.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OACf,EAAE,gBAAgB,EAAE;AAG3B,MAAM,OAAO,SAAU,SAAQ,WAAW;IAMxC,MAAM,CACJ,OAAmD,EAAE,EACrD,OAA6B;QAE7B,IAAI,gBAAgB,CAAC,IAAI,CAAC,EAAE;YAC1B,OAAO,IAAI,CAAC,MAAM,CAAC,EAAE,EAAE,IAAI,CAAC,CAAC;SAC9B;QACD,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,sBAAsB,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACzE,CAAC;CACF"}
@@ -1,14 +0,0 @@
1
- import { APIResource } from "../../resource.js";
2
- import * as MetadatasAPI from "./metadatas.js";
3
- import { MetadataCreateParams, MetadataCreateResponse, Metadatas } from "./metadatas.js";
4
- import * as WalletsAPI from "./wallets.js";
5
- import { WalletCreateParams, WalletCreateResponse, WalletDeleteResponse, WalletListParams, WalletListResponse, Wallets } from "./wallets.js";
6
- export declare class Users extends APIResource {
7
- wallets: WalletsAPI.Wallets;
8
- metadatas: MetadatasAPI.Metadatas;
9
- }
10
- export declare namespace Users {
11
- export { Wallets as Wallets, type WalletCreateResponse as WalletCreateResponse, type WalletListResponse as WalletListResponse, type WalletDeleteResponse as WalletDeleteResponse, type WalletCreateParams as WalletCreateParams, type WalletListParams as WalletListParams, };
12
- export { Metadatas as Metadatas, type MetadataCreateResponse as MetadataCreateResponse, type MetadataCreateParams as MetadataCreateParams, };
13
- }
14
- //# sourceMappingURL=users.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"users.d.ts","sourceRoot":"","sources":["../../src/resources/users/users.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAC7C,OAAO,KAAK,YAAY,MAAM,aAAa,CAAC;AAC5C,OAAO,EAAE,oBAAoB,EAAE,sBAAsB,EAAE,SAAS,EAAE,MAAM,aAA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1
- // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
- import { APIResource } from "../../resource.mjs";
3
- import * as MetadatasAPI from "./metadatas.mjs";
4
- import { Metadatas } from "./metadatas.mjs";
5
- import * as WalletsAPI from "./wallets.mjs";
6
- import { Wallets, } from "./wallets.mjs";
7
- export class Users extends APIResource {
8
- constructor() {
9
- super(...arguments);
10
- this.wallets = new WalletsAPI.Wallets(this._client);
11
- this.metadatas = new MetadatasAPI.Metadatas(this._client);
12
- }
13
- }
14
- Users.Wallets = Wallets;
15
- Users.Metadatas = Metadatas;
16
- //# sourceMappingURL=users.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"users.mjs","sourceRoot":"","sources":["../../src/resources/users/users.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OACf,KAAK,YAAY;OACjB,EAAgD,SAAS,EAAE;OAC3D,KAAK,UAAU;OACf,EAML,OAAO,GACR;AAED,MAAM,OAAO,KAAM,SAAQ,WAAW;IAAtC;;QACE,YAAO,GAAuB,IAAI,UAAU,CAAC,OAAO,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QACnE,cAAS,GAA2B,IAAI,YAAY,CAAC,SAAS,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IAC/E,CAAC;CAAA;AAED,KAAK,CAAC,OAAO,GAAG,OAAO,CAAC;AACxB,KAAK,CAAC,SAAS,GAAG,SAAS,CAAC"}
@@ -1,193 +0,0 @@
1
- import { APIResource } from "../../resource.js";
2
- import * as Core from "../../core.js";
3
- export declare class Wallets extends APIResource {
4
- /**
5
- * This endpoint allows you to create a user wallet
6
- */
7
- create(body: WalletCreateParams, options?: Core.RequestOptions): Core.APIPromise<WalletCreateResponse>;
8
- /**
9
- * This endpoint allows you to get users wallet
10
- */
11
- list(query?: WalletListParams, options?: Core.RequestOptions): Core.APIPromise<WalletListResponse>;
12
- list(options?: Core.RequestOptions): Core.APIPromise<WalletListResponse>;
13
- /**
14
- * This endpoint allows you to delete a user wallet
15
- */
16
- delete(id: string, options?: Core.RequestOptions): Core.APIPromise<WalletDeleteResponse>;
17
- }
18
- /**
19
- * Schema for user wallet response
20
- */
21
- export interface WalletCreateResponse {
22
- /**
23
- * Unique identifier for the user wallet
24
- */
25
- id: string;
26
- /**
27
- * Timestamp when the wallet was created
28
- */
29
- createdAt: string;
30
- /**
31
- * Unique identifier for the organization
32
- */
33
- organizationId: string;
34
- /**
35
- * Timestamp when the wallet was last updated
36
- */
37
- updatedAt: string;
38
- /**
39
- * Validated and formatted wallet address
40
- */
41
- walletAddress: string;
42
- /**
43
- * Type of the wallet
44
- */
45
- walletType: 'evm' | 'solana' | 'imx' | 'sui' | 'ton';
46
- /**
47
- * Unique identifier for the website
48
- */
49
- websiteId: string;
50
- /**
51
- * Optional identifier for the wallet
52
- */
53
- walletIdentifier?: string | null;
54
- }
55
- /**
56
- * Schema for a list of user wallets
57
- */
58
- export interface WalletListResponse {
59
- /**
60
- * Array of user wallets
61
- */
62
- data: Array<WalletListResponse.Data>;
63
- }
64
- export declare namespace WalletListResponse {
65
- /**
66
- * Schema for user wallet response
67
- */
68
- interface Data {
69
- /**
70
- * Unique identifier for the user wallet
71
- */
72
- id: string;
73
- /**
74
- * Timestamp when the wallet was created
75
- */
76
- createdAt: string;
77
- /**
78
- * Unique identifier for the organization
79
- */
80
- organizationId: string;
81
- /**
82
- * Timestamp when the wallet was last updated
83
- */
84
- updatedAt: string;
85
- /**
86
- * Validated and formatted wallet address
87
- */
88
- walletAddress: string;
89
- /**
90
- * Type of the wallet
91
- */
92
- walletType: 'evm' | 'solana' | 'imx' | 'sui' | 'ton';
93
- /**
94
- * Unique identifier for the website
95
- */
96
- websiteId: string;
97
- /**
98
- * Optional identifier for the wallet
99
- */
100
- walletIdentifier?: string | null;
101
- }
102
- }
103
- /**
104
- * Schema for user wallet response
105
- */
106
- export interface WalletDeleteResponse {
107
- /**
108
- * Unique identifier for the user wallet
109
- */
110
- id: string;
111
- /**
112
- * Timestamp when the wallet was created
113
- */
114
- createdAt: string;
115
- /**
116
- * Unique identifier for the organization
117
- */
118
- organizationId: string;
119
- /**
120
- * Timestamp when the wallet was last updated
121
- */
122
- updatedAt: string;
123
- /**
124
- * Validated and formatted wallet address
125
- */
126
- walletAddress: string;
127
- /**
128
- * Type of the wallet
129
- */
130
- walletType: 'evm' | 'solana' | 'imx' | 'sui' | 'ton';
131
- /**
132
- * Unique identifier for the website
133
- */
134
- websiteId: string;
135
- /**
136
- * Optional identifier for the wallet
137
- */
138
- walletIdentifier?: string | null;
139
- }
140
- export interface WalletCreateParams {
141
- walletAddress: string;
142
- walletType: 'evm' | 'solana' | 'imx' | 'sui' | 'ton';
143
- confirmDisconnect?: boolean;
144
- userId?: string;
145
- verificationData?: WalletCreateParams.VerificationData;
146
- walletIdentifier?: string;
147
- }
148
- export declare namespace WalletCreateParams {
149
- interface VerificationData {
150
- accessToken?: string;
151
- message?: string;
152
- signature?: string;
153
- tonVerification?: VerificationData.TonVerification;
154
- }
155
- namespace VerificationData {
156
- interface TonVerification {
157
- account: TonVerification.Account;
158
- proof: TonVerification.Proof;
159
- }
160
- namespace TonVerification {
161
- interface Account {
162
- address: string;
163
- chain: '-239' | '-3';
164
- publicKey: string;
165
- walletStateInit?: string;
166
- }
167
- interface Proof {
168
- domain: Proof.Domain;
169
- payload: string;
170
- signature: string;
171
- timestamp: number;
172
- state_init?: string;
173
- }
174
- namespace Proof {
175
- interface Domain {
176
- lengthBytes: number;
177
- value: string;
178
- }
179
- }
180
- }
181
- }
182
- }
183
- export interface WalletListParams {
184
- limit?: number | null;
185
- startingAfter?: string;
186
- userId?: string;
187
- walletAddress?: string;
188
- walletType?: 'evm' | 'solana' | 'imx' | 'sui' | 'ton';
189
- }
190
- export declare namespace Wallets {
191
- export { type WalletCreateResponse as WalletCreateResponse, type WalletListResponse as WalletListResponse, type WalletDeleteResponse as WalletDeleteResponse, type WalletCreateParams as WalletCreateParams, type WalletListParams as WalletListParams, };
192
- }
193
- //# sourceMappingURL=wallets.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"wallets.d.ts","sourceRoot":"","sources":["../../src/resources/users/wallets.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAE7C,OAAO,KAAK,IAAI,MAAM,YAAY,CAAC;AAEnC,qBAAa,OAAQ,SAAQ,WAAW;IACtC;;OAEG;IACH,MAAM,CAAC,IAAI,EAAE,kBAAkB,EAAE,OAAO,CAAC,EAAE,IAAI,CAAC,cAAc,GAAG,IAAI,CAAC,UAAU,CAAC,oBAAoB,CAAC;IAItG;;OAEG;IACH,IAAI,CAAC,KAAK,CAAC,EAAE,gBAAgB,EAAE,OAAO,CAAC,EAAE,IAAI,CAAC,cAAc,GAAG,IAAI,CAAC,UAAU,CAAC,kBAAkB,CAAC;IAClG,IAAI,CAAC,OAAO,CAAC,EAAE,IAAI,CAAC,cAAc,GAAG,IAAI,CAAC,UAAU,CAAC,kBAAkB,CAAC;IAWxE;;OAEG;IACH,MAAM,CAAC,EAAE,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,IAAI,CAAC,cAAc,GAAG,IAAI,CAAC,UAAU,CAAC,oBAAoB,CAAC;CAGzF;AAED;;GAEG;AACH,MAAM,WAAW,oBAAoB;IACnC;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;IAEX;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;IAElB;;OAEG;IACH,cAAc,EAAE,MAAM,CAAC;IAEvB;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;IAElB;;OAEG;IACH,aAAa,EAAE,MAAM,CAAC;IAEtB;;OAEG;IACH,UAAU,EAAE,KAAK,GAAG,QAAQ,GAAG,KAAK,GAAG,KAAK,GAAG,KAAK,CAAC;IAErD;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;IAElB;;OAEG;IACH,gBAAgB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CAClC;A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AK,GAAG,QAAQ,GAAG,KAAK,GAAG,KAAK,GAAG,KAAK,CAAC;CACvD;AAED,MAAM,CAAC,OAAO,WAAW,OAAO,CAAC;IAC/B,OAAO,EACL,KAAK,oBAAoB,IAAI,oBAAoB,EACjD,KAAK,kBAAkB,IAAI,kBAAkB,EAC7C,KAAK,oBAAoB,IAAI,oBAAoB,EACjD,KAAK,kBAAkB,IAAI,kBAAkB,EAC7C,KAAK,gBAAgB,IAAI,gBAAgB,GAC1C,CAAC;CACH"}
@@ -1,28 +0,0 @@
1
- "use strict";
2
- // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
3
- Object.defineProperty(exports, "__esModule", { value: true });
4
- exports.Wallets = void 0;
5
- const resource_1 = require("../../resource.js");
6
- const core_1 = require("../../core.js");
7
- class Wallets extends resource_1.APIResource {
8
- /**
9
- * This endpoint allows you to create a user wallet
10
- */
11
- create(body, options) {
12
- return this._client.post('/api/users/wallets', { body, ...options });
13
- }
14
- list(query = {}, options) {
15
- if ((0, core_1.isRequestOptions)(query)) {
16
- return this.list({}, query);
17
- }
18
- return this._client.get('/api/users/wallets', { query, ...options });
19
- }
20
- /**
21
- * This endpoint allows you to delete a user wallet
22
- */
23
- delete(id, options) {
24
- return this._client.delete(`/api/users/wallets/${id}`, options);
25
- }
26
- }
27
- exports.Wallets = Wallets;
28
- //# sourceMappingURL=wallets.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"wallets.js","sourceRoot":"","sources":["../../src/resources/users/wallets.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,gDAA6C;AAC7C,wCAA8C;AAG9C,MAAa,OAAQ,SAAQ,sBAAW;IACtC;;OAEG;IACH,MAAM,CAAC,IAAwB,EAAE,OAA6B;QAC5D,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,oBAAoB,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACvE,CAAC;IAOD,IAAI,CACF,QAAgD,EAAE,EAClD,OAA6B;QAE7B,IAAI,IAAA,uBAAgB,EAAC,KAAK,CAAC,EAAE;YAC3B,OAAO,IAAI,CAAC,IAAI,CAAC,EAAE,EAAE,KAAK,CAAC,CAAC;SAC7B;QACD,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,oBAAoB,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACvE,CAAC;IAED;;OAEG;IACH,MAAM,CAAC,EAAU,EAAE,OAA6B;QAC9C,OAAO,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,sBAAsB,EAAE,EAAE,EAAE,OAAO,CAAC,CAAC;IAClE,CAAC;CACF;AA7BD,0BA6BC"}
@@ -1,24 +0,0 @@
1
- // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
- import { APIResource } from "../../resource.mjs";
3
- import { isRequestOptions } from "../../core.mjs";
4
- export class Wallets extends APIResource {
5
- /**
6
- * This endpoint allows you to create a user wallet
7
- */
8
- create(body, options) {
9
- return this._client.post('/api/users/wallets', { body, ...options });
10
- }
11
- list(query = {}, options) {
12
- if (isRequestOptions(query)) {
13
- return this.list({}, query);
14
- }
15
- return this._client.get('/api/users/wallets', { query, ...options });
16
- }
17
- /**
18
- * This endpoint allows you to delete a user wallet
19
- */
20
- delete(id, options) {
21
- return this._client.delete(`/api/users/wallets/${id}`, options);
22
- }
23
- }
24
- //# sourceMappingURL=wallets.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"wallets.mjs","sourceRoot":"","sources":["../../src/resources/users/wallets.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OACf,EAAE,gBAAgB,EAAE;AAG3B,MAAM,OAAO,OAAQ,SAAQ,WAAW;IACtC;;OAEG;IACH,MAAM,CAAC,IAAwB,EAAE,OAA6B;QAC5D,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,oBAAoB,EAAE,EAAE,IAAI,EAAE,GAA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