@augstash/sdk 0.2.0 → 0.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (472) hide show
  1. package/dist/generated/src/apis/AdAccountApi.d.ts +13 -13
  2. package/dist/generated/src/apis/AdAccountApi.js +8 -8
  3. package/dist/generated/src/apis/AdminEmailReputationApi.d.ts +12 -12
  4. package/dist/generated/src/apis/AdminEmailReputationApi.js +6 -6
  5. package/dist/generated/src/apis/AdminFirstPartyAppApi.d.ts +49 -20
  6. package/dist/generated/src/apis/AdminFirstPartyAppApi.js +51 -10
  7. package/dist/generated/src/apis/AdminFxRateApi.d.ts +4 -4
  8. package/dist/generated/src/apis/AdminFxRateApi.js +2 -2
  9. package/dist/generated/src/apis/AdminImpersonationApi.d.ts +16 -16
  10. package/dist/generated/src/apis/AdminImpersonationApi.js +8 -8
  11. package/dist/generated/src/apis/AdminOperatorApi.d.ts +12 -12
  12. package/dist/generated/src/apis/AdminOperatorApi.js +6 -6
  13. package/dist/generated/src/apis/AdminPricingApi.d.ts +16 -16
  14. package/dist/generated/src/apis/AdminPricingApi.js +8 -8
  15. package/dist/generated/src/apis/AdminProviderHealthApi.d.ts +4 -4
  16. package/dist/generated/src/apis/AdminProviderHealthApi.js +2 -2
  17. package/dist/generated/src/apis/AdminRateCardApi.d.ts +16 -16
  18. package/dist/generated/src/apis/AdminRateCardApi.js +8 -8
  19. package/dist/generated/src/apis/AdminRevenueApi.d.ts +12 -12
  20. package/dist/generated/src/apis/AdminRevenueApi.js +6 -6
  21. package/dist/generated/src/apis/AdminTenantApi.d.ts +16 -16
  22. package/dist/generated/src/apis/AdminTenantApi.js +8 -8
  23. package/dist/generated/src/apis/AdminTenantPurgeApi.d.ts +57 -0
  24. package/dist/generated/src/apis/AdminTenantPurgeApi.js +103 -0
  25. package/dist/generated/src/apis/AdminWalletApi.d.ts +16 -16
  26. package/dist/generated/src/apis/AdminWalletApi.js +8 -8
  27. package/dist/generated/src/apis/AdminWhatsAppNumberApi.d.ts +8 -8
  28. package/dist/generated/src/apis/AdminWhatsAppNumberApi.js +4 -4
  29. package/dist/generated/src/apis/AgentLanguageApi.d.ts +5 -5
  30. package/dist/generated/src/apis/AgentLanguageApi.js +4 -4
  31. package/dist/generated/src/apis/AiApi.d.ts +5 -5
  32. package/dist/generated/src/apis/AiApi.js +4 -4
  33. package/dist/generated/src/apis/ApiKeyApi.d.ts +32 -1
  34. package/dist/generated/src/apis/ApiKeyApi.js +46 -0
  35. package/dist/generated/src/apis/AuditApi.d.ts +4 -4
  36. package/dist/generated/src/apis/AuditApi.js +2 -2
  37. package/dist/generated/src/apis/AuthMeApi.d.ts +4 -4
  38. package/dist/generated/src/apis/AuthMeApi.js +3 -3
  39. package/dist/generated/src/apis/AutomationApi.d.ts +30 -1
  40. package/dist/generated/src/apis/AutomationApi.js +42 -0
  41. package/dist/generated/src/apis/AutomationEventApi.d.ts +102 -0
  42. package/dist/generated/src/apis/AutomationEventApi.js +155 -0
  43. package/dist/generated/src/apis/AutomationIdentityApi.d.ts +49 -0
  44. package/dist/generated/src/apis/AutomationIdentityApi.js +91 -0
  45. package/dist/generated/src/apis/AutomationSubscriptionApi.d.ts +111 -0
  46. package/dist/generated/src/apis/AutomationSubscriptionApi.js +179 -0
  47. package/dist/generated/src/apis/BillingApi.d.ts +30 -1
  48. package/dist/generated/src/apis/BillingApi.js +42 -0
  49. package/dist/generated/src/apis/CdpApi.d.ts +144 -0
  50. package/dist/generated/src/apis/CdpApi.js +230 -0
  51. package/dist/generated/src/apis/CdpWebhookApi.d.ts +58 -0
  52. package/dist/generated/src/apis/CdpWebhookApi.js +102 -0
  53. package/dist/generated/src/apis/ChatOpsApi.d.ts +329 -0
  54. package/dist/generated/src/apis/ChatOpsApi.js +498 -0
  55. package/dist/generated/src/apis/ChatOpsInteractiveApi.d.ts +66 -0
  56. package/dist/generated/src/apis/ChatOpsInteractiveApi.js +103 -0
  57. package/dist/generated/src/apis/ContactSyncApi.d.ts +229 -0
  58. package/dist/generated/src/apis/ContactSyncApi.js +352 -0
  59. package/dist/generated/src/apis/ContactSyncWebhookApi.d.ts +87 -0
  60. package/dist/generated/src/apis/ContactSyncWebhookApi.js +143 -0
  61. package/dist/generated/src/apis/FlowDataExchangeApi.d.ts +5 -5
  62. package/dist/generated/src/apis/FlowDataExchangeApi.js +3 -3
  63. package/dist/generated/src/apis/HelpdeskApi.d.ts +200 -0
  64. package/dist/generated/src/apis/HelpdeskApi.js +314 -0
  65. package/dist/generated/src/apis/HubSpotApi.d.ts +188 -0
  66. package/dist/generated/src/apis/HubSpotApi.js +292 -0
  67. package/dist/generated/src/apis/IntegrationConnectionApi.d.ts +111 -0
  68. package/dist/generated/src/apis/IntegrationConnectionApi.js +176 -0
  69. package/dist/generated/src/apis/MessageAnalyticsApi.d.ts +4 -4
  70. package/dist/generated/src/apis/MessageAnalyticsApi.js +2 -2
  71. package/dist/generated/src/apis/NoCodeApi.d.ts +395 -0
  72. package/dist/generated/src/apis/NoCodeApi.js +592 -0
  73. package/dist/generated/src/apis/NotificationApi.d.ts +8 -2
  74. package/dist/generated/src/apis/NotificationApi.js +8 -2
  75. package/dist/generated/src/apis/OrderNotificationApi.d.ts +20 -44
  76. package/dist/generated/src/apis/OrderNotificationApi.js +17 -39
  77. package/dist/generated/src/apis/PlanUsageApi.d.ts +49 -0
  78. package/dist/generated/src/apis/PlanUsageApi.js +91 -0
  79. package/dist/generated/src/apis/SalesforceApi.d.ts +186 -0
  80. package/dist/generated/src/apis/SalesforceApi.js +287 -0
  81. package/dist/generated/src/apis/SalesforceOAuthCallbackApi.d.ts +58 -0
  82. package/dist/generated/src/apis/SalesforceOAuthCallbackApi.js +101 -0
  83. package/dist/generated/src/apis/SamlApi.d.ts +144 -0
  84. package/dist/generated/src/apis/SamlApi.js +242 -0
  85. package/dist/generated/src/apis/ScimDiscoveryApi.d.ts +118 -0
  86. package/dist/generated/src/apis/ScimDiscoveryApi.js +158 -0
  87. package/dist/generated/src/apis/ScimGroupApi.d.ts +204 -0
  88. package/dist/generated/src/apis/ScimGroupApi.js +312 -0
  89. package/dist/generated/src/apis/ScimUserApi.d.ts +204 -0
  90. package/dist/generated/src/apis/ScimUserApi.js +312 -0
  91. package/dist/generated/src/apis/SettingsApi.d.ts +4 -1
  92. package/dist/generated/src/apis/SettingsApi.js +4 -1
  93. package/dist/generated/src/apis/ShipmentApi.d.ts +200 -0
  94. package/dist/generated/src/apis/ShipmentApi.js +307 -0
  95. package/dist/generated/src/apis/ShipmentWebhookApi.d.ts +58 -0
  96. package/dist/generated/src/apis/ShipmentWebhookApi.js +102 -0
  97. package/dist/generated/src/apis/SsoSettingsApi.d.ts +159 -0
  98. package/dist/generated/src/apis/SsoSettingsApi.js +242 -0
  99. package/dist/generated/src/apis/StandaloneAuthApi.d.ts +5 -5
  100. package/dist/generated/src/apis/StandaloneAuthApi.js +4 -4
  101. package/dist/generated/src/apis/StoreApi.d.ts +167 -0
  102. package/dist/generated/src/apis/StoreApi.js +259 -0
  103. package/dist/generated/src/apis/TallyApi.d.ts +134 -0
  104. package/dist/generated/src/apis/TallyApi.js +215 -0
  105. package/dist/generated/src/apis/TemplateApi.d.ts +8 -8
  106. package/dist/generated/src/apis/TemplateApi.js +4 -4
  107. package/dist/generated/src/apis/WabaApi.d.ts +29 -0
  108. package/dist/generated/src/apis/WabaApi.js +40 -0
  109. package/dist/generated/src/apis/WabaPhoneNumberApi.d.ts +5 -5
  110. package/dist/generated/src/apis/WabaPhoneNumberApi.js +4 -4
  111. package/dist/generated/src/apis/ZohoBooksApi.d.ts +182 -0
  112. package/dist/generated/src/apis/ZohoBooksApi.js +281 -0
  113. package/dist/generated/src/apis/ZohoCrmApi.d.ts +159 -0
  114. package/dist/generated/src/apis/ZohoCrmApi.js +247 -0
  115. package/dist/generated/src/apis/ZohoOAuthCallbackApi.d.ts +60 -0
  116. package/dist/generated/src/apis/ZohoOAuthCallbackApi.js +104 -0
  117. package/dist/generated/src/apis/index.d.ts +29 -0
  118. package/dist/generated/src/apis/index.js +29 -0
  119. package/dist/generated/src/models/AbTestVariantRequest.d.ts +1 -1
  120. package/dist/generated/src/models/AbTestVariantRequest.js +3 -1
  121. package/dist/generated/src/models/AdAccountConnectionResponse.d.ts +12 -0
  122. package/dist/generated/src/models/AdAccountConnectionResponse.js +4 -0
  123. package/dist/generated/src/models/AdminStartImpersonationRequest.d.ts +1 -1
  124. package/dist/generated/src/models/AdminStartImpersonationRequest.js +3 -1
  125. package/dist/generated/src/models/AdminTenantPurgeReceiptResponse.d.ts +80 -0
  126. package/dist/generated/src/models/AdminTenantPurgeReceiptResponse.js +64 -0
  127. package/dist/generated/src/models/AdminTenantPurgeRequest.d.ts +38 -0
  128. package/dist/generated/src/models/AdminTenantPurgeRequest.js +54 -0
  129. package/dist/generated/src/models/ApiKeyResponse.d.ts +7 -0
  130. package/dist/generated/src/models/ApiKeyResponse.js +3 -0
  131. package/dist/generated/src/models/AutoRechargeRequest.d.ts +1 -1
  132. package/dist/generated/src/models/AutoRechargeRequest.js +3 -1
  133. package/dist/generated/src/models/AutomationApiTriggerRequest.d.ts +64 -0
  134. package/dist/generated/src/models/AutomationApiTriggerRequest.js +58 -0
  135. package/dist/generated/src/models/AutomationApiTriggerResponse.d.ts +38 -0
  136. package/dist/generated/src/models/AutomationApiTriggerResponse.js +50 -0
  137. package/dist/generated/src/models/AutomationCreateFlowRequest.d.ts +5 -0
  138. package/dist/generated/src/models/AutomationCreateFlowRequest.js +6 -1
  139. package/dist/generated/src/models/AutomationFlowResponse.d.ts +5 -0
  140. package/dist/generated/src/models/AutomationFlowResponse.js +6 -1
  141. package/dist/generated/src/models/AutomationFlowSummaryResponse.d.ts +5 -0
  142. package/dist/generated/src/models/AutomationFlowSummaryResponse.js +6 -1
  143. package/dist/generated/src/models/AutomationIdentityResponse.d.ts +56 -0
  144. package/dist/generated/src/models/AutomationIdentityResponse.js +56 -0
  145. package/dist/generated/src/models/AutomationNode.d.ts +18 -0
  146. package/dist/generated/src/models/AutomationNode.js +9 -1
  147. package/dist/generated/src/models/AutomationSubscriptionResponse.d.ts +78 -0
  148. package/dist/generated/src/models/AutomationSubscriptionResponse.js +78 -0
  149. package/dist/generated/src/models/AutomationUpdateFlowRequest.d.ts +5 -0
  150. package/dist/generated/src/models/AutomationUpdateFlowRequest.js +6 -1
  151. package/dist/generated/src/models/BotIntegrationFamilyResponse.d.ts +58 -0
  152. package/dist/generated/src/models/BotIntegrationFamilyResponse.js +58 -0
  153. package/dist/generated/src/models/BotIntegrationOperationResponse.d.ts +63 -0
  154. package/dist/generated/src/models/BotIntegrationOperationResponse.js +59 -0
  155. package/dist/generated/src/models/BotIntegrationParamResponse.d.ts +50 -0
  156. package/dist/generated/src/models/BotIntegrationParamResponse.js +54 -0
  157. package/dist/generated/src/models/BotIntegrationVendorResponse.d.ts +44 -0
  158. package/dist/generated/src/models/BotIntegrationVendorResponse.js +52 -0
  159. package/dist/generated/src/models/BotNodeTypeResponse.d.ts +7 -0
  160. package/dist/generated/src/models/BotNodeTypeResponse.js +3 -0
  161. package/dist/generated/src/models/BotSimulateRequest.d.ts +6 -0
  162. package/dist/generated/src/models/BotSimulateRequest.js +2 -0
  163. package/dist/generated/src/models/Candidate.d.ts +6 -0
  164. package/dist/generated/src/models/Candidate.js +2 -0
  165. package/dist/generated/src/models/CarrierConnectionResponse.d.ts +68 -0
  166. package/dist/generated/src/models/CarrierConnectionResponse.js +60 -0
  167. package/dist/generated/src/models/CatalogOrderResponse.d.ts +3 -0
  168. package/dist/generated/src/models/CatalogOrderResponse.js +4 -1
  169. package/dist/generated/src/models/CatalogProductResponse.d.ts +3 -0
  170. package/dist/generated/src/models/CatalogProductResponse.js +3 -0
  171. package/dist/generated/src/models/CdpInboundEventResponse.d.ts +74 -0
  172. package/dist/generated/src/models/CdpInboundEventResponse.js +62 -0
  173. package/dist/generated/src/models/CdpVendorResponse.d.ts +104 -0
  174. package/dist/generated/src/models/CdpVendorResponse.js +72 -0
  175. package/dist/generated/src/models/CertificateSummary.d.ts +50 -0
  176. package/dist/generated/src/models/CertificateSummary.js +54 -0
  177. package/dist/generated/src/models/ChangePlanRequest.d.ts +58 -0
  178. package/dist/generated/src/models/ChangePlanRequest.js +71 -0
  179. package/dist/generated/src/models/ChannelAccountBinding.d.ts +52 -0
  180. package/dist/generated/src/models/ChannelAccountBinding.js +68 -0
  181. package/dist/generated/src/models/ChatOpsAlertTypeResponse.d.ts +50 -0
  182. package/dist/generated/src/models/ChatOpsAlertTypeResponse.js +54 -0
  183. package/dist/generated/src/models/ChatOpsIdentityResponse.d.ts +62 -0
  184. package/dist/generated/src/models/ChatOpsIdentityResponse.js +58 -0
  185. package/dist/generated/src/models/ChatOpsRouteResponse.d.ts +80 -0
  186. package/dist/generated/src/models/ChatOpsRouteResponse.js +64 -0
  187. package/dist/generated/src/models/ChatOpsVendorResponse.d.ts +86 -0
  188. package/dist/generated/src/models/ChatOpsVendorResponse.js +66 -0
  189. package/dist/generated/src/models/ConnectCarrierRequest.d.ts +34 -0
  190. package/dist/generated/src/models/ConnectCarrierRequest.js +50 -0
  191. package/dist/generated/src/models/ConnectCdpRequest.d.ts +40 -0
  192. package/dist/generated/src/models/ConnectCdpRequest.js +52 -0
  193. package/dist/generated/src/models/ConnectChatOpsRequest.d.ts +40 -0
  194. package/dist/generated/src/models/ConnectChatOpsRequest.js +50 -0
  195. package/dist/generated/src/models/ConnectContactSyncRequest.d.ts +40 -0
  196. package/dist/generated/src/models/ConnectContactSyncRequest.js +52 -0
  197. package/dist/generated/src/models/ConnectHelpdeskRequest.d.ts +34 -0
  198. package/dist/generated/src/models/ConnectHelpdeskRequest.js +50 -0
  199. package/dist/generated/src/models/ConnectHubSpotRequest.d.ts +40 -0
  200. package/dist/generated/src/models/ConnectHubSpotRequest.js +52 -0
  201. package/dist/generated/src/models/ConnectNoCodeRequest.d.ts +40 -0
  202. package/dist/generated/src/models/ConnectNoCodeRequest.js +50 -0
  203. package/dist/generated/src/models/ConnectStoreRequest.d.ts +40 -0
  204. package/dist/generated/src/models/ConnectStoreRequest.js +52 -0
  205. package/dist/generated/src/models/ConnectTallyRequest.d.ts +32 -0
  206. package/dist/generated/src/models/ConnectTallyRequest.js +50 -0
  207. package/dist/generated/src/models/ContactSyncListResponse.d.ts +80 -0
  208. package/dist/generated/src/models/ContactSyncListResponse.js +64 -0
  209. package/dist/generated/src/models/ContactSyncRunResponse.d.ts +74 -0
  210. package/dist/generated/src/models/ContactSyncRunResponse.js +62 -0
  211. package/dist/generated/src/models/ContactSyncVendorResponse.d.ts +110 -0
  212. package/dist/generated/src/models/ContactSyncVendorResponse.js +74 -0
  213. package/dist/generated/src/models/CreateApiKeyRequest.d.ts +7 -0
  214. package/dist/generated/src/models/CreateApiKeyRequest.js +3 -0
  215. package/dist/generated/src/models/CreateSubscriptionRequest.d.ts +60 -0
  216. package/dist/generated/src/models/CreateSubscriptionRequest.js +76 -0
  217. package/dist/generated/src/models/CreateTicketRequest.d.ts +32 -0
  218. package/dist/generated/src/models/CreateTicketRequest.js +50 -0
  219. package/dist/generated/src/models/CreateWebhookEndpointRequest.d.ts +6 -0
  220. package/dist/generated/src/models/CreateWebhookEndpointRequest.js +6 -0
  221. package/dist/generated/src/models/CreateWebhookEndpointResponse.d.ts +6 -0
  222. package/dist/generated/src/models/CreateWebhookEndpointResponse.js +6 -0
  223. package/dist/generated/src/models/CreateWebhookTriggerRequest.d.ts +3 -2
  224. package/dist/generated/src/models/CreateWebhookTriggerRequest.js +2 -1
  225. package/dist/generated/src/models/CreateWebhookTriggerResponse.d.ts +1 -0
  226. package/dist/generated/src/models/CreateWebhookTriggerResponse.js +2 -1
  227. package/dist/generated/src/models/CursorPageCdpInboundEventResponse.d.ts +45 -0
  228. package/dist/generated/src/models/CursorPageCdpInboundEventResponse.js +53 -0
  229. package/dist/generated/src/models/CursorPageShipmentSummaryResponse.d.ts +45 -0
  230. package/dist/generated/src/models/CursorPageShipmentSummaryResponse.js +53 -0
  231. package/dist/generated/src/models/Email.d.ts +44 -0
  232. package/dist/generated/src/models/Email.js +52 -0
  233. package/dist/generated/src/models/EmailAbTestVariantRequest.d.ts +1 -1
  234. package/dist/generated/src/models/EmailAbTestVariantRequest.js +3 -1
  235. package/dist/generated/src/models/FirstPartyApp.d.ts +25 -1
  236. package/dist/generated/src/models/FirstPartyApp.js +8 -0
  237. package/dist/generated/src/models/FlowNode.d.ts +10 -0
  238. package/dist/generated/src/models/FlowNode.js +7 -1
  239. package/dist/generated/src/models/GroupRef.d.ts +38 -0
  240. package/dist/generated/src/models/GroupRef.js +50 -0
  241. package/dist/generated/src/models/HelpdeskTicketResponse.d.ts +100 -0
  242. package/dist/generated/src/models/HelpdeskTicketResponse.js +83 -0
  243. package/dist/generated/src/models/HelpdeskVendorResponse.d.ts +122 -0
  244. package/dist/generated/src/models/HelpdeskVendorResponse.js +89 -0
  245. package/dist/generated/src/models/HubSpotCompanyResponse.d.ts +68 -0
  246. package/dist/generated/src/models/HubSpotCompanyResponse.js +60 -0
  247. package/dist/generated/src/models/HubSpotDealResponse.d.ts +68 -0
  248. package/dist/generated/src/models/HubSpotDealResponse.js +60 -0
  249. package/dist/generated/src/models/HubSpotRunResponse.d.ts +92 -0
  250. package/dist/generated/src/models/HubSpotRunResponse.js +68 -0
  251. package/dist/generated/src/models/HubSpotStatusResponse.d.ts +128 -0
  252. package/dist/generated/src/models/HubSpotStatusResponse.js +80 -0
  253. package/dist/generated/src/models/IntegrationConnectionResponse.d.ts +95 -0
  254. package/dist/generated/src/models/IntegrationConnectionResponse.js +75 -0
  255. package/dist/generated/src/models/IntegrationEventPage.d.ts +45 -0
  256. package/dist/generated/src/models/IntegrationEventPage.js +53 -0
  257. package/dist/generated/src/models/IntegrationEventResponse.d.ts +78 -0
  258. package/dist/generated/src/models/IntegrationEventResponse.js +78 -0
  259. package/dist/generated/src/models/IntegrationEventTypeResponse.d.ts +73 -0
  260. package/dist/generated/src/models/IntegrationEventTypeResponse.js +77 -0
  261. package/dist/generated/src/models/IntegrationStepSpec.d.ts +64 -0
  262. package/dist/generated/src/models/IntegrationStepSpec.js +58 -0
  263. package/dist/generated/src/models/IntegrationSummaryResponse.d.ts +27 -0
  264. package/dist/generated/src/models/IntegrationSummaryResponse.js +15 -0
  265. package/dist/generated/src/models/LimitUsage.d.ts +68 -0
  266. package/dist/generated/src/models/LimitUsage.js +60 -0
  267. package/dist/generated/src/models/LinkChatOpsIdentityRequest.d.ts +32 -0
  268. package/dist/generated/src/models/LinkChatOpsIdentityRequest.js +50 -0
  269. package/dist/generated/src/models/ListResponseScimGroupResource.d.ts +57 -0
  270. package/dist/generated/src/models/ListResponseScimGroupResource.js +57 -0
  271. package/dist/generated/src/models/ListResponseScimUserResource.d.ts +57 -0
  272. package/dist/generated/src/models/ListResponseScimUserResource.js +57 -0
  273. package/dist/generated/src/models/MarkTourStepSeenRequest.d.ts +1 -1
  274. package/dist/generated/src/models/MarkTourStepSeenRequest.js +3 -1
  275. package/dist/generated/src/models/Member.d.ts +38 -0
  276. package/dist/generated/src/models/Member.js +50 -0
  277. package/dist/generated/src/models/Meta.d.ts +50 -0
  278. package/dist/generated/src/models/Meta.js +54 -0
  279. package/dist/generated/src/models/ModuleActivity.d.ts +6 -0
  280. package/dist/generated/src/models/ModuleActivity.js +2 -0
  281. package/dist/generated/src/models/MuteEventTypeRequest.d.ts +4 -1
  282. package/dist/generated/src/models/MuteEventTypeRequest.js +7 -2
  283. package/dist/generated/src/models/Name.d.ts +44 -0
  284. package/dist/generated/src/models/Name.js +52 -0
  285. package/dist/generated/src/models/NoCodeColumnMapping.d.ts +62 -0
  286. package/dist/generated/src/models/NoCodeColumnMapping.js +74 -0
  287. package/dist/generated/src/models/NoCodeImportResponse.d.ts +167 -0
  288. package/dist/generated/src/models/NoCodeImportResponse.js +103 -0
  289. package/dist/generated/src/models/NoCodeImportRunResponse.d.ts +40 -0
  290. package/dist/generated/src/models/NoCodeImportRunResponse.js +52 -0
  291. package/dist/generated/src/models/NoCodePreviewRequest.d.ts +77 -0
  292. package/dist/generated/src/models/NoCodePreviewRequest.js +75 -0
  293. package/dist/generated/src/models/NoCodePreviewResponse.d.ts +66 -0
  294. package/dist/generated/src/models/NoCodePreviewResponse.js +60 -0
  295. package/dist/generated/src/models/NoCodeResultSinkResponse.d.ts +80 -0
  296. package/dist/generated/src/models/NoCodeResultSinkResponse.js +64 -0
  297. package/dist/generated/src/models/NoCodeSourceResponse.d.ts +50 -0
  298. package/dist/generated/src/models/NoCodeSourceResponse.js +54 -0
  299. package/dist/generated/src/models/NoCodeVendorResponse.d.ts +86 -0
  300. package/dist/generated/src/models/NoCodeVendorResponse.js +66 -0
  301. package/dist/generated/src/models/NotificationPreferenceResponse.d.ts +3 -0
  302. package/dist/generated/src/models/NotificationPreferenceResponse.js +4 -1
  303. package/dist/generated/src/models/NotificationResponse.d.ts +3 -0
  304. package/dist/generated/src/models/NotificationResponse.js +4 -1
  305. package/dist/generated/src/models/Operation.d.ts +44 -0
  306. package/dist/generated/src/models/Operation.js +52 -0
  307. package/dist/generated/src/models/OrderNotificationDefaultResponse.d.ts +24 -0
  308. package/dist/generated/src/models/OrderNotificationDefaultResponse.js +16 -1
  309. package/dist/generated/src/models/OrderNotificationLogResponse.d.ts +24 -0
  310. package/dist/generated/src/models/OrderNotificationLogResponse.js +16 -1
  311. package/dist/generated/src/models/OrderNotificationRuleResponse.d.ts +24 -0
  312. package/dist/generated/src/models/OrderNotificationRuleResponse.js +16 -1
  313. package/dist/generated/src/models/PageInvoiceResponse.d.ts +12 -12
  314. package/dist/generated/src/models/PageInvoiceResponse.js +6 -6
  315. package/dist/generated/src/models/PageResponseAutomationSubscriptionResponse.d.ts +57 -0
  316. package/dist/generated/src/models/PageResponseAutomationSubscriptionResponse.js +57 -0
  317. package/dist/generated/src/models/PageResponseHelpdeskTicketResponse.d.ts +57 -0
  318. package/dist/generated/src/models/PageResponseHelpdeskTicketResponse.js +57 -0
  319. package/dist/generated/src/models/PageResponseHubSpotCompanyResponse.d.ts +57 -0
  320. package/dist/generated/src/models/PageResponseHubSpotCompanyResponse.js +57 -0
  321. package/dist/generated/src/models/PageResponseHubSpotDealResponse.d.ts +57 -0
  322. package/dist/generated/src/models/PageResponseHubSpotDealResponse.js +57 -0
  323. package/dist/generated/src/models/PageResponseSalesforceAccountResponse.d.ts +57 -0
  324. package/dist/generated/src/models/PageResponseSalesforceAccountResponse.js +57 -0
  325. package/dist/generated/src/models/PageResponseSalesforceOpportunityResponse.d.ts +57 -0
  326. package/dist/generated/src/models/PageResponseSalesforceOpportunityResponse.js +57 -0
  327. package/dist/generated/src/models/PageResponseTallyVoucherResponse.d.ts +57 -0
  328. package/dist/generated/src/models/PageResponseTallyVoucherResponse.js +57 -0
  329. package/dist/generated/src/models/PageResponseZohoBooksInvoiceResponse.d.ts +57 -0
  330. package/dist/generated/src/models/PageResponseZohoBooksInvoiceResponse.js +57 -0
  331. package/dist/generated/src/models/PageResponseZohoCrmDealResponse.d.ts +57 -0
  332. package/dist/generated/src/models/PageResponseZohoCrmDealResponse.js +57 -0
  333. package/dist/generated/src/models/PageTaxRecordResponse.d.ts +12 -12
  334. package/dist/generated/src/models/PageTaxRecordResponse.js +6 -6
  335. package/dist/generated/src/models/PageWaIvrCallbackResponse.d.ts +12 -12
  336. package/dist/generated/src/models/PageWaIvrCallbackResponse.js +6 -6
  337. package/dist/generated/src/models/PageWalletLedgerEntryResponse.d.ts +12 -12
  338. package/dist/generated/src/models/PageWalletLedgerEntryResponse.js +6 -6
  339. package/dist/generated/src/models/PageableObject.d.ts +10 -10
  340. package/dist/generated/src/models/PageableObject.js +8 -8
  341. package/dist/generated/src/models/PatchRequest.d.ts +39 -0
  342. package/dist/generated/src/models/PatchRequest.js +51 -0
  343. package/dist/generated/src/models/PlanCardResponse.d.ts +68 -0
  344. package/dist/generated/src/models/PlanCardResponse.js +28 -1
  345. package/dist/generated/src/models/PlanUsageResponse.d.ts +39 -0
  346. package/dist/generated/src/models/PlanUsageResponse.js +51 -0
  347. package/dist/generated/src/models/PublicTenantResponse.d.ts +12 -0
  348. package/dist/generated/src/models/PublicTenantResponse.js +4 -0
  349. package/dist/generated/src/models/SalesforceAccountResponse.d.ts +68 -0
  350. package/dist/generated/src/models/SalesforceAccountResponse.js +60 -0
  351. package/dist/generated/src/models/SalesforceAuthorizeUrlResponse.d.ts +50 -0
  352. package/dist/generated/src/models/SalesforceAuthorizeUrlResponse.js +54 -0
  353. package/dist/generated/src/models/SalesforceOpportunityResponse.d.ts +80 -0
  354. package/dist/generated/src/models/SalesforceOpportunityResponse.js +64 -0
  355. package/dist/generated/src/models/SalesforceRunResponse.d.ts +104 -0
  356. package/dist/generated/src/models/SalesforceRunResponse.js +72 -0
  357. package/dist/generated/src/models/SalesforceStatusResponse.d.ts +170 -0
  358. package/dist/generated/src/models/SalesforceStatusResponse.js +94 -0
  359. package/dist/generated/src/models/SamlTicketExchangeRequest.d.ts +32 -0
  360. package/dist/generated/src/models/SamlTicketExchangeRequest.js +50 -0
  361. package/dist/generated/src/models/ScimGroupResource.d.ts +64 -0
  362. package/dist/generated/src/models/ScimGroupResource.js +60 -0
  363. package/dist/generated/src/models/ScimTokenResponse.d.ts +50 -0
  364. package/dist/generated/src/models/ScimTokenResponse.js +54 -0
  365. package/dist/generated/src/models/ScimUserResource.d.ts +90 -0
  366. package/dist/generated/src/models/ScimUserResource.js +70 -0
  367. package/dist/generated/src/models/SendMessengerMessageRequest.d.ts +2 -2
  368. package/dist/generated/src/models/SendMessengerMessageRequest.js +4 -4
  369. package/dist/generated/src/models/ShipmentEventResponse.d.ts +50 -0
  370. package/dist/generated/src/models/ShipmentEventResponse.js +54 -0
  371. package/dist/generated/src/models/ShipmentResponse.d.ts +69 -0
  372. package/dist/generated/src/models/ShipmentResponse.js +61 -0
  373. package/dist/generated/src/models/ShipmentSummaryResponse.d.ts +68 -0
  374. package/dist/generated/src/models/ShipmentSummaryResponse.js +60 -0
  375. package/dist/generated/src/models/SignupRequest.d.ts +13 -1
  376. package/dist/generated/src/models/SignupRequest.js +14 -3
  377. package/dist/generated/src/models/SocialRegisterRequest.d.ts +14 -2
  378. package/dist/generated/src/models/SocialRegisterRequest.js +14 -3
  379. package/dist/generated/src/models/SortObject.d.ts +2 -2
  380. package/dist/generated/src/models/SortObject.js +4 -4
  381. package/dist/generated/src/models/SsoConnectionResponse.d.ts +195 -0
  382. package/dist/generated/src/models/SsoConnectionResponse.js +103 -0
  383. package/dist/generated/src/models/StopTrackingResponse.d.ts +50 -0
  384. package/dist/generated/src/models/StopTrackingResponse.js +54 -0
  385. package/dist/generated/src/models/StoreConnectionResponse.d.ts +116 -0
  386. package/dist/generated/src/models/StoreConnectionResponse.js +76 -0
  387. package/dist/generated/src/models/StoreSyncResponse.d.ts +62 -0
  388. package/dist/generated/src/models/StoreSyncResponse.js +58 -0
  389. package/dist/generated/src/models/StoreVendorResponse.d.ts +69 -0
  390. package/dist/generated/src/models/StoreVendorResponse.js +61 -0
  391. package/dist/generated/src/models/TallyPartyPayload.d.ts +62 -0
  392. package/dist/generated/src/models/TallyPartyPayload.js +60 -0
  393. package/dist/generated/src/models/TallyPushRequest.d.ts +52 -0
  394. package/dist/generated/src/models/TallyPushRequest.js +56 -0
  395. package/dist/generated/src/models/TallyPushResponse.d.ts +68 -0
  396. package/dist/generated/src/models/TallyPushResponse.js +60 -0
  397. package/dist/generated/src/models/TallyStatusResponse.d.ts +116 -0
  398. package/dist/generated/src/models/TallyStatusResponse.js +76 -0
  399. package/dist/generated/src/models/TallyVoucherPayload.d.ts +98 -0
  400. package/dist/generated/src/models/TallyVoucherPayload.js +76 -0
  401. package/dist/generated/src/models/TallyVoucherResponse.d.ts +122 -0
  402. package/dist/generated/src/models/TallyVoucherResponse.js +78 -0
  403. package/dist/generated/src/models/TrackShipmentRequest.d.ts +60 -0
  404. package/dist/generated/src/models/TrackShipmentRequest.js +70 -0
  405. package/dist/generated/src/models/TriggerTypeResponse.d.ts +12 -0
  406. package/dist/generated/src/models/TriggerTypeResponse.js +4 -0
  407. package/dist/generated/src/models/UpdateApiKeyChannelAccountsRequest.d.ts +33 -0
  408. package/dist/generated/src/models/UpdateApiKeyChannelAccountsRequest.js +49 -0
  409. package/dist/generated/src/models/UpdateApiKeySecurityRequest.d.ts +2 -2
  410. package/dist/generated/src/models/UpdateApiKeySecurityRequest.js +6 -2
  411. package/dist/generated/src/models/UpdateCdpSettingsRequest.d.ts +44 -0
  412. package/dist/generated/src/models/UpdateCdpSettingsRequest.js +52 -0
  413. package/dist/generated/src/models/UpdateEmailPreferencesRequest.d.ts +1 -1
  414. package/dist/generated/src/models/UpdateEmailPreferencesRequest.js +3 -1
  415. package/dist/generated/src/models/UpdateHelpdeskSettingsRequest.d.ts +38 -0
  416. package/dist/generated/src/models/UpdateHelpdeskSettingsRequest.js +50 -0
  417. package/dist/generated/src/models/UpdateHubSpotSettingsRequest.d.ts +32 -0
  418. package/dist/generated/src/models/UpdateHubSpotSettingsRequest.js +48 -0
  419. package/dist/generated/src/models/UpdateNoCodeImportRequest.d.ts +77 -0
  420. package/dist/generated/src/models/UpdateNoCodeImportRequest.js +73 -0
  421. package/dist/generated/src/models/UpdateNotificationPreferenceRequest.d.ts +5 -5
  422. package/dist/generated/src/models/UpdateNotificationPreferenceRequest.js +15 -5
  423. package/dist/generated/src/models/UpdateSalesforceSettingsRequest.d.ts +53 -0
  424. package/dist/generated/src/models/UpdateSalesforceSettingsRequest.js +61 -0
  425. package/dist/generated/src/models/UpdateSecurityPrefsRequest.d.ts +1 -1
  426. package/dist/generated/src/models/UpdateSecurityPrefsRequest.js +3 -1
  427. package/dist/generated/src/models/UpdateWebhookEndpointRequest.d.ts +6 -0
  428. package/dist/generated/src/models/UpdateWebhookEndpointRequest.js +6 -0
  429. package/dist/generated/src/models/UpdateWebhookTriggerRequest.d.ts +1 -1
  430. package/dist/generated/src/models/UpdateZohoBooksSettingsRequest.d.ts +32 -0
  431. package/dist/generated/src/models/UpdateZohoBooksSettingsRequest.js +50 -0
  432. package/dist/generated/src/models/UpdateZohoCrmSettingsRequest.d.ts +53 -0
  433. package/dist/generated/src/models/UpdateZohoCrmSettingsRequest.js +61 -0
  434. package/dist/generated/src/models/UpsertChatOpsRouteRequest.d.ts +50 -0
  435. package/dist/generated/src/models/UpsertChatOpsRouteRequest.js +54 -0
  436. package/dist/generated/src/models/UpsertListMappingRequest.d.ts +44 -0
  437. package/dist/generated/src/models/UpsertListMappingRequest.js +52 -0
  438. package/dist/generated/src/models/UpsertNoCodeImportRequest.d.ts +89 -0
  439. package/dist/generated/src/models/UpsertNoCodeImportRequest.js +85 -0
  440. package/dist/generated/src/models/UpsertNoCodeResultSinkRequest.d.ts +44 -0
  441. package/dist/generated/src/models/UpsertNoCodeResultSinkRequest.js +54 -0
  442. package/dist/generated/src/models/UpsertSsoConnectionRequest.d.ts +134 -0
  443. package/dist/generated/src/models/UpsertSsoConnectionRequest.js +82 -0
  444. package/dist/generated/src/models/WabaAccountResponse.d.ts +6 -0
  445. package/dist/generated/src/models/WabaAccountResponse.js +2 -0
  446. package/dist/generated/src/models/WebhookDeliveryResponse.d.ts +6 -0
  447. package/dist/generated/src/models/WebhookDeliveryResponse.js +6 -0
  448. package/dist/generated/src/models/WebhookEndpointResponse.d.ts +20 -0
  449. package/dist/generated/src/models/WebhookEndpointResponse.js +16 -1
  450. package/dist/generated/src/models/WebhookTriggerResponse.d.ts +1 -0
  451. package/dist/generated/src/models/WebhookTriggerResponse.js +2 -1
  452. package/dist/generated/src/models/WhatsAppTemplateResponse.d.ts +30 -0
  453. package/dist/generated/src/models/WhatsAppTemplateResponse.js +10 -0
  454. package/dist/generated/src/models/ZohoAuthorizeUrlResponse.d.ts +56 -0
  455. package/dist/generated/src/models/ZohoAuthorizeUrlResponse.js +56 -0
  456. package/dist/generated/src/models/ZohoBooksInvoiceResponse.d.ts +98 -0
  457. package/dist/generated/src/models/ZohoBooksInvoiceResponse.js +70 -0
  458. package/dist/generated/src/models/ZohoBooksOrganizationResponse.d.ts +50 -0
  459. package/dist/generated/src/models/ZohoBooksOrganizationResponse.js +54 -0
  460. package/dist/generated/src/models/ZohoBooksRunResponse.d.ts +92 -0
  461. package/dist/generated/src/models/ZohoBooksRunResponse.js +68 -0
  462. package/dist/generated/src/models/ZohoBooksStatusResponse.d.ts +134 -0
  463. package/dist/generated/src/models/ZohoBooksStatusResponse.js +82 -0
  464. package/dist/generated/src/models/ZohoCrmDealResponse.d.ts +80 -0
  465. package/dist/generated/src/models/ZohoCrmDealResponse.js +64 -0
  466. package/dist/generated/src/models/ZohoCrmRunResponse.d.ts +98 -0
  467. package/dist/generated/src/models/ZohoCrmRunResponse.js +70 -0
  468. package/dist/generated/src/models/ZohoCrmStatusResponse.d.ts +158 -0
  469. package/dist/generated/src/models/ZohoCrmStatusResponse.js +90 -0
  470. package/dist/generated/src/models/index.d.ts +121 -0
  471. package/dist/generated/src/models/index.js +121 -0
  472. package/package.json +1 -1
@@ -0,0 +1,592 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * Augstash Public API
6
+ * Every /api/_** response is wrapped in {success, code, data, message, traceId, timestamp}; the schema shown for an operation is what arrives in `data`, and the SDKs unwrap it. Errors carry a stable `code` - branch on that, never on `message`. Authentication is an ask_live_* key on X-Api-Key, or a bearer token. Operations marked \'Not reachable with an ask_live_* API key\' need a user token.
7
+ *
8
+ * The version of the OpenAPI document: v1
9
+ *
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
16
+ if (k2 === undefined) k2 = k;
17
+ var desc = Object.getOwnPropertyDescriptor(m, k);
18
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
19
+ desc = { enumerable: true, get: function() { return m[k]; } };
20
+ }
21
+ Object.defineProperty(o, k2, desc);
22
+ }) : (function(o, m, k, k2) {
23
+ if (k2 === undefined) k2 = k;
24
+ o[k2] = m[k];
25
+ }));
26
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
27
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
28
+ }) : function(o, v) {
29
+ o["default"] = v;
30
+ });
31
+ var __importStar = (this && this.__importStar) || (function () {
32
+ var ownKeys = function(o) {
33
+ ownKeys = Object.getOwnPropertyNames || function (o) {
34
+ var ar = [];
35
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
36
+ return ar;
37
+ };
38
+ return ownKeys(o);
39
+ };
40
+ return function (mod) {
41
+ if (mod && mod.__esModule) return mod;
42
+ var result = {};
43
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
44
+ __setModuleDefault(result, mod);
45
+ return result;
46
+ };
47
+ })();
48
+ Object.defineProperty(exports, "__esModule", { value: true });
49
+ exports.NoCodeApi = void 0;
50
+ const runtime = __importStar(require("../runtime"));
51
+ const index_1 = require("../models/index");
52
+ /**
53
+ *
54
+ */
55
+ class NoCodeApi extends runtime.BaseAPI {
56
+ /**
57
+ * Airtable takes a personal access token (pat…) and Notion an internal integration token (secret_… or ntn_…) as credentials.apiKey, verified against the vendor before it is stored and never returned. Google Sheets takes NO credential: the response\'s shareWith is the platform service-account address, and sharing a sheet with it is the grant — there is no OAuth consent and no Google verification queue. Vendor round-trips < 2s. Requires API-key scope: integrations:write.
58
+ * Connect Google Sheets, Airtable or Notion for this tenant
59
+ */
60
+ async connectIntegrationsNocodeRaw(requestParameters, initOverrides) {
61
+ if (requestParameters['vendor'] == null) {
62
+ throw new runtime.RequiredError('vendor', 'Required parameter "vendor" was null or undefined when calling connectIntegrationsNocode().');
63
+ }
64
+ if (requestParameters['connectNoCodeRequest'] == null) {
65
+ throw new runtime.RequiredError('connectNoCodeRequest', 'Required parameter "connectNoCodeRequest" was null or undefined when calling connectIntegrationsNocode().');
66
+ }
67
+ const queryParameters = {};
68
+ const headerParameters = {};
69
+ headerParameters['Content-Type'] = 'application/json';
70
+ if (requestParameters['xIdempotencyKey'] != null) {
71
+ headerParameters['X-Idempotency-Key'] = String(requestParameters['xIdempotencyKey']);
72
+ }
73
+ if (this.configuration && this.configuration.apiKey) {
74
+ headerParameters["X-Api-Key"] = await this.configuration.apiKey("X-Api-Key"); // ApiKeyAuth authentication
75
+ }
76
+ if (this.configuration && this.configuration.accessToken) {
77
+ const token = this.configuration.accessToken;
78
+ const tokenString = await token("BearerAuth", []);
79
+ if (tokenString) {
80
+ headerParameters["Authorization"] = `Bearer ${tokenString}`;
81
+ }
82
+ }
83
+ let urlPath = `/api/v1/integrations/nocode/{vendor}`;
84
+ urlPath = urlPath.replace(`{${"vendor"}}`, encodeURIComponent(String(requestParameters['vendor'])));
85
+ const response = await this.request({
86
+ path: urlPath,
87
+ method: 'POST',
88
+ headers: headerParameters,
89
+ query: queryParameters,
90
+ body: (0, index_1.ConnectNoCodeRequestToJSON)(requestParameters['connectNoCodeRequest']),
91
+ }, initOverrides);
92
+ return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.NoCodeVendorResponseFromJSON)(jsonValue));
93
+ }
94
+ /**
95
+ * Airtable takes a personal access token (pat…) and Notion an internal integration token (secret_… or ntn_…) as credentials.apiKey, verified against the vendor before it is stored and never returned. Google Sheets takes NO credential: the response\'s shareWith is the platform service-account address, and sharing a sheet with it is the grant — there is no OAuth consent and no Google verification queue. Vendor round-trips < 2s. Requires API-key scope: integrations:write.
96
+ * Connect Google Sheets, Airtable or Notion for this tenant
97
+ */
98
+ async connectIntegrationsNocode(requestParameters, initOverrides) {
99
+ const response = await this.connectIntegrationsNocodeRaw(requestParameters, initOverrides);
100
+ return await response.value();
101
+ }
102
+ /**
103
+ * Stores which table, a mapping by HEADER NAME (a renamed or deleted column fails a later run as NOCODE_COLUMN_MISSING rather than importing the wrong column), the consent channel and the required, explicit default for rows with no mapped opt-in column, an optional tag every imported contact carries, and whether the hourly sweep re-imports it (scheduleEnabled, default false). The table is read once so the mapping is checked against its real headers; for google-sheets the spreadsheet is claimed for this workspace. Does not run the import — POST /imports/{id}/run does. Vendor round-trips < 2s. Requires API-key scope: integrations:write.
104
+ * Define a table import
105
+ */
106
+ async createImportRaw(requestParameters, initOverrides) {
107
+ if (requestParameters['vendor'] == null) {
108
+ throw new runtime.RequiredError('vendor', 'Required parameter "vendor" was null or undefined when calling createImport().');
109
+ }
110
+ if (requestParameters['upsertNoCodeImportRequest'] == null) {
111
+ throw new runtime.RequiredError('upsertNoCodeImportRequest', 'Required parameter "upsertNoCodeImportRequest" was null or undefined when calling createImport().');
112
+ }
113
+ const queryParameters = {};
114
+ const headerParameters = {};
115
+ headerParameters['Content-Type'] = 'application/json';
116
+ if (requestParameters['xIdempotencyKey'] != null) {
117
+ headerParameters['X-Idempotency-Key'] = String(requestParameters['xIdempotencyKey']);
118
+ }
119
+ if (this.configuration && this.configuration.apiKey) {
120
+ headerParameters["X-Api-Key"] = await this.configuration.apiKey("X-Api-Key"); // ApiKeyAuth authentication
121
+ }
122
+ if (this.configuration && this.configuration.accessToken) {
123
+ const token = this.configuration.accessToken;
124
+ const tokenString = await token("BearerAuth", []);
125
+ if (tokenString) {
126
+ headerParameters["Authorization"] = `Bearer ${tokenString}`;
127
+ }
128
+ }
129
+ let urlPath = `/api/v1/integrations/nocode/{vendor}/imports`;
130
+ urlPath = urlPath.replace(`{${"vendor"}}`, encodeURIComponent(String(requestParameters['vendor'])));
131
+ const response = await this.request({
132
+ path: urlPath,
133
+ method: 'POST',
134
+ headers: headerParameters,
135
+ query: queryParameters,
136
+ body: (0, index_1.UpsertNoCodeImportRequestToJSON)(requestParameters['upsertNoCodeImportRequest']),
137
+ }, initOverrides);
138
+ return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.NoCodeImportResponseFromJSON)(jsonValue));
139
+ }
140
+ /**
141
+ * Stores which table, a mapping by HEADER NAME (a renamed or deleted column fails a later run as NOCODE_COLUMN_MISSING rather than importing the wrong column), the consent channel and the required, explicit default for rows with no mapped opt-in column, an optional tag every imported contact carries, and whether the hourly sweep re-imports it (scheduleEnabled, default false). The table is read once so the mapping is checked against its real headers; for google-sheets the spreadsheet is claimed for this workspace. Does not run the import — POST /imports/{id}/run does. Vendor round-trips < 2s. Requires API-key scope: integrations:write.
142
+ * Define a table import
143
+ */
144
+ async createImport(requestParameters, initOverrides) {
145
+ const response = await this.createImportRaw(requestParameters, initOverrides);
146
+ return await response.value();
147
+ }
148
+ /**
149
+ * The imported contacts and their tag STAY — they are the tenant\'s own directory now. The staged copy of the table the last run left is discarded, and a Google spreadsheet claim is released once nothing else names it. Writes < 500ms. Requires API-key scope: integrations:write.
150
+ * Stop importing a table
151
+ */
152
+ async deleteImportRaw(requestParameters, initOverrides) {
153
+ if (requestParameters['id'] == null) {
154
+ throw new runtime.RequiredError('id', 'Required parameter "id" was null or undefined when calling deleteImport().');
155
+ }
156
+ const queryParameters = {};
157
+ const headerParameters = {};
158
+ if (requestParameters['xIdempotencyKey'] != null) {
159
+ headerParameters['X-Idempotency-Key'] = String(requestParameters['xIdempotencyKey']);
160
+ }
161
+ if (this.configuration && this.configuration.apiKey) {
162
+ headerParameters["X-Api-Key"] = await this.configuration.apiKey("X-Api-Key"); // ApiKeyAuth authentication
163
+ }
164
+ if (this.configuration && this.configuration.accessToken) {
165
+ const token = this.configuration.accessToken;
166
+ const tokenString = await token("BearerAuth", []);
167
+ if (tokenString) {
168
+ headerParameters["Authorization"] = `Bearer ${tokenString}`;
169
+ }
170
+ }
171
+ let urlPath = `/api/v1/integrations/nocode/imports/{id}`;
172
+ urlPath = urlPath.replace(`{${"id"}}`, encodeURIComponent(String(requestParameters['id'])));
173
+ const response = await this.request({
174
+ path: urlPath,
175
+ method: 'DELETE',
176
+ headers: headerParameters,
177
+ query: queryParameters,
178
+ }, initOverrides);
179
+ return new runtime.VoidApiResponse(response);
180
+ }
181
+ /**
182
+ * The imported contacts and their tag STAY — they are the tenant\'s own directory now. The staged copy of the table the last run left is discarded, and a Google spreadsheet claim is released once nothing else names it. Writes < 500ms. Requires API-key scope: integrations:write.
183
+ * Stop importing a table
184
+ */
185
+ async deleteImport(requestParameters, initOverrides) {
186
+ await this.deleteImportRaw(requestParameters, initOverrides);
187
+ }
188
+ /**
189
+ * The rows already written stay in the customer\'s table. Writes < 500ms. Requires API-key scope: integrations:write.
190
+ * Stop appending results to this tool\'s table
191
+ */
192
+ async deleteResultsRaw(requestParameters, initOverrides) {
193
+ if (requestParameters['vendor'] == null) {
194
+ throw new runtime.RequiredError('vendor', 'Required parameter "vendor" was null or undefined when calling deleteResults().');
195
+ }
196
+ const queryParameters = {};
197
+ const headerParameters = {};
198
+ if (requestParameters['xIdempotencyKey'] != null) {
199
+ headerParameters['X-Idempotency-Key'] = String(requestParameters['xIdempotencyKey']);
200
+ }
201
+ if (this.configuration && this.configuration.apiKey) {
202
+ headerParameters["X-Api-Key"] = await this.configuration.apiKey("X-Api-Key"); // ApiKeyAuth authentication
203
+ }
204
+ if (this.configuration && this.configuration.accessToken) {
205
+ const token = this.configuration.accessToken;
206
+ const tokenString = await token("BearerAuth", []);
207
+ if (tokenString) {
208
+ headerParameters["Authorization"] = `Bearer ${tokenString}`;
209
+ }
210
+ }
211
+ let urlPath = `/api/v1/integrations/nocode/{vendor}/results`;
212
+ urlPath = urlPath.replace(`{${"vendor"}}`, encodeURIComponent(String(requestParameters['vendor'])));
213
+ const response = await this.request({
214
+ path: urlPath,
215
+ method: 'DELETE',
216
+ headers: headerParameters,
217
+ query: queryParameters,
218
+ }, initOverrides);
219
+ return new runtime.VoidApiResponse(response);
220
+ }
221
+ /**
222
+ * The rows already written stay in the customer\'s table. Writes < 500ms. Requires API-key scope: integrations:write.
223
+ * Stop appending results to this tool\'s table
224
+ */
225
+ async deleteResults(requestParameters, initOverrides) {
226
+ await this.deleteResultsRaw(requestParameters, initOverrides);
227
+ }
228
+ /**
229
+ * Appends everything the delivery log recorded since the watermark, up to the configured ceiling, and moves the watermark only if the vendor accepted the rows — a refused flush is retried next time, never skipped. Vendor round-trips < 2s per batch; < 30s at the ceiling. Requires API-key scope: integrations:write.
230
+ * Flush pending message results to this tool\'s table now
231
+ */
232
+ async flushResultsRaw(requestParameters, initOverrides) {
233
+ if (requestParameters['vendor'] == null) {
234
+ throw new runtime.RequiredError('vendor', 'Required parameter "vendor" was null or undefined when calling flushResults().');
235
+ }
236
+ const queryParameters = {};
237
+ const headerParameters = {};
238
+ if (requestParameters['xIdempotencyKey'] != null) {
239
+ headerParameters['X-Idempotency-Key'] = String(requestParameters['xIdempotencyKey']);
240
+ }
241
+ if (this.configuration && this.configuration.apiKey) {
242
+ headerParameters["X-Api-Key"] = await this.configuration.apiKey("X-Api-Key"); // ApiKeyAuth authentication
243
+ }
244
+ if (this.configuration && this.configuration.accessToken) {
245
+ const token = this.configuration.accessToken;
246
+ const tokenString = await token("BearerAuth", []);
247
+ if (tokenString) {
248
+ headerParameters["Authorization"] = `Bearer ${tokenString}`;
249
+ }
250
+ }
251
+ let urlPath = `/api/v1/integrations/nocode/{vendor}/results/flush`;
252
+ urlPath = urlPath.replace(`{${"vendor"}}`, encodeURIComponent(String(requestParameters['vendor'])));
253
+ const response = await this.request({
254
+ path: urlPath,
255
+ method: 'POST',
256
+ headers: headerParameters,
257
+ query: queryParameters,
258
+ }, initOverrides);
259
+ return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.NoCodeResultSinkResponseFromJSON)(jsonValue));
260
+ }
261
+ /**
262
+ * Appends everything the delivery log recorded since the watermark, up to the configured ceiling, and moves the watermark only if the vendor accepted the rows — a refused flush is retried next time, never skipped. Vendor round-trips < 2s per batch; < 30s at the ceiling. Requires API-key scope: integrations:write.
263
+ * Flush pending message results to this tool\'s table now
264
+ */
265
+ async flushResults(requestParameters, initOverrides) {
266
+ const response = await this.flushResultsRaw(requestParameters, initOverrides);
267
+ return await response.value();
268
+ }
269
+ /**
270
+ * Each row carries what its last run did: rowsRead, createdCount, updatedCount, duplicateCount, errorCount, lastRunStatus (SUCCEEDED · PARTIAL · FAILED) and a lastErrorCode to localize. lastJobId is the contact import job whose capped error and duplicate reports are at GET /api/v1/contacts/imports/{id}. Reads < 300ms. Requires API-key scope: integrations:read.
271
+ * List this tenant\'s table imports across all three tools
272
+ */
273
+ async importsRaw(initOverrides) {
274
+ const queryParameters = {};
275
+ const headerParameters = {};
276
+ if (this.configuration && this.configuration.apiKey) {
277
+ headerParameters["X-Api-Key"] = await this.configuration.apiKey("X-Api-Key"); // ApiKeyAuth authentication
278
+ }
279
+ if (this.configuration && this.configuration.accessToken) {
280
+ const token = this.configuration.accessToken;
281
+ const tokenString = await token("BearerAuth", []);
282
+ if (tokenString) {
283
+ headerParameters["Authorization"] = `Bearer ${tokenString}`;
284
+ }
285
+ }
286
+ let urlPath = `/api/v1/integrations/nocode/imports`;
287
+ const response = await this.request({
288
+ path: urlPath,
289
+ method: 'GET',
290
+ headers: headerParameters,
291
+ query: queryParameters,
292
+ }, initOverrides);
293
+ return new runtime.JSONApiResponse(response, (jsonValue) => jsonValue.map(index_1.NoCodeImportResponseFromJSON));
294
+ }
295
+ /**
296
+ * Each row carries what its last run did: rowsRead, createdCount, updatedCount, duplicateCount, errorCount, lastRunStatus (SUCCEEDED · PARTIAL · FAILED) and a lastErrorCode to localize. lastJobId is the contact import job whose capped error and duplicate reports are at GET /api/v1/contacts/imports/{id}. Reads < 300ms. Requires API-key scope: integrations:read.
297
+ * List this tenant\'s table imports across all three tools
298
+ */
299
+ async imports(initOverrides) {
300
+ const response = await this.importsRaw(initOverrides);
301
+ return await response.value();
302
+ }
303
+ /**
304
+ * Reads the table (bounded by the import ceiling) and proposes a column mapping from its headers. When the body carries a mapping plus consentChannel and consentDefaultOptedIn, the response\'s dryRun carries the counts a commit would produce — created, updated, duplicate, error — and the capped row reports. NOTHING IS WRITTEN to the directory by a preview. The consent channel is the tenant\'s explicit choice; a header like \'WhatsApp opt-in\' becomes a per-row override, never a channel. Vendor round-trips; < 10s for a table at the ceiling. Requires API-key scope: integrations:read.
305
+ * Preview a table: headers, sample rows, a proposed mapping, and an optional dry run
306
+ */
307
+ async previewIntegrationsRaw(requestParameters, initOverrides) {
308
+ if (requestParameters['vendor'] == null) {
309
+ throw new runtime.RequiredError('vendor', 'Required parameter "vendor" was null or undefined when calling previewIntegrations().');
310
+ }
311
+ if (requestParameters['noCodePreviewRequest'] == null) {
312
+ throw new runtime.RequiredError('noCodePreviewRequest', 'Required parameter "noCodePreviewRequest" was null or undefined when calling previewIntegrations().');
313
+ }
314
+ const queryParameters = {};
315
+ const headerParameters = {};
316
+ headerParameters['Content-Type'] = 'application/json';
317
+ if (requestParameters['xIdempotencyKey'] != null) {
318
+ headerParameters['X-Idempotency-Key'] = String(requestParameters['xIdempotencyKey']);
319
+ }
320
+ if (this.configuration && this.configuration.apiKey) {
321
+ headerParameters["X-Api-Key"] = await this.configuration.apiKey("X-Api-Key"); // ApiKeyAuth authentication
322
+ }
323
+ if (this.configuration && this.configuration.accessToken) {
324
+ const token = this.configuration.accessToken;
325
+ const tokenString = await token("BearerAuth", []);
326
+ if (tokenString) {
327
+ headerParameters["Authorization"] = `Bearer ${tokenString}`;
328
+ }
329
+ }
330
+ let urlPath = `/api/v1/integrations/nocode/{vendor}/preview`;
331
+ urlPath = urlPath.replace(`{${"vendor"}}`, encodeURIComponent(String(requestParameters['vendor'])));
332
+ const response = await this.request({
333
+ path: urlPath,
334
+ method: 'POST',
335
+ headers: headerParameters,
336
+ query: queryParameters,
337
+ body: (0, index_1.NoCodePreviewRequestToJSON)(requestParameters['noCodePreviewRequest']),
338
+ }, initOverrides);
339
+ return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.NoCodePreviewResponseFromJSON)(jsonValue));
340
+ }
341
+ /**
342
+ * Reads the table (bounded by the import ceiling) and proposes a column mapping from its headers. When the body carries a mapping plus consentChannel and consentDefaultOptedIn, the response\'s dryRun carries the counts a commit would produce — created, updated, duplicate, error — and the capped row reports. NOTHING IS WRITTEN to the directory by a preview. The consent channel is the tenant\'s explicit choice; a header like \'WhatsApp opt-in\' becomes a per-row override, never a channel. Vendor round-trips; < 10s for a table at the ceiling. Requires API-key scope: integrations:read.
343
+ * Preview a table: headers, sample rows, a proposed mapping, and an optional dry run
344
+ */
345
+ async previewIntegrations(requestParameters, initOverrides) {
346
+ const response = await this.previewIntegrationsRaw(requestParameters, initOverrides);
347
+ return await response.value();
348
+ }
349
+ /**
350
+ * One per tool at most, with the watermark, the last flush, its error code if it was refused, and the running total of rows written. Reads < 300ms. Requires API-key scope: integrations:read.
351
+ * List this tenant\'s results tables
352
+ */
353
+ async resultsRaw(initOverrides) {
354
+ const queryParameters = {};
355
+ const headerParameters = {};
356
+ if (this.configuration && this.configuration.apiKey) {
357
+ headerParameters["X-Api-Key"] = await this.configuration.apiKey("X-Api-Key"); // ApiKeyAuth authentication
358
+ }
359
+ if (this.configuration && this.configuration.accessToken) {
360
+ const token = this.configuration.accessToken;
361
+ const tokenString = await token("BearerAuth", []);
362
+ if (tokenString) {
363
+ headerParameters["Authorization"] = `Bearer ${tokenString}`;
364
+ }
365
+ }
366
+ let urlPath = `/api/v1/integrations/nocode/results`;
367
+ const response = await this.request({
368
+ path: urlPath,
369
+ method: 'GET',
370
+ headers: headerParameters,
371
+ query: queryParameters,
372
+ }, initOverrides);
373
+ return new runtime.JSONApiResponse(response, (jsonValue) => jsonValue.map(index_1.NoCodeResultSinkResponseFromJSON));
374
+ }
375
+ /**
376
+ * One per tool at most, with the watermark, the last flush, its error code if it was refused, and the running total of rows written. Reads < 300ms. Requires API-key scope: integrations:read.
377
+ * List this tenant\'s results tables
378
+ */
379
+ async results(initOverrides) {
380
+ const response = await this.resultsRaw(initOverrides);
381
+ return await response.value();
382
+ }
383
+ /**
384
+ * Synchronous, deliberately: the run is bounded by the import ceiling and the operator who pressed the button wants to know whether it worked. Reads the whole table, stages it, commits it through the same pipeline a CSV upload takes, and returns the import row plus the job with its capped error and duplicate reports. The previous run\'s job is discarded. Synchronous; < 60s for a table at the ceiling. Requires API-key scope: integrations:write.
385
+ * Run a table import now
386
+ */
387
+ async runImportRaw(requestParameters, initOverrides) {
388
+ if (requestParameters['id'] == null) {
389
+ throw new runtime.RequiredError('id', 'Required parameter "id" was null or undefined when calling runImport().');
390
+ }
391
+ const queryParameters = {};
392
+ const headerParameters = {};
393
+ if (requestParameters['xIdempotencyKey'] != null) {
394
+ headerParameters['X-Idempotency-Key'] = String(requestParameters['xIdempotencyKey']);
395
+ }
396
+ if (this.configuration && this.configuration.apiKey) {
397
+ headerParameters["X-Api-Key"] = await this.configuration.apiKey("X-Api-Key"); // ApiKeyAuth authentication
398
+ }
399
+ if (this.configuration && this.configuration.accessToken) {
400
+ const token = this.configuration.accessToken;
401
+ const tokenString = await token("BearerAuth", []);
402
+ if (tokenString) {
403
+ headerParameters["Authorization"] = `Bearer ${tokenString}`;
404
+ }
405
+ }
406
+ let urlPath = `/api/v1/integrations/nocode/imports/{id}/run`;
407
+ urlPath = urlPath.replace(`{${"id"}}`, encodeURIComponent(String(requestParameters['id'])));
408
+ const response = await this.request({
409
+ path: urlPath,
410
+ method: 'POST',
411
+ headers: headerParameters,
412
+ query: queryParameters,
413
+ }, initOverrides);
414
+ return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.NoCodeImportRunResponseFromJSON)(jsonValue));
415
+ }
416
+ /**
417
+ * Synchronous, deliberately: the run is bounded by the import ceiling and the operator who pressed the button wants to know whether it worked. Reads the whole table, stages it, commits it through the same pipeline a CSV upload takes, and returns the import row plus the job with its capped error and duplicate reports. The previous run\'s job is discarded. Synchronous; < 60s for a table at the ceiling. Requires API-key scope: integrations:write.
418
+ * Run a table import now
419
+ */
420
+ async runImport(requestParameters, initOverrides) {
421
+ const response = await this.runImportRaw(requestParameters, initOverrides);
422
+ return await response.value();
423
+ }
424
+ /**
425
+ * Every table of every base (Airtable), every database shared with the integration (Notion), or the tabs of ONE spreadsheet (Google Sheets, which needs ?container=<spreadsheet URL or id> — the platform service account can see every sheet every tenant has shared with it and so never lists them). importId is non-null on tables this tenant already imports. Vendor round-trips < 2s. Requires API-key scope: integrations:read.
426
+ * List the tables this tenant\'s connection can reach, with its imports marked
427
+ */
428
+ async sourcesRaw(requestParameters, initOverrides) {
429
+ if (requestParameters['vendor'] == null) {
430
+ throw new runtime.RequiredError('vendor', 'Required parameter "vendor" was null or undefined when calling sources().');
431
+ }
432
+ const queryParameters = {};
433
+ if (requestParameters['container'] != null) {
434
+ queryParameters['container'] = requestParameters['container'];
435
+ }
436
+ const headerParameters = {};
437
+ if (this.configuration && this.configuration.apiKey) {
438
+ headerParameters["X-Api-Key"] = await this.configuration.apiKey("X-Api-Key"); // ApiKeyAuth authentication
439
+ }
440
+ if (this.configuration && this.configuration.accessToken) {
441
+ const token = this.configuration.accessToken;
442
+ const tokenString = await token("BearerAuth", []);
443
+ if (tokenString) {
444
+ headerParameters["Authorization"] = `Bearer ${tokenString}`;
445
+ }
446
+ }
447
+ let urlPath = `/api/v1/integrations/nocode/{vendor}/sources`;
448
+ urlPath = urlPath.replace(`{${"vendor"}}`, encodeURIComponent(String(requestParameters['vendor'])));
449
+ const response = await this.request({
450
+ path: urlPath,
451
+ method: 'GET',
452
+ headers: headerParameters,
453
+ query: queryParameters,
454
+ }, initOverrides);
455
+ return new runtime.JSONApiResponse(response, (jsonValue) => jsonValue.map(index_1.NoCodeSourceResponseFromJSON));
456
+ }
457
+ /**
458
+ * Every table of every base (Airtable), every database shared with the integration (Notion), or the tabs of ONE spreadsheet (Google Sheets, which needs ?container=<spreadsheet URL or id> — the platform service account can see every sheet every tenant has shared with it and so never lists them). importId is non-null on tables this tenant already imports. Vendor round-trips < 2s. Requires API-key scope: integrations:read.
459
+ * List the tables this tenant\'s connection can reach, with its imports marked
460
+ */
461
+ async sources(requestParameters, initOverrides) {
462
+ const response = await this.sourcesRaw(requestParameters, initOverrides);
463
+ return await response.value();
464
+ }
465
+ /**
466
+ * A genuine partial update: a null field is left alone. A blank tag clears it. The mapping is validated but not checked against the table here — the next run does that. Writes < 500ms. Requires API-key scope: integrations:write.
467
+ * Change a table import — mapping, consent policy, tag or schedule
468
+ */
469
+ async updateImportRaw(requestParameters, initOverrides) {
470
+ if (requestParameters['id'] == null) {
471
+ throw new runtime.RequiredError('id', 'Required parameter "id" was null or undefined when calling updateImport().');
472
+ }
473
+ if (requestParameters['updateNoCodeImportRequest'] == null) {
474
+ throw new runtime.RequiredError('updateNoCodeImportRequest', 'Required parameter "updateNoCodeImportRequest" was null or undefined when calling updateImport().');
475
+ }
476
+ const queryParameters = {};
477
+ const headerParameters = {};
478
+ headerParameters['Content-Type'] = 'application/json';
479
+ if (requestParameters['xIdempotencyKey'] != null) {
480
+ headerParameters['X-Idempotency-Key'] = String(requestParameters['xIdempotencyKey']);
481
+ }
482
+ if (this.configuration && this.configuration.apiKey) {
483
+ headerParameters["X-Api-Key"] = await this.configuration.apiKey("X-Api-Key"); // ApiKeyAuth authentication
484
+ }
485
+ if (this.configuration && this.configuration.accessToken) {
486
+ const token = this.configuration.accessToken;
487
+ const tokenString = await token("BearerAuth", []);
488
+ if (tokenString) {
489
+ headerParameters["Authorization"] = `Bearer ${tokenString}`;
490
+ }
491
+ }
492
+ let urlPath = `/api/v1/integrations/nocode/imports/{id}`;
493
+ urlPath = urlPath.replace(`{${"id"}}`, encodeURIComponent(String(requestParameters['id'])));
494
+ const response = await this.request({
495
+ path: urlPath,
496
+ method: 'PATCH',
497
+ headers: headerParameters,
498
+ query: queryParameters,
499
+ body: (0, index_1.UpdateNoCodeImportRequestToJSON)(requestParameters['updateNoCodeImportRequest']),
500
+ }, initOverrides);
501
+ return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.NoCodeImportResponseFromJSON)(jsonValue));
502
+ }
503
+ /**
504
+ * A genuine partial update: a null field is left alone. A blank tag clears it. The mapping is validated but not checked against the table here — the next run does that. Writes < 500ms. Requires API-key scope: integrations:write.
505
+ * Change a table import — mapping, consent policy, tag or schedule
506
+ */
507
+ async updateImport(requestParameters, initOverrides) {
508
+ const response = await this.updateImportRaw(requestParameters, initOverrides);
509
+ return await response.value();
510
+ }
511
+ /**
512
+ * Every outbound message result recorded after this moment — sent, delivered, read, replied, failed — is appended as a row, by the minute-by-minute sweep or by POST /{vendor}/results/flush. A new sink\'s watermark starts NOW, not at the beginning of the delivery log. The response\'s columns is the header row this surface writes: Sheets gets it automatically; an Airtable or Notion results table needs fields of those names, and headers it lacks are dropped from the write. The recipient column is the delivery log\'s MASKED value, never an address. One results table per tool; calling again re-points it. Vendor round-trips < 2s. Requires API-key scope: integrations:write.
513
+ * Point this tool\'s results table at a table
514
+ */
515
+ async upsertResultsRaw(requestParameters, initOverrides) {
516
+ if (requestParameters['vendor'] == null) {
517
+ throw new runtime.RequiredError('vendor', 'Required parameter "vendor" was null or undefined when calling upsertResults().');
518
+ }
519
+ if (requestParameters['upsertNoCodeResultSinkRequest'] == null) {
520
+ throw new runtime.RequiredError('upsertNoCodeResultSinkRequest', 'Required parameter "upsertNoCodeResultSinkRequest" was null or undefined when calling upsertResults().');
521
+ }
522
+ const queryParameters = {};
523
+ const headerParameters = {};
524
+ headerParameters['Content-Type'] = 'application/json';
525
+ if (requestParameters['xIdempotencyKey'] != null) {
526
+ headerParameters['X-Idempotency-Key'] = String(requestParameters['xIdempotencyKey']);
527
+ }
528
+ if (this.configuration && this.configuration.apiKey) {
529
+ headerParameters["X-Api-Key"] = await this.configuration.apiKey("X-Api-Key"); // ApiKeyAuth authentication
530
+ }
531
+ if (this.configuration && this.configuration.accessToken) {
532
+ const token = this.configuration.accessToken;
533
+ const tokenString = await token("BearerAuth", []);
534
+ if (tokenString) {
535
+ headerParameters["Authorization"] = `Bearer ${tokenString}`;
536
+ }
537
+ }
538
+ let urlPath = `/api/v1/integrations/nocode/{vendor}/results`;
539
+ urlPath = urlPath.replace(`{${"vendor"}}`, encodeURIComponent(String(requestParameters['vendor'])));
540
+ const response = await this.request({
541
+ path: urlPath,
542
+ method: 'PUT',
543
+ headers: headerParameters,
544
+ query: queryParameters,
545
+ body: (0, index_1.UpsertNoCodeResultSinkRequestToJSON)(requestParameters['upsertNoCodeResultSinkRequest']),
546
+ }, initOverrides);
547
+ return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.NoCodeResultSinkResponseFromJSON)(jsonValue));
548
+ }
549
+ /**
550
+ * Every outbound message result recorded after this moment — sent, delivered, read, replied, failed — is appended as a row, by the minute-by-minute sweep or by POST /{vendor}/results/flush. A new sink\'s watermark starts NOW, not at the beginning of the delivery log. The response\'s columns is the header row this surface writes: Sheets gets it automatically; an Airtable or Notion results table needs fields of those names, and headers it lacks are dropped from the write. The recipient column is the delivery log\'s MASKED value, never an address. One results table per tool; calling again re-points it. Vendor round-trips < 2s. Requires API-key scope: integrations:write.
551
+ * Point this tool\'s results table at a table
552
+ */
553
+ async upsertResults(requestParameters, initOverrides) {
554
+ const response = await this.upsertResultsRaw(requestParameters, initOverrides);
555
+ return await response.value();
556
+ }
557
+ /**
558
+ * Health comes from the shared connection substrate, so a vendor\'s status here always matches GET /api/v1/integrations/{vendor}. shareWith is the Google service-account address a customer shares their sheet with, non-null only for google-sheets once connected. requiresContainer says whether listing sources needs a spreadsheet URL first. Never returns a credential. Reads < 300ms. Requires API-key scope: integrations:read.
559
+ * List the three no-code tools and what this tenant has set up on each
560
+ */
561
+ async vendorsIntegrationsNocodeRaw(initOverrides) {
562
+ const queryParameters = {};
563
+ const headerParameters = {};
564
+ if (this.configuration && this.configuration.apiKey) {
565
+ headerParameters["X-Api-Key"] = await this.configuration.apiKey("X-Api-Key"); // ApiKeyAuth authentication
566
+ }
567
+ if (this.configuration && this.configuration.accessToken) {
568
+ const token = this.configuration.accessToken;
569
+ const tokenString = await token("BearerAuth", []);
570
+ if (tokenString) {
571
+ headerParameters["Authorization"] = `Bearer ${tokenString}`;
572
+ }
573
+ }
574
+ let urlPath = `/api/v1/integrations/nocode/vendors`;
575
+ const response = await this.request({
576
+ path: urlPath,
577
+ method: 'GET',
578
+ headers: headerParameters,
579
+ query: queryParameters,
580
+ }, initOverrides);
581
+ return new runtime.JSONApiResponse(response, (jsonValue) => jsonValue.map(index_1.NoCodeVendorResponseFromJSON));
582
+ }
583
+ /**
584
+ * Health comes from the shared connection substrate, so a vendor\'s status here always matches GET /api/v1/integrations/{vendor}. shareWith is the Google service-account address a customer shares their sheet with, non-null only for google-sheets once connected. requiresContainer says whether listing sources needs a spreadsheet URL first. Never returns a credential. Reads < 300ms. Requires API-key scope: integrations:read.
585
+ * List the three no-code tools and what this tenant has set up on each
586
+ */
587
+ async vendorsIntegrationsNocode(initOverrides) {
588
+ const response = await this.vendorsIntegrationsNocodeRaw(initOverrides);
589
+ return await response.value();
590
+ }
591
+ }
592
+ exports.NoCodeApi = NoCodeApi;