@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
|
@@ -0,0 +1,57 @@
|
|
|
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 { AdminTenantPurgeReceiptResponse, AdminTenantPurgeRequest } from '../models/index';
|
|
14
|
+
export interface PurgeRequest {
|
|
15
|
+
tenantId: string;
|
|
16
|
+
adminTenantPurgeRequest: AdminTenantPurgeRequest;
|
|
17
|
+
xIdempotencyKey?: string;
|
|
18
|
+
}
|
|
19
|
+
/**
|
|
20
|
+
* AdminTenantPurgeApi - interface
|
|
21
|
+
*
|
|
22
|
+
* @export
|
|
23
|
+
* @interface AdminTenantPurgeApiInterface
|
|
24
|
+
*/
|
|
25
|
+
export interface AdminTenantPurgeApiInterface {
|
|
26
|
+
/**
|
|
27
|
+
* Writes < 300ms. IRREVERSIBLE and immediate — on a 200 the workspace\'s rows are already gone and its registry row with them, freeing the subdomain. Deletes every tenant-scoped table\'s rows in one transaction, then removes the workspace itself. The audit chain is deliberately NOT wiped (one global hash chain, AS-SEC-016), so the entry written here is the only lasting record of what the workspace was. The operator must type the workspace\'s exact subdomain in confirmSubdomain. Not reachable with an ask_live_* API key - needs a signed-in user\'s token.
|
|
28
|
+
* @summary Purge a workspace and every row it owns
|
|
29
|
+
* @param {string} tenantId
|
|
30
|
+
* @param {AdminTenantPurgeRequest} adminTenantPurgeRequest
|
|
31
|
+
* @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.
|
|
32
|
+
* @param {*} [options] Override http request option.
|
|
33
|
+
* @throws {RequiredError}
|
|
34
|
+
* @memberof AdminTenantPurgeApiInterface
|
|
35
|
+
*/
|
|
36
|
+
purgeRaw(requestParameters: PurgeRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<AdminTenantPurgeReceiptResponse>>;
|
|
37
|
+
/**
|
|
38
|
+
* Writes < 300ms. IRREVERSIBLE and immediate — on a 200 the workspace\'s rows are already gone and its registry row with them, freeing the subdomain. Deletes every tenant-scoped table\'s rows in one transaction, then removes the workspace itself. The audit chain is deliberately NOT wiped (one global hash chain, AS-SEC-016), so the entry written here is the only lasting record of what the workspace was. The operator must type the workspace\'s exact subdomain in confirmSubdomain. Not reachable with an ask_live_* API key - needs a signed-in user\'s token.
|
|
39
|
+
* Purge a workspace and every row it owns
|
|
40
|
+
*/
|
|
41
|
+
purge(requestParameters: PurgeRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<AdminTenantPurgeReceiptResponse>;
|
|
42
|
+
}
|
|
43
|
+
/**
|
|
44
|
+
*
|
|
45
|
+
*/
|
|
46
|
+
export declare class AdminTenantPurgeApi extends runtime.BaseAPI implements AdminTenantPurgeApiInterface {
|
|
47
|
+
/**
|
|
48
|
+
* Writes < 300ms. IRREVERSIBLE and immediate — on a 200 the workspace\'s rows are already gone and its registry row with them, freeing the subdomain. Deletes every tenant-scoped table\'s rows in one transaction, then removes the workspace itself. The audit chain is deliberately NOT wiped (one global hash chain, AS-SEC-016), so the entry written here is the only lasting record of what the workspace was. The operator must type the workspace\'s exact subdomain in confirmSubdomain. Not reachable with an ask_live_* API key - needs a signed-in user\'s token.
|
|
49
|
+
* Purge a workspace and every row it owns
|
|
50
|
+
*/
|
|
51
|
+
purgeRaw(requestParameters: PurgeRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<AdminTenantPurgeReceiptResponse>>;
|
|
52
|
+
/**
|
|
53
|
+
* Writes < 300ms. IRREVERSIBLE and immediate — on a 200 the workspace\'s rows are already gone and its registry row with them, freeing the subdomain. Deletes every tenant-scoped table\'s rows in one transaction, then removes the workspace itself. The audit chain is deliberately NOT wiped (one global hash chain, AS-SEC-016), so the entry written here is the only lasting record of what the workspace was. The operator must type the workspace\'s exact subdomain in confirmSubdomain. Not reachable with an ask_live_* API key - needs a signed-in user\'s token.
|
|
54
|
+
* Purge a workspace and every row it owns
|
|
55
|
+
*/
|
|
56
|
+
purge(requestParameters: PurgeRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<AdminTenantPurgeReceiptResponse>;
|
|
57
|
+
}
|
|
@@ -0,0 +1,103 @@
|
|
|
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.AdminTenantPurgeApi = void 0;
|
|
50
|
+
const runtime = __importStar(require("../runtime"));
|
|
51
|
+
const index_1 = require("../models/index");
|
|
52
|
+
/**
|
|
53
|
+
*
|
|
54
|
+
*/
|
|
55
|
+
class AdminTenantPurgeApi extends runtime.BaseAPI {
|
|
56
|
+
/**
|
|
57
|
+
* Writes < 300ms. IRREVERSIBLE and immediate — on a 200 the workspace\'s rows are already gone and its registry row with them, freeing the subdomain. Deletes every tenant-scoped table\'s rows in one transaction, then removes the workspace itself. The audit chain is deliberately NOT wiped (one global hash chain, AS-SEC-016), so the entry written here is the only lasting record of what the workspace was. The operator must type the workspace\'s exact subdomain in confirmSubdomain. Not reachable with an ask_live_* API key - needs a signed-in user\'s token.
|
|
58
|
+
* Purge a workspace and every row it owns
|
|
59
|
+
*/
|
|
60
|
+
async purgeRaw(requestParameters, initOverrides) {
|
|
61
|
+
if (requestParameters['tenantId'] == null) {
|
|
62
|
+
throw new runtime.RequiredError('tenantId', 'Required parameter "tenantId" was null or undefined when calling purge().');
|
|
63
|
+
}
|
|
64
|
+
if (requestParameters['adminTenantPurgeRequest'] == null) {
|
|
65
|
+
throw new runtime.RequiredError('adminTenantPurgeRequest', 'Required parameter "adminTenantPurgeRequest" was null or undefined when calling purge().');
|
|
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/admin/tenants/{tenantId}/deletion`;
|
|
84
|
+
urlPath = urlPath.replace(`{${"tenantId"}}`, encodeURIComponent(String(requestParameters['tenantId'])));
|
|
85
|
+
const response = await this.request({
|
|
86
|
+
path: urlPath,
|
|
87
|
+
method: 'POST',
|
|
88
|
+
headers: headerParameters,
|
|
89
|
+
query: queryParameters,
|
|
90
|
+
body: (0, index_1.AdminTenantPurgeRequestToJSON)(requestParameters['adminTenantPurgeRequest']),
|
|
91
|
+
}, initOverrides);
|
|
92
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.AdminTenantPurgeReceiptResponseFromJSON)(jsonValue));
|
|
93
|
+
}
|
|
94
|
+
/**
|
|
95
|
+
* Writes < 300ms. IRREVERSIBLE and immediate — on a 200 the workspace\'s rows are already gone and its registry row with them, freeing the subdomain. Deletes every tenant-scoped table\'s rows in one transaction, then removes the workspace itself. The audit chain is deliberately NOT wiped (one global hash chain, AS-SEC-016), so the entry written here is the only lasting record of what the workspace was. The operator must type the workspace\'s exact subdomain in confirmSubdomain. Not reachable with an ask_live_* API key - needs a signed-in user\'s token.
|
|
96
|
+
* Purge a workspace and every row it owns
|
|
97
|
+
*/
|
|
98
|
+
async purge(requestParameters, initOverrides) {
|
|
99
|
+
const response = await this.purgeRaw(requestParameters, initOverrides);
|
|
100
|
+
return await response.value();
|
|
101
|
+
}
|
|
102
|
+
}
|
|
103
|
+
exports.AdminTenantPurgeApi = AdminTenantPurgeApi;
|
|
@@ -34,7 +34,7 @@ export interface WalletRequest {
|
|
|
34
34
|
*/
|
|
35
35
|
export interface AdminWalletApiInterface {
|
|
36
36
|
/**
|
|
37
|
-
* Reads < 300ms. Low-balance-first is the operator\'s working order; the default is largest float first.
|
|
37
|
+
* Reads < 300ms. Low-balance-first is the operator\'s working order; the default is largest float first. Not reachable with an ask_live_* API key - needs a signed-in user\'s token.
|
|
38
38
|
* @summary List every workspace\'s wallet balance
|
|
39
39
|
* @param {Pageable} pageable
|
|
40
40
|
* @param {boolean} [lowBalanceFirst]
|
|
@@ -44,12 +44,12 @@ export interface AdminWalletApiInterface {
|
|
|
44
44
|
*/
|
|
45
45
|
balancesRaw(requestParameters: BalancesRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<PageResponseAdminWalletBalance>>;
|
|
46
46
|
/**
|
|
47
|
-
* Reads < 300ms. Low-balance-first is the operator\'s working order; the default is largest float first.
|
|
47
|
+
* Reads < 300ms. Low-balance-first is the operator\'s working order; the default is largest float first. Not reachable with an ask_live_* API key - needs a signed-in user\'s token.
|
|
48
48
|
* List every workspace\'s wallet balance
|
|
49
49
|
*/
|
|
50
50
|
balances(requestParameters: BalancesRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<PageResponseAdminWalletBalance>;
|
|
51
51
|
/**
|
|
52
|
-
* Reads < 300ms. Covers the last 30 days; a failed order never debited anything, so sending continues until the balance itself runs out.
|
|
52
|
+
* Reads < 300ms. Covers the last 30 days; a failed order never debited anything, so sending continues until the balance itself runs out. Not reachable with an ask_live_* API key - needs a signed-in user\'s token.
|
|
53
53
|
* @summary Recent wallet top-up orders across the platform
|
|
54
54
|
* @param {Pageable} pageable
|
|
55
55
|
* @param {'CREATED' | 'PAID' | 'FAILED'} [status]
|
|
@@ -59,7 +59,7 @@ export interface AdminWalletApiInterface {
|
|
|
59
59
|
*/
|
|
60
60
|
paymentOrdersRaw(requestParameters: PaymentOrdersRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<PageResponseAdminPaymentOrder>>;
|
|
61
61
|
/**
|
|
62
|
-
* Reads < 300ms. Covers the last 30 days; a failed order never debited anything, so sending continues until the balance itself runs out.
|
|
62
|
+
* Reads < 300ms. Covers the last 30 days; a failed order never debited anything, so sending continues until the balance itself runs out. Not reachable with an ask_live_* API key - needs a signed-in user\'s token.
|
|
63
63
|
* Recent wallet top-up orders across the platform
|
|
64
64
|
*/
|
|
65
65
|
paymentOrders(requestParameters: PaymentOrdersRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<PageResponseAdminPaymentOrder>;
|
|
@@ -77,7 +77,7 @@ export interface AdminWalletApiInterface {
|
|
|
77
77
|
*/
|
|
78
78
|
summaryAdminWallets(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<AdminWalletSummary>;
|
|
79
79
|
/**
|
|
80
|
-
* Reads < 300ms. Billed amounts — rate-card cost plus platform margin plus tax, which is what actually left the wallet.
|
|
80
|
+
* Reads < 300ms. Billed amounts — rate-card cost plus platform margin plus tax, which is what actually left the wallet. Not reachable with an ask_live_* API key - needs a signed-in user\'s token.
|
|
81
81
|
* @summary One workspace\'s wallet spend per channel
|
|
82
82
|
* @param {string} tenantId
|
|
83
83
|
* @param {number} [days]
|
|
@@ -87,12 +87,12 @@ export interface AdminWalletApiInterface {
|
|
|
87
87
|
*/
|
|
88
88
|
usageAdminRaw(requestParameters: UsageAdminRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<AdminTenantUsage>>;
|
|
89
89
|
/**
|
|
90
|
-
* Reads < 300ms. Billed amounts — rate-card cost plus platform margin plus tax, which is what actually left the wallet.
|
|
90
|
+
* Reads < 300ms. Billed amounts — rate-card cost plus platform margin plus tax, which is what actually left the wallet. Not reachable with an ask_live_* API key - needs a signed-in user\'s token.
|
|
91
91
|
* One workspace\'s wallet spend per channel
|
|
92
92
|
*/
|
|
93
93
|
usageAdmin(requestParameters: UsageAdminRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<AdminTenantUsage>;
|
|
94
94
|
/**
|
|
95
|
-
* Reads < 300ms.
|
|
95
|
+
* Reads < 300ms. Not reachable with an ask_live_* API key - needs a signed-in user\'s token.
|
|
96
96
|
* @summary One workspace\'s wallet
|
|
97
97
|
* @param {string} tenantId
|
|
98
98
|
* @param {*} [options] Override http request option.
|
|
@@ -101,7 +101,7 @@ export interface AdminWalletApiInterface {
|
|
|
101
101
|
*/
|
|
102
102
|
walletRaw(requestParameters: WalletRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<AdminWalletBalance>>;
|
|
103
103
|
/**
|
|
104
|
-
* Reads < 300ms.
|
|
104
|
+
* Reads < 300ms. Not reachable with an ask_live_* API key - needs a signed-in user\'s token.
|
|
105
105
|
* One workspace\'s wallet
|
|
106
106
|
*/
|
|
107
107
|
wallet(requestParameters: WalletRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<AdminWalletBalance>;
|
|
@@ -111,22 +111,22 @@ export interface AdminWalletApiInterface {
|
|
|
111
111
|
*/
|
|
112
112
|
export declare class AdminWalletApi extends runtime.BaseAPI implements AdminWalletApiInterface {
|
|
113
113
|
/**
|
|
114
|
-
* Reads < 300ms. Low-balance-first is the operator\'s working order; the default is largest float first.
|
|
114
|
+
* Reads < 300ms. Low-balance-first is the operator\'s working order; the default is largest float first. Not reachable with an ask_live_* API key - needs a signed-in user\'s token.
|
|
115
115
|
* List every workspace\'s wallet balance
|
|
116
116
|
*/
|
|
117
117
|
balancesRaw(requestParameters: BalancesRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<PageResponseAdminWalletBalance>>;
|
|
118
118
|
/**
|
|
119
|
-
* Reads < 300ms. Low-balance-first is the operator\'s working order; the default is largest float first.
|
|
119
|
+
* Reads < 300ms. Low-balance-first is the operator\'s working order; the default is largest float first. Not reachable with an ask_live_* API key - needs a signed-in user\'s token.
|
|
120
120
|
* List every workspace\'s wallet balance
|
|
121
121
|
*/
|
|
122
122
|
balances(requestParameters: BalancesRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<PageResponseAdminWalletBalance>;
|
|
123
123
|
/**
|
|
124
|
-
* Reads < 300ms. Covers the last 30 days; a failed order never debited anything, so sending continues until the balance itself runs out.
|
|
124
|
+
* Reads < 300ms. Covers the last 30 days; a failed order never debited anything, so sending continues until the balance itself runs out. Not reachable with an ask_live_* API key - needs a signed-in user\'s token.
|
|
125
125
|
* Recent wallet top-up orders across the platform
|
|
126
126
|
*/
|
|
127
127
|
paymentOrdersRaw(requestParameters: PaymentOrdersRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<PageResponseAdminPaymentOrder>>;
|
|
128
128
|
/**
|
|
129
|
-
* Reads < 300ms. Covers the last 30 days; a failed order never debited anything, so sending continues until the balance itself runs out.
|
|
129
|
+
* Reads < 300ms. Covers the last 30 days; a failed order never debited anything, so sending continues until the balance itself runs out. Not reachable with an ask_live_* API key - needs a signed-in user\'s token.
|
|
130
130
|
* Recent wallet top-up orders across the platform
|
|
131
131
|
*/
|
|
132
132
|
paymentOrders(requestParameters: PaymentOrdersRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<PageResponseAdminPaymentOrder>;
|
|
@@ -141,22 +141,22 @@ export declare class AdminWalletApi extends runtime.BaseAPI implements AdminWall
|
|
|
141
141
|
*/
|
|
142
142
|
summaryAdminWallets(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<AdminWalletSummary>;
|
|
143
143
|
/**
|
|
144
|
-
* Reads < 300ms. Billed amounts — rate-card cost plus platform margin plus tax, which is what actually left the wallet.
|
|
144
|
+
* Reads < 300ms. Billed amounts — rate-card cost plus platform margin plus tax, which is what actually left the wallet. Not reachable with an ask_live_* API key - needs a signed-in user\'s token.
|
|
145
145
|
* One workspace\'s wallet spend per channel
|
|
146
146
|
*/
|
|
147
147
|
usageAdminRaw(requestParameters: UsageAdminRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<AdminTenantUsage>>;
|
|
148
148
|
/**
|
|
149
|
-
* Reads < 300ms. Billed amounts — rate-card cost plus platform margin plus tax, which is what actually left the wallet.
|
|
149
|
+
* Reads < 300ms. Billed amounts — rate-card cost plus platform margin plus tax, which is what actually left the wallet. Not reachable with an ask_live_* API key - needs a signed-in user\'s token.
|
|
150
150
|
* One workspace\'s wallet spend per channel
|
|
151
151
|
*/
|
|
152
152
|
usageAdmin(requestParameters: UsageAdminRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<AdminTenantUsage>;
|
|
153
153
|
/**
|
|
154
|
-
* Reads < 300ms.
|
|
154
|
+
* Reads < 300ms. Not reachable with an ask_live_* API key - needs a signed-in user\'s token.
|
|
155
155
|
* One workspace\'s wallet
|
|
156
156
|
*/
|
|
157
157
|
walletRaw(requestParameters: WalletRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<AdminWalletBalance>>;
|
|
158
158
|
/**
|
|
159
|
-
* Reads < 300ms.
|
|
159
|
+
* Reads < 300ms. Not reachable with an ask_live_* API key - needs a signed-in user\'s token.
|
|
160
160
|
* One workspace\'s wallet
|
|
161
161
|
*/
|
|
162
162
|
wallet(requestParameters: WalletRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<AdminWalletBalance>;
|
|
@@ -54,7 +54,7 @@ const index_1 = require("../models/index");
|
|
|
54
54
|
*/
|
|
55
55
|
class AdminWalletApi extends runtime.BaseAPI {
|
|
56
56
|
/**
|
|
57
|
-
* Reads < 300ms. Low-balance-first is the operator\'s working order; the default is largest float first.
|
|
57
|
+
* Reads < 300ms. Low-balance-first is the operator\'s working order; the default is largest float first. Not reachable with an ask_live_* API key - needs a signed-in user\'s token.
|
|
58
58
|
* List every workspace\'s wallet balance
|
|
59
59
|
*/
|
|
60
60
|
async balancesRaw(requestParameters, initOverrides) {
|
|
@@ -89,7 +89,7 @@ class AdminWalletApi extends runtime.BaseAPI {
|
|
|
89
89
|
return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.PageResponseAdminWalletBalanceFromJSON)(jsonValue));
|
|
90
90
|
}
|
|
91
91
|
/**
|
|
92
|
-
* Reads < 300ms. Low-balance-first is the operator\'s working order; the default is largest float first.
|
|
92
|
+
* Reads < 300ms. Low-balance-first is the operator\'s working order; the default is largest float first. Not reachable with an ask_live_* API key - needs a signed-in user\'s token.
|
|
93
93
|
* List every workspace\'s wallet balance
|
|
94
94
|
*/
|
|
95
95
|
async balances(requestParameters, initOverrides) {
|
|
@@ -97,7 +97,7 @@ class AdminWalletApi extends runtime.BaseAPI {
|
|
|
97
97
|
return await response.value();
|
|
98
98
|
}
|
|
99
99
|
/**
|
|
100
|
-
* Reads < 300ms. Covers the last 30 days; a failed order never debited anything, so sending continues until the balance itself runs out.
|
|
100
|
+
* Reads < 300ms. Covers the last 30 days; a failed order never debited anything, so sending continues until the balance itself runs out. Not reachable with an ask_live_* API key - needs a signed-in user\'s token.
|
|
101
101
|
* Recent wallet top-up orders across the platform
|
|
102
102
|
*/
|
|
103
103
|
async paymentOrdersRaw(requestParameters, initOverrides) {
|
|
@@ -132,7 +132,7 @@ class AdminWalletApi extends runtime.BaseAPI {
|
|
|
132
132
|
return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.PageResponseAdminPaymentOrderFromJSON)(jsonValue));
|
|
133
133
|
}
|
|
134
134
|
/**
|
|
135
|
-
* Reads < 300ms. Covers the last 30 days; a failed order never debited anything, so sending continues until the balance itself runs out.
|
|
135
|
+
* Reads < 300ms. Covers the last 30 days; a failed order never debited anything, so sending continues until the balance itself runs out. Not reachable with an ask_live_* API key - needs a signed-in user\'s token.
|
|
136
136
|
* Recent wallet top-up orders across the platform
|
|
137
137
|
*/
|
|
138
138
|
async paymentOrders(requestParameters, initOverrides) {
|
|
@@ -174,7 +174,7 @@ class AdminWalletApi extends runtime.BaseAPI {
|
|
|
174
174
|
return await response.value();
|
|
175
175
|
}
|
|
176
176
|
/**
|
|
177
|
-
* Reads < 300ms. Billed amounts — rate-card cost plus platform margin plus tax, which is what actually left the wallet.
|
|
177
|
+
* Reads < 300ms. Billed amounts — rate-card cost plus platform margin plus tax, which is what actually left the wallet. Not reachable with an ask_live_* API key - needs a signed-in user\'s token.
|
|
178
178
|
* One workspace\'s wallet spend per channel
|
|
179
179
|
*/
|
|
180
180
|
async usageAdminRaw(requestParameters, initOverrides) {
|
|
@@ -207,7 +207,7 @@ class AdminWalletApi extends runtime.BaseAPI {
|
|
|
207
207
|
return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.AdminTenantUsageFromJSON)(jsonValue));
|
|
208
208
|
}
|
|
209
209
|
/**
|
|
210
|
-
* Reads < 300ms. Billed amounts — rate-card cost plus platform margin plus tax, which is what actually left the wallet.
|
|
210
|
+
* Reads < 300ms. Billed amounts — rate-card cost plus platform margin plus tax, which is what actually left the wallet. Not reachable with an ask_live_* API key - needs a signed-in user\'s token.
|
|
211
211
|
* One workspace\'s wallet spend per channel
|
|
212
212
|
*/
|
|
213
213
|
async usageAdmin(requestParameters, initOverrides) {
|
|
@@ -215,7 +215,7 @@ class AdminWalletApi extends runtime.BaseAPI {
|
|
|
215
215
|
return await response.value();
|
|
216
216
|
}
|
|
217
217
|
/**
|
|
218
|
-
* Reads < 300ms.
|
|
218
|
+
* Reads < 300ms. Not reachable with an ask_live_* API key - needs a signed-in user\'s token.
|
|
219
219
|
* One workspace\'s wallet
|
|
220
220
|
*/
|
|
221
221
|
async walletRaw(requestParameters, initOverrides) {
|
|
@@ -245,7 +245,7 @@ class AdminWalletApi extends runtime.BaseAPI {
|
|
|
245
245
|
return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.AdminWalletBalanceFromJSON)(jsonValue));
|
|
246
246
|
}
|
|
247
247
|
/**
|
|
248
|
-
* Reads < 300ms.
|
|
248
|
+
* Reads < 300ms. Not reachable with an ask_live_* API key - needs a signed-in user\'s token.
|
|
249
249
|
* One workspace\'s wallet
|
|
250
250
|
*/
|
|
251
251
|
async wallet(requestParameters, initOverrides) {
|
|
@@ -28,7 +28,7 @@ export interface ListAdminWhatsappRequest {
|
|
|
28
28
|
*/
|
|
29
29
|
export interface AdminWhatsAppNumberApiInterface {
|
|
30
30
|
/**
|
|
31
|
-
* Reads < 300ms.
|
|
31
|
+
* Reads < 300ms. Not reachable with an ask_live_* API key - needs a signed-in user\'s token.
|
|
32
32
|
* @summary One workspace\'s WhatsApp numbers
|
|
33
33
|
* @param {string} tenantId
|
|
34
34
|
* @param {*} [options] Override http request option.
|
|
@@ -37,12 +37,12 @@ export interface AdminWhatsAppNumberApiInterface {
|
|
|
37
37
|
*/
|
|
38
38
|
forTenantRaw(requestParameters: ForTenantRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Array<AdminWhatsAppNumber>>>;
|
|
39
39
|
/**
|
|
40
|
-
* Reads < 300ms.
|
|
40
|
+
* Reads < 300ms. Not reachable with an ask_live_* API key - needs a signed-in user\'s token.
|
|
41
41
|
* One workspace\'s WhatsApp numbers
|
|
42
42
|
*/
|
|
43
43
|
forTenant(requestParameters: ForTenantRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<AdminWhatsAppNumber>>;
|
|
44
44
|
/**
|
|
45
|
-
* Reads < 300ms. Ordered worst-first: restricted above flagged, and a RED rating above a YELLOW one, because sending has already stopped rather than being at risk.
|
|
45
|
+
* Reads < 300ms. Ordered worst-first: restricted above flagged, and a RED rating above a YELLOW one, because sending has already stopped rather than being at risk. Not reachable with an ask_live_* API key - needs a signed-in user\'s token.
|
|
46
46
|
* @summary Every WhatsApp number on the platform
|
|
47
47
|
* @param {Pageable} pageable
|
|
48
48
|
* @param {'GREEN' | 'YELLOW' | 'RED' | 'UNKNOWN'} [quality]
|
|
@@ -54,7 +54,7 @@ export interface AdminWhatsAppNumberApiInterface {
|
|
|
54
54
|
*/
|
|
55
55
|
listAdminWhatsappRaw(requestParameters: ListAdminWhatsappRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<PageResponseAdminWhatsAppNumber>>;
|
|
56
56
|
/**
|
|
57
|
-
* Reads < 300ms. Ordered worst-first: restricted above flagged, and a RED rating above a YELLOW one, because sending has already stopped rather than being at risk.
|
|
57
|
+
* Reads < 300ms. Ordered worst-first: restricted above flagged, and a RED rating above a YELLOW one, because sending has already stopped rather than being at risk. Not reachable with an ask_live_* API key - needs a signed-in user\'s token.
|
|
58
58
|
* Every WhatsApp number on the platform
|
|
59
59
|
*/
|
|
60
60
|
listAdminWhatsapp(requestParameters: ListAdminWhatsappRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<PageResponseAdminWhatsAppNumber>;
|
|
@@ -77,22 +77,22 @@ export interface AdminWhatsAppNumberApiInterface {
|
|
|
77
77
|
*/
|
|
78
78
|
export declare class AdminWhatsAppNumberApi extends runtime.BaseAPI implements AdminWhatsAppNumberApiInterface {
|
|
79
79
|
/**
|
|
80
|
-
* Reads < 300ms.
|
|
80
|
+
* Reads < 300ms. Not reachable with an ask_live_* API key - needs a signed-in user\'s token.
|
|
81
81
|
* One workspace\'s WhatsApp numbers
|
|
82
82
|
*/
|
|
83
83
|
forTenantRaw(requestParameters: ForTenantRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Array<AdminWhatsAppNumber>>>;
|
|
84
84
|
/**
|
|
85
|
-
* Reads < 300ms.
|
|
85
|
+
* Reads < 300ms. Not reachable with an ask_live_* API key - needs a signed-in user\'s token.
|
|
86
86
|
* One workspace\'s WhatsApp numbers
|
|
87
87
|
*/
|
|
88
88
|
forTenant(requestParameters: ForTenantRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<AdminWhatsAppNumber>>;
|
|
89
89
|
/**
|
|
90
|
-
* Reads < 300ms. Ordered worst-first: restricted above flagged, and a RED rating above a YELLOW one, because sending has already stopped rather than being at risk.
|
|
90
|
+
* Reads < 300ms. Ordered worst-first: restricted above flagged, and a RED rating above a YELLOW one, because sending has already stopped rather than being at risk. Not reachable with an ask_live_* API key - needs a signed-in user\'s token.
|
|
91
91
|
* Every WhatsApp number on the platform
|
|
92
92
|
*/
|
|
93
93
|
listAdminWhatsappRaw(requestParameters: ListAdminWhatsappRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<PageResponseAdminWhatsAppNumber>>;
|
|
94
94
|
/**
|
|
95
|
-
* Reads < 300ms. Ordered worst-first: restricted above flagged, and a RED rating above a YELLOW one, because sending has already stopped rather than being at risk.
|
|
95
|
+
* Reads < 300ms. Ordered worst-first: restricted above flagged, and a RED rating above a YELLOW one, because sending has already stopped rather than being at risk. Not reachable with an ask_live_* API key - needs a signed-in user\'s token.
|
|
96
96
|
* Every WhatsApp number on the platform
|
|
97
97
|
*/
|
|
98
98
|
listAdminWhatsapp(requestParameters: ListAdminWhatsappRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<PageResponseAdminWhatsAppNumber>;
|
|
@@ -54,7 +54,7 @@ const index_1 = require("../models/index");
|
|
|
54
54
|
*/
|
|
55
55
|
class AdminWhatsAppNumberApi extends runtime.BaseAPI {
|
|
56
56
|
/**
|
|
57
|
-
* Reads < 300ms.
|
|
57
|
+
* Reads < 300ms. Not reachable with an ask_live_* API key - needs a signed-in user\'s token.
|
|
58
58
|
* One workspace\'s WhatsApp numbers
|
|
59
59
|
*/
|
|
60
60
|
async forTenantRaw(requestParameters, initOverrides) {
|
|
@@ -84,7 +84,7 @@ class AdminWhatsAppNumberApi extends runtime.BaseAPI {
|
|
|
84
84
|
return new runtime.JSONApiResponse(response, (jsonValue) => jsonValue.map(index_1.AdminWhatsAppNumberFromJSON));
|
|
85
85
|
}
|
|
86
86
|
/**
|
|
87
|
-
* Reads < 300ms.
|
|
87
|
+
* Reads < 300ms. Not reachable with an ask_live_* API key - needs a signed-in user\'s token.
|
|
88
88
|
* One workspace\'s WhatsApp numbers
|
|
89
89
|
*/
|
|
90
90
|
async forTenant(requestParameters, initOverrides) {
|
|
@@ -92,7 +92,7 @@ class AdminWhatsAppNumberApi extends runtime.BaseAPI {
|
|
|
92
92
|
return await response.value();
|
|
93
93
|
}
|
|
94
94
|
/**
|
|
95
|
-
* Reads < 300ms. Ordered worst-first: restricted above flagged, and a RED rating above a YELLOW one, because sending has already stopped rather than being at risk.
|
|
95
|
+
* Reads < 300ms. Ordered worst-first: restricted above flagged, and a RED rating above a YELLOW one, because sending has already stopped rather than being at risk. Not reachable with an ask_live_* API key - needs a signed-in user\'s token.
|
|
96
96
|
* Every WhatsApp number on the platform
|
|
97
97
|
*/
|
|
98
98
|
async listAdminWhatsappRaw(requestParameters, initOverrides) {
|
|
@@ -133,7 +133,7 @@ class AdminWhatsAppNumberApi extends runtime.BaseAPI {
|
|
|
133
133
|
return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.PageResponseAdminWhatsAppNumberFromJSON)(jsonValue));
|
|
134
134
|
}
|
|
135
135
|
/**
|
|
136
|
-
* Reads < 300ms. Ordered worst-first: restricted above flagged, and a RED rating above a YELLOW one, because sending has already stopped rather than being at risk.
|
|
136
|
+
* Reads < 300ms. Ordered worst-first: restricted above flagged, and a RED rating above a YELLOW one, because sending has already stopped rather than being at risk. Not reachable with an ask_live_* API key - needs a signed-in user\'s token.
|
|
137
137
|
* Every WhatsApp number on the platform
|
|
138
138
|
*/
|
|
139
139
|
async listAdminWhatsapp(requestParameters, initOverrides) {
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
*/
|
|
12
12
|
import * as runtime from '../runtime';
|
|
13
13
|
import type { AgentLanguageConfigRequest, AgentLanguageConfigResponse } from '../models/index';
|
|
14
|
-
export interface
|
|
14
|
+
export interface ReplaceAiRequest {
|
|
15
15
|
agentLanguageConfigRequest: AgentLanguageConfigRequest;
|
|
16
16
|
xIdempotencyKey?: string;
|
|
17
17
|
}
|
|
@@ -44,12 +44,12 @@ export interface AgentLanguageApiInterface {
|
|
|
44
44
|
* @throws {RequiredError}
|
|
45
45
|
* @memberof AgentLanguageApiInterface
|
|
46
46
|
*/
|
|
47
|
-
|
|
47
|
+
replaceAiRaw(requestParameters: ReplaceAiRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<AgentLanguageConfigResponse>>;
|
|
48
48
|
/**
|
|
49
49
|
* Writes < 300ms. Enabling a language additionally seeds its evaluation cases, which is a handful of local inserts and no model call. Requires API-key scope: ai:write.
|
|
50
50
|
* Replace the agent\'s language configuration
|
|
51
51
|
*/
|
|
52
|
-
|
|
52
|
+
replaceAi(requestParameters: ReplaceAiRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<AgentLanguageConfigResponse>;
|
|
53
53
|
}
|
|
54
54
|
/**
|
|
55
55
|
*
|
|
@@ -69,10 +69,10 @@ export declare class AgentLanguageApi extends runtime.BaseAPI implements AgentLa
|
|
|
69
69
|
* Writes < 300ms. Enabling a language additionally seeds its evaluation cases, which is a handful of local inserts and no model call. Requires API-key scope: ai:write.
|
|
70
70
|
* Replace the agent\'s language configuration
|
|
71
71
|
*/
|
|
72
|
-
|
|
72
|
+
replaceAiRaw(requestParameters: ReplaceAiRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<AgentLanguageConfigResponse>>;
|
|
73
73
|
/**
|
|
74
74
|
* Writes < 300ms. Enabling a language additionally seeds its evaluation cases, which is a handful of local inserts and no model call. Requires API-key scope: ai:write.
|
|
75
75
|
* Replace the agent\'s language configuration
|
|
76
76
|
*/
|
|
77
|
-
|
|
77
|
+
replaceAi(requestParameters: ReplaceAiRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<AgentLanguageConfigResponse>;
|
|
78
78
|
}
|
|
@@ -91,9 +91,9 @@ class AgentLanguageApi extends runtime.BaseAPI {
|
|
|
91
91
|
* Writes < 300ms. Enabling a language additionally seeds its evaluation cases, which is a handful of local inserts and no model call. Requires API-key scope: ai:write.
|
|
92
92
|
* Replace the agent\'s language configuration
|
|
93
93
|
*/
|
|
94
|
-
async
|
|
94
|
+
async replaceAiRaw(requestParameters, initOverrides) {
|
|
95
95
|
if (requestParameters['agentLanguageConfigRequest'] == null) {
|
|
96
|
-
throw new runtime.RequiredError('agentLanguageConfigRequest', 'Required parameter "agentLanguageConfigRequest" was null or undefined when calling
|
|
96
|
+
throw new runtime.RequiredError('agentLanguageConfigRequest', 'Required parameter "agentLanguageConfigRequest" was null or undefined when calling replaceAi().');
|
|
97
97
|
}
|
|
98
98
|
const queryParameters = {};
|
|
99
99
|
const headerParameters = {};
|
|
@@ -125,8 +125,8 @@ class AgentLanguageApi extends runtime.BaseAPI {
|
|
|
125
125
|
* Writes < 300ms. Enabling a language additionally seeds its evaluation cases, which is a handful of local inserts and no model call. Requires API-key scope: ai:write.
|
|
126
126
|
* Replace the agent\'s language configuration
|
|
127
127
|
*/
|
|
128
|
-
async
|
|
129
|
-
const response = await this.
|
|
128
|
+
async replaceAi(requestParameters, initOverrides) {
|
|
129
|
+
const response = await this.replaceAiRaw(requestParameters, initOverrides);
|
|
130
130
|
return await response.value();
|
|
131
131
|
}
|
|
132
132
|
}
|
|
@@ -27,7 +27,7 @@ export interface TranslateRequest {
|
|
|
27
27
|
translationRequest: TranslationRequest;
|
|
28
28
|
xIdempotencyKey?: string;
|
|
29
29
|
}
|
|
30
|
-
export interface
|
|
30
|
+
export interface UpdateSettingsAiRequest {
|
|
31
31
|
aiSettingsUpdateRequest: AiSettingsUpdateRequest;
|
|
32
32
|
xIdempotencyKey?: string;
|
|
33
33
|
}
|
|
@@ -136,12 +136,12 @@ export interface AiApiInterface {
|
|
|
136
136
|
* @throws {RequiredError}
|
|
137
137
|
* @memberof AiApiInterface
|
|
138
138
|
*/
|
|
139
|
-
|
|
139
|
+
updateSettingsAiRaw(requestParameters: UpdateSettingsAiRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<AiSettingsResponse>>;
|
|
140
140
|
/**
|
|
141
141
|
* Writes < 300ms. Requires API-key scope: ai:write.
|
|
142
142
|
* Update the tenant\'s AI settings
|
|
143
143
|
*/
|
|
144
|
-
|
|
144
|
+
updateSettingsAi(requestParameters: UpdateSettingsAiRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<AiSettingsResponse>;
|
|
145
145
|
/**
|
|
146
146
|
* Reads < 300ms. Requires API-key scope: ai:read.
|
|
147
147
|
* @summary Get the tenant\'s AI usage breakdown
|
|
@@ -225,12 +225,12 @@ export declare class AiApi extends runtime.BaseAPI implements AiApiInterface {
|
|
|
225
225
|
* Writes < 300ms. Requires API-key scope: ai:write.
|
|
226
226
|
* Update the tenant\'s AI settings
|
|
227
227
|
*/
|
|
228
|
-
|
|
228
|
+
updateSettingsAiRaw(requestParameters: UpdateSettingsAiRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<AiSettingsResponse>>;
|
|
229
229
|
/**
|
|
230
230
|
* Writes < 300ms. Requires API-key scope: ai:write.
|
|
231
231
|
* Update the tenant\'s AI settings
|
|
232
232
|
*/
|
|
233
|
-
|
|
233
|
+
updateSettingsAi(requestParameters: UpdateSettingsAiRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<AiSettingsResponse>;
|
|
234
234
|
/**
|
|
235
235
|
* Reads < 300ms. Requires API-key scope: ai:read.
|
|
236
236
|
* Get the tenant\'s AI usage breakdown
|
|
@@ -293,9 +293,9 @@ class AiApi extends runtime.BaseAPI {
|
|
|
293
293
|
* Writes < 300ms. Requires API-key scope: ai:write.
|
|
294
294
|
* Update the tenant\'s AI settings
|
|
295
295
|
*/
|
|
296
|
-
async
|
|
296
|
+
async updateSettingsAiRaw(requestParameters, initOverrides) {
|
|
297
297
|
if (requestParameters['aiSettingsUpdateRequest'] == null) {
|
|
298
|
-
throw new runtime.RequiredError('aiSettingsUpdateRequest', 'Required parameter "aiSettingsUpdateRequest" was null or undefined when calling
|
|
298
|
+
throw new runtime.RequiredError('aiSettingsUpdateRequest', 'Required parameter "aiSettingsUpdateRequest" was null or undefined when calling updateSettingsAi().');
|
|
299
299
|
}
|
|
300
300
|
const queryParameters = {};
|
|
301
301
|
const headerParameters = {};
|
|
@@ -327,8 +327,8 @@ class AiApi extends runtime.BaseAPI {
|
|
|
327
327
|
* Writes < 300ms. Requires API-key scope: ai:write.
|
|
328
328
|
* Update the tenant\'s AI settings
|
|
329
329
|
*/
|
|
330
|
-
async
|
|
331
|
-
const response = await this.
|
|
330
|
+
async updateSettingsAi(requestParameters, initOverrides) {
|
|
331
|
+
const response = await this.updateSettingsAiRaw(requestParameters, initOverrides);
|
|
332
332
|
return await response.value();
|
|
333
333
|
}
|
|
334
334
|
/**
|