@mobilerun/sdk 6.0.0 → 6.1.0

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 (340) hide show
  1. package/CHANGELOG.md +20 -0
  2. package/client.d.mts +2 -2
  3. package/client.d.mts.map +1 -1
  4. package/client.d.ts +2 -2
  5. package/client.d.ts.map +1 -1
  6. package/client.js.map +1 -1
  7. package/client.mjs.map +1 -1
  8. package/package.json +1 -1
  9. package/resources/assistant/conversations.d.mts +20 -0
  10. package/resources/assistant/conversations.d.mts.map +1 -1
  11. package/resources/assistant/conversations.d.ts +20 -0
  12. package/resources/assistant/conversations.d.ts.map +1 -1
  13. package/resources/connect/connect.d.mts +2 -2
  14. package/resources/connect/connect.d.mts.map +1 -1
  15. package/resources/connect/connect.d.ts +2 -2
  16. package/resources/connect/connect.d.ts.map +1 -1
  17. package/resources/connect/connect.js.map +1 -1
  18. package/resources/connect/connect.mjs.map +1 -1
  19. package/resources/connect/index.d.mts +1 -1
  20. package/resources/connect/index.d.mts.map +1 -1
  21. package/resources/connect/index.d.ts +1 -1
  22. package/resources/connect/index.d.ts.map +1 -1
  23. package/resources/connect/index.js.map +1 -1
  24. package/resources/connect/index.mjs.map +1 -1
  25. package/resources/connect/proxies.d.mts +22 -1
  26. package/resources/connect/proxies.d.mts.map +1 -1
  27. package/resources/connect/proxies.d.ts +22 -1
  28. package/resources/connect/proxies.d.ts.map +1 -1
  29. package/resources/connect/proxies.js +8 -0
  30. package/resources/connect/proxies.js.map +1 -1
  31. package/resources/connect/proxies.mjs +8 -0
  32. package/resources/connect/proxies.mjs.map +1 -1
  33. package/resources/credentials/credentials.d.mts +20 -0
  34. package/resources/credentials/credentials.d.mts.map +1 -1
  35. package/resources/credentials/credentials.d.ts +20 -0
  36. package/resources/credentials/credentials.d.ts.map +1 -1
  37. package/resources/credentials/credentials.js +4 -0
  38. package/resources/credentials/credentials.js.map +1 -1
  39. package/resources/credentials/credentials.mjs +4 -0
  40. package/resources/credentials/credentials.mjs.map +1 -1
  41. package/resources/credentials/index.d.mts +1 -0
  42. package/resources/credentials/index.d.mts.map +1 -1
  43. package/resources/credentials/index.d.ts +1 -0
  44. package/resources/credentials/index.d.ts.map +1 -1
  45. package/resources/credentials/index.js +5 -3
  46. package/resources/credentials/index.js.map +1 -1
  47. package/resources/credentials/index.mjs +1 -0
  48. package/resources/credentials/index.mjs.map +1 -1
  49. package/resources/credentials/onepassword/index.d.mts +3 -0
  50. package/resources/credentials/onepassword/index.d.mts.map +1 -0
  51. package/resources/credentials/onepassword/index.d.ts +3 -0
  52. package/resources/credentials/onepassword/index.d.ts.map +1 -0
  53. package/resources/credentials/onepassword/index.js +9 -0
  54. package/resources/credentials/onepassword/index.js.map +1 -0
  55. package/resources/credentials/onepassword/index.mjs +4 -0
  56. package/resources/credentials/onepassword/index.mjs.map +1 -0
  57. package/resources/credentials/onepassword/onepassword.d.mts +65 -0
  58. package/resources/credentials/onepassword/onepassword.d.mts.map +1 -0
  59. package/resources/credentials/onepassword/onepassword.d.ts +65 -0
  60. package/resources/credentials/onepassword/onepassword.d.ts.map +1 -0
  61. package/resources/credentials/onepassword/onepassword.js +35 -0
  62. package/resources/credentials/onepassword/onepassword.js.map +1 -0
  63. package/resources/credentials/onepassword/onepassword.mjs +30 -0
  64. package/resources/credentials/onepassword/onepassword.mjs.map +1 -0
  65. package/resources/credentials/onepassword/vaults/index.d.mts +3 -0
  66. package/resources/credentials/onepassword/vaults/index.d.mts.map +1 -0
  67. package/resources/credentials/onepassword/vaults/index.d.ts +3 -0
  68. package/resources/credentials/onepassword/vaults/index.d.ts.map +1 -0
  69. package/resources/credentials/onepassword/vaults/index.js +9 -0
  70. package/resources/credentials/onepassword/vaults/index.js.map +1 -0
  71. package/resources/credentials/onepassword/vaults/index.mjs +4 -0
  72. package/resources/credentials/onepassword/vaults/index.mjs.map +1 -0
  73. package/resources/credentials/onepassword/vaults/items/fields.d.mts +27 -0
  74. package/resources/credentials/onepassword/vaults/items/fields.d.mts.map +1 -0
  75. package/resources/credentials/onepassword/vaults/items/fields.d.ts +27 -0
  76. package/resources/credentials/onepassword/vaults/items/fields.d.ts.map +1 -0
  77. package/resources/credentials/onepassword/vaults/items/fields.js +17 -0
  78. package/resources/credentials/onepassword/vaults/items/fields.js.map +1 -0
  79. package/resources/credentials/onepassword/vaults/items/fields.mjs +13 -0
  80. package/resources/credentials/onepassword/vaults/items/fields.mjs.map +1 -0
  81. package/resources/credentials/onepassword/vaults/items/index.d.mts +3 -0
  82. package/resources/credentials/onepassword/vaults/items/index.d.mts.map +1 -0
  83. package/resources/credentials/onepassword/vaults/items/index.d.ts +3 -0
  84. package/resources/credentials/onepassword/vaults/items/index.d.ts.map +1 -0
  85. package/resources/credentials/onepassword/vaults/items/index.js +9 -0
  86. package/resources/credentials/onepassword/vaults/items/index.js.map +1 -0
  87. package/resources/credentials/onepassword/vaults/items/index.mjs +4 -0
  88. package/resources/credentials/onepassword/vaults/items/index.mjs.map +1 -0
  89. package/resources/credentials/onepassword/vaults/items/items.d.mts +34 -0
  90. package/resources/credentials/onepassword/vaults/items/items.d.mts.map +1 -0
  91. package/resources/credentials/onepassword/vaults/items/items.d.ts +34 -0
  92. package/resources/credentials/onepassword/vaults/items/items.d.ts.map +1 -0
  93. package/resources/credentials/onepassword/vaults/items/items.js +24 -0
  94. package/resources/credentials/onepassword/vaults/items/items.js.map +1 -0
  95. package/resources/credentials/onepassword/vaults/items/items.mjs +19 -0
  96. package/resources/credentials/onepassword/vaults/items/items.mjs.map +1 -0
  97. package/resources/credentials/onepassword/vaults/items.d.mts +2 -0
  98. package/resources/credentials/onepassword/vaults/items.d.mts.map +1 -0
  99. package/resources/credentials/onepassword/vaults/items.d.ts +2 -0
  100. package/resources/credentials/onepassword/vaults/items.d.ts.map +1 -0
  101. package/resources/credentials/onepassword/vaults/items.js +6 -0
  102. package/resources/credentials/onepassword/vaults/items.js.map +1 -0
  103. package/resources/credentials/onepassword/vaults/items.mjs +3 -0
  104. package/resources/credentials/onepassword/vaults/items.mjs.map +1 -0
  105. package/resources/credentials/onepassword/vaults/vaults.d.mts +10 -0
  106. package/resources/credentials/onepassword/vaults/vaults.d.mts.map +1 -0
  107. package/resources/credentials/onepassword/vaults/vaults.d.ts +10 -0
  108. package/resources/credentials/onepassword/vaults/vaults.d.ts.map +1 -0
  109. package/resources/credentials/onepassword/vaults/vaults.js +17 -0
  110. package/resources/credentials/onepassword/vaults/vaults.js.map +1 -0
  111. package/resources/credentials/onepassword/vaults/vaults.mjs +12 -0
  112. package/resources/credentials/onepassword/vaults/vaults.mjs.map +1 -0
  113. package/resources/credentials/onepassword/vaults.d.mts +2 -0
  114. package/resources/credentials/onepassword/vaults.d.mts.map +1 -0
  115. package/resources/credentials/onepassword/vaults.d.ts +2 -0
  116. package/resources/credentials/onepassword/vaults.d.ts.map +1 -0
  117. package/resources/credentials/onepassword/vaults.js +6 -0
  118. package/resources/credentials/onepassword/vaults.js.map +1 -0
  119. package/resources/credentials/onepassword/vaults.mjs +3 -0
  120. package/resources/credentials/onepassword/vaults.mjs.map +1 -0
  121. package/resources/credentials/onepassword.d.mts +2 -0
  122. package/resources/credentials/onepassword.d.mts.map +1 -0
  123. package/resources/credentials/onepassword.d.ts +2 -0
  124. package/resources/credentials/onepassword.d.ts.map +1 -0
  125. package/resources/credentials/onepassword.js +6 -0
  126. package/resources/credentials/onepassword.js.map +1 -0
  127. package/resources/credentials/onepassword.mjs +3 -0
  128. package/resources/credentials/onepassword.mjs.map +1 -0
  129. package/resources/credentials/packages/credentials/credentials.d.mts +32 -32
  130. package/resources/credentials/packages/credentials/credentials.d.mts.map +1 -1
  131. package/resources/credentials/packages/credentials/credentials.d.ts +32 -32
  132. package/resources/credentials/packages/credentials/credentials.d.ts.map +1 -1
  133. package/resources/credentials/packages/credentials/credentials.js +0 -8
  134. package/resources/credentials/packages/credentials/credentials.js.map +1 -1
  135. package/resources/credentials/packages/credentials/credentials.mjs +0 -8
  136. package/resources/credentials/packages/credentials/credentials.mjs.map +1 -1
  137. package/resources/credentials/packages/credentials/fields.d.mts +48 -0
  138. package/resources/credentials/packages/credentials/fields.d.mts.map +1 -1
  139. package/resources/credentials/packages/credentials/fields.d.ts +48 -0
  140. package/resources/credentials/packages/credentials/fields.d.ts.map +1 -1
  141. package/resources/credentials/packages/credentials/index.d.mts +1 -1
  142. package/resources/credentials/packages/credentials/index.d.mts.map +1 -1
  143. package/resources/credentials/packages/credentials/index.d.ts +1 -1
  144. package/resources/credentials/packages/credentials/index.d.ts.map +1 -1
  145. package/resources/credentials/packages/credentials/index.js.map +1 -1
  146. package/resources/credentials/packages/credentials/index.mjs.map +1 -1
  147. package/resources/credentials/packages/index.d.mts +2 -1
  148. package/resources/credentials/packages/index.d.mts.map +1 -1
  149. package/resources/credentials/packages/index.d.ts +2 -1
  150. package/resources/credentials/packages/index.d.ts.map +1 -1
  151. package/resources/credentials/packages/index.js +3 -1
  152. package/resources/credentials/packages/index.js.map +1 -1
  153. package/resources/credentials/packages/index.mjs +1 -0
  154. package/resources/credentials/packages/index.mjs.map +1 -1
  155. package/resources/credentials/packages/links.d.mts +65 -0
  156. package/resources/credentials/packages/links.d.mts.map +1 -0
  157. package/resources/credentials/packages/links.d.ts +65 -0
  158. package/resources/credentials/packages/links.d.ts.map +1 -0
  159. package/resources/credentials/packages/links.js +16 -0
  160. package/resources/credentials/packages/links.js.map +1 -0
  161. package/resources/credentials/packages/links.mjs +12 -0
  162. package/resources/credentials/packages/links.mjs.map +1 -0
  163. package/resources/credentials/packages/packages.d.mts +22 -2
  164. package/resources/credentials/packages/packages.d.mts.map +1 -1
  165. package/resources/credentials/packages/packages.d.ts +22 -2
  166. package/resources/credentials/packages/packages.d.ts.map +1 -1
  167. package/resources/credentials/packages/packages.js +4 -0
  168. package/resources/credentials/packages/packages.js.map +1 -1
  169. package/resources/credentials/packages/packages.mjs +4 -0
  170. package/resources/credentials/packages/packages.mjs.map +1 -1
  171. package/resources/devices/apps.d.mts +14 -12
  172. package/resources/devices/apps.d.mts.map +1 -1
  173. package/resources/devices/apps.d.ts +14 -12
  174. package/resources/devices/apps.d.ts.map +1 -1
  175. package/resources/devices/apps.js +12 -10
  176. package/resources/devices/apps.js.map +1 -1
  177. package/resources/devices/apps.mjs +12 -10
  178. package/resources/devices/apps.mjs.map +1 -1
  179. package/resources/devices/devices.d.mts +62 -32
  180. package/resources/devices/devices.d.mts.map +1 -1
  181. package/resources/devices/devices.d.ts +62 -32
  182. package/resources/devices/devices.d.ts.map +1 -1
  183. package/resources/devices/devices.js +25 -17
  184. package/resources/devices/devices.js.map +1 -1
  185. package/resources/devices/devices.mjs +25 -17
  186. package/resources/devices/devices.mjs.map +1 -1
  187. package/resources/devices/index.d.mts +1 -2
  188. package/resources/devices/index.d.mts.map +1 -1
  189. package/resources/devices/index.d.ts +1 -2
  190. package/resources/devices/index.d.ts.map +1 -1
  191. package/resources/devices/index.js +1 -3
  192. package/resources/devices/index.js.map +1 -1
  193. package/resources/devices/index.mjs +0 -1
  194. package/resources/devices/index.mjs.map +1 -1
  195. package/resources/devices/keyboard.d.mts +1 -1
  196. package/resources/devices/keyboard.d.ts +1 -1
  197. package/resources/devices/language.d.mts +6 -4
  198. package/resources/devices/language.d.mts.map +1 -1
  199. package/resources/devices/language.d.ts +6 -4
  200. package/resources/devices/language.d.ts.map +1 -1
  201. package/resources/devices/language.js +3 -2
  202. package/resources/devices/language.js.map +1 -1
  203. package/resources/devices/language.mjs +3 -2
  204. package/resources/devices/language.mjs.map +1 -1
  205. package/resources/devices/state.d.mts +1 -0
  206. package/resources/devices/state.d.mts.map +1 -1
  207. package/resources/devices/state.d.ts +1 -0
  208. package/resources/devices/state.d.ts.map +1 -1
  209. package/resources/index.d.mts +1 -1
  210. package/resources/index.d.mts.map +1 -1
  211. package/resources/index.d.ts +1 -1
  212. package/resources/index.d.ts.map +1 -1
  213. package/resources/index.js.map +1 -1
  214. package/resources/index.mjs.map +1 -1
  215. package/resources/mailboxes/messages.d.mts +13 -0
  216. package/resources/mailboxes/messages.d.mts.map +1 -1
  217. package/resources/mailboxes/messages.d.ts +13 -0
  218. package/resources/mailboxes/messages.d.ts.map +1 -1
  219. package/resources/mailboxes/messages.js +2 -2
  220. package/resources/mailboxes/messages.js.map +1 -1
  221. package/resources/mailboxes/messages.mjs +2 -2
  222. package/resources/mailboxes/messages.mjs.map +1 -1
  223. package/resources/messages/conversations.d.mts +6 -0
  224. package/resources/messages/conversations.d.mts.map +1 -1
  225. package/resources/messages/conversations.d.ts +6 -0
  226. package/resources/messages/conversations.d.ts.map +1 -1
  227. package/resources/messages/messages.d.mts +28 -0
  228. package/resources/messages/messages.d.mts.map +1 -1
  229. package/resources/messages/messages.d.ts +28 -0
  230. package/resources/messages/messages.d.ts.map +1 -1
  231. package/resources/messages/messages.js.map +1 -1
  232. package/resources/messages/messages.mjs.map +1 -1
  233. package/resources/numbers/messages.d.mts +27 -1
  234. package/resources/numbers/messages.d.mts.map +1 -1
  235. package/resources/numbers/messages.d.ts +27 -1
  236. package/resources/numbers/messages.d.ts.map +1 -1
  237. package/resources/numbers/numbers.d.mts +108 -0
  238. package/resources/numbers/numbers.d.mts.map +1 -1
  239. package/resources/numbers/numbers.d.ts +108 -0
  240. package/resources/numbers/numbers.d.ts.map +1 -1
  241. package/resources/numbers/numbers.js.map +1 -1
  242. package/resources/numbers/numbers.mjs.map +1 -1
  243. package/resources/tasks/tasks.d.mts +6 -2
  244. package/resources/tasks/tasks.d.mts.map +1 -1
  245. package/resources/tasks/tasks.d.ts +6 -2
  246. package/resources/tasks/tasks.d.ts.map +1 -1
  247. package/resources/tasks/tasks.js.map +1 -1
  248. package/resources/tasks/tasks.mjs.map +1 -1
  249. package/resources/workflows/events.d.mts +1 -0
  250. package/resources/workflows/events.d.mts.map +1 -1
  251. package/resources/workflows/events.d.ts +1 -0
  252. package/resources/workflows/events.d.ts.map +1 -1
  253. package/resources/workflows/executions/executions.d.mts +10 -0
  254. package/resources/workflows/executions/executions.d.mts.map +1 -1
  255. package/resources/workflows/executions/executions.d.ts +10 -0
  256. package/resources/workflows/executions/executions.d.ts.map +1 -1
  257. package/resources/workflows/executions/executions.js.map +1 -1
  258. package/resources/workflows/executions/executions.mjs.map +1 -1
  259. package/resources/workflows/flows/flows.d.mts +31 -11
  260. package/resources/workflows/flows/flows.d.mts.map +1 -1
  261. package/resources/workflows/flows/flows.d.ts +31 -11
  262. package/resources/workflows/flows/flows.d.ts.map +1 -1
  263. package/resources/workflows/flows/flows.js +11 -10
  264. package/resources/workflows/flows/flows.js.map +1 -1
  265. package/resources/workflows/flows/flows.mjs +11 -10
  266. package/resources/workflows/flows/flows.mjs.map +1 -1
  267. package/resources/workflows/flows/index.d.mts +1 -1
  268. package/resources/workflows/flows/index.d.mts.map +1 -1
  269. package/resources/workflows/flows/index.d.ts +1 -1
  270. package/resources/workflows/flows/index.d.ts.map +1 -1
  271. package/resources/workflows/flows/index.js.map +1 -1
  272. package/resources/workflows/flows/index.mjs.map +1 -1
  273. package/resources/workflows/index.d.mts +1 -1
  274. package/resources/workflows/index.d.mts.map +1 -1
  275. package/resources/workflows/index.d.ts +1 -1
  276. package/resources/workflows/index.d.ts.map +1 -1
  277. package/resources/workflows/index.js.map +1 -1
  278. package/resources/workflows/index.mjs.map +1 -1
  279. package/resources/workflows/workflows.d.mts +2 -2
  280. package/resources/workflows/workflows.d.mts.map +1 -1
  281. package/resources/workflows/workflows.d.ts +2 -2
  282. package/resources/workflows/workflows.d.ts.map +1 -1
  283. package/resources/workflows/workflows.js.map +1 -1
  284. package/resources/workflows/workflows.mjs.map +1 -1
  285. package/src/client.ts +2 -0
  286. package/src/resources/assistant/conversations.ts +28 -0
  287. package/src/resources/connect/connect.ts +2 -0
  288. package/src/resources/connect/index.ts +1 -0
  289. package/src/resources/connect/proxies.ts +27 -0
  290. package/src/resources/credentials/credentials.ts +51 -0
  291. package/src/resources/credentials/index.ts +7 -0
  292. package/src/resources/credentials/onepassword/index.ts +10 -0
  293. package/src/resources/credentials/onepassword/onepassword.ts +101 -0
  294. package/src/resources/credentials/onepassword/vaults/index.ts +4 -0
  295. package/src/resources/credentials/onepassword/vaults/items/fields.ts +40 -0
  296. package/src/resources/credentials/onepassword/vaults/items/index.ts +4 -0
  297. package/src/resources/credentials/onepassword/vaults/items/items.ts +55 -0
  298. package/src/resources/credentials/onepassword/vaults/items.ts +3 -0
  299. package/src/resources/credentials/onepassword/vaults/vaults.ts +15 -0
  300. package/src/resources/credentials/onepassword/vaults.ts +3 -0
  301. package/src/resources/credentials/onepassword.ts +3 -0
  302. package/src/resources/credentials/packages/credentials/credentials.ts +58 -55
  303. package/src/resources/credentials/packages/credentials/fields.ts +99 -0
  304. package/src/resources/credentials/packages/credentials/index.ts +0 -2
  305. package/src/resources/credentials/packages/index.ts +1 -2
  306. package/src/resources/credentials/packages/links.ts +122 -0
  307. package/src/resources/credentials/packages/packages.ts +43 -4
  308. package/src/resources/devices/apps.ts +14 -12
  309. package/src/resources/devices/devices.ts +77 -59
  310. package/src/resources/devices/index.ts +1 -9
  311. package/src/resources/devices/keyboard.ts +1 -1
  312. package/src/resources/devices/language.ts +6 -4
  313. package/src/resources/devices/state.ts +2 -0
  314. package/src/resources/index.ts +1 -0
  315. package/src/resources/mailboxes/messages.ts +17 -2
  316. package/src/resources/messages/conversations.ts +6 -0
  317. package/src/resources/messages/messages.ts +32 -0
  318. package/src/resources/numbers/messages.ts +31 -1
  319. package/src/resources/numbers/numbers.ts +124 -0
  320. package/src/resources/tasks/tasks.ts +6 -2
  321. package/src/resources/workflows/events.ts +2 -0
  322. package/src/resources/workflows/executions/executions.ts +12 -0
  323. package/src/resources/workflows/flows/flows.ts +44 -11
  324. package/src/resources/workflows/flows/index.ts +1 -0
  325. package/src/resources/workflows/index.ts +1 -0
  326. package/src/resources/workflows/workflows.ts +2 -0
  327. package/src/version.ts +1 -1
  328. package/version.d.mts +1 -1
  329. package/version.d.ts +1 -1
  330. package/version.js +1 -1
  331. package/version.mjs +1 -1
  332. package/resources/devices/media-sessions.d.mts +0 -96
  333. package/resources/devices/media-sessions.d.mts.map +0 -1
  334. package/resources/devices/media-sessions.d.ts +0 -96
  335. package/resources/devices/media-sessions.d.ts.map +0 -1
  336. package/resources/devices/media-sessions.js +0 -50
  337. package/resources/devices/media-sessions.js.map +0 -1
  338. package/resources/devices/media-sessions.mjs +0 -46
  339. package/resources/devices/media-sessions.mjs.map +0 -1
  340. package/src/resources/devices/media-sessions.ts +0 -168
@@ -0,0 +1,65 @@
1
+ import { APIResource } from "../../../core/resource.mjs";
2
+ import * as VaultsAPI from "./vaults/vaults.mjs";
3
+ import { Vaults } from "./vaults/vaults.mjs";
4
+ import { APIPromise } from "../../../core/api-promise.mjs";
5
+ import { RequestOptions } from "../../../internal/request-options.mjs";
6
+ export declare class Onepassword extends APIResource {
7
+ vaults: VaultsAPI.Vaults;
8
+ /**
9
+ * Get 1Password connection
10
+ */
11
+ retrieve(options?: RequestOptions): APIPromise<OnepasswordRetrieveResponse>;
12
+ /**
13
+ * Connect a 1Password service account
14
+ */
15
+ connect(body: OnepasswordConnectParams, options?: RequestOptions): APIPromise<OnepasswordConnectResponse>;
16
+ /**
17
+ * Disconnect 1Password
18
+ */
19
+ disconnect(options?: RequestOptions): APIPromise<OnepasswordDisconnectResponse>;
20
+ }
21
+ export interface OnepasswordRetrieveResponse {
22
+ data: OnepasswordRetrieveResponse.Data;
23
+ }
24
+ export declare namespace OnepasswordRetrieveResponse {
25
+ interface Data {
26
+ connected: boolean;
27
+ connectedAt?: string;
28
+ connectedBy?: string;
29
+ vaults?: Array<Data.Vault>;
30
+ }
31
+ namespace Data {
32
+ interface Vault {
33
+ id: string;
34
+ title: string;
35
+ }
36
+ }
37
+ }
38
+ export interface OnepasswordConnectResponse {
39
+ data: OnepasswordConnectResponse.Data;
40
+ }
41
+ export declare namespace OnepasswordConnectResponse {
42
+ interface Data {
43
+ connected: boolean;
44
+ connectedAt?: string;
45
+ connectedBy?: string;
46
+ vaults?: Array<Data.Vault>;
47
+ }
48
+ namespace Data {
49
+ interface Vault {
50
+ id: string;
51
+ title: string;
52
+ }
53
+ }
54
+ }
55
+ export interface OnepasswordDisconnectResponse {
56
+ message: string;
57
+ }
58
+ export interface OnepasswordConnectParams {
59
+ serviceAccountToken: string;
60
+ }
61
+ export declare namespace Onepassword {
62
+ export { type OnepasswordRetrieveResponse as OnepasswordRetrieveResponse, type OnepasswordConnectResponse as OnepasswordConnectResponse, type OnepasswordDisconnectResponse as OnepasswordDisconnectResponse, type OnepasswordConnectParams as OnepasswordConnectParams, };
63
+ export { Vaults as Vaults };
64
+ }
65
+ //# sourceMappingURL=onepassword.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"onepassword.d.mts","sourceRoot":"","sources":["../../../src/resources/credentials/onepassword/onepassword.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,mCAA+B;AACrD,OAAO,KAAK,SAAS,4BAAwB;AAC7C,OAAO,EAAE,MAAM,EAAE,4BAAwB;AACzC,OAAO,EAAE,UAAU,EAAE,sCAAkC;AACvD,OAAO,EAAE,cAAc,EAAE,8CAA0C;AAEnE,qBAAa,WAAY,SAAQ,WAAW;IAC1C,MAAM,EAAE,SAAS,CAAC,MAAM,CAAsC;IAE9D;;OAEG;IACH,QAAQ,CAAC,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,2BAA2B,CAAC;IAI3E;;OAEG;IACH,OAAO,CAAC,IAAI,EAAE,wBAAwB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,0BAA0B,CAAC;IAIzG;;OAEG;IACH,UAAU,CAAC,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,6BAA6B,CAAC;CAGhF;AAED,MAAM,WAAW,2BAA2B;IAC1C,IAAI,EAAE,2BAA2B,CAAC,IAAI,CAAC;CACxC;AAED,yBAAiB,2BAA2B,CAAC;IAC3C,UAAiB,IAAI;QACnB,SAAS,EAAE,OAAO,CAAC;QAEnB,WAAW,CAAC,EAAE,MAAM,CAAC;QAErB,WAAW,CAAC,EAAE,MAAM,CAAC;QAErB,MAAM,CAAC,EAAE,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;KAC5B;IAED,UAAiB,IAAI,CAAC;QACpB,UAAiB,KAAK;YACpB,EAAE,EAAE,MAAM,CAAC;YAEX,KAAK,EAAE,MAAM,CAAC;SACf;KACF;CACF;AAED,MAAM,WAAW,0BAA0B;IACzC,IAAI,EAAE,0BAA0B,CAAC,IAAI,CAAC;CACvC;AAED,yBAAiB,0BAA0B,CAAC;IAC1C,UAAiB,IAAI;QACnB,SAAS,EAAE,OAAO,CAAC;QAEnB,WAAW,CAAC,EAAE,MAAM,CAAC;QAErB,WAAW,CAAC,EAAE,MAAM,CAAC;QAErB,MAAM,CAAC,EAAE,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;KAC5B;IAED,UAAiB,IAAI,CAAC;QACpB,UAAiB,KAAK;YACpB,EAAE,EAAE,MAAM,CAAC;YAEX,KAAK,EAAE,MAAM,CAAC;SACf;KACF;CACF;AAED,MAAM,WAAW,6BAA6B;IAC5C,OAAO,EAAE,MAAM,CAAC;CACjB;AAED,MAAM,WAAW,wBAAwB;IACvC,mBAAmB,EAAE,MAAM,CAAC;CAC7B;AAID,MAAM,CAAC,OAAO,WAAW,WAAW,CAAC;IACnC,OAAO,EACL,KAAK,2BAA2B,IAAI,2BAA2B,EAC/D,KAAK,0BAA0B,IAAI,0BAA0B,EAC7D,KAAK,6BAA6B,IAAI,6BAA6B,EACnE,KAAK,wBAAwB,IAAI,wBAAwB,GAC1D,CAAC;IAEF,OAAO,EAAE,MAAM,IAAI,MAAM,EAAE,CAAC;CAC7B"}
@@ -0,0 +1,65 @@
1
+ import { APIResource } from "../../../core/resource.js";
2
+ import * as VaultsAPI from "./vaults/vaults.js";
3
+ import { Vaults } from "./vaults/vaults.js";
4
+ import { APIPromise } from "../../../core/api-promise.js";
5
+ import { RequestOptions } from "../../../internal/request-options.js";
6
+ export declare class Onepassword extends APIResource {
7
+ vaults: VaultsAPI.Vaults;
8
+ /**
9
+ * Get 1Password connection
10
+ */
11
+ retrieve(options?: RequestOptions): APIPromise<OnepasswordRetrieveResponse>;
12
+ /**
13
+ * Connect a 1Password service account
14
+ */
15
+ connect(body: OnepasswordConnectParams, options?: RequestOptions): APIPromise<OnepasswordConnectResponse>;
16
+ /**
17
+ * Disconnect 1Password
18
+ */
19
+ disconnect(options?: RequestOptions): APIPromise<OnepasswordDisconnectResponse>;
20
+ }
21
+ export interface OnepasswordRetrieveResponse {
22
+ data: OnepasswordRetrieveResponse.Data;
23
+ }
24
+ export declare namespace OnepasswordRetrieveResponse {
25
+ interface Data {
26
+ connected: boolean;
27
+ connectedAt?: string;
28
+ connectedBy?: string;
29
+ vaults?: Array<Data.Vault>;
30
+ }
31
+ namespace Data {
32
+ interface Vault {
33
+ id: string;
34
+ title: string;
35
+ }
36
+ }
37
+ }
38
+ export interface OnepasswordConnectResponse {
39
+ data: OnepasswordConnectResponse.Data;
40
+ }
41
+ export declare namespace OnepasswordConnectResponse {
42
+ interface Data {
43
+ connected: boolean;
44
+ connectedAt?: string;
45
+ connectedBy?: string;
46
+ vaults?: Array<Data.Vault>;
47
+ }
48
+ namespace Data {
49
+ interface Vault {
50
+ id: string;
51
+ title: string;
52
+ }
53
+ }
54
+ }
55
+ export interface OnepasswordDisconnectResponse {
56
+ message: string;
57
+ }
58
+ export interface OnepasswordConnectParams {
59
+ serviceAccountToken: string;
60
+ }
61
+ export declare namespace Onepassword {
62
+ export { type OnepasswordRetrieveResponse as OnepasswordRetrieveResponse, type OnepasswordConnectResponse as OnepasswordConnectResponse, type OnepasswordDisconnectResponse as OnepasswordDisconnectResponse, type OnepasswordConnectParams as OnepasswordConnectParams, };
63
+ export { Vaults as Vaults };
64
+ }
65
+ //# sourceMappingURL=onepassword.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"onepassword.d.ts","sourceRoot":"","sources":["../../../src/resources/credentials/onepassword/onepassword.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,kCAA+B;AACrD,OAAO,KAAK,SAAS,2BAAwB;AAC7C,OAAO,EAAE,MAAM,EAAE,2BAAwB;AACzC,OAAO,EAAE,UAAU,EAAE,qCAAkC;AACvD,OAAO,EAAE,cAAc,EAAE,6CAA0C;AAEnE,qBAAa,WAAY,SAAQ,WAAW;IAC1C,MAAM,EAAE,SAAS,CAAC,MAAM,CAAsC;IAE9D;;OAEG;IACH,QAAQ,CAAC,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,2BAA2B,CAAC;IAI3E;;OAEG;IACH,OAAO,CAAC,IAAI,EAAE,wBAAwB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,0BAA0B,CAAC;IAIzG;;OAEG;IACH,UAAU,CAAC,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,6BAA6B,CAAC;CAGhF;AAED,MAAM,WAAW,2BAA2B;IAC1C,IAAI,EAAE,2BAA2B,CAAC,IAAI,CAAC;CACxC;AAED,yBAAiB,2BAA2B,CAAC;IAC3C,UAAiB,IAAI;QACnB,SAAS,EAAE,OAAO,CAAC;QAEnB,WAAW,CAAC,EAAE,MAAM,CAAC;QAErB,WAAW,CAAC,EAAE,MAAM,CAAC;QAErB,MAAM,CAAC,EAAE,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;KAC5B;IAED,UAAiB,IAAI,CAAC;QACpB,UAAiB,KAAK;YACpB,EAAE,EAAE,MAAM,CAAC;YAEX,KAAK,EAAE,MAAM,CAAC;SACf;KACF;CACF;AAED,MAAM,WAAW,0BAA0B;IACzC,IAAI,EAAE,0BAA0B,CAAC,IAAI,CAAC;CACvC;AAED,yBAAiB,0BAA0B,CAAC;IAC1C,UAAiB,IAAI;QACnB,SAAS,EAAE,OAAO,CAAC;QAEnB,WAAW,CAAC,EAAE,MAAM,CAAC;QAErB,WAAW,CAAC,EAAE,MAAM,CAAC;QAErB,MAAM,CAAC,EAAE,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;KAC5B;IAED,UAAiB,IAAI,CAAC;QACpB,UAAiB,KAAK;YACpB,EAAE,EAAE,MAAM,CAAC;YAEX,KAAK,EAAE,MAAM,CAAC;SACf;KACF;CACF;AAED,MAAM,WAAW,6BAA6B;IAC5C,OAAO,EAAE,MAAM,CAAC;CACjB;AAED,MAAM,WAAW,wBAAwB;IACvC,mBAAmB,EAAE,MAAM,CAAC;CAC7B;AAID,MAAM,CAAC,OAAO,WAAW,WAAW,CAAC;IACnC,OAAO,EACL,KAAK,2BAA2B,IAAI,2BAA2B,EAC/D,KAAK,0BAA0B,IAAI,0BAA0B,EAC7D,KAAK,6BAA6B,IAAI,6BAA6B,EACnE,KAAK,wBAAwB,IAAI,wBAAwB,GAC1D,CAAC;IAEF,OAAO,EAAE,MAAM,IAAI,MAAM,EAAE,CAAC;CAC7B"}
@@ -0,0 +1,35 @@
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.Onepassword = void 0;
5
+ const tslib_1 = require("../../../internal/tslib.js");
6
+ const resource_1 = require("../../../core/resource.js");
7
+ const VaultsAPI = tslib_1.__importStar(require("./vaults/vaults.js"));
8
+ const vaults_1 = require("./vaults/vaults.js");
9
+ class Onepassword extends resource_1.APIResource {
10
+ constructor() {
11
+ super(...arguments);
12
+ this.vaults = new VaultsAPI.Vaults(this._client);
13
+ }
14
+ /**
15
+ * Get 1Password connection
16
+ */
17
+ retrieve(options) {
18
+ return this._client.get('/credentials/onepassword', options);
19
+ }
20
+ /**
21
+ * Connect a 1Password service account
22
+ */
23
+ connect(body, options) {
24
+ return this._client.put('/credentials/onepassword', { body, ...options });
25
+ }
26
+ /**
27
+ * Disconnect 1Password
28
+ */
29
+ disconnect(options) {
30
+ return this._client.delete('/credentials/onepassword', options);
31
+ }
32
+ }
33
+ exports.Onepassword = Onepassword;
34
+ Onepassword.Vaults = vaults_1.Vaults;
35
+ //# sourceMappingURL=onepassword.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"onepassword.js","sourceRoot":"","sources":["../../../src/resources/credentials/onepassword/onepassword.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;;AAEtF,wDAAqD;AACrD,sEAA6C;AAC7C,+CAAyC;AAIzC,MAAa,WAAY,SAAQ,sBAAW;IAA5C;;QACE,WAAM,GAAqB,IAAI,SAAS,CAAC,MAAM,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IAsBhE,CAAC;IApBC;;OAEG;IACH,QAAQ,CAAC,OAAwB;QAC/B,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,0BAA0B,EAAE,OAAO,CAAC,CAAC;IAC/D,CAAC;IAED;;OAEG;IACH,OAAO,CAAC,IAA8B,EAAE,OAAwB;QAC9D,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,0BAA0B,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC5E,CAAC;IAED;;OAEG;IACH,UAAU,CAAC,OAAwB;QACjC,OAAO,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,0BAA0B,EAAE,OAAO,CAAC,CAAC;IAClE,CAAC;CACF;AAvBD,kCAuBC;AA0DD,WAAW,CAAC,MAAM,GAAG,eAAM,CAAC"}
@@ -0,0 +1,30 @@
1
+ // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
+ import { APIResource } from "../../../core/resource.mjs";
3
+ import * as VaultsAPI from "./vaults/vaults.mjs";
4
+ import { Vaults } from "./vaults/vaults.mjs";
5
+ export class Onepassword extends APIResource {
6
+ constructor() {
7
+ super(...arguments);
8
+ this.vaults = new VaultsAPI.Vaults(this._client);
9
+ }
10
+ /**
11
+ * Get 1Password connection
12
+ */
13
+ retrieve(options) {
14
+ return this._client.get('/credentials/onepassword', options);
15
+ }
16
+ /**
17
+ * Connect a 1Password service account
18
+ */
19
+ connect(body, options) {
20
+ return this._client.put('/credentials/onepassword', { body, ...options });
21
+ }
22
+ /**
23
+ * Disconnect 1Password
24
+ */
25
+ disconnect(options) {
26
+ return this._client.delete('/credentials/onepassword', options);
27
+ }
28
+ }
29
+ Onepassword.Vaults = Vaults;
30
+ //# sourceMappingURL=onepassword.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"onepassword.mjs","sourceRoot":"","sources":["../../../src/resources/credentials/onepassword/onepassword.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EAAE,WAAW,EAAE,mCAA+B;AACrD,OAAO,KAAK,SAAS,4BAAwB;AAC7C,OAAO,EAAE,MAAM,EAAE,4BAAwB;AAIzC,MAAM,OAAO,WAAY,SAAQ,WAAW;IAA5C;;QACE,WAAM,GAAqB,IAAI,SAAS,CAAC,MAAM,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IAsBhE,CAAC;IApBC;;OAEG;IACH,QAAQ,CAAC,OAAwB;QAC/B,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,0BAA0B,EAAE,OAAO,CAAC,CAAC;IAC/D,CAAC;IAED;;OAEG;IACH,OAAO,CAAC,IAA8B,EAAE,OAAwB;QAC9D,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,0BAA0B,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC5E,CAAC;IAED;;OAEG;IACH,UAAU,CAAC,OAAwB;QACjC,OAAO,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,0BAA0B,EAAE,OAAO,CAAC,CAAC;IAClE,CAAC;CACF;AA0DD,WAAW,CAAC,MAAM,GAAG,MAAM,CAAC"}
@@ -0,0 +1,3 @@
1
+ export { Items, type ItemListResponse } from "./items/index.mjs";
2
+ export { Vaults } from "./vaults.mjs";
3
+ //# sourceMappingURL=index.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../../../../src/resources/credentials/onepassword/vaults/index.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,EAAE,KAAK,gBAAgB,EAAE,0BAAsB;AAC7D,OAAO,EAAE,MAAM,EAAE,qBAAiB"}
@@ -0,0 +1,3 @@
1
+ export { Items, type ItemListResponse } from "./items/index.js";
2
+ export { Vaults } from "./vaults.js";
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/resources/credentials/onepassword/vaults/index.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,EAAE,KAAK,gBAAgB,EAAE,yBAAsB;AAC7D,OAAO,EAAE,MAAM,EAAE,oBAAiB"}
@@ -0,0 +1,9 @@
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.Vaults = exports.Items = void 0;
5
+ var index_1 = require("./items/index.js");
6
+ Object.defineProperty(exports, "Items", { enumerable: true, get: function () { return index_1.Items; } });
7
+ var vaults_1 = require("./vaults.js");
8
+ Object.defineProperty(exports, "Vaults", { enumerable: true, get: function () { return vaults_1.Vaults; } });
9
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/resources/credentials/onepassword/vaults/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,0CAA6D;AAApD,8FAAA,KAAK,OAAA;AACd,sCAAkC;AAAzB,gGAAA,MAAM,OAAA"}
@@ -0,0 +1,4 @@
1
+ // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
+ export { Items } from "./items/index.mjs";
3
+ export { Vaults } from "./vaults.mjs";
4
+ //# sourceMappingURL=index.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.mjs","sourceRoot":"","sources":["../../../../src/resources/credentials/onepassword/vaults/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EAAE,KAAK,EAAyB,0BAAsB;AAC7D,OAAO,EAAE,MAAM,EAAE,qBAAiB"}
@@ -0,0 +1,27 @@
1
+ import { APIResource } from "../../../../../core/resource.mjs";
2
+ import { APIPromise } from "../../../../../core/api-promise.mjs";
3
+ import { RequestOptions } from "../../../../../internal/request-options.mjs";
4
+ export declare class Fields extends APIResource {
5
+ /**
6
+ * List 1Password field metadata
7
+ */
8
+ list(itemID: string, params: FieldListParams, options?: RequestOptions): APIPromise<FieldListResponse>;
9
+ }
10
+ export interface FieldListResponse {
11
+ data: Array<FieldListResponse.Data>;
12
+ }
13
+ export declare namespace FieldListResponse {
14
+ interface Data {
15
+ id: string;
16
+ fieldType: string;
17
+ title: string;
18
+ sectionId?: string;
19
+ }
20
+ }
21
+ export interface FieldListParams {
22
+ vaultId: string;
23
+ }
24
+ export declare namespace Fields {
25
+ export { type FieldListResponse as FieldListResponse, type FieldListParams as FieldListParams };
26
+ }
27
+ //# sourceMappingURL=fields.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"fields.d.mts","sourceRoot":"","sources":["../../../../../src/resources/credentials/onepassword/vaults/items/fields.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,yCAAqC;AAC3D,OAAO,EAAE,UAAU,EAAE,4CAAwC;AAC7D,OAAO,EAAE,cAAc,EAAE,oDAAgD;AAGzE,qBAAa,MAAO,SAAQ,WAAW;IACrC;;OAEG;IACH,IAAI,CAAC,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,eAAe,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,iBAAiB,CAAC;CAIvG;AAED,MAAM,WAAW,iBAAiB;IAChC,IAAI,EAAE,KAAK,CAAC,iBAAiB,CAAC,IAAI,CAAC,CAAC;CACrC;AAED,yBAAiB,iBAAiB,CAAC;IACjC,UAAiB,IAAI;QACnB,EAAE,EAAE,MAAM,CAAC;QAEX,SAAS,EAAE,MAAM,CAAC;QAElB,KAAK,EAAE,MAAM,CAAC;QAEd,SAAS,CAAC,EAAE,MAAM,CAAC;KACpB;CACF;AAED,MAAM,WAAW,eAAe;IAC9B,OAAO,EAAE,MAAM,CAAC;CACjB;AAED,MAAM,CAAC,OAAO,WAAW,MAAM,CAAC;IAC9B,OAAO,EAAE,KAAK,iBAAiB,IAAI,iBAAiB,EAAE,KAAK,eAAe,IAAI,eAAe,EAAE,CAAC;CACjG"}
@@ -0,0 +1,27 @@
1
+ import { APIResource } from "../../../../../core/resource.js";
2
+ import { APIPromise } from "../../../../../core/api-promise.js";
3
+ import { RequestOptions } from "../../../../../internal/request-options.js";
4
+ export declare class Fields extends APIResource {
5
+ /**
6
+ * List 1Password field metadata
7
+ */
8
+ list(itemID: string, params: FieldListParams, options?: RequestOptions): APIPromise<FieldListResponse>;
9
+ }
10
+ export interface FieldListResponse {
11
+ data: Array<FieldListResponse.Data>;
12
+ }
13
+ export declare namespace FieldListResponse {
14
+ interface Data {
15
+ id: string;
16
+ fieldType: string;
17
+ title: string;
18
+ sectionId?: string;
19
+ }
20
+ }
21
+ export interface FieldListParams {
22
+ vaultId: string;
23
+ }
24
+ export declare namespace Fields {
25
+ export { type FieldListResponse as FieldListResponse, type FieldListParams as FieldListParams };
26
+ }
27
+ //# sourceMappingURL=fields.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"fields.d.ts","sourceRoot":"","sources":["../../../../../src/resources/credentials/onepassword/vaults/items/fields.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,wCAAqC;AAC3D,OAAO,EAAE,UAAU,EAAE,2CAAwC;AAC7D,OAAO,EAAE,cAAc,EAAE,mDAAgD;AAGzE,qBAAa,MAAO,SAAQ,WAAW;IACrC;;OAEG;IACH,IAAI,CAAC,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,eAAe,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,iBAAiB,CAAC;CAIvG;AAED,MAAM,WAAW,iBAAiB;IAChC,IAAI,EAAE,KAAK,CAAC,iBAAiB,CAAC,IAAI,CAAC,CAAC;CACrC;AAED,yBAAiB,iBAAiB,CAAC;IACjC,UAAiB,IAAI;QACnB,EAAE,EAAE,MAAM,CAAC;QAEX,SAAS,EAAE,MAAM,CAAC;QAElB,KAAK,EAAE,MAAM,CAAC;QAEd,SAAS,CAAC,EAAE,MAAM,CAAC;KACpB;CACF;AAED,MAAM,WAAW,eAAe;IAC9B,OAAO,EAAE,MAAM,CAAC;CACjB;AAED,MAAM,CAAC,OAAO,WAAW,MAAM,CAAC;IAC9B,OAAO,EAAE,KAAK,iBAAiB,IAAI,iBAAiB,EAAE,KAAK,eAAe,IAAI,eAAe,EAAE,CAAC;CACjG"}
@@ -0,0 +1,17 @@
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.Fields = void 0;
5
+ const resource_1 = require("../../../../../core/resource.js");
6
+ const path_1 = require("../../../../../internal/utils/path.js");
7
+ class Fields extends resource_1.APIResource {
8
+ /**
9
+ * List 1Password field metadata
10
+ */
11
+ list(itemID, params, options) {
12
+ const { vaultId } = params;
13
+ return this._client.get((0, path_1.path) `/credentials/onepassword/vaults/${vaultId}/items/${itemID}/fields`, options);
14
+ }
15
+ }
16
+ exports.Fields = Fields;
17
+ //# sourceMappingURL=fields.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"fields.js","sourceRoot":"","sources":["../../../../../src/resources/credentials/onepassword/vaults/items/fields.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,8DAA2D;AAG3D,gEAA0D;AAE1D,MAAa,MAAO,SAAQ,sBAAW;IACrC;;OAEG;IACH,IAAI,CAAC,MAAc,EAAE,MAAuB,EAAE,OAAwB;QACpE,MAAM,EAAE,OAAO,EAAE,GAAG,MAAM,CAAC;QAC3B,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAA,WAAI,EAAA,mCAAmC,OAAO,UAAU,MAAM,SAAS,EAAE,OAAO,CAAC,CAAC;IAC5G,CAAC;CACF;AARD,wBAQC"}
@@ -0,0 +1,13 @@
1
+ // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
+ import { APIResource } from "../../../../../core/resource.mjs";
3
+ import { path } from "../../../../../internal/utils/path.mjs";
4
+ export class Fields extends APIResource {
5
+ /**
6
+ * List 1Password field metadata
7
+ */
8
+ list(itemID, params, options) {
9
+ const { vaultId } = params;
10
+ return this._client.get(path `/credentials/onepassword/vaults/${vaultId}/items/${itemID}/fields`, options);
11
+ }
12
+ }
13
+ //# sourceMappingURL=fields.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"fields.mjs","sourceRoot":"","sources":["../../../../../src/resources/credentials/onepassword/vaults/items/fields.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EAAE,WAAW,EAAE,yCAAqC;AAG3D,OAAO,EAAE,IAAI,EAAE,+CAA2C;AAE1D,MAAM,OAAO,MAAO,SAAQ,WAAW;IACrC;;OAEG;IACH,IAAI,CAAC,MAAc,EAAE,MAAuB,EAAE,OAAwB;QACpE,MAAM,EAAE,OAAO,EAAE,GAAG,MAAM,CAAC;QAC3B,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAA,mCAAmC,OAAO,UAAU,MAAM,SAAS,EAAE,OAAO,CAAC,CAAC;IAC5G,CAAC;CACF"}
@@ -0,0 +1,3 @@
1
+ export { Fields, type FieldListResponse, type FieldListParams } from "./fields.mjs";
2
+ export { Items, type ItemListResponse } from "./items.mjs";
3
+ //# sourceMappingURL=index.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../../../../../src/resources/credentials/onepassword/vaults/items/index.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,MAAM,EAAE,KAAK,iBAAiB,EAAE,KAAK,eAAe,EAAE,qBAAiB;AAChF,OAAO,EAAE,KAAK,EAAE,KAAK,gBAAgB,EAAE,oBAAgB"}
@@ -0,0 +1,3 @@
1
+ export { Fields, type FieldListResponse, type FieldListParams } from "./fields.js";
2
+ export { Items, type ItemListResponse } from "./items.js";
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/resources/credentials/onepassword/vaults/items/index.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,MAAM,EAAE,KAAK,iBAAiB,EAAE,KAAK,eAAe,EAAE,oBAAiB;AAChF,OAAO,EAAE,KAAK,EAAE,KAAK,gBAAgB,EAAE,mBAAgB"}
@@ -0,0 +1,9 @@
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.Items = exports.Fields = void 0;
5
+ var fields_1 = require("./fields.js");
6
+ Object.defineProperty(exports, "Fields", { enumerable: true, get: function () { return fields_1.Fields; } });
7
+ var items_1 = require("./items.js");
8
+ Object.defineProperty(exports, "Items", { enumerable: true, get: function () { return items_1.Items; } });
9
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/resources/credentials/onepassword/vaults/items/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,sCAAgF;AAAvE,gGAAA,MAAM,OAAA;AACf,oCAAuD;AAA9C,8FAAA,KAAK,OAAA"}
@@ -0,0 +1,4 @@
1
+ // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
+ export { Fields } from "./fields.mjs";
3
+ export { Items } from "./items.mjs";
4
+ //# sourceMappingURL=index.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.mjs","sourceRoot":"","sources":["../../../../../src/resources/credentials/onepassword/vaults/items/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EAAE,MAAM,EAAgD,qBAAiB;AAChF,OAAO,EAAE,KAAK,EAAyB,oBAAgB"}
@@ -0,0 +1,34 @@
1
+ import { APIResource } from "../../../../../core/resource.mjs";
2
+ import * as FieldsAPI from "./fields.mjs";
3
+ import { FieldListParams, FieldListResponse, Fields } from "./fields.mjs";
4
+ import { APIPromise } from "../../../../../core/api-promise.mjs";
5
+ import { RequestOptions } from "../../../../../internal/request-options.mjs";
6
+ export declare class Items extends APIResource {
7
+ fields: FieldsAPI.Fields;
8
+ /**
9
+ * List 1Password item metadata
10
+ */
11
+ list(vaultID: string, options?: RequestOptions): APIPromise<ItemListResponse>;
12
+ }
13
+ export interface ItemListResponse {
14
+ data: Array<ItemListResponse.Data>;
15
+ }
16
+ export declare namespace ItemListResponse {
17
+ interface Data {
18
+ id: string;
19
+ category: string;
20
+ title: string;
21
+ websites: Array<Data.Website>;
22
+ }
23
+ namespace Data {
24
+ interface Website {
25
+ label: string;
26
+ url: string;
27
+ }
28
+ }
29
+ }
30
+ export declare namespace Items {
31
+ export { type ItemListResponse as ItemListResponse };
32
+ export { Fields as Fields, type FieldListResponse as FieldListResponse, type FieldListParams as FieldListParams, };
33
+ }
34
+ //# sourceMappingURL=items.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"items.d.mts","sourceRoot":"","sources":["../../../../../src/resources/credentials/onepassword/vaults/items/items.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,yCAAqC;AAC3D,OAAO,KAAK,SAAS,qBAAiB;AACtC,OAAO,EAAE,eAAe,EAAE,iBAAiB,EAAE,MAAM,EAAE,qBAAiB;AACtE,OAAO,EAAE,UAAU,EAAE,4CAAwC;AAC7D,OAAO,EAAE,cAAc,EAAE,oDAAgD;AAGzE,qBAAa,KAAM,SAAQ,WAAW;IACpC,MAAM,EAAE,SAAS,CAAC,MAAM,CAAsC;IAE9D;;OAEG;IACH,IAAI,CAAC,OAAO,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,gBAAgB,CAAC;CAG9E;AAED,MAAM,WAAW,gBAAgB;IAC/B,IAAI,EAAE,KAAK,CAAC,gBAAgB,CAAC,IAAI,CAAC,CAAC;CACpC;AAED,yBAAiB,gBAAgB,CAAC;IAChC,UAAiB,IAAI;QACnB,EAAE,EAAE,MAAM,CAAC;QAEX,QAAQ,EAAE,MAAM,CAAC;QAEjB,KAAK,EAAE,MAAM,CAAC;QAEd,QAAQ,EAAE,KAAK,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;KAC/B;IAED,UAAiB,IAAI,CAAC;QACpB,UAAiB,OAAO;YACtB,KAAK,EAAE,MAAM,CAAC;YAEd,GAAG,EAAE,MAAM,CAAC;SACb;KACF;CACF;AAID,MAAM,CAAC,OAAO,WAAW,KAAK,CAAC;IAC7B,OAAO,EAAE,KAAK,gBAAgB,IAAI,gBAAgB,EAAE,CAAC;IAErD,OAAO,EACL,MAAM,IAAI,MAAM,EAChB,KAAK,iBAAiB,IAAI,iBAAiB,EAC3C,KAAK,eAAe,IAAI,eAAe,GACxC,CAAC;CACH"}
@@ -0,0 +1,34 @@
1
+ import { APIResource } from "../../../../../core/resource.js";
2
+ import * as FieldsAPI from "./fields.js";
3
+ import { FieldListParams, FieldListResponse, Fields } from "./fields.js";
4
+ import { APIPromise } from "../../../../../core/api-promise.js";
5
+ import { RequestOptions } from "../../../../../internal/request-options.js";
6
+ export declare class Items extends APIResource {
7
+ fields: FieldsAPI.Fields;
8
+ /**
9
+ * List 1Password item metadata
10
+ */
11
+ list(vaultID: string, options?: RequestOptions): APIPromise<ItemListResponse>;
12
+ }
13
+ export interface ItemListResponse {
14
+ data: Array<ItemListResponse.Data>;
15
+ }
16
+ export declare namespace ItemListResponse {
17
+ interface Data {
18
+ id: string;
19
+ category: string;
20
+ title: string;
21
+ websites: Array<Data.Website>;
22
+ }
23
+ namespace Data {
24
+ interface Website {
25
+ label: string;
26
+ url: string;
27
+ }
28
+ }
29
+ }
30
+ export declare namespace Items {
31
+ export { type ItemListResponse as ItemListResponse };
32
+ export { Fields as Fields, type FieldListResponse as FieldListResponse, type FieldListParams as FieldListParams, };
33
+ }
34
+ //# sourceMappingURL=items.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"items.d.ts","sourceRoot":"","sources":["../../../../../src/resources/credentials/onepassword/vaults/items/items.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,wCAAqC;AAC3D,OAAO,KAAK,SAAS,oBAAiB;AACtC,OAAO,EAAE,eAAe,EAAE,iBAAiB,EAAE,MAAM,EAAE,oBAAiB;AACtE,OAAO,EAAE,UAAU,EAAE,2CAAwC;AAC7D,OAAO,EAAE,cAAc,EAAE,mDAAgD;AAGzE,qBAAa,KAAM,SAAQ,WAAW;IACpC,MAAM,EAAE,SAAS,CAAC,MAAM,CAAsC;IAE9D;;OAEG;IACH,IAAI,CAAC,OAAO,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,gBAAgB,CAAC;CAG9E;AAED,MAAM,WAAW,gBAAgB;IAC/B,IAAI,EAAE,KAAK,CAAC,gBAAgB,CAAC,IAAI,CAAC,CAAC;CACpC;AAED,yBAAiB,gBAAgB,CAAC;IAChC,UAAiB,IAAI;QACnB,EAAE,EAAE,MAAM,CAAC;QAEX,QAAQ,EAAE,MAAM,CAAC;QAEjB,KAAK,EAAE,MAAM,CAAC;QAEd,QAAQ,EAAE,KAAK,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;KAC/B;IAED,UAAiB,IAAI,CAAC;QACpB,UAAiB,OAAO;YACtB,KAAK,EAAE,MAAM,CAAC;YAEd,GAAG,EAAE,MAAM,CAAC;SACb;KACF;CACF;AAID,MAAM,CAAC,OAAO,WAAW,KAAK,CAAC;IAC7B,OAAO,EAAE,KAAK,gBAAgB,IAAI,gBAAgB,EAAE,CAAC;IAErD,OAAO,EACL,MAAM,IAAI,MAAM,EAChB,KAAK,iBAAiB,IAAI,iBAAiB,EAC3C,KAAK,eAAe,IAAI,eAAe,GACxC,CAAC;CACH"}
@@ -0,0 +1,24 @@
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.Items = void 0;
5
+ const tslib_1 = require("../../../../../internal/tslib.js");
6
+ const resource_1 = require("../../../../../core/resource.js");
7
+ const FieldsAPI = tslib_1.__importStar(require("./fields.js"));
8
+ const fields_1 = require("./fields.js");
9
+ const path_1 = require("../../../../../internal/utils/path.js");
10
+ class Items extends resource_1.APIResource {
11
+ constructor() {
12
+ super(...arguments);
13
+ this.fields = new FieldsAPI.Fields(this._client);
14
+ }
15
+ /**
16
+ * List 1Password item metadata
17
+ */
18
+ list(vaultID, options) {
19
+ return this._client.get((0, path_1.path) `/credentials/onepassword/vaults/${vaultID}/items`, options);
20
+ }
21
+ }
22
+ exports.Items = Items;
23
+ Items.Fields = fields_1.Fields;
24
+ //# sourceMappingURL=items.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"items.js","sourceRoot":"","sources":["../../../../../src/resources/credentials/onepassword/vaults/items/items.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;;AAEtF,8DAA2D;AAC3D,+DAAsC;AACtC,wCAAsE;AAGtE,gEAA0D;AAE1D,MAAa,KAAM,SAAQ,sBAAW;IAAtC;;QACE,WAAM,GAAqB,IAAI,SAAS,CAAC,MAAM,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IAQhE,CAAC;IANC;;OAEG;IACH,IAAI,CAAC,OAAe,EAAE,OAAwB;QAC5C,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAA,WAAI,EAAA,mCAAmC,OAAO,QAAQ,EAAE,OAAO,CAAC,CAAC;IAC3F,CAAC;CACF;AATD,sBASC;AA0BD,KAAK,CAAC,MAAM,GAAG,eAAM,CAAC"}
@@ -0,0 +1,19 @@
1
+ // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
+ import { APIResource } from "../../../../../core/resource.mjs";
3
+ import * as FieldsAPI from "./fields.mjs";
4
+ import { Fields } from "./fields.mjs";
5
+ import { path } from "../../../../../internal/utils/path.mjs";
6
+ export class Items extends APIResource {
7
+ constructor() {
8
+ super(...arguments);
9
+ this.fields = new FieldsAPI.Fields(this._client);
10
+ }
11
+ /**
12
+ * List 1Password item metadata
13
+ */
14
+ list(vaultID, options) {
15
+ return this._client.get(path `/credentials/onepassword/vaults/${vaultID}/items`, options);
16
+ }
17
+ }
18
+ Items.Fields = Fields;
19
+ //# sourceMappingURL=items.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"items.mjs","sourceRoot":"","sources":["../../../../../src/resources/credentials/onepassword/vaults/items/items.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EAAE,WAAW,EAAE,yCAAqC;AAC3D,OAAO,KAAK,SAAS,qBAAiB;AACtC,OAAO,EAAsC,MAAM,EAAE,qBAAiB;AAGtE,OAAO,EAAE,IAAI,EAAE,+CAA2C;AAE1D,MAAM,OAAO,KAAM,SAAQ,WAAW;IAAtC;;QACE,WAAM,GAAqB,IAAI,SAAS,CAAC,MAAM,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IAQhE,CAAC;IANC;;OAEG;IACH,IAAI,CAAC,OAAe,EAAE,OAAwB;QAC5C,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAA,mCAAmC,OAAO,QAAQ,EAAE,OAAO,CAAC,CAAC;IAC3F,CAAC;CACF;AA0BD,KAAK,CAAC,MAAM,GAAG,MAAM,CAAC"}
@@ -0,0 +1,2 @@
1
+ export * from "./items/index.mjs";
2
+ //# sourceMappingURL=items.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"items.d.mts","sourceRoot":"","sources":["../../../../src/resources/credentials/onepassword/vaults/items.ts"],"names":[],"mappings":"AAEA,kCAA8B"}
@@ -0,0 +1,2 @@
1
+ export * from "./items/index.js";
2
+ //# sourceMappingURL=items.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"items.d.ts","sourceRoot":"","sources":["../../../../src/resources/credentials/onepassword/vaults/items.ts"],"names":[],"mappings":"AAEA,iCAA8B"}
@@ -0,0 +1,6 @@
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
+ const tslib_1 = require("../../../../internal/tslib.js");
5
+ tslib_1.__exportStar(require("./items/index.js"), exports);
6
+ //# sourceMappingURL=items.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"items.js","sourceRoot":"","sources":["../../../../src/resources/credentials/onepassword/vaults/items.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,2DAA8B"}
@@ -0,0 +1,3 @@
1
+ // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
+ export * from "./items/index.mjs";
3
+ //# sourceMappingURL=items.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"items.mjs","sourceRoot":"","sources":["../../../../src/resources/credentials/onepassword/vaults/items.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,kCAA8B"}
@@ -0,0 +1,10 @@
1
+ import { APIResource } from "../../../../core/resource.mjs";
2
+ import * as ItemsAPI from "./items/items.mjs";
3
+ import { ItemListResponse, Items } from "./items/items.mjs";
4
+ export declare class Vaults extends APIResource {
5
+ items: ItemsAPI.Items;
6
+ }
7
+ export declare namespace Vaults {
8
+ export { Items as Items, type ItemListResponse as ItemListResponse };
9
+ }
10
+ //# sourceMappingURL=vaults.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"vaults.d.mts","sourceRoot":"","sources":["../../../../src/resources/credentials/onepassword/vaults/vaults.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,sCAAkC;AACxD,OAAO,KAAK,QAAQ,0BAAsB;AAC1C,OAAO,EAAE,gBAAgB,EAAE,KAAK,EAAE,0BAAsB;AAExD,qBAAa,MAAO,SAAQ,WAAW;IACrC,KAAK,EAAE,QAAQ,CAAC,KAAK,CAAoC;CAC1D;AAID,MAAM,CAAC,OAAO,WAAW,MAAM,CAAC;IAC9B,OAAO,EAAE,KAAK,IAAI,KAAK,EAAE,KAAK,gBAAgB,IAAI,gBAAgB,EAAE,CAAC;CACtE"}
@@ -0,0 +1,10 @@
1
+ import { APIResource } from "../../../../core/resource.js";
2
+ import * as ItemsAPI from "./items/items.js";
3
+ import { ItemListResponse, Items } from "./items/items.js";
4
+ export declare class Vaults extends APIResource {
5
+ items: ItemsAPI.Items;
6
+ }
7
+ export declare namespace Vaults {
8
+ export { Items as Items, type ItemListResponse as ItemListResponse };
9
+ }
10
+ //# sourceMappingURL=vaults.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"vaults.d.ts","sourceRoot":"","sources":["../../../../src/resources/credentials/onepassword/vaults/vaults.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,qCAAkC;AACxD,OAAO,KAAK,QAAQ,yBAAsB;AAC1C,OAAO,EAAE,gBAAgB,EAAE,KAAK,EAAE,yBAAsB;AAExD,qBAAa,MAAO,SAAQ,WAAW;IACrC,KAAK,EAAE,QAAQ,CAAC,KAAK,CAAoC;CAC1D;AAID,MAAM,CAAC,OAAO,WAAW,MAAM,CAAC;IAC9B,OAAO,EAAE,KAAK,IAAI,KAAK,EAAE,KAAK,gBAAgB,IAAI,gBAAgB,EAAE,CAAC;CACtE"}