@airweave/sdk 0.2.8 → 0.2.9

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 (301) hide show
  1. package/README.md +11 -10
  2. package/api/resources/connections/client/Client.d.ts +47 -18
  3. package/api/resources/connections/client/Client.js +112 -30
  4. package/api/resources/connections/client/requests/BodyConnectIntegrationConnectionsConnectIntegrationTypeShortNamePost.d.ts +6 -1
  5. package/api/resources/connections/client/requests/BodySendOauth2CodeConnectionsOauth2SourceCodePost.d.ts +2 -0
  6. package/api/resources/connections/client/requests/DeleteConnectionConnectionsDeleteSourceConnectionIdDeleteRequest.d.ts +12 -0
  7. package/api/resources/connections/client/requests/DeleteConnectionConnectionsDeleteSourceConnectionIdDeleteRequest.js +5 -0
  8. package/api/resources/connections/client/requests/DisconnectSourceConnectionConnectionsDisconnectSourceConnectionIdPutRequest.d.ts +12 -0
  9. package/api/resources/connections/client/requests/DisconnectSourceConnectionConnectionsDisconnectSourceConnectionIdPutRequest.js +5 -0
  10. package/api/resources/connections/client/requests/GetConnectionConnectionsDetailConnectionIdGetRequest.d.ts +12 -0
  11. package/api/resources/connections/client/requests/GetConnectionConnectionsDetailConnectionIdGetRequest.js +5 -0
  12. package/api/resources/connections/client/requests/GetConnectionCredentialsConnectionsCredentialsConnectionIdGetRequest.d.ts +12 -0
  13. package/api/resources/connections/client/requests/GetConnectionCredentialsConnectionsCredentialsConnectionIdGetRequest.js +5 -0
  14. package/api/resources/connections/client/requests/GetOauth2WhiteLabelAuthUrlConnectionsOauth2WhiteLabelWhiteLabelIdAuthUrlGetRequest.d.ts +12 -0
  15. package/api/resources/connections/client/requests/GetOauth2WhiteLabelAuthUrlConnectionsOauth2WhiteLabelWhiteLabelIdAuthUrlGetRequest.js +5 -0
  16. package/api/resources/connections/client/requests/ListAllConnectedIntegrationsConnectionsListGetRequest.d.ts +12 -0
  17. package/api/resources/connections/client/requests/ListAllConnectedIntegrationsConnectionsListGetRequest.js +5 -0
  18. package/api/resources/connections/client/requests/ListConnectedIntegrationsConnectionsListIntegrationTypeGetRequest.d.ts +12 -0
  19. package/api/resources/connections/client/requests/ListConnectedIntegrationsConnectionsListIntegrationTypeGetRequest.js +5 -0
  20. package/api/resources/connections/client/requests/SendOauth2WhiteLabelCodeConnectionsOauth2WhiteLabelWhiteLabelIdCodePostRequest.d.ts +14 -0
  21. package/api/resources/connections/client/requests/SendOauth2WhiteLabelCodeConnectionsOauth2WhiteLabelWhiteLabelIdCodePostRequest.js +5 -0
  22. package/api/resources/connections/client/requests/index.d.ts +8 -0
  23. package/api/resources/destinations/client/Client.d.ts +10 -4
  24. package/api/resources/destinations/client/Client.js +20 -6
  25. package/api/resources/destinations/client/index.d.ts +1 -1
  26. package/api/resources/destinations/client/index.js +15 -0
  27. package/api/resources/destinations/client/requests/ListDestinationsDestinationsListGetRequest.d.ts +12 -0
  28. package/api/resources/destinations/client/requests/ListDestinationsDestinationsListGetRequest.js +5 -0
  29. package/api/resources/destinations/client/requests/ReadDestinationDestinationsDetailShortNameGetRequest.d.ts +12 -0
  30. package/api/resources/destinations/client/requests/ReadDestinationDestinationsDetailShortNameGetRequest.js +5 -0
  31. package/api/resources/destinations/client/requests/index.d.ts +2 -0
  32. package/api/resources/destinations/client/requests/index.js +2 -0
  33. package/api/resources/embeddingModels/client/Client.d.ts +10 -4
  34. package/api/resources/embeddingModels/client/Client.js +20 -6
  35. package/api/resources/embeddingModels/client/index.d.ts +1 -1
  36. package/api/resources/embeddingModels/client/index.js +15 -0
  37. package/api/resources/embeddingModels/client/requests/ReadEmbeddingModelEmbeddingModelsDetailShortNameGetRequest.d.ts +12 -0
  38. package/api/resources/embeddingModels/client/requests/ReadEmbeddingModelEmbeddingModelsDetailShortNameGetRequest.js +5 -0
  39. package/api/resources/embeddingModels/client/requests/ReadEmbeddingModelsEmbeddingModelsListGetRequest.d.ts +12 -0
  40. package/api/resources/embeddingModels/client/requests/ReadEmbeddingModelsEmbeddingModelsListGetRequest.js +5 -0
  41. package/api/resources/embeddingModels/client/requests/index.d.ts +2 -0
  42. package/api/resources/embeddingModels/client/requests/index.js +2 -0
  43. package/api/resources/entities/client/Client.d.ts +30 -10
  44. package/api/resources/entities/client/Client.js +83 -23
  45. package/api/resources/entities/client/requests/EntityDefinitionCreate.d.ts +5 -1
  46. package/api/resources/entities/client/requests/EntityDefinitionUpdate.d.ts +5 -1
  47. package/api/resources/entities/client/requests/EntityRelationCreate.d.ts +3 -0
  48. package/api/resources/entities/client/requests/EntityRelationUpdate.d.ts +3 -0
  49. package/api/resources/entities/client/requests/GetEntityDefinitionsByIdsEntitiesDefinitionsByIdsPostRequest.d.ts +14 -0
  50. package/api/resources/entities/client/requests/GetEntityDefinitionsByIdsEntitiesDefinitionsByIdsPostRequest.js +5 -0
  51. package/api/resources/entities/client/requests/GetEntityDefinitionsBySourceShortNameEntitiesDefinitionsBySourceGetRequest.d.ts +3 -1
  52. package/api/resources/entities/client/requests/ListEntityDefinitionsEntitiesDefinitionsGetRequest.d.ts +12 -0
  53. package/api/resources/entities/client/requests/ListEntityDefinitionsEntitiesDefinitionsGetRequest.js +5 -0
  54. package/api/resources/entities/client/requests/ListEntityRelationsEntitiesRelationsGetRequest.d.ts +12 -0
  55. package/api/resources/entities/client/requests/ListEntityRelationsEntitiesRelationsGetRequest.js +5 -0
  56. package/api/resources/entities/client/requests/index.d.ts +3 -0
  57. package/api/resources/index.d.ts +4 -0
  58. package/api/resources/index.js +4 -0
  59. package/api/resources/search/client/Client.d.ts +2 -1
  60. package/api/resources/search/client/Client.js +5 -3
  61. package/api/resources/search/client/requests/SearchSearchGetRequest.d.ts +3 -1
  62. package/api/resources/sources/client/Client.d.ts +10 -4
  63. package/api/resources/sources/client/Client.js +20 -6
  64. package/api/resources/sources/client/index.d.ts +1 -1
  65. package/api/resources/sources/client/index.js +15 -0
  66. package/api/resources/sources/client/requests/ReadSourceSourcesDetailShortNameGetRequest.d.ts +12 -0
  67. package/api/resources/sources/client/requests/ReadSourceSourcesDetailShortNameGetRequest.js +5 -0
  68. package/api/resources/sources/client/requests/ReadSourcesSourcesListGetRequest.d.ts +12 -0
  69. package/api/resources/sources/client/requests/ReadSourcesSourcesListGetRequest.js +5 -0
  70. package/api/resources/sources/client/requests/index.d.ts +2 -0
  71. package/api/resources/sources/client/requests/index.js +2 -0
  72. package/api/resources/sync/client/Client.d.ts +61 -20
  73. package/api/resources/sync/client/Client.js +123 -40
  74. package/api/resources/sync/client/requests/DeleteSyncSyncSyncIdDeleteRequest.d.ts +4 -1
  75. package/api/resources/sync/client/requests/GetSyncDagSyncSyncIdDagGetRequest.d.ts +12 -0
  76. package/api/resources/sync/client/requests/GetSyncDagSyncSyncIdDagGetRequest.js +5 -0
  77. package/api/resources/sync/client/requests/GetSyncJobSyncSyncIdJobJobIdGetRequest.d.ts +12 -0
  78. package/api/resources/sync/client/requests/GetSyncJobSyncSyncIdJobJobIdGetRequest.js +5 -0
  79. package/api/resources/sync/client/requests/GetSyncSyncSyncIdGetRequest.d.ts +12 -0
  80. package/api/resources/sync/client/requests/GetSyncSyncSyncIdGetRequest.js +5 -0
  81. package/api/resources/sync/client/requests/ListAllJobsSyncJobsGetRequest.d.ts +4 -1
  82. package/api/resources/sync/client/requests/ListSyncJobsSyncSyncIdJobsGetRequest.d.ts +12 -0
  83. package/api/resources/sync/client/requests/ListSyncJobsSyncSyncIdJobsGetRequest.js +5 -0
  84. package/api/resources/sync/client/requests/ListSyncsSyncGetRequest.d.ts +4 -1
  85. package/api/resources/sync/client/requests/RunSyncSyncSyncIdRunPostRequest.d.ts +12 -0
  86. package/api/resources/sync/client/requests/RunSyncSyncSyncIdRunPostRequest.js +5 -0
  87. package/api/resources/sync/client/requests/SyncCreate.d.ts +12 -1
  88. package/api/resources/sync/client/requests/SyncUpdate.d.ts +11 -1
  89. package/api/resources/sync/client/requests/index.d.ts +5 -0
  90. package/api/resources/transformers/client/Client.d.ts +15 -6
  91. package/api/resources/transformers/client/Client.js +43 -11
  92. package/api/resources/transformers/client/requests/ListTransformersTransformersGetRequest.d.ts +12 -0
  93. package/api/resources/transformers/client/requests/ListTransformersTransformersGetRequest.js +5 -0
  94. package/api/resources/transformers/client/requests/TransformerCreate.d.ts +6 -2
  95. package/api/resources/transformers/client/requests/TransformerUpdate.d.ts +6 -2
  96. package/api/resources/transformers/client/requests/index.d.ts +1 -0
  97. package/api/resources/users/client/Client.d.ts +35 -2
  98. package/api/resources/users/client/Client.js +109 -3
  99. package/api/resources/users/client/index.d.ts +1 -1
  100. package/api/resources/users/client/index.js +15 -0
  101. package/api/resources/users/client/requests/ReadUserUsersGetRequest.d.ts +12 -0
  102. package/api/resources/users/client/requests/ReadUserUsersGetRequest.js +5 -0
  103. package/api/resources/users/client/requests/UserCreate.d.ts +18 -0
  104. package/api/resources/users/client/requests/UserCreate.js +5 -0
  105. package/api/resources/users/client/requests/index.d.ts +2 -0
  106. package/api/resources/users/client/requests/index.js +2 -0
  107. package/api/resources/whiteLabels/client/Client.d.ts +40 -15
  108. package/api/resources/whiteLabels/client/Client.js +94 -26
  109. package/api/resources/whiteLabels/client/requests/DeleteWhiteLabelWhiteLabelsWhiteLabelIdDeleteRequest.d.ts +12 -0
  110. package/api/resources/whiteLabels/client/requests/DeleteWhiteLabelWhiteLabelsWhiteLabelIdDeleteRequest.js +5 -0
  111. package/api/resources/whiteLabels/client/requests/ExchangeWhiteLabelOauth2CodeWhiteLabelsWhiteLabelIdOauth2CodePostRequest.d.ts +14 -0
  112. package/api/resources/whiteLabels/client/requests/ExchangeWhiteLabelOauth2CodeWhiteLabelsWhiteLabelIdOauth2CodePostRequest.js +5 -0
  113. package/api/resources/whiteLabels/client/requests/GetWhiteLabelOauth2AuthUrlWhiteLabelsWhiteLabelIdOauth2AuthUrlGetRequest.d.ts +12 -0
  114. package/api/resources/whiteLabels/client/requests/GetWhiteLabelOauth2AuthUrlWhiteLabelsWhiteLabelIdOauth2AuthUrlGetRequest.js +5 -0
  115. package/api/resources/whiteLabels/client/requests/GetWhiteLabelWhiteLabelsWhiteLabelIdGetRequest.d.ts +12 -0
  116. package/api/resources/whiteLabels/client/requests/GetWhiteLabelWhiteLabelsWhiteLabelIdGetRequest.js +5 -0
  117. package/api/resources/whiteLabels/client/requests/ListWhiteLabelSyncsWhiteLabelsWhiteLabelIdSyncsGetRequest.d.ts +12 -0
  118. package/api/resources/whiteLabels/client/requests/ListWhiteLabelSyncsWhiteLabelsWhiteLabelIdSyncsGetRequest.js +5 -0
  119. package/api/resources/whiteLabels/client/requests/ListWhiteLabelsWhiteLabelsListGetRequest.d.ts +12 -0
  120. package/api/resources/whiteLabels/client/requests/ListWhiteLabelsWhiteLabelsListGetRequest.js +5 -0
  121. package/api/resources/whiteLabels/client/requests/WhiteLabelCreate.d.ts +2 -0
  122. package/api/resources/whiteLabels/client/requests/WhiteLabelUpdate.d.ts +8 -1
  123. package/api/resources/whiteLabels/client/requests/index.d.ts +6 -0
  124. package/api/types/User.d.ts +1 -1
  125. package/dist/api/resources/connections/client/Client.d.ts +47 -18
  126. package/dist/api/resources/connections/client/Client.js +112 -30
  127. package/dist/api/resources/connections/client/requests/BodyConnectIntegrationConnectionsConnectIntegrationTypeShortNamePost.d.ts +6 -1
  128. package/dist/api/resources/connections/client/requests/BodySendOauth2CodeConnectionsOauth2SourceCodePost.d.ts +2 -0
  129. package/dist/api/resources/connections/client/requests/DeleteConnectionConnectionsDeleteSourceConnectionIdDeleteRequest.d.ts +12 -0
  130. package/dist/api/resources/connections/client/requests/DeleteConnectionConnectionsDeleteSourceConnectionIdDeleteRequest.js +5 -0
  131. package/dist/api/resources/connections/client/requests/DisconnectSourceConnectionConnectionsDisconnectSourceConnectionIdPutRequest.d.ts +12 -0
  132. package/dist/api/resources/connections/client/requests/DisconnectSourceConnectionConnectionsDisconnectSourceConnectionIdPutRequest.js +5 -0
  133. package/dist/api/resources/connections/client/requests/GetConnectionConnectionsDetailConnectionIdGetRequest.d.ts +12 -0
  134. package/dist/api/resources/connections/client/requests/GetConnectionConnectionsDetailConnectionIdGetRequest.js +5 -0
  135. package/dist/api/resources/connections/client/requests/GetConnectionCredentialsConnectionsCredentialsConnectionIdGetRequest.d.ts +12 -0
  136. package/dist/api/resources/connections/client/requests/GetConnectionCredentialsConnectionsCredentialsConnectionIdGetRequest.js +5 -0
  137. package/dist/api/resources/connections/client/requests/GetOauth2WhiteLabelAuthUrlConnectionsOauth2WhiteLabelWhiteLabelIdAuthUrlGetRequest.d.ts +12 -0
  138. package/dist/api/resources/connections/client/requests/GetOauth2WhiteLabelAuthUrlConnectionsOauth2WhiteLabelWhiteLabelIdAuthUrlGetRequest.js +5 -0
  139. package/dist/api/resources/connections/client/requests/ListAllConnectedIntegrationsConnectionsListGetRequest.d.ts +12 -0
  140. package/dist/api/resources/connections/client/requests/ListAllConnectedIntegrationsConnectionsListGetRequest.js +5 -0
  141. package/dist/api/resources/connections/client/requests/ListConnectedIntegrationsConnectionsListIntegrationTypeGetRequest.d.ts +12 -0
  142. package/dist/api/resources/connections/client/requests/ListConnectedIntegrationsConnectionsListIntegrationTypeGetRequest.js +5 -0
  143. package/dist/api/resources/connections/client/requests/SendOauth2WhiteLabelCodeConnectionsOauth2WhiteLabelWhiteLabelIdCodePostRequest.d.ts +14 -0
  144. package/dist/api/resources/connections/client/requests/SendOauth2WhiteLabelCodeConnectionsOauth2WhiteLabelWhiteLabelIdCodePostRequest.js +5 -0
  145. package/dist/api/resources/connections/client/requests/index.d.ts +8 -0
  146. package/dist/api/resources/destinations/client/Client.d.ts +10 -4
  147. package/dist/api/resources/destinations/client/Client.js +20 -6
  148. package/dist/api/resources/destinations/client/index.d.ts +1 -1
  149. package/dist/api/resources/destinations/client/index.js +15 -0
  150. package/dist/api/resources/destinations/client/requests/ListDestinationsDestinationsListGetRequest.d.ts +12 -0
  151. package/dist/api/resources/destinations/client/requests/ListDestinationsDestinationsListGetRequest.js +5 -0
  152. package/dist/api/resources/destinations/client/requests/ReadDestinationDestinationsDetailShortNameGetRequest.d.ts +12 -0
  153. package/dist/api/resources/destinations/client/requests/ReadDestinationDestinationsDetailShortNameGetRequest.js +5 -0
  154. package/dist/api/resources/destinations/client/requests/index.d.ts +2 -0
  155. package/dist/api/resources/destinations/client/requests/index.js +2 -0
  156. package/dist/api/resources/embeddingModels/client/Client.d.ts +10 -4
  157. package/dist/api/resources/embeddingModels/client/Client.js +20 -6
  158. package/dist/api/resources/embeddingModels/client/index.d.ts +1 -1
  159. package/dist/api/resources/embeddingModels/client/index.js +15 -0
  160. package/dist/api/resources/embeddingModels/client/requests/ReadEmbeddingModelEmbeddingModelsDetailShortNameGetRequest.d.ts +12 -0
  161. package/dist/api/resources/embeddingModels/client/requests/ReadEmbeddingModelEmbeddingModelsDetailShortNameGetRequest.js +5 -0
  162. package/dist/api/resources/embeddingModels/client/requests/ReadEmbeddingModelsEmbeddingModelsListGetRequest.d.ts +12 -0
  163. package/dist/api/resources/embeddingModels/client/requests/ReadEmbeddingModelsEmbeddingModelsListGetRequest.js +5 -0
  164. package/dist/api/resources/embeddingModels/client/requests/index.d.ts +2 -0
  165. package/dist/api/resources/embeddingModels/client/requests/index.js +2 -0
  166. package/dist/api/resources/entities/client/Client.d.ts +30 -10
  167. package/dist/api/resources/entities/client/Client.js +83 -23
  168. package/dist/api/resources/entities/client/requests/EntityDefinitionCreate.d.ts +5 -1
  169. package/dist/api/resources/entities/client/requests/EntityDefinitionUpdate.d.ts +5 -1
  170. package/dist/api/resources/entities/client/requests/EntityRelationCreate.d.ts +3 -0
  171. package/dist/api/resources/entities/client/requests/EntityRelationUpdate.d.ts +3 -0
  172. package/dist/api/resources/entities/client/requests/GetEntityDefinitionsByIdsEntitiesDefinitionsByIdsPostRequest.d.ts +14 -0
  173. package/dist/api/resources/entities/client/requests/GetEntityDefinitionsByIdsEntitiesDefinitionsByIdsPostRequest.js +5 -0
  174. package/dist/api/resources/entities/client/requests/GetEntityDefinitionsBySourceShortNameEntitiesDefinitionsBySourceGetRequest.d.ts +3 -1
  175. package/dist/api/resources/entities/client/requests/ListEntityDefinitionsEntitiesDefinitionsGetRequest.d.ts +12 -0
  176. package/dist/api/resources/entities/client/requests/ListEntityDefinitionsEntitiesDefinitionsGetRequest.js +5 -0
  177. package/dist/api/resources/entities/client/requests/ListEntityRelationsEntitiesRelationsGetRequest.d.ts +12 -0
  178. package/dist/api/resources/entities/client/requests/ListEntityRelationsEntitiesRelationsGetRequest.js +5 -0
  179. package/dist/api/resources/entities/client/requests/index.d.ts +3 -0
  180. package/dist/api/resources/index.d.ts +4 -0
  181. package/dist/api/resources/index.js +4 -0
  182. package/dist/api/resources/search/client/Client.d.ts +2 -1
  183. package/dist/api/resources/search/client/Client.js +5 -3
  184. package/dist/api/resources/search/client/requests/SearchSearchGetRequest.d.ts +3 -1
  185. package/dist/api/resources/sources/client/Client.d.ts +10 -4
  186. package/dist/api/resources/sources/client/Client.js +20 -6
  187. package/dist/api/resources/sources/client/index.d.ts +1 -1
  188. package/dist/api/resources/sources/client/index.js +15 -0
  189. package/dist/api/resources/sources/client/requests/ReadSourceSourcesDetailShortNameGetRequest.d.ts +12 -0
  190. package/dist/api/resources/sources/client/requests/ReadSourceSourcesDetailShortNameGetRequest.js +5 -0
  191. package/dist/api/resources/sources/client/requests/ReadSourcesSourcesListGetRequest.d.ts +12 -0
  192. package/dist/api/resources/sources/client/requests/ReadSourcesSourcesListGetRequest.js +5 -0
  193. package/dist/api/resources/sources/client/requests/index.d.ts +2 -0
  194. package/dist/api/resources/sources/client/requests/index.js +2 -0
  195. package/dist/api/resources/sync/client/Client.d.ts +61 -20
  196. package/dist/api/resources/sync/client/Client.js +123 -40
  197. package/dist/api/resources/sync/client/requests/DeleteSyncSyncSyncIdDeleteRequest.d.ts +4 -1
  198. package/dist/api/resources/sync/client/requests/GetSyncDagSyncSyncIdDagGetRequest.d.ts +12 -0
  199. package/dist/api/resources/sync/client/requests/GetSyncDagSyncSyncIdDagGetRequest.js +5 -0
  200. package/dist/api/resources/sync/client/requests/GetSyncJobSyncSyncIdJobJobIdGetRequest.d.ts +12 -0
  201. package/dist/api/resources/sync/client/requests/GetSyncJobSyncSyncIdJobJobIdGetRequest.js +5 -0
  202. package/dist/api/resources/sync/client/requests/GetSyncSyncSyncIdGetRequest.d.ts +12 -0
  203. package/dist/api/resources/sync/client/requests/GetSyncSyncSyncIdGetRequest.js +5 -0
  204. package/dist/api/resources/sync/client/requests/ListAllJobsSyncJobsGetRequest.d.ts +4 -1
  205. package/dist/api/resources/sync/client/requests/ListSyncJobsSyncSyncIdJobsGetRequest.d.ts +12 -0
  206. package/dist/api/resources/sync/client/requests/ListSyncJobsSyncSyncIdJobsGetRequest.js +5 -0
  207. package/dist/api/resources/sync/client/requests/ListSyncsSyncGetRequest.d.ts +4 -1
  208. package/dist/api/resources/sync/client/requests/RunSyncSyncSyncIdRunPostRequest.d.ts +12 -0
  209. package/dist/api/resources/sync/client/requests/RunSyncSyncSyncIdRunPostRequest.js +5 -0
  210. package/dist/api/resources/sync/client/requests/SyncCreate.d.ts +12 -1
  211. package/dist/api/resources/sync/client/requests/SyncUpdate.d.ts +11 -1
  212. package/dist/api/resources/sync/client/requests/index.d.ts +5 -0
  213. package/dist/api/resources/transformers/client/Client.d.ts +15 -6
  214. package/dist/api/resources/transformers/client/Client.js +43 -11
  215. package/dist/api/resources/transformers/client/requests/ListTransformersTransformersGetRequest.d.ts +12 -0
  216. package/dist/api/resources/transformers/client/requests/ListTransformersTransformersGetRequest.js +5 -0
  217. package/dist/api/resources/transformers/client/requests/TransformerCreate.d.ts +6 -2
  218. package/dist/api/resources/transformers/client/requests/TransformerUpdate.d.ts +6 -2
  219. package/dist/api/resources/transformers/client/requests/index.d.ts +1 -0
  220. package/dist/api/resources/users/client/Client.d.ts +35 -2
  221. package/dist/api/resources/users/client/Client.js +109 -3
  222. package/dist/api/resources/users/client/index.d.ts +1 -1
  223. package/dist/api/resources/users/client/index.js +15 -0
  224. package/dist/api/resources/users/client/requests/ReadUserUsersGetRequest.d.ts +12 -0
  225. package/dist/api/resources/users/client/requests/ReadUserUsersGetRequest.js +5 -0
  226. package/dist/api/resources/users/client/requests/UserCreate.d.ts +18 -0
  227. package/dist/api/resources/users/client/requests/UserCreate.js +5 -0
  228. package/dist/api/resources/users/client/requests/index.d.ts +2 -0
  229. package/dist/api/resources/users/client/requests/index.js +2 -0
  230. package/dist/api/resources/whiteLabels/client/Client.d.ts +40 -15
  231. package/dist/api/resources/whiteLabels/client/Client.js +94 -26
  232. package/dist/api/resources/whiteLabels/client/requests/DeleteWhiteLabelWhiteLabelsWhiteLabelIdDeleteRequest.d.ts +12 -0
  233. package/dist/api/resources/whiteLabels/client/requests/DeleteWhiteLabelWhiteLabelsWhiteLabelIdDeleteRequest.js +5 -0
  234. package/dist/api/resources/whiteLabels/client/requests/ExchangeWhiteLabelOauth2CodeWhiteLabelsWhiteLabelIdOauth2CodePostRequest.d.ts +14 -0
  235. package/dist/api/resources/whiteLabels/client/requests/ExchangeWhiteLabelOauth2CodeWhiteLabelsWhiteLabelIdOauth2CodePostRequest.js +5 -0
  236. package/dist/api/resources/whiteLabels/client/requests/GetWhiteLabelOauth2AuthUrlWhiteLabelsWhiteLabelIdOauth2AuthUrlGetRequest.d.ts +12 -0
  237. package/dist/api/resources/whiteLabels/client/requests/GetWhiteLabelOauth2AuthUrlWhiteLabelsWhiteLabelIdOauth2AuthUrlGetRequest.js +5 -0
  238. package/dist/api/resources/whiteLabels/client/requests/GetWhiteLabelWhiteLabelsWhiteLabelIdGetRequest.d.ts +12 -0
  239. package/dist/api/resources/whiteLabels/client/requests/GetWhiteLabelWhiteLabelsWhiteLabelIdGetRequest.js +5 -0
  240. package/dist/api/resources/whiteLabels/client/requests/ListWhiteLabelSyncsWhiteLabelsWhiteLabelIdSyncsGetRequest.d.ts +12 -0
  241. package/dist/api/resources/whiteLabels/client/requests/ListWhiteLabelSyncsWhiteLabelsWhiteLabelIdSyncsGetRequest.js +5 -0
  242. package/dist/api/resources/whiteLabels/client/requests/ListWhiteLabelsWhiteLabelsListGetRequest.d.ts +12 -0
  243. package/dist/api/resources/whiteLabels/client/requests/ListWhiteLabelsWhiteLabelsListGetRequest.js +5 -0
  244. package/dist/api/resources/whiteLabels/client/requests/WhiteLabelCreate.d.ts +2 -0
  245. package/dist/api/resources/whiteLabels/client/requests/WhiteLabelUpdate.d.ts +8 -1
  246. package/dist/api/resources/whiteLabels/client/requests/index.d.ts +6 -0
  247. package/dist/api/types/User.d.ts +1 -1
  248. package/dist/serialization/resources/connections/client/requests/BodyConnectIntegrationConnectionsConnectIntegrationTypeShortNamePost.d.ts +1 -1
  249. package/dist/serialization/resources/connections/client/requests/BodySendOauth2CodeConnectionsOauth2SourceCodePost.d.ts +1 -1
  250. package/dist/serialization/resources/entities/client/requests/EntityDefinitionCreate.d.ts +1 -1
  251. package/dist/serialization/resources/entities/client/requests/EntityDefinitionUpdate.d.ts +1 -1
  252. package/dist/serialization/resources/entities/client/requests/EntityRelationCreate.d.ts +1 -1
  253. package/dist/serialization/resources/entities/client/requests/EntityRelationUpdate.d.ts +1 -1
  254. package/dist/serialization/resources/index.d.ts +2 -0
  255. package/dist/serialization/resources/index.js +3 -1
  256. package/dist/serialization/resources/sync/client/requests/SyncCreate.d.ts +1 -1
  257. package/dist/serialization/resources/sync/client/requests/SyncUpdate.d.ts +1 -1
  258. package/dist/serialization/resources/transformers/client/requests/TransformerCreate.d.ts +1 -1
  259. package/dist/serialization/resources/transformers/client/requests/TransformerUpdate.d.ts +1 -1
  260. package/dist/serialization/resources/users/client/index.d.ts +1 -0
  261. package/dist/serialization/resources/users/client/index.js +17 -0
  262. package/dist/serialization/resources/users/client/requests/UserCreate.d.ts +14 -0
  263. package/dist/serialization/resources/users/client/requests/UserCreate.js +45 -0
  264. package/dist/serialization/resources/users/client/requests/index.d.ts +1 -0
  265. package/dist/serialization/resources/users/client/requests/index.js +5 -0
  266. package/dist/serialization/resources/users/index.d.ts +1 -0
  267. package/dist/serialization/resources/users/index.js +17 -0
  268. package/dist/serialization/resources/whiteLabels/client/requests/WhiteLabelCreate.d.ts +1 -1
  269. package/dist/serialization/resources/whiteLabels/client/requests/WhiteLabelUpdate.d.ts +1 -1
  270. package/dist/serialization/types/User.d.ts +1 -1
  271. package/dist/serialization/types/User.js +1 -1
  272. package/dist/version.d.ts +1 -1
  273. package/dist/version.js +1 -1
  274. package/package.json +1 -1
  275. package/reference.md +490 -74
  276. package/serialization/resources/connections/client/requests/BodyConnectIntegrationConnectionsConnectIntegrationTypeShortNamePost.d.ts +1 -1
  277. package/serialization/resources/connections/client/requests/BodySendOauth2CodeConnectionsOauth2SourceCodePost.d.ts +1 -1
  278. package/serialization/resources/entities/client/requests/EntityDefinitionCreate.d.ts +1 -1
  279. package/serialization/resources/entities/client/requests/EntityDefinitionUpdate.d.ts +1 -1
  280. package/serialization/resources/entities/client/requests/EntityRelationCreate.d.ts +1 -1
  281. package/serialization/resources/entities/client/requests/EntityRelationUpdate.d.ts +1 -1
  282. package/serialization/resources/index.d.ts +2 -0
  283. package/serialization/resources/index.js +3 -1
  284. package/serialization/resources/sync/client/requests/SyncCreate.d.ts +1 -1
  285. package/serialization/resources/sync/client/requests/SyncUpdate.d.ts +1 -1
  286. package/serialization/resources/transformers/client/requests/TransformerCreate.d.ts +1 -1
  287. package/serialization/resources/transformers/client/requests/TransformerUpdate.d.ts +1 -1
  288. package/serialization/resources/users/client/index.d.ts +1 -0
  289. package/serialization/resources/users/client/index.js +17 -0
  290. package/serialization/resources/users/client/requests/UserCreate.d.ts +14 -0
  291. package/serialization/resources/users/client/requests/UserCreate.js +45 -0
  292. package/serialization/resources/users/client/requests/index.d.ts +1 -0
  293. package/serialization/resources/users/client/requests/index.js +5 -0
  294. package/serialization/resources/users/index.d.ts +1 -0
  295. package/serialization/resources/users/index.js +17 -0
  296. package/serialization/resources/whiteLabels/client/requests/WhiteLabelCreate.d.ts +1 -1
  297. package/serialization/resources/whiteLabels/client/requests/WhiteLabelUpdate.d.ts +1 -1
  298. package/serialization/types/User.d.ts +1 -1
  299. package/serialization/types/User.js +1 -1
  300. package/version.d.ts +1 -1
  301. package/version.js +1 -1
@@ -38,14 +38,17 @@ export declare class WhiteLabels {
38
38
  * --------
39
39
  * list[schemas.WhiteLabel]: A list of white labels
40
40
  *
41
+ * @param {AirweaveSDK.ListWhiteLabelsWhiteLabelsListGetRequest} request
41
42
  * @param {WhiteLabels.RequestOptions} requestOptions - Request-specific configuration.
42
43
  *
43
44
  * @throws {@link AirweaveSDK.UnprocessableEntityError}
44
45
  *
45
46
  * @example
46
- * await client.whiteLabels.listWhiteLabels()
47
+ * await client.whiteLabels.listWhiteLabels({
48
+ * creds: "creds"
49
+ * })
47
50
  */
48
- listWhiteLabels(requestOptions?: WhiteLabels.RequestOptions): Promise<AirweaveSDK.WhiteLabel[]>;
51
+ listWhiteLabels(request: AirweaveSDK.ListWhiteLabelsWhiteLabelsListGetRequest, requestOptions?: WhiteLabels.RequestOptions): Promise<AirweaveSDK.WhiteLabel[]>;
49
52
  /**
50
53
  * Create new white label integration.
51
54
  *
@@ -66,6 +69,7 @@ export declare class WhiteLabels {
66
69
  *
67
70
  * @example
68
71
  * await client.whiteLabels.createWhiteLabel({
72
+ * creds: "creds",
69
73
  * name: "name",
70
74
  * sourceShortName: "source_short_name",
71
75
  * redirectUrl: "redirect_url",
@@ -88,14 +92,17 @@ export declare class WhiteLabels {
88
92
  * white_label (schemas.WhiteLabel): The white label
89
93
  *
90
94
  * @param {string} whiteLabelId
95
+ * @param {AirweaveSDK.GetWhiteLabelWhiteLabelsWhiteLabelIdGetRequest} request
91
96
  * @param {WhiteLabels.RequestOptions} requestOptions - Request-specific configuration.
92
97
  *
93
98
  * @throws {@link AirweaveSDK.UnprocessableEntityError}
94
99
  *
95
100
  * @example
96
- * await client.whiteLabels.getWhiteLabel("white_label_id")
101
+ * await client.whiteLabels.getWhiteLabel("white_label_id", {
102
+ * creds: "creds"
103
+ * })
97
104
  */
98
- getWhiteLabel(whiteLabelId: string, requestOptions?: WhiteLabels.RequestOptions): Promise<AirweaveSDK.WhiteLabel>;
105
+ getWhiteLabel(whiteLabelId: string, request: AirweaveSDK.GetWhiteLabelWhiteLabelsWhiteLabelIdGetRequest, requestOptions?: WhiteLabels.RequestOptions): Promise<AirweaveSDK.WhiteLabel>;
99
106
  /**
100
107
  * Update a white label integration.
101
108
  *
@@ -117,9 +124,15 @@ export declare class WhiteLabels {
117
124
  * @throws {@link AirweaveSDK.UnprocessableEntityError}
118
125
  *
119
126
  * @example
120
- * await client.whiteLabels.updateWhiteLabel("white_label_id")
127
+ * await client.whiteLabels.updateWhiteLabel("white_label_id", {
128
+ * creds: "creds",
129
+ * name: undefined,
130
+ * redirectUrl: undefined,
131
+ * clientId: undefined,
132
+ * clientSecret: undefined
133
+ * })
121
134
  */
122
- updateWhiteLabel(whiteLabelId: string, request?: AirweaveSDK.WhiteLabelUpdate, requestOptions?: WhiteLabels.RequestOptions): Promise<AirweaveSDK.WhiteLabel>;
135
+ updateWhiteLabel(whiteLabelId: string, request: AirweaveSDK.WhiteLabelUpdate, requestOptions?: WhiteLabels.RequestOptions): Promise<AirweaveSDK.WhiteLabel>;
123
136
  /**
124
137
  * Delete a white label integration.
125
138
  *
@@ -134,14 +147,17 @@ export declare class WhiteLabels {
134
147
  * white_label (schemas.WhiteLabel): The deleted white label
135
148
  *
136
149
  * @param {string} whiteLabelId
150
+ * @param {AirweaveSDK.DeleteWhiteLabelWhiteLabelsWhiteLabelIdDeleteRequest} request
137
151
  * @param {WhiteLabels.RequestOptions} requestOptions - Request-specific configuration.
138
152
  *
139
153
  * @throws {@link AirweaveSDK.UnprocessableEntityError}
140
154
  *
141
155
  * @example
142
- * await client.whiteLabels.deleteWhiteLabel("white_label_id")
156
+ * await client.whiteLabels.deleteWhiteLabel("white_label_id", {
157
+ * creds: "creds"
158
+ * })
143
159
  */
144
- deleteWhiteLabel(whiteLabelId: string, requestOptions?: WhiteLabels.RequestOptions): Promise<AirweaveSDK.WhiteLabel>;
160
+ deleteWhiteLabel(whiteLabelId: string, request: AirweaveSDK.DeleteWhiteLabelWhiteLabelsWhiteLabelIdDeleteRequest, requestOptions?: WhiteLabels.RequestOptions): Promise<AirweaveSDK.WhiteLabel>;
145
161
  /**
146
162
  * Generate the OAuth2 authorization URL by delegating to oauth2_service.
147
163
  *
@@ -156,14 +172,17 @@ export declare class WhiteLabels {
156
172
  * str: The OAuth2 authorization URL
157
173
  *
158
174
  * @param {string} whiteLabelId
175
+ * @param {AirweaveSDK.GetWhiteLabelOauth2AuthUrlWhiteLabelsWhiteLabelIdOauth2AuthUrlGetRequest} request
159
176
  * @param {WhiteLabels.RequestOptions} requestOptions - Request-specific configuration.
160
177
  *
161
178
  * @throws {@link AirweaveSDK.UnprocessableEntityError}
162
179
  *
163
180
  * @example
164
- * await client.whiteLabels.getWhiteLabelOauth2AuthUrl("white_label_id")
181
+ * await client.whiteLabels.getWhiteLabelOauth2AuthUrl("white_label_id", {
182
+ * creds: "creds"
183
+ * })
165
184
  */
166
- getWhiteLabelOauth2AuthUrl(whiteLabelId: string, requestOptions?: WhiteLabels.RequestOptions): Promise<string>;
185
+ getWhiteLabelOauth2AuthUrl(whiteLabelId: string, request: AirweaveSDK.GetWhiteLabelOauth2AuthUrlWhiteLabelsWhiteLabelIdOauth2AuthUrlGetRequest, requestOptions?: WhiteLabels.RequestOptions): Promise<string>;
167
186
  /**
168
187
  * Exchange OAuth2 code for tokens and create connection.
169
188
  *
@@ -179,15 +198,18 @@ export declare class WhiteLabels {
179
198
  * connection (schemas.Connection): The created connection
180
199
  *
181
200
  * @param {string} whiteLabelId
182
- * @param {string} request
201
+ * @param {AirweaveSDK.ExchangeWhiteLabelOauth2CodeWhiteLabelsWhiteLabelIdOauth2CodePostRequest} request
183
202
  * @param {WhiteLabels.RequestOptions} requestOptions - Request-specific configuration.
184
203
  *
185
204
  * @throws {@link AirweaveSDK.UnprocessableEntityError}
186
205
  *
187
206
  * @example
188
- * await client.whiteLabels.exchangeWhiteLabelOauth2Code("white_label_id", "string")
207
+ * await client.whiteLabels.exchangeWhiteLabelOauth2Code("white_label_id", {
208
+ * creds: "creds",
209
+ * body: "string"
210
+ * })
189
211
  */
190
- exchangeWhiteLabelOauth2Code(whiteLabelId: string, request: string, requestOptions?: WhiteLabels.RequestOptions): Promise<AirweaveSDK.Connection>;
212
+ exchangeWhiteLabelOauth2Code(whiteLabelId: string, request: AirweaveSDK.ExchangeWhiteLabelOauth2CodeWhiteLabelsWhiteLabelIdOauth2CodePostRequest, requestOptions?: WhiteLabels.RequestOptions): Promise<AirweaveSDK.Connection>;
191
213
  /**
192
214
  * List all syncs for a specific white label.
193
215
  *
@@ -202,12 +224,15 @@ export declare class WhiteLabels {
202
224
  * list[schemas.Sync]: A list of syncs
203
225
  *
204
226
  * @param {string} whiteLabelId
227
+ * @param {AirweaveSDK.ListWhiteLabelSyncsWhiteLabelsWhiteLabelIdSyncsGetRequest} request
205
228
  * @param {WhiteLabels.RequestOptions} requestOptions - Request-specific configuration.
206
229
  *
207
230
  * @throws {@link AirweaveSDK.UnprocessableEntityError}
208
231
  *
209
232
  * @example
210
- * await client.whiteLabels.listWhiteLabelSyncs("white_label_id")
233
+ * await client.whiteLabels.listWhiteLabelSyncs("white_label_id", {
234
+ * creds: "creds"
235
+ * })
211
236
  */
212
- listWhiteLabelSyncs(whiteLabelId: string, requestOptions?: WhiteLabels.RequestOptions): Promise<AirweaveSDK.Sync[]>;
237
+ listWhiteLabelSyncs(whiteLabelId: string, request: AirweaveSDK.ListWhiteLabelSyncsWhiteLabelsWhiteLabelIdSyncsGetRequest, requestOptions?: WhiteLabels.RequestOptions): Promise<AirweaveSDK.Sync[]>;
213
238
  }
@@ -44,6 +44,17 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
44
44
  step((generator = generator.apply(thisArg, _arguments || [])).next());
45
45
  });
46
46
  };
47
+ var __rest = (this && this.__rest) || function (s, e) {
48
+ var t = {};
49
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
50
+ t[p] = s[p];
51
+ if (s != null && typeof Object.getOwnPropertySymbols === "function")
52
+ for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
53
+ if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
54
+ t[p[i]] = s[p[i]];
55
+ }
56
+ return t;
57
+ };
47
58
  var __importDefault = (this && this.__importDefault) || function (mod) {
48
59
  return (mod && mod.__esModule) ? mod : { "default": mod };
49
60
  };
@@ -71,23 +82,30 @@ class WhiteLabels {
71
82
  * --------
72
83
  * list[schemas.WhiteLabel]: A list of white labels
73
84
  *
85
+ * @param {AirweaveSDK.ListWhiteLabelsWhiteLabelsListGetRequest} request
74
86
  * @param {WhiteLabels.RequestOptions} requestOptions - Request-specific configuration.
75
87
  *
76
88
  * @throws {@link AirweaveSDK.UnprocessableEntityError}
77
89
  *
78
90
  * @example
79
- * await client.whiteLabels.listWhiteLabels()
91
+ * await client.whiteLabels.listWhiteLabels({
92
+ * creds: "creds"
93
+ * })
80
94
  */
81
- listWhiteLabels(requestOptions) {
95
+ listWhiteLabels(request, requestOptions) {
82
96
  return __awaiter(this, void 0, void 0, function* () {
83
97
  var _a;
98
+ const { creds } = request;
99
+ const _queryParams = {};
100
+ _queryParams["creds"] = creds;
84
101
  const _response = yield core.fetcher({
85
102
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.AirweaveSDKEnvironment.Production, "white_labels/list"),
86
103
  method: "GET",
87
104
  headers: Object.assign({ "x-api-key": (yield core.Supplier.get(this._options.apiKey)) != null
88
105
  ? yield core.Supplier.get(this._options.apiKey)
89
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "v0.2.8", "User-Agent": "@airweave/sdk/v0.2.8", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
106
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "v0.2.9", "User-Agent": "@airweave/sdk/v0.2.9", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
90
107
  contentType: "application/json",
108
+ queryParameters: _queryParams,
91
109
  requestType: "json",
92
110
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
93
111
  maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
@@ -152,6 +170,7 @@ class WhiteLabels {
152
170
  *
153
171
  * @example
154
172
  * await client.whiteLabels.createWhiteLabel({
173
+ * creds: "creds",
155
174
  * name: "name",
156
175
  * sourceShortName: "source_short_name",
157
176
  * redirectUrl: "redirect_url",
@@ -162,15 +181,19 @@ class WhiteLabels {
162
181
  createWhiteLabel(request, requestOptions) {
163
182
  return __awaiter(this, void 0, void 0, function* () {
164
183
  var _a;
184
+ const { creds } = request, _body = __rest(request, ["creds"]);
185
+ const _queryParams = {};
186
+ _queryParams["creds"] = creds;
165
187
  const _response = yield core.fetcher({
166
188
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.AirweaveSDKEnvironment.Production, "white_labels/"),
167
189
  method: "POST",
168
190
  headers: Object.assign({ "x-api-key": (yield core.Supplier.get(this._options.apiKey)) != null
169
191
  ? yield core.Supplier.get(this._options.apiKey)
170
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "v0.2.8", "User-Agent": "@airweave/sdk/v0.2.8", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
192
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "v0.2.9", "User-Agent": "@airweave/sdk/v0.2.9", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
171
193
  contentType: "application/json",
194
+ queryParameters: _queryParams,
172
195
  requestType: "json",
173
- body: serializers.WhiteLabelCreate.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
196
+ body: serializers.WhiteLabelCreate.jsonOrThrow(_body, { unrecognizedObjectKeys: "strip" }),
174
197
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
175
198
  maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
176
199
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
@@ -228,23 +251,30 @@ class WhiteLabels {
228
251
  * white_label (schemas.WhiteLabel): The white label
229
252
  *
230
253
  * @param {string} whiteLabelId
254
+ * @param {AirweaveSDK.GetWhiteLabelWhiteLabelsWhiteLabelIdGetRequest} request
231
255
  * @param {WhiteLabels.RequestOptions} requestOptions - Request-specific configuration.
232
256
  *
233
257
  * @throws {@link AirweaveSDK.UnprocessableEntityError}
234
258
  *
235
259
  * @example
236
- * await client.whiteLabels.getWhiteLabel("white_label_id")
260
+ * await client.whiteLabels.getWhiteLabel("white_label_id", {
261
+ * creds: "creds"
262
+ * })
237
263
  */
238
- getWhiteLabel(whiteLabelId, requestOptions) {
264
+ getWhiteLabel(whiteLabelId, request, requestOptions) {
239
265
  return __awaiter(this, void 0, void 0, function* () {
240
266
  var _a;
267
+ const { creds } = request;
268
+ const _queryParams = {};
269
+ _queryParams["creds"] = creds;
241
270
  const _response = yield core.fetcher({
242
271
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.AirweaveSDKEnvironment.Production, `white_labels/${encodeURIComponent(whiteLabelId)}`),
243
272
  method: "GET",
244
273
  headers: Object.assign({ "x-api-key": (yield core.Supplier.get(this._options.apiKey)) != null
245
274
  ? yield core.Supplier.get(this._options.apiKey)
246
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "v0.2.8", "User-Agent": "@airweave/sdk/v0.2.8", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
275
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "v0.2.9", "User-Agent": "@airweave/sdk/v0.2.9", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
247
276
  contentType: "application/json",
277
+ queryParameters: _queryParams,
248
278
  requestType: "json",
249
279
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
250
280
  maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
@@ -310,20 +340,30 @@ class WhiteLabels {
310
340
  * @throws {@link AirweaveSDK.UnprocessableEntityError}
311
341
  *
312
342
  * @example
313
- * await client.whiteLabels.updateWhiteLabel("white_label_id")
343
+ * await client.whiteLabels.updateWhiteLabel("white_label_id", {
344
+ * creds: "creds",
345
+ * name: undefined,
346
+ * redirectUrl: undefined,
347
+ * clientId: undefined,
348
+ * clientSecret: undefined
349
+ * })
314
350
  */
315
- updateWhiteLabel(whiteLabelId_1) {
316
- return __awaiter(this, arguments, void 0, function* (whiteLabelId, request = {}, requestOptions) {
351
+ updateWhiteLabel(whiteLabelId, request, requestOptions) {
352
+ return __awaiter(this, void 0, void 0, function* () {
317
353
  var _a;
354
+ const { creds } = request, _body = __rest(request, ["creds"]);
355
+ const _queryParams = {};
356
+ _queryParams["creds"] = creds;
318
357
  const _response = yield core.fetcher({
319
358
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.AirweaveSDKEnvironment.Production, `white_labels/${encodeURIComponent(whiteLabelId)}`),
320
359
  method: "PUT",
321
360
  headers: Object.assign({ "x-api-key": (yield core.Supplier.get(this._options.apiKey)) != null
322
361
  ? yield core.Supplier.get(this._options.apiKey)
323
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "v0.2.8", "User-Agent": "@airweave/sdk/v0.2.8", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
362
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "v0.2.9", "User-Agent": "@airweave/sdk/v0.2.9", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
324
363
  contentType: "application/json",
364
+ queryParameters: _queryParams,
325
365
  requestType: "json",
326
- body: serializers.WhiteLabelUpdate.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
366
+ body: serializers.WhiteLabelUpdate.jsonOrThrow(_body, { unrecognizedObjectKeys: "strip" }),
327
367
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
328
368
  maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
329
369
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
@@ -381,23 +421,30 @@ class WhiteLabels {
381
421
  * white_label (schemas.WhiteLabel): The deleted white label
382
422
  *
383
423
  * @param {string} whiteLabelId
424
+ * @param {AirweaveSDK.DeleteWhiteLabelWhiteLabelsWhiteLabelIdDeleteRequest} request
384
425
  * @param {WhiteLabels.RequestOptions} requestOptions - Request-specific configuration.
385
426
  *
386
427
  * @throws {@link AirweaveSDK.UnprocessableEntityError}
387
428
  *
388
429
  * @example
389
- * await client.whiteLabels.deleteWhiteLabel("white_label_id")
430
+ * await client.whiteLabels.deleteWhiteLabel("white_label_id", {
431
+ * creds: "creds"
432
+ * })
390
433
  */
391
- deleteWhiteLabel(whiteLabelId, requestOptions) {
434
+ deleteWhiteLabel(whiteLabelId, request, requestOptions) {
392
435
  return __awaiter(this, void 0, void 0, function* () {
393
436
  var _a;
437
+ const { creds } = request;
438
+ const _queryParams = {};
439
+ _queryParams["creds"] = creds;
394
440
  const _response = yield core.fetcher({
395
441
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.AirweaveSDKEnvironment.Production, `white_labels/${encodeURIComponent(whiteLabelId)}`),
396
442
  method: "DELETE",
397
443
  headers: Object.assign({ "x-api-key": (yield core.Supplier.get(this._options.apiKey)) != null
398
444
  ? yield core.Supplier.get(this._options.apiKey)
399
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "v0.2.8", "User-Agent": "@airweave/sdk/v0.2.8", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
445
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "v0.2.9", "User-Agent": "@airweave/sdk/v0.2.9", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
400
446
  contentType: "application/json",
447
+ queryParameters: _queryParams,
401
448
  requestType: "json",
402
449
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
403
450
  maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
@@ -456,23 +503,30 @@ class WhiteLabels {
456
503
  * str: The OAuth2 authorization URL
457
504
  *
458
505
  * @param {string} whiteLabelId
506
+ * @param {AirweaveSDK.GetWhiteLabelOauth2AuthUrlWhiteLabelsWhiteLabelIdOauth2AuthUrlGetRequest} request
459
507
  * @param {WhiteLabels.RequestOptions} requestOptions - Request-specific configuration.
460
508
  *
461
509
  * @throws {@link AirweaveSDK.UnprocessableEntityError}
462
510
  *
463
511
  * @example
464
- * await client.whiteLabels.getWhiteLabelOauth2AuthUrl("white_label_id")
512
+ * await client.whiteLabels.getWhiteLabelOauth2AuthUrl("white_label_id", {
513
+ * creds: "creds"
514
+ * })
465
515
  */
466
- getWhiteLabelOauth2AuthUrl(whiteLabelId, requestOptions) {
516
+ getWhiteLabelOauth2AuthUrl(whiteLabelId, request, requestOptions) {
467
517
  return __awaiter(this, void 0, void 0, function* () {
468
518
  var _a;
519
+ const { creds } = request;
520
+ const _queryParams = {};
521
+ _queryParams["creds"] = creds;
469
522
  const _response = yield core.fetcher({
470
523
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.AirweaveSDKEnvironment.Production, `white_labels/${encodeURIComponent(whiteLabelId)}/oauth2/auth_url`),
471
524
  method: "GET",
472
525
  headers: Object.assign({ "x-api-key": (yield core.Supplier.get(this._options.apiKey)) != null
473
526
  ? yield core.Supplier.get(this._options.apiKey)
474
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "v0.2.8", "User-Agent": "@airweave/sdk/v0.2.8", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
527
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "v0.2.9", "User-Agent": "@airweave/sdk/v0.2.9", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
475
528
  contentType: "application/json",
529
+ queryParameters: _queryParams,
476
530
  requestType: "json",
477
531
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
478
532
  maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
@@ -532,26 +586,33 @@ class WhiteLabels {
532
586
  * connection (schemas.Connection): The created connection
533
587
  *
534
588
  * @param {string} whiteLabelId
535
- * @param {string} request
589
+ * @param {AirweaveSDK.ExchangeWhiteLabelOauth2CodeWhiteLabelsWhiteLabelIdOauth2CodePostRequest} request
536
590
  * @param {WhiteLabels.RequestOptions} requestOptions - Request-specific configuration.
537
591
  *
538
592
  * @throws {@link AirweaveSDK.UnprocessableEntityError}
539
593
  *
540
594
  * @example
541
- * await client.whiteLabels.exchangeWhiteLabelOauth2Code("white_label_id", "string")
595
+ * await client.whiteLabels.exchangeWhiteLabelOauth2Code("white_label_id", {
596
+ * creds: "creds",
597
+ * body: "string"
598
+ * })
542
599
  */
543
600
  exchangeWhiteLabelOauth2Code(whiteLabelId, request, requestOptions) {
544
601
  return __awaiter(this, void 0, void 0, function* () {
545
602
  var _a;
603
+ const { creds, body: _body } = request;
604
+ const _queryParams = {};
605
+ _queryParams["creds"] = creds;
546
606
  const _response = yield core.fetcher({
547
607
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.AirweaveSDKEnvironment.Production, `white_labels/${encodeURIComponent(whiteLabelId)}/oauth2/code`),
548
608
  method: "POST",
549
609
  headers: Object.assign({ "x-api-key": (yield core.Supplier.get(this._options.apiKey)) != null
550
610
  ? yield core.Supplier.get(this._options.apiKey)
551
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "v0.2.8", "User-Agent": "@airweave/sdk/v0.2.8", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
611
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "v0.2.9", "User-Agent": "@airweave/sdk/v0.2.9", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
552
612
  contentType: "application/json",
613
+ queryParameters: _queryParams,
553
614
  requestType: "json",
554
- body: serializers.whiteLabels.exchangeWhiteLabelOauth2Code.Request.jsonOrThrow(request, {
615
+ body: serializers.whiteLabels.exchangeWhiteLabelOauth2Code.Request.jsonOrThrow(_body, {
555
616
  unrecognizedObjectKeys: "strip",
556
617
  }),
557
618
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -611,23 +672,30 @@ class WhiteLabels {
611
672
  * list[schemas.Sync]: A list of syncs
612
673
  *
613
674
  * @param {string} whiteLabelId
675
+ * @param {AirweaveSDK.ListWhiteLabelSyncsWhiteLabelsWhiteLabelIdSyncsGetRequest} request
614
676
  * @param {WhiteLabels.RequestOptions} requestOptions - Request-specific configuration.
615
677
  *
616
678
  * @throws {@link AirweaveSDK.UnprocessableEntityError}
617
679
  *
618
680
  * @example
619
- * await client.whiteLabels.listWhiteLabelSyncs("white_label_id")
681
+ * await client.whiteLabels.listWhiteLabelSyncs("white_label_id", {
682
+ * creds: "creds"
683
+ * })
620
684
  */
621
- listWhiteLabelSyncs(whiteLabelId, requestOptions) {
685
+ listWhiteLabelSyncs(whiteLabelId, request, requestOptions) {
622
686
  return __awaiter(this, void 0, void 0, function* () {
623
687
  var _a;
688
+ const { creds } = request;
689
+ const _queryParams = {};
690
+ _queryParams["creds"] = creds;
624
691
  const _response = yield core.fetcher({
625
692
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.AirweaveSDKEnvironment.Production, `white_labels/${encodeURIComponent(whiteLabelId)}/syncs`),
626
693
  method: "GET",
627
694
  headers: Object.assign({ "x-api-key": (yield core.Supplier.get(this._options.apiKey)) != null
628
695
  ? yield core.Supplier.get(this._options.apiKey)
629
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "v0.2.8", "User-Agent": "@airweave/sdk/v0.2.8", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
696
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@airweave/sdk", "X-Fern-SDK-Version": "v0.2.9", "User-Agent": "@airweave/sdk/v0.2.9", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
630
697
  contentType: "application/json",
698
+ queryParameters: _queryParams,
631
699
  requestType: "json",
632
700
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
633
701
  maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
@@ -0,0 +1,12 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ /**
5
+ * @example
6
+ * {
7
+ * creds: "creds"
8
+ * }
9
+ */
10
+ export interface DeleteWhiteLabelWhiteLabelsWhiteLabelIdDeleteRequest {
11
+ creds: string;
12
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,14 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ /**
5
+ * @example
6
+ * {
7
+ * creds: "creds",
8
+ * body: "string"
9
+ * }
10
+ */
11
+ export interface ExchangeWhiteLabelOauth2CodeWhiteLabelsWhiteLabelIdOauth2CodePostRequest {
12
+ creds: string;
13
+ body: string;
14
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,12 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ /**
5
+ * @example
6
+ * {
7
+ * creds: "creds"
8
+ * }
9
+ */
10
+ export interface GetWhiteLabelOauth2AuthUrlWhiteLabelsWhiteLabelIdOauth2AuthUrlGetRequest {
11
+ creds: string;
12
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,12 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ /**
5
+ * @example
6
+ * {
7
+ * creds: "creds"
8
+ * }
9
+ */
10
+ export interface GetWhiteLabelWhiteLabelsWhiteLabelIdGetRequest {
11
+ creds: string;
12
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,12 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ /**
5
+ * @example
6
+ * {
7
+ * creds: "creds"
8
+ * }
9
+ */
10
+ export interface ListWhiteLabelSyncsWhiteLabelsWhiteLabelIdSyncsGetRequest {
11
+ creds: string;
12
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,12 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ /**
5
+ * @example
6
+ * {
7
+ * creds: "creds"
8
+ * }
9
+ */
10
+ export interface ListWhiteLabelsWhiteLabelsListGetRequest {
11
+ creds: string;
12
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -4,6 +4,7 @@
4
4
  /**
5
5
  * @example
6
6
  * {
7
+ * creds: "creds",
7
8
  * name: "name",
8
9
  * sourceShortName: "source_short_name",
9
10
  * redirectUrl: "redirect_url",
@@ -12,6 +13,7 @@
12
13
  * }
13
14
  */
14
15
  export interface WhiteLabelCreate {
16
+ creds: string;
15
17
  name: string;
16
18
  sourceShortName: string;
17
19
  redirectUrl: string;
@@ -3,9 +3,16 @@
3
3
  */
4
4
  /**
5
5
  * @example
6
- * {}
6
+ * {
7
+ * creds: "creds",
8
+ * name: undefined,
9
+ * redirectUrl: undefined,
10
+ * clientId: undefined,
11
+ * clientSecret: undefined
12
+ * }
7
13
  */
8
14
  export interface WhiteLabelUpdate {
15
+ creds: string;
9
16
  name?: string;
10
17
  redirectUrl?: string;
11
18
  clientId?: string;
@@ -1,2 +1,8 @@
1
+ export { type ListWhiteLabelsWhiteLabelsListGetRequest } from "./ListWhiteLabelsWhiteLabelsListGetRequest";
1
2
  export { type WhiteLabelCreate } from "./WhiteLabelCreate";
3
+ export { type GetWhiteLabelWhiteLabelsWhiteLabelIdGetRequest } from "./GetWhiteLabelWhiteLabelsWhiteLabelIdGetRequest";
2
4
  export { type WhiteLabelUpdate } from "./WhiteLabelUpdate";
5
+ export { type DeleteWhiteLabelWhiteLabelsWhiteLabelIdDeleteRequest } from "./DeleteWhiteLabelWhiteLabelsWhiteLabelIdDeleteRequest";
6
+ export { type GetWhiteLabelOauth2AuthUrlWhiteLabelsWhiteLabelIdOauth2AuthUrlGetRequest } from "./GetWhiteLabelOauth2AuthUrlWhiteLabelsWhiteLabelIdOauth2AuthUrlGetRequest";
7
+ export { type ExchangeWhiteLabelOauth2CodeWhiteLabelsWhiteLabelIdOauth2CodePostRequest } from "./ExchangeWhiteLabelOauth2CodeWhiteLabelsWhiteLabelIdOauth2CodePostRequest";
8
+ export { type ListWhiteLabelSyncsWhiteLabelsWhiteLabelIdSyncsGetRequest } from "./ListWhiteLabelSyncsWhiteLabelsWhiteLabelIdSyncsGetRequest";
@@ -7,7 +7,7 @@
7
7
  export interface User {
8
8
  email: string;
9
9
  fullName?: string;
10
- organizationId: string;
10
+ organizationId?: string;
11
11
  id: string;
12
12
  permissions?: string[];
13
13
  }
@@ -4,7 +4,7 @@
4
4
  import * as serializers from "../../../../index";
5
5
  import * as AirweaveSDK from "../../../../../api/index";
6
6
  import * as core from "../../../../../core";
7
- export declare const BodyConnectIntegrationConnectionsConnectIntegrationTypeShortNamePost: core.serialization.Schema<serializers.BodyConnectIntegrationConnectionsConnectIntegrationTypeShortNamePost.Raw, AirweaveSDK.BodyConnectIntegrationConnectionsConnectIntegrationTypeShortNamePost>;
7
+ export declare const BodyConnectIntegrationConnectionsConnectIntegrationTypeShortNamePost: core.serialization.Schema<serializers.BodyConnectIntegrationConnectionsConnectIntegrationTypeShortNamePost.Raw, Omit<AirweaveSDK.BodyConnectIntegrationConnectionsConnectIntegrationTypeShortNamePost, "creds">>;
8
8
  export declare namespace BodyConnectIntegrationConnectionsConnectIntegrationTypeShortNamePost {
9
9
  interface Raw {
10
10
  name?: string | null;