@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
|
@@ -23,7 +23,7 @@ export interface SyncAnalyticsRequest {
|
|
|
23
23
|
connectionId: string;
|
|
24
24
|
xIdempotencyKey?: string;
|
|
25
25
|
}
|
|
26
|
-
export interface
|
|
26
|
+
export interface UnlinkAnalyticsRequest {
|
|
27
27
|
connectionId: string;
|
|
28
28
|
xIdempotencyKey?: string;
|
|
29
29
|
}
|
|
@@ -48,7 +48,7 @@ export interface AdAccountApiInterface {
|
|
|
48
48
|
*/
|
|
49
49
|
authorizeUrlAnalytics(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<AdsAuthorizeUrlResponse>;
|
|
50
50
|
/**
|
|
51
|
-
* Writes < 300ms. Moves the account to LINKED
|
|
51
|
+
* Writes < 300ms. Moves the account to LINKED. Its first sync — the daily job, or the sync endpoint if the tenant wants figures immediately — imports the account\'s spend history (up to 37 months), so ads that ran before linking appear; later syncs re-read the trailing window. Linking alone does not fetch anything. Requires API-key scope: analytics:write.
|
|
52
52
|
* @summary Link a Meta ad account
|
|
53
53
|
* @param {string} connectionId
|
|
54
54
|
* @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.
|
|
@@ -58,7 +58,7 @@ export interface AdAccountApiInterface {
|
|
|
58
58
|
*/
|
|
59
59
|
linkAnalyticsRaw(requestParameters: LinkAnalyticsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<AdAccountConnectionResponse>>;
|
|
60
60
|
/**
|
|
61
|
-
* Writes < 300ms. Moves the account to LINKED
|
|
61
|
+
* Writes < 300ms. Moves the account to LINKED. Its first sync — the daily job, or the sync endpoint if the tenant wants figures immediately — imports the account\'s spend history (up to 37 months), so ads that ran before linking appear; later syncs re-read the trailing window. Linking alone does not fetch anything. Requires API-key scope: analytics:write.
|
|
62
62
|
* Link a Meta ad account
|
|
63
63
|
*/
|
|
64
64
|
linkAnalytics(requestParameters: LinkAnalyticsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<AdAccountConnectionResponse>;
|
|
@@ -78,7 +78,7 @@ export interface AdAccountApiInterface {
|
|
|
78
78
|
*/
|
|
79
79
|
listAnalyticsAdaccounts(requestParameters: ListAnalyticsAdaccountsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<PageResponseAdAccountConnectionResponse>;
|
|
80
80
|
/**
|
|
81
|
-
* Writes < 5s — this endpoint deliberately waits on Meta\'s Marketing API, which is slow and rate-limited. Re-reads the trailing restatement window (default 7 days, ending yesterday) and OVERWRITES the stored figure for each (ad, day). Do not call it on page render; the daily job is the normal path. Requires API-key scope: analytics:write.
|
|
81
|
+
* Writes < 5s — this endpoint deliberately waits on Meta\'s Marketing API, which is slow and rate-limited. Re-reads the trailing restatement window (default 7 days, ending yesterday) and OVERWRITES the stored figure for each (ad, day). Exception: the account\'s first sync after linking imports its history (up to 37 months, one request per quarter) and takes correspondingly longer, once. Do not call it on page render; the daily job is the normal path. Requires API-key scope: analytics:write.
|
|
82
82
|
* @summary Sync a Meta ad account\'s spend now
|
|
83
83
|
* @param {string} connectionId
|
|
84
84
|
* @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.
|
|
@@ -88,7 +88,7 @@ export interface AdAccountApiInterface {
|
|
|
88
88
|
*/
|
|
89
89
|
syncAnalyticsRaw(requestParameters: SyncAnalyticsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<AdAccountConnectionResponse>>;
|
|
90
90
|
/**
|
|
91
|
-
* Writes < 5s — this endpoint deliberately waits on Meta\'s Marketing API, which is slow and rate-limited. Re-reads the trailing restatement window (default 7 days, ending yesterday) and OVERWRITES the stored figure for each (ad, day). Do not call it on page render; the daily job is the normal path. Requires API-key scope: analytics:write.
|
|
91
|
+
* Writes < 5s — this endpoint deliberately waits on Meta\'s Marketing API, which is slow and rate-limited. Re-reads the trailing restatement window (default 7 days, ending yesterday) and OVERWRITES the stored figure for each (ad, day). Exception: the account\'s first sync after linking imports its history (up to 37 months, one request per quarter) and takes correspondingly longer, once. Do not call it on page render; the daily job is the normal path. Requires API-key scope: analytics:write.
|
|
92
92
|
* Sync a Meta ad account\'s spend now
|
|
93
93
|
*/
|
|
94
94
|
syncAnalytics(requestParameters: SyncAnalyticsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<AdAccountConnectionResponse>;
|
|
@@ -101,12 +101,12 @@ export interface AdAccountApiInterface {
|
|
|
101
101
|
* @throws {RequiredError}
|
|
102
102
|
* @memberof AdAccountApiInterface
|
|
103
103
|
*/
|
|
104
|
-
|
|
104
|
+
unlinkAnalyticsRaw(requestParameters: UnlinkAnalyticsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<AdAccountConnectionResponse>>;
|
|
105
105
|
/**
|
|
106
106
|
* Writes < 300ms. Wipes the stored credential and stops the daily sync. Spend rows already pulled are RETAINED — historical ROAS must not change because an account was disconnected today. Reconnecting needs the OAuth flow again. Requires API-key scope: analytics:write.
|
|
107
107
|
* Unlink a Meta ad account
|
|
108
108
|
*/
|
|
109
|
-
|
|
109
|
+
unlinkAnalytics(requestParameters: UnlinkAnalyticsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<AdAccountConnectionResponse>;
|
|
110
110
|
}
|
|
111
111
|
/**
|
|
112
112
|
*
|
|
@@ -123,12 +123,12 @@ export declare class AdAccountApi extends runtime.BaseAPI implements AdAccountAp
|
|
|
123
123
|
*/
|
|
124
124
|
authorizeUrlAnalytics(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<AdsAuthorizeUrlResponse>;
|
|
125
125
|
/**
|
|
126
|
-
* Writes < 300ms. Moves the account to LINKED
|
|
126
|
+
* Writes < 300ms. Moves the account to LINKED. Its first sync — the daily job, or the sync endpoint if the tenant wants figures immediately — imports the account\'s spend history (up to 37 months), so ads that ran before linking appear; later syncs re-read the trailing window. Linking alone does not fetch anything. Requires API-key scope: analytics:write.
|
|
127
127
|
* Link a Meta ad account
|
|
128
128
|
*/
|
|
129
129
|
linkAnalyticsRaw(requestParameters: LinkAnalyticsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<AdAccountConnectionResponse>>;
|
|
130
130
|
/**
|
|
131
|
-
* Writes < 300ms. Moves the account to LINKED
|
|
131
|
+
* Writes < 300ms. Moves the account to LINKED. Its first sync — the daily job, or the sync endpoint if the tenant wants figures immediately — imports the account\'s spend history (up to 37 months), so ads that ran before linking appear; later syncs re-read the trailing window. Linking alone does not fetch anything. Requires API-key scope: analytics:write.
|
|
132
132
|
* Link a Meta ad account
|
|
133
133
|
*/
|
|
134
134
|
linkAnalytics(requestParameters: LinkAnalyticsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<AdAccountConnectionResponse>;
|
|
@@ -143,12 +143,12 @@ export declare class AdAccountApi extends runtime.BaseAPI implements AdAccountAp
|
|
|
143
143
|
*/
|
|
144
144
|
listAnalyticsAdaccounts(requestParameters: ListAnalyticsAdaccountsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<PageResponseAdAccountConnectionResponse>;
|
|
145
145
|
/**
|
|
146
|
-
* Writes < 5s — this endpoint deliberately waits on Meta\'s Marketing API, which is slow and rate-limited. Re-reads the trailing restatement window (default 7 days, ending yesterday) and OVERWRITES the stored figure for each (ad, day). Do not call it on page render; the daily job is the normal path. Requires API-key scope: analytics:write.
|
|
146
|
+
* Writes < 5s — this endpoint deliberately waits on Meta\'s Marketing API, which is slow and rate-limited. Re-reads the trailing restatement window (default 7 days, ending yesterday) and OVERWRITES the stored figure for each (ad, day). Exception: the account\'s first sync after linking imports its history (up to 37 months, one request per quarter) and takes correspondingly longer, once. Do not call it on page render; the daily job is the normal path. Requires API-key scope: analytics:write.
|
|
147
147
|
* Sync a Meta ad account\'s spend now
|
|
148
148
|
*/
|
|
149
149
|
syncAnalyticsRaw(requestParameters: SyncAnalyticsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<AdAccountConnectionResponse>>;
|
|
150
150
|
/**
|
|
151
|
-
* Writes < 5s — this endpoint deliberately waits on Meta\'s Marketing API, which is slow and rate-limited. Re-reads the trailing restatement window (default 7 days, ending yesterday) and OVERWRITES the stored figure for each (ad, day). Do not call it on page render; the daily job is the normal path. Requires API-key scope: analytics:write.
|
|
151
|
+
* Writes < 5s — this endpoint deliberately waits on Meta\'s Marketing API, which is slow and rate-limited. Re-reads the trailing restatement window (default 7 days, ending yesterday) and OVERWRITES the stored figure for each (ad, day). Exception: the account\'s first sync after linking imports its history (up to 37 months, one request per quarter) and takes correspondingly longer, once. Do not call it on page render; the daily job is the normal path. Requires API-key scope: analytics:write.
|
|
152
152
|
* Sync a Meta ad account\'s spend now
|
|
153
153
|
*/
|
|
154
154
|
syncAnalytics(requestParameters: SyncAnalyticsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<AdAccountConnectionResponse>;
|
|
@@ -156,12 +156,12 @@ export declare class AdAccountApi extends runtime.BaseAPI implements AdAccountAp
|
|
|
156
156
|
* Writes < 300ms. Wipes the stored credential and stops the daily sync. Spend rows already pulled are RETAINED — historical ROAS must not change because an account was disconnected today. Reconnecting needs the OAuth flow again. Requires API-key scope: analytics:write.
|
|
157
157
|
* Unlink a Meta ad account
|
|
158
158
|
*/
|
|
159
|
-
|
|
159
|
+
unlinkAnalyticsRaw(requestParameters: UnlinkAnalyticsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<AdAccountConnectionResponse>>;
|
|
160
160
|
/**
|
|
161
161
|
* Writes < 300ms. Wipes the stored credential and stops the daily sync. Spend rows already pulled are RETAINED — historical ROAS must not change because an account was disconnected today. Reconnecting needs the OAuth flow again. Requires API-key scope: analytics:write.
|
|
162
162
|
* Unlink a Meta ad account
|
|
163
163
|
*/
|
|
164
|
-
|
|
164
|
+
unlinkAnalytics(requestParameters: UnlinkAnalyticsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<AdAccountConnectionResponse>;
|
|
165
165
|
}
|
|
166
166
|
/**
|
|
167
167
|
* @export
|
|
@@ -88,7 +88,7 @@ class AdAccountApi extends runtime.BaseAPI {
|
|
|
88
88
|
return await response.value();
|
|
89
89
|
}
|
|
90
90
|
/**
|
|
91
|
-
* Writes < 300ms. Moves the account to LINKED
|
|
91
|
+
* Writes < 300ms. Moves the account to LINKED. Its first sync — the daily job, or the sync endpoint if the tenant wants figures immediately — imports the account\'s spend history (up to 37 months), so ads that ran before linking appear; later syncs re-read the trailing window. Linking alone does not fetch anything. Requires API-key scope: analytics:write.
|
|
92
92
|
* Link a Meta ad account
|
|
93
93
|
*/
|
|
94
94
|
async linkAnalyticsRaw(requestParameters, initOverrides) {
|
|
@@ -121,7 +121,7 @@ class AdAccountApi extends runtime.BaseAPI {
|
|
|
121
121
|
return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.AdAccountConnectionResponseFromJSON)(jsonValue));
|
|
122
122
|
}
|
|
123
123
|
/**
|
|
124
|
-
* Writes < 300ms. Moves the account to LINKED
|
|
124
|
+
* Writes < 300ms. Moves the account to LINKED. Its first sync — the daily job, or the sync endpoint if the tenant wants figures immediately — imports the account\'s spend history (up to 37 months), so ads that ran before linking appear; later syncs re-read the trailing window. Linking alone does not fetch anything. Requires API-key scope: analytics:write.
|
|
125
125
|
* Link a Meta ad account
|
|
126
126
|
*/
|
|
127
127
|
async linkAnalytics(requestParameters, initOverrides) {
|
|
@@ -172,7 +172,7 @@ class AdAccountApi extends runtime.BaseAPI {
|
|
|
172
172
|
return await response.value();
|
|
173
173
|
}
|
|
174
174
|
/**
|
|
175
|
-
* Writes < 5s — this endpoint deliberately waits on Meta\'s Marketing API, which is slow and rate-limited. Re-reads the trailing restatement window (default 7 days, ending yesterday) and OVERWRITES the stored figure for each (ad, day). Do not call it on page render; the daily job is the normal path. Requires API-key scope: analytics:write.
|
|
175
|
+
* Writes < 5s — this endpoint deliberately waits on Meta\'s Marketing API, which is slow and rate-limited. Re-reads the trailing restatement window (default 7 days, ending yesterday) and OVERWRITES the stored figure for each (ad, day). Exception: the account\'s first sync after linking imports its history (up to 37 months, one request per quarter) and takes correspondingly longer, once. Do not call it on page render; the daily job is the normal path. Requires API-key scope: analytics:write.
|
|
176
176
|
* Sync a Meta ad account\'s spend now
|
|
177
177
|
*/
|
|
178
178
|
async syncAnalyticsRaw(requestParameters, initOverrides) {
|
|
@@ -205,7 +205,7 @@ class AdAccountApi extends runtime.BaseAPI {
|
|
|
205
205
|
return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.AdAccountConnectionResponseFromJSON)(jsonValue));
|
|
206
206
|
}
|
|
207
207
|
/**
|
|
208
|
-
* Writes < 5s — this endpoint deliberately waits on Meta\'s Marketing API, which is slow and rate-limited. Re-reads the trailing restatement window (default 7 days, ending yesterday) and OVERWRITES the stored figure for each (ad, day). Do not call it on page render; the daily job is the normal path. Requires API-key scope: analytics:write.
|
|
208
|
+
* Writes < 5s — this endpoint deliberately waits on Meta\'s Marketing API, which is slow and rate-limited. Re-reads the trailing restatement window (default 7 days, ending yesterday) and OVERWRITES the stored figure for each (ad, day). Exception: the account\'s first sync after linking imports its history (up to 37 months, one request per quarter) and takes correspondingly longer, once. Do not call it on page render; the daily job is the normal path. Requires API-key scope: analytics:write.
|
|
209
209
|
* Sync a Meta ad account\'s spend now
|
|
210
210
|
*/
|
|
211
211
|
async syncAnalytics(requestParameters, initOverrides) {
|
|
@@ -216,9 +216,9 @@ class AdAccountApi extends runtime.BaseAPI {
|
|
|
216
216
|
* Writes < 300ms. Wipes the stored credential and stops the daily sync. Spend rows already pulled are RETAINED — historical ROAS must not change because an account was disconnected today. Reconnecting needs the OAuth flow again. Requires API-key scope: analytics:write.
|
|
217
217
|
* Unlink a Meta ad account
|
|
218
218
|
*/
|
|
219
|
-
async
|
|
219
|
+
async unlinkAnalyticsRaw(requestParameters, initOverrides) {
|
|
220
220
|
if (requestParameters['connectionId'] == null) {
|
|
221
|
-
throw new runtime.RequiredError('connectionId', 'Required parameter "connectionId" was null or undefined when calling
|
|
221
|
+
throw new runtime.RequiredError('connectionId', 'Required parameter "connectionId" was null or undefined when calling unlinkAnalytics().');
|
|
222
222
|
}
|
|
223
223
|
const queryParameters = {};
|
|
224
224
|
const headerParameters = {};
|
|
@@ -249,8 +249,8 @@ class AdAccountApi extends runtime.BaseAPI {
|
|
|
249
249
|
* Writes < 300ms. Wipes the stored credential and stops the daily sync. Spend rows already pulled are RETAINED — historical ROAS must not change because an account was disconnected today. Reconnecting needs the OAuth flow again. Requires API-key scope: analytics:write.
|
|
250
250
|
* Unlink a Meta ad account
|
|
251
251
|
*/
|
|
252
|
-
async
|
|
253
|
-
const response = await this.
|
|
252
|
+
async unlinkAnalytics(requestParameters, initOverrides) {
|
|
253
|
+
const response = await this.unlinkAnalyticsRaw(requestParameters, initOverrides);
|
|
254
254
|
return await response.value();
|
|
255
255
|
}
|
|
256
256
|
}
|
|
@@ -23,7 +23,7 @@ export interface RequestProductionAccessRequest {
|
|
|
23
23
|
*/
|
|
24
24
|
export interface AdminEmailReputationApiInterface {
|
|
25
25
|
/**
|
|
26
|
-
* Reads < 300ms. 204 when production access has never been requested.
|
|
26
|
+
* Reads < 300ms. 204 when production access has never been requested. Not reachable with an ask_live_* API key - needs a signed-in user\'s token.
|
|
27
27
|
* @summary The latest SES production-access request
|
|
28
28
|
* @param {*} [options] Override http request option.
|
|
29
29
|
* @throws {RequiredError}
|
|
@@ -31,12 +31,12 @@ export interface AdminEmailReputationApiInterface {
|
|
|
31
31
|
*/
|
|
32
32
|
productionAccessRequestRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ProductionAccessRequestResponse>>;
|
|
33
33
|
/**
|
|
34
|
-
* Reads < 300ms. 204 when production access has never been requested.
|
|
34
|
+
* Reads < 300ms. 204 when production access has never been requested. Not reachable with an ask_live_* API key - needs a signed-in user\'s token.
|
|
35
35
|
* The latest SES production-access request
|
|
36
36
|
*/
|
|
37
37
|
productionAccessRequest(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ProductionAccessRequestResponse>;
|
|
38
38
|
/**
|
|
39
|
-
* Reads < 300ms. Account-wide figures across every tenant — quota ceilings, trailing-24h volume, sandbox and enforcement status. `available` is false when SES could not be reached, so zeros are not mistaken for a stalled account.
|
|
39
|
+
* Reads < 300ms. Account-wide figures across every tenant — quota ceilings, trailing-24h volume, sandbox and enforcement status. `available` is false when SES could not be reached, so zeros are not mistaken for a stalled account. Not reachable with an ask_live_* API key - needs a signed-in user\'s token.
|
|
40
40
|
* @summary The shared SES account\'s sending state
|
|
41
41
|
* @param {*} [options] Override http request option.
|
|
42
42
|
* @throws {RequiredError}
|
|
@@ -44,12 +44,12 @@ export interface AdminEmailReputationApiInterface {
|
|
|
44
44
|
*/
|
|
45
45
|
reputationAdminRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<AdminEmailAccountReputationResponse>>;
|
|
46
46
|
/**
|
|
47
|
-
* Reads < 300ms. Account-wide figures across every tenant — quota ceilings, trailing-24h volume, sandbox and enforcement status. `available` is false when SES could not be reached, so zeros are not mistaken for a stalled account.
|
|
47
|
+
* Reads < 300ms. Account-wide figures across every tenant — quota ceilings, trailing-24h volume, sandbox and enforcement status. `available` is false when SES could not be reached, so zeros are not mistaken for a stalled account. Not reachable with an ask_live_* API key - needs a signed-in user\'s token.
|
|
48
48
|
* The shared SES account\'s sending state
|
|
49
49
|
*/
|
|
50
50
|
reputationAdmin(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<AdminEmailAccountReputationResponse>;
|
|
51
51
|
/**
|
|
52
|
-
* Writes < 300ms. Guided sandbox-to-production scaling flow. This applies to the SHARED sending account and therefore to every tenant at once, which is why it is an operator action rather than a tenant one.
|
|
52
|
+
* Writes < 300ms. Guided sandbox-to-production scaling flow. This applies to the SHARED sending account and therefore to every tenant at once, which is why it is an operator action rather than a tenant one. Not reachable with an ask_live_* API key - needs a signed-in user\'s token.
|
|
53
53
|
* @summary Submit a request for SES production access
|
|
54
54
|
* @param {SubmitProductionAccessRequest} submitProductionAccessRequest
|
|
55
55
|
* @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.
|
|
@@ -59,7 +59,7 @@ export interface AdminEmailReputationApiInterface {
|
|
|
59
59
|
*/
|
|
60
60
|
requestProductionAccessRaw(requestParameters: RequestProductionAccessRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ProductionAccessRequestResponse>>;
|
|
61
61
|
/**
|
|
62
|
-
* Writes < 300ms. Guided sandbox-to-production scaling flow. This applies to the SHARED sending account and therefore to every tenant at once, which is why it is an operator action rather than a tenant one.
|
|
62
|
+
* Writes < 300ms. Guided sandbox-to-production scaling flow. This applies to the SHARED sending account and therefore to every tenant at once, which is why it is an operator action rather than a tenant one. Not reachable with an ask_live_* API key - needs a signed-in user\'s token.
|
|
63
63
|
* Submit a request for SES production access
|
|
64
64
|
*/
|
|
65
65
|
requestProductionAccess(requestParameters: RequestProductionAccessRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ProductionAccessRequestResponse>;
|
|
@@ -69,32 +69,32 @@ export interface AdminEmailReputationApiInterface {
|
|
|
69
69
|
*/
|
|
70
70
|
export declare class AdminEmailReputationApi extends runtime.BaseAPI implements AdminEmailReputationApiInterface {
|
|
71
71
|
/**
|
|
72
|
-
* Reads < 300ms. 204 when production access has never been requested.
|
|
72
|
+
* Reads < 300ms. 204 when production access has never been requested. Not reachable with an ask_live_* API key - needs a signed-in user\'s token.
|
|
73
73
|
* The latest SES production-access request
|
|
74
74
|
*/
|
|
75
75
|
productionAccessRequestRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ProductionAccessRequestResponse>>;
|
|
76
76
|
/**
|
|
77
|
-
* Reads < 300ms. 204 when production access has never been requested.
|
|
77
|
+
* Reads < 300ms. 204 when production access has never been requested. Not reachable with an ask_live_* API key - needs a signed-in user\'s token.
|
|
78
78
|
* The latest SES production-access request
|
|
79
79
|
*/
|
|
80
80
|
productionAccessRequest(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ProductionAccessRequestResponse>;
|
|
81
81
|
/**
|
|
82
|
-
* Reads < 300ms. Account-wide figures across every tenant — quota ceilings, trailing-24h volume, sandbox and enforcement status. `available` is false when SES could not be reached, so zeros are not mistaken for a stalled account.
|
|
82
|
+
* Reads < 300ms. Account-wide figures across every tenant — quota ceilings, trailing-24h volume, sandbox and enforcement status. `available` is false when SES could not be reached, so zeros are not mistaken for a stalled account. Not reachable with an ask_live_* API key - needs a signed-in user\'s token.
|
|
83
83
|
* The shared SES account\'s sending state
|
|
84
84
|
*/
|
|
85
85
|
reputationAdminRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<AdminEmailAccountReputationResponse>>;
|
|
86
86
|
/**
|
|
87
|
-
* Reads < 300ms. Account-wide figures across every tenant — quota ceilings, trailing-24h volume, sandbox and enforcement status. `available` is false when SES could not be reached, so zeros are not mistaken for a stalled account.
|
|
87
|
+
* Reads < 300ms. Account-wide figures across every tenant — quota ceilings, trailing-24h volume, sandbox and enforcement status. `available` is false when SES could not be reached, so zeros are not mistaken for a stalled account. Not reachable with an ask_live_* API key - needs a signed-in user\'s token.
|
|
88
88
|
* The shared SES account\'s sending state
|
|
89
89
|
*/
|
|
90
90
|
reputationAdmin(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<AdminEmailAccountReputationResponse>;
|
|
91
91
|
/**
|
|
92
|
-
* Writes < 300ms. Guided sandbox-to-production scaling flow. This applies to the SHARED sending account and therefore to every tenant at once, which is why it is an operator action rather than a tenant one.
|
|
92
|
+
* Writes < 300ms. Guided sandbox-to-production scaling flow. This applies to the SHARED sending account and therefore to every tenant at once, which is why it is an operator action rather than a tenant one. Not reachable with an ask_live_* API key - needs a signed-in user\'s token.
|
|
93
93
|
* Submit a request for SES production access
|
|
94
94
|
*/
|
|
95
95
|
requestProductionAccessRaw(requestParameters: RequestProductionAccessRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ProductionAccessRequestResponse>>;
|
|
96
96
|
/**
|
|
97
|
-
* Writes < 300ms. Guided sandbox-to-production scaling flow. This applies to the SHARED sending account and therefore to every tenant at once, which is why it is an operator action rather than a tenant one.
|
|
97
|
+
* Writes < 300ms. Guided sandbox-to-production scaling flow. This applies to the SHARED sending account and therefore to every tenant at once, which is why it is an operator action rather than a tenant one. Not reachable with an ask_live_* API key - needs a signed-in user\'s token.
|
|
98
98
|
* Submit a request for SES production access
|
|
99
99
|
*/
|
|
100
100
|
requestProductionAccess(requestParameters: RequestProductionAccessRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ProductionAccessRequestResponse>;
|
|
@@ -54,7 +54,7 @@ const index_1 = require("../models/index");
|
|
|
54
54
|
*/
|
|
55
55
|
class AdminEmailReputationApi extends runtime.BaseAPI {
|
|
56
56
|
/**
|
|
57
|
-
* Reads < 300ms. 204 when production access has never been requested.
|
|
57
|
+
* Reads < 300ms. 204 when production access has never been requested. Not reachable with an ask_live_* API key - needs a signed-in user\'s token.
|
|
58
58
|
* The latest SES production-access request
|
|
59
59
|
*/
|
|
60
60
|
async productionAccessRequestRaw(initOverrides) {
|
|
@@ -80,7 +80,7 @@ class AdminEmailReputationApi extends runtime.BaseAPI {
|
|
|
80
80
|
return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.ProductionAccessRequestResponseFromJSON)(jsonValue));
|
|
81
81
|
}
|
|
82
82
|
/**
|
|
83
|
-
* Reads < 300ms. 204 when production access has never been requested.
|
|
83
|
+
* Reads < 300ms. 204 when production access has never been requested. Not reachable with an ask_live_* API key - needs a signed-in user\'s token.
|
|
84
84
|
* The latest SES production-access request
|
|
85
85
|
*/
|
|
86
86
|
async productionAccessRequest(initOverrides) {
|
|
@@ -88,7 +88,7 @@ class AdminEmailReputationApi extends runtime.BaseAPI {
|
|
|
88
88
|
return await response.value();
|
|
89
89
|
}
|
|
90
90
|
/**
|
|
91
|
-
* Reads < 300ms. Account-wide figures across every tenant — quota ceilings, trailing-24h volume, sandbox and enforcement status. `available` is false when SES could not be reached, so zeros are not mistaken for a stalled account.
|
|
91
|
+
* Reads < 300ms. Account-wide figures across every tenant — quota ceilings, trailing-24h volume, sandbox and enforcement status. `available` is false when SES could not be reached, so zeros are not mistaken for a stalled account. Not reachable with an ask_live_* API key - needs a signed-in user\'s token.
|
|
92
92
|
* The shared SES account\'s sending state
|
|
93
93
|
*/
|
|
94
94
|
async reputationAdminRaw(initOverrides) {
|
|
@@ -114,7 +114,7 @@ class AdminEmailReputationApi extends runtime.BaseAPI {
|
|
|
114
114
|
return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.AdminEmailAccountReputationResponseFromJSON)(jsonValue));
|
|
115
115
|
}
|
|
116
116
|
/**
|
|
117
|
-
* Reads < 300ms. Account-wide figures across every tenant — quota ceilings, trailing-24h volume, sandbox and enforcement status. `available` is false when SES could not be reached, so zeros are not mistaken for a stalled account.
|
|
117
|
+
* Reads < 300ms. Account-wide figures across every tenant — quota ceilings, trailing-24h volume, sandbox and enforcement status. `available` is false when SES could not be reached, so zeros are not mistaken for a stalled account. Not reachable with an ask_live_* API key - needs a signed-in user\'s token.
|
|
118
118
|
* The shared SES account\'s sending state
|
|
119
119
|
*/
|
|
120
120
|
async reputationAdmin(initOverrides) {
|
|
@@ -122,7 +122,7 @@ class AdminEmailReputationApi extends runtime.BaseAPI {
|
|
|
122
122
|
return await response.value();
|
|
123
123
|
}
|
|
124
124
|
/**
|
|
125
|
-
* Writes < 300ms. Guided sandbox-to-production scaling flow. This applies to the SHARED sending account and therefore to every tenant at once, which is why it is an operator action rather than a tenant one.
|
|
125
|
+
* Writes < 300ms. Guided sandbox-to-production scaling flow. This applies to the SHARED sending account and therefore to every tenant at once, which is why it is an operator action rather than a tenant one. Not reachable with an ask_live_* API key - needs a signed-in user\'s token.
|
|
126
126
|
* Submit a request for SES production access
|
|
127
127
|
*/
|
|
128
128
|
async requestProductionAccessRaw(requestParameters, initOverrides) {
|
|
@@ -156,7 +156,7 @@ class AdminEmailReputationApi extends runtime.BaseAPI {
|
|
|
156
156
|
return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.ProductionAccessRequestResponseFromJSON)(jsonValue));
|
|
157
157
|
}
|
|
158
158
|
/**
|
|
159
|
-
* Writes < 300ms. Guided sandbox-to-production scaling flow. This applies to the SHARED sending account and therefore to every tenant at once, which is why it is an operator action rather than a tenant one.
|
|
159
|
+
* Writes < 300ms. Guided sandbox-to-production scaling flow. This applies to the SHARED sending account and therefore to every tenant at once, which is why it is an operator action rather than a tenant one. Not reachable with an ask_live_* API key - needs a signed-in user\'s token.
|
|
160
160
|
* Submit a request for SES production access
|
|
161
161
|
*/
|
|
162
162
|
async requestProductionAccess(requestParameters, initOverrides) {
|
|
@@ -18,6 +18,10 @@ export interface DeregisterAdminRequest {
|
|
|
18
18
|
export interface GetAdminRequest {
|
|
19
19
|
id: string;
|
|
20
20
|
}
|
|
21
|
+
export interface IssueApiKeyRequest {
|
|
22
|
+
id: string;
|
|
23
|
+
xIdempotencyKey?: string;
|
|
24
|
+
}
|
|
21
25
|
export interface ListAdminFirstpartyappsRequest {
|
|
22
26
|
pageable: Pageable;
|
|
23
27
|
search?: string;
|
|
@@ -39,7 +43,7 @@ export interface UpdateAdminRequest {
|
|
|
39
43
|
*/
|
|
40
44
|
export interface AdminFirstPartyAppApiInterface {
|
|
41
45
|
/**
|
|
42
|
-
* Writes < 300ms. The workspace is charged normally from the next send onwards; sends already made while it was exempt stay free.
|
|
46
|
+
* Writes < 300ms. The workspace is charged normally from the next send onwards; sends already made while it was exempt stay free. The SDK credential the console issued is revoked with the registration. Not reachable with an ask_live_* API key - needs a signed-in user\'s token.
|
|
43
47
|
* @summary Remove a registration, resuming billing for that workspace
|
|
44
48
|
* @param {string} id
|
|
45
49
|
* @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.
|
|
@@ -49,12 +53,12 @@ export interface AdminFirstPartyAppApiInterface {
|
|
|
49
53
|
*/
|
|
50
54
|
deregisterAdminRaw(requestParameters: DeregisterAdminRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
|
|
51
55
|
/**
|
|
52
|
-
* Writes < 300ms. The workspace is charged normally from the next send onwards; sends already made while it was exempt stay free.
|
|
56
|
+
* Writes < 300ms. The workspace is charged normally from the next send onwards; sends already made while it was exempt stay free. The SDK credential the console issued is revoked with the registration. Not reachable with an ask_live_* API key - needs a signed-in user\'s token.
|
|
53
57
|
* Remove a registration, resuming billing for that workspace
|
|
54
58
|
*/
|
|
55
59
|
deregisterAdmin(requestParameters: DeregisterAdminRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
56
60
|
/**
|
|
57
|
-
* Reads < 300ms.
|
|
61
|
+
* Reads < 300ms. Not reachable with an ask_live_* API key - needs a signed-in user\'s token.
|
|
58
62
|
* @summary One registered first-party app
|
|
59
63
|
* @param {string} id
|
|
60
64
|
* @param {*} [options] Override http request option.
|
|
@@ -63,10 +67,25 @@ export interface AdminFirstPartyAppApiInterface {
|
|
|
63
67
|
*/
|
|
64
68
|
getAdminRaw(requestParameters: GetAdminRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<FirstPartyApp>>;
|
|
65
69
|
/**
|
|
66
|
-
* Reads < 300ms.
|
|
70
|
+
* Reads < 300ms. Not reachable with an ask_live_* API key - needs a signed-in user\'s token.
|
|
67
71
|
* One registered first-party app
|
|
68
72
|
*/
|
|
69
73
|
getAdmin(requestParameters: GetAdminRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<FirstPartyApp>;
|
|
74
|
+
/**
|
|
75
|
+
* Writes < 300ms. Rotates the secret of the app\'s live key in place (same key id), or mints a fresh key when none was ever issued or the previous one is revoked. The previous secret stops verifying immediately. The response carries the new plaintext in apiKey — the ONLY time it is shown. Not reachable with an ask_live_* API key - needs a signed-in user\'s token.
|
|
76
|
+
* @summary Issue the app\'s SDK credential, or rotate the one it has
|
|
77
|
+
* @param {string} id
|
|
78
|
+
* @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.
|
|
79
|
+
* @param {*} [options] Override http request option.
|
|
80
|
+
* @throws {RequiredError}
|
|
81
|
+
* @memberof AdminFirstPartyAppApiInterface
|
|
82
|
+
*/
|
|
83
|
+
issueApiKeyRaw(requestParameters: IssueApiKeyRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<FirstPartyApp>>;
|
|
84
|
+
/**
|
|
85
|
+
* Writes < 300ms. Rotates the secret of the app\'s live key in place (same key id), or mints a fresh key when none was ever issued or the previous one is revoked. The previous secret stops verifying immediately. The response carries the new plaintext in apiKey — the ONLY time it is shown. Not reachable with an ask_live_* API key - needs a signed-in user\'s token.
|
|
86
|
+
* Issue the app\'s SDK credential, or rotate the one it has
|
|
87
|
+
*/
|
|
88
|
+
issueApiKey(requestParameters: IssueApiKeyRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<FirstPartyApp>;
|
|
70
89
|
/**
|
|
71
90
|
* Reads < 300ms. Optionally narrowed by a term matched against the code, name or domain. Not reachable with an ask_live_* API key - needs a signed-in user\'s token.
|
|
72
91
|
* @summary List the apps that are ours
|
|
@@ -83,8 +102,8 @@ export interface AdminFirstPartyAppApiInterface {
|
|
|
83
102
|
*/
|
|
84
103
|
listAdminFirstpartyapps(requestParameters: ListAdminFirstpartyappsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<PageResponseFirstPartyApp>;
|
|
85
104
|
/**
|
|
86
|
-
* Writes < 300ms. Name the workspace by EITHER its tenant id OR its subdomain. From the next send onwards the workspace is charged nothing and is issued no invoice; nothing already charged is revisited.
|
|
87
|
-
* @summary Register one of our products, so it stops being billed
|
|
105
|
+
* Writes < 300ms. Name the workspace by EITHER its tenant id OR its subdomain. From the next send onwards the workspace is charged nothing and is issued no invoice; nothing already charged is revisited. The response carries the app\'s freshly minted ask_live_* credential in apiKey — the ONLY time it is shown. Not reachable with an ask_live_* API key - needs a signed-in user\'s token.
|
|
106
|
+
* @summary Register one of our products, so it stops being billed and gets its SDK key
|
|
88
107
|
* @param {RegisterFirstPartyAppRequest} registerFirstPartyAppRequest
|
|
89
108
|
* @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.
|
|
90
109
|
* @param {*} [options] Override http request option.
|
|
@@ -93,12 +112,12 @@ export interface AdminFirstPartyAppApiInterface {
|
|
|
93
112
|
*/
|
|
94
113
|
registerAdminRaw(requestParameters: RegisterAdminRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<FirstPartyApp>>;
|
|
95
114
|
/**
|
|
96
|
-
* Writes < 300ms. Name the workspace by EITHER its tenant id OR its subdomain. From the next send onwards the workspace is charged nothing and is issued no invoice; nothing already charged is revisited.
|
|
97
|
-
* Register one of our products, so it stops being billed
|
|
115
|
+
* Writes < 300ms. Name the workspace by EITHER its tenant id OR its subdomain. From the next send onwards the workspace is charged nothing and is issued no invoice; nothing already charged is revisited. The response carries the app\'s freshly minted ask_live_* credential in apiKey — the ONLY time it is shown. Not reachable with an ask_live_* API key - needs a signed-in user\'s token.
|
|
116
|
+
* Register one of our products, so it stops being billed and gets its SDK key
|
|
98
117
|
*/
|
|
99
118
|
registerAdmin(requestParameters: RegisterAdminRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<FirstPartyApp>;
|
|
100
119
|
/**
|
|
101
|
-
* Writes < 300ms. Omitted fields are left as they were. Setting billingExempt to false resumes charging the workspace while keeping the record that it is ours.
|
|
120
|
+
* Writes < 300ms. Omitted fields are left as they were. Setting billingExempt to false resumes charging the workspace while keeping the record that it is ours. Not reachable with an ask_live_* API key - needs a signed-in user\'s token.
|
|
102
121
|
* @summary Change a registration, or switch its billing back on
|
|
103
122
|
* @param {string} id
|
|
104
123
|
* @param {UpdateFirstPartyAppRequest} updateFirstPartyAppRequest
|
|
@@ -109,7 +128,7 @@ export interface AdminFirstPartyAppApiInterface {
|
|
|
109
128
|
*/
|
|
110
129
|
updateAdminRaw(requestParameters: UpdateAdminRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<FirstPartyApp>>;
|
|
111
130
|
/**
|
|
112
|
-
* Writes < 300ms. Omitted fields are left as they were. Setting billingExempt to false resumes charging the workspace while keeping the record that it is ours.
|
|
131
|
+
* Writes < 300ms. Omitted fields are left as they were. Setting billingExempt to false resumes charging the workspace while keeping the record that it is ours. Not reachable with an ask_live_* API key - needs a signed-in user\'s token.
|
|
113
132
|
* Change a registration, or switch its billing back on
|
|
114
133
|
*/
|
|
115
134
|
updateAdmin(requestParameters: UpdateAdminRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<FirstPartyApp>;
|
|
@@ -119,25 +138,35 @@ export interface AdminFirstPartyAppApiInterface {
|
|
|
119
138
|
*/
|
|
120
139
|
export declare class AdminFirstPartyAppApi extends runtime.BaseAPI implements AdminFirstPartyAppApiInterface {
|
|
121
140
|
/**
|
|
122
|
-
* Writes < 300ms. The workspace is charged normally from the next send onwards; sends already made while it was exempt stay free.
|
|
141
|
+
* Writes < 300ms. The workspace is charged normally from the next send onwards; sends already made while it was exempt stay free. The SDK credential the console issued is revoked with the registration. Not reachable with an ask_live_* API key - needs a signed-in user\'s token.
|
|
123
142
|
* Remove a registration, resuming billing for that workspace
|
|
124
143
|
*/
|
|
125
144
|
deregisterAdminRaw(requestParameters: DeregisterAdminRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
|
|
126
145
|
/**
|
|
127
|
-
* Writes < 300ms. The workspace is charged normally from the next send onwards; sends already made while it was exempt stay free.
|
|
146
|
+
* Writes < 300ms. The workspace is charged normally from the next send onwards; sends already made while it was exempt stay free. The SDK credential the console issued is revoked with the registration. Not reachable with an ask_live_* API key - needs a signed-in user\'s token.
|
|
128
147
|
* Remove a registration, resuming billing for that workspace
|
|
129
148
|
*/
|
|
130
149
|
deregisterAdmin(requestParameters: DeregisterAdminRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
131
150
|
/**
|
|
132
|
-
* Reads < 300ms.
|
|
151
|
+
* Reads < 300ms. Not reachable with an ask_live_* API key - needs a signed-in user\'s token.
|
|
133
152
|
* One registered first-party app
|
|
134
153
|
*/
|
|
135
154
|
getAdminRaw(requestParameters: GetAdminRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<FirstPartyApp>>;
|
|
136
155
|
/**
|
|
137
|
-
* Reads < 300ms.
|
|
156
|
+
* Reads < 300ms. Not reachable with an ask_live_* API key - needs a signed-in user\'s token.
|
|
138
157
|
* One registered first-party app
|
|
139
158
|
*/
|
|
140
159
|
getAdmin(requestParameters: GetAdminRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<FirstPartyApp>;
|
|
160
|
+
/**
|
|
161
|
+
* Writes < 300ms. Rotates the secret of the app\'s live key in place (same key id), or mints a fresh key when none was ever issued or the previous one is revoked. The previous secret stops verifying immediately. The response carries the new plaintext in apiKey — the ONLY time it is shown. Not reachable with an ask_live_* API key - needs a signed-in user\'s token.
|
|
162
|
+
* Issue the app\'s SDK credential, or rotate the one it has
|
|
163
|
+
*/
|
|
164
|
+
issueApiKeyRaw(requestParameters: IssueApiKeyRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<FirstPartyApp>>;
|
|
165
|
+
/**
|
|
166
|
+
* Writes < 300ms. Rotates the secret of the app\'s live key in place (same key id), or mints a fresh key when none was ever issued or the previous one is revoked. The previous secret stops verifying immediately. The response carries the new plaintext in apiKey — the ONLY time it is shown. Not reachable with an ask_live_* API key - needs a signed-in user\'s token.
|
|
167
|
+
* Issue the app\'s SDK credential, or rotate the one it has
|
|
168
|
+
*/
|
|
169
|
+
issueApiKey(requestParameters: IssueApiKeyRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<FirstPartyApp>;
|
|
141
170
|
/**
|
|
142
171
|
* Reads < 300ms. Optionally narrowed by a term matched against the code, name or domain. Not reachable with an ask_live_* API key - needs a signed-in user\'s token.
|
|
143
172
|
* List the apps that are ours
|
|
@@ -149,22 +178,22 @@ export declare class AdminFirstPartyAppApi extends runtime.BaseAPI implements Ad
|
|
|
149
178
|
*/
|
|
150
179
|
listAdminFirstpartyapps(requestParameters: ListAdminFirstpartyappsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<PageResponseFirstPartyApp>;
|
|
151
180
|
/**
|
|
152
|
-
* Writes < 300ms. Name the workspace by EITHER its tenant id OR its subdomain. From the next send onwards the workspace is charged nothing and is issued no invoice; nothing already charged is revisited.
|
|
153
|
-
* Register one of our products, so it stops being billed
|
|
181
|
+
* Writes < 300ms. Name the workspace by EITHER its tenant id OR its subdomain. From the next send onwards the workspace is charged nothing and is issued no invoice; nothing already charged is revisited. The response carries the app\'s freshly minted ask_live_* credential in apiKey — the ONLY time it is shown. Not reachable with an ask_live_* API key - needs a signed-in user\'s token.
|
|
182
|
+
* Register one of our products, so it stops being billed and gets its SDK key
|
|
154
183
|
*/
|
|
155
184
|
registerAdminRaw(requestParameters: RegisterAdminRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<FirstPartyApp>>;
|
|
156
185
|
/**
|
|
157
|
-
* Writes < 300ms. Name the workspace by EITHER its tenant id OR its subdomain. From the next send onwards the workspace is charged nothing and is issued no invoice; nothing already charged is revisited.
|
|
158
|
-
* Register one of our products, so it stops being billed
|
|
186
|
+
* Writes < 300ms. Name the workspace by EITHER its tenant id OR its subdomain. From the next send onwards the workspace is charged nothing and is issued no invoice; nothing already charged is revisited. The response carries the app\'s freshly minted ask_live_* credential in apiKey — the ONLY time it is shown. Not reachable with an ask_live_* API key - needs a signed-in user\'s token.
|
|
187
|
+
* Register one of our products, so it stops being billed and gets its SDK key
|
|
159
188
|
*/
|
|
160
189
|
registerAdmin(requestParameters: RegisterAdminRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<FirstPartyApp>;
|
|
161
190
|
/**
|
|
162
|
-
* Writes < 300ms. Omitted fields are left as they were. Setting billingExempt to false resumes charging the workspace while keeping the record that it is ours.
|
|
191
|
+
* Writes < 300ms. Omitted fields are left as they were. Setting billingExempt to false resumes charging the workspace while keeping the record that it is ours. Not reachable with an ask_live_* API key - needs a signed-in user\'s token.
|
|
163
192
|
* Change a registration, or switch its billing back on
|
|
164
193
|
*/
|
|
165
194
|
updateAdminRaw(requestParameters: UpdateAdminRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<FirstPartyApp>>;
|
|
166
195
|
/**
|
|
167
|
-
* Writes < 300ms. Omitted fields are left as they were. Setting billingExempt to false resumes charging the workspace while keeping the record that it is ours.
|
|
196
|
+
* Writes < 300ms. Omitted fields are left as they were. Setting billingExempt to false resumes charging the workspace while keeping the record that it is ours. Not reachable with an ask_live_* API key - needs a signed-in user\'s token.
|
|
168
197
|
* Change a registration, or switch its billing back on
|
|
169
198
|
*/
|
|
170
199
|
updateAdmin(requestParameters: UpdateAdminRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<FirstPartyApp>;
|
|
@@ -54,7 +54,7 @@ const index_1 = require("../models/index");
|
|
|
54
54
|
*/
|
|
55
55
|
class AdminFirstPartyAppApi extends runtime.BaseAPI {
|
|
56
56
|
/**
|
|
57
|
-
* Writes < 300ms. The workspace is charged normally from the next send onwards; sends already made while it was exempt stay free.
|
|
57
|
+
* Writes < 300ms. The workspace is charged normally from the next send onwards; sends already made while it was exempt stay free. The SDK credential the console issued is revoked with the registration. Not reachable with an ask_live_* API key - needs a signed-in user\'s token.
|
|
58
58
|
* Remove a registration, resuming billing for that workspace
|
|
59
59
|
*/
|
|
60
60
|
async deregisterAdminRaw(requestParameters, initOverrides) {
|
|
@@ -87,14 +87,14 @@ class AdminFirstPartyAppApi extends runtime.BaseAPI {
|
|
|
87
87
|
return new runtime.VoidApiResponse(response);
|
|
88
88
|
}
|
|
89
89
|
/**
|
|
90
|
-
* Writes < 300ms. The workspace is charged normally from the next send onwards; sends already made while it was exempt stay free.
|
|
90
|
+
* Writes < 300ms. The workspace is charged normally from the next send onwards; sends already made while it was exempt stay free. The SDK credential the console issued is revoked with the registration. Not reachable with an ask_live_* API key - needs a signed-in user\'s token.
|
|
91
91
|
* Remove a registration, resuming billing for that workspace
|
|
92
92
|
*/
|
|
93
93
|
async deregisterAdmin(requestParameters, initOverrides) {
|
|
94
94
|
await this.deregisterAdminRaw(requestParameters, initOverrides);
|
|
95
95
|
}
|
|
96
96
|
/**
|
|
97
|
-
* Reads < 300ms.
|
|
97
|
+
* Reads < 300ms. Not reachable with an ask_live_* API key - needs a signed-in user\'s token.
|
|
98
98
|
* One registered first-party app
|
|
99
99
|
*/
|
|
100
100
|
async getAdminRaw(requestParameters, initOverrides) {
|
|
@@ -124,13 +124,54 @@ class AdminFirstPartyAppApi extends runtime.BaseAPI {
|
|
|
124
124
|
return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.FirstPartyAppFromJSON)(jsonValue));
|
|
125
125
|
}
|
|
126
126
|
/**
|
|
127
|
-
* Reads < 300ms.
|
|
127
|
+
* Reads < 300ms. Not reachable with an ask_live_* API key - needs a signed-in user\'s token.
|
|
128
128
|
* One registered first-party app
|
|
129
129
|
*/
|
|
130
130
|
async getAdmin(requestParameters, initOverrides) {
|
|
131
131
|
const response = await this.getAdminRaw(requestParameters, initOverrides);
|
|
132
132
|
return await response.value();
|
|
133
133
|
}
|
|
134
|
+
/**
|
|
135
|
+
* Writes < 300ms. Rotates the secret of the app\'s live key in place (same key id), or mints a fresh key when none was ever issued or the previous one is revoked. The previous secret stops verifying immediately. The response carries the new plaintext in apiKey — the ONLY time it is shown. Not reachable with an ask_live_* API key - needs a signed-in user\'s token.
|
|
136
|
+
* Issue the app\'s SDK credential, or rotate the one it has
|
|
137
|
+
*/
|
|
138
|
+
async issueApiKeyRaw(requestParameters, initOverrides) {
|
|
139
|
+
if (requestParameters['id'] == null) {
|
|
140
|
+
throw new runtime.RequiredError('id', 'Required parameter "id" was null or undefined when calling issueApiKey().');
|
|
141
|
+
}
|
|
142
|
+
const queryParameters = {};
|
|
143
|
+
const headerParameters = {};
|
|
144
|
+
if (requestParameters['xIdempotencyKey'] != null) {
|
|
145
|
+
headerParameters['X-Idempotency-Key'] = String(requestParameters['xIdempotencyKey']);
|
|
146
|
+
}
|
|
147
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
148
|
+
headerParameters["X-Api-Key"] = await this.configuration.apiKey("X-Api-Key"); // ApiKeyAuth authentication
|
|
149
|
+
}
|
|
150
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
151
|
+
const token = this.configuration.accessToken;
|
|
152
|
+
const tokenString = await token("BearerAuth", []);
|
|
153
|
+
if (tokenString) {
|
|
154
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
155
|
+
}
|
|
156
|
+
}
|
|
157
|
+
let urlPath = `/api/v1/admin/first-party-apps/{id}/api-key`;
|
|
158
|
+
urlPath = urlPath.replace(`{${"id"}}`, encodeURIComponent(String(requestParameters['id'])));
|
|
159
|
+
const response = await this.request({
|
|
160
|
+
path: urlPath,
|
|
161
|
+
method: 'POST',
|
|
162
|
+
headers: headerParameters,
|
|
163
|
+
query: queryParameters,
|
|
164
|
+
}, initOverrides);
|
|
165
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.FirstPartyAppFromJSON)(jsonValue));
|
|
166
|
+
}
|
|
167
|
+
/**
|
|
168
|
+
* Writes < 300ms. Rotates the secret of the app\'s live key in place (same key id), or mints a fresh key when none was ever issued or the previous one is revoked. The previous secret stops verifying immediately. The response carries the new plaintext in apiKey — the ONLY time it is shown. Not reachable with an ask_live_* API key - needs a signed-in user\'s token.
|
|
169
|
+
* Issue the app\'s SDK credential, or rotate the one it has
|
|
170
|
+
*/
|
|
171
|
+
async issueApiKey(requestParameters, initOverrides) {
|
|
172
|
+
const response = await this.issueApiKeyRaw(requestParameters, initOverrides);
|
|
173
|
+
return await response.value();
|
|
174
|
+
}
|
|
134
175
|
/**
|
|
135
176
|
* Reads < 300ms. Optionally narrowed by a term matched against the code, name or domain. Not reachable with an ask_live_* API key - needs a signed-in user\'s token.
|
|
136
177
|
* List the apps that are ours
|
|
@@ -175,8 +216,8 @@ class AdminFirstPartyAppApi extends runtime.BaseAPI {
|
|
|
175
216
|
return await response.value();
|
|
176
217
|
}
|
|
177
218
|
/**
|
|
178
|
-
* Writes < 300ms. Name the workspace by EITHER its tenant id OR its subdomain. From the next send onwards the workspace is charged nothing and is issued no invoice; nothing already charged is revisited.
|
|
179
|
-
* Register one of our products, so it stops being billed
|
|
219
|
+
* Writes < 300ms. Name the workspace by EITHER its tenant id OR its subdomain. From the next send onwards the workspace is charged nothing and is issued no invoice; nothing already charged is revisited. The response carries the app\'s freshly minted ask_live_* credential in apiKey — the ONLY time it is shown. Not reachable with an ask_live_* API key - needs a signed-in user\'s token.
|
|
220
|
+
* Register one of our products, so it stops being billed and gets its SDK key
|
|
180
221
|
*/
|
|
181
222
|
async registerAdminRaw(requestParameters, initOverrides) {
|
|
182
223
|
if (requestParameters['registerFirstPartyAppRequest'] == null) {
|
|
@@ -209,15 +250,15 @@ class AdminFirstPartyAppApi extends runtime.BaseAPI {
|
|
|
209
250
|
return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.FirstPartyAppFromJSON)(jsonValue));
|
|
210
251
|
}
|
|
211
252
|
/**
|
|
212
|
-
* Writes < 300ms. Name the workspace by EITHER its tenant id OR its subdomain. From the next send onwards the workspace is charged nothing and is issued no invoice; nothing already charged is revisited.
|
|
213
|
-
* Register one of our products, so it stops being billed
|
|
253
|
+
* Writes < 300ms. Name the workspace by EITHER its tenant id OR its subdomain. From the next send onwards the workspace is charged nothing and is issued no invoice; nothing already charged is revisited. The response carries the app\'s freshly minted ask_live_* credential in apiKey — the ONLY time it is shown. Not reachable with an ask_live_* API key - needs a signed-in user\'s token.
|
|
254
|
+
* Register one of our products, so it stops being billed and gets its SDK key
|
|
214
255
|
*/
|
|
215
256
|
async registerAdmin(requestParameters, initOverrides) {
|
|
216
257
|
const response = await this.registerAdminRaw(requestParameters, initOverrides);
|
|
217
258
|
return await response.value();
|
|
218
259
|
}
|
|
219
260
|
/**
|
|
220
|
-
* Writes < 300ms. Omitted fields are left as they were. Setting billingExempt to false resumes charging the workspace while keeping the record that it is ours.
|
|
261
|
+
* Writes < 300ms. Omitted fields are left as they were. Setting billingExempt to false resumes charging the workspace while keeping the record that it is ours. Not reachable with an ask_live_* API key - needs a signed-in user\'s token.
|
|
221
262
|
* Change a registration, or switch its billing back on
|
|
222
263
|
*/
|
|
223
264
|
async updateAdminRaw(requestParameters, initOverrides) {
|
|
@@ -255,7 +296,7 @@ class AdminFirstPartyAppApi extends runtime.BaseAPI {
|
|
|
255
296
|
return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.FirstPartyAppFromJSON)(jsonValue));
|
|
256
297
|
}
|
|
257
298
|
/**
|
|
258
|
-
* Writes < 300ms. Omitted fields are left as they were. Setting billingExempt to false resumes charging the workspace while keeping the record that it is ours.
|
|
299
|
+
* Writes < 300ms. Omitted fields are left as they were. Setting billingExempt to false resumes charging the workspace while keeping the record that it is ours. Not reachable with an ask_live_* API key - needs a signed-in user\'s token.
|
|
259
300
|
* Change a registration, or switch its billing back on
|
|
260
301
|
*/
|
|
261
302
|
async updateAdmin(requestParameters, initOverrides) {
|