palbase 0.78.1 → 0.79.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/ai/index.js +2 -2
- package/dist/ai-sdk/index.js +2 -2
- package/dist/backend/engine.js +2 -2
- package/dist/backend/env.js +1 -1
- package/dist/backend/index.js +3 -3
- package/dist/backend/stack.js +1 -1
- package/dist/backend/test.js +2 -2
- package/dist/chunks/{5KGMQFET.js → 6ATOAAF5.js} +1 -1
- package/dist/chunks/{3XF644A5.js → 6OSSTYNI.js} +2 -2
- package/dist/chunks/{L63FWRZX.js → 7S3FQENY.js} +2 -2
- package/dist/chunks/{IO5HB5B6.js → 7Y5BCID4.js} +2 -2
- package/dist/chunks/{VNUCKM7H.js → H54MZKCJ.js} +1 -1
- package/dist/chunks/{QWKOKJKM.js → H6J3ET7R.js} +1 -1
- package/dist/chunks/{LONPNPNX.js → IXCF3WHZ.js} +2 -2
- package/dist/chunks/JU5VP7GA.js +13 -0
- package/dist/chunks/{6Y4ICGZ7.js → KXKIZ3ZM.js} +2 -2
- package/dist/chunks/{4XE4HLPK.js → KZ2PTXAO.js} +2 -2
- package/dist/chunks/L3CVM7BS.js +2 -0
- package/dist/chunks/{JY7YG3BO.js → M5R7OBNV.js} +2 -2
- package/dist/chunks/{LXS7JHPJ.js → M64773TP.js} +2 -2
- package/dist/chunks/{35KQJQ77.js → MLCAO5BP.js} +2 -2
- package/dist/chunks/{ZBTOHVML.js → NFCM74MS.js} +2 -2
- package/dist/chunks/{TFPVJ3C3.js → OYYGUGM3.js} +2 -2
- package/dist/chunks/{25KG2TVU.js → PPZGWRCM.js} +1 -1
- package/dist/chunks/{ROV6TJZK.js → Q5J5SAQN.js} +1 -1
- package/dist/chunks/{2T3EX52E.js → R3HD47TY.js} +1 -1
- package/dist/chunks/{WTFMJKDB.js → RH33COMI.js} +2 -2
- package/dist/chunks/{ZIHVYOXE.js → V3FMVRBO.js} +2 -2
- package/dist/chunks/{UUDOMSKW.js → XKVQ4IQL.js} +2 -2
- package/dist/chunks/{EUMY6SCM.js → Y4V3NO2R.js} +1 -1
- package/dist/chunks/{RB4JQXKZ.js → Z3MUYA3L.js} +2 -2
- package/dist/chunks/{FCCX2OTM.js → ZWTD6MI2.js} +2 -2
- package/dist/cli.js +4 -3
- package/dist/cloud/index.js +2 -2
- package/dist/refuse/ai-sdk.js +1 -1
- package/dist/refuse/ai.js +1 -1
- package/dist/refuse/backend.js +1 -1
- package/dist/refuse/cloud.js +1 -1
- package/dist/refuse/server.js +1 -1
- package/dist/server/index.js +2 -2
- package/dist/server/testing.js +2 -2
- package/dist/web/index.js +2 -2
- package/dist/web/message.js +2 -2
- package/dist/web/palbe.js +2 -2
- package/dist/web/payments-ui.js +2 -2
- package/dist/web/paywall.js +2 -2
- package/dist/web/push-sw.js +1 -1
- package/dist/web/ssr.js +2 -2
- package/dist/web/vite.js +2 -2
- package/package.json +2 -2
- package/types/cloud/src/generated/project.d.ts +2 -2
- package/types/internal/src/chat.d.ts +17 -0
- package/types/internal/src/modules/ai.d.ts +48 -3
- package/types/internal/src/modules/commerce.d.ts +38 -12
- package/types/internal/src/modules/events.d.ts +2 -2
- package/types/internal/src/modules/iap.d.ts +112 -101
- package/types/internal/src/modules/payments.d.ts +828 -18
- package/types/web/src/chat.d.ts +4 -2
- package/dist/chunks/3TJFV35H.js +0 -2
- package/dist/chunks/426QPZNS.js +0 -13
|
@@ -9,12 +9,12 @@ export interface Project {
|
|
|
9
9
|
campaigns: Pick<modules.campaigns.Client, "listBroadcasts" | "createBroadcast" | "recordBroadcastConversion" | "getBroadcast" | "updateBroadcast" | "deleteBroadcast" | "cancelBroadcast" | "pauseBroadcast" | "startBroadcast" | "getBroadcastStats" | "listTrackingLinks" | "createTrackingLink" | "attributeLinkConversion" | "getTrackingLink" | "updateTrackingLink" | "deleteTrackingLink" | "getTrackingLinkStats" | "listOnSiteCampaigns" | "createOnSiteCampaign" | "createOnSiteImpression" | "recordOnSiteEvent" | "listOnSiteMessages" | "getOnSiteSettings" | "putOnSiteSettings" | "listOnSiteTemplates" | "getOnSiteCampaign" | "updateOnSiteCampaign" | "deleteOnSiteCampaign" | "getOnSiteCampaignStats">;
|
|
10
10
|
commerce: Pick<modules.commerce.Client, "listBrands" | "createBrand" | "createCart" | "getCart" | "updateCart" | "checkoutCart" | "addCartItem" | "deleteCartItem" | "updateCartItem" | "applyCartPromoCode" | "removeCartPromoCode" | "selectCartShipping" | "storefrontListBrands" | "storefrontListCategories" | "storefrontListChannels" | "storefrontListCollections" | "storefrontListProducts" | "storefrontSearchProducts" | "storefrontSuggest" | "storefrontRecommendProducts" | "storefrontProductRecommendations" | "storefrontGetProduct" | "storefrontListProductReviews" | "storefrontListRegions" | "storefrontListStores" | "storefrontGetStore" | "storefrontListStoreReviews" | "listCategories" | "createCategory" | "listChannels" | "createChannel" | "attachChannelRegion" | "attachChannelStore" | "detachChannelStore" | "listCollections" | "createCollection" | "addCollectionProduct" | "removeCollectionProduct" | "createDigitalAsset" | "updateFulfillment" | "addShipmentEvent" | "listDiscoveryStrategies" | "createDiscoveryStrategy" | "getDiscoveryStrategy" | "deleteDiscoveryStrategy" | "updateDiscoveryStrategy" | "listMerchandisingRules" | "createMerchandisingRule" | "getMerchandisingRule" | "deleteMerchandisingRule" | "updateMerchandisingRule" | "listSearchSynonyms" | "createSearchSynonym" | "deleteSearchSynonym" | "refreshDiscoverySignals" | "listHooks" | "upsertHook" | "deleteHook" | "listInventory" | "adjustInventory" | "bulkSyncInventory" | "listInventoryMovements" | "listInvoices" | "createInvoice" | "updateInvoice" | "listListings" | "createListing" | "updateListing" | "importLicenseKeys" | "upsertPrice" | "createMediaAsset" | "listOrders" | "getGuestOrder" | "getOrder" | "markOrderPaid" | "listPriceLists" | "createPriceList" | "listProducts" | "createProduct" | "createQuickProduct" | "getProduct" | "updateProduct" | "approveProduct" | "upsertProductOption" | "createVariant" | "listRegions" | "createRegion" | "updateRegion" | "listReturns" | "approveReturn" | "rejectReturn" | "completeReturn" | "receiveReturn" | "adminListReviews" | "adminDeleteReview" | "adminModerateReview" | "getCommerceSettings" | "updateCommerceSettings" | "listSettlements" | "generateSettlement" | "markSettlementPaid" | "listShippingOptions" | "createShippingOption" | "listShippingProfiles" | "createShippingProfile" | "listStockLocations" | "createStockLocation" | "listStoreOrders" | "getStoreOrder" | "cancelStoreOrder" | "createFulfillment" | "createReturn" | "listStores" | "createStore" | "getStore" | "updateStore" | "sellerUpdateFulfillment" | "sellerAddShipmentEvent" | "sellerListInventory" | "sellerAdjustInventory" | "sellerBulkSyncInventory" | "sellerListListings" | "sellerCreateListing" | "sellerUpdateListing" | "sellerImportLicenseKeys" | "sellerUpsertPrice" | "sellerListStockLocations" | "sellerCreateStockLocation" | "addStoreMember" | "removeStoreMember" | "sellerGetMetrics" | "sellerListStoreOrders" | "sellerGetStoreOrder" | "sellerCancelStoreOrder" | "sellerCreateFulfillment" | "onboardStorePaymentAccount" | "sellerOnboardPayouts" | "sellerOnboardingLink" | "sellerListProducts" | "sellerCreateProduct" | "sellerCreateQuickProduct" | "sellerCreatePromotionRule" | "sellerListReturns" | "sellerApproveReturn" | "sellerRejectReturn" | "sellerCompleteReturn" | "sellerReceiveReturn" | "sellerListReviews" | "sellerReplyReview" | "sellerListSettlements" | "sellerCreateShippingOption" | "listTaxRates" | "upsertTaxRate" | "updateVariant" | "setBundleItems" | "recomputeVariantBuyBox" | "revokePromotionCode" | "evaluatePromotions" | "holdPromotions" | "commitPromotionHold" | "releasePromotionHold" | "listPromotionRedemptions" | "reversePromotionRedemption" | "listPromotionRules" | "createPromotionRule" | "getPromotionRule" | "archivePromotionRule" | "updatePromotionRule" | "upsertPromotionBudget" | "listPromotionCodes" | "createPromotionCode" | "generatePromotionCodeBatch">;
|
|
11
11
|
flags: Pick<modules.flags.Client, "getValues" | "batchUserValues" | "getDelta" | "getEvaluations" | "listExperiments" | "startExperiment" | "getExperiment" | "getExperimentResults" | "stopExperiment" | "declareExperimentWinner" | "getCurrentInstallations" | "getInstallationsDaily" | "getSnapshot" | "listDefinitions" | "getDefinition" | "putDefinition" | "deleteDefinition" | "activateTemplates" | "getActiveTemplate" | "getTemplateCapabilities" | "getTemplateDraft" | "createTemplateDraft" | "discardTemplateDraft" | "putTemplateParameter" | "removeTemplateParameter" | "reviewTemplateDraft" | "publishTemplate" | "getPublishReceipt" | "restoreTemplateVersion" | "listTemplateVersions" | "getTemplateVersion" | "getUserValues" | "putUserValues" | "deleteUserValues" | "putUserValue" | "deleteUserValue">;
|
|
12
|
-
iap: Pick<modules.iap.Client, "getAppleAccount" | "disconnectApple" | "createAppleGrant" | "getAppleReadiness" | "setXcodeCertificate" | "clearXcodeCertificate" | "setXcodeOfferKey" | "getCatalog" | "saveCatalog" | "planCatalog" | "getCatalogPlan" | "confirmCatalogPlan" | "declineCatalogPlan" | "listCatalogRevisions" | "getCatalogRevision" | "restoreCatalogRevision" | "validateCatalog" | "listCharts" | "getChartsOverview" | "getChart" | "createCheckout" | "createCheckoutRedemption" | "listCoupons" | "createCoupon" | "getCoupon" | "revokeCoupon" | "listCouponCodes" | "searchCustomers" | "getCustomer" | "grantCredits" | "listCreditEntries" | "forgiveCredits" | "listCustomerGrants" | "grantEntitlement" | "revokeGrant" | "getCustomerHistory" | "holdSpend" | "setCustomerLimit" | "clearCustomerLimit" | "grantLimit" | "spend" | "commitSpend" | "extendHold" | "releaseSpend" | "reverseSpend" | "cancelSubscription" | "extendSubscription" | "refundSubscription" | "listExperiments" | "startExperiment" | "getExperiment" | "getExperimentResults" | "stopExperiment" | "declareExperimentWinner" | "getGoogleAccount" | "connectGoogle" | "disconnectGoogle" | "getOfferings" | "getOfferStats" | "listPaywalls" | "createPaywall" | "listPaywallAssets" | "registerPaywallAsset" | "deletePaywallAsset" | "listPaywallTemplates" | "getPaywallTemplateAsset" | "validatePaywall" | "getPaywall" | "deletePaywall" | "savePaywallDraft" | "publishPaywall" | "listPaywallVersions" | "getPaywallVersion" | "listPlacements" | "listAttributeKeys" | "setPlacement" | "deletePlacement" | "recordPaywallExposure" | "getPlacementPaywall" | "previewPlacement" | "getPlacementResults" | "getPlacementRules" | "setPlacementRules" | "getSettings" | "updateSettings">;
|
|
12
|
+
iap: Pick<modules.iap.Client, "getAppleAccount" | "disconnectApple" | "createAppleGrant" | "getAppleReadiness" | "setXcodeCertificate" | "clearXcodeCertificate" | "setXcodeOfferKey" | "getCatalog" | "saveCatalog" | "planCatalog" | "getCatalogPlan" | "confirmCatalogPlan" | "declineCatalogPlan" | "listCatalogRevisions" | "getCatalogRevision" | "restoreCatalogRevision" | "validateCatalog" | "listCharts" | "getChartsOverview" | "getChart" | "createCheckout" | "createCheckoutRedemption" | "listCoupons" | "createCoupon" | "getCoupon" | "revokeCoupon" | "listCouponCodes" | "searchCustomers" | "getCustomer" | "grantCredits" | "listCreditEntries" | "forgiveCredits" | "listCustomerGrants" | "grantEntitlement" | "revokeGrant" | "getCustomerHistory" | "holdSpend" | "setCustomerLimit" | "clearCustomerLimit" | "grantLimit" | "spend" | "commitSpend" | "extendHold" | "releaseSpend" | "reverseSpend" | "cancelSubscription" | "extendSubscription" | "refundSubscription" | "listExperiments" | "startExperiment" | "getExperiment" | "getExperimentResults" | "stopExperiment" | "declareExperimentWinner" | "getGoogleAccount" | "connectGoogle" | "disconnectGoogle" | "getOfferings" | "getOfferStats" | "listPaywalls" | "createPaywall" | "listPaywallAssets" | "registerPaywallAsset" | "deletePaywallAsset" | "listPaywallTemplates" | "getPaywallTemplateAsset" | "validatePaywall" | "getPaywall" | "deletePaywall" | "savePaywallDraft" | "publishPaywall" | "listPaywallVersions" | "getPaywallVersion" | "listPlacements" | "listAttributeKeys" | "setPlacement" | "deletePlacement" | "recordPaywallExposure" | "getPlacementPaywall" | "previewPlacement" | "getPlacementResults" | "getPlacementRules" | "setPlacementRules" | "createPortalSession" | "getSettings" | "updateSettings">;
|
|
13
13
|
journeys: Pick<modules.journeys.Client, "listJourneys" | "createJourney" | "listBlueprints" | "listPersonRuns" | "simulateJourney" | "listStoreBlueprints" | "activateStoreBlueprint" | "deleteStoreBlueprint" | "validateJourney" | "getJourney" | "updateJourney" | "deleteJourney" | "copyJourney" | "publishJourney" | "listJourneyRuns" | "getJourneyStats" | "stopJourney" | "testJourney">;
|
|
14
14
|
machines: Pick<modules.machines.Client, "listMachines" | "createMachine" | "listMachineSizes" | "getMachineNetwork" | "connectGitHub" | "listInstallations" | "linkInstallation" | "shareInstallation" | "unlinkInstallation" | "listRepositories" | "getMachine" | "deleteMachine" | "updateMachine" | "listBuilds" | "deployMachine" | "listMachinePreviews" | "putMachinePreview" | "deleteMachinePreview" | "listMachineDomains" | "addMachineDomain" | "deleteMachineDomain" | "updateMachineDomain" | "getBuild" | "getBuildLog" | "rollbackMachine" | "listDatabases" | "createDatabase" | "listDatabaseSizes" | "getDatabase" | "deleteDatabase" | "updateDatabase" | "undeleteDatabase" | "purgeDatabase" | "getDatabaseCredentials" | "changeDatabasePassword" | "readMachineLogs" | "execInMachine" | "listMachineExecs" | "getMachineMetrics" | "getMachineContract" | "restoreDatabase" | "getDatabaseSchema" | "getDatabaseMetrics" | "queryDatabase" | "listCrons" | "listCronRuns" | "runCron" | "pauseCron" | "resumeCron" | "listTasks" | "enqueueTask" | "getTask" | "cancelTask" | "retryTask" | "listTaskTypes" | "makeTemplatedTestUsers" | "templateTestUser" | "deleteTemplatedTestUser" | "listSites" | "createSite" | "getSite" | "deleteSite" | "updateSite" | "listSiteReleases" | "createSiteRelease" | "uploadSiteFile" | "finishSiteRelease" | "rollbackSite" | "listSiteBuilds" | "deploySite" | "listSitePreviews" | "listSiteDomains" | "addSiteDomain" | "deleteSiteDomain" | "updateSiteDomain" | "getSiteBuild" | "authorizeSitePreview" | "authorizeMachinePreview" | "openMachinePreview" | "moveMachine" | "moveSite" | "moveDatabase" | "cancelSiteBuild" | "cancelBuild" | "listSiteHooks" | "createSiteHook" | "deleteSiteHook" | "listMachineHooks" | "createMachineHook" | "deleteMachineHook" | "detectProject" | "createPreviewPass" | "listPreviewLinks" | "createPreviewLink" | "deletePreviewLink" | "listEnvironmentDomains" | "addEnvironmentDomain" | "deleteEnvironmentDomain" | "setEnvironmentSignInDomain">;
|
|
15
15
|
messaging: Pick<modules.messaging.Client, "adminAccessLog" | "adminListConversations" | "adminCreateConversation" | "adminGetConversation" | "adminDeleteConversation" | "adminUpdateConversation" | "adminAddMembers" | "adminRemoveMember" | "adminListMessages" | "adminSendMessage" | "adminDeleteMessage" | "adminFileUrl" | "adminPutProfile" | "adminListReports" | "adminGetReport" | "adminReportFileUrl" | "adminResolveReport" | "getSettings" | "putSettings" | "rotateHookSecret">;
|
|
16
16
|
notify: Pick<modules.notify.Client, "getDeliverability" | "listDevices" | "getDeviceStats" | "deleteMyDevice" | "sendEmail" | "listInAppCampaigns" | "createInAppCampaign" | "getInAppCampaign" | "putInAppCampaign" | "deleteInAppCampaign" | "getInAppCampaignStats" | "listInAppTemplates" | "sendInbox" | "listInboxMessages" | "listNotifyMessages" | "getNotifyMessage" | "cancelMessage" | "getMetricsSummary" | "listNotifyProviders" | "putNotifyProvider" | "deleteNotifyProvider" | "sendPush" | "getNotifySettings" | "putNotifySettings" | "sendSms" | "listEmailTemplates" | "getEmailTemplate" | "putEmailTemplate" | "deleteEmailTemplate" | "listPushTemplates" | "getPushTemplate" | "putPushTemplate" | "deletePushTemplate" | "listSmsTemplates" | "getSmsTemplate" | "putSmsTemplate" | "deleteSmsTemplate" | "listWhatsAppTemplates" | "getWhatsAppTemplate" | "putWhatsAppTemplate" | "deleteWhatsAppTemplate" | "listTestUserMessages" | "listTopics" | "createTopic" | "deleteTopic" | "changeTopic" | "addTopicSubscribers" | "removeTopicSubscriber" | "listUserDevices" | "getUserPreferences" | "setUserPreferences" | "startVerification" | "checkVerification" | "getWebPushStatus" | "sendWhatsApp" | "listWhatsAppInbound">;
|
|
17
|
-
payments: Pick<modules.payments.Client, "auditCashFlow" | "auditDrift" | "auditLedger" | "exportAuditLedgerCsv" | "getCapabilities" | "listChannels" | "connectChannel" | "createChannelGrant" | "getChannel" | "deleteChannel" | "checkChannel" | "setDefaultChannel" | "listDisputes" | "lookupInstallments" | "listIntents" | "createIntent" | "getIntent" | "listIntentAttempts" | "cancelIntent" | "settlePendingRefund" | "captureIntent" | "confirmIntent" | "submitIntentOtp" | "listRefunds" | "createRefund" | "listRoutingRules" | "replaceRoutingRules" | "getSellerAccount" | "listSellerLedger" | "getSettings" | "updateSettings" | "listPaymentSplits" | "updatePaymentSplit" | "approvePaymentSplit" | "disapprovePaymentSplit" | "refundPaymentSplit" | "createStripeAppGrant" | "listSubMerchants" | "upsertSubMerchant" | "getSubMerchant" | "createSubMerchantOnboardingLink" | "syncSubMerchant" | "listSubscriptions" | "createSubscription" | "cancelSubscription" | "extendSubscription" | "listWallets" | "upsertWallet" | "chargeWallet" | "creditWallet" | "getCustomerWallets" | "freezeWallet" | "createWalletHold" | "commitWalletHold" | "releaseWalletHold" | "voidPendingWalletCredits" | "transferWallet" | "getCustomer" | "updateCustomer" | "deleteCustomer" | "listCustomerMethods" | "addCustomerMethod" | "deleteCustomerMethod" | "setCustomerDefaultMethod" | "createCustomerPortal">;
|
|
17
|
+
payments: Pick<modules.payments.Client, "auditCashFlow" | "auditDrift" | "auditLedger" | "exportAuditLedgerCsv" | "getCapabilities" | "listChannels" | "connectChannel" | "createChannelGrant" | "getChannel" | "deleteChannel" | "checkChannel" | "setDefaultChannel" | "listDisputes" | "lookupInstallments" | "listIntents" | "createIntent" | "getIntent" | "listIntentAttempts" | "cancelIntent" | "settlePendingRefund" | "captureIntent" | "confirmIntent" | "submitIntentOtp" | "listRefunds" | "createRefund" | "listRoutingRules" | "replaceRoutingRules" | "getSellerAccount" | "listSellerLedger" | "getSettings" | "updateSettings" | "listPaymentSplits" | "updatePaymentSplit" | "approvePaymentSplit" | "disapprovePaymentSplit" | "refundPaymentSplit" | "createStripeAppGrant" | "listSubMerchants" | "upsertSubMerchant" | "getSubMerchant" | "createSubMerchantOnboardingLink" | "syncSubMerchant" | "listSubscriptions" | "createSubscription" | "cancelSubscription" | "extendSubscription" | "changeSubscriptionQuantity" | "listWallets" | "upsertWallet" | "chargeWallet" | "creditWallet" | "getCustomerWallets" | "freezeWallet" | "createWalletHold" | "commitWalletHold" | "releaseWalletHold" | "voidPendingWalletCredits" | "transferWallet" | "getCustomer" | "updateCustomer" | "deleteCustomer" | "listCustomerMethods" | "addCustomerMethod" | "deleteCustomerMethod" | "setCustomerDefaultMethod" | "createCustomerPortal" | "listCustomerInvoices" | "createCustomerInvoice" | "getInvoice" | "payInvoice" | "voidInvoice" | "markInvoiceUncollectible" | "sendInvoice">;
|
|
18
18
|
realtime: Pick<modules.realtime.Client, "broadcast" | "getChannels" | "putChannels" | "getLimits" | "putLimits" | "revalidate" | "writeState" | "getStats">;
|
|
19
19
|
secrets: Pick<modules.secrets.Client, "listSecretAudit" | "listFieldKeys" | "getFieldKeys" | "openFields" | "sealPlaceholder" | "rotateFieldKeys" | "listTransitKeys" | "getTransitKeys" | "getTransitPublicKeys" | "rotateTransitKeys" | "retireTransitKey" | "listSecrets" | "getEnvironmentValues" | "getSecret" | "putSecret" | "deleteSecret" | "rollbackSecret" | "listSecretVersions">;
|
|
20
20
|
storage: Pick<modules.storage.Client, "listBuckets" | "getBucket" | "putBucket" | "deleteBucket" | "copyObject" | "moveObject" | "listObjects" | "getObject" | "putObject" | "deleteObject" | "headObject" | "createSignedUrl" | "createUploadUrl" | "getStorageStats">;
|
|
@@ -4,6 +4,21 @@ export type WaitingReason = 'approval' | 'tool_output' | 'subagents' | 'message'
|
|
|
4
4
|
export type ToolStatus = 'running' | 'awaiting_output' | 'awaiting_approval' | 'approved' | 'denied' | 'expired' | 'completed' | 'failed' | 'canceled';
|
|
5
5
|
/** How a turn ended, in the chat's words — as its event (ai.response.completed / failed) says it. */
|
|
6
6
|
export type TurnEnd = 'completed' | 'failed' | 'stopped' | 'budget_exceeded';
|
|
7
|
+
/**
|
|
8
|
+
* Who stopped a turn (or a response): a member of the chat — themselves, or the project's server acting as them; the
|
|
9
|
+
* project's server; or Palbase itself, for its reason — handoff (the chat was handed to another target now), owner_left
|
|
10
|
+
* (the owner of the machine it ran on left the chat), goal_lapsed, permit_unbound (its start could not be given its
|
|
11
|
+
* permit), chat_deleted, project_deleted.
|
|
12
|
+
*/
|
|
13
|
+
export type StoppedBy = {
|
|
14
|
+
kind: 'member';
|
|
15
|
+
user_id: string;
|
|
16
|
+
} | {
|
|
17
|
+
kind: 'server';
|
|
18
|
+
} | {
|
|
19
|
+
kind: 'palbase';
|
|
20
|
+
reason: 'handoff' | 'owner_left' | 'goal_lapsed' | 'chat_deleted' | 'permit_unbound' | 'project_deleted' | (string & {});
|
|
21
|
+
};
|
|
7
22
|
/**
|
|
8
23
|
* A push, a pull request or a merge the agent asked for (a tool part named push, pull_request or merge), and what a
|
|
9
24
|
* person decides it by: the repository, the branch it writes, the base it targets, the commit it carries.
|
|
@@ -75,6 +90,8 @@ export interface TurnEvent {
|
|
|
75
90
|
code?: string;
|
|
76
91
|
message?: string;
|
|
77
92
|
} | string | null;
|
|
93
|
+
/** Who stopped it, on a turn that ended stopped — or failed, its stop having met a tool's effect whose outcome is not known (absent: it ended otherwise, or was stopped before the platform kept who asked). */
|
|
94
|
+
stopped_by?: StoppedBy;
|
|
78
95
|
}
|
|
79
96
|
/** The agent's answer as it is written: new text only, at its byte offset. */
|
|
80
97
|
export interface TextEvent {
|
|
@@ -1174,13 +1174,17 @@ export type ExecutorTarget = {
|
|
|
1174
1174
|
*/
|
|
1175
1175
|
harness?: "claude-code" | "codex" | "gemini-cli";
|
|
1176
1176
|
/**
|
|
1177
|
-
* Optional default model override.
|
|
1177
|
+
* Optional default model override. When kind is acp, the model the coding CLI runs: the catalogue's name (`anthropic:claude-haiku-5-5`), which the CLI is started with by its own name for it, or the CLI's own name for a model (`sonnet`). A model of a vendor the CLI does not run is refused (400): Claude Code runs anthropic's, Codex openai's, Gemini CLI gemini's.
|
|
1178
1178
|
*/
|
|
1179
1179
|
model?: string;
|
|
1180
1180
|
/**
|
|
1181
1181
|
* Optional default reasoning effort override.
|
|
1182
1182
|
*/
|
|
1183
1183
|
effort?: string;
|
|
1184
|
+
/**
|
|
1185
|
+
* When kind is acp: the coding CLI reads the chat's workspace and changes no file of it — Claude Code with its file-changing tools and commands taken away, Codex in its read-only sandbox. Not valid with gemini-cli, which no mode keeps from writing (400). A machine whose palbase-agent predates it starts no such turn: the turn fails `harness_read_only_unheld` until the agent is updated. Not valid with kind palbase.
|
|
1186
|
+
*/
|
|
1187
|
+
read_only?: boolean;
|
|
1184
1188
|
};
|
|
1185
1189
|
/**
|
|
1186
1190
|
* Where to fork a chat.
|
|
@@ -1620,14 +1624,31 @@ export type LongContextPrice = {
|
|
|
1620
1624
|
*/
|
|
1621
1625
|
output_usd_per_mtok: number;
|
|
1622
1626
|
};
|
|
1627
|
+
/**
|
|
1628
|
+
* Why the coding CLI on the machine last refused a turn, in the CLI's own words. Read by the machine's owner alone, signed in: the chat's members and the project's server read the turn's code and Palbase's sentence. Left out where there is none.
|
|
1629
|
+
*/
|
|
1630
|
+
export type MachineLastError = {
|
|
1631
|
+
/**
|
|
1632
|
+
* The code the turn ended with.
|
|
1633
|
+
*/
|
|
1634
|
+
code: "harness_signed_out" | "harness_limit_reached" | "harness_model_refused" | "harness_refused" | "harness_call_unanswered" | "harness_path_unsafe" | "harness_unavailable" | "harness_read_only_unheld";
|
|
1635
|
+
/**
|
|
1636
|
+
* The CLI's own words, with what looked like a secret masked; at most 1,000 bytes.
|
|
1637
|
+
*/
|
|
1638
|
+
message: string;
|
|
1639
|
+
/**
|
|
1640
|
+
* When the turn ended.
|
|
1641
|
+
*/
|
|
1642
|
+
at: string;
|
|
1643
|
+
};
|
|
1623
1644
|
export type MachineHarness = {
|
|
1624
1645
|
name: "claude-code" | "codex" | "gemini-cli";
|
|
1625
1646
|
acp_version?: string;
|
|
1626
1647
|
cli_version?: string;
|
|
1627
1648
|
/**
|
|
1628
|
-
* `outdated`: the CLI is older than the least a chat's turn can be started on (`min_cli_version`), or it did not say a version the agent could read (`cli_version` is absent then); a turn on it fails at its start saying so, until the machine's owner updates it.
|
|
1649
|
+
* `outdated`: the CLI is older than the least a chat's turn can be started on (`min_cli_version`), or it did not say a version the agent could read (`cli_version` is absent then); a turn on it fails at its start saying so, until the machine's owner updates it. `unsafe_path`: palbase-agent's PATH on the machine has a folder a session can write, or an entry that is no whole path (such as `~/.dotnet/tools`): no turn is started on any of its CLIs until the machine's owner takes it off; the turn that was refused names the folder in the machine's `last_error`.
|
|
1629
1650
|
*/
|
|
1630
|
-
status: "ready" | "unauthenticated" | "not_installed" | "outdated";
|
|
1651
|
+
status: "ready" | "unauthenticated" | "not_installed" | "outdated" | "unsafe_path";
|
|
1631
1652
|
/**
|
|
1632
1653
|
* The least version of the CLI a chat's turn can be started on. Present when `status` is `outdated`.
|
|
1633
1654
|
*/
|
|
@@ -2223,6 +2244,7 @@ export type Response = {
|
|
|
2223
2244
|
* Where it is: queued, in_progress, then completed, failed, canceled, timed_out or budget_exceeded.
|
|
2224
2245
|
*/
|
|
2225
2246
|
status: string;
|
|
2247
|
+
stopped_by?: StoppedBy;
|
|
2226
2248
|
/**
|
|
2227
2249
|
* The answer as the model wrote it; for a schema's answer, the JSON document.
|
|
2228
2250
|
*/
|
|
@@ -2287,6 +2309,7 @@ export type ResponseEvent = {
|
|
|
2287
2309
|
* How it ended — a background response's as the engine says it (completed, failed, canceled, timed_out, budget_exceeded); a chat's turn's in the chat's words: running (ai.response.started), completed, failed, stopped (a member or the server stopped it, or the chat went), budget_exceeded.
|
|
2288
2310
|
*/
|
|
2289
2311
|
status: string;
|
|
2312
|
+
stopped_by?: StoppedBy;
|
|
2290
2313
|
/**
|
|
2291
2314
|
* A chat's turn: the member it ran for — whose message opened it, or whose goal it is; null: the server's.
|
|
2292
2315
|
*/
|
|
@@ -2736,6 +2759,23 @@ export type StopResult = {
|
|
|
2736
2759
|
*/
|
|
2737
2760
|
stopped: string | null;
|
|
2738
2761
|
};
|
|
2762
|
+
/**
|
|
2763
|
+
* Who stopped a response or a chat's turn: a member of the chat (user_id), the project's server, or Palbase itself (reason) — on a canceled response, its ai.response.failed event and the chat's turn part that ends stopped. A stop that met a tool's effect whose outcome is not known ends failed_with_uncertain_side_effect and carries it too. Absent for one that ended otherwise, and for one stopped before Palbase kept who asked.
|
|
2764
|
+
*/
|
|
2765
|
+
export type StoppedBy = {
|
|
2766
|
+
/**
|
|
2767
|
+
* member: a member stopped it, themselves or through the project's server acting as them; server: the project's server; palbase: Palbase stopped it itself, for reason.
|
|
2768
|
+
*/
|
|
2769
|
+
kind: "member" | "server" | "palbase";
|
|
2770
|
+
/**
|
|
2771
|
+
* kind palbase alone: handoff (the chat was handed to another target now), owner_left (the owner of the machine it ran on left the chat), goal_lapsed (the chat's goal lapsed: its member left, or the chat is no longer theirs alone), chat_deleted, permit_unbound (its start could not be bound its permit, and was ended), project_deleted. A chat's delete and a project's take the turn with them: chat_deleted and project_deleted are read only where its end was read before.
|
|
2772
|
+
*/
|
|
2773
|
+
reason?: "handoff" | "owner_left" | "goal_lapsed" | "chat_deleted" | "permit_unbound" | "project_deleted";
|
|
2774
|
+
/**
|
|
2775
|
+
* kind member alone: the member.
|
|
2776
|
+
*/
|
|
2777
|
+
user_id?: string;
|
|
2778
|
+
};
|
|
2739
2779
|
/**
|
|
2740
2780
|
* An agent the agent may hand part of a turn to.
|
|
2741
2781
|
*/
|
|
@@ -4490,6 +4530,11 @@ export type Machine = {
|
|
|
4490
4530
|
* The coding CLIs found on it and whether each is signed in, as its agent last reported them.
|
|
4491
4531
|
*/
|
|
4492
4532
|
harnesses?: MachineHarness[];
|
|
4533
|
+
/**
|
|
4534
|
+
* The palbase-agent build it runs, as it said at its last connect; null until it has said one.
|
|
4535
|
+
*/
|
|
4536
|
+
agent_version?: string | null;
|
|
4537
|
+
last_error?: MachineLastError;
|
|
4493
4538
|
};
|
|
4494
4539
|
/**
|
|
4495
4540
|
* A person's machines.
|
|
@@ -847,9 +847,9 @@ export type CommerceSettings = {
|
|
|
847
847
|
*/
|
|
848
848
|
reservation_ttl_seconds?: number;
|
|
849
849
|
/**
|
|
850
|
-
* Days after delivery before
|
|
850
|
+
* Days after delivery a store's share of an order is held before it is let go to the store, when the store names none of its own (0–90; 7 when never set).
|
|
851
851
|
*/
|
|
852
|
-
|
|
852
|
+
default_escrow_hold_days?: number;
|
|
853
853
|
/**
|
|
854
854
|
* Idle cart threshold before commerce.cart.abandoned.
|
|
855
855
|
*/
|
|
@@ -3250,9 +3250,9 @@ export type Store = {
|
|
|
3250
3250
|
*/
|
|
3251
3251
|
withholding_bps?: number | null;
|
|
3252
3252
|
/**
|
|
3253
|
-
*
|
|
3253
|
+
* Days after delivery this store's share of an order is held before it is let go to it (0–90); null takes the project's `default_escrow_hold_days`.
|
|
3254
3254
|
*/
|
|
3255
|
-
|
|
3255
|
+
escrow_hold_days?: number | null;
|
|
3256
3256
|
/**
|
|
3257
3257
|
* Custom store metadata.
|
|
3258
3258
|
*/
|
|
@@ -4426,6 +4426,32 @@ export type DiscoverySignalRefreshResponse = {
|
|
|
4426
4426
|
*/
|
|
4427
4427
|
updated_at: string;
|
|
4428
4428
|
};
|
|
4429
|
+
/**
|
|
4430
|
+
* The error envelope of a refused cancellation. With `line_has_open_return`, the lines whose open returns ask for the money their units would give back, every one of them: complete those returns or turn them down, then cancel.
|
|
4431
|
+
*/
|
|
4432
|
+
export type CancelConflictError = {
|
|
4433
|
+
/**
|
|
4434
|
+
* Machine-readable error code.
|
|
4435
|
+
*/
|
|
4436
|
+
error: string;
|
|
4437
|
+
/**
|
|
4438
|
+
* Human-readable error explanation.
|
|
4439
|
+
*/
|
|
4440
|
+
error_description: string;
|
|
4441
|
+
/**
|
|
4442
|
+
* Request correlation identifier.
|
|
4443
|
+
*/
|
|
4444
|
+
request_id?: string;
|
|
4445
|
+
/**
|
|
4446
|
+
* HTTP status code (mirrors the response status).
|
|
4447
|
+
*/
|
|
4448
|
+
status?: number;
|
|
4449
|
+
/**
|
|
4450
|
+
* With `line_has_open_return`: each order line held by an open return, as the store order's lines name them (sorted).
|
|
4451
|
+
*/
|
|
4452
|
+
order_line_ids?: string[];
|
|
4453
|
+
[key: string]: unknown;
|
|
4454
|
+
};
|
|
4429
4455
|
/** The events this module sends the project's webhooks (x-palbase-events), by type: each one's payload, the event's data. */
|
|
4430
4456
|
export interface Events {
|
|
4431
4457
|
/**
|
|
@@ -4963,7 +4989,7 @@ export declare function client(t: Transport): {
|
|
|
4963
4989
|
/**
|
|
4964
4990
|
* Update fulfillment status
|
|
4965
4991
|
*
|
|
4966
|
-
* Update fulfillment status
|
|
4992
|
+
* Update fulfillment status. A shipment moves on along its way — pending, label_created, ready_for_pickup, shipped, in_transit, out_for_delivery, delivered — to any state further on; one that failed or came back to its sender (returned_to_sender) is delivered at last, sent on again, or canceled. Delivered and canceled are where a shipment ends: another move is `409 invalid_fulfillment_transition`, and a state not in the list `422 invalid_fulfillment_status`. A shipment not delivered may be canceled: its units are the order's again, to send or to cancel with their money — unless a return asks them back (`409 fulfillment_units_returned`), or the shipment was made before shipments kept their units (`409 fulfillment_units_unknown`). The store's share of the order is let go its days after the order is delivered: the store's `escrow_hold_days`, else the project's `default_escrow_hold_days`, 7 when never set.
|
|
4967
4993
|
*/
|
|
4968
4994
|
updateFulfillment(input: {
|
|
4969
4995
|
path: {
|
|
@@ -5378,7 +5404,7 @@ export declare function client(t: Transport): {
|
|
|
5378
5404
|
/**
|
|
5379
5405
|
* Request RMA return for a store order
|
|
5380
5406
|
*
|
|
5381
|
-
* Request RMA return for a store order. A return is of an order that was paid, and an order's returns together give back no more than it was paid: a line's amounts within the line's total, `refund_shipping_amount` within the shipping the buyer paid (409 `refund_exceeds_paid`). A return's fees, deductions and exchange difference are the store's to set, not the buyer's (403 `return_amounts_forbidden`).
|
|
5407
|
+
* Request RMA return for a store order. A return is of an order that was paid, and an order's returns together give back no more than it was paid: a line's amounts within the line's total, `refund_shipping_amount` within the shipping the buyer paid (409 `refund_exceeds_paid`). A return's fees, deductions and exchange difference are the store's to set, not the buyer's (403 `return_amounts_forbidden`). A line named that is no line of this store order is 404 `order_line_not_found`.
|
|
5382
5408
|
*/
|
|
5383
5409
|
requestMyReturn(input: {
|
|
5384
5410
|
path: {
|
|
@@ -5841,7 +5867,7 @@ export declare function client(t: Transport): {
|
|
|
5841
5867
|
/**
|
|
5842
5868
|
* Cancel full or partial store order
|
|
5843
5869
|
*
|
|
5844
|
-
* Cancel what of a store's order was not sent yet — all of it, or the `items` named. What the buyer paid for the canceled units goes back as the cancellation is made, the way the order was paid, and the shipping with it when nothing of the order is left and none of it was sent: `refund_amount` is what was given back (0 for an order not paid). It is held to what was paid for the order, less what its returns and earlier cancellations gave back. When the refund is not made the order is not canceled, and the answer says why. An order given back whole is `refunded`, the promotions it used are undone for what went back, and cashback of it not yet the buyer's is no longer earned. A bundle is given back by its parts: the line that names it gives nothing more. A cancellation that gives a paid order's money back emits `commerce.order.refunded` with its `cancellation_id`; a line canceled whole loses the entitlement it granted (`revoked_entitlements`). `fault_party` is buyer, seller (the default), platform or payment_timeout (`400 invalid_fault_party` otherwise). An order paid outside the platform — on delivery, by a bank transfer, on credit — is given back outside it: the body says so with `refunded_outside: true`, and without it the answer is `409 refund_outside_required`.
|
|
5870
|
+
* Cancel what of a store's order was not sent yet — all of it, or the `items` named. What the buyer paid for the canceled units goes back as the cancellation is made, the way the order was paid, and the shipping with it when nothing of the order is left and none of it was sent: `refund_amount` is what was given back (0 for an order not paid). It is held to what was paid for the order, less what its returns and earlier cancellations gave back. When the refund is not made the order is not canceled, and the answer says why. An order given back whole is `refunded`, the promotions it used are undone for what went back, and cashback of it not yet the buyer's is no longer earned. A bundle is given back by its parts: the line that names it gives nothing more. A cancellation that gives a paid order's money back emits `commerce.order.refunded` with its `cancellation_id`; a line canceled whole loses the entitlement it granted (`revoked_entitlements`). `fault_party` is buyer, seller (the default), platform or payment_timeout (`400 invalid_fault_party` otherwise). An order paid outside the platform — on delivery, by a bank transfer, on credit — is given back outside it: the body says so with `refunded_outside: true`, and without it the answer is `409 refund_outside_required`. Units of a line whose open return asks for the money they would give back are not canceled until the return is completed or turned down (`409 line_has_open_return`, with every such line's id in `order_line_ids`); a line named in `items` that is no line of this store order is `404 order_line_not_found`; a cancellation gives back no more than its line has left after what its returns gave.
|
|
5845
5871
|
*/
|
|
5846
5872
|
cancelStoreOrder(input: {
|
|
5847
5873
|
path: {
|
|
@@ -5853,7 +5879,7 @@ export declare function client(t: Transport): {
|
|
|
5853
5879
|
/**
|
|
5854
5880
|
* Create shipment or fulfillment
|
|
5855
5881
|
*
|
|
5856
|
-
* Create shipment or fulfillment. A shipment that names `items` sends units a line has left to send — at least one, and no more than were ordered and not canceled or sent: otherwise `422 invalid_fulfillment_quantity`.
|
|
5882
|
+
* Create shipment or fulfillment. A shipment that names `items` sends units a line has left to send — at least one, and no more than were ordered and not canceled or sent: otherwise `422 invalid_fulfillment_quantity`. A shipment is made in one of the states a shipment begins in — pending, label_created, ready_for_pickup, shipped, in_transit, out_for_delivery, delivered — and not canceled, failed or returned_to_sender (`422 invalid_fulfillment_status`). It keeps the units it sends, line by line; one that names no `items` sends all that is left of the order, and with nothing left to send is `422 invalid_fulfillment_quantity`.
|
|
5857
5883
|
*/
|
|
5858
5884
|
createFulfillment(input: {
|
|
5859
5885
|
path: {
|
|
@@ -5865,7 +5891,7 @@ export declare function client(t: Transport): {
|
|
|
5865
5891
|
/**
|
|
5866
5892
|
* Create RMA return or partial-refund request
|
|
5867
5893
|
*
|
|
5868
|
-
* Create RMA return or partial-refund request. A return is of an order that was paid, and an order's returns together give back no more than it was paid: a line's amounts within the line's total, `refund_shipping_amount` within the shipping the buyer paid (409 `refund_exceeds_paid`). A return's fees, deductions and exchange difference are the store's to set, not the buyer's (403 `return_amounts_forbidden`).
|
|
5894
|
+
* Create RMA return or partial-refund request. A return is of an order that was paid, and an order's returns together give back no more than it was paid: a line's amounts within the line's total, `refund_shipping_amount` within the shipping the buyer paid (409 `refund_exceeds_paid`). A return's fees, deductions and exchange difference are the store's to set, not the buyer's (403 `return_amounts_forbidden`). A line named that is no line of this store order is 404 `order_line_not_found`.
|
|
5869
5895
|
*/
|
|
5870
5896
|
createReturn(input: {
|
|
5871
5897
|
path: {
|
|
@@ -5922,7 +5948,7 @@ export declare function client(t: Transport): {
|
|
|
5922
5948
|
/**
|
|
5923
5949
|
* Update fulfillment status (e.g. delivered)
|
|
5924
5950
|
*
|
|
5925
|
-
* Update fulfillment status (e.g. delivered)
|
|
5951
|
+
* Update fulfillment status (e.g. delivered). A shipment moves on along its way — pending, label_created, ready_for_pickup, shipped, in_transit, out_for_delivery, delivered — to any state further on; one that failed or came back to its sender (returned_to_sender) is delivered at last, sent on again, or canceled. Delivered and canceled are where a shipment ends: another move is `409 invalid_fulfillment_transition`, and a state not in the list `422 invalid_fulfillment_status`. A shipment not delivered may be canceled: its units are the order's again, to send or to cancel with their money — unless a return asks them back (`409 fulfillment_units_returned`), or the shipment was made before shipments kept their units (`409 fulfillment_units_unknown`). The store's share of the order is let go its days after the order is delivered: the store's `escrow_hold_days`, else the project's `default_escrow_hold_days`, 7 when never set.
|
|
5926
5952
|
*/
|
|
5927
5953
|
sellerUpdateFulfillment(input: {
|
|
5928
5954
|
path: {
|
|
@@ -6131,7 +6157,7 @@ export declare function client(t: Transport): {
|
|
|
6131
6157
|
/**
|
|
6132
6158
|
* Cancel full or partial seller store order
|
|
6133
6159
|
*
|
|
6134
|
-
* Cancel what of a store's order was not sent yet — all of it, or the `items` named. What the buyer paid for the canceled units goes back as the cancellation is made, the way the order was paid, and the shipping with it when nothing of the order is left and none of it was sent: `refund_amount` is what was given back (0 for an order not paid). It is held to what was paid for the order, less what its returns and earlier cancellations gave back. When the refund is not made the order is not canceled, and the answer says why. An order given back whole is `refunded`, the promotions it used are undone for what went back, and cashback of it not yet the buyer's is no longer earned. A bundle is given back by its parts: the line that names it gives nothing more. A cancellation that gives a paid order's money back emits `commerce.order.refunded` with its `cancellation_id`; a line canceled whole loses the entitlement it granted (`revoked_entitlements`). `fault_party` is buyer, seller (the default), platform or payment_timeout (`400 invalid_fault_party` otherwise). An order paid outside the platform — on delivery, by a bank transfer, on credit — is given back outside it: the body says so with `refunded_outside: true`, and without it the answer is `409 refund_outside_required`.
|
|
6160
|
+
* Cancel what of a store's order was not sent yet — all of it, or the `items` named. What the buyer paid for the canceled units goes back as the cancellation is made, the way the order was paid, and the shipping with it when nothing of the order is left and none of it was sent: `refund_amount` is what was given back (0 for an order not paid). It is held to what was paid for the order, less what its returns and earlier cancellations gave back. When the refund is not made the order is not canceled, and the answer says why. An order given back whole is `refunded`, the promotions it used are undone for what went back, and cashback of it not yet the buyer's is no longer earned. A bundle is given back by its parts: the line that names it gives nothing more. A cancellation that gives a paid order's money back emits `commerce.order.refunded` with its `cancellation_id`; a line canceled whole loses the entitlement it granted (`revoked_entitlements`). `fault_party` is buyer, seller (the default), platform or payment_timeout (`400 invalid_fault_party` otherwise). An order paid outside the platform — on delivery, by a bank transfer, on credit — is given back outside it: the body says so with `refunded_outside: true`, and without it the answer is `409 refund_outside_required`. Units of a line whose open return asks for the money they would give back are not canceled until the return is completed or turned down (`409 line_has_open_return`, with every such line's id in `order_line_ids`); a line named in `items` that is no line of this store order is `404 order_line_not_found`; a cancellation gives back no more than its line has left after what its returns gave.
|
|
6135
6161
|
*/
|
|
6136
6162
|
sellerCancelStoreOrder(input: {
|
|
6137
6163
|
path: {
|
|
@@ -6144,7 +6170,7 @@ export declare function client(t: Transport): {
|
|
|
6144
6170
|
/**
|
|
6145
6171
|
* Create shipment or fulfillment for store order
|
|
6146
6172
|
*
|
|
6147
|
-
* Create shipment or fulfillment for store order. A shipment that names `items` sends units a line has left to send — at least one, and no more than were ordered and not canceled or sent: otherwise `422 invalid_fulfillment_quantity`.
|
|
6173
|
+
* Create shipment or fulfillment for store order. A shipment that names `items` sends units a line has left to send — at least one, and no more than were ordered and not canceled or sent: otherwise `422 invalid_fulfillment_quantity`. A shipment is made in one of the states a shipment begins in — pending, label_created, ready_for_pickup, shipped, in_transit, out_for_delivery, delivered — and not canceled, failed or returned_to_sender (`422 invalid_fulfillment_status`). It keeps the units it sends, line by line; one that names no `items` sends all that is left of the order, and with nothing left to send is `422 invalid_fulfillment_quantity`.
|
|
6148
6174
|
*/
|
|
6149
6175
|
sellerCreateFulfillment(input: {
|
|
6150
6176
|
path: {
|
|
@@ -20,11 +20,11 @@ export interface PlatformEvents extends AiEvents, AnalyticsEvents, AuthEvents, C
|
|
|
20
20
|
/** A platform event's type: one a module's contract declares. */
|
|
21
21
|
export type EventType = keyof PlatformEvents;
|
|
22
22
|
/** Every platform event's type, as the contracts declare them. */
|
|
23
|
-
export declare const EVENT_TYPES: readonly ["ai.goal.updated", "ai.mcp.auth_completed", "ai.mcp.auth_required", "ai.response.completed", "ai.response.failed", "ai.response.started", "ai.secret_host_requested", "ai.trigger.fired", "ai.voice.closed", "ai.voice.delegated", "ai.voice.started", "ai.wait.created", "ai.wait.resumed", "ai.wait.timed_out", "ai.workflow.completed", "ai.workflow.failed", "audience.entered", "audience.exited", "calls.call.ended", "calls.call.started", "calls.participant.joined", "calls.participant.left", "calls.transcript.completed", "calls.transcript.segment", "campaigns.broadcast.canceled", "campaigns.broadcast.completed", "campaigns.broadcast.started", "campaigns.onsite.clicked", "campaigns.onsite.converted", "campaigns.onsite.shown", "commerce.buybox.changed", "commerce.cart.abandoned", "commerce.cart.merged", "commerce.fulfillment.created", "commerce.fulfillment.delivered", "commerce.inventory.restocked", "commerce.listing.price_dropped", "commerce.order.created", "commerce.order.paid", "commerce.order.refunded", "commerce.product.created", "commerce.return.rejected", "commerce.return.requested", "commerce.review.created", "commerce.store.created", "commerce.store_order.canceled", "consent.changed", "device.revoked", "file.deleted", "file.moved", "file.uploaded", "flag.changed", "flag.override_changed", "iap.catalog.applied", "iap.catalog.changed", "iap.coupon.redeemed", "iap.credits.depleted", "iap.credits.low", "iap.customer.changed", "iap.customer.erased", "iap.customer.merged", "iap.entitlement.changed", "iap.offer.redeemed", "iap.ownership.transferred", "iap.paywall.published", "iap.purchase.completed", "iap.quota.exhausted", "iap.quota.threshold", "iap.refund.changed", "iap.store.changed", "iap.subscription.changed", "journey.converted", "journey.ended", "journey.entered", "journey.event", "journey.step", "messaging.conversation.created", "messaging.conversation.deleted", "messaging.conversation.read", "messaging.message.created", "messaging.report.created", "notification.action", "notification.bounced", "notification.complained", "notification.delivered", "notification.dismissed", "notification.expired", "notification.failed", "notification.not_shown", "notification.opened", "notification.push_failing", "notification.read", "notification.received", "notification.rejected", "notification.sent", "notification.shared_paused", "notification.unconfirmed", "notification.undelivered", "notification.uninstalled", "payments.dispute.closed", "payments.dispute.opened", "payments.payment.canceled", "payments.payment.failed", "payments.payment.requires_capture", "payments.payment.succeeded", "payments.refund.succeeded", "payments.split.approved", "payments.split.refunded", "payments.sub_merchant.updated", "payments.subscription.canceled", "payments.subscription.changed", "payments.wallet.balance_changed", "payments.wallet.hold_changed", "payments.wallet.vested", "promotions.rule.created", "session.ended", "stores.action.changed", "stores.app.changed", "stores.apple.changed", "stores.apple.key.made", "stores.apple.key.revoked", "stores.apple.session.changed", "stores.apple.session.ended", "stores.apple.session.expired", "stores.beta_review.changed", "stores.build.changed", "stores.delivery.changed", "stores.delivery.requested", "stores.device.changed", "stores.feedback.received", "stores.google.changed", "stores.group.changed", "stores.invitation.changed", "stores.package.changed", "stores.play_release.changed", "stores.product.changed", "stores.review.message", "stores.version.changed", "stores.version.reviewed", "stores.vitals.changed", "stores.webhook.changed", "user.converted", "user.deleted", "user.locale_changed", "user.password_changed", "user.permissions_changed", "workspace.conflict", "workspace.deleted", "workspace.published"];
|
|
23
|
+
export declare const EVENT_TYPES: readonly ["ai.goal.updated", "ai.mcp.auth_completed", "ai.mcp.auth_required", "ai.response.completed", "ai.response.failed", "ai.response.started", "ai.secret_host_requested", "ai.trigger.fired", "ai.voice.closed", "ai.voice.delegated", "ai.voice.started", "ai.wait.created", "ai.wait.resumed", "ai.wait.timed_out", "ai.workflow.completed", "ai.workflow.failed", "audience.entered", "audience.exited", "calls.call.ended", "calls.call.started", "calls.participant.joined", "calls.participant.left", "calls.transcript.completed", "calls.transcript.segment", "campaigns.broadcast.canceled", "campaigns.broadcast.completed", "campaigns.broadcast.started", "campaigns.onsite.clicked", "campaigns.onsite.converted", "campaigns.onsite.shown", "commerce.buybox.changed", "commerce.cart.abandoned", "commerce.cart.merged", "commerce.fulfillment.created", "commerce.fulfillment.delivered", "commerce.inventory.restocked", "commerce.listing.price_dropped", "commerce.order.created", "commerce.order.paid", "commerce.order.refunded", "commerce.product.created", "commerce.return.rejected", "commerce.return.requested", "commerce.review.created", "commerce.store.created", "commerce.store_order.canceled", "consent.changed", "device.revoked", "file.deleted", "file.moved", "file.uploaded", "flag.changed", "flag.override_changed", "iap.catalog.applied", "iap.catalog.changed", "iap.coupon.redeemed", "iap.credits.depleted", "iap.credits.low", "iap.customer.changed", "iap.customer.erased", "iap.customer.merged", "iap.entitlement.changed", "iap.offer.redeemed", "iap.ownership.transferred", "iap.paywall.published", "iap.purchase.completed", "iap.quota.exhausted", "iap.quota.threshold", "iap.refund.changed", "iap.store.changed", "iap.subscription.changed", "journey.converted", "journey.ended", "journey.entered", "journey.event", "journey.step", "messaging.conversation.created", "messaging.conversation.deleted", "messaging.conversation.read", "messaging.message.created", "messaging.report.created", "notification.action", "notification.bounced", "notification.complained", "notification.delivered", "notification.dismissed", "notification.expired", "notification.failed", "notification.not_shown", "notification.opened", "notification.push_failing", "notification.read", "notification.received", "notification.rejected", "notification.sent", "notification.shared_paused", "notification.unconfirmed", "notification.undelivered", "notification.uninstalled", "payments.dispute.closed", "payments.dispute.opened", "payments.invoice.finalized", "payments.invoice.paid", "payments.invoice.payment_failed", "payments.invoice.refunded", "payments.invoice.uncollectible", "payments.invoice.voided", "payments.payment.canceled", "payments.payment.charge_returned", "payments.payment.failed", "payments.payment.requires_capture", "payments.payment.succeeded", "payments.refund.succeeded", "payments.split.approved", "payments.split.refunded", "payments.sub_merchant.updated", "payments.subscription.canceled", "payments.subscription.changed", "payments.wallet.balance_changed", "payments.wallet.hold_changed", "payments.wallet.vested", "promotions.rule.created", "session.ended", "stores.action.changed", "stores.app.changed", "stores.apple.changed", "stores.apple.key.made", "stores.apple.key.revoked", "stores.apple.session.changed", "stores.apple.session.ended", "stores.apple.session.expired", "stores.beta_review.changed", "stores.build.changed", "stores.delivery.changed", "stores.delivery.requested", "stores.device.changed", "stores.feedback.received", "stores.google.changed", "stores.group.changed", "stores.invitation.changed", "stores.package.changed", "stores.play_release.changed", "stores.product.changed", "stores.review.message", "stores.version.changed", "stores.version.reviewed", "stores.vitals.changed", "stores.webhook.changed", "user.converted", "user.deleted", "user.locale_changed", "user.password_changed", "user.permissions_changed", "workspace.conflict", "workspace.deleted", "workspace.published"];
|
|
24
24
|
/**
|
|
25
25
|
* A platform event as delivered: one member per type the contracts declare,
|
|
26
26
|
* its data that type's payload, so a switch on its type narrows it. An
|
|
27
27
|
* event of a type none of them declares (one a newer platform sends) is no
|
|
28
28
|
* member: at run time it reaches the switch's default, which takes it.
|
|
29
29
|
*/
|
|
30
|
-
export type PalbaseEvent = WebhookEvent<PlatformEvents["ai.goal.updated"], "ai.goal.updated"> | WebhookEvent<PlatformEvents["ai.mcp.auth_completed"], "ai.mcp.auth_completed"> | WebhookEvent<PlatformEvents["ai.mcp.auth_required"], "ai.mcp.auth_required"> | WebhookEvent<PlatformEvents["ai.response.completed"], "ai.response.completed"> | WebhookEvent<PlatformEvents["ai.response.failed"], "ai.response.failed"> | WebhookEvent<PlatformEvents["ai.response.started"], "ai.response.started"> | WebhookEvent<PlatformEvents["ai.secret_host_requested"], "ai.secret_host_requested"> | WebhookEvent<PlatformEvents["ai.trigger.fired"], "ai.trigger.fired"> | WebhookEvent<PlatformEvents["ai.voice.closed"], "ai.voice.closed"> | WebhookEvent<PlatformEvents["ai.voice.delegated"], "ai.voice.delegated"> | WebhookEvent<PlatformEvents["ai.voice.started"], "ai.voice.started"> | WebhookEvent<PlatformEvents["ai.wait.created"], "ai.wait.created"> | WebhookEvent<PlatformEvents["ai.wait.resumed"], "ai.wait.resumed"> | WebhookEvent<PlatformEvents["ai.wait.timed_out"], "ai.wait.timed_out"> | WebhookEvent<PlatformEvents["ai.workflow.completed"], "ai.workflow.completed"> | WebhookEvent<PlatformEvents["ai.workflow.failed"], "ai.workflow.failed"> | WebhookEvent<PlatformEvents["audience.entered"], "audience.entered"> | WebhookEvent<PlatformEvents["audience.exited"], "audience.exited"> | WebhookEvent<PlatformEvents["calls.call.ended"], "calls.call.ended"> | WebhookEvent<PlatformEvents["calls.call.started"], "calls.call.started"> | WebhookEvent<PlatformEvents["calls.participant.joined"], "calls.participant.joined"> | WebhookEvent<PlatformEvents["calls.participant.left"], "calls.participant.left"> | WebhookEvent<PlatformEvents["calls.transcript.completed"], "calls.transcript.completed"> | WebhookEvent<PlatformEvents["calls.transcript.segment"], "calls.transcript.segment"> | WebhookEvent<PlatformEvents["campaigns.broadcast.canceled"], "campaigns.broadcast.canceled"> | WebhookEvent<PlatformEvents["campaigns.broadcast.completed"], "campaigns.broadcast.completed"> | WebhookEvent<PlatformEvents["campaigns.broadcast.started"], "campaigns.broadcast.started"> | WebhookEvent<PlatformEvents["campaigns.onsite.clicked"], "campaigns.onsite.clicked"> | WebhookEvent<PlatformEvents["campaigns.onsite.converted"], "campaigns.onsite.converted"> | WebhookEvent<PlatformEvents["campaigns.onsite.shown"], "campaigns.onsite.shown"> | WebhookEvent<PlatformEvents["commerce.buybox.changed"], "commerce.buybox.changed"> | WebhookEvent<PlatformEvents["commerce.cart.abandoned"], "commerce.cart.abandoned"> | WebhookEvent<PlatformEvents["commerce.cart.merged"], "commerce.cart.merged"> | WebhookEvent<PlatformEvents["commerce.fulfillment.created"], "commerce.fulfillment.created"> | WebhookEvent<PlatformEvents["commerce.fulfillment.delivered"], "commerce.fulfillment.delivered"> | WebhookEvent<PlatformEvents["commerce.inventory.restocked"], "commerce.inventory.restocked"> | WebhookEvent<PlatformEvents["commerce.listing.price_dropped"], "commerce.listing.price_dropped"> | WebhookEvent<PlatformEvents["commerce.order.created"], "commerce.order.created"> | WebhookEvent<PlatformEvents["commerce.order.paid"], "commerce.order.paid"> | WebhookEvent<PlatformEvents["commerce.order.refunded"], "commerce.order.refunded"> | WebhookEvent<PlatformEvents["commerce.product.created"], "commerce.product.created"> | WebhookEvent<PlatformEvents["commerce.return.rejected"], "commerce.return.rejected"> | WebhookEvent<PlatformEvents["commerce.return.requested"], "commerce.return.requested"> | WebhookEvent<PlatformEvents["commerce.review.created"], "commerce.review.created"> | WebhookEvent<PlatformEvents["commerce.store.created"], "commerce.store.created"> | WebhookEvent<PlatformEvents["commerce.store_order.canceled"], "commerce.store_order.canceled"> | WebhookEvent<PlatformEvents["consent.changed"], "consent.changed"> | WebhookEvent<PlatformEvents["device.revoked"], "device.revoked"> | WebhookEvent<PlatformEvents["file.deleted"], "file.deleted"> | WebhookEvent<PlatformEvents["file.moved"], "file.moved"> | WebhookEvent<PlatformEvents["file.uploaded"], "file.uploaded"> | WebhookEvent<PlatformEvents["flag.changed"], "flag.changed"> | WebhookEvent<PlatformEvents["flag.override_changed"], "flag.override_changed"> | WebhookEvent<PlatformEvents["iap.catalog.applied"], "iap.catalog.applied"> | WebhookEvent<PlatformEvents["iap.catalog.changed"], "iap.catalog.changed"> | WebhookEvent<PlatformEvents["iap.coupon.redeemed"], "iap.coupon.redeemed"> | WebhookEvent<PlatformEvents["iap.credits.depleted"], "iap.credits.depleted"> | WebhookEvent<PlatformEvents["iap.credits.low"], "iap.credits.low"> | WebhookEvent<PlatformEvents["iap.customer.changed"], "iap.customer.changed"> | WebhookEvent<PlatformEvents["iap.customer.erased"], "iap.customer.erased"> | WebhookEvent<PlatformEvents["iap.customer.merged"], "iap.customer.merged"> | WebhookEvent<PlatformEvents["iap.entitlement.changed"], "iap.entitlement.changed"> | WebhookEvent<PlatformEvents["iap.offer.redeemed"], "iap.offer.redeemed"> | WebhookEvent<PlatformEvents["iap.ownership.transferred"], "iap.ownership.transferred"> | WebhookEvent<PlatformEvents["iap.paywall.published"], "iap.paywall.published"> | WebhookEvent<PlatformEvents["iap.purchase.completed"], "iap.purchase.completed"> | WebhookEvent<PlatformEvents["iap.quota.exhausted"], "iap.quota.exhausted"> | WebhookEvent<PlatformEvents["iap.quota.threshold"], "iap.quota.threshold"> | WebhookEvent<PlatformEvents["iap.refund.changed"], "iap.refund.changed"> | WebhookEvent<PlatformEvents["iap.store.changed"], "iap.store.changed"> | WebhookEvent<PlatformEvents["iap.subscription.changed"], "iap.subscription.changed"> | WebhookEvent<PlatformEvents["journey.converted"], "journey.converted"> | WebhookEvent<PlatformEvents["journey.ended"], "journey.ended"> | WebhookEvent<PlatformEvents["journey.entered"], "journey.entered"> | WebhookEvent<PlatformEvents["journey.event"], "journey.event"> | WebhookEvent<PlatformEvents["journey.step"], "journey.step"> | WebhookEvent<PlatformEvents["messaging.conversation.created"], "messaging.conversation.created"> | WebhookEvent<PlatformEvents["messaging.conversation.deleted"], "messaging.conversation.deleted"> | WebhookEvent<PlatformEvents["messaging.conversation.read"], "messaging.conversation.read"> | WebhookEvent<PlatformEvents["messaging.message.created"], "messaging.message.created"> | WebhookEvent<PlatformEvents["messaging.report.created"], "messaging.report.created"> | WebhookEvent<PlatformEvents["notification.action"], "notification.action"> | WebhookEvent<PlatformEvents["notification.bounced"], "notification.bounced"> | WebhookEvent<PlatformEvents["notification.complained"], "notification.complained"> | WebhookEvent<PlatformEvents["notification.delivered"], "notification.delivered"> | WebhookEvent<PlatformEvents["notification.dismissed"], "notification.dismissed"> | WebhookEvent<PlatformEvents["notification.expired"], "notification.expired"> | WebhookEvent<PlatformEvents["notification.failed"], "notification.failed"> | WebhookEvent<PlatformEvents["notification.not_shown"], "notification.not_shown"> | WebhookEvent<PlatformEvents["notification.opened"], "notification.opened"> | WebhookEvent<PlatformEvents["notification.push_failing"], "notification.push_failing"> | WebhookEvent<PlatformEvents["notification.read"], "notification.read"> | WebhookEvent<PlatformEvents["notification.received"], "notification.received"> | WebhookEvent<PlatformEvents["notification.rejected"], "notification.rejected"> | WebhookEvent<PlatformEvents["notification.sent"], "notification.sent"> | WebhookEvent<PlatformEvents["notification.shared_paused"], "notification.shared_paused"> | WebhookEvent<PlatformEvents["notification.unconfirmed"], "notification.unconfirmed"> | WebhookEvent<PlatformEvents["notification.undelivered"], "notification.undelivered"> | WebhookEvent<PlatformEvents["notification.uninstalled"], "notification.uninstalled"> | WebhookEvent<PlatformEvents["payments.dispute.closed"], "payments.dispute.closed"> | WebhookEvent<PlatformEvents["payments.dispute.opened"], "payments.dispute.opened"> | WebhookEvent<PlatformEvents["payments.payment.canceled"], "payments.payment.canceled"> | WebhookEvent<PlatformEvents["payments.payment.failed"], "payments.payment.failed"> | WebhookEvent<PlatformEvents["payments.payment.requires_capture"], "payments.payment.requires_capture"> | WebhookEvent<PlatformEvents["payments.payment.succeeded"], "payments.payment.succeeded"> | WebhookEvent<PlatformEvents["payments.refund.succeeded"], "payments.refund.succeeded"> | WebhookEvent<PlatformEvents["payments.split.approved"], "payments.split.approved"> | WebhookEvent<PlatformEvents["payments.split.refunded"], "payments.split.refunded"> | WebhookEvent<PlatformEvents["payments.sub_merchant.updated"], "payments.sub_merchant.updated"> | WebhookEvent<PlatformEvents["payments.subscription.canceled"], "payments.subscription.canceled"> | WebhookEvent<PlatformEvents["payments.subscription.changed"], "payments.subscription.changed"> | WebhookEvent<PlatformEvents["payments.wallet.balance_changed"], "payments.wallet.balance_changed"> | WebhookEvent<PlatformEvents["payments.wallet.hold_changed"], "payments.wallet.hold_changed"> | WebhookEvent<PlatformEvents["payments.wallet.vested"], "payments.wallet.vested"> | WebhookEvent<PlatformEvents["promotions.rule.created"], "promotions.rule.created"> | WebhookEvent<PlatformEvents["session.ended"], "session.ended"> | WebhookEvent<PlatformEvents["stores.action.changed"], "stores.action.changed"> | WebhookEvent<PlatformEvents["stores.app.changed"], "stores.app.changed"> | WebhookEvent<PlatformEvents["stores.apple.changed"], "stores.apple.changed"> | WebhookEvent<PlatformEvents["stores.apple.key.made"], "stores.apple.key.made"> | WebhookEvent<PlatformEvents["stores.apple.key.revoked"], "stores.apple.key.revoked"> | WebhookEvent<PlatformEvents["stores.apple.session.changed"], "stores.apple.session.changed"> | WebhookEvent<PlatformEvents["stores.apple.session.ended"], "stores.apple.session.ended"> | WebhookEvent<PlatformEvents["stores.apple.session.expired"], "stores.apple.session.expired"> | WebhookEvent<PlatformEvents["stores.beta_review.changed"], "stores.beta_review.changed"> | WebhookEvent<PlatformEvents["stores.build.changed"], "stores.build.changed"> | WebhookEvent<PlatformEvents["stores.delivery.changed"], "stores.delivery.changed"> | WebhookEvent<PlatformEvents["stores.delivery.requested"], "stores.delivery.requested"> | WebhookEvent<PlatformEvents["stores.device.changed"], "stores.device.changed"> | WebhookEvent<PlatformEvents["stores.feedback.received"], "stores.feedback.received"> | WebhookEvent<PlatformEvents["stores.google.changed"], "stores.google.changed"> | WebhookEvent<PlatformEvents["stores.group.changed"], "stores.group.changed"> | WebhookEvent<PlatformEvents["stores.invitation.changed"], "stores.invitation.changed"> | WebhookEvent<PlatformEvents["stores.package.changed"], "stores.package.changed"> | WebhookEvent<PlatformEvents["stores.play_release.changed"], "stores.play_release.changed"> | WebhookEvent<PlatformEvents["stores.product.changed"], "stores.product.changed"> | WebhookEvent<PlatformEvents["stores.review.message"], "stores.review.message"> | WebhookEvent<PlatformEvents["stores.version.changed"], "stores.version.changed"> | WebhookEvent<PlatformEvents["stores.version.reviewed"], "stores.version.reviewed"> | WebhookEvent<PlatformEvents["stores.vitals.changed"], "stores.vitals.changed"> | WebhookEvent<PlatformEvents["stores.webhook.changed"], "stores.webhook.changed"> | WebhookEvent<PlatformEvents["user.converted"], "user.converted"> | WebhookEvent<PlatformEvents["user.deleted"], "user.deleted"> | WebhookEvent<PlatformEvents["user.locale_changed"], "user.locale_changed"> | WebhookEvent<PlatformEvents["user.password_changed"], "user.password_changed"> | WebhookEvent<PlatformEvents["user.permissions_changed"], "user.permissions_changed"> | WebhookEvent<PlatformEvents["workspace.conflict"], "workspace.conflict"> | WebhookEvent<PlatformEvents["workspace.deleted"], "workspace.deleted"> | WebhookEvent<PlatformEvents["workspace.published"], "workspace.published">;
|
|
30
|
+
export type PalbaseEvent = WebhookEvent<PlatformEvents["ai.goal.updated"], "ai.goal.updated"> | WebhookEvent<PlatformEvents["ai.mcp.auth_completed"], "ai.mcp.auth_completed"> | WebhookEvent<PlatformEvents["ai.mcp.auth_required"], "ai.mcp.auth_required"> | WebhookEvent<PlatformEvents["ai.response.completed"], "ai.response.completed"> | WebhookEvent<PlatformEvents["ai.response.failed"], "ai.response.failed"> | WebhookEvent<PlatformEvents["ai.response.started"], "ai.response.started"> | WebhookEvent<PlatformEvents["ai.secret_host_requested"], "ai.secret_host_requested"> | WebhookEvent<PlatformEvents["ai.trigger.fired"], "ai.trigger.fired"> | WebhookEvent<PlatformEvents["ai.voice.closed"], "ai.voice.closed"> | WebhookEvent<PlatformEvents["ai.voice.delegated"], "ai.voice.delegated"> | WebhookEvent<PlatformEvents["ai.voice.started"], "ai.voice.started"> | WebhookEvent<PlatformEvents["ai.wait.created"], "ai.wait.created"> | WebhookEvent<PlatformEvents["ai.wait.resumed"], "ai.wait.resumed"> | WebhookEvent<PlatformEvents["ai.wait.timed_out"], "ai.wait.timed_out"> | WebhookEvent<PlatformEvents["ai.workflow.completed"], "ai.workflow.completed"> | WebhookEvent<PlatformEvents["ai.workflow.failed"], "ai.workflow.failed"> | WebhookEvent<PlatformEvents["audience.entered"], "audience.entered"> | WebhookEvent<PlatformEvents["audience.exited"], "audience.exited"> | WebhookEvent<PlatformEvents["calls.call.ended"], "calls.call.ended"> | WebhookEvent<PlatformEvents["calls.call.started"], "calls.call.started"> | WebhookEvent<PlatformEvents["calls.participant.joined"], "calls.participant.joined"> | WebhookEvent<PlatformEvents["calls.participant.left"], "calls.participant.left"> | WebhookEvent<PlatformEvents["calls.transcript.completed"], "calls.transcript.completed"> | WebhookEvent<PlatformEvents["calls.transcript.segment"], "calls.transcript.segment"> | WebhookEvent<PlatformEvents["campaigns.broadcast.canceled"], "campaigns.broadcast.canceled"> | WebhookEvent<PlatformEvents["campaigns.broadcast.completed"], "campaigns.broadcast.completed"> | WebhookEvent<PlatformEvents["campaigns.broadcast.started"], "campaigns.broadcast.started"> | WebhookEvent<PlatformEvents["campaigns.onsite.clicked"], "campaigns.onsite.clicked"> | WebhookEvent<PlatformEvents["campaigns.onsite.converted"], "campaigns.onsite.converted"> | WebhookEvent<PlatformEvents["campaigns.onsite.shown"], "campaigns.onsite.shown"> | WebhookEvent<PlatformEvents["commerce.buybox.changed"], "commerce.buybox.changed"> | WebhookEvent<PlatformEvents["commerce.cart.abandoned"], "commerce.cart.abandoned"> | WebhookEvent<PlatformEvents["commerce.cart.merged"], "commerce.cart.merged"> | WebhookEvent<PlatformEvents["commerce.fulfillment.created"], "commerce.fulfillment.created"> | WebhookEvent<PlatformEvents["commerce.fulfillment.delivered"], "commerce.fulfillment.delivered"> | WebhookEvent<PlatformEvents["commerce.inventory.restocked"], "commerce.inventory.restocked"> | WebhookEvent<PlatformEvents["commerce.listing.price_dropped"], "commerce.listing.price_dropped"> | WebhookEvent<PlatformEvents["commerce.order.created"], "commerce.order.created"> | WebhookEvent<PlatformEvents["commerce.order.paid"], "commerce.order.paid"> | WebhookEvent<PlatformEvents["commerce.order.refunded"], "commerce.order.refunded"> | WebhookEvent<PlatformEvents["commerce.product.created"], "commerce.product.created"> | WebhookEvent<PlatformEvents["commerce.return.rejected"], "commerce.return.rejected"> | WebhookEvent<PlatformEvents["commerce.return.requested"], "commerce.return.requested"> | WebhookEvent<PlatformEvents["commerce.review.created"], "commerce.review.created"> | WebhookEvent<PlatformEvents["commerce.store.created"], "commerce.store.created"> | WebhookEvent<PlatformEvents["commerce.store_order.canceled"], "commerce.store_order.canceled"> | WebhookEvent<PlatformEvents["consent.changed"], "consent.changed"> | WebhookEvent<PlatformEvents["device.revoked"], "device.revoked"> | WebhookEvent<PlatformEvents["file.deleted"], "file.deleted"> | WebhookEvent<PlatformEvents["file.moved"], "file.moved"> | WebhookEvent<PlatformEvents["file.uploaded"], "file.uploaded"> | WebhookEvent<PlatformEvents["flag.changed"], "flag.changed"> | WebhookEvent<PlatformEvents["flag.override_changed"], "flag.override_changed"> | WebhookEvent<PlatformEvents["iap.catalog.applied"], "iap.catalog.applied"> | WebhookEvent<PlatformEvents["iap.catalog.changed"], "iap.catalog.changed"> | WebhookEvent<PlatformEvents["iap.coupon.redeemed"], "iap.coupon.redeemed"> | WebhookEvent<PlatformEvents["iap.credits.depleted"], "iap.credits.depleted"> | WebhookEvent<PlatformEvents["iap.credits.low"], "iap.credits.low"> | WebhookEvent<PlatformEvents["iap.customer.changed"], "iap.customer.changed"> | WebhookEvent<PlatformEvents["iap.customer.erased"], "iap.customer.erased"> | WebhookEvent<PlatformEvents["iap.customer.merged"], "iap.customer.merged"> | WebhookEvent<PlatformEvents["iap.entitlement.changed"], "iap.entitlement.changed"> | WebhookEvent<PlatformEvents["iap.offer.redeemed"], "iap.offer.redeemed"> | WebhookEvent<PlatformEvents["iap.ownership.transferred"], "iap.ownership.transferred"> | WebhookEvent<PlatformEvents["iap.paywall.published"], "iap.paywall.published"> | WebhookEvent<PlatformEvents["iap.purchase.completed"], "iap.purchase.completed"> | WebhookEvent<PlatformEvents["iap.quota.exhausted"], "iap.quota.exhausted"> | WebhookEvent<PlatformEvents["iap.quota.threshold"], "iap.quota.threshold"> | WebhookEvent<PlatformEvents["iap.refund.changed"], "iap.refund.changed"> | WebhookEvent<PlatformEvents["iap.store.changed"], "iap.store.changed"> | WebhookEvent<PlatformEvents["iap.subscription.changed"], "iap.subscription.changed"> | WebhookEvent<PlatformEvents["journey.converted"], "journey.converted"> | WebhookEvent<PlatformEvents["journey.ended"], "journey.ended"> | WebhookEvent<PlatformEvents["journey.entered"], "journey.entered"> | WebhookEvent<PlatformEvents["journey.event"], "journey.event"> | WebhookEvent<PlatformEvents["journey.step"], "journey.step"> | WebhookEvent<PlatformEvents["messaging.conversation.created"], "messaging.conversation.created"> | WebhookEvent<PlatformEvents["messaging.conversation.deleted"], "messaging.conversation.deleted"> | WebhookEvent<PlatformEvents["messaging.conversation.read"], "messaging.conversation.read"> | WebhookEvent<PlatformEvents["messaging.message.created"], "messaging.message.created"> | WebhookEvent<PlatformEvents["messaging.report.created"], "messaging.report.created"> | WebhookEvent<PlatformEvents["notification.action"], "notification.action"> | WebhookEvent<PlatformEvents["notification.bounced"], "notification.bounced"> | WebhookEvent<PlatformEvents["notification.complained"], "notification.complained"> | WebhookEvent<PlatformEvents["notification.delivered"], "notification.delivered"> | WebhookEvent<PlatformEvents["notification.dismissed"], "notification.dismissed"> | WebhookEvent<PlatformEvents["notification.expired"], "notification.expired"> | WebhookEvent<PlatformEvents["notification.failed"], "notification.failed"> | WebhookEvent<PlatformEvents["notification.not_shown"], "notification.not_shown"> | WebhookEvent<PlatformEvents["notification.opened"], "notification.opened"> | WebhookEvent<PlatformEvents["notification.push_failing"], "notification.push_failing"> | WebhookEvent<PlatformEvents["notification.read"], "notification.read"> | WebhookEvent<PlatformEvents["notification.received"], "notification.received"> | WebhookEvent<PlatformEvents["notification.rejected"], "notification.rejected"> | WebhookEvent<PlatformEvents["notification.sent"], "notification.sent"> | WebhookEvent<PlatformEvents["notification.shared_paused"], "notification.shared_paused"> | WebhookEvent<PlatformEvents["notification.unconfirmed"], "notification.unconfirmed"> | WebhookEvent<PlatformEvents["notification.undelivered"], "notification.undelivered"> | WebhookEvent<PlatformEvents["notification.uninstalled"], "notification.uninstalled"> | WebhookEvent<PlatformEvents["payments.dispute.closed"], "payments.dispute.closed"> | WebhookEvent<PlatformEvents["payments.dispute.opened"], "payments.dispute.opened"> | WebhookEvent<PlatformEvents["payments.invoice.finalized"], "payments.invoice.finalized"> | WebhookEvent<PlatformEvents["payments.invoice.paid"], "payments.invoice.paid"> | WebhookEvent<PlatformEvents["payments.invoice.payment_failed"], "payments.invoice.payment_failed"> | WebhookEvent<PlatformEvents["payments.invoice.refunded"], "payments.invoice.refunded"> | WebhookEvent<PlatformEvents["payments.invoice.uncollectible"], "payments.invoice.uncollectible"> | WebhookEvent<PlatformEvents["payments.invoice.voided"], "payments.invoice.voided"> | WebhookEvent<PlatformEvents["payments.payment.canceled"], "payments.payment.canceled"> | WebhookEvent<PlatformEvents["payments.payment.charge_returned"], "payments.payment.charge_returned"> | WebhookEvent<PlatformEvents["payments.payment.failed"], "payments.payment.failed"> | WebhookEvent<PlatformEvents["payments.payment.requires_capture"], "payments.payment.requires_capture"> | WebhookEvent<PlatformEvents["payments.payment.succeeded"], "payments.payment.succeeded"> | WebhookEvent<PlatformEvents["payments.refund.succeeded"], "payments.refund.succeeded"> | WebhookEvent<PlatformEvents["payments.split.approved"], "payments.split.approved"> | WebhookEvent<PlatformEvents["payments.split.refunded"], "payments.split.refunded"> | WebhookEvent<PlatformEvents["payments.sub_merchant.updated"], "payments.sub_merchant.updated"> | WebhookEvent<PlatformEvents["payments.subscription.canceled"], "payments.subscription.canceled"> | WebhookEvent<PlatformEvents["payments.subscription.changed"], "payments.subscription.changed"> | WebhookEvent<PlatformEvents["payments.wallet.balance_changed"], "payments.wallet.balance_changed"> | WebhookEvent<PlatformEvents["payments.wallet.hold_changed"], "payments.wallet.hold_changed"> | WebhookEvent<PlatformEvents["payments.wallet.vested"], "payments.wallet.vested"> | WebhookEvent<PlatformEvents["promotions.rule.created"], "promotions.rule.created"> | WebhookEvent<PlatformEvents["session.ended"], "session.ended"> | WebhookEvent<PlatformEvents["stores.action.changed"], "stores.action.changed"> | WebhookEvent<PlatformEvents["stores.app.changed"], "stores.app.changed"> | WebhookEvent<PlatformEvents["stores.apple.changed"], "stores.apple.changed"> | WebhookEvent<PlatformEvents["stores.apple.key.made"], "stores.apple.key.made"> | WebhookEvent<PlatformEvents["stores.apple.key.revoked"], "stores.apple.key.revoked"> | WebhookEvent<PlatformEvents["stores.apple.session.changed"], "stores.apple.session.changed"> | WebhookEvent<PlatformEvents["stores.apple.session.ended"], "stores.apple.session.ended"> | WebhookEvent<PlatformEvents["stores.apple.session.expired"], "stores.apple.session.expired"> | WebhookEvent<PlatformEvents["stores.beta_review.changed"], "stores.beta_review.changed"> | WebhookEvent<PlatformEvents["stores.build.changed"], "stores.build.changed"> | WebhookEvent<PlatformEvents["stores.delivery.changed"], "stores.delivery.changed"> | WebhookEvent<PlatformEvents["stores.delivery.requested"], "stores.delivery.requested"> | WebhookEvent<PlatformEvents["stores.device.changed"], "stores.device.changed"> | WebhookEvent<PlatformEvents["stores.feedback.received"], "stores.feedback.received"> | WebhookEvent<PlatformEvents["stores.google.changed"], "stores.google.changed"> | WebhookEvent<PlatformEvents["stores.group.changed"], "stores.group.changed"> | WebhookEvent<PlatformEvents["stores.invitation.changed"], "stores.invitation.changed"> | WebhookEvent<PlatformEvents["stores.package.changed"], "stores.package.changed"> | WebhookEvent<PlatformEvents["stores.play_release.changed"], "stores.play_release.changed"> | WebhookEvent<PlatformEvents["stores.product.changed"], "stores.product.changed"> | WebhookEvent<PlatformEvents["stores.review.message"], "stores.review.message"> | WebhookEvent<PlatformEvents["stores.version.changed"], "stores.version.changed"> | WebhookEvent<PlatformEvents["stores.version.reviewed"], "stores.version.reviewed"> | WebhookEvent<PlatformEvents["stores.vitals.changed"], "stores.vitals.changed"> | WebhookEvent<PlatformEvents["stores.webhook.changed"], "stores.webhook.changed"> | WebhookEvent<PlatformEvents["user.converted"], "user.converted"> | WebhookEvent<PlatformEvents["user.deleted"], "user.deleted"> | WebhookEvent<PlatformEvents["user.locale_changed"], "user.locale_changed"> | WebhookEvent<PlatformEvents["user.password_changed"], "user.password_changed"> | WebhookEvent<PlatformEvents["user.permissions_changed"], "user.permissions_changed"> | WebhookEvent<PlatformEvents["workspace.conflict"], "workspace.conflict"> | WebhookEvent<PlatformEvents["workspace.deleted"], "workspace.deleted"> | WebhookEvent<PlatformEvents["workspace.published"], "workspace.published">;
|