@unified-api/typescript-sdk 2.6.1 → 2.6.3

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/README.md +593 -572
  2. package/funcs/groupCreateScimGroups.d.ts +13 -0
  3. package/funcs/groupCreateScimGroups.d.ts.map +1 -0
  4. package/funcs/groupCreateScimGroups.js +94 -0
  5. package/funcs/groupCreateScimGroups.js.map +1 -0
  6. package/funcs/groupListScimGroups.d.ts +13 -0
  7. package/funcs/groupListScimGroups.d.ts.map +1 -0
  8. package/funcs/groupListScimGroups.js +102 -0
  9. package/funcs/groupListScimGroups.js.map +1 -0
  10. package/funcs/groupPatchScimGroups.d.ts +13 -0
  11. package/funcs/groupPatchScimGroups.d.ts.map +1 -0
  12. package/funcs/groupPatchScimGroups.js +98 -0
  13. package/funcs/groupPatchScimGroups.js.map +1 -0
  14. package/funcs/groupRemoveScimGroups.d.ts +12 -0
  15. package/funcs/groupRemoveScimGroups.d.ts.map +1 -0
  16. package/funcs/groupRemoveScimGroups.js +97 -0
  17. package/funcs/groupRemoveScimGroups.js.map +1 -0
  18. package/funcs/groupUpdateScimGroups.d.ts +13 -0
  19. package/funcs/groupUpdateScimGroups.d.ts.map +1 -0
  20. package/funcs/groupUpdateScimGroups.js +98 -0
  21. package/funcs/groupUpdateScimGroups.js.map +1 -0
  22. package/funcs/scimCreateScimGroups.d.ts +13 -0
  23. package/funcs/scimCreateScimGroups.d.ts.map +1 -0
  24. package/funcs/scimCreateScimGroups.js +94 -0
  25. package/funcs/scimCreateScimGroups.js.map +1 -0
  26. package/funcs/scimCreateScimUsers.d.ts +13 -0
  27. package/funcs/scimCreateScimUsers.d.ts.map +1 -0
  28. package/funcs/scimCreateScimUsers.js +102 -0
  29. package/funcs/scimCreateScimUsers.js.map +1 -0
  30. package/funcs/scimGetScimUsers.d.ts +13 -0
  31. package/funcs/scimGetScimUsers.d.ts.map +1 -0
  32. package/funcs/scimGetScimUsers.js +97 -0
  33. package/funcs/scimGetScimUsers.js.map +1 -0
  34. package/funcs/scimListScimGroups.d.ts +13 -0
  35. package/funcs/scimListScimGroups.d.ts.map +1 -0
  36. package/funcs/scimListScimGroups.js +102 -0
  37. package/funcs/scimListScimGroups.js.map +1 -0
  38. package/funcs/scimListScimUsers.d.ts +13 -0
  39. package/funcs/scimListScimUsers.d.ts.map +1 -0
  40. package/funcs/scimListScimUsers.js +102 -0
  41. package/funcs/scimListScimUsers.js.map +1 -0
  42. package/funcs/scimPatchScimGroups.d.ts +13 -0
  43. package/funcs/scimPatchScimGroups.d.ts.map +1 -0
  44. package/funcs/scimPatchScimGroups.js +98 -0
  45. package/funcs/scimPatchScimGroups.js.map +1 -0
  46. package/funcs/scimPatchScimUsers.d.ts +13 -0
  47. package/funcs/scimPatchScimUsers.d.ts.map +1 -0
  48. package/funcs/scimPatchScimUsers.js +98 -0
  49. package/funcs/scimPatchScimUsers.js.map +1 -0
  50. package/funcs/scimRemoveScimGroups.d.ts +12 -0
  51. package/funcs/scimRemoveScimGroups.d.ts.map +1 -0
  52. package/funcs/scimRemoveScimGroups.js +97 -0
  53. package/funcs/scimRemoveScimGroups.js.map +1 -0
  54. package/funcs/scimRemoveScimUsers.d.ts +12 -0
  55. package/funcs/scimRemoveScimUsers.d.ts.map +1 -0
  56. package/funcs/scimRemoveScimUsers.js +97 -0
  57. package/funcs/scimRemoveScimUsers.js.map +1 -0
  58. package/funcs/scimUpdateScimGroups.d.ts +13 -0
  59. package/funcs/scimUpdateScimGroups.d.ts.map +1 -0
  60. package/funcs/scimUpdateScimGroups.js +98 -0
  61. package/funcs/scimUpdateScimGroups.js.map +1 -0
  62. package/funcs/scimUpdateScimUsers.d.ts +13 -0
  63. package/funcs/scimUpdateScimUsers.d.ts.map +1 -0
  64. package/funcs/scimUpdateScimUsers.js +98 -0
  65. package/funcs/scimUpdateScimUsers.js.map +1 -0
  66. package/funcs/userCreateScimUsers.d.ts +13 -0
  67. package/funcs/userCreateScimUsers.d.ts.map +1 -0
  68. package/funcs/userCreateScimUsers.js +102 -0
  69. package/funcs/userCreateScimUsers.js.map +1 -0
  70. package/funcs/userGetScimUsers.d.ts +13 -0
  71. package/funcs/userGetScimUsers.d.ts.map +1 -0
  72. package/funcs/userGetScimUsers.js +97 -0
  73. package/funcs/userGetScimUsers.js.map +1 -0
  74. package/funcs/userListScimUsers.d.ts +13 -0
  75. package/funcs/userListScimUsers.d.ts.map +1 -0
  76. package/funcs/userListScimUsers.js +102 -0
  77. package/funcs/userListScimUsers.js.map +1 -0
  78. package/funcs/userPatchScimUsers.d.ts +13 -0
  79. package/funcs/userPatchScimUsers.d.ts.map +1 -0
  80. package/funcs/userPatchScimUsers.js +98 -0
  81. package/funcs/userPatchScimUsers.js.map +1 -0
  82. package/funcs/userRemoveScimUsers.d.ts +12 -0
  83. package/funcs/userRemoveScimUsers.d.ts.map +1 -0
  84. package/funcs/userRemoveScimUsers.js +97 -0
  85. package/funcs/userRemoveScimUsers.js.map +1 -0
  86. package/funcs/userUpdateScimUsers.d.ts +13 -0
  87. package/funcs/userUpdateScimUsers.d.ts.map +1 -0
  88. package/funcs/userUpdateScimUsers.js +98 -0
  89. package/funcs/userUpdateScimUsers.js.map +1 -0
  90. package/lib/config.d.ts +3 -3
  91. package/lib/config.js +3 -3
  92. package/package.json +1 -1
  93. package/sdk/group.d.ts +20 -0
  94. package/sdk/group.d.ts.map +1 -1
  95. package/sdk/group.js +35 -0
  96. package/sdk/group.js.map +1 -1
  97. package/sdk/models/operations/createscimgroups.d.ts +31 -0
  98. package/sdk/models/operations/createscimgroups.d.ts.map +1 -0
  99. package/sdk/models/operations/createscimgroups.js +64 -0
  100. package/sdk/models/operations/createscimgroups.js.map +1 -0
  101. package/sdk/models/operations/createscimusers.d.ts +41 -0
  102. package/sdk/models/operations/createscimusers.d.ts.map +1 -0
  103. package/sdk/models/operations/createscimusers.js +74 -0
  104. package/sdk/models/operations/createscimusers.js.map +1 -0
  105. package/sdk/models/operations/getscimusers.d.ts +33 -0
  106. package/sdk/models/operations/getscimusers.d.ts.map +1 -0
  107. package/sdk/models/operations/getscimusers.js +61 -0
  108. package/sdk/models/operations/getscimusers.js.map +1 -0
  109. package/sdk/models/operations/getunifiedintegrationauth.d.ts +12 -0
  110. package/sdk/models/operations/getunifiedintegrationauth.d.ts.map +1 -1
  111. package/sdk/models/operations/getunifiedintegrationauth.js +4 -0
  112. package/sdk/models/operations/getunifiedintegrationauth.js.map +1 -1
  113. package/sdk/models/operations/index.d.ts +11 -0
  114. package/sdk/models/operations/index.d.ts.map +1 -1
  115. package/sdk/models/operations/index.js +11 -0
  116. package/sdk/models/operations/index.js.map +1 -1
  117. package/sdk/models/operations/listscimgroups.d.ts +38 -0
  118. package/sdk/models/operations/listscimgroups.d.ts.map +1 -0
  119. package/sdk/models/operations/listscimgroups.js +69 -0
  120. package/sdk/models/operations/listscimgroups.js.map +1 -0
  121. package/sdk/models/operations/listscimusers.d.ts +38 -0
  122. package/sdk/models/operations/listscimusers.d.ts.map +1 -0
  123. package/sdk/models/operations/listscimusers.js +69 -0
  124. package/sdk/models/operations/listscimusers.js.map +1 -0
  125. package/sdk/models/operations/listunifiedconnections.d.ts +3 -0
  126. package/sdk/models/operations/listunifiedconnections.d.ts.map +1 -1
  127. package/sdk/models/operations/listunifiedconnections.js +1 -0
  128. package/sdk/models/operations/listunifiedconnections.js.map +1 -1
  129. package/sdk/models/operations/listunifiedintegrations.d.ts +3 -0
  130. package/sdk/models/operations/listunifiedintegrations.d.ts.map +1 -1
  131. package/sdk/models/operations/listunifiedintegrations.js +1 -0
  132. package/sdk/models/operations/listunifiedintegrations.js.map +1 -1
  133. package/sdk/models/operations/listunifiedintegrationworkspaces.d.ts +3 -0
  134. package/sdk/models/operations/listunifiedintegrationworkspaces.d.ts.map +1 -1
  135. package/sdk/models/operations/listunifiedintegrationworkspaces.js +1 -0
  136. package/sdk/models/operations/listunifiedintegrationworkspaces.js.map +1 -1
  137. package/sdk/models/operations/patchscimgroups.d.ts +36 -0
  138. package/sdk/models/operations/patchscimgroups.d.ts.map +1 -0
  139. package/sdk/models/operations/patchscimgroups.js +66 -0
  140. package/sdk/models/operations/patchscimgroups.js.map +1 -0
  141. package/sdk/models/operations/patchscimusers.d.ts +36 -0
  142. package/sdk/models/operations/patchscimusers.d.ts.map +1 -0
  143. package/sdk/models/operations/patchscimusers.js +66 -0
  144. package/sdk/models/operations/patchscimusers.js.map +1 -0
  145. package/sdk/models/operations/removescimgroups.d.ts +33 -0
  146. package/sdk/models/operations/removescimgroups.d.ts.map +1 -0
  147. package/sdk/models/operations/removescimgroups.js +61 -0
  148. package/sdk/models/operations/removescimgroups.js.map +1 -0
  149. package/sdk/models/operations/removescimusers.d.ts +33 -0
  150. package/sdk/models/operations/removescimusers.d.ts.map +1 -0
  151. package/sdk/models/operations/removescimusers.js +61 -0
  152. package/sdk/models/operations/removescimusers.js.map +1 -0
  153. package/sdk/models/operations/updatescimgroups.d.ts +36 -0
  154. package/sdk/models/operations/updatescimgroups.d.ts.map +1 -0
  155. package/sdk/models/operations/updatescimgroups.js +66 -0
  156. package/sdk/models/operations/updatescimgroups.js.map +1 -0
  157. package/sdk/models/operations/updatescimusers.d.ts +36 -0
  158. package/sdk/models/operations/updatescimusers.d.ts.map +1 -0
  159. package/sdk/models/operations/updatescimusers.js +66 -0
  160. package/sdk/models/operations/updatescimusers.js.map +1 -0
  161. package/sdk/models/shared/accountingtransaction.d.ts +3 -0
  162. package/sdk/models/shared/accountingtransaction.d.ts.map +1 -1
  163. package/sdk/models/shared/accountingtransaction.js +3 -0
  164. package/sdk/models/shared/accountingtransaction.js.map +1 -1
  165. package/sdk/models/shared/accountingtransactioncontact.d.ts +21 -0
  166. package/sdk/models/shared/accountingtransactioncontact.d.ts.map +1 -0
  167. package/sdk/models/shared/accountingtransactioncontact.js +46 -0
  168. package/sdk/models/shared/accountingtransactioncontact.js.map +1 -0
  169. package/sdk/models/shared/atsactivity.d.ts +2 -0
  170. package/sdk/models/shared/atsactivity.d.ts.map +1 -1
  171. package/sdk/models/shared/atsactivity.js +4 -0
  172. package/sdk/models/shared/atsactivity.js.map +1 -1
  173. package/sdk/models/shared/commercecollection.d.ts +2 -2
  174. package/sdk/models/shared/commercecollection.d.ts.map +1 -1
  175. package/sdk/models/shared/commercecollection.js +2 -2
  176. package/sdk/models/shared/commercecollection.js.map +1 -1
  177. package/sdk/models/shared/commerceitemoption.d.ts +2 -2
  178. package/sdk/models/shared/commerceitemoption.d.ts.map +1 -1
  179. package/sdk/models/shared/commerceitemoption.js +2 -2
  180. package/sdk/models/shared/commerceitemoption.js.map +1 -1
  181. package/sdk/models/shared/connection.d.ts +3 -6
  182. package/sdk/models/shared/connection.d.ts.map +1 -1
  183. package/sdk/models/shared/connection.js +3 -2
  184. package/sdk/models/shared/connection.js.map +1 -1
  185. package/sdk/models/shared/group.d.ts +40 -0
  186. package/sdk/models/shared/group.d.ts.map +1 -0
  187. package/sdk/models/shared/group.js +66 -0
  188. package/sdk/models/shared/group.js.map +1 -0
  189. package/sdk/models/shared/index.d.ts +13 -0
  190. package/sdk/models/shared/index.d.ts.map +1 -1
  191. package/sdk/models/shared/index.js +13 -0
  192. package/sdk/models/shared/index.js.map +1 -1
  193. package/sdk/models/shared/kmspage.d.ts +2 -2
  194. package/sdk/models/shared/kmspage.d.ts.map +1 -1
  195. package/sdk/models/shared/kmspage.js +2 -2
  196. package/sdk/models/shared/kmspage.js.map +1 -1
  197. package/sdk/models/shared/kmsspace.d.ts +2 -2
  198. package/sdk/models/shared/kmsspace.d.ts.map +1 -1
  199. package/sdk/models/shared/kmsspace.js +2 -2
  200. package/sdk/models/shared/kmsspace.js.map +1 -1
  201. package/sdk/models/shared/propertyconnectioncategories.d.ts +3 -0
  202. package/sdk/models/shared/propertyconnectioncategories.d.ts.map +1 -1
  203. package/sdk/models/shared/propertyconnectioncategories.js +1 -0
  204. package/sdk/models/shared/propertyconnectioncategories.js.map +1 -1
  205. package/sdk/models/shared/propertyconnectionpermissions.d.ts +12 -0
  206. package/sdk/models/shared/propertyconnectionpermissions.d.ts.map +1 -1
  207. package/sdk/models/shared/propertyconnectionpermissions.js +4 -0
  208. package/sdk/models/shared/propertyconnectionpermissions.js.map +1 -1
  209. package/sdk/models/shared/propertygroupmeta.d.ts +59 -0
  210. package/sdk/models/shared/propertygroupmeta.d.ts.map +1 -0
  211. package/sdk/models/shared/propertygroupmeta.js +77 -0
  212. package/sdk/models/shared/propertygroupmeta.js.map +1 -0
  213. package/sdk/models/shared/propertygroupschemas.d.ts +25 -0
  214. package/sdk/models/shared/propertygroupschemas.d.ts.map +1 -0
  215. package/sdk/models/shared/propertygroupschemas.js +49 -0
  216. package/sdk/models/shared/propertygroupschemas.js.map +1 -0
  217. package/sdk/models/shared/propertyintegrationcategories.d.ts +3 -0
  218. package/sdk/models/shared/propertyintegrationcategories.d.ts.map +1 -1
  219. package/sdk/models/shared/propertyintegrationcategories.js +1 -0
  220. package/sdk/models/shared/propertyintegrationcategories.js.map +1 -1
  221. package/sdk/models/shared/propertypropertyuserurnietfparamsscimschemasextensionenterprise20usermanager.d.ts +59 -0
  222. package/sdk/models/shared/propertypropertyuserurnietfparamsscimschemasextensionenterprise20usermanager.d.ts.map +1 -0
  223. package/sdk/models/shared/propertypropertyuserurnietfparamsscimschemasextensionenterprise20usermanager.js +88 -0
  224. package/sdk/models/shared/propertypropertyuserurnietfparamsscimschemasextensionenterprise20usermanager.js.map +1 -0
  225. package/sdk/models/shared/propertyusermeta.d.ts +59 -0
  226. package/sdk/models/shared/propertyusermeta.d.ts.map +1 -0
  227. package/sdk/models/shared/propertyusermeta.js +77 -0
  228. package/sdk/models/shared/propertyusermeta.js.map +1 -0
  229. package/sdk/models/shared/propertyusername.d.ts +35 -0
  230. package/sdk/models/shared/propertyusername.d.ts.map +1 -0
  231. package/sdk/models/shared/propertyusername.js +60 -0
  232. package/sdk/models/shared/propertyusername.js.map +1 -0
  233. package/sdk/models/shared/propertyuserschemas.d.ts +34 -0
  234. package/sdk/models/shared/propertyuserschemas.d.ts.map +1 -0
  235. package/sdk/models/shared/propertyuserschemas.js +52 -0
  236. package/sdk/models/shared/propertyuserschemas.js.map +1 -0
  237. package/sdk/models/shared/propertyuserurnietfparamsscimschemasextensionenterprise20user.d.ts +99 -0
  238. package/sdk/models/shared/propertyuserurnietfparamsscimschemasextensionenterprise20user.d.ts.map +1 -0
  239. package/sdk/models/shared/propertyuserurnietfparamsscimschemasextensionenterprise20user.js +120 -0
  240. package/sdk/models/shared/propertyuserurnietfparamsscimschemasextensionenterprise20user.js.map +1 -0
  241. package/sdk/models/shared/propertyuserurnietfparamsscimschemasextensionlatticeattributes10user.d.ts +152 -0
  242. package/sdk/models/shared/propertyuserurnietfparamsscimschemasextensionlatticeattributes10user.d.ts.map +1 -0
  243. package/sdk/models/shared/propertyuserurnietfparamsscimschemasextensionlatticeattributes10user.js +158 -0
  244. package/sdk/models/shared/propertyuserurnietfparamsscimschemasextensionlatticeattributes10user.js.map +1 -0
  245. package/sdk/models/shared/propertyuserurnietfparamsscimschemasextensionpeakon20user.d.ts +57 -0
  246. package/sdk/models/shared/propertyuserurnietfparamsscimschemasextensionpeakon20user.d.ts.map +1 -0
  247. package/sdk/models/shared/propertyuserurnietfparamsscimschemasextensionpeakon20user.js +92 -0
  248. package/sdk/models/shared/propertyuserurnietfparamsscimschemasextensionpeakon20user.js.map +1 -0
  249. package/sdk/models/shared/undefined.d.ts +84 -0
  250. package/sdk/models/shared/undefined.d.ts.map +1 -0
  251. package/sdk/models/shared/undefined.js +106 -0
  252. package/sdk/models/shared/undefined.js.map +1 -0
  253. package/sdk/models/shared/user.d.ts +86 -0
  254. package/sdk/models/shared/user.d.ts.map +1 -0
  255. package/sdk/models/shared/user.js +131 -0
  256. package/sdk/models/shared/user.js.map +1 -0
  257. package/sdk/models/shared/webhook.d.ts +6 -0
  258. package/sdk/models/shared/webhook.d.ts.map +1 -1
  259. package/sdk/models/shared/webhook.js +2 -0
  260. package/sdk/models/shared/webhook.js.map +1 -1
  261. package/sdk/scim.d.ts +50 -0
  262. package/sdk/scim.d.ts.map +1 -0
  263. package/sdk/scim.js +89 -0
  264. package/sdk/scim.js.map +1 -0
  265. package/sdk/sdk.d.ts +6 -0
  266. package/sdk/sdk.d.ts.map +1 -1
  267. package/sdk/sdk.js +10 -0
  268. package/sdk/sdk.js.map +1 -1
  269. package/sdk/user.d.ts +30 -0
  270. package/sdk/user.d.ts.map +1 -0
  271. package/sdk/user.js +54 -0
  272. package/sdk/user.js.map +1 -0
  273. package/src/funcs/groupCreateScimGroups.ts +120 -0
  274. package/src/funcs/groupListScimGroups.ts +129 -0
  275. package/src/funcs/groupPatchScimGroups.ts +124 -0
  276. package/src/funcs/groupRemoveScimGroups.ts +123 -0
  277. package/src/funcs/groupUpdateScimGroups.ts +124 -0
  278. package/src/funcs/scimCreateScimGroups.ts +120 -0
  279. package/src/funcs/scimCreateScimUsers.ts +129 -0
  280. package/src/funcs/scimGetScimUsers.ts +123 -0
  281. package/src/funcs/scimListScimGroups.ts +129 -0
  282. package/src/funcs/scimListScimUsers.ts +129 -0
  283. package/src/funcs/scimPatchScimGroups.ts +124 -0
  284. package/src/funcs/scimPatchScimUsers.ts +124 -0
  285. package/src/funcs/scimRemoveScimGroups.ts +123 -0
  286. package/src/funcs/scimRemoveScimUsers.ts +123 -0
  287. package/src/funcs/scimUpdateScimGroups.ts +124 -0
  288. package/src/funcs/scimUpdateScimUsers.ts +124 -0
  289. package/src/funcs/userCreateScimUsers.ts +129 -0
  290. package/src/funcs/userGetScimUsers.ts +123 -0
  291. package/src/funcs/userListScimUsers.ts +129 -0
  292. package/src/funcs/userPatchScimUsers.ts +124 -0
  293. package/src/funcs/userRemoveScimUsers.ts +123 -0
  294. package/src/funcs/userUpdateScimUsers.ts +124 -0
  295. package/src/lib/config.ts +3 -3
  296. package/src/sdk/group.ts +75 -0
  297. package/src/sdk/models/operations/createscimgroups.ts +64 -0
  298. package/src/sdk/models/operations/createscimusers.ts +84 -0
  299. package/src/sdk/models/operations/getscimusers.ts +64 -0
  300. package/src/sdk/models/operations/getunifiedintegrationauth.ts +4 -0
  301. package/src/sdk/models/operations/index.ts +11 -0
  302. package/src/sdk/models/operations/listscimgroups.ts +77 -0
  303. package/src/sdk/models/operations/listscimusers.ts +77 -0
  304. package/src/sdk/models/operations/listunifiedconnections.ts +1 -0
  305. package/src/sdk/models/operations/listunifiedintegrations.ts +1 -0
  306. package/src/sdk/models/operations/listunifiedintegrationworkspaces.ts +1 -0
  307. package/src/sdk/models/operations/patchscimgroups.ts +71 -0
  308. package/src/sdk/models/operations/patchscimusers.ts +71 -0
  309. package/src/sdk/models/operations/removescimgroups.ts +64 -0
  310. package/src/sdk/models/operations/removescimusers.ts +64 -0
  311. package/src/sdk/models/operations/updatescimgroups.ts +71 -0
  312. package/src/sdk/models/operations/updatescimusers.ts +71 -0
  313. package/src/sdk/models/shared/accountingtransaction.ts +10 -0
  314. package/src/sdk/models/shared/accountingtransactioncontact.ts +37 -0
  315. package/src/sdk/models/shared/atsactivity.ts +6 -0
  316. package/src/sdk/models/shared/commercecollection.ts +4 -4
  317. package/src/sdk/models/shared/commerceitemoption.ts +4 -4
  318. package/src/sdk/models/shared/connection.ts +10 -4
  319. package/src/sdk/models/shared/group.ts +83 -0
  320. package/src/sdk/models/shared/index.ts +13 -0
  321. package/src/sdk/models/shared/kmspage.ts +4 -4
  322. package/src/sdk/models/shared/kmsspace.ts +4 -4
  323. package/src/sdk/models/shared/propertyconnectioncategories.ts +1 -0
  324. package/src/sdk/models/shared/propertyconnectionpermissions.ts +4 -0
  325. package/src/sdk/models/shared/propertygroupmeta.ts +87 -0
  326. package/src/sdk/models/shared/propertygroupschemas.ts +33 -0
  327. package/src/sdk/models/shared/propertyintegrationcategories.ts +1 -0
  328. package/src/sdk/models/shared/propertypropertyuserurnietfparamsscimschemasextensionenterprise20usermanager.ts +122 -0
  329. package/src/sdk/models/shared/propertyusermeta.ts +91 -0
  330. package/src/sdk/models/shared/propertyusername.ts +65 -0
  331. package/src/sdk/models/shared/propertyuserschemas.ts +39 -0
  332. package/src/sdk/models/shared/propertyuserurnietfparamsscimschemasextensionenterprise20user.ts +192 -0
  333. package/src/sdk/models/shared/propertyuserurnietfparamsscimschemasextensionlatticeattributes10user.ts +215 -0
  334. package/src/sdk/models/shared/propertyuserurnietfparamsscimschemasextensionpeakon20user.ts +124 -0
  335. package/src/sdk/models/shared/undefined.ts +123 -0
  336. package/src/sdk/models/shared/user.ts +231 -0
  337. package/src/sdk/models/shared/webhook.ts +2 -0
  338. package/src/sdk/scim.ts +175 -0
  339. package/src/sdk/sdk.ts +12 -0
  340. package/src/sdk/user.ts +100 -0
@@ -0,0 +1,77 @@
1
+ /*
2
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
+ */
4
+
5
+ import * as z from "zod";
6
+ import { remap as remap$ } from "../../../lib/primitives.js";
7
+
8
+ export type ListScimGroupsRequest = {
9
+ /**
10
+ * ID of the connection
11
+ */
12
+ connectionId: string;
13
+ count?: number | undefined;
14
+ filter?: string | undefined;
15
+ sortBy?: string | undefined;
16
+ sortOrder?: string | undefined;
17
+ startIndex?: number | undefined;
18
+ };
19
+
20
+ /** @internal */
21
+ export const ListScimGroupsRequest$inboundSchema: z.ZodType<
22
+ ListScimGroupsRequest,
23
+ z.ZodTypeDef,
24
+ unknown
25
+ > = z.object({
26
+ connection_id: z.string(),
27
+ count: z.number().optional(),
28
+ filter: z.string().optional(),
29
+ sortBy: z.string().optional(),
30
+ sortOrder: z.string().optional(),
31
+ startIndex: z.number().optional(),
32
+ }).transform((v) => {
33
+ return remap$(v, {
34
+ "connection_id": "connectionId",
35
+ });
36
+ });
37
+
38
+ /** @internal */
39
+ export type ListScimGroupsRequest$Outbound = {
40
+ connection_id: string;
41
+ count?: number | undefined;
42
+ filter?: string | undefined;
43
+ sortBy?: string | undefined;
44
+ sortOrder?: string | undefined;
45
+ startIndex?: number | undefined;
46
+ };
47
+
48
+ /** @internal */
49
+ export const ListScimGroupsRequest$outboundSchema: z.ZodType<
50
+ ListScimGroupsRequest$Outbound,
51
+ z.ZodTypeDef,
52
+ ListScimGroupsRequest
53
+ > = z.object({
54
+ connectionId: z.string(),
55
+ count: z.number().optional(),
56
+ filter: z.string().optional(),
57
+ sortBy: z.string().optional(),
58
+ sortOrder: z.string().optional(),
59
+ startIndex: z.number().optional(),
60
+ }).transform((v) => {
61
+ return remap$(v, {
62
+ connectionId: "connection_id",
63
+ });
64
+ });
65
+
66
+ /**
67
+ * @internal
68
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
69
+ */
70
+ export namespace ListScimGroupsRequest$ {
71
+ /** @deprecated use `ListScimGroupsRequest$inboundSchema` instead. */
72
+ export const inboundSchema = ListScimGroupsRequest$inboundSchema;
73
+ /** @deprecated use `ListScimGroupsRequest$outboundSchema` instead. */
74
+ export const outboundSchema = ListScimGroupsRequest$outboundSchema;
75
+ /** @deprecated use `ListScimGroupsRequest$Outbound` instead. */
76
+ export type Outbound = ListScimGroupsRequest$Outbound;
77
+ }
@@ -0,0 +1,77 @@
1
+ /*
2
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
+ */
4
+
5
+ import * as z from "zod";
6
+ import { remap as remap$ } from "../../../lib/primitives.js";
7
+
8
+ export type ListScimUsersRequest = {
9
+ /**
10
+ * ID of the connection
11
+ */
12
+ connectionId: string;
13
+ count?: number | undefined;
14
+ filter?: string | undefined;
15
+ sortBy?: string | undefined;
16
+ sortOrder?: string | undefined;
17
+ startIndex?: number | undefined;
18
+ };
19
+
20
+ /** @internal */
21
+ export const ListScimUsersRequest$inboundSchema: z.ZodType<
22
+ ListScimUsersRequest,
23
+ z.ZodTypeDef,
24
+ unknown
25
+ > = z.object({
26
+ connection_id: z.string(),
27
+ count: z.number().optional(),
28
+ filter: z.string().optional(),
29
+ sortBy: z.string().optional(),
30
+ sortOrder: z.string().optional(),
31
+ startIndex: z.number().optional(),
32
+ }).transform((v) => {
33
+ return remap$(v, {
34
+ "connection_id": "connectionId",
35
+ });
36
+ });
37
+
38
+ /** @internal */
39
+ export type ListScimUsersRequest$Outbound = {
40
+ connection_id: string;
41
+ count?: number | undefined;
42
+ filter?: string | undefined;
43
+ sortBy?: string | undefined;
44
+ sortOrder?: string | undefined;
45
+ startIndex?: number | undefined;
46
+ };
47
+
48
+ /** @internal */
49
+ export const ListScimUsersRequest$outboundSchema: z.ZodType<
50
+ ListScimUsersRequest$Outbound,
51
+ z.ZodTypeDef,
52
+ ListScimUsersRequest
53
+ > = z.object({
54
+ connectionId: z.string(),
55
+ count: z.number().optional(),
56
+ filter: z.string().optional(),
57
+ sortBy: z.string().optional(),
58
+ sortOrder: z.string().optional(),
59
+ startIndex: z.number().optional(),
60
+ }).transform((v) => {
61
+ return remap$(v, {
62
+ connectionId: "connection_id",
63
+ });
64
+ });
65
+
66
+ /**
67
+ * @internal
68
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
69
+ */
70
+ export namespace ListScimUsersRequest$ {
71
+ /** @deprecated use `ListScimUsersRequest$inboundSchema` instead. */
72
+ export const inboundSchema = ListScimUsersRequest$inboundSchema;
73
+ /** @deprecated use `ListScimUsersRequest$outboundSchema` instead. */
74
+ export const outboundSchema = ListScimUsersRequest$outboundSchema;
75
+ /** @deprecated use `ListScimUsersRequest$Outbound` instead. */
76
+ export type Outbound = ListScimUsersRequest$Outbound;
77
+ }
@@ -24,6 +24,7 @@ export const Categories = {
24
24
  Messaging: "messaging",
25
25
  Kms: "kms",
26
26
  Task: "task",
27
+ Scim: "scim",
27
28
  } as const;
28
29
  export type Categories = ClosedEnum<typeof Categories>;
29
30
 
@@ -24,6 +24,7 @@ export const ListUnifiedIntegrationsQueryParamCategories = {
24
24
  Messaging: "messaging",
25
25
  Kms: "kms",
26
26
  Task: "task",
27
+ Scim: "scim",
27
28
  } as const;
28
29
  export type ListUnifiedIntegrationsQueryParamCategories = ClosedEnum<
29
30
  typeof ListUnifiedIntegrationsQueryParamCategories
@@ -24,6 +24,7 @@ export const QueryParamCategories = {
24
24
  Messaging: "messaging",
25
25
  Kms: "kms",
26
26
  Task: "task",
27
+ Scim: "scim",
27
28
  } as const;
28
29
  export type QueryParamCategories = ClosedEnum<typeof QueryParamCategories>;
29
30
 
@@ -0,0 +1,71 @@
1
+ /*
2
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
+ */
4
+
5
+ import * as z from "zod";
6
+ import { remap as remap$ } from "../../../lib/primitives.js";
7
+ import * as shared from "../shared/index.js";
8
+
9
+ export type PatchScimGroupsRequest = {
10
+ group?: shared.Group | undefined;
11
+ /**
12
+ * ID of the connection
13
+ */
14
+ connectionId: string;
15
+ /**
16
+ * ID of the Group
17
+ */
18
+ id: string;
19
+ };
20
+
21
+ /** @internal */
22
+ export const PatchScimGroupsRequest$inboundSchema: z.ZodType<
23
+ PatchScimGroupsRequest,
24
+ z.ZodTypeDef,
25
+ unknown
26
+ > = z.object({
27
+ Group: shared.Group$inboundSchema.optional(),
28
+ connection_id: z.string(),
29
+ id: z.string(),
30
+ }).transform((v) => {
31
+ return remap$(v, {
32
+ "Group": "group",
33
+ "connection_id": "connectionId",
34
+ });
35
+ });
36
+
37
+ /** @internal */
38
+ export type PatchScimGroupsRequest$Outbound = {
39
+ Group?: shared.Group$Outbound | undefined;
40
+ connection_id: string;
41
+ id: string;
42
+ };
43
+
44
+ /** @internal */
45
+ export const PatchScimGroupsRequest$outboundSchema: z.ZodType<
46
+ PatchScimGroupsRequest$Outbound,
47
+ z.ZodTypeDef,
48
+ PatchScimGroupsRequest
49
+ > = z.object({
50
+ group: shared.Group$outboundSchema.optional(),
51
+ connectionId: z.string(),
52
+ id: z.string(),
53
+ }).transform((v) => {
54
+ return remap$(v, {
55
+ group: "Group",
56
+ connectionId: "connection_id",
57
+ });
58
+ });
59
+
60
+ /**
61
+ * @internal
62
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
63
+ */
64
+ export namespace PatchScimGroupsRequest$ {
65
+ /** @deprecated use `PatchScimGroupsRequest$inboundSchema` instead. */
66
+ export const inboundSchema = PatchScimGroupsRequest$inboundSchema;
67
+ /** @deprecated use `PatchScimGroupsRequest$outboundSchema` instead. */
68
+ export const outboundSchema = PatchScimGroupsRequest$outboundSchema;
69
+ /** @deprecated use `PatchScimGroupsRequest$Outbound` instead. */
70
+ export type Outbound = PatchScimGroupsRequest$Outbound;
71
+ }
@@ -0,0 +1,71 @@
1
+ /*
2
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
+ */
4
+
5
+ import * as z from "zod";
6
+ import { remap as remap$ } from "../../../lib/primitives.js";
7
+ import * as shared from "../shared/index.js";
8
+
9
+ export type PatchScimUsersRequest = {
10
+ user?: shared.User | undefined;
11
+ /**
12
+ * ID of the connection
13
+ */
14
+ connectionId: string;
15
+ /**
16
+ * ID of the User
17
+ */
18
+ id: string;
19
+ };
20
+
21
+ /** @internal */
22
+ export const PatchScimUsersRequest$inboundSchema: z.ZodType<
23
+ PatchScimUsersRequest,
24
+ z.ZodTypeDef,
25
+ unknown
26
+ > = z.object({
27
+ User: shared.User$inboundSchema.optional(),
28
+ connection_id: z.string(),
29
+ id: z.string(),
30
+ }).transform((v) => {
31
+ return remap$(v, {
32
+ "User": "user",
33
+ "connection_id": "connectionId",
34
+ });
35
+ });
36
+
37
+ /** @internal */
38
+ export type PatchScimUsersRequest$Outbound = {
39
+ User?: shared.User$Outbound | undefined;
40
+ connection_id: string;
41
+ id: string;
42
+ };
43
+
44
+ /** @internal */
45
+ export const PatchScimUsersRequest$outboundSchema: z.ZodType<
46
+ PatchScimUsersRequest$Outbound,
47
+ z.ZodTypeDef,
48
+ PatchScimUsersRequest
49
+ > = z.object({
50
+ user: shared.User$outboundSchema.optional(),
51
+ connectionId: z.string(),
52
+ id: z.string(),
53
+ }).transform((v) => {
54
+ return remap$(v, {
55
+ user: "User",
56
+ connectionId: "connection_id",
57
+ });
58
+ });
59
+
60
+ /**
61
+ * @internal
62
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
63
+ */
64
+ export namespace PatchScimUsersRequest$ {
65
+ /** @deprecated use `PatchScimUsersRequest$inboundSchema` instead. */
66
+ export const inboundSchema = PatchScimUsersRequest$inboundSchema;
67
+ /** @deprecated use `PatchScimUsersRequest$outboundSchema` instead. */
68
+ export const outboundSchema = PatchScimUsersRequest$outboundSchema;
69
+ /** @deprecated use `PatchScimUsersRequest$Outbound` instead. */
70
+ export type Outbound = PatchScimUsersRequest$Outbound;
71
+ }
@@ -0,0 +1,64 @@
1
+ /*
2
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
+ */
4
+
5
+ import * as z from "zod";
6
+ import { remap as remap$ } from "../../../lib/primitives.js";
7
+
8
+ export type RemoveScimGroupsRequest = {
9
+ /**
10
+ * ID of the connection
11
+ */
12
+ connectionId: string;
13
+ /**
14
+ * ID of the Group
15
+ */
16
+ id: string;
17
+ };
18
+
19
+ /** @internal */
20
+ export const RemoveScimGroupsRequest$inboundSchema: z.ZodType<
21
+ RemoveScimGroupsRequest,
22
+ z.ZodTypeDef,
23
+ unknown
24
+ > = z.object({
25
+ connection_id: z.string(),
26
+ id: z.string(),
27
+ }).transform((v) => {
28
+ return remap$(v, {
29
+ "connection_id": "connectionId",
30
+ });
31
+ });
32
+
33
+ /** @internal */
34
+ export type RemoveScimGroupsRequest$Outbound = {
35
+ connection_id: string;
36
+ id: string;
37
+ };
38
+
39
+ /** @internal */
40
+ export const RemoveScimGroupsRequest$outboundSchema: z.ZodType<
41
+ RemoveScimGroupsRequest$Outbound,
42
+ z.ZodTypeDef,
43
+ RemoveScimGroupsRequest
44
+ > = z.object({
45
+ connectionId: z.string(),
46
+ id: z.string(),
47
+ }).transform((v) => {
48
+ return remap$(v, {
49
+ connectionId: "connection_id",
50
+ });
51
+ });
52
+
53
+ /**
54
+ * @internal
55
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
56
+ */
57
+ export namespace RemoveScimGroupsRequest$ {
58
+ /** @deprecated use `RemoveScimGroupsRequest$inboundSchema` instead. */
59
+ export const inboundSchema = RemoveScimGroupsRequest$inboundSchema;
60
+ /** @deprecated use `RemoveScimGroupsRequest$outboundSchema` instead. */
61
+ export const outboundSchema = RemoveScimGroupsRequest$outboundSchema;
62
+ /** @deprecated use `RemoveScimGroupsRequest$Outbound` instead. */
63
+ export type Outbound = RemoveScimGroupsRequest$Outbound;
64
+ }
@@ -0,0 +1,64 @@
1
+ /*
2
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
+ */
4
+
5
+ import * as z from "zod";
6
+ import { remap as remap$ } from "../../../lib/primitives.js";
7
+
8
+ export type RemoveScimUsersRequest = {
9
+ /**
10
+ * ID of the connection
11
+ */
12
+ connectionId: string;
13
+ /**
14
+ * ID of the User
15
+ */
16
+ id: string;
17
+ };
18
+
19
+ /** @internal */
20
+ export const RemoveScimUsersRequest$inboundSchema: z.ZodType<
21
+ RemoveScimUsersRequest,
22
+ z.ZodTypeDef,
23
+ unknown
24
+ > = z.object({
25
+ connection_id: z.string(),
26
+ id: z.string(),
27
+ }).transform((v) => {
28
+ return remap$(v, {
29
+ "connection_id": "connectionId",
30
+ });
31
+ });
32
+
33
+ /** @internal */
34
+ export type RemoveScimUsersRequest$Outbound = {
35
+ connection_id: string;
36
+ id: string;
37
+ };
38
+
39
+ /** @internal */
40
+ export const RemoveScimUsersRequest$outboundSchema: z.ZodType<
41
+ RemoveScimUsersRequest$Outbound,
42
+ z.ZodTypeDef,
43
+ RemoveScimUsersRequest
44
+ > = z.object({
45
+ connectionId: z.string(),
46
+ id: z.string(),
47
+ }).transform((v) => {
48
+ return remap$(v, {
49
+ connectionId: "connection_id",
50
+ });
51
+ });
52
+
53
+ /**
54
+ * @internal
55
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
56
+ */
57
+ export namespace RemoveScimUsersRequest$ {
58
+ /** @deprecated use `RemoveScimUsersRequest$inboundSchema` instead. */
59
+ export const inboundSchema = RemoveScimUsersRequest$inboundSchema;
60
+ /** @deprecated use `RemoveScimUsersRequest$outboundSchema` instead. */
61
+ export const outboundSchema = RemoveScimUsersRequest$outboundSchema;
62
+ /** @deprecated use `RemoveScimUsersRequest$Outbound` instead. */
63
+ export type Outbound = RemoveScimUsersRequest$Outbound;
64
+ }
@@ -0,0 +1,71 @@
1
+ /*
2
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
+ */
4
+
5
+ import * as z from "zod";
6
+ import { remap as remap$ } from "../../../lib/primitives.js";
7
+ import * as shared from "../shared/index.js";
8
+
9
+ export type UpdateScimGroupsRequest = {
10
+ group?: shared.Group | undefined;
11
+ /**
12
+ * ID of the connection
13
+ */
14
+ connectionId: string;
15
+ /**
16
+ * ID of the Group
17
+ */
18
+ id: string;
19
+ };
20
+
21
+ /** @internal */
22
+ export const UpdateScimGroupsRequest$inboundSchema: z.ZodType<
23
+ UpdateScimGroupsRequest,
24
+ z.ZodTypeDef,
25
+ unknown
26
+ > = z.object({
27
+ Group: shared.Group$inboundSchema.optional(),
28
+ connection_id: z.string(),
29
+ id: z.string(),
30
+ }).transform((v) => {
31
+ return remap$(v, {
32
+ "Group": "group",
33
+ "connection_id": "connectionId",
34
+ });
35
+ });
36
+
37
+ /** @internal */
38
+ export type UpdateScimGroupsRequest$Outbound = {
39
+ Group?: shared.Group$Outbound | undefined;
40
+ connection_id: string;
41
+ id: string;
42
+ };
43
+
44
+ /** @internal */
45
+ export const UpdateScimGroupsRequest$outboundSchema: z.ZodType<
46
+ UpdateScimGroupsRequest$Outbound,
47
+ z.ZodTypeDef,
48
+ UpdateScimGroupsRequest
49
+ > = z.object({
50
+ group: shared.Group$outboundSchema.optional(),
51
+ connectionId: z.string(),
52
+ id: z.string(),
53
+ }).transform((v) => {
54
+ return remap$(v, {
55
+ group: "Group",
56
+ connectionId: "connection_id",
57
+ });
58
+ });
59
+
60
+ /**
61
+ * @internal
62
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
63
+ */
64
+ export namespace UpdateScimGroupsRequest$ {
65
+ /** @deprecated use `UpdateScimGroupsRequest$inboundSchema` instead. */
66
+ export const inboundSchema = UpdateScimGroupsRequest$inboundSchema;
67
+ /** @deprecated use `UpdateScimGroupsRequest$outboundSchema` instead. */
68
+ export const outboundSchema = UpdateScimGroupsRequest$outboundSchema;
69
+ /** @deprecated use `UpdateScimGroupsRequest$Outbound` instead. */
70
+ export type Outbound = UpdateScimGroupsRequest$Outbound;
71
+ }
@@ -0,0 +1,71 @@
1
+ /*
2
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
+ */
4
+
5
+ import * as z from "zod";
6
+ import { remap as remap$ } from "../../../lib/primitives.js";
7
+ import * as shared from "../shared/index.js";
8
+
9
+ export type UpdateScimUsersRequest = {
10
+ user?: shared.User | undefined;
11
+ /**
12
+ * ID of the connection
13
+ */
14
+ connectionId: string;
15
+ /**
16
+ * ID of the User
17
+ */
18
+ id: string;
19
+ };
20
+
21
+ /** @internal */
22
+ export const UpdateScimUsersRequest$inboundSchema: z.ZodType<
23
+ UpdateScimUsersRequest,
24
+ z.ZodTypeDef,
25
+ unknown
26
+ > = z.object({
27
+ User: shared.User$inboundSchema.optional(),
28
+ connection_id: z.string(),
29
+ id: z.string(),
30
+ }).transform((v) => {
31
+ return remap$(v, {
32
+ "User": "user",
33
+ "connection_id": "connectionId",
34
+ });
35
+ });
36
+
37
+ /** @internal */
38
+ export type UpdateScimUsersRequest$Outbound = {
39
+ User?: shared.User$Outbound | undefined;
40
+ connection_id: string;
41
+ id: string;
42
+ };
43
+
44
+ /** @internal */
45
+ export const UpdateScimUsersRequest$outboundSchema: z.ZodType<
46
+ UpdateScimUsersRequest$Outbound,
47
+ z.ZodTypeDef,
48
+ UpdateScimUsersRequest
49
+ > = z.object({
50
+ user: shared.User$outboundSchema.optional(),
51
+ connectionId: z.string(),
52
+ id: z.string(),
53
+ }).transform((v) => {
54
+ return remap$(v, {
55
+ user: "User",
56
+ connectionId: "connection_id",
57
+ });
58
+ });
59
+
60
+ /**
61
+ * @internal
62
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
63
+ */
64
+ export namespace UpdateScimUsersRequest$ {
65
+ /** @deprecated use `UpdateScimUsersRequest$inboundSchema` instead. */
66
+ export const inboundSchema = UpdateScimUsersRequest$inboundSchema;
67
+ /** @deprecated use `UpdateScimUsersRequest$outboundSchema` instead. */
68
+ export const outboundSchema = UpdateScimUsersRequest$outboundSchema;
69
+ /** @deprecated use `UpdateScimUsersRequest$Outbound` instead. */
70
+ export type Outbound = UpdateScimUsersRequest$Outbound;
71
+ }
@@ -4,6 +4,12 @@
4
4
 
5
5
  import * as z from "zod";
6
6
  import { remap as remap$ } from "../../../lib/primitives.js";
7
+ import {
8
+ AccountingTransactionContact,
9
+ AccountingTransactionContact$inboundSchema,
10
+ AccountingTransactionContact$Outbound,
11
+ AccountingTransactionContact$outboundSchema,
12
+ } from "./accountingtransactioncontact.js";
7
13
  import {
8
14
  AccountingTransactionLineItem,
9
15
  AccountingTransactionLineItem$inboundSchema,
@@ -14,6 +20,7 @@ import {
14
20
  export type AccountingTransaction = {
15
21
  accountId?: string | undefined;
16
22
  contactId?: string | undefined;
23
+ contacts?: Array<AccountingTransactionContact> | undefined;
17
24
  createdAt?: Date | undefined;
18
25
  currency?: string | undefined;
19
26
  customerMessage?: string | undefined;
@@ -40,6 +47,7 @@ export const AccountingTransaction$inboundSchema: z.ZodType<
40
47
  > = z.object({
41
48
  account_id: z.string().optional(),
42
49
  contact_id: z.string().optional(),
50
+ contacts: z.array(AccountingTransactionContact$inboundSchema).optional(),
43
51
  created_at: z.string().datetime({ offset: true }).transform(v => new Date(v))
44
52
  .optional(),
45
53
  currency: z.string().optional(),
@@ -78,6 +86,7 @@ export const AccountingTransaction$inboundSchema: z.ZodType<
78
86
  export type AccountingTransaction$Outbound = {
79
87
  account_id?: string | undefined;
80
88
  contact_id?: string | undefined;
89
+ contacts?: Array<AccountingTransactionContact$Outbound> | undefined;
81
90
  created_at?: string | undefined;
82
91
  currency?: string | undefined;
83
92
  customer_message?: string | undefined;
@@ -104,6 +113,7 @@ export const AccountingTransaction$outboundSchema: z.ZodType<
104
113
  > = z.object({
105
114
  accountId: z.string().optional(),
106
115
  contactId: z.string().optional(),
116
+ contacts: z.array(AccountingTransactionContact$outboundSchema).optional(),
107
117
  createdAt: z.date().transform(v => v.toISOString()).optional(),
108
118
  currency: z.string().optional(),
109
119
  customerMessage: z.string().optional(),
@@ -0,0 +1,37 @@
1
+ /*
2
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
+ */
4
+
5
+ import * as z from "zod";
6
+
7
+ export type AccountingTransactionContact = {};
8
+
9
+ /** @internal */
10
+ export const AccountingTransactionContact$inboundSchema: z.ZodType<
11
+ AccountingTransactionContact,
12
+ z.ZodTypeDef,
13
+ unknown
14
+ > = z.object({});
15
+
16
+ /** @internal */
17
+ export type AccountingTransactionContact$Outbound = {};
18
+
19
+ /** @internal */
20
+ export const AccountingTransactionContact$outboundSchema: z.ZodType<
21
+ AccountingTransactionContact$Outbound,
22
+ z.ZodTypeDef,
23
+ AccountingTransactionContact
24
+ > = z.object({});
25
+
26
+ /**
27
+ * @internal
28
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
29
+ */
30
+ export namespace AccountingTransactionContact$ {
31
+ /** @deprecated use `AccountingTransactionContact$inboundSchema` instead. */
32
+ export const inboundSchema = AccountingTransactionContact$inboundSchema;
33
+ /** @deprecated use `AccountingTransactionContact$outboundSchema` instead. */
34
+ export const outboundSchema = AccountingTransactionContact$outboundSchema;
35
+ /** @deprecated use `AccountingTransactionContact$Outbound` instead. */
36
+ export type Outbound = AccountingTransactionContact$Outbound;
37
+ }