@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.
- package/dist/generated/src/apis/AdAccountApi.d.ts +13 -13
- package/dist/generated/src/apis/AdAccountApi.js +8 -8
- package/dist/generated/src/apis/AdminEmailReputationApi.d.ts +12 -12
- package/dist/generated/src/apis/AdminEmailReputationApi.js +6 -6
- package/dist/generated/src/apis/AdminFirstPartyAppApi.d.ts +49 -20
- package/dist/generated/src/apis/AdminFirstPartyAppApi.js +51 -10
- package/dist/generated/src/apis/AdminFxRateApi.d.ts +4 -4
- package/dist/generated/src/apis/AdminFxRateApi.js +2 -2
- package/dist/generated/src/apis/AdminImpersonationApi.d.ts +16 -16
- package/dist/generated/src/apis/AdminImpersonationApi.js +8 -8
- package/dist/generated/src/apis/AdminOperatorApi.d.ts +12 -12
- package/dist/generated/src/apis/AdminOperatorApi.js +6 -6
- package/dist/generated/src/apis/AdminPricingApi.d.ts +16 -16
- package/dist/generated/src/apis/AdminPricingApi.js +8 -8
- package/dist/generated/src/apis/AdminProviderHealthApi.d.ts +4 -4
- package/dist/generated/src/apis/AdminProviderHealthApi.js +2 -2
- package/dist/generated/src/apis/AdminRateCardApi.d.ts +16 -16
- package/dist/generated/src/apis/AdminRateCardApi.js +8 -8
- package/dist/generated/src/apis/AdminRevenueApi.d.ts +12 -12
- package/dist/generated/src/apis/AdminRevenueApi.js +6 -6
- package/dist/generated/src/apis/AdminTenantApi.d.ts +16 -16
- package/dist/generated/src/apis/AdminTenantApi.js +8 -8
- package/dist/generated/src/apis/AdminTenantPurgeApi.d.ts +57 -0
- package/dist/generated/src/apis/AdminTenantPurgeApi.js +103 -0
- package/dist/generated/src/apis/AdminWalletApi.d.ts +16 -16
- package/dist/generated/src/apis/AdminWalletApi.js +8 -8
- package/dist/generated/src/apis/AdminWhatsAppNumberApi.d.ts +8 -8
- package/dist/generated/src/apis/AdminWhatsAppNumberApi.js +4 -4
- package/dist/generated/src/apis/AgentLanguageApi.d.ts +5 -5
- package/dist/generated/src/apis/AgentLanguageApi.js +4 -4
- package/dist/generated/src/apis/AiApi.d.ts +5 -5
- package/dist/generated/src/apis/AiApi.js +4 -4
- package/dist/generated/src/apis/ApiKeyApi.d.ts +32 -1
- package/dist/generated/src/apis/ApiKeyApi.js +46 -0
- package/dist/generated/src/apis/AuditApi.d.ts +4 -4
- package/dist/generated/src/apis/AuditApi.js +2 -2
- package/dist/generated/src/apis/AuthMeApi.d.ts +4 -4
- package/dist/generated/src/apis/AuthMeApi.js +3 -3
- package/dist/generated/src/apis/AutomationApi.d.ts +30 -1
- package/dist/generated/src/apis/AutomationApi.js +42 -0
- package/dist/generated/src/apis/AutomationEventApi.d.ts +102 -0
- package/dist/generated/src/apis/AutomationEventApi.js +155 -0
- package/dist/generated/src/apis/AutomationIdentityApi.d.ts +49 -0
- package/dist/generated/src/apis/AutomationIdentityApi.js +91 -0
- package/dist/generated/src/apis/AutomationSubscriptionApi.d.ts +111 -0
- package/dist/generated/src/apis/AutomationSubscriptionApi.js +179 -0
- package/dist/generated/src/apis/BillingApi.d.ts +30 -1
- package/dist/generated/src/apis/BillingApi.js +42 -0
- package/dist/generated/src/apis/CdpApi.d.ts +144 -0
- package/dist/generated/src/apis/CdpApi.js +230 -0
- package/dist/generated/src/apis/CdpWebhookApi.d.ts +58 -0
- package/dist/generated/src/apis/CdpWebhookApi.js +102 -0
- package/dist/generated/src/apis/ChatOpsApi.d.ts +329 -0
- package/dist/generated/src/apis/ChatOpsApi.js +498 -0
- package/dist/generated/src/apis/ChatOpsInteractiveApi.d.ts +66 -0
- package/dist/generated/src/apis/ChatOpsInteractiveApi.js +103 -0
- package/dist/generated/src/apis/ContactSyncApi.d.ts +229 -0
- package/dist/generated/src/apis/ContactSyncApi.js +352 -0
- package/dist/generated/src/apis/ContactSyncWebhookApi.d.ts +87 -0
- package/dist/generated/src/apis/ContactSyncWebhookApi.js +143 -0
- package/dist/generated/src/apis/FlowDataExchangeApi.d.ts +5 -5
- package/dist/generated/src/apis/FlowDataExchangeApi.js +3 -3
- package/dist/generated/src/apis/HelpdeskApi.d.ts +200 -0
- package/dist/generated/src/apis/HelpdeskApi.js +314 -0
- package/dist/generated/src/apis/HubSpotApi.d.ts +188 -0
- package/dist/generated/src/apis/HubSpotApi.js +292 -0
- package/dist/generated/src/apis/IntegrationConnectionApi.d.ts +111 -0
- package/dist/generated/src/apis/IntegrationConnectionApi.js +176 -0
- package/dist/generated/src/apis/MessageAnalyticsApi.d.ts +4 -4
- package/dist/generated/src/apis/MessageAnalyticsApi.js +2 -2
- package/dist/generated/src/apis/NoCodeApi.d.ts +395 -0
- package/dist/generated/src/apis/NoCodeApi.js +592 -0
- package/dist/generated/src/apis/NotificationApi.d.ts +8 -2
- package/dist/generated/src/apis/NotificationApi.js +8 -2
- package/dist/generated/src/apis/OrderNotificationApi.d.ts +20 -44
- package/dist/generated/src/apis/OrderNotificationApi.js +17 -39
- package/dist/generated/src/apis/PlanUsageApi.d.ts +49 -0
- package/dist/generated/src/apis/PlanUsageApi.js +91 -0
- package/dist/generated/src/apis/SalesforceApi.d.ts +186 -0
- package/dist/generated/src/apis/SalesforceApi.js +287 -0
- package/dist/generated/src/apis/SalesforceOAuthCallbackApi.d.ts +58 -0
- package/dist/generated/src/apis/SalesforceOAuthCallbackApi.js +101 -0
- package/dist/generated/src/apis/SamlApi.d.ts +144 -0
- package/dist/generated/src/apis/SamlApi.js +242 -0
- package/dist/generated/src/apis/ScimDiscoveryApi.d.ts +118 -0
- package/dist/generated/src/apis/ScimDiscoveryApi.js +158 -0
- package/dist/generated/src/apis/ScimGroupApi.d.ts +204 -0
- package/dist/generated/src/apis/ScimGroupApi.js +312 -0
- package/dist/generated/src/apis/ScimUserApi.d.ts +204 -0
- package/dist/generated/src/apis/ScimUserApi.js +312 -0
- package/dist/generated/src/apis/SettingsApi.d.ts +4 -1
- package/dist/generated/src/apis/SettingsApi.js +4 -1
- package/dist/generated/src/apis/ShipmentApi.d.ts +200 -0
- package/dist/generated/src/apis/ShipmentApi.js +307 -0
- package/dist/generated/src/apis/ShipmentWebhookApi.d.ts +58 -0
- package/dist/generated/src/apis/ShipmentWebhookApi.js +102 -0
- package/dist/generated/src/apis/SsoSettingsApi.d.ts +159 -0
- package/dist/generated/src/apis/SsoSettingsApi.js +242 -0
- package/dist/generated/src/apis/StandaloneAuthApi.d.ts +5 -5
- package/dist/generated/src/apis/StandaloneAuthApi.js +4 -4
- package/dist/generated/src/apis/StoreApi.d.ts +167 -0
- package/dist/generated/src/apis/StoreApi.js +259 -0
- package/dist/generated/src/apis/TallyApi.d.ts +134 -0
- package/dist/generated/src/apis/TallyApi.js +215 -0
- package/dist/generated/src/apis/TemplateApi.d.ts +8 -8
- package/dist/generated/src/apis/TemplateApi.js +4 -4
- package/dist/generated/src/apis/WabaApi.d.ts +29 -0
- package/dist/generated/src/apis/WabaApi.js +40 -0
- package/dist/generated/src/apis/WabaPhoneNumberApi.d.ts +5 -5
- package/dist/generated/src/apis/WabaPhoneNumberApi.js +4 -4
- package/dist/generated/src/apis/ZohoBooksApi.d.ts +182 -0
- package/dist/generated/src/apis/ZohoBooksApi.js +281 -0
- package/dist/generated/src/apis/ZohoCrmApi.d.ts +159 -0
- package/dist/generated/src/apis/ZohoCrmApi.js +247 -0
- package/dist/generated/src/apis/ZohoOAuthCallbackApi.d.ts +60 -0
- package/dist/generated/src/apis/ZohoOAuthCallbackApi.js +104 -0
- package/dist/generated/src/apis/index.d.ts +29 -0
- package/dist/generated/src/apis/index.js +29 -0
- package/dist/generated/src/models/AbTestVariantRequest.d.ts +1 -1
- package/dist/generated/src/models/AbTestVariantRequest.js +3 -1
- package/dist/generated/src/models/AdAccountConnectionResponse.d.ts +12 -0
- package/dist/generated/src/models/AdAccountConnectionResponse.js +4 -0
- package/dist/generated/src/models/AdminStartImpersonationRequest.d.ts +1 -1
- package/dist/generated/src/models/AdminStartImpersonationRequest.js +3 -1
- package/dist/generated/src/models/AdminTenantPurgeReceiptResponse.d.ts +80 -0
- package/dist/generated/src/models/AdminTenantPurgeReceiptResponse.js +64 -0
- package/dist/generated/src/models/AdminTenantPurgeRequest.d.ts +38 -0
- package/dist/generated/src/models/AdminTenantPurgeRequest.js +54 -0
- package/dist/generated/src/models/ApiKeyResponse.d.ts +7 -0
- package/dist/generated/src/models/ApiKeyResponse.js +3 -0
- package/dist/generated/src/models/AutoRechargeRequest.d.ts +1 -1
- package/dist/generated/src/models/AutoRechargeRequest.js +3 -1
- package/dist/generated/src/models/AutomationApiTriggerRequest.d.ts +64 -0
- package/dist/generated/src/models/AutomationApiTriggerRequest.js +58 -0
- package/dist/generated/src/models/AutomationApiTriggerResponse.d.ts +38 -0
- package/dist/generated/src/models/AutomationApiTriggerResponse.js +50 -0
- package/dist/generated/src/models/AutomationCreateFlowRequest.d.ts +5 -0
- package/dist/generated/src/models/AutomationCreateFlowRequest.js +6 -1
- package/dist/generated/src/models/AutomationFlowResponse.d.ts +5 -0
- package/dist/generated/src/models/AutomationFlowResponse.js +6 -1
- package/dist/generated/src/models/AutomationFlowSummaryResponse.d.ts +5 -0
- package/dist/generated/src/models/AutomationFlowSummaryResponse.js +6 -1
- package/dist/generated/src/models/AutomationIdentityResponse.d.ts +56 -0
- package/dist/generated/src/models/AutomationIdentityResponse.js +56 -0
- package/dist/generated/src/models/AutomationNode.d.ts +18 -0
- package/dist/generated/src/models/AutomationNode.js +9 -1
- package/dist/generated/src/models/AutomationSubscriptionResponse.d.ts +78 -0
- package/dist/generated/src/models/AutomationSubscriptionResponse.js +78 -0
- package/dist/generated/src/models/AutomationUpdateFlowRequest.d.ts +5 -0
- package/dist/generated/src/models/AutomationUpdateFlowRequest.js +6 -1
- package/dist/generated/src/models/BotIntegrationFamilyResponse.d.ts +58 -0
- package/dist/generated/src/models/BotIntegrationFamilyResponse.js +58 -0
- package/dist/generated/src/models/BotIntegrationOperationResponse.d.ts +63 -0
- package/dist/generated/src/models/BotIntegrationOperationResponse.js +59 -0
- package/dist/generated/src/models/BotIntegrationParamResponse.d.ts +50 -0
- package/dist/generated/src/models/BotIntegrationParamResponse.js +54 -0
- package/dist/generated/src/models/BotIntegrationVendorResponse.d.ts +44 -0
- package/dist/generated/src/models/BotIntegrationVendorResponse.js +52 -0
- package/dist/generated/src/models/BotNodeTypeResponse.d.ts +7 -0
- package/dist/generated/src/models/BotNodeTypeResponse.js +3 -0
- package/dist/generated/src/models/BotSimulateRequest.d.ts +6 -0
- package/dist/generated/src/models/BotSimulateRequest.js +2 -0
- package/dist/generated/src/models/Candidate.d.ts +6 -0
- package/dist/generated/src/models/Candidate.js +2 -0
- package/dist/generated/src/models/CarrierConnectionResponse.d.ts +68 -0
- package/dist/generated/src/models/CarrierConnectionResponse.js +60 -0
- package/dist/generated/src/models/CatalogOrderResponse.d.ts +3 -0
- package/dist/generated/src/models/CatalogOrderResponse.js +4 -1
- package/dist/generated/src/models/CatalogProductResponse.d.ts +3 -0
- package/dist/generated/src/models/CatalogProductResponse.js +3 -0
- package/dist/generated/src/models/CdpInboundEventResponse.d.ts +74 -0
- package/dist/generated/src/models/CdpInboundEventResponse.js +62 -0
- package/dist/generated/src/models/CdpVendorResponse.d.ts +104 -0
- package/dist/generated/src/models/CdpVendorResponse.js +72 -0
- package/dist/generated/src/models/CertificateSummary.d.ts +50 -0
- package/dist/generated/src/models/CertificateSummary.js +54 -0
- package/dist/generated/src/models/ChangePlanRequest.d.ts +58 -0
- package/dist/generated/src/models/ChangePlanRequest.js +71 -0
- package/dist/generated/src/models/ChannelAccountBinding.d.ts +52 -0
- package/dist/generated/src/models/ChannelAccountBinding.js +68 -0
- package/dist/generated/src/models/ChatOpsAlertTypeResponse.d.ts +50 -0
- package/dist/generated/src/models/ChatOpsAlertTypeResponse.js +54 -0
- package/dist/generated/src/models/ChatOpsIdentityResponse.d.ts +62 -0
- package/dist/generated/src/models/ChatOpsIdentityResponse.js +58 -0
- package/dist/generated/src/models/ChatOpsRouteResponse.d.ts +80 -0
- package/dist/generated/src/models/ChatOpsRouteResponse.js +64 -0
- package/dist/generated/src/models/ChatOpsVendorResponse.d.ts +86 -0
- package/dist/generated/src/models/ChatOpsVendorResponse.js +66 -0
- package/dist/generated/src/models/ConnectCarrierRequest.d.ts +34 -0
- package/dist/generated/src/models/ConnectCarrierRequest.js +50 -0
- package/dist/generated/src/models/ConnectCdpRequest.d.ts +40 -0
- package/dist/generated/src/models/ConnectCdpRequest.js +52 -0
- package/dist/generated/src/models/ConnectChatOpsRequest.d.ts +40 -0
- package/dist/generated/src/models/ConnectChatOpsRequest.js +50 -0
- package/dist/generated/src/models/ConnectContactSyncRequest.d.ts +40 -0
- package/dist/generated/src/models/ConnectContactSyncRequest.js +52 -0
- package/dist/generated/src/models/ConnectHelpdeskRequest.d.ts +34 -0
- package/dist/generated/src/models/ConnectHelpdeskRequest.js +50 -0
- package/dist/generated/src/models/ConnectHubSpotRequest.d.ts +40 -0
- package/dist/generated/src/models/ConnectHubSpotRequest.js +52 -0
- package/dist/generated/src/models/ConnectNoCodeRequest.d.ts +40 -0
- package/dist/generated/src/models/ConnectNoCodeRequest.js +50 -0
- package/dist/generated/src/models/ConnectStoreRequest.d.ts +40 -0
- package/dist/generated/src/models/ConnectStoreRequest.js +52 -0
- package/dist/generated/src/models/ConnectTallyRequest.d.ts +32 -0
- package/dist/generated/src/models/ConnectTallyRequest.js +50 -0
- package/dist/generated/src/models/ContactSyncListResponse.d.ts +80 -0
- package/dist/generated/src/models/ContactSyncListResponse.js +64 -0
- package/dist/generated/src/models/ContactSyncRunResponse.d.ts +74 -0
- package/dist/generated/src/models/ContactSyncRunResponse.js +62 -0
- package/dist/generated/src/models/ContactSyncVendorResponse.d.ts +110 -0
- package/dist/generated/src/models/ContactSyncVendorResponse.js +74 -0
- package/dist/generated/src/models/CreateApiKeyRequest.d.ts +7 -0
- package/dist/generated/src/models/CreateApiKeyRequest.js +3 -0
- package/dist/generated/src/models/CreateSubscriptionRequest.d.ts +60 -0
- package/dist/generated/src/models/CreateSubscriptionRequest.js +76 -0
- package/dist/generated/src/models/CreateTicketRequest.d.ts +32 -0
- package/dist/generated/src/models/CreateTicketRequest.js +50 -0
- package/dist/generated/src/models/CreateWebhookEndpointRequest.d.ts +6 -0
- package/dist/generated/src/models/CreateWebhookEndpointRequest.js +6 -0
- package/dist/generated/src/models/CreateWebhookEndpointResponse.d.ts +6 -0
- package/dist/generated/src/models/CreateWebhookEndpointResponse.js +6 -0
- package/dist/generated/src/models/CreateWebhookTriggerRequest.d.ts +3 -2
- package/dist/generated/src/models/CreateWebhookTriggerRequest.js +2 -1
- package/dist/generated/src/models/CreateWebhookTriggerResponse.d.ts +1 -0
- package/dist/generated/src/models/CreateWebhookTriggerResponse.js +2 -1
- package/dist/generated/src/models/CursorPageCdpInboundEventResponse.d.ts +45 -0
- package/dist/generated/src/models/CursorPageCdpInboundEventResponse.js +53 -0
- package/dist/generated/src/models/CursorPageShipmentSummaryResponse.d.ts +45 -0
- package/dist/generated/src/models/CursorPageShipmentSummaryResponse.js +53 -0
- package/dist/generated/src/models/Email.d.ts +44 -0
- package/dist/generated/src/models/Email.js +52 -0
- package/dist/generated/src/models/EmailAbTestVariantRequest.d.ts +1 -1
- package/dist/generated/src/models/EmailAbTestVariantRequest.js +3 -1
- package/dist/generated/src/models/FirstPartyApp.d.ts +25 -1
- package/dist/generated/src/models/FirstPartyApp.js +8 -0
- package/dist/generated/src/models/FlowNode.d.ts +10 -0
- package/dist/generated/src/models/FlowNode.js +7 -1
- package/dist/generated/src/models/GroupRef.d.ts +38 -0
- package/dist/generated/src/models/GroupRef.js +50 -0
- package/dist/generated/src/models/HelpdeskTicketResponse.d.ts +100 -0
- package/dist/generated/src/models/HelpdeskTicketResponse.js +83 -0
- package/dist/generated/src/models/HelpdeskVendorResponse.d.ts +122 -0
- package/dist/generated/src/models/HelpdeskVendorResponse.js +89 -0
- package/dist/generated/src/models/HubSpotCompanyResponse.d.ts +68 -0
- package/dist/generated/src/models/HubSpotCompanyResponse.js +60 -0
- package/dist/generated/src/models/HubSpotDealResponse.d.ts +68 -0
- package/dist/generated/src/models/HubSpotDealResponse.js +60 -0
- package/dist/generated/src/models/HubSpotRunResponse.d.ts +92 -0
- package/dist/generated/src/models/HubSpotRunResponse.js +68 -0
- package/dist/generated/src/models/HubSpotStatusResponse.d.ts +128 -0
- package/dist/generated/src/models/HubSpotStatusResponse.js +80 -0
- package/dist/generated/src/models/IntegrationConnectionResponse.d.ts +95 -0
- package/dist/generated/src/models/IntegrationConnectionResponse.js +75 -0
- package/dist/generated/src/models/IntegrationEventPage.d.ts +45 -0
- package/dist/generated/src/models/IntegrationEventPage.js +53 -0
- package/dist/generated/src/models/IntegrationEventResponse.d.ts +78 -0
- package/dist/generated/src/models/IntegrationEventResponse.js +78 -0
- package/dist/generated/src/models/IntegrationEventTypeResponse.d.ts +73 -0
- package/dist/generated/src/models/IntegrationEventTypeResponse.js +77 -0
- package/dist/generated/src/models/IntegrationStepSpec.d.ts +64 -0
- package/dist/generated/src/models/IntegrationStepSpec.js +58 -0
- package/dist/generated/src/models/IntegrationSummaryResponse.d.ts +27 -0
- package/dist/generated/src/models/IntegrationSummaryResponse.js +15 -0
- package/dist/generated/src/models/LimitUsage.d.ts +68 -0
- package/dist/generated/src/models/LimitUsage.js +60 -0
- package/dist/generated/src/models/LinkChatOpsIdentityRequest.d.ts +32 -0
- package/dist/generated/src/models/LinkChatOpsIdentityRequest.js +50 -0
- package/dist/generated/src/models/ListResponseScimGroupResource.d.ts +57 -0
- package/dist/generated/src/models/ListResponseScimGroupResource.js +57 -0
- package/dist/generated/src/models/ListResponseScimUserResource.d.ts +57 -0
- package/dist/generated/src/models/ListResponseScimUserResource.js +57 -0
- package/dist/generated/src/models/MarkTourStepSeenRequest.d.ts +1 -1
- package/dist/generated/src/models/MarkTourStepSeenRequest.js +3 -1
- package/dist/generated/src/models/Member.d.ts +38 -0
- package/dist/generated/src/models/Member.js +50 -0
- package/dist/generated/src/models/Meta.d.ts +50 -0
- package/dist/generated/src/models/Meta.js +54 -0
- package/dist/generated/src/models/ModuleActivity.d.ts +6 -0
- package/dist/generated/src/models/ModuleActivity.js +2 -0
- package/dist/generated/src/models/MuteEventTypeRequest.d.ts +4 -1
- package/dist/generated/src/models/MuteEventTypeRequest.js +7 -2
- package/dist/generated/src/models/Name.d.ts +44 -0
- package/dist/generated/src/models/Name.js +52 -0
- package/dist/generated/src/models/NoCodeColumnMapping.d.ts +62 -0
- package/dist/generated/src/models/NoCodeColumnMapping.js +74 -0
- package/dist/generated/src/models/NoCodeImportResponse.d.ts +167 -0
- package/dist/generated/src/models/NoCodeImportResponse.js +103 -0
- package/dist/generated/src/models/NoCodeImportRunResponse.d.ts +40 -0
- package/dist/generated/src/models/NoCodeImportRunResponse.js +52 -0
- package/dist/generated/src/models/NoCodePreviewRequest.d.ts +77 -0
- package/dist/generated/src/models/NoCodePreviewRequest.js +75 -0
- package/dist/generated/src/models/NoCodePreviewResponse.d.ts +66 -0
- package/dist/generated/src/models/NoCodePreviewResponse.js +60 -0
- package/dist/generated/src/models/NoCodeResultSinkResponse.d.ts +80 -0
- package/dist/generated/src/models/NoCodeResultSinkResponse.js +64 -0
- package/dist/generated/src/models/NoCodeSourceResponse.d.ts +50 -0
- package/dist/generated/src/models/NoCodeSourceResponse.js +54 -0
- package/dist/generated/src/models/NoCodeVendorResponse.d.ts +86 -0
- package/dist/generated/src/models/NoCodeVendorResponse.js +66 -0
- package/dist/generated/src/models/NotificationPreferenceResponse.d.ts +3 -0
- package/dist/generated/src/models/NotificationPreferenceResponse.js +4 -1
- package/dist/generated/src/models/NotificationResponse.d.ts +3 -0
- package/dist/generated/src/models/NotificationResponse.js +4 -1
- package/dist/generated/src/models/Operation.d.ts +44 -0
- package/dist/generated/src/models/Operation.js +52 -0
- package/dist/generated/src/models/OrderNotificationDefaultResponse.d.ts +24 -0
- package/dist/generated/src/models/OrderNotificationDefaultResponse.js +16 -1
- package/dist/generated/src/models/OrderNotificationLogResponse.d.ts +24 -0
- package/dist/generated/src/models/OrderNotificationLogResponse.js +16 -1
- package/dist/generated/src/models/OrderNotificationRuleResponse.d.ts +24 -0
- package/dist/generated/src/models/OrderNotificationRuleResponse.js +16 -1
- package/dist/generated/src/models/PageInvoiceResponse.d.ts +12 -12
- package/dist/generated/src/models/PageInvoiceResponse.js +6 -6
- package/dist/generated/src/models/PageResponseAutomationSubscriptionResponse.d.ts +57 -0
- package/dist/generated/src/models/PageResponseAutomationSubscriptionResponse.js +57 -0
- package/dist/generated/src/models/PageResponseHelpdeskTicketResponse.d.ts +57 -0
- package/dist/generated/src/models/PageResponseHelpdeskTicketResponse.js +57 -0
- package/dist/generated/src/models/PageResponseHubSpotCompanyResponse.d.ts +57 -0
- package/dist/generated/src/models/PageResponseHubSpotCompanyResponse.js +57 -0
- package/dist/generated/src/models/PageResponseHubSpotDealResponse.d.ts +57 -0
- package/dist/generated/src/models/PageResponseHubSpotDealResponse.js +57 -0
- package/dist/generated/src/models/PageResponseSalesforceAccountResponse.d.ts +57 -0
- package/dist/generated/src/models/PageResponseSalesforceAccountResponse.js +57 -0
- package/dist/generated/src/models/PageResponseSalesforceOpportunityResponse.d.ts +57 -0
- package/dist/generated/src/models/PageResponseSalesforceOpportunityResponse.js +57 -0
- package/dist/generated/src/models/PageResponseTallyVoucherResponse.d.ts +57 -0
- package/dist/generated/src/models/PageResponseTallyVoucherResponse.js +57 -0
- package/dist/generated/src/models/PageResponseZohoBooksInvoiceResponse.d.ts +57 -0
- package/dist/generated/src/models/PageResponseZohoBooksInvoiceResponse.js +57 -0
- package/dist/generated/src/models/PageResponseZohoCrmDealResponse.d.ts +57 -0
- package/dist/generated/src/models/PageResponseZohoCrmDealResponse.js +57 -0
- package/dist/generated/src/models/PageTaxRecordResponse.d.ts +12 -12
- package/dist/generated/src/models/PageTaxRecordResponse.js +6 -6
- package/dist/generated/src/models/PageWaIvrCallbackResponse.d.ts +12 -12
- package/dist/generated/src/models/PageWaIvrCallbackResponse.js +6 -6
- package/dist/generated/src/models/PageWalletLedgerEntryResponse.d.ts +12 -12
- package/dist/generated/src/models/PageWalletLedgerEntryResponse.js +6 -6
- package/dist/generated/src/models/PageableObject.d.ts +10 -10
- package/dist/generated/src/models/PageableObject.js +8 -8
- package/dist/generated/src/models/PatchRequest.d.ts +39 -0
- package/dist/generated/src/models/PatchRequest.js +51 -0
- package/dist/generated/src/models/PlanCardResponse.d.ts +68 -0
- package/dist/generated/src/models/PlanCardResponse.js +28 -1
- package/dist/generated/src/models/PlanUsageResponse.d.ts +39 -0
- package/dist/generated/src/models/PlanUsageResponse.js +51 -0
- package/dist/generated/src/models/PublicTenantResponse.d.ts +12 -0
- package/dist/generated/src/models/PublicTenantResponse.js +4 -0
- package/dist/generated/src/models/SalesforceAccountResponse.d.ts +68 -0
- package/dist/generated/src/models/SalesforceAccountResponse.js +60 -0
- package/dist/generated/src/models/SalesforceAuthorizeUrlResponse.d.ts +50 -0
- package/dist/generated/src/models/SalesforceAuthorizeUrlResponse.js +54 -0
- package/dist/generated/src/models/SalesforceOpportunityResponse.d.ts +80 -0
- package/dist/generated/src/models/SalesforceOpportunityResponse.js +64 -0
- package/dist/generated/src/models/SalesforceRunResponse.d.ts +104 -0
- package/dist/generated/src/models/SalesforceRunResponse.js +72 -0
- package/dist/generated/src/models/SalesforceStatusResponse.d.ts +170 -0
- package/dist/generated/src/models/SalesforceStatusResponse.js +94 -0
- package/dist/generated/src/models/SamlTicketExchangeRequest.d.ts +32 -0
- package/dist/generated/src/models/SamlTicketExchangeRequest.js +50 -0
- package/dist/generated/src/models/ScimGroupResource.d.ts +64 -0
- package/dist/generated/src/models/ScimGroupResource.js +60 -0
- package/dist/generated/src/models/ScimTokenResponse.d.ts +50 -0
- package/dist/generated/src/models/ScimTokenResponse.js +54 -0
- package/dist/generated/src/models/ScimUserResource.d.ts +90 -0
- package/dist/generated/src/models/ScimUserResource.js +70 -0
- package/dist/generated/src/models/SendMessengerMessageRequest.d.ts +2 -2
- package/dist/generated/src/models/SendMessengerMessageRequest.js +4 -4
- package/dist/generated/src/models/ShipmentEventResponse.d.ts +50 -0
- package/dist/generated/src/models/ShipmentEventResponse.js +54 -0
- package/dist/generated/src/models/ShipmentResponse.d.ts +69 -0
- package/dist/generated/src/models/ShipmentResponse.js +61 -0
- package/dist/generated/src/models/ShipmentSummaryResponse.d.ts +68 -0
- package/dist/generated/src/models/ShipmentSummaryResponse.js +60 -0
- package/dist/generated/src/models/SignupRequest.d.ts +13 -1
- package/dist/generated/src/models/SignupRequest.js +14 -3
- package/dist/generated/src/models/SocialRegisterRequest.d.ts +14 -2
- package/dist/generated/src/models/SocialRegisterRequest.js +14 -3
- package/dist/generated/src/models/SortObject.d.ts +2 -2
- package/dist/generated/src/models/SortObject.js +4 -4
- package/dist/generated/src/models/SsoConnectionResponse.d.ts +195 -0
- package/dist/generated/src/models/SsoConnectionResponse.js +103 -0
- package/dist/generated/src/models/StopTrackingResponse.d.ts +50 -0
- package/dist/generated/src/models/StopTrackingResponse.js +54 -0
- package/dist/generated/src/models/StoreConnectionResponse.d.ts +116 -0
- package/dist/generated/src/models/StoreConnectionResponse.js +76 -0
- package/dist/generated/src/models/StoreSyncResponse.d.ts +62 -0
- package/dist/generated/src/models/StoreSyncResponse.js +58 -0
- package/dist/generated/src/models/StoreVendorResponse.d.ts +69 -0
- package/dist/generated/src/models/StoreVendorResponse.js +61 -0
- package/dist/generated/src/models/TallyPartyPayload.d.ts +62 -0
- package/dist/generated/src/models/TallyPartyPayload.js +60 -0
- package/dist/generated/src/models/TallyPushRequest.d.ts +52 -0
- package/dist/generated/src/models/TallyPushRequest.js +56 -0
- package/dist/generated/src/models/TallyPushResponse.d.ts +68 -0
- package/dist/generated/src/models/TallyPushResponse.js +60 -0
- package/dist/generated/src/models/TallyStatusResponse.d.ts +116 -0
- package/dist/generated/src/models/TallyStatusResponse.js +76 -0
- package/dist/generated/src/models/TallyVoucherPayload.d.ts +98 -0
- package/dist/generated/src/models/TallyVoucherPayload.js +76 -0
- package/dist/generated/src/models/TallyVoucherResponse.d.ts +122 -0
- package/dist/generated/src/models/TallyVoucherResponse.js +78 -0
- package/dist/generated/src/models/TrackShipmentRequest.d.ts +60 -0
- package/dist/generated/src/models/TrackShipmentRequest.js +70 -0
- package/dist/generated/src/models/TriggerTypeResponse.d.ts +12 -0
- package/dist/generated/src/models/TriggerTypeResponse.js +4 -0
- package/dist/generated/src/models/UpdateApiKeyChannelAccountsRequest.d.ts +33 -0
- package/dist/generated/src/models/UpdateApiKeyChannelAccountsRequest.js +49 -0
- package/dist/generated/src/models/UpdateApiKeySecurityRequest.d.ts +2 -2
- package/dist/generated/src/models/UpdateApiKeySecurityRequest.js +6 -2
- package/dist/generated/src/models/UpdateCdpSettingsRequest.d.ts +44 -0
- package/dist/generated/src/models/UpdateCdpSettingsRequest.js +52 -0
- package/dist/generated/src/models/UpdateEmailPreferencesRequest.d.ts +1 -1
- package/dist/generated/src/models/UpdateEmailPreferencesRequest.js +3 -1
- package/dist/generated/src/models/UpdateHelpdeskSettingsRequest.d.ts +38 -0
- package/dist/generated/src/models/UpdateHelpdeskSettingsRequest.js +50 -0
- package/dist/generated/src/models/UpdateHubSpotSettingsRequest.d.ts +32 -0
- package/dist/generated/src/models/UpdateHubSpotSettingsRequest.js +48 -0
- package/dist/generated/src/models/UpdateNoCodeImportRequest.d.ts +77 -0
- package/dist/generated/src/models/UpdateNoCodeImportRequest.js +73 -0
- package/dist/generated/src/models/UpdateNotificationPreferenceRequest.d.ts +5 -5
- package/dist/generated/src/models/UpdateNotificationPreferenceRequest.js +15 -5
- package/dist/generated/src/models/UpdateSalesforceSettingsRequest.d.ts +53 -0
- package/dist/generated/src/models/UpdateSalesforceSettingsRequest.js +61 -0
- package/dist/generated/src/models/UpdateSecurityPrefsRequest.d.ts +1 -1
- package/dist/generated/src/models/UpdateSecurityPrefsRequest.js +3 -1
- package/dist/generated/src/models/UpdateWebhookEndpointRequest.d.ts +6 -0
- package/dist/generated/src/models/UpdateWebhookEndpointRequest.js +6 -0
- package/dist/generated/src/models/UpdateWebhookTriggerRequest.d.ts +1 -1
- package/dist/generated/src/models/UpdateZohoBooksSettingsRequest.d.ts +32 -0
- package/dist/generated/src/models/UpdateZohoBooksSettingsRequest.js +50 -0
- package/dist/generated/src/models/UpdateZohoCrmSettingsRequest.d.ts +53 -0
- package/dist/generated/src/models/UpdateZohoCrmSettingsRequest.js +61 -0
- package/dist/generated/src/models/UpsertChatOpsRouteRequest.d.ts +50 -0
- package/dist/generated/src/models/UpsertChatOpsRouteRequest.js +54 -0
- package/dist/generated/src/models/UpsertListMappingRequest.d.ts +44 -0
- package/dist/generated/src/models/UpsertListMappingRequest.js +52 -0
- package/dist/generated/src/models/UpsertNoCodeImportRequest.d.ts +89 -0
- package/dist/generated/src/models/UpsertNoCodeImportRequest.js +85 -0
- package/dist/generated/src/models/UpsertNoCodeResultSinkRequest.d.ts +44 -0
- package/dist/generated/src/models/UpsertNoCodeResultSinkRequest.js +54 -0
- package/dist/generated/src/models/UpsertSsoConnectionRequest.d.ts +134 -0
- package/dist/generated/src/models/UpsertSsoConnectionRequest.js +82 -0
- package/dist/generated/src/models/WabaAccountResponse.d.ts +6 -0
- package/dist/generated/src/models/WabaAccountResponse.js +2 -0
- package/dist/generated/src/models/WebhookDeliveryResponse.d.ts +6 -0
- package/dist/generated/src/models/WebhookDeliveryResponse.js +6 -0
- package/dist/generated/src/models/WebhookEndpointResponse.d.ts +20 -0
- package/dist/generated/src/models/WebhookEndpointResponse.js +16 -1
- package/dist/generated/src/models/WebhookTriggerResponse.d.ts +1 -0
- package/dist/generated/src/models/WebhookTriggerResponse.js +2 -1
- package/dist/generated/src/models/WhatsAppTemplateResponse.d.ts +30 -0
- package/dist/generated/src/models/WhatsAppTemplateResponse.js +10 -0
- package/dist/generated/src/models/ZohoAuthorizeUrlResponse.d.ts +56 -0
- package/dist/generated/src/models/ZohoAuthorizeUrlResponse.js +56 -0
- package/dist/generated/src/models/ZohoBooksInvoiceResponse.d.ts +98 -0
- package/dist/generated/src/models/ZohoBooksInvoiceResponse.js +70 -0
- package/dist/generated/src/models/ZohoBooksOrganizationResponse.d.ts +50 -0
- package/dist/generated/src/models/ZohoBooksOrganizationResponse.js +54 -0
- package/dist/generated/src/models/ZohoBooksRunResponse.d.ts +92 -0
- package/dist/generated/src/models/ZohoBooksRunResponse.js +68 -0
- package/dist/generated/src/models/ZohoBooksStatusResponse.d.ts +134 -0
- package/dist/generated/src/models/ZohoBooksStatusResponse.js +82 -0
- package/dist/generated/src/models/ZohoCrmDealResponse.d.ts +80 -0
- package/dist/generated/src/models/ZohoCrmDealResponse.js +64 -0
- package/dist/generated/src/models/ZohoCrmRunResponse.d.ts +98 -0
- package/dist/generated/src/models/ZohoCrmRunResponse.js +70 -0
- package/dist/generated/src/models/ZohoCrmStatusResponse.d.ts +158 -0
- package/dist/generated/src/models/ZohoCrmStatusResponse.js +90 -0
- package/dist/generated/src/models/index.d.ts +121 -0
- package/dist/generated/src/models/index.js +121 -0
- package/package.json +1 -1
|
@@ -60,7 +60,7 @@ export interface UpsertAuthenticationRequest {
|
|
|
60
60
|
*/
|
|
61
61
|
export interface TemplateApiInterface {
|
|
62
62
|
/**
|
|
63
|
-
* Writes < 300ms. submit=false keeps it as DRAFT; otherwise it is submitted to Meta (PENDING). Requires API-key scope: templates:write.
|
|
63
|
+
* Writes < 300ms. submit=false keeps it as DRAFT; otherwise it is submitted to Meta (PENDING). If the Meta submit fails the request still succeeds (201): the template is kept as DRAFT and rejectionReason carries Meta\'s error (code + details). Check status + rejectionReason, not the HTTP status. Requires API-key scope: templates:write.
|
|
64
64
|
* @summary Create a WhatsApp message template
|
|
65
65
|
* @param {WhatsAppTemplateCreateRequest} whatsAppTemplateCreateRequest
|
|
66
66
|
* @param {string} [xIdempotencyKey] Makes this call replayable instead of re-executed on retry (AS-TGT-001). The first 2xx response is cached per (tenant, key) for 24h and replayed verbatim, with `X-Idempotent-Replay` set. Reusing a key with a different body is refused with 409 IDEMPOTENCY_KEY_REUSED. The SDKs send one automatically on mutating calls.
|
|
@@ -70,7 +70,7 @@ export interface TemplateApiInterface {
|
|
|
70
70
|
*/
|
|
71
71
|
createWhatsappTemplatesRaw(requestParameters: CreateWhatsappTemplatesRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<WhatsAppTemplateResponse>>;
|
|
72
72
|
/**
|
|
73
|
-
* Writes < 300ms. submit=false keeps it as DRAFT; otherwise it is submitted to Meta (PENDING). Requires API-key scope: templates:write.
|
|
73
|
+
* Writes < 300ms. submit=false keeps it as DRAFT; otherwise it is submitted to Meta (PENDING). If the Meta submit fails the request still succeeds (201): the template is kept as DRAFT and rejectionReason carries Meta\'s error (code + details). Check status + rejectionReason, not the HTTP status. Requires API-key scope: templates:write.
|
|
74
74
|
* Create a WhatsApp message template
|
|
75
75
|
*/
|
|
76
76
|
createWhatsappTemplates(requestParameters: CreateWhatsappTemplatesRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<WhatsAppTemplateResponse>;
|
|
@@ -169,7 +169,7 @@ export interface TemplateApiInterface {
|
|
|
169
169
|
*/
|
|
170
170
|
syncWhatsapp(requestParameters: SyncWhatsappRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<TemplateSyncResponse>;
|
|
171
171
|
/**
|
|
172
|
-
* Writes < 300ms. Resets the template to PENDING. Requires API-key scope: templates:write.
|
|
172
|
+
* Writes < 300ms. Resets the template to PENDING. If the Meta submit fails the request still succeeds (200): the template lands as DRAFT and rejectionReason carries Meta\'s error (code + details). Requires API-key scope: templates:write.
|
|
173
173
|
* @summary Edit a template\'s content and re-submit it to Meta
|
|
174
174
|
* @param {string} templateId
|
|
175
175
|
* @param {WhatsAppTemplateUpdateRequest} whatsAppTemplateUpdateRequest
|
|
@@ -180,7 +180,7 @@ export interface TemplateApiInterface {
|
|
|
180
180
|
*/
|
|
181
181
|
updateWhatsappTemplatesRaw(requestParameters: UpdateWhatsappTemplatesRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<WhatsAppTemplateResponse>>;
|
|
182
182
|
/**
|
|
183
|
-
* Writes < 300ms. Resets the template to PENDING. Requires API-key scope: templates:write.
|
|
183
|
+
* Writes < 300ms. Resets the template to PENDING. If the Meta submit fails the request still succeeds (200): the template lands as DRAFT and rejectionReason carries Meta\'s error (code + details). Requires API-key scope: templates:write.
|
|
184
184
|
* Edit a template\'s content and re-submit it to Meta
|
|
185
185
|
*/
|
|
186
186
|
updateWhatsappTemplates(requestParameters: UpdateWhatsappTemplatesRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<WhatsAppTemplateResponse>;
|
|
@@ -205,12 +205,12 @@ export interface TemplateApiInterface {
|
|
|
205
205
|
*/
|
|
206
206
|
export declare class TemplateApi extends runtime.BaseAPI implements TemplateApiInterface {
|
|
207
207
|
/**
|
|
208
|
-
* Writes < 300ms. submit=false keeps it as DRAFT; otherwise it is submitted to Meta (PENDING). Requires API-key scope: templates:write.
|
|
208
|
+
* Writes < 300ms. submit=false keeps it as DRAFT; otherwise it is submitted to Meta (PENDING). If the Meta submit fails the request still succeeds (201): the template is kept as DRAFT and rejectionReason carries Meta\'s error (code + details). Check status + rejectionReason, not the HTTP status. Requires API-key scope: templates:write.
|
|
209
209
|
* Create a WhatsApp message template
|
|
210
210
|
*/
|
|
211
211
|
createWhatsappTemplatesRaw(requestParameters: CreateWhatsappTemplatesRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<WhatsAppTemplateResponse>>;
|
|
212
212
|
/**
|
|
213
|
-
* Writes < 300ms. submit=false keeps it as DRAFT; otherwise it is submitted to Meta (PENDING). Requires API-key scope: templates:write.
|
|
213
|
+
* Writes < 300ms. submit=false keeps it as DRAFT; otherwise it is submitted to Meta (PENDING). If the Meta submit fails the request still succeeds (201): the template is kept as DRAFT and rejectionReason carries Meta\'s error (code + details). Check status + rejectionReason, not the HTTP status. Requires API-key scope: templates:write.
|
|
214
214
|
* Create a WhatsApp message template
|
|
215
215
|
*/
|
|
216
216
|
createWhatsappTemplates(requestParameters: CreateWhatsappTemplatesRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<WhatsAppTemplateResponse>;
|
|
@@ -275,12 +275,12 @@ export declare class TemplateApi extends runtime.BaseAPI implements TemplateApiI
|
|
|
275
275
|
*/
|
|
276
276
|
syncWhatsapp(requestParameters?: SyncWhatsappRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<TemplateSyncResponse>;
|
|
277
277
|
/**
|
|
278
|
-
* Writes < 300ms. Resets the template to PENDING. Requires API-key scope: templates:write.
|
|
278
|
+
* Writes < 300ms. Resets the template to PENDING. If the Meta submit fails the request still succeeds (200): the template lands as DRAFT and rejectionReason carries Meta\'s error (code + details). Requires API-key scope: templates:write.
|
|
279
279
|
* Edit a template\'s content and re-submit it to Meta
|
|
280
280
|
*/
|
|
281
281
|
updateWhatsappTemplatesRaw(requestParameters: UpdateWhatsappTemplatesRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<WhatsAppTemplateResponse>>;
|
|
282
282
|
/**
|
|
283
|
-
* Writes < 300ms. Resets the template to PENDING. Requires API-key scope: templates:write.
|
|
283
|
+
* Writes < 300ms. Resets the template to PENDING. If the Meta submit fails the request still succeeds (200): the template lands as DRAFT and rejectionReason carries Meta\'s error (code + details). Requires API-key scope: templates:write.
|
|
284
284
|
* Edit a template\'s content and re-submit it to Meta
|
|
285
285
|
*/
|
|
286
286
|
updateWhatsappTemplates(requestParameters: UpdateWhatsappTemplatesRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<WhatsAppTemplateResponse>;
|
|
@@ -54,7 +54,7 @@ const index_1 = require("../models/index");
|
|
|
54
54
|
*/
|
|
55
55
|
class TemplateApi extends runtime.BaseAPI {
|
|
56
56
|
/**
|
|
57
|
-
* Writes < 300ms. submit=false keeps it as DRAFT; otherwise it is submitted to Meta (PENDING). Requires API-key scope: templates:write.
|
|
57
|
+
* Writes < 300ms. submit=false keeps it as DRAFT; otherwise it is submitted to Meta (PENDING). If the Meta submit fails the request still succeeds (201): the template is kept as DRAFT and rejectionReason carries Meta\'s error (code + details). Check status + rejectionReason, not the HTTP status. Requires API-key scope: templates:write.
|
|
58
58
|
* Create a WhatsApp message template
|
|
59
59
|
*/
|
|
60
60
|
async createWhatsappTemplatesRaw(requestParameters, initOverrides) {
|
|
@@ -88,7 +88,7 @@ class TemplateApi extends runtime.BaseAPI {
|
|
|
88
88
|
return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.WhatsAppTemplateResponseFromJSON)(jsonValue));
|
|
89
89
|
}
|
|
90
90
|
/**
|
|
91
|
-
* Writes < 300ms. submit=false keeps it as DRAFT; otherwise it is submitted to Meta (PENDING). Requires API-key scope: templates:write.
|
|
91
|
+
* Writes < 300ms. submit=false keeps it as DRAFT; otherwise it is submitted to Meta (PENDING). If the Meta submit fails the request still succeeds (201): the template is kept as DRAFT and rejectionReason carries Meta\'s error (code + details). Check status + rejectionReason, not the HTTP status. Requires API-key scope: templates:write.
|
|
92
92
|
* Create a WhatsApp message template
|
|
93
93
|
*/
|
|
94
94
|
async createWhatsappTemplates(requestParameters, initOverrides) {
|
|
@@ -352,7 +352,7 @@ class TemplateApi extends runtime.BaseAPI {
|
|
|
352
352
|
return await response.value();
|
|
353
353
|
}
|
|
354
354
|
/**
|
|
355
|
-
* Writes < 300ms. Resets the template to PENDING. Requires API-key scope: templates:write.
|
|
355
|
+
* Writes < 300ms. Resets the template to PENDING. If the Meta submit fails the request still succeeds (200): the template lands as DRAFT and rejectionReason carries Meta\'s error (code + details). Requires API-key scope: templates:write.
|
|
356
356
|
* Edit a template\'s content and re-submit it to Meta
|
|
357
357
|
*/
|
|
358
358
|
async updateWhatsappTemplatesRaw(requestParameters, initOverrides) {
|
|
@@ -390,7 +390,7 @@ class TemplateApi extends runtime.BaseAPI {
|
|
|
390
390
|
return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.WhatsAppTemplateResponseFromJSON)(jsonValue));
|
|
391
391
|
}
|
|
392
392
|
/**
|
|
393
|
-
* Writes < 300ms. Resets the template to PENDING. Requires API-key scope: templates:write.
|
|
393
|
+
* Writes < 300ms. Resets the template to PENDING. If the Meta submit fails the request still succeeds (200): the template lands as DRAFT and rejectionReason carries Meta\'s error (code + details). Requires API-key scope: templates:write.
|
|
394
394
|
* Edit a template\'s content and re-submit it to Meta
|
|
395
395
|
*/
|
|
396
396
|
async updateWhatsappTemplates(requestParameters, initOverrides) {
|
|
@@ -23,6 +23,10 @@ export interface ConnectWabaOperationRequest {
|
|
|
23
23
|
connectWabaRequest: ConnectWabaRequest;
|
|
24
24
|
xIdempotencyKey?: string;
|
|
25
25
|
}
|
|
26
|
+
export interface DeleteWabaRequest {
|
|
27
|
+
wabaAccountId: string;
|
|
28
|
+
xIdempotencyKey?: string;
|
|
29
|
+
}
|
|
26
30
|
export interface DisconnectWabaRequest {
|
|
27
31
|
wabaAccountId: string;
|
|
28
32
|
xIdempotencyKey?: string;
|
|
@@ -88,6 +92,21 @@ export interface WabaApiInterface {
|
|
|
88
92
|
* Connect a WABA via Meta Embedded Signup
|
|
89
93
|
*/
|
|
90
94
|
connectWaba(requestParameters: ConnectWabaOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<WabaAccountResponse>;
|
|
95
|
+
/**
|
|
96
|
+
* Writes < 300ms. Revokes the Meta grant best-effort, then deletes the account, its phone numbers and its local templates. Nothing is deleted at Meta: the WABA, its numbers and its templates stay in WhatsApp Manager. Conversations that reference the account keep their history; they simply have no sender until a WABA is connected again. A second call is a 404. Not reachable with an ask_live_* API key - needs a signed-in user\'s token.
|
|
97
|
+
* @summary Remove a WABA from Augstash
|
|
98
|
+
* @param {string} wabaAccountId
|
|
99
|
+
* @param {string} [xIdempotencyKey] Makes this call replayable instead of re-executed on retry (AS-TGT-001). The first 2xx response is cached per (tenant, key) for 24h and replayed verbatim, with `X-Idempotent-Replay` set. Reusing a key with a different body is refused with 409 IDEMPOTENCY_KEY_REUSED. The SDKs send one automatically on mutating calls.
|
|
100
|
+
* @param {*} [options] Override http request option.
|
|
101
|
+
* @throws {RequiredError}
|
|
102
|
+
* @memberof WabaApiInterface
|
|
103
|
+
*/
|
|
104
|
+
deleteWabaRaw(requestParameters: DeleteWabaRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
|
|
105
|
+
/**
|
|
106
|
+
* Writes < 300ms. Revokes the Meta grant best-effort, then deletes the account, its phone numbers and its local templates. Nothing is deleted at Meta: the WABA, its numbers and its templates stay in WhatsApp Manager. Conversations that reference the account keep their history; they simply have no sender until a WABA is connected again. A second call is a 404. Not reachable with an ask_live_* API key - needs a signed-in user\'s token.
|
|
107
|
+
* Remove a WABA from Augstash
|
|
108
|
+
*/
|
|
109
|
+
deleteWaba(requestParameters: DeleteWabaRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
91
110
|
/**
|
|
92
111
|
* Writes < 300ms. Not reachable with an ask_live_* API key - needs a signed-in user\'s token.
|
|
93
112
|
* @summary Disconnect a WABA
|
|
@@ -180,6 +199,16 @@ export declare class WabaApi extends runtime.BaseAPI implements WabaApiInterface
|
|
|
180
199
|
* Connect a WABA via Meta Embedded Signup
|
|
181
200
|
*/
|
|
182
201
|
connectWaba(requestParameters: ConnectWabaOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<WabaAccountResponse>;
|
|
202
|
+
/**
|
|
203
|
+
* Writes < 300ms. Revokes the Meta grant best-effort, then deletes the account, its phone numbers and its local templates. Nothing is deleted at Meta: the WABA, its numbers and its templates stay in WhatsApp Manager. Conversations that reference the account keep their history; they simply have no sender until a WABA is connected again. A second call is a 404. Not reachable with an ask_live_* API key - needs a signed-in user\'s token.
|
|
204
|
+
* Remove a WABA from Augstash
|
|
205
|
+
*/
|
|
206
|
+
deleteWabaRaw(requestParameters: DeleteWabaRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
|
|
207
|
+
/**
|
|
208
|
+
* Writes < 300ms. Revokes the Meta grant best-effort, then deletes the account, its phone numbers and its local templates. Nothing is deleted at Meta: the WABA, its numbers and its templates stay in WhatsApp Manager. Conversations that reference the account keep their history; they simply have no sender until a WABA is connected again. A second call is a 404. Not reachable with an ask_live_* API key - needs a signed-in user\'s token.
|
|
209
|
+
* Remove a WABA from Augstash
|
|
210
|
+
*/
|
|
211
|
+
deleteWaba(requestParameters: DeleteWabaRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
183
212
|
/**
|
|
184
213
|
* Writes < 300ms. Not reachable with an ask_live_* API key - needs a signed-in user\'s token.
|
|
185
214
|
* Disconnect a WABA
|
|
@@ -179,6 +179,46 @@ class WabaApi extends runtime.BaseAPI {
|
|
|
179
179
|
const response = await this.connectWabaRaw(requestParameters, initOverrides);
|
|
180
180
|
return await response.value();
|
|
181
181
|
}
|
|
182
|
+
/**
|
|
183
|
+
* Writes < 300ms. Revokes the Meta grant best-effort, then deletes the account, its phone numbers and its local templates. Nothing is deleted at Meta: the WABA, its numbers and its templates stay in WhatsApp Manager. Conversations that reference the account keep their history; they simply have no sender until a WABA is connected again. A second call is a 404. Not reachable with an ask_live_* API key - needs a signed-in user\'s token.
|
|
184
|
+
* Remove a WABA from Augstash
|
|
185
|
+
*/
|
|
186
|
+
async deleteWabaRaw(requestParameters, initOverrides) {
|
|
187
|
+
if (requestParameters['wabaAccountId'] == null) {
|
|
188
|
+
throw new runtime.RequiredError('wabaAccountId', 'Required parameter "wabaAccountId" was null or undefined when calling deleteWaba().');
|
|
189
|
+
}
|
|
190
|
+
const queryParameters = {};
|
|
191
|
+
const headerParameters = {};
|
|
192
|
+
if (requestParameters['xIdempotencyKey'] != null) {
|
|
193
|
+
headerParameters['X-Idempotency-Key'] = String(requestParameters['xIdempotencyKey']);
|
|
194
|
+
}
|
|
195
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
196
|
+
headerParameters["X-Api-Key"] = await this.configuration.apiKey("X-Api-Key"); // ApiKeyAuth authentication
|
|
197
|
+
}
|
|
198
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
199
|
+
const token = this.configuration.accessToken;
|
|
200
|
+
const tokenString = await token("BearerAuth", []);
|
|
201
|
+
if (tokenString) {
|
|
202
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
203
|
+
}
|
|
204
|
+
}
|
|
205
|
+
let urlPath = `/api/v1/waba/{wabaAccountId}`;
|
|
206
|
+
urlPath = urlPath.replace(`{${"wabaAccountId"}}`, encodeURIComponent(String(requestParameters['wabaAccountId'])));
|
|
207
|
+
const response = await this.request({
|
|
208
|
+
path: urlPath,
|
|
209
|
+
method: 'DELETE',
|
|
210
|
+
headers: headerParameters,
|
|
211
|
+
query: queryParameters,
|
|
212
|
+
}, initOverrides);
|
|
213
|
+
return new runtime.VoidApiResponse(response);
|
|
214
|
+
}
|
|
215
|
+
/**
|
|
216
|
+
* Writes < 300ms. Revokes the Meta grant best-effort, then deletes the account, its phone numbers and its local templates. Nothing is deleted at Meta: the WABA, its numbers and its templates stay in WhatsApp Manager. Conversations that reference the account keep their history; they simply have no sender until a WABA is connected again. A second call is a 404. Not reachable with an ask_live_* API key - needs a signed-in user\'s token.
|
|
217
|
+
* Remove a WABA from Augstash
|
|
218
|
+
*/
|
|
219
|
+
async deleteWaba(requestParameters, initOverrides) {
|
|
220
|
+
await this.deleteWabaRaw(requestParameters, initOverrides);
|
|
221
|
+
}
|
|
182
222
|
/**
|
|
183
223
|
* Writes < 300ms. Not reachable with an ask_live_* API key - needs a signed-in user\'s token.
|
|
184
224
|
* Disconnect a WABA
|
|
@@ -16,7 +16,7 @@ export interface AddWabaRequest {
|
|
|
16
16
|
addPhoneNumberRequest: AddPhoneNumberRequest;
|
|
17
17
|
xIdempotencyKey?: string;
|
|
18
18
|
}
|
|
19
|
-
export interface
|
|
19
|
+
export interface DeleteWabaPhonenumbersRequest {
|
|
20
20
|
phoneId: string;
|
|
21
21
|
xIdempotencyKey?: string;
|
|
22
22
|
}
|
|
@@ -74,12 +74,12 @@ export interface WabaPhoneNumberApiInterface {
|
|
|
74
74
|
* @throws {RequiredError}
|
|
75
75
|
* @memberof WabaPhoneNumberApiInterface
|
|
76
76
|
*/
|
|
77
|
-
|
|
77
|
+
deleteWabaPhonenumbersRaw(requestParameters: DeleteWabaPhonenumbersRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
|
|
78
78
|
/**
|
|
79
79
|
* Writes < 300ms. Deregisters the number from Cloud API and removes it from Augstash. It is NOT deleted from the WhatsApp Business Account — Meta has no delete API for a business phone number (\"You can\'t delete a business phone number via the API\"); a portfolio admin finishes that in WhatsApp Manager. Removal always succeeds: a deregister Meta refuses is logged, never a reason to leave the number stuck in Augstash. Not reachable with an ask_live_* API key - needs a signed-in user\'s token.
|
|
80
80
|
* Remove a phone number from Augstash
|
|
81
81
|
*/
|
|
82
|
-
|
|
82
|
+
deleteWabaPhonenumbers(requestParameters: DeleteWabaPhonenumbersRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
83
83
|
/**
|
|
84
84
|
* Writes < 300ms. Not reachable with an ask_live_* API key - needs a signed-in user\'s token.
|
|
85
85
|
* @summary Deregister a phone number from Cloud API
|
|
@@ -176,12 +176,12 @@ export declare class WabaPhoneNumberApi extends runtime.BaseAPI implements WabaP
|
|
|
176
176
|
* Writes < 300ms. Deregisters the number from Cloud API and removes it from Augstash. It is NOT deleted from the WhatsApp Business Account — Meta has no delete API for a business phone number (\"You can\'t delete a business phone number via the API\"); a portfolio admin finishes that in WhatsApp Manager. Removal always succeeds: a deregister Meta refuses is logged, never a reason to leave the number stuck in Augstash. Not reachable with an ask_live_* API key - needs a signed-in user\'s token.
|
|
177
177
|
* Remove a phone number from Augstash
|
|
178
178
|
*/
|
|
179
|
-
|
|
179
|
+
deleteWabaPhonenumbersRaw(requestParameters: DeleteWabaPhonenumbersRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
|
|
180
180
|
/**
|
|
181
181
|
* Writes < 300ms. Deregisters the number from Cloud API and removes it from Augstash. It is NOT deleted from the WhatsApp Business Account — Meta has no delete API for a business phone number (\"You can\'t delete a business phone number via the API\"); a portfolio admin finishes that in WhatsApp Manager. Removal always succeeds: a deregister Meta refuses is logged, never a reason to leave the number stuck in Augstash. Not reachable with an ask_live_* API key - needs a signed-in user\'s token.
|
|
182
182
|
* Remove a phone number from Augstash
|
|
183
183
|
*/
|
|
184
|
-
|
|
184
|
+
deleteWabaPhonenumbers(requestParameters: DeleteWabaPhonenumbersRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
185
185
|
/**
|
|
186
186
|
* Writes < 300ms. Not reachable with an ask_live_* API key - needs a signed-in user\'s token.
|
|
187
187
|
* Deregister a phone number from Cloud API
|
|
@@ -103,9 +103,9 @@ class WabaPhoneNumberApi extends runtime.BaseAPI {
|
|
|
103
103
|
* Writes < 300ms. Deregisters the number from Cloud API and removes it from Augstash. It is NOT deleted from the WhatsApp Business Account — Meta has no delete API for a business phone number (\"You can\'t delete a business phone number via the API\"); a portfolio admin finishes that in WhatsApp Manager. Removal always succeeds: a deregister Meta refuses is logged, never a reason to leave the number stuck in Augstash. Not reachable with an ask_live_* API key - needs a signed-in user\'s token.
|
|
104
104
|
* Remove a phone number from Augstash
|
|
105
105
|
*/
|
|
106
|
-
async
|
|
106
|
+
async deleteWabaPhonenumbersRaw(requestParameters, initOverrides) {
|
|
107
107
|
if (requestParameters['phoneId'] == null) {
|
|
108
|
-
throw new runtime.RequiredError('phoneId', 'Required parameter "phoneId" was null or undefined when calling
|
|
108
|
+
throw new runtime.RequiredError('phoneId', 'Required parameter "phoneId" was null or undefined when calling deleteWabaPhonenumbers().');
|
|
109
109
|
}
|
|
110
110
|
const queryParameters = {};
|
|
111
111
|
const headerParameters = {};
|
|
@@ -136,8 +136,8 @@ class WabaPhoneNumberApi extends runtime.BaseAPI {
|
|
|
136
136
|
* Writes < 300ms. Deregisters the number from Cloud API and removes it from Augstash. It is NOT deleted from the WhatsApp Business Account — Meta has no delete API for a business phone number (\"You can\'t delete a business phone number via the API\"); a portfolio admin finishes that in WhatsApp Manager. Removal always succeeds: a deregister Meta refuses is logged, never a reason to leave the number stuck in Augstash. Not reachable with an ask_live_* API key - needs a signed-in user\'s token.
|
|
137
137
|
* Remove a phone number from Augstash
|
|
138
138
|
*/
|
|
139
|
-
async
|
|
140
|
-
await this.
|
|
139
|
+
async deleteWabaPhonenumbers(requestParameters, initOverrides) {
|
|
140
|
+
await this.deleteWabaPhonenumbersRaw(requestParameters, initOverrides);
|
|
141
141
|
}
|
|
142
142
|
/**
|
|
143
143
|
* Writes < 300ms. Not reachable with an ask_live_* API key - needs a signed-in user\'s token.
|
|
@@ -0,0 +1,182 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Augstash Public API
|
|
3
|
+
* 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.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: v1
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import * as runtime from '../runtime';
|
|
13
|
+
import type { PageResponseZohoBooksInvoiceResponse, Pageable, UpdateZohoBooksSettingsRequest, ZohoAuthorizeUrlResponse, ZohoBooksOrganizationResponse, ZohoBooksRunResponse, ZohoBooksStatusResponse } from '../models/index';
|
|
14
|
+
export interface AuthorizeUrlIntegrationsZohobooksRequest {
|
|
15
|
+
dataCenter?: string;
|
|
16
|
+
}
|
|
17
|
+
export interface InvoicesIntegrationsRequest {
|
|
18
|
+
pageable: Pageable;
|
|
19
|
+
}
|
|
20
|
+
export interface SyncNowIntegrationsZohobooksRequest {
|
|
21
|
+
xIdempotencyKey?: string;
|
|
22
|
+
}
|
|
23
|
+
export interface UpdateSettingsIntegrationsZohobooksRequest {
|
|
24
|
+
updateZohoBooksSettingsRequest: UpdateZohoBooksSettingsRequest;
|
|
25
|
+
xIdempotencyKey?: string;
|
|
26
|
+
}
|
|
27
|
+
/**
|
|
28
|
+
* ZohoBooksApi - interface
|
|
29
|
+
*
|
|
30
|
+
* @export
|
|
31
|
+
* @interface ZohoBooksApiInterface
|
|
32
|
+
*/
|
|
33
|
+
export interface ZohoBooksApiInterface {
|
|
34
|
+
/**
|
|
35
|
+
* As the Zoho CRM authorize URL, with the Books scope set (read-only: customers, invoices, payments, settings). The first organisation the grant can see becomes the connection\'s account; choose another on /settings. Makes no Zoho call. Writes < 300ms. Requires API-key scope: integrations:write.
|
|
36
|
+
* @summary Build the Zoho consent URL that starts a Zoho Books connect
|
|
37
|
+
* @param {string} [dataCenter]
|
|
38
|
+
* @param {*} [options] Override http request option.
|
|
39
|
+
* @throws {RequiredError}
|
|
40
|
+
* @memberof ZohoBooksApiInterface
|
|
41
|
+
*/
|
|
42
|
+
authorizeUrlIntegrationsZohobooksRaw(requestParameters: AuthorizeUrlIntegrationsZohobooksRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ZohoAuthorizeUrlResponse>>;
|
|
43
|
+
/**
|
|
44
|
+
* As the Zoho CRM authorize URL, with the Books scope set (read-only: customers, invoices, payments, settings). The first organisation the grant can see becomes the connection\'s account; choose another on /settings. Makes no Zoho call. Writes < 300ms. Requires API-key scope: integrations:write.
|
|
45
|
+
* Build the Zoho consent URL that starts a Zoho Books connect
|
|
46
|
+
*/
|
|
47
|
+
authorizeUrlIntegrationsZohobooks(requestParameters: AuthorizeUrlIntegrationsZohobooksRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ZohoAuthorizeUrlResponse>;
|
|
48
|
+
/**
|
|
49
|
+
* A read model of the chosen organisation\'s invoices. The three *AnnouncedAt fields say which accounting moments (invoice.issued, invoice.paid, invoice.overdue) have reached automations — the honest answer to \"why did nobody get a reminder\": a customer with no phone and no email in the books is never announced. Paginated, default 20 and max 100. Reads < 300ms. Requires API-key scope: integrations:read.
|
|
50
|
+
* @summary The invoices this tenant\'s syncs have observed, newest first
|
|
51
|
+
* @param {Pageable} pageable
|
|
52
|
+
* @param {*} [options] Override http request option.
|
|
53
|
+
* @throws {RequiredError}
|
|
54
|
+
* @memberof ZohoBooksApiInterface
|
|
55
|
+
*/
|
|
56
|
+
invoicesIntegrationsRaw(requestParameters: InvoicesIntegrationsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<PageResponseZohoBooksInvoiceResponse>>;
|
|
57
|
+
/**
|
|
58
|
+
* A read model of the chosen organisation\'s invoices. The three *AnnouncedAt fields say which accounting moments (invoice.issued, invoice.paid, invoice.overdue) have reached automations — the honest answer to \"why did nobody get a reminder\": a customer with no phone and no email in the books is never announced. Paginated, default 20 and max 100. Reads < 300ms. Requires API-key scope: integrations:read.
|
|
59
|
+
* The invoices this tenant\'s syncs have observed, newest first
|
|
60
|
+
*/
|
|
61
|
+
invoicesIntegrations(requestParameters: InvoicesIntegrationsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<PageResponseZohoBooksInvoiceResponse>;
|
|
62
|
+
/**
|
|
63
|
+
* Live from Zoho, with selected on the one being synced. A grant that can see several organisations syncs exactly one; this is the list to choose from on /settings. Vendor round trip < 2s. Requires API-key scope: integrations:read.
|
|
64
|
+
* @summary The Zoho Books organisations this tenant\'s grant can see
|
|
65
|
+
* @param {*} [options] Override http request option.
|
|
66
|
+
* @throws {RequiredError}
|
|
67
|
+
* @memberof ZohoBooksApiInterface
|
|
68
|
+
*/
|
|
69
|
+
organizationsRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Array<ZohoBooksOrganizationResponse>>>;
|
|
70
|
+
/**
|
|
71
|
+
* Live from Zoho, with selected on the one being synced. A grant that can see several organisations syncs exactly one; this is the list to choose from on /settings. Vendor round trip < 2s. Requires API-key scope: integrations:read.
|
|
72
|
+
* The Zoho Books organisations this tenant\'s grant can see
|
|
73
|
+
*/
|
|
74
|
+
organizations(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<ZohoBooksOrganizationResponse>>;
|
|
75
|
+
/**
|
|
76
|
+
* Health comes from the shared connection substrate. organizationId is the ONE Books organisation being synced — a grant may see several; change it on /settings. documentsUnresolved counts invoices and payments whose customer has no phone and no email in the books, so nobody can be messaged about them. Never returns a token. Reads < 300ms. Requires API-key scope: integrations:read.
|
|
77
|
+
* @summary Whether this tenant has connected Zoho Books, and what the last sync did
|
|
78
|
+
* @param {*} [options] Override http request option.
|
|
79
|
+
* @throws {RequiredError}
|
|
80
|
+
* @memberof ZohoBooksApiInterface
|
|
81
|
+
*/
|
|
82
|
+
statusIntegrationsZohobooksRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ZohoBooksStatusResponse>>;
|
|
83
|
+
/**
|
|
84
|
+
* Health comes from the shared connection substrate. organizationId is the ONE Books organisation being synced — a grant may see several; change it on /settings. documentsUnresolved counts invoices and payments whose customer has no phone and no email in the books, so nobody can be messaged about them. Never returns a token. Reads < 300ms. Requires API-key scope: integrations:read.
|
|
85
|
+
* Whether this tenant has connected Zoho Books, and what the last sync did
|
|
86
|
+
*/
|
|
87
|
+
statusIntegrationsZohobooks(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ZohoBooksStatusResponse>;
|
|
88
|
+
/**
|
|
89
|
+
* Three phases in order: customers (into the directory, by phone then email, tagged zoho-books, NO consent recorded), invoices, payments. Each invoice moment — invoice.issued, invoice.overdue, invoice.paid — and each new payment is announced ONCE to automations waiting on ACCOUNTING_EVENT; eventsAnnounced counts them. Each phase is independently fallible; a spent daily allowance yields PARTIAL — do not prompt a reconnect for it. Bounded per run. Runs synchronously: < 60s. Requires API-key scope: integrations:write.
|
|
90
|
+
* @summary Run this tenant\'s Zoho Books sync now
|
|
91
|
+
* @param {string} [xIdempotencyKey] Makes this call replayable instead of re-executed on retry (AS-TGT-001). The first 2xx response is cached per (tenant, key) for 24h and replayed verbatim, with `X-Idempotent-Replay` set. Reusing a key with a different body is refused with 409 IDEMPOTENCY_KEY_REUSED. The SDKs send one automatically on mutating calls.
|
|
92
|
+
* @param {*} [options] Override http request option.
|
|
93
|
+
* @throws {RequiredError}
|
|
94
|
+
* @memberof ZohoBooksApiInterface
|
|
95
|
+
*/
|
|
96
|
+
syncNowIntegrationsZohobooksRaw(requestParameters: SyncNowIntegrationsZohobooksRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ZohoBooksRunResponse>>;
|
|
97
|
+
/**
|
|
98
|
+
* Three phases in order: customers (into the directory, by phone then email, tagged zoho-books, NO consent recorded), invoices, payments. Each invoice moment — invoice.issued, invoice.overdue, invoice.paid — and each new payment is announced ONCE to automations waiting on ACCOUNTING_EVENT; eventsAnnounced counts them. Each phase is independently fallible; a spent daily allowance yields PARTIAL — do not prompt a reconnect for it. Bounded per run. Runs synchronously: < 60s. Requires API-key scope: integrations:write.
|
|
99
|
+
* Run this tenant\'s Zoho Books sync now
|
|
100
|
+
*/
|
|
101
|
+
syncNowIntegrationsZohobooks(requestParameters: SyncNowIntegrationsZohobooksRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ZohoBooksRunResponse>;
|
|
102
|
+
/**
|
|
103
|
+
* organizationId must be one GET /organizations lists. Switching resets the sync watermarks — they described a different set of books — and re-points the connection\'s account. Vendor round trip < 2s. Requires API-key scope: integrations:write.
|
|
104
|
+
* @summary Point the Zoho Books sync at another organisation
|
|
105
|
+
* @param {UpdateZohoBooksSettingsRequest} updateZohoBooksSettingsRequest
|
|
106
|
+
* @param {string} [xIdempotencyKey] Makes this call replayable instead of re-executed on retry (AS-TGT-001). The first 2xx response is cached per (tenant, key) for 24h and replayed verbatim, with `X-Idempotent-Replay` set. Reusing a key with a different body is refused with 409 IDEMPOTENCY_KEY_REUSED. The SDKs send one automatically on mutating calls.
|
|
107
|
+
* @param {*} [options] Override http request option.
|
|
108
|
+
* @throws {RequiredError}
|
|
109
|
+
* @memberof ZohoBooksApiInterface
|
|
110
|
+
*/
|
|
111
|
+
updateSettingsIntegrationsZohobooksRaw(requestParameters: UpdateSettingsIntegrationsZohobooksRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ZohoBooksStatusResponse>>;
|
|
112
|
+
/**
|
|
113
|
+
* organizationId must be one GET /organizations lists. Switching resets the sync watermarks — they described a different set of books — and re-points the connection\'s account. Vendor round trip < 2s. Requires API-key scope: integrations:write.
|
|
114
|
+
* Point the Zoho Books sync at another organisation
|
|
115
|
+
*/
|
|
116
|
+
updateSettingsIntegrationsZohobooks(requestParameters: UpdateSettingsIntegrationsZohobooksRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ZohoBooksStatusResponse>;
|
|
117
|
+
}
|
|
118
|
+
/**
|
|
119
|
+
*
|
|
120
|
+
*/
|
|
121
|
+
export declare class ZohoBooksApi extends runtime.BaseAPI implements ZohoBooksApiInterface {
|
|
122
|
+
/**
|
|
123
|
+
* As the Zoho CRM authorize URL, with the Books scope set (read-only: customers, invoices, payments, settings). The first organisation the grant can see becomes the connection\'s account; choose another on /settings. Makes no Zoho call. Writes < 300ms. Requires API-key scope: integrations:write.
|
|
124
|
+
* Build the Zoho consent URL that starts a Zoho Books connect
|
|
125
|
+
*/
|
|
126
|
+
authorizeUrlIntegrationsZohobooksRaw(requestParameters: AuthorizeUrlIntegrationsZohobooksRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ZohoAuthorizeUrlResponse>>;
|
|
127
|
+
/**
|
|
128
|
+
* As the Zoho CRM authorize URL, with the Books scope set (read-only: customers, invoices, payments, settings). The first organisation the grant can see becomes the connection\'s account; choose another on /settings. Makes no Zoho call. Writes < 300ms. Requires API-key scope: integrations:write.
|
|
129
|
+
* Build the Zoho consent URL that starts a Zoho Books connect
|
|
130
|
+
*/
|
|
131
|
+
authorizeUrlIntegrationsZohobooks(requestParameters?: AuthorizeUrlIntegrationsZohobooksRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ZohoAuthorizeUrlResponse>;
|
|
132
|
+
/**
|
|
133
|
+
* A read model of the chosen organisation\'s invoices. The three *AnnouncedAt fields say which accounting moments (invoice.issued, invoice.paid, invoice.overdue) have reached automations — the honest answer to \"why did nobody get a reminder\": a customer with no phone and no email in the books is never announced. Paginated, default 20 and max 100. Reads < 300ms. Requires API-key scope: integrations:read.
|
|
134
|
+
* The invoices this tenant\'s syncs have observed, newest first
|
|
135
|
+
*/
|
|
136
|
+
invoicesIntegrationsRaw(requestParameters: InvoicesIntegrationsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<PageResponseZohoBooksInvoiceResponse>>;
|
|
137
|
+
/**
|
|
138
|
+
* A read model of the chosen organisation\'s invoices. The three *AnnouncedAt fields say which accounting moments (invoice.issued, invoice.paid, invoice.overdue) have reached automations — the honest answer to \"why did nobody get a reminder\": a customer with no phone and no email in the books is never announced. Paginated, default 20 and max 100. Reads < 300ms. Requires API-key scope: integrations:read.
|
|
139
|
+
* The invoices this tenant\'s syncs have observed, newest first
|
|
140
|
+
*/
|
|
141
|
+
invoicesIntegrations(requestParameters: InvoicesIntegrationsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<PageResponseZohoBooksInvoiceResponse>;
|
|
142
|
+
/**
|
|
143
|
+
* Live from Zoho, with selected on the one being synced. A grant that can see several organisations syncs exactly one; this is the list to choose from on /settings. Vendor round trip < 2s. Requires API-key scope: integrations:read.
|
|
144
|
+
* The Zoho Books organisations this tenant\'s grant can see
|
|
145
|
+
*/
|
|
146
|
+
organizationsRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Array<ZohoBooksOrganizationResponse>>>;
|
|
147
|
+
/**
|
|
148
|
+
* Live from Zoho, with selected on the one being synced. A grant that can see several organisations syncs exactly one; this is the list to choose from on /settings. Vendor round trip < 2s. Requires API-key scope: integrations:read.
|
|
149
|
+
* The Zoho Books organisations this tenant\'s grant can see
|
|
150
|
+
*/
|
|
151
|
+
organizations(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<ZohoBooksOrganizationResponse>>;
|
|
152
|
+
/**
|
|
153
|
+
* Health comes from the shared connection substrate. organizationId is the ONE Books organisation being synced — a grant may see several; change it on /settings. documentsUnresolved counts invoices and payments whose customer has no phone and no email in the books, so nobody can be messaged about them. Never returns a token. Reads < 300ms. Requires API-key scope: integrations:read.
|
|
154
|
+
* Whether this tenant has connected Zoho Books, and what the last sync did
|
|
155
|
+
*/
|
|
156
|
+
statusIntegrationsZohobooksRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ZohoBooksStatusResponse>>;
|
|
157
|
+
/**
|
|
158
|
+
* Health comes from the shared connection substrate. organizationId is the ONE Books organisation being synced — a grant may see several; change it on /settings. documentsUnresolved counts invoices and payments whose customer has no phone and no email in the books, so nobody can be messaged about them. Never returns a token. Reads < 300ms. Requires API-key scope: integrations:read.
|
|
159
|
+
* Whether this tenant has connected Zoho Books, and what the last sync did
|
|
160
|
+
*/
|
|
161
|
+
statusIntegrationsZohobooks(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ZohoBooksStatusResponse>;
|
|
162
|
+
/**
|
|
163
|
+
* Three phases in order: customers (into the directory, by phone then email, tagged zoho-books, NO consent recorded), invoices, payments. Each invoice moment — invoice.issued, invoice.overdue, invoice.paid — and each new payment is announced ONCE to automations waiting on ACCOUNTING_EVENT; eventsAnnounced counts them. Each phase is independently fallible; a spent daily allowance yields PARTIAL — do not prompt a reconnect for it. Bounded per run. Runs synchronously: < 60s. Requires API-key scope: integrations:write.
|
|
164
|
+
* Run this tenant\'s Zoho Books sync now
|
|
165
|
+
*/
|
|
166
|
+
syncNowIntegrationsZohobooksRaw(requestParameters: SyncNowIntegrationsZohobooksRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ZohoBooksRunResponse>>;
|
|
167
|
+
/**
|
|
168
|
+
* Three phases in order: customers (into the directory, by phone then email, tagged zoho-books, NO consent recorded), invoices, payments. Each invoice moment — invoice.issued, invoice.overdue, invoice.paid — and each new payment is announced ONCE to automations waiting on ACCOUNTING_EVENT; eventsAnnounced counts them. Each phase is independently fallible; a spent daily allowance yields PARTIAL — do not prompt a reconnect for it. Bounded per run. Runs synchronously: < 60s. Requires API-key scope: integrations:write.
|
|
169
|
+
* Run this tenant\'s Zoho Books sync now
|
|
170
|
+
*/
|
|
171
|
+
syncNowIntegrationsZohobooks(requestParameters?: SyncNowIntegrationsZohobooksRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ZohoBooksRunResponse>;
|
|
172
|
+
/**
|
|
173
|
+
* organizationId must be one GET /organizations lists. Switching resets the sync watermarks — they described a different set of books — and re-points the connection\'s account. Vendor round trip < 2s. Requires API-key scope: integrations:write.
|
|
174
|
+
* Point the Zoho Books sync at another organisation
|
|
175
|
+
*/
|
|
176
|
+
updateSettingsIntegrationsZohobooksRaw(requestParameters: UpdateSettingsIntegrationsZohobooksRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ZohoBooksStatusResponse>>;
|
|
177
|
+
/**
|
|
178
|
+
* organizationId must be one GET /organizations lists. Switching resets the sync watermarks — they described a different set of books — and re-points the connection\'s account. Vendor round trip < 2s. Requires API-key scope: integrations:write.
|
|
179
|
+
* Point the Zoho Books sync at another organisation
|
|
180
|
+
*/
|
|
181
|
+
updateSettingsIntegrationsZohobooks(requestParameters: UpdateSettingsIntegrationsZohobooksRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ZohoBooksStatusResponse>;
|
|
182
|
+
}
|