@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,312 @@
|
|
|
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.ScimUserApi = void 0;
|
|
50
|
+
const runtime = __importStar(require("../runtime"));
|
|
51
|
+
const index_1 = require("../models/index");
|
|
52
|
+
/**
|
|
53
|
+
*
|
|
54
|
+
*/
|
|
55
|
+
class ScimUserApi extends runtime.BaseAPI {
|
|
56
|
+
/**
|
|
57
|
+
* Writes < 300ms. userName must be an email (or emails[] must carry one). The user is created passwordless, provider SAML, with the connection\'s default role; active=false creates them already deactivated. An email that exists anywhere — this workspace or another — is 409 uniqueness. Not reachable with an ask_live_* API key - needs a signed-in user\'s token.
|
|
58
|
+
* SCIM: create a user
|
|
59
|
+
*/
|
|
60
|
+
async createScimRaw(requestParameters, initOverrides) {
|
|
61
|
+
if (requestParameters['scimUserResource'] == null) {
|
|
62
|
+
throw new runtime.RequiredError('scimUserResource', 'Required parameter "scimUserResource" was null or undefined when calling createScim().');
|
|
63
|
+
}
|
|
64
|
+
const queryParameters = {};
|
|
65
|
+
const headerParameters = {};
|
|
66
|
+
headerParameters['Content-Type'] = 'application/scim+json';
|
|
67
|
+
if (requestParameters['xIdempotencyKey'] != null) {
|
|
68
|
+
headerParameters['X-Idempotency-Key'] = String(requestParameters['xIdempotencyKey']);
|
|
69
|
+
}
|
|
70
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
71
|
+
headerParameters["X-Api-Key"] = await this.configuration.apiKey("X-Api-Key"); // ApiKeyAuth authentication
|
|
72
|
+
}
|
|
73
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
74
|
+
const token = this.configuration.accessToken;
|
|
75
|
+
const tokenString = await token("BearerAuth", []);
|
|
76
|
+
if (tokenString) {
|
|
77
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
let urlPath = `/scim/v2/Users`;
|
|
81
|
+
const response = await this.request({
|
|
82
|
+
path: urlPath,
|
|
83
|
+
method: 'POST',
|
|
84
|
+
headers: headerParameters,
|
|
85
|
+
query: queryParameters,
|
|
86
|
+
body: (0, index_1.ScimUserResourceToJSON)(requestParameters['scimUserResource']),
|
|
87
|
+
}, initOverrides);
|
|
88
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.ScimUserResourceFromJSON)(jsonValue));
|
|
89
|
+
}
|
|
90
|
+
/**
|
|
91
|
+
* Writes < 300ms. userName must be an email (or emails[] must carry one). The user is created passwordless, provider SAML, with the connection\'s default role; active=false creates them already deactivated. An email that exists anywhere — this workspace or another — is 409 uniqueness. Not reachable with an ask_live_* API key - needs a signed-in user\'s token.
|
|
92
|
+
* SCIM: create a user
|
|
93
|
+
*/
|
|
94
|
+
async createScim(requestParameters, initOverrides) {
|
|
95
|
+
const response = await this.createScimRaw(requestParameters, initOverrides);
|
|
96
|
+
return await response.value();
|
|
97
|
+
}
|
|
98
|
+
/**
|
|
99
|
+
* Writes < 300ms. Deactivates (status INACTIVE) rather than erasing: sign-in and token refresh are refused from now on, and everything the person did stays attributed to them. Erasure is a governed act with its own retention rules (governance.deletion), never a side effect of a directory sync. Idempotent. Not reachable with an ask_live_* API key - needs a signed-in user\'s token.
|
|
100
|
+
* SCIM: deprovision a user
|
|
101
|
+
*/
|
|
102
|
+
async deleteScimRaw(requestParameters, initOverrides) {
|
|
103
|
+
if (requestParameters['id'] == null) {
|
|
104
|
+
throw new runtime.RequiredError('id', 'Required parameter "id" was null or undefined when calling deleteScim().');
|
|
105
|
+
}
|
|
106
|
+
const queryParameters = {};
|
|
107
|
+
const headerParameters = {};
|
|
108
|
+
if (requestParameters['xIdempotencyKey'] != null) {
|
|
109
|
+
headerParameters['X-Idempotency-Key'] = String(requestParameters['xIdempotencyKey']);
|
|
110
|
+
}
|
|
111
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
112
|
+
headerParameters["X-Api-Key"] = await this.configuration.apiKey("X-Api-Key"); // ApiKeyAuth authentication
|
|
113
|
+
}
|
|
114
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
115
|
+
const token = this.configuration.accessToken;
|
|
116
|
+
const tokenString = await token("BearerAuth", []);
|
|
117
|
+
if (tokenString) {
|
|
118
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
119
|
+
}
|
|
120
|
+
}
|
|
121
|
+
let urlPath = `/scim/v2/Users/{id}`;
|
|
122
|
+
urlPath = urlPath.replace(`{${"id"}}`, encodeURIComponent(String(requestParameters['id'])));
|
|
123
|
+
const response = await this.request({
|
|
124
|
+
path: urlPath,
|
|
125
|
+
method: 'DELETE',
|
|
126
|
+
headers: headerParameters,
|
|
127
|
+
query: queryParameters,
|
|
128
|
+
}, initOverrides);
|
|
129
|
+
return new runtime.VoidApiResponse(response);
|
|
130
|
+
}
|
|
131
|
+
/**
|
|
132
|
+
* Writes < 300ms. Deactivates (status INACTIVE) rather than erasing: sign-in and token refresh are refused from now on, and everything the person did stays attributed to them. Erasure is a governed act with its own retention rules (governance.deletion), never a side effect of a directory sync. Idempotent. Not reachable with an ask_live_* API key - needs a signed-in user\'s token.
|
|
133
|
+
* SCIM: deprovision a user
|
|
134
|
+
*/
|
|
135
|
+
async deleteScim(requestParameters, initOverrides) {
|
|
136
|
+
await this.deleteScimRaw(requestParameters, initOverrides);
|
|
137
|
+
}
|
|
138
|
+
/**
|
|
139
|
+
* Reads < 300ms. Not reachable with an ask_live_* API key - needs a signed-in user\'s token.
|
|
140
|
+
* SCIM: get a user
|
|
141
|
+
*/
|
|
142
|
+
async getScimRaw(requestParameters, initOverrides) {
|
|
143
|
+
if (requestParameters['id'] == null) {
|
|
144
|
+
throw new runtime.RequiredError('id', 'Required parameter "id" was null or undefined when calling getScim().');
|
|
145
|
+
}
|
|
146
|
+
const queryParameters = {};
|
|
147
|
+
const headerParameters = {};
|
|
148
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
149
|
+
headerParameters["X-Api-Key"] = await this.configuration.apiKey("X-Api-Key"); // ApiKeyAuth authentication
|
|
150
|
+
}
|
|
151
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
152
|
+
const token = this.configuration.accessToken;
|
|
153
|
+
const tokenString = await token("BearerAuth", []);
|
|
154
|
+
if (tokenString) {
|
|
155
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
156
|
+
}
|
|
157
|
+
}
|
|
158
|
+
let urlPath = `/scim/v2/Users/{id}`;
|
|
159
|
+
urlPath = urlPath.replace(`{${"id"}}`, encodeURIComponent(String(requestParameters['id'])));
|
|
160
|
+
const response = await this.request({
|
|
161
|
+
path: urlPath,
|
|
162
|
+
method: 'GET',
|
|
163
|
+
headers: headerParameters,
|
|
164
|
+
query: queryParameters,
|
|
165
|
+
}, initOverrides);
|
|
166
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.ScimUserResourceFromJSON)(jsonValue));
|
|
167
|
+
}
|
|
168
|
+
/**
|
|
169
|
+
* Reads < 300ms. Not reachable with an ask_live_* API key - needs a signed-in user\'s token.
|
|
170
|
+
* SCIM: get a user
|
|
171
|
+
*/
|
|
172
|
+
async getScim(requestParameters, initOverrides) {
|
|
173
|
+
const response = await this.getScimRaw(requestParameters, initOverrides);
|
|
174
|
+
return await response.value();
|
|
175
|
+
}
|
|
176
|
+
/**
|
|
177
|
+
* Reads < 300ms. Supports filter=userName eq \"…\", externalId eq \"…\" and id eq \"…\" (the lookups provisioning engines make before creating), plus startIndex / count paging (max 200) with no filter. Any other filter is 400 invalidFilter rather than silently wrong. Not reachable with an ask_live_* API key - needs a signed-in user\'s token.
|
|
178
|
+
* SCIM: list or filter users
|
|
179
|
+
*/
|
|
180
|
+
async listScimRaw(requestParameters, initOverrides) {
|
|
181
|
+
const queryParameters = {};
|
|
182
|
+
if (requestParameters['filter'] != null) {
|
|
183
|
+
queryParameters['filter'] = requestParameters['filter'];
|
|
184
|
+
}
|
|
185
|
+
if (requestParameters['startIndex'] != null) {
|
|
186
|
+
queryParameters['startIndex'] = requestParameters['startIndex'];
|
|
187
|
+
}
|
|
188
|
+
if (requestParameters['count'] != null) {
|
|
189
|
+
queryParameters['count'] = requestParameters['count'];
|
|
190
|
+
}
|
|
191
|
+
const headerParameters = {};
|
|
192
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
193
|
+
headerParameters["X-Api-Key"] = await this.configuration.apiKey("X-Api-Key"); // ApiKeyAuth authentication
|
|
194
|
+
}
|
|
195
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
196
|
+
const token = this.configuration.accessToken;
|
|
197
|
+
const tokenString = await token("BearerAuth", []);
|
|
198
|
+
if (tokenString) {
|
|
199
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
200
|
+
}
|
|
201
|
+
}
|
|
202
|
+
let urlPath = `/scim/v2/Users`;
|
|
203
|
+
const response = await this.request({
|
|
204
|
+
path: urlPath,
|
|
205
|
+
method: 'GET',
|
|
206
|
+
headers: headerParameters,
|
|
207
|
+
query: queryParameters,
|
|
208
|
+
}, initOverrides);
|
|
209
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.ListResponseScimUserResourceFromJSON)(jsonValue));
|
|
210
|
+
}
|
|
211
|
+
/**
|
|
212
|
+
* Reads < 300ms. Supports filter=userName eq \"…\", externalId eq \"…\" and id eq \"…\" (the lookups provisioning engines make before creating), plus startIndex / count paging (max 200) with no filter. Any other filter is 400 invalidFilter rather than silently wrong. Not reachable with an ask_live_* API key - needs a signed-in user\'s token.
|
|
213
|
+
* SCIM: list or filter users
|
|
214
|
+
*/
|
|
215
|
+
async listScim(requestParameters = {}, initOverrides) {
|
|
216
|
+
const response = await this.listScimRaw(requestParameters, initOverrides);
|
|
217
|
+
return await response.value();
|
|
218
|
+
}
|
|
219
|
+
/**
|
|
220
|
+
* Writes < 300ms. add / replace / remove on active, externalId, displayName, name (and its parts), userName / emails (must equal the current email). Both spellings are accepted: Okta\'s pathless {\"value\": {\"active\": false}} and Entra\'s {\"path\": \"active\", \"value\": \"False\"}. Paths this service has no column for are ignored, not refused — an Entra sync must not fail on \'department\'. Not reachable with an ask_live_* API key - needs a signed-in user\'s token.
|
|
221
|
+
* SCIM: patch a user
|
|
222
|
+
*/
|
|
223
|
+
async patchScimRaw(requestParameters, initOverrides) {
|
|
224
|
+
if (requestParameters['id'] == null) {
|
|
225
|
+
throw new runtime.RequiredError('id', 'Required parameter "id" was null or undefined when calling patchScim().');
|
|
226
|
+
}
|
|
227
|
+
if (requestParameters['patchRequest'] == null) {
|
|
228
|
+
throw new runtime.RequiredError('patchRequest', 'Required parameter "patchRequest" was null or undefined when calling patchScim().');
|
|
229
|
+
}
|
|
230
|
+
const queryParameters = {};
|
|
231
|
+
const headerParameters = {};
|
|
232
|
+
headerParameters['Content-Type'] = 'application/scim+json';
|
|
233
|
+
if (requestParameters['xIdempotencyKey'] != null) {
|
|
234
|
+
headerParameters['X-Idempotency-Key'] = String(requestParameters['xIdempotencyKey']);
|
|
235
|
+
}
|
|
236
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
237
|
+
headerParameters["X-Api-Key"] = await this.configuration.apiKey("X-Api-Key"); // ApiKeyAuth authentication
|
|
238
|
+
}
|
|
239
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
240
|
+
const token = this.configuration.accessToken;
|
|
241
|
+
const tokenString = await token("BearerAuth", []);
|
|
242
|
+
if (tokenString) {
|
|
243
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
244
|
+
}
|
|
245
|
+
}
|
|
246
|
+
let urlPath = `/scim/v2/Users/{id}`;
|
|
247
|
+
urlPath = urlPath.replace(`{${"id"}}`, encodeURIComponent(String(requestParameters['id'])));
|
|
248
|
+
const response = await this.request({
|
|
249
|
+
path: urlPath,
|
|
250
|
+
method: 'PATCH',
|
|
251
|
+
headers: headerParameters,
|
|
252
|
+
query: queryParameters,
|
|
253
|
+
body: (0, index_1.PatchRequestToJSON)(requestParameters['patchRequest']),
|
|
254
|
+
}, initOverrides);
|
|
255
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.ScimUserResourceFromJSON)(jsonValue));
|
|
256
|
+
}
|
|
257
|
+
/**
|
|
258
|
+
* Writes < 300ms. add / replace / remove on active, externalId, displayName, name (and its parts), userName / emails (must equal the current email). Both spellings are accepted: Okta\'s pathless {\"value\": {\"active\": false}} and Entra\'s {\"path\": \"active\", \"value\": \"False\"}. Paths this service has no column for are ignored, not refused — an Entra sync must not fail on \'department\'. Not reachable with an ask_live_* API key - needs a signed-in user\'s token.
|
|
259
|
+
* SCIM: patch a user
|
|
260
|
+
*/
|
|
261
|
+
async patchScim(requestParameters, initOverrides) {
|
|
262
|
+
const response = await this.patchScimRaw(requestParameters, initOverrides);
|
|
263
|
+
return await response.value();
|
|
264
|
+
}
|
|
265
|
+
/**
|
|
266
|
+
* Writes < 300ms. Name, externalId and active are replaced; userName must equal the current email (it is the login identifier and cannot change through SCIM). Workspace owners are 403 SCIM_PROTECTED_USER. Not reachable with an ask_live_* API key - needs a signed-in user\'s token.
|
|
267
|
+
* SCIM: replace a user
|
|
268
|
+
*/
|
|
269
|
+
async replaceScimRaw(requestParameters, initOverrides) {
|
|
270
|
+
if (requestParameters['id'] == null) {
|
|
271
|
+
throw new runtime.RequiredError('id', 'Required parameter "id" was null or undefined when calling replaceScim().');
|
|
272
|
+
}
|
|
273
|
+
if (requestParameters['scimUserResource'] == null) {
|
|
274
|
+
throw new runtime.RequiredError('scimUserResource', 'Required parameter "scimUserResource" was null or undefined when calling replaceScim().');
|
|
275
|
+
}
|
|
276
|
+
const queryParameters = {};
|
|
277
|
+
const headerParameters = {};
|
|
278
|
+
headerParameters['Content-Type'] = 'application/scim+json';
|
|
279
|
+
if (requestParameters['xIdempotencyKey'] != null) {
|
|
280
|
+
headerParameters['X-Idempotency-Key'] = String(requestParameters['xIdempotencyKey']);
|
|
281
|
+
}
|
|
282
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
283
|
+
headerParameters["X-Api-Key"] = await this.configuration.apiKey("X-Api-Key"); // ApiKeyAuth authentication
|
|
284
|
+
}
|
|
285
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
286
|
+
const token = this.configuration.accessToken;
|
|
287
|
+
const tokenString = await token("BearerAuth", []);
|
|
288
|
+
if (tokenString) {
|
|
289
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
290
|
+
}
|
|
291
|
+
}
|
|
292
|
+
let urlPath = `/scim/v2/Users/{id}`;
|
|
293
|
+
urlPath = urlPath.replace(`{${"id"}}`, encodeURIComponent(String(requestParameters['id'])));
|
|
294
|
+
const response = await this.request({
|
|
295
|
+
path: urlPath,
|
|
296
|
+
method: 'PUT',
|
|
297
|
+
headers: headerParameters,
|
|
298
|
+
query: queryParameters,
|
|
299
|
+
body: (0, index_1.ScimUserResourceToJSON)(requestParameters['scimUserResource']),
|
|
300
|
+
}, initOverrides);
|
|
301
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.ScimUserResourceFromJSON)(jsonValue));
|
|
302
|
+
}
|
|
303
|
+
/**
|
|
304
|
+
* Writes < 300ms. Name, externalId and active are replaced; userName must equal the current email (it is the login identifier and cannot change through SCIM). Workspace owners are 403 SCIM_PROTECTED_USER. Not reachable with an ask_live_* API key - needs a signed-in user\'s token.
|
|
305
|
+
* SCIM: replace a user
|
|
306
|
+
*/
|
|
307
|
+
async replaceScim(requestParameters, initOverrides) {
|
|
308
|
+
const response = await this.replaceScimRaw(requestParameters, initOverrides);
|
|
309
|
+
return await response.value();
|
|
310
|
+
}
|
|
311
|
+
}
|
|
312
|
+
exports.ScimUserApi = ScimUserApi;
|
|
@@ -414,7 +414,7 @@ export interface SettingsApiInterface {
|
|
|
414
414
|
/**
|
|
415
415
|
* Writes < 300ms. Requires API-key scope: notifications:write.
|
|
416
416
|
* @summary Update the caller\'s own notification preference for one event type
|
|
417
|
-
* @param {'WALLET_LOW_BALANCE' | 'TOPUP_SUCCEEDED' | 'TOPUP_FAILED' | 'BUDGET_EXCEEDED' | 'SENDS_PAUSED_NO_FUNDS' | 'QUALITY_DOWNGRADED' | 'LIMIT_TIER_CHANGED' | 'NUMBER_FLAGGED' | 'TEMPLATE_APPROVED' | 'TEMPLATE_REJECTED' | 'WABA_DISCONNECTED' | 'WABA_REAUTH_REQUIRED' | 'BROADCAST_STARTED' | 'BROADCAST_FINISHED' | 'FLOW_ERROR' | 'ABTEST_WINNER_READY' | 'SCHEDULE_REMINDER' | 'CONVERSATION_ASSIGNED' | 'NOTE_MENTION' | 'SLA_BREACH' | 'QUEUE_BACKLOG' | 'BOT_HANDOFF_REQUESTED' | 'INBOX_MESSAGE_RECEIVED' | 'IVR_CALLBACK_REQUESTED' | 'ORDER_RECEIVED' | 'PAYMENT_RECEIVED' | 'ORDER_STATUS_CHANGED' | 'CART_ABANDONED' | 'INVOICE_ISSUED' | 'INVOICE_PAYMENT_FAILED' | 'VERIFICATION_DECISION' | 'GREENTICK_DECISION' | 'DOMAIN_VERIFIED' | 'SYNC_FAILED' | 'INVITE_ACCEPTED' | 'ROLE_CHANGED' | 'APPROVAL_PENDING' | 'CHANNEL_DELIVERY_FAILED' | 'CHANNEL_FALLBACK_USED' | 'DLT_REGISTRATION_EXPIRING' | 'DATA_EXPORT_READY' | 'API_KEY_IP_BLOCKED' | 'API_KEY_LEAK_DETECTED' | 'API_KEY_ANOMALY_DETECTED'} eventType
|
|
417
|
+
* @param {'WALLET_LOW_BALANCE' | 'TOPUP_SUCCEEDED' | 'TOPUP_FAILED' | 'BUDGET_EXCEEDED' | 'SENDS_PAUSED_NO_FUNDS' | 'QUALITY_DOWNGRADED' | 'LIMIT_TIER_CHANGED' | 'NUMBER_FLAGGED' | 'TEMPLATE_APPROVED' | 'TEMPLATE_REJECTED' | 'WABA_DISCONNECTED' | 'WABA_REAUTH_REQUIRED' | 'BROADCAST_STARTED' | 'BROADCAST_FINISHED' | 'FLOW_ERROR' | 'ABTEST_WINNER_READY' | 'SCHEDULE_REMINDER' | 'CONVERSATION_ASSIGNED' | 'NOTE_MENTION' | 'SLA_BREACH' | 'QUEUE_BACKLOG' | 'BOT_HANDOFF_REQUESTED' | 'INBOX_MESSAGE_RECEIVED' | 'IVR_CALLBACK_REQUESTED' | 'CALL_MISSED' | 'ORDER_RECEIVED' | 'PAYMENT_RECEIVED' | 'ORDER_STATUS_CHANGED' | 'CART_ABANDONED' | 'INVOICE_ISSUED' | 'INVOICE_PAYMENT_FAILED' | 'VERIFICATION_DECISION' | 'GREENTICK_DECISION' | 'DOMAIN_VERIFIED' | 'SYNC_FAILED' | 'INVITE_ACCEPTED' | 'ROLE_CHANGED' | 'APPROVAL_PENDING' | 'CHANNEL_DELIVERY_FAILED' | 'CHANNEL_FALLBACK_USED' | 'DLT_REGISTRATION_EXPIRING' | 'DATA_EXPORT_READY' | 'INTEGRATION_DEGRADED' | 'API_KEY_IP_BLOCKED' | 'API_KEY_LEAK_DETECTED' | 'API_KEY_ANOMALY_DETECTED' | 'PLAN_LIMIT_WARNING'} eventType
|
|
418
418
|
* @param {UpdateNotificationPreferenceRequest} updateNotificationPreferenceRequest
|
|
419
419
|
* @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.
|
|
420
420
|
* @param {*} [options] Override http request option.
|
|
@@ -761,6 +761,7 @@ export declare const UpdateNotificationEventTypeEnum: {
|
|
|
761
761
|
readonly BotHandoffRequested: "BOT_HANDOFF_REQUESTED";
|
|
762
762
|
readonly InboxMessageReceived: "INBOX_MESSAGE_RECEIVED";
|
|
763
763
|
readonly IvrCallbackRequested: "IVR_CALLBACK_REQUESTED";
|
|
764
|
+
readonly CallMissed: "CALL_MISSED";
|
|
764
765
|
readonly OrderReceived: "ORDER_RECEIVED";
|
|
765
766
|
readonly PaymentReceived: "PAYMENT_RECEIVED";
|
|
766
767
|
readonly OrderStatusChanged: "ORDER_STATUS_CHANGED";
|
|
@@ -778,8 +779,10 @@ export declare const UpdateNotificationEventTypeEnum: {
|
|
|
778
779
|
readonly ChannelFallbackUsed: "CHANNEL_FALLBACK_USED";
|
|
779
780
|
readonly DltRegistrationExpiring: "DLT_REGISTRATION_EXPIRING";
|
|
780
781
|
readonly DataExportReady: "DATA_EXPORT_READY";
|
|
782
|
+
readonly IntegrationDegraded: "INTEGRATION_DEGRADED";
|
|
781
783
|
readonly ApiKeyIpBlocked: "API_KEY_IP_BLOCKED";
|
|
782
784
|
readonly ApiKeyLeakDetected: "API_KEY_LEAK_DETECTED";
|
|
783
785
|
readonly ApiKeyAnomalyDetected: "API_KEY_ANOMALY_DETECTED";
|
|
786
|
+
readonly PlanLimitWarning: "PLAN_LIMIT_WARNING";
|
|
784
787
|
};
|
|
785
788
|
export type UpdateNotificationEventTypeEnum = typeof UpdateNotificationEventTypeEnum[keyof typeof UpdateNotificationEventTypeEnum];
|
|
@@ -1109,6 +1109,7 @@ exports.UpdateNotificationEventTypeEnum = {
|
|
|
1109
1109
|
BotHandoffRequested: 'BOT_HANDOFF_REQUESTED',
|
|
1110
1110
|
InboxMessageReceived: 'INBOX_MESSAGE_RECEIVED',
|
|
1111
1111
|
IvrCallbackRequested: 'IVR_CALLBACK_REQUESTED',
|
|
1112
|
+
CallMissed: 'CALL_MISSED',
|
|
1112
1113
|
OrderReceived: 'ORDER_RECEIVED',
|
|
1113
1114
|
PaymentReceived: 'PAYMENT_RECEIVED',
|
|
1114
1115
|
OrderStatusChanged: 'ORDER_STATUS_CHANGED',
|
|
@@ -1126,7 +1127,9 @@ exports.UpdateNotificationEventTypeEnum = {
|
|
|
1126
1127
|
ChannelFallbackUsed: 'CHANNEL_FALLBACK_USED',
|
|
1127
1128
|
DltRegistrationExpiring: 'DLT_REGISTRATION_EXPIRING',
|
|
1128
1129
|
DataExportReady: 'DATA_EXPORT_READY',
|
|
1130
|
+
IntegrationDegraded: 'INTEGRATION_DEGRADED',
|
|
1129
1131
|
ApiKeyIpBlocked: 'API_KEY_IP_BLOCKED',
|
|
1130
1132
|
ApiKeyLeakDetected: 'API_KEY_LEAK_DETECTED',
|
|
1131
|
-
ApiKeyAnomalyDetected: 'API_KEY_ANOMALY_DETECTED'
|
|
1133
|
+
ApiKeyAnomalyDetected: 'API_KEY_ANOMALY_DETECTED',
|
|
1134
|
+
PlanLimitWarning: 'PLAN_LIMIT_WARNING'
|
|
1132
1135
|
};
|
|
@@ -0,0 +1,200 @@
|
|
|
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 { CarrierConnectionResponse, ConnectCarrierRequest, CursorPageShipmentSummaryResponse, ShipmentResponse, StopTrackingResponse, TrackShipmentRequest } from '../models/index';
|
|
14
|
+
export interface ConnectIntegrationsShipmentsRequest {
|
|
15
|
+
carrier: string;
|
|
16
|
+
connectCarrierRequest: ConnectCarrierRequest;
|
|
17
|
+
xIdempotencyKey?: string;
|
|
18
|
+
}
|
|
19
|
+
export interface GetIntegrationsShipmentsRequest {
|
|
20
|
+
id: string;
|
|
21
|
+
}
|
|
22
|
+
export interface ListIntegrationsRequest {
|
|
23
|
+
orderId?: string;
|
|
24
|
+
carrier?: string;
|
|
25
|
+
status?: string;
|
|
26
|
+
cursor?: string;
|
|
27
|
+
limit?: number;
|
|
28
|
+
}
|
|
29
|
+
export interface StopTrackingRequest {
|
|
30
|
+
id: string;
|
|
31
|
+
xIdempotencyKey?: string;
|
|
32
|
+
}
|
|
33
|
+
export interface TrackRequest {
|
|
34
|
+
trackShipmentRequest: TrackShipmentRequest;
|
|
35
|
+
xIdempotencyKey?: string;
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* ShipmentApi - interface
|
|
39
|
+
*
|
|
40
|
+
* @export
|
|
41
|
+
* @interface ShipmentApiInterface
|
|
42
|
+
*/
|
|
43
|
+
export interface ShipmentApiInterface {
|
|
44
|
+
/**
|
|
45
|
+
* Health comes from the shared connection substrate, so a carrier\'s status here always matches GET /api/v1/integrations/{vendor}. Never returns a credential, and never returns the webhook URL -- that is shown once, at connect. Reads < 300ms. Requires API-key scope: integrations:read.
|
|
46
|
+
* @summary List every shipment carrier and whether this tenant has connected it
|
|
47
|
+
* @param {*} [options] Override http request option.
|
|
48
|
+
* @throws {RequiredError}
|
|
49
|
+
* @memberof ShipmentApiInterface
|
|
50
|
+
*/
|
|
51
|
+
carriersRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Array<CarrierConnectionResponse>>>;
|
|
52
|
+
/**
|
|
53
|
+
* Health comes from the shared connection substrate, so a carrier\'s status here always matches GET /api/v1/integrations/{vendor}. Never returns a credential, and never returns the webhook URL -- that is shown once, at connect. Reads < 300ms. Requires API-key scope: integrations:read.
|
|
54
|
+
* List every shipment carrier and whether this tenant has connected it
|
|
55
|
+
*/
|
|
56
|
+
carriers(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<CarrierConnectionResponse>>;
|
|
57
|
+
/**
|
|
58
|
+
* Verifies the credentials against the carrier before storing them, so a bad key is refused here rather than discovered later. Credentials are encrypted at rest and are never returned by any endpoint. The response carries the webhook URL to register with the carrier -- it embeds a live credential and is shown ONCE; reconnecting mints a new one and retires the old. Vendor round-trips < 2s. Requires API-key scope: integrations:write.
|
|
59
|
+
* @summary Connect a shipment carrier for this tenant
|
|
60
|
+
* @param {string} carrier
|
|
61
|
+
* @param {ConnectCarrierRequest} connectCarrierRequest
|
|
62
|
+
* @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.
|
|
63
|
+
* @param {*} [options] Override http request option.
|
|
64
|
+
* @throws {RequiredError}
|
|
65
|
+
* @memberof ShipmentApiInterface
|
|
66
|
+
*/
|
|
67
|
+
connectIntegrationsShipmentsRaw(requestParameters: ConnectIntegrationsShipmentsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<CarrierConnectionResponse>>;
|
|
68
|
+
/**
|
|
69
|
+
* Verifies the credentials against the carrier before storing them, so a bad key is refused here rather than discovered later. Credentials are encrypted at rest and are never returned by any endpoint. The response carries the webhook URL to register with the carrier -- it embeds a live credential and is shown ONCE; reconnecting mints a new one and retires the old. Vendor round-trips < 2s. Requires API-key scope: integrations:write.
|
|
70
|
+
* Connect a shipment carrier for this tenant
|
|
71
|
+
*/
|
|
72
|
+
connectIntegrationsShipments(requestParameters: ConnectIntegrationsShipmentsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<CarrierConnectionResponse>;
|
|
73
|
+
/**
|
|
74
|
+
* status is the normalised vocabulary and is what to branch on; each event also carries the carrier\'s own label for display. History is newest first and is short by nature -- a parcel has a handful of scans, not a page of them. Reads < 300ms. Requires API-key scope: integrations:read.
|
|
75
|
+
* @summary Get one tracked shipment and its scan history
|
|
76
|
+
* @param {string} id
|
|
77
|
+
* @param {*} [options] Override http request option.
|
|
78
|
+
* @throws {RequiredError}
|
|
79
|
+
* @memberof ShipmentApiInterface
|
|
80
|
+
*/
|
|
81
|
+
getIntegrationsShipmentsRaw(requestParameters: GetIntegrationsShipmentsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ShipmentResponse>>;
|
|
82
|
+
/**
|
|
83
|
+
* status is the normalised vocabulary and is what to branch on; each event also carries the carrier\'s own label for display. History is newest first and is short by nature -- a parcel has a handful of scans, not a page of them. Reads < 300ms. Requires API-key scope: integrations:read.
|
|
84
|
+
* Get one tracked shipment and its scan history
|
|
85
|
+
*/
|
|
86
|
+
getIntegrationsShipments(requestParameters: GetIntegrationsShipmentsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ShipmentResponse>;
|
|
87
|
+
/**
|
|
88
|
+
* Cursor-paginated, newest first by when tracking started here -- pass the previous response\'s nextCursor as ?cursor=; there is no page number and no total (AS-CODE-010). Filter by orderId to answer \"where are this order\'s parcels\", by status to find what is stuck, by carrier to see whether one is reporting. Rows carry each parcel\'s current state and no scan history: fetch GET /{id} for the history of one, which keeps this endpoint\'s cost independent of how often carriers scanned. Reads < 300ms. Requires API-key scope: integrations:read.
|
|
89
|
+
* @summary List tracked parcels
|
|
90
|
+
* @param {string} [orderId]
|
|
91
|
+
* @param {string} [carrier]
|
|
92
|
+
* @param {string} [status]
|
|
93
|
+
* @param {string} [cursor]
|
|
94
|
+
* @param {number} [limit]
|
|
95
|
+
* @param {*} [options] Override http request option.
|
|
96
|
+
* @throws {RequiredError}
|
|
97
|
+
* @memberof ShipmentApiInterface
|
|
98
|
+
*/
|
|
99
|
+
listIntegrationsRaw(requestParameters: ListIntegrationsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<CursorPageShipmentSummaryResponse>>;
|
|
100
|
+
/**
|
|
101
|
+
* Cursor-paginated, newest first by when tracking started here -- pass the previous response\'s nextCursor as ?cursor=; there is no page number and no total (AS-CODE-010). Filter by orderId to answer \"where are this order\'s parcels\", by status to find what is stuck, by carrier to see whether one is reporting. Rows carry each parcel\'s current state and no scan history: fetch GET /{id} for the history of one, which keeps this endpoint\'s cost independent of how often carriers scanned. Reads < 300ms. Requires API-key scope: integrations:read.
|
|
102
|
+
* List tracked parcels
|
|
103
|
+
*/
|
|
104
|
+
listIntegrations(requestParameters: ListIntegrationsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<CursorPageShipmentSummaryResponse>;
|
|
105
|
+
/**
|
|
106
|
+
* Removes the parcel and its scan history, so no further status message is sent for it. Use this to correct a mistyped tracking number: the same number can be attached again immediately afterwards, which a stopped-but-kept row would refuse. Where the carrier supports unsubscribing -- EasyPost alone of the four -- it is also told, and carrierNotified says whether that succeeded; for the others their scans keep arriving and are dropped on receipt. Vendor round-trips < 2s. Requires API-key scope: integrations:write.
|
|
107
|
+
* @summary Stop tracking one parcel
|
|
108
|
+
* @param {string} id
|
|
109
|
+
* @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.
|
|
110
|
+
* @param {*} [options] Override http request option.
|
|
111
|
+
* @throws {RequiredError}
|
|
112
|
+
* @memberof ShipmentApiInterface
|
|
113
|
+
*/
|
|
114
|
+
stopTrackingRaw(requestParameters: StopTrackingRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<StopTrackingResponse>>;
|
|
115
|
+
/**
|
|
116
|
+
* Removes the parcel and its scan history, so no further status message is sent for it. Use this to correct a mistyped tracking number: the same number can be attached again immediately afterwards, which a stopped-but-kept row would refuse. Where the carrier supports unsubscribing -- EasyPost alone of the four -- it is also told, and carrierNotified says whether that succeeded; for the others their scans keep arriving and are dropped on receipt. Vendor round-trips < 2s. Requires API-key scope: integrations:write.
|
|
117
|
+
* Stop tracking one parcel
|
|
118
|
+
*/
|
|
119
|
+
stopTracking(requestParameters: StopTrackingRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<StopTrackingResponse>;
|
|
120
|
+
/**
|
|
121
|
+
* Registers the number with the carrier and starts turning its scans into customer messages, using the tenant\'s existing order-notification rules. The order must belong to this tenant. One order may have several shipments -- a split consignment notifies per parcel. Vendor round-trips < 2s. Requires API-key scope: integrations:write.
|
|
122
|
+
* @summary Attach a tracking number to an order
|
|
123
|
+
* @param {TrackShipmentRequest} trackShipmentRequest
|
|
124
|
+
* @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.
|
|
125
|
+
* @param {*} [options] Override http request option.
|
|
126
|
+
* @throws {RequiredError}
|
|
127
|
+
* @memberof ShipmentApiInterface
|
|
128
|
+
*/
|
|
129
|
+
trackRaw(requestParameters: TrackRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ShipmentResponse>>;
|
|
130
|
+
/**
|
|
131
|
+
* Registers the number with the carrier and starts turning its scans into customer messages, using the tenant\'s existing order-notification rules. The order must belong to this tenant. One order may have several shipments -- a split consignment notifies per parcel. Vendor round-trips < 2s. Requires API-key scope: integrations:write.
|
|
132
|
+
* Attach a tracking number to an order
|
|
133
|
+
*/
|
|
134
|
+
track(requestParameters: TrackRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ShipmentResponse>;
|
|
135
|
+
}
|
|
136
|
+
/**
|
|
137
|
+
*
|
|
138
|
+
*/
|
|
139
|
+
export declare class ShipmentApi extends runtime.BaseAPI implements ShipmentApiInterface {
|
|
140
|
+
/**
|
|
141
|
+
* Health comes from the shared connection substrate, so a carrier\'s status here always matches GET /api/v1/integrations/{vendor}. Never returns a credential, and never returns the webhook URL -- that is shown once, at connect. Reads < 300ms. Requires API-key scope: integrations:read.
|
|
142
|
+
* List every shipment carrier and whether this tenant has connected it
|
|
143
|
+
*/
|
|
144
|
+
carriersRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Array<CarrierConnectionResponse>>>;
|
|
145
|
+
/**
|
|
146
|
+
* Health comes from the shared connection substrate, so a carrier\'s status here always matches GET /api/v1/integrations/{vendor}. Never returns a credential, and never returns the webhook URL -- that is shown once, at connect. Reads < 300ms. Requires API-key scope: integrations:read.
|
|
147
|
+
* List every shipment carrier and whether this tenant has connected it
|
|
148
|
+
*/
|
|
149
|
+
carriers(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<CarrierConnectionResponse>>;
|
|
150
|
+
/**
|
|
151
|
+
* Verifies the credentials against the carrier before storing them, so a bad key is refused here rather than discovered later. Credentials are encrypted at rest and are never returned by any endpoint. The response carries the webhook URL to register with the carrier -- it embeds a live credential and is shown ONCE; reconnecting mints a new one and retires the old. Vendor round-trips < 2s. Requires API-key scope: integrations:write.
|
|
152
|
+
* Connect a shipment carrier for this tenant
|
|
153
|
+
*/
|
|
154
|
+
connectIntegrationsShipmentsRaw(requestParameters: ConnectIntegrationsShipmentsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<CarrierConnectionResponse>>;
|
|
155
|
+
/**
|
|
156
|
+
* Verifies the credentials against the carrier before storing them, so a bad key is refused here rather than discovered later. Credentials are encrypted at rest and are never returned by any endpoint. The response carries the webhook URL to register with the carrier -- it embeds a live credential and is shown ONCE; reconnecting mints a new one and retires the old. Vendor round-trips < 2s. Requires API-key scope: integrations:write.
|
|
157
|
+
* Connect a shipment carrier for this tenant
|
|
158
|
+
*/
|
|
159
|
+
connectIntegrationsShipments(requestParameters: ConnectIntegrationsShipmentsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<CarrierConnectionResponse>;
|
|
160
|
+
/**
|
|
161
|
+
* status is the normalised vocabulary and is what to branch on; each event also carries the carrier\'s own label for display. History is newest first and is short by nature -- a parcel has a handful of scans, not a page of them. Reads < 300ms. Requires API-key scope: integrations:read.
|
|
162
|
+
* Get one tracked shipment and its scan history
|
|
163
|
+
*/
|
|
164
|
+
getIntegrationsShipmentsRaw(requestParameters: GetIntegrationsShipmentsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ShipmentResponse>>;
|
|
165
|
+
/**
|
|
166
|
+
* status is the normalised vocabulary and is what to branch on; each event also carries the carrier\'s own label for display. History is newest first and is short by nature -- a parcel has a handful of scans, not a page of them. Reads < 300ms. Requires API-key scope: integrations:read.
|
|
167
|
+
* Get one tracked shipment and its scan history
|
|
168
|
+
*/
|
|
169
|
+
getIntegrationsShipments(requestParameters: GetIntegrationsShipmentsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ShipmentResponse>;
|
|
170
|
+
/**
|
|
171
|
+
* Cursor-paginated, newest first by when tracking started here -- pass the previous response\'s nextCursor as ?cursor=; there is no page number and no total (AS-CODE-010). Filter by orderId to answer \"where are this order\'s parcels\", by status to find what is stuck, by carrier to see whether one is reporting. Rows carry each parcel\'s current state and no scan history: fetch GET /{id} for the history of one, which keeps this endpoint\'s cost independent of how often carriers scanned. Reads < 300ms. Requires API-key scope: integrations:read.
|
|
172
|
+
* List tracked parcels
|
|
173
|
+
*/
|
|
174
|
+
listIntegrationsRaw(requestParameters: ListIntegrationsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<CursorPageShipmentSummaryResponse>>;
|
|
175
|
+
/**
|
|
176
|
+
* Cursor-paginated, newest first by when tracking started here -- pass the previous response\'s nextCursor as ?cursor=; there is no page number and no total (AS-CODE-010). Filter by orderId to answer \"where are this order\'s parcels\", by status to find what is stuck, by carrier to see whether one is reporting. Rows carry each parcel\'s current state and no scan history: fetch GET /{id} for the history of one, which keeps this endpoint\'s cost independent of how often carriers scanned. Reads < 300ms. Requires API-key scope: integrations:read.
|
|
177
|
+
* List tracked parcels
|
|
178
|
+
*/
|
|
179
|
+
listIntegrations(requestParameters?: ListIntegrationsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<CursorPageShipmentSummaryResponse>;
|
|
180
|
+
/**
|
|
181
|
+
* Removes the parcel and its scan history, so no further status message is sent for it. Use this to correct a mistyped tracking number: the same number can be attached again immediately afterwards, which a stopped-but-kept row would refuse. Where the carrier supports unsubscribing -- EasyPost alone of the four -- it is also told, and carrierNotified says whether that succeeded; for the others their scans keep arriving and are dropped on receipt. Vendor round-trips < 2s. Requires API-key scope: integrations:write.
|
|
182
|
+
* Stop tracking one parcel
|
|
183
|
+
*/
|
|
184
|
+
stopTrackingRaw(requestParameters: StopTrackingRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<StopTrackingResponse>>;
|
|
185
|
+
/**
|
|
186
|
+
* Removes the parcel and its scan history, so no further status message is sent for it. Use this to correct a mistyped tracking number: the same number can be attached again immediately afterwards, which a stopped-but-kept row would refuse. Where the carrier supports unsubscribing -- EasyPost alone of the four -- it is also told, and carrierNotified says whether that succeeded; for the others their scans keep arriving and are dropped on receipt. Vendor round-trips < 2s. Requires API-key scope: integrations:write.
|
|
187
|
+
* Stop tracking one parcel
|
|
188
|
+
*/
|
|
189
|
+
stopTracking(requestParameters: StopTrackingRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<StopTrackingResponse>;
|
|
190
|
+
/**
|
|
191
|
+
* Registers the number with the carrier and starts turning its scans into customer messages, using the tenant\'s existing order-notification rules. The order must belong to this tenant. One order may have several shipments -- a split consignment notifies per parcel. Vendor round-trips < 2s. Requires API-key scope: integrations:write.
|
|
192
|
+
* Attach a tracking number to an order
|
|
193
|
+
*/
|
|
194
|
+
trackRaw(requestParameters: TrackRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ShipmentResponse>>;
|
|
195
|
+
/**
|
|
196
|
+
* Registers the number with the carrier and starts turning its scans into customer messages, using the tenant\'s existing order-notification rules. The order must belong to this tenant. One order may have several shipments -- a split consignment notifies per parcel. Vendor round-trips < 2s. Requires API-key scope: integrations:write.
|
|
197
|
+
* Attach a tracking number to an order
|
|
198
|
+
*/
|
|
199
|
+
track(requestParameters: TrackRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ShipmentResponse>;
|
|
200
|
+
}
|